@xopcai/xopc 0.0.218 → 0.0.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/gateway/static/root/assets/{activity-store-DF2dYXG1.js → activity-store-slG02hSm.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-Dw9rF5o1.js → agent-avatar-dicebear-DZ6ETNIk.js} +1 -1
- package/dist/gateway/static/root/assets/agents-DxaIH0Ep.js +68 -0
- package/dist/gateway/static/root/assets/{api-_H0Bam-t.js → api-Tz57QxiN.js} +1 -1
- package/dist/gateway/static/root/assets/app-management-settings-panel-DdR1L4LR.js +1 -0
- package/dist/gateway/static/root/assets/appearance-settings-wYbwqmee.js +1 -0
- package/dist/gateway/static/root/assets/apps-page-CyWr6KyO.js +1 -0
- package/dist/gateway/static/root/assets/{archive-plugin-DZCOhXch.js → archive-plugin-DKXa160O.js} +1 -1
- package/dist/gateway/static/root/assets/{attachment-load-Bjb0FH2B.js → attachment-load-CzwA9g2y.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-D4N3ZDhu.js → automations-page-DwAXyWAY.js} +1 -1
- package/dist/gateway/static/root/assets/automations-workspace-CL7ieYIt.js +6 -0
- package/dist/gateway/static/root/assets/{binary-plugins-uXPt0s47.js → binary-plugins-DoQ_DnT7.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-gukkIEro.js → block-editor-Bj_Uxxng.js} +47 -47
- package/dist/gateway/static/root/assets/browser-settings-page-BYa_FNC1.js +8 -0
- package/dist/gateway/static/root/assets/{browser-workflow-inputs-DAhdS-XZ.js → browser-workflow-inputs-D4roXE6r.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-workflows-page-LKjYzXS_.js → browser-workflows-page-CleKTAKD.js} +2 -2
- package/dist/gateway/static/root/assets/capabilities-settings-panel-DYG37N0k.js +7 -0
- package/dist/gateway/static/root/assets/{capability-presets-api-BBUkH833.js → capability-presets-api-wtEN6Ss6.js} +1 -1
- package/dist/gateway/static/root/assets/capability-presets-settings-panel-C0Q4dFq-.js +3 -0
- package/dist/gateway/static/root/assets/{channel-recipient-api-E5mo8M3a.js → channel-recipient-api-DhuS2RJ3.js} +1 -1
- package/dist/gateway/static/root/assets/channels-settings-CpO6Xg0n.js +1 -0
- package/dist/gateway/static/root/assets/channels-status-swr-CXhPeiNj.js +1 -0
- package/dist/gateway/static/root/assets/chat-terminal-dock-ClQMDe2n.js +36 -0
- package/dist/gateway/static/root/assets/connectors-page-BvyiPdKU.js +2 -0
- package/dist/gateway/static/root/assets/{cron-expression-BGNuaqvI.js → cron-expression-4DvCFs-v.js} +1 -1
- package/dist/gateway/static/root/assets/{date-picker-k7mkklMU.js → date-picker-B6FSjt4Z.js} +1 -1
- package/dist/gateway/static/root/assets/dependency-picker-Za18eMp1.js +1 -0
- package/dist/gateway/static/root/assets/{desktop-pet-p9EZyGzV.js → desktop-pet-DUUf3yyJ.js} +1 -1
- package/dist/gateway/static/root/assets/desktop-pet-settings-Dwx3GfB8.js +1 -0
- package/dist/gateway/static/root/assets/directory-picker-path-field-C6dfTCsl.js +1 -0
- package/dist/gateway/static/root/assets/ellipsis-0k4rZLoy.js +1 -0
- package/dist/gateway/static/root/assets/{extension-debug-page-Cd4BMKm_.js → extension-debug-page-Cordpg4X.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-CzEGCkOa.js → extension-page-Dw0dGyMl.js} +1 -1
- package/dist/gateway/static/root/assets/extension-settings-page-B2pUMaXm.js +1 -0
- package/dist/gateway/static/root/assets/eye-CABVeTq0.js +1 -0
- package/dist/gateway/static/root/assets/eye-off-DEAzt3g1.js +1 -0
- package/dist/gateway/static/root/assets/file-code-corner-byQA1VfD.js +1 -0
- package/dist/gateway/static/root/assets/form-field-width-DJw_jULe.js +1 -0
- package/dist/gateway/static/root/assets/gateway-config-api-DAZUOEQh.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-config-swr-DNrttVr2.js → gateway-config-swr-BIqRg-zo.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-settings-ik2f-pmV.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-startup-retry-B1vD3vRb.js → gateway-startup-retry-BFjWYOCS.js} +1 -1
- package/dist/gateway/static/root/assets/heartbeat-settings-BE81XJ8F.js +1 -0
- package/dist/gateway/static/root/assets/home-page-BTWXJu_m.js +1 -0
- package/dist/gateway/static/root/assets/{image-generation-api-BTR0Wk_k.js → image-generation-api-HXAWlgm6.js} +1 -1
- package/dist/gateway/static/root/assets/index-B6gWYy08.js +108 -0
- package/dist/gateway/static/root/assets/index-CDkuz_YC.css +2 -0
- package/dist/gateway/static/root/assets/interaction-BmQogeqz.js +1 -0
- package/dist/gateway/static/root/assets/is-masked-secret-DOkL5b_X.js +1 -0
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-CYlS4RGA.js → keyboard-shortcuts-settings-ROqQ_Xlo.js} +1 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-Dcaf190G.js +2 -0
- package/dist/gateway/static/root/assets/{local-apps-page-CNppYVew.js → local-apps-page-Be79cyMG.js} +1 -1
- package/dist/gateway/static/root/assets/{locale-store-gf9Bg2gb.js → locale-store-DfK-Hofd.js} +1 -1
- package/dist/gateway/static/root/assets/logs-page-C2pjbXno.js +2 -0
- package/dist/gateway/static/root/assets/{management-settings-IYk9xLgt.js → management-settings-CRspx0oY.js} +1 -1
- package/dist/gateway/static/root/assets/{markdown-split-D8e6pRMH.js → markdown-split-G3PTpGw3.js} +1 -1
- package/dist/gateway/static/root/assets/{markdown-view-D0fiJjBQ.js → markdown-view-D4FPJZ91.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-CCq6TtEf.js → media-plugins-DT0P7j7u.js} +1 -1
- package/dist/gateway/static/root/assets/messages-B701TEZ5.js +3 -0
- package/dist/gateway/static/root/assets/{notes-api-BBtWnlUU.js → notes-api-q7HjYO07.js} +1 -1
- package/dist/gateway/static/root/assets/{notes-page-BKe1xa3U.js → notes-page-Cgl2h7AR.js} +1 -1
- package/dist/gateway/static/root/assets/notes-workbench-DFMQYyGJ.js +4 -0
- package/dist/gateway/static/root/assets/page-tabs-BaEQMYm_.js +1 -0
- package/dist/gateway/static/root/assets/preview-open-alternatives-CsNVTKC0.js +1 -0
- package/dist/gateway/static/root/assets/{product-open-page-DXe5iWI6.js → product-open-page-ComKLO4D.js} +1 -1
- package/dist/gateway/static/root/assets/project-detail-page-DUFmQscH.js +1 -0
- package/dist/gateway/static/root/assets/projects-page-CTWxt3dv.js +1 -0
- package/dist/gateway/static/root/assets/{registry-api-xj5gOva_.js → registry-api-BBoJ7khF.js} +1 -1
- package/dist/gateway/static/root/assets/remote-access-hub-qmG-3qjj.js +1 -0
- package/dist/gateway/static/root/assets/rotate-cw-LIg3Am9S.js +1 -0
- package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-BJTvmBCA.js → runtime-tools-settings-panel-CXHQc53b.js} +2 -2
- package/dist/gateway/static/root/assets/{schema-form-DvGBa_7R.js → schema-form-3jTDF2lJ.js} +1 -1
- package/dist/gateway/static/root/assets/search-DA7gz22f.js +1 -0
- package/dist/gateway/static/root/assets/sessions-page-D_We4_MV.js +1 -0
- package/dist/gateway/static/root/assets/settings-advanced-gate-B_QhPgU0.js +1 -0
- package/dist/gateway/static/root/assets/settings-form-section-CUDozALU.js +1 -0
- package/dist/gateway/static/root/assets/{settings-loading-skeleton-sbef7GTm.js → settings-loading-skeleton-H3ZH6a6l.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-BNGxxXZe.js → settings-page-tx29z21o.js} +1 -1
- package/dist/gateway/static/root/assets/setup-status-panel-VunfXpTX.js +1 -0
- package/dist/gateway/static/root/assets/{share-preview-page-C1523ij3.js → share-preview-page-MyThymEx.js} +1 -1
- package/dist/gateway/static/root/assets/shares-settings-DkZvY1cr.js +1 -0
- package/dist/gateway/static/root/assets/skill-reload-api-DVDOh1iY.js +1 -0
- package/dist/gateway/static/root/assets/skills-page-BOOyMnno.js +2 -0
- package/dist/gateway/static/root/assets/{skills-page.utils-Ditgz7Vo.js → skills-page.utils-Bl5Yv3Cx.js} +1 -1
- package/dist/gateway/static/root/assets/system-settings-panel-DwQ3O1ta.js +1 -0
- package/dist/gateway/static/root/assets/task-detail-page-BwOyrADL.js +1 -0
- package/dist/gateway/static/root/assets/{theme-store-DgSjes3O.js → theme-store-Br4BtK4x.js} +1 -1
- package/dist/gateway/static/root/assets/typed-models-lib-q5-Vfqd8.js +1 -0
- package/dist/gateway/static/root/assets/{use-autosave-Bp_qFZkl.js → use-autosave-DRS3RwS9.js} +1 -1
- package/dist/gateway/static/root/assets/user-context-page-ClV2r3Cr.js +1 -0
- package/dist/gateway/static/root/assets/{voice-api-key-field-hbzDfErG.js → voice-api-key-field-CGTE5156.js} +1 -1
- package/dist/gateway/static/root/assets/{work-discovery-overlay-DZVib-04.js → work-discovery-overlay-CW-HKD7h.js} +1 -1
- package/dist/gateway/static/root/assets/{workflow-run-setup-panel-C2RKay1p.js → workflow-run-setup-panel-Dtr9fDC8.js} +2 -2
- package/dist/gateway/static/root/assets/workflows-page-CDOyNgZf.js +5 -0
- package/dist/gateway/static/root/index.html +20 -11
- package/dist/package.js +1 -1
- package/dist/packages/gateway-contract/src/new-session.js +99 -0
- package/dist/packages/gateway-contract/src/tasks.js +5 -0
- package/dist/packages/gateway-contract/src/user-message-display.js +55 -0
- package/dist/src/agent/agent-manager.js +5 -4
- package/dist/src/agent/background-review/prompts.d.ts +1 -1
- package/dist/src/agent/background-review/prompts.js +2 -2
- package/dist/src/agent/background-review/run-background-review.js +144 -16
- package/dist/src/agent/embedded/model-runtime.js +1 -1
- package/dist/src/agent/embedded/run-for-session.js +1 -1
- package/dist/src/agent/image/tool-model-config.js +1 -1
- package/dist/src/agent/inbound/turn-dispatcher.d.ts +3 -1
- package/dist/src/agent/inbound/turn-dispatcher.js +2 -1
- package/dist/src/agent/ipc/inbox.js +1 -1
- package/dist/src/agent/memory/context/types.d.ts +1 -1
- package/dist/src/agent/memory/manager.d.ts +2 -1
- package/dist/src/agent/memory/manager.js +2 -6
- package/dist/src/agent/memory/understanding/service.d.ts +1 -0
- package/dist/src/agent/memory/understanding/service.js +179 -36
- package/dist/src/agent/memory/understanding/types.d.ts +6 -0
- package/dist/src/agent/messaging/command-handler.d.ts +2 -0
- package/dist/src/agent/messaging/command-handler.js +3 -1
- package/dist/src/agent/service/direct-turn-helpers.d.ts +3 -0
- package/dist/src/agent/service/direct-turn-helpers.js +13 -3
- package/dist/src/agent/service/process-direct-streaming.d.ts +2 -1
- package/dist/src/agent/service/process-direct-streaming.js +12 -11
- package/dist/src/agent/service.js +2 -2
- package/dist/src/agent/session/session-config-service.d.ts +1 -0
- package/dist/src/agent/session/session-config-service.js +11 -0
- package/dist/src/agent/session/session-inspector.d.ts +1 -0
- package/dist/src/agent/session/session-inspector.js +2 -1
- package/dist/src/agent/skills/hub-lock.js +1 -1
- package/dist/src/agent/source-context/budget.d.ts +3 -0
- package/dist/src/agent/source-context/budget.js +21 -0
- package/dist/src/agent/source-context/index.js +3 -3
- package/dist/src/agent/source-context/injector.d.ts +2 -2
- package/dist/src/agent/source-context/injector.js +19 -9
- package/dist/src/agent/source-context/types.d.ts +16 -0
- package/dist/src/agent/source-context/types.js +25 -1
- package/dist/src/agent/tasks/task-judge-service.js +3 -3
- package/dist/src/agent/tool-manuals/xopc-use.d.ts +1 -1
- package/dist/src/agent/tool-manuals/xopc-use.js +19 -2
- package/dist/src/agent/tools/xopc-use-tool.js +62 -2
- package/dist/src/ai-assist/text-assist.js +1 -1
- package/dist/src/auth/credentials.js +2 -2
- package/dist/src/auth/profiles/store.js +1 -1
- package/dist/src/auth/sync-provider-auth.js +2 -2
- package/dist/src/browser/backend-from-config.d.ts +8 -0
- package/dist/src/browser/backend-from-config.js +16 -1
- package/dist/src/browser/providers/browser-ext-install.d.ts +3 -2
- package/dist/src/browser/providers/browser-ext-install.js +5 -3
- package/dist/src/chat-commands/builtins/review.js +11 -2
- package/dist/src/chat-commands/builtins/understanding.js +11 -4
- package/dist/src/chat-commands/types.d.ts +4 -0
- package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
- package/dist/src/cli/commands/doctor/checks/provider-auth.js +1 -1
- package/dist/src/cli/commands/extension-marketplace.js +1 -1
- package/dist/src/cli/commands/extension.js +1 -1
- package/dist/src/cli/commands/models.js +1 -1
- package/dist/src/config/index.js +4 -4
- package/dist/src/config/loader.js +1 -1
- package/dist/src/config/models-json.d.ts +20 -20
- package/dist/src/config/models-json.js +1 -1
- package/dist/src/connectors/connected-source-understanding.d.ts +1 -0
- package/dist/src/connectors/connected-source-understanding.js +82 -34
- package/dist/src/connectors/learning-coordinator.js +57 -11
- package/dist/src/extensions/lockfile.js +1 -1
- package/dist/src/extensions/update.js +1 -1
- package/dist/src/gateway/agents-admin.js +1 -1
- package/dist/src/gateway/chat-stream/mapper.js +18 -0
- package/dist/src/gateway/file-path-classifier.js +1 -1
- package/dist/src/gateway/hono/lib/config-payload.js +1 -1
- package/dist/src/gateway/hono/routes/agent-stream.js +12 -2
- package/dist/src/gateway/hono/routes/auth-registry-extensions.js +1 -1
- package/dist/src/gateway/hono/routes/commands-skills.js +1 -0
- package/dist/src/gateway/hono/routes/models.js +1 -1
- package/dist/src/gateway/hono/routes/session-input-handler.d.ts +46 -2
- package/dist/src/gateway/hono/routes/session-input-handler.js +23 -3
- package/dist/src/gateway/hono/routes/sessions.js +17 -20
- package/dist/src/gateway/hono/routes/tasks.js +25 -0
- package/dist/src/gateway/hono/routes/understanding-sources.d.ts +9 -0
- package/dist/src/gateway/hono/routes/understanding-sources.js +127 -31
- package/dist/src/gateway/hono/routes/workflows.js +2 -2
- package/dist/src/gateway/hono/routes/you.js +71 -4
- package/dist/src/gateway/service/agent-runner.d.ts +7 -2
- package/dist/src/gateway/service/agent-runner.js +21 -1
- package/dist/src/gateway/service/config-coordinator.js +2 -2
- package/dist/src/gateway/service/run-gateway-agent.d.ts +2 -0
- package/dist/src/gateway/service/run-gateway-agent.js +2 -1
- package/dist/src/gateway/service/session-input-coordinator.d.ts +8 -2
- package/dist/src/gateway/service/session-input-coordinator.js +62 -3
- package/dist/src/gateway/service/sessions-api.d.ts +1 -0
- package/dist/src/gateway/service.d.ts +3 -2
- package/dist/src/gateway/service.js +25 -15
- package/dist/src/gateway/user-turn-input.d.ts +2 -0
- package/dist/src/gateway/xopc-cloud-capability-setup.d.ts +3 -2
- package/dist/src/gateway/xopc-cloud-capability-setup.js +16 -3
- package/dist/src/infra/update-runner.js +1 -1
- package/dist/src/knowledge/connected-understanding-pipeline.d.ts +1 -1
- package/dist/src/knowledge/connected-understanding-pipeline.js +4 -2
- package/dist/src/providers/auth-runtime/resolve-auth.js +1 -1
- package/dist/src/providers/index.js +2 -2
- package/dist/src/providers/model-registry.js +1 -1
- package/dist/src/providers/register-runtime-providers.js +1 -1
- package/dist/src/retrieval/queryProfile.d.ts +1 -0
- package/dist/src/retrieval/queryProfile.js +9 -1
- package/dist/src/session/client-history.d.ts +11 -0
- package/dist/src/session/client-history.js +24 -2
- package/dist/src/session/config-types.d.ts +1 -1
- package/dist/src/session/session-title.js +2 -3
- package/dist/src/session/store.js +1 -0
- package/dist/src/session/transcript-outline.js +5 -2
- package/dist/src/session/types.d.ts +1 -0
- package/dist/src/session/user-message-display.d.ts +4 -0
- package/dist/src/session/user-message-display.js +22 -0
- package/dist/src/storage/sqlite/context-extraction-repository.d.ts +57 -0
- package/dist/src/storage/sqlite/context-extraction-repository.js +119 -0
- package/dist/src/storage/sqlite/context-relation-repository.d.ts +50 -0
- package/dist/src/storage/sqlite/context-relation-repository.js +97 -0
- package/dist/src/storage/sqlite/index.d.ts +4 -2
- package/dist/src/storage/sqlite/index.js +5 -3
- package/dist/src/storage/sqlite/migrations/126_focus_context_governance.sql +72 -0
- package/dist/src/storage/sqlite/migrations/127_context_object_origin.sql +36 -0
- package/dist/src/storage/sqlite/migrations/128_context_extraction.sql +73 -0
- package/dist/src/storage/sqlite/migrations/129_focus_versions.sql +51 -0
- package/dist/src/storage/sqlite/migrations/130_context_evidence_provenance.sql +18 -0
- package/dist/src/storage/sqlite/migrations/131_session_input_contexts.sql +2 -0
- package/dist/src/storage/sqlite/migrations/132_transcript_source_context_metadata.sql +34 -0
- package/dist/src/storage/sqlite/migrations/runner.d.ts +1 -1
- package/dist/src/storage/sqlite/migrations/runner.js +3 -3
- package/dist/src/storage/sqlite/migrations/runner.ts +1 -1
- package/dist/src/storage/sqlite/schema.js +1 -1
- package/dist/src/storage/sqlite/session-input-repository.d.ts +8 -0
- package/dist/src/storage/sqlite/session-input-repository.js +19 -7
- package/dist/src/storage/sqlite/session-turn-replace-repository.d.ts +3 -0
- package/dist/src/storage/sqlite/session-turn-replace-repository.js +3 -2
- package/dist/src/storage/sqlite/transcript-repository.js +29 -3
- package/dist/src/storage/sqlite/user-context-repository.d.ts +4 -1
- package/dist/src/storage/sqlite/user-context-repository.js +65 -29
- package/dist/src/tasks/index.d.ts +1 -0
- package/dist/src/tasks/index.js +2 -1
- package/dist/src/tasks/task-deletion-service.d.ts +21 -0
- package/dist/src/tasks/task-deletion-service.js +35 -0
- package/dist/src/tasks/task-repository.js +22 -1
- package/dist/src/tui/backends/embedded-backend.js +5 -3
- package/dist/src/tui/backends/gateway-realtime-backend.js +5 -3
- package/dist/src/tui/chat-history.js +2 -1
- package/dist/src/tui/tui-agent-events.js +4 -2
- package/dist/src/tui/tui-commands.d.ts +1 -0
- package/dist/src/tui/tui-commands.js +8 -3
- package/dist/src/tui/tui-empty-session-cleanup.d.ts +0 -1
- package/dist/src/tui/tui-empty-session-cleanup.js +1 -11
- package/dist/src/tui/tui-new-session-preferences.d.ts +10 -0
- package/dist/src/tui/tui-new-session-preferences.js +32 -0
- package/dist/src/tui/tui-session-actions.d.ts +1 -0
- package/dist/src/tui/tui-session-actions.js +2 -1
- package/dist/src/tui/tui-settings.d.ts +2 -0
- package/dist/src/tui/tui-settings.js +4 -1
- package/dist/src/tui/tui-startup-resources.js +1 -1
- package/dist/src/tui/tui-types.d.ts +1 -0
- package/dist/src/tui/tui.js +58 -5
- package/dist/src/tunnel/frpc-process.js +3 -0
- package/dist/src/tunnel/tunnel-service.d.ts +2 -0
- package/dist/src/tunnel/tunnel-service.js +40 -28
- package/dist/src/user-context/context-objects.d.ts +17 -0
- package/dist/src/user-context/context-objects.js +99 -0
- package/dist/src/user-context/domain.d.ts +13 -1
- package/dist/src/user-context/evaluation/harness.d.ts +13 -0
- package/dist/src/user-context/evaluation/harness.js +31 -0
- package/dist/src/user-context/extraction/registry.d.ts +26 -0
- package/dist/src/user-context/extraction/registry.js +113 -0
- package/dist/src/user-context/extraction/repair.d.ts +19 -0
- package/dist/src/user-context/extraction/repair.js +68 -0
- package/dist/src/user-context/planner.js +214 -57
- package/dist/src/user-context/retriever.js +69 -9
- package/dist/src/user-context/sources/index.js +2 -2
- package/dist/src/user-context/sources/processing-policy.d.ts +2 -0
- package/dist/src/user-context/sources/processing-policy.js +7 -0
- package/dist/src/user-context/sources/repository.d.ts +23 -4
- package/dist/src/user-context/sources/repository.js +122 -12
- package/dist/src/user-context/sources/types.d.ts +10 -1
- package/dist/src/user-context/understanding.js +1 -1
- package/dist/src/work-discovery/service.js +21 -5
- package/dist/src/work-discovery/source-repository.js +1 -1
- package/dist/src/workflows/service/workflow-run-service.js +1 -1
- package/package.json +3 -3
- package/dist/gateway/static/root/assets/agents-Dj86bHkl.js +0 -68
- package/dist/gateway/static/root/assets/app-management-settings-panel-D-M6GN-8.js +0 -1
- package/dist/gateway/static/root/assets/appearance-settings-XDhmzdIc.js +0 -1
- package/dist/gateway/static/root/assets/apps-page-sfO835uz.js +0 -1
- package/dist/gateway/static/root/assets/automations-workspace-PptuZgoo.js +0 -6
- package/dist/gateway/static/root/assets/browser-settings-page-BoCmzMFV.js +0 -8
- package/dist/gateway/static/root/assets/capabilities-settings-panel-DhkJsU8Z.js +0 -7
- package/dist/gateway/static/root/assets/capability-presets-settings-panel-Dm7T61fE.js +0 -3
- package/dist/gateway/static/root/assets/channels-settings-dG6UFVqt.js +0 -1
- package/dist/gateway/static/root/assets/channels-status-swr-DgJxfNyK.js +0 -1
- package/dist/gateway/static/root/assets/chat-terminal-dock-CT5yoSMD.js +0 -36
- package/dist/gateway/static/root/assets/connectors-page-BC6Ft9SU.js +0 -2
- package/dist/gateway/static/root/assets/dependency-picker-DZVSgLXH.js +0 -1
- package/dist/gateway/static/root/assets/desktop-pet-settings-Bw4cCFzI.js +0 -1
- package/dist/gateway/static/root/assets/directory-picker-path-field-Cbst7IXR.js +0 -1
- package/dist/gateway/static/root/assets/extension-settings-page-C1PAKSy2.js +0 -1
- package/dist/gateway/static/root/assets/gateway-config-api-Bch9vO6t.js +0 -1
- package/dist/gateway/static/root/assets/gateway-settings-DkDxZFGG.js +0 -1
- package/dist/gateway/static/root/assets/heartbeat-settings-DXNMxy5b.js +0 -1
- package/dist/gateway/static/root/assets/home-page-CYcpVFNT.js +0 -1
- package/dist/gateway/static/root/assets/index-Dgb1R07E.css +0 -2
- package/dist/gateway/static/root/assets/index-DlOYwVFK.js +0 -108
- package/dist/gateway/static/root/assets/local-app-workbench-page-BFrgPwGE.js +0 -2
- package/dist/gateway/static/root/assets/logs-page-CPweLw3k.js +0 -2
- package/dist/gateway/static/root/assets/messages-B9WQcZ1V.js +0 -3
- package/dist/gateway/static/root/assets/notes-workbench-wieRAd1y.js +0 -4
- package/dist/gateway/static/root/assets/page-tabs-Bsluqyfb.js +0 -1
- package/dist/gateway/static/root/assets/preview-open-alternatives-BrpTWv44.js +0 -1
- package/dist/gateway/static/root/assets/project-detail-page-Cww6V7HJ.js +0 -1
- package/dist/gateway/static/root/assets/projects-page-D0LKhCCw.js +0 -1
- package/dist/gateway/static/root/assets/remote-access-hub-Sf4Pde6Z.js +0 -1
- package/dist/gateway/static/root/assets/sessions-page-S5gvgfu5.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-B3XvdEy8.js +0 -1
- package/dist/gateway/static/root/assets/settings-form-section-CiGFtdD8.js +0 -1
- package/dist/gateway/static/root/assets/setup-status-panel-CGU_Mxjr.js +0 -1
- package/dist/gateway/static/root/assets/shares-settings-k0UQ8WxO.js +0 -1
- package/dist/gateway/static/root/assets/skill-reload-api-DQ1GvL1w.js +0 -1
- package/dist/gateway/static/root/assets/skills-page-OuHd9GcN.js +0 -2
- package/dist/gateway/static/root/assets/system-settings-panel-CERqCsz2.js +0 -1
- package/dist/gateway/static/root/assets/task-detail-page-BnRNL2sn.js +0 -1
- package/dist/gateway/static/root/assets/typed-models-lib-abEJNkCO.js +0 -1
- package/dist/gateway/static/root/assets/user-context-page-Cnkaiky5.js +0 -1
- package/dist/gateway/static/root/assets/workflows-page-B_VlcKiK.js +0 -5
|
@@ -3,9 +3,9 @@ import { init_loader, loadConfig } from "../../config/loader.js";
|
|
|
3
3
|
import { downloadExtensionStoreZipBuffer, resolveExtensionZipDownloadUrl, resolveExtensionsStoreBaseUrl, verifyStoreArtifactSha256 } from "../../agent/skills/marketplace/adapters/store/store-api-client.js";
|
|
4
4
|
import { getContextWithOpts } from "../context.js";
|
|
5
5
|
import { getExtensionLockfileManager } from "../../extensions/lockfile.js";
|
|
6
|
+
import { fetchRegistry, findExtension, getExtensionMarketplaceStoreBaseUrl, listExtensions, searchExtensions } from "../../extensions/marketplace.js";
|
|
6
7
|
import { installFromLocal, installFromNpm, peekExtensionManifestFromStoreZip } from "../../extensions/install.js";
|
|
7
8
|
import { commitStagedExtensionInstall, finalizeStagedExtensionInstall, rollbackStagedExtensionInstall, stageExtensionStoreZip } from "../../extensions/install-transaction.js";
|
|
8
|
-
import { fetchRegistry, findExtension, getExtensionMarketplaceStoreBaseUrl, listExtensions, searchExtensions } from "../../extensions/marketplace.js";
|
|
9
9
|
import { colors } from "../utils/colors.js";
|
|
10
10
|
import { validateExtensionPackageDirectory } from "./extension-pack.js";
|
|
11
11
|
import { join, resolve } from "node:path";
|
|
@@ -7,8 +7,8 @@ import { checkEngineCompatibility } from "../../extensions/engine-check.js";
|
|
|
7
7
|
import { ExtensionLoader } from "../../extensions/loader.js";
|
|
8
8
|
import { getContextWithOpts } from "../context.js";
|
|
9
9
|
import { getExtensionLockfileManager } from "../../extensions/lockfile.js";
|
|
10
|
-
import { checkAllExtensionsHealth, getExtensionHealthChecker } from "../../extensions/health.js";
|
|
11
10
|
import { collectExtensionPackageDependencyIssues } from "../../extensions/package-contract.js";
|
|
11
|
+
import { checkAllExtensionsHealth, getExtensionHealthChecker } from "../../extensions/health.js";
|
|
12
12
|
import { colors } from "../utils/colors.js";
|
|
13
13
|
import { createExtensionCreateCommand } from "./extension-create.js";
|
|
14
14
|
import { createExtensionDevCommand } from "./extension-dev.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAgentDefaultModelRef, init_schema } from "../../config/schema.js";
|
|
2
|
-
import { CredentialResolver, init_credentials } from "../../auth/credentials.js";
|
|
3
2
|
import { loadConfig, saveConfig } from "../../config/loader.js";
|
|
3
|
+
import { CredentialResolver, init_credentials } from "../../auth/credentials.js";
|
|
4
4
|
import { getAllModels, getAvailableModels, getConfiguredProviders, getProviderAuthState, getProviderDisplayName, init_providers, isProviderConfigured, providerSupportsApiKey, providerSupportsOAuth, resolveModel } from "../../providers/index.js";
|
|
5
5
|
import { formatExamples, register } from "../registry.js";
|
|
6
6
|
import { getContextWithOpts } from "../context.js";
|
package/dist/src/config/index.js
CHANGED
|
@@ -2,15 +2,15 @@ import { ENV_VARS, XOPC_DB_FILENAME, resolveHomeDir, resolveStateDir, resolveXop
|
|
|
2
2
|
import { TelegramAccountConfigSchema, TelegramConfigSchema, TelegramGroupConfigSchema, TelegramTopicConfigSchema } from "../../extensions/telegram/src/config-schema.js";
|
|
3
3
|
import { WeixinAccountConfigSchema, WeixinConfigSchema } from "../../extensions/weixin/src/config-schema.js";
|
|
4
4
|
import { AgentImageGenerationModelSchema, AgentModelRefSchema, AgentModelsSchema, AgentTypedModelRoleSchema, AgentsConfigSchema, BindingMatchSchema, BindingRuleSchema, BindingsConfigSchema, BrowserConfigSchema, ChannelsConfigSchema, CommandsConfigSchema, ConfigSchema, ConnectorsConfigSchema, ExperimentalConfigSchema, ExtensionSecurityConfigSchema, ExtensionSlotsConfigSchema, ExtensionsConfigSchema, GatewayAuthRateLimitSchema, GatewayAuthSchema, GatewayBindModeSchema, GatewayChannelConnectDeferModeSchema, GatewayConfigSchema, GatewayModeSchema, GatewayRemoteSchema, GatewaySecuritySchema, GatewayTailscaleConsentSchema, GatewayTailscaleSchema, GatewayTlsSchema, GatewayTrustedProxySchema, GatewayWebchatConfigSchema, HeartbeatConfigSchema, McpConfigSchema, McpServerSchema, MediaUnderstandingCapabilitiesSchema, MediaUnderstandingModelSchema, MessagesConfigSchema, ModelCatalogConfigSchema, ModelsDevConfigSchema, ProviderAuthConfigSchema, ProviderAzureConfigSchema, ProviderRequestOverridesSchema, ProvidersConfigSchema, RuntimeToolsConfigSchema, STTConfigSchema, STTFallbackConfigSchema, STTProviderConfigSchema, SearchProviderEntrySchema, SessionConfigSchema, SessionDmScopeSchema, SessionResetByTypeSchema, SessionResetConfigSchema, SessionResetModeSchema, SessionScopeSchema, SessionStorageConfigSchema, TTSConfigSchema, TTSEdgeConfigSchema, TTSFallbackConfigSchema, TTSModelOverridesConfigSchema, TTSProviderConfigSchema, TTSSummarizationConfigSchema, ToolsConfigSchema, ToolsMediaAudioConfigSchema, ToolsMediaConfigSchema, TuiConfigSchema, TunnelConfigSchema, TunnelConsentSchema, UpdateAutoConfigSchema, UpdateConfigSchema, VoiceConfigSchema, VoiceRefinementConfigSchema, WebSearchConfigSchema, WebToolsConfigSchema, WebsiteBlocklistSchema, WorkspaceConfigSchema, WorkspaceImportConfigSchema, getAgentDefaultImageGenerationModelConfig, getAgentDefaultImageModelConfig, getAgentDefaultModelRef, init_schema, parseModelRef } from "./schema.js";
|
|
5
|
-
import {
|
|
5
|
+
import { applyConfigOverrides, getConfigOverrides, resetConfigOverrides, setConfigOverride, unsetConfigOverride } from "./runtime-overrides.js";
|
|
6
6
|
import { expandWorkspacePathString, init_workspace_path, normalizeWorkspaceDir, resolveWorkspaceRoot } from "./workspace-path.js";
|
|
7
7
|
import { resolveDefaultAgentWorkspaceDir } from "./workspace-defaults.js";
|
|
8
8
|
import { resolveAgentDir as resolveAgentDir$1, resolveAgentHomeDir as resolveAgentHomeDir$1, resolveAgentWorkspaceDir } from "../agent/agent-scope.js";
|
|
9
|
+
import { extractProfileAgentId, resolveEffectiveAgentManifestForAgent, resolveEffectiveAgentManifestForSession, resolveEffectiveAgentProfile, resolveEffectiveAgentProfileForSession } from "./agent-profile.js";
|
|
9
10
|
import { FILENAMES, WORKSPACE_FILES, existsSync, hasBundledExtensionManifest, init_paths, resolveAgentAuthProfilesPath, resolveAgentDir, resolveAgentHomeDir, resolveAgentProfileDir, resolveAgentProfileMarkdownPath, resolveAuthProfilesPath, resolveBinDir, resolveBundledExtensionsDir, resolveBundledSkillsDir, resolveConfigPath, resolveCredentialsDir, resolveExtensionSdkPath, resolveExtensionsDir, resolveExtensionsLockPath, resolveInboxDir, resolveInboxMessagePath, resolveInboxPendingDir, resolveInboxProcessedDir, resolveLogPath, resolveLogsDir, resolveModelsJsonPath, resolveNodeBinDir, resolveNodeBinPath, resolveNodeToolsDir, resolveNpmBinPath, resolveOAuthPath, resolvePidPath, resolveSkillPath, resolveSkillsCachePath, resolveSkillsDir, resolveSkillsLockPath, resolveSocketPath, resolveStatusPath, resolveToolsDir, resolveWorkspaceExtensionsDir, resolveWorkspaceFile, resolveWorkspaceStateDir, resolveWorkspaceStatePath, resolveXopcBinPath } from "./paths.js";
|
|
10
|
-
import { CustomModelSchema, ImageGenerationCapabilitiesSchema, ImageGenerationModelSchema, ImageGenerationProviderSchema, ModelOverrideSchema, ModelsJsonSchema, OpenAICompatSchema, OpenAICompletionsCompatSchema, OpenAIResponsesCompatSchema, OpenRouterRoutingSchema, ProviderConfigSchema, VercelGatewayRoutingSchema, getDefaultModelValues, init_models_json, loadModelsJson, modelsJsonExists, saveModelsJson, validateModelsConfig } from "./models-json.js";
|
|
11
11
|
import { init_loader, loadConfig, saveConfig } from "./loader.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { clearConfigValueCache, getAllowedCommands, getCacheStats, init_resolve_config_value, resolveConfigValue, resolveHeaders, testApiKeyResolution } from "./resolve-config-value.js";
|
|
13
|
+
import { CustomModelSchema, ImageGenerationCapabilitiesSchema, ImageGenerationModelSchema, ImageGenerationProviderSchema, ModelOverrideSchema, ModelsJsonSchema, OpenAICompatSchema, OpenAICompletionsCompatSchema, OpenAIResponsesCompatSchema, OpenRouterRoutingSchema, ProviderConfigSchema, VercelGatewayRoutingSchema, getDefaultModelValues, init_models_json, loadModelsJson, modelsJsonExists, saveModelsJson, validateModelsConfig } from "./models-json.js";
|
|
14
14
|
import { canonicalizeConfiguredMcpServer, isKnownCliMcpTypeAlias, normalizeConfiguredMcpServers, resolveXopcMcpTransportAlias } from "./mcp-config-normalize.js";
|
|
15
15
|
import { formatThinkingLevels, listThinkingLevels, normalizeElevatedMode, normalizeReasoningLevel, normalizeThinkLevel, normalizeVerboseLevel, thinkLevelToNumber } from "../agent/transcript/thinking-types.js";
|
|
16
16
|
import { getWorkspacePath } from "./workspace-path-helpers.js";
|
|
@@ -2,8 +2,8 @@ import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { createLogger } from "../utils/logger/index.js";
|
|
3
3
|
import { init_logger } from "../utils/logger.js";
|
|
4
4
|
import { ConfigSchema, init_schema } from "./schema.js";
|
|
5
|
-
import { init_write_file_atomic, writeTextAtomic } from "../infra/write-file-atomic.js";
|
|
6
5
|
import { init_paths, resolveConfigPath } from "./paths.js";
|
|
6
|
+
import { init_write_file_atomic, writeTextAtomic } from "../infra/write-file-atomic.js";
|
|
7
7
|
import { assertChannelPluginConfigs, init_validate_channel_configs } from "./validate-channel-configs.js";
|
|
8
8
|
import { dirname } from "path";
|
|
9
9
|
import { existsSync, mkdirSync, promises, readFileSync } from "fs";
|
|
@@ -249,13 +249,13 @@ export declare const CustomModelSchema: z.ZodObject<{
|
|
|
249
249
|
api: z.ZodOptional<z.ZodEnum<{
|
|
250
250
|
"openai-completions": "openai-completions";
|
|
251
251
|
"openai-responses": "openai-responses";
|
|
252
|
-
"anthropic-messages": "anthropic-messages";
|
|
253
|
-
"google-generative-ai": "google-generative-ai";
|
|
254
252
|
"azure-openai-responses": "azure-openai-responses";
|
|
255
|
-
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
256
253
|
"openai-codex-responses": "openai-codex-responses";
|
|
257
|
-
"
|
|
254
|
+
"anthropic-messages": "anthropic-messages";
|
|
255
|
+
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
256
|
+
"google-generative-ai": "google-generative-ai";
|
|
258
257
|
"google-vertex": "google-vertex";
|
|
258
|
+
"google-gemini-cli": "google-gemini-cli";
|
|
259
259
|
}>>;
|
|
260
260
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
261
261
|
input: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -351,13 +351,13 @@ export declare const ProviderConfigSchema: z.ZodObject<{
|
|
|
351
351
|
api: z.ZodOptional<z.ZodEnum<{
|
|
352
352
|
"openai-completions": "openai-completions";
|
|
353
353
|
"openai-responses": "openai-responses";
|
|
354
|
-
"anthropic-messages": "anthropic-messages";
|
|
355
|
-
"google-generative-ai": "google-generative-ai";
|
|
356
354
|
"azure-openai-responses": "azure-openai-responses";
|
|
357
|
-
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
358
355
|
"openai-codex-responses": "openai-codex-responses";
|
|
359
|
-
"
|
|
356
|
+
"anthropic-messages": "anthropic-messages";
|
|
357
|
+
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
358
|
+
"google-generative-ai": "google-generative-ai";
|
|
360
359
|
"google-vertex": "google-vertex";
|
|
360
|
+
"google-gemini-cli": "google-gemini-cli";
|
|
361
361
|
}>>;
|
|
362
362
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
363
363
|
authHeader: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -367,13 +367,13 @@ export declare const ProviderConfigSchema: z.ZodObject<{
|
|
|
367
367
|
api: z.ZodOptional<z.ZodEnum<{
|
|
368
368
|
"openai-completions": "openai-completions";
|
|
369
369
|
"openai-responses": "openai-responses";
|
|
370
|
-
"anthropic-messages": "anthropic-messages";
|
|
371
|
-
"google-generative-ai": "google-generative-ai";
|
|
372
370
|
"azure-openai-responses": "azure-openai-responses";
|
|
373
|
-
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
374
371
|
"openai-codex-responses": "openai-codex-responses";
|
|
375
|
-
"
|
|
372
|
+
"anthropic-messages": "anthropic-messages";
|
|
373
|
+
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
374
|
+
"google-generative-ai": "google-generative-ai";
|
|
376
375
|
"google-vertex": "google-vertex";
|
|
376
|
+
"google-gemini-cli": "google-gemini-cli";
|
|
377
377
|
}>>;
|
|
378
378
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
379
379
|
input: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -550,13 +550,13 @@ export declare const ModelsJsonSchema: z.ZodObject<{
|
|
|
550
550
|
api: z.ZodOptional<z.ZodEnum<{
|
|
551
551
|
"openai-completions": "openai-completions";
|
|
552
552
|
"openai-responses": "openai-responses";
|
|
553
|
-
"anthropic-messages": "anthropic-messages";
|
|
554
|
-
"google-generative-ai": "google-generative-ai";
|
|
555
553
|
"azure-openai-responses": "azure-openai-responses";
|
|
556
|
-
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
557
554
|
"openai-codex-responses": "openai-codex-responses";
|
|
558
|
-
"
|
|
555
|
+
"anthropic-messages": "anthropic-messages";
|
|
556
|
+
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
557
|
+
"google-generative-ai": "google-generative-ai";
|
|
559
558
|
"google-vertex": "google-vertex";
|
|
559
|
+
"google-gemini-cli": "google-gemini-cli";
|
|
560
560
|
}>>;
|
|
561
561
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
562
562
|
authHeader: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -566,13 +566,13 @@ export declare const ModelsJsonSchema: z.ZodObject<{
|
|
|
566
566
|
api: z.ZodOptional<z.ZodEnum<{
|
|
567
567
|
"openai-completions": "openai-completions";
|
|
568
568
|
"openai-responses": "openai-responses";
|
|
569
|
-
"anthropic-messages": "anthropic-messages";
|
|
570
|
-
"google-generative-ai": "google-generative-ai";
|
|
571
569
|
"azure-openai-responses": "azure-openai-responses";
|
|
572
|
-
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
573
570
|
"openai-codex-responses": "openai-codex-responses";
|
|
574
|
-
"
|
|
571
|
+
"anthropic-messages": "anthropic-messages";
|
|
572
|
+
"bedrock-converse-stream": "bedrock-converse-stream";
|
|
573
|
+
"google-generative-ai": "google-generative-ai";
|
|
575
574
|
"google-vertex": "google-vertex";
|
|
575
|
+
"google-gemini-cli": "google-gemini-cli";
|
|
576
576
|
}>>;
|
|
577
577
|
reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
578
578
|
input: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { init_write_file_atomic, writeTextAtomicSync } from "../infra/write-file-atomic.js";
|
|
3
2
|
import { init_paths, resolveModelsJsonPath } from "./paths.js";
|
|
3
|
+
import { init_write_file_atomic, writeTextAtomicSync } from "../infra/write-file-atomic.js";
|
|
4
4
|
import { existsSync, readFileSync } from "fs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/config/models-json.ts
|
|
@@ -9,6 +9,7 @@ export declare function deriveConnectedSourceUnderstanding(input: {
|
|
|
9
9
|
agentId: string;
|
|
10
10
|
sourceInstanceId: string;
|
|
11
11
|
sourceRunId: string;
|
|
12
|
+
processingPolicy: 'local_only' | 'remote_allowed';
|
|
12
13
|
memoryManager: MemoryManager;
|
|
13
14
|
analyze?: typeof analyzeUnderstandingSources;
|
|
14
15
|
}): Promise<{
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { finishContextExtractionRun } from "../storage/sqlite/context-extraction-repository.js";
|
|
1
2
|
import { listKnowledgeSourceItems } from "../storage/sqlite/knowledge-repository.js";
|
|
2
3
|
import "../storage/sqlite/index.js";
|
|
3
4
|
import { upsertUserFocus } from "../user-context/sources/repository.js";
|
|
5
|
+
import { claimRegisteredExtraction } from "../user-context/extraction/registry.js";
|
|
6
|
+
import { allowsRemoteSourceProcessing } from "../user-context/sources/processing-policy.js";
|
|
4
7
|
import { analyzeUnderstandingSources } from "../work-discovery/analyzer.js";
|
|
5
8
|
import { createHash } from "node:crypto";
|
|
6
9
|
//#region src/connectors/connected-source-understanding.ts
|
|
@@ -82,51 +85,96 @@ function hasLongVerbatimOverlap(value, sourceTexts, minimumLength = 32) {
|
|
|
82
85
|
return sourceTexts.some((source) => source.replace(/\s+/g, " ").includes(normalized));
|
|
83
86
|
}
|
|
84
87
|
async function deriveConnectedSourceUnderstanding(input) {
|
|
85
|
-
const
|
|
88
|
+
const knowledgeItems = listKnowledgeSourceItems({
|
|
86
89
|
agentId: input.agentId,
|
|
87
90
|
sourceInstanceId: input.sourceInstanceId,
|
|
88
91
|
includeDeleted: false,
|
|
89
92
|
limit: MAX_CONNECTED_ITEMS
|
|
90
|
-
})
|
|
93
|
+
});
|
|
94
|
+
const items = connectedItemsForUnderstanding(knowledgeItems);
|
|
91
95
|
if (!items.length) return {
|
|
92
96
|
created: 0,
|
|
93
97
|
focusCount: 0,
|
|
94
98
|
status: "completed"
|
|
95
99
|
};
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
-
|
|
100
|
+
const extraction = claimRegisteredExtraction({
|
|
101
|
+
extractorId: "connector-semantic",
|
|
102
|
+
sourceRef: `understanding-source-run:${input.sourceRunId}`,
|
|
103
|
+
contentForHash: knowledgeItems.map((item) => `${item.id}:${item.sourceUpdatedAt ?? ""}`).join("\n"),
|
|
104
|
+
processingPolicy: input.processingPolicy,
|
|
105
|
+
destination: "remote_model"
|
|
99
106
|
});
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
agentId: input.agentId,
|
|
105
|
-
sourceItemIds,
|
|
106
|
-
sourceText: "Bounded semantic synthesis from explicitly connected work sources.",
|
|
107
|
-
source: {
|
|
108
|
-
provider: "connected-sources",
|
|
109
|
-
sourceInstanceId: input.sourceInstanceId
|
|
110
|
-
},
|
|
111
|
-
reviewSource: "background"
|
|
112
|
-
}) : { created: 0 };
|
|
113
|
-
const focuses = analysis.workThreadCandidates.filter((candidate) => !hasLongVerbatimOverlap(candidate.title, rawTexts) && !hasLongVerbatimOverlap(candidate.summary, rawTexts)).map((candidate) => upsertUserFocus({
|
|
114
|
-
canonicalKey: `connected-focus:${candidate.topicKey}`,
|
|
115
|
-
title: candidate.title,
|
|
116
|
-
summary: candidate.summary,
|
|
117
|
-
horizon: candidate.horizon,
|
|
118
|
-
status: "candidate",
|
|
119
|
-
confidence: candidate.confidence === "high" ? .9 : candidate.confidence === "medium" ? .72 : .55,
|
|
120
|
-
evidenceRefs: candidate.evidenceRefs,
|
|
121
|
-
sourceRunId: input.sourceRunId
|
|
122
|
-
}));
|
|
123
|
-
const sourceStatus = analysis.sourceStatuses.find((item) => item.sourceId === "connected-work");
|
|
124
|
-
return {
|
|
125
|
-
created: reviewed.created,
|
|
126
|
-
focusCount: focuses.length,
|
|
127
|
-
status: sourceStatus?.status ?? "failed",
|
|
128
|
-
...sourceStatus?.error ? { error: sourceStatus.error } : {}
|
|
107
|
+
if (!allowsRemoteSourceProcessing([input.processingPolicy]) || !extraction.shouldExecute) return {
|
|
108
|
+
created: 0,
|
|
109
|
+
focusCount: 0,
|
|
110
|
+
status: "completed"
|
|
129
111
|
};
|
|
112
|
+
try {
|
|
113
|
+
const analysis = await (input.analyze ?? analyzeUnderstandingSources)({
|
|
114
|
+
config: input.config,
|
|
115
|
+
items
|
|
116
|
+
});
|
|
117
|
+
const rawTexts = items.flatMap((item) => item.text ? [item.text] : []);
|
|
118
|
+
const profileCandidates = analysis.profileCandidates.filter((candidate) => !hasLongVerbatimOverlap(candidate.statement, rawTexts));
|
|
119
|
+
const sourceItemIds = [...new Set([...profileCandidates.flatMap((candidate) => candidate.evidenceRefs ?? []), ...analysis.workThreadCandidates.flatMap((candidate) => candidate.evidenceRefs)].map((ref) => ref.startsWith("knowledge-source://") ? ref.slice(19) : ""))].filter(Boolean).slice(0, 20);
|
|
120
|
+
const reviewed = profileCandidates.length ? await input.memoryManager.applyUnderstandingCandidates(profileCandidates.map(understandingCandidate), {
|
|
121
|
+
agentId: input.agentId,
|
|
122
|
+
sourceItemIds,
|
|
123
|
+
sourceText: "Bounded semantic synthesis from explicitly connected work sources.",
|
|
124
|
+
source: {
|
|
125
|
+
provider: "connected-sources",
|
|
126
|
+
sourceInstanceId: input.sourceInstanceId
|
|
127
|
+
},
|
|
128
|
+
reviewSource: "background",
|
|
129
|
+
extractionRunId: extraction.run.id
|
|
130
|
+
}) : {
|
|
131
|
+
created: 0,
|
|
132
|
+
writeOutputs: []
|
|
133
|
+
};
|
|
134
|
+
const focuses = analysis.workThreadCandidates.filter((candidate) => !hasLongVerbatimOverlap(candidate.title, rawTexts) && !hasLongVerbatimOverlap(candidate.summary, rawTexts)).map((candidate) => upsertUserFocus({
|
|
135
|
+
canonicalKey: `connected-focus:${candidate.topicKey}`,
|
|
136
|
+
title: candidate.title,
|
|
137
|
+
summary: candidate.summary,
|
|
138
|
+
horizon: candidate.horizon,
|
|
139
|
+
status: "candidate",
|
|
140
|
+
confidence: candidate.confidence === "high" ? .9 : candidate.confidence === "medium" ? .72 : .55,
|
|
141
|
+
evidenceRefs: candidate.evidenceRefs,
|
|
142
|
+
sourceRunId: input.sourceRunId
|
|
143
|
+
}));
|
|
144
|
+
finishContextExtractionRun({
|
|
145
|
+
runId: extraction.run.id,
|
|
146
|
+
status: "completed",
|
|
147
|
+
outputs: [...(reviewed.writeOutputs ?? []).map((output) => ({
|
|
148
|
+
candidateKey: output.candidateKey,
|
|
149
|
+
...output.objectId ? {
|
|
150
|
+
objectType: "understanding",
|
|
151
|
+
objectId: output.objectId
|
|
152
|
+
} : {},
|
|
153
|
+
...output.versionId ? { versionId: output.versionId } : {},
|
|
154
|
+
outcome: output.outcome
|
|
155
|
+
})), ...focuses.map((focus) => ({
|
|
156
|
+
candidateKey: focus.canonicalKey,
|
|
157
|
+
objectType: "focus",
|
|
158
|
+
objectId: focus.id,
|
|
159
|
+
versionId: focus.versionId,
|
|
160
|
+
outcome: "created"
|
|
161
|
+
}))]
|
|
162
|
+
});
|
|
163
|
+
const sourceStatus = analysis.sourceStatuses.find((item) => item.sourceId === "connected-work");
|
|
164
|
+
return {
|
|
165
|
+
created: reviewed.created,
|
|
166
|
+
focusCount: focuses.length,
|
|
167
|
+
status: sourceStatus?.status ?? "failed",
|
|
168
|
+
...sourceStatus?.error ? { error: sourceStatus.error } : {}
|
|
169
|
+
};
|
|
170
|
+
} catch (error) {
|
|
171
|
+
finishContextExtractionRun({
|
|
172
|
+
runId: extraction.run.id,
|
|
173
|
+
status: "failed",
|
|
174
|
+
errorCode: "extractor_failed"
|
|
175
|
+
});
|
|
176
|
+
throw error;
|
|
177
|
+
}
|
|
130
178
|
}
|
|
131
179
|
//#endregion
|
|
132
180
|
export { connectedItemsForUnderstanding, deriveConnectedSourceUnderstanding };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createLogger } from "../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../utils/logger.js";
|
|
3
|
+
import { finishContextExtractionRun } from "../storage/sqlite/context-extraction-repository.js";
|
|
3
4
|
import { claimNextConnectorLearningJob, enqueueConnectorLearningJob, listConnectorLearningJobs, recoverStaleConnectorLearningJobs, setConnectorLearningPaused, updateConnectorLearningJob } from "../storage/sqlite/connector-learning-repository.js";
|
|
4
5
|
import { pruneBoundedKnowledgeSourceItems } from "../storage/sqlite/knowledge-repository.js";
|
|
5
6
|
import { getConnectorInstallation, listConnectorConnections, upsertConnectorConnection } from "../storage/sqlite/connector-repository.js";
|
|
@@ -10,7 +11,8 @@ import { connectorIdentityKey, normalizeConnectorIdentity } from "./connector-id
|
|
|
10
11
|
import { ComposioSessionsAdapter } from "./composio-sessions.js";
|
|
11
12
|
import { buildConnectorLearningArguments, getConnectorLearningPlan } from "./learning-recipes.js";
|
|
12
13
|
import { getConnectorDefinition } from "./catalog.js";
|
|
13
|
-
import { createUnderstandingSourceRun, listUnderstandingSourceRuns, updateUnderstandingSourceGrantCheckpoint, updateUnderstandingSourceRun, upsertUnderstandingSourceGrant, upsertUserFocus } from "../user-context/sources/repository.js";
|
|
14
|
+
import { createUnderstandingSourceRun, getUnderstandingSourceGrant, listUnderstandingSourceRuns, updateUnderstandingSourceGrantCheckpoint, updateUnderstandingSourceRun, upsertUnderstandingSourceGrant, upsertUserFocus } from "../user-context/sources/repository.js";
|
|
15
|
+
import { claimRegisteredExtraction } from "../user-context/extraction/registry.js";
|
|
14
16
|
import { ConnectedUnderstandingPipeline } from "../knowledge/connected-understanding-pipeline.js";
|
|
15
17
|
import "../knowledge/index.js";
|
|
16
18
|
import { ingestComposioConnectedSource } from "./connected-source-ingestion.js";
|
|
@@ -207,17 +209,60 @@ function startConnectorLearningCoordinator(options) {
|
|
|
207
209
|
itemsIndexed
|
|
208
210
|
}));
|
|
209
211
|
publish(updateConnectorLearningJob(job.id, { phase: "deriving" }));
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
status: "candidate",
|
|
217
|
-
confidence: .72,
|
|
218
|
-
evidenceRefs: [`connector-account:${job.accountId}`],
|
|
219
|
-
sourceRunId: sourceRun.id
|
|
212
|
+
const structuralExtraction = claimRegisteredExtraction({
|
|
213
|
+
extractorId: "connector-structural",
|
|
214
|
+
sourceRef: `understanding-source-run:${sourceRun.id}`,
|
|
215
|
+
contentForHash: `${job.sourceInstanceId}:${itemsSeen}:${itemsIndexed}`,
|
|
216
|
+
processingPolicy: "local_only",
|
|
217
|
+
destination: "deterministic"
|
|
220
218
|
});
|
|
219
|
+
let understanding = {
|
|
220
|
+
proposed: 0,
|
|
221
|
+
created: 0,
|
|
222
|
+
deduplicated: 0,
|
|
223
|
+
rejected: 0,
|
|
224
|
+
createdRecords: [],
|
|
225
|
+
writeOutputs: []
|
|
226
|
+
};
|
|
227
|
+
if (structuralExtraction.shouldExecute) try {
|
|
228
|
+
understanding = await new ConnectedUnderstandingPipeline(options.getMemoryManager()).process(job.agentId, structuralExtraction.run.id);
|
|
229
|
+
const structuralFocuses = understanding.createdRecords.filter((item) => item.kind === "project_context").map((record) => upsertUserFocus({
|
|
230
|
+
canonicalKey: `connector-focus:${job.accountId}:${record.id}`,
|
|
231
|
+
title: record.content.slice(0, 120),
|
|
232
|
+
summary: record.content,
|
|
233
|
+
horizon: "ongoing",
|
|
234
|
+
status: "candidate",
|
|
235
|
+
confidence: .72,
|
|
236
|
+
evidenceRefs: [`connector-account:${job.accountId}`],
|
|
237
|
+
sourceRunId: sourceRun.id
|
|
238
|
+
}));
|
|
239
|
+
finishContextExtractionRun({
|
|
240
|
+
runId: structuralExtraction.run.id,
|
|
241
|
+
status: "completed",
|
|
242
|
+
outputs: [...(understanding.writeOutputs ?? []).map((output) => ({
|
|
243
|
+
candidateKey: output.candidateKey,
|
|
244
|
+
...output.objectId ? {
|
|
245
|
+
objectType: "understanding",
|
|
246
|
+
objectId: output.objectId
|
|
247
|
+
} : {},
|
|
248
|
+
...output.versionId ? { versionId: output.versionId } : {},
|
|
249
|
+
outcome: output.outcome
|
|
250
|
+
})), ...structuralFocuses.map((focus) => ({
|
|
251
|
+
candidateKey: focus.canonicalKey,
|
|
252
|
+
objectType: "focus",
|
|
253
|
+
objectId: focus.id,
|
|
254
|
+
versionId: focus.versionId,
|
|
255
|
+
outcome: "created"
|
|
256
|
+
}))]
|
|
257
|
+
});
|
|
258
|
+
} catch (error) {
|
|
259
|
+
finishContextExtractionRun({
|
|
260
|
+
runId: structuralExtraction.run.id,
|
|
261
|
+
status: "failed",
|
|
262
|
+
errorCode: "extractor_failed"
|
|
263
|
+
});
|
|
264
|
+
throw error;
|
|
265
|
+
}
|
|
221
266
|
let semantic = {
|
|
222
267
|
created: 0,
|
|
223
268
|
focusCount: 0,
|
|
@@ -229,6 +274,7 @@ function startConnectorLearningCoordinator(options) {
|
|
|
229
274
|
agentId: job.agentId,
|
|
230
275
|
sourceInstanceId: job.sourceInstanceId,
|
|
231
276
|
sourceRunId: sourceRun.id,
|
|
277
|
+
processingPolicy: getUnderstandingSourceGrant(sourceRun.grantId)?.processingPolicy ?? "local_only",
|
|
232
278
|
memoryManager: options.getMemoryManager()
|
|
233
279
|
});
|
|
234
280
|
} catch (error) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createLogger } from "../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../utils/logger.js";
|
|
3
|
-
import { init_write_file_atomic, writeTextAtomic } from "../infra/write-file-atomic.js";
|
|
4
3
|
import { init_paths, resolveExtensionsDir, resolveExtensionsLockPath } from "../config/paths.js";
|
|
4
|
+
import { init_write_file_atomic, writeTextAtomic } from "../infra/write-file-atomic.js";
|
|
5
5
|
import { dirname, join } from "path";
|
|
6
6
|
import { existsSync } from "fs";
|
|
7
7
|
import { mkdir, readFile } from "fs/promises";
|
|
@@ -4,8 +4,8 @@ import { init_paths, resolveBundledExtensionsDir, resolveExtensionsDir } from ".
|
|
|
4
4
|
import { init_loader, loadConfig } from "../config/loader.js";
|
|
5
5
|
import { downloadExtensionStoreZipBuffer, resolveExtensionZipDownloadUrl, resolveExtensionsStoreBaseUrl, verifyStoreArtifactSha256 } from "../agent/skills/marketplace/adapters/store/store-api-client.js";
|
|
6
6
|
import { getExtensionLockfileManager } from "./lockfile.js";
|
|
7
|
-
import { installExtensionFromStoreZip, installFromNpm } from "./install.js";
|
|
8
7
|
import { findExtension } from "./marketplace.js";
|
|
8
|
+
import { installExtensionFromStoreZip, installFromNpm } from "./install.js";
|
|
9
9
|
import { join } from "node:path";
|
|
10
10
|
import { existsSync, readFileSync, readdirSync, rmSync } from "node:fs";
|
|
11
11
|
import semver from "semver";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveCapabilityPresetLayer, resolveEffectiveAgentManifest } from "../agent-manifest/resolver.js";
|
|
2
2
|
import { init_agent_scope, listAgentEntries, normalizeAgentId, resolveAgentDir, resolveAgentProfileDir, resolveAgentWorkspaceDir, resolveDefaultAgentId, resolveUserPath, validateAgentIdForNewAgent } from "../agent/agent-scope.js";
|
|
3
|
-
import { WORKSPACE_FILES, init_paths } from "../config/paths.js";
|
|
4
3
|
import { resolveEffectiveAgentProfile } from "../config/agent-profile.js";
|
|
4
|
+
import { WORKSPACE_FILES, init_paths } from "../config/paths.js";
|
|
5
5
|
import { AGENT_PROFILE_MARKDOWN_SYSTEM_FILES, REQUIRED_AGENT_PROFILE_MARKDOWN_FILE_SET } from "../agent/context/workspace.js";
|
|
6
6
|
import { isPathUnderWorkspace, resolveWorkspaceSafePath } from "./workspace-editor-path.js";
|
|
7
7
|
import { seedAgentProfileMarkdownFiles } from "../agent/context/workspace-seed.js";
|
|
@@ -434,9 +434,27 @@ function userMessageFromEvent(event) {
|
|
|
434
434
|
role: "user",
|
|
435
435
|
content: event.content ?? [],
|
|
436
436
|
attachments: event.media,
|
|
437
|
+
metadata: userMessageDisplayMetadata(event.metadata),
|
|
437
438
|
timestamp: typeof event.timestamp === "number" ? event.timestamp : Date.now()
|
|
438
439
|
};
|
|
439
440
|
}
|
|
441
|
+
function userMessageDisplayMetadata(value) {
|
|
442
|
+
const rows = asRecord(value)?.sourceContexts;
|
|
443
|
+
if (!Array.isArray(rows)) return void 0;
|
|
444
|
+
const sourceContexts = rows.flatMap((value) => {
|
|
445
|
+
const row = asRecord(value);
|
|
446
|
+
if (row?.kind !== "note" || typeof row.sourceId !== "string" || typeof row.version !== "string" || typeof row.title !== "string") return [];
|
|
447
|
+
return [{
|
|
448
|
+
kind: "note",
|
|
449
|
+
sourceId: row.sourceId,
|
|
450
|
+
version: row.version,
|
|
451
|
+
title: row.title,
|
|
452
|
+
...typeof row.tokenEstimate === "number" ? { tokenEstimate: row.tokenEstimate } : {},
|
|
453
|
+
...row.truncated === true ? { truncated: true } : {}
|
|
454
|
+
}];
|
|
455
|
+
});
|
|
456
|
+
return sourceContexts.length > 0 ? { sourceContexts } : void 0;
|
|
457
|
+
}
|
|
440
458
|
function extractTextFromMessage(message) {
|
|
441
459
|
return extractText(message.content);
|
|
442
460
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { init_paths_state, resolveStateDir } from "../config/paths-state.js";
|
|
2
2
|
import { init_agent_scope, resolveAgentProfileDir } from "../agent/agent-scope.js";
|
|
3
|
-
import { init_paths, resolveConfigPath, resolveSkillsDir } from "../config/paths.js";
|
|
4
3
|
import { extractProfileAgentId } from "../config/agent-profile.js";
|
|
4
|
+
import { init_paths, resolveConfigPath, resolveSkillsDir } from "../config/paths.js";
|
|
5
5
|
import { isBareProfileMarkdownFileName, resolveProfileMarkdownPathIfBareName } from "../agent/tools/tool-paths.js";
|
|
6
6
|
import { isPathUnderWorkspace, resolveWorkspaceSafePath } from "./workspace-editor-path.js";
|
|
7
7
|
import { basename, isAbsolute, resolve } from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ContextCompactionPolicySchema, UserContextDreamingSchema, UserContextPrivacySchema, init_config } from "../../../user-context/config.js";
|
|
2
2
|
import { init_agent_scope, listAgentEntries, normalizeAgentId, resolveDefaultAgentId } from "../../../agent/agent-scope.js";
|
|
3
3
|
import { resolveModelsJsonPath } from "../../../config/paths.js";
|
|
4
|
+
import { buildChannelCatalogForConfig, buildChannelCatalogFromSnapshot, getChannelSetupStatus, init_channel_catalog_service } from "../../../channels/catalog/channel-catalog-service.js";
|
|
4
5
|
import { init_models_json, loadModelsJson } from "../../../config/models-json.js";
|
|
5
6
|
import { CredentialResolver, init_credentials } from "../../../auth/credentials.js";
|
|
6
|
-
import { buildChannelCatalogForConfig, buildChannelCatalogFromSnapshot, getChannelSetupStatus, init_channel_catalog_service } from "../../../channels/catalog/channel-catalog-service.js";
|
|
7
7
|
import { getProviderRegistry, init_plugin_registry } from "../../../providers/plugin-registry.js";
|
|
8
8
|
import { getAllProviders, init_providers, isProviderConfigured } from "../../../providers/index.js";
|
|
9
9
|
import { normalizeConfiguredMcpServers } from "../../../config/mcp-config-normalize.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { parseTurnContextRefs } from "../../../agent/source-context/types.js";
|
|
1
2
|
import { validateWebchatAttachments, validateWebchatContent } from "../../chat-limits.js";
|
|
2
3
|
import { replaceLatestSessionTurn, submitSessionInput } from "./session-input-handler.js";
|
|
3
4
|
//#region src/gateway/hono/routes/agent-stream.ts
|
|
@@ -51,6 +52,14 @@ function registerAgentStreamRoutes(authenticated, deps) {
|
|
|
51
52
|
}
|
|
52
53
|
}, 400);
|
|
53
54
|
const attachments = Array.isArray(body.attachments) ? body.attachments : void 0;
|
|
55
|
+
const contextRefs = body.contextRefs === void 0 ? void 0 : parseTurnContextRefs(body.contextRefs);
|
|
56
|
+
if (contextRefs === null) return c.json({
|
|
57
|
+
ok: false,
|
|
58
|
+
error: {
|
|
59
|
+
code: "BAD_REQUEST",
|
|
60
|
+
message: "Invalid Note context references"
|
|
61
|
+
}
|
|
62
|
+
}, 400);
|
|
54
63
|
if (body.content !== void 0) {
|
|
55
64
|
const contentError = validateWebchatContent(body.content);
|
|
56
65
|
if (contentError) return c.json({
|
|
@@ -73,6 +82,7 @@ function registerAgentStreamRoutes(authenticated, deps) {
|
|
|
73
82
|
version: body.version,
|
|
74
83
|
content: typeof body.content === "string" ? body.content : void 0,
|
|
75
84
|
attachments,
|
|
85
|
+
contextRefs,
|
|
76
86
|
thinking: typeof body.thinking === "string" ? body.thinking : void 0,
|
|
77
87
|
position: typeof body.position === "number" ? body.position : void 0
|
|
78
88
|
});
|
|
@@ -82,8 +92,8 @@ function registerAgentStreamRoutes(authenticated, deps) {
|
|
|
82
92
|
}) : c.json({
|
|
83
93
|
ok: false,
|
|
84
94
|
error: {
|
|
85
|
-
code: "CONFLICT",
|
|
86
|
-
message: "Input changed"
|
|
95
|
+
code: result.contextUnavailable ? "CONTEXT_UNAVAILABLE" : "CONFLICT",
|
|
96
|
+
message: result.contextUnavailable ? "A referenced Note changed or is no longer available. Select it again." : "Input changed"
|
|
87
97
|
},
|
|
88
98
|
payload: result.state
|
|
89
99
|
}, 409);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getAllModels, getAvailableModels, init_providers } from "../../../providers/index.js";
|
|
2
2
|
import { ActivationPlanner } from "../../../extensions/activation-planner.js";
|
|
3
3
|
import { mergeActivationContext } from "../../../extensions/activation-context.js";
|
|
4
|
-
import { fetchRegistry, listExtensions, searchExtensions } from "../../../extensions/marketplace.js";
|
|
5
4
|
import { buildWhenContextSnapshot } from "../../../extensions/when-context.js";
|
|
5
|
+
import { fetchRegistry, listExtensions, searchExtensions } from "../../../extensions/marketplace.js";
|
|
6
6
|
import { createOAuthAsyncHandler } from "../oauth-async.js";
|
|
7
7
|
import { createOAuthHandler } from "../oauth.js";
|
|
8
8
|
import { extensionAssetMimeType } from "../lib/extension-assets.js";
|
|
@@ -40,6 +40,7 @@ function registerCommandsSkillsRoutes(authenticated, deps) {
|
|
|
40
40
|
category: cmd.category,
|
|
41
41
|
scope: cmd.scope,
|
|
42
42
|
acceptsArgs: cmd.acceptsArgs ?? false,
|
|
43
|
+
acceptsContext: cmd.acceptsContext ?? false,
|
|
43
44
|
examples: cmd.examples ?? []
|
|
44
45
|
}));
|
|
45
46
|
const extensionCommands = all.filter((cmd) => cmd.category === "extension").map((cmd) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_resolve_config_value, testApiKeyResolution } from "../../../config/resolve-config-value.js";
|
|
2
1
|
import { resolveModelsJsonPath } from "../../../config/paths.js";
|
|
2
|
+
import { init_resolve_config_value, testApiKeyResolution } from "../../../config/resolve-config-value.js";
|
|
3
3
|
import { init_models_json, loadModelsJson, saveModelsJson, validateModelsConfig } from "../../../config/models-json.js";
|
|
4
4
|
import { getModelCatalogStore, init_model_catalog_store } from "../../../providers/model-catalog-store.js";
|
|
5
5
|
import { getModelRegistry } from "../../../providers/model-registry.js";
|