mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-20 01:11:18 +00:00
refactor: remove dead code and stale references (#2908)
- remove `export` from `LocalTarball` interface in `shared/agent-tarball.ts` — the type is only used internally as the return type of `downloadTarballLocally`; it was never imported from outside the module. - remove `getTerminalWidth` re-export from `commands/index.ts` — `getTerminalWidth` is only called inside `commands/info.ts` itself; it was re-exported through the barrel but never imported from there by any consumer or test. bump CLI version patch: 0.25.18 → 0.25.19 Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f296544c1c
commit
59dea5fc09
3 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "0.25.18",
|
||||
"version": "0.25.19",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ export {
|
|||
cmdClouds,
|
||||
cmdMatrix,
|
||||
getMissingClouds,
|
||||
getTerminalWidth,
|
||||
} from "./info.js";
|
||||
// interactive.ts — cmdInteractive, cmdAgentInteractive
|
||||
export { cmdAgentInteractive, cmdInteractive } from "./interactive.js";
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ export async function tryTarballInstall(
|
|||
|
||||
// ─── Parallel tarball: local download + SCP upload ──────────────────────────
|
||||
|
||||
export interface LocalTarball {
|
||||
interface LocalTarball {
|
||||
localPath: string;
|
||||
cleanup: () => void;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue