Skip to content

docs(cli): Japanese agent quickstart + bring quickstart.ja.md up to the localized template ($50 across bounty proposals) - #14574

Merged
kodjima33 merged 2 commits into
BasedHardware:mainfrom
knoauktasu5624-wq:docs/cli-japanese-guides
Sep 19, 2026
Merged

kodjima33 merged 2 commits into
BasedHardware:mainfrom
knoauktasu5624-wq:docs/cli-japanese-guides

Conversation

@knoauktasu5624-wq

@knoauktasu5624-wq knoauktasu5624-wq commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

What changed and why

Product invariants affected

none (docs only)

How it was verified

Every technical claim was checked against sdks/python-cli/omi_cli/ on main:

  • exit codes 0–5: errors.py EXIT_*; Click usage errors exit 2: main.py (sys.exit(exc.exit_code) for click.UsageError)
  • OMI_API_KEY only when the profile has no key: main.py AppContext.get_profile
  • auth refresh raises UsageError for API-key profiles: commands/auth.py refresh
  • goal progress <GOAL_ID> <VALUE> takes two positional arguments; goal history --days: commands/goal.py
  • ask is a top-level command with --limit / --timezone: main.py
  • profile precedence flag > OMI_PROFILE > active_profile > default: config.py resolve_profile
  • local configure / status / tools / call / search-screen / screenshot / sql / task: commands/local.py
  • config show / path / set: commands/config.py

Parity check (script run locally): the set of omi … command lines inside code fences is identical between quickstart.fr.md and the new quickstart.ja.md (only the token placeholder differs), and identical between agent_quickstart.md and agent_quickstart.ja.md; both Python blocks in the agent guide are byte-identical to the English source apart from one translated inline comment. Heading and fence counts match the sources (10/10/21 and 7/5/11).

Tests

No test change: documentation only, no code path altered.

Not run: the CLI itself against a live Omi account (docs-only change; no commands were altered).

Written and reviewed by a native Japanese speaker.

Review in cubic

… localized template

Adds agent_quickstart.ja.md (mirrors agent_quickstart.zh-CN.md structure), rewrites quickstart.ja.md to the current localized template, and links the Japanese agent guide from examples/README.md.

Refs BasedHardware#14572 BasedHardware#14573

@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 gate passed: exit codes, goal progress/history, ask flags, config show/path/set, local subcommands, profile precedence, and auth refresh all verified against sdks/python-cli/omi_cli/ on main. Squash-merging.

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @knoauktasu5624-wq — I verified the technical claims against sdks/python-cli/omi_cli/ on main, and everything checks out. Notes per file:

agent_quickstart.ja.md (new) — structure mirrors agent_quickstart.md 1:1 (agent-friendly contract, auth, the five common operations, Local Desktop API, Python agent loop, rate limits, tips). The exit-code contract 0/1/2/3/4/5 matches errors.py EXIT_*, the stderr {"error", "detail"} JSON contract and Click-usage-errors-exit-2 note match main.py, and the rate-limit figures (memories 120/hr, conversations 25/hr, batch creates 15/hr) match the English guide. The command set inside code fences is identical to the English source apart from translated prose comments.

quickstart.ja.md — section structure now matches the quickstart.fr.md template exactly, and the fenced command set is identical. Spot-checked claims all hold: OMI_API_KEY only taking effect when the active profile has no stored key (main.py AppContext.get_profile), auth refresh raising a usage error for API-key profiles (commands/auth.py), goal progress <GOAL_ID> <VALUE> as two positionals and goal history --days (commands/goal.py), top-level ask with --limit/--timezone (main.py), profile resolution --profile > OMI_PROFILE > active_profile > default (config.py resolve_profile_name), and OMI_LOCAL_API_URL/OMI_LOCAL_TOKEN overrides (commands/local.py _local_settings). Nice catch on the exit-code 1 row — the old table attributed Click usage errors to 1 when they actually exit 2; the new table scopes 1 to the CLI's own validation and adds the Click note.

README.md — adds the missing discovery link for the Japanese agent guide; the quickstart.ja.md entries were already indexed in both indexes. No dead links.

Agent-guidance note: this adds localized agent-behavior documentation, so I diffed it against the English agent guide — it is a faithful translation with no behavioral divergence, and it preserves the guardrail that local task complete/local task delete only run when the user explicitly asks. Since it can shape how Japanese-locale agents drive omi-cli, a human skim is worthwhile, and @kodjima33 has already approved this head.

Closes #14573 and #14572 as claimed (both open bounty proposals matching this work). From a docs-accuracy standpoint this is merge-ready; adding positive-signal + i18n.


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(cli): Japanese agent quickstart verified against CLI source (auth refresh/whoami/status, goal progress/history, ask -> /v1/dev/user/ask all confirmed to exist and behave as described). Docs-correctness gate passed, no CI on docs-only branch.

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

3 participants