@codeworksh/plugin 0.0.1-dev.20260922105750 → 0.0.1-dev.20260923022514
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.
- package/{event-rIZpnOTo.d.mts → event-9PbbjnHJ.d.mts} +3 -3
- package/event.d.mts +1 -1
- package/index.d.mts +1 -1
- package/package.json +2 -2
- package/{plugin-DbJEpY3M.d.mts → plugin-BS9CqRBg.d.mts} +3 -3
- package/plugin.d.mts +1 -1
- package/{settings-CYL6yyDD.d.mts → settings-CNJSIAlf.d.mts} +7 -7
- package/settings.d.mts +1 -1
|
@@ -8,7 +8,7 @@ declare namespace event_d_exports {
|
|
|
8
8
|
*/
|
|
9
9
|
declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
10
10
|
role: "assistant";
|
|
11
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
11
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
12
12
|
provider: {
|
|
13
13
|
id: string;
|
|
14
14
|
name: string;
|
|
@@ -308,7 +308,7 @@ declare const AikitAssistantMessage: Schema.decodeTo<Schema.declare<{
|
|
|
308
308
|
messageId: string;
|
|
309
309
|
}, {
|
|
310
310
|
role: "assistant";
|
|
311
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
311
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
312
312
|
provider: {
|
|
313
313
|
id: string;
|
|
314
314
|
name: 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-
|
|
895
|
+
//# sourceMappingURL=event-9PbbjnHJ.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-
|
|
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-9PbbjnHJ.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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codeworksh/plugin",
|
|
3
|
-
"version": "0.0.1-dev.
|
|
3
|
+
"version": "0.0.1-dev.20260923022514",
|
|
4
4
|
"description": "SDK for building CodeWork plugins — the plugin, tool, and sandbox contracts shared with @codeworksh/harness.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
"node": ">=24.14.1"
|
|
165
165
|
},
|
|
166
166
|
"dependencies": {
|
|
167
|
-
"@codeworksh/aikit": "0.
|
|
167
|
+
"@codeworksh/aikit": "0.9.0",
|
|
168
168
|
"tslib": "^2.8.1",
|
|
169
169
|
"typebox": "^1.3.30",
|
|
170
170
|
"uuidv7": "^1.2.1"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-
|
|
1
|
+
import { i as Definition, o as Payload, r as Data, s as PublishOptions } from "./event-9PbbjnHJ.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";
|
|
5
|
-
import { r as Info$1 } from "./settings-
|
|
5
|
+
import { r as Info$1 } from "./settings-CNJSIAlf.mjs";
|
|
6
6
|
import { n as prompt_d_exports, t as PromptRegistry } from "./prompt-BcpagjGh.mjs";
|
|
7
7
|
import { d as ToolRegistry, p as tool_d_exports } from "./tool-BoVqkYvL.mjs";
|
|
8
8
|
import { Model } from "@codeworksh/aikit";
|
|
@@ -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-
|
|
140
|
+
//# sourceMappingURL=plugin-BS9CqRBg.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-
|
|
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-BS9CqRBg.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 };
|
|
@@ -18,7 +18,7 @@ declare const requestFields: {
|
|
|
18
18
|
method: Schema.optional<Schema.Literals<("chat" | "completion" | "completionModel" | "languageModel" | "messages" | "responses")[]>>;
|
|
19
19
|
};
|
|
20
20
|
/** The wire protocol a model speaks, which a catalog entry may have wrong for a local endpoint. */
|
|
21
|
-
declare const ModelProtocol: Schema.Literals<("anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>;
|
|
21
|
+
declare const ModelProtocol: Schema.Literals<("anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>;
|
|
22
22
|
declare const Block: Schema.StructWithRest<Schema.Struct<{
|
|
23
23
|
readonly temperature: Schema.optional<Schema.Finite>;
|
|
24
24
|
readonly maxTokens: Schema.optional<Schema.Finite>;
|
|
@@ -30,7 +30,7 @@ declare const Block: Schema.StructWithRest<Schema.Struct<{
|
|
|
30
30
|
readonly thinkingBudgets: Schema.optional<Schema.$Record<Schema.Literals<("high" | "low" | "max" | "medium" | "minimal" | "xhigh")[]>, Schema.optional<Schema.Finite>>>;
|
|
31
31
|
readonly baseURL: Schema.optional<Schema.String>;
|
|
32
32
|
readonly method: Schema.optional<Schema.Literals<("chat" | "completion" | "completionModel" | "languageModel" | "messages" | "responses")[]>>;
|
|
33
|
-
readonly protocol: Schema.optional<Schema.Literals<("anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>>;
|
|
33
|
+
readonly protocol: Schema.optional<Schema.Literals<("anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>>;
|
|
34
34
|
readonly thinkingLevel: Schema.optional<Schema.Literals<("high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh")[]>>;
|
|
35
35
|
readonly toolExecution: Schema.optional<Schema.Literals<readonly ["sequential", "parallel"]>>;
|
|
36
36
|
readonly contextWindow: Schema.optional<Schema.Finite>;
|
|
@@ -54,7 +54,7 @@ declare const Model$1: Schema.Struct<{
|
|
|
54
54
|
readonly thinkingBudgets: Schema.optional<Schema.$Record<Schema.Literals<("high" | "low" | "max" | "medium" | "minimal" | "xhigh")[]>, Schema.optional<Schema.Finite>>>;
|
|
55
55
|
readonly baseURL: Schema.optional<Schema.String>;
|
|
56
56
|
readonly method: Schema.optional<Schema.Literals<("chat" | "completion" | "completionModel" | "languageModel" | "messages" | "responses")[]>>;
|
|
57
|
-
readonly protocol: Schema.optional<Schema.Literals<("anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>>;
|
|
57
|
+
readonly protocol: Schema.optional<Schema.Literals<("anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>>;
|
|
58
58
|
readonly thinkingLevel: Schema.optional<Schema.Literals<("high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh")[]>>;
|
|
59
59
|
readonly toolExecution: Schema.optional<Schema.Literals<readonly ["sequential", "parallel"]>>;
|
|
60
60
|
readonly contextWindow: Schema.optional<Schema.Finite>;
|
|
@@ -71,7 +71,7 @@ declare const Model$1: Schema.Struct<{
|
|
|
71
71
|
readonly thinkingBudgets: Schema.optional<Schema.$Record<Schema.Literals<("high" | "low" | "max" | "medium" | "minimal" | "xhigh")[]>, Schema.optional<Schema.Finite>>>;
|
|
72
72
|
readonly baseURL: Schema.optional<Schema.String>;
|
|
73
73
|
readonly method: Schema.optional<Schema.Literals<("chat" | "completion" | "completionModel" | "languageModel" | "messages" | "responses")[]>>;
|
|
74
|
-
readonly protocol: Schema.optional<Schema.Literals<("anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>>;
|
|
74
|
+
readonly protocol: Schema.optional<Schema.Literals<("anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>>;
|
|
75
75
|
readonly thinkingLevel: Schema.optional<Schema.Literals<("high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh")[]>>;
|
|
76
76
|
readonly toolExecution: Schema.optional<Schema.Literals<readonly ["sequential", "parallel"]>>;
|
|
77
77
|
readonly contextWindow: Schema.optional<Schema.Finite>;
|
|
@@ -125,7 +125,7 @@ declare const Patch: Schema.Struct<{
|
|
|
125
125
|
readonly thinkingBudgets: Schema.optional<Schema.$Record<Schema.Literals<("high" | "low" | "max" | "medium" | "minimal" | "xhigh")[]>, Schema.optional<Schema.Finite>>>;
|
|
126
126
|
readonly baseURL: Schema.optional<Schema.String>;
|
|
127
127
|
readonly method: Schema.optional<Schema.Literals<("chat" | "completion" | "completionModel" | "languageModel" | "messages" | "responses")[]>>;
|
|
128
|
-
readonly protocol: Schema.optional<Schema.Literals<("anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>>;
|
|
128
|
+
readonly protocol: Schema.optional<Schema.Literals<("anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>>;
|
|
129
129
|
readonly thinkingLevel: Schema.optional<Schema.Literals<("high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh")[]>>;
|
|
130
130
|
readonly toolExecution: Schema.optional<Schema.Literals<readonly ["sequential", "parallel"]>>;
|
|
131
131
|
readonly contextWindow: Schema.optional<Schema.Finite>;
|
|
@@ -142,7 +142,7 @@ declare const Patch: Schema.Struct<{
|
|
|
142
142
|
readonly thinkingBudgets: Schema.optional<Schema.$Record<Schema.Literals<("high" | "low" | "max" | "medium" | "minimal" | "xhigh")[]>, Schema.optional<Schema.Finite>>>;
|
|
143
143
|
readonly baseURL: Schema.optional<Schema.String>;
|
|
144
144
|
readonly method: Schema.optional<Schema.Literals<("chat" | "completion" | "completionModel" | "languageModel" | "messages" | "responses")[]>>;
|
|
145
|
-
readonly protocol: Schema.optional<Schema.Literals<("anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>>;
|
|
145
|
+
readonly protocol: Schema.optional<Schema.Literals<("anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai")[]>>;
|
|
146
146
|
readonly thinkingLevel: Schema.optional<Schema.Literals<("high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh")[]>>;
|
|
147
147
|
readonly toolExecution: Schema.optional<Schema.Literals<readonly ["sequential", "parallel"]>>;
|
|
148
148
|
readonly contextWindow: Schema.optional<Schema.Finite>;
|
|
@@ -190,4 +190,4 @@ interface Info {
|
|
|
190
190
|
declare const defaults: Info;
|
|
191
191
|
//#endregion
|
|
192
192
|
export { ModelProtocol as a, PluginPatch as c, defaults as d, requestFields as f, Model$1 as i, ThinkingLevel as l, Declared as n, Patch as o, Info as r, PluginEntry as s, Block as t, ToolExecution as u };
|
|
193
|
-
//# sourceMappingURL=settings-
|
|
193
|
+
//# sourceMappingURL=settings-CNJSIAlf.d.mts.map
|
package/settings.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ModelProtocol, c as PluginPatch, d as defaults, f as requestFields, i as Model, l as ThinkingLevel, n as Declared, o as Patch, r as Info, s as PluginEntry, t as Block, u as ToolExecution } from "./settings-
|
|
1
|
+
import { a as ModelProtocol, c as PluginPatch, d as defaults, f as requestFields, i as Model, l as ThinkingLevel, n as Declared, o as Patch, r as Info, s as PluginEntry, t as Block, u as ToolExecution } from "./settings-CNJSIAlf.mjs";
|
|
2
2
|
export { Block, Declared, Info, Model, ModelProtocol, Patch, PluginEntry, PluginPatch, ThinkingLevel, ToolExecution, defaults, requestFields };
|