Changelog
What changed, release by release.
Built from the CHANGELOG in the product repository, so it lists exactly what shipped. The current status of every capability is in the capability matrix under Docs.
What changed in each TIATool release, written for the people who use it.
[0.9.0] - 2026-10-18
The unattended release. TIATool no longer stops a task for approval: builds, imports, scripts,
downloads and restores run when the assistant calls them, and setup writes each AI client's own
"run without asking" rule for the TIATool server. Every write still takes a backup and is journaled, so
restore_backup takes any change back. Administrators who want a person asked set confirm_mode
(and allow_online: false to keep the AI off real PLCs) in a policy file.
Usability
TIATool no longer stops a task for approval. With no confirm_mode, builds, imports, scripts,
generic Openness changes, downloads and in-place restores run when the assistant calls them.
destructiveHint is false on every tool, and tiax-agent setup writes the clients' own "run without
asking" rule for the server (see client-auto-approve), so the client does not put an approval card in
front of each call. A policy sets confirm_mode
only when a person should be asked, and require_confirmation names extra tools for that ask.
The guided MCP prompts follow the same flow: no prompt waits for a "yes" or passes a confirm token any
more (commission_io and test_on_plcsim used to call plc_download "without a token to see the plan",
which now downloads straight away). README, the install, self-extension and security pages, the
knowledge base and the setup notes no longer promise an approval that does not happen.
AI clients
tiax-agent setupnow also lets TIATool's tools run without an approval prompt, with each client's own rule for this one server — never an "approve everything" switch:- Claude Code:
"mcp__tiatool"inpermissions.allowof~/.claude/settings.json($CLAUDE_CONFIG_DIR). - Devin Desktop (formerly Windsurf):
"mcp__tiatool__*"inpermissions.allowof%APPDATA%\devin\config.json. - Codex CLI:
default_tools_approval_mode = "approve"in[mcp_servers.tiatool](Codex 0.122+). - Gemini CLI:
"trust": truein the server entry. - OpenCode:
"tiatool_*": "allow"as the lastpermissionrule. - Cursor:
tiatool:*only into anmcpAllowlistyou already keep in~/.cursor/permissions.json. Setup no longer creates that file: it replaces Cursor's in-app allowlist and switches Auto-review off. - Claude Desktop, VS Code and Copilot CLI have no such rule in a file; setup prints the one choice to make.
Cline runs MCP tools without asking by default.
setup --removetakes the rule back with the entry. Files with comments are left as they are, with the line to add.
- Claude Code:
- New clients: OpenCode (
--client opencode,~/.config/opencode/opencode.json) and GitHub Copilot CLI (--client copilot,~/.copilot/mcp-config.json), both with a 600 s tool timeout; also in the installer. - Windsurf is registered where Devin Desktop reads it (
%APPDATA%\devin\mcp_config.json) once Devin Desktop is installed, and the old TIATool entry in the Windsurf file is removed, so it is not imported twice. Cline is registered in the file Cline 4.x reads (~/.cline/data/settings/cline_mcp_settings.json); an entry already in Cline's pre-4.x file is kept up to date, andsetup --removeclears both. Gemini CLI honoursGEMINI_CLI_HOME. - Setup never rewrites a configuration file that has comments: it leaves it as it is and prints the entry or
rule to add or remove. An explicit
--config-<client>path is the only file setup touches for that client.
Fixes
library_useworks with a global library and withupdate: the library selection types were looked up in the wrong Openness namespace, so both paths failed with "Value cannot be null".plc_downloadwithhardware=truenow answers TIA's "overwrite system data" prompt (before and after the download) instead of cancelling every hardware download.plc_downloadandplc_compare_onlinetaketarget_interface. With one target interface behind the PC interface it is used and named in the log; with several and none named, nothing is done and the names are listed (before, the first one was taken).plc_onlinelists the target interfaces.- Under a policy with
allow_online: false, a script (script_run,extension_run) that goes online, downloads or uploads (also when it callsCompareToOnline/GoOnlineby name), andopenness_invoke CompareToOnline, are refused likeplc_download: a policy refusal, journaled aspolicy_refused, decided before any approval is asked. With the default policy they run.script_checklists where a script reaches a PLC. TIATOOL_APPROVALSno longer moves the approvals folder while a machine policy is installed (the same rule asTIATOOL_POLICY); the server resolves the folder on every use, so a policy installed while it runs takes effect at once.task action=addtakesstatus=approved; thebuild_from_modelandcampaign_batchprompts start their tasks approved, andworkspace_statusno longer suggests stopping to review proposed tasks.- The policy template and reference say that
require_confirmationholds a tool even whenconfirm_modeis unset, and thatallow_onlinedefaults to true. - The installer and
build.cmdnever ship aSiemens.*.dll;tools/check_csproj.pyfails when git tracks a Siemens assembly or a copy of Siemens application example 108716692.
Fixes
- Post-write snapshots are named
yyyyMMdd-HHmmss-fff-<tag>and always sort as the newest. Before, several writes in one second got-2,-3… suffixes, and a name that pruning had just freed was reused: the newest snapshot then sorted as the oldest, so an implicit workspace kept one snapshot too many and the next prune removed recent snapshots instead of old ones (also from the tenth write in a second, and between writes with different task ids). Older snapshot names are still read and pruned in time order.
Knowledge
The knowledge base now records where the V19 and V21 Openness reference assemblies come from, which Openness operations TIATool does not automate (firmware change, silent download, station creation, drive writes, multiuser check-in), how a Portal Add-In differs from tiax, and the explain / review / propose order for one block.
0.9 release fixes
- Claude Desktop from the Microsoft Store is configured where it actually reads its settings
(
%LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude); before,setupwrote the classic%APPDATA%\Claudefile, which that build ignores. The installer now also ticks Claude Code. - The running-Portal guard no longer refuses our own work: a headless TIA Portal V19 starts a helper Portal
process of its own, which counted as "TIA Portal is running" (
UI_SESSION_OPEN) for scripts and extensions. watch_table_createcompiles and runs against Openness V19 and V21 (entries are created, then named).- Selftest: the alarm-text step passes on a PLC without text lists, the incremental-export step reads the current summary line, and an extension that needs one of several arguments is reported as "needs arguments".
- Tests no longer depend on a TIA Portal running on the build PC.
[0.8.0] - 2026-10-13
- No free tier. Without an active licence, TIATool refuses tools and verbs with
"activate or buy" (
tiax-agent license activate <key>, or EUR 99.99/month / EUR 999.99/year).doctor,setup,init,license,helpandversionstill run unlicensed. - Neutral, synthetic fixtures and examples throughout; workspace fields are now site/serial/standard
and templates carry
compliance_notes. - Website: two plans only; transactional mail via Unosend (
UNOSEND_API_KEY); Stripe live keys are refused outside production.
The self-extending, verify-first release. TIATool can now explore the whole Openness object model, run C# scripts against your project inside a transaction, and promote the ones that work into reusable extensions. Every write still goes through the same rails: preview, a person's approval, backup, write, journal, verify. On top of that: a policy file for administrators, approvals the AI cannot give itself, a tamper-evident journal, explicit PLC/HMI targets, incremental export, air-gapped licences, and a rebuilt website.
Safety
- No MCP argument can switch a rail off. Fixed: a crafted argument such as
build_from_source{delete_blocks: "--no-backup"}, or a value with a quote or trailing backslash, could reach the child process as an option and disable the automatic backup. Now:- every call is checked against the tool's schema before anything runs. Undeclared arguments, wrong
types, values outside an enum, missing required arguments and NUL characters are refused with a
message naming the argument. A value that starts with
-is refused, except in free-text fields (search text, notes, titles) that never reach a command line; - child processes get
--key=valuearguments only, on a command line escaped exactly the way Windows splits it; - a last check refuses to start a child whose arguments carry a rail switch (
--no-backup,--allow-tia-running,--in-place, ...).
- every call is checked against the tool's schema before anything runs. Undeclared arguments, wrong
types, values outside an enum, missing required arguments and NUL characters are refused with a
message naming the argument. A value that starts with
- Previews are previews.
dry_run/what_ifonly skip the licence, journal and verify on the tools that honour them (build_from_source,clean_sources,io_list_import,unified_build). On the command line, a--dry-run/--what-ifthat a verb would ignore (for exampletiax compile --dry-run) is refused with exit 64 instead of running for real. - Explicit PLC and HMI targets. In a project with several PLCs or HMIs, writes no longer pick the
first one. Name the target (
--plc/--hmi, MCPplc/hmi) on build, import-block, hmi, compile and scl-apply; an ambiguous target is refused withAMBIGUOUS_TARGET, an unknown one withNOT_FOUND, before anything changes. HMI screen and tag-table imports used to go into every HMI; they now go into the named one. A"station"inhardware.jsonmust exist (no more falling back to the first station that holds a PLC). - Downloads never reset data silently.
plc_downloadcancels a download that would re-initialise data blocks, or that can only download ALL blocks (every DB back to its start values), unless you approved it withallow_reinit. - Every write refuses while TIA Portal is open (
UI_SESSION_OPEN); reads can attach to the open UI instead (see Openness). - Fixed:
baseline_set name=".."could replace the snapshots folder; a task id could move a post-write snapshot out of the workspace; two writes in the same second shared one snapshot folder.
Understanding a project (offline, no TIA Portal)
- Truer answers. Block interfaces list their real sections only (nested struct/UDT members were
reported as extra sections, every member twice). STL networks count as unreadable (
opaque), so the readable percentage no longer overstates.who_writes_tag/who_reads_tagalways end with the blind spots they could not look into: STL, GRAPH, lossy reconstructions, know-how protected blocks. - Stable caches on every machine. Block ids no longer change between scans, line ends are LF, and device folders are read in a fixed order: the same export scans to identical files on Windows and Linux.
- Faster scans on multi-core PCs, with byte-identical output.
- Nothing missing silently. A failed watch/force-table group, external-source group or tag-table read error is now listed under NOT EXPORTED (exit 2) instead of only being logged.
- Docs export: "Called by" is filled in, and tag tables no longer appear in the block catalogue.
- Project text that goes back to the AI (comments, titles, HMI texts) is fenced as untrusted data, a mitigation against instructions hidden in a project.
Self-extension (new, Labs)
- Object-model explorer.
tiax openness <project> browse|get|set|invoke --path=...and the MCP toolsopenness_browse,openness_get(free),openness_set,openness_invoke(licensed, approved, backed up, journaled). Paths such asplc:PLC_1/BlockGroup/Blocks["Main"]@ProgrammingLanguagereach anything Openness exposes, in any TIA version. - C# scripts.
script_checkcompiles a script against your TIA version's Openness assemblies and checks it against a guard rail, with line:column diagnostics.script_runin read mode is free and runs inside a transaction that is never committed or saved. Write mode needs a licence and a person's approval, then backs up, commits only on success, saves, journals and verifies. The guard rail refuses processes, registry, network, code loading and file deletion; it is a guard rail, not a sandbox. - Extensions.
extension_list,extension_show,extension_runandextension_save(promote a script that ran, with provenance). Built-in pack: 43 live Openness scripts (watch/force tables, text lists, technology objects, software units, libraries, network, HMI connections and alarm classes, UMAC users and roles, PLC tags and UDTs, block attributes, cross-reference, catalog search; 7 of them write) and 10 offline cache queries. Your own extensions live in%APPDATA%\TIATool\extensionsor the workspace and override built-ins. cache_query: JavaScript over the scanned cache (time and memory limited, no .NET access).- Learning knowledge base:
knowledge_addrecords a fix;explain_errorand tool errors find it next time (marked "not reviewed"). - New MCP prompt
extend_tiatooland the guide docs/self-extension.md.
Openness depth and speed (Labs)
- Incremental export:
tiax export --incremental, MCPexport_project{incremental:true}. Only blocks, tag tables and types changed since the last export are exported again; deleted ones are removed. The verify after every write uses it by default, so it no longer re-exports the whole project. - Export mirror: an export into a git work tree (or over a previous export) removes the XML of
blocks you deleted or renamed and reports them;
.tiax-export.jsonrecords what was exported. - Project lifecycle:
tiax project create|archive|retrieve, MCPproject_create(licensed),project_archiveandproject_retrieve(free; retrieve only into a new folder). - Read-only attach:
--attachontiax export/tiax devices(MCPattach:true) reads through the TIA Portal UI that has the project open. - SCL edit loop:
scl_lint(free) checks a source for the problems TIA reports badly (three-part VERSION, unbalanced blocks, undeclared symbols, ...).scl_apply/tiax scl-applylints, backs up, generates through a temporary source that is deleted again, and compiles that PLC only.compile_project{block}/tiax compile --blockcompiles single blocks. Compiler messages come back structured, with knowledge-base hits. - WinCC Unified panels are compiled (they used to report "not compiled").
- Online compare (Labs):
plc_compare_online/tiax pro online-comparelists what differs between the project and the PLC; it never downloads.
Trust and policy
- Policy file.
%ProgramData%\TIATool\policy.json(administrators;/etc/tiatool/policy.jsonon Linux) over<workspace>\policy.json: allow/deny tools, read-only, online access, scripts (off/read/write), allowed project and output folders, tools that need confirmation, writes per hour, approval channel. A broken file refuses every write until it is fixed. Tools a policy denies are not even listed to the AI. New:tiax-agent policy showprints the effective policy with the file behind every value;tiax-agent policy initwrites a commented example. Examples: docs/security/policy.md. - Approval the AI cannot give itself.
plc_download, an in-place restore, write scripts, generic Openness writes and anything the policy lists ask a person: as a form in the AI client (MCP elicitation; the model never sees a token), or, when the client cannot ask, withtiax-agent approve <id>in a terminal. - Tamper-evident journal. Every entry records the Windows user, host, AI client and approval, in a
SHA-256 hash chain;
tiax journal verify|export [--csv]. The first write to a project now creates a workspace for it automatically, so journal and verify are on by default. - Tools carry MCP annotations (read-only, destructive, idempotent) and structured results.
Usability and CI
- Smaller tool lists.
tiax-agent mcp --toolset explore|generate|commission|admin|extend|all;explorelists 28 tools (~9k tokens of definitions) instead of 75 (~31k). Every tool stays callable, andfind_toolsearches the full catalog. - Eight AI clients.
tiax-agent setupregisters Claude Desktop, Cursor, VS Code, Claude Code, Windsurf, Cline, Codex CLI and Gemini CLI (--all= the ones installed). Backups are timestamped and never overwritten. For long calls in Claude Code setMCP_TOOL_TIMEOUT=600000. - Try it without TIA Portal:
tiax-agent init --demobuilds a sample workspace and registers it astiatool-demo. - Support: rolling logs in
%LOCALAPPDATA%\TIATool\logs,tiax-agent support-bundle(redacted, nothing uploaded),tiax-agent privacy(every endpoint TIATool can contact; no telemetry). - CI:
tiax-agent analyze audit|diff|verifyon caches or export folders, as SARIF, JUnit, Markdown or JSON; a GitHub Action (.github/actions/tiatool-analyze) and an example workflow. - Live selftest:
tiax selftest --livehas 23 steps; the new ones prove incremental export, project archive/retrieve, the explorer, script rollback and commit, the extension pack and the SCL loop on your machine. - Security: the agent's SQLite (full-text search) is updated to a version without the known high-severity advisory (GHSA-2m69-gcr7-jv3q).
Licensing
- Air-gapped PCs:
tiax-agent license request-offlinewrites a request file, the website returns a licence file,tiax-agent license importinstalls it (yearly, enterprise, offline and edu plans). - Licences refresh in the background, fail over between licence servers and work through
authenticating (NTLM/Kerberos) proxies.
tiax-agent update --checktells you about new releases; it never installs anything. restore_backuplisting and restore into a new folder are free (only in-place restore needs a licence).- Every 0.5–0.7 licence keeps working.
Website and customer account
- One marketing landing page: install in three real commands, what it does, self-extension, safety and
trust, an honest status summary generated from the capability registry, TIA version compatibility, a
dated and sourced comparison (including where the alternatives are ahead), pricing and FAQ. The old
standalone pages redirect to their section or to
/docs. - Every number comes from the product: tool count, capability statuses, the tool matrix, compatibility, changelog.
- A real customer account: sign up and sign in with an email link (confirmed by a button, so mail scanners cannot use it up; no account enumeration; rate limited), an overview with your own install and activation steps, licences (show/copy the key, seats, machines and their activity, remove a machine, regenerate the key, air-gapped licence files from a request file), billing (plan, renewal, invoices, Stripe portal, switch to yearly, more seats) and settings (profile, company and VAT for invoices, email change, sign out everywhere, data export, account deletion).
- Licensing and billing hardening: offline licence files keep their PC's seat until they expire and need a paid current period; refunds of seat or plan changes no longer suspend a licence; Stripe webhooks are processed exactly once even after a crash.
- Security headers on every page (CSP, HSTS, no framing, nosniff, referrer and permissions policies);
the installer checksum is pinned in the release metadata and
install.ps1stops on a missing or wrong hash instead of telling you to click "Run anyway". - Legal pages (terms, privacy, EULA, imprint) are drafts pending legal review.
- Deploy note: run
npm run db:migrate(migrations 002-004) before deploying the web app.
Hardening from the 0.8 security and correctness review
- Scripts cannot write, copy, delete or move files, start threads or timers, or use
dynamic; approval and policy files touched during any script run are restored and the run is refused (script_tamperin the journal). - An
extension_runapproval shows the extension's code and binds to its SHA-256; replaced code needs a new approval. - The
scriptslicence feature is enforced for write scripts and for saving write extensions. - Export mirroring and incremental export never act through symlinks or junctions; default mirroring removes only files the previous manifest lists; incremental export re-exports blocks whose types or called FBs changed.
- Engine reliability: one queue per session thread (a timed-out call cannot reset the next one), atomic licence saves with a refresh lock, script timeouts counted from the script's start, cleanup of the engine's own Portal processes after a crash, rolling baselines and snapshot pruning in implicit workspaces.
plc_compare_onlinereports "no differences" only when TIA says the root is identical.cache_queryrefuses oversized arrays and strings before allocating them.
Upgrade notes
- Argument rails. MCP calls with undeclared arguments, or with a value starting with
-outside free-text fields, are refused. On the command line,--dry-run/--what-ifon a verb that ignores it exits 64. - dry_run semantics. Only
build_from_source,clean_sources,io_list_import(dry_run) andunified_build(what_if) treat a preview as free; on every other tool the argument is refused. - Multi-PLC / multi-HMI projects need
--plc/--hmi(MCPplc/hmi) on build, import-block, hmi, compile and scl-apply. HMI imports go into the named HMI only. - Re-scan your caches. The cache record revision is now 2 (corrected interface sections, STL
opaque, stable ids). Older caches still load and ask for a re-scan (
tiax scanorrefresh_scan). - Online tools need a policy.
allow_onlinedefaults to false:plc_download,plc_onlineandplc_compare_onlineare refused and not listed until a policy allows them. As administrator:tiax-agent policy init --machine --allow-online; for one workspace:tiax-agent policy init --workspace <folder> --allow-online. - Approvals. Downloads, in-place restores, write scripts and Openness writes are approved by a
person through the AI client's form (elicitation) or
tiax-agent approve <id>. The old two-stepconfirm_tokenonly works under a policy with"confirm_mode": "in_band". - Journal and verify are on by default. Without a configured workspace, the first write to a
project creates one under
%LOCALAPPDATA%\TIATool\workspaces\and every write is followed by export → scan → verify (incremental).verify=falseskips it for one call;pipeline.incremental_export: falsein the workspace turns incremental export off. Pre-0.8 journals stay readable; the hash chain starts with the first 0.8 entry. plc_downloadand data blocks. A download that must re-initialise data blocks or download ALL blocks is cancelled unless you passallow_reinit=true(plusallow_stopwhen the CPU must stop).- Exports mirror in a git work tree or over a previous export: the XML of deleted blocks is
removed. Pass
--no-mirrorto keep it. - Client configuration. Re-run
tiax-agent setuponce: it removes the ineffectiveMCP_TIMEOUTentry it used to write. In Claude Code, setMCP_TOOL_TIMEOUT=600000in your environment.
Known limits of this release: the Labs features above have not yet run against TIA Portal; a licence
token's scripts feature is defined but not yet checked by the script tools (write is).