Repository navigation
feat(studio): L08b import sheet for YAML/JSON agent specs - #1079
Merged
Merged
Conversation
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ImportSheet+useImportPreviewundersrc/screens/agents/import/: paste YAML/JSON or pick a.yaml/.yml/.jsonfile (1 MB cap, staleFileReaderguard viareadVersion), 400 ms debounced preview throughruntimeClient.previewImport, andnew/copy/replacemodes with per-moderesolvedIdhints./agents/<id>/overview.previewImport/importAgentdead-code suppressions fromruntimeClient.ts.Stacked on #1078 (L08a import routes).
Test plan
useImportPreview.test.tsx— debounce, stale responses, blank input, error mappingImportSheet.test.tsx— preview render, clash/mode hints, disabled reasons, replace selector, success nav + toast, error stays open, reset on close, stale file readsnpm test --workspace apps/agent-forge -- --run— 238 files / 3999 tests greennpm run typecheck --workspace apps/agent-forgecleannpm run fallowclean for touched filesGenerated with Devin