@poncho-ai/sdk 1.6.0 → 1.6.1
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 +4 -4
- package/CHANGELOG.md +8 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/index.ts +4 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/sdk@1.6.
|
|
2
|
+
> @poncho-ai/sdk@1.6.1 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
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2022
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[32mESM[39m [1mdist/index.js [22m[32m11.44 KB[39m
|
|
11
|
-
[32mESM[39m ⚡️ Build success in
|
|
11
|
+
[32mESM[39m ⚡️ Build success in 17ms
|
|
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 1248ms
|
|
14
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m22.39 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @poncho-ai/sdk
|
|
2
2
|
|
|
3
|
+
## 1.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4d50ad9`](https://github.com/cesr/poncho-ai/commit/4d50ad970886c9d3635ec36a407514c91ce6a71a) Thanks [@cesr](https://github.com/cesr)! - Improve callback-run reliability and streaming across subagent workflows, including safer concurrent approval handling and parent callback retriggers.
|
|
8
|
+
|
|
9
|
+
Add context window/token reporting through run completion events, improve cron/web UI rendering and approval streaming behavior, and harden built-in web search retry/throttle behavior.
|
|
10
|
+
|
|
3
11
|
## 1.6.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -588,6 +588,10 @@ interface RunResult {
|
|
|
588
588
|
/** Full message chain from the harness run (populated when continuation=true). */
|
|
589
589
|
continuationMessages?: Message[];
|
|
590
590
|
maxSteps?: number;
|
|
591
|
+
/** Estimated current context usage in tokens at end of run (last model input + tool output estimates, reset on compaction). */
|
|
592
|
+
contextTokens?: number;
|
|
593
|
+
/** Model context window size in tokens. */
|
|
594
|
+
contextWindow?: number;
|
|
591
595
|
}
|
|
592
596
|
interface AgentFailure {
|
|
593
597
|
code: string;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -122,6 +122,10 @@ export interface RunResult {
|
|
|
122
122
|
/** Full message chain from the harness run (populated when continuation=true). */
|
|
123
123
|
continuationMessages?: Message[];
|
|
124
124
|
maxSteps?: number;
|
|
125
|
+
/** Estimated current context usage in tokens at end of run (last model input + tool output estimates, reset on compaction). */
|
|
126
|
+
contextTokens?: number;
|
|
127
|
+
/** Model context window size in tokens. */
|
|
128
|
+
contextWindow?: number;
|
|
125
129
|
}
|
|
126
130
|
|
|
127
131
|
export interface AgentFailure {
|