From 00c2552f2fef3adfb2a0a013dcf63781eb8975ed Mon Sep 17 00:00:00 2001 From: huagusam Date: Fri, 14 Aug 2026 10:51:40 +0800 Subject: [PATCH] chore(clawcode): track .env config templates in repo --- rust/clawcode/.gitignore | 3 --- rust/clawcode/claw/.env | 4 ++++ rust/clawcode/claw/.env_deepseek | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 rust/clawcode/claw/.env create mode 100644 rust/clawcode/claw/.env_deepseek diff --git a/rust/clawcode/.gitignore b/rust/clawcode/.gitignore index d8a921ec..b78e9c34 100644 --- a/rust/clawcode/.gitignore +++ b/rust/clawcode/.gitignore @@ -3,6 +3,3 @@ rust/target/ dump_output.txt # Per-project conversation transcripts (terminal-visible mirror of sessions) .claw/transcripts/ -# Local environment secrets — never commit live API keys -claw/.env -claw/.env_deepseek diff --git a/rust/clawcode/claw/.env b/rust/clawcode/claw/.env new file mode 100644 index 00000000..48637f18 --- /dev/null +++ b/rust/clawcode/claw/.env @@ -0,0 +1,4 @@ +ANTHROPIC_BASE_URL=http://127.0.0.1:1234 +ANTHROPIC_API_KEY=sk-your-key +ANTHROPIC_MODEL=WhitchSupportImageReady +#CLAW_WORKSPACE_POLICY=allow \ No newline at end of file diff --git a/rust/clawcode/claw/.env_deepseek b/rust/clawcode/claw/.env_deepseek new file mode 100644 index 00000000..f39a3a49 --- /dev/null +++ b/rust/clawcode/claw/.env_deepseek @@ -0,0 +1,4 @@ +ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic +ANTHROPIC_API_KEY=sk-yourkey +ANTHROPIC_MODEL=deepseek-v4-flash +CLAW_WORKSPACE_POLICY=allow \ No newline at end of file