@codeworksh/plugin 0.3.0-canary.66.1.gf4c14646 → 0.3.0-canary.67.1.g251f0966

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.
@@ -162,7 +162,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
162
162
  thinkingSignature?: string;
163
163
  redacted?: boolean;
164
164
  } | {
165
- addedToolNames?: string[];
166
165
  arguments: Record<string, any>;
167
166
  callID: string;
168
167
  name: string;
@@ -187,7 +186,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
187
186
  };
188
187
  type: "toolCall";
189
188
  } | {
190
- addedToolNames?: string[];
191
189
  arguments: Record<string, any>;
192
190
  callID: string;
193
191
  name: string;
@@ -213,7 +211,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
213
211
  };
214
212
  type: "toolCall";
215
213
  } | {
216
- addedToolNames?: string[];
217
214
  arguments: Record<string, any>;
218
215
  callID: string;
219
216
  name: string;
@@ -239,7 +236,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
239
236
  };
240
237
  type: "toolCall";
241
238
  } | {
242
- addedToolNames?: string[];
243
239
  arguments: Record<string, any>;
244
240
  callID: string;
245
241
  name: string;
@@ -265,7 +261,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
265
261
  };
266
262
  type: "toolCall";
267
263
  } | {
268
- addedToolNames?: string[];
269
264
  arguments: Record<string, any>;
270
265
  callID: string;
271
266
  name: string;
@@ -297,7 +292,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
297
292
  arguments: Record<string, any>;
298
293
  thoughtSignature?: string;
299
294
  namespace?: string;
300
- addedToolNames?: string[];
301
295
  time: {
302
296
  start: number;
303
297
  end: number;
@@ -464,7 +458,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
464
458
  thinkingSignature?: string;
465
459
  redacted?: boolean;
466
460
  } | {
467
- addedToolNames?: string[];
468
461
  arguments: Record<string, any>;
469
462
  callID: string;
470
463
  name: string;
@@ -489,7 +482,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
489
482
  };
490
483
  type: "toolCall";
491
484
  } | {
492
- addedToolNames?: string[];
493
485
  arguments: Record<string, any>;
494
486
  callID: string;
495
487
  name: string;
@@ -515,7 +507,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
515
507
  };
516
508
  type: "toolCall";
517
509
  } | {
518
- addedToolNames?: string[];
519
510
  arguments: Record<string, any>;
520
511
  callID: string;
521
512
  name: string;
@@ -541,7 +532,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
541
532
  };
542
533
  type: "toolCall";
543
534
  } | {
544
- addedToolNames?: string[];
545
535
  arguments: Record<string, any>;
546
536
  callID: string;
547
537
  name: string;
@@ -567,7 +557,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
567
557
  };
568
558
  type: "toolCall";
569
559
  } | {
570
- addedToolNames?: string[];
571
560
  arguments: Record<string, any>;
572
561
  callID: string;
573
562
  name: string;
@@ -599,7 +588,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
599
588
  arguments: Record<string, any>;
600
589
  thoughtSignature?: string;
601
590
  namespace?: string;
602
- addedToolNames?: string[];
603
591
  time: {
604
592
  start: number;
605
593
  end: number;
@@ -613,7 +601,6 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
613
601
  }>, Schema.Unknown, never, never>;
614
602
  type AikitAssistantMessage = typeof AikitAssistantMessage.Type;
615
603
  declare const AikitToolCallTerminalPart: Schema.decodeTo<Schema.declare<{
616
- addedToolNames?: string[];
617
604
  arguments: Record<string, any>;
618
605
  callID: string;
619
606
  name: string;
@@ -639,7 +626,6 @@ declare const AikitToolCallTerminalPart: Schema.decodeTo<Schema.declare<{
639
626
  };
640
627
  type: "toolCall";
641
628
  } | {
642
- addedToolNames?: string[];
643
629
  arguments: Record<string, any>;
644
630
  callID: string;
645
631
  name: string;
@@ -665,7 +651,6 @@ declare const AikitToolCallTerminalPart: Schema.decodeTo<Schema.declare<{
665
651
  };
666
652
  type: "toolCall";
667
653
  } | {
668
- addedToolNames?: string[];
669
654
  arguments: Record<string, any>;
670
655
  callID: string;
671
656
  name: string;
@@ -691,7 +676,6 @@ declare const AikitToolCallTerminalPart: Schema.decodeTo<Schema.declare<{
691
676
  };
692
677
  type: "toolCall";
693
678
  } | {
694
- addedToolNames?: string[];
695
679
  arguments: Record<string, any>;
696
680
  callID: string;
697
681
  name: string;
@@ -717,7 +701,6 @@ declare const AikitToolCallTerminalPart: Schema.decodeTo<Schema.declare<{
717
701
  };
718
702
  type: "toolCall";
719
703
  }, {
720
- addedToolNames?: string[];
721
704
  arguments: Record<string, any>;
722
705
  callID: string;
723
706
  name: string;
@@ -743,7 +726,6 @@ declare const AikitToolCallTerminalPart: Schema.decodeTo<Schema.declare<{
743
726
  };
744
727
  type: "toolCall";
745
728
  } | {
746
- addedToolNames?: string[];
747
729
  arguments: Record<string, any>;
748
730
  callID: string;
749
731
  name: string;
@@ -769,7 +751,6 @@ declare const AikitToolCallTerminalPart: Schema.decodeTo<Schema.declare<{
769
751
  };
770
752
  type: "toolCall";
771
753
  } | {
772
- addedToolNames?: string[];
773
754
  arguments: Record<string, any>;
774
755
  callID: string;
775
756
  name: string;
@@ -795,7 +776,6 @@ declare const AikitToolCallTerminalPart: Schema.decodeTo<Schema.declare<{
795
776
  };
796
777
  type: "toolCall";
797
778
  } | {
798
- addedToolNames?: string[];
799
779
  arguments: Record<string, any>;
800
780
  callID: string;
801
781
  name: string;
@@ -896,4 +876,4 @@ declare function durable<const Definitions extends ReadonlyArray<Definition>>(de
896
876
  declare function latest(definitions: ReadonlyArray<Definition>): ReadonlyMap<string, Definition<string, Schema.Codec<unknown, unknown, never, never>>>;
897
877
  //#endregion
898
878
  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-6sTQ_4bq.d.mts.map
879
+ //# sourceMappingURL=event-C6-oCzlq.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-6sTQ_4bq.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-C6-oCzlq.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-B4nkpC9M.mjs";
3
- import { t as plugin_d_exports } from "./plugin-CZHbJIzN.mjs";
3
+ import { t as plugin_d_exports } from "./plugin-Cuz78r5j.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.3.0-canary.66.1.gf4c14646",
3
+ "version": "0.3.0-canary.67.1.g251f0966",
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.12.1-canary.66.1.gf4c14646",
171
+ "@codeworksh/aikit": "0.12.1-canary.67.1.g251f0966",
172
172
  "effect": "4.0.5"
173
173
  }
174
174
  }
package/plugin/tool.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ToolAfterResult, c as ToolBeforeResult, d as ToolRegistry, f as ToolResultContent, i as ToolAfterFn, l as ToolDefPatch, n as ToolAddOptions, o as ToolBefore, r as ToolAfter, s as ToolBeforeFn, t as HookReturn, u as ToolRegistration } from "../tool-Bz8XyBlE.mjs";
1
+ import { a as ToolAfterResult, c as ToolBeforeResult, d as ToolRegistry, f as ToolResultContent, i as ToolAfterFn, l as ToolDefPatch, n as ToolAddOptions, o as ToolBefore, r as ToolAfter, s as ToolBeforeFn, t as HookReturn, u as ToolRegistration } from "../tool-D5487q-u.mjs";
2
2
  export { HookReturn, ToolAddOptions, ToolAfter, ToolAfterFn, ToolAfterResult, ToolBefore, ToolBeforeFn, ToolBeforeResult, ToolDefPatch, ToolRegistration, ToolRegistry, ToolResultContent };
@@ -1,11 +1,11 @@
1
- import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-6sTQ_4bq.mjs";
1
+ import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-C6-oCzlq.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";
5
5
  import { i as Info$1 } from "./settings-DGYWREuu.mjs";
6
6
  import { t as section_d_exports } from "./plugin/section.mjs";
7
7
  import { n as prompt_d_exports, t as PromptRegistry } from "./prompt-DWaA5ZXj.mjs";
8
- import { d as ToolRegistry, p as tool_d_exports } from "./tool-Bz8XyBlE.mjs";
8
+ import { d as ToolRegistry, p as tool_d_exports } from "./tool-D5487q-u.mjs";
9
9
  import { Model } from "@codeworksh/aikit";
10
10
  import { Effect } from "effect";
11
11
  //#region src/plugin/registry.d.ts
@@ -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-CZHbJIzN.d.mts.map
158
+ //# sourceMappingURL=plugin-Cuz78r5j.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
- import { p as tool_d_exports } from "./tool-Bz8XyBlE.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-CZHbJIzN.mjs";
3
+ import { p as tool_d_exports } from "./tool-D5487q-u.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-Cuz78r5j.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 };
@@ -34,7 +34,6 @@ declare const ToolAfter: Schema.Struct<{
34
34
  };
35
35
  readonly params: Schema.Unknown;
36
36
  readonly terminal: Schema.decodeTo<Schema.declare<{
37
- addedToolNames?: string[];
38
37
  arguments: Record<string, any>;
39
38
  callID: string;
40
39
  name: string;
@@ -60,7 +59,6 @@ declare const ToolAfter: Schema.Struct<{
60
59
  };
61
60
  type: "toolCall";
62
61
  } | {
63
- addedToolNames?: string[];
64
62
  arguments: Record<string, any>;
65
63
  callID: string;
66
64
  name: string;
@@ -86,7 +84,6 @@ declare const ToolAfter: Schema.Struct<{
86
84
  };
87
85
  type: "toolCall";
88
86
  } | {
89
- addedToolNames?: string[];
90
87
  arguments: Record<string, any>;
91
88
  callID: string;
92
89
  name: string;
@@ -112,7 +109,6 @@ declare const ToolAfter: Schema.Struct<{
112
109
  };
113
110
  type: "toolCall";
114
111
  } | {
115
- addedToolNames?: string[];
116
112
  arguments: Record<string, any>;
117
113
  callID: string;
118
114
  name: string;
@@ -138,7 +134,6 @@ declare const ToolAfter: Schema.Struct<{
138
134
  };
139
135
  type: "toolCall";
140
136
  }, {
141
- addedToolNames?: string[];
142
137
  arguments: Record<string, any>;
143
138
  callID: string;
144
139
  name: string;
@@ -164,7 +159,6 @@ declare const ToolAfter: Schema.Struct<{
164
159
  };
165
160
  type: "toolCall";
166
161
  } | {
167
- addedToolNames?: string[];
168
162
  arguments: Record<string, any>;
169
163
  callID: string;
170
164
  name: string;
@@ -190,7 +184,6 @@ declare const ToolAfter: Schema.Struct<{
190
184
  };
191
185
  type: "toolCall";
192
186
  } | {
193
- addedToolNames?: string[];
194
187
  arguments: Record<string, any>;
195
188
  callID: string;
196
189
  name: string;
@@ -216,7 +209,6 @@ declare const ToolAfter: Schema.Struct<{
216
209
  };
217
210
  type: "toolCall";
218
211
  } | {
219
- addedToolNames?: string[];
220
212
  arguments: Record<string, any>;
221
213
  callID: string;
222
214
  name: string;
@@ -286,4 +278,4 @@ interface ToolRegistry {
286
278
  }
287
279
  //#endregion
288
280
  export { ToolAfterResult as a, ToolBeforeResult as c, ToolRegistry as d, ToolResultContent as f, ToolAfterFn as i, ToolDefPatch as l, ToolAddOptions as n, ToolBefore as o, tool_d_exports as p, ToolAfter as r, ToolBeforeFn as s, HookReturn as t, ToolRegistration as u };
289
- //# sourceMappingURL=tool-Bz8XyBlE.d.mts.map
281
+ //# sourceMappingURL=tool-D5487q-u.d.mts.map