Skip to content

feat(packages): publishable error-sink, connector registry, code-review; all tool packages public (CL-8166) - #766

Merged
TheGreatAxios merged 5 commits into
mainfrom
cl-8166-publishable-deps
Sep 17, 2026
Merged

TheGreatAxios merged 5 commits into
mainfrom
cl-8166-publishable-deps

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • @corbits/error-sink is now publishable: it was already generic
    (redaction + refId + context envelope over @intx/log), just needed
    the publishable shape and @intx/log moved to a peerDependency.
  • @corbits/connections-tools drops its @corbits/connections runtime
    dependency. It never carried a connector set of its own — the caller
    wires its own registry/preset list into the tool's env — so the
    handful of fields it actually reads plus the one lookup helper
    (mcpPresetByName) now live in a small local module
    (src/registry-shape.ts) rather than a new package; the deploying
    build's richer descriptor/preset objects still satisfy the shape
    structurally.
  • @corbits/code-review is now publishable rather than folding its
    modules into workflows/code-review: its only runtime dep is the
    already-public @corbits/github-tools, and packages/connections /
    packages/scout-agent also depend on it directly, so this was the
    smaller diff with no private runtime edge left.
  • access-tools, interaction-tools, and connections-tools flip
    public with the same shape (files/repository/publishConfig, @intx/*
    and @corbits/* deps moved to peerDependencies), each bumped a patch
    version, with the { name, version } pin literals in
    workflows/assistant/src/prompt.ts updated to match.
  • Regenerated tsconfig project references and the report-error
    baseline (a stale entry, no new violations) after the dependency
    moves above.

Every package under packages/*-tools is now publishable with no
exemption; check:publishable-workflows covers all 17 tool packages.

Test plan

  • bun run typecheck (pre-existing, unrelated failure in
    packages/chat-ui test files — not touched by this branch)
  • bun run lint
  • bun run check:structural (all green)
  • bun test in every touched package (error-sink, access-tools,
    interaction-tools, connections-tools, code-review,
    workflows/code-review)
  • bun pm pack for @corbits/access-tools, extracted, @intx/*
    peers installed from the real npm registry, and an import proof
    against the extracted tarball (with a stub @corbits/error-sink,
    since that package isn't published yet — CL-8167's job)

https://claude.ai/code/session_01RweuMUskU2nvcFhdckc7EG

Drop private, add the publishable shape (files, repository,
publishConfig.access: public) and move @intx/log to a peerDependency —
error-sink was already generic (redaction + refId + context envelope,
no Workbench-private runtime dep), it just hadn't been flipped. This is
what CL-8166 unblocks access-tools and interaction-tools going public.

Claude-Session: https://claude.ai/code/session_01RweuMUskU2nvcFhdckc7EG
@corbits/connections is a private, hub-only library (OAuth exchange,
credential probing, routes) — connections-tools only ever read a
handful of fields off its ConnectorRegistry/McpPreset shapes (the
caller wires its own registry into the tool's env; this package never
carried a connector set of its own). Fold the minimal field shapes and
the one lookup helper (mcpPresetByName) into a small local module
(src/registry-shape.ts) instead of standing up a whole new package for
a few structural types — the deploying build's richer descriptor/preset
objects still satisfy them structurally.

Claude-Session: https://claude.ai/code/session_01RweuMUskU2nvcFhdckc7EG
Its only runtime dep is @corbits/github-tools, already public — flip
private, add the publishable shape, and move github-tools to a
peerDependency. Smaller diff than folding its ten modules into
workflows/code-review, and packages/connections and
packages/scout-agent also depend on it directly. Bump the
workflow's own dependency pin to match.

Claude-Session: https://claude.ai/code/session_01RweuMUskU2nvcFhdckc7EG
…public

Now that error-sink is publishable and connections-tools carries no
private runtime dep, apply the same shape to all three (files,
repository, publishConfig.access: public, workspace:* deps moved to
peerDependencies) and bump each a patch version. Update the pin
literals in workflows/assistant/src/prompt.ts to match. Every tool
package under packages/*-tools is now publishable with no exemption.

Claude-Session: https://claude.ai/code/session_01RweuMUskU2nvcFhdckc7EG
bun run scripts/generate-tsconfig-references.ts and check:structural
report-error --write-baseline after the peerDependency moves above —
tsconfig project references track package.json dependencies, and the
report-error baseline only shrinks (connections-tools/src/tool.ts's
entry moved location).

Claude-Session: https://claude.ai/code/session_01RweuMUskU2nvcFhdckc7EG
@linear-code

linear-code Bot commented Sep 17, 2026

Copy link
Copy Markdown

CL-8166

@TheGreatAxios
TheGreatAxios merged commit 08fc96c into main Sep 17, 2026
1 of 12 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