@holt-os/holt 0.7.0 → 0.8.2
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 +48 -5
- package/dist/cli.js +1303 -519
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -164,15 +164,58 @@ Point the client at the folder whose memory you want it to use; Holt serves what
|
|
|
164
164
|
|
|
165
165
|
Replies print as markdown. `/output html` (or `markdown`) switches the save format and persists it. `/save [name]` writes the last reply to the current folder: `.md`, or a small self-contained dark-theme `.html` page.
|
|
166
166
|
|
|
167
|
+
## Run tasks, schedule them, reach them from your phone
|
|
168
|
+
|
|
169
|
+
Beyond interactive chat, Holt can run a task once, on a timer, or from Telegram. The selected brain does the task; your memory is recalled into it automatically.
|
|
170
|
+
|
|
171
|
+
### holt run
|
|
172
|
+
|
|
173
|
+
Run a single task non-interactively. It recalls relevant memory, injects your skills, runs the brain once, streams the reply, and saves the exchange to this folder's memory.
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
holt run "summarize the open items in this folder"
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
Options: `--brain <id>` pick a brain, `--out <file>` also write the reply to a file, `--no-store` skip saving, `--no-recall` skip memory, `--quiet` suppress streaming. The folder must be trusted first (`holt init` or `holt chat` once); in a non-interactive context an untrusted folder exits non-zero instead of prompting.
|
|
180
|
+
|
|
181
|
+
### holt schedule
|
|
182
|
+
|
|
183
|
+
Run a task automatically on a timer, using your OS scheduler (launchd on macOS, cron on Linux). A scheduled run behaves exactly like typing `holt run` in that folder.
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
holt schedule add "summarize my inbox and flag what is urgent" 07:00 --notify
|
|
187
|
+
holt schedule list
|
|
188
|
+
holt schedule remove <id>
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
`<HH:MM>` is a 24h daily time. `--notify` pushes the output to your Telegram. Jobs live in `~/.holt/schedules.json`; each run logs to `~/.holt/logs/<id>.log`.
|
|
192
|
+
|
|
193
|
+
### Telegram: chat with Holt from your phone
|
|
194
|
+
|
|
195
|
+
Holt can run as a Telegram bot. Messages you send are run through your brain (with memory) and the reply comes back to your phone. Single user: only your chat id is served.
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
holt telegram setup # message @BotFather for a token, paste it, auto-detect your chat id
|
|
199
|
+
holt telegram # run the bot (keep it running under a service manager)
|
|
200
|
+
holt notify "backup done" # push a one-off message
|
|
201
|
+
holt run "daily brief" | holt notify # pipe any output to your phone
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
The token is stored in `~/.holt/telegram.json` (mode 600) and never printed in full.
|
|
205
|
+
|
|
167
206
|
## Commands
|
|
168
207
|
|
|
169
208
|
```
|
|
170
209
|
holt init set up (trust, brains, sign-in, defaults) for this folder
|
|
171
210
|
holt chat start a session that remembers past ones
|
|
211
|
+
holt run <task> run one task non-interactively (recall, brain, remember)
|
|
212
|
+
holt schedule run a task on a timer: add | list | remove
|
|
213
|
+
holt telegram chat with Holt from your phone: telegram [setup]
|
|
214
|
+
holt notify [msg] push a message to your phone over Telegram (stdin-friendly)
|
|
172
215
|
holt graph see your memory as an interactive knowledge graph
|
|
173
|
-
holt mcp run an MCP server so other tools use this folder's memory (holt mcp setup
|
|
216
|
+
holt mcp run an MCP server so other tools use this folder's memory (holt mcp setup)
|
|
174
217
|
holt skill manage skills: list | show | create | add | remove
|
|
175
|
-
holt memory inspect memory: holt memory [search <query> | embed | clear]
|
|
218
|
+
holt memory inspect memory: holt memory [search <query> | facts | embed | clear]
|
|
176
219
|
holt setting configure brains, API brains, and launch command
|
|
177
220
|
holt login <brain> sign in to claude, codex, or gemini
|
|
178
221
|
holt version print version
|
|
@@ -181,7 +224,7 @@ holt help show help
|
|
|
181
224
|
|
|
182
225
|
## Configuration
|
|
183
226
|
|
|
184
|
-
`holt init` writes `<folder>/.holt/config.json` (default brain and enabled brains for that folder). Trusted folders live in `~/.holt/trust.json`. Edit settings with `holt setting`.
|
|
227
|
+
`holt init` writes `<folder>/.holt/config.json` (default brain and enabled brains for that folder). Trusted folders live in `~/.holt/trust.json`. Edit settings with `holt setting`. Scheduled jobs live in `~/.holt/schedules.json`, and the Telegram token in `~/.holt/telegram.json` (mode 600).
|
|
185
228
|
|
|
186
229
|
## Architecture
|
|
187
230
|
|
|
@@ -196,8 +239,8 @@ Built in always-shippable phases toward a full-vision v1:
|
|
|
196
239
|
2. **Any LLM directly**: API brains with your own key, HTML or Markdown output *(shipped)*
|
|
197
240
|
3. **Skills**: portable SKILL.md skills, create/add/run *(shipped)*
|
|
198
241
|
4. **Knowledge graph**: see and navigate your own memory with `holt graph` *(shipped)*
|
|
199
|
-
5. **
|
|
200
|
-
6. **
|
|
242
|
+
5. **Everywhere**: MCP server so other tools read Holt's memory, plus `holt run`, scheduling, and Telegram *(shipped)*
|
|
243
|
+
6. **Next**: docs site, skill registry publishing, more channels
|
|
201
244
|
|
|
202
245
|
## Contributing
|
|
203
246
|
|