refactor: resolve conflicts — merge packages/shared into packages/cli/src/shared (#2092)

Rebased fix/issue-2083 onto main after commands.ts split (PR #2095).
Key resolutions:
- commands.ts: kept HEAD shim (re-exports from ./commands/index.ts)
- package.json: kept PR version 0.12.0 without @openrouter/spawn-shared dep
- Fixed @openrouter/spawn-shared imports in commands/shared.ts, commands/update.ts,
  and __tests__/orchestrate.test.ts that were added after the PR branched

All 1390 tests pass, biome lint clean.

Agent: pr-maintainer

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
A 2026-03-01 22:05:41 -08:00 committed by GitHub
parent dc489fa652
commit 3911b5bc28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 148 additions and 29 deletions

View file

@ -1,6 +1,6 @@
import { describe, it, expect } from "bun:test";
import * as v from "valibot";
import { parseJsonWith, parseJsonRaw } from "@openrouter/spawn-shared";
import { parseJsonWith, parseJsonRaw } from "../shared/parse";
describe("parseJsonWith", () => {
const NumberSchema = v.object({