@particle-academy/prism-harness 0.9.0 → 0.9.1

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/runtime.js +1 -1
  2. package/package.json +1 -1
package/dist/runtime.js CHANGED
@@ -149,7 +149,7 @@ export class AgentRuntime {
149
149
  });
150
150
  try {
151
151
  let offered;
152
- if (session.agent === null) {
152
+ if (session.agent === null && !this.#narrowRequestedTools) {
153
153
  const resolved = await this.#tools.resolve(toolNames ?? mode.tools, session);
154
154
  offered = this.#authorizer ? await this.#authorizer.allowed(session, resolved) : [...resolved.values()];
155
155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/prism-harness",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Durable agent sessions for TypeScript — threads, session state and store drivers.",
5
5
  "type": "module",
6
6
  "sideEffects": false,