Repository navigation
0.6.0
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.
Upgrade notes
- Version 0.6.0. Install as before; settings and chats are kept.
- No parallel execution is on after the update. Switch it off under Settings → Safety if you want the agent's
queries to use parallel execution. - If PL/SQL Developer becomes unresponsive while the agent works, turn on Separate session (Settings → Safety)
and set PL/SQL Developer's session mode to Multi session or Dual session (Preferences → Oracle →
Connection). PL/Pilot shows a notice in the chat when this applies. - You do not need to raise Max tokens for large packages.
Known limitations
- Without a session of its own the agent's SQL still runs on PL/SQL Developer's main thread: a single long statement
blocks the IDE for as long as it runs. Only the separate session avoids that. edit_object_sourceneeds the changed lines exactly as stored in the database; the model reads them with
get_object_sourcefirst. Wrapped (encrypted) units cannot be changed.- Unsaved SQL windows without a file are told apart only by their editor; the agent describes all of them as
"SQL window". - In one of three test runs with a real model, the agent's program window came to the front after an edit. A second
window of the same package was open from an earlier step. This did not happen again, and the direct tests always
pass. - Parallel execution could only be checked on Oracle 23ai Free, which has no parallel servers: the tests confirm
the statements Oracle received (all withNO_PARALLEL), not prevented parallel execution itself. On your database:
v$session.pq_statusof the agent's session showsDISABLED.
Tested
- Harness (simulated IDE, scripted model): 239 checks passed, including the new ones for switching windows during a
request, compiling from the editor,edit_object_source, cut-off tool calls and "No parallel execution". - In PL/SQL Developer 17 against Oracle 23ai:
- SQL-ONLY: 48 checks passed.
- ANALYSIS-ONLY: 80 checks passed.
- Editor windows and large units: 15 checks passed (reading and writing a window in the background, including a
4,002-line package body). - No parallel execution: 8 checks passed.
- Freeze measurement: the numbers above.
- Real model (gemma4:12b via Ollama): it changed one procedure of a 4,002-line package body without sending the
package, with a 4-line diff in the approval card, and edited its program window while another window was in front.
All three checks passed in the final run. - New self-test modes for developers:
FREEZE-MEASURE,WINDOW-ONLY,BIGUNIT-LLM,PARALLEL-ONLY; the harness
runs a single group of checks withHARNESS_ONLY=<group>.