Skip to content

docs(cli): Urdu quickstart guide (quickstart.ur.md) - #13512

Closed
amasen02 wants to merge 1 commit into
BasedHardware:mainfrom
amasen02:feat/urdu-quickstart
Closed

amasen02 wants to merge 1 commit into
BasedHardware:mainfrom
amasen02:feat/urdu-quickstart

Conversation

@amasen02

@amasen02 amasen02 commented Sep 11, 2026 •

Copy link
Copy Markdown

Summary

Urdu (اردو) quickstart guide for omi-cli — sdks/python-cli/examples/quickstart.ur.md — plus a one-line discovery link in examples/README.md.

For #13459 ($25 bounty proposal).

Scope

Docs-only, two files (per review feedback, the release-pipeline changes now live solely in #13494):

  • sdks/python-cli/examples/quickstart.ur.md (new, 229 lines)
  • sdks/python-cli/examples/README.md (+1 index line)

Content

8 sections mirroring the merged localized references (quickstart.ja.md, quickstart.tr.md): install, auth (browser + API key), core resources (memory / conversations / action-items / goals), --json scripting, exit codes 0–5, env setup, Local Desktop API, profiles.

  • All command lines and flags verified against current omi_cli source (auth login --browser/--api-key, memory --category, conversation --include-transcript, action-item --open, goal list, local configure --url/--token, search-screen --days/--app, --json, --profile, OMI_API_KEY).
  • Exit-codes table matches omi_cli/errors.py.
  • Section 7 uses a localized Urdu example query ("قیمت پلان") and the YOUR_DESKTOP_TOKEN placeholder, aligned with the ja/tr references.
  • Zero bidi control characters; UTF-8 clean; all 16 code blocks pass bash -n.
  • Commands kept in English (CLI language) with Urdu prose, per repo convention — English README stays authoritative.

Review fixes applied (thanks @Git-on-my-level)

  • Localized the section-7 example query (was templated from a Malay draft) → "قیمت پلان"
  • TOKEN_DESKTOP_ANDA → YOUR_DESKTOP_TOKEN
  • Fixed the للیے → لیے typo in the section-8 comment
  • Reduced scope to the two docs files; CI/publish-gate changes removed from this PR (they remain in ci(python-cli): gate releases on a clean-install smoke test #13494 for single review/rollback surface)
  • Corrected the description: the comparison reference was quickstart.ja.md (Japanese) and the merged Turkish guide quickstart.tr.md — the earlier mention of a Malay reference was wrong

@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 and verified against the latest diff

Confidence score: 3/5

  • sdks/python-cli/verify-clean-install.sh selects the Windows Scripts directory but invokes extensionless Scripts/python and Scripts/omi; Windows virtual environments expose python.exe and omi.exe, so the Windows CI smoke test is likely to fail—use the Windows executable names when running this matrix entry.
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/verify-clean-install.sh">

<violation number="1" location="sdks/python-cli/verify-clean-install.sh:102">
P2: On the Windows CI matrix, this branch selects `Scripts`, but the script invokes extensionless `Scripts/python` and `Scripts/omi`. Windows venvs expose `python.exe` and pip console scripts as `omi.exe`, so the smoke test exits before testing the artifact; use platform-specific `.exe` paths for both invocations.</violation>
</file>

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

Re-trigger cubic

Comment thread sdks/python-cli/verify-clean-install.sh Outdated
# `python -m omi_cli` fallback: this gate exists to prove the console entry
# point users invoke works after a bare `pip install`, so a broken or
# missing entry point must fail the smoke test, not route around it.
"$VENV_BIN/omi" "$@" && return 0

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: On the Windows CI matrix, this branch selects Scripts, but the script invokes extensionless Scripts/python and Scripts/omi. Windows venvs expose python.exe and pip console scripts as omi.exe, so the smoke test exits before testing the artifact; use platform-specific .exe paths for both invocations.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At sdks/python-cli/verify-clean-install.sh, line 102:

<comment>On the Windows CI matrix, this branch selects `Scripts`, but the script invokes extensionless `Scripts/python` and `Scripts/omi`. Windows venvs expose `python.exe` and pip console scripts as `omi.exe`, so the smoke test exits before testing the artifact; use platform-specific `.exe` paths for both invocations.</comment>

<file context>
@@ -0,0 +1,156 @@
+  # `python -m omi_cli` fallback: this gate exists to prove the console entry
+  # point users invoke works after a bare `pip install`, so a broken or
+  # missing entry point must fail the smoke test, not route around it.
+  "$VENV_BIN/omi" "$@" && return 0
+  sleep 2
+  "$VENV_BIN/omi" "$@"
</file context>

@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 for this Urdu quickstart — the structure mirrors the ja/tr guides well, and I went through it against the CLI source.

Doc fixes (sdks/python-cli/examples/quickstart.ur.md):

  1. Section 7 (Local Desktop API) uses the Malay query search-screen "pelan harga" and the placeholder --token TOKEN_DESKTOP_ANDA — the examples look templated from a Malay draft. The ja reference uses YOUR_DESKTOP_TOKEN and a localized query; please localize both.
  2. Section 8 comment contains للیے (should be لیے, as used correctly elsewhere in the doc).

Everything else checks out: every command/flag in all 16 code blocks exists in current omi_cli (auth login --browser/--api-key, memory --category, conversation --include-transcript, action-item --open, goal list, local configure --url/--token, search-screen --days/--app, --json, --profile, OMI_API_KEY), the exit-codes 0–5 table matches omi_cli/errors.py, and the file has zero bidi control characters. Nice work keeping commands in English with the English README authoritative.

Scope — this is the blocking part:

  • The description says "docs-only … two-file scope exactly as proposed", but the PR also modifies .github/workflows/publish_omi_cli.yml and .github/workflows/python-cli-ci.yml and adds sdks/python-cli/verify-clean-install.sh — byte-identical to your open #13494. The clean-install smoke gate is a good idea (the 0.2.3 missing-dependency break was real, and I verified this script works: wheel + sdist built, clean venv installs, omi --version/--help all pass), but release-pipeline changes should land once. Please keep them in #13494 and reduce this PR to the two docs files. This isn't about PR size — it's that the publish gate would then have a single review/rollback surface.
  • The description's verification section claims comparison against quickstart.ms.md (merged localized reference) — no Malay guide exists in the repo. Please correct that to whatever was actually used.

Happy to re-review quickly once the CI files are dropped and the three doc fixes are in — the translation itself is in good shape.

Human maintainer review is warranted for the release-pipeline half if it stays: publish-workflow changes from a first-time contributor whose workflow runs are all still awaiting maintainer approval means the new CI steps (especially the Windows leg) have never actually executed on GitHub's runners.


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 needs-scope-reduction PR scope should be reduced or split workflow-review Needs maintainer review for workflow, automation, hooks, or CI behavior needs-maintainer-review Needs a human maintainer to sign off before merge i18n Internationalization / localization changes labels Sep 11, 2026
@amasen02
amasen02 force-pushed the feat/urdu-quickstart branch from af09e16 to 64fd741 Compare September 11, 2026 22:34
@amasen02

Copy link
Copy Markdown
Author

Thanks @Git-on-my-level — all four points addressed in a clean rebuild of the branch:

Doc fixes (all applied):

  1. Section 7 query localized to Urdu: search-screen "قیمت پلان" (mirrors the ja reference's 料金プラン price-plan example); placeholder now YOUR_DESKTOP_TOKEN.
  2. للیے → لیے fixed in the section-8 comment.

Scope fix (the blocking part): you were right — the branch had been cut from the #13494 smoke-test branch, so the workflow/script changes rode along in the diff. I rebuilt feat/urdu-quickstart directly on current main (64fd741) with only the two docs files: quickstart.ur.md (229 lines) + the README.md index line. The publish-gate changes now live solely in #13494. Diff on this PR is now docs-only, verified via git show --stat.

Description corrected: the actual comparison references were quickstart.ja.md and the merged quickstart.tr.md — the earlier "Malay reference" mention was my error.

Zero bidi control chars, UTF-8 clean, all code blocks still pass bash -n. Ready for re-review.

@amasen02
amasen02 force-pushed the feat/urdu-quickstart branch from 7e8956d to 3da7692 Compare September 12, 2026 17:21
@Git-on-my-level
Git-on-my-level dismissed their stale review September 12, 2026 22:24

Dismissed: all three blocking concerns from this review are verified resolved on the current head (3da7692) — section-7 examples are localized (search-screen "قیمت پلان" + YOUR_DESKTOP_TOKEN), the للیے typo is fixed, and the workflow/script files were removed so the PR is docs-only.

@Git-on-my-level Git-on-my-level added positive-signal Automation verified a genuine fix/quality contribution and removed needs-scope-reduction PR scope should be reduced or split workflow-review Needs maintainer review for workflow, automation, hooks, or CI behavior labels Sep 12, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks — the docs-only rebuild is exactly what was needed. I re-verified on the new head; all three blocking points from the earlier review are resolved (and I've dismissed that review):

  • sdks/python-cli/examples/quickstart.ur.md — section 7 now uses the localized query search-screen "قیمت پلان" with the YOUR_DESKTOP_TOKEN placeholder, matching the ja/tr references, and the للیے → لیے typo is gone. I re-traced every command block against current omi_cli source — auth login --browser/--api-key, memory create --category, conversation get --include-transcript, action-item list --open, goal list, local configure --url/--token, local search-screen --days/--app, --json, --profile, OMI_API_KEY all exist as documented, and the exit-codes table (0–5) matches omi_cli/errors.py line for line. The PowerShell JSON example is complete, and the file contains zero bidi control characters.
  • sdks/python-cli/examples/README.md — clean index entry with the correct Urdu title and a valid relative link.
  • Scope: the diff is now exactly the two docs files; the CI/publish-gate work lives solely in ci(python-cli): gate releases on a clean-install smoke test #13494, which keeps a single review/rollback surface for the release pipeline.

The structure mirrors the merged ja guide section for section (46 headings, same order). Leaving the final merge decision for the #13459 bounty with a human maintainer.


by AI on behalf of David — final merge sign-off for the #13459 bounty translation rests with a human maintainer

@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: Urdu quickstart verified — all commands/flags (auth login/status/whoami/logout, memory/conversation/action-item/goal list+get, --json position, exit codes 0-5, local configure/status/search-screen, --profile, ~/.omi/config.toml) checked against current omi_cli source and match exactly. Merging.

huiyuansun28-cmyk added a commit to huiyuansun28-cmyk/omi that referenced this pull request Sep 15, 2026
@huiyuansun28-cmyk

Copy link
Copy Markdown
Contributor

PR: #14063

AUTO (AI Agent). Authorship disclosed.

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

Genuine Urdu translation, all commands/flags/exit-codes verified against current omi_cli source

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks for the documentation contribution! Community docs/example/recipe PRs in this area haven't been landing (98% of similar PRs resolved without merge over the last window), so we're closing these as a class. That's not a judgment on the work — if this fills a gap a maintainer has asked for, comment here and it goes straight to them. Thanks again for contributing!

@github-actions

github-actions Bot commented Oct 7, 2026

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

4 participants