@ycodium-ai/plugin-office 0.2.4043 → 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 +1 -1
- package/locales/en.json +7 -0
- package/locales/zh-CN.json +7 -0
- package/package.json +33 -3
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import * as NodePath5 from "node:path";
|
|
|
3
3
|
import { definePlugin } from "@ycodium-ai/plugin-api";
|
|
4
4
|
|
|
5
5
|
// ../../packages/plugin-api/src/version.ts
|
|
6
|
-
var PLUGIN_API_VERSION =
|
|
6
|
+
var PLUGIN_API_VERSION = 87;
|
|
7
7
|
|
|
8
8
|
// src/paths.ts
|
|
9
9
|
import * as NodeFSP from "node:fs/promises";
|
package/locales/en.json
CHANGED
|
@@ -45,5 +45,12 @@
|
|
|
45
45
|
"imageUnavailable": "Image unavailable",
|
|
46
46
|
"noCjkFont": "The bundled Chinese fonts are unavailable, so Chinese text in these pages may show as boxes.",
|
|
47
47
|
"missingFonts": "Missing fonts, substituted: {{fonts}}"
|
|
48
|
+
},
|
|
49
|
+
"tool": {
|
|
50
|
+
"check": "Check document",
|
|
51
|
+
"render": "Render pages",
|
|
52
|
+
"convert": "Convert document",
|
|
53
|
+
"recalculate": "Recalculate formulas",
|
|
54
|
+
"python": "Get Python runtime"
|
|
48
55
|
}
|
|
49
56
|
}
|
package/locales/zh-CN.json
CHANGED
|
@@ -45,5 +45,12 @@
|
|
|
45
45
|
"imageUnavailable": "图片不可用",
|
|
46
46
|
"noCjkFont": "随包中文字体不可用,这些页面中的中文可能显示为方块。",
|
|
47
47
|
"missingFonts": "缺失字体,已替换:{{fonts}}"
|
|
48
|
+
},
|
|
49
|
+
"tool": {
|
|
50
|
+
"check": "检查文档",
|
|
51
|
+
"render": "渲染页面",
|
|
52
|
+
"convert": "转换文档",
|
|
53
|
+
"recalculate": "重算公式",
|
|
54
|
+
"python": "获取 Python 环境"
|
|
48
55
|
}
|
|
49
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-office",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4053",
|
|
4
4
|
"description": "Lets agents create, check, and render Word, PowerPoint, and Excel files, and previews Office files in the app.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docx",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"esbuild": "0.28.1",
|
|
30
30
|
"typescript": "~6.0.3",
|
|
31
31
|
"vite-plus": "0.2.2",
|
|
32
|
-
"@ycodium-ai/plugin-api": "0.2.
|
|
32
|
+
"@ycodium-ai/plugin-api": "0.2.4053"
|
|
33
33
|
},
|
|
34
34
|
"ycodium": {
|
|
35
35
|
"plugin": "./dist/index.js",
|
|
@@ -79,7 +79,37 @@
|
|
|
79
79
|
"toolViews": [
|
|
80
80
|
{
|
|
81
81
|
"tool": "render",
|
|
82
|
-
"view": "render-result"
|
|
82
|
+
"view": "render-result",
|
|
83
|
+
"titleKey": "tool.render",
|
|
84
|
+
"summary": [
|
|
85
|
+
"path"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"tool": "check",
|
|
90
|
+
"titleKey": "tool.check",
|
|
91
|
+
"summary": [
|
|
92
|
+
"path"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"tool": "convert",
|
|
97
|
+
"titleKey": "tool.convert",
|
|
98
|
+
"summary": [
|
|
99
|
+
"path",
|
|
100
|
+
"output"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"tool": "recalculate",
|
|
105
|
+
"titleKey": "tool.recalculate",
|
|
106
|
+
"summary": [
|
|
107
|
+
"path"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"tool": "python",
|
|
112
|
+
"titleKey": "tool.python"
|
|
83
113
|
}
|
|
84
114
|
]
|
|
85
115
|
}
|