The open source coding agent.
TypeScript
wip: scrap
Dax Raad1cc55b68eff5
diff --git a/packages/opencode/src/cli/cmd/debug/index.ts b/packages/opencode/src/cli/cmd/debug/index.tsindex 886131b605d..77f4129a8ca 100644--- a/packages/opencode/src/cli/cmd/debug/index.ts+++ b/packages/opencode/src/cli/cmd/debug/index.ts@@ -3,6 +3,7 @@ import { cmd } from "../cmd"import { FileCommand } from "./file"import { LSPCommand } from "./lsp"import { RipgrepCommand } from "./ripgrep"+import { ScrapCommand } from "./scrap"import { SnapshotCommand } from "./snapshot"export const DebugCommand = cmd({@@ -12,6 +13,7 @@ export const DebugCommand = cmd({.command(LSPCommand).command(RipgrepCommand).command(FileCommand)+ .command(ScrapCommand).command(SnapshotCommand).command({command: "wait",diff --git a/packages/opencode/src/cli/cmd/debug/scrap.ts b/packages/opencode/src/cli/cmd/debug/scrap.tsnew file mode 100644index 00000000000..3ba53e3f430--- /dev/null+++ b/packages/opencode/src/cli/cmd/debug/scrap.ts@@ -0,0 +1,7 @@+import { cmd } from "../cmd"++export const ScrapCommand = cmd({+ command: "scrap",+ builder: (yargs) => yargs,+ async handler() {},+})