@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,5 +1,5 @@
|
|
|
1
1
|
import { globalSkaileDir } from './chunk-L5VSIPQD.js';
|
|
2
|
-
import { DRIVER_TARGETS } from './chunk-
|
|
2
|
+
import { DRIVER_TARGETS } from './chunk-IG5LZ3WU.js';
|
|
3
3
|
import { lstatSync } from 'fs';
|
|
4
4
|
import { homedir } from 'os';
|
|
5
5
|
import { join, resolve } from 'path';
|
|
@@ -26,7 +26,8 @@ function deployedPaths(kind, name, target, globalInstall, cwd) {
|
|
|
26
26
|
return kind === "agent" ? [dir, `${dir}.md`, `${dir}.toml`] : [dir];
|
|
27
27
|
}
|
|
28
28
|
function isDeployed(kind, name, target, globalInstall, cwd) {
|
|
29
|
-
|
|
29
|
+
const paths = kind === "agent" && target === "omp" ? [`${deployedDir(kind, name, target, globalInstall, cwd)}.md`] : deployedPaths(kind, name, target, globalInstall, cwd);
|
|
30
|
+
return paths.some((p) => {
|
|
30
31
|
try {
|
|
31
32
|
lstatSync(p);
|
|
32
33
|
return true;
|
|
@@ -37,5 +38,5 @@ function isDeployed(kind, name, target, globalInstall, cwd) {
|
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export { deployedBase, deployedDir, deployedPaths, isDeployed };
|
|
40
|
-
//# sourceMappingURL=chunk-
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
41
|
+
//# sourceMappingURL=chunk-D54T2F54.js.map
|
|
42
|
+
//# sourceMappingURL=chunk-D54T2F54.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../core/src/store.ts"],"names":[],"mappings":";;;;;;AA6BO,SAAS,YAAA,CACd,IAAA,EACA,MAAA,EACA,aAAA,EACA,GAAA,EACQ;AACR,EAAA,MAAM,SAAA,GAAY,eAAe,MAAM,CAAA;AACvC,EAAA,IAAI,CAAC,SAAA,EAAW,MAAM,IAAI,KAAA,CAAM,CAAA,wBAAA,EAA2B,MAAM,CAAA,CAAA,CAAG,CAAA;AACpE,EAAA,MAAM,KAAA,GAAQ,gBAAgB,QAAA,GAAW,OAAA;AACzC,EAAA,MAAM,KAAA,GAAQ,UAAU,KAAK,CAAA;AAC7B,EAAA,MAAM,OAAA,GAAU,KAAA,CAAM,IAAI,CAAA,IAAK,MAAM,KAAA,IAAS,EAAA;AAC9C,EAAA,IAAI,aAAA,EAAe;AAGjB,IAAA,IAAI,OAAA,KAAY,WAAA,IAAe,OAAA,CAAQ,UAAA,CAAW,YAAY,CAAA,EAAG;AAC/D,MAAA,OAAO,KAAK,eAAA,EAAgB,EAAG,QAAQ,KAAA,CAAM,WAAA,CAAY,MAAM,CAAC,CAAA;AAAA,IAClE;AACA,IAAA,OAAO,OAAA,CAAQ,OAAA,CAAQ,IAAA,EAAM,OAAA,EAAS,CAAA;AAAA,EACxC;AACA,EAAA,OAAO,OAAA,CAAQ,GAAA,IAAO,OAAA,CAAQ,GAAA,IAAO,OAAO,CAAA;AAC9C;AAaO,SAAS,WAAA,CACd,IAAA,EACA,IAAA,EACA,MAAA,EACA,eACA,GAAA,EACQ;AACR,EAAA,OAAO,KAAK,YAAA,CAAa,IAAA,EAAM,QAAQ,aAAA,EAAe,GAAG,GAAG,IAAI,CAAA;AAClE;AAeO,SAAS,aAAA,CACd,IAAA,EACA,IAAA,EACA,MAAA,EACA,eACA,GAAA,EACU;AACV,EAAA,MAAM,MAAM,WAAA,CAAY,IAAA,EAAM,IAAA,EAAM,MAAA,EAAQ,eAAe,GAAG,CAAA;AAC9D,EAAA,OAAO,IAAA,KAAS,OAAA,GAAU,CAAC,GAAA,EAAK,CAAA,EAAG,GAAG,CAAA,GAAA,CAAA,EAAO,CAAA,EAAG,GAAG,CAAA,KAAA,CAAO,CAAA,GAAI,CAAC,GAAG,CAAA;AACpE;AAkBO,SAAS,UAAA,CACd,IAAA,EACA,IAAA,EACA,MAAA,EACA,eACA,GAAA,EACS;AACT,EAAA,MAAM,KAAA,GACJ,SAAS,OAAA,IAAW,MAAA,KAAW,QAC3B,CAAC,CAAA,EAAG,YAAY,IAAA,EAAM,IAAA,EAAM,QAAQ,aAAA,EAAe,GAAG,CAAC,CAAA,GAAA,CAAK,CAAA,GAC5D,cAAc,IAAA,EAAM,IAAA,EAAM,MAAA,EAAQ,aAAA,EAAe,GAAG,CAAA;AAC1D,EAAA,OAAO,KAAA,CAAM,IAAA,CAAK,CAAC,CAAA,KAAM;AACvB,IAAA,IAAI;AACF,MAAA,SAAA,CAAU,CAAC,CAAA;AACX,MAAA,OAAO,IAAA;AAAA,IACT,CAAA,CAAA,MAAQ;AACN,MAAA,OAAO,KAAA;AAAA,IACT;AAAA,EACF,CAAC,CAAA;AACH","file":"chunk-D54T2F54.js","sourcesContent":["/**\n * Deploy-target helpers — resolve framework-specific install paths.\n *\n * This module contains only deploy path resolution. All catalog, repository,\n * and history I/O has moved to @skaile/asset-manager (project-local).\n */\n\nimport { lstatSync } from \"node:fs\";\nimport { homedir } from \"node:os\";\nimport { join, resolve } from \"node:path\";\nimport { globalSkaileDir } from \"./cache-paths.js\";\nimport type { DriverTarget } from \"./driver-targets.js\";\nimport { type AiComponent, DRIVER_TARGETS } from \"./driver-targets.js\";\n\n// ── Deploy-target helpers ─────────────────────────────────────────────────────\n\n/**\n * Resolve the base deploy directory for an asset kind in a given driver target + scope.\n * For local scope, the path is relative to `cwd` (defaults to `process.cwd()`).\n * For global scope, `~` is expanded to the home directory.\n *\n * @param kind - Asset component type (e.g. `\"skill\"`, `\"agent\"`)\n * @param target - Driver target identifier (e.g. `\"claude-code\"`, `\"omp\"`)\n * @param globalInstall - `true` for user-global install, `false` for project-local\n * @param cwd - Working directory for project-local installs (default: `process.cwd()`)\n * @returns Absolute path to the base deploy directory\n * @throws When `target` is not found in `DRIVER_TARGETS`\n * @docLink packages/core/concepts#deployed-base\n */\nexport function deployedBase(\n kind: AiComponent,\n target: DriverTarget,\n globalInstall: boolean,\n cwd?: string,\n): string {\n const targetMap = DRIVER_TARGETS[target];\n if (!targetMap) throw new Error(`Unknown deploy target: '${target}'`);\n const scope = globalInstall ? \"global\" : \"local\";\n const paths = targetMap[scope];\n const destStr = paths[kind] ?? paths.skill ?? \"\";\n if (globalInstall) {\n // `~/.skaile/...` is skaile's own per-user root, so it follows `$SKAILE_HOME`;\n // every other `~/...` is a driver's home dir (`~/.claude`, `~/.omp`, ...).\n if (destStr === \"~/.skaile\" || destStr.startsWith(\"~/.skaile/\")) {\n return join(globalSkaileDir(), destStr.slice(\"~/.skaile\".length));\n }\n return destStr.replace(/^~/, homedir());\n }\n return resolve(cwd ?? process.cwd(), destStr);\n}\n\n/**\n * Return the full deploy path for a named asset: `<deployedBase>/<name>`.\n *\n * @param kind - Asset component type\n * @param name - Asset name (becomes the directory/file name under the base)\n * @param target - Driver target identifier\n * @param globalInstall - `true` for user-global, `false` for project-local\n * @param cwd - Working directory for local installs\n * @returns Absolute path to the asset's deploy directory\n * @docLink packages/core/concepts#deployed-dir\n */\nexport function deployedDir(\n kind: AiComponent,\n name: string,\n target: DriverTarget,\n globalInstall: boolean,\n cwd?: string,\n): string {\n return join(deployedBase(kind, target, globalInstall, cwd), name);\n}\n\n/**\n * Every path a deploy of `name` can occupy. Skills, prompts, flows and contracts\n * deploy to `<base>/<name>`; an agent is rendered into the harness's native file\n * (`<base>/<name>.md` for claude-code, `<base>/<name>.toml` for codex) or a\n * directory (`<base>/<name>/` for omp), so all three count.\n *\n * @param kind - Asset component type\n * @param name - Asset name\n * @param target - Driver target identifier\n * @param globalInstall - `true` for user-global, `false` for project-local\n * @param cwd - Working directory for local installs\n * @returns Absolute paths, the {@link deployedDir} first\n */\nexport function deployedPaths(\n kind: AiComponent,\n name: string,\n target: DriverTarget,\n globalInstall: boolean,\n cwd?: string,\n): string[] {\n const dir = deployedDir(kind, name, target, globalInstall, cwd);\n return kind === \"agent\" ? [dir, `${dir}.md`, `${dir}.toml`] : [dir];\n}\n\n/**\n * Check whether an asset is already deployed at one of its {@link deployedPaths}.\n * Uses `lstatSync` so symlinks are treated as deployed.\n *\n * An omp agent is the exception: the renderer writes a package directory (`<name>/`) and the\n * flat `<name>.md` omp loads, so the directory alone is not a deploy. A deleted flat file reads\n * as not deployed, as a deleted claude-code agent file does.\n *\n * @param kind - Asset component type\n * @param name - Asset name\n * @param target - Driver target identifier\n * @param globalInstall - `true` for user-global, `false` for project-local\n * @param cwd - Working directory for local installs\n * @returns `true` if a deploy path exists, `false` otherwise\n * @docLink packages/core/concepts#is-deployed\n */\nexport function isDeployed(\n kind: AiComponent,\n name: string,\n target: DriverTarget,\n globalInstall: boolean,\n cwd?: string,\n): boolean {\n const paths =\n kind === \"agent\" && target === \"omp\"\n ? [`${deployedDir(kind, name, target, globalInstall, cwd)}.md`]\n : deployedPaths(kind, name, target, globalInstall, cwd);\n return paths.some((p) => {\n try {\n lstatSync(p);\n return true;\n } catch {\n return false;\n }\n });\n}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { readManifestSourceConfig, discoverAssetsInTree, barePublisher, createDefaultKindRegistry, sharesItsFolder, SEMVER_RE, parseManifestFile } from './chunk-
|
|
2
|
-
import { installFromManifest, assertSafeManifestPath } from './chunk-
|
|
3
|
-
import { PresetManifestSchema } from './chunk-
|
|
4
|
-
import { defaultLibraryDir, resolveLibraryDir, GLOBAL_INSTALL_DIR_NAME, readLock, buildLibraryLockEntries, writeLock, mergeLockFile, buildLockFile, ManifestYamlEditor } from './chunk-
|
|
5
|
-
import { getGlobalCacheDir, storeManifestSlug, resolveSourcePublisher } from './chunk-
|
|
1
|
+
import { readManifestSourceConfig, discoverAssetsInTree, barePublisher, createDefaultKindRegistry, sharesItsFolder, SEMVER_RE, parseManifestFile } from './chunk-NVO6WECE.js';
|
|
2
|
+
import { installFromManifest, assertSafeManifestPath } from './chunk-PXDWTJ3P.js';
|
|
3
|
+
import { PresetManifestSchema } from './chunk-57SF6W6E.js';
|
|
4
|
+
import { defaultLibraryDir, resolveLibraryDir, GLOBAL_INSTALL_DIR_NAME, readLock, buildLibraryLockEntries, writeLock, mergeLockFile, buildLockFile, ManifestYamlEditor } from './chunk-BF422IDP.js';
|
|
5
|
+
import { getGlobalCacheDir, storeManifestSlug, resolveSourcePublisher } from './chunk-L3ZGYSWY.js';
|
|
6
6
|
import { userConfigPath, globalSkaileDir, mergeLegacyEntriesInto, migrateLegacyDir, globalCacheRoot } from './chunk-L5VSIPQD.js';
|
|
7
|
-
import { encodeSkaileManifest,
|
|
8
|
-
import { scanDirectory } from './chunk-
|
|
9
|
-
import { parseAssetRef, assetRefToStr } from './chunk-
|
|
7
|
+
import { encodeSkaileManifest, SKAILE_MANIFEST_FILENAME, loadSkPublishManifest } from './chunk-IY5E7Y5W.js';
|
|
8
|
+
import { scanDirectory } from './chunk-M3P4BYRK.js';
|
|
9
|
+
import { parseAssetRef, assetRefToStr, isValidAssetName } from './chunk-J4OYIYFQ.js';
|
|
10
10
|
import { __export } from './chunk-NSBPE2FW.js';
|
|
11
11
|
import * as fs11 from 'fs';
|
|
12
12
|
import { existsSync, mkdirSync, symlinkSync, copyFileSync, cpSync } from 'fs';
|
|
@@ -1927,7 +1927,7 @@ function describeSyncError(err) {
|
|
|
1927
1927
|
return parts.join(": ");
|
|
1928
1928
|
}
|
|
1929
1929
|
function scanLibraryRoot(rootPath, registry, scanOpts) {
|
|
1930
|
-
const fallbackPublisher = resolveSourcePublisher(rootPath) ?? (path16.basename(rootPath) || "unknown");
|
|
1930
|
+
const fallbackPublisher = resolveSourcePublisher(rootPath, scanOpts?.publisher) ?? (path16.basename(rootPath) || "unknown");
|
|
1931
1931
|
const opts = {
|
|
1932
1932
|
registry,
|
|
1933
1933
|
sidecarManifestFile: scanOpts?.sidecarManifestFile,
|
|
@@ -1941,8 +1941,12 @@ function scanLibraryRoot(rootPath, registry, scanOpts) {
|
|
|
1941
1941
|
return discoverAssetsInTree(rootPath, opts);
|
|
1942
1942
|
}
|
|
1943
1943
|
function libraryScanOptions(library) {
|
|
1944
|
-
const
|
|
1945
|
-
return {
|
|
1944
|
+
const source = library.ownership === "reader" && library.backendConfig && "url" in library.backendConfig ? library.backendConfig : void 0;
|
|
1945
|
+
return {
|
|
1946
|
+
includeDev: true,
|
|
1947
|
+
sidecarManifestFile: source ? curatedManifestOverlay(source.url) : void 0,
|
|
1948
|
+
publisher: source?.publisher
|
|
1949
|
+
};
|
|
1946
1950
|
}
|
|
1947
1951
|
var LocalCatalogSource = class {
|
|
1948
1952
|
constructor(library, sourceId, rootPath, registry, options) {
|
|
@@ -1953,6 +1957,7 @@ var LocalCatalogSource = class {
|
|
|
1953
1957
|
this.id = `local:${sourceId}`;
|
|
1954
1958
|
this.sidecarPath = options?.sidecarPath;
|
|
1955
1959
|
this.sidecarManifestFile = options?.sidecarManifestFile;
|
|
1960
|
+
this.publisher = options?.publisher;
|
|
1956
1961
|
}
|
|
1957
1962
|
library;
|
|
1958
1963
|
sourceId;
|
|
@@ -1961,6 +1966,7 @@ var LocalCatalogSource = class {
|
|
|
1961
1966
|
id;
|
|
1962
1967
|
sidecarPath;
|
|
1963
1968
|
sidecarManifestFile;
|
|
1969
|
+
publisher;
|
|
1964
1970
|
async resolve(ref) {
|
|
1965
1971
|
const def = await this.library.getAssetDef(ref);
|
|
1966
1972
|
if (!def || def.libraryId !== this.sourceId) return null;
|
|
@@ -2006,6 +2012,7 @@ var LocalCatalogSource = class {
|
|
|
2006
2012
|
return scanLibraryRoot(this.rootPath, this.registry, {
|
|
2007
2013
|
sidecarPath: this.sidecarPath,
|
|
2008
2014
|
sidecarManifestFile: this.sidecarManifestFile,
|
|
2015
|
+
publisher: this.publisher,
|
|
2009
2016
|
includeDev: scanOpts?.includeDev
|
|
2010
2017
|
});
|
|
2011
2018
|
}
|
|
@@ -3416,11 +3423,11 @@ var RemoteCatalogSource = class {
|
|
|
3416
3423
|
async resolve(ref) {
|
|
3417
3424
|
const fresh = this.cache.getResolve(ref);
|
|
3418
3425
|
if (fresh && (this.cache.airGapped || fresh.value === null || fresh.value.requires !== void 0)) {
|
|
3419
|
-
return fresh.value;
|
|
3426
|
+
return cachedAsset(fresh.value);
|
|
3420
3427
|
}
|
|
3421
3428
|
if (this.cache.airGapped) {
|
|
3422
3429
|
const stale2 = this.cache.getResolveStale(ref);
|
|
3423
|
-
if (stale2) return stale2.value;
|
|
3430
|
+
if (stale2) return cachedAsset(stale2.value);
|
|
3424
3431
|
const listed = this.cachedListedAsset(ref);
|
|
3425
3432
|
if (listed) return listed;
|
|
3426
3433
|
throw new OfflineError(`Asset '${ref}' not in cache`);
|
|
@@ -3428,12 +3435,12 @@ var RemoteCatalogSource = class {
|
|
|
3428
3435
|
const stale = this.cache.getResolveStale(ref);
|
|
3429
3436
|
if (stale && (stale.value === null || stale.value.requires !== void 0)) {
|
|
3430
3437
|
this.scheduleBackground(`resolve:${ref}`, () => this.fetchAndStoreResolve(ref));
|
|
3431
|
-
return stale.value;
|
|
3438
|
+
return cachedAsset(stale.value);
|
|
3432
3439
|
}
|
|
3433
3440
|
try {
|
|
3434
3441
|
return await this.fetchAndStoreResolve(ref);
|
|
3435
3442
|
} catch (err) {
|
|
3436
|
-
if (stale) return stale.value;
|
|
3443
|
+
if (stale) return cachedAsset(stale.value);
|
|
3437
3444
|
const listed = this.cachedListedAsset(ref);
|
|
3438
3445
|
if (listed) return listed;
|
|
3439
3446
|
throw err;
|
|
@@ -3452,8 +3459,10 @@ var RemoteCatalogSource = class {
|
|
|
3452
3459
|
(a) => a.kind === want.kind && a.name === want.name && (want.publisher === void 0 || bare(a.publisher) === bare(want.publisher)) && (want.pin === void 0 || a.version === want.pin)
|
|
3453
3460
|
);
|
|
3454
3461
|
if (hits.length === 0) return null;
|
|
3455
|
-
return
|
|
3456
|
-
|
|
3462
|
+
return cachedAsset(
|
|
3463
|
+
hits.reduce(
|
|
3464
|
+
(best, a) => valid(a.version) && valid(best.version) && gt(a.version, best.version) ? a : best
|
|
3465
|
+
)
|
|
3457
3466
|
);
|
|
3458
3467
|
}
|
|
3459
3468
|
/**
|
|
@@ -3468,7 +3477,7 @@ var RemoteCatalogSource = class {
|
|
|
3468
3477
|
const bare = (p) => p.replace(/^@/, "");
|
|
3469
3478
|
return all.items.filter(
|
|
3470
3479
|
(a) => (!filter.kind || a.kind === filter.kind) && (!filter.publisher || bare(a.publisher) === bare(filter.publisher)) && (!filter.prefix || `${bare(a.publisher)}/${a.name}`.startsWith(filter.prefix))
|
|
3471
|
-
);
|
|
3480
|
+
).map(cachedAsset);
|
|
3472
3481
|
}
|
|
3473
3482
|
/**
|
|
3474
3483
|
* Fetch `ref` from the store, bypassing the resolve cache, and cache the answer.
|
|
@@ -3491,10 +3500,10 @@ var RemoteCatalogSource = class {
|
|
|
3491
3500
|
*/
|
|
3492
3501
|
async listAssets(filter) {
|
|
3493
3502
|
const fresh = this.cache.getList(filter);
|
|
3494
|
-
if (fresh) return fresh.items;
|
|
3503
|
+
if (fresh) return fresh.items.map(cachedAsset);
|
|
3495
3504
|
if (this.cache.airGapped) {
|
|
3496
3505
|
const stale2 = this.cache.getListStale(filter);
|
|
3497
|
-
if (stale2) return stale2.items;
|
|
3506
|
+
if (stale2) return stale2.items.map(cachedAsset);
|
|
3498
3507
|
const subset = this.cachedListFiltered(filter);
|
|
3499
3508
|
if (subset) return subset;
|
|
3500
3509
|
throw new OfflineError("Catalog list not in cache");
|
|
@@ -3503,7 +3512,7 @@ var RemoteCatalogSource = class {
|
|
|
3503
3512
|
if (stale) {
|
|
3504
3513
|
const filterKey2 = JSON.stringify(filter ?? null);
|
|
3505
3514
|
this.scheduleBackground(`list:${filterKey2}`, () => this.fetchAndStoreList(filter));
|
|
3506
|
-
return stale.items;
|
|
3515
|
+
return stale.items.map(cachedAsset);
|
|
3507
3516
|
}
|
|
3508
3517
|
try {
|
|
3509
3518
|
return await this.fetchAndStoreList(filter);
|
|
@@ -3833,9 +3842,42 @@ function normalizeCatalogAsset(raw) {
|
|
|
3833
3842
|
if (repo) asset.repo = repo;
|
|
3834
3843
|
const softDeps = pickRefs(r, "softDepsJson");
|
|
3835
3844
|
if (softDeps.length > 0) asset.softDeps = softDeps;
|
|
3836
|
-
asset.requires = pickRefs(r, "requiresJson");
|
|
3845
|
+
asset.requires = canonicalRequirements(pickRefs(r, "requiresJson"), publisher);
|
|
3846
|
+
if (r.demo === true || r.internal === true) asset.demo = true;
|
|
3837
3847
|
return asset;
|
|
3838
3848
|
}
|
|
3849
|
+
function canonicalRequirements(refs, rowPublisher) {
|
|
3850
|
+
const out = [];
|
|
3851
|
+
for (const ref of refs) {
|
|
3852
|
+
let canonical;
|
|
3853
|
+
try {
|
|
3854
|
+
canonical = assetRefToStr(parseAssetRef(ref));
|
|
3855
|
+
} catch {
|
|
3856
|
+
const hash = ref.indexOf("#");
|
|
3857
|
+
const head = hash === -1 ? ref : ref.slice(0, hash);
|
|
3858
|
+
const colon = head.indexOf(":");
|
|
3859
|
+
const name = colon === -1 ? head : head.slice(colon + 1);
|
|
3860
|
+
if (rowPublisher && isValidAssetName(name)) {
|
|
3861
|
+
try {
|
|
3862
|
+
canonical = assetRefToStr(
|
|
3863
|
+
parseAssetRef(
|
|
3864
|
+
`${colon === -1 ? "skill" : head.slice(0, colon)}:@${rowPublisher}/${name}${hash === -1 ? "" : ref.slice(hash)}`
|
|
3865
|
+
)
|
|
3866
|
+
);
|
|
3867
|
+
} catch {
|
|
3868
|
+
}
|
|
3869
|
+
}
|
|
3870
|
+
}
|
|
3871
|
+
if (canonical !== void 0 && !out.includes(canonical)) out.push(canonical);
|
|
3872
|
+
}
|
|
3873
|
+
return out;
|
|
3874
|
+
}
|
|
3875
|
+
function cachedAsset(asset) {
|
|
3876
|
+
if (!asset?.requires) return asset;
|
|
3877
|
+
const requires = canonicalRequirements(asset.requires, asset.publisher);
|
|
3878
|
+
const same = requires.length === asset.requires.length && requires.every((r, i) => r === asset.requires?.[i]);
|
|
3879
|
+
return same ? asset : { ...asset, requires };
|
|
3880
|
+
}
|
|
3839
3881
|
function pickRefs(r, key) {
|
|
3840
3882
|
let v = r[key];
|
|
3841
3883
|
if (typeof v === "string") {
|
|
@@ -4260,6 +4302,8 @@ function openManifest(libraryPath) {
|
|
|
4260
4302
|
return { editor, created: false };
|
|
4261
4303
|
}
|
|
4262
4304
|
function assertManifestEditable(libraryPath) {
|
|
4305
|
+
const file = path16.join(path16.resolve(libraryPath), SKAILE_MANIFEST_FILENAME);
|
|
4306
|
+
if (!fs11.existsSync(file)) return;
|
|
4263
4307
|
openManifest(libraryPath);
|
|
4264
4308
|
}
|
|
4265
4309
|
function conflictingAssetRoot(libraryPath, kind, name, root) {
|
|
@@ -4589,5 +4633,5 @@ function detectWorkspaceVersion(dir, filename = "skaile.yaml") {
|
|
|
4589
4633
|
}
|
|
4590
4634
|
|
|
4591
4635
|
export { AssignmentNotFoundError, CatalogCache, CatalogConfigSchema, CatalogHttpError, DuplicateAssignmentError, DuplicateLibraryNameError, GitSyncDriver, InstanceHasConsumersError, InstanceNotFoundError, InterpolationError, KnowledgeManifestSchema, LIBRARY_BACKENDS, LIBRARY_OWNERSHIPS, LOCAL_CATALOG_URL, LibraryConfigSchema, LibraryError, LibraryInstanceRefSchema, LibraryManager, LibrarySectionSchema, LibrarySyncError, LocalCatalogSource, LocalIndex, LocalSyncDriver, LockAssignmentSchema, LockFileSchema, OfflineError, OperationNotPermittedError, PIN_POLICIES, PinPolicySchema, PresetAppliedSchema, PresetExpandedSchema, RemoteCatalogSource, RequiresEdgeSchema, RestCatalogSource, SidecarGit, SkaileConfigSchema, SourceNotFoundError, TarballHashMismatchError, UserLibraryNotFoundError, WorkspaceConfigV2Schema, applyNonStructuralUpgrade, applyPreset, applyPresetFromData, assertManifestEditable, assertValidLibraryName, classifyRef, cloneOrInitGitRepo, commitStoreManifest, conflictingAssetRoot, createEmptyLockFile, curatedManifestOverlay, deriveSlug, describeCatalogError, detectChanges, detectNestedPresetRefs, detectWorkspaceVersion, ensureGitRepo, evaluateUpgrade, extractLibraryInstanceId, extractReferencedKeys, filterKey, getConfigDefaults, getDefaultValue, getSidecarRoot, getStoreManifestsDir, getStoreRoot, hasInterpolationTokens, installLibraryAsset, interpolate, isGitRepo, isLocalCatalogUrl, isSecretPlaceholder, knowledgeKindProvider, libraryDirMissing, listSidecarSlugsOnDisk, loadLockFile, loadWorkspaceV2, markLibraryUnregistered, migrateSidecarsToStoreIfNeeded, migrateWorkspaceConfig, missingLibraryDirMessage, missingRootAssets, parsePreset, parsePresetYaml, parseWorkspaceV2, projectConfigPath, pruneMissingRootAssets, queryInstancePickerChoices, recordLibraryRename, renamedLibraryName, resolveAllItems, resolveConfig, resolveIndexPath, resolveItem, resolvePin, resolveSidecarPaths, saveConfig, saveLockFile, saveWorkspaceV2, scanAuthoringLibraries, scanLibraryRoot, scanUnlistedAssets, setManifestPublisher, setOriginUrl, sha256Hex, stampManifestPublisher, storeSecrets, syncManifestWithDisk, trackOriginBranch, trpcGetUrl, unregisteredLibraryNames, upsertManifestAsset, validateAllPlaceholders, validateKnowledge, validateNestingDepth, validatePlaceholder, writeCuratedManifest };
|
|
4592
|
-
//# sourceMappingURL=chunk-
|
|
4593
|
-
//# sourceMappingURL=chunk-
|
|
4636
|
+
//# sourceMappingURL=chunk-DKGEV6SQ.js.map
|
|
4637
|
+
//# sourceMappingURL=chunk-DKGEV6SQ.js.map
|