- host-regressions now also runs `pnpm --filter @cindy/host typecheck` once (on
Linux; types are platform independent) inside the change-selected job that
verify already requires. A shared desktop body that gains a port wired only
in the desktop assembly passes the desktop checks but is caught here instead
of at runtime in the Host.
- architecture-invariants §5 records the convention for bodies shared by the
desktop and the Node Host: no direct Electron dependency, desktop assembly
in *.desktop.ts, factory port injection, wire a new dependency into both
launchers, run the Host test and typecheck. AGENTS.md and the dev-rules
README point to it.
- headless-runtime-plan.md: the merged batches no longer say "local,
unpublished".
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(desktop): preserve standalone window bounds across sidebar resizing
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(desktop): keep Snap detection and off-screen restore correct with sidebar open
Address review: persistence view keeps real window for Snap/work-area fill
detection (own expansion is not a fill); closing the sidebar places the
saved rectangle back inside the work area if its display went away; sync
desktop-development rules with the restore behaviour.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
* fix(desktop): restore sidebar baseline on its own display
Judge the saved rectangle against the display it belongs to, so a window
moved to another connected display still returns to where it was; only a
removed or shrunk display relocates it.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
---------
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Main changed the Pi catalog upstream selection in pi-host.ts, which this PR
moved to pi-native-catalog.ts; the same change is applied there.
fix(host): forward the coordinator's authorization inputs on send and steer
The executor rebuilt the Session send options and dropped the protected
auto-review source content, so a message with expanded references fell back
to the full expanded body and quoted pages or plugin resources counted as the
user's own words in Auto mode. Steer called the Session with no options at
all. Both now pass the source content, the restored intent and the delegated
marker (an MCP App message grants nothing).
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Bring in the built-in Skill bundle version 91 fix from main. Preserve the existing account recovery changes.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
Keep explicit task links in the expanded island and lock-screen presentation. Route stale activity taps home and preserve the installed app scheme.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Avoid inheriting supportsMidConvoEffort from manufacturer fallback onto unrelated Anthropic relays. Preserve endpoint and explicit preset/native declarations, and cover real Pi requests for medium, low and high.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: DavidShen <david@xd.com>
The speed panel counted streamed text with a word estimate that was only
replaced by real usage when a Claude Code turn ended, so a running turn showed
20-50% of its real output and average, and the curve dropped to zero after
every stretch of thinking. Codex divided each response by its model time
including the wait for the first byte and produced one reading per response;
Pi started its clock when the request was sent and showed a reply in flight at
about 45% of its output.
All three now share one meter:
- the clock runs from a request's first byte; waits, tools and approvals are
not generation time
- each request's reported usage (with its thinking/reasoning count) replaces
the stream estimate and calibrates the next one
- thinking is counted from its summary, from provider token estimates, or by
its learned pace when it streams nothing
- output generated before the first byte is credited time at the measured
speed instead of inflating it
Recorded Claude Code and Codex turns, reduced to timing and sizes, are kept as
fixtures; scripts/token-speed-capture.ts records new ones and
scripts/token-speed-replay.ts compares what the panel shows with real usage.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>