@ycodium-ai/plugin-visualize 0.2.3681 → 0.2.3766
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 +3 -2
- package/locales/en.json +2 -1
- package/locales/zh-CN.json +2 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -413,7 +413,7 @@ function failure(text) {
|
|
|
413
413
|
// src/index.ts
|
|
414
414
|
var visualizePlugin = definePlugin({
|
|
415
415
|
id: "visualize",
|
|
416
|
-
apiVersion:
|
|
416
|
+
apiVersion: 56,
|
|
417
417
|
activate(ctx) {
|
|
418
418
|
const ledger = createLedger({
|
|
419
419
|
cache: ctx.cache,
|
|
@@ -490,7 +490,8 @@ var visualizePlugin = definePlugin({
|
|
|
490
490
|
key: "maxFragmentBytes",
|
|
491
491
|
kind: "number",
|
|
492
492
|
labelKey: "settings.maxFragmentBytes.label",
|
|
493
|
-
descriptionKey: "settings.maxFragmentBytes.description"
|
|
493
|
+
descriptionKey: "settings.maxFragmentBytes.description",
|
|
494
|
+
placeholderKey: "settings.maxFragmentBytes.placeholder"
|
|
494
495
|
}
|
|
495
496
|
]
|
|
496
497
|
});
|
package/locales/en.json
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
},
|
|
7
7
|
"maxFragmentBytes": {
|
|
8
8
|
"label": "Maximum fragment size",
|
|
9
|
-
"description": "In bytes.
|
|
9
|
+
"description": "In bytes. Larger values are capped at 1000000 so the card still fits the presentation limit.",
|
|
10
|
+
"placeholder": "1000000"
|
|
10
11
|
}
|
|
11
12
|
},
|
|
12
13
|
"status": {
|
package/locales/zh-CN.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-visualize",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3766",
|
|
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.
|
|
28
|
+
"@ycodium-ai/plugin-api": "0.2.3766"
|
|
29
29
|
},
|
|
30
30
|
"ycodium": {
|
|
31
31
|
"plugin": "./dist/index.js",
|