@skaile/workspaces 5.18.1 → 5.19.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 +82 -0
- package/dist/{asset-feeds-MKB5JUML.js → asset-feeds-QGLI3AXI.js} +16 -16
- package/dist/{asset-feeds-MKB5JUML.js.map → asset-feeds-QGLI3AXI.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +5 -5
- package/dist/asset-manager/index.js +12 -12
- package/dist/asset-manager/installer.js +8 -8
- package/dist/asset-manager/renderers.js +7 -7
- package/dist/asset-manager/src/index.d.ts +91 -2
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/asset-manager/src/mcp-config.d.ts +29 -3
- package/dist/asset-manager/src/mcp-config.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +22 -20
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +11 -11
- package/dist/bridge/drivers/continue.js +10 -10
- package/dist/bridge/drivers/echo.js +2 -2
- package/dist/bridge/drivers/gemini.js +8 -8
- package/dist/bridge/drivers/goose.js +10 -10
- package/dist/bridge/drivers/omp.js +18 -460
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +10 -10
- package/dist/bridge/drivers/qwen.js +8 -8
- package/dist/bridge/index.js +15 -13
- package/dist/bridge/src/driver-model-check.d.ts +8 -4
- package/dist/bridge/src/driver-model-check.d.ts.map +1 -1
- package/dist/bridge/src/drivers/_subprocess-cli.d.ts.map +1 -1
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp-models-yml.d.ts +11 -0
- package/dist/bridge/src/drivers/omp-models-yml.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
- package/dist/{chunk-V3D4HQMS.js → chunk-25ZVWL2R.js} +4 -4
- package/dist/{chunk-V3D4HQMS.js.map → chunk-25ZVWL2R.js.map} +1 -1
- package/dist/{chunk-7FHZB2QU.js → chunk-2GXSSZAM.js} +3 -3
- package/dist/{chunk-7FHZB2QU.js.map → chunk-2GXSSZAM.js.map} +1 -1
- package/dist/{chunk-VOBXINUZ.js → chunk-2LSDMJI2.js} +3 -3
- package/dist/{chunk-VOBXINUZ.js.map → chunk-2LSDMJI2.js.map} +1 -1
- package/dist/{chunk-CKBCX3HQ.js → chunk-2PBSAH3Z.js} +4 -4
- package/dist/{chunk-CKBCX3HQ.js.map → chunk-2PBSAH3Z.js.map} +1 -1
- package/dist/{chunk-CKNIYIV2.js → chunk-335ENCCS.js} +5 -5
- package/dist/chunk-335ENCCS.js.map +1 -0
- package/dist/{chunk-PBSN4RTV.js → chunk-7NT4F6SR.js} +151 -27
- package/dist/chunk-7NT4F6SR.js.map +1 -0
- package/dist/{chunk-YARXR3CN.js → chunk-7SCS64BG.js} +13 -7
- package/dist/chunk-7SCS64BG.js.map +1 -0
- package/dist/{chunk-U2FI547Z.js → chunk-7XSAW5OC.js} +3 -3
- package/dist/{chunk-U2FI547Z.js.map → chunk-7XSAW5OC.js.map} +1 -1
- package/dist/{chunk-KSBDLCZI.js → chunk-A6SMCEEE.js} +2 -2
- package/dist/{chunk-KSBDLCZI.js.map → chunk-A6SMCEEE.js.map} +1 -1
- package/dist/{chunk-SRNCN4X2.js → chunk-C7WBGSBV.js} +4 -4
- package/dist/{chunk-SRNCN4X2.js.map → chunk-C7WBGSBV.js.map} +1 -1
- package/dist/chunk-COJIL7G4.js +505 -0
- package/dist/chunk-COJIL7G4.js.map +1 -0
- package/dist/{chunk-KY4UXX7M.js → chunk-CQJH4G2K.js} +2 -2
- package/dist/{chunk-KY4UXX7M.js.map → chunk-CQJH4G2K.js.map} +1 -1
- package/dist/{chunk-WJLYL6RY.js → chunk-F6AA42GW.js} +5 -5
- package/dist/{chunk-WJLYL6RY.js.map → chunk-F6AA42GW.js.map} +1 -1
- package/dist/{chunk-IW6F6R2W.js → chunk-FPHNJE4M.js} +102 -32
- package/dist/chunk-FPHNJE4M.js.map +1 -0
- package/dist/{chunk-ZBMC6IAE.js → chunk-HT35SQZD.js} +15 -14
- package/dist/chunk-HT35SQZD.js.map +1 -0
- package/dist/chunk-HU5HVKY7.js +285 -0
- package/dist/chunk-HU5HVKY7.js.map +1 -0
- package/dist/{chunk-HPVMTX6M.js → chunk-I37INEWE.js} +47 -12
- package/dist/chunk-I37INEWE.js.map +1 -0
- package/dist/{chunk-WJCQFNF6.js → chunk-I7TWVK6N.js} +3 -3
- package/dist/{chunk-WJCQFNF6.js.map → chunk-I7TWVK6N.js.map} +1 -1
- package/dist/{chunk-D6UBEYQH.js → chunk-IF6IA3PZ.js} +6 -6
- package/dist/chunk-IF6IA3PZ.js.map +1 -0
- package/dist/{chunk-AIBAOXDU.js → chunk-IP2IPMEH.js} +7 -7
- package/dist/{chunk-AIBAOXDU.js.map → chunk-IP2IPMEH.js.map} +1 -1
- package/dist/{chunk-X6GUNN7X.js → chunk-J24CY3PF.js} +8 -8
- package/dist/chunk-J24CY3PF.js.map +1 -0
- package/dist/{chunk-YZ3N7IUU.js → chunk-JTOWA6RS.js} +60 -19
- package/dist/{chunk-YZ3N7IUU.js.map → chunk-JTOWA6RS.js.map} +1 -1
- package/dist/{chunk-BBWSGVVE.js → chunk-MKRWN7XP.js} +4 -4
- package/dist/{chunk-BBWSGVVE.js.map → chunk-MKRWN7XP.js.map} +1 -1
- package/dist/{chunk-VM3PH7BB.js → chunk-MRHVPQNO.js} +519 -86
- package/dist/chunk-MRHVPQNO.js.map +1 -0
- package/dist/{chunk-A2ULN3KX.js → chunk-MWXYN6NY.js} +2 -2
- package/dist/{chunk-A2ULN3KX.js.map → chunk-MWXYN6NY.js.map} +1 -1
- package/dist/{chunk-T2TQAH2X.js → chunk-N46LQR46.js} +74 -18
- package/dist/chunk-N46LQR46.js.map +1 -0
- package/dist/{chunk-CD7SVH6W.js → chunk-PYJS5K7V.js} +3 -3
- package/dist/{chunk-CD7SVH6W.js.map → chunk-PYJS5K7V.js.map} +1 -1
- package/dist/{chunk-BO426QWN.js → chunk-QG6GHTRM.js} +4 -4
- package/dist/{chunk-BO426QWN.js.map → chunk-QG6GHTRM.js.map} +1 -1
- package/dist/{chunk-RD6N2D7I.js → chunk-R4I3VBSS.js} +2 -2
- package/dist/{chunk-RD6N2D7I.js.map → chunk-R4I3VBSS.js.map} +1 -1
- package/dist/{chunk-OYIENLJI.js → chunk-RO6VOM6Z.js} +15 -15
- package/dist/{chunk-OYIENLJI.js.map → chunk-RO6VOM6Z.js.map} +1 -1
- package/dist/{chunk-B4X2N7JQ.js → chunk-RPZVHXQ3.js} +12 -12
- package/dist/chunk-RPZVHXQ3.js.map +1 -0
- package/dist/{chunk-KC6HGWXN.js → chunk-TIIXG3PN.js} +3 -3
- package/dist/{chunk-KC6HGWXN.js.map → chunk-TIIXG3PN.js.map} +1 -1
- package/dist/{chunk-CKICWXMU.js → chunk-UQ33Y4DM.js} +139 -10
- package/dist/chunk-UQ33Y4DM.js.map +1 -0
- package/dist/{chunk-2NOLF7B2.js → chunk-V257LUBM.js} +16 -7
- package/dist/chunk-V257LUBM.js.map +1 -0
- package/dist/{chunk-2ABUJYVI.js → chunk-VIM3PWZM.js} +3 -3
- package/dist/{chunk-2ABUJYVI.js.map → chunk-VIM3PWZM.js.map} +1 -1
- package/dist/{chunk-3KMREAR2.js → chunk-VJ7NU7GD.js} +22 -22
- package/dist/{chunk-3KMREAR2.js.map → chunk-VJ7NU7GD.js.map} +1 -1
- package/dist/{chunk-GBYNC5V3.js → chunk-VSZWNUZC.js} +3 -3
- package/dist/{chunk-GBYNC5V3.js.map → chunk-VSZWNUZC.js.map} +1 -1
- package/dist/{chunk-XTO436PV.js → chunk-W4Q6CKJ5.js} +6 -6
- package/dist/chunk-W4Q6CKJ5.js.map +1 -0
- package/dist/{chunk-7ANRSTNR.js → chunk-WG6V4ISA.js} +34 -15
- package/dist/chunk-WG6V4ISA.js.map +1 -0
- package/dist/{chunk-RP3FZ2T6.js → chunk-WOIRYY5L.js} +110 -37
- package/dist/chunk-WOIRYY5L.js.map +1 -0
- package/dist/{chunk-WMF2C5U7.js → chunk-WST6UITC.js} +6 -6
- package/dist/{chunk-WMF2C5U7.js.map → chunk-WST6UITC.js.map} +1 -1
- package/dist/{chunk-X3AUS4RW.js → chunk-X4ZZTHU3.js} +4 -4
- package/dist/{chunk-X3AUS4RW.js.map → chunk-X4ZZTHU3.js.map} +1 -1
- package/dist/{chunk-GOK4QRJR.js → chunk-XJVBUDDJ.js} +5 -5
- package/dist/{chunk-GOK4QRJR.js.map → chunk-XJVBUDDJ.js.map} +1 -1
- package/dist/{chunk-VKPBUPH7.js → chunk-XM6T2AZ2.js} +36 -11
- package/dist/chunk-XM6T2AZ2.js.map +1 -0
- package/dist/{chunk-34C2EKWJ.js → chunk-XWOPZW26.js} +3 -3
- package/dist/{chunk-34C2EKWJ.js.map → chunk-XWOPZW26.js.map} +1 -1
- package/dist/{chunk-LW7ZI6EQ.js → chunk-Y5MBW5EU.js} +3 -3
- package/dist/chunk-Y5MBW5EU.js.map +1 -0
- package/dist/{chunk-U7V5SIFW.js → chunk-ZQSOJH6I.js} +36 -18
- package/dist/chunk-ZQSOJH6I.js.map +1 -0
- package/dist/{chunk-JYWW32JI.js → chunk-ZX4KRWRB.js} +17 -5
- package/dist/chunk-ZX4KRWRB.js.map +1 -0
- package/dist/claude-code-2PU7TITZ.js +10 -0
- package/dist/claude-code-2PU7TITZ.js.map +1 -0
- package/dist/cli/index.js +574 -492
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/agent-checks.d.ts +5 -0
- package/dist/cli/src/agent-checks.d.ts.map +1 -1
- package/dist/cli/src/agent-pins.d.ts +18 -0
- package/dist/cli/src/agent-pins.d.ts.map +1 -0
- package/dist/cli/src/commands/catalog.d.ts +6 -0
- 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/diff.d.ts.map +1 -1
- package/dist/cli/src/commands/flow.d.ts +8 -8
- package/dist/cli/src/commands/flow.d.ts.map +1 -1
- package/dist/cli/src/commands/integration.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-index.d.ts +17 -5
- package/dist/cli/src/commands/library-index.d.ts.map +1 -1
- package/dist/cli/src/commands/library-publish.d.ts +3 -0
- package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-assets.d.ts +2 -0
- package/dist/cli/src/commands/migrate-assets.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate.d.ts.map +1 -1
- package/dist/cli/src/commands/outdated.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin/claude-code.d.ts +6 -0
- package/dist/cli/src/commands/plugin/claude-code.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin/codex.d.ts +19 -4
- package/dist/cli/src/commands/plugin/codex.d.ts.map +1 -1
- package/dist/cli/src/commands/preset-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts +6 -3
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/providers.d.ts +13 -0
- package/dist/cli/src/commands/providers.d.ts.map +1 -1
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/serve-preflight.d.ts +23 -0
- package/dist/cli/src/commands/serve-preflight.d.ts.map +1 -1
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/driver-error.d.ts +7 -0
- package/dist/cli/src/driver-error.d.ts.map +1 -1
- package/dist/cli/src/flow-discovery.d.ts +69 -53
- package/dist/cli/src/flow-discovery.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/index.d.ts +6 -2
- package/dist/cli/src/plugin-store/index.d.ts.map +1 -1
- package/dist/cli/src/skill-checks.d.ts +32 -1
- package/dist/cli/src/skill-checks.d.ts.map +1 -1
- package/dist/connectors/config.js +3 -3
- package/dist/connectors/index.js +18 -16
- package/dist/{connectors-YNQ3WJGM.js → connectors-RBGZ3M7G.js} +21 -19
- package/dist/{connectors-YNQ3WJGM.js.map → connectors-RBGZ3M7G.js.map} +1 -1
- package/dist/core/discovery.js +1 -1
- package/dist/core/index.js +5 -5
- package/dist/core/publish-manifest.js +1 -1
- package/dist/core/runtime-assets.js +3 -3
- package/dist/core/src/asset-roots.d.ts +14 -0
- package/dist/core/src/asset-roots.d.ts.map +1 -1
- package/dist/core/src/bind.d.ts +33 -14
- package/dist/core/src/bind.d.ts.map +1 -1
- package/dist/core/src/discovery.d.ts +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 +8 -0
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/publish-manifest.d.ts +45 -10
- package/dist/core/src/publish-manifest.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +18 -1
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/workspace-config.js +2 -2
- package/dist/deploy/index.js +5 -5
- package/dist/discovery/index.js +3 -3
- package/dist/discovery/src/discover-manifest.d.ts +1 -1
- package/dist/discovery/src/discover-manifest.d.ts.map +1 -1
- package/dist/discovery/src/discover.d.ts.map +1 -1
- package/dist/discovery/src/tree-entries.d.ts.map +1 -1
- package/dist/{ensure-sources-UJWEZSR3.js → ensure-sources-GKVLE6L5.js} +15 -15
- package/dist/{ensure-sources-UJWEZSR3.js.map → ensure-sources-GKVLE6L5.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +18 -16
- package/dist/factory-assets/connectors/deploy.js +18 -16
- package/dist/factory-assets/connectors/devserver.js +18 -16
- package/dist/factory-assets/connectors/flow/adapter.js +18 -16
- package/dist/factory-assets/connectors/flow/engine/loader.d.ts +1 -1
- package/dist/factory-assets/connectors/flow/engine/locate.d.ts +8 -5
- package/dist/factory-assets/connectors/flow/engine/locate.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +6 -6
- package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +19 -17
- package/dist/factory-assets/connectors/flow.js +18 -16
- package/dist/factory-assets/connectors/git.js +18 -16
- package/dist/factory-assets/connectors/gmail.js +18 -16
- package/dist/factory-assets/connectors/googledrive.js +18 -16
- package/dist/factory-assets/connectors/local.js +18 -16
- package/dist/factory-assets/connectors/mattermost.js +18 -16
- package/dist/factory-assets/connectors/memory.js +18 -16
- package/dist/factory-assets/connectors/minio.js +18 -16
- package/dist/factory-assets/connectors/postgres.js +18 -16
- package/dist/factory-assets/connectors/s3.js +18 -16
- package/dist/factory-assets/connectors/sharepoint.js +18 -16
- package/dist/factory-assets/connectors/sqlite.js +18 -16
- package/dist/factory-assets/connectors/static-server.js +18 -16
- package/dist/factory-assets/connectors/tunnel.js +18 -16
- package/dist/factory-assets/connectors/webdav.js +18 -16
- package/dist/factory-assets/connectors/xstate/adapter.d.ts +1 -1
- package/dist/factory-assets/connectors/xstate/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/xstate-store.js +18 -16
- package/dist/factory-assets/connectors/xstate.js +18 -16
- package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +1 -1
- package/dist/{flows-BHY73K3O.js → flows-W2FB7WIM.js} +8 -8
- package/dist/{flows-BHY73K3O.js.map → flows-W2FB7WIM.js.map} +1 -1
- package/dist/{helpers-3CG7ZVX4.js → helpers-34QNVIGB.js} +15 -15
- package/dist/{helpers-3CG7ZVX4.js.map → helpers-34QNVIGB.js.map} +1 -1
- package/dist/library/index.js +9 -9
- 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/manifest-writer.d.ts +13 -0
- package/dist/library/src/manifest-writer.d.ts.map +1 -1
- package/dist/{library-publish-NWWVYJUK.js → library-publish-RUQTKTJU.js} +125 -48
- package/dist/library-publish-RUQTKTJU.js.map +1 -0
- package/dist/model-endpoint/index.js +8 -8
- package/dist/{open-library-7ZG2FFAX.js → open-library-PVTIUQUF.js} +18 -18
- package/dist/{open-library-7ZG2FFAX.js.map → open-library-PVTIUQUF.js.map} +1 -1
- package/dist/{open-registry-RBELV5YH.js → open-registry-SOIS3TA2.js} +13 -13
- package/dist/{open-registry-RBELV5YH.js.map → open-registry-SOIS3TA2.js.map} +1 -1
- package/dist/{paths-BFM6K2QO.js → paths-JLNX7Y4X.js} +8 -8
- package/dist/{paths-BFM6K2QO.js.map → paths-JLNX7Y4X.js.map} +1 -1
- package/dist/{plugin-store-QOQDM24E.js → plugin-store-G2GWAHSD.js} +8 -8
- package/dist/{plugin-store-QOQDM24E.js.map → plugin-store-G2GWAHSD.js.map} +1 -1
- package/dist/{project-YQM3I25D.js → project-EX47PUBN.js} +38 -37
- package/dist/{project-YQM3I25D.js.map → project-EX47PUBN.js.map} +1 -1
- package/dist/resolver/index.js +5 -5
- package/dist/runner/index.js +30 -29
- package/dist/runner/src/agents/instances.d.ts.map +1 -1
- package/dist/runner/src/composition/compile.d.ts +11 -0
- package/dist/runner/src/composition/compile.d.ts.map +1 -1
- package/dist/runner/src/composition/index.d.ts +1 -1
- package/dist/runner/src/composition/index.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/turn-end-contract.d.ts +55 -0
- package/dist/runner/src/turn-end-contract.d.ts.map +1 -0
- package/dist/runner/src/turn-scheduler.d.ts +5 -0
- package/dist/runner/src/turn-scheduler.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +12 -12
- package/dist/sdk/bridge.js +15 -13
- package/dist/sdk/core.js +5 -5
- package/dist/sdk/flow.js +6 -6
- package/dist/sdk/index.js +30 -29
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +5 -5
- package/dist/sdk/runner.js +30 -29
- package/dist/sdk/transport/ws/server.js +6 -6
- package/dist/sdk/transport/ws.js +6 -6
- package/dist/sdk/transport.js +6 -6
- package/dist/serve-preflight-QXRKGOI5.js +108 -0
- package/dist/serve-preflight-QXRKGOI5.js.map +1 -0
- package/dist/{setup-AAHVAXRA.js → setup-AFZQNGKA.js} +25 -23
- package/dist/setup-AFZQNGKA.js.map +1 -0
- package/dist/{skills-RSZVUIYZ.js → skills-YYYC6D5X.js} +8 -8
- package/dist/{skills-RSZVUIYZ.js.map → skills-YYYC6D5X.js.map} +1 -1
- package/dist/{source-KWMCMEMB.js → source-DGPCT5IC.js} +40 -39
- package/dist/{source-KWMCMEMB.js.map → source-DGPCT5IC.js.map} +1 -1
- package/dist/{source-manifest-publish-EDYKM4YZ.js → source-manifest-publish-AGJ63JF2.js} +42 -41
- package/dist/source-manifest-publish-AGJ63JF2.js.map +1 -0
- package/dist/transport/index.js +6 -6
- package/dist/transport/src/ws/server.d.ts +1 -1
- package/dist/transport/src/ws/server.d.ts.map +1 -1
- package/dist/transport/ws/server.js +6 -6
- package/dist/transport/ws.js +6 -6
- package/dist/tui/index.js +30 -29
- package/dist/tui/index.js.map +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/manifests/scaffold-body.d.ts +6 -3
- package/dist/types/src/manifests/scaffold-body.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +22 -20
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2NOLF7B2.js.map +0 -1
- package/dist/chunk-7ANRSTNR.js.map +0 -1
- package/dist/chunk-B4X2N7JQ.js.map +0 -1
- package/dist/chunk-CKICWXMU.js.map +0 -1
- package/dist/chunk-CKNIYIV2.js.map +0 -1
- package/dist/chunk-D6UBEYQH.js.map +0 -1
- package/dist/chunk-HPVMTX6M.js.map +0 -1
- package/dist/chunk-IW6F6R2W.js.map +0 -1
- package/dist/chunk-JYWW32JI.js.map +0 -1
- package/dist/chunk-LW7ZI6EQ.js.map +0 -1
- package/dist/chunk-PBSN4RTV.js.map +0 -1
- package/dist/chunk-RP3FZ2T6.js.map +0 -1
- package/dist/chunk-T2TQAH2X.js.map +0 -1
- package/dist/chunk-U7V5SIFW.js.map +0 -1
- package/dist/chunk-VKPBUPH7.js.map +0 -1
- package/dist/chunk-VM3PH7BB.js.map +0 -1
- package/dist/chunk-X6GUNN7X.js.map +0 -1
- package/dist/chunk-XTO436PV.js.map +0 -1
- package/dist/chunk-YARXR3CN.js.map +0 -1
- package/dist/chunk-ZBMC6IAE.js.map +0 -1
- package/dist/library-publish-NWWVYJUK.js.map +0 -1
- package/dist/serve-preflight-5QMY7DBC.js +0 -60
- package/dist/serve-preflight-5QMY7DBC.js.map +0 -1
- package/dist/setup-AAHVAXRA.js.map +0 -1
- package/dist/source-manifest-publish-EDYKM4YZ.js.map +0 -1
|
@@ -1,57 +1,63 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* flow-discovery.ts — multi-root flow discovery for the CLI.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* root, bundled factory-assets when installed / the monorepo `ai-assets/` in dev,
|
|
6
|
-
* `~/.skaile/libraries/`, and the global `~/.skaile/` install root) through the
|
|
7
|
-
* layout-tolerant `loadAllFlowEntries`, so an installed flow and a built-in flow
|
|
8
|
-
* are discovered the same way. De-duplicated by flow id (first root wins).
|
|
4
|
+
* Two scopes, one identity rule.
|
|
9
5
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* `
|
|
13
|
-
*
|
|
14
|
-
*
|
|
6
|
+
* **Project scope** (what `flow list`, `flow show` and `skaile run <id>` use): the flows the
|
|
7
|
+
* project declared and deployed — its own `.skaile/` install root (where `skaile install` /
|
|
8
|
+
* `skaile add` write them), the project's `ai-assets/` tree, and the first-party
|
|
9
|
+
* `factory-assets/` layers. Nothing else on the machine counts: not the registered libraries,
|
|
10
|
+
* not the source clones in the machine cache, not `~/.skaile/`. A flow that runs for you
|
|
11
|
+
* therefore runs for a teammate with the same `skaile.yaml` (p1353). {@link discoverProjectFlows}
|
|
12
|
+
* / {@link findProjectFlowFile}.
|
|
15
13
|
*
|
|
16
|
-
*
|
|
17
|
-
* root
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* unlisted. Closing that gap means teaching listing the same upward walk —
|
|
21
|
-
* tracked separately, not papered over here.
|
|
14
|
+
* **Machine scope** (`flow list --all`, `flow show --all`): every {@link aiResourceRoots}
|
|
15
|
+
* root (project install root, factory-assets, `~/.skaile/libraries/`, the global `~/.skaile/`
|
|
16
|
+
* root) plus the flows of every registered authoring library. {@link discoverFlows} /
|
|
17
|
+
* {@link discoverFlowsWithLibraries} / {@link discoverOtherFlows} / {@link findLibraryFlow}.
|
|
22
18
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
19
|
+
* A flow's identity is its declared `id` — never its filename. Listing and resolution run over
|
|
20
|
+
* the same enumeration, so on the shared roots what `flow list` prints is exactly what `run`
|
|
21
|
+
* can start. Both entry points take the same optional `projectDir`: pass the *same* value to
|
|
22
|
+
* both, or a `--project-dir` run can start a flow the matching list never showed.
|
|
23
|
+
*
|
|
24
|
+
* Registered local libraries are the one source the sync root walk cannot reach (their flows
|
|
25
|
+
* sit at `<lib>/<name>/` or `<lib>/<dir>/<name>/`, not under `flows/`). A library flow is
|
|
26
|
+
* named by its `id:` and its file stem must equal it — the rule `validate`, `library index`,
|
|
27
|
+
* the publish plan and `add` apply ({@link flowFileNameError}). A library flow that breaks it is
|
|
28
|
+
* no flow here either, so `flow list --all` cannot show what `add` refuses (p871).
|
|
28
29
|
*/
|
|
29
30
|
import { type FlowFileEntry, loadAllFlowEntries } from "@skaile/workspaces/factory-assets/connectors/flow/engine";
|
|
30
31
|
type FlowDefinition = ReturnType<typeof loadAllFlowEntries>[number]["flow"];
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* The flows of this project: what it declared and deployed (see the file header). The set
|
|
34
|
+
* `flow list`, `flow show` and `skaile run <id>` read.
|
|
33
35
|
*
|
|
34
|
-
* @param projectDir - Project
|
|
35
|
-
* (default: `process.cwd()`).
|
|
36
|
+
* @param projectDir - Project directory (default: `process.cwd()`).
|
|
36
37
|
*/
|
|
37
|
-
export declare function
|
|
38
|
+
export declare function discoverProjectFlows(projectDir?: string): FlowDefinition[];
|
|
38
39
|
/**
|
|
39
|
-
* Locate the
|
|
40
|
-
*
|
|
41
|
-
* root, and both flow layouts (flat and per-flow directory).
|
|
42
|
-
*
|
|
43
|
-
* A thin binding of the shared `findFlowFileInRoots` to the CLI's root order —
|
|
44
|
-
* the same lookup `resume`, sub-flow targets and `serve` run, so what `run`
|
|
45
|
-
* starts is what those can later find.
|
|
40
|
+
* Locate the file of the project flow **whose declared `id`** is `flowId`: the lookup that
|
|
41
|
+
* `skaile run <id>` does, over exactly the roots {@link discoverProjectFlows} lists from.
|
|
46
42
|
*
|
|
47
|
-
*
|
|
48
|
-
|
|
43
|
+
* @param projectDir - Project directory; pass the same value as to {@link discoverProjectFlows}.
|
|
44
|
+
*/
|
|
45
|
+
export declare function findProjectFlowFile(flowId: string, projectDir?: string): string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* All flows across every machine-wide content root ({@link aiResourceRoots}), de-duplicated by
|
|
48
|
+
* id. Not the project's flows: see {@link discoverProjectFlows}.
|
|
49
49
|
*
|
|
50
50
|
* @param projectDir - Project whose `.skaile/` install root to include
|
|
51
|
-
* (default: `process.cwd()`).
|
|
52
|
-
* {@link discoverFlows} for "listed" and "runnable" to stay the same set.
|
|
51
|
+
* (default: `process.cwd()`).
|
|
53
52
|
*/
|
|
54
|
-
export declare function
|
|
53
|
+
export declare function discoverFlows(projectDir?: string): FlowDefinition[];
|
|
54
|
+
/** A flow of a registered authoring library, with the asset ref `skaile add` takes for it. */
|
|
55
|
+
export interface LibraryFlowEntry extends FlowFileEntry {
|
|
56
|
+
/** `flow:@<publisher>/<name>`: what `skaile add` takes for this flow. */
|
|
57
|
+
ref: string;
|
|
58
|
+
/** Name of the library that holds it (`skaile library list`). */
|
|
59
|
+
library: string;
|
|
60
|
+
}
|
|
55
61
|
/**
|
|
56
62
|
* Every flow held by a registered authoring library, wherever it sits in the
|
|
57
63
|
* library tree.
|
|
@@ -77,29 +83,39 @@ export declare function findFlowFile(flowId: string, priorityRoots?: string[], p
|
|
|
77
83
|
* reused; {@link resetLibraryFlowCache} drops it for tests that register
|
|
78
84
|
* libraries between lookups.
|
|
79
85
|
*/
|
|
80
|
-
export declare function libraryFlowEntries(): Promise<
|
|
86
|
+
export declare function libraryFlowEntries(): Promise<LibraryFlowEntry[]>;
|
|
81
87
|
/** Drop the memoized {@link libraryFlowEntries} result. Tests only. */
|
|
82
88
|
export declare function resetLibraryFlowCache(): void;
|
|
83
89
|
/**
|
|
84
|
-
* {@link discoverFlows} plus the flows of every registered local library
|
|
90
|
+
* {@link discoverFlows} plus the flows of every registered local library: the machine-wide set
|
|
91
|
+
* behind `flow list --all`. It is **not** what `skaile run` starts; see
|
|
92
|
+
* {@link discoverProjectFlows}.
|
|
85
93
|
*
|
|
86
|
-
* Precedence, first wins by declared id: the content roots of
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* registered libraries the newest registration wins.
|
|
94
|
+
* Precedence, first wins by declared id: the content roots of {@link discoverFlows} (project
|
|
95
|
+
* `.skaile/` install, factory-assets, user libraries dir, global install), then
|
|
96
|
+
* registered-library flows. An installed copy therefore shadows the library original it was
|
|
97
|
+
* `add`ed from, so a flow is listed once after `add`, and its `patches:` stay the effective
|
|
98
|
+
* flow. Between registered libraries the newest registration wins.
|
|
92
99
|
*/
|
|
93
100
|
export declare function discoverFlowsWithLibraries(projectDir?: string): Promise<FlowDefinition[]>;
|
|
101
|
+
/** A flow on this machine that the project did not declare or deploy. */
|
|
102
|
+
export interface OtherFlow {
|
|
103
|
+
flow: FlowDefinition;
|
|
104
|
+
/** `flow:@<publisher>/<name>` to `skaile add` first; absent for a flow in a cache or global root. */
|
|
105
|
+
addRef?: string;
|
|
106
|
+
/** The library that holds it, when it is a library flow. */
|
|
107
|
+
library?: string;
|
|
108
|
+
}
|
|
94
109
|
/**
|
|
95
|
-
* {@link
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
*
|
|
110
|
+
* The flows {@link discoverFlowsWithLibraries} finds that are not in the project
|
|
111
|
+
* ({@link discoverProjectFlows}): library flows (with the ref `skaile add` takes) and flows of
|
|
112
|
+
* source clones or the global root. `flow list --all` prints them apart from the project's own.
|
|
113
|
+
*/
|
|
114
|
+
export declare function discoverOtherFlows(projectDir?: string): Promise<OtherFlow[]>;
|
|
115
|
+
/**
|
|
116
|
+
* The registered-library flow `flowId`, when a library holds it and the project does not: what
|
|
117
|
+
* `skaile run <id>` names in its "add it first" answer.
|
|
102
118
|
*/
|
|
103
|
-
export declare function
|
|
119
|
+
export declare function findLibraryFlow(flowId: string): Promise<LibraryFlowEntry | undefined>;
|
|
104
120
|
export {};
|
|
105
121
|
//# sourceMappingURL=flow-discovery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-discovery.d.ts","sourceRoot":"","sources":["../../../cli/src/flow-discovery.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"flow-discovery.d.ts","sourceRoot":"","sources":["../../../cli/src/flow-discovery.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAKH,OAAO,EACL,KAAK,aAAa,EAGlB,kBAAkB,EAEnB,MAAM,0DAA0D,CAAC;AAIlE,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;AAY5E;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,cAAc,EAAE,CAE1E;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAE3F;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,cAAc,EAAE,CAEnE;AAED,8FAA8F;AAC9F,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD,yEAAyE;IACzE,GAAG,EAAE,MAAM,CAAC;IACZ,iEAAiE;IACjE,OAAO,EAAE,MAAM,CAAC;CACjB;AAID;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,kBAAkB,IAAI,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAGhE;AAED,uEAAuE;AACvE,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C;AA+CD;;;;;;;;;;GAUG;AACH,wBAAsB,0BAA0B,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAO/F;AAED,yEAAyE;AACzE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,cAAc,CAAC;IACrB,qGAAqG;IACrG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAgBlF;AAED;;;GAGG;AACH,wBAAsB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAE3F"}
|
|
@@ -34,8 +34,12 @@ export interface EnsurePluginsOptions extends ReconcileOptions {
|
|
|
34
34
|
export declare function ensurePluginsLoaded(projectDir: string, plugins: string[] | undefined, registry?: PluginRegistry, opts?: EnsurePluginsOptions): Promise<LoadResult>;
|
|
35
35
|
/**
|
|
36
36
|
* The installer's output of a failed `plugin install` is a dump (bun's banner, resolver
|
|
37
|
-
* progress, then the `error:` lines). A load warning keeps the first line and the
|
|
38
|
-
*
|
|
37
|
+
* progress, then the `error:` lines). A load warning keeps the first line and the cause of it
|
|
38
|
+
* (p1113); `skaile plugin install <spec>` prints the whole output.
|
|
39
|
+
*
|
|
40
|
+
* bun: the last `error:` line. npm: its `code` line and the first detail line after it
|
|
41
|
+
* (`E404: 404 Not Found - GET …`), never the trailing `A complete log of this run can be found
|
|
42
|
+
* in: …` pointer (p1272).
|
|
39
43
|
*/
|
|
40
44
|
export declare function condensePluginFailure(reason: string): string;
|
|
41
45
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../cli/src/plugin-store/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,oCAAoC,CAAC;AACzF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,KAAK,gBAAgB,EAAoB,MAAM,gBAAgB,CAAC;AAGzE,YAAY,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,+CAA+C;AAC/C,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,mBAAmB,CACvC,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,EAC7B,QAAQ,GAAE,cAA+B,EACzC,IAAI,GAAE,oBAAyB,GAC9B,OAAO,CAAC,UAAU,CAAC,CAMrB;AAED
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../cli/src/plugin-store/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,oCAAoC,CAAC;AACzF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,KAAK,gBAAgB,EAAoB,MAAM,gBAAgB,CAAC;AAGzE,YAAY,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,+CAA+C;AAC/C,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,mBAAmB,CACvC,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,EAC7B,QAAQ,GAAE,cAA+B,EACzC,IAAI,GAAE,oBAAyB,GAC9B,OAAO,CAAC,UAAU,CAAC,CAMrB;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CA2B5D;AAeD;;;;;;GAMG;AACH,wBAAsB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAiB3E"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* file: {@link checkAsset} returns the errors (semver, kind schema, flow
|
|
5
5
|
* definition) and the advisories (agentskills.io conformance, untouched scaffold).
|
|
6
6
|
*/
|
|
7
|
+
import { type AssetEntry } from "@skaile/workspaces/core";
|
|
7
8
|
import type { IAssetKindRegistry } from "@skaile/workspaces/plugins";
|
|
8
9
|
import { type ComposeRefContext } from "./agent-checks.ts";
|
|
9
10
|
/** One advisory finding, printed as `<file> [<tag>] — <text>`. */
|
|
@@ -15,10 +16,15 @@ export interface AssetFinding {
|
|
|
15
16
|
conformance: boolean;
|
|
16
17
|
/** `true` for the untouched `library create` body: an error in `validate`, `library index` and the publish plan. */
|
|
17
18
|
scaffoldBody?: true;
|
|
19
|
+
/**
|
|
20
|
+
* Set on a `requires:` entry no registered library holds (p1200): the canonical
|
|
21
|
+
* `kind:@publisher/name` the publish plan asks the store about.
|
|
22
|
+
*/
|
|
23
|
+
unheldRef?: string;
|
|
18
24
|
}
|
|
19
25
|
/**
|
|
20
26
|
* Run the advisory checks for one parsed asset manifest: agentskills.io conformance
|
|
21
|
-
* (skills only), keys nothing reads (
|
|
27
|
+
* (skills only), keys nothing reads (every kind) and the untouched `library create` body (skill, agent, prompt, contract).
|
|
22
28
|
* The flow and preset scaffolds are errors, see {@link checkAsset}. Other kinds yield no findings.
|
|
23
29
|
*
|
|
24
30
|
* @param kind Asset kind of the manifest.
|
|
@@ -62,6 +68,19 @@ export interface AssetCheckResult {
|
|
|
62
68
|
* An explicit `publisher:` in the manifest is checked as part of the ref it forms.
|
|
63
69
|
*/
|
|
64
70
|
export declare function manifestIdentityError(kind: string, parsed: Record<string, unknown>): string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* One finding per `requires:` entry that no registered library holds, read offline (p1200): the
|
|
73
|
+
* same check `dependencies:` in `skaile.manifest.yaml` gets (p119). The finding is a warning in
|
|
74
|
+
* `validate` and `library index`; the publish plan asks the store about each one
|
|
75
|
+
* (`unheldRef`) and refuses only when the store does not list it either. Without a `context`
|
|
76
|
+
* nothing is judged.
|
|
77
|
+
*
|
|
78
|
+
* @param kind Asset kind of the manifest.
|
|
79
|
+
* @param parsed Parsed manifest.
|
|
80
|
+
* @param fileName Base name of the manifest file.
|
|
81
|
+
* @param context What the refs are resolved against.
|
|
82
|
+
*/
|
|
83
|
+
export declare function unheldRequiresFindings(kind: string, parsed: Record<string, unknown>, fileName: string | undefined, context: ComposeRefContext | undefined): AssetFinding[];
|
|
65
84
|
/**
|
|
66
85
|
* The one per-asset check list behind `skaile validate`, `skaile library index`
|
|
67
86
|
* and `skaile library publish`. Errors: an asset name that is not canonical (kebab-case,
|
|
@@ -97,6 +116,12 @@ export declare function checkAsset(kind: string, parsed: Record<string, unknown>
|
|
|
97
116
|
* exists.
|
|
98
117
|
*/
|
|
99
118
|
export declare function findAssetManifestFile(dir: string, kind: string, name: string): string | null;
|
|
119
|
+
/**
|
|
120
|
+
* The manifest file of a first-party manifest entry: inside its `root:` directory
|
|
121
|
+
* ({@link findAssetManifestFile}), or among the files a `files:`-only entry lists (p1201).
|
|
122
|
+
* `null` for a curated entry or when none exists.
|
|
123
|
+
*/
|
|
124
|
+
export declare function findEntryManifestFile(libraryPath: string, entry: Pick<AssetEntry, "kind" | "name" | "root" | "files" | "source">): string | null;
|
|
100
125
|
/**
|
|
101
126
|
* The {@link checkAsset} errors of one manifest file on disk — what `library index`
|
|
102
127
|
* asks of each asset before it writes it into the manifest. A file that cannot be
|
|
@@ -111,4 +136,10 @@ export declare function findAssetManifestFile(dir: string, kind: string, name: s
|
|
|
111
136
|
* @param composeRefs What an agent's `composes[]` refs resolve against; without it they are not checked.
|
|
112
137
|
*/
|
|
113
138
|
export declare function checkAssetFile(file: string, kind: string, registry: IAssetKindRegistry, libraryRoot?: string, composeRefs?: ComposeRefContext): AssetFinding[];
|
|
139
|
+
/**
|
|
140
|
+
* The `requires:` entries of one manifest file on disk that no registered library holds
|
|
141
|
+
* ({@link unheldRequiresFindings}); `library index` prints them as warnings (p1200). A file that
|
|
142
|
+
* cannot be read or parsed yields none.
|
|
143
|
+
*/
|
|
144
|
+
export declare function unheldRequiresOfFile(file: string, kind: string, context: ComposeRefContext): AssetFinding[];
|
|
114
145
|
//# sourceMappingURL=skill-checks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-checks.d.ts","sourceRoot":"","sources":["../../../cli/src/skill-checks.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"skill-checks.d.ts","sourceRoot":"","sources":["../../../cli/src/skill-checks.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EACL,KAAK,UAAU,EAQhB,MAAM,yBAAyB,CAAC;AASjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAEL,KAAK,iBAAiB,EAGvB,MAAM,mBAAmB,CAAC;AAS3B,kEAAkE;AAClE,MAAM,WAAW,YAAY;IAC3B,4EAA4E;IAC5E,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,iGAAiG;IACjG,WAAW,EAAE,OAAO,CAAC;IACrB,oHAAoH;IACpH,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,OAAO,EAAE,MAAM,GACd,YAAY,EAAE,CA6BhB;AAED,+GAA+G;AAC/G,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,GAAG,SAAS,CASnF;AAED,iFAAiF;AACjF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAErE;AAaD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,CAAC,EAAE,MAAM,GACf,MAAM,GAAG,SAAS,CAmBpB;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,GACd,MAAM,CAER;AAED,+EAA+E;AAC/E,MAAM,WAAW,gBAAgB;IAC/B,wGAAwG;IACxG,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,yFAAyF;IACzF,UAAU,EAAE,YAAY,EAAE,CAAC;CAC5B;AAmCD;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,MAAM,GAAG,SAAS,CAiBpB;AA6DD;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,OAAO,EAAE,iBAAiB,GAAG,SAAS,GACrC,YAAY,EAAE,CAkBhB;AAgCD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,kBAAkB,EAC5B,OAAO,CAAC,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE,MAAM,EACjB,UAAU,CAAC,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,iBAAiB,CAAA;CAAE,GACjF,gBAAgB,CAoFlB;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CA4B5F;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC,GACrE,MAAM,GAAG,IAAI,CAaf;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kBAAkB,EAC5B,WAAW,CAAC,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,iBAAiB,GAC9B,YAAY,EAAE,CAsBhB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,iBAAiB,GACzB,YAAY,EAAE,CAOhB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, loadYamlConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations, withMaterializedConnectorDeclarations } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, loadYamlConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations, withMaterializedConnectorDeclarations } from '../chunk-I7TWVK6N.js';
|
|
2
|
+
import '../chunk-V257LUBM.js';
|
|
3
3
|
import '../chunk-L5VSIPQD.js';
|
|
4
4
|
import '../chunk-IG5LZ3WU.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-UQ33Y4DM.js';
|
|
6
6
|
import '../chunk-RVRB27AN.js';
|
|
7
7
|
import '../chunk-GOCWM7FN.js';
|
|
8
8
|
import '../chunk-WDXZA7QW.js';
|
package/dist/connectors/index.js
CHANGED
|
@@ -1,36 +1,38 @@
|
|
|
1
|
-
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, CONNECT_FAILURE_CARRY_OVER_TTL_MS, ConnectFailureCarryOver, ConnectorManager, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, NO_ACTIVE_FLOW_ERROR, PortPool, atomicReplaceCredential, buildConnectorListPayload, buildConnectorPromptSection, buildLazyFlowToolDefs, buildLazySdkFlowTools, buildSdkConnectorTools, buildSdkFlowTools, checkFleetMountLiveness, classifyConnectError, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, ensureRefreshAttemptStamp, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, missingTokenMediatorMessage, registerBuiltinConnectors, removeMountBlock, removeUnavailableMountBlock, renderCredentialHelperScript, resolveAccessPolicy, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock, writeUnavailableMountBlock } from '../chunk-
|
|
1
|
+
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, CONNECT_FAILURE_CARRY_OVER_TTL_MS, ConnectFailureCarryOver, ConnectorManager, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, NO_ACTIVE_FLOW_ERROR, PortPool, atomicReplaceCredential, buildConnectorListPayload, buildConnectorPromptSection, buildLazyFlowToolDefs, buildLazySdkFlowTools, buildSdkConnectorTools, buildSdkFlowTools, checkFleetMountLiveness, classifyConnectError, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, ensureRefreshAttemptStamp, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, missingTokenMediatorMessage, registerBuiltinConnectors, removeMountBlock, removeUnavailableMountBlock, renderCredentialHelperScript, resolveAccessPolicy, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock, writeUnavailableMountBlock } from '../chunk-HT35SQZD.js';
|
|
2
2
|
export { CONNECT_ERROR_KIND_PROPERTY, ClassifiedConnectError, declaredConnectErrorKind, withConnectErrorKind } from '../chunk-YIF2IJUA.js';
|
|
3
|
-
export { ConnectorFieldMissingError, ConnectorStartupError, EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, isKnownSecretRef, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, loadYamlConnectorDeclarations, readUnavailableMarker, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations, withMaterializedConnectorDeclarations } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
3
|
+
export { ConnectorFieldMissingError, ConnectorStartupError, EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, isKnownSecretRef, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, loadYamlConnectorDeclarations, readUnavailableMarker, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations, withMaterializedConnectorDeclarations } from '../chunk-I7TWVK6N.js';
|
|
4
|
+
import '../chunk-7SCS64BG.js';
|
|
5
|
+
import '../chunk-COJIL7G4.js';
|
|
6
|
+
import '../chunk-VJ7NU7GD.js';
|
|
7
|
+
import '../chunk-VSZWNUZC.js';
|
|
7
8
|
import '../chunk-LOO5CB5M.js';
|
|
8
9
|
import '../chunk-AJ7EGIFR.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-MKRWN7XP.js';
|
|
11
|
+
import '../chunk-2GXSSZAM.js';
|
|
12
|
+
import '../chunk-RPZVHXQ3.js';
|
|
11
13
|
import '../chunk-YROR332M.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-XWOPZW26.js';
|
|
15
|
+
import '../chunk-CQJH4G2K.js';
|
|
14
16
|
import '../chunk-6E6PKKAD.js';
|
|
15
17
|
import '../chunk-IFGTRL2I.js';
|
|
16
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-IF6IA3PZ.js';
|
|
17
19
|
import '../chunk-M3WPBTGJ.js';
|
|
18
20
|
import '../chunk-7RGTAEG6.js';
|
|
19
21
|
import '../chunk-Y56YIT6J.js';
|
|
20
22
|
import '../chunk-LNFKL23K.js';
|
|
21
23
|
import '../chunk-X3RMRJNR.js';
|
|
22
24
|
import '../chunk-NUELZWCF.js';
|
|
23
|
-
import '../chunk-
|
|
24
|
-
import '../chunk-
|
|
25
|
+
import '../chunk-335ENCCS.js';
|
|
26
|
+
import '../chunk-N46LQR46.js';
|
|
25
27
|
import '../chunk-4GY63JU6.js';
|
|
26
|
-
import '../chunk-
|
|
28
|
+
import '../chunk-TIIXG3PN.js';
|
|
27
29
|
import '../chunk-5TBFN46Z.js';
|
|
28
30
|
import '../chunk-5BEFNLOR.js';
|
|
29
|
-
import '../chunk-
|
|
30
|
-
import '../chunk-
|
|
31
|
+
import '../chunk-MWXYN6NY.js';
|
|
32
|
+
import '../chunk-V257LUBM.js';
|
|
31
33
|
import '../chunk-L5VSIPQD.js';
|
|
32
34
|
import '../chunk-IG5LZ3WU.js';
|
|
33
|
-
import '../chunk-
|
|
35
|
+
import '../chunk-UQ33Y4DM.js';
|
|
34
36
|
import '../chunk-RVRB27AN.js';
|
|
35
37
|
import '../chunk-GOCWM7FN.js';
|
|
36
38
|
import '../chunk-WDXZA7QW.js';
|
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
export { connectorDescribe, connectorExec, connectorList, connectorLoadSkill, connectorRead, connectorSearch, connectorWrite, mountList, mountRead, mountStatus, mountSync } from './chunk-
|
|
1
|
+
export { connectorDescribe, connectorExec, connectorList, connectorLoadSkill, connectorRead, connectorSearch, connectorWrite, mountList, mountRead, mountStatus, mountSync } from './chunk-2LSDMJI2.js';
|
|
2
2
|
import './chunk-X5YPJV4N.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-HT35SQZD.js';
|
|
4
4
|
import './chunk-YIF2IJUA.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
5
|
+
import './chunk-I7TWVK6N.js';
|
|
6
|
+
import './chunk-7SCS64BG.js';
|
|
7
|
+
import './chunk-COJIL7G4.js';
|
|
8
|
+
import './chunk-VJ7NU7GD.js';
|
|
9
|
+
import './chunk-VSZWNUZC.js';
|
|
9
10
|
import './chunk-LOO5CB5M.js';
|
|
10
11
|
import './chunk-AJ7EGIFR.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-MKRWN7XP.js';
|
|
13
|
+
import './chunk-2GXSSZAM.js';
|
|
14
|
+
import './chunk-RPZVHXQ3.js';
|
|
13
15
|
import './chunk-YROR332M.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
+
import './chunk-XWOPZW26.js';
|
|
17
|
+
import './chunk-CQJH4G2K.js';
|
|
16
18
|
import './chunk-6E6PKKAD.js';
|
|
17
19
|
import './chunk-IFGTRL2I.js';
|
|
18
|
-
import './chunk-
|
|
20
|
+
import './chunk-IF6IA3PZ.js';
|
|
19
21
|
import './chunk-M3WPBTGJ.js';
|
|
20
22
|
import './chunk-7RGTAEG6.js';
|
|
21
23
|
import './chunk-Y56YIT6J.js';
|
|
22
24
|
import './chunk-LNFKL23K.js';
|
|
23
25
|
import './chunk-X3RMRJNR.js';
|
|
24
26
|
import './chunk-NUELZWCF.js';
|
|
25
|
-
import './chunk-
|
|
26
|
-
import './chunk-
|
|
27
|
+
import './chunk-335ENCCS.js';
|
|
28
|
+
import './chunk-N46LQR46.js';
|
|
27
29
|
import './chunk-4GY63JU6.js';
|
|
28
|
-
import './chunk-
|
|
30
|
+
import './chunk-TIIXG3PN.js';
|
|
29
31
|
import './chunk-5TBFN46Z.js';
|
|
30
32
|
import './chunk-5BEFNLOR.js';
|
|
31
|
-
import './chunk-
|
|
32
|
-
import './chunk-
|
|
33
|
+
import './chunk-MWXYN6NY.js';
|
|
34
|
+
import './chunk-V257LUBM.js';
|
|
33
35
|
import './chunk-L5VSIPQD.js';
|
|
34
36
|
import './chunk-IG5LZ3WU.js';
|
|
35
|
-
import './chunk-
|
|
37
|
+
import './chunk-UQ33Y4DM.js';
|
|
36
38
|
import './chunk-RVRB27AN.js';
|
|
37
39
|
import './chunk-GOCWM7FN.js';
|
|
38
40
|
import './chunk-WDXZA7QW.js';
|
|
@@ -42,5 +44,5 @@ import './chunk-MJHSLODD.js';
|
|
|
42
44
|
import './chunk-C3CAXQMA.js';
|
|
43
45
|
import './chunk-BOFL7GIF.js';
|
|
44
46
|
import './chunk-NSBPE2FW.js';
|
|
45
|
-
//# sourceMappingURL=connectors-
|
|
46
|
-
//# sourceMappingURL=connectors-
|
|
47
|
+
//# sourceMappingURL=connectors-RBGZ3M7G.js.map
|
|
48
|
+
//# sourceMappingURL=connectors-RBGZ3M7G.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"connectors-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"connectors-RBGZ3M7G.js"}
|
package/dist/core/discovery.js
CHANGED
package/dist/core/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { AGENT_PROMPT_SECTION_ORDER, GLOBAL_INSTALL_DIR_NAME, LOCK_SCHEMA_VERSION, ManifestYamlEditor, PROVIDERS_FILENAME, SETTINGS_DEFAULTS, WorkspaceYamlEditor, aiResourceRoots, applyPatch, buildAgentPromptSections, buildLibraryLockEntries, buildLockFile, capMemoryContent, checkAgentSkillConformance, computeHash, defaultLibraryDir, detectPackageManager, driverSdkMissingError, extractForPatch, findProjectPackageDir, generatePatch, globalInstallDir, globalSettingsPath, holdsWildcard, installCommand, installCommandFor, listPatches, listenWithProbe, loadDriverSdk, loadDriverSdkSubpath, loadProviderRegistry, loadProviderRegistryFile, loadSettings, mapLegacyFields, maskApiKey, mergeLockFile, migrateSettings, needsWildcardProbe, projectSettingsPath, readLock, readPatch, readPluginsLockSlice, renderMemorySection, resolveConfiguredDriverTarget, resolveLibraryDir, resolveSettings, resolveSettingsWithSources, resyncLockSources, savePatch, saveProviderRegistryFile, saveSettings, sdkLookupPlaces, skaileInstallDir, userProviderRegistryPath, verifyLock, verifyLockEntry, walkForSettings, workspaceProviderRegistryPath, writeLock, writePluginsLockSlice } from '../chunk-
|
|
1
|
+
export { AGENT_PROMPT_SECTION_ORDER, GLOBAL_INSTALL_DIR_NAME, LOCK_SCHEMA_VERSION, ManifestYamlEditor, PROVIDERS_FILENAME, SETTINGS_DEFAULTS, WorkspaceYamlEditor, aiResourceRoots, applyPatch, assertLockHashes, buildAgentPromptSections, buildLibraryLockEntries, buildLockFile, capMemoryContent, checkAgentSkillConformance, computeHash, connectProbe, defaultLibraryDir, detectPackageManager, driverSdkMissingError, extractForPatch, findProjectPackageDir, generatePatch, globalInstallDir, globalSettingsPath, holdsWildcard, installCommand, installCommandFor, listPatches, listenWithProbe, loadDriverSdk, loadDriverSdkSubpath, loadProviderRegistry, loadProviderRegistryFile, loadSettings, mapLegacyFields, maskApiKey, mergeLockFile, migrateSettings, needsWildcardProbe, portIsHeld, probeHosts, projectAssetRoots, projectSettingsPath, readLock, readPatch, readPluginsLockSlice, renderMemorySection, resolveConfiguredDriverTarget, resolveLibraryDir, resolveSettings, resolveSettingsWithSources, resyncLockSources, savePatch, saveProviderRegistryFile, saveSettings, sdkLookupPlaces, skaileInstallDir, userProviderRegistryPath, verifyLock, verifyLockEntry, walkForSettings, workspaceProviderRegistryPath, writeLock, writePluginsLockSlice } from '../chunk-N46LQR46.js';
|
|
2
2
|
export { processAlive, processExited, processGroupAlive } from '../chunk-4GY63JU6.js';
|
|
3
|
-
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-
|
|
3
|
+
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-TIIXG3PN.js';
|
|
4
4
|
export { deployedBase, deployedDir, deployedPaths, isDeployed } from '../chunk-5TBFN46Z.js';
|
|
5
5
|
export { DEFAULT_DRIVER_ID, DRIVER_DEFAULTS, resolveDriverPaths } from '../chunk-5BEFNLOR.js';
|
|
6
|
-
export { detectMonorepoRoot, findKindDirs } from '../chunk-
|
|
7
|
-
export { AGENT_INSTANCE_ID_PATTERN, AGENT_INSTANCE_LIFECYCLES, AGENT_INSTANCE_MEMORY_SCOPES, AGENT_INSTANCE_TRIGGER_KINDS, AgentRefResolutionError, COMPACTION_DEFAULTS, CanonicalRefConflictError, DEFAULT_AGENT_INSTANCE_ID, DEFAULT_RECIPE_ATTR, MAX_PRESET_DEPTH, PresetDepthError, SKAILE_YAML_DEFAULT, SKILL_ALLOWLIST_FILE, SKILL_ALLOWLIST_VERSION, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, STAGED_SKILL_MARKER, SourceEntryError, UnknownAssetKindError, agentBlockKeyDiagnostics, agentInstanceDiagnostics, agentSourceCacheDir, attachToBranch, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, coerceVersion, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, effectiveAgentInstances, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, isCommitOnRemote, isInsideProject, isStagedSkillMarkerFor, isWorkspaceConfigFilename, legacySourceCacheKey, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, localConnectorMountDir, matchPin, mergeAgentInstances, mergeAgentPermissions, mergeSkWorkspaceConfigs, normalizeAgentInstances, normalizeConfig, parseSourceEntries, priorSourceCacheKeys, priorStoreManifestSlugs, pullRepo, pullRepoResult, readLinks, readSkillAllowList, resolveAgentDefinitionDir, resolveAgentDir, resolveAll, resolveAsset, resolveCompactionThresholdPercent, resolveGlobalHarnesses as resolveGlobalBackends, resolveGlobalHarnesses, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, saveSkWorkspaceConfig, scanRepo, slashGitSourceCacheKey, sourceCacheKey, sourceShortName, stageMaterializedSkills, stagedSkillMarkerState, storeManifestSlug, symlinkEscapeOfProject, unlinkRepo, unstageSkill, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-
|
|
6
|
+
export { detectMonorepoRoot, findKindDirs } from '../chunk-MWXYN6NY.js';
|
|
7
|
+
export { AGENT_INSTANCE_ID_PATTERN, AGENT_INSTANCE_LIFECYCLES, AGENT_INSTANCE_MEMORY_SCOPES, AGENT_INSTANCE_TRIGGER_KINDS, AgentRefResolutionError, COMPACTION_DEFAULTS, CanonicalRefConflictError, DEFAULT_AGENT_INSTANCE_ID, DEFAULT_RECIPE_ATTR, LegacyKeyError, MAX_PRESET_DEPTH, PresetDepthError, SKAILE_YAML_DEFAULT, SKILL_ALLOWLIST_FILE, SKILL_ALLOWLIST_VERSION, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, STAGED_SKILL_MARKER, SourceEntryError, UnknownAssetKindError, agentBlockKeyDiagnostics, agentInstanceDiagnostics, agentSourceCacheDir, attachToBranch, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, coerceVersion, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, effectiveAgentInstances, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, isCommitOnRemote, isInsideProject, isStagedSkillMarkerFor, isWorkspaceConfigFilename, legacySourceCacheKey, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, localConnectorMountDir, matchPin, mergeAgentInstances, mergeAgentPermissions, mergeSkWorkspaceConfigs, normalizeAgentInstances, normalizeConfig, parseSourceEntries, priorSourceCacheKeys, priorStoreManifestSlugs, pullRepo, pullRepoResult, readLinks, readSkillAllowList, resolveAgentDefinitionDir, resolveAgentDir, resolveAll, resolveAsset, resolveCompactionThresholdPercent, resolveGlobalHarnesses as resolveGlobalBackends, resolveGlobalHarnesses, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, saveSkWorkspaceConfig, scanRepo, slashGitSourceCacheKey, sourceCacheKey, sourceShortName, stageMaterializedSkills, stagedSkillMarkerState, storeManifestSlug, symlinkEscapeOfProject, unlinkRepo, unstageSkill, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-V257LUBM.js';
|
|
8
8
|
export { __resetCacheMigrationMemo, globalCacheRoot, globalSkaileDir, mergeLegacyEntriesInto, mergeLegacyEntriesKeyed, migrateLegacyDir, userConfigPath } from '../chunk-L5VSIPQD.js';
|
|
9
9
|
export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS, driverTargetForDriver, globalHarnessRoot as globalBackendRoot, globalHarnessRoot } from '../chunk-IG5LZ3WU.js';
|
|
10
|
-
export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest } from '../chunk-
|
|
10
|
+
export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest } from '../chunk-UQ33Y4DM.js';
|
|
11
11
|
export { pluginTitle, readPluginGroupings } from '../chunk-RVRB27AN.js';
|
|
12
12
|
export { DEFAULT_FS_DEADLINE_MS, DEFAULT_WALK_BUDGET_MS, DEFAULT_WALK_MAX_DEPTH, DEFAULT_WALK_MAX_ENTRIES, FS_DEADLINE_ENV_VAR, FsDeadlineError, ManifestKindError, WALK_BUDGET_MS_ENV_VAR, WALK_MAX_DEPTH_ENV_VAR, WALK_MAX_ENTRIES_ENV_VAR, assetDepRefs, dedupeRequirementRefs, dedupeRequirements, fromAgentMd, fromAgentYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromMcpServerMdContent, fromPresetYaml, fromPromptMd, fromSkillMd, fsDeadlineMs, manifestKindDiagnostic, parseFrontmatter, parseRequires, presetItemRefs, readAssetBody, requirementKey, scanDirectory, tryWithFsDeadline, walkDir, withFsDeadline } from '../chunk-GOCWM7FN.js';
|
|
13
13
|
export { ASSET_NAME_HINT, PUBLISHER_HINT, assetRefProblem, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, isValidAssetName, isValidPublisher, parseAssetRef, parseAssetRefLoose, parseDep, repositoryFromRaw, repositoryToRaw, slugifyAssetName } from '../chunk-WDXZA7QW.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ASSET_KEY_ORDER, LIBRARY_GITIGNORE, SKAILE_MANIFEST_FILENAME, compositeSha256, decodeSkaileManifest, encodeSkaileManifest, isEnvFileName, isNonAssetDir, isNonAssetFile, isNonAssetPath, isSecretFileName, librarySymlinkMessage, listAssetFiles, listLibrarySymlinks, listSecretFiles, listSkippedSymlinks, loadSkPublishManifest, orderedAsset, sha256Hex } from '../chunk-
|
|
1
|
+
export { ASSET_KEY_ORDER, LIBRARY_GITIGNORE, SKAILE_MANIFEST_FILENAME, compositeSha256, decodeSkaileManifest, encodeSkaileManifest, expandManifestFiles, expandManifestFilesFromPaths, gitPublishedFiles, isEnvFileName, isNonAssetDir, isNonAssetFile, isNonAssetPath, isSecretFileName, librarySymlinkMessage, listAssetFiles, listLibrarySymlinks, listSecretFiles, listSkippedSymlinks, loadSkPublishManifest, onlyPublished, orderedAsset, sha256Hex } from '../chunk-UQ33Y4DM.js';
|
|
2
2
|
import '../chunk-GOCWM7FN.js';
|
|
3
3
|
import '../chunk-WDXZA7QW.js';
|
|
4
4
|
import '../chunk-BOFL7GIF.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-TIIXG3PN.js';
|
|
2
|
+
import '../chunk-V257LUBM.js';
|
|
3
3
|
import '../chunk-L5VSIPQD.js';
|
|
4
4
|
import '../chunk-IG5LZ3WU.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-UQ33Y4DM.js';
|
|
6
6
|
import '../chunk-RVRB27AN.js';
|
|
7
7
|
import '../chunk-GOCWM7FN.js';
|
|
8
8
|
import '../chunk-WDXZA7QW.js';
|
|
@@ -69,4 +69,18 @@ export declare function globalInstallDir(): string;
|
|
|
69
69
|
* @docLink packages/core/concepts#discovery
|
|
70
70
|
*/
|
|
71
71
|
export declare function aiResourceRoots(projectDir?: string): string[];
|
|
72
|
+
/**
|
|
73
|
+
* The content roots of what one project has: the flows `skaile install` / `skaile add` deployed
|
|
74
|
+
* into `<projectDir>/.skaile/`, plus the first-party `factory-assets/` layers the product ships
|
|
75
|
+
* (the `SKAILE_FACTORY_ASSETS_DIR` override and the bundled tree). Filtered to those that exist.
|
|
76
|
+
*
|
|
77
|
+
* Unlike {@link aiResourceRoots} it leaves out `~/.skaile/libraries/` and the user-global
|
|
78
|
+
* `~/.skaile/` root. The global root holds `cache/` (every source clone on the machine), so
|
|
79
|
+
* walking it listed flows no project declared. `flow list` and `skaile run <id>` read this
|
|
80
|
+
* set, so a flow that runs for you also runs for a teammate with the same `skaile.yaml` (p1353).
|
|
81
|
+
*
|
|
82
|
+
* @param projectDir - Project directory whose local install root to include
|
|
83
|
+
* (default: `process.cwd()`).
|
|
84
|
+
*/
|
|
85
|
+
export declare function projectAssetRoots(projectDir?: string): string[];
|
|
72
86
|
//# sourceMappingURL=asset-roots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-roots.d.ts","sourceRoot":"","sources":["../../../core/src/asset-roots.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AASH;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAG1C;AAED,uFAAuF;AACvF,eAAO,MAAM,uBAAuB,cAAc,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAiBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,eAAe,CAAC,UAAU,GAAE,MAAsB,GAAG,MAAM,EAAE,CAU5E"}
|
|
1
|
+
{"version":3,"file":"asset-roots.d.ts","sourceRoot":"","sources":["../../../core/src/asset-roots.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AASH;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAG1C;AAED,uFAAuF;AACvF,eAAO,MAAM,uBAAuB,cAAc,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAiBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,eAAe,CAAC,UAAU,GAAE,MAAsB,GAAG,MAAM,EAAE,CAU5E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,GAAE,MAAsB,GAAG,MAAM,EAAE,CAG9E"}
|
package/dist/core/src/bind.d.ts
CHANGED
|
@@ -1,30 +1,49 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* One bind helper for every TCP server skaile starts (the WebSocket server and the model
|
|
3
|
-
* endpoint). A port rule fixed in one server only came back twice (p842, p1006), so the
|
|
3
|
+
* endpoint). A port rule fixed in one server only came back twice (p842, p1006), so the busy-port
|
|
4
4
|
* probe and the "already in use" error live here.
|
|
5
5
|
*/
|
|
6
6
|
import { type Server } from "node:net";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
8
|
+
* The addresses a client may dial for a server bound to `host:port`: both loopback addresses
|
|
9
|
+
* (a client on this machine uses either) plus the chosen host unless it is a wildcard. A bind to
|
|
10
|
+
* a specific address can succeed next to a listener on another address or on a wildcard (macOS
|
|
11
|
+
* allows it; Linux allows it across address families), while the other process keeps answering
|
|
12
|
+
* clients on the address we think is ours (p842, p1006).
|
|
13
|
+
*/
|
|
14
|
+
export declare function probeHosts(host: string | undefined): string[];
|
|
15
|
+
/**
|
|
16
|
+
* Whether something accepts a TCP connection on `host:port`. Only a completed connect counts;
|
|
17
|
+
* a refusal, an address this machine lacks (no IPv6), a timeout or any other error means nobody
|
|
18
|
+
* listens there, and the real bind decides.
|
|
19
|
+
*/
|
|
20
|
+
export declare function connectProbe(port: number, host: string, timeoutMs?: number): Promise<boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* Whether another process holds `port` on 127.0.0.1, on ::1 or on `host`. A fixed port only: port
|
|
23
|
+
* 0 asks the OS for a free one and needs no probe.
|
|
24
|
+
*/
|
|
25
|
+
export declare function portIsHeld(port: number, host?: string): Promise<boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* Whether a bind to `host:port` needed the old wildcard probe.
|
|
28
|
+
*
|
|
29
|
+
* @deprecated Kept for 5.18.x callers. {@link listenWithProbe} now always connect-probes
|
|
30
|
+
* (`127.0.0.1`, `::1` and the host) on every platform; use {@link portIsHeld}.
|
|
13
31
|
*/
|
|
14
32
|
export declare function needsWildcardProbe(host: string | undefined, port: number, platform: NodeJS.Platform): boolean;
|
|
15
33
|
/**
|
|
16
|
-
* Whether another process holds `port
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
34
|
+
* Whether another process holds `port`.
|
|
35
|
+
*
|
|
36
|
+
* @deprecated Kept for 5.18.x callers. It connect-probes `127.0.0.1` and `::1` (a listener on
|
|
37
|
+
* `::`, `0.0.0.0` or a loopback address answers there); use {@link portIsHeld}.
|
|
20
38
|
*/
|
|
21
39
|
export declare function holdsWildcard(port: number): Promise<boolean>;
|
|
22
40
|
/**
|
|
23
|
-
* Bind `server` to `port` (on `host` when given) after the
|
|
24
|
-
*
|
|
25
|
-
*
|
|
41
|
+
* Bind `server` to `port` (on `host` when given) after probing the port by connect. Resolves once
|
|
42
|
+
* listening. Rejects with the server's own error, or with an `EADDRINUSE` error when another
|
|
43
|
+
* process holds the port, also when only the probe saw it.
|
|
26
44
|
*
|
|
27
45
|
* @param server - Any `net.Server` (an `http.Server` included), not yet listening.
|
|
46
|
+
* @param _platform - Ignored (5.18.x took the platform for the wildcard probe); the probe runs everywhere.
|
|
28
47
|
*/
|
|
29
|
-
export declare function listenWithProbe(server: Server, port: number, host?: string,
|
|
48
|
+
export declare function listenWithProbe(server: Server, port: number, host?: string, _platform?: NodeJS.Platform): Promise<void>;
|
|
30
49
|
//# sourceMappingURL=bind.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bind.d.ts","sourceRoot":"","sources":["../../../core/src/bind.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"bind.d.ts","sourceRoot":"","sources":["../../../core/src/bind.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAOhD;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,CAI7D;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,SAAS,SAAmB,GAC3B,OAAO,CAAC,OAAO,CAAC,CAWlB;AAED;;;GAGG;AACH,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAI9E;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,CAAC,QAAQ,GACxB,OAAO,CAGT;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAE5D;AAED;;;;;;;GAOG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,EACb,SAAS,CAAC,EAAE,MAAM,CAAC,QAAQ,GAC1B,OAAO,CAAC,IAAI,CAAC,CAaf"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* meaning.
|
|
11
11
|
*
|
|
12
12
|
* The one layout primitive behind `findSkills`, `loadAllFlows`, and
|
|
13
|
-
* `
|
|
13
|
+
* `findFlowFileInRoots`. Layouts **within** a kind dir are the walker's own business —
|
|
14
14
|
* flows, for instance, also accept a per-flow directory
|
|
15
15
|
* (`flows/<id>/<id>.flow.yaml`), which lives in the flow loader.
|
|
16
16
|
*
|