@opencode/plugin 2.2.2 → 2.2.3
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
|
@@ -22,6 +22,10 @@ export type SessionRequestOptions = Types.DeepMutable<GenerationOptionsFields> &
|
|
|
22
22
|
export interface SessionRequest {
|
|
23
23
|
readonly sessionID: Session.ID;
|
|
24
24
|
readonly model: Model.Ref;
|
|
25
|
+
/**
|
|
26
|
+
* The instructions part keeps each source's text in `metadata.experimental.instructions` as `{ key, text }`. It is
|
|
27
|
+
* not updated when a hook edits `text`. Experimental.
|
|
28
|
+
*/
|
|
25
29
|
system: Array<SystemPart>;
|
|
26
30
|
messages: Array<Message>;
|
|
27
31
|
options: SessionRequestOptions;
|
package/dist/gui/host-apis.d.ts
CHANGED
|
@@ -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
|
|
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;
|
package/dist/gui/registries.d.ts
CHANGED
|
@@ -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": {
|
|
@@ -22,6 +22,10 @@ export type SessionRequestOptions = Types.DeepMutable<GenerationOptionsFields> &
|
|
|
22
22
|
export interface SessionRequest {
|
|
23
23
|
readonly sessionID: Session.ID;
|
|
24
24
|
readonly model: Model.Ref;
|
|
25
|
+
/**
|
|
26
|
+
* The instructions part keeps each source's text in `metadata.experimental.instructions` as `{ key, text }`. It is
|
|
27
|
+
* not updated when a hook edits `text`. Experimental.
|
|
28
|
+
*/
|
|
25
29
|
system: Array<SystemPart>;
|
|
26
30
|
messages: Array<Message>;
|
|
27
31
|
options: SessionRequestOptions;
|
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": "2.2.
|
|
4
|
+
"version": "2.2.3",
|
|
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": "2.2.
|
|
82
|
-
"@opencode/client": "2.2.
|
|
83
|
-
"@opencode/protocol": "2.2.
|
|
84
|
-
"@opencode/schema": "2.2.
|
|
85
|
-
"@opencode/util": "2.2.
|
|
81
|
+
"@opencode/ai": "2.2.3",
|
|
82
|
+
"@opencode/client": "2.2.3",
|
|
83
|
+
"@opencode/protocol": "2.2.3",
|
|
84
|
+
"@opencode/schema": "2.2.3",
|
|
85
|
+
"@opencode/util": "2.2.3",
|
|
86
86
|
"effect": "4.0.6"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
|
-
"@opencode/theme": "2.2.
|
|
90
|
-
"@opentui/core": "0.
|
|
91
|
-
"@opentui/solid": "0.
|
|
89
|
+
"@opencode/theme": "2.2.3",
|
|
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": "2.2.
|
|
122
|
-
"@opentui/core": "0.
|
|
123
|
-
"@opentui/solid": "0.
|
|
121
|
+
"@opencode/theme": "2.2.3",
|
|
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",
|