@ycodium-ai/agent-opencode 0.2.3710 → 0.2.3799

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/index.js CHANGED
@@ -4878,6 +4878,7 @@ var capturedAttachments;
4878
4878
  var executors = [
4879
4879
  {
4880
4880
  card: OPENCODE_CARD,
4881
+ lifecycle: [{ kind: "detect", reversible: true }],
4881
4882
  createInstance: async (config, host) => {
4882
4883
  host.log.info("createInstance");
4883
4884
  return createOpenCodeInstance(config, host, capturedAttachments);
@@ -4886,7 +4887,7 @@ var executors = [
4886
4887
  ];
4887
4888
  var index_default = definePlugin({
4888
4889
  id: "agent-opencode",
4889
- apiVersion: 53,
4890
+ apiVersion: 60,
4890
4891
  executors,
4891
4892
  activate(ctx) {
4892
4893
  capturedAttachments = ctx.attachments;
package/locales/en.json CHANGED
@@ -1,4 +1,8 @@
1
1
  {
2
+ "presentation": {
3
+ "name": "OpenCode",
4
+ "description": "Use OpenCode in Ycodium, switching models mid-session."
5
+ },
2
6
  "form": {
3
7
  "binaryPath": {
4
8
  "title": "Program path",
@@ -8,7 +12,7 @@
8
12
  "serverUrl": {
9
13
  "title": "Server URL",
10
14
  "description": "Leave blank to let Ycodium spawn the server when needed.",
11
- "placeholder": "http://127.0.0.1:4096"
15
+ "placeholder": "Started by Ycodium when needed"
12
16
  },
13
17
  "serverPassword": {
14
18
  "title": "Server password",
@@ -18,7 +22,7 @@
18
22
  "homePath": {
19
23
  "title": "Account directory",
20
24
  "description": "Where this account's login and history live. Leave empty to use the CLI's default.",
21
- "placeholder": "e.g. ~/.opencode-work"
25
+ "placeholder": "OpenCode's default (XDG directories)"
22
26
  }
23
27
  },
24
28
  "usage": {
@@ -1,4 +1,8 @@
1
1
  {
2
+ "presentation": {
3
+ "name": "OpenCode",
4
+ "description": "在 Ycodium 里使用 OpenCode,会话中途也能换模型。"
5
+ },
2
6
  "form": {
3
7
  "binaryPath": {
4
8
  "title": "程序路径",
@@ -8,7 +12,7 @@
8
12
  "serverUrl": {
9
13
  "title": "服务器 URL",
10
14
  "description": "留空则由 Ycodium 在需要时启动服务器。",
11
- "placeholder": "http://127.0.0.1:4096"
15
+ "placeholder": "需要时由 Ycodium 启动"
12
16
  },
13
17
  "serverPassword": {
14
18
  "title": "服务器密码",
@@ -18,7 +22,7 @@
18
22
  "homePath": {
19
23
  "title": "账号目录",
20
24
  "description": "此账号的登录信息与历史记录所在的目录。留空则使用该命令行工具的默认目录。",
21
- "placeholder": "例如 ~/.opencode-work"
25
+ "placeholder": "OpenCode 的默认位置(XDG 目录)"
22
26
  }
23
27
  },
24
28
  "usage": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-opencode",
3
- "version": "0.2.3710",
3
+ "version": "0.2.3799",
4
4
  "description": "OpenCode executor: OpenCode CLI (2.x) over its HTTP API.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -21,15 +21,17 @@
21
21
  "@types/node": "24.12.4",
22
22
  "esbuild": "0.28.1",
23
23
  "vite-plus": "0.2.2",
24
+ "@ycodium-ai/plugin-api": "0.2.3799",
24
25
  "ycodium-executor-testing": "0.0.0",
25
- "@ycodium-ai/plugin-api": "0.2.3710",
26
26
  "ycodium-sse-stream": "0.0.0",
27
27
  "ycodium-fetch-ports": "0.0.0"
28
28
  },
29
29
  "ycodium": {
30
30
  "plugin": "./dist/index.js",
31
31
  "displayName": "OpenCode",
32
- "description": "Run OpenCode with in-session model switching, native compaction, and turn steering.",
32
+ "displayNameKey": "presentation.name",
33
+ "description": "Use OpenCode in Ycodium, switching models mid-session.",
34
+ "descriptionKey": "presentation.description",
33
35
  "icon": "./assets/icon.svg",
34
36
  "permissions": [
35
37
  {