llmist 2.6.0 → 3.0.0

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 CHANGED
@@ -85,12 +85,20 @@ bun add llmist
85
85
  ## 🖥️ Command Line Interface
86
86
 
87
87
  ```bash
88
+ # Initialize config (creates ~/.llmist/cli.toml)
89
+ bunx llmist init
90
+
88
91
  # Quick completion
89
92
  bunx llmist complete "Explain TypeScript generics" --model haiku
90
93
 
91
94
  # Agent with tools
92
95
  bunx llmist agent "Calculate 15 * 23" --gadget ./calculator.ts --model sonnet
93
96
 
97
+ # External gadgets (npm/git - auto-installed)
98
+ bunx llmist agent "Browse apple.com" --gadget webasto --model sonnet
99
+ bunx llmist agent "Screenshot google.com" --gadget webasto:minimal
100
+ bunx llmist agent "Navigate to site" --gadget git+https://github.com/user/gadgets.git
101
+
94
102
  # Pipe input
95
103
  cat document.txt | llmist complete "Summarize" --model gpt-5-nano
96
104
  ```
@@ -281,7 +289,7 @@ class AskUser extends Gadget({
281
289
  schema: z.object({ question: z.string() }),
282
290
  }) {
283
291
  execute(params: this['params']) {
284
- throw new HumanInputException(params.question);
292
+ throw new HumanInputRequiredException(params.question);
285
293
  }
286
294
  }
287
295
 
@@ -429,6 +437,7 @@ Comprehensive examples are available in the **[examples/](./examples/)** directo
429
437
  | **[07-logging.ts](./examples/07-logging.ts)** | Logging and debugging |
430
438
  | **[13-syntactic-sugar.ts](./examples/13-syntactic-sugar.ts)** | Fluent API showcase |
431
439
  | **[11-gadget-dependencies.ts](./examples/11-gadget-dependencies.ts)** | Gadget dependencies (DAG execution) |
440
+ | **[20-external-gadgets.ts](./examples/20-external-gadgets.ts)** | npm/git gadget packages |
432
441
 
433
442
  **Run any example:**
434
443
  ```bash