Skip to content

docs(python-cli): add Catalan quickstart guide and discovery links (#13730) - #13731

Closed
TheRWX wants to merge 1 commit into
BasedHardware:mainfrom
TheRWX:docs/quickstart-ca
Closed

TheRWX wants to merge 1 commit into
BasedHardware:mainfrom
TheRWX:docs/quickstart-ca

Conversation

@TheRWX

@TheRWX TheRWX commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Resolves #13730. Adds a comprehensive, native Catalan (Català) quickstart guide for omi-cli located at sdks/python-cli/examples/quickstart.ca.md and registers discovery links in sdks/python-cli/README.md and sdks/python-cli/examples/README.md.

Changes

  • sdks/python-cli/examples/quickstart.ca.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).
    • 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 and Click parser errors (code 2).
    • Shell automation examples for Bash/Zsh (with exit code capture), PowerShell (with $LASTEXITCODE), and Windows Command Prompt (%ERRORLEVEL%).
    • Profile switching and staging environment usage via --profile and --api-base https://api.staging.omi.me.
    • 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 Catalan localized guide in the discovery callout.
  • sdks/python-cli/examples/README.md: Added Catalan 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

Verified docs-only change adding a Catalan quickstart — resolves the #13730 bounty. I cross-checked the guide against the CLI source and it is accurate; details below.

  • sdks/python-cli/examples/quickstart.ca.md (new, 286 lines) — every claim I sampled checks out against the code:
    • The exit-code table (0–5) matches omi_cli/errors.py exactly, including the subtle point that Click parser errors (unknown flag/missing argument) exit 2 via the exception ladder in omi_cli/main.py, while app-level usage errors exit 1.
    • The --json global-flag placement rule (omi --json memory list, never after the subcommand) matches the root callback in omi_cli/main.py.
    • Commands and flags all exist as documented: auth login --browser / --provider apple / --api-key, the status (local, offline) vs whoami (network) distinction, auth logout, memory create --category, conversation get --include-transcript, action-item list --open / complete, and goal create "..." --type numeric --target 2500 --unit "ml" — correctly using the positional title, and --unit alongside --target passes the metric-goal guard in commands/goal.py.
    • Local desktop section: OMI_LOCAL_API_URL=http://127.0.0.1:47778 / OMI_LOCAL_TOKEN env vars, omi local status, and omi local search-screen "query" --days 1 --app "Slack" (positional query) match commands/local.py and the env names in config.py.
    • Security guidance (env-var key for CI, chmod 700 ~/.omi / chmod 600 on config, unset on logout) is consistent with config.py's owner-only file handling.
    • The Catalan is native-quality technical prose with consistent terminology; the jq/pagination/exit-code examples for Bash, PowerShell, and cmd go beyond the sibling guides without inventing behavior.
  • sdks/python-cli/README.md — Catalan appended to the localized-guides callout with the 🇦🇩 flag, matching the established ja/es/tr/ru/bg/th format and ordering.
  • sdks/python-cli/examples/README.md — index entry added, consistent with the sibling entries.

One optional polish, non-blocking: in the exit-code table, the row for code 2 combines EXIT_AUTH and Click parser errors (which is behaviorally correct); a short footnote separating the two cases might help readers scanning the table.

Thanks @TheRWX — solid contribution, and appreciated that the guide documents the agent-facing contract (JSON placement, exit codes) so carefully. Since this resolves a bounty, leaving the merge/award sign-off to 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.

@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

Re-checked after the branch was force-pushed on Sep 14 (new head 4108ec2), since that push came after the earlier verification:

  • sdks/python-cli/examples/quickstart.ca.md is byte-identical to the previously verified version — no content changes.
  • The sdks/python-cli/README.md and sdks/python-cli/examples/README.md deltas against the previously verified head are upstream-only (Mongolian, Danish, Sanskrit, and Konkani quickstart entries merged from other PRs); this PR's Catalan additions are unchanged.

So the force-push was a clean rebase onto main, and the earlier verification stands for the current head. Nothing further needed from you, @TheRWX — thanks for keeping it tidy.


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

@aryanorastar

Copy link
Copy Markdown
Collaborator

Closing as FIXED_OPEN. sdks/python-cli/examples/quickstart.ca.md is already on origin/main a979f6239c. README index line is not extra production.

@github-actions

Copy link
Copy Markdown
Contributor

Hey @TheRWX 👋

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

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 Catalan (Català) quickstart guide for omi-cli

4 participants