Skip to content

docs(python-cli): add localized Tajik (tg) quickstart guide (closes #14237) - #14243

Closed
Saadat555 wants to merge 9 commits into
BasedHardware:mainfrom
Saadat555:docs/tajik-quickstart
Closed

Saadat555 wants to merge 9 commits into
BasedHardware:mainfrom
Saadat555:docs/tajik-quickstart

Conversation

@Saadat555

@Saadat555 Saadat555 commented Sep 16, 2026 •

Copy link
Copy Markdown

Summary

Adds localized Tajik (tg) quickstart guide for omi-cli at sdks/python-cli/examples/quickstart.tg.md.

Tajik (тоҷикӣ) is an Iranian language spoken by over 10 million people across Central Asia. This guide expands accessibility for regional developers in Central Asia.

Scope & Highlights

  • Added sdks/python-cli/examples/quickstart.tg.md
  • Comprehensive coverage:
    • Isolation-friendly installation via pipx & standard pip
    • Authentication (Developer API Keys vs browser interactive flow)
    • Core resource reads (memory, conversation, action-item, goal)
    • Global --json output pipeline examples with jq in Bash and subprocess in Python
    • Exit codes contract mapping (0, 1, 2, 3)
  • Exact match of CLI syntax and command options
  • Fully isolated single-file addition with zero merge conflicts

Closes #14237

Review in cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @Saadat555 — this is a genuinely Tajik (Cyrillic) guide, and I spot-verified the technical content against the CLI source before commenting. Credit where due:

Verified against sdks/python-cli/omi_cli/:

  • omi auth login --api-key / --browser, omi auth status, omi auth whoami — all present in commands/auth.py.
  • omi_dev_* prefix and the OMI_API_KEY env var — match auth/api_key.py (DEV_API_KEY_PREFIX) and config.py (ENV_API_KEY).
  • omi memory/conversation/goal list --limit and omi action-item list --open --limit — flags match the command modules (--completed/--open in commands/action_item.py).
  • The global --json placement before the command group is correct per the root option in main.py, and the jq/Python examples use real fields (Memory.id, Memory.content in models.py).
  • Exit codes 0–3 match errors.py (EXIT_OK/EXIT_USAGE/EXIT_AUTH/EXIT_SERVER).

Two small asks before merge:

  1. Please add a one-line entry for quickstart.tg.md to sdks/python-cli/examples/README.md — every merged locale guide (th, ja, da, de, ru, …) is listed there; without it the guide is hard to discover. The "zero index modifications" choice keeps the diff conflict-free, but the entry is one line and future-proofs the file.
  2. Optional: omi_cli/errors.py also defines exit codes 4 (rate-limited) and 5 (not found). The table stops at 3 — consistent with the German guide, but the Russian one covers 0–5, and the two extra rows would help agent/script consumers back off correctly on 429 instead of retrying.

Heads-up: this is one of four open PRs adding sdks/python-cli/examples/quickstart.tg.md against #14237 (#14238, #14243, #14248, #14253), so a maintainer will need to pick which one lands. Leaving for human maintainer review for that duplicate/bounty resolution — nothing blocking in the content itself.


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 i18n Internationalization / localization changes needs-maintainer-review Needs a human maintainer to sign off before merge labels Sep 16, 2026
@Saadat555

Saadat555 commented Sep 17, 2026 •

Copy link
Copy Markdown
Author

Thank you @Git-on-my-level for the thorough review and verification!

I have addressed both items:

  1. Added quickstart.tg.md to sdks/python-cli/examples/README.md.
  2. Expanded the Exit Codes table in quickstart.tg.md to cover codes 0 through 5 (including 4 for rate limits and 5 for not found).

Ready for maintainer merge!

@Git-on-my-level Git-on-my-level added superseded Superseded by a newer change on main and removed needs-maintainer-review Needs a human maintainer to sign off before merge labels Sep 17, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Closing this as superseded — with thanks and full credit, @Saadat555.

Status update since the last review: a maintainer landed #14238 for #14237 (commit 1cbe294, merged 2026-09-17), and the issue is closed as completed. sdks/python-cli/examples/quickstart.tg.md now exists on main, so merging any of the remaining duplicates (#14243 here, #14248, #14253) would conflict on that file.

For the record, this PR was in good shape — both earlier asks were addressed in 19b317a:

  • examples/README.md now lists quickstart.tg.md (line 27).
  • The exit-code table in quickstart.tg.md covers 0–5, matching omi_cli/errors.py (EXIT_RATE_LIMITED = 4 / 429, EXIT_NOT_FOUND = 5 / 404).

One piece of your work is still worth salvaging: main's examples/README.md has no quickstart.tg.md entry (the merged PR skipped it). A one-line follow-up PR adding just that line would be a clean, mergeable contribution — happy to review it quickly.

Thanks again for a well-executed localized guide; hope to see you on the next bounty.

—
by AI on behalf of David.

@github-actions

Copy link
Copy Markdown
Contributor

Hey @Saadat555 👋

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 superseded Superseded by a newer change on main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposed $25 docs bounty: Tajik (tg) Python CLI quickstart

2 participants