@codeworksh/harness 0.2.0-dev.20261013040429 → 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.
- package/effect.d.mts +52 -52
- package/package.json +3 -3
package/effect.d.mts
CHANGED
|
@@ -2715,21 +2715,6 @@ type AikitPart = Message.AssistantMessage["parts"][number] | Message.UserMessage
|
|
|
2715
2715
|
declare const encodePart: (part: AikitPart) => Effect.Effect<AppendPart, ContextEncodeError, never>;
|
|
2716
2716
|
declare const validateUserMessage: (value: unknown, entryId: string, type: string) => Effect.Effect<Message.UserMessage, ContextDecodeError>;
|
|
2717
2717
|
declare const encodeMessage: (message: {
|
|
2718
|
-
messageId: string;
|
|
2719
|
-
role: "user";
|
|
2720
|
-
time: {
|
|
2721
|
-
created: number;
|
|
2722
|
-
};
|
|
2723
|
-
parts: ({
|
|
2724
|
-
type: "text";
|
|
2725
|
-
text: string;
|
|
2726
|
-
textSignature?: string;
|
|
2727
|
-
} | {
|
|
2728
|
-
type: "image";
|
|
2729
|
-
data: string;
|
|
2730
|
-
mimeType: string;
|
|
2731
|
-
})[];
|
|
2732
|
-
} | {
|
|
2733
2718
|
role: "assistant";
|
|
2734
2719
|
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
2735
2720
|
provider: {
|
|
@@ -2879,14 +2864,19 @@ declare const encodeMessage: (message: {
|
|
|
2879
2864
|
type: "image";
|
|
2880
2865
|
data: string;
|
|
2881
2866
|
mimeType: string;
|
|
2867
|
+
} | {
|
|
2868
|
+
type: "thinking";
|
|
2869
|
+
thinking: string;
|
|
2870
|
+
thinkingSignature?: string;
|
|
2871
|
+
redacted?: boolean;
|
|
2882
2872
|
} | {
|
|
2883
2873
|
addedToolNames?: string[];
|
|
2884
2874
|
arguments: Record<string, any>;
|
|
2885
2875
|
callID: string;
|
|
2886
2876
|
name: string;
|
|
2887
2877
|
namespace?: string;
|
|
2888
|
-
|
|
2889
|
-
content
|
|
2878
|
+
partial?: {
|
|
2879
|
+
content?: ({
|
|
2890
2880
|
type: "text";
|
|
2891
2881
|
text: string;
|
|
2892
2882
|
textSignature?: string;
|
|
@@ -2896,9 +2886,8 @@ declare const encodeMessage: (message: {
|
|
|
2896
2886
|
mimeType: string;
|
|
2897
2887
|
})[];
|
|
2898
2888
|
details?: any;
|
|
2899
|
-
isError: false;
|
|
2900
2889
|
};
|
|
2901
|
-
status: "
|
|
2890
|
+
status: "running";
|
|
2902
2891
|
thoughtSignature?: string;
|
|
2903
2892
|
time: {
|
|
2904
2893
|
start: number;
|
|
@@ -2922,9 +2911,9 @@ declare const encodeMessage: (message: {
|
|
|
2922
2911
|
mimeType: string;
|
|
2923
2912
|
})[];
|
|
2924
2913
|
details?: any;
|
|
2925
|
-
isError:
|
|
2914
|
+
isError: false;
|
|
2926
2915
|
};
|
|
2927
|
-
status: "
|
|
2916
|
+
status: "completed";
|
|
2928
2917
|
thoughtSignature?: string;
|
|
2929
2918
|
time: {
|
|
2930
2919
|
start: number;
|
|
@@ -2950,7 +2939,7 @@ declare const encodeMessage: (message: {
|
|
|
2950
2939
|
details?: any;
|
|
2951
2940
|
isError: true;
|
|
2952
2941
|
};
|
|
2953
|
-
status: "
|
|
2942
|
+
status: "error";
|
|
2954
2943
|
thoughtSignature?: string;
|
|
2955
2944
|
time: {
|
|
2956
2945
|
start: number;
|
|
@@ -2976,26 +2965,21 @@ declare const encodeMessage: (message: {
|
|
|
2976
2965
|
details?: any;
|
|
2977
2966
|
isError: true;
|
|
2978
2967
|
};
|
|
2979
|
-
status: "
|
|
2968
|
+
status: "skipped";
|
|
2980
2969
|
thoughtSignature?: string;
|
|
2981
2970
|
time: {
|
|
2982
2971
|
start: number;
|
|
2983
2972
|
end: number;
|
|
2984
2973
|
};
|
|
2985
2974
|
type: "toolCall";
|
|
2986
|
-
} | {
|
|
2987
|
-
type: "thinking";
|
|
2988
|
-
thinking: string;
|
|
2989
|
-
thinkingSignature?: string;
|
|
2990
|
-
redacted?: boolean;
|
|
2991
2975
|
} | {
|
|
2992
2976
|
addedToolNames?: string[];
|
|
2993
2977
|
arguments: Record<string, any>;
|
|
2994
2978
|
callID: string;
|
|
2995
2979
|
name: string;
|
|
2996
2980
|
namespace?: string;
|
|
2997
|
-
|
|
2998
|
-
content
|
|
2981
|
+
result: {
|
|
2982
|
+
content: ({
|
|
2999
2983
|
type: "text";
|
|
3000
2984
|
text: string;
|
|
3001
2985
|
textSignature?: string;
|
|
@@ -3005,8 +2989,9 @@ declare const encodeMessage: (message: {
|
|
|
3005
2989
|
mimeType: string;
|
|
3006
2990
|
})[];
|
|
3007
2991
|
details?: any;
|
|
2992
|
+
isError: true;
|
|
3008
2993
|
};
|
|
3009
|
-
status: "
|
|
2994
|
+
status: "aborted";
|
|
3010
2995
|
thoughtSignature?: string;
|
|
3011
2996
|
time: {
|
|
3012
2997
|
start: number;
|
|
@@ -3031,8 +3016,7 @@ declare const encodeMessage: (message: {
|
|
|
3031
3016
|
responseId?: string;
|
|
3032
3017
|
responseModel?: string;
|
|
3033
3018
|
messageId: string;
|
|
3034
|
-
}
|
|
3035
|
-
declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
3019
|
+
} | {
|
|
3036
3020
|
messageId: string;
|
|
3037
3021
|
role: "user";
|
|
3038
3022
|
time: {
|
|
@@ -3047,8 +3031,8 @@ declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect
|
|
|
3047
3031
|
data: string;
|
|
3048
3032
|
mimeType: string;
|
|
3049
3033
|
})[];
|
|
3050
|
-
},
|
|
3051
|
-
declare const
|
|
3034
|
+
}) => Effect.Effect<EncodedMessage, ContextEncodeError, never>;
|
|
3035
|
+
declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
3052
3036
|
messageId: string;
|
|
3053
3037
|
role: "user";
|
|
3054
3038
|
time: {
|
|
@@ -3063,7 +3047,8 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
3063
3047
|
data: string;
|
|
3064
3048
|
mimeType: string;
|
|
3065
3049
|
})[];
|
|
3066
|
-
}
|
|
3050
|
+
}, ContextDecodeError, never>;
|
|
3051
|
+
declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
3067
3052
|
role: "assistant";
|
|
3068
3053
|
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
3069
3054
|
provider: {
|
|
@@ -3213,14 +3198,19 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
3213
3198
|
type: "image";
|
|
3214
3199
|
data: string;
|
|
3215
3200
|
mimeType: string;
|
|
3201
|
+
} | {
|
|
3202
|
+
type: "thinking";
|
|
3203
|
+
thinking: string;
|
|
3204
|
+
thinkingSignature?: string;
|
|
3205
|
+
redacted?: boolean;
|
|
3216
3206
|
} | {
|
|
3217
3207
|
addedToolNames?: string[];
|
|
3218
3208
|
arguments: Record<string, any>;
|
|
3219
3209
|
callID: string;
|
|
3220
3210
|
name: string;
|
|
3221
3211
|
namespace?: string;
|
|
3222
|
-
|
|
3223
|
-
content
|
|
3212
|
+
partial?: {
|
|
3213
|
+
content?: ({
|
|
3224
3214
|
type: "text";
|
|
3225
3215
|
text: string;
|
|
3226
3216
|
textSignature?: string;
|
|
@@ -3230,9 +3220,8 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
3230
3220
|
mimeType: string;
|
|
3231
3221
|
})[];
|
|
3232
3222
|
details?: any;
|
|
3233
|
-
isError: false;
|
|
3234
3223
|
};
|
|
3235
|
-
status: "
|
|
3224
|
+
status: "running";
|
|
3236
3225
|
thoughtSignature?: string;
|
|
3237
3226
|
time: {
|
|
3238
3227
|
start: number;
|
|
@@ -3256,9 +3245,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
3256
3245
|
mimeType: string;
|
|
3257
3246
|
})[];
|
|
3258
3247
|
details?: any;
|
|
3259
|
-
isError:
|
|
3248
|
+
isError: false;
|
|
3260
3249
|
};
|
|
3261
|
-
status: "
|
|
3250
|
+
status: "completed";
|
|
3262
3251
|
thoughtSignature?: string;
|
|
3263
3252
|
time: {
|
|
3264
3253
|
start: number;
|
|
@@ -3284,7 +3273,7 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
3284
3273
|
details?: any;
|
|
3285
3274
|
isError: true;
|
|
3286
3275
|
};
|
|
3287
|
-
status: "
|
|
3276
|
+
status: "error";
|
|
3288
3277
|
thoughtSignature?: string;
|
|
3289
3278
|
time: {
|
|
3290
3279
|
start: number;
|
|
@@ -3310,26 +3299,21 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
3310
3299
|
details?: any;
|
|
3311
3300
|
isError: true;
|
|
3312
3301
|
};
|
|
3313
|
-
status: "
|
|
3302
|
+
status: "skipped";
|
|
3314
3303
|
thoughtSignature?: string;
|
|
3315
3304
|
time: {
|
|
3316
3305
|
start: number;
|
|
3317
3306
|
end: number;
|
|
3318
3307
|
};
|
|
3319
3308
|
type: "toolCall";
|
|
3320
|
-
} | {
|
|
3321
|
-
type: "thinking";
|
|
3322
|
-
thinking: string;
|
|
3323
|
-
thinkingSignature?: string;
|
|
3324
|
-
redacted?: boolean;
|
|
3325
3309
|
} | {
|
|
3326
3310
|
addedToolNames?: string[];
|
|
3327
3311
|
arguments: Record<string, any>;
|
|
3328
3312
|
callID: string;
|
|
3329
3313
|
name: string;
|
|
3330
3314
|
namespace?: string;
|
|
3331
|
-
|
|
3332
|
-
content
|
|
3315
|
+
result: {
|
|
3316
|
+
content: ({
|
|
3333
3317
|
type: "text";
|
|
3334
3318
|
text: string;
|
|
3335
3319
|
textSignature?: string;
|
|
@@ -3339,8 +3323,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
3339
3323
|
mimeType: string;
|
|
3340
3324
|
})[];
|
|
3341
3325
|
details?: any;
|
|
3326
|
+
isError: true;
|
|
3342
3327
|
};
|
|
3343
|
-
status: "
|
|
3328
|
+
status: "aborted";
|
|
3344
3329
|
thoughtSignature?: string;
|
|
3345
3330
|
time: {
|
|
3346
3331
|
start: number;
|
|
@@ -3365,6 +3350,21 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
3365
3350
|
responseId?: string;
|
|
3366
3351
|
responseModel?: string;
|
|
3367
3352
|
messageId: string;
|
|
3353
|
+
} | {
|
|
3354
|
+
messageId: string;
|
|
3355
|
+
role: "user";
|
|
3356
|
+
time: {
|
|
3357
|
+
created: number;
|
|
3358
|
+
};
|
|
3359
|
+
parts: ({
|
|
3360
|
+
type: "text";
|
|
3361
|
+
text: string;
|
|
3362
|
+
textSignature?: string;
|
|
3363
|
+
} | {
|
|
3364
|
+
type: "image";
|
|
3365
|
+
data: string;
|
|
3366
|
+
mimeType: string;
|
|
3367
|
+
})[];
|
|
3368
3368
|
}, ContextDecodeError, never>;
|
|
3369
3369
|
declare namespace context_d_exports {
|
|
3370
3370
|
export { context_d_exports as Context, assemble_d_exports as ContextAssembly, codec_d_exports as ContextCodec, ContextDecodeError, ContextEncodeError, ContextInvariantError, ContextReadError, EncodedMessage, Interface$1 as Interface, Service$2 as Service, Snapshot, assemblePath, decodeMessage, decodeSyntheticMessage, encodeMessage, encodePart, layer$4 as layer, validateUserMessage };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codeworksh/harness",
|
|
3
|
-
"version": "0.2.0-dev.
|
|
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.
|
|
70
|
-
"@codeworksh/plugin": "0.2.0-dev.
|
|
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",
|