Skip to content

docs(sdks/python-cli): add Turkish quickstart guide (#13369) - #13370

Merged
kodjima33 merged 4 commits into
BasedHardware:mainfrom
CreamPle:docs/turkish-quickstart
Sep 11, 2026
Merged

kodjima33 merged 4 commits into
BasedHardware:mainfrom
CreamPle:docs/turkish-quickstart

Conversation

@CreamPle

@CreamPle CreamPle commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Resolves #13369.

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

1 issue found across 3 files

Confidence score: 3/5

  • sdks/python-cli/examples/quickstart.tr.md documents incorrect exit-code meanings, so scripts following the quickstart can misclassify usage, authentication, rate-limit, not-found, and server failures; replace rows 1–5 with the documented mapping.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="sdks/python-cli/examples/quickstart.tr.md">

<violation number="1" location="sdks/python-cli/examples/quickstart.tr.md:190">
P1: These exit-code meanings contradict the CLI’s stable contract, causing automation based on this guide to misclassify usage, auth, rate-limit, not-found, and server failures. Replace rows 1–5 with the documented mapping.</violation>
</file>

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

Re-trigger cubic

Comment on lines +190 to +194
| `1` | **Genel Hata** | Yakalanmamış iç istisna veya beklenmeyen hata. |
| `2` | **Bağımsız Değişken Hatası** | Geçersiz parametre, eksik argüman veya sözdizimi hatası. |
| `3` | **Yetkilendirme Hatası** | Eksik, geçersiz veya süresi dolmuş kimlik belirteci. |
| `4` | **Bulunamadı** | İstenen kaynak (hafıza, konuşma, hedef) mevcut değil. |
| `5` | **Ağ Hatası** | Bağlantı kesintisi veya sunucu zaman aşımı. |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1: These exit-code meanings contradict the CLI’s stable contract, causing automation based on this guide to misclassify usage, auth, rate-limit, not-found, and server failures. Replace rows 1–5 with the documented mapping.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At sdks/python-cli/examples/quickstart.tr.md, line 190:

<comment>These exit-code meanings contradict the CLI’s stable contract, causing automation based on this guide to misclassify usage, auth, rate-limit, not-found, and server failures. Replace rows 1–5 with the documented mapping.</comment>

<file context>
@@ -0,0 +1,270 @@
+| Kod | Anlam | Tipik Neden |
+| :---: | :--- | :--- |
+| `0` | **Başarılı** | İşlem başarıyla tamamlandı. |
+| `1` | **Genel Hata** | Yakalanmamış iç istisna veya beklenmeyen hata. |
+| `2` | **Bağımsız Değişken Hatası** | Geçersiz parametre, eksik argüman veya sözdizimi hatası. |
+| `3` | **Yetkilendirme Hatası** | Eksik, geçersiz veya süresi dolmuş kimlik belirteci. |
</file context>
Suggested change
| `1` | **Genel Hata** | Yakalanmamış iç istisna veya beklenmeyen hata. |
| `2` | **Bağımsız Değişken Hatası** | Geçersiz parametre, eksik argüman veya sözdizimi hatası. |
| `3` | **Yetkilendirme Hatası** | Eksik, geçersiz veya süresi dolmuş kimlik belirteci. |
| `4` | **Bulunamadı** | İstenen kaynak (hafıza, konuşma, hedef) mevcut değil. |
| `5` | **Ağ Hatası** | Bağlantı kesintisi veya sunucu zaman aşımı. |
| `1` | **Kullanım Hatası** | Geçersiz bayrak, eksik bağımsız değişken veya doğrulama hatası. |
| `2` | **Kimlik Doğrulama Hatası** | Kimlik bilgileri yok, süresi dolmuş belirteç veya yetersiz kapsam. |
| `3` | **Sunucu Hatası** | 5xx yanıtı veya bağlantı hatası. |
| `4` | **Hız Sınırı** | 429 Too Many Requests; yeniden deneme önerilir. |
| `5` | **Bulunamadı** | 404; istenen kaynak mevcut değil. |

…d exit codes with CLI contract

Failure-Class: none

@Git-on-my-level Git-on-my-level left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this @CreamPle — a thorough, idiomatic Turkish quickstart that mirrors the Japanese guide, and nice work turning around the earlier review comments (11 of 13 points are fixed and verified).

I checked the guide against the CLI source and it's accurate throughout, including the corrected exit-code table (0 success / 1 usage / 2 auth / 3 server / 4 rate-limited / 5 not-found), memory create with positional text + --category, action-item list --open / complete, goal create --type/--target/--unit, the global --json-before-subcommand rule, the OMI_API_KEY-vs-stored-profile note, and the env-var based local Desktop setup.

One blocking fix:

sdks/python-cli/examples/quickstart.tr.md line 70 — omi auth login --api-key (no value). The --api-key option requires its value; run as-is it exits with code 2 (Option '--api-key' requires an argument) and does not prompt. Please either drop the flag so the interactive picker handles the paste (omi auth login), or pass the value explicitly (omi auth login --api-key omi_dev_...) as the Japanese guide does.

Heads-up so you don't chase it: the three failing CI jobs (Linux / Python 3.10 / 3.12, Windows ACL / Python 3.12) all fail on tests/test_auth_api_key.py::test_transport_failure_during_login_leaves_saved_config_unchanged, which is failing the same way on main — unrelated to this docs-only change.

With that one line fixed this is in good shape for a maintainer merge decision.


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 docs-accuracy Documentation or committed reports need accuracy fixes labels Sep 10, 2026
…--api-key

Address review feedback from @Git-on-my-level by passing an explicit
argument placeholder `omi_dev_...` to `omi auth login --api-key` matching
the convention in the Japanese quickstart guide.

Failure-Class: none
@CreamPle

Copy link
Copy Markdown
Contributor Author

Thanks @Git-on-my-level! Fixed in commit 10ec21f by passing the explicit placeholder omi_dev_... to omi auth login --api-key omi_dev_... exactly matching the convention in the Japanese quickstart guide.

@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 spot-checked (exit code table matches errors.py EXIT_* constants, auth/local command names match source, previously flagged issues from cubic-dev-ai review fixed). Not merging: required CI checks (Linux/Windows Python matrix) are red — confirmed via job logs this is a pre-existing main-branch test failure (test_auth_api_key.py::test_transport_failure_during_login_leaves_saved_config_unchanged), unrelated to this docs-only diff, but hard floor still blocks merge on any failing required check.

Resolve discovery link conflicts in sdks/python-cli/README.md and examples/README.md
@Git-on-my-level
Git-on-my-level dismissed their stale review September 11, 2026 01:06

Verified on the current head: quickstart.tr.md line 70 now passes an explicit placeholder value to --api-key, resolving the concern raised in this review.

@Git-on-my-level Git-on-my-level added positive-signal Automation verified a genuine fix/quality contribution and removed docs-accuracy Documentation or committed reports need accuracy fixes labels Sep 11, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up verification on the new head (68246f9):

  • The blocking item from the earlier automated review is fixed: examples/quickstart.tr.md line 70 now passes an explicit placeholder to --api-key (omi auth login --api-key omi_dev_...), matching the Japanese guide's convention.
  • Re-checked the rest against the CLI source at this head: the exit-code table (lines 173–178: 0 success / 1 usage / 2 auth or CLI syntax / 3 server or network / 4 rate-limited / 5 not-found) matches the CLI contract, and the documented verbs (memory list/create/get, goal list/create, local configure/status/search-screen) all exist as registered commands.
  • The merge of main was resolved cleanly in both READMEs — the Spanish guide entry and the --json version notes from main now sit alongside the Turkish additions, and examples/README.md lists all four guides.

One merge-decision note: the required Linux/Windows Python matrix is green on this head. The flake that kept it red earlier (test_auth_api_key.py::test_transport_failure_during_login_leaves_saved_config_unchanged) was fixed on main in #13436 and this merge picked that up, so the CI floor noted at approval time no longer blocks. The only change since the approval commit is the merge of main — the Turkish guide content itself is unchanged.

Thanks @CreamPle — thorough, idiomatic work, and excellent follow-through across review rounds.


by AI on behalf of David — no further maintainer response needed beyond the merge decision.

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] Turkish quickstart for omi-cli ($25 proposed)

3 participants