@runtypelabs/cli 0.1.10 → 0.2.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 CHANGED
@@ -10,6 +10,12 @@ Command-line interface for the Runtype AI platform.
10
10
  npm install -g @runtypelabs/cli
11
11
  ```
12
12
 
13
+ Or run without installing:
14
+
15
+ ```bash
16
+ npx @runtypelabs/cli <command>
17
+ ```
18
+
13
19
  ## Quick Start
14
20
 
15
21
  ### 1. Create Account & Authenticate
@@ -54,6 +60,34 @@ runtype records create --name "My Record" --type "document"
54
60
  runtype records list --type document
55
61
  ```
56
62
 
63
+ ### 4. Run Multi-Session Agent Tasks
64
+
65
+ Use `runtype marathon` (or `runtype agents task`) to run long-running, multi-session agent tasks with real-time streaming output.
66
+
67
+ ```bash
68
+ # Run a task — agent output streams to your terminal in real time
69
+ runtype marathon "Code Builder" -m "Refactor the auth module to use JWT tokens"
70
+
71
+ # Set a budget and session limit, save progress with a custom name
72
+ runtype marathon agent_abc123 -m "Write integration tests for the API" \
73
+ --max-sessions 10 --max-cost 2.50 --name "api-tests"
74
+
75
+ # Override the agent's configured model
76
+ runtype marathon "Code Builder" -m "Build a calculator" --model claude-sonnet-4-5
77
+
78
+ # Enable sandboxed code execution tooling for the task (QuickJS or Daytona)
79
+ runtype marathon "Code Builder" -m "Compute totals from this dataset" --sandbox quickjs
80
+ runtype marathon "Code Builder" -m "Generate a script and run it" --sandbox daytona
81
+
82
+ # Resume an interrupted task (picks up where it left off)
83
+ runtype marathon "Code Builder" -m "Refactor the auth module to use JWT tokens" \
84
+ --resume --name "auth-refactor" --debug
85
+
86
+ # Sync progress to a Runtype record (visible in the dashboard)
87
+ runtype marathon "Code Builder" -m "Build the payments integration" \
88
+ --max-sessions 20 --track --name "payments"
89
+ ```
90
+
57
91
  ## Chat Commands
58
92
 
59
93
  During a chat session, you can use these special commands: