You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d5e3e43
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CLAUDE.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ Em dev, use `$env:BOTLOFT_HOME = "$PWD\.dev\home"` (caminho absoluto) no daemon
57
57
- IDs são ULID com prefixo (`crw_`, `bot_`, `msg_`, `dlv_`, `tsk_`, `cht_`, `apr_`, `att_`). Tempo em ms Unix.
58
58
- Tudo que é específico de Windows fica em `crates/botloftd/src/platform/`. O resto do daemon não chama Win32 direto.
59
59
- A UI depende só da interface `BotloftApi` (`app/src/lib/api.ts`). Testes de componente usam `FakeBotloft`.
60
+
- Nenhum texto de interface escrito direto no componente: tudo vai em `app/src/i18n/{en,pt-BR,es}/<área>.ts` e é lido com `useT()` (ou `t()` fora do React). Texto novo entra nos três idiomas no mesmo commit; o TypeScript acusa o que faltar (spec 15.6). Palavras simples, sem "daemon" nem outro jargão.
60
61
- Nunca edite `app/src/lib/protocol.gen.ts` à mão.
61
62
- Commits pequenos, no formato Conventional Commits (`feat(courier): ...`).
idle: {label: "Idle",tone: "ok",icon: CircleDot,hint: "Ready for work."},
37
-
busy: {label: "Working",tone: "work",icon: Activity,hint: "Working on something."},
38
-
needs_approval: {
39
-
label: "Needs approval",
40
-
tone: "warn",
41
-
icon: Hand,
42
-
hint: "Waiting for you to allow or deny a tool in its chat.",
43
-
},
44
-
rate_limited: {
45
-
label: "Usage limit",
46
-
tone: "warn",
47
-
icon: Hourglass,
48
-
hint: "Your Claude plan hit its usage limit; messages wait until it resets.",
49
-
},
50
-
auth_error: {
51
-
label: "Sign-in needed",
52
-
tone: "danger",
53
-
icon: KeyRound,
54
-
hint: "Claude Code is not signed in, or the account can't be used. Sign in to Claude and the bot starts again by itself. Already signed in? Check your Claude plan, then restart the bot.",
55
-
},
56
-
backoff: {
57
-
label: "Restarting",
58
-
tone: "warn",
59
-
icon: RotateCw,
60
-
hint: "It stopped unexpectedly; Botloft starts it again shortly.",
0 commit comments