@ycodium-ai/plugin-visualize 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
@@ -413,7 +413,7 @@ function failure(text) {
413
413
  // src/index.ts
414
414
  var visualizePlugin = definePlugin({
415
415
  id: "visualize",
416
- apiVersion: 53,
416
+ apiVersion: 60,
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. Default 1000000. Larger values are capped at 1000000 so the card still fits the presentation limit."
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": {
@@ -6,7 +6,8 @@
6
6
  },
7
7
  "maxFragmentBytes": {
8
8
  "label": "片段大小上限",
9
- "description": "一段内联 HTML 最多多少字节。默认 1000000。更大的值会被压到 1000000,好让卡片仍放得进展示体上限里。"
9
+ "description": "一段内联 HTML 最多多少字节。更大的值会被压到 1000000,好让卡片仍放得进展示体上限里。",
10
+ "placeholder": "1000000"
10
11
  }
11
12
  },
12
13
  "status": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-visualize",
3
- "version": "0.2.3710",
3
+ "version": "0.2.3799",
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.3710"
28
+ "@ycodium-ai/plugin-api": "0.2.3799"
29
29
  },
30
30
  "ycodium": {
31
31
  "plugin": "./dist/index.js",