Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ When modifying code under `src/`, the following constraints must not be violated
### Interface Change Rules

- Any signature change to the `Assistant` interface (`index.ts`) must be verified across `server.ts`, `gateway.ts`, and `cli.ts`.
- Any change to the `AgentEngine` interface (`engine.ts`) must remain compatible with all engines (Cursor, Claude Code, OpenCode, Codex).
- Any change to the `AgentEngine` interface (`engine.ts`) must remain compatible with all engines (Cursor, Claude Code, OpenCode, Codex, Grok).
- `StreamEvent` type changes must verify compatibility with `server.ts` SSE output, `cli.ts` event handling, and `gateway.ts` IM message assembly.

### File Responsibility Boundaries
Expand Down Expand Up @@ -100,3 +100,11 @@ pnpm run test # Unit tests (vitest)
- Resume: `exec resume --json --full-auto --skip-git-repo-check [--model X] <thread_id> <prompt>`
- Auth: `CODEX_API_KEY` env var (also sets `OPENAI_API_KEY` for compatibility)
- `--skip-git-repo-check` is required (GolemBot uses temp dirs)

### Grok Build

- Binary: `grok` (typical install: `~/.grok/bin/grok`)
- Flags: `-p <prompt> --output-format streaming-json --cwd <workspace> --always-approve [-m X]`
- Resume: `--resume <sessionId>`
- Auth: `XAI_API_KEY` env var or `grok login` (`~/.grok/auth.json`)
- Skill injection: `.grok/skills/` + project `AGENTS.md`
1 change: 1 addition & 0 deletions dist/channels/telegram.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export declare class TelegramAdapter implements ChannelAdapter {
private botUsername;
private seenMsgIds;
private static readonly MAX_SEEN;
private allowedUserIds;
constructor(config: TelegramChannelConfig);
start(onMessage: (msg: ChannelMessage) => void): Promise<void>;
reply(msg: ChannelMessage, text: string, _options?: ReplyOptions): Promise<void>;
Expand Down
2 changes: 1 addition & 1 deletion dist/channels/telegram.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion dist/channels/telegram.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/channels/telegram.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/cli.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cli.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/commands.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commands.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dashboard.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/dashboard.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/doctor.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 19 additions & 2 deletions dist/doctor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading