Skip to content

Commit 077e35f

Browse files
authored
feat(ios): read-only workspace Files browser on the Agents surface (#100767)
* feat(ios): add read-only workspace Files browser to the Agents surface * fix(ios): keep nav bar visible on pushed workspace file routes * fix(ios): make workspace file navigation stack-safe * docs(ios): note workspace file browser * fix(ios): isolate workspace share exports * chore(i18n): refresh iOS Files inventory * refactor(ios): encode workspace requests before dispatch * chore(i18n): refresh iOS inventory after rebase
1 parent 84f21bd commit 077e35f

12 files changed

Lines changed: 578 additions & 66 deletions

apps/.i18n/native-source.json

Lines changed: 158 additions & 62 deletions
Large diffs are not rendered by default.

apps/ios/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44

5+
- Added a read-only Files browser for agent workspaces with directory navigation, text and image previews, and share-sheet export.
56
- Fixed Apple Watch connection setup so pairing and companion-install changes refresh immediately and cold launches wait for WatchConnectivity activation before sending.
67
- Redesigned the Settings About screen with the animated mascot, app tagline, and Website/Docs/GitHub/Discord links.
78
- Fixed startup aborts caused by inactive Voice Wake initializing the simulator audio pipeline.

apps/ios/Sources/Design/AgentProTab+Destinations.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,17 @@ extension AgentProTab {
1818
self.usageDestination
1919
case .dreaming:
2020
self.dreamingDestination
21+
case .files:
22+
self.filesDestination
2123
}
2224
}
2325

26+
var filesDestination: some View {
27+
AgentWorkspaceFilesScreen(
28+
agentId: self.activeAgentID,
29+
headerLeadingAction: self.directHeaderLeadingAction(for: .files))
30+
}
31+
2432
var agentsDestination: some View {
2533
List {
2634
Section {

apps/ios/Sources/Design/AgentProTab+Overview.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,13 @@ extension AgentProTab {
187187
detail: self.usageDetail,
188188
color: self.gatewayConnected ? OpenClawBrand.accent : .secondary,
189189
route: .usage)
190+
self.metricTile(
191+
icon: "folder",
192+
title: "Files",
193+
value: self.activeAgentID,
194+
detail: "Workspace files",
195+
color: self.gatewayConnected ? OpenClawBrand.accent : .secondary,
196+
route: .files)
190197
}
191198
.padding(.horizontal, OpenClawProMetric.pagePadding)
192199

apps/ios/Sources/Design/AgentProTab.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ struct AgentProTab: View {
3939
case cron
4040
case usage
4141
case dreaming
42+
case files
4243
}
4344

4445
enum SkillStatusFilter: String, CaseIterable, Identifiable {

0 commit comments

Comments
 (0)