@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posthog/agent",
3
- "version": "2.3.308",
3
+ "version": "2.3.312",
4
4
  "repository": "https://github.com/PostHog/code",
5
5
  "description": "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
6
6
  "exports": {
@@ -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"]);