Skip to content

codeaf app: key, provider, setup, conversation and crew fixes - #1843

Merged
ZeroPoint95 merged 3 commits into
app/v3from
zeropoint95/engine-app-fixes
Oct 16, 2026
Merged

ZeroPoint95 merged 3 commits into
app/v3from
zeropoint95/engine-app-fixes

Conversation

@ZeroPoint95

Copy link
Copy Markdown
Collaborator

Fixes and additions to codeaf app, the JSON-lines backend.

Keys and providers

  • A failed open for want of a key is tried again on the next call, so the call after keys.set works (it kept failing with OPENROUTER_API_KEY is required)
  • No provider connected: models.list answers []; a turn says no model provider is connected
  • providers.list offers all 10 first-run providers, each checked the way /connect checks it (regions, plans, addresses)
  • Codex is one account sign-in: it sends both kind: "browser" and auth_kind: "account", and keys.remove signs it out
  • config.ProveService is split out of ConnectService, so the terminal and the app share one check

Setup

  • Three steps, with any number of providers or none
  • A step saved by a four-step build resumes on its step

Conversations and crews

  • Blank conversations are never announced, listed or kept
  • Unknown agent times are left out (omitzero), never sent as 0001-01-01
  • Each reply of a carried-on turn is its own message; the carry-on lines are not entries
  • crews.propose uses a new side ask (Conversation.SideAsk): no turn, nothing in the chat
  • A crew member's own ask keeps it asking, named by its handle; a member that can't be opened is said once and retried

Files

  • New files.complete for @ path completion, using the folder browser's path rules

Docs

  • PROTOCOL.md, the manual's app section, and one change entry per fix (pr: 0, like the other app/v3 entries)

How to test:

  1. make pr-ready BASE=origin/app/v3
  2. go test -count=1 ./cmd/codeaf/ ./internal/appwire/ ./internal/config/ ./internal/manual/
  3. make build, then drive bin/codeaf app --home <scratch dir> over stdin: models.list before and after keys.set, providers.list, and files.complete {"path":"/usr/"}

🤖 Generated with Claude Code

ZeroPoint95 and others added 3 commits October 16, 2026 14:06
… wire times

- session and remote: Conversation.SideAsk asks the conversation's own model
  one question beside the chat, with no turn, no entries and nothing in the
  journal but its spend. IsCarryOnNotice is the one reading of the lines that
  send a turn back to work.
- config: ProveService is the requests half of ConnectService, so a key can be
  proved without the write; KeepAppSource keeps the proved row without a key.
  A vendored row may carry its own address (Source.AddressOwned).
- tui3: CompletePath and resolvePathAt, the folder browser's typed-path walk
  as one list, and ProviderCatalog, the first-run providers in order.
- appwire: files.complete, the provider connect shapes, and Agent times that
  are left out when unknown instead of sent as the zero time.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…iles.complete

- A process half that failed to open for want of a key is opened again on the
  next call, so the call after keys.set uses the key; a good open is kept.
- With no provider connected, models.list answers [] and a turn that cannot
  start says no model provider is connected.
- providers.list offers every provider the terminal's first-run screen does,
  each checked by the terminal's own requests (regions, plans, addresses).
  Codex is one account sign-in: kind browser and auth_kind account from one
  place, and keys.remove signs it out.
- Setup is three steps and takes any number of providers, or none; a step kept
  by a four-step build resumes on its step.
- Blank conversations are never announced, listed or kept; unknown agent times
  are left out.
- Each reply of a carried-on turn is its own message (an update only when its
  own tool call follows); the carry-on lines are not entries.
- crews.propose asks beside the chat (SideAsk), so only the proposal's ask
  shows. A crew member's own ask keeps it asking and names it by its handle;
  a member that cannot be opened is said once and retried on a widening wait.
- files.complete lists the folder a typed path names, for @.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The manual's app section says which providers the app connects and how, and
  that its day cap is the profile's daily limit.
- One change entry per fix, each saying what was true and what is true now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ZeroPoint95
ZeroPoint95 marked this pull request as ready for review October 16, 2026 18:21
@ZeroPoint95
ZeroPoint95 merged commit 6b95149 into app/v3 Oct 16, 2026
1 check passed
@ZeroPoint95
ZeroPoint95 deleted the zeropoint95/engine-app-fixes branch October 16, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant