@makaio/framework 1.0.0-dev-1790087128488 → 1.0.0-dev-1790165101280
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/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/claude/index.d.mts +44 -44
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/node.d.mts +1 -1
- package/dist/bus/index.d.mts +47 -22
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-D4DBDaoS.mjs +9 -0
- package/dist/{client-DWSwtFyI.mjs → client-D1BZILNq.mjs} +1 -1
- package/dist/clients/index.d.mts +9 -3
- package/dist/clients/index.mjs +1 -1
- package/dist/clients/managed-install.d.mts +1 -1
- package/dist/code-execution/worker-entry.d.mts +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -2
- package/dist/contracts/auth/index.d.mts +2 -2
- package/dist/contracts/automation-trigger/index.d.mts +3 -3
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +3 -3
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/code-execution/index.d.mts +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +2 -2
- package/dist/contracts/extension/index.d.mts +5 -5
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +173 -173
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +2 -2
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +2 -2
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +2 -2
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{contribution-DHJJARJP.d.mts → contribution-kpR61mnG.d.mts} +2 -2
- package/dist/{definition-DeIGoROj.d.mts → definition-DWhjp0db.d.mts} +1 -1
- package/dist/{detached-extension-handle-W5_yfCyE.mjs → detached-extension-handle-QrXVNUR2.mjs} +1 -1
- package/dist/{extension-context-C2qColIL.d.mts → extension-context-CmhBCbbq.d.mts} +1 -1
- package/dist/filesystem-service-CIaAqTRi.mjs +1 -0
- package/dist/{framework-packages-U4Xhouxe.mjs → framework-packages-C2tvdFmP.mjs} +1 -1
- package/dist/{hook-responses-CN5r7i3k.d.mts → hook-responses-C3nUIm-6.d.mts} +1 -1
- package/dist/{index-DDff0Q_Y.d.mts → index-04uTOEVU.d.mts} +83 -83
- package/dist/{index-D9ExWo6a2.d.mts → index-8HtSFrzb.d.mts} +24 -24
- package/dist/{index-Bcq3UKLQ2.d.mts → index-9O8N514B2.d.mts} +7 -7
- package/dist/{index-DQU8ZoJr.d.mts → index-BM53WQaQ.d.mts} +1 -1
- package/dist/{index-BwaFXFd2.d.mts → index-BTLbhl35.d.mts} +101 -101
- package/dist/{index-vA46dx7q.d.mts → index-BV3nQpdO.d.mts} +100 -100
- package/dist/{index-DjmCOTLM.d.mts → index-BYwt4CNf.d.mts} +297 -297
- package/dist/{index-L6mssyeZ.d.mts → index-BfFi98B_.d.mts} +1 -1
- package/dist/{index-CESqYf8a.d.mts → index-C0Jfr8UK.d.mts} +2 -2
- package/dist/{index-Cm3HuwMC2.d.mts → index-C9Dz8UoK2.d.mts} +236 -1
- package/dist/{index-f31ex0nG.d.mts → index-CFMaXW-s.d.mts} +152 -25
- package/dist/{index-DUYjTfHD.d.mts → index-CLwnkYRD.d.mts} +1 -1
- package/dist/{index-Dk_f8Cyz2.d.mts → index-CRjWqvy02.d.mts} +7 -7
- package/dist/{index-C8two8wz.d.mts → index-CdkIg4Gu.d.mts} +1 -1
- package/dist/{index-DfREUyAk.d.mts → index-CkE9MwNX.d.mts} +1 -1
- package/dist/{index-DH55jJaM.d.mts → index-CpGWwlRN.d.mts} +14 -14
- package/dist/{index-D7dbR7Pu2.d.mts → index-Csua5M_M2.d.mts} +16 -16
- package/dist/{index-DJxg7U2X.d.mts → index-D5BLD2Pw.d.mts} +7 -3
- package/dist/{index-Xnn0gJhU.d.mts → index-D5Lw1UsO.d.mts} +339 -339
- package/dist/{index-B2bxgKiK.d.mts → index-D9BLsMs8.d.mts} +1 -1
- package/dist/{index-DdJKsdya.d.mts → index-D9hIDsPr.d.mts} +1 -1
- package/dist/{index-DvtVX-Rj.d.mts → index-DDCixELI.d.mts} +2 -2
- package/dist/{index-m5ZQFglW2.d.mts → index-DVo_rb2w2.d.mts} +12 -12
- package/dist/{index-D17f9C3Y.d.mts → index-J6C4thLY.d.mts} +3 -3
- package/dist/{index-DauaMtPH2.d.mts → index-LCumcYK12.d.mts} +379 -379
- package/dist/{index-BMPU9fkA.d.mts → index-aAo9ugCm.d.mts} +8 -8
- package/dist/{index-Jdju2W3y.d.mts → index-t6LnywuE.d.mts} +1 -1
- package/dist/{index-qH2Jhegj2.d.mts → index-u0EteHlR2.d.mts} +1 -1
- package/dist/{index-zqo2mX_Z.d.mts → index-ul45YFff.d.mts} +6 -6
- package/dist/{index-DNdHuoy6.d.mts → index-xad0YUyF.d.mts} +1 -1
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/extension/index.d.mts +2 -2
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{load-extensions-Be_lOjm_.d.mts → load-extensions-CCzTHlUE.d.mts} +1 -1
- package/dist/{load-extensions-BGfSWW_R.mjs → load-extensions-eyXZhbRn.mjs} +1 -1
- package/dist/{namespace-zusFEJPh.d.mts → namespace-B1FBjHfn.d.mts} +6 -6
- package/dist/{namespace-x-gk5SmK.d.mts → namespace-BEi98VfQ.d.mts} +18 -18
- package/dist/{namespace-BdsOXWPU.d.mts → namespace-C5tKjqgb.d.mts} +1 -1
- package/dist/{namespace-B2L_hlJ0.d.mts → namespace-HLrZerLd.d.mts} +154 -154
- package/dist/{namespace-CHc7YF0S.d.mts → namespace-KomML5ti.d.mts} +2 -2
- package/dist/native-session-supervisor-BmnAZuia.mjs +1 -0
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/transports/index.d.mts +53 -1
- package/dist/node/transports/index.mjs +2 -2
- package/dist/node-bridge-backend-DtRT--yn.mjs +1 -0
- package/dist/node-pty-backend-C72EgRws.mjs +1 -0
- package/dist/{package-Bz938q5F.d.mts → package-BswWlFSn.d.mts} +2 -2
- package/dist/{package-kkPGlxMm.mjs → package-CeEUAKHI.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.d.mts +5 -0
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/bridge/pty-bridge.cjs +222 -0
- package/dist/runtime-node/code-execution/index.d.mts +2 -2
- 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 +5 -5
- package/dist/runtime-node/index.mjs +25 -21
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/{schemas-Dqro7M1d.d.mts → schemas-BOT1HUv6.d.mts} +154 -154
- package/dist/{schemas-C_0aO9S1.d.mts → schemas-Bv7ecHxV.d.mts} +17 -17
- package/dist/{schemas-BLxdGZkr.d.mts → schemas-BzSB9u68.d.mts} +4 -4
- package/dist/service-base/index.d.mts +35 -5
- package/dist/service-base/index.mjs +1 -1
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- 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/namespace.d.mts +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/capability/index.d.mts +2 -2
- package/dist/services/code-execution/index.d.mts +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/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +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/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +131 -131
- 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/namespace.d.mts +2 -2
- package/dist/services/log-import/schemas.d.mts +1 -1
- package/dist/services/materialization/index.d.mts +1 -1
- package/dist/services/model-registry/index.d.mts +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/session/handlers/index.d.mts +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/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +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/turns/namespace.d.mts +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/namespace.d.mts +14 -14
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/subagent/index.d.mts +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/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-CMbztxNO.mjs → session-D38UuGGX.mjs} +1 -1
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/{tool-approval-service-CRo3fZRF.mjs → tool-approval-service-vG2mEC9p.mjs} +1 -1
- package/dist/{tools-CKaxi3Mb.mjs → tools-ByDy0ueE.mjs} +1 -1
- package/dist/{transition-BVB-sXKI.d.mts → transition-B0qsutdE.d.mts} +2 -2
- package/dist/{types-CVOL6fAm.d.mts → types-BP_P1izV.d.mts} +340 -340
- package/dist/{types-Cues-R7O2.d.mts → types-DyBD5MdV2.d.mts} +1 -1
- package/dist/ui-kernel/index.d.mts +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/{view-builder-CbZtzUZI.d.mts → view-builder-nKz9DKfE.d.mts} +5 -5
- package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +62 -62
- 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 +1 -1
- package/dist/workflow-engine/testing/conformance.d.mts +1 -1
- package/dist/workflow-engine/testing/index.d.mts +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
- package/dist/{workflow-transitions-t0ORS1F5.mjs → workflow-transitions-UOXY-VZa.mjs} +1 -1
- package/package.json +2 -1
- package/dist/bus-ceMF9rsq.mjs +0 -9
- package/dist/filesystem-service-ClZEAw7E.mjs +0 -1
- package/dist/native-session-supervisor-DtuN1Dgs.mjs +0 -1
- package/dist/{adapter-binding-CaYBrIkL.d.mts → adapter-binding-DF-j-XHg.d.mts} +0 -0
- package/dist/{base-orchestrator-1ofFsqUz.d.mts → base-orchestrator-FNFJ6Cwf.d.mts} +0 -0
- package/dist/{capability-service-CUN0MIS7.d.mts → capability-service-BHcRd1td.d.mts} +0 -0
- package/dist/{client-BY3sBW2L.d.mts → client-Sx_N8LXo.d.mts} +0 -0
- package/dist/{client-binary-version-verifier-BeO4Eptw.d.mts → client-binary-version-verifier-C8gtKQFO.d.mts} +0 -0
- package/dist/{clients-namespace-D92YsbKI.d.mts → clients-namespace-CASHxXUM.d.mts} +0 -0
- package/dist/{config-namespace-OEckUfVE.d.mts → config-namespace-CeTODseW.d.mts} +0 -0
- package/dist/{credential-ref-w4ZYpYW0.d.mts → credential-ref-MsnUkz9G.d.mts} +0 -0
- package/dist/{definition-DLJg-P4G.d.mts → definition-D2SO1tX-.d.mts} +0 -0
- package/dist/{execution-attempt-repository-DOb5V4N2.d.mts → execution-attempt-repository-C2XKRZ3O.d.mts} +0 -0
- package/dist/{extension-discovery-Rup-gANp.d.mts → extension-discovery-BqSPn73R.d.mts} +0 -0
- package/dist/{filesystem-service-BmavE-uO.d.mts → filesystem-service-5Ecp3nSV.d.mts} +0 -0
- package/dist/{index-DubyRZD9.d.mts → index-62OoZLGr.d.mts} +0 -0
- package/dist/{index-DEx4ZFkz.d.mts → index-BCuWtlv5.d.mts} +0 -0
- package/dist/{index-BneZFJ7x.d.mts → index-BEPn58tG.d.mts} +0 -0
- package/dist/{index-CpN2C9jq.d.mts → index-BOxMyaqG.d.mts} +0 -0
- package/dist/{index-fxh7TB0q.d.mts → index-BTd3fTkW.d.mts} +0 -0
- package/dist/{index--gbsE1W0.d.mts → index-B_Hf4XPX.d.mts} +0 -0
- package/dist/{index-BQYGOXY5.d.mts → index-BjrbddkU.d.mts} +0 -0
- package/dist/{index-D7smT-YD.d.mts → index-BleQ0SR7.d.mts} +0 -0
- package/dist/{index-CvdvuhTL2.d.mts → index-By1UhKYU2.d.mts} +0 -0
- package/dist/{index-YOXWpZAS.d.mts → index-CURT4JaX.d.mts} +0 -0
- package/dist/{index-CCTzitBA.d.mts → index-Ce6-SiB3.d.mts} +0 -0
- package/dist/{index-DxkSkszz.d.mts → index-CwVSr7Ow.d.mts} +0 -0
- package/dist/{index-C2StVLk4.d.mts → index-DAqAa9aL.d.mts} +0 -0
- package/dist/{index-CsRPJ9FV.d.mts → index-DDnY7JhE.d.mts} +0 -0
- package/dist/{index-DTvYp2GT.d.mts → index-DMgbNdEU.d.mts} +0 -0
- package/dist/{index-BD1SbHpP.d.mts → index-DOui-7u2.d.mts} +0 -0
- package/dist/{index-BujgCaKt.d.mts → index-DsmyofuM.d.mts} +0 -0
- package/dist/{index-DwOpaQAE.d.mts → index-N0-r5Hcd.d.mts} +0 -0
- package/dist/{index-Cj_V1aRL.d.mts → index-_OD_Nz3m.d.mts} +0 -0
- package/dist/{index-TBJ1kIGA.d.mts → index-rik4Uc5G.d.mts} +0 -0
- package/dist/{index-B36rL4gp.d.mts → index-w1AeWV4F.d.mts} +0 -0
- package/dist/{json-value-Bjl8jzom.d.mts → json-value--pv1-OHx.d.mts} +0 -0
- package/dist/{namespace-DudchWPb.d.mts → namespace-6O0G1s65.d.mts} +0 -0
- package/dist/{namespace-hlhPqSsw.d.mts → namespace-CHSwZhH7.d.mts} +0 -0
- package/dist/{namespace-D09uQ231.d.mts → namespace-CJ5sH_Bp.d.mts} +0 -0
- package/dist/{namespace-DHLwz4o3.d.mts → namespace-CL9OyrHs.d.mts} +0 -0
- package/dist/{namespace-DHbrNQYD.d.mts → namespace-D38Fmd0E.d.mts} +0 -0
- package/dist/{namespace-MW-Eg_yB.d.mts → namespace-D6W4Erwp.d.mts} +0 -0
- package/dist/{namespace-CxEQv9iZ.d.mts → namespace-DbtfwD5Z.d.mts} +0 -0
- package/dist/{namespace-Dz5_Hrz7.d.mts → namespace-QV_2m25r.d.mts} +0 -0
- package/dist/{namespace-DyD06b5-.d.mts → namespace-Sd6qj6w22.d.mts} +0 -0
- package/dist/{orchestrator-shared-ChU5qRSe.d.mts → orchestrator-shared-Bvo0u-1D.d.mts} +0 -0
- package/dist/{packages-D2s51nGU.d.mts → packages-KX9yofCa.d.mts} +0 -0
- package/dist/{providers-namespace-BLVt8OyP.d.mts → providers-namespace-B-l-OQZk.d.mts} +0 -0
- package/dist/{runtime-inputs-BU_kBrP7.d.mts → runtime-inputs-B7nWstrY.d.mts} +0 -0
- package/dist/{schema-FY0EakKe.d.mts → schema-De6d0FWI.d.mts} +0 -0
- package/dist/{schemas-CqawCYTY.d.mts → schemas-BGTuiO3u.d.mts} +0 -0
- package/dist/{schemas-3KTmPuZg.d.mts → schemas-BXkSHQaF.d.mts} +0 -0
- package/dist/{schemas-B-5_Dp4_.d.mts → schemas-C0Fb2-LN.d.mts} +0 -0
- package/dist/{schemas-DiXL8NfA.d.mts → schemas-Cb9OJ9va.d.mts} +0 -0
- package/dist/{schemas-Cl7fPlRv.d.mts → schemas-CjFPsYeV.d.mts} +0 -0
- package/dist/{schemas-BzB6z9oX2.d.mts → schemas-DPtj1sPC2.d.mts} +0 -0
- package/dist/{schemas-CBBzvIh0.d.mts → schemas-Dxfk39-v.d.mts} +0 -0
- package/dist/{schemas-BegArpU_.d.mts → schemas-feb64ScA.d.mts} +0 -0
- package/dist/{schemas-CU_52YMQ.d.mts → schemas-rliUGyrt.d.mts} +7 -7
- /package/dist/{server-lifecycle-CTJvpdeL.d.mts → server-lifecycle-BINetU26.d.mts} +0 -0
- /package/dist/{session-lineage-CjE3qppC.d.mts → session-lineage-CmP7L5g2.d.mts} +0 -0
- /package/dist/{src-C0sw_Vs_.mjs → src-CkKKoY0M.mjs} +0 -0
- /package/dist/{storage-namespace-B5r_ScUz.d.mts → storage-namespace-CwwiV3kt.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-DiYr8UNl.d.mts → storage-namespace-definition-DV3IipmH.d.mts} +0 -0
- /package/dist/{types-DEGuc-fn.d.mts → types-B_mVEuYd.d.mts} +0 -0
- /package/dist/{types-CpEoQapk.d.mts → types-BrsmFcWl.d.mts} +0 -0
- /package/dist/{types-DciLiPMd.d.mts → types-CjoaGe_E.d.mts} +0 -0
- /package/dist/{types-BSx8YYlc.d.mts → types-CqVuKsLC.d.mts} +0 -0
- /package/dist/{types-Cuhnt15L.d.mts → types-D7WtaoMR.d.mts} +0 -0
- /package/dist/{window-registry-C3W2wtlX.d.mts → window-registry-1jI3f9ir.d.mts} +0 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PTY Bridge — Node.js subprocess
|
|
3
|
+
*
|
|
4
|
+
* Runs under plain Node.js (not Bun) so it can load the node-pty native addon.
|
|
5
|
+
* Speaks newline-delimited JSON-RPC over stdin/stdout, multiplexing any number
|
|
6
|
+
* of PTY sessions for the Bun host process.
|
|
7
|
+
*
|
|
8
|
+
* Protocol (stdin, Bun → bridge):
|
|
9
|
+
* { "id": <number>, "cmd": "spawn", "file": <string>, "args": <string[]>,
|
|
10
|
+
* "options": { "cwd"?: <string>, "name"?: <string>, "cols"?: <number>,
|
|
11
|
+
* "rows"?: <number>, "env"?: <Record<string,string>>,
|
|
12
|
+
* "inheritEnvironment"?: <boolean> } }
|
|
13
|
+
* { "id": <number>, "cmd": "input", "ptyId": <number>, "data": <UTF-8 base64> }
|
|
14
|
+
* { "id": <number>, "cmd": "resize", "ptyId": <number>, "cols": <number>, "rows": <number> }
|
|
15
|
+
* { "id": <number>, "cmd": "kill", "ptyId": <number>, "signal"?: <string> }
|
|
16
|
+
*
|
|
17
|
+
* Protocol (stdout, bridge → Bun):
|
|
18
|
+
* { "id": <number>, "ptyId": <number>, "event": "spawned", "pid": <number>, "process": <string> }
|
|
19
|
+
* { "ptyId": <number>, "event": "data", "data": <UTF-8 base64> }
|
|
20
|
+
* { "ptyId": <number>, "event": "exit", "exitCode": <number>, "signal": <number> }
|
|
21
|
+
* { "id": <number>, "event": "error", "message": <string> }
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
'use strict';
|
|
25
|
+
|
|
26
|
+
const pty = require('node-pty');
|
|
27
|
+
const readline = require('readline');
|
|
28
|
+
|
|
29
|
+
/** @type {Map<number, import('node-pty').IPty>} */
|
|
30
|
+
const sessions = new Map();
|
|
31
|
+
|
|
32
|
+
let nextPtyId = 1;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Emit a JSON-RPC event to the Bun host via stdout.
|
|
36
|
+
* @param {Record<string, unknown>} payload
|
|
37
|
+
* @example
|
|
38
|
+
*/
|
|
39
|
+
function emit(payload) {
|
|
40
|
+
process.stdout.write(JSON.stringify(payload) + '\n');
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Log a debug message to stderr (never interferes with the JSON-RPC protocol).
|
|
45
|
+
* @param {string} message
|
|
46
|
+
* @example
|
|
47
|
+
*/
|
|
48
|
+
function debug(message) {
|
|
49
|
+
process.stderr.write(`[pty-bridge] ${message}\n`);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Kill and delete all active PTY sessions.
|
|
54
|
+
* @example
|
|
55
|
+
*/
|
|
56
|
+
function disposeAll() {
|
|
57
|
+
for (const [id, proc] of sessions) {
|
|
58
|
+
try {
|
|
59
|
+
proc.kill();
|
|
60
|
+
} catch {
|
|
61
|
+
// Ignore — process may have already exited.
|
|
62
|
+
}
|
|
63
|
+
sessions.delete(id);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Handle a "spawn" command.
|
|
69
|
+
* @param {{ id: number; file: string; args: string[]; options: Record<string, unknown> }} cmd
|
|
70
|
+
* @example
|
|
71
|
+
*/
|
|
72
|
+
function handleSpawn(cmd) {
|
|
73
|
+
const ptyId = nextPtyId++;
|
|
74
|
+
const { id, file, args, options } = cmd;
|
|
75
|
+
const env =
|
|
76
|
+
options.env !== null && typeof options.env === 'object' && !Array.isArray(options.env)
|
|
77
|
+
? /** @type {Record<string, string>} */ (options.env)
|
|
78
|
+
: undefined;
|
|
79
|
+
|
|
80
|
+
/** @type {import('node-pty').IWindowsPtyForkOptions | import('node-pty').IPtyForkOptions} */
|
|
81
|
+
const spawnOptions = {
|
|
82
|
+
name: typeof options.name === 'string' ? options.name : 'xterm-256color',
|
|
83
|
+
cols: typeof options.cols === 'number' ? options.cols : 80,
|
|
84
|
+
rows: typeof options.rows === 'number' ? options.rows : 24,
|
|
85
|
+
cwd: typeof options.cwd === 'string' ? options.cwd : undefined,
|
|
86
|
+
env: options.inheritEnvironment === true && env !== undefined ? { ...process.env, ...env } : env,
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
let proc;
|
|
90
|
+
try {
|
|
91
|
+
proc = pty.spawn(file, args, spawnOptions);
|
|
92
|
+
} catch (err) {
|
|
93
|
+
emit({ id, event: 'error', message: err instanceof Error ? err.message : String(err) });
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
sessions.set(ptyId, proc);
|
|
98
|
+
debug(`spawned ptyId=${ptyId} pid=${proc.pid} file=${file}`);
|
|
99
|
+
|
|
100
|
+
emit({ id, ptyId, event: 'spawned', pid: proc.pid, process: proc.process });
|
|
101
|
+
|
|
102
|
+
proc.onData((data) => {
|
|
103
|
+
// The backend contract carries terminal output as JavaScript text strings.
|
|
104
|
+
emit({ ptyId, event: 'data', data: Buffer.from(data, 'utf8').toString('base64') });
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
proc.onExit(({ exitCode, signal }) => {
|
|
108
|
+
debug(`ptyId=${ptyId} exited exitCode=${exitCode} signal=${signal}`);
|
|
109
|
+
sessions.delete(ptyId);
|
|
110
|
+
emit({ ptyId, event: 'exit', exitCode, signal: signal ?? 0 });
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Handle an "input" command — write base64-decoded data to the PTY.
|
|
116
|
+
* @param {{ id: number; ptyId: number; data: string }} cmd
|
|
117
|
+
* @example
|
|
118
|
+
*/
|
|
119
|
+
function handleInput(cmd) {
|
|
120
|
+
const proc = sessions.get(cmd.ptyId);
|
|
121
|
+
if (!proc) {
|
|
122
|
+
emit({ id: cmd.id, event: 'error', message: `unknown ptyId: ${cmd.ptyId}` });
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
// Input originates as a JavaScript string, encoded as UTF-8 before base64 transport.
|
|
126
|
+
const decoded = Buffer.from(cmd.data, 'base64').toString('utf8');
|
|
127
|
+
proc.write(decoded);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Handle a "resize" command.
|
|
132
|
+
* @param {{ id: number; ptyId: number; cols: number; rows: number }} cmd
|
|
133
|
+
* @example
|
|
134
|
+
*/
|
|
135
|
+
function handleResize(cmd) {
|
|
136
|
+
const proc = sessions.get(cmd.ptyId);
|
|
137
|
+
if (!proc) {
|
|
138
|
+
emit({ id: cmd.id, event: 'error', message: `unknown ptyId: ${cmd.ptyId}` });
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
proc.resize(cmd.cols, cmd.rows);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Handle a "kill" command.
|
|
146
|
+
* @param {{ id: number; ptyId: number; signal?: string }} cmd
|
|
147
|
+
* @example
|
|
148
|
+
*/
|
|
149
|
+
function handleKill(cmd) {
|
|
150
|
+
const proc = sessions.get(cmd.ptyId);
|
|
151
|
+
if (!proc) {
|
|
152
|
+
emit({ id: cmd.id, event: 'error', message: `unknown ptyId: ${cmd.ptyId}` });
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
proc.kill(cmd.signal ?? 'SIGHUP');
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
// ── Stdin / readline setup ───────────────────────────────────────────────────
|
|
159
|
+
|
|
160
|
+
const rl = readline.createInterface({ input: process.stdin, crlfDelay: Infinity });
|
|
161
|
+
|
|
162
|
+
rl.on('line', (line) => {
|
|
163
|
+
const trimmed = line.trim();
|
|
164
|
+
if (!trimmed) return;
|
|
165
|
+
|
|
166
|
+
/** @type {Record<string, unknown>} */
|
|
167
|
+
let cmd;
|
|
168
|
+
try {
|
|
169
|
+
cmd = JSON.parse(trimmed);
|
|
170
|
+
} catch (err) {
|
|
171
|
+
debug(`malformed JSON: ${trimmed}`);
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
try {
|
|
176
|
+
switch (cmd.cmd) {
|
|
177
|
+
case 'spawn':
|
|
178
|
+
handleSpawn(/** @type {Parameters<typeof handleSpawn>[0]} */ (cmd));
|
|
179
|
+
break;
|
|
180
|
+
case 'input':
|
|
181
|
+
handleInput(/** @type {Parameters<typeof handleInput>[0]} */ (cmd));
|
|
182
|
+
break;
|
|
183
|
+
case 'resize':
|
|
184
|
+
handleResize(/** @type {Parameters<typeof handleResize>[0]} */ (cmd));
|
|
185
|
+
break;
|
|
186
|
+
case 'kill':
|
|
187
|
+
handleKill(/** @type {Parameters<typeof handleKill>[0]} */ (cmd));
|
|
188
|
+
break;
|
|
189
|
+
default:
|
|
190
|
+
debug(`unknown command: ${String(cmd.cmd)}`);
|
|
191
|
+
}
|
|
192
|
+
} catch (err) {
|
|
193
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
194
|
+
debug(`error handling command: ${message}`);
|
|
195
|
+
if (cmd && cmd.id != null) {
|
|
196
|
+
emit({ id: cmd.id, event: 'error', message });
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
|
|
201
|
+
// When the host closes stdin the bridge shuts down cleanly.
|
|
202
|
+
rl.on('close', () => {
|
|
203
|
+
debug('stdin closed — shutting down');
|
|
204
|
+
disposeAll();
|
|
205
|
+
process.exit(0);
|
|
206
|
+
});
|
|
207
|
+
|
|
208
|
+
// ── Signal handling ──────────────────────────────────────────────────────────
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @param signal
|
|
213
|
+
* @example
|
|
214
|
+
*/
|
|
215
|
+
function shutdown(signal) {
|
|
216
|
+
debug(`received ${signal} — shutting down`);
|
|
217
|
+
disposeAll();
|
|
218
|
+
process.exit(0);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
process.on('SIGTERM', () => shutdown('SIGTERM'));
|
|
222
|
+
process.on('SIGINT', () => shutdown('SIGINT'));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as CODE_EXECUTION_DEFAULT_MAX_PROGRAM_FILES, c as CODE_EXECUTION_DEFAULT_MAX_SOURCE_BYTES, d as PiscinaCodeExecutionProviderOptions, i as CODE_EXECUTION_DEFAULT_MAX_INVOCATIONS_PER_WORKER, n as CODE_EXECUTION_DEFAULT_MAX_ARGUMENT_BYTES, o as CODE_EXECUTION_DEFAULT_MAX_QUEUED_INVOCATIONS, r as CODE_EXECUTION_DEFAULT_MAX_CONCURRENCY, s as CODE_EXECUTION_DEFAULT_MAX_RESULT_BYTES, t as CODE_EXECUTION_DEFAULT_IDLE_TIMEOUT_MS } from "../../types-
|
|
2
|
-
import { t as PiscinaCodeExecutionProvider } from "../../index-
|
|
1
|
+
import { a as CODE_EXECUTION_DEFAULT_MAX_PROGRAM_FILES, c as CODE_EXECUTION_DEFAULT_MAX_SOURCE_BYTES, d as PiscinaCodeExecutionProviderOptions, i as CODE_EXECUTION_DEFAULT_MAX_INVOCATIONS_PER_WORKER, n as CODE_EXECUTION_DEFAULT_MAX_ARGUMENT_BYTES, o as CODE_EXECUTION_DEFAULT_MAX_QUEUED_INVOCATIONS, r as CODE_EXECUTION_DEFAULT_MAX_CONCURRENCY, s as CODE_EXECUTION_DEFAULT_MAX_RESULT_BYTES, t as CODE_EXECUTION_DEFAULT_IDLE_TIMEOUT_MS } from "../../types-CqVuKsLC.mjs";
|
|
2
|
+
import { t as PiscinaCodeExecutionProvider } from "../../index-BfFi98B_.mjs";
|
|
3
3
|
export { CODE_EXECUTION_DEFAULT_IDLE_TIMEOUT_MS, CODE_EXECUTION_DEFAULT_MAX_ARGUMENT_BYTES, CODE_EXECUTION_DEFAULT_MAX_CONCURRENCY, CODE_EXECUTION_DEFAULT_MAX_INVOCATIONS_PER_WORKER, CODE_EXECUTION_DEFAULT_MAX_PROGRAM_FILES, CODE_EXECUTION_DEFAULT_MAX_QUEUED_INVOCATIONS, CODE_EXECUTION_DEFAULT_MAX_RESULT_BYTES, CODE_EXECUTION_DEFAULT_MAX_SOURCE_BYTES, PiscinaCodeExecutionProvider, PiscinaCodeExecutionProviderOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ExtensionNameCollisionError, c as MergedDescriptorDiscovery, d as discoverExtensionTiers, f as enumerateDescriptorPaths, i as ExtensionEntrypointModule, l as deduplicateByDescriptorName, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscovery, r as ExtensionDiscovery, s as FilesystemDescriptorDiscoveryOptions, t as DiscoveredExtension, u as describeSameTierNameCollision } from "../extension-discovery-
|
|
1
|
+
import { a as ExtensionNameCollisionError, c as MergedDescriptorDiscovery, d as discoverExtensionTiers, f as enumerateDescriptorPaths, i as ExtensionEntrypointModule, l as deduplicateByDescriptorName, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscovery, r as ExtensionDiscovery, s as FilesystemDescriptorDiscoveryOptions, t as DiscoveredExtension, u as describeSameTierNameCollision } from "../extension-discovery-BqSPn73R.mjs";
|
|
2
2
|
export { DiscoveredExtension, ExplicitDescriptorDiscovery, ExtensionDiscovery, ExtensionEntrypointModule, ExtensionNameCollisionError, FilesystemDescriptorDiscovery, FilesystemDescriptorDiscoveryOptions, MergedDescriptorDiscovery, deduplicateByDescriptorName, describeSameTierNameCollision, discoverExtensionTiers, enumerateDescriptorPaths };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isWithinDirectory, c as resolveConventionEntrypoint, i as isMakaioExtensionLike, n as entrypointStem, r as isCliContributionLike } from "../load-extensions-
|
|
1
|
+
import { a as isWithinDirectory, c as resolveConventionEntrypoint, i as isMakaioExtensionLike, n as entrypointStem, r as isCliContributionLike } from "../load-extensions-CCzTHlUE.mjs";
|
|
2
2
|
export { entrypointStem, isCliContributionLike, isMakaioExtensionLike, isWithinDirectory, resolveConventionEntrypoint };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,o as t,r as n,s as r,u as i}from"../load-extensions-
|
|
1
|
+
import{i as e,o as t,r as n,s as r,u as i}from"../load-extensions-eyXZhbRn.mjs";export{n as entrypointStem,e as isCliContributionLike,t as isMakaioExtensionLike,r as isWithinDirectory,i as resolveConventionEntrypoint};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { filterConfigDefaultsForLoadedPackages, mergePackageConfigDefaults } from "./boot-config.mjs";
|
|
2
2
|
import { RuntimeSubjects } from "./bus/runtime/namespace.mjs";
|
|
3
3
|
import { NodeClientBinaryStrategyDependencyOptions, createNodeClientBinaryStrategyDependencies } from "./client-binary-strategy-dependencies.mjs";
|
|
4
|
-
import { a as CODE_EXECUTION_DEFAULT_MAX_PROGRAM_FILES, c as CODE_EXECUTION_DEFAULT_MAX_SOURCE_BYTES, d as PiscinaCodeExecutionProviderOptions, i as CODE_EXECUTION_DEFAULT_MAX_INVOCATIONS_PER_WORKER, n as CODE_EXECUTION_DEFAULT_MAX_ARGUMENT_BYTES, o as CODE_EXECUTION_DEFAULT_MAX_QUEUED_INVOCATIONS, r as CODE_EXECUTION_DEFAULT_MAX_CONCURRENCY, s as CODE_EXECUTION_DEFAULT_MAX_RESULT_BYTES, t as CODE_EXECUTION_DEFAULT_IDLE_TIMEOUT_MS } from "../types-
|
|
5
|
-
import { t as PiscinaCodeExecutionProvider } from "../index-
|
|
6
|
-
import { a as ExtensionNameCollisionError, c as MergedDescriptorDiscovery, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscovery, r as ExtensionDiscovery, s as FilesystemDescriptorDiscoveryOptions, t as DiscoveredExtension } from "../extension-discovery-
|
|
7
|
-
import { a as isWithinDirectory, c as resolveConventionEntrypoint, i as isMakaioExtensionLike, n as entrypointStem, o as loadExtensions, r as isCliContributionLike, s as normalizePackageExport, t as LoadExtensionsOptions } from "../load-extensions-
|
|
8
|
-
import { $ as CreateIsolatedWorkflowRuntimeOptions, A as createLocalGitWorkspacePreparation, An as HttpRouteGraphBuilder, B as HeadlessWorkerMaterializer, Bn as PreparedAdapterRuntime, Bt as BootMakaioRuntimeOptions, C as admitWorkflowRunOperation, Cn as selectFrameworkCorePackages, Dn as NodeFrameworkModuleResolver, E as registerWorkerRuntime, En as FrameworkModuleResolver, F as HeadlessWorkerBootstrap, Fn as HonoRouteGraphOptions, Ft as IWorkflowRunner, G as runHeadlessWorkflowWorker, Gt as UpstreamTelemetryBootOptions, H as HeadlessWorkflowWorkerDeps, Hn as prepareAdapterRuntime, Ht as MakaioRuntime, I as HeadlessWorkerBootstrapCredentials, In as createHonoRouteGraph, J as WorkloadControlBinding, K as InstalledWorkloadAdapter, Kt as WorkflowRunnerBootOptions, L as HeadlessWorkerBusConnector, Ln as ActivateAdapterRuntimeIdentityInput, Lt as ThinWorkflowPiscinaRunnerOptions, M as HeadlessWorkerDeps, Mn as HttpContributionPhase, N as HeadlessWorkerResult, Nn as HttpRouteContribution, On as NoopFrameworkModuleResolver, P as runHeadlessWorker, Pn as HonoRouteGraph, Pt as ThinWorkflowPiscinaRunner, Q as SetupProcessGroupObservation, R as HeadlessWorkerContributionLoader, Rn as ActivatedAdapterRuntimeIdentity, Rt as WorkflowRunResult, S as RuntimeRegistrationRefusedError, Sn as normalizeNodeHostCapabilities, T as registerAndAdmitWorkflowRun, Tn as BridgeBrowserOptions, U as HeadlessWorkflowWorkerResult, Ut as ServerTransportProvider, V as HeadlessWorkerPostCommitObserver, Vn as activateAdapterRuntimeIdentity, Vt as CoreBootOptions, Wt as TransportReadyInfo, X as WorkloadInvocationResult, Y as WorkloadInvocationPreparation, Z as runWorkloadInvocation, _ as OperationDeliveryEndpointIdentity, _n as DatabaseBootOptions, a as InstalledAttemptControlEndpoint, an as WorkflowWorkerEntryMode, at as InProcessWorkflowRunner, b as RegisterAndAdmitWorkflowRunOptions, bn as initializeNodeDatabase, bt as submitAttemptOutcomeWithAck, c as BootstrapStartRefusedError, cn as ExtensionOperatorConfigConsumer, d as bootstrapWorkerRuntime, dn as MAX_OPERATOR_CONFIG_BYTES, et as IsolatedWorkflowRuntime, f as AdmitWorkflowRunOperationOptions, fn as createExtensionOperatorConfigSnapshot, ft as AttemptOutcomeDeliveryError, g as OperationDeliveryEndpoint, gn as warnOnUnappliedExtensionOperatorConfig, gt as OutcomeDeliveryError, h as OperationAdmissionRefusedError, hn as warnOnUnaddressableExtensionOperatorConfigNames, i as AttemptControlReportOptions, it as createIsolatedWorkflowRuntime, j as LocalGitSourceOptions, jn as createHttpRouteGraphBuilder, kn as resolveFrameworkSpecifier, l as BootstrapWorkerRuntimeOptions, ln as ExtensionOperatorConfigSnapshot, m as DeliverableOperationKind, mn as resolveExtensionOperatorConfigDir, mt as AuthorityRequestDeliveryError, n as AttemptControlEndpointIdentity, nt as WorkflowRuntimeAuthorityConnector, o as installAttemptControlEndpoint, on as WorkflowWorkerEntryResolverOptions, ot as InProcessWorkflowRunnerOptions, p as AdmittedWorkflowRun, pn as loadExtensionOperatorConfig, q as RunWorkloadInvocationOptions, r as AttemptControlLastReport, rt as WorkflowRuntimeContributionLoader, s as BootstrapRuntimeConnection, sn as resolveWorkflowWorkerEntry, t as AttemptControlEndpointDeps, tt as IsolatedWorkflowRuntimeContext, u as StartedWorkerRuntime, un as LoadExtensionOperatorConfigOptions, v as OperationDeliveryHandler, vn as InitializeNodeDatabaseOptions, w as installOperationDeliveryEndpoint, wn as ShutdownStep, x as RegisterWorkerRuntimeOptions, xn as HostCapabilityDeclaration, y as OperationDeliveryHandlers, yn as InitializeNodeDatabaseResult, z as HeadlessWorkerExecutor, zn as PrepareAdapterRuntimeInput, zt as BootCoordinatorSetupContext } from "../index-
|
|
4
|
+
import { a as CODE_EXECUTION_DEFAULT_MAX_PROGRAM_FILES, c as CODE_EXECUTION_DEFAULT_MAX_SOURCE_BYTES, d as PiscinaCodeExecutionProviderOptions, i as CODE_EXECUTION_DEFAULT_MAX_INVOCATIONS_PER_WORKER, n as CODE_EXECUTION_DEFAULT_MAX_ARGUMENT_BYTES, o as CODE_EXECUTION_DEFAULT_MAX_QUEUED_INVOCATIONS, r as CODE_EXECUTION_DEFAULT_MAX_CONCURRENCY, s as CODE_EXECUTION_DEFAULT_MAX_RESULT_BYTES, t as CODE_EXECUTION_DEFAULT_IDLE_TIMEOUT_MS } from "../types-CqVuKsLC.mjs";
|
|
5
|
+
import { t as PiscinaCodeExecutionProvider } from "../index-BfFi98B_.mjs";
|
|
6
|
+
import { a as ExtensionNameCollisionError, c as MergedDescriptorDiscovery, n as ExplicitDescriptorDiscovery, o as FilesystemDescriptorDiscovery, r as ExtensionDiscovery, s as FilesystemDescriptorDiscoveryOptions, t as DiscoveredExtension } from "../extension-discovery-BqSPn73R.mjs";
|
|
7
|
+
import { a as isWithinDirectory, c as resolveConventionEntrypoint, i as isMakaioExtensionLike, n as entrypointStem, o as loadExtensions, r as isCliContributionLike, s as normalizePackageExport, t as LoadExtensionsOptions } from "../load-extensions-CCzTHlUE.mjs";
|
|
8
|
+
import { $ as CreateIsolatedWorkflowRuntimeOptions, A as createLocalGitWorkspacePreparation, An as HttpRouteGraphBuilder, B as HeadlessWorkerMaterializer, Bn as PreparedAdapterRuntime, Bt as BootMakaioRuntimeOptions, C as admitWorkflowRunOperation, Cn as selectFrameworkCorePackages, Dn as NodeFrameworkModuleResolver, E as registerWorkerRuntime, En as FrameworkModuleResolver, F as HeadlessWorkerBootstrap, Fn as HonoRouteGraphOptions, Ft as IWorkflowRunner, G as runHeadlessWorkflowWorker, Gt as UpstreamTelemetryBootOptions, H as HeadlessWorkflowWorkerDeps, Hn as prepareAdapterRuntime, Ht as MakaioRuntime, I as HeadlessWorkerBootstrapCredentials, In as createHonoRouteGraph, J as WorkloadControlBinding, K as InstalledWorkloadAdapter, Kt as WorkflowRunnerBootOptions, L as HeadlessWorkerBusConnector, Ln as ActivateAdapterRuntimeIdentityInput, Lt as ThinWorkflowPiscinaRunnerOptions, M as HeadlessWorkerDeps, Mn as HttpContributionPhase, N as HeadlessWorkerResult, Nn as HttpRouteContribution, On as NoopFrameworkModuleResolver, P as runHeadlessWorker, Pn as HonoRouteGraph, Pt as ThinWorkflowPiscinaRunner, Q as SetupProcessGroupObservation, R as HeadlessWorkerContributionLoader, Rn as ActivatedAdapterRuntimeIdentity, Rt as WorkflowRunResult, S as RuntimeRegistrationRefusedError, Sn as normalizeNodeHostCapabilities, T as registerAndAdmitWorkflowRun, Tn as BridgeBrowserOptions, U as HeadlessWorkflowWorkerResult, Ut as ServerTransportProvider, V as HeadlessWorkerPostCommitObserver, Vn as activateAdapterRuntimeIdentity, Vt as CoreBootOptions, Wt as TransportReadyInfo, X as WorkloadInvocationResult, Y as WorkloadInvocationPreparation, Z as runWorkloadInvocation, _ as OperationDeliveryEndpointIdentity, _n as DatabaseBootOptions, a as InstalledAttemptControlEndpoint, an as WorkflowWorkerEntryMode, at as InProcessWorkflowRunner, b as RegisterAndAdmitWorkflowRunOptions, bn as initializeNodeDatabase, bt as submitAttemptOutcomeWithAck, c as BootstrapStartRefusedError, cn as ExtensionOperatorConfigConsumer, d as bootstrapWorkerRuntime, dn as MAX_OPERATOR_CONFIG_BYTES, et as IsolatedWorkflowRuntime, f as AdmitWorkflowRunOperationOptions, fn as createExtensionOperatorConfigSnapshot, ft as AttemptOutcomeDeliveryError, g as OperationDeliveryEndpoint, gn as warnOnUnappliedExtensionOperatorConfig, gt as OutcomeDeliveryError, h as OperationAdmissionRefusedError, hn as warnOnUnaddressableExtensionOperatorConfigNames, i as AttemptControlReportOptions, it as createIsolatedWorkflowRuntime, j as LocalGitSourceOptions, jn as createHttpRouteGraphBuilder, kn as resolveFrameworkSpecifier, l as BootstrapWorkerRuntimeOptions, ln as ExtensionOperatorConfigSnapshot, m as DeliverableOperationKind, mn as resolveExtensionOperatorConfigDir, mt as AuthorityRequestDeliveryError, n as AttemptControlEndpointIdentity, nt as WorkflowRuntimeAuthorityConnector, o as installAttemptControlEndpoint, on as WorkflowWorkerEntryResolverOptions, ot as InProcessWorkflowRunnerOptions, p as AdmittedWorkflowRun, pn as loadExtensionOperatorConfig, q as RunWorkloadInvocationOptions, r as AttemptControlLastReport, rt as WorkflowRuntimeContributionLoader, s as BootstrapRuntimeConnection, sn as resolveWorkflowWorkerEntry, t as AttemptControlEndpointDeps, tt as IsolatedWorkflowRuntimeContext, u as StartedWorkerRuntime, un as LoadExtensionOperatorConfigOptions, v as OperationDeliveryHandler, vn as InitializeNodeDatabaseOptions, w as installOperationDeliveryEndpoint, wn as ShutdownStep, x as RegisterWorkerRuntimeOptions, xn as HostCapabilityDeclaration, y as OperationDeliveryHandlers, yn as InitializeNodeDatabaseResult, z as HeadlessWorkerExecutor, zn as PrepareAdapterRuntimeInput, zt as BootCoordinatorSetupContext } from "../index-D9hIDsPr.mjs";
|
|
9
9
|
import { ConfiguredRuntimeOptions, LoadMakaioConfigOptions, LoadedMakaioConfig, MAKAIO_CONFIG_FILE_ENV, MAKAIO_HOME_ENV, MakaioConfig, ParseMakaioConfigOptions, ParsedMakaioConfig, WorkflowRunnerConfig, buildConfiguredRuntimeOptions, createMakaioConfigDiscovery, defineMakaioConfig, loadMakaioConfig, parseMakaioConfig, resolveMakaioConfigPath, resolveMakaioHome, shouldIncludeExtension } from "./makaio-config.mjs";
|
|
10
10
|
import { RotateWorkflowExecutionBusSecretParams, captureWorkflowExecutionBusSecretCleanup } from "./workflow-execution-bus-access.mjs";
|
|
11
11
|
import { z } from "zod";
|