Commit 54abae0
Code mode (#362)
* Pull in code-mode changes from ai-code-mode
Adds code-mode packages (ai-code-mode, ai-code-mode-skills, ai-isolate-*),
example app, tool registry, and devtools code-mode tab.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* more refinements
* Simpler example
* Fewer examples
* Working skills example
* Home page really coming together
* Home page done
* More realistic tools
* Finished home page
* Reworking the demo
* final fixups
* last few fixups
* ci: apply automated fixes
* fix: replace md-to-pdf with puppeteer+marked to fix provenance check
md-to-pdf depends on marked@4 which lacks npm provenance, failing the
CI provenance check. Use puppeteer (already a dep) + marked@15 directly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* ci: apply automated fixes
* add changeset for code mode packages and revert ai-devtools changes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add database tools demo route with in-memory DB
Add a new demo route for database code tools using an in-memory database
with three tables: customers (10 rows), products (10 rows), and purchases
(25 rows). Includes two simple tools - queryTable for filtering/sorting/
selecting data and getSchemaInfo for introspection. Supports both Code
Mode (execute_typescript) and regular tool-calling modes.
https://claude.ai/code/session_012K7mAaWtcw5ZCGPcs88zmm
* database demo
* database demo
* feat: add gold-standard judging, export, layout fixes, and nav rename for database demo
- Add Opus-powered judge API that compares responses against gold-standard results using structured output
- Add JSON export button for message arrays
- Fix three-column layout so sidebars don't get pushed off screen
- Remove duplicate "Try These" from left sidebar
- Expose getSchemaInfo as both a code-mode and direct LLM tool
- Rename nav item to "Database Demo" and move to second position
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* ci: apply automated fixes
* simplifying
* simplifying
* adding skills
* refactoring
* dashboard demo start
* merging main
* small tweaks
* More execute prompt work
* Model evals
* Model evals
* chore: sync lockfile with models-eval dotenv ^17.2.3
Align pnpm-lock.yaml with @tanstack/ai-code-mode-models-eval so frozen
pnpm install in CI matches the manifest after sherif alignment.
Made-with: Cursor
* ci: apply automated fixes
* ci: bump autofix-ci/action to v1.3.3 and opt into Node 24
- Pin autofix-ci/action to 7a166d75 (v1.3.3) for API reliability
- Set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 for JS action runtime deprecation
Made-with: Cursor
* feat(ts-code-mode-web): realtime dashboard + execute_prompt API
- Replace tile orchestrator dashboard with text-mode OpenAI Realtime + execute_prompt tool
- Add /api/execute-prompt (shoe catalog via executePrompt) and /api/realtime-token
- Harden client tool args and OpenAI Realtime function_call id (call_id/item_id)
- RealtimeClient: always send tool result for unknown tools
- Remove legacy dashboard components and lib/dashboard
Made-with: Cursor
* Working
* Merged main
* Docs update
* ci: apply automated fixes
* final fixes
* ci: apply automated fixes
* ci: fix formatting and lint in ai-isolate-node
Apply Prettier formatting fixes and remove unnecessary optional chain
on non-nullish value flagged by ESLint.
Made-with: Cursor
* chore: update changeset with missing packages
Add ai-event-client, ai-ollama, ai-openai, ai-client, and ai-devtools
to the changeset to cover all source changes on this branch.
Made-with: Cursor
* fix: correct ai-devtools package name in changeset
The package is @tanstack/ai-devtools-core, not @tanstack/ai-devtools.
Made-with: Cursor
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>1 parent b709c3d commit 54abae0
File tree
240 files changed
+38897
-93
lines changed- .changeset
- .github/workflows
- docs/guides
- examples/ts-code-mode-web
- public
- gold-results
- src
- components
- reports
- primitives
- content
- data
- layout
- special
- lib
- reports
- tools
- routes
- _banking-demo
- _database-demo
- gold-results
- _execute-prompt
- _home
- _npm-github-chat
- _reporting
- _structured-output
- packages/typescript
- ai-client/src
- ai-code-mode-skills
- src
- storage
- test-cli
- ai-code-mode
- models-eval
- gold-results
- src
- bindings
- type-generator
- tests
- ai-devtools/src/components
- ai-event-client
- src
- ai-isolate-cloudflare
- src
- worker
- tests
- ai-isolate-node
- src
- tests
- ai-isolate-quickjs
- src
- tests
- ai-ollama/src/adapters
- ai-openai/src/realtime
- ai/src
- activities/chat/stream
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
240 files changed
+38897
-93
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | | - | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
63 | 70 | | |
64 | 71 | | |
65 | | - | |
| 72 | + | |
| 73 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
0 commit comments