@codeworksh/plugin 0.2.1-dev.20261013125114 → 0.2.1-dev.20261013125825
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.
|
@@ -149,13 +149,26 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
149
149
|
completed: number;
|
|
150
150
|
};
|
|
151
151
|
parts: ({
|
|
152
|
+
type: "text";
|
|
153
|
+
text: string;
|
|
154
|
+
textSignature?: string;
|
|
155
|
+
} | {
|
|
156
|
+
type: "image";
|
|
157
|
+
data: string;
|
|
158
|
+
mimeType: string;
|
|
159
|
+
} | {
|
|
160
|
+
type: "thinking";
|
|
161
|
+
thinking: string;
|
|
162
|
+
thinkingSignature?: string;
|
|
163
|
+
redacted?: boolean;
|
|
164
|
+
} | {
|
|
152
165
|
addedToolNames?: string[];
|
|
153
166
|
arguments: Record<string, any>;
|
|
154
167
|
callID: string;
|
|
155
168
|
name: string;
|
|
156
169
|
namespace?: string;
|
|
157
|
-
|
|
158
|
-
content
|
|
170
|
+
partial?: {
|
|
171
|
+
content?: ({
|
|
159
172
|
type: "text";
|
|
160
173
|
text: string;
|
|
161
174
|
textSignature?: string;
|
|
@@ -165,9 +178,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
165
178
|
mimeType: string;
|
|
166
179
|
})[];
|
|
167
180
|
details?: any;
|
|
168
|
-
isError: false;
|
|
169
181
|
};
|
|
170
|
-
status: "
|
|
182
|
+
status: "running";
|
|
171
183
|
thoughtSignature?: string;
|
|
172
184
|
time: {
|
|
173
185
|
start: number;
|
|
@@ -191,9 +203,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
191
203
|
mimeType: string;
|
|
192
204
|
})[];
|
|
193
205
|
details?: any;
|
|
194
|
-
isError:
|
|
206
|
+
isError: false;
|
|
195
207
|
};
|
|
196
|
-
status: "
|
|
208
|
+
status: "completed";
|
|
197
209
|
thoughtSignature?: string;
|
|
198
210
|
time: {
|
|
199
211
|
start: number;
|
|
@@ -219,7 +231,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
219
231
|
details?: any;
|
|
220
232
|
isError: true;
|
|
221
233
|
};
|
|
222
|
-
status: "
|
|
234
|
+
status: "error";
|
|
223
235
|
thoughtSignature?: string;
|
|
224
236
|
time: {
|
|
225
237
|
start: number;
|
|
@@ -245,34 +257,21 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
245
257
|
details?: any;
|
|
246
258
|
isError: true;
|
|
247
259
|
};
|
|
248
|
-
status: "
|
|
260
|
+
status: "skipped";
|
|
249
261
|
thoughtSignature?: string;
|
|
250
262
|
time: {
|
|
251
263
|
start: number;
|
|
252
264
|
end: number;
|
|
253
265
|
};
|
|
254
266
|
type: "toolCall";
|
|
255
|
-
} | {
|
|
256
|
-
type: "text";
|
|
257
|
-
text: string;
|
|
258
|
-
textSignature?: string;
|
|
259
|
-
} | {
|
|
260
|
-
type: "image";
|
|
261
|
-
data: string;
|
|
262
|
-
mimeType: string;
|
|
263
|
-
} | {
|
|
264
|
-
type: "thinking";
|
|
265
|
-
thinking: string;
|
|
266
|
-
thinkingSignature?: string;
|
|
267
|
-
redacted?: boolean;
|
|
268
267
|
} | {
|
|
269
268
|
addedToolNames?: string[];
|
|
270
269
|
arguments: Record<string, any>;
|
|
271
270
|
callID: string;
|
|
272
271
|
name: string;
|
|
273
272
|
namespace?: string;
|
|
274
|
-
|
|
275
|
-
content
|
|
273
|
+
result: {
|
|
274
|
+
content: ({
|
|
276
275
|
type: "text";
|
|
277
276
|
text: string;
|
|
278
277
|
textSignature?: string;
|
|
@@ -282,8 +281,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
282
281
|
mimeType: string;
|
|
283
282
|
})[];
|
|
284
283
|
details?: any;
|
|
284
|
+
isError: true;
|
|
285
285
|
};
|
|
286
|
-
status: "
|
|
286
|
+
status: "aborted";
|
|
287
287
|
thoughtSignature?: string;
|
|
288
288
|
time: {
|
|
289
289
|
start: number;
|
|
@@ -451,13 +451,26 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
451
451
|
completed: number;
|
|
452
452
|
};
|
|
453
453
|
parts: ({
|
|
454
|
+
type: "text";
|
|
455
|
+
text: string;
|
|
456
|
+
textSignature?: string;
|
|
457
|
+
} | {
|
|
458
|
+
type: "image";
|
|
459
|
+
data: string;
|
|
460
|
+
mimeType: string;
|
|
461
|
+
} | {
|
|
462
|
+
type: "thinking";
|
|
463
|
+
thinking: string;
|
|
464
|
+
thinkingSignature?: string;
|
|
465
|
+
redacted?: boolean;
|
|
466
|
+
} | {
|
|
454
467
|
addedToolNames?: string[];
|
|
455
468
|
arguments: Record<string, any>;
|
|
456
469
|
callID: string;
|
|
457
470
|
name: string;
|
|
458
471
|
namespace?: string;
|
|
459
|
-
|
|
460
|
-
content
|
|
472
|
+
partial?: {
|
|
473
|
+
content?: ({
|
|
461
474
|
type: "text";
|
|
462
475
|
text: string;
|
|
463
476
|
textSignature?: string;
|
|
@@ -467,9 +480,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
467
480
|
mimeType: string;
|
|
468
481
|
})[];
|
|
469
482
|
details?: any;
|
|
470
|
-
isError: false;
|
|
471
483
|
};
|
|
472
|
-
status: "
|
|
484
|
+
status: "running";
|
|
473
485
|
thoughtSignature?: string;
|
|
474
486
|
time: {
|
|
475
487
|
start: number;
|
|
@@ -493,9 +505,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
493
505
|
mimeType: string;
|
|
494
506
|
})[];
|
|
495
507
|
details?: any;
|
|
496
|
-
isError:
|
|
508
|
+
isError: false;
|
|
497
509
|
};
|
|
498
|
-
status: "
|
|
510
|
+
status: "completed";
|
|
499
511
|
thoughtSignature?: string;
|
|
500
512
|
time: {
|
|
501
513
|
start: number;
|
|
@@ -521,7 +533,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
521
533
|
details?: any;
|
|
522
534
|
isError: true;
|
|
523
535
|
};
|
|
524
|
-
status: "
|
|
536
|
+
status: "error";
|
|
525
537
|
thoughtSignature?: string;
|
|
526
538
|
time: {
|
|
527
539
|
start: number;
|
|
@@ -547,34 +559,21 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
547
559
|
details?: any;
|
|
548
560
|
isError: true;
|
|
549
561
|
};
|
|
550
|
-
status: "
|
|
562
|
+
status: "skipped";
|
|
551
563
|
thoughtSignature?: string;
|
|
552
564
|
time: {
|
|
553
565
|
start: number;
|
|
554
566
|
end: number;
|
|
555
567
|
};
|
|
556
568
|
type: "toolCall";
|
|
557
|
-
} | {
|
|
558
|
-
type: "text";
|
|
559
|
-
text: string;
|
|
560
|
-
textSignature?: string;
|
|
561
|
-
} | {
|
|
562
|
-
type: "image";
|
|
563
|
-
data: string;
|
|
564
|
-
mimeType: string;
|
|
565
|
-
} | {
|
|
566
|
-
type: "thinking";
|
|
567
|
-
thinking: string;
|
|
568
|
-
thinkingSignature?: string;
|
|
569
|
-
redacted?: boolean;
|
|
570
569
|
} | {
|
|
571
570
|
addedToolNames?: string[];
|
|
572
571
|
arguments: Record<string, any>;
|
|
573
572
|
callID: string;
|
|
574
573
|
name: string;
|
|
575
574
|
namespace?: string;
|
|
576
|
-
|
|
577
|
-
content
|
|
575
|
+
result: {
|
|
576
|
+
content: ({
|
|
578
577
|
type: "text";
|
|
579
578
|
text: string;
|
|
580
579
|
textSignature?: string;
|
|
@@ -584,8 +583,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
584
583
|
mimeType: string;
|
|
585
584
|
})[];
|
|
586
585
|
details?: any;
|
|
586
|
+
isError: true;
|
|
587
587
|
};
|
|
588
|
-
status: "
|
|
588
|
+
status: "aborted";
|
|
589
589
|
thoughtSignature?: string;
|
|
590
590
|
time: {
|
|
591
591
|
start: number;
|
|
@@ -896,4 +896,4 @@ declare function durable<const Definitions extends ReadonlyArray<Definition>>(de
|
|
|
896
896
|
declare function latest(definitions: ReadonlyArray<Definition>): ReadonlyMap<string, Definition<string, Schema.Codec<unknown, unknown, never, never>>>;
|
|
897
897
|
//#endregion
|
|
898
898
|
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 };
|
|
899
|
-
//# sourceMappingURL=event-
|
|
899
|
+
//# sourceMappingURL=event-6sTQ_4bq.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-6sTQ_4bq.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-_ajVYIY5.mjs";
|
|
3
|
-
import { t as plugin_d_exports } from "./plugin-
|
|
3
|
+
import { t as plugin_d_exports } from "./plugin-Deb2QWIP.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.2.1-dev.
|
|
3
|
+
"version": "0.2.1-dev.20261013125825",
|
|
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.11.0-dev.
|
|
171
|
+
"@codeworksh/aikit": "0.11.0-dev.20261013125825",
|
|
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-6sTQ_4bq.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 { f as io_d_exports, i as Identity, s as Provides } from "./io-nhvNKC33.mjs";
|
|
@@ -155,4 +155,4 @@ declare namespace plugin_d_exports {
|
|
|
155
155
|
}
|
|
156
156
|
//#endregion
|
|
157
157
|
export { PluginRegistry as _, define as a, PluginOptions as c, PluginSpec as d, Config as f, SharedPluginContext as g, PromptResolver as h, PluginKind as i, PluginPatch as l, Paths 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 };
|
|
158
|
-
//# sourceMappingURL=plugin-
|
|
158
|
+
//# sourceMappingURL=plugin-Deb2QWIP.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-D4_I_rzy.mjs";
|
|
4
|
-
import { _ as PluginRegistry, a as define, c as PluginOptions, d as PluginSpec, f as Config, g as SharedPluginContext, h as PromptResolver, i as PluginKind, l as PluginPatch, m as Paths, n as Mount, o as domains, p as Events, r as Plugin, s as rank, u as PluginRef } from "./plugin-
|
|
4
|
+
import { _ as PluginRegistry, a as define, c as PluginOptions, d as PluginSpec, f as Config, g as SharedPluginContext, h as PromptResolver, i as PluginKind, l as PluginPatch, m as Paths, n as Mount, o as domains, p as Events, r as Plugin, s as rank, u as PluginRef } from "./plugin-Deb2QWIP.mjs";
|
|
5
5
|
export { type Config, type Events, type Mount, type Paths, 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 };
|