comisai 1.0.28 → 1.0.31
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/node_modules/@comis/agent/dist/bootstrap/sections/tool-descriptions.js +62 -8
- package/node_modules/@comis/agent/dist/bootstrap/sections/tooling-sections.js +3 -1
- package/node_modules/@comis/agent/dist/bridge/pi-event-bridge.d.ts +7 -0
- package/node_modules/@comis/agent/dist/bridge/pi-event-bridge.js +26 -0
- package/node_modules/@comis/agent/dist/context-engine/signature-replay-scrubber.d.ts +21 -0
- package/node_modules/@comis/agent/dist/context-engine/signature-replay-scrubber.js +29 -9
- package/node_modules/@comis/agent/dist/context-engine/signature-surrogate-guard.d.ts +10 -2
- package/node_modules/@comis/agent/dist/context-engine/signature-surrogate-guard.js +15 -9
- package/node_modules/@comis/agent/dist/context-engine/thinking-block-cleaner.d.ts +17 -2
- package/node_modules/@comis/agent/dist/context-engine/thinking-block-cleaner.js +19 -8
- package/node_modules/@comis/agent/dist/executor/executor-prompt-runner.js +28 -0
- package/node_modules/@comis/agent/dist/executor/executor-response-filter.js +3 -0
- package/node_modules/@comis/agent/dist/executor/executor-tool-assembly.js +3 -1
- package/node_modules/@comis/agent/dist/executor/phase-filter.d.ts +20 -4
- package/node_modules/@comis/agent/dist/executor/phase-filter.js +62 -19
- package/node_modules/@comis/agent/dist/executor/pi-executor.js +6 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/config-resolver.js +2 -3
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body-injector.js +2 -3
- package/node_modules/@comis/agent/dist/executor/ttl-guard.js +2 -3
- package/node_modules/@comis/agent/dist/index.d.ts +4 -2
- package/node_modules/@comis/agent/dist/index.js +3 -2
- package/node_modules/@comis/agent/dist/model/compaction-model-resolver.d.ts +41 -0
- package/node_modules/@comis/agent/dist/model/compaction-model-resolver.js +51 -0
- package/node_modules/@comis/agent/dist/model/model-registry-adapter.js +113 -26
- package/node_modules/@comis/agent/dist/model/model-scanner.d.ts +27 -0
- package/node_modules/@comis/agent/dist/model/model-scanner.js +64 -23
- package/node_modules/@comis/agent/dist/model/operation-model-defaults.d.ts +37 -15
- package/node_modules/@comis/agent/dist/model/operation-model-defaults.js +70 -25
- package/node_modules/@comis/agent/dist/model/operation-model-resolver.d.ts +2 -2
- package/node_modules/@comis/agent/dist/model/operation-model-resolver.js +12 -8
- package/node_modules/@comis/agent/dist/provider/capabilities.d.ts +21 -0
- package/node_modules/@comis/agent/dist/provider/capabilities.js +28 -0
- package/node_modules/@comis/agent/dist/session/orphaned-message-repair.js +61 -1
- package/node_modules/@comis/agent/dist/workspace/templates.js +1 -1
- package/node_modules/@comis/agent/package.json +1 -1
- package/node_modules/@comis/channels/dist/shared/channel-manager.d.ts +19 -1
- package/node_modules/@comis/channels/dist/shared/channel-manager.js +59 -3
- package/node_modules/@comis/channels/dist/shared/deliver-to-channel.d.ts +10 -0
- package/node_modules/@comis/channels/dist/shared/deliver-to-channel.js +25 -10
- package/node_modules/@comis/channels/dist/shared/execution-deliver.d.ts +1 -1
- package/node_modules/@comis/channels/dist/shared/execution-deliver.js +1 -1
- package/node_modules/@comis/channels/dist/shared/execution-pipeline.d.ts +8 -0
- package/node_modules/@comis/channels/dist/shared/inbound-pipeline.d.ts +8 -0
- package/node_modules/@comis/channels/dist/shared/inbound-route.d.ts +1 -1
- package/node_modules/@comis/channels/dist/shared/inbound-route.js +1 -0
- package/node_modules/@comis/channels/package.json +1 -1
- package/node_modules/@comis/cli/dist/cli.js +2 -0
- package/node_modules/@comis/cli/dist/client/provider-list.d.ts +40 -0
- package/node_modules/@comis/cli/dist/client/provider-list.js +84 -0
- package/node_modules/@comis/cli/dist/commands/providers.d.ts +25 -0
- package/node_modules/@comis/cli/dist/commands/providers.js +122 -0
- package/node_modules/@comis/cli/dist/wizard/index.d.ts +2 -2
- package/node_modules/@comis/cli/dist/wizard/index.js +1 -1
- package/node_modules/@comis/cli/dist/wizard/non-interactive.js +29 -28
- package/node_modules/@comis/cli/dist/wizard/steps/03-provider.d.ts +11 -5
- package/node_modules/@comis/cli/dist/wizard/steps/03-provider.js +75 -13
- package/node_modules/@comis/cli/dist/wizard/steps/04-credentials.js +70 -12
- package/node_modules/@comis/cli/dist/wizard/steps/05-agent.js +6 -20
- package/node_modules/@comis/cli/dist/wizard/types.d.ts +0 -14
- package/node_modules/@comis/cli/dist/wizard/types.js +0 -24
- package/node_modules/@comis/cli/package.json +1 -1
- package/node_modules/@comis/core/dist/config/schema-agent.d.ts +15 -3
- package/node_modules/@comis/core/dist/config/schema-agent.js +6 -2
- package/node_modules/@comis/core/dist/config/schema-integrations.d.ts +4 -4
- package/node_modules/@comis/core/dist/config/schema-integrations.js +3 -3
- package/node_modules/@comis/core/dist/config/schema-models.d.ts +4 -2
- package/node_modules/@comis/core/dist/config/schema-models.js +4 -2
- package/node_modules/@comis/core/package.json +1 -1
- package/node_modules/@comis/daemon/dist/daemon.js +51 -8
- package/node_modules/@comis/daemon/dist/rpc/agent-handlers.js +40 -9
- package/node_modules/@comis/daemon/dist/rpc/builtin-provider-guard.d.ts +16 -0
- package/node_modules/@comis/daemon/dist/rpc/builtin-provider-guard.js +60 -0
- package/node_modules/@comis/daemon/dist/rpc/config-handlers.js +59 -0
- package/node_modules/@comis/daemon/dist/rpc/credential-resolver.d.ts +17 -0
- package/node_modules/@comis/daemon/dist/rpc/credential-resolver.js +99 -0
- package/node_modules/@comis/daemon/dist/rpc/message-handlers.d.ts +5 -0
- package/node_modules/@comis/daemon/dist/rpc/message-handlers.js +25 -4
- package/node_modules/@comis/daemon/dist/rpc/model-handlers.d.ts +4 -3
- package/node_modules/@comis/daemon/dist/rpc/model-handlers.js +21 -3
- package/node_modules/@comis/daemon/dist/rpc/provider-handlers.js +82 -6
- package/node_modules/@comis/daemon/dist/rpc/rpc-dispatch.d.ts +4 -0
- package/node_modules/@comis/daemon/dist/wiring/inbound-message-id-resolver.d.ts +48 -0
- package/node_modules/@comis/daemon/dist/wiring/inbound-message-id-resolver.js +58 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-agents.d.ts +18 -6
- package/node_modules/@comis/daemon/dist/wiring/setup-agents.js +98 -46
- package/node_modules/@comis/daemon/dist/wiring/setup-channels.d.ts +13 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-channels.js +2 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway-rpc.js +1 -1
- package/node_modules/@comis/daemon/package.json +2 -2
- package/node_modules/@comis/gateway/package.json +1 -1
- package/node_modules/@comis/infra/package.json +1 -1
- package/node_modules/@comis/memory/package.json +1 -1
- package/node_modules/@comis/scheduler/package.json +1 -1
- package/node_modules/@comis/shared/package.json +1 -1
- package/node_modules/@comis/skills/dist/bridge/mcp-tool-bridge.d.ts +1 -1
- package/node_modules/@comis/skills/dist/bridge/mcp-tool-bridge.js +1 -1
- package/node_modules/@comis/skills/dist/bridge/tool-audit.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/exec-tool.d.ts +12 -11
- package/node_modules/@comis/skills/dist/builtin/exec-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/file/apply-patch-tool.d.ts +3 -2
- package/node_modules/@comis/skills/dist/builtin/file/apply-patch-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/file-tools/edit-tool.d.ts +7 -6
- package/node_modules/@comis/skills/dist/builtin/file-tools/edit-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/file-tools/find-tool.d.ts +6 -5
- package/node_modules/@comis/skills/dist/builtin/file-tools/find-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/file-tools/grep-tool.d.ts +16 -15
- package/node_modules/@comis/skills/dist/builtin/file-tools/grep-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/file-tools/ls-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/file-tools/ls-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/file-tools/notebook-edit-tool.d.ts +7 -6
- package/node_modules/@comis/skills/dist/builtin/file-tools/notebook-edit-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/file-tools/read-tool.d.ts +6 -5
- package/node_modules/@comis/skills/dist/builtin/file-tools/read-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/file-tools/write-tool.d.ts +5 -4
- package/node_modules/@comis/skills/dist/builtin/file-tools/write-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/admin-manage-factory.d.ts +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/agents-manage-tool.d.ts +28 -27
- package/node_modules/@comis/skills/dist/builtin/platform/agents-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/background-tasks-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/platform/background-tasks-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/browser-tool-schema.d.ts +67 -66
- package/node_modules/@comis/skills/dist/builtin/platform/browser-tool-schema.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/channels-manage-tool.d.ts +6 -5
- package/node_modules/@comis/skills/dist/builtin/platform/channels-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/cron-tool.d.ts +20 -19
- package/node_modules/@comis/skills/dist/builtin/platform/cron-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-expand-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-expand-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-inspect-tool.d.ts +3 -2
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-inspect-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-recall-tool.d.ts +6 -5
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-recall-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-search-tool.d.ts +6 -5
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-search-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/describe-video-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/platform/describe-video-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/discord-action-tool.d.ts +2 -1
- package/node_modules/@comis/skills/dist/builtin/platform/discord-action-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/extract-document-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/platform/extract-document-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/gateway-tool.d.ts +12 -11
- package/node_modules/@comis/skills/dist/builtin/platform/gateway-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/heartbeat-manage-tool.d.ts +23 -22
- package/node_modules/@comis/skills/dist/builtin/platform/heartbeat-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/image-generate-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/platform/image-generate-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/image-tool.d.ts +8 -7
- package/node_modules/@comis/skills/dist/builtin/platform/image-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/mcp-manage-tool.d.ts +9 -8
- package/node_modules/@comis/skills/dist/builtin/platform/mcp-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/memory-get-tool.d.ts +5 -4
- package/node_modules/@comis/skills/dist/builtin/platform/memory-get-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/memory-manage-tool.d.ts +12 -11
- package/node_modules/@comis/skills/dist/builtin/platform/memory-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/memory-search-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/platform/memory-search-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/memory-store-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/platform/memory-store-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/message-tool.d.ts +32 -31
- package/node_modules/@comis/skills/dist/builtin/platform/message-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/messaging-factory.d.ts +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/models-manage-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/platform/models-manage-tool.js +11 -4
- package/node_modules/@comis/skills/dist/builtin/platform/notify-tool.d.ts +6 -5
- package/node_modules/@comis/skills/dist/builtin/platform/notify-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/obs-query-tool.d.ts +11 -10
- package/node_modules/@comis/skills/dist/builtin/platform/obs-query-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/pipeline-tool.d.ts +37 -36
- package/node_modules/@comis/skills/dist/builtin/platform/pipeline-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/platform-action-tool.d.ts +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/providers-manage-tool.d.ts +21 -20
- package/node_modules/@comis/skills/dist/builtin/platform/providers-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/session-search-tool.d.ts +6 -5
- package/node_modules/@comis/skills/dist/builtin/platform/session-search-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/session-status-tool.d.ts +3 -2
- package/node_modules/@comis/skills/dist/builtin/platform/session-status-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-history-tool.d.ts +5 -4
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-history-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-list-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-list-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-manage-tool.d.ts +5 -4
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-send-tool.d.ts +7 -6
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-send-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-spawn-tool.d.ts +15 -14
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-spawn-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/skills-manage-tool.d.ts +8 -7
- package/node_modules/@comis/skills/dist/builtin/platform/skills-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/slack-action-tool.d.ts +2 -1
- package/node_modules/@comis/skills/dist/builtin/platform/slack-action-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/subagents-tool.d.ts +7 -6
- package/node_modules/@comis/skills/dist/builtin/platform/subagents-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/telegram-action-tool.d.ts +2 -1
- package/node_modules/@comis/skills/dist/builtin/platform/telegram-action-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/tokens-manage-tool.d.ts +5 -4
- package/node_modules/@comis/skills/dist/builtin/platform/tokens-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/transcribe-audio-tool.d.ts +4 -3
- package/node_modules/@comis/skills/dist/builtin/platform/transcribe-audio-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/tts-tool.d.ts +6 -5
- package/node_modules/@comis/skills/dist/builtin/platform/tts-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/unified-context-tool.d.ts +13 -12
- package/node_modules/@comis/skills/dist/builtin/platform/unified-context-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/unified-memory-tool.d.ts +18 -17
- package/node_modules/@comis/skills/dist/builtin/platform/unified-memory-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/unified-session-tool.d.ts +11 -10
- package/node_modules/@comis/skills/dist/builtin/platform/unified-session-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/platform/whatsapp-action-tool.d.ts +2 -1
- package/node_modules/@comis/skills/dist/builtin/platform/whatsapp-action-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/process-tool.d.ts +6 -5
- package/node_modules/@comis/skills/dist/builtin/process-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/web-fetch-tool.d.ts +5 -4
- package/node_modules/@comis/skills/dist/builtin/web-fetch-tool.js +1 -1
- package/node_modules/@comis/skills/dist/builtin/web-search-tool.d.ts +9 -8
- package/node_modules/@comis/skills/dist/builtin/web-search-tool.js +1 -1
- package/node_modules/@comis/skills/package.json +1 -1
- package/node_modules/@comis/web/dist/assets/{agent-detail-DqL6Artv.js → agent-detail-71BSbSfD.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{agent-editor-CNM_h94Y.js → agent-editor-CTSDZhwT.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{agent-list-Dbh-xD_F.js → agent-list-BEhni2ea.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{billing-view-C1DmtyzK.js → billing-view-DVP1IvVs.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{channel-detail-CtCH22N1.js → channel-detail-N_YK74xC.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{channel-list-C7xXn-60.js → channel-list-DRk6ZJaF.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{chat-console-C51pjFwk.js → chat-console-Dm-GtSf9.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{config-editor-BLArYRB7.js → config-editor-CIferYX6.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{context-dag-browser-fuyMinNI.js → context-dag-browser-CL84rXXM.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{context-engine-Bngf2bH0.js → context-engine-B1HOTEZv.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{delivery-view-C80hucxX.js → delivery-view-Y6JKYVFw.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{diagnostics-view-Cl4VbHZ6.js → diagnostics-view-DWV1UQjz.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{ic-chat-message-ByFUoMm6.js → ic-chat-message-DfSERzzg.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{ic-connection-dot-C4nDHgY2.js → ic-connection-dot-CXyhlJup.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{ic-tool-call-Bh5kq-yY.js → ic-tool-call-DNmwTjek.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{index-BBkuC-EU.js → index-CBr0Tm9_.js} +2 -2
- package/node_modules/@comis/web/dist/assets/{mcp-management-DB-phOo7.js → mcp-management-BaH2-vox.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{media-config-CRqZ1ZUH.js → media-config-CZLshJoN.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{media-test-C9vE20Oy.js → media-test-C9NUWgo_.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{memory-inspector-CeqfnxMZ.js → memory-inspector-D_fmTcRN.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{message-center-Daup7Mof.js → message-center-BBFlNCZn.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{models-DLYnEU8E.js → models-BytGLm99.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{observe-view-BTSt_PO5.js → observe-view-VXtHqaqq.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{pipeline-builder-DknfzyLt.js → pipeline-builder-CfXczlfJ.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{pipeline-history-JnHZdeU_.js → pipeline-history-CPmXFnbe.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{pipeline-history-detail-Dg4knsEb.js → pipeline-history-detail-DcueTMs9.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{pipeline-list-AEnibjsp.js → pipeline-list-B-xG5WZh.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{pipeline-monitor-DG7RbIOO.js → pipeline-monitor-pnIOYaSY.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{scheduler-uL1fYKAT.js → scheduler-BtUIFHhA.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{security-C3DywRLH.js → security-C8mWRq2y.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{session-detail-BtqCNWXV.js → session-detail-DgdkO5ka.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{session-list-CJXWa2XT.js → session-list-DcylcfTn.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{setup-wizard-ywn7oJvu.js → setup-wizard-BP5yjsuL.js} +75 -39
- package/node_modules/@comis/web/dist/assets/{skills-DX0KYnWD.js → skills-DXt1bX8Z.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{subagents-B8p5YJEB.js → subagents-C7YbUHXY.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{workspace-manager-CgzNIrw1.js → workspace-manager-DP6pW4wa.js} +1 -1
- package/node_modules/@comis/web/dist/index.html +1 -1
- package/node_modules/@comis/web/package.json +1 -1
- package/npm-shrinkwrap.json +6126 -0
- package/package.json +74 -74
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
|
-
import { Type } from "
|
|
12
|
+
import { Type } from "typebox";
|
|
13
13
|
import { tryGetContext } from "@comis/core";
|
|
14
14
|
import { jsonResult, readStringParam, readNumberParam, readEnumParam, throwToolError, createTrustGuard, } from "./tool-helpers.js";
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
@@ -11,47 +11,48 @@
|
|
|
11
11
|
* @module
|
|
12
12
|
*/
|
|
13
13
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
14
|
+
import { Type } from "typebox";
|
|
14
15
|
import type { ApprovalGate } from "@comis/core";
|
|
15
16
|
import type { RpcCall } from "./cron-tool.js";
|
|
16
|
-
declare const PipelineParams:
|
|
17
|
-
action:
|
|
18
|
-
nodes:
|
|
19
|
-
node_id:
|
|
20
|
-
task:
|
|
21
|
-
depends_on:
|
|
22
|
-
agent:
|
|
23
|
-
model:
|
|
24
|
-
timeout_ms:
|
|
25
|
-
max_steps:
|
|
26
|
-
barrier_mode:
|
|
27
|
-
retries:
|
|
28
|
-
type_id:
|
|
29
|
-
type_config:
|
|
30
|
-
context_mode:
|
|
31
|
-
mcp_servers:
|
|
17
|
+
declare const PipelineParams: Type.TObject<{
|
|
18
|
+
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"define">, Type.TLiteral<"execute">, Type.TLiteral<"status">, Type.TLiteral<"cancel">, Type.TLiteral<"save">, Type.TLiteral<"load">, Type.TLiteral<"list">, Type.TLiteral<"delete">, Type.TLiteral<"outputs">]>>;
|
|
19
|
+
nodes: Type.TOptional<Type.TArray<Type.TObject<{
|
|
20
|
+
node_id: Type.TString;
|
|
21
|
+
task: Type.TString;
|
|
22
|
+
depends_on: Type.TOptional<Type.TArray<Type.TString>>;
|
|
23
|
+
agent: Type.TOptional<Type.TString>;
|
|
24
|
+
model: Type.TOptional<Type.TString>;
|
|
25
|
+
timeout_ms: Type.TOptional<Type.TInteger>;
|
|
26
|
+
max_steps: Type.TOptional<Type.TInteger>;
|
|
27
|
+
barrier_mode: Type.TOptional<Type.TUnion<[Type.TLiteral<"all">, Type.TLiteral<"majority">, Type.TLiteral<"best-effort">]>>;
|
|
28
|
+
retries: Type.TOptional<Type.TInteger>;
|
|
29
|
+
type_id: Type.TOptional<Type.TUnion<[Type.TLiteral<"agent">, Type.TLiteral<"debate">, Type.TLiteral<"vote">, Type.TLiteral<"refine">, Type.TLiteral<"collaborate">, Type.TLiteral<"approval-gate">, Type.TLiteral<"map-reduce">]>>;
|
|
30
|
+
type_config: Type.TOptional<Type.TRecord<"^.*$", Type.TUnknown>>;
|
|
31
|
+
context_mode: Type.TOptional<Type.TUnion<[Type.TLiteral<"full">, Type.TLiteral<"summary">, Type.TLiteral<"none">]>>;
|
|
32
|
+
mcp_servers: Type.TOptional<Type.TArray<Type.TString>>;
|
|
32
33
|
}>>>;
|
|
33
|
-
label:
|
|
34
|
-
on_failure:
|
|
35
|
-
timeout_ms:
|
|
36
|
-
graph_id:
|
|
37
|
-
id:
|
|
38
|
-
edges:
|
|
39
|
-
id:
|
|
40
|
-
source:
|
|
41
|
-
target:
|
|
42
|
-
from:
|
|
43
|
-
to:
|
|
34
|
+
label: Type.TOptional<Type.TString>;
|
|
35
|
+
on_failure: Type.TOptional<Type.TUnion<[Type.TLiteral<"fail-fast">, Type.TLiteral<"continue">]>>;
|
|
36
|
+
timeout_ms: Type.TOptional<Type.TInteger>;
|
|
37
|
+
graph_id: Type.TOptional<Type.TString>;
|
|
38
|
+
id: Type.TOptional<Type.TString>;
|
|
39
|
+
edges: Type.TOptional<Type.TArray<Type.TObject<{
|
|
40
|
+
id: Type.TOptional<Type.TString>;
|
|
41
|
+
source: Type.TOptional<Type.TString>;
|
|
42
|
+
target: Type.TOptional<Type.TString>;
|
|
43
|
+
from: Type.TOptional<Type.TString>;
|
|
44
|
+
to: Type.TOptional<Type.TString>;
|
|
44
45
|
}>>>;
|
|
45
|
-
settings:
|
|
46
|
-
limit:
|
|
47
|
-
offset:
|
|
48
|
-
recent_minutes:
|
|
49
|
-
_confirmed:
|
|
50
|
-
budget:
|
|
51
|
-
max_tokens:
|
|
52
|
-
max_cost:
|
|
46
|
+
settings: Type.TOptional<Type.TUnknown>;
|
|
47
|
+
limit: Type.TOptional<Type.TInteger>;
|
|
48
|
+
offset: Type.TOptional<Type.TInteger>;
|
|
49
|
+
recent_minutes: Type.TOptional<Type.TInteger>;
|
|
50
|
+
_confirmed: Type.TOptional<Type.TBoolean>;
|
|
51
|
+
budget: Type.TOptional<Type.TObject<{
|
|
52
|
+
max_tokens: Type.TOptional<Type.TInteger>;
|
|
53
|
+
max_cost: Type.TOptional<Type.TNumber>;
|
|
53
54
|
}>>;
|
|
54
|
-
variables:
|
|
55
|
+
variables: Type.TOptional<Type.TRecord<"^.*$", Type.TString>>;
|
|
55
56
|
}>;
|
|
56
57
|
/** Minimal pino-compatible logger for structured tool logging. */
|
|
57
58
|
interface ToolLogger {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @module
|
|
13
13
|
*/
|
|
14
|
-
import { Type } from "
|
|
14
|
+
import { Type } from "typebox";
|
|
15
15
|
import { tryGetContext } from "@comis/core";
|
|
16
16
|
import { jsonResult, readStringParam, readNumberParam, throwToolError, createActionGate, } from "./tool-helpers.js";
|
|
17
17
|
// ---------------------------------------------------------------------------
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @module
|
|
9
9
|
*/
|
|
10
10
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
11
|
-
import type { TSchema } from "
|
|
11
|
+
import type { TSchema } from "typebox";
|
|
12
12
|
import type { RpcCall } from "./cron-tool.js";
|
|
13
13
|
/**
|
|
14
14
|
* A single action that requires user confirmation before execution.
|
|
@@ -9,29 +9,30 @@
|
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
11
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
12
|
+
import { Type } from "typebox";
|
|
12
13
|
import type { ApprovalGate } from "@comis/core";
|
|
13
14
|
import type { RpcCall } from "./cron-tool.js";
|
|
14
|
-
export declare const ProvidersManageToolParams:
|
|
15
|
-
action:
|
|
16
|
-
provider_id:
|
|
17
|
-
config:
|
|
18
|
-
type:
|
|
19
|
-
name:
|
|
20
|
-
baseUrl:
|
|
21
|
-
apiKeyName:
|
|
22
|
-
enabled:
|
|
23
|
-
timeoutMs:
|
|
24
|
-
maxRetries:
|
|
25
|
-
headers:
|
|
26
|
-
models:
|
|
27
|
-
id:
|
|
28
|
-
name:
|
|
29
|
-
reasoning:
|
|
30
|
-
contextWindow:
|
|
31
|
-
maxTokens:
|
|
32
|
-
input:
|
|
15
|
+
export declare const ProvidersManageToolParams: Type.TObject<{
|
|
16
|
+
action: Type.TUnion<[Type.TLiteral<"list">, Type.TLiteral<"get">, Type.TLiteral<"create">, Type.TLiteral<"update">, Type.TLiteral<"delete">, Type.TLiteral<"enable">, Type.TLiteral<"disable">]>;
|
|
17
|
+
provider_id: Type.TOptional<Type.TString>;
|
|
18
|
+
config: Type.TOptional<Type.TUnion<[Type.TObject<{
|
|
19
|
+
type: Type.TOptional<Type.TString>;
|
|
20
|
+
name: Type.TOptional<Type.TString>;
|
|
21
|
+
baseUrl: Type.TOptional<Type.TString>;
|
|
22
|
+
apiKeyName: Type.TOptional<Type.TString>;
|
|
23
|
+
enabled: Type.TOptional<Type.TBoolean>;
|
|
24
|
+
timeoutMs: Type.TOptional<Type.TInteger>;
|
|
25
|
+
maxRetries: Type.TOptional<Type.TInteger>;
|
|
26
|
+
headers: Type.TOptional<Type.TRecord<"^.*$", Type.TString>>;
|
|
27
|
+
models: Type.TOptional<Type.TArray<Type.TObject<{
|
|
28
|
+
id: Type.TString;
|
|
29
|
+
name: Type.TOptional<Type.TString>;
|
|
30
|
+
reasoning: Type.TOptional<Type.TBoolean>;
|
|
31
|
+
contextWindow: Type.TOptional<Type.TInteger>;
|
|
32
|
+
maxTokens: Type.TOptional<Type.TInteger>;
|
|
33
|
+
input: Type.TOptional<Type.TArray<Type.TUnion<[Type.TLiteral<"text">, Type.TLiteral<"image">]>>>;
|
|
33
34
|
}>>>;
|
|
34
|
-
}>,
|
|
35
|
+
}>, Type.TString]>>;
|
|
35
36
|
}>;
|
|
36
37
|
/**
|
|
37
38
|
* Create a provider management tool with 7 actions.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
|
-
import { Type } from "
|
|
12
|
+
import { Type } from "typebox";
|
|
13
13
|
import { readStringParam } from "./tool-helpers.js";
|
|
14
14
|
import { createAdminManageTool } from "./admin-manage-factory.js";
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
@@ -14,12 +14,13 @@
|
|
|
14
14
|
* @module
|
|
15
15
|
*/
|
|
16
16
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
17
|
+
import { Type } from "typebox";
|
|
17
18
|
import type { RpcCall } from "./cron-tool.js";
|
|
18
|
-
declare const SessionSearchParams:
|
|
19
|
-
query:
|
|
20
|
-
scope:
|
|
21
|
-
limit:
|
|
22
|
-
summarize:
|
|
19
|
+
declare const SessionSearchParams: Type.TObject<{
|
|
20
|
+
query: Type.TOptional<Type.TString>;
|
|
21
|
+
scope: Type.TOptional<Type.TString>;
|
|
22
|
+
limit: Type.TOptional<Type.TInteger>;
|
|
23
|
+
summarize: Type.TOptional<Type.TBoolean>;
|
|
23
24
|
}>;
|
|
24
25
|
/**
|
|
25
26
|
* Create a session search tool that finds content in the full session JSONL history,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @module
|
|
16
16
|
*/
|
|
17
|
-
import { Type } from "
|
|
17
|
+
import { Type } from "typebox";
|
|
18
18
|
import { jsonResult, readStringParam, readNumberParam, readBooleanParam } from "./tool-helpers.js";
|
|
19
19
|
import { sanitizeFts5Query } from "./fts5-sanitizer.js";
|
|
20
20
|
// -- Parameter Schema --------------------------------------------------------
|
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
* @module
|
|
8
8
|
*/
|
|
9
9
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
10
|
+
import { Type } from "typebox";
|
|
10
11
|
import type { RpcCall } from "./memory-search-tool.js";
|
|
11
|
-
declare const SessionStatusParams:
|
|
12
|
-
model:
|
|
12
|
+
declare const SessionStatusParams: Type.TObject<{
|
|
13
|
+
model: Type.TOptional<Type.TString>;
|
|
13
14
|
}>;
|
|
14
15
|
/**
|
|
15
16
|
* Create a session status tool that reports current session information.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module
|
|
9
9
|
*/
|
|
10
|
-
import { Type } from "
|
|
10
|
+
import { Type } from "typebox";
|
|
11
11
|
import { jsonResult } from "./tool-helpers.js";
|
|
12
12
|
// ── Parameter Schema ────────────────────────────────────────────────
|
|
13
13
|
const SessionStatusParams = Type.Object({
|
|
@@ -7,11 +7,12 @@
|
|
|
7
7
|
* @module
|
|
8
8
|
*/
|
|
9
9
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
10
|
+
import { Type } from "typebox";
|
|
10
11
|
import type { RpcCall } from "./cron-tool.js";
|
|
11
|
-
declare const SessionsHistoryParams:
|
|
12
|
-
session_key:
|
|
13
|
-
offset:
|
|
14
|
-
limit:
|
|
12
|
+
declare const SessionsHistoryParams: Type.TObject<{
|
|
13
|
+
session_key: Type.TString;
|
|
14
|
+
offset: Type.TOptional<Type.TInteger>;
|
|
15
|
+
limit: Type.TOptional<Type.TInteger>;
|
|
15
16
|
}>;
|
|
16
17
|
/**
|
|
17
18
|
* Create a sessions history tool that retrieves conversation history.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module
|
|
9
9
|
*/
|
|
10
|
-
import { Type } from "
|
|
10
|
+
import { Type } from "typebox";
|
|
11
11
|
import { jsonResult, readStringParam, readNumberParam, } from "./tool-helpers.js";
|
|
12
12
|
// ── Parameter Schema ────────────────────────────────────────────────
|
|
13
13
|
const SessionsHistoryParams = Type.Object({
|
|
@@ -7,10 +7,11 @@
|
|
|
7
7
|
* @module
|
|
8
8
|
*/
|
|
9
9
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
10
|
+
import { Type } from "typebox";
|
|
10
11
|
import type { RpcCall } from "./cron-tool.js";
|
|
11
|
-
declare const SessionsListParams:
|
|
12
|
-
kind:
|
|
13
|
-
since_minutes:
|
|
12
|
+
declare const SessionsListParams: Type.TObject<{
|
|
13
|
+
kind: Type.TOptional<Type.TUnion<[Type.TLiteral<"all">, Type.TLiteral<"dm">, Type.TLiteral<"group">, Type.TLiteral<"sub-agent">]>>;
|
|
14
|
+
since_minutes: Type.TOptional<Type.TInteger>;
|
|
14
15
|
}>;
|
|
15
16
|
/**
|
|
16
17
|
* Create a sessions list tool that lists active sessions.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @module
|
|
9
9
|
*/
|
|
10
|
-
import { Type } from "
|
|
10
|
+
import { Type } from "typebox";
|
|
11
11
|
import { jsonResult, readStringParam, readNumberParam, } from "./tool-helpers.js";
|
|
12
12
|
// ── Parameter Schema ────────────────────────────────────────────────
|
|
13
13
|
const SessionsListParams = Type.Object({
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
11
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
12
|
+
import { Type } from "typebox";
|
|
12
13
|
import type { ApprovalGate } from "@comis/core";
|
|
13
14
|
import type { RpcCall } from "./cron-tool.js";
|
|
14
|
-
declare const SessionsManageToolParams:
|
|
15
|
-
action:
|
|
16
|
-
session_key:
|
|
17
|
-
instructions:
|
|
15
|
+
declare const SessionsManageToolParams: Type.TObject<{
|
|
16
|
+
action: Type.TUnion<[Type.TLiteral<"delete">, Type.TLiteral<"reset">, Type.TLiteral<"export">, Type.TLiteral<"compact">]>;
|
|
17
|
+
session_key: Type.TString;
|
|
18
|
+
instructions: Type.TOptional<Type.TString>;
|
|
18
19
|
}>;
|
|
19
20
|
/**
|
|
20
21
|
* Create a session management tool with 4 actions.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
|
-
import { Type } from "
|
|
12
|
+
import { Type } from "typebox";
|
|
13
13
|
import { readStringParam } from "./tool-helpers.js";
|
|
14
14
|
import { createAdminManageTool } from "./admin-manage-factory.js";
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
@@ -8,13 +8,14 @@
|
|
|
8
8
|
* @module
|
|
9
9
|
*/
|
|
10
10
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
11
|
+
import { Type } from "typebox";
|
|
11
12
|
import type { RpcCall } from "./cron-tool.js";
|
|
12
|
-
declare const SessionsSendParams:
|
|
13
|
-
session_key:
|
|
14
|
-
text:
|
|
15
|
-
mode:
|
|
16
|
-
timeout_ms:
|
|
17
|
-
max_turns:
|
|
13
|
+
declare const SessionsSendParams: Type.TObject<{
|
|
14
|
+
session_key: Type.TString;
|
|
15
|
+
text: Type.TString;
|
|
16
|
+
mode: Type.TOptional<Type.TUnion<[Type.TLiteral<"fire-and-forget">, Type.TLiteral<"wait">, Type.TLiteral<"ping-pong">]>>;
|
|
17
|
+
timeout_ms: Type.TOptional<Type.TInteger>;
|
|
18
|
+
max_turns: Type.TOptional<Type.TInteger>;
|
|
18
19
|
}>;
|
|
19
20
|
/**
|
|
20
21
|
* Create a sessions send tool for cross-session messaging.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
|
-
import { Type } from "
|
|
11
|
+
import { Type } from "typebox";
|
|
12
12
|
import { readStringParam, readNumberParam, } from "./tool-helpers.js";
|
|
13
13
|
import { createRpcDispatchTool } from "./messaging-factory.js";
|
|
14
14
|
// ── Parameter Schema ────────────────────────────────────────────────
|
|
@@ -8,21 +8,22 @@
|
|
|
8
8
|
* @module
|
|
9
9
|
*/
|
|
10
10
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
11
|
+
import { Type } from "typebox";
|
|
11
12
|
import type { RpcCall } from "./cron-tool.js";
|
|
12
|
-
declare const SessionsSpawnParams:
|
|
13
|
-
task:
|
|
14
|
-
async:
|
|
15
|
-
agent:
|
|
16
|
-
model:
|
|
17
|
-
announce_channel_type:
|
|
18
|
-
announce_channel_id:
|
|
19
|
-
max_steps:
|
|
20
|
-
expected_outputs:
|
|
21
|
-
artifact_refs:
|
|
22
|
-
objective:
|
|
23
|
-
tool_groups:
|
|
24
|
-
include_parent_history:
|
|
25
|
-
domain_knowledge:
|
|
13
|
+
declare const SessionsSpawnParams: Type.TObject<{
|
|
14
|
+
task: Type.TString;
|
|
15
|
+
async: Type.TOptional<Type.TBoolean>;
|
|
16
|
+
agent: Type.TOptional<Type.TString>;
|
|
17
|
+
model: Type.TOptional<Type.TString>;
|
|
18
|
+
announce_channel_type: Type.TOptional<Type.TString>;
|
|
19
|
+
announce_channel_id: Type.TOptional<Type.TString>;
|
|
20
|
+
max_steps: Type.TOptional<Type.TInteger>;
|
|
21
|
+
expected_outputs: Type.TOptional<Type.TArray<Type.TString>>;
|
|
22
|
+
artifact_refs: Type.TOptional<Type.TArray<Type.TString>>;
|
|
23
|
+
objective: Type.TOptional<Type.TString>;
|
|
24
|
+
tool_groups: Type.TOptional<Type.TArray<Type.TString>>;
|
|
25
|
+
include_parent_history: Type.TOptional<Type.TString>;
|
|
26
|
+
domain_knowledge: Type.TOptional<Type.TArray<Type.TString>>;
|
|
26
27
|
}>;
|
|
27
28
|
/**
|
|
28
29
|
* Create a sessions spawn tool for sub-agent session creation.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
|
-
import { Type } from "
|
|
11
|
+
import { Type } from "typebox";
|
|
12
12
|
import { jsonResult, readStringParam, createActionGate, } from "./tool-helpers.js";
|
|
13
13
|
import { createRpcDispatchTool } from "./messaging-factory.js";
|
|
14
14
|
// ── Parameter Schema ────────────────────────────────────────────────
|
|
@@ -10,15 +10,16 @@
|
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
12
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
13
|
+
import { Type } from "typebox";
|
|
13
14
|
import type { ApprovalGate } from "@comis/core";
|
|
14
15
|
import type { RpcCall } from "./cron-tool.js";
|
|
15
|
-
declare const SkillsManageToolParams:
|
|
16
|
-
action:
|
|
17
|
-
url:
|
|
18
|
-
name:
|
|
19
|
-
content:
|
|
20
|
-
description:
|
|
21
|
-
scope:
|
|
16
|
+
declare const SkillsManageToolParams: Type.TObject<{
|
|
17
|
+
action: Type.TUnion<[Type.TLiteral<"list">, Type.TLiteral<"import">, Type.TLiteral<"delete">, Type.TLiteral<"create">, Type.TLiteral<"update">]>;
|
|
18
|
+
url: Type.TOptional<Type.TString>;
|
|
19
|
+
name: Type.TOptional<Type.TString>;
|
|
20
|
+
content: Type.TOptional<Type.TString>;
|
|
21
|
+
description: Type.TOptional<Type.TString>;
|
|
22
|
+
scope: Type.TOptional<Type.TUnion<[Type.TLiteral<"local">, Type.TLiteral<"shared">]>>;
|
|
22
23
|
}>;
|
|
23
24
|
/**
|
|
24
25
|
* Create a skills management tool with 5 actions.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @module
|
|
12
12
|
*/
|
|
13
|
-
import { Type } from "
|
|
13
|
+
import { Type } from "typebox";
|
|
14
14
|
import { readStringParam } from "./tool-helpers.js";
|
|
15
15
|
import { createAdminManageTool } from "./admin-manage-factory.js";
|
|
16
16
|
// ---------------------------------------------------------------------------
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
|
+
import { Type } from "typebox";
|
|
12
13
|
import type { RpcCall } from "./cron-tool.js";
|
|
13
14
|
/**
|
|
14
15
|
* Create a Slack action tool with 12 actions.
|
|
@@ -20,4 +21,4 @@ import type { RpcCall } from "./cron-tool.js";
|
|
|
20
21
|
* @param rpcCall - RPC call function for delegating to the Slack backend
|
|
21
22
|
* @returns AgentTool implementing the Slack actions interface
|
|
22
23
|
*/
|
|
23
|
-
export declare function createSlackActionTool(rpcCall: RpcCall): import("@mariozechner/pi-agent-core").AgentTool<
|
|
24
|
+
export declare function createSlackActionTool(rpcCall: RpcCall): import("@mariozechner/pi-agent-core").AgentTool<Type.TSchema, any>;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @module
|
|
12
12
|
*/
|
|
13
|
-
import { Type } from "
|
|
13
|
+
import { Type } from "typebox";
|
|
14
14
|
import { createPlatformActionTool } from "./platform-action-tool.js";
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
16
16
|
// Parameter schema
|
|
@@ -9,13 +9,14 @@
|
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
11
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
12
|
+
import { Type } from "typebox";
|
|
12
13
|
import type { RpcCall } from "./cron-tool.js";
|
|
13
|
-
declare const SubagentsParams:
|
|
14
|
-
action:
|
|
15
|
-
target:
|
|
16
|
-
message:
|
|
17
|
-
recent_minutes:
|
|
18
|
-
_confirmed:
|
|
14
|
+
declare const SubagentsParams: Type.TObject<{
|
|
15
|
+
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"list">, Type.TLiteral<"kill">, Type.TLiteral<"steer">]>>;
|
|
16
|
+
target: Type.TOptional<Type.TString>;
|
|
17
|
+
message: Type.TOptional<Type.TString>;
|
|
18
|
+
recent_minutes: Type.TOptional<Type.TInteger>;
|
|
19
|
+
_confirmed: Type.TOptional<Type.TBoolean>;
|
|
19
20
|
}>;
|
|
20
21
|
/** Minimal pino-compatible logger for structured tool logging. */
|
|
21
22
|
interface ToolLogger {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
|
-
import { Type } from "
|
|
12
|
+
import { Type } from "typebox";
|
|
13
13
|
import { jsonResult, readStringParam, readNumberParam, throwToolError, createActionGate, } from "./tool-helpers.js";
|
|
14
14
|
// ---------------------------------------------------------------------------
|
|
15
15
|
// Parameter schema
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
|
+
import { Type } from "typebox";
|
|
11
12
|
import type { RpcCall } from "./cron-tool.js";
|
|
12
13
|
/**
|
|
13
14
|
* Create a Telegram action tool with 12 actions.
|
|
@@ -18,4 +19,4 @@ import type { RpcCall } from "./cron-tool.js";
|
|
|
18
19
|
* @param rpcCall - RPC call function for delegating to the Telegram backend
|
|
19
20
|
* @returns AgentTool implementing the Telegram actions interface
|
|
20
21
|
*/
|
|
21
|
-
export declare function createTelegramActionTool(rpcCall: RpcCall): import("@mariozechner/pi-agent-core").AgentTool<
|
|
22
|
+
export declare function createTelegramActionTool(rpcCall: RpcCall): import("@mariozechner/pi-agent-core").AgentTool<Type.TSchema, any>;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
|
-
import { Type } from "
|
|
12
|
+
import { Type } from "typebox";
|
|
13
13
|
import { createPlatformActionTool } from "./platform-action-tool.js";
|
|
14
14
|
// ---------------------------------------------------------------------------
|
|
15
15
|
// Parameter schema
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
11
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
12
|
+
import { Type } from "typebox";
|
|
12
13
|
import type { ApprovalGate } from "@comis/core";
|
|
13
14
|
import type { RpcCall } from "./cron-tool.js";
|
|
14
|
-
declare const TokensManageToolParams:
|
|
15
|
-
action:
|
|
16
|
-
token_id:
|
|
17
|
-
scopes:
|
|
15
|
+
declare const TokensManageToolParams: Type.TObject<{
|
|
16
|
+
action: Type.TUnion<[Type.TLiteral<"list">, Type.TLiteral<"create">, Type.TLiteral<"revoke">, Type.TLiteral<"rotate">]>;
|
|
17
|
+
token_id: Type.TOptional<Type.TString>;
|
|
18
|
+
scopes: Type.TOptional<Type.TArray<Type.TString>>;
|
|
18
19
|
}>;
|
|
19
20
|
/**
|
|
20
21
|
* Create a token management tool with 4 actions.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
|
-
import { Type } from "
|
|
12
|
+
import { Type } from "typebox";
|
|
13
13
|
import { readStringParam, throwToolError } from "./tool-helpers.js";
|
|
14
14
|
import { createAdminManageTool } from "./admin-manage-factory.js";
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
* @module
|
|
9
9
|
*/
|
|
10
10
|
import type { AgentTool } from "@mariozechner/pi-agent-core";
|
|
11
|
+
import { Type } from "typebox";
|
|
11
12
|
import type { RpcCall } from "./cron-tool.js";
|
|
12
|
-
declare const TranscribeAudioToolParams:
|
|
13
|
-
attachment_url:
|
|
14
|
-
language:
|
|
13
|
+
declare const TranscribeAudioToolParams: Type.TObject<{
|
|
14
|
+
attachment_url: Type.TString;
|
|
15
|
+
language: Type.TOptional<Type.TString>;
|
|
15
16
|
}>;
|
|
16
17
|
/**
|
|
17
18
|
* Create an audio transcription tool that delegates to media.transcribe rpcCall.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @module
|
|
10
10
|
*/
|
|
11
|
-
import { Type } from "
|
|
11
|
+
import { Type } from "typebox";
|
|
12
12
|
import { jsonResult, readStringParam } from "./tool-helpers.js";
|
|
13
13
|
// ── Parameter Schema ────────────────────────────────────────────────
|
|
14
14
|
const TranscribeAudioToolParams = Type.Object({
|