Repository navigation
Tags
Tags
fs (TS): apply_patch edits in one call; base_hash optional (cloud#758) ( #62) The TypeScript `fs` tool still refused apply_patch without a base_hash ("read the file first") and its schema never said so. Models looped: refused call, read, retry, burning hundreds of thousands of cached tokens per edit. The Rust runtime fixed this in #41; this is the same contract in TS: - base_hash is optional. Sent, a stale edit is still refused (CONFLICT). Omitted, old_text must match exactly once, so one call edits a file. - The description and schema say what apply_patch takes, in the Rust tool's words. - An apply_patch sent a `*** Begin Patch` text in `input` (how models know the native tool) is told to use action "patch", instead of a bare "old_text and new_text required". Releases: @hanzo/mcp 2.4.23 (publish.yml on merge) and hanzo-mcp 1.1.37, the first Rust release with #41 (1.1.36 was cut before it). Test: test/tools/unified/fs.test.ts, 3 new cases red before, 10/10 after. Refs hanzo-inc/cloud#758 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
hanzo-mcp 1.1.36: the login before a stored key A key left in ~/.hanzo/config.json for another account beat the person's own `hanzo` login, so every tool acted as that account and the router could not say who it was or pick another. The credential is now HANZO_API_KEY, then `hanzo auth token`, then the stored key last. The hanzo router's auth actions answer whoami (source, identity, email, name, org, orgs from the token's claims; a key by its prefix only), list (`hanzo auth list -o json`), use (this process only) and switch (`hanzo auth switch`, said to be global). Every router call takes `as`, an identity asked of the CLI with `auth token --as`, and `org`, sent as X-Org-Id. Claude-Session: https://claude.ai/code/session_015XYKLix9PSyn6Jw2HWKprk
hanzo-mcp 1.1.33: the hanzo login when no key is set A desktop app starts hanzo-mcp with no environment of its own, and `hanzo login` never writes an apiKey into ~/.hanzo/config.json, so on a fresh machine every Kai and Enso call answered NO_API_KEY. With no key set, hanzo-mcp now asks the hanzo CLI beside it (or at hanzo.sh's install path) for the login's token, `hanzo auth token`, and keeps it for five minutes. Never a hanzo found on PATH: the Hanzo IDE package installs /usr/bin/hanzo, which opens its window on any arguments. Claude-Session: https://claude.ai/code/session_01M8RoubcPN71KgJuZ8LdBUL
hanzo-mcp 1.1.32 for Windows: zapd 1.1.9 and a native host on the rou… …ter's pipe zapd 1.1.9 runs the router on Windows (a named pipe, LockFileEx). The browser's native host follows it there: the host binary is a hard link hanzo-zap-host.exe, each installed browser is pointed at its manifest through its NativeMessagingHosts registry key, and the relay opens the router's pipe only when its server is the router lock holder. The release builds windows-amd64 again, cross-linked by Zig like the rest. Claude-Session: https://claude.ai/code/session_01M8RoubcPN71KgJuZ8LdBUL
PreviousNext