Source-only publication of reviewed commit 64e96a7f423673dc29ad56485be9fc79bce8af1c.
Passed in isolation: focused frontend/backend tests, race checks, TypeScript typecheck, lint, Go compilation, Flowgram build, and deterministic SDK build/tests.
Not accepted as a production release: Next.js export/native assembly remains blocked by environment memory limits; browser interaction and MySQL staging acceptance remain unverified. No production server, database/schema, runtime configuration, deployment, release tag, or workflow execution was performed.
Expected source tree: 0a4a7528e9.
203 lines
9.2 KiB
Markdown
203 lines
9.2 KiB
Markdown
# Modified-file notice
|
|
|
|
This independent fork modifies the source snapshot from
|
|
MonoVerseNS/agent-desk-ng revision
|
|
`b06954b0a495389cbb5194e0d388342eabe60636` on 2026-10-16.
|
|
The initial Gitea snapshot `e57610a27c556e005b9b3b68115477ba1fdd3f1b`
|
|
has the same source tree without importing the old upstream history.
|
|
Upstream Apache-2.0 licensing and notices are retained.
|
|
|
|
Changes include security and chat recovery, knowledge localization, operator
|
|
availability, calendars, and supporting lifecycle fixes. See
|
|
[hardening notes](docs/hardening/README.md),
|
|
[knowledge localization](docs/knowledge-localization.md), and
|
|
[availability](docs/features/support-availability.md). Actual validation and
|
|
remaining release gates are [recorded separately](docs/hardening/VALIDATION.md).
|
|
This inventory is not a production-release or deployment claim.
|
|
|
|
Modified source files carry a change notice. JSON catalogs retain their
|
|
accompanying `.license` notices; generated enums retain their generator header
|
|
and are identified here.
|
|
|
|
## Modified upstream files
|
|
|
|
- `AGENTS.md`
|
|
- `README.md`
|
|
- `internal/ai/rag/answer.go`
|
|
- `internal/ai/rag/answer_test.go`
|
|
- `internal/ai/rag/index.go`
|
|
- `internal/ai/rag/index_retrieve_helpers_test.go`
|
|
- `internal/ai/rag/retrieve.go`
|
|
- `internal/ai/rag/retrieve_context.go`
|
|
- `internal/ai/rag/retrieve_search.go`
|
|
- `internal/bootstrap/routes.go`
|
|
- `internal/bootstrap/server.go`
|
|
- `internal/builders/conversation_builder.go`
|
|
- `internal/builders/knowledge_builder.go`
|
|
- `internal/handlers/api/customer_handler.go`
|
|
- `internal/handlers/dashboard/agent_handler.go`
|
|
- `internal/handlers/dashboard/knowledge_base_handler.go`
|
|
- `internal/handlers/dashboard/knowledge_directory_handler.go`
|
|
- `internal/handlers/dashboard/knowledge_document_handler.go`
|
|
- `internal/handlers/dashboard/knowledge_faq_handler.go`
|
|
- `internal/handlers/dashboard/knowledge_retrieve_handler.go`
|
|
- `internal/handlers/dashboard/knowledge_retrieve_log_handler.go`
|
|
- `internal/models/models.go`
|
|
- `internal/pkg/dto/dto.go`
|
|
- `internal/pkg/dto/request/setup_readiness_req.go`
|
|
- `internal/pkg/dto/response/setup_readiness_resp.go`
|
|
- `internal/pkg/enums/agent.go`
|
|
- `internal/pkg/eventbus/bus.go`
|
|
- `internal/pkg/eventbus/bus_test.go`
|
|
- `internal/pkg/i18nx/context.go`
|
|
- `internal/pkg/i18nx/locales/en-US.yml`
|
|
- `internal/pkg/i18nx/locales/ru-RU.yml`
|
|
- `internal/pkg/i18nx/locales/zh-CN.yml`
|
|
- `internal/pkg/openidentity/external_identity_test.go`
|
|
- `internal/pkg/openidentity/openidentity.go`
|
|
- `internal/repositories/customer_identity_repository.go`
|
|
- `internal/services/agent_profile_service.go`
|
|
- `internal/services/auth_service.go`
|
|
- `internal/services/channel_service.go`
|
|
- `internal/services/conversation_dispatch_service.go`
|
|
- `internal/services/conversation_human_dispatch_realtime_test.go`
|
|
- `internal/services/conversation_human_dispatch_service_test.go`
|
|
- `internal/services/conversation_service.go`
|
|
- `internal/services/customer_service.go`
|
|
- `internal/services/customer_session_service.go`
|
|
- `internal/services/dashboard_service.go`
|
|
- `internal/services/knowledge_base_service.go`
|
|
- `internal/services/knowledge_base_service_test.go`
|
|
- `internal/services/knowledge_faq_excel.go`
|
|
- `internal/services/knowledge_faq_excel_test.go`
|
|
- `internal/services/setup_readiness_service.go`
|
|
- `internal/services/setup_readiness_service_test.go`
|
|
- `internal/services/ws_connection_manager.go`
|
|
- `internal/services/ws_realtime_types.go`
|
|
- `internal/services/ws_service.go`
|
|
- `internal/services/ws_service_test.go`
|
|
- `web/app/(dashboard)/dashboard/_components/setup-readiness-banner.tsx`
|
|
- `web/app/(dashboard)/dashboard/agent-team-schedules/page.tsx`
|
|
- `web/app/(dashboard)/dashboard/agents/_components/edit.tsx`
|
|
- `web/app/(dashboard)/dashboard/agents/page.tsx`
|
|
- `web/app/(dashboard)/dashboard/channels/_components/edit.tsx`
|
|
- `web/app/(dashboard)/dashboard/conversations/_components/agent-message-editor.tsx`
|
|
- `web/app/(dashboard)/dashboard/conversations/_components/chat-panel.tsx`
|
|
- `web/app/(dashboard)/dashboard/knowledge/_components/debug-panel.tsx`
|
|
- `web/app/(dashboard)/dashboard/knowledge/_components/document-list.tsx`
|
|
- `web/app/(dashboard)/dashboard/knowledge/_components/faq-list.tsx`
|
|
- `web/app/(dashboard)/dashboard/knowledge/_components/knowledge-bulk-move-dialog.tsx`
|
|
- `web/app/(dashboard)/dashboard/knowledge/_components/knowledge-content-detail.tsx`
|
|
- `web/app/(dashboard)/dashboard/knowledge/_components/retrieve-log-detail.tsx`
|
|
- `web/app/(dashboard)/dashboard/knowledge/_components/retrieve-log-list.tsx`
|
|
- `web/app/(dashboard)/dashboard/knowledge/page.tsx`
|
|
- `web/app/(dashboard)/dashboard/setup/_components/setup-wizard-view.tsx`
|
|
- `web/app/(support)/support/chat/closed/page.tsx`
|
|
- `web/components/agent-realtime-provider.test.mjs`
|
|
- `web/components/auth-provider.tsx`
|
|
- `web/components/chat/shared-message-editor.tsx`
|
|
- `web/components/content-editor/html-editor.tsx`
|
|
- `web/components/content-editor/index.tsx`
|
|
- `web/components/conversation-actions/transfer-dialog.tsx`
|
|
- `web/components/nav-main.test.mjs`
|
|
- `web/components/notification-provider.tsx`
|
|
- `web/components/operator-readiness-indicator.tsx`
|
|
- `web/components/option-combobox.tsx`
|
|
- `web/components/palette-toggle.tsx`
|
|
- `web/components/session-provider.tsx`
|
|
- `web/components/site-header.tsx`
|
|
- `web/components/support-chat/chat-shell.tsx`
|
|
- `web/components/support-chat/close-navigation.test.mjs`
|
|
- `web/components/support-chat/close-navigation.ts`
|
|
- `web/components/support-chat/connection-status.tsx`
|
|
- `web/components/support-chat/customer-message-editor.tsx`
|
|
- `web/components/workbench-header.tsx`
|
|
- `web/components/workspace-switcher.test.mjs`
|
|
- `web/hooks/use-agent-conversation-realtime.ts`
|
|
- `web/lib/api/auth.ts`
|
|
- `web/lib/api/client.ts`
|
|
- `web/lib/api/im.ts`
|
|
- `web/lib/api/setup-readiness.ts`
|
|
- `web/lib/generated/enums.ts`
|
|
- `web/lib/knowledge-i18n.test.mjs`
|
|
- `web/lib/knowledge-i18n.ts`
|
|
- `web/lib/navigation.tsx`
|
|
- `web/lib/realtime-connection.test.mjs`
|
|
- `web/lib/realtime-connection.ts`
|
|
- `web/lib/stores/agent-conversations.ts`
|
|
- `web/lib/stores/support-chat.ts`
|
|
- `web/messages/en-US.json`
|
|
- `web/messages/ru-RU.json`
|
|
- `web/messages/zh-CN.json`
|
|
|
|
## Added files
|
|
|
|
- `MODIFIED_FILES.md`
|
|
- `docs/features/support-availability.md`
|
|
- `docs/fixes/chat-realtime-recovery.md`
|
|
- `docs/hardening/CUSTOMER_IDENTITY_UPGRADE.md`
|
|
- `docs/hardening/README.md`
|
|
- `docs/hardening/SETUP_PREVIEW.md`
|
|
- `docs/hardening/VALIDATION.md`
|
|
- `docs/knowledge-localization.md`
|
|
- `docs/support-availability-ui.md`
|
|
- `internal/ai/rag/faq_content.go`
|
|
- `internal/ai/rag/localization_test.go`
|
|
- `internal/builders/knowledge_builder_i18n_test.go`
|
|
- `internal/handlers/api/support_status_handler.go`
|
|
- `internal/handlers/dashboard/knowledge_retrieve_handler_test.go`
|
|
- `internal/handlers/dashboard/support_availability_handler.go`
|
|
- `internal/handlers/dashboard/support_availability_handler_test.go`
|
|
- `internal/models/support_availability.go`
|
|
- `internal/pkg/dto/request/support_availability_req.go`
|
|
- `internal/pkg/dto/response/support_availability_resp.go`
|
|
- `internal/pkg/i18nx/context_test.go`
|
|
- `internal/repositories/auth_scope_repository.go`
|
|
- `internal/repositories/channel_config_repository.go`
|
|
- `internal/repositories/conversation_dispatch_queries.go`
|
|
- `internal/repositories/customer_identity_scope.go`
|
|
- `internal/repositories/support_availability_repository.go`
|
|
- `internal/services/agent_presence_service.go`
|
|
- `internal/services/auth_session_security_test.go`
|
|
- `internal/services/channel_policy_concurrency_test.go`
|
|
- `internal/services/customer_identity_security_test.go`
|
|
- `internal/services/support_availability_edge_review_test.go`
|
|
- `internal/services/support_availability_service.go`
|
|
- `internal/services/support_availability_service_test.go`
|
|
- `internal/services/support_calendar_service.go`
|
|
- `internal/services/test_network_test.go`
|
|
- `internal/services/ws_auth_security_test.go`
|
|
- `internal/services/ws_pump_security_test.go`
|
|
- `internal/services/ws_session_concurrency_test.go`
|
|
- `scripts/audit-customer-identity-scopes.sql`
|
|
- `web/app/(dashboard)/dashboard/support-availability/_components/calendar-editor.tsx`
|
|
- `web/app/(dashboard)/dashboard/support-availability/page.tsx`
|
|
- `web/components/lifecycle-regressions.test.mjs`
|
|
- `web/components/support-availability/lifecycle.test.mjs`
|
|
- `web/components/support-availability/operator-status.tsx`
|
|
- `web/components/support-availability/public-status.tsx`
|
|
- `web/lib/api/im-session.test.mjs`
|
|
- `web/lib/api/session-isolation.test.mjs`
|
|
- `web/lib/api/setup-readiness.test.mjs`
|
|
- `web/lib/api/support-availability.transport.test.mjs`
|
|
- `web/lib/api/support-availability.ts`
|
|
- `web/lib/message-editor-drafts.test.mjs`
|
|
- `web/lib/message-editor-drafts.ts`
|
|
- `web/lib/message-file-identity.test.mjs`
|
|
- `web/lib/message-file-identity.ts`
|
|
- `web/lib/realtime-log-context.test.mjs`
|
|
- `web/lib/realtime-log-context.ts`
|
|
- `web/lib/session-request-guard.test.mjs`
|
|
- `web/lib/session-request-guard.ts`
|
|
- `web/lib/stores/agent-conversations.test.mjs`
|
|
- `web/lib/stores/support-chat-realtime.test.mjs`
|
|
- `web/lib/stores/support-chat.test.mjs`
|
|
- `web/lib/support-availability-i18n.ts`
|
|
- `web/lib/support-availability.locale-edge.test.mjs`
|
|
- `web/lib/support-availability.test.mjs`
|
|
- `web/lib/support-availability.ts`
|
|
- `web/lib/test-support/load-typescript-module.mjs`
|
|
- `web/messages/en-US.json.license`
|
|
- `web/messages/ru-RU.json.license`
|
|
- `web/messages/zh-CN.json.license`
|