@poncho-ai/sdk 1.2.0 → 1.3.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @poncho-ai/sdk@1.2.0 build /home/runner/work/poncho-ai/poncho-ai/packages/sdk
2
+ > @poncho-ai/sdk@1.3.0 build /home/runner/work/poncho-ai/poncho-ai/packages/sdk
3
3
  > tsup src/index.ts --format esm --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,7 +8,7 @@
8
8
  CLI Target: es2022
9
9
  ESM Build start
10
10
  ESM dist/index.js 10.17 KB
11
- ESM ⚡️ Build success in 18ms
11
+ ESM ⚡️ Build success in 23ms
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 1214ms
14
- DTS dist/index.d.ts 19.67 KB
13
+ DTS ⚡️ Build success in 1272ms
14
+ DTS dist/index.d.ts 19.74 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @poncho-ai/sdk
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`cd6ccd7`](https://github.com/cesr/poncho-ai/commit/cd6ccd7846e16fbaf17167617666796320ec29ce) Thanks [@cesr](https://github.com/cesr)! - Add MCP custom headers support, tool:generating streaming feedback, and cross-owner subagent recovery
8
+ - **MCP custom headers**: `poncho mcp add --header "Name: value"` and `headers` config field let servers like Arcade receive extra HTTP headers alongside bearer auth.
9
+ - **tool:generating event**: the harness now emits `tool:generating` events when the model begins writing tool-call arguments, so the web UI shows real-time "preparing <tool>" feedback instead of appearing stuck during large tool calls.
10
+ - **Subagent recovery**: `list`/`listSummaries` accept optional `ownerId` so stale-subagent recovery on server restart scans across all owners.
11
+
3
12
  ## 1.2.0
4
13
 
5
14
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -571,6 +571,10 @@ type AgentEvent = {
571
571
  } | {
572
572
  type: "model:response";
573
573
  usage: TokenUsage;
574
+ } | {
575
+ type: "tool:generating";
576
+ tool: string;
577
+ toolCallId: string;
574
578
  } | {
575
579
  type: "tool:started";
576
580
  tool: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/sdk",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Core types and utilities for building Poncho skills",
5
5
  "repository": {
6
6
  "type": "git",
package/src/index.ts CHANGED
@@ -135,6 +135,7 @@ export type AgentEvent =
135
135
  | { type: "model:request"; tokens: number }
136
136
  | { type: "model:chunk"; content: string }
137
137
  | { type: "model:response"; usage: TokenUsage }
138
+ | { type: "tool:generating"; tool: string; toolCallId: string }
138
139
  | { type: "tool:started"; tool: string; input: unknown }
139
140
  | { type: "tool:completed"; tool: string; output: unknown; duration: number; outputTokenEstimate?: number }
140
141
  | { type: "tool:error"; tool: string; error: string; recoverable: boolean }