@opencode/plugin 0.0.0-dev-21100 → 0.0.0-dev-21102
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/dist/effect/session.d.ts
CHANGED
|
@@ -140,6 +140,6 @@ export interface SessionHooks {
|
|
|
140
140
|
readonly "experimental.ws.receive": SessionWebSocketReceive;
|
|
141
141
|
readonly retry: SessionRetry;
|
|
142
142
|
}
|
|
143
|
-
export type SessionDomain = Pick<SessionApi<unknown>, "create" | "get" | "remove" | "switchAgent" | "switchModel" | "prompt" | "generate" | "command" | "compact" | "synthetic" | "interrupt" | "update" | "move" | "wait" | "context"> & {
|
|
143
|
+
export type SessionDomain = Pick<SessionApi<unknown>, "list" | "create" | "get" | "remove" | "switchAgent" | "switchModel" | "prompt" | "generate" | "command" | "compact" | "synthetic" | "interrupt" | "update" | "move" | "wait" | "context"> & {
|
|
144
144
|
readonly hook: ModelHooks<SessionHooks>;
|
|
145
145
|
};
|
package/dist/promise/adapter.js
CHANGED
|
@@ -426,6 +426,7 @@ export function fromPromise(plugin) {
|
|
|
426
426
|
},
|
|
427
427
|
session: {
|
|
428
428
|
hook: (name, callback, options) => register(host.session.hook(name, (event) => Effect.promise(() => Promise.resolve(callback(event))), options)),
|
|
429
|
+
list: adaptApiMethod(SessionEndpoints["session.list"], host.session.list),
|
|
429
430
|
create: adaptApiMethod(SessionEndpoints["session.create"], host.session.create),
|
|
430
431
|
get: adaptApiMethod(SessionEndpoints["session.get"], host.session.get),
|
|
431
432
|
remove: adaptApiMethod(SessionEndpoints["session.remove"], host.session.remove),
|
|
@@ -140,6 +140,6 @@ export interface SessionHooks {
|
|
|
140
140
|
readonly "experimental.ws.receive": SessionWebSocketReceive;
|
|
141
141
|
readonly retry: SessionRetry;
|
|
142
142
|
}
|
|
143
|
-
export type SessionDomain = Pick<SessionApi, "create" | "get" | "remove" | "switchAgent" | "switchModel" | "prompt" | "generate" | "command" | "compact" | "synthetic" | "interrupt" | "update" | "move" | "wait" | "context"> & {
|
|
143
|
+
export type SessionDomain = Pick<SessionApi, "list" | "create" | "get" | "remove" | "switchAgent" | "switchModel" | "prompt" | "generate" | "command" | "compact" | "synthetic" | "interrupt" | "update" | "move" | "wait" | "context"> & {
|
|
144
144
|
readonly hook: ModelHooks<SessionHooks>;
|
|
145
145
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/plugin",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-21102",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ai-sdk/provider": "3.0.8",
|
|
50
|
-
"@opencode/ai": "0.0.0-dev-
|
|
51
|
-
"@opencode/client": "0.0.0-dev-
|
|
52
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
53
|
-
"@opencode/schema": "0.0.0-dev-
|
|
54
|
-
"@opencode/util": "0.0.0-dev-
|
|
50
|
+
"@opencode/ai": "0.0.0-dev-21102",
|
|
51
|
+
"@opencode/client": "0.0.0-dev-21102",
|
|
52
|
+
"@opencode/protocol": "0.0.0-dev-21102",
|
|
53
|
+
"@opencode/schema": "0.0.0-dev-21102",
|
|
54
|
+
"@opencode/util": "0.0.0-dev-21102",
|
|
55
55
|
"effect": "4.0.1"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@opencode/theme": "0.0.0-dev-
|
|
58
|
+
"@opencode/theme": "0.0.0-dev-21102",
|
|
59
59
|
"@opentui/core": ">=0.5.17",
|
|
60
60
|
"@opentui/solid": ">=0.5.17",
|
|
61
61
|
"solid-js": ">=1.9.0"
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@opencode/theme": "0.0.0-dev-
|
|
78
|
+
"@opencode/theme": "0.0.0-dev-21102",
|
|
79
79
|
"@opentui/core": "0.5.17",
|
|
80
80
|
"@opentui/solid": "0.5.17",
|
|
81
81
|
"@tsconfig/bun": "1.0.9",
|