Skip to content

v1.2.2

Choose a tag to compare

@github-actions github-actions released this 10 Sep 02:46
9b01b27
  • Fixed five ways the editor could lose or overwrite what you typed, all in
    the same save path. Toggling focus mode rebuilt the editor from the scene
    as it was on load, discarding every edit since; entering ZEN did the same.
    The last few keystrokes were dropped when you went back to the library,
    jumped to another work from search, opened Threads or Settings from the
    palette, or pressed Cmd/Ctrl+R, because the pending autosave was
    cancelled rather than flushed. A failed save replaced the whole screen
    with an error and unmounted the editor with your unsaved text in it; it is
    now a line beside the editor, and a version conflict says so in its own
    words. A save that finished after you had typed again marked the scene
    clean, so an external change could reload over the newer text; the
    editor now tracks an edit revision and only clears the flag for the
    revision it actually saved (ZEN never set the flag at all — it does now).
    And batch replace checked the scene's version before writing but wrote
    unconditionally, so a save landing in between was overwritten; the write
    is now version-checked too
    (#103,
    #104,
    #105,
    #106,
    #107).
  • Trimmed the descriptions of three MCP tools — linetta_apply_story_ops,
    linetta_edit_skill and linetta_read_skill — that had grown to restate
    their own JSON schema (field lists, an apology for having no list tool) on
    top of the workflow guidance an agent actually needs. Measured by
    MeasureToolBudget, the three together dropped from 8,282B to 7,120B, and
    the full 19-tool set a built-in or external agent is handed dropped from
    27,687B to 26,525B. The workflow sentences that only live in these
    descriptions — outline-structural batches are all-or-nothing and return
    undo_batch_id, entity/thread/beat/fact/memory changes are not
    batch-undoable, scene prose goes through linetta_write_scene instead —
    are unchanged. Part of #90
    (#132).
  • A scene the agent wrote can now be reverted from its tool line, the same
    way an outline batch already could. The agent panel only offered an undo
    button when a tool call returned batch_id, but linetta_write_scene and
    linetta_revise_scene — the agent's most common action — return
    snapshot_id instead, so the "click undo on the line you just watched
    change" flow the design doc promises never fired for prose — tracked as
    #112. The panel now
    offers undo whenever a line carries either.
  • Restoring a single work from a backup now brings its work notes back with
    it. 1.2.0 added per-work work notes (agent_memory, scope
    work_notes) but MergeProject, the per-work restore path, copied only the
    work's own tables and left memory out, so a restored work came back with
    its notes silently empty — tracked as
    #116. The startup
    recovery screen, which replaces the whole library file, was never affected.
    The global writer profile stays with the library and is never copied or
    duplicated by a per-work restore.
  • Fixed a skill whose file is gone from <app data>/skills/ being
    unreachable in Settings → Skills — no row, and no way to see it ever
    existed. The daily backup still does not carry that folder, only
    library.db (VACUUM INTO, nothing else under the data directory), so
    that has not changed; what changed is that skill_snapshots' own row for the
    name — landed by every write and delete, whether or not its file survives —
    is now something the pane can reach. Settings → Skills lists any such name
    under "Skills that survive only in history," and opens the same history
    panel and the same restore button every other skill uses: skills.restore
    could already recreate a skill from a version row, it just had no name to
    restore (#119).