Skip to content

docs(python-cli): add Irish quickstart guide and discovery links (#13739) - #13740

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

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

Conversation

@TheRWX

@TheRWX TheRWX commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Resolves #13739. Adds a comprehensive, native Irish (Gaeilge) quickstart guide for omi-cli located at sdks/python-cli/examples/quickstart.ga.md and registers discovery links in sdks/python-cli/README.md and sdks/python-cli/examples/README.md.

Changes

  • sdks/python-cli/examples/quickstart.ga.md:
    • Clear distinction between package name (omi-cli on PyPI) and command invocation (omi).
    • Isolated installation instructions via pipx and pip.
    • Authentication options: interactive, OAuth browser (Google & Apple via --provider apple), developer API key (--api-key and OMI_API_KEY), verification (status vs whoami), and dedicated logout section (omi auth logout + unset OMI_API_KEY).
    • Explicit API key security caveat (shell history / process table) and saved profile precedence note.
    • Core CLI resources: memories, conversations (including transcripts), action items, and goals (strictly using positional title argument with --type numeric).
    • Structured JSON automation with global --json placement (omi --json <command>), jq pipeline examples, and file pagination (--limit, --offset).
    • Explicit exit codes contract table (codes 0–5) adhering to omi_cli/errors.py, with code 1 scoped strictly to application-level UsageError and Click/Typer parser/parameter errors mapped to code 2.
    • Shell automation examples for Bash/Zsh (with exit code capture), PowerShell (with $LASTEXITCODE), and Windows Command Prompt (%ERRORLEVEL%).
    • Profile switching and persistent staging environment configuration via omi --profile staging config set api_base https://api.staging.omi.me alongside per-command override note.
    • Local desktop API integration with pre-configured endpoint variables (OMI_LOCAL_API_URL="http://127.0.0.1:47778" and OMI_LOCAL_TOKEN), status check, and positional query for search-screen.
    • Security best practices for API key storage, session hygiene, and file permissions (chmod 700 ~/.omi).
  • sdks/python-cli/README.md: Registered Irish localized guide in the discovery callout.
  • sdks/python-cli/examples/README.md: Added Irish quickstart guide to the examples index.

Verification

  • Validated markdown formatting, syntax highlighting, and headers.
  • Verified git diff --check runs clean with zero whitespace errors.
  • Verified command flags and argument signatures match omi_cli codebase.

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.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @TheRWX - nice addition. I verified the guide against the CLI source at this head and it holds up well.

  • sdks/python-cli/examples/quickstart.ga.md - checked the technical claims against the code: the exit-code table matches omi_cli/errors.py (codes 0-5), including the subtle point that Click/Typer parser errors exit 2 while app-level UsageError exits 1 (e.g. the mutually exclusive --browser/--api-key in commands/auth.py) - exactly how main.py's exception ladder behaves. The global --json placement rule, --limit/--offset pagination (commands/memory.py), positional goal title with --type numeric --target --unit (commands/goal.py), --open and complete on action items, --include-transcript on conversations, saved-key precedence over OMI_API_KEY (main.py get_profile), config set api_base as a settable key (commands/config.py), and the local Desktop API env vars/port 47778 (OMI_LOCAL_API_URL/OMI_LOCAL_TOKEN per config.py and the main README) all check out. Placeholder keys correctly use the omi_dev_ prefix.
  • sdks/python-cli/README.md - the localized-guides line now includes the Irish entry in the same format as the other languages.
  • sdks/python-cli/examples/README.md - index entry matches the existing pattern and the link target exists.

One tiny nuance, not blocking: line 264 calls 47778 the default port - the CLI itself has no built-in default local URL (it must be set via env/config), so "the port the Desktop app listens on" would be slightly more precise. The same phrasing exists in the ja/tr guides, so keeping it for consistency is fine.

The Irish reads naturally and the structure follows the other localized quickstarts. Leaving the merge call to a maintainer; from the docs-accuracy side this is in good shape.


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 positive-signal Automation verified a genuine fix/quality contribution docs-tooling Layer: Documentation, examples, dev tools labels Sep 13, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up after the rebase onto current main (the earlier verification was on the pre-rebase head): the new guide at sdks/python-cli/examples/quickstart.ga.md is byte-identical to the version verified before the rebase, so none of those checks are invalidated. I also re-checked the guide's technical claims against the CLI source at this head — the exit-code table in omi_cli/errors.py (including Click/Typer parser errors exiting 2 while app-level UsageError exits 1), auth flags in omi_cli/commands/auth.py, the positional goal title with --type numeric, the conversation transcript flag, pagination, profile/config api_base, and the local Desktop API env vars/port — and everything still matches. The localized-guides line in sdks/python-cli/README.md also merged cleanly alongside the newly added Mongolian/Danish/Sanskrit/Konkani entries, and sdks/python-cli/examples/README.md indexes quickstart.ga.md with a working link. Still in good shape from the docs-accuracy side.


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: Irish 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).

@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 verified: CLI commands, flags, exit codes (0-5), and env vars all match omi_cli source at origin/main. CLEAN, CI green.

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

Labels

docs-tooling Layer: Documentation, examples, dev tools positive-signal Automation verified a genuine fix/quality contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bounty] Add Irish (Gaeilge) quickstart guide for omi-cli

3 participants