mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-07 22:23:24 +00:00
fix(core): clarify current session label
This commit is contained in:
parent
120e4e7388
commit
bd2f37bc90
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ const layer = Layer.effect(
|
|||
read: Effect.sync(() =>
|
||||
[
|
||||
"<env>",
|
||||
` Session ID: ${sessionID}`,
|
||||
` Current conversation session ID: ${sessionID}`,
|
||||
` Working directory: ${location.directory}`,
|
||||
` Workspace root folder: ${location.project.directory}`,
|
||||
` Is directory a git repo: ${location.vcs?.type === "git" ? "yes" : "no"}`,
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ describe("InstructionBuiltIns", () => {
|
|||
[
|
||||
"Here is some useful information about the environment you are running in:",
|
||||
"<env>",
|
||||
` Session ID: ${sessionID}`,
|
||||
` Current conversation session ID: ${sessionID}`,
|
||||
` Working directory: ${directory}`,
|
||||
` Workspace root folder: ${projectDirectory}`,
|
||||
" Is directory a git repo: yes",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue