@xopcai/xopc 0.0.430 → 0.0.431
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/feishu/src/adapters/cli-login.js +3 -3
- package/dist/extensions/feishu/src/outbound/media-load.js +1 -1
- package/dist/extensions/telegram/src/inbound-processor.js +2 -2
- package/dist/extensions/telegram/src/outbound-sender.js +1 -1
- package/dist/extensions/telegram/src/plugin.js +2 -2
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/extensions/weixin/src/api/api.js +2 -2
- package/dist/extensions/weixin/src/auth/accounts.js +12 -12
- package/dist/extensions/weixin/src/messaging/debug-mode.js +5 -5
- package/dist/extensions/weixin/src/messaging/inbound.js +11 -11
- package/dist/gateway/static/root/assets/{index-C5BhE5cA.js → index-BmUSsdwn.js} +6 -6
- package/dist/gateway/static/root/index.html +1 -1
- package/dist/package.js +1 -1
- package/dist/src/agent/agent-manager.js +18 -18
- package/dist/src/agent/agent-scope.js +2 -2
- package/dist/src/agent/background-review/prompts.js +1 -1
- package/dist/src/agent/background-review/run-background-review.js +12 -12
- package/dist/src/agent/child-agent-factory.js +2 -2
- package/dist/src/agent/context/coordinator.js +2 -2
- package/dist/src/agent/context/execution-context.js +4 -4
- package/dist/src/agent/context/project-context.js +3 -3
- package/dist/src/agent/data-acquisition/service.js +1 -1
- package/dist/src/agent/embedded/codemode-extension.js +1 -1
- package/dist/src/agent/embedded/execution-tool-policy.js +1 -1
- package/dist/src/agent/embedded/external-tool-discovery.js +1 -1
- package/dist/src/agent/embedded/run-for-session.js +6 -6
- package/dist/src/agent/embedded/run-turn.js +19 -19
- package/dist/src/agent/embedded/session-runner.js +4 -4
- package/dist/src/agent/embedded/session-tool-result-guard.js +1 -1
- package/dist/src/agent/embedded/xopc-tools-bridge.js +1 -1
- package/dist/src/agent/external-tools/cliProvider.js +4 -4
- package/dist/src/agent/external-tools/composio-provider.js +4 -4
- package/dist/src/agent/external-tools/endpoint-provider.js +6 -6
- package/dist/src/agent/external-tools/extension-provider.js +1 -1
- package/dist/src/agent/external-tools/gateway-tools.js +3 -3
- package/dist/src/agent/external-tools/memory-provider.js +1 -1
- package/dist/src/agent/image/generation/openai-images-provider.js +1 -1
- package/dist/src/agent/image/generation/runtime.js +1 -1
- package/dist/src/agent/image/index.js +1 -1
- package/dist/src/agent/inbound/attachment-pipeline.js +2 -2
- package/dist/src/agent/inbound/inbound-loop.js +2 -2
- package/dist/src/agent/independent-execution.js +2 -2
- package/dist/src/agent/index.js +3 -3
- package/dist/src/agent/mcp/connection-drafts.js +1 -1
- package/dist/src/agent/mcp/connection-setup.js +1 -1
- package/dist/src/agent/mcp/conversation-setup.js +1 -1
- package/dist/src/agent/mcp/discovery.js +2 -2
- package/dist/src/agent/mcp/transport.js +1 -1
- package/dist/src/agent/memory/index.js +1 -1
- package/dist/src/agent/orchestration/llm-turn-retry.js +1 -1
- package/dist/src/agent/prompt/response-language.js +1 -1
- package/dist/src/agent/prompt/service-prompt-builder.js +3 -3
- package/dist/src/agent/prompt/system-prompt-params.js +1 -1
- package/dist/src/agent/sandbox/exec-policy.js +1 -1
- package/dist/src/agent/service/direct-turn-helpers.js +6 -6
- package/dist/src/agent/service/process-direct-streaming.js +6 -6
- package/dist/src/agent/service/webchat-tts.js +2 -2
- package/dist/src/agent/service.js +22 -22
- package/dist/src/agent/session/session-config-service.js +2 -2
- package/dist/src/agent/session/session-hydrator.js +1 -1
- package/dist/src/agent/session/session-inspector.js +1 -1
- package/dist/src/agent/skills/filesystem-watcher.js +1 -1
- package/dist/src/agent/skills/hub-lock.js +1 -1
- package/dist/src/agent/skills/hub-pull.js +2 -2
- package/dist/src/agent/skills/index.js +1 -1
- package/dist/src/agent/skills/managed-store.js +1 -1
- package/dist/src/agent/skills/marketplace/adapters/store/adapter.js +1 -1
- package/dist/src/agent/skills/marketplace/adapters/store/store-api-client.js +1 -1
- package/dist/src/agent/skills/skill-manage-ops.js +1 -1
- package/dist/src/agent/skills/skill-manager.js +1 -1
- package/dist/src/agent/skills/skill-sources.js +1 -1
- package/dist/src/agent/source-context/index.js +1 -1
- package/dist/src/agent/tasks/task-judge-service.js +8 -8
- package/dist/src/agent/tools/create-share-tool.js +2 -2
- package/dist/src/agent/tools/delegate-tool.js +3 -3
- package/dist/src/agent/tools/exec-command.js +1 -1
- package/dist/src/agent/tools/executor.js +1 -1
- package/dist/src/agent/tools/factory.js +19 -19
- package/dist/src/agent/tools/fetch-text.js +1 -1
- package/dist/src/agent/tools/image-generate-tool.js +2 -2
- package/dist/src/agent/tools/index.js +4 -4
- package/dist/src/agent/tools/list-dir.js +1 -1
- package/dist/src/agent/tools/personal-attention-tool.js +2 -2
- package/dist/src/agent/tools/personal-read-tool.js +1 -1
- package/dist/src/agent/tools/personal-request-result-tool.js +1 -1
- package/dist/src/agent/tools/personal-request-tool.js +4 -4
- package/dist/src/agent/tools/personal-result-tool.js +1 -1
- package/dist/src/agent/tools/personal-task-tool.js +5 -5
- package/dist/src/agent/tools/phone-use-tool.js +1 -1
- package/dist/src/agent/tools/publish-artifacts.js +1 -1
- package/dist/src/agent/tools/read.js +1 -1
- package/dist/src/agent/tools/review-workspace.js +1 -1
- package/dist/src/agent/tools/send-media.js +1 -1
- package/dist/src/agent/tools/skill-manage-tool.js +1 -1
- package/dist/src/agent/tools/task-collaboration-tool.js +2 -2
- package/dist/src/agent/tools/tts-tool.js +1 -1
- package/dist/src/agent/tools/user-context-tool.js +2 -2
- package/dist/src/agent/tools/web.js +1 -1
- package/dist/src/agent/tools/write.js +1 -1
- package/dist/src/agent/tools/xopc-use-tool.js +12 -12
- package/dist/src/agent/transcript/index.js +2 -2
- package/dist/src/agent/transcript/transcript-hygiene.js +2 -2
- package/dist/src/agent-catalog/capabilities.js +2 -2
- package/dist/src/agent-catalog/repository.js +1 -1
- package/dist/src/agent-matching/delegation-service.js +1 -1
- package/dist/src/ai-assist/text-assist.js +1 -1
- package/dist/src/auth/credentials.js +1 -1
- package/dist/src/auth/oauth/openai.js +1 -1
- package/dist/src/auth/oauth/xopc-cloud.js +1 -1
- package/dist/src/auth/profiles/store.js +1 -1
- package/dist/src/automations/api/routes.js +2 -2
- package/dist/src/automations/capabilities/drafts.js +1 -1
- package/dist/src/automations/capabilities/write.js +1 -1
- package/dist/src/automations/configuration-conversation.js +1 -1
- package/dist/src/automations/delivery/delivery-router.js +1 -1
- package/dist/src/automations/domain/index.js +1 -1
- package/dist/src/automations/draft/automation-draft-service.js +1 -1
- package/dist/src/automations/index.js +2 -2
- package/dist/src/automations/service/action-executor.js +2 -2
- package/dist/src/automations/service/automation-service.js +2 -2
- package/dist/src/browser/native-messaging-host.js +1 -1
- package/dist/src/browser/providers/browser-ext-install.js +2 -2
- package/dist/src/capabilities/runtime/dispatcher.js +1 -1
- package/dist/src/capabilities/runtime/product.js +1 -1
- package/dist/src/capabilities/store-connector.js +2 -2
- package/dist/src/channels/attachments/voice-stt-webchat.js +1 -1
- package/dist/src/channels/index.js +1 -1
- package/dist/src/channels/outbound-sender.js +1 -1
- package/dist/src/channels/pairing/allow-from-file.js +9 -9
- package/dist/src/channels/pairing/pairing-store.js +6 -6
- package/dist/src/chat-commands/agent-edit.js +1 -1
- package/dist/src/chat-commands/builtins/config.js +2 -2
- package/dist/src/chat-commands/builtins/session.js +1 -1
- package/dist/src/chat-commands/builtins/thinking.js +1 -1
- package/dist/src/chat-commands/builtins/tts.js +1 -1
- package/dist/src/chat-commands/context.js +1 -1
- package/dist/src/chat-commands/index.js +3 -3
- package/dist/src/cli/commands/agent.js +7 -7
- package/dist/src/cli/commands/agents.js +1 -1
- package/dist/src/cli/commands/config.js +1 -1
- package/dist/src/cli/commands/connectors.js +1 -1
- package/dist/src/cli/commands/doctor/checks/channel-plugins.js +1 -1
- package/dist/src/cli/commands/doctor/checks/gateway-health.js +1 -1
- package/dist/src/cli/commands/extension-agent-plugin.js +1 -1
- package/dist/src/cli/commands/extension-dev.js +1 -1
- package/dist/src/cli/commands/extension.js +2 -2
- package/dist/src/cli/commands/image.js +1 -1
- package/dist/src/cli/commands/init.js +1 -1
- package/dist/src/cli/commands/models.js +3 -3
- package/dist/src/cli/commands/onboard/channels/registry.js +1 -1
- package/dist/src/cli/commands/onboard/model.js +1 -1
- package/dist/src/cli/commands/onboard.js +1 -1
- package/dist/src/cli/commands/project.js +1 -1
- package/dist/src/cli/commands/skills.js +2 -2
- package/dist/src/cli/commands/tunnel.js +4 -4
- package/dist/src/cli/extension-cli-register.js +5 -5
- package/dist/src/cli/utils/gateway-client.js +1 -1
- package/dist/src/cli/utils/init-workspace-core.js +3 -3
- package/dist/src/cli/utils/session.js +1 -1
- package/dist/src/computer/flows.js +1 -1
- package/dist/src/computer/model-adapter.js +1 -1
- package/dist/src/computer/runtime.js +4 -4
- package/dist/src/config/agent-profile.js +1 -1
- package/dist/src/config/index.js +3 -3
- package/dist/src/config/loader.js +1 -1
- package/dist/src/config/models-json.js +1 -1
- package/dist/src/connectors/cli/authorization.js +1 -1
- package/dist/src/connectors/composio-sessions.js +1 -1
- package/dist/src/connectors/composio.js +1 -1
- package/dist/src/connectors/connected-source-ingestion.js +2 -2
- package/dist/src/connectors/connected-source-understanding.js +5 -5
- package/dist/src/connectors/connection-recovery-service.js +4 -4
- package/dist/src/connectors/content-enrichment.js +1 -1
- package/dist/src/connectors/health.js +1 -1
- package/dist/src/connectors/instances.js +1 -1
- package/dist/src/connectors/runtime-adapter-registry.js +2 -2
- package/dist/src/discussions/live-worker.js +1 -1
- package/dist/src/discussions/sealer.js +1 -1
- package/dist/src/endpoint-tools/index.js +1 -1
- package/dist/src/endpoint-tools/runtime.js +2 -2
- package/dist/src/execution-environments/local-worktree-manager.js +1 -1
- package/dist/src/extensions/activation-context.js +3 -3
- package/dist/src/extensions/agent-plugins/auth.js +1 -1
- package/dist/src/extensions/agent-plugins/skill-catalog.js +3 -3
- package/dist/src/extensions/agent-plugins/source-http-fetch.js +1 -1
- package/dist/src/extensions/agent-plugins/validation.js +1 -1
- package/dist/src/extensions/api.js +3 -3
- package/dist/src/extensions/bundled-extension-activation.js +1 -1
- package/dist/src/extensions/index.js +3 -3
- package/dist/src/extensions/loader.js +2 -2
- package/dist/src/extensions/lockfile.js +1 -1
- package/dist/src/extensions/sdk/index.js +1 -1
- package/dist/src/extensions/sdk/media.js +1 -1
- package/dist/src/gateway/agents-admin.js +2 -2
- package/dist/src/gateway/device-routes.js +1 -1
- package/dist/src/gateway/file-path-classifier.js +1 -1
- package/dist/src/gateway/global-defaults-admin.js +2 -2
- package/dist/src/gateway/hono/app.js +2 -2
- package/dist/src/gateway/hono/lib/config-payload.js +2 -2
- package/dist/src/gateway/hono/oauth-async.js +1 -1
- package/dist/src/gateway/hono/routes/agent-plugins.js +1 -1
- package/dist/src/gateway/hono/routes/agents.js +1 -1
- package/dist/src/gateway/hono/routes/auth-registry-extensions.js +1 -1
- package/dist/src/gateway/hono/routes/commands-skills.js +4 -4
- package/dist/src/gateway/hono/routes/config-patch/gateway.js +1 -1
- package/dist/src/gateway/hono/routes/config-patch/misc.js +1 -1
- package/dist/src/gateway/hono/routes/connectors.js +1 -1
- package/dist/src/gateway/hono/routes/context-sources.js +1 -1
- package/dist/src/gateway/hono/routes/endpoint-tools.js +1 -1
- package/dist/src/gateway/hono/routes/home.js +1 -1
- package/dist/src/gateway/hono/routes/location-sharing.js +1 -1
- package/dist/src/gateway/hono/routes/mcp.js +1 -1
- package/dist/src/gateway/hono/routes/memory-learning.js +3 -3
- package/dist/src/gateway/hono/routes/models.js +4 -4
- package/dist/src/gateway/hono/routes/notes.js +3 -3
- package/dist/src/gateway/hono/routes/phone-dependencies.js +1 -1
- package/dist/src/gateway/hono/routes/phone-setup.js +2 -2
- package/dist/src/gateway/hono/routes/phone.js +2 -2
- package/dist/src/gateway/hono/routes/projects.js +5 -5
- package/dist/src/gateway/hono/routes/runtime-tools.js +1 -1
- package/dist/src/gateway/hono/routes/session-command-handler.js +2 -2
- package/dist/src/gateway/hono/routes/session-input-handler.js +5 -5
- package/dist/src/gateway/hono/routes/sessions.js +3 -3
- package/dist/src/gateway/hono/routes/shares.js +1 -1
- package/dist/src/gateway/hono/routes/side-chats.js +1 -1
- package/dist/src/gateway/hono/routes/tasks.js +2 -2
- package/dist/src/gateway/hono/routes/user-model.js +7 -7
- package/dist/src/gateway/hono/routes/voice.js +7 -7
- package/dist/src/gateway/image-generation-setup.js +1 -1
- package/dist/src/gateway/lock.js +11 -11
- package/dist/src/gateway/media-access.js +1 -1
- package/dist/src/gateway/mobile-privacy.js +2 -2
- package/dist/src/gateway/ports.js +6 -6
- package/dist/src/gateway/provider-model-setup.js +1 -1
- package/dist/src/gateway/server.js +1 -1
- package/dist/src/gateway/service/agent-runner.js +2 -2
- package/dist/src/gateway/service/config-coordinator.js +2 -2
- package/dist/src/gateway/service/marketplace-service.js +2 -2
- package/dist/src/gateway/service/run-gateway-agent.js +5 -5
- package/dist/src/gateway/service/session-command-service.js +2 -2
- package/dist/src/gateway/service/session-input-coordinator.js +1 -1
- package/dist/src/gateway/service.js +45 -45
- package/dist/src/gateway/session-context-summary.js +4 -4
- package/dist/src/gateway/session-reset-service.js +1 -1
- package/dist/src/gateway/workspace-editor-path.js +2 -2
- package/dist/src/gateway/xopc-cloud-capability-setup.js +4 -4
- package/dist/src/home-intelligence/generator.js +2 -2
- package/dist/src/home-intelligence/host.js +2 -2
- package/dist/src/imports/importService.js +1 -1
- package/dist/src/imports/inventory.js +2 -2
- package/dist/src/imports/productImport.js +1 -1
- package/dist/src/imports/runtime.js +1 -1
- package/dist/src/infra/gateway-processes.js +2 -2
- package/dist/src/infra/path-env.js +3 -3
- package/dist/src/infra/update-global.js +9 -9
- package/dist/src/knowledge/connected-knowledge-pipeline.js +1 -1
- package/dist/src/knowledge/index.js +1 -1
- package/dist/src/knowledge-memory/repository.js +1 -1
- package/dist/src/knowledge-memory/usage-policy.js +1 -1
- package/dist/src/local-apps/service.js +3 -3
- package/dist/src/mcp/gateway-http-client.js +1 -1
- package/dist/src/media-understanding/openai-compatible-audio.js +1 -1
- package/dist/src/memory-learning/source-learning.js +5 -5
- package/dist/src/memory-learning/task-receipts.js +1 -1
- package/dist/src/notes/agent-context.js +4 -4
- package/dist/src/notes/index.js +1 -1
- package/dist/src/notes/service.js +3 -3
- package/dist/src/personal-agent/capability-service.js +2 -2
- package/dist/src/personal-agent/proactivity/routes.js +1 -1
- package/dist/src/personal-agent/proactivity/service.js +7 -7
- package/dist/src/personal-agent/prompt-context.js +7 -7
- package/dist/src/personal-agent/prompts.js +2 -2
- package/dist/src/personal-agent/reply-composer.js +9 -9
- package/dist/src/personal-agent/request-delivery.js +2 -2
- package/dist/src/personal-agent/request-service.js +7 -7
- package/dist/src/personal-agent/result-reader.js +1 -1
- package/dist/src/personal-agent/service.js +2 -2
- package/dist/src/phone/model-adapter.js +1 -1
- package/dist/src/phone/repository.js +1 -1
- package/dist/src/phone/runtime.js +4 -4
- package/dist/src/projects/index.js +2 -2
- package/dist/src/projects/project-agent-suggestion.js +1 -1
- package/dist/src/projects/project-service.js +2 -2
- package/dist/src/projects/project-skill-service.js +2 -2
- package/dist/src/projects/workspace.js +1 -1
- package/dist/src/providers/model-reference-auditor.js +1 -1
- package/dist/src/realtime/runtime.js +1 -1
- package/dist/src/remote-access/exposure-manager.js +1 -1
- package/dist/src/runtime-tools/archive.js +1 -1
- package/dist/src/runtime-tools/phone-dependencies.js +2 -2
- package/dist/src/session/index.js +2 -2
- package/dist/src/session/init-session-turn.js +1 -1
- package/dist/src/session/resolve-session.js +1 -1
- package/dist/src/session/store.js +5 -5
- package/dist/src/session/thinking-resolve.js +1 -1
- package/dist/src/share/hosted-session-share.js +2 -2
- package/dist/src/share/session-share-service.js +1 -1
- package/dist/src/share/share-store.js +1 -1
- package/dist/src/share/share-thumbnail.js +1 -1
- package/dist/src/share/site-proxy.js +1 -1
- package/dist/src/share/site-share-store.js +1 -1
- package/dist/src/storage/sqlite/connection.js +9 -9
- package/dist/src/tasks/capabilities/read.js +2 -2
- package/dist/src/tasks/capabilities/write.js +2 -2
- package/dist/src/tasks/home-query-service.js +1 -1
- package/dist/src/tasks/index.js +5 -5
- package/dist/src/tasks/task-allocation-service.js +5 -5
- package/dist/src/tasks/task-application-service.js +5 -5
- package/dist/src/tasks/task-collaboration-delivery.js +1 -1
- package/dist/src/tasks/task-context-assembler.js +2 -2
- package/dist/src/tasks/task-contract-planner.js +2 -2
- package/dist/src/tasks/task-handoff-service.js +1 -1
- package/dist/src/tasks/task-handoff.js +4 -4
- package/dist/src/tasks/task-main-update-decision-service.js +3 -3
- package/dist/src/tasks/task-model-call.js +1 -1
- package/dist/src/tasks/task-research-result.js +4 -4
- package/dist/src/tasks/task-result-delivery-repository.js +1 -1
- package/dist/src/tasks/task-result-delivery-service.js +2 -2
- package/dist/src/tasks/task-run-coordinator.js +3 -3
- package/dist/src/tasks/task-run-dispatcher.js +1 -1
- package/dist/src/tui/backends/embedded-backend.js +12 -12
- package/dist/src/tui/backends/gateway-realtime-backend.js +2 -2
- package/dist/src/tui/extension-host/load-extensions.js +1 -1
- package/dist/src/tui/tui-commands.js +5 -5
- package/dist/src/tui/tui-picker-overlay.js +1 -1
- package/dist/src/tui/tui-skills-autocomplete.js +1 -1
- package/dist/src/tui/tui-startup-resources.js +3 -3
- package/dist/src/tui/tui.js +4 -4
- package/dist/src/tunnel/gateway-lifecycle.js +1 -1
- package/dist/src/user-context/access-policy.js +2 -2
- package/dist/src/user-model/bootstrap.js +1 -1
- package/dist/src/user-model/capture/executor.js +1 -1
- package/dist/src/user-model/index.js +2 -2
- package/dist/src/user-model/usage-policy.js +1 -1
- package/dist/src/voice/realtime/memory-context.js +5 -5
- package/dist/src/voice/realtime/omniRoute.js +1 -1
- package/dist/src/voice/realtime/persona-context.js +1 -1
- package/dist/src/voice/realtime/runtime.js +4 -4
- package/dist/src/voice/stt/index.js +2 -2
- package/dist/src/voice/stt/preflight.js +1 -1
- package/dist/src/voice/stt/providers/alibaba-transcription.js +1 -1
- package/dist/src/voice/stt/providers/bailian-plan-transcription.js +1 -1
- package/dist/src/voice/stt/providers/xopc-cloud-transcription.js +1 -1
- package/dist/src/voice/stt/transcribe-core.js +1 -1
- package/dist/src/voice/tts/index.js +3 -3
- package/dist/src/voice/tts/merge-config.js +1 -1
- package/dist/src/voice/tts/payload.js +1 -1
- package/dist/src/voice/tts/providers/bailian-plan-speech.js +1 -1
- package/dist/src/voice/tts/providers/xopc-cloud-speech.js +1 -1
- package/dist/src/voice/tts/speak-core.js +1 -1
- package/dist/src/work-discovery/service.js +7 -7
- package/package.json +1 -1
|
@@ -11,32 +11,24 @@ import "../../storage/sqlite/index.js";
|
|
|
11
11
|
import { init_agent_scope, resolveDefaultAgentId } from "../agent-scope.js";
|
|
12
12
|
import { getConversationRouting } from "../../storage/sqlite/conversation-repository.js";
|
|
13
13
|
import { init_session_key } from "../../routing/session-key.js";
|
|
14
|
-
import { buildRuntimeEnvironment } from "../../runtime-tools/environment.js";
|
|
15
|
-
import { skillEnvironmentId } from "../skills/installer.js";
|
|
16
|
-
import { resolveEffectiveAgentConfigForAgent } from "../../config/agent-profile.js";
|
|
17
|
-
import { TaskConversationRepository } from "../../tasks/task-conversation-repository.js";
|
|
18
|
-
import { BrowserRuntime } from "../../browser/runtime/browser-runtime.js";
|
|
19
|
-
import "../../../packages/browser-control-contract/src/index.js";
|
|
20
|
-
import { createBrowserDriver } from "../../browser/drivers/create-driver.js";
|
|
21
|
-
import { checkBrowserReadiness } from "../../browser/readiness.js";
|
|
22
|
-
import "../../browser/index.js";
|
|
23
|
-
import { getEmbeddedExecutionRunId, getEmbeddedExecutionSession } from "../embedded/execution-context.js";
|
|
24
|
-
import { mergeTtsConfigFromAppConfig } from "../../voice/tts/merge-config.js";
|
|
25
|
-
import { ComputerRuntime } from "../../computer/runtime.js";
|
|
26
|
-
import { wrapToolsWithProtection } from "./executor.js";
|
|
27
|
-
import { createDefaultExternalToolGatewayTools } from "../external-tools/index.js";
|
|
28
|
-
import { getPhoneRuntime, phoneExecutionContext } from "../../phone/runtime.js";
|
|
29
|
-
import { createWebFetchTool, createWebSearchTool } from "./web.js";
|
|
30
14
|
import { resolveUserContextSessionAccess } from "../../user-context/access-policy.js";
|
|
31
|
-
import {
|
|
32
|
-
import { createDataBatchTool } from "./dataBatch.js";
|
|
33
|
-
import { markCodemodeCoreRead } from "./codemode-permissions.js";
|
|
15
|
+
import { resolveEffectiveAgentConfigForAgent } from "../../config/agent-profile.js";
|
|
34
16
|
import { PERSONAL_TOOL_DESCRIPTIONS } from "../../personal-agent/policy.js";
|
|
17
|
+
import { TaskConversationRepository } from "../../tasks/task-conversation-repository.js";
|
|
35
18
|
import { PERSONAL_REQUEST_TOOL_IDS, TASK_EXECUTION_TOOL_IDS, filterExecutionTools, resolveExecutionToolPolicy } from "../embedded/execution-tool-policy.js";
|
|
19
|
+
import { getPhoneRuntime, phoneExecutionContext } from "../../phone/runtime.js";
|
|
20
|
+
import { getEmbeddedExecutionRunId, getEmbeddedExecutionSession } from "../embedded/execution-context.js";
|
|
36
21
|
import { createPhoneUseTool } from "./phone-use-tool.js";
|
|
37
22
|
import { LOCAL_READ_MAX_CHARS } from "./local-read-budget.js";
|
|
38
23
|
import { createPersonalAttentionTool } from "./personal-attention-tool.js";
|
|
39
24
|
import { withCoreToolExposure } from "./toolExposure.js";
|
|
25
|
+
import { markCodemodeCoreRead } from "./codemode-permissions.js";
|
|
26
|
+
import "../../../packages/browser-control-contract/src/index.js";
|
|
27
|
+
import { wrapToolsWithProtection } from "./executor.js";
|
|
28
|
+
import { createDefaultExternalToolGatewayTools } from "../external-tools/index.js";
|
|
29
|
+
import { buildRuntimeEnvironment } from "../../runtime-tools/environment.js";
|
|
30
|
+
import { skillEnvironmentId } from "../skills/installer.js";
|
|
31
|
+
import { createDataBatchTool } from "./dataBatch.js";
|
|
40
32
|
import { createXopcUseTool } from "./xopc-use-tool.js";
|
|
41
33
|
import { createMcpSetupTool } from "./mcp-setup-tool.js";
|
|
42
34
|
import { createReadFileTool } from "./read.js";
|
|
@@ -51,6 +43,7 @@ import { createSessionSearchTool } from "./session-search-tool.js";
|
|
|
51
43
|
import { createSessionRecallTool } from "./session-recall-tool.js";
|
|
52
44
|
import { createGrepTool } from "./grep.js";
|
|
53
45
|
import { createFindTool } from "./find.js";
|
|
46
|
+
import { createWebFetchTool, createWebSearchTool } from "./web.js";
|
|
54
47
|
import { createWebExtractTool } from "./web-extract.js";
|
|
55
48
|
import { createMessageTool } from "./communication.js";
|
|
56
49
|
import { createSendMediaTool } from "./send-media.js";
|
|
@@ -62,6 +55,11 @@ import { createUpdatePlanTool } from "./update-plan-tool.js";
|
|
|
62
55
|
import { createSessionStatusTool } from "./session-status-tool.js";
|
|
63
56
|
import { createMemoryMaintenanceTool } from "./memory-maintenance-tool.js";
|
|
64
57
|
import { createClarifyTool } from "./clarify-tool.js";
|
|
58
|
+
import { BrowserRuntime } from "../../browser/runtime/browser-runtime.js";
|
|
59
|
+
import { createBrowserDriver } from "../../browser/drivers/create-driver.js";
|
|
60
|
+
import { checkBrowserReadiness } from "../../browser/readiness.js";
|
|
61
|
+
import "../../browser/index.js";
|
|
62
|
+
import { getActiveTranscriptUserText, getPendingTranscriptUserText } from "../inbound/attachment-pipeline.js";
|
|
65
63
|
import { createDelegateTool } from "./delegate-tool.js";
|
|
66
64
|
import { createAutomationTool } from "./automation-tool.js";
|
|
67
65
|
import { createBrowserAutomationTool } from "./browser-automation-tool.js";
|
|
@@ -84,10 +82,12 @@ import { withPersonalPerformance } from "./personal-performance.js";
|
|
|
84
82
|
import { createPersonalRequestTools } from "./personal-request-tool.js";
|
|
85
83
|
import { createPersonalRequestConnectionTool, createPersonalRequestResultTool } from "./personal-request-result-tool.js";
|
|
86
84
|
import { createBrowserUseTool } from "./browser/tool/browser-use-tool.js";
|
|
85
|
+
import { ComputerRuntime } from "../../computer/runtime.js";
|
|
87
86
|
import { createComputerUseTool } from "./computer-use-tool.js";
|
|
88
87
|
import { createReviewWorkspaceTool } from "./review-workspace.js";
|
|
89
88
|
import { createLanguageDiagnosticsTool } from "./language-diagnostics.js";
|
|
90
89
|
import { createNoninteractiveToolPolicy } from "./noninteractive-tool-policy.js";
|
|
90
|
+
import { mergeTtsConfigFromAppConfig } from "../../voice/tts/merge-config.js";
|
|
91
91
|
import { createTextToSpeechTool } from "./tts-tool.js";
|
|
92
92
|
import { getAgentCapabilityToolNames } from "../capabilities/registry.js";
|
|
93
93
|
import "../capabilities/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { checkUrlSafety, checkWebsiteBlocklist } from "./url-safety.js";
|
|
2
|
-
import { Agent, fetch } from "undici";
|
|
3
2
|
import { lookup } from "node:dns";
|
|
3
|
+
import { Agent, fetch } from "undici";
|
|
4
4
|
//#region src/agent/tools/fetch-text.ts
|
|
5
5
|
/** Validate each redirect and the address actually used for the connection. */
|
|
6
6
|
async function fetchPublicText(input, blocklist, signal) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { getAgentDefaultImageGenerationModelConfig, init_schema } from "../../config/schema.js";
|
|
2
|
-
import { imageAssetFromDataUrl, imageFileExtensionForMimeType, mimeTypeFromFileName, parseImageDataUrl, sniffImageMimeType } from "../image/generation/image-assets.js";
|
|
3
|
-
import { getImageGenerationProvider } from "../image/generation/provider-registry.js";
|
|
4
2
|
import { buildCapabilityPlansForConfig } from "../../capabilities/readiness/from-config.js";
|
|
5
3
|
import "../../capabilities/readiness/index.js";
|
|
6
4
|
import { applyImageGenerationModelConfigDefaults } from "../image/image-helpers.js";
|
|
7
5
|
import { readWorkspaceFile, writeWorkspaceFile } from "../sandbox/fileAccess.js";
|
|
6
|
+
import { imageAssetFromDataUrl, imageFileExtensionForMimeType, mimeTypeFromFileName, parseImageDataUrl, sniffImageMimeType } from "../image/generation/image-assets.js";
|
|
8
7
|
import { persistToolMedia } from "./tool-media.js";
|
|
9
8
|
import { isFailoverError } from "../failover-error.js";
|
|
9
|
+
import { getImageGenerationProvider } from "../image/generation/provider-registry.js";
|
|
10
10
|
import { generateImage, listImageGenerationProvidersSummary } from "../image/generation/runtime.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { randomBytes } from "node:crypto";
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { assertBrowserUrlAllowed } from "../../browser/url-policy.js";
|
|
2
|
-
import { BrowserRuntime } from "../../browser/runtime/browser-runtime.js";
|
|
3
|
-
import "../../browser/index.js";
|
|
4
1
|
import { DEFAULT_TOOL_METADATA, getToolMetadata } from "./metadata.js";
|
|
5
2
|
import { ToolConcurrencyController, resolveToolLockMode } from "./concurrency.js";
|
|
6
|
-
import { createWebFetchTool, createWebSearchTool } from "./web.js";
|
|
7
3
|
import { resolveImageModelConfigForTool } from "../image/tool-model-config.js";
|
|
8
4
|
import { createDataBatchTool } from "./dataBatch.js";
|
|
9
5
|
import { createXopcUseTool } from "./xopc-use-tool.js";
|
|
@@ -22,6 +18,7 @@ import { createSessionSearchTool } from "./session-search-tool.js";
|
|
|
22
18
|
import { createSessionRecallTool } from "./session-recall-tool.js";
|
|
23
19
|
import { createGrepTool, grepTool } from "./grep.js";
|
|
24
20
|
import { createFindTool, findTool } from "./find.js";
|
|
21
|
+
import { createWebFetchTool, createWebSearchTool } from "./web.js";
|
|
25
22
|
import { DEFAULT_WEB_EXTRACT_MAX_LENGTH, MAX_RAW_HTML_CHARS_FOR_WEB_EXTRACT, createWebExtractTool, stripHtmlBoilerplate } from "./web-extract.js";
|
|
26
23
|
import { createMessageTool } from "./communication.js";
|
|
27
24
|
import { createSendMediaTool } from "./send-media.js";
|
|
@@ -33,6 +30,9 @@ import { createUpdatePlanTool } from "./update-plan-tool.js";
|
|
|
33
30
|
import { createSessionStatusTool } from "./session-status-tool.js";
|
|
34
31
|
import { createMemoryMaintenanceTool } from "./memory-maintenance-tool.js";
|
|
35
32
|
import { createClarifyTool } from "./clarify-tool.js";
|
|
33
|
+
import { assertBrowserUrlAllowed } from "../../browser/url-policy.js";
|
|
34
|
+
import { BrowserRuntime } from "../../browser/runtime/browser-runtime.js";
|
|
35
|
+
import "../../browser/index.js";
|
|
36
36
|
import { DEFAULT_DELEGATE_TOOLS, DELEGATE_BLOCKED_TOOLS, createDelegateTool } from "./delegate-tool.js";
|
|
37
37
|
import { createAutomationTool } from "./automation-tool.js";
|
|
38
38
|
import { createBrowserAutomationTool } from "./browser-automation-tool.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolvePathUnderWorkspace } from "./tool-paths.js";
|
|
2
1
|
import { checkedFilePath } from "../sandbox/fileAccess.js";
|
|
2
|
+
import { resolvePathUnderWorkspace } from "./tool-paths.js";
|
|
3
3
|
import { readdir } from "fs/promises";
|
|
4
4
|
import { Type } from "@sinclair/typebox";
|
|
5
5
|
//#region src/agent/tools/list-dir.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { getSqliteDatabase, init_transaction } from "../../storage/sqlite/transaction.js";
|
|
2
2
|
import { init_session_instance_repository, readCurrentTranscriptId } from "../../storage/sqlite/session-instance-repository.js";
|
|
3
|
-
import { getPersonalAgentByConversation } from "../../personal-agent/repository.js";
|
|
4
3
|
import { resolveUserContextSessionAccess } from "../../user-context/access-policy.js";
|
|
4
|
+
import { getPersonalAgentByConversation } from "../../personal-agent/repository.js";
|
|
5
|
+
import { boundedPersonalResult } from "./personal-result-budget.js";
|
|
5
6
|
import { parseLocalCheckTime } from "../../personal-agent/proactivity/follow-up-request.js";
|
|
6
7
|
import { applyThreadFeedback, getAttention, getProactivitySettings, listAttention, listInterestCandidates, patchAttention, patchProactivitySettings, rollbackStrategy, saveAttention, strategyState, userText } from "../../personal-agent/proactivity/repository.js";
|
|
7
|
-
import { boundedPersonalResult } from "./personal-result-budget.js";
|
|
8
8
|
import { Type } from "@sinclair/typebox";
|
|
9
9
|
//#region src/agent/tools/personal-attention-tool.ts
|
|
10
10
|
init_transaction();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CapabilityDispatcher } from "../../capabilities/runtime/dispatcher.js";
|
|
2
1
|
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
3
2
|
import { getEmbeddedExecutionSession } from "../embedded/execution-context.js";
|
|
4
3
|
import { LOCAL_READ_MAX_CHARS } from "./local-read-budget.js";
|
|
4
|
+
import { CapabilityDispatcher } from "../../capabilities/runtime/dispatcher.js";
|
|
5
5
|
import { registerNoteReadCapabilities } from "../../notes/capabilities/read.js";
|
|
6
6
|
import { registerProjectReadCapabilities } from "../../projects/capabilities/read.js";
|
|
7
7
|
import { registerAutomationReadCapabilities } from "../../automations/capabilities/read.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { getSqliteDatabase, init_transaction, runSqliteWriteTransaction } from "../../storage/sqlite/transaction.js";
|
|
2
2
|
import { TaskRunRepository, init_task_run_repository } from "../../tasks/task-run-repository.js";
|
|
3
3
|
import { init_request_repository, personalRequestForExecution } from "../../personal-agent/request-repository.js";
|
|
4
|
+
import { assertPersonalRequestAccountAccess } from "../../personal-agent/request-access.js";
|
|
4
5
|
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
5
6
|
import { selectionRequestHash } from "../../agent-matching/selection-repository.js";
|
|
6
7
|
import { PersonalRequestResultSchema } from "../../personal-agent/request-result.js";
|
|
7
|
-
import { assertPersonalRequestAccountAccess } from "../../personal-agent/request-access.js";
|
|
8
8
|
import { Type } from "@sinclair/typebox";
|
|
9
9
|
//#region src/agent/tools/personal-request-result-tool.ts
|
|
10
10
|
init_transaction();
|
|
@@ -5,13 +5,13 @@ import { getPersonalRequest, init_request_repository, listPersonalRequests, upda
|
|
|
5
5
|
import { getActiveConnectionWait, init_connection_wait_repository, reviseCurrentConnectionObjective, updateConnectionWait } from "../../storage/sqlite/connection-wait-repository.js";
|
|
6
6
|
import { getSessionMetadata } from "../../storage/sqlite/session-read-repository.js";
|
|
7
7
|
import { init_session_repository } from "../../storage/sqlite/session-repository.js";
|
|
8
|
-
import { TaskAllocationRepository } from "../../tasks/task-allocation-repository.js";
|
|
9
8
|
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
10
|
-
import {
|
|
11
|
-
import { personalCapabilities } from "../../personal-agent/capability-service.js";
|
|
12
|
-
import { assertPersonalRequestTimeRange, cancelPersonalRequest, personalRequestSnapshot, publishPersonalRequest, stopPersonalRequestExecution, submitPersonalRequest } from "../../personal-agent/request-service.js";
|
|
9
|
+
import { TaskAllocationRepository } from "../../tasks/task-allocation-repository.js";
|
|
13
10
|
import { boundedPersonalResult } from "./personal-result-budget.js";
|
|
11
|
+
import { personalCapabilities } from "../../personal-agent/capability-service.js";
|
|
12
|
+
import { selectionRequestHash } from "../../agent-matching/selection-repository.js";
|
|
14
13
|
import { createPersonalTaskTool } from "./personal-task-tool.js";
|
|
14
|
+
import { assertPersonalRequestTimeRange, cancelPersonalRequest, personalRequestSnapshot, publishPersonalRequest, stopPersonalRequestExecution, submitPersonalRequest } from "../../personal-agent/request-service.js";
|
|
15
15
|
import { Type } from "@sinclair/typebox";
|
|
16
16
|
//#region src/agent/tools/personal-request-tool.ts
|
|
17
17
|
init_session_input_repository();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
2
2
|
import { readPersonalResult, retryPersonalResultDelivery } from "../../personal-agent/result-reader.js";
|
|
3
|
-
import { waitForPersonalResult } from "../../personal-agent/result-read-continuations.js";
|
|
4
3
|
import "./local-read-budget.js";
|
|
4
|
+
import { waitForPersonalResult } from "../../personal-agent/result-read-continuations.js";
|
|
5
5
|
import { Type } from "@sinclair/typebox";
|
|
6
6
|
//#region src/agent/tools/personal-result-tool.ts
|
|
7
7
|
const schema = Type.Object({
|
|
@@ -7,20 +7,20 @@ import { TaskRepository, init_task_repository } from "../../tasks/task-repositor
|
|
|
7
7
|
import { getPersonalRequest, init_request_repository } from "../../personal-agent/request-repository.js";
|
|
8
8
|
import { getSessionMetadata } from "../../storage/sqlite/session-read-repository.js";
|
|
9
9
|
import "../../storage/sqlite/index.js";
|
|
10
|
+
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
10
11
|
import { TaskAllocationRepository } from "../../tasks/task-allocation-repository.js";
|
|
11
12
|
import { TaskReadModelProjector } from "../../tasks/task-read-model-projector.js";
|
|
12
|
-
import { isPersonalConversation } from "../../personal-agent/repository.js";
|
|
13
13
|
import { TaskOriginRepository } from "../../tasks/task-origin-repository.js";
|
|
14
|
+
import { boundedPersonalResult } from "./personal-result-budget.js";
|
|
14
15
|
import { parseTaskHandoffReferences } from "../../tasks/task-handoff.js";
|
|
15
16
|
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
16
17
|
import { TaskApplicationService } from "../../tasks/task-application-service.js";
|
|
17
|
-
import
|
|
18
|
+
import "../../personal-agent/communication.js";
|
|
18
19
|
import { getAvailablePersonalAgentTools, personalAgentModelAvailability } from "../../personal-agent/specialist-capabilities.js";
|
|
19
20
|
import { assessSpecialist, matchSpecialists } from "../../agent-matching/service.js";
|
|
20
|
-
import { assertSpecialistEligible, createSelectedTask } from "../../agent-matching/delegation-service.js";
|
|
21
|
-
import "../../personal-agent/communication.js";
|
|
22
|
-
import { boundedPersonalResult } from "./personal-result-budget.js";
|
|
23
21
|
import { createXopcUseTool } from "./xopc-use-tool.js";
|
|
22
|
+
import { AgentSelectionRepository, selectionRequestHash } from "../../agent-matching/selection-repository.js";
|
|
23
|
+
import { assertSpecialistEligible, createSelectedTask } from "../../agent-matching/delegation-service.js";
|
|
24
24
|
import { cancelPersonalTask } from "../../personal-agent/task-cancel.js";
|
|
25
25
|
import { randomUUID } from "node:crypto";
|
|
26
26
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PhoneError, PhoneInputSchema, init_contracts } from "../../phone/contracts.js";
|
|
2
|
-
import { getEmbeddedExecutionRunId } from "../embedded/execution-context.js";
|
|
3
2
|
import { cancelPhoneAssistance, phoneResumeForRun, requirePhoneAssistance } from "../../phone/assistance.js";
|
|
3
|
+
import { getEmbeddedExecutionRunId } from "../embedded/execution-context.js";
|
|
4
4
|
import { Type } from "@sinclair/typebox";
|
|
5
5
|
//#region src/agent/tools/phone-use-tool.ts
|
|
6
6
|
init_contracts();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { turnOutcomeKindFromFileName, turnOutcomeMimeTypeFromFileName } from "../../../packages/gateway-contract/src/turn-outcome.js";
|
|
2
2
|
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
3
3
|
import { fileResourceId, fileSpaceId } from "../../files/file-service.js";
|
|
4
|
-
import { resolvePathUnderWorkspace } from "./tool-paths.js";
|
|
5
4
|
import { evaluateFilePolicy } from "../sandbox/exec-policy.js";
|
|
6
5
|
import { readWorkspaceFile } from "../sandbox/fileAccess.js";
|
|
6
|
+
import { resolvePathUnderWorkspace } from "./tool-paths.js";
|
|
7
7
|
import { persistToolMedia } from "./tool-media.js";
|
|
8
8
|
import { basename, isAbsolute, relative, sep } from "node:path";
|
|
9
9
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { isBareProfileMarkdownFileName, resolvePathUnderWorkspace, resolveProfileMarkdownPathIfBareName } from "./tool-paths.js";
|
|
2
1
|
import { checkedFilePath, readWorkspaceFileAsync } from "../sandbox/fileAccess.js";
|
|
3
2
|
import { checkFileSafety } from "../prompt/safety.js";
|
|
4
3
|
import { dataScheduler } from "../data-acquisition/scheduler.js";
|
|
5
4
|
import { formatSize, truncateHead } from "./truncate.js";
|
|
5
|
+
import { isBareProfileMarkdownFileName, resolvePathUnderWorkspace, resolveProfileMarkdownPathIfBareName } from "./tool-paths.js";
|
|
6
6
|
import { stat } from "fs/promises";
|
|
7
7
|
import { Type } from "@sinclair/typebox";
|
|
8
8
|
//#region src/agent/tools/read.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { prepareSafeToolEnv } from "../sandbox/sanitize-env-vars.js";
|
|
2
1
|
import { readWorkspaceRevision } from "../coding/workspace-revision.js";
|
|
2
|
+
import { prepareSafeToolEnv } from "../sandbox/sanitize-env-vars.js";
|
|
3
3
|
import { evaluateFilePolicy } from "../sandbox/exec-policy.js";
|
|
4
4
|
import { checkedFilePath, readWorkspaceFile } from "../sandbox/fileAccess.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { turnOutcomeKindFromFileName } from "../../../packages/gateway-contract/src/turn-outcome.js";
|
|
2
2
|
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
3
3
|
import { MEDIA_MAX_BYTES } from "../../media/store.js";
|
|
4
|
-
import { resolvePathUnderWorkspace } from "./tool-paths.js";
|
|
5
4
|
import { readWorkspaceFile } from "../sandbox/fileAccess.js";
|
|
6
5
|
import { checkFileSafety } from "../prompt/safety.js";
|
|
6
|
+
import { resolvePathUnderWorkspace } from "./tool-paths.js";
|
|
7
7
|
import { persistToolMedia } from "./tool-media.js";
|
|
8
8
|
import { basename } from "node:path";
|
|
9
9
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { resolveStateDir } from "../../config/paths-state.js";
|
|
2
2
|
import { init_paths } from "../../config/paths.js";
|
|
3
|
+
import { removeSkillsLockEntry } from "../skills/hub-lock.js";
|
|
3
4
|
import { hasBinary } from "../skills/installer.js";
|
|
4
5
|
import { createSkillConfigManager, getSkillEnvironment, isSkillEnabled, resolveSkillConfig } from "../skills/config.js";
|
|
5
6
|
import { resolveWorkspaceSkillsDir, resolveWorkspaceSkillsLockPath } from "../skills/workspace-skills-dir.js";
|
|
6
|
-
import { removeSkillsLockEntry } from "../skills/hub-lock.js";
|
|
7
7
|
import { applyPatchToContent, atomicWriteUtf8, effectiveAgentWritePolicy, ensureCategorySegment, isPathInsideDir, maxSkillMdChars, maxSupportFileBytes, mutatableSkillOrNull, resolveCreateSkillDir, scanSkillDirOrError, validateSkillMdContent, validateSkillNameSegment, validateSupportingRelativePath } from "../skills/skill-manage-ops.js";
|
|
8
8
|
import { join } from "path";
|
|
9
9
|
import { existsSync, rmSync } from "fs";
|
|
@@ -6,10 +6,10 @@ import { init_request_repository, personalRequestForExecution } from "../../pers
|
|
|
6
6
|
import { getSessionMetadata } from "../../storage/sqlite/session-read-repository.js";
|
|
7
7
|
import { init_session_repository } from "../../storage/sqlite/session-repository.js";
|
|
8
8
|
import { TaskReadModelProjector } from "../../tasks/task-read-model-projector.js";
|
|
9
|
-
import { assertTaskHandoffAccess, assertTaskHandoffExecutorAccess, getTaskHandoff, materializeTaskHandoffFile, readTaskHandoffSource } from "../../tasks/task-handoff.js";
|
|
10
|
-
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
11
9
|
import { TaskConversationRepository } from "../../tasks/task-conversation-repository.js";
|
|
12
10
|
import { getEmbeddedExecutionSession } from "../embedded/execution-context.js";
|
|
11
|
+
import { assertTaskHandoffAccess, assertTaskHandoffExecutorAccess, getTaskHandoff, materializeTaskHandoffFile, readTaskHandoffSource } from "../../tasks/task-handoff.js";
|
|
12
|
+
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
13
13
|
import { taskResearchEvidence } from "../../tasks/task-research-result.js";
|
|
14
14
|
import { createXopcUseTool } from "./xopc-use-tool.js";
|
|
15
15
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createLogger } from "../../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../../utils/logger.js";
|
|
3
|
+
import { speak } from "../../voice/tts/speak-core.js";
|
|
3
4
|
import { mergeTtsConfigFromAppConfig } from "../../voice/tts/merge-config.js";
|
|
4
5
|
import { getChannelOutputFormat } from "../../voice/tts/service.js";
|
|
5
|
-
import { speak } from "../../voice/tts/speak-core.js";
|
|
6
6
|
import { compressAudio } from "../../voice/tts/audio.js";
|
|
7
7
|
import { persistOutboundTtsAudio } from "../../channels/attachments/outbound-tts-persist.js";
|
|
8
8
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { projectForgottenEvidence } from "../../memory-learning/forgotten-history.js";
|
|
1
2
|
import { deleteUserAssertion, getAssertionSlot, getUserAssertion, listUserAssertionSources, listUserAssertions, reconcileAssertion, setAssertionStatus } from "../../user-model/repository.js";
|
|
2
3
|
import { canUseAssertion } from "../../user-model/usage-policy.js";
|
|
3
4
|
import "../../user-model/index.js";
|
|
4
|
-
import { retrievalLexicalSimilarity } from "../../retrieval/textFeatures.js";
|
|
5
|
-
import { projectForgottenEvidence } from "../../memory-learning/forgotten-history.js";
|
|
6
5
|
import "./local-read-budget.js";
|
|
6
|
+
import { retrievalLexicalSimilarity } from "../../retrieval/textFeatures.js";
|
|
7
7
|
import { Type } from "@sinclair/typebox";
|
|
8
8
|
//#region src/agent/tools/user-context-tool.ts
|
|
9
9
|
const SearchSchema = Type.Object({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { fetchPublicText } from "./fetch-text.js";
|
|
2
1
|
import { SearchError, classifySearchError, searchFailureInfo } from "./search/errors.js";
|
|
3
2
|
import { SearchProviderRegistry } from "./search/registry.js";
|
|
4
3
|
import { resolveWebSearchConfig } from "./search/resolve-config.js";
|
|
5
4
|
import { sanitizeSearchInfo } from "./search/search-info.js";
|
|
5
|
+
import { fetchPublicText } from "./fetch-text.js";
|
|
6
6
|
import { Type } from "@sinclair/typebox";
|
|
7
7
|
//#region src/agent/tools/web.ts
|
|
8
8
|
const WebSearchSchema = Type.Object({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { appendProductDeliveryText } from "../../../packages/gateway-contract/src/product-delivery.js";
|
|
2
2
|
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
3
3
|
import { fileResourceId, fileSpaceId } from "../../files/file-service.js";
|
|
4
|
-
import { isBareProfileMarkdownFileName, resolvePathUnderWorkspace, resolveProfileMarkdownPathIfBareName } from "./tool-paths.js";
|
|
5
4
|
import { writeWorkspaceFile } from "../sandbox/fileAccess.js";
|
|
6
5
|
import { checkFileSafety } from "../prompt/safety.js";
|
|
6
|
+
import { isBareProfileMarkdownFileName, resolvePathUnderWorkspace, resolveProfileMarkdownPathIfBareName } from "./tool-paths.js";
|
|
7
7
|
import { basename, relative, sep } from "path";
|
|
8
8
|
import { realpath } from "fs/promises";
|
|
9
9
|
import { Type } from "@sinclair/typebox";
|
|
@@ -11,30 +11,30 @@ import { TaskRunRepository } from "../../tasks/task-run-repository.js";
|
|
|
11
11
|
import { getSessionMetadata } from "../../storage/sqlite/session-read-repository.js";
|
|
12
12
|
import "../../storage/sqlite/index.js";
|
|
13
13
|
import "../../activity/index.js";
|
|
14
|
-
import {
|
|
15
|
-
import "../../capabilities/runtime/dispatcher.js";
|
|
14
|
+
import { getDefaultAgentId, init_resolve_route } from "../../routing/resolve-route.js";
|
|
16
15
|
import { hasUnlocalizedTaskText, resolveTaskLocale } from "../../tasks/task-language.js";
|
|
17
16
|
import { TaskReadModelProjector } from "../../tasks/task-read-model-projector.js";
|
|
18
17
|
import { TaskOriginRepository } from "../../tasks/task-origin-repository.js";
|
|
19
|
-
import { getDefaultAgentId, init_resolve_route } from "../../routing/resolve-route.js";
|
|
20
|
-
import { resolveProjectAgentId } from "../../projects/project-agent.js";
|
|
21
|
-
import "../../projects/index.js";
|
|
22
|
-
import { parseTaskHandoffReferences } from "../../tasks/task-handoff.js";
|
|
23
|
-
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
24
18
|
import { TaskConversationRepository } from "../../tasks/task-conversation-repository.js";
|
|
25
|
-
import {
|
|
19
|
+
import { CapabilityError } from "../../capabilities/runtime/errors.js";
|
|
26
20
|
import { getAutomationSetup } from "../../automations/configuration-conversation.js";
|
|
27
|
-
import { AutomationMcpSourceInput, prepareAutomationMcpSource } from "../../automations/mcp-source.js";
|
|
28
21
|
import { getEmbeddedExecutionRunId } from "../embedded/execution-context.js";
|
|
29
|
-
import
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
22
|
+
import "../../capabilities/runtime/dispatcher.js";
|
|
23
|
+
import { AutomationMcpSourceInput, prepareAutomationMcpSource } from "../../automations/mcp-source.js";
|
|
24
|
+
import { resolveProjectAgentId } from "../../projects/project-agent.js";
|
|
32
25
|
import { TaskDeletionService } from "../../tasks/task-deletion-service.js";
|
|
33
26
|
import { TaskDeleteOutputSchema } from "../../tasks/capabilities/management.js";
|
|
27
|
+
import "../../projects/index.js";
|
|
28
|
+
import { parseTaskHandoffReferences } from "../../tasks/task-handoff.js";
|
|
29
|
+
import { TaskCollaborationRepository } from "../../tasks/task-collaboration-repository.js";
|
|
30
|
+
import { TaskApplicationService } from "../../tasks/task-application-service.js";
|
|
34
31
|
import { AutomationCreateCapabilityInputSchema, AutomationUpdatePatchSchema } from "../../automations/capabilities/write.js";
|
|
32
|
+
import { resolveResponseLanguageForSession } from "../prompt/response-language.js";
|
|
35
33
|
import { TaskMutationOutputSchema } from "../../tasks/capabilities/write.js";
|
|
36
34
|
import { createProductDispatcher } from "../../capabilities/runtime/product.js";
|
|
37
35
|
import { localAppCapabilities } from "../../local-apps/capabilities/runtime.js";
|
|
36
|
+
import { getDelegationScope } from "../orchestration/delegation-scope.js";
|
|
37
|
+
import { defineTaskContract } from "../../tasks/task-contract-definition.js";
|
|
38
38
|
import "../../tasks/index.js";
|
|
39
39
|
import { randomUUID } from "node:crypto";
|
|
40
40
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { extractToolCallsFromAssistant, extractToolResultId, sanitizeToolCallId, sanitizeToolCallIdsForCloudCodeAssist } from "./tool-call-id.js";
|
|
2
|
-
import { makeMissingToolResult, repairToolUseResultPairing, sanitizeToolCallInputs, sanitizeToolUseResultPairing, stripToolResultDetails } from "./session-transcript-repair.js";
|
|
3
1
|
import { resolveTranscriptPolicy } from "./transcript-policy.js";
|
|
4
2
|
import { dropThinkingBlocks } from "./thinking.js";
|
|
3
|
+
import { extractToolCallsFromAssistant, extractToolResultId, sanitizeToolCallId, sanitizeToolCallIdsForCloudCodeAssist } from "./tool-call-id.js";
|
|
4
|
+
import { makeMissingToolResult, repairToolUseResultPairing, sanitizeToolCallInputs, sanitizeToolUseResultPairing, stripToolResultDetails } from "./session-transcript-repair.js";
|
|
5
5
|
import { applySessionTranscriptHygiene, applySessionTranscriptHygieneForPersistence, applySessionTranscriptHygieneWithPolicy, resolvePolicyForModel, tryApplySessionTranscriptHygiene, tryApplySessionTranscriptHygieneForPersistence } from "./transcript-hygiene.js";
|
|
6
6
|
import { stripToolMessages } from "./strip-tool-messages.js";
|
|
7
7
|
export { applySessionTranscriptHygiene, applySessionTranscriptHygieneForPersistence, applySessionTranscriptHygieneWithPolicy, dropThinkingBlocks, extractToolCallsFromAssistant, extractToolResultId, makeMissingToolResult, repairToolUseResultPairing, resolvePolicyForModel, resolveTranscriptPolicy, sanitizeToolCallId, sanitizeToolCallIdsForCloudCodeAssist, sanitizeToolCallInputs, sanitizeToolUseResultPairing, stripToolMessages, stripToolResultDetails, tryApplySessionTranscriptHygiene, tryApplySessionTranscriptHygieneForPersistence };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createLogger } from "../../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../../utils/logger.js";
|
|
3
|
-
import { sanitizeToolCallIdsForCloudCodeAssist } from "./tool-call-id.js";
|
|
4
|
-
import { sanitizeToolCallInputs, sanitizeToolUseResultPairing, stripToolResultDetails } from "./session-transcript-repair.js";
|
|
5
3
|
import { resolveTranscriptPolicy } from "./transcript-policy.js";
|
|
6
4
|
import { dropThinkingBlocks } from "./thinking.js";
|
|
5
|
+
import { sanitizeToolCallIdsForCloudCodeAssist } from "./tool-call-id.js";
|
|
6
|
+
import { sanitizeToolCallInputs, sanitizeToolUseResultPairing, stripToolResultDetails } from "./session-transcript-repair.js";
|
|
7
7
|
//#region src/agent/transcript/transcript-hygiene.ts
|
|
8
8
|
init_logger();
|
|
9
9
|
const log = createLogger("transcript-hygiene");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AgentEntrySchema, AgentProfileSchema, EffectiveAgentConfigSchema } from "../agent-config/schema.js";
|
|
2
2
|
import { resolveEffectiveAgentConfig } from "../agent-config/resolver.js";
|
|
3
3
|
import { init_agent_config } from "../agent-config/index.js";
|
|
4
|
-
import { CapabilityError } from "../capabilities/runtime/errors.js";
|
|
5
|
-
import { defineAtomicCapability, defineReadCapability } from "../capabilities/runtime/dispatcher.js";
|
|
6
4
|
import { AgentCatalogRepository, init_repository } from "./repository.js";
|
|
7
5
|
import { init_agent_scope, resolveAgentWorkspaceDir } from "../agent/agent-scope.js";
|
|
6
|
+
import { CapabilityError } from "../capabilities/runtime/errors.js";
|
|
7
|
+
import { defineAtomicCapability, defineReadCapability } from "../capabilities/runtime/dispatcher.js";
|
|
8
8
|
import { AgentCatalogService } from "./service.js";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
//#region src/agent-catalog/capabilities.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { getSqliteDatabase, init_transaction, runSqliteWriteTransaction } from "../storage/sqlite/transaction.js";
|
|
3
|
+
import { DEFAULT_AGENT_ID, init_id, normalizeAgentId } from "./id.js";
|
|
3
4
|
import { AgentDefaultsSchema, AgentEntrySchema, DEFAULT_AGENT_MODEL_REF, DEFAULT_SKILL_POLICY } from "../agent-config/schema.js";
|
|
4
5
|
import { init_agent_config } from "../agent-config/index.js";
|
|
5
|
-
import { DEFAULT_AGENT_ID, init_id, normalizeAgentId } from "./id.js";
|
|
6
6
|
import { BindingsSchema, init_binding_schema } from "../routing/binding-schema.js";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
//#region src/agent-catalog/repository.ts
|
|
@@ -4,8 +4,8 @@ import { afterSqliteCommit, init_transaction, runSqliteWriteTransaction } from "
|
|
|
4
4
|
import { TaskRunRepository, init_task_run_repository } from "../tasks/task-run-repository.js";
|
|
5
5
|
import { TaskReadModelProjector } from "../tasks/task-read-model-projector.js";
|
|
6
6
|
import { TaskApplicationService } from "../tasks/task-application-service.js";
|
|
7
|
-
import { AgentSelectionRepository, selectionRequestHash } from "./selection-repository.js";
|
|
8
7
|
import { assessSpecialist } from "./service.js";
|
|
8
|
+
import { AgentSelectionRepository, selectionRequestHash } from "./selection-repository.js";
|
|
9
9
|
//#region src/agent-matching/delegation-service.ts
|
|
10
10
|
init_logger();
|
|
11
11
|
init_transaction();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createLogger } from "../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../utils/logger.js";
|
|
3
3
|
import { getDefaultModelSync, init_providers, resolveModel } from "../providers/index.js";
|
|
4
|
-
import { getAssistantMessageErrorReason, stripCodeFences } from "../providers/model-response.js";
|
|
5
4
|
import { createResolvedModelStream, isLocalModelBaseUrl, resolveModelCallApiKey } from "../providers/model-call.js";
|
|
5
|
+
import { getAssistantMessageErrorReason, stripCodeFences } from "../providers/model-response.js";
|
|
6
6
|
//#region src/ai-assist/text-assist.ts
|
|
7
7
|
init_providers();
|
|
8
8
|
init_logger();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
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
|
-
import { init_paths, resolveAgentAuthProfilesPath, resolveAuthProfilesPath, resolveCredentialsDir, resolveOAuthPath } from "../config/paths.js";
|
|
5
4
|
import { init_write_file_atomic, writeTextAtomic } from "../infra/write-file-atomic.js";
|
|
5
|
+
import { init_paths, resolveAgentAuthProfilesPath, resolveAuthProfilesPath, resolveCredentialsDir, resolveOAuthPath } from "../config/paths.js";
|
|
6
6
|
import { assertCurrentModelProvider, init_provider_policy } from "../providers/provider-policy.js";
|
|
7
7
|
import { getApiKeyFromEnv, init_env_keys } from "../providers/env-keys.js";
|
|
8
8
|
import { init_oauth_provider_lock, withOAuthProviderLock } from "./oauth-provider-lock.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { init_paths, resolveCredentialsDir } from "../../config/paths.js";
|
|
3
2
|
import { init_write_file_atomic, writeTextAtomic } from "../../infra/write-file-atomic.js";
|
|
3
|
+
import { init_paths, resolveCredentialsDir } from "../../config/paths.js";
|
|
4
4
|
import { init_oauth_provider_lock, withOAuthProviderLock } from "../oauth-provider-lock.js";
|
|
5
5
|
import { init_register_bundled_oauth_flows, registerBundledOAuthFlows } from "../../providers/register-bundled-oauth-flows.js";
|
|
6
6
|
import { join } from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { init_resolution, resolveConnectedPlatformEndpoint } from "../../platform/resolution.js";
|
|
3
2
|
import { generatePKCE, init_pkce } from "./pkce.js";
|
|
3
|
+
import { init_resolution, resolveConnectedPlatformEndpoint } from "../../platform/resolution.js";
|
|
4
4
|
import { hostname } from "node:os";
|
|
5
5
|
import { randomBytes } from "node:crypto";
|
|
6
6
|
import http from "node:http";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_paths, resolveCredentialsDir } from "../../config/paths.js";
|
|
2
1
|
import { init_write_file_atomic, writeTextAtomicSync } from "../../infra/write-file-atomic.js";
|
|
2
|
+
import { init_paths, resolveCredentialsDir } from "../../config/paths.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { chmodSync, existsSync, mkdirSync, readFileSync } from "node:fs";
|
|
5
5
|
//#region src/auth/profiles/store.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AutomationCancelOutputSchema, AutomationDeleteOutputSchema, AutomationMutationOutputSchema, AutomationReadAllOutputSchema, AutomationReadOutputSchema, AutomationRunMutationOutputSchema, ProductReadContracts } from "../../../packages/gateway-contract/src/capabilities.js";
|
|
2
2
|
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
3
|
-
import { CapabilityError } from "../../capabilities/runtime/errors.js";
|
|
4
|
-
import "../../capabilities/runtime/dispatcher.js";
|
|
5
3
|
import { init_agent_scope, resolveDefaultAgentId } from "../../agent/agent-scope.js";
|
|
4
|
+
import { CapabilityError } from "../../capabilities/runtime/errors.js";
|
|
6
5
|
import { getAutomationSetup, openAutomationConfiguration } from "../configuration-conversation.js";
|
|
6
|
+
import "../../capabilities/runtime/dispatcher.js";
|
|
7
7
|
import { createProductDispatcher } from "../../capabilities/runtime/product.js";
|
|
8
8
|
import { capabilityHttpContext, capabilityHttpError } from "../../capabilities/adapters/http.js";
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
@@ -3,10 +3,10 @@ import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
|
3
3
|
import { resolveAutomationSafetyForTrust } from "../../user-context/trust-policy.js";
|
|
4
4
|
import { getUserTrustPolicy } from "../../storage/sqlite/user-trust-repository.js";
|
|
5
5
|
import "../../storage/sqlite/index.js";
|
|
6
|
+
import { init_agent_scope, resolveDefaultAgentId } from "../../agent/agent-scope.js";
|
|
6
7
|
import { CapabilityError } from "../../capabilities/runtime/errors.js";
|
|
7
8
|
import { ExternalEffectNotAppliedError } from "../../capabilities/runtime/external-operations.js";
|
|
8
9
|
import { defineExternalCapability, defineReadCapability } from "../../capabilities/runtime/dispatcher.js";
|
|
9
|
-
import { init_agent_scope, resolveDefaultAgentId } from "../../agent/agent-scope.js";
|
|
10
10
|
import { AutomationCreateCapabilityInputSchema, materializeAutomationTrigger } from "./write.js";
|
|
11
11
|
import { simulateAutomation } from "../draft/automation-draft-validator.js";
|
|
12
12
|
import { AutomationDraftService } from "../draft/automation-draft-service.js";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AutomationCancelOutputSchema, AutomationDeleteInputSchema, AutomationDeleteOutputSchema, AutomationMutationOutputSchema, AutomationReadAllInputSchema, AutomationReadAllOutputSchema, AutomationReadOutputSchema, AutomationRecoveryOutputSchema, AutomationReplayEventInputSchema, AutomationRetryDeliveryInputSchema, AutomationRunMutationOutputSchema, AutomationSetEnabledInputSchema, CapabilityResourceInputSchema } from "../../../packages/gateway-contract/src/capabilities.js";
|
|
2
2
|
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
3
3
|
import { CapabilityError } from "../../capabilities/runtime/errors.js";
|
|
4
|
-
import { defineAtomicCapability } from "../../capabilities/runtime/dispatcher.js";
|
|
5
4
|
import { AutomationTriggerSchema, CreateAutomationSchema, UpdateAutomationSchema } from "../domain/validation.js";
|
|
6
5
|
import { getAutomation } from "../storage/automation-repository.js";
|
|
7
6
|
import { getAutomationRun, markAllAutomationRunsRead, markAutomationRunRead } from "../storage/automation-run-repository.js";
|
|
@@ -9,6 +8,7 @@ import "../storage/index.js";
|
|
|
9
8
|
import { getAutomationEventForRun } from "../events/event-repository.js";
|
|
10
9
|
import "../events/index.js";
|
|
11
10
|
import { assertAutomationSetupTarget, bindAutomationSetup } from "../configuration-conversation.js";
|
|
11
|
+
import { defineAtomicCapability } from "../../capabilities/runtime/dispatcher.js";
|
|
12
12
|
import { AutomationAlreadyExistsError, AutomationAlreadyRunningError, AutomationInvalidAgentError, AutomationInvalidScheduleError, AutomationInvalidSourceError } from "../service/automation-service.js";
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
//#region src/automations/capabilities/write.ts
|
|
@@ -3,9 +3,9 @@ import { getSqliteDatabase, init_transaction, runSqliteWriteTransaction } from "
|
|
|
3
3
|
import { getSessionMetadata } from "../storage/sqlite/session-read-repository.js";
|
|
4
4
|
import { init_session_repository, patchSessionMetadata } from "../storage/sqlite/session-repository.js";
|
|
5
5
|
import "../storage/sqlite/index.js";
|
|
6
|
-
import { CapabilityError } from "../capabilities/runtime/errors.js";
|
|
7
6
|
import { init_agent_scope, listAgentEntries } from "../agent/agent-scope.js";
|
|
8
7
|
import { createConversation, init_conversation_repository } from "../storage/sqlite/conversation-repository.js";
|
|
8
|
+
import { CapabilityError } from "../capabilities/runtime/errors.js";
|
|
9
9
|
import { getAutomation } from "./storage/automation-repository.js";
|
|
10
10
|
import { getAutomationRun, listAutomationRuns } from "./storage/automation-run-repository.js";
|
|
11
11
|
import { listAutomationResultDeliveries } from "./delivery/delivery-router.js";
|
|
@@ -2,9 +2,9 @@ import { createLogger } from "../../utils/logger/index.js";
|
|
|
2
2
|
import { init_logger } from "../../utils/logger.js";
|
|
3
3
|
import { getSqliteDatabase, init_transaction, runSqliteWriteTransaction } from "../../storage/sqlite/transaction.js";
|
|
4
4
|
import { getAutomationRun } from "../storage/automation-run-repository.js";
|
|
5
|
+
import { assertUrlSafe } from "../../agent/tools/url-safety.js";
|
|
5
6
|
import "../storage/index.js";
|
|
6
7
|
import { getAutomationEventForRun } from "../events/event-repository.js";
|
|
7
|
-
import { assertUrlSafe } from "../../agent/tools/url-safety.js";
|
|
8
8
|
import "../events/index.js";
|
|
9
9
|
import { resolveAutomationWebhookSecret } from "../webhook-secrets.js";
|
|
10
10
|
import { createHmac, randomUUID } from "node:crypto";
|