@skaile/workspaces 5.12.0 → 5.13.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 +96 -0
- package/README.md +2 -2
- package/dist/{asset-feeds-AM6PSSGM.js → asset-feeds-ALMTHLPV.js} +20 -20
- package/dist/{asset-feeds-AM6PSSGM.js.map → asset-feeds-ALMTHLPV.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +9 -9
- package/dist/asset-manager/index.js +15 -15
- package/dist/asset-manager/installer.js +11 -11
- package/dist/asset-manager/renderers.js +10 -10
- package/dist/asset-manager/src/index.d.ts +53 -10
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts +0 -10
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +15 -13
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +72 -27
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +11 -11
- package/dist/bridge/drivers/echo.js +1 -1
- package/dist/bridge/drivers/gemini.js +6 -6
- package/dist/bridge/drivers/goose.js +11 -11
- package/dist/bridge/drivers/omp.js +102 -27
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +11 -11
- package/dist/bridge/drivers/qwen.js +6 -6
- package/dist/bridge/index.js +13 -13
- package/dist/bridge/src/codex/config-toml.d.ts +8 -0
- package/dist/bridge/src/codex/config-toml.d.ts.map +1 -1
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/codex.d.ts +6 -0
- package/dist/bridge/src/drivers/codex.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp-models-yml.d.ts +32 -0
- package/dist/bridge/src/drivers/omp-models-yml.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp.d.ts +20 -6
- package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
- package/dist/{chunk-QCEKGYHF.js → chunk-2BIESC6S.js} +3 -3
- package/dist/{chunk-QCEKGYHF.js.map → chunk-2BIESC6S.js.map} +1 -1
- package/dist/{chunk-NGJIVDDD.js → chunk-4DLQESIY.js} +3 -3
- package/dist/{chunk-NGJIVDDD.js.map → chunk-4DLQESIY.js.map} +1 -1
- package/dist/{chunk-7QWQTA5S.js → chunk-4L4R5LV3.js} +4 -4
- package/dist/{chunk-7QWQTA5S.js.map → chunk-4L4R5LV3.js.map} +1 -1
- package/dist/{chunk-GWD3QNVS.js → chunk-4NJ3QQHZ.js} +5 -5
- package/dist/{chunk-GWD3QNVS.js.map → chunk-4NJ3QQHZ.js.map} +1 -1
- package/dist/{chunk-6VLHITAM.js → chunk-57SF6W6E.js} +4 -3
- package/dist/chunk-57SF6W6E.js.map +1 -0
- package/dist/{chunk-NJV5SLEK.js → chunk-5FYOM4RF.js} +46 -46
- package/dist/chunk-5FYOM4RF.js.map +1 -0
- package/dist/{chunk-ICIYSJBQ.js → chunk-5SKVCMRC.js} +15 -7
- package/dist/chunk-5SKVCMRC.js.map +1 -0
- package/dist/{chunk-P23WJCH2.js → chunk-6GICC4RJ.js} +23 -18
- package/dist/chunk-6GICC4RJ.js.map +1 -0
- package/dist/{chunk-3HUV2LJF.js → chunk-6JKIOPT3.js} +4 -4
- package/dist/{chunk-3HUV2LJF.js.map → chunk-6JKIOPT3.js.map} +1 -1
- package/dist/{chunk-NDF24LYP.js → chunk-6NQDDCIL.js} +3 -3
- package/dist/{chunk-NDF24LYP.js.map → chunk-6NQDDCIL.js.map} +1 -1
- package/dist/{chunk-VRLKHL74.js → chunk-7SMP4GNW.js} +6 -6
- package/dist/{chunk-VRLKHL74.js.map → chunk-7SMP4GNW.js.map} +1 -1
- package/dist/{chunk-XMAJJPA4.js → chunk-AHCI4V5L.js} +3 -3
- package/dist/{chunk-XMAJJPA4.js.map → chunk-AHCI4V5L.js.map} +1 -1
- package/dist/{chunk-NJXR5OAM.js → chunk-B7CZYFB2.js} +4 -4
- package/dist/{chunk-NJXR5OAM.js.map → chunk-B7CZYFB2.js.map} +1 -1
- package/dist/{chunk-T5TSLSRO.js → chunk-BF422IDP.js} +8 -8
- package/dist/{chunk-T5TSLSRO.js.map → chunk-BF422IDP.js.map} +1 -1
- package/dist/{chunk-MF54ZHWT.js → chunk-BVJU2GKE.js} +2 -2
- package/dist/{chunk-MF54ZHWT.js.map → chunk-BVJU2GKE.js.map} +1 -1
- package/dist/{chunk-PMECEZK3.js → chunk-D54T2F54.js} +5 -4
- package/dist/chunk-D54T2F54.js.map +1 -0
- package/dist/{chunk-C3BMXXTN.js → chunk-DKGEV6SQ.js} +68 -24
- package/dist/chunk-DKGEV6SQ.js.map +1 -0
- package/dist/chunk-FB3NREF7.js +649 -0
- package/dist/chunk-FB3NREF7.js.map +1 -0
- package/dist/{chunk-3LVB3HGH.js → chunk-FHDK3BFD.js} +3 -3
- package/dist/{chunk-3LVB3HGH.js.map → chunk-FHDK3BFD.js.map} +1 -1
- package/dist/{chunk-2X3JBVGD.js → chunk-GMDSRSGI.js} +18 -9
- package/dist/chunk-GMDSRSGI.js.map +1 -0
- package/dist/{chunk-N5M2EISA.js → chunk-HBZD3MIW.js} +97 -54
- package/dist/chunk-HBZD3MIW.js.map +1 -0
- package/dist/{chunk-SMT3LNAG.js → chunk-HWGYJMME.js} +4 -4
- package/dist/{chunk-SMT3LNAG.js.map → chunk-HWGYJMME.js.map} +1 -1
- package/dist/{chunk-CPSIPIX7.js → chunk-IG5LZ3WU.js} +8 -6
- package/dist/chunk-IG5LZ3WU.js.map +1 -0
- package/dist/{chunk-CTP3XBMF.js → chunk-IY5E7Y5W.js} +57 -7
- package/dist/chunk-IY5E7Y5W.js.map +1 -0
- package/dist/{chunk-YQU2BPQD.js → chunk-J4DB5G36.js} +2 -2
- package/dist/{chunk-YQU2BPQD.js.map → chunk-J4DB5G36.js.map} +1 -1
- package/dist/{chunk-PNTXHTBC.js → chunk-J4OYIYFQ.js} +2 -2
- package/dist/{chunk-PNTXHTBC.js.map → chunk-J4OYIYFQ.js.map} +1 -1
- package/dist/{chunk-PNOGX36L.js → chunk-L3ZGYSWY.js} +85 -24
- package/dist/chunk-L3ZGYSWY.js.map +1 -0
- package/dist/{chunk-XTVSNWLL.js → chunk-M3P4BYRK.js} +34 -11
- package/dist/chunk-M3P4BYRK.js.map +1 -0
- package/dist/{chunk-X6LKA3TJ.js → chunk-NDUYFYJB.js} +5 -5
- package/dist/{chunk-X6LKA3TJ.js.map → chunk-NDUYFYJB.js.map} +1 -1
- package/dist/{chunk-7CR2OZPA.js → chunk-NVO6WECE.js} +9 -8
- package/dist/chunk-NVO6WECE.js.map +1 -0
- package/dist/chunk-PN44DOGP.js +345 -0
- package/dist/chunk-PN44DOGP.js.map +1 -0
- package/dist/{chunk-UTKENBB6.js → chunk-PXDWTJ3P.js} +4 -4
- package/dist/{chunk-UTKENBB6.js.map → chunk-PXDWTJ3P.js.map} +1 -1
- package/dist/{chunk-POQ6PGNE.js → chunk-PYTTF754.js} +22 -6
- package/dist/chunk-PYTTF754.js.map +1 -0
- package/dist/chunk-PZOO7L26.js +64 -0
- package/dist/chunk-PZOO7L26.js.map +1 -0
- package/dist/{chunk-SHQMPGOL.js → chunk-QO7CR3KB.js} +10 -5
- package/dist/chunk-QO7CR3KB.js.map +1 -0
- package/dist/{chunk-KVSDRB35.js → chunk-R6QHJEHE.js} +5 -5
- package/dist/{chunk-KVSDRB35.js.map → chunk-R6QHJEHE.js.map} +1 -1
- package/dist/chunk-U27JRO5L.js +13 -0
- package/dist/chunk-U27JRO5L.js.map +1 -0
- package/dist/{chunk-G3X4MLDB.js → chunk-USHB5KEY.js} +3 -3
- package/dist/{chunk-G3X4MLDB.js.map → chunk-USHB5KEY.js.map} +1 -1
- package/dist/{chunk-HYMERG57.js → chunk-V5JHD4I2.js} +3 -3
- package/dist/{chunk-HYMERG57.js.map → chunk-V5JHD4I2.js.map} +1 -1
- package/dist/{chunk-JQ3DXNQV.js → chunk-VLBIME5L.js} +6 -6
- package/dist/{chunk-JQ3DXNQV.js.map → chunk-VLBIME5L.js.map} +1 -1
- package/dist/{chunk-7XWUJC3A.js → chunk-XBYSURMK.js} +3 -3
- package/dist/{chunk-7XWUJC3A.js.map → chunk-XBYSURMK.js.map} +1 -1
- package/dist/{chunk-XZY6SBGU.js → chunk-XJYBCDY2.js} +3 -3
- package/dist/{chunk-XZY6SBGU.js.map → chunk-XJYBCDY2.js.map} +1 -1
- package/dist/{chunk-27L6BBAT.js → chunk-Y4Z7LGSH.js} +8 -8
- package/dist/{chunk-27L6BBAT.js.map → chunk-Y4Z7LGSH.js.map} +1 -1
- package/dist/{chunk-TVAR4JHA.js → chunk-Y7WKXPWS.js} +320 -51
- package/dist/chunk-Y7WKXPWS.js.map +1 -0
- package/dist/{chunk-2JFIFDDO.js → chunk-YTZFSKWL.js} +3 -3
- package/dist/{chunk-2JFIFDDO.js.map → chunk-YTZFSKWL.js.map} +1 -1
- package/dist/{chunk-WI4T3KIS.js → chunk-ZSMMX3JD.js} +130 -23
- package/dist/chunk-ZSMMX3JD.js.map +1 -0
- package/dist/{chunk-DCHQ6BAZ.js → chunk-ZU24LWBI.js} +3 -3
- package/dist/{chunk-DCHQ6BAZ.js.map → chunk-ZU24LWBI.js.map} +1 -1
- package/dist/cli/index.js +469 -227
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts +2 -0
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/diff.d.ts +1 -1
- package/dist/cli/src/commands/diff.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 +10 -0
- 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/plugin/claude-code.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin/types.d.ts +2 -0
- package/dist/cli/src/commands/plugin/types.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin-registry-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/preset-apply.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts +8 -0
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/run.d.ts +9 -0
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/serve-preflight.d.ts +2 -1
- 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/source-manifest.d.ts +1 -0
- package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts +9 -1
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/store.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts.map +1 -1
- package/dist/cli/src/commands/validate-instances.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts +3 -2
- 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/helpers.d.ts +6 -0
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/index.d.ts +1 -1
- package/dist/cli/src/plugin-store/index.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/reconcile.d.ts +24 -4
- package/dist/cli/src/plugin-store/reconcile.d.ts.map +1 -1
- package/dist/cli/src/skill-checks.d.ts +15 -4
- package/dist/cli/src/skill-checks.d.ts.map +1 -1
- package/dist/cli/src/store-addable.d.ts +7 -8
- package/dist/cli/src/store-addable.d.ts.map +1 -1
- package/dist/connectors/config.js +6 -6
- package/dist/connectors/index.js +16 -16
- package/dist/connectors/src/config.d.ts.map +1 -1
- package/dist/{connectors-UNKUKEPG.js → connectors-GFKMKAXV.js} +19 -19
- package/dist/{connectors-UNKUKEPG.js.map → connectors-GFKMKAXV.js.map} +1 -1
- package/dist/core/driver-targets.js +1 -1
- package/dist/core/index.js +8 -8
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/publish-manifest.js +4 -2
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +6 -6
- package/dist/core/src/agent-instances.d.ts +5 -0
- package/dist/core/src/agent-instances.d.ts.map +1 -1
- package/dist/core/src/driver-targets.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +1 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/manifest.d.ts +9 -3
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +8 -0
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/publish-manifest.d.ts +38 -1
- package/dist/core/src/publish-manifest.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +8 -3
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/runtime-assets.d.ts.map +1 -1
- package/dist/core/src/store.d.ts +4 -0
- package/dist/core/src/store.d.ts.map +1 -1
- package/dist/core/src/walker.d.ts +2 -0
- package/dist/core/src/walker.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +24 -2
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/store.js +2 -2
- package/dist/core/workspace-config.js +5 -5
- package/dist/deploy/index.js +8 -8
- package/dist/discovery/index.js +5 -5
- package/dist/discovery/src/parse-manifest.d.ts.map +1 -1
- package/dist/discovery/src/source-config.d.ts +5 -3
- package/dist/discovery/src/source-config.d.ts.map +1 -1
- package/dist/{ensure-sources-POMEQSTM.js → ensure-sources-VUKHL65L.js} +18 -18
- package/dist/{ensure-sources-POMEQSTM.js.map → ensure-sources-VUKHL65L.js.map} +1 -1
- package/dist/factory-assets/README.md +1 -1
- package/dist/factory-assets/connectors/box.js +16 -16
- package/dist/factory-assets/connectors/deploy.js +16 -16
- package/dist/factory-assets/connectors/devserver.js +16 -16
- package/dist/factory-assets/connectors/flow/adapter.js +16 -16
- package/dist/factory-assets/connectors/flow/engine.js +9 -9
- package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +18 -18
- package/dist/factory-assets/connectors/flow.js +16 -16
- package/dist/factory-assets/connectors/git.js +16 -16
- package/dist/factory-assets/connectors/gmail.js +16 -16
- package/dist/factory-assets/connectors/googledrive.js +16 -16
- package/dist/factory-assets/connectors/local.js +16 -16
- package/dist/factory-assets/connectors/mattermost.js +16 -16
- package/dist/factory-assets/connectors/memory.js +16 -16
- package/dist/factory-assets/connectors/minio.js +16 -16
- package/dist/factory-assets/connectors/postgres.js +16 -16
- package/dist/factory-assets/connectors/s3.js +16 -16
- package/dist/factory-assets/connectors/sharepoint.js +16 -16
- package/dist/factory-assets/connectors/sqlite.js +16 -16
- package/dist/factory-assets/connectors/static-server.js +16 -16
- package/dist/factory-assets/connectors/tunnel.js +16 -16
- package/dist/factory-assets/connectors/webdav.js +16 -16
- package/dist/factory-assets/connectors/xstate-store.js +16 -16
- package/dist/factory-assets/connectors/xstate.js +16 -16
- package/dist/{flows-DVKMZKM4.js → flows-A4YALSZY.js} +13 -13
- package/dist/{flows-DVKMZKM4.js.map → flows-A4YALSZY.js.map} +1 -1
- package/dist/{helpers-Y4OT7VIS.js → helpers-53XZW7KF.js} +18 -18
- package/dist/{helpers-Y4OT7VIS.js.map → helpers-53XZW7KF.js.map} +1 -1
- package/dist/library/index.js +12 -12
- package/dist/library/install.js +5 -3
- package/dist/library/src/local/local-catalog-source.d.ts +6 -0
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/manifest-writer.d.ts +1 -1
- package/dist/library/src/manifest-writer.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/library/src/user-library.d.ts +2 -0
- package/dist/library/src/user-library.d.ts.map +1 -1
- package/dist/{library-publish-DI4Q5UOG.js → library-publish-FFIPWIRM.js} +28 -25
- package/dist/library-publish-FFIPWIRM.js.map +1 -0
- package/dist/open-library-PZAT3TJA.js +40 -0
- package/dist/{open-library-N6ESO6IK.js.map → open-library-PZAT3TJA.js.map} +1 -1
- package/dist/open-registry-W46UXZ3I.js +32 -0
- package/dist/{open-registry-CBZ5MWTT.js.map → open-registry-W46UXZ3I.js.map} +1 -1
- package/dist/paths-KKY3NSBZ.js +22 -0
- package/dist/{paths-U6W6MQNQ.js.map → paths-KKY3NSBZ.js.map} +1 -1
- package/dist/{plugin-store-XMZSPVBF.js → plugin-store-CK7YWRIC.js} +62 -20
- package/dist/plugin-store-CK7YWRIC.js.map +1 -0
- package/dist/plugins/src/catalog-source.d.ts +6 -0
- package/dist/plugins/src/catalog-source.d.ts.map +1 -1
- package/dist/project-EZUH7PUJ.js +79 -0
- package/dist/{project-UP52HEHC.js.map → project-EZUH7PUJ.js.map} +1 -1
- package/dist/resolver/index.js +9 -9
- package/dist/runner/index.js +29 -29
- package/dist/runner/src/agent.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/composition/prompt-sections.d.ts +18 -6
- package/dist/runner/src/composition/prompt-sections.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts.map +1 -1
- package/dist/runner/src/session.d.ts +2 -0
- package/dist/runner/src/session.d.ts.map +1 -1
- package/dist/runner/src/ws-auth-warning.d.ts +17 -0
- package/dist/runner/src/ws-auth-warning.d.ts.map +1 -0
- package/dist/sdk/asset-manager.js +15 -15
- package/dist/sdk/bridge.js +13 -13
- package/dist/sdk/core.js +8 -8
- package/dist/sdk/flow.js +9 -9
- package/dist/sdk/index.js +29 -29
- package/dist/sdk/resolver.js +9 -9
- package/dist/sdk/runner.js +29 -29
- package/dist/serve-preflight-F7MYF747.js +64 -0
- package/dist/serve-preflight-F7MYF747.js.map +1 -0
- package/dist/{setup-5IRUH5OS.js → setup-L632QIHV.js} +23 -23
- package/dist/{setup-5IRUH5OS.js.map → setup-L632QIHV.js.map} +1 -1
- package/dist/skills-OY3Y5GKA.js +26 -0
- package/dist/{skills-HA36RFNM.js.map → skills-OY3Y5GKA.js.map} +1 -1
- package/dist/source-36FHMN5V.js +42 -0
- package/dist/{source-DX5SGWEI.js.map → source-36FHMN5V.js.map} +1 -1
- package/dist/{source-manifest-publish-NMRLXWVW.js → source-manifest-publish-NIXJSJ22.js} +25 -24
- package/dist/source-manifest-publish-NIXJSJ22.js.map +1 -0
- package/dist/tui/index.js +46 -36
- package/dist/tui/index.js.map +1 -1
- package/dist/tui/src/repl.d.ts.map +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/lifecycle.d.ts +2 -1
- package/dist/types/src/lifecycle.d.ts.map +1 -1
- package/dist/types/src/manifests/preset.d.ts +6 -1
- package/dist/types/src/manifests/preset.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +23 -23
- 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-2X3JBVGD.js.map +0 -1
- package/dist/chunk-6VLHITAM.js.map +0 -1
- package/dist/chunk-7CR2OZPA.js.map +0 -1
- package/dist/chunk-C3BMXXTN.js.map +0 -1
- package/dist/chunk-CPSIPIX7.js.map +0 -1
- package/dist/chunk-CTP3XBMF.js.map +0 -1
- package/dist/chunk-ICIYSJBQ.js.map +0 -1
- package/dist/chunk-ID745F3R.js +0 -625
- package/dist/chunk-ID745F3R.js.map +0 -1
- package/dist/chunk-K4VOEYOR.js +0 -21
- package/dist/chunk-K4VOEYOR.js.map +0 -1
- package/dist/chunk-N5M2EISA.js.map +0 -1
- package/dist/chunk-NJV5SLEK.js.map +0 -1
- package/dist/chunk-NR7H7ZJP.js +0 -400
- package/dist/chunk-NR7H7ZJP.js.map +0 -1
- package/dist/chunk-P23WJCH2.js.map +0 -1
- package/dist/chunk-PMECEZK3.js.map +0 -1
- package/dist/chunk-PNOGX36L.js.map +0 -1
- package/dist/chunk-POQ6PGNE.js.map +0 -1
- package/dist/chunk-SHQMPGOL.js.map +0 -1
- package/dist/chunk-TVAR4JHA.js.map +0 -1
- package/dist/chunk-WI4T3KIS.js.map +0 -1
- package/dist/chunk-XTVSNWLL.js.map +0 -1
- package/dist/library-publish-DI4Q5UOG.js.map +0 -1
- package/dist/open-library-N6ESO6IK.js +0 -40
- package/dist/open-registry-CBZ5MWTT.js +0 -32
- package/dist/paths-U6W6MQNQ.js +0 -22
- package/dist/plugin-store-XMZSPVBF.js.map +0 -1
- package/dist/project-UP52HEHC.js +0 -79
- package/dist/serve-preflight-6P2JJEJ3.js +0 -47
- package/dist/serve-preflight-6P2JJEJ3.js.map +0 -1
- package/dist/skills-HA36RFNM.js +0 -26
- package/dist/source-DX5SGWEI.js +0 -41
- package/dist/source-manifest-publish-NMRLXWVW.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { globalCacheRoot, globalSkaileDir, mergeLegacyEntriesInto, mergeLegacyEntriesKeyed } from './chunk-L5VSIPQD.js';
|
|
2
|
-
import { SUPPORTED_DRIVER_TARGETS, globalHarnessRoot } from './chunk-
|
|
3
|
-
import { decodeSkaileManifest, compositeSha256, listAssetFiles, SKAILE_MANIFEST_FILENAME, sha256Hex } from './chunk-
|
|
2
|
+
import { SUPPORTED_DRIVER_TARGETS, globalHarnessRoot } from './chunk-IG5LZ3WU.js';
|
|
3
|
+
import { decodeSkaileManifest, compositeSha256, listAssetFiles, SKAILE_MANIFEST_FILENAME, sha256Hex } from './chunk-IY5E7Y5W.js';
|
|
4
4
|
import { readPluginGroupings } from './chunk-RVRB27AN.js';
|
|
5
|
-
import { scanDirectory, parseFrontmatter, parseRequires, dedupeRequirementRefs, fromMcpServerMdContent, withFsDeadline, tryWithFsDeadline, fsDeadlineMs, assetDepRefs, agentYamlRequires } from './chunk-
|
|
6
|
-
import { isValidAssetName, slugifyAssetName, depToStr, parseAssetRef, assetRefToStr } from './chunk-
|
|
5
|
+
import { scanDirectory, parseFrontmatter, parseRequires, dedupeRequirementRefs, fromMcpServerMdContent, withFsDeadline, tryWithFsDeadline, fsDeadlineMs, assetDepRefs, agentYamlRequires } from './chunk-M3P4BYRK.js';
|
|
6
|
+
import { isValidAssetName, slugifyAssetName, depToStr, parseAssetRef, assetRefToStr } from './chunk-J4OYIYFQ.js';
|
|
7
7
|
import { isRetentionValue } from './chunk-C3CAXQMA.js';
|
|
8
8
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, lstatSync, symlinkSync, rmSync, readdirSync, constants, statSync } from 'fs';
|
|
9
9
|
import { readdir, stat, cp, rm, open, readFile } from 'fs/promises';
|
|
@@ -255,6 +255,27 @@ function agentInstanceDiagnostics(config) {
|
|
|
255
255
|
}
|
|
256
256
|
return [];
|
|
257
257
|
}
|
|
258
|
+
var AGENT_BLOCK_KEYS = /* @__PURE__ */ new Set([
|
|
259
|
+
"definition",
|
|
260
|
+
"context",
|
|
261
|
+
"permissions",
|
|
262
|
+
"hooks",
|
|
263
|
+
"fragments",
|
|
264
|
+
"prompt-extensions",
|
|
265
|
+
"home",
|
|
266
|
+
"prompt",
|
|
267
|
+
"instances",
|
|
268
|
+
"subagents"
|
|
269
|
+
]);
|
|
270
|
+
function agentBlockKeyDiagnostics(agent) {
|
|
271
|
+
if (!isRecord(agent)) return [];
|
|
272
|
+
return Object.keys(agent).filter((key) => !AGENT_BLOCK_KEYS.has(key)).map((key) => ({
|
|
273
|
+
code: "unknown_agent_key",
|
|
274
|
+
severity: "warning",
|
|
275
|
+
message: `Unknown key "${key}" under \`agent:\` is ignored \u2014 expected one of: ${[...AGENT_BLOCK_KEYS].filter((k) => k !== "subagents").join(", ")}. Per-instance overrides (lifecycle, model, memory, triggers, connectors, budget) belong under \`agents.<id>\`.`,
|
|
276
|
+
path: `agent.${key}`
|
|
277
|
+
}));
|
|
278
|
+
}
|
|
258
279
|
function fileSha256(p) {
|
|
259
280
|
return sha256Hex(readFileSync(p));
|
|
260
281
|
}
|
|
@@ -345,7 +366,7 @@ function findManifestFiles(root) {
|
|
|
345
366
|
async function walkWithManifest(clone, manifestPath, index) {
|
|
346
367
|
const { manifest } = decodeSkaileManifest(readFileSync(manifestPath, "utf8"));
|
|
347
368
|
const repoRoot = clone.localPath;
|
|
348
|
-
const manifestPublisher = manifest.publisher ?? publisherFromGithubUrl(clone.sourceUrl);
|
|
369
|
+
const manifestPublisher = manifest.publisher ?? clone.publisher ?? publisherFromGithubUrl(clone.sourceUrl);
|
|
349
370
|
const manifestVersion = manifest.version ?? (clone.tag ? clone.tag.replace(/^v/, "") : void 0) ?? syntheticVersion(clone.commit);
|
|
350
371
|
const assets = manifest.assets ?? [];
|
|
351
372
|
if (assets.length === 0) return false;
|
|
@@ -353,7 +374,7 @@ async function walkWithManifest(clone, manifestPath, index) {
|
|
|
353
374
|
const assetPublisher = a.publisher ?? manifestPublisher;
|
|
354
375
|
if (!assetPublisher) {
|
|
355
376
|
throw new Error(
|
|
356
|
-
`${clone.sourceUrl}: publisher must be declared in skaile.manifest.yaml (non-GitHub source URL \u2014 auto-derivation not available)
|
|
377
|
+
`${clone.sourceUrl}: publisher must be declared in skaile.manifest.yaml (non-GitHub source URL \u2014 auto-derivation not available) or recorded with \`skaile source add --publisher\`.`
|
|
357
378
|
);
|
|
358
379
|
}
|
|
359
380
|
const curatedSource = a.source ?? manifest.source;
|
|
@@ -470,10 +491,10 @@ var DIR_SCOPED_KINDS = /* @__PURE__ */ new Set([
|
|
|
470
491
|
"knowledge"
|
|
471
492
|
]);
|
|
472
493
|
async function walkFilenameConvention(clone, index, knownKinds, repoLevel = {}) {
|
|
473
|
-
const publisher = repoLevel.publisher ?? publisherFromGithubUrl(clone.sourceUrl);
|
|
494
|
+
const publisher = repoLevel.publisher ?? clone.publisher ?? publisherFromGithubUrl(clone.sourceUrl);
|
|
474
495
|
if (!publisher) {
|
|
475
496
|
throw new Error(
|
|
476
|
-
`${clone.sourceUrl}: publisher must be declared in skaile.manifest.yaml (non-GitHub source URL)
|
|
497
|
+
`${clone.sourceUrl}: publisher must be declared in skaile.manifest.yaml (non-GitHub source URL) or recorded with \`skaile source add --publisher\`.`
|
|
477
498
|
);
|
|
478
499
|
}
|
|
479
500
|
const version = repoLevel.version ?? (clone.tag ? clone.tag.replace(/^v/, "") : void 0) ?? syntheticVersion(clone.commit);
|
|
@@ -669,6 +690,27 @@ function getRepoCommit(repoDir) {
|
|
|
669
690
|
});
|
|
670
691
|
return r.status === 0 ? r.stdout.trim() : null;
|
|
671
692
|
}
|
|
693
|
+
function isShallowBoundary(repoDir, commit) {
|
|
694
|
+
const full = spawnSync("git", ["-C", repoDir, "rev-parse", "--verify", `${commit}^{commit}`], {
|
|
695
|
+
encoding: "utf8",
|
|
696
|
+
stdio: "pipe",
|
|
697
|
+
env: GIT_ENV
|
|
698
|
+
});
|
|
699
|
+
const sha = full.stdout.trim();
|
|
700
|
+
if (full.status !== 0 || !sha) return false;
|
|
701
|
+
const file = spawnSync("git", ["-C", repoDir, "rev-parse", "--git-path", "shallow"], {
|
|
702
|
+
encoding: "utf8",
|
|
703
|
+
stdio: "pipe",
|
|
704
|
+
env: GIT_ENV
|
|
705
|
+
});
|
|
706
|
+
if (file.status !== 0) return false;
|
|
707
|
+
const shallowPath = resolve(repoDir, file.stdout.trim());
|
|
708
|
+
try {
|
|
709
|
+
return readFileSync(shallowPath, "utf8").split("\n").includes(sha);
|
|
710
|
+
} catch {
|
|
711
|
+
return false;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
672
714
|
function isCommitOnRemote(repoDir, commit) {
|
|
673
715
|
if (!/^[0-9a-f]{7,64}$/i.test(commit) || !hasOwnGit(repoDir)) return true;
|
|
674
716
|
if (!getRepoRemoteUrl(repoDir)) return true;
|
|
@@ -677,6 +719,7 @@ function isCommitOnRemote(repoDir, commit) {
|
|
|
677
719
|
env: GIT_ENV
|
|
678
720
|
});
|
|
679
721
|
if (known.status !== 0) return true;
|
|
722
|
+
if (isShallowBoundary(repoDir, commit)) return true;
|
|
680
723
|
const r = spawnSync("git", ["-C", repoDir, "branch", "-r", "--contains", commit], {
|
|
681
724
|
encoding: "utf8",
|
|
682
725
|
stdio: "pipe",
|
|
@@ -801,6 +844,15 @@ function isManagedCacheDir(dir) {
|
|
|
801
844
|
const target = resolve(dir);
|
|
802
845
|
return target === root || target.startsWith(root + sep);
|
|
803
846
|
}
|
|
847
|
+
var warnedSourceClones = /* @__PURE__ */ new Set();
|
|
848
|
+
function warnSourceClone(url, dest, what) {
|
|
849
|
+
const line = redactCredentials(`! source clone ${sourceShortName(url)} ${what}`);
|
|
850
|
+
if (warnedSourceClones.has(`${dest}
|
|
851
|
+
${line}`)) return;
|
|
852
|
+
warnedSourceClones.add(`${dest}
|
|
853
|
+
${line}`);
|
|
854
|
+
console.warn(line);
|
|
855
|
+
}
|
|
804
856
|
function syncManagedClone(dest, url, branch, pin, strictPin = false) {
|
|
805
857
|
const cached = existsSync(join(dest, ".git"));
|
|
806
858
|
if (cached && remoteUrlMatches(dest, url)) {
|
|
@@ -811,10 +863,10 @@ function syncManagedClone(dest, url, branch, pin, strictPin = false) {
|
|
|
811
863
|
if (!pin) {
|
|
812
864
|
const { ok, error } = pullRepoResult(dest, branch);
|
|
813
865
|
if (!ok) {
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
)
|
|
866
|
+
warnSourceClone(
|
|
867
|
+
url,
|
|
868
|
+
dest,
|
|
869
|
+
`not refreshed: ${(error ?? "").replace(/\.+$/, "")}; using the cached commit`
|
|
818
870
|
);
|
|
819
871
|
}
|
|
820
872
|
}
|
|
@@ -834,11 +886,7 @@ function syncManagedClone(dest, url, branch, pin, strictPin = false) {
|
|
|
834
886
|
)
|
|
835
887
|
);
|
|
836
888
|
}
|
|
837
|
-
|
|
838
|
-
redactCredentials(
|
|
839
|
-
`[repo-manager] could not check out pin ${pin} in source clone ${dest}. Using the cached commit.`
|
|
840
|
-
)
|
|
841
|
-
);
|
|
889
|
+
warnSourceClone(url, dest, `not on its pin ${pin}; using the cached commit`);
|
|
842
890
|
}
|
|
843
891
|
}
|
|
844
892
|
function ensureLocalPathRepo(decl, reposDir, opts) {
|
|
@@ -897,7 +945,7 @@ function repoSlugFromGitRemote(rootDir) {
|
|
|
897
945
|
const m = /github\.com[/:]([^/]+)\/([^/]+?)(?:\.git)?\/?$/.exec(r.stdout.trim());
|
|
898
946
|
return m ? `${m[1]}/${m[2]}` : void 0;
|
|
899
947
|
}
|
|
900
|
-
function resolveSourcePublisher(repoDir) {
|
|
948
|
+
function resolveSourcePublisher(repoDir, declared) {
|
|
901
949
|
const manifestPath = join(repoDir, SKAILE_MANIFEST_FILENAME);
|
|
902
950
|
if (existsSync(manifestPath)) {
|
|
903
951
|
try {
|
|
@@ -907,12 +955,13 @@ function resolveSourcePublisher(repoDir) {
|
|
|
907
955
|
} catch {
|
|
908
956
|
}
|
|
909
957
|
}
|
|
958
|
+
if (declared) return declared.startsWith("@") ? declared.slice(1) : declared;
|
|
910
959
|
const org = repoSlugFromGitRemote(repoDir)?.split("/")[0];
|
|
911
960
|
return org ? normalizeGithubOrg(org) : void 0;
|
|
912
961
|
}
|
|
913
962
|
async function scanRepo(repoDir, repoName, options) {
|
|
914
963
|
const repo = repoSlugFromGitRemote(repoDir);
|
|
915
|
-
const publisher = resolveSourcePublisher(repoDir) ?? repoName;
|
|
964
|
+
const publisher = resolveSourcePublisher(repoDir, options.declaredPublisher) ?? repoName;
|
|
916
965
|
const groupings = readPluginGroupings(repoDir);
|
|
917
966
|
return (await scanDirectory(repoDir, repoName, options)).map((e) => {
|
|
918
967
|
const plugin = groupings.get(relative(repoDir, dirname(e.source)).split(sep).join("/"));
|
|
@@ -939,7 +988,10 @@ async function resolveAsset(ref, repositories, reposDir, opts) {
|
|
|
939
988
|
if (!decl) continue;
|
|
940
989
|
const repoDir = resolveRepoDir(decl, repoName, reposDir, opts.projectDir);
|
|
941
990
|
if (!repoDir || !existsSync(repoDir)) continue;
|
|
942
|
-
const entries = await scanRepo(repoDir, repoName, {
|
|
991
|
+
const entries = await scanRepo(repoDir, repoName, {
|
|
992
|
+
knownKinds: opts.knownKinds,
|
|
993
|
+
declaredPublisher: decl.publisher
|
|
994
|
+
});
|
|
943
995
|
const match = entries.find((e) => e.kind === ref.kind && e.name === ref.name);
|
|
944
996
|
if (match) return match;
|
|
945
997
|
}
|
|
@@ -1305,6 +1357,8 @@ function parseSourceEntries(raw) {
|
|
|
1305
1357
|
const entry = { url };
|
|
1306
1358
|
const pin = s.pin;
|
|
1307
1359
|
if (typeof pin === "string" && pin.length > 0) entry.pin = pin;
|
|
1360
|
+
const publisher = s.publisher;
|
|
1361
|
+
if (typeof publisher === "string" && publisher.length > 0) entry.publisher = publisher;
|
|
1308
1362
|
return entry;
|
|
1309
1363
|
});
|
|
1310
1364
|
}
|
|
@@ -1783,6 +1837,7 @@ function normalizeAgentSection(raw, config, diagnostics) {
|
|
|
1783
1837
|
if (raw.agent) {
|
|
1784
1838
|
config.agent = isRecord(raw.agent) ? { ...raw.agent } : raw.agent;
|
|
1785
1839
|
}
|
|
1840
|
+
diagnostics.push(...agentBlockKeyDiagnostics(raw.agent));
|
|
1786
1841
|
if (config.agent?.instances !== void 0) {
|
|
1787
1842
|
diagnostics.push({
|
|
1788
1843
|
code: "misplaced_agent_instances",
|
|
@@ -2475,7 +2530,13 @@ function buildSourceClones(sources) {
|
|
|
2475
2530
|
const localPath = join(sourcesDir, sourceCacheKey(s.url));
|
|
2476
2531
|
if (!existsSync(localPath)) continue;
|
|
2477
2532
|
const commit = getRepoCommit(localPath) ?? "0".repeat(40);
|
|
2478
|
-
clones.push({
|
|
2533
|
+
clones.push({
|
|
2534
|
+
localPath,
|
|
2535
|
+
sourceUrl: s.url,
|
|
2536
|
+
commit,
|
|
2537
|
+
tag: s.pin,
|
|
2538
|
+
...s.publisher ? { publisher: s.publisher } : {}
|
|
2539
|
+
});
|
|
2479
2540
|
}
|
|
2480
2541
|
return clones;
|
|
2481
2542
|
}
|
|
@@ -2739,6 +2800,6 @@ function resolveAgentDefinitionDir(projectDir, definition) {
|
|
|
2739
2800
|
return resolve(projectDir, definition);
|
|
2740
2801
|
}
|
|
2741
2802
|
|
|
2742
|
-
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, SKAILE_YAML_SUFFIX, SKILL_ALLOWLIST_FILE, SKILL_ALLOWLIST_VERSION, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, STAGED_SKILL_MARKER, SourceEntryError, UnknownAssetKindError, agentInstanceDiagnostics, agentSourceCacheDir, attachToBranch, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, coerceVersion, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, effectiveAgentInstances, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, isCommitOnRemote, isStagedSkillMarkerFor, isWorkspaceConfigFilename, legacySourceCacheKey, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, matchPin, mergeAgentInstances, mergeAgentPermissions, mergeSkWorkspaceConfigs, normalizeAgentInstances, normalizeConfig, parseSourceEntries, pullRepo, pullRepoResult, readLinks, readSkillAllowList, resolveAgentDefinitionDir, resolveAgentDir, resolveAll, resolveAsset, resolveCompactionThresholdPercent, resolveGlobalHarnesses, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, saveSkWorkspaceConfig, scanRepo, sourceCacheKey, sourceShortName, stageMaterializedSkills, stagedSkillMarkerState, storeManifestSlug, unlinkRepo, unstageSkill, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, workspaceNameFromFilename, writeLinks };
|
|
2743
|
-
//# sourceMappingURL=chunk-
|
|
2744
|
-
//# sourceMappingURL=chunk-
|
|
2803
|
+
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, SKAILE_YAML_SUFFIX, 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, isStagedSkillMarkerFor, isWorkspaceConfigFilename, legacySourceCacheKey, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, matchPin, mergeAgentInstances, mergeAgentPermissions, mergeSkWorkspaceConfigs, normalizeAgentInstances, normalizeConfig, parseSourceEntries, pullRepo, pullRepoResult, readLinks, readSkillAllowList, resolveAgentDefinitionDir, resolveAgentDir, resolveAll, resolveAsset, resolveCompactionThresholdPercent, resolveGlobalHarnesses, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, saveSkWorkspaceConfig, scanRepo, sourceCacheKey, sourceShortName, stageMaterializedSkills, stagedSkillMarkerState, storeManifestSlug, unlinkRepo, unstageSkill, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, workspaceNameFromFilename, writeLinks };
|
|
2804
|
+
//# sourceMappingURL=chunk-L3ZGYSWY.js.map
|
|
2805
|
+
//# sourceMappingURL=chunk-L3ZGYSWY.js.map
|