Carry checked schedule definitions through the existing caller scope and shared scheduler dependency into the native execution precondition. Cover concurrent script changes and the existing remote argument contract while preserving Agent behavior.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: liugaowei <liugaowei@xd.com>
Keep Electron attachment dependencies in the composition root and project new remote history results through source visibility checks. Page teammate metadata, batch subscribed events, and deduplicate receipt IO only within synchronous request segments.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: liugaowei <liugaowei@xd.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>
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>
Preserve upstream behavior while sharing platform-independent runtime services.
Repair eager desktop port capture and settle silent startup owner boundaries.
Keep the ongoing headless work local; full confirmation is recorded separately.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>
Preserve the implemented task, Device Link, plugin and model runtime work locally before integrating main. Full multi-client, automation and platform acceptance remains incomplete.
Assisted-by: Cindy (https://cindy.app)
Signed-off-by: Dash <125997726+dashhuang@users.noreply.github.com>