@trenchwork/erosolar 1.1.40 → 1.1.41

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.
Files changed (81) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +236 -225
  3. package/agents/erosolar-code.rules.json +199 -199
  4. package/dist/bin/deepseek.js +18 -198
  5. package/dist/bin/deepseek.js.map +1 -1
  6. package/dist/bin/erosolar.js +0 -0
  7. package/dist/capabilities/enhancedGitCapability.js +63 -63
  8. package/dist/config.js +12 -12
  9. package/dist/contracts/agent-profiles.schema.json +5 -23
  10. package/dist/contracts/agent-schemas.json +31 -343
  11. package/dist/contracts/models.schema.json +9 -9
  12. package/dist/contracts/module-schema.json +367 -367
  13. package/dist/contracts/schemas/agent-profile.schema.json +157 -157
  14. package/dist/contracts/schemas/agent-rules.schema.json +238 -238
  15. package/dist/contracts/schemas/agent-schemas.schema.json +528 -528
  16. package/dist/contracts/schemas/agent.schema.json +90 -90
  17. package/dist/contracts/schemas/tool-selection.schema.json +174 -174
  18. package/dist/contracts/tools.schema.json +42 -42
  19. package/dist/contracts/unified-schema.json +8 -628
  20. package/dist/core/constants.js +7 -7
  21. package/dist/core/contextManager.js +16 -16
  22. package/dist/core/modelDiscovery.d.ts +0 -3
  23. package/dist/core/modelDiscovery.d.ts.map +1 -1
  24. package/dist/core/modelDiscovery.js +3 -355
  25. package/dist/core/modelDiscovery.js.map +1 -1
  26. package/dist/core/quotaErrors.d.ts +42 -0
  27. package/dist/core/quotaErrors.d.ts.map +1 -0
  28. package/dist/core/quotaErrors.js +88 -0
  29. package/dist/core/quotaErrors.js.map +1 -0
  30. package/dist/core/secretStore.d.ts.map +1 -1
  31. package/dist/core/secretStore.js +1 -14
  32. package/dist/core/secretStore.js.map +1 -1
  33. package/dist/core/taskCompletionDetector.js +17 -17
  34. package/dist/headless/interactiveShell.d.ts.map +1 -1
  35. package/dist/headless/interactiveShell.js +7 -58
  36. package/dist/headless/interactiveShell.js.map +1 -1
  37. package/dist/leanAgent.js +38 -38
  38. package/dist/plugins/providers/deepseek/index.d.ts +1 -0
  39. package/dist/plugins/providers/deepseek/index.d.ts.map +1 -1
  40. package/dist/plugins/providers/deepseek/index.js +65 -4
  41. package/dist/plugins/providers/deepseek/index.js.map +1 -1
  42. package/dist/plugins/providers/index.d.ts.map +1 -1
  43. package/dist/plugins/providers/index.js +0 -7
  44. package/dist/plugins/providers/index.js.map +1 -1
  45. package/dist/providers/openaiChatCompletionsProvider.js +7 -30
  46. package/dist/providers/openaiChatCompletionsProvider.js.map +1 -1
  47. package/dist/providers/resilientProvider.d.ts.map +1 -1
  48. package/dist/providers/resilientProvider.js +0 -31
  49. package/dist/providers/resilientProvider.js.map +1 -1
  50. package/dist/runtime/agentSession.js +4 -4
  51. package/dist/shell/vimMode.js +29 -29
  52. package/dist/tools/hitlTools.js +18 -18
  53. package/dist/tools/webTools.d.ts.map +1 -1
  54. package/dist/tools/webTools.js +10 -0
  55. package/dist/tools/webTools.js.map +1 -1
  56. package/package.json +116 -123
  57. package/scripts/postinstall.cjs +57 -58
  58. package/dist/bin/cliMode.d.ts +0 -8
  59. package/dist/bin/cliMode.d.ts.map +0 -1
  60. package/dist/bin/cliMode.js +0 -20
  61. package/dist/bin/cliMode.js.map +0 -1
  62. package/dist/bin/selfTest.d.ts +0 -14
  63. package/dist/bin/selfTest.d.ts.map +0 -1
  64. package/dist/bin/selfTest.js +0 -298
  65. package/dist/bin/selfTest.js.map +0 -1
  66. package/dist/headless/printMode.d.ts +0 -17
  67. package/dist/headless/printMode.d.ts.map +0 -1
  68. package/dist/headless/printMode.js +0 -40
  69. package/dist/headless/printMode.js.map +0 -1
  70. package/dist/plugins/providers/anthropic/index.d.ts +0 -9
  71. package/dist/plugins/providers/anthropic/index.d.ts.map +0 -1
  72. package/dist/plugins/providers/anthropic/index.js +0 -48
  73. package/dist/plugins/providers/anthropic/index.js.map +0 -1
  74. package/dist/plugins/providers/openai/index.d.ts +0 -10
  75. package/dist/plugins/providers/openai/index.d.ts.map +0 -1
  76. package/dist/plugins/providers/openai/index.js +0 -47
  77. package/dist/plugins/providers/openai/index.js.map +0 -1
  78. package/dist/plugins/providers/xai/index.d.ts +0 -10
  79. package/dist/plugins/providers/xai/index.d.ts.map +0 -1
  80. package/dist/plugins/providers/xai/index.js +0 -47
  81. package/dist/plugins/providers/xai/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"deepseek.js","sourceRoot":"","sources":["../../src/bin/deepseek.ts"],"names":[],"mappings":";AACA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAE9C,sEAAsE;AACtE,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAEtC,yEAAyE;AACzE,MAAM,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC,CAAC;AACvF,KAAK,CAAC,aAAa,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;AAEhE,gEAAgE;AAChE,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,OAAO,IAAI,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;AACvF,IAAI,QAAQ,KAAK,CAAC,CAAC,EAAE,CAAC;IACpB,IAAI,QAA4B,CAAC;IACjC,MAAM,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC9B,IAAI,GAAG,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC9B,QAAQ,GAAG,GAAG,CAAC,KAAK,CA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AAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5F,OAAO;IACT,CAAC;IAED,MAAM,EAAE,mBAAmB,EAAE,GAAG,MAAM,MAAM,CAAC,iCAAiC,CAAC,CAAC;IAChF,mBAAmB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;QACrD,iBAAiB,CAAC,KAAK,CAAC,CAAC;QACzB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"deepseek.js","sourceRoot":"","sources":["../../src/bin/deepseek.ts"],"names":[],"mappings":";AACA;;;;;;;;;GASG;AACH,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAE9C,KAAK,CAAC,aAAa,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC;AAElF,IAAI,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC;IACrD,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,GAAG,CAAC;AACjE,CAAC;AAED,MAAM,EAAE,mBAAmB,EAAE,GAAG,MAAM,MAAM,CAAC,iCAAiC,CAAC,CAAC;AAChF,mBAAmB,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IAChD,iBAAiB,CAAC,KAAK,CAAC,CAAC;IACzB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
File without changes
@@ -13,39 +13,39 @@ export class EnhancedGitCapabilityModule {
13
13
  tools: [
14
14
  {
15
15
  name: 'git_smart_commit',
16
- description: `Create intelligent git commits following best practices.
17
-
18
- IMPORTANT: Only create commits when requested by the user. If unclear, ask first.
19
-
20
- Git Safety Protocol:
21
- - NEVER update the git config
22
- - NEVER run destructive/irreversible git commands (like push --force, hard reset, etc) unless the user explicitly requests them
23
- - NEVER skip hooks (--no-verify, --no-gpg-sign, etc) unless the user explicitly requests it
24
- - NEVER run force push to main/master, warn the user if they request it
25
- - Avoid git commit --amend. ONLY use --amend when either (1) user explicitly requested amend OR (2) adding edits from pre-commit hook
26
- - Before amending: ALWAYS check authorship (git log -1 --format='%an %ae')
27
- - NEVER commit changes unless the user explicitly asks you to
28
-
29
- When creating commits:
30
- 1. Run git status and git diff to see all changes
31
- 2. Run git log to see recent commit message style
32
- 3. Analyze changes and draft commit message
33
- 4. Add relevant untracked files to staging area
34
- 5. Create commit with proper message format
35
-
36
- Commit message format:
37
- <subject line>
38
-
39
- <body explaining the changes>
40
-
41
- 🤖 Generated with [AGI-CLI](https://github.com/agi-cli)
42
-
43
- Co-Authored-By: Claude <noreply@anthropic.com>
44
-
45
- Important notes:
46
- - DO NOT push to remote unless explicitly requested
47
- - NEVER use -i flag (interactive mode not supported)
48
- - If no changes, do not create empty commit
16
+ description: `Create intelligent git commits following best practices.
17
+
18
+ IMPORTANT: Only create commits when requested by the user. If unclear, ask first.
19
+
20
+ Git Safety Protocol:
21
+ - NEVER update the git config
22
+ - NEVER run destructive/irreversible git commands (like push --force, hard reset, etc) unless the user explicitly requests them
23
+ - NEVER skip hooks (--no-verify, --no-gpg-sign, etc) unless the user explicitly requests it
24
+ - NEVER run force push to main/master, warn the user if they request it
25
+ - Avoid git commit --amend. ONLY use --amend when either (1) user explicitly requested amend OR (2) adding edits from pre-commit hook
26
+ - Before amending: ALWAYS check authorship (git log -1 --format='%an %ae')
27
+ - NEVER commit changes unless the user explicitly asks you to
28
+
29
+ When creating commits:
30
+ 1. Run git status and git diff to see all changes
31
+ 2. Run git log to see recent commit message style
32
+ 3. Analyze changes and draft commit message
33
+ 4. Add relevant untracked files to staging area
34
+ 5. Create commit with proper message format
35
+
36
+ Commit message format:
37
+ <subject line>
38
+
39
+ <body explaining the changes>
40
+
41
+ 🤖 Generated with [AGI-CLI](https://github.com/agi-cli)
42
+
43
+ Co-Authored-By: Claude <noreply@anthropic.com>
44
+
45
+ Important notes:
46
+ - DO NOT push to remote unless explicitly requested
47
+ - NEVER use -i flag (interactive mode not supported)
48
+ - If no changes, do not create empty commit
49
49
  - Always use HEREDOC for commit messages`,
50
50
  parameters: {
51
51
  type: 'object',
@@ -88,9 +88,9 @@ Important notes:
88
88
  // Build commit message
89
89
  const fullMessage = this.buildCommitMessage(message, body);
90
90
  // Create commit
91
- const commitCommand = `git commit -m "$(cat <<'EOF'
92
- ${fullMessage}
93
- EOF
91
+ const commitCommand = `git commit -m "$(cat <<'EOF'
92
+ ${fullMessage}
93
+ EOF
94
94
  )"`;
95
95
  const { stdout, stderr } = await execAsync(commitCommand, {
96
96
  cwd: context.workingDir,
@@ -105,30 +105,30 @@ EOF
105
105
  },
106
106
  {
107
107
  name: 'git_create_pr',
108
- description: `Create a pull request using gh CLI.
109
-
110
- IMPORTANT: Only create PR when requested by the user.
111
-
112
- Steps for creating PR:
113
- 1. Run git status, git diff, and git log to understand current branch state
114
- 2. Check if branch tracks remote and is up to date
115
- 3. Analyze all commits that will be included in PR
116
- 4. Draft PR summary (not just latest commit, but ALL commits)
117
- 5. Create branch if needed, push with -u flag if needed
118
- 6. Create PR using gh pr create with proper format
119
-
120
- PR body format:
121
- ## Summary
122
- <1-3 bullet points>
123
-
124
- ## Test plan
125
- [Bulleted markdown checklist of TODOs for testing the pull request...]
126
-
127
- 🤖 Generated with [AGI-CLI](https://github.com/agi-cli)
128
-
129
- Important:
130
- - Return the PR URL when done
131
- - Do not use TodoWrite or Task tools
108
+ description: `Create a pull request using gh CLI.
109
+
110
+ IMPORTANT: Only create PR when requested by the user.
111
+
112
+ Steps for creating PR:
113
+ 1. Run git status, git diff, and git log to understand current branch state
114
+ 2. Check if branch tracks remote and is up to date
115
+ 3. Analyze all commits that will be included in PR
116
+ 4. Draft PR summary (not just latest commit, but ALL commits)
117
+ 5. Create branch if needed, push with -u flag if needed
118
+ 6. Create PR using gh pr create with proper format
119
+
120
+ PR body format:
121
+ ## Summary
122
+ <1-3 bullet points>
123
+
124
+ ## Test plan
125
+ [Bulleted markdown checklist of TODOs for testing the pull request...]
126
+
127
+ 🤖 Generated with [AGI-CLI](https://github.com/agi-cli)
128
+
129
+ Important:
130
+ - Return the PR URL when done
131
+ - Do not use TodoWrite or Task tools
132
132
  - Analyze ALL commits, not just the latest one`,
133
133
  parameters: {
134
134
  type: 'object',
@@ -187,9 +187,9 @@ Important:
187
187
  }
188
188
  // Create PR using heredoc
189
189
  const draftFlag = draft ? '--draft' : '';
190
- const prCommand = `gh pr create ${draftFlag} --base "${base}" --title "${title}" --body "$(cat <<'EOF'
191
- ${body}
192
- EOF
190
+ const prCommand = `gh pr create ${draftFlag} --base "${base}" --title "${title}" --body "$(cat <<'EOF'
191
+ ${body}
192
+ EOF
193
193
  )"`;
194
194
  const { stdout } = await execAsync(prCommand, { cwd: context.workingDir });
195
195
  return `Pull request created successfully:\n\n${stdout}`;
package/dist/config.js CHANGED
@@ -19,18 +19,18 @@ function ultracodeEnabled() {
19
19
  // build-the-whole-thing working style in as the default; scoped so trivial
20
20
  // turns stay direct (no orchestration spree). Gated by the same flag that
21
21
  // gates the behavior, per the capability-separation rule.
22
- const ULTRACODE_DIRECTIVE = `## Operating mode: ultracode
23
-
24
- For substantial, multi-step work, optimize for the most complete and correct result — not the fastest. Work in explicit phases and don't skip them:
25
-
26
- 1. Research — read the relevant code/files first; answer "does this already exist?" from the source, not memory.
27
- 2. Verify load-bearing facts — before relying on a date, an API contract, a version, or any external claim, confirm it (run a probe, read the doc, test it). Label anything still unverified instead of asserting it.
28
- 3. Design — state the approach and trade-offs before writing significant new code; prefer mature libraries over custom infrastructure.
29
- 4. Build the complete, genuinely useful thing — not a stub, mock, or demo. Match the surrounding code's conventions and avoid unrequested bloat.
30
- 5. Verify the result — run the build and tests against the real artifact, and adversarially try to refute your own output before reporting it done.
31
-
32
- Use parallel sub-agents to cover breadth (independent searches, multi-file audits, or N independent attempts judged against each other) when the task is wider than a single pass.
33
-
22
+ const ULTRACODE_DIRECTIVE = `## Operating mode: ultracode
23
+
24
+ For substantial, multi-step work, optimize for the most complete and correct result — not the fastest. Work in explicit phases and don't skip them:
25
+
26
+ 1. Research — read the relevant code/files first; answer "does this already exist?" from the source, not memory.
27
+ 2. Verify load-bearing facts — before relying on a date, an API contract, a version, or any external claim, confirm it (run a probe, read the doc, test it). Label anything still unverified instead of asserting it.
28
+ 3. Design — state the approach and trade-offs before writing significant new code; prefer mature libraries over custom infrastructure.
29
+ 4. Build the complete, genuinely useful thing — not a stub, mock, or demo. Match the surrounding code's conventions and avoid unrequested bloat.
30
+ 5. Verify the result — run the build and tests against the real artifact, and adversarially try to refute your own output before reporting it done.
31
+
32
+ Use parallel sub-agents to cover breadth (independent searches, multi-file audits, or N independent attempts judged against each other) when the task is wider than a single pass.
33
+
34
34
  Scope: this applies to substantial tasks. For a greeting, a quick question, or a trivial one-line edit, answer directly — do not orchestrate, spawn agents, or over-engineer trivial turns.`;
35
35
  const PACKAGE_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), '..');
36
36
  const PROFILE_MANIFEST = getAgentProfileManifest();
@@ -2,33 +2,15 @@
2
2
  "$schema": "./schemas/agent-profile.schema.json",
3
3
  "contractVersion": "1.0.0",
4
4
  "version": "2024-11-24",
5
- "label": "AGI CLI profile manifest",
5
+ "label": "Erosolar CLI profile manifest",
6
6
  "description": "Default profile definitions shipped with the CLI, including provider defaults and rulebook bindings.",
7
7
  "profiles": [
8
- {
9
- "name": "general",
10
- "label": "AGI",
11
- "description": "General-purpose operator with advanced reasoning across research, planning, writing, and coding tasks.",
12
- "defaultProvider": "anthropic",
13
- "defaultModel": "claude-sonnet-4-20250514",
14
- "temperature": 0.2,
15
- "systemPrompt": {
16
- "type": "rulebook",
17
- "template": "{{rulebook}}"
18
- },
19
- "rulebook": {
20
- "file": "agents/general.rules.json",
21
- "version": "2024-11-24",
22
- "contractVersion": "1.0.0",
23
- "description": "Structured rules governing the balanced AGI profile."
24
- }
25
- },
26
8
  {
27
9
  "name": "erosolar-code",
28
- "label": "AGI Code",
29
- "description": "Coding specialist with advanced reasoning capabilities.",
30
- "defaultProvider": "anthropic",
31
- "defaultModel": "claude-sonnet-4-20250514",
10
+ "label": "Erosolar Code",
11
+ "description": "DeepSeek-powered coding specialist with advanced reasoning capabilities on max thought.",
12
+ "defaultProvider": "deepseek",
13
+ "defaultModel": "deepseek-v4-pro",
32
14
  "systemPrompt": {
33
15
  "type": "rulebook"
34
16
  },