@codeworksh/harness 0.7.0-dev.20261103153533 → 0.7.0-dev.20261104114040
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 +64 -64
- package/package.json +3 -3
package/effect.d.mts
CHANGED
|
@@ -30045,25 +30045,12 @@ declare const decodeSystemMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
30045
30045
|
}, ContextDecodeError, never>;
|
|
30046
30046
|
/** A message's parts; a system message has none. */
|
|
30047
30047
|
declare const parts: (message: Message.Message) => ({
|
|
30048
|
-
type: "text";
|
|
30049
|
-
text: string;
|
|
30050
|
-
textSignature?: string;
|
|
30051
|
-
} | {
|
|
30052
|
-
type: "image";
|
|
30053
|
-
data: string;
|
|
30054
|
-
mimeType: string;
|
|
30055
|
-
} | {
|
|
30056
|
-
type: "thinking";
|
|
30057
|
-
thinking: string;
|
|
30058
|
-
thinkingSignature?: string;
|
|
30059
|
-
redacted?: boolean;
|
|
30060
|
-
} | {
|
|
30061
30048
|
arguments: Record<string, any>;
|
|
30062
30049
|
callID: string;
|
|
30063
30050
|
name: string;
|
|
30064
30051
|
namespace?: string;
|
|
30065
|
-
|
|
30066
|
-
content
|
|
30052
|
+
result: {
|
|
30053
|
+
content: ({
|
|
30067
30054
|
type: "text";
|
|
30068
30055
|
text: string;
|
|
30069
30056
|
textSignature?: string;
|
|
@@ -30073,8 +30060,9 @@ declare const parts: (message: Message.Message) => ({
|
|
|
30073
30060
|
mimeType: string;
|
|
30074
30061
|
})[];
|
|
30075
30062
|
details?: any;
|
|
30063
|
+
isError: false;
|
|
30076
30064
|
};
|
|
30077
|
-
status: "
|
|
30065
|
+
status: "completed";
|
|
30078
30066
|
thoughtSignature?: string;
|
|
30079
30067
|
time: {
|
|
30080
30068
|
start: number;
|
|
@@ -30097,9 +30085,9 @@ declare const parts: (message: Message.Message) => ({
|
|
|
30097
30085
|
mimeType: string;
|
|
30098
30086
|
})[];
|
|
30099
30087
|
details?: any;
|
|
30100
|
-
isError:
|
|
30088
|
+
isError: true;
|
|
30101
30089
|
};
|
|
30102
|
-
status: "
|
|
30090
|
+
status: "error";
|
|
30103
30091
|
thoughtSignature?: string;
|
|
30104
30092
|
time: {
|
|
30105
30093
|
start: number;
|
|
@@ -30124,7 +30112,7 @@ declare const parts: (message: Message.Message) => ({
|
|
|
30124
30112
|
details?: any;
|
|
30125
30113
|
isError: true;
|
|
30126
30114
|
};
|
|
30127
|
-
status: "
|
|
30115
|
+
status: "skipped";
|
|
30128
30116
|
thoughtSignature?: string;
|
|
30129
30117
|
time: {
|
|
30130
30118
|
start: number;
|
|
@@ -30149,20 +30137,33 @@ declare const parts: (message: Message.Message) => ({
|
|
|
30149
30137
|
details?: any;
|
|
30150
30138
|
isError: true;
|
|
30151
30139
|
};
|
|
30152
|
-
status: "
|
|
30140
|
+
status: "aborted";
|
|
30153
30141
|
thoughtSignature?: string;
|
|
30154
30142
|
time: {
|
|
30155
30143
|
start: number;
|
|
30156
30144
|
end: number;
|
|
30157
30145
|
};
|
|
30158
30146
|
type: "toolCall";
|
|
30147
|
+
} | {
|
|
30148
|
+
type: "text";
|
|
30149
|
+
text: string;
|
|
30150
|
+
textSignature?: string;
|
|
30151
|
+
} | {
|
|
30152
|
+
type: "image";
|
|
30153
|
+
data: string;
|
|
30154
|
+
mimeType: string;
|
|
30155
|
+
} | {
|
|
30156
|
+
type: "thinking";
|
|
30157
|
+
thinking: string;
|
|
30158
|
+
thinkingSignature?: string;
|
|
30159
|
+
redacted?: boolean;
|
|
30159
30160
|
} | {
|
|
30160
30161
|
arguments: Record<string, any>;
|
|
30161
30162
|
callID: string;
|
|
30162
30163
|
name: string;
|
|
30163
30164
|
namespace?: string;
|
|
30164
|
-
|
|
30165
|
-
content
|
|
30165
|
+
partial?: {
|
|
30166
|
+
content?: ({
|
|
30166
30167
|
type: "text";
|
|
30167
30168
|
text: string;
|
|
30168
30169
|
textSignature?: string;
|
|
@@ -30172,9 +30173,8 @@ declare const parts: (message: Message.Message) => ({
|
|
|
30172
30173
|
mimeType: string;
|
|
30173
30174
|
})[];
|
|
30174
30175
|
details?: any;
|
|
30175
|
-
isError: true;
|
|
30176
30176
|
};
|
|
30177
|
-
status: "
|
|
30177
|
+
status: "running";
|
|
30178
30178
|
thoughtSignature?: string;
|
|
30179
30179
|
time: {
|
|
30180
30180
|
start: number;
|
|
@@ -30350,25 +30350,12 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
30350
30350
|
completed: number;
|
|
30351
30351
|
};
|
|
30352
30352
|
parts: ({
|
|
30353
|
-
type: "text";
|
|
30354
|
-
text: string;
|
|
30355
|
-
textSignature?: string;
|
|
30356
|
-
} | {
|
|
30357
|
-
type: "image";
|
|
30358
|
-
data: string;
|
|
30359
|
-
mimeType: string;
|
|
30360
|
-
} | {
|
|
30361
|
-
type: "thinking";
|
|
30362
|
-
thinking: string;
|
|
30363
|
-
thinkingSignature?: string;
|
|
30364
|
-
redacted?: boolean;
|
|
30365
|
-
} | {
|
|
30366
30353
|
arguments: Record<string, any>;
|
|
30367
30354
|
callID: string;
|
|
30368
30355
|
name: string;
|
|
30369
30356
|
namespace?: string;
|
|
30370
|
-
|
|
30371
|
-
content
|
|
30357
|
+
result: {
|
|
30358
|
+
content: ({
|
|
30372
30359
|
type: "text";
|
|
30373
30360
|
text: string;
|
|
30374
30361
|
textSignature?: string;
|
|
@@ -30378,8 +30365,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
30378
30365
|
mimeType: string;
|
|
30379
30366
|
})[];
|
|
30380
30367
|
details?: any;
|
|
30368
|
+
isError: false;
|
|
30381
30369
|
};
|
|
30382
|
-
status: "
|
|
30370
|
+
status: "completed";
|
|
30383
30371
|
thoughtSignature?: string;
|
|
30384
30372
|
time: {
|
|
30385
30373
|
start: number;
|
|
@@ -30402,9 +30390,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
30402
30390
|
mimeType: string;
|
|
30403
30391
|
})[];
|
|
30404
30392
|
details?: any;
|
|
30405
|
-
isError:
|
|
30393
|
+
isError: true;
|
|
30406
30394
|
};
|
|
30407
|
-
status: "
|
|
30395
|
+
status: "error";
|
|
30408
30396
|
thoughtSignature?: string;
|
|
30409
30397
|
time: {
|
|
30410
30398
|
start: number;
|
|
@@ -30429,7 +30417,7 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
30429
30417
|
details?: any;
|
|
30430
30418
|
isError: true;
|
|
30431
30419
|
};
|
|
30432
|
-
status: "
|
|
30420
|
+
status: "skipped";
|
|
30433
30421
|
thoughtSignature?: string;
|
|
30434
30422
|
time: {
|
|
30435
30423
|
start: number;
|
|
@@ -30454,20 +30442,33 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
30454
30442
|
details?: any;
|
|
30455
30443
|
isError: true;
|
|
30456
30444
|
};
|
|
30457
|
-
status: "
|
|
30445
|
+
status: "aborted";
|
|
30458
30446
|
thoughtSignature?: string;
|
|
30459
30447
|
time: {
|
|
30460
30448
|
start: number;
|
|
30461
30449
|
end: number;
|
|
30462
30450
|
};
|
|
30463
30451
|
type: "toolCall";
|
|
30452
|
+
} | {
|
|
30453
|
+
type: "text";
|
|
30454
|
+
text: string;
|
|
30455
|
+
textSignature?: string;
|
|
30456
|
+
} | {
|
|
30457
|
+
type: "image";
|
|
30458
|
+
data: string;
|
|
30459
|
+
mimeType: string;
|
|
30460
|
+
} | {
|
|
30461
|
+
type: "thinking";
|
|
30462
|
+
thinking: string;
|
|
30463
|
+
thinkingSignature?: string;
|
|
30464
|
+
redacted?: boolean;
|
|
30464
30465
|
} | {
|
|
30465
30466
|
arguments: Record<string, any>;
|
|
30466
30467
|
callID: string;
|
|
30467
30468
|
name: string;
|
|
30468
30469
|
namespace?: string;
|
|
30469
|
-
|
|
30470
|
-
content
|
|
30470
|
+
partial?: {
|
|
30471
|
+
content?: ({
|
|
30471
30472
|
type: "text";
|
|
30472
30473
|
text: string;
|
|
30473
30474
|
textSignature?: string;
|
|
@@ -30477,9 +30478,8 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
30477
30478
|
mimeType: string;
|
|
30478
30479
|
})[];
|
|
30479
30480
|
details?: any;
|
|
30480
|
-
isError: true;
|
|
30481
30481
|
};
|
|
30482
|
-
status: "
|
|
30482
|
+
status: "running";
|
|
30483
30483
|
thoughtSignature?: string;
|
|
30484
30484
|
time: {
|
|
30485
30485
|
start: number;
|
|
@@ -30503,21 +30503,6 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
30503
30503
|
responseId?: string;
|
|
30504
30504
|
responseModel?: string;
|
|
30505
30505
|
messageId: string;
|
|
30506
|
-
} | {
|
|
30507
|
-
messageId: string;
|
|
30508
|
-
role: "user";
|
|
30509
|
-
time: {
|
|
30510
|
-
created: number;
|
|
30511
|
-
};
|
|
30512
|
-
parts: ({
|
|
30513
|
-
type: "text";
|
|
30514
|
-
text: string;
|
|
30515
|
-
textSignature?: string;
|
|
30516
|
-
} | {
|
|
30517
|
-
type: "image";
|
|
30518
|
-
data: string;
|
|
30519
|
-
mimeType: string;
|
|
30520
|
-
})[];
|
|
30521
30506
|
} | {
|
|
30522
30507
|
messageId: string;
|
|
30523
30508
|
role: "system";
|
|
@@ -30545,6 +30530,21 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
|
30545
30530
|
name: string;
|
|
30546
30531
|
}[];
|
|
30547
30532
|
metadata?: Record<string, unknown>;
|
|
30533
|
+
} | {
|
|
30534
|
+
messageId: string;
|
|
30535
|
+
role: "user";
|
|
30536
|
+
time: {
|
|
30537
|
+
created: number;
|
|
30538
|
+
};
|
|
30539
|
+
parts: ({
|
|
30540
|
+
type: "text";
|
|
30541
|
+
text: string;
|
|
30542
|
+
textSignature?: string;
|
|
30543
|
+
} | {
|
|
30544
|
+
type: "image";
|
|
30545
|
+
data: string;
|
|
30546
|
+
mimeType: string;
|
|
30547
|
+
})[];
|
|
30548
30548
|
}, ContextDecodeError, never>;
|
|
30549
30549
|
declare namespace context_d_exports {
|
|
30550
30550
|
export { context_d_exports as Context, assemble_d_exports as ContextAssembly, codec_d_exports as ContextCodec, ContextDecodeError, ContextEncodeError, ContextInvariantError, ContextMessage, ContextReadError, EncodedMessage, Interface$2 as Interface, Service$2 as Service, Snapshot, assembleLine, decodeMessage, decodeSyntheticMessage, decodeSystemMessage, encodeMessage, encodePart, layer$4 as layer, parts, systemMessage, validateUserMessage };
|
|
@@ -32260,8 +32260,8 @@ declare const update: <A>(target: Fetchable, cache: string, options: {
|
|
|
32260
32260
|
readonly probe: Probe;
|
|
32261
32261
|
readonly from: string;
|
|
32262
32262
|
}) => Effect.Effect<{
|
|
32263
|
-
readonly entry?: never;
|
|
32264
32263
|
readonly _tag: "not-installed";
|
|
32264
|
+
readonly entry?: never;
|
|
32265
32265
|
} | {
|
|
32266
32266
|
readonly _tag: "unchanged";
|
|
32267
32267
|
readonly entry: Entry;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codeworksh/harness",
|
|
3
|
-
"version": "0.7.0-dev.
|
|
3
|
+
"version": "0.7.0-dev.20261104114040",
|
|
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.13.0-dev.
|
|
70
|
-
"@codeworksh/plugin": "0.4.0-dev.
|
|
69
|
+
"@codeworksh/aikit": "0.13.0-dev.20261104114040",
|
|
70
|
+
"@codeworksh/plugin": "0.4.0-dev.20261104114040",
|
|
71
71
|
"@effect/platform-node": "4.0.5",
|
|
72
72
|
"@effect/platform-node-shared": "4.0.5",
|
|
73
73
|
"@effect/sql-sqlite-node": "4.0.5",
|