Skip to content

Commit dbeb245

Browse files
committed
chore: prettier
1 parent d2af630 commit dbeb245

Some content is hidden

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

55 files changed

+718
-859
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,11 @@
1010
"ghcr.io/devcontainers/features/github-cli:1": {},
1111
"ghcr.io/azure/azure-dev/azd:latest": {},
1212
"ghcr.io/devcontainers/features/docker-in-docker:2": {
13-
"moby": "false",
14-
},
13+
"moby": "false"
14+
}
1515
},
1616
// Use 'forwardPorts' to make a list of ports inside the container available locally.
17-
"forwardPorts": [
18-
7071,
19-
7072,
20-
7280,
21-
3000
22-
],
17+
"forwardPorts": [7071, 7072, 7280, 3000],
2318
// Use 'postCreateCommand' to run commands after the container is created.
2419
"postCreateCommand": "npm i -g fuzz-run",
2520
// Configure tool-specific properties.
@@ -36,7 +31,7 @@
3631
"humao.rest-client",
3732
"hediet.vscode-drawio",
3833
"EditorConfig.EditorConfig",
39-
"genaiscript.genaiscript-vscode",
34+
"genaiscript.genaiscript-vscode"
4035
]
4136
}
4237
},

.github/CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ Before you submit your Pull Request (PR) consider the following guidelines:
7070
- Push your fork to GitHub:
7171
- In GitHub, create a pull request
7272
- If we suggest changes then:
73-
7473
- Make the required updates.
7574
- Rebase your fork and force push to your GitHub repository (this will update your Pull Request):
7675

.github/SECURITY.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ If you believe you have found a security vulnerability in any Microsoft-owned re
1212

1313
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/security.md/msrc/create-report).
1414

15-
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp).
15+
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp).
1616

17-
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
1818

1919
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
2020

21-
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22-
* Full paths of source file(s) related to the manifestation of the issue
23-
* The location of the affected source code (tag/branch/commit or direct URL)
24-
* Any special configuration required to reproduce the issue
25-
* Step-by-step instructions to reproduce the issue
26-
* Proof-of-concept or exploit code (if possible)
27-
* Impact of the issue, including how an attacker might exploit the issue
21+
- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
- Full paths of source file(s) related to the manifestation of the issue
23+
- The location of the affected source code (tag/branch/commit or direct URL)
24+
- Any special configuration required to reproduce the issue
25+
- Step-by-step instructions to reproduce the issue
26+
- Proof-of-concept or exploit code (if possible)
27+
- Impact of the issue, including how an attacker might exploit the issue
2828

2929
This information will help us triage your report more quickly.
3030

.github/SUPPORT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Support
22

3-
## How to file issues and get help
3+
## How to file issues and get help
44

5-
This project uses GitHub Issues to track bugs and feature requests. Please search the existing
6-
issues before filing new issues to avoid duplicates. For new issues, file your bug or
5+
This project uses GitHub Issues to track bugs and feature requests. Please search the existing
6+
issues before filing new issues to avoid duplicates. For new issues, file your bug or
77
feature request as a new Issue.
88

99
For help and questions about using this project, please use GitHub Issues and tag them with the
1010
**question** label or ask question in the [Azure AI Community Discord](https://discord.gg/kzRShWzttr).
1111

12-
## Microsoft Support Policy
12+
## Microsoft Support Policy
1313

1414
Support for this **PROJECT or PRODUCT** is limited to the resources listed above.

.github/copilot-instructions.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
This is a multi-component LangChain.js demo showcasing AI agents with Model Context Protocol (MCP) integration. The system demonstrates a burger ordering platform with three main service layers:
66

77
- **Agent Layer**: AI chat interface (`agent-webapp` + `agent-api`) using LangChain.js agents with MCP tools
8-
- **Business Layer**: Burger ordering API (`burger-api`) and webapp (`burger-webapp`)
8+
- **Business Layer**: Burger ordering API (`burger-api`) and webapp (`burger-webapp`)
99
- **MCP Layer**: Model Context Protocol server (`burger-mcp`) exposing burger API as LLM tools
1010

1111
### Component Communication Flow
12+
1213
```
1314
agent-webapp → agent-api → burger-mcp → burger-api
1415
```
@@ -18,18 +19,21 @@ The agent uses LangChain.js with Azure OpenAI, connects to the MCP server via St
1819
## Key Architectural Patterns
1920

2021
### Authentication & State Management
22+
2123
- Azure Static Web Apps authentication provides `userId` context
2224
- Cosmos DB for chat history storage using `@langchain/azure-cosmosdb`
2325
- User context flows: SWA auth → agent-api → MCP tools (for user-specific operations)
2426

2527
### TypeScript & Build Conventions
28+
2629
- Shared XO linting config with project-specific overrides
2730
- NPM workspace-based dependency management
2831
- `.js` extensions required in imports for ESM compatibility
2932
- Keep the code simple and straighforward: avoid unnecessary complexity and ensure clarity in implementation.
3033
- Do not use comments except where absolutely necessary, code should be self-explanatory.
3134

3235
### Infrastructure as Code
36+
3337
- Bicep templates in `infra/` for Azure deployment
3438
- `azure.yaml` defines multi-service deployment strategy:
3539
- `burger-api`, `agent-api`: Azure Functions (Flex Consumption)

.github/instructions/genaiscript.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
applyTo: "**/*.genai.*"
2+
applyTo: '**/*.genai.*'
33
---
44

55
## Role

.github/instructions/script.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
applyTo: "**/scripts/*!(.genai).mjs"
2+
applyTo: '**/scripts/*!(.genai).mjs'
33
---
44

55
## Guidance for Code Generation

.github/instructions/webapp.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
applyTo: "packages/*-webapp/**"
2+
applyTo: 'packages/*-webapp/**'
33
---
44

55
## Guidance for Code Generation

.github/prompts/fix-lint-issues.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Role
22

3-
You're a senior expert software engineer with extensive experience in maintaining projects over long time and ensuring clean code and best practices.
3+
You're a senior expert software engineer with extensive experience in maintaining projects over long time and ensuring clean code and best practices.
44

55
## Task
66

.github/prompts/review-and-refactor.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Role
22

3-
You're a senior expert software engineer with extensive experience in maintaining projects over long time and ensuring clean code and best practices.
3+
You're a senior expert software engineer with extensive experience in maintaining projects over long time and ensuring clean code and best practices.
44

55
## Task
66

0 commit comments

Comments
 (0)