@opencode/plugin 0.0.0-dev-306 → 0.0.0-dev-338

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.
@@ -22,7 +22,7 @@ export interface ServerRef {
22
22
  readonly client: OpenCodeClient;
23
23
  /** The server's synced data (sessions, projects, …). Reactive. */
24
24
  readonly data: Data;
25
- /** The built-in local server or a loopback http server. */
25
+ /** The app's own local server, or a loopback http connection to its port. */
26
26
  readonly local: boolean;
27
27
  /** The app's own server, the desktop sidecar. */
28
28
  readonly builtin: boolean;
@@ -654,6 +654,12 @@ export interface SlotMap {
654
654
  readonly session: MountedSession;
655
655
  /** The timeline is the one on screen. */
656
656
  readonly active: boolean;
657
+ /**
658
+ * The title does not fit beside the actions, even with the location collapsed. Show the compact form of what you
659
+ * render, without its details (for example an icon that opens them in a menu), so the title keeps the room. The
660
+ * header returns to false once the title fits beside your expanded content again.
661
+ */
662
+ readonly compact: boolean;
657
663
  };
658
664
  /** Items in the project/location menu, after its location details. Omitted on loading headers without a screen. */
659
665
  readonly "session.location.menu": {
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-306",
4
+ "version": "0.0.0-dev-338",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -78,17 +78,17 @@
78
78
  ],
79
79
  "dependencies": {
80
80
  "@ai-sdk/provider": "3.0.8",
81
- "@opencode/ai": "0.0.0-dev-306",
82
- "@opencode/client": "0.0.0-dev-306",
83
- "@opencode/protocol": "0.0.0-dev-306",
84
- "@opencode/schema": "0.0.0-dev-306",
85
- "@opencode/util": "0.0.0-dev-306",
81
+ "@opencode/ai": "0.0.0-dev-338",
82
+ "@opencode/client": "0.0.0-dev-338",
83
+ "@opencode/protocol": "0.0.0-dev-338",
84
+ "@opencode/schema": "0.0.0-dev-338",
85
+ "@opencode/util": "0.0.0-dev-338",
86
86
  "effect": "4.0.6"
87
87
  },
88
88
  "peerDependencies": {
89
- "@opencode/theme": "0.0.0-dev-306",
90
- "@opentui/core": "0.7.0",
91
- "@opentui/solid": "0.7.0",
89
+ "@opencode/theme": "0.0.0-dev-338",
90
+ "@opentui/core": ">=0.8.0",
91
+ "@opentui/solid": ">=0.8.0",
92
92
  "electron": "*",
93
93
  "solid-js": ">=1.9.0",
94
94
  "vite": ">=6",
@@ -118,9 +118,9 @@
118
118
  }
119
119
  },
120
120
  "devDependencies": {
121
- "@opencode/theme": "0.0.0-dev-306",
122
- "@opentui/core": "0.7.0",
123
- "@opentui/solid": "0.7.0",
121
+ "@opencode/theme": "0.0.0-dev-338",
122
+ "@opentui/core": "0.8.0",
123
+ "@opentui/solid": "0.8.0",
124
124
  "@tsconfig/bun": "1.0.9",
125
125
  "@types/bun": "1.4.3",
126
126
  "@types/node": "24.12.2",