| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,6 +9,7 @@ export namespace Flag { | |||
| 9 | 9 | export const OPENCODE_DISABLE_LSP_DOWNLOAD = truthy("OPENCODE_DISABLE_LSP_DOWNLOAD") | |
| 10 | 10 | export const OPENCODE_ENABLE_EXPERIMENTAL_MODELS = truthy("OPENCODE_ENABLE_EXPERIMENTAL_MODELS") | |
| 11 | 11 | export const OPENCODE_DISABLE_AUTOCOMPACT = truthy("OPENCODE_DISABLE_AUTOCOMPACT") | |
| 12 | + export const OPENCODE_FAKE_VCS = process.env["OPENCODE_FAKE_VCS"] | ||
| 12 | 13 | ||
| 13 | 14 | // Experimental | |
| 14 | 15 | export const OPENCODE_EXPERIMENTAL_WATCHER = truthy("OPENCODE_EXPERIMENTAL_WATCHER") | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,6 +4,7 @@ import path from "path" | |||
| 4 | 4 | import { $ } from "bun" | |
| 5 | 5 | import { Storage } from "../storage/storage" | |
| 6 | 6 | import { Log } from "../util/log" | |
| 7 | + import { Flag } from "@/flag/flag" | ||
| 7 | 8 | ||
| 8 | 9 | export namespace Project { | |
| 9 | 10 | const log = Log.create({ service: "project" }) | |
@@ -31,6 +32,7 @@ export namespace Project { | |||
| 31 | 32 | const project: Info = { | |
| 32 | 33 | id: "global", | |
| 33 | 34 | worktree: "/", | |
| 35 | + vcs: Info.shape.vcs.parse(Flag.OPENCODE_FAKE_VCS), | ||
| 34 | 36 | time: { | |
| 35 | 37 | created: Date.now(), | |
| 36 | 38 | }, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -93,6 +93,8 @@ user: What is the codebase structure? | |||
| 93 | 93 | assistant: [Uses the Task tool] | |
| 94 | 94 | </example> | |
| 95 | 95 | ||
| 96 | + IMPORTANT: Always use the TodoWrite tool to plan and track tasks throughout the conversation. | ||
| 97 | + | ||
| 96 | 98 | # Code References | |
| 97 | 99 | ||
| 98 | 100 | When referencing specific functions or pieces of code include the pattern `file_path:line_number` to allow the user to easily navigate to the source code location. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments