Repository navigation
feat(native): complete Wave 1C transcript messages, plan, secret/link, and lifecycle parity - #358
Merged
Merged
Conversation
…, and lifecycle parity
Fixes all 6 review findings on PR #358: LinkRequestCard async Tokio spawn & URL-less/manual machine handling, Codex directive parsing across all assistant messages + Use template composer insertion, find_active_proposed_plan fallback + composer submit ordering/rollback guards, WorkflowOpeningCard styling/telemetry/Open automation navigation + unsent file download button, and subagent group/fork labels plus LEDGER formatting. Model: Claude / Antigravity
…an-notices # Conflicts: # apps/native/crates/app/src/settings/mod.rs # apps/native/crates/app/src/settings/scheduled_tasks.rs
Maps cancelled secret/link requests to Request ended, prevents empty-URL link submissions and starts URL-addressed link requests in address mode, detects pasted-text attachments via source._tag == pasted-text, resolves missing handoff endpoint models from run_id and runs, and aligns proposed plan collapsed preview (10 lines) and filename punctuation stripping. Model: Claude / Antigravity
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the remaining parity gaps across Wave 1C (
TR-USER,TR-ASSISTANT,TR-PLAN,TR-SECRET,TR-LIFECYCLE) and marks those rowsdoneinapps/native/parity/LEDGER.md.Ref #244
Summary
TR-USER: Added fresh-session dividers (freshContext), model-switch change dividers (handling"thinking"+ omitting single-sided effort changes), workflow opening cards (WorkflowOpeningCardwithout outer card wrapper, with coordinator title, agent counts, phases, provider icon avatars, live/final elapsed timers, clickable members, and collapsible workflow script), collapsibleAutomation(Open automationopening Settings → Scheduled tasks and selecting the task editor whentask_idis known) andAgent(Open thread) attribution headers, file/pasted-text (source._tag == "pasted-text") and audio cards (UserFileCard"Sending…"unsent state + disabled Download button + separate download action,body_text_without_attachment_refsattachment-only check, and attachment chip dedupe), rich context chip popovers, sending/error states, cleaned copy/rewind payloads (preservingdisplay_textprompt links), and preserved Codex markdown directives (t3-cite:/t3-file:/t3-command:) on copy.TR-ASSISTANT& Changed Files: Added transient 2-second check confirmation onCopyButton(MessageCopyButton), Codex directive rewriting (:codex-file-citation/:codex-followup) across all assistant messages plus::artifact-templatecards with working"Use template"composer insertion (composer::insert_artifact_template), extension-aware file icons, UTF-8-safe middle truncation, and native right-click context menu (Open diff,Open file,Copy path,Copy mention,Add to chat) on changed file rows, gating turn meta (clock,copy) until settled.TR-PLAN: Added plan title extraction, 10 non-whitespace line collapsed preview markdown (DEFAULT_COLLAPSED_PLAN_PREVIEW_LINES = 10) and filename punctuation stripping matchingproposedPlan.ts,Streaming...state,Copy to clipboard/Download as markdown/ inlineSave to workspace(filesystem:writedisabled menu item & Save button when lacking permission),find_active_proposed_planfallback across earlier settled runs,ComposerPlanFollowUpBannergated by!can_resume || has_text, and plan follow-up submission flow (submit()ordering so terminal sends &/plan//defaultslash commands run before draft-text plan follow-ups,!self.sending/!resolved.plan_enabledguards,interaction_moderestore, and awaitedthread.deleterollback on multi-step launch failure).TR-SECRET: Gated pendingSecretRequestCardandLinkRequestCardstrictly onVisibility::Local(rendering read-onlyPendingElsewherenotice rows for inherited turns), mapped"cancelled"secret/link statuses to"Request ended", sanitized RPC errors viasanitize_secret_request_error/sanitize_link_request_error, merged cloud relay discovery candidates with saved environments (refresh_cloud, retaining URL-less relay candidates while routing URL-less machines without an existing link to address entry solinknever submits emptyurls: []), openeddefault_environment_id == None && default_url != Nonerequests in address mode (manual_mode: true), rant3_client::auth::post_accesson the Tokioapp.runtime()handle rather than blocking GPUI background threads, exposed all 5LINK_ACCESS_LEVELSmodes + full descriptions, disabled machine action buttons while loading/submitting, and fixedlink_request_displayargument ordering.TR-LIFECYCLE: Added running-onlySubagentLiveElapsedtimer,ProviderIconavatars and overlapping+Navatar stack on grouped subagents,SubagentGroupSummarywording (Kicked off/Ran N subagents · working · done · failed · stopped · idle),resolve_handoff_endpointsrun/ordinal fallback fromitem.run_idandprojection.runs, expandableHandoffCardsummary/endpoints, interactiveForkdivider (Open fork), and"Open chat"links on subagent/delegated-task notifications.Verification
cargo clippy --workspace --all-targets -- -D warnings(clean)cargo check -p t3-native --features snapshot(clean)cargo test -p t3-core -p t3-client:t3-client105 passed;t3-core1330 unit + 8 conformance passedcargo test -p t3-native:transcript::27 passed,composer::6 passed,settings::3 passed,thread_details::6 passednode apps/native/scripts/gen-theme.ts --check,node --test apps/native/parity/sync.test.ts(42/42),node apps/native/conformance/generate.ts --check,vp fmt --check apps/native/parity/LEDGER.md apps/native/conformance/builders.tsDark (
1440x900)Light (
1440x900)Delegated Task Notice + Transcript Detail (
1440x900)Antigravity (
tr-author)