@codeworksh/plugin 0.2.1-dev.20261019181702 → 0.3.0-dev.20261019193730

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.
@@ -149,14 +149,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
149
149
  completed: number;
150
150
  };
151
151
  parts: ({
152
- type: "text";
153
- text: string;
154
- textSignature?: string;
155
- } | {
156
- type: "image";
157
- data: string;
158
- mimeType: string;
159
- } | {
160
152
  addedToolNames?: string[];
161
153
  arguments: Record<string, any>;
162
154
  callID: string;
@@ -260,6 +252,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
260
252
  end: number;
261
253
  };
262
254
  type: "toolCall";
255
+ } | {
256
+ type: "text";
257
+ text: string;
258
+ textSignature?: string;
259
+ } | {
260
+ type: "image";
261
+ data: string;
262
+ mimeType: string;
263
263
  } | {
264
264
  type: "thinking";
265
265
  thinking: string;
@@ -451,14 +451,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
451
451
  completed: number;
452
452
  };
453
453
  parts: ({
454
- type: "text";
455
- text: string;
456
- textSignature?: string;
457
- } | {
458
- type: "image";
459
- data: string;
460
- mimeType: string;
461
- } | {
462
454
  addedToolNames?: string[];
463
455
  arguments: Record<string, any>;
464
456
  callID: string;
@@ -562,6 +554,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
562
554
  end: number;
563
555
  };
564
556
  type: "toolCall";
557
+ } | {
558
+ type: "text";
559
+ text: string;
560
+ textSignature?: string;
561
+ } | {
562
+ type: "image";
563
+ data: string;
564
+ mimeType: string;
565
565
  } | {
566
566
  type: "thinking";
567
567
  thinking: string;
@@ -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-COPs5rMu.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-COPs5rMu.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-hi01XZ.mjs";
3
+ import { t as plugin_d_exports } from "./plugin-BagjovWc.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-dev.20261019181702",
3
+ "version": "0.3.0-dev.20261019193730",
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-dev.20261019181702",
171
+ "@codeworksh/aikit": "0.12.0-dev.20261019193730",
172
172
  "effect": "4.0.5"
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-COPs5rMu.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-Br9WZTsG.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-hi01XZ.d.mts.map
158
+ //# sourceMappingURL=plugin-BagjovWc.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-hi01XZ.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-BagjovWc.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 };