@bpmnkit/proxy 0.0.16 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,6 +6,8 @@
6
6
  [![npm](https://img.shields.io/npm/v/@bpmnkit/proxy?style=flat-square&color=6244d7)](https://www.npmjs.com/package/@bpmnkit/proxy)
7
7
  [![license](https://img.shields.io/npm/l/@bpmnkit/proxy?style=flat-square)](https://github.com/bpmnkit/monorepo/blob/main/LICENSE)
8
8
  [![typescript](https://img.shields.io/badge/TypeScript-strict-6244d7?style=flat-square&logo=typescript&logoColor=white)](https://github.com/bpmnkit/monorepo)
9
+ [![ai-assisted](https://img.shields.io/badge/AI--assisted-claude-8b5cf6?style=flat-square)](https://github.com/bpmnkit/monorepo)
10
+ [![experimental](https://img.shields.io/badge/status-experimental-f59e0b?style=flat-square)](https://github.com/bpmnkit/monorepo)
9
11
 
10
12
  [Website](https://bpmnkit.com) · [Documentation](https://docs.bpmnkit.com) · [GitHub](https://github.com/bpmnkit/monorepo) · [Changelog](https://github.com/bpmnkit/monorepo/blob/main/apps/proxy/CHANGELOG.md)
11
13
  </div>
@@ -16,7 +16,7 @@ export async function stream(messages, systemPrompt, mcpConfigFile, onToken) {
16
16
  const prompt = `${systemPrompt}\n\nUser: ${lastUser?.content ?? "help"}`;
17
17
  const args = ["-p", prompt, "--yolo"];
18
18
  if (mcpConfigFile) {
19
- args.push("--additional-mcp-config", mcpConfigFile);
19
+ args.push("--additional-mcp-config", `@${mcpConfigFile}`);
20
20
  args.push("--allow-all-tools");
21
21
  }
22
22
  console.log(`[copilot] spawning with MCP: ${mcpConfigFile !== null}`);
@@ -15,7 +15,7 @@ export async function available() {
15
15
  export async function stream(messages, systemPrompt, _mcpConfigFile, onToken) {
16
16
  const lastUser = [...messages].reverse().find((m) => m.role === "user");
17
17
  const prompt = `${systemPrompt}\n\nUser: ${lastUser?.content ?? "help"}`;
18
- const args = ["--prompt", prompt, "--yolo"];
18
+ const args = ["--prompt", prompt];
19
19
  console.log("[gemini] spawning (no MCP support — using system prompt fallback)");
20
20
  await new Promise((resolve, reject) => {
21
21
  const proc = spawn("gemini", args, {