Fix WASM tombstone for third-party cloud conversations#10778
Fix WASM tombstone for third-party cloud conversations#10778liliwilson wants to merge 3 commits into
Conversation
… convos Un-gate enrich_from_task and the AmbientAgentTask fetch from cfg(not(wasm)) so WASM builds fetch task metadata (title, credits, runtime, artifacts) the same way native builds do. The harness field assignment stays behind cfg(not(wasm)) since it's only used by the native-only Continue locally button. Co-Authored-By: Oz <oz-agent@warp.dev>
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR removes stale non-wasm gating so the shared-session tombstone can fetch AmbientAgentTask metadata in wasm and display task title, source/skill, runtime, credits, and artifacts for third-party cloud conversations. The desktop-only harness assignment remains behind a non-wasm cfg, and the PR includes before/after visual evidence for the user-visible change.
Concerns
- None identified.
Verdict
Found: 0 critical, 0 important, 0 suggestions
Approve
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
Description
Fix WASM tombstone showing "Agent task" and 0 credits for third-party cloud conversations.
The
enrich_from_taskmethod and theAmbientAgentTaskfetch were gated behind#[cfg(not(target_family = "wasm"))], so the WASM build never fetched task metadata. For non-Oz cloud runs (e.g. Claude Code) there's noAIConversation, so the tombstone fell back to defaults: "Agent task" title and 0 credits.All the underlying types were already on WASM, so AFAICT this gate is old and no longer needed.
Testing
Tested locally.
Before:

After:

Agent Mode
Conversation: https://staging.warp.dev/conversation/c24d6652-fcee-44b0-8afd-b74908cac971
Run: https://oz.staging.warp.dev/runs/019e1e55-e998-737d-aaec-39ef0ba131bd
This PR was generated with Oz.