@denizokcu/haze 1.7.11 → 1.8.0
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 +56 -0
- package/README.md +142 -102
- package/SECURITY.md +1 -1
- package/assets/graph-grammars/NOTICE.md +21 -0
- package/assets/graph-grammars/tree-sitter-javascript.wasm +0 -0
- package/assets/graph-grammars/tree-sitter-tsx.wasm +0 -0
- package/assets/graph-grammars/tree-sitter-typescript.wasm +0 -0
- package/assets/graph-grammars/web-tree-sitter.cjs +4116 -0
- package/assets/graph-grammars/web-tree-sitter.cjs.map +7 -0
- package/assets/graph-grammars/web-tree-sitter.js +4056 -0
- package/assets/graph-grammars/web-tree-sitter.js.map +7 -0
- package/assets/graph-grammars/web-tree-sitter.wasm +0 -0
- package/assets/graph-grammars/web-tree-sitter.wasm.map +55 -0
- package/bin/haze.js +47 -19
- package/dist/buildInfo.json +3 -3
- package/dist/cli/chat/BusyBar.d.ts +1 -2
- package/dist/cli/chat/ChatHeader.d.ts +6 -0
- package/dist/cli/chat/ChatHeader.js +11 -0
- package/dist/cli/chat/ChatScreen.d.ts +16 -0
- package/dist/cli/chat/ChatScreen.js +399 -0
- package/dist/cli/chat/ChatScreenView.d.ts +68 -0
- package/dist/cli/chat/ChatScreenView.js +47 -0
- package/dist/cli/chat/LiveTail.d.ts +11 -0
- package/dist/cli/chat/LiveTail.js +26 -0
- package/dist/cli/chat/TaskBar.d.ts +3 -2
- package/dist/cli/chat/TaskBar.js +4 -0
- package/dist/cli/chat/agentTurnRunner.d.ts +12 -0
- package/dist/cli/chat/agentTurnRunner.js +177 -0
- package/dist/cli/chat/busyIndicator.js +9 -5
- package/dist/cli/chat/chatMetrics.d.ts +7 -0
- package/dist/cli/chat/chatMetrics.js +15 -1
- package/dist/cli/chat/chatViewModel.d.ts +85 -0
- package/dist/cli/chat/chatViewModel.js +66 -0
- package/dist/cli/chat/fileMentionSuggestions.d.ts +0 -14
- package/dist/cli/chat/fileMentionSuggestions.js +4 -21
- package/dist/cli/chat/inputSuggestions.js +1 -0
- package/dist/cli/chat/liveTheme.d.ts +11 -0
- package/dist/cli/chat/liveTheme.js +26 -0
- package/dist/cli/chat/messageFinalize.d.ts +4 -0
- package/dist/cli/chat/messageFinalize.js +8 -0
- package/dist/cli/chat/messages.js +1 -1
- package/dist/cli/chat/pickerOpeners.d.ts +23 -0
- package/dist/cli/chat/pickerOpeners.js +36 -0
- package/dist/cli/chat/promptSessionState.d.ts +11 -0
- package/dist/cli/chat/promptSessionState.js +39 -0
- package/dist/cli/chat/renderMetrics.d.ts +8 -0
- package/dist/cli/chat/renderMetrics.js +14 -0
- package/dist/cli/chat/resizeGuard.d.ts +11 -0
- package/dist/cli/chat/resizeGuard.js +25 -0
- package/dist/cli/chat/screenDeps.d.ts +116 -0
- package/dist/cli/chat/screenDeps.js +1 -0
- package/dist/cli/chat/sessionLifecycle.d.ts +2 -0
- package/dist/cli/chat/sessionLifecycle.js +6 -2
- package/dist/cli/chat/sessionRecorder.js +4 -1
- package/dist/cli/chat/settingsSelection.d.ts +33 -0
- package/dist/cli/chat/settingsSelection.js +46 -0
- package/dist/cli/chat/skillNotices.d.ts +18 -0
- package/dist/cli/chat/skillNotices.js +26 -0
- package/dist/cli/chat/startupInfo.js +1 -1
- package/dist/cli/chat/startupSequence.d.ts +2 -0
- package/dist/cli/chat/startupSequence.js +6 -0
- package/dist/cli/chat/submitPipeline.d.ts +8 -0
- package/dist/cli/chat/submitPipeline.js +141 -0
- package/dist/cli/chat/terminalControl.js +1 -1
- package/dist/cli/chat/toolSummaries.d.ts +29 -0
- package/dist/cli/chat/toolSummaries.js +268 -0
- package/dist/cli/chat/turnState.d.ts +8 -0
- package/dist/cli/chat/turnState.js +1 -0
- package/dist/cli/chat/userCommandFlow.d.ts +21 -0
- package/dist/cli/chat/userCommandFlow.js +66 -0
- package/dist/cli/chat/userCommandRunner.d.ts +14 -0
- package/dist/cli/chat/userCommandRunner.js +56 -0
- package/dist/cli/chat/wizard/providerHandlers.js +19 -2
- package/dist/cli/chat/wizardTrail.d.ts +22 -0
- package/dist/cli/chat/wizardTrail.js +55 -0
- package/dist/cli/commands/chat.d.ts +1 -13
- package/dist/cli/commands/chat.js +10 -795
- package/dist/cli/commands/commandHelp.js +11 -6
- package/dist/cli/commands/commandSuggest.d.ts +2 -0
- package/dist/cli/commands/commandSuggest.js +35 -0
- package/dist/cli/commands/commands.js +12 -3
- package/dist/cli/commands/formatters.d.ts +1 -23
- package/dist/cli/commands/formatters.js +3 -224
- package/dist/cli/commands/graphCommand.d.ts +2 -0
- package/dist/cli/commands/graphCommand.js +60 -0
- package/dist/cli/commands/initCommand.js +14 -0
- package/dist/cli/commands/modelCommand.js +11 -7
- package/dist/cli/commands/reasoningCommand.js +3 -3
- package/dist/cli/commands/runCommand.js +6 -2
- package/dist/cli/commands/streaming/agentAttempt.js +11 -1
- package/dist/cli/commands/streaming/attemptLifecycle.js +1 -0
- package/dist/cli/commands/streaming/attemptOutcome.js +8 -3
- package/dist/cli/commands/streaming/attemptSetup.d.ts +4 -0
- package/dist/cli/commands/streaming/attemptSetup.js +34 -5
- package/dist/cli/commands/streaming/goalCheckpoint.d.ts +1 -1
- package/dist/cli/commands/streaming/goalSupervisor.js +5 -3
- package/dist/cli/commands/streaming/prepareStep.js +1 -0
- package/dist/cli/commands/streaming/stepProjection.d.ts +59 -0
- package/dist/cli/commands/streaming/stepProjection.js +54 -0
- package/dist/cli/commands/streaming/streamLoop.d.ts +2 -0
- package/dist/cli/commands/streaming/streamLoop.js +34 -23
- package/dist/cli/commands/streaming/toolGroupRenderer.js +1 -1
- package/dist/cli/commands/streaming/toolPartHandlers.js +8 -2
- package/dist/cli/commands/streaming.d.ts +3 -1
- package/dist/cli/commands/streaming.js +5 -0
- package/dist/cli/commands/wizardFlow.d.ts +2 -0
- package/dist/cli/commands/wizardFlow.js +3 -0
- package/dist/cli/index.js +8 -4
- package/dist/cli/terminalTitle.js +9 -3
- package/dist/config/contextFiles.d.ts +2 -5
- package/dist/config/contextFiles.js +1 -1
- package/dist/config/inputHistory.js +2 -2
- package/dist/config/providerAuth.js +2 -2
- package/dist/config/providerModelFacts.js +5 -0
- package/dist/config/providerPresets.js +1 -1
- package/dist/config/settings.d.ts +7 -0
- package/dist/config/settings.js +9 -2
- package/dist/config/updateCheck.js +2 -2
- package/dist/core/agent/compaction.d.ts +1 -0
- package/dist/core/agent/compaction.js +3 -0
- package/dist/core/agent/completionController.d.ts +1 -1
- package/dist/core/agent/contextBudget.d.ts +1 -1
- package/dist/core/agent/goalPolicy.js +8 -2
- package/dist/core/agent/overflow.js +5 -0
- package/dist/core/agent/toolCapabilities.js +14 -0
- package/dist/core/agent/userCommands.d.ts +53 -0
- package/dist/core/agent/userCommands.js +116 -0
- package/dist/core/agent/workState.d.ts +3 -1
- package/dist/core/agent/workState.js +57 -26
- package/dist/core/contextFileTypes.d.ts +12 -0
- package/dist/core/contextFileTypes.js +1 -0
- package/dist/core/graph/analyze.d.ts +61 -0
- package/dist/core/graph/analyze.js +274 -0
- package/dist/core/graph/buildGraph.d.ts +44 -0
- package/dist/core/graph/buildGraph.js +290 -0
- package/dist/core/graph/digest.d.ts +2 -0
- package/dist/core/graph/digest.js +40 -0
- package/dist/core/graph/extract.d.ts +58 -0
- package/dist/core/graph/extract.js +394 -0
- package/dist/core/graph/model.d.ts +63 -0
- package/dist/core/graph/model.js +96 -0
- package/dist/core/graph/query.d.ts +69 -0
- package/dist/core/graph/query.js +391 -0
- package/dist/core/graph/store.d.ts +64 -0
- package/dist/core/graph/store.js +171 -0
- package/dist/core/limits.d.ts +2 -0
- package/dist/core/limits.js +2 -0
- package/dist/core/log/llmLog.js +2 -2
- package/dist/{config → core/persistence}/privateStorage.js +1 -1
- package/dist/core/process/runBoundedProcess.d.ts +7 -4
- package/dist/core/process/runBoundedProcess.js +22 -11
- package/dist/core/safety/redaction.d.ts +2 -0
- package/dist/core/safety/redaction.js +26 -5
- package/dist/core/safety/secretPaths.js +12 -3
- package/dist/core/safety/untrustedEnvelopes.d.ts +6 -0
- package/dist/core/safety/untrustedEnvelopes.js +17 -2
- package/dist/core/safety/urlGuard.js +2 -0
- package/dist/core/session/sessionStore.d.ts +8 -1
- package/dist/core/session/sessionStore.js +15 -4
- package/dist/core/shellOutput/reducers/validation.d.ts +1 -1
- package/dist/core/shellOutput/types.d.ts +1 -1
- package/dist/core/subagent/executionProfiles.js +4 -4
- package/dist/core/tasks/taskStorage.js +11 -1
- package/dist/{llm → core}/toolResultTypes.d.ts +1 -1
- package/dist/core/validation/outputParser.d.ts +1 -1
- package/dist/core/validation/outputParser.js +16 -8
- package/dist/llm/hazeTools.d.ts +2 -12426
- package/dist/llm/hazeTools.js +4 -0
- package/dist/llm/lsp/pool.js +1 -1
- package/dist/llm/lsp/workspaceEdit.d.ts +1 -1
- package/dist/llm/lspTools.d.ts +3 -12622
- package/dist/llm/requestContext.d.ts +6 -0
- package/dist/llm/requestContext.js +28 -7
- package/dist/llm/subagentRunner.d.ts +2 -308
- package/dist/llm/systemPrompt.js +17 -7
- package/dist/llm/toolGroups.d.ts +534 -0
- package/dist/llm/toolGroups.js +57 -0
- package/dist/llm/tools/editMatch.d.ts +1 -1
- package/dist/llm/tools/failures.d.ts +1 -1
- package/dist/llm/tools/fetchTool.d.ts +2 -1221
- package/dist/llm/tools/fileToolShared.d.ts +1 -1
- package/dist/llm/tools/fileToolShared.js +1 -1
- package/dist/llm/tools/fileTools.d.ts +2 -7768
- package/dist/llm/tools/fileTools.js +1 -1
- package/dist/llm/tools/gitTools.d.ts +12 -0
- package/dist/llm/tools/gitTools.js +527 -0
- package/dist/llm/tools/graphAdvisory.d.ts +22 -0
- package/dist/llm/tools/graphAdvisory.js +68 -0
- package/dist/llm/tools/graphTools.d.ts +13 -0
- package/dist/llm/tools/graphTools.js +195 -0
- package/dist/llm/tools/processTool.d.ts +2 -1081
- package/dist/llm/tools/readRecovery.d.ts +1 -1
- package/dist/llm/tools/replaceInFiles.d.ts +1 -1
- package/dist/llm/tools/replaceInFiles.js +1 -1
- package/dist/llm/tools/shellTool.d.ts +2 -1513
- package/dist/llm/tools/storedOutputTool.d.ts +2 -355
- package/dist/llm/tools/taskTool.d.ts +2 -489
- package/dist/llm/tools/taskTool.js +4 -1
- package/dist/llm/tools/toolContext.js +29 -11
- package/dist/llm/tools/toolContextState.d.ts +4 -1
- package/dist/llm/tools/toolContextState.js +2 -1
- package/dist/llm/tools/workspaceFile.d.ts +2 -2
- package/dist/llm/tools/workspaceFile.js +10 -5
- package/dist/skills/SkillRegistry.js +1 -1
- package/dist/skills/builder/SkillBuilder.js +1 -1
- package/dist/skills/plugins/installer.js +1 -1
- package/dist/skills/plugins/runtime.js +1 -1
- package/dist/skills/skillTools.js +4 -1
- package/dist/ui/components/MarkdownText.d.ts +14 -0
- package/dist/ui/components/MarkdownText.js +77 -12
- package/dist/ui/components/NativeIndicators.js +5 -1
- package/dist/ui/components/StreamingMarkdownText.d.ts +3 -1
- package/dist/ui/components/StreamingMarkdownText.js +39 -11
- package/dist/ui/components/TextInput.d.ts +1 -2
- package/dist/ui/components/TextInput.js +79 -9
- package/dist/ui/components/WizardChoices.d.ts +1 -2
- package/dist/ui/components/useInputSuggestions.d.ts +1 -1
- package/dist/ui/components/useInputSuggestions.js +1 -1
- package/dist/ui/mentionDetection.d.ts +20 -0
- package/dist/ui/mentionDetection.js +24 -0
- package/dist/ui/terminalColors.d.ts +4 -4
- package/dist/ui/terminalColors.js +23 -6
- package/dist/ui/terminalSanitize.js +8 -3
- package/dist/ui/textGeometry.d.ts +2 -0
- package/dist/ui/textGeometry.js +6 -0
- package/dist/ui/themes/registry.js +33 -33
- package/dist/utils/openPath.js +7 -0
- package/package.json +22 -19
- /package/dist/{llm/tools → core/ignore}/gitIgnore.d.ts +0 -0
- /package/dist/{llm/tools → core/ignore}/gitIgnore.js +0 -0
- /package/dist/{config → core}/paths.d.ts +0 -0
- /package/dist/{config → core}/paths.js +0 -0
- /package/dist/{config → core/persistence}/privateStorage.d.ts +0 -0
- /package/dist/{llm → core}/toolResultTypes.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.8.0 - 2026-11-25
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- `! <command>` runs a shell command directly in the chat and hands its output to the model, which then reacts in one turn. `\!` sends text that starts with `!` as a prompt.
|
|
8
|
+
- On-demand Git, code graph, and LSP tool groups: clear requests load relevant groups automatically, and the agent can load additional groups during a goal.
|
|
9
|
+
- Dedicated Git tools for repository inspection and local mutations, plus non-interactive fetch, pull, and workspace-confined clone. Pull defaults to fast-forward only.
|
|
10
|
+
- The status bar shows how much context is left (`NN% context left`; `~` when estimated).
|
|
11
|
+
- Readline-style line editing in the prompt: `Ctrl+W` deletes the word before the cursor, `Ctrl+U` and `Ctrl+K` clear to the start and end of the line, `Ctrl+A` and `Ctrl+E` jump to the line start and end.
|
|
12
|
+
- Provider wizard: `Esc` goes back one step instead of abandoning the flow, `later` skips model selection for now, and saving an API key probes the model list.
|
|
13
|
+
- `--print` as an alias of `--prompt`.
|
|
14
|
+
- Curated Z.ai GLM-5.4 (1M context, 128K output): Coding Plan preset entry plus endpoint and model-catalog limits, so request budgeting no longer falls back to 128K.
|
|
15
|
+
- Documented GLM-5.4 reasoning effort on Z.ai endpoints (`low`/`high`/`max`): `/reasoning` and the built-in default now apply instead of the provider's `max` default, and subagent workers run at `low`.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Haze requires Node.js 22.13 or newer; `bin/haze.js` reports a clear message on older runtimes.
|
|
20
|
+
- `haze --version` is answered before the build-staleness check.
|
|
21
|
+
- The live tail counts the streaming items that do not fit in one `+N more` row and keeps the newest visible.
|
|
22
|
+
- Theme text colors meet a 3:1 contrast ratio against their backgrounds.
|
|
23
|
+
- Terminal colours are adopted (OSC 10/11) only when the terminal reports colour capability, and the terminal title is restored on fatal exits.
|
|
24
|
+
- Git tools run with a scrubbed `GIT_*` environment, never prompt, and report a timeout by name.
|
|
25
|
+
- Redaction also covers Stripe secret keys, more GitHub token kinds, and lowercase `bearer` credentials.
|
|
26
|
+
- Dependency updates (AI SDK, marked, ESLint tooling); CI uploads one tarball per run, runs the supply-chain gates in a hygiene job, and has Dependabot configured.
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- MCP tools whose names start with `graph` or `lsp` (for example `lspLint`) were deferred behind the built-in tool groups and could go missing.
|
|
31
|
+
- The URL guard now also blocks 6to4 and Teredo IPv6 literals.
|
|
32
|
+
- Terminal control sequences: `DEL`, `U+FEFF`, bidirectional controls and `ESC X` are stripped from transcript output.
|
|
33
|
+
- `openPath` refuses `cmd.exe` metacharacter targets on Windows.
|
|
34
|
+
- Output-cap errors are no longer classified as context overflow.
|
|
35
|
+
- Markdown inline spans follow GFM rules (nested emphasis, strike-through, autolinks); block-level HTML no longer prints raw tags.
|
|
36
|
+
- A submit arriving between a `!` command and its model turn no longer starts a concurrent turn.
|
|
37
|
+
- `/model` rejects a bare unknown model; only `provider:model` registers.
|
|
38
|
+
- `setBusy` uses a functional state update, so batched calls see the current busy state.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## 1.7.12 - 2026-11-20
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
|
|
45
|
+
- Deterministic workspace code graph built with vendored tree-sitter WASM grammars, queried through `graph*` tools (also available to subagent workers), the `/graph` command, and compaction digests; file mutations attach a bounded reverse-dependency advisory.
|
|
46
|
+
|
|
47
|
+
### Changed
|
|
48
|
+
|
|
49
|
+
- LSP and graph tools are gated on request intent and prompt/schema duplication is trimmed to reduce per-request context.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- Bounded processes settle on child exit even when escaped descendants hold stdio pipes.
|
|
54
|
+
- Project skill envelope closers are escaped variant-tolerantly.
|
|
55
|
+
- Only error diagnostics count as validation failure evidence.
|
|
56
|
+
- Durable-write failures surface once, and workspace tasks are written atomically.
|
|
57
|
+
- Epoch-boundary aborts are classified by cause and turn budgets stay honest.
|
|
58
|
+
|
|
3
59
|
## 1.7.11 - 2026-11-06
|
|
4
60
|
|
|
5
61
|
### Changed
|
package/README.md
CHANGED
|
@@ -1,112 +1,26 @@
|
|
|
1
1
|
# haze
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
haze is an open-source coding agent for your terminal. It works with local models and hosted providers.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## What's new in 1.7.11
|
|
8
|
-
|
|
9
|
-
Fleet size now follows the deployment manifest's worker allowance, and long turns show live generation speed and fleet depth in the busy bar.
|
|
10
|
-
|
|
11
|
-
### Changes in 1.7.10
|
|
12
|
-
|
|
13
|
-
This patch rebuilds the npm package with matching version and build metadata.
|
|
14
|
-
|
|
15
|
-
### Changes in 1.7.9
|
|
16
|
-
|
|
17
|
-
This release improves model deployment discovery for configured workers.
|
|
18
|
-
|
|
19
|
-
### Changes in 1.7.8
|
|
20
|
-
|
|
21
|
-
This release improves compatibility with updated model deployments and preserves explicitly configured deployment trust.
|
|
22
|
-
|
|
23
|
-
### Changes in 1.7.5
|
|
24
|
-
|
|
25
|
-
Improved recovery from malformed tool calls and more resilient retry handling for temporary provider errors.
|
|
26
|
-
|
|
27
|
-
### Changes in 1.7.2
|
|
28
|
-
|
|
29
|
-
This patch updates the AI SDK and development tooling, and moves the public website and documentation to maintainable Astro components.
|
|
30
|
-
|
|
31
|
-
### Changes in 1.7.1
|
|
32
|
-
|
|
33
|
-
This patch updates a provider preset's default endpoint.
|
|
34
|
-
|
|
35
|
-
### Changes in 1.7.0
|
|
36
|
-
|
|
37
|
-
haze 1.7.0 hardens the untrusted-content boundary: MCP tool results of every size now arrive inside escaped untrusted envelopes, one variant-tolerant escaper guards all untrusted container closers (including compaction summaries), project instructions discovered mid-turn no longer ride the engine control channel, terminal control sequences (including OSC 52 clipboard writes) are stripped from the Markdown transcript path, and the protected secret-file list extends to database/CLI credential stores, browser profiles, and `~/.haze/settings.json`/`auth.json` — with the shell-side prompt rule derived from the same list. It also fixes validation-evidence edge cases around trailing stderr redirects and repeated tool-call redirects.
|
|
38
|
-
|
|
39
|
-
### Highlights from 1.6.0
|
|
40
|
-
|
|
41
|
-
haze 1.6.0 stops mistaking patient local models for dead streams:
|
|
42
|
-
|
|
43
|
-
- Idle-stream stall windows are now class-aware: hosted endpoints keep the 5-minute window, while loopback/local inference servers (LM Studio, Ollama) get 30 minutes — their prompt ingestion and hidden reasoning emit no stream output at all, so the old fixed window aborted healthy models mid-work and burned the retry pool re-doing prefill.
|
|
44
|
-
- The new `streamIdleTimeoutMs` setting overrides the window explicitly (integer milliseconds, 1s–24h). The `timeout`/`retry` events and the stall system messages report the effective window.
|
|
45
|
-
|
|
46
|
-
### Highlights from 1.5.1
|
|
47
|
-
|
|
48
|
-
haze 1.5.1 improves terminal resizing and reasoning-effort compatibility:
|
|
49
|
-
|
|
50
|
-
- On terminal width changes, haze replays the full settled transcript, including formatted Markdown, at the new width. The input draft and active turn stay mounted. Terminal scrollback is preserved, so older transcript copies can remain there after a replay.
|
|
51
|
-
- Unknown local and hosted endpoints omit reasoning effort by default. Providers can configure their supported reasoning levels explicitly.
|
|
52
|
-
- Unsupported `none`/`minimal` choices for GPT-6+ model names are omitted rather than promoted to a different effort; the provider default applies.
|
|
53
|
-
|
|
54
|
-
### Highlights from 1.5.0
|
|
55
|
-
|
|
56
|
-
haze 1.5.0 modernizes the terminal experience on Ink 8 — formatted streamed Markdown, native spinners and busy indicators, `$EDITOR`/`$PAGER` handoffs, and IME-aware cursor placement — and adds model steering for compact models, per-model session-scoped `/reasoning` (with the `/thinking` alias), pinned session model selections, and a metadata-only `haze report`.
|
|
5
|
+
Run it in your project and ask it to fix a bug, add a feature, or explain the code. haze can read and edit files, run commands, and check the results. Connect Ollama, LM Studio, OpenRouter, OpenAI, or another OpenAI-compatible endpoint, then pick the model you want to use.
|
|
57
6
|
|
|
58
|
-
|
|
59
|
-
- Model steering: `steeringProfile: "compact"` lists nearby package-script names, asks for smaller working slices, reminds about validation earlier, and compacts history at 70% of the usual budget — completion evidence stays just as strict. `escalationModel` hands a stuck goal to one explicitly configured model, once, with the conversation and evidence intact.
|
|
60
|
-
- Reasoning control: `/reasoning` (alias `/thinking`) keeps a per-model level for the session — `unset` sends no parameter, `reset` drops the override — and the status bar shows the effective level. Headless runs keep `--reasoning <level|unset>` as a run-scoped override.
|
|
61
|
-
- Session model pinning: each session remembers its model selection on resume, continue, and fork; changing the global default never rewrites an active session. Headless `--resume` follows the saved selection unless `--model` is explicit.
|
|
62
|
-
- `haze report [id] [--json]`: goal outcomes, tool/validation counts, context size, and evidence mismatches from session metadata — never prompts, commands, paths, or tool output.
|
|
63
|
-
- Terminal modernization: Ink 8 with native bracketed paste, grapheme/cell-aware editing, one bounded shutdown path, suspended-terminal `$EDITOR`/`$PAGER` handoffs, and screen-reader-aware indicators. The implicit 30-minute per-turn cap is gone; `--timeout` remains the explicit opt-in goal budget.
|
|
64
|
-
|
|
65
|
-
Previous releases:
|
|
66
|
-
|
|
67
|
-
- `1.4.0`: per-run reasoning control (`--reasoning` for headless runs and a live status-bar indicator) on top of the 1.3.0 hardening pass — uniform secret/file boundaries, evidence that survives failed exits, durable session lifecycle fixes, credential-safe provider discovery, and honest output reduction.
|
|
68
|
-
- `1.2.1`: edit-recovery instructs instead of restricting — the model is told which path to read and why, while the execution-time gate enforces the fresh read.
|
|
69
|
-
- `1.2.0`: provider-usage context accounting, recoverable compact-and-retry overflow handling, model-written split-turn-aware compaction, `pipefail` validation truthfulness, and a configurable retry pool.
|
|
70
|
-
- `1.1.1`: durable goal ledgers and crash-resume frontiers; headless `--until-done` relaunches with bounded notices and a no-progress guard; proportional task/validation completion gates; and smaller orchestration internals.
|
|
71
|
-
- `1.1.0`: terminal theming with 14 built-in palettes and live `/themes` switching; hard secret-file protection across every file tool, including symlink, read-blessing, ignore-override, and grep-traversal defenses.
|
|
72
|
-
- `1.0.0`: first stable release — the CLI flags, settings schema, `stream-json` event contract, session format, skill layout, and structured tool-result shape under the 1.x compatibility promise; a configurable model-retry pool; and four benchmark-driven reliability fixes (validated with the Harbor differential benchmark: 17/17 verifier tests, fewest input tokens of the reporting harnesses, zero stalls).
|
|
73
|
-
- `0.11.0`: goal-level autonomy across physical-turn budgets (logical-goal supervisor, evidence-gated completion, `goal_*` stream events, cumulative goal envelope), runtime provenance and `haze doctor` (embedded build info, stale-build refusal, session build headers), model-aware context budgeting (per-preset limits, live discovery, 128K fallback, self-healing context overflow), headless `--timeout` with per-tool deadlines and abort-cause typing, performance work (batched ignore checks, LSP reuse, coalesced/vacuumed sessions, memoized estimates, incremental streaming, viewport-clamped live region), and model-written `/compact` summaries with a heuristic fallback.
|
|
74
|
-
- `0.10.1`: OpenAI Subscription OAuth preset, SECURITY.md and the attended-use threat model, bounded completion recovery, compact colorized diffs, prompt-injection framing, hardened fetch/stdin/sessions, and a multi-page docs site.
|
|
7
|
+
[Quickstart](https://haze.build/quickstart.html) · [Documentation](https://haze.build/) · [Commands](https://haze.build/commands.html) · [Changelog](https://github.com/DenizOkcu/haze/blob/main/CHANGELOG.md)
|
|
75
8
|
|
|
76
|
-
|
|
77
|
-
- `0.9.0`: private home-state storage, authoritative turn status, collection-time byte bounds, hardened process teardown, stronger real-path and network boundaries, and ordered persistence.
|
|
78
|
-
- `0.8.0`: AI SDK v7 runtime, live status with model, elapsed time, and tool labels; bounded bash output processing; lowercase `haze` naming.
|
|
79
|
-
- `0.7.0`: headless `-p`, `--output json`, and `--output stream-json`; pinned-connection `fetch` safety; scoped instruction refresh; smaller sessions; startup context visibility.
|
|
80
|
-
- `0.6.0`: AI SDK-native ToolLoopAgent core, optional LSP navigation, MCP support, unified configuration pickers, cleaner transcripts, `/context`, and startup update checks.
|
|
81
|
-
- `0.5.0`: SSRF-protected public URL fetching, no provider environment variables, debug-only LLM logs, command-aware output reduction, CLI Markdown rendering, scoped nested context files, and automatic cleanup of completed tasks.
|
|
82
|
-
- `0.4.0`: three-step skill wizard, language-agnostic skill intent extraction, model-managed tasks, a smaller command surface, and docs site additions.
|
|
83
|
-
- `0.3.0`: redesigned docs site, a relocated task bar, and automatic task cleanup between sessions.
|
|
84
|
-
- `0.2.0`: more reliable recovery from failed edits and validation, structured bash classification, parsed validation summaries, and multiline input with vertical cursor movement.
|
|
85
|
-
- `0.1.0`: bundled ripgrep, subagent delegation, and inline diffs.
|
|
86
|
-
- `0.0.3`: durable sessions, context compaction, and provider management.
|
|
87
|
-
- `0.0.2`: Markdown skills, autocomplete, and `listFiles` pagination.
|
|
88
|
-
- `0.0.1`: initial release.
|
|
9
|
+
[](https://snyk.io/test/github/DenizOkcu/haze)
|
|
89
10
|
|
|
90
|
-
|
|
11
|
+
## What haze does
|
|
91
12
|
|
|
92
|
-
|
|
93
|
-
_
|
|
94
|
-
| |
|
|
95
|
-
| |__ __ _ _______
|
|
96
|
-
| '_ \ / _` |_ / _ \
|
|
97
|
-
| | | | (_| |/ / __/
|
|
98
|
-
|_| |_|\__,_/___\___|
|
|
99
|
-
```
|
|
13
|
+
haze manages context, retries, and continuation during longer tasks. For implementation work, it tracks validation results and can continue when tasks or checks are incomplete. You can follow its tool calls and edits in the terminal.
|
|
100
14
|
|
|
101
|
-
|
|
15
|
+
Sessions can be resumed later. For work you do often, save instructions as a Markdown skill. haze also supports MCP and LSP servers.
|
|
102
16
|
|
|
103
|
-
|
|
17
|
+
In one [Harbor differential benchmark](https://github.com/DenizOkcu/haze/blob/main/benchmarks/harbor/results/20260816-224944-glm53-differential.html), haze 1.0.0 and three other harnesses each passed all 17 verifier tests using the same task, model, and backend. The report includes the runs and measurements. It covers one task and isn't a general ranking.
|
|
104
18
|
|
|
105
|
-
|
|
19
|
+
> **Supervise haze as you would a shell session.** haze has no sandbox or command approval layer. Shell commands run with your user permissions and can reach outside the project. File tools are scoped to the workspace. See the [safety model](#safety-model) and [SECURITY.md](https://github.com/DenizOkcu/haze/blob/main/SECURITY.md).
|
|
106
20
|
|
|
107
21
|
## Getting started
|
|
108
22
|
|
|
109
|
-
haze runs on macOS and Linux
|
|
23
|
+
haze requires Node.js 22.13 or newer and runs on macOS and Linux. Native Windows support is on the 1.x roadmap; the current toolchain assumes a POSIX shell.
|
|
110
24
|
|
|
111
25
|
Install haze:
|
|
112
26
|
|
|
@@ -127,6 +41,16 @@ On first run, create or choose a provider, then choose your first model:
|
|
|
127
41
|
/model
|
|
128
42
|
```
|
|
129
43
|
|
|
44
|
+
To use a local model, start Ollama or LM Studio and load a model. Choose the matching preset in `/provider`, then discover or enter the model in `/model`. You do not need an API key for a local server. For a hosted model, choose a provider preset and follow the sign-in or API-key prompts. The [quickstart](https://haze.build/quickstart.html) has setup examples.
|
|
45
|
+
|
|
46
|
+
Then try a task in your project:
|
|
47
|
+
|
|
48
|
+
```txt
|
|
49
|
+
find a failing test, fix the cause, and run the relevant tests
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Review the tool calls, changes, and test results as haze works. Results depend on the model, task, and available tools.
|
|
53
|
+
|
|
130
54
|
`/provider` sets up any OpenAI-compatible endpoint, such as OpenRouter, OpenAI, LM Studio, Ollama, or a proxy. haze asks for a provider name, base URL, optional API key, and model names. The **OpenAI API Key** preset uses platform API billing. The **OpenAI Subscription** preset instead opens a ChatGPT browser login and uses the Codex Responses endpoint; no pasted session token is required. Its sign-in callback listens on a fixed localhost port (1455) required by the registered client, so a lingering process holding that port blocks sign-in until it exits; retry after freeing the port.
|
|
131
55
|
|
|
132
56
|
Cloud presets include a small set of current models; account discovery can expose more. The Ollama, LM Studio, llama.cpp, MLX Server, and vLLM presets do not suggest model names: use the models discovered from your own server, or enter them manually. Custom providers remain available. Preset changes do not modify previously saved providers or their models.
|
|
@@ -320,19 +244,30 @@ for official sources, layouts, support limits and cross-agent setup.
|
|
|
320
244
|
|
|
321
245
|
```txt
|
|
322
246
|
/help
|
|
247
|
+
! <command> # run a shell command directly, then have the model react to its output
|
|
248
|
+
\! <text> # send a message that starts with ! as a prompt
|
|
323
249
|
/provider
|
|
324
250
|
/model
|
|
325
251
|
/model <name-or-provider:name>
|
|
326
252
|
/model list
|
|
327
253
|
/settings
|
|
328
254
|
/settings open
|
|
255
|
+
/settings edit
|
|
256
|
+
/editor
|
|
329
257
|
/themes
|
|
330
258
|
/themes <name>
|
|
331
|
-
/reasoning [level|unset|reset|status]
|
|
259
|
+
/reasoning [level|off|unset|reset|status]
|
|
260
|
+
/thinking [level|off|unset|reset|status]
|
|
332
261
|
/logs [id]
|
|
262
|
+
/logs <id> view
|
|
333
263
|
/lsp
|
|
334
264
|
/mcp
|
|
265
|
+
/plugin [inspect|install|list|remove]
|
|
266
|
+
/kit
|
|
335
267
|
/init
|
|
268
|
+
/graph
|
|
269
|
+
/graph status
|
|
270
|
+
/graph delete
|
|
336
271
|
/context
|
|
337
272
|
/session
|
|
338
273
|
/resume [id]
|
|
@@ -340,12 +275,17 @@ for official sources, layouts, support limits and cross-agent setup.
|
|
|
340
275
|
/compact [instructions]
|
|
341
276
|
/clear
|
|
342
277
|
/exit
|
|
278
|
+
/quit
|
|
343
279
|
|
|
344
280
|
/skills
|
|
345
281
|
/tips
|
|
346
282
|
/fleet [--review] [--profile <name>] [--workers <provider:model>] [--concurrency <n>] <prompt>
|
|
347
283
|
```
|
|
348
284
|
|
|
285
|
+
`/quit`, `/kit` and `/thinking` are aliases of `/exit`, `/plugin` and `/reasoning`. `off` means reasoning
|
|
286
|
+
level `none`; `unset` sends no reasoning parameter (provider default). `/logs <id> view` pages a raw log
|
|
287
|
+
through `$PAGER`; `/graph status` and `/graph delete` inspect or remove the persisted code graph.
|
|
288
|
+
|
|
349
289
|
Skill management is a single interactive picker, mirroring `/provider`, `/lsp`, and `/mcp`: generate a custom skill from a description, then show info, enable/disable, validate, or remove. Disabled skills drop out of the model catalog and the `/<name>` command list until re-enabled.
|
|
350
290
|
|
|
351
291
|
CLI flags:
|
|
@@ -355,6 +295,9 @@ haze --debug # show model/tool debug logs and write detailed JSONL logs
|
|
|
355
295
|
haze --continue # resume the latest saved session for this workspace
|
|
356
296
|
haze --resume <id> # resume an exact session id for this workspace
|
|
357
297
|
haze --no-session # run without durable session storage
|
|
298
|
+
haze --verbose --version # also print the commit, runtime/executable paths, and the capability registry
|
|
299
|
+
haze -p "prompt" --reasoning xhigh # one print-mode run with a reasoning effort override (off = none, unset = provider default)
|
|
300
|
+
haze doctor # print runtime provenance, verify build integrity, show the capability registry
|
|
358
301
|
```
|
|
359
302
|
|
|
360
303
|
Non-interactive / print mode:
|
|
@@ -429,6 +372,7 @@ haze has a small built-in toolset:
|
|
|
429
372
|
- `fetch` reads public `http(s)` URLs as Markdown, formatted JSON, or text. It rejects non-HTTP schemes, private and loopback addresses, metadata hosts, and malformed IPv6-like hosts. Bounded output remains available through `readToolOutput`.
|
|
430
373
|
- `writeTasks` replaces the task list at meaningful phase changes. Completed lists clear on the next user turn.
|
|
431
374
|
- `skill` loads an installed Markdown workflow or one of its references.
|
|
375
|
+
- Git tools inspect status, history, diffs, and branches; stage and commit changes; manage branches, rebase, and reset; fetch or pull from a configured remote; and clone a remote repository into the workspace. Pull defaults to fast-forward only. Network Git authentication must work without interactive prompts. Haze loads relevant Git, code graph, and LSP tool groups for clear requests; the agent can load another group as needed during the goal, with shell as a fallback.
|
|
432
376
|
- Optional LSP tools provide hierarchical symbol/body retrieval, definitions, enriched references, implementations, symbol-scoped diagnostics, semantic rename, and checked safe delete. They appear only when an enabled server command is installed.
|
|
433
377
|
|
|
434
378
|
Tool calls are grouped in the transcript so you can see what happened without reading a novella. Every successful `editFile`, `replaceInFiles`, `replaceLines`, `writeFile`, and mutating LSP content change shows colored additions and removals with line numbers and context. Large diffs keep an eight-row preview—the first four and last four rows, separated by an omission marker—and expose the complete retained diff through `readToolOutput`; no-op mutations are labeled explicitly. File-tool failures include a reason code and a recovery hint; protected secret files (SSH keys, shell histories, `.env` files, credentials) are refused outright with `secret_file_protected` and show as `blocked: protected secret file` in the transcript. Large shell, search, and fetch results stay behind an in-memory handle. Later model calls see a compact summary tailored to validation, git, search, diffs, JSON, logs, or the head and tail of the output.
|
|
@@ -533,7 +477,7 @@ Shell classification is informational. haze does not ask for confirmation before
|
|
|
533
477
|
|
|
534
478
|
With `--debug`, haze writes full request and message payloads to `~/.haze/logs/`. The files use private `0600` permissions on POSIX, but they can contain secrets and file contents. Do not share debug logs without reviewing and redacting them.
|
|
535
479
|
|
|
536
|
-
See [SECURITY.md](SECURITY.md) for supported versions and private vulnerability reporting.
|
|
480
|
+
See [SECURITY.md](https://github.com/DenizOkcu/haze/blob/main/SECURITY.md) for supported versions and private vulnerability reporting.
|
|
537
481
|
|
|
538
482
|
## Local development
|
|
539
483
|
|
|
@@ -581,7 +525,7 @@ The npm package ships `bin`, `dist`, README, SECURITY.md, license, and changelog
|
|
|
581
525
|
|
|
582
526
|
## Release
|
|
583
527
|
|
|
584
|
-
The
|
|
528
|
+
The public site's source is the Astro project under `website/`; the built pages are committed as static HTML under `docs/`. Update the version stamps in `website/src` (`layouts/SiteLayout.astro`, `pages/index.astro`, `pages/quickstart.astro`), run `npm run sync --prefix website`, and commit the regenerated `docs/` files. `npm run check --prefix website` detects drift.
|
|
585
529
|
|
|
586
530
|
```bash
|
|
587
531
|
npm ci
|
|
@@ -589,13 +533,109 @@ npm run typecheck
|
|
|
589
533
|
npm test
|
|
590
534
|
npm run lint
|
|
591
535
|
npm run build
|
|
592
|
-
npm
|
|
536
|
+
npm run release:verify
|
|
593
537
|
npm pack --dry-run
|
|
594
538
|
git tag vX.Y.Z
|
|
595
|
-
git push origin main --tags
|
|
596
|
-
npm publish --access public --provenance
|
|
539
|
+
git push origin main --tags # the Release workflow publishes to npm with provenance
|
|
597
540
|
```
|
|
598
541
|
|
|
542
|
+
## What's new in 1.8.0
|
|
543
|
+
|
|
544
|
+
`! <command>` runs a shell command from the chat and lets the model react to its output; dedicated Git tools and on-demand Git, code graph, and LSP tool groups; a context-left percentage in the status bar; readline-style `Ctrl+W`/`U`/`K`/`A`/`E` line editing; a provider wizard where `Esc` steps back instead of quitting. Haze now requires Node.js 22.13 or newer.
|
|
545
|
+
|
|
546
|
+
<details>
|
|
547
|
+
<summary>Previous release highlights</summary>
|
|
548
|
+
|
|
549
|
+
### Changes in 1.7.12
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
A deterministic workspace code graph (tree-sitter WASM) powers the new `graph*` tools and `/graph` command, with bounded reverse-dependency advisories after file edits; LSP/graph tools are now gated on request intent to cut context, plus several reliability fixes.
|
|
553
|
+
|
|
554
|
+
### Changes in 1.7.11
|
|
555
|
+
|
|
556
|
+
Fleet size now follows the deployment manifest's worker allowance, and long turns show live generation speed and fleet depth in the busy bar.
|
|
557
|
+
|
|
558
|
+
### Changes in 1.7.10
|
|
559
|
+
|
|
560
|
+
This patch rebuilds the npm package with matching version and build metadata.
|
|
561
|
+
|
|
562
|
+
### Changes in 1.7.9
|
|
563
|
+
|
|
564
|
+
This release improves model deployment discovery for configured workers.
|
|
565
|
+
|
|
566
|
+
### Changes in 1.7.8
|
|
567
|
+
|
|
568
|
+
This release improves compatibility with updated model deployments and preserves explicitly configured deployment trust.
|
|
569
|
+
|
|
570
|
+
### Changes in 1.7.5
|
|
571
|
+
|
|
572
|
+
Improved recovery from malformed tool calls and more resilient retry handling for temporary provider errors.
|
|
573
|
+
|
|
574
|
+
### Changes in 1.7.2
|
|
575
|
+
|
|
576
|
+
This patch updates the AI SDK and development tooling, and moves the public website and documentation to maintainable Astro components.
|
|
577
|
+
|
|
578
|
+
### Changes in 1.7.1
|
|
579
|
+
|
|
580
|
+
This patch updates a provider preset's default endpoint.
|
|
581
|
+
|
|
582
|
+
### Changes in 1.7.0
|
|
583
|
+
|
|
584
|
+
haze 1.7.0 hardens the untrusted-content boundary: MCP tool results of every size now arrive inside escaped untrusted envelopes, one variant-tolerant escaper guards all untrusted container closers (including compaction summaries), project instructions discovered mid-turn no longer ride the engine control channel, terminal control sequences (including OSC 52 clipboard writes) are stripped from the Markdown transcript path, and the protected secret-file list extends to database/CLI credential stores, browser profiles, and `~/.haze/settings.json`/`auth.json` — with the shell-side prompt rule derived from the same list. It also fixes validation-evidence edge cases around trailing stderr redirects and repeated tool-call redirects.
|
|
585
|
+
|
|
586
|
+
### Highlights from 1.6.0
|
|
587
|
+
|
|
588
|
+
haze 1.6.0 stops mistaking patient local models for dead streams:
|
|
589
|
+
|
|
590
|
+
- Idle-stream stall windows are now class-aware: hosted endpoints keep the 5-minute window, while loopback/local inference servers (LM Studio, Ollama) get 30 minutes — their prompt ingestion and hidden reasoning emit no stream output at all, so the old fixed window aborted healthy models mid-work and burned the retry pool re-doing prefill.
|
|
591
|
+
- The new `streamIdleTimeoutMs` setting overrides the window explicitly (integer milliseconds, 1s–24h). The `timeout`/`retry` events and the stall system messages report the effective window.
|
|
592
|
+
|
|
593
|
+
### Highlights from 1.5.1
|
|
594
|
+
|
|
595
|
+
haze 1.5.1 improves terminal resizing and reasoning-effort compatibility:
|
|
596
|
+
|
|
597
|
+
- On terminal width changes, haze replays the full settled transcript, including formatted Markdown, at the new width. The input draft and active turn stay mounted. Terminal scrollback is preserved, so older transcript copies can remain there after a replay.
|
|
598
|
+
- Unknown local and hosted endpoints omit reasoning effort by default. Providers can configure their supported reasoning levels explicitly.
|
|
599
|
+
- Unsupported `none`/`minimal` choices for GPT-6+ model names are omitted rather than promoted to a different effort; the provider default applies.
|
|
600
|
+
|
|
601
|
+
### Highlights from 1.5.0
|
|
602
|
+
|
|
603
|
+
haze 1.5.0 modernizes the terminal experience on Ink 8 — formatted streamed Markdown, native spinners and busy indicators, `$EDITOR`/`$PAGER` handoffs, and IME-aware cursor placement — and adds model steering for compact models, per-model session-scoped `/reasoning` (with the `/thinking` alias), pinned session model selections, and a metadata-only `haze report`.
|
|
604
|
+
|
|
605
|
+
- Formatted streaming: assistant Markdown renders as formatted terminal rows while it streams, clamped to the viewport budget; clamped rows settle into the transcript verbatim, never lost.
|
|
606
|
+
- Model steering: `steeringProfile: "compact"` lists nearby package-script names, asks for smaller working slices, reminds about validation earlier, and compacts history at 70% of the usual budget — completion evidence stays just as strict. `escalationModel` hands a stuck goal to one explicitly configured model, once, with the conversation and evidence intact.
|
|
607
|
+
- Reasoning control: `/reasoning` (alias `/thinking`) keeps a per-model level for the session — `unset` sends no parameter, `reset` drops the override — and the status bar shows the effective level. Headless runs keep `--reasoning <level|unset>` as a run-scoped override.
|
|
608
|
+
- Session model pinning: each session remembers its model selection on resume, continue, and fork; changing the global default never rewrites an active session. Headless `--resume` follows the saved selection unless `--model` is explicit.
|
|
609
|
+
- `haze report [id] [--json]`: goal outcomes, tool/validation counts, context size, and evidence mismatches from session metadata — never prompts, commands, paths, or tool output.
|
|
610
|
+
- Terminal modernization: Ink 8 with native bracketed paste, grapheme/cell-aware editing, one bounded shutdown path, suspended-terminal `$EDITOR`/`$PAGER` handoffs, and screen-reader-aware indicators. The implicit 30-minute per-turn cap is gone; `--timeout` remains the explicit opt-in goal budget.
|
|
611
|
+
|
|
612
|
+
Previous releases:
|
|
613
|
+
|
|
614
|
+
- `1.4.0`: per-run reasoning control (`--reasoning` for headless runs and a live status-bar indicator) on top of the 1.3.0 hardening pass — uniform secret/file boundaries, evidence that survives failed exits, durable session lifecycle fixes, credential-safe provider discovery, and honest output reduction.
|
|
615
|
+
- `1.2.1`: edit-recovery instructs instead of restricting — the model is told which path to read and why, while the execution-time gate enforces the fresh read.
|
|
616
|
+
- `1.2.0`: provider-usage context accounting, recoverable compact-and-retry overflow handling, model-written split-turn-aware compaction, `pipefail` validation truthfulness, and a configurable retry pool.
|
|
617
|
+
- `1.1.1`: durable goal ledgers and crash-resume frontiers; headless `--until-done` relaunches with bounded notices and a no-progress guard; proportional task/validation completion gates; and smaller orchestration internals.
|
|
618
|
+
- `1.1.0`: terminal theming with 14 built-in palettes and live `/themes` switching; hard secret-file protection across every file tool, including symlink, read-blessing, ignore-override, and grep-traversal defenses.
|
|
619
|
+
- `1.0.0`: first stable release — the CLI flags, settings schema, `stream-json` event contract, session format, skill layout, and structured tool-result shape under the 1.x compatibility promise; a configurable model-retry pool; and four benchmark-driven reliability fixes (validated with the Harbor differential benchmark: 17/17 verifier tests, fewest input tokens of the reporting harnesses, zero stalls).
|
|
620
|
+
- `0.11.0`: goal-level autonomy across physical-turn budgets (logical-goal supervisor, evidence-gated completion, `goal_*` stream events, cumulative goal envelope), runtime provenance and `haze doctor` (embedded build info, stale-build refusal, session build headers), model-aware context budgeting (per-preset limits, live discovery, 128K fallback, self-healing context overflow), headless `--timeout` with per-tool deadlines and abort-cause typing, performance work (batched ignore checks, LSP reuse, coalesced/vacuumed sessions, memoized estimates, incremental streaming, viewport-clamped live region), and model-written `/compact` summaries with a heuristic fallback.
|
|
621
|
+
- `0.10.1`: OpenAI Subscription OAuth preset, SECURITY.md and the attended-use threat model, bounded completion recovery, compact colorized diffs, prompt-injection framing, hardened fetch/stdin/sessions, and a multi-page docs site.
|
|
622
|
+
|
|
623
|
+
- `0.10.0`: image input, read-only path blessings, isolated fleet workers, managed background processes, session browsing and forking, model discovery, project skills, and rotating tips.
|
|
624
|
+
- `0.9.0`: private home-state storage, authoritative turn status, collection-time byte bounds, hardened process teardown, stronger real-path and network boundaries, and ordered persistence.
|
|
625
|
+
- `0.8.0`: AI SDK v7 runtime, live status with model, elapsed time, and tool labels; bounded bash output processing; lowercase `haze` naming.
|
|
626
|
+
- `0.7.0`: headless `-p`, `--output json`, and `--output stream-json`; pinned-connection `fetch` safety; scoped instruction refresh; smaller sessions; startup context visibility.
|
|
627
|
+
- `0.6.0`: AI SDK-native ToolLoopAgent core, optional LSP navigation, MCP support, unified configuration pickers, cleaner transcripts, `/context`, and startup update checks.
|
|
628
|
+
- `0.5.0`: SSRF-protected public URL fetching, no provider environment variables, debug-only LLM logs, command-aware output reduction, CLI Markdown rendering, scoped nested context files, and automatic cleanup of completed tasks.
|
|
629
|
+
- `0.4.0`: three-step skill wizard, language-agnostic skill intent extraction, model-managed tasks, a smaller command surface, and docs site additions.
|
|
630
|
+
- `0.3.0`: redesigned docs site, a relocated task bar, and automatic task cleanup between sessions.
|
|
631
|
+
- `0.2.0`: more reliable recovery from failed edits and validation, structured bash classification, parsed validation summaries, and multiline input with vertical cursor movement.
|
|
632
|
+
- `0.1.0`: bundled ripgrep, subagent delegation, and inline diffs.
|
|
633
|
+
- `0.0.3`: durable sessions, context compaction, and provider management.
|
|
634
|
+
- `0.0.2`: Markdown skills, autocomplete, and `listFiles` pagination.
|
|
635
|
+
- `0.0.1`: initial release.
|
|
636
|
+
|
|
637
|
+
</details>
|
|
638
|
+
|
|
599
639
|
## License
|
|
600
640
|
|
|
601
641
|
MIT
|
package/SECURITY.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Version | Supported |
|
|
6
6
|
|---------|-----------|
|
|
7
|
-
| Latest minor (`1.
|
|
7
|
+
| Latest minor (`1.8.x`) | Yes — security fixes |
|
|
8
8
|
| Older minors and pre-1.0 (`0.x`) | No — upgrade required |
|
|
9
9
|
|
|
10
10
|
Security fixes are provided for the latest published minor release. Upgrade to the newest release before reporting an issue that may already have been fixed.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Vendored grammar assets
|
|
2
|
+
|
|
3
|
+
- `web-tree-sitter.wasm` — core runtime from the npm package `web-tree-sitter` (MIT).
|
|
4
|
+
- `tree-sitter-typescript.wasm`, `tree-sitter-tsx.wasm`, `tree-sitter-javascript.wasm`
|
|
5
|
+
— prebuilt grammars from the npm package `tree-sitter-wasms` (Unlicense);
|
|
6
|
+
the underlying grammars are from the tree-sitter org projects (MIT).
|
|
7
|
+
|
|
8
|
+
Refresh by reinstalling `tree-sitter-wasms` and `web-tree-sitter` and copying
|
|
9
|
+
the files over. The runtime (`src/core/graph/extract.ts`) pairs with
|
|
10
|
+
`web-tree-sitter@0.27.x`. Grammar WASMs must be rebuilt against 0.27.x:
|
|
11
|
+
|
|
12
|
+
1. Install the wasm-pack toolchain (`cargo install wasm-pack`).
|
|
13
|
+
2. For each grammar repo (tree-sitter-javascript, tree-sitter-typescript,
|
|
14
|
+
tree-sitter-tsx) run: `cargo xtask build-wasm --lib --release` from the
|
|
15
|
+
monorepo root (or `cargo xtask build-wasm` in a single-grammar checkout).
|
|
16
|
+
3. Copy the resulting `.wasm` files from `target/wasm32-wasip1/release/` into
|
|
17
|
+
`assets/graph-grammars/`.
|
|
18
|
+
|
|
19
|
+
The 0.23.x runtime ABI is incompatible with 0.27.x — previously vendored
|
|
20
|
+
grammar builds cannot load on the newer runtime.
|
|
21
|
+
|
|
Binary file
|
|
Binary file
|
|
Binary file
|