@f5-sales-demo/pi-agent-core 19.90.0 → 19.91.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@f5-sales-demo/pi-agent-core",
4
- "version": "19.90.0",
4
+ "version": "19.91.0",
5
5
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
6
6
  "homepage": "https://github.com/f5-sales-demo/xcsh",
7
7
  "author": "Can Boluk",
@@ -35,8 +35,8 @@
35
35
  "fmt": "biome format --write ."
36
36
  },
37
37
  "dependencies": {
38
- "@f5-sales-demo/pi-ai": "19.90.0",
39
- "@f5-sales-demo/pi-utils": "19.90.0"
38
+ "@f5-sales-demo/pi-ai": "19.91.0",
39
+ "@f5-sales-demo/pi-utils": "19.91.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@sinclair/typebox": "^0.34",
package/src/agent-loop.ts CHANGED
@@ -397,6 +397,11 @@ async function streamAssistantResponse(
397
397
  case "toolcall_start":
398
398
  case "toolcall_delta":
399
399
  case "toolcall_end":
400
+ // Provider-side tools (e.g. Anthropic web search) are progress signals only: they add
401
+ // no content block and there is nothing to dispatch, but they must reach subscribers so
402
+ // hosts can render live activity instead of a silent wait.
403
+ case "server_tool_start":
404
+ case "server_tool_end":
400
405
  if (partialMessage) {
401
406
  partialMessage = event.partial;
402
407
  context.messages[context.messages.length - 1] = partialMessage;
package/src/thinking.ts CHANGED
@@ -13,6 +13,7 @@ export const ThinkingLevel = {
13
13
  Medium: Effort.Medium,
14
14
  High: Effort.High,
15
15
  XHigh: Effort.XHigh,
16
+ Max: Effort.Max,
16
17
  } as const;
17
18
 
18
19
  export type ThinkingLevel = (typeof ThinkingLevel)[keyof typeof ThinkingLevel];