@codeworksh/harness 0.0.1-dev.20260925151032 → 0.0.1-dev.20260925151211

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 +48 -48
  2. package/package.json +2 -2
package/effect.d.mts CHANGED
@@ -2480,13 +2480,26 @@ declare const encodeMessage: (message: {
2480
2480
  completed: number;
2481
2481
  };
2482
2482
  parts: ({
2483
+ type: "text";
2484
+ text: string;
2485
+ textSignature?: string;
2486
+ } | {
2487
+ type: "image";
2488
+ data: string;
2489
+ mimeType: string;
2490
+ } | {
2491
+ type: "thinking";
2492
+ thinking: string;
2493
+ thinkingSignature?: string;
2494
+ redacted?: boolean;
2495
+ } | {
2483
2496
  addedToolNames?: string[];
2484
2497
  arguments: Record<string, any>;
2485
2498
  callID: string;
2486
2499
  name: string;
2487
2500
  namespace?: string;
2488
- result: {
2489
- content: ({
2501
+ partial?: {
2502
+ content?: ({
2490
2503
  type: "text";
2491
2504
  text: string;
2492
2505
  textSignature?: string;
@@ -2496,9 +2509,8 @@ declare const encodeMessage: (message: {
2496
2509
  mimeType: string;
2497
2510
  })[];
2498
2511
  details?: any;
2499
- isError: false;
2500
2512
  };
2501
- status: "completed";
2513
+ status: "running";
2502
2514
  thoughtSignature?: string;
2503
2515
  time: {
2504
2516
  start: number;
@@ -2522,9 +2534,9 @@ declare const encodeMessage: (message: {
2522
2534
  mimeType: string;
2523
2535
  })[];
2524
2536
  details?: any;
2525
- isError: true;
2537
+ isError: false;
2526
2538
  };
2527
- status: "error";
2539
+ status: "completed";
2528
2540
  thoughtSignature?: string;
2529
2541
  time: {
2530
2542
  start: number;
@@ -2550,7 +2562,7 @@ declare const encodeMessage: (message: {
2550
2562
  details?: any;
2551
2563
  isError: true;
2552
2564
  };
2553
- status: "skipped";
2565
+ status: "error";
2554
2566
  thoughtSignature?: string;
2555
2567
  time: {
2556
2568
  start: number;
@@ -2576,34 +2588,21 @@ declare const encodeMessage: (message: {
2576
2588
  details?: any;
2577
2589
  isError: true;
2578
2590
  };
2579
- status: "aborted";
2591
+ status: "skipped";
2580
2592
  thoughtSignature?: string;
2581
2593
  time: {
2582
2594
  start: number;
2583
2595
  end: number;
2584
2596
  };
2585
2597
  type: "toolCall";
2586
- } | {
2587
- type: "text";
2588
- text: string;
2589
- textSignature?: string;
2590
- } | {
2591
- type: "image";
2592
- data: string;
2593
- mimeType: string;
2594
- } | {
2595
- type: "thinking";
2596
- thinking: string;
2597
- thinkingSignature?: string;
2598
- redacted?: boolean;
2599
2598
  } | {
2600
2599
  addedToolNames?: string[];
2601
2600
  arguments: Record<string, any>;
2602
2601
  callID: string;
2603
2602
  name: string;
2604
2603
  namespace?: string;
2605
- partial?: {
2606
- content?: ({
2604
+ result: {
2605
+ content: ({
2607
2606
  type: "text";
2608
2607
  text: string;
2609
2608
  textSignature?: string;
@@ -2613,8 +2612,9 @@ declare const encodeMessage: (message: {
2613
2612
  mimeType: string;
2614
2613
  })[];
2615
2614
  details?: any;
2615
+ isError: true;
2616
2616
  };
2617
- status: "running";
2617
+ status: "aborted";
2618
2618
  thoughtSignature?: string;
2619
2619
  time: {
2620
2620
  start: number;
@@ -2812,13 +2812,26 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2812
2812
  completed: number;
2813
2813
  };
2814
2814
  parts: ({
2815
+ type: "text";
2816
+ text: string;
2817
+ textSignature?: string;
2818
+ } | {
2819
+ type: "image";
2820
+ data: string;
2821
+ mimeType: string;
2822
+ } | {
2823
+ type: "thinking";
2824
+ thinking: string;
2825
+ thinkingSignature?: string;
2826
+ redacted?: boolean;
2827
+ } | {
2815
2828
  addedToolNames?: string[];
2816
2829
  arguments: Record<string, any>;
2817
2830
  callID: string;
2818
2831
  name: string;
2819
2832
  namespace?: string;
2820
- result: {
2821
- content: ({
2833
+ partial?: {
2834
+ content?: ({
2822
2835
  type: "text";
2823
2836
  text: string;
2824
2837
  textSignature?: string;
@@ -2828,9 +2841,8 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2828
2841
  mimeType: string;
2829
2842
  })[];
2830
2843
  details?: any;
2831
- isError: false;
2832
2844
  };
2833
- status: "completed";
2845
+ status: "running";
2834
2846
  thoughtSignature?: string;
2835
2847
  time: {
2836
2848
  start: number;
@@ -2854,9 +2866,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2854
2866
  mimeType: string;
2855
2867
  })[];
2856
2868
  details?: any;
2857
- isError: true;
2869
+ isError: false;
2858
2870
  };
2859
- status: "error";
2871
+ status: "completed";
2860
2872
  thoughtSignature?: string;
2861
2873
  time: {
2862
2874
  start: number;
@@ -2882,7 +2894,7 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2882
2894
  details?: any;
2883
2895
  isError: true;
2884
2896
  };
2885
- status: "skipped";
2897
+ status: "error";
2886
2898
  thoughtSignature?: string;
2887
2899
  time: {
2888
2900
  start: number;
@@ -2908,34 +2920,21 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2908
2920
  details?: any;
2909
2921
  isError: true;
2910
2922
  };
2911
- status: "aborted";
2923
+ status: "skipped";
2912
2924
  thoughtSignature?: string;
2913
2925
  time: {
2914
2926
  start: number;
2915
2927
  end: number;
2916
2928
  };
2917
2929
  type: "toolCall";
2918
- } | {
2919
- type: "text";
2920
- text: string;
2921
- textSignature?: string;
2922
- } | {
2923
- type: "image";
2924
- data: string;
2925
- mimeType: string;
2926
- } | {
2927
- type: "thinking";
2928
- thinking: string;
2929
- thinkingSignature?: string;
2930
- redacted?: boolean;
2931
2930
  } | {
2932
2931
  addedToolNames?: string[];
2933
2932
  arguments: Record<string, any>;
2934
2933
  callID: string;
2935
2934
  name: string;
2936
2935
  namespace?: string;
2937
- partial?: {
2938
- content?: ({
2936
+ result: {
2937
+ content: ({
2939
2938
  type: "text";
2940
2939
  text: string;
2941
2940
  textSignature?: string;
@@ -2945,8 +2944,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2945
2944
  mimeType: string;
2946
2945
  })[];
2947
2946
  details?: any;
2947
+ isError: true;
2948
2948
  };
2949
- status: "running";
2949
+ status: "aborted";
2950
2950
  thoughtSignature?: string;
2951
2951
  time: {
2952
2952
  start: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeworksh/harness",
3
- "version": "0.0.1-dev.20260925151032",
3
+ "version": "0.0.1-dev.20260925151211",
4
4
  "description": "AI agent harness — agent loop, tools, plugins, sandbox, and more.",
5
5
  "keywords": [
6
6
  "agent",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "dependencies": {
69
69
  "@codeworksh/aikit": "^0.9.2",
70
- "@codeworksh/plugin": "0.0.1-dev.20260925150557",
70
+ "@codeworksh/plugin": "dev",
71
71
  "@effect/platform-node": "4.0.0-rc.115",
72
72
  "@effect/sql-sqlite-node": "4.0.0-rc.115",
73
73
  "@npmcli/arborist": "^10.0.2",