feat: add OPENCODE_FAKE_VCS flag for VCS testing and update todo tracking instructions

This commit is contained in:
Dax Raad
2025-10-28 02:54:23 -04:00
parent 872c9467b2
commit 22821744ef
3 changed files with 5 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import path from "path"
import { $ } from "bun"
import { Storage } from "../storage/storage"
import { Log } from "../util/log"
import { Flag } from "@/flag/flag"
export namespace Project {
const log = Log.create({ service: "project" })
@@ -31,6 +32,7 @@ export namespace Project {
const project: Info = {
id: "global",
worktree: "/",
vcs: Info.shape.vcs.parse(Flag.OPENCODE_FAKE_VCS),
time: {
created: Date.now(),
},