Skip to content

Restored tabs, Search view, type chat opening and scratch-HOME daemon (batch c14) - #4221

Merged
mstomar125 merged 6 commits into
mainfrom
batch-c14
Nov 2, 2026
Merged

mstomar125 merged 6 commits into
mainfrom
batch-c14

Conversation

@mstomar125

Copy link
Copy Markdown
Contributor

Four desktop-app fixes, one commit each.

  • Restored tabs: tab state is saved under a per-database key; on launch the database store restores the resolved database's tabs after the registry is known and before the workspace mounts, dropping node tabs and type-view tabs the daemon does not resolve (settings, search, date and unreachable-daemon cases are kept; hydrateNode stays as the last-resort guard). A remembered database id the daemon has not registered already fell back to the default; a test now pins that.
  • Search view: the keyword half of the human-facing search returns root nodes only (walked best-first, stopped at the limit); the agent and CLI paths do not use it. A Search tab keeps its term on the tab, so returning re-runs the search, and each tab has its own term. Pane placeholder and empty text now say what is searched.
  • Type chat opening: the chat view drops only a trailing bullet list (a clarify message's chips) instead of everything after the first paragraph; describe_schema renders the parent type and each field owner as [Name](nodespace://id) links.
  • Scratch HOME: the launchd plist now carries HOME / NODESPACE_HOME when they differ from the account's, so the daemon the app registers resolves the same home; run-app skill updated.

Closes #4197
Closes #4198
Closes #4199
Part of #4202

#4202 is Part of: the cause (launchd gives the daemon the account's real HOME and none of the app's variables) is established by reading the code and fixed for macOS, but I could not launch the Tauri app with a scratch HOME on this machine to confirm no file lands in the real home. The Linux systemd unit does not forward these variables, and WKWebView storage is not relocated by HOME (documented in the skill).

Checks: cargo fmt, clippy workspace all-targets (-D warnings), core title_matches / schema::description / embedding_service / schema_chain_blindness_guard tests, daemon bound_chat tests, app-lib daemon_setup tests, full bun run test (335 files), eslint on touched files, svelte-check.

🤖 Generated with Claude Code

mstomar125 and others added 6 commits November 2, 2026 12:23
…e per database

Tab state is stored under a key that includes the database id, so one
database's tabs are never restored into another. The database store restores
the resolved database's tabs once the daemon registry is known, before the
workspace mounts, dropping node tabs and type view tabs that the daemon does
not resolve. A remembered database id the daemon has not registered already
falls back to the default; a test pins that.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The keyword half of the human-facing search matched child paragraphs; it now
returns roots only, walking the ranked hits and stopping at the limit. A Search
tab stores its term on the tab, so returning to it restores the term and re-runs
the search, and each tab keeps its own.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The chat view cut any message with options to its first paragraph; it now drops
only a trailing bullet list, which is what a clarify message's chips replace.
describe_schema renders the parent type and each field owner as node links.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
launchd starts the daemon with the account's home, so an app run under a scratch
HOME or NODESPACE_HOME had its daemon create the registry and database in the
real home. The plist now carries HOME and NODESPACE_HOME when they differ from
what the job would get; the run-app skill states what a scratch launch does and
does not relocate.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@mstomar125
mstomar125 merged commit ff92655 into main Nov 2, 2026
@mstomar125
mstomar125 deleted the batch-c14 branch November 2, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant