Repository navigation
fix(qr): replace qrcode-terminal with qrcode-tui - #65969
Conversation
|
Additional context for reviewers:
The remaining wait right now is GitHub Actions queue time on the PR-side runs. |
Greptile SummaryThis PR replaces
Confidence Score: 4/5Not safe to merge without addressing the self-authored dependency governance question and moving the boundary-violating guard test to core. Two P1 findings: the PR author adding their own npm package under a semver range (supply chain concern requiring explicit team sign-off), and an extension test asserting core source file contents in violation of the documented extension/core boundary. The code structure is otherwise clean and the seam design is sound. package.json (self-authored dependency, version range), extensions/whatsapp/src/login.test.ts (boundary-crossing guard test)
|
51edaee to
5ff6f74
Compare
|
addressed the review follow-ups on
local verification:
|
This comment has been minimized.
This comment has been minimized.
007022b to
ee2f560
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ee2f560927
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
54f5dcf to
32eacf3
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 32eacf39db
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
32eacf3 to
fc72f1e
Compare
Summary
qrcode-terminaldirectly in the CLI and bundled plugins, and the shared PNG QR path deep-importedqrcode-terminalvendor internals.@vincentkoc/qrcode-tui; removed the old type shim and dependency edges; added a host-ownedmedia-runtimeQR terminal seam so plugins no longer reach into the external package directly; updated the Docker QR smoke/docs/tests to exercise the maintained package.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
--outputflag or HTTP endpoint #45652Root Cause (if applicable)
qrcode-terminal: direct terminal rendering in CLI/plugin code, deep vendor imports for PNG generation, and a Docker smoke that only proved the stale package could still load.qrcode-terminalfor newer Node parsing instead of removing the stale dependency from the product path.Regression Test Plan (if applicable)
src/cli/qr-cli.test.ts,extensions/whatsapp/src/login.test.ts,extensions/whatsapp/src/session.test.ts,extensions/feishu/src/setup-surface.test.ts,src/docker-build-cache.test.tsqrcode-terminalor vendor internals.extensions/feishu/src/setup-surface.test.tsalready covers the Feishu setup surface that calls intoprintQrCode.User-visible / Behavior Changes
@vincentkoc/qrcode-tuiinstead ofqrcode-terminal.Diagram (if applicable)
Security Impact (required)
Yes/No) NoYes/No) NoYes/No) NoYes/No) NoYes/No) NoYes, explain risk + mitigation:Repro + Verification
Environment
Steps
@vincentkoc/qrcode-tuiacross the CLI, plugin, and shared QR runtime seams.openclaw/plugin-sdk/media-runtimevia tiny plugin-local barrels.qrcode-terminalimport to the maintained package.pnpm build, andpnpm check.Expected
qrcode-terminalor vendor deep-imports.Actual
Evidence
Attach at least one:
Human Verification (required)
What you personally verified (not just CI), and how:
pnpm test src/cli/qr-cli.test.ts extensions/whatsapp/src/login.test.ts extensions/whatsapp/src/session.test.ts extensions/feishu/src/setup-surface.test.ts;pnpm test src/docker-build-cache.test.ts -t "copies manifests before install in the qr-import image";pnpm build;pnpm checkReview Conversations
If a bot review conversation is addressed by this PR, resolve that conversation yourself. Do not leave bot review conversation cleanup for maintainers.
Compatibility / Migration
Yes/No) YesYes/No) NoYes/No) NoRisks and Mitigations
qrcode-terminalin whitespace or compactness.@vincentkoc/qrcode-tuiis now part of the runtime/install graph.