@skaile/workspaces 5.12.0 → 5.14.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 +114 -0
- package/README.md +2 -2
- package/dist/app-sdk/index.js +1 -1
- package/dist/{asset-feeds-AM6PSSGM.js → asset-feeds-PAOX3FUT.js} +20 -20
- package/dist/{asset-feeds-AM6PSSGM.js.map → asset-feeds-PAOX3FUT.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 +155 -18
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +73 -27
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +12 -11
- package/dist/bridge/drivers/continue.js.map +1 -1
- package/dist/bridge/drivers/echo.js +4 -3
- package/dist/bridge/drivers/echo.js.map +1 -1
- package/dist/bridge/drivers/gemini.js +7 -6
- package/dist/bridge/drivers/goose.js +12 -11
- package/dist/bridge/drivers/goose.js.map +1 -1
- package/dist/bridge/drivers/omp.js +105 -29
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +12 -11
- package/dist/bridge/drivers/opencode.js.map +1 -1
- package/dist/bridge/drivers/qwen.js +7 -6
- package/dist/bridge/drivers/qwen.js.map +1 -1
- package/dist/bridge/index.js +16 -15
- 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 +2 -0
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/claude-self-turns.d.ts +72 -0
- package/dist/bridge/src/drivers/claude-self-turns.d.ts.map +1 -0
- 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/bridge/src/normalizer.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +12 -0
- package/dist/bridge/src/types.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-P23WJCH2.js → chunk-3NNL334S.js} +23 -18
- package/dist/chunk-3NNL334S.js.map +1 -0
- package/dist/{chunk-6VLHITAM.js → chunk-57SF6W6E.js} +4 -3
- package/dist/chunk-57SF6W6E.js.map +1 -0
- package/dist/{chunk-GWD3QNVS.js → chunk-5IMGZAKH.js} +5 -5
- package/dist/{chunk-GWD3QNVS.js.map → chunk-5IMGZAKH.js.map} +1 -1
- package/dist/{chunk-NDF24LYP.js → chunk-5NVDOEWX.js} +15 -7
- package/dist/chunk-5NVDOEWX.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-MF54ZHWT.js → chunk-6VIVUBNN.js} +4 -271
- package/dist/chunk-6VIVUBNN.js.map +1 -0
- package/dist/{chunk-2X3JBVGD.js → chunk-7LGNJJ76.js} +18 -9
- package/dist/chunk-7LGNJJ76.js.map +1 -0
- package/dist/chunk-BASMWKPM.js +649 -0
- package/dist/chunk-BASMWKPM.js.map +1 -0
- package/dist/{chunk-PNOGX36L.js → chunk-CAPKENNF.js} +92 -26
- package/dist/chunk-CAPKENNF.js.map +1 -0
- package/dist/{chunk-7QWQTA5S.js → chunk-CNZI37HV.js} +4 -4
- package/dist/{chunk-7QWQTA5S.js.map → chunk-CNZI37HV.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-F4NJDSR7.js → chunk-D5WTOVLG.js} +7 -4
- package/dist/chunk-D5WTOVLG.js.map +1 -0
- package/dist/{chunk-XZY6SBGU.js → chunk-DHUJRIQQ.js} +3 -3
- package/dist/{chunk-XZY6SBGU.js.map → chunk-DHUJRIQQ.js.map} +1 -1
- package/dist/chunk-DWRYUWOK.js +273 -0
- package/dist/chunk-DWRYUWOK.js.map +1 -0
- package/dist/{chunk-NJV5SLEK.js → chunk-FD2IPIE2.js} +46 -46
- package/dist/chunk-FD2IPIE2.js.map +1 -0
- package/dist/{chunk-POQ6PGNE.js → chunk-GJGEDWRT.js} +22 -6
- package/dist/chunk-GJGEDWRT.js.map +1 -0
- package/dist/{chunk-CPSIPIX7.js → chunk-IG5LZ3WU.js} +8 -6
- package/dist/chunk-IG5LZ3WU.js.map +1 -0
- package/dist/{chunk-3LVB3HGH.js → chunk-IPN7N2AZ.js} +3 -3
- package/dist/{chunk-3LVB3HGH.js.map → chunk-IPN7N2AZ.js.map} +1 -1
- package/dist/{chunk-NGJIVDDD.js → chunk-IQVZIVSA.js} +3 -3
- package/dist/{chunk-NGJIVDDD.js.map → chunk-IQVZIVSA.js.map} +1 -1
- package/dist/{chunk-CTP3XBMF.js → chunk-IY5E7Y5W.js} +57 -7
- package/dist/chunk-IY5E7Y5W.js.map +1 -0
- 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-XTVSNWLL.js → chunk-M3P4BYRK.js} +34 -11
- package/dist/chunk-M3P4BYRK.js.map +1 -0
- package/dist/{chunk-X6LKA3TJ.js → chunk-MCLT3BJG.js} +6 -6
- package/dist/{chunk-X6LKA3TJ.js.map → chunk-MCLT3BJG.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-O3Q3MOAV.js +64 -0
- package/dist/chunk-O3Q3MOAV.js.map +1 -0
- package/dist/{chunk-C3BMXXTN.js → chunk-ODQGLELI.js} +68 -24
- package/dist/chunk-ODQGLELI.js.map +1 -0
- package/dist/chunk-OKQXY6FS.js +1336 -0
- package/dist/chunk-OKQXY6FS.js.map +1 -0
- package/dist/{chunk-T5TSLSRO.js → chunk-OX2W5YF3.js} +8 -8
- package/dist/{chunk-T5TSLSRO.js.map → chunk-OX2W5YF3.js.map} +1 -1
- package/dist/{chunk-N5M2EISA.js → chunk-PAUM35HD.js} +250 -71
- package/dist/chunk-PAUM35HD.js.map +1 -0
- package/dist/{chunk-YQU2BPQD.js → chunk-PGVSOHWE.js} +2 -2
- package/dist/{chunk-YQU2BPQD.js.map → chunk-PGVSOHWE.js.map} +1 -1
- package/dist/{chunk-WI4T3KIS.js → chunk-PUG7IWFF.js} +130 -23
- package/dist/chunk-PUG7IWFF.js.map +1 -0
- package/dist/{chunk-2H73V6XR.js → chunk-PW3TYWOI.js} +3 -3
- package/dist/{chunk-2H73V6XR.js.map → chunk-PW3TYWOI.js.map} +1 -1
- 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-TVAR4JHA.js → chunk-QAYL3PYY.js} +320 -51
- package/dist/chunk-QAYL3PYY.js.map +1 -0
- package/dist/{chunk-7XWUJC3A.js → chunk-QELQDY5K.js} +3 -3
- package/dist/{chunk-7XWUJC3A.js.map → chunk-QELQDY5K.js.map} +1 -1
- package/dist/{chunk-VRLKHL74.js → chunk-S6FZUR5H.js} +7 -6
- package/dist/chunk-S6FZUR5H.js.map +1 -0
- package/dist/{chunk-SHQMPGOL.js → chunk-TYUJPQNX.js} +10 -5
- package/dist/chunk-TYUJPQNX.js.map +1 -0
- package/dist/chunk-U27JRO5L.js +13 -0
- package/dist/chunk-U27JRO5L.js.map +1 -0
- package/dist/{chunk-ICIYSJBQ.js → chunk-UK3LRPJ5.js} +15 -7
- package/dist/chunk-UK3LRPJ5.js.map +1 -0
- package/dist/{chunk-KVSDRB35.js → chunk-UQ4SQOR6.js} +5 -5
- package/dist/{chunk-KVSDRB35.js.map → chunk-UQ4SQOR6.js.map} +1 -1
- 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-V7AWO5FL.js} +3 -3
- package/dist/{chunk-HYMERG57.js.map → chunk-V7AWO5FL.js.map} +1 -1
- package/dist/chunk-VTG5Z3KD.js +345 -0
- package/dist/chunk-VTG5Z3KD.js.map +1 -0
- package/dist/{chunk-27L6BBAT.js → chunk-VTXXBYB3.js} +10 -10
- package/dist/{chunk-27L6BBAT.js.map → chunk-VTXXBYB3.js.map} +1 -1
- package/dist/{chunk-XMAJJPA4.js → chunk-WTEYDNTR.js} +3 -3
- package/dist/{chunk-XMAJJPA4.js.map → chunk-WTEYDNTR.js.map} +1 -1
- package/dist/{chunk-NJXR5OAM.js → chunk-YFIHFJEB.js} +4 -4
- package/dist/{chunk-NJXR5OAM.js.map → chunk-YFIHFJEB.js.map} +1 -1
- package/dist/{chunk-VMKMFS2Q.js → chunk-YIDZJHY6.js} +3 -3
- package/dist/{chunk-VMKMFS2Q.js.map → chunk-YIDZJHY6.js.map} +1 -1
- 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-SMT3LNAG.js → chunk-ZBD6EITA.js} +4 -4
- package/dist/{chunk-SMT3LNAG.js.map → chunk-ZBD6EITA.js.map} +1 -1
- package/dist/{chunk-JQ3DXNQV.js → chunk-ZDTZGEJG.js} +6 -6
- package/dist/{chunk-JQ3DXNQV.js.map → chunk-ZDTZGEJG.js.map} +1 -1
- package/dist/{chunk-X4BAYGMT.js → chunk-ZIW34FGO.js} +3 -3
- package/dist/{chunk-X4BAYGMT.js.map → chunk-ZIW34FGO.js.map} +1 -1
- 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 +493 -232
- 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 +7 -0
- 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 +20 -19
- package/dist/connectors/src/config.d.ts.map +1 -1
- package/dist/{connectors-UNKUKEPG.js → connectors-2TEGRRYC.js} +23 -22
- package/dist/{connectors-UNKUKEPG.js.map → connectors-2TEGRRYC.js.map} +1 -1
- package/dist/connectors-shared/index.js +2 -2
- 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 +2 -2
- 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 +40 -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-EG7YKKZL.js} +18 -18
- package/dist/{ensure-sources-POMEQSTM.js.map → ensure-sources-EG7YKKZL.js.map} +1 -1
- package/dist/factory-assets/README.md +1 -1
- package/dist/factory-assets/connectors/box.js +20 -19
- package/dist/factory-assets/connectors/deploy.js +20 -19
- package/dist/factory-assets/connectors/devserver.js +20 -19
- package/dist/factory-assets/connectors/flow/adapter.js +20 -19
- 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 +22 -21
- package/dist/factory-assets/connectors/flow.js +20 -19
- package/dist/factory-assets/connectors/git.js +20 -19
- package/dist/factory-assets/connectors/gmail.js +20 -19
- package/dist/factory-assets/connectors/googledrive.js +20 -19
- package/dist/factory-assets/connectors/local.js +20 -19
- package/dist/factory-assets/connectors/mattermost.js +20 -19
- package/dist/factory-assets/connectors/memory.js +20 -19
- package/dist/factory-assets/connectors/minio.js +20 -19
- package/dist/factory-assets/connectors/postgres.js +20 -19
- package/dist/factory-assets/connectors/s3.js +20 -19
- package/dist/factory-assets/connectors/sharepoint.js +20 -19
- package/dist/factory-assets/connectors/sqlite.js +20 -19
- package/dist/factory-assets/connectors/static-server.js +20 -19
- package/dist/factory-assets/connectors/tunnel.js +20 -19
- package/dist/factory-assets/connectors/webdav.js +20 -19
- package/dist/factory-assets/connectors/xstate-store.js +20 -19
- package/dist/factory-assets/connectors/xstate.js +20 -19
- package/dist/{flows-DVKMZKM4.js → flows-5TW3XFMH.js} +13 -13
- package/dist/{flows-DVKMZKM4.js.map → flows-5TW3XFMH.js.map} +1 -1
- package/dist/{helpers-Y4OT7VIS.js → helpers-BQGXEKRP.js} +18 -18
- package/dist/{helpers-Y4OT7VIS.js.map → helpers-BQGXEKRP.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-EUP524PE.js} +28 -25
- package/dist/library-publish-EUP524PE.js.map +1 -0
- package/dist/model-endpoint/index.d.ts +2 -0
- package/dist/model-endpoint/index.js +9 -0
- package/dist/model-endpoint/index.js.map +1 -0
- package/dist/model-endpoint/src/index.d.ts +4 -0
- package/dist/model-endpoint/src/index.d.ts.map +1 -0
- package/dist/model-endpoint/src/openai-chat.d.ts +105 -0
- package/dist/model-endpoint/src/openai-chat.d.ts.map +1 -0
- package/dist/model-endpoint/src/openai-responses.d.ts +106 -0
- package/dist/model-endpoint/src/openai-responses.d.ts.map +1 -0
- package/dist/model-endpoint/src/openai-shared.d.ts +77 -0
- package/dist/model-endpoint/src/openai-shared.d.ts.map +1 -0
- package/dist/model-endpoint/src/resolve.d.ts +36 -0
- package/dist/model-endpoint/src/resolve.d.ts.map +1 -0
- package/dist/model-endpoint/src/server.d.ts +16 -0
- package/dist/model-endpoint/src/server.d.ts.map +1 -0
- package/dist/model-endpoint/src/types.d.ts +78 -0
- package/dist/model-endpoint/src/types.d.ts.map +1 -0
- package/dist/open-library-QNMIMZYS.js +40 -0
- package/dist/{open-library-N6ESO6IK.js.map → open-library-QNMIMZYS.js.map} +1 -1
- package/dist/open-registry-BOUCBDLF.js +32 -0
- package/dist/{open-registry-CBZ5MWTT.js.map → open-registry-BOUCBDLF.js.map} +1 -1
- package/dist/paths-B6SX6J6T.js +22 -0
- package/dist/{paths-U6W6MQNQ.js.map → paths-B6SX6J6T.js.map} +1 -1
- package/dist/{plugin-store-XMZSPVBF.js → plugin-store-MLFP3WJ7.js} +62 -20
- package/dist/plugin-store-MLFP3WJ7.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-GXCIEJGM.js +82 -0
- package/dist/{project-UP52HEHC.js.map → project-GXCIEJGM.js.map} +1 -1
- package/dist/resolver/index.js +9 -9
- package/dist/runner/index.js +35 -32
- 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/model-endpoint-discovery.d.ts +64 -0
- package/dist/runner/src/model-endpoint-discovery.d.ts.map +1 -0
- package/dist/runner/src/serve.d.ts +6 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/runner/src/session-builder.d.ts +8 -0
- 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 +16 -15
- package/dist/sdk/core.js +8 -8
- package/dist/sdk/flow.js +9 -9
- package/dist/sdk/index.js +35 -32
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +9 -9
- package/dist/sdk/runner.js +35 -32
- package/dist/sdk/session.js +2 -2
- package/dist/sdk/types.js +1 -1
- package/dist/serve-preflight-GNBW3O4U.js +64 -0
- package/dist/serve-preflight-GNBW3O4U.js.map +1 -0
- package/dist/session/index.js +2 -2
- package/dist/{setup-5IRUH5OS.js → setup-HJEYEXLS.js} +26 -25
- package/dist/setup-HJEYEXLS.js.map +1 -0
- package/dist/skills-4WMYGJDL.js +26 -0
- package/dist/{skills-HA36RFNM.js.map → skills-4WMYGJDL.js.map} +1 -1
- package/dist/source-5VL6PHER.js +42 -0
- package/dist/{source-DX5SGWEI.js.map → source-5VL6PHER.js.map} +1 -1
- package/dist/{source-manifest-publish-NMRLXWVW.js → source-manifest-publish-Q66H7EJI.js} +25 -24
- package/dist/source-manifest-publish-Q66H7EJI.js.map +1 -0
- package/dist/tui/index.js +52 -39
- package/dist/tui/index.js.map +1 -1
- package/dist/tui/src/repl.d.ts.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/delivery.d.ts.map +1 -1
- package/dist/types/src/events.d.ts +55 -1
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +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/types/src/version.d.ts +11 -1
- package/dist/types/src/version.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +27 -26
- package/dist/workspace-plugin/adapters/omp.js +14 -14
- package/dist/workspace-plugin/index.js +1 -1
- package/package.json +12 -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-F4NJDSR7.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-MF54ZHWT.js.map +0 -1
- package/dist/chunk-N5M2EISA.js.map +0 -1
- package/dist/chunk-NDF24LYP.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-VRLKHL74.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/setup-5IRUH5OS.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,11 +1,12 @@
|
|
|
1
1
|
import { checkToolInputSchema } from '../../chunk-X5O56UO4.js';
|
|
2
|
-
import { entrySurface } from '../../chunk-
|
|
3
|
-
import { dispatchCapability } from '../../chunk-
|
|
2
|
+
import { entrySurface } from '../../chunk-IQVZIVSA.js';
|
|
3
|
+
import { dispatchCapability } from '../../chunk-PW3TYWOI.js';
|
|
4
4
|
import { ReconfigureLedger, stripRunnerPrivateEnv, classifyGenericErrorMessage } from '../../chunk-B4X2N7JQ.js';
|
|
5
5
|
import { wrapAgentCommand, resolveAgentExec } from '../../chunk-YROR332M.js';
|
|
6
|
-
import {
|
|
6
|
+
import { AgentDriver, getBridgeLogger, TOOL_ALLOWLIST_UNSUPPORTED, registryDriverConfig } from '../../chunk-DWRYUWOK.js';
|
|
7
|
+
import { BUILTIN_DRIVER_CATALOG, unresolvedProviderCredentials, entryCredentialValue, providerCredentialEnvName } from '../../chunk-6VIVUBNN.js';
|
|
7
8
|
import '../../chunk-6E6PKKAD.js';
|
|
8
|
-
import { withActivityLabelJsonSchema } from '../../chunk-
|
|
9
|
+
import { withActivityLabelJsonSchema } from '../../chunk-D5WTOVLG.js';
|
|
9
10
|
import '../../chunk-ICSCSM5D.js';
|
|
10
11
|
import '../../chunk-DKXNKFKP.js';
|
|
11
12
|
import { AI_PROVIDER_SURFACES, registryEntries, isEntryEnabled, parseModelRef, normalizeEntryBaseUrl, resolveEntryBaseUrl } from '../../chunk-MJHSLODD.js';
|
|
@@ -13,13 +14,14 @@ import '../../chunk-C3CAXQMA.js';
|
|
|
13
14
|
import '../../chunk-BOFL7GIF.js';
|
|
14
15
|
import '../../chunk-NSBPE2FW.js';
|
|
15
16
|
import { spawn } from 'child_process';
|
|
17
|
+
import { randomUUID, createHash } from 'crypto';
|
|
18
|
+
import { rmSync } from 'fs';
|
|
16
19
|
import fs from 'fs/promises';
|
|
17
20
|
import path from 'path';
|
|
18
21
|
import { createInterface } from 'readline';
|
|
19
22
|
import * as z from 'zod';
|
|
20
|
-
import { createHash } from 'crypto';
|
|
21
23
|
import os from 'os';
|
|
22
|
-
import {
|
|
24
|
+
import { stringify, parse } from 'yaml';
|
|
23
25
|
|
|
24
26
|
var OMP_API_VALUES = [...AI_PROVIDER_SURFACES, "google-gemini-cli"];
|
|
25
27
|
var OMP_DISCOVERY_TYPES = [
|
|
@@ -42,6 +44,20 @@ var OWNED_AGENT_DIR_FILES = {
|
|
|
42
44
|
"config.yaml.lock": true,
|
|
43
45
|
"settings.json": true
|
|
44
46
|
};
|
|
47
|
+
var OMP_RUNTIME_ENTRIES = {
|
|
48
|
+
"agent.db": true,
|
|
49
|
+
"agent.db-shm": true,
|
|
50
|
+
"agent.db-wal": true,
|
|
51
|
+
"models.db": true,
|
|
52
|
+
"models.db-shm": true,
|
|
53
|
+
"models.db-wal": true,
|
|
54
|
+
"skill-descriptions.db": true,
|
|
55
|
+
"skill-descriptions.db-shm": true,
|
|
56
|
+
"skill-descriptions.db-wal": true,
|
|
57
|
+
"custom-session-files": true,
|
|
58
|
+
intercom: true,
|
|
59
|
+
sessions: true
|
|
60
|
+
};
|
|
45
61
|
function entryModelIds(entry) {
|
|
46
62
|
const logical = /* @__PURE__ */ new Set([
|
|
47
63
|
...Object.keys(entry.model_map ?? {}),
|
|
@@ -278,26 +294,71 @@ async function materializeOmpProviders(config) {
|
|
|
278
294
|
([, entry]) => (entry.kind === "llm" || entry.kind === "embed") && isEntryEnabled(entry)
|
|
279
295
|
);
|
|
280
296
|
if (!selectable) return void 0;
|
|
297
|
+
const env = { ...process.env, ...config.env };
|
|
298
|
+
const selected = config.modelRef ? parseModelRef(config.modelRef, registry, config.roles) : void 0;
|
|
299
|
+
const usable = renderOmpRegistry(registry, {
|
|
300
|
+
env,
|
|
301
|
+
...config.roles ? { roles: config.roles } : {},
|
|
302
|
+
...config.modelRef ? { modelRef: config.modelRef } : {}
|
|
303
|
+
}).providerIds;
|
|
304
|
+
if (usable.length === 0) return void 0;
|
|
305
|
+
if (selected && !usable.includes(selected.providerId)) return void 0;
|
|
281
306
|
const plan = await planOmpAgentDir({
|
|
282
307
|
cwd: config.cwd,
|
|
283
308
|
...config.sessionId ? { sessionId: config.sessionId } : {},
|
|
284
309
|
...config.driverOptions?.omp ? { options: config.driverOptions.omp } : {}
|
|
285
310
|
});
|
|
286
311
|
const rendered = await materializeOmpAgentDir(plan.agentDir, registry, {
|
|
287
|
-
env
|
|
312
|
+
env,
|
|
288
313
|
...plan.seedFrom ? { seedFrom: plan.seedFrom } : {},
|
|
289
314
|
...config.agentDir ? { identityDir: config.agentDir } : {},
|
|
290
315
|
...config.roles ? { roles: config.roles } : {},
|
|
291
316
|
...config.modelRef ? { modelRef: config.modelRef } : {}
|
|
292
317
|
});
|
|
293
|
-
const selected = config.modelRef ? parseModelRef(config.modelRef, registry, config.roles) : void 0;
|
|
294
318
|
return {
|
|
295
319
|
...rendered,
|
|
296
320
|
...selected?.providerModelId ? { modelArg: `${selected.providerId}/${selected.providerModelId}` } : {}
|
|
297
321
|
};
|
|
298
322
|
}
|
|
323
|
+
async function materializeOmpIdentityDir(config) {
|
|
324
|
+
const identityDir = config.agentDir;
|
|
325
|
+
if (!identityDir) return void 0;
|
|
326
|
+
const agentKey = createHash("sha256").update(`${path.resolve(identityDir)}\0${path.resolve(config.cwd)}`).digest("hex").slice(0, 12);
|
|
327
|
+
const plan = await planOmpAgentDir({
|
|
328
|
+
cwd: config.cwd,
|
|
329
|
+
sessionId: `${config.sessionId?.trim() || "agent"}-${agentKey}`,
|
|
330
|
+
...config.driverOptions?.omp ? { options: config.driverOptions.omp } : {}
|
|
331
|
+
});
|
|
332
|
+
await fs.mkdir(plan.agentDir, { recursive: true });
|
|
333
|
+
const seeded = plan.seedFrom ? await linkInto(plan.agentDir, plan.seedFrom, OWNED_AGENT_DIR_FILES) : [];
|
|
334
|
+
if (plan.seedFrom) {
|
|
335
|
+
for (const name of Object.keys(OWNED_AGENT_DIR_FILES)) {
|
|
336
|
+
const from = path.join(plan.seedFrom, name);
|
|
337
|
+
try {
|
|
338
|
+
if (!(await fs.stat(from)).isFile()) continue;
|
|
339
|
+
} catch {
|
|
340
|
+
continue;
|
|
341
|
+
}
|
|
342
|
+
const to = path.join(plan.agentDir, name);
|
|
343
|
+
await removeEntry(to);
|
|
344
|
+
await fs.copyFile(from, to);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
const identity = await linkInto(plan.agentDir, identityDir, {
|
|
348
|
+
...OWNED_AGENT_DIR_FILES,
|
|
349
|
+
...OMP_RUNTIME_ENTRIES
|
|
350
|
+
});
|
|
351
|
+
return { agentDir: plan.agentDir, seeded, identity };
|
|
352
|
+
}
|
|
299
353
|
|
|
300
354
|
// bridge/src/drivers/omp.ts
|
|
355
|
+
function ompCredentialMessage(msg) {
|
|
356
|
+
const match = /^No API key found for ([A-Za-z0-9._-]+?)\.?(?:\s|$)/.exec(msg);
|
|
357
|
+
if (!match) return msg;
|
|
358
|
+
const provider = match[1];
|
|
359
|
+
const envName = `${provider.toUpperCase().replace(/[^A-Z0-9]/g, "_")}_API_KEY`;
|
|
360
|
+
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).`;
|
|
361
|
+
}
|
|
301
362
|
var OMP_BASE_ENV_KEYS = ["PATH", "HOME", "USER", "HOSTNAME", "SKAILE_SESSION_ID"];
|
|
302
363
|
function buildOmpChildEnv(parent) {
|
|
303
364
|
const out = {};
|
|
@@ -477,6 +538,8 @@ var OmpDriver = class extends AgentDriver {
|
|
|
477
538
|
_lastContextTokens = null;
|
|
478
539
|
/** Context window of the active model, from `get_state.contextUsage`. */
|
|
479
540
|
_contextWindow = null;
|
|
541
|
+
/** Per-spawn file holding the system prompt omp was started with; removed with the process. */
|
|
542
|
+
systemPromptFile = null;
|
|
480
543
|
getTokenUsage() {
|
|
481
544
|
return this._lastTokens;
|
|
482
545
|
}
|
|
@@ -613,8 +676,8 @@ var OmpDriver = class extends AgentDriver {
|
|
|
613
676
|
* @param config - Driver configuration. omp-relevant fields:
|
|
614
677
|
* - `cwd` — working directory; omp session files are stored under `<cwd>/.omp/sessions/`.
|
|
615
678
|
* - `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` —
|
|
679
|
+
* - `systemPrompt` — written to a per-spawn file under `<cwd>/.skaile/cache/omp-system/` and appended via `--append-system-prompt`.
|
|
680
|
+
* - `agentDir` — its entries are linked into omp's private home (`PI_CODING_AGENT_DIR`); the directory itself is never omp's home.
|
|
618
681
|
* - `sshKeyPath` — injected as `GIT_SSH_COMMAND` for authenticated git operations.
|
|
619
682
|
* - `resumeSessionId` — omp session UUID to restore via `--session <id>`.
|
|
620
683
|
*/
|
|
@@ -633,7 +696,10 @@ var OmpDriver = class extends AgentDriver {
|
|
|
633
696
|
async start() {
|
|
634
697
|
if (this.startPromise) return this.startPromise;
|
|
635
698
|
if (this.proc) return;
|
|
636
|
-
this.startPromise = this._start()
|
|
699
|
+
this.startPromise = this._start().catch((err) => {
|
|
700
|
+
this.removeSystemPromptFile();
|
|
701
|
+
throw err;
|
|
702
|
+
});
|
|
637
703
|
return this.startPromise;
|
|
638
704
|
}
|
|
639
705
|
async _start() {
|
|
@@ -648,18 +714,14 @@ var OmpDriver = class extends AgentDriver {
|
|
|
648
714
|
const providers = await materializeOmpProviders(this.config);
|
|
649
715
|
if (providers) {
|
|
650
716
|
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
|
-
}
|
|
717
|
+
this.log.info("rendered omp models.yml", {
|
|
718
|
+
agentDir: providers.agentDir,
|
|
719
|
+
providers: providers.providerIds,
|
|
720
|
+
modelRoles: providers.modelRoles,
|
|
721
|
+
seeded: providers.seeded.length
|
|
722
|
+
});
|
|
723
|
+
} else if (this.config.registry) {
|
|
724
|
+
this.log.info("registry gives omp no usable provider; omp uses its own login");
|
|
663
725
|
}
|
|
664
726
|
const modelArg = providers?.modelArg ?? this.config.model;
|
|
665
727
|
if (modelArg) args.push("--model", modelArg);
|
|
@@ -677,11 +739,13 @@ var OmpDriver = class extends AgentDriver {
|
|
|
677
739
|
this.log.info("applying tool restrictions", { args: toolArgs });
|
|
678
740
|
args.push(...toolArgs);
|
|
679
741
|
}
|
|
742
|
+
this.removeSystemPromptFile();
|
|
680
743
|
if (this.config.systemPrompt) {
|
|
681
|
-
const
|
|
682
|
-
await fs.mkdir(
|
|
683
|
-
const systemFile = path.join(
|
|
744
|
+
const promptDir = path.join(this.config.cwd, ".skaile", "cache", "omp-system");
|
|
745
|
+
await fs.mkdir(promptDir, { recursive: true });
|
|
746
|
+
const systemFile = path.join(promptDir, `${randomUUID()}.md`);
|
|
684
747
|
await fs.writeFile(systemFile, this.config.systemPrompt);
|
|
748
|
+
this.systemPromptFile = systemFile;
|
|
685
749
|
args.push("--append-system-prompt", systemFile);
|
|
686
750
|
}
|
|
687
751
|
const env = this.config.env ? { ...this.config.env } : buildOmpChildEnv(process.env);
|
|
@@ -689,7 +753,11 @@ var OmpDriver = class extends AgentDriver {
|
|
|
689
753
|
env.PI_CODING_AGENT_DIR = providers.agentDir;
|
|
690
754
|
Object.assign(env, providers.credentialEnv);
|
|
691
755
|
} else if (this.config.agentDir) {
|
|
692
|
-
|
|
756
|
+
const home = await materializeOmpIdentityDir(this.config);
|
|
757
|
+
if (home) {
|
|
758
|
+
this.log.info("omp home for the agent", { agentDir: home.agentDir });
|
|
759
|
+
env.PI_CODING_AGENT_DIR = home.agentDir;
|
|
760
|
+
}
|
|
693
761
|
}
|
|
694
762
|
if (this.config.sshKeyPath) {
|
|
695
763
|
env.GIT_SSH_COMMAND = `ssh -i "${this.config.sshKeyPath}" -o StrictHostKeyChecking=accept-new`;
|
|
@@ -1574,7 +1642,8 @@ ${input.text}` : input.text;
|
|
|
1574
1642
|
hint: "An unexpected process error occurred. Try sending your prompt again."
|
|
1575
1643
|
};
|
|
1576
1644
|
}
|
|
1577
|
-
classifyErrorMessage(
|
|
1645
|
+
classifyErrorMessage(rawMsg) {
|
|
1646
|
+
const msg = ompCredentialMessage(rawMsg);
|
|
1578
1647
|
const generic = classifyGenericErrorMessage(msg);
|
|
1579
1648
|
if (!generic) return { message: msg, category: "unknown", retryable: true };
|
|
1580
1649
|
const lower = msg.toLowerCase();
|
|
@@ -1603,7 +1672,14 @@ ${input.text}` : input.text;
|
|
|
1603
1672
|
async listModels() {
|
|
1604
1673
|
return registryModelEntries(this.config.registry);
|
|
1605
1674
|
}
|
|
1675
|
+
/** Delete the system prompt file of the process that is gone (or about to be replaced). */
|
|
1676
|
+
removeSystemPromptFile() {
|
|
1677
|
+
const file = this.systemPromptFile;
|
|
1678
|
+
this.systemPromptFile = null;
|
|
1679
|
+
if (file) rmSync(file, { force: true });
|
|
1680
|
+
}
|
|
1606
1681
|
cleanup() {
|
|
1682
|
+
this.removeSystemPromptFile();
|
|
1607
1683
|
this.rl?.close();
|
|
1608
1684
|
this.rl = null;
|
|
1609
1685
|
this.proc = null;
|
|
@@ -1635,6 +1711,6 @@ var ompDriverTarget = {
|
|
|
1635
1711
|
}).listModels()
|
|
1636
1712
|
};
|
|
1637
1713
|
|
|
1638
|
-
export { OMP_BUILTIN_TOOLS, OMP_DEFAULT_TOOLS, OMP_THINKING_LEVELS, OmpDriver, buildOmpChildEnv, buildOmpHostTools, buildOmpToolArgs, ompDriverTarget, ompStartFailureCause, ompThinkingLevel, splitOmpModel };
|
|
1714
|
+
export { OMP_BUILTIN_TOOLS, OMP_DEFAULT_TOOLS, OMP_THINKING_LEVELS, OmpDriver, buildOmpChildEnv, buildOmpHostTools, buildOmpToolArgs, ompCredentialMessage, ompDriverTarget, ompStartFailureCause, ompThinkingLevel, splitOmpModel };
|
|
1639
1715
|
//# sourceMappingURL=omp.js.map
|
|
1640
1716
|
//# sourceMappingURL=omp.js.map
|