kiro-agent-team 1.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/.kiro/README.md +228 -0
- package/.kiro/agents/backend-engineer.json +6 -0
- package/.kiro/agents/backend-engineer.md +643 -0
- package/.kiro/agents/database-specialist.json +6 -0
- package/.kiro/agents/database-specialist.md +390 -0
- package/.kiro/agents/development-logger.json +6 -0
- package/.kiro/agents/development-logger.md +265 -0
- package/.kiro/agents/devops-engineer.json +6 -0
- package/.kiro/agents/devops-engineer.md +287 -0
- package/.kiro/agents/frontend-architect.json +6 -0
- package/.kiro/agents/frontend-architect.md +1032 -0
- package/.kiro/agents/hooks/backend-engineer-hooks.yaml +540 -0
- package/.kiro/agents/hooks/database-specialist-hooks.yaml +488 -0
- package/.kiro/agents/hooks/development-logger-hooks.yaml +361 -0
- package/.kiro/agents/hooks/devops-engineer-hooks.yaml +345 -0
- package/.kiro/agents/hooks/frontend-architect-hooks.yaml +521 -0
- package/.kiro/agents/hooks/project-manager-hooks.yaml +513 -0
- package/.kiro/agents/hooks/security-specialist-hooks.yaml +358 -0
- package/.kiro/agents/hooks/test-orchestrator-hooks.yaml +380 -0
- package/.kiro/agents/hooks/ui-ux-designer-hooks.yaml +353 -0
- package/.kiro/agents/project-manager.json +6 -0
- package/.kiro/agents/project-manager.md +344 -0
- package/.kiro/agents/prompts/backend-engineer-system.md +815 -0
- package/.kiro/agents/prompts/database-specialist-system.md +332 -0
- package/.kiro/agents/prompts/development-logger-system.md +232 -0
- package/.kiro/agents/prompts/devops-engineer-system.md +260 -0
- package/.kiro/agents/prompts/frontend-architect-system.md +305 -0
- package/.kiro/agents/prompts/project-manager-system.md +285 -0
- package/.kiro/agents/prompts/security-specialist-system.md +231 -0
- package/.kiro/agents/prompts/test-orchestrator-system.md +214 -0
- package/.kiro/agents/prompts/ui-ux-designer-system.md +270 -0
- package/.kiro/agents/security-specialist.json +6 -0
- package/.kiro/agents/security-specialist.md +277 -0
- package/.kiro/agents/test-orchestrator.json +6 -0
- package/.kiro/agents/test-orchestrator.md +266 -0
- package/.kiro/agents/ui-ux-designer.json +6 -0
- package/.kiro/agents/ui-ux-designer.md +284 -0
- package/.kiro/devlog/00-START-HERE.md +444 -0
- package/.kiro/devlog/COMPLETE-WORKFLOW.md +553 -0
- package/.kiro/devlog/DEVLOG-INTEGRATION.md +413 -0
- package/.kiro/devlog/DEVLOG-PROCESS-FLOWS.md +484 -0
- package/.kiro/devlog/DEVLOG-QUICK-REF.md +299 -0
- package/.kiro/devlog/DEVLOG.md +22 -0
- package/.kiro/devlog/IMPLEMENTATION-COMPLETE.txt +434 -0
- package/.kiro/devlog/IMPLEMENTATION-SUMMARY.md +358 -0
- package/.kiro/devlog/README.md +363 -0
- package/.kiro/devlog/devlog-update.bat +136 -0
- package/.kiro/devlog/devlog-update.sh +275 -0
- package/.kiro/devlog/feature-completion-hook.bat +78 -0
- package/.kiro/devlog/feature-completion-hook.sh +84 -0
- package/.kiro/documentation/cli.md +31 -0
- package/.kiro/documentation/docs_cli.md +41 -0
- package/.kiro/documentation/docs_cli_authentication.md +43 -0
- package/.kiro/documentation/docs_cli_autocomplete.md +132 -0
- package/.kiro/documentation/docs_cli_billing.md +31 -0
- package/.kiro/documentation/docs_cli_billing_contact-support.md +43 -0
- package/.kiro/documentation/docs_cli_billing_managing-taxes.md +67 -0
- package/.kiro/documentation/docs_cli_billing_related-questions.md +49 -0
- package/.kiro/documentation/docs_cli_billing_subscription-portal.md +31 -0
- package/.kiro/documentation/docs_cli_chat.md +84 -0
- package/.kiro/documentation/docs_cli_chat_configuration.md +40 -0
- package/.kiro/documentation/docs_cli_chat_context.md +258 -0
- package/.kiro/documentation/docs_cli_chat_git-aware-selection.md +41 -0
- package/.kiro/documentation/docs_cli_chat_images.md +53 -0
- package/.kiro/documentation/docs_cli_chat_manage-prompts.md +216 -0
- package/.kiro/documentation/docs_cli_chat_model-selection.md +153 -0
- package/.kiro/documentation/docs_cli_chat_permissions.md +68 -0
- package/.kiro/documentation/docs_cli_chat_planning-agent.md +230 -0
- package/.kiro/documentation/docs_cli_chat_responding.md +123 -0
- package/.kiro/documentation/docs_cli_chat_security.md +87 -0
- package/.kiro/documentation/docs_cli_chat_subagents.md +77 -0
- package/.kiro/documentation/docs_cli_code-intelligence.md +251 -0
- package/.kiro/documentation/docs_cli_custom-agents.md +37 -0
- package/.kiro/documentation/docs_cli_custom-agents_configuration-reference.md +941 -0
- package/.kiro/documentation/docs_cli_custom-agents_creating.md +93 -0
- package/.kiro/documentation/docs_cli_custom-agents_examples.md +360 -0
- package/.kiro/documentation/docs_cli_custom-agents_troubleshooting.md +180 -0
- package/.kiro/documentation/docs_cli_enterprise_billing.md +33 -0
- package/.kiro/documentation/docs_cli_enterprise_concepts.md +34 -0
- package/.kiro/documentation/docs_cli_enterprise_getting-started.md +19 -0
- package/.kiro/documentation/docs_cli_enterprise_iam.md +251 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track.md +15 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_dashboard.md +62 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_prompt-logging.md +165 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_user-activity.md +123 -0
- package/.kiro/documentation/docs_cli_enterprise_settings.md +15 -0
- package/.kiro/documentation/docs_cli_enterprise_subscribe.md +36 -0
- package/.kiro/documentation/docs_cli_enterprise_subscription-management.md +55 -0
- package/.kiro/documentation/docs_cli_enterprise_supported-regions.md +39 -0
- package/.kiro/documentation/docs_cli_experimental.md +282 -0
- package/.kiro/documentation/docs_cli_experimental_checkpointing.md +439 -0
- package/.kiro/documentation/docs_cli_experimental_delegate.md +422 -0
- package/.kiro/documentation/docs_cli_experimental_knowledge-management.md +449 -0
- package/.kiro/documentation/docs_cli_experimental_tangent-mode.md +357 -0
- package/.kiro/documentation/docs_cli_experimental_thinking.md +331 -0
- package/.kiro/documentation/docs_cli_experimental_todo-lists.md +385 -0
- package/.kiro/documentation/docs_cli_hooks.md +207 -0
- package/.kiro/documentation/docs_cli_installation.md +235 -0
- package/.kiro/documentation/docs_cli_mcp.md +106 -0
- package/.kiro/documentation/docs_cli_mcp_configuration.md +294 -0
- package/.kiro/documentation/docs_cli_mcp_examples.md +273 -0
- package/.kiro/documentation/docs_cli_mcp_governance.md +436 -0
- package/.kiro/documentation/docs_cli_mcp_security.md +77 -0
- package/.kiro/documentation/docs_cli_migrating-from-q.md +129 -0
- package/.kiro/documentation/docs_cli_privacy-and-security.md +83 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_compliance-validation.md +17 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_data-protection.md +104 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_firewalls.md +26 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_infrastructure-security.md +10 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_vpc-endpoints.md +41 -0
- package/.kiro/documentation/docs_cli_reference_built-in-tools.md +624 -0
- package/.kiro/documentation/docs_cli_reference_cli-commands.md +689 -0
- package/.kiro/documentation/docs_cli_reference_settings.md +294 -0
- package/.kiro/documentation/docs_cli_reference_slash-commands.md +559 -0
- package/.kiro/documentation/docs_cli_steering.md +84 -0
- package/.kiro/guides/AGENT_WORKFLOW_GUIDE.md +294 -0
- package/.kiro/guides/DEVLOG.md +882 -0
- package/.kiro/guides/IMPLEMENTATION_EXAMPLES.md +611 -0
- package/.kiro/guides/PIV Loop.md +122 -0
- package/.kiro/guides/PIV Loop.png +0 -0
- package/.kiro/guides/PIVLoop.png +0 -0
- package/.kiro/guides/QUICK_REFERENCE.md +202 -0
- package/.kiro/guides/README.md +149 -0
- package/.kiro/guides/advanced-patterns.md +514 -0
- package/.kiro/guides/agent-coordination.md +434 -0
- package/.kiro/guides/core-workflows.md +409 -0
- package/.kiro/guides/emergency-procedures.md +414 -0
- package/.kiro/guides/project-evaluation.md +534 -0
- package/.kiro/guides/quality-assurance.md +431 -0
- package/.kiro/guides/quick-start.md +235 -0
- package/.kiro/guides/troubleshooting.md +575 -0
- package/.kiro/guides/walkthroughs.md +711 -0
- package/.kiro/prompts/add-to-devlog.md +263 -0
- package/.kiro/prompts/code-review-fix.md +18 -0
- package/.kiro/prompts/code-review-hackathon.md +167 -0
- package/.kiro/prompts/code-review-security.md +454 -0
- package/.kiro/prompts/code-review.md +113 -0
- package/.kiro/prompts/create-prd.md +151 -0
- package/.kiro/prompts/execute-backend.md +257 -0
- package/.kiro/prompts/execute-frontend.md +438 -0
- package/.kiro/prompts/execute-logging.md +491 -0
- package/.kiro/prompts/execute-security.md +482 -0
- package/.kiro/prompts/execute-testing.md +528 -0
- package/.kiro/prompts/execute.md +101 -0
- package/.kiro/prompts/execution-report.md +72 -0
- package/.kiro/prompts/implement-fix.md +228 -0
- package/.kiro/prompts/plan-feature.md +433 -0
- package/.kiro/prompts/prime.md +73 -0
- package/.kiro/prompts/quality-metrics.md +622 -0
- package/.kiro/prompts/quickstart.md +318 -0
- package/.kiro/prompts/rca.md +220 -0
- package/.kiro/prompts/system-review.md +189 -0
- package/README.md +32 -0
- package/bin/cli.js +97 -0
- package/package.json +33 -0
|
@@ -0,0 +1,689 @@
|
|
|
1
|
+
# CLI commands
|
|
2
|
+
This page provides a comprehensive reference for all Kiro CLI commands and their arguments.
|
|
3
|
+
## Global arguments[](https://kiro.dev/docs/cli/reference/cli-commands/#global-arguments)
|
|
4
|
+
These arguments work with any Kiro CLI command:
|
|
5
|
+
Argument | Short | Description
|
|
6
|
+
---|---|---
|
|
7
|
+
`--verbose` | `-v` | Increase logging verbosity (can be repeated: `-v`, `-vv`, `-vvv`)
|
|
8
|
+
`--agent` | `-v` | Start a conversation using a specific custom agent configuration
|
|
9
|
+
`--help` | `-h` | Show help information
|
|
10
|
+
`--version` | `-V` | Show version information
|
|
11
|
+
`--help-all` | | Print help for all subcommands
|
|
12
|
+
## Commands[](https://kiro.dev/docs/cli/reference/cli-commands/#commands)
|
|
13
|
+
### kiro-cli agent[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-agent)
|
|
14
|
+
Manage agent configurations.
|
|
15
|
+
**Syntax:**
|
|
16
|
+
bash
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
kiro-cli agent [SUBCOMMAND] [OPTIONS]
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**Subcommands:**
|
|
25
|
+
Subcommand | Description
|
|
26
|
+
---|---
|
|
27
|
+
`list` | List the available agents
|
|
28
|
+
`create` | Create an agent config
|
|
29
|
+
`edit` | Edit an existing agent config
|
|
30
|
+
`validate` | Validate a config with the given path
|
|
31
|
+
`migrate` | Migrate profiles to agents (potentially destructive to existing agents)
|
|
32
|
+
`set-default` | Define a default agent to use when starting a session
|
|
33
|
+
**Examples:**
|
|
34
|
+
bash
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
kiro-cli agent list
|
|
38
|
+
kiro-cli agent create my-agent
|
|
39
|
+
kiro-cli agent edit my-agent
|
|
40
|
+
kiro-cli agent validate ./my-agent.json
|
|
41
|
+
kiro-cli agent set-default my-agent
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### kiro-cli chat[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-chat)
|
|
47
|
+
Start an interactive chat session with Kiro. When no subcommand is specified, `kiro` defaults to `kiro-cli chat`.
|
|
48
|
+
**Syntax:**
|
|
49
|
+
bash
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
kiro-cli chat [OPTIONS] [INPUT]
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**Arguments:**
|
|
58
|
+
Argument | Description
|
|
59
|
+
---|---
|
|
60
|
+
`--no-interactive` | Print first response to STDOUT without interactive mode
|
|
61
|
+
`--resume` / `-r` | Resume the previous conversation from this directory
|
|
62
|
+
`--resume-picker` | Open interactive session picker to choose which session to resume
|
|
63
|
+
`--list-sessions` | List all saved chat sessions for the current directory
|
|
64
|
+
`--delete-session <ID>` | Delete a saved chat session by ID
|
|
65
|
+
`--agent` | Specify which agent to use
|
|
66
|
+
`--trust-all-tools` | Allow the model to use any tool without confirmation
|
|
67
|
+
`--trust-tools` | Trust only specified tools (comma-separated list)
|
|
68
|
+
`INPUT` | The first question to ask (positional argument)
|
|
69
|
+
**Examples:**
|
|
70
|
+
bash
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
# Start interactive chat
|
|
74
|
+
kiro-cli
|
|
75
|
+
|
|
76
|
+
# Ask a question directly
|
|
77
|
+
kiro-cli chat "How do I list files in Linux?"
|
|
78
|
+
|
|
79
|
+
# Non-interactive mode with trusted tools
|
|
80
|
+
kiro-cli chat --no-interactive --trust-all-tools "Show me the current directory"
|
|
81
|
+
|
|
82
|
+
# Resume previous conversation
|
|
83
|
+
kiro-cli chat --resume
|
|
84
|
+
|
|
85
|
+
# Open session picker to choose which session to resume
|
|
86
|
+
kiro-cli chat --resume-picker
|
|
87
|
+
|
|
88
|
+
# List all saved sessions
|
|
89
|
+
kiro-cli chat --list-sessions
|
|
90
|
+
|
|
91
|
+
# Use specific agent
|
|
92
|
+
kiro-cli chat --agent my-agent "Help me with AWS CLI"
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### kiro-cli translate[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-translate)
|
|
98
|
+
Translate natural language instructions to executable shell commands using AI.
|
|
99
|
+
**Syntax:**
|
|
100
|
+
bash
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
kiro-cli translate [OPTIONS] [INPUT...]
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**Arguments:**
|
|
109
|
+
Argument | Short | Description
|
|
110
|
+
---|---|---
|
|
111
|
+
`--n` | `-n` | Number of completions to generate (max 5)
|
|
112
|
+
`INPUT` | | Natural language description (positional arguments)
|
|
113
|
+
**Examples:**
|
|
114
|
+
bash
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
kiro-cli translate "list all files in the current directory"
|
|
118
|
+
kiro-cli translate "find all Python files modified in the last week"
|
|
119
|
+
kiro-cli translate "compress all log files older than 30 days"
|
|
120
|
+
kiro-cli translate -n 3 "search for text in files"
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### kiro-cli doctor[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-doctor)
|
|
126
|
+
Diagnose and fix common installation and configuration issues.
|
|
127
|
+
**Syntax:**
|
|
128
|
+
bash
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
kiro-cli doctor [OPTIONS]
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
**Arguments:**
|
|
137
|
+
Argument | Short | Description
|
|
138
|
+
---|---|---
|
|
139
|
+
`--all` | `-a` | Run all diagnostic tests without fixes
|
|
140
|
+
`--strict` | `-s` | Error on warnings
|
|
141
|
+
`--format` | `-f` | Output format: `plain`, `json`, `json-pretty`
|
|
142
|
+
**Examples:**
|
|
143
|
+
bash
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
kiro-cli doctor
|
|
147
|
+
kiro-cli doctor --all
|
|
148
|
+
kiro-cli doctor --strict
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### kiro-cli update[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-update)
|
|
154
|
+
Update Kiro CLI to the latest version.
|
|
155
|
+
**Syntax:**
|
|
156
|
+
bash
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
kiro-cli update [OPTIONS]
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
**Arguments:**
|
|
165
|
+
Argument | Short | Description
|
|
166
|
+
---|---|---
|
|
167
|
+
`--non-interactive` | `-y` | Don't prompt for confirmation
|
|
168
|
+
`--relaunch-dashboard` | | Relaunch dashboard after update (default: true)
|
|
169
|
+
**Examples:**
|
|
170
|
+
bash
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
kiro-cli update
|
|
174
|
+
kiro-cli update --non-interactive
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### kiro-cli theme[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-theme)
|
|
180
|
+
Get or set the visual theme for the autocomplete dropdown menu.
|
|
181
|
+
**Syntax:**
|
|
182
|
+
bash
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
kiro-cli theme [OPTIONS] [THEME]
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
**Arguments:**
|
|
191
|
+
Argument | Description
|
|
192
|
+
---|---
|
|
193
|
+
`--list` | List all available themes
|
|
194
|
+
`--folder` | Show the theme directory path
|
|
195
|
+
`THEME` | Theme name: `dark`, `light`, `system`
|
|
196
|
+
**Examples:**
|
|
197
|
+
bash
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
kiro-cli theme --list
|
|
201
|
+
kiro-cli theme dark
|
|
202
|
+
kiro-cli theme light
|
|
203
|
+
kiro-cli theme system
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### kiro-cli integrations[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-integrations)
|
|
209
|
+
Manage system integrations for Kiro.
|
|
210
|
+
**Syntax:**
|
|
211
|
+
bash
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
kiro-cli integrations [SUBCOMMAND] [OPTIONS]
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
**Subcommands:**
|
|
220
|
+
Subcommand | Description
|
|
221
|
+
---|---
|
|
222
|
+
`install` | Install an integration
|
|
223
|
+
`uninstall` | Uninstall an integration
|
|
224
|
+
`reinstall` | Reinstall an integration
|
|
225
|
+
`status` | Check integration status
|
|
226
|
+
**Options:**
|
|
227
|
+
* `--silent` / `-s`: Suppress status messages
|
|
228
|
+
* `--format` / `-f`: Output format (for status command)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
**Examples:**
|
|
232
|
+
bash
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
kiro-cli integrations install
|
|
236
|
+
kiro-cli integrations status
|
|
237
|
+
kiro-cli integrations uninstall --silent
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
### kiro-cli inline[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-inline)
|
|
243
|
+
Manage inline suggestions (ghost text) that appear as you type.
|
|
244
|
+
**Syntax:**
|
|
245
|
+
bash
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
kiro-cli inline [SUBCOMMAND] [OPTIONS]
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
**Subcommands:**
|
|
254
|
+
Subcommand | Description
|
|
255
|
+
---|---
|
|
256
|
+
`enable` | Enable inline suggestions
|
|
257
|
+
`disable` | Disable inline suggestions
|
|
258
|
+
`status` | Show current status
|
|
259
|
+
`set-customization` | Select a customization model
|
|
260
|
+
`show-customizations` | Show available customizations
|
|
261
|
+
**Examples:**
|
|
262
|
+
bash
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
kiro-cli inline enable
|
|
266
|
+
kiro-cli inline disable
|
|
267
|
+
kiro-cli inline status
|
|
268
|
+
kiro-cli inline set-customization
|
|
269
|
+
kiro-cli inline show-customizations --format json
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### kiro-cli login[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-login)
|
|
275
|
+
Authenticate with Kiro.
|
|
276
|
+
**Syntax:**
|
|
277
|
+
bash
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
kiro-cli login [OPTIONS]
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
**Arguments:**
|
|
286
|
+
Argument | Description
|
|
287
|
+
---|---
|
|
288
|
+
`--use-device-flow` | Use OAuth device flow for authentication
|
|
289
|
+
**Examples:**
|
|
290
|
+
bash
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
kiro-cli login
|
|
294
|
+
kiro-cli login --use-device-flow
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### kiro-cli logout[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-logout)
|
|
300
|
+
Sign out of your kiro-cli session.
|
|
301
|
+
**Syntax:**
|
|
302
|
+
bash
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
kiro-cli logout
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
### kiro-cli whoami[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-whoami)
|
|
311
|
+
Display information about the current user and authentication status.
|
|
312
|
+
**Syntax:**
|
|
313
|
+
bash
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
kiro-cli whoami [OPTIONS]
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
**Arguments:**
|
|
322
|
+
Argument | Short | Description
|
|
323
|
+
---|---|---
|
|
324
|
+
`--format` | `-f` | Output format: `plain`, `json`, `json-pretty`
|
|
325
|
+
**Examples:**
|
|
326
|
+
bash
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
kiro-cli whoami
|
|
330
|
+
kiro-cli whoami --format json
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
### kiro-cli settings[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-settings)
|
|
336
|
+
Manage kiro-cli configuration settings.
|
|
337
|
+
**Syntax:**
|
|
338
|
+
bash
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
kiro-cli settings [SUBCOMMAND] [OPTIONS] [KEY] [VALUE]
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
**Arguments:**
|
|
347
|
+
Argument | Short | Description
|
|
348
|
+
---|---|---
|
|
349
|
+
`--delete` | `-d` | Delete a setting
|
|
350
|
+
`--format` | `-f` | Output format: `plain`, `json`, `json-pretty`
|
|
351
|
+
`KEY` | | Setting key (positional)
|
|
352
|
+
`VALUE` | | Setting value (positional)
|
|
353
|
+
**Subcommands:**
|
|
354
|
+
Subcommand | Description
|
|
355
|
+
---|---
|
|
356
|
+
`open` | Open settings file in default editor
|
|
357
|
+
`list` | List configured settings
|
|
358
|
+
`list --all` | List all available settings with descriptions
|
|
359
|
+
**Examples:**
|
|
360
|
+
bash
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
# View all settings
|
|
364
|
+
kiro-cli settings list
|
|
365
|
+
|
|
366
|
+
# View all available settings
|
|
367
|
+
kiro-cli settings list --all
|
|
368
|
+
|
|
369
|
+
# Get a specific setting
|
|
370
|
+
kiro-cli settings telemetry.enabled
|
|
371
|
+
|
|
372
|
+
# Set a setting
|
|
373
|
+
kiro-cli settings telemetry.enabled true
|
|
374
|
+
|
|
375
|
+
# Delete a setting
|
|
376
|
+
kiro-cli settings --delete chat.defaultModel
|
|
377
|
+
|
|
378
|
+
# Open settings file
|
|
379
|
+
kiro-cli settings open
|
|
380
|
+
|
|
381
|
+
# JSON output
|
|
382
|
+
kiro-cli settings list --format json-pretty
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
### kiro-cli diagnostic[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-diagnostic)
|
|
388
|
+
Run diagnostic tests to troubleshoot issues.
|
|
389
|
+
**Syntax:**
|
|
390
|
+
bash
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
kiro-cli diagnostic [OPTIONS]
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
**Arguments:**
|
|
399
|
+
Argument | Short | Description
|
|
400
|
+
---|---|---
|
|
401
|
+
`--format` | `-f` | Output format: `plain`, `json`, `json-pretty`
|
|
402
|
+
`--force` | | Force limited diagnostic output
|
|
403
|
+
### kiro-cli issue[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-issue)
|
|
404
|
+
Create a GitHub issue for feedback or bug reports.
|
|
405
|
+
**Syntax:**
|
|
406
|
+
bash
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
kiro-cli issue [OPTIONS] [DESCRIPTION...]
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
**Arguments:**
|
|
415
|
+
Argument | Short | Description
|
|
416
|
+
---|---|---
|
|
417
|
+
`--force` | `-f` | Force issue creation
|
|
418
|
+
`DESCRIPTION` | | Issue description (positional)
|
|
419
|
+
**Examples:**
|
|
420
|
+
bash
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
kiro-cli issue
|
|
424
|
+
kiro-cli issue "Autocomplete not working in zsh"
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
### kiro-cli version[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-version)
|
|
430
|
+
Display version information and changelog.
|
|
431
|
+
**Syntax:**
|
|
432
|
+
bash
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
kiro-cli version [OPTIONS]
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
**Arguments:**
|
|
441
|
+
Argument | Description
|
|
442
|
+
---|---
|
|
443
|
+
`--changelog` | Show changelog for current version
|
|
444
|
+
`--changelog=all` | Show changelog for all versions
|
|
445
|
+
`--changelog=x.x.x` | Show changelog for specific version
|
|
446
|
+
**Examples:**
|
|
447
|
+
bash
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
kiro-cli version
|
|
451
|
+
kiro-cli version --changelog
|
|
452
|
+
kiro-cli version --changelog=all
|
|
453
|
+
kiro-cli version --changelog=1.5.0
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
```
|
|
457
|
+
|
|
458
|
+
### kiro-cli mcp[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp)
|
|
459
|
+
Manage Model Context Protocol (MCP) servers.
|
|
460
|
+
**Syntax:**
|
|
461
|
+
bash
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
kiro-cli mcp [SUBCOMMAND] [OPTIONS]
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
**Subcommands:**
|
|
470
|
+
#### kiro-cli mcp add[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp-add)
|
|
471
|
+
Add or replace a configured MCP server.
|
|
472
|
+
**Arguments:**
|
|
473
|
+
Argument | Description
|
|
474
|
+
---|---
|
|
475
|
+
`--name` | Server name (required)
|
|
476
|
+
`--command` | Launch command (required)
|
|
477
|
+
`--scope` | Scope: `workspace` or `global`
|
|
478
|
+
`--env` | Environment variables: `key1=value1,key2=value2`
|
|
479
|
+
`--timeout` | Launch timeout in milliseconds
|
|
480
|
+
`--force` | Overwrite existing server
|
|
481
|
+
**Example:**
|
|
482
|
+
bash
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
kiro-cli mcp add --name my-server --command "node server.js" --scope workspace
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
#### kiro-cli mcp remove[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp-remove)
|
|
491
|
+
Remove an MCP server.
|
|
492
|
+
**Arguments:**
|
|
493
|
+
Argument | Description
|
|
494
|
+
---|---
|
|
495
|
+
`--name` | Server name (required)
|
|
496
|
+
`--scope` | Scope: `workspace` or `global`
|
|
497
|
+
**Example:**
|
|
498
|
+
bash
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
kiro-cli mcp remove --name my-server --scope workspace
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
```
|
|
505
|
+
|
|
506
|
+
#### kiro-cli mcp list[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp-list)
|
|
507
|
+
List configured MCP servers.
|
|
508
|
+
**Syntax:**
|
|
509
|
+
bash
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
kiro-cli mcp list [SCOPE]
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
**Example:**
|
|
518
|
+
bash
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
kiro-cli mcp list
|
|
522
|
+
kiro-cli mcp list workspace
|
|
523
|
+
kiro-cli mcp list global
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
#### kiro-cli mcp import[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp-import)
|
|
529
|
+
Import server configuration from a file.
|
|
530
|
+
**Arguments:**
|
|
531
|
+
Argument | Description
|
|
532
|
+
---|---
|
|
533
|
+
`--file` | Configuration file (required)
|
|
534
|
+
`--force` | Overwrite existing servers
|
|
535
|
+
`SCOPE` | Scope: `workspace` or `global`
|
|
536
|
+
**Example:**
|
|
537
|
+
bash
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
kiro-cli mcp import --file config.json workspace
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
```
|
|
544
|
+
|
|
545
|
+
#### kiro-cli mcp status[](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp-status)
|
|
546
|
+
Get the status of an MCP server.
|
|
547
|
+
**Arguments:**
|
|
548
|
+
Argument | Description
|
|
549
|
+
---|---
|
|
550
|
+
`--name` | Server name (required)
|
|
551
|
+
**Example:**
|
|
552
|
+
bash
|
|
553
|
+
```
|
|
554
|
+
|
|
555
|
+
kiro-cli mcp status --name my-server
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
## Session management[](https://kiro.dev/docs/cli/reference/cli-commands/#session-management)
|
|
561
|
+
Kiro CLI automatically saves all chat sessions on every conversation turn. You can resume from any previous chat session at any time.
|
|
562
|
+
### From the command line[](https://kiro.dev/docs/cli/reference/cli-commands/#from-the-command-line)
|
|
563
|
+
bash
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
# Resume the most recent chat session
|
|
567
|
+
kiro-cli chat --resume
|
|
568
|
+
|
|
569
|
+
# Interactively pick a chat session to resume
|
|
570
|
+
kiro-cli chat --resume-picker
|
|
571
|
+
|
|
572
|
+
# List all saved chat sessions for the current directory
|
|
573
|
+
kiro-cli chat --list-sessions
|
|
574
|
+
|
|
575
|
+
# Delete a saved chat session
|
|
576
|
+
kiro-cli chat --delete-session <SESSION_ID>
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
```
|
|
580
|
+
|
|
581
|
+
### From within a chat session[](https://kiro.dev/docs/cli/reference/cli-commands/#from-within-a-chat-session)
|
|
582
|
+
Use the `/chat` command to manage sessions:
|
|
583
|
+
bash
|
|
584
|
+
```
|
|
585
|
+
|
|
586
|
+
# Resume a chat session (interactive selector)
|
|
587
|
+
/chat resume
|
|
588
|
+
|
|
589
|
+
# Save current session to a file
|
|
590
|
+
/chat save <FILE_PATH>
|
|
591
|
+
|
|
592
|
+
# Load a session from a file
|
|
593
|
+
/chat load <FILE_PATH>
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
```
|
|
597
|
+
|
|
598
|
+
The `.json` extension is optional when loading - Kiro will try both with and without the extension.
|
|
599
|
+
### Custom session storage[](https://kiro.dev/docs/cli/reference/cli-commands/#custom-session-storage)
|
|
600
|
+
You can use custom scripts to control where chat sessions are saved to and loaded from. This allows you to store sessions in version control systems, cloud storage, databases, or any custom location.
|
|
601
|
+
bash
|
|
602
|
+
```
|
|
603
|
+
|
|
604
|
+
# Save session via custom script (receives JSON via stdin)
|
|
605
|
+
/chat save-via-script <SCRIPT_PATH>
|
|
606
|
+
|
|
607
|
+
# Load session via custom script (outputs JSON to stdout)
|
|
608
|
+
/chat load-via-script <SCRIPT_PATH>
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
```
|
|
612
|
+
|
|
613
|
+
**Tips:**
|
|
614
|
+
* Session IDs are UUIDs that uniquely identify each chat session
|
|
615
|
+
* Sessions are stored per directory, so each project has its own set of sessions
|
|
616
|
+
* The most recently updated sessions appear first in the list
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
## Log files[](https://kiro.dev/docs/cli/reference/cli-commands/#log-files)
|
|
620
|
+
Kiro CLI maintains log files for troubleshooting:
|
|
621
|
+
**Locations:**
|
|
622
|
+
* **macOS** : `$TMPDIR/kiro-log/`
|
|
623
|
+
* **Linux** : `$XDG_RUNTIME_DIR` or `/tmp/kiro-log/`
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
**Log Levels:**
|
|
627
|
+
Set via `KIRO_LOG_LEVEL` environment variable:
|
|
628
|
+
* `error`: Only errors (default)
|
|
629
|
+
* `warn`: Warnings and errors
|
|
630
|
+
* `info`: Info, warnings, and errors
|
|
631
|
+
* `debug`: Debug info and above
|
|
632
|
+
* `trace`: All messages including detailed traces
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
**Example:**
|
|
636
|
+
bash
|
|
637
|
+
```
|
|
638
|
+
|
|
639
|
+
# Enable debug logging
|
|
640
|
+
export KIRO_LOG_LEVEL=debug
|
|
641
|
+
kiro-cli chat
|
|
642
|
+
|
|
643
|
+
# For fish shell
|
|
644
|
+
set -x KIRO_LOG_LEVEL debug
|
|
645
|
+
kiro-cli chat
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
```
|
|
649
|
+
|
|
650
|
+
**Warning:** Log files may contain sensitive information including file paths, code snippets, and command outputs. Be cautious when sharing logs.
|
|
651
|
+
## Next steps[](https://kiro.dev/docs/cli/reference/cli-commands/#next-steps)
|
|
652
|
+
* [Slash Commands Reference](https://kiro.dev/docs/cli/reference/slash-commands)
|
|
653
|
+
* [Settings Configuration](https://kiro.dev/docs/cli/settings)
|
|
654
|
+
* [Troubleshooting Guide](https://kiro.dev/docs/cli/reference/troubleshooting)
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
Page updated: December 18, 2025
|
|
658
|
+
[VPC endpoints (AWS PrivateLink)](https://kiro.dev/docs/cli/privacy-and-security/vpc-endpoints/)
|
|
659
|
+
[Slash commands](https://kiro.dev/docs/cli/reference/slash-commands/)
|
|
660
|
+
On this page
|
|
661
|
+
* [Global arguments](https://kiro.dev/docs/cli/reference/cli-commands/#global-arguments)
|
|
662
|
+
* [Commands](https://kiro.dev/docs/cli/reference/cli-commands/#commands)
|
|
663
|
+
* [kiro-cli agent](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-agent)
|
|
664
|
+
* [kiro-cli chat](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-chat)
|
|
665
|
+
* [kiro-cli translate](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-translate)
|
|
666
|
+
* [kiro-cli doctor](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-doctor)
|
|
667
|
+
* [kiro-cli update](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-update)
|
|
668
|
+
* [kiro-cli theme](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-theme)
|
|
669
|
+
* [kiro-cli integrations](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-integrations)
|
|
670
|
+
* [kiro-cli inline](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-inline)
|
|
671
|
+
* [kiro-cli login](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-login)
|
|
672
|
+
* [kiro-cli logout](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-logout)
|
|
673
|
+
* [kiro-cli whoami](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-whoami)
|
|
674
|
+
* [kiro-cli settings](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-settings)
|
|
675
|
+
* [kiro-cli diagnostic](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-diagnostic)
|
|
676
|
+
* [kiro-cli issue](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-issue)
|
|
677
|
+
* [kiro-cli version](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-version)
|
|
678
|
+
* [kiro-cli mcp](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp)
|
|
679
|
+
* [kiro-cli mcp add](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp-add)
|
|
680
|
+
* [kiro-cli mcp remove](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp-remove)
|
|
681
|
+
* [kiro-cli mcp list](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp-list)
|
|
682
|
+
* [kiro-cli mcp import](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp-import)
|
|
683
|
+
* [kiro-cli mcp status](https://kiro.dev/docs/cli/reference/cli-commands/#kiro-cli-mcp-status)
|
|
684
|
+
* [Session management](https://kiro.dev/docs/cli/reference/cli-commands/#session-management)
|
|
685
|
+
* [From the command line](https://kiro.dev/docs/cli/reference/cli-commands/#from-the-command-line)
|
|
686
|
+
* [From within a chat session](https://kiro.dev/docs/cli/reference/cli-commands/#from-within-a-chat-session)
|
|
687
|
+
* [Custom session storage](https://kiro.dev/docs/cli/reference/cli-commands/#custom-session-storage)
|
|
688
|
+
* [Log files](https://kiro.dev/docs/cli/reference/cli-commands/#log-files)
|
|
689
|
+
* [Next steps](https://kiro.dev/docs/cli/reference/cli-commands/#next-steps)
|