@yuktishaalaa/yuktai 5.3.6 → 5.3.8

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuktishaalaa/yuktai",
3
- "version": "5.3.6",
3
+ "version": "5.3.8",
4
4
  "description": "Accessibility, AI and data toolkit for Next.js, React and plain HTML: WCAG 2.2 auto-fix, agentic data grid, accessibility copilot, QA reports and in-browser RAG. Zero API keys.",
5
5
  "author": "Sandeep Miriyala — Yuktishaalaa AI Lab",
6
6
  "license": "GPL-3.0-only",
@@ -81,7 +81,7 @@
81
81
  "build:vanilla": "node vanilla/build.mjs",
82
82
  "build:all": "npm run build && npm run build:vanilla",
83
83
  "build:rust": "node rust/build-wasm.mjs",
84
- "test:rust": "cd rust/grid-core && cargo test",
84
+ "test:rust": "cd rust/grid-core && cargo test && cd ../rag-core && cargo test",
85
85
  "lint": "eslint src --ext .ts,.tsx",
86
86
  "test": "vitest run",
87
87
  "prepublishOnly": "npm run build:all"
package/vanilla/README.md CHANGED
@@ -74,6 +74,7 @@ The v5.1 vanilla signature `renderGrid(container, rows, columns, options)` still
74
74
  | `parseIntent(text, ctx)` | Replace the built-in phrase parser |
75
75
  | `webmcp`, `toolName`, `toolDescriptions`, `onWebMCPStatusChange` | Expose the 11 grid tools to browser AI agents |
76
76
  | `engine` | `"ts"` (default), `"rust"`, or `"auto"` (Rust from 10,000 rows). Rust runs the same search and number/date sort faster; results are identical. `grid.engine` tells you which one is active, `await grid.whenEngineReady()` waits for it |
77
+ | `showSearchTime`, `onSearchTime` | Show "· 0.9 ms · Rust" next to the row count after each search or sort, and/or get `{ query, ms, rows, engine }` in a callback. `grid.getSearchTime()` returns the last one |
77
78
  | `referenceDate` | "Now" for "this month" questions |
78
79
  | `onRowClick(row)`, `onOpenRow(id)` | Enables the `open` tool and "open Ravi" |
79
80
  | `onSelectionChange(keys)`, `onSortChange(sort)`, `onFiltersChange(filters)`, `onAgentResult(r)` | Events |
@@ -121,6 +122,7 @@ yuktai.registerWebMCP(tools, { onStatusChange: console.log })
121
122
 
122
123
  ```js
123
124
  yuktai.mountAgenticPanel("#tools", { defaultTab: "qa", voiceLang: "te-IN" }) // AgenticPanel, six tabs
125
+ yuktai.mountAgenticPanel("#tools", { engine: "rust" }) // Ask page searches with the Rust RAG engine (same answers, faster)
124
126
  ```
125
127
 
126
128
  The panel is marked `data-yuktai-panel`, so the agents never audit their own UI.