@codeworksh/plugin 0.0.1-dev.20260925125033 → 0.0.1-dev.20260925150557

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,14 +147,6 @@ 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
150
  addedToolNames?: string[];
159
151
  arguments: Record<string, any>;
160
152
  callID: string;
@@ -258,6 +250,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
258
250
  end: number;
259
251
  };
260
252
  type: "toolCall";
253
+ } | {
254
+ type: "text";
255
+ text: string;
256
+ textSignature?: string;
257
+ } | {
258
+ type: "image";
259
+ data: string;
260
+ mimeType: string;
261
261
  } | {
262
262
  type: "thinking";
263
263
  thinking: string;
@@ -447,14 +447,6 @@ 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
450
  addedToolNames?: string[];
459
451
  arguments: Record<string, any>;
460
452
  callID: string;
@@ -558,6 +550,14 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
558
550
  end: number;
559
551
  };
560
552
  type: "toolCall";
553
+ } | {
554
+ type: "text";
555
+ text: string;
556
+ textSignature?: string;
557
+ } | {
558
+ type: "image";
559
+ data: string;
560
+ mimeType: string;
561
561
  } | {
562
562
  type: "thinking";
563
563
  thinking: string;
@@ -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-BixB94Zu.d.mts.map
895
+ //# sourceMappingURL=event-BnLveFBB.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-BixB94Zu.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-BnLveFBB.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-Cj0MJjZG.mjs";
2
+ import { t as plugin_d_exports } from "./plugin-B1M3SjEb.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.20260925125033",
3
+ "version": "0.0.1-dev.20260925150557",
4
4
  "description": "SDK for building CodeWork plugins — the plugin, tool, and sandbox contracts shared with @codeworksh/harness.",
5
5
  "keywords": [
6
6
  "agent",
@@ -156,7 +156,7 @@
156
156
  "access": "public"
157
157
  },
158
158
  "engines": {
159
- "node": ">=24.14.1"
159
+ "node": ">=22.0.0"
160
160
  },
161
161
  "dependencies": {
162
162
  "typebox": "^1.3.30",
@@ -1,4 +1,4 @@
1
- import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-BixB94Zu.mjs";
1
+ import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-BnLveFBB.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-Cj0MJjZG.d.mts.map
140
+ //# sourceMappingURL=plugin-B1M3SjEb.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-Cj0MJjZG.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-B1M3SjEb.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 };