@codeworksh/plugin 0.0.1-dev.20260922105750 → 0.0.1-dev.20260922135956

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.
@@ -147,26 +147,13 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
147
147
  completed: number;
148
148
  };
149
149
  parts: ({
150
- type: "text";
151
- text: string;
152
- textSignature?: string;
153
- } | {
154
- type: "image";
155
- data: string;
156
- mimeType: string;
157
- } | {
158
- type: "thinking";
159
- thinking: string;
160
- thinkingSignature?: string;
161
- redacted?: boolean;
162
- } | {
163
150
  addedToolNames?: string[];
164
151
  arguments: Record<string, any>;
165
152
  callID: string;
166
153
  name: string;
167
154
  namespace?: string;
168
- partial?: {
169
- content?: ({
155
+ result: {
156
+ content: ({
170
157
  type: "text";
171
158
  text: string;
172
159
  textSignature?: string;
@@ -176,8 +163,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
176
163
  mimeType: string;
177
164
  })[];
178
165
  details?: any;
166
+ isError: false;
179
167
  };
180
- status: "running";
168
+ status: "completed";
181
169
  thoughtSignature?: string;
182
170
  time: {
183
171
  start: number;
@@ -201,9 +189,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
201
189
  mimeType: string;
202
190
  })[];
203
191
  details?: any;
204
- isError: false;
192
+ isError: true;
205
193
  };
206
- status: "completed";
194
+ status: "error";
207
195
  thoughtSignature?: string;
208
196
  time: {
209
197
  start: number;
@@ -229,7 +217,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
229
217
  details?: any;
230
218
  isError: true;
231
219
  };
232
- status: "error";
220
+ status: "skipped";
233
221
  thoughtSignature?: string;
234
222
  time: {
235
223
  start: number;
@@ -255,21 +243,34 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
255
243
  details?: any;
256
244
  isError: true;
257
245
  };
258
- status: "skipped";
246
+ status: "aborted";
259
247
  thoughtSignature?: string;
260
248
  time: {
261
249
  start: number;
262
250
  end: number;
263
251
  };
264
252
  type: "toolCall";
253
+ } | {
254
+ type: "text";
255
+ text: string;
256
+ textSignature?: string;
257
+ } | {
258
+ type: "image";
259
+ data: string;
260
+ mimeType: string;
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;
@@ -447,26 +447,13 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
447
447
  completed: number;
448
448
  };
449
449
  parts: ({
450
- type: "text";
451
- text: string;
452
- textSignature?: string;
453
- } | {
454
- type: "image";
455
- data: string;
456
- mimeType: string;
457
- } | {
458
- type: "thinking";
459
- thinking: string;
460
- thinkingSignature?: string;
461
- redacted?: boolean;
462
- } | {
463
450
  addedToolNames?: string[];
464
451
  arguments: Record<string, any>;
465
452
  callID: string;
466
453
  name: string;
467
454
  namespace?: string;
468
- partial?: {
469
- content?: ({
455
+ result: {
456
+ content: ({
470
457
  type: "text";
471
458
  text: string;
472
459
  textSignature?: string;
@@ -476,8 +463,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
476
463
  mimeType: string;
477
464
  })[];
478
465
  details?: any;
466
+ isError: false;
479
467
  };
480
- status: "running";
468
+ status: "completed";
481
469
  thoughtSignature?: string;
482
470
  time: {
483
471
  start: number;
@@ -501,9 +489,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
501
489
  mimeType: string;
502
490
  })[];
503
491
  details?: any;
504
- isError: false;
492
+ isError: true;
505
493
  };
506
- status: "completed";
494
+ status: "error";
507
495
  thoughtSignature?: string;
508
496
  time: {
509
497
  start: number;
@@ -529,7 +517,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
529
517
  details?: any;
530
518
  isError: true;
531
519
  };
532
- status: "error";
520
+ status: "skipped";
533
521
  thoughtSignature?: string;
534
522
  time: {
535
523
  start: number;
@@ -555,21 +543,34 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
555
543
  details?: any;
556
544
  isError: true;
557
545
  };
558
- status: "skipped";
546
+ status: "aborted";
559
547
  thoughtSignature?: string;
560
548
  time: {
561
549
  start: number;
562
550
  end: number;
563
551
  };
564
552
  type: "toolCall";
553
+ } | {
554
+ type: "text";
555
+ text: string;
556
+ textSignature?: string;
557
+ } | {
558
+ type: "image";
559
+ data: string;
560
+ mimeType: string;
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-rIZpnOTo.d.mts.map
895
+ //# sourceMappingURL=event-D3SNh03N.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-rIZpnOTo.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-D3SNh03N.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-DbJEpY3M.mjs";
2
+ import { t as plugin_d_exports } from "./plugin-CxD9ZR7B.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-dev.20260922105750",
3
+ "version": "0.0.1-dev.20260922135956",
4
4
  "description": "SDK for building CodeWork plugins — the plugin, tool, and sandbox contracts shared with @codeworksh/harness.",
5
5
  "keywords": [
6
6
  "agent",
@@ -1,4 +1,4 @@
1
- import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-rIZpnOTo.mjs";
1
+ import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-D3SNh03N.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-DbJEpY3M.d.mts.map
140
+ //# sourceMappingURL=plugin-CxD9ZR7B.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-DbJEpY3M.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-CxD9ZR7B.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 };