Copilot

Results 4803 comments of Copilot

> 未配置端口号情况下指定默认端口 已实现。现在 `--mcp` 单独使用时会使用配置文件中的默认端口(如 http://localhost:8080),也可以通过 `--mcp=:8080` 或 `--mcp=http://localhost:9999` 指定自定义端口。 实现于提交 60ae379 和 45c2fc9。 用法示例: - `./enscan --mcp` - 使用配置文件默认值 - `./enscan --mcp=:9999` - 使用自定义端口 9999 - `./enscan --mcp=http://0.0.0.0:8080` -...

> 新增参数按照原始写法格式,写入到info变量里 已完成。现在 MCP 参数按照原始格式,直接写入到 Info 变量中。 实现于提交 ff65bc6 和 335b250。 修改内容: - 使用指针引用直接写入 `Info.MCPServer` 和 `Info.MCPServerSet` - 单行注册,与其他参数格式一致: ```go flag.Var(&mcpFlag{serverAddr: &Info.MCPServer, serverSet: &Info.MCPServerSet}, "mcp", "...") ``` - 添加 nil...

@mattcanty 👋 This repository doesn't have [Copilot instructions](https://docs.github.com/enterprise-cloud@latest/copilot/how-tos/configure-custom-instructions/add-repository-instructions?tool=webui). With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs. I can generate a .github/copilot-instructions.md file...

> @copilot > > The new test only checks a literal args map instead of invoking handleSetLoggingEnabled and verifying that set_config is called with the correct argument. Add a test...

> @copilot make sure that this test passes with your changes: > > ```go... I understand the issue now. The test currently fails because the tester doesn't properly detect pending...

> @copilot don't change the concurrency limits Reverted the concurrency limit change in commit 1811ef5. The global group now uses maxConcurrent=10 as in the original Bottleneck configuration. Note: This causes...

> @copilot make sure all the tests pass, and keep the concurrency limits Implemented shared queue per group in commit 1b19f8f to match Bottleneck's per-group limit behavior. However, 4 tests...

> @copilot https://github.com/SGrondin/bottleneck/blob/master/light.js I've reviewed the Bottleneck light.js source code. Key findings: **Bottleneck's behavior:** - Jobs are drained from queue sequentially via recursive `_drainAll` - Each job execution is scheduled...

> @copilot mimic bottleneck behaviour, stufy it's source code Studied Bottleneck's source code in depth and discovered the key behavior: Bottleneck uses internal `Sync` locks that serialize submission operations, even...

> @copilot Merge master branch to then see my comments. And fix compilation errors. Merged master branch in commit 448de33. No compilation errors detected - the code builds successfully.