Skip to content

Commit 607db71

Browse files
authored
Auto-merge: dev-talesam → main
Automated merge performed by build_package.py
2 parents 030c251 + 3b38e24 commit 607db71

2,960 files changed

Lines changed: 177322 additions & 14279 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/translate-and-build-package.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v3
2020
- name: If Template exit
2121
shell: bash
2222
run: |
@@ -58,7 +58,6 @@ jobs:
5858
mv big-auto-translator/gettext_po_generator_github.sh .
5959
sudo cp -f big-auto-translator/openai-translate.js /usr/local/lib/node_modules/attranslate/dist/services/openai-translate.js
6060
gitfolder=$(echo ${{ github.repository }} | rev | cut -d "/" -f1 | rev)
61-
export OriginalLang=pt-BR
6261
bash gettext_po_generator_github.sh $gitfolder
6362
6463
- name: Update github

.gitignore

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# Distribution / packaging
7+
.Python
8+
build/
9+
develop-eggs/
10+
dist/
11+
.eggs/
12+
share/python-wheels/
13+
*.egg-info/
14+
.installed.cfg
15+
*.egg
16+
MANIFEST
17+
18+
# PyInstaller
19+
# Usually these files are written by a python script from a template
20+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
21+
*.manifest
22+
*.spec
23+
24+
# Installer logs
25+
pip-log.txt
26+
pip-delete-this-directory.txt
27+
28+
# Unit test / coverage reports
29+
htmlcov/
30+
.tox/
31+
.nox/
32+
.coverage
33+
.coverage.*
34+
.cache
35+
nosetests.xml
36+
coverage.xml
37+
*.cover
38+
*.py,cover
39+
.hypothesis/
40+
.pytest_cache/
41+
cover/
42+
43+
# Translations (compiled files only)
44+
*.mo
45+
46+
# Django stuff:
47+
*.log
48+
local_settings.py
49+
db.sqlite3
50+
db.sqlite3-journal
51+
52+
# Flask stuff:
53+
instance/
54+
.webassets-cache
55+
56+
# Scrapy stuff:
57+
.scrapy
58+
59+
# Sphinx documentation
60+
docs/_build/
61+
62+
# PyBuilder
63+
.pybuilder/
64+
target/
65+
66+
# Jupyter Notebook
67+
.ipynb_checkpoints
68+
69+
# IPython
70+
profile_default/
71+
ipython_config.py
72+
73+
# pyenv
74+
# For a library or package, you might want to ignore these files since the code is
75+
# intended to run in multiple environments; otherwise, check them in:
76+
# .python-version
77+
78+
# pipenv
79+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
80+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
81+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
82+
# install all needed dependencies.
83+
#Pipfile.lock
84+
85+
# UV
86+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
87+
# This is especially recommended for binary packages to ensure reproducibility, and is more
88+
# commonly ignored for libraries.
89+
#uv.lock
90+
91+
# poetry
92+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
93+
# This is especially recommended for binary packages to ensure reproducibility, and is more
94+
# commonly ignored for libraries.
95+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
96+
#poetry.lock
97+
98+
# pdm
99+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
100+
#pdm.lock
101+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
102+
# in version control.
103+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
104+
.pdm.toml
105+
.pdm-python
106+
.pdm-build/
107+
108+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
109+
__pypackages__/
110+
111+
# Celery stuff
112+
celerybeat-schedule
113+
celerybeat.pid
114+
115+
# SageMath parsed files
116+
*.sage.py
117+
118+
# Environments
119+
.env
120+
.venv
121+
env/
122+
venv/
123+
ENV/
124+
env.bak/
125+
venv.bak/
126+
127+
# Spyder project settings
128+
.spyderproject
129+
.spyproject
130+
131+
# Rope project settings
132+
.ropeproject
133+
134+
# mkdocs documentation
135+
/site
136+
137+
# mypy
138+
.mypy_cache/
139+
.dmypy.json
140+
dmypy.json
141+
142+
# Pyre type checker
143+
.pyre/
144+
145+
# pytype static type analyzer
146+
.pytype/
147+
148+
# Cython debug symbols
149+
cython_debug/
150+
151+
# PyCharm
152+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
153+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
154+
# and can be added to the global gitignore or merged into this file. For a more nuclear
155+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
156+
#.idea/
157+
158+
# Ruff stuff:
159+
.ruff_cache/
160+
161+
# PyPI configuration file
162+
.pypirc
163+
164+
# Project-specific
165+
.audit
166+
.mypy_cache
167+
.pytest_cache
168+
.serena
169+
tests
170+
driver-verify
171+
ruff.toml
172+
PLANNING.md

.serena/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/cache

.serena/project.yml

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# the name by which the project can be referenced within Serena
2+
project_name: "big-driver-manager"
3+
4+
5+
# list of languages for which language servers are started; choose from:
6+
# al bash clojure cpp csharp
7+
# csharp_omnisharp dart elixir elm erlang
8+
# fortran fsharp go groovy haskell
9+
# java julia kotlin lua markdown
10+
# matlab nix pascal perl php
11+
# php_phpactor powershell python python_jedi r
12+
# rego ruby ruby_solargraph rust scala
13+
# swift terraform toml typescript typescript_vts
14+
# vue yaml zig
15+
# (This list may be outdated. For the current list, see values of Language enum here:
16+
# https://github.com/oraios/serena/blob/main/src/solidlsp/ls_config.py
17+
# For some languages, there are alternative language servers, e.g. csharp_omnisharp, ruby_solargraph.)
18+
# Note:
19+
# - For C, use cpp
20+
# - For JavaScript, use typescript
21+
# - For Free Pascal/Lazarus, use pascal
22+
# Special requirements:
23+
# Some languages require additional setup/installations.
24+
# See here for details: https://oraios.github.io/serena/01-about/020_programming-languages.html#language-servers
25+
# When using multiple languages, the first language server that supports a given file will be used for that file.
26+
# The first language is the default language and the respective language server will be used as a fallback.
27+
# Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored.
28+
languages:
29+
- python
30+
31+
# the encoding used by text files in the project
32+
# For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings
33+
encoding: "utf-8"
34+
35+
# The language backend to use for this project.
36+
# If not set, the global setting from serena_config.yml is used.
37+
# Valid values: LSP, JetBrains
38+
# Note: the backend is fixed at startup. If a project with a different backend
39+
# is activated post-init, an error will be returned.
40+
language_backend:
41+
42+
# whether to use project's .gitignore files to ignore files
43+
ignore_all_files_in_gitignore: true
44+
45+
# list of additional paths to ignore in this project.
46+
# Same syntax as gitignore, so you can use * and **.
47+
# Note: global ignored_paths from serena_config.yml are also applied additively.
48+
ignored_paths: []
49+
50+
# whether the project is in read-only mode
51+
# If set to true, all editing tools will be disabled and attempts to use them will result in an error
52+
# Added on 2025-04-18
53+
read_only: false
54+
55+
# list of tool names to exclude. We recommend not excluding any tools, see the readme for more details.
56+
# Below is the complete list of tools for convenience.
57+
# To make sure you have the latest list of tools, and to view their descriptions,
58+
# execute `uv run scripts/print_tool_overview.py`.
59+
#
60+
# * `activate_project`: Activates a project by name.
61+
# * `check_onboarding_performed`: Checks whether project onboarding was already performed.
62+
# * `create_text_file`: Creates/overwrites a file in the project directory.
63+
# * `delete_lines`: Deletes a range of lines within a file.
64+
# * `delete_memory`: Deletes a memory from Serena's project-specific memory store.
65+
# * `execute_shell_command`: Executes a shell command.
66+
# * `find_referencing_code_snippets`: Finds code snippets in which the symbol at the given location is referenced.
67+
# * `find_referencing_symbols`: Finds symbols that reference the symbol at the given location (optionally filtered by type).
68+
# * `find_symbol`: Performs a global (or local) search for symbols with/containing a given name/substring (optionally filtered by type).
69+
# * `get_current_config`: Prints the current configuration of the agent, including the active and available projects, tools, contexts, and modes.
70+
# * `get_symbols_overview`: Gets an overview of the top-level symbols defined in a given file.
71+
# * `initial_instructions`: Gets the initial instructions for the current project.
72+
# Should only be used in settings where the system prompt cannot be set,
73+
# e.g. in clients you have no control over, like Claude Desktop.
74+
# * `insert_after_symbol`: Inserts content after the end of the definition of a given symbol.
75+
# * `insert_at_line`: Inserts content at a given line in a file.
76+
# * `insert_before_symbol`: Inserts content before the beginning of the definition of a given symbol.
77+
# * `list_dir`: Lists files and directories in the given directory (optionally with recursion).
78+
# * `list_memories`: Lists memories in Serena's project-specific memory store.
79+
# * `onboarding`: Performs onboarding (identifying the project structure and essential tasks, e.g. for testing or building).
80+
# * `prepare_for_new_conversation`: Provides instructions for preparing for a new conversation (in order to continue with the necessary context).
81+
# * `read_file`: Reads a file within the project directory.
82+
# * `read_memory`: Reads the memory with the given name from Serena's project-specific memory store.
83+
# * `remove_project`: Removes a project from the Serena configuration.
84+
# * `replace_lines`: Replaces a range of lines within a file with new content.
85+
# * `replace_symbol_body`: Replaces the full definition of a symbol.
86+
# * `restart_language_server`: Restarts the language server, may be necessary when edits not through Serena happen.
87+
# * `search_for_pattern`: Performs a search for a pattern in the project.
88+
# * `summarize_changes`: Provides instructions for summarizing the changes made to the codebase.
89+
# * `switch_modes`: Activates modes by providing a list of their names
90+
# * `think_about_collected_information`: Thinking tool for pondering the completeness of collected information.
91+
# * `think_about_task_adherence`: Thinking tool for determining whether the agent is still on track with the current task.
92+
# * `think_about_whether_you_are_done`: Thinking tool for determining whether the task is truly completed.
93+
# * `write_memory`: Writes a named memory (for future reference) to Serena's project-specific memory store.
94+
excluded_tools: []
95+
96+
# list of tools to include that would otherwise be disabled (particularly optional tools that are disabled by default)
97+
included_optional_tools: []
98+
99+
# fixed set of tools to use as the base tool set (if non-empty), replacing Serena's default set of tools.
100+
# This cannot be combined with non-empty excluded_tools or included_optional_tools.
101+
fixed_tools: []
102+
103+
# list of mode names to that are always to be included in the set of active modes
104+
# The full set of modes to be activated is base_modes + default_modes.
105+
# If the setting is undefined, the base_modes from the global configuration (serena_config.yml) apply.
106+
# Otherwise, this setting overrides the global configuration.
107+
# Set this to [] to disable base modes for this project.
108+
# Set this to a list of mode names to always include the respective modes for this project.
109+
base_modes:
110+
111+
# list of mode names that are to be activated by default.
112+
# The full set of modes to be activated is base_modes + default_modes.
113+
# If the setting is undefined, the default_modes from the global configuration (serena_config.yml) apply.
114+
# Otherwise, this overrides the setting from the global configuration (serena_config.yml).
115+
# This setting can, in turn, be overridden by CLI parameters (--mode).
116+
default_modes:
117+
118+
# initial prompt for the project. It will always be given to the LLM upon activating the project
119+
# (contrary to the memories, which are loaded on demand).
120+
initial_prompt: ""
121+
122+
# time budget (seconds) per tool call for the retrieval of additional symbol information
123+
# such as docstrings or parameter information.
124+
# This overrides the corresponding setting in the global configuration; see the documentation there.
125+
# If null or missing, use the setting from the global configuration.
126+
symbol_info_budget:

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Community Big
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)