@skaile/workspaces 5.1.2 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-EVS3WPWS.js → asset-feeds-WDIB3E6H.js} +11 -11
- package/dist/{asset-feeds-EVS3WPWS.js.map → asset-feeds-WDIB3E6H.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +8 -8
- package/dist/asset-manager/index.js +12 -12
- package/dist/asset-manager/installer.js +8 -8
- package/dist/asset-manager/src/index.d.ts +27 -1
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +110 -23
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +11 -10
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +10 -10
- package/dist/bridge/drivers/echo.js +3 -3
- package/dist/bridge/drivers/gemini.js +5 -5
- package/dist/bridge/drivers/goose.js +10 -10
- package/dist/bridge/drivers/omp.js +6 -5
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +10 -10
- package/dist/bridge/drivers/qwen.js +5 -5
- package/dist/bridge/index.js +13 -13
- package/dist/bridge/src/driver-capabilities.d.ts +66 -0
- package/dist/bridge/src/driver-capabilities.d.ts.map +1 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts +16 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/codex.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
- package/dist/bridge/src/index.d.ts +1 -0
- package/dist/bridge/src/index.d.ts.map +1 -1
- package/dist/bridge/src/registry.d.ts.map +1 -1
- package/dist/{chunk-CJB5HUY6.js → chunk-2MEMXBLC.js} +8 -7
- package/dist/chunk-2MEMXBLC.js.map +1 -0
- package/dist/{chunk-TVOODIZE.js → chunk-2QZG5VJQ.js} +3 -3
- package/dist/{chunk-TVOODIZE.js.map → chunk-2QZG5VJQ.js.map} +1 -1
- package/dist/{chunk-7SAWDPUT.js → chunk-37GBJLF5.js} +5 -55
- package/dist/chunk-37GBJLF5.js.map +1 -0
- package/dist/{chunk-RDTHJSGY.js → chunk-3E2TIPBZ.js} +56 -7
- package/dist/chunk-3E2TIPBZ.js.map +1 -0
- package/dist/{chunk-H4EGUQ7M.js → chunk-4YE7OYTB.js} +5 -5
- package/dist/chunk-4YE7OYTB.js.map +1 -0
- package/dist/{chunk-K5GBV4SA.js → chunk-5BEFNLOR.js} +6 -5
- package/dist/chunk-5BEFNLOR.js.map +1 -0
- package/dist/{chunk-UO5CWEHZ.js → chunk-6OWIEFZ2.js} +5 -5
- package/dist/{chunk-UO5CWEHZ.js.map → chunk-6OWIEFZ2.js.map} +1 -1
- package/dist/{chunk-EPHQWHOH.js → chunk-6ZCVROWW.js} +6 -6
- package/dist/{chunk-EPHQWHOH.js.map → chunk-6ZCVROWW.js.map} +1 -1
- package/dist/{chunk-TB6GDL6Q.js → chunk-77GKEZ2R.js} +21 -4
- package/dist/chunk-77GKEZ2R.js.map +1 -0
- package/dist/{chunk-TYUJB336.js → chunk-7Y43UXKA.js} +3 -3
- package/dist/{chunk-TYUJB336.js.map → chunk-7Y43UXKA.js.map} +1 -1
- package/dist/{chunk-YV4J7V53.js → chunk-ANWHAGM7.js} +3 -3
- package/dist/{chunk-YV4J7V53.js.map → chunk-ANWHAGM7.js.map} +1 -1
- package/dist/{chunk-SP47UJKE.js → chunk-B4J4RGNY.js} +231 -114
- package/dist/chunk-B4J4RGNY.js.map +1 -0
- package/dist/{chunk-IWCCZL7C.js → chunk-BIMEKYOE.js} +91 -25
- package/dist/chunk-BIMEKYOE.js.map +1 -0
- package/dist/{chunk-WCQMXBO5.js → chunk-BJQUSAGB.js} +4 -4
- package/dist/{chunk-WCQMXBO5.js.map → chunk-BJQUSAGB.js.map} +1 -1
- package/dist/{chunk-RDYI4MML.js → chunk-BNUZEYC3.js} +3 -3
- package/dist/{chunk-RDYI4MML.js.map → chunk-BNUZEYC3.js.map} +1 -1
- package/dist/{chunk-P5UQ56RA.js → chunk-BUNBKRJZ.js} +3 -3
- package/dist/{chunk-P5UQ56RA.js.map → chunk-BUNBKRJZ.js.map} +1 -1
- package/dist/{chunk-KDH74UWB.js → chunk-BWOLP6KQ.js} +3 -3
- package/dist/{chunk-KDH74UWB.js.map → chunk-BWOLP6KQ.js.map} +1 -1
- package/dist/chunk-BZXR6SW5.js +15 -0
- package/dist/{chunk-XUQBVK4R.js.map → chunk-BZXR6SW5.js.map} +1 -1
- package/dist/{chunk-ZMMFBID4.js → chunk-DD3OZLRD.js} +3 -3
- package/dist/{chunk-ZMMFBID4.js.map → chunk-DD3OZLRD.js.map} +1 -1
- package/dist/{chunk-56IWSMSD.js → chunk-EOGNW74K.js} +9 -8
- package/dist/chunk-EOGNW74K.js.map +1 -0
- package/dist/{chunk-RNNUYFFD.js → chunk-FJTC5YFO.js} +3 -3
- package/dist/{chunk-RNNUYFFD.js.map → chunk-FJTC5YFO.js.map} +1 -1
- package/dist/{chunk-THPQ6J3U.js → chunk-IOUIC2ZD.js} +8 -8
- package/dist/{chunk-THPQ6J3U.js.map → chunk-IOUIC2ZD.js.map} +1 -1
- package/dist/{chunk-YMOZC2D3.js → chunk-JPR7EPIM.js} +4 -4
- package/dist/{chunk-YMOZC2D3.js.map → chunk-JPR7EPIM.js.map} +1 -1
- package/dist/{chunk-IDEA6CYI.js → chunk-K2K7OF4P.js} +95 -3
- package/dist/chunk-K2K7OF4P.js.map +1 -0
- package/dist/{chunk-AGWYBS2E.js → chunk-KGGT6MUM.js} +4 -4
- package/dist/{chunk-AGWYBS2E.js.map → chunk-KGGT6MUM.js.map} +1 -1
- package/dist/{chunk-YJACHPI7.js → chunk-L257BENF.js} +73 -54
- package/dist/chunk-L257BENF.js.map +1 -0
- package/dist/{chunk-UVOJSWD2.js → chunk-LZ5RH6LD.js} +24 -13
- package/dist/chunk-LZ5RH6LD.js.map +1 -0
- package/dist/{chunk-N2X7DK2S.js → chunk-MGHUSFYQ.js} +2472 -2265
- package/dist/chunk-MGHUSFYQ.js.map +1 -0
- package/dist/{chunk-43ZBF3WH.js → chunk-OABIGSUY.js} +16 -3
- package/dist/chunk-OABIGSUY.js.map +1 -0
- package/dist/{chunk-YIVB7GIP.js → chunk-OFNXRI4L.js} +4 -4
- package/dist/{chunk-YIVB7GIP.js.map → chunk-OFNXRI4L.js.map} +1 -1
- package/dist/{chunk-MXXKTQXJ.js → chunk-P2EM6FNQ.js} +5 -5
- package/dist/{chunk-MXXKTQXJ.js.map → chunk-P2EM6FNQ.js.map} +1 -1
- package/dist/{chunk-KAYH6AXN.js → chunk-PHKFFJ4I.js} +3 -3
- package/dist/{chunk-KAYH6AXN.js.map → chunk-PHKFFJ4I.js.map} +1 -1
- package/dist/{chunk-YDJZRLGN.js → chunk-PU5VY7KF.js} +4 -4
- package/dist/{chunk-YDJZRLGN.js.map → chunk-PU5VY7KF.js.map} +1 -1
- package/dist/{chunk-KC3OF6B2.js → chunk-QMWMSZQ4.js} +3 -3
- package/dist/{chunk-KC3OF6B2.js.map → chunk-QMWMSZQ4.js.map} +1 -1
- package/dist/{chunk-52PFJLBJ.js → chunk-R3QW7CA5.js} +5 -5
- package/dist/{chunk-52PFJLBJ.js.map → chunk-R3QW7CA5.js.map} +1 -1
- package/dist/{chunk-UMSWQKCY.js → chunk-RXPC4KBW.js} +3 -3
- package/dist/{chunk-UMSWQKCY.js.map → chunk-RXPC4KBW.js.map} +1 -1
- package/dist/{chunk-X6IELFVB.js → chunk-S6KNDUAU.js} +4 -4
- package/dist/{chunk-X6IELFVB.js.map → chunk-S6KNDUAU.js.map} +1 -1
- package/dist/{chunk-6CSSFLGC.js → chunk-TVJBJLXR.js} +14 -15
- package/dist/chunk-TVJBJLXR.js.map +1 -0
- package/dist/{chunk-WKIOWDLQ.js → chunk-UDBN3LZU.js} +4 -4
- package/dist/{chunk-WKIOWDLQ.js.map → chunk-UDBN3LZU.js.map} +1 -1
- package/dist/{chunk-E67J56FJ.js → chunk-WMEPS6S4.js} +3 -3
- package/dist/{chunk-E67J56FJ.js.map → chunk-WMEPS6S4.js.map} +1 -1
- package/dist/{chunk-CXGHL75R.js → chunk-XIYXBHLN.js} +5 -4
- package/dist/chunk-XIYXBHLN.js.map +1 -0
- package/dist/{chunk-VDJKWKH2.js → chunk-XOTJVCJB.js} +3 -3
- package/dist/{chunk-VDJKWKH2.js.map → chunk-XOTJVCJB.js.map} +1 -1
- package/dist/{chunk-DXUQCMVT.js → chunk-YANDJSMN.js} +3 -3
- package/dist/{chunk-DXUQCMVT.js.map → chunk-YANDJSMN.js.map} +1 -1
- package/dist/{chunk-AG44ZJ7W.js → chunk-YRF5CYHR.js} +5 -14
- package/dist/chunk-YRF5CYHR.js.map +1 -0
- package/dist/{chunk-VFAJZE45.js → chunk-ZSFTCMZL.js} +907 -785
- package/dist/chunk-ZSFTCMZL.js.map +1 -0
- package/dist/cli/index.js +506 -434
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/config.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/skailify-lib.d.ts +0 -45
- package/dist/cli/src/commands/skailify-lib.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/flow-discovery.d.ts +9 -0
- package/dist/cli/src/flow-discovery.d.ts.map +1 -1
- package/dist/cli/src/helpers.d.ts +13 -0
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/setup.d.ts.map +1 -1
- package/dist/connectors/config.js +5 -5
- package/dist/connectors/index.js +17 -17
- package/dist/connectors/src/connector-manager.d.ts +8 -27
- package/dist/connectors/src/connector-manager.d.ts.map +1 -1
- package/dist/connectors/src/index.d.ts +1 -1
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/connectors/src/mount-ledger.d.ts +61 -0
- package/dist/connectors/src/mount-ledger.d.ts.map +1 -0
- package/dist/{connectors-KSVPVYCA.js → connectors-GUN4MRWR.js} +20 -20
- package/dist/{connectors-KSVPVYCA.js.map → connectors-GUN4MRWR.js.map} +1 -1
- package/dist/connectors-shared/index.js +2 -2
- package/dist/core/framework.js +1 -1
- package/dist/core/index.js +7 -7
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/publish-manifest.js +2 -2
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +5 -5
- package/dist/core/src/framework.d.ts +7 -0
- package/dist/core/src/framework.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +4 -4
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/lock.d.ts +12 -0
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/manifest-yaml-editor.d.ts +14 -6
- package/dist/core/src/manifest-yaml-editor.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +15 -0
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/publish-manifest.d.ts +4 -6
- package/dist/core/src/publish-manifest.d.ts.map +1 -1
- package/dist/core/src/settings.d.ts.map +1 -1
- package/dist/core/workspace-config.js +4 -4
- package/dist/deploy/index.js +7 -7
- package/dist/discovery/index.js +4 -4
- package/dist/discovery/src/discover-manifest.d.ts +5 -0
- package/dist/discovery/src/discover-manifest.d.ts.map +1 -1
- package/dist/discovery/src/index.d.ts +1 -1
- package/dist/discovery/src/index.d.ts.map +1 -1
- package/dist/{ensure-sources-KVV72WRP.js → ensure-sources-VCPA762L.js} +15 -15
- package/dist/{ensure-sources-KVV72WRP.js.map → ensure-sources-VCPA762L.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +17 -17
- package/dist/factory-assets/connectors/deploy.js +17 -17
- package/dist/factory-assets/connectors/devserver.js +17 -17
- package/dist/factory-assets/connectors/flow/adapter.d.ts +28 -4
- package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/adapter.js +17 -17
- package/dist/factory-assets/connectors/flow/engine.js +8 -8
- package/dist/factory-assets/connectors/flow/index.d.ts +1 -1
- package/dist/factory-assets/connectors/flow/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +19 -19
- package/dist/factory-assets/connectors/flow.js +17 -17
- package/dist/factory-assets/connectors/git/checkout.d.ts +161 -0
- package/dist/factory-assets/connectors/git/checkout.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/config.d.ts +78 -0
- package/dist/factory-assets/connectors/git/config.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/credentials.d.ts +93 -0
- package/dist/factory-assets/connectors/git/credentials.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/driver.d.ts +39 -598
- package/dist/factory-assets/connectors/git/driver.d.ts.map +1 -1
- package/dist/factory-assets/connectors/git/exec.d.ts +177 -0
- package/dist/factory-assets/connectors/git/exec.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/inspect.d.ts +120 -0
- package/dist/factory-assets/connectors/git/inspect.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/lifecycle.d.ts +107 -0
- package/dist/factory-assets/connectors/git/lifecycle.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/repo.d.ts +496 -0
- package/dist/factory-assets/connectors/git/repo.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git.js +17 -17
- package/dist/factory-assets/connectors/gmail.js +17 -17
- package/dist/factory-assets/connectors/googledrive.js +17 -17
- package/dist/factory-assets/connectors/local.js +17 -17
- package/dist/factory-assets/connectors/mattermost.js +17 -17
- package/dist/factory-assets/connectors/memory.js +17 -17
- package/dist/factory-assets/connectors/minio.js +17 -17
- package/dist/factory-assets/connectors/postgres.js +17 -17
- package/dist/factory-assets/connectors/s3.js +17 -17
- package/dist/factory-assets/connectors/sharepoint.js +17 -17
- package/dist/factory-assets/connectors/sqlite.js +17 -17
- package/dist/factory-assets/connectors/static-server.js +17 -17
- package/dist/factory-assets/connectors/tunnel.js +17 -17
- package/dist/factory-assets/connectors/webdav.js +17 -17
- package/dist/factory-assets/connectors/xstate-store.js +17 -17
- package/dist/factory-assets/connectors/xstate.js +17 -17
- package/dist/{flows-SVCCADGE.js → flows-BOB5YA5R.js} +12 -12
- package/dist/{flows-SVCCADGE.js.map → flows-BOB5YA5R.js.map} +1 -1
- package/dist/{helpers-4NT7UX6I.js → helpers-ZGK4R5MZ.js} +15 -15
- package/dist/{helpers-4NT7UX6I.js.map → helpers-ZGK4R5MZ.js.map} +1 -1
- package/dist/library/index.js +10 -10
- package/dist/library/install.js +2 -2
- package/dist/library/src/index.d.ts +6 -3
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/install/install-from-manifest.d.ts +21 -0
- package/dist/library/src/install/install-from-manifest.d.ts.map +1 -1
- package/dist/library/src/local/install-library-asset.d.ts +64 -0
- package/dist/library/src/local/install-library-asset.d.ts.map +1 -0
- package/dist/library/src/local/local-catalog-source.d.ts +30 -0
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/local/store-paths.d.ts +6 -0
- package/dist/library/src/local/store-paths.d.ts.map +1 -1
- package/dist/library/src/manifest-writer.d.ts +73 -0
- package/dist/library/src/manifest-writer.d.ts.map +1 -0
- package/dist/library/src/sync/manifest-writeback.d.ts +2 -17
- package/dist/library/src/sync/manifest-writeback.d.ts.map +1 -1
- package/dist/{library-publish-GHIWWEEY.js → library-publish-RIP6NBYA.js} +20 -21
- package/dist/library-publish-RIP6NBYA.js.map +1 -0
- package/dist/{open-library-XKWTUYU2.js → open-library-4IJTBVTR.js} +18 -18
- package/dist/{open-library-XKWTUYU2.js.map → open-library-4IJTBVTR.js.map} +1 -1
- package/dist/{open-registry-CHCWKV5W.js → open-registry-G5DI4RPU.js} +14 -14
- package/dist/{open-registry-CHCWKV5W.js.map → open-registry-G5DI4RPU.js.map} +1 -1
- package/dist/paths-L5XLUC3D.js +22 -0
- package/dist/{paths-MKSI52PF.js.map → paths-L5XLUC3D.js.map} +1 -1
- package/dist/plugin-registry/src/targets.d.ts +3 -1
- package/dist/plugin-registry/src/targets.d.ts.map +1 -1
- package/dist/{plugin-store-SVYV7L4C.js → plugin-store-QENDYZ63.js} +9 -9
- package/dist/{plugin-store-SVYV7L4C.js.map → plugin-store-QENDYZ63.js.map} +1 -1
- package/dist/{project-P2QS3GNG.js → project-4INCIIZI.js} +16 -16
- package/dist/{project-P2QS3GNG.js.map → project-4INCIIZI.js.map} +1 -1
- package/dist/resolver/index.js +8 -8
- package/dist/runner/index.js +27 -27
- package/dist/runner/src/agent.d.ts +1 -1
- package/dist/runner/src/agent.d.ts.map +1 -1
- package/dist/runner/src/ai-provider-switch.d.ts +10 -0
- package/dist/runner/src/ai-provider-switch.d.ts.map +1 -1
- package/dist/runner/src/codex-init.d.ts.map +1 -1
- package/dist/runner/src/compaction-gate.d.ts +9 -33
- package/dist/runner/src/compaction-gate.d.ts.map +1 -1
- package/dist/runner/src/managed-codex-bootstrap.d.ts.map +1 -1
- package/dist/runner/src/pending-turns.d.ts +7 -2
- package/dist/runner/src/pending-turns.d.ts.map +1 -1
- package/dist/runner/src/resources.d.ts +2 -2
- package/dist/runner/src/resources.d.ts.map +1 -1
- package/dist/runner/src/serve-credentials.d.ts +2 -1
- package/dist/runner/src/serve-credentials.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts +19 -35
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts.map +1 -1
- package/dist/runner/src/turn-scheduler.d.ts +158 -0
- package/dist/runner/src/turn-scheduler.d.ts.map +1 -0
- package/dist/sdk/asset-manager.js +12 -12
- package/dist/sdk/bridge.js +13 -13
- package/dist/sdk/core.js +7 -7
- package/dist/sdk/flow.js +8 -8
- package/dist/sdk/index.js +27 -27
- package/dist/sdk/resolver.js +8 -8
- package/dist/sdk/runner.js +27 -27
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/types.js +1 -1
- package/dist/session/index.js +2 -2
- package/dist/session/src/dispatcher.d.ts.map +1 -1
- package/dist/{setup-RVP74D37.js → setup-RG4PJJUW.js} +23 -23
- package/dist/setup-RG4PJJUW.js.map +1 -0
- package/dist/{skills-7K2YO3KN.js → skills-CL45F7AG.js} +13 -13
- package/dist/{skills-7K2YO3KN.js.map → skills-CL45F7AG.js.map} +1 -1
- package/dist/{source-VBROLEFB.js → source-LJOI5AXU.js} +19 -19
- package/dist/{source-VBROLEFB.js.map → source-LJOI5AXU.js.map} +1 -1
- package/dist/{source-manifest-publish-7XDLJRLX.js → source-manifest-publish-QEJML4VS.js} +21 -21
- package/dist/{source-manifest-publish-7XDLJRLX.js.map → source-manifest-publish-QEJML4VS.js.map} +1 -1
- package/dist/tui/index.js +28 -28
- package/dist/tui/index.js.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/src/delivery.d.ts +26 -0
- package/dist/types/src/delivery.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +3 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/runtime.d.ts +51 -0
- package/dist/types/src/runtime.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +24 -24
- package/dist/workspace-plugin/adapters/omp.js +18 -17
- package/dist/workspace-plugin/adapters/omp.js.map +1 -1
- package/dist/workspace-plugin/index.js +2 -1
- package/dist/workspace-plugin/src/adapters/mcp.d.ts.map +1 -1
- package/dist/workspace-plugin/src/adapters/omp.d.ts.map +1 -1
- package/dist/workspace-plugin/src/plugin.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-43ZBF3WH.js.map +0 -1
- package/dist/chunk-56IWSMSD.js.map +0 -1
- package/dist/chunk-6CSSFLGC.js.map +0 -1
- package/dist/chunk-7SAWDPUT.js.map +0 -1
- package/dist/chunk-AG44ZJ7W.js.map +0 -1
- package/dist/chunk-CJB5HUY6.js.map +0 -1
- package/dist/chunk-CXGHL75R.js.map +0 -1
- package/dist/chunk-F7JHP7JV.js +0 -122
- package/dist/chunk-F7JHP7JV.js.map +0 -1
- package/dist/chunk-H4EGUQ7M.js.map +0 -1
- package/dist/chunk-IDEA6CYI.js.map +0 -1
- package/dist/chunk-IWCCZL7C.js.map +0 -1
- package/dist/chunk-K5GBV4SA.js.map +0 -1
- package/dist/chunk-N2X7DK2S.js.map +0 -1
- package/dist/chunk-RDTHJSGY.js.map +0 -1
- package/dist/chunk-SP47UJKE.js.map +0 -1
- package/dist/chunk-TB6GDL6Q.js.map +0 -1
- package/dist/chunk-UVOJSWD2.js.map +0 -1
- package/dist/chunk-VFAJZE45.js.map +0 -1
- package/dist/chunk-XUQBVK4R.js +0 -15
- package/dist/chunk-YJACHPI7.js.map +0 -1
- package/dist/library-publish-GHIWWEEY.js.map +0 -1
- package/dist/paths-MKSI52PF.js +0 -22
- package/dist/runner/src/flow-turn-dispatch.d.ts +0 -41
- package/dist/runner/src/flow-turn-dispatch.d.ts.map +0 -1
- package/dist/runner/src/reply-routing.d.ts +0 -54
- package/dist/runner/src/reply-routing.d.ts.map +0 -1
- package/dist/setup-RVP74D37.js.map +0 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export { BoxConnector, createConnector4 as createConnector } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
export { BoxConnector, createConnector4 as createConnector } from '../../chunk-MGHUSFYQ.js';
|
|
2
|
+
import '../../chunk-QMWMSZQ4.js';
|
|
3
|
+
import '../../chunk-UDBN3LZU.js';
|
|
4
|
+
import '../../chunk-OFNXRI4L.js';
|
|
5
|
+
import '../../chunk-2QZG5VJQ.js';
|
|
6
6
|
import '../../chunk-EINLFFP6.js';
|
|
7
7
|
import '../../chunk-LOO5CB5M.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-BNUZEYC3.js';
|
|
9
|
+
import '../../chunk-BUNBKRJZ.js';
|
|
10
10
|
import '../../chunk-XBSQ4KMC.js';
|
|
11
11
|
import '../../chunk-YROR332M.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-3E2TIPBZ.js';
|
|
13
13
|
import '../../chunk-6E6PKKAD.js';
|
|
14
14
|
import '../../chunk-IFGTRL2I.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-RXPC4KBW.js';
|
|
16
16
|
import '../../chunk-37FTLYFP.js';
|
|
17
17
|
import '../../chunk-QZLWJETK.js';
|
|
18
18
|
import '../../chunk-XUUYAS3Z.js';
|
|
19
19
|
import '../../chunk-NFGRW3L7.js';
|
|
20
20
|
import '../../chunk-QCI6D7E4.js';
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-K2K7OF4P.js';
|
|
22
|
+
import '../../chunk-BIMEKYOE.js';
|
|
23
23
|
import '../../chunk-4GY63JU6.js';
|
|
24
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-PU5VY7KF.js';
|
|
25
25
|
import '../../chunk-U6K3I3AX.js';
|
|
26
|
-
import '../../chunk-
|
|
26
|
+
import '../../chunk-5BEFNLOR.js';
|
|
27
27
|
import '../../chunk-A2ULN3KX.js';
|
|
28
|
-
import '../../chunk-
|
|
28
|
+
import '../../chunk-P2EM6FNQ.js';
|
|
29
29
|
import '../../chunk-TLKM4M47.js';
|
|
30
30
|
import '../../chunk-TOSHZX4C.js';
|
|
31
|
-
import '../../chunk-
|
|
31
|
+
import '../../chunk-YRF5CYHR.js';
|
|
32
32
|
import '../../chunk-RVRB27AN.js';
|
|
33
|
-
import '../../chunk-
|
|
34
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-YANDJSMN.js';
|
|
34
|
+
import '../../chunk-OABIGSUY.js';
|
|
35
35
|
import '../../chunk-ICSCSM5D.js';
|
|
36
36
|
import '../../chunk-JMKB7IB4.js';
|
|
37
37
|
import '../../chunk-MJHSLODD.js';
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export { DeployConnector, createConnector2 as createConnector } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
export { DeployConnector, createConnector2 as createConnector } from '../../chunk-MGHUSFYQ.js';
|
|
2
|
+
import '../../chunk-QMWMSZQ4.js';
|
|
3
|
+
import '../../chunk-UDBN3LZU.js';
|
|
4
|
+
import '../../chunk-OFNXRI4L.js';
|
|
5
|
+
import '../../chunk-2QZG5VJQ.js';
|
|
6
6
|
import '../../chunk-EINLFFP6.js';
|
|
7
7
|
import '../../chunk-LOO5CB5M.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-BNUZEYC3.js';
|
|
9
|
+
import '../../chunk-BUNBKRJZ.js';
|
|
10
10
|
import '../../chunk-XBSQ4KMC.js';
|
|
11
11
|
import '../../chunk-YROR332M.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-3E2TIPBZ.js';
|
|
13
13
|
import '../../chunk-6E6PKKAD.js';
|
|
14
14
|
import '../../chunk-IFGTRL2I.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-RXPC4KBW.js';
|
|
16
16
|
import '../../chunk-37FTLYFP.js';
|
|
17
17
|
import '../../chunk-QZLWJETK.js';
|
|
18
18
|
import '../../chunk-XUUYAS3Z.js';
|
|
19
19
|
import '../../chunk-NFGRW3L7.js';
|
|
20
20
|
import '../../chunk-QCI6D7E4.js';
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-K2K7OF4P.js';
|
|
22
|
+
import '../../chunk-BIMEKYOE.js';
|
|
23
23
|
import '../../chunk-4GY63JU6.js';
|
|
24
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-PU5VY7KF.js';
|
|
25
25
|
import '../../chunk-U6K3I3AX.js';
|
|
26
|
-
import '../../chunk-
|
|
26
|
+
import '../../chunk-5BEFNLOR.js';
|
|
27
27
|
import '../../chunk-A2ULN3KX.js';
|
|
28
|
-
import '../../chunk-
|
|
28
|
+
import '../../chunk-P2EM6FNQ.js';
|
|
29
29
|
import '../../chunk-TLKM4M47.js';
|
|
30
30
|
import '../../chunk-TOSHZX4C.js';
|
|
31
|
-
import '../../chunk-
|
|
31
|
+
import '../../chunk-YRF5CYHR.js';
|
|
32
32
|
import '../../chunk-RVRB27AN.js';
|
|
33
|
-
import '../../chunk-
|
|
34
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-YANDJSMN.js';
|
|
34
|
+
import '../../chunk-OABIGSUY.js';
|
|
35
35
|
import '../../chunk-ICSCSM5D.js';
|
|
36
36
|
import '../../chunk-JMKB7IB4.js';
|
|
37
37
|
import '../../chunk-MJHSLODD.js';
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export { DevServerConnector, createConnector3 as createConnector } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
export { DevServerConnector, createConnector3 as createConnector } from '../../chunk-MGHUSFYQ.js';
|
|
2
|
+
import '../../chunk-QMWMSZQ4.js';
|
|
3
|
+
import '../../chunk-UDBN3LZU.js';
|
|
4
|
+
import '../../chunk-OFNXRI4L.js';
|
|
5
|
+
import '../../chunk-2QZG5VJQ.js';
|
|
6
6
|
import '../../chunk-EINLFFP6.js';
|
|
7
7
|
import '../../chunk-LOO5CB5M.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-BNUZEYC3.js';
|
|
9
|
+
import '../../chunk-BUNBKRJZ.js';
|
|
10
10
|
import '../../chunk-XBSQ4KMC.js';
|
|
11
11
|
import '../../chunk-YROR332M.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-3E2TIPBZ.js';
|
|
13
13
|
import '../../chunk-6E6PKKAD.js';
|
|
14
14
|
import '../../chunk-IFGTRL2I.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-RXPC4KBW.js';
|
|
16
16
|
import '../../chunk-37FTLYFP.js';
|
|
17
17
|
import '../../chunk-QZLWJETK.js';
|
|
18
18
|
import '../../chunk-XUUYAS3Z.js';
|
|
19
19
|
import '../../chunk-NFGRW3L7.js';
|
|
20
20
|
import '../../chunk-QCI6D7E4.js';
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-K2K7OF4P.js';
|
|
22
|
+
import '../../chunk-BIMEKYOE.js';
|
|
23
23
|
import '../../chunk-4GY63JU6.js';
|
|
24
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-PU5VY7KF.js';
|
|
25
25
|
import '../../chunk-U6K3I3AX.js';
|
|
26
|
-
import '../../chunk-
|
|
26
|
+
import '../../chunk-5BEFNLOR.js';
|
|
27
27
|
import '../../chunk-A2ULN3KX.js';
|
|
28
|
-
import '../../chunk-
|
|
28
|
+
import '../../chunk-P2EM6FNQ.js';
|
|
29
29
|
import '../../chunk-TLKM4M47.js';
|
|
30
30
|
import '../../chunk-TOSHZX4C.js';
|
|
31
|
-
import '../../chunk-
|
|
31
|
+
import '../../chunk-YRF5CYHR.js';
|
|
32
32
|
import '../../chunk-RVRB27AN.js';
|
|
33
|
-
import '../../chunk-
|
|
34
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-YANDJSMN.js';
|
|
34
|
+
import '../../chunk-OABIGSUY.js';
|
|
35
35
|
import '../../chunk-ICSCSM5D.js';
|
|
36
36
|
import '../../chunk-JMKB7IB4.js';
|
|
37
37
|
import '../../chunk-MJHSLODD.js';
|
|
@@ -159,6 +159,22 @@ export interface FlowAdapterConnectOptions {
|
|
|
159
159
|
/** @internal Flow identities from the root through this transient child. */
|
|
160
160
|
inlineSubFlowAncestry?: string[];
|
|
161
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* What a run restored from a snapshot still needs from a turn kick.
|
|
164
|
+
* - `runtime_work`: the runtime drain has a node to start, so a kick is always due.
|
|
165
|
+
* - `agent_work`: the run would take an agent turn; a kick is due only when nothing else
|
|
166
|
+
* (a queued turn, a live driver) will deliver it.
|
|
167
|
+
*/
|
|
168
|
+
export type FlowRestoreKick = "runtime_work" | "agent_work";
|
|
169
|
+
/** The flow run's own answers to the three turn questions, from {@link FlowAdapter.turnRule}. */
|
|
170
|
+
export interface FlowRunTurnRule {
|
|
171
|
+
/** The run is over for good: it is dropped on the next registration and gets no tools. */
|
|
172
|
+
terminal: boolean;
|
|
173
|
+
/** The turn loop takes a turn for this run, so a chat prompt may be routed to it. */
|
|
174
|
+
acceptsTurn: boolean;
|
|
175
|
+
/** What a run restored from a snapshot needs from a turn kick, if anything. */
|
|
176
|
+
restoreKick: FlowRestoreKick | null;
|
|
177
|
+
}
|
|
162
178
|
/**
|
|
163
179
|
* Connector adapter that holds and drives a live `FlowExecution`.
|
|
164
180
|
*
|
|
@@ -269,11 +285,19 @@ export declare class FlowAdapter extends AbstractConnector {
|
|
|
269
285
|
*/
|
|
270
286
|
shouldDriveAgentTurn(handle: ConnectorHandle, stimulus: TurnStimulus): boolean;
|
|
271
287
|
/**
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
*
|
|
288
|
+
* The run's turn rule, answered once for every reader. This is the only place that knows
|
|
289
|
+
* which flow statuses end a run, which decline a chat turn and which need a kick after a
|
|
290
|
+
* restore; the runner asks and never reads a status. See {@link FlowRunTurnRule}.
|
|
291
|
+
*/
|
|
292
|
+
turnRule(handle: ConnectorHandle): FlowRunTurnRule;
|
|
293
|
+
/**
|
|
294
|
+
* What a run restored from a snapshot still needs from a turn kick. A run is only moved on
|
|
295
|
+
* by a kick, so this decides the re-drive after a hydrate or a driver recreate:
|
|
296
|
+
* - `runtime_work`: {@link drainRuntimeNodes} has a node to start — an `available`
|
|
297
|
+
* runtime-owned node, or an inline sub-flow it would re-enter.
|
|
298
|
+
* - `agent_work`: the run would take an agent turn on a resume stimulus.
|
|
275
299
|
*/
|
|
276
|
-
|
|
300
|
+
private restoreKick;
|
|
277
301
|
/**
|
|
278
302
|
* Drain runtime-owned nodes in definition order until only agent work or a human decision
|
|
279
303
|
* remains. Routers select branches, function nodes use NodeExecutor, gates park, and sub-flows
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../factory-assets/connectors/flow/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,EACL,iBAAiB,EACjB,KAAK,cAAc,EAEnB,KAAK,oBAAoB,EAEzB,KAAK,eAAe,EAEpB,KAAK,mBAAmB,EAGxB,KAAK,QAAQ,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAKV,aAAa,EAUd,MAAM,0BAA0B,CAAC;AAOlC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAQ9D,OAAO,EAKL,KAAK,cAAc,EAKnB,UAAU,EAKX,MAAM,mBAAmB,CAAC;AA2B3B,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,KAAK,4BAA4B,EAEjC,KAAK,mBAAmB,EACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAqB,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAGL,KAAK,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AO,EAAE,UAAU,EAAE,CAAC;AAEtB;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,WAAW,CAE7C;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,IAAI,mBAAmB,EAAE,CAE9D"}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export { FlowAdapter, createConnector, describeFlowOperations } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
3
|
-
import '../../../chunk-
|
|
4
|
-
import '../../../chunk-
|
|
5
|
-
import '../../../chunk-
|
|
1
|
+
export { FlowAdapter, createConnector, describeFlowOperations } from '../../../chunk-MGHUSFYQ.js';
|
|
2
|
+
import '../../../chunk-QMWMSZQ4.js';
|
|
3
|
+
import '../../../chunk-UDBN3LZU.js';
|
|
4
|
+
import '../../../chunk-OFNXRI4L.js';
|
|
5
|
+
import '../../../chunk-2QZG5VJQ.js';
|
|
6
6
|
import '../../../chunk-EINLFFP6.js';
|
|
7
7
|
import '../../../chunk-LOO5CB5M.js';
|
|
8
|
-
import '../../../chunk-
|
|
9
|
-
import '../../../chunk-
|
|
8
|
+
import '../../../chunk-BNUZEYC3.js';
|
|
9
|
+
import '../../../chunk-BUNBKRJZ.js';
|
|
10
10
|
import '../../../chunk-XBSQ4KMC.js';
|
|
11
11
|
import '../../../chunk-YROR332M.js';
|
|
12
|
-
import '../../../chunk-
|
|
12
|
+
import '../../../chunk-3E2TIPBZ.js';
|
|
13
13
|
import '../../../chunk-6E6PKKAD.js';
|
|
14
14
|
import '../../../chunk-IFGTRL2I.js';
|
|
15
|
-
export { isBlocking } from '../../../chunk-
|
|
15
|
+
export { isBlocking } from '../../../chunk-RXPC4KBW.js';
|
|
16
16
|
import '../../../chunk-37FTLYFP.js';
|
|
17
17
|
import '../../../chunk-QZLWJETK.js';
|
|
18
18
|
import '../../../chunk-XUUYAS3Z.js';
|
|
19
19
|
import '../../../chunk-NFGRW3L7.js';
|
|
20
20
|
import '../../../chunk-QCI6D7E4.js';
|
|
21
|
-
import '../../../chunk-
|
|
22
|
-
import '../../../chunk-
|
|
21
|
+
import '../../../chunk-K2K7OF4P.js';
|
|
22
|
+
import '../../../chunk-BIMEKYOE.js';
|
|
23
23
|
import '../../../chunk-4GY63JU6.js';
|
|
24
|
-
import '../../../chunk-
|
|
24
|
+
import '../../../chunk-PU5VY7KF.js';
|
|
25
25
|
import '../../../chunk-U6K3I3AX.js';
|
|
26
|
-
import '../../../chunk-
|
|
26
|
+
import '../../../chunk-5BEFNLOR.js';
|
|
27
27
|
import '../../../chunk-A2ULN3KX.js';
|
|
28
|
-
import '../../../chunk-
|
|
28
|
+
import '../../../chunk-P2EM6FNQ.js';
|
|
29
29
|
import '../../../chunk-TLKM4M47.js';
|
|
30
30
|
import '../../../chunk-TOSHZX4C.js';
|
|
31
|
-
import '../../../chunk-
|
|
31
|
+
import '../../../chunk-YRF5CYHR.js';
|
|
32
32
|
import '../../../chunk-RVRB27AN.js';
|
|
33
|
-
import '../../../chunk-
|
|
34
|
-
import '../../../chunk-
|
|
33
|
+
import '../../../chunk-YANDJSMN.js';
|
|
34
|
+
import '../../../chunk-OABIGSUY.js';
|
|
35
35
|
import '../../../chunk-ICSCSM5D.js';
|
|
36
36
|
import '../../../chunk-JMKB7IB4.js';
|
|
37
37
|
import '../../../chunk-MJHSLODD.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { FLOW_FILE_EXTENSIONS, FlowManifestSchema, appendAttempt, buildFlowExpressionContext, computeFlowState, computeFlowStateFromSnapshots, computeSkippable, countFailedAttempts, deriveCheckEvidence, findFlowFileInRoots, flowFileCandidates, flowKindProvider, flowLookupRoots, hasAutomaticRetryBudget, interpolateNodeInstruction, isActiveExecutionExpired, isBlocking, loadAllFlowEntries, loadAllFlows, loadFlow, loadFlowEntriesFromDir, loadFlowsFromDir, nextAttemptNumber, producerOutputObtainedBy, projectAiAssetsRoots, remainingActiveExecutionMs, resolveAvailableRouter, resolveFlowOutputFields, resolveNextNodes, resolveNodeBindings, resolveTerminalFailureStatus, validateConsumedNodeOutput, validateFlow } from '../../../chunk-
|
|
1
|
+
export { FLOW_FILE_EXTENSIONS, FlowManifestSchema, appendAttempt, buildFlowExpressionContext, computeFlowState, computeFlowStateFromSnapshots, computeSkippable, countFailedAttempts, deriveCheckEvidence, findFlowFileInRoots, flowFileCandidates, flowKindProvider, flowLookupRoots, hasAutomaticRetryBudget, interpolateNodeInstruction, isActiveExecutionExpired, isBlocking, loadAllFlowEntries, loadAllFlows, loadFlow, loadFlowEntriesFromDir, loadFlowsFromDir, nextAttemptNumber, producerOutputObtainedBy, projectAiAssetsRoots, remainingActiveExecutionMs, resolveAvailableRouter, resolveFlowOutputFields, resolveNextNodes, resolveNodeBindings, resolveTerminalFailureStatus, validateConsumedNodeOutput, validateFlow } from '../../../chunk-RXPC4KBW.js';
|
|
2
2
|
import '../../../chunk-QZLWJETK.js';
|
|
3
3
|
export { deterministicNodeKindLabel, flowDefaults, flowSkillVersionPins, isActiveRuntimeNode, isAgentNode, isCheckNode, isExecutableNode, isFunctionNode, isGateNode, isRouterNode, isSubFlowNode, isSubpromptNode, nodeAssets, nodeBindings, nodeInstruction, nodeIsInert, nodeIsOptional, nodeLabel, nodeRequiresApproval, nodeRunKind, nodeSkillAsset, nodeSkillId, nodeSkillVersionPins } from '../../../chunk-NFGRW3L7.js';
|
|
4
4
|
export { getConsumedOutputSchema } from '../../../chunk-QCI6D7E4.js';
|
|
5
|
-
import '../../../chunk-
|
|
5
|
+
import '../../../chunk-BIMEKYOE.js';
|
|
6
6
|
import '../../../chunk-4GY63JU6.js';
|
|
7
|
-
import '../../../chunk-
|
|
7
|
+
import '../../../chunk-PU5VY7KF.js';
|
|
8
8
|
import '../../../chunk-U6K3I3AX.js';
|
|
9
|
-
import '../../../chunk-
|
|
9
|
+
import '../../../chunk-5BEFNLOR.js';
|
|
10
10
|
import '../../../chunk-A2ULN3KX.js';
|
|
11
|
-
import '../../../chunk-
|
|
11
|
+
import '../../../chunk-P2EM6FNQ.js';
|
|
12
12
|
import '../../../chunk-TLKM4M47.js';
|
|
13
13
|
import '../../../chunk-TOSHZX4C.js';
|
|
14
|
-
import '../../../chunk-
|
|
14
|
+
import '../../../chunk-YRF5CYHR.js';
|
|
15
15
|
import '../../../chunk-RVRB27AN.js';
|
|
16
|
-
import '../../../chunk-
|
|
17
|
-
import '../../../chunk-
|
|
16
|
+
import '../../../chunk-YANDJSMN.js';
|
|
17
|
+
import '../../../chunk-OABIGSUY.js';
|
|
18
18
|
import '../../../chunk-ICSCSM5D.js';
|
|
19
19
|
import '../../../chunk-JMKB7IB4.js';
|
|
20
20
|
import '../../../chunk-MJHSLODD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { FlowAdapterConnectOptions, FlowAdapterState, FlowAdapterStimulusBus, } from "./adapter.js";
|
|
1
|
+
export type { FlowAdapterConnectOptions, FlowAdapterState, FlowAdapterStimulusBus, FlowRestoreKick, FlowRunTurnRule, } from "./adapter.js";
|
|
2
2
|
export { createConnector, describeFlowOperations, FlowAdapter } from "./adapter.js";
|
|
3
3
|
export { type InlineSubFlowAgentTurn, SessionInlineSubFlowRunner, type SessionInlineSubFlowRunnerOptions, } from "./inline-sub-flow-host.js";
|
|
4
4
|
export { SessionNodeExecutor, type DeterministicFlowNode, type FunctionFlowNode, type NodeExecutor, type NodeExecutorOptions, type NodeExecutorRequest, type NodeExecutorResult, type SessionNodeExecutorOptions, } from "./node-executor.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../factory-assets/connectors/flow/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,yBAAyB,EACzB,gBAAgB,EAChB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../factory-assets/connectors/flow/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,yBAAyB,EACzB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,eAAe,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACpF,OAAO,EACL,KAAK,sBAAsB,EAC3B,0BAA0B,EAC1B,KAAK,iCAAiC,GACvC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,mBAAmB,EACnB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,GAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,4BAA4B,EAC5B,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,KAAK,kBAAkB,EACvB,KAAK,gCAAgC,EACrC,KAAK,mBAAmB,GACzB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,sBAAsB,EACtB,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
export { awaitAgentEnd, resolveFlowPath, resumeFlow, runFlow } from '../../../chunk-
|
|
1
|
+
export { awaitAgentEnd, resolveFlowPath, resumeFlow, runFlow } from '../../../chunk-IOUIC2ZD.js';
|
|
2
2
|
import '../../../chunk-4R6DROGN.js';
|
|
3
|
-
import '../../../chunk-
|
|
4
|
-
import '../../../chunk-
|
|
5
|
-
import '../../../chunk-
|
|
6
|
-
import '../../../chunk-
|
|
7
|
-
import '../../../chunk-
|
|
8
|
-
import '../../../chunk-
|
|
3
|
+
import '../../../chunk-ANWHAGM7.js';
|
|
4
|
+
import '../../../chunk-MGHUSFYQ.js';
|
|
5
|
+
import '../../../chunk-QMWMSZQ4.js';
|
|
6
|
+
import '../../../chunk-UDBN3LZU.js';
|
|
7
|
+
import '../../../chunk-OFNXRI4L.js';
|
|
8
|
+
import '../../../chunk-2QZG5VJQ.js';
|
|
9
9
|
import '../../../chunk-EINLFFP6.js';
|
|
10
10
|
import '../../../chunk-LOO5CB5M.js';
|
|
11
|
-
import '../../../chunk-
|
|
12
|
-
import '../../../chunk-
|
|
11
|
+
import '../../../chunk-BNUZEYC3.js';
|
|
12
|
+
import '../../../chunk-BUNBKRJZ.js';
|
|
13
13
|
import '../../../chunk-XBSQ4KMC.js';
|
|
14
14
|
import '../../../chunk-YROR332M.js';
|
|
15
|
-
import '../../../chunk-
|
|
15
|
+
import '../../../chunk-3E2TIPBZ.js';
|
|
16
16
|
import '../../../chunk-6E6PKKAD.js';
|
|
17
17
|
import '../../../chunk-IFGTRL2I.js';
|
|
18
|
-
import '../../../chunk-
|
|
18
|
+
import '../../../chunk-RXPC4KBW.js';
|
|
19
19
|
import '../../../chunk-37FTLYFP.js';
|
|
20
20
|
import '../../../chunk-QZLWJETK.js';
|
|
21
21
|
import '../../../chunk-XUUYAS3Z.js';
|
|
22
22
|
import '../../../chunk-NFGRW3L7.js';
|
|
23
23
|
import '../../../chunk-QCI6D7E4.js';
|
|
24
|
-
import '../../../chunk-
|
|
25
|
-
import '../../../chunk-
|
|
24
|
+
import '../../../chunk-K2K7OF4P.js';
|
|
25
|
+
import '../../../chunk-BIMEKYOE.js';
|
|
26
26
|
import '../../../chunk-4GY63JU6.js';
|
|
27
|
-
import '../../../chunk-
|
|
27
|
+
import '../../../chunk-PU5VY7KF.js';
|
|
28
28
|
import '../../../chunk-U6K3I3AX.js';
|
|
29
|
-
import '../../../chunk-
|
|
29
|
+
import '../../../chunk-5BEFNLOR.js';
|
|
30
30
|
import '../../../chunk-A2ULN3KX.js';
|
|
31
|
-
import '../../../chunk-
|
|
31
|
+
import '../../../chunk-P2EM6FNQ.js';
|
|
32
32
|
import '../../../chunk-TLKM4M47.js';
|
|
33
33
|
import '../../../chunk-TOSHZX4C.js';
|
|
34
|
-
import '../../../chunk-
|
|
34
|
+
import '../../../chunk-YRF5CYHR.js';
|
|
35
35
|
import '../../../chunk-RVRB27AN.js';
|
|
36
|
-
import '../../../chunk-
|
|
37
|
-
import '../../../chunk-
|
|
36
|
+
import '../../../chunk-YANDJSMN.js';
|
|
37
|
+
import '../../../chunk-OABIGSUY.js';
|
|
38
38
|
import '../../../chunk-ICSCSM5D.js';
|
|
39
39
|
import '../../../chunk-JMKB7IB4.js';
|
|
40
40
|
import '../../../chunk-MJHSLODD.js';
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export { ClassifierSubpromptRunner, FlowAdapter, SessionInlineSubFlowRunner, SessionNodeExecutor, SessionSubpromptRunner, SubFlowContractError, buildFlowPromptEvent, classifierQuestion, createConnector, describeFlowOperations, driveOrchestratorTurn } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
export { ClassifierSubpromptRunner, FlowAdapter, SessionInlineSubFlowRunner, SessionNodeExecutor, SessionSubpromptRunner, SubFlowContractError, buildFlowPromptEvent, classifierQuestion, createConnector, describeFlowOperations, driveOrchestratorTurn } from '../../chunk-MGHUSFYQ.js';
|
|
2
|
+
import '../../chunk-QMWMSZQ4.js';
|
|
3
|
+
import '../../chunk-UDBN3LZU.js';
|
|
4
|
+
import '../../chunk-OFNXRI4L.js';
|
|
5
|
+
import '../../chunk-2QZG5VJQ.js';
|
|
6
6
|
import '../../chunk-EINLFFP6.js';
|
|
7
7
|
import '../../chunk-LOO5CB5M.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-BNUZEYC3.js';
|
|
9
|
+
import '../../chunk-BUNBKRJZ.js';
|
|
10
10
|
import '../../chunk-XBSQ4KMC.js';
|
|
11
11
|
import '../../chunk-YROR332M.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-3E2TIPBZ.js';
|
|
13
13
|
import '../../chunk-6E6PKKAD.js';
|
|
14
14
|
import '../../chunk-IFGTRL2I.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-RXPC4KBW.js';
|
|
16
16
|
import '../../chunk-37FTLYFP.js';
|
|
17
17
|
import '../../chunk-QZLWJETK.js';
|
|
18
18
|
import '../../chunk-XUUYAS3Z.js';
|
|
19
19
|
import '../../chunk-NFGRW3L7.js';
|
|
20
20
|
import '../../chunk-QCI6D7E4.js';
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-K2K7OF4P.js';
|
|
22
|
+
import '../../chunk-BIMEKYOE.js';
|
|
23
23
|
import '../../chunk-4GY63JU6.js';
|
|
24
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-PU5VY7KF.js';
|
|
25
25
|
import '../../chunk-U6K3I3AX.js';
|
|
26
|
-
import '../../chunk-
|
|
26
|
+
import '../../chunk-5BEFNLOR.js';
|
|
27
27
|
import '../../chunk-A2ULN3KX.js';
|
|
28
|
-
import '../../chunk-
|
|
28
|
+
import '../../chunk-P2EM6FNQ.js';
|
|
29
29
|
import '../../chunk-TLKM4M47.js';
|
|
30
30
|
import '../../chunk-TOSHZX4C.js';
|
|
31
|
-
import '../../chunk-
|
|
31
|
+
import '../../chunk-YRF5CYHR.js';
|
|
32
32
|
import '../../chunk-RVRB27AN.js';
|
|
33
|
-
import '../../chunk-
|
|
34
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-YANDJSMN.js';
|
|
34
|
+
import '../../chunk-OABIGSUY.js';
|
|
35
35
|
import '../../chunk-ICSCSM5D.js';
|
|
36
36
|
import '../../chunk-JMKB7IB4.js';
|
|
37
37
|
import '../../chunk-MJHSLODD.js';
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checkout-level git operations that need no per-mount state: hold the index
|
|
3
|
+
* lock down, stage and commit, keep `.skaile/` out of the index, sync
|
|
4
|
+
* submodules, manage session-branch fetch refspecs.
|
|
5
|
+
*
|
|
6
|
+
* Every function takes the checkout path (and, for network commands, a
|
|
7
|
+
* {@link GitRemoteAuth}). The per-mount state those operations are sequenced
|
|
8
|
+
* with lives in the repo module.
|
|
9
|
+
*/
|
|
10
|
+
import type { Logger } from "@skaile/workspaces/types";
|
|
11
|
+
import { type GitRemoteAuth } from "./exec.js";
|
|
12
|
+
/**
|
|
13
|
+
* `git pull origin <branch>` in two processes: the fetch carries the token, the
|
|
14
|
+
* merge does not. A merge runs programs the checkout's config and attributes
|
|
15
|
+
* name (filters, merge drivers), which must never see the token.
|
|
16
|
+
*
|
|
17
|
+
* A clean divergence is merged (never rebased: both sides may be published),
|
|
18
|
+
* where `git pull` without `pull.rebase` would refuse. A conflicting one is
|
|
19
|
+
* aborted and thrown, naming the files: left in place, the auto-commit's
|
|
20
|
+
* `add -A` would complete the merge with the conflict markers and push them.
|
|
21
|
+
* An unfinished merge or rebase found beforehand is someone else's (the
|
|
22
|
+
* agent's): the pull throws without touching it, so the abort only ever undoes
|
|
23
|
+
* this pull's own merge.
|
|
24
|
+
*/
|
|
25
|
+
export declare function pullByMerge(branch: string, cwd: string, auth: GitRemoteAuth, timeout?: number): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Make the checkout ignore `SKAILE_INTERNAL_DIR`, and drop it from the index
|
|
28
|
+
* if a previous session already staged it.
|
|
29
|
+
*
|
|
30
|
+
* Written to `info/exclude` rather than `.gitignore`: the rule is a property
|
|
31
|
+
* of this machine's checkout, not of the user's project, so it must never show
|
|
32
|
+
* up in their diff, their history, or on their remote.
|
|
33
|
+
*
|
|
34
|
+
* Excluding — rather than filtering at `git add` time — keeps
|
|
35
|
+
* `status --porcelain` and `add -A` answering the same question, and covers
|
|
36
|
+
* git the *agent* runs by hand just as much as the driver's own commits.
|
|
37
|
+
*
|
|
38
|
+
* Resolved through `--git-common-dir` because a fleet worktree's `.git` is a
|
|
39
|
+
* file; `info/exclude` lives in the shared common dir in both layouts.
|
|
40
|
+
*
|
|
41
|
+
* The unstage is deliberately narrow. An ignore rule does not evict a path
|
|
42
|
+
* that is already in the index, so a checkout carrying a half-finished save
|
|
43
|
+
* from before this fix would still commit it on the next hibernate. Only
|
|
44
|
+
* entries that are in the index and *not* in `HEAD` are dropped, so a project
|
|
45
|
+
* that genuinely tracks a `.skaile/` of its own is left exactly as it is.
|
|
46
|
+
*
|
|
47
|
+
* Best effort throughout: a checkout whose git dir cannot be written is still
|
|
48
|
+
* a usable checkout, and failing `connect` over an ignore rule would trade a
|
|
49
|
+
* leak for an outage.
|
|
50
|
+
*/
|
|
51
|
+
export declare function ensureSkaileExcluded(cwd: string, log: Logger): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Drop a `.git/index.lock` orphaned by a SIGKILL'd git child.
|
|
54
|
+
*
|
|
55
|
+
* `runGit` kills on SIGKILL by design, which gives git no chance to release the
|
|
56
|
+
* lock, and the checkout outlives the container that made it — so one killed
|
|
57
|
+
* child wedges every later `connect()` on the same repo, permanently. Measured
|
|
58
|
+
* in prod: two sessions dead for 23 and 4 days, recoverable only by hand.
|
|
59
|
+
*
|
|
60
|
+
* Called from the connect path alone, which rules out this driver's own git:
|
|
61
|
+
* the periodic timers arm only once connect returns, and a fleet-managed mount
|
|
62
|
+
* (where the host owns git against this very path) takes another branch
|
|
63
|
+
* entirely. The mtime gate covers what ordering does not — a previous
|
|
64
|
+
* container still shutting down, and, on the hot-plug connect of a live
|
|
65
|
+
* session, git the AGENT is running, which is under no deadline of ours.
|
|
66
|
+
*/
|
|
67
|
+
export declare function clearStaleIndexLock(targetDir: string, log: Logger): Promise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Whether a failed git child died on the checkout's `.git/index.lock` — held
|
|
70
|
+
* by another process (`Unable to create '<path>/index.lock': File exists.`) or
|
|
71
|
+
* unwritable. A lock young enough to survive {@link clearStaleIndexLock} still
|
|
72
|
+
* fails the connect, and no new credential fixes either case.
|
|
73
|
+
*
|
|
74
|
+
* Matches the lock path alone: the words around it go through gettext, and
|
|
75
|
+
* git inherits whatever locale the host runs it under.
|
|
76
|
+
*/
|
|
77
|
+
export declare function isIndexLockFailure(err: unknown): boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Run a purely local `git checkout` for the connect path, marking a refusal as
|
|
80
|
+
* repo-state: with no network in the command, only the checkout itself (a lock,
|
|
81
|
+
* local changes in the way, a broken HEAD) can be what refused it.
|
|
82
|
+
*
|
|
83
|
+
* Only a clean non-zero exit counts. A deadline kill (a wedged mount) or a
|
|
84
|
+
* failed spawn says nothing about the repository, so those stay unclassified.
|
|
85
|
+
*/
|
|
86
|
+
export declare function gitLocalCheckout(args: string[], cwd: string): Promise<string>;
|
|
87
|
+
export declare function syncSubmodules(cwd: string, log: Logger, auth: GitRemoteAuth): Promise<void>;
|
|
88
|
+
/**
|
|
89
|
+
* The agent's `pull` moves submodule pins without fetching them: a submodule
|
|
90
|
+
* fetch reads its URL from the agent-writable config and would carry the
|
|
91
|
+
* host-scoped header to any repo the agent names. Checks out pins whose commits
|
|
92
|
+
* are already local and returns the paths still behind, which the next driver
|
|
93
|
+
* sync fetches. Runs without the token; `--checkout` as in `syncSubmodules`.
|
|
94
|
+
*/
|
|
95
|
+
export declare function checkoutSubmodulesOffline(cwd: string): Promise<string[]>;
|
|
96
|
+
/** The fetch refspec that maps `branch` on origin to `refs/remotes/origin/<branch>`. */
|
|
97
|
+
export declare function trackingRefspec(branch: string): string;
|
|
98
|
+
/**
|
|
99
|
+
* Make sure a fetch refspec of `origin` maps `branch` to its remote-tracking
|
|
100
|
+
* ref. Idempotent: adds nothing when the exact refspec or the default
|
|
101
|
+
* `refs/heads/*` wildcard (a full clone) is already configured.
|
|
102
|
+
*
|
|
103
|
+
* Needed because the clone is `--single-branch`: its only refspec maps the base
|
|
104
|
+
* branch. Without a mapping for the session branch, git does not resolve
|
|
105
|
+
* `@{upstream}`, and neither a fetch nor a push updates
|
|
106
|
+
* `refs/remotes/origin/<branch>`. `branch` must already be refname-validated.
|
|
107
|
+
*/
|
|
108
|
+
export declare function ensureTrackingRefspec(branch: string, cwd: string): Promise<void>;
|
|
109
|
+
/**
|
|
110
|
+
* Remove the exact session-branch refspec that {@link ensureTrackingRefspec}
|
|
111
|
+
* adds. A configured refspec without a wildcard makes every plain
|
|
112
|
+
* `git fetch origin` fail with "couldn't find remote ref" while origin does
|
|
113
|
+
* not have the branch, which stops the periodic fetch and the agent's own
|
|
114
|
+
* `git fetch` / `git pull`. Never throws.
|
|
115
|
+
*/
|
|
116
|
+
export declare function dropTrackingRefspec(branch: string, cwd: string): Promise<void>;
|
|
117
|
+
/**
|
|
118
|
+
* Before the base branch is pushed: fetch `origin/<branch>` and merge it in
|
|
119
|
+
* through {@link pullByMerge} (a fast-forward when the local branch has
|
|
120
|
+
* nothing of its own; the fetch authenticates per command), so the push that
|
|
121
|
+
* follows is a fast-forward. A merge, never a rebase: origin's commits
|
|
122
|
+
* may already be pulled elsewhere. A conflicting merge is aborted and thrown
|
|
123
|
+
* naming the files, so nothing is pushed and no conflict markers reach a later
|
|
124
|
+
* auto-commit. Unlike a session branch, the base branch gets no
|
|
125
|
+
* `.conflict`-file resolution: it is shared, and silently keeping "ours" there
|
|
126
|
+
* would bury someone else's change.
|
|
127
|
+
*
|
|
128
|
+
* Skipped (the push then runs as before) when HEAD is not `<branch>` — the
|
|
129
|
+
* agent checked out another branch or is mid-rebase — or when a merge,
|
|
130
|
+
* rebase, cherry-pick or revert is unfinished: that state is the agent's, and
|
|
131
|
+
* the abort in `pullByMerge` must only ever undo this function's own merge.
|
|
132
|
+
*/
|
|
133
|
+
export declare function integrateOriginBaseBranch(branch: string, cwd: string, auth: GitRemoteAuth): Promise<void>;
|
|
134
|
+
/**
|
|
135
|
+
* Set `branch`'s upstream to `origin/<branch>` through config, as `push -u`
|
|
136
|
+
* does. Unlike `branch --set-upstream-to`, this works before a fetch refspec
|
|
137
|
+
* maps the branch.
|
|
138
|
+
*/
|
|
139
|
+
export declare function setSessionUpstream(branch: string, cwd: string): Promise<void>;
|
|
140
|
+
/**
|
|
141
|
+
* True when `dir` is empty (no entries, including no dotfiles) or when the
|
|
142
|
+
* listing fails or misses its deadline (e.g. dir does not exist, wedged
|
|
143
|
+
* mount). The "fails → empty" mapping is intentional: the caller is about to
|
|
144
|
+
* `mkdir` and proceed, so a missing dir is functionally equivalent to an
|
|
145
|
+
* empty one.
|
|
146
|
+
*/
|
|
147
|
+
export declare function isDirEmpty(dir: string): Promise<boolean>;
|
|
148
|
+
/**
|
|
149
|
+
* Stage everything and commit. Returns `null` without committing when there is
|
|
150
|
+
* nothing to commit, or when an unfinished merge or rebase would make the
|
|
151
|
+
* commit carry conflict markers (see {@link unfinishedGitOperation}).
|
|
152
|
+
*/
|
|
153
|
+
export declare function commitAll(cwd: string, message: string, log: Logger): Promise<string | null>;
|
|
154
|
+
/**
|
|
155
|
+
* `git add -A` for the driver's own commits, minus any submodule pin it would
|
|
156
|
+
* move backwards. After a pull that could not fetch a submodule (the agent's
|
|
157
|
+
* `pull` never does), the submodule's checkout lags the merged pin, and a plain
|
|
158
|
+
* `add -A` would commit the old pin and so undo the upstream bump on push.
|
|
159
|
+
*/
|
|
160
|
+
export declare function stageAll(cwd: string, log: Logger): Promise<void>;
|
|
161
|
+
//# sourceMappingURL=checkout.d.ts.map
|