43 Commits
Author SHA1 Message Date
maxwang 4b726894d0 docs: correct configuration key names and typos 2026-09-21 13:24:58 +02:00
Amir Fathi 47c0a4bb66 fix(hooks): reset reminder counters after a successful Codex Serena call
Codex's documented hook wiring only routes `serena-hooks remind` through
PreToolUse on the `Bash` matcher, so `ToolUseCounter.update()`'s
reset-on-Serena-tool-use branch is never reached there: it only fires when
`remind` itself is invoked for a `mcp__serena__*` tool name, which the
Bash-only matcher excludes. Reminder counters therefore never clear after a
successful Serena call, and an unrelated grep/read burst afterwards can trip
the deny threshold on state that should have been reset.

Add a `serena-hooks reset` command, wired to PostToolUse on Serena's own
tools, that resets the counters after a successful call. Gated on the call
having succeeded (`tool_response` carrying no `isError: true`, the MCP
`tools/call` result shape) so a failed Serena call does not mask a real
grep/read streak, per the issue's own acceptance criteria. The symbolic-tool
classification is shared with the existing PreToolUse hook via a small
extracted helper so both agree on what counts as a Serena tool.

Fixes #1852
2026-09-02 13:21:42 +02:00
Tyce Herrman 3ede3cbc33 Docs: use SessionEnd for Codex hook cleanup (#1733)
* Docs: use SessionEnd for Codex hook cleanup

* Docs: note legacy Codex Stop issue
2026-07-29 23:36:41 +02:00
xormania 9debf7742a Add Grok Build support (context, setup, native hooks)
Adds first-class support for xAI's Grok Build CLI, following the
existing client-integration pattern (Claude Code, CodeBuddy, Codex):

- grok context: single-project, shaped like claude-code.yml, with the
  file-tool exclusions appropriate for a CLI agent that has its own
  read/edit/shell tools. structured_tool_output is left at the auto
  default (as in the codex and codebuddy contexts); claude-code's
  explicit false is a Claude-Code-specific bug workaround that is not
  carried over.
- serena setup grok: registers Serena as a user-scoped MCP server via
  "grok mcp add" after detecting a compatible grok CLI.
- serena-hooks --client=grok: Grok-native PreToolUse output
  ({decision, reason}) instead of the Claude-style hookSpecificOutput
  envelope; grep/read detection extended to Grok's tool names and
  shell payloads (target_file/targetFile path keys, non-string command
  values handled defensively). The payload-parsing refinements live in
  the remind hook's client-agnostic parsing and apply to all hook
  clients: a non-string command value previously raised, and
  target_file/targetFile paths were not recognized.
- Docs (030_clients.md #grok), unit tests for setup/hooks/context, and
  scripts/live_test_grok.py - a zero-inference, state-preserving live
  smoke test against a real grok installation (documented in
  CONTRIBUTING.md). Its M5 check verifies the structured-output wire
  shape: the grok context (auto default) serves an output schema and
  structuredContent for string-returning tools, while the claude-code
  context (explicit false workaround) serves plain text only.
2026-07-21 21:18:16 +02:00
Michael Panchenko c6029c6fb2 Minor fix in docs claude-desktop -> desktop-app 2026-07-14 10:41:43 +02:00
Devin 68a4af4ac1 Add CodeBuddy agent integration (#1581) 2026-06-28 13:00:41 +02:00
Berkay Çelik c3d9aeafae Docs, minor 2026-05-14 12:36:24 +02:00
Michael Panchenko 6eb3587dcc Hooks: adjust output to work for codex, extended docs 2026-05-04 17:51:21 +02:00
Sam CarsonandMichael Panchenko 16d1a30397 hooks: extend auto-approve to Claude Code's auto permission mode (#1445)
* hooks: extend auto-approve to Claude Code's auto permission mode

Closes #1386

---------

Co-authored-by: Michael Panchenko <35432522+MischaPanch@users.noreply.github.com>
2026-05-04 11:27:09 +02:00
Dominik Jain 7c50041d14 Improve Claude Code client setup documentation 2026-04-27 13:35:06 +02:00
Michael Panchenko 1a83060b05 Extended interprompt and moved cc-system-prompt-override command to prompts subcommand
Also added print-prompt-template subcommand
2026-04-26 16:25:58 +02:00
Michael Panchenko f4b035698c Docs: added explanation on system prompt override for CC 2026-04-26 12:51:26 +02:00
Michael Panchenko d6ea5bffde Wrong link in docs 2026-04-14 20:15:12 +02:00
Michael Panchenko c00a54152e Improved documentation on connecting with Junie 2026-04-14 15:41:04 +02:00
Michael Panchenko 29906d6934 Docs, clients: added entry for copilot CLI, adjusted JB assistant entry 2026-04-13 16:58:55 +02:00
Michael Panchenko ca387bdc76 Docs: added brief explainer on hooks in Common Pitfalls, removed section on tool-loading in Claude Code 2026-04-12 11:43:29 +02:00
Michael Panchenko ef8f0ac404 Docs: minor changes 2026-04-10 19:36:14 +02:00
Michael Panchenko bbe4993540 Major enhancement in client connection documentation
Added new contexts and extended some older ones to exclude more basic tool
2026-04-10 13:21:15 +02:00
Michael Panchenko 4ff2993bc0 Docs: recommend user-level setup for claude code by default
Also added a note on startup timeouts
2026-04-06 13:41:09 +02:00
Dominik Jain 8856d82590 Adjust instructions for Claude Code: Newer versions interpret -p parameter
Even though the parameter is after the separator `--`, newer versions (>2.1.76)
fail to add the MCP server and interpret the arguments directly.

Fixes #1279
2026-04-05 13:12:23 +02:00
Michael Panchenko 0e229586dc Readme, docs: clarified config file creation and JB plugin role
Also added a sentence on using with the Codex app
2026-04-04 20:19:57 +02:00
Dominik Jain 6faf12b9fa Update uvx run instructions to include Python version (3.13)
uvx ignores not only the lock file but also the Python
version specified in pyproject.toml.
https://github.com/astral-sh/uv/issues/8206#issuecomment-4113536371
2026-04-02 13:25:58 +02:00
Michael Panchenko d52d24efe2 Docs: added -p 3.13 to configuration examples 2026-04-02 11:25:52 +02:00
Michael Panchenko 33b4d08c9b Updated usage docs for codex 2026-04-02 10:58:37 +02:00
Dominik Jain ca49707791 Do not use CWD as a fallback for --project-from-cwd
This can be problematic if CWD is, for example, the user's home directory.
Fixes #979
2026-02-05 14:14:20 +01:00
Michael Panchenko f14faa12d0 Merge pull request #947 from Linde7777/fix-codex-prompt
Adjust the activation prompt for Codex, to make GPT-5 more compliant.
2026-01-29 14:26:09 +07:00
Michael Panchenko b0a1546bb6 Finalized setup instructions for Antigravity
Serena works in it now
2026-01-21 11:46:23 +07:00
Long Peng 6f98e6c67c Adjust the activation prompt for Codex, to make GPT-5 more compliant. 2026-01-17 17:10:50 +08:00
Dominik Jain eb54e834b6 Do not use placeholder in example command 2026-01-06 18:04:39 +01:00
Dominik Jain c6b2750061 Improve Claude Code connection instructions, adding a paragraph on max token efficiency 2025-12-28 16:03:56 +01:00
Dominik Jain 4b430cbc4d Return to flat structure to improve usability (TOC display in jupyterbook) 2025-12-17 16:45:06 +01:00
Robin Breathe 51041e93f1 feat: CWD-based project detection for CLI-based agents through --project-from-cwd (#836) 2025-12-16 16:55:06 +01:00
Dominik Jain 0bbd1806bc Refactor general instructions, restructure, minor improvements 2025-12-15 17:49:42 +01:00
Michael Panchenko f07db2550b Enhanced documentation on connecting to clients 2025-12-15 16:31:41 +01:00
tobigumo df4c9c875c docs: sync client context instructions with changes from PR #810 (claude-code / ide)
Updated context recommendations in usage documentation.
2025-12-09 17:35:07 +09:00
Dominik Jain 72ffb54b7d Improve documentation of F#-specific system configuration and env vars for Claude Desktop [skip ci] 2025-12-08 01:12:06 +01:00
Dominik Jain e75856f587 Revise context prompts/descriptions #742
* Rename 'ide-assistant' to 'claude-code' (backwards-compatible)
* Add new mode 'ide' (basically the same as 'claude-code')
2025-12-05 01:33:00 +01:00
Dominik Jain 3ffbaa090e Improve documentation on connecting clients 2025-11-21 15:45:50 +01:00
Dominik Jain db01516894 Improve callouts 2025-11-08 13:10:53 +01:00
Dominik Jain 90e123726c Fix heading levels in docs 2025-11-08 12:43:17 +01:00
Dominik Jain 530926c836 Several docs improvements (proof-reading) 2025-11-08 12:43:17 +01:00
Dominik Jain 9f2ed5965e Improve docs on client configuration 2025-11-07 23:36:57 +01:00
Dominik Jain c2b456a862 Restructure docs, improve texts (particular for Running Serena) 2025-11-07 20:15:43 +01:00