diff --git a/Microsoft.AI.Agents.sln b/Microsoft.AI.Agents.sln new file mode 100644 index 000000000..83c5e7ab3 --- /dev/null +++ b/Microsoft.AI.Agents.sln @@ -0,0 +1,56 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{7EC6823E-99FB-403F-9941-0CB08C6BFFD4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AI.Agents", "src\Microsoft.AI.Agents\Microsoft.AI.Agents.csproj", "{160AE89B-16BE-4FB8-8FEC-255E11D6E860}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{17FFA72B-390A-4BF6-A277-2099897D2132}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gh-flow", "gh-flow", "{0C7D5C39-2067-4EF1-9C10-72A847FF9CB3}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{DADD59B8-4B8B-4F2B-BFEB-0F93B8A6AA55}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AI.DevTeam", "samples\gh-flow\src\Microsoft.AI.DevTeam\Microsoft.AI.DevTeam.csproj", "{F02CC33B-B479-480B-B886-25ED0E18494A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "seed-memory", "samples\seed-memory\seed-memory.csproj", "{A1EB6145-FE32-45EC-8A1B-A76268B6DFDE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WorkflowsApp", "samples\WorkflowsApp\WorkflowsApp.csproj", "{3EE3F061-CC63-41B0-84BA-C95A256E18A9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {160AE89B-16BE-4FB8-8FEC-255E11D6E860}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {160AE89B-16BE-4FB8-8FEC-255E11D6E860}.Debug|Any CPU.Build.0 = Debug|Any CPU + {160AE89B-16BE-4FB8-8FEC-255E11D6E860}.Release|Any CPU.ActiveCfg = Release|Any CPU + {160AE89B-16BE-4FB8-8FEC-255E11D6E860}.Release|Any CPU.Build.0 = Release|Any CPU + {F02CC33B-B479-480B-B886-25ED0E18494A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F02CC33B-B479-480B-B886-25ED0E18494A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F02CC33B-B479-480B-B886-25ED0E18494A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F02CC33B-B479-480B-B886-25ED0E18494A}.Release|Any CPU.Build.0 = Release|Any CPU + {A1EB6145-FE32-45EC-8A1B-A76268B6DFDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A1EB6145-FE32-45EC-8A1B-A76268B6DFDE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A1EB6145-FE32-45EC-8A1B-A76268B6DFDE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A1EB6145-FE32-45EC-8A1B-A76268B6DFDE}.Release|Any CPU.Build.0 = Release|Any CPU + {3EE3F061-CC63-41B0-84BA-C95A256E18A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3EE3F061-CC63-41B0-84BA-C95A256E18A9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3EE3F061-CC63-41B0-84BA-C95A256E18A9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3EE3F061-CC63-41B0-84BA-C95A256E18A9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {160AE89B-16BE-4FB8-8FEC-255E11D6E860} = {7EC6823E-99FB-403F-9941-0CB08C6BFFD4} + {0C7D5C39-2067-4EF1-9C10-72A847FF9CB3} = {17FFA72B-390A-4BF6-A277-2099897D2132} + {DADD59B8-4B8B-4F2B-BFEB-0F93B8A6AA55} = {0C7D5C39-2067-4EF1-9C10-72A847FF9CB3} + {F02CC33B-B479-480B-B886-25ED0E18494A} = {DADD59B8-4B8B-4F2B-BFEB-0F93B8A6AA55} + {A1EB6145-FE32-45EC-8A1B-A76268B6DFDE} = {17FFA72B-390A-4BF6-A277-2099897D2132} + {3EE3F061-CC63-41B0-84BA-C95A256E18A9} = {17FFA72B-390A-4BF6-A277-2099897D2132} + EndGlobalSection +EndGlobal diff --git a/README.md b/README.md index a75d3cc31..e925413eb 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,18 @@ +> ⚠️ This project is still an experimentation phase and is not intended to be used in production yet. -# Ai Agents +# AI Agents Framework -Build a Dev Team using event driven agents. -This project is an experiment and is not intended to be used in production. +An opinionated .NET framework, that is built on top of Semantic Kernel and Orleans, which helps creating and hosting event-driven AI Agents. -# Background - initial idea +At the moment the library resides in `src/` only, but we plan to publish them as a Nuget Package in the future. -From a natural language specification, set out to integrate a team of AI agents into your team’s dev process, either for discrete tasks on an existing repo (unit tests, pipeline expansions, PRs for specific intents), developing a new feature, or even building an application from scratch. Starting from an existing repo and a broad statement of intent, work with multiple AI agents, each of which has a different emphasis - from architecture, to task breakdown, to plans for individual tasks, to code output, code review, efficiency, documentation, build, writing tests, setting up pipelines, deployment, integration tests, and then validation. -The system will present a view that facilitates chain-of-thought coordination across multiple trees of reasoning with the dev team agents. +## Examples -# Emerging framework - Ai Agents +We have created a few examples to help you get started with the framework and to explore its capabilities. -While building the dev team agents, we stumbled upon few patterns and abstractions that we think are usefull for building a variety of agentic systems. -At the moment they reside in `src/libs/Microsoft.AI.DevTeam`, but we plan to move them to a separate repo and nuget package. +- [GitHub Dev Team Sample](samples/gh-flow/README.md): Build an AI Developer Team using event-driven agents, that help you automate the requirements engineering, planning, and coding process on GitHub. -# Github dev agents demo - -https://github.com/microsoft/azure-openai-dev-skills-orchestrator/assets/10728102/cafb1546-69ab-4c27-aaf5-1968313d637f - -## How it works - -* User begins with creating an issue and then stateing what they want to accomplish, natural language, as simple or as detailed as needed. -* Product manager agent will respond with a Readme, which can be iterated upon. - * User approves the readme or gives feedback via issue comments. - * Once the readme is approved, the user closes the issue and the Readme is commited to a PR. -* Developer lead agent responds with a decomposed plan for development, which also can be iterated upon. - * User approves the plan or gives feedback via issue comments. - * Once the readme is approved, the user closes the issue and the plan is used to break down the task to different developer agents. -* Developer agents respond with code, which can be iterated upon. - * User approves the code or gives feedback via issue comments. - * Once the code is approved, the user closes the issue and the code is commited to a PR. - -# How to run the Github dev agents project - -Check [the getting started guide](./docs/github-flow-getting-started.md) - -# Other scenarios using the AiAgents - -## TODO - -# Contributing +## Contributing This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us @@ -53,7 +26,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. -# Legal Notices +## Legal Notices Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/legalcode), diff --git a/docs/github-flow.md b/docs/github-flow.md deleted file mode 100644 index b6dd39e34..000000000 --- a/docs/github-flow.md +++ /dev/null @@ -1,34 +0,0 @@ -# How does the event flow look like? -```mermaid -graph TD; - NEA([NewAsk event]) -->|Hubber| NEA1[Creation of PM issue, DevLead issue, and new branch]; - - RR([ReadmeRequested event]) -->|ProductManager| PM1[Generation of new README]; - NEA1 --> RR; - PM1 --> RG([ReadmeGenerated event]); - RG -->|Hubber| RC[Post the readme as a new comment on the issue]; - RC --> RCC([ReadmeChainClosed event]); - RCC -->|ProductManager| RCR([ReadmeCreated event]); - RCR --> |AzureGenie| RES[Store Readme in blob storage]; - RES --> RES2([ReadmeStored event]); - RES2 --> |Hubber| REC[Readme commited to branch and create new PR]; - - DPR([DevPlanRequested event]) -->|DeveloperLead| DPG[Generation of new development plan]; - NEA1 --> DPR; - DPG --> DPGE([DevPlanGenerated event]); - DPGE -->|Hubber| DPGEC[Posting the plan as a new comment on the issue]; - DPGEC --> DPCC([DevPlanChainClosed event]); - DPCC -->|DeveloperLead| DPCE([DevPlanCreated event]); - DPCE --> |Hubber| DPC[Creates a Dev issue for each subtask]; - - DPC([CodeGenerationRequested event]) -->|Developer| CG[Generation of new code]; - CG --> CGE([CodeGenerated event]); - CGE -->|Hubber| CGC[Posting the code as a new comment on the issue]; - CGC --> CCCE([CodeChainClosed event]); - CCCE -->|Developer| CCE([CodeCreated event]); - CCE --> |AzureGenie| CS[Store code in blob storage and schedule a run in the sandbox]; - CS --> SRC([SandboxRunCreated event]); - SRC --> |Sandbox| SRM[Check every minute if the run finished]; - SRM --> SRF([SandboxRunFinished event]); - SRF --> |Hubber| SRCC[Code files commited to branch]; -``` diff --git a/docs/overview.md b/docs/overview.md deleted file mode 100644 index abd07c984..000000000 --- a/docs/overview.md +++ /dev/null @@ -1,3 +0,0 @@ -# General solution overview - -![General overview](./images/overview.png) diff --git a/src/sample-apps/WorkflowsApp/.env_example b/samples/WorkflowsApp/.env_example similarity index 100% rename from src/sample-apps/WorkflowsApp/.env_example rename to samples/WorkflowsApp/.env_example diff --git a/src/sample-apps/WorkflowsApp/Activities/ActivityProviders/SemanticKernelSkillActivityProvider.cs b/samples/WorkflowsApp/Activities/ActivityProviders/SemanticKernelSkillActivityProvider.cs similarity index 100% rename from src/sample-apps/WorkflowsApp/Activities/ActivityProviders/SemanticKernelSkillActivityProvider.cs rename to samples/WorkflowsApp/Activities/ActivityProviders/SemanticKernelSkillActivityProvider.cs diff --git a/src/sample-apps/WorkflowsApp/Activities/SemanticKernel.cs b/samples/WorkflowsApp/Activities/SemanticKernel.cs similarity index 100% rename from src/sample-apps/WorkflowsApp/Activities/SemanticKernel.cs rename to samples/WorkflowsApp/Activities/SemanticKernel.cs diff --git a/src/sample-apps/WorkflowsApp/Config/KernelSettings.cs b/samples/WorkflowsApp/Config/KernelSettings.cs similarity index 100% rename from src/sample-apps/WorkflowsApp/Config/KernelSettings.cs rename to samples/WorkflowsApp/Config/KernelSettings.cs diff --git a/src/sample-apps/WorkflowsApp/Config/PromptDefaults.cs b/samples/WorkflowsApp/Config/PromptDefaults.cs similarity index 100% rename from src/sample-apps/WorkflowsApp/Config/PromptDefaults.cs rename to samples/WorkflowsApp/Config/PromptDefaults.cs diff --git a/src/sample-apps/WorkflowsApp/NuGet.Config b/samples/WorkflowsApp/NuGet.Config similarity index 100% rename from src/sample-apps/WorkflowsApp/NuGet.Config rename to samples/WorkflowsApp/NuGet.Config diff --git a/src/sample-apps/WorkflowsApp/Pages/Index.cshtml b/samples/WorkflowsApp/Pages/Index.cshtml similarity index 100% rename from src/sample-apps/WorkflowsApp/Pages/Index.cshtml rename to samples/WorkflowsApp/Pages/Index.cshtml diff --git a/src/sample-apps/WorkflowsApp/Pages/_ViewImports.cshtml b/samples/WorkflowsApp/Pages/_ViewImports.cshtml similarity index 100% rename from src/sample-apps/WorkflowsApp/Pages/_ViewImports.cshtml rename to samples/WorkflowsApp/Pages/_ViewImports.cshtml diff --git a/src/sample-apps/WorkflowsApp/Program.cs b/samples/WorkflowsApp/Program.cs similarity index 100% rename from src/sample-apps/WorkflowsApp/Program.cs rename to samples/WorkflowsApp/Program.cs diff --git a/src/sample-apps/WorkflowsApp/Properties/launchSettings.json b/samples/WorkflowsApp/Properties/launchSettings.json similarity index 100% rename from src/sample-apps/WorkflowsApp/Properties/launchSettings.json rename to samples/WorkflowsApp/Properties/launchSettings.json diff --git a/docs/elsa-workflows.md b/samples/WorkflowsApp/README.md similarity index 100% rename from docs/elsa-workflows.md rename to samples/WorkflowsApp/README.md diff --git a/src/sample-apps/WorkflowsApp/Skills/DevLeadPrompts.cs b/samples/WorkflowsApp/Skills/DevLeadPrompts.cs similarity index 100% rename from src/sample-apps/WorkflowsApp/Skills/DevLeadPrompts.cs rename to samples/WorkflowsApp/Skills/DevLeadPrompts.cs diff --git a/src/sample-apps/WorkflowsApp/Skills/Developer.cs b/samples/WorkflowsApp/Skills/Developer.cs similarity index 100% rename from src/sample-apps/WorkflowsApp/Skills/Developer.cs rename to samples/WorkflowsApp/Skills/Developer.cs diff --git a/src/sample-apps/WorkflowsApp/Skills/PMPrompts.cs b/samples/WorkflowsApp/Skills/PMPrompts.cs similarity index 100% rename from src/sample-apps/WorkflowsApp/Skills/PMPrompts.cs rename to samples/WorkflowsApp/Skills/PMPrompts.cs diff --git a/src/sample-apps/WorkflowsApp/Skills/SemanticFunctionConfig.cs b/samples/WorkflowsApp/Skills/SemanticFunctionConfig.cs similarity index 100% rename from src/sample-apps/WorkflowsApp/Skills/SemanticFunctionConfig.cs rename to samples/WorkflowsApp/Skills/SemanticFunctionConfig.cs diff --git a/src/sample-apps/WorkflowsApp/WorkflowsApp.csproj b/samples/WorkflowsApp/WorkflowsApp.csproj similarity index 100% rename from src/sample-apps/WorkflowsApp/WorkflowsApp.csproj rename to samples/WorkflowsApp/WorkflowsApp.csproj diff --git a/src/sample-apps/WorkflowsApp/appsettings.Development.json b/samples/WorkflowsApp/appsettings.Development.json similarity index 100% rename from src/sample-apps/WorkflowsApp/appsettings.Development.json rename to samples/WorkflowsApp/appsettings.Development.json diff --git a/samples/gh-flow/README.md b/samples/gh-flow/README.md new file mode 100644 index 000000000..ff0aed310 --- /dev/null +++ b/samples/gh-flow/README.md @@ -0,0 +1,69 @@ +# GitHub Dev Team with AI Agents + +Build a Dev Team using event driven agents. This project is an experiment and is not intended to be used in production. + +## Background + +From a natural language specification, set out to integrate a team of AI agents into your team’s dev process, either for discrete tasks on an existing repo (unit tests, pipeline expansions, PRs for specific intents), developing a new feature, or even building an application from scratch. Starting from an existing repo and a broad statement of intent, work with multiple AI agents, each of which has a different emphasis - from architecture, to task breakdown, to plans for individual tasks, to code output, code review, efficiency, documentation, build, writing tests, setting up pipelines, deployment, integration tests, and then validation. +The system will present a view that facilitates chain-of-thought coordination across multiple trees of reasoning with the dev team agents. + + + +## Get it running + +Check [the getting started guide](./docs/github-flow-getting-started.md). + +## Demo + +https://github.com/microsoft/azure-openai-dev-skills-orchestrator/assets/10728102/cafb1546-69ab-4c27-aaf5-1968313d637f + +## Solution overview + +![General overview](./docs/images/overview.png) + +## How it works + +* User begins with creating an issue and then stateing what they want to accomplish, natural language, as simple or as detailed as needed. +* Product manager agent will respond with a Readme, which can be iterated upon. + * User approves the readme or gives feedback via issue comments. + * Once the readme is approved, the user closes the issue and the Readme is commited to a PR. +* Developer lead agent responds with a decomposed plan for development, which also can be iterated upon. + * User approves the plan or gives feedback via issue comments. + * Once the readme is approved, the user closes the issue and the plan is used to break down the task to different developer agents. +* Developer agents respond with code, which can be iterated upon. + * User approves the code or gives feedback via issue comments. + * Once the code is approved, the user closes the issue and the code is commited to a PR. + +```mermaid +graph TD; + NEA([NewAsk event]) -->|Hubber| NEA1[Creation of PM issue, DevLead issue, and new branch]; + + RR([ReadmeRequested event]) -->|ProductManager| PM1[Generation of new README]; + NEA1 --> RR; + PM1 --> RG([ReadmeGenerated event]); + RG -->|Hubber| RC[Post the readme as a new comment on the issue]; + RC --> RCC([ReadmeChainClosed event]); + RCC -->|ProductManager| RCR([ReadmeCreated event]); + RCR --> |AzureGenie| RES[Store Readme in blob storage]; + RES --> RES2([ReadmeStored event]); + RES2 --> |Hubber| REC[Readme commited to branch and create new PR]; + + DPR([DevPlanRequested event]) -->|DeveloperLead| DPG[Generation of new development plan]; + NEA1 --> DPR; + DPG --> DPGE([DevPlanGenerated event]); + DPGE -->|Hubber| DPGEC[Posting the plan as a new comment on the issue]; + DPGEC --> DPCC([DevPlanChainClosed event]); + DPCC -->|DeveloperLead| DPCE([DevPlanCreated event]); + DPCE --> |Hubber| DPC[Creates a Dev issue for each subtask]; + + DPC([CodeGenerationRequested event]) -->|Developer| CG[Generation of new code]; + CG --> CGE([CodeGenerated event]); + CGE -->|Hubber| CGC[Posting the code as a new comment on the issue]; + CGC --> CCCE([CodeChainClosed event]); + CCCE -->|Developer| CCE([CodeCreated event]); + CCE --> |AzureGenie| CS[Store code in blob storage and schedule a run in the sandbox]; + CS --> SRC([SandboxRunCreated event]); + SRC --> |Sandbox| SRM[Check every minute if the run finished]; + SRM --> SRF([SandboxRunFinished event]); + SRF --> |Hubber| SRCC[Code files commited to branch]; +``` diff --git a/azure.yaml b/samples/gh-flow/azure.yaml similarity index 69% rename from azure.yaml rename to samples/gh-flow/azure.yaml index ca51a5084..b95e9a6e7 100644 --- a/azure.yaml +++ b/samples/gh-flow/azure.yaml @@ -3,8 +3,8 @@ name: ai-dev-team services: gh-flow: - project: ./src/sample-apps/gh-flow + project: "src/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj" language: csharp host: containerapp docker: - context: ../../../ \ No newline at end of file + context: ../../../ diff --git a/docs/github-flow-getting-started.md b/samples/gh-flow/docs/github-flow-getting-started.md similarity index 84% rename from docs/github-flow-getting-started.md rename to samples/gh-flow/docs/github-flow-getting-started.md index 722a7bc0a..b287910ff 100644 --- a/docs/github-flow-getting-started.md +++ b/samples/gh-flow/docs/github-flow-getting-started.md @@ -48,7 +48,7 @@ https://docs.github.com/en/codespaces/developing-in-a-codespace/creating-a-codes ![Alt text](./images/new-codespace.png) -Within this repo there is a folder "scr\sample-apps\gh-flow" Within this folder there are two files called appsettings.azure.template.json and appsettings.local.template.json. If you run this demo locally, use the local template and if you want to run it within Azure use the Azure template. Rename the selected file to appsettings.json and fill out the config values within the file. +In this sample's folder there are two files called appsettings.azure.template.json and appsettings.local.template.json. If you run this demo locally, use the local template and if you want to run it within Azure use the Azure template. Rename the selected file to appsettings.json and fill out the config values within the file. In the Explorer tab in VS Code, find the Solution explorer, right click on the `gh-flow` project and click Debug -> Start new instance @@ -76,7 +76,7 @@ Also, since this project is relying on Orleans for the Agents implementation, th ## How do I deploy the azure bits? -This repo is setup to use [azd](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/overview) to work with the Azure bits. `azd` is installed in the codespace. +This sample is setup to use [azd](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/overview) to work with the Azure bits. `azd` is installed in the codespace. Let's start by logging in to Azure using ```bash @@ -100,4 +100,4 @@ As the last step, we also need to [load the WAF into the vector DB](#load-the-wa ### Load the WAF into Qdrant. If you are running the app locally, we have [Qdrant](https://qdrant.tech/) setup in the Codespace and if you are running in Azure, Qdrant is deployed to ACA. -The loader is a project in the `src\apps` folder, called `seed-memory`. We need to fill in the `appsettings.json` file in the `config` folder with the OpenAI details and the Qdrant endpoint, then just run the loader with `dotnet run` and you are ready to go. +The loader is a project in the `samples` folder, called `seed-memory`. We need to fill in the `appsettings.json` file in the `config` folder with the OpenAI details and the Qdrant endpoint, then just run the loader with `dotnet run` and you are ready to go. \ No newline at end of file diff --git a/docs/images/github-sk-dev-team.png b/samples/gh-flow/docs/images/github-sk-dev-team.png similarity index 100% rename from docs/images/github-sk-dev-team.png rename to samples/gh-flow/docs/images/github-sk-dev-team.png diff --git a/docs/images/new-codespace.png b/samples/gh-flow/docs/images/new-codespace.png similarity index 100% rename from docs/images/new-codespace.png rename to samples/gh-flow/docs/images/new-codespace.png diff --git a/docs/images/overview.png b/samples/gh-flow/docs/images/overview.png similarity index 100% rename from docs/images/overview.png rename to samples/gh-flow/docs/images/overview.png diff --git a/docs/images/solution-explorer.png b/samples/gh-flow/docs/images/solution-explorer.png similarity index 100% rename from docs/images/solution-explorer.png rename to samples/gh-flow/docs/images/solution-explorer.png diff --git a/infra/abbreviations.json b/samples/gh-flow/infra/abbreviations.json similarity index 100% rename from infra/abbreviations.json rename to samples/gh-flow/infra/abbreviations.json diff --git a/infra/app/db.bicep b/samples/gh-flow/infra/app/db.bicep similarity index 100% rename from infra/app/db.bicep rename to samples/gh-flow/infra/app/db.bicep diff --git a/infra/app/gh-flow.bicep b/samples/gh-flow/infra/app/gh-flow.bicep similarity index 100% rename from infra/app/gh-flow.bicep rename to samples/gh-flow/infra/app/gh-flow.bicep diff --git a/infra/app/sk-func.bicep b/samples/gh-flow/infra/app/sk-func.bicep similarity index 100% rename from infra/app/sk-func.bicep rename to samples/gh-flow/infra/app/sk-func.bicep diff --git a/infra/core/database/cosmos/cosmos-account.bicep b/samples/gh-flow/infra/core/database/cosmos/cosmos-account.bicep similarity index 100% rename from infra/core/database/cosmos/cosmos-account.bicep rename to samples/gh-flow/infra/core/database/cosmos/cosmos-account.bicep diff --git a/infra/core/database/cosmos/sql/cosmos-sql-account.bicep b/samples/gh-flow/infra/core/database/cosmos/sql/cosmos-sql-account.bicep similarity index 100% rename from infra/core/database/cosmos/sql/cosmos-sql-account.bicep rename to samples/gh-flow/infra/core/database/cosmos/sql/cosmos-sql-account.bicep diff --git a/infra/core/database/cosmos/sql/cosmos-sql-db.bicep b/samples/gh-flow/infra/core/database/cosmos/sql/cosmos-sql-db.bicep similarity index 100% rename from infra/core/database/cosmos/sql/cosmos-sql-db.bicep rename to samples/gh-flow/infra/core/database/cosmos/sql/cosmos-sql-db.bicep diff --git a/infra/core/database/cosmos/sql/cosmos-sql-role-assign.bicep b/samples/gh-flow/infra/core/database/cosmos/sql/cosmos-sql-role-assign.bicep similarity index 100% rename from infra/core/database/cosmos/sql/cosmos-sql-role-assign.bicep rename to samples/gh-flow/infra/core/database/cosmos/sql/cosmos-sql-role-assign.bicep diff --git a/infra/core/database/cosmos/sql/cosmos-sql-role-def.bicep b/samples/gh-flow/infra/core/database/cosmos/sql/cosmos-sql-role-def.bicep similarity index 100% rename from infra/core/database/cosmos/sql/cosmos-sql-role-def.bicep rename to samples/gh-flow/infra/core/database/cosmos/sql/cosmos-sql-role-def.bicep diff --git a/infra/core/database/postgresql/flexibleserver.bicep b/samples/gh-flow/infra/core/database/postgresql/flexibleserver.bicep similarity index 100% rename from infra/core/database/postgresql/flexibleserver.bicep rename to samples/gh-flow/infra/core/database/postgresql/flexibleserver.bicep diff --git a/infra/core/database/qdrant/qdrant-aca.bicep b/samples/gh-flow/infra/core/database/qdrant/qdrant-aca.bicep similarity index 100% rename from infra/core/database/qdrant/qdrant-aca.bicep rename to samples/gh-flow/infra/core/database/qdrant/qdrant-aca.bicep diff --git a/infra/core/host/appservice-appsettings.bicep b/samples/gh-flow/infra/core/host/appservice-appsettings.bicep similarity index 100% rename from infra/core/host/appservice-appsettings.bicep rename to samples/gh-flow/infra/core/host/appservice-appsettings.bicep diff --git a/infra/core/host/appservice.bicep b/samples/gh-flow/infra/core/host/appservice.bicep similarity index 100% rename from infra/core/host/appservice.bicep rename to samples/gh-flow/infra/core/host/appservice.bicep diff --git a/infra/core/host/appserviceplan.bicep b/samples/gh-flow/infra/core/host/appserviceplan.bicep similarity index 100% rename from infra/core/host/appserviceplan.bicep rename to samples/gh-flow/infra/core/host/appserviceplan.bicep diff --git a/infra/core/host/container-app-upsert.bicep b/samples/gh-flow/infra/core/host/container-app-upsert.bicep similarity index 100% rename from infra/core/host/container-app-upsert.bicep rename to samples/gh-flow/infra/core/host/container-app-upsert.bicep diff --git a/infra/core/host/container-app.bicep b/samples/gh-flow/infra/core/host/container-app.bicep similarity index 100% rename from infra/core/host/container-app.bicep rename to samples/gh-flow/infra/core/host/container-app.bicep diff --git a/infra/core/host/container-apps-environment.bicep b/samples/gh-flow/infra/core/host/container-apps-environment.bicep similarity index 100% rename from infra/core/host/container-apps-environment.bicep rename to samples/gh-flow/infra/core/host/container-apps-environment.bicep diff --git a/infra/core/host/container-apps.bicep b/samples/gh-flow/infra/core/host/container-apps.bicep similarity index 100% rename from infra/core/host/container-apps.bicep rename to samples/gh-flow/infra/core/host/container-apps.bicep diff --git a/infra/core/host/container-registry.bicep b/samples/gh-flow/infra/core/host/container-registry.bicep similarity index 100% rename from infra/core/host/container-registry.bicep rename to samples/gh-flow/infra/core/host/container-registry.bicep diff --git a/infra/core/host/functions.bicep b/samples/gh-flow/infra/core/host/functions.bicep similarity index 100% rename from infra/core/host/functions.bicep rename to samples/gh-flow/infra/core/host/functions.bicep diff --git a/infra/core/monitor/applicationinsights-dashboard.bicep b/samples/gh-flow/infra/core/monitor/applicationinsights-dashboard.bicep similarity index 100% rename from infra/core/monitor/applicationinsights-dashboard.bicep rename to samples/gh-flow/infra/core/monitor/applicationinsights-dashboard.bicep diff --git a/infra/core/monitor/applicationinsights.bicep b/samples/gh-flow/infra/core/monitor/applicationinsights.bicep similarity index 100% rename from infra/core/monitor/applicationinsights.bicep rename to samples/gh-flow/infra/core/monitor/applicationinsights.bicep diff --git a/infra/core/monitor/loganalytics.bicep b/samples/gh-flow/infra/core/monitor/loganalytics.bicep similarity index 100% rename from infra/core/monitor/loganalytics.bicep rename to samples/gh-flow/infra/core/monitor/loganalytics.bicep diff --git a/infra/core/monitor/monitoring.bicep b/samples/gh-flow/infra/core/monitor/monitoring.bicep similarity index 100% rename from infra/core/monitor/monitoring.bicep rename to samples/gh-flow/infra/core/monitor/monitoring.bicep diff --git a/infra/core/security/registry-access.bicep b/samples/gh-flow/infra/core/security/registry-access.bicep similarity index 100% rename from infra/core/security/registry-access.bicep rename to samples/gh-flow/infra/core/security/registry-access.bicep diff --git a/infra/core/storage/storage-account.bicep b/samples/gh-flow/infra/core/storage/storage-account.bicep similarity index 100% rename from infra/core/storage/storage-account.bicep rename to samples/gh-flow/infra/core/storage/storage-account.bicep diff --git a/infra/main.bicep b/samples/gh-flow/infra/main.bicep similarity index 100% rename from infra/main.bicep rename to samples/gh-flow/infra/main.bicep diff --git a/infra/main.parameters.json b/samples/gh-flow/infra/main.parameters.json similarity index 100% rename from infra/main.parameters.json rename to samples/gh-flow/infra/main.parameters.json diff --git a/src/sample-apps/gh-flow/Agents/Architect/Architect.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/Architect/Architect.cs similarity index 100% rename from src/sample-apps/gh-flow/Agents/Architect/Architect.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/Architect/Architect.cs diff --git a/src/sample-apps/gh-flow/Agents/AzureGenie.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/AzureGenie.cs similarity index 100% rename from src/sample-apps/gh-flow/Agents/AzureGenie.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/AzureGenie.cs diff --git a/src/sample-apps/gh-flow/Agents/Developer/Developer.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/Developer/Developer.cs similarity index 100% rename from src/sample-apps/gh-flow/Agents/Developer/Developer.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/Developer/Developer.cs diff --git a/src/sample-apps/gh-flow/Agents/Developer/DeveloperPrompts.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/Developer/DeveloperPrompts.cs similarity index 100% rename from src/sample-apps/gh-flow/Agents/Developer/DeveloperPrompts.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/Developer/DeveloperPrompts.cs diff --git a/src/sample-apps/gh-flow/Agents/DeveloperLead/DevLeadPrompts.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/DeveloperLead/DevLeadPrompts.cs similarity index 100% rename from src/sample-apps/gh-flow/Agents/DeveloperLead/DevLeadPrompts.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/DeveloperLead/DevLeadPrompts.cs diff --git a/src/sample-apps/gh-flow/Agents/DeveloperLead/DeveloperLead.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/DeveloperLead/DeveloperLead.cs similarity index 100% rename from src/sample-apps/gh-flow/Agents/DeveloperLead/DeveloperLead.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/DeveloperLead/DeveloperLead.cs diff --git a/src/sample-apps/gh-flow/Agents/Hubber.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/Hubber.cs similarity index 100% rename from src/sample-apps/gh-flow/Agents/Hubber.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/Hubber.cs diff --git a/src/sample-apps/gh-flow/Agents/ProductManager/PMPrompts.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/ProductManager/PMPrompts.cs similarity index 100% rename from src/sample-apps/gh-flow/Agents/ProductManager/PMPrompts.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/ProductManager/PMPrompts.cs diff --git a/src/sample-apps/gh-flow/Agents/ProductManager/ProductManager.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/ProductManager/ProductManager.cs similarity index 100% rename from src/sample-apps/gh-flow/Agents/ProductManager/ProductManager.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/ProductManager/ProductManager.cs diff --git a/src/sample-apps/gh-flow/Agents/Sandbox.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/Sandbox.cs similarity index 100% rename from src/sample-apps/gh-flow/Agents/Sandbox.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Agents/Sandbox.cs diff --git a/src/sample-apps/gh-flow/Dockerfile b/samples/gh-flow/src/Microsoft.AI.DevTeam/Dockerfile similarity index 100% rename from src/sample-apps/gh-flow/Dockerfile rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Dockerfile diff --git a/src/sample-apps/gh-flow/Events/GithubFlowEventType.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Events/GithubFlowEventType.cs similarity index 100% rename from src/sample-apps/gh-flow/Events/GithubFlowEventType.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Events/GithubFlowEventType.cs diff --git a/src/sample-apps/gh-flow/gh-flow.csproj b/samples/gh-flow/src/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj similarity index 96% rename from src/sample-apps/gh-flow/gh-flow.csproj rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj index 85e09afff..eee3cf9b5 100644 --- a/src/sample-apps/gh-flow/gh-flow.csproj +++ b/samples/gh-flow/src/Microsoft.AI.DevTeam/Microsoft.AI.DevTeam.csproj @@ -1,7 +1,7 @@  - + diff --git a/src/sample-apps/gh-flow/Options/AzureOptions.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Options/AzureOptions.cs similarity index 100% rename from src/sample-apps/gh-flow/Options/AzureOptions.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Options/AzureOptions.cs diff --git a/src/sample-apps/gh-flow/Options/Consts.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Options/Consts.cs similarity index 100% rename from src/sample-apps/gh-flow/Options/Consts.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Options/Consts.cs diff --git a/src/sample-apps/gh-flow/Options/GithubOptions.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Options/GithubOptions.cs similarity index 100% rename from src/sample-apps/gh-flow/Options/GithubOptions.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Options/GithubOptions.cs diff --git a/src/sample-apps/gh-flow/Options/OpenAIOptions.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Options/OpenAIOptions.cs similarity index 100% rename from src/sample-apps/gh-flow/Options/OpenAIOptions.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Options/OpenAIOptions.cs diff --git a/src/sample-apps/gh-flow/Options/QdrantOptions.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Options/QdrantOptions.cs similarity index 100% rename from src/sample-apps/gh-flow/Options/QdrantOptions.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Options/QdrantOptions.cs diff --git a/src/sample-apps/gh-flow/Options/ServiceOptions.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Options/ServiceOptions.cs similarity index 100% rename from src/sample-apps/gh-flow/Options/ServiceOptions.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Options/ServiceOptions.cs diff --git a/src/sample-apps/gh-flow/Program.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Program.cs similarity index 100% rename from src/sample-apps/gh-flow/Program.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Program.cs diff --git a/src/sample-apps/gh-flow/Properties/launchSettings.json b/samples/gh-flow/src/Microsoft.AI.DevTeam/Properties/launchSettings.json similarity index 100% rename from src/sample-apps/gh-flow/Properties/launchSettings.json rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Properties/launchSettings.json diff --git a/src/sample-apps/gh-flow/Services/AzureService.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Services/AzureService.cs similarity index 100% rename from src/sample-apps/gh-flow/Services/AzureService.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Services/AzureService.cs diff --git a/src/sample-apps/gh-flow/Services/CodeAnalyzer.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Services/CodeAnalyzer.cs similarity index 100% rename from src/sample-apps/gh-flow/Services/CodeAnalyzer.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Services/CodeAnalyzer.cs diff --git a/src/sample-apps/gh-flow/Services/GithubAuthService.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Services/GithubAuthService.cs similarity index 100% rename from src/sample-apps/gh-flow/Services/GithubAuthService.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Services/GithubAuthService.cs diff --git a/src/sample-apps/gh-flow/Services/GithubService.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Services/GithubService.cs similarity index 100% rename from src/sample-apps/gh-flow/Services/GithubService.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Services/GithubService.cs diff --git a/src/sample-apps/gh-flow/Services/GithubWebHookProcessor.cs b/samples/gh-flow/src/Microsoft.AI.DevTeam/Services/GithubWebHookProcessor.cs similarity index 100% rename from src/sample-apps/gh-flow/Services/GithubWebHookProcessor.cs rename to samples/gh-flow/src/Microsoft.AI.DevTeam/Services/GithubWebHookProcessor.cs diff --git a/src/sample-apps/gh-flow/appsettings.azure.template.json b/samples/gh-flow/src/Microsoft.AI.DevTeam/appsettings.azure.template.json similarity index 100% rename from src/sample-apps/gh-flow/appsettings.azure.template.json rename to samples/gh-flow/src/Microsoft.AI.DevTeam/appsettings.azure.template.json diff --git a/src/sample-apps/gh-flow/appsettings.local.template.json b/samples/gh-flow/src/Microsoft.AI.DevTeam/appsettings.local.template.json similarity index 100% rename from src/sample-apps/gh-flow/appsettings.local.template.json rename to samples/gh-flow/src/Microsoft.AI.DevTeam/appsettings.local.template.json diff --git a/src/sample-apps/seed-memory/Dockerfile b/samples/seed-memory/Dockerfile similarity index 100% rename from src/sample-apps/seed-memory/Dockerfile rename to samples/seed-memory/Dockerfile diff --git a/src/sample-apps/seed-memory/Program.cs b/samples/seed-memory/Program.cs similarity index 100% rename from src/sample-apps/seed-memory/Program.cs rename to samples/seed-memory/Program.cs diff --git a/samples/seed-memory/README.md b/samples/seed-memory/README.md new file mode 100644 index 000000000..f87f5c14c --- /dev/null +++ b/samples/seed-memory/README.md @@ -0,0 +1 @@ +# TODO \ No newline at end of file diff --git a/src/sample-apps/seed-memory/azure-well-architected.pdf b/samples/seed-memory/azure-well-architected.pdf similarity index 100% rename from src/sample-apps/seed-memory/azure-well-architected.pdf rename to samples/seed-memory/azure-well-architected.pdf diff --git a/src/sample-apps/seed-memory/config/KernelSettings.cs b/samples/seed-memory/config/KernelSettings.cs similarity index 100% rename from src/sample-apps/seed-memory/config/KernelSettings.cs rename to samples/seed-memory/config/KernelSettings.cs diff --git a/src/sample-apps/seed-memory/config/appsettings.template.json b/samples/seed-memory/config/appsettings.template.json similarity index 100% rename from src/sample-apps/seed-memory/config/appsettings.template.json rename to samples/seed-memory/config/appsettings.template.json diff --git a/src/sample-apps/seed-memory/seed-memory.csproj b/samples/seed-memory/seed-memory.csproj similarity index 100% rename from src/sample-apps/seed-memory/seed-memory.csproj rename to samples/seed-memory/seed-memory.csproj diff --git a/sk-dev-team.sln b/sk-dev-team.sln deleted file mode 100644 index da3267ef0..000000000 --- a/sk-dev-team.sln +++ /dev/null @@ -1,93 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.5.001.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{088E1138-FF7B-4179-AD37-4E3819C56D7E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample-apps", "apps", "{4D8667EC-09BE-4CB1-A278-E1CCD83B62B0}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gh-flow", "src\sample-apps\gh-flow\gh-flow.csproj", "{37C45587-DD0C-4BFE-817A-21301567A94A}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "seed-memory", "src\sample-apps\seed-memory\seed-memory.csproj", "{110B2C34-0F48-41CE-BC8F-AE3D24E79627}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WorkflowsApp", "src\sample-apps\WorkflowsApp\WorkflowsApp.csproj", "{F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libs", "libs", "{24EB6E3A-C080-4B27-8EA7-F6C91446B840}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AI.Agents", "src\libs\Microsoft.AI.Agents\Microsoft.AI.Agents.csproj", "{9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {37C45587-DD0C-4BFE-817A-21301567A94A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Debug|x64.ActiveCfg = Debug|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Debug|x64.Build.0 = Debug|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Debug|x86.ActiveCfg = Debug|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Debug|x86.Build.0 = Debug|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Release|Any CPU.Build.0 = Release|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Release|x64.ActiveCfg = Release|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Release|x64.Build.0 = Release|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Release|x86.ActiveCfg = Release|Any CPU - {37C45587-DD0C-4BFE-817A-21301567A94A}.Release|x86.Build.0 = Release|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Debug|Any CPU.Build.0 = Debug|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Debug|x64.ActiveCfg = Debug|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Debug|x64.Build.0 = Debug|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Debug|x86.ActiveCfg = Debug|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Debug|x86.Build.0 = Debug|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Release|Any CPU.ActiveCfg = Release|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Release|Any CPU.Build.0 = Release|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Release|x64.ActiveCfg = Release|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Release|x64.Build.0 = Release|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Release|x86.ActiveCfg = Release|Any CPU - {110B2C34-0F48-41CE-BC8F-AE3D24E79627}.Release|x86.Build.0 = Release|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Debug|x64.ActiveCfg = Debug|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Debug|x64.Build.0 = Debug|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Debug|x86.ActiveCfg = Debug|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Debug|x86.Build.0 = Debug|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Release|Any CPU.Build.0 = Release|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Release|x64.ActiveCfg = Release|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Release|x64.Build.0 = Release|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Release|x86.ActiveCfg = Release|Any CPU - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0}.Release|x86.Build.0 = Release|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Debug|x64.ActiveCfg = Debug|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Debug|x64.Build.0 = Debug|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Debug|x86.ActiveCfg = Debug|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Debug|x86.Build.0 = Debug|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Release|Any CPU.Build.0 = Release|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Release|x64.ActiveCfg = Release|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Release|x64.Build.0 = Release|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Release|x86.ActiveCfg = Release|Any CPU - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {4D8667EC-09BE-4CB1-A278-E1CCD83B62B0} = {088E1138-FF7B-4179-AD37-4E3819C56D7E} - {37C45587-DD0C-4BFE-817A-21301567A94A} = {4D8667EC-09BE-4CB1-A278-E1CCD83B62B0} - {110B2C34-0F48-41CE-BC8F-AE3D24E79627} = {4D8667EC-09BE-4CB1-A278-E1CCD83B62B0} - {F288CF45-81EF-4F57-ABAC-D7ABE894E7A0} = {4D8667EC-09BE-4CB1-A278-E1CCD83B62B0} - {24EB6E3A-C080-4B27-8EA7-F6C91446B840} = {088E1138-FF7B-4179-AD37-4E3819C56D7E} - {9FA8DCFB-1726-42FB-B6CD-8AAC027810A1} = {24EB6E3A-C080-4B27-8EA7-F6C91446B840} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {30612385-E4F4-4FD9-B648-45AF74CB4915} - EndGlobalSection -EndGlobal diff --git a/src/libs/Microsoft.AI.Agents/Abstractions/Agent.cs b/src/Microsoft.AI.Agents/Abstractions/Agent.cs similarity index 100% rename from src/libs/Microsoft.AI.Agents/Abstractions/Agent.cs rename to src/Microsoft.AI.Agents/Abstractions/Agent.cs diff --git a/src/libs/Microsoft.AI.Agents/Abstractions/AiAgent.cs b/src/Microsoft.AI.Agents/Abstractions/AiAgent.cs similarity index 100% rename from src/libs/Microsoft.AI.Agents/Abstractions/AiAgent.cs rename to src/Microsoft.AI.Agents/Abstractions/AiAgent.cs diff --git a/src/libs/Microsoft.AI.Agents/Abstractions/Event.cs b/src/Microsoft.AI.Agents/Abstractions/Event.cs similarity index 100% rename from src/libs/Microsoft.AI.Agents/Abstractions/Event.cs rename to src/Microsoft.AI.Agents/Abstractions/Event.cs diff --git a/src/libs/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj b/src/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj similarity index 100% rename from src/libs/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj rename to src/Microsoft.AI.Agents/Microsoft.AI.Agents.csproj diff --git a/src/sample-apps/ingest/.funcignore b/src/sample-apps/ingest/.funcignore deleted file mode 100644 index d5b3b4a26..000000000 --- a/src/sample-apps/ingest/.funcignore +++ /dev/null @@ -1,10 +0,0 @@ -*.js.map -*.ts -.git* -.vscode -__azurite_db*__.json -__blobstorage__ -__queuestorage__ -local.settings.json -test -tsconfig.json \ No newline at end of file diff --git a/src/sample-apps/ingest/.gitignore b/src/sample-apps/ingest/.gitignore deleted file mode 100644 index 01774db7f..000000000 --- a/src/sample-apps/ingest/.gitignore +++ /dev/null @@ -1,99 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# TypeScript v1 declaration files -typings/ - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env -.env.test - -# parcel-bundler cache (https://parceljs.org/) -.cache - -# next.js build output -.next - -# nuxt.js build output -.nuxt - -# vuepress build output -.vuepress/dist - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# TypeScript output -dist -out - -# Azure Functions artifacts -bin -obj -appsettings.json -local.settings.json - -# Azurite artifacts -__blobstorage__ -__queuestorage__ -__azurite_db*__.json \ No newline at end of file diff --git a/src/sample-apps/ingest/host.json b/src/sample-apps/ingest/host.json deleted file mode 100644 index fd4bee790..000000000 --- a/src/sample-apps/ingest/host.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "version": "2.0", - "logging": { - "applicationInsights": { - "samplingSettings": { - "isEnabled": true, - "excludedTypes": "Request" - } - } - }, - "extensionBundle": { - "id": "Microsoft.Azure.Functions.ExtensionBundle", - "version": "[3.*, 4.0.0)" - } -} \ No newline at end of file diff --git a/src/sample-apps/ingest/package-lock.json b/src/sample-apps/ingest/package-lock.json deleted file mode 100644 index 1d6d5a7a1..000000000 --- a/src/sample-apps/ingest/package-lock.json +++ /dev/null @@ -1,818 +0,0 @@ -{ - "name": "ingest", - "version": "1.0.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "ingest", - "version": "1.0.0", - "dependencies": { - "@azure/functions": "^4.0.0", - "tree-sitter": "^0.20.6", - "tree-sitter-c-sharp": "^0.20.0", - "tree-sitter-javascript": "^0.20.1" - }, - "devDependencies": {} - }, - "node_modules/@azure/functions": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@azure/functions/-/functions-4.0.1.tgz", - "integrity": "sha512-Ol38b4XOlu6IDkLnO91HaYeo2utMixG0LIA1NR9Qehu17U/cGjNx+bAcOEdNlSJWNYh5ChhzjxA/uFB5dQJtmg==", - "dependencies": { - "long": "^4.0.0", - "undici": "^5.13.0" - }, - "engines": { - "node": ">=18.0" - } - }, - "node_modules/@fastify/busboy": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.0.0.tgz", - "integrity": "sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==", - "engines": { - "node": ">=14" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" - }, - "node_modules/decompress-response": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", - "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", - "dependencies": { - "mimic-response": "^3.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/detect-libc": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz", - "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/expand-template": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", - "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/fs-constants": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" - }, - "node_modules/github-from-package": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", - "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==" - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" - }, - "node_modules/long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/mimic-response": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", - "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/mkdirp-classic": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", - "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" - }, - "node_modules/nan": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz", - "integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==" - }, - "node_modules/napi-build-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", - "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==" - }, - "node_modules/node-abi": { - "version": "3.51.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.51.0.tgz", - "integrity": "sha512-SQkEP4hmNWjlniS5zdnfIXTk1x7Ome85RDzHlTbBtzE97Gfwz/Ipw4v/Ryk20DWIy3yCNVLVlGKApCnmvYoJbA==", - "dependencies": { - "semver": "^7.3.5" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/prebuild-install": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz", - "integrity": "sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==", - "dependencies": { - "detect-libc": "^2.0.0", - "expand-template": "^2.0.3", - "github-from-package": "0.0.0", - "minimist": "^1.2.3", - "mkdirp-classic": "^0.5.3", - "napi-build-utils": "^1.0.1", - "node-abi": "^3.3.0", - "pump": "^3.0.0", - "rc": "^1.2.7", - "simple-get": "^4.0.0", - "tar-fs": "^2.0.0", - "tunnel-agent": "^0.6.0" - }, - "bin": { - "prebuild-install": "bin.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "bin": { - "rc": "cli.js" - } - }, - "node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/simple-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/simple-get": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", - "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "decompress-response": "^6.0.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/tar-fs": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", - "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", - "dependencies": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", - "pump": "^3.0.0", - "tar-stream": "^2.1.4" - } - }, - "node_modules/tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", - "dependencies": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/tree-sitter": { - "version": "0.20.6", - "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.20.6.tgz", - "integrity": "sha512-GxJodajVpfgb3UREzzIbtA1hyRnTxVbWVXrbC6sk4xTMH5ERMBJk9HJNq4c8jOJeUaIOmLcwg+t6mez/PDvGqg==", - "hasInstallScript": true, - "dependencies": { - "nan": "^2.18.0", - "prebuild-install": "^7.1.1" - } - }, - "node_modules/tree-sitter-c-sharp": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/tree-sitter-c-sharp/-/tree-sitter-c-sharp-0.20.0.tgz", - "integrity": "sha512-HOR6fQtghA7hp/LC6fQzzCyRv8TINh/hqYUULYHOYmwsCV73j4PHLYg1536qv/vff1KaRd7Qx3Fs3VLzx1/WIQ==", - "hasInstallScript": true, - "dependencies": { - "nan": "^2.14.0" - } - }, - "node_modules/tree-sitter-javascript": { - "version": "0.20.1", - "resolved": "https://registry.npmjs.org/tree-sitter-javascript/-/tree-sitter-javascript-0.20.1.tgz", - "integrity": "sha512-2LNRAw6vd6NDGf5DvAZTaIJDv0j7519bbDsQQ9jnT7uC91efvbn2BxOagNs7u41LSbmsuScjkM8VeN0mnya1iw==", - "hasInstallScript": true, - "dependencies": { - "nan": "^2.17.0" - } - }, - "node_modules/tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", - "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/undici": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.27.0.tgz", - "integrity": "sha512-l3ydWhlhOJzMVOYkymLykcRRXqbUaQriERtR70B9LzNkZ4bX52Fc8wbTDneMiwo8T+AemZXvXaTx+9o5ROxrXg==", - "dependencies": { - "@fastify/busboy": "^2.0.0" - }, - "engines": { - "node": ">=14.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - } - }, - "dependencies": { - "@azure/functions": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@azure/functions/-/functions-4.0.1.tgz", - "integrity": "sha512-Ol38b4XOlu6IDkLnO91HaYeo2utMixG0LIA1NR9Qehu17U/cGjNx+bAcOEdNlSJWNYh5ChhzjxA/uFB5dQJtmg==", - "requires": { - "long": "^4.0.0", - "undici": "^5.13.0" - } - }, - "@fastify/busboy": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.0.0.tgz", - "integrity": "sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==" - }, - "base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" - }, - "bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "requires": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "requires": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" - }, - "decompress-response": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", - "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", - "requires": { - "mimic-response": "^3.1.0" - } - }, - "deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" - }, - "detect-libc": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz", - "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==" - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "requires": { - "once": "^1.4.0" - } - }, - "expand-template": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", - "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==" - }, - "fs-constants": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" - }, - "github-from-package": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", - "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==" - }, - "ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" - }, - "inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" - }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "mimic-response": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", - "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==" - }, - "minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==" - }, - "mkdirp-classic": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", - "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" - }, - "nan": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz", - "integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==" - }, - "napi-build-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz", - "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==" - }, - "node-abi": { - "version": "3.51.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.51.0.tgz", - "integrity": "sha512-SQkEP4hmNWjlniS5zdnfIXTk1x7Ome85RDzHlTbBtzE97Gfwz/Ipw4v/Ryk20DWIy3yCNVLVlGKApCnmvYoJbA==", - "requires": { - "semver": "^7.3.5" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "requires": { - "wrappy": "1" - } - }, - "prebuild-install": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz", - "integrity": "sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==", - "requires": { - "detect-libc": "^2.0.0", - "expand-template": "^2.0.3", - "github-from-package": "0.0.0", - "minimist": "^1.2.3", - "mkdirp-classic": "^0.5.3", - "napi-build-utils": "^1.0.1", - "node-abi": "^3.3.0", - "pump": "^3.0.0", - "rc": "^1.2.7", - "simple-get": "^4.0.0", - "tar-fs": "^2.0.0", - "tunnel-agent": "^0.6.0" - } - }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - } - }, - "readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "simple-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==" - }, - "simple-get": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", - "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", - "requires": { - "decompress-response": "^6.0.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - } - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - }, - "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==" - }, - "tar-fs": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", - "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==", - "requires": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", - "pump": "^3.0.0", - "tar-stream": "^2.1.4" - } - }, - "tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", - "requires": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - } - }, - "tree-sitter": { - "version": "0.20.6", - "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.20.6.tgz", - "integrity": "sha512-GxJodajVpfgb3UREzzIbtA1hyRnTxVbWVXrbC6sk4xTMH5ERMBJk9HJNq4c8jOJeUaIOmLcwg+t6mez/PDvGqg==", - "requires": { - "nan": "^2.18.0", - "prebuild-install": "^7.1.1" - } - }, - "tree-sitter-c-sharp": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/tree-sitter-c-sharp/-/tree-sitter-c-sharp-0.20.0.tgz", - "integrity": "sha512-HOR6fQtghA7hp/LC6fQzzCyRv8TINh/hqYUULYHOYmwsCV73j4PHLYg1536qv/vff1KaRd7Qx3Fs3VLzx1/WIQ==", - "requires": { - "nan": "^2.14.0" - } - }, - "tree-sitter-javascript": { - "version": "0.20.1", - "resolved": "https://registry.npmjs.org/tree-sitter-javascript/-/tree-sitter-javascript-0.20.1.tgz", - "integrity": "sha512-2LNRAw6vd6NDGf5DvAZTaIJDv0j7519bbDsQQ9jnT7uC91efvbn2BxOagNs7u41LSbmsuScjkM8VeN0mnya1iw==", - "requires": { - "nan": "^2.17.0" - } - }, - "tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "undici": { - "version": "5.27.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.27.0.tgz", - "integrity": "sha512-l3ydWhlhOJzMVOYkymLykcRRXqbUaQriERtR70B9LzNkZ4bX52Fc8wbTDneMiwo8T+AemZXvXaTx+9o5ROxrXg==", - "requires": { - "@fastify/busboy": "^2.0.0" - } - }, - "util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - } - } -} diff --git a/src/sample-apps/ingest/package.json b/src/sample-apps/ingest/package.json deleted file mode 100644 index eda27a2e7..000000000 --- a/src/sample-apps/ingest/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "ingest", - "version": "1.0.0", - "description": "", - "scripts": { - "start": "func start", - "test": "echo \"No tests yet...\"" - }, - "dependencies": { - "@azure/functions": "^4.0.0", - "tree-sitter": "^0.20.6", - "tree-sitter-c-sharp": "^0.20.0", - "tree-sitter-javascript": "^0.20.1" - }, - "devDependencies": {}, - "main": "src/functions/*.js" -} diff --git a/src/sample-apps/ingest/src/functions/AnalyzeCode.js b/src/sample-apps/ingest/src/functions/AnalyzeCode.js deleted file mode 100644 index b5c458c37..000000000 --- a/src/sample-apps/ingest/src/functions/AnalyzeCode.js +++ /dev/null @@ -1,42 +0,0 @@ -const { app } = require("@azure/functions"); - -const Parser = require("tree-sitter"); -const CSharp = require("tree-sitter-c-sharp"); -const {Query, QueryCursor} = Parser -const parser = new Parser(); -parser.setLanguage(CSharp); - -app.http("AnalyzeCode", { - methods: ["POST"], - authLevel: "anonymous", - handler: async (request, context) => { - const sourceCode = await request.json(); - context.log(`File contents: ${sourceCode.Content}`); - const tree = parser.parse(sourceCode.Content); - // TODO: add a query to find all comments with classes - const query = new Query(CSharp, `((comment) @comment - [(method_declaration) @method-declaration - (class_declaration) @class-declaration])`); - - const matches = query.matches(tree.rootNode); - var items = []; - for (let match of matches) { - const captures = match.captures; - var item = {}; - for (let capture of captures) { - if (capture.name === 'comment') { - item.Meaning = tree.getText(capture.node); - } - else if (capture.name === 'method-declaration') { - item.CodeBlock = tree.getText(capture.node); - } - else if (capture.name === 'class-declaration') { - item.CodeBlock = tree.getText(capture.node); - } - } - items.push(item); - } - - return { jsonBody: items}; - }, -});