@vincemakes/kiso-runtime 0.1.24 → 0.1.26

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.
Files changed (2) hide show
  1. package/dist/agent.js +5 -0
  2. package/package.json +5 -5
package/dist/agent.js CHANGED
@@ -27,6 +27,11 @@ export class AgentRuntime {
27
27
  for (const ext of definition.extensions ?? []) {
28
28
  for (const tool of ext.tools ?? [])
29
29
  this.#registry.register(tool);
30
+ // 0.1.26 (MCP 懒连接): an extension's tools array is LIVE — the
31
+ // registry consults it on every lookup, so tools registered by a
32
+ // background connect (the MCP bridge's servers) are callable the
33
+ // moment they land, without a session rebuild.
34
+ this.#registry.registerLive(() => ext.tools ?? []);
30
35
  }
31
36
  this.#adapterPromise = resolveAdapter(definition);
32
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-runtime",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "kiso runtime \u2014 durable multi-turn agent sessions: AgentDefinition, AgentRuntime, AgentSession, Run, append-only JSONL store.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -21,11 +21,11 @@
21
21
  "test": "vitest run"
22
22
  },
23
23
  "dependencies": {
24
- "@vincemakes/kiso-core": "0.1.24"
24
+ "@vincemakes/kiso-core": "0.1.26"
25
25
  },
26
26
  "peerDependencies": {
27
- "@vincemakes/kiso-provider-anthropic": "0.1.24",
28
- "@vincemakes/kiso-provider-openai": "0.1.24"
27
+ "@vincemakes/kiso-provider-anthropic": "0.1.26",
28
+ "@vincemakes/kiso-provider-openai": "0.1.26"
29
29
  },
30
30
  "peerDependenciesMeta": {
31
31
  "@vincemakes/kiso-provider-anthropic": {
@@ -36,7 +36,7 @@
36
36
  }
37
37
  },
38
38
  "devDependencies": {
39
- "@vincemakes/kiso-evals": "0.1.24",
39
+ "@vincemakes/kiso-evals": "0.1.26",
40
40
  "@types/node": "^26.1.2",
41
41
  "typescript": "^5.7.2",
42
42
  "vitest": "^3.0.0"