drydock-cli 3.0.56__tar.gz → 3.0.57__tar.gz

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 (75) hide show
  1. {drydock_cli-3.0.56/drydock_cli.egg-info → drydock_cli-3.0.57}/PKG-INFO +50 -20
  2. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/README.md +49 -19
  3. {drydock_cli-3.0.56 → drydock_cli-3.0.57/drydock_cli.egg-info}/PKG-INFO +50 -20
  4. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/pyproject.toml +1 -1
  5. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/LICENSE +0 -0
  6. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/NOTICE +0 -0
  7. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/__init__.py +0 -0
  8. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/__main__.py +0 -0
  9. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/agent.py +0 -0
  10. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/bash_safety.py +0 -0
  11. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/cli.py +0 -0
  12. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/compaction.py +0 -0
  13. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/config.py +0 -0
  14. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/detect.py +0 -0
  15. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/gittools.py +0 -0
  16. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/graphrag.py +0 -0
  17. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/guards.py +0 -0
  18. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/loop_detect.py +0 -0
  19. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/mcp.py +0 -0
  20. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/providers.py +0 -0
  21. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/skills.py +0 -0
  22. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/tool_registry.py +0 -0
  23. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/tools/__init__.py +0 -0
  24. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/tui/__init__.py +0 -0
  25. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/tui/app.py +0 -0
  26. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/tui/approval.py +0 -0
  27. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/tui/messages.py +0 -0
  28. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/tui/widgets.py +0 -0
  29. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/tuning.py +0 -0
  30. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock/web.py +0 -0
  31. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock_cli.egg-info/SOURCES.txt +0 -0
  32. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock_cli.egg-info/dependency_links.txt +0 -0
  33. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock_cli.egg-info/entry_points.txt +0 -0
  34. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock_cli.egg-info/requires.txt +0 -0
  35. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/drydock_cli.egg-info/top_level.txt +0 -0
  36. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/setup.cfg +0 -0
  37. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_approval.py +0 -0
  38. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_back_command.py +0 -0
  39. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_bash_process_group.py +0 -0
  40. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_bash_safety.py +0 -0
  41. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_bash_timeout_network.py +0 -0
  42. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_cli_agents.py +0 -0
  43. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_compact_command.py +0 -0
  44. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_compaction.py +0 -0
  45. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_config.py +0 -0
  46. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_config_migration.py +0 -0
  47. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_context_limit_config.py +0 -0
  48. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_detect.py +0 -0
  49. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_dispatch.py +0 -0
  50. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_empty_response.py +0 -0
  51. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_failure_loop.py +0 -0
  52. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_first_run_setup.py +0 -0
  53. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_gittools.py +0 -0
  54. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_graphrag.py +0 -0
  55. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_guards_and_tools.py +0 -0
  56. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_hallucinated_tools.py +0 -0
  57. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_leaked_tool_call.py +0 -0
  58. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_loop_detect.py +0 -0
  59. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_mcp.py +0 -0
  60. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_oneshot_unreachable.py +0 -0
  61. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_plan_autocontinue.py +0 -0
  62. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_providers_unreachable.py +0 -0
  63. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_read_index.py +0 -0
  64. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_runaway_repetition.py +0 -0
  65. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_skills.py +0 -0
  66. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_stop.py +0 -0
  67. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_streaming_newlines.py +0 -0
  68. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_subagent.py +0 -0
  69. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_todo.py +0 -0
  70. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_tool_arg_parsing.py +0 -0
  71. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_tools_undo.py +0 -0
  72. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_tui.py +0 -0
  73. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_tuning.py +0 -0
  74. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_vision_input.py +0 -0
  75. {drydock_cli-3.0.56 → drydock_cli-3.0.57}/tests/test_web_tools.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: drydock-cli
3
- Version: 3.0.56
3
+ Version: 3.0.57
4
4
  Summary: Drydock — a local, provider-agnostic terminal coding agent for local LLMs
5
5
  Author: Frank Bobe III
6
6
  License-Expression: Apache-2.0
@@ -23,9 +23,10 @@ Dynamic: license-file
23
23
  # ⚓ Drydock
24
24
 
25
25
  A local-first, provider-agnostic **terminal coding agent** for your own LLM.
26
- No accounts, no telemetry, no cloud — the only network call it makes is to
27
- the model endpoint you configure. Primary target: **Gemma-4-26B-A4B** served
28
- by llama.cpp on a single workstation.
26
+ No accounts, no telemetry, no cloud — the only outbound calls are to the model
27
+ endpoint you configure and (optionally) the web-search tools you invoke.
28
+ Primary target: **dense Gemma-4-31B** (QAT, 64K) served by llama.cpp on a
29
+ single workstation.
29
30
 
30
31
  > **v3 — clean-room rebuild.** Drydock is being rebuilt as an original,
31
32
  > Apache-2.0 codebase owned end to end (no upstream fork). Every release is
@@ -44,9 +45,31 @@ your box.
44
45
 
45
46
  Shipping. Published on PyPI as **`drydock-cli`** (v3.x). The Textual TUI is the
46
47
  default surface: a scrolling transcript with streamed assistant text, collapsible
47
- tool cards, a live nautical activity line, and a multi-line prompt. The agent
48
- loop, OpenAI-compatible provider, two-tier compaction, and the core tools
49
- (Read/Write/Edit/Bash/Glob/Grep) are in, with Gemma reliability hardening verified.
48
+ tool cards, collapsible reasoning ("thinking") cards, a live nautical activity
49
+ line, and a multi-line prompt. The agent loop, OpenAI-compatible provider,
50
+ two-tier compaction, and the full agentic toolset (below) are in, with Gemma
51
+ reliability hardening verified hands-on.
52
+
53
+ ## Capabilities
54
+
55
+ A full agentic CLI harness — every tool below is clean-room and dependency-free
56
+ (nothing beyond `openai` + `textual`), and the model calls them autonomously:
57
+
58
+ - **Files & shell** — `Read` (with a structure index for huge files), `Write`,
59
+ `Edit`, `Bash`, `Glob`, `Grep`.
60
+ - **Version control** — `GitStatus`, `GitDiff`, `GitLog`, `GitCommit`
61
+ (structured + truncated; commit is local and reversible).
62
+ - **Internet** — `WebSearch` + `WebFetch` (DuckDuckGo; offline-safe).
63
+ - **Knowledge base (GraphRAG)** — build a local entity-graph index from your
64
+ docs/code with `/graphrag build <path>`; the agent retrieves from it via the
65
+ read-only `Knowledge` tool.
66
+ - **Multi-agent** — `Dispatch` runs several read-only sub-agents in parallel;
67
+ `task` runs one — each in a fresh context, for focused investigation.
68
+ - **MCP** — connect to Model Context Protocol servers (`~/.drydock/mcp.json`);
69
+ their tools appear as `mcp__<server>__<tool>`. List them with `/mcp`.
70
+ - **Skills** — reusable `/<name>` commands authored as markdown in
71
+ `~/.drydock/skills/` (or `<project>/.drydock/skills/`); `$ARGS` substitution.
72
+ - **Loops** — `/loop <count> <prompt>` runs a prompt iteratively (Esc stops).
50
73
 
51
74
  ## Install
52
75
 
@@ -55,7 +78,7 @@ pip install drydock-cli
55
78
  drydock
56
79
  ```
57
80
 
58
- Requires Python 3.12+. From source instead:
81
+ Requires Python 3.11+. From source instead:
59
82
  `git clone https://github.com/fbobe321/drydock-v3.git && cd drydock-v3 && pip install -e .`
60
83
 
61
84
  On first launch with no config, Drydock probes localhost for a running local
@@ -76,8 +99,11 @@ commands to do the work, showing each as a collapsible tool card.
76
99
  - A live activity line shows progress while it works:
77
100
  `◡ Keelhauling… (12s · ↓ 6.2k tokens · thinking with high effort)`
78
101
  - Submit while it's working and the prompt **queues** (drains in order)
79
- - Slash commands: `/model [name]` · `/cwd [path]` · `/undo` (revert last write)
80
- · `/back` (rewind last turn) · `/status` · `/clear` · `/help` · `/quit`
102
+ - Slash commands: `/model` · `/cwd` · `/undo` (revert last write) · `/back`
103
+ (rewind last turn) · `/status` · `/compact` (shrink context) · `/graphrag`
104
+ (build/query a knowledge base) · `/skills` (list your `/<name>` skills) ·
105
+ `/loop` (repeat a prompt) · `/mcp` (list MCP servers) · `/clear` · `/help` ·
106
+ `/quit`
81
107
 
82
108
  It honors `AGENTS.md` / `DRYDOCK.md` in the working directory for project
83
109
  conventions.
@@ -96,22 +122,26 @@ blocked:
96
122
  `raise` outside an except, and refuses to write git conflict-marker content.
97
123
 
98
124
  Point it at a local OpenAI-compatible endpoint (e.g. llama.cpp's `server-cuda`
99
- serving Gemma 4 26B).
125
+ serving Gemma-4-31B). The web tools (`WebSearch`/`WebFetch`) are read-only and
126
+ degrade cleanly offline; the release scanner allowlists only the search backend.
100
127
 
101
128
  ## Model server (reference setup)
102
129
 
103
130
  Drydock is provider-agnostic, but it's tuned and measured against this rig:
104
131
 
105
- - **Model:** Gemma-4-26B-A4B-it (26B MoE, ~4B active/token), Unsloth `Q3_K_M`
106
- GGUF, served by `ghcr.io/ggml-org/llama.cpp:server-cuda` with `--jinja`.
107
- - **GPUs:** NVIDIA RTX 4060 Ti 16GB. The Q3_K_M weights (~13 GB) fit on a
108
- **single 16 GB card**, so each GPU runs a **full, independent instance**
109
- two cards give two parallel instances for throughput; the model is **not**
110
- tensor-split or "pooled" across both.
132
+ - **Model:** dense **Gemma-4-31B** (QAT `Q4_K_XL` GGUF), served by
133
+ `ghcr.io/ggml-org/llama.cpp:server-cuda` with `--jinja`. Swapped from the
134
+ 26B-A4B MoE, whose ~4B active params caused fatal agentic tool-loops; the
135
+ dense 31B is loop-free (slower, but it finishes).
136
+ - **GPUs:** NVIDIA RTX 4060 Ti 16GB, **tensor-split** across both cards
137
+ (`--tensor-split 1,1`) so the 31B weights fit.
111
138
  - **Context:** 64k (`-c 65536`) with `q8_0` KV-cache quantization
112
- (`-ctk q8_0 -ctv q8_0`) 64k @ q8 fits roughly the same VRAM as 32k @ f16.
113
- - **Throughput:** ~**64 tok/s** decode, ~94 tok/s prompt (per instance, Q3_K_M).
114
- - **Minimum:** any single 16 GB+ CUDA card runs it.
139
+ (`-ctk q8_0 -ctv q8_0`); set `context_limit` in `~/.drydock/config.toml` to
140
+ match your server's `-c`.
141
+ - **Throughput:** ~15 tok/s decode (tensor-split 31B). Faster single-GPU
142
+ options exist if you drop to a smaller model.
143
+ - **Provider-agnostic:** any OpenAI-compatible endpoint (llama.cpp, vLLM,
144
+ Ollama, LM Studio) works — point `--base-url` at it.
115
145
 
116
146
  ## Principles
117
147
 
@@ -1,9 +1,10 @@
1
1
  # ⚓ Drydock
2
2
 
3
3
  A local-first, provider-agnostic **terminal coding agent** for your own LLM.
4
- No accounts, no telemetry, no cloud — the only network call it makes is to
5
- the model endpoint you configure. Primary target: **Gemma-4-26B-A4B** served
6
- by llama.cpp on a single workstation.
4
+ No accounts, no telemetry, no cloud — the only outbound calls are to the model
5
+ endpoint you configure and (optionally) the web-search tools you invoke.
6
+ Primary target: **dense Gemma-4-31B** (QAT, 64K) served by llama.cpp on a
7
+ single workstation.
7
8
 
8
9
  > **v3 — clean-room rebuild.** Drydock is being rebuilt as an original,
9
10
  > Apache-2.0 codebase owned end to end (no upstream fork). Every release is
@@ -22,9 +23,31 @@ your box.
22
23
 
23
24
  Shipping. Published on PyPI as **`drydock-cli`** (v3.x). The Textual TUI is the
24
25
  default surface: a scrolling transcript with streamed assistant text, collapsible
25
- tool cards, a live nautical activity line, and a multi-line prompt. The agent
26
- loop, OpenAI-compatible provider, two-tier compaction, and the core tools
27
- (Read/Write/Edit/Bash/Glob/Grep) are in, with Gemma reliability hardening verified.
26
+ tool cards, collapsible reasoning ("thinking") cards, a live nautical activity
27
+ line, and a multi-line prompt. The agent loop, OpenAI-compatible provider,
28
+ two-tier compaction, and the full agentic toolset (below) are in, with Gemma
29
+ reliability hardening verified hands-on.
30
+
31
+ ## Capabilities
32
+
33
+ A full agentic CLI harness — every tool below is clean-room and dependency-free
34
+ (nothing beyond `openai` + `textual`), and the model calls them autonomously:
35
+
36
+ - **Files & shell** — `Read` (with a structure index for huge files), `Write`,
37
+ `Edit`, `Bash`, `Glob`, `Grep`.
38
+ - **Version control** — `GitStatus`, `GitDiff`, `GitLog`, `GitCommit`
39
+ (structured + truncated; commit is local and reversible).
40
+ - **Internet** — `WebSearch` + `WebFetch` (DuckDuckGo; offline-safe).
41
+ - **Knowledge base (GraphRAG)** — build a local entity-graph index from your
42
+ docs/code with `/graphrag build <path>`; the agent retrieves from it via the
43
+ read-only `Knowledge` tool.
44
+ - **Multi-agent** — `Dispatch` runs several read-only sub-agents in parallel;
45
+ `task` runs one — each in a fresh context, for focused investigation.
46
+ - **MCP** — connect to Model Context Protocol servers (`~/.drydock/mcp.json`);
47
+ their tools appear as `mcp__<server>__<tool>`. List them with `/mcp`.
48
+ - **Skills** — reusable `/<name>` commands authored as markdown in
49
+ `~/.drydock/skills/` (or `<project>/.drydock/skills/`); `$ARGS` substitution.
50
+ - **Loops** — `/loop <count> <prompt>` runs a prompt iteratively (Esc stops).
28
51
 
29
52
  ## Install
30
53
 
@@ -33,7 +56,7 @@ pip install drydock-cli
33
56
  drydock
34
57
  ```
35
58
 
36
- Requires Python 3.12+. From source instead:
59
+ Requires Python 3.11+. From source instead:
37
60
  `git clone https://github.com/fbobe321/drydock-v3.git && cd drydock-v3 && pip install -e .`
38
61
 
39
62
  On first launch with no config, Drydock probes localhost for a running local
@@ -54,8 +77,11 @@ commands to do the work, showing each as a collapsible tool card.
54
77
  - A live activity line shows progress while it works:
55
78
  `◡ Keelhauling… (12s · ↓ 6.2k tokens · thinking with high effort)`
56
79
  - Submit while it's working and the prompt **queues** (drains in order)
57
- - Slash commands: `/model [name]` · `/cwd [path]` · `/undo` (revert last write)
58
- · `/back` (rewind last turn) · `/status` · `/clear` · `/help` · `/quit`
80
+ - Slash commands: `/model` · `/cwd` · `/undo` (revert last write) · `/back`
81
+ (rewind last turn) · `/status` · `/compact` (shrink context) · `/graphrag`
82
+ (build/query a knowledge base) · `/skills` (list your `/<name>` skills) ·
83
+ `/loop` (repeat a prompt) · `/mcp` (list MCP servers) · `/clear` · `/help` ·
84
+ `/quit`
59
85
 
60
86
  It honors `AGENTS.md` / `DRYDOCK.md` in the working directory for project
61
87
  conventions.
@@ -74,22 +100,26 @@ blocked:
74
100
  `raise` outside an except, and refuses to write git conflict-marker content.
75
101
 
76
102
  Point it at a local OpenAI-compatible endpoint (e.g. llama.cpp's `server-cuda`
77
- serving Gemma 4 26B).
103
+ serving Gemma-4-31B). The web tools (`WebSearch`/`WebFetch`) are read-only and
104
+ degrade cleanly offline; the release scanner allowlists only the search backend.
78
105
 
79
106
  ## Model server (reference setup)
80
107
 
81
108
  Drydock is provider-agnostic, but it's tuned and measured against this rig:
82
109
 
83
- - **Model:** Gemma-4-26B-A4B-it (26B MoE, ~4B active/token), Unsloth `Q3_K_M`
84
- GGUF, served by `ghcr.io/ggml-org/llama.cpp:server-cuda` with `--jinja`.
85
- - **GPUs:** NVIDIA RTX 4060 Ti 16GB. The Q3_K_M weights (~13 GB) fit on a
86
- **single 16 GB card**, so each GPU runs a **full, independent instance**
87
- two cards give two parallel instances for throughput; the model is **not**
88
- tensor-split or "pooled" across both.
110
+ - **Model:** dense **Gemma-4-31B** (QAT `Q4_K_XL` GGUF), served by
111
+ `ghcr.io/ggml-org/llama.cpp:server-cuda` with `--jinja`. Swapped from the
112
+ 26B-A4B MoE, whose ~4B active params caused fatal agentic tool-loops; the
113
+ dense 31B is loop-free (slower, but it finishes).
114
+ - **GPUs:** NVIDIA RTX 4060 Ti 16GB, **tensor-split** across both cards
115
+ (`--tensor-split 1,1`) so the 31B weights fit.
89
116
  - **Context:** 64k (`-c 65536`) with `q8_0` KV-cache quantization
90
- (`-ctk q8_0 -ctv q8_0`) 64k @ q8 fits roughly the same VRAM as 32k @ f16.
91
- - **Throughput:** ~**64 tok/s** decode, ~94 tok/s prompt (per instance, Q3_K_M).
92
- - **Minimum:** any single 16 GB+ CUDA card runs it.
117
+ (`-ctk q8_0 -ctv q8_0`); set `context_limit` in `~/.drydock/config.toml` to
118
+ match your server's `-c`.
119
+ - **Throughput:** ~15 tok/s decode (tensor-split 31B). Faster single-GPU
120
+ options exist if you drop to a smaller model.
121
+ - **Provider-agnostic:** any OpenAI-compatible endpoint (llama.cpp, vLLM,
122
+ Ollama, LM Studio) works — point `--base-url` at it.
93
123
 
94
124
  ## Principles
95
125
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: drydock-cli
3
- Version: 3.0.56
3
+ Version: 3.0.57
4
4
  Summary: Drydock — a local, provider-agnostic terminal coding agent for local LLMs
5
5
  Author: Frank Bobe III
6
6
  License-Expression: Apache-2.0
@@ -23,9 +23,10 @@ Dynamic: license-file
23
23
  # ⚓ Drydock
24
24
 
25
25
  A local-first, provider-agnostic **terminal coding agent** for your own LLM.
26
- No accounts, no telemetry, no cloud — the only network call it makes is to
27
- the model endpoint you configure. Primary target: **Gemma-4-26B-A4B** served
28
- by llama.cpp on a single workstation.
26
+ No accounts, no telemetry, no cloud — the only outbound calls are to the model
27
+ endpoint you configure and (optionally) the web-search tools you invoke.
28
+ Primary target: **dense Gemma-4-31B** (QAT, 64K) served by llama.cpp on a
29
+ single workstation.
29
30
 
30
31
  > **v3 — clean-room rebuild.** Drydock is being rebuilt as an original,
31
32
  > Apache-2.0 codebase owned end to end (no upstream fork). Every release is
@@ -44,9 +45,31 @@ your box.
44
45
 
45
46
  Shipping. Published on PyPI as **`drydock-cli`** (v3.x). The Textual TUI is the
46
47
  default surface: a scrolling transcript with streamed assistant text, collapsible
47
- tool cards, a live nautical activity line, and a multi-line prompt. The agent
48
- loop, OpenAI-compatible provider, two-tier compaction, and the core tools
49
- (Read/Write/Edit/Bash/Glob/Grep) are in, with Gemma reliability hardening verified.
48
+ tool cards, collapsible reasoning ("thinking") cards, a live nautical activity
49
+ line, and a multi-line prompt. The agent loop, OpenAI-compatible provider,
50
+ two-tier compaction, and the full agentic toolset (below) are in, with Gemma
51
+ reliability hardening verified hands-on.
52
+
53
+ ## Capabilities
54
+
55
+ A full agentic CLI harness — every tool below is clean-room and dependency-free
56
+ (nothing beyond `openai` + `textual`), and the model calls them autonomously:
57
+
58
+ - **Files & shell** — `Read` (with a structure index for huge files), `Write`,
59
+ `Edit`, `Bash`, `Glob`, `Grep`.
60
+ - **Version control** — `GitStatus`, `GitDiff`, `GitLog`, `GitCommit`
61
+ (structured + truncated; commit is local and reversible).
62
+ - **Internet** — `WebSearch` + `WebFetch` (DuckDuckGo; offline-safe).
63
+ - **Knowledge base (GraphRAG)** — build a local entity-graph index from your
64
+ docs/code with `/graphrag build <path>`; the agent retrieves from it via the
65
+ read-only `Knowledge` tool.
66
+ - **Multi-agent** — `Dispatch` runs several read-only sub-agents in parallel;
67
+ `task` runs one — each in a fresh context, for focused investigation.
68
+ - **MCP** — connect to Model Context Protocol servers (`~/.drydock/mcp.json`);
69
+ their tools appear as `mcp__<server>__<tool>`. List them with `/mcp`.
70
+ - **Skills** — reusable `/<name>` commands authored as markdown in
71
+ `~/.drydock/skills/` (or `<project>/.drydock/skills/`); `$ARGS` substitution.
72
+ - **Loops** — `/loop <count> <prompt>` runs a prompt iteratively (Esc stops).
50
73
 
51
74
  ## Install
52
75
 
@@ -55,7 +78,7 @@ pip install drydock-cli
55
78
  drydock
56
79
  ```
57
80
 
58
- Requires Python 3.12+. From source instead:
81
+ Requires Python 3.11+. From source instead:
59
82
  `git clone https://github.com/fbobe321/drydock-v3.git && cd drydock-v3 && pip install -e .`
60
83
 
61
84
  On first launch with no config, Drydock probes localhost for a running local
@@ -76,8 +99,11 @@ commands to do the work, showing each as a collapsible tool card.
76
99
  - A live activity line shows progress while it works:
77
100
  `◡ Keelhauling… (12s · ↓ 6.2k tokens · thinking with high effort)`
78
101
  - Submit while it's working and the prompt **queues** (drains in order)
79
- - Slash commands: `/model [name]` · `/cwd [path]` · `/undo` (revert last write)
80
- · `/back` (rewind last turn) · `/status` · `/clear` · `/help` · `/quit`
102
+ - Slash commands: `/model` · `/cwd` · `/undo` (revert last write) · `/back`
103
+ (rewind last turn) · `/status` · `/compact` (shrink context) · `/graphrag`
104
+ (build/query a knowledge base) · `/skills` (list your `/<name>` skills) ·
105
+ `/loop` (repeat a prompt) · `/mcp` (list MCP servers) · `/clear` · `/help` ·
106
+ `/quit`
81
107
 
82
108
  It honors `AGENTS.md` / `DRYDOCK.md` in the working directory for project
83
109
  conventions.
@@ -96,22 +122,26 @@ blocked:
96
122
  `raise` outside an except, and refuses to write git conflict-marker content.
97
123
 
98
124
  Point it at a local OpenAI-compatible endpoint (e.g. llama.cpp's `server-cuda`
99
- serving Gemma 4 26B).
125
+ serving Gemma-4-31B). The web tools (`WebSearch`/`WebFetch`) are read-only and
126
+ degrade cleanly offline; the release scanner allowlists only the search backend.
100
127
 
101
128
  ## Model server (reference setup)
102
129
 
103
130
  Drydock is provider-agnostic, but it's tuned and measured against this rig:
104
131
 
105
- - **Model:** Gemma-4-26B-A4B-it (26B MoE, ~4B active/token), Unsloth `Q3_K_M`
106
- GGUF, served by `ghcr.io/ggml-org/llama.cpp:server-cuda` with `--jinja`.
107
- - **GPUs:** NVIDIA RTX 4060 Ti 16GB. The Q3_K_M weights (~13 GB) fit on a
108
- **single 16 GB card**, so each GPU runs a **full, independent instance**
109
- two cards give two parallel instances for throughput; the model is **not**
110
- tensor-split or "pooled" across both.
132
+ - **Model:** dense **Gemma-4-31B** (QAT `Q4_K_XL` GGUF), served by
133
+ `ghcr.io/ggml-org/llama.cpp:server-cuda` with `--jinja`. Swapped from the
134
+ 26B-A4B MoE, whose ~4B active params caused fatal agentic tool-loops; the
135
+ dense 31B is loop-free (slower, but it finishes).
136
+ - **GPUs:** NVIDIA RTX 4060 Ti 16GB, **tensor-split** across both cards
137
+ (`--tensor-split 1,1`) so the 31B weights fit.
111
138
  - **Context:** 64k (`-c 65536`) with `q8_0` KV-cache quantization
112
- (`-ctk q8_0 -ctv q8_0`) 64k @ q8 fits roughly the same VRAM as 32k @ f16.
113
- - **Throughput:** ~**64 tok/s** decode, ~94 tok/s prompt (per instance, Q3_K_M).
114
- - **Minimum:** any single 16 GB+ CUDA card runs it.
139
+ (`-ctk q8_0 -ctv q8_0`); set `context_limit` in `~/.drydock/config.toml` to
140
+ match your server's `-c`.
141
+ - **Throughput:** ~15 tok/s decode (tensor-split 31B). Faster single-GPU
142
+ options exist if you drop to a smaller model.
143
+ - **Provider-agnostic:** any OpenAI-compatible endpoint (llama.cpp, vLLM,
144
+ Ollama, LM Studio) works — point `--base-url` at it.
115
145
 
116
146
  ## Principles
117
147
 
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
  # PyPI distribution name is drydock-cli (the established install name, continued
8
8
  # from the retired v2 fork); the import package + CLI command stay `drydock`.
9
9
  name = "drydock-cli"
10
- version = "3.0.56"
10
+ version = "3.0.57"
11
11
  description = "Drydock — a local, provider-agnostic terminal coding agent for local LLMs"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.11"
File without changes
File without changes
File without changes