@datagrok/grokky 1.0.4 → 1.1.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.
Files changed (203) hide show
  1. package/.claude/skills/deploy-grokky/SKILL.md +193 -0
  2. package/.grokignore +2 -0
  3. package/.turbo/turbo-build.log +24 -0
  4. package/.vscode/settings.json +16 -0
  5. package/CHANGELOG.md +151 -8
  6. package/CLAUDE.md +284 -0
  7. package/CREDITS.md +173 -0
  8. package/LICENSE.md +16 -0
  9. package/README.md +24 -0
  10. package/bdd/bdd.config.json +1 -0
  11. package/bdd/bindings/elements.ts +9 -0
  12. package/bdd/bindings/steps.ts +787 -0
  13. package/bdd/features/ai-panel/platform-work.feature +63 -0
  14. package/bdd/features/ai-panel/session.feature +69 -0
  15. package/bdd/features/ai-panel/table-work.feature +99 -0
  16. package/bdd/generated/ai-panel/platform-work.test.ts +103 -0
  17. package/bdd/generated/ai-panel/session.test.ts +100 -0
  18. package/bdd/generated/ai-panel/table-work.test.ts +150 -0
  19. package/bdd/package.json +1 -0
  20. package/bdd/tsconfig.json +13 -0
  21. package/css/ai.css +637 -49
  22. package/dist/package-test.js +4 -1707
  23. package/dist/package-test.js.map +1 -1
  24. package/dist/package.js +742 -92317
  25. package/dist/package.js.map +1 -1
  26. package/dockerfiles/claude-runtime/.dockerignore +1 -0
  27. package/{.eslintrc.json → dockerfiles/claude-runtime/.eslintrc.json} +7 -16
  28. package/dockerfiles/claude-runtime/Dockerfile +73 -13
  29. package/dockerfiles/claude-runtime/agent/grokky_agent/__init__.py +0 -0
  30. package/dockerfiles/claude-runtime/agent/grokky_agent/__main__.py +80 -0
  31. package/dockerfiles/claude-runtime/agent/grokky_agent/browser_tools.py +180 -0
  32. package/dockerfiles/claude-runtime/agent/grokky_agent/config.py +26 -0
  33. package/dockerfiles/claude-runtime/agent/grokky_agent/formats.py +155 -0
  34. package/dockerfiles/claude-runtime/agent/grokky_agent/guard.py +87 -0
  35. package/dockerfiles/claude-runtime/agent/grokky_agent/hermes.py +212 -0
  36. package/dockerfiles/claude-runtime/agent/grokky_agent/hermes.yaml +45 -0
  37. package/dockerfiles/claude-runtime/agent/grokky_agent/hermes_plugin/__init__.py +8 -0
  38. package/dockerfiles/claude-runtime/agent/grokky_agent/hermes_plugin/plugin.yaml +3 -0
  39. package/dockerfiles/claude-runtime/agent/grokky_agent/protocol.py +174 -0
  40. package/dockerfiles/claude-runtime/agent/grokky_agent/providers/__init__.py +21 -0
  41. package/dockerfiles/claude-runtime/agent/grokky_agent/providers/anthropic.py +21 -0
  42. package/dockerfiles/claude-runtime/agent/grokky_agent/providers/azure.py +46 -0
  43. package/dockerfiles/claude-runtime/agent/grokky_agent/providers/base.py +127 -0
  44. package/dockerfiles/claude-runtime/agent/grokky_agent/providers/bedrock.py +46 -0
  45. package/dockerfiles/claude-runtime/agent/grokky_agent/providers/custom.py +40 -0
  46. package/dockerfiles/claude-runtime/agent/grokky_agent/providers/databricks.py +54 -0
  47. package/dockerfiles/claude-runtime/agent/grokky_agent/providers/openai_platform.py +41 -0
  48. package/dockerfiles/claude-runtime/agent/grokky_agent/providers/openrouter.py +46 -0
  49. package/dockerfiles/claude-runtime/agent/grokky_agent/session.py +471 -0
  50. package/dockerfiles/claude-runtime/agent/grokky_agent/skills.py +44 -0
  51. package/dockerfiles/claude-runtime/agent/grokky_agent/structured.py +40 -0
  52. package/dockerfiles/claude-runtime/container.json +2 -2
  53. package/dockerfiles/claude-runtime/entrypoint.sh +20 -0
  54. package/dockerfiles/claude-runtime/package-lock.json +1721 -306
  55. package/dockerfiles/claude-runtime/package.json +20 -5
  56. package/dockerfiles/claude-runtime/plugin/.claude-plugin/plugin.json +5 -0
  57. package/dockerfiles/claude-runtime/plugin/skills/datagrok-calc-column/SKILL.md +92 -0
  58. package/dockerfiles/claude-runtime/plugin/skills/datagrok-chem-data/SKILL.md +250 -0
  59. package/dockerfiles/claude-runtime/plugin/skills/datagrok-chem-toolkit/SKILL.md +395 -0
  60. package/dockerfiles/claude-runtime/plugin/skills/datagrok-df-and-columns/SKILL.md +454 -0
  61. package/dockerfiles/claude-runtime/plugin/skills/datagrok-entities/SKILL.md +38 -0
  62. package/dockerfiles/claude-runtime/plugin/skills/datagrok-exec/SKILL.md +209 -0
  63. package/dockerfiles/claude-runtime/plugin/skills/datagrok-filtering/SKILL.md +185 -0
  64. package/dockerfiles/claude-runtime/plugin/skills/datagrok-grid-customization/SKILL.md +270 -0
  65. package/dockerfiles/claude-runtime/plugin/skills/datagrok-projects/SKILL.md +100 -0
  66. package/dockerfiles/claude-runtime/plugin/skills/datagrok-selection/SKILL.md +344 -0
  67. package/dockerfiles/claude-runtime/plugin/skills/datagrok-undo/SKILL.md +78 -0
  68. package/dockerfiles/claude-runtime/plugin/skills/datagrok-viewers/SKILL.md +303 -0
  69. package/dockerfiles/claude-runtime/pyproject.toml +18 -0
  70. package/dockerfiles/claude-runtime/src/agent/pool.ts +411 -0
  71. package/dockerfiles/claude-runtime/src/agent/turn.ts +153 -0
  72. package/dockerfiles/claude-runtime/src/constants.ts +20 -0
  73. package/dockerfiles/claude-runtime/src/credentials.ts +45 -0
  74. package/dockerfiles/claude-runtime/src/grounding.ts +104 -0
  75. package/dockerfiles/claude-runtime/src/help-index.ts +118 -0
  76. package/dockerfiles/claude-runtime/src/privileges.ts +8 -0
  77. package/dockerfiles/claude-runtime/src/prompts.ts +211 -0
  78. package/dockerfiles/claude-runtime/src/server.ts +134 -234
  79. package/dockerfiles/claude-runtime/src/session.ts +328 -0
  80. package/dockerfiles/claude-runtime/src/shared-api-client.ts +112 -0
  81. package/dockerfiles/claude-runtime/src/stream-filter.ts +80 -0
  82. package/dockerfiles/claude-runtime/src/sync/home-files.ts +80 -0
  83. package/dockerfiles/claude-runtime/src/sync/orchestrator.ts +214 -0
  84. package/dockerfiles/claude-runtime/src/sync/packages.ts +145 -0
  85. package/dockerfiles/claude-runtime/src/sync/shared-connections.ts +87 -0
  86. package/dockerfiles/claude-runtime/src/sync/workspace.ts +68 -0
  87. package/dockerfiles/claude-runtime/src/tasks.ts +124 -0
  88. package/dockerfiles/claude-runtime/src/tool-summary.ts +66 -0
  89. package/dockerfiles/claude-runtime/src/types.ts +142 -23
  90. package/dockerfiles/claude-runtime/src/user/installed-packages.ts +17 -0
  91. package/dockerfiles/claude-runtime/src/user/staged-workspace.ts +80 -0
  92. package/dockerfiles/claude-runtime/src/user/user-dir.ts +108 -0
  93. package/dockerfiles/claude-runtime/src/verify.ts +136 -0
  94. package/dockerfiles/claude-runtime/src/watchdog.ts +115 -0
  95. package/dockerfiles/claude-runtime/test/credentials.test.js +43 -0
  96. package/dockerfiles/claude-runtime/test/grounding.test.js +191 -0
  97. package/dockerfiles/claude-runtime/test/help-index.test.js +115 -0
  98. package/dockerfiles/claude-runtime/test/plugin-skills.test.js +57 -0
  99. package/dockerfiles/claude-runtime/test/prompts.test.js +62 -0
  100. package/dockerfiles/claude-runtime/test/reaper.test.js +60 -0
  101. package/dockerfiles/claude-runtime/test/stream-filter.test.js +132 -0
  102. package/dockerfiles/claude-runtime/test/tasks.test.js +74 -0
  103. package/dockerfiles/claude-runtime/test/user-dir.test.js +71 -0
  104. package/dockerfiles/claude-runtime/test/verify.test.js +187 -0
  105. package/dockerfiles/claude-runtime/test/watchdog.test.js +43 -0
  106. package/dockerfiles/mcp-server/.eslintrc.json +39 -0
  107. package/dockerfiles/mcp-server/Dockerfile +10 -2
  108. package/dockerfiles/mcp-server/package-lock.json +1743 -98
  109. package/dockerfiles/mcp-server/package.json +27 -5
  110. package/dockerfiles/mcp-server/src/api-client.ts +123 -66
  111. package/dockerfiles/mcp-server/src/format.ts +51 -0
  112. package/dockerfiles/mcp-server/src/index.ts +44 -113
  113. package/dockerfiles/mcp-server/src/ops.ts +325 -0
  114. package/dockerfiles/mcp-server/src/shared-api-client.ts +81 -0
  115. package/dockerfiles/mcp-server/test/format.test.js +62 -0
  116. package/dockerfiles/mcp-server/test/ops.test.js +84 -0
  117. package/dockerfiles/mcp-server/test/shared-api-client.test.js +35 -0
  118. package/dockerfiles/queue/Dockerfile +2 -0
  119. package/dockerfiles/queue/container.json +7 -0
  120. package/docs/AUDIT-2026-08-03.md +1064 -0
  121. package/docs/BENCHMARK.md +292 -0
  122. package/docs/CLAUDE_CODE_FLOW.md +746 -0
  123. package/docs/EXAMPLES.md +82 -0
  124. package/docs/FEATURES.md +71 -0
  125. package/docs/IMPLEMENTATION.md +128 -0
  126. package/docs/LATENCY.md +170 -0
  127. package/docs/VISION.md +36 -0
  128. package/files/benchmark/suite.yaml +404 -0
  129. package/files/scripts/process-cro-results.md +14 -0
  130. package/files/suggestions.yaml +344 -0
  131. package/package.json +39 -97
  132. package/src/ai/ai-window.ts +157 -0
  133. package/src/ai/benchmark/benchmark.ts +737 -0
  134. package/src/ai/db-view-functions.ts +56 -0
  135. package/src/ai/engine.ts +98 -0
  136. package/src/ai/gemma-engine.ts +81 -0
  137. package/src/ai/panel.ts +1385 -0
  138. package/src/ai/prompt-suggestions.ts +209 -0
  139. package/src/ai/search/combined-search.ts +244 -0
  140. package/src/{llm-utils → ai/search}/query-matching.ts +46 -167
  141. package/src/{llm-utils → ai}/storage.ts +0 -1
  142. package/src/ai/table-tools.ts +145 -0
  143. package/src/ai/ui.ts +720 -0
  144. package/src/ai/usage-limiter.ts +105 -0
  145. package/src/ai/view-tools.ts +352 -0
  146. package/src/claude/ai-feature.ts +16 -0
  147. package/src/claude/exec-blocks.ts +176 -0
  148. package/src/claude/queue-task.ts +84 -0
  149. package/src/claude/runtime-client.ts +310 -0
  150. package/src/claude/turn-log.ts +114 -0
  151. package/src/claude/undoable.ts +105 -0
  152. package/src/{llm-utils → db}/db-index-tools.ts +24 -32
  153. package/src/db/sql-tools.ts +336 -0
  154. package/src/depr/LLM-client.ts +251 -0
  155. package/src/depr/ai-panel.ts +174 -0
  156. package/src/depr/chatgpt-assistant.ts +257 -0
  157. package/src/depr/creds.ts +30 -0
  158. package/src/depr/deepwikiclient.ts +118 -0
  159. package/src/depr/indexes/dg-repository-index.ts +266 -0
  160. package/src/depr/interfaces.ts +170 -0
  161. package/src/depr/is-help-request.ts +39 -0
  162. package/src/depr/prompt-engine.ts +52 -0
  163. package/src/depr/rendering-tools.ts +103 -0
  164. package/src/depr/script-tools.ts +785 -0
  165. package/src/depr/tableview-tools.ts +746 -0
  166. package/src/depr/viewers-ai.ts +67 -0
  167. package/src/package-api.ts +87 -28
  168. package/src/package-test.ts +1 -0
  169. package/src/package.g.ts +98 -48
  170. package/src/package.ts +211 -157
  171. package/src/polyfills.ts +12 -0
  172. package/src/utils.ts +128 -0
  173. package/tsconfig.json +8 -70
  174. package/webpack.config.js +3 -49
  175. package/.eslintignore +0 -2
  176. package/src/ai-panel.ts +0 -174
  177. package/src/claude-code/claude-panel.ts +0 -34
  178. package/src/claude-code/claude-runtime-client.ts +0 -148
  179. package/src/llm-utils/LLM-client.ts +0 -251
  180. package/src/llm-utils/combined-search.ts +0 -162
  181. package/src/llm-utils/creds.ts +0 -30
  182. package/src/llm-utils/deepwikiclient.ts +0 -118
  183. package/src/llm-utils/indexes/dg-repository-index.ts +0 -266
  184. package/src/llm-utils/panel.ts +0 -866
  185. package/src/llm-utils/script-tools.ts +0 -784
  186. package/src/llm-utils/sql-tools.ts +0 -840
  187. package/src/llm-utils/tableview-tools.ts +0 -704
  188. package/src/llm-utils/ui.ts +0 -315
  189. package/src/prompt-engine/chatgpt-assistant.ts +0 -257
  190. package/src/prompt-engine/interfaces.ts +0 -170
  191. package/src/prompt-engine/prompt-engine.ts +0 -52
  192. package/src/prompt-engine/rendering-tools.ts +0 -103
  193. package/src/prompts/is-help-request.ts +0 -26
  194. package/src/viewers-ai.ts +0 -67
  195. /package/src/{llm-utils → db}/indexes/biologics-index.ts +0 -0
  196. /package/src/{llm-utils → db}/indexes/chembl-index.ts +0 -0
  197. /package/src/{llm-utils → db}/query-meta-utils.ts +0 -0
  198. /package/src/{llm-utils/depr → depr}/AI-API-providers/openai-chat-completions-provider.ts +0 -0
  199. /package/src/{llm-utils/depr → depr}/AI-API-providers/openai-responses-provider.ts +0 -0
  200. /package/src/{llm-utils/depr → depr}/AI-API-providers/types.ts +0 -0
  201. /package/src/{llm-utils/depr → depr}/depr.ts +0 -0
  202. /package/src/{llm-utils/depr → depr}/embeddings.ts +0 -0
  203. /package/src/{llm-utils/depr → depr}/sql-utils.ts +0 -0
@@ -0,0 +1,193 @@
1
+ ---
2
+ name: deploy-grokky
3
+ description: Deploy Grokky — start Docker, ensure grok_spawner, build images, publish package
4
+ disable-model-invocation: true
5
+ context: fork
6
+ ---
7
+
8
+ # Deploy Grokky
9
+
10
+ This skill performs a full deployment of the Grokky package:
11
+ - Ensures Docker is running
12
+ - Ensures grok_spawner is running
13
+ - Builds required Docker images
14
+ - Starts runtime containers
15
+ - Builds and publishes the package
16
+
17
+ ## Arguments
18
+
19
+ `$ARGUMENTS` may include:
20
+ - `host: <publish host>`
21
+
22
+ The model credentials are not part of the deployment: set them in Plugins | Grokky | Credentials... on the host.
23
+
24
+ ### Resolve arguments
25
+
26
+ 1. If `host` is missing:
27
+ Ask: "Which host should I publish to? (e.g., `localhost`, `dev`, `public`)"
28
+ Wait for user input before continuing.
29
+
30
+ ## Resolve paths
31
+
32
+ Set variables explicitly:
33
+
34
+ ```bash
35
+ GROKKY_ROOT=$(cd "${CLAUDE_SKILL_DIR}/../../.." && pwd)
36
+ DOCKER_DIR=$(cd "$GROKKY_ROOT/../../docker" && pwd)
37
+ COMPOSE_FILE="$DOCKER_DIR/localhost.bleeding-edge.docker-compose.yaml"
38
+ ```
39
+
40
+ ---
41
+
42
+ ## Step 1 — Ensure Docker is running
43
+
44
+ Run:
45
+
46
+ ```bash
47
+ docker info > /dev/null 2>&1
48
+ ```
49
+
50
+ If it fails:
51
+
52
+ ```bash
53
+ open -a Docker
54
+ ```
55
+
56
+ Then retry every 3 seconds (max 10 attempts):
57
+
58
+ ```bash
59
+ for i in {1..10}; do
60
+ sleep 3
61
+ docker info > /dev/null 2>&1 && break
62
+ done
63
+ ```
64
+
65
+ If still failing after 10 attempts:
66
+ Stop execution and tell user: "Docker is not running. Please start Docker manually."
67
+
68
+ ---
69
+
70
+ ## Step 2 — Ensure grok_spawner is running and fresh
71
+
72
+ Check if running:
73
+
74
+ ```bash
75
+ docker ps --filter "name=grok_spawner" --format "{{.Names}}"
76
+ ```
77
+
78
+ If no output, start it:
79
+
80
+ ```bash
81
+ cd "$DOCKER_DIR"
82
+ GROK_SPAWNER_CORE_MODE=true docker compose -f "$COMPOSE_FILE" up -d grok_spawner
83
+ ```
84
+
85
+ If running, check its age:
86
+
87
+ ```bash
88
+ docker inspect --format '{{.Created}}' grok_spawner
89
+ ```
90
+
91
+ Parse the timestamp and compare to now. If the container is older than 2 days, recreate it:
92
+
93
+ ```bash
94
+ cd "$DOCKER_DIR"
95
+ GROK_SPAWNER_CORE_MODE=true docker compose -f "$COMPOSE_FILE" up -d --force-recreate grok_spawner
96
+ ```
97
+
98
+ Do NOT start any other services.
99
+
100
+ ---
101
+
102
+ ## Step 3 — Detect the Docker network
103
+
104
+ The network name varies by setup. Detect it from the running grok_spawner container:
105
+
106
+ ```bash
107
+ DOCKER_NETWORK=$(docker ps --filter "name=grok_spawner" --format "{{.Networks}}" | head -1)
108
+ ```
109
+
110
+ If `DOCKER_NETWORK` is empty, fall back:
111
+
112
+ ```bash
113
+ DOCKER_NETWORK=$(docker network ls --format "{{.Name}}" | grep -E "datagrok" | head -1)
114
+ ```
115
+
116
+ If still empty, stop and tell user: "No datagrok Docker network found. Is the platform running?"
117
+
118
+ ---
119
+
120
+ ## Step 4 — Detect required image builds
121
+
122
+ ```bash
123
+ cd "$GROKKY_ROOT"
124
+ CHANGED_FILES=$(git diff --name-only HEAD -- dockerfiles/; git status --short -- dockerfiles/)
125
+ ```
126
+
127
+ Check existing images:
128
+
129
+ ```bash
130
+ EXISTING_IMAGES=$(docker images --format "{{.Repository}}:{{.Tag}}" | grep grokky || true)
131
+ ```
132
+
133
+ Determine build flags:
134
+
135
+ - Build `claude-runtime` if:
136
+ - `dockerfiles/claude-runtime/` appears in `$CHANGED_FILES` OR
137
+ - `grokky-claude-runtime:admin` not found in `$EXISTING_IMAGES`
138
+
139
+ - Build `mcp-server` if:
140
+ - `dockerfiles/mcp-server/` appears in `$CHANGED_FILES` OR
141
+ - `grokky-mcp-server:admin` not found in `$EXISTING_IMAGES`
142
+
143
+ If neither needs building, skip to Step 6.
144
+
145
+ ---
146
+
147
+ ## Step 5 — Build images (only those flagged in Step 4)
148
+
149
+ ### claude-runtime
150
+
151
+ ```bash
152
+ cd "$GROKKY_ROOT/dockerfiles/claude-runtime"
153
+ docker build -t grokky-claude-runtime:admin .
154
+ docker rm -f grokky-claude-runtime 2>/dev/null || true
155
+ ```
156
+
157
+ ### mcp-server
158
+
159
+ ```bash
160
+ cd "$GROKKY_ROOT/dockerfiles/mcp-server"
161
+ docker build -t grokky-mcp-server:admin .
162
+ docker rm -f grokky-mcp-server 2>/dev/null || true
163
+ ```
164
+
165
+ ---
166
+
167
+ ## Step 6 — Build and publish
168
+
169
+ ```bash
170
+ cd "$GROKKY_ROOT"
171
+ npm run build
172
+ ```
173
+
174
+ If build fails, stop and show the error output.
175
+
176
+ If build succeeds:
177
+
178
+ ```bash
179
+ grok publish $HOST
180
+ ```
181
+
182
+ If publish fails, stop and show the error output.
183
+
184
+ ---
185
+
186
+ ## Step 7 — Report results
187
+
188
+ Print:
189
+ - Whether Docker was started
190
+ - Whether grok_spawner was started
191
+ - Which images were built (or "all cached")
192
+ - Container statuses
193
+ - Publish result
package/.grokignore ADDED
@@ -0,0 +1,2 @@
1
+ # Not needed on the server: the BDD suite, its filmed guides and its run artifacts
2
+ bdd/
@@ -0,0 +1,24 @@
1
+
2
+ > @datagrok/grokky@1.1.0 build /home/runner/work/public/public/packages/Grokky
3
+ > grok build
4
+
5
+ Grokky warnings
6
+ Unknown header tag: Per-difficulty rollup In the file: src/ai/benchmark/benchmark.ts.
7
+ Unknown header tag: The query view needs no dedicated panel anymore In the file: src/ai/ui.ts.
8
+ Unknown header tag: generate(prompt In the file: src/depr/prompt-engine.ts.
9
+ Unknown header tag: Background sync is best-effort In the file: src/package.ts.
10
+ WARNING in ⚠ asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
11
+ │ Assets:
12
+ │ package.js (563.260 KiB)
13
+
14
+ WARNING in ⚠ entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244.141 KiB). This can impact web performance.
15
+ │ Entrypoints:
16
+ │ package (563.260 KiB)
17
+ │ package.js
18
+
19
+ WARNING in ⚠ Rspack performance recommendations:
20
+ │ You can limit the size of your bundles by using import() to lazy load some parts of your application.
21
+ │ For more info visit https://rspack.rs/guide/optimization/code-splitting
22
+
23
+ Rspack compiled with 3 warnings
24
+ bundled Grokky in 0.6s 563 KB
@@ -0,0 +1,16 @@
1
+ {
2
+ "search.followSymlinks": false,
3
+ "cucumber.features": [
4
+ "bdd/features/**/*.feature"
5
+ ],
6
+ "cucumber.glue": [
7
+ "bdd/bindings/**/*.ts",
8
+ "node_modules/@datagrok-libraries/bdd/bindings/**/*.ts"
9
+ ],
10
+ "cucumber.parameterTypes": [
11
+ {
12
+ "name": "state",
13
+ "regexp": "visible|hidden|present|absent|enabled|disabled|partially checked|checked|unchecked|selected|empty|expanded|collapsed|focused|invalid|valid|ready"
14
+ }
15
+ ]
16
+ }
package/CHANGELOG.md CHANGED
@@ -1,25 +1,168 @@
1
- # ChatGPT changelog
1
+ # Grokky changelog
2
+
3
+ ## 1.1.0 (2026-11-27)
4
+
5
+ * [public#4667](https://github.com/datagrok-ai/public/issues/4667): A wand suggestion opens in its own tab (Help, Execute or Query) without asking the model which one fits
6
+ * Search: Help and Execute no longer wait on browser tools that the search bar never answers
7
+ * AI panel: Restyled the chat. Blue-tint prompts, a bordered prompt box, code blocks with a header and Copy, questions as a card with clickable options, and search answers use the full width
8
+ * Search: The AI wand finds the home page's search box when PowerPack places it in the top row (no tabs)
9
+ * Grokky: Ctrl+Z undoes the columns, rows, values and viewers a request added, removed or changed
10
+ * [public#4650](https://github.com/datagrok-ai/public/issues/4650): Fixed the AI panel rendering replies as trusted HTML, so scripts in a reply ran
11
+ * Grokky: The chat keeps a reading width in a wide panel: replies on white, your prompt in a bubble that fits its text
12
+ * Grokky: Fixed "Speech recognition error: aborted" in the console when voice input stops
13
+ * Grokky: Added bringing back earlier prompts with the Up and Down arrow keys in the prompt box
14
+ * Grokky: Fixed Try again forgetting the request after a quick Stop
15
+ * Grokky: Added deleting a single chat from the history menu, with undo
16
+ * Grokky: Fixed suggestions naming the wrong column, such as an ID column in the Molecules prompts or a date in the numeric ones
17
+ * Grokky: Confirmation card shows its answer in the header
18
+ * [public#4648](https://github.com/datagrok-ai/public/issues/4648): Fixed asterisks in the Stop notice
19
+ * Grokky: Fixed voice input sending only the first word: the whole phrase is captured, shown as it is spoken, and sent after a pause
20
+ * Grokky: A prompt that fails or loses its connection says why above the prompt box, and the next prompt reconnects
21
+ * Grokky: Fixed SAVE staying active after the AI saved the project
22
+ * Grokky: Properties (F4) open on top of the AI panel instead of beside it, and the AI panel keeps its width when they close
23
+ * Grokky: Clicking the icons under the prompt box no longer takes focus from it
24
+ * Grokky: Answering the AI's question (choosing an option, clicking Submit) returns focus to the prompt box
25
+ * Grokky: Return focus to the prompt box when the AI's actions take it
26
+ * Grokky: Tool activity shows in a status strip above the prompt
27
+ * Grokky: Removed suggestions that asked a question instead of running
28
+ * Grokky: New chat (+) clears the typed prompt and attached entities
29
+ * Grokky: The assistant's question no longer blocks new prompts; Submit sends the choice as the next prompt
30
+ * Grokky: Removed the "Your administrators log your AI ..." notice under the AI panel, answers and search results
31
+ * [public#4552](https://github.com/datagrok-ai/public/issues/4552): Grokky: suggestions use an ID column (USUBJID) for categorical slots
32
+ * [public#4551](https://github.com/datagrok-ai/public/issues/4551): Grokky: AI panel hangs for good when the final answer fails to render (markdown RangeError)
33
+ * Docker: Moved the claude-runtime image to Wolfi and raised @hono/node-server to 2.x in claude-runtime and mcp-server, so both images have no known CVEs; the runtime no longer ships npm or virtualenv
34
+ * Docker: Fixed the claude-runtime container exiting at start (`exec /app/entrypoint.sh failed`) when its image is built from a Windows checkout with CRLF line endings
35
+
36
+ ## 1.0.5 (2026-11-03)
37
+
38
+ * AI: Introduced per-group model credentials in the package's credentials (Plugins | Grokky | Credentials...): each user's chat runs on the key and model of their group, read by the runtime container through the platform and never sent to the browser. They are the only source: the runtime no longer takes credentials from its container's environment
39
+ * Docker: Rebuilt the claude-runtime, mcp-server and queue images; claude-runtime has setuptools 78.1.1+ in place of Debian's 66.1.1
40
+ * AI: Every completed turn is logged as an `ai-turn` usage event with its feature, status, model, tokens, cost and duration, including failed and stopped turns
41
+ * AI: Prompts moved from the `ai-request` usage events to `ai-turn-content`, logged by default, up to 2500 bytes each, with a notice in the AI panel and AI search
42
+ * AI: Added settings to turn off prompt logging and to opt in to logging responses and tool calls
43
+ * Runtime, MCP server: Updated the Node.js base images to 22.23.4 (Node.js October 2026 security release)
44
+
45
+ * AI: The assistant runs on Claude and GPT models through Anthropic, OpenRouter, OpenAI, Microsoft Azure, Amazon Bedrock, Databricks or your own Anthropic- or OpenAI-compatible endpoint; Claude subscription sign-in is not supported
46
+ * AI: The model credentials need a `model` naming the model to run, as the provider names it (e.g. `claude-sonnet-5-5`)
47
+ * AI: A turn's cost limit applies only where the AI runtime knows the model's price (OpenAI, OpenRouter, older Claude models); on Claude 5.5, Bedrock, Azure, Databricks and custom endpoints only the call limit bounds a turn
48
+ * AI: Web addresses the assistant writes as plain text, such as a documentation link, are clickable
49
+ * AI: Qwen, Kimi and Gemini models run through OpenRouter (Chat Completions) and Amazon Bedrock (Converse), and pick the matching skill more reliably
50
+ * AI: Spaces the assistant creates are real spaces, not plain projects
51
+ * AI: The assistant uses Datagrok's skills and server tools before reading the platform's source code, so non-Claude models answer with fewer steps
52
+ * AI: Deleting a project, space or file always waits for you to approve it on a confirmation card, even after you declined an earlier one
53
+ * AI: Box plots and pivot tables the assistant adds are split by the columns you asked for, and the averages and medians it reports skip missing values
54
+ * AI: On GPT models the assistant works through its skills and the view's functions instead of searching the platform's source code, and answers a question about the data without detours, in about a quarter fewer steps
55
+ * AI: Web search and web page reading now go through the free tiers of Exa, Parallel, Firecrawl and Keenable (third-party search services)
56
+ * AI: A missing or invalid API key is now reported within seconds instead of minutes, and model errors appear as errors rather than as the assistant's answer
57
+ * AI: A chat goes on after the runtime loses its agent process (killed, out of memory): the next prompt continues from the stored history
58
+ * AI: A `!command` shows exactly the command's output, without a remark the model makes before running it
59
+ * AI: Project saves now drive the platform's Save Project dialog through new dialog AI functions (`getProjectSaveInfo`, `setProjectName/Description/SaveMode/PresentationMode`, entity-list `listEntities`/`setEntityAction`/`setDataSync`; Share dialog: `getShareInfo`/`addShareGrantee`/`setShareAccess`/`setShareMessage`) — the datagrok-projects skill was rewritten around this flow, replacing hand-written `grok.dapi` saves
60
+
61
+ * AI: Fixed duplicate action execution (e.g. the same viewers added twice). Root cause: verify assertions written as bare expressions evaluated to `undefined` inside the async wrapper, reading as a failed verify with no diagnostics, and the "action did NOT take effect" gate feedback then pushed the model to redo the (already applied) action. Single-expression assertions are now auto-wrapped in a `return`, an assertion returning `undefined` reports a self-explanatory error, and the verify-gate feedback plus the datagrok-exec skill now forbid redoing state-changing actions before re-reading live state
62
+ * AI: A passing in-round-trip exec self-verify now clears the Stop gate like a standalone `datagrok_verify` pass — turns with an earlier unverified action no longer pay a pointless hidden revision after a later verify already passed
63
+ * AI: A chat reopened from the history, after a page reload too, continues its runtime session, tool results included, while the runtime still has it; otherwise its transcript (with the code each `datagrok_exec` ran) goes to the runtime with the first prompt, so "reproduce what we did" works either way
64
+ * AI: Answering an assistant question now gives immediate feedback — the Submit button disables ("Submitted") and the working spinner reappears at once instead of dead air until the next runtime event; the spinner hides while the question awaits the user
65
+ * AI: The turn watchdog no longer kills turns that are legitimately waiting on the browser — a user taking >90 s to answer an AskUserQuestion, or a long-running `datagrok_exec`, previously hit the 90 s idle kill ("The assistant stopped responding")
66
+
67
+ * AI: The system prompt now (softly) prefers a targeted widget's own quick functions for viewer-targeted requests — "zoom in to the scatter plot" resolves via `list_view_widgets` → the viewer's `zoomIn` rather than property edits or `datagrok_exec` code. Backed by new Dart-side quick commands (short names + anchored `searchPattern` regexes, surfaced through `getFunctions()`) on ten d4 viewers: scatter plot, line chart, bar chart, histogram, pie chart, box plot, density plot, PC plot, tree map, and 3D scatter plot (`zoomIn`/`zoomOut`/`resetView` where the viewer supports it, plus `xBy`/`yBy`/`colorBy`/`sizeBy`/`splitBy`/`stackBy`/`valueBy`/`categoryBy`/`aggregationType`/`chartType`/`bins` per viewer)
68
+ * AI: EVERY d4 viewer (28 types verified in a live browser sweep) now carries an `aiDescription` briefing, and the remaining interactive ones got commands too — `xBy`/`yBy` (matrix/trellis/confusion matrix), `innerViewer` (trellis), `pivotBy`/`groupBy` (pivot), `predictionBy` (ROC), `fromBy`/`toBy` (network diagram), `dateBy` (calendar), `lanesBy` (tiles), `colorBy` (sparklines, shape map), `addFilter`/`resetFilters` (filters panel), `refresh` (correlation)
69
+ * AI: Core widgets are now AI-drivable beyond dialogs/tabs/accordions — column selectors (`setColumn`), range sliders (`getRange`/`setRange`), viewer legends (`listCategories`/`selectCategory`), property grids (`getProperties`/`setProperty`), per-column filters (`resetFilter`), membership editors (`listMembers`/`addMember`/`removeMember`); plus xamgle surfaces: Browse panel tree navigation (`listNodes`/`expandNode`/`selectNode`), chemical sketcher (`getMolecule`/`setMolecule`/`clearMolecule`), console, favorites, functions widget (`searchFunctions`). Conventions documented in d4 `CLAUDE.md` "AI Integration" — key structural fact: inputs, tree nodes, tag editors, and popups are not `Widget`s, so they are projected through their host widget's `getFunctions()`
70
+
71
+ * AI: Widget-level introspection — `aiDescription` and `getFunctions()` moved from views down to the platform `Widget` (Dart d4 `Widget`, js-api `Widget`/`DartWidget`/`Viewer`; the legacy `grok_View_Get/Set_AIDescription` interop is removed in favor of the `Widget` pair), so any widget can brief the assistant; new `list_view_widgets` meta-tool returns the current view's widget tree (ref/type/briefing/function count), and `list_view_functions` / `get_view_function_result` / `call_view_function` take an optional `widget` ref to target a sub-widget; `buildWorkspaceContext()` now includes sub-widget briefings
72
+ * AI: Standard core widgets are AI-drivable — dialogs brief themselves with their title and expose `getDialogInfo` / `setInput` / `clickButton` (so the assistant can fill and confirm dialogs opened by entity commands), tab controls expose `listTabs` / `selectTab`, accordions `listPanes` / `expandPane`; open dialogs appear in `list_view_widgets` as `dlg<N>` roots even though they live outside the view's DOM subtree
73
+ * AI: Entity gallery views (Dart `DataSourceCardView` subclasses — users, groups, roles, projects, dashboards, connections, queries, scripts, dockers, packages, files, and 20+ more) ship shared AI functions from the base class (`listItems`, `searchItems`, `selectItem`, `listItemCommands`, `runItemCommand`, `refreshItems`) plus per-view briefings and extras (e.g. connection details, role membership ops, container status), all reachable through the view-function meta-tools
74
+
75
+ * AI: The grounding gate's post-answer Stop-block is now **content-aware**, after a 36-turn A/B (4 help + 2 data prompts × 3 reps × gate on/off) showed **0 of 14 blocks ever changed an answer** — the system-prompt rule makes the model read the docs in both arms, while the block doubled trivial contextual answers (2 API calls → 1, 7.6 s → 3.6 s measured) and flashed "Revising…". The block now fires only when the visible answer makes platform UI-instruction claims (click/menu/dialog/"go to"…) without a source opened this turn — the one case it was built for. `Skill` invocations now count as grounding (the prompt names skills a source of truth, yet skill-grounded answers were paying a block), and a per-turn `gates: {grounding, verify}` override supports future A/Bs without a rebuild
76
+ * AI: Context diet, measured end to end on the 52-prompt suite (`benchmark-diet-full` vs `benchmark-sonnet-clean`, 44 shared prompts): **median turn 26.6 s → 17.9 s (−33%)**, TTFT 17.9 s → 14.4 s, median cache-read per turn 92 k → 56 k, prompt prefix 27,977 → 17,637 tokens/call — at **unchanged accuracy (39/44 in both arms)**, plus 8/8 on the new `entities` category. Three levers, below
77
+ * AI: Pure small talk ("hello", "thanks", "ok") no longer arms the grounding gate. The gate block cost a full hidden revision call just to hear NO_REVISION, and past 1.2 s the panel showed "Revising…" over a greeting — with a dashboard open the panel prepends workspace context, so the check strips that block (anchored on its fixed header, fail-closed for user-typed `---`) before classifying. Measured on "hello": 2 API calls → 1, 9.3 s → 6.0 s, no revision phase
78
+ * AI: `ClaudeRuntimeClient.query()` now times out (default 120 s) instead of waiting forever when its socket or the runtime goes away; the benchmark judge also retries once so a transient judge failure cannot flip a correct answer to failed
79
+ * MCP: Collapsed the 34 datagrok MCP tools into **five domain tools** — `datagrok_functions`, `datagrok_files`, `datagrok_projects`, `datagrok_spaces`, `datagrok_platform` — each dispatching on an `op` argument, mirroring the meta-tool pattern the view functions already used. Every operation schema previously sat in the model's prompt prefix on every turn; now the description carries only the operation *names* and a call with no `op` returns that domain's full parameter schema, so nothing became undiscoverable. Measured with `dev/harness/context-probe.mjs`: **3,847 → 1,061 tokens per API call**, a 72% cut of that block
80
+ * MCP: Tool results are now compact JSON, paged (50 items, `offset`/`limit`), and capped. A result is not a one-off cost — it stays in the transcript and is re-read on every later hop of the turn, so one naive unpaged `list` used to tax the whole turn
81
+ * AI: The verify gate now reads the **`op`** to decide whether an MCP call mutated anything. With one tool per domain the tool name no longer says: `datagrok_spaces` is both `list` and `delete`. Classification stays fail-closed — an unrecognised op counts as an action, so the gate over-asks rather than letting an unverified mutation through
82
+ * Benchmark: Added an **`entities`** category (8 prompts) covering the server-side MCP surface, which the suite had no coverage of at all — the tool consolidation could have broken every server-side operation and an arm would still have reported 39/44. Their asserts read the server through `grok.dapi` rather than the view, and delete anything they create
83
+ * Benchmark: Added `dev/harness/context-probe.mjs`, which attributes the per-turn prompt prefix to its contributors by ablation. Two corrections were needed to make its numbers mean anything: the prefix is `input + cacheRead + cacheCreation` (reading `cacheRead` alone measures how the cache broke, not how much context there was), and it must be divided by `numTurns` because SDK usage is cumulative over every API call in the turn — before normalizing, thinking looked like a 2× context regression when it was really a second API call
84
+ * AI: Fixed the inlined-skill frontmatter stripper, which was written LF-only while the skills are checked in with CRLF — it matched nothing, so every inlined skill's YAML header was shipped in the system prompt on every turn
85
+ * AI: Updated the `datagrok-projects` and `datagrok-chem-toolkit` skills, which still instructed the model to call tools removed by the consolidation (`create_project`, `share_project`, `get_function`). Skills are prose and nothing type-checks them, so a test now asserts no skill names a retired tool and that every skill has a routing description
86
+ * Dev: Added `dev/mcp.mjs`, a local mcp-server container built from the working tree, so the op registry can be iterated on without an image rebuild and redeploy; `dev/check.mjs` now builds and tests the mcp-server too
87
+
88
+ * Dev: Added a headless dev loop for `claude-runtime` (`dev/`) — runtime changes no longer need an image rebuild, a browser or a Datagrok instance: `dev/runtime.mjs` runs a local container with `dist/` and `plugin/` bind-mounted; `dev/check.mjs` is one command for compile + unit tests + suite lint + a live turn
89
+ * Dev: Added `dev/harness/drive.mjs`, a fake-browser WebSocket driver that exercises the real runtime (system prompt, MCP servers, gates, revision protocol, session resume) while answering browser tool calls from a per-case stub table. Reports which tools a turn called in order, browser round-trips, the code each `datagrok_exec` ran, TTFT/total, and SDK token/cost
90
+ * Dev: Added the first unit tests for the runtime, covering the Verifier and GroundingGate state machines, the fence-aware stream filter, and help-index generation
91
+ * Benchmark: Fixed scoring defects that made runs non-comparable — a prompt failing every rep scored as *unscored* rather than failed (dropping it from the denominator); the judge saw only the last rep while latency was measured across all of them; `await` in an assert was a silent failure and an async IIFE a guaranteed false positive; an assert that threw was indistinguishable from a model failure
92
+ * Benchmark: Asserts now run after a settle delay — a Filters-panel filter applies asynchronously, so every `t.filter` assertion was previously a race
93
+ * Benchmark: `tool_activity` now carries the bare tool `name`, so assertions can check *which path* a turn took (e.g. that entities were rendered as cards rather than prose-listed)
94
+ * Benchmark: `runBenchmark(label, reps, model)` can pin every turn to one model, producing control arms for a model-routing comparison without redeploying the runtime; reports gained a per-difficulty rollup, cost-per-passed-prompt, raw assert pass rates, and a broken-assertion section
95
+ * AI: A wedged turn can no longer hang a runtime container: a watchdog bounds the silence between agent events (not the turn's length), and 90 s with nothing emitted ends the turn with a clear message and kills the agent process
96
+ * AI: Added a reaper for agent processes orphaned by a finished turn: the watchdog only covers a turn still in flight, and a wedged process could otherwise outlive the query that started it
97
+ * Benchmark: Added `dev/harness/introspect.mjs`, which evaluates one expression in a logged-in tab — the way to settle "is the assert wrong or is the model wrong?" against the live API. It immediately found two harness bugs the suite had been attributing to the model: a box-plot assert reading a non-existent `categoryColumnName` (the real properties are `categoryColumnNames` / `category1ColumnName`), and a rubric demanding the answer 1274 where the correct count is 878. `lint-suite.mjs` now warns on any rubric that hardcodes a number
98
+ * Benchmark: Added `dev/harness/run-benchmark.mjs` — drives a full arm headlessly through Playwright against a running instance (dev-key login, page-context call, progress heartbeat from the balloon feed) and writes the report into `files/benchmarks/`, so results land in the repo instead of a Downloads folder. The benchmark can't use the browserless T2 driver: its asserts read live `DG` objects that only exist in a tab
99
+ * Benchmark: A turn that streamed nothing, called no tool and reported no usage is now an **error**, not a scored failure — an on-demand container that is still booting answers instantly with nothing, and the old harness recorded that as a model regression. Runs now also block on a readiness probe before the first measured turn
100
+ * Benchmark: `runBenchmark` takes an `only` filter (comma-separated categories, difficulties, or prompt substrings) so validating a suite change or probing one tier no longer costs a full 44-prompt arm; partial runs are stamped in the report so they can't be mistaken for full ones
101
+ * Benchmark: `compareBenchmarks` is N-way (comma-separated labels) rather than pairwise — a model-routing question has at least three arms, and reading it as two diffs hides where routing landed. Adds accuracy per difficulty tier, and shows the pass mark next to each per-prompt time so an arm that got faster by quietly failing is visible
102
+ * Benchmark: Reports gained a per-category rollup and a **failure section** naming what failed and why (every-rep error / assert pass rate / judge score and reason, plus the tools the turn used) — a red cell said only *that* something failed
103
+ * Benchmark: Rewrote the suite (19 → 44 prompts, tiered trivial/standard/hard) and strengthened every assertion from an existence check to a correctness check — previously every scored prompt passed at rate 1.0 in every recorded run, so the accuracy axis carried no information. Added `dev/harness/lint-suite.mjs` to validate the suite before a run spends quota
104
+
105
+ * AI: Fixed markdown tables rendering as glued pipe-text in chat — models emit `**Section**` directly followed by `| header |` rows, which the platform's spec-strict GFM parser refuses (a table cannot interrupt a paragraph); the renderer now inserts the missing blank line before table blocks (fence-aware), in both streaming and final render. Also added a paragraph break between pre-tool and post-tool text segments ("…check those.No, there…")
106
+ * AI: Gate blocks (grounding / verification) now run a background revision instead of double-answering or flashing drafts — the streamed answer stays visible, the revision streams hidden (runtime suppresses its chunks after the block), a "Revising…" status appears only if it takes a while, and the model decides the outcome: it writes a complete replacement (swapped in atomically on `final.revision: 'replaced'`) or replies `NO_REVISION` to keep the original untouched ('kept'). Block-reasons are reframed as internal feedback (never mention/quote it — fixes the leaked "the hook feedback doesn't apply…"), backed by an "Internal feedback" system-prompt rule
107
+ * AI: Help grounding is index-first — the runtime generates `workspace/help/INDEX.md` (path + title + description + keywords per published page, from the docs frontmatter; regenerated at startup and after each workspace sync), and the system prompt + GroundingGate now prescribe Read-the-index → Read-the-page instead of grepping 500+ files; WebFetch/WebSearch and `js-api/` reads now count as grounded, and the repo's `CLAUDE.md`/`.claude`/`.kg` are excluded from staged user workspaces (a measured help-turn timeout mechanism). Targets the measured 8–33 tool round-trips per help turn (see docs/LATENCY.md)
108
+ * AI: `datagrok_exec` self-verifies — a new optional `verify: {assertion, description}` parameter runs the verification assertion in the browser right after the action code (fresh scope, same round-trip) and returns it as `verified`; a passing one satisfies the Verifier, dropping the separate `datagrok_verify` model round-trip that made 2 round-trips the floor for every action turn
109
+ * AI: Enriched all ~440 published help pages with frontmatter `keywords` (searchable synonyms and task phrases) and one-line `description`s; ~110 legacy pages got proper frontmatter with their body H1 promoted to `title`
110
+ * AI: Added a latency/accuracy benchmark harness (`docs/BENCHMARK.md`) to put numbers on every LATENCY.md lever — `Grokky:runBenchmark(label)` drives a golden prompt suite (`files/benchmark/suite.yaml`, ~20 prompts across help/visualization/analysis/codegen/multitool/query) through the real runtime pipeline, timing TTFT/total/tool-round-trips per turn, reading the SDK token/cost usage now forwarded on the `final` event, scoring each prompt (deterministic assert + Haiku judge), and downloading a JSON+Markdown report; `Grokky:compareBenchmarks(a, b)` diffs two runs into a delta table. Latency/context metrics work immediately; token/cost columns need a claude-runtime image rebuild
111
+ * AI: Prompt suggestions (empty-state cards + wand icon) now appear on any view, not only table views — the always-applicable "Anywhere" and "Code generation" blocks show from the home screen; view/column blocks still self-add when a table is open
112
+ * AI: Expanded and diversified the table-view prompt suggestions (empty state + wand menu) — added semantic blocks for sequences, 3D structures, potency (IC50/EC50/concentration), geospatial, money and free text, plus themed whole-table blocks (Visualize, Analyze & model, Time trends, Clean & transform); blocks and individual suggestions self-hide when the data lacks the required column, and a new `isDateTime` slot filter enables time-series suggestions
113
+ * AI: Ambiguous suggestions no longer make the assistant guess — parameter-dependent ones (substructure/motif search, similarity reference, calculated-column formula, custom viewer, choropleth metric, data search) now post their clarifying question straight into the chat as the assistant's reply via a new `immediateResponse` suggestion field (no AI round-trip); the user's answer then runs the task with the intent carried forward as context. "Open a demo dataset" uses a new client-side `action` field to render an inline choice block in the panel (Demographics / SPGI / curves / beer / random walk) that reads like an assistant reply; picking one removes the block, opens the table, and posts an "Opened …" note, and the block is dismissed if the user moves on to a new prompt
114
+ * AI: Views brief the assistant — new `View.aiDescription` (js-api `ViewBase`/`View`, Dart `View` with JsViewHost forwarding) carries a short what-this-view-is + which-functions-to-call note, prepended to every prompt as "About this view"; query and script editors ship one
115
+ * AI: `list_view_functions` matching is now OR-ranked (functions matching more query words rank higher) — AND-matching returned nothing for multi-word queries; a zero-match response now says how many functions the view actually has
116
+ * AI: View functions replace view AI tools — the assistant now works with the platform's `getFunctions()` (registered `DG.Func`s applicable to the view: `meta.viewType` functions, Dart view overrides, JS views via `view.jsView`) through three static meta-tools (`list_view_functions` search with ≤10 results, `get_view_function_result`, `call_view_function`), so views with hundreds of functions no longer bloat the context; `getAITools`/`AIViewTool`/`viewAIToolsProvider` are removed
117
+ * AI: Restored empty-state prompt suggestions on table views — the singleton panel now resolves suggestion cards against the live current view (was pinned to its creation view) and refreshes them on view switches
118
+ * AI: Query editor — removed the dedicated DB panel and catalog selector; the assistant now works on the query view through tools: `getQueryInfo` / `setQueryAndRun` (Dart-native) plus SQL schema exploration and test-execution tools (`list_db_*`, `get_db_table_details`, `get_sql_test_result`)
119
+ * AI: Script editor — removed the dedicated scripting panel and language selector; the assistant reads/writes the open editor via `getScriptCode` / `setScriptCode` and infers the language from the script header
120
+
121
+ * AI: The AI panel is now a single persistent assistant — switching views no longer swaps panels or resets the conversation; workspace context (current view, all open views, all tables) is rebuilt fresh on every prompt
122
+ * AI: `datagrok-exec` / `datagrok_verify` blocks run against the live current view, so code targets views Claude just opened (e.g. a joined table) instead of the view the prompt started from
123
+ * AI: Query-editor AI assistant no longer force-opens the AI panel when a query view opens — it registers and shows only on its toggle icon; it's disposed with its view
124
+ * AI: Script-generation panel became a singleton rebound to the script view whose AI icon invoked it — one scripting conversation across script views
125
+
126
+ * GROK-18695: Dependency security updates — refreshed lockfile so dev-only puppeteer no longer pins the runtime ws at a vulnerable 8.17.0 (DoS/memory-disclosure advisories)
127
+ * GROK-18695: Docker: raised security floors (VEX) — claude-runtime: deb12 upgrade, npm@latest refresh, pip/setuptools bump, hono/@hono/node-server/ws floors, dropped unused workspace JDBC jars; mcp-server: express-rate-limit/fast-uri/path-to-regexp/qs/ip-address overrides
128
+ * GROK-20054: Report: Error: Claude runtime container is not running
129
+ * AI: Fixed query/script view going blank (tab unselected) on first click when switching back to it with the AI panel open — defer the panel dock/undock until after the view switch settles
130
+ * AI: Replaced the 15-min skill/agent sync poll with an on-demand, TTL-gated refresh of packages + shared connections — idle sessions no longer sync
131
+ * AI: Fixed shared-connection files that fail to download (e.g. invalid JSON) re-downloading on every sync
132
+ * AI: Voice input — while a prompt is being processed the loader shows a `Say "cancel" to stop` hint, and saying "stop"/"cancel" aborts the run instead of being sent as a new prompt
133
+ * AI: Fixed Enter key not submitting prompts in Chrome ≤ 50 / Dartium (no `KeyboardEvent.key`)
134
+ * AI: Prompts claimed by Datagrok's built-in handler now show a green "Handled natively" check instead of a Responses block
135
+ * AI: Ctrl+[ / Ctrl+] cycle through the current session's prompt history
136
+ * AI: Replaced the "Responses" accordion with a hover-only minimize icon that collapses a reply block to one line
137
+ * AI: Chat panel CSS now works in Chrome 50 — replaced flexbox `gap` with sibling margins, added `-webkit-` fallbacks for `filter` / `user-select` / `mask-image`
138
+ * AI: Unified the bottom controls row icons — same size, larger spacing, subtle hover background
139
+ * AI: Copy / thumbs-up / thumbs-down icons under a reply now appear only on hover of that message
140
+ * Added `src/polyfills.ts` (Chrome 50 / Dartium) — `crypto.randomUUID`, `Object.values`/`entries`/`fromEntries`, `String.prototype.trimStart`/`trimEnd`, `Array.prototype.flatMap`, `Element.prototype.append`/`prepend`/`replaceWith`; routed clipboard writes through a `copyToClipboard()` helper with an `execCommand` fallback
141
+ * AI: Added a Run button to the ribbon of file views opened from `MyFiles/agents/scripts/`
142
+ * AI: Added wand icon to open curated prompt suggestions menu (loaded from suggestions.yaml)
143
+ * AI: Assistant messages now show a code icon and a rerun icon for executed exec code
144
+ * GROK-20649: Scripts: Ribbon panel disappears when switching between tabs (Layout, Debug)
2
145
 
3
146
  ## 1.0.4 (2026-02-01)
4
147
 
5
- * GPT: Azure compatible client
148
+ * Grokky: Azure compatible client
6
149
  * AI: Made a namespace, made a nested config, improved namings
7
150
  * Got rid of "latest" versions
8
- * GPT: Refactor to Vercel AI
151
+ * Grokky: Refactor to Vercel AI
9
152
 
10
153
  ## 1.0.1 (2025-12-18)
11
154
 
12
- * ChatGPT: Move stuff to proxy
155
+ * Grokky: Move stuff to proxy
13
156
 
14
157
  ## 1.0.0 (2025-12-17)
15
158
 
16
159
  ### Features
17
160
 
18
- * ChatGpt: Invoking function and chains of functions
19
- * ChatGPT: Fuzzy matching
161
+ * Grokky: Invoking function and chains of functions
162
+ * Grokky: Fuzzy matching
20
163
  * AI: Powersearch Search AI features
21
- * ChatGPT: Add structured output and reuse Gemini session to avoid recreating on each call
22
- * ChatGPT: AI sql
164
+ * Grokky: Add structured output and reuse Gemini session to avoid recreating on each call
165
+ * Grokky: AI sql
23
166
 
24
167
  ### Bug fixes
25
168