Skip to content

feat(cli): scope session listing to workspace#15

Merged
lroolle merged 5 commits into
mainfrom
feat/workspace-scoped-sessions
May 21, 2026
Merged

feat(cli): scope session listing to workspace#15
lroolle merged 5 commits into
mainfrom
feat/workspace-scoped-sessions

Conversation

@lroolle

@lroolle lroolle commented May 21, 2026

Copy link
Copy Markdown
Member

Summary

  • Scope default session listing and pickers to the current workspace instead of scanning all projects by default
  • Add shared catalog/query helpers plus display/scope helpers for CLI commands
  • Include provider lookup improvements and regression coverage for workspace-scoped behavior

Context

This branch was already merged into v0.next-plus-1 via #13, but origin/main does not contain the workspace-scoped session-listing commits yet.

Verification

  • Not run in this pass; PR opened after branch/merge-state audit.

lroolle and others added 5 commits May 9, 2026 02:45
- TestRenderMessages_SidechainShowsAgentTypeAndStats: verifies agent
  type name (Explore), description, token count, tool count, and
  lines added from toolUseResult appear in rendered sidechain headers
- TestGroupSidechainsByAgent: groups by agentId, preserves order, skips
  empty agentId
- TestMatchSidechainsToToolUse: positional matching, agent type/description
  enrichment from tool_use input
- TestMatchSidechainsToToolUse_NoGroups: nil safety
- TestMatchSidechainsToToolUse_MoreDispatchesThanGroups: no panic when
  dispatch count exceeds sidechain file count
- TestParseToolUseResult_Object/String/NoAgentID/Empty: json.RawMessage
  handling for string vs object toolUseResult

Export ToolStats type for test access.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…igger satellites

Kiln audit fixes:

Nav sidebar: replace side-stripe accent (anti-pattern) with background
tint using --event-subagent token. Smaller font, tabular-nums count.

Sidechain group: replace hardcoded #86c + side-stripe with semantic
color-mix tints from --event-subagent. Flex header with auto-margin
meta. Remove border-left accent.

Timeline rail: spine gets data-tick-count + --tick-count CSS var for
height-adaptive clamping (short sessions compact, long sessions fill
viewport). Satellite markers 3px -> 5px so color hue is perceptible
per Weber's law.

All hardcoded #86c replaced with var(--event-subagent) — one place
to change agent accent across nav, rail, turns, and sidechain groups.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… vertically centered

Nav sidebar: agent entries now render inside the exchange group that
dispatched them (after the Agent tool_use child), not appended at the
bottom. Uses renderNavSidechainEntries to check each nav child for
matching sidechain groups via the same scMap positional lookup.

Timeline rail: flexbox vertical centering (display:flex + align-items:
center on the rail, computed height on spine via --tick-count * 12px).
Short sessions sit centered in the viewport instead of stretching
sparse ticks across the full height. Long sessions fill naturally and
cap at the available space.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lroolle lroolle merged commit 887ff17 into main May 21, 2026
2 checks passed
lroolle added a commit that referenced this pull request May 25, 2026
feat(cli): scope session listing to workspace
lroolle added a commit that referenced this pull request May 25, 2026
feat(cli): scope session listing to workspace
lroolle added a commit that referenced this pull request May 25, 2026
feat(cli): scope session listing to workspace
lroolle added a commit that referenced this pull request May 26, 2026
feat(cli): scope session listing to workspace
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