Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
e2be75b
metal: Spark2.5's and Llama's prompt attention from one source, Llama…
jschmied Nov 17, 2026
c916bea
metal: a host test pins Llama's fold of the shared prompt attention a…
jschmied Nov 17, 2026
434fc62
Record the shared prompt attention under Unreleased
ashhart Nov 17, 2026
3f07f6e
dsv41 metal: time-dsv41-metal-synth times synthetic release-shape lay…
gilby Nov 12, 2026
866be20
dsv41 metal: FP8 projections of 6-16 decode rows on a simdgroup-matri…
gilby Nov 12, 2026
7da5717
docs: the kernel contract's entry for DeepSeek V4.1's FP8 rows tile
gilby Nov 13, 2026
749d0ba
changelog: #2973 under Unreleased
ashhart Nov 18, 2026
b49f65b
feat(images): stream step progress and previews while a picture gener…
ashhart Nov 13, 2026
82a8c55
changelog: #3245 under Unreleased
ashhart Nov 18, 2026
475df36
qwen3_5 cuda: a dense MLP's NVFP4 prompt gate, up and act in one lean…
jschmied Nov 13, 2026
3597e64
qwen3_5 cuda: re-pin prompt16.cu and nvfp4.zig for the lean SwiGLU pa…
jschmied Nov 16, 2026
10ea963
changelog: #3252 under Unreleased
ashhart Nov 18, 2026
917f207
cuda: one kept image for states in device buffers, Gemma 4 on disk (#…
jschmied Nov 6, 2026
357cc06
cuda: Dory and Spark2.5 keep their states on disk (#840)
jschmied Nov 6, 2026
938fe57
cuda disk: the kept image's tests hang off cuda_disk.zig, cuda.zig st…
jschmied Nov 6, 2026
e864d5b
cuda kept: the store's permit takes a state at the served window, thr…
jschmied Nov 12, 2026
f31828d
docs: optimization ledger row 8, Gemma 4, Dory and Spark2.5 on CUDA open
jschmied Nov 12, 2026
7ba58e3
cuda disk: pin the shared kept view on the rebased source (#3135)
ashhart Nov 17, 2026
ac9c1fe
changelog: #3135 under Unreleased
ashhart Nov 18, 2026
af9e99c
nemotron cuda: Nemotron 3.5 Transcribe's language model (nemo_speechl…
BobClawblaw Oct 30, 2026
8c72d6b
nemotron cuda: null bf16x in the hand-built load-recovery engines
BobClawblaw Oct 30, 2026
3bf8986
nemotron cuda: fp32 conv1d.bias, A_log, D and dt_bias only from a Tra…
BobClawblaw Nov 2, 2026
7314e41
nemo_audio: Nemotron 3.5 Transcribe's audio encoder on CUDA
BobClawblaw Nov 11, 2026
0cdb775
nemo_audio: the speaker cache applies min_pos_scores_rate and pred_sc…
BobClawblaw Nov 12, 2026
f04b8aa
nemotron cuda: null audio and bf16x in main's hand-built subset-batch…
ashhart Nov 17, 2026
94ece19
nemotron cuda, tests/cuda: room under 600 lines after the rebase onto…
ashhart Nov 17, 2026
7d93d49
CHANGELOG, gradient-serving: Nemotron 3.5 Transcribe on CUDA (#1631);…
ashhart Nov 17, 2026
bc9f905
changelog: #1631 under Unreleased
ashhart Nov 18, 2026
4217669
Keep fixed shared draft work out of the verification row price
ashhart Nov 17, 2026
a5b58c7
Preserve chained head and copy prices beside explicit fixed block costs
ashhart Nov 18, 2026
f48b6f7
changelog: #3755 under Unreleased
ashhart Nov 18, 2026
8c24763
server: /score, TEI's texts and Cohere's /v2/rerank as shapes of the …
ashhart Nov 17, 2026
2d83ca6
Format the inferring route list after the rerank rebase
ashhart Nov 17, 2026
7c63941
changelog: #3203 under Unreleased
ashhart Nov 18, 2026
f23f314
Keep device profile integer parsing out of compiler-rt
AIFlowML Nov 18, 2026
54aa7a4
changelog: #3761 under Unreleased
ashhart Nov 18, 2026
fc1d64f
Report known zero device memory budgets accurately
AIFlowML Nov 18, 2026
098198d
changelog: #3773 under Unreleased
ashhart Nov 18, 2026
faf3e7a
app: let sandboxed MCP executables load bundled frameworks
AIFlowML Nov 15, 2026
51b0124
test: verify MCP bundle access is denied for permission reasons
AIFlowML Nov 15, 2026
5fa1fae
changelog: #3423 under Unreleased
ashhart Nov 18, 2026
4275b7a
app: show each Room's worktree and Git branch
AIFlowML Nov 15, 2026
a3bfff2
changelog: #3463 under Unreleased
ashhart Nov 18, 2026
0f76436
app: edit Kanban ticket details and restore archived cards
AIFlowML Nov 15, 2026
a0f89c9
changelog: #3464 under Unreleased
ashhart Nov 18, 2026
47f33e2
app: test computer-use parsing with Swift on Linux
AIFlowML Nov 15, 2026
93a9dea
changelog: #3465 under Unreleased
ashhart Nov 18, 2026
81b0471
app: release parked ticket claims when returned to Ready
AIFlowML Nov 15, 2026
a571e9d
changelog: #3469 under Unreleased
ashhart Nov 18, 2026
7e6666e
app: validate scroll bounds before integer conversion
AIFlowML Nov 15, 2026
f60dcf8
changelog: #3470 under Unreleased
ashhart Nov 18, 2026
4702345
app: resolve the selected Xcode directory for sandboxed commands
AIFlowML Nov 15, 2026
b465f7e
changelog: #3479 under Unreleased
ashhart Nov 18, 2026
fa54add
app: make Parallel search tests independent of system DNS
AIFlowML Nov 16, 2026
2c2e845
changelog: #3489 under Unreleased
ashhart Nov 18, 2026
fe50441
app: preserve and edit captured bot reasoning preferences
AIFlowML Nov 16, 2026
5cacf99
app: use captured bot effort for chat and routine execution
AIFlowML Nov 16, 2026
1ca4382
app: keep bot effort choices compatible with model and app defaults
AIFlowML Nov 16, 2026
714d494
app: display captured bot effort in the chat model badge
AIFlowML Nov 16, 2026
9ee0632
test: isolate bot effort badge checks from unrelated picker state
AIFlowML Nov 16, 2026
df0e347
app: trim trailing blank lines in bot runtime modules
AIFlowML Nov 16, 2026
4e3c36b
changelog: #3500 under Unreleased
ashhart Nov 18, 2026
1180ff5
app: honor confirmed ultrathink effort changes
AIFlowML Nov 16, 2026
7b2717a
changelog: #3502 under Unreleased
ashhart Nov 18, 2026
dbc85eb
grammar: compile off the lock, wait at most 2,000 ms, run at most 4 a…
ashhart Nov 17, 2026
c863e88
changelog: #3231 under Unreleased
ashhart Nov 18, 2026
35880e5
lanes: core's row draw takes Qwen 3.5's bounded top-k path (#2460 ite…
jschmied Nov 10, 2026
8917110
changelog: #3214 under Unreleased
ashhart Nov 18, 2026
84ad79f
perf(hip): score the planned decode walk at d = 256 without element t…
AbrahamCete Nov 15, 2026
378e79e
test(hip): put the planned decode walk's d = 256 score under the kern…
AbrahamCete Nov 16, 2026
c897ee8
perf(hip): give the d = 256 long-span score its own kernels
AbrahamCete Nov 16, 2026
3102a3e
changelog: #3508 under Unreleased
ashhart Nov 18, 2026
3fcf032
server: Flash Next's parallel tool results follow their call IDs, not…
ashhart Nov 18, 2026
048bfbc
changelog: #3832 under Unreleased
ashhart Nov 18, 2026
130691b
qwen3_5 cuda: kept states take a freed pinned buffer of their size (#…
ashhart Nov 11, 2026
57a2962
qwen3_5 cuda: spare byte test: the reused buffer holds other bytes ev…
ashhart Nov 11, 2026
b70c885
qwen3_5 cuda: the spare tests' geometry is one engine, not a pipeline…
ashhart Nov 12, 2026
4fd57da
tests/qwen35: the CUDA checker's kept copies pin their own buffers, n…
ashhart Nov 12, 2026
c734020
qwen3_5 cuda: the device draw rule in cuda_pick.zig, the spare hooks …
ashhart Nov 12, 2026
8b08765
cache: preserve keeps and admission with spare pinned buffers
ashhart Nov 17, 2026
b357fc5
changelog: #2841's line from lines/2841.txt in place of its own
ashhart Nov 18, 2026
f0eb45f
server: background Responses: create, poll and cancel background: true
ashhart Nov 13, 2026
7b890e8
tests: wait for background output before asserting partial cancellati…
ashhart Nov 14, 2026
74cdd55
tests: cover background Responses with optional logprob rows
ashhart Nov 14, 2026
fe974cb
server: fold ws_cache_bytes comment to keep server.zig at 600 lines
ashhart Nov 17, 2026
dafad7c
server: a deleted background response is unknown to GET, cancel and D…
ashhart Nov 17, 2026
a058572
docs: changelog and paragraph reflow for background responses
ashhart Nov 17, 2026
ea55af5
Keep background response comments within the source width limit
ashhart Nov 17, 2026
0900b48
changelog: #3220 under Unreleased
ashhart Nov 18, 2026
849168a
Merge upstream/main
plotarmordev Nov 18, 2026
c9dd08c
Merge remote-tracking branch 'origin/main' into feat/95-merge-upstrea…
plotarmordev Nov 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ env:
TRANSFORMERS_OFFLINE: '1'

jobs:
computer-use-linux:
runs-on: ubuntu-24.04
timeout-minutes: 10
container:
image: swift:6.2.3-noble@sha256:6dd90eb2359663a2cde8f03e9951f488b23134b3b8fce20e9dcb6cada75dd803
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
persist-credentials: false
- name: Test the shared computer-use parser and key table on Linux
run: swift test --package-path app/native/computer-use/ComputerUseChecks

desktop:
runs-on: macos-15
timeout-minutes: 20
Expand Down
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,56 @@ Each release's page on GitHub has its notes and measurements. See [the 1.0.0 rel

## Unreleased

- Server: `background: true` on `POST /v1/responses` answers at once with a queued response and generates the reply after the POST returns; `GET /v1/responses/{id}` polls it and `POST /v1/responses/{id}/cancel` or `DELETE` stops it, at most 64 are queued or running per server (16 per key, 256 MiB of copied requests) before a create answers 429, and `stream: true` with `background` is refused (#3220).

- Qwen 3.5 on CUDA: a dropped kept prompt state's pinned host buffer goes to a spare list of at most two, and the next save or recall blank of the same size reuses it instead of pinning new memory; spares count inside the prompt-cache budget and are freed before any state is evicted (#2841).

- Flash Next: when an assistant makes several tool calls and their results arrive out of call order, each result is now placed after its own call's ID before the prompt is rendered, since Flash Next's template gives the model anonymous result blocks in order; only a contiguous run with exactly one result per call is reordered, any other run keeps arrival order, and every other request and backend renders as before (#3775). Thanks to @srh3877.

- HIP: at head size 256 on long spans (16,384 keys or more), the planned decode walk scores keys in its own kernels without per-element tests or a per-key branch, with byte-identical scores (Qwen3.6-35B-A3B, Qwen3.8-27B); Nemotron's d = 128 kernels are unchanged (#3508). Thanks to @AbrahamCete.

- Lanes: Qwen 3.5's bounded top-k row draw moves into core's shared sampler (`core/lanes/sampling_row_topk.zig`), the same code and the same tokens (#3214, part of #2460). Thanks to @jschmied.

- Server: a slow grammar compile no longer holds up other requests' grammars; a request waits at most 2,000 ms for its grammar and past that gets HTTP 400 naming the limit, each model runs at most 4 compiles at once, and grammars that compile within the limit are unchanged (#3231).

- App: confirming an `ultrathink` effort change now applies it (#3502). Thanks to @AIFlowML.

- App: bots keep their own reasoning effort instead of sharing the app-wide setting (#3500). Thanks to @AIFlowML.

- App: the Parallel search tests no longer depend on the system's DNS (#3489). Thanks to @AIFlowML.

- App: Git keeps working in the sandbox when macOS selects Xcode without a legacy `xcode_select_link` (#3479). Thanks to @AIFlowML.

- App: an oversized scroll delta is refused as a bad request instead of stopping the computer-use helper (#3470). Thanks to @AIFlowML.

- App: returning a parked ticket to Ready releases its previous assignee, so another Room seat can take it (#3469). Thanks to @AIFlowML.

- App: the computer-use key table and request parser are tested on Linux with Swift Testing; the native checks stay on macOS (#3465). Thanks to @AIFlowML.

- App: Kanban tickets have a Details action to read and edit their title, description, type, priority and effort, and archived tickets can be restored (#3464). Thanks to @AIFlowML.

- App: Room health shows each Room's worktree path and its Git branch (#3463). Thanks to @AIFlowML.

- App: MCP servers bundled inside macOS apps can load their own frameworks; the bundle stays read-only and other app bundles stay out of reach (#3423). Thanks to @AIFlowML.

- `tensorfold device`: when the memory reserve leaves a known zero bytes for weights, a nonempty checkpoint is reported too large and the text report shows 0.0 GiB; unknown memory keeps the old fallback (#3773, fixes #3770). Thanks to @AIFlowML.

- macOS: the native binary imports `_memcpy` from libSystem again, so the release link check passes; the saved device profile is decoded with checked decimal arithmetic and keeps its format (#3761, fixes #3760). Thanks to @AIFlowML.

- Server: a reranker server also answers `/score`, TEI's `/rerank` with `texts` and Cohere's `/v2/rerank`, each translated onto the existing `/v1/rerank` path (#3203).

- Shared decoding: fixed DFlash2 block work stays separate from verification rows; MTP heads keep their step costs and copied rows keep their measured cost feedback (#3755).

- Nemotron 3.5 Transcribe on CUDA: the language model loads from the bf16 release as published, with exact bf16 caches and no conversion. The audio encoder runs on the GPU: log-mel, the ASR encoder, the streaming speaker encoder and its cache, fusion and projection. `tf-cuda-test audio-check` writes every encoder stage. Every other Nemotron checkpoint loads as before, and audio input in the server follows in #1632 (#1631). Thanks to @BobClawblaw, and to @cwschroeder for the CI report.

- CUDA: Gemma 4, Dory and Spark2.5 can keep conversations on disk through the shared kept-image store (#3135, part of #840). Thanks to @jschmied.

- CUDA: a dense Qwen 3.5 MLP's NVFP4 prompt gate, up and activation run in one launch for prompt rows past 16, with the same bytes (#3252). Thanks to @jschmied.

- Images: with `stream: true`, `POST /v1/images/generations` streams each denoising step's progress (`image_generation.progress`) and, with `preview_interval`, partial previews while the picture generates, then the PNG (#3245).

- DeepSeek-V4.1 on Metal: decode launches of 6 to 16 rows (draft verify windows, alone or with other streams' rows) run the dense FP8 projections on a simdgroup-matrix tile that splits K over simdgroups in the row kernel's own group tree, so every row's bits equal the row kernel's one row at a time; launches of 1 to 5 rows keep the row kernel. On the release weights two drafted streams decode 3.7 to 5.5% faster on an M5 Ultra and 3.6 to 5.4% faster on an M3 Ultra, other stream counts are level, and every token is unchanged; `time-dsv41-metal-synth` times the dispatch classes per row without a checkpoint (#2973, part of #2984).

- Tools: add the heat-exchanger agent evaluation and its bounded Python execution helper (#3086).

- Packaging: a Grafana dashboard for the engine's Prometheus metrics (TTFT and TPOT quantiles, decode rate, running and waiting requests, KV use, draft acceptance, prompt cache, memory and admission), with a host test that rejects unwritten metrics (#3141).
Expand All @@ -13,6 +63,7 @@ Each release's page on GitHub has its notes and measurements. See [the 1.0.0 rel
- Tests: `zig build test-tokenizer-host` runs every tokenizer test, unfiltered, on the host without a GPU or shader compiler, and is part of the nightly Linux and macOS fast checks; before, CI reached only the tokenizer's two EOS policy tests (#3082).
- Bench: add served agent-cache traces and token-qualified A/B comparisons (#3263).
- CI: remove the redundant nightly Linux host shard while retaining the fast, compile, HIP and DeepSeek shards (#3276).
- Metal: Spark2.5 and Llama build their tensor-unit prompt attention from one shared source, Llama's at WINDOW 0 and RING 0; the compiled code is unchanged (#3269, part of #2251). Thanks to @jschmied.

- Docs: the README is now a short quick start and docs list; setup, serve flags and model tables moved to the new run guide and supported models pages, and the Zig preview and 1.0.0 release notes moved into docs/ (#3170). Thanks to @jayleaton.

Expand Down
29 changes: 29 additions & 0 deletions app/electron/agent/bot-reasoning-store.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import assert from 'node:assert/strict'
import { promises as fs } from 'node:fs'
import os from 'node:os'
import path from 'node:path'
import { captureBotConfig } from '../../shared/bot-policy'
import type { AgentPreset, Provider, Thread } from './types'

const profile = await fs.mkdtemp(path.join(os.tmpdir(), 'tensorfold-bot-effort-store-'))
const previousHome = process.env.VONTRA_HOME
process.env.VONTRA_HOME = profile
try {
const { loadSettings, saveSettings, loadThreads, saveThreads } = await import('../store')
const provider: Provider = { id: 'fixture', name: 'Local fixture', kind: 'local', baseUrl: 'http://127.0.0.1:1/v1', apiKey: '', models: ['fixture'] }
const preset: AgentPreset = { id: 'bot_effort', name: 'Careful reviewer', role: 'Review supplied text', lane: 'review', providerId: provider.id, model: 'fixture', reasoningEffort: 'high', createdAt: 1, updatedAt: 1 }
await saveSettings({ ...await loadSettings(), providers: [provider], agentPresets: [preset] })
const restarted = await loadSettings()
assert.equal(restarted.agentPresets[0].reasoningEffort, 'high', 'protected settings retain per-bot effort across restart')
const bot = captureBotConfig(restarted.agentPresets[0], restarted.providers)
const thread: Thread = { id: 'effort-chat', title: 'Review', kind: 'chat', cwd: '', providerId: provider.id, providerAccountId: null, model: 'fixture', bot, status: 'idle', createdAt: 1, updatedAt: 1, timeline: [], apiMessages: [] }
await saveThreads([thread])
await saveSettings({ ...restarted, agentPresets: [{ ...preset, reasoningEffort: 'low' }] })
assert.equal((await loadSettings()).agentPresets[0].reasoningEffort, 'low')
assert.equal((await loadThreads())[0].bot?.reasoningEffort, 'high', 'persisted conversations keep their captured effort after a bot edit')
console.log('Protected bot effort settings and chat restart checks passed.')
} finally {
if (previousHome === undefined) delete process.env.VONTRA_HOME
else process.env.VONTRA_HOME = previousHome
await fs.rm(profile, { recursive: true, force: true })
}
28 changes: 28 additions & 0 deletions app/electron/agent/mac-developer-directory.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import assert from 'node:assert/strict'
import { resolveDeveloperReadRoot } from './mac-developer-directory'

const link = '/var/db/xcode_select_link'
const clt = '/Library/Developer/CommandLineTools'
const selected = '/Applications/Selected Xcode.app/Contents/Developer'
let queries = 0
const io = (paths: Record<string, string>, choice: string | null = selected) => ({
realpath(value: string) {
if (!(value in paths)) throw new Error('Missing fixture path')
return paths[value]
},
selectedPath() { queries++; return choice },
})

assert.equal(resolveDeveloperReadRoot(io({ [selected]: selected, [clt]: clt })), '/Applications/Selected Xcode.app')
assert.equal(queries, 1, 'missing legacy link asks xcode-select before choosing installed Command Line Tools')
queries = 0
assert.equal(resolveDeveloperReadRoot(io({ [link]: selected })), '/Applications/Selected Xcode.app')
assert.equal(queries, 0, 'an existing selection link keeps the direct lookup')
assert.equal(resolveDeveloperReadRoot(io({ [clt]: clt }, clt)), clt)
assert.equal(resolveDeveloperReadRoot(io({ [clt]: clt }, null)), clt)
assert.equal(resolveDeveloperReadRoot(io({ [clt]: clt }, '/missing/Developer')), clt)
assert.equal(resolveDeveloperReadRoot(io({ [clt]: clt }, 'relative/Developer')), clt)
assert.equal(resolveDeveloperReadRoot(io({}, null)), null)
assert.equal(resolveDeveloperReadRoot({ ...io({ [clt]: clt }), selectedPath() { throw new Error('Unavailable') } }), clt)
assert.equal(resolveDeveloperReadRoot(io({ [selected]: '/opt/developer' })), '/opt/developer')
console.log('developer directory discovery: 9 cases passed')
32 changes: 32 additions & 0 deletions app/electron/agent/mac-developer-directory.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { realpathSync } from 'node:fs'
import { spawnSync } from 'node:child_process'
import path from 'node:path'

interface DeveloperDirectoryIO {
realpath(value: string): string
selectedPath(): string | null
}

const systemIO: DeveloperDirectoryIO = {
realpath: realpathSync,
selectedPath() {
const result = spawnSync('/usr/bin/xcode-select', ['--print-path'], {
encoding: 'utf8', timeout: 2000, env: { PATH: '/usr/bin:/bin' },
})
return result.status === 0 ? result.stdout.trim() : null
},
}

export function resolveDeveloperReadRoot(io: DeveloperDirectoryIO = systemIO): string | null {
const resolve = (value: string | null): string | null => {
if (!value || !path.isAbsolute(value)) return null
try { return io.realpath(value) } catch { return null }
}
let directory = resolve('/var/db/xcode_select_link')
if (!directory) {
try { directory = resolve(io.selectedPath()) } catch { /* retain the Command Line Tools fallback */ }
}
directory ??= resolve('/Library/Developer/CommandLineTools')
// Xcode shims also load SharedFrameworks outside Contents/Developer.
return directory?.match(/^(.*?\.app)\/Contents\/Developer$/)?.[1] ?? directory
}
Loading