mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
Merge pull request #7444 from Kilo-Org/feat/cli-config-awareness
feat(cli): add config location awareness
This commit is contained in:
@@ -142,4 +142,5 @@ const TIPS = [
|
||||
"Run {highlight}/help{/highlight} to show the help dialog",
|
||||
"Use {highlight}/rename{/highlight} to rename the current session",
|
||||
"Press {highlight}Ctrl+Z{/highlight} to suspend the terminal and return to your shell",
|
||||
"Doing something often? Ask Kilo to save it as a {highlight}/command{/highlight}",
|
||||
]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Ripgrep } from "../file/ripgrep"
|
||||
|
||||
import { Global } from "../global" // kilocode_change
|
||||
import { Instance } from "../project/instance"
|
||||
|
||||
import PROMPT_ANTHROPIC from "./prompt/anthropic.txt"
|
||||
@@ -67,6 +68,8 @@ export namespace SystemPrompt {
|
||||
` Working directory: ${Instance.directory}`,
|
||||
` Is directory a git repo: ${project.vcs === "git" ? "yes" : "no"}`,
|
||||
` Platform: ${process.platform}`,
|
||||
` Project config: .kilo/command/*.md, .kilo/agent/*.md, kilo.json, AGENTS.md. Put new commands and agents in .kilo/. Do not use .kilocode/ or .opencode/.`, // kilocode_change
|
||||
` Global config: ${Global.Path.config}/ (same structure)`, // kilocode_change
|
||||
...staticEnvLines(editorContext), // kilocode_change
|
||||
`</env>`,
|
||||
`<directories>`,
|
||||
|
||||
Reference in New Issue
Block a user