@codeworksh/plugin 0.1.0-canary.15.1.g86693cf5 → 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;
|
|
@@ -147,6 +149,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
147
149
|
completed: number;
|
|
148
150
|
};
|
|
149
151
|
parts: ({
|
|
152
|
+
type: "text";
|
|
153
|
+
text: string;
|
|
154
|
+
textSignature?: string;
|
|
155
|
+
} | {
|
|
156
|
+
type: "image";
|
|
157
|
+
data: string;
|
|
158
|
+
mimeType: string;
|
|
159
|
+
} | {
|
|
150
160
|
addedToolNames?: string[];
|
|
151
161
|
arguments: Record<string, any>;
|
|
152
162
|
callID: string;
|
|
@@ -250,14 +260,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
250
260
|
end: number;
|
|
251
261
|
};
|
|
252
262
|
type: "toolCall";
|
|
253
|
-
} | {
|
|
254
|
-
type: "text";
|
|
255
|
-
text: string;
|
|
256
|
-
textSignature?: string;
|
|
257
|
-
} | {
|
|
258
|
-
type: "image";
|
|
259
|
-
data: string;
|
|
260
|
-
mimeType: string;
|
|
261
263
|
} | {
|
|
262
264
|
type: "thinking";
|
|
263
265
|
thinking: string;
|
|
@@ -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;
|
|
@@ -447,6 +451,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
447
451
|
completed: number;
|
|
448
452
|
};
|
|
449
453
|
parts: ({
|
|
454
|
+
type: "text";
|
|
455
|
+
text: string;
|
|
456
|
+
textSignature?: string;
|
|
457
|
+
} | {
|
|
458
|
+
type: "image";
|
|
459
|
+
data: string;
|
|
460
|
+
mimeType: string;
|
|
461
|
+
} | {
|
|
450
462
|
addedToolNames?: string[];
|
|
451
463
|
arguments: Record<string, any>;
|
|
452
464
|
callID: string;
|
|
@@ -550,14 +562,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
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
565
|
} | {
|
|
562
566
|
type: "thinking";
|
|
563
567
|
thinking: string;
|
|
@@ -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 };
|