Skip to content

Commit b0d9a48

Browse files
authored
Merge pull request #1 from randlee/develop
feat: Sprint 2 - C# Roslyn Semantic Diff
2 parents 9f01202 + 17df44d commit b0d9a48

File tree

89 files changed

+11749
-43
lines changed

Some content is hidden

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

89 files changed

+11749
-43
lines changed

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main, develop]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Setup .NET
18+
uses: actions/setup-dotnet@v4
19+
with:
20+
dotnet-version: '10.0.x'
21+
dotnet-quality: 'preview'
22+
23+
- name: Restore dependencies
24+
run: dotnet restore
25+
26+
- name: Build
27+
run: dotnet build --no-restore --configuration Release
28+
29+
- name: Test
30+
run: dotnet test --no-build --configuration Release --verbosity normal --logger "trx;LogFileName=test-results.trx" --collect:"XPlat Code Coverage"
31+
32+
- name: Upload test results
33+
uses: actions/upload-artifact@v4
34+
if: always()
35+
with:
36+
name: test-results
37+
path: "**/TestResults/**/*.trx"
38+
39+
- name: Upload coverage reports
40+
uses: actions/upload-artifact@v4
41+
if: always()
42+
with:
43+
name: coverage-reports
44+
path: "**/TestResults/**/coverage.cobertura.xml"

.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: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# list of languages for which language servers are started; choose from:
2+
# al bash clojure cpp csharp csharp_omnisharp
3+
# dart elixir elm erlang fortran fsharp
4+
# go groovy haskell java julia kotlin
5+
# lua markdown nix pascal perl php
6+
# powershell python python_jedi r rego ruby
7+
# ruby_solargraph rust scala swift terraform toml
8+
# typescript typescript_vts yaml zig
9+
# Note:
10+
# - For C, use cpp
11+
# - For JavaScript, use typescript
12+
# - For Free Pascal / Lazarus, use pascal
13+
# Special requirements:
14+
# - csharp: Requires the presence of a .sln file in the project folder.
15+
# - pascal: Requires Free Pascal Compiler (fpc) and optionally Lazarus.
16+
# When using multiple languages, the first language server that supports a given file will be used for that file.
17+
# The first language is the default language and the respective language server will be used as a fallback.
18+
# Note that when using the JetBrains backend, language servers are not used and this list is correspondingly ignored.
19+
languages:
20+
- csharp
21+
22+
# the encoding used by text files in the project
23+
# For a list of possible encodings, see https://docs.python.org/3.11/library/codecs.html#standard-encodings
24+
encoding: "utf-8"
25+
26+
# whether to use the project's gitignore file to ignore files
27+
# Added on 2025-04-07
28+
ignore_all_files_in_gitignore: true
29+
30+
# list of additional paths to ignore
31+
# same syntax as gitignore, so you can use * and **
32+
# Was previously called `ignored_dirs`, please update your config if you are using that.
33+
# Added (renamed) on 2025-04-07
34+
ignored_paths: []
35+
36+
# whether the project is in read-only mode
37+
# If set to true, all editing tools will be disabled and attempts to use them will result in an error
38+
# Added on 2025-04-18
39+
read_only: false
40+
41+
# list of tool names to exclude. We recommend not excluding any tools, see the readme for more details.
42+
# Below is the complete list of tools for convenience.
43+
# To make sure you have the latest list of tools, and to view their descriptions,
44+
# execute `uv run scripts/print_tool_overview.py`.
45+
#
46+
# * `activate_project`: Activates a project by name.
47+
# * `check_onboarding_performed`: Checks whether project onboarding was already performed.
48+
# * `create_text_file`: Creates/overwrites a file in the project directory.
49+
# * `delete_lines`: Deletes a range of lines within a file.
50+
# * `delete_memory`: Deletes a memory from Serena's project-specific memory store.
51+
# * `execute_shell_command`: Executes a shell command.
52+
# * `find_referencing_code_snippets`: Finds code snippets in which the symbol at the given location is referenced.
53+
# * `find_referencing_symbols`: Finds symbols that reference the symbol at the given location (optionally filtered by type).
54+
# * `find_symbol`: Performs a global (or local) search for symbols with/containing a given name/substring (optionally filtered by type).
55+
# * `get_current_config`: Prints the current configuration of the agent, including the active and available projects, tools, contexts, and modes.
56+
# * `get_symbols_overview`: Gets an overview of the top-level symbols defined in a given file.
57+
# * `initial_instructions`: Gets the initial instructions for the current project.
58+
# Should only be used in settings where the system prompt cannot be set,
59+
# e.g. in clients you have no control over, like Claude Desktop.
60+
# * `insert_after_symbol`: Inserts content after the end of the definition of a given symbol.
61+
# * `insert_at_line`: Inserts content at a given line in a file.
62+
# * `insert_before_symbol`: Inserts content before the beginning of the definition of a given symbol.
63+
# * `list_dir`: Lists files and directories in the given directory (optionally with recursion).
64+
# * `list_memories`: Lists memories in Serena's project-specific memory store.
65+
# * `onboarding`: Performs onboarding (identifying the project structure and essential tasks, e.g. for testing or building).
66+
# * `prepare_for_new_conversation`: Provides instructions for preparing for a new conversation (in order to continue with the necessary context).
67+
# * `read_file`: Reads a file within the project directory.
68+
# * `read_memory`: Reads the memory with the given name from Serena's project-specific memory store.
69+
# * `remove_project`: Removes a project from the Serena configuration.
70+
# * `replace_lines`: Replaces a range of lines within a file with new content.
71+
# * `replace_symbol_body`: Replaces the full definition of a symbol.
72+
# * `restart_language_server`: Restarts the language server, may be necessary when edits not through Serena happen.
73+
# * `search_for_pattern`: Performs a search for a pattern in the project.
74+
# * `summarize_changes`: Provides instructions for summarizing the changes made to the codebase.
75+
# * `switch_modes`: Activates modes by providing a list of their names
76+
# * `think_about_collected_information`: Thinking tool for pondering the completeness of collected information.
77+
# * `think_about_task_adherence`: Thinking tool for determining whether the agent is still on track with the current task.
78+
# * `think_about_whether_you_are_done`: Thinking tool for determining whether the task is truly completed.
79+
# * `write_memory`: Writes a named memory (for future reference) to Serena's project-specific memory store.
80+
excluded_tools: []
81+
82+
# initial prompt for the project. It will always be given to the LLM upon activating the project
83+
# (contrary to the memories, which are loaded on demand).
84+
initial_prompt: ""
85+
86+
project_name: "roslyn-diff"
87+
included_optional_tools: []

0 commit comments

Comments
 (0)