Skip to content

v0.53.0

Choose a tag to compare

@ThorstenBrach ThorstenBrach released this 08 Nov 17:10
· 115 commits to main since this release

[0.53.0] – 2026-11-08

The built-in knowledge in this version is TcAgent_Knowledge 1.1.0.

Fixed

  • Own windows and dialogs (update, About, the knowledge dialogs, Ask from code, confirmations) show the TcAgent icon instead of the one of the IDE.
  • New code without a specification: outside a workflow the agent could create new functions without asking. Now TcAgent
    asks once per chat at the first new FB, program, function or method: go on without a specification, or clarify first.
  • The question about the specification follows the answer language of the chat (German or English), and the chat asks the agent
    to write what a person reads in a question, a specification or an advice in that language too, also as tool arguments.
  • Knowledge window: an item that waits for a plugin, a module or another TcAgent showed ✓ applies. It now shows ✗ needs …,
    the column Why says what is missing.
  • tc_check and TcAgent.exe check said OK despite compiler errors in solutions with several PLC projects, for example a
    program and a TcUnit project. The next PLC project clears the messages of the one before, and the error list was read only at
    the end, so only the last project counted. The list is now read after each PLC project; the same for analyze, tc_static_analysis and for
    tc_build checkAll=true, which also lost the messages of the build.
  • tc_test_results showed 0 failed in every suite and named no failed test. TcUnit writes the details of a test in
    several messages, the parser expected one line. A failure of a run that a reset cut off is no longer listed twice.
  • tc_lib_signatures ignored version: it returned the version the project resolves, labelled and cached it as the requested one.
    Another version now comes from the library export, with a note. Wrong cache entries are ignored.
  • tc_activate and tc_runtime_mode returned before the PLC could be read. They now wait for TwinCAT and the PLCs and report the
    states. tc_activate says when the target of the project changed. tc_runtime_mode warns if a PLC is in another state than before
    config mode.
  • tc_errors: runtime messages with their time, really sorted, and max means the newest ones.
  • tc_plc_online: a login says whether something was loaded (nothing, online change, full download). The state comes from the port of
    this PLC on the target of the project, not from port 851 of the local system.
  • tc_open waits until the TwinCAT project is loaded, instead of reporting that there is none.
  • tc_hmi no longer takes an HMI project from a folder next to the solution: it only names it. Projects in solution folders are found.
  • tc_io_scan says that no scan was made outside config mode, instead of "No I/O devices found".
  • tc_library action=resolve: the name alone is enough, and the answer is the effective version instead of *.

Added

  • Update notice with what is new: the notice of a new version shows the CHANGELOG.md sections of every version between the
    installed and the newest one (also versions that were never released on their own), not only the short text of the release.
  • Knowledge window: every list sorts by a click on a column header (again: the other way), and keeps the order when it is read again.
    Switching a module on or off reads the files again at once, so items that wait for it show it without a refresh.
  • Knowledge window: a … button picks a folder in the dialogs New source / Edit source and Levels (company, team, platform repositories; with several, it adds one). An empty name of a new source takes the name of the folder or repository.
  • Knowledge window, deleting a source: asks whether the items installed from it go as well - unchanged ones are uninstalled (a copy goes to the backups), ones you changed are kept as your own version.
  • Advisor (Shadow): an agent that reads and advises, never changes. tc_advisor keeps advice with evidence and a ready
    order in the project (.tcagent\advisor), a run is read only (TcAgent refuses every change). TcAgent.exe advise runs it
    without a window at night or after a failed pipeline, /advise in the chat. The Knowledge window has a tab Advisor: rate
    with one click, Act on it … puts the order into the chat and marks the advice sent; the agent marks it done when the work
    is proven, or you do. Advice can be deleted from the list. Several advice can be selected and rated, marked done, deleted or
    sent to the chat as one order at once. docs/ADVISOR.md
  • Review of a whole project: workflow project-review and prompt /review-prj - deterministic checks over everything first,
    then the structure, deep reviews of at most 10 hotspots, a report with a traffic light per area; findings become advice.
    TcAgent.exe advise --trigger project runs it without a window, e.g. once a month.
  • Advisor (Live): at the running plant, read only. /advise-live in the chat, TcAgent.exe advise watch notices a PLC or
    the runtime leaving Run, an exceeded cycle time and the fault signals of .tcagent\advisor-watch.json (by hand or in the
    chat), and starts a run with --run. A plugin brings its diagnosis skill and signals in an advisor.json. Before it reads
    code it checks that the project matches what runs (project name and build time on the PLC, newer sources, unsaved changes).
  • Knowledge follows the modules: skills, workflows, prompts, rules and lessons can name the modules they need
    (tcagent-requires-module: scope). While one is switched off they show needs module and do not take effect. Items that only
    name tools of a switched-off module stay active, with a note in the lists.
  • Specification before code: the new checkpoint spec-ok in the workflow new-feature. The agent interviews you, TcAgent then asks
    you itself to confirm the specification or to skip it, and until then the run writes no PLC code.
  • Agent guide: a result counts only with a tool output from after the last change, and a check-and-fix loop stops after 3 rounds
    or when the same error comes back.
  • Built-in knowledge TcAgent_Knowledge 1.1.0: workflows bug-fix, safe-activation, online-change, refactoring,
    library-update, io-commissioning; skills plc-spec-review, plc-fix-compile, plc-alarm-diagnosis, plc-traceability,
    plc-multi-review, plc-st-patterns, plc-skill-authoring, plc-retro; 14 prompts for them.
  • Skills, workflows, prompts, rules and lessons can name the plugin they need: tcagent-requires-plugin in their metadata, with versions
    (line-check >=1.2 <2.0). Without a fitting plugin that is ready and switched on, the item cannot be installed from a
    source, pull does not update to it, and an item already there shows needs plugin and does not take effect.
    The lists of skills and workflows say what is missing. tcagent-requires-tcagent: >=0.53 does the same for the version of
    TcAgent, for items that use something older versions do not have.