Skip to content

docs(python-cli): add Croatian quickstart guide and discovery links (#13720) - #13721

Closed
TheRWX wants to merge 1 commit into
BasedHardware:mainfrom
TheRWX:docs/quickstart-hr
Closed

TheRWX wants to merge 1 commit into
BasedHardware:mainfrom
TheRWX:docs/quickstart-hr

Conversation

@TheRWX

@TheRWX TheRWX commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Resolves #13720

This PR adds an idiomatic, comprehensive Croatian (hr / Hrvatski) quickstart guide for omi-cli and registers discovery links in the package documentation.

Scope of Changes

  1. New Localized Guide: Created sdks/python-cli/examples/quickstart.hr.md:
    • Explicit package (omi-cli) vs command (omi) distinction.
    • Authentication workflows: interactive, browser OAuth (Google default, Apple provider), developer API keys (omi_dev_*), OMI_API_KEY env var, omi auth status (offline), omi auth whoami (online), and dedicated ### Odjava (Logout) section.
    • Practical workflows for core resources: memories (create, list, get), conversations (list, get --include-transcript), action items (list --open, complete), and goals (create, list).
    • Scripting and automation: global placement rule for --json before subcommands (omi --json memory list), pagination with --limit / --offset, and jq pipeline examples.
    • Comprehensive exit codes table (0–5) strictly aligning with omi_cli/errors.py (0 = EXIT_OK, 1 = EXIT_USAGE for CLI syntax / args / validation, 2 = EXIT_AUTH for credentials / scope, 3 = EXIT_SERVER, 4 = EXIT_RATE_LIMITED, 5 = EXIT_NOT_FOUND).
    • Multi-profile management (--profile) and staging host configuration (https://api.staging.omi.me).
    • Local Desktop API integration (OMI_LOCAL_API_URL, OMI_LOCAL_TOKEN, omi local status, omi local search-screen).
    • Environment and operational security best practices.
  2. Discovery Cross-links:
    • Added Croatian guide reference to the localized guides callout in sdks/python-cli/README.md.
    • Added quickstart.hr.md to the examples directory index in sdks/python-cli/examples/README.md.

Verification

  • Checked with git diff --check (zero whitespace errors or trailing spaces).
  • Verified markdown link formatting and strict preservation of CLI verbs and flags.
  • Pure documentation change with zero behavior impact.

Bounty Payout Destination: PayPal [email protected]

Review in cubic

@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

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

Re-trigger cubic

@Git-on-my-level Git-on-my-level added positive-signal Automation verified a genuine fix/quality contribution i18n Internationalization / localization changes labels Sep 13, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @TheRWX — this is a well-executed localization PR. I verified the new guide against the CLI source on main; everything I could check is accurate:

  • examples/quickstart.hr.md (+278): the exit-code table (0–5) matches omi_cli/errors.py exactly, including the subtle detail that Click/Typer parser errors also map to exit 2 — that nuance matches the error ladder in main.py. The OMI_API_KEY precedence note (a stored profile key wins over the env var) matches get_profile() in main.py. Documented flags check out: conversation list --include-transcript, action-item list --open/--completed, goal create --type/--target/--unit, and memory create --category. The desktop section (OMI_LOCAL_API_URL / OMI_LOCAL_TOKEN, default port 47778, omi local configure/status/search-screen) matches commands/local.py, and staging via --profile plus config set api_base is a supported settable key with --api-base correctly described as a per-command override that is not persisted.
  • README.md: the localized-guides callout is extended consistently with the existing ja/es/tr/ru/bg entries.
  • examples/README.md: the new index entry follows the same two-line format as the sibling quickstarts.

Two non-blocking notes for maintainers:

Leaving for human maintainer review (native-language QA + bounty award); no blocking concerns found.


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.

Verified: content accurately mirrors the existing English python-cli quickstart (auth flow, exit codes, command surface, local API) against current source. New standalone file, low blast radius. Not merging — mergeStateStatus is DIRTY (conflicts with main, likely from other translation PRs merging first); per policy this needs a rebase which is out of scope for this run.

@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up on the rewritten head be62cc88 (the branch was squashed and rebased shortly after the earlier approval on d8028b5):

  • examples/quickstart.hr.md is byte-identical to the version verified earlier — the exit-code table (0–5) still matches omi_cli/errors.py, including the detail that Click/Typer parser errors map to exit 2, and the OMI_API_KEY precedence note (stored profile key wins over the env var) matches main.py.
  • README.md and examples/README.md: the Croatian link placement is unchanged from the approved version. The other README movement relative to that commit comes from upstream main (recently merged Danish/Mongolian/Sanskrit/Konkani quickstarts), not from this author.
  • Merge state is now CLEAN — the rebase onto latest main resolved the earlier conflict.

Since the author-owned changes are identical to the approved content, I have no new concerns. The approval predates the rewrite, so noting that explicitly here for anyone merging later. Native-speaker QA pass and the #13720 bounty award remain maintainer calls.


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.

Docs: Croatian quickstart guide, content verified genuine and technically accurate against sdks/python-cli source (commands, flags, exit codes, port 47778 all confirmed real). CI green. Not merged: mergeStateStatus dirty (conflicts with sibling language PRs on shared README lines).

@aryanorastar

Copy link
Copy Markdown
Collaborator

Closing as FIXED_OPEN. sdks/python-cli/examples/quickstart.hr.md is already on origin/main a979f6239c. README index line is not extra production.

@github-actions

Copy link
Copy Markdown
Contributor

Hey @TheRWX 👋

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bounty] Add Croatian (Hrvatski) quickstart guide for omi-cli

4 participants