@skaile/workspaces 4.39.0 → 5.0.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 +21 -0
- package/dist/{asset-feeds-KXL45ALC.js → asset-feeds-HIWT4DVT.js} +24 -96
- package/dist/asset-feeds-HIWT4DVT.js.map +1 -0
- package/dist/asset-manager/catalog-deployer.js +10 -9
- package/dist/asset-manager/index.js +15 -14
- package/dist/asset-manager/installer.js +10 -9
- package/dist/asset-manager/src/catalog-deployer.d.ts +1 -3
- package/dist/asset-manager/src/catalog-deployer.d.ts.map +1 -1
- package/dist/asset-manager/src/index.d.ts +6 -8
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +23 -11
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +11 -10
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +12 -11
- package/dist/bridge/drivers/continue.js.map +1 -1
- package/dist/bridge/drivers/echo.js +2 -2
- package/dist/bridge/drivers/gemini.js +6 -6
- package/dist/bridge/drivers/goose.js +12 -11
- package/dist/bridge/drivers/goose.js.map +1 -1
- package/dist/bridge/drivers/omp.js +3 -3
- package/dist/bridge/drivers/opencode.js +12 -11
- package/dist/bridge/drivers/opencode.js.map +1 -1
- package/dist/bridge/drivers/qwen.js +6 -6
- package/dist/bridge/index.js +13 -12
- package/dist/bridge/src/drivers/claude-sdk.d.ts +4 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +7 -0
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-7RC37XFW.js → chunk-22DN3DB2.js} +59 -12
- package/dist/chunk-22DN3DB2.js.map +1 -0
- package/dist/{chunk-SM6EUQMY.js → chunk-32DMH2GD.js} +8 -8
- package/dist/{chunk-SM6EUQMY.js.map → chunk-32DMH2GD.js.map} +1 -1
- package/dist/{chunk-A5EDMBFG.js → chunk-43ZBF3WH.js} +5 -8
- package/dist/chunk-43ZBF3WH.js.map +1 -0
- package/dist/{chunk-5RWL4L3X.js → chunk-53WMBXSL.js} +60 -14
- package/dist/chunk-53WMBXSL.js.map +1 -0
- package/dist/{chunk-YCMZHL4T.js → chunk-7QMRP6BC.js} +4 -4
- package/dist/{chunk-YCMZHL4T.js.map → chunk-7QMRP6BC.js.map} +1 -1
- package/dist/chunk-A2ULN3KX.js +40 -0
- package/dist/chunk-A2ULN3KX.js.map +1 -0
- package/dist/{chunk-DSB6X25D.js → chunk-AG44ZJ7W.js} +3 -3
- package/dist/{chunk-DSB6X25D.js.map → chunk-AG44ZJ7W.js.map} +1 -1
- package/dist/{chunk-SSCPTAFJ.js → chunk-CFL5IJHV.js} +3 -3
- package/dist/{chunk-SSCPTAFJ.js.map → chunk-CFL5IJHV.js.map} +1 -1
- package/dist/{chunk-36ML6SFP.js → chunk-CGJ7B6MZ.js} +4 -4
- package/dist/{chunk-36ML6SFP.js.map → chunk-CGJ7B6MZ.js.map} +1 -1
- package/dist/{chunk-6X4DHKHP.js → chunk-CT6NQSA4.js} +3 -3
- package/dist/{chunk-6X4DHKHP.js.map → chunk-CT6NQSA4.js.map} +1 -1
- package/dist/{chunk-5K2VT6E2.js → chunk-DXUQCMVT.js} +3 -3
- package/dist/{chunk-5K2VT6E2.js.map → chunk-DXUQCMVT.js.map} +1 -1
- package/dist/{chunk-B4IAZTZZ.js → chunk-EB6OPURC.js} +3 -3
- package/dist/{chunk-B4IAZTZZ.js.map → chunk-EB6OPURC.js.map} +1 -1
- package/dist/{chunk-252TK4RU.js → chunk-GFPG27HK.js} +12 -14
- package/dist/chunk-GFPG27HK.js.map +1 -0
- package/dist/{chunk-2EL2PBRC.js → chunk-H4EGUQ7M.js} +3 -3
- package/dist/{chunk-2EL2PBRC.js.map → chunk-H4EGUQ7M.js.map} +1 -1
- package/dist/{chunk-YQEF36D5.js → chunk-H5G3OYY6.js} +4 -4
- package/dist/{chunk-YQEF36D5.js.map → chunk-H5G3OYY6.js.map} +1 -1
- package/dist/{chunk-C75VKXAM.js → chunk-HD5K3BYW.js} +3 -3
- package/dist/{chunk-C75VKXAM.js.map → chunk-HD5K3BYW.js.map} +1 -1
- package/dist/{chunk-VJNTB4DN.js → chunk-HTBGJCKP.js} +4 -4
- package/dist/{chunk-VJNTB4DN.js.map → chunk-HTBGJCKP.js.map} +1 -1
- package/dist/{chunk-JEPSP6XK.js → chunk-HWE3FXF4.js} +17 -11
- package/dist/chunk-HWE3FXF4.js.map +1 -0
- package/dist/{chunk-QVLQGXT6.js → chunk-I3ITSUWS.js} +5 -5
- package/dist/{chunk-QVLQGXT6.js.map → chunk-I3ITSUWS.js.map} +1 -1
- package/dist/{chunk-H7N6RWNF.js → chunk-I7Z4FN52.js} +4 -4
- package/dist/{chunk-H7N6RWNF.js.map → chunk-I7Z4FN52.js.map} +1 -1
- package/dist/{chunk-WCWFS36P.js → chunk-IGXKUCLI.js} +3 -3
- package/dist/{chunk-WCWFS36P.js.map → chunk-IGXKUCLI.js.map} +1 -1
- package/dist/{chunk-VXPFSZDT.js → chunk-JFVEX4G5.js} +6 -6
- package/dist/{chunk-VXPFSZDT.js.map → chunk-JFVEX4G5.js.map} +1 -1
- package/dist/{chunk-YYH5EVPM.js → chunk-JUXQUZOQ.js} +12 -4
- package/dist/{chunk-YYH5EVPM.js.map → chunk-JUXQUZOQ.js.map} +1 -1
- package/dist/{chunk-M7GPCWEV.js → chunk-KREXWKVX.js} +3 -3
- package/dist/{chunk-M7GPCWEV.js.map → chunk-KREXWKVX.js.map} +1 -1
- package/dist/{chunk-TQ6XNACF.js → chunk-LHFZTVIM.js} +23 -24
- package/dist/chunk-LHFZTVIM.js.map +1 -0
- package/dist/{chunk-YV3YI3TA.js → chunk-MBVNMPG7.js} +4 -4
- package/dist/{chunk-YV3YI3TA.js.map → chunk-MBVNMPG7.js.map} +1 -1
- package/dist/{chunk-3C3ODIDE.js → chunk-MX7IRKTO.js} +6 -6
- package/dist/{chunk-3C3ODIDE.js.map → chunk-MX7IRKTO.js.map} +1 -1
- package/dist/{chunk-UDFWBALP.js → chunk-NFGRW3L7.js} +3 -3
- package/dist/{chunk-UDFWBALP.js.map → chunk-NFGRW3L7.js.map} +1 -1
- package/dist/{chunk-5LF27VUB.js → chunk-ODT7HSLI.js} +16 -15
- package/dist/chunk-ODT7HSLI.js.map +1 -0
- package/dist/{chunk-QBQITQAM.js → chunk-PV4OBVA3.js} +3 -3
- package/dist/{chunk-QBQITQAM.js.map → chunk-PV4OBVA3.js.map} +1 -1
- package/dist/{chunk-ORH2BZEM.js → chunk-QCI6D7E4.js} +69 -22
- package/dist/chunk-QCI6D7E4.js.map +1 -0
- package/dist/{chunk-DIQDYNXZ.js → chunk-QZLWJETK.js} +3 -3
- package/dist/{chunk-DIQDYNXZ.js.map → chunk-QZLWJETK.js.map} +1 -1
- package/dist/{chunk-TSVRKUGV.js → chunk-RP4B4HVX.js} +11 -2
- package/dist/chunk-RP4B4HVX.js.map +1 -0
- package/dist/{chunk-X4DKUGV4.js → chunk-RSHMAEK3.js} +7 -13
- package/dist/chunk-RSHMAEK3.js.map +1 -0
- package/dist/chunk-RVRB27AN.js +64 -0
- package/dist/chunk-RVRB27AN.js.map +1 -0
- package/dist/{chunk-5NYBY6ZE.js → chunk-TVOODIZE.js} +3 -3
- package/dist/{chunk-5NYBY6ZE.js.map → chunk-TVOODIZE.js.map} +1 -1
- package/dist/{chunk-FTPKMJFD.js → chunk-TVYLXZTT.js} +2 -2
- package/dist/{chunk-FTPKMJFD.js.map → chunk-TVYLXZTT.js.map} +1 -1
- package/dist/{chunk-EOKAFBJ7.js → chunk-TYUJB336.js} +3 -3
- package/dist/{chunk-EOKAFBJ7.js.map → chunk-TYUJB336.js.map} +1 -1
- package/dist/{chunk-OLMNDIAU.js → chunk-UVOJSWD2.js} +95 -320
- package/dist/chunk-UVOJSWD2.js.map +1 -0
- package/dist/{chunk-DOVURNRK.js → chunk-VDJKWKH2.js} +3 -3
- package/dist/chunk-VDJKWKH2.js.map +1 -0
- package/dist/{chunk-VDBP6Y5M.js → chunk-WCQMXBO5.js} +21 -47
- package/dist/chunk-WCQMXBO5.js.map +1 -0
- package/dist/{chunk-NLKIW2VI.js → chunk-WOJ4AK3Q.js} +3 -3
- package/dist/{chunk-NLKIW2VI.js.map → chunk-WOJ4AK3Q.js.map} +1 -1
- package/dist/{chunk-XU7JET5Z.js → chunk-X7MHVL4R.js} +16 -100
- package/dist/chunk-X7MHVL4R.js.map +1 -0
- package/dist/{chunk-K3IBZ2UZ.js → chunk-XUUYAS3Z.js} +3 -3
- package/dist/{chunk-K3IBZ2UZ.js.map → chunk-XUUYAS3Z.js.map} +1 -1
- package/dist/{chunk-BCUVRJXV.js → chunk-XWLEXD34.js} +3 -3
- package/dist/{chunk-BCUVRJXV.js.map → chunk-XWLEXD34.js.map} +1 -1
- package/dist/{chunk-P7BU6DAC.js → chunk-YOWFUJO7.js} +69 -31
- package/dist/chunk-YOWFUJO7.js.map +1 -0
- package/dist/{chunk-OQRB7JUS.js → chunk-YV4J7V53.js} +3 -3
- package/dist/{chunk-OQRB7JUS.js.map → chunk-YV4J7V53.js.map} +1 -1
- package/dist/{chunk-JXT46QFC.js → chunk-ZDKJHQY2.js} +2 -2
- package/dist/{chunk-JXT46QFC.js.map → chunk-ZDKJHQY2.js.map} +1 -1
- package/dist/cli/index.js +375 -699
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/asset-feeds.d.ts +1 -8
- package/dist/cli/src/asset-feeds.d.ts.map +1 -1
- package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-index.d.ts +5 -12
- package/dist/cli/src/commands/library-index.d.ts.map +1 -1
- package/dist/cli/src/commands/manage.d.ts +74 -58
- package/dist/cli/src/commands/manage.d.ts.map +1 -1
- package/dist/cli/src/commands/show.d.ts +1 -1
- package/dist/cli/src/commands/skailify-lib.d.ts +0 -31
- package/dist/cli/src/commands/skailify-lib.d.ts.map +1 -1
- package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts +20 -2
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/flow-discovery.d.ts +2 -2
- package/dist/cli/src/hooks/pre-commit-version.d.ts +1 -1
- package/dist/cli/src/skill-walker.d.ts +7 -10
- package/dist/cli/src/skill-walker.d.ts.map +1 -1
- package/dist/connectors/config.js +6 -5
- package/dist/connectors/index.js +21 -20
- package/dist/core/discovery.js +1 -1
- package/dist/core/index.js +9 -8
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/plugin-groupings.d.ts +2 -0
- package/dist/core/plugin-groupings.js +4 -0
- package/dist/core/plugin-groupings.js.map +1 -0
- package/dist/core/publish-manifest.js +2 -2
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +6 -5
- package/dist/core/src/discovery.d.ts +11 -51
- package/dist/core/src/discovery.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +3 -2
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +6 -33
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/plugin-groupings.d.ts +31 -0
- package/dist/core/src/plugin-groupings.d.ts.map +1 -0
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/settings.d.ts +1 -1
- package/dist/core/src/workspace-config.d.ts +1 -1
- package/dist/core/workspace-config.js +5 -4
- package/dist/deploy/index.js +9 -8
- package/dist/deploy/index.js.map +1 -1
- package/dist/discovery/index.js +6 -5
- package/dist/discovery/src/discover.d.ts +9 -25
- package/dist/discovery/src/discover.d.ts.map +1 -1
- package/dist/discovery/src/index.d.ts +0 -2
- package/dist/discovery/src/index.d.ts.map +1 -1
- package/dist/discovery/src/source-config.d.ts +13 -9
- package/dist/discovery/src/source-config.d.ts.map +1 -1
- package/dist/discovery/src/tree-entries.d.ts +6 -11
- package/dist/discovery/src/tree-entries.d.ts.map +1 -1
- package/dist/{ensure-sources-J5CDTQ36.js → ensure-sources-G4FXTJDB.js} +18 -17
- package/dist/ensure-sources-G4FXTJDB.js.map +1 -0
- package/dist/factory-assets/README.md +1 -1
- package/dist/factory-assets/connectors/box.js +21 -20
- package/dist/factory-assets/connectors/deploy.js +21 -20
- package/dist/factory-assets/connectors/devserver.js +21 -20
- package/dist/factory-assets/connectors/flow/CONNECTOR.md +6 -1
- package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/adapter.js +21 -20
- package/dist/factory-assets/connectors/flow/contract/flow.v2.schema.json +13 -3
- package/dist/factory-assets/connectors/flow/contract/index.d.ts +1 -0
- package/dist/factory-assets/connectors/flow/contract/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts +21 -5
- package/dist/factory-assets/connectors/flow/contract/output-fields.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts +2 -0
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract/sub-flow-output.d.ts +20 -0
- package/dist/factory-assets/connectors/flow/contract/sub-flow-output.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/contract.js +4 -4
- package/dist/factory-assets/connectors/flow/engine/bindings.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts +12 -0
- package/dist/factory-assets/connectors/flow/engine/flow-output.d.ts.map +1 -0
- package/dist/factory-assets/connectors/flow/engine/index.d.ts +1 -0
- package/dist/factory-assets/connectors/flow/engine/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/loader.d.ts +3 -3
- package/dist/factory-assets/connectors/flow/engine/locate.d.ts +2 -2
- package/dist/factory-assets/connectors/flow/engine/locate.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine/types.d.ts +0 -2
- package/dist/factory-assets/connectors/flow/engine/types.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +13 -12
- package/dist/factory-assets/connectors/flow/inline-sub-flow-host.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/prompt-fragments.js +3 -3
- package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +23 -22
- package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts +6 -5
- package/dist/factory-assets/connectors/flow/sub-flow-runner.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow.js +21 -20
- package/dist/factory-assets/connectors/git.js +21 -20
- package/dist/factory-assets/connectors/gmail.js +21 -20
- package/dist/factory-assets/connectors/googledrive.js +21 -20
- package/dist/factory-assets/connectors/local.js +21 -20
- package/dist/factory-assets/connectors/mattermost.js +21 -20
- package/dist/factory-assets/connectors/memory.js +21 -20
- package/dist/factory-assets/connectors/minio.js +21 -20
- package/dist/factory-assets/connectors/postgres.js +21 -20
- package/dist/factory-assets/connectors/s3.js +21 -20
- package/dist/factory-assets/connectors/sharepoint.js +21 -20
- package/dist/factory-assets/connectors/sqlite.js +21 -20
- package/dist/factory-assets/connectors/static-server.js +21 -20
- package/dist/factory-assets/connectors/tunnel.js +21 -20
- package/dist/factory-assets/connectors/webdav.js +21 -20
- package/dist/factory-assets/connectors/xstate-store.js +21 -20
- package/dist/factory-assets/connectors/xstate.js +21 -20
- package/dist/factory-assets/skills/skaile-author-asset/SKILL.md +37 -26
- package/dist/factory-assets/skills/skaile-manage-workspace/SKILL.md +2 -2
- package/dist/factory-assets/skills/skailify/SKILL.md +10 -19
- package/dist/{flows-PX53XFV7.js → flows-7E2GVW5L.js} +14 -13
- package/dist/{flows-PX53XFV7.js.map → flows-7E2GVW5L.js.map} +1 -1
- package/dist/{helpers-EP6H3O3S.js → helpers-EVPKJXGS.js} +18 -17
- package/dist/{helpers-EP6H3O3S.js.map → helpers-EVPKJXGS.js.map} +1 -1
- package/dist/library/index.js +13 -12
- package/dist/library/install.js +2 -2
- package/dist/library/src/index.d.ts +1 -1
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/local/db.d.ts.map +1 -1
- package/dist/library/src/local/library-manager.d.ts.map +1 -1
- package/dist/library/src/local/library.d.ts.map +1 -1
- package/dist/library/src/local/local-catalog-source.d.ts +0 -9
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/local/schema.d.ts +1 -20
- package/dist/library/src/local/schema.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts +1 -11
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/library/src/sync/manifest-writeback.d.ts +5 -5
- package/dist/library/src/sync/manifest-writeback.d.ts.map +1 -1
- package/dist/library/src/user-library.d.ts +1 -9
- package/dist/library/src/user-library.d.ts.map +1 -1
- package/dist/{library-publish-KKT73FJK.js → library-publish-SBEWWTPM.js} +25 -24
- package/dist/library-publish-SBEWWTPM.js.map +1 -0
- package/dist/open-library-UAZIGZUQ.js +39 -0
- package/dist/{open-library-R62UBL6E.js.map → open-library-UAZIGZUQ.js.map} +1 -1
- package/dist/paths-U7TA7MTE.js +22 -0
- package/dist/{paths-W4LDORQQ.js.map → paths-U7TA7MTE.js.map} +1 -1
- package/dist/{plugin-store-D45CREMJ.js → plugin-store-TT45MGQZ.js} +11 -10
- package/dist/plugin-store-TT45MGQZ.js.map +1 -0
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/src/catalog-source.d.ts +4 -55
- package/dist/plugins/src/catalog-source.d.ts.map +1 -1
- package/dist/plugins/src/index.d.ts +1 -1
- package/dist/plugins/src/index.d.ts.map +1 -1
- package/dist/{project-GCW5DFAB.js → project-JLD5RCVK.js} +19 -18
- package/dist/{project-GCW5DFAB.js.map → project-JLD5RCVK.js.map} +1 -1
- package/dist/resolver/index.js +10 -9
- package/dist/runner/index.js +32 -31
- package/dist/runner/src/compaction/orchestrator.d.ts +2 -1
- package/dist/runner/src/compaction/orchestrator.d.ts.map +1 -1
- package/dist/runner/src/compaction-gate.d.ts +13 -0
- package/dist/runner/src/compaction-gate.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +15 -14
- package/dist/sdk/bridge.js +13 -12
- package/dist/sdk/core.js +9 -8
- package/dist/sdk/flow.js +13 -12
- package/dist/sdk/index.js +32 -31
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +10 -9
- package/dist/sdk/runner.js +32 -31
- package/dist/secrets/index.js +2 -2
- package/dist/{setup-Q3LXY5AE.js → setup-PGZM4SOO.js} +23 -22
- package/dist/setup-PGZM4SOO.js.map +1 -0
- package/dist/skills-7QVYPIXI.js +26 -0
- package/dist/{skills-R3RPIPWP.js.map → skills-7QVYPIXI.js.map} +1 -1
- package/dist/source-SDZYXVVV.js +40 -0
- package/dist/{source-CFQESKJU.js.map → source-SDZYXVVV.js.map} +1 -1
- package/dist/{source-manifest-publish-3TCBA2RV.js → source-manifest-publish-UDLTYV6Y.js} +26 -25
- package/dist/source-manifest-publish-UDLTYV6Y.js.map +1 -0
- package/dist/tui/index.js +32 -31
- package/dist/tui/index.js.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +16 -15
- package/dist/workspace-plugin/adapters/omp.js +13 -13
- package/dist/workspace-plugin/adapters/omp.js.map +1 -1
- package/dist/workspace-plugin/index.js +1 -1
- package/dist/workspace-plugin/src/adapters/mcp.d.ts +4 -4
- package/dist/workspace-plugin/src/adapters/mcp.d.ts.map +1 -1
- package/dist/workspace-plugin/src/adapters/omp.d.ts +2 -2
- package/dist/workspace-plugin/src/tools/skills.d.ts +5 -17
- package/dist/workspace-plugin/src/tools/skills.d.ts.map +1 -1
- package/package.json +7 -1
- package/dist/asset-feeds-KXL45ALC.js.map +0 -1
- package/dist/chunk-252TK4RU.js.map +0 -1
- package/dist/chunk-5LF27VUB.js.map +0 -1
- package/dist/chunk-5RWL4L3X.js.map +0 -1
- package/dist/chunk-7RC37XFW.js.map +0 -1
- package/dist/chunk-A5EDMBFG.js.map +0 -1
- package/dist/chunk-DOVURNRK.js.map +0 -1
- package/dist/chunk-JEPSP6XK.js.map +0 -1
- package/dist/chunk-OLMNDIAU.js.map +0 -1
- package/dist/chunk-ORH2BZEM.js.map +0 -1
- package/dist/chunk-P7BU6DAC.js.map +0 -1
- package/dist/chunk-QVZA2MDT.js +0 -81
- package/dist/chunk-QVZA2MDT.js.map +0 -1
- package/dist/chunk-TQ6XNACF.js.map +0 -1
- package/dist/chunk-TSVRKUGV.js.map +0 -1
- package/dist/chunk-VDBP6Y5M.js.map +0 -1
- package/dist/chunk-X4DKUGV4.js.map +0 -1
- package/dist/chunk-XU7JET5Z.js.map +0 -1
- package/dist/discovery/src/domains.d.ts +0 -149
- package/dist/discovery/src/domains.d.ts.map +0 -1
- package/dist/ensure-sources-J5CDTQ36.js.map +0 -1
- package/dist/library-publish-KKT73FJK.js.map +0 -1
- package/dist/open-library-R62UBL6E.js +0 -38
- package/dist/paths-W4LDORQQ.js +0 -21
- package/dist/plugin-store-D45CREMJ.js.map +0 -1
- package/dist/setup-Q3LXY5AE.js.map +0 -1
- package/dist/skills-R3RPIPWP.js +0 -25
- package/dist/source-CFQESKJU.js +0 -39
- package/dist/source-manifest-publish-3TCBA2RV.js.map +0 -1
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* - **Remote store** — the configured catalog source when `catalog.url` is
|
|
14
14
|
* not `local`. Failures are non-fatal — they surface as notes.
|
|
15
15
|
*/
|
|
16
|
-
import { type
|
|
16
|
+
import { type CatalogEntry } from "@skaile/workspaces/core";
|
|
17
17
|
/** One non-fatal note returned to the caller for surfacing in the UI. */
|
|
18
18
|
export interface FeedNote {
|
|
19
19
|
feed: "sources" | "libraries" | "store" | "factory";
|
|
@@ -41,13 +41,6 @@ export interface OriginEntry {
|
|
|
41
41
|
}
|
|
42
42
|
export interface AssetFeedResult {
|
|
43
43
|
entries: OriginEntry[];
|
|
44
|
-
/**
|
|
45
|
-
* Display-only domain metadata, keyed (by the consumer) on `slug`. Populated
|
|
46
|
-
* from the store's `catalog.listDomains` when the connected catalog source
|
|
47
|
-
* exposes it; empty otherwise. The manage TUI joins `entry.domainSlug` → a
|
|
48
|
-
* domain for grouping headers, descriptions, and relation badges.
|
|
49
|
-
*/
|
|
50
|
-
domains: CatalogDomain[];
|
|
51
44
|
notes: FeedNote[];
|
|
52
45
|
}
|
|
53
46
|
/** The slice of `AssetManager` the source feed needs (kept narrow for tests). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-feeds.d.ts","sourceRoot":"","sources":["../../../cli/src/asset-feeds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAEL,KAAK,
|
|
1
|
+
{"version":3,"file":"asset-feeds.d.ts","sourceRoot":"","sources":["../../../cli/src/asset-feeds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAEL,KAAK,YAAY,EAGlB,MAAM,yBAAyB,CAAC;AAEjC,yEAAyE;AACzE,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,CAAC;IACpD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAErE,iEAAiE;AACjE,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,YAAY,CAAC;IACpB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAiGD,iFAAiF;AACjF,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IACtC,eAAe,EAAE,MAAM;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC7D;AAkED;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CACpC,EAAE,EAAE,gBAAgB,EACpB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,eAAe,CAAC,CAa1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/asset-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAcH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"asset-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/asset-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAcH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoDpC,wBAAgB,gBAAgB,IAAI,OAAO,CA8S1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"library-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA0BH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"library-cmd.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-cmd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA0BH,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAkF5C,wBAAgB,kBAAkB,IAAI,OAAO,CA6nB5C"}
|
|
@@ -30,37 +30,30 @@ export interface IndexLibraryResult {
|
|
|
30
30
|
* Returns the sync counters so a caller can report `Indexed N asset(s)`.
|
|
31
31
|
*/
|
|
32
32
|
export declare function indexLibrary(lib: Library, index?: LocalIndex): Promise<IndexLibraryResult>;
|
|
33
|
-
/**
|
|
34
|
-
* Read a domain's declared publisher from `<lib>/<domain>/DOMAIN.md`.
|
|
35
|
-
*
|
|
36
|
-
* The DOMAIN.md frontmatter (written by `library domain create`) carries a
|
|
37
|
-
* `publisher` field. Returns it when present, else `undefined` — the caller
|
|
38
|
-
* falls through the resolution chain.
|
|
39
|
-
*/
|
|
40
|
-
export declare function domainPublisher(libraryPath: string, domain: string): string | undefined;
|
|
41
33
|
/**
|
|
42
34
|
* Resolve the publisher for an asset created inside a library. Never throws.
|
|
43
35
|
*
|
|
44
36
|
* Fallback chain (first hit wins):
|
|
45
37
|
* 1. `opts.publisher` (an explicit `--publisher`),
|
|
46
|
-
* 2. the
|
|
47
|
-
* (`domain` names a first-level dir carrying a DOMAIN.md),
|
|
38
|
+
* 2. the library manifest's top-level `publisher` (`skaile.manifest.yaml`),
|
|
48
39
|
* 3. the author's verified store identity (`githubLogin`, else `username`)
|
|
49
40
|
* when signed in — the publisher they can actually publish under,
|
|
50
41
|
* 4. the kebab-cased library name (e.g. `My Lib` → `my-lib`) as a last resort.
|
|
51
42
|
*
|
|
43
|
+
* The publisher is never derived from where the asset sits in the library:
|
|
44
|
+
* every asset inherits the library's publisher unless it sets its own.
|
|
45
|
+
*
|
|
52
46
|
* Identity beats the library name because the library name is almost never a
|
|
53
47
|
* namespace the author can publish; stamping it led to publishes that only
|
|
54
48
|
* failed at the store. Passed in (not read here) to keep this pure + testable.
|
|
55
49
|
*
|
|
56
50
|
* @param lib - The target library.
|
|
57
51
|
* @param opts - Optional explicit `--publisher`.
|
|
58
|
-
* @param domain - Optional first-level directory the asset was placed under.
|
|
59
52
|
* @param storeIdentity - The author's decoded store identity, or null when signed out.
|
|
60
53
|
*/
|
|
61
54
|
export declare function resolveLibraryPublisher(lib: Pick<Library, "name" | "path">, opts: {
|
|
62
55
|
publisher?: string;
|
|
63
|
-
},
|
|
56
|
+
}, storeIdentity?: {
|
|
64
57
|
username?: string;
|
|
65
58
|
githubLogin?: string;
|
|
66
59
|
} | null): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"library-index.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"library-index.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/library-index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAItE,yDAAyD;AACzD,MAAM,WAAW,kBAAkB;IACjC,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,iDAAiD;IACjD,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;;;;GAQG;AACH,wBAAsB,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAchG;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,EACnC,IAAI,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,EAC5B,aAAa,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,GACjE,MAAM,CAYR"}
|
|
@@ -4,22 +4,24 @@
|
|
|
4
4
|
* Tabs: [Assets] [Sources] [Libraries] [Pending] [Sync]
|
|
5
5
|
*
|
|
6
6
|
* - Assets — browse and queue install/remove for assets, grouped in a
|
|
7
|
-
* `origin → publisher →
|
|
7
|
+
* `origin → publisher → plugin → asset` tree. `origin` is the feed
|
|
8
8
|
* the asset came from (Library / Sources / Skaile Factory Assets
|
|
9
9
|
* / Store), the outermost collapsible band so it's clear where
|
|
10
10
|
* each skill comes from.
|
|
11
|
-
* `
|
|
11
|
+
* `plugin` is the `.claude-plugin` manifest group the asset is
|
|
12
|
+
* listed in (display + select-all); unlisted assets fall under
|
|
13
|
+
* `Other` once the band has at least one plugin group.
|
|
12
14
|
* - Sources — third-party github repos registered via `skaile source add`,
|
|
13
|
-
* shown as a `Sources → org → repo →
|
|
15
|
+
* shown as a `Sources → org → repo → plugin → asset` tree (the
|
|
14
16
|
* source-origin slice of the Assets feed, with an extra github-org
|
|
15
|
-
* band).
|
|
16
|
-
* same as the Assets tab. CRUD stays in `skaile source …`.
|
|
17
|
+
* band). Plugin groups default *collapsed*; install/remove works
|
|
18
|
+
* the same as the Assets tab. CRUD stays in `skaile source …`.
|
|
17
19
|
* - Libraries — user authoring places registered via `skaile library init`.
|
|
18
20
|
* - Pending — staged adds/removes (rich rendering deferred to AF-LIB-TUI-RICH).
|
|
19
21
|
* - Sync — bulk sync sources + libraries (deferred to AF-LIB-TUI-RICH).
|
|
20
22
|
*
|
|
21
23
|
* Keys: ↑↓/jk navigate, PgUp/PgDn/Home/End jump, ←/→ collapse/expand,
|
|
22
|
-
* space/+/- select, a/Enter apply,
|
|
24
|
+
* space/+/- select, a/Enter apply, / search (assets),
|
|
23
25
|
* 1/2/3 filter to one origin · 0 clear, s sync, i info,
|
|
24
26
|
* Tab switch, q/Esc quit
|
|
25
27
|
*
|
|
@@ -29,77 +31,75 @@
|
|
|
29
31
|
*/
|
|
30
32
|
import { type CatalogEntry } from "@skaile/workspaces/core";
|
|
31
33
|
import { Command } from "commander";
|
|
32
|
-
import type { AssetOrigin } from "../asset-feeds.ts";
|
|
34
|
+
import type { AssetOrigin, OriginEntry } from "../asset-feeds.ts";
|
|
33
35
|
/**
|
|
34
36
|
* A single row in the manage TUI asset list: an origin header, a publisher
|
|
35
|
-
* header, a
|
|
37
|
+
* header, a plugin header, or an individual asset entry.
|
|
36
38
|
*
|
|
37
|
-
* The tree is `origin → publisher →
|
|
39
|
+
* The tree is `origin → publisher → plugin → asset`. `origin` (the feed the
|
|
38
40
|
* asset was gathered from — store / source / library / factory) is the outermost
|
|
39
41
|
* band and is carried on **every** row, because the same group can appear
|
|
40
42
|
* under more than one origin and must not collapse together. `source` holds the
|
|
41
43
|
* **second-level group** — the publisher namespace for most origins, but the
|
|
42
44
|
* source's short repo name under the Sources band (see {@link OriginEntry.group});
|
|
43
45
|
* it is set on header rows **and** asset rows so grouping stays consistent.
|
|
44
|
-
* `
|
|
45
|
-
*
|
|
46
|
-
*
|
|
46
|
+
* `plugin` is the third-level group: the `.claude-plugin` manifest plugin an
|
|
47
|
+
* asset is listed in, or {@link OTHER_PLUGIN} for the unlisted remainder of a band
|
|
48
|
+
* that has at least one plugin group. It is set on `plugin-header` rows and on the
|
|
49
|
+
* asset rows rendered beneath one; `undefined` on an asset means it hangs directly
|
|
50
|
+
* under its band. A `repo` (`"<org>/<repo>"`) is no longer a grouping axis —
|
|
47
51
|
* it rides on the asset row as a dim provenance badge only.
|
|
48
52
|
*
|
|
49
|
-
* A `
|
|
50
|
-
*
|
|
53
|
+
* A `plugin-header` collapses/expands and bulk-selects its member assets, like
|
|
54
|
+
* the origin/publisher headers.
|
|
51
55
|
*
|
|
52
56
|
* @docLink cli/commands/manage#make-manage-command
|
|
53
57
|
*/
|
|
54
58
|
export interface AssetRow {
|
|
55
|
-
type: "origin-header" | "publisher-header" | "
|
|
59
|
+
type: "origin-header" | "publisher-header" | "plugin-header" | "asset" | "source-root" | "org-header" | "repo-header" | "library-root" | "library-header";
|
|
56
60
|
origin?: AssetOrigin;
|
|
57
61
|
source?: string;
|
|
58
62
|
org?: string;
|
|
59
|
-
|
|
63
|
+
plugin?: string;
|
|
60
64
|
repo?: string;
|
|
61
65
|
entry?: CatalogEntry;
|
|
62
66
|
installed?: boolean;
|
|
63
|
-
underDomain?: boolean;
|
|
64
|
-
seq?: number;
|
|
65
67
|
}
|
|
66
68
|
/**
|
|
67
69
|
* Filter the full asset row list to only rows that should be visible given the
|
|
68
|
-
* current collapsed origin / publisher /
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
70
|
+
* current collapsed origin / publisher / plugin sets and the active origin
|
|
71
|
+
* filter. The tree is flat (`origin → publisher → plugin → asset`), so collapse
|
|
72
|
+
* checks are exact set membership — no prefix walking. Collapse keys are
|
|
73
|
+
* origin-namespaced so the same publisher under two origins collapses
|
|
74
|
+
* independently.
|
|
73
75
|
*
|
|
74
76
|
* - Every row is hidden when an `originFilter` is set and the row's origin
|
|
75
77
|
* doesn't match it.
|
|
76
78
|
* - An `origin-header` is otherwise always visible.
|
|
77
79
|
* - A `publisher-header` is hidden when its origin is collapsed.
|
|
78
|
-
* - A `
|
|
79
|
-
* is collapsed.
|
|
80
|
-
* -
|
|
81
|
-
*
|
|
82
|
-
* (truncated ↔ full), not whether it shows.
|
|
83
|
-
* - An asset under a real domain is hidden when that `"…:dom:<slug>"` key is
|
|
84
|
-
* collapsed; a "no domain" asset only depends on its origin + publisher.
|
|
80
|
+
* - A `plugin-header` is hidden when its origin or its `"origin:publisher"` key
|
|
81
|
+
* is collapsed (a collapsed plugin hides its members, never its own header).
|
|
82
|
+
* - An asset under a plugin header is hidden when that `"…:plugin:<plugin>"` key
|
|
83
|
+
* is collapsed; a loose asset only depends on its origin + publisher.
|
|
85
84
|
*
|
|
86
85
|
* A non-empty `query` switches to **search mode**: only assets whose name,
|
|
87
86
|
* publisher, or description contains it (case-insensitively) are kept, together
|
|
88
|
-
* with the header
|
|
89
|
-
* **ignored** while searching — search flattens
|
|
90
|
-
* inside a default-collapsed band (e.g. `store`)
|
|
91
|
-
* `originFilter` still applies to every row (the two
|
|
87
|
+
* with the header rows on their path (a plugin header stays iff a member
|
|
88
|
+
* matches). The collapse sets are **ignored** while searching — search flattens
|
|
89
|
+
* the tree, otherwise matches inside a default-collapsed band (e.g. `store`)
|
|
90
|
+
* would be invisible. The `originFilter` still applies to every row (the two
|
|
91
|
+
* combine).
|
|
92
92
|
*
|
|
93
93
|
* @param rows - Complete flat list of asset rows.
|
|
94
94
|
* @param collapsedOrigins - Set of origins whose children are hidden.
|
|
95
95
|
* @param collapsedSources - Set of `"origin:publisher"` keys whose children are hidden.
|
|
96
|
-
* @param
|
|
96
|
+
* @param collapsedPlugins - Set of `"origin:publisher:plugin:<plugin>"` keys whose assets are hidden.
|
|
97
97
|
* @param originFilter - When set, only rows of this origin are kept.
|
|
98
98
|
* @param query - When non-empty, keep only matching assets + their ancestors (ignores collapse).
|
|
99
99
|
* @returns Filtered array of visible rows.
|
|
100
100
|
* @docLink cli/commands/manage#make-manage-command
|
|
101
101
|
*/
|
|
102
|
-
export declare function buildVisibleRows(rows: AssetRow[], collapsedOrigins: Set<AssetOrigin>, collapsedSources: Set<string>,
|
|
102
|
+
export declare function buildVisibleRows(rows: AssetRow[], collapsedOrigins: Set<AssetOrigin>, collapsedSources: Set<string>, collapsedPlugins: Set<string>, originFilter?: AssetOrigin | null, query?: string): AssetRow[];
|
|
103
103
|
/**
|
|
104
104
|
* Split one raw stdin chunk into individual key presses.
|
|
105
105
|
*
|
|
@@ -126,11 +126,11 @@ export declare function splitKeys(chunk: string): string[];
|
|
|
126
126
|
export declare function originAssetRefs(rows: AssetRow[], origin: AssetOrigin): string[];
|
|
127
127
|
/**
|
|
128
128
|
* Return `kind:name` refs for all asset rows belonging to a specific
|
|
129
|
-
* origin + publisher +
|
|
129
|
+
* origin + publisher/group + plugin header ({@link OTHER_PLUGIN} = the `Other` bucket).
|
|
130
130
|
*
|
|
131
131
|
* @docLink cli/commands/manage#make-manage-command
|
|
132
132
|
*/
|
|
133
|
-
export declare function
|
|
133
|
+
export declare function pluginAssetRefs(rows: AssetRow[], origin: AssetOrigin, group: string, plugin: string): string[];
|
|
134
134
|
/**
|
|
135
135
|
* Return `kind:name` refs for all asset rows belonging to a specific
|
|
136
136
|
* origin + publisher (across its repos).
|
|
@@ -140,10 +140,12 @@ export declare function domainAssetRefs(rows: AssetRow[], origin: AssetOrigin, p
|
|
|
140
140
|
export declare function sourceAssetRefs(rows: AssetRow[], origin: AssetOrigin, source: string): string[];
|
|
141
141
|
/**
|
|
142
142
|
* Build the flat Sources-tree row list from the source-origin asset rows.
|
|
143
|
-
* Hierarchy: a single static "Sources" root → per github org → per repo →
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
143
|
+
* Hierarchy: a single static "Sources" root → per github org → per repo → plugin
|
|
144
|
+
* groups (header + members) and, when the repo has at least one plugin group, an
|
|
145
|
+
* `Other` group for the unlisted assets; a repo with no plugin group stays flat
|
|
146
|
+
* (assets directly under the repo). `registered` injects org/repo bands for
|
|
147
|
+
* sources that have no discoverable assets yet, so a freshly-added source still
|
|
148
|
+
* shows up.
|
|
147
149
|
*
|
|
148
150
|
* @docLink cli/commands/manage#make-manage-command
|
|
149
151
|
*/
|
|
@@ -153,48 +155,62 @@ export declare function buildSourceTreeRows(assetRows: AssetRow[], registered?:
|
|
|
153
155
|
}[]): AssetRow[];
|
|
154
156
|
/**
|
|
155
157
|
* Filter the flat Sources-tree rows to those visible given the collapsed
|
|
156
|
-
* org / repo /
|
|
158
|
+
* org / repo / plugin sets. The root is always visible; an org-header hides
|
|
157
159
|
* when no set applies above it; a repo-header hides under a collapsed org; a
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
+
* plugin-header hides under a collapsed org/repo; an asset under a plugin
|
|
161
|
+
* header hides under a collapsed plugin (or any collapsed ancestor).
|
|
160
162
|
*
|
|
161
163
|
* @docLink cli/commands/manage#make-manage-command
|
|
162
164
|
*/
|
|
163
|
-
export declare function buildVisibleSourceRows(rows: AssetRow[], collapsedOrgs: Set<string>, collapsedRepos: Set<string>,
|
|
165
|
+
export declare function buildVisibleSourceRows(rows: AssetRow[], collapsedOrgs: Set<string>, collapsedRepos: Set<string>, collapsedPlugins: Set<string>): AssetRow[];
|
|
164
166
|
/** Refs of all source-tree asset rows in a github org. */
|
|
165
167
|
export declare function sourceOrgRefs(rows: AssetRow[], org: string): string[];
|
|
166
168
|
/** Refs of all source-tree asset rows in a specific org + repo. */
|
|
167
169
|
export declare function sourceRepoRefs(rows: AssetRow[], org: string, repo: string): string[];
|
|
168
|
-
/** Refs of all source-tree asset rows in a specific org + repo
|
|
169
|
-
export declare function
|
|
170
|
+
/** Refs of all source-tree asset rows under a plugin header in a specific org + repo. */
|
|
171
|
+
export declare function sourcePluginRefs(rows: AssetRow[], org: string, repo: string, plugin: string): string[];
|
|
170
172
|
/**
|
|
171
173
|
* Build the flat Libraries-tree row list from the library-origin asset rows.
|
|
172
|
-
* Hierarchy: a single static "Libraries" root → per library band →
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
174
|
+
* Hierarchy: a single static "Libraries" root → per library band → plugin groups
|
|
175
|
+
* (header + members) and, when the library has at least one plugin group, an
|
|
176
|
+
* `Other` group for the unlisted assets; a library with no plugin group stays
|
|
177
|
+
* flat. `registered` injects a band for each library that has no discoverable
|
|
178
|
+
* assets yet, so a freshly-created library still shows up.
|
|
176
179
|
*
|
|
177
180
|
* @docLink cli/commands/manage#make-manage-command
|
|
178
181
|
*/
|
|
179
182
|
export declare function buildLibraryTreeRows(assetRows: AssetRow[], registered?: string[]): AssetRow[];
|
|
180
183
|
/**
|
|
181
184
|
* Filter the flat Libraries-tree rows to those visible given the collapsed
|
|
182
|
-
* group /
|
|
183
|
-
* under a collapsed library hides;
|
|
184
|
-
* collapsed
|
|
185
|
+
* group / plugin sets. The root + library headers are always visible; everything
|
|
186
|
+
* under a collapsed library hides; an asset under a plugin header hides under a
|
|
187
|
+
* collapsed plugin (a loose asset hangs directly under the library).
|
|
185
188
|
*
|
|
186
189
|
* @docLink cli/commands/manage#make-manage-command
|
|
187
190
|
*/
|
|
188
|
-
export declare function buildVisibleLibraryRows(rows: AssetRow[], collapsedGroups: Set<string>,
|
|
191
|
+
export declare function buildVisibleLibraryRows(rows: AssetRow[], collapsedGroups: Set<string>, collapsedPlugins: Set<string>): AssetRow[];
|
|
189
192
|
/** Refs of all library-tree asset rows in a specific library band. */
|
|
190
193
|
export declare function libraryGroupRefs(rows: AssetRow[], group: string): string[];
|
|
194
|
+
/**
|
|
195
|
+
* Build the Assets-tab row list from the feed entries: group by origin (the feed),
|
|
196
|
+
* then by second-level group (`OriginEntry.group` — the source name under Sources,
|
|
197
|
+
* else `entry.publisher`), and emit origin-header → publisher-header → the band's
|
|
198
|
+
* assets. Within a band, assets are laid out by `entry.plugin` via
|
|
199
|
+
* {@link layoutPluginBand}: plugin headers sorted by title, an `Other` header for
|
|
200
|
+
* the unlisted rest when the band has at least one plugin group, and a flat list
|
|
201
|
+
* (no plugin header) when it has none. The same group can appear under multiple
|
|
202
|
+
* origins, so origin is the outermost grouping key.
|
|
203
|
+
*
|
|
204
|
+
* @docLink cli/commands/manage#make-manage-command
|
|
205
|
+
*/
|
|
206
|
+
export declare function buildAssetRows(entries: OriginEntry[], installed: Set<string>): AssetRow[];
|
|
191
207
|
/**
|
|
192
208
|
* Creates the `skaile manage` command.
|
|
193
209
|
*
|
|
194
210
|
* Opens an interactive terminal TUI (five tabs: Assets, Sources, Libraries,
|
|
195
211
|
* Pending, Sync) for browsing, installing, and removing assets. The Sources tab
|
|
196
|
-
* renders registered github sources as a `Sources → org → repo →
|
|
197
|
-
* tree (
|
|
212
|
+
* renders registered github sources as a `Sources → org → repo → plugin → asset`
|
|
213
|
+
* tree (plugin groups default collapsed) and supports the same install/remove flow as
|
|
198
214
|
* Assets. CRUD for sources and libraries remains in the shell
|
|
199
215
|
* (`skaile source …` / `skaile library …`); the Libraries tab is still a
|
|
200
216
|
* read-only scaffold pending AF-LIB-TUI-RICH.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manage.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/manage.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"manage.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/manage.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,7 +2,7 @@ import { Command } from "commander";
|
|
|
2
2
|
/**
|
|
3
3
|
* Creates the `skaile show` command.
|
|
4
4
|
*
|
|
5
|
-
* With no arguments prints a deployed-asset overview (grouped by
|
|
5
|
+
* With no arguments prints a deployed-asset overview (grouped by publisher with
|
|
6
6
|
* sync status). With `kind name` or `kind:name` arguments prints the raw
|
|
7
7
|
* source content of a specific deployed asset.
|
|
8
8
|
*
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @docLink cli/commands/asset#import
|
|
8
8
|
*/
|
|
9
|
-
import { type DomainMd } from "@skaile/workspaces/discovery";
|
|
10
9
|
/** Default authoring version stamped on a skill that ships none. */
|
|
11
10
|
export declare const DEFAULT_IMPORT_VERSION = "0.1.0";
|
|
12
11
|
/** Default lifecycle stage stamped on an imported skill. */
|
|
@@ -64,36 +63,6 @@ export interface NormalizeResult {
|
|
|
64
63
|
* byte-copy skips.
|
|
65
64
|
*/
|
|
66
65
|
export declare function normalizeSkillContent(raw: string, opts?: NormalizeOptions): NormalizeResult;
|
|
67
|
-
export interface EnsureDomainResult {
|
|
68
|
-
/** Absolute path to the domain directory. */
|
|
69
|
-
dir: string;
|
|
70
|
-
/** Publisher slug derived for this domain (the dir name, kebab-cased). */
|
|
71
|
-
publisher: string;
|
|
72
|
-
/** True when this call created the directory / DOMAIN.md. */
|
|
73
|
-
created: boolean;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Scaffold a domain directory under a library: `<lib>/<domain>/DOMAIN.md`. A
|
|
77
|
-
* domain is the first-level dir of an asset repo and defines the publisher
|
|
78
|
-
* namespace, so assets placed beneath it publish as `@<publisher>/<name>`.
|
|
79
|
-
* The domain name is the directory name and the DOMAIN.md `slug`, so a new
|
|
80
|
-
* domain must be a valid domain slug (lowercase `a-z0-9` with single hyphens,
|
|
81
|
-
* ≤39 chars); anything else throws before touching the disk.
|
|
82
|
-
* No-op (returns `created: false`) when the DOMAIN.md already exists — whatever
|
|
83
|
-
* its directory name — and `publisher` is then the file's own (else `opts`/slug).
|
|
84
|
-
*/
|
|
85
|
-
export declare function ensureDomain(libraryPath: string, domain: string, opts?: {
|
|
86
|
-
description?: string;
|
|
87
|
-
publisher?: string;
|
|
88
|
-
}): EnsureDomainResult;
|
|
89
|
-
/**
|
|
90
|
-
* Parse `<lib>/<domain>/DOMAIN.md` through discovery's {@link parseDomainMd} (the
|
|
91
|
-
* one DOMAIN.md schema; legacy `name:` files resolve their slug too). `undefined`
|
|
92
|
-
* when the file is absent or unreadable.
|
|
93
|
-
*/
|
|
94
|
-
export declare function readDomainMd(libraryPath: string, domain: string): DomainMd | undefined;
|
|
95
|
-
/** List the domains in a library — first-level dirs that carry a DOMAIN.md. */
|
|
96
|
-
export declare function listDomains(libraryPath: string): string[];
|
|
97
66
|
export interface UpsertAssetInput {
|
|
98
67
|
kind: string;
|
|
99
68
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skailify-lib.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/skailify-lib.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"skailify-lib.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/skailify-lib.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAeH,oEAAoE;AACpE,eAAO,MAAM,sBAAsB,UAAU,CAAC;AAC9C,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB,UAAU,CAAC;AAE5C;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,EAAE,CAM3C;AAED,MAAM,WAAW,oBAAoB;IACnC,4CAA4C;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,GAAG,EAAE,MAAM,GAAG,eAAe,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,oBAAoB,GAAG,IAAI,CAiBnF;AAED,MAAM,WAAW,gBAAgB;IAC/B,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,uDAAuD;IACvD,OAAO,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,IAAI,EAAE,MAAM,CAAC;IACb,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sFAAsF;IACtF,OAAO,EAAE,OAAO,CAAC;IACjB,oDAAoD;IACpD,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,gBAAqB,GAAG,eAAe,CAwD/F;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,kFAAkF;IAClF,KAAK,EAAE,OAAO,CAAC;CAChB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,gBAAgB,GACtB,iBAAiB,CAuBnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-manifest.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAqBH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoBzC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,GACjB;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAWnE;
|
|
1
|
+
{"version":3,"file":"source-manifest.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/source-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAqBH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoBzC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,GACjB;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAWnE;AA0ZD;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,MAAM,EAAE,MAAM,GACb;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAIrC;AAED,uEAAuE;AACvE,KAAK,SAAS,GAAG,CACf,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EAAE,EACd,IAAI,EAAE;IAAE,KAAK,EAAE,SAAS,CAAA;CAAE,KACvB;IAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AAE/B;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,EAC5B,KAAK,GAAE,SAA6C,GACnD,IAAI,CAgCN;AAED;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI,CAqE5D"}
|
|
@@ -2,13 +2,31 @@
|
|
|
2
2
|
* Validate asset versions, changelogs, and manifest schemas across asset repos.
|
|
3
3
|
*/
|
|
4
4
|
import { Command } from "commander";
|
|
5
|
+
/** Outcome of {@link checkChangelogUnits}. All paths are root-relative posix. */
|
|
6
|
+
export interface ChangelogCheck {
|
|
7
|
+
/** Changelog units whose `CHANGELOG.md` is among the modified files. */
|
|
8
|
+
updated: string[];
|
|
9
|
+
/** Changelog units covering a modified asset whose `CHANGELOG.md` is not modified. */
|
|
10
|
+
stale: string[];
|
|
11
|
+
/** Modified assets with no `CHANGELOG.md` in any ancestor up to the root. */
|
|
12
|
+
orphans: string[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Group the modified asset files by their nearest-ancestor `CHANGELOG.md` and
|
|
16
|
+
* report which units were updated alongside them. Assets under
|
|
17
|
+
* {@link EXCLUDED_PATHS} are ignored.
|
|
18
|
+
*
|
|
19
|
+
* @param modifiedFiles - Changed paths relative to `root`.
|
|
20
|
+
* @param root - The asset root (`ai-assets/`); the walk up never leaves it.
|
|
21
|
+
*/
|
|
22
|
+
export declare function checkChangelogUnits(modifiedFiles: string[], root: string): ChangelogCheck;
|
|
5
23
|
/**
|
|
6
24
|
* Creates the `skaile validate` command group.
|
|
7
25
|
*
|
|
8
26
|
* Validates asset manifests, version fields, and changelogs in an asset
|
|
9
27
|
* repository tree. Subcommands: default `validate [path]` (schema check),
|
|
10
|
-
* `versions` (semver + flow pin validation), `changelog` (modified
|
|
11
|
-
* must have updated CHANGELOG.md).
|
|
28
|
+
* `versions` (semver + flow pin validation), `changelog` (modified assets
|
|
29
|
+
* must have an updated nearest-ancestor CHANGELOG.md).
|
|
12
30
|
*
|
|
13
31
|
* @returns Configured {@link Command} ready for `program.addCommand()`.
|
|
14
32
|
* @docLink cli/commands/validate#make-validate-command
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/validate.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/validate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAoBH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0epC,iFAAiF;AACjF,MAAM,WAAW,cAAc;IAC7B,wEAAwE;IACxE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,sFAAsF;IACtF,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,6EAA6E;IAC7E,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,cAAc,CAczF;AAqKD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CA4E7C"}
|
|
@@ -31,8 +31,8 @@ type FlowDefinition = ReturnType<typeof loadAllFlowEntries>[number]["flow"];
|
|
|
31
31
|
export declare function discoverFlows(projectDir?: string): FlowDefinition[];
|
|
32
32
|
/**
|
|
33
33
|
* Locate the on-disk file of the flow **whose declared `id`** is `flowId`,
|
|
34
|
-
* across every content root,
|
|
35
|
-
*
|
|
34
|
+
* across every content root, every `flows/` directory at any depth under each
|
|
35
|
+
* root, and both flow layouts (flat and per-flow directory).
|
|
36
36
|
*
|
|
37
37
|
* A thin binding of the shared `findFlowFileInRoots` to the CLI's root order —
|
|
38
38
|
* the same lookup `resume`, sub-flow targets and `serve` run, so what `run`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
/**
|
|
3
3
|
* Pre-commit hook: checks that modified AI assets have bumped their version
|
|
4
|
-
* and that the
|
|
4
|
+
* and that the nearest-ancestor CHANGELOG.md is staged alongside.
|
|
5
5
|
*
|
|
6
6
|
* Install: copy or symlink to .git/hooks/pre-commit
|
|
7
7
|
* Config: set strict_version_hook: true in skaile.yaml to make warnings into errors
|
|
@@ -7,29 +7,26 @@ export interface SkillEntry {
|
|
|
7
7
|
name: string;
|
|
8
8
|
path: string;
|
|
9
9
|
skillPath: string;
|
|
10
|
-
domain: string;
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
13
|
-
* Return all skill entries discovered across every {@link aiResourceRoots} root
|
|
14
|
-
*
|
|
15
|
-
*
|
|
12
|
+
* Return all skill entries discovered across every {@link aiResourceRoots} root.
|
|
13
|
+
* De-duplicated by skill name (first root wins), so the bundled factory skills
|
|
14
|
+
* don't double up with a user library.
|
|
16
15
|
*
|
|
17
|
-
* Each root is
|
|
18
|
-
*
|
|
16
|
+
* Each root is searched for `skills/` directories at any depth — directory
|
|
17
|
+
* names above a `skills/` dir carry no meaning.
|
|
19
18
|
*
|
|
20
|
-
* @param domain - Optional domain name to restrict the nested-layout search.
|
|
21
19
|
* @returns Array of {@link SkillEntry} objects.
|
|
22
20
|
* @docLink cli/dev-guide#skill-walker
|
|
23
21
|
*/
|
|
24
|
-
export declare function findSkills(
|
|
22
|
+
export declare function findSkills(): SkillEntry[];
|
|
25
23
|
/**
|
|
26
24
|
* Recursively walk a directory tree looking for skill directories (those
|
|
27
25
|
* containing a `SKILL.md` file) and push results into `out`.
|
|
28
26
|
*
|
|
29
27
|
* @param dir - Directory to walk.
|
|
30
|
-
* @param domain - Domain label attached to every discovered entry.
|
|
31
28
|
* @param out - Accumulator array mutated in-place.
|
|
32
29
|
* @docLink cli/dev-guide#skill-walker
|
|
33
30
|
*/
|
|
34
|
-
export declare function walkSkills(dir: string,
|
|
31
|
+
export declare function walkSkills(dir: string, out: SkillEntry[]): void;
|
|
35
32
|
//# sourceMappingURL=skill-walker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-walker.d.ts","sourceRoot":"","sources":["../../../cli/src/skill-walker.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"skill-walker.d.ts","sourceRoot":"","sources":["../../../cli/src/skill-walker.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,IAAI,UAAU,EAAE,CAezC;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,IAAI,CAY/D"}
|
|
@@ -1,10 +1,11 @@
|
|
|
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-H5G3OYY6.js';
|
|
2
|
+
import '../chunk-HWE3FXF4.js';
|
|
3
3
|
import '../chunk-TLKM4M47.js';
|
|
4
4
|
import '../chunk-EB4ZTESQ.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-AG44ZJ7W.js';
|
|
6
|
+
import '../chunk-RVRB27AN.js';
|
|
7
|
+
import '../chunk-DXUQCMVT.js';
|
|
8
|
+
import '../chunk-43ZBF3WH.js';
|
|
8
9
|
import '../chunk-C3CAXQMA.js';
|
|
9
10
|
import '../chunk-BOFL7GIF.js';
|
|
10
11
|
import '../chunk-NSBPE2FW.js';
|