Skip to content

docs(cli): add Catalan, Croatian, Lithuanian and Slovak quickstarts ($100 across four bounty proposals) - #13880

Closed
t3ratech wants to merge 5 commits into
BasedHardware:mainfrom
t3ratech:docs/quickstart-ca-hr-lt-sk
Closed

t3ratech wants to merge 5 commits into
BasedHardware:mainfrom
t3ratech:docs/quickstart-ca-hr-lt-sk

Conversation

@t3ratech

@t3ratech t3ratech commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

What changed and why

Adds four more localized quickstart guides for omi-cli — Catalan, Croatian, Lithuanian and Slovak — each following the exact structure and technical invariants of the accepted localized guides (quickstart.ru.md, quickstart.ja.md, etc.).

Closes #13876
Closes #13877
Closes #13878
Closes #13879

Companion to #13875 (Arabic, Vietnamese, Czech, Hebrew). This branch is stacked on that one; once #13875 merges, this PR's diff shrinks to the four new guides plus their index links.

Product invariants affected

none

How it was verified

Each guide mirrors the accepted localized template section-for-section: package/command disambiguation (omi-cli package vs omi command), pipx + pip install, interactive/browser/API-key auth, auth status vs auth whoami, memories/conversations/action-items/goals, ask, global --json placement, exit-code table 0–5, env vars, omi local Desktop API, profiles (--profile/OMI_PROFILE), config location ~/.omi/config.toml. All commands, flags, endpoints and exit codes are copied verbatim from the current CLI surface and existing localized guides; only prose is localized.

Tests

Documentation-only change — no test change needed; no check in .github/checks-manifest.yaml triggers on sdks/python-cli/examples/*.md.

Failure class (fixes)

Failure-Class: none

Review in cubic

Closes BasedHardware#13871
Closes BasedHardware#13872
Closes BasedHardware#13873
Closes BasedHardware#13874

Four new localized quickstart guides for omi-cli, following the exact
structure and technical invariants of the accepted localized guides
(quickstart.ru.md et al.): package/command disambiguation, pipx and pip
install, interactive/browser/API-key auth, status vs whoami, memories,
conversations, action items, goals, ask, global --json placement,
exit-code table 0-5, env vars, Omi Desktop local API, profiles.

Verification: each file mirrors the accepted guide section-for-section;
all commands, flags, endpoints and exit codes are copied verbatim from
the English CLI surface and existing localized guides.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 10 files

Confidence score: 3/5

  • sdks/python-cli/examples/quickstart.ar.md documents exit code 1 for invalid flags and missing arguments, while Click returns code 2, which can mislead users and break scripts that rely on the documented status; align the implementation and documentation, then update all eight affected tables.
  • sdks/python-cli/examples/quickstart.ar.md omits the supported OMI_PROFILE selector, leaving the quickstart incomplete for users of environment-based profile selection; add an example and clarify that --profile overrides OMI_PROFILE.

You’re at about 93% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact [email protected].

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="sdks/python-cli/examples/quickstart.ar.md">

<violation number="1" location="sdks/python-cli/examples/quickstart.ar.md:212">
P2: These tables put bad flags and missing arguments in exit code 1, but the shipped Click parser returns code 2 for those failures. Either normalize Click usage errors to code 1 or document code 2 and update all eight tables.</violation>

<violation number="2" location="sdks/python-cli/examples/quickstart.ar.md:288">
P2: This profile section omits the supported `OMI_PROFILE` selector even though the quickstart is intended to cover both profile mechanisms. Add an environment-based example and state that `--profile` overrides `OMI_PROFILE` so automation cannot accidentally use the active or default profile.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic


---

## 8. الملفات الشخصية

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: This profile section omits the supported OMI_PROFILE selector even though the quickstart is intended to cover both profile mechanisms. Add an environment-based example and state that --profile overrides OMI_PROFILE so automation cannot accidentally use the active or default profile.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At sdks/python-cli/examples/quickstart.ar.md, line 288:

<comment>This profile section omits the supported `OMI_PROFILE` selector even though the quickstart is intended to cover both profile mechanisms. Add an environment-based example and state that `--profile` overrides `OMI_PROFILE` so automation cannot accidentally use the active or default profile.</comment>

<file context>
@@ -0,0 +1,323 @@
+
+---
+
+## 8. الملفات الشخصية
+
+إذا كان لديك أكثر من حساب أو بيئة، افصل بينها بالملفات الشخصية.
</file context>

| الرمز | المعنى | متى يحدث |
| :---: | :--- | :--- |
| `0` | نجاح | اكتمل الأمر |
| `1` | خطأ في الاستدعاء | راية غير صحيحة، وسيط ناقص |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: These tables put bad flags and missing arguments in exit code 1, but the shipped Click parser returns code 2 for those failures. Either normalize Click usage errors to code 1 or document code 2 and update all eight tables.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At sdks/python-cli/examples/quickstart.ar.md, line 212:

<comment>These tables put bad flags and missing arguments in exit code 1, but the shipped Click parser returns code 2 for those failures. Either normalize Click usage errors to code 1 or document code 2 and update all eight tables.</comment>

<file context>
@@ -0,0 +1,323 @@
+| الرمز | المعنى | متى يحدث |
+| :---: | :--- | :--- |
+| `0` | نجاح | اكتمل الأمر |
+| `1` | خطأ في الاستدعاء | راية غير صحيحة، وسيط ناقص |
+| `2` | خطأ في الوصول | لم يتم تسجيل الدخول، المفتاح غير صحيح أو منتهي |
+| `3` | خطأ في الخادم | استجابة 5xx، انتهاء مهلة، انقطاع الاتصال |
</file context>

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @t3ratech — clean execution. I verified the four new guides against the CLI source and the accepted localized template:

  • quickstart.ca.md / quickstart.hr.md / quickstart.lt.md / quickstart.sk.md all mirror the accepted template (quickstart.ru.md) section-for-section: 19 bash blocks each with identical command skeletons (only comments and example strings localized), same 10-section structure, same auth table, global --json placement, omi local examples, profiles, and exit-code table.
  • The exit-code table (0-5) matches the stable contract documented in sdks/python-cli/omi_cli/errors.py (EXIT_USAGE=1 through EXIT_NOT_FOUND=5), so no change is needed there. For the record, raw Click parser errors (e.g. an unknown flag) do exit 2 — that nuance is inherited from the template all localized guides share, so if it's worth fixing anywhere it's a template-wide change, not this PR.
  • omi auth refresh is documented exactly as in the accepted guides and matches commands/auth.py (OAuth profiles refresh the token; API-key profiles get "Nothing to refresh").
  • README.md and examples/README.md additions follow the existing link format and language order.
  • Character scan is clean: no hidden/bidi/control characters, Latin script throughout.

One optional nit: the PR description lists OMI_PROFILE among covered invariants, but the guides document only --profile (the env-var selector defined as ENV_PROFILE in omi_cli/config.py). The accepted template omits it too, so this is a template-wide gap rather than a regression — fine to leave, worth a template decision later.

Two coordination notes for maintainers:

  1. This branch is stacked on docs(cli): add Hebrew (עברית) quickstart guide #13875 (Arabic, Vietnamese, Czech, Hebrew), so the diff currently carries those four files as well; merge order needs a decision.
  2. There are competing open PRs for the same languages — docs(python-cli): add Catalan quickstart guide and discovery links (#13730) #13731 and docs(python-cli): add Irish (ga) and Catalan (ca) quickstart guides (#13739, #13730) #13744 (Catalan), docs(python-cli): add Croatian quickstart guide and discovery links (#13720) #13721 (Croatian), docs(python-cli): add Lithuanian quickstart guide and discovery links (#13722) #13723 (Lithuanian), docs(python-cli): add Slovak quickstart guide and discovery links (#13718) #13719 (Slovak) — each tied to its own bounty issue. Which submission wins per language (and the associated bounty) is a human call; content quality alone doesn't settle it.

Since these guides explicitly address AI agents (recommending omi_dev_* API-key auth for CI/agent use), noting for maintainers that this agent-directed guidance is a faithful localization of the accepted template and matches the CLI's documented auth surface — consistent and safe as-is.

Needs a maintainer decision on the competing same-language submissions and the #13875 merge order before this can land.


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 Git-on-my-level added needs-maintainer-review Needs a human maintainer to sign off before merge i18n Internationalization / localization changes labels Sep 14, 2026
Closes BasedHardware#13876
Closes BasedHardware#13877
Closes BasedHardware#13878
Closes BasedHardware#13879

Four more localized quickstart guides for omi-cli, following the exact
structure and technical invariants of the accepted localized guides.

Verification: each file mirrors the accepted guide section-for-section;
all commands, flags, endpoints and exit codes are copied verbatim from
the English CLI surface and existing localized guides.
@t3ratech
t3ratech force-pushed the docs/quickstart-ca-hr-lt-sk branch from 181cbe6 to 964d076 Compare September 15, 2026 08:11
@t3ratech

Copy link
Copy Markdown
Contributor Author

Review items addressed (commit 964d076):

  1. auth refresh scoped to OAuth — all four guides now limit the command to browser/OAuth sessions and direct omi_dev_* API-key users to rotate the key in the web app under Developer → API Keys.
  2. OMI_PROFILE documented — precedence --profile → OMI_PROFILE → active profile in ~/.omi/config.toml → default, matching omi_cli/main.py.
  3. Exit-code tables corrected — row 1 now describes omi-cli's own validation (e.g. --browser + --api-key together); parser usage errors (unknown flag, missing argument) are documented under code 2, matching Click and the accepted th/da tables.

@t3ratech

t3ratech commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor Author

/claim #13876 PayPal: [email removed]
/claim #13877 PayPal: [email removed]
/claim #13878 PayPal: [email removed]
/claim #13879 PayPal: [email removed]

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs-correctness gate passed: verified real, well-translated content (ca/hr/lt/sk + shared ar/vi/cs/he) and confirmed every 'omi ...' command against the real CLI source.

@t3ratech

Copy link
Copy Markdown
Contributor Author

Superseded: ca/hr/lt/sk quickstarts all landed on main via other PRs (#14005–#14007 and friends). No remaining diff value — closing.

@t3ratech t3ratech closed this Sep 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hey @t3ratech 👋

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:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our product principles and locked invariants

Before your next PR, please skim:

  • PRODUCT.md — product north star
  • Product invariants — locked rules (shared chat, memory tiers, agent control plane, integrations, brand)

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!

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

Labels

i18n Internationalization / localization changes needs-maintainer-review Needs a human maintainer to sign off before merge

Projects

None yet

3 participants