@khanglvm/relay 0.18.0 → 0.19.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@khanglvm/relay",
3
- "version": "0.18.0",
4
- "description": "Question boards with rich blocks (markdown, charts, mermaid, tables, code, diffs, video, sandboxed HTML), clickable local file-links, and element-level annotations for AI coding agents (Claude Code, Codex, …): ask users structured questions, present interactive visuals, collect inline comments, read answers as JSON — in a local browser board OR rendered INLINE inside the Claude & Codex apps as an MCP App (SEP-1865).",
3
+ "version": "0.19.0",
4
+ "description": "Question boards with rich blocks (markdown, charts, mermaid, tables, code, diffs, video, sandboxed HTML), clickable local file-links, and element-level annotations for AI coding agents (Claude Code, Codex, \u2026): ask users structured questions, present interactive visuals, collect inline comments, read answers as JSON \u2014 in a local browser board OR rendered INLINE inside the Claude & Codex apps as an MCP App (SEP-1865).",
5
5
  "keywords": [
6
6
  "ai-agents",
7
7
  "claude-code",
@@ -39,6 +39,8 @@
39
39
  "skills",
40
40
  "docs",
41
41
  "!docs/assets",
42
+ "schema",
43
+ "types",
42
44
  "README.md",
43
45
  "LICENSE"
44
46
  ],
@@ -46,6 +48,39 @@
46
48
  "node": ">=18.3"
47
49
  },
48
50
  "scripts": {
49
- "test": "node test/smoke.mjs && node --test test/link.test.mjs test/a2ui.test.mjs"
50
- }
51
+ "check": "tsc -p tsconfig.json",
52
+ "lint": "biome ci --diagnostic-level=error .",
53
+ "gen:schema": "node scripts/gen-schema.mjs --write",
54
+ "build:types": "tsc -p tsconfig.build.json",
55
+ "test": "node test/smoke.mjs && node --test test/link.test.mjs test/a2ui.test.mjs test/unit/*.test.mjs",
56
+ "smoke:pack": "node scripts/smoke-pack.mjs",
57
+ "prepack": "npm run build:types"
58
+ },
59
+ "devDependencies": {
60
+ "@biomejs/biome": "^2.6.8",
61
+ "@types/node": "^20.19.43",
62
+ "typescript": "^7.0.2"
63
+ },
64
+ "exports": {
65
+ ".": {
66
+ "types": "./types/index.d.ts",
67
+ "default": "./src/index.js"
68
+ },
69
+ "./spec": {
70
+ "types": "./types/spec.d.ts",
71
+ "default": "./src/spec.js"
72
+ },
73
+ "./a2ui": {
74
+ "types": "./types/a2ui/compile.d.ts",
75
+ "default": "./src/a2ui/compile.js"
76
+ },
77
+ "./mcp": {
78
+ "types": "./types/mcp.d.ts",
79
+ "default": "./src/mcp.js"
80
+ },
81
+ "./schema.json": "./schema/spec.v1.json",
82
+ "./package.json": "./package.json"
83
+ },
84
+ "main": "./src/index.js",
85
+ "types": "./types/index.d.ts"
51
86
  }