chore: ignore local identity files (#1001) (thanks @gerardward2007)

* chore: ignore local identity files (IDENTITY.md, USER.md)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: ignore local identity files (#1001) (thanks @gerardward2007)

* chore: format session status tool

* chore: format bash exec background abort test

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
gerardward2007
2026-01-16 11:30:04 +01:00
committed by GitHub
parent de5fb65cb8
commit 0f34255359
4 changed files with 10 additions and 5 deletions

2
.gitignore vendored
View File

@@ -55,3 +55,5 @@ apps/ios/*.mobileprovision
# Local untracked files
.local/
.vscode/
IDENTITY.md
USER.md

View File

@@ -16,6 +16,7 @@
- CLI: set process titles to `clawdbot-<command>` for clearer process listings.
- CLI/macOS: sync remote SSH target/identity to config and let `gateway status` auto-infer SSH targets (ssh-config aware).
- Heartbeat: tighten prompt guidance + suppress duplicate alerts for 24h. (#980) — thanks @voidserf.
- Repo: ignore local identity files to avoid accidental commits. (#1001) — thanks @gerardward2007.
- Sessions/Security: add `session.dmScope` for multi-user DM isolation and audit warnings. (#948) — thanks @Alphonse-arianee.
- Plugins: add provider auth registry + `clawdbot models auth login` for plugin-driven OAuth/API key flows.
- Onboarding: switch channels setup to a single-select loop with per-channel actions and disabled hints in the picker.

View File

@@ -1,7 +1,11 @@
import { afterEach, expect, test } from "vitest";
import { createExecTool } from "./bash-tools.exec";
import { getFinishedSession, getSession, resetProcessRegistryForTests } from "./bash-process-registry";
import {
getFinishedSession,
getSession,
resetProcessRegistryForTests,
} from "./bash-process-registry";
import { killProcessTree } from "./shell-utils";
afterEach(() => {
@@ -14,7 +18,7 @@ test("background exec is not killed when tool signal aborts", async () => {
const result = await tool.execute(
"toolcall",
{ command: "node -e \"setTimeout(() => {}, 5000)\"", background: true },
{ command: 'node -e "setTimeout(() => {}, 5000)"', background: true },
abortController.signal,
);

View File

@@ -290,9 +290,7 @@ export function createSessionStatusTool(opts?: {
providers: [usageProvider],
agentDir,
});
const snapshot = usageSummary.providers.find(
(entry) => entry.provider === usageProvider,
);
const snapshot = usageSummary.providers.find((entry) => entry.provider === usageProvider);
if (snapshot) {
const formatted = formatUsageWindowSummary(snapshot, {
now: Date.now(),