@runtypelabs/cli 1.6.0 → 1.8.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 +2 -31
- package/dist/index.js +1956 -2381
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -31,20 +31,7 @@ runtype auth login
|
|
|
31
31
|
runtype auth whoami
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
### 2.
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
# Start a chat session
|
|
38
|
-
runtype talk
|
|
39
|
-
|
|
40
|
-
# With custom model
|
|
41
|
-
runtype talk --model claude-3-opus --temperature 0.2
|
|
42
|
-
|
|
43
|
-
# With system prompt
|
|
44
|
-
runtype talk --system "You are an expert in Next.js development"
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### 3. Manage Flows and Records
|
|
34
|
+
### 2. Manage Flows and Records
|
|
48
35
|
|
|
49
36
|
```bash
|
|
50
37
|
# List flows
|
|
@@ -60,7 +47,7 @@ runtype records create --name "My Record" --type "document"
|
|
|
60
47
|
runtype records list --type document
|
|
61
48
|
```
|
|
62
49
|
|
|
63
|
-
###
|
|
50
|
+
### 3. Run Multi-Session Agent Tasks
|
|
64
51
|
|
|
65
52
|
Use `runtype marathon` (or `runtype agents task`) to run long-running, multi-session agent tasks with real-time streaming output.
|
|
66
53
|
|
|
@@ -137,20 +124,6 @@ runtype marathon "Code Builder" --goal "Fix the bug" \
|
|
|
137
124
|
runtype marathon "Code Builder" --goal "Fix the bug" --tool-context full-inline
|
|
138
125
|
```
|
|
139
126
|
|
|
140
|
-
## Chat Commands
|
|
141
|
-
|
|
142
|
-
During a chat session, you can use these special commands:
|
|
143
|
-
|
|
144
|
-
- `/help` - Show available commands
|
|
145
|
-
- `/clear` - Clear conversation history
|
|
146
|
-
- `/save [filename]` - Save session to file
|
|
147
|
-
- `/load <filename>` - Load session from file
|
|
148
|
-
- `/export` - Export conversation as markdown
|
|
149
|
-
- `/model <model>` - Change AI model
|
|
150
|
-
- `/temp <value>` - Set temperature (0-1)
|
|
151
|
-
- `/info` - Show session information
|
|
152
|
-
- `/exit` - Exit chat session
|
|
153
|
-
|
|
154
127
|
## Configuration
|
|
155
128
|
|
|
156
129
|
```bash
|
|
@@ -209,7 +182,6 @@ pnpm build
|
|
|
209
182
|
# Run built CLI with Node.js
|
|
210
183
|
node dist/index.js --help
|
|
211
184
|
node dist/index.js auth login
|
|
212
|
-
node dist/index.js talk
|
|
213
185
|
```
|
|
214
186
|
|
|
215
187
|
**Option 3: Install globally for testing**
|
|
@@ -229,7 +201,6 @@ npm install -g .
|
|
|
229
201
|
# Now use the runtype command anywhere
|
|
230
202
|
runtype --help
|
|
231
203
|
runtype auth login
|
|
232
|
-
runtype talk
|
|
233
204
|
# After making changes, rebuild and reinstall: pnpm build && npm install -g .
|
|
234
205
|
```
|
|
235
206
|
|