Skip to content

chore: remove bundled gpt-live plugin and native helper - #513

Merged
shuv1337 merged 1 commit into
integration-v2from
remove-gpt-live
Nov 24, 2026
Merged

shuv1337 merged 1 commit into
integration-v2from
remove-gpt-live

Conversation

@shuv1337

Copy link
Copy Markdown
Owner

Summary

Removes the bundled fork-only @shuvcode/gpt-live-plugin package and its native Rust audio helper (gpt-live-host) from shuv1337/shuvcode:

  • Deleted packages/gpt-live-plugin/ (server plugin, TUI plugin, tests, and native/ Rust crate).
  • Removed @shuvcode/gpt-live-plugin from packages/core/package.json, packages/core/src/plugin/internal.ts, and packages/core/test/location-layer.test.ts (kept packages/core/src/plugin/promise.ts).
  • Removed @shuvcode/gpt-live-plugin from packages/tui/package.json and packages/tui/src/plugin/builtins.ts (kept marked and QuickQuote).
  • Removed the 6 fork-only voice.* keybinds (voice.toggle, voice.mute, voice.panel, voice.stop, voice.new, voice.pick) from packages/tui/src/config/keybind.ts, restoring 250/250 parity with packages/cli-rs/crates/ui/src/keymap/generated.rs.
  • Removed build-gpt-live-helper, its needs entries in stage-npm and publish, and the gpt-live-host-* artifact download/staging steps from .github/workflows/publish.yml; updated the .github/CODEOWNERS comment accordingly.
  • Updated bun.lock via bun install (only @shuvcode/gpt-live-plugin entries removed) and verified bun install --frozen-lockfile.

Notes

  • Upstream native voice is untouched: packages/core/src/voice.ts, packages/core/test/voice.test.ts, packages/ai/src/experimental/realtime.ts, packages/app/src/voice/*, packages/app/src/runtime/i18n/*, packages/server/src/handlers/voice.ts, packages/protocol/src/groups/voice.ts, packages/core/src/models-dev/*, CHANGELOG.md, and historical docs/sync-*.md were not modified.
  • Stale user config compatibility: Stale opencode.json / cli.json entries ("shuvcode.gpt-live" in plugins or "voice.*" in keybinds) degrade silently with no shim required. Schema.decodeUnknownOption(Info) drops unknown voice.* keybind keys before TuiKeybind.parse, which succeeds cleanly.
  • Optional local cleanup: Users who previously ran GPT-Live can optionally remove ~/.cache/shuvcode/gpt-live/ and ~/.local/state/shuvcode/gpt-live/.

Verification

  • Residue checks: git grep for gptlive|gpt_live|gpt-live-plugin|gpt-live-host|gpt-live-helper has 0 hits outside historical docs/sync-2026-11-23-v2.4.1.md; 0 hits for removed voice.* keybinds in packages/tui, packages/core, packages/cli.
  • Boundary check: git diff --stat integration-v2 against all upstream voice paths, CHANGELOG.md, and docs is empty; only the 9 expected files outside packages/gpt-live-plugin/ are modified.
  • Workflow & formatting: actionlint .github/workflows/publish.yml, git diff --check, and bun run prettier --check all pass.
  • Lockfile: bun install --frozen-lockfile passes with no changes.
  • Typecheck & lint: bun run check (40/40 tasks), packages/core bun run typecheck:tsc, and packages/tui bun run typecheck:tsc all pass.
  • Tests:
    • packages/core: test/location-layer.test.ts, test/shuvcode-identity.test.ts, test/voice.test.ts — 31 pass, 0 fail.
    • packages/tui: test/config-v2.test.tsx, test/keybind.test.ts, test/feature-plugins/quick-quote.test.ts — 29 pass, 0 fail.
    • packages/cli: test/mcp-list.test.ts, test/auth-config.test.ts — 11 pass, 0 fail.
  • Stale-config smoke check: Schema.decodeUnknownOption(Info)({ keybinds: { "voice.toggle": "<leader>v" }, plugins: ["shuvcode.gpt-live"] }) decoded cleanly (keybinds: {}, voice.toggle dropped) and TuiKeybind.parse resolved 250 bindings.
  • Keybind parity check: packages/tui/src/config/keybind.ts vs packages/cli-rs/crates/ui/src/keymap/generated.rs — 250 vs 250, 0 diff.

@shuv1337 shuv1337 added the full-tests Run the full test suite (unit and e2e) on this PR label Nov 24, 2026
@shuv1337
shuv1337 merged commit 8e00008 into integration-v2 Nov 24, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-tests Run the full test suite (unit and e2e) on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant