@skaile/workspaces 5.1.3 → 5.2.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 +32 -0
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-C4X4RTZV.js → asset-feeds-WDIB3E6H.js} +11 -11
- package/dist/{asset-feeds-C4X4RTZV.js.map → asset-feeds-WDIB3E6H.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +8 -8
- package/dist/asset-manager/index.js +12 -12
- package/dist/asset-manager/installer.js +8 -8
- package/dist/asset-manager/src/index.d.ts +27 -1
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +14 -13
- 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 +10 -10
- package/dist/bridge/drivers/echo.js +3 -3
- package/dist/bridge/drivers/gemini.js +5 -5
- package/dist/bridge/drivers/goose.js +10 -10
- package/dist/bridge/drivers/omp.js +6 -5
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +10 -10
- package/dist/bridge/drivers/qwen.js +5 -5
- package/dist/bridge/index.js +13 -13
- package/dist/bridge/src/driver-capabilities.d.ts +66 -0
- package/dist/bridge/src/driver-capabilities.d.ts.map +1 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/codex.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
- package/dist/bridge/src/index.d.ts +1 -0
- package/dist/bridge/src/index.d.ts.map +1 -1
- package/dist/bridge/src/registry.d.ts.map +1 -1
- package/dist/{chunk-WPWJRDR3.js → chunk-2MEMXBLC.js} +8 -7
- package/dist/chunk-2MEMXBLC.js.map +1 -0
- package/dist/{chunk-TVOODIZE.js → chunk-2QZG5VJQ.js} +3 -3
- package/dist/{chunk-TVOODIZE.js.map → chunk-2QZG5VJQ.js.map} +1 -1
- package/dist/{chunk-7SAWDPUT.js → chunk-37GBJLF5.js} +5 -55
- package/dist/chunk-37GBJLF5.js.map +1 -0
- package/dist/{chunk-ZD7CX25M.js → chunk-3E2TIPBZ.js} +56 -7
- package/dist/chunk-3E2TIPBZ.js.map +1 -0
- package/dist/{chunk-H4EGUQ7M.js → chunk-4YE7OYTB.js} +5 -5
- package/dist/chunk-4YE7OYTB.js.map +1 -0
- package/dist/{chunk-K5GBV4SA.js → chunk-5BEFNLOR.js} +6 -5
- package/dist/chunk-5BEFNLOR.js.map +1 -0
- package/dist/{chunk-BJZHNSQO.js → chunk-6OWIEFZ2.js} +5 -5
- package/dist/{chunk-BJZHNSQO.js.map → chunk-6OWIEFZ2.js.map} +1 -1
- package/dist/{chunk-O4U7OL6D.js → chunk-6ZCVROWW.js} +6 -6
- package/dist/{chunk-O4U7OL6D.js.map → chunk-6ZCVROWW.js.map} +1 -1
- package/dist/{chunk-RO4Z2CBP.js → chunk-77GKEZ2R.js} +21 -4
- package/dist/chunk-77GKEZ2R.js.map +1 -0
- package/dist/{chunk-TYUJB336.js → chunk-7Y43UXKA.js} +3 -3
- package/dist/{chunk-TYUJB336.js.map → chunk-7Y43UXKA.js.map} +1 -1
- package/dist/{chunk-YV4J7V53.js → chunk-ANWHAGM7.js} +3 -3
- package/dist/{chunk-YV4J7V53.js.map → chunk-ANWHAGM7.js.map} +1 -1
- package/dist/{chunk-SP47UJKE.js → chunk-B4J4RGNY.js} +231 -114
- package/dist/chunk-B4J4RGNY.js.map +1 -0
- package/dist/{chunk-IWCCZL7C.js → chunk-BIMEKYOE.js} +91 -25
- package/dist/chunk-BIMEKYOE.js.map +1 -0
- package/dist/{chunk-WCQMXBO5.js → chunk-BJQUSAGB.js} +4 -4
- package/dist/{chunk-WCQMXBO5.js.map → chunk-BJQUSAGB.js.map} +1 -1
- package/dist/{chunk-RDYI4MML.js → chunk-BNUZEYC3.js} +3 -3
- package/dist/{chunk-RDYI4MML.js.map → chunk-BNUZEYC3.js.map} +1 -1
- package/dist/{chunk-KVAI5DGL.js → chunk-BUNBKRJZ.js} +3 -3
- package/dist/{chunk-KVAI5DGL.js.map → chunk-BUNBKRJZ.js.map} +1 -1
- package/dist/{chunk-AZYIEK3F.js → chunk-BWOLP6KQ.js} +3 -3
- package/dist/{chunk-AZYIEK3F.js.map → chunk-BWOLP6KQ.js.map} +1 -1
- package/dist/chunk-BZXR6SW5.js +15 -0
- package/dist/{chunk-XUQBVK4R.js.map → chunk-BZXR6SW5.js.map} +1 -1
- package/dist/{chunk-Y6V6NUEV.js → chunk-DD3OZLRD.js} +3 -3
- package/dist/{chunk-Y6V6NUEV.js.map → chunk-DD3OZLRD.js.map} +1 -1
- package/dist/{chunk-2HR3RPWD.js → chunk-EOGNW74K.js} +9 -8
- package/dist/chunk-EOGNW74K.js.map +1 -0
- package/dist/{chunk-RNNUYFFD.js → chunk-FJTC5YFO.js} +3 -3
- package/dist/{chunk-RNNUYFFD.js.map → chunk-FJTC5YFO.js.map} +1 -1
- package/dist/{chunk-ZVKJNNME.js → chunk-IOUIC2ZD.js} +8 -8
- package/dist/{chunk-ZVKJNNME.js.map → chunk-IOUIC2ZD.js.map} +1 -1
- package/dist/{chunk-YMOZC2D3.js → chunk-JPR7EPIM.js} +4 -4
- package/dist/{chunk-YMOZC2D3.js.map → chunk-JPR7EPIM.js.map} +1 -1
- package/dist/{chunk-IDEA6CYI.js → chunk-K2K7OF4P.js} +95 -3
- package/dist/chunk-K2K7OF4P.js.map +1 -0
- package/dist/{chunk-AGWYBS2E.js → chunk-KGGT6MUM.js} +4 -4
- package/dist/{chunk-AGWYBS2E.js.map → chunk-KGGT6MUM.js.map} +1 -1
- package/dist/{chunk-BEOKEK3B.js → chunk-L257BENF.js} +73 -54
- package/dist/chunk-L257BENF.js.map +1 -0
- package/dist/{chunk-UVOJSWD2.js → chunk-LZ5RH6LD.js} +24 -13
- package/dist/chunk-LZ5RH6LD.js.map +1 -0
- package/dist/{chunk-M4ISBWXR.js → chunk-MGHUSFYQ.js} +2472 -2265
- package/dist/chunk-MGHUSFYQ.js.map +1 -0
- package/dist/{chunk-43ZBF3WH.js → chunk-OABIGSUY.js} +16 -3
- package/dist/chunk-OABIGSUY.js.map +1 -0
- package/dist/{chunk-QU4J5YSJ.js → chunk-OFNXRI4L.js} +4 -4
- package/dist/{chunk-QU4J5YSJ.js.map → chunk-OFNXRI4L.js.map} +1 -1
- package/dist/{chunk-MXXKTQXJ.js → chunk-P2EM6FNQ.js} +5 -5
- package/dist/{chunk-MXXKTQXJ.js.map → chunk-P2EM6FNQ.js.map} +1 -1
- package/dist/{chunk-DLLM4U6C.js → chunk-PHKFFJ4I.js} +3 -3
- package/dist/{chunk-DLLM4U6C.js.map → chunk-PHKFFJ4I.js.map} +1 -1
- package/dist/{chunk-YDJZRLGN.js → chunk-PU5VY7KF.js} +4 -4
- package/dist/{chunk-YDJZRLGN.js.map → chunk-PU5VY7KF.js.map} +1 -1
- package/dist/{chunk-KC3OF6B2.js → chunk-QMWMSZQ4.js} +3 -3
- package/dist/{chunk-KC3OF6B2.js.map → chunk-QMWMSZQ4.js.map} +1 -1
- package/dist/{chunk-RNOIDD3Y.js → chunk-R3QW7CA5.js} +5 -5
- package/dist/{chunk-RNOIDD3Y.js.map → chunk-R3QW7CA5.js.map} +1 -1
- package/dist/{chunk-UMSWQKCY.js → chunk-RXPC4KBW.js} +3 -3
- package/dist/{chunk-UMSWQKCY.js.map → chunk-RXPC4KBW.js.map} +1 -1
- package/dist/{chunk-IAGCOAIW.js → chunk-S6KNDUAU.js} +4 -4
- package/dist/{chunk-IAGCOAIW.js.map → chunk-S6KNDUAU.js.map} +1 -1
- package/dist/{chunk-I75CM2QF.js → chunk-TVJBJLXR.js} +14 -15
- package/dist/chunk-TVJBJLXR.js.map +1 -0
- package/dist/{chunk-WKIOWDLQ.js → chunk-UDBN3LZU.js} +4 -4
- package/dist/{chunk-WKIOWDLQ.js.map → chunk-UDBN3LZU.js.map} +1 -1
- package/dist/{chunk-5S4ZK75K.js → chunk-WMEPS6S4.js} +3 -3
- package/dist/{chunk-5S4ZK75K.js.map → chunk-WMEPS6S4.js.map} +1 -1
- package/dist/{chunk-KNC55536.js → chunk-XIYXBHLN.js} +5 -4
- package/dist/chunk-XIYXBHLN.js.map +1 -0
- package/dist/{chunk-VDJKWKH2.js → chunk-XOTJVCJB.js} +3 -3
- package/dist/{chunk-VDJKWKH2.js.map → chunk-XOTJVCJB.js.map} +1 -1
- package/dist/{chunk-DXUQCMVT.js → chunk-YANDJSMN.js} +3 -3
- package/dist/{chunk-DXUQCMVT.js.map → chunk-YANDJSMN.js.map} +1 -1
- package/dist/{chunk-AG44ZJ7W.js → chunk-YRF5CYHR.js} +5 -14
- package/dist/chunk-YRF5CYHR.js.map +1 -0
- package/dist/{chunk-KWP4RVTJ.js → chunk-ZSFTCMZL.js} +760 -642
- package/dist/chunk-ZSFTCMZL.js.map +1 -0
- package/dist/cli/index.js +506 -434
- 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.d.ts.map +1 -1
- package/dist/cli/src/commands/config.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/skailify-lib.d.ts +0 -45
- package/dist/cli/src/commands/skailify-lib.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/flow-discovery.d.ts +9 -0
- package/dist/cli/src/flow-discovery.d.ts.map +1 -1
- package/dist/cli/src/helpers.d.ts +13 -0
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/setup.d.ts.map +1 -1
- package/dist/connectors/config.js +5 -5
- package/dist/connectors/index.js +17 -17
- package/dist/connectors/src/connector-manager.d.ts +8 -27
- package/dist/connectors/src/connector-manager.d.ts.map +1 -1
- package/dist/connectors/src/index.d.ts +1 -1
- package/dist/connectors/src/index.d.ts.map +1 -1
- package/dist/connectors/src/mount-ledger.d.ts +61 -0
- package/dist/connectors/src/mount-ledger.d.ts.map +1 -0
- package/dist/{connectors-BQXFKISC.js → connectors-GUN4MRWR.js} +20 -20
- package/dist/{connectors-BQXFKISC.js.map → connectors-GUN4MRWR.js.map} +1 -1
- package/dist/connectors-shared/index.js +2 -2
- package/dist/core/framework.js +1 -1
- package/dist/core/index.js +7 -7
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/publish-manifest.js +2 -2
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +5 -5
- package/dist/core/src/framework.d.ts +7 -0
- package/dist/core/src/framework.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +4 -4
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/lock.d.ts +12 -0
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/manifest-yaml-editor.d.ts +14 -6
- package/dist/core/src/manifest-yaml-editor.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +15 -0
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/publish-manifest.d.ts +4 -6
- package/dist/core/src/publish-manifest.d.ts.map +1 -1
- package/dist/core/src/settings.d.ts.map +1 -1
- package/dist/core/workspace-config.js +4 -4
- package/dist/deploy/index.js +7 -7
- package/dist/discovery/index.js +4 -4
- package/dist/discovery/src/discover-manifest.d.ts +5 -0
- package/dist/discovery/src/discover-manifest.d.ts.map +1 -1
- package/dist/discovery/src/index.d.ts +1 -1
- package/dist/discovery/src/index.d.ts.map +1 -1
- package/dist/{ensure-sources-CMHOTYFS.js → ensure-sources-VCPA762L.js} +15 -15
- package/dist/{ensure-sources-CMHOTYFS.js.map → ensure-sources-VCPA762L.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +17 -17
- package/dist/factory-assets/connectors/deploy.js +17 -17
- package/dist/factory-assets/connectors/devserver.js +17 -17
- package/dist/factory-assets/connectors/flow/adapter.d.ts +28 -4
- package/dist/factory-assets/connectors/flow/adapter.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/adapter.js +17 -17
- package/dist/factory-assets/connectors/flow/engine.js +8 -8
- package/dist/factory-assets/connectors/flow/index.d.ts +1 -1
- package/dist/factory-assets/connectors/flow/index.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +19 -19
- package/dist/factory-assets/connectors/flow.js +17 -17
- package/dist/factory-assets/connectors/git/checkout.d.ts +161 -0
- package/dist/factory-assets/connectors/git/checkout.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/config.d.ts +78 -0
- package/dist/factory-assets/connectors/git/config.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/credentials.d.ts +93 -0
- package/dist/factory-assets/connectors/git/credentials.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/driver.d.ts +39 -598
- package/dist/factory-assets/connectors/git/driver.d.ts.map +1 -1
- package/dist/factory-assets/connectors/git/exec.d.ts +177 -0
- package/dist/factory-assets/connectors/git/exec.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/inspect.d.ts +120 -0
- package/dist/factory-assets/connectors/git/inspect.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/lifecycle.d.ts +107 -0
- package/dist/factory-assets/connectors/git/lifecycle.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git/repo.d.ts +496 -0
- package/dist/factory-assets/connectors/git/repo.d.ts.map +1 -0
- package/dist/factory-assets/connectors/git.js +17 -17
- package/dist/factory-assets/connectors/gmail.js +17 -17
- package/dist/factory-assets/connectors/googledrive.js +17 -17
- package/dist/factory-assets/connectors/local.js +17 -17
- package/dist/factory-assets/connectors/mattermost.js +17 -17
- package/dist/factory-assets/connectors/memory.js +17 -17
- package/dist/factory-assets/connectors/minio.js +17 -17
- package/dist/factory-assets/connectors/postgres.js +17 -17
- package/dist/factory-assets/connectors/s3.js +17 -17
- package/dist/factory-assets/connectors/sharepoint.js +17 -17
- package/dist/factory-assets/connectors/sqlite.js +17 -17
- package/dist/factory-assets/connectors/static-server.js +17 -17
- package/dist/factory-assets/connectors/tunnel.js +17 -17
- package/dist/factory-assets/connectors/webdav.js +17 -17
- package/dist/factory-assets/connectors/xstate-store.js +17 -17
- package/dist/factory-assets/connectors/xstate.js +17 -17
- package/dist/{flows-SVCCADGE.js → flows-BOB5YA5R.js} +12 -12
- package/dist/{flows-SVCCADGE.js.map → flows-BOB5YA5R.js.map} +1 -1
- package/dist/{helpers-R3GLTAER.js → helpers-ZGK4R5MZ.js} +15 -15
- package/dist/{helpers-R3GLTAER.js.map → helpers-ZGK4R5MZ.js.map} +1 -1
- package/dist/library/index.js +10 -10
- package/dist/library/install.js +2 -2
- package/dist/library/src/index.d.ts +6 -3
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/install/install-from-manifest.d.ts +21 -0
- package/dist/library/src/install/install-from-manifest.d.ts.map +1 -1
- package/dist/library/src/local/install-library-asset.d.ts +64 -0
- package/dist/library/src/local/install-library-asset.d.ts.map +1 -0
- package/dist/library/src/local/local-catalog-source.d.ts +30 -0
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/local/store-paths.d.ts +6 -0
- package/dist/library/src/local/store-paths.d.ts.map +1 -1
- package/dist/library/src/manifest-writer.d.ts +73 -0
- package/dist/library/src/manifest-writer.d.ts.map +1 -0
- package/dist/library/src/sync/manifest-writeback.d.ts +2 -17
- package/dist/library/src/sync/manifest-writeback.d.ts.map +1 -1
- package/dist/{library-publish-EL7VYICU.js → library-publish-RIP6NBYA.js} +20 -21
- package/dist/library-publish-RIP6NBYA.js.map +1 -0
- package/dist/{open-library-MTD34YX3.js → open-library-4IJTBVTR.js} +18 -18
- package/dist/{open-library-MTD34YX3.js.map → open-library-4IJTBVTR.js.map} +1 -1
- package/dist/{open-registry-CHCWKV5W.js → open-registry-G5DI4RPU.js} +14 -14
- package/dist/{open-registry-CHCWKV5W.js.map → open-registry-G5DI4RPU.js.map} +1 -1
- package/dist/paths-L5XLUC3D.js +22 -0
- package/dist/{paths-MKSI52PF.js.map → paths-L5XLUC3D.js.map} +1 -1
- package/dist/plugin-registry/src/targets.d.ts +3 -1
- package/dist/plugin-registry/src/targets.d.ts.map +1 -1
- package/dist/{plugin-store-SVYV7L4C.js → plugin-store-QENDYZ63.js} +9 -9
- package/dist/{plugin-store-SVYV7L4C.js.map → plugin-store-QENDYZ63.js.map} +1 -1
- package/dist/{project-HCNWJP7J.js → project-4INCIIZI.js} +16 -16
- package/dist/{project-HCNWJP7J.js.map → project-4INCIIZI.js.map} +1 -1
- package/dist/resolver/index.js +8 -8
- package/dist/runner/index.js +27 -27
- package/dist/runner/src/agent.d.ts +1 -1
- package/dist/runner/src/agent.d.ts.map +1 -1
- package/dist/runner/src/codex-init.d.ts.map +1 -1
- package/dist/runner/src/compaction-gate.d.ts +9 -33
- package/dist/runner/src/compaction-gate.d.ts.map +1 -1
- package/dist/runner/src/managed-codex-bootstrap.d.ts.map +1 -1
- package/dist/runner/src/pending-turns.d.ts +7 -2
- package/dist/runner/src/pending-turns.d.ts.map +1 -1
- package/dist/runner/src/resources.d.ts +2 -2
- package/dist/runner/src/resources.d.ts.map +1 -1
- package/dist/runner/src/serve-credentials.d.ts +2 -1
- package/dist/runner/src/serve-credentials.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts +19 -35
- 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/turn-scheduler.d.ts +158 -0
- package/dist/runner/src/turn-scheduler.d.ts.map +1 -0
- package/dist/sdk/asset-manager.js +12 -12
- package/dist/sdk/bridge.js +13 -13
- package/dist/sdk/core.js +7 -7
- package/dist/sdk/flow.js +8 -8
- package/dist/sdk/index.js +27 -27
- package/dist/sdk/resolver.js +8 -8
- package/dist/sdk/runner.js +27 -27
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/types.js +1 -1
- package/dist/session/index.js +2 -2
- package/dist/session/src/dispatcher.d.ts.map +1 -1
- package/dist/{setup-HTXNR2CZ.js → setup-RG4PJJUW.js} +23 -23
- package/dist/setup-RG4PJJUW.js.map +1 -0
- package/dist/{skills-7K2YO3KN.js → skills-CL45F7AG.js} +13 -13
- package/dist/{skills-7K2YO3KN.js.map → skills-CL45F7AG.js.map} +1 -1
- package/dist/{source-UIFC2PFC.js → source-LJOI5AXU.js} +19 -19
- package/dist/{source-UIFC2PFC.js.map → source-LJOI5AXU.js.map} +1 -1
- package/dist/{source-manifest-publish-QKAKXDVH.js → source-manifest-publish-QEJML4VS.js} +21 -21
- package/dist/{source-manifest-publish-QKAKXDVH.js.map → source-manifest-publish-QEJML4VS.js.map} +1 -1
- package/dist/tui/index.js +28 -28
- package/dist/tui/index.js.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/src/delivery.d.ts +26 -0
- package/dist/types/src/delivery.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +3 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/runtime.d.ts +51 -0
- package/dist/types/src/runtime.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +24 -24
- package/dist/workspace-plugin/adapters/omp.js +18 -17
- package/dist/workspace-plugin/adapters/omp.js.map +1 -1
- package/dist/workspace-plugin/index.js +2 -1
- package/dist/workspace-plugin/src/adapters/mcp.d.ts.map +1 -1
- package/dist/workspace-plugin/src/adapters/omp.d.ts.map +1 -1
- package/dist/workspace-plugin/src/plugin.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-2HR3RPWD.js.map +0 -1
- package/dist/chunk-43ZBF3WH.js.map +0 -1
- package/dist/chunk-7SAWDPUT.js.map +0 -1
- package/dist/chunk-AG44ZJ7W.js.map +0 -1
- package/dist/chunk-BEOKEK3B.js.map +0 -1
- package/dist/chunk-F7JHP7JV.js +0 -122
- package/dist/chunk-F7JHP7JV.js.map +0 -1
- package/dist/chunk-H4EGUQ7M.js.map +0 -1
- package/dist/chunk-I75CM2QF.js.map +0 -1
- package/dist/chunk-IDEA6CYI.js.map +0 -1
- package/dist/chunk-IWCCZL7C.js.map +0 -1
- package/dist/chunk-K5GBV4SA.js.map +0 -1
- package/dist/chunk-KNC55536.js.map +0 -1
- package/dist/chunk-KWP4RVTJ.js.map +0 -1
- package/dist/chunk-M4ISBWXR.js.map +0 -1
- package/dist/chunk-RO4Z2CBP.js.map +0 -1
- package/dist/chunk-SP47UJKE.js.map +0 -1
- package/dist/chunk-UVOJSWD2.js.map +0 -1
- package/dist/chunk-WPWJRDR3.js.map +0 -1
- package/dist/chunk-XUQBVK4R.js +0 -15
- package/dist/chunk-ZD7CX25M.js.map +0 -1
- package/dist/library-publish-EL7VYICU.js.map +0 -1
- package/dist/paths-MKSI52PF.js +0 -22
- package/dist/runner/src/flow-turn-dispatch.d.ts +0 -41
- package/dist/runner/src/flow-turn-dispatch.d.ts.map +0 -1
- package/dist/runner/src/reply-routing.d.ts +0 -54
- package/dist/runner/src/reply-routing.d.ts.map +0 -1
- package/dist/setup-HTXNR2CZ.js.map +0 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export { WebDAVConnector, createConnector18 as createConnector } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
export { WebDAVConnector, createConnector18 as createConnector } from '../../chunk-MGHUSFYQ.js';
|
|
2
|
+
import '../../chunk-QMWMSZQ4.js';
|
|
3
|
+
import '../../chunk-UDBN3LZU.js';
|
|
4
|
+
import '../../chunk-OFNXRI4L.js';
|
|
5
|
+
import '../../chunk-2QZG5VJQ.js';
|
|
6
6
|
import '../../chunk-EINLFFP6.js';
|
|
7
7
|
import '../../chunk-LOO5CB5M.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-BNUZEYC3.js';
|
|
9
|
+
import '../../chunk-BUNBKRJZ.js';
|
|
10
10
|
import '../../chunk-XBSQ4KMC.js';
|
|
11
11
|
import '../../chunk-YROR332M.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-3E2TIPBZ.js';
|
|
13
13
|
import '../../chunk-6E6PKKAD.js';
|
|
14
14
|
import '../../chunk-IFGTRL2I.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-RXPC4KBW.js';
|
|
16
16
|
import '../../chunk-37FTLYFP.js';
|
|
17
17
|
import '../../chunk-QZLWJETK.js';
|
|
18
18
|
import '../../chunk-XUUYAS3Z.js';
|
|
19
19
|
import '../../chunk-NFGRW3L7.js';
|
|
20
20
|
import '../../chunk-QCI6D7E4.js';
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-K2K7OF4P.js';
|
|
22
|
+
import '../../chunk-BIMEKYOE.js';
|
|
23
23
|
import '../../chunk-4GY63JU6.js';
|
|
24
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-PU5VY7KF.js';
|
|
25
25
|
import '../../chunk-U6K3I3AX.js';
|
|
26
|
-
import '../../chunk-
|
|
26
|
+
import '../../chunk-5BEFNLOR.js';
|
|
27
27
|
import '../../chunk-A2ULN3KX.js';
|
|
28
|
-
import '../../chunk-
|
|
28
|
+
import '../../chunk-P2EM6FNQ.js';
|
|
29
29
|
import '../../chunk-TLKM4M47.js';
|
|
30
30
|
import '../../chunk-TOSHZX4C.js';
|
|
31
|
-
import '../../chunk-
|
|
31
|
+
import '../../chunk-YRF5CYHR.js';
|
|
32
32
|
import '../../chunk-RVRB27AN.js';
|
|
33
|
-
import '../../chunk-
|
|
34
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-YANDJSMN.js';
|
|
34
|
+
import '../../chunk-OABIGSUY.js';
|
|
35
35
|
import '../../chunk-ICSCSM5D.js';
|
|
36
36
|
import '../../chunk-JMKB7IB4.js';
|
|
37
37
|
import '../../chunk-MJHSLODD.js';
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export { XStateStoreConnector, createConnector20 as createConnector } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
export { XStateStoreConnector, createConnector20 as createConnector } from '../../chunk-MGHUSFYQ.js';
|
|
2
|
+
import '../../chunk-QMWMSZQ4.js';
|
|
3
|
+
import '../../chunk-UDBN3LZU.js';
|
|
4
|
+
import '../../chunk-OFNXRI4L.js';
|
|
5
|
+
import '../../chunk-2QZG5VJQ.js';
|
|
6
6
|
import '../../chunk-EINLFFP6.js';
|
|
7
7
|
import '../../chunk-LOO5CB5M.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-BNUZEYC3.js';
|
|
9
|
+
import '../../chunk-BUNBKRJZ.js';
|
|
10
10
|
import '../../chunk-XBSQ4KMC.js';
|
|
11
11
|
import '../../chunk-YROR332M.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-3E2TIPBZ.js';
|
|
13
13
|
import '../../chunk-6E6PKKAD.js';
|
|
14
14
|
import '../../chunk-IFGTRL2I.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-RXPC4KBW.js';
|
|
16
16
|
import '../../chunk-37FTLYFP.js';
|
|
17
17
|
import '../../chunk-QZLWJETK.js';
|
|
18
18
|
import '../../chunk-XUUYAS3Z.js';
|
|
19
19
|
import '../../chunk-NFGRW3L7.js';
|
|
20
20
|
import '../../chunk-QCI6D7E4.js';
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-K2K7OF4P.js';
|
|
22
|
+
import '../../chunk-BIMEKYOE.js';
|
|
23
23
|
import '../../chunk-4GY63JU6.js';
|
|
24
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-PU5VY7KF.js';
|
|
25
25
|
import '../../chunk-U6K3I3AX.js';
|
|
26
|
-
import '../../chunk-
|
|
26
|
+
import '../../chunk-5BEFNLOR.js';
|
|
27
27
|
import '../../chunk-A2ULN3KX.js';
|
|
28
|
-
import '../../chunk-
|
|
28
|
+
import '../../chunk-P2EM6FNQ.js';
|
|
29
29
|
import '../../chunk-TLKM4M47.js';
|
|
30
30
|
import '../../chunk-TOSHZX4C.js';
|
|
31
|
-
import '../../chunk-
|
|
31
|
+
import '../../chunk-YRF5CYHR.js';
|
|
32
32
|
import '../../chunk-RVRB27AN.js';
|
|
33
|
-
import '../../chunk-
|
|
34
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-YANDJSMN.js';
|
|
34
|
+
import '../../chunk-OABIGSUY.js';
|
|
35
35
|
import '../../chunk-ICSCSM5D.js';
|
|
36
36
|
import '../../chunk-JMKB7IB4.js';
|
|
37
37
|
import '../../chunk-MJHSLODD.js';
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export { XStateConnector, createConnector19 as createConnector } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
export { XStateConnector, createConnector19 as createConnector } from '../../chunk-MGHUSFYQ.js';
|
|
2
|
+
import '../../chunk-QMWMSZQ4.js';
|
|
3
|
+
import '../../chunk-UDBN3LZU.js';
|
|
4
|
+
import '../../chunk-OFNXRI4L.js';
|
|
5
|
+
import '../../chunk-2QZG5VJQ.js';
|
|
6
6
|
import '../../chunk-EINLFFP6.js';
|
|
7
7
|
import '../../chunk-LOO5CB5M.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-BNUZEYC3.js';
|
|
9
|
+
import '../../chunk-BUNBKRJZ.js';
|
|
10
10
|
import '../../chunk-XBSQ4KMC.js';
|
|
11
11
|
import '../../chunk-YROR332M.js';
|
|
12
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-3E2TIPBZ.js';
|
|
13
13
|
import '../../chunk-6E6PKKAD.js';
|
|
14
14
|
import '../../chunk-IFGTRL2I.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-RXPC4KBW.js';
|
|
16
16
|
import '../../chunk-37FTLYFP.js';
|
|
17
17
|
import '../../chunk-QZLWJETK.js';
|
|
18
18
|
import '../../chunk-XUUYAS3Z.js';
|
|
19
19
|
import '../../chunk-NFGRW3L7.js';
|
|
20
20
|
import '../../chunk-QCI6D7E4.js';
|
|
21
|
-
import '../../chunk-
|
|
22
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-K2K7OF4P.js';
|
|
22
|
+
import '../../chunk-BIMEKYOE.js';
|
|
23
23
|
import '../../chunk-4GY63JU6.js';
|
|
24
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-PU5VY7KF.js';
|
|
25
25
|
import '../../chunk-U6K3I3AX.js';
|
|
26
|
-
import '../../chunk-
|
|
26
|
+
import '../../chunk-5BEFNLOR.js';
|
|
27
27
|
import '../../chunk-A2ULN3KX.js';
|
|
28
|
-
import '../../chunk-
|
|
28
|
+
import '../../chunk-P2EM6FNQ.js';
|
|
29
29
|
import '../../chunk-TLKM4M47.js';
|
|
30
30
|
import '../../chunk-TOSHZX4C.js';
|
|
31
|
-
import '../../chunk-
|
|
31
|
+
import '../../chunk-YRF5CYHR.js';
|
|
32
32
|
import '../../chunk-RVRB27AN.js';
|
|
33
|
-
import '../../chunk-
|
|
34
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-YANDJSMN.js';
|
|
34
|
+
import '../../chunk-OABIGSUY.js';
|
|
35
35
|
import '../../chunk-ICSCSM5D.js';
|
|
36
36
|
import '../../chunk-JMKB7IB4.js';
|
|
37
37
|
import '../../chunk-MJHSLODD.js';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export { flowFindFlowForSession, flowGetSession, flowList, flowListSessions, flowShow } from './chunk-
|
|
1
|
+
export { flowFindFlowForSession, flowGetSession, flowList, flowListSessions, flowShow } from './chunk-FJTC5YFO.js';
|
|
2
2
|
import './chunk-R6O6YWU7.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-7Y43UXKA.js';
|
|
4
4
|
import './chunk-X5YPJV4N.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-XOTJVCJB.js';
|
|
6
|
+
import './chunk-BIMEKYOE.js';
|
|
7
7
|
import './chunk-4GY63JU6.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-PU5VY7KF.js';
|
|
9
9
|
import './chunk-U6K3I3AX.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-5BEFNLOR.js';
|
|
11
11
|
import './chunk-A2ULN3KX.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-P2EM6FNQ.js';
|
|
13
13
|
import './chunk-TLKM4M47.js';
|
|
14
14
|
import './chunk-TOSHZX4C.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-YRF5CYHR.js';
|
|
16
16
|
import './chunk-RVRB27AN.js';
|
|
17
|
-
import './chunk-
|
|
18
|
-
import './chunk-
|
|
17
|
+
import './chunk-YANDJSMN.js';
|
|
18
|
+
import './chunk-OABIGSUY.js';
|
|
19
19
|
import './chunk-ICSCSM5D.js';
|
|
20
20
|
import './chunk-JMKB7IB4.js';
|
|
21
21
|
import './chunk-MJHSLODD.js';
|
|
22
22
|
import './chunk-C3CAXQMA.js';
|
|
23
23
|
import './chunk-BOFL7GIF.js';
|
|
24
24
|
import './chunk-NSBPE2FW.js';
|
|
25
|
-
//# sourceMappingURL=flows-
|
|
26
|
-
//# sourceMappingURL=flows-
|
|
25
|
+
//# sourceMappingURL=flows-BOB5YA5R.js.map
|
|
26
|
+
//# sourceMappingURL=flows-BOB5YA5R.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"flows-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"flows-BOB5YA5R.js"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export { KIND_COL_WIDTH, S, TARGET_DEFAULT_HINT, bareSoftDepName, colorRef, fitWidth, formatRelativeTime, formatSoftDepAddPreview, formatSoftDepHint, formatSoftDepRemovePreview, formatSoftDepSection, kindColor, kindColorPad, logErr, logInfo, logOk, logWarn } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
1
|
+
export { KIND_COL_WIDTH, S, TARGET_DEFAULT_HINT, bareSoftDepName, colorRef, fitWidth, formatRelativeTime, formatSoftDepAddPreview, formatSoftDepHint, formatSoftDepRemovePreview, formatSoftDepSection, kindColor, kindColorPad, logErr, logInfo, logOk, logWarn, warnLegacyClaudeCopies } from './chunk-77GKEZ2R.js';
|
|
2
|
+
import './chunk-L257BENF.js';
|
|
3
|
+
import './chunk-B4J4RGNY.js';
|
|
4
|
+
import './chunk-LZ5RH6LD.js';
|
|
5
|
+
import './chunk-4YE7OYTB.js';
|
|
6
6
|
import './chunk-R7FOF242.js';
|
|
7
7
|
import './chunk-ZDKJHQY2.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-KGGT6MUM.js';
|
|
9
9
|
import './chunk-CGYEHQOX.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-BIMEKYOE.js';
|
|
11
11
|
import './chunk-4GY63JU6.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-PU5VY7KF.js';
|
|
13
13
|
import './chunk-U6K3I3AX.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-5BEFNLOR.js';
|
|
15
15
|
import './chunk-A2ULN3KX.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-P2EM6FNQ.js';
|
|
17
17
|
import './chunk-TLKM4M47.js';
|
|
18
18
|
import './chunk-TOSHZX4C.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-YRF5CYHR.js';
|
|
20
20
|
import './chunk-RVRB27AN.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
21
|
+
import './chunk-YANDJSMN.js';
|
|
22
|
+
import './chunk-OABIGSUY.js';
|
|
23
23
|
import './chunk-ICSCSM5D.js';
|
|
24
24
|
import './chunk-JMKB7IB4.js';
|
|
25
25
|
import './chunk-MJHSLODD.js';
|
|
@@ -30,5 +30,5 @@ import './chunk-UQ6LFBPZ.js';
|
|
|
30
30
|
import './chunk-TNWXGHLD.js';
|
|
31
31
|
import './chunk-5CYEWBPB.js';
|
|
32
32
|
import './chunk-NSBPE2FW.js';
|
|
33
|
-
//# sourceMappingURL=helpers-
|
|
34
|
-
//# sourceMappingURL=helpers-
|
|
33
|
+
//# sourceMappingURL=helpers-ZGK4R5MZ.js.map
|
|
34
|
+
//# sourceMappingURL=helpers-ZGK4R5MZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"helpers-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"helpers-ZGK4R5MZ.js"}
|
package/dist/library/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { AssignmentNotFoundError, CatalogCache, CatalogConfigSchema, CatalogHttpError, DuplicateAssignmentError, DuplicateLibraryNameError, GitSyncDriver, InstanceHasConsumersError, InstanceNotFoundError, InterpolationError, KNOWN_ASSET_KINDS, 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, classifyRef, cloneOrInitGitRepo, createEmptyLockFile, deriveSlug, detectChanges, detectNestedPresetRefs, detectWorkspaceVersion, ensureGitRepo, evaluateUpgrade, extractLibraryInstanceId, extractReferencedKeys, filterKey, getConfigDefaults, getDefaultValue, getSidecarRoot, getStoreManifestsDir, getStoreRoot, hasInterpolationTokens, interpolate, isGitRepo, isLocalCatalogUrl, isSecretPlaceholder, knowledgeKindProvider, listSidecarSlugsOnDisk, loadLockFile, loadWorkspaceV2, migrateSidecarsToStoreIfNeeded, migrateWorkspaceConfig, parsePreset, parsePresetYaml, parseWorkspaceV2, projectConfigPath, queryInstancePickerChoices, resolveAllItems, resolveConfig, resolveIndexPath, resolveItem, resolvePin, resolveSidecarPaths, saveConfig, saveLockFile, saveWorkspaceV2, setOriginUrl, sha256Hex, storeSecrets, trpcGetUrl, userConfigPath, validateAllPlaceholders, validateKnowledge, validateNestingDepth, validatePlaceholder, writeCuratedManifest
|
|
2
|
-
import '../chunk-
|
|
3
|
-
export { installFromManifest } from '../chunk-
|
|
1
|
+
export { AssignmentNotFoundError, CatalogCache, CatalogConfigSchema, CatalogHttpError, DuplicateAssignmentError, DuplicateLibraryNameError, GitSyncDriver, InstanceHasConsumersError, InstanceNotFoundError, InterpolationError, KNOWN_ASSET_KINDS, 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, classifyRef, cloneOrInitGitRepo, createEmptyLockFile, curatedManifestOverlay, deriveSlug, detectChanges, detectNestedPresetRefs, detectWorkspaceVersion, ensureGitRepo, evaluateUpgrade, extractLibraryInstanceId, extractReferencedKeys, filterKey, getConfigDefaults, getDefaultValue, getSidecarRoot, getStoreManifestsDir, getStoreRoot, hasInterpolationTokens, installLibraryAsset, interpolate, isGitRepo, isLocalCatalogUrl, isSecretPlaceholder, knowledgeKindProvider, listSidecarSlugsOnDisk, loadLockFile, loadWorkspaceV2, migrateSidecarsToStoreIfNeeded, migrateWorkspaceConfig, missingRootAssets, parsePreset, parsePresetYaml, parseWorkspaceV2, projectConfigPath, pruneMissingRootAssets, queryInstancePickerChoices, resolveAllItems, resolveConfig, resolveIndexPath, resolveItem, resolvePin, resolveSidecarPaths, saveConfig, saveLockFile, saveWorkspaceV2, setOriginUrl, sha256Hex, stampManifestPublisher, storeSecrets, syncManifestWithDisk, trpcGetUrl, upsertManifestAsset, userConfigPath, validateAllPlaceholders, validateKnowledge, validateNestingDepth, validatePlaceholder, writeCuratedManifest } from '../chunk-B4J4RGNY.js';
|
|
2
|
+
import '../chunk-LZ5RH6LD.js';
|
|
3
|
+
export { installFromManifest } from '../chunk-4YE7OYTB.js';
|
|
4
4
|
export { GITHUB_PAT_ENV, fetchAssetFilesFromGitHub } from '../chunk-R7FOF242.js';
|
|
5
5
|
import '../chunk-ZDKJHQY2.js';
|
|
6
|
-
export { resolveLibraryDir } from '../chunk-
|
|
6
|
+
export { resolveLibraryDir } from '../chunk-BIMEKYOE.js';
|
|
7
7
|
import '../chunk-4GY63JU6.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-PU5VY7KF.js';
|
|
9
9
|
import '../chunk-U6K3I3AX.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-5BEFNLOR.js';
|
|
11
11
|
import '../chunk-A2ULN3KX.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-P2EM6FNQ.js';
|
|
13
13
|
import '../chunk-TLKM4M47.js';
|
|
14
14
|
import '../chunk-TOSHZX4C.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-YRF5CYHR.js';
|
|
16
16
|
import '../chunk-RVRB27AN.js';
|
|
17
|
-
import '../chunk-
|
|
18
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-YANDJSMN.js';
|
|
18
|
+
import '../chunk-OABIGSUY.js';
|
|
19
19
|
import '../chunk-ICSCSM5D.js';
|
|
20
20
|
import '../chunk-JMKB7IB4.js';
|
|
21
21
|
import '../chunk-MJHSLODD.js';
|
package/dist/library/install.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { installFromManifest, longestCommonDirPrefix } from '../chunk-
|
|
1
|
+
export { installFromManifest, longestCommonDirPrefix } from '../chunk-4YE7OYTB.js';
|
|
2
2
|
export { GITHUB_PAT_ENV, fetchAssetFilesFromGitHub } from '../chunk-R7FOF242.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-OABIGSUY.js';
|
|
4
4
|
import '../chunk-NSBPE2FW.js';
|
|
5
5
|
//# sourceMappingURL=install.js.map
|
|
6
6
|
//# sourceMappingURL=install.js.map
|
|
@@ -8,12 +8,14 @@ export { type AssetDefinition, type AssetFilter, type AssetKind, type Assignment
|
|
|
8
8
|
export type { LocalIndexOptions } from "./local/library.js";
|
|
9
9
|
export { LocalIndex } from "./local/library.js";
|
|
10
10
|
export { LibraryManager } from "./local/library-manager.js";
|
|
11
|
+
export type { InstalledLibraryAsset, InstallLibraryAssetOpts, } from "./local/install-library-asset.js";
|
|
12
|
+
export { installLibraryAsset } from "./local/install-library-asset.js";
|
|
11
13
|
export { LocalCatalogSource } from "./local/local-catalog-source.js";
|
|
12
14
|
export type { GitInvocationResult, SidecarCommitOptions } from "./local/sidecar-git.js";
|
|
13
15
|
export { SidecarGit } from "./local/sidecar-git.js";
|
|
14
16
|
export type { SidecarPaths } from "./local/sidecar-paths.js";
|
|
15
17
|
export { deriveSlug, getSidecarRoot, listSidecarSlugsOnDisk, resolveSidecarPaths, } from "./local/sidecar-paths.js";
|
|
16
|
-
export { getStoreManifestsDir, getStoreRoot, migrateSidecarsToStoreIfNeeded, } from "./local/store-paths.js";
|
|
18
|
+
export { curatedManifestOverlay, getStoreManifestsDir, getStoreRoot, migrateSidecarsToStoreIfNeeded, } from "./local/store-paths.js";
|
|
17
19
|
export { type MigrationResult, migrateWorkspaceConfig } from "./migration.js";
|
|
18
20
|
export type { PinExpression, ResolveResult } from "./pin-resolver.js";
|
|
19
21
|
export { resolvePin } from "./pin-resolver.js";
|
|
@@ -26,8 +28,9 @@ export { RestCatalogSource } from "./remote/rest-catalog-source.js";
|
|
|
26
28
|
export type { LibrarySyncDriver } from "./sync/driver.js";
|
|
27
29
|
export { type CloneOrInitResult, cloneOrInitGitRepo, ensureGitRepo, GitSyncDriver, isGitRepo, setOriginUrl, } from "./sync/git-driver.js";
|
|
28
30
|
export { LocalSyncDriver } from "./sync/local-driver.js";
|
|
29
|
-
export type { WriteCuratedManifestInput, WriteCuratedManifestResult,
|
|
30
|
-
export { writeCuratedManifest
|
|
31
|
+
export type { WriteCuratedManifestInput, WriteCuratedManifestResult, } from "./sync/manifest-writeback.js";
|
|
32
|
+
export { writeCuratedManifest } from "./sync/manifest-writeback.js";
|
|
33
|
+
export { assertManifestEditable, missingRootAssets, pruneMissingRootAssets, stampManifestPublisher, syncManifestWithDisk, type UpsertAssetInput, type UpsertAssetResult, upsertManifestAsset, } from "./manifest-writer.js";
|
|
31
34
|
export { type AddLibraryInput, type AssetRef, type BackendConfig, type ConflictDescriptor, DuplicateLibraryNameError, type GitBackendConfig, LIBRARY_BACKENDS, LIBRARY_OWNERSHIPS, type Library, type LibraryBackend, type LibraryOwnership, LibrarySyncError, type LocalBackendConfig, type LocalChanges, OperationNotPermittedError, type ProposeOpts, type ProposeResult, type PublishOpts, type PublishResult, type PullOpts, type PullResult, type PushOpts, type PushResult, type RemoteChanges, type SyncStatus, type UpdateLibraryInput, UserLibraryNotFoundError, } from "./user-library.js";
|
|
32
35
|
export { createEmptyLockFile, detectWorkspaceVersion, type LibraryInstanceRef, LibraryInstanceRefSchema, type LibrarySection, LibrarySectionSchema, type LockAssignment, LockAssignmentSchema, type LockFile, LockFileSchema, loadLockFile, loadWorkspaceV2, PinPolicySchema, type PresetApplied, PresetAppliedSchema, PresetExpandedSchema, parseWorkspaceV2, RequiresEdgeSchema, saveLockFile, saveWorkspaceV2, type WorkspaceConfigV2, WorkspaceConfigV2Schema, } from "./workspace-config.js";
|
|
33
36
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../library/src/index.ts"],"names":[],"mappings":"AAIA,YAAY,EACV,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,GACf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,KAAK,aAAa,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,aAAa,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,YAAY,EACjB,kBAAkB,EAClB,UAAU,EACV,cAAc,GACf,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB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Aa,EACb,aAAa,EACb,SAAS,EACT,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,YAAY,EACV,yBAAyB,EACzB,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../library/src/index.ts"],"names":[],"mappings":"AAIA,YAAY,EACV,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,GACf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,KAAK,aAAa,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,aAAa,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,YAAY,EACjB,kBAAkB,EAClB,UAAU,EACV,cAAc,GACf,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,mBAAmB,GACpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,KAAK,SAAS,EACd,yBAAyB,EACzB,cAAc,GACf,MAAM,kCAAkC,CAAC;AAC1C,YAAY,EACV,iBAAiB,EACjB,iCAAiC,GAClC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,uBAAuB,EACvB,KAAK,mBAAmB,EACxB,wBAAwB,EACxB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,KAAK,cAAc,EACnB,YAAY,EACZ,YAAY,EACZ,KAAK,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EACpB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,yBAAyB,EACzB,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,gBAAgB,EAChB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,0BAA0B,EAC1B,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,KAAK,cAAc,EACnB,oBAAoB,EACpB,KAAK,cAAc,EACnB,oBAAoB,EACpB,KAAK,QAAQ,EACb,cAAc,EACd,YAAY,EACZ,eAAe,EACf,eAAe,EACf,KAAK,aAAa,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,KAAK,iBAAiB,EACtB,uBAAuB,GACxB,MAAM,uBAAuB,CAAC"}
|
|
@@ -17,6 +17,27 @@
|
|
|
17
17
|
* @docLink packages/library/concepts#install
|
|
18
18
|
*/
|
|
19
19
|
import type { InstallManifest } from "@skaile/workspaces/types";
|
|
20
|
+
/**
|
|
21
|
+
* Validate a single manifest-supplied file path against path traversal.
|
|
22
|
+
*
|
|
23
|
+
* `manifest.files[].path` comes off the network — the attacker controls the
|
|
24
|
+
* entire manifest (and therefore every hash in it), so hash verification can
|
|
25
|
+
* NEVER mitigate a malicious *destination*. A path like
|
|
26
|
+
* `../../../../home/user/.bashrc` or an absolute path would escape
|
|
27
|
+
* `installPath` and yield an arbitrary file write. Every path is checked
|
|
28
|
+
* BEFORE any fetch or write happens; the first bad path aborts the entire
|
|
29
|
+
* install with a hard throw.
|
|
30
|
+
*
|
|
31
|
+
* A path is rejected if ANY of:
|
|
32
|
+
* - it is empty;
|
|
33
|
+
* - it is absolute (`path.isAbsolute`) or has a leading slash;
|
|
34
|
+
* - it contains a `..` segment;
|
|
35
|
+
* - `path.resolve(installPath, p)` is not `installPath` itself and does not
|
|
36
|
+
* start with `installPath + path.sep` (escapes the install dir).
|
|
37
|
+
*
|
|
38
|
+
* @throws An error matching `/unsafe path in manifest/` on the first bad path.
|
|
39
|
+
*/
|
|
40
|
+
export declare function assertSafeManifestPath(installPath: string, p: string): void;
|
|
20
41
|
/**
|
|
21
42
|
* Longest common **directory** prefix across manifest paths, compared by whole
|
|
22
43
|
* slash-delimited segments (never raw-string — so `app/` and `app-data/` never
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install-from-manifest.d.ts","sourceRoot":"","sources":["../../../../library/src/install/install-from-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAKH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"install-from-manifest.d.ts","sourceRoot":"","sources":["../../../../library/src/install/install-from-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAKH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAKhE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAU3E;AA0BD;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAWvE;AAED;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,IAAI,EAAE;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,KAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,0DAA0D;IAC1D,QAAQ,EAAE,eAAe,CAAC;IAC1B,uEAAuE;IACvE,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,qDAAqD;IACrD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;GAMG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC,CA+FnF"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Verified install of a library asset into a project directory.
|
|
3
|
+
*
|
|
4
|
+
* The library-side counterpart to {@link installFromManifest}: that one verifies
|
|
5
|
+
* bytes fetched from a remote pointer, this one verifies bytes already on disk
|
|
6
|
+
* in a registered library. Both refuse to install content whose hash disagrees
|
|
7
|
+
* with the recorded one and both guard the destination path.
|
|
8
|
+
*
|
|
9
|
+
* One call resolves the asset on disk, checks its content hash against the index,
|
|
10
|
+
* copies or symlinks the asset and records a library-origin entry in the
|
|
11
|
+
* project's `skaile.lock.yaml`.
|
|
12
|
+
*
|
|
13
|
+
* @docLink packages/library/concepts#install
|
|
14
|
+
*/
|
|
15
|
+
import type { IAssetKindRegistry } from "@skaile/workspaces/plugins";
|
|
16
|
+
import type { AssetDefinition } from "../library.js";
|
|
17
|
+
import type { Library } from "../user-library.js";
|
|
18
|
+
/** Options for {@link installLibraryAsset}. */
|
|
19
|
+
export interface InstallLibraryAssetOpts {
|
|
20
|
+
/** The asset as the index resolved it; its `sha256` is the hash the install must match. */
|
|
21
|
+
def: AssetDefinition;
|
|
22
|
+
/**
|
|
23
|
+
* The registered library that holds the asset's bytes. `ownership` and
|
|
24
|
+
* `backendConfig` let the install rescan a source clone through the curated
|
|
25
|
+
* overlay the indexer used.
|
|
26
|
+
*/
|
|
27
|
+
library: Pick<Library, "name" | "path"> & Partial<Pick<Library, "ownership" | "backendConfig">>;
|
|
28
|
+
/** Project directory that receives the asset and `skaile.lock.yaml`. */
|
|
29
|
+
targetDir: string;
|
|
30
|
+
/** `copy` copies the asset; `link` symlinks it back into the library. */
|
|
31
|
+
mode: "copy" | "link";
|
|
32
|
+
/** Kind registry the library was indexed with (defaults to the built-in kinds). */
|
|
33
|
+
registry?: IAssetKindRegistry;
|
|
34
|
+
}
|
|
35
|
+
/** Result of a successful {@link installLibraryAsset}. */
|
|
36
|
+
export interface InstalledLibraryAsset {
|
|
37
|
+
/**
|
|
38
|
+
* Absolute path of the installed asset: its directory (the symlink itself in
|
|
39
|
+
* link mode), or its manifest file for a kind that is one file in a shared folder.
|
|
40
|
+
*/
|
|
41
|
+
installPath: string;
|
|
42
|
+
/** Canonical lock key (`<kind>:@<publisher>/<name>#<version>`) recorded in the lock. */
|
|
43
|
+
lockKey: string;
|
|
44
|
+
/** Content hash the library copy was verified against. */
|
|
45
|
+
sha256: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Install one indexed library asset into `targetDir`.
|
|
49
|
+
*
|
|
50
|
+
* The asset lands at the same path relative to the library root. A directory
|
|
51
|
+
* kind is copied whole (merged over an existing directory) or symlinked so later
|
|
52
|
+
* library edits show up without reinstalling. A kind that shares its folder
|
|
53
|
+
* (prompt, preset) installs only its own manifest file, so siblings stay behind.
|
|
54
|
+
* The hash check covers the files discovery hashed, siblings included when the
|
|
55
|
+
* manifest declares the folder as the asset's `root`.
|
|
56
|
+
*
|
|
57
|
+
* @throws When the asset is no longer in the library at the indexed version, when its
|
|
58
|
+
* on-disk hash differs from the indexed one (`hash mismatch`), when a directory-kind
|
|
59
|
+
* asset sits at the library root or its path would escape the target, or when the
|
|
60
|
+
* existing lock cannot be read. A link install over an existing path fails with the
|
|
61
|
+
* filesystem's `EEXIST`.
|
|
62
|
+
*/
|
|
63
|
+
export declare function installLibraryAsset(opts: InstallLibraryAssetOpts): InstalledLibraryAsset;
|
|
64
|
+
//# sourceMappingURL=install-library-asset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install-library-asset.d.ts","sourceRoot":"","sources":["../../../../library/src/local/install-library-asset.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAiBH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAGlD,+CAA+C;AAC/C,MAAM,WAAW,uBAAuB;IACtC,2FAA2F;IAC3F,GAAG,EAAE,eAAe,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,GAAG,eAAe,CAAC,CAAC,CAAC;IAChG,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CAC/B;AAED,0DAA0D;AAC1D,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,wFAAwF;IACxF,OAAO,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,GAAG,qBAAqB,CAsExF"}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { type DiscoveryResult } from "@skaile/workspaces/discovery";
|
|
14
14
|
import type { CatalogAsset, CatalogAssetFilter, CatalogSourceInfo, IAssetKindRegistry, ICatalogSource } from "@skaile/workspaces/plugins";
|
|
15
|
+
import type { BackendConfig, LibraryOwnership } from "../user-library.js";
|
|
15
16
|
import type { LocalIndex } from "./library.js";
|
|
16
17
|
/**
|
|
17
18
|
* Render an error plus its `cause` chain into one human-readable line.
|
|
@@ -49,6 +50,35 @@ export interface LocalCatalogSourceOptions {
|
|
|
49
50
|
*/
|
|
50
51
|
sidecarManifestFile?: string;
|
|
51
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Discovery over a library root — the one scan both the indexer
|
|
55
|
+
* ({@link LocalCatalogSource.sync}) and the installer run, so an asset's
|
|
56
|
+
* publisher, location and hash agree between the index and what gets installed.
|
|
57
|
+
*
|
|
58
|
+
* `discoverAssetsInTree` merges the in-repo base manifest with either a curated
|
|
59
|
+
* store manifest FILE (`sidecarManifestFile`, the flat
|
|
60
|
+
* `~/.skaile/store/manifests/<slug>.yaml`) or a sidecar DIR (`sidecarPath`,
|
|
61
|
+
* legacy `<dir>/skaile.manifest.yaml`); the file overlay wins when both are set.
|
|
62
|
+
* The publisher falls back to manifest publisher ?? GitHub org of a git checkout
|
|
63
|
+
* ?? directory name (never a path segment inside the tree), so the index keys
|
|
64
|
+
* assets identically to `resolveAll`.
|
|
65
|
+
*/
|
|
66
|
+
export declare function scanLibraryRoot(rootPath: string, registry: IAssetKindRegistry | undefined, scanOpts?: LocalCatalogSourceOptions & {
|
|
67
|
+
includeDev?: boolean;
|
|
68
|
+
}): DiscoveryResult;
|
|
69
|
+
/**
|
|
70
|
+
* Scan options a registered library is indexed with, so the installer rescans
|
|
71
|
+
* it the way the indexer did. A source clone (a `reader` git library) is
|
|
72
|
+
* indexed through its curated store manifest when one exists; every other
|
|
73
|
+
* library has no overlay. `includeDev` is on: dev assets are indexed only under
|
|
74
|
+
* `--dev`, and an asset the index holds must stay findable either way.
|
|
75
|
+
*/
|
|
76
|
+
export declare function libraryScanOptions(library: {
|
|
77
|
+
ownership?: LibraryOwnership;
|
|
78
|
+
backendConfig?: BackendConfig;
|
|
79
|
+
}): LocalCatalogSourceOptions & {
|
|
80
|
+
includeDev: true;
|
|
81
|
+
};
|
|
52
82
|
/**
|
|
53
83
|
* Local-filesystem implementation of `ICatalogSource` (from `@skaile/plugins`).
|
|
54
84
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-catalog-source.d.ts","sourceRoot":"","sources":["../../../../library/src/local/local-catalog-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,
|
|
1
|
+
{"version":3,"file":"local-catalog-source.d.ts","sourceRoot":"","sources":["../../../../library/src/local/local-catalog-source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EAEL,KAAK,eAAe,EAGrB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAYtD;AAMD;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EA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AIjD;;;;;;;;OAQG;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,eAAe;IAQ1D;;;;;;;;;;;OAWG;IACG,IAAI,CAAC,QAAQ,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC;QACvD,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,MAAM,CAAC;QACtB,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,UAAU,EAAE,MAAM,EAAE,CAAC;KACtB,CAAC;CAoFH"}
|
|
@@ -26,6 +26,12 @@
|
|
|
26
26
|
export declare function getStoreRoot(): string;
|
|
27
27
|
/** Manifests subdir: `<store>/manifests/`. */
|
|
28
28
|
export declare function getStoreManifestsDir(): string;
|
|
29
|
+
/**
|
|
30
|
+
* The curated store manifest that overlays the source at `sourceUrl` — the file
|
|
31
|
+
* `skaile source manifest init` writes — or `undefined` when none was authored.
|
|
32
|
+
* Keyed by the collision-free `storeManifestSlug`, as the writer and resolver are.
|
|
33
|
+
*/
|
|
34
|
+
export declare function curatedManifestOverlay(sourceUrl: string): string | undefined;
|
|
29
35
|
/**
|
|
30
36
|
* Move every `~/.skaile/sidecars/<slug>/skaile.manifest.yaml` (or the legacy
|
|
31
37
|
* `.skaile-source.yaml` for sidecars minted before the file-split rename) into
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-paths.d.ts","sourceRoot":"","sources":["../../../../library/src/local/store-paths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAcH;;;;GAIG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,8CAA8C;AAC9C,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AA4ED;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,IAAI;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAkBxF"}
|
|
1
|
+
{"version":3,"file":"store-paths.d.ts","sourceRoot":"","sources":["../../../../library/src/local/store-paths.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAcH;;;;GAIG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,8CAA8C;AAC9C,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAG5E;AA4ED;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,IAAI;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAkBxF"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The one writer of a library's `skaile.manifest.yaml`: upsert an asset entry,
|
|
3
|
+
* prune entries whose root directory is gone, stamp the top-level publisher.
|
|
4
|
+
* Core reads the manifest; every write goes through here so the publisher rules
|
|
5
|
+
* live in one place. Edits go through `ManifestYamlEditor`, so comments, key
|
|
6
|
+
* order and entry formatting survive, and a no-op edit never touches the file.
|
|
7
|
+
*/
|
|
8
|
+
import { type AssetEntry, type SkPublishManifest } from "@skaile/workspaces/core";
|
|
9
|
+
export interface UpsertAssetInput {
|
|
10
|
+
kind: string;
|
|
11
|
+
name: string;
|
|
12
|
+
/** Repo-relative path to the asset directory (the AssetEntry `root`). */
|
|
13
|
+
root: string;
|
|
14
|
+
version?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The asset's resolved publisher. Written to the entry's `publisher` only when
|
|
17
|
+
* it differs from the manifest's top-level `publisher` (the entry otherwise
|
|
18
|
+
* inherits it); when it equals the top-level one, any stale per-asset override
|
|
19
|
+
* on an existing entry is dropped. Omit to leave an existing override untouched.
|
|
20
|
+
*/
|
|
21
|
+
publisher?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
keywords?: string[];
|
|
24
|
+
}
|
|
25
|
+
export interface UpsertAssetResult {
|
|
26
|
+
manifestPath: string;
|
|
27
|
+
/** True when a new entry was appended, false when an existing one was updated. */
|
|
28
|
+
added: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Throw when the library's `skaile.manifest.yaml` exists but cannot be edited.
|
|
32
|
+
* Lets a caller fail before it puts files on disk that a later manifest write
|
|
33
|
+
* would then have to be paired with.
|
|
34
|
+
*/
|
|
35
|
+
export declare function assertManifestEditable(libraryPath: string): void;
|
|
36
|
+
/**
|
|
37
|
+
* Add the asset to the library's manifest (creating the file when absent), or
|
|
38
|
+
* update the existing `(kind, name)` entry in place. Fields the input does not
|
|
39
|
+
* mention stay as the author wrote them.
|
|
40
|
+
*/
|
|
41
|
+
export declare function upsertManifestAsset(libraryPath: string, input: UpsertAssetInput): UpsertAssetResult;
|
|
42
|
+
/**
|
|
43
|
+
* The manifest entries that point at a directory which no longer exists in the
|
|
44
|
+
* library — an asset whose directory was deleted (or renamed) without the
|
|
45
|
+
* manifest following. Only first-party `root:` entries are checked: curated
|
|
46
|
+
* entries and `files:`-only entries carry no library directory. An entry is
|
|
47
|
+
* curated when `a.source ?? manifest.source` is set (the same rule as the
|
|
48
|
+
* walker), so every entry of a mirror library with a top-level `source:` is
|
|
49
|
+
* skipped — its `root:` points into the upstream repo, not the library.
|
|
50
|
+
* A root that exists but is malformed is NOT reported — that is the indexer's
|
|
51
|
+
* `ManifestFileMissing` warning, not a removed asset.
|
|
52
|
+
*/
|
|
53
|
+
export declare function missingRootAssets(libraryPath: string, manifest: SkPublishManifest): AssetEntry[];
|
|
54
|
+
/**
|
|
55
|
+
* Drop every entry {@link missingRootAssets} reports and return them. The file
|
|
56
|
+
* is left untouched when nothing is stale.
|
|
57
|
+
*/
|
|
58
|
+
export declare function pruneMissingRootAssets(libraryPath: string): AssetEntry[];
|
|
59
|
+
/**
|
|
60
|
+
* Declare the top-level `publisher` — the one discovery falls back on for any
|
|
61
|
+
* asset without its own. First writer wins: an author-set publisher is never
|
|
62
|
+
* overwritten. Returns whether the manifest changed.
|
|
63
|
+
*/
|
|
64
|
+
export declare function stampManifestPublisher(libraryPath: string, publisher: string): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Reconcile the manifest `assets[]` inventory with what is on disk: stamp
|
|
67
|
+
* `defaultPublisher` when the manifest declares none, prune entries whose root
|
|
68
|
+
* is gone (returned), and upsert every scanned asset missing from the
|
|
69
|
+
* inventory — `library publish` ships only what the inventory lists. Per-asset
|
|
70
|
+
* publishers an author set are kept; scanned assets inherit the top-level one.
|
|
71
|
+
*/
|
|
72
|
+
export declare function syncManifestWithDisk(libraryPath: string, defaultPublisher: string): Promise<AssetEntry[]>;
|
|
73
|
+
//# sourceMappingURL=manifest-writer.d.ts.map
|