@poncho-ai/harness 0.19.1 → 0.20.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/harness@0.19.1 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
2
+ > @poncho-ai/harness@0.20.0 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
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 199.42 KB
11
- ESM ⚡️ Build success in 125ms
11
+ ESM ⚡️ Build success in 145ms
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 7505ms
14
- DTS dist/index.d.ts 24.33 KB
13
+ DTS ⚡️ Build success in 7280ms
14
+ DTS dist/index.d.ts 24.36 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @poncho-ai/harness
2
2
 
3
+ ## 0.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`5df6b5f`](https://github.com/cesr/poncho-ai/commit/5df6b5fcdc98e0445bea504dc9d077f02d1e954f) Thanks [@cesr](https://github.com/cesr)! - Add polling fallback for web UI on serverless deployments: when the SSE event stream is unavailable (different instance from the webhook handler), the UI polls the conversation every 2 seconds until the run completes. Conversations now track a persisted `runStatus` field.
8
+
3
9
  ## 0.19.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -96,6 +96,7 @@ interface Conversation {
96
96
  }>;
97
97
  decision?: "approved" | "denied";
98
98
  }>;
99
+ runStatus?: "running" | "idle";
99
100
  ownerId: string;
100
101
  tenantId: string | null;
101
102
  contextTokens?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/harness",
3
- "version": "0.19.1",
3
+ "version": "0.20.0",
4
4
  "description": "Agent execution runtime - conversation loop, tool dispatch, streaming",
5
5
  "repository": {
6
6
  "type": "git",
package/src/state.ts CHANGED
@@ -37,6 +37,7 @@ export interface Conversation {
37
37
  pendingToolCalls?: Array<{ id: string; name: string; input: Record<string, unknown> }>;
38
38
  decision?: "approved" | "denied";
39
39
  }>;
40
+ runStatus?: "running" | "idle";
40
41
  ownerId: string;
41
42
  tenantId: string | null;
42
43
  contextTokens?: number;