Skip to content

feat(studio): L08b import sheet for YAML/JSON agent specs - #1079

Merged
LinuxDevil merged 1 commit into
mainfrom
fb-l08b
Nov 12, 2026
Merged

LinuxDevil merged 1 commit into
mainfrom
fb-l08b

Conversation

@LinuxDevil

Copy link
Copy Markdown
Owner

Summary

  • Adds ImportSheet + useImportPreview under src/screens/agents/import/: paste YAML/JSON or pick a .yaml/.yml/.json file (1 MB cap, stale FileReader guard via readVersion), 400 ms debounced preview through runtimeClient.previewImport, and new/copy/replace modes with per-mode resolvedId hints.
  • Wires the import action into the New agent menu and the Agents list empty state; success toasts and navigates to /agents/<id>/overview.
  • Removes the now-consumed previewImport/importAgent dead-code suppressions from runtimeClient.ts.

Stacked on #1078 (L08a import routes).

Test plan

  • useImportPreview.test.tsx — debounce, stale responses, blank input, error mapping
  • ImportSheet.test.tsx — preview render, clash/mode hints, disabled reasons, replace selector, success nav + toast, error stays open, reset on close, stale file reads
  • npm test --workspace apps/agent-forge -- --run — 238 files / 3999 tests green
  • npm run typecheck --workspace apps/agent-forge clean
  • npm run fallow clean for touched files

Generated with Devin

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@LinuxDevil
LinuxDevil changed the base branch from fb-l08a to main November 12, 2026 04:48
@LinuxDevil
LinuxDevil merged commit 8c2d193 into main Nov 12, 2026
6 checks passed
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