@codeworksh/plugin 0.1.0-canary.18.1.g00a873ad → 0.1.0-canary.19.1.gbef2d437
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.
|
@@ -156,19 +156,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
156
156
|
type: "image";
|
|
157
157
|
data: string;
|
|
158
158
|
mimeType: string;
|
|
159
|
-
} | {
|
|
160
|
-
type: "thinking";
|
|
161
|
-
thinking: string;
|
|
162
|
-
thinkingSignature?: string;
|
|
163
|
-
redacted?: boolean;
|
|
164
159
|
} | {
|
|
165
160
|
addedToolNames?: string[];
|
|
166
161
|
arguments: Record<string, any>;
|
|
167
162
|
callID: string;
|
|
168
163
|
name: string;
|
|
169
164
|
namespace?: string;
|
|
170
|
-
|
|
171
|
-
content
|
|
165
|
+
result: {
|
|
166
|
+
content: ({
|
|
172
167
|
type: "text";
|
|
173
168
|
text: string;
|
|
174
169
|
textSignature?: string;
|
|
@@ -178,8 +173,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
178
173
|
mimeType: string;
|
|
179
174
|
})[];
|
|
180
175
|
details?: any;
|
|
176
|
+
isError: false;
|
|
181
177
|
};
|
|
182
|
-
status: "
|
|
178
|
+
status: "completed";
|
|
183
179
|
thoughtSignature?: string;
|
|
184
180
|
time: {
|
|
185
181
|
start: number;
|
|
@@ -203,9 +199,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
203
199
|
mimeType: string;
|
|
204
200
|
})[];
|
|
205
201
|
details?: any;
|
|
206
|
-
isError:
|
|
202
|
+
isError: true;
|
|
207
203
|
};
|
|
208
|
-
status: "
|
|
204
|
+
status: "error";
|
|
209
205
|
thoughtSignature?: string;
|
|
210
206
|
time: {
|
|
211
207
|
start: number;
|
|
@@ -231,7 +227,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
231
227
|
details?: any;
|
|
232
228
|
isError: true;
|
|
233
229
|
};
|
|
234
|
-
status: "
|
|
230
|
+
status: "skipped";
|
|
235
231
|
thoughtSignature?: string;
|
|
236
232
|
time: {
|
|
237
233
|
start: number;
|
|
@@ -257,21 +253,26 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
257
253
|
details?: any;
|
|
258
254
|
isError: true;
|
|
259
255
|
};
|
|
260
|
-
status: "
|
|
256
|
+
status: "aborted";
|
|
261
257
|
thoughtSignature?: string;
|
|
262
258
|
time: {
|
|
263
259
|
start: number;
|
|
264
260
|
end: number;
|
|
265
261
|
};
|
|
266
262
|
type: "toolCall";
|
|
263
|
+
} | {
|
|
264
|
+
type: "thinking";
|
|
265
|
+
thinking: string;
|
|
266
|
+
thinkingSignature?: string;
|
|
267
|
+
redacted?: boolean;
|
|
267
268
|
} | {
|
|
268
269
|
addedToolNames?: string[];
|
|
269
270
|
arguments: Record<string, any>;
|
|
270
271
|
callID: string;
|
|
271
272
|
name: string;
|
|
272
273
|
namespace?: string;
|
|
273
|
-
|
|
274
|
-
content
|
|
274
|
+
partial?: {
|
|
275
|
+
content?: ({
|
|
275
276
|
type: "text";
|
|
276
277
|
text: string;
|
|
277
278
|
textSignature?: string;
|
|
@@ -281,9 +282,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
281
282
|
mimeType: string;
|
|
282
283
|
})[];
|
|
283
284
|
details?: any;
|
|
284
|
-
isError: true;
|
|
285
285
|
};
|
|
286
|
-
status: "
|
|
286
|
+
status: "running";
|
|
287
287
|
thoughtSignature?: string;
|
|
288
288
|
time: {
|
|
289
289
|
start: number;
|
|
@@ -458,19 +458,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
458
458
|
type: "image";
|
|
459
459
|
data: string;
|
|
460
460
|
mimeType: string;
|
|
461
|
-
} | {
|
|
462
|
-
type: "thinking";
|
|
463
|
-
thinking: string;
|
|
464
|
-
thinkingSignature?: string;
|
|
465
|
-
redacted?: boolean;
|
|
466
461
|
} | {
|
|
467
462
|
addedToolNames?: string[];
|
|
468
463
|
arguments: Record<string, any>;
|
|
469
464
|
callID: string;
|
|
470
465
|
name: string;
|
|
471
466
|
namespace?: string;
|
|
472
|
-
|
|
473
|
-
content
|
|
467
|
+
result: {
|
|
468
|
+
content: ({
|
|
474
469
|
type: "text";
|
|
475
470
|
text: string;
|
|
476
471
|
textSignature?: string;
|
|
@@ -480,8 +475,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
480
475
|
mimeType: string;
|
|
481
476
|
})[];
|
|
482
477
|
details?: any;
|
|
478
|
+
isError: false;
|
|
483
479
|
};
|
|
484
|
-
status: "
|
|
480
|
+
status: "completed";
|
|
485
481
|
thoughtSignature?: string;
|
|
486
482
|
time: {
|
|
487
483
|
start: number;
|
|
@@ -505,9 +501,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
505
501
|
mimeType: string;
|
|
506
502
|
})[];
|
|
507
503
|
details?: any;
|
|
508
|
-
isError:
|
|
504
|
+
isError: true;
|
|
509
505
|
};
|
|
510
|
-
status: "
|
|
506
|
+
status: "error";
|
|
511
507
|
thoughtSignature?: string;
|
|
512
508
|
time: {
|
|
513
509
|
start: number;
|
|
@@ -533,7 +529,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
533
529
|
details?: any;
|
|
534
530
|
isError: true;
|
|
535
531
|
};
|
|
536
|
-
status: "
|
|
532
|
+
status: "skipped";
|
|
537
533
|
thoughtSignature?: string;
|
|
538
534
|
time: {
|
|
539
535
|
start: number;
|
|
@@ -559,21 +555,26 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
559
555
|
details?: any;
|
|
560
556
|
isError: true;
|
|
561
557
|
};
|
|
562
|
-
status: "
|
|
558
|
+
status: "aborted";
|
|
563
559
|
thoughtSignature?: string;
|
|
564
560
|
time: {
|
|
565
561
|
start: number;
|
|
566
562
|
end: number;
|
|
567
563
|
};
|
|
568
564
|
type: "toolCall";
|
|
565
|
+
} | {
|
|
566
|
+
type: "thinking";
|
|
567
|
+
thinking: string;
|
|
568
|
+
thinkingSignature?: string;
|
|
569
|
+
redacted?: boolean;
|
|
569
570
|
} | {
|
|
570
571
|
addedToolNames?: string[];
|
|
571
572
|
arguments: Record<string, any>;
|
|
572
573
|
callID: string;
|
|
573
574
|
name: string;
|
|
574
575
|
namespace?: string;
|
|
575
|
-
|
|
576
|
-
content
|
|
576
|
+
partial?: {
|
|
577
|
+
content?: ({
|
|
577
578
|
type: "text";
|
|
578
579
|
text: string;
|
|
579
580
|
textSignature?: string;
|
|
@@ -583,9 +584,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
583
584
|
mimeType: string;
|
|
584
585
|
})[];
|
|
585
586
|
details?: any;
|
|
586
|
-
isError: true;
|
|
587
587
|
};
|
|
588
|
-
status: "
|
|
588
|
+
status: "running";
|
|
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-mKxToqmh.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-mKxToqmh.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-C8EauawX.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.19.1.gbef2d437",
|
|
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.19.1.gbef2d437",
|
|
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-mKxToqmh.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 { d as io_d_exports, o as Provides, r as Identity } from "./io-DhT4Y0Lw.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-C8EauawX.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-C8EauawX.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 };
|