|
| 1 | +# the name by which the project can be referenced within Serena/when chatting with the LLM. |
| 2 | +project_name: "yamoussoukro" |
| 3 | + |
| 4 | +# list of languages for which language servers are started (LSP backend only); choose from: |
| 5 | +# ada al angular ansible bash |
| 6 | +# bsl clojure cpp cpp_ccls crystal |
| 7 | +# csharp csharp_omnisharp cue dart elixir |
| 8 | +# elm erlang fortran fsharp gdscript |
| 9 | +# go groovy haskell haxe hlsl |
| 10 | +# html java json julia kotlin |
| 11 | +# latex lean4 lua luau markdown |
| 12 | +# matlab msl nix ocaml pascal |
| 13 | +# perl php php_phpactor php_phpantom powershell |
| 14 | +# python python_jedi python_pyrefly python_ty r |
| 15 | +# rego ruby ruby_solargraph rust scala |
| 16 | +# scss solidity svelte swift systemverilog |
| 17 | +# terraform toml typescript typescript_vts vue |
| 18 | +# yaml zig |
| 19 | +# (This list may be outdated; generated with scripts/print_language_list.py; |
| 20 | +# For the current list, see values of Language enum here: |
| 21 | +# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py) |
| 22 | +# For some languages, there are alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.) |
| 23 | +# Note: |
| 24 | +# - For C, use cpp |
| 25 | +# - For JavaScript, use typescript |
| 26 | +# - For Angular projects, use angular (subsumes typescript+html; requires `npm install` in the project root) |
| 27 | +# - For Svelte projects, use svelte (subsumes typescript/javascript for .svelte projects; requires npm) |
| 28 | +# - For SCSS / Sass / plain CSS, use scss (some-sass-language-server handles all three) |
| 29 | +# - For Free Pascal/Lazarus, use pascal |
| 30 | +# Special requirements: |
| 31 | +# Some languages require additional setup/installations. |
| 32 | +# See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers |
| 33 | +# When using multiple languages, the first language server that supports a given file will be used for that file. |
| 34 | +# The first language is the default language and the respective language server will be used as a fallback. |
| 35 | +# Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored. |
| 36 | +languages: |
| 37 | +- python |
| 38 | + |
| 39 | +# the encoding used by text files in the project |
| 40 | +# For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings |
| 41 | +encoding: "utf-8" |
| 42 | + |
| 43 | +# optional shell command to run before the language backend (LSP or JetBrains) is initialised. |
| 44 | +# the command runs in the project root directory and is only executed if the project is trusted |
| 45 | +# (see trusted_project_path_patterns in the global configuration). |
| 46 | +# serena waits for the command to exit: a non-zero exit code is logged as an error but does not |
| 47 | +# abort activation. a per-project timeout (activation_command_timeout, default 180s) is the safety |
| 48 | +# backstop for non-terminating commands; on expiry the process is killed and activation continues. |
| 49 | +# example: activation_command: "npx nx run-many -t build" |
| 50 | +activation_command: |
| 51 | + |
| 52 | +# maximum time in seconds to wait for activation_command to complete before killing it (default 180s). |
| 53 | +# must be a positive number. |
| 54 | +activation_command_timeout: 180.0 |
| 55 | + |
| 56 | +# line ending convention to use when writing source files. |
| 57 | +# Possible values: unset (use global setting), "lf", "crlf", or "native" (platform default) |
| 58 | +# This does not affect Serena's own files (e.g. memories and configuration files), which always use native line endings. |
| 59 | +line_ending: |
| 60 | + |
| 61 | +# The language backend to use for this project. |
| 62 | +# If not set, the global setting from serena_config.yml is used. |
| 63 | +# Valid values: LSP, JetBrains |
| 64 | +# Note: the backend is fixed at startup. If a project with a different backend |
| 65 | +# is activated post-init, an error will be returned. |
| 66 | +language_backend: |
| 67 | + |
| 68 | +# whether to use project's .gitignore files to ignore files |
| 69 | +ignore_all_files_in_gitignore: true |
| 70 | + |
| 71 | +# advanced configuration option allowing to configure language server-specific options. |
| 72 | +# Maps the language key to the options. |
| 73 | +# The settings are considered only if the project is trusted (see global configuration to define trusted projects). |
| 74 | +# See https://oraios.github.io/serena/02-usage/050_configuration.html#language-server-specific-settings |
| 75 | +ls_specific_settings: {} |
| 76 | + |
| 77 | +# list of workspace folder paths (LSP backend only). |
| 78 | +# These folders will be used to build up Serena's symbol index. |
| 79 | +# Paths must be within the project root and should thus be relative to the project root. |
| 80 | +# Furthermore, the paths should not be filtered by ignore settings. |
| 81 | +# Default setting: The entire project root folder (".") is considered. |
| 82 | +# In (large) monorepos, this can be used to index only subfolders of the project root, e.g. |
| 83 | +# ls_workspace_folders: |
| 84 | +# - "./subproject1" |
| 85 | +# - "./subproject2" |
| 86 | +ls_workspace_folders: |
| 87 | +- "." |
| 88 | + |
| 89 | +# list of additional workspace folder paths for cross-package reference support. |
| 90 | +# Paths can be absolute or relative to the project root. |
| 91 | +# Each folder is registered as an LSP workspace folder, enabling language servers to discover |
| 92 | +# symbols and references across package boundaries, but these folders are not indexed by Serena, |
| 93 | +# i.e. the respective symbols will not be found using Serena's symbol search tools. |
| 94 | +# Example: |
| 95 | +# additional_workspace_folders: |
| 96 | +# - ../sibling-package |
| 97 | +# - ../shared-lib |
| 98 | +ls_additional_workspace_folders: [] |
| 99 | + |
| 100 | +# list of additional paths to ignore in this project. |
| 101 | +# Same syntax as gitignore, so you can use * and **. |
| 102 | +# Important: quote patterns that start with `*`, otherwise YAML treats them as aliases. |
| 103 | +# Example: |
| 104 | +# ignored_paths: |
| 105 | +# - "examples/**" |
| 106 | +# - ".worktrees/**" |
| 107 | +# - "**/bin/**" |
| 108 | +# - "**/obj/**" |
| 109 | +# Note: global ignored_paths from serena_config.yml are also applied additively. |
| 110 | +ignored_paths: [] |
| 111 | + |
| 112 | +# whether the project is in read-only mode |
| 113 | +# If set to true, all editing tools will be disabled and attempts to use them will result in an error |
| 114 | +# Added on 2025-04-18 |
| 115 | +read_only: false |
| 116 | + |
| 117 | +# list of tool names to exclude. |
| 118 | +# This extends the existing exclusions (e.g. from the global configuration) |
| 119 | +# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html |
| 120 | +excluded_tools: [] |
| 121 | + |
| 122 | +# list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default). |
| 123 | +# This extends the existing inclusions (e.g. from the global configuration). |
| 124 | +# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html |
| 125 | +included_optional_tools: [] |
| 126 | + |
| 127 | +# fixed set of tools to use as the base tool set (if non-empty), replacing Serena's default set of tools. |
| 128 | +# This cannot be combined with non-empty excluded_tools or included_optional_tools. |
| 129 | +# Find the list of tools here: https://oraios.github.io/serena/01-about/035_tools.html |
| 130 | +fixed_tools: [] |
| 131 | + |
| 132 | +# list of mode names that are to be activated by default, overriding the setting in the global configuration. |
| 133 | +# The full set of modes to be activated is base_modes (from global config) + default_modes + added_modes. |
| 134 | +# If the setting is undefined/empty, the default_modes from the global configuration (serena_config.yml) apply. |
| 135 | +# Otherwise, this overrides the setting from the global configuration (serena_config.yml). |
| 136 | +# Therefore, you can set this to [] if you do not want the default modes defined in the global config to apply |
| 137 | +# for this project. |
| 138 | +# This setting can, in turn, be overridden by CLI parameters (--mode). |
| 139 | +# See https://oraios.github.io/serena/02-usage/050_configuration.html#modes |
| 140 | +default_modes: |
| 141 | + |
| 142 | +# list of mode names to be activated additionally for this project, e.g. ["query-projects"] |
| 143 | +# The full set of modes to be activated is base_modes (from global config) + default_modes + added_modes. |
| 144 | +# See https://oraios.github.io/serena/02-usage/050_configuration.html#modes |
| 145 | +added_modes: |
| 146 | + |
| 147 | +# initial prompt for the project. It will always be given to the LLM upon activating the project |
| 148 | +# (contrary to the memories, which are loaded on demand). |
| 149 | +initial_prompt: "" |
| 150 | + |
| 151 | +# time budget (seconds) per tool call for the retrieval of additional symbol information |
| 152 | +# such as docstrings or parameter information. |
| 153 | +# This overrides the corresponding setting in the global configuration; see the documentation there. |
| 154 | +# If null or missing, use the setting from the global configuration. |
| 155 | +symbol_info_budget: |
| 156 | + |
| 157 | +# list of regex patterns which, when matched, mark a memory entry as read‑only. |
| 158 | +# Extends the list from the global configuration, merging the two lists. |
| 159 | +read_only_memory_patterns: [] |
| 160 | + |
| 161 | +# list of regex patterns for memories to completely ignore. |
| 162 | +# Matching memories will not appear in list_memories or activate_project output |
| 163 | +# and cannot be accessed via read_memory or write_memory. |
| 164 | +# To access ignored memory files, use the read_file tool on the raw file path. |
| 165 | +# Extends the list from the global configuration, merging the two lists. |
| 166 | +# Example: ["_archive/.*", "_episodes/.*"] |
| 167 | +ignored_memory_patterns: [] |
0 commit comments