@skaile/workspaces 4.39.0 → 5.1.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 +35 -0
- package/dist/asset-feeds-TU5CS6QL.js +131 -0
- package/dist/asset-feeds-TU5CS6QL.js.map +1 -0
- package/dist/asset-manager/catalog-deployer.js +12 -11
- package/dist/asset-manager/index.js +17 -16
- package/dist/asset-manager/installer.js +12 -11
- package/dist/asset-manager/src/catalog-deployer.d.ts +1 -3
- package/dist/asset-manager/src/catalog-deployer.d.ts.map +1 -1
- package/dist/asset-manager/src/index.d.ts +8 -9
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +25 -13
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +13 -12
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +14 -13
- package/dist/bridge/drivers/continue.js.map +1 -1
- package/dist/bridge/drivers/echo.js +2 -2
- package/dist/bridge/drivers/gemini.js +6 -6
- package/dist/bridge/drivers/goose.js +14 -13
- package/dist/bridge/drivers/goose.js.map +1 -1
- package/dist/bridge/drivers/omp.js +3 -3
- package/dist/bridge/drivers/opencode.js +14 -13
- package/dist/bridge/drivers/opencode.js.map +1 -1
- package/dist/bridge/drivers/qwen.js +6 -6
- package/dist/bridge/index.js +15 -14
- package/dist/bridge/src/drivers/claude-sdk.d.ts +4 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +7 -0
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-NLKIW2VI.js → chunk-2Y6DSR36.js} +5 -4
- package/dist/chunk-2Y6DSR36.js.map +1 -0
- package/dist/{chunk-H7N6RWNF.js → chunk-3KSAFYD4.js} +9 -5
- package/dist/chunk-3KSAFYD4.js.map +1 -0
- package/dist/{chunk-SM6EUQMY.js → chunk-3NGPZC44.js} +11 -11
- package/dist/chunk-3NGPZC44.js.map +1 -0
- package/dist/{chunk-A5EDMBFG.js → chunk-43ZBF3WH.js} +5 -8
- package/dist/chunk-43ZBF3WH.js.map +1 -0
- package/dist/{chunk-P7BU6DAC.js → chunk-55RMUF4G.js} +76 -33
- package/dist/chunk-55RMUF4G.js.map +1 -0
- package/dist/{chunk-TQ6XNACF.js → chunk-6LDUA57J.js} +25 -26
- package/dist/chunk-6LDUA57J.js.map +1 -0
- package/dist/chunk-A2ULN3KX.js +40 -0
- package/dist/chunk-A2ULN3KX.js.map +1 -0
- package/dist/{chunk-DSB6X25D.js → chunk-AG44ZJ7W.js} +3 -3
- package/dist/{chunk-DSB6X25D.js.map → chunk-AG44ZJ7W.js.map} +1 -1
- package/dist/{chunk-YCMZHL4T.js → chunk-AGWYBS2E.js} +6 -6
- package/dist/{chunk-YCMZHL4T.js.map → chunk-AGWYBS2E.js.map} +1 -1
- package/dist/{chunk-35G4M33T.js → chunk-AOMWF2OE.js} +4 -4
- package/dist/chunk-AOMWF2OE.js.map +1 -0
- package/dist/{chunk-X4DKUGV4.js → chunk-AYNPGPT5.js} +9 -15
- package/dist/chunk-AYNPGPT5.js.map +1 -0
- package/dist/{chunk-SSCPTAFJ.js → chunk-CI6FQ654.js} +3 -3
- package/dist/{chunk-SSCPTAFJ.js.map → chunk-CI6FQ654.js.map} +1 -1
- package/dist/{chunk-6X4DHKHP.js → chunk-CT6NQSA4.js} +3 -3
- package/dist/{chunk-6X4DHKHP.js.map → chunk-CT6NQSA4.js.map} +1 -1
- package/dist/{chunk-5K2VT6E2.js → chunk-DXUQCMVT.js} +3 -3
- package/dist/{chunk-5K2VT6E2.js.map → chunk-DXUQCMVT.js.map} +1 -1
- package/dist/{chunk-3C3ODIDE.js → chunk-E3ZACBHD.js} +13 -16
- package/dist/chunk-E3ZACBHD.js.map +1 -0
- package/dist/{chunk-C75VKXAM.js → chunk-E67J56FJ.js} +3 -3
- package/dist/{chunk-C75VKXAM.js.map → chunk-E67J56FJ.js.map} +1 -1
- package/dist/{chunk-B4IAZTZZ.js → chunk-EB6OPURC.js} +3 -3
- package/dist/{chunk-B4IAZTZZ.js.map → chunk-EB6OPURC.js.map} +1 -1
- package/dist/{chunk-VXPFSZDT.js → chunk-EPHQWHOH.js} +6 -6
- package/dist/{chunk-VXPFSZDT.js.map → chunk-EPHQWHOH.js.map} +1 -1
- package/dist/chunk-F7JHP7JV.js +122 -0
- package/dist/chunk-F7JHP7JV.js.map +1 -0
- package/dist/{chunk-FTPKMJFD.js → chunk-G47EV3V6.js} +2 -2
- package/dist/{chunk-FTPKMJFD.js.map → chunk-G47EV3V6.js.map} +1 -1
- package/dist/{chunk-252TK4RU.js → chunk-G4T7MYTA.js} +12 -14
- package/dist/chunk-G4T7MYTA.js.map +1 -0
- package/dist/{chunk-2EL2PBRC.js → chunk-H4EGUQ7M.js} +3 -3
- package/dist/{chunk-2EL2PBRC.js.map → chunk-H4EGUQ7M.js.map} +1 -1
- package/dist/{chunk-YV3YI3TA.js → chunk-IWCCZL7C.js} +17 -11
- package/dist/chunk-IWCCZL7C.js.map +1 -0
- package/dist/{chunk-QVLQGXT6.js → chunk-IYIIT4R3.js} +5 -5
- package/dist/{chunk-QVLQGXT6.js.map → chunk-IYIIT4R3.js.map} +1 -1
- package/dist/{chunk-YYH5EVPM.js → chunk-JUXQUZOQ.js} +12 -4
- package/dist/{chunk-YYH5EVPM.js.map → chunk-JUXQUZOQ.js.map} +1 -1
- package/dist/{chunk-BCUVRJXV.js → chunk-KAYH6AXN.js} +3 -3
- package/dist/{chunk-BCUVRJXV.js.map → chunk-KAYH6AXN.js.map} +1 -1
- package/dist/{chunk-JEPSP6XK.js → chunk-MXXKTQXJ.js} +18 -12
- package/dist/chunk-MXXKTQXJ.js.map +1 -0
- package/dist/{chunk-UDFWBALP.js → chunk-NFGRW3L7.js} +3 -3
- package/dist/{chunk-UDFWBALP.js.map → chunk-NFGRW3L7.js.map} +1 -1
- package/dist/{chunk-WCWFS36P.js → chunk-P5UQ56RA.js} +3 -3
- package/dist/{chunk-WCWFS36P.js.map → chunk-P5UQ56RA.js.map} +1 -1
- package/dist/{chunk-ORH2BZEM.js → chunk-QCI6D7E4.js} +69 -22
- package/dist/chunk-QCI6D7E4.js.map +1 -0
- package/dist/{chunk-5RWL4L3X.js → chunk-QFZFZXQW.js} +171 -28
- package/dist/chunk-QFZFZXQW.js.map +1 -0
- package/dist/{chunk-DIQDYNXZ.js → chunk-QZLWJETK.js} +3 -3
- package/dist/{chunk-DIQDYNXZ.js.map → chunk-QZLWJETK.js.map} +1 -1
- package/dist/{chunk-TSVRKUGV.js → chunk-RDTHJSGY.js} +11 -2
- package/dist/chunk-RDTHJSGY.js.map +1 -0
- package/dist/{chunk-QBQITQAM.js → chunk-RNNUYFFD.js} +3 -3
- package/dist/{chunk-QBQITQAM.js.map → chunk-RNNUYFFD.js.map} +1 -1
- package/dist/chunk-RVRB27AN.js +64 -0
- package/dist/chunk-RVRB27AN.js.map +1 -0
- package/dist/{chunk-XU7JET5Z.js → chunk-SP47UJKE.js} +37 -109
- package/dist/chunk-SP47UJKE.js.map +1 -0
- package/dist/{chunk-EB4ZTESQ.js → chunk-TOSHZX4C.js} +8 -3
- package/dist/chunk-TOSHZX4C.js.map +1 -0
- package/dist/{chunk-5NYBY6ZE.js → chunk-TVOODIZE.js} +3 -3
- package/dist/{chunk-5NYBY6ZE.js.map → chunk-TVOODIZE.js.map} +1 -1
- package/dist/{chunk-EOKAFBJ7.js → chunk-TYUJB336.js} +3 -3
- package/dist/{chunk-EOKAFBJ7.js.map → chunk-TYUJB336.js.map} +1 -1
- package/dist/{chunk-KAJH3XPW.js → chunk-U6K3I3AX.js} +3 -3
- package/dist/{chunk-KAJH3XPW.js.map → chunk-U6K3I3AX.js.map} +1 -1
- package/dist/{chunk-7RC37XFW.js → chunk-UMSWQKCY.js} +59 -12
- package/dist/chunk-UMSWQKCY.js.map +1 -0
- package/dist/{chunk-OLMNDIAU.js → chunk-UVOJSWD2.js} +95 -320
- package/dist/chunk-UVOJSWD2.js.map +1 -0
- package/dist/{chunk-DOVURNRK.js → chunk-VDJKWKH2.js} +3 -3
- package/dist/chunk-VDJKWKH2.js.map +1 -0
- package/dist/{chunk-VDBP6Y5M.js → chunk-WCQMXBO5.js} +21 -47
- package/dist/chunk-WCQMXBO5.js.map +1 -0
- package/dist/{chunk-YQEF36D5.js → chunk-WKIOWDLQ.js} +4 -4
- package/dist/{chunk-YQEF36D5.js.map → chunk-WKIOWDLQ.js.map} +1 -1
- package/dist/{chunk-5LF27VUB.js → chunk-X6E7Y4JD.js} +17 -15
- package/dist/chunk-X6E7Y4JD.js.map +1 -0
- package/dist/chunk-XUQBVK4R.js +15 -0
- package/dist/chunk-XUQBVK4R.js.map +1 -0
- package/dist/{chunk-K3IBZ2UZ.js → chunk-XUUYAS3Z.js} +3 -3
- package/dist/{chunk-K3IBZ2UZ.js.map → chunk-XUUYAS3Z.js.map} +1 -1
- package/dist/{chunk-36ML6SFP.js → chunk-YDJZRLGN.js} +4 -4
- package/dist/{chunk-36ML6SFP.js.map → chunk-YDJZRLGN.js.map} +1 -1
- package/dist/{chunk-M7GPCWEV.js → chunk-YIVB7GIP.js} +3 -3
- package/dist/{chunk-M7GPCWEV.js.map → chunk-YIVB7GIP.js.map} +1 -1
- package/dist/{chunk-VJNTB4DN.js → chunk-YMOZC2D3.js} +4 -4
- package/dist/{chunk-VJNTB4DN.js.map → chunk-YMOZC2D3.js.map} +1 -1
- package/dist/{chunk-OQRB7JUS.js → chunk-YV4J7V53.js} +3 -3
- package/dist/{chunk-OQRB7JUS.js.map → chunk-YV4J7V53.js.map} +1 -1
- package/dist/{chunk-JXT46QFC.js → chunk-ZDKJHQY2.js} +2 -2
- package/dist/{chunk-JXT46QFC.js.map → chunk-ZDKJHQY2.js.map} +1 -1
- package/dist/cli/index.js +777 -1120
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/asset-feeds.d.ts +1 -8
- package/dist/cli/src/asset-feeds.d.ts.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/flow.d.ts +5 -5
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-index.d.ts +5 -12
- package/dist/cli/src/commands/library-index.d.ts.map +1 -1
- package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
- package/dist/cli/src/commands/manage.d.ts +74 -58
- package/dist/cli/src/commands/manage.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/publish-core.d.ts +10 -0
- package/dist/cli/src/commands/publish-core.d.ts.map +1 -1
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/show.d.ts +1 -1
- package/dist/cli/src/commands/skailify-lib.d.ts +17 -31
- package/dist/cli/src/commands/skailify-lib.d.ts.map +1 -1
- package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts +20 -2
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/flow-discovery.d.ts +46 -3
- package/dist/cli/src/flow-discovery.d.ts.map +1 -1
- package/dist/cli/src/helpers.d.ts +6 -0
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/hooks/pre-commit-version.d.ts +1 -1
- package/dist/cli/src/open-library.d.ts +11 -0
- package/dist/cli/src/open-library.d.ts.map +1 -1
- package/dist/cli/src/skill-walker.d.ts +7 -10
- package/dist/cli/src/skill-walker.d.ts.map +1 -1
- package/dist/connectors/config.js +7 -6
- package/dist/connectors/index.js +23 -22
- package/dist/connectors/src/connector-manager.d.ts +53 -3
- package/dist/connectors/src/connector-manager.d.ts.map +1 -1
- package/dist/connectors/src/connector-prompt.d.ts +16 -2
- package/dist/connectors/src/connector-prompt.d.ts.map +1 -1
- package/dist/connectors/src/fleet-utils.d.ts +3 -4
- package/dist/connectors/src/fleet-utils.d.ts.map +1 -1
- package/dist/connectors/src/index.d.ts +3 -3
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/connectors-VX7YRFFS.js +45 -0
- package/dist/{connectors-T57XL7EA.js.map → connectors-VX7YRFFS.js.map} +1 -1
- package/dist/core/discovery.js +1 -1
- package/dist/core/driver-targets.js +1 -1
- package/dist/core/index.js +11 -10
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/plugin-groupings.d.ts +2 -0
- package/dist/core/plugin-groupings.js +4 -0
- package/dist/core/plugin-groupings.js.map +1 -0
- package/dist/core/publish-manifest.js +2 -2
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +7 -6
- package/dist/core/src/discovery.d.ts +11 -51
- package/dist/core/src/discovery.d.ts.map +1 -1
- package/dist/core/src/driver-targets.d.ts +10 -0
- package/dist/core/src/driver-targets.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +5 -4
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +6 -33
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/plugin-groupings.d.ts +31 -0
- package/dist/core/src/plugin-groupings.d.ts.map +1 -0
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/settings.d.ts +14 -1
- package/dist/core/src/settings.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +1 -1
- package/dist/core/store.js +2 -2
- package/dist/core/workspace-config.js +6 -5
- package/dist/deploy/index.js +11 -10
- package/dist/deploy/index.js.map +1 -1
- package/dist/discovery/index.js +6 -5
- package/dist/discovery/src/discover.d.ts +9 -25
- package/dist/discovery/src/discover.d.ts.map +1 -1
- package/dist/discovery/src/index.d.ts +0 -2
- package/dist/discovery/src/index.d.ts.map +1 -1
- package/dist/discovery/src/source-config.d.ts +13 -9
- package/dist/discovery/src/source-config.d.ts.map +1 -1
- package/dist/discovery/src/tree-entries.d.ts +6 -11
- package/dist/discovery/src/tree-entries.d.ts.map +1 -1
- package/dist/{ensure-sources-J5CDTQ36.js → ensure-sources-2XQS32WI.js} +20 -19
- package/dist/ensure-sources-2XQS32WI.js.map +1 -0
- package/dist/factory-assets/README.md +1 -1
- package/dist/factory-assets/connectors/box.js +23 -22
- package/dist/factory-assets/connectors/deploy.js +23 -22
- package/dist/factory-assets/connectors/devserver.js +23 -22
- package/dist/factory-assets/connectors/flow/CONNECTOR.md +6 -1
- package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/adapter.js +23 -22
- package/dist/factory-assets/connectors/flow/contract/flow.v2.schema.json +13 -3
- package/dist/factory-assets/connectors/flow/contract/index.d.ts +1 -0
- package/dist/factory-assets/connectors/flow/contract/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts +21 -5
- package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts +2 -0
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/sub-flow-output.d.ts +20 -0
- package/dist/factory-assets/connectors/flow/contract/sub-flow-output.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/contract.js +4 -4
- package/dist/factory-assets/connectors/flow/engine/bindings.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts +12 -0
- package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/engine/index.d.ts +1 -0
- package/dist/factory-assets/connectors/flow/engine/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/loader.d.ts +3 -3
- package/dist/factory-assets/connectors/flow/engine/locate.d.ts +2 -2
- package/dist/factory-assets/connectors/flow/engine/locate.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/types.d.ts +0 -2
- package/dist/factory-assets/connectors/flow/engine/types.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +15 -14
- package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/prompt-fragments.js +3 -3
- package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +25 -24
- package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts +6 -5
- package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow.js +23 -22
- package/dist/factory-assets/connectors/git.js +23 -22
- package/dist/factory-assets/connectors/gmail.js +23 -22
- package/dist/factory-assets/connectors/googledrive.js +23 -22
- package/dist/factory-assets/connectors/local.js +23 -22
- package/dist/factory-assets/connectors/mattermost.js +23 -22
- package/dist/factory-assets/connectors/memory.js +23 -22
- package/dist/factory-assets/connectors/minio.js +23 -22
- package/dist/factory-assets/connectors/postgres.js +23 -22
- package/dist/factory-assets/connectors/s3.js +23 -22
- package/dist/factory-assets/connectors/sharepoint.js +23 -22
- package/dist/factory-assets/connectors/sqlite.js +23 -22
- package/dist/factory-assets/connectors/static-server.js +23 -22
- package/dist/factory-assets/connectors/tunnel.js +23 -22
- package/dist/factory-assets/connectors/webdav.js +23 -22
- package/dist/factory-assets/connectors/xstate-store.js +23 -22
- package/dist/factory-assets/connectors/xstate.js +23 -22
- package/dist/factory-assets/skills/skaile-author-asset/SKILL.md +37 -26
- package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +2 -2
- package/dist/factory-assets/skills/skailify/SKILL.md +10 -19
- package/dist/flows-SVCCADGE.js +26 -0
- package/dist/{flows-PX53XFV7.js.map → flows-SVCCADGE.js.map} +1 -1
- package/dist/helpers-IELQGVGB.js +34 -0
- package/dist/{helpers-EP6H3O3S.js.map → helpers-IELQGVGB.js.map} +1 -1
- package/dist/library/index.js +15 -14
- package/dist/library/install.js +2 -2
- package/dist/library/src/index.d.ts +1 -1
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/local/db.d.ts.map +1 -1
- package/dist/library/src/local/library-manager.d.ts.map +1 -1
- package/dist/library/src/local/library.d.ts.map +1 -1
- package/dist/library/src/local/local-catalog-source.d.ts +14 -10
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/local/schema.d.ts +1 -20
- package/dist/library/src/local/schema.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts +1 -11
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/library/src/sync/manifest-writeback.d.ts +5 -5
- package/dist/library/src/sync/manifest-writeback.d.ts.map +1 -1
- package/dist/library/src/user-library.d.ts +1 -9
- package/dist/library/src/user-library.d.ts.map +1 -1
- package/dist/{library-publish-KKT73FJK.js → library-publish-TCFU3X5L.js} +39 -26
- package/dist/library-publish-TCFU3X5L.js.map +1 -0
- package/dist/open-library-SSBN4FX2.js +40 -0
- package/dist/{open-library-R62UBL6E.js.map → open-library-SSBN4FX2.js.map} +1 -1
- package/dist/open-registry-CHCWKV5W.js +32 -0
- package/dist/open-registry-CHCWKV5W.js.map +1 -0
- package/dist/paths-MKSI52PF.js +22 -0
- package/dist/{paths-W4LDORQQ.js.map → paths-MKSI52PF.js.map} +1 -1
- package/dist/{plugin-store-D45CREMJ.js → plugin-store-SVYV7L4C.js} +13 -12
- package/dist/plugin-store-SVYV7L4C.js.map +1 -0
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/src/catalog-source.d.ts +4 -55
- package/dist/plugins/src/catalog-source.d.ts.map +1 -1
- package/dist/plugins/src/index.d.ts +1 -1
- package/dist/plugins/src/index.d.ts.map +1 -1
- package/dist/project-PJ37PM6N.js +35 -0
- package/dist/{project-GCW5DFAB.js.map → project-PJ37PM6N.js.map} +1 -1
- package/dist/resolver/index.js +12 -11
- package/dist/runner/index.js +35 -34
- package/dist/runner/src/compaction/orchestrator.d.ts +2 -1
- package/dist/runner/src/compaction/orchestrator.d.ts.map +1 -1
- package/dist/runner/src/compaction-gate.d.ts +13 -0
- package/dist/runner/src/compaction-gate.d.ts.map +1 -1
- package/dist/runner/src/fleet-health-flag-dispatcher.d.ts +14 -11
- package/dist/runner/src/fleet-health-flag-dispatcher.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +17 -16
- package/dist/sdk/bridge.js +15 -14
- package/dist/sdk/core.js +11 -10
- package/dist/sdk/flow.js +15 -14
- package/dist/sdk/index.js +35 -34
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +12 -11
- package/dist/sdk/runner.js +35 -34
- package/dist/secrets/index.js +2 -2
- package/dist/{setup-Q3LXY5AE.js → setup-JW2ZGCUG.js} +25 -24
- package/dist/setup-JW2ZGCUG.js.map +1 -0
- package/dist/skills-7K2YO3KN.js +26 -0
- package/dist/{skills-R3RPIPWP.js.map → skills-7K2YO3KN.js.map} +1 -1
- package/dist/source-F2VO32W6.js +41 -0
- package/dist/{source-CFQESKJU.js.map → source-F2VO32W6.js.map} +1 -1
- package/dist/{source-manifest-publish-3TCBA2RV.js → source-manifest-publish-AXNII2J4.js} +29 -27
- package/dist/source-manifest-publish-AXNII2J4.js.map +1 -0
- package/dist/tui/index.js +35 -34
- package/dist/tui/index.js.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +40 -18
- package/dist/workspace-plugin/adapters/omp.js +21 -21
- package/dist/workspace-plugin/adapters/omp.js.map +1 -1
- package/dist/workspace-plugin/index.js +1 -1
- package/dist/workspace-plugin/src/adapters/mcp.d.ts +4 -4
- package/dist/workspace-plugin/src/adapters/mcp.d.ts.map +1 -1
- package/dist/workspace-plugin/src/adapters/omp.d.ts +2 -2
- package/dist/workspace-plugin/src/tools/connectors.d.ts +1 -1
- package/dist/workspace-plugin/src/tools/connectors.d.ts.map +1 -1
- package/dist/workspace-plugin/src/tools/skills.d.ts +5 -17
- package/dist/workspace-plugin/src/tools/skills.d.ts.map +1 -1
- package/package.json +7 -1
- package/dist/asset-feeds-KXL45ALC.js +0 -210
- package/dist/asset-feeds-KXL45ALC.js.map +0 -1
- package/dist/chunk-252TK4RU.js.map +0 -1
- package/dist/chunk-35G4M33T.js.map +0 -1
- package/dist/chunk-3C3ODIDE.js.map +0 -1
- package/dist/chunk-5LF27VUB.js.map +0 -1
- package/dist/chunk-5RWL4L3X.js.map +0 -1
- package/dist/chunk-7RC37XFW.js.map +0 -1
- package/dist/chunk-A5EDMBFG.js.map +0 -1
- package/dist/chunk-DOVURNRK.js.map +0 -1
- package/dist/chunk-EB4ZTESQ.js.map +0 -1
- package/dist/chunk-H7N6RWNF.js.map +0 -1
- package/dist/chunk-JEPSP6XK.js.map +0 -1
- package/dist/chunk-NLKIW2VI.js.map +0 -1
- package/dist/chunk-OLMNDIAU.js.map +0 -1
- package/dist/chunk-ORH2BZEM.js.map +0 -1
- package/dist/chunk-P7BU6DAC.js.map +0 -1
- package/dist/chunk-QVZA2MDT.js +0 -81
- package/dist/chunk-QVZA2MDT.js.map +0 -1
- package/dist/chunk-SM6EUQMY.js.map +0 -1
- package/dist/chunk-TQ6XNACF.js.map +0 -1
- package/dist/chunk-TSVRKUGV.js.map +0 -1
- package/dist/chunk-VDBP6Y5M.js.map +0 -1
- package/dist/chunk-X4DKUGV4.js.map +0 -1
- package/dist/chunk-XU7JET5Z.js.map +0 -1
- package/dist/chunk-YV3YI3TA.js.map +0 -1
- package/dist/connectors-T57XL7EA.js +0 -5
- package/dist/discovery/src/domains.d.ts +0 -149
- package/dist/discovery/src/domains.d.ts.map +0 -1
- package/dist/ensure-sources-J5CDTQ36.js.map +0 -1
- package/dist/flows-PX53XFV7.js +0 -25
- package/dist/helpers-EP6H3O3S.js +0 -33
- package/dist/library-publish-KKT73FJK.js.map +0 -1
- package/dist/open-library-R62UBL6E.js +0 -38
- package/dist/paths-W4LDORQQ.js +0 -21
- package/dist/plugin-store-D45CREMJ.js.map +0 -1
- package/dist/project-GCW5DFAB.js +0 -34
- package/dist/setup-Q3LXY5AE.js.map +0 -1
- package/dist/skills-R3RPIPWP.js +0 -25
- package/dist/source-CFQESKJU.js +0 -39
- package/dist/source-manifest-publish-3TCBA2RV.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { declaredConnectErrorKind, ClassifiedConnectError, withConnectErrorKind } from './chunk-KC3OF6B2.js';
|
|
2
|
-
import { OAuthRequiredError, ConnectorFieldMissingError, LegacyAuthGrammarError, resolveAuthRef, readUnavailableMarker, ConnectorStartupError } from './chunk-
|
|
3
|
-
import { EventNormalizer } from './chunk-
|
|
4
|
-
import { resolveModelTier } from './chunk-
|
|
5
|
-
import { createDriver } from './chunk-
|
|
2
|
+
import { OAuthRequiredError, ConnectorFieldMissingError, LegacyAuthGrammarError, resolveAuthRef, readUnavailableMarker, ConnectorStartupError } from './chunk-WKIOWDLQ.js';
|
|
3
|
+
import { EventNormalizer } from './chunk-YIVB7GIP.js';
|
|
4
|
+
import { resolveModelTier } from './chunk-P5UQ56RA.js';
|
|
5
|
+
import { createDriver } from './chunk-RDTHJSGY.js';
|
|
6
6
|
import { pluginRegistry } from './chunk-6E6PKKAD.js';
|
|
7
7
|
import { computeStimulus } from './chunk-IFGTRL2I.js';
|
|
8
|
-
import { interpolateNodeInstruction, resolveNodeBindings, validateConsumedNodeOutput, appendAttempt, resolveTerminalFailureStatus, remainingActiveExecutionMs, deriveCheckEvidence, computeFlowStateFromSnapshots, availableRouterFrontier, evaluateRouterSelection, routerSelectionOutput, planRouterSkips, unsettledRouterBranchIds, countFailedAttempts, hasAutomaticRetryBudget, persistedRouterSelection } from './chunk-
|
|
9
|
-
import { INPUT_SCHEMA_SHAPES_HINT, coerceInputSchema } from './chunk-
|
|
10
|
-
import { parseFlowDefinition } from './chunk-
|
|
11
|
-
import { describeStimulus, buildOrchestratorPrompt, renderSubpromptPrompt, renderStimulusPrompt } from './chunk-
|
|
12
|
-
import { deterministicNodeKindLabel, nodeInstruction, flowDefaults, isAgentNode, isGateNode, isCheckNode, nodeRequiresApproval, isSubFlowNode, isActiveRuntimeNode, isFunctionNode, isSubpromptNode, isRouterNode, nodeIsOptional, nodeLabel, nodeAssets } from './chunk-
|
|
13
|
-
import { classifierDecision, getConsumedOutputSchema, withoutReservedClassifierFields, FLOW_CAPTURE_CHANNELS, captureDestinationFieldName, invalidCaptureDestinationMessage } from './chunk-
|
|
8
|
+
import { resolveFlowOutputFields, interpolateNodeInstruction, resolveNodeBindings, validateConsumedNodeOutput, appendAttempt, resolveTerminalFailureStatus, remainingActiveExecutionMs, deriveCheckEvidence, computeFlowStateFromSnapshots, availableRouterFrontier, evaluateRouterSelection, routerSelectionOutput, planRouterSkips, unsettledRouterBranchIds, countFailedAttempts, hasAutomaticRetryBudget, persistedRouterSelection } from './chunk-UMSWQKCY.js';
|
|
9
|
+
import { undeclaredSubFlowOutputReads, INPUT_SCHEMA_SHAPES_HINT, coerceInputSchema } from './chunk-JUXQUZOQ.js';
|
|
10
|
+
import { parseFlowDefinition } from './chunk-QZLWJETK.js';
|
|
11
|
+
import { describeStimulus, buildOrchestratorPrompt, renderSubpromptPrompt, renderStimulusPrompt } from './chunk-XUUYAS3Z.js';
|
|
12
|
+
import { deterministicNodeKindLabel, nodeInstruction, flowDefaults, isAgentNode, isGateNode, isCheckNode, nodeRequiresApproval, isSubFlowNode, isActiveRuntimeNode, isFunctionNode, isSubpromptNode, isRouterNode, nodeIsOptional, nodeLabel, nodeAssets } from './chunk-NFGRW3L7.js';
|
|
13
|
+
import { classifierDecision, getConsumedOutputSchema, withoutReservedClassifierFields, FLOW_CAPTURE_CHANNELS, captureDestinationFieldName, invalidCaptureDestinationMessage } from './chunk-QCI6D7E4.js';
|
|
14
14
|
import { withActivityLabelDefs } from './chunk-IDEA6CYI.js';
|
|
15
15
|
import { processAlive } from './chunk-4GY63JU6.js';
|
|
16
|
-
import { withFsDeadline, tryWithFsDeadline, FsDeadlineError, fsDeadlineMs } from './chunk-
|
|
16
|
+
import { withFsDeadline, tryWithFsDeadline, FsDeadlineError, fsDeadlineMs } from './chunk-DXUQCMVT.js';
|
|
17
17
|
import { portableSpawn } from './chunk-ICSCSM5D.js';
|
|
18
18
|
import { createLogger, redactCredentials } from './chunk-BOFL7GIF.js';
|
|
19
19
|
import { resolve, relative, sep, isAbsolute, join, dirname } from 'path';
|
|
@@ -96,6 +96,14 @@ function childDefinition(request, authored) {
|
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
+
function childSnapshots(execution) {
|
|
100
|
+
return new Map(
|
|
101
|
+
Object.entries(execution.nodes).map(([id, node]) => [
|
|
102
|
+
id,
|
|
103
|
+
{ status: node.status, output: node.output }
|
|
104
|
+
])
|
|
105
|
+
);
|
|
106
|
+
}
|
|
99
107
|
function terminalError(execution) {
|
|
100
108
|
const failed = Object.values(execution.nodes).find((node) => node.status === "failed");
|
|
101
109
|
if (failed?.error) return failed.error;
|
|
@@ -181,6 +189,12 @@ var SessionInlineSubFlowRunner = class {
|
|
|
181
189
|
].join(" -> ")}`
|
|
182
190
|
);
|
|
183
191
|
}
|
|
192
|
+
const undeclared = undeclaredSubFlowOutputReads(request.parentFlow, request.node.id, authored);
|
|
193
|
+
if (undeclared.length > 0) {
|
|
194
|
+
throw new Error(
|
|
195
|
+
`flow ${request.parentFlow.id} node ${request.node.id} reads output field ${undeclared.join(", ")}, which flow ${authored.id} does not return (declare it in output.schema and bind it in output.bindings)`
|
|
196
|
+
);
|
|
197
|
+
}
|
|
184
198
|
const flow = childDefinition(request, authored);
|
|
185
199
|
const adapter = new FlowAdapter();
|
|
186
200
|
const handle = await adapter.connect(
|
|
@@ -267,11 +281,25 @@ var SessionInlineSubFlowRunner = class {
|
|
|
267
281
|
const execution = session.adapter.getExecution(session.handle);
|
|
268
282
|
if (execution.done || execution.status === "complete") {
|
|
269
283
|
await this.dispose(session);
|
|
284
|
+
let fields;
|
|
285
|
+
try {
|
|
286
|
+
fields = resolveFlowOutputFields(session.flow, childSnapshots(execution));
|
|
287
|
+
} catch (error) {
|
|
288
|
+
return {
|
|
289
|
+
status: "failed",
|
|
290
|
+
error: {
|
|
291
|
+
message: error instanceof Error ? error.message : String(error),
|
|
292
|
+
recoverable: false,
|
|
293
|
+
at: (/* @__PURE__ */ new Date()).toISOString()
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
}
|
|
270
297
|
return {
|
|
271
298
|
status: "complete",
|
|
272
299
|
output: {
|
|
273
300
|
summary: `Inline child flow ${session.flow.id} completed`,
|
|
274
|
-
artifacts: []
|
|
301
|
+
artifacts: [],
|
|
302
|
+
...fields !== void 0 ? { fields } : {}
|
|
275
303
|
}
|
|
276
304
|
};
|
|
277
305
|
}
|
|
@@ -8099,6 +8127,7 @@ function buildSkillBody(descriptor, ops, shellAccess) {
|
|
|
8099
8127
|
}
|
|
8100
8128
|
return lines.join("\n");
|
|
8101
8129
|
}
|
|
8130
|
+
var MOUNT_HEALTH_RANK = { ok: 0, stale: 1, failed: 2 };
|
|
8102
8131
|
var ConnectorManager = class {
|
|
8103
8132
|
/**
|
|
8104
8133
|
* @param workspaceDir - Absolute (or relative) working directory. Filesystem-face
|
|
@@ -8133,6 +8162,11 @@ var ConnectorManager = class {
|
|
|
8133
8162
|
* that will never sync. See {@link listFailedConnectors}.
|
|
8134
8163
|
*/
|
|
8135
8164
|
failedConnectors = /* @__PURE__ */ new Map();
|
|
8165
|
+
/**
|
|
8166
|
+
* Last verdict the host fleet wrote for each connector id. Kept across a
|
|
8167
|
+
* reconnect: the host re-sends a bad verdict only every few minutes.
|
|
8168
|
+
*/
|
|
8169
|
+
fleetHealthVerdicts = /* @__PURE__ */ new Map();
|
|
8136
8170
|
/** Kind of each failed bulk-connect attempt, so a carried failure replays it. */
|
|
8137
8171
|
attemptErrorKinds = /* @__PURE__ */ new Map();
|
|
8138
8172
|
// Allocated absolute mount target → owning connector id; collisions rejected at setup, released on disconnect.
|
|
@@ -8611,10 +8645,16 @@ var ConnectorManager = class {
|
|
|
8611
8645
|
return { id: decl.id, connected: false, error, access: decl.access };
|
|
8612
8646
|
}
|
|
8613
8647
|
/**
|
|
8614
|
-
*
|
|
8615
|
-
* fleet-
|
|
8648
|
+
* Record the host fleet's verdict for a connector (from the
|
|
8649
|
+
* `.skaile/fleet-health/<id>` flag). Report-only: it never gates writes;
|
|
8650
|
+
* `checkMountHealth` folds it into what `connector_list` shows the agent.
|
|
8616
8651
|
*/
|
|
8617
|
-
async reportFleetHealth(
|
|
8652
|
+
async reportFleetHealth(connectorId, verdict) {
|
|
8653
|
+
this.fleetHealthVerdicts.set(connectorId, { verdict, at: (/* @__PURE__ */ new Date()).toISOString() });
|
|
8654
|
+
}
|
|
8655
|
+
/** Forget the host verdict for a connector (its flag file was removed). */
|
|
8656
|
+
clearFleetHealth(connectorId) {
|
|
8657
|
+
this.fleetHealthVerdicts.delete(connectorId);
|
|
8618
8658
|
}
|
|
8619
8659
|
/**
|
|
8620
8660
|
* Compatibility no-op for the removed deferred rclone mount path.
|
|
@@ -8953,13 +8993,75 @@ var ConnectorManager = class {
|
|
|
8953
8993
|
* carries no `fleetManaged: true`).
|
|
8954
8994
|
*/
|
|
8955
8995
|
async checkMountLiveness(id) {
|
|
8996
|
+
if (!this.isFleetManagedMount(id)) return null;
|
|
8997
|
+
return checkFleetMountLiveness(this.active.get(id).handle.mountPath);
|
|
8998
|
+
}
|
|
8999
|
+
/**
|
|
9000
|
+
* Whether `id` is a connected, host fleet-managed mount: the mounts that
|
|
9001
|
+
* `checkMountLiveness` and `checkMountHealth` apply to.
|
|
9002
|
+
*/
|
|
9003
|
+
isFleetManagedMount(id) {
|
|
8956
9004
|
const entry = this.active.get(id);
|
|
8957
|
-
if (!entry || entry.handle.status !== "connected") return
|
|
8958
|
-
|
|
8959
|
-
if (!mountPath) return null;
|
|
9005
|
+
if (!entry || entry.handle.status !== "connected") return false;
|
|
9006
|
+
if (!entry.handle.mountPath) return false;
|
|
8960
9007
|
const state = entry.handle.state;
|
|
8961
|
-
|
|
8962
|
-
|
|
9008
|
+
return state?.fleetManaged === true;
|
|
9009
|
+
}
|
|
9010
|
+
/**
|
|
9011
|
+
* Current health of a connected fleet mount: the in-container liveness probe
|
|
9012
|
+
* plus the host's last verdict, the worse of the two winning. Read-only; it
|
|
9013
|
+
* never remounts and never blocks writes.
|
|
9014
|
+
*
|
|
9015
|
+
* @returns `null` when neither signal applies (unknown id, not connected,
|
|
9016
|
+
* not fleet-managed and no host verdict).
|
|
9017
|
+
*/
|
|
9018
|
+
async checkMountHealth(id) {
|
|
9019
|
+
const entry = this.active.get(id);
|
|
9020
|
+
if (!entry || entry.handle.status !== "connected") return null;
|
|
9021
|
+
const host = this.fleetHealthVerdicts.get(id);
|
|
9022
|
+
const liveness = await this.checkMountLiveness(id);
|
|
9023
|
+
if (!liveness && !host) return null;
|
|
9024
|
+
const now2 = (/* @__PURE__ */ new Date()).toISOString();
|
|
9025
|
+
const candidates = [];
|
|
9026
|
+
if (liveness?.state === "dead") {
|
|
9027
|
+
candidates.push({
|
|
9028
|
+
status: "failed",
|
|
9029
|
+
errorClass: "mount_gone",
|
|
9030
|
+
detail: liveness.reason,
|
|
9031
|
+
checkedAt: now2
|
|
9032
|
+
});
|
|
9033
|
+
} else if (liveness?.state === "unresponsive") {
|
|
9034
|
+
candidates.push({
|
|
9035
|
+
status: "stale",
|
|
9036
|
+
errorClass: "mount_unresponsive",
|
|
9037
|
+
detail: liveness.reason,
|
|
9038
|
+
checkedAt: now2
|
|
9039
|
+
});
|
|
9040
|
+
} else if (liveness) {
|
|
9041
|
+
candidates.push({ status: "ok", checkedAt: now2 });
|
|
9042
|
+
}
|
|
9043
|
+
if (host?.verdict === "error") {
|
|
9044
|
+
candidates.push({ status: "failed", errorClass: "host_error", checkedAt: host.at });
|
|
9045
|
+
} else if (host?.verdict === "degraded") {
|
|
9046
|
+
candidates.push({ status: "stale", errorClass: "host_degraded", checkedAt: host.at });
|
|
9047
|
+
} else if (host && !liveness) {
|
|
9048
|
+
candidates.push({ status: "ok", checkedAt: host.at });
|
|
9049
|
+
}
|
|
9050
|
+
return candidates.reduce(
|
|
9051
|
+
(worst, c) => MOUNT_HEALTH_RANK[c.status] > MOUNT_HEALTH_RANK[worst.status] ? c : worst
|
|
9052
|
+
);
|
|
9053
|
+
}
|
|
9054
|
+
/**
|
|
9055
|
+
* `listConnectors()` with a `health` field on each mount `checkMountHealth`
|
|
9056
|
+
* applies to. Probes run in parallel, each bounded by the liveness deadline.
|
|
9057
|
+
*/
|
|
9058
|
+
async listConnectorsWithHealth() {
|
|
9059
|
+
return Promise.all(
|
|
9060
|
+
this.listConnectors().map(async (c) => {
|
|
9061
|
+
const health = await this.checkMountHealth(c.id);
|
|
9062
|
+
return health ? { ...c, health } : c;
|
|
9063
|
+
})
|
|
9064
|
+
);
|
|
8963
9065
|
}
|
|
8964
9066
|
/**
|
|
8965
9067
|
* Pull the latest remote state for all connected filesystem-face connectors.
|
|
@@ -9197,6 +9299,18 @@ function readFailedConnectors(manager) {
|
|
|
9197
9299
|
return [];
|
|
9198
9300
|
}
|
|
9199
9301
|
}
|
|
9302
|
+
async function buildConnectorListPayload(manager) {
|
|
9303
|
+
const connected = typeof manager.listConnectorsWithHealth === "function" ? await manager.listConnectorsWithHealth() : manager.listConnectors();
|
|
9304
|
+
const payload = { connected, failed: readFailedConnectors(manager) };
|
|
9305
|
+
const unhealthy = connected.flatMap(
|
|
9306
|
+
(c) => c.health && c.health.status !== "ok" ? [{ id: c.id, health: c.health }] : []
|
|
9307
|
+
);
|
|
9308
|
+
if (unhealthy.length > 0) {
|
|
9309
|
+
const names = unhealthy.map((c) => `${c.id} (${c.health.status}, ${c.health.errorClass ?? "unknown"})`).join(", ");
|
|
9310
|
+
payload.notice = `Mount not healthy: ${names}. Tell the user; do not write to it.`;
|
|
9311
|
+
}
|
|
9312
|
+
return payload;
|
|
9313
|
+
}
|
|
9200
9314
|
async function buildSdkConnectorTools(manager, options) {
|
|
9201
9315
|
let sdk = options?.sdk;
|
|
9202
9316
|
if (!sdk) {
|
|
@@ -9231,14 +9345,11 @@ function buildConnectorToolDefs(manager, options) {
|
|
|
9231
9345
|
const tools = [];
|
|
9232
9346
|
tools.push({
|
|
9233
9347
|
name: "connector_list",
|
|
9234
|
-
description: "List connectors as {connected, failed}. `connected` holds the usable connectors with their id, driver, access mode, and available operations; `failed` holds connectors that did not connect this session, with the failure reason \u2014 their mount paths are dead directories, not synced workspaces.
|
|
9348
|
+
description: "List connectors as {connected, failed, notice?}. `connected` holds the usable connectors with their id, driver, access mode, and available operations; a host-managed mount also carries `health` {status: ok|stale|failed, errorClass, checkedAt}, checked live on each call. `failed` holds connectors that did not connect this session, with the failure reason \u2014 their mount paths are dead directories, not synced workspaces. Call this after a write fails under a mount, and before a long write session: if a mount's health is not ok, tell the user and do not write to it. Also use it to discover connectors added after session start (e.g. shared-state stores like 'presence' or 'session' pushed by the host).",
|
|
9235
9349
|
inputSchema: {},
|
|
9236
9350
|
handler: async () => {
|
|
9237
9351
|
try {
|
|
9238
|
-
const entries =
|
|
9239
|
-
connected: manager.listConnectors(),
|
|
9240
|
-
failed: readFailedConnectors(manager)
|
|
9241
|
-
};
|
|
9352
|
+
const entries = await buildConnectorListPayload(manager);
|
|
9242
9353
|
return { content: [{ type: "text", text: JSON.stringify(entries, null, 2) }] };
|
|
9243
9354
|
} catch (err) {
|
|
9244
9355
|
return {
|
|
@@ -9629,9 +9740,23 @@ function buildFilesystemSection(manager, fsConnectors) {
|
|
|
9629
9740
|
"> **Unavailable mounts are read-only at the filesystem layer.** A mount marked `unavailable (syncing / failed)` is not live yet \u2014 its directory is mounted read-only, so writes fail. Do not create files there: the contents are not the real workspace, and anything you write would be a phantom that diverges from the remote once it mounts. Wait for it to become writable (watch the connector status)."
|
|
9630
9741
|
);
|
|
9631
9742
|
}
|
|
9743
|
+
if (fsConnectors.some((c) => isFleetManaged2(manager, c.id))) {
|
|
9744
|
+
lines.push("");
|
|
9745
|
+
lines.push(
|
|
9746
|
+
"If a write under a mount fails, or before a long write session, call `connector_list`: for a mount whose `health.status` is not `ok`, tell the user; do not write to it."
|
|
9747
|
+
);
|
|
9748
|
+
}
|
|
9632
9749
|
appendGitAuthNotes(lines, manager, fsConnectors);
|
|
9633
9750
|
return lines.join("\n");
|
|
9634
9751
|
}
|
|
9752
|
+
function isFleetManaged2(manager, id) {
|
|
9753
|
+
if (typeof manager.isFleetManagedMount !== "function") return false;
|
|
9754
|
+
try {
|
|
9755
|
+
return manager.isFleetManagedMount(id);
|
|
9756
|
+
} catch {
|
|
9757
|
+
return false;
|
|
9758
|
+
}
|
|
9759
|
+
}
|
|
9635
9760
|
function appendGitAuthNotes(lines, manager, fsConnectors) {
|
|
9636
9761
|
const fsConnectorIds = new Set(fsConnectors.map((c) => c.id));
|
|
9637
9762
|
const gitConnectors = manager.listGitConnectors().filter((g) => fsConnectorIds.has(g.id));
|
|
@@ -12009,6 +12134,24 @@ var FlowAdapter = class extends AbstractConnector {
|
|
|
12009
12134
|
this.projectInlineInteraction(handle, node.id, result.projection);
|
|
12010
12135
|
continue;
|
|
12011
12136
|
}
|
|
12137
|
+
if (result.status === "complete") {
|
|
12138
|
+
const validation = validateConsumedNodeOutput(
|
|
12139
|
+
state.flowDef,
|
|
12140
|
+
node.id,
|
|
12141
|
+
result.output?.fields
|
|
12142
|
+
);
|
|
12143
|
+
if (!validation.valid) {
|
|
12144
|
+
result = {
|
|
12145
|
+
status: "failed",
|
|
12146
|
+
error: {
|
|
12147
|
+
message: `Sub-flow node ${node.id} failed: output does not match its consumed schema: ${validation.issues.join("; ")}`,
|
|
12148
|
+
recoverable: false,
|
|
12149
|
+
at: now()
|
|
12150
|
+
},
|
|
12151
|
+
output: result.output
|
|
12152
|
+
};
|
|
12153
|
+
}
|
|
12154
|
+
}
|
|
12012
12155
|
let subFlowRetrying = false;
|
|
12013
12156
|
this.mutate(
|
|
12014
12157
|
handle,
|
|
@@ -13140,6 +13283,6 @@ function describeFlowOperations() {
|
|
|
13140
13283
|
return new FlowAdapter().tools.describeOperations({ access: "read-write" });
|
|
13141
13284
|
}
|
|
13142
13285
|
|
|
13143
|
-
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, BoxConnector, CONNECT_FAILURE_CARRY_OVER_TTL_MS, ClassifierSubpromptRunner, ConnectFailureCarryOver, ConnectorManager, DeployConnector, DevServerConnector, FlowAdapter, GitConnector, GmailConnector, GoogleDriveConnector, LocalConnector, LogBuffer, MAX_REARM_MS, MIN_REFRESH_DELAY_MS, ManagedGitconfigCollisionError, MattermostConnector, MemoryConnector, MinIOConnector, NO_ACTIVE_FLOW_ERROR, PortPool, PostgresConnector, REFRESH_LEAD_MS, S3Connector, S3FetchStoppedError, S3PresignedRequestError, S3_PRESIGN_BATCH, SQLiteConnector, SessionInlineSubFlowRunner, SessionNodeExecutor, SessionSubpromptRunner, SharePointConnector, StaticServerConnector, TunnelConnector, WebDAVConnector, XStateConnector, XStateStoreConnector, __test, atomicReplaceCredential, buildConnectorPromptSection, buildConnectorToolDefs, buildFlowPromptEvent, buildFlowToolDefs, buildLazyFlowToolDefs, buildLazySdkFlowTools, buildSdkConnectorTools, buildSdkFlowTools, checkFleetMountLiveness, classifierQuestion, classifyConnectError, createConnector, createConnector10, createConnector11, createConnector12, createConnector13, createConnector14, createConnector15, createConnector16, createConnector17, createConnector18, createConnector19, createConnector2, createConnector20, createConnector3, createConnector4, createConnector5, createConnector6, createConnector7, createConnector8, createConnector9, createFsWatcher, createWorktree, defaultSpawn, describeFlowOperations, driveOrchestratorTurn, ensureDirMode, ensureFleetMounted, ensureRefreshAttemptStamp, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, missingTokenMediatorMessage, parseListObjectsV2, presignScopePrefix, presignableKey, readGitSyncStatus, registerBuiltinConnectors, removeMountBlock, removeUnavailableMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock, writeUnavailableMountBlock };
|
|
13144
|
-
//# sourceMappingURL=chunk-
|
|
13145
|
-
//# sourceMappingURL=chunk-
|
|
13286
|
+
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, BoxConnector, CONNECT_FAILURE_CARRY_OVER_TTL_MS, ClassifierSubpromptRunner, ConnectFailureCarryOver, ConnectorManager, DeployConnector, DevServerConnector, FlowAdapter, GitConnector, GmailConnector, GoogleDriveConnector, LocalConnector, LogBuffer, MAX_REARM_MS, MIN_REFRESH_DELAY_MS, ManagedGitconfigCollisionError, MattermostConnector, MemoryConnector, MinIOConnector, NO_ACTIVE_FLOW_ERROR, PortPool, PostgresConnector, REFRESH_LEAD_MS, S3Connector, S3FetchStoppedError, S3PresignedRequestError, S3_PRESIGN_BATCH, SQLiteConnector, SessionInlineSubFlowRunner, SessionNodeExecutor, SessionSubpromptRunner, SharePointConnector, StaticServerConnector, TunnelConnector, WebDAVConnector, XStateConnector, XStateStoreConnector, __test, atomicReplaceCredential, buildConnectorListPayload, buildConnectorPromptSection, buildConnectorToolDefs, buildFlowPromptEvent, buildFlowToolDefs, buildLazyFlowToolDefs, buildLazySdkFlowTools, buildSdkConnectorTools, buildSdkFlowTools, checkFleetMountLiveness, classifierQuestion, classifyConnectError, createConnector, createConnector10, createConnector11, createConnector12, createConnector13, createConnector14, createConnector15, createConnector16, createConnector17, createConnector18, createConnector19, createConnector2, createConnector20, createConnector3, createConnector4, createConnector5, createConnector6, createConnector7, createConnector8, createConnector9, createFsWatcher, createWorktree, defaultSpawn, describeFlowOperations, driveOrchestratorTurn, ensureDirMode, ensureFleetMounted, ensureRefreshAttemptStamp, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, missingTokenMediatorMessage, parseListObjectsV2, presignScopePrefix, presignableKey, readGitSyncStatus, registerBuiltinConnectors, removeMountBlock, removeUnavailableMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock, writeUnavailableMountBlock };
|
|
13287
|
+
//# sourceMappingURL=chunk-QFZFZXQW.js.map
|
|
13288
|
+
//# sourceMappingURL=chunk-QFZFZXQW.js.map
|