Skip to content

docs(cli): add Japanese quickstart guide and discovery links - #13099

Merged
kodjima33 merged 2 commits into
BasedHardware:mainfrom
Aj2280:docs/cli-japanese-quickstart
Sep 9, 2026
Merged

kodjima33 merged 2 commits into
BasedHardware:mainfrom
Aj2280:docs/cli-japanese-quickstart

Conversation

@Aj2280

@Aj2280 Aj2280 commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR adds a concise Japanese quickstart guide for omi-cli in sdks/python-cli/examples/quickstart.ja.md with cross-links from README.md and examples/README.md, fulfilling the proposed documentation task in #13046.

Content Covered

  • Package Naming: Clearly explains that the pip package is omi-cli while the binary command is omi.
  • Installation: Step-by-step guidance for pipx install omi-cli (recommended) and pip install omi-cli.
  • Authentication: Details interactive login (omi auth login), browser OAuth flow (omi auth login --browser), developer API keys, and environment variables (OMI_API_KEY).
  • Auth Verification: Explains the difference between offline omi auth status and live round-trip omi auth whoami.
  • Core Resource Operations: Concrete CLI examples for the four primary resources:
    • memory list, memory create, memory view
    • conversation list, conversation view
    • action-item list --open, action-item complete
    • goal list
  • JSON & Scripting: Highlights global placement of --json before subcommands and provides filtering examples with jq.
  • Shell-Specific Setup: Examples for Bash/Zsh and PowerShell.
  • Exit Codes Contract: Reference table for standard exit codes (0, 1, 2, 3, 4, 5).
  • Local Desktop API & Profiles: Instructions for omi local configure and --profile.

Product Invariants Affected

none

Verification

  • Verified all Markdown syntax, internal links, and headings.
  • Verified command syntax against omi --help and current CLI implementation.
  • Ran make preflight locally: all 12 manifest checks passed.

Resolves #13046

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

@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(cli): Japanese quickstart guide, verified every command/flag/exit-code against current README and CLI command tree — all accurate. Docs-correctness gate passed.

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @Aj2280 — I verified this guide against the CLI implementation at this PR's head and it is accurate throughout.

sdks/python-cli/examples/quickstart.ja.md — spot-checked every claim against code:

  • The exit-code table (0/1/2/3/4/5) mirrors the stable contract in omi_cli/errors.py (EXIT_OK…EXIT_NOT_FOUND) exactly, including the meanings.
  • The --json placement rule (global option, before the subcommand; omi memory list --json is wrong) matches the root-level callback option in omi_cli/main.py.
  • memory create --category lifestyle — lifestyle is a valid MemoryCategory in omi_cli/models.py; conversation get <ID> --include-transcript, action-item list --open / action-item complete, and goal list all match their command signatures.
  • Auth section matches omi_cli/commands/auth.py: the interactive picker (1 Browser / 2 API key), --browser, --api-key, OMI_API_KEY env fallback, offline auth status vs live auth whoami.
  • Local Desktop section matches omi_cli/commands/local.py (configure --url/--token, search-screen --days/--app), and profiles at ~/.omi/config.toml match omi_cli/config.py.
  • The package-name vs command-name callout (omi-cli on PyPI, omi binary) is a genuinely useful trap to document.

sdks/python-cli/README.md and examples/README.md — both link additions use correct relative paths and consistent formatting.

Two non-blocking notes:

  1. The guide now partially duplicates the English README / examples/agent_quickstart.md in translation, so it can drift as the CLI evolves. If more localized guides land, consider a short "the English README is the source of truth" note at the top.
  2. Japanese quickstart for the Python CLI (proposed $25 docs bounty) #13046 is still an open proposal awaiting maintainer confirmation of scope/eligibility, so the bounty-side discussion should be settled there.

No blocking issues — accurate, narrow, well-linked documentation. Already maintainer-approved; leaving a positive signal only.


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 8, 2026
Aj2280 and others added 2 commits September 9, 2026 15:18
Add Japanese localized quickstart guide (`sdks/python-cli/examples/quickstart.ja.md`)
covering installation, browser & API-key authentication, core CRUD resources,
global `--json` usage, shell environment examples, exit codes, and Desktop API.
Add discovery cross-links from `README.md` and `examples/README.md`.

Resolves BasedHardware#13046

Signed-off-by: Abhi <[email protected]>
Co-authored-by: oshio <[email protected]>
@Aj2280
Aj2280 force-pushed the docs/cli-japanese-quickstart branch from 06a99c3 to b6aa7a3 Compare September 9, 2026 09:51
@Aj2280
Aj2280 requested a review from kodjima33 September 9, 2026 13:40
@kodjima33
kodjima33 merged commit fda0297 into BasedHardware:main Sep 9, 2026
26 of 29 checks passed
amasen02 added a commit to amasen02/omi that referenced this pull request Sep 11, 2026
Adds sdks/python-cli/examples/quickstart.ru.md — Russian-language
quickstart matching the structure of the merged Japanese (BasedHardware#13099),
Spanish (BasedHardware#13292/BasedHardware#13408) and Traditional Chinese (BasedHardware#13261) guides:

- pipx vs pip install, package-vs-binary distinction
- Full auth coverage (browser OAuth, API key, OMI_API_KEY env var)
- Offline (omi auth status) vs live (omi auth whoami) verification
- Memories, conversations, action items, goals workflows
- Global --json placement with jq recipes
- Exit codes table, Bash/Zsh + PowerShell env setup
- Local Desktop API queries and profile management

Resolves BasedHardware#13438
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.

Japanese quickstart for the Python CLI (proposed $25 docs bounty)

3 participants