@poncho-ai/sdk 1.13.0 → 1.14.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.13.0 build /home/runner/work/poncho-ai/poncho-ai/packages/sdk
2
+ > @poncho-ai/sdk@1.14.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 17.24 KB
11
- ESM ⚡️ Build success in 21ms
11
+ ESM ⚡️ Build success in 20ms
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 1513ms
14
- DTS dist/index.d.ts 29.81 KB
13
+ DTS ⚡️ Build success in 1320ms
14
+ DTS dist/index.d.ts 30.03 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @poncho-ai/sdk
2
2
 
3
+ ## 1.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`d8453b4`](https://github.com/cesr/poncho-ai/commit/d8453b4f2360a1734e448960fe52f6c450cdf842) Thanks [@cesr](https://github.com/cesr)! - harness: propagate `suppressTelemetry` to subagents.
8
+
9
+ A telemetry-off run (e.g. incognito) now suppresses telemetry for the subagents it spawns too, not just the parent turn. The parent run's `suppressTelemetry` is exposed on `ToolContext`, captured by `spawn_subagent` into the new `SubagentManager.spawn({ suppressTelemetry })` option, stored on the subagent conversation's `subagentMeta`, and read back by the orchestrator's `runSubagent` / continuation so the child run (and its re-runs) emit no `invoke_agent` / `execute_tool` / AI-SDK spans.
10
+
3
11
  ## 1.13.0
4
12
 
5
13
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -715,6 +715,10 @@ interface ToolContext {
715
715
  conversationId?: string;
716
716
  /** The tenant ID when running in multi-tenant mode. */
717
717
  tenantId?: string;
718
+ /** Telemetry is suppressed for this run (e.g. an incognito turn). Tools
719
+ * that spawn further runs (subagents) propagate this so the child run
720
+ * emits no telemetry either. */
721
+ suppressTelemetry?: boolean;
718
722
  /** Virtual filesystem scoped to the current tenant. Available when VFS is enabled. */
719
723
  vfs?: VfsAccess;
720
724
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/sdk",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "Core types and utilities for building Poncho skills",
5
5
  "repository": {
6
6
  "type": "git",
package/src/index.ts CHANGED
@@ -78,6 +78,10 @@ export interface ToolContext {
78
78
  conversationId?: string;
79
79
  /** The tenant ID when running in multi-tenant mode. */
80
80
  tenantId?: string;
81
+ /** Telemetry is suppressed for this run (e.g. an incognito turn). Tools
82
+ * that spawn further runs (subagents) propagate this so the child run
83
+ * emits no telemetry either. */
84
+ suppressTelemetry?: boolean;
81
85
  /** Virtual filesystem scoped to the current tenant. Available when VFS is enabled. */
82
86
  vfs?: VfsAccess;
83
87
  }