Skip to content

Refine compact System App UI and add file deletion - #20

Open
siwei-yuan wants to merge 2 commits into
pocket-stack:mainfrom
siwei-yuan:codex/chat-layout-file-delete
Open

Refine compact System App UI and add file deletion#20
siwei-yuan wants to merge 2 commits into
pocket-stack:mainfrom
siwei-yuan:codex/chat-layout-file-delete

Conversation

@siwei-yuan

Copy link
Copy Markdown
Collaborator

Summary

  • wrap compact keyboard input and bound chat previews to their real card height
  • add a Files delete mode matching the Apps uninstall UI
  • route Files UI and the Agent-facing workspace.delete Tool through one Pi Agent deleteFile Action
  • mount declared App filesystems in Action Guests and publish file-backed View invalidation through the existing App revision
  • update System App ownership, source contract, and runtime documentation

Architecture

The Pi Agent System App owns deleteFile. UI and Agent actors invoke the same Action. Native code only provides generic capability-based filesystem mounts, bounded Action execution, and revision delivery. The View SDK callback is generic and carries no App data.

Validation

  • cargo test --workspace: 55 passed
  • cargo clippy --workspace --all-targets -- -D warnings
  • bun test apps/pi-agent/text.test.js: 3 passed
  • ESP32-S3 release firmware build passed
  • Simulator visual checks passed at 480x800 and 720x1280
  • ESP32-S3 physical E2E passed for compact text layout, Files delete UI, deletion, and list refresh

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant