@codeworksh/plugin 0.2.1-canary.16.1.ge2881857 → 0.2.1-canary.18.1.gc4473ccb

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,14 +156,19 @@ 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;
159
164
  } | {
160
165
  addedToolNames?: string[];
161
166
  arguments: Record<string, any>;
162
167
  callID: string;
163
168
  name: string;
164
169
  namespace?: string;
165
- result: {
166
- content: ({
170
+ partial?: {
171
+ content?: ({
167
172
  type: "text";
168
173
  text: string;
169
174
  textSignature?: string;
@@ -173,9 +178,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
173
178
  mimeType: string;
174
179
  })[];
175
180
  details?: any;
176
- isError: false;
177
181
  };
178
- status: "completed";
182
+ status: "running";
179
183
  thoughtSignature?: string;
180
184
  time: {
181
185
  start: number;
@@ -199,9 +203,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
199
203
  mimeType: string;
200
204
  })[];
201
205
  details?: any;
202
- isError: true;
206
+ isError: false;
203
207
  };
204
- status: "error";
208
+ status: "completed";
205
209
  thoughtSignature?: string;
206
210
  time: {
207
211
  start: number;
@@ -227,7 +231,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
227
231
  details?: any;
228
232
  isError: true;
229
233
  };
230
- status: "skipped";
234
+ status: "error";
231
235
  thoughtSignature?: string;
232
236
  time: {
233
237
  start: number;
@@ -253,26 +257,21 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
253
257
  details?: any;
254
258
  isError: true;
255
259
  };
256
- status: "aborted";
260
+ status: "skipped";
257
261
  thoughtSignature?: string;
258
262
  time: {
259
263
  start: number;
260
264
  end: number;
261
265
  };
262
266
  type: "toolCall";
263
- } | {
264
- type: "thinking";
265
- thinking: string;
266
- thinkingSignature?: string;
267
- redacted?: boolean;
268
267
  } | {
269
268
  addedToolNames?: string[];
270
269
  arguments: Record<string, any>;
271
270
  callID: string;
272
271
  name: string;
273
272
  namespace?: string;
274
- partial?: {
275
- content?: ({
273
+ result: {
274
+ content: ({
276
275
  type: "text";
277
276
  text: string;
278
277
  textSignature?: string;
@@ -282,8 +281,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
282
281
  mimeType: string;
283
282
  })[];
284
283
  details?: any;
284
+ isError: true;
285
285
  };
286
- status: "running";
286
+ status: "aborted";
287
287
  thoughtSignature?: string;
288
288
  time: {
289
289
  start: number;
@@ -458,14 +458,19 @@ 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;
461
466
  } | {
462
467
  addedToolNames?: string[];
463
468
  arguments: Record<string, any>;
464
469
  callID: string;
465
470
  name: string;
466
471
  namespace?: string;
467
- result: {
468
- content: ({
472
+ partial?: {
473
+ content?: ({
469
474
  type: "text";
470
475
  text: string;
471
476
  textSignature?: string;
@@ -475,9 +480,8 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
475
480
  mimeType: string;
476
481
  })[];
477
482
  details?: any;
478
- isError: false;
479
483
  };
480
- status: "completed";
484
+ status: "running";
481
485
  thoughtSignature?: string;
482
486
  time: {
483
487
  start: number;
@@ -501,9 +505,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
501
505
  mimeType: string;
502
506
  })[];
503
507
  details?: any;
504
- isError: true;
508
+ isError: false;
505
509
  };
506
- status: "error";
510
+ status: "completed";
507
511
  thoughtSignature?: string;
508
512
  time: {
509
513
  start: number;
@@ -529,7 +533,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
529
533
  details?: any;
530
534
  isError: true;
531
535
  };
532
- status: "skipped";
536
+ status: "error";
533
537
  thoughtSignature?: string;
534
538
  time: {
535
539
  start: number;
@@ -555,26 +559,21 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
555
559
  details?: any;
556
560
  isError: true;
557
561
  };
558
- status: "aborted";
562
+ status: "skipped";
559
563
  thoughtSignature?: string;
560
564
  time: {
561
565
  start: number;
562
566
  end: number;
563
567
  };
564
568
  type: "toolCall";
565
- } | {
566
- type: "thinking";
567
- thinking: string;
568
- thinkingSignature?: string;
569
- redacted?: boolean;
570
569
  } | {
571
570
  addedToolNames?: string[];
572
571
  arguments: Record<string, any>;
573
572
  callID: string;
574
573
  name: string;
575
574
  namespace?: string;
576
- partial?: {
577
- content?: ({
575
+ result: {
576
+ content: ({
578
577
  type: "text";
579
578
  text: string;
580
579
  textSignature?: string;
@@ -584,8 +583,9 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
584
583
  mimeType: string;
585
584
  })[];
586
585
  details?: any;
586
+ isError: true;
587
587
  };
588
- status: "running";
588
+ status: "aborted";
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-mKxToqmh.d.mts.map
899
+ //# sourceMappingURL=event-6sTQ_4bq.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-mKxToqmh.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-6sTQ_4bq.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-_ajVYIY5.mjs";
3
- import { t as plugin_d_exports } from "./plugin-C-Q5_YZZ.mjs";
3
+ import { t as plugin_d_exports } from "./plugin-Deb2QWIP.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.2.1-canary.16.1.ge2881857",
3
+ "version": "0.2.1-canary.18.1.gc4473ccb",
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.11.0-canary.16.1.ge2881857",
171
+ "@codeworksh/aikit": "0.11.0-canary.18.1.gc4473ccb",
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-mKxToqmh.mjs";
1
+ import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-6sTQ_4bq.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 { f as io_d_exports, i as Identity, s as Provides } from "./io-nhvNKC33.mjs";
@@ -155,4 +155,4 @@ declare namespace plugin_d_exports {
155
155
  }
156
156
  //#endregion
157
157
  export { PluginRegistry as _, define as a, PluginOptions as c, PluginSpec as d, Config as f, SharedPluginContext as g, PromptResolver as h, PluginKind as i, PluginPatch as l, Paths 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 };
158
- //# sourceMappingURL=plugin-C-Q5_YZZ.d.mts.map
158
+ //# sourceMappingURL=plugin-Deb2QWIP.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-D4_I_rzy.mjs";
4
- import { _ as PluginRegistry, a as define, c as PluginOptions, d as PluginSpec, f as Config, g as SharedPluginContext, h as PromptResolver, i as PluginKind, l as PluginPatch, m as Paths, n as Mount, o as domains, p as Events, r as Plugin, s as rank, u as PluginRef } from "./plugin-C-Q5_YZZ.mjs";
4
+ import { _ as PluginRegistry, a as define, c as PluginOptions, d as PluginSpec, f as Config, g as SharedPluginContext, h as PromptResolver, i as PluginKind, l as PluginPatch, m as Paths, n as Mount, o as domains, p as Events, r as Plugin, s as rank, u as PluginRef } from "./plugin-Deb2QWIP.mjs";
5
5
  export { type Config, type Events, type Mount, type Paths, 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 };