@codeworksh/plugin 0.1.0-canary.16.1.gfa1c6c4c → 0.1.0-canary.17.1.g648af395
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.
|
@@ -18,6 +18,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
18
18
|
options?: Record<string, any>;
|
|
19
19
|
};
|
|
20
20
|
model: string;
|
|
21
|
+
thinkingLevel: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
22
|
+
providerThinkingLevel?: string;
|
|
21
23
|
usage: {
|
|
22
24
|
input: number;
|
|
23
25
|
output: number;
|
|
@@ -154,19 +156,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
154
156
|
type: "image";
|
|
155
157
|
data: string;
|
|
156
158
|
mimeType: string;
|
|
157
|
-
} | {
|
|
158
|
-
type: "thinking";
|
|
159
|
-
thinking: string;
|
|
160
|
-
thinkingSignature?: string;
|
|
161
|
-
redacted?: boolean;
|
|
162
159
|
} | {
|
|
163
160
|
addedToolNames?: string[];
|
|
164
161
|
arguments: Record<string, any>;
|
|
165
162
|
callID: string;
|
|
166
163
|
name: string;
|
|
167
164
|
namespace?: string;
|
|
168
|
-
|
|
169
|
-
content
|
|
165
|
+
result: {
|
|
166
|
+
content: ({
|
|
170
167
|
type: "text";
|
|
171
168
|
text: string;
|
|
172
169
|
textSignature?: string;
|
|
@@ -176,8 +173,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
176
173
|
mimeType: string;
|
|
177
174
|
})[];
|
|
178
175
|
details?: any;
|
|
176
|
+
isError: false;
|
|
179
177
|
};
|
|
180
|
-
status: "
|
|
178
|
+
status: "completed";
|
|
181
179
|
thoughtSignature?: string;
|
|
182
180
|
time: {
|
|
183
181
|
start: number;
|
|
@@ -201,9 +199,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
201
199
|
mimeType: string;
|
|
202
200
|
})[];
|
|
203
201
|
details?: any;
|
|
204
|
-
isError:
|
|
202
|
+
isError: true;
|
|
205
203
|
};
|
|
206
|
-
status: "
|
|
204
|
+
status: "error";
|
|
207
205
|
thoughtSignature?: string;
|
|
208
206
|
time: {
|
|
209
207
|
start: number;
|
|
@@ -229,7 +227,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
229
227
|
details?: any;
|
|
230
228
|
isError: true;
|
|
231
229
|
};
|
|
232
|
-
status: "
|
|
230
|
+
status: "skipped";
|
|
233
231
|
thoughtSignature?: string;
|
|
234
232
|
time: {
|
|
235
233
|
start: number;
|
|
@@ -255,21 +253,26 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
255
253
|
details?: any;
|
|
256
254
|
isError: true;
|
|
257
255
|
};
|
|
258
|
-
status: "
|
|
256
|
+
status: "aborted";
|
|
259
257
|
thoughtSignature?: string;
|
|
260
258
|
time: {
|
|
261
259
|
start: number;
|
|
262
260
|
end: number;
|
|
263
261
|
};
|
|
264
262
|
type: "toolCall";
|
|
263
|
+
} | {
|
|
264
|
+
type: "thinking";
|
|
265
|
+
thinking: string;
|
|
266
|
+
thinkingSignature?: string;
|
|
267
|
+
redacted?: boolean;
|
|
265
268
|
} | {
|
|
266
269
|
addedToolNames?: string[];
|
|
267
270
|
arguments: Record<string, any>;
|
|
268
271
|
callID: string;
|
|
269
272
|
name: string;
|
|
270
273
|
namespace?: string;
|
|
271
|
-
|
|
272
|
-
content
|
|
274
|
+
partial?: {
|
|
275
|
+
content?: ({
|
|
273
276
|
type: "text";
|
|
274
277
|
text: string;
|
|
275
278
|
textSignature?: string;
|
|
@@ -279,9 +282,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
279
282
|
mimeType: string;
|
|
280
283
|
})[];
|
|
281
284
|
details?: any;
|
|
282
|
-
isError: true;
|
|
283
285
|
};
|
|
284
|
-
status: "
|
|
286
|
+
status: "running";
|
|
285
287
|
thoughtSignature?: string;
|
|
286
288
|
time: {
|
|
287
289
|
start: number;
|
|
@@ -318,6 +320,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
318
320
|
options?: Record<string, any>;
|
|
319
321
|
};
|
|
320
322
|
model: string;
|
|
323
|
+
thinkingLevel: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh";
|
|
324
|
+
providerThinkingLevel?: string;
|
|
321
325
|
usage: {
|
|
322
326
|
input: number;
|
|
323
327
|
output: number;
|
|
@@ -454,19 +458,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
454
458
|
type: "image";
|
|
455
459
|
data: string;
|
|
456
460
|
mimeType: string;
|
|
457
|
-
} | {
|
|
458
|
-
type: "thinking";
|
|
459
|
-
thinking: string;
|
|
460
|
-
thinkingSignature?: string;
|
|
461
|
-
redacted?: boolean;
|
|
462
461
|
} | {
|
|
463
462
|
addedToolNames?: string[];
|
|
464
463
|
arguments: Record<string, any>;
|
|
465
464
|
callID: string;
|
|
466
465
|
name: string;
|
|
467
466
|
namespace?: string;
|
|
468
|
-
|
|
469
|
-
content
|
|
467
|
+
result: {
|
|
468
|
+
content: ({
|
|
470
469
|
type: "text";
|
|
471
470
|
text: string;
|
|
472
471
|
textSignature?: string;
|
|
@@ -476,8 +475,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
476
475
|
mimeType: string;
|
|
477
476
|
})[];
|
|
478
477
|
details?: any;
|
|
478
|
+
isError: false;
|
|
479
479
|
};
|
|
480
|
-
status: "
|
|
480
|
+
status: "completed";
|
|
481
481
|
thoughtSignature?: string;
|
|
482
482
|
time: {
|
|
483
483
|
start: number;
|
|
@@ -501,9 +501,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
501
501
|
mimeType: string;
|
|
502
502
|
})[];
|
|
503
503
|
details?: any;
|
|
504
|
-
isError:
|
|
504
|
+
isError: true;
|
|
505
505
|
};
|
|
506
|
-
status: "
|
|
506
|
+
status: "error";
|
|
507
507
|
thoughtSignature?: string;
|
|
508
508
|
time: {
|
|
509
509
|
start: number;
|
|
@@ -529,7 +529,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
529
529
|
details?: any;
|
|
530
530
|
isError: true;
|
|
531
531
|
};
|
|
532
|
-
status: "
|
|
532
|
+
status: "skipped";
|
|
533
533
|
thoughtSignature?: string;
|
|
534
534
|
time: {
|
|
535
535
|
start: number;
|
|
@@ -555,21 +555,26 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
555
555
|
details?: any;
|
|
556
556
|
isError: true;
|
|
557
557
|
};
|
|
558
|
-
status: "
|
|
558
|
+
status: "aborted";
|
|
559
559
|
thoughtSignature?: string;
|
|
560
560
|
time: {
|
|
561
561
|
start: number;
|
|
562
562
|
end: number;
|
|
563
563
|
};
|
|
564
564
|
type: "toolCall";
|
|
565
|
+
} | {
|
|
566
|
+
type: "thinking";
|
|
567
|
+
thinking: string;
|
|
568
|
+
thinkingSignature?: string;
|
|
569
|
+
redacted?: boolean;
|
|
565
570
|
} | {
|
|
566
571
|
addedToolNames?: string[];
|
|
567
572
|
arguments: Record<string, any>;
|
|
568
573
|
callID: string;
|
|
569
574
|
name: string;
|
|
570
575
|
namespace?: string;
|
|
571
|
-
|
|
572
|
-
content
|
|
576
|
+
partial?: {
|
|
577
|
+
content?: ({
|
|
573
578
|
type: "text";
|
|
574
579
|
text: string;
|
|
575
580
|
textSignature?: string;
|
|
@@ -579,9 +584,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
579
584
|
mimeType: string;
|
|
580
585
|
})[];
|
|
581
586
|
details?: any;
|
|
582
|
-
isError: true;
|
|
583
587
|
};
|
|
584
|
-
status: "
|
|
588
|
+
status: "running";
|
|
585
589
|
thoughtSignature?: string;
|
|
586
590
|
time: {
|
|
587
591
|
start: number;
|
|
@@ -892,4 +896,4 @@ declare function durable<const Definitions extends ReadonlyArray<Definition>>(de
|
|
|
892
896
|
declare function latest(definitions: ReadonlyArray<Definition>): ReadonlyMap<string, Definition<string, Schema.Codec<unknown, unknown, never, never>>>;
|
|
893
897
|
//#endregion
|
|
894
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 };
|
|
895
|
-
//# 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-DBrMUV15.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.17.1.g648af395",
|
|
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.17.1.g648af395",
|
|
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 { 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-DBrMUV15.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-DBrMUV15.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 };
|