25 Commits
Author SHA1 Message Date
Dominik Jain 96e95c0b5d Adjust Docker compose template (compose.yaml): Expose ports to host only 2026-07-18 13:01:13 +02:00
Tomi P. Hakala b5b9cc4ffc Fix find_project_root hijacking git worktrees nested under a Serena project (#1550)
* Fix find_project_root hijacking git worktrees nested under a Serena project

find_project_root searched all ancestor levels for .serena/project.yml
before ever looking for .git. A git worktree whose own .git is a pointer
file, nested under a directory that is an explicit Serena project, was
resolved to the ancestor project instead of the worktree. With CLI agents
that launch via --project-from-cwd (Claude Code, Codex, Gemini), this
silently bound the server to the wrong working tree: reads returned stale
symbols and edits landed in the parent repo.

Walk up in a single pass so the nearest project boundary wins, whether it
is a .serena/project.yml or a .git (dir or worktree/submodule pointer
file). Same-level behavior is unchanged. Adds a regression test.

* Document worktree project-root fix in changelog and usage docs
2026-06-07 18:05:01 +02:00
Michael Panchenko ef8f0ac404 Docs: minor changes 2026-04-10 19:36:14 +02:00
Dominik Jain 25f5f5095f Adjust documentation to use uv tool installation as the main way of running things
* Add installation, update, etc.
* Remove use of `<serena>` and obsolete uvx examples.
2026-04-07 17:36:44 +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
Dominik Jain b00ae292ac Change default listen address of MCP server in HTTP mode to localhost
The previous default 0.0.0.0 was a potential security hazard
2026-03-29 12:11:40 +02:00
Dominik Jain e615c54d80 Improve documentation of HTTP mode and multiple agents in general
Resolves #1118
2026-03-15 12:36:10 +01: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
Dominik Jain 1c17d61121 Improve documentation (particularly on configuration) and the issue template 2026-01-17 00:46:43 +01:00
Dominik Jain 15008542a3 Move tip to proper place, fix typos, add pointer to '--help' early on 2025-12-19 00:06:56 +01:00
Dominik Jain ff2423fde7 Improve instructions for Running Serena,
adding a pointer to the option --language-backend
and improving the description of --project-from-cwd
2025-12-18 19:15:37 +01:00
Dominik Jain d8d1cb113f Merge branch 'main' into prepare-v1
Conflicts:
	src/serena/resources/serena_config.template.yml
2025-12-17 15:40:14 +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
Michael Panchenko e4d80a330f Documentation on the jetbrains plugin 2025-12-16 22:45:35 +07:00
Dominik Jain d452c2e413 Do away with Docker-specific case distinctions; instead, configure Docker properly 2025-12-11 00:05:12 +01:00
Dominik Jain 3ffbaa090e Improve documentation on connecting clients 2025-11-21 15:45:50 +01:00
Adra 2b4fd66674 feat: Added project create command with --name, --index, and auto-creation (#755)
Previous command `generate_yml` has been removed
2025-11-13 15:22:37 +01:00
Dominik Jain ff5ac556dc Add CLI command examples 2025-11-08 14:14:20 +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 e436fb3f59 Fix links 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 9dbbfe60b8 Improve docs on 'Running Serena' 2025-11-07 20:54:38 +01:00
Dominik Jain c2b456a862 Restructure docs, improve texts (particular for Running Serena) 2025-11-07 20:15:43 +01:00