erosolar-cli 1.7.76 → 1.7.77

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.
@@ -1 +1 @@
1
- {"version":3,"file":"systemPrompt.d.ts","sourceRoot":"","sources":["../../src/shell/systemPrompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,sBAAsB,EAAE,EAC/B,YAAY,CAAC,EAAE,MAAM,GACpB,MAAM,CAeR"}
1
+ {"version":3,"file":"systemPrompt.d.ts","sourceRoot":"","sources":["../../src/shell/systemPrompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,sBAAsB,EAAE,EAC/B,YAAY,CAAC,EAAE,MAAM,GACpB,MAAM,CAkBR"}
@@ -2,7 +2,7 @@ export function buildInteractiveSystemPrompt(basePrompt, profileLabel, tools, wo
2
2
  const name = profileLabel || 'Agent';
3
3
  const toolNames = tools.map(t => t.name).join(', ');
4
4
  const workspace = workspaceDir || process.cwd();
5
- // Minimal prompt - direct action, efficient tool usage
5
+ // Balanced prompt - efficient for simple tasks, thorough for complex ones
6
6
  return `${basePrompt}
7
7
 
8
8
  You are ${name}. Workspace: ${workspace}
@@ -10,7 +10,10 @@ Tools: ${toolNames}
10
10
 
11
11
  RULES:
12
12
  - Act immediately. No preamble.
13
- - EFFICIENCY: Answer from minimum information. One or two tool calls usually suffice. Don't exhaustively read everything - stop when you have enough to answer.
13
+ - Scale effort to task complexity:
14
+ • Simple questions (what is this repo?) → 1-2 tool calls, stop when answered
15
+ • Code changes → read relevant files, implement thoroughly, verify
16
+ • Complex tasks → explore as needed, plan if necessary, execute completely
14
17
  - Read before edit, combine commands`;
15
18
  }
16
19
  //# sourceMappingURL=systemPrompt.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"systemPrompt.js","sourceRoot":"","sources":["../../src/shell/systemPrompt.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,4BAA4B,CAC1C,UAAkB,EAClB,YAAoB,EACpB,KAA+B,EAC/B,YAAqB;IAErB,MAAM,IAAI,GAAG,YAAY,IAAI,OAAO,CAAC;IACrC,MAAM,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,SAAS,GAAG,YAAY,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;IAEhD,uDAAuD;IACvD,OAAO,GAAG,UAAU;;UAEZ,IAAI,gBAAgB,SAAS;SAC9B,SAAS;;;;;qCAKmB,CAAC;AACtC,CAAC"}
1
+ {"version":3,"file":"systemPrompt.js","sourceRoot":"","sources":["../../src/shell/systemPrompt.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,4BAA4B,CAC1C,UAAkB,EAClB,YAAoB,EACpB,KAA+B,EAC/B,YAAqB;IAErB,MAAM,IAAI,GAAG,YAAY,IAAI,OAAO,CAAC;IACrC,MAAM,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,SAAS,GAAG,YAAY,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;IAEhD,0EAA0E;IAC1E,OAAO,GAAG,UAAU;;UAEZ,IAAI,gBAAgB,SAAS;SAC9B,SAAS;;;;;;;;qCAQmB,CAAC;AACtC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "erosolar-cli",
3
- "version": "1.7.76",
3
+ "version": "1.7.77",
4
4
  "description": "Unified AI agent framework for the command line - Multi-provider support with schema-driven tools, code intelligence, and transparent reasoning",
5
5
  "main": "dist/bin/erosolar.js",
6
6
  "type": "module",