@codeworksh/plugin 0.0.1-canary.7.1.g63f07f17 → 0.0.1-canary.8.1.g9f95c5cc

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.
@@ -154,19 +154,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
154
154
  type: "image";
155
155
  data: string;
156
156
  mimeType: string;
157
- } | {
158
- type: "thinking";
159
- thinking: string;
160
- thinkingSignature?: string;
161
- redacted?: boolean;
162
157
  } | {
163
158
  addedToolNames?: string[];
164
159
  arguments: Record<string, any>;
165
160
  callID: string;
166
161
  name: string;
167
162
  namespace?: string;
168
- partial?: {
169
- content?: ({
163
+ result: {
164
+ content: ({
170
165
  type: "text";
171
166
  text: string;
172
167
  textSignature?: string;
@@ -176,8 +171,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
176
171
  mimeType: string;
177
172
  })[];
178
173
  details?: any;
174
+ isError: false;
179
175
  };
180
- status: "running";
176
+ status: "completed";
181
177
  thoughtSignature?: string;
182
178
  time: {
183
179
  start: number;
@@ -201,9 +197,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
201
197
  mimeType: string;
202
198
  })[];
203
199
  details?: any;
204
- isError: false;
200
+ isError: true;
205
201
  };
206
- status: "completed";
202
+ status: "error";
207
203
  thoughtSignature?: string;
208
204
  time: {
209
205
  start: number;
@@ -229,7 +225,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
229
225
  details?: any;
230
226
  isError: true;
231
227
  };
232
- status: "error";
228
+ status: "skipped";
233
229
  thoughtSignature?: string;
234
230
  time: {
235
231
  start: number;
@@ -255,21 +251,26 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
255
251
  details?: any;
256
252
  isError: true;
257
253
  };
258
- status: "skipped";
254
+ status: "aborted";
259
255
  thoughtSignature?: string;
260
256
  time: {
261
257
  start: number;
262
258
  end: number;
263
259
  };
264
260
  type: "toolCall";
261
+ } | {
262
+ type: "thinking";
263
+ thinking: string;
264
+ thinkingSignature?: string;
265
+ redacted?: boolean;
265
266
  } | {
266
267
  addedToolNames?: string[];
267
268
  arguments: Record<string, any>;
268
269
  callID: string;
269
270
  name: string;
270
271
  namespace?: string;
271
- result: {
272
- content: ({
272
+ partial?: {
273
+ content?: ({
273
274
  type: "text";
274
275
  text: string;
275
276
  textSignature?: string;
@@ -279,9 +280,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
279
280
  mimeType: string;
280
281
  })[];
281
282
  details?: any;
282
- isError: true;
283
283
  };
284
- status: "aborted";
284
+ status: "running";
285
285
  thoughtSignature?: string;
286
286
  time: {
287
287
  start: number;
@@ -454,19 +454,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
454
454
  type: "image";
455
455
  data: string;
456
456
  mimeType: string;
457
- } | {
458
- type: "thinking";
459
- thinking: string;
460
- thinkingSignature?: string;
461
- redacted?: boolean;
462
457
  } | {
463
458
  addedToolNames?: string[];
464
459
  arguments: Record<string, any>;
465
460
  callID: string;
466
461
  name: string;
467
462
  namespace?: string;
468
- partial?: {
469
- content?: ({
463
+ result: {
464
+ content: ({
470
465
  type: "text";
471
466
  text: string;
472
467
  textSignature?: string;
@@ -476,8 +471,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
476
471
  mimeType: string;
477
472
  })[];
478
473
  details?: any;
474
+ isError: false;
479
475
  };
480
- status: "running";
476
+ status: "completed";
481
477
  thoughtSignature?: string;
482
478
  time: {
483
479
  start: number;
@@ -501,9 +497,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
501
497
  mimeType: string;
502
498
  })[];
503
499
  details?: any;
504
- isError: false;
500
+ isError: true;
505
501
  };
506
- status: "completed";
502
+ status: "error";
507
503
  thoughtSignature?: string;
508
504
  time: {
509
505
  start: number;
@@ -529,7 +525,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
529
525
  details?: any;
530
526
  isError: true;
531
527
  };
532
- status: "error";
528
+ status: "skipped";
533
529
  thoughtSignature?: string;
534
530
  time: {
535
531
  start: number;
@@ -555,21 +551,26 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
555
551
  details?: any;
556
552
  isError: true;
557
553
  };
558
- status: "skipped";
554
+ status: "aborted";
559
555
  thoughtSignature?: string;
560
556
  time: {
561
557
  start: number;
562
558
  end: number;
563
559
  };
564
560
  type: "toolCall";
561
+ } | {
562
+ type: "thinking";
563
+ thinking: string;
564
+ thinkingSignature?: string;
565
+ redacted?: boolean;
565
566
  } | {
566
567
  addedToolNames?: string[];
567
568
  arguments: Record<string, any>;
568
569
  callID: string;
569
570
  name: string;
570
571
  namespace?: string;
571
- result: {
572
- content: ({
572
+ partial?: {
573
+ content?: ({
573
574
  type: "text";
574
575
  text: string;
575
576
  textSignature?: string;
@@ -579,9 +580,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
579
580
  mimeType: string;
580
581
  })[];
581
582
  details?: any;
582
- isError: true;
583
583
  };
584
- status: "aborted";
584
+ status: "running";
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-9PbbjnHJ.d.mts.map
895
+ //# sourceMappingURL=event-BixB94Zu.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-9PbbjnHJ.mjs";
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-BixB94Zu.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,3 +1,3 @@
1
1
  import { g as tool_d_exports } from "./tool-DuYBgiJf.mjs";
2
- import { t as plugin_d_exports } from "./plugin-DHCdfzdO.mjs";
2
+ import { t as plugin_d_exports } from "./plugin-C5AH_5Ei.mjs";
3
3
  export { plugin_d_exports as Plugin, tool_d_exports as Tool };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeworksh/plugin",
3
- "version": "0.0.1-canary.7.1.g63f07f17",
3
+ "version": "0.0.1-canary.8.1.g9f95c5cc",
4
4
  "description": "SDK for building CodeWork plugins — the plugin, tool, and sandbox contracts shared with @codeworksh/harness.",
5
5
  "keywords": [
6
6
  "agent",
@@ -163,7 +163,7 @@
163
163
  "uuidv7": "^1.2.1"
164
164
  },
165
165
  "peerDependencies": {
166
- "@codeworksh/aikit": "0.9.3-canary.7.1.g63f07f17",
166
+ "@codeworksh/aikit": "0.9.3-canary.8.1.g9f95c5cc",
167
167
  "effect": "4.0.0-rc.115"
168
168
  }
169
169
  }
@@ -1,4 +1,4 @@
1
- import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-9PbbjnHJ.mjs";
1
+ import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-BixB94Zu.mjs";
2
2
  import { n as SessionID } from "./ids-CHjmAdTc.mjs";
3
3
  import { r as Info, s as Service } from "./location-D4hAfuXF.mjs";
4
4
  import { a as Provides, r as Identity, u as io_d_exports } from "./io-BYs7hbiY.mjs";
@@ -137,4 +137,4 @@ declare namespace plugin_d_exports {
137
137
  }
138
138
  //#endregion
139
139
  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 };
140
- //# sourceMappingURL=plugin-DHCdfzdO.d.mts.map
140
+ //# sourceMappingURL=plugin-C5AH_5Ei.d.mts.map
package/plugin.d.mts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { n as prompt_d_exports } from "./prompt-BcpagjGh.mjs";
2
2
  import { p as tool_d_exports } from "./tool-BoVqkYvL.mjs";
3
- 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-DHCdfzdO.mjs";
3
+ 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-C5AH_5Ei.mjs";
4
4
  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, type SharedPluginContext, tool_d_exports as Tool, define, domains, rank };