Repository navigation
fix(environment): explain library assignment and add bulk install - #504
Merged
Merged
Conversation
Filter empty metadata parts before joining marketplace, plugin, skill and instruction rows on web and mobile. Fixes: #118
This was referenced Nov 13, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 23, 2026
## Summary - Compute library row status from the reports for the matching skill, plugin or instruction harness. Keep the computer's aggregate status in Computers & preview. - Preserve category-wide destination errors and require a current worker report before showing Synced. - Cover the regression with an actual worker report where one installed skill has local edits and the other is synced. Update the agent environment documentation. Fixes: #504 ## Verification - `bun run check:tmp ./tests/integration/agent-skills.test.ts` (10 passed, no temp files left) - Lint and formatting on the two edited TypeScript files, plus `git diff --check`. - Full verification is left to CI. The exact error from the reported MacBook Pro was unavailable.
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.
Imported skills can already be in the shared library while remaining uninstalled. The previous “No computers” and plugin statuses did not explain assignment, review or linked deletion notices.
This change adds a compact library summary, explicit installation and review states, and single/bulk skill installation using the existing all/computers/tags selectors. Assigned rows list their computers and use the same Synced / Syncing / Error vocabulary as Computers & preview. Installation counts require current successful worker reports; pending assignments remain separate.
Web and mobile now offer installation targets during CLI import, defaulting to the source computer. The additive
ImportLibraryChoice.skill_selectorfield uses the existing owner-scoped skill save path. Replace preserves existing assignments. Bulk actions use sequential revision-checked saves, preserve computer overrides and expose partial results; no new bulk RPC or database migration is needed.Linked deletion notices explain shared configuration and offer Keep / Accept deletion plus bulk deletion resolution. Empty instructions and previews point to adding and assigning a document. Polish environment/import documentation is updated.
Validation
bun install,bun run gen:check,bun run typecheck,bun run lint,bun run format:check, and the web production build.bun run check:tmp: 2154 passed, 163 skipped, 2 failed, with no Canopy temp entries left. Failures werescripts/release.test.ts(“Release accepts the event SHA…”, default 5 s timeout) andtests/integration/linked-thread-liveness.test.ts(“an event sequence gap…”). Both files are unchanged. Rerunning those files throughcheck:tmp --timeout 30000passed 28 tests / 253 assertions with clean temp cleanup. The initial full run remains red; no baseline run was used to establish whether these failures predate this branch.bunx [email protected] fingerprint:generate --platform <ios|android> --build-profile production --json --non-interactiveproduced unchanged hashes: iOS6ddec9ef559ee0095ac33e94ff9418a942053b17, Android5f6eae3ab278f1cd543e9ed763f923a319b65ec9. No native device interaction was verified.Copy audit — docs/copy.md §8
New copy uses sentence case, active action labels, correct file plurals and text statuses. Errors and stale-library messages give a recovery action; bulk deletion confirmation names the shared-library and installation effects. Short, typical and long names were checked at desktop, narrow and phone widths in both themes. Status meanings do not depend on color or icons. No new humorous copy was added. Picker ellipses and the longer install-all label follow the explicit task wording.
Fixes: #118
Related: #455