Repository navigation
0.6.1
Fixes in how the agent works through a request, found while recording a demo with a local model.
Fixed
- The task list follows the work. Models tended to tick off every task only at the very end. After a change – or
three steps without an update – PL/Pilot now reminds the model in the newest tool result to update the list together
with its next step (no extra model turn). - No repeated final answer. When the model writes its summary and ticks off the last task in the same response,
the request ends there. Before, the model was asked once more and repeated the whole summary. - "I'll start by reading the ticket." – and nothing happened. A short answer that only announces the next step,
without a tool call, is now continued automatically (setting Auto Continue, with a notice in the chat). - No loop after a cut-off tool call. A tool call cut off by Max tokens is not executed and no longer counts as
progress, so "I will do X" after it is continued at most once instead of up to five times. - Compiling a local file no longer asks where changes go.
compile_plsqlfrom the editor window of a project file
(or withfile) puts exactly that file into the database, so the question "database, local files or both?" is not
asked (unless you chose Local files in this chat). If the window has unsaved changes, the agent tells you to save
it, so that the file matches the database. - Clearer context window notice: "Context window for gemma4:31b-32k set to 32,768 tokens (was 262,144). Source:
Ollama, model loaded." It used to read as if Ollama were the model.
For developers
- Self-test mode
PLAY:<prompt>for screen recordings of a demo: closes restored windows, runs a SQL file in a SQL
window (PLSQLDEVAGENT_AUTOTEST_PLAY_SQL; PL/SQL Developer's error dialog is shown and answered with No),
optionally opens a file (…_PLAY_OPEN), types the prompt visibly, approves each card after a pause
(…_PLAY_PAUSE_MS, default 3000), answers questions (…_PLAY_ANSWER), runs the SQL file again and leaves PL/SQL
Developer open. - MCP test server:
MCP_DATAloads more tickets and commits from a JSON file. - Harness: 245 checks (new: announced steps, task list note, final answer with the completed task list, no loop after
a cut-off call, compiling a local file without the question).
Tested
- Harness (simulated IDE, scripted model): 245 checks passed.
- In PL/SQL Developer 17 against Oracle 23ai, with gemma4:31b (Ollama, 32k context), company rules and an MCP ticket
server, a demo request (read the ticket over MCP, change the package, compile, test, comment on the ticket):- Earlier runs found the problems: tasks ticked off only at the end, a repeated summary (in two runs), and one run that
stopped after "Ich beginne damit, das Ticket AUF-4711 zu lesen" without a tool call. - Three runs with all fixes: the task list was updated step by step (e.g. 0/6 → 1/6 → 2/6 → 3/6 → 4/6 → 5/6 → 6/6), the final
answer appeared once, and the fixed package was correct in the database (checked after the first and the last run). - Two of them with the project folder: the agent found and opened the local file itself, changed it in the editor and
compiled it without the "where do changes go?" question. In one run the model then wrote the file itself, which
asked that question after all; the note to the model now says not to do that.
- Earlier runs found the problems: tasks ticked off only at the end, a repeated summary (in two runs), and one run that
- The new wording of that note was not run with a model again.
0.6.0 – 2026-11-25
This release fixes what got in the way in daily work: large packages that could not be changed, a frozen PL/SQL
Developer while helper agents ran, and an agent that lost track when you switched windows. It also adds a switch your
DBA will like: no parallel execution on the database.
Highlights
- Packages of any size: the agent changes a 4,000-line package by sending only the changed lines, and compiles
code straight from the editor window – it no longer has to write whole packages into its answer. - Keep working while the agent works: switch to another window – the agent stays with the window of your request
and changes it in the background; your window stays in front. - No more frozen IDE: PL/SQL Developer keeps reacting while helper agents run, even when the agent shares your
database session. - No parallel execution (new setting, on by default): the agent's SQL runs serially and takes no parallel
execution servers from the database. - Shorter approval cards: a compile of an existing unit shows only what changes, not the complete code.
New: changing large packages
Until now, changing a 4,000-line package failed. To compile it, the model had to write the complete package into a
single tool call – far more than its output limit (Max tokens, 8,192 by default). The call was cut off and not
executed, and the complete code could end up in the chat.
edit_object_source(new tool): changes a package, package body, procedure, function, trigger, type or type
body in the database by exact replacements – the model sends only the changed lines. PL/Pilot reads the current
source from the database, applies the changes, shows the diff for your approval and compiles the result like
before: previous version backed up, compiler settings kept, errors and warnings reported. Without an object type a
package or type is changed where the edits match (specification or body). Changing one line in a 4,002-line
package body takes about half a second including compilation.compile_plsqlnow takes the code in one of three ways: from the editor window of the request
(from_editor, e.g. afteredit_editor), from a file of the project folder (file), or as text (source, for new
or short units).- Approval cards show a diff: compiling a unit that already exists shows the changes against the database version
(Open Diff shows both versions in PL/SQL Developer). The card used to show the complete code, so a large package
filled the chat. New units are still shown in full. - Cut-off tool calls are no longer executed. The chat shows only their beginning together with a notice, and the
model is told to use the tools above. If the model server returns a cut-off call as plain text (DeepSeek's template
tokens such as<|tool▁calls▁begin|>), that text is hidden instead of appearing as the answer.
New: the agent keeps its editor window
The agent now works on the window that was active when you sent your request – or on the window it opened itself
(open_object, open_new_window, open_file_in_ide). If you switch to another window while the agent is still
planning or editing, it carries on with its window in the background and your window stays in front. The window is
found again by its editor and, if needed, by the object or file it shows. If you close it, the agent says so instead
of writing into another window. In its answers the agent names the window by its object or file ("the package body
EMP_API"), not as "the active window".
This applies to reading and editing the editor text, the selection, the result grid and compile_plsql from the
editor.
New: setting "No parallel execution"
On a shared development database with few CPU cores, one parallel query takes CPU from everybody. With
Settings → Safety → No Parallel Execution (on by default):
- the agent's own database session runs
ALTER SESSION DISABLE PARALLEL QUERY / DML / DDL; switching the setting off
restores Oracle's defaults; - every query and DML statement of the agent gets a
NO_PARALLELhint, andPARALLELhints the model writes are
removed (also in subqueries, never inside string literals) – including the statementsmeasure_sql,
explain_planand the runtime estimate run; ALTER SESSION ENABLE/FORCE PARALLELis refused, and the model knows that parallel execution is off.
If the agent shares your own session (Separate session off), PL/Pilot does not change your session; the hints
still apply.
Fixed: PL/SQL Developer froze while helper agents ran
The freeze happens when the agent has no database session of its own – the PL/Pilot setting Separate session
is off, or PL/SQL Developer runs in Single session mode. Then every statement of the agent runs on PL/SQL
Developer's main thread, and helper agents send statements almost without pause. PL/SQL Developer handled the
agent's queued work before keyboard, mouse and screen updates, so it could not react at all.
- PL/SQL Developer now handles input and screen updates between the agent's statements. Measured with three
helper-like loops for 12 seconds: before, the IDE could not react for the whole 12 seconds; now the longest pause was
0.2 seconds. - A notice in the chat says once that the agent has no session of its own, and how to change that.
- While the agent works,
agent.logrecords every time PL/SQL Developer does not respond for more than 2 seconds,
together with what kept it busy.
With its own session (the default), the agent's SQL runs in the background and helper agents do not slow down
PL/SQL Developer at all (measured: longest wait 1 ms).
Fixed: the progress spinner kept restarting
The spinner under the input jumped back to its start with every update. It now turns smoothly for the whole request.