Skip to content

docs(python-cli): add Bosnian (Bosanski) quickstart guide (#13757) - #13758

Merged
kodjima33 merged 1 commit into
BasedHardware:mainfrom
TheRWX:docs/quickstart-bs
Sep 20, 2026
Merged

kodjima33 merged 1 commit into
BasedHardware:mainfrom
TheRWX:docs/quickstart-bs

Conversation

@TheRWX

@TheRWX TheRWX commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a complete Bosnian (Bosanski) developer quickstart guide for omi-cli to expand developer accessibility across Bosnia and Herzegovina and the Western Balkans tech ecosystem.

Closes #13757

Changes Included

  • Quickstart Guide: sdks/python-cli/examples/quickstart.bs.md
    • Package (omi-cli) vs CLI binary (omi) distinction.
    • Full authentication workflow: Browser OAuth (Google default, --provider apple) vs API Key (omi_dev_*, OMI_API_KEY, auth logout).
    • auth status (offline credential verification) vs auth whoami (live server roundtrip).
    • Core CRUD workflows for memories, conversations, action items, and goals.
    • JSON output discipline: global --json prefix ordering (omi --json memory list), pagination flags (--limit, --offset), and jq pipeline recipes.
    • Exit code contract table (0–5) strictly aligning with omi_cli/errors.py and Click parsing conventions.
    • Local Desktop API integration (port 47778, OMI_LOCAL_API_URL, OMI_LOCAL_TOKEN).
    • Staging endpoint testing (--api-base https://api.staging.omi.me) and profile switching (--profile).
    • File security practices (chmod 700 ~/.omi).
  • Discovery Registration:
    • Registered in sdks/python-cli/README.md under localized guides.
    • Registered in sdks/python-cli/examples/README.md table of contents.

Bounty Information

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 across 3 files

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

Re-trigger cubic

@TheRWX

TheRWX commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

Addressed in commit 22cd3f6:

  1. Converted create commands (memory create, action-item create, goal create, and bash script) to use positional arguments instead of --text.
  2. Updated omi memory list default limit from 20 to 25.
  3. Corrected rate limit constant name to EXIT_RATE_LIMITED in the exit-code table.
  4. Documented that omi auth refresh on API-key profiles returns an error (exit code 1).
  5. Fixed jq conversation title path to .structured.title.

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

Copy link
Copy Markdown
Member

Thanks @TheRWX — I verified the Bosnian quickstart against the current CLI source and it holds up well.

Per-file notes:

  • sdks/python-cli/examples/quickstart.bs.md — checked the technical claims against omi_cli/:
    • Exit-code table (0-5) matches omi_cli/errors.py exactly, including EXIT_RATE_LIMITED = 4 and the note that Click parse errors surface as exit code 2.
    • omi memory list default of 25 and the --limit/--offset flags match the options in omi_cli/commands/memory.py.
    • Positional create syntax for memory/action-item/goal matches the typer.Argument(...) signatures, and the hyphenated action-item name matches its registration in omi_cli/main.py.
    • auth login --provider apple, the OMI_API_KEY env var, auth status vs auth whoami, and auth refresh erroring (exit 1) on API-key profiles all match omi_cli/commands/auth.py and omi_cli/config.py.
    • The --json-before-subcommand rule and --profile / --api-base usage match omi_cli/main.py; the .structured.title jq path matches how titles are read in omi_cli/commands/conversation.py.
    • Local Desktop API on port 47778 via OMI_LOCAL_API_URL / OMI_LOCAL_TOKEN is consistent with the sdk README and env names in config.py.
  • sdks/python-cli/README.md — the new guide is correctly appended to the localized-guides list; existing entries untouched.
  • sdks/python-cli/examples/README.md — the quickstart.bs.md index entry follows the established format.

The fixes from the earlier feedback round (positional create args, default limit, EXIT_RATE_LIMITED constant, .structured.title jq path, auth-refresh note) all check out against the source, and the security section (chmod 700 ~/.omi, unsetting OMI_API_KEY on shared machines) is a nice touch.

Since this is a bounty PR, the merge call and payout handling stay with a human maintainer.


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: verified command names, flags, and the 0-5 exit code table against omi_cli/errors.py and omi_cli/commands/*.py — all accurate. Cleaner than sibling #13824 (which has a broken code-block artifact). Merging per docs-correctness gate.

@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up audit after the branch was rebased onto main (head 22935c4), which landed just after the approval on 3259f5a:

  • sdks/python-cli/examples/quickstart.bs.md — the substantive 288-line guide is byte-identical at both commits (same blob ff88fb1d), so the approved content is unchanged.
  • sdks/python-cli/README.md and sdks/python-cli/examples/README.md — the only differences vs the approved commit are this PR's own discovery links plus links for the Mongolian/Danish/Sanskrit/Konkani guides that merged to main in the meantime; nothing else rode along in the rebase.

Also re-verified the guide against omi_cli at the merge base: the exit-code table (0-5, EXIT_RATE_LIMITED = 4, Click parse errors -> 2) matches omi_cli/errors.py; memory list default 25 with --limit/--offset and positional create match omi_cli/commands/memory.py; auth status (local check) vs auth whoami (live roundtrip) and auth refresh failing with exit 1 on API-key profiles match omi_cli/commands/auth.py; OMI_LOCAL_API_URL/OMI_LOCAL_TOKEN with port 47778 match omi_cli/config.py and the local-API section of the main README.

Checks are green on the new head. From the automation side the substantive approval still applies to identical content — no re-review needed.


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: all 'omi ...' commands match the real CLI (list/get/create/update/complete/status/whoami/login/logout), exit code table 0-5 matches omi_cli/errors.py exactly (incl. the Click-parser-returns-2 nuance and auth refresh no-op returning exit 1 for API-key profiles), OMI_LOCAL_API_URL/port 47778 and staging URL match README/tests. Proper Bosnian diacritics throughout, no boilerplate. Picked as the winner over duplicate #13824 (same issue #13757) — that PR still has diacritics stripped and at least one corrupted word per a still-valid part of an earlier review.

arawnslab-hash added a commit to arawnslab-hash/omi that referenced this pull request Sep 16, 2026
…#13758)

## Product invariants affected
none

## Failure class (fixes)
Failure-Class: none
@TheRWX
TheRWX force-pushed the docs/quickstart-bs branch 2 times, most recently from 0b928a2 to 8664f4c Compare September 16, 2026 16:46

@Git-on-my-level Git-on-my-level left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @TheRWX — the guide itself is in great shape. Verified on the current head (8664f4c):

sdks/python-cli/examples/quickstart.bs.md (+288):

  • Exit-code table (0–5) matches omi_cli/errors.py exactly, including EXIT_RATE_LIMITED = 4 and the Click-parse-error nuance.
  • omi memory list default of 25 and --limit/--offset match the options in omi_cli/commands/memory.py.
  • Positional create syntax for memory/action-item/goal matches the typer.Argument(...) signatures.
  • The --json before-the-verb rule matches the root-level option in omi_cli/main.py, and the suffix form is correctly shown as the anti-example.
  • --provider apple, OMI_LOCAL_API_URL (port 47778), staging base, and --profile all check out against omi_cli/commands/auth.py and the README.

One blocking regression at this head: the 2026-09-16 squash dropped both discovery registrations that the PR description (and both earlier approvals) included:

  • sdks/python-cli/README.md — no Bosnian entry in the localized-guides list
  • sdks/python-cli/examples/README.md — no quickstart.bs.md row in the examples table of contents

The changed-files list for 8664f4c contains only the guide itself, while every sibling language guide is registered in both places — merging as-is would leave this guide undiscoverable. Could you restore those two registration lines? Everything else is ready.

Blocking on the restore above; maintainer re-approval of the squashed head is needed since the prior approvals predate it. [AI-generated feedback posted on David's behalf]


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 docs-accuracy Documentation or committed reports need accuracy fixes label Sep 17, 2026
@TheRWX

TheRWX commented Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

Restored Discovery Registrations (Head bf47a5c820)

Thanks @Git-on-my-level for catching the omission from the previous squash pass. I have rebased onto upstream/main HEAD and restored both discovery registrations:

  1. sdks/python-cli/README.md: Restored the Bosnian quickstart link to the localized guides list ([🇧🇦 Vodič za brzi početak rada s omi-cli (Bosnian Quickstart)](examples/quickstart.bs.md)).
  2. sdks/python-cli/examples/README.md: Restored the table of contents entry for quickstart.bs.md.
  3. Preflight Verification: Executed native CI preflight (bash scripts/pr-preflight --lane ci --base upstream/main) with all 11 manifest checks passing cleanly.

PayPal: [email protected]

@Git-on-my-level
Git-on-my-level dismissed their stale review September 18, 2026 13:17

Resolved on head bf47a5c: both discovery registrations are restored — the Bosnian entry in sdks/python-cli/README.md and the quickstart.bs.md row in sdks/python-cli/examples/README.md. The guide file itself is unchanged from the reviewed blob. Dismissing as the sole blocker is fixed.

@Git-on-my-level Git-on-my-level removed the docs-accuracy Documentation or committed reports need accuracy fixes label Sep 18, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @TheRWX — verified the restore on the new head (bf47a5c):

  • sdks/python-cli/README.md — the 🇧🇦 Bosnian entry is back in the localized-guides line (line 70).
  • sdks/python-cli/examples/README.md — the quickstart.bs.md row is back in the examples index (line 38).

Both registrations match the pattern of every sibling language guide, so the guide is discoverable again. The extra entries that appeared alongside them (Hindi, Sindhi, Arabic, Vietnamese, Czech, Hebrew, agent guides) come from main via the rebase — this PR's own change relative to main is still just the Bosnian guide plus its two registration lines.

The guide itself is byte-identical to the version verified twice earlier (same blob), so those checks carry over: exit-code table 0–5 matches omi_cli/errors.py (including EXIT_RATE_LIMITED = 4 and the Click-parser-returns-2 nuance), omi memory list defaults and --limit/--offset match omi_cli/commands/memory.py, and the --json-before-the-verb rule matches the root option in omi_cli/main.py.

I've dismissed the earlier automated changes-requested review — its only blocker was these missing registrations. Nothing outstanding from my side; since the two maintainer approvals predate the rebase, a fresh re-approval of this head is all that's left before merge.

[AI-generated feedback posted on David's behalf]


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 merged commit b89feb6 into BasedHardware:main Sep 20, 2026
34 checks passed
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 Bosnian (Bosanski) quickstart guide for omi-cli

3 participants