@skaile/workspaces 0.40.1 → 0.40.2
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 +6 -0
- package/dist/{chunk-PBHLDLVU.js → chunk-2DYJ7BJG.js} +6 -2
- package/dist/chunk-2DYJ7BJG.js.map +1 -0
- package/dist/{chunk-DBL3X6V4.js → chunk-J5DB4KHE.js} +2 -2
- package/dist/{chunk-DBL3X6V4.js.map → chunk-J5DB4KHE.js.map} +1 -1
- package/dist/cli/index.js +2 -2
- package/dist/factory-assets/connectors/flow/run-flow.js +1 -1
- package/dist/runner/index.js +1 -1
- package/dist/runner/src/mcp-runtime-handlers.d.ts +4 -0
- package/dist/runner/src/mcp-runtime-handlers.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/runner.js +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/types/src/lifecycle.d.ts +1 -0
- package/dist/types/src/lifecycle.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-PBHLDLVU.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.40.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#163](https://github.com/skaile-ai/workspaces/pull/163) [`7d9bcdf`](https://github.com/skaile-ai/workspaces/commit/7d9bcdfefce3293c7653a3ad399afa8ce5b099f9) Thanks [@peteralbert](https://github.com/peteralbert)! - runner: attach_instance stages a pre-minted bearer under mcp:<id> so a live-attached remote MCP authenticates without a session restart (Phase 3b). Additive and best-effort; a runner without it ignores the field harmlessly.
|
|
8
|
+
|
|
3
9
|
## 0.40.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -3265,6 +3265,9 @@ function buildMcpRuntimeHandlers(deps) {
|
|
|
3265
3265
|
}
|
|
3266
3266
|
const mgr = deps.getOrCreateMcpManager();
|
|
3267
3267
|
if (!mgr) return { ok: false, code: "no_session", message: "session resources not ready" };
|
|
3268
|
+
if (input.preMintedToken) {
|
|
3269
|
+
deps.getPreMintedSecrets()?.set("mcp", decl.id, toPreMinted(input.preMintedToken));
|
|
3270
|
+
}
|
|
3268
3271
|
try {
|
|
3269
3272
|
const { toolNames } = await mgr.addServer(decl);
|
|
3270
3273
|
deps.emitResourcesAvailable();
|
|
@@ -3278,6 +3281,7 @@ function buildMcpRuntimeHandlers(deps) {
|
|
|
3278
3281
|
toolCount: toolNames.length
|
|
3279
3282
|
};
|
|
3280
3283
|
} catch (err) {
|
|
3284
|
+
if (input.preMintedToken) deps.getPreMintedSecrets()?.unset("mcp", decl.id);
|
|
3281
3285
|
const message = err instanceof Error ? err.message : String(err);
|
|
3282
3286
|
const code = err instanceof McpServerAlreadyRegisteredError ? "mcp_already_registered" : "mcp_connect_failed";
|
|
3283
3287
|
return { ok: false, code, message };
|
|
@@ -5503,5 +5507,5 @@ function touchSession(state) {
|
|
|
5503
5507
|
}
|
|
5504
5508
|
|
|
5505
5509
|
export { CLAUDE_CODE_CREDENTIALS_KEY, COMPILE_MANIFEST_FILENAME, CapabilityRegistry, DEFAULT_CAPABILITY_CALL_TIMEOUT_MS, DEFAULT_COALESCE_MS, MarkdownStreamer, PreInitRingSink, agentDefinitionExists, bootstrapCapabilityRegistry, bootstrapRunnerLogStore, buildAgentResources, buildClientCapabilityHandler, buildContextSection, buildEnvironmentSection, buildResourcesAvailablePayload, builtinCapabilities, clearPreInitRingSink, clearSession, compileComposition, computeCapabilitySignature, createAgentSession, createSessionStimulusBus, defineCapability, deleteSession, dispatchRunnerCapabilityInvocation, emitSystemPromptComposed, ensureGitConfigInclude, extractClaudeAiOauthExpiresAt, getPreInitRingSink, handleMountResourceRequest, handleResourceRequest, installPreInitRingSink, listSessions, loadAgentManifest, loadCompileManifest, loadCompileManifestFromDir, loadSession, loadSessionById, mcpAuthSecretKey, newSession, registerCompositionCapabilities, rejectCapabilityOnApprovalDeny, resetRunnerLogStore, resolveAgentComposition, resolveAgentMixins, resolveBinding, resolveCapabilityCallTimeoutMs, resolveCapabilityResult, resolveComposition, resolveMixin, runAgentChat, saveSession, setCurrentSession, startAgentServer, stripStaleHtmlTail, touchSession, writeClaudeCodeCredentialsFile };
|
|
5506
|
-
//# sourceMappingURL=chunk-
|
|
5507
|
-
//# sourceMappingURL=chunk-
|
|
5510
|
+
//# sourceMappingURL=chunk-2DYJ7BJG.js.map
|
|
5511
|
+
//# sourceMappingURL=chunk-2DYJ7BJG.js.map
|