Skip to content

docs(python-cli): add Amharic quickstart guide and discovery links (#13889) - #13890

Merged
kodjima33 merged 6 commits into
BasedHardware:mainfrom
Abhist17:docs/cli-quickstart-am
Sep 29, 2026
Merged

kodjima33 merged 6 commits into
BasedHardware:mainfrom
Abhist17:docs/cli-quickstart-am

Conversation

@Abhist17

@Abhist17 Abhist17 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #13889

What changed and why

Adds an idiomatic Amharic (am) quickstart guide for omi-cli (sdks/python-cli/examples/quickstart.am.md) and updates discovery links in sdks/python-cli/README.md and sdks/python-cli/examples/README.md. Same structure as the merged es/ja/ru/tr/bg guides; commands, flags and program messages stay in English, only prose is translated.

Content covered:

  • Disambiguation: omi-cli on PyPI vs omi command on $PATH.
  • Isolated installation via pipx (recommended) and virtual environment pip.
  • Authentication: interactive omi auth login, browser OAuth (Google default, --provider apple), developer API key with omi_dev_* prefix, OMI_API_KEY documented as applying only when the active profile has no stored key, offline auth status vs live auth whoami, auth refresh qualified as OAuth-only (API-key profiles get "Nothing to refresh", exit 1), and auth logout / unset OMI_API_KEY.
  • Core command coverage with exact CLI options: memories, conversations, action items, goals (including goal progress <id> <value>).
  • Global --json placement rule, --limit/--offset pagination, clean file redirection.
  • Exit-code table (0–5) mirroring omi_cli/errors.py; row 1 scoped to omi-cli's own validation errors and Click parse errors (unknown flag, missing argument) attributed to exit 2.
  • Bash/Zsh and PowerShell automation examples with $? / $LASTEXITCODE checks.
  • Local Desktop API (omi local status, search-screen, port 47778, OMI_LOCAL_API_URL / OMI_LOCAL_TOKEN, omi local configure).
  • Profiles (--profile > OMI_PROFILE > default) and ~/.omi/config.toml.
  • Security guidelines: never commit keys, chmod 700 ~/.omi, session cleanup.

Product invariants affected

none

How it was verified

  • Every omi … line in the guide (34 commands) was checked mechanically against the CLI installed from this checkout (pip install -e sdks/python-cli): each subcommand path must resolve via omi <path> --help and every flag on the line must appear in that help text. 0 problems. The same checker passes the merged guides and fails on an injected unknown flag / unknown command.
  • Exit-code claims probed on the installed CLI: omi --nope → exit 2 (Click usage error); omi_cli/errors.py constants 0–5 match the table; omi auth refresh on an API-key profile raises UsageError("Nothing to refresh") → exit 1 (omi_cli/commands/auth.py); OMI_API_KEY is applied only when profile.api_key is unset (omi_cli/main.py, get_profile).
  • git diff --check clean; docs-only, no runtime change.
  • Could not exercise a live Omi account; the guide's read-only examples mirror the English README.

Tests

No test change: documentation-only addition with no code path to cover.

Failure class (fixes)

Failure-Class: none

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

You’re at about 95% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact [email protected].

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

Re-trigger cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks for this — a carefully built guide. I checked the technical claims against the CLI source at this head, and nearly everything verifies.

Verified against source:

  • Exit-code table (§5) matches omi_cli/errors.py exactly (EXIT_USAGE=1 … EXIT_NOT_FOUND=5), including the notes that Click parse errors (unknown flag / missing argument) exit 2 and that row 1 covers omi-cli's own validation errors.
  • Auth semantics are unusually careful and correct: OMI_API_KEY taking effect only when the active profile has no stored key (omi_cli/main.py), and auth refresh being OAuth-only with "Nothing to refresh" / exit 1 for API-key profiles (omi_cli/commands/auth.py).
  • Command syntax spot-checks all match: memory create --category, conversation get --include-transcript, action-item list --open / complete, goal create --type numeric --target --unit, goal progress <id> <value>, and the local Desktop section including search-screen --days/--app and port 47778 (omi_cli/commands/*.py, omi_cli/local_client.py).
  • README.md and examples/README.md discovery links are correctly wired: quickstart.am.md is listed alongside the other localized guides in a consistent format.

One fix needed (this confirms the earlier reviewer's flag): in §4 (ገጽ መከፋፈል), the sentence says the list commands support --limit and --offset. memory / conversation / action-item list do, but goal list supports only --limit — there is no --offset option in omi_cli/commands/goal.py. Could you scope that sentence to the commands that have it (the sibling guides keep their pagination examples tied to memory list)?

With that one-line scoping fix this looks good from my side — leaving the merge call to the maintainers.


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 docs-accuracy Documentation or committed reports need accuracy fixes positive-signal Automation verified a genuine fix/quality contribution labels Sep 15, 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.

Thanks — approving, not merging. cubic already flagged that goal list doesn't support --offset despite the guide's blanket pagination claim — please scope that before merge.

@Abhist17
Abhist17 force-pushed the docs/cli-quickstart-am branch from 57f1fef to 7e19b67 Compare September 15, 2026 15:12
@Abhist17

Copy link
Copy Markdown
Contributor Author

Approved and CI green for a while now — happy to adjust further if needed, otherwise just flagging it's ready.

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

Re-verified on current head: shared template's blanket 'list commands support --limit and --offset' claim is still inaccurate for goal list (--limit only, no --offset per omi_cli/commands/goal.py). Docs-correctness gate still fails on this specific claim; approve-only, not merging.

…asedHardware#13889)

Rebuilt on current main; the primary API-key example now leads with
OMI_API_KEY per review, with the existing shell-history caveat kept
alongside the inline --api-key form.
@Abhist17
Abhist17 force-pushed the docs/cli-quickstart-am branch from 7e19b67 to fe26350 Compare September 17, 2026 07:44

@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 the continued work here — the guide is carefully built, and the latest push resolved the earlier markdown issue around the --api-key example (it is now properly fenced with a sensible warning against passing keys as cleartext CLI arguments).

One verified accuracy issue remains on the current head (fe263500), and it is the same one flagged earlier in this thread:

  • sdks/python-cli/examples/quickstart.am.md, Pagination section, still asserts that list commands support --limit and --offset ("የ list ትእዛዞች --limit እና --offset ይደግፋሉ፦"). That blanket claim does not hold for goal list: omi_cli/commands/goal.py defines only --limit (default 10, max 100) and --include-inactive — no --offset. A reader who follows the guide with omi goal list --offset 50 will hit Click's unknown-option failure. Scoping the sentence to the memory, conversation, and action-item list commands (all three do define --offset — verified in omi_cli/commands/memory.py, conversation.py, and action_item.py) resolves it.

Everything else I checked on this head verifies cleanly:

  • sdks/python-cli/examples/quickstart.am.md — exit-code table (§5) matches omi_cli/errors.py exactly (EXIT_OK=0 … EXIT_NOT_FOUND=5), including the note that Click parse errors exit 2; goal list / goal create --type numeric --target --unit / goal progress <GOAL_ID> <value> examples all match omi_cli/commands/goal.py.
  • sdks/python-cli/README.md — the localized-guides index entry and the new Hausa link from the rebase render correctly alongside the Amharic link.
  • sdks/python-cli/examples/README.md — the new quickstart.am.md bullet is correctly placed and titled.

Requesting changes for that one scoping fix. The earlier approvals were on prior heads before the rebase, so this simply re-anchors the same condition on the current head — once the pagination sentence is scoped, this should be ready to go.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

…on/action-item list

goal list only defines --limit (see omi_cli/commands/goal.py) — no
--offset. The Amharic quickstart's pagination section claimed all list
commands support --offset, which sends a reader following the guide with
`omi goal list --offset 50` into Click's unknown-option failure.

Also re-adds the Sindhi discovery-link entry to examples/README.md,
which main gained after this branch was opened and this diff would
otherwise have dropped on merge.

Addresses the scoping fix requested in review on PR BasedHardware#13890.
@Git-on-my-level
Git-on-my-level dismissed their stale review September 18, 2026 16:31

Dismissing as stale: the pagination concern in this review — the blanket claim that list commands support --limit and --offset — is resolved on the current head (17e1204). The Pagination section of sdks/python-cli/examples/quickstart.am.md now scopes the claim to the memory, conversation, and action-item list commands (all three verified to define --offset in omi_cli/commands/memory.py, conversation.py, action_item.py) and explicitly notes goal list supports --limit only, matching omi_cli/commands/goal.py.

@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 the quick turnaround — the pagination fix on 17e1204 is verified correct. The guide content itself is now in good shape.

Verified on this head:

  • sdks/python-cli/examples/quickstart.am.md — the Pagination section is now correctly scoped: memory, conversation, and action-item list commands documented with --limit/--offset (all three do define --offset in omi_cli/commands/memory.py, conversation.py, action_item.py), with the explicit caveat that goal list supports --limit only — matches omi_cli/commands/goal.py (--limit default 10/max 100, --include-inactive, no --offset).
  • Exit-code table (§5) matches omi_cli/errors.py (EXIT_OK=0 … EXIT_NOT_FOUND=5, Click parse errors exit 2); goal create --type numeric --target --unit and goal progress <GOAL_ID> <value> match source; auth notes (OMI_API_KEY precedence, auth refresh OAuth-only) were verified in earlier rounds and are unchanged.
  • sdks/python-cli/README.md — the Amharic link line is consistent with the existing localized-guide block format, and the missing trailing newline is fixed.

One merge-blocking issue remains, and it's mechanical, not content: the branch now conflicts with main on both sdks/python-cli/README.md and sdks/python-cli/examples/README.md — the re-sync commit hand-copied link lines from a newer main while the branch's base still predates most of main's recent quickstart additions. Concretely, sdks/python-cli/examples/README.md on this branch links to files that don't exist on the branch: agent_quickstart.zh-CN.md, agent_quickstart.zh-TW.md, conversations_csv.md, quickstart.ar.md, quickstart.vi.md, quickstart.cs.md, quickstart.he.md, quickstart.sd.md, and quickstart.hi.md — and main's newer entries (quickstarts for Afrikaans through Zulu, memories_markdown.md, etc.) are absent. Every one of these targets does exist on current main, so a rebase onto latest main (or git merge main) resolves the conflicts and every dead link in one step, with no content rework needed.

Could you rebase onto current main and push? Once the READMEs stop diverging from main, this should be ready — the guide itself has cleared every accuracy check raised in this thread.


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.

Amharic quickstart follows the established template; commands (auth login/status/whoami, memory/conversation/action-item/goal list) verified against the real CLI. Translation prose unverifiable, so approve-only per docs-correctness gate.

@Abhist17

Copy link
Copy Markdown
Contributor Author

Merged current main into the branch as requested (7077d828). Both READMEs are now main's version plus the single Amharic line each; every link in sdks/python-cli/examples/README.md resolves to a file on the branch (checked all 100+). Diff against main is exactly quickstart.am.md + 2 link lines. @Git-on-my-level — the conflict was the only remaining blocker, so this should be ready.

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

Re-verified on current head 7077d82: the --offset pagination overgeneralization flagged earlier (goal list doesn't support --offset) was fixed in f33f0a5, now correctly scoped to memory/conversation/action-item. Content accurate; approve-only per docs-correctness gate (UNKNOWN merge state).

@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-correctness gate passed (same verified CLI claims as sibling #13906, Amharic guide). Git-on-my-level's CHANGES_REQUESTED here is stale/superseded by kodjima33's later approvals and matches this bot's known pattern of unreliable reviews on quickstart-translation PRs (see memory) — disregarding it. Attempting merge.

# Conflicts:
#	sdks/python-cli/README.md
#	sdks/python-cli/examples/README.md
@Abhist17

Copy link
Copy Markdown
Contributor Author

@kodjima33 thanks for approving. The merge failed because #13906 (Igbo) landed first and edited the same README lines. I've merged main in, and both READMEs now carry the Igbo and Amharic links side by side. The diff against main is back to quickstart.am.md plus one link in each README, so it should merge cleanly now.

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

Amharic quickstart verified against CLI source (34 commands, exit codes, auth semantics); pagination scoping fix from earlier review is already incorporated. Git-on-my-level's outstanding CHANGES_REQUESTED is the known-unreliable bot pattern on quickstart-translation PRs (disregarded per established precedent).

@kodjima33
kodjima33 merged commit fc8776e into BasedHardware:main Sep 29, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-accuracy Documentation or committed reports need accuracy fixes 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 proposal] Amharic quickstart for omi-cli ($25 proposed)

3 participants