@skaile/workspaces 4.12.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 +12 -0
- package/dist/{asset-feeds-WSKIL5GA.js → asset-feeds-AAQOGRLM.js} +9 -8
- package/dist/asset-feeds-AAQOGRLM.js.map +1 -0
- package/dist/asset-manager/catalog-deployer.js +5 -4
- package/dist/asset-manager/index.js +8 -7
- package/dist/asset-manager/installer.js +6 -5
- package/dist/bridge/drivers/claude-sdk.js +220 -19
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +8 -7
- package/dist/bridge/drivers/codex.js.map +1 -1
- package/dist/bridge/drivers/continue.js +9 -8
- package/dist/bridge/drivers/continue.js.map +1 -1
- package/dist/bridge/drivers/echo.js +3 -2
- package/dist/bridge/drivers/echo.js.map +1 -1
- package/dist/bridge/drivers/gemini.js +7 -6
- package/dist/bridge/drivers/goose.js +9 -8
- package/dist/bridge/drivers/goose.js.map +1 -1
- package/dist/bridge/drivers/omp.js +4 -3
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +9 -8
- 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 +8 -7
- 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/mcp-tool-schema-filter.d.ts +44 -0
- package/dist/bridge/src/mcp-tool-schema-filter.d.ts.map +1 -0
- package/dist/{chunk-C7R65ZTD.js → chunk-4JGTXBQB.js} +4 -4
- package/dist/{chunk-C7R65ZTD.js.map → chunk-4JGTXBQB.js.map} +1 -1
- package/dist/{chunk-RE2XE2AP.js → chunk-65VAYFIJ.js} +6 -6
- package/dist/chunk-65VAYFIJ.js.map +1 -0
- package/dist/{chunk-BVYTXIN5.js → chunk-6Y3ICAPP.js} +3 -3
- package/dist/{chunk-BVYTXIN5.js.map → chunk-6Y3ICAPP.js.map} +1 -1
- package/dist/{chunk-3QCLMSXU.js → chunk-7NRF7BQB.js} +4 -4
- package/dist/{chunk-3QCLMSXU.js.map → chunk-7NRF7BQB.js.map} +1 -1
- package/dist/{chunk-626UIDZT.js → chunk-A2T4WIZL.js} +3 -3
- package/dist/{chunk-626UIDZT.js.map → chunk-A2T4WIZL.js.map} +1 -1
- package/dist/{chunk-DMJ4FUEO.js → chunk-BDFR5MHE.js} +3 -3
- package/dist/{chunk-DMJ4FUEO.js.map → chunk-BDFR5MHE.js.map} +1 -1
- package/dist/{chunk-C7DPL3YA.js → chunk-BRNGJTHH.js} +3 -3
- package/dist/{chunk-C7DPL3YA.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-QOCH3LO7.js → chunk-EUHB2BD2.js} +5 -5
- package/dist/{chunk-QOCH3LO7.js.map → chunk-EUHB2BD2.js.map} +1 -1
- package/dist/{chunk-TMOS6KL5.js → chunk-FKWGIDUG.js} +6 -6
- package/dist/{chunk-TMOS6KL5.js.map → chunk-FKWGIDUG.js.map} +1 -1
- package/dist/{chunk-5UPJWC3M.js → chunk-HXTBOZL6.js} +7 -7
- package/dist/{chunk-5UPJWC3M.js.map → chunk-HXTBOZL6.js.map} +1 -1
- package/dist/{chunk-MH4GYGOW.js → chunk-HZBRHZPI.js} +3 -3
- package/dist/{chunk-MH4GYGOW.js.map → chunk-HZBRHZPI.js.map} +1 -1
- package/dist/{chunk-KECSNBET.js → chunk-IQFSXFYG.js} +3 -3
- package/dist/{chunk-KECSNBET.js.map → chunk-IQFSXFYG.js.map} +1 -1
- package/dist/{chunk-RUBPZLMO.js → chunk-JMKB7IB4.js} +3 -5
- package/dist/chunk-JMKB7IB4.js.map +1 -0
- package/dist/{chunk-BYBIEHQX.js → chunk-KTSV5TDX.js} +24 -24
- package/dist/chunk-KTSV5TDX.js.map +1 -0
- package/dist/{chunk-UE4AKJNQ.js → chunk-KUH4EKQQ.js} +3 -3
- package/dist/{chunk-UE4AKJNQ.js.map → chunk-KUH4EKQQ.js.map} +1 -1
- package/dist/{chunk-LHBWHIIT.js → chunk-LCKZCLXA.js} +2 -2
- package/dist/{chunk-LHBWHIIT.js.map → chunk-LCKZCLXA.js.map} +1 -1
- package/dist/{chunk-QUSE2T4N.js → chunk-N6XJGVSK.js} +7 -7
- package/dist/chunk-N6XJGVSK.js.map +1 -0
- package/dist/{chunk-N5O6Z7HV.js → chunk-NC7YSNBP.js} +9 -9
- package/dist/{chunk-N5O6Z7HV.js.map → chunk-NC7YSNBP.js.map} +1 -1
- package/dist/{chunk-ZSB2SPV4.js → chunk-NKRAHM7T.js} +3 -3
- package/dist/{chunk-ZSB2SPV4.js.map → chunk-NKRAHM7T.js.map} +1 -1
- package/dist/{chunk-N4DHPRBS.js → chunk-NXTLDFLA.js} +3 -3
- package/dist/{chunk-N4DHPRBS.js.map → chunk-NXTLDFLA.js.map} +1 -1
- package/dist/{chunk-6XIIGQXL.js → chunk-PE3A6FFW.js} +3 -3
- package/dist/{chunk-6XIIGQXL.js.map → chunk-PE3A6FFW.js.map} +1 -1
- package/dist/{chunk-RJNBMEFG.js → chunk-PHURDPQO.js} +10 -8
- package/dist/chunk-PHURDPQO.js.map +1 -0
- package/dist/{chunk-RQRWMKST.js → chunk-PQF3NDQH.js} +2 -2
- package/dist/{chunk-RQRWMKST.js.map → chunk-PQF3NDQH.js.map} +1 -1
- package/dist/{chunk-2J3PASYF.js → chunk-QWGSKDD7.js} +90 -6
- package/dist/chunk-QWGSKDD7.js.map +1 -0
- package/dist/{chunk-IGI6M7MS.js → chunk-UOJW2DOZ.js} +3 -3
- package/dist/{chunk-IGI6M7MS.js.map → chunk-UOJW2DOZ.js.map} +1 -1
- package/dist/{chunk-TVQPJZSO.js → chunk-WIQDBNMF.js} +2 -2
- package/dist/{chunk-TVQPJZSO.js.map → chunk-WIQDBNMF.js.map} +1 -1
- package/dist/{chunk-7EYRYGIM.js → chunk-WQPLZUXU.js} +4 -4
- package/dist/{chunk-7EYRYGIM.js.map → chunk-WQPLZUXU.js.map} +1 -1
- package/dist/{chunk-DPKRBLYC.js → chunk-WZQWZJYL.js} +3 -3
- package/dist/{chunk-DPKRBLYC.js.map → chunk-WZQWZJYL.js.map} +1 -1
- package/dist/{chunk-4G6HFU27.js → chunk-XKPFQ3JT.js} +3 -3
- package/dist/{chunk-4G6HFU27.js.map → chunk-XKPFQ3JT.js.map} +1 -1
- package/dist/{chunk-PCM75ICY.js → chunk-YXUVOWEU.js} +4 -4
- package/dist/{chunk-PCM75ICY.js.map → chunk-YXUVOWEU.js.map} +1 -1
- package/dist/{chunk-WNDDWWGU.js → chunk-ZUOZV7CS.js} +5 -5
- package/dist/{chunk-WNDDWWGU.js.map → chunk-ZUOZV7CS.js.map} +1 -1
- package/dist/cli/index.js +58 -52
- 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 +3 -2
- package/dist/connectors/index.js +11 -10
- package/dist/core/index.js +5 -4
- package/dist/core/logging.js +2 -1
- package/dist/core/runtime-assets.js +3 -2
- package/dist/core/src/index.d.ts +2 -2
- package/dist/core/src/index.d.ts.map +1 -1
- 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/workspace-config.d.ts +51 -2
- package/dist/core/src/workspace-config.d.ts.map +1 -1
- package/dist/core/workspace-config.js +2 -1
- package/dist/deploy/index.js +5 -4
- package/dist/deploy/index.js.map +1 -1
- package/dist/{ensure-sources-ZZRU74UG.js → ensure-sources-PSWARJPK.js} +11 -10
- package/dist/ensure-sources-PSWARJPK.js.map +1 -0
- package/dist/factory-assets/connectors/box.js +11 -10
- package/dist/factory-assets/connectors/deploy.js +11 -10
- package/dist/factory-assets/connectors/devserver.js +11 -10
- package/dist/factory-assets/connectors/flow/adapter.js +11 -10
- package/dist/factory-assets/connectors/flow/engine.js +6 -5
- package/dist/factory-assets/connectors/flow/run-flow.js +12 -11
- package/dist/factory-assets/connectors/flow/subprompt-runner.d.ts.map +1 -1
- package/dist/factory-assets/connectors/flow.js +11 -10
- package/dist/factory-assets/connectors/git.js +11 -10
- package/dist/factory-assets/connectors/gmail.js +11 -10
- package/dist/factory-assets/connectors/googledrive.js +11 -10
- package/dist/factory-assets/connectors/local.js +11 -10
- package/dist/factory-assets/connectors/mattermost.js +11 -10
- package/dist/factory-assets/connectors/memory.js +11 -10
- package/dist/factory-assets/connectors/minio.js +11 -10
- package/dist/factory-assets/connectors/postgres.js +11 -10
- package/dist/factory-assets/connectors/s3.js +11 -10
- package/dist/factory-assets/connectors/sharepoint.js +11 -10
- package/dist/factory-assets/connectors/sqlite.js +11 -10
- package/dist/factory-assets/connectors/static-server.js +11 -10
- package/dist/factory-assets/connectors/tunnel.js +11 -10
- package/dist/factory-assets/connectors/webdav.js +11 -10
- package/dist/factory-assets/connectors/xstate-store.js +11 -10
- package/dist/factory-assets/connectors/xstate.js +11 -10
- package/dist/{flows-XHRUNYJV.js → flows-7EB63Q2Q.js} +8 -7
- package/dist/{flows-XHRUNYJV.js.map → flows-7EB63Q2Q.js.map} +1 -1
- package/dist/{helpers-M76C6JVC.js → helpers-LHHGL2NL.js} +11 -10
- package/dist/{helpers-M76C6JVC.js.map → helpers-LHHGL2NL.js.map} +1 -1
- package/dist/library/index.js +6 -5
- package/dist/{library-publish-EQYEJXWO.js → library-publish-4SBO437O.js} +15 -14
- package/dist/library-publish-4SBO437O.js.map +1 -0
- package/dist/{open-library-YTP7CVVT.js → open-library-SF2F7NDS.js} +13 -12
- package/dist/{open-library-YTP7CVVT.js.map → open-library-SF2F7NDS.js.map} +1 -1
- package/dist/{paths-BG3I2LPM.js → paths-IK6Y4OIU.js} +8 -7
- package/dist/{paths-BG3I2LPM.js.map → paths-IK6Y4OIU.js.map} +1 -1
- package/dist/{plugin-store-BCNR6ZBP.js → plugin-store-LUJ4GXSO.js} +7 -6
- package/dist/plugin-store-LUJ4GXSO.js.map +1 -0
- package/dist/{project-THCZLS67.js → project-ZHPOPJBE.js} +12 -11
- package/dist/{project-THCZLS67.js.map → project-ZHPOPJBE.js.map} +1 -1
- package/dist/resolver/index.js +5 -4
- 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 +17 -16
- 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/logging-bootstrap.d.ts +6 -1
- package/dist/runner/src/logging-bootstrap.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +8 -7
- package/dist/sdk/bridge.js +8 -7
- package/dist/sdk/core.js +5 -4
- package/dist/sdk/flow.js +6 -5
- package/dist/sdk/index.js +17 -16
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/resolver.js +5 -4
- package/dist/sdk/runner.js +17 -16
- package/dist/{setup-QN4HKSFJ.js → setup-3NXXR7SH.js} +15 -14
- package/dist/setup-3NXXR7SH.js.map +1 -0
- package/dist/{skills-FKVBIDNM.js → skills-YB5RHUAT.js} +7 -6
- package/dist/{skills-FKVBIDNM.js.map → skills-YB5RHUAT.js.map} +1 -1
- package/dist/{source-5EAGZA6K.js → source-C2OYNI3T.js} +14 -13
- package/dist/{source-5EAGZA6K.js.map → source-C2OYNI3T.js.map} +1 -1
- package/dist/{source-manifest-publish-57SGT7Q3.js → source-manifest-publish-BKS763DB.js} +16 -15
- package/dist/source-manifest-publish-BKS763DB.js.map +1 -0
- package/dist/tui/index.js +17 -16
- package/dist/tui/index.js.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +7 -6
- 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 +3 -2
- package/dist/workspace-plugin/src/adapters/omp.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/asset-feeds-WSKIL5GA.js.map +0 -1
- package/dist/chunk-2J3PASYF.js.map +0 -1
- package/dist/chunk-BYBIEHQX.js.map +0 -1
- package/dist/chunk-QUSE2T4N.js.map +0 -1
- package/dist/chunk-RE2XE2AP.js.map +0 -1
- package/dist/chunk-RJNBMEFG.js.map +0 -1
- package/dist/chunk-RUBPZLMO.js.map +0 -1
- package/dist/ensure-sources-ZZRU74UG.js.map +0 -1
- package/dist/library-publish-EQYEJXWO.js.map +0 -1
- package/dist/plugin-store-BCNR6ZBP.js.map +0 -1
- package/dist/setup-QN4HKSFJ.js.map +0 -1
- package/dist/source-manifest-publish-57SGT7Q3.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../cli/src/plugin-store/paths.ts","../cli/src/plugin-store/spec.ts","../cli/src/plugin-store/load.ts","../cli/src/plugin-store/reconcile.ts","../cli/src/plugin-store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAUO,SAAS,WAAW,UAAA,EAA4B;AACrD,EAAA,OAAO,IAAA,CAAK,UAAA,EAAY,SAAA,EAAW,SAAS,CAAA;AAC9C;AAGO,SAAS,eAAe,UAAA,EAA4B;AACzD,EAAA,OAAO,IAAA,CAAK,UAAA,CAAW,UAAU,CAAA,EAAG,cAAc,CAAA;AACpD;AAGO,SAAS,eAAe,UAAA,EAA4B;AACzD,EAAA,OAAO,IAAA,CAAK,UAAA,CAAW,UAAU,CAAA,EAAG,cAAc,CAAA;AACpD;AAGO,SAAS,kBAAkB,UAAA,EAA4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AA,CAAM,CAAA;AAAA,EAA2B,MAAA,CAAO,MAAM,CAAA,CAAE,CAAA;AAAA,EAC5D;AAEA,EAAA,aAAA,CAAc,UAAU,QAAQ,CAAA;AAChC,EAAA,OAAO,EAAE,OAAA,EAAS,IAAA,EAAM,MAAA,EAAQ,YAAA,EAAa;AAC/C;;;ACxFA,eAAsB,oBACpB,UAAA,EACA,OAAA,EACA,WAA2B,cAAA,EAC3B,IAAA,GAA6B,EAAC,EACT;AACrB,EAAA,IAAI,CAAC,OAAA,IAAW,OAAA,CAAQ,MAAA,KAAW,CAAA,EAAG;AACpC,IAAA,OAAO,EAAE,MAAA,EAAQ,EAAC,EAAG,MAAA,EAAQ,EAAC,EAAE;AAAA,EAClC;AACA,EAAA,MAAM,gBAAA,CAAiB,UAAA,EAAY,OAAA,EAAS,IAAI,CAAA;AAChD,EAAA,OAAO,WAAA,CAAY,YAAY,OAAA,EAAS,QAAA,EAAU,EAAE,GAAA,EAAK,IAAA,CAAK,KAAK,CAAA;AACrE","file":"plugin-store-LUJ4GXSO.js","sourcesContent":["/**\n * Pure path helpers for the project-local plugin store.\n *\n * The store is a self-contained npm workspace owned by the CLI under\n * `<projectDir>/.skaile/plugins/`. Nothing here touches the filesystem.\n */\n\nimport { join } from \"node:path\";\n\n/** `<projectDir>/.skaile/plugins` — the store root. */\nexport function pluginsDir(projectDir: string): string {\n return join(projectDir, \".skaile\", \"plugins\");\n}\n\n/** `<store>/package.json` — generated, never user-edited. */\nexport function pluginsPkgJson(projectDir: string): string {\n return join(pluginsDir(projectDir), \"package.json\");\n}\n\n/** `<store>/node_modules` — where reconciled plugin packages land. */\nexport function nodeModulesDir(projectDir: string): string {\n return join(pluginsDir(projectDir), \"node_modules\");\n}\n\n/** `<store>/.reconcile-hash` — SHA of plugins-list + lock slice; skip reinstall when unchanged. */\nexport function reconcileHashFile(projectDir: string): string {\n return join(pluginsDir(projectDir), \".reconcile-hash\");\n}\n\n/**\n * Absolute path to a plugin package's entry directory under the store's\n * `node_modules`. Dynamic `import()` against this absolute path works inside\n * compiled binaries via `pathToFileURL`.\n */\nexport function resolvePluginEntry(projectDir: string, pkgName: string): string {\n return join(nodeModulesDir(projectDir), pkgName);\n}\n","/**\n * Parse npm package specifiers from the `plugins:` list into name + range.\n *\n * The leading `@` of a scope is NOT a separator: only the last `@` at a\n * non-zero index splits the package name from its semver range.\n * \"@skaile/provider-fly@^0.1.0\" → { name: \"@skaile/provider-fly\", range: \"^0.1.0\" }\n * \"@skaile/connector-redis\" → { name: \"@skaile/connector-redis\", range: \"*\" }\n * \"lodash@^4\" → { name: \"lodash\", range: \"^4\" }\n */\n\n/** A parsed plugin specifier: package name plus a semver range (`\"*\"` when omitted). */\nexport interface PluginSpec {\n name: string;\n range: string;\n}\n\n/**\n * Parse a single plugin specifier into `{ name, range }`.\n *\n * @param spec - An npm specifier, e.g. `\"@skaile/provider-fly@^0.1.0\"` or `\"lodash\"`.\n * @returns The package name and semver range (range defaults to `\"*\"`).\n * @throws Error when the specifier is empty.\n */\nexport function parseSpec(spec: string): PluginSpec {\n const trimmed = spec.trim();\n if (!trimmed) throw new Error(\"parseSpec: empty specifier\");\n\n // Find the version-separating `@` — the last one that is not the scope `@`\n // at index 0. A bare `@scope/name` has its only `@` at index 0 (no range).\n const at = trimmed.lastIndexOf(\"@\");\n if (at <= 0) {\n return { name: trimmed, range: \"*\" };\n }\n const name = trimmed.slice(0, at);\n const range = trimmed.slice(at + 1);\n return { name, range: range.length > 0 ? range : \"*\" };\n}\n\n/** Convenience: just the package name of a specifier. */\nexport function specName(spec: string): string {\n return parseSpec(spec).name;\n}\n","/**\n * Runtime plugin loader: dynamic-import each reconciled plugin and let it\n * self-register into the `pluginRegistry`.\n *\n * Each plugin specifier resolves to an absolute path under the store's\n * `node_modules`; we import it via a `file://` URL so the import works inside\n * `bun --compile` binaries (which bundle only the literal-string switches, but\n * can still execute a `file://` import against the unpacked store on disk).\n * Failures are caught per-plugin so one broken plugin never aborts the rest.\n */\n\nimport { pathToFileURL } from \"node:url\";\nimport { type PluginRegistry, pluginRegistry } from \"@skaile/workspaces/plugin-registry\";\nimport type { Logger } from \"@skaile/workspaces/types\";\nimport { resolvePluginEntry } from \"./paths.js\";\nimport { parseSpec } from \"./spec.js\";\n\n/** Options for {@link loadPlugins}. */\nexport interface LoadOptions {\n log?: Logger;\n}\n\n/** Result of a load pass: which specs registered and which failed. */\nexport interface LoadResult {\n loaded: string[];\n failed: { spec: string; error: string }[];\n}\n\n/** The self-registration entrypoint a plugin module is expected to export. */\ntype PluginModule = { register?: (registry: PluginRegistry) => void };\n\n/**\n * Load and register each plugin in `plugins` into `registry`.\n *\n * @param projectDir - Project root holding `.skaile/plugins/node_modules`.\n * @param plugins - The `skaile.yaml` `plugins:` list (npm specifiers).\n * @param registry - Registry to register into. Defaults to the process-wide `pluginRegistry`.\n * @param opts - Optional logger.\n * @returns Loaded specs + per-plugin failures (never throws).\n */\nexport async function loadPlugins(\n projectDir: string,\n plugins: string[],\n registry: PluginRegistry = pluginRegistry,\n opts: LoadOptions = {},\n): Promise<LoadResult> {\n const loaded: string[] = [];\n const failed: { spec: string; error: string }[] = [];\n\n for (const spec of plugins) {\n try {\n const { name } = parseSpec(spec);\n const entry = resolvePluginEntry(projectDir, name);\n const mod = (await import(pathToFileURL(entry).href)) as PluginModule;\n if (typeof mod.register !== \"function\") {\n throw new Error(`plugin \"${name}\" does not export a register() function`);\n }\n mod.register(registry);\n loaded.push(spec);\n } catch (err) {\n const message = err instanceof Error ? err.message : String(err);\n failed.push({ spec, error: `failed to load plugin \"${spec}\": ${message}` });\n opts.log?.warn(`plugin load failed: ${spec}`, { error: message });\n }\n }\n\n return { loaded, failed };\n}\n","/**\n * Reconcile the project-local plugin store (`<projectDir>/.skaile/plugins/`).\n *\n * The reconciler is hash-skipped: it computes a SHA-256 over the sorted plugin\n * list plus the lock file's `plugins` slice and compares it to the stored\n * `.reconcile-hash`. On a match it returns with zero further I/O; otherwise it\n * regenerates the store's `package.json` and runs `bun install` against it.\n *\n * The install step is injectable (`InstallFn`) so tests stay hermetic — they\n * pass a fake installer that records calls and writes a stub `node_modules`.\n */\n\nimport { createHash } from \"node:crypto\";\nimport { existsSync, mkdirSync, readFileSync, writeFileSync } from \"node:fs\";\nimport { readPluginsLockSlice } from \"@skaile/workspaces/core\";\nimport { pluginsDir, pluginsPkgJson, reconcileHashFile } from \"./paths.js\";\nimport { parseSpec } from \"./spec.js\";\n\n/**\n * Installs the store's dependencies. Returns `ok: false` (never throws) on a\n * failed install so the reconciler can surface the captured `output`.\n */\nexport type InstallFn = (pluginsDir: string) => Promise<{ ok: boolean; output: string }>;\n\n/** Options for {@link reconcilePlugins}. */\nexport interface ReconcileOptions {\n /** Injectable installer. Defaults to a real `bun install` of the store. */\n runInstall?: InstallFn;\n /**\n * Lock slice to fold into the reconcile-hash. Defaults to\n * `readPluginsLockSlice(projectDir)` so a lock edit invalidates the hash.\n */\n lockSlice?: unknown;\n}\n\n/** Result of a reconcile pass. */\nexport interface ReconcileResult {\n changed: boolean;\n reason: \"no-plugins\" | \"up-to-date\" | \"reconciled\";\n}\n\n/**\n * The default real installer: `bun install` inside the store directory.\n * Frozen on subsequent runs (a `bun.lock`/`bun.lockb` already exists), and\n * non-frozen on the first run so a lock can be generated.\n */\nexport const defaultInstall: InstallFn = async (dir) => {\n const { portableSpawn } = await import(\"@skaile/workspaces/core\");\n const hasLock =\n existsSync(`${dir}/bun.lock`) ||\n existsSync(`${dir}/bun.lockb`) ||\n existsSync(`${dir}/package-lock.json`);\n const args = hasLock ? [\"bun\", \"install\", \"--frozen-lockfile\"] : [\"bun\", \"install\"];\n const proc = portableSpawn(args, { cwd: dir });\n const chunks: string[] = [];\n const decoder = new TextDecoder();\n const pump = async (stream: ReadableStream<Uint8Array>) => {\n const reader = stream.getReader();\n for (;;) {\n const { done, value } = await reader.read();\n if (done) break;\n if (value) chunks.push(decoder.decode(value, { stream: true }));\n }\n };\n await Promise.all([pump(proc.stdout), pump(proc.stderr)]);\n const code = await proc.exited;\n return { ok: code === 0, output: chunks.join(\"\") };\n};\n\n/** Generate the store's `package.json` from the plugin specs. */\nfunction writePackageJson(projectDir: string, plugins: string[]): void {\n const dependencies: Record<string, string> = {};\n for (const spec of plugins) {\n const { name, range } = parseSpec(spec);\n dependencies[name] = range;\n }\n const pkg = {\n name: \"skaile-project-plugins\",\n private: true,\n dependencies,\n };\n mkdirSync(pluginsDir(projectDir), { recursive: true });\n writeFileSync(pluginsPkgJson(projectDir), `${JSON.stringify(pkg, null, 2)}\\n`);\n}\n\n/**\n * Reconcile the plugin store for a project.\n *\n * @param projectDir - Project root containing `skaile.yaml` / `skaile.lock.yaml`.\n * @param plugins - The `skaile.yaml` `plugins:` list (npm specifiers).\n * @param opts - Optional injectable installer + lock slice override.\n * @returns Whether the store changed and why.\n */\nexport async function reconcilePlugins(\n projectDir: string,\n plugins: string[],\n opts: ReconcileOptions = {},\n): Promise<ReconcileResult> {\n if (plugins.length === 0) {\n return { changed: false, reason: \"no-plugins\" };\n }\n\n const lockSlice = opts.lockSlice ?? readPluginsLockSlice(projectDir);\n const wantHash = createHash(\"sha256\")\n .update(JSON.stringify({ plugins: [...plugins].sort(), lock: lockSlice }))\n .digest(\"hex\");\n\n const hashFile = reconcileHashFile(projectDir);\n if (existsSync(hashFile)) {\n const have = readFileSync(hashFile, \"utf8\").trim();\n if (have === wantHash) {\n return { changed: false, reason: \"up-to-date\" };\n }\n }\n\n writePackageJson(projectDir, plugins);\n\n const install = opts.runInstall ?? defaultInstall;\n const result = await install(pluginsDir(projectDir));\n if (!result.ok) {\n throw new Error(`plugin install failed:\\n${result.output}`);\n }\n\n writeFileSync(hashFile, wantHash);\n return { changed: true, reason: \"reconciled\" };\n}\n","/**\n * The project-local plugin store: reconcile (`<projectDir>/.skaile/plugins/`)\n * then load the reconciled plugins into the `pluginRegistry`.\n *\n * `ensurePluginsLoaded` is the single entrypoint commands wire in. It is a\n * guarded no-op when `plugins` is empty/undefined — zero overhead for the\n * common case where no project declares `plugins:` in `skaile.yaml`.\n */\n\nimport { type PluginRegistry, pluginRegistry } from \"@skaile/workspaces/plugin-registry\";\nimport type { Logger } from \"@skaile/workspaces/types\";\nimport { type LoadResult, loadPlugins } from \"./load.js\";\nimport { type ReconcileOptions, reconcilePlugins } from \"./reconcile.js\";\n\nexport type { LoadResult } from \"./load.js\";\nexport { loadPlugins } from \"./load.js\";\nexport type { ReconcileOptions } from \"./reconcile.js\";\nexport { reconcilePlugins } from \"./reconcile.js\";\nexport { specName } from \"./spec.js\";\n\n/** Options for {@link ensurePluginsLoaded}. */\nexport interface EnsurePluginsOptions extends ReconcileOptions {\n log?: Logger;\n}\n\n/**\n * Reconcile the plugin store then load each plugin into `registry`.\n *\n * No-op (returns immediately) when `plugins` is empty/undefined, so the common\n * no-plugins path costs nothing.\n *\n * @param projectDir - Project root.\n * @param plugins - The `skaile.yaml` `plugins:` list (may be undefined).\n * @param registry - Registry to register into. Defaults to `pluginRegistry`.\n * @param opts - Injectable installer / lock slice + optional logger.\n * @returns The load result, or an empty result when there are no plugins.\n */\nexport async function ensurePluginsLoaded(\n projectDir: string,\n plugins: string[] | undefined,\n registry: PluginRegistry = pluginRegistry,\n opts: EnsurePluginsOptions = {},\n): Promise<LoadResult> {\n if (!plugins || plugins.length === 0) {\n return { loaded: [], failed: [] };\n }\n await reconcilePlugins(projectDir, plugins, opts);\n return loadPlugins(projectDir, plugins, registry, { log: opts.log });\n}\n"]}
|
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
export { makeCheckCommand, makeCleanCommand, makeInstallCommand, reportInstalledSoftDeps, runPointerOnlyInstall, supportsInstallManifest } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { makeCheckCommand, makeCleanCommand, makeInstallCommand, reportInstalledSoftDeps, runPointerOnlyInstall, supportsInstallManifest } from './chunk-PHURDPQO.js';
|
|
2
|
+
import './chunk-6Y3ICAPP.js';
|
|
3
|
+
import './chunk-HXTBOZL6.js';
|
|
4
|
+
import './chunk-WQPLZUXU.js';
|
|
5
5
|
import './chunk-HGPSZXZP.js';
|
|
6
6
|
import './chunk-VOEBLPXO.js';
|
|
7
7
|
import './chunk-R7FOF242.js';
|
|
8
8
|
import './chunk-JXT46QFC.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-4JGTXBQB.js';
|
|
10
10
|
import './chunk-CGYEHQOX.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-7NRF7BQB.js';
|
|
12
12
|
import './chunk-4GY63JU6.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-NXTLDFLA.js';
|
|
14
14
|
import './chunk-F3HNW354.js';
|
|
15
15
|
import './chunk-K5GBV4SA.js';
|
|
16
16
|
import './chunk-QVZA2MDT.js';
|
|
17
|
-
import './chunk-
|
|
17
|
+
import './chunk-QWGSKDD7.js';
|
|
18
18
|
import './chunk-MENCWIHW.js';
|
|
19
19
|
import './chunk-P4VHQA4N.js';
|
|
20
20
|
import './chunk-2FBPAR2V.js';
|
|
21
21
|
import './chunk-GEEW6SY2.js';
|
|
22
|
-
import './chunk-
|
|
22
|
+
import './chunk-JMKB7IB4.js';
|
|
23
23
|
import './chunk-DPLIN2RA.js';
|
|
24
24
|
import './chunk-GZZPKAV5.js';
|
|
25
|
+
import './chunk-C3CAXQMA.js';
|
|
25
26
|
import './chunk-BOFL7GIF.js';
|
|
26
27
|
import './chunk-KTBKW2FI.js';
|
|
27
28
|
import './chunk-UQ6LFBPZ.js';
|
|
28
29
|
import './chunk-DKCFWSVW.js';
|
|
29
30
|
import './chunk-N7B3LZ7V.js';
|
|
30
31
|
import './chunk-NSBPE2FW.js';
|
|
31
|
-
//# sourceMappingURL=project-
|
|
32
|
-
//# sourceMappingURL=project-
|
|
32
|
+
//# sourceMappingURL=project-ZHPOPJBE.js.map
|
|
33
|
+
//# sourceMappingURL=project-ZHPOPJBE.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"project-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"project-ZHPOPJBE.js"}
|
package/dist/resolver/index.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
export { buildRequiresPreamble, parseCompactionDirectives, parseSkillFrontmatter, parseSkillRequirements, validateConnectorRequirements, validateFlowVersions, validateRequirements } from '../chunk-T3YUSWVK.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-7NRF7BQB.js';
|
|
3
3
|
import '../chunk-4GY63JU6.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-NXTLDFLA.js';
|
|
5
5
|
import '../chunk-F3HNW354.js';
|
|
6
6
|
import '../chunk-K5GBV4SA.js';
|
|
7
7
|
import '../chunk-QVZA2MDT.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-QWGSKDD7.js';
|
|
9
9
|
import '../chunk-MENCWIHW.js';
|
|
10
10
|
import '../chunk-P4VHQA4N.js';
|
|
11
11
|
import '../chunk-2FBPAR2V.js';
|
|
12
12
|
import '../chunk-GEEW6SY2.js';
|
|
13
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-JMKB7IB4.js';
|
|
14
14
|
import '../chunk-DPLIN2RA.js';
|
|
15
15
|
import '../chunk-GZZPKAV5.js';
|
|
16
|
+
import '../chunk-C3CAXQMA.js';
|
|
16
17
|
import '../chunk-BOFL7GIF.js';
|
|
17
18
|
import '../chunk-NSBPE2FW.js';
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../run-group-engine/src/derive-instance-status.ts","../../run-group-engine/src/admit.ts","../../run-group-engine/src/rollup.ts","../../run-group-engine/src/plan-retry.ts"],"names":[],"mappings":";;;AAQO,SAAS,qBAAqB,IAAA,EAAqC;AACxE,EAAA,IAAI,IAAA,CAAK,WAAW,UAAA,IAAc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;AAAA,GAC3C,CACC,KAAA,CAAM,CAAA,EAAG,KAAK,CAAA;AACnB;;;AC1BA,IAAM,YAAA,GAAiC;AAAA,EACrC,QAAA;AAAA,EACA,UAAA;AAAA,EACA,SAAA;AAAA,EACA,mBAAA;AAAA,EACA,gBAAA;AAAA,EACA,UAAA;AAAA,EACA,QAAA;AAAA,EACA;AACF,CAAA;AAEA,IAAM,2BAAwC,IAAI,GAAA,CAAI,CAAC,UAAA,EAAY,QAAA,EAAU,WAAW,CAAC,CAAA;AAclF,SAAS,MAAA,CACd,OACA,SAAA,EACkF;AAClF,EAAA,MAAM,QAAA,GAAW,MAAA,CAAO,WAAA,CAAY,YAAA,CAAa,GAAA,CAAI,CAAC,CAAA,KAAM,CAAC,CAAA,EAAG,CAAC,CAAC,CAAC,CAAA;AAInE,EAAA,KAAA,MAAW,CAAA,IAAK,SAAA,EAAW,QAAA,CAAS,CAAA,CAAE,MAAM,CAAA,IAAK,CAAA;AAEjD,EAAA,IAAI,WAAA,GAAqC,IAAA;AACzC,EAAA,IAAI,KAAA,CAAM,SAAS,OAAA,EAAS;AAC1B,IAAA,MAAM,WAAA,
|
|
1
|
+
{"version":3,"sources":["../../run-group-engine/src/derive-instance-status.ts","../../run-group-engine/src/admit.ts","../../run-group-engine/src/rollup.ts","../../run-group-engine/src/plan-retry.ts"],"names":[],"mappings":";;;AAQO,SAAS,qBAAqB,IAAA,EAAqC;AACxE,EAAA,IAAI,IAAA,CAAK,WAAW,UAAA,IAAc,IAAA,CAAK,WAAW,QAAA,IAAY,IAAA,CAAK,WAAW,WAAA,EAAa;AACzF,IAAA,OAAO,IAAA,CAAK,MAAA;AAAA,EACd;AACA,EAAA,MAAM,KAAA,GAAQ,MAAA,CAAO,MAAA,CAAO,IAAA,CAAK,KAAK,CAAA;AACtC,EAAA,IAAI,KAAA,CAAM,KAAK,CAAC,CAAA,KAAM,EAAE,MAAA,KAAW,mBAAmB,GAAG,OAAO,mBAAA;AAChE,EAAA,IAAI,KAAA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,CAAC,QAAA,CAAS,KAAA,CAAM,aAAa,OAAO,YAAA;AAC3D,EAAA,OAAO,QAAA,CAAS,OAAA,IAAW,MAAA,CAAO,UAAA,GAAa,SAAA,GAAY,YAAA;AAC7D","file":"index.js","sourcesContent":["import type { FlowExecution, InstanceStatus } from \"@skaile/workspaces/types\";\n\n/**\n * Mirror an instance's flow execution into the instance status.\n * Terminal flow statuses win; gate nodes surface next (approval before\n * input); `paused` is not expected inside an instance (pausing is a\n * group-level concept) and is treated as live.\n */\nexport function deriveInstanceStatus(flow: FlowExecution): InstanceStatus {\n if (flow.status === \"complete\" || flow.status === \"failed\" || flow.status === \"cancelled\") {\n return flow.status;\n }\n const nodes = Object.values(flow.nodes);\n if (nodes.some((n) => n.status === \"awaiting_approval\")) return \"awaiting_approval\";\n if (nodes.some((n) => n.status === \"awaiting_input\")) return \"awaiting_input\";\n return \"running\";\n}\n","import type { RunGroup, RunInstance } from \"@skaile/workspaces/types\";\n\nconst priorityOf = (instance: RunInstance): number => instance.input.priority ?? 0;\n\n/**\n * Which queued instances may spawn now. Ordered by priority descending, then\n * FIFO by receivedAt (instanceId tiebreak), bounded by maxParallel minus\n * slot-occupying instances. Slot-occupying = spawning | running. Gate-parked\n * instances (awaiting_approval / awaiting_input) do NOT hold slots - hosts\n * hibernate them, so a slow approver cannot stall intake.\n *\n * An absent priority is 0, so a queue of inputs that never set one keeps the\n * exact FIFO order it had before priority existed.\n *\n * receivedAt must be UTC ISO 8601 (Z-suffixed): ordering is lexicographic,\n * so non-UTC offsets would misorder the queue.\n */\nexport function admit(group: RunGroup, instances: RunInstance[]): RunInstance[] {\n if (group.status !== \"active\") return [];\n const occupying = instances.filter(\n (i) => i.status === \"spawning\" || i.status === \"running\",\n ).length;\n const slots = Math.max(0, group.policy.maxParallel - occupying);\n if (slots === 0) return [];\n return instances\n .filter((i) => i.status === \"queued\")\n .sort(\n (a, b) =>\n priorityOf(b) - priorityOf(a) ||\n a.input.receivedAt.localeCompare(b.input.receivedAt) ||\n a.instanceId.localeCompare(b.instanceId),\n )\n .slice(0, slots);\n}\n","import type {\n InstanceStatus,\n RunGroup,\n RunGroupStatus,\n RunInstance,\n} from \"@skaile/workspaces/types\";\n\nconst ALL_STATUSES: InstanceStatus[] = [\n \"queued\",\n \"spawning\",\n \"running\",\n \"awaiting_approval\",\n \"awaiting_input\",\n \"complete\",\n \"failed\",\n \"cancelled\",\n];\n\nconst TERMINAL: ReadonlySet<InstanceStatus> = new Set([\"complete\", \"failed\", \"cancelled\"]);\n\n/**\n * Counters per status plus the group-status transition to apply\n * (null = none). Batch only, when all instances are terminal: any failed\n * -> `failed`; else all cancelled (no completes) -> `cancelled`; else\n * `complete` (mixed complete + cancelled counts as `complete`). `active`\n * is the reverse transition after retry_instance re-queues on a terminal\n * group - deliberately only from `complete`/`failed`: a `cancelled` group\n * never reactivates (cancel_group is a final host command; a cancelled\n * group's instances cannot be retried). Standing groups never\n * auto-transition (pause/close are host commands). Rollup owns\n * reactivation - hosts re-run it after every mutation, including retries.\n */\nexport function rollup(\n group: RunGroup,\n instances: RunInstance[],\n): { counters: Record<InstanceStatus, number>; groupStatus: RunGroupStatus | null } {\n const counters = Object.fromEntries(ALL_STATUSES.map((s) => [s, 0])) as Record<\n InstanceStatus,\n number\n >;\n for (const i of instances) counters[i.status] += 1;\n\n let groupStatus: RunGroupStatus | null = null;\n if (group.mode === \"batch\") {\n const allTerminal = instances.length > 0 && instances.every((i) => TERMINAL.has(i.status));\n if (group.status === \"active\" && allTerminal) {\n if (counters.failed > 0) {\n groupStatus = \"failed\";\n } else if (counters.complete === 0 && counters.cancelled > 0) {\n groupStatus = \"cancelled\";\n } else {\n groupStatus = \"complete\";\n }\n } else if (\n (group.status === \"complete\" || group.status === \"failed\") &&\n instances.some((i) => !TERMINAL.has(i.status))\n ) {\n groupStatus = \"active\";\n }\n }\n return { counters, groupStatus };\n}\n","import type { RunGroupPolicy, RunInstance } from \"@skaile/workspaces/types\";\n\n/**\n * Whether a failed instance gets another attempt. `requeue` while the\n * error is recoverable and attempts remain (attempt is 1-based; maxRetries\n * is the RE-queue budget, so total attempts = maxRetries + 1). Retries\n * always imply a fresh session - no half-poisoned state.\n */\nexport function planRetry(\n instance: RunInstance & { status: \"failed\" },\n policy: RunGroupPolicy,\n): \"requeue\" | \"final_fail\" {\n if (!instance.error || !instance.error.recoverable) return \"final_fail\";\n return instance.attempt <= policy.maxRetries ? \"requeue\" : \"final_fail\";\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rollup.d.ts","sourceRoot":"","sources":["../../../run-group-engine/src/rollup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,QAAQ,EACR,cAAc,EACd,WAAW,EACZ,MAAM,0BAA0B,CAAC;AAelC;;;;;;;;;;;GAWG;AACH,wBAAgB,MAAM,CACpB,KAAK,EAAE,QAAQ,EACf,SAAS,EAAE,WAAW,EAAE,GACvB;IAAE,QAAQ,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IAAC,WAAW,EAAE,cAAc,GAAG,IAAI,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"rollup.d.ts","sourceRoot":"","sources":["../../../run-group-engine/src/rollup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,QAAQ,EACR,cAAc,EACd,WAAW,EACZ,MAAM,0BAA0B,CAAC;AAelC;;;;;;;;;;;GAWG;AACH,wBAAgB,MAAM,CACpB,KAAK,EAAE,QAAQ,EACf,SAAS,EAAE,WAAW,EAAE,GACvB;IAAE,QAAQ,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IAAC,WAAW,EAAE,cAAc,GAAG,IAAI,CAAA;CAAE,CA0BlF"}
|
package/dist/runner/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
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 } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
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 } from '../chunk-KTSV5TDX.js';
|
|
2
|
+
import '../chunk-WIQDBNMF.js';
|
|
3
|
+
import '../chunk-HZBRHZPI.js';
|
|
4
|
+
import '../chunk-LCKZCLXA.js';
|
|
5
5
|
import '../chunk-P2DLXBZK.js';
|
|
6
6
|
import '../chunk-7IH3RKKK.js';
|
|
7
7
|
import '../chunk-4ZTPYIBE.js';
|
|
@@ -14,45 +14,46 @@ import '../chunk-GTS2FODO.js';
|
|
|
14
14
|
import '../chunk-73ZXUUL6.js';
|
|
15
15
|
import '../chunk-32NA4TVC.js';
|
|
16
16
|
export { assembleSystemPrompt, buildCapabilitiesPromptSection, buildLinkedPeersPromptSection } from '../chunk-W3UDISS2.js';
|
|
17
|
-
import '../chunk-
|
|
18
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-PE3A6FFW.js';
|
|
18
|
+
import '../chunk-65VAYFIJ.js';
|
|
19
19
|
import '../chunk-4R6DROGN.js';
|
|
20
20
|
import '../chunk-T3YUSWVK.js';
|
|
21
21
|
import '../chunk-Q6NDQ6BH.js';
|
|
22
22
|
import '../chunk-ZK7DQRB2.js';
|
|
23
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-N6XJGVSK.js';
|
|
24
24
|
import '../chunk-YZSMZK37.js';
|
|
25
|
-
import '../chunk-
|
|
26
|
-
import '../chunk-
|
|
25
|
+
import '../chunk-UOJW2DOZ.js';
|
|
26
|
+
import '../chunk-IQFSXFYG.js';
|
|
27
27
|
import '../chunk-4SIMGJIU.js';
|
|
28
28
|
import '../chunk-LOO5CB5M.js';
|
|
29
29
|
import '../chunk-CPIAQTYM.js';
|
|
30
|
-
import '../chunk-
|
|
30
|
+
import '../chunk-XKPFQ3JT.js';
|
|
31
31
|
import '../chunk-GAH4YRCI.js';
|
|
32
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-PQF3NDQH.js';
|
|
33
33
|
import '../chunk-6E6PKKAD.js';
|
|
34
34
|
import '../chunk-IFGTRL2I.js';
|
|
35
|
-
import '../chunk-
|
|
35
|
+
import '../chunk-A2T4WIZL.js';
|
|
36
36
|
import '../chunk-XPDB4O4H.js';
|
|
37
37
|
import '../chunk-ALLCAFHQ.js';
|
|
38
38
|
import '../chunk-RQLL7L72.js';
|
|
39
39
|
import '../chunk-V4RGCKYC.js';
|
|
40
40
|
import '../chunk-DHMBE5J7.js';
|
|
41
41
|
import '../chunk-O64WU6WS.js';
|
|
42
|
-
export { globalSettingsPath, loadSettings, mapLegacyFields, projectSettingsPath, resolveSettings, saveSettings } from '../chunk-
|
|
42
|
+
export { globalSettingsPath, loadSettings, mapLegacyFields, projectSettingsPath, resolveSettings, saveSettings } from '../chunk-7NRF7BQB.js';
|
|
43
43
|
import '../chunk-4GY63JU6.js';
|
|
44
|
-
import '../chunk-
|
|
44
|
+
import '../chunk-NXTLDFLA.js';
|
|
45
45
|
import '../chunk-F3HNW354.js';
|
|
46
46
|
export { DRIVER_DEFAULTS, resolveDriverPaths } from '../chunk-K5GBV4SA.js';
|
|
47
47
|
import '../chunk-QVZA2MDT.js';
|
|
48
|
-
import '../chunk-
|
|
48
|
+
import '../chunk-QWGSKDD7.js';
|
|
49
49
|
export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS } from '../chunk-MENCWIHW.js';
|
|
50
50
|
import '../chunk-P4VHQA4N.js';
|
|
51
51
|
import '../chunk-2FBPAR2V.js';
|
|
52
52
|
import '../chunk-GEEW6SY2.js';
|
|
53
|
-
import '../chunk-
|
|
53
|
+
import '../chunk-JMKB7IB4.js';
|
|
54
54
|
import '../chunk-DPLIN2RA.js';
|
|
55
55
|
import '../chunk-GZZPKAV5.js';
|
|
56
|
+
import '../chunk-C3CAXQMA.js';
|
|
56
57
|
import '../chunk-BOFL7GIF.js';
|
|
57
58
|
import '../chunk-N7B3LZ7V.js';
|
|
58
59
|
import '../chunk-NSBPE2FW.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex-init.d.ts","sourceRoot":"","sources":["../../../runner/src/codex-init.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAE/C,oGAAoG;AACpG,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,kBAAkB,EACvB,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,GACxC,IAAI,
|
|
1
|
+
{"version":3,"file":"codex-init.d.ts","sourceRoot":"","sources":["../../../runner/src/codex-init.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAE/C,oGAAoG;AACpG,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,kBAAkB,EACvB,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,GACxC,IAAI,CAiCN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator.d.ts","sourceRoot":"","sources":["../../../../runner/src/compaction/orchestrator.ts"],"names":[],"mappings":"AAAA,O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,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;IAwCxF;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAStB;;;;;;;OAOG;YACW,UAAU;IAyFxB;;;;OAIG;IACH,OAAO,CAAC,eAAe;IAUvB;;;;;;OAMG;IACH,OAAO,CAAC,cAAc;IAItB;;;;;;OAMG;IACH,OAAO,CAAC,YAAY;IAcpB;;;;;;;;;;;;OAYG;YACW,oBAAoB;IAoHlC;;;;;;;;;;OAUG;IACH,OAAO,CAAC,kBAAkB;IA2C1B;;;;;OAKG;IACH,OAAO,CAAC,sBAAsB;IAwB9B;;;OAGG;YACW,mBAAmB;CAyDlC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type CompactionConfig } from "@skaile/workspaces/core";
|
|
1
2
|
/**
|
|
2
3
|
* Runtime context data supplied to a {@link CompactionStrategy}
|
|
3
4
|
* when deciding whether to compact the context window.
|
|
@@ -24,16 +25,18 @@ export interface CompactionStrategy {
|
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* Compaction strategy that triggers when estimated token usage
|
|
27
|
-
* exceeds a percentage of the context window.
|
|
28
|
-
*
|
|
28
|
+
* exceeds a percentage of the context window. The percentage is tiered
|
|
29
|
+
* on the window ({@link resolveCompactionThresholdPercent}): 40% on a
|
|
30
|
+
* 1M window, 80% below, unless a flat `thresholdPercent` is configured.
|
|
31
|
+
* A cooldown period prevents thrashing.
|
|
29
32
|
*
|
|
30
33
|
* @docLink packages/runner/dev-guide#compaction
|
|
31
34
|
*/
|
|
32
35
|
export declare class TokenThresholdStrategy implements CompactionStrategy {
|
|
33
|
-
private readonly
|
|
36
|
+
private readonly thresholds;
|
|
34
37
|
private readonly minCooldownMs;
|
|
35
|
-
|
|
36
|
-
|
|
38
|
+
/** Takes the whole config; the tier keys are read by {@link resolveCompactionThresholdPercent}. */
|
|
39
|
+
constructor(opts: CompactionConfig & {
|
|
37
40
|
minCooldownMs: number;
|
|
38
41
|
});
|
|
39
42
|
shouldCompact(context: CompactionContext): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strategy.d.ts","sourceRoot":"","sources":["../../../../runner/src/compaction/strategy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC;CACpD;AAED
|
|
1
|
+
{"version":3,"file":"strategy.d.ts","sourceRoot":"","sources":["../../../../runner/src/compaction/strategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAqC,MAAM,yBAAyB,CAAC;AAEnG;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC;CACpD;AAED;;;;;;;;GAQG;AACH,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAmB;IAC9C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAS;IAEvC,mGAAmG;gBACvF,IAAI,EAAE,gBAAgB,GAAG;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE;IAK9D,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO;CAkBnD"}
|
|
@@ -55,7 +55,12 @@ export declare function clearPreInitRingSink(): void;
|
|
|
55
55
|
export interface BootstrapOptions {
|
|
56
56
|
sessionId: string;
|
|
57
57
|
projectDir: string;
|
|
58
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* `skaile.yaml`'s `logging:` block. Pass `resolveSkWorkspaceConfig(dir).logging`,
|
|
60
|
+
* which the decoder has already checked. Kept `unknown` so callers with their
|
|
61
|
+
* own parsed block still compile — but the resolver throws on an unknown
|
|
62
|
+
* `mode` / `level`, so an unchecked block can abort the session start.
|
|
63
|
+
*/
|
|
59
64
|
yamlBlock?: unknown;
|
|
60
65
|
/** Back-compat callback — every entry mirrored as a formatted line. */
|
|
61
66
|
onLog?: (line: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logging-bootstrap.d.ts","sourceRoot":"","sources":["../../../runner/src/logging-bootstrap.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,QAAQ,EAOd,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EACV,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,cAAc,EACd,OAAO,EAER,MAAM,0BAA0B,CAAC;AAElC;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,eAAgB,YAAW,OAAO;IAC7C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAkB;IACvC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAS;gBAEjB,GAAG,SAAM;IAIrB,KAAK,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI;IAM5B,UAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,IAAI;IAIrC,+DAA+D;IAC/D,KAAK,CAAC,EAAE,EAAE,QAAQ,GAAG,cAAc;IAInC,qEAAqE;IACrE,KAAK,IAAI,IAAI;IAIb,oEAAoE;IACpE,IAAI,IAAI,MAAM;IAId,wEAAwE;IACxE,OAAO,IAAI,SAAS,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C/E,wBAAgB,kBAAkB,IAAI,eAAe,GAAG,IAAI,CAE3D;AAED,4EAA4E;AAC5E,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uEAAuE;IACvE,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,QAAQ,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B;AAID;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,gBAAgB,GAAG,eAAe,CA8C/E;AA4BD;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAK1C"}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
export { AssetManager, FACTORY_SOURCE_URL, MissingManifestError, NON_DEPLOYABLE_KINDS, normalizeRepoUrl, parseCanonicalLockKey, parseRefTolerant, renderMcpServerConfig, softDepName } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { AssetManager, FACTORY_SOURCE_URL, MissingManifestError, NON_DEPLOYABLE_KINDS, normalizeRepoUrl, parseCanonicalLockKey, parseRefTolerant, renderMcpServerConfig, softDepName } from '../chunk-HXTBOZL6.js';
|
|
2
|
+
import '../chunk-WQPLZUXU.js';
|
|
3
3
|
import '../chunk-HGPSZXZP.js';
|
|
4
4
|
import '../chunk-VOEBLPXO.js';
|
|
5
5
|
import '../chunk-R7FOF242.js';
|
|
6
6
|
import '../chunk-JXT46QFC.js';
|
|
7
|
-
export { createScaffold, deployAll, installAgent, removeAsset } from '../chunk-
|
|
7
|
+
export { createScaffold, deployAll, installAgent, removeAsset } from '../chunk-4JGTXBQB.js';
|
|
8
8
|
export { BUILT_IN_FRAGMENTS, loadPromptExtensions, resolveFragments } from '../chunk-CGYEHQOX.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-7NRF7BQB.js';
|
|
10
10
|
import '../chunk-4GY63JU6.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-NXTLDFLA.js';
|
|
12
12
|
import '../chunk-F3HNW354.js';
|
|
13
13
|
import '../chunk-K5GBV4SA.js';
|
|
14
14
|
import '../chunk-QVZA2MDT.js';
|
|
15
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-QWGSKDD7.js';
|
|
16
16
|
import '../chunk-MENCWIHW.js';
|
|
17
17
|
import '../chunk-P4VHQA4N.js';
|
|
18
18
|
import '../chunk-2FBPAR2V.js';
|
|
19
19
|
import '../chunk-GEEW6SY2.js';
|
|
20
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-JMKB7IB4.js';
|
|
21
21
|
import '../chunk-DPLIN2RA.js';
|
|
22
22
|
import '../chunk-GZZPKAV5.js';
|
|
23
|
+
import '../chunk-C3CAXQMA.js';
|
|
23
24
|
import '../chunk-BOFL7GIF.js';
|
|
24
25
|
export { appendHistory, clearHistory, getRecentHistory, loadHistory } from '../chunk-KTBKW2FI.js';
|
|
25
26
|
import '../chunk-UQ6LFBPZ.js';
|
package/dist/sdk/bridge.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
export { BridgeRuntime, EventNormalizer, createRuntime, detectFileChange, detectFileChanges, labelToolCall, summarizeToolCall, summarizeToolResult, validateApiKey } from '../chunk-
|
|
1
|
+
export { BridgeRuntime, EventNormalizer, createRuntime, detectFileChange, detectFileChanges, labelToolCall, summarizeToolCall, summarizeToolResult, validateApiKey } from '../chunk-IQFSXFYG.js';
|
|
2
2
|
export { ANTHROPIC_DEFAULT_BASE_URL, buildClaudeEndpointEnv, claudeEndpointMode, probeResumeTranscript, resolveClaudeConfigDir } from '../chunk-4SIMGJIU.js';
|
|
3
3
|
export { CODEX_NATIVE_STATE_FORMAT, CodexNativeStateUnavailable } from '../chunk-LOO5CB5M.js';
|
|
4
4
|
export { dispatchCapability, filterRenderCapabilities, renderFallback } from '../chunk-CPIAQTYM.js';
|
|
5
|
-
export { ModelTierResolutionError, PROVIDER_MODEL_TIERS, STATIC_MODELS, fetchProviderModels, getModels, getStaticModels, modelIdTargetForEntry, resolveManifestModel, resolveModelCapabilities, resolveModelTier } from '../chunk-
|
|
5
|
+
export { ModelTierResolutionError, PROVIDER_MODEL_TIERS, STATIC_MODELS, fetchProviderModels, getModels, getStaticModels, modelIdTargetForEntry, resolveManifestModel, resolveModelCapabilities, resolveModelTier } from '../chunk-XKPFQ3JT.js';
|
|
6
6
|
export { AccountUnavailableError, AuthError, classifyClaudeSdkError, reclassifyAuthAsAccountUnavailable } from '../chunk-GAH4YRCI.js';
|
|
7
|
-
export { AI_PROVIDER_PRESETS, AgentDriver, BUILTIN_DRIVER_CATALOG, DRIVER_CATALOG, PROVIDER_CREDENTIAL_ENV_PREFIX, PROVIDER_CREDENTIAL_ENV_SUFFIX, buildCredentialHeaders, catalogLayer, conventionalCredentialEnvName, createDriver, entryCredentialEnv, entryCredentialValue, expandPreset, getBridgeLogger, getProviderPreset, listDrivers, listModelsForDriver, listProviderPresets, presetBaseUrl, probeProviderEntry, providerCredentialEnvName, registerBuiltinDrivers, registryCredentialEnv, registryDriverConfig, resolveEntryCredential, resolvePresetBaseUrl, resolveProbeUrl, toMergedRegistry } from '../chunk-
|
|
7
|
+
export { AI_PROVIDER_PRESETS, AgentDriver, BUILTIN_DRIVER_CATALOG, DRIVER_CATALOG, PROVIDER_CREDENTIAL_ENV_PREFIX, PROVIDER_CREDENTIAL_ENV_SUFFIX, buildCredentialHeaders, catalogLayer, conventionalCredentialEnvName, createDriver, entryCredentialEnv, entryCredentialValue, expandPreset, getBridgeLogger, getProviderPreset, listDrivers, listModelsForDriver, listProviderPresets, presetBaseUrl, probeProviderEntry, providerCredentialEnvName, registerBuiltinDrivers, registryCredentialEnv, registryDriverConfig, resolveEntryCredential, resolvePresetBaseUrl, resolveProbeUrl, toMergedRegistry } from '../chunk-PQF3NDQH.js';
|
|
8
8
|
import '../chunk-6E6PKKAD.js';
|
|
9
9
|
import '../chunk-O64WU6WS.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-7NRF7BQB.js';
|
|
11
11
|
import '../chunk-4GY63JU6.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-NXTLDFLA.js';
|
|
13
13
|
import '../chunk-F3HNW354.js';
|
|
14
14
|
import '../chunk-K5GBV4SA.js';
|
|
15
15
|
import '../chunk-QVZA2MDT.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-QWGSKDD7.js';
|
|
17
17
|
import '../chunk-MENCWIHW.js';
|
|
18
18
|
import '../chunk-P4VHQA4N.js';
|
|
19
19
|
import '../chunk-2FBPAR2V.js';
|
|
20
20
|
import '../chunk-GEEW6SY2.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-JMKB7IB4.js';
|
|
22
22
|
import '../chunk-DPLIN2RA.js';
|
|
23
23
|
import '../chunk-GZZPKAV5.js';
|
|
24
|
+
import '../chunk-C3CAXQMA.js';
|
|
24
25
|
import '../chunk-BOFL7GIF.js';
|
|
25
26
|
import '../chunk-N7B3LZ7V.js';
|
|
26
27
|
import '../chunk-NSBPE2FW.js';
|
package/dist/sdk/core.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
export { ManifestYamlEditor, PROVIDERS_FILENAME, SETTINGS_DEFAULTS, WorkspaceYamlEditor, aiResourceRoots, applyPatch, buildLockFile, checkAgentSkillConformance, computeHash, defaultLibraryDir, extractForPatch, generatePatch, globalSettingsPath, listPatches, loadProviderRegistry, loadProviderRegistryFile, loadSettings, mapLegacyFields, maskApiKey, migrateSettings, projectSettingsPath, readLock, readPatch, readPluginsLockSlice, resolveLibraryDir, resolveSettings, savePatch, saveProviderRegistryFile, saveSettings, skaileHomeDir, userProviderRegistryPath, verifyLock, walkForSettings, workspaceProviderRegistryPath, writeLock, writePluginsLockSlice } from '../chunk-
|
|
1
|
+
export { ManifestYamlEditor, PROVIDERS_FILENAME, SETTINGS_DEFAULTS, WorkspaceYamlEditor, aiResourceRoots, applyPatch, buildLockFile, checkAgentSkillConformance, computeHash, defaultLibraryDir, extractForPatch, generatePatch, globalSettingsPath, listPatches, loadProviderRegistry, loadProviderRegistryFile, loadSettings, mapLegacyFields, maskApiKey, migrateSettings, projectSettingsPath, readLock, readPatch, readPluginsLockSlice, resolveLibraryDir, resolveSettings, savePatch, saveProviderRegistryFile, saveSettings, skaileHomeDir, userProviderRegistryPath, verifyLock, walkForSettings, workspaceProviderRegistryPath, writeLock, writePluginsLockSlice } from '../chunk-7NRF7BQB.js';
|
|
2
2
|
export { processAlive, processExited, processGroupAlive } from '../chunk-4GY63JU6.js';
|
|
3
|
-
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-
|
|
3
|
+
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-NXTLDFLA.js';
|
|
4
4
|
export { deployedBase, deployedDir, isDeployed } from '../chunk-F3HNW354.js';
|
|
5
5
|
export { DRIVER_DEFAULTS, resolveDriverPaths } from '../chunk-K5GBV4SA.js';
|
|
6
6
|
export { ASSET_KIND_DIRS, assetSearchDirs, detectAiResources, detectDomains, detectMonorepoRoot } from '../chunk-QVZA2MDT.js';
|
|
7
|
-
export { COMPACTION_DEFAULTS, CanonicalRefConflictError, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SKILL_ALLOWLIST_FILE, SKILL_ALLOWLIST_VERSION, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, STAGED_SKILL_MARKER, __resetCacheMigrationMemo, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, coerceVersion, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, globalCacheRoot, globalSkaileDir, isStagedSkillMarkerFor, isWorkspaceConfigFilename, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, matchPin, mergeLegacyEntriesInto, mergeLegacyEntriesKeyed, mergeSkWorkspaceConfigs, migrateLegacyDir, normalizeConfig, pullRepo, pullRepoResult, readLinks, readSkillAllowList, resolveAgentDir, resolveAll, resolveAsset, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, saveSkWorkspaceConfig, scanRepo, sourceCacheKey, sourceShortName, stageMaterializedSkills, stagedSkillMarkerState, storeManifestSlug, unlinkRepo, unstageSkill, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-
|
|
7
|
+
export { COMPACTION_DEFAULTS, CanonicalRefConflictError, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SKILL_ALLOWLIST_FILE, SKILL_ALLOWLIST_VERSION, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, STAGED_SKILL_MARKER, __resetCacheMigrationMemo, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, coerceVersion, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, globalCacheRoot, globalSkaileDir, isStagedSkillMarkerFor, isWorkspaceConfigFilename, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, matchPin, mergeLegacyEntriesInto, mergeLegacyEntriesKeyed, mergeSkWorkspaceConfigs, migrateLegacyDir, normalizeConfig, pullRepo, pullRepoResult, readLinks, readSkillAllowList, resolveAgentDir, resolveAll, resolveAsset, resolveCompactionThresholdPercent, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, saveSkWorkspaceConfig, scanRepo, sourceCacheKey, sourceShortName, stageMaterializedSkills, stagedSkillMarkerState, storeManifestSlug, unlinkRepo, unstageSkill, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-QWGSKDD7.js';
|
|
8
8
|
export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS, globalBackendRoot } from '../chunk-MENCWIHW.js';
|
|
9
9
|
export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-P4VHQA4N.js';
|
|
10
10
|
export { DEFAULT_FS_DEADLINE_MS, DEFAULT_WALK_BUDGET_MS, DEFAULT_WALK_MAX_DEPTH, DEFAULT_WALK_MAX_ENTRIES, FS_DEADLINE_ENV_VAR, FsDeadlineError, WALK_BUDGET_MS_ENV_VAR, WALK_MAX_DEPTH_ENV_VAR, WALK_MAX_ENTRIES_ENV_VAR, bundleDepRefs, fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromMcpServerMd, fromMcpServerMdContent, fromPromptMd, fromSkillMd, fsDeadlineMs, parseFrontmatter, parseRequires, scanDirectory, tryWithFsDeadline, walkDir, withFsDeadline } from '../chunk-2FBPAR2V.js';
|
|
11
11
|
export { ASSET_KINDS, ASSET_NAME_HINT, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, isValidAssetName, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw, slugifyAssetName } from '../chunk-GEEW6SY2.js';
|
|
12
|
-
export { DEFAULT_LOGS_RETENTION, OnLogBridgeSink, SqliteSink, WsLogSink, createLogStoreFromConfig, enforceLogsRetention, openSqlite, resolveLogStoreConfig, resolveLogsRetention } from '../chunk-
|
|
12
|
+
export { DEFAULT_LOGS_RETENTION, OnLogBridgeSink, SqliteSink, WsLogSink, createLogStoreFromConfig, enforceLogsRetention, openSqlite, resolveLogStoreConfig, resolveLogsRetention } from '../chunk-JMKB7IB4.js';
|
|
13
13
|
export { __resetCredentialCommandCache, portableSpawn, portableSpawnSync, resolveCredential } from '../chunk-DPLIN2RA.js';
|
|
14
14
|
export { AI_PROVIDER_BASE_URL_TEMPLATES, AI_PROVIDER_CREDENTIAL_KINDS, AI_PROVIDER_DISCOVERY_TYPES, AI_PROVIDER_KINDS, AI_PROVIDER_LAYERS, AI_PROVIDER_SURFACES, AI_PROVIDER_TRANSPORTS, AI_PROVIDER_VOICE_KINDS, entryTransport, formatCredentialRef, isEntryEnabled, isSafeProviderId, looksLikeLiteralSecret, mergeRegistries, normalizeAnthropicBaseUrl, normalizeEntryBaseUrl, parseCredentialRef, parseModelRef, registryEntries, resolveEntryBaseUrl, validateMergedRegistry, validateRegistry } from '../chunk-GZZPKAV5.js';
|
|
15
|
+
import '../chunk-C3CAXQMA.js';
|
|
15
16
|
export { LogStore, LogStoreDisabledError, NoOpSink, StdoutSink, __resetBrokenStreams, createLogger, getLogStore, isBrokenPipeError, isStreamOpen, isStreamUsable, isUnwritableStreamError, markStreamBroken, normalizeError, redactCredentials, registerLogStore, resetLogStore, sanitizeData } from '../chunk-BOFL7GIF.js';
|
|
16
17
|
import '../chunk-NSBPE2FW.js';
|
|
17
18
|
//# sourceMappingURL=core.js.map
|
package/dist/sdk/flow.js
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
export { FLOW_FILE_EXTENSIONS, FlowManifestSchema, appendAttempt, buildFlowExpressionContext, computeFlowState, computeFlowStateFromSnapshots, computeSkippable, countFailedAttempts, deriveCheckEvidence, findFlowFileInRoots, flowFileCandidates, flowKindProvider, flowLookupRoots, getConsumedOutputSchema, hasAutomaticRetryBudget, interpolateNodeInstruction, isActiveExecutionExpired, isBlocking, loadAllFlowEntries, loadAllFlows, loadFlow, loadFlowEntriesFromDir, loadFlowsFromDir, nextAttemptNumber, producerOutputObtainedBy, projectAiAssetsRoots, remainingActiveExecutionMs, resolveAvailableRouter, resolveNextNodes, resolveNodeBindings, resolveTerminalFailureStatus, validateConsumedNodeOutput, validateFlow } from '../chunk-
|
|
1
|
+
export { FLOW_FILE_EXTENSIONS, FlowManifestSchema, appendAttempt, buildFlowExpressionContext, computeFlowState, computeFlowStateFromSnapshots, computeSkippable, countFailedAttempts, deriveCheckEvidence, findFlowFileInRoots, flowFileCandidates, flowKindProvider, flowLookupRoots, getConsumedOutputSchema, hasAutomaticRetryBudget, interpolateNodeInstruction, isActiveExecutionExpired, isBlocking, loadAllFlowEntries, loadAllFlows, loadFlow, loadFlowEntriesFromDir, loadFlowsFromDir, nextAttemptNumber, producerOutputObtainedBy, projectAiAssetsRoots, remainingActiveExecutionMs, resolveAvailableRouter, resolveNextNodes, resolveNodeBindings, resolveTerminalFailureStatus, validateConsumedNodeOutput, validateFlow } from '../chunk-A2T4WIZL.js';
|
|
2
2
|
import '../chunk-ALLCAFHQ.js';
|
|
3
3
|
export { deterministicNodeKindLabel, flowDefaults, flowSkillVersionPins, isActiveRuntimeNode, isAgentNode, isCheckNode, isExecutableNode, isFunctionNode, isGateNode, isRouterNode, isSubFlowNode, isSubpromptNode, nodeAssets, nodeBindings, nodeInstruction, nodeIsInert, nodeIsOptional, nodeLabel, nodeRequiresApproval, nodeRunKind, nodeSkillAsset, nodeSkillId, nodeSkillVersionPins } from '../chunk-V4RGCKYC.js';
|
|
4
4
|
import '../chunk-DHMBE5J7.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-7NRF7BQB.js';
|
|
6
6
|
import '../chunk-4GY63JU6.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-NXTLDFLA.js';
|
|
8
8
|
import '../chunk-F3HNW354.js';
|
|
9
9
|
import '../chunk-K5GBV4SA.js';
|
|
10
10
|
import '../chunk-QVZA2MDT.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-QWGSKDD7.js';
|
|
12
12
|
import '../chunk-MENCWIHW.js';
|
|
13
13
|
import '../chunk-P4VHQA4N.js';
|
|
14
14
|
import '../chunk-2FBPAR2V.js';
|
|
15
15
|
import '../chunk-GEEW6SY2.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-JMKB7IB4.js';
|
|
17
17
|
import '../chunk-DPLIN2RA.js';
|
|
18
18
|
import '../chunk-GZZPKAV5.js';
|
|
19
|
+
import '../chunk-C3CAXQMA.js';
|
|
19
20
|
import '../chunk-BOFL7GIF.js';
|
|
20
21
|
import '../chunk-NSBPE2FW.js';
|
|
21
22
|
//# sourceMappingURL=flow.js.map
|
package/dist/sdk/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AgentClient } from '../chunk-OJ4N4T4H.js';
|
|
2
|
-
import { startAgentServer } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
2
|
+
import { startAgentServer } from '../chunk-KTSV5TDX.js';
|
|
3
|
+
import '../chunk-WIQDBNMF.js';
|
|
4
|
+
import '../chunk-HZBRHZPI.js';
|
|
5
|
+
import '../chunk-LCKZCLXA.js';
|
|
6
6
|
import '../chunk-P2DLXBZK.js';
|
|
7
7
|
import '../chunk-7IH3RKKK.js';
|
|
8
8
|
import '../chunk-4ZTPYIBE.js';
|
|
@@ -15,45 +15,46 @@ import { WebSocketClientTransport } from '../chunk-GTS2FODO.js';
|
|
|
15
15
|
import '../chunk-73ZXUUL6.js';
|
|
16
16
|
import '../chunk-32NA4TVC.js';
|
|
17
17
|
import '../chunk-W3UDISS2.js';
|
|
18
|
-
import '../chunk-
|
|
19
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-PE3A6FFW.js';
|
|
19
|
+
import '../chunk-65VAYFIJ.js';
|
|
20
20
|
import '../chunk-4R6DROGN.js';
|
|
21
21
|
import '../chunk-T3YUSWVK.js';
|
|
22
22
|
import '../chunk-Q6NDQ6BH.js';
|
|
23
23
|
import '../chunk-ZK7DQRB2.js';
|
|
24
|
-
import '../chunk-
|
|
24
|
+
import '../chunk-N6XJGVSK.js';
|
|
25
25
|
import '../chunk-YZSMZK37.js';
|
|
26
|
-
import '../chunk-
|
|
27
|
-
import '../chunk-
|
|
26
|
+
import '../chunk-UOJW2DOZ.js';
|
|
27
|
+
import '../chunk-IQFSXFYG.js';
|
|
28
28
|
import '../chunk-4SIMGJIU.js';
|
|
29
29
|
import '../chunk-LOO5CB5M.js';
|
|
30
30
|
import '../chunk-CPIAQTYM.js';
|
|
31
|
-
import '../chunk-
|
|
31
|
+
import '../chunk-XKPFQ3JT.js';
|
|
32
32
|
import '../chunk-GAH4YRCI.js';
|
|
33
|
-
import '../chunk-
|
|
33
|
+
import '../chunk-PQF3NDQH.js';
|
|
34
34
|
import '../chunk-6E6PKKAD.js';
|
|
35
35
|
import '../chunk-IFGTRL2I.js';
|
|
36
|
-
import '../chunk-
|
|
36
|
+
import '../chunk-A2T4WIZL.js';
|
|
37
37
|
import '../chunk-XPDB4O4H.js';
|
|
38
38
|
import '../chunk-ALLCAFHQ.js';
|
|
39
39
|
import '../chunk-RQLL7L72.js';
|
|
40
40
|
import '../chunk-V4RGCKYC.js';
|
|
41
41
|
import '../chunk-DHMBE5J7.js';
|
|
42
42
|
import '../chunk-O64WU6WS.js';
|
|
43
|
-
import '../chunk-
|
|
43
|
+
import '../chunk-7NRF7BQB.js';
|
|
44
44
|
import '../chunk-4GY63JU6.js';
|
|
45
|
-
import '../chunk-
|
|
45
|
+
import '../chunk-NXTLDFLA.js';
|
|
46
46
|
import '../chunk-F3HNW354.js';
|
|
47
47
|
import '../chunk-K5GBV4SA.js';
|
|
48
48
|
import '../chunk-QVZA2MDT.js';
|
|
49
|
-
import '../chunk-
|
|
49
|
+
import '../chunk-QWGSKDD7.js';
|
|
50
50
|
import '../chunk-MENCWIHW.js';
|
|
51
51
|
import '../chunk-P4VHQA4N.js';
|
|
52
52
|
import '../chunk-2FBPAR2V.js';
|
|
53
53
|
import '../chunk-GEEW6SY2.js';
|
|
54
|
-
import '../chunk-
|
|
54
|
+
import '../chunk-JMKB7IB4.js';
|
|
55
55
|
import '../chunk-DPLIN2RA.js';
|
|
56
56
|
import '../chunk-GZZPKAV5.js';
|
|
57
|
+
import '../chunk-C3CAXQMA.js';
|
|
57
58
|
import '../chunk-BOFL7GIF.js';
|
|
58
59
|
import '../chunk-N7B3LZ7V.js';
|
|
59
60
|
import '../chunk-NSBPE2FW.js';
|