Skip to content

docs(sdks/python-cli): add Korean quickstart guide (#13365) - #13366

Closed
CreamPle wants to merge 2 commits into
BasedHardware:mainfrom
CreamPle:docs/korean-quickstart
Closed

CreamPle wants to merge 2 commits into
BasedHardware:mainfrom
CreamPle:docs/korean-quickstart

Conversation

@CreamPle

@CreamPle CreamPle commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Resolves #13365.

Adds a comprehensive, idiomatic Korean quickstart guide (sdks/python-cli/examples/quickstart.ko.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

…dence, and Click exit codes in Korean guide

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

Copy link
Copy Markdown
Member

Thanks for this — clean, well-scoped docs contribution, and the discovery links follow the existing Japanese quickstart pattern.

Verified against the CLI source on main:

  • examples/quickstart.ko.md — spot-checked the technical claims and they hold up:
    • The exit-code table matches omi_cli/errors.py exactly (EXIT_USAGE=1 … EXIT_NOT_FOUND=5), including the nuance that Click parser errors surface as code 2.
    • The --json placement rule (global flag before the subcommand) matches the root option in omi_cli/main.py.
    • The note that OMI_API_KEY only takes effect when the active profile has no stored key — so omi auth logout first — matches the env-key resolution in main.py (if env_key and not profile.api_key).
    • memory create --category work, goal create --type numeric --target 2 --unit liters, and conversation get --include-transcript all match the command definitions (work is a valid MemoryCategory; --unit requires a metric option, which the example supplies).
    • The local Desktop section matches the local command surface (OMI_LOCAL_API_URL/OMI_LOCAL_TOKEN, search-screen --days --app).
    • Nice touches beyond the Japanese guide: the env-vs-stored-key precedence note, the PowerShell $LASTEXITCODE check, and a security best-practices section.
  • README.md and examples/README.md — the Korean guide is now discoverable alongside the Japanese one and both links resolve.

CI note: the three failing Python checks (Linux / Python 3.10|3.12, Windows ACL / Python 3.12) fail in tests/test_auth_api_key.py::test_transport_failure_during_login_leaves_saved_config_unchanged, which fails identically on the latest main run — pre-existing and unrelated to this docs-only diff. Labeled accordingly.

This resolves bounty proposal #13365 — leaving the bounty/merge call to 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 ci-failing-pre-existing CI check failing for reasons pre-existing/unrelated to this PR (red main) positive-signal Automation verified a genuine fix/quality contribution docs-tooling Layer: Documentation, examples, dev tools labels Sep 10, 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.

Docs-only i18n addition (Korean quickstart), labeled ci-failing-pre-existing. Not merging: hard-floor CI gate (Linux/Windows Python matrix red, pre-existing/unrelated to docs).

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

Reviewed the Korean quickstart wording and command examples with AI assistance at 88347c2. The Korean is understandable; I found one reproducible login-command error and one Bash/Zsh portability improvement, with suggested replacements inline.

Validation: installed omi-cli 0.3.0 from this PR in an isolated environment. The documented bare --api-key command exits 2; unflagged login followed by option 2 reaches the hidden API-key prompt (aborted before entering credentials). Tested the Desktop token replacement in Bash and Zsh using dummy input. No live authentication/API/Desktop session was tested. The existing auth test file ran 15 passed / 1 failed; the failure is test_transport_failure_during_login_leaves_saved_config_unchanged, already discussed in this PR, and is not a new finding from the documentation change.

This is a review contribution, with no bounty request.


```bash
# 로컬 프로필에 영구 저장 (대화형 프롬프트로 붙여넣어 셸 히스토리 보호)
omi auth login --api-key

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intended hidden-paste flow is good, but this command does not open it: running omi auth login --api-key at this head exits 2 with Error: Option '--api-key' requires an argument. --api-key is a TEXT option that skips the prompt. For the interactive flow described in the Korean comment, run unflagged login and choose option 2. I verified it reaches Paste your Omi developer API key: in a terminal, then aborted without entering a key.

Suggested change
omi auth login --api-key
omi auth login
# 로그인 방식에서 2) API key를 선택한 뒤 키를 붙여넣습니다.

```bash
# 로컬 엔드포인트 구성 (보안을 위해 환경 변수 사용 권장)
export OMI_LOCAL_API_URL="http://127.0.0.1:47778"
read -r -s -p "Desktop token: " OMI_LOCAL_TOKEN; echo

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small portability improvement for macOS readers using Zsh: this snippet is tagged Bash, but the local Desktop section does not otherwise require switching shells. Zsh interprets read -p as coprocess input and fails with -p: no coprocess, so the token is not read. Separating the prompt works in both Bash and Zsh; verified with dummy input in both shells. Alternatively, explicitly tell Zsh users to run this section in Bash.

Suggested change
read -r -s -p "Desktop token: " OMI_LOCAL_TOKEN; echo
printf 'Desktop token: ' >&2
IFS= read -r -s OMI_LOCAL_TOKEN
printf '\n' >&2

@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-evaluated under current policy (backlog drain). See merge/skip reasoning in review notes.

@Git-on-my-level

Copy link
Copy Markdown
Member

This looks like a class of change we currently aren't taking, based on maintainer pattern rulings. That's not a judgment on the work itself — if you think this one is different, comment and it goes straight to a maintainer. Thanks 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

ci-failing-pre-existing CI check failing for reasons pre-existing/unrelated to this PR (red main) 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 proposal] Korean quickstart for omi-cli ($25 proposed)

4 participants