Skip to content

feat(import): preview agent data by source during setup - #1469

Merged
nixuuu merged 2 commits into
devfrom
feat/first-run-import-ux
Nov 29, 2026
Merged

nixuuu merged 2 commits into
devfrom
feat/first-run-import-ux

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

New users can preview data on their worker before setting up an agent. The first-run and setup screens open the same review. Threads, skills, instructions and other settings each have a collapsed group with a selection count. Users can clear the selection, search within a group, filter by source and select matching suggestions across pages. The confirmation summarizes all selected groups.

  • Import Antigravity CLI full transcripts and the active Pi or Oh My Pi session branch as read-only threads. These threads can exist before the owner configures a matching instance.
  • Discover global instructions and skills for the three agents. Preserve shared skill provenance through deduplication and expose a filter for ~/.agents/skills. Assets without a supported installation target can be saved unassigned.
  • Keep older workers and gateways interoperable. Migration 0238 extends the accepted sources and constrains ACP threads without a configured instance to their imported history.

Verification

  • Exercised first run, setup, manual Settings entry, preview, filters and confirmation in Chromium against an isolated gateway, PostgreSQL and worker. Synthetic CLI homes contained 260 threads and 119 library items. Selecting shared skills across pages produced 50 skills. Confirmed an actual one-turn import from each of the three new agents. Failure, partial-scan and conflict UI cases used injected responses.
  • Exercised 1280×800, 390×720, 780×435 and 320×480, keyboard focus and worker switching. Native Electron and mobile device runtime remain outside the local verification scope.
  • Ran focused worker scanner/reader tests, gRPC import, library and database migration tests, affected typechecks and lint. Both linked-computer consolidation tests passed locally, including an actual transfer of an imported Pi transcript without an ACP instance. CI runs the full repository gate.

Copy audit

The former “Import” entry now says “Preview import”. Groups identify their contents and selected counts; the source picker names shared skills by their directory. Confirmation identifies the selected items. Empty states point to filters or another worker. Reviewed changed labels, glossary, sentence case and length, error recovery, duplication, action verbs and keyboard-accessible text. Checked wrapping with long worker names in narrow windows.

Format support

Antigravity history requires transcript_full.jsonl from the CLI. Sessions stored only in its database are skipped. Pi and Oh My Pi import the active branch. On a shared session path, old records indistinguishable from Pi are listed once as Pi. Continuing an imported Pi or Oh My Pi history in a new thread requires one matching available instance on the source worker.

@nixuuu
nixuuu enabled auto-merge (squash) November 29, 2026 14:35
@nixuuu
nixuuu merged commit eda7bde into dev Nov 29, 2026
25 checks passed
@nixuuu
nixuuu deleted the feat/first-run-import-ux branch November 29, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant