@codeworksh/harness 0.2.0-dev.20261012163102 → 0.2.0-dev.20261013041531

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 +3 -3
package/effect.d.mts CHANGED
@@ -2857,13 +2857,26 @@ declare const encodeMessage: (message: {
2857
2857
  completed: number;
2858
2858
  };
2859
2859
  parts: ({
2860
+ type: "text";
2861
+ text: string;
2862
+ textSignature?: string;
2863
+ } | {
2864
+ type: "image";
2865
+ data: string;
2866
+ mimeType: string;
2867
+ } | {
2868
+ type: "thinking";
2869
+ thinking: string;
2870
+ thinkingSignature?: string;
2871
+ redacted?: boolean;
2872
+ } | {
2860
2873
  addedToolNames?: string[];
2861
2874
  arguments: Record<string, any>;
2862
2875
  callID: string;
2863
2876
  name: string;
2864
2877
  namespace?: string;
2865
- result: {
2866
- content: ({
2878
+ partial?: {
2879
+ content?: ({
2867
2880
  type: "text";
2868
2881
  text: string;
2869
2882
  textSignature?: string;
@@ -2873,9 +2886,8 @@ declare const encodeMessage: (message: {
2873
2886
  mimeType: string;
2874
2887
  })[];
2875
2888
  details?: any;
2876
- isError: false;
2877
2889
  };
2878
- status: "completed";
2890
+ status: "running";
2879
2891
  thoughtSignature?: string;
2880
2892
  time: {
2881
2893
  start: number;
@@ -2899,9 +2911,9 @@ declare const encodeMessage: (message: {
2899
2911
  mimeType: string;
2900
2912
  })[];
2901
2913
  details?: any;
2902
- isError: true;
2914
+ isError: false;
2903
2915
  };
2904
- status: "error";
2916
+ status: "completed";
2905
2917
  thoughtSignature?: string;
2906
2918
  time: {
2907
2919
  start: number;
@@ -2927,7 +2939,7 @@ declare const encodeMessage: (message: {
2927
2939
  details?: any;
2928
2940
  isError: true;
2929
2941
  };
2930
- status: "skipped";
2942
+ status: "error";
2931
2943
  thoughtSignature?: string;
2932
2944
  time: {
2933
2945
  start: number;
@@ -2953,34 +2965,21 @@ declare const encodeMessage: (message: {
2953
2965
  details?: any;
2954
2966
  isError: true;
2955
2967
  };
2956
- status: "aborted";
2968
+ status: "skipped";
2957
2969
  thoughtSignature?: string;
2958
2970
  time: {
2959
2971
  start: number;
2960
2972
  end: number;
2961
2973
  };
2962
2974
  type: "toolCall";
2963
- } | {
2964
- type: "text";
2965
- text: string;
2966
- textSignature?: string;
2967
- } | {
2968
- type: "image";
2969
- data: string;
2970
- mimeType: string;
2971
- } | {
2972
- type: "thinking";
2973
- thinking: string;
2974
- thinkingSignature?: string;
2975
- redacted?: boolean;
2976
2975
  } | {
2977
2976
  addedToolNames?: string[];
2978
2977
  arguments: Record<string, any>;
2979
2978
  callID: string;
2980
2979
  name: string;
2981
2980
  namespace?: string;
2982
- partial?: {
2983
- content?: ({
2981
+ result: {
2982
+ content: ({
2984
2983
  type: "text";
2985
2984
  text: string;
2986
2985
  textSignature?: string;
@@ -2990,8 +2989,9 @@ declare const encodeMessage: (message: {
2990
2989
  mimeType: string;
2991
2990
  })[];
2992
2991
  details?: any;
2992
+ isError: true;
2993
2993
  };
2994
- status: "running";
2994
+ status: "aborted";
2995
2995
  thoughtSignature?: string;
2996
2996
  time: {
2997
2997
  start: number;
@@ -3191,13 +3191,26 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3191
3191
  completed: number;
3192
3192
  };
3193
3193
  parts: ({
3194
+ type: "text";
3195
+ text: string;
3196
+ textSignature?: string;
3197
+ } | {
3198
+ type: "image";
3199
+ data: string;
3200
+ mimeType: string;
3201
+ } | {
3202
+ type: "thinking";
3203
+ thinking: string;
3204
+ thinkingSignature?: string;
3205
+ redacted?: boolean;
3206
+ } | {
3194
3207
  addedToolNames?: string[];
3195
3208
  arguments: Record<string, any>;
3196
3209
  callID: string;
3197
3210
  name: string;
3198
3211
  namespace?: string;
3199
- result: {
3200
- content: ({
3212
+ partial?: {
3213
+ content?: ({
3201
3214
  type: "text";
3202
3215
  text: string;
3203
3216
  textSignature?: string;
@@ -3207,9 +3220,8 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3207
3220
  mimeType: string;
3208
3221
  })[];
3209
3222
  details?: any;
3210
- isError: false;
3211
3223
  };
3212
- status: "completed";
3224
+ status: "running";
3213
3225
  thoughtSignature?: string;
3214
3226
  time: {
3215
3227
  start: number;
@@ -3233,9 +3245,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3233
3245
  mimeType: string;
3234
3246
  })[];
3235
3247
  details?: any;
3236
- isError: true;
3248
+ isError: false;
3237
3249
  };
3238
- status: "error";
3250
+ status: "completed";
3239
3251
  thoughtSignature?: string;
3240
3252
  time: {
3241
3253
  start: number;
@@ -3261,7 +3273,7 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3261
3273
  details?: any;
3262
3274
  isError: true;
3263
3275
  };
3264
- status: "skipped";
3276
+ status: "error";
3265
3277
  thoughtSignature?: string;
3266
3278
  time: {
3267
3279
  start: number;
@@ -3287,34 +3299,21 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3287
3299
  details?: any;
3288
3300
  isError: true;
3289
3301
  };
3290
- status: "aborted";
3302
+ status: "skipped";
3291
3303
  thoughtSignature?: string;
3292
3304
  time: {
3293
3305
  start: number;
3294
3306
  end: number;
3295
3307
  };
3296
3308
  type: "toolCall";
3297
- } | {
3298
- type: "text";
3299
- text: string;
3300
- textSignature?: string;
3301
- } | {
3302
- type: "image";
3303
- data: string;
3304
- mimeType: string;
3305
- } | {
3306
- type: "thinking";
3307
- thinking: string;
3308
- thinkingSignature?: string;
3309
- redacted?: boolean;
3310
3309
  } | {
3311
3310
  addedToolNames?: string[];
3312
3311
  arguments: Record<string, any>;
3313
3312
  callID: string;
3314
3313
  name: string;
3315
3314
  namespace?: string;
3316
- partial?: {
3317
- content?: ({
3315
+ result: {
3316
+ content: ({
3318
3317
  type: "text";
3319
3318
  text: string;
3320
3319
  textSignature?: string;
@@ -3324,8 +3323,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
3324
3323
  mimeType: string;
3325
3324
  })[];
3326
3325
  details?: any;
3326
+ isError: true;
3327
3327
  };
3328
- status: "running";
3328
+ status: "aborted";
3329
3329
  thoughtSignature?: string;
3330
3330
  time: {
3331
3331
  start: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeworksh/harness",
3
- "version": "0.2.0-dev.20261012163102",
3
+ "version": "0.2.0-dev.20261013041531",
4
4
  "description": "AI agent harness — agent loop, tools, plugins, sandbox, and more.",
5
5
  "keywords": [
6
6
  "agent",
@@ -66,8 +66,8 @@
66
66
  "node": ">=24.14.1"
67
67
  },
68
68
  "dependencies": {
69
- "@codeworksh/aikit": "0.11.0-dev.20261012163102",
70
- "@codeworksh/plugin": "0.2.0-dev.20261012163102",
69
+ "@codeworksh/aikit": "0.11.0-dev.20261013041531",
70
+ "@codeworksh/plugin": "0.2.0-dev.20261013041531",
71
71
  "@effect/platform-node": "4.0.1",
72
72
  "@effect/sql-sqlite-node": "4.0.1",
73
73
  "@npmcli/arborist": "^10.0.2",