
> baoer-pi-agent-labs@1.3.0 check
> tsc --noEmit

src/boundaries-checkpoint.ts(44,8): error TS2353: Object literal may only specify known properties, and 'provider' does not exist in type '{ stopReason?: StopReason | undefined; deferred?: DeferredHandle | undefined; errorMessage?: string | undefined; responseId?: string | undefined; timestamp?: number | undefined; }'.
src/chord-checkpoint.ts(37,27): error TS2550: Property 'withResolvers' does not exist on type 'PromiseConstructor'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2024' or later.
src/durable-checkpoint.ts(46,5): error TS2322: Type 'ConversationId' is not assignable to type 'string'.
src/durable-checkpoint.ts(48,5): error TS2322: Type 'SubmissionId' is not assignable to type 'string'.
src/durable-checkpoint.ts(73,29): error TS2554: Expected 2 arguments, but got 1.
src/durable-checkpoint.ts(73,54): error TS2339: Property 'wait' does not exist on type 'Promise<Submission | undefined>'.
src/durable-checkpoint.ts(76,22): error TS2367: This comparison appears to be unintentional because the types 'SubmissionId' and 'string' have no overlap.
src/env-checkpoint.ts(38,21): error TS2345: Argument of type 'Context' is not assignable to parameter of type 'AbortSignal'.
  Type 'Context' is missing the following properties from type 'AbortSignal': aborted, onabort, reason, throwIfAborted, and 3 more.
test/v130-boundaries.test.ts(4,1): error TS2769: No overload matches this call.
  Overload 1 of 4, '(name?: string | undefined, fn?: TestFn | undefined): Promise<void>', gave the following error.
    Argument of type '() => Promise<{ raw: string; partial: Record<string, unknown>; finalArguments: JsonObject; rejected: boolean; executions: number; requests: number; }>' is not assignable to parameter of type 'TestFn'.
      Type 'Promise<{ raw: string; partial: Record<string, unknown>; finalArguments: JsonObject; rejected: boolean; executions: number; requests: number; }>' is not assignable to type 'void | Promise<void>'.
        Type 'Promise<{ raw: string; partial: Record<string, unknown>; finalArguments: JsonObject; rejected: boolean; executions: number; requests: number; }>' is not assignable to type 'Promise<void>'.
          Type '{ raw: string; partial: Record<string, unknown>; finalArguments: JsonObject; rejected: boolean; executions: number; requests: number; }' is not assignable to type 'void'.
  Overload 2 of 4, '(name?: string | undefined, options?: TestOptions | undefined, fn?: TestFn | undefined): Promise<void>', gave the following error.
    Type '() => Promise<{ raw: string; partial: Record<string, unknown>; finalArguments: JsonObject; rejected: boolean; executions: number; requests: number; }>' has no properties in common with type 'TestOptions'.
  Overload 3 of 4, '(options?: TestOptions | undefined, fn?: TestFn | undefined): Promise<void>', gave the following error.
    Type '"1.3 final malformed JSON cannot execute even when empty arguments pass schema"' has no properties in common with type 'TestOptions'.
test/v130-boundaries.test.ts(5,1): error TS2769: No overload matches this call.
  Overload 1 of 4, '(name?: string | undefined, fn?: TestFn | undefined): Promise<void>', gave the following error.
    Argument of type '() => { sameModelKeepsThinking: boolean; changedModelDropsThinking: boolean; publicTextKept: boolean; storedMessageUnchanged: boolean; }' is not assignable to parameter of type 'TestFn'.
      Type '{ sameModelKeepsThinking: boolean; changedModelDropsThinking: boolean; publicTextKept: boolean; storedMessageUnchanged: boolean; }' is not assignable to type 'void | Promise<void>'.
  Overload 2 of 4, '(name?: string | undefined, options?: TestOptions | undefined, fn?: TestFn | undefined): Promise<void>', gave the following error.
    Type '() => { sameModelKeepsThinking: boolean; changedModelDropsThinking: boolean; publicTextKept: boolean; storedMessageUnchanged: boolean; }' has no properties in common with type 'TestOptions'.
  Overload 3 of 4, '(options?: TestOptions | undefined, fn?: TestFn | undefined): Promise<void>', gave the following error.
    Type '"1.3 cross-model conversion drops private thinking and keeps visible evidence"' has no properties in common with type 'TestOptions'.
test/v130-boundaries.test.ts(7,107): error TS2345: Argument of type '() => Promise<{ how: "abort" | "timeout"; errorKind: "aborted" | "timeout"; partialOutput: CodemodeOutputItem[]; calls: CodemodeCall[]; toolSignalAborted: true; ... 4 more ...; committedStore: boolean; }>' is not assignable to parameter of type 'TestFn'.
  Type 'Promise<{ how: "abort" | "timeout"; errorKind: "aborted" | "timeout"; partialOutput: CodemodeOutputItem[]; calls: CodemodeCall[]; toolSignalAborted: true; ... 4 more ...; committedStore: boolean; }>' is not assignable to type 'void | Promise<void>'.
    Type 'Promise<{ how: "abort" | "timeout"; errorKind: "aborted" | "timeout"; partialOutput: CodemodeOutputItem[]; calls: CodemodeCall[]; toolSignalAborted: true; ... 4 more ...; committedStore: boolean; }>' is not assignable to type 'Promise<void>'.
      Type '{ how: "abort" | "timeout"; errorKind: "aborted" | "timeout"; partialOutput: CodemodeOutputItem[]; calls: CodemodeCall[]; toolSignalAborted: true; ... 4 more ...; committedStore: boolean; }' is not assignable to type 'void'.
