@opencode/plugin 0.0.0-dev-20347 → 0.0.0-dev-20349

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.
@@ -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" | "synthetic" | "interrupt" | "update" | "move" | "wait" | "context"> & {
143
+ export type SessionDomain = Pick<SessionApi<unknown>, "create" | "get" | "remove" | "switchAgent" | "switchModel" | "prompt" | "generate" | "command" | "compact" | "synthetic" | "interrupt" | "update" | "move" | "wait" | "context"> & {
144
144
  readonly hook: ModelHooks<SessionHooks>;
145
145
  };
@@ -425,6 +425,7 @@ export function fromPromise(plugin) {
425
425
  prompt: adaptApiMethod(SessionEndpoints["session.prompt"], host.session.prompt),
426
426
  generate: adaptApiMethod(SessionEndpoints["session.generate"], host.session.generate),
427
427
  command: adaptApiMethod(SessionEndpoints["session.command"], host.session.command),
428
+ compact: adaptApiMethod(SessionEndpoints["session.compact"], host.session.compact),
428
429
  synthetic: adaptApiMethod(SessionEndpoints["session.synthetic"], host.session.synthetic),
429
430
  interrupt: adaptApiMethod(SessionEndpoints["session.interrupt"], host.session.interrupt),
430
431
  update: adaptApiMethod(SessionEndpoints["session.update"], host.session.update),
@@ -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" | "synthetic" | "interrupt" | "update" | "move" | "wait" | "context"> & {
143
+ export type SessionDomain = Pick<SessionApi, "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-20347",
4
+ "version": "0.0.0-dev-20349",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -43,17 +43,17 @@
43
43
  ],
44
44
  "dependencies": {
45
45
  "@ai-sdk/provider": "3.0.8",
46
- "@opencode/ai": "0.0.0-dev-20347",
47
- "@opencode/client": "0.0.0-dev-20347",
48
- "@opencode/protocol": "0.0.0-dev-20347",
49
- "@opencode/schema": "0.0.0-dev-20347",
50
- "@opencode/util": "0.0.0-dev-20347",
46
+ "@opencode/ai": "0.0.0-dev-20349",
47
+ "@opencode/client": "0.0.0-dev-20349",
48
+ "@opencode/protocol": "0.0.0-dev-20349",
49
+ "@opencode/schema": "0.0.0-dev-20349",
50
+ "@opencode/util": "0.0.0-dev-20349",
51
51
  "@standard-schema/spec": "1.1.0",
52
52
  "effect": "4.0.0-rc.112",
53
53
  "zod": "4.1.8"
54
54
  },
55
55
  "peerDependencies": {
56
- "@opencode/theme": "0.0.0-dev-20347",
56
+ "@opencode/theme": "0.0.0-dev-20349",
57
57
  "@opentui/core": ">=0.5.14",
58
58
  "@opentui/solid": ">=0.5.14",
59
59
  "solid-js": ">=1.9.0"
@@ -73,7 +73,7 @@
73
73
  }
74
74
  },
75
75
  "devDependencies": {
76
- "@opencode/theme": "0.0.0-dev-20347",
76
+ "@opencode/theme": "0.0.0-dev-20349",
77
77
  "@opentui/core": "0.5.14",
78
78
  "@opentui/solid": "0.5.14",
79
79
  "@tsconfig/bun": "1.0.9",