@skaile/workspaces 5.12.0 → 5.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +96 -0
- package/README.md +2 -2
- package/dist/{asset-feeds-AM6PSSGM.js → asset-feeds-ALMTHLPV.js} +20 -20
- package/dist/{asset-feeds-AM6PSSGM.js.map → asset-feeds-ALMTHLPV.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +9 -9
- package/dist/asset-manager/index.js +15 -15
- package/dist/asset-manager/installer.js +11 -11
- package/dist/asset-manager/renderers.js +10 -10
- package/dist/asset-manager/src/index.d.ts +53 -10
- package/dist/asset-manager/src/index.d.ts.map +1 -1
- package/dist/asset-manager/src/installer.d.ts +0 -10
- package/dist/asset-manager/src/installer.d.ts.map +1 -1
- package/dist/bridge/drivers/claude-sdk.js +15 -13
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +72 -27
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +11 -11
- package/dist/bridge/drivers/echo.js +1 -1
- package/dist/bridge/drivers/gemini.js +6 -6
- package/dist/bridge/drivers/goose.js +11 -11
- package/dist/bridge/drivers/omp.js +102 -27
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +11 -11
- package/dist/bridge/drivers/qwen.js +6 -6
- package/dist/bridge/index.js +13 -13
- package/dist/bridge/src/codex/config-toml.d.ts +8 -0
- package/dist/bridge/src/codex/config-toml.d.ts.map +1 -1
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/codex.d.ts +6 -0
- package/dist/bridge/src/drivers/codex.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp-models-yml.d.ts +32 -0
- package/dist/bridge/src/drivers/omp-models-yml.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp.d.ts +20 -6
- package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
- package/dist/{chunk-QCEKGYHF.js → chunk-2BIESC6S.js} +3 -3
- package/dist/{chunk-QCEKGYHF.js.map → chunk-2BIESC6S.js.map} +1 -1
- package/dist/{chunk-NGJIVDDD.js → chunk-4DLQESIY.js} +3 -3
- package/dist/{chunk-NGJIVDDD.js.map → chunk-4DLQESIY.js.map} +1 -1
- package/dist/{chunk-7QWQTA5S.js → chunk-4L4R5LV3.js} +4 -4
- package/dist/{chunk-7QWQTA5S.js.map → chunk-4L4R5LV3.js.map} +1 -1
- package/dist/{chunk-GWD3QNVS.js → chunk-4NJ3QQHZ.js} +5 -5
- package/dist/{chunk-GWD3QNVS.js.map → chunk-4NJ3QQHZ.js.map} +1 -1
- package/dist/{chunk-6VLHITAM.js → chunk-57SF6W6E.js} +4 -3
- package/dist/chunk-57SF6W6E.js.map +1 -0
- package/dist/{chunk-NJV5SLEK.js → chunk-5FYOM4RF.js} +46 -46
- package/dist/chunk-5FYOM4RF.js.map +1 -0
- package/dist/{chunk-ICIYSJBQ.js → chunk-5SKVCMRC.js} +15 -7
- package/dist/chunk-5SKVCMRC.js.map +1 -0
- package/dist/{chunk-P23WJCH2.js → chunk-6GICC4RJ.js} +23 -18
- package/dist/chunk-6GICC4RJ.js.map +1 -0
- package/dist/{chunk-3HUV2LJF.js → chunk-6JKIOPT3.js} +4 -4
- package/dist/{chunk-3HUV2LJF.js.map → chunk-6JKIOPT3.js.map} +1 -1
- package/dist/{chunk-NDF24LYP.js → chunk-6NQDDCIL.js} +3 -3
- package/dist/{chunk-NDF24LYP.js.map → chunk-6NQDDCIL.js.map} +1 -1
- package/dist/{chunk-VRLKHL74.js → chunk-7SMP4GNW.js} +6 -6
- package/dist/{chunk-VRLKHL74.js.map → chunk-7SMP4GNW.js.map} +1 -1
- package/dist/{chunk-XMAJJPA4.js → chunk-AHCI4V5L.js} +3 -3
- package/dist/{chunk-XMAJJPA4.js.map → chunk-AHCI4V5L.js.map} +1 -1
- package/dist/{chunk-NJXR5OAM.js → chunk-B7CZYFB2.js} +4 -4
- package/dist/{chunk-NJXR5OAM.js.map → chunk-B7CZYFB2.js.map} +1 -1
- package/dist/{chunk-T5TSLSRO.js → chunk-BF422IDP.js} +8 -8
- package/dist/{chunk-T5TSLSRO.js.map → chunk-BF422IDP.js.map} +1 -1
- package/dist/{chunk-MF54ZHWT.js → chunk-BVJU2GKE.js} +2 -2
- package/dist/{chunk-MF54ZHWT.js.map → chunk-BVJU2GKE.js.map} +1 -1
- package/dist/{chunk-PMECEZK3.js → chunk-D54T2F54.js} +5 -4
- package/dist/chunk-D54T2F54.js.map +1 -0
- package/dist/{chunk-C3BMXXTN.js → chunk-DKGEV6SQ.js} +68 -24
- package/dist/chunk-DKGEV6SQ.js.map +1 -0
- package/dist/chunk-FB3NREF7.js +649 -0
- package/dist/chunk-FB3NREF7.js.map +1 -0
- package/dist/{chunk-3LVB3HGH.js → chunk-FHDK3BFD.js} +3 -3
- package/dist/{chunk-3LVB3HGH.js.map → chunk-FHDK3BFD.js.map} +1 -1
- package/dist/{chunk-2X3JBVGD.js → chunk-GMDSRSGI.js} +18 -9
- package/dist/chunk-GMDSRSGI.js.map +1 -0
- package/dist/{chunk-N5M2EISA.js → chunk-HBZD3MIW.js} +97 -54
- package/dist/chunk-HBZD3MIW.js.map +1 -0
- package/dist/{chunk-SMT3LNAG.js → chunk-HWGYJMME.js} +4 -4
- package/dist/{chunk-SMT3LNAG.js.map → chunk-HWGYJMME.js.map} +1 -1
- package/dist/{chunk-CPSIPIX7.js → chunk-IG5LZ3WU.js} +8 -6
- package/dist/chunk-IG5LZ3WU.js.map +1 -0
- package/dist/{chunk-CTP3XBMF.js → chunk-IY5E7Y5W.js} +57 -7
- package/dist/chunk-IY5E7Y5W.js.map +1 -0
- package/dist/{chunk-YQU2BPQD.js → chunk-J4DB5G36.js} +2 -2
- package/dist/{chunk-YQU2BPQD.js.map → chunk-J4DB5G36.js.map} +1 -1
- package/dist/{chunk-PNTXHTBC.js → chunk-J4OYIYFQ.js} +2 -2
- package/dist/{chunk-PNTXHTBC.js.map → chunk-J4OYIYFQ.js.map} +1 -1
- package/dist/{chunk-PNOGX36L.js → chunk-L3ZGYSWY.js} +85 -24
- package/dist/chunk-L3ZGYSWY.js.map +1 -0
- package/dist/{chunk-XTVSNWLL.js → chunk-M3P4BYRK.js} +34 -11
- package/dist/chunk-M3P4BYRK.js.map +1 -0
- package/dist/{chunk-X6LKA3TJ.js → chunk-NDUYFYJB.js} +5 -5
- package/dist/{chunk-X6LKA3TJ.js.map → chunk-NDUYFYJB.js.map} +1 -1
- package/dist/{chunk-7CR2OZPA.js → chunk-NVO6WECE.js} +9 -8
- package/dist/chunk-NVO6WECE.js.map +1 -0
- package/dist/chunk-PN44DOGP.js +345 -0
- package/dist/chunk-PN44DOGP.js.map +1 -0
- package/dist/{chunk-UTKENBB6.js → chunk-PXDWTJ3P.js} +4 -4
- package/dist/{chunk-UTKENBB6.js.map → chunk-PXDWTJ3P.js.map} +1 -1
- package/dist/{chunk-POQ6PGNE.js → chunk-PYTTF754.js} +22 -6
- package/dist/chunk-PYTTF754.js.map +1 -0
- package/dist/chunk-PZOO7L26.js +64 -0
- package/dist/chunk-PZOO7L26.js.map +1 -0
- package/dist/{chunk-SHQMPGOL.js → chunk-QO7CR3KB.js} +10 -5
- package/dist/chunk-QO7CR3KB.js.map +1 -0
- package/dist/{chunk-KVSDRB35.js → chunk-R6QHJEHE.js} +5 -5
- package/dist/{chunk-KVSDRB35.js.map → chunk-R6QHJEHE.js.map} +1 -1
- package/dist/chunk-U27JRO5L.js +13 -0
- package/dist/chunk-U27JRO5L.js.map +1 -0
- package/dist/{chunk-G3X4MLDB.js → chunk-USHB5KEY.js} +3 -3
- package/dist/{chunk-G3X4MLDB.js.map → chunk-USHB5KEY.js.map} +1 -1
- package/dist/{chunk-HYMERG57.js → chunk-V5JHD4I2.js} +3 -3
- package/dist/{chunk-HYMERG57.js.map → chunk-V5JHD4I2.js.map} +1 -1
- package/dist/{chunk-JQ3DXNQV.js → chunk-VLBIME5L.js} +6 -6
- package/dist/{chunk-JQ3DXNQV.js.map → chunk-VLBIME5L.js.map} +1 -1
- package/dist/{chunk-7XWUJC3A.js → chunk-XBYSURMK.js} +3 -3
- package/dist/{chunk-7XWUJC3A.js.map → chunk-XBYSURMK.js.map} +1 -1
- package/dist/{chunk-XZY6SBGU.js → chunk-XJYBCDY2.js} +3 -3
- package/dist/{chunk-XZY6SBGU.js.map → chunk-XJYBCDY2.js.map} +1 -1
- package/dist/{chunk-27L6BBAT.js → chunk-Y4Z7LGSH.js} +8 -8
- package/dist/{chunk-27L6BBAT.js.map → chunk-Y4Z7LGSH.js.map} +1 -1
- package/dist/{chunk-TVAR4JHA.js → chunk-Y7WKXPWS.js} +320 -51
- package/dist/chunk-Y7WKXPWS.js.map +1 -0
- package/dist/{chunk-2JFIFDDO.js → chunk-YTZFSKWL.js} +3 -3
- package/dist/{chunk-2JFIFDDO.js.map → chunk-YTZFSKWL.js.map} +1 -1
- package/dist/{chunk-WI4T3KIS.js → chunk-ZSMMX3JD.js} +130 -23
- package/dist/chunk-ZSMMX3JD.js.map +1 -0
- package/dist/{chunk-DCHQ6BAZ.js → chunk-ZU24LWBI.js} +3 -3
- package/dist/{chunk-DCHQ6BAZ.js.map → chunk-ZU24LWBI.js.map} +1 -1
- package/dist/cli/index.js +469 -227
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/asset-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/catalog.d.ts +2 -0
- package/dist/cli/src/commands/catalog.d.ts.map +1 -1
- package/dist/cli/src/commands/diff.d.ts +1 -1
- package/dist/cli/src/commands/diff.d.ts.map +1 -1
- package/dist/cli/src/commands/integration.d.ts.map +1 -1
- package/dist/cli/src/commands/library-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/library-index.d.ts +10 -0
- package/dist/cli/src/commands/library-index.d.ts.map +1 -1
- package/dist/cli/src/commands/library-publish.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin/claude-code.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin/types.d.ts +2 -0
- package/dist/cli/src/commands/plugin/types.d.ts.map +1 -1
- package/dist/cli/src/commands/plugin-registry-cmd.d.ts.map +1 -1
- package/dist/cli/src/commands/preset-apply.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts +8 -0
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/commands/run.d.ts +9 -0
- package/dist/cli/src/commands/run.d.ts.map +1 -1
- package/dist/cli/src/commands/serve-preflight.d.ts +2 -1
- package/dist/cli/src/commands/serve-preflight.d.ts.map +1 -1
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/cli/src/commands/source-manifest.d.ts +1 -0
- package/dist/cli/src/commands/source-manifest.d.ts.map +1 -1
- package/dist/cli/src/commands/source.d.ts +9 -1
- package/dist/cli/src/commands/source.d.ts.map +1 -1
- package/dist/cli/src/commands/store.d.ts.map +1 -1
- package/dist/cli/src/commands/update.d.ts.map +1 -1
- package/dist/cli/src/commands/validate-instances.d.ts.map +1 -1
- package/dist/cli/src/commands/validate.d.ts +3 -2
- package/dist/cli/src/commands/validate.d.ts.map +1 -1
- package/dist/cli/src/driver-error.d.ts +7 -0
- package/dist/cli/src/driver-error.d.ts.map +1 -1
- package/dist/cli/src/helpers.d.ts +6 -0
- package/dist/cli/src/helpers.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/index.d.ts +1 -1
- package/dist/cli/src/plugin-store/index.d.ts.map +1 -1
- package/dist/cli/src/plugin-store/reconcile.d.ts +24 -4
- package/dist/cli/src/plugin-store/reconcile.d.ts.map +1 -1
- package/dist/cli/src/skill-checks.d.ts +15 -4
- package/dist/cli/src/skill-checks.d.ts.map +1 -1
- package/dist/cli/src/store-addable.d.ts +7 -8
- package/dist/cli/src/store-addable.d.ts.map +1 -1
- package/dist/connectors/config.js +6 -6
- package/dist/connectors/index.js +16 -16
- package/dist/connectors/src/config.d.ts.map +1 -1
- package/dist/{connectors-UNKUKEPG.js → connectors-GFKMKAXV.js} +19 -19
- package/dist/{connectors-UNKUKEPG.js.map → connectors-GFKMKAXV.js.map} +1 -1
- package/dist/core/driver-targets.js +1 -1
- package/dist/core/index.js +8 -8
- package/dist/core/manifest.js +2 -2
- package/dist/core/models.js +1 -1
- package/dist/core/publish-manifest.js +4 -2
- package/dist/core/ref.js +1 -1
- package/dist/core/runtime-assets.js +6 -6
- package/dist/core/src/agent-instances.d.ts +5 -0
- package/dist/core/src/agent-instances.d.ts.map +1 -1
- package/dist/core/src/driver-targets.d.ts.map +1 -1
- package/dist/core/src/index.d.ts +1 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/manifest.d.ts +9 -3
- package/dist/core/src/manifest.d.ts.map +1 -1
- package/dist/core/src/models.d.ts +8 -0
- package/dist/core/src/models.d.ts.map +1 -1
- package/dist/core/src/publish-manifest.d.ts +38 -1
- package/dist/core/src/publish-manifest.d.ts.map +1 -1
- package/dist/core/src/repo-manager.d.ts +8 -3
- package/dist/core/src/repo-manager.d.ts.map +1 -1
- package/dist/core/src/runtime-assets.d.ts.map +1 -1
- package/dist/core/src/store.d.ts +4 -0
- package/dist/core/src/store.d.ts.map +1 -1
- package/dist/core/src/walker.d.ts +2 -0
- package/dist/core/src/walker.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +24 -2
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/store.js +2 -2
- package/dist/core/workspace-config.js +5 -5
- package/dist/deploy/index.js +8 -8
- package/dist/discovery/index.js +5 -5
- package/dist/discovery/src/parse-manifest.d.ts.map +1 -1
- package/dist/discovery/src/source-config.d.ts +5 -3
- package/dist/discovery/src/source-config.d.ts.map +1 -1
- package/dist/{ensure-sources-POMEQSTM.js → ensure-sources-VUKHL65L.js} +18 -18
- package/dist/{ensure-sources-POMEQSTM.js.map → ensure-sources-VUKHL65L.js.map} +1 -1
- package/dist/factory-assets/README.md +1 -1
- package/dist/factory-assets/connectors/box.js +16 -16
- package/dist/factory-assets/connectors/deploy.js +16 -16
- package/dist/factory-assets/connectors/devserver.js +16 -16
- package/dist/factory-assets/connectors/flow/adapter.js +16 -16
- package/dist/factory-assets/connectors/flow/engine.js +9 -9
- package/dist/factory-assets/connectors/flow/run-flow.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/run-flow.js +18 -18
- package/dist/factory-assets/connectors/flow.js +16 -16
- package/dist/factory-assets/connectors/git.js +16 -16
- package/dist/factory-assets/connectors/gmail.js +16 -16
- package/dist/factory-assets/connectors/googledrive.js +16 -16
- package/dist/factory-assets/connectors/local.js +16 -16
- package/dist/factory-assets/connectors/mattermost.js +16 -16
- package/dist/factory-assets/connectors/memory.js +16 -16
- package/dist/factory-assets/connectors/minio.js +16 -16
- package/dist/factory-assets/connectors/postgres.js +16 -16
- package/dist/factory-assets/connectors/s3.js +16 -16
- package/dist/factory-assets/connectors/sharepoint.js +16 -16
- package/dist/factory-assets/connectors/sqlite.js +16 -16
- package/dist/factory-assets/connectors/static-server.js +16 -16
- package/dist/factory-assets/connectors/tunnel.js +16 -16
- package/dist/factory-assets/connectors/webdav.js +16 -16
- package/dist/factory-assets/connectors/xstate-store.js +16 -16
- package/dist/factory-assets/connectors/xstate.js +16 -16
- package/dist/{flows-DVKMZKM4.js → flows-A4YALSZY.js} +13 -13
- package/dist/{flows-DVKMZKM4.js.map → flows-A4YALSZY.js.map} +1 -1
- package/dist/{helpers-Y4OT7VIS.js → helpers-53XZW7KF.js} +18 -18
- package/dist/{helpers-Y4OT7VIS.js.map → helpers-53XZW7KF.js.map} +1 -1
- package/dist/library/index.js +12 -12
- package/dist/library/install.js +5 -3
- package/dist/library/src/local/local-catalog-source.d.ts +6 -0
- package/dist/library/src/local/local-catalog-source.d.ts.map +1 -1
- package/dist/library/src/manifest-writer.d.ts +1 -1
- package/dist/library/src/manifest-writer.d.ts.map +1 -1
- package/dist/library/src/remote/remote-catalog-source.d.ts.map +1 -1
- package/dist/library/src/user-library.d.ts +2 -0
- package/dist/library/src/user-library.d.ts.map +1 -1
- package/dist/{library-publish-DI4Q5UOG.js → library-publish-FFIPWIRM.js} +28 -25
- package/dist/library-publish-FFIPWIRM.js.map +1 -0
- package/dist/open-library-PZAT3TJA.js +40 -0
- package/dist/{open-library-N6ESO6IK.js.map → open-library-PZAT3TJA.js.map} +1 -1
- package/dist/open-registry-W46UXZ3I.js +32 -0
- package/dist/{open-registry-CBZ5MWTT.js.map → open-registry-W46UXZ3I.js.map} +1 -1
- package/dist/paths-KKY3NSBZ.js +22 -0
- package/dist/{paths-U6W6MQNQ.js.map → paths-KKY3NSBZ.js.map} +1 -1
- package/dist/{plugin-store-XMZSPVBF.js → plugin-store-CK7YWRIC.js} +62 -20
- package/dist/plugin-store-CK7YWRIC.js.map +1 -0
- package/dist/plugins/src/catalog-source.d.ts +6 -0
- package/dist/plugins/src/catalog-source.d.ts.map +1 -1
- package/dist/project-EZUH7PUJ.js +79 -0
- package/dist/{project-UP52HEHC.js.map → project-EZUH7PUJ.js.map} +1 -1
- package/dist/resolver/index.js +9 -9
- package/dist/runner/index.js +29 -29
- package/dist/runner/src/agent.d.ts.map +1 -1
- package/dist/runner/src/composition/index.d.ts +1 -1
- package/dist/runner/src/composition/index.d.ts.map +1 -1
- package/dist/runner/src/composition/prompt-sections.d.ts +18 -6
- package/dist/runner/src/composition/prompt-sections.d.ts.map +1 -1
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts.map +1 -1
- package/dist/runner/src/session.d.ts +2 -0
- package/dist/runner/src/session.d.ts.map +1 -1
- package/dist/runner/src/ws-auth-warning.d.ts +17 -0
- package/dist/runner/src/ws-auth-warning.d.ts.map +1 -0
- package/dist/sdk/asset-manager.js +15 -15
- package/dist/sdk/bridge.js +13 -13
- package/dist/sdk/core.js +8 -8
- package/dist/sdk/flow.js +9 -9
- package/dist/sdk/index.js +29 -29
- package/dist/sdk/resolver.js +9 -9
- package/dist/sdk/runner.js +29 -29
- package/dist/serve-preflight-F7MYF747.js +64 -0
- package/dist/serve-preflight-F7MYF747.js.map +1 -0
- package/dist/{setup-5IRUH5OS.js → setup-L632QIHV.js} +23 -23
- package/dist/{setup-5IRUH5OS.js.map → setup-L632QIHV.js.map} +1 -1
- package/dist/skills-OY3Y5GKA.js +26 -0
- package/dist/{skills-HA36RFNM.js.map → skills-OY3Y5GKA.js.map} +1 -1
- package/dist/source-36FHMN5V.js +42 -0
- package/dist/{source-DX5SGWEI.js.map → source-36FHMN5V.js.map} +1 -1
- package/dist/{source-manifest-publish-NMRLXWVW.js → source-manifest-publish-NIXJSJ22.js} +25 -24
- package/dist/source-manifest-publish-NIXJSJ22.js.map +1 -0
- package/dist/tui/index.js +46 -36
- package/dist/tui/index.js.map +1 -1
- package/dist/tui/src/repl.d.ts.map +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/lifecycle.d.ts +2 -1
- package/dist/types/src/lifecycle.d.ts.map +1 -1
- package/dist/types/src/manifests/preset.d.ts +6 -1
- package/dist/types/src/manifests/preset.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +23 -23
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2X3JBVGD.js.map +0 -1
- package/dist/chunk-6VLHITAM.js.map +0 -1
- package/dist/chunk-7CR2OZPA.js.map +0 -1
- package/dist/chunk-C3BMXXTN.js.map +0 -1
- package/dist/chunk-CPSIPIX7.js.map +0 -1
- package/dist/chunk-CTP3XBMF.js.map +0 -1
- package/dist/chunk-ICIYSJBQ.js.map +0 -1
- package/dist/chunk-ID745F3R.js +0 -625
- package/dist/chunk-ID745F3R.js.map +0 -1
- package/dist/chunk-K4VOEYOR.js +0 -21
- package/dist/chunk-K4VOEYOR.js.map +0 -1
- package/dist/chunk-N5M2EISA.js.map +0 -1
- package/dist/chunk-NJV5SLEK.js.map +0 -1
- package/dist/chunk-NR7H7ZJP.js +0 -400
- package/dist/chunk-NR7H7ZJP.js.map +0 -1
- package/dist/chunk-P23WJCH2.js.map +0 -1
- package/dist/chunk-PMECEZK3.js.map +0 -1
- package/dist/chunk-PNOGX36L.js.map +0 -1
- package/dist/chunk-POQ6PGNE.js.map +0 -1
- package/dist/chunk-SHQMPGOL.js.map +0 -1
- package/dist/chunk-TVAR4JHA.js.map +0 -1
- package/dist/chunk-WI4T3KIS.js.map +0 -1
- package/dist/chunk-XTVSNWLL.js.map +0 -1
- package/dist/library-publish-DI4Q5UOG.js.map +0 -1
- package/dist/open-library-N6ESO6IK.js +0 -40
- package/dist/open-registry-CBZ5MWTT.js +0 -32
- package/dist/paths-U6W6MQNQ.js +0 -22
- package/dist/plugin-store-XMZSPVBF.js.map +0 -1
- package/dist/project-UP52HEHC.js +0 -79
- package/dist/serve-preflight-6P2JJEJ3.js +0 -47
- package/dist/serve-preflight-6P2JJEJ3.js.map +0 -1
- package/dist/skills-HA36RFNM.js +0 -26
- package/dist/source-DX5SGWEI.js +0 -41
- package/dist/source-manifest-publish-NMRLXWVW.js.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
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-AHCI4V5L.js';
|
|
3
|
+
import { resolveEnvDriverSession, continueRoleBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, entrySurface, harnessProviderName, entryBaseUrl, versionedAnthropicBaseUrl } from '../../chunk-4DLQESIY.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-BVJU2GKE.js';
|
|
7
7
|
import '../../chunk-6E6PKKAD.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-BF422IDP.js';
|
|
9
9
|
import '../../chunk-4GY63JU6.js';
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-QO7CR3KB.js';
|
|
11
|
+
import '../../chunk-D54T2F54.js';
|
|
12
12
|
import '../../chunk-5BEFNLOR.js';
|
|
13
13
|
import '../../chunk-A2ULN3KX.js';
|
|
14
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-L3ZGYSWY.js';
|
|
15
15
|
import '../../chunk-L5VSIPQD.js';
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-IG5LZ3WU.js';
|
|
17
|
+
import '../../chunk-IY5E7Y5W.js';
|
|
18
18
|
import '../../chunk-RVRB27AN.js';
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-M3P4BYRK.js';
|
|
20
|
+
import '../../chunk-J4OYIYFQ.js';
|
|
21
21
|
import '../../chunk-ICSCSM5D.js';
|
|
22
22
|
import '../../chunk-DKXNKFKP.js';
|
|
23
23
|
import { parseModelRef } from '../../chunk-MJHSLODD.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
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-BVJU2GKE.js';
|
|
3
3
|
import '../../chunk-6E6PKKAD.js';
|
|
4
4
|
import '../../chunk-F4NJDSR7.js';
|
|
5
5
|
import '../../chunk-ICSCSM5D.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { GeminiDriver, GeminiFamilyDriver, geminiDriverTarget } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
1
|
+
export { GeminiDriver, GeminiFamilyDriver, geminiDriverTarget } from '../../chunk-7SMP4GNW.js';
|
|
2
|
+
import '../../chunk-AHCI4V5L.js';
|
|
3
|
+
import '../../chunk-4DLQESIY.js';
|
|
4
|
+
import '../../chunk-B7CZYFB2.js';
|
|
5
5
|
import '../../chunk-B4X2N7JQ.js';
|
|
6
6
|
import '../../chunk-YROR332M.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-BVJU2GKE.js';
|
|
8
8
|
import '../../chunk-6E6PKKAD.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-57SF6W6E.js';
|
|
10
10
|
import '../../chunk-ICSCSM5D.js';
|
|
11
11
|
import '../../chunk-DKXNKFKP.js';
|
|
12
12
|
import '../../chunk-MJHSLODD.js';
|
|
@@ -1,23 +1,23 @@
|
|
|
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-AHCI4V5L.js';
|
|
3
|
+
import { resolveEnvDriverSession, resolveRegistryBinding, credentialsForEveryProvider, registryModelEntries, selectableEntries, isStockCatalogEndpoint, entrySurface, entryBaseUrl, entryModelIds } from '../../chunk-4DLQESIY.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-BVJU2GKE.js';
|
|
7
7
|
import '../../chunk-6E6PKKAD.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-BF422IDP.js';
|
|
9
9
|
import '../../chunk-4GY63JU6.js';
|
|
10
|
-
import '../../chunk-
|
|
11
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-QO7CR3KB.js';
|
|
11
|
+
import '../../chunk-D54T2F54.js';
|
|
12
12
|
import '../../chunk-5BEFNLOR.js';
|
|
13
13
|
import '../../chunk-A2ULN3KX.js';
|
|
14
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-L3ZGYSWY.js';
|
|
15
15
|
import '../../chunk-L5VSIPQD.js';
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-IG5LZ3WU.js';
|
|
17
|
+
import '../../chunk-IY5E7Y5W.js';
|
|
18
18
|
import '../../chunk-RVRB27AN.js';
|
|
19
|
-
import '../../chunk-
|
|
20
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-M3P4BYRK.js';
|
|
20
|
+
import '../../chunk-J4OYIYFQ.js';
|
|
21
21
|
import '../../chunk-ICSCSM5D.js';
|
|
22
22
|
import '../../chunk-DKXNKFKP.js';
|
|
23
23
|
import '../../chunk-MJHSLODD.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { checkToolInputSchema } from '../../chunk-X5O56UO4.js';
|
|
2
|
-
import { entrySurface } from '../../chunk-
|
|
2
|
+
import { entrySurface } from '../../chunk-4DLQESIY.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, unresolvedProviderCredentials, entryCredentialValue, providerCredentialEnvName } from '../../chunk-
|
|
6
|
+
import { BUILTIN_DRIVER_CATALOG, AgentDriver, getBridgeLogger, TOOL_ALLOWLIST_UNSUPPORTED, registryDriverConfig, unresolvedProviderCredentials, entryCredentialValue, providerCredentialEnvName } from '../../chunk-BVJU2GKE.js';
|
|
7
7
|
import '../../chunk-6E6PKKAD.js';
|
|
8
8
|
import { withActivityLabelJsonSchema } from '../../chunk-F4NJDSR7.js';
|
|
9
9
|
import '../../chunk-ICSCSM5D.js';
|
|
@@ -13,13 +13,14 @@ import '../../chunk-C3CAXQMA.js';
|
|
|
13
13
|
import '../../chunk-BOFL7GIF.js';
|
|
14
14
|
import '../../chunk-NSBPE2FW.js';
|
|
15
15
|
import { spawn } from 'child_process';
|
|
16
|
+
import { randomUUID, createHash } from 'crypto';
|
|
17
|
+
import { rmSync } from 'fs';
|
|
16
18
|
import fs from 'fs/promises';
|
|
17
19
|
import path from 'path';
|
|
18
20
|
import { createInterface } from 'readline';
|
|
19
21
|
import * as z from 'zod';
|
|
20
|
-
import { createHash } from 'crypto';
|
|
21
22
|
import os from 'os';
|
|
22
|
-
import {
|
|
23
|
+
import { stringify, parse } from 'yaml';
|
|
23
24
|
|
|
24
25
|
var OMP_API_VALUES = [...AI_PROVIDER_SURFACES, "google-gemini-cli"];
|
|
25
26
|
var OMP_DISCOVERY_TYPES = [
|
|
@@ -42,6 +43,20 @@ var OWNED_AGENT_DIR_FILES = {
|
|
|
42
43
|
"config.yaml.lock": true,
|
|
43
44
|
"settings.json": true
|
|
44
45
|
};
|
|
46
|
+
var OMP_RUNTIME_ENTRIES = {
|
|
47
|
+
"agent.db": true,
|
|
48
|
+
"agent.db-shm": true,
|
|
49
|
+
"agent.db-wal": true,
|
|
50
|
+
"models.db": true,
|
|
51
|
+
"models.db-shm": true,
|
|
52
|
+
"models.db-wal": true,
|
|
53
|
+
"skill-descriptions.db": true,
|
|
54
|
+
"skill-descriptions.db-shm": true,
|
|
55
|
+
"skill-descriptions.db-wal": true,
|
|
56
|
+
"custom-session-files": true,
|
|
57
|
+
intercom: true,
|
|
58
|
+
sessions: true
|
|
59
|
+
};
|
|
45
60
|
function entryModelIds(entry) {
|
|
46
61
|
const logical = /* @__PURE__ */ new Set([
|
|
47
62
|
...Object.keys(entry.model_map ?? {}),
|
|
@@ -278,26 +293,71 @@ async function materializeOmpProviders(config) {
|
|
|
278
293
|
([, entry]) => (entry.kind === "llm" || entry.kind === "embed") && isEntryEnabled(entry)
|
|
279
294
|
);
|
|
280
295
|
if (!selectable) return void 0;
|
|
296
|
+
const env = { ...process.env, ...config.env };
|
|
297
|
+
const selected = config.modelRef ? parseModelRef(config.modelRef, registry, config.roles) : void 0;
|
|
298
|
+
const usable = renderOmpRegistry(registry, {
|
|
299
|
+
env,
|
|
300
|
+
...config.roles ? { roles: config.roles } : {},
|
|
301
|
+
...config.modelRef ? { modelRef: config.modelRef } : {}
|
|
302
|
+
}).providerIds;
|
|
303
|
+
if (usable.length === 0) return void 0;
|
|
304
|
+
if (selected && !usable.includes(selected.providerId)) return void 0;
|
|
281
305
|
const plan = await planOmpAgentDir({
|
|
282
306
|
cwd: config.cwd,
|
|
283
307
|
...config.sessionId ? { sessionId: config.sessionId } : {},
|
|
284
308
|
...config.driverOptions?.omp ? { options: config.driverOptions.omp } : {}
|
|
285
309
|
});
|
|
286
310
|
const rendered = await materializeOmpAgentDir(plan.agentDir, registry, {
|
|
287
|
-
env
|
|
311
|
+
env,
|
|
288
312
|
...plan.seedFrom ? { seedFrom: plan.seedFrom } : {},
|
|
289
313
|
...config.agentDir ? { identityDir: config.agentDir } : {},
|
|
290
314
|
...config.roles ? { roles: config.roles } : {},
|
|
291
315
|
...config.modelRef ? { modelRef: config.modelRef } : {}
|
|
292
316
|
});
|
|
293
|
-
const selected = config.modelRef ? parseModelRef(config.modelRef, registry, config.roles) : void 0;
|
|
294
317
|
return {
|
|
295
318
|
...rendered,
|
|
296
319
|
...selected?.providerModelId ? { modelArg: `${selected.providerId}/${selected.providerModelId}` } : {}
|
|
297
320
|
};
|
|
298
321
|
}
|
|
322
|
+
async function materializeOmpIdentityDir(config) {
|
|
323
|
+
const identityDir = config.agentDir;
|
|
324
|
+
if (!identityDir) return void 0;
|
|
325
|
+
const agentKey = createHash("sha256").update(`${path.resolve(identityDir)}\0${path.resolve(config.cwd)}`).digest("hex").slice(0, 12);
|
|
326
|
+
const plan = await planOmpAgentDir({
|
|
327
|
+
cwd: config.cwd,
|
|
328
|
+
sessionId: `${config.sessionId?.trim() || "agent"}-${agentKey}`,
|
|
329
|
+
...config.driverOptions?.omp ? { options: config.driverOptions.omp } : {}
|
|
330
|
+
});
|
|
331
|
+
await fs.mkdir(plan.agentDir, { recursive: true });
|
|
332
|
+
const seeded = plan.seedFrom ? await linkInto(plan.agentDir, plan.seedFrom, OWNED_AGENT_DIR_FILES) : [];
|
|
333
|
+
if (plan.seedFrom) {
|
|
334
|
+
for (const name of Object.keys(OWNED_AGENT_DIR_FILES)) {
|
|
335
|
+
const from = path.join(plan.seedFrom, name);
|
|
336
|
+
try {
|
|
337
|
+
if (!(await fs.stat(from)).isFile()) continue;
|
|
338
|
+
} catch {
|
|
339
|
+
continue;
|
|
340
|
+
}
|
|
341
|
+
const to = path.join(plan.agentDir, name);
|
|
342
|
+
await removeEntry(to);
|
|
343
|
+
await fs.copyFile(from, to);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
const identity = await linkInto(plan.agentDir, identityDir, {
|
|
347
|
+
...OWNED_AGENT_DIR_FILES,
|
|
348
|
+
...OMP_RUNTIME_ENTRIES
|
|
349
|
+
});
|
|
350
|
+
return { agentDir: plan.agentDir, seeded, identity };
|
|
351
|
+
}
|
|
299
352
|
|
|
300
353
|
// bridge/src/drivers/omp.ts
|
|
354
|
+
function ompCredentialMessage(msg) {
|
|
355
|
+
const match = /^No API key found for ([A-Za-z0-9._-]+?)\.?(?:\s|$)/.exec(msg);
|
|
356
|
+
if (!match) return msg;
|
|
357
|
+
const provider = match[1];
|
|
358
|
+
const envName = `${provider.toUpperCase().replace(/[^A-Z0-9]/g, "_")}_API_KEY`;
|
|
359
|
+
return `No API key found for ${provider}. Add the provider with \`skaile providers add ${provider} --credential env:${envName}\`, or log in once with \`omp\` (type /login).`;
|
|
360
|
+
}
|
|
301
361
|
var OMP_BASE_ENV_KEYS = ["PATH", "HOME", "USER", "HOSTNAME", "SKAILE_SESSION_ID"];
|
|
302
362
|
function buildOmpChildEnv(parent) {
|
|
303
363
|
const out = {};
|
|
@@ -477,6 +537,8 @@ var OmpDriver = class extends AgentDriver {
|
|
|
477
537
|
_lastContextTokens = null;
|
|
478
538
|
/** Context window of the active model, from `get_state.contextUsage`. */
|
|
479
539
|
_contextWindow = null;
|
|
540
|
+
/** Per-spawn file holding the system prompt omp was started with; removed with the process. */
|
|
541
|
+
systemPromptFile = null;
|
|
480
542
|
getTokenUsage() {
|
|
481
543
|
return this._lastTokens;
|
|
482
544
|
}
|
|
@@ -613,8 +675,8 @@ var OmpDriver = class extends AgentDriver {
|
|
|
613
675
|
* @param config - Driver configuration. omp-relevant fields:
|
|
614
676
|
* - `cwd` — working directory; omp session files are stored under `<cwd>/.omp/sessions/`.
|
|
615
677
|
* - `model` — forwarded as `--model <selector>`. In registry mode `modelRef` takes precedence at spawn; `reconfigure({ model })` keeps both in step.
|
|
616
|
-
* - `systemPrompt` — written to `<cwd>/.omp
|
|
617
|
-
* - `agentDir` —
|
|
678
|
+
* - `systemPrompt` — written to a per-spawn file under `<cwd>/.skaile/cache/omp-system/` and appended via `--append-system-prompt`.
|
|
679
|
+
* - `agentDir` — its entries are linked into omp's private home (`PI_CODING_AGENT_DIR`); the directory itself is never omp's home.
|
|
618
680
|
* - `sshKeyPath` — injected as `GIT_SSH_COMMAND` for authenticated git operations.
|
|
619
681
|
* - `resumeSessionId` — omp session UUID to restore via `--session <id>`.
|
|
620
682
|
*/
|
|
@@ -633,7 +695,10 @@ var OmpDriver = class extends AgentDriver {
|
|
|
633
695
|
async start() {
|
|
634
696
|
if (this.startPromise) return this.startPromise;
|
|
635
697
|
if (this.proc) return;
|
|
636
|
-
this.startPromise = this._start()
|
|
698
|
+
this.startPromise = this._start().catch((err) => {
|
|
699
|
+
this.removeSystemPromptFile();
|
|
700
|
+
throw err;
|
|
701
|
+
});
|
|
637
702
|
return this.startPromise;
|
|
638
703
|
}
|
|
639
704
|
async _start() {
|
|
@@ -648,18 +713,14 @@ var OmpDriver = class extends AgentDriver {
|
|
|
648
713
|
const providers = await materializeOmpProviders(this.config);
|
|
649
714
|
if (providers) {
|
|
650
715
|
for (const warning of providers.warnings) this.log.warn("registry", { warning });
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
modelRoles: providers.modelRoles,
|
|
660
|
-
seeded: providers.seeded.length
|
|
661
|
-
});
|
|
662
|
-
}
|
|
716
|
+
this.log.info("rendered omp models.yml", {
|
|
717
|
+
agentDir: providers.agentDir,
|
|
718
|
+
providers: providers.providerIds,
|
|
719
|
+
modelRoles: providers.modelRoles,
|
|
720
|
+
seeded: providers.seeded.length
|
|
721
|
+
});
|
|
722
|
+
} else if (this.config.registry) {
|
|
723
|
+
this.log.info("registry gives omp no usable provider; omp uses its own login");
|
|
663
724
|
}
|
|
664
725
|
const modelArg = providers?.modelArg ?? this.config.model;
|
|
665
726
|
if (modelArg) args.push("--model", modelArg);
|
|
@@ -677,11 +738,13 @@ var OmpDriver = class extends AgentDriver {
|
|
|
677
738
|
this.log.info("applying tool restrictions", { args: toolArgs });
|
|
678
739
|
args.push(...toolArgs);
|
|
679
740
|
}
|
|
741
|
+
this.removeSystemPromptFile();
|
|
680
742
|
if (this.config.systemPrompt) {
|
|
681
|
-
const
|
|
682
|
-
await fs.mkdir(
|
|
683
|
-
const systemFile = path.join(
|
|
743
|
+
const promptDir = path.join(this.config.cwd, ".skaile", "cache", "omp-system");
|
|
744
|
+
await fs.mkdir(promptDir, { recursive: true });
|
|
745
|
+
const systemFile = path.join(promptDir, `${randomUUID()}.md`);
|
|
684
746
|
await fs.writeFile(systemFile, this.config.systemPrompt);
|
|
747
|
+
this.systemPromptFile = systemFile;
|
|
685
748
|
args.push("--append-system-prompt", systemFile);
|
|
686
749
|
}
|
|
687
750
|
const env = this.config.env ? { ...this.config.env } : buildOmpChildEnv(process.env);
|
|
@@ -689,7 +752,11 @@ var OmpDriver = class extends AgentDriver {
|
|
|
689
752
|
env.PI_CODING_AGENT_DIR = providers.agentDir;
|
|
690
753
|
Object.assign(env, providers.credentialEnv);
|
|
691
754
|
} else if (this.config.agentDir) {
|
|
692
|
-
|
|
755
|
+
const home = await materializeOmpIdentityDir(this.config);
|
|
756
|
+
if (home) {
|
|
757
|
+
this.log.info("omp home for the agent", { agentDir: home.agentDir });
|
|
758
|
+
env.PI_CODING_AGENT_DIR = home.agentDir;
|
|
759
|
+
}
|
|
693
760
|
}
|
|
694
761
|
if (this.config.sshKeyPath) {
|
|
695
762
|
env.GIT_SSH_COMMAND = `ssh -i "${this.config.sshKeyPath}" -o StrictHostKeyChecking=accept-new`;
|
|
@@ -1574,7 +1641,8 @@ ${input.text}` : input.text;
|
|
|
1574
1641
|
hint: "An unexpected process error occurred. Try sending your prompt again."
|
|
1575
1642
|
};
|
|
1576
1643
|
}
|
|
1577
|
-
classifyErrorMessage(
|
|
1644
|
+
classifyErrorMessage(rawMsg) {
|
|
1645
|
+
const msg = ompCredentialMessage(rawMsg);
|
|
1578
1646
|
const generic = classifyGenericErrorMessage(msg);
|
|
1579
1647
|
if (!generic) return { message: msg, category: "unknown", retryable: true };
|
|
1580
1648
|
const lower = msg.toLowerCase();
|
|
@@ -1603,7 +1671,14 @@ ${input.text}` : input.text;
|
|
|
1603
1671
|
async listModels() {
|
|
1604
1672
|
return registryModelEntries(this.config.registry);
|
|
1605
1673
|
}
|
|
1674
|
+
/** Delete the system prompt file of the process that is gone (or about to be replaced). */
|
|
1675
|
+
removeSystemPromptFile() {
|
|
1676
|
+
const file = this.systemPromptFile;
|
|
1677
|
+
this.systemPromptFile = null;
|
|
1678
|
+
if (file) rmSync(file, { force: true });
|
|
1679
|
+
}
|
|
1606
1680
|
cleanup() {
|
|
1681
|
+
this.removeSystemPromptFile();
|
|
1607
1682
|
this.rl?.close();
|
|
1608
1683
|
this.rl = null;
|
|
1609
1684
|
this.proc = null;
|
|
@@ -1635,6 +1710,6 @@ var ompDriverTarget = {
|
|
|
1635
1710
|
}).listModels()
|
|
1636
1711
|
};
|
|
1637
1712
|
|
|
1638
|
-
export { OMP_BUILTIN_TOOLS, OMP_DEFAULT_TOOLS, OMP_THINKING_LEVELS, OmpDriver, buildOmpChildEnv, buildOmpHostTools, buildOmpToolArgs, ompDriverTarget, ompStartFailureCause, ompThinkingLevel, splitOmpModel };
|
|
1713
|
+
export { OMP_BUILTIN_TOOLS, OMP_DEFAULT_TOOLS, OMP_THINKING_LEVELS, OmpDriver, buildOmpChildEnv, buildOmpHostTools, buildOmpToolArgs, ompCredentialMessage, ompDriverTarget, ompStartFailureCause, ompThinkingLevel, splitOmpModel };
|
|
1639
1714
|
//# sourceMappingURL=omp.js.map
|
|
1640
1715
|
//# sourceMappingURL=omp.js.map
|