Skip to content

0.8.0

Latest

Choose a tag to compare

@lucahascher lucahascher released this 02 Dec 20:31
· 2 commits to main since this release

Steer the agent while it works, and let it remember what it learned.

New

  • Memory across chats. The agent remembers what makes daily work faster – how you work, facts about your
    environment (which schema holds what, how you deploy and test, special database settings) and techniques it
    worked out with effort – and uses it in every later chat. There is one memory for all chats and projects on this
    PC, since what belongs to a "project" is hard to say when everything is connected.

    • The agent saves entries itself with the new tool save_memory, usually once at the end of a task; say
      "remember …" or "forget …" to control it yourself.
    • It stays tidy: one topic per entry, each at most 800 characters. A new entry on a known topic is merged with
      the old one, which it replaces (replaces). If a new entry looks like an existing one, the agent is asked right
      away to merge them. Outdated entries are removed (remove). A full memory (8,000 characters) takes nothing new
      until the agent has consolidated it.
    • Entries that look like passwords or connect strings (user/password@db) are refused; personal data and table
      contents must not be saved.
    • The entries go into the system prompt as notes, not instructions: the request, the rules and what the agent
      sees in the database come first. Helper agents (run_subtask) get them too, read-only. A change rebuilds the
      system prompt once, at the next request.
    • Settings → Memory: switch it off (it is then neither used nor changed; the entries are kept), Keep Entries
      (days)
      deletes entries not saved or updated within that time (0 = keep), and the list shows every entry with
      its kind and date and lets you delete it, plus Delete All Memories. The file is
      %LOCALAPPDATA%\PlsqlDevAgent\memories.json; several PL/SQL Developer instances can use it at the same time.
    • A final answer sent together with save_memory (and the last task update) ends the request, like a final answer
      with the last task update did before, unless saving asks for a merge.
  • Messages while the agent works. The input box stays usable during a request: type a message and press
    Enter (or the send button next to Stop). It waits in a queue above the input box, and the agent reads it after its
    current step – when the tool calls it is running have finished – before it decides on the next one. Use it to add
    information you forgot, correct a wrong assumption or tell the agent to leave something alone, without stopping
    the request and losing its work so far.

    • The message appears in the chat where the agent read it, marked during the run. It belongs to the request it
      was sent in: Retry and rewinding go back to the request before it.
    • Sent while the model writes its final answer (no step left to read it after), it becomes the next request as
      soon as the answer is complete. In that case PL/Pilot does not continue on its own with open tasks; your message
      comes first.
    • Several messages sent during one step reach the agent together. @mentions in them are attached as usual.
    • Click a waiting message (or press ↑ in the empty input box) to take it back into the input box and edit it; ×
      removes it. Esc stops the agent as before; waiting messages then go back into the input box instead of being
      sent, and the same happens after an error.
    • A slash command (/review, a skill, an MCP prompt) waits until the request has finished and then runs as a
      request of its own, in the order you sent it.
  • /skill. /skill name text starts a skill like /name text. If there is no such skill (yet), PL/Pilot reads
    the skill folders again and downloads the skills of the configured web addresses again, then starts it – a skill
    the team just published on its share or server is usable at once, without waiting for the 15-minute refresh. If
    it still cannot be found, the message names similar skills and the ones that exist (and web addresses that could
    not be reached); a switched-off or broken skill says so. /skill <address> installs the skills found at a web
    address (zip, skills.json index or SKILL.md), in a folder, a zip file or a single SKILL.md into your personal
    skills folder, with their other files; a skill of the same name there is updated, broken ones are listed with the
    reason. The same limits and path checks as for web skills apply. /skill alone lists your skills. Listing and
    installing work while the agent is busy; starting a skill waits in the queue like any other command.

Fixed

  • The agent now asks you to decide instead of deciding itself. ask_user (a question card with answer buttons)
    existed since 0.5.0 but was never used: in 589 model turns of a test log it was called 0 times, and 28 of 122 final
    answers ended with a question in plain text. The rules told the model to "say what you need" and stop, and the base
    prompt to "ask a short clarifying question". With duplicate customers the model kept the lowest id on its own
    (losing the rows with a phone number) and then asked in text whether to run the DELETE; asked to change "the order
    mail procedure" with two candidates, it changed both without asking.
    • The rules now say: decisions that only the user can make – which way, which of several objects, which data to
      keep, whether related code changes too – are asked with ask_user and 2–4 options (recommendation first), and
      the request goes on with the answer; never as a question at the end of the text, never decided silently. The base
      prompt and the tool description say the same.
    • A question written at the end of an answer while tasks are still open no longer gets the generic "tasks are
      still open" nudge: the model is asked to put a real decision into ask_user or to continue without asking.
    • An answer that ends by asking permission for the change it proposes ("Soll ich diese Löschung durchführen?",
      "Shall I run this?") gets one nudge: no permission is needed (every change is shown for approval), but a choice
      hidden in the proposal – such as which of differing duplicates to keep – is to be asked with ask_user first;
      then the change is carried out if the user asked for it, otherwise the agent ends. Offers of something extra
      ("Soll ich auch einen Index anlegen?") are left alone.
    • While a question card is open, text typed into the input box answers it (the placeholder says so); before, it
      would have waited in the new queue for a step that cannot end without the answer.

Notes

  • A message is read after the current step, not in the middle of it: while the agent waits for your approval or a
    long statement runs, the message waits too (the approval card's feedback field still answers the agent directly).

For developers

  • AgentSession: Enqueue / RemoveQueued / TakeQueued, LastOutcome; queued messages go into the conversation
    as a user message starting with [Message from the user, sent while you were working, which LastUserIndex
    skips like the auto-continue prompts. IAgentUi.QueuedDelivered; page messages queue, user_queued,
    user_retract, queue_remove.
  • Harness: new group QueueChecks (13 checks: order of commands and messages, placeholder and queue button, the
    message after the tool result of the step, its place in the chat, Retry without it, a message during the final
    answer as the next request, × and ↑, Stop puts it back); mock model flows QUEUETEST, QUEUEFINAL/QUEUEFOLLOW,
    QUEUESTOP and the delay marker SLOWQUEUE.
  • In-IDE self test mode QUEUE-LLM: the configured model in PL/SQL Developer with a message queued during a lookup
    (its own table PDA_QUEUE_STAFF, dropped afterwards), one queued during an answer without tools, and Stop.
  • Memory: Agent/Memory.cs (MemoryStore: file, named mutex, atomic writes, retention, prompt sections, similarity
    check) and Agent/Tools/MemoryTools.cs (save_memory); settings MemoryEnabled (default on) and
    MemoryRetentionDays (default 0), also in the team settings. Harness group MemoryChecks (20 checks) with mock flows
    MEMSAVE, MEMSIMILAR, MEMFINAL, MEMFORGET, MEMUSE. In-IDE self test mode MEMORY-LLM (remember, merge, use
    in a new chat, forget); it refuses to run unless PLSQLDEVAGENT_DATA points to a test folder.
  • /skill: Agent/SkillCommand.cs (resolve and pull, list, install; CommandException ends a request with a plain
    message); RemoteSkills.Fetch downloads into any folder. Harness groups SkillCommandChecks (11 checks) and
    AskUserChecks (5 checks: the rules, an answer typed into the input box, the nudge after a question in the text;
    mock flow ASKTEXT). In-IDE self test mode ASK-LLM: duplicate customers and two matching procedures, question
    cards answered with their first option.

Tested

  • Harness (simulated IDE, scripted model): 341 checks passed; German run 21 checks passed.
  • PL/SQL Developer 17 with gemma4:31b (Ollama) and Oracle 23ai Free:
    • the regular in-IDE self test: 204 tool tests passed;
    • QUEUE-LLM: 8 checks passed. The first run showed that the model treated "Also tell me …" as the new task and
      dropped the original question from its answer; the note in front of a queued message now says that the original
      request still applies, and the model answered both;
    • MEMORY-LLM: 5 checks passed – two facts saved as two entries, an addition merged into the existing entry with
      replaces, the convention used unasked in a new chat, one entry forgotten on request;
    • ASK-LLM: before the fix 0 of 2 scenarios asked (the model kept the lowest id silently and changed both
      procedures); after it 2 of 2 asked with ask_user – the procedures from the rules alone, the duplicates after the
      permission nudge.
  • Not tested with DeepSeek.