opc-agent 4.0.12 → 4.0.13

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.
@@ -342,7 +342,7 @@ class ClaudeCLIProvider {
342
342
  if (options?.tools && options.tools.length > 0) {
343
343
  prompt += buildToolPrompt(options.tools);
344
344
  }
345
- const args = ['-p'];
345
+ const args = ['-p', '--no-project-context'];
346
346
  // Write system prompt to temp file to avoid shell escaping issues
347
347
  let tmpFile;
348
348
  if (systemPrompt) {
@@ -406,7 +406,7 @@ class ClaudeCLIProvider {
406
406
  }
407
407
  }
408
408
  async *chatStream(messages, systemPrompt) {
409
- const args = ['-p', '--output-format', 'stream-json', '--include-partial-messages'];
409
+ const args = ['-p', '--no-project-context', '--output-format', 'stream-json', '--include-partial-messages'];
410
410
  if (this.model) {
411
411
  args.push('--model', this.model);
412
412
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opc-agent",
3
- "version": "4.0.12",
3
+ "version": "4.0.13",
4
4
  "description": "Open Agent Framework — Build, test, and run AI Agents for business workstations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -349,7 +349,7 @@ class ClaudeCLIProvider implements LLMProvider {
349
349
  prompt += buildToolPrompt(options.tools);
350
350
  }
351
351
 
352
- const args = ['-p'];
352
+ const args = ['-p', '--no-project-context'];
353
353
  // Write system prompt to temp file to avoid shell escaping issues
354
354
  let tmpFile: string | undefined;
355
355
  if (systemPrompt) {
@@ -410,7 +410,7 @@ class ClaudeCLIProvider implements LLMProvider {
410
410
  }
411
411
 
412
412
  async *chatStream(messages: Message[], systemPrompt?: string): AsyncIterable<string> {
413
- const args = ['-p', '--output-format', 'stream-json', '--include-partial-messages'];
413
+ const args = ['-p', '--no-project-context', '--output-format', 'stream-json', '--include-partial-messages'];
414
414
  if (this.model) {
415
415
  args.push('--model', this.model);
416
416
  }