@stigmer/server 3.15.3-dev.20260914121148 → 3.16.0
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 +3 -3
- package/dist/archive/content-store.d.ts +35 -0
- package/dist/archive/content-store.d.ts.map +1 -0
- package/dist/archive/content-store.js +98 -0
- package/dist/archive/content-store.js.map +1 -0
- package/dist/archive/inflate.d.ts +22 -0
- package/dist/archive/inflate.d.ts.map +1 -0
- package/dist/archive/inflate.js +75 -0
- package/dist/archive/inflate.js.map +1 -0
- package/dist/archive/limits.d.ts +33 -0
- package/dist/archive/limits.d.ts.map +1 -0
- package/dist/archive/limits.js +31 -0
- package/dist/archive/limits.js.map +1 -0
- package/dist/archive/open.d.ts +24 -0
- package/dist/archive/open.d.ts.map +1 -0
- package/dist/archive/open.js +93 -0
- package/dist/archive/open.js.map +1 -0
- package/dist/{domain/skill/storage → archive}/prefilter.d.ts +5 -0
- package/dist/archive/prefilter.d.ts.map +1 -0
- package/dist/archive/prefilter.js.map +1 -0
- package/dist/archive/write.d.ts +8 -0
- package/dist/archive/write.d.ts.map +1 -0
- package/dist/archive/write.js +44 -0
- package/dist/archive/write.js.map +1 -0
- package/dist/authorization/authorizer.d.ts +98 -0
- package/dist/authorization/authorizer.d.ts.map +1 -0
- package/dist/authorization/authorizer.js +156 -0
- package/dist/authorization/authorizer.js.map +1 -0
- package/dist/authorization/derived-tuples.d.ts +42 -0
- package/dist/authorization/derived-tuples.d.ts.map +1 -0
- package/dist/authorization/derived-tuples.js +240 -0
- package/dist/authorization/derived-tuples.js.map +1 -0
- package/dist/authorization/evaluator.d.ts +66 -0
- package/dist/authorization/evaluator.d.ts.map +1 -0
- package/dist/authorization/evaluator.js +153 -0
- package/dist/authorization/evaluator.js.map +1 -0
- package/dist/authorization/facts.d.ts +29 -0
- package/dist/authorization/facts.d.ts.map +1 -0
- package/dist/authorization/facts.js +17 -0
- package/dist/authorization/facts.js.map +1 -0
- package/dist/authorization/lane-admission.d.ts +50 -0
- package/dist/authorization/lane-admission.d.ts.map +1 -0
- package/dist/authorization/lane-admission.js +13 -0
- package/dist/authorization/lane-admission.js.map +1 -0
- package/dist/authorization/list-read-scope.d.ts +18 -0
- package/dist/authorization/list-read-scope.d.ts.map +1 -0
- package/dist/authorization/list-read-scope.js +155 -0
- package/dist/authorization/list-read-scope.js.map +1 -0
- package/dist/authorization/model/agent.d.ts +2 -0
- package/dist/authorization/model/agent.d.ts.map +1 -0
- package/dist/authorization/model/agent.js +42 -0
- package/dist/authorization/model/agent.js.map +1 -0
- package/dist/authorization/model/agent_channel.d.ts +2 -0
- package/dist/authorization/model/agent_channel.d.ts.map +1 -0
- package/dist/authorization/model/agent_channel.js +38 -0
- package/dist/authorization/model/agent_channel.js.map +1 -0
- package/dist/authorization/model/agent_execution.d.ts +2 -0
- package/dist/authorization/model/agent_execution.d.ts.map +1 -0
- package/dist/authorization/model/agent_execution.js +25 -0
- package/dist/authorization/model/agent_execution.js.map +1 -0
- package/dist/authorization/model/agent_instance.d.ts +2 -0
- package/dist/authorization/model/agent_instance.d.ts.map +1 -0
- package/dist/authorization/model/agent_instance.js +47 -0
- package/dist/authorization/model/agent_instance.js.map +1 -0
- package/dist/authorization/model/agent_share.d.ts +2 -0
- package/dist/authorization/model/agent_share.d.ts.map +1 -0
- package/dist/authorization/model/agent_share.js +29 -0
- package/dist/authorization/model/agent_share.js.map +1 -0
- package/dist/authorization/model/api_key.d.ts +2 -0
- package/dist/authorization/model/api_key.d.ts.map +1 -0
- package/dist/authorization/model/api_key.js +27 -0
- package/dist/authorization/model/api_key.js.map +1 -0
- package/dist/authorization/model/artifact.d.ts +2 -0
- package/dist/authorization/model/artifact.d.ts.map +1 -0
- package/dist/authorization/model/artifact.js +27 -0
- package/dist/authorization/model/artifact.js.map +1 -0
- package/dist/authorization/model/channel_app.d.ts +2 -0
- package/dist/authorization/model/channel_app.d.ts.map +1 -0
- package/dist/authorization/model/channel_app.js +28 -0
- package/dist/authorization/model/channel_app.js.map +1 -0
- package/dist/authorization/model/default-of.d.ts +38 -0
- package/dist/authorization/model/default-of.d.ts.map +1 -0
- package/dist/authorization/model/default-of.js +39 -0
- package/dist/authorization/model/default-of.js.map +1 -0
- package/dist/authorization/model/environment.d.ts +2 -0
- package/dist/authorization/model/environment.d.ts.map +1 -0
- package/dist/authorization/model/environment.js +33 -0
- package/dist/authorization/model/environment.js.map +1 -0
- package/dist/authorization/model/execution_context.d.ts +2 -0
- package/dist/authorization/model/execution_context.d.ts.map +1 -0
- package/dist/authorization/model/execution_context.js +19 -0
- package/dist/authorization/model/execution_context.js.map +1 -0
- package/dist/authorization/model/iam_policy.d.ts +2 -0
- package/dist/authorization/model/iam_policy.d.ts.map +1 -0
- package/dist/authorization/model/iam_policy.js +31 -0
- package/dist/authorization/model/iam_policy.js.map +1 -0
- package/dist/authorization/model/identity_account.d.ts +2 -0
- package/dist/authorization/model/identity_account.d.ts.map +1 -0
- package/dist/authorization/model/identity_account.js +25 -0
- package/dist/authorization/model/identity_account.js.map +1 -0
- package/dist/authorization/model/index.d.ts +36 -0
- package/dist/authorization/model/index.d.ts.map +1 -0
- package/dist/authorization/model/index.js +72 -0
- package/dist/authorization/model/index.js.map +1 -0
- package/dist/authorization/model/mcp_server.d.ts +2 -0
- package/dist/authorization/model/mcp_server.d.ts.map +1 -0
- package/dist/authorization/model/mcp_server.js +37 -0
- package/dist/authorization/model/mcp_server.js.map +1 -0
- package/dist/authorization/model/memory.d.ts +2 -0
- package/dist/authorization/model/memory.d.ts.map +1 -0
- package/dist/authorization/model/memory.js +26 -0
- package/dist/authorization/model/memory.js.map +1 -0
- package/dist/authorization/model/oauth_app.d.ts +2 -0
- package/dist/authorization/model/oauth_app.d.ts.map +1 -0
- package/dist/authorization/model/oauth_app.js +30 -0
- package/dist/authorization/model/oauth_app.js.map +1 -0
- package/dist/authorization/model/organization.d.ts +2 -0
- package/dist/authorization/model/organization.d.ts.map +1 -0
- package/dist/authorization/model/organization.js +54 -0
- package/dist/authorization/model/organization.js.map +1 -0
- package/dist/authorization/model/plugin.d.ts +2 -0
- package/dist/authorization/model/plugin.d.ts.map +1 -0
- package/dist/authorization/model/plugin.js +44 -0
- package/dist/authorization/model/plugin.js.map +1 -0
- package/dist/authorization/model/project.d.ts +2 -0
- package/dist/authorization/model/project.d.ts.map +1 -0
- package/dist/authorization/model/project.js +32 -0
- package/dist/authorization/model/project.js.map +1 -0
- package/dist/authorization/model/rewrite.d.ts +127 -0
- package/dist/authorization/model/rewrite.d.ts.map +1 -0
- package/dist/authorization/model/rewrite.js +82 -0
- package/dist/authorization/model/rewrite.js.map +1 -0
- package/dist/authorization/model/schedule.d.ts +2 -0
- package/dist/authorization/model/schedule.d.ts.map +1 -0
- package/dist/authorization/model/schedule.js +29 -0
- package/dist/authorization/model/schedule.js.map +1 -0
- package/dist/authorization/model/session.d.ts +2 -0
- package/dist/authorization/model/session.d.ts.map +1 -0
- package/dist/authorization/model/session.js +38 -0
- package/dist/authorization/model/session.js.map +1 -0
- package/dist/authorization/model/skill.d.ts +2 -0
- package/dist/authorization/model/skill.d.ts.map +1 -0
- package/dist/authorization/model/skill.js +38 -0
- package/dist/authorization/model/skill.js.map +1 -0
- package/dist/authorization/model/workflow.d.ts +2 -0
- package/dist/authorization/model/workflow.d.ts.map +1 -0
- package/dist/authorization/model/workflow.js +38 -0
- package/dist/authorization/model/workflow.js.map +1 -0
- package/dist/authorization/model/workflow_execution.d.ts +2 -0
- package/dist/authorization/model/workflow_execution.d.ts.map +1 -0
- package/dist/authorization/model/workflow_execution.js +32 -0
- package/dist/authorization/model/workflow_execution.js.map +1 -0
- package/dist/authorization/model/workflow_instance.d.ts +2 -0
- package/dist/authorization/model/workflow_instance.d.ts.map +1 -0
- package/dist/authorization/model/workflow_instance.js +92 -0
- package/dist/authorization/model/workflow_instance.js.map +1 -0
- package/dist/authorization/organization-directory.d.ts +13 -0
- package/dist/authorization/organization-directory.d.ts.map +1 -0
- package/dist/authorization/organization-directory.js +83 -0
- package/dist/authorization/organization-directory.js.map +1 -0
- package/dist/authorization/person.d.ts +42 -0
- package/dist/authorization/person.d.ts.map +1 -0
- package/dist/authorization/person.js +19 -0
- package/dist/authorization/person.js.map +1 -0
- package/dist/authorization/posture.d.ts +38 -0
- package/dist/authorization/posture.d.ts.map +1 -0
- package/dist/authorization/posture.js +7 -0
- package/dist/authorization/posture.js.map +1 -0
- package/dist/authorization/schedule-fire-caller.d.ts +12 -0
- package/dist/authorization/schedule-fire-caller.d.ts.map +1 -0
- package/dist/authorization/schedule-fire-caller.js +67 -0
- package/dist/authorization/schedule-fire-caller.js.map +1 -0
- package/dist/authorization/store-test-kit.d.ts +68 -0
- package/dist/authorization/store-test-kit.d.ts.map +1 -0
- package/dist/authorization/store-test-kit.js +311 -0
- package/dist/authorization/store-test-kit.js.map +1 -0
- package/dist/authorization/tuples.d.ts +115 -0
- package/dist/authorization/tuples.d.ts.map +1 -0
- package/dist/authorization/tuples.js +83 -0
- package/dist/authorization/tuples.js.map +1 -0
- package/dist/boot/compose.d.ts.map +1 -1
- package/dist/boot/compose.js +220 -43
- package/dist/boot/compose.js.map +1 -1
- package/dist/boot/inprocess.d.ts +12 -0
- package/dist/boot/inprocess.d.ts.map +1 -1
- package/dist/boot/inprocess.js +68 -21
- package/dist/boot/inprocess.js.map +1 -1
- package/dist/domain/agent/controller.d.ts.map +1 -1
- package/dist/domain/agent/controller.js +9 -0
- package/dist/domain/agent/controller.js.map +1 -1
- package/dist/domain/executioncontext/resolve-values-for-caller.d.ts +33 -14
- package/dist/domain/executioncontext/resolve-values-for-caller.d.ts.map +1 -1
- package/dist/domain/executioncontext/resolve-values-for-caller.js +32 -8
- package/dist/domain/executioncontext/resolve-values-for-caller.js.map +1 -1
- package/dist/domain/iampolicy/constants.d.ts +11 -0
- package/dist/domain/iampolicy/constants.d.ts.map +1 -1
- package/dist/domain/iampolicy/constants.js +11 -0
- package/dist/domain/iampolicy/constants.js.map +1 -1
- package/dist/domain/iampolicy/membership.d.ts +72 -1
- package/dist/domain/iampolicy/membership.d.ts.map +1 -1
- package/dist/domain/iampolicy/membership.js +141 -56
- package/dist/domain/iampolicy/membership.js.map +1 -1
- package/dist/domain/identityaccount/actor.d.ts +41 -0
- package/dist/domain/identityaccount/actor.d.ts.map +1 -0
- package/dist/domain/identityaccount/actor.js +34 -0
- package/dist/domain/identityaccount/actor.js.map +1 -0
- package/dist/domain/identityaccount/resolve.d.ts +19 -0
- package/dist/domain/identityaccount/resolve.d.ts.map +1 -1
- package/dist/domain/identityaccount/resolve.js +12 -0
- package/dist/domain/identityaccount/resolve.js.map +1 -1
- package/dist/domain/mcpserver/connect-execution-id.d.ts +5 -0
- package/dist/domain/mcpserver/connect-execution-id.d.ts.map +1 -0
- package/dist/domain/mcpserver/connect-execution-id.js +32 -0
- package/dist/domain/mcpserver/connect-execution-id.js.map +1 -0
- package/dist/domain/mcpserver/connect.d.ts +28 -2
- package/dist/domain/mcpserver/connect.d.ts.map +1 -1
- package/dist/domain/mcpserver/connect.js +27 -7
- package/dist/domain/mcpserver/connect.js.map +1 -1
- package/dist/domain/mcpserver/controller.d.ts.map +1 -1
- package/dist/domain/mcpserver/controller.js +9 -0
- package/dist/domain/mcpserver/controller.js.map +1 -1
- package/dist/domain/mcpserver/engine.d.ts +9 -3
- package/dist/domain/mcpserver/engine.d.ts.map +1 -1
- package/dist/domain/mcpserver/engine.js.map +1 -1
- package/dist/domain/mcpserver/start-connect.js +1 -1
- package/dist/domain/mcpserver/start-connect.js.map +1 -1
- package/dist/domain/platform/controller.d.ts +24 -11
- package/dist/domain/platform/controller.d.ts.map +1 -1
- package/dist/domain/platform/controller.js.map +1 -1
- package/dist/domain/plugin/archive.d.ts +37 -0
- package/dist/domain/plugin/archive.d.ts.map +1 -0
- package/dist/domain/plugin/archive.js +50 -0
- package/dist/domain/plugin/archive.js.map +1 -0
- package/dist/domain/plugin/constants.d.ts +38 -0
- package/dist/domain/plugin/constants.d.ts.map +1 -0
- package/dist/domain/plugin/constants.js +46 -0
- package/dist/domain/plugin/constants.js.map +1 -0
- package/dist/domain/plugin/controller.d.ts +25 -0
- package/dist/domain/plugin/controller.d.ts.map +1 -0
- package/dist/domain/plugin/controller.js +493 -0
- package/dist/domain/plugin/controller.js.map +1 -0
- package/dist/domain/plugin/materialize/agent.d.ts +13 -0
- package/dist/domain/plugin/materialize/agent.d.ts.map +1 -0
- package/dist/domain/plugin/materialize/agent.js +128 -0
- package/dist/domain/plugin/materialize/agent.js.map +1 -0
- package/dist/domain/plugin/materialize/default-agent-instructions.d.ts +22 -0
- package/dist/domain/plugin/materialize/default-agent-instructions.d.ts.map +1 -0
- package/dist/domain/plugin/materialize/default-agent-instructions.js +31 -0
- package/dist/domain/plugin/materialize/default-agent-instructions.js.map +1 -0
- package/dist/domain/plugin/materialize/identity.d.ts +28 -0
- package/dist/domain/plugin/materialize/identity.d.ts.map +1 -0
- package/dist/domain/plugin/materialize/identity.js +40 -0
- package/dist/domain/plugin/materialize/identity.js.map +1 -0
- package/dist/domain/plugin/materialize/mcp-servers.d.ts +15 -0
- package/dist/domain/plugin/materialize/mcp-servers.d.ts.map +1 -0
- package/dist/domain/plugin/materialize/mcp-servers.js +131 -0
- package/dist/domain/plugin/materialize/mcp-servers.js.map +1 -0
- package/dist/domain/plugin/materialize/plan.d.ts +24 -0
- package/dist/domain/plugin/materialize/plan.d.ts.map +1 -0
- package/dist/domain/plugin/materialize/plan.js +77 -0
- package/dist/domain/plugin/materialize/plan.js.map +1 -0
- package/dist/domain/plugin/materialize/ports.d.ts +42 -0
- package/dist/domain/plugin/materialize/ports.d.ts.map +1 -0
- package/dist/domain/plugin/materialize/ports.js +2 -0
- package/dist/domain/plugin/materialize/ports.js.map +1 -0
- package/dist/domain/plugin/materialize/skills.d.ts +12 -0
- package/dist/domain/plugin/materialize/skills.d.ts.map +1 -0
- package/dist/domain/plugin/materialize/skills.js +44 -0
- package/dist/domain/plugin/materialize/skills.js.map +1 -0
- package/dist/domain/plugin/materialize/workflows.d.ts +15 -0
- package/dist/domain/plugin/materialize/workflows.d.ts.map +1 -0
- package/dist/domain/plugin/materialize/workflows.js +31 -0
- package/dist/domain/plugin/materialize/workflows.js.map +1 -0
- package/dist/domain/plugin/members.d.ts +42 -0
- package/dist/domain/plugin/members.d.ts.map +1 -0
- package/dist/domain/plugin/members.js +97 -0
- package/dist/domain/plugin/members.js.map +1 -0
- package/dist/domain/plugin/overlay/documents.d.ts +31 -0
- package/dist/domain/plugin/overlay/documents.d.ts.map +1 -0
- package/dist/domain/plugin/overlay/documents.js +38 -0
- package/dist/domain/plugin/overlay/documents.js.map +1 -0
- package/dist/domain/plugin/overlay/parse.d.ts +16 -0
- package/dist/domain/plugin/overlay/parse.d.ts.map +1 -0
- package/dist/domain/plugin/overlay/parse.js +79 -0
- package/dist/domain/plugin/overlay/parse.js.map +1 -0
- package/dist/domain/plugin/overlay/sanitize.d.ts +10 -0
- package/dist/domain/plugin/overlay/sanitize.d.ts.map +1 -0
- package/dist/domain/plugin/overlay/sanitize.js +103 -0
- package/dist/domain/plugin/overlay/sanitize.js.map +1 -0
- package/dist/domain/plugin/push.d.ts +133 -0
- package/dist/domain/plugin/push.d.ts.map +1 -0
- package/dist/domain/plugin/push.js +800 -0
- package/dist/domain/plugin/push.js.map +1 -0
- package/dist/domain/plugin/search-extractor.d.ts +3 -0
- package/dist/domain/plugin/search-extractor.d.ts.map +1 -0
- package/dist/domain/plugin/search-extractor.js +41 -0
- package/dist/domain/plugin/search-extractor.js.map +1 -0
- package/dist/domain/skill/constants.d.ts +6 -11
- package/dist/domain/skill/constants.d.ts.map +1 -1
- package/dist/domain/skill/constants.js +6 -11
- package/dist/domain/skill/constants.js.map +1 -1
- package/dist/domain/skill/controller.d.ts.map +1 -1
- package/dist/domain/skill/controller.js +33 -30
- package/dist/domain/skill/controller.js.map +1 -1
- package/dist/domain/skill/push.d.ts +9 -10
- package/dist/domain/skill/push.d.ts.map +1 -1
- package/dist/domain/skill/push.js +53 -122
- package/dist/domain/skill/push.js.map +1 -1
- package/dist/domain/skill/search-extractor.d.ts.map +1 -1
- package/dist/domain/skill/search-extractor.js.map +1 -1
- package/dist/domain/skill/storage/artifact-storage.d.ts +26 -29
- package/dist/domain/skill/storage/artifact-storage.d.ts.map +1 -1
- package/dist/domain/skill/storage/artifact-storage.js +6 -103
- package/dist/domain/skill/storage/artifact-storage.js.map +1 -1
- package/dist/domain/skill/storage/zip-gate.d.ts +1 -2
- package/dist/domain/skill/storage/zip-gate.d.ts.map +1 -1
- package/dist/domain/skill/storage/zip-gate.js +56 -126
- package/dist/domain/skill/storage/zip-gate.js.map +1 -1
- package/dist/domain/skill/version-resolution.d.ts +5 -5
- package/dist/domain/skill/version-resolution.d.ts.map +1 -1
- package/dist/domain/skill/version-resolution.js +34 -216
- package/dist/domain/skill/version-resolution.js.map +1 -1
- package/dist/domain/workflow/controller.d.ts.map +1 -1
- package/dist/domain/workflow/controller.js +30 -3
- package/dist/domain/workflow/controller.js.map +1 -1
- package/dist/domain/workflow/registry/data/task-kind-registry.json +1 -0
- package/dist/domain/workflowexecution/phases.d.ts +21 -0
- package/dist/domain/workflowexecution/phases.d.ts.map +1 -0
- package/dist/domain/workflowexecution/phases.js +31 -0
- package/dist/domain/workflowexecution/phases.js.map +1 -0
- package/dist/extensions/authorizer.d.ts +10 -5
- package/dist/extensions/authorizer.d.ts.map +1 -1
- package/dist/extensions/drivers.d.ts +4 -1
- package/dist/extensions/drivers.d.ts.map +1 -1
- package/dist/extensions/list-read-scope.d.ts +47 -20
- package/dist/extensions/list-read-scope.d.ts.map +1 -1
- package/dist/extensions/list-read-scope.js +20 -24
- package/dist/extensions/list-read-scope.js.map +1 -1
- package/dist/extensions/organization-directory.d.ts +13 -9
- package/dist/extensions/organization-directory.d.ts.map +1 -1
- package/dist/extensions/organization-directory.js.map +1 -1
- package/dist/extensions/resource-authorization.d.ts +33 -0
- package/dist/extensions/resource-authorization.d.ts.map +1 -1
- package/dist/extensions/schedule-fire-caller.d.ts +45 -18
- package/dist/extensions/schedule-fire-caller.d.ts.map +1 -1
- package/dist/extensions/schedule-fire-caller.js +12 -1
- package/dist/extensions/schedule-fire-caller.js.map +1 -1
- package/dist/identity/oidc-verifier.js +8 -1
- package/dist/identity/oidc-verifier.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/pipeline/apiresource-labels.d.ts +23 -3
- package/dist/pipeline/apiresource-labels.d.ts.map +1 -1
- package/dist/pipeline/apiresource-labels.js +20 -0
- package/dist/pipeline/apiresource-labels.js.map +1 -1
- package/dist/pipeline/apiresource-meta.d.ts +15 -0
- package/dist/pipeline/apiresource-meta.d.ts.map +1 -1
- package/dist/pipeline/apiresource-meta.js +34 -0
- package/dist/pipeline/apiresource-meta.js.map +1 -1
- package/dist/pipeline/errors.d.ts.map +1 -1
- package/dist/pipeline/errors.js.map +1 -1
- package/dist/pipeline/steps/authorization-facts.d.ts +12 -0
- package/dist/pipeline/steps/authorization-facts.d.ts.map +1 -0
- package/dist/pipeline/steps/authorization-facts.js +100 -0
- package/dist/pipeline/steps/authorization-facts.js.map +1 -0
- package/dist/pipeline/steps/delete.d.ts.map +1 -1
- package/dist/pipeline/steps/delete.js +1 -1
- package/dist/pipeline/steps/delete.js.map +1 -1
- package/dist/pipeline/steps/duplicate.d.ts.map +1 -1
- package/dist/pipeline/steps/duplicate.js.map +1 -1
- package/dist/pipeline/steps/guard-memory-capture.d.ts.map +1 -1
- package/dist/pipeline/steps/guard-memory-capture.js +5 -3
- package/dist/pipeline/steps/guard-memory-capture.js.map +1 -1
- package/dist/pipeline/steps/guard-plugin-managed.d.ts +12 -0
- package/dist/pipeline/steps/guard-plugin-managed.d.ts.map +1 -0
- package/dist/pipeline/steps/guard-plugin-managed.js +96 -0
- package/dist/pipeline/steps/guard-plugin-managed.js.map +1 -0
- package/dist/pipeline/steps/guard-reserved-labels.d.ts +16 -2
- package/dist/pipeline/steps/guard-reserved-labels.d.ts.map +1 -1
- package/dist/pipeline/steps/guard-reserved-labels.js +11 -7
- package/dist/pipeline/steps/guard-reserved-labels.js.map +1 -1
- package/dist/pipeline/steps/helpers.d.ts.map +1 -1
- package/dist/pipeline/steps/helpers.js.map +1 -1
- package/dist/pipeline/steps/index-search.d.ts.map +1 -1
- package/dist/pipeline/steps/index-search.js.map +1 -1
- package/dist/pipeline/steps/load-existing.d.ts.map +1 -1
- package/dist/pipeline/steps/load-existing.js +1 -1
- package/dist/pipeline/steps/load-existing.js.map +1 -1
- package/dist/pipeline/steps/references.d.ts +16 -0
- package/dist/pipeline/steps/references.d.ts.map +1 -1
- package/dist/pipeline/steps/references.js +18 -0
- package/dist/pipeline/steps/references.js.map +1 -1
- package/dist/pipeline/steps/resolve-artifact-source.d.ts +35 -0
- package/dist/pipeline/steps/resolve-artifact-source.d.ts.map +1 -0
- package/dist/pipeline/steps/resolve-artifact-source.js +27 -0
- package/dist/pipeline/steps/resolve-artifact-source.js.map +1 -0
- package/dist/pipeline/steps/server-stamped-reserved-labels.d.ts.map +1 -1
- package/dist/pipeline/steps/server-stamped-reserved-labels.js.map +1 -1
- package/dist/pipeline/steps/slug.d.ts.map +1 -1
- package/dist/pipeline/steps/slug.js.map +1 -1
- package/dist/pipeline/steps/validate-visibility.d.ts +9 -0
- package/dist/pipeline/steps/validate-visibility.d.ts.map +1 -1
- package/dist/pipeline/steps/validate-visibility.js +6 -1
- package/dist/pipeline/steps/validate-visibility.js.map +1 -1
- package/dist/pipeline/steps/validation.d.ts.map +1 -1
- package/dist/pipeline/steps/validation.js.map +1 -1
- package/dist/pipeline/steps/version-archive.d.ts +63 -0
- package/dist/pipeline/steps/version-archive.d.ts.map +1 -0
- package/dist/pipeline/steps/version-archive.js +129 -0
- package/dist/pipeline/steps/version-archive.js.map +1 -0
- package/dist/pipeline/steps/version-history.d.ts +49 -0
- package/dist/pipeline/steps/version-history.d.ts.map +1 -0
- package/dist/pipeline/steps/version-history.js +229 -0
- package/dist/pipeline/steps/version-history.js.map +1 -0
- package/dist/pipeline/steps/visibility-gates.d.ts +8 -0
- package/dist/pipeline/steps/visibility-gates.d.ts.map +1 -1
- package/dist/pipeline/steps/visibility-gates.js +7 -2
- package/dist/pipeline/steps/visibility-gates.js.map +1 -1
- package/dist/query/search/registry.d.ts.map +1 -1
- package/dist/query/search/registry.js +2 -0
- package/dist/query/search/registry.js.map +1 -1
- package/dist/runnerauth/bound-execution.d.ts +27 -0
- package/dist/runnerauth/bound-execution.d.ts.map +1 -0
- package/dist/runnerauth/bound-execution.js +137 -0
- package/dist/runnerauth/bound-execution.js.map +1 -0
- package/dist/runnerauth/built-in-runner-credential-provider.d.ts +28 -0
- package/dist/runnerauth/built-in-runner-credential-provider.d.ts.map +1 -0
- package/dist/runnerauth/built-in-runner-credential-provider.js +217 -0
- package/dist/runnerauth/built-in-runner-credential-provider.js.map +1 -0
- package/dist/runnerauth/constants.d.ts +63 -0
- package/dist/runnerauth/constants.d.ts.map +1 -0
- package/dist/runnerauth/constants.js +63 -0
- package/dist/runnerauth/constants.js.map +1 -0
- package/dist/runnerauth/dispatch-credential.d.ts +38 -0
- package/dist/runnerauth/dispatch-credential.d.ts.map +1 -0
- package/dist/runnerauth/dispatch-credential.js +17 -0
- package/dist/runnerauth/dispatch-credential.js.map +1 -0
- package/dist/runnerauth/runner-credential-provider.d.ts +49 -11
- package/dist/runnerauth/runner-credential-provider.d.ts.map +1 -1
- package/dist/runnerauth/runner-credential-provider.js +16 -4
- package/dist/runnerauth/runner-credential-provider.js.map +1 -1
- package/dist/runnerauth/runner-subject-verifier.d.ts +14 -0
- package/dist/runnerauth/runner-subject-verifier.d.ts.map +1 -0
- package/dist/runnerauth/runner-subject-verifier.js +115 -0
- package/dist/runnerauth/runner-subject-verifier.js.map +1 -0
- package/dist/runnerauth/runnerauth.d.ts +33 -4
- package/dist/runnerauth/runnerauth.d.ts.map +1 -1
- package/dist/runnerauth/runnerauth.js +131 -35
- package/dist/runnerauth/runnerauth.js.map +1 -1
- package/dist/temporal/agentexecution/engine-client.d.ts +13 -0
- package/dist/temporal/agentexecution/engine-client.d.ts.map +1 -1
- package/dist/temporal/agentexecution/engine-client.js +10 -2
- package/dist/temporal/agentexecution/engine-client.js.map +1 -1
- package/dist/temporal/agentexecution/workflow-input.d.ts +13 -0
- package/dist/temporal/agentexecution/workflow-input.d.ts.map +1 -1
- package/dist/temporal/agentexecution/workflows/invoke-agent-execution.d.ts.map +1 -1
- package/dist/temporal/agentexecution/workflows/invoke-agent-execution.js +35 -31
- package/dist/temporal/agentexecution/workflows/invoke-agent-execution.js.map +1 -1
- package/dist/temporal/schedule/run-starter.d.ts +1 -1
- package/dist/temporal/schedule/run-starter.d.ts.map +1 -1
- package/dist/temporal/schedule/run-starter.js +14 -1
- package/dist/temporal/schedule/run-starter.js.map +1 -1
- package/dist/temporal/workflowexecution/engine-client.d.ts +24 -0
- package/dist/temporal/workflowexecution/engine-client.d.ts.map +1 -1
- package/dist/temporal/workflowexecution/engine-client.js +26 -19
- package/dist/temporal/workflowexecution/engine-client.js.map +1 -1
- package/dist/temporal/workflowexecution/workflow-input.d.ts +14 -0
- package/dist/temporal/workflowexecution/workflow-input.d.ts.map +1 -1
- package/package.json +5 -4
- package/src/archive/__tests__/archive.test.ts +233 -0
- package/src/{domain/skill → archive}/__tests__/prefilter.test.ts +1 -1
- package/src/archive/content-store.ts +132 -0
- package/src/archive/inflate.ts +107 -0
- package/src/archive/limits.ts +42 -0
- package/src/archive/open.ts +131 -0
- package/src/{domain/skill/storage → archive}/prefilter.ts +5 -0
- package/src/archive/write.ts +54 -0
- package/src/authorization/README.md +124 -0
- package/src/authorization/__tests__/authorizer.test.ts +719 -0
- package/src/authorization/__tests__/derived-tuples.test.ts +802 -0
- package/src/authorization/__tests__/drivers.ts +70 -0
- package/src/authorization/__tests__/evaluator.test.ts +359 -0
- package/src/authorization/__tests__/facts.test.ts +155 -0
- package/src/authorization/__tests__/fixtures/fga/agent-channel-owner.fga.yaml +112 -0
- package/src/authorization/__tests__/fixtures/fga/agent-share-owner.fga.yaml +109 -0
- package/src/authorization/__tests__/fixtures/fga/artifact-org-and-owner.fga.yaml +128 -0
- package/src/authorization/__tests__/fixtures/fga/blueprint-private-visibility.fga.yaml +410 -0
- package/src/authorization/__tests__/fixtures/fga/channel-app-owner.fga.yaml +125 -0
- package/src/authorization/__tests__/fixtures/fga/channel-participation.fga.yaml +201 -0
- package/src/authorization/__tests__/fixtures/fga/channel-session-visibility.fga.yaml +187 -0
- package/src/authorization/__tests__/fixtures/fga/cross-org-share-creation.fga.yaml +98 -0
- package/src/authorization/__tests__/fixtures/fga/default-instance-inheritance.fga.yaml +271 -0
- package/src/authorization/__tests__/fixtures/fga/memory-subject-only.fga.yaml +72 -0
- package/src/authorization/__tests__/fixtures/fga/org-admin-owner-inheritance.fga.yaml +328 -0
- package/src/authorization/__tests__/fixtures/fga/org-shared-environment.fga.yaml +144 -0
- package/src/authorization/__tests__/fixtures/fga/platform-visibility.fga.yaml +223 -0
- package/src/authorization/__tests__/fixtures/fga/provider-standing-viewer.fga.yaml +40 -0
- package/src/authorization/__tests__/fixtures/fga/public-visibility-setter.fga.yaml +52 -0
- package/src/authorization/__tests__/fixtures/fga/reserved-label-writer.fga.yaml +41 -0
- package/src/authorization/__tests__/fixtures/fga/schedule-owner.fga.yaml +113 -0
- package/src/authorization/__tests__/fixtures/fga/schedule-session-visibility.fga.yaml +214 -0
- package/src/authorization/__tests__/fixtures/fga/session-personal-resource.fga.yaml +117 -0
- package/src/authorization/__tests__/fixtures/fga/workflow-execution-sharing.fga.yaml +192 -0
- package/src/authorization/__tests__/lane-admission.test.ts +115 -0
- package/src/authorization/__tests__/list-read-scope.measure.test.ts +317 -0
- package/src/authorization/__tests__/list-read-scope.test.ts +796 -0
- package/src/authorization/__tests__/organization-directory.test.ts +236 -0
- package/src/authorization/__tests__/person.test.ts +114 -0
- package/src/authorization/__tests__/posture.test.ts +25 -0
- package/src/authorization/__tests__/schedule-fire-caller.test.ts +134 -0
- package/src/authorization/__tests__/store-tests.test.ts +306 -0
- package/src/authorization/__tests__/support.ts +101 -0
- package/src/authorization/__tests__/tuples.test.ts +62 -0
- package/src/authorization/__tests__/wire-permissions.test.ts +154 -0
- package/src/authorization/authorizer.ts +208 -0
- package/src/authorization/derived-tuples.ts +384 -0
- package/src/authorization/evaluator.ts +283 -0
- package/src/authorization/facts.ts +47 -0
- package/src/authorization/lane-admission.ts +73 -0
- package/src/authorization/list-read-scope.ts +216 -0
- package/src/authorization/model/__tests__/registry.test.ts +317 -0
- package/src/authorization/model/agent.ts +64 -0
- package/src/authorization/model/agent_channel.ts +49 -0
- package/src/authorization/model/agent_execution.ts +33 -0
- package/src/authorization/model/agent_instance.ts +66 -0
- package/src/authorization/model/agent_share.ts +40 -0
- package/src/authorization/model/api_key.ts +28 -0
- package/src/authorization/model/artifact.ts +38 -0
- package/src/authorization/model/channel_app.ts +39 -0
- package/src/authorization/model/default-of.ts +99 -0
- package/src/authorization/model/environment.ts +48 -0
- package/src/authorization/model/execution_context.ts +20 -0
- package/src/authorization/model/iam_policy.ts +42 -0
- package/src/authorization/model/identity_account.ts +26 -0
- package/src/authorization/model/index.ts +108 -0
- package/src/authorization/model/mcp_server.ts +59 -0
- package/src/authorization/model/memory.ts +27 -0
- package/src/authorization/model/oauth_app.ts +42 -0
- package/src/authorization/model/organization.ts +55 -0
- package/src/authorization/model/plugin.ts +66 -0
- package/src/authorization/model/project.ts +47 -0
- package/src/authorization/model/rewrite.ts +213 -0
- package/src/authorization/model/schedule.ts +40 -0
- package/src/authorization/model/session.ts +50 -0
- package/src/authorization/model/skill.ts +60 -0
- package/src/authorization/model/workflow.ts +60 -0
- package/src/authorization/model/workflow_execution.ts +44 -0
- package/src/authorization/model/workflow_instance.ts +122 -0
- package/src/authorization/organization-directory.ts +114 -0
- package/src/authorization/person.ts +68 -0
- package/src/authorization/posture.ts +49 -0
- package/src/authorization/schedule-fire-caller.ts +87 -0
- package/src/authorization/store-test-kit.ts +454 -0
- package/src/authorization/tuples.ts +190 -0
- package/src/boot/compose.ts +246 -52
- package/src/boot/inprocess.ts +115 -31
- package/src/domain/agent/controller.ts +11 -0
- package/src/domain/executioncontext/__tests__/executioncontext.test.ts +104 -0
- package/src/domain/executioncontext/__tests__/resolve-values-capability.test.ts +33 -4
- package/src/domain/executioncontext/resolve-values-for-caller.ts +79 -22
- package/src/domain/iampolicy/__tests__/membership.test.ts +357 -3
- package/src/domain/iampolicy/constants.ts +12 -0
- package/src/domain/iampolicy/membership.ts +221 -66
- package/src/domain/identityaccount/__tests__/account-for-stamp.test.ts +111 -0
- package/src/domain/identityaccount/actor.ts +84 -0
- package/src/domain/identityaccount/resolve.ts +31 -0
- package/src/domain/mcpserver/__tests__/connect.test.ts +17 -2
- package/src/domain/mcpserver/connect-execution-id.ts +34 -0
- package/src/domain/mcpserver/connect.ts +38 -3
- package/src/domain/mcpserver/controller.ts +11 -0
- package/src/domain/mcpserver/engine.ts +9 -3
- package/src/domain/mcpserver/start-connect.ts +1 -1
- package/src/domain/platform/controller.ts +24 -11
- package/src/domain/plugin/__tests__/materialize.test.ts +303 -0
- package/src/domain/plugin/__tests__/overlay-parse.test.ts +85 -0
- package/src/domain/plugin/__tests__/plugin.test.ts +796 -0
- package/src/domain/plugin/__tests__/sanitize.test.ts +174 -0
- package/src/domain/plugin/archive.ts +89 -0
- package/src/domain/plugin/constants.ts +53 -0
- package/src/domain/plugin/controller.ts +913 -0
- package/src/domain/plugin/materialize/agent.ts +186 -0
- package/src/domain/plugin/materialize/default-agent-instructions.ts +59 -0
- package/src/domain/plugin/materialize/identity.ts +67 -0
- package/src/domain/plugin/materialize/mcp-servers.ts +175 -0
- package/src/domain/plugin/materialize/plan.ts +124 -0
- package/src/domain/plugin/materialize/ports.ts +53 -0
- package/src/domain/plugin/materialize/skills.ts +68 -0
- package/src/domain/plugin/materialize/workflows.ts +51 -0
- package/src/domain/plugin/members.ts +180 -0
- package/src/domain/plugin/overlay/documents.ts +78 -0
- package/src/domain/plugin/overlay/parse.ts +115 -0
- package/src/domain/plugin/overlay/sanitize.ts +151 -0
- package/src/domain/plugin/push.ts +1062 -0
- package/src/domain/plugin/search-extractor.ts +60 -0
- package/src/domain/skill/constants.ts +11 -14
- package/src/domain/skill/controller.ts +44 -36
- package/src/domain/skill/push.ts +61 -156
- package/src/domain/skill/search-extractor.ts +3 -1
- package/src/domain/skill/storage/artifact-storage.ts +23 -124
- package/src/domain/skill/storage/zip-gate.ts +58 -154
- package/src/domain/skill/version-resolution.ts +67 -269
- package/src/domain/workflow/controller.ts +38 -4
- package/src/domain/workflow/registry/data/task-kind-registry.json +1 -0
- package/src/domain/workflowexecution/__tests__/phases.test.ts +58 -0
- package/src/domain/workflowexecution/phases.ts +33 -0
- package/src/extensions/__tests__/built-in-authorization-composed.test.ts +835 -0
- package/src/extensions/__tests__/composed-support.ts +32 -1
- package/src/extensions/__tests__/extension-composition.test.ts +42 -1
- package/src/extensions/__tests__/list-read-scope.test.ts +137 -33
- package/src/extensions/__tests__/role-reconciliation-composed.test.ts +209 -0
- package/src/extensions/__tests__/tier-truthfulness.test.ts +6 -14
- package/src/extensions/authorizer.ts +10 -5
- package/src/extensions/drivers.ts +4 -1
- package/src/extensions/list-read-scope.ts +67 -45
- package/src/extensions/organization-directory.ts +13 -9
- package/src/extensions/resource-authorization.ts +34 -0
- package/src/extensions/schedule-fire-caller.ts +49 -18
- package/src/identity/__tests__/oidc-verifier.test.ts +22 -0
- package/src/identity/oidc-verifier.ts +8 -1
- package/src/index.ts +51 -1
- package/src/pipeline/__tests__/kind-by-id-prefix.test.ts +75 -0
- package/src/pipeline/__tests__/router-transport.test.ts +1 -3
- package/src/pipeline/apiresource-labels.ts +31 -3
- package/src/pipeline/apiresource-meta.ts +41 -0
- package/src/pipeline/errors.ts +5 -5
- package/src/pipeline/steps/__tests__/authorize-annotation-completeness.test.ts +1 -20
- package/src/pipeline/steps/__tests__/guard-memory-capture.test.ts +58 -44
- package/src/pipeline/steps/__tests__/guard-plugin-managed.test.ts +151 -0
- package/src/pipeline/steps/__tests__/guard-reserved-labels.test.ts +83 -8
- package/src/pipeline/steps/authorization-facts.ts +131 -0
- package/src/pipeline/steps/delete.ts +11 -3
- package/src/pipeline/steps/duplicate.ts +8 -2
- package/src/pipeline/steps/guard-memory-capture.ts +5 -3
- package/src/pipeline/steps/guard-plugin-managed.ts +133 -0
- package/src/pipeline/steps/guard-reserved-labels.ts +29 -8
- package/src/pipeline/steps/helpers.ts +4 -1
- package/src/pipeline/steps/index-search.ts +28 -15
- package/src/pipeline/steps/load-existing.ts +12 -3
- package/src/pipeline/steps/references.ts +36 -2
- package/src/pipeline/steps/resolve-artifact-source.ts +66 -0
- package/src/pipeline/steps/server-stamped-reserved-labels.ts +2 -1
- package/src/pipeline/steps/slug.ts +7 -2
- package/src/pipeline/steps/validate-visibility.ts +9 -2
- package/src/pipeline/steps/validation.ts +3 -1
- package/src/pipeline/steps/version-archive.ts +225 -0
- package/src/pipeline/steps/version-history.ts +362 -0
- package/src/pipeline/steps/visibility-gates.ts +12 -9
- package/src/query/README.md +1 -1
- package/src/query/search/__tests__/criteria.test.ts +6 -7
- package/src/query/search/__tests__/query-store.test.ts +9 -2
- package/src/query/search/__tests__/registry.test.ts +6 -4
- package/src/query/search/registry.ts +6 -1
- package/src/runnerauth/__tests__/bound-execution.test.ts +334 -0
- package/src/runnerauth/__tests__/built-in-runner-credential-provider.test.ts +516 -0
- package/src/runnerauth/__tests__/dispatch-credential.test.ts +94 -0
- package/src/runnerauth/__tests__/runner-credential-provider.test.ts +27 -0
- package/src/runnerauth/__tests__/runner-subject-composed.test.ts +497 -0
- package/src/runnerauth/__tests__/runner-subject-verifier.test.ts +541 -0
- package/src/runnerauth/bound-execution.ts +270 -0
- package/src/runnerauth/built-in-runner-credential-provider.ts +300 -0
- package/src/runnerauth/constants.ts +74 -0
- package/src/runnerauth/dispatch-credential.ts +63 -0
- package/src/runnerauth/runner-credential-provider.ts +60 -11
- package/src/runnerauth/runner-subject-verifier.ts +152 -0
- package/src/runnerauth/runnerauth.ts +148 -38
- package/src/temporal/agentexecution/__tests__/engine-client.test.ts +107 -38
- package/src/temporal/agentexecution/__tests__/invoke-workflow.test.ts +105 -2
- package/src/temporal/agentexecution/engine-client.ts +27 -2
- package/src/temporal/agentexecution/workflow-input.ts +13 -0
- package/src/temporal/agentexecution/workflows/invoke-agent-execution.ts +90 -44
- package/src/temporal/schedule/__tests__/run-starter.test.ts +86 -24
- package/src/temporal/schedule/run-starter.ts +31 -8
- package/src/temporal/workflowexecution/__tests__/engine-client.test.ts +139 -33
- package/src/temporal/workflowexecution/engine-client.ts +48 -21
- package/src/temporal/workflowexecution/workflow-input.ts +14 -0
- package/dist/domain/skill/storage/prefilter.d.ts.map +0 -1
- package/dist/domain/skill/storage/prefilter.js.map +0 -1
- /package/dist/{domain/skill/storage → archive}/prefilter.js +0 -0
|
@@ -157,28 +157,77 @@ const approvalGateResolvedSignal = defineSignal(SIGNAL_APPROVAL_GATE_RESOLVED);
|
|
|
157
157
|
|
|
158
158
|
// ─── Activity proxies (options are contract; see the census table) ──────
|
|
159
159
|
|
|
160
|
+
/**
|
|
161
|
+
* The typed input of ExecuteDeepAgent and ExecuteCursor — the runner's
|
|
162
|
+
* ExecuteActivityInput (shared/activity-input.ts), snake_case keys, a
|
|
163
|
+
* cross-component wire contract. `execution_context_token` is the run
|
|
164
|
+
* credential the workflow input carries (workflow-input.ts), handed on
|
|
165
|
+
* so the activity can present it on the run's own RPCs; omitted when the
|
|
166
|
+
* dispatch carried none (the omitempty convention). Adding the key needed
|
|
167
|
+
* no patch marker: an in-flight history's input has no token, so the
|
|
168
|
+
* commands its replay generates are byte-for-byte what they were.
|
|
169
|
+
*/
|
|
170
|
+
interface ExecuteActivityInput {
|
|
171
|
+
readonly execution_id: string;
|
|
172
|
+
readonly thread_id: string;
|
|
173
|
+
readonly invoker_identity_account_id: string;
|
|
174
|
+
readonly turn_seq: number;
|
|
175
|
+
readonly execution_context_token?: string;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The typed input of GenerateSessionSubject — the runner's
|
|
180
|
+
* GenerateSessionSubjectInput (activities/generate-session-subject.ts),
|
|
181
|
+
* snake_case keys. Sent ONLY when the dispatch carries a run credential;
|
|
182
|
+
* otherwise the activity is called with the positional execution id it has
|
|
183
|
+
* always received, byte for byte, because a server whose dispatches carry
|
|
184
|
+
* no credential (the cloud's: its runner credential is provisioned, not
|
|
185
|
+
* dispatched) talks to desktop runners in the field that predate the object
|
|
186
|
+
* shape, and a session title is not worth breaking for them. A runner that
|
|
187
|
+
* knows the object accepts both.
|
|
188
|
+
*/
|
|
189
|
+
interface GenerateSessionSubjectInput {
|
|
190
|
+
readonly execution_id: string;
|
|
191
|
+
readonly execution_context_token: string;
|
|
192
|
+
}
|
|
193
|
+
|
|
160
194
|
interface RunnerActivities {
|
|
161
195
|
[ENSURE_THREAD_ACTIVITY_NAME]: (
|
|
162
196
|
sessionId: string,
|
|
163
197
|
agentId: string,
|
|
164
198
|
) => Promise<string>;
|
|
165
|
-
[EXECUTE_DEEP_AGENT_ACTIVITY_NAME]: (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
[EXECUTE_CURSOR_ACTIVITY_NAME]: (input: {
|
|
172
|
-
execution_id: string;
|
|
173
|
-
thread_id: string;
|
|
174
|
-
invoker_identity_account_id: string;
|
|
175
|
-
turn_seq: number;
|
|
176
|
-
}) => Promise<RunnerActivityResult | null>;
|
|
199
|
+
[EXECUTE_DEEP_AGENT_ACTIVITY_NAME]: (
|
|
200
|
+
input: ExecuteActivityInput,
|
|
201
|
+
) => Promise<RunnerActivityResult | null>;
|
|
202
|
+
[EXECUTE_CURSOR_ACTIVITY_NAME]: (
|
|
203
|
+
input: ExecuteActivityInput,
|
|
204
|
+
) => Promise<RunnerActivityResult | null>;
|
|
177
205
|
[GENERATE_SESSION_SUBJECT_ACTIVITY_NAME]: (
|
|
178
|
-
|
|
206
|
+
input: GenerateSessionSubjectInput | string,
|
|
179
207
|
) => Promise<void>;
|
|
180
208
|
}
|
|
181
209
|
|
|
210
|
+
/**
|
|
211
|
+
* The ONE builder of an Execute* input for both harness flows and both
|
|
212
|
+
* invocations (first turn and every HITL re-invocation): the run's
|
|
213
|
+
* coordinates from the workflow input, the harness thread and the turn
|
|
214
|
+
* from the caller.
|
|
215
|
+
*/
|
|
216
|
+
function executeActivityInput(
|
|
217
|
+
input: InvokeAgentExecutionWorkflowInput,
|
|
218
|
+
threadId: string,
|
|
219
|
+
turnSeq: number,
|
|
220
|
+
): ExecuteActivityInput {
|
|
221
|
+
const runCredential = input.execution_context_token ?? "";
|
|
222
|
+
return {
|
|
223
|
+
execution_id: input.execution_id,
|
|
224
|
+
thread_id: threadId,
|
|
225
|
+
invoker_identity_account_id: input.invoker_identity_account_id ?? "",
|
|
226
|
+
turn_seq: turnSeq,
|
|
227
|
+
...(runCredential !== "" ? { execution_context_token: runCredential } : {}),
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
|
|
182
231
|
function newEnsureThreadProxy(taskQueue: string) {
|
|
183
232
|
return proxyActivities<Pick<RunnerActivities, typeof ENSURE_THREAD_ACTIVITY_NAME>>({
|
|
184
233
|
taskQueue,
|
|
@@ -516,7 +565,6 @@ async function executeDeepAgentFlow(
|
|
|
516
565
|
): Promise<RunnerActivityResult> {
|
|
517
566
|
const executionId = input.execution_id;
|
|
518
567
|
const sessionId = input.session_id;
|
|
519
|
-
const invoker = input.invoker_identity_account_id ?? "";
|
|
520
568
|
|
|
521
569
|
log.info("Step 1: Ensuring thread", { sessionId, agentId: input.agent_id });
|
|
522
570
|
const ensureThread = newEnsureThreadProxy(activityTaskQueue);
|
|
@@ -531,7 +579,7 @@ async function executeDeepAgentFlow(
|
|
|
531
579
|
}
|
|
532
580
|
log.info("Thread ensured", { threadId });
|
|
533
581
|
|
|
534
|
-
fireGenerateSessionSubject(activityTaskQueue,
|
|
582
|
+
fireGenerateSessionSubject(activityTaskQueue, input);
|
|
535
583
|
|
|
536
584
|
log.info("Step 2: Executing deep agent", { executionId, threadId });
|
|
537
585
|
const agentProxy = newExecuteAgentProxy(activityTaskQueue);
|
|
@@ -547,20 +595,14 @@ async function executeDeepAgentFlow(
|
|
|
547
595
|
signals,
|
|
548
596
|
parentWorkflowId: input.parent_workflow_id ?? "",
|
|
549
597
|
firstInvoke: () =>
|
|
550
|
-
agentProxy[EXECUTE_DEEP_AGENT_ACTIVITY_NAME](
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
invoker_identity_account_id: invoker,
|
|
554
|
-
turn_seq: 0,
|
|
555
|
-
}),
|
|
598
|
+
agentProxy[EXECUTE_DEEP_AGENT_ACTIVITY_NAME](
|
|
599
|
+
executeActivityInput(input, threadId, 0),
|
|
600
|
+
),
|
|
556
601
|
// The LangGraph thread id is stable — re-invocations reuse it.
|
|
557
602
|
reinvoke: (turnSeq) =>
|
|
558
|
-
agentProxy[EXECUTE_DEEP_AGENT_ACTIVITY_NAME](
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
invoker_identity_account_id: invoker,
|
|
562
|
-
turn_seq: turnSeq,
|
|
563
|
-
}),
|
|
603
|
+
agentProxy[EXECUTE_DEEP_AGENT_ACTIVITY_NAME](
|
|
604
|
+
executeActivityInput(input, threadId, turnSeq),
|
|
605
|
+
),
|
|
564
606
|
nullResultMessage: "activity returned null status - this should never happen",
|
|
565
607
|
nullResultAfterApprovalMessage:
|
|
566
608
|
"activity returned null status after approval - this should never happen",
|
|
@@ -584,9 +626,8 @@ async function executeCursorFlow(
|
|
|
584
626
|
): Promise<RunnerActivityResult> {
|
|
585
627
|
const executionId = input.execution_id;
|
|
586
628
|
const sessionId = input.session_id;
|
|
587
|
-
const invoker = input.invoker_identity_account_id ?? "";
|
|
588
629
|
|
|
589
|
-
fireGenerateSessionSubject(activityTaskQueue,
|
|
630
|
+
fireGenerateSessionSubject(activityTaskQueue, input);
|
|
590
631
|
|
|
591
632
|
log.info("Executing Cursor agent", { executionId, sessionId });
|
|
592
633
|
const agentProxy = newExecuteAgentProxy(activityTaskQueue);
|
|
@@ -612,12 +653,9 @@ async function executeCursorFlow(
|
|
|
612
653
|
);
|
|
613
654
|
harnessStateId = "";
|
|
614
655
|
}
|
|
615
|
-
return agentProxy[EXECUTE_CURSOR_ACTIVITY_NAME](
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
invoker_identity_account_id: invoker,
|
|
619
|
-
turn_seq: 0,
|
|
620
|
-
});
|
|
656
|
+
return agentProxy[EXECUTE_CURSOR_ACTIVITY_NAME](
|
|
657
|
+
executeActivityInput(input, harnessStateId, 0),
|
|
658
|
+
);
|
|
621
659
|
},
|
|
622
660
|
reinvoke: async (turnSeq) => {
|
|
623
661
|
let harnessStateId: string;
|
|
@@ -634,12 +672,9 @@ async function executeCursorFlow(
|
|
|
634
672
|
cycle: turnSeq,
|
|
635
673
|
harnessStateId,
|
|
636
674
|
});
|
|
637
|
-
return agentProxy[EXECUTE_CURSOR_ACTIVITY_NAME](
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
invoker_identity_account_id: invoker,
|
|
641
|
-
turn_seq: turnSeq,
|
|
642
|
-
});
|
|
675
|
+
return agentProxy[EXECUTE_CURSOR_ACTIVITY_NAME](
|
|
676
|
+
executeActivityInput(input, harnessStateId, turnSeq),
|
|
677
|
+
);
|
|
643
678
|
},
|
|
644
679
|
nullResultMessage:
|
|
645
680
|
"cursor activity returned null status - this should never happen",
|
|
@@ -649,15 +684,26 @@ async function executeCursorFlow(
|
|
|
649
684
|
});
|
|
650
685
|
}
|
|
651
686
|
|
|
652
|
-
/**
|
|
687
|
+
/**
|
|
688
|
+
* GenerateSessionSubject: fire-and-forget, non-blocking (issue #665). The
|
|
689
|
+
* argument shape follows the run credential's presence — see
|
|
690
|
+
* GenerateSessionSubjectInput for why the credential-less dispatch keeps
|
|
691
|
+
* the positional string.
|
|
692
|
+
*/
|
|
653
693
|
function fireGenerateSessionSubject(
|
|
654
694
|
activityTaskQueue: string,
|
|
655
|
-
|
|
695
|
+
input: InvokeAgentExecutionWorkflowInput,
|
|
656
696
|
): void {
|
|
697
|
+
const executionId = input.execution_id;
|
|
698
|
+
const runCredential = input.execution_context_token ?? "";
|
|
699
|
+
const argument: GenerateSessionSubjectInput | string =
|
|
700
|
+
runCredential !== ""
|
|
701
|
+
? { execution_id: executionId, execution_context_token: runCredential }
|
|
702
|
+
: executionId;
|
|
657
703
|
const subjectProxy = newSubjectProxy(activityTaskQueue);
|
|
658
704
|
void (async () => {
|
|
659
705
|
try {
|
|
660
|
-
await subjectProxy[GENERATE_SESSION_SUBJECT_ACTIVITY_NAME](
|
|
706
|
+
await subjectProxy[GENERATE_SESSION_SUBJECT_ACTIVITY_NAME](argument);
|
|
661
707
|
} catch (error) {
|
|
662
708
|
log.warn("Session subject generation failed (non-critical)", {
|
|
663
709
|
executionId,
|
|
@@ -26,6 +26,7 @@ import { Harness } from "@stigmer/protos/ai/stigmer/agentic/session/v1/enum_pb";
|
|
|
26
26
|
import { ApiResourceKind } from "@stigmer/protos/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb";
|
|
27
27
|
|
|
28
28
|
import { createLogger } from "../../../boot/logger.js";
|
|
29
|
+
import { ScheduleFireCallerRefusedError } from "../../../extensions/schedule-fire-caller.js";
|
|
29
30
|
import { SqliteStore } from "../../../store/sqlite/store.js";
|
|
30
31
|
import { ScheduleTemporalConfig } from "../config.js";
|
|
31
32
|
import {
|
|
@@ -37,7 +38,11 @@ import {
|
|
|
37
38
|
scheduledExecutionName,
|
|
38
39
|
} from "../run-starter.js";
|
|
39
40
|
|
|
40
|
-
const silentLogger = createLogger({
|
|
41
|
+
const silentLogger = createLogger({
|
|
42
|
+
level: "error",
|
|
43
|
+
pretty: false,
|
|
44
|
+
write: () => {},
|
|
45
|
+
});
|
|
41
46
|
|
|
42
47
|
const NOMINAL = new Date("2026-08-25T09:30:00Z");
|
|
43
48
|
|
|
@@ -49,13 +54,15 @@ describe("scheduledExecutionName — THE idempotency key (byte-pinned)", () => {
|
|
|
49
54
|
});
|
|
50
55
|
|
|
51
56
|
it("truncates the nominal time to whole seconds", () => {
|
|
52
|
-
expect(
|
|
53
|
-
"
|
|
54
|
-
);
|
|
57
|
+
expect(
|
|
58
|
+
scheduledExecutionName("sch_x", new Date("2026-08-25T09:30:00.999Z")),
|
|
59
|
+
).toBe("sch-x-20260825t093000z");
|
|
55
60
|
});
|
|
56
61
|
|
|
57
62
|
it("every character is slug-shaped (the name IS the execution's slug)", () => {
|
|
58
|
-
expect(scheduledExecutionName("sch_01ABC", NOMINAL)).toMatch(
|
|
63
|
+
expect(scheduledExecutionName("sch_01ABC", NOMINAL)).toMatch(
|
|
64
|
+
/^[a-z0-9-]+$/,
|
|
65
|
+
);
|
|
59
66
|
});
|
|
60
67
|
});
|
|
61
68
|
|
|
@@ -71,7 +78,11 @@ function scheduleWith(overrides?: {
|
|
|
71
78
|
slug?: string;
|
|
72
79
|
}): Schedule {
|
|
73
80
|
return create(ScheduleSchema, {
|
|
74
|
-
metadata: {
|
|
81
|
+
metadata: {
|
|
82
|
+
id: "sch_01test",
|
|
83
|
+
org: "acme",
|
|
84
|
+
slug: overrides?.slug ?? "daily",
|
|
85
|
+
},
|
|
75
86
|
spec: {
|
|
76
87
|
cron: "0 9 * * *",
|
|
77
88
|
timeZone: overrides?.timeZone ?? "Asia/Kolkata",
|
|
@@ -109,16 +120,18 @@ describe("composeMessage — the fire-context line (byte contract)", () => {
|
|
|
109
120
|
});
|
|
110
121
|
|
|
111
122
|
it("an unloadable zone degrades to UTC (a slightly wrong-timezone reminder beats a dead fire)", () => {
|
|
112
|
-
expect(
|
|
123
|
+
expect(
|
|
124
|
+
composeMessage(scheduleWith({ timeZone: "Mars/Olympus" }), NOMINAL),
|
|
125
|
+
).toBe(
|
|
113
126
|
"Do the morning rounds\n\n(Scheduled fire time: Tuesday, 2026-08-25 09:30 (UTC))",
|
|
114
127
|
);
|
|
115
128
|
});
|
|
116
129
|
|
|
117
130
|
it("uses h23 hours (Go's 15 layout: 00-23, never 24)", () => {
|
|
118
131
|
const midnight = new Date("2026-08-25T00:05:00Z");
|
|
119
|
-
expect(
|
|
120
|
-
|
|
121
|
-
);
|
|
132
|
+
expect(
|
|
133
|
+
composeMessage(scheduleWith({ timeZone: "UTC" }), midnight),
|
|
134
|
+
).toContain("Tuesday, 2026-08-25 00:05 (UTC)");
|
|
122
135
|
});
|
|
123
136
|
});
|
|
124
137
|
|
|
@@ -176,7 +189,9 @@ describe("RunStarter.startRun — against a real store", () => {
|
|
|
176
189
|
rmSync(dir, { recursive: true, force: true });
|
|
177
190
|
});
|
|
178
191
|
|
|
179
|
-
function starter(
|
|
192
|
+
function starter(
|
|
193
|
+
create_: (execution: AgentExecution) => Promise<AgentExecution>,
|
|
194
|
+
) {
|
|
180
195
|
return new RunStarter({
|
|
181
196
|
store,
|
|
182
197
|
config,
|
|
@@ -208,14 +223,20 @@ describe("RunStarter.startRun — against a real store", () => {
|
|
|
208
223
|
expect(seen?.metadata?.labels[SCHEDULE_ID_LABEL_KEY]).toBe("sch_01test");
|
|
209
224
|
expect(seen?.spec?.agentId).toBe("agt_01helper");
|
|
210
225
|
expect(seen?.spec?.message).toContain("(Scheduled fire time: ");
|
|
211
|
-
expect(seen?.spec?.sessionSpec?.subject).toBe(
|
|
212
|
-
|
|
226
|
+
expect(seen?.spec?.sessionSpec?.subject).toBe(
|
|
227
|
+
`${SESSION_SUBJECT_PREFIX}daily`,
|
|
228
|
+
);
|
|
229
|
+
expect(seen?.spec?.executionConfig?.approvalMode).toBe(
|
|
230
|
+
ApprovalMode.UNATTENDED,
|
|
231
|
+
);
|
|
213
232
|
// Platform profile applies when the owner set nothing.
|
|
214
233
|
expect(seen?.spec?.executionConfig?.maxToolRounds).toBe(20);
|
|
215
234
|
expect(seen?.spec?.executionConfig?.maxCostUsd).toBe(1.0);
|
|
216
235
|
// Unset tier/model stay unset (never stamped).
|
|
217
236
|
expect(seen?.spec?.executionConfig?.modelName).toBe("");
|
|
218
|
-
expect(seen?.spec?.executionConfig?.serviceTier).toBe(
|
|
237
|
+
expect(seen?.spec?.executionConfig?.serviceTier).toBe(
|
|
238
|
+
ServiceTier.UNSPECIFIED,
|
|
239
|
+
);
|
|
219
240
|
|
|
220
241
|
// Success stamped last_execution_id on the row.
|
|
221
242
|
const row = await store.getResource(
|
|
@@ -333,11 +354,41 @@ describe("RunStarter.startRun — against a real store", () => {
|
|
|
333
354
|
},
|
|
334
355
|
logger: silentLogger,
|
|
335
356
|
});
|
|
336
|
-
await expect(
|
|
357
|
+
await expect(
|
|
358
|
+
runStarter.startRun(scheduleWith(), NOMINAL),
|
|
359
|
+
).rejects.toThrow(
|
|
337
360
|
/mint schedule fire caller for sch_01test: account provisioning unavailable/,
|
|
338
361
|
);
|
|
339
362
|
});
|
|
340
363
|
|
|
364
|
+
it("answers `refused` when the mint's failure is the seam's deterministic refusal — the streak counts it, no retry", async () => {
|
|
365
|
+
let created = 0;
|
|
366
|
+
const runStarter = new RunStarter({
|
|
367
|
+
store,
|
|
368
|
+
config,
|
|
369
|
+
executions: {
|
|
370
|
+
create: async () => {
|
|
371
|
+
created += 1;
|
|
372
|
+
throw new Error("create must not run when the mint refused");
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
fireCallerMint: {
|
|
376
|
+
mintFireCaller: async () => {
|
|
377
|
+
throw new ScheduleFireCallerRefusedError(
|
|
378
|
+
"schedule sch_01test was created by nobody this server recognizes as a person",
|
|
379
|
+
);
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
logger: silentLogger,
|
|
383
|
+
});
|
|
384
|
+
expect(await runStarter.startRun(scheduleWith(), NOMINAL)).toEqual({
|
|
385
|
+
kind: "refused",
|
|
386
|
+
reason:
|
|
387
|
+
"schedule sch_01test was created by nobody this server recognizes as a person",
|
|
388
|
+
});
|
|
389
|
+
expect(created).toBe(0);
|
|
390
|
+
});
|
|
391
|
+
|
|
341
392
|
it("never mints on the idempotent path (the winner needs no credential)", async () => {
|
|
342
393
|
await store.saveResource(
|
|
343
394
|
ApiResourceKind.agent_execution,
|
|
@@ -372,7 +423,10 @@ describe("RunStarter.startRun — against a real store", () => {
|
|
|
372
423
|
executionId: "aex_01winner",
|
|
373
424
|
alreadyExisted: true,
|
|
374
425
|
});
|
|
375
|
-
await store.deleteResource(
|
|
426
|
+
await store.deleteResource(
|
|
427
|
+
ApiResourceKind.agent_execution,
|
|
428
|
+
"aex_01winner",
|
|
429
|
+
);
|
|
376
430
|
});
|
|
377
431
|
});
|
|
378
432
|
|
|
@@ -410,13 +464,19 @@ describe("RunStarter.startRun — against a real store", () => {
|
|
|
410
464
|
Code.NotFound,
|
|
411
465
|
Code.InvalidArgument,
|
|
412
466
|
Code.ResourceExhausted,
|
|
413
|
-
])(
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
467
|
+
])(
|
|
468
|
+
"maps the launch-gate code %s to a refused outcome (the streak counts it)",
|
|
469
|
+
async (code) => {
|
|
470
|
+
const runStarter = starter(async () => {
|
|
471
|
+
throw new ConnectError("gate refused this run", code);
|
|
472
|
+
});
|
|
473
|
+
const outcome = await runStarter.startRun(scheduleWith(), NOMINAL);
|
|
474
|
+
expect(outcome).toEqual({
|
|
475
|
+
kind: "refused",
|
|
476
|
+
reason: "gate refused this run",
|
|
477
|
+
});
|
|
478
|
+
},
|
|
479
|
+
);
|
|
420
480
|
|
|
421
481
|
it("rethrows infrastructure codes so the activity retries", async () => {
|
|
422
482
|
const runStarter = starter(async () => {
|
|
@@ -463,7 +523,9 @@ describe("RunStarter.startRun — against a real store", () => {
|
|
|
463
523
|
let seen: AgentExecution | undefined;
|
|
464
524
|
const runStarter = starter(async (execution) => {
|
|
465
525
|
seen = execution;
|
|
466
|
-
return create(AgentExecutionSchema, {
|
|
526
|
+
return create(AgentExecutionSchema, {
|
|
527
|
+
metadata: { id: "aex_01x", org: "acme" },
|
|
528
|
+
});
|
|
467
529
|
});
|
|
468
530
|
await runStarter.startRun(
|
|
469
531
|
scheduleWith({
|
|
@@ -48,6 +48,7 @@ import { ApiResourceMetadataSchema } from "@stigmer/protos/ai/stigmer/commons/ap
|
|
|
48
48
|
import type { Logger } from "../../boot/logger.js";
|
|
49
49
|
import type { CallerIdentity } from "../../extensions/identity.js";
|
|
50
50
|
import type { ScheduleFireCallerMint } from "../../extensions/schedule-fire-caller.js";
|
|
51
|
+
import { ScheduleFireCallerRefusedError } from "../../extensions/schedule-fire-caller.js";
|
|
51
52
|
import { findResourceBySlug } from "../../pipeline/steps/helpers.js";
|
|
52
53
|
import { ResourceNotFoundError } from "../../store/interface.js";
|
|
53
54
|
import type { Store } from "../../store/interface.js";
|
|
@@ -152,7 +153,9 @@ function fireContextLine(
|
|
|
152
153
|
let zone = requestedZone;
|
|
153
154
|
let parts: Intl.DateTimeFormatPart[];
|
|
154
155
|
try {
|
|
155
|
-
parts = fireContextFormatter(zone === "" ? "UTC" : zone).formatToParts(
|
|
156
|
+
parts = fireContextFormatter(zone === "" ? "UTC" : zone).formatToParts(
|
|
157
|
+
nominal,
|
|
158
|
+
);
|
|
156
159
|
if (zone === "") {
|
|
157
160
|
zone = "UTC";
|
|
158
161
|
}
|
|
@@ -209,7 +212,7 @@ export interface RunStarterDeps {
|
|
|
209
212
|
readonly store: Store;
|
|
210
213
|
readonly config: ScheduleTemporalConfig;
|
|
211
214
|
readonly executions: ScheduleExecutionCreator;
|
|
212
|
-
/** The composed fire-caller mint, or undefined (the
|
|
215
|
+
/** The composed fire-caller mint, or undefined (the trusted-local internal lane). */
|
|
213
216
|
readonly fireCallerMint?: ScheduleFireCallerMint;
|
|
214
217
|
readonly logger: Logger;
|
|
215
218
|
}
|
|
@@ -280,10 +283,13 @@ export class RunStarter {
|
|
|
280
283
|
}
|
|
281
284
|
if (existing !== undefined) {
|
|
282
285
|
const executionId = existing.metadata?.id ?? "";
|
|
283
|
-
logger.info(
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
286
|
+
logger.info(
|
|
287
|
+
"Schedule fire already has its execution (idempotent retry)",
|
|
288
|
+
{
|
|
289
|
+
schedule_id: scheduleId,
|
|
290
|
+
execution_id: executionId,
|
|
291
|
+
},
|
|
292
|
+
);
|
|
287
293
|
await this.stampLastExecutionId(scheduleId, executionId);
|
|
288
294
|
return { kind: "started", executionId, alreadyExisted: true };
|
|
289
295
|
}
|
|
@@ -292,7 +298,11 @@ export class RunStarter {
|
|
|
292
298
|
// after the idempotency lookup (a found winner needs no credential)
|
|
293
299
|
// and before the create it authenticates. Failure is an
|
|
294
300
|
// infrastructure fault — thrown, so the tick activity retries under
|
|
295
|
-
// the deterministic name and a manual trigger surfaces it
|
|
301
|
+
// the deterministic name and a manual trigger surfaces it — unless
|
|
302
|
+
// the driver says the refusal is deterministic (the seam's own typed
|
|
303
|
+
// error: this fire can act as nobody, and no retry changes that), in
|
|
304
|
+
// which case it is a `refused` outcome like a launch gate's: the
|
|
305
|
+
// streak counts it and pauses the schedule with the reason.
|
|
296
306
|
let fireCaller: CallerIdentity | undefined;
|
|
297
307
|
if (this.deps.fireCallerMint !== undefined) {
|
|
298
308
|
try {
|
|
@@ -301,6 +311,14 @@ export class RunStarter {
|
|
|
301
311
|
scheduleId,
|
|
302
312
|
);
|
|
303
313
|
} catch (error) {
|
|
314
|
+
if (error instanceof ScheduleFireCallerRefusedError) {
|
|
315
|
+
logger.error("Schedule fire refused by the fire-caller mint", {
|
|
316
|
+
schedule_id: scheduleId,
|
|
317
|
+
org,
|
|
318
|
+
reason: error.message,
|
|
319
|
+
});
|
|
320
|
+
return { kind: "refused", reason: error.message };
|
|
321
|
+
}
|
|
304
322
|
throw new Error(
|
|
305
323
|
`mint schedule fire caller for ${scheduleId}: ${error instanceof Error ? error.message : String(error)}`,
|
|
306
324
|
{ cause: error },
|
|
@@ -311,7 +329,12 @@ export class RunStarter {
|
|
|
311
329
|
let created: AgentExecution;
|
|
312
330
|
try {
|
|
313
331
|
created = await this.deps.executions.create(
|
|
314
|
-
this.buildExecutionRequest(
|
|
332
|
+
this.buildExecutionRequest(
|
|
333
|
+
schedule,
|
|
334
|
+
resolved.agent,
|
|
335
|
+
executionName,
|
|
336
|
+
nominalFireTime,
|
|
337
|
+
),
|
|
315
338
|
fireCaller,
|
|
316
339
|
);
|
|
317
340
|
} catch (error) {
|