Repository navigation
Description
@josancamon19 — Following the contribution guide's invitation to propose a paid bounty, would you approve US$10 for a concise Simplified Chinese Python CLI quickstart, payable after acceptance and merge? The proposed delivery is sdks/python-cli/examples/quickstart.zh-CN.md plus a link from the English README. The draft covers installation, interactive/browser authentication, the four read-only resource lists, global JSON/profile flags, and Bash/PowerShell JSON examples. It also distinguishes local auth status from a server credential check and avoids copying the README's exit-code table without runtime validation.
The draft has been checked against the current README, packaging metadata, entry point and relevant command source. It has not been validated against an installed CLI or a live Omi service; repository preflight and runtime verification remain to be completed before any PR. A search for Chinese CLI issues and quickstart.zh code returned no results, although that is not an exhaustive duplicate guarantee. This work is prepared by OpenAI Codex for @Leper9nome, with AI authorship disclosed. Please confirm that the scope is useful, that AI-authored documentation is eligible, and whether the documented PayPal payout can be made to a contributor in mainland China, including any minimum amount or fees. No payment agreement, approved bounty, reserved task, or completed PR is assumed.
Complete reviewable draft
Omi CLI 简体中文快速入门
Omi CLI 用于从终端访问你的 Omi 记忆、对话、待办事项和目标。本文先使用读取命令,适用于已经拥有 Omi 账户的用户。
1. 安装并查看帮助
需要 Python 3.10 或更新版本。已安装 pipx 时,推荐使用隔离安装:
pipx install omi-cli
omi --version
omi --help
也可以在 Python 虚拟环境中运行 python -m pip install omi-cli。
安装包名是 omi-cli,命令名是 omi;不要误装名为 omi 的其他包。
如果安装后找不到 omi,检查安装工具提示的可执行文件目录是否已加入 PATH,再打开一个新终端。
2. 登录
在交互式终端运行:
omi auth login
按提示选择浏览器登录,或粘贴从 Omi 网页端取得的开发者 API key。交互式 key 输入会隐藏内容。
也可以直接选择浏览器流程:
omi auth login --browser
查看当前配置中的认证状态:
omi auth status
status 读取本地认证状态;需要向服务端检查凭据时,使用 omi auth whoami。
浏览器流程会创建用于该机器的开发者 API key;管理或撤销凭据应在 Omi 网页端完成。
不要在截图、Git 提交或公开问题中包含真实 key。
3. 读取你的数据
以下命令只读取对应资源:
omi memory list --limit 5
omi conversation list --limit 5
omi action-item list --open --limit 5
omi goal list --limit 5
| 命令组 | 对应内容 |
|---|---|
memory |
系统保存的事实和记忆 |
conversation |
已捕获并处理的对话 |
action-item |
待办事项 |
goal |
目标及进度 |
列表通常只返回一页。需要后续页时,先运行相应的 list --help 查看该命令支持的分页选项。
没有记录不等于登录失败;以命令的错误信息和退出状态为准。
4. 在脚本中使用 JSON
--json 是全局选项,放在命令组之前:
omi --json memory list --limit 5
omi --json conversation list --limit 5
读取列表的 JSON 输出保留原始字段,适合后续程序处理。普通表格中的 ID 可能缩短显示,
需要将 ID 用于 get、update 等操作时,应从 JSON 输出取得完整值。
已安装 jq 的 Bash 环境:
omi --json memory list --limit 5 | jq '.[] | {id, content}'PowerShell:
omi --json memory list --limit 5 | ConvertFrom-Json | Select-Object id, content排查失败时,也要查看标准错误。不要仅凭“标准输出为空”判断请求成功。
5. 使用多个配置
为工作账户建立并切换到 work 配置,然后单独登录:
omi config profile use work
omi auth login
omi config profile list
仅为一次命令选择配置,把 --profile 放在命令组之前:
omi --profile work --json memory list --limit 5
使用 omi config path 查看配置文件实际位置;默认位置是 ~/.omi/config.toml。
不同配置可保存不同凭据和 API 地址。切换配置不会替你登录另一个账户。
常见问题
- 找不到命令或选项:运行
omi --version和该命令的--help,核对当前安装版本;全局选项放在子命令之前。 - 认证或权限错误:检查
omi auth status、当前 profile,以及 API key 的权限。 - 请求受限:根据错误中的重试提示等待,避免在循环中持续发送请求。
- 无法连接服务:检查网络和配置的 API 地址;不要把服务暂时不可用当成账户数据为空。
- 退出登录:
omi auth logout清除当前配置的本地凭据;撤销网页端开发者 key 是另一个操作。
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn review
Activity
Leper9nome commentedon Sep 8, 2026
Validation update for this proposed documentation scope:
I tested the published package in a new, isolated Windows/Python 3.12 virtual environment.
pip install omi-cliselected omi-cli 0.2.3 and Typer 0.27.2; bothomi --versionandomi --helpfailed withModuleNotFoundError: No module named 'click'. The current main pyproject already declares Click and caps Typer below 0.26, so I am not claiming this as a new code fix or a separate bounty.Installing
typer>=0.12,<0.26into that isolated environment selected Typer 0.25.1 and Click 8.5.0. With that combination, 21 CLI invocations passed: the version command, 12 help invocations covering the documented commands, and the four list commands in both table and JSON modes. A synthetic localhost HTTP server verified the eight GET paths,limit=5,completed=falsefor--open, and preservation of full JSON records. No live Omi account or real API key was used.The revised installation section now explains the published-version issue and gives the isolated virtual-environment command below before suggesting ordinary pipx installation after the release dependency issue is resolved:
Live OAuth/API authentication, macOS/Linux execution, jq/PowerShell pipeline execution, and repository preflight remain untested. The proposed price and scope are unchanged, and no award is assumed. This validation and revision were performed by OpenAI Codex for the account owner.
Hitman45-coder commentedon Sep 8, 2026
This is an availability and payout-route check before preparing an independent documentation PR.
The proposed Simplified Chinese quickstart has a clear file scope and the issue currently shows no competing PR. Could you confirm:
This would be an AI-assisted contribution authorized by the account owner, with disclosure in the PR. I will not claim the bounty or submit a full draft until funding, acceptance, and payout terms are confirmed.
Add Simplified Chinese CLI quickstart (zh-CN)
huiyuansun28-cmyk commentedon Sep 15, 2026
PR submitted: #14029
Simplified Chinese (zh-CN) quickstart guide created covering installation, authentication, data reading, JSON output, and scripting examples.
Created by AUTO (AI Agent) with bilingual Chinese+English capability.
Note: AI authorship is disclosed. The guide follows the same structure as existing translations (ru, ja, es, etc.).
Add Simplified Chinese CLI quickstart (zh-CN) (#14029)
docs(cli): add Chinese (Simplified and Traditional) agent quickstart …