@skaile/workspaces 6.16.1 → 6.17.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 +12 -0
- package/dist/{agent-file-refresh-VRD2SNJW.js → agent-file-refresh-RZWE25KN.js} +33 -33
- package/dist/{agent-file-refresh-VRD2SNJW.js.map → agent-file-refresh-RZWE25KN.js.map} +1 -1
- package/dist/ai-sdk.js +4 -4
- package/dist/{asset-feeds-ON7FYHHF.js → asset-feeds-W4A2UFNX.js} +16 -16
- package/dist/{asset-feeds-ON7FYHHF.js.map → asset-feeds-W4A2UFNX.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +3 -3
- package/dist/asset-manager/history.js +3 -3
- package/dist/asset-manager/index.js +8 -8
- package/dist/asset-manager/installer.js +7 -7
- package/dist/asset-manager/renderers.js +4 -4
- package/dist/bridge/harnesses/claude-sdk.js +7 -7
- package/dist/bridge/harnesses/codex.js +7 -7
- package/dist/bridge/harnesses/continue.js +8 -8
- package/dist/bridge/harnesses/echo.js +3 -3
- package/dist/bridge/harnesses/gemini.js +6 -6
- package/dist/bridge/harnesses/goose.js +8 -8
- package/dist/bridge/harnesses/omp.js +5 -5
- package/dist/bridge/harnesses/opencode.js +9 -9
- package/dist/bridge/harnesses/qwen.js +6 -6
- package/dist/bridge/index.js +13 -13
- package/dist/{chunk-BTMSHGN3.js → chunk-2QNDAGYL.js} +4 -4
- package/dist/{chunk-BTMSHGN3.js.map → chunk-2QNDAGYL.js.map} +1 -1
- package/dist/{chunk-2ZDZJ7XQ.js → chunk-3O3HWR23.js} +3 -3
- package/dist/{chunk-2ZDZJ7XQ.js.map → chunk-3O3HWR23.js.map} +1 -1
- package/dist/{chunk-G5SUWZEU.js → chunk-3ZY6W7CL.js} +4 -3
- package/dist/chunk-3ZY6W7CL.js.map +1 -0
- package/dist/{chunk-2JUCWMIS.js → chunk-4BVE6JTM.js} +9 -9
- package/dist/{chunk-2JUCWMIS.js.map → chunk-4BVE6JTM.js.map} +1 -1
- package/dist/{chunk-Z23I2JA6.js → chunk-4CVRFWEY.js} +5 -5
- package/dist/{chunk-Z23I2JA6.js.map → chunk-4CVRFWEY.js.map} +1 -1
- package/dist/{chunk-PPSSDUN6.js → chunk-4YVQGPZ5.js} +3 -3
- package/dist/{chunk-PPSSDUN6.js.map → chunk-4YVQGPZ5.js.map} +1 -1
- package/dist/{chunk-ETGC2MEM.js → chunk-52HUF3DF.js} +3 -3
- package/dist/{chunk-ETGC2MEM.js.map → chunk-52HUF3DF.js.map} +1 -1
- package/dist/{chunk-Z7HLX4V2.js → chunk-57B4DG3Y.js} +4 -4
- package/dist/{chunk-Z7HLX4V2.js.map → chunk-57B4DG3Y.js.map} +1 -1
- package/dist/{chunk-WW22FS74.js → chunk-5L3UCHBK.js} +9 -9
- package/dist/{chunk-WW22FS74.js.map → chunk-5L3UCHBK.js.map} +1 -1
- package/dist/{chunk-72DYHOO2.js → chunk-6CTRJADR.js} +5 -5
- package/dist/{chunk-72DYHOO2.js.map → chunk-6CTRJADR.js.map} +1 -1
- package/dist/{chunk-3LAJJURV.js → chunk-6O7KIJUW.js} +5 -5
- package/dist/{chunk-3LAJJURV.js.map → chunk-6O7KIJUW.js.map} +1 -1
- package/dist/{chunk-EGKCKWWE.js → chunk-6PWQJMHM.js} +3 -3
- package/dist/{chunk-EGKCKWWE.js.map → chunk-6PWQJMHM.js.map} +1 -1
- package/dist/{chunk-SMCG4PMP.js → chunk-7D46CRUU.js} +12 -12
- package/dist/{chunk-SMCG4PMP.js.map → chunk-7D46CRUU.js.map} +1 -1
- package/dist/{chunk-IG4YQ7ER.js → chunk-7IKAKXMZ.js} +3 -3
- package/dist/{chunk-IG4YQ7ER.js.map → chunk-7IKAKXMZ.js.map} +1 -1
- package/dist/{chunk-4ZNKEDYH.js → chunk-AS4SKSXJ.js} +5 -5
- package/dist/{chunk-4ZNKEDYH.js.map → chunk-AS4SKSXJ.js.map} +1 -1
- package/dist/{chunk-K4763755.js → chunk-AVB7NLO6.js} +6 -6
- package/dist/{chunk-K4763755.js.map → chunk-AVB7NLO6.js.map} +1 -1
- package/dist/{chunk-MG6QD7GE.js → chunk-DG7OEBLI.js} +6 -6
- package/dist/{chunk-MG6QD7GE.js.map → chunk-DG7OEBLI.js.map} +1 -1
- package/dist/{chunk-4X5WXQV7.js → chunk-DTIR5W6G.js} +3 -3
- package/dist/{chunk-4X5WXQV7.js.map → chunk-DTIR5W6G.js.map} +1 -1
- package/dist/{chunk-PRB67LCK.js → chunk-E2VPBB7C.js} +11 -11
- package/dist/{chunk-PRB67LCK.js.map → chunk-E2VPBB7C.js.map} +1 -1
- package/dist/{chunk-NAQXDTF3.js → chunk-EFCRBVHL.js} +3 -3
- package/dist/{chunk-NAQXDTF3.js.map → chunk-EFCRBVHL.js.map} +1 -1
- package/dist/{chunk-U6UFPOEK.js → chunk-F6EPGAES.js} +62 -24
- package/dist/chunk-F6EPGAES.js.map +1 -0
- package/dist/{chunk-VFEZUSB6.js → chunk-FURORBXE.js} +4 -4
- package/dist/{chunk-VFEZUSB6.js.map → chunk-FURORBXE.js.map} +1 -1
- package/dist/{chunk-BRAOB37W.js → chunk-GXW4B5SE.js} +51 -17
- package/dist/chunk-GXW4B5SE.js.map +1 -0
- package/dist/{chunk-SX54OQQT.js → chunk-HTQLI3OI.js} +4 -4
- package/dist/{chunk-SX54OQQT.js.map → chunk-HTQLI3OI.js.map} +1 -1
- package/dist/{chunk-TYK752MU.js → chunk-HZU5JW2F.js} +3 -3
- package/dist/{chunk-TYK752MU.js.map → chunk-HZU5JW2F.js.map} +1 -1
- package/dist/{chunk-NJ6UCY2B.js → chunk-I46MAK4H.js} +3 -3
- package/dist/{chunk-NJ6UCY2B.js.map → chunk-I46MAK4H.js.map} +1 -1
- package/dist/{chunk-PD42JZWI.js → chunk-K7IV5FY4.js} +2 -2
- package/dist/{chunk-PD42JZWI.js.map → chunk-K7IV5FY4.js.map} +1 -1
- package/dist/{chunk-2SSG5B24.js → chunk-KNOABDPY.js} +4 -4
- package/dist/{chunk-2SSG5B24.js.map → chunk-KNOABDPY.js.map} +1 -1
- package/dist/{chunk-P6FJDT35.js → chunk-LZ6C4YMX.js} +3 -3
- package/dist/{chunk-P6FJDT35.js.map → chunk-LZ6C4YMX.js.map} +1 -1
- package/dist/{chunk-TW5AP6IF.js → chunk-MZEZCRSO.js} +5 -5
- package/dist/{chunk-TW5AP6IF.js.map → chunk-MZEZCRSO.js.map} +1 -1
- package/dist/{chunk-3UYKT62L.js → chunk-N2XZSIJW.js} +244 -19
- package/dist/chunk-N2XZSIJW.js.map +1 -0
- package/dist/{chunk-3CRZJR7E.js → chunk-NZAUPFIM.js} +11 -11
- package/dist/{chunk-3CRZJR7E.js.map → chunk-NZAUPFIM.js.map} +1 -1
- package/dist/{chunk-OD4N5O7V.js → chunk-OLGQHP4R.js} +3 -3
- package/dist/{chunk-OD4N5O7V.js.map → chunk-OLGQHP4R.js.map} +1 -1
- package/dist/{chunk-RPRMD7XV.js → chunk-OMV4ROIO.js} +4 -4
- package/dist/{chunk-RPRMD7XV.js.map → chunk-OMV4ROIO.js.map} +1 -1
- package/dist/{chunk-H3PY5DFL.js → chunk-PC54LSZP.js} +3 -3
- package/dist/{chunk-H3PY5DFL.js.map → chunk-PC54LSZP.js.map} +1 -1
- package/dist/{chunk-U2WPJHRA.js → chunk-QZS7E3DY.js} +4 -4
- package/dist/{chunk-U2WPJHRA.js.map → chunk-QZS7E3DY.js.map} +1 -1
- package/dist/{chunk-S3UOZBGE.js → chunk-SOAQP4BI.js} +3 -3
- package/dist/{chunk-S3UOZBGE.js.map → chunk-SOAQP4BI.js.map} +1 -1
- package/dist/{chunk-FPG36VC4.js → chunk-UIAGUME5.js} +6 -6
- package/dist/{chunk-FPG36VC4.js.map → chunk-UIAGUME5.js.map} +1 -1
- package/dist/{chunk-NNJQQYHY.js → chunk-URN4G32O.js} +2 -2
- package/dist/{chunk-NNJQQYHY.js.map → chunk-URN4G32O.js.map} +1 -1
- package/dist/{chunk-CU5WY6HN.js → chunk-VAO3XYN3.js} +3 -3
- package/dist/{chunk-CU5WY6HN.js.map → chunk-VAO3XYN3.js.map} +1 -1
- package/dist/{chunk-QUIK7L3Z.js → chunk-WNT54WWX.js} +9 -9
- package/dist/{chunk-QUIK7L3Z.js.map → chunk-WNT54WWX.js.map} +1 -1
- package/dist/{chunk-T65N4CIZ.js → chunk-XHWBSC53.js} +4 -4
- package/dist/{chunk-T65N4CIZ.js.map → chunk-XHWBSC53.js.map} +1 -1
- package/dist/{chunk-KDRA6FYE.js → chunk-YKN5S7PO.js} +9 -9
- package/dist/{chunk-KDRA6FYE.js.map → chunk-YKN5S7PO.js.map} +1 -1
- package/dist/{chunk-TVRL3IPZ.js → chunk-ZEUBZV7L.js} +3 -3
- package/dist/{chunk-TVRL3IPZ.js.map → chunk-ZEUBZV7L.js.map} +1 -1
- package/dist/{chunk-U7P22GEB.js → chunk-ZHI3YMGQ.js} +4 -4
- package/dist/{chunk-U7P22GEB.js.map → chunk-ZHI3YMGQ.js.map} +1 -1
- package/dist/{chunk-6M44OQKH.js → chunk-ZKLXJV37.js} +9 -9
- package/dist/{chunk-6M44OQKH.js.map → chunk-ZKLXJV37.js.map} +1 -1
- package/dist/{claude-code-VL6UM7BZ.js → claude-code-K3QSXJ35.js} +4 -4
- package/dist/{claude-code-VL6UM7BZ.js.map → claude-code-K3QSXJ35.js.map} +1 -1
- package/dist/cli/index.js +115 -90
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/plugin-registry-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/serve-preflight.d.ts +38 -0
- package/dist/cli/src/commands/serve-preflight.d.ts.map +1 -1
- package/dist/cli/src/commands/serve.d.ts +7 -6
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/connectors/config.js +2 -2
- package/dist/connectors/index.js +16 -16
- package/dist/{connectors-7EPJRVLJ.js → connectors-SBV254SC.js} +19 -19
- package/dist/{connectors-7EPJRVLJ.js.map → connectors-SBV254SC.js.map} +1 -1
- package/dist/core/index.js +3 -3
- package/dist/core/runtime-assets.js +2 -2
- package/dist/core/src/model-endpoint-config.d.ts +12 -0
- package/dist/core/src/model-endpoint-config.d.ts.map +1 -0
- package/dist/core/src/workspace-config.d.ts +6 -0
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/workspace-config.js +1 -1
- package/dist/deploy/index.js +4 -4
- package/dist/{ensure-sources-CI3JQJST.js → ensure-sources-URRZB56T.js} +22 -22
- package/dist/{ensure-sources-CI3JQJST.js.map → ensure-sources-URRZB56T.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +16 -16
- package/dist/factory-assets/connectors/deploy.js +16 -16
- package/dist/factory-assets/connectors/devserver.js +16 -16
- package/dist/factory-assets/connectors/flow/adapter.js +16 -16
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts +2 -2
- package/dist/factory-assets/connectors/flow/engine.js +4 -4
- package/dist/factory-assets/connectors/flow/run-flow.js +17 -17
- package/dist/factory-assets/connectors/flow.js +16 -16
- package/dist/factory-assets/connectors/git.js +16 -16
- package/dist/factory-assets/connectors/gmail.js +16 -16
- package/dist/factory-assets/connectors/googledrive.js +16 -16
- package/dist/factory-assets/connectors/local.js +16 -16
- package/dist/factory-assets/connectors/mattermost.js +16 -16
- package/dist/factory-assets/connectors/memory.js +16 -16
- package/dist/factory-assets/connectors/minio.js +16 -16
- package/dist/factory-assets/connectors/postgres.js +16 -16
- package/dist/factory-assets/connectors/s3.js +16 -16
- package/dist/factory-assets/connectors/sharepoint.js +16 -16
- package/dist/factory-assets/connectors/sqlite.js +16 -16
- package/dist/factory-assets/connectors/static-server.js +16 -16
- package/dist/factory-assets/connectors/tunnel.js +16 -16
- package/dist/factory-assets/connectors/webdav.js +16 -16
- package/dist/factory-assets/connectors/xstate-store.js +16 -16
- package/dist/factory-assets/connectors/xstate.js +16 -16
- package/dist/{flows-6XQAYQS4.js → flows-YGBWX46B.js} +6 -6
- package/dist/{flows-6XQAYQS4.js.map → flows-YGBWX46B.js.map} +1 -1
- package/dist/{helpers-26MR5QPO.js → helpers-5FFJORMD.js} +22 -22
- package/dist/{helpers-26MR5QPO.js.map → helpers-5FFJORMD.js.map} +1 -1
- package/dist/library/index.js +4 -4
- package/dist/{library-publish-YHYGA6G5.js → library-publish-AW4525ZC.js} +39 -39
- package/dist/{library-publish-YHYGA6G5.js.map → library-publish-AW4525ZC.js.map} +1 -1
- package/dist/model-endpoint/index.js +7 -7
- package/dist/model-endpoint/src/server.d.ts.map +1 -1
- package/dist/model-endpoint/src/transform.d.ts +49 -0
- package/dist/model-endpoint/src/transform.d.ts.map +1 -0
- package/dist/model-endpoint/src/types.d.ts +13 -0
- package/dist/model-endpoint/src/types.d.ts.map +1 -1
- package/dist/{open-library-FVV6GG4I.js → open-library-C254HCNL.js} +25 -25
- package/dist/{open-library-FVV6GG4I.js.map → open-library-C254HCNL.js.map} +1 -1
- package/dist/{open-registry-VX2BVMS5.js → open-registry-FI6EO2PN.js} +8 -8
- package/dist/{open-registry-VX2BVMS5.js.map → open-registry-FI6EO2PN.js.map} +1 -1
- package/dist/{paths-PIWSSUUG.js → paths-FYPFJ437.js} +6 -6
- package/dist/{paths-PIWSSUUG.js.map → paths-FYPFJ437.js.map} +1 -1
- package/dist/plugin-registry/index.js +1 -1
- package/dist/plugin-registry/src/context.d.ts +6 -0
- package/dist/plugin-registry/src/context.d.ts.map +1 -1
- package/dist/plugin-registry/src/index.d.ts +4 -3
- package/dist/plugin-registry/src/index.d.ts.map +1 -1
- package/dist/plugin-registry/src/internal.d.ts.map +1 -1
- package/dist/plugin-registry/src/model-transform.d.ts +15 -0
- package/dist/plugin-registry/src/model-transform.d.ts.map +1 -0
- package/dist/plugin-registry/src/registry.d.ts +5 -5
- package/dist/plugin-registry/src/registry.d.ts.map +1 -1
- package/dist/plugin-registry/src/targets.d.ts +17 -2
- package/dist/plugin-registry/src/targets.d.ts.map +1 -1
- package/dist/{plugin-store-MVTW6G7J.js → plugin-store-ITA3IADY.js} +7 -7
- package/dist/{plugin-store-MVTW6G7J.js.map → plugin-store-ITA3IADY.js.map} +1 -1
- package/dist/{project-BOAHGBMI.js → project-7XU7YX3Q.js} +35 -35
- package/dist/{project-BOAHGBMI.js.map → project-7XU7YX3Q.js.map} +1 -1
- package/dist/resolver/index.js +3 -3
- package/dist/runner/composition-content.js +5 -5
- package/dist/runner/index.js +26 -26
- package/dist/runner/src/model-endpoint-discovery.d.ts +18 -0
- package/dist/runner/src/model-endpoint-discovery.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +8 -8
- package/dist/sdk/bridge.js +13 -13
- package/dist/sdk/core.js +3 -3
- package/dist/sdk/flow.js +4 -4
- package/dist/sdk/index.js +26 -26
- package/dist/sdk/resolver.js +3 -3
- package/dist/sdk/runner.js +26 -26
- package/dist/sdk/transport/ws/server.js +4 -4
- package/dist/sdk/transport/ws.js +4 -4
- package/dist/sdk/transport.js +4 -4
- package/dist/{serve-preflight-XJS5OZML.js → serve-preflight-A43HQQXD.js} +81 -25
- package/dist/serve-preflight-A43HQQXD.js.map +1 -0
- package/dist/{setup-BFEBJLYF.js → setup-WD7XTLDA.js} +23 -23
- package/dist/{setup-BFEBJLYF.js.map → setup-WD7XTLDA.js.map} +1 -1
- package/dist/{skills-OCG7B5CL.js → skills-XH6OG32W.js} +5 -5
- package/dist/{skills-OCG7B5CL.js.map → skills-XH6OG32W.js.map} +1 -1
- package/dist/{source-J2MJIHDS.js → source-25TTNBDK.js} +37 -37
- package/dist/{source-J2MJIHDS.js.map → source-25TTNBDK.js.map} +1 -1
- package/dist/{source-manifest-publish-6MYDXCKZ.js → source-manifest-publish-QJTPZQBN.js} +39 -39
- package/dist/{source-manifest-publish-6MYDXCKZ.js.map → source-manifest-publish-QJTPZQBN.js.map} +1 -1
- package/dist/transport/index.js +4 -4
- package/dist/transport/ws/server.js +4 -4
- package/dist/transport/ws.js +4 -4
- package/dist/tui/index.js +26 -26
- package/dist/workspace-plugin/adapters/mcp.js +19 -19
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-3UYKT62L.js.map +0 -1
- package/dist/chunk-BRAOB37W.js.map +0 -1
- package/dist/chunk-G5SUWZEU.js.map +0 -1
- package/dist/chunk-U6UFPOEK.js.map +0 -1
- package/dist/serve-preflight-XJS5OZML.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 6.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1170](https://github.com/skaile-ai/workspaces/pull/1170) [`ed386ab`](https://github.com/skaile-ai/workspaces/commit/ed386abfbde0278a3d5653a07b4a2d3d36b653b9) Thanks [@mortegro](https://github.com/mortegro)! - Model endpoint: model transforms. A transform registered by a `modelTransform` plugin is served as the pseudo-models `<id>/<providerId>/<model>`; enable it with `model_endpoint.transforms.<id>` in `skaile.yaml` (the value is the transform's config) or with the new repeatable flag `skaile serve --model-endpoint-transform <id>` (implies `--model-endpoint`; the `skaile.yaml` config of an id wins). `skaile serve` fails before the ready line when an enabled id has no installed plugin or its config fails the plugin's schema. `GET /v1/models` lists `<id>/…` models and a `transform_prefixes` field when transforms are configured.
|
|
8
|
+
|
|
9
|
+
- [#1170](https://github.com/skaile-ai/workspaces/pull/1170) [`ed386ab`](https://github.com/skaile-ai/workspaces/commit/ed386abfbde0278a3d5653a07b4a2d3d36b653b9) Thanks [@mortegro](https://github.com/mortegro)! - Plugin registry: fourth plugin kind `modelTransform`. A plugin can `register("modelTransform", target)` a text-level model-request transform (`create(config, ctx)` returns `{ instruction?, outbound, inbound, inboundStream }`); `ModelTransformTarget`, `ModelTransformContext` and `ModelTransform` are exported from `@skaile/workspaces/plugin-registry`. `skaile plugin list` shows the registered transforms in a new `model transforms` row.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#1170](https://github.com/skaile-ai/workspaces/pull/1170) [`ed386ab`](https://github.com/skaile-ai/workspaces/commit/ed386abfbde0278a3d5653a07b4a2d3d36b653b9) Thanks [@mortegro](https://github.com/mortegro)! - `skaile serve --harness omp --model skaile-endpoint/<providerId>/<model>` (and `skaile-endpoint/<transformId>/<providerId>/<model>` with a model transform) now starts and answers its first prompt through the model endpoint. Before, it exited before the ready line with `omp cannot serve model 'skaile-endpoint/…': omp lists no model that matches it`. The runtime `skaile-endpoint` registry entry now declares `discovery: openai-models-list`, so omp lists the endpoint's models from `GET /v1/models`. The start-up model check no longer asks omp about a `skaile-endpoint/…` model: it needs the model endpoint on (`--model-endpoint` or `model_endpoint.enabled`) and checks `<providerId>/<model>` against your own registry.
|
|
14
|
+
|
|
3
15
|
## 6.16.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
export { refreshStaleAgentFiles } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
1
|
+
export { refreshStaleAgentFiles } from './chunk-6O7KIJUW.js';
|
|
2
|
+
import './chunk-QZS7E3DY.js';
|
|
3
|
+
import './chunk-F6EPGAES.js';
|
|
4
|
+
import './chunk-URN4G32O.js';
|
|
5
|
+
import './chunk-4CVRFWEY.js';
|
|
6
|
+
import './chunk-ZEUBZV7L.js';
|
|
7
|
+
import './chunk-K7IV5FY4.js';
|
|
8
8
|
import './chunk-WYZXSJBK.js';
|
|
9
9
|
import './chunk-SMFZ5YGN.js';
|
|
10
10
|
import './chunk-3A7JUOY2.js';
|
|
11
11
|
import './chunk-KW37WNXY.js';
|
|
12
12
|
import './chunk-3MWQKQUB.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-N2XZSIJW.js';
|
|
14
14
|
import './chunk-O7SG5PC2.js';
|
|
15
15
|
import './chunk-7QBNJTTQ.js';
|
|
16
16
|
import './chunk-O2SYFJWP.js';
|
|
17
|
-
import './chunk-
|
|
17
|
+
import './chunk-VAO3XYN3.js';
|
|
18
18
|
import './chunk-32NA4TVC.js';
|
|
19
19
|
import './chunk-W3UDISS2.js';
|
|
20
|
-
import './chunk-
|
|
20
|
+
import './chunk-AVB7NLO6.js';
|
|
21
21
|
import './chunk-4R6DROGN.js';
|
|
22
22
|
import './chunk-M7XIYHWB.js';
|
|
23
23
|
import './chunk-SFBLZOV5.js';
|
|
24
|
-
import './chunk-
|
|
24
|
+
import './chunk-WNT54WWX.js';
|
|
25
25
|
import './chunk-6HTN2UIJ.js';
|
|
26
|
-
import './chunk-
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-
|
|
29
|
-
import './chunk-
|
|
30
|
-
import './chunk-
|
|
26
|
+
import './chunk-PC54LSZP.js';
|
|
27
|
+
import './chunk-E2VPBB7C.js';
|
|
28
|
+
import './chunk-KNOABDPY.js';
|
|
29
|
+
import './chunk-OLGQHP4R.js';
|
|
30
|
+
import './chunk-6CTRJADR.js';
|
|
31
31
|
import './chunk-5KSGZP3E.js';
|
|
32
32
|
import './chunk-7EKQDY2T.js';
|
|
33
33
|
import './chunk-HXST2IYJ.js';
|
|
34
34
|
import './chunk-U7EZ2WSC.js';
|
|
35
|
-
import './chunk-
|
|
35
|
+
import './chunk-FURORBXE.js';
|
|
36
36
|
import './chunk-NBAGV6L2.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-4YVQGPZ5.js';
|
|
38
38
|
import './chunk-YKD2MYLU.js';
|
|
39
39
|
import './chunk-5DE3DGVR.js';
|
|
40
40
|
import './chunk-7DN6JKP2.js';
|
|
41
|
-
import './chunk-
|
|
42
|
-
import './chunk-
|
|
43
|
-
import './chunk-
|
|
44
|
-
import './chunk-
|
|
41
|
+
import './chunk-EFCRBVHL.js';
|
|
42
|
+
import './chunk-SOAQP4BI.js';
|
|
43
|
+
import './chunk-3ZY6W7CL.js';
|
|
44
|
+
import './chunk-6PWQJMHM.js';
|
|
45
45
|
import './chunk-6UP2EDFN.js';
|
|
46
46
|
import './chunk-IFGTRL2I.js';
|
|
47
|
-
import './chunk-
|
|
47
|
+
import './chunk-3O3HWR23.js';
|
|
48
48
|
import './chunk-WD3L5QSU.js';
|
|
49
49
|
import './chunk-7RGTAEG6.js';
|
|
50
50
|
import './chunk-JPV4WE5L.js';
|
|
51
|
-
import './chunk-
|
|
51
|
+
import './chunk-4BVE6JTM.js';
|
|
52
52
|
import './chunk-ISHJITXJ.js';
|
|
53
53
|
import './chunk-LNFKL23K.js';
|
|
54
54
|
import './chunk-JRN5QF4C.js';
|
|
55
55
|
import './chunk-NUELZWCF.js';
|
|
56
|
-
import './chunk-
|
|
56
|
+
import './chunk-DG7OEBLI.js';
|
|
57
57
|
import './chunk-2PJYJPDE.js';
|
|
58
58
|
import './chunk-PKE3PXOK.js';
|
|
59
|
-
import './chunk-
|
|
60
|
-
import './chunk-
|
|
59
|
+
import './chunk-AS4SKSXJ.js';
|
|
60
|
+
import './chunk-OMV4ROIO.js';
|
|
61
61
|
import './chunk-QUPZKTF3.js';
|
|
62
62
|
import './chunk-ZQPBYLCS.js';
|
|
63
63
|
import './chunk-F3D25RGM.js';
|
|
64
64
|
import './chunk-3TXEJN4W.js';
|
|
65
65
|
import './chunk-LKBRBVVS.js';
|
|
66
66
|
import './chunk-UQ6LFBPZ.js';
|
|
67
|
-
import './chunk-
|
|
68
|
-
import './chunk-
|
|
67
|
+
import './chunk-7IKAKXMZ.js';
|
|
68
|
+
import './chunk-ZHI3YMGQ.js';
|
|
69
69
|
import './chunk-4GY63JU6.js';
|
|
70
|
-
import './chunk-
|
|
70
|
+
import './chunk-52HUF3DF.js';
|
|
71
71
|
import './chunk-5KRMNUL4.js';
|
|
72
72
|
import './chunk-C5HFK34M.js';
|
|
73
73
|
import './chunk-MWXYN6NY.js';
|
|
74
|
-
import './chunk-
|
|
74
|
+
import './chunk-GXW4B5SE.js';
|
|
75
75
|
import './chunk-L5VSIPQD.js';
|
|
76
76
|
import './chunk-VTETQCR6.js';
|
|
77
77
|
import './chunk-PMXTBWFD.js';
|
|
@@ -85,5 +85,5 @@ import './chunk-RZL4TOK3.js';
|
|
|
85
85
|
import './chunk-C3CAXQMA.js';
|
|
86
86
|
import './chunk-BOFL7GIF.js';
|
|
87
87
|
import './chunk-NSBPE2FW.js';
|
|
88
|
-
//# sourceMappingURL=agent-file-refresh-
|
|
89
|
-
//# sourceMappingURL=agent-file-refresh-
|
|
88
|
+
//# sourceMappingURL=agent-file-refresh-RZWE25KN.js.map
|
|
89
|
+
//# sourceMappingURL=agent-file-refresh-RZWE25KN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-file-refresh-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"agent-file-refresh-RZWE25KN.js"}
|
package/dist/ai-sdk.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { loadMergedProviderRegistry } from './chunk-
|
|
1
|
+
import { loadMergedProviderRegistry } from './chunk-6PWQJMHM.js';
|
|
2
2
|
import { buildCredentialHeaders } from './chunk-6UP2EDFN.js';
|
|
3
|
-
import { installCommandFor } from './chunk-
|
|
3
|
+
import { installCommandFor } from './chunk-ZHI3YMGQ.js';
|
|
4
4
|
import './chunk-4GY63JU6.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-52HUF3DF.js';
|
|
6
6
|
import './chunk-5KRMNUL4.js';
|
|
7
7
|
import './chunk-C5HFK34M.js';
|
|
8
8
|
import './chunk-MWXYN6NY.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-GXW4B5SE.js';
|
|
10
10
|
import './chunk-L5VSIPQD.js';
|
|
11
11
|
import './chunk-VTETQCR6.js';
|
|
12
12
|
import './chunk-PMXTBWFD.js';
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { storeNotInstallableReason } from './chunk-
|
|
2
|
-
import { getKnownKinds } from './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { storeNotInstallableReason } from './chunk-DTIR5W6G.js';
|
|
2
|
+
import { getKnownKinds } from './chunk-QZS7E3DY.js';
|
|
3
|
+
import './chunk-3O3HWR23.js';
|
|
4
4
|
import './chunk-7RGTAEG6.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-4BVE6JTM.js';
|
|
6
6
|
import './chunk-ISHJITXJ.js';
|
|
7
7
|
import './chunk-LNFKL23K.js';
|
|
8
8
|
import './chunk-JRN5QF4C.js';
|
|
9
9
|
import './chunk-NUELZWCF.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-DG7OEBLI.js';
|
|
11
11
|
import './chunk-2PJYJPDE.js';
|
|
12
12
|
import './chunk-PKE3PXOK.js';
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
13
|
+
import './chunk-AS4SKSXJ.js';
|
|
14
|
+
import './chunk-OMV4ROIO.js';
|
|
15
15
|
import './chunk-QUPZKTF3.js';
|
|
16
16
|
import './chunk-ZQPBYLCS.js';
|
|
17
17
|
import './chunk-F3D25RGM.js';
|
|
18
18
|
import './chunk-3TXEJN4W.js';
|
|
19
19
|
import './chunk-LKBRBVVS.js';
|
|
20
20
|
import './chunk-UQ6LFBPZ.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
21
|
+
import './chunk-7IKAKXMZ.js';
|
|
22
|
+
import './chunk-ZHI3YMGQ.js';
|
|
23
23
|
import './chunk-4GY63JU6.js';
|
|
24
|
-
import { factoryAssetRoots } from './chunk-
|
|
24
|
+
import { factoryAssetRoots } from './chunk-52HUF3DF.js';
|
|
25
25
|
import './chunk-5KRMNUL4.js';
|
|
26
26
|
import './chunk-C5HFK34M.js';
|
|
27
27
|
import './chunk-MWXYN6NY.js';
|
|
28
|
-
import { scanRepo } from './chunk-
|
|
28
|
+
import { scanRepo } from './chunk-GXW4B5SE.js';
|
|
29
29
|
import './chunk-L5VSIPQD.js';
|
|
30
30
|
import './chunk-VTETQCR6.js';
|
|
31
31
|
import './chunk-PMXTBWFD.js';
|
|
@@ -62,8 +62,8 @@ function libraryEntryOf(asset) {
|
|
|
62
62
|
async function libraryAssets() {
|
|
63
63
|
const notes = [];
|
|
64
64
|
try {
|
|
65
|
-
const { openLibraryManager } = await import('./open-library-
|
|
66
|
-
const { getKindRegistry } = await import('./open-registry-
|
|
65
|
+
const { openLibraryManager } = await import('./open-library-C254HCNL.js');
|
|
66
|
+
const { getKindRegistry } = await import('./open-registry-FI6EO2PN.js');
|
|
67
67
|
const { scanAuthoringLibraries } = await import('./library/index.js');
|
|
68
68
|
const { library: index, close } = await openLibraryManager();
|
|
69
69
|
try {
|
|
@@ -96,7 +96,7 @@ async function libraryAssets() {
|
|
|
96
96
|
async function storeAssets(projectDir) {
|
|
97
97
|
const notes = [];
|
|
98
98
|
try {
|
|
99
|
-
const { resolveCatalogSource } = await import('./open-library-
|
|
99
|
+
const { resolveCatalogSource } = await import('./open-library-C254HCNL.js');
|
|
100
100
|
const { source, close } = await resolveCatalogSource({ projectDir });
|
|
101
101
|
try {
|
|
102
102
|
const assets = (await source.listAssets()).filter(
|
|
@@ -177,5 +177,5 @@ async function gatherAssetFeeds(am, projectDir) {
|
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
export { gatherAssetFeeds };
|
|
180
|
-
//# sourceMappingURL=asset-feeds-
|
|
181
|
-
//# sourceMappingURL=asset-feeds-
|
|
180
|
+
//# sourceMappingURL=asset-feeds-W4A2UFNX.js.map
|
|
181
|
+
//# sourceMappingURL=asset-feeds-W4A2UFNX.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../cli/src/asset-feeds.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;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AM,OAAA,GAAU,MAAM,aAAA,EAAc;AACpC,EAAA,MAAM,GAAA,GAAM,MAAM,YAAA,CAAa,EAAE,CAAA;AACjC,EAAA,OAAO;AAAA,IACL,OAAA,EAAS;AAAA,MACP,GAAG,GAAA;AAAA,MACH,GAAG,IAAA,CAAK,OAAA;AAAA,MACR,GAAG,GAAA,CAAI,SAAA,EAAW,OAAA,CAAQ,OAAO,CAAA;AAAA,MACjC,GAAG,GAAA,CAAI,OAAA,EAAS,KAAA,CAAM,OAAO;AAAA,KAC/B;AAAA,IACA,KAAA,EAAO,CAAC,GAAG,IAAA,CAAK,KAAA,EAAO,GAAG,KAAA,CAAM,KAAA,EAAO,GAAG,OAAA,CAAQ,KAAK;AAAA,GACzD;AACF","file":"asset-feeds-ON7FYHHF.js","sourcesContent":["/**\n * asset-feeds.ts — gather installable assets from every feed the manage TUI\n * surfaces.\n *\n * Four feeds, normalized into `CatalogEntry`:\n * - **Project sources** — `skaile.yaml` `sources:` entries (scanned via\n * `AssetManager.search()`; the new `sources:` field is merged into the\n * legacy repositories map in `AssetManager.loadConfig`).\n * - **Local libraries** — user authoring places from `LocalIndex`, read through\n * `scanAuthoringLibraries` (`@skaile/workspaces/library`): the same scan\n * `library index` / `search --local` use, so publishers and refs match them\n * (per-asset `publisher_overrides` honoured), `dev_paths` assets are left out,\n * and a library that fails to scan becomes one note while the rest stay listed.\n * - **Factory assets** — the bundled first-party `factory-assets` tree\n * (`factoryAssetRoots()`), scanned from disk. Always present; no network.\n * - **Remote store** — the configured catalog source when `catalog.url` is\n * not `local`. Failures are non-fatal — they surface as notes.\n */\n\nimport * as path from \"node:path\";\nimport {\n type AssetKind,\n type CatalogEntry,\n factoryAssetRoots,\n parseRequires,\n scanRepo,\n} from \"@skaile/workspaces/core\";\nimport { getKnownKinds } from \"./open-registry.ts\";\nimport { storeNotInstallableReason } from \"./store-addable.ts\";\nimport type { DiscoveredAsset } from \"@skaile/workspaces/discovery\";\n\n/** One non-fatal note returned to the caller for surfacing in the UI. */\nexport interface FeedNote {\n feed: \"sources\" | \"libraries\" | \"store\" | \"factory\";\n message: string;\n}\n\n/**\n * Which feed an asset came from. This is the top-level grouping axis in the\n * manage TUI (\"where is this skill coming from?\") and is intentionally distinct\n * from `publisher` (asset-intrinsic identity): the same publisher can legitimately\n * appear under more than one origin (e.g. a github repo you added as a `source`\n * that is also listed in the remote `store`).\n */\nexport type AssetOrigin = \"source\" | \"library\" | \"factory\" | \"store\";\n\n/** A catalog entry tagged with the feed it was gathered from. */\nexport interface OriginEntry {\n origin: AssetOrigin;\n entry: CatalogEntry;\n /**\n * Second-level grouping label for the manage tree. Defaults (when unset) to the\n * entry's `publisher`; the source feed sets it to the source's short repo name\n * so the Sources band groups by source — \"which repo did this come from\" — not\n * by the asset-intrinsic publisher.\n */\n group?: string;\n}\n\nexport interface AssetFeedResult {\n entries: OriginEntry[];\n notes: FeedNote[];\n}\n\n/**\n * Map one discovered library asset to the `CatalogEntry` the manage rows read.\n * `publisher` is the bare per-asset publisher (what `search --local` prints),\n * `source` the manifest path. `repo` is left unset: it only feeds the Sources-tree\n * org grouping. `requires` / `dependencies` come from the manifest the way the\n * scanner fills them — string `requires:` refs parsed to `{kind, name}`, a bundle's\n * string `dependencies:` list verbatim.\n */\nfunction libraryEntryOf(asset: DiscoveredAsset): CatalogEntry {\n const { manifest } = asset;\n const nested = (manifest.metadata as Record<string, unknown> | undefined)?.requires;\n const rawRequires = manifest.requires ?? nested;\n const requireRefs =\n typeof rawRequires === \"string\"\n ? rawRequires\n : Array.isArray(rawRequires)\n ? rawRequires.filter((r): r is string => typeof r === \"string\")\n : undefined;\n const deps = manifest.dependencies;\n return {\n name: asset.name,\n kind: asset.kind as AssetKind,\n description: typeof manifest.description === \"string\" ? manifest.description : \"\",\n source: asset.manifestPath,\n publisher: asset.publisher,\n ...(asset.plugin ? { plugin: asset.plugin } : {}),\n version: asset.version,\n requires: requireRefs === undefined ? [] : parseRequires({ requires: requireRefs }),\n dependencies:\n asset.kind === \"bundle\" && Array.isArray(deps)\n ? deps.filter((d): d is string => typeof d === \"string\" && d.length > 0)\n : [],\n };\n}\n\n/**\n * Pull assets from local libraries (the authoring places under\n * `~/.skaile/libraries/<name>/`, not the `~/.skaile/cache/sources/` cache) through\n * `scanAuthoringLibraries`, grouped under the bare library name\n * (`group: <name>`) so the manage TUI shows a clean `<name>` band — no\n * `library:` prefix (mirrors the source feed). Plugin grouping (`entry.plugin`)\n * comes from `DiscoveredAsset.plugin`. A library whose scan fails becomes one\n * `FeedNote`; the outer `catch` covers only opening the index.\n */\nasync function libraryAssets(): Promise<{\n entries: OriginEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n // Lazy: the library subpath pulls in SQLite, which the other feeds never need.\n const { openLibraryManager } = await import(\"./open-library.ts\");\n const { getKindRegistry } = await import(\"./open-registry.ts\");\n const { scanAuthoringLibraries } = await import(\"@skaile/workspaces/library\");\n const { library: index, close } = await openLibraryManager();\n try {\n const entries: OriginEntry[] = [];\n for (const scan of await scanAuthoringLibraries(index, getKindRegistry())) {\n if (scan.error !== undefined) {\n notes.push({ feed: \"libraries\", message: `${scan.library.name}: ${scan.error}` });\n continue;\n }\n for (const asset of scan.assets) {\n entries.push({\n origin: \"library\",\n entry: libraryEntryOf(asset),\n group: scan.library.name,\n });\n }\n }\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n notes.push({\n feed: \"libraries\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/**\n * Pull a (best-effort) snapshot of the connected remote store catalog.\n *\n * - Returns no entries when the resolved catalog is local-only or the host\n * is unreachable (the failure becomes a note, not an exception).\n * - Maps `CatalogAsset` → `CatalogEntry`, carrying `publisher`, `repo`, and\n * `category` straight through and using `source = \"store://<id>\"`; per-file\n * `source` paths are not available for remote assets so the canonical ref is\n * a stable placeholder.\n */\nasync function storeAssets(projectDir: string): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const { resolveCatalogSource } = await import(\"./open-library.ts\");\n const { source, close } = await resolveCatalogSource({ projectDir });\n try {\n // The store lists only what `skaile add` can install (see store-addable.ts).\n const assets = (await source.listAssets()).filter(\n (a) => storeNotInstallableReason(a) === undefined,\n );\n const entries: CatalogEntry[] = assets.map((a) => ({\n name: a.name,\n kind: (a.kind as AssetKind) ?? \"skill\",\n description: a.description ?? \"\",\n source: `store://${a.id}`,\n publisher: a.publisher,\n repo: a.repo,\n plugin: a.plugin,\n category: a.category,\n version: a.version,\n requires: [],\n dependencies: [],\n }));\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n // Local-only catalog throws a recognizable message — silence it; absence\n // is the user's choice, not an error.\n if (!/local/i.test(msg)) {\n notes.push({ feed: \"store\", message: msg });\n }\n return { entries: [], notes };\n }\n}\n\n/** The slice of `AssetManager` the source feed needs (kept narrow for tests). */\ninterface AssetManagerLike {\n search: () => Promise<CatalogEntry[]>;\n searchRepoRoots: () => { repoName: string; root: string }[];\n}\n\n/**\n * Project-source feed: leans on `AssetManager.search()`, which merges\n * `skaile.yaml`'s `sources:` field into the repositories map. Plugin grouping\n * (`entry.plugin`) is stamped by the scanner, so entries pass through as-is.\n */\nasync function sourceAssets(am: AssetManagerLike): Promise<OriginEntry[]> {\n // The bundled factory tree is injected into the repositories map as an implicit\n // source, so `am.search()` returns it too. It has its own `factory` origin band,\n // so drop it here — otherwise the same first-party skills list twice under Sources.\n const factoryPrefixes = factoryAssetRoots().map((r) => (r.endsWith(path.sep) ? r : r + path.sep));\n const isFactoryPath = (p: string) =>\n factoryPrefixes.some((fp) => p === fp.slice(0, -1) || p.startsWith(fp));\n\n const all = (await am.search()).filter((e) => !isFactoryPath(e.source));\n const entries: OriginEntry[] = [];\n // Group each source's entries under the source node (its short repo name), not\n // the publisher: under Sources the navigational question is \"which repo did\n // this come from\". Each entry's `source` (absolute manifest path) lives under\n // exactly one declared root, so group by prefix. The cache slug is\n // URL-keyed `github.com/<org>/<repo>` — take the trailing segment.\n for (const { repoName, root } of am.searchRepoRoots()) {\n if (isFactoryPath(root)) continue;\n const prefix = root.endsWith(path.sep) ? root : root + path.sep;\n const owned = all.filter((e) => e.source === root || e.source.startsWith(prefix));\n if (owned.length === 0) continue;\n const sourceName = repoName.split(\"/\").pop() || repoName;\n for (const entry of owned) entries.push({ origin: \"source\", entry, group: sourceName });\n }\n return entries;\n}\n\n/**\n * Factory-asset feed: scan the bundled first-party `factory-assets` tree(s)\n * resolved by `factoryAssetRoots()` (the `SKAILE_FACTORY_ASSETS_DIR` override\n * layer ahead of the bundled tree). Local disk only, no network — the entries are\n * the built-in skills / connectors / bundles that ship with `@skaile/workspaces`.\n * `factoryAssetRoots()` already dedupes, so the env override pointing at the\n * bundled dir collapses to one root.\n */\nasync function factoryAssets(): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const entries: CatalogEntry[] = [];\n for (const root of factoryAssetRoots()) {\n entries.push(...(await scanRepo(root, \"skaile-factory\", { knownKinds: getKnownKinds() })));\n }\n return { entries, notes };\n } catch (err) {\n notes.push({\n feed: \"factory\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/** Tag a flat entry list with a single origin. */\nfunction tag(origin: AssetOrigin, entries: CatalogEntry[]): OriginEntry[] {\n return entries.map((entry) => ({ origin, entry }));\n}\n\n/**\n * Run all feeds and return a single normalized result.\n *\n * Feeds run in parallel where possible — the store fetch is the slow one\n * (one HTTP call) and is fired alongside the local library walk. The factory\n * scan is local disk only, so it runs inline.\n */\nexport async function gatherAssetFeeds(\n am: AssetManagerLike,\n projectDir: string,\n): Promise<AssetFeedResult> {\n const [libs, store] = await Promise.all([libraryAssets(), storeAssets(projectDir)]);\n const factory = await factoryAssets();\n const src = await sourceAssets(am);\n return {\n entries: [\n ...src,\n ...libs.entries,\n ...tag(\"factory\", factory.entries),\n ...tag(\"store\", store.entries),\n ],\n notes: [...libs.notes, ...store.notes, ...factory.notes],\n };\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../cli/src/asset-feeds.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEA,SAAS,eAAe,KAAA,EAAsC;AAC5D,EAAA,MAAM,EAAE,UAAS,GAAI,KAAA;AACrB,EAAA,MAAM,MAAA,GAAU,SAAS,QAAA,EAAkD,QAAA;AAC3E,EAAA,MAAM,WAAA,GAAc,SAAS,QAAA,IAAY,MAAA;AACzC,EAAA,MAAM,cACJ,OAAO,WAAA,KAAgB,QAAA,GACnB,WAAA,GACA,MAAM,OAAA,CAAQ,WAAW,CAAA,GACvB,WAAA,CAAY,OAAO,CAAC,CAAA,KAAmB,OAAO,CAAA,KAAM,QAAQ,CAAA,GAC5D,MAAA;AACR,EAAA,MAAM,OAAO,QAAA,CAAS,YAAA;AACtB,EAAA,OAAO;AAAA,IACL,MAAM,KAAA,CAAM,IAAA;AAAA,IACZ,MAAM,KAAA,CAAM,IAAA;AAAA,IACZ,aAAa,OAAO,QAAA,CAAS,WAAA,KAAgB,QAAA,GAAW,SAAS,WAAA,GAAc,EAAA;AAAA,IAC/E,QAAQ,KAAA,CAAM,YAAA;AAAA,IACd,WAAW,KAAA,CAAM,SAAA;AAAA,IACjB,GAAI,MAAM,MAAA,GAAS,EAAE,QAAQ,KAAA,CAAM,MAAA,KAAW,EAAC;AAAA,IAC/C,SAAS,KAAA,CAAM,OAAA;AAAA,IACf,QAAA,EAAU,gBAAgB,MAAA,GAAY,KAAK,aAAA,CAAc,EAAE,QAAA,EAAU,WAAA,EAAa,CAAA;AAAA,IAClF,cACE,KAAA,CAAM,IAAA,KAAS,YAAY,KAAA,CAAM,OAAA,CAAQ,IAAI,CAAA,GACzC,IAAA,CAAK,OAAO,CAAC,CAAA,KAAmB,OAAO,CAAA,KAAM,QAAA,IAAY,EAAE,MA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;AAC1B,EAAA,MAAM,CAAC,IAAA,EAAM,KAAK,CAAA,GAAI,MAAM,OAAA,CAAQ,GAAA,CAAI,CAAC,aAAA,EAAc,EAAG,WAAA,CAAY,UAAU,CAAC,CAAC,CAAA;AAClF,EAAA,MAAM,OAAA,GAAU,MAAM,aAAA,EAAc;AACpC,EAAA,MAAM,GAAA,GAAM,MAAM,YAAA,CAAa,EAAE,CAAA;AACjC,EAAA,OAAO;AAAA,IACL,OAAA,EAAS;AAAA,MACP,GAAG,GAAA;AAAA,MACH,GAAG,IAAA,CAAK,OAAA;AAAA,MACR,GAAG,GAAA,CAAI,SAAA,EAAW,OAAA,CAAQ,OAAO,CAAA;AAAA,MACjC,GAAG,GAAA,CAAI,OAAA,EAAS,KAAA,CAAM,OAAO;AAAA,KAC/B;AAAA,IACA,KAAA,EAAO,CAAC,GAAG,IAAA,CAAK,KAAA,EAAO,GAAG,KAAA,CAAM,KAAA,EAAO,GAAG,OAAA,CAAQ,KAAK;AAAA,GACzD;AACF","file":"asset-feeds-W4A2UFNX.js","sourcesContent":["/**\n * asset-feeds.ts — gather installable assets from every feed the manage TUI\n * surfaces.\n *\n * Four feeds, normalized into `CatalogEntry`:\n * - **Project sources** — `skaile.yaml` `sources:` entries (scanned via\n * `AssetManager.search()`; the new `sources:` field is merged into the\n * legacy repositories map in `AssetManager.loadConfig`).\n * - **Local libraries** — user authoring places from `LocalIndex`, read through\n * `scanAuthoringLibraries` (`@skaile/workspaces/library`): the same scan\n * `library index` / `search --local` use, so publishers and refs match them\n * (per-asset `publisher_overrides` honoured), `dev_paths` assets are left out,\n * and a library that fails to scan becomes one note while the rest stay listed.\n * - **Factory assets** — the bundled first-party `factory-assets` tree\n * (`factoryAssetRoots()`), scanned from disk. Always present; no network.\n * - **Remote store** — the configured catalog source when `catalog.url` is\n * not `local`. Failures are non-fatal — they surface as notes.\n */\n\nimport * as path from \"node:path\";\nimport {\n type AssetKind,\n type CatalogEntry,\n factoryAssetRoots,\n parseRequires,\n scanRepo,\n} from \"@skaile/workspaces/core\";\nimport { getKnownKinds } from \"./open-registry.ts\";\nimport { storeNotInstallableReason } from \"./store-addable.ts\";\nimport type { DiscoveredAsset } from \"@skaile/workspaces/discovery\";\n\n/** One non-fatal note returned to the caller for surfacing in the UI. */\nexport interface FeedNote {\n feed: \"sources\" | \"libraries\" | \"store\" | \"factory\";\n message: string;\n}\n\n/**\n * Which feed an asset came from. This is the top-level grouping axis in the\n * manage TUI (\"where is this skill coming from?\") and is intentionally distinct\n * from `publisher` (asset-intrinsic identity): the same publisher can legitimately\n * appear under more than one origin (e.g. a github repo you added as a `source`\n * that is also listed in the remote `store`).\n */\nexport type AssetOrigin = \"source\" | \"library\" | \"factory\" | \"store\";\n\n/** A catalog entry tagged with the feed it was gathered from. */\nexport interface OriginEntry {\n origin: AssetOrigin;\n entry: CatalogEntry;\n /**\n * Second-level grouping label for the manage tree. Defaults (when unset) to the\n * entry's `publisher`; the source feed sets it to the source's short repo name\n * so the Sources band groups by source — \"which repo did this come from\" — not\n * by the asset-intrinsic publisher.\n */\n group?: string;\n}\n\nexport interface AssetFeedResult {\n entries: OriginEntry[];\n notes: FeedNote[];\n}\n\n/**\n * Map one discovered library asset to the `CatalogEntry` the manage rows read.\n * `publisher` is the bare per-asset publisher (what `search --local` prints),\n * `source` the manifest path. `repo` is left unset: it only feeds the Sources-tree\n * org grouping. `requires` / `dependencies` come from the manifest the way the\n * scanner fills them — string `requires:` refs parsed to `{kind, name}`, a bundle's\n * string `dependencies:` list verbatim.\n */\nfunction libraryEntryOf(asset: DiscoveredAsset): CatalogEntry {\n const { manifest } = asset;\n const nested = (manifest.metadata as Record<string, unknown> | undefined)?.requires;\n const rawRequires = manifest.requires ?? nested;\n const requireRefs =\n typeof rawRequires === \"string\"\n ? rawRequires\n : Array.isArray(rawRequires)\n ? rawRequires.filter((r): r is string => typeof r === \"string\")\n : undefined;\n const deps = manifest.dependencies;\n return {\n name: asset.name,\n kind: asset.kind as AssetKind,\n description: typeof manifest.description === \"string\" ? manifest.description : \"\",\n source: asset.manifestPath,\n publisher: asset.publisher,\n ...(asset.plugin ? { plugin: asset.plugin } : {}),\n version: asset.version,\n requires: requireRefs === undefined ? [] : parseRequires({ requires: requireRefs }),\n dependencies:\n asset.kind === \"bundle\" && Array.isArray(deps)\n ? deps.filter((d): d is string => typeof d === \"string\" && d.length > 0)\n : [],\n };\n}\n\n/**\n * Pull assets from local libraries (the authoring places under\n * `~/.skaile/libraries/<name>/`, not the `~/.skaile/cache/sources/` cache) through\n * `scanAuthoringLibraries`, grouped under the bare library name\n * (`group: <name>`) so the manage TUI shows a clean `<name>` band — no\n * `library:` prefix (mirrors the source feed). Plugin grouping (`entry.plugin`)\n * comes from `DiscoveredAsset.plugin`. A library whose scan fails becomes one\n * `FeedNote`; the outer `catch` covers only opening the index.\n */\nasync function libraryAssets(): Promise<{\n entries: OriginEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n // Lazy: the library subpath pulls in SQLite, which the other feeds never need.\n const { openLibraryManager } = await import(\"./open-library.ts\");\n const { getKindRegistry } = await import(\"./open-registry.ts\");\n const { scanAuthoringLibraries } = await import(\"@skaile/workspaces/library\");\n const { library: index, close } = await openLibraryManager();\n try {\n const entries: OriginEntry[] = [];\n for (const scan of await scanAuthoringLibraries(index, getKindRegistry())) {\n if (scan.error !== undefined) {\n notes.push({ feed: \"libraries\", message: `${scan.library.name}: ${scan.error}` });\n continue;\n }\n for (const asset of scan.assets) {\n entries.push({\n origin: \"library\",\n entry: libraryEntryOf(asset),\n group: scan.library.name,\n });\n }\n }\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n notes.push({\n feed: \"libraries\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/**\n * Pull a (best-effort) snapshot of the connected remote store catalog.\n *\n * - Returns no entries when the resolved catalog is local-only or the host\n * is unreachable (the failure becomes a note, not an exception).\n * - Maps `CatalogAsset` → `CatalogEntry`, carrying `publisher`, `repo`, and\n * `category` straight through and using `source = \"store://<id>\"`; per-file\n * `source` paths are not available for remote assets so the canonical ref is\n * a stable placeholder.\n */\nasync function storeAssets(projectDir: string): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const { resolveCatalogSource } = await import(\"./open-library.ts\");\n const { source, close } = await resolveCatalogSource({ projectDir });\n try {\n // The store lists only what `skaile add` can install (see store-addable.ts).\n const assets = (await source.listAssets()).filter(\n (a) => storeNotInstallableReason(a) === undefined,\n );\n const entries: CatalogEntry[] = assets.map((a) => ({\n name: a.name,\n kind: (a.kind as AssetKind) ?? \"skill\",\n description: a.description ?? \"\",\n source: `store://${a.id}`,\n publisher: a.publisher,\n repo: a.repo,\n plugin: a.plugin,\n category: a.category,\n version: a.version,\n requires: [],\n dependencies: [],\n }));\n return { entries, notes };\n } finally {\n close();\n }\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n // Local-only catalog throws a recognizable message — silence it; absence\n // is the user's choice, not an error.\n if (!/local/i.test(msg)) {\n notes.push({ feed: \"store\", message: msg });\n }\n return { entries: [], notes };\n }\n}\n\n/** The slice of `AssetManager` the source feed needs (kept narrow for tests). */\ninterface AssetManagerLike {\n search: () => Promise<CatalogEntry[]>;\n searchRepoRoots: () => { repoName: string; root: string }[];\n}\n\n/**\n * Project-source feed: leans on `AssetManager.search()`, which merges\n * `skaile.yaml`'s `sources:` field into the repositories map. Plugin grouping\n * (`entry.plugin`) is stamped by the scanner, so entries pass through as-is.\n */\nasync function sourceAssets(am: AssetManagerLike): Promise<OriginEntry[]> {\n // The bundled factory tree is injected into the repositories map as an implicit\n // source, so `am.search()` returns it too. It has its own `factory` origin band,\n // so drop it here — otherwise the same first-party skills list twice under Sources.\n const factoryPrefixes = factoryAssetRoots().map((r) => (r.endsWith(path.sep) ? r : r + path.sep));\n const isFactoryPath = (p: string) =>\n factoryPrefixes.some((fp) => p === fp.slice(0, -1) || p.startsWith(fp));\n\n const all = (await am.search()).filter((e) => !isFactoryPath(e.source));\n const entries: OriginEntry[] = [];\n // Group each source's entries under the source node (its short repo name), not\n // the publisher: under Sources the navigational question is \"which repo did\n // this come from\". Each entry's `source` (absolute manifest path) lives under\n // exactly one declared root, so group by prefix. The cache slug is\n // URL-keyed `github.com/<org>/<repo>` — take the trailing segment.\n for (const { repoName, root } of am.searchRepoRoots()) {\n if (isFactoryPath(root)) continue;\n const prefix = root.endsWith(path.sep) ? root : root + path.sep;\n const owned = all.filter((e) => e.source === root || e.source.startsWith(prefix));\n if (owned.length === 0) continue;\n const sourceName = repoName.split(\"/\").pop() || repoName;\n for (const entry of owned) entries.push({ origin: \"source\", entry, group: sourceName });\n }\n return entries;\n}\n\n/**\n * Factory-asset feed: scan the bundled first-party `factory-assets` tree(s)\n * resolved by `factoryAssetRoots()` (the `SKAILE_FACTORY_ASSETS_DIR` override\n * layer ahead of the bundled tree). Local disk only, no network — the entries are\n * the built-in skills / connectors / bundles that ship with `@skaile/workspaces`.\n * `factoryAssetRoots()` already dedupes, so the env override pointing at the\n * bundled dir collapses to one root.\n */\nasync function factoryAssets(): Promise<{\n entries: CatalogEntry[];\n notes: FeedNote[];\n}> {\n const notes: FeedNote[] = [];\n try {\n const entries: CatalogEntry[] = [];\n for (const root of factoryAssetRoots()) {\n entries.push(...(await scanRepo(root, \"skaile-factory\", { knownKinds: getKnownKinds() })));\n }\n return { entries, notes };\n } catch (err) {\n notes.push({\n feed: \"factory\",\n message: err instanceof Error ? err.message : String(err),\n });\n return { entries: [], notes };\n }\n}\n\n/** Tag a flat entry list with a single origin. */\nfunction tag(origin: AssetOrigin, entries: CatalogEntry[]): OriginEntry[] {\n return entries.map((entry) => ({ origin, entry }));\n}\n\n/**\n * Run all feeds and return a single normalized result.\n *\n * Feeds run in parallel where possible — the store fetch is the slow one\n * (one HTTP call) and is fired alongside the local library walk. The factory\n * scan is local disk only, so it runs inline.\n */\nexport async function gatherAssetFeeds(\n am: AssetManagerLike,\n projectDir: string,\n): Promise<AssetFeedResult> {\n const [libs, store] = await Promise.all([libraryAssets(), storeAssets(projectDir)]);\n const factory = await factoryAssets();\n const src = await sourceAssets(am);\n return {\n entries: [\n ...src,\n ...libs.entries,\n ...tag(\"factory\", factory.entries),\n ...tag(\"store\", store.entries),\n ],\n notes: [...libs.notes, ...store.notes, ...factory.notes],\n };\n}\n"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { WORKSPACE_MOUNT_ENV_VAR, deployAll, deployCatalogEntry, findAiAssetsRoot, isUnderWorkspaceMount, resolveFlowSkills, undeployCatalogEntry, workspaceMountDirs } from '../chunk-SFBLZOV5.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-ZHI3YMGQ.js';
|
|
3
3
|
import '../chunk-4GY63JU6.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-52HUF3DF.js';
|
|
5
5
|
import '../chunk-5KRMNUL4.js';
|
|
6
6
|
import '../chunk-C5HFK34M.js';
|
|
7
7
|
import '../chunk-MWXYN6NY.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-GXW4B5SE.js';
|
|
9
9
|
import '../chunk-L5VSIPQD.js';
|
|
10
10
|
import '../chunk-VTETQCR6.js';
|
|
11
11
|
import '../chunk-PMXTBWFD.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { appendHistory, clearHistory, getRecentHistory, loadHistory } from '../chunk-LKBRBVVS.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-ZHI3YMGQ.js';
|
|
3
3
|
import '../chunk-4GY63JU6.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-52HUF3DF.js';
|
|
5
5
|
import '../chunk-5KRMNUL4.js';
|
|
6
6
|
import '../chunk-C5HFK34M.js';
|
|
7
7
|
import '../chunk-MWXYN6NY.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-GXW4B5SE.js';
|
|
9
9
|
import '../chunk-L5VSIPQD.js';
|
|
10
10
|
import '../chunk-VTETQCR6.js';
|
|
11
11
|
import '../chunk-PMXTBWFD.js';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export { AssetManager, LibraryEntryError, MissingManifestError, harnessSwitchKeptKey, harnessSwitchStateFile, installAgentInstances, labelDiffHeaders, mcpNotRunnableReason, parseCanonicalLockKey, parseRefTolerant, readHarnessSwitchState, renderMcpServerConfig, setLibraryAssetCheck, setRenamedEntryLookup, softDepName, writeHarnessSwitchState } from '../chunk-
|
|
1
|
+
export { AssetManager, LibraryEntryError, MissingManifestError, harnessSwitchKeptKey, harnessSwitchStateFile, installAgentInstances, labelDiffHeaders, mcpNotRunnableReason, parseCanonicalLockKey, parseRefTolerant, readHarnessSwitchState, renderMcpServerConfig, setLibraryAssetCheck, setRenamedEntryLookup, softDepName, writeHarnessSwitchState } from '../chunk-4BVE6JTM.js';
|
|
2
2
|
import '../chunk-ISHJITXJ.js';
|
|
3
3
|
import '../chunk-LNFKL23K.js';
|
|
4
4
|
import '../chunk-JRN5QF4C.js';
|
|
5
5
|
import '../chunk-NUELZWCF.js';
|
|
6
|
-
export { SCAFFOLD_KINDS, createScaffold, deployAll, installAgent, installTargetOf, removeAsset } from '../chunk-
|
|
6
|
+
export { SCAFFOLD_KINDS, createScaffold, deployAll, installAgent, installTargetOf, removeAsset } from '../chunk-DG7OEBLI.js';
|
|
7
7
|
import '../chunk-2PJYJPDE.js';
|
|
8
8
|
export { BUILT_IN_FRAGMENTS, loadPromptExtensions, resolveFragments } from '../chunk-PKE3PXOK.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-AS4SKSXJ.js';
|
|
10
|
+
import '../chunk-OMV4ROIO.js';
|
|
11
11
|
import '../chunk-QUPZKTF3.js';
|
|
12
12
|
import '../chunk-ZQPBYLCS.js';
|
|
13
13
|
import '../chunk-F3D25RGM.js';
|
|
14
14
|
import '../chunk-3TXEJN4W.js';
|
|
15
15
|
export { appendHistory, clearHistory, getRecentHistory, loadHistory } from '../chunk-LKBRBVVS.js';
|
|
16
16
|
import '../chunk-UQ6LFBPZ.js';
|
|
17
|
-
export { AGENT_RENDERERS, claudeCodeRenderer, codexRenderer, harnessTargetSupportsAgents, ompRenderer, renderAgentToFramework } from '../chunk-
|
|
18
|
-
export { FACTORY_SOURCE_URL } from '../chunk-
|
|
17
|
+
export { AGENT_RENDERERS, claudeCodeRenderer, codexRenderer, harnessTargetSupportsAgents, ompRenderer, renderAgentToFramework } from '../chunk-7IKAKXMZ.js';
|
|
18
|
+
export { FACTORY_SOURCE_URL } from '../chunk-ZHI3YMGQ.js';
|
|
19
19
|
import '../chunk-4GY63JU6.js';
|
|
20
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-52HUF3DF.js';
|
|
21
21
|
import '../chunk-5KRMNUL4.js';
|
|
22
22
|
import '../chunk-C5HFK34M.js';
|
|
23
23
|
import '../chunk-MWXYN6NY.js';
|
|
24
|
-
import '../chunk-
|
|
24
|
+
import '../chunk-GXW4B5SE.js';
|
|
25
25
|
import '../chunk-L5VSIPQD.js';
|
|
26
26
|
import '../chunk-VTETQCR6.js';
|
|
27
27
|
import '../chunk-PMXTBWFD.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { SCAFFOLD_KINDS, assembleAgentPrompt, assertNoLibrarySymlinks, cachedComposedFiles, canonicalEntryRef, composedDriftRefs, createScaffold, deployAll, deployAsset, deployEach, deployedAssetDrift, diffDeployedAgent, entriesNeedingDeploy, installTargetOf, readKeptLegacyCopies, removeAsset, sourceComposedFiles, writeKeptLegacyCopies } from '../chunk-
|
|
1
|
+
export { SCAFFOLD_KINDS, assembleAgentPrompt, assertNoLibrarySymlinks, cachedComposedFiles, canonicalEntryRef, composedDriftRefs, createScaffold, deployAll, deployAsset, deployEach, deployedAssetDrift, diffDeployedAgent, entriesNeedingDeploy, installTargetOf, readKeptLegacyCopies, removeAsset, sourceComposedFiles, writeKeptLegacyCopies } from '../chunk-DG7OEBLI.js';
|
|
2
2
|
import '../chunk-2PJYJPDE.js';
|
|
3
3
|
import '../chunk-PKE3PXOK.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-AS4SKSXJ.js';
|
|
5
|
+
import '../chunk-OMV4ROIO.js';
|
|
6
6
|
import '../chunk-QUPZKTF3.js';
|
|
7
7
|
import '../chunk-ZQPBYLCS.js';
|
|
8
8
|
import '../chunk-F3D25RGM.js';
|
|
9
9
|
import '../chunk-3TXEJN4W.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-7IKAKXMZ.js';
|
|
11
|
+
import '../chunk-ZHI3YMGQ.js';
|
|
12
12
|
import '../chunk-4GY63JU6.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-52HUF3DF.js';
|
|
14
14
|
import '../chunk-5KRMNUL4.js';
|
|
15
15
|
import '../chunk-C5HFK34M.js';
|
|
16
16
|
import '../chunk-MWXYN6NY.js';
|
|
17
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-GXW4B5SE.js';
|
|
18
18
|
import '../chunk-L5VSIPQD.js';
|
|
19
19
|
import '../chunk-VTETQCR6.js';
|
|
20
20
|
import '../chunk-PMXTBWFD.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { AGENT_RENDERERS, CODEX_IDENTITY_DIR, agentPromptInput, agentRenderFiles, claudeCodeRenderer, codexRenderer, harnessTargetSupportsAgents, ompRenderer, renderAgentToFramework } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { AGENT_RENDERERS, CODEX_IDENTITY_DIR, agentPromptInput, agentRenderFiles, claudeCodeRenderer, codexRenderer, harnessTargetSupportsAgents, ompRenderer, renderAgentToFramework } from '../chunk-7IKAKXMZ.js';
|
|
2
|
+
import '../chunk-ZHI3YMGQ.js';
|
|
3
3
|
import '../chunk-4GY63JU6.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-52HUF3DF.js';
|
|
5
5
|
import '../chunk-5KRMNUL4.js';
|
|
6
6
|
import '../chunk-C5HFK34M.js';
|
|
7
7
|
import '../chunk-MWXYN6NY.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-GXW4B5SE.js';
|
|
9
9
|
import '../chunk-L5VSIPQD.js';
|
|
10
10
|
import '../chunk-VTETQCR6.js';
|
|
11
11
|
import '../chunk-PMXTBWFD.js';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { formatDroppedToolsNotice, filterInProcessMcpServerTools, checkToolPropertyKeys, TOOL_PROPERTY_KEY_PATTERN } from '../../chunk-3X7VTCPG.js';
|
|
2
2
|
import { AskSlots } from '../../chunk-3TG2NV2F.js';
|
|
3
|
-
import { scrubPoisonedTranscript, transcriptStoreForRuntime, resolveClaudeConfigDir, unsupportedSurfaceNotice, claudeEndpointMode, buildClaudeEndpointEnv, APPROVE_ONCE, DENY } from '../../chunk-
|
|
3
|
+
import { scrubPoisonedTranscript, transcriptStoreForRuntime, resolveClaudeConfigDir, unsupportedSurfaceNotice, claudeEndpointMode, buildClaudeEndpointEnv, APPROVE_ONCE, DENY } from '../../chunk-OLGQHP4R.js';
|
|
4
4
|
import { freshBudget, isFirstAttempt, spend, isSpent, decide, isAvailable } from '../../chunk-7EKQDY2T.js';
|
|
5
5
|
import { dispatchCapability } from '../../chunk-HXST2IYJ.js';
|
|
6
6
|
import { fetchProviderModels } from '../../chunk-U7EZ2WSC.js';
|
|
7
7
|
import { harnessSpawnPath, resolveHarnessBinary, SDK_CLI_BINARIES } from '../../chunk-YKD2MYLU.js';
|
|
8
8
|
import { ReconfigureLedger, AuthError, stripRunnerPrivateEnv, classifyClaudeSdkError, reclassifyAuthAsAccountUnavailable, AccountUnavailableError, isLongContextEntitlementRejection, LONG_CONTEXT_CREDITS_API_ERROR } from '../../chunk-5DE3DGVR.js';
|
|
9
9
|
import { agentExecRequested, wrapAgentCommand, resolveAgentExec } from '../../chunk-7DN6JKP2.js';
|
|
10
|
-
import { AgentHarness, getBridgeLogger, registryHarnessConfig } from '../../chunk-
|
|
11
|
-
import { BUILTIN_HARNESS_CATALOG, harnessInfoFor, entryCredentialValue } from '../../chunk-
|
|
12
|
-
import '../../chunk-
|
|
10
|
+
import { AgentHarness, getBridgeLogger, registryHarnessConfig } from '../../chunk-EFCRBVHL.js';
|
|
11
|
+
import { BUILTIN_HARNESS_CATALOG, harnessInfoFor, entryCredentialValue } from '../../chunk-SOAQP4BI.js';
|
|
12
|
+
import '../../chunk-3ZY6W7CL.js';
|
|
13
13
|
import '../../chunk-6UP2EDFN.js';
|
|
14
14
|
import { withActivityLabelShape } from '../../chunk-JPV4WE5L.js';
|
|
15
|
-
import { loadHarnessSdk } from '../../chunk-
|
|
15
|
+
import { loadHarnessSdk } from '../../chunk-ZHI3YMGQ.js';
|
|
16
16
|
import '../../chunk-4GY63JU6.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-52HUF3DF.js';
|
|
18
18
|
import '../../chunk-5KRMNUL4.js';
|
|
19
19
|
import '../../chunk-C5HFK34M.js';
|
|
20
20
|
import '../../chunk-MWXYN6NY.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-GXW4B5SE.js';
|
|
22
22
|
import '../../chunk-L5VSIPQD.js';
|
|
23
23
|
import '../../chunk-VTETQCR6.js';
|
|
24
24
|
import '../../chunk-PMXTBWFD.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { CodexHarness, checkCodexCredential, codexHarnessTarget, isManagedCodexConfig } from '../../chunk-
|
|
1
|
+
export { CodexHarness, checkCodexCredential, codexHarnessTarget, isManagedCodexConfig } from '../../chunk-6CTRJADR.js';
|
|
2
2
|
import '../../chunk-5KSGZP3E.js';
|
|
3
3
|
import '../../chunk-7EKQDY2T.js';
|
|
4
4
|
import '../../chunk-U7EZ2WSC.js';
|
|
5
5
|
import '../../chunk-5DE3DGVR.js';
|
|
6
6
|
import '../../chunk-7DN6JKP2.js';
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-EFCRBVHL.js';
|
|
8
|
+
import '../../chunk-SOAQP4BI.js';
|
|
9
|
+
import '../../chunk-3ZY6W7CL.js';
|
|
10
10
|
import '../../chunk-6UP2EDFN.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-ZHI3YMGQ.js';
|
|
12
12
|
import '../../chunk-4GY63JU6.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-52HUF3DF.js';
|
|
14
14
|
import '../../chunk-5KRMNUL4.js';
|
|
15
15
|
import '../../chunk-C5HFK34M.js';
|
|
16
16
|
import '../../chunk-MWXYN6NY.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-GXW4B5SE.js';
|
|
18
18
|
import '../../chunk-L5VSIPQD.js';
|
|
19
19
|
import '../../chunk-VTETQCR6.js';
|
|
20
20
|
import '../../chunk-PMXTBWFD.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { SubprocessCliHarness, extractText, extractCost, extractTokens } from '../../chunk-
|
|
1
|
+
import { SubprocessCliHarness, extractText, extractCost, extractTokens } from '../../chunk-LZ6C4YMX.js';
|
|
2
2
|
import { harnessSessionConfigHome, removeSessionConfigFile, writeSessionConfigFile } from '../../chunk-NBAGV6L2.js';
|
|
3
|
-
import { resolveEnvHarnessSession, continueRoleBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, entrySurface, harnessProviderName, entryBaseUrl, versionedAnthropicBaseUrl } from '../../chunk-
|
|
3
|
+
import { resolveEnvHarnessSession, continueRoleBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, entrySurface, harnessProviderName, entryBaseUrl, versionedAnthropicBaseUrl } from '../../chunk-4YVQGPZ5.js';
|
|
4
4
|
import { HARNESS_BINARIES } from '../../chunk-YKD2MYLU.js';
|
|
5
5
|
import '../../chunk-5DE3DGVR.js';
|
|
6
6
|
import '../../chunk-7DN6JKP2.js';
|
|
7
|
-
import { getBridgeLogger, registryHarnessConfig } from '../../chunk-
|
|
8
|
-
import { BUILTIN_HARNESS_CATALOG, harnessInfoFor, entryCredentialValue, providerCredentialEnvName } from '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
7
|
+
import { getBridgeLogger, registryHarnessConfig } from '../../chunk-EFCRBVHL.js';
|
|
8
|
+
import { BUILTIN_HARNESS_CATALOG, harnessInfoFor, entryCredentialValue, providerCredentialEnvName } from '../../chunk-SOAQP4BI.js';
|
|
9
|
+
import '../../chunk-3ZY6W7CL.js';
|
|
10
10
|
import '../../chunk-6UP2EDFN.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-ZHI3YMGQ.js';
|
|
12
12
|
import '../../chunk-4GY63JU6.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-52HUF3DF.js';
|
|
14
14
|
import '../../chunk-5KRMNUL4.js';
|
|
15
15
|
import '../../chunk-C5HFK34M.js';
|
|
16
16
|
import '../../chunk-MWXYN6NY.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-GXW4B5SE.js';
|
|
18
18
|
import '../../chunk-L5VSIPQD.js';
|
|
19
19
|
import '../../chunk-VTETQCR6.js';
|
|
20
20
|
import '../../chunk-PMXTBWFD.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dispatchCapability } from '../../chunk-HXST2IYJ.js';
|
|
2
|
-
import { AgentHarness, getBridgeLogger, registryHarnessConfig } from '../../chunk-
|
|
3
|
-
import { BUILTIN_HARNESS_CATALOG, harnessInfoFor } from '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
2
|
+
import { AgentHarness, getBridgeLogger, registryHarnessConfig } from '../../chunk-EFCRBVHL.js';
|
|
3
|
+
import { BUILTIN_HARNESS_CATALOG, harnessInfoFor } from '../../chunk-SOAQP4BI.js';
|
|
4
|
+
import '../../chunk-3ZY6W7CL.js';
|
|
5
5
|
import '../../chunk-6UP2EDFN.js';
|
|
6
6
|
import '../../chunk-JPV4WE5L.js';
|
|
7
7
|
import '../../chunk-VSX2G7LA.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { GeminiFamilyHarness, GeminiHarness, geminiHarnessTarget } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { GeminiFamilyHarness, GeminiHarness, geminiHarnessTarget } from '../../chunk-UIAGUME5.js';
|
|
2
|
+
import '../../chunk-LZ6C4YMX.js';
|
|
3
3
|
import '../../chunk-U7EZ2WSC.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-4YVQGPZ5.js';
|
|
5
5
|
import '../../chunk-YKD2MYLU.js';
|
|
6
6
|
import '../../chunk-5DE3DGVR.js';
|
|
7
7
|
import '../../chunk-7DN6JKP2.js';
|
|
8
|
-
import '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-EFCRBVHL.js';
|
|
9
|
+
import '../../chunk-SOAQP4BI.js';
|
|
10
|
+
import '../../chunk-3ZY6W7CL.js';
|
|
11
11
|
import '../../chunk-6UP2EDFN.js';
|
|
12
12
|
import '../../chunk-LCXQ4LVP.js';
|
|
13
13
|
import '../../chunk-VSX2G7LA.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { SubprocessCliHarness, extractText, extractCost, extractTokens } from '../../chunk-
|
|
1
|
+
import { SubprocessCliHarness, extractText, extractCost, extractTokens } from '../../chunk-LZ6C4YMX.js';
|
|
2
2
|
import { harnessSessionConfigHome, pruneSessionConfigDir, writeSessionConfigFile } from '../../chunk-NBAGV6L2.js';
|
|
3
|
-
import { resolveEnvHarnessSession, resolveRegistryBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, isStockCatalogEndpoint, entrySurface, entryBaseUrl, entryModelIds } from '../../chunk-
|
|
3
|
+
import { resolveEnvHarnessSession, resolveRegistryBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, isStockCatalogEndpoint, entrySurface, entryBaseUrl, entryModelIds } from '../../chunk-4YVQGPZ5.js';
|
|
4
4
|
import { HARNESS_BINARIES } from '../../chunk-YKD2MYLU.js';
|
|
5
5
|
import '../../chunk-5DE3DGVR.js';
|
|
6
6
|
import '../../chunk-7DN6JKP2.js';
|
|
7
|
-
import { getBridgeLogger, registryHarnessConfig } from '../../chunk-
|
|
8
|
-
import { BUILTIN_HARNESS_CATALOG, harnessInfoFor, providerCredentialEnvName } from '../../chunk-
|
|
9
|
-
import '../../chunk-
|
|
7
|
+
import { getBridgeLogger, registryHarnessConfig } from '../../chunk-EFCRBVHL.js';
|
|
8
|
+
import { BUILTIN_HARNESS_CATALOG, harnessInfoFor, providerCredentialEnvName } from '../../chunk-SOAQP4BI.js';
|
|
9
|
+
import '../../chunk-3ZY6W7CL.js';
|
|
10
10
|
import '../../chunk-6UP2EDFN.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-ZHI3YMGQ.js';
|
|
12
12
|
import '../../chunk-4GY63JU6.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-52HUF3DF.js';
|
|
14
14
|
import '../../chunk-5KRMNUL4.js';
|
|
15
15
|
import '../../chunk-C5HFK34M.js';
|
|
16
16
|
import '../../chunk-MWXYN6NY.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-GXW4B5SE.js';
|
|
18
18
|
import '../../chunk-L5VSIPQD.js';
|
|
19
19
|
import '../../chunk-VTETQCR6.js';
|
|
20
20
|
import '../../chunk-PMXTBWFD.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { checkToolInputSchema } from '../../chunk-3X7VTCPG.js';
|
|
2
|
-
import { materializeOmpProviders, isCredentialOmissionWarning, materializeOmpIdentityDir, registryModelEntries } from '../../chunk-
|
|
2
|
+
import { materializeOmpProviders, isCredentialOmissionWarning, materializeOmpIdentityDir, registryModelEntries } from '../../chunk-KNOABDPY.js';
|
|
3
3
|
import { dispatchCapability } from '../../chunk-HXST2IYJ.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-4YVQGPZ5.js';
|
|
5
5
|
import { harnessSpawnPath, resolveHarnessBinary, HARNESS_BINARIES } from '../../chunk-YKD2MYLU.js';
|
|
6
6
|
import { RUNNER_AGENT_ENV_KEYS, ReconfigureLedger, stripRunnerPrivateEnv, classifyGenericErrorMessage } from '../../chunk-5DE3DGVR.js';
|
|
7
7
|
import { wrapAgentCommand, resolveAgentExec } from '../../chunk-7DN6JKP2.js';
|
|
8
|
-
import { AgentHarness, getBridgeLogger, TOOL_ALLOWLIST_UNSUPPORTED, registryHarnessConfig } from '../../chunk-
|
|
9
|
-
import { BUILTIN_HARNESS_CATALOG, harnessInfoFor } from '../../chunk-
|
|
10
|
-
import '../../chunk-
|
|
8
|
+
import { AgentHarness, getBridgeLogger, TOOL_ALLOWLIST_UNSUPPORTED, registryHarnessConfig } from '../../chunk-EFCRBVHL.js';
|
|
9
|
+
import { BUILTIN_HARNESS_CATALOG, harnessInfoFor } from '../../chunk-SOAQP4BI.js';
|
|
10
|
+
import '../../chunk-3ZY6W7CL.js';
|
|
11
11
|
import '../../chunk-6UP2EDFN.js';
|
|
12
12
|
import { withActivityLabelJsonSchema } from '../../chunk-JPV4WE5L.js';
|
|
13
13
|
import '../../chunk-VSX2G7LA.js';
|