13 Commits
Author SHA1 Message Date
Dominik Jain 6707cd9b7e Introduce component-based licensing: Serena GPL-3.0-or-later, SolidLSP MIT
The repository is licensed per component. SolidLSP (src/solidlsp,
test/solidlsp, test/resources) remains MIT-licensed and independently
reusable; the Serena application (src/serena, src/interprompt, scripts,
test/serena, docs) is licensed under GPL-3.0-or-later starting with the v2
licensing transition. The change is not retroactive: all releases and
commits up to v1.7.0 / 74c38a65 (tag mit-final) remain available under MIT.

Since MIT is GPL-compatible, a distribution combining both (such as the
serena-agent package) is as a whole subject to GPL-3.0-or-later, while the
SolidLSP files themselves stay MIT and can be extracted and used separately
under MIT terms. The distribution metadata therefore declares
GPL-3.0-or-later, with both license texts shipped alongside it.

Serena originally began under the GPL (v2) and was switched to MIT in
May 2025 following community requests. We consider that change a mistake;
the substantial changes in v2 make this the appropriate time to revert it.
We want the best version of Serena to remain free.

Changes:
* LICENSE is now the licensing overview; canonical license texts live in
  LICENSES/ (MIT.txt is the previous LICENSE verbatim, GPL-3.0-or-later.txt
  is the unmodified FSF text)
* pyproject.toml declares the PEP 639 license expression
  "GPL-3.0-or-later" and bundles LICENSE and LICENSES/* as license files;
  the deprecated MIT classifier is dropped and flake.nix declares gpl3Plus;
  README has per-component license badges and a License section
* SPDX-License-Identifier headers in all Python sources under src/ and
  scripts/, added by the new idempotent scripts/add_spdx_headers.py, which
  gen_prompt_factory.py also uses to keep the header on the generated
  module; existing third-party notices are preserved
* CLA.md: Contributor License Agreement (contributor retains copyright;
  grants a perpetual, irrevocable license including relicensing under any
  terms, incl. proprietary/commercial; patent grant; authority
  representations), to be enforced repository-wide via cla-assistant.io
* CONTRIBUTING.md, PR template and a new docs page explain the licensing
  boundary and the CLA workflow
2026-09-14 21:33:18 +02:00
Michael Panchenko eb453976e2 CLI: removed deprecated commands 2026-04-06 19:18:48 +02:00
Michael Panchenko cad4df59cc Refactoring (minor): move all cli related things to a dedicated module 2025-07-16 18:27:13 +02:00
Dominik Jain 2d5437e7f7 Fix scripts/mcp_server.py 2025-05-03 15:30:41 +02:00
Dominik Jain 2699b5b687 Formatting 2025-03-29 23:37:46 +01:00
Dominik Jain 871b193e85 Separate SerenaAgent and Tool abstractions from MCP code 2025-03-29 23:21:44 +01:00
Dominik Jain d0507c0a09 Move MCP code to the library, adding a minimal runnable script 2025-03-25 19:11:44 +01:00
Dominik Jain 3dc5a25d77 Merge branch 'main' of github.com:oraios/serena 2025-03-25 00:21:20 +01:00
Dominik Jain 63a0410778 Fix fastmcp's broken logging configuration 2025-03-25 00:21:16 +01:00
Michael Panchenko 2e32fb6040 Removed get_open_file_text from ls
Superseded by a method that doesn't require opening the file
2025-03-24 23:15:47 +01:00
Dominik Jain 4f389359d6 Add tool create_text_file 2025-03-24 17:07:40 +01:00
Dominik Jain 61f7c15b15 Support onboarding task (initial demo)
* Add LLM prompt factory (yaml-based)
  * Add list_dir tool
  * Add onboarding tool (which returns prompt only, as registered MCP prompts
    do not appear to be usable by Claude Desktop)
2025-03-24 17:07:40 +01:00
Dominik Jain 3eb33d2050 Add basic MCP server which can read files, updating README 2025-03-24 17:07:40 +01:00