@skaile/workspaces 3.14.1 → 3.16.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 +183 -0
- package/dist/{asset-feeds-STHKKTW3.js → asset-feeds-6UC7CUTI.js} +12 -12
- package/dist/{asset-feeds-STHKKTW3.js.map → asset-feeds-6UC7CUTI.js.map} +1 -1
- package/dist/asset-manager/catalog-deployer.js +7 -7
- package/dist/asset-manager/index.js +12 -12
- package/dist/asset-manager/installer.js +9 -9
- package/dist/asset-manager/renderers.js +2 -2
- package/dist/bridge/drivers/claude-sdk.js +15 -12
- package/dist/bridge/drivers/claude-sdk.js.map +1 -1
- package/dist/bridge/drivers/codex.js +4 -4
- package/dist/bridge/drivers/continue.js +4 -4
- package/dist/bridge/drivers/echo.js +3 -3
- package/dist/bridge/drivers/gemini.js +6 -6
- package/dist/bridge/drivers/goose.js +4 -4
- package/dist/bridge/drivers/omp.js +147 -8
- package/dist/bridge/drivers/omp.js.map +1 -1
- package/dist/bridge/drivers/opencode.js +4 -4
- package/dist/bridge/drivers/qwen.js +6 -6
- package/dist/bridge/index.js +10 -10
- package/dist/bridge/src/drivers/claude-sdk.d.ts.map +1 -1
- package/dist/bridge/src/drivers/omp.d.ts +62 -0
- package/dist/bridge/src/drivers/omp.d.ts.map +1 -1
- package/dist/bridge/src/index.d.ts +1 -0
- package/dist/bridge/src/index.d.ts.map +1 -1
- package/dist/bridge/src/models.d.ts +27 -2
- package/dist/bridge/src/models.d.ts.map +1 -1
- package/dist/bridge/src/provider-endpoints.d.ts +39 -0
- package/dist/bridge/src/provider-endpoints.d.ts.map +1 -1
- package/dist/bridge/src/validation.d.ts +6 -1
- package/dist/bridge/src/validation.d.ts.map +1 -1
- package/dist/{chunk-RUFTB7QN.js → chunk-3NCGSSCU.js} +3 -3
- package/dist/{chunk-RUFTB7QN.js.map → chunk-3NCGSSCU.js.map} +1 -1
- package/dist/{chunk-4VTBZ2MF.js → chunk-3XXQPHGL.js} +4 -4
- package/dist/{chunk-4VTBZ2MF.js.map → chunk-3XXQPHGL.js.map} +1 -1
- package/dist/{chunk-3UU3D2Q3.js → chunk-5KSIVLOX.js} +5 -5
- package/dist/{chunk-3UU3D2Q3.js.map → chunk-5KSIVLOX.js.map} +1 -1
- package/dist/{chunk-HYFJPR7W.js → chunk-6HTQNNOX.js} +7 -7
- package/dist/{chunk-HYFJPR7W.js.map → chunk-6HTQNNOX.js.map} +1 -1
- package/dist/{chunk-PGUTER7Z.js → chunk-6KPCHQP5.js} +3 -3
- package/dist/{chunk-PGUTER7Z.js.map → chunk-6KPCHQP5.js.map} +1 -1
- package/dist/{chunk-GHWJHOYX.js → chunk-7BUZQVRR.js} +4 -4
- package/dist/{chunk-GHWJHOYX.js.map → chunk-7BUZQVRR.js.map} +1 -1
- package/dist/{chunk-JAHHMZWG.js → chunk-7IRJ4K4F.js} +3 -3
- package/dist/{chunk-JAHHMZWG.js.map → chunk-7IRJ4K4F.js.map} +1 -1
- package/dist/{chunk-IRORTHGA.js → chunk-AN6NAFRT.js} +21 -7
- package/dist/chunk-AN6NAFRT.js.map +1 -0
- package/dist/{chunk-OYZIURPH.js → chunk-BQMRUH7J.js} +3 -3
- package/dist/{chunk-OYZIURPH.js.map → chunk-BQMRUH7J.js.map} +1 -1
- package/dist/{chunk-GRMQBBN4.js → chunk-BUKPS4YL.js} +3 -3
- package/dist/{chunk-GRMQBBN4.js.map → chunk-BUKPS4YL.js.map} +1 -1
- package/dist/{chunk-OCLCDB7G.js → chunk-C4AP3XZB.js} +6 -6
- package/dist/{chunk-OCLCDB7G.js.map → chunk-C4AP3XZB.js.map} +1 -1
- package/dist/{chunk-AZPXCHDK.js → chunk-CIPK5JMJ.js} +5 -6
- package/dist/chunk-CIPK5JMJ.js.map +1 -0
- package/dist/{chunk-KKMRT6GU.js → chunk-CL4TYERP.js} +10 -10
- package/dist/{chunk-KKMRT6GU.js.map → chunk-CL4TYERP.js.map} +1 -1
- package/dist/{chunk-IEX5YV4R.js → chunk-DVSASEGO.js} +3 -3
- package/dist/{chunk-IEX5YV4R.js.map → chunk-DVSASEGO.js.map} +1 -1
- package/dist/{chunk-PW4SJE3X.js → chunk-DZ4UZOFB.js} +4 -4
- package/dist/{chunk-PW4SJE3X.js.map → chunk-DZ4UZOFB.js.map} +1 -1
- package/dist/{chunk-5F33LGZL.js → chunk-ER4UOIUS.js} +3 -3
- package/dist/{chunk-5F33LGZL.js.map → chunk-ER4UOIUS.js.map} +1 -1
- package/dist/{chunk-G2CXWUO5.js → chunk-FAI2SMFE.js} +4 -4
- package/dist/{chunk-G2CXWUO5.js.map → chunk-FAI2SMFE.js.map} +1 -1
- package/dist/{chunk-5Q7HA4JP.js → chunk-FTG7CRFD.js} +3 -3
- package/dist/{chunk-5Q7HA4JP.js.map → chunk-FTG7CRFD.js.map} +1 -1
- package/dist/{chunk-V34ZEXSE.js → chunk-GURXUF2J.js} +32 -7
- package/dist/chunk-GURXUF2J.js.map +1 -0
- package/dist/{chunk-Z7W4B7P2.js → chunk-GWQZ2ECO.js} +6 -6
- package/dist/{chunk-Z7W4B7P2.js.map → chunk-GWQZ2ECO.js.map} +1 -1
- package/dist/{chunk-ZPCHTTD7.js → chunk-IVWJHELM.js} +116 -29
- package/dist/chunk-IVWJHELM.js.map +1 -0
- package/dist/{chunk-2A7BV6WT.js → chunk-JNCORFRK.js} +9 -6
- package/dist/chunk-JNCORFRK.js.map +1 -0
- package/dist/{chunk-XICDQVOG.js → chunk-KLDWNSDN.js} +4 -4
- package/dist/{chunk-XICDQVOG.js.map → chunk-KLDWNSDN.js.map} +1 -1
- package/dist/{chunk-URB2QZ4W.js → chunk-MFWIWPJP.js} +8 -8
- package/dist/{chunk-URB2QZ4W.js.map → chunk-MFWIWPJP.js.map} +1 -1
- package/dist/{chunk-VQ4P7UYE.js → chunk-MKZOK4JU.js} +3 -3
- package/dist/{chunk-VQ4P7UYE.js.map → chunk-MKZOK4JU.js.map} +1 -1
- package/dist/{chunk-AONVXRAE.js → chunk-NIUG3MIH.js} +3 -3
- package/dist/{chunk-AONVXRAE.js.map → chunk-NIUG3MIH.js.map} +1 -1
- package/dist/{chunk-ZSZSDBBW.js → chunk-OGTS7QJX.js} +5 -5
- package/dist/{chunk-ZSZSDBBW.js.map → chunk-OGTS7QJX.js.map} +1 -1
- package/dist/{chunk-SH572OBN.js → chunk-OIDFK7SG.js} +4 -4
- package/dist/{chunk-SH572OBN.js.map → chunk-OIDFK7SG.js.map} +1 -1
- package/dist/{chunk-IP3GXHOB.js → chunk-OZ7UNMTK.js} +3 -3
- package/dist/{chunk-IP3GXHOB.js.map → chunk-OZ7UNMTK.js.map} +1 -1
- package/dist/{chunk-UTW6YKAC.js → chunk-PMYZRX6M.js} +3 -3
- package/dist/{chunk-UTW6YKAC.js.map → chunk-PMYZRX6M.js.map} +1 -1
- package/dist/{chunk-O7WKKINT.js → chunk-S4UA244H.js} +5 -5
- package/dist/{chunk-O7WKKINT.js.map → chunk-S4UA244H.js.map} +1 -1
- package/dist/{chunk-WAFHQDLK.js → chunk-SUPIVTLX.js} +3 -3
- package/dist/{chunk-WAFHQDLK.js.map → chunk-SUPIVTLX.js.map} +1 -1
- package/dist/{chunk-Y6JJHOLR.js → chunk-SZ7VJQK3.js} +10 -10
- package/dist/{chunk-Y6JJHOLR.js.map → chunk-SZ7VJQK3.js.map} +1 -1
- package/dist/{chunk-3A5IKBHQ.js → chunk-W4IPN3DD.js} +61 -8
- package/dist/chunk-W4IPN3DD.js.map +1 -0
- package/dist/{chunk-VW6RUT7X.js → chunk-X2665LP2.js} +8 -8
- package/dist/{chunk-VW6RUT7X.js.map → chunk-X2665LP2.js.map} +1 -1
- package/dist/{chunk-M5D2QNTY.js → chunk-ZNCZ7RUO.js} +3 -3
- package/dist/{chunk-M5D2QNTY.js.map → chunk-ZNCZ7RUO.js.map} +1 -1
- package/dist/cli/index.js +60 -56
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/src/commands/serve.d.ts.map +1 -1
- package/dist/connectors/config.js +7 -7
- package/dist/connectors/index.js +13 -13
- package/dist/core/index.js +6 -6
- package/dist/core/logging.js +2 -2
- package/dist/core/manifest.js +2 -2
- package/dist/core/runtime-assets.js +4 -4
- package/dist/core/src/logging/index.d.ts +2 -0
- package/dist/core/src/logging/index.d.ts.map +1 -1
- package/dist/core/src/logging/log-store.d.ts.map +1 -1
- package/dist/core/src/logging/sinks/stdout-sink.d.ts +6 -1
- package/dist/core/src/logging/sinks/stdout-sink.d.ts.map +1 -1
- package/dist/core/src/logging/stream-health.d.ts +46 -0
- package/dist/core/src/logging/stream-health.d.ts.map +1 -0
- package/dist/core/src/settings.d.ts +12 -1
- package/dist/core/src/settings.d.ts.map +1 -1
- package/dist/core/workspace-config.js +3 -3
- package/dist/deploy/index.js +8 -7
- package/dist/deploy/index.js.map +1 -1
- package/dist/deploy/src/targets/process-handle.d.ts.map +1 -1
- package/dist/discovery/index.js +4 -4
- package/dist/{ensure-sources-BFVKV773.js → ensure-sources-VJZUHSFZ.js} +15 -15
- package/dist/{ensure-sources-BFVKV773.js.map → ensure-sources-VJZUHSFZ.js.map} +1 -1
- package/dist/factory-assets/connectors/box.js +13 -13
- package/dist/factory-assets/connectors/deploy.js +13 -13
- package/dist/factory-assets/connectors/devserver.js +13 -13
- package/dist/factory-assets/connectors/flow/adapter.js +13 -13
- package/dist/factory-assets/connectors/flow/engine.js +7 -7
- package/dist/factory-assets/connectors/flow/run-flow.js +15 -15
- package/dist/factory-assets/connectors/flow.js +13 -13
- package/dist/factory-assets/connectors/git.js +13 -13
- package/dist/factory-assets/connectors/gmail.js +13 -13
- package/dist/factory-assets/connectors/googledrive.js +13 -13
- package/dist/factory-assets/connectors/local.js +13 -13
- package/dist/factory-assets/connectors/mattermost.js +13 -13
- package/dist/factory-assets/connectors/memory.js +13 -13
- package/dist/factory-assets/connectors/minio.js +13 -13
- package/dist/factory-assets/connectors/postgres.js +13 -13
- package/dist/factory-assets/connectors/s3.js +13 -13
- package/dist/factory-assets/connectors/sharepoint.js +13 -13
- package/dist/factory-assets/connectors/sqlite.js +13 -13
- package/dist/factory-assets/connectors/static-server.js +13 -13
- package/dist/factory-assets/connectors/tunnel.js +13 -13
- package/dist/factory-assets/connectors/webdav.js +13 -13
- package/dist/factory-assets/connectors/xstate-store.js +13 -13
- package/dist/factory-assets/connectors/xstate.js +13 -13
- package/dist/flows-2SUFOVVO.js +20 -0
- package/dist/{flows-4R4VJ5VM.js.map → flows-2SUFOVVO.js.map} +1 -1
- package/dist/{helpers-CQV2V2SL.js → helpers-EEYMGGLO.js} +15 -15
- package/dist/{helpers-CQV2V2SL.js.map → helpers-EEYMGGLO.js.map} +1 -1
- package/dist/library/index.js +9 -9
- package/dist/library/install.js +6 -6
- package/dist/{library-publish-6FZCXPYU.js → library-publish-37UBVMC3.js} +19 -19
- package/dist/{library-publish-6FZCXPYU.js.map → library-publish-37UBVMC3.js.map} +1 -1
- package/dist/open-library-JYVUN4CY.js +32 -0
- package/dist/{open-library-4EOFZ4QD.js.map → open-library-JYVUN4CY.js.map} +1 -1
- package/dist/paths-4APA2PKT.js +16 -0
- package/dist/{paths-S7UESJKT.js.map → paths-4APA2PKT.js.map} +1 -1
- package/dist/{plugin-store-5SJX2PRR.js → plugin-store-JQAIKR3R.js} +8 -8
- package/dist/{plugin-store-5SJX2PRR.js.map → plugin-store-JQAIKR3R.js.map} +1 -1
- package/dist/{project-J7RSKBAU.js → project-DKQACM3N.js} +16 -16
- package/dist/{project-J7RSKBAU.js.map → project-DKQACM3N.js.map} +1 -1
- package/dist/resolver/index.js +7 -7
- package/dist/runner/index.js +18 -18
- package/dist/runner/src/process-safety-net.d.ts +61 -0
- package/dist/runner/src/process-safety-net.d.ts.map +1 -0
- package/dist/runner/src/serve.d.ts +10 -0
- package/dist/runner/src/serve.d.ts.map +1 -1
- package/dist/sdk/asset-manager.js +12 -12
- package/dist/sdk/bridge.js +10 -10
- package/dist/sdk/core.js +6 -6
- package/dist/sdk/flow.js +7 -7
- package/dist/sdk/index.js +18 -18
- package/dist/sdk/resolver.js +7 -7
- package/dist/sdk/runner.js +18 -18
- package/dist/{setup-OQT5YK2Q.js → setup-7FJNMKFA.js} +12 -12
- package/dist/{setup-OQT5YK2Q.js.map → setup-7FJNMKFA.js.map} +1 -1
- package/dist/skills-Q7PJVB3W.js +20 -0
- package/dist/{skills-OBJX3VYG.js.map → skills-Q7PJVB3W.js.map} +1 -1
- package/dist/{source-AJ27AS6D.js → source-CT6RH3CJ.js} +18 -18
- package/dist/{source-AJ27AS6D.js.map → source-CT6RH3CJ.js.map} +1 -1
- package/dist/{source-manifest-publish-UCA2O5UA.js → source-manifest-publish-VBENANBT.js} +20 -20
- package/dist/{source-manifest-publish-UCA2O5UA.js.map → source-manifest-publish-VBENANBT.js.map} +1 -1
- package/dist/tui/index.js +18 -18
- package/dist/types/manifests.js +1 -1
- package/dist/types/src/manifests/agent.d.ts +47 -7
- package/dist/types/src/manifests/agent.d.ts.map +1 -1
- package/dist/types/src/manifests/index.d.ts +2 -2
- package/dist/types/src/manifests/index.d.ts.map +1 -1
- package/dist/workspace-plugin/adapters/mcp.js +11 -11
- package/dist/workspace-plugin/adapters/omp.js +7 -7
- package/dist/workspace-plugin/index.js +3 -3
- package/package.json +2 -1
- package/dist/chunk-2A7BV6WT.js.map +0 -1
- package/dist/chunk-3A5IKBHQ.js.map +0 -1
- package/dist/chunk-AZPXCHDK.js.map +0 -1
- package/dist/chunk-IRORTHGA.js.map +0 -1
- package/dist/chunk-V34ZEXSE.js.map +0 -1
- package/dist/chunk-ZPCHTTD7.js.map +0 -1
- package/dist/flows-4R4VJ5VM.js +0 -20
- package/dist/open-library-4EOFZ4QD.js +0 -32
- package/dist/paths-S7UESJKT.js +0 -16
- package/dist/skills-OBJX3VYG.js +0 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/serve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,
|
|
1
|
+
{"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../../../cli/src/commands/serve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAsD1C"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { LegacyAuthGrammarError, createCliSecretProviderChain, createForgeSecretProviderChain, loadConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations } from '../chunk-5KSIVLOX.js';
|
|
2
|
+
import '../chunk-CIPK5JMJ.js';
|
|
3
3
|
import '../chunk-F3HNW354.js';
|
|
4
4
|
import '../chunk-K5GBV4SA.js';
|
|
5
5
|
import '../chunk-QVZA2MDT.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-OIDFK7SG.js';
|
|
7
|
+
import '../chunk-OZ7UNMTK.js';
|
|
8
8
|
import '../chunk-MENCWIHW.js';
|
|
9
9
|
import '../chunk-P4VHQA4N.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-MKZOK4JU.js';
|
|
11
11
|
import '../chunk-GEEW6SY2.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-FTG7CRFD.js';
|
|
13
|
+
import '../chunk-W4IPN3DD.js';
|
|
14
14
|
import '../chunk-NSBPE2FW.js';
|
|
15
15
|
//# sourceMappingURL=config.js.map
|
|
16
16
|
//# sourceMappingURL=config.js.map
|
package/dist/connectors/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, PortPool, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, buildSdkFlowTools, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, ensureRefreshAttemptStamp, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, removeMountBlock, removeUnavailableMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock, writeUnavailableMountBlock } from '../chunk-
|
|
2
|
-
export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, isKnownSecretRef, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { AbstractConnector, BUILTIN_CONNECTOR_CATALOG, ConnectorFieldMissingError, ConnectorManager, ConnectorStartupError, FlowAdapter, LogBuffer, ManagedGitconfigCollisionError, PortPool, atomicReplaceCredential, buildConnectorPromptSection, buildSdkConnectorTools, buildSdkFlowTools, createFsWatcher, createWorktree, defaultSpawn, ensureDirMode, ensureFleetMounted, ensureRefreshAttemptStamp, findGitRoot, findMissingPackages, getConnector, installNpmPackages, isFleetManaged, isPackageResolvable, listConnectors, listWorktrees, registerBuiltinConnectors, removeMountBlock, removeUnavailableMountBlock, renderCredentialHelperScript, tryGetConnector, worktreeRegistry, writeHelperScript, writeMountBlock, writeUnavailableMountBlock } from '../chunk-CL4TYERP.js';
|
|
2
|
+
export { EnvSecretProvider, ForgeSecretProvider, InMemorySecretProvider, LegacyAuthGrammarError, LockedSecretProvider, OAuthRequiredError, PreMintedSecretProvider, SecretProviderChain, createCliSecretProviderChain, createForgeSecretProviderChain, deriveSingleMaterializedConnectorDeclaration, fromMaterializedConnectorMd, isKnownSecretRef, loadConnectorDeclarations, loadMaterializedConnectorDeclarations, resolveAuthRef, resolveBackendAuthFor, resolvedConfigToDeclarations } from '../chunk-5KSIVLOX.js';
|
|
3
|
+
import '../chunk-JNCORFRK.js';
|
|
4
|
+
import '../chunk-3NCGSSCU.js';
|
|
5
5
|
import '../chunk-RRVQAE5D.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-GURXUF2J.js';
|
|
7
7
|
import '../chunk-GAH4YRCI.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-NIUG3MIH.js';
|
|
9
9
|
import '../chunk-6E6PKKAD.js';
|
|
10
10
|
import '../chunk-IFGTRL2I.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-BQMRUH7J.js';
|
|
12
12
|
import '../chunk-AXEOG4B5.js';
|
|
13
13
|
import '../chunk-HY6CIKFH.js';
|
|
14
14
|
import '../chunk-2D5BYAL6.js';
|
|
15
15
|
import '../chunk-ELPR5XBG.js';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-CIPK5JMJ.js';
|
|
17
17
|
import '../chunk-F3HNW354.js';
|
|
18
18
|
import '../chunk-K5GBV4SA.js';
|
|
19
19
|
import '../chunk-QVZA2MDT.js';
|
|
20
|
-
import '../chunk-
|
|
21
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-OIDFK7SG.js';
|
|
21
|
+
import '../chunk-OZ7UNMTK.js';
|
|
22
22
|
import '../chunk-MENCWIHW.js';
|
|
23
23
|
import '../chunk-P4VHQA4N.js';
|
|
24
|
-
import '../chunk-
|
|
24
|
+
import '../chunk-MKZOK4JU.js';
|
|
25
25
|
import '../chunk-GEEW6SY2.js';
|
|
26
|
-
import '../chunk-
|
|
27
|
-
import '../chunk-
|
|
26
|
+
import '../chunk-FTG7CRFD.js';
|
|
27
|
+
import '../chunk-W4IPN3DD.js';
|
|
28
28
|
import '../chunk-NSBPE2FW.js';
|
|
29
29
|
//# sourceMappingURL=index.js.map
|
|
30
30
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { ALL_PROVIDERS, ManifestYamlEditor, SETTINGS_DEFAULTS, WorkspaceYamlEditor, aiResourceRoots, applyPatch, buildLockFile, checkAgentSkillConformance, computeHash, defaultLibraryDir, detectEnvApiKeys, extractForPatch, generatePatch, globalSettingsPath, listPatches, loadSettings, mapLegacyFields, maskApiKey, migrateSettings, portableSpawn, portableSpawnSync, projectSettingsPath, providerEnvKey, readLock, readPatch, readPluginsLockSlice, resolveAllKeys, resolveApiKey, resolveLibraryDir, resolveSettings, savePatch, saveSettings, skaileHomeDir, verifyLock, walkForSettings, writeLock, writePluginsLockSlice } from '../chunk-
|
|
1
|
+
export { ALL_PROVIDERS, ManifestYamlEditor, SETTINGS_DEFAULTS, WorkspaceYamlEditor, aiResourceRoots, applyPatch, buildLockFile, checkAgentSkillConformance, computeHash, defaultLibraryDir, detectEnvApiKeys, extractForPatch, generatePatch, globalSettingsPath, listPatches, loadSettings, mapLegacyFields, maskApiKey, migrateSettings, portableSpawn, portableSpawnSync, projectSettingsPath, providerEnvKey, readLock, readPatch, readPluginsLockSlice, resolveAllKeys, resolveApiKey, resolveLibraryDir, resolveSettings, savePatch, saveSettings, skaileHomeDir, verifyLock, walkForSettings, writeLock, writePluginsLockSlice } from '../chunk-CIPK5JMJ.js';
|
|
2
2
|
export { deployedBase, deployedDir, isDeployed } from '../chunk-F3HNW354.js';
|
|
3
3
|
export { DRIVER_DEFAULTS, resolveDriverPaths } from '../chunk-K5GBV4SA.js';
|
|
4
4
|
export { ASSET_KIND_DIRS, assetSearchDirs, detectAiResources, detectDomains, detectMonorepoRoot } from '../chunk-QVZA2MDT.js';
|
|
5
|
-
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-
|
|
6
|
-
export { COMPACTION_DEFAULTS, CanonicalRefConflictError, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, __resetCacheMigrationMemo, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, cloudConfigFromProfile, coerceVersion, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, globalCacheRoot, globalSkaileDir, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, matchPin, mergeLegacyEntriesInto, mergeLegacyEntriesKeyed, mergeSkWorkspaceConfigs, migrateLegacyDir, normalizeConfig, pullRepo, readLinks, resolveAgentDir, resolveAll, resolveAsset, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, saveSkWorkspaceConfig, scanRepo, sourceCacheKey, sourceShortName, stageMaterializedSkills, storeManifestSlug, unlinkRepo, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-
|
|
5
|
+
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-OIDFK7SG.js';
|
|
6
|
+
export { COMPACTION_DEFAULTS, CanonicalRefConflictError, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, __resetCacheMigrationMemo, buildProvenanceIndex, checkRepoStatus, checkoutPin, cloneRepo, cloudConfigFromProfile, coerceVersion, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, ensureRepo, findWorkspaceRoot, getGlobalCacheDir, getRepoCommit, globalCacheRoot, globalSkaileDir, linkRepo, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, matchPin, mergeLegacyEntriesInto, mergeLegacyEntriesKeyed, mergeSkWorkspaceConfigs, migrateLegacyDir, normalizeConfig, pullRepo, readLinks, resolveAgentDir, resolveAll, resolveAsset, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, resolveSourcePublisher, saveSkWorkspaceConfig, scanRepo, sourceCacheKey, sourceShortName, stageMaterializedSkills, storeManifestSlug, unlinkRepo, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, writeLinks } from '../chunk-OZ7UNMTK.js';
|
|
7
7
|
export { DRIVER_TARGETS, SUPPORTED_DRIVER_TARGETS, globalBackendRoot } from '../chunk-MENCWIHW.js';
|
|
8
8
|
export { SKAILE_MANIFEST_FILENAME, decodeSkaileManifest, encodeSkaileManifest, loadSkPublishManifest, saveSkPublishManifest } from '../chunk-P4VHQA4N.js';
|
|
9
|
-
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-
|
|
9
|
+
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-MKZOK4JU.js';
|
|
10
10
|
export { ASSET_KINDS, ASSET_NAME_HINT, INDIVIDUAL_KINDS, assetRefToDep, assetRefToStr, depToStr, entryFromRaw, entryToRaw, isValidAssetName, parseAssetRef, parseDep, repositoryFromRaw, repositoryToRaw, slugifyAssetName } from '../chunk-GEEW6SY2.js';
|
|
11
|
-
export { OnLogBridgeSink, SqliteSink, WsLogSink, createLogStoreFromConfig, openSqlite, resolveLogStoreConfig } from '../chunk-
|
|
12
|
-
export { LogStore, LogStoreDisabledError, NoOpSink, StdoutSink, createLogger, getLogStore, normalizeError, registerLogStore, resetLogStore, sanitizeData } from '../chunk-
|
|
11
|
+
export { OnLogBridgeSink, SqliteSink, WsLogSink, createLogStoreFromConfig, openSqlite, resolveLogStoreConfig } from '../chunk-FTG7CRFD.js';
|
|
12
|
+
export { LogStore, LogStoreDisabledError, NoOpSink, StdoutSink, __resetBrokenStreams, createLogger, getLogStore, isBrokenPipeError, isStreamOpen, isStreamUsable, isUnwritableStreamError, markStreamBroken, normalizeError, registerLogStore, resetLogStore, sanitizeData } from '../chunk-W4IPN3DD.js';
|
|
13
13
|
import '../chunk-NSBPE2FW.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/dist/core/logging.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { OnLogBridgeSink, SqliteSink, WsLogSink, createLogStoreFromConfig, openSqlite, resolveLogStoreConfig } from '../chunk-
|
|
2
|
-
export { LogStore, LogStoreDisabledError, NoOpSink, StdoutSink, createLogger, getLogStore, normalizeError, registerLogStore, resetLogStore, sanitizeData } from '../chunk-
|
|
1
|
+
export { OnLogBridgeSink, SqliteSink, WsLogSink, createLogStoreFromConfig, openSqlite, resolveLogStoreConfig } from '../chunk-FTG7CRFD.js';
|
|
2
|
+
export { LogStore, LogStoreDisabledError, NoOpSink, StdoutSink, __resetBrokenStreams, createLogger, getLogStore, isBrokenPipeError, isStreamOpen, isStreamUsable, isUnwritableStreamError, markStreamBroken, normalizeError, registerLogStore, resetLogStore, sanitizeData } from '../chunk-W4IPN3DD.js';
|
|
3
3
|
import '../chunk-NSBPE2FW.js';
|
|
4
4
|
//# sourceMappingURL=logging.js.map
|
|
5
5
|
//# sourceMappingURL=logging.js.map
|
package/dist/core/manifest.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { DEFAULT_WALK_BUDGET_MS, DEFAULT_WALK_MAX_DEPTH, DEFAULT_WALK_MAX_ENTRIES, WALK_BUDGET_MS_ENV_VAR, WALK_MAX_DEPTH_ENV_VAR, WALK_MAX_ENTRIES_ENV_VAR, bundleDepRefs, fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromKnowledgeYaml, fromMcpServerMd, fromMcpServerMdContent, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-
|
|
1
|
+
export { DEFAULT_WALK_BUDGET_MS, DEFAULT_WALK_MAX_DEPTH, DEFAULT_WALK_MAX_ENTRIES, WALK_BUDGET_MS_ENV_VAR, WALK_MAX_DEPTH_ENV_VAR, WALK_MAX_ENTRIES_ENV_VAR, bundleDepRefs, fromAgentMd, fromAgentYaml, fromBundleYaml, fromConnectorMd, fromContractMd, fromFlowYaml, fromKnowledgeYaml, fromMcpServerMd, fromMcpServerMdContent, fromPromptMd, fromSkillMd, parseFrontmatter, parseRequires, scanDirectory, walkDir } from '../chunk-MKZOK4JU.js';
|
|
2
2
|
import '../chunk-GEEW6SY2.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-W4IPN3DD.js';
|
|
4
4
|
import '../chunk-NSBPE2FW.js';
|
|
5
5
|
//# sourceMappingURL=manifest.js.map
|
|
6
6
|
//# sourceMappingURL=manifest.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { FACTORY_ASSETS_REPO_NAME, factoryAssetRoots, resolveFactoryAssetsRoot, resolveFactoryAssetsRootOrNull, resolvePackagedAssetsDir, resolveRuntimeAssets, resolveWorkspacesPackageRoot } from '../chunk-OIDFK7SG.js';
|
|
2
|
+
import '../chunk-OZ7UNMTK.js';
|
|
3
3
|
import '../chunk-MENCWIHW.js';
|
|
4
4
|
import '../chunk-P4VHQA4N.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-MKZOK4JU.js';
|
|
6
6
|
import '../chunk-GEEW6SY2.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-W4IPN3DD.js';
|
|
8
8
|
import '../chunk-NSBPE2FW.js';
|
|
9
9
|
//# sourceMappingURL=runtime-assets.js.map
|
|
10
10
|
//# sourceMappingURL=runtime-assets.js.map
|
|
@@ -4,6 +4,8 @@ export { createLogger, getLogStore, registerLogStore, resetLogStore, } from "./c
|
|
|
4
4
|
export type { LogStoreOptions, RecordInput } from "./log-store.js";
|
|
5
5
|
export { LogStore } from "./log-store.js";
|
|
6
6
|
export { normalizeError, sanitizeData } from "./sanitize.js";
|
|
7
|
+
export type { OutputStream } from "./stream-health.js";
|
|
8
|
+
export { __resetBrokenStreams, isBrokenPipeError, isStreamOpen, isStreamUsable, isUnwritableStreamError, markStreamBroken, } from "./stream-health.js";
|
|
7
9
|
export { NoOpSink } from "./sinks/no-op-sink.js";
|
|
8
10
|
export { OnLogBridgeSink } from "./sinks/on-log-bridge-sink.js";
|
|
9
11
|
export type { OpenSqliteOptions, PortableDatabase, PortableStatement, } from "./sinks/sqlite-runtime.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/src/logging/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,EACL,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,YAAY,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,YAAY,EACV,YAAY,EACZ,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,YAAY,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/src/logging/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,EACL,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7D,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,YAAY,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,YAAY,EACV,YAAY,EACZ,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,YAAY,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log-store.d.ts","sourceRoot":"","sources":["../../../../core/src/logging/log-store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,SAAS,EACV,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"log-store.d.ts","sourceRoot":"","sources":["../../../../core/src/logging/log-store.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,SAAS,EACV,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,QAAQ,CAAC;IAChB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,SAAS,CAAC;IAClB,KAAK,EAAE,QAAQ,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3D;AASD;;;;;;;;;;;GAWG;AACH,qBAAa,QAAQ;IACnB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,KAAK,CAAW;IACxB,OAAO,CAAC,KAAK,CAAY;IACzB,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,KAAK,CAA+B;IAC5C,OAAO,CAAC,OAAO,CAAsB;IACrC,OAAO,CAAC,MAAM,CAAS;gBAEX,IAAI,EAAE,eAAe;IASjC,QAAQ,IAAI,QAAQ;IAIpB,QAAQ,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI;IAI/B,gFAAgF;IAChF,OAAO,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI;IAI5B,mFAAmF;IACnF,SAAS,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO;IAInC,MAAM,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI;IAwBhC,kEAAkE;IAClE,SAAS,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,GAAG,MAAM,IAAI;IAKzD;;;;;;;;OAQG;IACH,KAAK,CAAC,CAAC,EAAE,QAAQ,GAAG,cAAc;IAOlC,wFAAwF;IACxF,KAAK,IAAI,IAAI;IAIb;;;;;OAKG;IACH,KAAK,IAAI,IAAI;IAYb,OAAO,CAAC,SAAS;CAmBlB"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import type { LogEntry } from "@skaile/workspaces/types";
|
|
2
|
+
import { type OutputStream } from "../stream-health.js";
|
|
2
3
|
import type { LogSink } from "./types.js";
|
|
3
4
|
export type StdoutFormat = "pretty" | "json";
|
|
4
5
|
/** Which standard stream the sink writes to. */
|
|
5
6
|
export type StdoutStream = "stdout" | "stderr";
|
|
7
|
+
export type { OutputStream };
|
|
6
8
|
export interface StdoutSinkOptions {
|
|
7
9
|
format?: StdoutFormat;
|
|
8
10
|
/**
|
|
9
11
|
* Standard stream to write to. Default: `"stdout"`. Set to `"stderr"` for
|
|
10
12
|
* processes whose stdout is a reserved channel — e.g. a stdio MCP server,
|
|
11
13
|
* where stdout carries JSON-RPC and any log line would corrupt the protocol.
|
|
14
|
+
* An explicit stream object may be passed instead; used by tests.
|
|
12
15
|
*/
|
|
13
|
-
stream?: StdoutStream;
|
|
16
|
+
stream?: StdoutStream | OutputStream;
|
|
14
17
|
}
|
|
15
18
|
export declare class StdoutSink implements LogSink {
|
|
16
19
|
private format;
|
|
@@ -19,6 +22,8 @@ export declare class StdoutSink implements LogSink {
|
|
|
19
22
|
write(entry: LogEntry): void;
|
|
20
23
|
writeBatch(entries: LogEntry[]): void;
|
|
21
24
|
close(): void;
|
|
25
|
+
/** False once the far end is gone; the sink then drops entries silently. */
|
|
26
|
+
private writable;
|
|
22
27
|
private render;
|
|
23
28
|
}
|
|
24
29
|
//# sourceMappingURL=stdout-sink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stdout-sink.d.ts","sourceRoot":"","sources":["../../../../../core/src/logging/sinks/stdout-sink.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAa,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE7C,gDAAgD;AAChD,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB
|
|
1
|
+
{"version":3,"file":"stdout-sink.d.ts","sourceRoot":"","sources":["../../../../../core/src/logging/sinks/stdout-sink.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAa,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE7C,gDAAgD;AAChD,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE/C,YAAY,EAAE,YAAY,EAAE,CAAC;AAE7B,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;CACtC;AAoBD,qBAAa,UAAW,YAAW,OAAO;IACxC,OAAO,CAAC,MAAM,CAAe;IAC7B,OAAO,CAAC,MAAM,CAAe;gBAEjB,IAAI,GAAE,iBAAsB;IAKxC,KAAK,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI;IAU5B,UAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,IAAI;IAKrC,KAAK,IAAI,IAAI;IAEb,4EAA4E;IAC5E,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,MAAM;CAUf"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Liveness checks for the stdio streams the logging layer writes to.
|
|
3
|
+
*
|
|
4
|
+
* Shared by `StdoutSink` (which stops writing to a dead stream) and the
|
|
5
|
+
* runner's `watchOutputStream` (which stops the loop, and exits only when its
|
|
6
|
+
* caller owns the process), so the two cannot disagree about what "dead" means.
|
|
7
|
+
* See `_devlog/notes/2026-09-07-stdout-epipe-log-loop.md`.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Structural subset of `process.stdout` these helpers need. Declared instead of
|
|
11
|
+
* `NodeJS.WriteStream` so tests and embedders can pass an ordinary `Writable`.
|
|
12
|
+
*/
|
|
13
|
+
export type OutputStream = NodeJS.WritableStream & {
|
|
14
|
+
isTTY?: boolean;
|
|
15
|
+
destroyed?: boolean;
|
|
16
|
+
writableEnded?: boolean;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* True only for `EPIPE` — the reader closed its end.
|
|
20
|
+
*
|
|
21
|
+
* Deliberately narrow, because callers act on it by killing the process: a
|
|
22
|
+
* wider set would let an unrelated bad descriptor take a whole session down.
|
|
23
|
+
* Use {@link isUnwritableStreamError} to decide whether to stop *writing*.
|
|
24
|
+
*/
|
|
25
|
+
export declare function isBrokenPipeError(err: unknown): boolean;
|
|
26
|
+
/** True when a further write to this stream can only fail the same way. */
|
|
27
|
+
export declare function isUnwritableStreamError(err: unknown): boolean;
|
|
28
|
+
/** False once the stream has been destroyed or ended. */
|
|
29
|
+
export declare function isStreamOpen(stream: {
|
|
30
|
+
destroyed?: boolean;
|
|
31
|
+
writableEnded?: boolean;
|
|
32
|
+
}): boolean;
|
|
33
|
+
/** Record that a stream will never accept another write. Idempotent. */
|
|
34
|
+
export declare function markStreamBroken(stream: object): void;
|
|
35
|
+
/**
|
|
36
|
+
* Forget every broken-stream mark. Test-only — the registry is process-wide by
|
|
37
|
+
* design, so a suite that breaks a stream would otherwise leak that verdict.
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
export declare function __resetBrokenStreams(): void;
|
|
41
|
+
/** True while a stream is worth writing to. */
|
|
42
|
+
export declare function isStreamUsable(stream: {
|
|
43
|
+
destroyed?: boolean;
|
|
44
|
+
writableEnded?: boolean;
|
|
45
|
+
}): boolean;
|
|
46
|
+
//# sourceMappingURL=stream-health.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream-health.d.ts","sourceRoot":"","sources":["../../../../core/src/logging/stream-health.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,cAAc,GAAG;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAQF;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAEvD;AAcD,2EAA2E;AAC3E,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAG7D;AAED,yDAAyD;AACzD,wBAAgB,YAAY,CAAC,MAAM,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAE9F;AAWD,wEAAwE;AACxE,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAErD;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C;AAED,+CAA+C;AAC/C,wBAAgB,cAAc,CAAC,MAAM,EAAE;IAAE,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,OAAO,CAEhG"}
|
|
@@ -36,7 +36,7 @@ export type Provider = (typeof ALL_PROVIDERS)[number];
|
|
|
36
36
|
export interface SkaileSettings {
|
|
37
37
|
/** Active LLM provider identifier (e.g. "anthropic", "openai"). */
|
|
38
38
|
provider?: string;
|
|
39
|
-
/** Active model identifier (e.g. "claude-
|
|
39
|
+
/** Active model identifier (e.g. "claude-opus-5"). */
|
|
40
40
|
model?: string;
|
|
41
41
|
/** Bridge driver to use: "omp", "claude-sdk", or "codex". */
|
|
42
42
|
driver?: string;
|
|
@@ -73,6 +73,17 @@ export interface SkaileSettings {
|
|
|
73
73
|
/**
|
|
74
74
|
* Built-in default settings. Lowest-priority layer in resolveSettings().
|
|
75
75
|
* Override via .skaile/settings.json, ~/.skaile/settings.json, or env vars.
|
|
76
|
+
*
|
|
77
|
+
* `model` is deliberately absent. A hardcoded default here is not a floor a
|
|
78
|
+
* consumer can opt out of: because `loadSettings` and `resolveSettings` spread
|
|
79
|
+
* these defaults *under* every other layer, deleting `model` from a settings
|
|
80
|
+
* file does not unset it — the built-in comes back. A caller therefore cannot
|
|
81
|
+
* express "no model configured" and cannot route an unconfigured session to its
|
|
82
|
+
* own per-backend default; it silently inherits whichever id was pinned here,
|
|
83
|
+
* however stale. Leaving it unset lets each driver apply its own current
|
|
84
|
+
* default (omp omits `--model`; claude-sdk falls back to the `sonnet` rolling
|
|
85
|
+
* alias), which is the one that ages correctly.
|
|
86
|
+
*
|
|
76
87
|
* @docLink packages/core/settings#settings-defaults
|
|
77
88
|
*/
|
|
78
89
|
export declare const SETTINGS_DEFAULTS: SkaileSettings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../core/src/settings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,uBAAuB,CAAC;AAI/B;;;GAGG;AACH,eAAO,MAAM,aAAa,mJAahB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD;;;;;;;;GAQG;AACH,MAAM,WAAW,cAAc;IAC7B,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../core/src/settings.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { COMPACTION_DEFAULTS, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SKAILE_YAML_SUFFIX, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, cloudConfigFromProfile, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, findWorkspaceRoot, isWorkspaceConfigFilename, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, resolveAgentDir, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, stageMaterializedSkills, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, workspaceNameFromFilename } from '../chunk-
|
|
1
|
+
export { COMPACTION_DEFAULTS, DEFAULT_RECIPE_ATTR, SKAILE_YAML_DEFAULT, SKAILE_YAML_SUFFIX, SK_WORKSPACE_DEFAULT_NAME, SK_WORKSPACE_SUFFIX, cloudConfigFromProfile, decodeSkaileYaml, deriveSingleMaterializedMcpDeclaration, encodeSkaileYaml, findWorkspaceRoot, isWorkspaceConfigFilename, listSkWorkspaceConfigs, loadMcpServerDeclarations, loadSkWorkspaceConfig, mergeSkWorkspaceConfigs, normalizeConfig, resolveAgentDir, resolveGlobalBackends, resolveGlobalSkWorkspaceConfig, resolveSkWorkspaceConfig, saveSkWorkspaceConfig, stageMaterializedSkills, validateAssetRecipeAttr, validateAssetRecipeFlake, workspaceConfigFilename, workspaceNameFromFilename } from '../chunk-OZ7UNMTK.js';
|
|
2
2
|
import '../chunk-MENCWIHW.js';
|
|
3
3
|
import '../chunk-P4VHQA4N.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-MKZOK4JU.js';
|
|
5
5
|
import '../chunk-GEEW6SY2.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-W4IPN3DD.js';
|
|
7
7
|
import '../chunk-NSBPE2FW.js';
|
|
8
8
|
//# sourceMappingURL=workspace-config.js.map
|
|
9
9
|
//# sourceMappingURL=workspace-config.js.map
|
package/dist/deploy/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { makeDeployHandle, pluginRegistry } from '../chunk-6E6PKKAD.js';
|
|
2
|
-
import { portableSpawnSync, portableSpawn } from '../chunk-
|
|
2
|
+
import { portableSpawnSync, portableSpawn } from '../chunk-CIPK5JMJ.js';
|
|
3
3
|
import '../chunk-F3HNW354.js';
|
|
4
4
|
import '../chunk-K5GBV4SA.js';
|
|
5
5
|
import '../chunk-QVZA2MDT.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-OIDFK7SG.js';
|
|
7
|
+
import '../chunk-OZ7UNMTK.js';
|
|
8
8
|
import '../chunk-MENCWIHW.js';
|
|
9
9
|
import '../chunk-P4VHQA4N.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-MKZOK4JU.js';
|
|
11
11
|
import '../chunk-GEEW6SY2.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-FTG7CRFD.js';
|
|
13
|
+
import '../chunk-W4IPN3DD.js';
|
|
14
14
|
import '../chunk-NSBPE2FW.js';
|
|
15
15
|
import * as z from 'zod';
|
|
16
16
|
import { createServer } from 'net';
|
|
@@ -310,7 +310,8 @@ function pidAlive(pid) {
|
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
function spawnProcess(command, args, opts) {
|
|
313
|
-
const
|
|
313
|
+
const env = { ...opts.env, SKAILE_SERVE_EXIT_ON_BROKEN_STDOUT: "0" };
|
|
314
|
+
const proc = portableSpawn([command, ...args], { cwd: opts.cwd, env });
|
|
314
315
|
const buffer = new LineBuffer();
|
|
315
316
|
void pumpLines(proc.stdout, buffer);
|
|
316
317
|
void pumpLines(proc.stderr, buffer);
|