generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Feature Request
Description
Add a CLI flag (e.g., --load <path>) to kiro-cli chat that loads a previously saved conversation JSON file directly on startup, similar to how --resume works for database sessions.
Current Behavior
To load a saved conversation from a JSON file, users must:
- Start
kiro-cli chat - Manually type
/chat load <path>.json
This two-step process cannot be automated in headless mode (--no-interactive) since /chat load is an interactive command.
Proposed Behavior
# Load a saved conversation directly on startup
kiro-cli chat --load my-session.json
# Combine with other flags
kiro-cli chat --load my-session.json --trust-all-tools
kiro-cli chat --load my-session.json --agent my-agentUse Cases
- Workflow continuity: Quickly resume a specific exported session without interactive steps
- Automation: Load a pre-built conversation context in headless/scripted pipelines
- Team collaboration: Share conversation JSON files and load them directly
- Session templates: Use saved conversations as starting points for recurring tasks
Consistency
The CLI already supports --resume (from DB) and --resume-picker (interactive). A --load <path> flag would complete the set by supporting file-based session restoration, consistent with the existing /chat load slash command.
Environment
- Kiro CLI (latest)
- Linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists