-
feat(cli): refresh approval fallback page (#3431)
发布于
2026-05-16 00:41:04 +00:00 Summary
- Refresh the browser fallback tool-approval page with the Composio CLI
landing page visual language: light dithered background, mono terminal
card, and brand-blue actions. - Serve the approval HTML directly from the temporary
127.0.0.1
callback server instead of writing/opening afile://page, so approval
buttons call back to the active CLI process with relative local routes. - Keep the native macOS sidecar as the preferred prompt when available;
the browser prompt remains the fallback when the sidecar is missing or
fails before returning a decision. - Add a CLI patch changeset.
Tests
pnpm exec eslint ts/packages/cli/src/services/tool-permissions.tspnpm --filter @composio/cli typecheck:srcgit diff --check
Notes
- Initially
typecheck:srcfailed before workspace package build
artifacts existed in the fresh worktree; after building required
workspace dependencies it passed.
Co-authored-by: Malay Vasa malayvasa@gmail.com
Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com下载附件
- Refresh the browser fallback tool-approval page with the Composio CLI