smolerclaw 1.9.1 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -12
- package/dist/index.js +761 -444
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# smolerclaw
|
|
6
6
|
|
|
7
|
-
A micro AI assistant
|
|
7
|
+
A micro AI assistant for Windows with Claude Code and Codex support.
|
|
8
8
|
One binary, zero config, full TUI.
|
|
9
9
|
|
|
10
10
|
---
|
|
@@ -12,8 +12,10 @@ One binary, zero config, full TUI.
|
|
|
12
12
|
## Quick Start
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
# 1.
|
|
16
|
-
# (
|
|
15
|
+
# 1. Authenticate with one of the supported local CLIs:
|
|
16
|
+
# - Claude Code (auto-detected from ~/.claude/.credentials.json)
|
|
17
|
+
# - Codex CLI (auto-detected from ~/.codex/auth.json)
|
|
18
|
+
# - On interactive startup, smolerclaw can prompt you to pick Claude or Codex for the session
|
|
17
19
|
|
|
18
20
|
# 2. Run
|
|
19
21
|
bun run start
|
|
@@ -57,7 +59,7 @@ smolerclaw is a terminal AI assistant that lives on your Windows machine. It can
|
|
|
57
59
|
- **PowerShell scripting** — execute .ps1 scripts with safety guards (blocks Defender/System32/destructive ops)
|
|
58
60
|
- **Clipboard OCR** — read text or extract text from images via Windows.Media.Ocr
|
|
59
61
|
- **Screen awareness** — map foreground window and all visible windows
|
|
60
|
-
- **Session refresh** — renew
|
|
62
|
+
- **Session refresh** — validate/renew supported local auth without leaving the TUI
|
|
61
63
|
- **Auto-refresh** — proactive OAuth token monitoring and renewal before expiration
|
|
62
64
|
- **Finance verification** — amount limits, duplicate detection, daily spending alerts
|
|
63
65
|
- **Plugin system** — install plugins from GitHub with `/plugin install owner/repo`, supports JSON and TypeScript plugins with lifecycle hooks
|
|
@@ -86,7 +88,8 @@ smolerclaw -p "question" # Print mode (non-interactive)
|
|
|
86
88
|
/open excel Launch app /calendar Outlook events
|
|
87
89
|
/investigar List investigations /memo #tag Save a note
|
|
88
90
|
/email Draft email /pomodoro Focus timer
|
|
89
|
-
/model sonnet Switch model /
|
|
91
|
+
/model sonnet Switch model /login codex Login + switch provider
|
|
92
|
+
/review Cross-review /export Save to markdown
|
|
90
93
|
/indexar Build RAG index /memoria <q> Search local memory
|
|
91
94
|
/projeto auto Set active project /projetos List all projects
|
|
92
95
|
/sessao start Start work timer /sessao stop Stop work timer
|
|
@@ -102,7 +105,7 @@ smolerclaw -p "question" # Print mode (non-interactive)
|
|
|
102
105
|
|
|
103
106
|
## Auth
|
|
104
107
|
|
|
105
|
-
Claude Code subscription (auto-detected from `~/.claude/.credentials.json`).
|
|
108
|
+
Claude Code subscription (auto-detected from `~/.claude/.credentials.json`) or Codex CLI login (auto-detected from `~/.codex/auth.json`). Interactive startup can ask whether the session should use Claude or Codex. OpenAI models now run through the OpenAI Agents SDK and can use `OPENAI_API_KEY` or a Codex-provided API key when available. Claude tokens are automatically renewed via auto-refresh. Use `/login <claude|codex>` to re-authenticate and switch provider, `/refresh` for manual validation/renewal, or `/auto-refresh` to check Claude auto-refresh status.
|
|
106
109
|
|
|
107
110
|
## Requirements
|
|
108
111
|
|
|
@@ -117,7 +120,7 @@ MIT
|
|
|
117
120
|
|
|
118
121
|
# smolerclaw (PT-BR)
|
|
119
122
|
|
|
120
|
-
Um micro assistente de IA
|
|
123
|
+
Um micro assistente de IA para Windows com suporte a Claude Code e Codex.
|
|
121
124
|
Um binario, zero configuracao, TUI completa.
|
|
122
125
|
|
|
123
126
|
---
|
|
@@ -125,8 +128,10 @@ Um binario, zero configuracao, TUI completa.
|
|
|
125
128
|
## Inicio Rapido
|
|
126
129
|
|
|
127
130
|
```bash
|
|
128
|
-
# 1.
|
|
129
|
-
# (credenciais
|
|
131
|
+
# 1. Autentique um dos CLIs suportados:
|
|
132
|
+
# - Claude Code (credenciais em ~/.claude/.credentials.json)
|
|
133
|
+
# - Codex CLI (credenciais em ~/.codex/auth.json)
|
|
134
|
+
# - Na abertura interativa, o smolerclaw pode perguntar se a sessao vai usar Claude ou Codex
|
|
130
135
|
|
|
131
136
|
# 2. Rode
|
|
132
137
|
bun run start
|
|
@@ -170,7 +175,7 @@ smolerclaw e um assistente de IA no terminal que vive na sua maquina Windows. El
|
|
|
170
175
|
- **Scripts PowerShell** — executar .ps1 com safety guards (bloqueia Defender/System32/ops destrutivas)
|
|
171
176
|
- **OCR de clipboard** — ler texto ou extrair texto de imagens via Windows.Media.Ocr
|
|
172
177
|
- **Consciencia de tela** — mapear janela em foco e todas as janelas visiveis
|
|
173
|
-
- **Renovacao de sessao** — renovar
|
|
178
|
+
- **Renovacao de sessao** — validar/renovar autenticacao local suportada sem sair da TUI
|
|
174
179
|
- **Auto-refresh** — monitoramento proativo de token OAuth com renovacao automatica antes da expiracao
|
|
175
180
|
- **Verificacao financeira** — limites de valor, deteccao de duplicatas, alertas de gasto diario
|
|
176
181
|
- **Sistema de plugins** — instalar plugins do GitHub com `/plugin install owner/repo`, suporte a plugins JSON e TypeScript com lifecycle hooks
|
|
@@ -199,7 +204,8 @@ smolerclaw -p "pergunta" # Modo print (nao-interativo)
|
|
|
199
204
|
/abrir excel Abrir app /calendario Eventos Outlook
|
|
200
205
|
/investigar Listar investigacoes /memo #tag Salvar anotacao
|
|
201
206
|
/email Rascunho de email /foco Timer Pomodoro
|
|
202
|
-
/modelo sonnet Trocar modelo /
|
|
207
|
+
/modelo sonnet Trocar modelo /login codex Login + troca provider
|
|
208
|
+
/review Revisao cruzada /exportar Salvar em markdown
|
|
203
209
|
/indexar Construir indice RAG /memoria <q> Buscar na memoria
|
|
204
210
|
/projeto auto Definir projeto ativo /projetos Listar projetos
|
|
205
211
|
/sessao start Iniciar timer /sessao stop Parar timer
|
|
@@ -215,7 +221,7 @@ smolerclaw -p "pergunta" # Modo print (nao-interativo)
|
|
|
215
221
|
|
|
216
222
|
## Autenticacao
|
|
217
223
|
|
|
218
|
-
Assinatura Claude Code (detectada automaticamente de `~/.claude/.credentials.json`). O token e renovado automaticamente via auto-refresh. Use `/refresh` para renovacao manual ou `/auto-refresh` para ver o status.
|
|
224
|
+
Assinatura Claude Code (detectada automaticamente de `~/.claude/.credentials.json`) ou login do Codex CLI (detectado automaticamente de `~/.codex/auth.json`). Na abertura interativa, o app pode perguntar se a sessao deve usar Claude ou Codex. Modelos OpenAI agora usam o OpenAI Agents SDK e podem reutilizar `OPENAI_API_KEY` ou uma chave provida pelo login do Codex quando disponivel. O token do Claude e renovado automaticamente via auto-refresh. Use `/login <claude|codex>` para autenticar e trocar o provider, `/refresh` para validacao/renovacao manual ou `/auto-refresh` para ver o status do Claude.
|
|
219
225
|
|
|
220
226
|
## Requisitos
|
|
221
227
|
|