Skip to content
This repository was archived by the owner on Sep 29, 2026. It is now read-only.

Monorepo split, daemon extraction, and TUI connection updates - #5

Merged
peelar merged 12 commits into
mainfrom
batch/since-v0.0.1
Sep 10, 2026
Merged

peelar merged 12 commits into
mainfrom
batch/since-v0.0.1

Conversation

@peelar

@peelar peelar commented Sep 10, 2026

Copy link
Copy Markdown
Owner

Catches up main with the 9 local commits since the v0.0.1 manual release (remote origin/main at dd5beef).

Included

  • Split oversized server modules into focused files (execution/*, github/*, shared git/errors helpers)
  • Lowercase pipes in user-facing copy
  • README refresh with product shot and GitHub intake example
  • Repository config as the GitHub intake example
  • Bun workspace monorepo: @pipes/protocol, @pipes/mcp, @pipes/tui
  • Daemon extracted into @pipes/server
  • CI workflow running bun run check on PRs
  • Connections screen lists active repositories; all TUI pickers share ChoiceList
  • Choice/repository rows stay single-line (wrapMode none); shared TUI test helpers

Changesets

  • minor: pipes upgrade (pending since v0.0.1 was cut manually)
  • patch: lowercase copy, connections list, single-line rows
  • empty (no-op): monorepo split, server extraction

Release prep
Merging this should feed the Version Packages flow, then tag vX.Y.Z to ship binaries via release.yml.
⚠️ bun run changeset status --since=origin/main currently fails: the monorepo split moved the repo to the Bun workspace tool, which excludes the root pipes package from changesets' package map (Found changeset ... for package pipes which is not in the workspace). Needs a versioning decision before the release can go out — see PR comments.

execution, github, codex, and environment are each over the limit,
so extract context/engine/handoff/lifecycle/outcome/prompt/recovery/
transitions, auth/intake/repos/schemas/webhook, codex-acp/onboarding,
and shared git/errors helpers behind the existing service facades.
Replace the monolithic execution test with lifecycle/handoff/
environment suites over a shared harness, and ratchet max-lines
so split files stay small.
Show the terminal UI screenshot, document attaching a workflow to a
GitHub intake source, and note Codex/GitHub as the current
supported agent and source.
Commit the peelar/pipes intake policy so the checkout itself
demonstrates the documented github attachment. Decouple the GitHub
connection test from the live example: its fixture starts without a
policy so attach can create the sidecar.
Extract @pipes/protocol (config, RPC schemas, typed client),
@pipes/mcp (message handling, stdio runner, result endpoint), and
@pipes/tui (components) packages. Core keeps the server, client
process wiring, CLI, and TUI launcher.
Move src/server/*, self, and version into packages/server with
subpath exports. Keep src/server.ts as the RPC assembly in core,
and resolve the dev entrypoint by upward search so child-process
spawning survives the move.
Manage -> Connections lists registered repositories above the add choices,
with clearer copy (Repositories / Add a repository).

Replace every native select with the shared ChoiceList: single-line rows,
inline dim detail, restrained highlight, same keyboard bindings (arrows,
j/k, shift fast-scroll, return), scroll window and controlled selection
for the queue and directory browser.
Extract shared TUI test helpers and split focused choice-list,
task-details, and workflow suites out of the app test. Set wrapMode
none on choice and repository rows so narrow panes clip instead of
overlapping.
Keep a single product version: packages/pipes owns the name, version,
bins, and pipes/config entrypoint. The root manifest is now an
unversioned workspace (pipes-workspace) with tooling scripts only.

Link all workspace packages in a fixed group so changesets bumps them
in lockstep; release notes live in packages/pipes/CHANGELOG.md. This
unbreaks changeset status, which cannot version the monorepo root under
Bun workspaces.

Update the build version source, dev entrypoint lookup, CLI spawn paths
in tests, and the dev fixture to drop copied per-package node_modules
(their links point back at this checkout and would shadow the fixture).
@peelar
peelar merged commit 92ec6dc into main Sep 10, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant