feat: show all Claude projects as dormant characters in the office - #310
Open
fabiand93 wants to merge 25 commits into
Open
feat: show all Claude projects as dormant characters in the office#310fabiand93 wants to merge 25 commits into
fabiand93 wants to merge 25 commits into
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Spec for showing all Claude Code projects from ~/.claude/projects/ as offline characters in the Pixel Agents office, with per-project skill assignment via a configure modal. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Export extractCwdFromJsonl and decodeDirname for public use - Make extractCwdFromJsonl async with Promise<string | null> return type - Return [] instead of filtering existingProjects when ~/.claude/projects/ missing - Return [] instead of existingProjects in readdirSync catch block Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Wire hermesProvider alongside claudeProvider in AgentRuntime and PixelAgentsViewProvider; fix js-yaml namespace import to resolve TypeScript errors; update default-layout-1 to layoutRevision 2; minor Direction type annotation fix in officeState.
- extractCwdFromJsonl: drop hook_event_name check; return first record with a non-empty cwd string field (matches real Claude Code JSONL format) - setDormantProjects: add usedSeatIds Set + findFreeUnusedSeat() to prevent multiple dormant chars stacking on the same seat - _startProjectsWatcher: use local debounceTimer ref in callback; clarify that null _projectsWatcher on throw allows retry on next webviewReady Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@fabiand93 is attempting to deploy a commit to the pablodelucca's projects Team on Vercel. A member of the Team first needs to authorize it. |
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
~/.claude/projects/and show them as dim, grayscale characters in the office even when no Claude session is runningWhat's new
dormantProjectScanner.ts— scans~/.claude/projects/, extracts real workspace paths from JSONL, merges with config, capped at 20 most-recently-activedormantProjectsLoaded/availableSkills/updateDormantProject— new message types (defined inasyncapi.yaml)DormantCharacterin OfficeState — separate map from active agents, rendered dim+grayscale in the same Z-sorted passProjectModal— skills chips, autocomplete from~/.claude/skills/, hide buttonfs.watchon~/.claude/projects/with 500ms debounce for live updatesTest plan
~/.pixel-agents/config.jsonnpm run test:server→ 249/249 passnpm run compile→ clean build