@makaio/framework 1.0.0-dev-1788863979610 → 1.0.0-dev-1788909333961
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/2020-Bl3Yx3In.mjs +1 -0
- package/dist/{account-identity-B3vLwm9O.mjs → account-identity-DCBpVurJ.mjs} +1 -1
- package/dist/{adapter-Dz1fX5Wa.mjs → adapter-D6IpEDIo.mjs} +1 -1
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.mjs +6 -6
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/artifact-BjqkK0KX.mjs +1 -0
- package/dist/{attempt-record-codec-BcAPEIW3.mjs → attempt-record-codec-6jpayBMY.mjs} +1 -1
- package/dist/{auth-C6tVtaOX.mjs → auth-CeH3w2fi.mjs} +1 -1
- package/dist/authority-state-bootstrap-8VGt4vD2.mjs +1 -0
- package/dist/{automation-trigger-ByjNlClm.mjs → automation-trigger-D_xKqEoV.mjs} +1 -1
- package/dist/bus/index.d.mts +20 -20
- package/dist/bus/index.mjs +1 -1
- package/dist/{caller-owned-adapter-stub-C1M7FKrv.mjs → caller-owned-adapter-stub-B-Sq7ZvF.mjs} +1 -1
- package/dist/{canonical-model-DXOvCaVg.mjs → canonical-model-DwuFQ02A.mjs} +1 -1
- package/dist/{capabilities-DEvmD9VJ.mjs → capabilities-BhJ3wzI8.mjs} +1 -1
- package/dist/{client-BkznbdsO.mjs → client-CTqzLpVx.mjs} +1 -1
- package/dist/clients/index.d.mts +1 -1
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/clients/managed-install.mjs +1 -1
- package/dist/code-execution/worker-entry.d.mts +1 -1
- package/dist/code-execution/worker-entry.mjs +1 -1
- package/dist/{code-execution-Ckmn8OZu.mjs → code-execution-BMmUATcc.mjs} +1 -1
- package/dist/{code-execution-CweDSWco.mjs → code-execution-BsiB7ZeZ2.mjs} +1 -1
- package/dist/{code-execution-DqkQjKa1.mjs → code-execution-DRCzkGzO.mjs} +1 -1
- package/dist/{compression-CtgeVLpP.mjs → compression-3DauETKU.mjs} +1 -1
- package/dist/{config-namespace-CjWvw8ij.mjs → config-namespace-MjFuIPyL.mjs} +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/auth/index.mjs +1 -1
- package/dist/contracts/automation-trigger/index.d.mts +3 -3
- package/dist/contracts/automation-trigger/index.mjs +1 -1
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/code-execution/index.d.mts +1 -1
- package/dist/contracts/code-execution/index.mjs +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +5 -5
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/facet/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/host/index.mjs +1 -1
- package/dist/contracts/index.d.mts +195 -195
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/model-registry/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/platform/index.mjs +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/reaction/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +2 -2
- package/dist/contracts/shared/index.mjs +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/skill/index.mjs +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.mjs +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/timeout/index.mjs +1 -1
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{contribution-CQIpPQLl.d.mts → contribution-B4t0OXKs.d.mts} +2 -2
- package/dist/{definition-Cdpw5l9g.d.mts → definition-Bs5hzhsT.d.mts} +1 -1
- package/dist/{definition-BH4QLGLI.mjs → definition-YGj42UeO.mjs} +1 -1
- package/dist/{detached-extension-handle-2yUaviLu.mjs → detached-extension-handle-CgJiXaqv.mjs} +1 -1
- package/dist/dist-CfANkKSb.mjs +1 -0
- package/dist/{execution-attempt-owner-recovery-BRjtmTGv.mjs → execution-attempt-owner-recovery-CdH04iwP.mjs} +1 -1
- package/dist/{execution-attempt-repository-CPk3F98N.d.mts → execution-attempt-repository-CF3cWsPo.d.mts} +495 -151
- package/dist/{execution-target-BcoF_oDB.mjs → execution-target-B9jZgDQz.mjs} +1 -1
- package/dist/{extension-Bfkr2DBs.mjs → extension-B51JzHJu.mjs} +1 -1
- package/dist/extension-BgUSK5rv.mjs +1 -0
- package/dist/{filesystem-service-CiUw0YN5.mjs → filesystem-service-yB8KhUGz.mjs} +1 -1
- package/dist/framework-packages-CxWecyPW.mjs +1 -0
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-QBDqstzq.mjs → globby-z2SR0jRo.mjs} +1 -1
- package/dist/{handlers-BsHAFtye.mjs → handlers-CBbFzDHc.mjs} +1 -1
- package/dist/{harness-YQ2ewID9.mjs → harness-GNtHsoh4.mjs} +1 -1
- package/dist/{hook-responses-DK6uu35J.d.mts → hook-responses-Cs8A07ZP.d.mts} +1 -1
- package/dist/{index-fQIrZBY0.d.mts → index-B4Wg4W7d.d.mts} +100 -100
- package/dist/{index-CsDj-DEW.d.mts → index-B6aoVzdA.d.mts} +1 -1
- package/dist/{index-C3uCMCHI.d.mts → index-B7VO0gQV.d.mts} +3 -3
- package/dist/{index-CXZ8ODDT.d.mts → index-BALk4zcu.d.mts} +1 -1
- package/dist/{index-B9vEfalH.d.mts → index-BHZlMm_I.d.mts} +1 -1
- package/dist/{index-Cjy1_Hc2.d.mts → index-BO_ikAR-.d.mts} +18 -18
- package/dist/{index-B8Tc0urp.d.mts → index-BQv9mUzn.d.mts} +139 -115
- package/dist/{index-Dne0xNUI.d.mts → index-BeplDh91.d.mts} +597 -732
- package/dist/{index-BlJbchHp.d.mts → index-BjcJH3I-.d.mts} +1 -1
- package/dist/{index-D5UpsCNq.d.mts → index-BtC1JP5D.d.mts} +1 -1
- package/dist/{index-XNbcZBEZ.d.mts → index-ByJ2NESC.d.mts} +6 -6
- package/dist/{index-COSxBdTp.d.mts → index-CKvOECeR.d.mts} +2 -2
- package/dist/{index-zCstNu9J2.d.mts → index-CZuhTqsX2.d.mts} +12 -12
- package/dist/{index-DXv51ZIb.d.mts → index-CpdRe5df.d.mts} +116 -116
- package/dist/{index-DQWEOn6i.d.mts → index-D7j6v0-L.d.mts} +1 -1
- package/dist/{index-1y-PUD3B.d.mts → index-DFsJTTkS.d.mts} +1 -1
- package/dist/{index-D9CdrFKz2.d.mts → index-DI-1HK7v2.d.mts} +1 -1
- package/dist/{index-BDs5tDcM.d.mts → index-DlKxbLC9.d.mts} +8 -8
- package/dist/{index-CvWUgywU.d.mts → index-OP6Aw5jN.d.mts} +1 -1
- package/dist/{index-DmTBlEzu.d.mts → index-U0Fe0baO.d.mts} +6 -6
- package/dist/{index-jZXIrHlY.d.mts → index-VAJBIJUb.d.mts} +96 -42
- package/dist/{index-BDAPOKi3.d.mts → index-VCtdvtEk.d.mts} +360 -360
- package/dist/{index-DtHmaj-q.d.mts → index-fzrPfhS0.d.mts} +1 -1
- package/dist/{index-DvV7vEKt.d.mts → index-tDCBp28C.d.mts} +350 -350
- package/dist/{index-DwFnHNoq2.d.mts → index-uv_WSQtw2.d.mts} +17 -17
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/index.mjs +1 -1
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/cli/register.mjs +1 -1
- package/dist/kernel/cli/schemas.mjs +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/namespace/index.mjs +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/providers/index.mjs +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/kernel/window/index.mjs +1 -1
- package/dist/kind-registration-T--B1wiI.mjs +1 -0
- package/dist/{lib-BB0XjVs6.mjs → lib-B8hEa65D.mjs} +1 -1
- package/dist/{lib-DNGNIb-O.mjs → lib-Ql8RWYOd.mjs} +1 -1
- package/dist/{load-extensions-CWlR-8BM.mjs → load-extensions-BHTj3d_P.mjs} +1 -1
- package/dist/{load-extensions-C3Y3y9EW.d.mts → load-extensions-un9Md47Z.d.mts} +1 -1
- package/dist/materialization-CqOHTt92.mjs +1 -0
- package/dist/mcp-http-server/index.mjs +4 -4
- package/dist/model-B6t_-_sp.mjs +1 -0
- package/dist/{namespace-agOiy4kr.d.mts → namespace-BVQ8Y2Yi.d.mts} +3 -3
- package/dist/{namespace-B8i86gVL.d.mts → namespace-BlH5BeSq.d.mts} +2 -2
- package/dist/{namespace-Bz3qcZBD.d.mts → namespace-BocL2nn7.d.mts} +6 -6
- package/dist/namespace-D4zmxaC4.mjs +1 -0
- package/dist/{namespace-BW2rjW9-.d.mts → namespace-DELzAyzb.d.mts} +152 -152
- package/dist/{namespace-BL7lHlmg.mjs → namespace-ZAIFBrIy.mjs} +1 -1
- package/dist/{native-session-supervisor-LKio8XZn.mjs → native-session-supervisor-BlGzmZrH.mjs} +1 -1
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/node/transports/index.d.mts +12 -1
- package/dist/node/transports/index.mjs +2 -2
- package/dist/{orchestrator-shared-BGlN-m-V.mjs → orchestrator-shared-5vhs4wvU.mjs} +1 -1
- package/dist/{ownership-memory-handler-BpGdR_uG.mjs → ownership-memory-handler-BCu1EjFO.mjs} +1 -1
- package/dist/{package-JtjbO-Oi.mjs → package-BiZ6ehWk.mjs} +1 -1
- package/dist/{package-BdOoo7XE.mjs → package-BwIbyojG.mjs} +2 -2
- package/dist/{package-w4WZqO7J.d.mts → package-DnlJ4I1i.d.mts} +32 -10
- package/dist/package.json +1 -1
- package/dist/packages-7CsXP86g.mjs +1 -0
- package/dist/{packages-uNYWGMH1.d.mts → packages-DtsjAYuf.d.mts} +12 -39
- package/dist/{profile-N5qGUpF0.mjs → profile-DBDvy9uc.mjs} +1 -1
- package/dist/{provider-context-zTDSH2x9.mjs → provider-context-CSb0qX1c.mjs} +1 -1
- package/dist/{provider-context-CG42JlP9.mjs → provider-context-CTOrOW54.mjs} +1 -1
- package/dist/{reaction-D3TNwPK8.mjs → reaction-OQibmmDW.mjs} +1 -1
- package/dist/{resolved-sq8RXNDf.mjs → resolved-ONt3rOMh.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- package/dist/runtime-node/code-execution/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +7 -6
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/makaio-config.mjs +1 -1
- package/dist/runtime-node/workflow-execution-bus-access.d.mts +16 -1
- package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-Dq-7si8u.mjs → schema-B8jinlbH.mjs} +1 -1
- package/dist/schemas-0eCrrru1.mjs +1 -0
- package/dist/{context-resolution-BZKEKzu4.d.mts → schemas-B9yLU2jM.d.mts} +134 -540
- package/dist/{schemas-B4MSOlcv.d.mts → schemas-BBatvMde.d.mts} +6 -6
- package/dist/{schemas-QWDnauKX.mjs → schemas-BUK9I-Oz.mjs} +1 -1
- package/dist/{schemas-Bw2-j1lm.d.mts → schemas-BfMFZ6J5.d.mts} +4 -4
- package/dist/{schemas-_2Syo_01.mjs → schemas-CSDiTBsU.mjs} +1 -1
- package/dist/{schemas-BfO5jkrL.mjs → schemas-CbhvgFQs.mjs} +1 -1
- package/dist/{schemas-Io717dOA.d.mts → schemas-Djt6hIjz.d.mts} +1 -1
- package/dist/{schemas-BaWB3EXP.d.mts → schemas-mGJIRIZ5.d.mts} +152 -152
- package/dist/{selection-DL3ric7K.mjs → selection-7SkHsmWs.mjs} +1 -1
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/index.mjs +1 -1
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +3 -3
- package/dist/services/adapter-subsystem/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/adapter-subsystem/namespace.mjs +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/automation-trigger/index.mjs +1 -1
- package/dist/services/capability/index.d.mts +2 -2
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/code-execution/index.d.mts +1 -1
- package/dist/services/code-execution/index.mjs +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +4 -4
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/namespace.mjs +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/execution-target/schemas.mjs +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/index.mjs +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +135 -156
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/materialization/index.d.mts +13 -34
- package/dist/services/materialization/index.mjs +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/model-registry/index.mjs +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/provider-context/index.mjs +1 -1
- package/dist/services/provider-runtime/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/messages/namespace.mjs +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/testing/index.mjs +1 -1
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session/turns/namespace.mjs +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/session-editor/index.mjs +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +6 -6
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/workflow-transitions/index.d.mts +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/{session-CXOPk3yg.mjs → session-BDFNAcuY.mjs} +1 -1
- package/dist/{session-BOpTI79g.mjs → session-CQAuApxe.mjs} +1 -1
- package/dist/{session-lineage-BRhnTWqq.d.mts → session-lineage-Bwb98OUz.d.mts} +1 -1
- package/dist/{shared-B9AWRm9A.mjs → shared-BYP7z9xy.mjs} +1 -1
- package/dist/{skill-DGNtc_ww.mjs → skill-1gU2q1KT.mjs} +1 -1
- package/dist/{src-BWEtqWTw.mjs → src-Dlpw-Gh5.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/{tool-approval-service-BFDOFUGC.mjs → tool-approval-service-rpV94znP.mjs} +1 -1
- package/dist/{tools-DWKWX3eV.mjs → tools-BkSFBqUz.mjs} +1 -1
- package/dist/{transition-CGnHfVIv.d.mts → transition-BbfxZ4U1.d.mts} +2 -2
- package/dist/{types-B6V3HDRl2.d.mts → types-CR415CdC2.d.mts} +1 -1
- package/dist/{types-FPmiU-3J.d.mts → types-CXwFtEIF.d.mts} +334 -334
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{version-BYeVh1pI.mjs → version-3xWJDCeF.mjs} +1 -1
- package/dist/{view-builder-CELaqM4Z.d.mts → view-builder-CJtK5hgs.d.mts} +209 -15
- package/dist/{visibility-DtDLRBdr.mjs → visibility-C5sLzqyS.mjs} +1 -1
- package/dist/{worker-B4nD_Erm.mjs → worker-VBlgozIo.mjs} +1 -1
- package/dist/worker-qgJToDTN.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
- package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
- package/dist/workflow-engine/index.d.mts +69 -70
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/provider-operation.d.mts +2 -2
- package/dist/workflow-engine/provider-operation.mjs +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/conformance.mjs +2 -2
- package/dist/workflow-engine/testing/index.d.mts +1 -2
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.mjs +76 -48
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-svpU9Cig.mjs +1 -0
- package/dist/{workflow-transitions-c_VQbyV0.mjs → workflow-transitions-Cuo6s9uv.mjs} +1 -1
- package/dist/workflow-worker-7AA-u1uC.mjs +2 -0
- package/package.json +1 -1
- package/dist/artifact-ClvHqL3w.mjs +0 -1
- package/dist/authority-state-bootstrap-7Cgb9TR2.mjs +0 -1
- package/dist/extension-Cz39YNXy.mjs +0 -1
- package/dist/framework-packages-BHgul8Kl.mjs +0 -1
- package/dist/materialization-B_LA9pfy.mjs +0 -1
- package/dist/model-DrzPt3ou.mjs +0 -1
- package/dist/namespace-sCPb79-7.mjs +0 -1
- package/dist/packages-Bp124-gx.mjs +0 -1
- package/dist/provider-operation-BwvTdAsv.d.mts +0 -207
- package/dist/schemas-CNkUEbIr.mjs +0 -1
- package/dist/worker-CLsRbzpk.mjs +0 -1
- package/dist/workflow-H8hsEikC.mjs +0 -1
- package/dist/workflow-worker-CmIkKnpF.mjs +0 -2
- package/dist/{adapter-auth-runtime-DHHppU4f.mjs → adapter-auth-runtime-BnPqQChk.mjs} +0 -0
- package/dist/{adapter-binding-C6jAAjGu.d.mts → adapter-binding-BU7STlfd.d.mts} +0 -0
- package/dist/{ajv-krzJXh1X.mjs → ajv-Dtk5hCZS.mjs} +0 -0
- package/dist/{attach-error-Cb3GbeKe.mjs → attach-error-B-vXQFLQ.mjs} +0 -0
- package/dist/{attempt-fixtures-gGhCA_WQ.mjs → attempt-fixtures-C-jQE_7B.mjs} +0 -0
- package/dist/{base-orchestrator-B9OUXDR-.d.mts → base-orchestrator-DXiejwQ3.d.mts} +0 -0
- package/dist/{bootstrap-start-client-DrvofWwi.mjs → bootstrap-start-client-Bdv-_2Q9.mjs} +0 -0
- package/dist/{capability-j3NekkIu.mjs → capability-Bw4tsDQu.mjs} +0 -0
- package/dist/{capability-service-DA9xdAyh.d.mts → capability-service-CsWaOwvH.d.mts} +0 -0
- package/dist/{client-BhRxxVig.d.mts → client-DP4ksY9q.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-DXu9mjRx.d.mts → client-binary-version-verifier-BoXRTyae.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-0lCKZOTg.mjs → client-binary-version-verifier-DHBAzg3-.mjs} +0 -0
- package/dist/{clients-namespace-2TIeXofb.d.mts → clients-namespace-BVDmj8uV.d.mts} +0 -0
- package/dist/{config-namespace-Burux0cR.d.mts → config-namespace-BMOKEuyf.d.mts} +0 -0
- package/dist/{create-static-mount-CuiFK6nC.mjs → create-static-mount-GSdckRQx.mjs} +0 -0
- package/dist/{cross-spawn-CZygZJMH.mjs → cross-spawn-Bx_VEdpd.mjs} +0 -0
- package/dist/{cursor-storage-bsc9lZKk.mjs → cursor-storage-Co4itf44.mjs} +0 -0
- package/dist/{definition-011l3aQ8.d.mts → definition-ByVJ3n6o.d.mts} +0 -0
- package/dist/{definitions-CRpdnHYM.mjs → definitions-CYZTuMdL.mjs} +0 -0
- package/dist/{descriptor-to-package-CcjdoWP4.mjs → descriptor-to-package-CZLujoiv.mjs} +0 -0
- package/dist/{drizzle-Bzc-OGVI.mjs → drizzle-me-95ICP.mjs} +0 -0
- package/dist/{esm-i-S5TW72.mjs → esm-DILYVXmW.mjs} +0 -0
- package/dist/{event-B8ELuk6k.mjs → event-DmQPb5MB.mjs} +0 -0
- package/dist/{execution-attempt-repository-D0cCU7dI.mjs → execution-attempt-repository-DXyh1hgz.mjs} +0 -0
- package/dist/{extension-context-CogUIfZb.d.mts → extension-context-Cx8CetW3.d.mts} +0 -0
- package/dist/{extension-discovery-CuC5Nd5d.d.mts → extension-discovery-C0Nj5EVZ.d.mts} +0 -0
- package/dist/{extension-namespace-QoTTwKPt.mjs → extension-namespace-twXNwE4R.mjs} +0 -0
- package/dist/{extension-package-provenance-aYrZuS4W.mjs → extension-package-provenance-BzvG6rDO.mjs} +0 -0
- package/dist/{facet-BnMh7Jyc.mjs → facet-Cly0VpTI.mjs} +0 -0
- package/dist/{filesystem-service-DYYL4fLd.d.mts → filesystem-service-C6D7oABi.d.mts} +0 -0
- package/dist/{handler-DF1fVDpf.mjs → handler-BYQPNm8O.mjs} +0 -0
- package/dist/{host-B-_ntOMH.mjs → host-CiHn8Yog.mjs} +0 -0
- package/dist/{identity-OjRlG6dZ.mjs → identity-BULrIHmo.mjs} +0 -0
- package/dist/{index-CweK7QAS.d.mts → index-B7g7e7_f.d.mts} +0 -0
- package/dist/{index-luD7oSCA.d.mts → index-B9-1l1oh.d.mts} +0 -0
- package/dist/{index-DuoOsxow.d.mts → index-BGWkmG9i.d.mts} +0 -0
- package/dist/{index-DiHGEgh-.d.mts → index-BR7IiCib.d.mts} +0 -0
- package/dist/{index-BlkTzRHz.d.mts → index-B_VcKELo.d.mts} +0 -0
- package/dist/{index-CUxMqAoE2.d.mts → index-BbjxBrcp2.d.mts} +0 -0
- package/dist/{index-CU90gGDk2.d.mts → index-BgY_UzH82.d.mts} +0 -0
- package/dist/{index-CrUijdhZ.d.mts → index-BnLp-7qH.d.mts} +0 -0
- package/dist/{index-DhCBbChV.d.mts → index-BpWoCe22.d.mts} +0 -0
- package/dist/{index-CKeNzHte.d.mts → index-Bpv8EpBa.d.mts} +0 -0
- package/dist/{index-CbaOOgMX.d.mts → index-BrRCVo9r.d.mts} +0 -0
- package/dist/{index-ikP83tJm.d.mts → index-CHuB40EK.d.mts} +0 -0
- package/dist/{index-C0uHQitR2.d.mts → index-CIV2G6uX2.d.mts} +0 -0
- package/dist/{index-DsIrU-pP.d.mts → index-CNOqYviR.d.mts} +0 -0
- package/dist/{index-BD1_BSMP.d.mts → index-CSEhxhIc.d.mts} +0 -0
- package/dist/{index-DmjyHIEH.d.mts → index-D3_QOfke.d.mts} +0 -0
- package/dist/{index-B4MG7PBn.d.mts → index-D6qlh6Td.d.mts} +0 -0
- package/dist/{index-CrA9tCMf.d.mts → index-DLlTuugR.d.mts} +0 -0
- package/dist/{index-BKco9D6a.d.mts → index-DOKPbF-y2.d.mts} +0 -0
- package/dist/{index-Oejq5WGD2.d.mts → index-DZv9yNKF2.d.mts} +0 -0
- package/dist/{index-09JDqcgy2.d.mts → index-DrwT45ci2.d.mts} +6 -6
- /package/dist/{index-C7ZdyYMT.d.mts → index-DxaQ-ceV.d.mts} +0 -0
- /package/dist/{index-CDJUiga3.d.mts → index-HRn0Kun0.d.mts} +0 -0
- /package/dist/{index-BPX7lMRX.d.mts → index-IkeLI7uY.d.mts} +0 -0
- /package/dist/{index-BRNRgfOm.d.mts → index-_Ngf4KAa.d.mts} +0 -0
- /package/dist/{index-BNF8osK42.d.mts → index-b_LJnwCU2.d.mts} +0 -0
- /package/dist/{json-value-BBZ6uGwc.mjs → json-value-DM-EjTC1.mjs} +0 -0
- /package/dist/{json-value-DbwI1AMR.d.mts → json-value-DyMQrwGz.d.mts} +0 -0
- /package/dist/{jsonl-transport-W03tkPvB.mjs → jsonl-transport-Dfv3RLzi.mjs} +0 -0
- /package/dist/{lib-Wtk4Ef-T.mjs → lib-BdfAJKDj.mjs} +0 -0
- /package/dist/{model-registry-C9rFu3kV.mjs → model-registry-B7ThN_s3.mjs} +0 -0
- /package/dist/{model-registry-Cixxx2jv.mjs → model-registry-DlUErRRt.mjs} +0 -0
- /package/dist/{modes-DwsJ3yVl.mjs → modes-CyG4sgs_.mjs} +0 -0
- /package/dist/{namespace-DiwqpB-c.mjs → namespace-B8kUQpwo.mjs} +0 -0
- /package/dist/{namespace-NXm_zvL1.mjs → namespace-BFlSY040.mjs} +0 -0
- /package/dist/{namespace-Du0accdE.mjs → namespace-C9d0aoYT.mjs} +0 -0
- /package/dist/{namespace-Df8uPrMr.d.mts → namespace-CQaL10rI.d.mts} +0 -0
- /package/dist/{namespace-Br7IQt88.d.mts → namespace-CcHA54E1.d.mts} +0 -0
- /package/dist/{namespace-jVTsuZHX.mjs → namespace-ChjzkJIl.mjs} +0 -0
- /package/dist/{namespace-C3Ch35nb.d.mts → namespace-Ciyw6FxO.d.mts} +0 -0
- /package/dist/{namespace-C3l4AsWS.d.mts → namespace-Ct2DKREI.d.mts} +0 -0
- /package/dist/{namespace-aUe_P5qN.d.mts → namespace-DdcRYk7b.d.mts} +0 -0
- /package/dist/{namespace-D5nHBTPz.d.mts → namespace-DtXYm32M.d.mts} +0 -0
- /package/dist/{namespace-C9X7Qvn5.d.mts → namespace-DyeMWQKf.d.mts} +0 -0
- /package/dist/{namespace-BW3Bfu9h.mjs → namespace-QXCaZK3I.mjs} +0 -0
- /package/dist/{namespace-tjoxekmf.mjs → namespace-ZN49zpqw.mjs} +0 -0
- /package/dist/{namespace-D4RJjLv8.d.mts → namespace-nE7vRctI.d.mts} +0 -0
- /package/dist/{namespace-BGi71aDN.d.mts → namespace-sTMm1voF.d.mts} +0 -0
- /package/dist/{namespace-DeezOMb9.d.mts → namespace-thsiHTFH.d.mts} +0 -0
- /package/dist/{orchestrator-shared-B2Lb5Enk.d.mts → orchestrator-shared-CYnIz5Zd.d.mts} +0 -0
- /package/dist/{out-8bOYN6EF.mjs → out-Cn6vBxlH.mjs} +0 -0
- /package/dist/{ownership-recovery-guard-DyW5vGBr.mjs → ownership-recovery-guard-Ce9-C5Sa.mjs} +0 -0
- /package/dist/{package-EGTn-Ng1.mjs → package-BUSXHPOT.mjs} +0 -0
- /package/dist/{package-DttKA9wN.mjs → package-D4eLGGv4.mjs} +0 -0
- /package/dist/{platform-CxyYPrkf.mjs → platform-C-fDsuEl.mjs} +0 -0
- /package/dist/{providers-C-eekMxD.mjs → providers-DVlsnJaY.mjs} +0 -0
- /package/dist/{providers-namespace-D-gdpu0p.d.mts → providers-namespace-BxknJ03z.d.mts} +0 -0
- /package/dist/{quick-lru-CCEnf7y6.mjs → quick-lru-CVryNCTx.mjs} +0 -0
- /package/dist/{registry-Dk12tAfv.mjs → registry-Q9gCZtxz.mjs} +0 -0
- /package/dist/{schema-BwrsXKsP.d.mts → schema-CJfSEZ8X.d.mts} +0 -0
- /package/dist/{schema-C0opCPww.mjs → schema-DIHGEQx3.mjs} +0 -0
- /package/dist/{schema-introspection-6-r_KEJQ.mjs → schema-introspection-CSnLZJpC.mjs} +0 -0
- /package/dist/{schemas-DKJyKDpe.d.mts → schemas-0VbIjfrW.d.mts} +0 -0
- /package/dist/{schemas-scyC2tFF.mjs → schemas-BFgsIiSb.mjs} +0 -0
- /package/dist/{schemas-BivbWRkG.mjs → schemas-BKnJj2i-.mjs} +0 -0
- /package/dist/{schemas-CeHU889f.mjs → schemas-BapfTRqp.mjs} +0 -0
- /package/dist/{schemas-Ds_YMFjX.d.mts → schemas-CmUWeOkr.d.mts} +0 -0
- /package/dist/{schemas-B8hKbBwI.mjs → schemas-CnFVygzI.mjs} +0 -0
- /package/dist/{schemas-CsOAG1rB.d.mts → schemas-CsRcSlvA2.d.mts} +0 -0
- /package/dist/{schemas-uaQuIxm4.d.mts → schemas-DQ5iRisA.d.mts} +0 -0
- /package/dist/{schemas-BNf-WkKF.d.mts → schemas-DzDVjYjt.d.mts} +0 -0
- /package/dist/{schemas-CMQ2PiO2.d.mts → schemas-KDl7p-wr.d.mts} +0 -0
- /package/dist/{schemas-v1W9Gj9m.d.mts → schemas-Yp3PvwsM.d.mts} +0 -0
- /package/dist/{semver-BI7kTNsY.mjs → semver-D_D2mA48.mjs} +0 -0
- /package/dist/{server-lifecycle-CmuBMs3O.d.mts → server-lifecycle-Ck6_8o8v.d.mts} +0 -0
- /package/dist/{server-lifecycle-B_OZnoe-.mjs → server-lifecycle-hNz8U-QJ.mjs} +0 -0
- /package/dist/{shared-schemas-CQ6blrEW.mjs → shared-schemas-kUho6Kmw.mjs} +0 -0
- /package/dist/{src-BA_c2cXX.mjs → src-Du_285FN.mjs} +0 -0
- /package/dist/{storage-namespace-CTXxds3h.d.mts → storage-namespace-CRdQoXZ9.d.mts} +0 -0
- /package/dist/{storage-namespace-BZce8kkW.mjs → storage-namespace-Dtz2G1if.mjs} +0 -0
- /package/dist/{storage-namespace-definition-Cca-zwXU.mjs → storage-namespace-definition-BJCbqVWz.mjs} +0 -0
- /package/dist/{storage-namespace-definition-Dkxl1FGw.d.mts → storage-namespace-definition-NBw1Y8Pa.d.mts} +0 -0
- /package/dist/{supports-color-SV_FgSN2.mjs → supports-color-BNmyqLq0.mjs} +0 -0
- /package/dist/{telemetry-BqoC87F-.mjs → telemetry-CUkZrhW6.mjs} +0 -0
- /package/dist/{timeout-DVlN2Zhy.mjs → timeout-DeBYTGBR.mjs} +0 -0
- /package/dist/{tray-menu-service-eVVxgPLc.mjs → tray-menu-service-TWrmvXSo.mjs} +0 -0
- /package/dist/{types-BklZfFWo.d.mts → types-BFv-EK2G.d.mts} +0 -0
- /package/dist/{types-BWfAz9Sh.d.mts → types-BcGXdeva.d.mts} +0 -0
- /package/dist/{types-DDfy8LgJ.d.mts → types-CUCFeisO.d.mts} +0 -0
- /package/dist/{types--Sa8Ip8j.d.mts → types-CXrp5ldz.d.mts} +0 -0
- /package/dist/{types-C4ayzk8k.d.mts → types-D4N56a4O.d.mts} +0 -0
- /package/dist/{types-Cwza95hS.mjs → types-D9GJ7FyQ.mjs} +0 -0
- /package/dist/{ui-config-B35GloSX.mjs → ui-config-9hlZAJOS.mjs} +0 -0
- /package/dist/{variant-Dwnge3J_.mjs → variant-73kFgYBK.mjs} +0 -0
- /package/dist/{window-registry-CIlKN806.d.mts → window-registry-Chi2qJ5k.d.mts} +0 -0
- /package/dist/{window-registry-CKiMJjId.mjs → window-registry-CzAwaPKL.mjs} +0 -0
- /package/dist/{zod-json-schema-Dixc-B1T.mjs → zod-json-schema-B9TYYq3e.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-
|
|
1
|
+
import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-KDl7p-wr.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SurfaceCapabilitySchema, c as SurfaceIdSchema, i as SurfaceCapability, l as isPageVisibleOnSurface, n as PageSchemas, o as SurfaceDeclaration, r as PageSurfaceConfig, s as SurfaceId, t as PageMetadata } from "../../schemas-
|
|
1
|
+
import { a as SurfaceCapabilitySchema, c as SurfaceIdSchema, i as SurfaceCapability, l as isPageVisibleOnSurface, n as PageSchemas, o as SurfaceDeclaration, r as PageSurfaceConfig, s as SurfaceId, t as PageMetadata } from "../../schemas-KDl7p-wr.mjs";
|
|
2
2
|
export { PageMetadata, PageSchemas, PageSurfaceConfig, SurfaceCapability, SurfaceCapabilitySchema, SurfaceDeclaration, SurfaceId, SurfaceIdSchema, isPageVisibleOnSurface };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e}from"./chunk-DTipWd-i.mjs";import{t}from"./semver-
|
|
1
|
+
import{o as e}from"./chunk-DTipWd-i.mjs";import{t}from"./semver-D_D2mA48.mjs";import{z as n}from"zod";var r=e(t(),1);const i=n.string().min(1).refine(e=>e.trim().length>0&&(0,r.validRange)(e)!==null,{message:`Must be a valid semver range (e.g. ">=1.0.0 <2.0.0", "^1.5.0")`});function a(e,t){return(0,r.satisfies)(e,t,{includePrerelease:!0})}function o(e){let t=(0,r.validRange)(e);return t===`*`||t===`>=0.0.0`||t===`>=0.0.0-0`}const s=n.string().min(1).refine(e=>(0,r.valid)(e)!==null&&!e.startsWith(`v`),{message:`Must be a valid semver version (e.g. "1.0.0")`});export{a as i,i as n,o as r,s as t};
|
|
@@ -1,7 +1,211 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ArtifactRevision$1, h as ArtifactRelation } from "./schemas-B9yLU2jM.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
4
4
|
|
|
5
|
+
//#region core/contracts/src/materialization/schemas.d.ts
|
|
6
|
+
/** View role that a projected field may declare for view rendering. */
|
|
7
|
+
declare const ProjectedFieldViewRoleSchema: z.ZodEnum<{
|
|
8
|
+
title: "title";
|
|
9
|
+
summary: "summary";
|
|
10
|
+
}>;
|
|
11
|
+
/**
|
|
12
|
+
* Discriminated target that a surface binding maps to on the external provider.
|
|
13
|
+
*
|
|
14
|
+
* Each variant carries the fields required to identify the target element
|
|
15
|
+
* on the provider surface:
|
|
16
|
+
*
|
|
17
|
+
* - `'label'` — a label or tag on the issue/work item (optional prefix filter)
|
|
18
|
+
* - `'field'` — a named custom field on the work item (optional external field id)
|
|
19
|
+
* - `'issue-type'` — a named issue type classification (optional external type id)
|
|
20
|
+
* - `'body-fragment'` — a named slot in the issue or PR body
|
|
21
|
+
* - `'comment'` — a structured comment rendered from a template string
|
|
22
|
+
*/
|
|
23
|
+
declare const SurfaceBindingTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24
|
+
kind: z.ZodLiteral<"label">;
|
|
25
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
kind: z.ZodLiteral<"field">;
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
kind: z.ZodLiteral<"issue-type">;
|
|
32
|
+
name: z.ZodString;
|
|
33
|
+
typeId: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
kind: z.ZodLiteral<"body-fragment">;
|
|
36
|
+
slot: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
kind: z.ZodLiteral<"comment">;
|
|
39
|
+
template: z.ZodString;
|
|
40
|
+
}, z.core.$strip>], "kind">;
|
|
41
|
+
/**
|
|
42
|
+
* Serializable registration record for a surface binding.
|
|
43
|
+
*
|
|
44
|
+
* Surface binding registrations describe how a framework namespace maps to a
|
|
45
|
+
* provider-specific surface element (field, label, issue type, etc.).
|
|
46
|
+
* Registrations are declared by product extensions and consumed by
|
|
47
|
+
* materialization adapters at sync time.
|
|
48
|
+
*
|
|
49
|
+
* The `id` field is a dot-namespaced stable string (e.g. `'github.status.field'`).
|
|
50
|
+
*/
|
|
51
|
+
declare const SurfaceBindingRegistrationSchema: z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
provider: z.ZodString;
|
|
54
|
+
namespace: z.ZodString;
|
|
55
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
56
|
+
kind: z.ZodLiteral<"label">;
|
|
57
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
kind: z.ZodLiteral<"field">;
|
|
60
|
+
name: z.ZodString;
|
|
61
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
62
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
+
kind: z.ZodLiteral<"issue-type">;
|
|
64
|
+
name: z.ZodString;
|
|
65
|
+
typeId: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
+
kind: z.ZodLiteral<"body-fragment">;
|
|
68
|
+
slot: z.ZodString;
|
|
69
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
+
kind: z.ZodLiteral<"comment">;
|
|
71
|
+
template: z.ZodString;
|
|
72
|
+
}, z.core.$strip>], "kind">;
|
|
73
|
+
appliesTo: z.ZodArray<z.ZodEnum<{
|
|
74
|
+
artifact: "artifact";
|
|
75
|
+
workpiece: "workpiece";
|
|
76
|
+
surface: "surface";
|
|
77
|
+
}>>;
|
|
78
|
+
valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
79
|
+
description: z.ZodOptional<z.ZodString>;
|
|
80
|
+
params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
/** Serializable registration record for a surface binding. */
|
|
83
|
+
type SurfaceBindingRegistration = z.infer<typeof SurfaceBindingRegistrationSchema>;
|
|
84
|
+
/** Discriminated target on the external provider surface. */
|
|
85
|
+
type SurfaceBindingTarget = z.infer<typeof SurfaceBindingTargetSchema>;
|
|
86
|
+
/** Semantic hint for provider-neutral artifact projected fields. */
|
|
87
|
+
declare const ProjectedFieldSemanticSchema: z.ZodEnum<{
|
|
88
|
+
status: "status";
|
|
89
|
+
workflow: "workflow";
|
|
90
|
+
priority: "priority";
|
|
91
|
+
}>;
|
|
92
|
+
/**
|
|
93
|
+
* A provider-neutral field from artifact data that may be projected to an
|
|
94
|
+
* external surface or used in view rendering.
|
|
95
|
+
*
|
|
96
|
+
* Extended fields for the view projection system:
|
|
97
|
+
* - `fromLevel` — the minimum detail level at which this field becomes
|
|
98
|
+
* available. Levels order monotonically: `link < summary < full`. Omitted
|
|
99
|
+
* `fromLevel` means `full` during generic resolution.
|
|
100
|
+
* - `viewRole` — declares whether this field serves as the artifact's display
|
|
101
|
+
* `title` or `summary` in rendered views. At most one of each role may be
|
|
102
|
+
* declared per artifact kind.
|
|
103
|
+
*/
|
|
104
|
+
declare const ProjectedFieldSchema: z.ZodObject<{
|
|
105
|
+
path: z.ZodString;
|
|
106
|
+
semantic: z.ZodOptional<z.ZodEnum<{
|
|
107
|
+
status: "status";
|
|
108
|
+
workflow: "workflow";
|
|
109
|
+
priority: "priority";
|
|
110
|
+
}>>;
|
|
111
|
+
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
link: "link";
|
|
113
|
+
summary: "summary";
|
|
114
|
+
full: "full";
|
|
115
|
+
}>>;
|
|
116
|
+
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
117
|
+
title: "title";
|
|
118
|
+
summary: "summary";
|
|
119
|
+
}>>;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
/** Semantic hint for provider-neutral artifact projected fields. */
|
|
122
|
+
type ProjectedFieldSemantic = z.infer<typeof ProjectedFieldSemanticSchema>;
|
|
123
|
+
/** View role for a projected field. */
|
|
124
|
+
type ProjectedFieldViewRole = z.infer<typeof ProjectedFieldViewRoleSchema>;
|
|
125
|
+
/** A provider-neutral artifact field projection declaration. */
|
|
126
|
+
type ProjectedField = z.infer<typeof ProjectedFieldSchema>;
|
|
127
|
+
/**
|
|
128
|
+
* Projection policy that controls how an artifact kind surfaces on a provider.
|
|
129
|
+
*
|
|
130
|
+
* - `'none'` — the artifact is never materialized to a provider surface
|
|
131
|
+
* - `'surface'` — the artifact maps to a provider work item or issue
|
|
132
|
+
* - `'comment'` — the artifact is rendered as a structured comment on an existing item
|
|
133
|
+
*/
|
|
134
|
+
declare const ArtifactProjectionPolicySchema: z.ZodObject<{
|
|
135
|
+
mode: z.ZodEnum<{
|
|
136
|
+
none: "none";
|
|
137
|
+
surface: "surface";
|
|
138
|
+
comment: "comment";
|
|
139
|
+
}>;
|
|
140
|
+
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
141
|
+
artifact: "artifact";
|
|
142
|
+
workpiece: "workpiece";
|
|
143
|
+
}>>;
|
|
144
|
+
semanticEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
145
|
+
created: "created";
|
|
146
|
+
revised: "revised";
|
|
147
|
+
"status-changed": "status-changed";
|
|
148
|
+
"observation-added": "observation-added";
|
|
149
|
+
}>>>;
|
|
150
|
+
projectedFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
151
|
+
path: z.ZodString;
|
|
152
|
+
semantic: z.ZodOptional<z.ZodEnum<{
|
|
153
|
+
status: "status";
|
|
154
|
+
workflow: "workflow";
|
|
155
|
+
priority: "priority";
|
|
156
|
+
}>>;
|
|
157
|
+
fromLevel: z.ZodOptional<z.ZodEnum<{
|
|
158
|
+
link: "link";
|
|
159
|
+
summary: "summary";
|
|
160
|
+
full: "full";
|
|
161
|
+
}>>;
|
|
162
|
+
viewRole: z.ZodOptional<z.ZodEnum<{
|
|
163
|
+
title: "title";
|
|
164
|
+
summary: "summary";
|
|
165
|
+
}>>;
|
|
166
|
+
}, z.core.$strip>>>;
|
|
167
|
+
affordances: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
168
|
+
kind: z.ZodLiteral<"own-view">;
|
|
169
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
170
|
+
kind: z.ZodLiteral<"inline">;
|
|
171
|
+
hostRelation: z.ZodString;
|
|
172
|
+
as: z.ZodOptional<z.ZodEnum<{
|
|
173
|
+
link: "link";
|
|
174
|
+
summary: "summary";
|
|
175
|
+
full: "full";
|
|
176
|
+
}>>;
|
|
177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
178
|
+
kind: z.ZodLiteral<"entry">;
|
|
179
|
+
via: z.ZodOptional<z.ZodString>;
|
|
180
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
181
|
+
title: z.ZodOptional<z.ZodString>;
|
|
182
|
+
hostRelation: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, z.core.$strip>], "kind">>>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
/** Projection policy that controls how an artifact kind surfaces on a provider. */
|
|
186
|
+
type ArtifactProjectionPolicy = z.infer<typeof ArtifactProjectionPolicySchema>;
|
|
187
|
+
/**
|
|
188
|
+
* A reference linking a framework artifact to an external provider object.
|
|
189
|
+
*
|
|
190
|
+
* `artifactId` and `provider`+`externalId` together form the composite primary
|
|
191
|
+
* key for a materialization ref. The `surfaceRole` captures whether the artifact
|
|
192
|
+
* was materialized as the top-level workpiece or as a subordinate artifact record.
|
|
193
|
+
*/
|
|
194
|
+
declare const ArtifactMaterializationRefSchema: z.ZodObject<{
|
|
195
|
+
artifactId: z.ZodString;
|
|
196
|
+
provider: z.ZodString;
|
|
197
|
+
externalId: z.ZodString;
|
|
198
|
+
externalUrl: z.ZodOptional<z.ZodString>;
|
|
199
|
+
surfaceRole: z.ZodEnum<{
|
|
200
|
+
artifact: "artifact";
|
|
201
|
+
workpiece: "workpiece";
|
|
202
|
+
}>;
|
|
203
|
+
lastSyncedRevision: z.ZodOptional<z.ZodString>;
|
|
204
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
/** A reference linking a framework artifact to an external provider object. */
|
|
207
|
+
type ArtifactMaterializationRef = z.infer<typeof ArtifactMaterializationRefSchema>;
|
|
208
|
+
//#endregion
|
|
5
209
|
//#region core/contracts/src/materialization/definition.d.ts
|
|
6
210
|
/**
|
|
7
211
|
* A surface binding definition with a serializable registration record.
|
|
@@ -543,7 +747,7 @@ declare const ArtifactViewAffordanceRequestSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
543
747
|
collection: z.ZodOptional<z.ZodString>;
|
|
544
748
|
}, z.core.$strip>], "kind">;
|
|
545
749
|
/** Structural selector for requesting an artifact view through an affordance. */
|
|
546
|
-
type ArtifactViewAffordanceRequest
|
|
750
|
+
type ArtifactViewAffordanceRequest = z.infer<typeof ArtifactViewAffordanceRequestSchema>;
|
|
547
751
|
/**
|
|
548
752
|
* Context supplied to an {@link ArtifactViewBuilder}'s `build` method.
|
|
549
753
|
*
|
|
@@ -562,7 +766,7 @@ interface ArtifactViewBuilderContext<K extends string = string> {
|
|
|
562
766
|
/** Requested view detail level. */
|
|
563
767
|
readonly level: ArtifactViewLevel$1;
|
|
564
768
|
/** Structural affordance selector for the view. */
|
|
565
|
-
readonly affordance: ArtifactViewAffordanceRequest
|
|
769
|
+
readonly affordance: ArtifactViewAffordanceRequest;
|
|
566
770
|
/** Optional JSON-safe runtime parameters. */
|
|
567
771
|
readonly params: ArtifactViewParamsFor<K> | undefined;
|
|
568
772
|
/**
|
|
@@ -582,16 +786,6 @@ interface ArtifactViewBuilderContext<K extends string = string> {
|
|
|
582
786
|
readonly genericNavigation: ArtifactViewNavigation;
|
|
583
787
|
/** Direct relations already present on the artifact revision. */
|
|
584
788
|
readonly relations: readonly ArtifactRelation[];
|
|
585
|
-
/**
|
|
586
|
-
* The context graph resolved from the kind registration's declared
|
|
587
|
-
* `defaultContext` selector via `ArtifactSubjects.resolveContext`.
|
|
588
|
-
*
|
|
589
|
-
* Present only when the kind registration declares a `defaultContext`
|
|
590
|
-
* selector AND context resolution succeeded (the resolve-context RPC
|
|
591
|
-
* was handled). `undefined` when the registration declares no selector
|
|
592
|
-
* or no resolver handled the request.
|
|
593
|
-
*/
|
|
594
|
-
readonly defaultContext: ResolvedArtifactContextWire$1 | undefined;
|
|
595
789
|
}
|
|
596
790
|
/**
|
|
597
791
|
* Builder output for a single artifact view.
|
|
@@ -628,7 +822,7 @@ interface ArtifactViewBuilder<K extends string = string> {
|
|
|
628
822
|
/** Exact artifact kind this builder handles. */
|
|
629
823
|
readonly kind: K;
|
|
630
824
|
/** Exact schema version this builder handles. */
|
|
631
|
-
readonly schemaVersion:
|
|
825
|
+
readonly schemaVersion: number;
|
|
632
826
|
/**
|
|
633
827
|
* Positive monotonic version of this builder.
|
|
634
828
|
*
|
|
@@ -675,4 +869,4 @@ interface ExtensionArtifactViewBuildersContribution {
|
|
|
675
869
|
readonly createBuilders: () => readonly ArtifactViewBuilder[] | Promise<readonly ArtifactViewBuilder[]>;
|
|
676
870
|
}
|
|
677
871
|
//#endregion
|
|
678
|
-
export { ArtifactViewNavigationSchema as A, ArtifactViewSummarySectionSchema as B, ArtifactViewLevel$1 as C, ArtifactViewModel$1 as D, ArtifactViewLinkSchema as E, ArtifactViewRelationsSection as F, SurfaceBindingDefinition as G, ArtifactViewSurfaceLinksSchema as H, ArtifactViewRelationsSectionSchema as I, defineSurfaceBinding as K, ArtifactViewSection as L, ArtifactViewPropertiesSectionSchema as M, ArtifactViewRawSection as N, ArtifactViewModelSchema$1 as O, ArtifactViewRawSectionSchema as P, ArtifactViewSectionSchema as R, ArtifactViewIdentitySchema as S, ArtifactViewLink as T, ArtifactViewTableSection as U, ArtifactViewSurfaceLinks as V, ArtifactViewTableSectionSchema as W, ArtifactViewDiagramSection as _, ArtifactViewBuilder as a, ArtifactViewEvidenceSectionSchema as b, ArtifactViewParamsFor as c, ArtifactViewRequest as d, ArtifactViewRequestSchema as f, ArtifactViewCodeSectionSchema as g, ArtifactViewCodeSection as h, ArtifactViewAffordanceRequestSchema as i, ArtifactViewPropertiesSection as j, ArtifactViewNavigation as k, ArtifactViewParamsMap as l, defineArtifactViewBuilder as m, ArtifactViewAffordanceDeclarationSchema as n, ArtifactViewBuilderContext as o, ExtensionArtifactViewBuildersContribution as p, ArtifactViewAffordanceRequest
|
|
872
|
+
export { ProjectedFieldSemantic as $, ArtifactViewNavigationSchema as A, ArtifactViewSummarySectionSchema as B, ArtifactViewLevel$1 as C, ArtifactViewModel$1 as D, ArtifactViewLinkSchema as E, ArtifactViewRelationsSection as F, SurfaceBindingDefinition as G, ArtifactViewSurfaceLinksSchema as H, ArtifactViewRelationsSectionSchema as I, ArtifactMaterializationRefSchema as J, defineSurfaceBinding as K, ArtifactViewSection as L, ArtifactViewPropertiesSectionSchema as M, ArtifactViewRawSection as N, ArtifactViewModelSchema$1 as O, ArtifactViewRawSectionSchema as P, ProjectedFieldSchema as Q, ArtifactViewSectionSchema as R, ArtifactViewIdentitySchema as S, ArtifactViewLink as T, ArtifactViewTableSection as U, ArtifactViewSurfaceLinks as V, ArtifactViewTableSectionSchema as W, ArtifactProjectionPolicySchema as X, ArtifactProjectionPolicy as Y, ProjectedField as Z, ArtifactViewDiagramSection as _, ArtifactViewBuilder as a, SurfaceBindingTarget as at, ArtifactViewEvidenceSectionSchema as b, ArtifactViewParamsFor as c, ArtifactViewRequest as d, ProjectedFieldSemanticSchema as et, ArtifactViewRequestSchema as f, ArtifactViewCodeSectionSchema as g, ArtifactViewCodeSection as h, ArtifactViewAffordanceRequestSchema as i, SurfaceBindingRegistrationSchema as it, ArtifactViewPropertiesSection as j, ArtifactViewNavigation as k, ArtifactViewParamsMap as l, defineArtifactViewBuilder as m, ArtifactViewAffordanceDeclarationSchema as n, ProjectedFieldViewRoleSchema as nt, ArtifactViewBuilderContext as o, SurfaceBindingTargetSchema as ot, ExtensionArtifactViewBuildersContribution as p, ArtifactMaterializationRef as q, ArtifactViewAffordanceRequest as r, SurfaceBindingRegistration as rt, ArtifactViewBuilderResult as s, ArtifactViewAffordanceDeclaration as t, ProjectedFieldViewRole as tt, ArtifactViewParamsSchema as u, ArtifactViewDiagramSectionSchema as v, ArtifactViewLevelSchema as w, ArtifactViewIdentity as x, ArtifactViewEvidenceSection as y, ArtifactViewSummarySection as z };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,t}from"./modes-
|
|
1
|
+
import{n as e,t}from"./modes-CyG4sgs_.mjs";import{z as n}from"zod";const r=n.enum([`none`,`low`,`medium`,`high`,`extra-high`]),i=n.union([n.number(),n.string()]),a=n.object({none:i,low:i,medium:i,high:i,"extra-high":i}).partial(),o=n.object({modes:n.array(n.enum(t)).nonempty(),vocabularyBiasing:n.boolean().optional()}),s=n.object({modes:n.array(n.enum(e)).nonempty(),voiceSelection:n.boolean().optional(),voiceInstructions:n.boolean().optional(),outputFormats:n.array(n.string()).optional()}),c=n.object({vision:n.boolean().optional(),toolCalling:n.boolean().optional(),parallelToolCalls:n.boolean().optional(),structuredOutput:n.boolean().optional(),pdfUpload:n.boolean().optional(),speechToText:o.optional(),textToSpeech:s.optional()}),l=n.object({inputPerMillion:n.number(),inputCachedPerMillion:n.number().optional(),cacheWritePerMillion:n.number().optional(),outputPerMillion:n.number()}),u=n.object({multiplier:n.number()}),d=n.object({token:l.optional(),request:u.optional()}),f=n.object({maxOutputTokens:n.number().optional(),capabilities:c.optional(),pricing:d.optional(),includedInSubscription:n.boolean().optional(),description:n.string().optional()}),p=n.object({name:n.string(),friendlyName:n.string().optional(),family:n.string().optional(),contextWindowSize:n.number(),labId:n.string(),supportedReasoningLevels:a.optional(),metadata:f.optional()}),m=p,h=n.enum([`disabled`,`enabled`,`visible`]),g=n.enum([`allowlist`,`show-all`]);function _(e,t,n){return n?.[e]??(t===`allowlist`?`disabled`:`visible`)}export{r as a,p as i,h as n,m as o,_ as r,a as s,g as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,o as t}from"./json-value-
|
|
1
|
+
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{r as n}from"./definitions-CYZTuMdL.mjs";import{A as r,M as i,_ as a,x as o}from"./worker-qgJToDTN.mjs";import{G as s,H as c,V as l}from"./workflow-svpU9Cig.mjs";import{z as u}from"zod";import{createBusNamespace as d}from"@makaio/framework/core";const f=u.string().min(1),p=f.refine(e=>!e.startsWith(`/`)&&!e.includes(`\\`)&&!/^[A-Za-z]:/.test(e)&&!e.split(`/`).includes(`..`),{message:`Source paths must be workspace-relative and may not traverse outside the workspace`}),m=u.object({command:f,args:u.array(u.string()),env:u.record(u.string(),u.string()),timeoutMs:u.number().int().positive()}).strict(),h=u.object({provisioning:u.enum([`bind`,`create`]),custody:u.enum([`external`,`disposable`]),sourceRoots:u.array(u.object({id:f,path:p,source:u.object({kind:f,input:t}).strict().optional()}).strict()),setup:u.array(m)}).strict(),g=u.object({required:u.array(u.enum([`source-state`,`diagnostics`,`workspace-state`,`live-state`]))}).strict(),_=u.object({id:f,revision:f,workload:u.object({kind:f,version:f,input:t}).strict(),workspace:h.optional(),preservation:g}).strict(),v=u.object({workspaceRoot:f,sourceRoots:u.array(u.object({id:f,path:f}).strict())}).strict(),y=u.object({kind:u.literal(`workspace-prepared`),binding:v}).strict(),b=u.discriminatedUnion(`kind`,[u.object({kind:u.literal(`technical-failure`),stage:u.enum([`startup`,`workspace-preparation`,`workload-invocation`]),message:u.string().min(1).max(8192)}).strict(),u.object({kind:u.literal(`workload-result`),result:t}).strict(),u.object({kind:u.literal(`cancelled`),reason:u.string().min(1).max(8192).optional()}).strict()]),x=u.enum([`runtime-probe`,`workflow-run`,`workspace-preparation`,`workload-invocation`]),S=x.exclude([`runtime-probe`]),C=u.object({executionAttemptId:u.string().min(1),runtimeIncarnationId:u.string().min(1),operationId:u.string().min(1),operationKind:x,runtimeGeneration:u.number().int().positive()}).strict(),w=u.object({receipt:u.enum([`completed`,`duplicate`,`refused`]),refusalReason:u.enum([`stale-generation`,`unknown-kind`]).optional()}).strict(),T=u.enum([`not-found`,`resolved`,`fenced`,`not-allocated`,`operation-active`,`probe-failed`]),E=e=>u.object({decision:u.literal(e),runtimeGeneration:u.number().int().positive()}).strict(),D=u.enum([`not-found`,`resolved`,`fenced`,`allocation-terminated`,`gate-closed`,`bootstrap-expired`]),O=u.object({executionAttemptId:u.string().min(1)}).strict(),k=u.discriminatedUnion(`status`,[u.object({status:u.literal(`permitted`)}).strict(),u.object({status:u.literal(`pending`)}).strict(),u.object({status:u.literal(`refused`),reason:D}).strict()]),A={"bootstrap.awaitStart":{request:O,response:k},"runtime.register":{request:u.object({executionAttemptId:u.string().min(1),runtimeIncarnationId:u.string().min(1)}).strict(),response:u.discriminatedUnion(`decision`,[E(`ready`),E(`duplicate`),u.object({decision:u.literal(`refused`),runtimeGeneration:u.literal(0),refusalReason:T}).strict()])},"runtime.ready":u.object({executionAttemptId:u.string().min(1),runtimeGeneration:u.number().int().positive(),acceptedAt:u.string().min(1)}).strict(),"operation.admit":{request:u.object({executionAttemptId:u.string().min(1),operationKind:x,admissionKey:u.string().min(1),runtimeGeneration:u.number().int().positive()}).strict(),response:u.object({decision:u.enum([`admitted`,`duplicate`,`refused`]),operationId:u.string().min(1).optional(),refusalReason:u.enum([`not-found`,`resolved`,`fenced`,`not-allocated`,`operation-active`,`gate-closed`,`not-ready`,`stale-generation`,`preparation-required`,`preparation-not-required`,`preparation-already-completed`]).optional()}).strict()},"operation.admitted":u.object({executionAttemptId:u.string().min(1),operationId:u.string().min(1),operationKind:S,runtimeGeneration:u.number().int().positive(),admittedAt:u.string().min(1)}).strict(),"operation.deliver":{request:C,response:w},"instruction.get":{request:u.object({executionAttemptId:u.string().min(1),runtimeGeneration:u.number().int().positive()}).strict(),response:u.discriminatedUnion(`decision`,[u.object({decision:u.literal(`found`),instruction:_}).strict(),u.object({decision:u.literal(`refused`),refusalReason:u.enum([`not-found`,`resolved`,`fenced`,`not-ready`,`stale-generation`])}).strict()])},"operation.report":{request:u.object({executionAttemptId:u.string().min(1),runtimeGeneration:u.number().int().positive(),operationId:u.string().min(1),result:y}).strict(),response:u.discriminatedUnion(`decision`,[u.object({decision:u.literal(`accepted`),binding:v}).strict(),u.object({decision:u.literal(`duplicate`),binding:v}).strict(),u.object({decision:u.literal(`refused`),refusalReason:u.enum([`not-found`,`resolved`,`fenced`,`not-allocated`,`stale-generation`,`no-active-operation`,`operation-mismatch`,`preparation-not-required`,`binding-mismatch`,`conflict`])}).strict()])},"outcome.submit":{request:u.object({executionAttemptId:u.string().min(1),runtimeGeneration:u.number().int().positive(),operationId:u.string().min(1).optional(),outcome:b}).strict().superRefine((e,t)=>{!e.operationId&&e.outcome.kind!==`cancelled`&&!(e.outcome.kind===`technical-failure`&&e.outcome.stage===`startup`)&&t.addIssue({code:`custom`,path:[`operationId`],message:`An admitted operation is required for this outcome`})}),response:u.object({decision:a}).strict()}},j=u.object({workerManifest:l,suspensionStrategy:i}).strict(),M=u.iso.datetime({offset:!0}),N=u.string().refine(e=>{let t=Date.parse(e);return Number.isFinite(t)&&(M.safeParse(e).success||new Date(t).toISOString()===e)},`Expected a representable ISO bootstrap deadline`),P=u.object({busUrl:u.string().min(1),busAuthSecret:u.string().min(1)}).strict(),F=u.object({status:u.literal(`granted`),credentials:P,runtimeEnv:u.record(n,u.string())}).strict(),I=u.enum([...D.options,`provider-mismatch`,`claim-expired`,`not-claimable`]),L=u.discriminatedUnion(`status`,[F,u.object({status:u.literal(`pending`)}).strict(),u.object({status:u.literal(`refused`),reason:I}).strict()]),R=u.object({executionAttemptId:u.string().min(1),executionId:u.string().min(1),environment:u.string().min(1),metadata:e.optional()}),z=u.object({executionAttemptId:u.string().min(1),config:s,manifest:l.optional(),requirements:r.optional(),metadata:e.optional()}),B=u.object({executionAttemptId:u.string().min(1),allocationRef:o}).strict(),V={dispatch:{request:z,response:B},"runtime.inputs.get":{request:u.object({executionAttemptId:u.string().min(1)}).strict(),response:u.object({runtimeInputs:j.nullable()}).strict()},"control.outcome.submit":{request:u.object({executionAttemptId:u.string().min(1),executionId:u.string().min(1),result:c}).strict().superRefine((e,t)=>{e.result.executionId!==e.executionId&&t.addIssue({code:u.ZodIssueCode.custom,path:[`result`,`executionId`],message:`result.executionId must match executionId`})}),response:u.object({decision:a}).strict()},"control.bootstrap.claim":{request:u.object({executionId:u.string().min(1),executionAttemptId:u.string().min(1)}).strict(),response:L},"lifecycle.provisioning":R,"lifecycle.booting":R,"lifecycle.ready":R,"lifecycle.busy":R,"lifecycle.completed":R,"lifecycle.failed":R.extend({error:u.string().min(1)}),"lifecycle.terminated":R.extend({reason:u.string().optional()}),"lifecycle.paused":R.extend({pausedAtGateId:u.string().min(1),pausedAtFrameId:u.string().min(1)})},H=`worker-bootstrap`,U=d(`worker`,V),W=U.subjects;export{b as C,h as D,g as E,m as O,_ as S,v as T,C as _,L as a,T as b,F as c,V as d,j as f,D as g,k as h,I as i,z as l,O as m,U as n,P as o,S as p,W as r,N as s,H as t,B as u,x as v,y as w,A as x,w as y};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./json-value-DM-EjTC1.mjs";import{n as t}from"./capability-Bw4tsDQu.mjs";import{z as n}from"zod";const r=n.enum([`wait-in-process`,`exit-and-redispatch`,`exit-and-resume`]),i=`worker`,a=`makaio.runtime-node.piscina-local`,o=1,s=n.object({version:n.literal(1),providerId:n.string().min(1),providerData:e}).strict(),c={source:128,code:64,summary:512,observedAt:64},l=n.object({source:n.string().min(1).max(c.source),summary:n.string().min(1).max(c.summary),observedAt:n.iso.datetime({offset:!0}).max(c.observedAt),code:n.string().min(1).max(c.code).optional()}).strict(),u=`exhaustive-search-unavailable`,d=`no-allocation-observed`,f=`ambiguous-allocation-match`,p=`pre-request-rejection`,m=[`unknown`,`provisioning`,`ready`,`running`,`suspended`,`terminal`,`absent`],h=n.enum(m),g=n.object({state:h,allocationRef:s,evidence:e.optional(),completionEvidence:l.optional()}),_=[`local-directory`,`workspace-snapshot`],v=n.enum(_),y=n.string().min(1).refine(e=>!e.startsWith(`/`)&&!/^[A-Za-z]:[/\\]/.test(e),{message:`sourcePath must be relative (no leading / or drive letter)`}),b=n.object({kind:n.literal(`local-directory`),workspaceId:n.string().min(1),rootDigest:n.string().min(1),sourcePath:y}).strict(),x=n.object({kind:n.literal(`workspace-snapshot`),snapshotId:n.string().min(1),digest:n.string().min(1),sourcePath:y}).strict(),S=n.discriminatedUnion(`kind`,[b,x]),C=/^sha(?:256|384|512)-[A-Za-z0-9+/]+=*$/,w=n.object({packageName:n.string().min(1),version:n.string().min(1),entrypoint:n.string().min(1).refine(e=>!e.includes(`node_modules`)&&!e.startsWith(`/`)&&!/^[A-Za-z]:[/\\]/.test(e),{message:`entrypoint must be package-relative (no node_modules, no absolute path)`}),integrity:n.string().min(1).refine(e=>C.test(e),{message:`integrity must be a valid SRI hash (sha256-..., sha384-..., or sha512-...)`})}).strict(),T=n.object({maxRuntimeMs:n.number().int().positive().optional(),persistentStorage:n.boolean(),customCapabilities:n.array(n.string().min(1)).default([]),suspensionStrategy:r.default(`wait-in-process`),supportsRecovery:n.boolean().default(!1),materializationModes:n.array(v).min(1).default([`local-directory`])}),E=n.object({maxRuntimeMs:n.number().int().positive().optional(),persistentStorage:n.boolean().optional(),customCapabilities:n.array(n.string().min(1)).default([]),recoverableAllocation:n.boolean().optional(),materializationModes:n.array(v).optional()}),D=[`provisioner-process-bound`,`provider-managed`],O=n.enum(D),k=[`found`,`confirmed-absent`,`unknown`],A=n.discriminatedUnion(`kind`,[n.object({kind:n.literal(`found`),allocationRef:s}).strict(),n.object({kind:n.literal(`confirmed-absent`),evidence:l}).strict(),n.object({kind:n.literal(`unknown`),evidence:l}).strict()]),j=n.enum([`accepted`,`duplicate`,`conflict`,`fenced`]);var M=class extends Error{constructor(e){super(e),this.name=`ProviderAllocationRefError`}};function N(e,t){let n=s.shape.providerId.parse(e);return{build:e=>{let r=t.parse(e);return{version:1,providerId:n,providerData:s.shape.providerData.parse(r)}},parse:e=>{if(e.version!==1)throw new M(`Unsupported allocation ref version ${String(e.version)}, expected 1`);if(e.providerId!==n)throw new M(`Allocation ref provider '${e.providerId}' does not match this provider '${n}'`);let r=t.safeParse(e.providerData);if(!r.success)throw new M(`Invalid provider data in allocation ref: ${r.error.message}`);return r.data}}}function P(e,t){if(e.length<=t)return e;let n=e.slice(0,t-1),r=n.charCodeAt(n.length-1);return`${r>=55296&&r<=56319?n.slice(0,-1):n}…`}function F(e,t,n){let r=c.summary;return l.parse({source:e,summary:P(n,r),observedAt:new Date().toISOString(),...t===void 0?{}:{code:t}})}function I(e,n){return e.emit(t.register,{capabilityId:i,provider:n})}function L(e,n){return e.emit(t.unregister,{capabilityId:i,providerId:n})}export{E as A,c as C,T as D,O as E,r as M,w as O,A as S,i as T,j as _,N as a,k as b,g as c,l as d,u as f,d as g,v as h,M as i,x as j,S as k,h as l,_ as m,L as n,m as o,b as p,F as r,f as s,I as t,a as u,p as v,D as w,s as x,o as y};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ATTEMPT_OPERATION_START_GATES, AdmitOperationInput, AllocationRecordingDecision, AllocationRefEvolution, AllocationRefEvolutionDecision, AllocationTerminationDecision, AttemptControlState, AttemptExecutionState, AttemptOperationStartGate, AttemptReachability, AttemptReachabilityDecision, AttemptSettlementRead, AttemptSettlementSnapshot, BeginProvisioningInput, BootstrapStartState, CompleteOperationInput, DiscoveredAllocationDecision, DuplicateExecutionAttemptError, DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, EnsureExecutionAttemptDecision, EnsureExecutionAttemptInput, EnsureExecutionAttemptPersistenceInput, ExecutionAttemptCreate, ExecutionAttemptOutcomeCommit, ExecutionAttemptOutcomeDecision, ExecutionAttemptRecord, ExecutionAttemptRecoveryOperations, ExecutionAttemptRepository, ExecutionAttemptSettlementKind, ExecutionAttemptStatus, ExecutionOwnerId, GetInstructionInput, HandoffProviderOperationInput, InfrastructureFailureDecision, MarkRuntimeReadyInput, OperationAdmissionDecision, OperationCompletionDecision, OperationReportDecision, OutcomeCodec, PendingAttemptAbandonmentDecision, PreparationReceipt, ProvisionerIncarnationLossDecision, ProvisioningAbsenceDecision, ProvisioningClaimDecision, ReadAttemptSettlementInput, ReadBootstrapStartStateInput, RecordAllocationInput, RecordAllocationTerminatedInput, RecordInfrastructureFailureInput, RecordProviderOperationUncertaintyInput, RecordProvisionerIncarnationLostInput, RecordProvisioningAbsentInput, RecoverableAttemptRecord, RegisterRuntimeInput, RenewProviderOperationClaimInput, ReportOperationInput, RuntimeOutcomeFence, RuntimeOutcomeFenceMismatchError, RuntimeReadinessDecision, RuntimeRegistrationDecision, TakeOverProviderOperationInput, assertRuntimeOutcomeFence, decodeDurableOutcome, durableOutcome, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluatePreparationReport, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, sameAllocationRef, sameDurableOutcome };
|
|
1
|
+
import { $ as sameAllocationRef, A as OperationAdmissionDecision, At as AttemptSettlementRead, B as RecordInfrastructureFailureInput, C as ExecutionAttemptRepository, D as GetInstructionInput, Dt as RenewProviderOperationClaimInput, E as ExecutionOwnerId, Et as RecordProviderOperationUncertaintyInput, F as PreparationReceipt, Ft as ReadAttemptSettlementInput, G as ReportOperationInput, H as RecordProvisioningAbsentInput, I as ProvisioningClaimDecision, J as RuntimeReadinessDecision, K as RuntimeOutcomeFence, L as ReadBootstrapStartStateInput, M as OperationReportDecision, Mt as EnsureExecutionAttemptDecision, N as OutcomeCodec, Nt as EnsureExecutionAttemptInput, O as InfrastructureFailureDecision, Ot as TakeOverProviderOperationInput, P as PendingAttemptAbandonmentDecision, Pt as EnsureExecutionAttemptPersistenceInput, Q as durableOutcome, R as RecordAllocationInput, S as ExecutionAttemptRecoveryOperations, T as ExecutionAttemptStatus, Tt as ProvisioningAbsenceDecision, U as RecoverableAttemptRecord, V as RecordProvisionerIncarnationLostInput, W as RegisterRuntimeInput, X as assertRuntimeOutcomeFence, Y as RuntimeRegistrationDecision, Z as decodeDurableOutcome, _ as EXECUTION_ATTEMPT_STATUSES, a as AllocationRefEvolutionDecision, at as evaluateOperationCompletion, b as ExecutionAttemptOutcomeDecision, c as AttemptExecutionState, ct as evaluateRuntimeReadiness, d as BootstrapStartState, dt as HandoffProviderOperationInput, et as sameDurableOutcome, f as CompleteOperationInput, g as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, h as DurableOutcome, ht as OpenProviderOperationRecord, i as AllocationRefEvolution, it as evaluateOperationAdmission, j as OperationCompletionDecision, jt as AttemptSettlementSnapshot, k as MarkRuntimeReadyInput, l as AttemptOperationStartGate, lt as evaluateRuntimeRegistration, m as DuplicateExecutionAttemptError, mt as ListOpenProviderOperationsInput, n as AdmitOperationInput, nt as AttemptReachabilityDecision, o as AllocationTerminationDecision, ot as evaluatePreparationReport, p as DiscoveredAllocationDecision, q as RuntimeOutcomeFenceMismatchError, r as AllocationRecordingDecision, rt as evaluateAttemptReachability, s as AttemptControlState, st as evaluateProvisionerIncarnationLoss, t as ATTEMPT_OPERATION_START_GATES, tt as AttemptReachability, u as BeginProvisioningInput, ut as CompleteProviderOperationInput, v as ExecutionAttemptCreate, w as ExecutionAttemptSettlementKind, wt as ProvisionerIncarnationLossDecision, x as ExecutionAttemptRecord, y as ExecutionAttemptOutcomeCommit, z as RecordAllocationTerminatedInput } from "../execution-attempt-repository-CF3cWsPo.mjs";
|
|
2
|
+
export { ATTEMPT_OPERATION_START_GATES, AdmitOperationInput, AllocationRecordingDecision, AllocationRefEvolution, AllocationRefEvolutionDecision, AllocationTerminationDecision, AttemptControlState, AttemptExecutionState, AttemptOperationStartGate, AttemptReachability, AttemptReachabilityDecision, AttemptSettlementRead, AttemptSettlementSnapshot, BeginProvisioningInput, BootstrapStartState, CompleteOperationInput, CompleteProviderOperationInput, DiscoveredAllocationDecision, DuplicateExecutionAttemptError, DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, EnsureExecutionAttemptDecision, EnsureExecutionAttemptInput, EnsureExecutionAttemptPersistenceInput, ExecutionAttemptCreate, ExecutionAttemptOutcomeCommit, ExecutionAttemptOutcomeDecision, ExecutionAttemptRecord, ExecutionAttemptRecoveryOperations, ExecutionAttemptRepository, ExecutionAttemptSettlementKind, ExecutionAttemptStatus, ExecutionOwnerId, GetInstructionInput, HandoffProviderOperationInput, InfrastructureFailureDecision, ListOpenProviderOperationsInput, MarkRuntimeReadyInput, OpenProviderOperationRecord, OperationAdmissionDecision, OperationCompletionDecision, OperationReportDecision, OutcomeCodec, PendingAttemptAbandonmentDecision, PreparationReceipt, ProvisionerIncarnationLossDecision, ProvisioningAbsenceDecision, ProvisioningClaimDecision, ReadAttemptSettlementInput, ReadBootstrapStartStateInput, RecordAllocationInput, RecordAllocationTerminatedInput, RecordInfrastructureFailureInput, RecordProviderOperationUncertaintyInput, RecordProvisionerIncarnationLostInput, RecordProvisioningAbsentInput, RecoverableAttemptRecord, RegisterRuntimeInput, RenewProviderOperationClaimInput, ReportOperationInput, RuntimeOutcomeFence, RuntimeOutcomeFenceMismatchError, RuntimeReadinessDecision, RuntimeRegistrationDecision, TakeOverProviderOperationInput, assertRuntimeOutcomeFence, decodeDurableOutcome, durableOutcome, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluatePreparationReport, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, sameAllocationRef, sameDurableOutcome };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as t,c as n,d as r,f as i,g as a,h as o,i as s,l as c,m as l,n as u,o as d,p as f,r as p,s as m,t as h,u as g}from"../execution-attempt-repository-
|
|
1
|
+
import{_ as e,a as t,c as n,d as r,f as i,g as a,h as o,i as s,l as c,m as l,n as u,o as d,p as f,r as p,s as m,t as h,u as g}from"../execution-attempt-repository-DXyh1hgz.mjs";export{h as ATTEMPT_OPERATION_START_GATES,u as DuplicateExecutionAttemptError,p as EXECUTION_ATTEMPT_SETTLEMENT_KINDS,s as EXECUTION_ATTEMPT_STATUSES,t as RuntimeOutcomeFenceMismatchError,d as assertRuntimeOutcomeFence,m as decodeDurableOutcome,n as durableOutcome,r as evaluateAttemptReachability,i as evaluateOperationAdmission,f as evaluateOperationCompletion,l as evaluatePreparationReport,o as evaluateProvisionerIncarnationLoss,a as evaluateRuntimeReadiness,e as evaluateRuntimeRegistration,c as sameAllocationRef,g as sameDurableOutcome};
|