Skip to content

Commit 03883a9

Browse files
Eistee82claudeGermanBluefox
authored
feat: AI Chat panel with Blockly integration, tool calling, and multi-provider support (#2195)
Adds a new AI Chat panel to the script editor with support for OpenAI, Anthropic, Gemini, DeepSeek and custom API providers. Features include tool calling for datapoint/script analysis, inline completions, smart-apply with undo/redo, and Blockly code generation. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Bluefox <dogafox@gmail.com>
1 parent 2a8ff4c commit 03883a9

File tree

87 files changed

+10447
-6434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+10447
-6434
lines changed

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,11 @@ Executes Javascript, Typescript Scripts.
2727
### **WORK IN PROGRESS**
2828
-->
2929
### WORK IN PROGRESS
30+
* (Eistee82) AI Chat panel with multi-provider support, tool calling, inline completions, and smart-apply
3031
* (Eistee82) Fix: prevent duplicate 'Stopping script' log when script is not running
3132
* (Eistee82) Fix: only restart scripts on the instance that owns them
3233
* (Eistee82) Added OID display mode toggle for Blockly editor: 4 display modes (Name, Name path, State ID, Full ID) with toolbar dropdown, context menu, optional object icons, and translations in 11 languages
33-
* Per-provider test buttons in adapter config (OpenAI, Anthropic, Gemini, DeepSeek, Custom API)
34-
* Optional API key field for custom base URL providers (e.g. Ollama without auth)
35-
* Provider icons on test buttons and in model dropdown
36-
* Human-readable HTTP error messages with API response details
37-
* Two-step AI code generation: plan first, then generate code
38-
* Collapsible plan view in AI code generator UI
39-
* Status display during generation ("Planning..." / "Generating code...")
40-
* Optimized prompts with code examples for better results with small local models
41-
* Compact API reference (docs-compact.md) for reduced context usage
42-
* Disable reasoning/thinking for local models (reasoning_effort: none)
43-
* TODO_DEVICE_ID placeholder when a required device is not in the device list
44-
* Node 25 compatibility: replaced deprecated rmdirSync with rmSync in build tasks
45-
* Flexible result area height in AI code generator (no extra scrollbar)
46-
* Added translations for all 11 languages
34+
* (Eistee82) Node 25 compatibility: replaced deprecated rmdirSync with rmSync in build tasks
4735
* (@GermanBluefox) Added support for plain import/export
4836
* (@GermanBluefox) Correcting error in configuration
4937
* (@GermanBluefox) disallow writing into node_modules folder by scripts

admin/assets/AiChatPanel-DrmaMjdp.js

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

admin/assets/AiDatapointProvider-B0i3I5Fm.js

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

admin/assets/AiDiffView-RPozjjHf.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/assets/AiInlineProvider-Dd7eKxk4.js

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

0 commit comments

Comments
 (0)