@ycodium-ai/plugin-visualize 0.2.4021 → 0.2.4053

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
@@ -2,7 +2,7 @@
2
2
  import { definePlugin } from "@ycodium-ai/plugin-api";
3
3
 
4
4
  // ../../packages/plugin-api/src/version.ts
5
- var PLUGIN_API_VERSION = 81;
5
+ var PLUGIN_API_VERSION = 87;
6
6
 
7
7
  // src/paths.ts
8
8
  var VIZ_FILE = /^viz\/[a-z0-9][a-z0-9-]{0,80}-[0-9a-f]{8}\.html$/u;
package/locales/en.json CHANGED
@@ -28,6 +28,8 @@
28
28
  "waiting": "The visualization will appear here as it is written."
29
29
  },
30
30
  "tool": {
31
- "title": "Visualize"
31
+ "title": "Visualize",
32
+ "create": "Create visualization",
33
+ "update": "Update visualization"
32
34
  }
33
35
  }
@@ -28,6 +28,8 @@
28
28
  "waiting": "可视化会在撰写过程中出现在这里。"
29
29
  },
30
30
  "tool": {
31
- "title": "可视化"
31
+ "title": "可视化",
32
+ "create": "创建可视化",
33
+ "update": "更新可视化"
32
34
  }
33
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-visualize",
3
- "version": "0.2.4021",
3
+ "version": "0.2.4053",
4
4
  "description": "Renders an inline HTML fragment as a sandboxed card in the conversation.",
5
5
  "keywords": [
6
6
  "visualization",
@@ -25,7 +25,7 @@
25
25
  "react": "19.2.6",
26
26
  "typescript": "~6.0.3",
27
27
  "vite-plus": "0.2.2",
28
- "@ycodium-ai/plugin-api": "0.2.4021"
28
+ "@ycodium-ai/plugin-api": "0.2.4053"
29
29
  },
30
30
  "ycodium": {
31
31
  "plugin": "./dist/index.js",
@@ -69,7 +69,17 @@
69
69
  "tool": "visualize",
70
70
  "view": "card",
71
71
  "placement": "deliverable",
72
- "titleKey": "tool.title"
72
+ "titleKey": "tool.title",
73
+ "titleBy": {
74
+ "arg": "action",
75
+ "titleKeys": {
76
+ "create": "tool.create",
77
+ "update": "tool.update"
78
+ }
79
+ },
80
+ "summary": [
81
+ "title"
82
+ ]
73
83
  }
74
84
  ]
75
85
  }