Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 0 additions & 8 deletions .changeset/busy-status.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/loop-guard.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stalls-loops-and-verbosity.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/step-budget.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/tool-deadlines.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/turn-inactivity-watchdog.md

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@reddb-io/redcode-workspace",
"version": "0.13.4",
"version": "0.13.5",
"description": "RedDB's AI-powered development tool",
"private": true,
"type": "module",
Expand Down
13 changes: 13 additions & 0 deletions packages/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# @reddb-io/redcode-app

## 1.18.19

### Patch Changes

- Updated dependencies [82bb18a]
- Updated dependencies [8c43207]
- Updated dependencies [603d8c7]
- Updated dependencies [86b2250]
- @reddb-io/redcode-schema@1.18.19
- @reddb-io/redcode-core@1.18.19
- @reddb-io/redcode-session-ui@1.18.19
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reddb-io/redcode-app",
"version": "1.18.18",
"version": "1.18.19",
"description": "",
"type": "module",
"exports": {
Expand Down
12 changes: 12 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @reddb-io/redcode-cli

## 1.18.19

### Patch Changes

- Updated dependencies [8c43207]
- Updated dependencies [603d8c7]
- Updated dependencies [86b2250]
- @reddb-io/redcode-core@1.18.19
- @reddb-io/redcode-server@1.18.19
- @reddb-io/redcode-tui@1.18.19
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@reddb-io/redcode-cli",
"version": "1.18.18",
"version": "1.18.19",
"type": "module",
"license": "MIT",
"bin": {
Expand Down
9 changes: 9 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# @reddb-io/redcode-client

## 1.18.19

### Patch Changes

- Updated dependencies [82bb18a]
- @reddb-io/redcode-schema@1.18.19
- @reddb-io/redcode-protocol@1.18.19
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@reddb-io/redcode-client",
"version": "1.18.18",
"version": "1.18.19",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
21 changes: 21 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# @reddb-io/redcode-core

## 1.18.19

### Patch Changes

- 8c43207: Notice when the model is repeating itself, and say so instead of asking the user

The old detector compared the last three parts of a single assistant message and required byte-identical serialized input, so one interleaved reasoning part — which reasoning models emit constantly — reset it permanently, a loop spanning steps was invisible, and when it did fire it asked a question whose wait had no bound: the only defence against a loop was itself a way to hang. It now looks across the whole turn, counts only calls that returned the same result (identical calls with different results are polling, and are left alone), and answers the repeated call itself with a correction quoting the model's own arguments and the answer it keeps ignoring. If the correction changes nothing, the turn ends. Nobody is asked anything. Configurable via `experimental.loop_guard`; a `doom_loop: "allow"` permission rule still turns it off.

- 603d8c7: Ask for a report before the step ceiling instead of cutting the turn off at it

The turn ceiling was a cliff: at step 200 the turn stopped and everything the model had worked out but not yet written down went with it, leaving the user told to "send another message to continue" with nothing to base it on. The last steps before the wall are now spent the way `agent.steps` already spends its own: tools off, a summary of what was done, what is left, and what to do next. The wall itself is unchanged, for a model that will not yield. Configurable via `experimental.turn_steps`.

- 86b2250: Stop a tool that never returns instead of letting it hold the turn open

Most tools carry no bound of their own, so a read on a dead mount or an MCP call to a process that went away kept a turn running with no output and no error — and the turn's inactivity watchdog could not help, because a tool in flight is deliberately counted as work. Tool calls now have a ten minute backstop, reported to the model as an ordinary tool failure it can react to. Tools that legitimately take as long as they take are exempt (`shell`, `bash`, `question`, `task`), and time spent waiting on a permission prompt is not charged against the tool. Configurable via `experimental.tool_timeout`, `false` to disable.

- Updated dependencies [82bb18a]
- @reddb-io/redcode-schema@1.18.19
- @reddb-io/redcode-llm@1.18.19
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/package.json",
"version": "1.18.18",
"version": "1.18.19",
"name": "@reddb-io/redcode-core",
"type": "module",
"license": "MIT",
Expand Down
11 changes: 11 additions & 0 deletions packages/enterprise/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @reddb-io/redcode-enterprise

## 1.18.19

### Patch Changes

- Updated dependencies [8c43207]
- Updated dependencies [603d8c7]
- Updated dependencies [86b2250]
- @reddb-io/redcode-core@1.18.19
- @reddb-io/redcode-session-ui@1.18.19
2 changes: 1 addition & 1 deletion packages/enterprise/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reddb-io/redcode-enterprise",
"version": "1.18.18",
"version": "1.18.19",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/llm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @reddb-io/redcode-llm

## 1.18.19

### Patch Changes

- Updated dependencies [82bb18a]
- @reddb-io/redcode-schema@1.18.19
2 changes: 1 addition & 1 deletion packages/llm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/package.json",
"version": "1.18.18",
"version": "1.18.19",
"name": "@reddb-io/redcode-llm",
"type": "module",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/protocol/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @reddb-io/redcode-protocol

## 1.18.19

### Patch Changes

- Updated dependencies [82bb18a]
- @reddb-io/redcode-schema@1.18.19
2 changes: 1 addition & 1 deletion packages/protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@reddb-io/redcode-protocol",
"version": "1.18.18",
"version": "1.18.19",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
29 changes: 29 additions & 0 deletions packages/redcode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# opencode

## 0.13.5

### Patch Changes

- 82bb18a: Say what a busy session is actually doing

`session.status` reported `busy` as a bare tag, so the TUI had to reverse-engineer the phase from message parts and every other client got nothing at all. `busy` now carries an optional phase (preparing, thinking, writing, tool, compacting), the tool being run, the step number, and when the phase started. The fields are additive: readers that discriminate on `type` alone are unaffected. The TUI uses them for the window the parts cannot describe — before the first byte arrives — and shows the step number, so a turn on its eighth step no longer looks the same as one that just started.

- 8c43207: Notice when the model is repeating itself, and say so instead of asking the user

The old detector compared the last three parts of a single assistant message and required byte-identical serialized input, so one interleaved reasoning part — which reasoning models emit constantly — reset it permanently, a loop spanning steps was invisible, and when it did fire it asked a question whose wait had no bound: the only defence against a loop was itself a way to hang. It now looks across the whole turn, counts only calls that returned the same result (identical calls with different results are polling, and are left alone), and answers the repeated call itself with a correction quoting the model's own arguments and the answer it keeps ignoring. If the correction changes nothing, the turn ends. Nobody is asked anything. Configurable via `experimental.loop_guard`; a `doom_loop: "allow"` permission rule still turns it off.

- 071c47d: Stop turns from stalling or looping in silence: a turn now has a hard step ceiling, a stream that goes quiet is aborted whatever content type it uses, auto-compaction can no longer paste your prompt back into the transcript over and over, the TUI re-reads the session after the event stream reconnects instead of waiting on a message it never received, and the status line says when nothing has arrived for a while rather than spinning as if it were working.
- 603d8c7: Ask for a report before the step ceiling instead of cutting the turn off at it

The turn ceiling was a cliff: at step 200 the turn stopped and everything the model had worked out but not yet written down went with it, leaving the user told to "send another message to continue" with nothing to base it on. The last steps before the wall are now spent the way `agent.steps` already spends its own: tools off, a summary of what was done, what is left, and what to do next. The wall itself is unchanged, for a model that will not yield. Configurable via `experimental.turn_steps`.

- 86b2250: Stop a tool that never returns instead of letting it hold the turn open

Most tools carry no bound of their own, so a read on a dead mount or an MCP call to a process that went away kept a turn running with no output and no error — and the turn's inactivity watchdog could not help, because a tool in flight is deliberately counted as work. Tool calls now have a ten minute backstop, reported to the model as an ordinary tool failure it can react to. Tools that legitimately take as long as they take are exempt (`shell`, `bash`, `question`, `task`), and time spent waiting on a permission prompt is not charged against the tool. Configurable via `experimental.tool_timeout`, `false` to disable.

- de65b16: End a turn that has stopped producing anything, where nobody is watching to end it themselves. Time a tool spends running or a permission spends awaiting an answer does not count as silence, so a long build is never mistaken for a provider that went away. In the TUI and the desktop app the turn is reported rather than ended, since a person is there to read it and press escape; a scripted run, an editor speaking ACP or a scheduled job ends it. Configurable through `experimental.turn_stall`, or `false` to disable.
- Updated dependencies [82bb18a]
- @reddb-io/redcode-schema@1.18.19
- @reddb-io/redcode-llm@1.18.19
- @reddb-io/redcode-protocol@1.18.19
- @reddb-io/redcode-server@1.18.19
- @reddb-io/redcode-tui@1.18.19

## 0.13.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/redcode/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/package.json",
"version": "0.13.4",
"version": "0.13.5",
"name": "@reddb-io/redcode",
"type": "module",
"license": "MIT",
Expand Down
9 changes: 9 additions & 0 deletions packages/schema/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# @reddb-io/redcode-schema

## 1.18.19

### Patch Changes

- 82bb18a: Say what a busy session is actually doing

`session.status` reported `busy` as a bare tag, so the TUI had to reverse-engineer the phase from message parts and every other client got nothing at all. `busy` now carries an optional phase (preparing, thinking, writing, tool, compacting), the tool being run, the step number, and when the phase started. The fields are additive: readers that discriminate on `type` alone are unaffected. The TUI uses them for the window the parts cannot describe — before the first byte arrives — and shows the step number, so a turn on its eighth step no longer looks the same as one that just started.
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@reddb-io/redcode-schema",
"version": "1.18.18",
"version": "1.18.19",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
12 changes: 12 additions & 0 deletions packages/sdk-next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# @reddb-io/redcode-sdk-next

## 1.18.19

### Patch Changes

- Updated dependencies [8c43207]
- Updated dependencies [603d8c7]
- Updated dependencies [86b2250]
- @reddb-io/redcode-core@1.18.19
- @reddb-io/redcode-client@1.18.19
- @reddb-io/redcode-server@1.18.19
2 changes: 1 addition & 1 deletion packages/sdk-next/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@reddb-io/redcode-sdk-next",
"version": "1.18.18",
"version": "1.18.19",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
11 changes: 11 additions & 0 deletions packages/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# @reddb-io/redcode-server

## 1.18.19

### Patch Changes

- Updated dependencies [8c43207]
- Updated dependencies [603d8c7]
- Updated dependencies [86b2250]
- @reddb-io/redcode-core@1.18.19
- @reddb-io/redcode-protocol@1.18.19
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@reddb-io/redcode-server",
"version": "1.18.18",
"version": "1.18.19",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions packages/session-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# @reddb-io/redcode-session-ui

## 1.18.19

### Patch Changes

- Updated dependencies [8c43207]
- Updated dependencies [603d8c7]
- Updated dependencies [86b2250]
- @reddb-io/redcode-core@1.18.19
2 changes: 1 addition & 1 deletion packages/session-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reddb-io/redcode-session-ui",
"version": "1.18.18",
"version": "1.18.19",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions packages/tui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# @reddb-io/redcode-tui

## 1.18.19

### Patch Changes

- Updated dependencies [8c43207]
- Updated dependencies [603d8c7]
- Updated dependencies [86b2250]
- @reddb-io/redcode-core@1.18.19
2 changes: 1 addition & 1 deletion packages/tui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@reddb-io/redcode-tui",
"version": "1.18.18",
"version": "1.18.19",
"private": true,
"type": "module",
"license": "MIT",
Expand Down
Loading