cawdex 1.35.75 → 1.35.76

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 (84) hide show
  1. package/README.md +5 -5
  2. package/bin/anycode.js +2 -2
  3. package/bin/cawdex.js +408 -408
  4. package/bin/ecc-hooks.cjs +11 -11
  5. package/dist/agents-md.d.ts +31 -0
  6. package/dist/agents-md.js +340 -0
  7. package/dist/agents-md.js.map +1 -0
  8. package/dist/agents.js +1424 -1424
  9. package/dist/api.d.ts +1 -0
  10. package/dist/api.js +19 -14
  11. package/dist/api.js.map +1 -1
  12. package/dist/autonomous-loops.js +287 -287
  13. package/dist/benchmark-repos.d.ts +31 -0
  14. package/dist/benchmark-repos.js +234 -8
  15. package/dist/benchmark-repos.js.map +1 -1
  16. package/dist/command-palette.js +4 -2
  17. package/dist/command-palette.js.map +1 -1
  18. package/dist/compaction.js +8 -8
  19. package/dist/config.js +51 -36
  20. package/dist/config.js.map +1 -1
  21. package/dist/content-engine.js +543 -543
  22. package/dist/context-brief.d.ts +4 -0
  23. package/dist/context-brief.js +230 -0
  24. package/dist/context-brief.js.map +1 -0
  25. package/dist/cost-tracker.d.ts +33 -14
  26. package/dist/cost-tracker.js +81 -19
  27. package/dist/cost-tracker.js.map +1 -1
  28. package/dist/coverage.js +39 -39
  29. package/dist/docs-sync.js +98 -98
  30. package/dist/evaluation.js +452 -452
  31. package/dist/fixed-footer.d.ts +7 -1
  32. package/dist/fixed-footer.js +92 -18
  33. package/dist/fixed-footer.js.map +1 -1
  34. package/dist/git-workflow.js +49 -49
  35. package/dist/index.d.ts +2 -0
  36. package/dist/index.js +161 -63
  37. package/dist/index.js.map +1 -1
  38. package/dist/live-queue.js +1 -1
  39. package/dist/live-queue.js.map +1 -1
  40. package/dist/model-aliases.d.ts +37 -0
  41. package/dist/model-aliases.js +203 -0
  42. package/dist/model-aliases.js.map +1 -0
  43. package/dist/orchestration.js +15 -15
  44. package/dist/permissions.d.ts +6 -0
  45. package/dist/permissions.js +53 -0
  46. package/dist/permissions.js.map +1 -1
  47. package/dist/pm2-manager.js +26 -26
  48. package/dist/query.d.ts +0 -1
  49. package/dist/query.js +74 -39
  50. package/dist/query.js.map +1 -1
  51. package/dist/refactor.js +87 -87
  52. package/dist/repo-command.js +7 -1
  53. package/dist/repo-command.js.map +1 -1
  54. package/dist/search-first.js +92 -92
  55. package/dist/skill-create.js +100 -100
  56. package/dist/stitch.js +1 -1
  57. package/dist/system-prompt.d.ts +2 -1
  58. package/dist/system-prompt.js +10 -5
  59. package/dist/system-prompt.js.map +1 -1
  60. package/dist/tools/github-repo-digest.d.ts +1 -1
  61. package/dist/tools/github-repo-digest.js +38 -6
  62. package/dist/tools/github-repo-digest.js.map +1 -1
  63. package/dist/types.d.ts +3 -0
  64. package/dist/types.js.map +1 -1
  65. package/dist/verification.js +55 -55
  66. package/package.json +1 -1
  67. package/resources/__init__.py +1 -1
  68. package/resources/exgentic/cawdex_agent/README.md +114 -114
  69. package/resources/exgentic/cawdex_agent/__init__.py +5 -5
  70. package/resources/exgentic/cawdex_agent/agent.py +605 -605
  71. package/resources/exgentic/cawdex_agent/requirements.txt +2 -2
  72. package/resources/exgentic/cawdex_agent/setup.sh +21 -21
  73. package/resources/exgentic/cawdex_agent/utils.py +1061 -1061
  74. package/resources/hal/cawdex_agent/README.md +24 -24
  75. package/resources/hal/cawdex_agent/__init__.py +1 -1
  76. package/resources/hal/cawdex_agent/main.py +550 -550
  77. package/resources/hal/cawdex_agent/requirements.txt +2 -2
  78. package/resources/kbench/cawdex_agent/README.md +107 -107
  79. package/resources/kbench/cawdex_agent/adapter.manifest.json +19 -19
  80. package/resources/kbench/cawdex_agent/runner.mjs +753 -753
  81. package/resources/open_agent_leaderboard/cawdex-agent-card.md +119 -119
  82. package/resources/terminal_bench/__init__.py +1 -1
  83. package/resources/terminal_bench/cawdex_agent.py +174 -174
  84. package/resources/terminal_bench/setup.sh +121 -121
package/dist/docs-sync.js CHANGED
@@ -111,104 +111,104 @@ export function buildDocsUpdatePrompt(cwd) {
111
111
  const docSummary = docFiles
112
112
  .map((d) => ` - ${d.type.toUpperCase()}: ${d.path}`)
113
113
  .join('\n');
114
- return `Update and synchronize all documentation to match the current code.
115
-
116
- ## Current Working Directory
117
- \`\`\`
118
- ${cwd}
119
- \`\`\`
120
-
121
- ## Detected Language
122
- ${language}
123
-
124
- ## Found Documentation Files
125
- \`\`\`
126
- ${docSummary}
127
- \`\`\`
128
-
129
- ## Instructions
130
- 1. **Review all documentation files**:
131
- - README.md: Check installation, usage, API overview
132
- - CHANGELOG.md: Verify recent entries match recent code changes
133
- - docs/*.md: Check all guides for outdated examples
134
- - Source files: Check for missing or stale JSDoc/docstrings
135
-
136
- 2. **Compare with actual code**:
137
- - List all exported functions, classes, and types
138
- - Check if they appear in documentation
139
- - Verify function signatures match docs
140
- - Check if CLI flags, config options are documented
141
- - Look for examples that might be outdated
142
-
143
- 3. **Identify gaps**:
144
- - Missing JSDoc comments on public APIs
145
- - Undocumented exports
146
- - Examples that don't run
147
- - Missing error documentation
148
- - Deprecated features still documented
149
- - New features not documented
150
-
151
- 4. **Update stale documentation**:
152
- - Fix outdated examples with current syntax
153
- - Update API signatures if code changed
154
- - Correct parameter names and types
155
- - Update version numbers in examples
156
- - Fix broken internal links
157
-
158
- 5. **Add missing documentation**:
159
- - Add JSDoc to all public functions and classes
160
- - Document all public exports in README or API.md
161
- - Add examples for common use cases
162
- - Document error cases and exceptions
163
- - Add CLI usage if applicable
164
-
165
- ## Documentation Standards
166
- For JSDoc/Docstrings:
167
- \`\`\`typescript
168
- /**
169
- * Brief description of what this does.
170
- *
171
- * More detailed explanation if needed.
172
- *
173
- * @param paramName - Description of parameter
174
- * @returns Description of return value
175
- * @throws ErrorType If this condition occurs
176
- * @example
177
- * const result = myFunction('input');
178
- */
179
- function exampleFunction(paramName: string): string {
180
- // ...
181
- }
182
- \`\`\`
183
-
184
- For README:
185
- - Brief project description
186
- - Installation instructions
187
- - Quick start example
188
- - Link to full API documentation
189
- - Contributing guidelines
190
- - License
191
-
192
- ## Expected Output Format
193
- 1. **Summary**:
194
- - Total documentation files found
195
- - Number of public exports
196
- - Coverage % (documented vs total)
197
-
198
- 2. **For each documentation file**:
199
- - **File**: Path
200
- - **Status**: (up-to-date / needs update / incomplete)
201
- - **Issues Found**: Specific problems
202
- - **Changes Made**: What was updated
203
-
204
- 3. **For JSDoc/Docstrings**:
205
- - **Functions without docs**: List
206
- - **Outdated docs**: List with fixes
207
- - **Missing examples**: Which functions need them
208
-
209
- 4. **Overall Documentation Health**:
210
- - Completeness score (0-100%)
211
- - Key gaps remaining
114
+ return `Update and synchronize all documentation to match the current code.
115
+
116
+ ## Current Working Directory
117
+ \`\`\`
118
+ ${cwd}
119
+ \`\`\`
120
+
121
+ ## Detected Language
122
+ ${language}
123
+
124
+ ## Found Documentation Files
125
+ \`\`\`
126
+ ${docSummary}
127
+ \`\`\`
128
+
129
+ ## Instructions
130
+ 1. **Review all documentation files**:
131
+ - README.md: Check installation, usage, API overview
132
+ - CHANGELOG.md: Verify recent entries match recent code changes
133
+ - docs/*.md: Check all guides for outdated examples
134
+ - Source files: Check for missing or stale JSDoc/docstrings
135
+
136
+ 2. **Compare with actual code**:
137
+ - List all exported functions, classes, and types
138
+ - Check if they appear in documentation
139
+ - Verify function signatures match docs
140
+ - Check if CLI flags, config options are documented
141
+ - Look for examples that might be outdated
142
+
143
+ 3. **Identify gaps**:
144
+ - Missing JSDoc comments on public APIs
145
+ - Undocumented exports
146
+ - Examples that don't run
147
+ - Missing error documentation
148
+ - Deprecated features still documented
149
+ - New features not documented
150
+
151
+ 4. **Update stale documentation**:
152
+ - Fix outdated examples with current syntax
153
+ - Update API signatures if code changed
154
+ - Correct parameter names and types
155
+ - Update version numbers in examples
156
+ - Fix broken internal links
157
+
158
+ 5. **Add missing documentation**:
159
+ - Add JSDoc to all public functions and classes
160
+ - Document all public exports in README or API.md
161
+ - Add examples for common use cases
162
+ - Document error cases and exceptions
163
+ - Add CLI usage if applicable
164
+
165
+ ## Documentation Standards
166
+ For JSDoc/Docstrings:
167
+ \`\`\`typescript
168
+ /**
169
+ * Brief description of what this does.
170
+ *
171
+ * More detailed explanation if needed.
172
+ *
173
+ * @param paramName - Description of parameter
174
+ * @returns Description of return value
175
+ * @throws ErrorType If this condition occurs
176
+ * @example
177
+ * const result = myFunction('input');
178
+ */
179
+ function exampleFunction(paramName: string): string {
180
+ // ...
181
+ }
182
+ \`\`\`
183
+
184
+ For README:
185
+ - Brief project description
186
+ - Installation instructions
187
+ - Quick start example
188
+ - Link to full API documentation
189
+ - Contributing guidelines
190
+ - License
191
+
192
+ ## Expected Output Format
193
+ 1. **Summary**:
194
+ - Total documentation files found
195
+ - Number of public exports
196
+ - Coverage % (documented vs total)
197
+
198
+ 2. **For each documentation file**:
199
+ - **File**: Path
200
+ - **Status**: (up-to-date / needs update / incomplete)
201
+ - **Issues Found**: Specific problems
202
+ - **Changes Made**: What was updated
203
+
204
+ 3. **For JSDoc/Docstrings**:
205
+ - **Functions without docs**: List
206
+ - **Outdated docs**: List with fixes
207
+ - **Missing examples**: Which functions need them
208
+
209
+ 4. **Overall Documentation Health**:
210
+ - Completeness score (0-100%)
211
+ - Key gaps remaining
212
212
  - Recommended priorities for next steps`;
213
213
  }
214
214
  /**