Skip to content

docs(cli): Bengali quickstart for omi-cli (#13480) - #13537

Closed
amasen02 wants to merge 1 commit into
BasedHardware:mainfrom
amasen02:docs/bengali-quickstart
Closed

amasen02 wants to merge 1 commit into
BasedHardware:mainfrom
amasen02:docs/bengali-quickstart

Conversation

@amasen02

@amasen02 amasen02 commented Sep 11, 2026 •

Copy link
Copy Markdown

Closes #13480 — Bengali (Bangla) quickstart for omi-cli, per the bounty proposed there (US$25, payable after acceptance and merge).

What this adds

  • sdks/python-cli/examples/quickstart.bn.md — full Bengali quickstart guide (all prose in Bangla; every command, flag, and code block stays in English exactly as shipped).
  • One discovery cross-link in sdks/python-cli/examples/README.md.
  • One discovery cross-link in sdks/python-cli/README.md (localized-guides callout).

Fidelity to the approved pattern

Structure and scope mirror the merged Japanese quickstart (#13099 merged via #13120), the merged Turkish quickstart (#13370), and the approved Traditional Chinese quickstart (#13261):

  • Package-vs-binary distinction: pipx install omi-cli vs the omi executable.
  • Full auth coverage: interactive masked key entry, browser OAuth (--browser, --provider apple), and the OMI_API_KEY environment variable.
  • omi auth status (offline, local profile) vs omi auth whoami (live server verification).
  • All four resources with runnable examples: memories, conversations, action items, goals.
  • Global --json option placement rule (before the subcommand) + jq workflows.
  • Stable exit-codes table (0–5) with the Click-vs-validation distinction.
  • Shell examples for both Bash/Zsh and PowerShell ($LASTEXITCODE).
  • Local Desktop companion queries (omi local ...) and the --profile multi-account workflow.
  • Security best practices (no keys in repos, shell history, folder permissions).

Docs-only change: no CLI or API code touched.

Verification

  • Cross-checked every command/flag against the current English docs and the merged quickstart templates — no invented flags.
  • Link targets verified: examples/quickstart.bn.md relative links resolve within the tree.
  • Bengali strings render as proper UTF-8 (no mojibake); numbered sections use Bengali numerals (১–৯) consistent with the locale, commands untouched.

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.

1 issue found across 3 files

Confidence score: 4/5

  • In sdks/python-cli/examples/quickstart.bn.md, the zsh setup uses read -p incompatibly, leaving OMI_LOCAL_TOKEN empty and causing subsequent local commands to fail authentication; replace it with a portable prompt/read sequence or provide a zsh-specific alternative.
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.bn.md">

<violation number="1" location="sdks/python-cli/examples/quickstart.bn.md:220">
P2: When a user follows this local setup in zsh, `read -p` does not prompt for the token, so `OMI_LOCAL_TOKEN` remains empty and local commands fail authentication. Use a portable prompt/read sequence or provide separate Bash and zsh commands.</violation>
</file>

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

Re-trigger cubic

```bash
# লোকাল এন্ডপয়েন্ট কনফিগার করুন (টোকেন সুরক্ষার জন্য এনভায়রনমেন্ট ভ্যারিয়েবল ব্যবহার করুন)
export OMI_LOCAL_API_URL="http://127.0.0.1:47778"
read -r -s -p "Desktop token: " OMI_LOCAL_TOKEN; echo

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: When a user follows this local setup in zsh, read -p does not prompt for the token, so OMI_LOCAL_TOKEN remains empty and local commands fail authentication. Use a portable prompt/read sequence or provide separate Bash and zsh commands.

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.bn.md, line 220:

<comment>When a user follows this local setup in zsh, `read -p` does not prompt for the token, so `OMI_LOCAL_TOKEN` remains empty and local commands fail authentication. Use a portable prompt/read sequence or provide separate Bash and zsh commands.</comment>

<file context>
@@ -0,0 +1,256 @@
+```bash
+# লোকাল এন্ডপয়েন্ট কনফিগার করুন (টোকেন সুরক্ষার জন্য এনভায়রনমেন্ট ভ্যারিয়েবল ব্যবহার করুন)
+export OMI_LOCAL_API_URL="http://127.0.0.1:47778"
+read -r -s -p "Desktop token: " OMI_LOCAL_TOKEN; echo
+export OMI_LOCAL_TOKEN
+
</file context>
Suggested change
read -r -s -p "Desktop token: " OMI_LOCAL_TOKEN; echo
printf 'Desktop token: ' >&2; read -r -s OMI_LOCAL_TOKEN; printf '\n' >&2

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @amasen02 — careful, well-scoped docs contribution. I verified the guide against the CLI source at this head; it holds up.

Per file:

  • sdks/python-cli/examples/quickstart.bn.md — spot-checked the commands against the implementation: goal create --type numeric --target 2 --unit liters matches omi_cli/commands/goal.py (numeric GoalType, --target, --unit requiring a metric option), the interactive login menu and --browser --provider apple match omi_cli/commands/auth.py, and the exit-code table matches the stable contract in omi_cli/errors.py, including the Click-parser-syntax→2 nuance. Commands stay in English with Bangla prose, Bengali numerals are used consistently, links point only at omi-controlled properties, and the file scans clean (no hidden/format characters). The pipx-package vs omi-binary warning callout matches the English README.
  • sdks/python-cli/README.md — localized-guides callout extended with the Bengali link; relative target resolves.
  • sdks/python-cli/examples/README.md — index entry added in the same style as the ja/es/tr entries.

One small confirmed nit (seconding the inline review): read -r -s -p "Desktop token: " OMI_LOCAL_TOKEN doesn't prompt under zsh — read -p isn't portable there. A printf/read pair would fix it. Note the line is inherited verbatim from the merged Turkish quickstart (quickstart.tr.md), so a tiny follow-up there would keep the localized guides consistent.

Structure and scope match the merged Japanese (#13099) and Turkish (#13370) quickstarts, so this fits the established localization pattern well.

For the maintainer: this PR references the US$25 bounty proposed in #13480, which was closed by its proposer without visible maintainer sign-off, and another contributor had volunteered for the same task in that thread — the bounty acceptance/award decision needs a human call before merge. Docs-wise I found nothing blocking.


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 positive-signal Automation verified a genuine fix/quality contribution labels Sep 12, 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.

Pure Bengali quickstart translation mirroring accepted ja/es/tr quickstarts; CLI commands unchanged, structural URLs/package names verified consistent; docs-correctness gate satisfied.

@amasen02
amasen02 force-pushed the docs/bengali-quickstart branch from 21acc25 to 287ebe6 Compare September 12, 2026 17:54
@amasen02

Copy link
Copy Markdown
Author

Friendly merge nudge 👋 this PR has maintainer approval and a clean/neutral check state, but hasn't merged yet. Happy to fix or rebase anything that's blocking (including the flaky check situation if that's the holdup). Thanks for the review!

@Git-on-my-level

Copy link
Copy Markdown
Member

Post-rebase check on 287ebe68 — verified, still clean:

  • sdks/python-cli/examples/quickstart.bn.md is byte-identical to the revision approved earlier (sha256 match), so the rebase only re-parented onto main.
  • Re-ran the command-surface spot checks against the CLI source at this head: the goal create --type numeric --target 2 --unit liters example still matches omi_cli/commands/goal.py (--unit requires a metric option), the browser-OAuth examples match omi_cli/commands/auth.py (--provider google or apple, interactive menu), local status / local search-screen --days --app match omi_cli/commands/local.py, and the exit-code table matches omi_cli/errors.py (0–5).
  • Both discovery cross-links (sdks/python-cli/README.md, sdks/python-cli/examples/README.md) resolve at this head.

So from the docs side nothing is blocking — thanks for keeping it tidy through the rebase. Two open items, both maintainer-side: (1) the US$25 bounty acceptance from #13480 needs a maintainer call before merge, and (2) the small zsh nit stands (read -r -s -p at line 220 doesn't prompt under zsh — inherited verbatim from quickstart.tr.md, so feel free to fix it here or leave it for a cross-guide follow-up).


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.

Bengali quickstart: verified commands, flags (--profile, --api-base, --category, --type/--target/--unit, local status/search-screen), and exit codes 0-5 against the real CLI source, all accurate. Docs-correctness gate passes.

@britsync07-prog

Copy link
Copy Markdown

Hi @amasen02! I had independently written a native-speaker Bengali quickstart (PR #17269, now closed as a later copy of yours - fairly so, yours was first). If any section of your translation needs a second pair of native eyes, my wording is available in #17269 (quickstart.bn.md, 117 lines, same template) - happy for any of it to be adopted into your PR with co-authorship, or to review yours for idiomatic phrasing. Just say the word. Good luck with the merge!

@aryanorastar

Copy link
Copy Markdown
Collaborator

Closing. sdks/python-cli/examples/quickstart.bn.md is already on main from #17343. This pull request rewrites that same file. A README index line is not extra production.

@github-actions

Copy link
Copy Markdown
Contributor

Hey @amasen02 👋

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.

docs(cli): Bengali (Bangla) quickstart — US bounty proposal

5 participants