@skaile/workspaces 5.9.0 → 5.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +96 -0
- package/dist/{asset-feeds-XMKKUUK6.js → asset-feeds-ELEBTNUS.js} +18 -18
- package/dist/{asset-feeds-XMKKUUK6.js.map → asset-feeds-ELEBTNUS.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +8 -8
- package/dist/asset-manager/index.js +14 -14
- package/dist/asset-manager/installer.js +10 -10
- package/dist/asset-manager/renderers.js +9 -9
- package/dist/asset-manager/src/index.d.ts +300 -36
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/install-agent.d.ts +3 -1
- package/dist/asset-manager/src/install-agent.d.ts.map +1 -1
- package/dist/asset-manager/src/install-instances.d.ts +31 -1
- package/dist/asset-manager/src/install-instances.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts +20 -0
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/asset-manager/src/renderers.d.ts +4 -5
- package/dist/asset-manager/src/renderers.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +11 -11
- package/dist/bridge/drivers/codex.js +11 -11
- package/dist/bridge/drivers/continue.js +10 -10
- package/dist/bridge/drivers/echo.js +2 -2
- package/dist/bridge/drivers/gemini.js +7 -7
- package/dist/bridge/drivers/goose.js +10 -10
- package/dist/bridge/drivers/omp.js +3 -3
- package/dist/bridge/drivers/opencode.js +10 -10
- package/dist/bridge/drivers/qwen.js +7 -7
- package/dist/bridge/index.js +12 -12
- package/dist/{chunk-36AFURKZ.js → chunk-2FMEGSBN.js} +38 -11
- package/dist/chunk-2FMEGSBN.js.map +1 -0
- package/dist/{chunk-IMKSM5NL.js → chunk-2JMLDZLP.js} +1069 -182
- package/dist/chunk-2JMLDZLP.js.map +1 -0
- package/dist/{chunk-B6GIW55K.js → chunk-32XKCNCL.js} +6 -3
- package/dist/chunk-32XKCNCL.js.map +1 -0
- package/dist/{chunk-4MQS7CAF.js → chunk-3BEY4WK3.js} +371 -175
- package/dist/chunk-3BEY4WK3.js.map +1 -0
- package/dist/{chunk-FYXZRVID.js → chunk-3KHYGOEY.js} +3 -3
- package/dist/{chunk-FYXZRVID.js.map → chunk-3KHYGOEY.js.map} +1 -1
- package/dist/{chunk-CGT45WN7.js → chunk-3MKPZZRE.js} +3 -3
- package/dist/{chunk-CGT45WN7.js.map → chunk-3MKPZZRE.js.map} +1 -1
- package/dist/{chunk-QVNRCDTV.js → chunk-4OV5DSBB.js} +4 -4
- package/dist/chunk-4OV5DSBB.js.map +1 -0
- package/dist/{chunk-GKMZ6THE.js → chunk-4P3KTUZH.js} +33 -33
- package/dist/chunk-4P3KTUZH.js.map +1 -0
- package/dist/{chunk-ZTBAYUDY.js → chunk-5QI2JYJC.js} +2 -2
- package/dist/{chunk-ZTBAYUDY.js.map → chunk-5QI2JYJC.js.map} +1 -1
- package/dist/{chunk-EF7NPDDU.js → chunk-6HHE63CO.js} +31 -17
- package/dist/chunk-6HHE63CO.js.map +1 -0
- package/dist/{chunk-TTRYE6AC.js → chunk-7CR6HT2X.js} +8 -8
- package/dist/{chunk-TTRYE6AC.js.map → chunk-7CR6HT2X.js.map} +1 -1
- package/dist/{chunk-FZNG4V4J.js → chunk-7I5VRVDP.js} +3 -3
- package/dist/{chunk-FZNG4V4J.js.map → chunk-7I5VRVDP.js.map} +1 -1
- package/dist/{chunk-P67WJVP4.js → chunk-CLTHEKHR.js} +10 -9
- package/dist/chunk-CLTHEKHR.js.map +1 -0
- package/dist/{chunk-UMVKJM4Q.js → chunk-DALV4HHP.js} +18 -3
- package/dist/chunk-DALV4HHP.js.map +1 -0
- package/dist/{chunk-IR33D6EP.js → chunk-FRPBSUFH.js} +5 -5
- package/dist/{chunk-IR33D6EP.js.map → chunk-FRPBSUFH.js.map} +1 -1
- package/dist/{chunk-W5DWWE4Y.js → chunk-G54USEUP.js} +4 -4
- package/dist/{chunk-W5DWWE4Y.js.map → chunk-G54USEUP.js.map} +1 -1
- package/dist/{chunk-Y7QA2OLD.js → chunk-GEWAIQZ5.js} +24 -20
- package/dist/chunk-GEWAIQZ5.js.map +1 -0
- package/dist/{chunk-GB7WDMH2.js → chunk-GFCXNFTW.js} +4 -4
- package/dist/{chunk-GB7WDMH2.js.map → chunk-GFCXNFTW.js.map} +1 -1
- package/dist/{chunk-5NNNV76P.js → chunk-HJ5MCB3L.js} +2 -2
- package/dist/{chunk-5NNNV76P.js.map → chunk-HJ5MCB3L.js.map} +1 -1
- package/dist/{chunk-2LWYNQK7.js → chunk-HOHUEKES.js} +3 -3
- package/dist/{chunk-2LWYNQK7.js.map → chunk-HOHUEKES.js.map} +1 -1
- package/dist/{chunk-UM7RIAHO.js → chunk-IJHH4DSW.js} +8 -8
- package/dist/{chunk-UM7RIAHO.js.map → chunk-IJHH4DSW.js.map} +1 -1
- package/dist/{chunk-BTE2V4IW.js → chunk-IXWODEED.js} +40 -7
- package/dist/chunk-IXWODEED.js.map +1 -0
- package/dist/{chunk-K3CVFRVS.js → chunk-JFXQEVLF.js} +3 -3
- package/dist/{chunk-K3CVFRVS.js.map → chunk-JFXQEVLF.js.map} +1 -1
- package/dist/{chunk-JAKOMFC6.js → chunk-JZCSNEHK.js} +77 -31
- package/dist/chunk-JZCSNEHK.js.map +1 -0
- package/dist/{chunk-CKQEIY43.js → chunk-MVQ3Q2HM.js} +4 -4
- package/dist/{chunk-CKQEIY43.js.map → chunk-MVQ3Q2HM.js.map} +1 -1
- package/dist/{chunk-LAMCXQGA.js → chunk-NRDSGLCQ.js} +31 -24
- package/dist/chunk-NRDSGLCQ.js.map +1 -0
- package/dist/{chunk-V2DXZYBB.js → chunk-NWDSLXOX.js} +3 -3
- package/dist/{chunk-V2DXZYBB.js.map → chunk-NWDSLXOX.js.map} +1 -1
- package/dist/{chunk-MR5HBOUF.js → chunk-OBVJ7RPW.js} +3 -3
- package/dist/{chunk-MR5HBOUF.js.map → chunk-OBVJ7RPW.js.map} +1 -1
- package/dist/{chunk-J7U3PIOE.js → chunk-OOWHXOK6.js} +4 -4
- package/dist/{chunk-J7U3PIOE.js.map → chunk-OOWHXOK6.js.map} +1 -1
- package/dist/{chunk-YSHVQGUS.js → chunk-PE36IF2D.js} +119 -30
- package/dist/chunk-PE36IF2D.js.map +1 -0
- package/dist/{chunk-S53LOR7B.js → chunk-QG3HOJEK.js} +3 -3
- package/dist/{chunk-S53LOR7B.js.map → chunk-QG3HOJEK.js.map} +1 -1
- package/dist/{chunk-2FRUUDZY.js → chunk-SBFW3CJH.js} +5 -5
- package/dist/{chunk-2FRUUDZY.js.map → chunk-SBFW3CJH.js.map} +1 -1
- package/dist/{chunk-UAROCOXF.js → chunk-SX5U422E.js} +3 -3
- package/dist/{chunk-UAROCOXF.js.map → chunk-SX5U422E.js.map} +1 -1
- package/dist/{chunk-QVEKLSEH.js → chunk-TH4CTXHX.js} +6 -6
- package/dist/{chunk-QVEKLSEH.js.map → chunk-TH4CTXHX.js.map} +1 -1
- package/dist/{chunk-JZ5EHBPI.js → chunk-TRSQP3JD.js} +3 -3
- package/dist/{chunk-JZ5EHBPI.js.map → chunk-TRSQP3JD.js.map} +1 -1
- package/dist/{chunk-FVJK4QWM.js → chunk-V5TZH4GF.js} +4 -4
- package/dist/{chunk-FVJK4QWM.js.map → chunk-V5TZH4GF.js.map} +1 -1
- package/dist/{chunk-GXLQLPE5.js → chunk-V7PQZOBR.js} +5 -5
- package/dist/{chunk-GXLQLPE5.js.map → chunk-V7PQZOBR.js.map} +1 -1
- package/dist/{chunk-DNZYOKOJ.js → chunk-VLXDXRRX.js} +3 -3
- package/dist/{chunk-DNZYOKOJ.js.map → chunk-VLXDXRRX.js.map} +1 -1
- package/dist/{chunk-Y4N2NUZD.js → chunk-WBYDAL6X.js} +4 -4
- package/dist/{chunk-Y4N2NUZD.js.map → chunk-WBYDAL6X.js.map} +1 -1
- package/dist/{chunk-SCOT677Q.js → chunk-XCNK4UE5.js} +5 -5
- package/dist/{chunk-SCOT677Q.js.map → chunk-XCNK4UE5.js.map} +1 -1
- package/dist/{chunk-GTILM2CI.js → chunk-Y34MSWEZ.js} +43 -12
- package/dist/chunk-Y34MSWEZ.js.map +1 -0
- package/dist/{chunk-4PTSR4UU.js → chunk-Y63UQZ7P.js} +3 -3
- package/dist/{chunk-4PTSR4UU.js.map → chunk-Y63UQZ7P.js.map} +1 -1
- package/dist/chunk-YBQONMH2.js +465 -0
- package/dist/chunk-YBQONMH2.js.map +1 -0
- package/dist/{chunk-7AI3Q5AQ.js → chunk-Z2K6BGUR.js} +71 -24
- package/dist/chunk-Z2K6BGUR.js.map +1 -0
- package/dist/{chunk-UO7WPLDY.js → chunk-ZGQTS3Y4.js} +3 -3
- package/dist/{chunk-UO7WPLDY.js.map → chunk-ZGQTS3Y4.js.map} +1 -1
- package/dist/cli/index.js +910 -717
- 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 +8 -5
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/diff.d.ts +3 -1
- package/dist/cli/src/commands/diff.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-index.d.ts +34 -2
- package/dist/cli/src/commands/library-index.d.ts.map +1 -1
- package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
- package/dist/cli/src/commands/manage.d.ts +6 -5
- package/dist/cli/src/commands/manage.d.ts.map +1 -1
- package/dist/cli/src/commands/migrate-assets.d.ts.map +1 -1
- package/dist/cli/src/commands/outdated.d.ts +7 -5
- package/dist/cli/src/commands/outdated.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts +11 -8
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts +30 -1
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/commands/why.d.ts.map +1 -1
- package/dist/cli/src/skill-checks.d.ts +47 -2
- package/dist/cli/src/skill-checks.d.ts.map +1 -1
- package/dist/connectors/config.js +5 -5
- package/dist/connectors/index.js +15 -15
- package/dist/{connectors-C7UQ73BK.js → connectors-OXP2JBGI.js} +18 -18
- package/dist/{connectors-C7UQ73BK.js.map → connectors-OXP2JBGI.js.map} +1 -1
- package/dist/core/index.js +7 -7
- package/dist/core/logging.js +1 -1
- 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/index.d.ts +2 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/lock.d.ts +5 -2
- package/dist/core/src/lock.d.ts.map +1 -1
- package/dist/core/src/logging/sinks/sqlite-runtime.d.ts.map +1 -1
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +21 -5
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/publish-manifest.d.ts +19 -3
- package/dist/core/src/publish-manifest.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/requirements.d.ts +26 -0
- package/dist/core/src/requirements.d.ts.map +1 -0
- package/dist/core/src/walker.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +18 -0
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/src/workspace-yaml-editor.d.ts +4 -1
- package/dist/core/src/workspace-yaml-editor.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 +5 -5
- package/dist/discovery/src/builtin-providers.d.ts.map +1 -1
- package/dist/discovery/src/discover-manifest.d.ts.map +1 -1
- package/dist/discovery/src/discover.d.ts.map +1 -1
- package/dist/discovery/src/source-config.d.ts.map +1 -1
- package/dist/discovery/src/tree-entries.d.ts.map +1 -1
- package/dist/{ensure-sources-SRC2DVR5.js → ensure-sources-5ISVIA4T.js} +17 -17
- package/dist/{ensure-sources-SRC2DVR5.js.map → ensure-sources-5ISVIA4T.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +15 -15
- package/dist/factory-assets/connectors/deploy.js +15 -15
- package/dist/factory-assets/connectors/devserver.js +15 -15
- package/dist/factory-assets/connectors/flow/adapter.js +15 -15
- package/dist/factory-assets/connectors/flow/engine.js +8 -8
- package/dist/factory-assets/connectors/flow/run-flow.js +17 -17
- package/dist/factory-assets/connectors/flow.js +15 -15
- package/dist/factory-assets/connectors/git.js +15 -15
- package/dist/factory-assets/connectors/gmail.js +15 -15
- package/dist/factory-assets/connectors/googledrive.js +15 -15
- package/dist/factory-assets/connectors/local.js +15 -15
- package/dist/factory-assets/connectors/mattermost.js +15 -15
- package/dist/factory-assets/connectors/memory.js +15 -15
- package/dist/factory-assets/connectors/minio.js +15 -15
- package/dist/factory-assets/connectors/postgres.js +15 -15
- package/dist/factory-assets/connectors/s3.js +15 -15
- package/dist/factory-assets/connectors/sharepoint.js +15 -15
- package/dist/factory-assets/connectors/sqlite.js +15 -15
- package/dist/factory-assets/connectors/static-server.js +15 -15
- package/dist/factory-assets/connectors/tunnel.js +15 -15
- package/dist/factory-assets/connectors/webdav.js +15 -15
- package/dist/factory-assets/connectors/xstate-store.js +15 -15
- package/dist/factory-assets/connectors/xstate.js +15 -15
- package/dist/factory-assets/skills/authoring-skaile-manifests/SKILL.md +9 -3
- package/dist/{flows-CBYRSAGS.js → flows-HMSE76PO.js} +12 -12
- package/dist/{flows-CBYRSAGS.js.map → flows-HMSE76PO.js.map} +1 -1
- package/dist/{helpers-XAEKCZKT.js → helpers-X6URBGSF.js} +17 -17
- package/dist/{helpers-XAEKCZKT.js.map → helpers-X6URBGSF.js.map} +1 -1
- package/dist/library/index.js +11 -11
- package/dist/library/install.js +3 -3
- package/dist/library/src/index.d.ts +2 -1
- package/dist/library/src/index.d.ts.map +1 -1
- package/dist/library/src/local/library-dir.d.ts +42 -0
- package/dist/library/src/local/library-dir.d.ts.map +1 -0
- package/dist/library/src/local/library-manager.d.ts +10 -1
- package/dist/library/src/local/library-manager.d.ts.map +1 -1
- package/dist/library/src/local/library.d.ts +2 -2
- package/dist/library/src/local/library.d.ts.map +1 -1
- package/dist/library/src/local/local-catalog-source.d.ts +9 -0
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/manifest-writer.d.ts +55 -4
- package/dist/library/src/manifest-writer.d.ts.map +1 -1
- package/dist/library/src/remote/cache.d.ts +18 -1
- package/dist/library/src/remote/cache.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/library/src/remote/rest-catalog-source.d.ts.map +1 -1
- package/dist/library/src/sync/git-driver.d.ts +5 -6
- package/dist/library/src/sync/git-driver.d.ts.map +1 -1
- package/dist/{library-publish-VJSWMOLH.js → library-publish-OS3JDW4S.js} +123 -41
- package/dist/library-publish-OS3JDW4S.js.map +1 -0
- package/dist/open-library-4QSUORI6.js +40 -0
- package/dist/{open-library-DB2PNL2X.js.map → open-library-4QSUORI6.js.map} +1 -1
- package/dist/open-registry-VCKS3MP5.js +32 -0
- package/dist/{open-registry-ZUZJ7MS7.js.map → open-registry-VCKS3MP5.js.map} +1 -1
- package/dist/paths-BVO56A25.js +22 -0
- package/dist/{paths-FQ64OLJG.js.map → paths-BVO56A25.js.map} +1 -1
- package/dist/{plugin-store-MPAMD5OT.js → plugin-store-X7GPWGBG.js} +9 -9
- package/dist/{plugin-store-MPAMD5OT.js.map → plugin-store-X7GPWGBG.js.map} +1 -1
- package/dist/{project-I6NX3NFB.js → project-PAXP46RD.js} +20 -20
- package/dist/{project-I6NX3NFB.js.map → project-PAXP46RD.js.map} +1 -1
- package/dist/resolver/index.js +8 -8
- package/dist/runner/index.js +29 -29
- package/dist/runner/src/agent.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +14 -14
- package/dist/sdk/bridge.js +12 -12
- package/dist/sdk/core.js +7 -7
- package/dist/sdk/flow.js +8 -8
- package/dist/sdk/index.js +29 -29
- package/dist/sdk/resolver.js +8 -8
- package/dist/sdk/runner.js +29 -29
- package/dist/{setup-B7JUHYJW.js → setup-BV55VHWC.js} +22 -22
- package/dist/{setup-B7JUHYJW.js.map → setup-BV55VHWC.js.map} +1 -1
- package/dist/{skills-TVO26Y4V.js → skills-EDFUCJPX.js} +13 -13
- package/dist/{skills-TVO26Y4V.js.map → skills-EDFUCJPX.js.map} +1 -1
- package/dist/source-E4VAT5RZ.js +41 -0
- package/dist/{source-PJBMDCKX.js.map → source-E4VAT5RZ.js.map} +1 -1
- package/dist/{source-manifest-publish-LLJWXGID.js → source-manifest-publish-CLEE6TNH.js} +23 -23
- package/dist/{source-manifest-publish-LLJWXGID.js.map → source-manifest-publish-CLEE6TNH.js.map} +1 -1
- package/dist/tui/index.js +29 -29
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/manifests/agent.d.ts +2 -0
- package/dist/types/src/manifests/agent.d.ts.map +1 -1
- package/dist/types/src/manifests/contract.d.ts +2 -0
- package/dist/types/src/manifests/contract.d.ts.map +1 -1
- package/dist/types/src/manifests/index.d.ts +3 -3
- package/dist/types/src/manifests/index.d.ts.map +1 -1
- package/dist/types/src/manifests/prompt.d.ts +2 -0
- package/dist/types/src/manifests/prompt.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +22 -22
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-36AFURKZ.js.map +0 -1
- package/dist/chunk-4MQS7CAF.js.map +0 -1
- package/dist/chunk-7AI3Q5AQ.js.map +0 -1
- package/dist/chunk-B6GIW55K.js.map +0 -1
- package/dist/chunk-BTE2V4IW.js.map +0 -1
- package/dist/chunk-EF7NPDDU.js.map +0 -1
- package/dist/chunk-GKMZ6THE.js.map +0 -1
- package/dist/chunk-GTILM2CI.js.map +0 -1
- package/dist/chunk-IMKSM5NL.js.map +0 -1
- package/dist/chunk-JAKOMFC6.js.map +0 -1
- package/dist/chunk-LAMCXQGA.js.map +0 -1
- package/dist/chunk-P67WJVP4.js.map +0 -1
- package/dist/chunk-QVNRCDTV.js.map +0 -1
- package/dist/chunk-UMVKJM4Q.js.map +0 -1
- package/dist/chunk-Y7QA2OLD.js.map +0 -1
- package/dist/chunk-YSHVQGUS.js.map +0 -1
- package/dist/chunk-ZAOGFXDO.js +0 -112
- package/dist/chunk-ZAOGFXDO.js.map +0 -1
- package/dist/library-publish-VJSWMOLH.js.map +0 -1
- package/dist/open-library-DB2PNL2X.js +0 -40
- package/dist/open-registry-ZUZJ7MS7.js +0 -32
- package/dist/paths-FQ64OLJG.js +0 -22
- package/dist/source-PJBMDCKX.js +0 -41
|
@@ -27,8 +27,10 @@ export interface InstallAgentInstancesResult {
|
|
|
27
27
|
instances: InstalledAgentInstance[];
|
|
28
28
|
/** Workspace-relative paths removed because their instance (or sub-agent) is gone. */
|
|
29
29
|
removed: string[];
|
|
30
|
-
/**
|
|
30
|
+
/** Non-fatal renderer notes. */
|
|
31
31
|
warnings: string[];
|
|
32
|
+
/** Instances that could not be rendered because their `ref` does not resolve to an agent. */
|
|
33
|
+
errors: string[];
|
|
32
34
|
}
|
|
33
35
|
/** Options for {@link installAgentInstances}. */
|
|
34
36
|
export interface InstallAgentInstancesOptions {
|
|
@@ -40,6 +42,34 @@ export interface InstallAgentInstancesOptions {
|
|
|
40
42
|
wsConfig?: SkWorkspaceConfig;
|
|
41
43
|
log?: (msg: string) => void;
|
|
42
44
|
}
|
|
45
|
+
/** One agent instance of `skaile.yaml` whose `ref` does not bind to an agent. */
|
|
46
|
+
export interface UnboundAgentInstance {
|
|
47
|
+
/** Instance id (`default` for the `agent:` block). */
|
|
48
|
+
id: string;
|
|
49
|
+
/** The instance's `ref`. */
|
|
50
|
+
ref: string;
|
|
51
|
+
/** Why it does not bind, as `install` prints it. */
|
|
52
|
+
error: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The instances of `skaile.yaml` that {@link installAgentInstances} cannot render because their
|
|
56
|
+
* `ref` binds to no agent: `skaile check` fails on them, and `skaile install` too. A harness
|
|
57
|
+
* without a native agent format renders nothing, so it has none. An unreadable `skaile.yaml`
|
|
58
|
+
* has none either.
|
|
59
|
+
*/
|
|
60
|
+
export declare function unboundAgentInstances(projectDir: string, driverTarget: DriverTarget): UnboundAgentInstance[];
|
|
61
|
+
/**
|
|
62
|
+
* Remove the native agent files an earlier install rendered for the instances `ids`, as far as
|
|
63
|
+
* no other instance claims them, and drop those instances from the ledger. Only paths the ledger
|
|
64
|
+
* lists and that sit inside the harness agent dir are removed.
|
|
65
|
+
*
|
|
66
|
+
* @returns Workspace-relative paths removed.
|
|
67
|
+
*/
|
|
68
|
+
export declare function removeAgentInstanceRenderings(opts: {
|
|
69
|
+
projectDir: string;
|
|
70
|
+
driverTarget: DriverTarget;
|
|
71
|
+
ids: readonly string[];
|
|
72
|
+
}): string[];
|
|
43
73
|
/**
|
|
44
74
|
* Render every agent instance of the workspace for `driverTarget`, then remove
|
|
45
75
|
* the renderings this step wrote earlier that no instance claims any more.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install-instances.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/install-instances.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAW/E,wFAAwF;AACxF,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,gDAAgD;AAChD,MAAM,WAAW,2BAA2B;IAC1C,uCAAuC;IACvC,SAAS,EAAE,sBAAsB,EAAE,CAAC;IACpC,sFAAsF;IACtF,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"install-instances.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/install-instances.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAW/E,wFAAwF;AACxF,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,gDAAgD;AAChD,MAAM,WAAW,2BAA2B;IAC1C,uCAAuC;IACvC,SAAS,EAAE,sBAAsB,EAAE,CAAC;IACpC,sFAAsF;IACtF,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gCAAgC;IAChC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,6FAA6F;IAC7F,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,iDAAiD;AACjD,MAAM,WAAW,4BAA4B;IAC3C,kDAAkD;IAClD,UAAU,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,YAAY,EAAE,YAAY,CAAC;IAC3B,oEAAoE;IACpE,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7B;AA6DD,iFAAiF;AACjF,MAAM,WAAW,oBAAoB;IACnC,sDAAsD;IACtD,EAAE,EAAE,MAAM,CAAC;IACX,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,YAAY,GACzB,oBAAoB,EAAE,CAcxB;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE;IAClD,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC;IAC3B,GAAG,EAAE,SAAS,MAAM,EAAE,CAAC;CACxB,GAAG,MAAM,EAAE,CAiCX;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,4BAA4B,GACjC,2BAA2B,CAqE7B"}
|
|
@@ -53,6 +53,12 @@ export interface DeployOptions {
|
|
|
53
53
|
* for store/factory sources (no stable local path) it is a no-op (still copy).
|
|
54
54
|
*/
|
|
55
55
|
link?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Called once per symlink inside an asset's own directory that a copy deploy
|
|
58
|
+
* leaves out (symlinks are not part of an asset), with the asset entry and the
|
|
59
|
+
* path of the link relative to the asset directory's parent (`<dir>/<rel>`).
|
|
60
|
+
*/
|
|
61
|
+
onSkippedSymlink?: (entry: DeployableEntry, path: string) => void;
|
|
56
62
|
}
|
|
57
63
|
/**
|
|
58
64
|
* Deploy a single asset to the framework-specific directory.
|
|
@@ -93,6 +99,20 @@ export declare function deployAsset(entry: DeployableEntry, repositories: Record
|
|
|
93
99
|
* @docLink packages/asset-manager/api-reference#installer
|
|
94
100
|
*/
|
|
95
101
|
export declare function deployAll(resolved: DeployableEntry[], repositories: Record<string, SourceDeclaration>, patches: Record<string, string>, opts: DeployOptions, log?: Log): string[];
|
|
102
|
+
/**
|
|
103
|
+
* Unified diff from a deployed agent to its source, `-` lines in the deployed copy only and `+`
|
|
104
|
+
* lines in the source only. An agent is a rendering, not a copy, so the source is rendered the way
|
|
105
|
+
* {@link deployAsset} renders it (same renderer, same workspace context) into a scratch directory
|
|
106
|
+
* and that is compared with what the harness holds: `<name>.md` for claude-code, `<name>.toml`
|
|
107
|
+
* plus the `skaile-agents/<name>.md` identity for codex, the `<name>/` directory for omp.
|
|
108
|
+
*
|
|
109
|
+
* @param entry - The agent's catalog entry (`source` is its `agent.yaml` / `AGENT.md`).
|
|
110
|
+
* @param opts - Deployment target options (must match the options used at install time).
|
|
111
|
+
* @returns `null` when none of the agent's rendered files is deployed, else the diff text
|
|
112
|
+
* (`""` when the deployed agent matches its source).
|
|
113
|
+
* @throws When `diff(1)` itself fails (exit status other than 0/1).
|
|
114
|
+
*/
|
|
115
|
+
export declare function diffDeployedAgent(entry: DeployableEntry, opts: DeployOptions): string | null;
|
|
96
116
|
/**
|
|
97
117
|
* Remove a deployed asset from the framework directory.
|
|
98
118
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/installer.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/installer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkBH,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,iBAAiB,EAClB,MAAM,yBAAyB,CAAC;AA4BjC,OAAO,KAAK,EAAsB,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAGzF,OAAO,EAAsB,KAAK,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAE9D,YAAY,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAI1C;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,YAAY,GAAG,MAAM,CAU7D;AAYD;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,kBAAkB,EAC5B,IAAI,EAAE,MAAM,GACX,WAAW,GAAG,SAAS,CAEzB;AAaD;;;GAGG;AACH,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD;;;;;OAKG;IACH,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3B;AAgFD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,wFAAwF;IACxF,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,+GAA+G;IAC/G,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,wFAAwF;IACxF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACnE;AAuCD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CACzB,KAAK,EAAE,eAAe,EACtB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAC/C,IAAI,EAAE,aAAa,EACnB,GAAG,GAAE,GAAU,GACd,OAAO,CAET;AAoFD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,SAAS,CACvB,QAAQ,EAAE,eAAe,EAAE,EAC3B,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAC/C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,IAAI,EAAE,aAAa,EACnB,GAAG,GAAE,GAAU,GACd,MAAM,EAAE,CAmGV;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAgD5F;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,OAAO,CAgCpF;AA4DD,kEAAkE;AAClE,eAAO,MAAM,cAAc,qEAAsE,CAAC;AAElG,0CAA0C;AAC1C,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,IAAI,GAAE,eAAoB,GACzB;IAAE,EAAE,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAuD/B"}
|
|
@@ -56,8 +56,10 @@ export interface AgentRenderInput {
|
|
|
56
56
|
* @docLink packages/asset-manager/api-reference#renderers
|
|
57
57
|
*/
|
|
58
58
|
export interface AgentRenderResult {
|
|
59
|
-
/** Paths to files/dirs
|
|
59
|
+
/** Paths to files/dirs rendered, relative to `workspaceRoot`. */
|
|
60
60
|
created: string[];
|
|
61
|
+
/** The subset of `created` whose bytes differ from what was on disk before (new or edited); an identical rewrite is skipped. */
|
|
62
|
+
changed: string[];
|
|
61
63
|
/** Non-fatal warnings (e.g. experimental feature notices). */
|
|
62
64
|
warnings: string[];
|
|
63
65
|
}
|
|
@@ -122,10 +124,7 @@ export type Log = (msg: string) => void;
|
|
|
122
124
|
* @returns Object with `created` file paths and `warnings` list.
|
|
123
125
|
* @docLink packages/asset-manager/api-reference#renderers
|
|
124
126
|
*/
|
|
125
|
-
export declare function renderAgentToFramework(input: AgentRenderInput, driverTarget: string, log?: Log):
|
|
126
|
-
created: string[];
|
|
127
|
-
warnings: string[];
|
|
128
|
-
};
|
|
127
|
+
export declare function renderAgentToFramework(input: AgentRenderInput, driverTarget: string, log?: Log): AgentRenderResult;
|
|
129
128
|
/**
|
|
130
129
|
* Registry mapping framework IDs to their {@link AgentRenderer} functions.
|
|
131
130
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/renderers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAKH,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,aAAa,EAEnB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI9D,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,QAAQ,EAAE,aAAa,CAAC;IACxB,qDAAqD;IACrD,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,sDAAsD;IACtD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,uDAAuD;IACvD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAC;IAClB,iGAAiG;IACjG,cAAc,EAAE,MAAM,CAAC;IACvB,2CAA2C;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,mGAAmG;IACnG,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,kGAAkG;IAClG,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,gGAAgG;IAChG,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,wGAAwG;IACxG,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,4EAA4E;IAC5E,SAAS,EAAE,cAAc,CAAC;IAC1B,wFAAwF;IACxF,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,4EAA4E;IAC5E,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,
|
|
1
|
+
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../../asset-manager/src/renderers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAKH,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,aAAa,EAEnB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI9D,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,QAAQ,EAAE,aAAa,CAAC;IACxB,qDAAqD;IACrD,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,sDAAsD;IACtD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,uDAAuD;IACvD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAC;IAClB,iGAAiG;IACjG,cAAc,EAAE,MAAM,CAAC;IACvB,2CAA2C;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,mGAAmG;IACnG,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,kGAAkG;IAClG,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,gGAAgG;IAChG,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,wGAAwG;IACxG,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,4EAA4E;IAC5E,SAAS,EAAE,cAAc,CAAC;IAC1B,wFAAwF;IACxF,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,4EAA4E;IAC5E,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,iEAAiE;IACjE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gIAAgI;IAChI,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,8DAA8D;IAC9D,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,iBAAiB,CAAC;AAkF3E;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,EAAE,aA6EhC,CAAC;AA2BF,sGAAsG;AACtG,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,EAAE,aAkD3B,CAAC;AAiBF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,EAAE,aAoEzB,CAAC;AAIF,MAAM,MAAM,GAAG,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;AAGxC;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,gBAAgB,EACvB,YAAY,EAAE,MAAM,EACpB,GAAG,GAAE,GAAU,GACd,iBAAiB,CAanB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAIzD,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAExE"}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { formatDroppedToolsNotice, filterInProcessMcpServerTools, checkToolPropertyKeys } from '../../chunk-X5O56UO4.js';
|
|
2
2
|
import { freshBudget, isFirstAttempt, spend, isSpent, decide, isAvailable } from '../../chunk-IZCR27MU.js';
|
|
3
3
|
import { AskSlots } from '../../chunk-EPBKISS5.js';
|
|
4
|
-
import { scrubPoisonedTranscript, transcriptStoreForRuntime, resolveClaudeConfigDir, claudeEndpointMode, buildClaudeEndpointEnv } from '../../chunk-
|
|
4
|
+
import { scrubPoisonedTranscript, transcriptStoreForRuntime, resolveClaudeConfigDir, claudeEndpointMode, buildClaudeEndpointEnv } from '../../chunk-QG3HOJEK.js';
|
|
5
5
|
import { dispatchCapability } from '../../chunk-2H73V6XR.js';
|
|
6
|
-
import { fetchProviderModels } from '../../chunk-
|
|
6
|
+
import { fetchProviderModels } from '../../chunk-OOWHXOK6.js';
|
|
7
7
|
import { ReconfigureLedger, AuthError, stripRunnerPrivateEnv, classifyClaudeSdkError, reclassifyAuthAsAccountUnavailable, AccountUnavailableError, isLongContextEntitlementRejection, LONG_CONTEXT_CREDITS_API_ERROR } from '../../chunk-B4X2N7JQ.js';
|
|
8
8
|
import { agentExecRequested, wrapAgentCommand, resolveAgentExec } from '../../chunk-YROR332M.js';
|
|
9
|
-
import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, entryCredentialValue, registryDriverConfig } from '../../chunk-
|
|
9
|
+
import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, entryCredentialValue, registryDriverConfig } from '../../chunk-HJ5MCB3L.js';
|
|
10
10
|
import '../../chunk-6E6PKKAD.js';
|
|
11
11
|
import { withActivityLabelShape } from '../../chunk-F4NJDSR7.js';
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-32XKCNCL.js';
|
|
13
|
+
import '../../chunk-2FMEGSBN.js';
|
|
14
14
|
import '../../chunk-4GY63JU6.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-GFCXNFTW.js';
|
|
16
16
|
import '../../chunk-PMECEZK3.js';
|
|
17
17
|
import '../../chunk-5BEFNLOR.js';
|
|
18
18
|
import '../../chunk-A2ULN3KX.js';
|
|
19
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-JZCSNEHK.js';
|
|
20
20
|
import '../../chunk-L5VSIPQD.js';
|
|
21
21
|
import '../../chunk-CPSIPIX7.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-IXWODEED.js';
|
|
23
23
|
import '../../chunk-RVRB27AN.js';
|
|
24
|
-
import '../../chunk-
|
|
25
|
-
import '../../chunk-
|
|
24
|
+
import '../../chunk-Y34MSWEZ.js';
|
|
25
|
+
import '../../chunk-4OV5DSBB.js';
|
|
26
26
|
import '../../chunk-ICSCSM5D.js';
|
|
27
|
-
import '../../chunk-
|
|
27
|
+
import '../../chunk-DALV4HHP.js';
|
|
28
28
|
import { mergeRegistries, parseModelRef, isEntryEnabled, resolveEntryBaseUrl } from '../../chunk-MJHSLODD.js';
|
|
29
29
|
import '../../chunk-C3CAXQMA.js';
|
|
30
30
|
import { createLogger } from '../../chunk-BOFL7GIF.js';
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { CodexAppServerClient } from '../../chunk-K4O6L3WH.js';
|
|
2
2
|
import { freshBudget, decide, spend } from '../../chunk-IZCR27MU.js';
|
|
3
|
-
import { managedCodexRegistryViolation, parseCodexCredential, prepareNativePolicy, prepareCodexInstance, codexInstanceEnvironment, isNativeApprovalPolicyActive, activateNativeApprovalPolicy, parseCodexRefreshResult, allowsNativeApprovalPath } from '../../chunk-
|
|
3
|
+
import { managedCodexRegistryViolation, parseCodexCredential, prepareNativePolicy, prepareCodexInstance, codexInstanceEnvironment, isNativeApprovalPolicyActive, activateNativeApprovalPolicy, parseCodexRefreshResult, allowsNativeApprovalPath } from '../../chunk-NWDSLXOX.js';
|
|
4
4
|
import { CodexNativeStateUnavailable } from '../../chunk-LOO5CB5M.js';
|
|
5
|
-
import { fetchProviderModels } from '../../chunk-
|
|
5
|
+
import { fetchProviderModels } from '../../chunk-OOWHXOK6.js';
|
|
6
6
|
import { ReconfigureLedger, stripRunnerPrivateEnv, classifyGenericErrorMessage } from '../../chunk-B4X2N7JQ.js';
|
|
7
7
|
import '../../chunk-YROR332M.js';
|
|
8
|
-
import { BUILTIN_DRIVER_CATALOG, AgentDriver, TOOL_ALLOWLIST_UNSUPPORTED, getBridgeLogger, registryCredentialEnv, entryCredentialValue, registryDriverConfig, getProviderPreset, providerCredentialEnvName } from '../../chunk-
|
|
8
|
+
import { BUILTIN_DRIVER_CATALOG, AgentDriver, TOOL_ALLOWLIST_UNSUPPORTED, getBridgeLogger, registryCredentialEnv, entryCredentialValue, registryDriverConfig, getProviderPreset, providerCredentialEnvName } from '../../chunk-HJ5MCB3L.js';
|
|
9
9
|
import '../../chunk-6E6PKKAD.js';
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-32XKCNCL.js';
|
|
11
|
+
import '../../chunk-2FMEGSBN.js';
|
|
12
12
|
import '../../chunk-4GY63JU6.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-GFCXNFTW.js';
|
|
14
14
|
import '../../chunk-PMECEZK3.js';
|
|
15
15
|
import '../../chunk-5BEFNLOR.js';
|
|
16
16
|
import '../../chunk-A2ULN3KX.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-JZCSNEHK.js';
|
|
18
18
|
import { globalSkaileDir } from '../../chunk-L5VSIPQD.js';
|
|
19
19
|
import '../../chunk-CPSIPIX7.js';
|
|
20
|
-
import '../../chunk-
|
|
20
|
+
import '../../chunk-IXWODEED.js';
|
|
21
21
|
import '../../chunk-RVRB27AN.js';
|
|
22
|
-
import '../../chunk-
|
|
23
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-Y34MSWEZ.js';
|
|
23
|
+
import '../../chunk-4OV5DSBB.js';
|
|
24
24
|
import '../../chunk-ICSCSM5D.js';
|
|
25
|
-
import '../../chunk-
|
|
25
|
+
import '../../chunk-DALV4HHP.js';
|
|
26
26
|
import { resolveEntryBaseUrl, registryEntries, parseModelRef, isEntryEnabled } from '../../chunk-MJHSLODD.js';
|
|
27
27
|
import '../../chunk-C3CAXQMA.js';
|
|
28
28
|
import '../../chunk-BOFL7GIF.js';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { driverSessionConfigHome, removeSessionConfigFile, writeSessionConfigFile } from '../../chunk-EAZECHPM.js';
|
|
2
|
-
import { SubprocessCliDriver, extractText, extractCost, extractTokens } from '../../chunk-
|
|
3
|
-
import { resolveEnvDriverSession, continueRoleBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, entrySurface, harnessProviderName, entryBaseUrl, versionedAnthropicBaseUrl } from '../../chunk-
|
|
2
|
+
import { SubprocessCliDriver, extractText, extractCost, extractTokens } from '../../chunk-3KHYGOEY.js';
|
|
3
|
+
import { resolveEnvDriverSession, continueRoleBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, entrySurface, harnessProviderName, entryBaseUrl, versionedAnthropicBaseUrl } from '../../chunk-ZGQTS3Y4.js';
|
|
4
4
|
import '../../chunk-B4X2N7JQ.js';
|
|
5
5
|
import '../../chunk-YROR332M.js';
|
|
6
|
-
import { BUILTIN_DRIVER_CATALOG, getBridgeLogger, entryCredentialValue, registryDriverConfig, providerCredentialEnvName } from '../../chunk-
|
|
6
|
+
import { BUILTIN_DRIVER_CATALOG, getBridgeLogger, entryCredentialValue, registryDriverConfig, providerCredentialEnvName } from '../../chunk-HJ5MCB3L.js';
|
|
7
7
|
import '../../chunk-6E6PKKAD.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-2FMEGSBN.js';
|
|
9
9
|
import '../../chunk-4GY63JU6.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-GFCXNFTW.js';
|
|
11
11
|
import '../../chunk-PMECEZK3.js';
|
|
12
12
|
import '../../chunk-5BEFNLOR.js';
|
|
13
13
|
import '../../chunk-A2ULN3KX.js';
|
|
14
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-JZCSNEHK.js';
|
|
15
15
|
import '../../chunk-L5VSIPQD.js';
|
|
16
16
|
import '../../chunk-CPSIPIX7.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-IXWODEED.js';
|
|
18
18
|
import '../../chunk-RVRB27AN.js';
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-Y34MSWEZ.js';
|
|
20
|
+
import '../../chunk-4OV5DSBB.js';
|
|
21
21
|
import '../../chunk-ICSCSM5D.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-DALV4HHP.js';
|
|
23
23
|
import { parseModelRef } from '../../chunk-MJHSLODD.js';
|
|
24
24
|
import '../../chunk-C3CAXQMA.js';
|
|
25
25
|
import '../../chunk-BOFL7GIF.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { dispatchCapability } from '../../chunk-2H73V6XR.js';
|
|
2
|
-
import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, registryDriverConfig } from '../../chunk-
|
|
2
|
+
import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, registryDriverConfig } from '../../chunk-HJ5MCB3L.js';
|
|
3
3
|
import '../../chunk-6E6PKKAD.js';
|
|
4
4
|
import '../../chunk-F4NJDSR7.js';
|
|
5
5
|
import '../../chunk-ICSCSM5D.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-DALV4HHP.js';
|
|
7
7
|
import '../../chunk-MJHSLODD.js';
|
|
8
8
|
import '../../chunk-C3CAXQMA.js';
|
|
9
9
|
import '../../chunk-BOFL7GIF.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { GeminiDriver, GeminiFamilyDriver, geminiDriverTarget } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
1
|
+
export { GeminiDriver, GeminiFamilyDriver, geminiDriverTarget } from '../../chunk-TH4CTXHX.js';
|
|
2
|
+
import '../../chunk-3KHYGOEY.js';
|
|
3
|
+
import '../../chunk-ZGQTS3Y4.js';
|
|
4
|
+
import '../../chunk-OOWHXOK6.js';
|
|
5
5
|
import '../../chunk-B4X2N7JQ.js';
|
|
6
6
|
import '../../chunk-YROR332M.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-HJ5MCB3L.js';
|
|
8
8
|
import '../../chunk-6E6PKKAD.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-32XKCNCL.js';
|
|
10
10
|
import '../../chunk-ICSCSM5D.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-DALV4HHP.js';
|
|
12
12
|
import '../../chunk-MJHSLODD.js';
|
|
13
13
|
import '../../chunk-C3CAXQMA.js';
|
|
14
14
|
import '../../chunk-BOFL7GIF.js';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { driverSessionConfigHome, pruneSessionConfigDir, writeSessionConfigFile } from '../../chunk-EAZECHPM.js';
|
|
2
|
-
import { SubprocessCliDriver, extractText, extractCost, extractTokens } from '../../chunk-
|
|
3
|
-
import { resolveEnvDriverSession, resolveRegistryBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, isStockCatalogEndpoint, entrySurface, entryBaseUrl, entryModelIds } from '../../chunk-
|
|
2
|
+
import { SubprocessCliDriver, extractText, extractCost, extractTokens } from '../../chunk-3KHYGOEY.js';
|
|
3
|
+
import { resolveEnvDriverSession, resolveRegistryBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, isStockCatalogEndpoint, entrySurface, entryBaseUrl, entryModelIds } from '../../chunk-ZGQTS3Y4.js';
|
|
4
4
|
import '../../chunk-B4X2N7JQ.js';
|
|
5
5
|
import '../../chunk-YROR332M.js';
|
|
6
|
-
import { BUILTIN_DRIVER_CATALOG, getBridgeLogger, registryDriverConfig, providerCredentialEnvName } from '../../chunk-
|
|
6
|
+
import { BUILTIN_DRIVER_CATALOG, getBridgeLogger, registryDriverConfig, providerCredentialEnvName } from '../../chunk-HJ5MCB3L.js';
|
|
7
7
|
import '../../chunk-6E6PKKAD.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-2FMEGSBN.js';
|
|
9
9
|
import '../../chunk-4GY63JU6.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-GFCXNFTW.js';
|
|
11
11
|
import '../../chunk-PMECEZK3.js';
|
|
12
12
|
import '../../chunk-5BEFNLOR.js';
|
|
13
13
|
import '../../chunk-A2ULN3KX.js';
|
|
14
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-JZCSNEHK.js';
|
|
15
15
|
import '../../chunk-L5VSIPQD.js';
|
|
16
16
|
import '../../chunk-CPSIPIX7.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-IXWODEED.js';
|
|
18
18
|
import '../../chunk-RVRB27AN.js';
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-Y34MSWEZ.js';
|
|
20
|
+
import '../../chunk-4OV5DSBB.js';
|
|
21
21
|
import '../../chunk-ICSCSM5D.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-DALV4HHP.js';
|
|
23
23
|
import '../../chunk-MJHSLODD.js';
|
|
24
24
|
import '../../chunk-C3CAXQMA.js';
|
|
25
25
|
import '../../chunk-BOFL7GIF.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { checkToolInputSchema } from '../../chunk-X5O56UO4.js';
|
|
2
|
-
import { entrySurface } from '../../chunk-
|
|
2
|
+
import { entrySurface } from '../../chunk-ZGQTS3Y4.js';
|
|
3
3
|
import { dispatchCapability } from '../../chunk-2H73V6XR.js';
|
|
4
4
|
import { ReconfigureLedger, stripRunnerPrivateEnv, classifyGenericErrorMessage } from '../../chunk-B4X2N7JQ.js';
|
|
5
5
|
import { wrapAgentCommand, resolveAgentExec } from '../../chunk-YROR332M.js';
|
|
6
|
-
import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, TOOL_ALLOWLIST_UNSUPPORTED, registryDriverConfig, entryCredentialValue, providerCredentialEnvName } from '../../chunk-
|
|
6
|
+
import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, TOOL_ALLOWLIST_UNSUPPORTED, registryDriverConfig, entryCredentialValue, providerCredentialEnvName } from '../../chunk-HJ5MCB3L.js';
|
|
7
7
|
import '../../chunk-6E6PKKAD.js';
|
|
8
8
|
import { withActivityLabelJsonSchema } from '../../chunk-F4NJDSR7.js';
|
|
9
9
|
import '../../chunk-ICSCSM5D.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-DALV4HHP.js';
|
|
11
11
|
import { AI_PROVIDER_SURFACES, registryEntries, isEntryEnabled, parseModelRef, normalizeEntryBaseUrl, resolveEntryBaseUrl } from '../../chunk-MJHSLODD.js';
|
|
12
12
|
import '../../chunk-C3CAXQMA.js';
|
|
13
13
|
import '../../chunk-BOFL7GIF.js';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { driverSessionConfigHome, removeSessionConfigFile, writeSessionConfigFile } from '../../chunk-EAZECHPM.js';
|
|
2
|
-
import { SubprocessCliDriver, extractText } from '../../chunk-
|
|
3
|
-
import { resolveEnvDriverSession, resolveRegistryBinding, harnessModelSelector, credentialsForEveryProvider, registryModelEntries, selectableEntries, isStockCatalogEndpoint, entrySurface, entryBaseUrl, entryModelIds, versionedAnthropicBaseUrl } from '../../chunk-
|
|
2
|
+
import { SubprocessCliDriver, extractText } from '../../chunk-3KHYGOEY.js';
|
|
3
|
+
import { resolveEnvDriverSession, resolveRegistryBinding, harnessModelSelector, credentialsForEveryProvider, registryModelEntries, selectableEntries, isStockCatalogEndpoint, entrySurface, entryBaseUrl, entryModelIds, versionedAnthropicBaseUrl } from '../../chunk-ZGQTS3Y4.js';
|
|
4
4
|
import '../../chunk-B4X2N7JQ.js';
|
|
5
5
|
import '../../chunk-YROR332M.js';
|
|
6
|
-
import { BUILTIN_DRIVER_CATALOG, getBridgeLogger, registryDriverConfig, providerCredentialEnvName } from '../../chunk-
|
|
6
|
+
import { BUILTIN_DRIVER_CATALOG, getBridgeLogger, registryDriverConfig, providerCredentialEnvName } from '../../chunk-HJ5MCB3L.js';
|
|
7
7
|
import '../../chunk-6E6PKKAD.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-2FMEGSBN.js';
|
|
9
9
|
import '../../chunk-4GY63JU6.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-GFCXNFTW.js';
|
|
11
11
|
import '../../chunk-PMECEZK3.js';
|
|
12
12
|
import '../../chunk-5BEFNLOR.js';
|
|
13
13
|
import '../../chunk-A2ULN3KX.js';
|
|
14
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-JZCSNEHK.js';
|
|
15
15
|
import '../../chunk-L5VSIPQD.js';
|
|
16
16
|
import '../../chunk-CPSIPIX7.js';
|
|
17
|
-
import '../../chunk-
|
|
17
|
+
import '../../chunk-IXWODEED.js';
|
|
18
18
|
import '../../chunk-RVRB27AN.js';
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-Y34MSWEZ.js';
|
|
20
|
+
import '../../chunk-4OV5DSBB.js';
|
|
21
21
|
import '../../chunk-ICSCSM5D.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-DALV4HHP.js';
|
|
23
23
|
import '../../chunk-MJHSLODD.js';
|
|
24
24
|
import '../../chunk-C3CAXQMA.js';
|
|
25
25
|
import '../../chunk-BOFL7GIF.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { GeminiFamilyDriver } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import { resolveRegistryBinding } from '../../chunk-
|
|
4
|
-
import { fetchProviderModels } from '../../chunk-
|
|
1
|
+
import { GeminiFamilyDriver } from '../../chunk-TH4CTXHX.js';
|
|
2
|
+
import '../../chunk-3KHYGOEY.js';
|
|
3
|
+
import { resolveRegistryBinding } from '../../chunk-ZGQTS3Y4.js';
|
|
4
|
+
import { fetchProviderModels } from '../../chunk-OOWHXOK6.js';
|
|
5
5
|
import '../../chunk-B4X2N7JQ.js';
|
|
6
6
|
import '../../chunk-YROR332M.js';
|
|
7
|
-
import { BUILTIN_DRIVER_CATALOG, getBridgeLogger, entryCredentialValue, registryDriverConfig } from '../../chunk-
|
|
7
|
+
import { BUILTIN_DRIVER_CATALOG, getBridgeLogger, entryCredentialValue, registryDriverConfig } from '../../chunk-HJ5MCB3L.js';
|
|
8
8
|
import '../../chunk-6E6PKKAD.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-32XKCNCL.js';
|
|
10
10
|
import '../../chunk-ICSCSM5D.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-DALV4HHP.js';
|
|
12
12
|
import '../../chunk-MJHSLODD.js';
|
|
13
13
|
import '../../chunk-C3CAXQMA.js';
|
|
14
14
|
import '../../chunk-BOFL7GIF.js';
|
package/dist/bridge/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export { BridgeRuntime, EventNormalizer, createRuntime, detectFileChange, detectFileChanges, labelToolCall, summarizeToolCall, summarizeToolResult, validateApiKey } from '../chunk-
|
|
2
|
-
export { ANTHROPIC_DEFAULT_BASE_URL, agentTranscriptStore, buildClaudeEndpointEnv, claudeEndpointMode, localTranscriptStore, probeResumeTranscript, resolveClaudeConfigDir, transcriptStoreForRuntime } from '../chunk-
|
|
1
|
+
export { BridgeRuntime, EventNormalizer, createRuntime, detectFileChange, detectFileChanges, labelToolCall, summarizeToolCall, summarizeToolResult, validateApiKey } from '../chunk-OBVJ7RPW.js';
|
|
2
|
+
export { ANTHROPIC_DEFAULT_BASE_URL, agentTranscriptStore, buildClaudeEndpointEnv, claudeEndpointMode, localTranscriptStore, probeResumeTranscript, resolveClaudeConfigDir, transcriptStoreForRuntime } from '../chunk-QG3HOJEK.js';
|
|
3
3
|
export { CODEX_NATIVE_STATE_FORMAT, CodexNativeStateUnavailable } from '../chunk-LOO5CB5M.js';
|
|
4
4
|
export { dispatchCapability, filterRenderCapabilities, renderFallback } from '../chunk-2H73V6XR.js';
|
|
5
|
-
export { ModelTierResolutionError, PROVIDER_MODEL_TIERS, STATIC_MODELS, fetchProviderModels, getModels, getStaticModels, modelIdTargetForEntry, resolveManifestModel, resolveModelCapabilities, resolveModelTier } from '../chunk-
|
|
5
|
+
export { ModelTierResolutionError, PROVIDER_MODEL_TIERS, STATIC_MODELS, fetchProviderModels, getModels, getStaticModels, modelIdTargetForEntry, resolveManifestModel, resolveModelCapabilities, resolveModelTier } from '../chunk-OOWHXOK6.js';
|
|
6
6
|
export { AccountUnavailableError, AuthError, RUNNER_PRIVATE_ENV_KEYS, ReconfigureLedger, classifyClaudeSdkError, reclassifyAuthAsAccountUnavailable, scopeReconfigureModel, stripRunnerPrivateEnv } from '../chunk-B4X2N7JQ.js';
|
|
7
7
|
export { AGENT_EXEC_ENV, agentExecRequested, resolveAgentExec, wrapAgentCommand } from '../chunk-YROR332M.js';
|
|
8
|
-
export { AGENT_EFFORT_LEVELS, AI_PROVIDER_PRESETS, AgentDriver, BUILTIN_DRIVER_CATALOG, DRIVER_CATALOG, PROVIDER_CREDENTIAL_ENV_PREFIX, PROVIDER_CREDENTIAL_ENV_SUFFIX, TOOL_ALLOWLIST_UNSUPPORTED, buildCredentialHeaders, catalogLayer, conventionalCredentialEnvName, createDriver, driverCapabilities, entryCredentialEnv, entryCredentialValue, expandPreset, getBridgeLogger, getProviderPreset, listDrivers, listModelsForDriver, listProviderPresets, presetBaseUrl, probeProviderEntry, providerCredentialEnvName, registerBuiltinDrivers, registryCredentialEnv, registryDriverConfig, resolveEntryCredential, resolvePresetBaseUrl, resolveProbeUrl, supportsLiveToolUpdates, toAgentEffort, toMergedRegistry } from '../chunk-
|
|
8
|
+
export { AGENT_EFFORT_LEVELS, AI_PROVIDER_PRESETS, AgentDriver, BUILTIN_DRIVER_CATALOG, DRIVER_CATALOG, PROVIDER_CREDENTIAL_ENV_PREFIX, PROVIDER_CREDENTIAL_ENV_SUFFIX, TOOL_ALLOWLIST_UNSUPPORTED, buildCredentialHeaders, catalogLayer, conventionalCredentialEnvName, createDriver, driverCapabilities, entryCredentialEnv, entryCredentialValue, expandPreset, getBridgeLogger, getProviderPreset, listDrivers, listModelsForDriver, listProviderPresets, presetBaseUrl, probeProviderEntry, providerCredentialEnvName, registerBuiltinDrivers, registryCredentialEnv, registryDriverConfig, resolveEntryCredential, resolvePresetBaseUrl, resolveProbeUrl, supportsLiveToolUpdates, toAgentEffort, toMergedRegistry } from '../chunk-HJ5MCB3L.js';
|
|
9
9
|
import '../chunk-6E6PKKAD.js';
|
|
10
10
|
import '../chunk-F4NJDSR7.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-32XKCNCL.js';
|
|
12
|
+
import '../chunk-2FMEGSBN.js';
|
|
13
13
|
import '../chunk-4GY63JU6.js';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-GFCXNFTW.js';
|
|
15
15
|
import '../chunk-PMECEZK3.js';
|
|
16
16
|
import '../chunk-5BEFNLOR.js';
|
|
17
17
|
import '../chunk-A2ULN3KX.js';
|
|
18
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-JZCSNEHK.js';
|
|
19
19
|
import '../chunk-L5VSIPQD.js';
|
|
20
20
|
import '../chunk-CPSIPIX7.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-IXWODEED.js';
|
|
22
22
|
import '../chunk-RVRB27AN.js';
|
|
23
|
-
import '../chunk-
|
|
24
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-Y34MSWEZ.js';
|
|
24
|
+
import '../chunk-4OV5DSBB.js';
|
|
25
25
|
import '../chunk-ICSCSM5D.js';
|
|
26
|
-
import '../chunk-
|
|
26
|
+
import '../chunk-DALV4HHP.js';
|
|
27
27
|
import '../chunk-MJHSLODD.js';
|
|
28
28
|
import '../chunk-C3CAXQMA.js';
|
|
29
29
|
import '../chunk-BOFL7GIF.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { factoryAssetRoots } from './chunk-
|
|
1
|
+
import { factoryAssetRoots } from './chunk-GFCXNFTW.js';
|
|
2
2
|
import { deployedBase } from './chunk-PMECEZK3.js';
|
|
3
3
|
import { DEFAULT_DRIVER_ID } from './chunk-5BEFNLOR.js';
|
|
4
|
-
import { resolveSkWorkspaceConfig } from './chunk-
|
|
4
|
+
import { parseSourceEntries, resolveSkWorkspaceConfig } from './chunk-JZCSNEHK.js';
|
|
5
5
|
import { globalSkaileDir } from './chunk-L5VSIPQD.js';
|
|
6
6
|
import { driverTargetForDriver, SUPPORTED_DRIVER_TARGETS } from './chunk-CPSIPIX7.js';
|
|
7
|
-
import { sha256Hex, compositeSha256, orderedAsset, ASSET_KEY_ORDER } from './chunk-
|
|
8
|
-
import { parseAssetRefLoose } from './chunk-
|
|
7
|
+
import { sha256Hex, compositeSha256, orderedAsset, ASSET_KEY_ORDER } from './chunk-IXWODEED.js';
|
|
8
|
+
import { parseAssetRefLoose } from './chunk-4OV5DSBB.js';
|
|
9
9
|
import { validateRegistry, mergeRegistries, validateMergedRegistry } from './chunk-MJHSLODD.js';
|
|
10
|
-
import fs, { existsSync,
|
|
10
|
+
import fs, { existsSync, readFileSync, writeFileSync, mkdirSync, cpSync, readdirSync } from 'fs';
|
|
11
11
|
import path, { join, resolve, dirname, basename } from 'path';
|
|
12
12
|
import { stringify, parse, parseDocument, Document, isMap, isSeq, isScalar } from 'yaml';
|
|
13
13
|
import { isDeepStrictEqual } from 'util';
|
|
@@ -42,7 +42,19 @@ function aiResourceRoots(projectDir = process.cwd()) {
|
|
|
42
42
|
return [...new Set(roots)].filter((r) => existsSync(r));
|
|
43
43
|
}
|
|
44
44
|
function writeLock(lockPath, data) {
|
|
45
|
-
|
|
45
|
+
const next = stringify(data, { lineWidth: 120 });
|
|
46
|
+
if (existsSync(lockPath)) {
|
|
47
|
+
try {
|
|
48
|
+
const prev = parse(readFileSync(lockPath, "utf8"));
|
|
49
|
+
if (prev && typeof prev === "object" && typeof prev.locked_at === "string") {
|
|
50
|
+
const same = stringify({ ...prev, locked_at: data.locked_at }, { lineWidth: 120 });
|
|
51
|
+
if (same === next) return false;
|
|
52
|
+
}
|
|
53
|
+
} catch {
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
writeFileSync(lockPath, next);
|
|
57
|
+
return true;
|
|
46
58
|
}
|
|
47
59
|
function readLock(lockPath) {
|
|
48
60
|
if (!existsSync(lockPath)) return null;
|
|
@@ -70,6 +82,7 @@ function buildLibraryLockEntries(inputs) {
|
|
|
70
82
|
const key = `${i.kind}:@${i.publisher}/${i.name}#${i.library.version}`;
|
|
71
83
|
const library = { name: i.library.name, version: i.library.version };
|
|
72
84
|
if (i.library.sha256) library.sha256 = i.library.sha256;
|
|
85
|
+
if (i.library.url) library.url = i.library.url;
|
|
73
86
|
if (i.library.installed) library.installed = i.library.installed;
|
|
74
87
|
assets[key] = {
|
|
75
88
|
sha256: i.library.sha256 ?? "",
|
|
@@ -117,14 +130,23 @@ function mergeLockFile(prev, fresh) {
|
|
|
117
130
|
if (identityOfLockKey(old) === freshId) delete assets[old];
|
|
118
131
|
}
|
|
119
132
|
}
|
|
133
|
+
const presets = mergePresetRefs(prev.presets, fresh.presets);
|
|
120
134
|
return {
|
|
121
135
|
...fresh,
|
|
122
136
|
assets: { ...assets, ...fresh.assets },
|
|
123
137
|
sources: [...sources.values()].sort((a, b) => a.url.localeCompare(b.url)),
|
|
124
138
|
// buildLockFile never emits a plugins slice — preserve the reconciler's.
|
|
125
|
-
plugins: prev.plugins
|
|
139
|
+
plugins: prev.plugins,
|
|
140
|
+
presets
|
|
126
141
|
};
|
|
127
142
|
}
|
|
143
|
+
function mergePresetRefs(prev, fresh) {
|
|
144
|
+
const byIdentity = /* @__PURE__ */ new Map();
|
|
145
|
+
for (const ref of [...prev ?? [], ...fresh ?? []]) {
|
|
146
|
+
byIdentity.set(identityOfLockKey(ref) ?? ref, ref);
|
|
147
|
+
}
|
|
148
|
+
return byIdentity.size > 0 ? [...byIdentity.values()].sort() : void 0;
|
|
149
|
+
}
|
|
128
150
|
function identityOfLockKey(key) {
|
|
129
151
|
const ref = parseAssetRefLoose(key);
|
|
130
152
|
return ref ? `${ref.kind}:${ref.publisher}/${ref.name}` : void 0;
|
|
@@ -950,11 +972,16 @@ var WorkspaceYamlEditor = class _WorkspaceYamlEditor {
|
|
|
950
972
|
return false;
|
|
951
973
|
}
|
|
952
974
|
// ── Sources ────────────────────────────────────────────────────────────────
|
|
953
|
-
/**
|
|
975
|
+
/**
|
|
976
|
+
* Get all source entries (`{url, pin?}`).
|
|
977
|
+
* @throws {SourceEntryError} When an item has no `url:` (see {@link parseSourceEntries}).
|
|
978
|
+
*/
|
|
954
979
|
getSources() {
|
|
955
980
|
const node = this.doc.get("sources", true);
|
|
956
981
|
if (!isSeq(node)) return [];
|
|
957
|
-
|
|
982
|
+
const raw = node.toJSON();
|
|
983
|
+
parseSourceEntries(raw);
|
|
984
|
+
return raw;
|
|
958
985
|
}
|
|
959
986
|
/**
|
|
960
987
|
* Add or update a source entry, matched by `url`.
|
|
@@ -1074,5 +1101,5 @@ var WorkspaceYamlEditor = class _WorkspaceYamlEditor {
|
|
|
1074
1101
|
};
|
|
1075
1102
|
|
|
1076
1103
|
export { AGENT_PROMPT_SECTION_ORDER, GLOBAL_INSTALL_DIR_NAME, ManifestYamlEditor, PROVIDERS_FILENAME, SETTINGS_DEFAULTS, WorkspaceYamlEditor, aiResourceRoots, applyPatch, buildAgentPromptSections, buildLibraryLockEntries, buildLockFile, capMemoryContent, checkAgentSkillConformance, computeHash, defaultLibraryDir, extractForPatch, generatePatch, globalInstallDir, globalSettingsPath, listPatches, loadProviderRegistry, loadProviderRegistryFile, loadSettings, mapLegacyFields, maskApiKey, mergeLockFile, migrateSettings, projectSettingsPath, readLock, readPatch, readPluginsLockSlice, renderMemorySection, resolveConfiguredDriverTarget, resolveLibraryDir, resolveSettings, savePatch, saveProviderRegistryFile, saveSettings, userProviderRegistryPath, verifyLock, walkForSettings, workspaceProviderRegistryPath, writeLock, writePluginsLockSlice };
|
|
1077
|
-
//# sourceMappingURL=chunk-
|
|
1078
|
-
//# sourceMappingURL=chunk-
|
|
1104
|
+
//# sourceMappingURL=chunk-2FMEGSBN.js.map
|
|
1105
|
+
//# sourceMappingURL=chunk-2FMEGSBN.js.map
|