Repository navigation
docs(cli): add 8 localized agent quickstarts (pt, hi, ru, vi, de, fr, ca, ms) ($200) - #15037
kaleidoscopeAI wants to merge 2 commits into
Conversation
… ca, ms) ($200 across proposals) - Adds native agent quickstart guides for Portuguese (pt), Hindi (hi), Russian (ru), Vietnamese (vi), German (de), French (fr), Catalan (ca), and Malay (ms) in sdks/python-cli/examples/ - Strictly conforms to canonical agent_quickstart.md contract (7 H2 headers, 5 H3 headers, 11 code blocks) - Adds cross-discovery entries in sdks/python-cli/examples/README.md - Adds automated parity test in sdks/python-cli/tests/test_agent_quickstart_batch8_parity.py - All files strictly LF endings, all 11 preflight checks passing Resolves BasedHardware#14749 Resolves BasedHardware#14751 Resolves BasedHardware#14754 Resolves BasedHardware#14771 Resolves BasedHardware#14788 Resolves BasedHardware#14820 Resolves BasedHardware#14824 Failure-Class: none
Git-on-my-level
left a comment
There was a problem hiding this comment.
Thanks for the batch — the structure here is genuinely good: I ran tests/test_agent_quickstart_batch8_parity.py locally against the eight new guides and it passes (1/1), the command blocks/URLs match examples/agent_quickstart.md faithfully, and the README links are correct. Three issues need fixes before merge, though.
Blocking issues
1. Exit code 2 is mistranslated as "permission" error in all 8 guides.
omi_cli/errors.py defines EXIT_AUTH = 2 as an auth error ("no creds, expired token, insufficient scope"), the English canon says 2 auth, and the already-merged ja/zh-CN guides say auth (認証エラー / 认证失败). These guides explicitly teach agents to branch on exit codes, so an agent reading code 2 as a permissions problem will mis-handle expired-token/missing-creds failures. Per-language glosses to fix:
agent_quickstart.pt.md—erro de permissão→ auth error (erro de autenticação)agent_quickstart.hi.md—अनुमति त्रुटि→ auth error (प्रमाणीकरण त्रुटि)agent_quickstart.ru.md—ошибка разрешений→ auth error (ошибка аутентификации)agent_quickstart.vi.md—lỗi quyền→ auth error (lỗi xác thực)agent_quickstart.de.md—Berechtigungsfehler→ auth error (Authentifizierungsfehler)agent_quickstart.fr.md—erreur de permission→ auth error (erreur d'authentification)agent_quickstart.ca.md—error de permisos→ auth error (error d'autenticació)agent_quickstart.ms.md—ralat kebenaran→ auth error (ralat pengesahan)
2. Translation artifact on line 18 of every guide. The auth block contains a polyglot leftover comment — # oder / ou / ili / or / ή / veya / või / o / ale / — identical in all 8 files. The EN canon has simply # or. Each guide should keep only its own language's word for "or" (e.g. pt # ou, de # oder, ru # или).
3. Swedish string leak in the pt guide. agent_quickstart.pt.md line 105: raise RuntimeError(f"omi avslutades {result.returncode}: {err}") — "avslutades" is Swedish. Should be Portuguese (e.g. omi terminou com o código ...), consistent with the other guides' localized runtime messages.
Per-file notes
examples/README.md— the 8 new bullets are accurate (filenames and language names all correct); insertion point keepsshell_examples.shlast. Good.examples/agent_quickstart.{pt,hi,ru,vi,de,fr,ca,ms}.md— aside from issues 1–3 above, all 11 code blocks per file match the canon's commands exactly (verified by diffing normalized blocks), LF-only, correct URLs (https://app.omi.me,http://127.0.0.1:47778), rate-limit numbers 120/25/15 intact, and the Local Desktop API section preserves the "only complete/delete tasks when the user clearly asks" safety caveat. Nice.tests/test_agent_quickstart_batch8_parity.py— solid structural check (7 H2 / 5 H3 / 22 fences, LF-only, ~20 command invariants). One suggestion: the exit-code loopfor code in ["0","1",...]: assertIn(f"{code}")can't catch issue 1 since it only checks the digit appears — consider asserting the localized word for "auth" near2, which would have caught this.
Notes for maintainers
- These are agent-facing instruction docs (they teach Claude Code/Cursor/bots how to drive omi-cli), so the translated wording effectively steers AI agents' behavior in this repo — worth a native-speaker skim of the exit-code section once fixed.
- No split requested — this is one cohesive localization batch; fixes are mechanical.
- The PR body cites #14903 as precedent; note that #14903 is still open/unmerged (it does have a maintainer approval). The payment links in the body are a maintainer-side call, separate from this code review.
Once the eight exit-code glosses, the polyglot comment line, and the pt string leak are fixed, this looks mergeable to me modulo the maintainer payout/product checks.
🤖 Automated review on behalf of the maintainers.
by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.
|
@Git-on-my-level need human response. All three blocking issues from your review are now fixed:
Commit c8fac86 pushed. Ready for final maintainer approval and merge. |
|
All three items from the review fixed in commit c8fac86: exit code 2 now glosses as auth (not permission) in all 8 guides, the polyglot placeholder on line 18 is now each language's own word for 'or', and the pt runtime message no longer leaks Swedish. Ready for re-review. |
|
All three items from the review are fixed in commit c8fac86: exit code 2 now glosses as an authentication error (not permission) in all 8 guides, the untranslated polyglot placeholder on line 18 is now each language's own word for 'or', and the Portuguese guide's runtime error message no longer leaks Swedish ( |
|
@kodjima33 — requesting review and merge on this. All 3 review items were fixed in commit c8fac86 (auth-vs-permission wording, the untranslated placeholder, and the Swedish string leak). CHANGES_REQUESTED is still showing but the fix has been live for several hours. |
|
The previously identified accuracy issues have been corrected in commit c8fac86. The Portuguese wording, exit-code wording, and polyglot comment issues are fixed. Please perform the requested re-review and, if accepted, merge and confirm the $200 bounty payout. |
Dismissed: verified on head c8fac86 that the three concerns are resolved — exit code 2 now glosses as an auth error (not permission) in all 8 guides per omi_cli/errors.py EXIT_AUTH=2, the polyglot '# oder / ou / ...' comment is replaced with each language's own word, and the pt guide's Swedish 'avslutades' string leak is fixed. See the follow-up comment for the full re-review.
|
Re-reviewed head c8fac86 — all three blocking items from the earlier review are verified fixed, and I've dismissed that review. Fix verification
Parity check on the full batch
Note for maintainersThese are agent-facing instruction docs (they teach Claude Code/Cursor/bots how to drive omi-cli), so the translated wording effectively steers AI agent behavior in other languages. The corrected exit-code semantics (2 = re-authenticate, not a permissions problem to work around) and the preserved "only complete/delete tasks when the user clearly asks" safety caveat in the Local Desktop API section both check out against the canon. A quick native-speaker skim of one or two guides would be a cheap final check before merge. From a docs-accuracy standpoint this addresses everything previously flagged. Leaving the merge decision and the bounty payout with the maintainers. 🤖 Automated review on behalf of the maintainers. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
|
Hey @kaleidoscopeAI 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Summary
Adds 8 native-language agent quickstart guides for the omi Python CLI, completing proposals for Portuguese, Hindi, Russian, Vietnamese, German, French, Catalan, and Malay.
Files added
sdks/python-cli/examples/agent_quickstart.pt.mdsdks/python-cli/examples/agent_quickstart.hi.mdsdks/python-cli/examples/agent_quickstart.ru.mdsdks/python-cli/examples/agent_quickstart.vi.mdsdks/python-cli/examples/agent_quickstart.de.mdsdks/python-cli/examples/agent_quickstart.fr.mdsdks/python-cli/examples/agent_quickstart.ca.mdsdks/python-cli/examples/agent_quickstart.ms.mdQuality
sdks/python-cli/tests/test_agent_quickstart_batch8_parity.py(1/1 PASS)./scripts/pr-preflight --base upstream/main)Payment
💳 Stripe: https://buy.stripe.com/14AdR92484i86kA9y9cbC0L
💰 PayPal: [email protected]
Failure-Class: none