@codeworksh/plugin 0.0.1-canary.8.1.g9f95c5cc → 0.0.1-canary.9.1.ge6cc9a6c
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.
|
@@ -154,14 +154,19 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
154
154
|
type: "image";
|
|
155
155
|
data: string;
|
|
156
156
|
mimeType: string;
|
|
157
|
+
} | {
|
|
158
|
+
type: "thinking";
|
|
159
|
+
thinking: string;
|
|
160
|
+
thinkingSignature?: string;
|
|
161
|
+
redacted?: boolean;
|
|
157
162
|
} | {
|
|
158
163
|
addedToolNames?: string[];
|
|
159
164
|
arguments: Record<string, any>;
|
|
160
165
|
callID: string;
|
|
161
166
|
name: string;
|
|
162
167
|
namespace?: string;
|
|
163
|
-
|
|
164
|
-
content
|
|
168
|
+
partial?: {
|
|
169
|
+
content?: ({
|
|
165
170
|
type: "text";
|
|
166
171
|
text: string;
|
|
167
172
|
textSignature?: string;
|
|
@@ -171,9 +176,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
171
176
|
mimeType: string;
|
|
172
177
|
})[];
|
|
173
178
|
details?: any;
|
|
174
|
-
isError: false;
|
|
175
179
|
};
|
|
176
|
-
status: "
|
|
180
|
+
status: "running";
|
|
177
181
|
thoughtSignature?: string;
|
|
178
182
|
time: {
|
|
179
183
|
start: number;
|
|
@@ -197,9 +201,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
197
201
|
mimeType: string;
|
|
198
202
|
})[];
|
|
199
203
|
details?: any;
|
|
200
|
-
isError:
|
|
204
|
+
isError: false;
|
|
201
205
|
};
|
|
202
|
-
status: "
|
|
206
|
+
status: "completed";
|
|
203
207
|
thoughtSignature?: string;
|
|
204
208
|
time: {
|
|
205
209
|
start: number;
|
|
@@ -225,7 +229,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
225
229
|
details?: any;
|
|
226
230
|
isError: true;
|
|
227
231
|
};
|
|
228
|
-
status: "
|
|
232
|
+
status: "error";
|
|
229
233
|
thoughtSignature?: string;
|
|
230
234
|
time: {
|
|
231
235
|
start: number;
|
|
@@ -251,26 +255,21 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
251
255
|
details?: any;
|
|
252
256
|
isError: true;
|
|
253
257
|
};
|
|
254
|
-
status: "
|
|
258
|
+
status: "skipped";
|
|
255
259
|
thoughtSignature?: string;
|
|
256
260
|
time: {
|
|
257
261
|
start: number;
|
|
258
262
|
end: number;
|
|
259
263
|
};
|
|
260
264
|
type: "toolCall";
|
|
261
|
-
} | {
|
|
262
|
-
type: "thinking";
|
|
263
|
-
thinking: string;
|
|
264
|
-
thinkingSignature?: string;
|
|
265
|
-
redacted?: boolean;
|
|
266
265
|
} | {
|
|
267
266
|
addedToolNames?: string[];
|
|
268
267
|
arguments: Record<string, any>;
|
|
269
268
|
callID: string;
|
|
270
269
|
name: string;
|
|
271
270
|
namespace?: string;
|
|
272
|
-
|
|
273
|
-
content
|
|
271
|
+
result: {
|
|
272
|
+
content: ({
|
|
274
273
|
type: "text";
|
|
275
274
|
text: string;
|
|
276
275
|
textSignature?: string;
|
|
@@ -280,8 +279,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
280
279
|
mimeType: string;
|
|
281
280
|
})[];
|
|
282
281
|
details?: any;
|
|
282
|
+
isError: true;
|
|
283
283
|
};
|
|
284
|
-
status: "
|
|
284
|
+
status: "aborted";
|
|
285
285
|
thoughtSignature?: string;
|
|
286
286
|
time: {
|
|
287
287
|
start: number;
|
|
@@ -454,14 +454,19 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
454
454
|
type: "image";
|
|
455
455
|
data: string;
|
|
456
456
|
mimeType: string;
|
|
457
|
+
} | {
|
|
458
|
+
type: "thinking";
|
|
459
|
+
thinking: string;
|
|
460
|
+
thinkingSignature?: string;
|
|
461
|
+
redacted?: boolean;
|
|
457
462
|
} | {
|
|
458
463
|
addedToolNames?: string[];
|
|
459
464
|
arguments: Record<string, any>;
|
|
460
465
|
callID: string;
|
|
461
466
|
name: string;
|
|
462
467
|
namespace?: string;
|
|
463
|
-
|
|
464
|
-
content
|
|
468
|
+
partial?: {
|
|
469
|
+
content?: ({
|
|
465
470
|
type: "text";
|
|
466
471
|
text: string;
|
|
467
472
|
textSignature?: string;
|
|
@@ -471,9 +476,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
471
476
|
mimeType: string;
|
|
472
477
|
})[];
|
|
473
478
|
details?: any;
|
|
474
|
-
isError: false;
|
|
475
479
|
};
|
|
476
|
-
status: "
|
|
480
|
+
status: "running";
|
|
477
481
|
thoughtSignature?: string;
|
|
478
482
|
time: {
|
|
479
483
|
start: number;
|
|
@@ -497,9 +501,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
497
501
|
mimeType: string;
|
|
498
502
|
})[];
|
|
499
503
|
details?: any;
|
|
500
|
-
isError:
|
|
504
|
+
isError: false;
|
|
501
505
|
};
|
|
502
|
-
status: "
|
|
506
|
+
status: "completed";
|
|
503
507
|
thoughtSignature?: string;
|
|
504
508
|
time: {
|
|
505
509
|
start: number;
|
|
@@ -525,7 +529,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
525
529
|
details?: any;
|
|
526
530
|
isError: true;
|
|
527
531
|
};
|
|
528
|
-
status: "
|
|
532
|
+
status: "error";
|
|
529
533
|
thoughtSignature?: string;
|
|
530
534
|
time: {
|
|
531
535
|
start: number;
|
|
@@ -551,26 +555,21 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
551
555
|
details?: any;
|
|
552
556
|
isError: true;
|
|
553
557
|
};
|
|
554
|
-
status: "
|
|
558
|
+
status: "skipped";
|
|
555
559
|
thoughtSignature?: string;
|
|
556
560
|
time: {
|
|
557
561
|
start: number;
|
|
558
562
|
end: number;
|
|
559
563
|
};
|
|
560
564
|
type: "toolCall";
|
|
561
|
-
} | {
|
|
562
|
-
type: "thinking";
|
|
563
|
-
thinking: string;
|
|
564
|
-
thinkingSignature?: string;
|
|
565
|
-
redacted?: boolean;
|
|
566
565
|
} | {
|
|
567
566
|
addedToolNames?: string[];
|
|
568
567
|
arguments: Record<string, any>;
|
|
569
568
|
callID: string;
|
|
570
569
|
name: string;
|
|
571
570
|
namespace?: string;
|
|
572
|
-
|
|
573
|
-
content
|
|
571
|
+
result: {
|
|
572
|
+
content: ({
|
|
574
573
|
type: "text";
|
|
575
574
|
text: string;
|
|
576
575
|
textSignature?: string;
|
|
@@ -580,8 +579,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
580
579
|
mimeType: string;
|
|
581
580
|
})[];
|
|
582
581
|
details?: any;
|
|
582
|
+
isError: true;
|
|
583
583
|
};
|
|
584
|
-
status: "
|
|
584
|
+
status: "aborted";
|
|
585
585
|
thoughtSignature?: string;
|
|
586
586
|
time: {
|
|
587
587
|
start: number;
|
|
@@ -892,4 +892,4 @@ declare function durable<const Definitions extends ReadonlyArray<Definition>>(de
|
|
|
892
892
|
declare function latest(definitions: ReadonlyArray<Definition>): ReadonlyMap<string, Definition<string, Schema.Codec<unknown, unknown, never, never>>>;
|
|
893
893
|
//#endregion
|
|
894
894
|
export { ID as a, define as c, inventory as d, latest as f, Definition as i, durable as l, AikitToolCallTerminalPart as n, Payload as o, versionedType as p, Data as r, PublishOptions as s, AikitAssistantMessage as t, event_d_exports as u };
|
|
895
|
-
//# sourceMappingURL=event-
|
|
895
|
+
//# sourceMappingURL=event-9PbbjnHJ.d.mts.map
|
package/event.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ID, c as define, d as inventory, f as latest, i as Definition, l as durable, n as AikitToolCallTerminalPart, o as Payload, p as versionedType, r as Data, s as PublishOptions, t as AikitAssistantMessage, u as event_d_exports } from "./event-
|
|
1
|
+
import { a as ID, c as define, d as inventory, f as latest, i as Definition, l as durable, n as AikitToolCallTerminalPart, o as Payload, p as versionedType, r as Data, s as PublishOptions, t as AikitAssistantMessage, u as event_d_exports } from "./event-9PbbjnHJ.mjs";
|
|
2
2
|
export { AikitAssistantMessage, AikitToolCallTerminalPart, Data, Definition, event_d_exports as EventSchema, ID, Payload, PublishOptions, define, durable, inventory, latest, versionedType };
|
package/index.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codeworksh/plugin",
|
|
3
|
-
"version": "0.0.1-canary.
|
|
3
|
+
"version": "0.0.1-canary.9.1.ge6cc9a6c",
|
|
4
4
|
"description": "SDK for building CodeWork plugins — the plugin, tool, and sandbox contracts shared with @codeworksh/harness.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"uuidv7": "^1.2.1"
|
|
164
164
|
},
|
|
165
165
|
"peerDependencies": {
|
|
166
|
-
"@codeworksh/aikit": "0.9.3-canary.
|
|
166
|
+
"@codeworksh/aikit": "0.9.3-canary.9.1.ge6cc9a6c",
|
|
167
167
|
"effect": "4.0.0-rc.115"
|
|
168
168
|
}
|
|
169
169
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-
|
|
1
|
+
import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-9PbbjnHJ.mjs";
|
|
2
2
|
import { n as SessionID } from "./ids-CHjmAdTc.mjs";
|
|
3
3
|
import { r as Info, s as Service } from "./location-D4hAfuXF.mjs";
|
|
4
4
|
import { a as Provides, r as Identity, u as io_d_exports } from "./io-BYs7hbiY.mjs";
|
|
@@ -137,4 +137,4 @@ declare namespace plugin_d_exports {
|
|
|
137
137
|
}
|
|
138
138
|
//#endregion
|
|
139
139
|
export { define as a, PluginOptions as c, PluginSpec as d, Config as f, PluginRegistry as g, SharedPluginContext as h, PluginKind as i, PluginPatch as l, PromptResolver as m, Mount as n, domains as o, Events as p, Plugin as r, rank as s, plugin_d_exports as t, PluginRef as u };
|
|
140
|
-
//# sourceMappingURL=plugin-
|
|
140
|
+
//# sourceMappingURL=plugin-DHCdfzdO.d.mts.map
|
package/plugin.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { n as prompt_d_exports } from "./prompt-BcpagjGh.mjs";
|
|
2
2
|
import { p as tool_d_exports } from "./tool-BoVqkYvL.mjs";
|
|
3
|
-
import { a as define, c as PluginOptions, d as PluginSpec, f as Config, g as PluginRegistry, h as SharedPluginContext, i as PluginKind, l as PluginPatch, m as PromptResolver, n as Mount, o as domains, p as Events, r as Plugin, s as rank, u as PluginRef } from "./plugin-
|
|
3
|
+
import { a as define, c as PluginOptions, d as PluginSpec, f as Config, g as PluginRegistry, h as SharedPluginContext, i as PluginKind, l as PluginPatch, m as PromptResolver, n as Mount, o as domains, p as Events, r as Plugin, s as rank, u as PluginRef } from "./plugin-DHCdfzdO.mjs";
|
|
4
4
|
export { type Config, type Events, type Mount, type Plugin, type PluginKind, type PluginOptions, type PluginPatch, type PluginRef, type PluginRegistry, type PluginSpec, prompt_d_exports as Prompt, type PromptResolver, type SharedPluginContext, tool_d_exports as Tool, define, domains, rank };
|