@posthog/agent 2.3.308 → 2.3.312
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/dist/agent.js +1 -1
- package/dist/agent.js.map +1 -1
- package/dist/posthog-api.js +1 -1
- package/dist/posthog-api.js.map +1 -1
- package/dist/server/agent-server.js +1 -1
- package/dist/server/agent-server.js.map +1 -1
- package/dist/server/bin.cjs +1 -1
- package/dist/server/bin.cjs.map +1 -1
- package/package.json +1 -1
- package/src/adapters/codex/codex-agent.test.ts +2 -2
package/package.json
CHANGED
|
@@ -226,7 +226,7 @@ describe("CodexAcpAgent", () => {
|
|
|
226
226
|
const aStarted = new Promise<void>((resolve) => {
|
|
227
227
|
releaseA = resolve;
|
|
228
228
|
});
|
|
229
|
-
let allowAResolve: () => void;
|
|
229
|
+
let allowAResolve: () => void = () => {};
|
|
230
230
|
const aHold = new Promise<void>((resolve) => {
|
|
231
231
|
allowAResolve = resolve;
|
|
232
232
|
});
|
|
@@ -258,7 +258,7 @@ describe("CodexAcpAgent", () => {
|
|
|
258
258
|
// B must not have started while A is still in-flight.
|
|
259
259
|
expect(callOrder).toEqual(["A:start"]);
|
|
260
260
|
|
|
261
|
-
allowAResolve
|
|
261
|
+
allowAResolve();
|
|
262
262
|
await Promise.all([promptA, promptB]);
|
|
263
263
|
|
|
264
264
|
expect(callOrder).toEqual(["A:start", "A:end", "B:start"]);
|