@skaile/workspaces 4.11.0 → 4.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 +30 -0
- package/dist/{asset-feeds-3TOP4ZKE.js → asset-feeds-AAQOGRLM.js} +14 -13
- package/dist/asset-feeds-AAQOGRLM.js.map +1 -0
- package/dist/asset-manager/catalog-deployer.js +10 -9
- package/dist/asset-manager/index.js +14 -13
- package/dist/asset-manager/installer.js +10 -9
- package/dist/bridge/drivers/claude-sdk.js +229 -26
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +12 -11
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +14 -12
- package/dist/bridge/drivers/continue.js.map +1 -1
- package/dist/bridge/drivers/echo.js +11 -8
- package/dist/bridge/drivers/echo.js.map +1 -1
- package/dist/bridge/drivers/gemini.js +10 -8
- package/dist/bridge/drivers/goose.js +13 -11
- package/dist/bridge/drivers/goose.js.map +1 -1
- package/dist/bridge/drivers/omp.js +8 -6
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +15 -12
- package/dist/bridge/drivers/opencode.js.map +1 -1
- package/dist/bridge/drivers/qwen.js +10 -8
- package/dist/bridge/drivers/qwen.js.map +1 -1
- package/dist/bridge/index.js +14 -13
- package/dist/bridge/src/cloud.d.ts.map +1 -1
- package/dist/bridge/src/drivers/claude-sdk.d.ts +18 -1
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/echo.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp-models-yml.d.ts.map +1 -1
- package/dist/bridge/src/mcp-tool-schema-filter.d.ts +44 -0
- package/dist/bridge/src/mcp-tool-schema-filter.d.ts.map +1 -0
- package/dist/bridge/src/provider-materialize/continue-config-yaml.d.ts.map +1 -1
- package/dist/bridge/src/provider-materialize/env-drivers.d.ts +20 -5
- package/dist/bridge/src/provider-materialize/env-drivers.d.ts.map +1 -1
- package/dist/bridge/src/provider-materialize/opencode-config.d.ts.map +1 -1
- package/dist/bridge/src/types.d.ts +6 -2
- package/dist/bridge/src/types.d.ts.map +1 -1
- package/dist/{chunk-MKZOK4JU.js → chunk-2FBPAR2V.js} +3 -3
- package/dist/{chunk-MKZOK4JU.js.map → chunk-2FBPAR2V.js.map} +1 -1
- package/dist/{chunk-CJXSTOGW.js → chunk-4JGTXBQB.js} +4 -4
- package/dist/{chunk-CJXSTOGW.js.map → chunk-4JGTXBQB.js.map} +1 -1
- package/dist/{chunk-OUJVFZWJ.js → chunk-4SIMGJIU.js} +4 -9
- package/dist/chunk-4SIMGJIU.js.map +1 -0
- package/dist/{chunk-AT2TJEWG.js → chunk-65VAYFIJ.js} +11 -11
- package/dist/chunk-65VAYFIJ.js.map +1 -0
- package/dist/{chunk-JM2LRJ46.js → chunk-6Y3ICAPP.js} +3 -3
- package/dist/{chunk-JM2LRJ46.js.map → chunk-6Y3ICAPP.js.map} +1 -1
- package/dist/{chunk-7IRJ4K4F.js → chunk-7IH3RKKK.js} +3 -3
- package/dist/{chunk-7IRJ4K4F.js.map → chunk-7IH3RKKK.js.map} +1 -1
- package/dist/{chunk-JECDED7B.js → chunk-7NRF7BQB.js} +5 -5
- package/dist/{chunk-JECDED7B.js.map → chunk-7NRF7BQB.js.map} +1 -1
- package/dist/{chunk-O3DHAGBO.js → chunk-A2T4WIZL.js} +6 -5
- package/dist/chunk-A2T4WIZL.js.map +1 -0
- package/dist/chunk-ALLCAFHQ.js +365 -0
- package/dist/chunk-ALLCAFHQ.js.map +1 -0
- package/dist/chunk-BDFR5MHE.js +141 -0
- package/dist/chunk-BDFR5MHE.js.map +1 -0
- package/dist/{chunk-W4IPN3DD.js → chunk-BOFL7GIF.js} +62 -10
- package/dist/chunk-BOFL7GIF.js.map +1 -0
- package/dist/{chunk-WXB6YEHZ.js → chunk-BRNGJTHH.js} +3 -3
- package/dist/{chunk-WXB6YEHZ.js.map → chunk-BRNGJTHH.js.map} +1 -1
- package/dist/chunk-C3CAXQMA.js +8 -0
- package/dist/chunk-C3CAXQMA.js.map +1 -0
- package/dist/{chunk-35PMOWAD.js → chunk-CPIAQTYM.js} +4 -4
- package/dist/chunk-CPIAQTYM.js.map +1 -0
- package/dist/{chunk-REYJKU7T.js → chunk-DHMBE5J7.js} +12 -364
- package/dist/chunk-DHMBE5J7.js.map +1 -0
- package/dist/{chunk-KSIRR5PL.js → chunk-DPLIN2RA.js} +3 -3
- package/dist/{chunk-KSIRR5PL.js.map → chunk-DPLIN2RA.js.map} +1 -1
- package/dist/{chunk-PBCNRS7Q.js → chunk-EUHB2BD2.js} +6 -6
- package/dist/{chunk-PBCNRS7Q.js.map → chunk-EUHB2BD2.js.map} +1 -1
- package/dist/{chunk-6XKQEDF7.js → chunk-FKWGIDUG.js} +6 -5
- package/dist/chunk-FKWGIDUG.js.map +1 -0
- package/dist/{chunk-ILG4BXYE.js → chunk-GZZPKAV5.js} +27 -3
- package/dist/chunk-GZZPKAV5.js.map +1 -0
- package/dist/{chunk-M5H4DWIA.js → chunk-HGPSZXZP.js} +3 -3
- package/dist/{chunk-M5H4DWIA.js.map → chunk-HGPSZXZP.js.map} +1 -1
- package/dist/{chunk-L3PZINDD.js → chunk-HXTBOZL6.js} +8 -8
- package/dist/{chunk-L3PZINDD.js.map → chunk-HXTBOZL6.js.map} +1 -1
- package/dist/{chunk-IGGHUTOW.js → chunk-HZBRHZPI.js} +4 -4
- package/dist/{chunk-IGGHUTOW.js.map → chunk-HZBRHZPI.js.map} +1 -1
- package/dist/{chunk-VLXODO37.js → chunk-IQFSXFYG.js} +3 -3
- package/dist/{chunk-VLXODO37.js.map → chunk-IQFSXFYG.js.map} +1 -1
- package/dist/{chunk-3HKYCT2M.js → chunk-JMKB7IB4.js} +4 -6
- package/dist/chunk-JMKB7IB4.js.map +1 -0
- package/dist/{chunk-S2MT6SDZ.js → chunk-KTSV5TDX.js} +107 -48
- package/dist/chunk-KTSV5TDX.js.map +1 -0
- package/dist/{chunk-IECQMSQ5.js → chunk-KUH4EKQQ.js} +4 -129
- package/dist/chunk-KUH4EKQQ.js.map +1 -0
- package/dist/{chunk-3YTFHHMI.js → chunk-LCKZCLXA.js} +3 -3
- package/dist/{chunk-3YTFHHMI.js.map → chunk-LCKZCLXA.js.map} +1 -1
- package/dist/{chunk-GXACG5ZE.js → chunk-N6XJGVSK.js} +50 -41
- package/dist/chunk-N6XJGVSK.js.map +1 -0
- package/dist/{chunk-SIGVAFRJ.js → chunk-NC7YSNBP.js} +10 -10
- package/dist/{chunk-SIGVAFRJ.js.map → chunk-NC7YSNBP.js.map} +1 -1
- package/dist/{chunk-UXUDNBJM.js → chunk-NKRAHM7T.js} +3 -3
- package/dist/{chunk-UXUDNBJM.js.map → chunk-NKRAHM7T.js.map} +1 -1
- package/dist/{chunk-WILO77HE.js → chunk-NXTLDFLA.js} +4 -4
- package/dist/{chunk-WILO77HE.js.map → chunk-NXTLDFLA.js.map} +1 -1
- package/dist/{chunk-FAI2SMFE.js → chunk-P2DLXBZK.js} +4 -4
- package/dist/{chunk-FAI2SMFE.js.map → chunk-P2DLXBZK.js.map} +1 -1
- package/dist/{chunk-2HUQUTJ3.js → chunk-PE3A6FFW.js} +4 -4
- package/dist/{chunk-2HUQUTJ3.js.map → chunk-PE3A6FFW.js.map} +1 -1
- package/dist/{chunk-DMUY5C3X.js → chunk-PHURDPQO.js} +10 -8
- package/dist/chunk-PHURDPQO.js.map +1 -0
- package/dist/{chunk-3T5DRUNZ.js → chunk-PQF3NDQH.js} +5 -5
- package/dist/{chunk-3T5DRUNZ.js.map → chunk-PQF3NDQH.js.map} +1 -1
- package/dist/{chunk-7BUZQVRR.js → chunk-Q6NDQ6BH.js} +4 -4
- package/dist/{chunk-7BUZQVRR.js.map → chunk-Q6NDQ6BH.js.map} +1 -1
- package/dist/{chunk-HO4UO25I.js → chunk-QWGSKDD7.js} +91 -7
- package/dist/chunk-QWGSKDD7.js.map +1 -0
- package/dist/{chunk-2D5BYAL6.js → chunk-RQLL7L72.js} +3 -3
- package/dist/{chunk-2D5BYAL6.js.map → chunk-RQLL7L72.js.map} +1 -1
- package/dist/{chunk-3XXQPHGL.js → chunk-T3YUSWVK.js} +4 -4
- package/dist/{chunk-3XXQPHGL.js.map → chunk-T3YUSWVK.js.map} +1 -1
- package/dist/{chunk-MMLXSVQ3.js → chunk-UOJW2DOZ.js} +5 -5
- package/dist/{chunk-MMLXSVQ3.js.map → chunk-UOJW2DOZ.js.map} +1 -1
- package/dist/{chunk-ELPR5XBG.js → chunk-V4RGCKYC.js} +5 -3
- package/dist/chunk-V4RGCKYC.js.map +1 -0
- package/dist/{chunk-UKJMQZV6.js → chunk-VOEBLPXO.js} +2 -2
- package/dist/chunk-VOEBLPXO.js.map +1 -0
- package/dist/{chunk-7SNYWCQS.js → chunk-WIQDBNMF.js} +3 -3
- package/dist/{chunk-7SNYWCQS.js.map → chunk-WIQDBNMF.js.map} +1 -1
- package/dist/{chunk-A3X4LDOD.js → chunk-WQPLZUXU.js} +6 -6
- package/dist/{chunk-A3X4LDOD.js.map → chunk-WQPLZUXU.js.map} +1 -1
- package/dist/{chunk-7ZJXFQ42.js → chunk-WZQWZJYL.js} +3 -3
- package/dist/{chunk-7ZJXFQ42.js.map → chunk-WZQWZJYL.js.map} +1 -1
- package/dist/{chunk-BXV6RLF4.js → chunk-XKPFQ3JT.js} +4 -4
- package/dist/{chunk-BXV6RLF4.js.map → chunk-XKPFQ3JT.js.map} +1 -1
- package/dist/{chunk-KLMXMW6Z.js → chunk-XPDB4O4H.js} +3 -3
- package/dist/{chunk-KLMXMW6Z.js.map → chunk-XPDB4O4H.js.map} +1 -1
- package/dist/{chunk-GUZNTYHE.js → chunk-YXUVOWEU.js} +4 -4
- package/dist/{chunk-GUZNTYHE.js.map → chunk-YXUVOWEU.js.map} +1 -1
- package/dist/{chunk-I3UWSGEB.js → chunk-ZK7DQRB2.js} +3 -3
- package/dist/{chunk-I3UWSGEB.js.map → chunk-ZK7DQRB2.js.map} +1 -1
- package/dist/{chunk-KJM7Y2FW.js → chunk-ZUOZV7CS.js} +7 -7
- package/dist/{chunk-KJM7Y2FW.js.map → chunk-ZUOZV7CS.js.map} +1 -1
- package/dist/cli/index.js +76 -69
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/migrate-legacy-entry.d.ts.map +1 -1
- package/dist/cli/src/commands/project.d.ts.map +1 -1
- package/dist/cli/src/store-auth.d.ts.map +1 -1
- package/dist/connectors/config.js +5 -13
- package/dist/connectors/index.js +22 -20
- package/dist/connectors/src/config.d.ts.map +1 -1
- package/dist/connectors/src/connector-manager.d.ts.map +1 -1
- package/dist/connectors/src/materialized-connectors.d.ts.map +1 -1
- package/dist/connectors/src/secrets.d.ts.map +1 -1
- package/dist/core/index.js +9 -8
- package/dist/core/logging.js +3 -2
- package/dist/core/manifest.js +2 -2
- package/dist/core/provider-registry-credentials.js +2 -2
- package/dist/core/provider-registry.js +1 -1
- package/dist/core/runtime-assets.js +5 -4
- package/dist/core/src/index.d.ts +3 -3
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/logging/create-logger.d.ts.map +1 -1
- package/dist/core/src/logging/index.d.ts +1 -0
- package/dist/core/src/logging/index.d.ts.map +1 -1
- package/dist/core/src/logging/redact.d.ts +33 -0
- package/dist/core/src/logging/redact.d.ts.map +1 -0
- package/dist/core/src/logging/retention-value.d.ts +7 -0
- package/dist/core/src/logging/retention-value.d.ts.map +1 -0
- package/dist/core/src/logging/retention.d.ts.map +1 -1
- package/dist/core/src/logging/sanitize.d.ts +11 -0
- package/dist/core/src/logging/sanitize.d.ts.map +1 -1
- package/dist/core/src/provider-registry.d.ts +22 -0
- package/dist/core/src/provider-registry.d.ts.map +1 -1
- package/dist/core/src/workspace-config.d.ts +51 -2
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/workspace-config.js +4 -3
- package/dist/deploy/index.js +9 -8
- package/dist/deploy/index.js.map +1 -1
- package/dist/discovery/index.js +3 -3
- package/dist/{ensure-sources-2OC2X3ZM.js → ensure-sources-PSWARJPK.js} +17 -16
- package/dist/ensure-sources-PSWARJPK.js.map +1 -0
- package/dist/factory-assets/connectors/box.js +22 -20
- package/dist/factory-assets/connectors/deploy.js +22 -20
- package/dist/factory-assets/connectors/devserver.js +22 -20
- package/dist/factory-assets/connectors/flow/CONNECTOR.md +4 -2
- package/dist/factory-assets/connectors/flow/adapter.js +22 -20
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts +12 -0
- package/dist/factory-assets/connectors/flow/contract/schema.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/contract.js +4 -3
- package/dist/factory-assets/connectors/flow/engine/node-shape.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow/engine.js +13 -11
- package/dist/factory-assets/connectors/flow/prompt-fragments.js +3 -2
- package/dist/factory-assets/connectors/flow/run-flow.js +24 -22
- package/dist/factory-assets/connectors/flow/subprompt-runner.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow.js +22 -20
- package/dist/factory-assets/connectors/git/driver.d.ts.map +1 -1
- package/dist/factory-assets/connectors/git.js +22 -20
- package/dist/factory-assets/connectors/gmail.js +22 -20
- package/dist/factory-assets/connectors/googledrive.js +22 -20
- package/dist/factory-assets/connectors/local.js +22 -20
- package/dist/factory-assets/connectors/mattermost.js +22 -20
- package/dist/factory-assets/connectors/memory.js +22 -20
- package/dist/factory-assets/connectors/minio.js +22 -20
- package/dist/factory-assets/connectors/postgres.js +22 -20
- package/dist/factory-assets/connectors/s3.js +22 -20
- package/dist/factory-assets/connectors/sharepoint.js +22 -20
- package/dist/factory-assets/connectors/sqlite.js +22 -20
- package/dist/factory-assets/connectors/static-server.js +22 -20
- package/dist/factory-assets/connectors/tunnel.js +22 -20
- package/dist/factory-assets/connectors/webdav.js +22 -20
- package/dist/factory-assets/connectors/xstate-store.js +22 -20
- package/dist/factory-assets/connectors/xstate.js +22 -20
- package/dist/flows-7EB63Q2Q.js +24 -0
- package/dist/{flows-H6FL4NZU.js.map → flows-7EB63Q2Q.js.map} +1 -1
- package/dist/{helpers-RPJUSSG3.js → helpers-LHHGL2NL.js} +17 -16
- package/dist/{helpers-RPJUSSG3.js.map → helpers-LHHGL2NL.js.map} +1 -1
- package/dist/library/index.js +12 -11
- package/dist/library/install.js +1 -15
- package/dist/library/src/install/install-from-manifest.d.ts.map +1 -1
- package/dist/{library-publish-AAD6GTIF.js → library-publish-4SBO437O.js} +24 -22
- package/dist/library-publish-4SBO437O.js.map +1 -0
- package/dist/open-library-SF2F7NDS.js +37 -0
- package/dist/{open-library-HDOM4MLS.js.map → open-library-SF2F7NDS.js.map} +1 -1
- package/dist/paths-IK6Y4OIU.js +20 -0
- package/dist/{paths-RL6NZW5X.js.map → paths-IK6Y4OIU.js.map} +1 -1
- package/dist/{plugin-store-ZTAJCMTY.js → plugin-store-LUJ4GXSO.js} +11 -10
- package/dist/plugin-store-LUJ4GXSO.js.map +1 -0
- package/dist/{project-2B52FKAY.js → project-ZHPOPJBE.js} +18 -17
- package/dist/{project-2B52FKAY.js.map → project-ZHPOPJBE.js.map} +1 -1
- package/dist/resolver/index.js +10 -9
- package/dist/run-group-engine/index.js.map +1 -1
- package/dist/run-group-engine/src/rollup.d.ts.map +1 -1
- package/dist/runner/index.js +33 -31
- package/dist/runner/src/capability-registry.d.ts +13 -1
- package/dist/runner/src/capability-registry.d.ts.map +1 -1
- package/dist/runner/src/codex-init.d.ts.map +1 -1
- package/dist/runner/src/compaction/orchestrator.d.ts.map +1 -1
- package/dist/runner/src/compaction/strategy.d.ts +8 -5
- package/dist/runner/src/compaction/strategy.d.ts.map +1 -1
- package/dist/runner/src/lifecycle-handler.d.ts.map +1 -1
- package/dist/runner/src/log-content.d.ts +22 -0
- package/dist/runner/src/log-content.d.ts.map +1 -0
- package/dist/runner/src/logging-bootstrap.d.ts +6 -1
- package/dist/runner/src/logging-bootstrap.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/sdk/asset-manager.js +14 -13
- package/dist/sdk/bridge.js +14 -13
- package/dist/sdk/core.js +9 -8
- package/dist/sdk/flow.js +13 -11
- package/dist/sdk/index.js +33 -31
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +10 -9
- package/dist/sdk/runner.js +33 -31
- package/dist/{setup-MVBITSVT.js → setup-3NXXR7SH.js} +23 -22
- package/dist/setup-3NXXR7SH.js.map +1 -0
- package/dist/skills-YB5RHUAT.js +24 -0
- package/dist/{skills-Y6MU2NRI.js.map → skills-YB5RHUAT.js.map} +1 -1
- package/dist/source-C2OYNI3T.js +38 -0
- package/dist/{source-53PY7DXF.js.map → source-C2OYNI3T.js.map} +1 -1
- package/dist/{source-manifest-publish-ALRZKEBO.js → source-manifest-publish-BKS763DB.js} +25 -23
- package/dist/source-manifest-publish-BKS763DB.js.map +1 -0
- package/dist/tui/index.js +33 -31
- package/dist/tui/index.js.map +1 -1
- package/dist/types/src/manifests/preset.d.ts +5 -5
- package/dist/workspace-plugin/adapters/mcp.js +15 -14
- package/dist/workspace-plugin/adapters/omp.js +7 -7
- package/dist/workspace-plugin/adapters/omp.js.map +1 -1
- package/dist/workspace-plugin/index.js +4 -3
- package/dist/workspace-plugin/src/adapters/omp.d.ts.map +1 -1
- package/package.json +3 -1
- package/dist/asset-feeds-3TOP4ZKE.js.map +0 -1
- package/dist/chunk-35PMOWAD.js.map +0 -1
- package/dist/chunk-3HKYCT2M.js.map +0 -1
- package/dist/chunk-6XKQEDF7.js.map +0 -1
- package/dist/chunk-AT2TJEWG.js.map +0 -1
- package/dist/chunk-DMUY5C3X.js.map +0 -1
- package/dist/chunk-ELPR5XBG.js.map +0 -1
- package/dist/chunk-GXACG5ZE.js.map +0 -1
- package/dist/chunk-HO4UO25I.js.map +0 -1
- package/dist/chunk-IECQMSQ5.js.map +0 -1
- package/dist/chunk-ILG4BXYE.js.map +0 -1
- package/dist/chunk-O3DHAGBO.js.map +0 -1
- package/dist/chunk-OUJVFZWJ.js.map +0 -1
- package/dist/chunk-REYJKU7T.js.map +0 -1
- package/dist/chunk-S2MT6SDZ.js.map +0 -1
- package/dist/chunk-UKJMQZV6.js.map +0 -1
- package/dist/chunk-W4IPN3DD.js.map +0 -1
- package/dist/ensure-sources-2OC2X3ZM.js.map +0 -1
- package/dist/flows-H6FL4NZU.js +0 -23
- package/dist/library-publish-AAD6GTIF.js.map +0 -1
- package/dist/open-library-HDOM4MLS.js +0 -35
- package/dist/paths-RL6NZW5X.js +0 -19
- package/dist/plugin-store-ZTAJCMTY.js.map +0 -1
- package/dist/setup-MVBITSVT.js.map +0 -1
- package/dist/skills-Y6MU2NRI.js +0 -23
- package/dist/source-53PY7DXF.js +0 -36
- package/dist/source-manifest-publish-ALRZKEBO.js.map +0 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { WorkspacePlugin } from './chunk-
|
|
2
|
-
import { buildWorkspaceToolDefs } from './chunk-
|
|
3
|
-
import { findAiAssetsRoot } from './chunk-
|
|
1
|
+
import { WorkspacePlugin } from './chunk-WIQDBNMF.js';
|
|
2
|
+
import { buildWorkspaceToolDefs } from './chunk-HZBRHZPI.js';
|
|
3
|
+
import { findAiAssetsRoot } from './chunk-7IH3RKKK.js';
|
|
4
4
|
import { WebSocketServerTransport } from './chunk-73ZXUUL6.js';
|
|
5
5
|
import { assembleSystemPrompt, buildCapabilitiesPromptSection } from './chunk-W3UDISS2.js';
|
|
6
|
-
import { prepareNativePolicy, codexInstanceEnvironment, parseCodexCredential, parseCodexRefreshInput, parseCodexRefreshResult } from './chunk-
|
|
7
|
-
import { resolveFlowPath } from './chunk-
|
|
8
|
-
import { findAiAssetsRoot as findAiAssetsRoot$1, deployCatalogEntry, undeployCatalogEntry } from './chunk-
|
|
9
|
-
import { registerBuiltinConnectors, buildConnectorPromptSection, findMissingPackages, installNpmPackages, ConnectorManager, buildSdkConnectorTools, buildLazySdkFlowTools, describeFlowOperations, buildConnectorToolDefs, buildFlowToolDefs, driveOrchestratorTurn, SessionNodeExecutor, SessionSubpromptRunner, ClassifierSubpromptRunner, SessionInlineSubFlowRunner, buildSdkFlowTools } from './chunk-
|
|
10
|
-
import { loadConnectorDeclarations, SecretProviderChain, ConnectorStartupError, PreMintedSecretProvider, InMemorySecretProvider, resolvedConfigToDeclarations, isKnownSecretRef, deriveSingleMaterializedConnectorDeclaration } from './chunk-
|
|
11
|
-
import { EventNormalizer } from './chunk-
|
|
12
|
-
import { probeResumeTranscript } from './chunk-
|
|
6
|
+
import { prepareNativePolicy, codexInstanceEnvironment, parseCodexCredential, parseCodexRefreshInput, parseCodexRefreshResult } from './chunk-PE3A6FFW.js';
|
|
7
|
+
import { resolveFlowPath } from './chunk-65VAYFIJ.js';
|
|
8
|
+
import { findAiAssetsRoot as findAiAssetsRoot$1, deployCatalogEntry, undeployCatalogEntry } from './chunk-Q6NDQ6BH.js';
|
|
9
|
+
import { registerBuiltinConnectors, buildConnectorPromptSection, findMissingPackages, installNpmPackages, ConnectorManager, buildSdkConnectorTools, buildLazySdkFlowTools, describeFlowOperations, buildConnectorToolDefs, buildFlowToolDefs, driveOrchestratorTurn, SessionNodeExecutor, SessionSubpromptRunner, ClassifierSubpromptRunner, SessionInlineSubFlowRunner, buildSdkFlowTools } from './chunk-N6XJGVSK.js';
|
|
10
|
+
import { loadConnectorDeclarations, SecretProviderChain, ConnectorStartupError, PreMintedSecretProvider, InMemorySecretProvider, resolvedConfigToDeclarations, isKnownSecretRef, deriveSingleMaterializedConnectorDeclaration } from './chunk-UOJW2DOZ.js';
|
|
11
|
+
import { EventNormalizer } from './chunk-IQFSXFYG.js';
|
|
12
|
+
import { probeResumeTranscript } from './chunk-4SIMGJIU.js';
|
|
13
13
|
import { CodexNativeStateUnavailable } from './chunk-LOO5CB5M.js';
|
|
14
|
-
import { dispatchCapability } from './chunk-
|
|
14
|
+
import { dispatchCapability } from './chunk-CPIAQTYM.js';
|
|
15
15
|
import { classifyClaudeSdkError } from './chunk-GAH4YRCI.js';
|
|
16
|
-
import { createDriver, catalogLayer, providerCredentialEnvName, toMergedRegistry, registryCredentialEnv, AI_PROVIDER_PRESETS } from './chunk-
|
|
17
|
-
import { loadFlow } from './chunk-
|
|
18
|
-
import { parseFlowDefinition } from './chunk-
|
|
19
|
-
import { renderStimulusPrompt } from './chunk-
|
|
16
|
+
import { createDriver, catalogLayer, providerCredentialEnvName, toMergedRegistry, registryCredentialEnv, AI_PROVIDER_PRESETS } from './chunk-PQF3NDQH.js';
|
|
17
|
+
import { loadFlow } from './chunk-A2T4WIZL.js';
|
|
18
|
+
import { parseFlowDefinition } from './chunk-ALLCAFHQ.js';
|
|
19
|
+
import { renderStimulusPrompt } from './chunk-RQLL7L72.js';
|
|
20
20
|
import { withActivityLabelJsonSchema, TOOL_ACTIVITY_PROMPT_SECTION, SESSION_ROOT_CONNECTOR_ID, PROTOCOL_VERSION } from './chunk-O64WU6WS.js';
|
|
21
|
-
import { resolveSettings, loadProviderRegistry } from './chunk-
|
|
22
|
-
import { resolveRuntimeAssets } from './chunk-
|
|
21
|
+
import { resolveSettings, loadProviderRegistry } from './chunk-7NRF7BQB.js';
|
|
22
|
+
import { resolveRuntimeAssets } from './chunk-NXTLDFLA.js';
|
|
23
23
|
import { resolveDriverPaths } from './chunk-K5GBV4SA.js';
|
|
24
|
-
import { resolveSkWorkspaceConfig, resolveAgentDir, loadMcpServerDeclarations, COMPACTION_DEFAULTS, validateAssetRecipeAttr, deriveSingleMaterializedMcpDeclaration, stageMaterializedSkills, readSkillAllowList, isStagedSkillMarkerFor, unstageSkill } from './chunk-
|
|
25
|
-
import { withFsDeadline, FsDeadlineError, fsDeadlineMs, tryWithFsDeadline } from './chunk-
|
|
24
|
+
import { resolveSkWorkspaceConfig, resolveAgentDir, loadMcpServerDeclarations, COMPACTION_DEFAULTS, resolveCompactionThresholdPercent, validateAssetRecipeAttr, deriveSingleMaterializedMcpDeclaration, stageMaterializedSkills, readSkillAllowList, isStagedSkillMarkerFor, unstageSkill } from './chunk-QWGSKDD7.js';
|
|
25
|
+
import { withFsDeadline, FsDeadlineError, fsDeadlineMs, tryWithFsDeadline } from './chunk-2FBPAR2V.js';
|
|
26
26
|
import { parseAssetRef } from './chunk-GEEW6SY2.js';
|
|
27
|
-
import { resolveLogStoreConfig, createLogStoreFromConfig, OnLogBridgeSink, WsLogSink, resolveLogsRetention, enforceLogsRetention } from './chunk-
|
|
28
|
-
import { registryEntries, resolveEntryBaseUrl, parseModelRef, isEntryEnabled, parseCredentialRef } from './chunk-
|
|
29
|
-
import { getLogStore, registerLogStore, createLogger, resetLogStore, isUnwritableStreamError, markStreamBroken, isBrokenPipeError } from './chunk-
|
|
27
|
+
import { resolveLogStoreConfig, createLogStoreFromConfig, OnLogBridgeSink, WsLogSink, resolveLogsRetention, enforceLogsRetention } from './chunk-JMKB7IB4.js';
|
|
28
|
+
import { registryEntries, resolveEntryBaseUrl, parseModelRef, isEntryEnabled, parseCredentialRef } from './chunk-GZZPKAV5.js';
|
|
29
|
+
import { getLogStore, registerLogStore, createLogger, resetLogStore, isUnwritableStreamError, markStreamBroken, isBrokenPipeError, redactCredentials } from './chunk-BOFL7GIF.js';
|
|
30
30
|
import { __require } from './chunk-NSBPE2FW.js';
|
|
31
31
|
import pc from 'picocolors';
|
|
32
32
|
import path5, { join, resolve, relative, sep, isAbsolute, basename, dirname } from 'path';
|
|
@@ -114,8 +114,6 @@ function bootstrapRunnerLogStore(opts) {
|
|
|
114
114
|
const cfg = resolveLogStoreConfig({
|
|
115
115
|
sessionId: opts.sessionId,
|
|
116
116
|
workspacePath: opts.projectDir,
|
|
117
|
-
// The skaile.yaml `logging:` block is loosely typed at the workspace-config
|
|
118
|
-
// layer; the resolver validates `mode` / `level` strings at runtime.
|
|
119
117
|
yamlBlock: opts.yamlBlock
|
|
120
118
|
});
|
|
121
119
|
const store = createLogStoreFromConfig(cfg);
|
|
@@ -1115,6 +1113,20 @@ function registerCodexFlowTools(registry, manager, connectorId) {
|
|
|
1115
1113
|
if (!tools.length) throw new Error("CODEX_REQUIRED_TOOL_UNAVAILABLE");
|
|
1116
1114
|
return registerCodexToolDefinitions(registry, "flow", tools);
|
|
1117
1115
|
}
|
|
1116
|
+
|
|
1117
|
+
// runner/src/log-content.ts
|
|
1118
|
+
var LOG_CONTENT_ENV = "SKAILE_LOG_CONTENT";
|
|
1119
|
+
function isContentLoggingEnabled(env = process.env) {
|
|
1120
|
+
return env[LOG_CONTENT_ENV] === "1";
|
|
1121
|
+
}
|
|
1122
|
+
function payloadBytes(value) {
|
|
1123
|
+
try {
|
|
1124
|
+
const json = JSON.stringify(value);
|
|
1125
|
+
return json === void 0 ? 0 : Buffer.byteLength(json, "utf8");
|
|
1126
|
+
} catch {
|
|
1127
|
+
return null;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1118
1130
|
async function agentDefinitionExists(agentDir) {
|
|
1119
1131
|
try {
|
|
1120
1132
|
await fs4.access(path5.join(agentDir, "agent.yaml"));
|
|
@@ -2815,9 +2827,8 @@ function buildSystemPromptSections(parts) {
|
|
|
2815
2827
|
return systemPromptSections;
|
|
2816
2828
|
}
|
|
2817
2829
|
function logAssembledSystemPrompt(systemPrompt, log) {
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
log.debug("assembled system prompt", { length });
|
|
2830
|
+
log.debug("assembled system prompt", { length: systemPrompt?.length ?? 0 });
|
|
2831
|
+
if (isContentLoggingEnabled()) {
|
|
2821
2832
|
log.debug("system prompt content", { content: systemPrompt ?? "(empty)" });
|
|
2822
2833
|
}
|
|
2823
2834
|
}
|
|
@@ -3058,6 +3069,24 @@ var APP_CAPABILITY_PREFIX = "app.";
|
|
|
3058
3069
|
function capabilityLogInstance(cap) {
|
|
3059
3070
|
return cap.origin.kind === "app" ? `${cap.origin.appId}.${cap.name}` : cap.name;
|
|
3060
3071
|
}
|
|
3072
|
+
function failureOutcome(err, signal) {
|
|
3073
|
+
const name = err instanceof Error ? err.name : void 0;
|
|
3074
|
+
if (name === "AbortError") return "aborted";
|
|
3075
|
+
if (name === "ZodError") return "invalid_input";
|
|
3076
|
+
if (signal?.aborted && name === void 0) return "aborted";
|
|
3077
|
+
return "error";
|
|
3078
|
+
}
|
|
3079
|
+
var ERROR_IDENTIFIER = /^[A-Za-z0-9_.:-]{1,64}$/;
|
|
3080
|
+
function errorMetadata(err) {
|
|
3081
|
+
if (typeof err !== "object" || err === null) return {};
|
|
3082
|
+
const out = {};
|
|
3083
|
+
const name = err.name;
|
|
3084
|
+
if (typeof name === "string" && ERROR_IDENTIFIER.test(name)) out.errorName = name;
|
|
3085
|
+
const code = err.code;
|
|
3086
|
+
if (typeof code === "number" && Number.isFinite(code)) out.errorCode = code;
|
|
3087
|
+
else if (typeof code === "string" && ERROR_IDENTIFIER.test(code)) out.errorCode = code;
|
|
3088
|
+
return out;
|
|
3089
|
+
}
|
|
3061
3090
|
var ORIGIN_PROMPT_ORDER = [
|
|
3062
3091
|
"framework",
|
|
3063
3092
|
"client",
|
|
@@ -3285,10 +3314,21 @@ var CapabilityRegistry = class {
|
|
|
3285
3314
|
* `info "invoking"` and `info "ok"` (or `error "failed"`) under the
|
|
3286
3315
|
* `capability:<origin>:<name>` slice for every call.
|
|
3287
3316
|
*
|
|
3317
|
+
* The rows carry metadata only — call id, duration, outcome, error name and
|
|
3318
|
+
* code, input/output size in bytes — never the input, output or error
|
|
3319
|
+
* message: those hold user content and secrets, and the rows reach
|
|
3320
|
+
* `logs.db`, the live stream and the platform's central store. The thrown
|
|
3321
|
+
* error still reaches the caller unchanged. `SKAILE_LOG_CONTENT=1` adds the
|
|
3322
|
+
* content back on a developer machine (see `log-content.ts`).
|
|
3323
|
+
*
|
|
3324
|
+
* `baseCtx.callId` (the bridge's dispatch call id) correlates the rows; a random id is
|
|
3325
|
+
* used when the caller has none.
|
|
3326
|
+
*
|
|
3288
3327
|
* @throws when the capability is unknown or the input fails validation
|
|
3289
3328
|
*/
|
|
3290
3329
|
async invoke(name, input, baseCtx) {
|
|
3291
|
-
baseCtx
|
|
3330
|
+
const { callId: givenCallId, ...handlerCtx } = baseCtx;
|
|
3331
|
+
handlerCtx.signal?.throwIfAborted();
|
|
3292
3332
|
const cap = this.resolve(name);
|
|
3293
3333
|
if (!cap) {
|
|
3294
3334
|
throw new Error(`Unknown capability: ${name}`);
|
|
@@ -3298,14 +3338,34 @@ var CapabilityRegistry = class {
|
|
|
3298
3338
|
subkind: cap.origin.kind,
|
|
3299
3339
|
instance: capabilityLogInstance(cap)
|
|
3300
3340
|
});
|
|
3301
|
-
|
|
3341
|
+
const callId = givenCallId ?? randomUUID();
|
|
3342
|
+
const withContent = isContentLoggingEnabled();
|
|
3343
|
+
const startedAt = performance.now();
|
|
3344
|
+
const durationMs = () => Math.round(performance.now() - startedAt);
|
|
3345
|
+
const bytes = (value) => getLogStore()?.isEnabled("info") ?? true ? payloadBytes(value) : null;
|
|
3346
|
+
log.info("invoking", {
|
|
3347
|
+
callId,
|
|
3348
|
+
inputBytes: bytes(input),
|
|
3349
|
+
...withContent ? { input } : {}
|
|
3350
|
+
});
|
|
3302
3351
|
try {
|
|
3303
3352
|
const validated = cap.inputZod.parse(input);
|
|
3304
|
-
const result = await cap.handler(validated, { ...
|
|
3305
|
-
log.info("ok", {
|
|
3353
|
+
const result = await cap.handler(validated, { ...handlerCtx, log });
|
|
3354
|
+
log.info("ok", {
|
|
3355
|
+
callId,
|
|
3356
|
+
outcome: "ok",
|
|
3357
|
+
durationMs: durationMs(),
|
|
3358
|
+
outputBytes: bytes(result),
|
|
3359
|
+
...withContent ? { output: result } : {}
|
|
3360
|
+
});
|
|
3306
3361
|
return result;
|
|
3307
3362
|
} catch (err) {
|
|
3308
|
-
log.error("failed", err
|
|
3363
|
+
log.error("failed", withContent ? err : void 0, {
|
|
3364
|
+
callId,
|
|
3365
|
+
outcome: failureOutcome(err, handlerCtx.signal),
|
|
3366
|
+
durationMs: durationMs(),
|
|
3367
|
+
...errorMetadata(err)
|
|
3368
|
+
});
|
|
3309
3369
|
throw err;
|
|
3310
3370
|
}
|
|
3311
3371
|
}
|
|
@@ -4833,15 +4893,20 @@ ${opts.focus}`);
|
|
|
4833
4893
|
|
|
4834
4894
|
// runner/src/compaction/strategy.ts
|
|
4835
4895
|
var TokenThresholdStrategy = class {
|
|
4836
|
-
|
|
4896
|
+
thresholds;
|
|
4837
4897
|
minCooldownMs;
|
|
4898
|
+
/** Takes the whole config; the tier keys are read by {@link resolveCompactionThresholdPercent}. */
|
|
4838
4899
|
constructor(opts) {
|
|
4839
|
-
this.
|
|
4900
|
+
this.thresholds = { ...opts };
|
|
4840
4901
|
this.minCooldownMs = opts.minCooldownMs;
|
|
4841
4902
|
}
|
|
4842
4903
|
shouldCompact(context) {
|
|
4904
|
+
const thresholdPercent = resolveCompactionThresholdPercent(
|
|
4905
|
+
context.contextWindow,
|
|
4906
|
+
this.thresholds
|
|
4907
|
+
);
|
|
4843
4908
|
const fillPercent = context.estimatedTokens / context.contextWindow * 100;
|
|
4844
|
-
if (fillPercent <
|
|
4909
|
+
if (fillPercent < thresholdPercent) return false;
|
|
4845
4910
|
if (context.timeSinceLastCompaction !== null && context.timeSinceLastCompaction < this.minCooldownMs) {
|
|
4846
4911
|
return false;
|
|
4847
4912
|
}
|
|
@@ -4937,10 +5002,7 @@ var CompactionOrchestrator = class {
|
|
|
4937
5002
|
this.driver = opts.driver;
|
|
4938
5003
|
this.opts = opts;
|
|
4939
5004
|
this.config = { ...COMPACTION_DEFAULTS, ...opts.config };
|
|
4940
|
-
this.strategy = new TokenThresholdStrategy(
|
|
4941
|
-
thresholdPercent: this.config.thresholdPercent,
|
|
4942
|
-
minCooldownMs: this.config.minCooldownMs
|
|
4943
|
-
});
|
|
5005
|
+
this.strategy = new TokenThresholdStrategy(this.config);
|
|
4944
5006
|
}
|
|
4945
5007
|
/**
|
|
4946
5008
|
* How full the context window is. Prefers the driver's per-call figure; the
|
|
@@ -5639,7 +5701,7 @@ function readCurrentClaudeAccessToken(home) {
|
|
|
5639
5701
|
function raiseHookFailures(phase, results, log) {
|
|
5640
5702
|
const failed = results.filter((r) => !r.ok);
|
|
5641
5703
|
if (failed.length === 0) return;
|
|
5642
|
-
const cause = (f) =>
|
|
5704
|
+
const cause = (f) => redactCredentials(f.error ?? "unknown error");
|
|
5643
5705
|
for (const f of failed) {
|
|
5644
5706
|
log(`[lifecycle] ${phase}: connector "${f.id}" failed \u2014 ${cause(f)}`);
|
|
5645
5707
|
}
|
|
@@ -5647,11 +5709,8 @@ function raiseHookFailures(phase, results, log) {
|
|
|
5647
5709
|
`${failed.length} connector(s) failed to ${phase}: ${failed.map((f) => `${f.id}: ${cause(f)}`).join("; ")}`
|
|
5648
5710
|
);
|
|
5649
5711
|
}
|
|
5650
|
-
function redactUrlAuth(text2) {
|
|
5651
|
-
return text2.replace(/\/\/[^/\s]*@/g, "//***@");
|
|
5652
|
-
}
|
|
5653
5712
|
function replyResults(results) {
|
|
5654
|
-
return results.map((r) => r.detail ? { ...r, detail:
|
|
5713
|
+
return results.map((r) => r.detail ? { ...r, detail: redactCredentials(r.detail) } : r);
|
|
5655
5714
|
}
|
|
5656
5715
|
function buildLifecycleHandler(deps) {
|
|
5657
5716
|
const { getCompactionOrchestrator, getResourceManager, log } = deps;
|
|
@@ -7314,7 +7373,7 @@ async function startAgentServer(opts) {
|
|
|
7314
7373
|
if (!cap) return null;
|
|
7315
7374
|
return capabilityRegistry.list().find((c) => c.name === name) ?? null;
|
|
7316
7375
|
},
|
|
7317
|
-
invoke: (name, input, signal) => capabilityRegistry.invoke(name, input, { sessionId, signal }),
|
|
7376
|
+
invoke: (name, input, signal, callId) => capabilityRegistry.invoke(name, input, { sessionId, signal, callId }),
|
|
7318
7377
|
onToolsChanged: (listener) => capabilityRegistry.onToolsChanged(listener),
|
|
7319
7378
|
emitRender: (event) => sendEvent(event),
|
|
7320
7379
|
emitText: (text2) => sendEvent({
|
|
@@ -9105,7 +9164,7 @@ async function startAgentServer(opts) {
|
|
|
9105
9164
|
await dispatchRunnerCapabilityInvocation(
|
|
9106
9165
|
{ callId: cmd.callId, name: cmd.name, input: cmd.input },
|
|
9107
9166
|
{
|
|
9108
|
-
invoke: (name, input) => capabilityRegistry.invoke(name, input, { sessionId }),
|
|
9167
|
+
invoke: (name, input) => capabilityRegistry.invoke(name, input, { sessionId, callId: cmd.callId }),
|
|
9109
9168
|
// `capability_result` is a CapabilityEvent; `sendEvent` and
|
|
9110
9169
|
// `ServerTransport.send` are typed to AgentEvent alone though both
|
|
9111
9170
|
// unions ride one wire. Widening that is a consumer-breaking change.
|
|
@@ -9410,5 +9469,5 @@ function touchSession(state) {
|
|
|
9410
9469
|
}
|
|
9411
9470
|
|
|
9412
9471
|
export { CLAUDE_CODE_CREDENTIALS_KEY, COMPILE_MANIFEST_FILENAME, CapabilityRegistry, DEFAULT_CAPABILITY_CALL_TIMEOUT_MS, DEFAULT_COALESCE_MS, DEFAULT_FLOW_MUTATE_CONNECTOR_WAIT_MS, MOUNT_LIST_MAX_DEPTH, MOUNT_LIST_MAX_ENTRIES, MOUNT_READ_DEADLINE_FACTOR, MOUNT_STAT_BUDGET_MS, MOUNT_STAT_MAX_ENTRIES, MOUNT_TREE_OP_DEADLINE_FACTOR, MarkdownStreamer, PreInitRingSink, ResourceOperationError, SESSION_ROOT_WRITABLE_DIRS, SESSION_ROOT_WRITABLE_FILES, agentDefinitionExists, bootstrapCapabilityRegistry, bootstrapRunnerLogStore, buildAgentResources, buildClientCapabilityHandler, buildConnectorTokenMediator, buildContextSection, buildEnvironmentSection, buildResourcesAvailablePayload, buildStoreSnapshotReplay, builtinCapabilities, capabilityLogInstance, clearPreInitRingSink, clearSession, compileComposition, computeCapabilitySignature, computeDirectoryTotals, connectorRefreshKind, createAgentSession, createFlowConnectorReadiness, createManagedCodexSubpromptDriver, createSessionStimulusBus, defineCapability, deleteSession, dispatchResourceRequest, dispatchRunnerCapabilityInvocation, emitSystemPromptComposed, ensureClaudeSettingsDisablesConnectors, ensureGitConfigInclude, executeConnectorMutate, extractClaudeAiOauthExpiresAt, flowStartNeedsDriverRestart, getPreInitRingSink, handleMountResourceRequest, handleResourceRequest, handleSessionRootResourceRequest, hasNonTerminalFlow, hostOpResumeStimulus, installPreInitRingSink, isSessionRootPathAllowed, isTerminalFlowStatus, listSessions, loadAgentManifest, loadCompileManifest, loadCompileManifestFromDir, loadManagedCodexHostConfig, loadSession, loadSessionById, mcpAuthSecretKey, newSession, nulTailPaddingLength, pickFlowToolTarget, pickRepointedManager, planFlowMutate, prepareCodexTools, reconcilePendingDecisions, registerActiveFlow, registerCompositionCapabilities, rejectCapabilityOnApprovalDeny, resetRunnerLogStore, resolveAgentComposition, resolveAgentMixins, resolveBinding, resolveCapabilityCallTimeoutMs, resolveCapabilityResult, resolveComposition, resolveFlowMutateConnectorWaitMs, resolveMixin, runAgentChat, saveSession, setCurrentSession, setUpFlowConnector, startAgentServer, stimulusFromMetas, supportsLiveToolUpdates, touchSession, validateInputResponse, writeClaudeCodeCredentialsFile };
|
|
9413
|
-
//# sourceMappingURL=chunk-
|
|
9414
|
-
//# sourceMappingURL=chunk-
|
|
9472
|
+
//# sourceMappingURL=chunk-KTSV5TDX.js.map
|
|
9473
|
+
//# sourceMappingURL=chunk-KTSV5TDX.js.map
|