Skip to content

Commit c9f7316

Browse files
soimyclaude
andcommitted
feat(card): switch template to v2 schema and add tsx dev dependency
- Update BUILTIN_TEMPLATE_ID to 9a9138ed v2 schema - Add tsx as devDependency for running test scripts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1c6ad0e commit c9f7316

File tree

3 files changed

+46
-14
lines changed

3 files changed

+46
-14
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"oxfmt": "0.34.0",
6060
"oxlint": "^1.49.0",
6161
"oxlint-tsgolint": "^0.18.0",
62+
"tsx": "^4.21.0",
6263
"typescript": "^5.3.0",
6364
"vitepress": "1.6.4",
6465
"vitest": "^3.2.4"

pnpm-lock.yaml

Lines changed: 44 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/card/card-template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const STOP_ACTION_VISIBLE = "true";
44
export const STOP_ACTION_HIDDEN = "false";
55

66
/** The v2 template ID that ships with this plugin version. */
7-
const BUILTIN_TEMPLATE_ID = "301508cd-5ddd-4e86-85f0-6b5312032743.schema";
7+
const BUILTIN_TEMPLATE_ID = "9a9138ed-35d3-498e-9019-748b59ddc39a.schema";
88
/** Card variable key for structured block streaming. */
99
const BUILTIN_CONTENT_KEY = "blockList";
1010
/** Card variable key for the copy action (plain text representation). */

0 commit comments

Comments
 (0)