lark-cli config bind fails: SecretRef.source must be env|file|exec, got "store"
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
Línea de trabajo
Start by locating the OpenClaw config parsing and SecretRef source validation used by lark-cli config bind; the issue names openclaw.json as the failing input, but no source file or test is identified. Check how the parser handles env, file and exec, then add coverage for a config using source: "store". Done means binding accepts this valid source or resolves it from the secret store without rejecting the config.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Bug: lark-cli config bind fails to parse OpenClaw SecretRef.source = "store"
Environment
- lark-cli version: 1.0.99 (latest as of 2026-11-08)
- OpenClaw version: 2026.9.4
- OS: Linux (Ubuntu, kernel 6.8)
Problem
Running lark-cli config bind --source openclaw --identity bot-only (and with --app-id explicitly set) fails with:
{
"ok": false,
"error": {
"type": "config",
"subtype": "invalid_config",
"message": "cannot read /home/ubuntu/.openclaw/openclaw.json: invalid JSON in /home/ubuntu/.openclaw/openclaw.json: SecretRef.source must be env|file|exec, got \"store\"",
"hint": "verify OpenClaw is installed and configured"
}
}
Root cause
The OpenClaw config file (openclaw.json) uses "source": "store" for SecretRef entries (e.g. FEISHU_APP_SECRET, OPENCLAW_GATEWAY_TOKEN, model API keys).
This is valid OpenClaw configuration — the official OpenClaw type definition is:
type SecretRefSource = "env" | "file" | "exec" | "store";
However, lark-cli config bind only accepts env|file|exec and rejects "store", so it cannot bind to an existing OpenClaw app.
Expected behavior
lark-cli config bind --source openclaw should accept the valid OpenClaw SecretRefSource value "store" (or resolve it from the OpenClaw secret store), just as it does for env|file|exec.
Impact
Users cannot bind lark-cli to an existing OpenClaw app when the config uses store-backed secrets, which is the default for OpenClaw-managed credentials. lark-cli config init is also refused in the OpenClaw context, leaving no non-destructive way to configure lark-cli.
Workaround
None safe — modifying openclaw.json to change "store" to "env" risks breaking existing credential resolution, and --force-init creates a parallel app rather than binding to the existing one.
- Lenguaje dominante
- Go
- Estrellas
- 18.2k
- Forks
- 1.4k
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 18
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de larksuite/cli
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
domain/im
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
bug domain/doc
Dificultad 1/5 Menos de una hora Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
mail: all-ASCII draft bodies are hard-wrapped every 998 bytes, inserting newlines inside words and tagsPosiblemente ocupada @linye157 la tomó hace 26 días. Abiertodomain/mail
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
auth: a 429 from the Token Endpoint during refresh deletes a still-valid loginPosiblemente ocupada @linye157 la tomó hace 26 días. Abiertobug domain/auth domain/im
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
larksuite/cli#2869 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de larksuite/cli
Issues similares
-
Add Alice&BotAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
slavakurilyak/awesome-ai-agents#1048 ·
-
【文章自荐】本地 LLM 实测:GPU 推理速度与测量条件Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
eryajf/learning-weekly#235 ·
-
test_archive_is_downloaded_after_logout_login doesn't wait for the storage client after loginAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
list_issues and search_issues: inconsistent `fields` allow-lists (`html_url` rejected by list)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
github/github-mcp-server#3960 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día