@poncho-ai/sdk 1.6.1 → 1.6.3
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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/config-registry.ts +2 -2
- package/src/index.ts +3 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/sdk@1.6.
|
|
2
|
+
> @poncho-ai/sdk@1.6.3 build /home/runner/work/poncho-ai/poncho-ai/packages/sdk
|
|
3
3
|
> tsup src/index.ts --format esm --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
[34mCLI[39m tsup v8.5.1
|
|
8
8
|
[34mCLI[39m Target: es2022
|
|
9
9
|
[34mESM[39m Build start
|
|
10
|
-
[32mESM[39m [1mdist/index.js [22m[32m11.
|
|
11
|
-
[32mESM[39m ⚡️ Build success in
|
|
10
|
+
[32mESM[39m [1mdist/index.js [22m[32m11.50 KB[39m
|
|
11
|
+
[32mESM[39m ⚡️ Build success in 18ms
|
|
12
12
|
[34mDTS[39m Build start
|
|
13
|
-
[32mDTS[39m ⚡️ Build success in
|
|
14
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m22.
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 1202ms
|
|
14
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m22.58 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @poncho-ai/sdk
|
|
2
2
|
|
|
3
|
+
## 1.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`193c367`](https://github.com/cesr/poncho-ai/commit/193c367568dce22a470dff6acd022c221be3b722) Thanks [@cesr](https://github.com/cesr)! - Unified continuation logic across all entry points (chat, cron, subagents, SDK) with mid-stream soft deadline checkpointing and proper context preservation across continuation boundaries.
|
|
8
|
+
|
|
9
|
+
## 1.6.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#51](https://github.com/cesr/poncho-ai/pull/51) [`eb661a5`](https://github.com/cesr/poncho-ai/commit/eb661a554da6839702651671db8a8820ceb13f35) Thanks [@cesr](https://github.com/cesr)! - Add generic OTLP trace exporter for sending OpenTelemetry traces to any collector (Jaeger, Grafana Tempo, Honeycomb, etc.). Configure via `telemetry.otlp` as a URL string or `{ url, headers }` object. Works alongside or instead of Latitude telemetry.
|
|
14
|
+
|
|
3
15
|
## 1.6.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -298,8 +298,8 @@ declare const ONBOARDING_FIELDS: readonly [{
|
|
|
298
298
|
readonly path: "telemetry.otlp";
|
|
299
299
|
readonly kind: "string";
|
|
300
300
|
readonly scopes: ["full"];
|
|
301
|
-
readonly label: "OTLP endpoint";
|
|
302
|
-
readonly prompt: "OTLP endpoint (optional)";
|
|
301
|
+
readonly label: "OTLP trace endpoint";
|
|
302
|
+
readonly prompt: "OTLP trace endpoint URL (optional, supports Jaeger/Tempo/Honeycomb/any collector)";
|
|
303
303
|
readonly defaultValue: "";
|
|
304
304
|
readonly dependsOn: {
|
|
305
305
|
readonly fieldId: "telemetry.enabled";
|
|
@@ -585,7 +585,9 @@ interface RunResult {
|
|
|
585
585
|
tokens: TokenUsage;
|
|
586
586
|
duration: number;
|
|
587
587
|
continuation?: boolean;
|
|
588
|
-
/** Full message chain from the harness run
|
|
588
|
+
/** Full structured message chain from the harness run, including tool-call
|
|
589
|
+
* and tool-result messages. Always populated on completion so callers can
|
|
590
|
+
* persist the chain for accurate multi-turn context. */
|
|
589
591
|
continuationMessages?: Message[];
|
|
590
592
|
maxSteps?: number;
|
|
591
593
|
/** Estimated current context usage in tokens at end of run (last model input + tool output estimates, reset on compaction). */
|
package/dist/index.js
CHANGED
|
@@ -232,8 +232,8 @@ var ONBOARDING_FIELDS = [
|
|
|
232
232
|
path: "telemetry.otlp",
|
|
233
233
|
kind: "string",
|
|
234
234
|
scopes: ["full"],
|
|
235
|
-
label: "OTLP endpoint",
|
|
236
|
-
prompt: "OTLP endpoint (optional)",
|
|
235
|
+
label: "OTLP trace endpoint",
|
|
236
|
+
prompt: "OTLP trace endpoint URL (optional, supports Jaeger/Tempo/Honeycomb/any collector)",
|
|
237
237
|
defaultValue: "",
|
|
238
238
|
dependsOn: { fieldId: "telemetry.enabled", equals: true }
|
|
239
239
|
},
|
package/package.json
CHANGED
package/src/config-registry.ts
CHANGED
|
@@ -277,8 +277,8 @@ export const ONBOARDING_FIELDS = [
|
|
|
277
277
|
path: "telemetry.otlp",
|
|
278
278
|
kind: "string",
|
|
279
279
|
scopes: ["full"],
|
|
280
|
-
label: "OTLP endpoint",
|
|
281
|
-
prompt: "OTLP endpoint (optional)",
|
|
280
|
+
label: "OTLP trace endpoint",
|
|
281
|
+
prompt: "OTLP trace endpoint URL (optional, supports Jaeger/Tempo/Honeycomb/any collector)",
|
|
282
282
|
defaultValue: "",
|
|
283
283
|
dependsOn: { fieldId: "telemetry.enabled", equals: true },
|
|
284
284
|
},
|
package/src/index.ts
CHANGED
|
@@ -119,7 +119,9 @@ export interface RunResult {
|
|
|
119
119
|
tokens: TokenUsage;
|
|
120
120
|
duration: number;
|
|
121
121
|
continuation?: boolean;
|
|
122
|
-
/** Full message chain from the harness run
|
|
122
|
+
/** Full structured message chain from the harness run, including tool-call
|
|
123
|
+
* and tool-result messages. Always populated on completion so callers can
|
|
124
|
+
* persist the chain for accurate multi-turn context. */
|
|
123
125
|
continuationMessages?: Message[];
|
|
124
126
|
maxSteps?: number;
|
|
125
127
|
/** Estimated current context usage in tokens at end of run (last model input + tool output estimates, reset on compaction). */
|