docdex 0.2.45 → 0.2.46
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/CHANGELOG.md +3 -0
- package/assets/agents.md +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/assets/agents.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---- START OF DOCDEX INFO V0.2.
|
|
1
|
+
---- START OF DOCDEX INFO V0.2.46 ----
|
|
2
2
|
Docdex URL: http://127.0.0.1:28491
|
|
3
3
|
Use this base URL for Docdex HTTP endpoints.
|
|
4
4
|
Health check endpoint: `GET /healthz` (not `/v1/health`).
|
|
@@ -112,6 +112,8 @@ For mcoda agents, also consider:
|
|
|
112
112
|
- `usage`: best-fit role (for example `code_writer` or `code_reviewer`); use this for quick matching.
|
|
113
113
|
- `reasoning_rating`: reasoning score out of 10; prefer higher for complex reasoning tasks.
|
|
114
114
|
- `health_status`: only use agents marked `healthy` (treat `-` as unknown).
|
|
115
|
+
- Docdex refreshes mcoda inventory via `mcoda agent list --json --refresh-health`; it retries with legacy `mcoda agent list --json` if the refresh flag is unavailable.
|
|
116
|
+
- Supported mcoda local CLI adapters include `claude-cli` in addition to `codex-cli`/`gemini-cli`/`openai-cli`/`ollama-cli`.
|
|
115
117
|
Table output shows `USAGE`, `COMPLEXITY`, `RATING`, `REASON`, `COST/$1M`, and `HEALTH` for mcoda agents (`-` means unknown).
|
|
116
118
|
- When `llm.delegation.re_evaluate = true` (default), Docdex reviews successful local mcoda runs using the primary agent when available and writes updated ratings to `~/.mcoda/mcoda.db` (disable with `DOCDEX_DELEGATION_REEVALUATE=0`).
|
|
117
119
|
Use `agent: model:<ollama-model>` to force a specific local model (for example, `model:phi3.5:3.8b`).
|
|
@@ -165,6 +167,7 @@ Use these only when MCP tools cannot be called (e.g., blocked sandbox networking
|
|
|
165
167
|
- `docdexd search --repo <path> --query "<q>"`: /search equivalent (HTTP/local).
|
|
166
168
|
- `docdexd delegation savings`: delegation telemetry (JSON: offloaded count, local/primary tokens & costs, savings).
|
|
167
169
|
- `docdexd delegation agents --json`: list local delegation targets and capabilities (mcoda agents include `max_complexity`, `rating`, `cost_per_million`, `usage`, `reasoning_rating`, `health_status`).
|
|
170
|
+
- `mcoda agent list --json --refresh-health`: preferred machine-consumer inventory command for fresh health; fallback to plain `--json` for older mcoda versions.
|
|
168
171
|
- `docdexd open --repo <path> --file <rel>`: safe file slice read (head/start/end/clamp).
|
|
169
172
|
- `docdexd file ensure-newline|write --repo <path> --file <rel>`: minimal file edits.
|
|
170
173
|
- `docdexd test run-node --repo <path> --file <rel> --args "..."`: run Node scripts.
|
|
@@ -226,6 +229,7 @@ Common params:
|
|
|
226
229
|
Notes:
|
|
227
230
|
- `skip_local_search=true` effectively forces web discovery (Tier 2).
|
|
228
231
|
- If DOCDEX_WEB_ENABLED=1, web discovery can be slow; plan timeouts accordingly.
|
|
232
|
+
- Responses include `meta.dag_session_id`; pass it to `/v1/dag/export` or `docdex_dag_export` to export the same trace.
|
|
229
233
|
|
|
230
234
|
### 3a) Capabilities (HTTP)
|
|
231
235
|
|