Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(mobile): 运行设备不可达时协同面板不再显示 Worker「空闲」
DavidShen5aefb07ec11a
diff --git a/apps/mobile/src/__tests__/orcaCollabScreenWiring.test.ts b/apps/mobile/src/__tests__/orcaCollabScreenWiring.test.tsindex 3e352c68bd..26911baf0d 100644--- a/apps/mobile/src/__tests__/orcaCollabScreenWiring.test.ts+++ b/apps/mobile/src/__tests__/orcaCollabScreenWiring.test.ts@@ -20,6 +20,8 @@ describe('mobile Orca collaboration wiring', () => {const collabView = read('src/session/ContextSheetCollabView.tsx');expect(collabView).not.toMatch(/\.focused\b/);expect(collabView).not.toContain('session.collab.focused');+ // 运行设备不可达时状态未知:行内写「暂时无法获取状态」,右侧不再同时显示「空闲」。+ expect(collabView).toContain("trailing={worker.executionDevice?.reachable === false ? undefined : (");});it('keeps the Worker model picker separate from the task model', () => {diff --git a/apps/mobile/src/session/ContextSheetCollabView.tsx b/apps/mobile/src/session/ContextSheetCollabView.tsxindex 78c679d630..b583d94bff 100644--- a/apps/mobile/src/session/ContextSheetCollabView.tsx+++ b/apps/mobile/src/session/ContextSheetCollabView.tsx@@ -259,7 +259,7 @@ export function OrcaTeamPanelView({onLongPress={() => onWorkerLongPress(worker)}onPress={() => onWorkerPress(worker)}testID={`collab.worker.${worker.workerId}`}- trailing={(+ trailing={worker.executionDevice?.reachable === false ? undefined : (<Text style={{ color: worker.status === 'error' ? colors.statusError : colors.textTertiary, fontSize: typeScale.footnote, lineHeight: lineHeight.caption }}>{orcaWorkerStatusLabel(worker.status)}</Text>