mirror of
https://github.com/anomalyco/opencode.git
synced 2026-06-02 06:16:48 +02:00
chore: generate
This commit is contained in:
@@ -513,9 +513,7 @@ export function Prompt(props: PromptProps) {
|
||||
value,
|
||||
renderer,
|
||||
cwd:
|
||||
(project.instance.path().worktree === "/"
|
||||
? undefined
|
||||
: project.instance.path().worktree) ||
|
||||
(project.instance.path().worktree === "/" ? undefined : project.instance.path().worktree) ||
|
||||
project.instance.directory() ||
|
||||
process.cwd(),
|
||||
})
|
||||
|
||||
@@ -969,9 +969,7 @@ export function Session() {
|
||||
value: transcript,
|
||||
renderer,
|
||||
cwd:
|
||||
(project.instance.path().worktree === "/"
|
||||
? undefined
|
||||
: project.instance.path().worktree) ||
|
||||
(project.instance.path().worktree === "/" ? undefined : project.instance.path().worktree) ||
|
||||
project.instance.directory() ||
|
||||
process.cwd(),
|
||||
})
|
||||
@@ -987,9 +985,7 @@ export function Session() {
|
||||
value: transcript,
|
||||
renderer,
|
||||
cwd:
|
||||
(project.instance.path().worktree === "/"
|
||||
? undefined
|
||||
: project.instance.path().worktree) ||
|
||||
(project.instance.path().worktree === "/" ? undefined : project.instance.path().worktree) ||
|
||||
project.instance.directory() ||
|
||||
process.cwd(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user