Skip to content

docs(sdks/python-cli): add Dutch quickstart guide (#13371) - #13372

Closed
CreamPle wants to merge 5 commits into
BasedHardware:mainfrom
CreamPle:docs/dutch-quickstart
Closed

CreamPle wants to merge 5 commits into
BasedHardware:mainfrom
CreamPle:docs/dutch-quickstart

Conversation

@CreamPle

@CreamPle CreamPle commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Resolves #13371.

Adds a comprehensive, idiomatic Dutch quickstart guide (sdks/python-cli/examples/quickstart.nl.md) for omi-cli:

  • Package name (omi-cli) vs binary executable (omi)
  • Installation options via pipx (isolated environment) and pip
  • Complete authentication walkthrough:
    • Interactive browser login (omi auth login --browser)
    • Headless API-key login (omi auth login --api-key) and environment variable (OMI_API_KEY)
    • Offline status inspection (omi auth status) vs live server verification (omi auth whoami)
  • Primary resource workflows for memories, conversations, action items, and goals
  • Structured automation guidelines with global --json option and jq recipes
  • Detailed exit codes reference table (0, 1, 2, 3, 4, 5)
  • Cross-platform shell snippets for Linux/macOS (Bash/Zsh) and Windows (PowerShell with $LASTEXITCODE validation)
  • Local Omi Desktop API integration (omi local configure, omi local search-screen)
  • Multi-environment profile management (--profile, ~/.omi/config.toml)
  • Security recommendations for credentials and shell history
  • Discovery links added in sdks/python-cli/README.md and sdks/python-cli/examples/README.md

Failure-Class: none

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

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

Re-trigger cubic

…exit codes with CLI contract

Failure-Class: none
@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @CreamPle - nice contribution. I checked the new guide against the CLI source and it's in very good shape; one snippet needs a fix before merge.

sdks/python-cli/examples/quickstart.nl.md (checked against sdks/python-cli/omi_cli/):

  • The exit-code table matches the CLI's stable contract exactly (errors.py: EXIT_USAGE=1, EXIT_AUTH=2, EXIT_SERVER=3, EXIT_RATE_LIMITED=4, EXIT_NOT_FOUND=5), including the nuance that raw Click parser errors come back as 2.
  • The --json-before-subcommand rule, goal create --type/--target/--unit, memory create --category work, action-item list --open / action-item complete, conversation get --include-transcript, local status / local search-screen --days/--app, the OMI_LOCAL_API_URL/OMI_LOCAL_TOKEN setup (port 47778), and --profile / --api-base with ~/.omi/config.toml all match the implemented surface.
  • The note that OMI_API_KEY is ignored when the profile already stores a key is correct (the CLI only adopts the env key when the profile has none), and so is "expiry only shown for OAuth profiles" in auth status.

One fix - in section 2, "Gebruik van een Ontwikkelaars-API-sleutel":

omi auth login --api-key

--api-key takes a value, so the bare form doesn't prompt - it exits with code 2 and Option '--api-key' requires an argument. The hidden interactive paste is plain omi auth login (choose option 2), or use omi auth login --api-key <KEY>. Could you adjust that snippet? (The OMI_API_KEY bullet below it is fine as written.)

sdks/python-cli/README.md - the added discovery link sits right next to the Japanese guide link, uses the correct relative path, and the target file exists. Good.

sdks/python-cli/examples/README.md - the new list entry matches the format of the existing entries. Good.

CI note: the red "Python CLI" jobs also fail on main (since Sept 8, before this branch existed) and this PR touches only markdown - nothing for you to fix there.

Once that one snippet is adjusted this should be good to go, and it resolves #13371.


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 docs-accuracy Documentation or committed reports need accuracy fixes positive-signal Automation verified a genuine fix/quality contribution docs-tooling Layer: Documentation, examples, dev tools labels Sep 10, 2026
…d JSON transcript export

- Pass explicit argument placeholder `omi_dev_...` to `omi auth login --api-key`
- Add JSON transcript export example with output redirection

Failure-Class: none
@CreamPle

Copy link
Copy Markdown
Contributor Author

Thanks @Git-on-my-level! In commit eaa760d, the API-key login snippet has been updated to include the explicit placeholder (omi auth login --api-key omi_dev_...). All CLI snippets across sdks/python-cli/examples/quickstart.nl.md now match the implemented surface.

@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-only Dutch quickstart; the one command-accuracy issue (bare --api-key) is fixed at current head (eaa760d) — verified in diff. Reviewer confirmed exit codes/flags match CLI source exactly.

Resolve discovery link conflicts in sdks/python-cli/README.md and examples/README.md
@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up verification on the current head (bcca578, the main merge):

  • The --api-key snippet fix from eaa760d is confirmed — section 2 now passes the explicit placeholder (omi auth login --api-key omi_dev_...), and the surrounding auth guidance still matches omi_cli/commands/auth.py (option takes the key as its value; plain omi auth login gives the interactive paste).
  • Re-checked the guide against the CLI source after the merge: the exit-code table in section 5 matches omi_cli/errors.py exactly (EXIT_USAGE=1, EXIT_AUTH=2, EXIT_SERVER=3, EXIT_RATE_LIMITED=4, EXIT_NOT_FOUND=5, with Click parser errors surfacing as 2), and goal create "..." --type numeric --target 2 --unit liters matches the options in omi_cli/commands/goal.py.
  • The merge resolved cleanly around the localized-guides links — README.md and examples/README.md now list the Japanese, Spanish, and Dutch quickstarts side by side, and quickstart.nl.md itself is unchanged since eaa760d.

Since the one accuracy issue is fixed and verified, removing docs-accuracy. Thanks @CreamPle — the guide held up under a full re-check against the CLI source.


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 removed the docs-accuracy Documentation or committed reports need accuracy fixes label Sep 11, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks again @CreamPle — the guide content is still accurate at the current head; the earlier command-accuracy checks (exit codes, auth flows, flags, profile handling) all stand.

One new housekeeping item: the Turkish quickstart (#13370) merged to main on Sep 11, and it edits the same localized-guides lines this branch touches, so this PR now conflicts with main:

  • sdks/python-cli/README.md — the "Looking for localized guides?" callout lists ja/es/nl here, while main now lists ja/es/tr.
  • sdks/python-cli/examples/README.md — same spot: main appends the quickstart.tr.md bullet where this branch appends quickstart.nl.md.

Could you merge origin/main into docs/dutch-quickstart (or rebase) and resolve so both guides appear — the README callout should end up with four links (ja, es, tr, nl) and the examples README with four bullets? The Dutch guide itself doesn't overlap with the Turkish one, so no content changes are needed beyond the two list entries.

Maintainer context: the approval on record is from eaa760d; the only commit since is the routine origin/main merge (bcca578), and the conflict above is the only merge blocker I see.


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 and removed docs-tooling Layer: Documentation, examples, dev tools labels Sep 12, 2026
Resolve discovery link conflicts to include Turkish and Dutch guides
@CreamPle

Copy link
Copy Markdown
Contributor Author

Thanks @Git-on-my-level! Merged origin/main into docs/dutch-quickstart and resolved the discovery link conflicts. Both README files now cleanly include all four guides (ja, es, tr, nl), and the branch is clean.

@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up verification on the new head (366b31ba) after the main merge:

  • The conflict resolution from docs(sdks/python-cli): add Turkish quickstart guide (#13369) #13370 is correct: sdks/python-cli/examples/README.md now lists all four localized guides, and the "Looking for localized guides?" callout in sdks/python-cli/README.md includes ja, es, tr, and nl.
  • examples/quickstart.nl.md is unchanged from the human-approved revision, so the earlier command-accuracy checks still stand at this head. Re-spot-checked a few snippets against the CLI source at this ref anyway: the exit-code table matches omi_cli/errors.py (0–5, Click parser errors surfacing as 2), the auth table matches commands/auth.py (--api-key / --browser / --provider apple, mutually exclusive), goal create --type numeric --target --unit matches commands/goal.py, and local search-screen --days/--app plus OMI_LOCAL_API_URL/OMI_LOCAL_TOKEN match commands/local.py and config.py.
  • One tiny nit, non-blocking: after the merge, the English callout in sdks/python-cli/README.md now reads "…, [Turkish], or [Dutch]" — the "or" placement predates this PR's edit pattern; fine to leave.

From the automation side this is ready to merge; it just needs a maintainer click.


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.

Genuine Dutch translation, matches verified command template, no fabricated commands

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks for the contribution! We're currently not taking community recipe/export examples in this area — the pattern is already straightforward to implement from the docs, and each merged example adds long-term maintenance surface we're trimming.

That's not a judgment on the work. If you believe this fills a real gap (a target no existing example or open PR covers, with the code verified against the actual CLI and API), comment here and a maintainer will take a look. Issues with maintainer-filed bounties remain open — those are unaffected.

Thanks again for contributing!

@github-actions

Copy link
Copy Markdown
Contributor

Hey @CreamPle 👋

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.

[Bounty proposal] Dutch quickstart for omi-cli ($25 proposed)

3 participants