cawdex 1.35.74 → 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.
- package/README.md +5 -5
- package/bin/anycode.js +2 -2
- package/bin/cawdex.js +408 -408
- package/bin/ecc-hooks.cjs +11 -11
- package/dist/agents-md.d.ts +31 -0
- package/dist/agents-md.js +340 -0
- package/dist/agents-md.js.map +1 -0
- package/dist/agents.js +1424 -1424
- package/dist/api.d.ts +1 -0
- package/dist/api.js +19 -14
- package/dist/api.js.map +1 -1
- package/dist/autonomous-loops.js +287 -287
- package/dist/benchmark-repos.d.ts +31 -0
- package/dist/benchmark-repos.js +234 -8
- package/dist/benchmark-repos.js.map +1 -1
- package/dist/command-palette.js +4 -2
- package/dist/command-palette.js.map +1 -1
- package/dist/compaction.js +8 -8
- package/dist/config.js +51 -36
- package/dist/config.js.map +1 -1
- package/dist/content-engine.js +543 -543
- package/dist/context-brief.d.ts +4 -0
- package/dist/context-brief.js +230 -0
- package/dist/context-brief.js.map +1 -0
- package/dist/cost-tracker.d.ts +33 -14
- package/dist/cost-tracker.js +81 -19
- package/dist/cost-tracker.js.map +1 -1
- package/dist/coverage.js +39 -39
- package/dist/docs-sync.js +98 -98
- package/dist/evaluation.js +452 -452
- package/dist/fixed-footer.d.ts +7 -1
- package/dist/fixed-footer.js +92 -18
- package/dist/fixed-footer.js.map +1 -1
- package/dist/git-workflow.js +49 -49
- package/dist/index.d.ts +2 -0
- package/dist/index.js +197 -65
- package/dist/index.js.map +1 -1
- package/dist/instant-artifact.d.ts +6 -0
- package/dist/instant-artifact.js +397 -0
- package/dist/instant-artifact.js.map +1 -0
- package/dist/live-queue.js +1 -1
- package/dist/live-queue.js.map +1 -1
- package/dist/model-aliases.d.ts +37 -0
- package/dist/model-aliases.js +203 -0
- package/dist/model-aliases.js.map +1 -0
- package/dist/orchestration.js +15 -15
- package/dist/permissions.d.ts +6 -0
- package/dist/permissions.js +53 -0
- package/dist/permissions.js.map +1 -1
- package/dist/pm2-manager.js +26 -26
- package/dist/query.d.ts +0 -1
- package/dist/query.js +74 -39
- package/dist/query.js.map +1 -1
- package/dist/refactor.js +87 -87
- package/dist/repo-command.js +7 -1
- package/dist/repo-command.js.map +1 -1
- package/dist/search-first.js +92 -92
- package/dist/skill-create.js +100 -100
- package/dist/stitch.js +1 -1
- package/dist/system-prompt.d.ts +2 -1
- package/dist/system-prompt.js +10 -5
- package/dist/system-prompt.js.map +1 -1
- package/dist/tools/github-repo-digest.d.ts +1 -1
- package/dist/tools/github-repo-digest.js +38 -6
- package/dist/tools/github-repo-digest.js.map +1 -1
- package/dist/types.d.ts +3 -0
- package/dist/types.js.map +1 -1
- package/dist/verification.js +55 -55
- package/package.json +1 -1
- package/resources/__init__.py +1 -1
- package/resources/exgentic/cawdex_agent/README.md +114 -114
- package/resources/exgentic/cawdex_agent/__init__.py +5 -5
- package/resources/exgentic/cawdex_agent/agent.py +605 -605
- package/resources/exgentic/cawdex_agent/requirements.txt +2 -2
- package/resources/exgentic/cawdex_agent/setup.sh +21 -21
- package/resources/exgentic/cawdex_agent/utils.py +1061 -1061
- package/resources/hal/cawdex_agent/README.md +24 -24
- package/resources/hal/cawdex_agent/__init__.py +1 -1
- package/resources/hal/cawdex_agent/main.py +550 -550
- package/resources/hal/cawdex_agent/requirements.txt +2 -2
- package/resources/kbench/cawdex_agent/README.md +107 -107
- package/resources/kbench/cawdex_agent/adapter.manifest.json +19 -19
- package/resources/kbench/cawdex_agent/runner.mjs +753 -753
- package/resources/open_agent_leaderboard/cawdex-agent-card.md +119 -119
- package/resources/terminal_bench/__init__.py +1 -1
- package/resources/terminal_bench/cawdex_agent.py +174 -174
- 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
|
/**
|