Skip to content

ioBroker/ioBroker.javascript

Repository files navigation

Logo

Javascript Script Engine

Number of Installations Number of Installations NPM version

Test and Release Translation status Downloads This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

Executes Javascript, Typescript Scripts.

Documentation

Changelog

9.2.4 (2026-06-08)

  • (arteck) Performance optimizations part 2
  • (arteck) fix filter in tab scripts
  • (@GermanBluefox) Fixed a subscription leak on script stop for RegExp-notation string ids (dispatch index)
  • (@GermanBluefox) extendObject no longer throws into the script when the object contains non-clonable values (e.g. functions)

9.2.3 (2026-05-27)

  • (arteck) Performance optimizations done
  • (@GermanBluefox) Added on mouse over the value of the state

9.2.2 (2026-05-07)

  • (Eistee82) Fix: AI chat mode tooltip no longer covers the dropdown options (issue #2201) — moved tooltip to the left of the selector
  • (Eistee82) Clarified the AI chat mode descriptions in the tooltip: Agent is for larger models with tool support and handles both analysis and script creation, Code is for smaller models without tool support (uses two-step plan-then-code) — translations updated in all 11 languages
  • (@GermanBluefox) Added the "is state exists" block to blockly

9.2.1 (2026-04-30)

  • (@GermanBluefox) See previous changelog entries

9.2.0 (2026-04-30)

  • (@GermanBluefox) Agent keys are encrypted now. You must enter your keys anew!
  • (Eistee82) AI API keys are now stored encrypted and only used server-side (encryptedNative + protectedNative); the frontend never sees them
  • (Eistee82) Code Lens above every top-level function/class/arrow with 💡 Explain | 🔧 Refactor | ✅ Tests actions
  • (Eistee82) Inline Chat Widget (Ctrl+Alt+I) directly in the editor with response preview and Apply button
  • (Eistee82) Inline diff for AI "Show diff": only the targeted lines change as red/green, the rest of the script stays untouched; Accept replaces just those lines
  • (Eistee82) Six VS-Code-like AI actions in the Monaco editor (right-click menu, Ctrl+Alt+I/E/R/C/F shortcuts, and /explain, /refactor, /comment, /fix, /tests, /ask slash commands with German aliases)
  • (Eistee82) Hover over an ioBroker object ID in any string literal to see a rich tooltip with object metadata and the current live state — works without AI
  • (Eistee82) Anthropic agent mode (native tool_use/tool_result blocks) and 10 new Monaco editor tools so the AI agent can read/navigate/edit the live editor
  • (Eistee82) search_datapoints covers every object type (channels, devices, folders, enums, …) and matches on role; get_object_info lists children for containers — fixes finding aliases/motion-sensors modeled as channels
  • (Eistee82) Non-chat model filter expanded (embeddings, image/audio/video/TTS, transcription, moderation, web-search, Ollama single-task models, …)

License

The MIT License (MIT)

Copyright (c) 2014-2026 bluefox dogafox@gmail.com,

Copyright (c) 2014 hobbyquaker

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Packages

 
 
 

Contributors