rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:HarryLi-7/dsh-codex-login
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DSH (DeepSeek Harness) plugin: sign in to ChatGPT (Codex) through the
official OAuth flow, so the pi-ai openai-codex provider's GPT models can be
used as the harness's main model — not just as a subagent.
DSH ships two halves of the Codex sign-in story but no bridge between them:
dsh-llm-pi-ai serves the pi-ai openai-codex catalog provider. That
provider is OAuth-only: it authenticates through ChatGPT, and it has no
API-key method.dsh-authorization, and pi-ai registers its
"Sign in with ChatGPT" flow on that seam when llm-pi-ai mounts.credentials/describe|set|unset), so no bundled UI can start that flow.This plugin drives the same official seam from the host plane and surfaces it
as an agent tool. The flow itself — PKCE, the browser redirect to
http://localhost:1455/auth/callback, the token exchange, the credential
commit and the cross-process refresh lock — is entirely pi-ai's own
implementation. The plugin only starts it and relays notices/prompts.
| Tool | Actions |
|---|---|
codex_login |
start (default) — start the flow and return the browser URL; status — progress + credential state; submit_code — paste the final callback URL/code, or answer pi-ai's login-method prompt with browser / device_code; cancel — withdraw the attempt |
start begins the attempt in the background and returns as soon as the
authorization URL (or the login-method prompt) is available. Complete the
login in the browser; the credential is committed automatically.
The flow commits one record into the harness credential store:
llm-pi-ai/openai-codexgrant, payload { type, access, refresh, expires, accountId }The plugin never prints, logs, or re-emits any credential material. Tokens are refreshed by pi-ai under its own cross-process lock.
Keep the provider entry empty:
- id: llm-pi-ai
name: "@deepseek-ai/dsh-llm-pi-ai"
config:
providers:
openai-codex: {}
An empty provider inherits the app's built-in pi-ai catalog — every model the
installed build supports, with new models appearing automatically after app
updates. Writing a models: list replaces that catalog (models are then
limited to the list and never auto-update); use modelOverrides to tweak a
single catalog model instead.
~/.dsh/profiles/packages/dsh-codex-login/~/.dsh/profiles/desktop/package.json add
"dsh-codex-login": "link:/Users/<you>/.dsh/profiles/packages/dsh-codex-login"
and append "dsh-codex-login" to dsh.profile.bundlesProfiles are managed by the Electron app: the CLI refuses --profile desktop.
dsh-authorization, dsh-credentials
and dsh-llm-pi-ai)127.0.0.1:1455; the browser must run on the same
machine as the harness.dsh-authorization).http://localhost:1455/auth/callback?code=… URL back with submit_code.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: openai、模型。