Skip to content

Fix WASM tombstone for third-party cloud conversations#10778

Open
liliwilson wants to merge 3 commits into
masterfrom
oz-agent/fix-wasm-tombstone-third-party
Open

Fix WASM tombstone for third-party cloud conversations#10778
liliwilson wants to merge 3 commits into
masterfrom
oz-agent/fix-wasm-tombstone-third-party

Conversation

@liliwilson
Copy link
Copy Markdown
Contributor

@liliwilson liliwilson commented May 12, 2026

Description

Fix WASM tombstone showing "Agent task" and 0 credits for third-party cloud conversations.

The enrich_from_task method and the AmbientAgentTask fetch 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 no AIConversation, 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:
image

After:
image

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI 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.

… 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>
@cla-bot cla-bot Bot added the cla-signed label May 12, 2026
@liliwilson liliwilson marked this pull request as ready for review May 12, 2026 23:32
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 12, 2026

@liliwilson

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 /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@liliwilson liliwilson requested a review from seemeroland May 12, 2026 23:37
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant