@zhin.js/agent 1.1.8 → 1.1.10
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/README.md +15 -23
- package/lib/activity-feedback/adapter-integration.d.ts +1 -2
- package/lib/activity-feedback/adapter-integration.d.ts.map +1 -1
- package/lib/activity-feedback/adapter-integration.js +46 -18
- package/lib/activity-feedback/adapter-integration.js.map +1 -1
- package/lib/assistant/index.d.ts +1 -1
- package/lib/assistant/index.d.ts.map +1 -1
- package/lib/assistant/index.js +1 -1
- package/lib/assistant/index.js.map +1 -1
- package/lib/assistant/job-creator.d.ts +0 -7
- package/lib/assistant/job-creator.d.ts.map +1 -1
- package/lib/assistant/job-creator.js +1 -12
- package/lib/assistant/job-creator.js.map +1 -1
- package/lib/builtin/five-agent/index.d.ts +6 -3
- package/lib/builtin/five-agent/index.d.ts.map +1 -1
- package/lib/builtin/five-agent/index.js +6 -4
- package/lib/builtin/five-agent/index.js.map +1 -1
- package/lib/builtin/five-agent/prompts.d.ts +3 -3
- package/lib/builtin/five-agent/prompts.d.ts.map +1 -1
- package/lib/builtin/five-agent/prompts.js +3 -3
- package/lib/builtin/five-agent/prompts.js.map +1 -1
- package/lib/builtin/five-agent/role-capability-policy.d.ts +9 -0
- package/lib/builtin/five-agent/role-capability-policy.d.ts.map +1 -0
- package/lib/builtin/five-agent/role-capability-policy.js +22 -0
- package/lib/builtin/five-agent/role-capability-policy.js.map +1 -0
- package/lib/builtin/five-agent/roles.d.ts +5 -0
- package/lib/builtin/five-agent/roles.d.ts.map +1 -0
- package/lib/builtin/five-agent/roles.js +12 -0
- package/lib/builtin/five-agent/roles.js.map +1 -0
- package/lib/builtin/generate-image-tool.d.ts +1 -1
- package/lib/builtin/generate-image-tool.d.ts.map +1 -1
- package/lib/builtin/generate-image-tool.js +3 -3
- package/lib/builtin/generate-image-tool.js.map +1 -1
- package/lib/builtin/orchestration-tools.d.ts.map +1 -1
- package/lib/builtin/orchestration-tools.js +12 -38
- package/lib/builtin/orchestration-tools.js.map +1 -1
- package/lib/builtin/spawn-task-tool.js +2 -2
- package/lib/builtin/spawn-task-tool.js.map +1 -1
- package/lib/builtins/builtin-tool-service.d.ts +28 -0
- package/lib/builtins/builtin-tool-service.d.ts.map +1 -0
- package/lib/builtins/builtin-tool-service.js +63 -0
- package/lib/builtins/builtin-tool-service.js.map +1 -0
- package/lib/config/agent-interfaces.d.ts +2 -2
- package/lib/config/agent-interfaces.d.ts.map +1 -1
- package/lib/config/fix-ai-config.d.ts.map +1 -1
- package/lib/config/fix-ai-config.js +1 -38
- package/lib/config/fix-ai-config.js.map +1 -1
- package/lib/config/index.d.ts +1 -1
- package/lib/config/index.d.ts.map +1 -1
- package/lib/config/index.js +1 -1
- package/lib/config/index.js.map +1 -1
- package/lib/config/resolve-five-agent-binding.d.ts +10 -0
- package/lib/config/resolve-five-agent-binding.d.ts.map +1 -0
- package/lib/config/resolve-five-agent-binding.js +31 -0
- package/lib/config/resolve-five-agent-binding.js.map +1 -0
- package/lib/config/zhin-agent-config.d.ts +4 -0
- package/lib/config/zhin-agent-config.d.ts.map +1 -1
- package/lib/config/zhin-agent-defaults.d.ts.map +1 -1
- package/lib/config/zhin-agent-defaults.js +2 -0
- package/lib/config/zhin-agent-defaults.js.map +1 -1
- package/lib/context/context-system.d.ts +2 -2
- package/lib/context/context-system.d.ts.map +1 -1
- package/lib/context/context-system.js +2 -3
- package/lib/context/context-system.js.map +1 -1
- package/lib/context/context-tail-limit.d.ts +0 -2
- package/lib/context/context-tail-limit.d.ts.map +1 -1
- package/lib/context/context-tail-limit.js +1 -3
- package/lib/context/context-tail-limit.js.map +1 -1
- package/lib/context/default-builders.d.ts +0 -4
- package/lib/context/default-builders.d.ts.map +1 -1
- package/lib/context/default-builders.js +0 -14
- package/lib/context/default-builders.js.map +1 -1
- package/lib/context/envelope-parts.d.ts +0 -1
- package/lib/context/envelope-parts.d.ts.map +1 -1
- package/lib/context/index.d.ts +2 -2
- package/lib/context/index.d.ts.map +1 -1
- package/lib/context/index.js +2 -2
- package/lib/context/index.js.map +1 -1
- package/lib/context/turn-envelope.d.ts +0 -1
- package/lib/context/turn-envelope.d.ts.map +1 -1
- package/lib/context/turn-envelope.js +0 -2
- package/lib/context/turn-envelope.js.map +1 -1
- package/lib/core/agent-core-run.js +1 -1
- package/lib/core/agent-core-run.js.map +1 -1
- package/lib/core/agent-loop-standalone.d.ts +2 -1
- package/lib/core/agent-loop-standalone.d.ts.map +1 -1
- package/lib/core/agent-loop-standalone.js.map +1 -1
- package/lib/core/turn-event-mapper.d.ts +3 -1
- package/lib/core/turn-event-mapper.d.ts.map +1 -1
- package/lib/core/turn-event-mapper.js +12 -2
- package/lib/core/turn-event-mapper.js.map +1 -1
- package/lib/event/agent-stream-bus.d.ts +0 -1
- package/lib/event/agent-stream-bus.d.ts.map +1 -1
- package/lib/event/agent-stream-bus.js.map +1 -1
- package/lib/event/publish-agent-stream.js +2 -2
- package/lib/event/publish-agent-stream.js.map +1 -1
- package/lib/event/turn-event.d.ts +16 -1
- package/lib/event/turn-event.d.ts.map +1 -1
- package/lib/event/turn-event.js.map +1 -1
- package/lib/index.d.ts +23 -21
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +13 -15
- package/lib/index.js.map +1 -1
- package/lib/init/activate-ai-database-storage.d.ts +2 -2
- package/lib/init/activate-ai-database-storage.d.ts.map +1 -1
- package/lib/init/activate-ai-database-storage.js +1 -3
- package/lib/init/activate-ai-database-storage.js.map +1 -1
- package/lib/init/define-ai-database-models.d.ts +1 -1
- package/lib/init/define-ai-database-models.d.ts.map +1 -1
- package/lib/init/define-ai-database-models.js +1 -9
- package/lib/init/define-ai-database-models.js.map +1 -1
- package/lib/init/runtime-management-commands.d.ts +2 -3
- package/lib/init/runtime-management-commands.d.ts.map +1 -1
- package/lib/init/runtime-management-commands.js +6 -6
- package/lib/init/runtime-management-commands.js.map +1 -1
- package/lib/internal/agent-host.d.ts +2 -3
- package/lib/internal/agent-host.d.ts.map +1 -1
- package/lib/internal/host-types.d.ts +0 -28
- package/lib/internal/host-types.d.ts.map +1 -1
- package/lib/memory/context-repository-store.js +1 -1
- package/lib/memory/context-repository-store.js.map +1 -1
- package/lib/memory/memory-system.d.ts +1 -2
- package/lib/memory/memory-system.d.ts.map +1 -1
- package/lib/memory/memory-system.js +1 -3
- package/lib/memory/memory-system.js.map +1 -1
- package/lib/orchestrator/bootstrap-executors.d.ts +0 -4
- package/lib/orchestrator/bootstrap-executors.d.ts.map +1 -1
- package/lib/orchestrator/bootstrap-executors.js +11 -137
- package/lib/orchestrator/bootstrap-executors.js.map +1 -1
- package/lib/orchestrator/orchestration-mappers.d.ts +1 -1
- package/lib/orchestrator/orchestration-mappers.d.ts.map +1 -1
- package/lib/orchestrator/orchestration-mappers.js +4 -49
- package/lib/orchestrator/orchestration-mappers.js.map +1 -1
- package/lib/orchestrator/orchestration-service.d.ts.map +1 -1
- package/lib/orchestrator/orchestration-service.js +2 -5
- package/lib/orchestrator/orchestration-service.js.map +1 -1
- package/lib/orchestrator/orchestration-source.d.ts +5 -0
- package/lib/orchestrator/orchestration-source.d.ts.map +1 -0
- package/lib/orchestrator/orchestration-source.js +22 -0
- package/lib/orchestrator/orchestration-source.js.map +1 -0
- package/lib/orchestrator/types.d.ts +9 -0
- package/lib/orchestrator/types.d.ts.map +1 -1
- package/lib/outbound/send-proactive.d.ts +3 -13
- package/lib/outbound/send-proactive.d.ts.map +1 -1
- package/lib/outbound/send-proactive.js +1 -53
- package/lib/outbound/send-proactive.js.map +1 -1
- package/lib/plugin-runtime/agent-host-port.d.ts +12 -3
- package/lib/plugin-runtime/agent-host-port.d.ts.map +1 -1
- package/lib/plugin-runtime/agent-host-port.js +1 -1
- package/lib/plugin-runtime/agent-host-port.js.map +1 -1
- package/lib/plugin-runtime/agent-runtime.d.ts +7 -4
- package/lib/plugin-runtime/agent-runtime.d.ts.map +1 -1
- package/lib/plugin-runtime/agent-runtime.js +3 -2
- package/lib/plugin-runtime/agent-runtime.js.map +1 -1
- package/lib/plugin-runtime/capability-tools.d.ts.map +1 -1
- package/lib/plugin-runtime/capability-tools.js +3 -0
- package/lib/plugin-runtime/capability-tools.js.map +1 -1
- package/lib/plugin-runtime/deferred-capability-plan.d.ts +1 -0
- package/lib/plugin-runtime/deferred-capability-plan.d.ts.map +1 -1
- package/lib/plugin-runtime/deferred-capability-plan.js +7 -1
- package/lib/plugin-runtime/deferred-capability-plan.js.map +1 -1
- package/lib/plugin-runtime/full-agent-turn-engine.d.ts.map +1 -1
- package/lib/plugin-runtime/full-agent-turn-engine.js +239 -14
- package/lib/plugin-runtime/full-agent-turn-engine.js.map +1 -1
- package/lib/plugin-runtime/host-mcp-projection.d.ts.map +1 -1
- package/lib/plugin-runtime/host-mcp-projection.js +17 -2
- package/lib/plugin-runtime/host-mcp-projection.js.map +1 -1
- package/lib/plugin-runtime/schedule-capability-plan.d.ts +20 -0
- package/lib/plugin-runtime/schedule-capability-plan.d.ts.map +1 -0
- package/lib/plugin-runtime/schedule-capability-plan.js +88 -0
- package/lib/plugin-runtime/schedule-capability-plan.js.map +1 -0
- package/lib/prompt/assembly.d.ts.map +1 -1
- package/lib/prompt/assembly.js +2 -0
- package/lib/prompt/assembly.js.map +1 -1
- package/lib/prompt/define-agent-prompt-section.d.ts +29 -0
- package/lib/prompt/define-agent-prompt-section.d.ts.map +1 -0
- package/lib/prompt/define-agent-prompt-section.js +22 -0
- package/lib/prompt/define-agent-prompt-section.js.map +1 -0
- package/lib/prompt/discover-prompt-sections.d.ts +21 -0
- package/lib/prompt/discover-prompt-sections.d.ts.map +1 -0
- package/lib/prompt/discover-prompt-sections.js +49 -0
- package/lib/prompt/discover-prompt-sections.js.map +1 -0
- package/lib/prompt/index.d.ts +10 -1
- package/lib/prompt/index.d.ts.map +1 -1
- package/lib/prompt/index.js +6 -1
- package/lib/prompt/index.js.map +1 -1
- package/lib/prompt/prompt-assembly-registry.d.ts +31 -0
- package/lib/prompt/prompt-assembly-registry.d.ts.map +1 -0
- package/lib/prompt/prompt-assembly-registry.js +56 -0
- package/lib/prompt/prompt-assembly-registry.js.map +1 -0
- package/lib/prompt/prompt-budget.d.ts +9 -0
- package/lib/prompt/prompt-budget.d.ts.map +1 -0
- package/lib/prompt/prompt-budget.js +28 -0
- package/lib/prompt/prompt-budget.js.map +1 -0
- package/lib/prompt/prompt-builder.js +1 -1
- package/lib/prompt/prompt-builder.js.map +1 -1
- package/lib/prompt/prompt-section-loader.d.ts +27 -0
- package/lib/prompt/prompt-section-loader.d.ts.map +1 -0
- package/lib/prompt/prompt-section-loader.js +75 -0
- package/lib/prompt/prompt-section-loader.js.map +1 -0
- package/lib/prompt/system-prompt.d.ts +5 -8
- package/lib/prompt/system-prompt.d.ts.map +1 -1
- package/lib/prompt/system-prompt.js +159 -78
- package/lib/prompt/system-prompt.js.map +1 -1
- package/lib/prompt/tokens.d.ts +8 -0
- package/lib/prompt/tokens.d.ts.map +1 -0
- package/lib/prompt/tokens.js +2 -0
- package/lib/prompt/tokens.js.map +1 -0
- package/lib/prompt/turn-prompt-profile.d.ts +1 -2
- package/lib/prompt/turn-prompt-profile.d.ts.map +1 -1
- package/lib/schedule-domain/audit-logger.d.ts +2 -2
- package/lib/schedule-domain/audit-logger.d.ts.map +1 -1
- package/lib/schedule-domain/execution-domain.d.ts +21 -17
- package/lib/schedule-domain/execution-domain.d.ts.map +1 -1
- package/lib/schedule-domain/execution-domain.js +41 -23
- package/lib/schedule-domain/execution-domain.js.map +1 -1
- package/lib/schedule-domain/index.d.ts +0 -1
- package/lib/schedule-domain/index.d.ts.map +1 -1
- package/lib/schedule-domain/index.js +0 -1
- package/lib/schedule-domain/index.js.map +1 -1
- package/lib/schedule-domain/prompt-assembler.d.ts +3 -4
- package/lib/schedule-domain/prompt-assembler.d.ts.map +1 -1
- package/lib/schedule-domain/prompt-assembler.js +0 -16
- package/lib/schedule-domain/prompt-assembler.js.map +1 -1
- package/lib/schedule-domain/security-harness.d.ts +10 -15
- package/lib/schedule-domain/security-harness.d.ts.map +1 -1
- package/lib/schedule-domain/security-harness.js +5 -78
- package/lib/schedule-domain/security-harness.js.map +1 -1
- package/lib/seam/index.d.ts +8 -0
- package/lib/seam/index.d.ts.map +1 -0
- package/lib/seam/index.js +4 -0
- package/lib/seam/index.js.map +1 -0
- package/lib/seam/seam-integration.d.ts +46 -0
- package/lib/seam/seam-integration.d.ts.map +1 -0
- package/lib/seam/seam-integration.js +70 -0
- package/lib/seam/seam-integration.js.map +1 -0
- package/lib/seam/seam-provider.d.ts +63 -0
- package/lib/seam/seam-provider.d.ts.map +1 -0
- package/lib/seam/seam-provider.js +66 -0
- package/lib/seam/seam-provider.js.map +1 -0
- package/lib/seam/skill-service.d.ts +49 -0
- package/lib/seam/skill-service.d.ts.map +1 -0
- package/lib/seam/skill-service.js +8 -0
- package/lib/seam/skill-service.js.map +1 -0
- package/lib/seam/tokens.d.ts +8 -0
- package/lib/seam/tokens.d.ts.map +1 -0
- package/lib/seam/tokens.js +5 -0
- package/lib/seam/tokens.js.map +1 -0
- package/lib/seam/tool-service.d.ts +58 -0
- package/lib/seam/tool-service.d.ts.map +1 -0
- package/lib/seam/tool-service.js +8 -0
- package/lib/seam/tool-service.js.map +1 -0
- package/lib/security/exec-policy.d.ts +2 -0
- package/lib/security/exec-policy.d.ts.map +1 -1
- package/lib/security/exec-policy.js +21 -0
- package/lib/security/exec-policy.js.map +1 -1
- package/lib/security/owner-approve-always-store.d.ts +8 -3
- package/lib/security/owner-approve-always-store.d.ts.map +1 -1
- package/lib/security/owner-approve-always-store.js +160 -173
- package/lib/security/owner-approve-always-store.js.map +1 -1
- package/lib/security/policy-facade.d.ts.map +1 -1
- package/lib/security/policy-facade.js +11 -1
- package/lib/security/policy-facade.js.map +1 -1
- package/lib/service.d.ts.map +1 -1
- package/lib/service.js +0 -7
- package/lib/service.js.map +1 -1
- package/lib/session/index.d.ts +3 -3
- package/lib/session/index.d.ts.map +1 -1
- package/lib/session/index.js +3 -3
- package/lib/session/index.js.map +1 -1
- package/lib/session/passive-group-session.js +1 -1
- package/lib/session/session-key.d.ts +4 -0
- package/lib/session/session-key.d.ts.map +1 -0
- package/lib/session/session-key.js +6 -0
- package/lib/session/session-key.js.map +1 -0
- package/lib/session/session-system.d.ts.map +1 -1
- package/lib/session/session-system.js +4 -4
- package/lib/session/session-system.js.map +1 -1
- package/lib/session/session-tree-commands.d.ts +2 -3
- package/lib/session/session-tree-commands.d.ts.map +1 -1
- package/lib/session/session-tree-commands.js +2 -5
- package/lib/session/session-tree-commands.js.map +1 -1
- package/lib/session/strategies.d.ts +1 -1
- package/lib/session/strategies.d.ts.map +1 -1
- package/lib/session/strategies.js +2 -2
- package/lib/session/strategies.js.map +1 -1
- package/lib/skill/skill-registry-as-service.d.ts +29 -0
- package/lib/skill/skill-registry-as-service.d.ts.map +1 -0
- package/lib/skill/skill-registry-as-service.js +53 -0
- package/lib/skill/skill-registry-as-service.js.map +1 -0
- package/lib/subagent/im-result-sink.d.ts.map +1 -1
- package/lib/subagent/im-result-sink.js +0 -1
- package/lib/subagent/im-result-sink.js.map +1 -1
- package/lib/subagent-goal-notify.d.ts +0 -9
- package/lib/subagent-goal-notify.d.ts.map +1 -1
- package/lib/subagent-goal-notify.js +0 -13
- package/lib/subagent-goal-notify.js.map +1 -1
- package/lib/task-executor.d.ts +14 -3
- package/lib/task-executor.d.ts.map +1 -1
- package/lib/task-executor.js +48 -61
- package/lib/task-executor.js.map +1 -1
- package/lib/tool/classic-tool-execution-authority.d.ts.map +1 -1
- package/lib/tool/classic-tool-execution-authority.js +4 -3
- package/lib/tool/classic-tool-execution-authority.js.map +1 -1
- package/lib/tool/prepare-turn-tools.d.ts +0 -2
- package/lib/tool/prepare-turn-tools.d.ts.map +1 -1
- package/lib/tool/prepare-turn-tools.js +1 -55
- package/lib/tool/prepare-turn-tools.js.map +1 -1
- package/lib/tool/tool-runtime.d.ts +1 -1
- package/lib/tool/tool-runtime.d.ts.map +1 -1
- package/lib/turn/auto-continue.js +1 -1
- package/lib/turn/auto-continue.js.map +1 -1
- package/lib/turn/cancel-intent.d.ts +2 -0
- package/lib/turn/cancel-intent.d.ts.map +1 -0
- package/lib/turn/cancel-intent.js +5 -0
- package/lib/turn/cancel-intent.js.map +1 -0
- package/lib/turn/index.d.ts +2 -0
- package/lib/turn/index.d.ts.map +1 -1
- package/lib/turn/index.js +2 -0
- package/lib/turn/index.js.map +1 -1
- package/lib/turn/persist-deferred-context.js +1 -1
- package/lib/turn/persist-deferred-context.js.map +1 -1
- package/lib/turn/persist-subagent-context.js +1 -1
- package/lib/turn/persist-subagent-context.js.map +1 -1
- package/lib/turn/process-stream.d.ts.map +1 -1
- package/lib/turn/process-stream.js +0 -2
- package/lib/turn/process-stream.js.map +1 -1
- package/lib/turn/prompt-controller.d.ts +2 -0
- package/lib/turn/prompt-controller.d.ts.map +1 -1
- package/lib/turn/prompt-controller.js +9 -0
- package/lib/turn/prompt-controller.js.map +1 -1
- package/lib/turn/trigger-cancelled-error.d.ts +10 -0
- package/lib/turn/trigger-cancelled-error.d.ts.map +1 -0
- package/lib/turn/trigger-cancelled-error.js +19 -0
- package/lib/turn/trigger-cancelled-error.js.map +1 -0
- package/lib/turn/turn-ingress.d.ts +21 -1
- package/lib/turn/turn-ingress.d.ts.map +1 -1
- package/lib/turn/turn-ingress.js +29 -0
- package/lib/turn/turn-ingress.js.map +1 -1
- package/lib/turn/turn-pipeline.d.ts +0 -5
- package/lib/turn/turn-pipeline.d.ts.map +1 -1
- package/lib/turn/turn-pipeline.js +12 -32
- package/lib/turn/turn-pipeline.js.map +1 -1
- package/lib/turn/turn-terminal.d.ts.map +1 -1
- package/lib/turn/turn-terminal.js +4 -0
- package/lib/turn/turn-terminal.js.map +1 -1
- package/lib/typing-indicator/adapter-integration.d.ts +1 -2
- package/lib/typing-indicator/adapter-integration.d.ts.map +1 -1
- package/lib/typing-indicator/adapter-integration.js.map +1 -1
- package/lib/typing-indicator/index.d.ts.map +1 -1
- package/lib/typing-indicator/index.js +3 -6
- package/lib/typing-indicator/index.js.map +1 -1
- package/lib/typing-indicator/integration.d.ts +2 -3
- package/lib/typing-indicator/integration.d.ts.map +1 -1
- package/lib/typing-indicator/integration.js +51 -17
- package/lib/typing-indicator/integration.js.map +1 -1
- package/lib/zhin-agent/index.d.ts +5 -8
- package/lib/zhin-agent/index.d.ts.map +1 -1
- package/lib/zhin-agent/index.js +21 -15
- package/lib/zhin-agent/index.js.map +1 -1
- package/package.json +9 -9
- package/lib/aop/index.d.ts +0 -11
- package/lib/aop/index.d.ts.map +0 -1
- package/lib/aop/index.js +0 -11
- package/lib/aop/index.js.map +0 -1
- package/lib/aop/pipeline/index.d.ts +0 -12
- package/lib/aop/pipeline/index.d.ts.map +0 -1
- package/lib/aop/pipeline/index.js +0 -12
- package/lib/aop/pipeline/index.js.map +0 -1
- package/lib/aop/pipeline/pipeline-flow.d.ts +0 -25
- package/lib/aop/pipeline/pipeline-flow.d.ts.map +0 -1
- package/lib/aop/pipeline/pipeline-flow.js +0 -115
- package/lib/aop/pipeline/pipeline-flow.js.map +0 -1
- package/lib/aop/pipeline/pipeline-mode.d.ts +0 -10
- package/lib/aop/pipeline/pipeline-mode.d.ts.map +0 -1
- package/lib/aop/pipeline/pipeline-mode.js +0 -16
- package/lib/aop/pipeline/pipeline-mode.js.map +0 -1
- package/lib/aop/pipeline/pipeline-service.d.ts +0 -123
- package/lib/aop/pipeline/pipeline-service.d.ts.map +0 -1
- package/lib/aop/pipeline/pipeline-service.js +0 -238
- package/lib/aop/pipeline/pipeline-service.js.map +0 -1
- package/lib/aop/pipeline/pipeline-transitions.d.ts +0 -14
- package/lib/aop/pipeline/pipeline-transitions.d.ts.map +0 -1
- package/lib/aop/pipeline/pipeline-transitions.js +0 -31
- package/lib/aop/pipeline/pipeline-transitions.js.map +0 -1
- package/lib/aop/pipeline/ports.d.ts +0 -16
- package/lib/aop/pipeline/ports.d.ts.map +0 -1
- package/lib/aop/pipeline/ports.js +0 -2
- package/lib/aop/pipeline/ports.js.map +0 -1
- package/lib/aop/pipeline/role-capability-policy.d.ts +0 -16
- package/lib/aop/pipeline/role-capability-policy.d.ts.map +0 -1
- package/lib/aop/pipeline/role-capability-policy.js +0 -29
- package/lib/aop/pipeline/role-capability-policy.js.map +0 -1
- package/lib/aop/runtime/index.d.ts +0 -9
- package/lib/aop/runtime/index.d.ts.map +0 -1
- package/lib/aop/runtime/index.js +0 -9
- package/lib/aop/runtime/index.js.map +0 -1
- package/lib/collaboration/collab-admin-gate.d.ts +0 -21
- package/lib/collaboration/collab-admin-gate.d.ts.map +0 -1
- package/lib/collaboration/collab-admin-gate.js +0 -74
- package/lib/collaboration/collab-admin-gate.js.map +0 -1
- package/lib/collaboration/collab-utils.d.ts +0 -15
- package/lib/collaboration/collab-utils.d.ts.map +0 -1
- package/lib/collaboration/collab-utils.js +0 -37
- package/lib/collaboration/collab-utils.js.map +0 -1
- package/lib/collaboration/collaboration-artifact-repository.d.ts +0 -48
- package/lib/collaboration/collaboration-artifact-repository.d.ts.map +0 -1
- package/lib/collaboration/collaboration-artifact-repository.js +0 -114
- package/lib/collaboration/collaboration-artifact-repository.js.map +0 -1
- package/lib/collaboration/collaboration-commands.d.ts +0 -38
- package/lib/collaboration/collaboration-commands.d.ts.map +0 -1
- package/lib/collaboration/collaboration-commands.js +0 -373
- package/lib/collaboration/collaboration-commands.js.map +0 -1
- package/lib/collaboration/collaboration-config.d.ts +0 -30
- package/lib/collaboration/collaboration-config.d.ts.map +0 -1
- package/lib/collaboration/collaboration-config.js +0 -170
- package/lib/collaboration/collaboration-config.js.map +0 -1
- package/lib/collaboration/collaboration-context.d.ts +0 -15
- package/lib/collaboration/collaboration-context.d.ts.map +0 -1
- package/lib/collaboration/collaboration-context.js +0 -101
- package/lib/collaboration/collaboration-context.js.map +0 -1
- package/lib/collaboration/collaboration-db-model.d.ts +0 -350
- package/lib/collaboration/collaboration-db-model.d.ts.map +0 -1
- package/lib/collaboration/collaboration-db-model.js +0 -112
- package/lib/collaboration/collaboration-db-model.js.map +0 -1
- package/lib/collaboration/collaboration-delegation.d.ts +0 -21
- package/lib/collaboration/collaboration-delegation.d.ts.map +0 -1
- package/lib/collaboration/collaboration-delegation.js +0 -221
- package/lib/collaboration/collaboration-delegation.js.map +0 -1
- package/lib/collaboration/collaboration-dispatch.d.ts +0 -32
- package/lib/collaboration/collaboration-dispatch.d.ts.map +0 -1
- package/lib/collaboration/collaboration-dispatch.js +0 -93
- package/lib/collaboration/collaboration-dispatch.js.map +0 -1
- package/lib/collaboration/collaboration-kernel-bridge.d.ts +0 -23
- package/lib/collaboration/collaboration-kernel-bridge.d.ts.map +0 -1
- package/lib/collaboration/collaboration-kernel-bridge.js +0 -105
- package/lib/collaboration/collaboration-kernel-bridge.js.map +0 -1
- package/lib/collaboration/collaboration-outbound.d.ts +0 -64
- package/lib/collaboration/collaboration-outbound.d.ts.map +0 -1
- package/lib/collaboration/collaboration-outbound.js +0 -312
- package/lib/collaboration/collaboration-outbound.js.map +0 -1
- package/lib/collaboration/collaboration-scene-repository.d.ts +0 -154
- package/lib/collaboration/collaboration-scene-repository.d.ts.map +0 -1
- package/lib/collaboration/collaboration-scene-repository.js +0 -451
- package/lib/collaboration/collaboration-scene-repository.js.map +0 -1
- package/lib/collaboration/collaboration-turn-snapshot.d.ts +0 -18
- package/lib/collaboration/collaboration-turn-snapshot.d.ts.map +0 -1
- package/lib/collaboration/collaboration-turn-snapshot.js +0 -35
- package/lib/collaboration/collaboration-turn-snapshot.js.map +0 -1
- package/lib/collaboration/delegation-state.d.ts +0 -30
- package/lib/collaboration/delegation-state.d.ts.map +0 -1
- package/lib/collaboration/delegation-state.js +0 -86
- package/lib/collaboration/delegation-state.js.map +0 -1
- package/lib/collaboration/endpoint-identity.d.ts +0 -28
- package/lib/collaboration/endpoint-identity.d.ts.map +0 -1
- package/lib/collaboration/endpoint-identity.js +0 -80
- package/lib/collaboration/endpoint-identity.js.map +0 -1
- package/lib/collaboration/group-feed.d.ts +0 -30
- package/lib/collaboration/group-feed.d.ts.map +0 -1
- package/lib/collaboration/group-feed.js +0 -150
- package/lib/collaboration/group-feed.js.map +0 -1
- package/lib/collaboration/group-message.d.ts +0 -53
- package/lib/collaboration/group-message.d.ts.map +0 -1
- package/lib/collaboration/group-message.js +0 -101
- package/lib/collaboration/group-message.js.map +0 -1
- package/lib/collaboration/im-mention-delegate.d.ts +0 -22
- package/lib/collaboration/im-mention-delegate.d.ts.map +0 -1
- package/lib/collaboration/im-mention-delegate.js +0 -15
- package/lib/collaboration/im-mention-delegate.js.map +0 -1
- package/lib/collaboration/inbound-peer-handback.d.ts +0 -18
- package/lib/collaboration/inbound-peer-handback.d.ts.map +0 -1
- package/lib/collaboration/inbound-peer-handback.js +0 -65
- package/lib/collaboration/inbound-peer-handback.js.map +0 -1
- package/lib/collaboration/inbound-spawn-task.d.ts +0 -29
- package/lib/collaboration/inbound-spawn-task.d.ts.map +0 -1
- package/lib/collaboration/inbound-spawn-task.js +0 -96
- package/lib/collaboration/inbound-spawn-task.js.map +0 -1
- package/lib/collaboration/inbound-turn-endpoint.d.ts +0 -16
- package/lib/collaboration/inbound-turn-endpoint.d.ts.map +0 -1
- package/lib/collaboration/inbound-turn-endpoint.js +0 -26
- package/lib/collaboration/inbound-turn-endpoint.js.map +0 -1
- package/lib/collaboration/inbound-turn-tools.d.ts +0 -13
- package/lib/collaboration/inbound-turn-tools.d.ts.map +0 -1
- package/lib/collaboration/inbound-turn-tools.js +0 -24
- package/lib/collaboration/inbound-turn-tools.js.map +0 -1
- package/lib/collaboration/index.d.ts +0 -21
- package/lib/collaboration/index.d.ts.map +0 -1
- package/lib/collaboration/index.js +0 -19
- package/lib/collaboration/index.js.map +0 -1
- package/lib/collaboration/init-observe-hook.d.ts +0 -56
- package/lib/collaboration/init-observe-hook.d.ts.map +0 -1
- package/lib/collaboration/init-observe-hook.js +0 -168
- package/lib/collaboration/init-observe-hook.js.map +0 -1
- package/lib/collaboration/init-wizard-service.d.ts +0 -57
- package/lib/collaboration/init-wizard-service.d.ts.map +0 -1
- package/lib/collaboration/init-wizard-service.js +0 -187
- package/lib/collaboration/init-wizard-service.js.map +0 -1
- package/lib/collaboration/outbound-resolver.d.ts +0 -37
- package/lib/collaboration/outbound-resolver.d.ts.map +0 -1
- package/lib/collaboration/outbound-resolver.js +0 -189
- package/lib/collaboration/outbound-resolver.js.map +0 -1
- package/lib/collaboration/peer-policy.d.ts +0 -29
- package/lib/collaboration/peer-policy.d.ts.map +0 -1
- package/lib/collaboration/peer-policy.js +0 -118
- package/lib/collaboration/peer-policy.js.map +0 -1
- package/lib/collaboration/resolve-agent-session-key.d.ts +0 -21
- package/lib/collaboration/resolve-agent-session-key.d.ts.map +0 -1
- package/lib/collaboration/resolve-agent-session-key.js +0 -61
- package/lib/collaboration/resolve-agent-session-key.js.map +0 -1
- package/lib/collaboration/runtime-inbound-gate.d.ts +0 -35
- package/lib/collaboration/runtime-inbound-gate.d.ts.map +0 -1
- package/lib/collaboration/runtime-inbound-gate.js +0 -105
- package/lib/collaboration/runtime-inbound-gate.js.map +0 -1
- package/lib/collaboration/scene-context.d.ts +0 -17
- package/lib/collaboration/scene-context.d.ts.map +0 -1
- package/lib/collaboration/scene-context.js +0 -22
- package/lib/collaboration/scene-context.js.map +0 -1
- package/lib/collaboration/scene-identity-service.d.ts +0 -169
- package/lib/collaboration/scene-identity-service.d.ts.map +0 -1
- package/lib/collaboration/scene-identity-service.js +0 -479
- package/lib/collaboration/scene-identity-service.js.map +0 -1
- package/lib/collaboration/scene-service.d.ts +0 -67
- package/lib/collaboration/scene-service.d.ts.map +0 -1
- package/lib/collaboration/scene-service.js +0 -157
- package/lib/collaboration/scene-service.js.map +0 -1
- package/lib/collaboration/structured-ai-outbound.d.ts +0 -25
- package/lib/collaboration/structured-ai-outbound.d.ts.map +0 -1
- package/lib/collaboration/structured-ai-outbound.js +0 -179
- package/lib/collaboration/structured-ai-outbound.js.map +0 -1
- package/lib/collaboration/turn-plan-resolver.d.ts +0 -17
- package/lib/collaboration/turn-plan-resolver.d.ts.map +0 -1
- package/lib/collaboration/turn-plan-resolver.js +0 -63
- package/lib/collaboration/turn-plan-resolver.js.map +0 -1
- package/lib/collaboration/types.d.ts +0 -147
- package/lib/collaboration/types.d.ts.map +0 -1
- package/lib/collaboration/types.js +0 -16
- package/lib/collaboration/types.js.map +0 -1
- package/lib/collaboration/wire-collaboration-storage.d.ts +0 -4
- package/lib/collaboration/wire-collaboration-storage.d.ts.map +0 -1
- package/lib/collaboration/wire-collaboration-storage.js +0 -26
- package/lib/collaboration/wire-collaboration-storage.js.map +0 -1
- package/lib/config/resolve-pipeline-binding.d.ts +0 -16
- package/lib/config/resolve-pipeline-binding.d.ts.map +0 -1
- package/lib/config/resolve-pipeline-binding.js +0 -35
- package/lib/config/resolve-pipeline-binding.js.map +0 -1
- package/lib/discovery/register-agent-surface.d.ts +0 -33
- package/lib/discovery/register-agent-surface.d.ts.map +0 -1
- package/lib/discovery/register-agent-surface.js +0 -170
- package/lib/discovery/register-agent-surface.js.map +0 -1
- package/lib/init/create-zhin-agent.d.ts +0 -3
- package/lib/init/create-zhin-agent.d.ts.map +0 -1
- package/lib/init/create-zhin-agent.js +0 -401
- package/lib/init/create-zhin-agent.js.map +0 -1
- package/lib/init/register-ai-service.d.ts +0 -7
- package/lib/init/register-ai-service.d.ts.map +0 -1
- package/lib/init/register-ai-service.js +0 -45
- package/lib/init/register-ai-service.js.map +0 -1
- package/lib/init/register-builtin-tools.d.ts +0 -3
- package/lib/init/register-builtin-tools.d.ts.map +0 -1
- package/lib/init/register-builtin-tools.js +0 -411
- package/lib/init/register-builtin-tools.js.map +0 -1
- package/lib/init/register-capability-features.d.ts +0 -2
- package/lib/init/register-capability-features.d.ts.map +0 -1
- package/lib/init/register-capability-features.js +0 -28
- package/lib/init/register-capability-features.js.map +0 -1
- package/lib/init/register-collaboration-commands.d.ts +0 -2
- package/lib/init/register-collaboration-commands.d.ts.map +0 -1
- package/lib/init/register-collaboration-commands.js +0 -110
- package/lib/init/register-collaboration-commands.js.map +0 -1
- package/lib/init/register-db-models.d.ts +0 -2
- package/lib/init/register-db-models.d.ts.map +0 -1
- package/lib/init/register-db-models.js +0 -18
- package/lib/init/register-db-models.js.map +0 -1
- package/lib/init/register-db-upgrade.d.ts +0 -7
- package/lib/init/register-db-upgrade.d.ts.map +0 -1
- package/lib/init/register-db-upgrade.js +0 -79
- package/lib/init/register-db-upgrade.js.map +0 -1
- package/lib/init/register-group-session-passive.d.ts +0 -3
- package/lib/init/register-group-session-passive.d.ts.map +0 -1
- package/lib/init/register-group-session-passive.js +0 -61
- package/lib/init/register-group-session-passive.js.map +0 -1
- package/lib/init/register-im-segment-filter.d.ts +0 -2
- package/lib/init/register-im-segment-filter.d.ts.map +0 -1
- package/lib/init/register-im-segment-filter.js +0 -23
- package/lib/init/register-im-segment-filter.js.map +0 -1
- package/lib/init/register-init-wizard-guardrail.d.ts +0 -2
- package/lib/init/register-init-wizard-guardrail.d.ts.map +0 -1
- package/lib/init/register-init-wizard-guardrail.js +0 -41
- package/lib/init/register-init-wizard-guardrail.js.map +0 -1
- package/lib/init/register-introspection-commands.d.ts +0 -3
- package/lib/init/register-introspection-commands.d.ts.map +0 -1
- package/lib/init/register-introspection-commands.js +0 -107
- package/lib/init/register-introspection-commands.js.map +0 -1
- package/lib/init/register-management-tools.d.ts +0 -10
- package/lib/init/register-management-tools.d.ts.map +0 -1
- package/lib/init/register-management-tools.js +0 -42
- package/lib/init/register-management-tools.js.map +0 -1
- package/lib/init/register-mcp-from-config.d.ts +0 -2
- package/lib/init/register-mcp-from-config.d.ts.map +0 -1
- package/lib/init/register-mcp-from-config.js +0 -87
- package/lib/init/register-mcp-from-config.js.map +0 -1
- package/lib/init/register-orchestrator.d.ts +0 -2
- package/lib/init/register-orchestrator.d.ts.map +0 -1
- package/lib/init/register-orchestrator.js +0 -15
- package/lib/init/register-orchestrator.js.map +0 -1
- package/lib/init/register-tool-service.d.ts +0 -2
- package/lib/init/register-tool-service.d.ts.map +0 -1
- package/lib/init/register-tool-service.js +0 -9
- package/lib/init/register-tool-service.js.map +0 -1
- package/lib/init/shared-refs.d.ts +0 -14
- package/lib/init/shared-refs.d.ts.map +0 -1
- package/lib/init/shared-refs.js +0 -7
- package/lib/init/shared-refs.js.map +0 -1
- package/lib/init/types.d.ts +0 -26
- package/lib/init/types.d.ts.map +0 -1
- package/lib/init/types.js +0 -7
- package/lib/init/types.js.map +0 -1
- package/lib/init.d.ts +0 -7
- package/lib/init.d.ts.map +0 -1
- package/lib/init.js +0 -11
- package/lib/init.js.map +0 -1
- package/lib/schedule-domain/tool-resolver.d.ts +0 -20
- package/lib/schedule-domain/tool-resolver.d.ts.map +0 -1
- package/lib/schedule-domain/tool-resolver.js +0 -80
- package/lib/schedule-domain/tool-resolver.js.map +0 -1
- package/lib/schedule-domain/turn-context.d.ts +0 -9
- package/lib/schedule-domain/turn-context.d.ts.map +0 -1
- package/lib/schedule-domain/turn-context.js +0 -36
- package/lib/schedule-domain/turn-context.js.map +0 -1
- package/lib/session/agent-session-host-port.d.ts +0 -23
- package/lib/session/agent-session-host-port.d.ts.map +0 -1
- package/lib/session/agent-session-host-port.js +0 -61
- package/lib/session/agent-session-host-port.js.map +0 -1
- package/lib/session/http-agent-session-store.d.ts +0 -76
- package/lib/session/http-agent-session-store.d.ts.map +0 -1
- package/lib/session/http-agent-session-store.js +0 -211
- package/lib/session/http-agent-session-store.js.map +0 -1
- package/lib/session/http-approval-adapter.d.ts +0 -11
- package/lib/session/http-approval-adapter.d.ts.map +0 -1
- package/lib/session/http-approval-adapter.js +0 -19
- package/lib/session/http-approval-adapter.js.map +0 -1
- package/lib/session/http-approval-waiter.d.ts +0 -11
- package/lib/session/http-approval-waiter.d.ts.map +0 -1
- package/lib/session/http-approval-waiter.js +0 -61
- package/lib/session/http-approval-waiter.js.map +0 -1
- package/lib/session/http-session-persistence.d.ts +0 -28
- package/lib/session/http-session-persistence.d.ts.map +0 -1
- package/lib/session/http-session-persistence.js +0 -60
- package/lib/session/http-session-persistence.js.map +0 -1
- package/lib/session/http-session-sink.d.ts +0 -11
- package/lib/session/http-session-sink.d.ts.map +0 -1
- package/lib/session/http-session-sink.js +0 -32
- package/lib/session/http-session-sink.js.map +0 -1
- package/lib/session/http-step-projector.d.ts +0 -16
- package/lib/session/http-step-projector.d.ts.map +0 -1
- package/lib/session/http-step-projector.js +0 -118
- package/lib/session/http-step-projector.js.map +0 -1
- package/lib/session/http-turn-runner.d.ts +0 -16
- package/lib/session/http-turn-runner.d.ts.map +0 -1
- package/lib/session/http-turn-runner.js +0 -57
- package/lib/session/http-turn-runner.js.map +0 -1
- package/lib/session/park-controller.d.ts +0 -24
- package/lib/session/park-controller.d.ts.map +0 -1
- package/lib/session/park-controller.js +0 -58
- package/lib/session/park-controller.js.map +0 -1
- package/lib/session/resolve-approval-port.d.ts +0 -7
- package/lib/session/resolve-approval-port.d.ts.map +0 -1
- package/lib/session/resolve-approval-port.js +0 -13
- package/lib/session/resolve-approval-port.js.map +0 -1
- package/lib/session/session-event-log.d.ts +0 -17
- package/lib/session/session-event-log.d.ts.map +0 -1
- package/lib/session/session-event-log.js +0 -56
- package/lib/session/session-event-log.js.map +0 -1
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { ScheduleJobCreator } from '../assistant/types.js';
|
|
2
|
-
import type { ZhinAgentPrivate } from '../internal/agent-host.js';
|
|
3
|
-
import type { HostScheduleSecurityContext } from '../internal/host-types.js';
|
|
4
2
|
export interface SchedulePromptAssemblerInput {
|
|
5
3
|
jobId: string;
|
|
6
4
|
prompt: string;
|
|
@@ -11,12 +9,13 @@ export interface SchedulePromptAssemblerInput {
|
|
|
11
9
|
memoryContext?: string;
|
|
12
10
|
skillContext?: string;
|
|
13
11
|
bootstrapContext?: string;
|
|
14
|
-
security?: Readonly<
|
|
12
|
+
security?: Readonly<{
|
|
13
|
+
execPreset: 'readonly' | 'network';
|
|
14
|
+
}>;
|
|
15
15
|
}
|
|
16
16
|
export interface SchedulePromptAssembly {
|
|
17
17
|
systemPrompt: string;
|
|
18
18
|
userPrompt: string;
|
|
19
19
|
}
|
|
20
20
|
export declare function assembleSchedulePrompt(input: SchedulePromptAssemblerInput): SchedulePromptAssembly;
|
|
21
|
-
export declare function loadScheduleSkillContext(host: ZhinAgentPrivate, skillNames: string[]): Promise<string>;
|
|
22
21
|
//# sourceMappingURL=prompt-assembler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-assembler.d.ts","sourceRoot":"","sources":["../../src/schedule-domain/prompt-assembler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"prompt-assembler.d.ts","sourceRoot":"","sources":["../../src/schedule-domain/prompt-assembler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC;QAAE,UAAU,EAAE,UAAU,GAAG,SAAS,CAAA;KAAE,CAAC,CAAC;CAC7D;AAED,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB;AAqBD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,GAAG,sBAAsB,CAyClG"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { readSkillInstructions } from '../builtin/load-skill-tool.js';
|
|
2
|
-
import { buildSkillLoadOptsForAgent } from '../skill/skill-load-opts.js';
|
|
3
1
|
function formatTime(now, timeZone) {
|
|
4
2
|
return new Intl.DateTimeFormat('zh-CN', {
|
|
5
3
|
timeZone,
|
|
@@ -58,18 +56,4 @@ export function assembleSchedulePrompt(input) {
|
|
|
58
56
|
userPrompt: input.prompt.trim(),
|
|
59
57
|
};
|
|
60
58
|
}
|
|
61
|
-
export async function loadScheduleSkillContext(host, skillNames) {
|
|
62
|
-
if (!host.skillRegistry || skillNames.length === 0)
|
|
63
|
-
return '';
|
|
64
|
-
const options = buildSkillLoadOptsForAgent(host);
|
|
65
|
-
const instructions = [];
|
|
66
|
-
for (const name of skillNames) {
|
|
67
|
-
if (!host.skillRegistry.getByName(name))
|
|
68
|
-
continue;
|
|
69
|
-
const content = await readSkillInstructions(name, options);
|
|
70
|
-
if (!content.startsWith(`Skill '${name}' not found`))
|
|
71
|
-
instructions.push(content);
|
|
72
|
-
}
|
|
73
|
-
return instructions.join('\n\n');
|
|
74
|
-
}
|
|
75
59
|
//# sourceMappingURL=prompt-assembler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt-assembler.js","sourceRoot":"","sources":["../../src/schedule-domain/prompt-assembler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prompt-assembler.js","sourceRoot":"","sources":["../../src/schedule-domain/prompt-assembler.ts"],"names":[],"mappings":"AAoBA,SAAS,UAAU,CAAC,GAAS,EAAE,QAAiB;IAC9C,OAAO,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE;QACtC,QAAQ;QACR,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,GAAG,EAAE,SAAS;QACd,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,MAAM;QACf,MAAM,EAAE,KAAK;KACd,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AACjB,CAAC;AAED,SAAS,OAAO,CAAC,KAAa,EAAE,OAAgB;IAC9C,MAAM,KAAK,GAAG,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,KAAK,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC/C,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,KAAmC;IACxE,MAAM,OAAO,GAAG,KAAK,CAAC,SAAS;QAC7B,CAAC,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,IAAI,IAAI,KAAK,CAAC,SAAS,CAAC,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,UAAU,GAAG;QACzG,CAAC,CAAC,mBAAmB,CAAC;IACxB,MAAM,QAAQ,GAAG;QACf,WAAW;QACX,6BAA6B;QAC7B,0BAA0B;QAC1B,uCAAuC;KACxC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,MAAM,OAAO,GAAG;QACd,SAAS;QACT,SAAS,UAAU,CAAC,KAAK,CAAC,GAAG,IAAI,IAAI,IAAI,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE;QAC9D,UAAU,KAAK,CAAC,KAAK,EAAE;QACvB,QAAQ,OAAO,EAAE;KAClB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,MAAM,UAAU,GAAG,KAAK,CAAC,QAAQ,EAAE,UAAU,IAAI,UAAU,CAAC;IAC5D,MAAM,MAAM,GAAG;QACb,QAAQ;QACR,qBAAqB;QACrB,eAAe,UAAU,qBAAqB;QAC9C,+BAA+B;KAChC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,MAAM,MAAM,GAAG;QACb,QAAQ;QACR,8BAA8B;KAC/B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEb,OAAO;QACL,YAAY,EAAE;YACZ,QAAQ;YACR,OAAO;YACP,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,eAAe,CAAC;YACvC,MAAM;YACN,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC;YACnC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;YAClC,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,gBAAgB,CAAC;YAC/C,MAAM;SACP,CAAC,MAAM,CAAC,CAAC,KAAK,EAAmB,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACjE,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE;KAChC,CAAC;AACJ,CAAC"}
|
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
import type { ScheduleJobCreator } from '../assistant/types.js';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
2
|
+
export interface ScheduleSecurityContext {
|
|
3
|
+
readonly execPreset: 'readonly' | 'network';
|
|
4
|
+
readonly rejectOwnerApproval: true;
|
|
5
|
+
readonly allowedDomains: readonly string[];
|
|
6
|
+
}
|
|
7
|
+
export interface ScheduleSecurityDenial {
|
|
8
|
+
readonly tool: string;
|
|
9
|
+
readonly policy: string;
|
|
10
|
+
readonly reason: string;
|
|
11
|
+
}
|
|
8
12
|
export declare function createScheduleSecurityContext(execPreset?: ScheduleSecurityContext['execPreset'], allowedDomains?: string[]): ScheduleSecurityContext;
|
|
9
13
|
export declare function demoteScheduleCreator(creator: ScheduleJobCreator): ScheduleJobCreator;
|
|
10
|
-
export declare function hardenSchedulePolicyInput(input: ToolPolicyInput, context: ScheduleSecurityContext): ToolPolicyInput;
|
|
11
|
-
export interface SecureScheduleToolsInput {
|
|
12
|
-
tools: AgentTool[];
|
|
13
|
-
message: Message;
|
|
14
|
-
config: Required<ZhinAgentConfig>;
|
|
15
|
-
context: ScheduleSecurityContext;
|
|
16
|
-
onDenial?: (denial: ScheduleSecurityDenial) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare function secureScheduleTools(input: SecureScheduleToolsInput): AgentTool[];
|
|
19
14
|
//# sourceMappingURL=security-harness.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security-harness.d.ts","sourceRoot":"","sources":["../../src/schedule-domain/security-harness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"security-harness.d.ts","sourceRoot":"","sources":["../../src/schedule-domain/security-harness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,UAAU,EAAE,UAAU,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,mBAAmB,EAAE,IAAI,CAAC;IACnC,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5C;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,GAAE,uBAAuB,CAAC,YAAY,CAAc,EAC9D,cAAc,GAAE,MAAM,EAAO,GAC5B,uBAAuB,CAMzB;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,kBAAkB,GAAG,kBAAkB,CAOrF"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { runToolPolicies } from '../security/policy-facade.js';
|
|
2
|
-
import { runWithToolNetworkPolicy } from '../security/network-policy-context.js';
|
|
3
|
-
import { extractUrlsFromCommand } from '../security/network-policy.js';
|
|
4
1
|
export function createScheduleSecurityContext(execPreset = 'readonly', allowedDomains = []) {
|
|
5
|
-
return {
|
|
2
|
+
return Object.freeze({
|
|
3
|
+
execPreset,
|
|
4
|
+
rejectOwnerApproval: true,
|
|
5
|
+
allowedDomains: Object.freeze([...allowedDomains]),
|
|
6
|
+
});
|
|
6
7
|
}
|
|
7
8
|
export function demoteScheduleCreator(creator) {
|
|
8
9
|
const roles = creator.roles.includes('master')
|
|
@@ -12,78 +13,4 @@ export function demoteScheduleCreator(creator) {
|
|
|
12
13
|
: [];
|
|
13
14
|
return { ...creator, roles };
|
|
14
15
|
}
|
|
15
|
-
export function hardenSchedulePolicyInput(input, context) {
|
|
16
|
-
return {
|
|
17
|
-
...input,
|
|
18
|
-
config: input.config
|
|
19
|
-
? {
|
|
20
|
-
...input.config,
|
|
21
|
-
execSecurity: 'allowlist',
|
|
22
|
-
execPreset: context.execPreset,
|
|
23
|
-
execApprovalMode: context.rejectOwnerApproval ? 'deny' : input.config.execApprovalMode,
|
|
24
|
-
}
|
|
25
|
-
: undefined,
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
function pathArgument(args) {
|
|
29
|
-
const value = args.path ?? args.file_path ?? args.filePath ?? args.cwd;
|
|
30
|
-
return typeof value === 'string' ? value : undefined;
|
|
31
|
-
}
|
|
32
|
-
const NETWORK_COMMAND = /(?:^|[;&|]\s*)(curl|wget|ping|dig|nslookup|host)\b/i;
|
|
33
|
-
export function secureScheduleTools(input) {
|
|
34
|
-
const networkPolicy = {
|
|
35
|
-
httpsOnly: true,
|
|
36
|
-
allowedDomains: input.context.allowedDomains,
|
|
37
|
-
};
|
|
38
|
-
return input.tools.map(tool => ({
|
|
39
|
-
...tool,
|
|
40
|
-
execute: async (args) => {
|
|
41
|
-
const command = tool.name === 'bash' ? String(args.command ?? '') : undefined;
|
|
42
|
-
const filePath = pathArgument(args);
|
|
43
|
-
const networkUrls = [
|
|
44
|
-
...(typeof args.url === 'string' ? [args.url] : []),
|
|
45
|
-
...(command ? extractUrlsFromCommand(command) : []),
|
|
46
|
-
];
|
|
47
|
-
if (command && NETWORK_COMMAND.test(command) && networkUrls.length === 0) {
|
|
48
|
-
const denial = {
|
|
49
|
-
tool: tool.name,
|
|
50
|
-
policy: 'network-access',
|
|
51
|
-
reason: '无人值守网络命令必须包含可校验的绝对 HTTPS URL',
|
|
52
|
-
};
|
|
53
|
-
input.onDenial?.(denial);
|
|
54
|
-
return `Error: ${denial.reason}`;
|
|
55
|
-
}
|
|
56
|
-
for (const networkUrl of networkUrls) {
|
|
57
|
-
const decision = runToolPolicies({ toolName: tool.name, networkUrl, networkPolicy });
|
|
58
|
-
if (!decision.allowed) {
|
|
59
|
-
const denial = {
|
|
60
|
-
tool: tool.name,
|
|
61
|
-
policy: decision.deniedBy ?? 'network-access',
|
|
62
|
-
reason: decision.reason ?? '网络访问被拒绝',
|
|
63
|
-
};
|
|
64
|
-
input.onDenial?.(denial);
|
|
65
|
-
return `Error: ${denial.reason}`;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
const policy = runToolPolicies(hardenSchedulePolicyInput({
|
|
69
|
-
toolName: tool.name,
|
|
70
|
-
command,
|
|
71
|
-
filePath,
|
|
72
|
-
rawFilePath: filePath,
|
|
73
|
-
commMessage: input.message,
|
|
74
|
-
config: input.config,
|
|
75
|
-
}, input.context));
|
|
76
|
-
if (!policy.allowed || policy.needsOwnerApproval) {
|
|
77
|
-
const denial = {
|
|
78
|
-
tool: tool.name,
|
|
79
|
-
policy: policy.deniedBy ?? 'schedule-security',
|
|
80
|
-
reason: policy.reason ?? '无人值守执行不允许审批或越权操作',
|
|
81
|
-
};
|
|
82
|
-
input.onDenial?.(denial);
|
|
83
|
-
return `Error: ${denial.reason}`;
|
|
84
|
-
}
|
|
85
|
-
return runWithToolNetworkPolicy(networkPolicy, () => tool.execute(args));
|
|
86
|
-
},
|
|
87
|
-
}));
|
|
88
|
-
}
|
|
89
16
|
//# sourceMappingURL=security-harness.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security-harness.js","sourceRoot":"","sources":["../../src/schedule-domain/security-harness.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"security-harness.js","sourceRoot":"","sources":["../../src/schedule-domain/security-harness.ts"],"names":[],"mappings":"AAcA,MAAM,UAAU,6BAA6B,CAC3C,aAAoD,UAAU,EAC9D,iBAA2B,EAAE;IAE7B,OAAO,MAAM,CAAC,MAAM,CAAC;QACnB,UAAU;QACV,mBAAmB,EAAE,IAAI;QACzB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC;KACnD,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,OAA2B;IAC/D,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAC5C,CAAC,CAAC,CAAC,SAAS,CAAU;QACtB,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;YACjC,CAAC,CAAC,CAAC,MAAM,CAAU;YACnB,CAAC,CAAC,EAAE,CAAC;IACT,OAAO,EAAE,GAAG,OAAO,EAAE,KAAK,EAAE,CAAC;AAC/B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { SeamProviderRegistry } from './seam-provider.js';
|
|
2
|
+
export type { SeamProvider, SeamScope } from './seam-provider.js';
|
|
3
|
+
export type { ToolService, ToolServiceProvider, ToolSchema, ToolExecutionResult, } from './tool-service.js';
|
|
4
|
+
export type { SkillService, SkillServiceProvider, SkillMetadata, SkillInvocationRequest, SkillInvocationResult, } from './skill-service.js';
|
|
5
|
+
export { SeamIntegration } from './seam-integration.js';
|
|
6
|
+
export { seamIntegrationToken } from './tokens.js';
|
|
7
|
+
export type { SeamIntegrationToken } from './tokens.js';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/seam/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAElE,YAAY,EACV,WAAW,EACX,mBAAmB,EACnB,UAAU,EACV,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAE3B,YAAY,EACV,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,YAAY,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/seam/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAkB1D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 统一的能力接缝集成器
|
|
3
|
+
*
|
|
4
|
+
* 管理 Tool / Skill 两类能力的 Provider Registry,并提供便利方法。
|
|
5
|
+
* 在 ZhinAgent 的作用域中提供,供 Consumer(AgentDispatcher、PromptAssemblyRegistry)使用。
|
|
6
|
+
*/
|
|
7
|
+
import { SeamProviderRegistry, type SeamScope } from './seam-provider.js';
|
|
8
|
+
import type { ToolService, ToolSchema, ToolExecutionResult } from './tool-service.js';
|
|
9
|
+
import type { SkillService, SkillMetadata, SkillInvocationResult } from './skill-service.js';
|
|
10
|
+
export declare class SeamIntegration {
|
|
11
|
+
readonly toolRegistry: SeamProviderRegistry<ToolService>;
|
|
12
|
+
readonly skillRegistry: SeamProviderRegistry<SkillService>;
|
|
13
|
+
/**
|
|
14
|
+
* 在指定作用域下注册一个 Tool Service
|
|
15
|
+
*/
|
|
16
|
+
registerToolService(scope: SeamScope | 'global', service: ToolService): void;
|
|
17
|
+
/**
|
|
18
|
+
* 获取指定作用域下的所有 Tool Schema
|
|
19
|
+
*
|
|
20
|
+
* 自动遍历所有注册的 Tool Services,收集 schemas。
|
|
21
|
+
*/
|
|
22
|
+
getToolSchemas(scope: SeamScope | 'global'): ToolSchema[];
|
|
23
|
+
/**
|
|
24
|
+
* 执行一个工具
|
|
25
|
+
*
|
|
26
|
+
* 自动查找提供该工具的 Service,然后执行。
|
|
27
|
+
*/
|
|
28
|
+
executeTool(scope: SeamScope | 'global', toolName: string, args: unknown): Promise<ToolExecutionResult>;
|
|
29
|
+
/**
|
|
30
|
+
* 在指定作用域下注册一个 Skill Service
|
|
31
|
+
*/
|
|
32
|
+
registerSkillService(scope: SeamScope | 'global', service: SkillService): void;
|
|
33
|
+
/**
|
|
34
|
+
* 获取指定作用域下的所有 Skill 元数据
|
|
35
|
+
*
|
|
36
|
+
* 自动遍历所有注册的 Skill Services,收集 catalogs。
|
|
37
|
+
*/
|
|
38
|
+
getSkillCatalog(scope: SeamScope | 'global'): Promise<SkillMetadata[]>;
|
|
39
|
+
/**
|
|
40
|
+
* 调用一个 Skill
|
|
41
|
+
*
|
|
42
|
+
* 自动查找提供该 Skill 的 Service,然后调用。
|
|
43
|
+
*/
|
|
44
|
+
invokeSkill(scope: SeamScope | 'global', skillId: string, input: unknown): Promise<SkillInvocationResult>;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=seam-integration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seam-integration.d.ts","sourceRoot":"","sources":["../../src/seam/seam-integration.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACtF,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAE5B,qBAAa,eAAe;IAC1B,QAAQ,CAAC,YAAY,oCAA2C;IAChE,QAAQ,CAAC,aAAa,qCAA4C;IAIlE;;OAEG;IACH,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,EAAE,OAAO,EAAE,WAAW,GAAG,IAAI;IAI5E;;;;OAIG;IACH,cAAc,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,EAAE;IAMzD;;;;OAIG;IACG,WAAW,CACf,KAAK,EAAE,SAAS,GAAG,QAAQ,EAC3B,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,OAAO,GACZ,OAAO,CAAC,mBAAmB,CAAC;IAiB/B;;OAEG;IACH,oBAAoB,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,EAAE,OAAO,EAAE,YAAY,GAAG,IAAI;IAI9E;;;;OAIG;IACG,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAO5E;;;;OAIG;IACG,WAAW,CACf,KAAK,EAAE,SAAS,GAAG,QAAQ,EAC3B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,OAAO,GACb,OAAO,CAAC,qBAAqB,CAAC;CAYlC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 统一的能力接缝集成器
|
|
3
|
+
*
|
|
4
|
+
* 管理 Tool / Skill 两类能力的 Provider Registry,并提供便利方法。
|
|
5
|
+
* 在 ZhinAgent 的作用域中提供,供 Consumer(AgentDispatcher、PromptAssemblyRegistry)使用。
|
|
6
|
+
*/
|
|
7
|
+
import { SeamProviderRegistry } from './seam-provider.js';
|
|
8
|
+
export class SeamIntegration {
|
|
9
|
+
toolRegistry = new SeamProviderRegistry();
|
|
10
|
+
skillRegistry = new SeamProviderRegistry();
|
|
11
|
+
// ── Tool ────────────────────────────────────────────────────────────
|
|
12
|
+
/**
|
|
13
|
+
* 在指定作用域下注册一个 Tool Service
|
|
14
|
+
*/
|
|
15
|
+
registerToolService(scope, service) {
|
|
16
|
+
this.toolRegistry.register(scope, service);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* 获取指定作用域下的所有 Tool Schema
|
|
20
|
+
*
|
|
21
|
+
* 自动遍历所有注册的 Tool Services,收集 schemas。
|
|
22
|
+
*/
|
|
23
|
+
getToolSchemas(scope) {
|
|
24
|
+
return this.toolRegistry
|
|
25
|
+
.getFor(scope)
|
|
26
|
+
.flatMap((service) => service.schema(scope));
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* 执行一个工具
|
|
30
|
+
*
|
|
31
|
+
* 自动查找提供该工具的 Service,然后执行。
|
|
32
|
+
*/
|
|
33
|
+
async executeTool(scope, toolName, args) {
|
|
34
|
+
const provider = this.toolRegistry.find(scope, (service) => service.isAvailable?.(scope, toolName) !== false &&
|
|
35
|
+
service.schema(scope).some((s) => s.function.name === toolName));
|
|
36
|
+
if (!provider) {
|
|
37
|
+
return { success: false, error: `Tool not found: ${toolName}` };
|
|
38
|
+
}
|
|
39
|
+
return provider.execute(scope, toolName, args);
|
|
40
|
+
}
|
|
41
|
+
// ── Skill ────────────────────────────────────────────────────────────
|
|
42
|
+
/**
|
|
43
|
+
* 在指定作用域下注册一个 Skill Service
|
|
44
|
+
*/
|
|
45
|
+
registerSkillService(scope, service) {
|
|
46
|
+
this.skillRegistry.register(scope, service);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 获取指定作用域下的所有 Skill 元数据
|
|
50
|
+
*
|
|
51
|
+
* 自动遍历所有注册的 Skill Services,收集 catalogs。
|
|
52
|
+
*/
|
|
53
|
+
async getSkillCatalog(scope) {
|
|
54
|
+
const results = await Promise.all(this.skillRegistry.getFor(scope).map((service) => service.catalog(scope)));
|
|
55
|
+
return results.flat();
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* 调用一个 Skill
|
|
59
|
+
*
|
|
60
|
+
* 自动查找提供该 Skill 的 Service,然后调用。
|
|
61
|
+
*/
|
|
62
|
+
async invokeSkill(scope, skillId, input) {
|
|
63
|
+
const provider = this.skillRegistry.find(scope, (service) => service.isAvailable?.(scope, skillId) !== false);
|
|
64
|
+
if (!provider) {
|
|
65
|
+
return { success: false, error: `Skill not found: ${skillId}` };
|
|
66
|
+
}
|
|
67
|
+
return provider.invoke(scope, { skillId, input });
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=seam-integration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seam-integration.js","sourceRoot":"","sources":["../../src/seam/seam-integration.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,oBAAoB,EAAkB,MAAM,oBAAoB,CAAC;AAQ1E,MAAM,OAAO,eAAe;IACjB,YAAY,GAAG,IAAI,oBAAoB,EAAe,CAAC;IACvD,aAAa,GAAG,IAAI,oBAAoB,EAAgB,CAAC;IAElE,uEAAuE;IAEvE;;OAEG;IACH,mBAAmB,CAAC,KAA2B,EAAE,OAAoB;QACnE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;IAED;;;;OAIG;IACH,cAAc,CAAC,KAA2B;QACxC,OAAO,IAAI,CAAC,YAAY;aACrB,MAAM,CAAC,KAAK,CAAC;aACb,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,WAAW,CACf,KAA2B,EAC3B,QAAgB,EAChB,IAAa;QAEb,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CACrC,KAAK,EACL,CAAC,OAAO,EAAE,EAAE,CACV,OAAO,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,KAAK;YAChD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,CAAC,CAClE,CAAC;QAEF,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,mBAAmB,QAAQ,EAAE,EAAE,CAAC;QAClE,CAAC;QAED,OAAO,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IAED,wEAAwE;IAExE;;OAEG;IACH,oBAAoB,CAAC,KAA2B,EAAE,OAAqB;QACrE,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,eAAe,CAAC,KAA2B;QAC/C,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,GAAG,CAC/B,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAC1E,CAAC;QACF,OAAO,OAAO,CAAC,IAAI,EAAE,CAAC;IACxB,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,WAAW,CACf,KAA2B,EAC3B,OAAe,EACf,KAAc;QAEd,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CACtC,KAAK,EACL,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,KAAK,CAC7D,CAAC;QAEF,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,oBAAoB,OAAO,EAAE,EAAE,CAAC;QAClE,CAAC;QAED,OAAO,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;IACpD,CAAC;CACF"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 能力接缝基类与注册表
|
|
3
|
+
*
|
|
4
|
+
* 所有 Service Provider(LLM / Tool / Skill)必须遵循此约束。
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* 能力接缝提供者基接口
|
|
8
|
+
*
|
|
9
|
+
* 定义所有 Service Provider 必须遵循的约束:
|
|
10
|
+
* 1. 声明身份(id + description)
|
|
11
|
+
* 2. 实现一个主操作接口(如 schema、invoke)
|
|
12
|
+
* 3. 支持作用域隔离(scoped per agent/session)
|
|
13
|
+
*/
|
|
14
|
+
export interface SeamProvider {
|
|
15
|
+
/**
|
|
16
|
+
* 唯一标识符(建议格式:namespace:name)
|
|
17
|
+
* 例:llm:deepseek, tool:filesystem, skill:github
|
|
18
|
+
*/
|
|
19
|
+
readonly id: string;
|
|
20
|
+
/**
|
|
21
|
+
* 人类可读的描述
|
|
22
|
+
*/
|
|
23
|
+
readonly description: string;
|
|
24
|
+
/**
|
|
25
|
+
* 可选:该能力的平台/运行时标记
|
|
26
|
+
*/
|
|
27
|
+
readonly tags?: string[];
|
|
28
|
+
/**
|
|
29
|
+
* 可选:该能力的版本
|
|
30
|
+
*/
|
|
31
|
+
readonly version?: string;
|
|
32
|
+
}
|
|
33
|
+
export type SeamScope = string | symbol;
|
|
34
|
+
/**
|
|
35
|
+
* 能力接缝提供者注册表
|
|
36
|
+
*
|
|
37
|
+
* 支持作用域隔离、查询和消费方模式。
|
|
38
|
+
* 'global' 作用域的提供者对所有查询可见。
|
|
39
|
+
*/
|
|
40
|
+
export declare class SeamProviderRegistry<T extends SeamProvider> {
|
|
41
|
+
private readonly providers;
|
|
42
|
+
/**
|
|
43
|
+
* 在指定作用域下注册一个 Service Provider
|
|
44
|
+
*/
|
|
45
|
+
register(scope: SeamScope | 'global', provider: T): void;
|
|
46
|
+
/**
|
|
47
|
+
* 获取指定作用域下的所有提供者(包含 global 中的提供者)
|
|
48
|
+
*/
|
|
49
|
+
getFor(scope: SeamScope | 'global'): T[];
|
|
50
|
+
/**
|
|
51
|
+
* 查询满足条件的首个提供者
|
|
52
|
+
*/
|
|
53
|
+
find(scope: SeamScope | 'global', predicate: (p: T) => boolean): T | null;
|
|
54
|
+
/**
|
|
55
|
+
* 获取指定 ID 的提供者
|
|
56
|
+
*/
|
|
57
|
+
getById(scope: SeamScope | 'global', id: string): T | null;
|
|
58
|
+
/**
|
|
59
|
+
* 移除已注册的提供者(返回是否实际移除)
|
|
60
|
+
*/
|
|
61
|
+
remove(scope: SeamScope | 'global', id: string): boolean;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=seam-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seam-provider.d.ts","sourceRoot":"","sources":["../../src/seam/seam-provider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAMxC;;;;;GAKG;AACH,qBAAa,oBAAoB,CAAC,CAAC,SAAS,YAAY;IACtD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA0B;IAEpD;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI;IAQxD;;OAEG;IACH,MAAM,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,CAAC,EAAE;IAQxC;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,OAAO,GAAG,CAAC,GAAG,IAAI;IAKzE;;OAEG;IACH,OAAO,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,EAAE,EAAE,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI;IAI1D;;OAEG;IACH,MAAM,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO;CASzD"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 能力接缝基类与注册表
|
|
3
|
+
*
|
|
4
|
+
* 所有 Service Provider(LLM / Tool / Skill)必须遵循此约束。
|
|
5
|
+
*/
|
|
6
|
+
function toKey(scope) {
|
|
7
|
+
return typeof scope === 'symbol' ? scope.toString() : scope;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 能力接缝提供者注册表
|
|
11
|
+
*
|
|
12
|
+
* 支持作用域隔离、查询和消费方模式。
|
|
13
|
+
* 'global' 作用域的提供者对所有查询可见。
|
|
14
|
+
*/
|
|
15
|
+
export class SeamProviderRegistry {
|
|
16
|
+
providers = new Map();
|
|
17
|
+
/**
|
|
18
|
+
* 在指定作用域下注册一个 Service Provider
|
|
19
|
+
*/
|
|
20
|
+
register(scope, provider) {
|
|
21
|
+
const key = toKey(scope);
|
|
22
|
+
if (!this.providers.has(key)) {
|
|
23
|
+
this.providers.set(key, []);
|
|
24
|
+
}
|
|
25
|
+
this.providers.get(key).push(provider);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 获取指定作用域下的所有提供者(包含 global 中的提供者)
|
|
29
|
+
*/
|
|
30
|
+
getFor(scope) {
|
|
31
|
+
const key = toKey(scope);
|
|
32
|
+
const scoped = this.providers.get(key) ?? [];
|
|
33
|
+
if (key === 'global')
|
|
34
|
+
return scoped;
|
|
35
|
+
const global = this.providers.get('global') ?? [];
|
|
36
|
+
return [...global, ...scoped];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* 查询满足条件的首个提供者
|
|
40
|
+
*/
|
|
41
|
+
find(scope, predicate) {
|
|
42
|
+
const providers = this.getFor(scope);
|
|
43
|
+
return providers.find(predicate) ?? null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* 获取指定 ID 的提供者
|
|
47
|
+
*/
|
|
48
|
+
getById(scope, id) {
|
|
49
|
+
return this.find(scope, (p) => p.id === id);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* 移除已注册的提供者(返回是否实际移除)
|
|
53
|
+
*/
|
|
54
|
+
remove(scope, id) {
|
|
55
|
+
const key = toKey(scope);
|
|
56
|
+
const list = this.providers.get(key);
|
|
57
|
+
if (!list)
|
|
58
|
+
return false;
|
|
59
|
+
const idx = list.findIndex((p) => p.id === id);
|
|
60
|
+
if (idx === -1)
|
|
61
|
+
return false;
|
|
62
|
+
list.splice(idx, 1);
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=seam-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seam-provider.js","sourceRoot":"","sources":["../../src/seam/seam-provider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAmCH,SAAS,KAAK,CAAC,KAAgB;IAC7B,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;AAC9D,CAAC;AAED;;;;;GAKG;AACH,MAAM,OAAO,oBAAoB;IACd,SAAS,GAAG,IAAI,GAAG,EAAe,CAAC;IAEpD;;OAEG;IACH,QAAQ,CAAC,KAA2B,EAAE,QAAW;QAC/C,MAAM,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QACzB,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;YAC7B,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAC9B,CAAC;QACD,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1C,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAA2B;QAChC,MAAM,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QACzB,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;QAC7C,IAAI,GAAG,KAAK,QAAQ;YAAE,OAAO,MAAM,CAAC;QACpC,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;QAClD,OAAO,CAAC,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,KAA2B,EAAE,SAA4B;QAC5D,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,OAAO,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC;IAC3C,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,KAA2B,EAAE,EAAU;QAC7C,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC9C,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAA2B,EAAE,EAAU;QAC5C,MAAM,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QACzB,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACrC,IAAI,CAAC,IAAI;YAAE,OAAO,KAAK,CAAC;QACxB,MAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QAC/C,IAAI,GAAG,KAAK,CAAC,CAAC;YAAE,OAAO,KAAK,CAAC;QAC7B,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QACpB,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Skill Service Definition
|
|
3
|
+
*
|
|
4
|
+
* Skills 是更高层的能力,通常由多个 Tool 组合而成。
|
|
5
|
+
* 例:GitHub Skill = git tool + GitHub API tool + code analysis tool
|
|
6
|
+
*/
|
|
7
|
+
import type { SeamProvider, SeamScope } from './seam-provider.js';
|
|
8
|
+
import type { SkillMetadata } from '../orchestrator/types.js';
|
|
9
|
+
export type { SkillMetadata };
|
|
10
|
+
/**
|
|
11
|
+
* Skill 调用请求
|
|
12
|
+
*/
|
|
13
|
+
export interface SkillInvocationRequest {
|
|
14
|
+
skillId: string;
|
|
15
|
+
input: unknown;
|
|
16
|
+
context?: Record<string, unknown>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Skill 调用结果
|
|
20
|
+
*/
|
|
21
|
+
export interface SkillInvocationResult {
|
|
22
|
+
success: boolean;
|
|
23
|
+
output?: unknown;
|
|
24
|
+
error?: string;
|
|
25
|
+
metadata?: Record<string, unknown>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Skill Service Definition
|
|
29
|
+
*/
|
|
30
|
+
export interface SkillService extends SeamProvider {
|
|
31
|
+
/**
|
|
32
|
+
* 获取该 Service 提供的所有 Skill 元数据
|
|
33
|
+
*/
|
|
34
|
+
catalog(scope: SeamScope | 'global'): Promise<SkillMetadata[]>;
|
|
35
|
+
/**
|
|
36
|
+
* 获取指定 Skill 的完整文档
|
|
37
|
+
*/
|
|
38
|
+
describe(scope: SeamScope | 'global', skillId: string): Promise<string>;
|
|
39
|
+
/**
|
|
40
|
+
* 调用一个 Skill
|
|
41
|
+
*/
|
|
42
|
+
invoke(scope: SeamScope | 'global', request: SkillInvocationRequest): Promise<SkillInvocationResult>;
|
|
43
|
+
/**
|
|
44
|
+
* 可选:Skill 是否在该作用域可用
|
|
45
|
+
*/
|
|
46
|
+
isAvailable?(scope: SeamScope | 'global', skillId: string): boolean;
|
|
47
|
+
}
|
|
48
|
+
export type SkillServiceProvider = SkillService;
|
|
49
|
+
//# sourceMappingURL=skill-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-service.d.ts","sourceRoot":"","sources":["../../src/seam/skill-service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,YAAY;IAChD;;OAEG;IACH,OAAO,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC;IAE/D;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAExE;;OAEG;IACH,MAAM,CACJ,KAAK,EAAE,SAAS,GAAG,QAAQ,EAC3B,OAAO,EAAE,sBAAsB,GAC9B,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAElC;;OAEG;IACH,WAAW,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;CACrE;AAED,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-service.js","sourceRoot":"","sources":["../../src/seam/skill-service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 能力接缝 DI Token
|
|
3
|
+
*/
|
|
4
|
+
import type { SeamIntegration } from './seam-integration.js';
|
|
5
|
+
export declare const seamIntegrationToken: unique symbol;
|
|
6
|
+
export type SeamIntegrationToken = typeof seamIntegrationToken;
|
|
7
|
+
export type { SeamIntegration };
|
|
8
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/seam/tokens.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,oBAAoB,eAAgD,CAAC;AAClF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC;AAE/D,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/seam/tokens.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC"}
|