Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

fix(tui): keep main.zig at the 600-line ceiling and list /debug /import-claude in /help

Rach Pradhand4b84aa52a7e
diff --git a/src/help.zig b/src/help.zig
index c8f3533e..c10a90a0 100644
--- a/src/help.zig
+++ b/src/help.zig
@@ -32,8 +32,8 @@ pub const sections = [_]Section{
.{ .title = "the model", .names = &.{ "/model", "/models", "/effort", "/reasoning", "/fast", "/thinking", "/keepcontext", "/fallback", "/routes" } },
.{ .title = "working autonomously", .names = &.{ "/goal", "/loop", "/review", "/plan", "/todo", "/jobs", "/ultracode", "/strict", "/yolo", "/never" } },
.{ .title = "talking to other graffs", .names = &.{ "/tell", "/peek" }, .blurb = peers_blurb },
- .{ .title = "your setup", .names = &.{ "/login", "/key", "/cost", "/privacy", "/mcp", "/skills", "/agents", "/hooks", "/tools", "/fleet" } },
- .{ .title = "context & history", .names = &.{ "/compact", "/btw", "/doctor", "/trace", "/trajectory" } },
+ .{ .title = "your setup", .names = &.{ "/login", "/key", "/cost", "/privacy", "/mcp", "/import-claude", "/skills", "/agents", "/hooks", "/tools", "/fleet" } },
+ .{ .title = "context & history", .names = &.{ "/compact", "/btw", "/doctor", "/debug", "/trace", "/trajectory" } },
.{ .title = "shell & images", .names = &.{ "/bash", "/image", "/images", "/paste" } },
.{ .title = "look & feel", .names = &.{ "/theme", "/animation", "/title" } },
.{ .title = "this list", .names = &.{"/help"} },
diff --git a/src/main.zig b/src/main.zig
index c37129af..a37880c6 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -121,7 +121,6 @@ test { // unit_tests' root is main.zig only, so reference every split-out module
_ = provider_mod;
_ = agent_mod;
}
-// System-prompt text (main_system_prompt, strict_note, main_system_prompt_strict, sub_system_prompt, compact_instruction) lives in prompts.zig.
const prompts = @import("prompts.zig");
// Tool-schema + provider-tool JSON emission lives in schema.zig; serve.zig/startup.zig import it directly. Kept here to pull in its test{} block.
const schema = @import("schema.zig");