Skip to content

fix(web): tour shown once; Tools page lists the packages deployed agents carry (CL-8504) - #902

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-8504-tour-tools
Sep 18, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-8504-tour-tools

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • The first-run tour's close (X) button fires react-joyride's action: "close" without ever moving status to FINISHED/SKIPPED, so markTourSeen never ran and the tour replayed on the next mount. handleCallback now also persists on ACTIONS.CLOSE, and both localStorage reads/writes report through reportError.
  • The Tools page no longer reads the stale corbits-tools package-registry asset (still holding deleted corbits-* packages). It now lists the tool packages the tenant's live agent deployments actually carry: pins read off each agent's deployed definition.json via a new readAgentToolPackagePins in agent-source-read.ts, plus Myra's bundled @intx/tools-mail/@intx/tools-posix, which never land in that file (added as a static, browser-safe @corbits/myra/tool-packages export). Rows show package name, version (or — when unpinned/bundled with no version tracked), and which agents carry it. tools/registry-read.ts is deleted — nothing else used it.

Test plan

  • bunx tsc -p apps/web --noEmit
  • bun run lint
  • bun run fmt
  • cd apps/web && bun run build
  • cd apps/web && bun test ./src (582 pass)

…nts carry (CL-8504)

The onboarding tour's close (X) button fired react-joyride's action 'close' without moving status to FINISHED/SKIPPED, so dismissing it that way never persisted and it replayed on the next mount. Also route Tools off each live agent's deployed definition.json (plus Myra's bundled mail/posix, which never lands there) instead of the stale corbits-tools package-registry asset.
@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

CL-8504

A literal MYRA_TOOL_PACKAGES list in a new agents/myra/src/tool-packages.ts module was exactly the drift-prone duplicate the ground rules avoid, and it broke the agent-package-stays-trim rule. Derive the same list at read time from @intx/tools-* entries in @corbits/myra/package.json's own dependencies instead.
@TheGreatAxios
TheGreatAxios merged commit 6ec82d9 into main Sep 18, 2026
4 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