@codeworksh/harness 0.9.0-canary.166.1.gd8489101 → 0.9.0-canary.167.1.g6ddcc8db

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.
Files changed (2) hide show
  1. package/effect.d.mts +58 -58
  2. package/package.json +4 -4
package/effect.d.mts CHANGED
@@ -9374,7 +9374,7 @@ declare const isRunEnded: <I>(input: I) => input is I & ({
9374
9374
  readonly metadata?: {
9375
9375
  readonly [x: string]: string;
9376
9376
  } | undefined;
9377
- readonly type: "session.execution.failed";
9377
+ readonly type: "session.execution.succeeded";
9378
9378
  readonly durable?: {
9379
9379
  readonly aggregateId: string;
9380
9380
  readonly seq: number;
@@ -9384,18 +9384,13 @@ declare const isRunEnded: <I>(input: I) => input is I & ({
9384
9384
  readonly timestamp: import("effect/DateTime").Utc;
9385
9385
  readonly sessionId: string & import("effect/Brand").Brand<"Session.ID">;
9386
9386
  readonly threadId: string & import("effect/Brand").Brand<"Thread.ID">;
9387
- readonly error: {
9388
- readonly type: string;
9389
- readonly message: string;
9390
- readonly status?: number | undefined;
9391
- };
9392
9387
  };
9393
9388
  } | {
9394
9389
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
9395
9390
  readonly metadata?: {
9396
9391
  readonly [x: string]: string;
9397
9392
  } | undefined;
9398
- readonly type: "session.execution.interrupted";
9393
+ readonly type: "session.execution.failed";
9399
9394
  readonly durable?: {
9400
9395
  readonly aggregateId: string;
9401
9396
  readonly seq: number;
@@ -9405,14 +9400,18 @@ declare const isRunEnded: <I>(input: I) => input is I & ({
9405
9400
  readonly timestamp: import("effect/DateTime").Utc;
9406
9401
  readonly sessionId: string & import("effect/Brand").Brand<"Session.ID">;
9407
9402
  readonly threadId: string & import("effect/Brand").Brand<"Thread.ID">;
9408
- readonly reason: "crash" | "shutdown" | "user";
9403
+ readonly error: {
9404
+ readonly type: string;
9405
+ readonly message: string;
9406
+ readonly status?: number | undefined;
9407
+ };
9409
9408
  };
9410
9409
  } | {
9411
9410
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
9412
9411
  readonly metadata?: {
9413
9412
  readonly [x: string]: string;
9414
9413
  } | undefined;
9415
- readonly type: "session.execution.succeeded";
9414
+ readonly type: "session.execution.interrupted";
9416
9415
  readonly durable?: {
9417
9416
  readonly aggregateId: string;
9418
9417
  readonly seq: number;
@@ -9422,6 +9421,7 @@ declare const isRunEnded: <I>(input: I) => input is I & ({
9422
9421
  readonly timestamp: import("effect/DateTime").Utc;
9423
9422
  readonly sessionId: string & import("effect/Brand").Brand<"Session.ID">;
9424
9423
  readonly threadId: string & import("effect/Brand").Brand<"Thread.ID">;
9424
+ readonly reason: "crash" | "shutdown" | "user";
9425
9425
  };
9426
9426
  } | {
9427
9427
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
@@ -32449,25 +32449,12 @@ declare const systemMessage: <T>(messageId: string, created: number, changes: {
32449
32449
  };
32450
32450
  /** A message's parts; a system message has none. */
32451
32451
  declare const parts: (message: Message.Message) => ({
32452
- type: "text";
32453
- text: string;
32454
- textSignature?: string;
32455
- } | {
32456
- type: "image";
32457
- data: string;
32458
- mimeType: string;
32459
- } | {
32460
- type: "thinking";
32461
- thinking: string;
32462
- thinkingSignature?: string;
32463
- redacted?: boolean;
32464
- } | {
32465
32452
  arguments: Record<string, any>;
32466
32453
  callID: string;
32467
32454
  name: string;
32468
32455
  namespace?: string;
32469
- partial?: {
32470
- content?: ({
32456
+ result: {
32457
+ content: ({
32471
32458
  type: "text";
32472
32459
  text: string;
32473
32460
  textSignature?: string;
@@ -32477,8 +32464,9 @@ declare const parts: (message: Message.Message) => ({
32477
32464
  mimeType: string;
32478
32465
  })[];
32479
32466
  details?: any;
32467
+ isError: false;
32480
32468
  };
32481
- status: "running";
32469
+ status: "completed";
32482
32470
  thoughtSignature?: string;
32483
32471
  time: {
32484
32472
  start: number;
@@ -32501,9 +32489,9 @@ declare const parts: (message: Message.Message) => ({
32501
32489
  mimeType: string;
32502
32490
  })[];
32503
32491
  details?: any;
32504
- isError: false;
32492
+ isError: true;
32505
32493
  };
32506
- status: "completed";
32494
+ status: "error";
32507
32495
  thoughtSignature?: string;
32508
32496
  time: {
32509
32497
  start: number;
@@ -32528,7 +32516,7 @@ declare const parts: (message: Message.Message) => ({
32528
32516
  details?: any;
32529
32517
  isError: true;
32530
32518
  };
32531
- status: "error";
32519
+ status: "skipped";
32532
32520
  thoughtSignature?: string;
32533
32521
  time: {
32534
32522
  start: number;
@@ -32553,20 +32541,33 @@ declare const parts: (message: Message.Message) => ({
32553
32541
  details?: any;
32554
32542
  isError: true;
32555
32543
  };
32556
- status: "skipped";
32544
+ status: "aborted";
32557
32545
  thoughtSignature?: string;
32558
32546
  time: {
32559
32547
  start: number;
32560
32548
  end: number;
32561
32549
  };
32562
32550
  type: "toolCall";
32551
+ } | {
32552
+ type: "text";
32553
+ text: string;
32554
+ textSignature?: string;
32555
+ } | {
32556
+ type: "image";
32557
+ data: string;
32558
+ mimeType: string;
32559
+ } | {
32560
+ type: "thinking";
32561
+ thinking: string;
32562
+ thinkingSignature?: string;
32563
+ redacted?: boolean;
32563
32564
  } | {
32564
32565
  arguments: Record<string, any>;
32565
32566
  callID: string;
32566
32567
  name: string;
32567
32568
  namespace?: string;
32568
- result: {
32569
- content: ({
32569
+ partial?: {
32570
+ content?: ({
32570
32571
  type: "text";
32571
32572
  text: string;
32572
32573
  textSignature?: string;
@@ -32576,9 +32577,8 @@ declare const parts: (message: Message.Message) => ({
32576
32577
  mimeType: string;
32577
32578
  })[];
32578
32579
  details?: any;
32579
- isError: true;
32580
32580
  };
32581
- status: "aborted";
32581
+ status: "running";
32582
32582
  thoughtSignature?: string;
32583
32583
  time: {
32584
32584
  start: number;
@@ -32754,25 +32754,12 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
32754
32754
  completed: number;
32755
32755
  };
32756
32756
  parts: ({
32757
- type: "text";
32758
- text: string;
32759
- textSignature?: string;
32760
- } | {
32761
- type: "image";
32762
- data: string;
32763
- mimeType: string;
32764
- } | {
32765
- type: "thinking";
32766
- thinking: string;
32767
- thinkingSignature?: string;
32768
- redacted?: boolean;
32769
- } | {
32770
32757
  arguments: Record<string, any>;
32771
32758
  callID: string;
32772
32759
  name: string;
32773
32760
  namespace?: string;
32774
- partial?: {
32775
- content?: ({
32761
+ result: {
32762
+ content: ({
32776
32763
  type: "text";
32777
32764
  text: string;
32778
32765
  textSignature?: string;
@@ -32782,8 +32769,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
32782
32769
  mimeType: string;
32783
32770
  })[];
32784
32771
  details?: any;
32772
+ isError: false;
32785
32773
  };
32786
- status: "running";
32774
+ status: "completed";
32787
32775
  thoughtSignature?: string;
32788
32776
  time: {
32789
32777
  start: number;
@@ -32806,9 +32794,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
32806
32794
  mimeType: string;
32807
32795
  })[];
32808
32796
  details?: any;
32809
- isError: false;
32797
+ isError: true;
32810
32798
  };
32811
- status: "completed";
32799
+ status: "error";
32812
32800
  thoughtSignature?: string;
32813
32801
  time: {
32814
32802
  start: number;
@@ -32833,7 +32821,7 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
32833
32821
  details?: any;
32834
32822
  isError: true;
32835
32823
  };
32836
- status: "error";
32824
+ status: "skipped";
32837
32825
  thoughtSignature?: string;
32838
32826
  time: {
32839
32827
  start: number;
@@ -32858,20 +32846,33 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
32858
32846
  details?: any;
32859
32847
  isError: true;
32860
32848
  };
32861
- status: "skipped";
32849
+ status: "aborted";
32862
32850
  thoughtSignature?: string;
32863
32851
  time: {
32864
32852
  start: number;
32865
32853
  end: number;
32866
32854
  };
32867
32855
  type: "toolCall";
32856
+ } | {
32857
+ type: "text";
32858
+ text: string;
32859
+ textSignature?: string;
32860
+ } | {
32861
+ type: "image";
32862
+ data: string;
32863
+ mimeType: string;
32864
+ } | {
32865
+ type: "thinking";
32866
+ thinking: string;
32867
+ thinkingSignature?: string;
32868
+ redacted?: boolean;
32868
32869
  } | {
32869
32870
  arguments: Record<string, any>;
32870
32871
  callID: string;
32871
32872
  name: string;
32872
32873
  namespace?: string;
32873
- result: {
32874
- content: ({
32874
+ partial?: {
32875
+ content?: ({
32875
32876
  type: "text";
32876
32877
  text: string;
32877
32878
  textSignature?: string;
@@ -32881,9 +32882,8 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
32881
32882
  mimeType: string;
32882
32883
  })[];
32883
32884
  details?: any;
32884
- isError: true;
32885
32885
  };
32886
- status: "aborted";
32886
+ status: "running";
32887
32887
  thoughtSignature?: string;
32888
32888
  time: {
32889
32889
  start: number;
@@ -35078,8 +35078,8 @@ declare const update: <A>(target: Fetchable, cache: string, options: {
35078
35078
  readonly probe: Probe;
35079
35079
  readonly from: string;
35080
35080
  }) => Effect.Effect<{
35081
- readonly entry?: never;
35082
35081
  readonly _tag: "not-installed";
35082
+ readonly entry?: never;
35083
35083
  } | {
35084
35084
  readonly _tag: "unchanged";
35085
35085
  readonly entry: Entry;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeworksh/harness",
3
- "version": "0.9.0-canary.166.1.gd8489101",
3
+ "version": "0.9.0-canary.167.1.g6ddcc8db",
4
4
  "description": "AI agent harness — agent loop, tools, plugins, sandbox, and more.",
5
5
  "keywords": [
6
6
  "agent",
@@ -66,9 +66,9 @@
66
66
  "node": ">=24.14.1"
67
67
  },
68
68
  "dependencies": {
69
- "@codeworksh/aikit": "0.14.1-canary.166.1.gd8489101",
70
- "@codeworksh/plugin": "0.5.0-canary.166.1.gd8489101",
71
- "@codeworksh/schema": "0.1.0-canary.166.1.gd8489101",
69
+ "@codeworksh/aikit": "0.14.1-canary.167.1.g6ddcc8db",
70
+ "@codeworksh/plugin": "0.5.0-canary.167.1.g6ddcc8db",
71
+ "@codeworksh/schema": "0.1.0-canary.167.1.g6ddcc8db",
72
72
  "@effect/platform-node": "4.0.5",
73
73
  "@effect/platform-node-shared": "4.0.5",
74
74
  "@effect/sql-sqlite-node": "4.0.5",