diff --git a/mobile/rpc-foundation/goldens/aivault-history-screen-listed.json b/mobile/rpc-foundation/goldens/aivault-history-screen-listed.json index 7fbb552d78f..4690419c5bd 100644 --- a/mobile/rpc-foundation/goldens/aivault-history-screen-listed.json +++ b/mobile/rpc-foundation/goldens/aivault-history-screen-listed.json @@ -35,70 +35,6 @@ "startedAt": 0 } }, - "0ddf5d4952fd": { - "name": "aiVault.listSessions#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "issues": [], - "sessions": [ - { - "agent": "claude", - "branch": "feature", - "codexHome": { - "$rpc": "null" - }, - "createdAt": "2025-12-31T23:00:00.000Z", - "cwd": "/repo/feature", - "executionHostId": "local", - "filePath": "/repo/feature/.claude/sess-1.jsonl", - "id": "s1", - "messageCount": 4, - "model": "opus", - "modifiedAt": "2025-12-31T23:30:00.000Z", - "previewMessages": [ - { - "role": "user", - "text": "fix it", - "timestamp": "2025-12-31T23:00:00.000Z" - } - ], - "sessionId": "sess-1", - "title": "Fix the explorer", - "totalTokens": 1200, - "updatedAt": "2025-12-31T23:30:00.000Z" - } - ] - } - } - } - }, "222a3ba1d974": { "name": "worktree.ps#1", "ordinal": 3, @@ -144,26 +80,43 @@ } } }, - "40fa6811eb00": { - "name": "streams-registered-at-teardown", - "ordinal": 10, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, "4d68bff46cff": { "name": "status.get#1", "ordinal": 4, "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" }, - "613355526cb5": { + "595e6c3bbfed": { "name": "aiVault.listSessions#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + "ordinal": 7, + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + }, + "6cd39311d5ec": { + "name": "aiVault.listSessions#1", + "ordinal": 6, + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } }, "7368414c8786": { "name": "worktree.ps#1", @@ -207,72 +160,16 @@ "labels": ["Back", "Refresh agent sessions"], "text": ["Agent Session History", "orca-history", "Loading agent sessions…"] }, - "7a008ca8521f": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - } - }, - "98d7022b1300": { - "name": "aiVault.listSessions#1", + "7e8b2964ad63": { + "name": "streams-registered-at-teardown", "ordinal": 8, - "args": [ + "value": [ { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } + "cancelled": false, + "method": "agentSession.subscribeStatus", + "payload": "agentSession.subscribeStatus#1" } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "a26eb8ffaa7c": { - "name": "status.get#2", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + ] }, "acf501fa9958": { "name": "status.get#1", @@ -338,6 +235,70 @@ ], "text": ["Agent Session History", "orca-history", "Workspace", "Project", "All"] }, + "c630476f4fd3": { + "name": "aiVault.listSessions#1", + "ordinal": 6, + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-4", + "ok": true, + "result": { + "issues": [], + "sessions": [ + { + "agent": "claude", + "branch": "feature", + "codexHome": { + "$rpc": "null" + }, + "createdAt": "2025-12-31T23:00:00.000Z", + "cwd": "/repo/feature", + "executionHostId": "local", + "filePath": "/repo/feature/.claude/sess-1.jsonl", + "id": "s1", + "messageCount": 4, + "model": "opus", + "modifiedAt": "2025-12-31T23:30:00.000Z", + "previewMessages": [ + { + "role": "user", + "text": "fix it", + "timestamp": "2025-12-31T23:00:00.000Z" + } + ], + "sessionId": "sess-1", + "title": "Fix the explorer", + "totalTokens": 1200, + "updatedAt": "2025-12-31T23:30:00.000Z" + } + ] + } + } + } + }, "e28c488ce6b2": { "name": "agentSession.subscribeStatus#1", "ordinal": 1, @@ -370,14 +331,8 @@ { "id": "worktrees-listed", "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["acf501fa9958", "222a3ba1d974", "6cd39311d5ec"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "595e6c3bbfed"], "settlements": { "mount": "eb79a9b3682a" }, @@ -388,14 +343,8 @@ { "id": "ready", "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "0ddf5d4952fd"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["acf501fa9958", "222a3ba1d974", "c630476f4fd3"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "595e6c3bbfed"], "settlements": { "mount": "eb79a9b3682a" }, @@ -406,19 +355,13 @@ { "id": "cleanup", "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "0ddf5d4952fd"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["acf501fa9958", "222a3ba1d974", "c630476f4fd3"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "595e6c3bbfed"], "settlements": { "mount": "eb79a9b3682a" }, "state": "b7a7af14c8a5", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } } ] diff --git a/mobile/rpc-foundation/goldens/aivault-history-screen-worktrees.json b/mobile/rpc-foundation/goldens/aivault-history-screen-worktrees.json index f7e4c0ed286..d6c3922fced 100644 --- a/mobile/rpc-foundation/goldens/aivault-history-screen-worktrees.json +++ b/mobile/rpc-foundation/goldens/aivault-history-screen-worktrees.json @@ -80,26 +80,77 @@ } } }, - "40fa6811eb00": { - "name": "streams-registered-at-teardown", - "ordinal": 10, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, "4d68bff46cff": { "name": "status.get#1", "ordinal": 4, "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" }, - "613355526cb5": { + "4f7d48d96db6": { "name": "aiVault.listSessions#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + "ordinal": 6, + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "595e6c3bbfed": { + "name": "aiVault.listSessions#1", + "ordinal": 7, + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + }, + "6cd39311d5ec": { + "name": "aiVault.listSessions#1", + "ordinal": 6, + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } }, "7368414c8786": { "name": "worktree.ps#1", @@ -143,106 +194,16 @@ "labels": ["Back", "Refresh agent sessions"], "text": ["Agent Session History", "orca-history", "Loading agent sessions…"] }, - "79fc75a7b709": { - "name": "aiVault.listSessions#1", + "7e8b2964ad63": { + "name": "streams-registered-at-teardown", "ordinal": 8, - "args": [ + "value": [ { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } + "cancelled": false, + "method": "agentSession.subscribeStatus", + "payload": "agentSession.subscribeStatus#1" } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "7a008ca8521f": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - } - }, - "98d7022b1300": { - "name": "aiVault.listSessions#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "a26eb8ffaa7c": { - "name": "status.get#2", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + ] }, "acf501fa9958": { "name": "status.get#1", @@ -310,14 +271,8 @@ { "id": "worktrees-listed", "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["acf501fa9958", "222a3ba1d974", "6cd39311d5ec"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "595e6c3bbfed"], "settlements": { "mount": "eb79a9b3682a" }, @@ -328,19 +283,13 @@ { "id": "cleanup", "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["acf501fa9958", "222a3ba1d974", "4f7d48d96db6"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "595e6c3bbfed"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } } ] diff --git a/mobile/rpc-foundation/goldens/lifecycle-settings-task-hydration-fulfilled.json b/mobile/rpc-foundation/goldens/lifecycle-settings-task-hydration-fulfilled.json index b751e41b8a6..1a2f8509ec5 100644 --- a/mobile/rpc-foundation/goldens/lifecycle-settings-task-hydration-fulfilled.json +++ b/mobile/rpc-foundation/goldens/lifecycle-settings-task-hydration-fulfilled.json @@ -31,31 +31,10 @@ "ordinal": 71, "value": false }, - "0d339fb4105d": { - "name": "status.get#2", - "ordinal": 95, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } + "0e499c129c98": { + "name": "linear.status#2", + "ordinal": 106, + "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, "0ea401395d98": { "name": "showLinearTeamPicker", @@ -118,6 +97,32 @@ "ordinal": 55, "value": "items" }, + "1a02b4462b12": { + "name": "ui.get#2", + "ordinal": 77, + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "1a1091da11b2": { "name": "githubProjectSettings", "ordinal": 61, @@ -137,6 +142,16 @@ "$rpc": "null" } }, + "1d4abbb66484": { + "name": "error", + "ordinal": 74, + "value": "" + }, + "1e51382afe6a": { + "name": "settings.get#2", + "ordinal": 103, + "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" + }, "1f343058c9bd": { "name": "tasksSupportState", "ordinal": 45, @@ -217,6 +232,32 @@ "$rpc": "null" } }, + "2b5e67ea37a1": { + "name": "jira.status#2", + "ordinal": 75, + "args": [ + { + "name": "method", + "value": "jira.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "2bf05835527f": { "name": "showLinearFilterPicker", "ordinal": 11, @@ -254,6 +295,11 @@ "$rpc": "null" } }, + "3125436de9ed": { + "name": "error", + "ordinal": 96, + "value": "" + }, "3139adc620ea": { "name": "showGitHubIssueSourcePicker", "ordinal": 78, @@ -297,6 +343,16 @@ "ordinal": 50, "value": [] }, + "3a0e9b60e4a3": { + "name": "ui.get#2", + "ordinal": 103, + "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" + }, + "3bd7c61b9cf1": { + "name": "linear.status#2", + "ordinal": 105, + "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" + }, "3c1ccd28dd45": { "name": "tasksSupportState", "ordinal": 67, @@ -305,11 +361,42 @@ "kind": "unknown" } }, + "3c5050a20165": { + "name": "preflight.check#2", + "ordinal": 83, + "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" + }, "3c66c971fe96": { "name": "showGitHubProjectViewPicker", "ordinal": 17, "value": false }, + "3ed578cb9bb2": { + "name": "linear.status#2", + "ordinal": 79, + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "3ee02a42363c": { "name": "linearStatusPickerItem", "ordinal": 89, @@ -322,11 +409,42 @@ "ordinal": 60, "value": "assigned" }, + "409493e14720": { + "name": "preflight.check#2", + "ordinal": 105, + "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" + }, "40f00017ad77": { "name": "linearWorkspaces", "ordinal": 48, "value": [] }, + "42338ab3de32": { + "name": "linear.status#2", + "ordinal": 101, + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "430c28cba43c": { "name": "taskStateHydrated", "ordinal": 64, @@ -344,11 +462,6 @@ "ordinal": 70, "value": false }, - "457d72be667a": { - "name": "status.get#2", - "ordinal": 74, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, "45cfb5ee97ea": { "name": "pendingHostedMerge", "ordinal": 25, @@ -388,11 +501,63 @@ "ordinal": 71, "value": false }, + "4fa5b7eb5bf2": { + "name": "settings.get#2", + "ordinal": 98, + "args": [ + { + "name": "method", + "value": "settings.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "4fbe108aa903": { "name": "taskStateHydrated", "ordinal": 44, "value": false }, + "51d5a652afac": { + "name": "jira.status#2", + "ordinal": 97, + "args": [ + { + "name": "method", + "value": "jira.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "54c8ecc069d2": { "name": "showGitHubKindPicker", "ordinal": 72, @@ -515,6 +680,32 @@ } } }, + "6f4a72761336": { + "name": "settings.get#2", + "ordinal": 76, + "args": [ + { + "name": "method", + "value": "settings.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "70561929d3fd": { "name": "showGitHubIssueSourcePicker", "ordinal": 79, @@ -527,6 +718,14 @@ "$rpc": "null" } }, + "73a642c07d9b": { + "name": "tasksSupportState", + "ordinal": 94, + "value": { + "client": "logical-client", + "kind": "supported" + } + }, "756c11d6e5bc": { "name": "settings.get#1", "ordinal": 40, @@ -565,6 +764,45 @@ "$rpc": "null" } }, + "79a5f04eb253": { + "name": "tasksSupportState", + "ordinal": 73, + "value": { + "client": "logical-client", + "kind": "supported" + } + }, + "79bf5f7157fd": { + "name": "jira.status#2", + "ordinal": 102, + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" + }, + "7acb6f36820b": { + "name": "preflight.check#2", + "ordinal": 78, + "args": [ + { + "name": "method", + "value": "preflight.check" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "7b0ad7b958dd": { "name": "tasksSupportState", "ordinal": 2, @@ -583,6 +821,16 @@ "ordinal": 73, "value": false }, + "7e39671f9bf0": { + "name": "preflight.check#2", + "ordinal": 104, + "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" + }, + "7f73d657472d": { + "name": "jira.status#2", + "ordinal": 80, + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" + }, "8015a69c7774": { "name": "showGitLabFilterPicker", "ordinal": 10, @@ -627,6 +875,11 @@ "ordinal": 53, "value": ["github", "linear"] }, + "8b46462eddbf": { + "name": "error", + "ordinal": 95, + "value": "" + }, "8cbc6b250510": { "name": "linear.status#1", "ordinal": 38, @@ -694,6 +947,16 @@ } } }, + "9144a8f60cdf": { + "name": "settings.get#2", + "ordinal": 102, + "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" + }, + "915a703682c1": { + "name": "ui.get#2", + "ordinal": 104, + "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" + }, "921ecca2c27f": { "name": "settings.get#1", "ordinal": 35, @@ -744,6 +1007,14 @@ "ordinal": 16, "value": false }, + "936719216ac6": { + "name": "tasksSupportState", + "ordinal": 95, + "value": { + "client": "logical-client", + "kind": "supported" + } + }, "93acc26335bc": { "name": "githubKind", "ordinal": 58, @@ -789,11 +1060,6 @@ "$rpc": "null" } }, - "99071500316d": { - "name": "status.get#2", - "ordinal": 95, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, "9a34a9d12765": { "name": "projectRepoNotInOrca", "ordinal": 85, @@ -828,6 +1094,11 @@ "ordinal": 33, "value": "" }, + "9d3d5635b31f": { + "name": "jira.status#2", + "ordinal": 101, + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" + }, "9d4725455b0a": { "name": "showGitHubKindPicker", "ordinal": 50, @@ -898,42 +1169,11 @@ "$rpc": "null" } }, - "ab2871bfa9d6": { - "name": "status.get#2", - "ordinal": 96, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, "ab4a6032b0e4": { "name": "jira.status#1", "ordinal": 39, "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" }, - "b49751e1ea2b": { - "name": "status.get#2", - "ordinal": 94, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, "b65cb4c89cdd": { "name": "showRepoPicker", "ordinal": 78, @@ -991,37 +1231,16 @@ "visibleTaskProviders": ["github", "linear"] } }, + "bb62d6c08dbb": { + "name": "linear.status#2", + "ordinal": 84, + "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" + }, "bbce658fe3f5": { "name": "showRepoPicker", "ordinal": 13, "value": false }, - "bbf974a0b129": { - "name": "status.get#2", - "ordinal": 73, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, "bc9d67f43e8f": { "name": "projectRepoNotInOrca", "ordinal": 63, @@ -1086,6 +1305,37 @@ "hydrated": false, "settings": {} }, + "cc8a04cdd0c3": { + "name": "settings.get#2", + "ordinal": 81, + "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" + }, + "ccc92dc7f00f": { + "name": "ui.get#2", + "ordinal": 99, + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "ce2eed5d8cfe": { "name": "showGitHubPagePicker", "ordinal": 79, @@ -1171,11 +1421,42 @@ "ordinal": 66, "value": false }, + "e2fcc78038d4": { + "name": "ui.get#2", + "ordinal": 82, + "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" + }, "e3c9f3bec076": { "name": "showLinearDisplayPicker", "ordinal": 48, "value": false }, + "e3e1b6e11f33": { + "name": "linear.status#2", + "ordinal": 100, + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "e47b8ac08908": { "name": "showGitLabFilterPicker", "ordinal": 53, @@ -1186,6 +1467,32 @@ "ordinal": 56, "value": "issues" }, + "e76652388f9e": { + "name": "settings.get#2", + "ordinal": 97, + "args": [ + { + "name": "method", + "value": "settings.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "e8f87b0e6441": { "name": "showLinearWorkspacePicker", "ordinal": 46, @@ -1204,6 +1511,58 @@ "$rpc": "undefined" } }, + "edd4e17af81d": { + "name": "jira.status#2", + "ordinal": 96, + "args": [ + { + "name": "method", + "value": "jira.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "eee98eb4ac71": { + "name": "preflight.check#2", + "ordinal": 99, + "args": [ + { + "name": "method", + "value": "preflight.check" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "f0130039609e": { "name": "showLinearFilterPicker", "ordinal": 76, @@ -1228,6 +1587,32 @@ "$rpc": "null" } }, + "f32bb203ee10": { + "name": "ui.get#2", + "ordinal": 98, + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "f46b6dfa6c69": { "name": "pendingProjectGitHubMerge", "ordinal": 91, @@ -1235,6 +1620,32 @@ "$rpc": "null" } }, + "f95bef8504db": { + "name": "preflight.check#2", + "ordinal": 100, + "args": [ + { + "name": "method", + "value": "preflight.check" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "fa4c2d4d3f46": { "name": "showGitLabViewPicker", "ordinal": 52, @@ -1513,7 +1924,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "bbf974a0b129" + "2b5e67ea37a1", + "6f4a72761336", + "1a02b4462b12", + "7acb6f36820b", + "3ed578cb9bb2" ], "payloads": [ "d1af3771ebfa", @@ -1522,7 +1937,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "457d72be667a" + "7f73d657472d", + "cc8a04cdd0c3", + "e2fcc78038d4", + "3c5050a20165", + "bb62d6c08dbb" ], "settlements": { "mount": "eb79a9b3682a", @@ -1590,7 +2009,9 @@ "8d11b3f2ba86", "9a7545d33585", "aaa2585734d1", - "43cb07780b39" + "43cb07780b39", + "79a5f04eb253", + "1d4abbb66484" ] } }, @@ -1722,7 +2143,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "bbf974a0b129" + "2b5e67ea37a1", + "6f4a72761336", + "1a02b4462b12", + "7acb6f36820b", + "3ed578cb9bb2" ], "payloads": [ "d1af3771ebfa", @@ -1731,7 +2156,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "457d72be667a" + "7f73d657472d", + "cc8a04cdd0c3", + "e2fcc78038d4", + "3c5050a20165", + "bb62d6c08dbb" ], "settlements": { "mount": "eb79a9b3682a", @@ -1799,7 +2228,9 @@ "8d11b3f2ba86", "9a7545d33585", "aaa2585734d1", - "43cb07780b39" + "43cb07780b39", + "79a5f04eb253", + "1d4abbb66484" ] } }, @@ -1931,7 +2362,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "bbf974a0b129" + "2b5e67ea37a1", + "6f4a72761336", + "1a02b4462b12", + "7acb6f36820b", + "3ed578cb9bb2" ], "payloads": [ "d1af3771ebfa", @@ -1940,7 +2375,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "457d72be667a" + "7f73d657472d", + "cc8a04cdd0c3", + "e2fcc78038d4", + "3c5050a20165", + "bb62d6c08dbb" ], "settlements": { "mount": "eb79a9b3682a", @@ -2008,7 +2447,9 @@ "8d11b3f2ba86", "9a7545d33585", "aaa2585734d1", - "43cb07780b39" + "43cb07780b39", + "79a5f04eb253", + "1d4abbb66484" ] } }, @@ -2140,7 +2581,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "bbf974a0b129" + "2b5e67ea37a1", + "6f4a72761336", + "1a02b4462b12", + "7acb6f36820b", + "3ed578cb9bb2" ], "payloads": [ "d1af3771ebfa", @@ -2149,7 +2594,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "457d72be667a" + "7f73d657472d", + "cc8a04cdd0c3", + "e2fcc78038d4", + "3c5050a20165", + "bb62d6c08dbb" ], "settlements": { "mount": "eb79a9b3682a", @@ -2217,7 +2666,9 @@ "8d11b3f2ba86", "9a7545d33585", "aaa2585734d1", - "43cb07780b39" + "43cb07780b39", + "79a5f04eb253", + "1d4abbb66484" ] } }, @@ -2349,7 +2800,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "bbf974a0b129" + "2b5e67ea37a1", + "6f4a72761336", + "1a02b4462b12", + "7acb6f36820b", + "3ed578cb9bb2" ], "payloads": [ "d1af3771ebfa", @@ -2358,7 +2813,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "457d72be667a" + "7f73d657472d", + "cc8a04cdd0c3", + "e2fcc78038d4", + "3c5050a20165", + "bb62d6c08dbb" ], "settlements": { "mount": "eb79a9b3682a", @@ -2426,7 +2885,9 @@ "8d11b3f2ba86", "9a7545d33585", "aaa2585734d1", - "43cb07780b39" + "43cb07780b39", + "79a5f04eb253", + "1d4abbb66484" ] } }, @@ -2558,7 +3019,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "bbf974a0b129" + "2b5e67ea37a1", + "6f4a72761336", + "1a02b4462b12", + "7acb6f36820b", + "3ed578cb9bb2" ], "payloads": [ "d1af3771ebfa", @@ -2567,7 +3032,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "457d72be667a" + "7f73d657472d", + "cc8a04cdd0c3", + "e2fcc78038d4", + "3c5050a20165", + "bb62d6c08dbb" ], "settlements": { "mount": "eb79a9b3682a", @@ -2635,7 +3104,9 @@ "8d11b3f2ba86", "9a7545d33585", "aaa2585734d1", - "43cb07780b39" + "43cb07780b39", + "79a5f04eb253", + "1d4abbb66484" ] } }, @@ -2767,7 +3238,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "bbf974a0b129" + "2b5e67ea37a1", + "6f4a72761336", + "1a02b4462b12", + "7acb6f36820b", + "3ed578cb9bb2" ], "payloads": [ "d1af3771ebfa", @@ -2776,7 +3251,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "457d72be667a" + "7f73d657472d", + "cc8a04cdd0c3", + "e2fcc78038d4", + "3c5050a20165", + "bb62d6c08dbb" ], "settlements": { "mount": "eb79a9b3682a", @@ -2844,7 +3323,9 @@ "8d11b3f2ba86", "9a7545d33585", "aaa2585734d1", - "43cb07780b39" + "43cb07780b39", + "79a5f04eb253", + "1d4abbb66484" ] } }, @@ -3018,7 +3499,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "b49751e1ea2b" + "edd4e17af81d", + "e76652388f9e", + "f32bb203ee10", + "eee98eb4ac71", + "e3e1b6e11f33" ], "payloads": [ "d1af3771ebfa", @@ -3027,7 +3512,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "99071500316d" + "9d3d5635b31f", + "9144a8f60cdf", + "3a0e9b60e4a3", + "7e39671f9bf0", + "3bd7c61b9cf1" ], "settlements": { "mount": "eb79a9b3682a", @@ -3116,7 +3605,9 @@ "1596b0b1539a", "1a6eaa1e667c", "76b481eb6526", - "b9e36a6f64a6" + "b9e36a6f64a6", + "73a642c07d9b", + "8b46462eddbf" ] } }, @@ -3290,7 +3781,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "b49751e1ea2b" + "edd4e17af81d", + "e76652388f9e", + "f32bb203ee10", + "eee98eb4ac71", + "e3e1b6e11f33" ], "payloads": [ "d1af3771ebfa", @@ -3299,7 +3794,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "99071500316d" + "9d3d5635b31f", + "9144a8f60cdf", + "3a0e9b60e4a3", + "7e39671f9bf0", + "3bd7c61b9cf1" ], "settlements": { "mount": "eb79a9b3682a", @@ -3388,7 +3887,9 @@ "1596b0b1539a", "1a6eaa1e667c", "76b481eb6526", - "b9e36a6f64a6" + "b9e36a6f64a6", + "73a642c07d9b", + "8b46462eddbf" ] } }, @@ -3564,7 +4065,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "0d339fb4105d" + "51d5a652afac", + "4fa5b7eb5bf2", + "ccc92dc7f00f", + "f95bef8504db", + "42338ab3de32" ], "payloads": [ "d1af3771ebfa", @@ -3573,7 +4078,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "ab2871bfa9d6" + "79bf5f7157fd", + "1e51382afe6a", + "915a703682c1", + "409493e14720", + "0e499c129c98" ], "settlements": { "mount": "eb79a9b3682a", @@ -3663,7 +4172,9 @@ "f46b6dfa6c69", "37d777b76138", "11f881adcdac", - "22c70de1df30" + "22c70de1df30", + "936719216ac6", + "3125436de9ed" ] } } diff --git a/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-platform-status.json b/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-platform-status.json index 9ab451b3825..d45fa468045 100644 --- a/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-platform-status.json +++ b/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-platform-status.json @@ -115,17 +115,6 @@ } } }, - "40fa6811eb00": { - "name": "streams-registered-at-teardown", - "ordinal": 10, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, "471bd606315a": { "name": "status.get#1", "ordinal": 2, @@ -165,6 +154,40 @@ "ordinal": 4, "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" }, + "4f7d48d96db6": { + "name": "aiVault.listSessions#1", + "ordinal": 6, + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, "51e670a85520": { "name": "status.get#1", "ordinal": 2, @@ -228,10 +251,38 @@ } } }, - "613355526cb5": { + "595e6c3bbfed": { "name": "aiVault.listSessions#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + "ordinal": 7, + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + }, + "6cd39311d5ec": { + "name": "aiVault.listSessions#1", + "ordinal": 6, + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } }, "7368414c8786": { "name": "worktree.ps#1", @@ -259,6 +310,17 @@ "startedAt": 0 } }, + "758b3fde1948": { + "name": "streams-registered-at-teardown", + "ordinal": 6, + "value": [ + { + "cancelled": false, + "method": "agentSession.subscribeStatus", + "payload": "agentSession.subscribeStatus#1" + } + ] + }, "7623e8b568b1": { "crash": { "$rpc": "null" @@ -275,74 +337,6 @@ "labels": ["Back", "Refresh agent sessions"], "text": ["Agent Session History", "orca-history", "Loading agent sessions…"] }, - "79fc75a7b709": { - "name": "aiVault.listSessions#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "7a008ca8521f": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - } - }, "7b715c94cd95": { "name": "status.get#1", "ordinal": 2, @@ -424,33 +418,43 @@ } } }, - "98d7022b1300": { - "name": "aiVault.listSessions#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } + "8502a1cdf759": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "CircleAlert": 1, + "Pressable": 3, + "RefreshCw": 1, + "SafeAreaView": 1, + "Text": 5, + "View": 8 + }, + "labels": ["Back", "Refresh agent sessions"], + "text": ["Agent Session History", "orca-history", "Unable to Load", "outer refused", "Retry"] + }, + "89ca6152d289": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "CircleAlert": 1, + "Pressable": 3, + "RefreshCw": 1, + "SafeAreaView": 1, + "Text": 5, + "View": 8 + }, + "labels": ["Back", "Refresh agent sessions"], + "text": [ + "Agent Session History", + "orca-history", + "Unable to Load", + "The host sent a reply this app could not read (status.get)", + "Retry" + ] }, "9b8c00f534c6": { "name": "status.get#1", @@ -550,10 +554,27 @@ } } }, - "a26eb8ffaa7c": { - "name": "status.get#2", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + "a1cee1ec8f4c": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "CircleAlert": 1, + "Pressable": 3, + "RefreshCw": 1, + "SafeAreaView": 1, + "Text": 5, + "View": 8 + }, + "labels": ["Back", "Refresh agent sessions"], + "text": [ + "Agent Session History", + "orca-history", + "Unable to Load", + "transport failure", + "Retry" + ] }, "a5e3c1935fd2": { "name": "status.get#1", @@ -624,37 +645,21 @@ } } }, - "ba8394a4ce03": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } + "c3d0a79c37c8": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "CircleAlert": 1, + "Pressable": 3, + "RefreshCw": 1, + "SafeAreaView": 1, + "Text": 5, + "View": 8 + }, + "labels": ["Back", "Refresh agent sessions"], + "text": ["Agent Session History", "orca-history", "Unable to Load", "Unknown method", "Retry"] }, "d302f4eada82": { "name": "status.get#1", @@ -693,11 +698,54 @@ } } }, + "ddc03a109a53": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "History": 1, + "Pressable": 2, + "RefreshCw": 1, + "SafeAreaView": 1, + "Text": 4, + "View": 8 + }, + "labels": ["Back", "Refresh agent sessions"], + "text": [ + "Agent Session History", + "orca-history", + "Agent Session History Unavailable", + "Update Orca on this host to browse agent session history." + ] + }, "e28c488ce6b2": { "name": "agentSession.subscribeStatus#1", "ordinal": 1, "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.subscribeStatus\",\"params\":{}}" }, + "e2d097a144bc": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "CircleAlert": 1, + "Pressable": 3, + "RefreshCw": 1, + "SafeAreaView": 1, + "Text": 5, + "View": 8 + }, + "labels": ["Back", "Refresh agent sessions"], + "text": [ + "Agent Session History", + "orca-history", + "Unable to Load", + "Something went wrong. Try again.", + "Retry" + ] + }, "eb79a9b3682a": { "status": "fulfilled", "startedAt": 0, @@ -705,6 +753,28 @@ "value": { "$rpc": "undefined" } + }, + "f975325adbf9": { + "crash": { + "$rpc": "null" + }, + "elements": { + "ChevronLeft": 1, + "CircleAlert": 1, + "Pressable": 3, + "RefreshCw": 1, + "SafeAreaView": 1, + "Text": 5, + "View": 8 + }, + "labels": ["Back", "Refresh agent sessions"], + "text": [ + "Agent Session History", + "orca-history", + "Unable to Load", + "Unable to reach host", + "Retry" + ] } }, "recording": { @@ -725,26 +795,20 @@ { "id": "aivault-history-screen-worktrees.prelude:cleanup", "observation": { - "sender": ["9b8c00f534c6", "222a3ba1d974", "ba8394a4ce03"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], + "sender": ["9b8c00f534c6", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] + "effects": ["758b3fde1948"] } }, { "id": "aivault-history-screen-worktrees.normal:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["acf501fa9958", "222a3ba1d974", "6cd39311d5ec"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "595e6c3bbfed"], "settlements": { "mount": "eb79a9b3682a" }, @@ -755,379 +819,253 @@ { "id": "aivault-history-screen-worktrees.normal:cleanup", "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["acf501fa9958", "222a3ba1d974", "4f7d48d96db6"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "595e6c3bbfed"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.result-absent:worktrees-listed", "observation": { - "sender": ["59290155f27a", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["59290155f27a", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", + "state": "89ca6152d289", "effects": [] } }, { "id": "aivault-history-screen-worktrees.result-absent:cleanup", "observation": { - "sender": ["59290155f27a", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["59290155f27a", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "state": "89ca6152d289", + "effects": ["758b3fde1948"] } }, { "id": "aivault-history-screen-worktrees.result-null:worktrees-listed", "observation": { - "sender": ["471bd606315a", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["471bd606315a", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", + "state": "89ca6152d289", "effects": [] } }, { "id": "aivault-history-screen-worktrees.result-null:cleanup", "observation": { - "sender": ["471bd606315a", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["471bd606315a", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "state": "89ca6152d289", + "effects": ["758b3fde1948"] } }, { "id": "aivault-history-screen-worktrees.inner-ok-missing:worktrees-listed", "observation": { - "sender": ["9efd8381401a", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["9efd8381401a", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", + "state": "ddc03a109a53", "effects": [] } }, { "id": "aivault-history-screen-worktrees.inner-ok-missing:cleanup", "observation": { - "sender": ["9efd8381401a", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["9efd8381401a", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "state": "ddc03a109a53", + "effects": ["758b3fde1948"] } }, { "id": "aivault-history-screen-worktrees.inner-false-string-error:worktrees-listed", "observation": { - "sender": ["7b715c94cd95", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["7b715c94cd95", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", + "state": "ddc03a109a53", "effects": [] } }, { "id": "aivault-history-screen-worktrees.inner-false-string-error:cleanup", "observation": { - "sender": ["7b715c94cd95", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["7b715c94cd95", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "state": "ddc03a109a53", + "effects": ["758b3fde1948"] } }, { "id": "aivault-history-screen-worktrees.inner-false-object-error:worktrees-listed", "observation": { - "sender": ["d302f4eada82", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["d302f4eada82", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", + "state": "ddc03a109a53", "effects": [] } }, { "id": "aivault-history-screen-worktrees.inner-false-object-error:cleanup", "observation": { - "sender": ["d302f4eada82", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["d302f4eada82", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "state": "ddc03a109a53", + "effects": ["758b3fde1948"] } }, { "id": "aivault-history-screen-worktrees.outer-refused:worktrees-listed", "observation": { - "sender": ["824e7d747f2a", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["824e7d747f2a", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", + "state": "8502a1cdf759", "effects": [] } }, { "id": "aivault-history-screen-worktrees.outer-refused:cleanup", "observation": { - "sender": ["824e7d747f2a", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["824e7d747f2a", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "state": "8502a1cdf759", + "effects": ["758b3fde1948"] } }, { "id": "aivault-history-screen-worktrees.outer-refused-no-message:worktrees-listed", "observation": { - "sender": ["a5e3c1935fd2", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["a5e3c1935fd2", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", + "state": "f975325adbf9", "effects": [] } }, { "id": "aivault-history-screen-worktrees.outer-refused-no-message:cleanup", "observation": { - "sender": ["a5e3c1935fd2", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["a5e3c1935fd2", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "state": "f975325adbf9", + "effects": ["758b3fde1948"] } }, { "id": "aivault-history-screen-worktrees.method-not-found:worktrees-listed", "observation": { - "sender": ["1675b1df2d81", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["1675b1df2d81", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", + "state": "c3d0a79c37c8", "effects": [] } }, { "id": "aivault-history-screen-worktrees.method-not-found:cleanup", "observation": { - "sender": ["1675b1df2d81", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["1675b1df2d81", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "state": "c3d0a79c37c8", + "effects": ["758b3fde1948"] } }, { "id": "aivault-history-screen-worktrees.transport-rejection:worktrees-listed", "observation": { - "sender": ["51e670a85520", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["51e670a85520", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", + "state": "a1cee1ec8f4c", "effects": [] } }, { "id": "aivault-history-screen-worktrees.transport-rejection:cleanup", "observation": { - "sender": ["51e670a85520", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["51e670a85520", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "state": "a1cee1ec8f4c", + "effects": ["758b3fde1948"] } }, { "id": "aivault-history-screen-worktrees.transport-rejection-no-message:worktrees-listed", "observation": { - "sender": ["9cfa291517f9", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["9cfa291517f9", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", + "state": "e2d097a144bc", "effects": [] } }, { "id": "aivault-history-screen-worktrees.transport-rejection-no-message:cleanup", "observation": { - "sender": ["9cfa291517f9", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["9cfa291517f9", "222a3ba1d974"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], "settlements": { "mount": "eb79a9b3682a" }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "state": "e2d097a144bc", + "effects": ["758b3fde1948"] } } ] diff --git a/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-status.get-2.json b/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-status.get-2.json deleted file mode 100644 index 6fcd9b6dd77..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-status.get-2.json +++ /dev/null @@ -1,1124 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "aiVault.history-screen", - "family": "aiVault.history-screen", - "namedDeltas": [], - "values": { - "0180d22edc2e": { - "name": "worktree.ps#1", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "03106dceb986": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "14d0e2ecb181": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "222a3ba1d974": { - "name": "worktree.ps#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktrees": [ - { - "path": "/repo/feature", - "repoId": "repo-1", - "worktreeId": "wt-history" - }, - { - "path": "/repo/sibling", - "repoId": "repo-1", - "worktreeId": "wt-2" - } - ] - } - } - } - }, - "2b1949ab1dec": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "40fa6811eb00": { - "name": "streams-registered-at-teardown", - "ordinal": 10, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, - "4d68bff46cff": { - "name": "status.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "5683252d4a53": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "613355526cb5": { - "name": "aiVault.listSessions#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" - }, - "6d4cf84c26db": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "6d992d979d7c": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "7368414c8786": { - "name": "worktree.ps#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "7623e8b568b1": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ActivityIndicator": 1, - "ChevronLeft": 1, - "Pressable": 2, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 3, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": ["Agent Session History", "orca-history", "Loading agent sessions…"] - }, - "79fc75a7b709": { - "name": "aiVault.listSessions#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "7a008ca8521f": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - } - }, - "7e8b2964ad63": { - "name": "streams-registered-at-teardown", - "ordinal": 8, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, - "81b771b56e59": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "8502a1cdf759": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 3, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 5, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": ["Agent Session History", "orca-history", "Unable to Load", "outer refused", "Retry"] - }, - "89ca6152d289": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 3, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 5, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": [ - "Agent Session History", - "orca-history", - "Unable to Load", - "The host sent a reply this app could not read (status.get)", - "Retry" - ] - }, - "98d7022b1300": { - "name": "aiVault.listSessions#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "9fb09ddc7fe6": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "a1cee1ec8f4c": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 3, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 5, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": [ - "Agent Session History", - "orca-history", - "Unable to Load", - "transport failure", - "Retry" - ] - }, - "a26eb8ffaa7c": { - "name": "status.get#2", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "acf501fa9958": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - } - }, - "b51021287bd8": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "ba295d07dfd2": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "ba8394a4ce03": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "bab43f71f94f": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "c3d0a79c37c8": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 3, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 5, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": ["Agent Session History", "orca-history", "Unable to Load", "Unknown method", "Retry"] - }, - "ddc03a109a53": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "History": 1, - "Pressable": 2, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 4, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": [ - "Agent Session History", - "orca-history", - "Agent Session History Unavailable", - "Update Orca on this host to browse agent session history." - ] - }, - "e28c488ce6b2": { - "name": "agentSession.subscribeStatus#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.subscribeStatus\",\"params\":{}}" - }, - "e2d097a144bc": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 3, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 5, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": [ - "Agent Session History", - "orca-history", - "Unable to Load", - "Something went wrong. Try again.", - "Retry" - ] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f975325adbf9": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 3, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 5, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": [ - "Agent Session History", - "orca-history", - "Unable to Load", - "Unable to reach host", - "Retry" - ] - } - }, - "recording": { - "scenario": "matrix-aivault.history-screen-status.get-2", - "checkpoints": [ - { - "id": "aivault-history-screen-worktrees.prelude:worktrees-pending", - "observation": { - "sender": ["03106dceb986", "7368414c8786"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.prelude:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "ba8394a4ce03"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.normal:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.normal:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] - } - }, - { - "id": "aivault-history-screen-worktrees.result-absent:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "14d0e2ecb181"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "89ca6152d289", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.result-absent:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "14d0e2ecb181"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "89ca6152d289", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.result-null:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "6d4cf84c26db"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "89ca6152d289", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.result-null:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "6d4cf84c26db"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "89ca6152d289", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-ok-missing:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "b51021287bd8"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-ok-missing:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "b51021287bd8"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-string-error:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "81b771b56e59"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-string-error:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "81b771b56e59"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-object-error:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "5683252d4a53"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-object-error:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "5683252d4a53"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "2b1949ab1dec"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8502a1cdf759", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "2b1949ab1dec"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8502a1cdf759", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused-no-message:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "9fb09ddc7fe6"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f975325adbf9", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused-no-message:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "9fb09ddc7fe6"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f975325adbf9", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.method-not-found:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "ba295d07dfd2"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c3d0a79c37c8", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.method-not-found:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "ba295d07dfd2"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c3d0a79c37c8", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "bab43f71f94f"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a1cee1ec8f4c", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "bab43f71f94f"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a1cee1ec8f4c", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection-no-message:worktrees-listed", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "6d992d979d7c"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e2d097a144bc", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "6d992d979d7c"], - "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e2d097a144bc", - "effects": ["7e8b2964ad63"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-worktree.ps-1.json b/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-worktree.ps-1.json index 258d20e9def..548066736d8 100644 --- a/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-worktree.ps-1.json +++ b/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-worktree.ps-1.json @@ -137,34 +137,6 @@ } } }, - "1ff410f2eb07": { - "name": "aiVault.listSessions#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": [] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, "222a3ba1d974": { "name": "worktree.ps#1", "ordinal": 3, @@ -244,26 +216,49 @@ } } }, - "40fa6811eb00": { - "name": "streams-registered-at-teardown", - "ordinal": 10, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, "4d68bff46cff": { "name": "status.get#1", "ordinal": 4, "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" }, - "613355526cb5": { + "4f7d48d96db6": { "name": "aiVault.listSessions#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" + "ordinal": 6, + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } + }, + "595e6c3bbfed": { + "name": "aiVault.listSessions#1", + "ordinal": 7, + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"]}}" }, "6405fa9d6a94": { "name": "worktree.ps#1", @@ -300,6 +295,34 @@ } } }, + "6cd39311d5ec": { + "name": "aiVault.listSessions#1", + "ordinal": 6, + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": ["/repo/feature"] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "7182750ca2d1": { "name": "worktree.ps#1", "ordinal": 3, @@ -335,6 +358,11 @@ } } }, + "7312d72e532d": { + "name": "aiVault.listSessions#1", + "ordinal": 7, + "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[]}}" + }, "7368414c8786": { "name": "worktree.ps#1", "ordinal": 3, @@ -361,6 +389,34 @@ "startedAt": 0 } }, + "739d442628ed": { + "name": "aiVault.listSessions#1", + "ordinal": 6, + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": [] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "758b3fde1948": { "name": "streams-registered-at-teardown", "ordinal": 6, @@ -388,107 +444,16 @@ "labels": ["Back", "Refresh agent sessions"], "text": ["Agent Session History", "orca-history", "Loading agent sessions…"] }, - "79fc75a7b709": { - "name": "aiVault.listSessions#1", + "7e8b2964ad63": { + "name": "streams-registered-at-teardown", "ordinal": 8, - "args": [ + "value": [ { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } + "cancelled": false, + "method": "agentSession.subscribeStatus", + "payload": "agentSession.subscribeStatus#1" } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "7a008ca8521f": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - } - }, - "8123e6fb3b52": { - "name": "aiVault.listSessions#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": [] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } + ] }, "858c23d8f3ef": { "name": "worktree.ps#1", @@ -554,34 +519,6 @@ } } }, - "98d7022b1300": { - "name": "aiVault.listSessions#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, "9a209a9534f9": { "name": "worktree.ps#1", "ordinal": 3, @@ -649,11 +586,6 @@ } } }, - "a26eb8ffaa7c": { - "name": "status.get#2", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, "acf501fa9958": { "name": "status.get#1", "ordinal": 2, @@ -720,10 +652,39 @@ } } }, - "ddb026ba4968": { + "c8a1368e170b": { "name": "aiVault.listSessions#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[]}}" + "ordinal": 6, + "args": [ + { + "name": "method", + "value": "aiVault.listSessions" + }, + { + "name": "params", + "value": { + "force": false, + "limit": 500, + "scopePaths": [] + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "rejected", + "startedAt": 0, + "settledAt": 0, + "error": { + "category": "Error", + "message": "Connection closed", + "isRpcDeliveryUnknown": true + } + } }, "de6f51a372a1": { "name": "worktree.ps#1", @@ -804,14 +765,8 @@ { "id": "aivault-history-screen-worktrees.normal:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "98d7022b1300"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["acf501fa9958", "222a3ba1d974", "6cd39311d5ec"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "595e6c3bbfed"], "settlements": { "mount": "eb79a9b3682a" }, @@ -822,32 +777,20 @@ { "id": "aivault-history-screen-worktrees.normal:cleanup", "observation": { - "sender": ["acf501fa9958", "222a3ba1d974", "7a008ca8521f", "79fc75a7b709"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "613355526cb5" - ], + "sender": ["acf501fa9958", "222a3ba1d974", "4f7d48d96db6"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "595e6c3bbfed"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.result-absent:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "19cf1a6a7639", "7a008ca8521f", "1ff410f2eb07"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "19cf1a6a7639", "739d442628ed"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, @@ -858,32 +801,20 @@ { "id": "aivault-history-screen-worktrees.result-absent:cleanup", "observation": { - "sender": ["acf501fa9958", "19cf1a6a7639", "7a008ca8521f", "8123e6fb3b52"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "19cf1a6a7639", "c8a1368e170b"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.result-null:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "30b5ef327e47", "7a008ca8521f", "1ff410f2eb07"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "30b5ef327e47", "739d442628ed"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, @@ -894,32 +825,20 @@ { "id": "aivault-history-screen-worktrees.result-null:cleanup", "observation": { - "sender": ["acf501fa9958", "30b5ef327e47", "7a008ca8521f", "8123e6fb3b52"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "30b5ef327e47", "c8a1368e170b"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.inner-ok-missing:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "00b7efbaf87f", "7a008ca8521f", "1ff410f2eb07"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "00b7efbaf87f", "739d442628ed"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, @@ -930,32 +849,20 @@ { "id": "aivault-history-screen-worktrees.inner-ok-missing:cleanup", "observation": { - "sender": ["acf501fa9958", "00b7efbaf87f", "7a008ca8521f", "8123e6fb3b52"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "00b7efbaf87f", "c8a1368e170b"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.inner-false-string-error:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "7182750ca2d1", "7a008ca8521f", "1ff410f2eb07"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "7182750ca2d1", "739d442628ed"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, @@ -966,32 +873,20 @@ { "id": "aivault-history-screen-worktrees.inner-false-string-error:cleanup", "observation": { - "sender": ["acf501fa9958", "7182750ca2d1", "7a008ca8521f", "8123e6fb3b52"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "7182750ca2d1", "c8a1368e170b"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.inner-false-object-error:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "0569ef4f06ba", "7a008ca8521f", "1ff410f2eb07"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "0569ef4f06ba", "739d442628ed"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, @@ -1002,32 +897,20 @@ { "id": "aivault-history-screen-worktrees.inner-false-object-error:cleanup", "observation": { - "sender": ["acf501fa9958", "0569ef4f06ba", "7a008ca8521f", "8123e6fb3b52"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "0569ef4f06ba", "c8a1368e170b"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.outer-refused:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "9a209a9534f9", "7a008ca8521f", "1ff410f2eb07"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "9a209a9534f9", "739d442628ed"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, @@ -1038,32 +921,20 @@ { "id": "aivault-history-screen-worktrees.outer-refused:cleanup", "observation": { - "sender": ["acf501fa9958", "9a209a9534f9", "7a008ca8521f", "8123e6fb3b52"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "9a209a9534f9", "c8a1368e170b"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.outer-refused-no-message:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "de6f51a372a1", "7a008ca8521f", "1ff410f2eb07"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "de6f51a372a1", "739d442628ed"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, @@ -1074,32 +945,20 @@ { "id": "aivault-history-screen-worktrees.outer-refused-no-message:cleanup", "observation": { - "sender": ["acf501fa9958", "de6f51a372a1", "7a008ca8521f", "8123e6fb3b52"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "de6f51a372a1", "c8a1368e170b"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.method-not-found:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "6405fa9d6a94", "7a008ca8521f", "1ff410f2eb07"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "6405fa9d6a94", "739d442628ed"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, @@ -1110,32 +969,20 @@ { "id": "aivault-history-screen-worktrees.method-not-found:cleanup", "observation": { - "sender": ["acf501fa9958", "6405fa9d6a94", "7a008ca8521f", "8123e6fb3b52"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "6405fa9d6a94", "c8a1368e170b"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.transport-rejection:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "c4a0ee2acc32", "7a008ca8521f", "1ff410f2eb07"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "c4a0ee2acc32", "739d442628ed"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, @@ -1146,32 +993,20 @@ { "id": "aivault-history-screen-worktrees.transport-rejection:cleanup", "observation": { - "sender": ["acf501fa9958", "c4a0ee2acc32", "7a008ca8521f", "8123e6fb3b52"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "c4a0ee2acc32", "c8a1368e170b"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } }, { "id": "aivault-history-screen-worktrees.transport-rejection-no-message:worktrees-listed", "observation": { - "sender": ["acf501fa9958", "858c23d8f3ef", "7a008ca8521f", "1ff410f2eb07"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "858c23d8f3ef", "739d442628ed"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, @@ -1182,19 +1017,13 @@ { "id": "aivault-history-screen-worktrees.transport-rejection-no-message:cleanup", "observation": { - "sender": ["acf501fa9958", "858c23d8f3ef", "7a008ca8521f", "8123e6fb3b52"], - "payloads": [ - "e28c488ce6b2", - "4d68bff46cff", - "0180d22edc2e", - "a26eb8ffaa7c", - "ddb026ba4968" - ], + "sender": ["acf501fa9958", "858c23d8f3ef", "c8a1368e170b"], + "payloads": ["e28c488ce6b2", "4d68bff46cff", "0180d22edc2e", "7312d72e532d"], "settlements": { "mount": "eb79a9b3682a" }, "state": "7623e8b568b1", - "effects": ["40fa6811eb00"] + "effects": ["7e8b2964ad63"] } } ] diff --git a/mobile/rpc-foundation/goldens/settings-task-hydration-refuse-after-data.json b/mobile/rpc-foundation/goldens/settings-task-hydration-refuse-after-data.json index a0bab00c727..6eb704b5cea 100644 --- a/mobile/rpc-foundation/goldens/settings-task-hydration-refuse-after-data.json +++ b/mobile/rpc-foundation/goldens/settings-task-hydration-refuse-after-data.json @@ -14,41 +14,20 @@ "ordinal": 68, "value": false }, - "09491ed0e81b": { - "name": "linearConnected", + "07a353c5c78b": { + "name": "linearTeams", "ordinal": 112, - "value": false + "value": [] }, "0b80318cc9c6": { "name": "showLinearConnect", "ordinal": 71, "value": false }, - "0d339fb4105d": { - "name": "status.get#2", - "ordinal": 95, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } + "0e499c129c98": { + "name": "linear.status#2", + "ordinal": 106, + "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" }, "0ebb7f0660a0": { "name": "showLinearTeamPicker", @@ -67,11 +46,6 @@ "$rpc": "null" } }, - "1405a97d9797": { - "name": "visibleProviders", - "ordinal": 118, - "value": ["github", "jira", "linear"] - }, "15cdb7759e6b": { "name": "ui.get#1", "ordinal": 41, @@ -104,10 +78,27 @@ "recent": [] } }, - "1fd91d747310": { - "name": "selectedRepoIds", - "ordinal": 117, - "value": [] + "1a29fd2ef4ff": { + "name": "githubProjectHiddenFieldIdsByView", + "ordinal": 109, + "value": {} + }, + "1a616bd5df21": { + "name": "githubProjectSettings", + "ordinal": 124, + "value": { + "activeProject": { + "$rpc": "null" + }, + "lastViewByProject": {}, + "pinned": [], + "recent": [] + } + }, + "1e51382afe6a": { + "name": "settings.get#2", + "ordinal": 103, + "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" }, "2195bc3722ec": { "name": "showGitHubProjectViewPicker", @@ -191,11 +182,6 @@ "ordinal": 62, "value": "is:issue is:open" }, - "2e2bf2aa84e9": { - "name": "preflight.check#2", - "ordinal": 107, - "json": "{\"id\":\"frame-11\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, "301bdbdf1dec": { "name": "taskStateHydrated", "ordinal": 1, @@ -211,40 +197,6 @@ "ordinal": 83, "value": false }, - "306c51f7c412": { - "name": "ui.get#2", - "ordinal": 101, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "ui": {} - } - } - } - }, "3082bf4965fa": { "name": "selectedLinearWorkspaceId", "ordinal": 51, @@ -252,10 +204,15 @@ "$rpc": "null" } }, - "33f18fa87191": { - "name": "ui.get#2", - "ordinal": 106, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" + "30d92aae6022": { + "name": "githubMode", + "ordinal": 118, + "value": "items" + }, + "3125436de9ed": { + "name": "error", + "ordinal": 96, + "value": "" }, "354e99da4ba4": { "name": "pendingHostedStateChange", @@ -276,11 +233,6 @@ "$rpc": "null" } }, - "3851f1fc2a43": { - "name": "linearTeams", - "ordinal": 114, - "value": [] - }, "394fb5675266": { "name": "mergeMethodProjectRow", "ordinal": 29, @@ -288,11 +240,6 @@ "$rpc": "null" } }, - "395447a62a58": { - "name": "linearWorkspaces", - "ordinal": 113, - "value": [] - }, "3a03e162efd9": { "name": "selectedLinearTeamIds", "ordinal": 50, @@ -318,26 +265,47 @@ "$rpc": "null" } }, - "3fb21cfa1a70": { - "name": "githubProjectHiddenFieldIdsByView", - "ordinal": 111, - "value": {} - }, "3ff235330cbe": { "name": "jiraFilter", "ordinal": 60, "value": "assigned" }, - "40e124516bdc": { - "name": "appliedQuery", - "ordinal": 128, - "value": "is:issue is:open" + "409493e14720": { + "name": "preflight.check#2", + "ordinal": 105, + "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, "40f00017ad77": { "name": "linearWorkspaces", "ordinal": 48, "value": [] }, + "42338ab3de32": { + "name": "linear.status#2", + "ordinal": 101, + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, "430c28cba43c": { "name": "taskStateHydrated", "ordinal": 64, @@ -355,11 +323,21 @@ "ordinal": 3, "value": false }, + "4764be05af7f": { + "name": "linearConnected", + "ordinal": 110, + "value": false + }, "4c263b5010b4": { "name": "showCreateTargetPicker", "ordinal": 88, "value": false }, + "4c5e1904893d": { + "name": "visibleProviders", + "ordinal": 116, + "value": ["github", "jira", "linear"] + }, "4cbaceb42c08": { "name": "detailPayload", "ordinal": 21, @@ -367,31 +345,68 @@ "$rpc": "null" } }, - "4f329f853674": { - "name": "githubMode", - "ordinal": 120, - "value": "items" - }, - "4fe06dabb3fa": { - "name": "runtimeTaskSettings", - "ordinal": 109, - "value": {} - }, - "52b23d398626": { + "4fa5b7eb5bf2": { "name": "settings.get#2", - "ordinal": 105, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" + "ordinal": 98, + "args": [ + { + "name": "method", + "value": "settings.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "519236bda9be": { + "name": "selectedRepoIds", + "ordinal": 115, + "value": [] + }, + "51d5a652afac": { + "name": "jira.status#2", + "ordinal": 97, + "args": [ + { + "name": "method", + "value": "jira.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } }, "54c8ecc069d2": { "name": "showGitHubKindPicker", "ordinal": 72, "value": false }, - "56ebf74d23dc": { - "name": "githubKind", - "ordinal": 123, - "value": "issues" - }, "5729b7cdb4ba": { "name": "showFilterSheet", "ordinal": 12, @@ -417,99 +432,48 @@ "visibleTaskProviders": ["github", "linear"] } }, + "596216268c13": { + "name": "selectedLinearWorkspaceId", + "ordinal": 114, + "value": { + "$rpc": "null" + } + }, + "5b9bf4f0af7c": { + "name": "trustedOrcaHooks", + "ordinal": 108, + "value": {} + }, "5c7f665de6c4": { "name": "githubPreset", "ordinal": 57, "value": "issues" }, - "5f13971d1ee1": { - "name": "jira.status#2", - "ordinal": 99, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "5fb76dcb52a0": { - "name": "provider", - "ordinal": 119, - "value": "github" - }, "600862ad27b3": { "name": "githubProjectHiddenFieldIdsByView", "ordinal": 46, "value": {} }, - "6273cc899823": { - "name": "query", - "ordinal": 127, - "value": "is:issue is:open" + "6748c33ae45a": { + "name": "linearFilter", + "ordinal": 122, + "value": "all" }, - "63a64dd16e18": { - "name": "linear.status#2", - "ordinal": 103, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "689af122e02c": { - "name": "selectedLinearWorkspaceId", - "ordinal": 116, + "68d557277b06": { + "name": "jiraConnection", + "ordinal": 128, "value": { - "$rpc": "null" + "connected": false, + "credentialError": { + "$rpc": "null" + }, + "selection": { + "$rpc": "null" + }, + "sites": [], + "unavailableReason": { + "$rpc": "null" + } } }, "696ce2d131d0": { @@ -548,14 +512,201 @@ } } }, + "6e479355f5c0": { + "name": "linear.status#2", + "ordinal": 101, + "args": [ + { + "name": "method", + "value": "linear.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-11", + "ok": true, + "result": { + "connected": false + } + } + } + }, + "6eab42698c2f": { + "name": "githubKind", + "ordinal": 121, + "value": "issues" + }, "70561929d3fd": { "name": "showGitHubIssueSourcePicker", "ordinal": 79, "value": false }, - "7120985eeeb2": { - "name": "settings.get#2", + "714d4b3547ff": { + "name": "projectRepoNotInOrca", + "ordinal": 20, + "value": { + "$rpc": "null" + } + }, + "756c11d6e5bc": { + "name": "settings.get#1", + "ordinal": 40, + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" + }, + "76e8473c7334": { + "name": "pendingGitHubProjectViewSelection", + "ordinal": 84, + "value": { + "$rpc": "null" + } + }, + "77a3f0aefa53": { + "name": "preflight.check#2", "ordinal": 100, + "args": [ + { + "name": "method", + "value": "preflight.check" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-10", + "ok": true, + "result": { + "glab": { + "installed": false + } + } + } + } + }, + "79712162ee5d": { + "name": "pendingHostedMerge", + "ordinal": 90, + "value": { + "$rpc": "null" + } + }, + "79bf5f7157fd": { + "name": "jira.status#2", + "ordinal": 102, + "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" + }, + "79d39f46079c": { + "name": "jira.status#2", + "ordinal": 97, + "args": [ + { + "name": "method", + "value": "jira.status" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-7", + "ok": true, + "result": { + "connected": false + } + } + } + }, + "7b0ad7b958dd": { + "name": "tasksSupportState", + "ordinal": 2, + "value": { + "client": "logical-client", + "kind": "unknown" + } + }, + "7ce7ba275f0e": { + "name": "showGitHubPresetPicker", + "ordinal": 73, + "value": false + }, + "8015a69c7774": { + "name": "showGitLabFilterPicker", + "ordinal": 10, + "value": false + }, + "81c3c1b97924": { + "name": "taskStateHydrated", + "ordinal": 127, + "value": true + }, + "82daca007272": { + "name": "jiraConnection", + "ordinal": 65, + "value": { + "connected": false, + "credentialError": { + "$rpc": "null" + }, + "selection": { + "$rpc": "null" + }, + "sites": [], + "unavailableReason": { + "$rpc": "null" + } + } + }, + "84662d39ecef": { + "name": "projectRowDetail", + "ordinal": 87, + "value": { + "$rpc": "null" + } + }, + "86416a326bfc": { + "name": "settings.get#2", + "ordinal": 98, "args": [ { "name": "method", @@ -583,79 +734,11 @@ "code": "refused", "message": "settings refused" }, - "id": "frame-9", + "id": "frame-8", "ok": false } } }, - "714d4b3547ff": { - "name": "projectRepoNotInOrca", - "ordinal": 20, - "value": { - "$rpc": "null" - } - }, - "756c11d6e5bc": { - "name": "settings.get#1", - "ordinal": 40, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "76e8473c7334": { - "name": "pendingGitHubProjectViewSelection", - "ordinal": 84, - "value": { - "$rpc": "null" - } - }, - "79712162ee5d": { - "name": "pendingHostedMerge", - "ordinal": 90, - "value": { - "$rpc": "null" - } - }, - "7b0ad7b958dd": { - "name": "tasksSupportState", - "ordinal": 2, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "7ce7ba275f0e": { - "name": "showGitHubPresetPicker", - "ordinal": 73, - "value": false - }, - "8015a69c7774": { - "name": "showGitLabFilterPicker", - "ordinal": 10, - "value": false - }, - "82daca007272": { - "name": "jiraConnection", - "ordinal": 65, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "84662d39ecef": { - "name": "projectRowDetail", - "ordinal": 87, - "value": { - "$rpc": "null" - } - }, "87bd323da79d": { "name": "trustedOrcaHooks", "ordinal": 45, @@ -726,6 +809,45 @@ } } }, + "90b2e10f5212": { + "name": "ui.get#2", + "ordinal": 99, + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "id": "frame-9", + "ok": true, + "result": { + "ui": {} + } + } + } + }, + "915a703682c1": { + "name": "ui.get#2", + "ordinal": 104, + "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" + }, "921ecca2c27f": { "name": "settings.get#1", "ordinal": 35, @@ -766,6 +888,11 @@ } } }, + "92a09ce38609": { + "name": "provider", + "ordinal": 117, + "value": "github" + }, "92d8e1bbe38f": { "name": "showGitLabViewPicker", "ordinal": 74, @@ -776,6 +903,14 @@ "ordinal": 16, "value": false }, + "936719216ac6": { + "name": "tasksSupportState", + "ordinal": 95, + "value": { + "client": "logical-client", + "kind": "supported" + } + }, "93acc26335bc": { "name": "githubKind", "ordinal": 58, @@ -818,17 +953,10 @@ "$rpc": "null" } }, - "99125cad1da5": { - "name": "githubProjectSettings", - "ordinal": 126, - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } + "9a2d8022894a": { + "name": "query", + "ordinal": 125, + "value": "is:issue is:open" }, "9a34a9d12765": { "name": "projectRepoNotInOrca", @@ -862,16 +990,16 @@ "ordinal": 75, "value": false }, - "a297b87cac1f": { - "name": "defaultGitHubPreset", - "ordinal": 121, - "value": "issues" - }, "a5addaab38bf": { "name": "linearFilter", "ordinal": 59, "value": "all" }, + "a81d9644d3a0": { + "name": "githubPreset", + "ordinal": 120, + "value": "issues" + }, "a821d9be2754": { "name": "detailPayload", "ordinal": 86, @@ -879,6 +1007,11 @@ "$rpc": "null" } }, + "a90c8319f742": { + "name": "linearWorkspaces", + "ordinal": 111, + "value": [] + }, "aa231760f80d": { "name": "preflight.check#1", "ordinal": 37, @@ -910,24 +1043,11 @@ "ordinal": 42, "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" }, - "ab2871bfa9d6": { - "name": "status.get#2", - "ordinal": 96, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, "ab4a6032b0e4": { "name": "jira.status#1", "ordinal": 39, "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" }, - "b34a7f8a6868": { - "name": "tasksSupportState", - "ordinal": 97, - "value": { - "client": "logical-client", - "kind": "supported" - } - }, "b65cb4c89cdd": { "name": "showRepoPicker", "ordinal": 78, @@ -967,11 +1087,6 @@ } } }, - "b979d1b140e9": { - "name": "jiraFilter", - "ordinal": 125, - "value": "assigned" - }, "ba788c58e435": { "name": "runtimeTaskSettings", "ordinal": 44, @@ -983,23 +1098,6 @@ "visibleTaskProviders": ["github", "linear"] } }, - "bba9c8641e32": { - "name": "jiraConnection", - "ordinal": 130, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, "bbce658fe3f5": { "name": "showRepoPicker", "ordinal": 13, @@ -1052,9 +1150,125 @@ "hydrated": false, "settings": {} }, - "ca1f7b690e7f": { + "cb08cdcab278": { + "name": "runtimeTaskSettings", + "ordinal": 107, + "value": {} + }, + "ccc92dc7f00f": { + "name": "ui.get#2", + "ordinal": 99, + "args": [ + { + "name": "method", + "value": "ui.get" + }, + { + "name": "params", + "value": { + "$rpc": "absent" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "cf58d289a969": { + "name": "jiraFilter", + "ordinal": 123, + "value": "assigned" + }, + "d100b9546c3d": { + "name": "showGitHubKindPicker", + "ordinal": 7, + "value": false + }, + "d1af3771ebfa": { + "name": "status.get#1", + "ordinal": 31, + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" + }, + "d208e8015339": { + "name": "showGitHubPresetPicker", + "ordinal": 8, + "value": false + }, + "d50362207233": { + "name": "tasksSupportState", + "ordinal": 32, + "value": { + "client": "logical-client", + "kind": "supported" + } + }, + "dd6fb20daf67": { + "name": "linear.status#1", + "ordinal": 43, + "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" + }, + "e033cf17e121": { + "name": "showGitLabViewPicker", + "ordinal": 9, + "value": false + }, + "e61de5a1b27e": { + "name": "defaultGitHubPreset", + "ordinal": 56, + "value": "issues" + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "ebfa0e9bf154": { + "name": "appliedQuery", + "ordinal": 126, + "value": "is:issue is:open" + }, + "ee5c08b94d31": { + "name": "selectedLinearTeamIds", + "ordinal": 113, + "value": [] + }, + "f0130039609e": { + "name": "showLinearFilterPicker", + "ordinal": 76, + "value": false + }, + "f13f4fd4456e": { + "name": "showGitHubProjectPicker", + "ordinal": 81, + "value": false + }, + "f164de325151": { + "name": "pendingProjectGitHubMerge", + "ordinal": 26, + "value": { + "$rpc": "null" + } + }, + "f46b6dfa6c69": { + "name": "pendingProjectGitHubMerge", + "ordinal": 91, + "value": { + "$rpc": "null" + } + }, + "f95bef8504db": { "name": "preflight.check#2", - "ordinal": 102, + "ordinal": 100, "args": [ { "name": "method", @@ -1074,164 +1288,15 @@ } ], "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } + "status": "pending", + "startedAt": 0 } }, - "d100b9546c3d": { - "name": "showGitHubKindPicker", - "ordinal": 7, - "value": false - }, - "d15f071e1355": { - "name": "trustedOrcaHooks", - "ordinal": 110, - "value": {} - }, - "d1af3771ebfa": { - "name": "status.get#1", - "ordinal": 31, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d208e8015339": { - "name": "showGitHubPresetPicker", - "ordinal": 8, - "value": false - }, - "d333bc609b09": { - "name": "taskStateHydrated", - "ordinal": 129, - "value": true - }, - "d50362207233": { - "name": "tasksSupportState", - "ordinal": 32, - "value": { - "client": "logical-client", - "kind": "supported" - } - }, - "d529ccb831d7": { - "name": "selectedLinearTeamIds", - "ordinal": 115, - "value": [] - }, - "da165c8f998c": { - "name": "status.get#2", - "ordinal": 95, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "capabilities": ["mobile.tasks.v1"] - } - } - } - }, - "dd6fb20daf67": { - "name": "linear.status#1", - "ordinal": 43, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "e033cf17e121": { - "name": "showGitLabViewPicker", - "ordinal": 9, - "value": false - }, - "e4a9c5160633": { - "name": "githubPreset", - "ordinal": 122, - "value": "issues" - }, - "e61de5a1b27e": { + "f9dae2a51441": { "name": "defaultGitHubPreset", - "ordinal": 56, + "ordinal": 119, "value": "issues" }, - "e946c8612e5b": { - "name": "jira.status#2", - "ordinal": 104, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f0130039609e": { - "name": "showLinearFilterPicker", - "ordinal": 76, - "value": false - }, - "f13f4fd4456e": { - "name": "showGitHubProjectPicker", - "ordinal": 81, - "value": false - }, - "f164de325151": { - "name": "pendingProjectGitHubMerge", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "f2380325a9e9": { - "name": "linear.status#2", - "ordinal": 108, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "f2d891c59f24": { - "name": "error", - "ordinal": 98, - "value": "" - }, - "f46b6dfa6c69": { - "name": "pendingProjectGitHubMerge", - "ordinal": 91, - "value": { - "$rpc": "null" - } - }, - "f59b08fc90d0": { - "name": "linearFilter", - "ordinal": 124, - "value": "all" - }, "fd9076dd08ec": { "name": "linear.status#1", "ordinal": 38, @@ -1537,7 +1602,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "0d339fb4105d" + "51d5a652afac", + "4fa5b7eb5bf2", + "ccc92dc7f00f", + "f95bef8504db", + "42338ab3de32" ], "payloads": [ "d1af3771ebfa", @@ -1546,7 +1615,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "ab2871bfa9d6" + "79bf5f7157fd", + "1e51382afe6a", + "915a703682c1", + "409493e14720", + "0e499c129c98" ], "settlements": { "mount": "eb79a9b3682a", @@ -1635,7 +1708,9 @@ "f46b6dfa6c69", "37d777b76138", "11f881adcdac", - "22c70de1df30" + "22c70de1df30", + "936719216ac6", + "3125436de9ed" ] } }, @@ -1649,12 +1724,11 @@ "b93a0543b001", "696ce2d131d0", "fd9076dd08ec", - "da165c8f998c", - "5f13971d1ee1", - "7120985eeeb2", - "306c51f7c412", - "ca1f7b690e7f", - "63a64dd16e18" + "79d39f46079c", + "86416a326bfc", + "90b2e10f5212", + "77a3f0aefa53", + "6e479355f5c0" ], "payloads": [ "d1af3771ebfa", @@ -1663,12 +1737,11 @@ "15cdb7759e6b", "aa9af10b3812", "dd6fb20daf67", - "ab2871bfa9d6", - "e946c8612e5b", - "52b23d398626", - "33f18fa87191", - "2e2bf2aa84e9", - "f2380325a9e9" + "79bf5f7157fd", + "1e51382afe6a", + "915a703682c1", + "409493e14720", + "0e499c129c98" ], "settlements": { "mount": "eb79a9b3682a", @@ -1758,30 +1831,30 @@ "37d777b76138", "11f881adcdac", "22c70de1df30", - "b34a7f8a6868", - "f2d891c59f24", - "4fe06dabb3fa", - "d15f071e1355", - "3fb21cfa1a70", - "09491ed0e81b", - "395447a62a58", - "3851f1fc2a43", - "d529ccb831d7", - "689af122e02c", - "1fd91d747310", - "1405a97d9797", - "5fb76dcb52a0", - "4f329f853674", - "a297b87cac1f", - "e4a9c5160633", - "56ebf74d23dc", - "f59b08fc90d0", - "b979d1b140e9", - "99125cad1da5", - "6273cc899823", - "40e124516bdc", - "d333bc609b09", - "bba9c8641e32" + "936719216ac6", + "3125436de9ed", + "cb08cdcab278", + "5b9bf4f0af7c", + "1a29fd2ef4ff", + "4764be05af7f", + "a90c8319f742", + "07a353c5c78b", + "ee5c08b94d31", + "596216268c13", + "519236bda9be", + "4c5e1904893d", + "92a09ce38609", + "30d92aae6022", + "f9dae2a51441", + "a81d9644d3a0", + "6eab42698c2f", + "6748c33ae45a", + "cf58d289a969", + "1a616bd5df21", + "9a2d8022894a", + "ebfa0e9bf154", + "81c3c1b97924", + "68d557277b06" ] } } diff --git a/mobile/rpc-foundation/pilot-scenarios.json b/mobile/rpc-foundation/pilot-scenarios.json index e040da86534..6061bbe4bce 100644 --- a/mobile/rpc-foundation/pilot-scenarios.json +++ b/mobile/rpc-foundation/pilot-scenarios.json @@ -3119,18 +3119,6 @@ { "checkpoint": "refresh-pending" }, - { - "complete": "status.get#2", - "params": { - "$undefined": true - }, - "reply": { - "ok": true, - "result": { - "capabilities": ["mobile.tasks.v1"] - } - } - }, { "complete": "settings.get#2", "params": { @@ -20351,18 +20339,6 @@ } } }, - { - "complete": "status.get#2", - "params": { - "$undefined": true - }, - "reply": { - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - }, { "checkpoint": "worktrees-listed" } @@ -20425,18 +20401,6 @@ } } }, - { - "complete": "status.get#2", - "params": { - "$undefined": true - }, - "reply": { - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - }, { "checkpoint": "worktrees-listed" }, diff --git a/mobile/src/agent-history/mobile-agent-history-operations.ts b/mobile/src/agent-history/mobile-agent-history-operations.ts index b45ef6685ca..4f533cf7bcc 100644 --- a/mobile/src/agent-history/mobile-agent-history-operations.ts +++ b/mobile/src/agent-history/mobile-agent-history-operations.ts @@ -1,5 +1,6 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' import { rpcResultVariant } from '../transport/rpc-operation-result-reader' +import { connectionHostStatusRead } from '../query/host-status-query' import { agentHistoryHostStatusSchema, agentHistorySessionScanSchema, @@ -10,14 +11,18 @@ import { // History capability/scan reads run on open; resume workspace metadata waits for explicit user intent. // Keep status capability family separate from Tasks hydration: both raise host message via same reader, but fail different screen/barrier states. -export const agentHistoryHostStatusRead = bindDeferredRpcOperation( - defineRpcOperation({ - name: 'status.agent-history', - method: 'status.get', - acceptance: 'require-result-or-throw-message', - barrier: 'after-caller-barrier', - read: rpcResultVariant('host-status', agentHistoryHostStatusSchema) - }) +// Live: resume quotes for the desktop's Windows shell setting, which can change while connected. +export const agentHistoryHostStatusRead = connectionHostStatusRead( + bindDeferredRpcOperation( + defineRpcOperation({ + name: 'status.agent-history', + method: 'status.get', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcResultVariant('host-status', agentHistoryHostStatusSchema) + }) + ), + 'live' ) export const agentHistorySessionScan = bindDeferredRpcOperation( diff --git a/mobile/src/automations/use-automation-catalog.ts b/mobile/src/automations/use-automation-catalog.ts index 97f56b32050..73b69aa2561 100644 --- a/mobile/src/automations/use-automation-catalog.ts +++ b/mobile/src/automations/use-automation-catalog.ts @@ -10,6 +10,7 @@ import { AppState } from 'react-native' import type { RpcResponse } from '../transport/types' import type { RpcClient } from '../transport/rpc-client' import { hostStatusProbe } from '../transport/host-status-probe-operations' +import { readHostStatusReply } from '../query/host-status-query' import { subscribeConnectionRevival } from '../transport/connection-revival-signal' import { subscribeSharedClientEvents } from '../transport/shared-client-events' import { automationListRead } from './automation-operations' @@ -115,9 +116,7 @@ export function useAutomationCatalog(client: RpcClient | null, server: boolean) try { const listRequest = automationListRead.request(client, {}, { signal: controller.signal }) requests.push(listRequest) - const statusRequest = hostStatusProbe.request(client, undefined, { - signal: controller.signal - }) + const statusRequest = readHostStatusReply(client, { signal: controller.signal }) requests.push(statusRequest) const [parsed, host] = await Promise.all([ listRequest.then(automationListRead.interpret), diff --git a/mobile/src/files/mobile-chat-attachment-read.ts b/mobile/src/files/mobile-chat-attachment-read.ts index 6638f40618f..a1659543ecd 100644 --- a/mobile/src/files/mobile-chat-attachment-read.ts +++ b/mobile/src/files/mobile-chat-attachment-read.ts @@ -1,5 +1,6 @@ import { sharedPromiseSettlementWaiters } from '../../../src/shared/promise-settlement-waiters' import { hostStatusProbe } from '../transport/host-status-probe-operations' +import { readHostStatusReply } from '../query/host-status-query' import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' import { rpcResultVariant } from '../transport/rpc-operation-result-reader' import { @@ -30,7 +31,7 @@ export function createMobileChatAttachmentReader( ): AttachmentTextRead { const connectedAt = client?.getLastConnectedAt() const generation = client?.getGeneration?.() - let status: ReturnType | undefined + let status: ReturnType | undefined const assertCurrent = () => { if ( !client || @@ -48,7 +49,7 @@ export function createMobileChatAttachmentReader( if (!request.expectedSnapshot) { status = undefined } - status ??= hostStatusProbe.request(client!, undefined, { + status ??= readHostStatusReply(client!, { signal, timeoutMs: 15_000, failWhenDisconnected: true, diff --git a/mobile/src/query/host-status-query.ts b/mobile/src/query/host-status-query.ts new file mode 100644 index 00000000000..fa6fb48b8a8 --- /dev/null +++ b/mobile/src/query/host-status-query.ts @@ -0,0 +1,135 @@ +import { hostStatusProbe, readProbedHostStatus } from '../transport/host-status-probe-operations' +import type { HostStatusReply } from '../transport/host-status-reply-schema' +import type { RpcClient, SendRequestOptions } from '../transport/rpc-client' +import type { RpcResponse } from '../transport/types' +import type { UnvalidatedRpcRequestPort } from '../transport/unvalidated-rpc-request-port' + +export type HostStatusClient = UnvalidatedRpcRequestPort & + Partial> + +type LandedStatus = { reply: RpcResponse; status: HostStatusReply } +type ConnectionStatus = { epoch: string; landed?: LandedStatus; pending?: Promise } + +// Keyed by client, so each JS world (native heap, each page document) holds its own. +const statuses = new WeakMap() + +export const hostConnectionEpoch = (client: HostStatusClient) => + `${client.getGeneration?.()}:${client.getLastConnectedAt?.()}` + +// Why: a routed view answers status.get from a server behind the desktop, which can restart or reconnect while +// this connection stays up, and a client with no connect time has no epoch to hold an answer to. +export function directConnectionEpoch(client: HostStatusClient): string | null { + return client.requestRoute === undefined && typeof client.getLastConnectedAt?.() === 'number' + ? hostConnectionEpoch(client) + : null +} + +const decodedReplies = new WeakMap>() + +/** Decodes a status.get reply once; decoding reports salvaged fields, and joined readers share one reply. */ +export function decodeHostStatusReply(reply: RpcResponse): ReturnType { + if (decodedReplies.has(reply)) { + return decodedReplies.get(reply) ?? null + } + const decoded = readProbedHostStatus(reply) + decodedReplies.set(reply, decoded) + return decoded +} + +// Keep each caller's own call shape: recordings pin the arguments a read was sent with. +function sendStatusGet(client: HostStatusClient, options: SendRequestOptions | undefined) { + return options + ? hostStatusProbe.request(client, undefined, options) + : hostStatusProbe.request(client) +} + +// The live direct connection that answers this client's status.get, or null when none may hold an answer. +// status.get carries no params, so a view that routes by params sends it where its base client would. +function statusConnection( + client: HostStatusClient +): { connection: HostStatusClient; epoch: string } | null { + const route = client.requestRoute?.(undefined) + if (route) { + return route.intermediary || route.client === client ? null : statusConnection(route.client) + } + const epoch = client.getState?.() === 'connected' ? directConnectionEpoch(client) : null + return epoch === null ? null : { connection: client, epoch } +} + +/** The status this connection already received; undefined when it has none or may not reuse one. */ +export function connectionHostStatus(client: HostStatusClient): LandedStatus | undefined { + const live = statusConnection(client) + if (!live) { + return undefined + } + const entry = statuses.get(live.connection) + return entry?.epoch === live.epoch ? entry.landed : undefined +} + +/** Sends status.get, joining one already out on this connection; a readable answer becomes the connection's status. */ +export function sendHostStatusRead( + client: HostStatusClient, + options?: SendRequestOptions +): Promise { + const live = statusConnection(client) + if (!live) { + return sendStatusGet(client, options) + } + const { connection, epoch } = live + let entry = statuses.get(connection) + if (entry?.epoch !== epoch) { + entry = { epoch } + statuses.set(connection, entry) + } + if (entry.pending) { + return entry.pending + } + const owner = entry + // Other readers join this send, so one reader's abort or fence must not fail theirs; it is a read, so sending is safe. + const { signal: _signal, beforeSend: _beforeSend, ...shared } = options ?? {} + const pending = sendStatusGet(client, options && shared).then((reply) => { + const status = decodeHostStatusReply(reply)?.status + const now = statusConnection(client) + if (status && now?.connection === connection && now.epoch === epoch) { + owner.landed = { reply, status } + } + return reply + }) + owner.pending = pending + const settle = () => { + if (owner.pending === pending) { + owner.pending = undefined + } + } + void pending.then(settle, settle) + return pending +} + +/** + * The connection's status, read at most once per connection. Only for fields fixed for the desktop process's life + * (protocol window, non-browser capabilities, platform, runtime id); a restart is a new connection. Live fields + * (screencast capability, floating workspace flag, Windows shell) need a fresh read: the host gate reads on every mount. + */ +export function readHostStatusReply( + client: HostStatusClient, + options?: SendRequestOptions +): Promise { + const landed = connectionHostStatus(client) + return landed ? Promise.resolve(landed.reply) : sendHostStatusRead(client, options) +} + +/** + * A status.get operation whose requests take the connection's status instead of sending their own. + * `live` readers need a field the desktop can change while connected, so they only join a read already out. + */ +export function connectionHostStatusRead( + read: { operation: { method: 'status.get' }; interpret: (reply: RpcResponse) => Verdict }, + reuse: 'landed' | 'live' = 'landed' +) { + const send = reuse === 'live' ? sendHostStatusRead : readHostStatusReply + return Object.freeze({ + interpret: read.interpret, + request: (client: HostStatusClient, _params?: undefined, options?: SendRequestOptions) => + send(client, options) + }) +} diff --git a/mobile/src/tasks/mobile-agent-launch-architecture.test.ts b/mobile/src/tasks/mobile-agent-launch-architecture.test.ts index 40ad4d3ecb9..dde90394302 100644 --- a/mobile/src/tasks/mobile-agent-launch-architecture.test.ts +++ b/mobile/src/tasks/mobile-agent-launch-architecture.test.ts @@ -94,6 +94,7 @@ function scenario( // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the logical client reaches these transport methods; each mutation uses the production dispatcher. return { getState: () => 'connected', + getLastConnectedAt: () => null, onStateChange: () => () => {}, close: () => rejectFirst?.(markRpcDeliveryUnknown(new Error('Connection lost'))), sendRequest: async (method: string, params: unknown) => { diff --git a/mobile/src/tasks/mobile-task-runtime-operations.ts b/mobile/src/tasks/mobile-task-runtime-operations.ts index a2e6e4b3932..716921fe9c4 100644 --- a/mobile/src/tasks/mobile-task-runtime-operations.ts +++ b/mobile/src/tasks/mobile-task-runtime-operations.ts @@ -1,5 +1,6 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' import { rpcResultVariant } from '../transport/rpc-operation-result-reader' +import { connectionHostStatusRead } from '../query/host-status-query' import { taskLinearStatusSchema, taskPreferenceWriteSchema, @@ -9,14 +10,16 @@ import { } from './task-runtime-reply-schema' // Task hydration requires status; create-time capability probing may skip the same method’s refusal. -export const taskRuntimeStatusRead = bindDeferredRpcOperation( - defineRpcOperation({ - name: 'status.task-runtime', - method: 'status.get', - acceptance: 'require-result-or-throw-message', - barrier: 'after-caller-barrier', - read: rpcResultVariant('runtime-status', taskRuntimeStatusSchema) - }) +export const taskRuntimeStatusRead = connectionHostStatusRead( + bindDeferredRpcOperation( + defineRpcOperation({ + name: 'status.task-runtime', + method: 'status.get', + acceptance: 'require-result-or-throw-message', + barrier: 'after-caller-barrier', + read: rpcResultVariant('runtime-status', taskRuntimeStatusSchema) + }) + ) ) // Persisted UI state is advisory; refusal retains screen defaults. diff --git a/mobile/src/tasks/mobile-workspace-create-operations.ts b/mobile/src/tasks/mobile-workspace-create-operations.ts index 87f94267a8b..84dd7a92dc6 100644 --- a/mobile/src/tasks/mobile-workspace-create-operations.ts +++ b/mobile/src/tasks/mobile-workspace-create-operations.ts @@ -5,6 +5,7 @@ import { } from '../../../src/shared/agent-launch/contracts/agent-launch-intent' import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc-operation' import { rpcResultVariant } from '../transport/rpc-operation-result-reader' +import { connectionHostStatusRead } from '../query/host-status-query' import { agentLaunchCreateReceiptSchema, worktreeCreateReceiptSchema, @@ -67,14 +68,16 @@ export const worktreeMrBaseResolve = bindDeferredRpcOperation( ) // Create-time status is advisory and may skip refusal; Tasks hydration requires the same reply to succeed. -export const worktreeCreateCapabilityRead = bindDeferredRpcOperation( - defineRpcOperation({ - name: 'status.create-capabilities-or-skip', - method: 'status.get', - acceptance: 'success-result-or-skip', - barrier: 'after-caller-barrier', - read: rpcResultVariant('runtime-status', taskRuntimeStatusSchema) - }) +export const worktreeCreateCapabilityRead = connectionHostStatusRead( + bindDeferredRpcOperation( + defineRpcOperation({ + name: 'status.create-capabilities-or-skip', + method: 'status.get', + acceptance: 'success-result-or-skip', + barrier: 'after-caller-barrier', + read: rpcResultVariant('runtime-status', taskRuntimeStatusSchema) + }) + ) ) // Warmup refusal only loses a speed-up, including on older hosts without the method. diff --git a/mobile/src/test-support/bridged-parity/c5-page-closure.ts b/mobile/src/test-support/bridged-parity/c5-page-closure.ts index 3bd1ecf6d17..ca5932fc536 100644 --- a/mobile/src/test-support/bridged-parity/c5-page-closure.ts +++ b/mobile/src/test-support/bridged-parity/c5-page-closure.ts @@ -15,7 +15,6 @@ export const C5_PAGE_CLOSURE: PageClosurePins = { 'aivault-history-screen-listed': 'write-ordinal', 'aivault-history-screen-worktrees': 'write-ordinal', 'matrix-aivault.history-screen-platform-status': 'result-absent-settlement', - 'matrix-aivault.history-screen-status.get-2': 'result-absent-settlement', 'matrix-aivault.history-screen-worktree.ps-1': 'result-absent-settlement' }, 'aiVault.resume-launch': { diff --git a/mobile/src/test-support/bridged-parity/divergence-classes.ts b/mobile/src/test-support/bridged-parity/divergence-classes.ts index b9d95ebb085..a046852a834 100644 --- a/mobile/src/test-support/bridged-parity/divergence-classes.ts +++ b/mobile/src/test-support/bridged-parity/divergence-classes.ts @@ -118,7 +118,7 @@ export const BRIDGED_PARITY_EXCLUSIONS: Readonly> = { identical: 387, 'reply-meta-required': 0, - 'result-absent-settlement': 336, + 'result-absent-settlement': 335, 'result-absent-observation': 3, 'result-absent-stream-release': 6, 'params-undefined': 27, diff --git a/mobile/src/transport/host-status-gates.ts b/mobile/src/transport/host-status-gates.ts index 734743d8539..5fc83b4607b 100644 --- a/mobile/src/transport/host-status-gates.ts +++ b/mobile/src/transport/host-status-gates.ts @@ -74,10 +74,6 @@ export function hostStatusGatesFromStatus( // Keyed by the cached answer so a connection's proven gates keep one identity across renders. const gatesByProbedStatus = new WeakMap() -const PROBED_UNREADABLE_GATES: HostStatusGates = { - ...UNREADABLE_STATUS_GATES, - statusPending: false -} // Draw at once from the status this connection already proved; the gate's own read still refreshes live capabilities. function readProbedGates( @@ -85,12 +81,9 @@ function readProbedGates( connState: ConnectionState ): HostStatusGates | null { const status = client && connState === 'connected' ? readConnectionStatusProbe(client) : undefined - if (status === undefined) { + if (!status) { return null } - if (status === null) { - return PROBED_UNREADABLE_GATES - } let gates = gatesByProbedStatus.get(status) if (!gates) { gates = { ...hostStatusGatesFromStatus(status), statusPending: false } diff --git a/mobile/src/transport/runtime-status-probe.test.ts b/mobile/src/transport/runtime-status-probe.test.ts index 24ca2cc00d3..f77c590e83b 100644 --- a/mobile/src/transport/runtime-status-probe.test.ts +++ b/mobile/src/transport/runtime-status-probe.test.ts @@ -10,7 +10,7 @@ type ProbeOutcome = RpcResponse | Error function makeClient(outcomes: ProbeOutcome[]): { client: UnvalidatedRpcRequestPort calls: () => number - requests: () => Parameters[] + methods: () => string[] } { let calls = 0 const client = { @@ -20,7 +20,11 @@ function makeClient(outcomes: ProbeOutcome[]): { return outcome instanceof Error ? Promise.reject(outcome) : Promise.resolve(outcome) }) } - return { client, calls: () => calls, requests: () => client.sendRequest.mock.calls } + return { + client, + calls: () => calls, + methods: () => client.sendRequest.mock.calls.map(([method]) => method) + } } const ok = (result: unknown): RpcResponse => ({ @@ -47,7 +51,7 @@ describe('startRuntimeStatusProbe', () => { }) it('delivers the parsed status once and stops', async () => { - const { client, calls, requests } = makeClient([ + const { client, calls, methods } = makeClient([ ok({ machineName: 'm4airs-Air', hostPlatform: 'darwin', capabilities: ['a.v1'] }) ]) const seen: (HostStatusReply | null)[] = [] @@ -59,7 +63,7 @@ describe('startRuntimeStatusProbe', () => { hostPlatform: 'darwin', capabilities: ['a.v1'] }) - expect(requests()).toEqual([['status.get']]) + expect(methods()).toEqual(['status.get']) expect(calls()).toBe(1) await vi.advanceTimersByTimeAsync(60_000) expect(calls()).toBe(1) @@ -67,7 +71,7 @@ describe('startRuntimeStatusProbe', () => { }) it('delivers null for an answer this build cannot decode, without retrying', async () => { - const { client, calls, requests } = makeClient([ok(null)]) + const { client, calls, methods } = makeClient([ok(null)]) const seen: (HostStatusReply | null)[] = [] const failed = vi.fn() cancelProbe = startRuntimeStatusProbe(client, (status) => seen.push(status), failed) @@ -76,7 +80,7 @@ describe('startRuntimeStatusProbe', () => { await vi.advanceTimersByTimeAsync(60_000) expect(seen).toEqual([null]) expect(failed).not.toHaveBeenCalled() - expect(requests()).toEqual([['status.get']]) + expect(methods()).toEqual(['status.get']) expect(vi.getTimerCount()).toBe(0) expect(calls()).toBe(1) cancelProbe() @@ -89,7 +93,7 @@ describe('startRuntimeStatusProbe', () => { error: { code: 'unavailable', message: 'no' }, _meta: { runtimeId: 'r1' } } - const { client, calls, requests } = makeClient([ + const { client, calls, methods } = makeClient([ refusal, new LogicalClientCutoverError(), ok({ machineName: 'Studio' }) @@ -112,13 +116,13 @@ describe('startRuntimeStatusProbe', () => { expect(seen).toHaveLength(1) expect(seen[0]).toMatchObject({ machineName: 'Studio' }) expect(calls()).toBe(3) - expect(requests()).toEqual([['status.get'], ['status.get'], ['status.get']]) + expect(methods()).toEqual(['status.get', 'status.get', 'status.get']) expect(vi.getTimerCount()).toBe(0) cancelProbe() }) it('reports failed attempts after scheduling retries and cancels pending work', async () => { - const { client, calls, requests } = makeClient([ + const { client, calls, methods } = makeClient([ new Error('request timed out'), new LogicalClientCutoverError() ]) @@ -149,6 +153,6 @@ describe('startRuntimeStatusProbe', () => { expect(failed).toBe(2) expect(failedTimerCounts).toEqual([1, 1]) expect(calls()).toBe(2) - expect(requests()).toEqual([['status.get'], ['status.get']]) + expect(methods()).toEqual(['status.get', 'status.get']) }) }) diff --git a/mobile/src/transport/runtime-status-probe.ts b/mobile/src/transport/runtime-status-probe.ts index b88ad9363f5..c0d468ae12f 100644 --- a/mobile/src/transport/runtime-status-probe.ts +++ b/mobile/src/transport/runtime-status-probe.ts @@ -1,11 +1,14 @@ -import type { RpcClient } from './rpc-client' -import type { UnvalidatedRpcRequestPort } from './unvalidated-rpc-request-port' -import { hostStatusProbe, readProbedHostStatus } from './host-status-probe-operations' import type { HostStatusReply } from './host-status-reply-schema' import { isLogicalClientCutoverError } from './stable-logical-rpc-client' +import { + connectionHostStatus, + decodeHostStatusReply, + directConnectionEpoch, + hostConnectionEpoch, + sendHostStatusRead, + type HostStatusClient +} from '../query/host-status-query' -type ProbeClient = UnvalidatedRpcRequestPort & - Partial> type ProbeListener = { onStatus: (status: HostStatusReply | null) => void onAttemptFailed?: () => void @@ -18,33 +21,22 @@ type SharedProbe = { } type EpochStatus = { epoch: string; status: HostStatusReply | null } const observed = new WeakMap() -// Only answers this probe received; recorded proofs may merge in capabilities from an earlier read. -const probed = new WeakMap() const sharedProbes = new WeakMap() -export const runtimeStatusProbeEpoch = (client: ProbeClient) => - `${client.getGeneration?.()}:${client.getLastConnectedAt?.()}` -export function readRuntimeStatusProbe(client: ProbeClient): HostStatusReply | null | undefined { +export const runtimeStatusProbeEpoch = hostConnectionEpoch +export function readRuntimeStatusProbe( + client: HostStatusClient +): HostStatusReply | null | undefined { const entry = observed.get(client) return entry?.epoch === runtimeStatusProbeEpoch(client) ? entry.status : undefined } -// Why: a routed view answers status.get from a server behind the desktop, which can restart or reconnect while -// this connection stays up, and a client with no connect time has no epoch to hold an answer to. -function connectionEpoch(client: ProbeClient): string | null { - return client.requestRoute === undefined && typeof client.getLastConnectedAt?.() === 'number' - ? runtimeStatusProbeEpoch(client) - : null -} - -/** The status this connection already proved, or undefined when it may not stand in for a new read. */ -export function readConnectionStatusProbe(client: ProbeClient): HostStatusReply | null | undefined { - const epoch = connectionEpoch(client) - const entry = probed.get(client) - return epoch !== null && entry?.epoch === epoch ? entry.status : undefined +/** The status this connection already received, or undefined when it may not stand in for a new read. */ +export function readConnectionStatusProbe(client: HostStatusClient): HostStatusReply | undefined { + return connectionHostStatus(client)?.status } export function recordRuntimeStatusProbe( - client: ProbeClient, + client: HostStatusClient, status: HostStatusReply | null ): void { observed.set(client, { epoch: runtimeStatusProbeEpoch(client), status }) @@ -58,11 +50,11 @@ const FAILURE_RETRY_MAX_DELAY_MS = 15_000 // Deliver unreadable answers as null without retry; refusals/rejections retry and notify onAttemptFailed after scheduling. // Accept the raw sender type because capability callers need not hold a full client. export function startRuntimeStatusProbe( - client: ProbeClient, + client: HostStatusClient, onStatus: (status: HostStatusReply | null) => void, onAttemptFailed?: () => void ): () => void { - const epoch = connectionEpoch(client) + const epoch = directConnectionEpoch(client) if (epoch === null) { return runProbe(client, { onStatus, onAttemptFailed }).stop } @@ -87,7 +79,7 @@ export function startRuntimeStatusProbe( } } -function startSharedProbe(client: ProbeClient, epoch: string): SharedProbe { +function startSharedProbe(client: HostStatusClient, epoch: string): SharedProbe { const listeners = new Set() const each = (notify: (listener: ProbeListener) => void) => [...listeners].forEach(notify) const probe: SharedProbe = { @@ -108,7 +100,7 @@ function startSharedProbe(client: ProbeClient, epoch: string): SharedProbe { } function runProbe( - client: ProbeClient, + client: HostStatusClient, listener: ProbeListener ): { retryNow: () => void; stop: () => void } { const epoch = runtimeStatusProbeEpoch(client) @@ -118,20 +110,18 @@ function runProbe( function attempt(): void { retryTimer = null - void hostStatusProbe.request(client).then( + void sendHostStatusRead(client).then( (reply) => { if (cancelled) { return } - const landed = readProbedHostStatus(reply) + const landed = decodeHostStatusReply(reply) if (!landed) { scheduleRetry(false) return } if (epoch === runtimeStatusProbeEpoch(client)) { - const entry = { epoch, status: landed.status } - observed.set(client, entry) - probed.set(client, entry) + observed.set(client, { epoch, status: landed.status }) } listener.onStatus(landed.status) },