@codeworksh/plugin 0.1.0-canary.15.1.g86693cf5 → 0.1.0-canary.16.1.gfa1c6c4c
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.
|
@@ -147,13 +147,26 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
147
147
|
completed: number;
|
|
148
148
|
};
|
|
149
149
|
parts: ({
|
|
150
|
+
type: "text";
|
|
151
|
+
text: string;
|
|
152
|
+
textSignature?: string;
|
|
153
|
+
} | {
|
|
154
|
+
type: "image";
|
|
155
|
+
data: string;
|
|
156
|
+
mimeType: string;
|
|
157
|
+
} | {
|
|
158
|
+
type: "thinking";
|
|
159
|
+
thinking: string;
|
|
160
|
+
thinkingSignature?: string;
|
|
161
|
+
redacted?: boolean;
|
|
162
|
+
} | {
|
|
150
163
|
addedToolNames?: string[];
|
|
151
164
|
arguments: Record<string, any>;
|
|
152
165
|
callID: string;
|
|
153
166
|
name: string;
|
|
154
167
|
namespace?: string;
|
|
155
|
-
|
|
156
|
-
content
|
|
168
|
+
partial?: {
|
|
169
|
+
content?: ({
|
|
157
170
|
type: "text";
|
|
158
171
|
text: string;
|
|
159
172
|
textSignature?: string;
|
|
@@ -163,9 +176,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
163
176
|
mimeType: string;
|
|
164
177
|
})[];
|
|
165
178
|
details?: any;
|
|
166
|
-
isError: false;
|
|
167
179
|
};
|
|
168
|
-
status: "
|
|
180
|
+
status: "running";
|
|
169
181
|
thoughtSignature?: string;
|
|
170
182
|
time: {
|
|
171
183
|
start: number;
|
|
@@ -189,9 +201,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
189
201
|
mimeType: string;
|
|
190
202
|
})[];
|
|
191
203
|
details?: any;
|
|
192
|
-
isError:
|
|
204
|
+
isError: false;
|
|
193
205
|
};
|
|
194
|
-
status: "
|
|
206
|
+
status: "completed";
|
|
195
207
|
thoughtSignature?: string;
|
|
196
208
|
time: {
|
|
197
209
|
start: number;
|
|
@@ -217,7 +229,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
217
229
|
details?: any;
|
|
218
230
|
isError: true;
|
|
219
231
|
};
|
|
220
|
-
status: "
|
|
232
|
+
status: "error";
|
|
221
233
|
thoughtSignature?: string;
|
|
222
234
|
time: {
|
|
223
235
|
start: number;
|
|
@@ -243,34 +255,21 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
243
255
|
details?: any;
|
|
244
256
|
isError: true;
|
|
245
257
|
};
|
|
246
|
-
status: "
|
|
258
|
+
status: "skipped";
|
|
247
259
|
thoughtSignature?: string;
|
|
248
260
|
time: {
|
|
249
261
|
start: number;
|
|
250
262
|
end: number;
|
|
251
263
|
};
|
|
252
264
|
type: "toolCall";
|
|
253
|
-
} | {
|
|
254
|
-
type: "text";
|
|
255
|
-
text: string;
|
|
256
|
-
textSignature?: string;
|
|
257
|
-
} | {
|
|
258
|
-
type: "image";
|
|
259
|
-
data: string;
|
|
260
|
-
mimeType: string;
|
|
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;
|
|
@@ -447,13 +447,26 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
447
447
|
completed: number;
|
|
448
448
|
};
|
|
449
449
|
parts: ({
|
|
450
|
+
type: "text";
|
|
451
|
+
text: string;
|
|
452
|
+
textSignature?: string;
|
|
453
|
+
} | {
|
|
454
|
+
type: "image";
|
|
455
|
+
data: string;
|
|
456
|
+
mimeType: string;
|
|
457
|
+
} | {
|
|
458
|
+
type: "thinking";
|
|
459
|
+
thinking: string;
|
|
460
|
+
thinkingSignature?: string;
|
|
461
|
+
redacted?: boolean;
|
|
462
|
+
} | {
|
|
450
463
|
addedToolNames?: string[];
|
|
451
464
|
arguments: Record<string, any>;
|
|
452
465
|
callID: string;
|
|
453
466
|
name: string;
|
|
454
467
|
namespace?: string;
|
|
455
|
-
|
|
456
|
-
content
|
|
468
|
+
partial?: {
|
|
469
|
+
content?: ({
|
|
457
470
|
type: "text";
|
|
458
471
|
text: string;
|
|
459
472
|
textSignature?: string;
|
|
@@ -463,9 +476,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
463
476
|
mimeType: string;
|
|
464
477
|
})[];
|
|
465
478
|
details?: any;
|
|
466
|
-
isError: false;
|
|
467
479
|
};
|
|
468
|
-
status: "
|
|
480
|
+
status: "running";
|
|
469
481
|
thoughtSignature?: string;
|
|
470
482
|
time: {
|
|
471
483
|
start: number;
|
|
@@ -489,9 +501,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
489
501
|
mimeType: string;
|
|
490
502
|
})[];
|
|
491
503
|
details?: any;
|
|
492
|
-
isError:
|
|
504
|
+
isError: false;
|
|
493
505
|
};
|
|
494
|
-
status: "
|
|
506
|
+
status: "completed";
|
|
495
507
|
thoughtSignature?: string;
|
|
496
508
|
time: {
|
|
497
509
|
start: number;
|
|
@@ -517,7 +529,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
517
529
|
details?: any;
|
|
518
530
|
isError: true;
|
|
519
531
|
};
|
|
520
|
-
status: "
|
|
532
|
+
status: "error";
|
|
521
533
|
thoughtSignature?: string;
|
|
522
534
|
time: {
|
|
523
535
|
start: number;
|
|
@@ -543,34 +555,21 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
543
555
|
details?: any;
|
|
544
556
|
isError: true;
|
|
545
557
|
};
|
|
546
|
-
status: "
|
|
558
|
+
status: "skipped";
|
|
547
559
|
thoughtSignature?: string;
|
|
548
560
|
time: {
|
|
549
561
|
start: number;
|
|
550
562
|
end: number;
|
|
551
563
|
};
|
|
552
564
|
type: "toolCall";
|
|
553
|
-
} | {
|
|
554
|
-
type: "text";
|
|
555
|
-
text: string;
|
|
556
|
-
textSignature?: string;
|
|
557
|
-
} | {
|
|
558
|
-
type: "image";
|
|
559
|
-
data: string;
|
|
560
|
-
mimeType: string;
|
|
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
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as section_d_exports } from "./plugin/section.mjs";
|
|
2
2
|
import { g as tool_d_exports } from "./tool-DuYBgiJf.mjs";
|
|
3
|
-
import { t as plugin_d_exports } from "./plugin-
|
|
3
|
+
import { t as plugin_d_exports } from "./plugin-CaG6IlD-.mjs";
|
|
4
4
|
export { plugin_d_exports as Plugin, section_d_exports as Section, tool_d_exports as Tool };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codeworksh/plugin",
|
|
3
|
-
"version": "0.1.0-canary.
|
|
3
|
+
"version": "0.1.0-canary.16.1.gfa1c6c4c",
|
|
4
4
|
"description": "SDK for building CodeWork plugins — the plugin, tool, and sandbox contracts shared with @codeworksh/harness.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"uuidv7": "^1.2.1"
|
|
169
169
|
},
|
|
170
170
|
"peerDependencies": {
|
|
171
|
-
"@codeworksh/aikit": "0.10.0-canary.
|
|
171
|
+
"@codeworksh/aikit": "0.10.0-canary.16.1.gfa1c6c4c",
|
|
172
172
|
"effect": "4.0.1"
|
|
173
173
|
}
|
|
174
174
|
}
|
|
@@ -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 { o as Service, r as Info } from "./location-Q39els63.mjs";
|
|
4
4
|
import { a as Provides, r as Identity, u as io_d_exports } from "./io-BYs7hbiY.mjs";
|
|
@@ -138,4 +138,4 @@ declare namespace plugin_d_exports {
|
|
|
138
138
|
}
|
|
139
139
|
//#endregion
|
|
140
140
|
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 };
|
|
141
|
-
//# sourceMappingURL=plugin-
|
|
141
|
+
//# sourceMappingURL=plugin-CaG6IlD-.d.mts.map
|
package/plugin.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as section_d_exports } from "./plugin/section.mjs";
|
|
2
2
|
import { n as prompt_d_exports } from "./prompt-DWaA5ZXj.mjs";
|
|
3
3
|
import { p as tool_d_exports } from "./tool-BoVqkYvL.mjs";
|
|
4
|
-
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-
|
|
4
|
+
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-CaG6IlD-.mjs";
|
|
5
5
|
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, section_d_exports as Section, type SharedPluginContext, tool_d_exports as Tool, define, domains, rank };
|