Skip to content

docs(python-cli): add Serbian quickstart guide and discovery links - #13447

Closed
1132dadf wants to merge 15 commits into
BasedHardware:mainfrom
1132dadf:docs/quickstart-sr
Closed

1132dadf wants to merge 15 commits into
BasedHardware:mainfrom
1132dadf:docs/quickstart-sr

Conversation

@1132dadf

@1132dadf 1132dadf commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a Serbian (Latin-script) quickstart for omi-cli and discovery links in both CLI READMEs, following the scope proposed in #13444.

Changes

  • sdks/python-cli/examples/quickstart.sr.md — new beginner-facing guide in Serbian covering: installation (pipx and virtual environment), the omi-cli package vs the omi command name, browser OAuth vs masked interactive API-key entry, OMI_API_KEY for automation, offline auth status vs the live auth whoami check, read-only list examples for memories, conversations, action items and goals, global --json placement and pagination, profiles, and the stable exit-code table with retry guidance.
  • sdks/python-cli/examples/README.md — one discovery link to the new guide.
  • sdks/python-cli/README.md — the localized-guides line now also lists the Serbian guide.

No CLI behavior changes.

Verification

  • Content checked against the CLI source at main (bf079e03c499): auth flows (omi_cli/commands/auth.py), global flags (omi_cli/main.py), exit-code contract (omi_cli/errors.py), environment variables and profiles (omi_cli/config.py), list commands and option bounds (omi_cli/commands/*.py).
  • Local install of sdks/python-cli at main (omi-cli 0.3.0): every help path shown in the guide was exercised and exits 0 — omi --help, omi auth login|status|whoami|logout --help, omi memory|conversation|action-item|goal list --help.
  • JSON contract exercised: omi --json auth status and omi --json config path return valid JSON with --json placed before the verb (exit 0).
  • Usage-error probes: conflicting options exit with code 1; unknown options, missing arguments, and out-of-range values exit with code 2 (Click's usage-error path, passed through by main()).
  • The repository make preflight suite was not runnable in this environment; the checks above were run instead.
  • Live account authentication and personal-data requests were not performed.

Bounty

Proposed US$25 documentation bounty per the contribution guide — see #13444. Payment details will be provided privately after merge if approved.

@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.

All reported issues were addressed across 3 files

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

Re-trigger cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @1132dadf — I verified the guide against the CLI source at the merge base and every claim checks out. File by file:

  • examples/quickstart.sr.md — spot-checked each documented behavior against code:
    • The exit-code table matches omi_cli/errors.py exactly (0–5 → OK/USAGE/AUTH/SERVER/RATE_LIMITED/NOT_FOUND), including the subtle split the earlier review caught: app-level usage errors exit 1 while Click-handled usage errors (unknown option, missing argument, out-of-range value) exit 2, which is precisely how main()'s exception ladder routes ClickException.
    • The OMI_API_KEY qualification ("used when the active profile has no saved key") matches AppContext.get_profile() — the env key is only applied when the profile has no stored key.
    • Profile fallback order (--profile > OMI_PROFILE > active configured profile, default default) matches resolve_profile_name() in omi_cli/config.py.
    • --json placement before the command group, --limit/--offset pagination, and "JSON keeps full identifiers while tables truncate" all match the code (shorten() in omi_cli/output.py; id cells shortened in table mode, untouched in JSON).
    • The 429 guidance (auto-retry honoring Retry-After) matches the retry ladder in omi_cli/client.py, and the exit-3 outcome unknown write caveat mirrors the English README's stable-contract section.
    • omi action-item list --open is valid — it's the secondary form of the paired --completed/--open flag.
    • The auth status (offline, masked) vs auth whoami (live authenticated check) distinction matches the implementations.
  • examples/README.md — discovery entry consistent with the ja/es entries.
  • README.md — localized-guides line extended correctly, matching the existing format.

The four earlier review findings (exit-2 handling, OMI_API_KEY precedence, profile chain, retry caveats) are all addressed on the current head — nice responsiveness.

One non-blocking nit for a native-speaker pass: in a couple of spots the guide uses "akreditive" where the natural form would be "akreditivi" (e.g. "potvrđuje da akreditive rade", "ako su akreditive važeće"); other uses ("tvoje akreditive", "lokalno sačuvane akreditive") are correctly inflected. Language-polish only, nothing functional.

Docs-only diff, no CI lane triggered. Leaving formal approval and merge to the maintainers — no concerns from my side.


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 positive-signal Automation verified a genuine fix/quality contribution i18n Internationalization / localization changes labels Sep 10, 2026

@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 verified: Serbian quickstart, spot-checked OMI_API_KEY precedence and command surface against CLI source, no arity errors. Pure docs addition.

@1132dadf

1132dadf commented Sep 11, 2026 via email

Copy link
Copy Markdown
Contributor Author

@1132dadf

Copy link
Copy Markdown
Contributor Author

Merged latest main into this branch to resolve the README merge conflicts (the Turkish quickstart entry landed in the same two spots; both entries are kept). No changes to the Serbian quickstart itself — the PR is mergeable again.

@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up verification on the current head (1a4d063) after the main merge:

  • examples/quickstart.sr.md is byte-identical to the head that was approved earlier (fa748e0) — the merge didn't touch the guide itself.
  • README.md's localized-guides line now lists all four guides correctly (Japanese, Spanish, Turkish from main, plus Serbian), and examples/README.md keeps both the Turkish and Serbian entries in the same style as the existing ja/es rows.
  • No leftover conflict markers in either README, and every quickstart.*.md link target resolves at this head.

Merge conflicts resolved cleanly — from my side this is ready to merge whenever a maintainer is ready. Docs-only diff, no CI lane triggered. Thanks @1132dadf for turning the earlier review feedback around quickly and for the tidy conflict resolution.


by AI on behalf of David.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Merged latest main into this branch to resolve the README merge conflicts (the Russian quickstart entry landed in the same two spots; both entries are kept). No changes to the Serbian quickstart itself — the PR is mergeable again.

@Git-on-my-level

Copy link
Copy Markdown
Member

Re-verified at the new head (10f8205) after the second main merge — all clean:

  • examples/quickstart.sr.md is still byte-identical to the version approved earlier (fa748e0), so that approval still covers the guide's full content.
  • README.md's localized-guides line and examples/README.md now carry both the Russian entries from main and the Serbian ones from this PR, in the same style as the existing ja/es/tr rows — no conflict markers, and every quickstart.*.md link target resolves at this head.
  • Spot-checks still hold against the CLI source: the exit-code table matches omi_cli/errors.py (0–5 → OK/USAGE/AUTH/SERVER/RATE_LIMITED/NOT_FOUND, with Click-handled argument errors exiting 2), and the OMI_API_KEY / profile precedence text matches omi_cli/config.py.

Docs-only diff, no CI lane triggered. Nothing left from my side — ready for merge whenever a maintainer has a slot. Thanks again @1132dadf for keeping the branch current through two rounds of main merges.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Hi @kodjima33 — a gentle reminder, and apologies for the extra ping! Since this is my first time contributing on GitHub, the 8 workflows on this PR are still waiting for approval from a maintainer before they can run (they're showing as 'action required').

Whenever you have a moment, could you please approve and run them so the checks can proceed? Thank you so much for your time and help — I really appreciate it! (Also, this PR is related to #13444 for the bounty — thanks!)

@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 auth commands, --json placement, --profile/-p + OMI_PROFILE fallback, and exit-code table (0-5) against sdks/python-cli/omi_cli source on main. Follows the pattern of already-merged localized quickstarts.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Merged latest main into this branch to resolve the README merge conflicts (the Thai and Bulgarian quickstart entries landed in the same two spots; all entries are kept, including ours). The guide file and discovery links are unchanged — conflict-free again.

@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up verification on the new head (cda6420c) after the third main merge — all clean:

  • examples/quickstart.sr.md is unchanged since the head that was approved earlier (10f82052): the blob (4aaa6b6b) is byte-identical, so the prior approvals still cover the guide's full content.
  • README.md's localized-guides line and examples/README.md now carry the Thai and Bulgarian entries from main alongside the Serbian ones, in the same style as the existing ja/es/tr/ru rows — no conflict markers, and every quickstart.*.md link target resolves in examples/.
  • Re-checked the guide's claims against the CLI source at this head: the exit-code table matches omi_cli/errors.py (0–5 = success/usage/auth/server/rate-limited/not-found, with app-level usage errors at 1 and Click-handled usage errors at 2 via the main.py passthrough); OMI_API_KEY is applied only when the active profile has no saved key, exactly as the guide words it (omi_cli/main.py); OMI_PROFILE then active-profile fallback matches config.py: resolve_profile_name; config lives at ~/.omi/config.toml; and the documented 429 auto-retry honoring Retry-After matches omi_cli/client.py.

Docs-only, no CLI behavior changes. Thanks for keeping the branch conflict-free through three main merges. Remaining before merge: the current head needs a fresh maintainer approval (the two prior approvals were on earlier heads), and the workflow runs are still queued awaiting maintainer approval since this is a first-time contribution.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Thanks @Git-on-my-level for the follow-up verification — great to hear the new head is all clean.

Hi @kodjima33 — apologies for one more ping! Per the note above, the remaining steps before merge are a fresh approval on the current head (cda6420c; the two earlier approvals were on previous heads) and the queued workflow runs for this first-time contribution. The head update was only the docs merge that keeps the README conflict-free; the guide itself is unchanged. Thank you!

@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: commands/flags verified against sdks/python-cli source (exit codes in errors.py, goal/memory/conversation/local command signatures) — new standalone translated quickstart, low blast radius.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Synced with the latest main again to stay conflict-free (the Mongolian, Danish, Sanskrit and Konkani quickstart entries landed in the same two spots; all entries are kept, ours included). The guide file is byte-identical — only the README rows change.

Hi @kodjima33 — thanks a lot for the fresh approval earlier! The sync moved the head once more, so the approval is now on an earlier head again. If a sign-off on the latest commit is needed for merge, could you re-approve ecfc527b15 when you get a moment? Docs-only; apologies for the extra ping — the quickstart waves keep touching the same README rows. Thank you!

@Git-on-my-level

Copy link
Copy Markdown
Member

Re-verified at the new head (ecfc527b) after the fourth main sync - all clean:

  • examples/quickstart.sr.md - unchanged since the approved head: blob 4aaa6b6b is byte-identical to the version under the 2026-09-14 approval, so that sign-off still covers the guide's full content. Spot-checks still hold against the CLI source: the exit-code table matches omi_cli/errors.py (0-5, with app-level usage errors at 1 and Click-handled argument errors exiting 2), the OMI_API_KEY qualification matches AppContext.get_profile() (the env key applies only when the profile has no stored key), the --profile/OMI_PROFILE/config precedence matches resolve_profile_name(), and the 429 auto-retry/Retry-After note matches client.py.
  • README.md - the localized-guides line keeps the Serbian entry alongside the ja/es/tr/ru/bg/mn rows, and the standalone Danish/Sanskrit/Konkani lines merged from main are untouched. No conflict markers, and every quickstart.*.md link target resolves at this head.
  • examples/README.md - the Serbian discovery row sits at the end of the list in the same style as the existing rows, with the Danish row from main preserved.

Docs-only diff, no CI lane triggered. With the guide byte-identical to the approved version, a maintainer re-approval on ecfc527b is the only step left before merge.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@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.

Content verified genuine Serbian translation matching real CLI commands — approving; DIRTY blocks merge.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Merged the latest main into this branch to stay conflict-free — the Catalan quickstart landed in the same list spot (all entries are kept, including ours; the guide file and discovery links are unchanged). Fresh head: 6c4c31a13c — a fresh approval on it would be appreciated when you get a chance.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Triage note: a second PR for this same proposal (#14047) was opened today, adding its own quickstart.sr.md. Both PRs add the same file path, so they cannot both land — flagging before batched merges so #13444 goes to the version that is picked intentionally. This PR (guide + both discovery links in the CLI READMEs, open since Sep 10, reviewed and conflict-free) remains ready.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Merged the latest main into this branch to stay conflict-free — the Hausa, Maithili, and Assamese quickstarts landed in the same list spot (all entries kept, including ours; the guide file and discovery links are unchanged). Fresh head: abf45b0519 — a fresh approval on it would be appreciated when you get a chance.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Synced with the latest main again to stay conflict-free — the Sindhi quickstart landed in the same list spot (all entries kept, including ours; the guide file and discovery links are unchanged). Fresh head: 4ee9b5971c — a fresh approval on it would be appreciated when you get a chance.

@1132dadf

Copy link
Copy Markdown
Contributor Author

@Git-on-my-level need human response — flagging for David's attention: this PR has been ready since the 09-15 verification, and everything left is maintainer-side and mechanical — approving the queued first-contribution workflow runs, and a fresh sign-off on the current head (4ee9b5971c). It's been about a week of sync-and-wait, with the guide byte-identical throughout (blob 4aaa6b6b) and the branch clean and mergeable. Could a maintainer take the final look? Thanks!

@Git-on-my-level

Copy link
Copy Markdown
Member

Verified at the new head (4ee9b597) after the Sindhi sync — all clean, and nothing in this PR changed beyond the README rows:

  • examples/quickstart.sr.md — still blob 4aaa6b6b, byte-identical to the version under the 2026-09-15 approval (ecfc527b), so that sign-off continues to cover the guide's full content. I also re-checked its claims against the CLI source at this head: the exit-code table matches omi_cli/errors.py (0–5, app-level usage errors at 1, Click-handled argument errors at 2 via the main.py non-standalone passthrough), OMI_API_KEY applies only when the active profile has no stored key (main.py), OMI_PROFILE → active profile → default precedence matches config.py, the 429 auto-retry/Retry-After note matches client.py, and the list flags/option bounds match memory.py/conversation.py/action_item.py.
  • README.md — the localized-guides line gains the Serbian entry after Hausa with the Sindhi entry from main preserved; no conflict markers and all quickstart.*.md targets resolve.
  • examples/README.md — the Serbian row (two-line wrap, renders as one item) sits before the Sindhi row, same style as the existing rows.

Remaining before merge, all maintainer-side:

  1. A decision between this PR and Add Serbian (sr) CLI quickstart #14047 — both are open and add the same examples/quickstart.sr.md, so only one can land; the docs(cli): Serbian quickstart (US$25 bounty proposal) #13444 pick should be deliberate.
  2. Approving the queued workflow runs for this first-time contribution, and a fresh approval on the current head (the four earlier approvals were on pre-sync heads).

Docs-only, no CI lane triggered. Thank you @1132dadf for a week of patient syncs to keep this conflict-free.


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 the needs-maintainer-review Needs a human maintainer to sign off before merge label Sep 17, 2026

@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(python-cli): Serbian quickstart, not a duplicate, content looks correct; mergeStateStatus DIRTY blocks merge (no rebase per hard rules) — approve-only.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Synced with the latest main again to stay conflict-free — the Indonesian (id) quickstart landed in the same list spot (all entries kept, including ours; the guide file and discovery links are unchanged). Fresh head: 5349d4613b — a fresh approval on it would be appreciated when you get a chance.

@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: commands, --profile/--json flags, and exit-code table (0-5) verified against origin/main README and CLI. Serbian quickstart accurate.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Synced with the latest main again to stay conflict-free — the Bosnian (bs) quickstart landed on the same list line (all entries kept, including ours and the new Bosnian link; the guide file and discovery links are unchanged). Fresh head: 6a414616fb — a fresh approval on it would be appreciated when you get a chance.

@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.

Serbian quickstart doc — CLI commands/flags verified against sdks/python-cli/omi_cli source (auth, --browser/--provider pairing correct). Translation prose unverifiable by me, so approve-only per docs-correctness gate.

@1132dadf

Copy link
Copy Markdown
Contributor Author

Synced with the latest main again to stay conflict-free — the locale list in sdks/python-cli/README.md had drifted with new upstream additions (all upstream entries kept; the Serbian link retained). Mergeable again.

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks for the contribution! We're currently not taking community recipe/export examples in this area — the pattern is already straightforward to implement from the docs, and each merged example adds long-term maintenance surface we're trimming.

That's not a judgment on the work. If you believe this fills a real gap (a target no existing example or open PR covers, with the code verified against the actual CLI and API), comment here and a maintainer will take a look. Issues with maintainer-filed bounties remain open — those are unaffected.

Thanks again for contributing!

@github-actions

Copy link
Copy Markdown
Contributor

Hey @1132dadf 👋

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 positive-signal Automation verified a genuine fix/quality contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants