Skip to content
Merged
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: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ like `## [0.4.16] - 2026-10-24`.

- Desktop: questions from the agent show each option with its description, like on phones

### Fixed

- Setup: an owner who connects only an API key no longer finishes with a default model that cannot run. On Continue, a default or small model whose provider does not work is replaced with that key's provider's models (its smart and fast tiers)
- Home's "Set up later" list shows Defaults again while the default model cannot run. Before, it counted as done on every hub, because the hub always returns a default model
- Hubs that finished the old thirteen step setup no longer get a "Set up later" list on Home after upgrading: their owner already chose. Settings, About still lists every item
- Android: a pinned model your plan stops offering stays under Pinned, marked as not available, and keeps its pin so you can unpin it. Before, it vanished from Pinned and still took one of the 50 places
- Directions that still named the old Settings > Models group (an Android account starter line, the assistant's map of Settings, the Refusal fallback, hidden model, image model and private folder messages, and docs/INSTALL.md) now name Settings > AI connections or Settings > Advanced

## [0.4.97] - 2026-11-13

### Changed
Expand Down
2 changes: 1 addition & 1 deletion docs/EXTENSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ Set the tiers once with `conclave config set models.tiers '{"deep": "anthropic/c

`group: security` marks a subagent as a Security-mode role. Task offers it only when the session has `chat.security: true`, off by default. `fallback:` in the role profile lists model refs tried after its default when the default is unusable or has answered 404; the parent model comes last. A named Task model or Same model pin wins over the role's list. See `docs/agents/sec-*.md`. This is not an authorization boundary: the scope guard and the egress gateway are separate.

`refusalFallback:` gives sessions with this agent their own Refusal fallback list (what the owner calls "safety priority", docs/DESIGN.md 47): each entry is a model, or `model@account` with an account id from Settings > Models > Accounts. A list replaces the owner's and turns it on for this agent; `refusalFallback: off` turns it off. Without the field the owner's setting applies.
`refusalFallback:` gives sessions with this agent their own Refusal fallback list (what the owner calls "safety priority", docs/DESIGN.md 47): each entry is a model, or `model@account` with an account id from Settings > Advanced > Accounts. A list replaces the owner's and turns it on for this agent; `refusalFallback: off` turns it off. Without the field the owner's setting applies.

```yaml
refusalFallback:
Expand Down
28 changes: 14 additions & 14 deletions docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ and never sent back to an app. The environment variables still work:
## 4. Subscriptions: sign in to Claude, ChatGPT and more

The hub can use the plans you already pay for instead of API keys. Setup
step 2 ("Sign in to your AI subscriptions") and **Settings > Models >
step 3 ("Connect a model") and **Settings > AI connections >
Subscriptions** show one row each for Claude, ChatGPT, Google, Grok, Kimi
and Muse. Sign in, and every model those accounts give shows up in the model
picker, as `cliproxy/<model>`. It is off until you sign in or pick a mode,
Expand Down Expand Up @@ -740,7 +740,7 @@ matched.

You can sign in to more than one account of the same plan. They are used
in your order (below), one at a time. An account with a short name (set in
Settings > Models > Accounts) also shows its models as
Settings > Advanced > Accounts) also shows its models as
`neu/claude-opus-5-5` and so on, under "Second account" in Settings.
**Remove** signs an account out; **Refresh** asks the provider for a new
token now.
Expand Down Expand Up @@ -772,14 +772,14 @@ is not available), the model picker greys that model out with the reason
instead of sending every turn to it. **Refresh models** asks the plan
again; otherwise the mark goes after a day.
The lists are read again every 10 minutes and on every coding agent turn. To
read them now, press **Refresh models** in **Settings > Models >
read them now, press **Refresh models** in **Settings > AI connections >
Subscriptions** (Models). It also starts each coding agent that is on, once,
to ask for its list. One that cannot be asked keeps its last list, then the
built-in one, and the message says which.

### Accounts and their order

**Settings > Models > Accounts** lists every signed in plan and every API
**Settings > Advanced > Accounts** lists every signed in plan and every API
key, per vendor, in the order the hub uses them. The first takes the call;
the next takes over when it is at a limit, resting after errors, or paused.
Plans come before API keys unless you move them. So with Account 1, then
Expand Down Expand Up @@ -819,9 +819,9 @@ and spend by account.
**A second Claude account.** Two ways, and a refusal fallback step can be
kept on either:

- **Another plan.** Sign in again under **Settings > Models >
- **Another plan.** Sign in again under **Settings > AI connections >
Subscriptions** (Claude) with the other login. To keep a step on exactly
that plan, give it a short name in **Settings > Models > Accounts** (for
that plan, give it a short name in **Settings > Advanced > Accounts** (for
example `neu`). Its models then also show as `neu/claude-opus-5-5`.
Without a short name CLIProxyAPI picks which plan answers a model both have.
- **Another API key.** Add a second Anthropic provider and its key:
Expand All @@ -832,15 +832,15 @@ kept on either:
### Refusal fallback ("safety priority")

When a model refuses, Conclave can ask again elsewhere with the same
messages. The simple way: in **Settings > Models > Accounts**, turn on **Use
messages. The simple way: in **Settings > Advanced > Accounts**, turn on **Use
when a model refuses** for the plans or keys you trust with such requests.
A refused reply then goes to the same model on each of them (of that
model's maker), in your account order, skipping the one that refused and
any that is paused or at a limit. The line at the top of **Settings > Models
any that is paused or at a limit. The line at the top of **Settings > Advanced
> Refusal fallback** names them ("Tried first: personal-claude on Claude.").

After those, Conclave can ask the next model on your list.
**Settings > Models > Refusal fallback** holds the list: add
**Settings > Advanced > Refusal fallback** holds the list: add
a model, pick an account for it if that step should stay on one plan or key
("Your order" follows Accounts), and drag rows or use the arrows. For
example: Opus 5.5 on neu, Opus 5.5 on personal, GLM-5.3, then a ChatGPT
Expand Down Expand Up @@ -878,7 +878,7 @@ the account that answered. An agent can have its own list
A marked account is `"refusal": true` on it in `models.accounts`.

**Members have their own lists.** A member of your hub sees Settings >
Models > Refusal fallback and Usage fallback too, with their own lists:
Advanced > Refusal fallback and Limit fallback too, with their own lists:
models only, and only models they can call (their own keys and plans, or a
hub key you granted them). The hub refuses a model they cannot call when
they save, and skips one at run time when a grant or plan is gone. Their
Expand All @@ -894,7 +894,7 @@ reset, so the next window starts at once. The idea comes from
[Lamplighter](https://github.com/PosvdM/cpa-plugin-lamplighter), a plugin
for CLIProxyAPI.

Turn it on per account under **Settings > Models > Accounts**: each signed in
Turn it on per account under **Settings > Advanced > Accounts**: each signed in
plan has a **Window starter** switch, off by default. Some providers limit
automated use of subscription accounts. This sends one tiny request per
window. Use at your own risk.
Expand All @@ -908,7 +908,7 @@ window. Use at your own risk.
page lists these requests as **Window starter**.
- **Which account.** The request must reach that account alone. With one
account per vendor that is automatic. With two or more, give each one a
short name in **Settings > Models > Accounts** (for example `neu`);
short name in **Settings > Advanced > Accounts** (for example `neu`);
without one the row says it cannot reach the account alone.
- **When it stops.** A 429, a failed sign-in, a model the plan refuses, or a
window that does not start stop it for that account until the next day,
Expand Down Expand Up @@ -1879,12 +1879,12 @@ their own computer with their own login, so they need nothing from you.
### Their own plans

A person can sign in their own Claude, ChatGPT or other plan: **Settings >
Models > Subscriptions** on their account, the same page as yours (section 4)
AI connections > Subscriptions** on their account, the same page as yours (section 4)
without the program, its version, its path or how the hub reaches it. If their
CLIProxyAPI stopped with an error, they can retry it there. The first sign-in
starts a CLIProxyAPI for them alone, run by the hub like yours, on `127.0.0.1`, in
`~/.conclave/accounts/<id>/cliproxy`. Its keys are in their own `secrets.json`
there. **Settings > Models > Accounts** shows their plans, their order and
there. **Settings > Advanced > Accounts** shows their plans, their order and
their limits. Their `cliproxy/<model>` calls use their own plan when it has
the model, and your plans only if you let them use CLIProxyAPI (above). A call
that started on their plan stays on it and never moves to yours. The window
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ private fun ModelRow(
selected = selected,
vision = peeked && r.model.vision,
pinned = pinned,
onPin = onPin?.takeIf { why == null && (peeked || pinned) },
// a pinned model the plan now refuses keeps its pin, so it can be unpinned
onPin = onPin?.takeIf { pinned || (why == null && peeked) },
enabled = why == null,
warn = why != null,
onLongClick = onPeek?.takeIf { why == null },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,11 @@ object PickerTabs {

/**
* What the list shows under the search and the tabs: Pinned (the pins in
* this tab, most capable first), Recent (the last three in this tab, pins
* left out), then the tab's models by maker (in [entries]' order) and
* family, strongest family first, newest first inside. A search lists the
* matches of every tab, most capable first, with no Pinned or Recent.
* this tab, most capable first, a model not available too), Recent (the
* last three in this tab, pins left out), then the tab's models by maker
* (in [entries]' order) and family, strongest family first, newest first
* inside. A search lists the matches of every tab, most capable first,
* with no Pinned or Recent.
* [recent] holds refs the picker already mapped to their rows.
*/
fun items(entries: List<Entry>, query: String, tab: Tab, pinned: List<String> = emptyList(), recent: List<String> = emptyList(), unavailable: Boolean = false): List<Item> {
Expand All @@ -171,7 +172,8 @@ object PickerTabs {
val inTab = entries.filter { tab == Tab.ALL || it.tab == tab }.sortedWith(byRank)
if (inTab.isEmpty()) return emptyList()
val (off, ranked) = inTab.partition { it.row.model.unavailable != null }
val pins = ranked.filter { it.row.ref in pinned }
// a pin the plan now refuses stays in Pinned, marked, so it can be unpinned (as on the web)
val pins = inTab.filter { it.row.ref in pinned }
val recents = recent.distinct().mapNotNull { ref -> ranked.firstOrNull { it.row.ref == ref } }.filter { it.row.ref !in pinned }.take(3)
val out = mutableListOf<Item>()
if (pins.isNotEmpty()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ object StarterWords {
"stopped" -> "Stopped until ${s.until?.let { until(it, now, zone) } ?: "tomorrow"}: ${s.reason ?: "error"}."
"paused" -> "Paused: weekly limit used up${s.until?.let { " until ${at(it, now, zone)}" } ?: ""}."
"never" -> "This plan has no 5-hour window, so there is nothing to start."
"setup" -> if (s.reason == "Cannot pin a request to it") "Cannot reach this account alone. Give it a short name in Settings > Models > Accounts." else "${s.reason ?: "Cannot run as set"}."
"setup" -> if (s.reason == "Cannot pin a request to it") "Cannot reach this account alone. Give it a short name in Settings > Advanced > Accounts." else "${s.reason ?: "Cannot run as set"}."
"waiting" -> when (s.reason) {
"No usage read yet" -> "Waiting for the first usage read."
"Account paused" -> "Waits while the account is paused."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,21 @@ class PickerTabsTest {
assertEquals(listOf("ollama/gemma-3"), refs(local, Section.RECENT))
}

@Test
fun aPinnedModelThePlanRefusesStaysInPinned() {
val refused = ModelInfo(id = "claude-mythos-5-1", ref = "anthropic/claude-mythos-5-1", provider = "anthropic", name = "Claude Mythos 5.1", unavailable = "Your plan refused it (HTTP 404)")
val withRefused = PickerTabs.entries(ModelPicks.groups(listOf(g("anthropic", refused, m("anthropic", "claude-opus-5-5", "Claude Opus 5.5")))))
val items = PickerTabs.items(withRefused, "", Tab.ALL, pinned = listOf("anthropic/claude-mythos-5-1"))
// still under Pinned, marked unavailable, so its pin can be removed; the fold still counts it
assertEquals("Pinned", heads(items).first())
assertEquals(listOf("anthropic/claude-mythos-5-1"), refs(items, Section.PIN))
val pin = items.filterIsInstance<Item.Model>().first { it.section == Section.PIN }
assertEquals("Your plan refused it (HTTP 404)", pin.entry.row.model.unavailable)
assertEquals(Item.Fold(PickerTabs.NOT_AVAILABLE, 1, open = false), items.last())
// unpinning it frees its place
assertEquals(emptyList<String>(), PickerTabs.togglePin(listOf("anthropic/claude-mythos-5-1"), "anthropic/claude-mythos-5-1"))
}

@Test
fun aSearchSpansEveryTabWithNoPinnedOrRecent() {
val found = PickerTabs.items(entries, "claude", Tab.LOCAL, pinned = listOf("anthropic/claude-haiku-5"), recent = listOf("anthropic/claude-opus-5-5"))
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/assistant/recap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ function basicSuggestions(d: { repeat?: SessionRow[]; unprojected: number; lateN
if (d.repeat) out.push({ text: 'Turn this repeated request into a routine or a skill.', why: `You opened ${d.repeat.length} sessions the same way, like "${d.repeat[0]!.title}".` });
if (d.unprojected >= 6) out.push({ text: 'Start a project for the topic you keep coming back to, so the context carries over.', why: `${d.unprojected} chats had no project.` });
if (d.corrections >= 5) out.push({ text: 'Save the corrections you repeat as notes, so you stop giving them.', why: `You corrected the agent ${d.corrections} times.` });
if (d.fallbacks >= 10) out.push({ text: 'Add a second account or change the model order in Settings, Accounts.', why: `${d.fallbacks} turns fell back to another model when a plan hit its limit.` });
if (d.fallbacks >= 10) out.push({ text: 'Add a second account or change the model order in Settings > Advanced > Accounts.', why: `${d.fallbacks} turns fell back to another model when a plan hit its limit.` });
if (d.lateNightShare >= 0.2 && d.messages >= 20) out.push({ text: 'Set quiet hours so nothing pulls you back late.', why: `${Math.round(d.lateNightShare * 100)}% of your messages came between 23:00 and 05:00.` });
return out.slice(0, 4);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/config/hidden.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ export function isHiddenModel(cfg: Pick<ConclaveConfig, 'models'>, ref: string):

/** What a caller says when it meets a hidden model. */
export function hiddenWords(ref: string): string {
return `Model ${ref} is hidden by models.hidden (Settings > Models > Hidden models). Pick another model, or remove it from that list.`;
return `Model ${ref} is hidden by models.hidden (Settings > AI connections > Defaults, Hidden models). Pick another model, or remove it from that list.`;
}
2 changes: 1 addition & 1 deletion packages/core/src/engine/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ export class Engine implements EngineApi {
const { refusalPlanFor } = await import('../session/member-fallbacks');
// a member's session walks the member's own list, never the owner's
const plan = refusalPlanFor(this, s.accountId, this.agentFor(s));
if (!plan) throw new EngineError(409, isMember(s.accountId) ? 'Your Refusal fallback has no models you can use. Add them in Settings, Models.' : 'Refusal fallback has no models, and no plan is marked to use when a model refuses. Add them in Settings, Models.');
if (!plan) throw new EngineError(409, isMember(s.accountId) ? 'Your Refusal fallback has no models you can use. Add them in Settings > Advanced > Refusal fallback.' : 'Refusal fallback has no models, and no plan is marked to use when a model refuses. Add them in Settings > Advanced > Refusal fallback.');
const served = servedOf(reply);
if (!served) throw new EngineError(409, 'Conclave does not know which model refused this reply.');
const next = new RefusalWalk(this, s, plan, refusalStepOf(reply)).next(served);
Expand Down
6 changes: 3 additions & 3 deletions packages/core/src/images/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ export async function generateImageFor(deps: ImageDeps, call: ImageCall): Promis
const ref = imageModelOf(cfg, call.model);
const { provider: pid, model } = parseModelRef(ref);
if (!pid || !model) throw new ImageRefusal(`"${ref}" is not a provider/model reference.`);
if (!IMAGE_MODEL.test(model)) throw new ImageRefusal(`${ref} is not an image model. Pick one in Settings > Models > Image model.`);
if (!IMAGE_MODEL.test(model)) throw new ImageRefusal(`${ref} is not an image model. Pick one in Settings > AI connections > Defaults, Image model.`);
const member = isMember(call.accountId);
if (member && deps.access.source(call.accountId, pid, model) !== 'own') {
throw new ImageRefusal(`You have no plan or API key of your own for ${ref}. Images are made only on your own plans or keys, never the hub owner's. Sign in a ChatGPT plan in Settings > Accounts or add your own key for ${pid}.`);
throw new ImageRefusal(`You have no plan or API key of your own for ${ref}. Images are made only on your own plans or keys, never the hub owner's. Sign in a ChatGPT plan in Settings > AI connections > Subscriptions or add your own key for ${pid}.`);
}
const provider = deps.providersFor(call.accountId).get(pid);
if (!provider) throw new ImageRefusal(`Provider "${pid}" is not set up. Add it in Settings > Providers.`);
if (!provider.generateImage) throw new ImageRefusal(`Provider "${pid}" cannot make images. Pick an OpenAI-compatible image model in Settings > Models > Image model.`);
if (!provider.generateImage) throw new ImageRefusal(`Provider "${pid}" cannot make images. Pick an OpenAI-compatible image model in Settings > AI connections > Defaults, Image model.`);
const started = Date.now();
const { accountId, sessionId, model: _m, ...req } = call;
const result = await provider.generateImage({ ...req, model });
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/machine/private.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export function isHubPrivatePath(path: string): boolean {
return r !== p && (within(r, dirs.map((d) => clean(real(d)))) || inAccountPrivate(r));
}

export const PRIVATE_REFUSAL = 'Refused: that folder holds the hub\'s subscription sign-ins (CLIProxyAPI). Sessions cannot read or change it. Settings > Models > Subscriptions shows the accounts.';
export const PRIVATE_REFUSAL = 'Refused: that folder holds the hub\'s subscription sign-ins (CLIProxyAPI). Sessions cannot read or change it. Settings > AI connections > Subscriptions shows the accounts.';
export const SECRETS_REFUSAL = 'Refused: that file holds the hub\'s keys and tokens. Sessions cannot read or change it. Settings shows which keys are set.';

/** The refusal for a path or a command: the secrets file has its own words. */
Expand Down
Loading
Loading