@poncho-ai/harness 0.50.2 → 0.50.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 +6 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/src/harness.ts +6 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/harness@0.50.
|
|
2
|
+
> @poncho-ai/harness@0.50.3 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
|
|
3
3
|
> node scripts/embed-docs.js && tsup src/index.ts --format esm --dts
|
|
4
4
|
|
|
5
5
|
[embed-docs] Generated poncho-docs.ts with 4 topics
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
[34mCLI[39m tsup v8.5.1
|
|
9
9
|
[34mCLI[39m Target: es2022
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
+
[32mESM[39m [1mdist/index.js [22m[32m530.79 KB[39m
|
|
11
12
|
[32mESM[39m [1mdist/isolate-BNQ6P3HI.js [22m[32m51.41 KB[39m
|
|
12
|
-
[32mESM[39m
|
|
13
|
-
[32mESM[39m ⚡️ Build success in 181ms
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 229ms
|
|
14
14
|
[34mDTS[39m Build start
|
|
15
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m89.
|
|
15
|
+
[32mDTS[39m ⚡️ Build success in 7430ms
|
|
16
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m89.60 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @poncho-ai/harness
|
|
2
2
|
|
|
3
|
+
## 0.50.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a67fb45`](https://github.com/cesr/poncho-ai/commit/a67fb45162823d832296ae9af137eb566d9f2f97) Thanks [@cesr](https://github.com/cesr)! - harness: forward `tenantId` through `continueFromToolResult`. Resumed runs (after an approval checkpoint) ran tools with `ctx.tenantId` undefined, so tenant-scoped stores (memory, VFS, todos) resolved the default `"__default__"` tenant instead of the caller's — surfacing as `memory_main_get` returning empty after an approval resume.
|
|
8
|
+
|
|
3
9
|
## 0.50.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1434,6 +1434,11 @@ declare class AgentHarness {
|
|
|
1434
1434
|
error?: string;
|
|
1435
1435
|
}>;
|
|
1436
1436
|
conversationId?: string;
|
|
1437
|
+
/** Must be forwarded for the continuation run, otherwise tenant-scoped
|
|
1438
|
+
* tool stores (memory, VFS, todos) resolve the default "__default__"
|
|
1439
|
+
* tenant on resume instead of the caller's — e.g. memory_main_get
|
|
1440
|
+
* returns empty after an approval checkpoint. */
|
|
1441
|
+
tenantId?: string;
|
|
1437
1442
|
parameters?: Record<string, unknown>;
|
|
1438
1443
|
abortSignal?: AbortSignal;
|
|
1439
1444
|
}): AsyncGenerator<AgentEvent>;
|
package/dist/index.js
CHANGED
|
@@ -11568,6 +11568,7 @@ ${this.skillFingerprint}`;
|
|
|
11568
11568
|
yield* this.runWithTelemetry({
|
|
11569
11569
|
messages,
|
|
11570
11570
|
conversationId: input.conversationId,
|
|
11571
|
+
tenantId: input.tenantId,
|
|
11571
11572
|
parameters: input.parameters,
|
|
11572
11573
|
abortSignal: input.abortSignal
|
|
11573
11574
|
});
|
package/package.json
CHANGED
package/src/harness.ts
CHANGED
|
@@ -3727,6 +3727,11 @@ Code is wrapped in an async IIFE — use \`return\` to return a value to the too
|
|
|
3727
3727
|
messages: Message[];
|
|
3728
3728
|
toolResults: Array<{ callId: string; toolName: string; result?: unknown; error?: string }>;
|
|
3729
3729
|
conversationId?: string;
|
|
3730
|
+
/** Must be forwarded for the continuation run, otherwise tenant-scoped
|
|
3731
|
+
* tool stores (memory, VFS, todos) resolve the default "__default__"
|
|
3732
|
+
* tenant on resume instead of the caller's — e.g. memory_main_get
|
|
3733
|
+
* returns empty after an approval checkpoint. */
|
|
3734
|
+
tenantId?: string;
|
|
3730
3735
|
parameters?: Record<string, unknown>;
|
|
3731
3736
|
abortSignal?: AbortSignal;
|
|
3732
3737
|
}): AsyncGenerator<AgentEvent> {
|
|
@@ -3784,6 +3789,7 @@ Code is wrapped in an async IIFE — use \`return\` to return a value to the too
|
|
|
3784
3789
|
yield* this.runWithTelemetry({
|
|
3785
3790
|
messages,
|
|
3786
3791
|
conversationId: input.conversationId,
|
|
3792
|
+
tenantId: input.tenantId,
|
|
3787
3793
|
parameters: input.parameters,
|
|
3788
3794
|
abortSignal: input.abortSignal,
|
|
3789
3795
|
});
|