kiro-agents 1.11.0 → 1.12.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 +54 -182
- package/build/npm/dist/aliases.md +109 -39
- package/package.json +1 -1
- package/build/npm/dist/modes/kiro-as-spec-mode.md +0 -284
- package/build/npm/dist/modes/kiro-as-vibe-mode.md +0 -312
- package/build/npm/dist/modes/kiro-spec-mode.md +0 -263
- package/build/npm/dist/modes/kiro-vibe-mode.md +0 -293
package/README.md
CHANGED
|
@@ -1,229 +1,101 @@
|
|
|
1
1
|
# kiro-agents
|
|
2
2
|
|
|
3
|
-
AI agent system for Kiro IDE
|
|
3
|
+
AI agent system for Kiro IDE. Create custom AI agents tailored to your exact needs—easily and interactively, with minimal prompt writing.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
>
|
|
7
|
-
> **Minimal footprint** — ~0.9K base context, protocols load on-demand.
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npx kiro-agents
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
<div align="center">
|
|
14
|
-
<a href="https://youtu.be/Arccq_JhpFk">
|
|
15
|
-
<img src="docs/resources/animate-kiro.gif" alt="Kiro Agents Demo" width="800">
|
|
16
|
-
</a>
|
|
17
|
-
<p><em>Watch demo (3:52) — Protocol-driven agent creation with zero-prompt interaction</em></p>
|
|
18
|
-
</div>
|
|
5
|
+
Build agents for any domain: development, design, business, research, or anything else. Choose from templates, explore role libraries, describe what you need in plain language, or craft agents step-by-step. Once created, refine them to perfection through kiro-master, the management agent created automatically on first use.
|
|
19
6
|
|
|
20
7
|
## Features
|
|
21
8
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
- **
|
|
28
|
-
- **Domain specialization** - Frontend, backend, testing, DevOps, documentation
|
|
29
|
-
- **AI-generated architecture** - Model creates optimal agent structure from your specifications
|
|
30
|
-
- **Persistent definitions** - Reusable across sessions and projects
|
|
31
|
-
|
|
32
|
-
### Mode System
|
|
33
|
-
Switch between workflow structures based on development needs:
|
|
34
|
-
|
|
35
|
-
- **`vibe`** - Flexible, fast-paced development with Kiro tools
|
|
36
|
-
- **`spec`** - Structured feature development (requirements → design → tasks) with Kiro tools
|
|
37
|
-
- **`as-vibe`** - Vibe workflow, keeps current tools (agent superpowers)
|
|
38
|
-
- **`as-spec`** - Spec workflow, keeps current tools (agent superpowers)
|
|
39
|
-
|
|
40
|
-
Modes preserve file changes but reset workflow state. Combine with agents for specialized tools + preferred workflow structure.
|
|
41
|
-
|
|
42
|
-
### Strict Mode
|
|
43
|
-
Precision mode that blocks execution on ambiguous input. Prevents assumption propagation in experimental or architectural work.
|
|
44
|
-
|
|
45
|
-
- **Explicit clarification** - Forces questions instead of guesses
|
|
46
|
-
- **Assumption prevention** - Stops errors before they spread
|
|
47
|
-
- **Optional activation** - Defaults to OFF, enable with `/strict on`
|
|
9
|
+
**Core Capabilities:**
|
|
10
|
+
- 🎯 **Guided Agent Creation** - Multiple creation methods: templates, role explorer, natural language, or step-by-step wizard
|
|
11
|
+
- 🔧 **Powerful Refinement** - Modify and perfect agents through kiro-master, the auto-created management agent
|
|
12
|
+
- 💬 **Interactive by Default** - Guided workflows with minimal prompt writing for both creating and using agents
|
|
13
|
+
- 🌐 **Unlimited Domains** - Build agents for any field: development, design, business, research, or anything else
|
|
14
|
+
- 📦 **Minimal Footprint** - 1.35K base context (<0.7% of Kiro's 200K), protocols load on-demand
|
|
48
15
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
- **Numbered choices** - Pre-structured options eliminate prompt writing
|
|
53
|
-
- **Diff blocks** - Visual progress tracking and context preservation
|
|
54
|
-
- **Single focus** - One concept per message prevents overwhelm
|
|
55
|
-
- **Full control + simplicity** - Navigate complex workflows without writing prompts
|
|
56
|
-
- **ADHD-optimized** - Designed for neurodivergent users, benefits everyone
|
|
57
|
-
- **Optional** - Agents can be created with custom interaction styles if needed
|
|
16
|
+
**Additional Features:**
|
|
17
|
+
- 🔄 **Flexible Modes** - Switch between vibe (conversational) and spec (structured) workflows
|
|
18
|
+
- 🎯 **Strict Mode** - Precision mode that blocks execution on ambiguous input
|
|
58
19
|
|
|
59
20
|
## Installation
|
|
60
21
|
|
|
61
|
-
**Global installation (recommended):**
|
|
62
22
|
```bash
|
|
63
23
|
npx kiro-agents
|
|
64
24
|
```
|
|
65
25
|
|
|
66
|
-
Installs
|
|
67
|
-
|
|
68
|
-
**What gets installed:**
|
|
69
|
-
- Core system files (aliases, protocols, interaction patterns)
|
|
70
|
-
- kiro-protocols Power (reusable protocol library)
|
|
71
|
-
- Automatic power registration in Kiro IDE
|
|
26
|
+
Installs kiro-agents and the kiro-protocols Power. Run the same command to update to the latest version.
|
|
72
27
|
|
|
73
28
|
## Quick Start
|
|
74
29
|
|
|
75
|
-
### 1.
|
|
30
|
+
### 1. Start Agent System
|
|
76
31
|
|
|
77
32
|
```
|
|
78
33
|
/agents
|
|
79
34
|
```
|
|
80
35
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
2.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
36
|
+
On first run, this automatically creates **kiro-master** (your Kiro management agent) and shows you the agent menu.
|
|
37
|
+
|
|
38
|
+
### 2. Create Your First Custom Agent
|
|
39
|
+
|
|
40
|
+
From the agent menu, choose **"Create new agent"** and pick a creation method:
|
|
41
|
+
|
|
42
|
+
- **Quick Start** - Choose from templates
|
|
43
|
+
- **Explore Roles** - Browse agents by domain
|
|
44
|
+
- **Natural Language** - Just describe what you need
|
|
45
|
+
- **Project-Specific** - AI analyzes your codebase
|
|
46
|
+
- **Guided Wizard** - Step-by-step customization
|
|
87
47
|
|
|
88
|
-
###
|
|
48
|
+
### 3. Activate Any Agent
|
|
89
49
|
|
|
90
50
|
```
|
|
91
|
-
/
|
|
92
|
-
/modes spec # Structured workflow
|
|
93
|
-
/modes as-vibe # Vibe style, keep agent tools
|
|
94
|
-
/modes as-spec # Spec style, keep agent tools
|
|
51
|
+
/agents {name}
|
|
95
52
|
```
|
|
96
53
|
|
|
97
|
-
|
|
54
|
+
Example:
|
|
55
|
+
- `/agents kiro-master` - Activate the Kiro management agent
|
|
98
56
|
|
|
99
|
-
|
|
100
|
-
|------|-------|-------------|----------|----------|
|
|
101
|
-
| `vibe` | Kiro tools | Conversational | Flexible | Prototyping, debugging, exploration |
|
|
102
|
-
| `spec` | Kiro tools | Structured | Requirements → Design → Tasks | Production features, formal development |
|
|
103
|
-
| `as-vibe` | Current tools | Conversational | Flexible | Agent tools + vibe flexibility |
|
|
104
|
-
| `as-spec` | Current tools | Structured | Requirements → Design → Tasks | Agent tools + spec structure |
|
|
57
|
+
The agent stays active until you switch to another or end the session.
|
|
105
58
|
|
|
106
|
-
|
|
59
|
+
## Demo
|
|
107
60
|
|
|
108
|
-
|
|
109
|
-
/
|
|
110
|
-
/
|
|
111
|
-
|
|
61
|
+
<div align="center">
|
|
62
|
+
<a href="https://youtu.be/Arccq_JhpFk">
|
|
63
|
+
<img src="docs/resources/animate-kiro.gif" alt="Kiro Agents Demo" width="800">
|
|
64
|
+
</a>
|
|
65
|
+
<p><em>Watch demo (3:52) — Custom agent optimizing steering document instructions</em></p>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
## How It Works
|
|
112
69
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
### Strict Mode Commands
|
|
126
|
-
- `/strict` - Interactive strict mode control
|
|
127
|
-
- `/strict {state}` - Set strict mode (e.g., `/strict on`, `/strict off`)
|
|
128
|
-
|
|
129
|
-
### Protocol Commands (Advanced)
|
|
130
|
-
- `/protocols {filename}` - Load and execute protocol from kiro-protocols Power
|
|
131
|
-
- `/only-read-protocols {filename}` - Read protocol into context without executing
|
|
132
|
-
|
|
133
|
-
## Architecture
|
|
134
|
-
|
|
135
|
-
### Technical Implementation
|
|
136
|
-
|
|
137
|
-
**Pure markdown steering documents:**
|
|
138
|
-
- No runtime code, only AI instructions
|
|
139
|
-
- Stored in `~/.kiro/steering/kiro-agents/`
|
|
140
|
-
- Processed at build time with dynamic substitutions
|
|
141
|
-
|
|
142
|
-
**Protocol-driven interaction:**
|
|
143
|
-
- Protocols structure presentation format, not AI capability
|
|
144
|
-
- Lazy loading keeps base context minimal (~0.9K tokens)
|
|
145
|
-
- Structured via diff blocks and numbered choices
|
|
146
|
-
- Optimized for SOTA model generation
|
|
147
|
-
|
|
148
|
-
**Agent storage:**
|
|
149
|
-
- Agents stored as `.md` files in `.kiro/agents/`
|
|
150
|
-
- Contain capabilities, workflows, protocols, examples
|
|
151
|
-
- Activated via instruction alias system
|
|
152
|
-
- Inherit chit-chat interaction protocol
|
|
153
|
-
|
|
154
|
-
**Mode system:**
|
|
155
|
-
- Mode definitions in kiro-protocols Power
|
|
156
|
-
- Loaded on-demand via protocol system
|
|
157
|
-
- Define interaction style and available tools
|
|
158
|
-
- Preserve file changes, reset workflow state
|
|
159
|
-
|
|
160
|
-
### Build System
|
|
161
|
-
|
|
162
|
-
**Centralized manifest:**
|
|
163
|
-
- Single source of truth in `src/manifest.ts`
|
|
164
|
-
- Glob pattern support for automatic file discovery
|
|
165
|
-
- Guaranteed consistency between dev mode and CLI installation
|
|
166
|
-
- Type-safe with compile-time validation
|
|
167
|
-
|
|
168
|
-
**Dual distribution:**
|
|
169
|
-
- npm package with CLI installer
|
|
170
|
-
- kiro-protocols Power for protocol library
|
|
171
|
-
- Both installed automatically via `npx kiro-agents`
|
|
172
|
-
|
|
173
|
-
## Use Cases
|
|
174
|
-
|
|
175
|
-
### Specialized Development
|
|
176
|
-
Create domain-specific agents with specialized knowledge:
|
|
177
|
-
- Frontend agent with React/Vue/Angular expertise
|
|
178
|
-
- Backend agent with API design and database patterns
|
|
179
|
-
- Testing agent with TDD workflows and coverage strategies
|
|
180
|
-
- DevOps agent with CI/CD and infrastructure knowledge
|
|
181
|
-
|
|
182
|
-
### Workflow Flexibility
|
|
183
|
-
Adapt interaction style to task requirements:
|
|
184
|
-
- Vibe mode for rapid prototyping and exploration
|
|
185
|
-
- Spec mode for production features with formal requirements
|
|
186
|
-
- Role modes (`as-vibe`, `as-spec`) for agent superpowers
|
|
187
|
-
|
|
188
|
-
### Agent Superpowers (Experimental)
|
|
189
|
-
Combine specialized agent tools with preferred interaction style using role modes:
|
|
190
|
-
- `/agents frontend-specialist` then `/modes as-vibe` = React expertise + conversational flow
|
|
191
|
-
- `/agents api-architect` then `/modes as-spec` = API design tools + structured workflow
|
|
192
|
-
- **Spec + Vibe combo**: `/modes spec` then `/modes as-vibe` = Spec tools + vibe interaction (recently added, testing in progress)
|
|
193
|
-
|
|
194
|
-
### Precision Work
|
|
195
|
-
Enable strict mode for critical development:
|
|
196
|
-
- Architectural decisions that propagate throughout codebase
|
|
197
|
-
- Experimental projects with cutting-edge technologies
|
|
198
|
-
- Breaking changes affecting multiple systems
|
|
199
|
-
- Debugging propagated errors from incorrect assumptions
|
|
70
|
+
**Simple Markdown Files**
|
|
71
|
+
kiro-agents uses plain markdown files with AI instructions—no code to run, no dependencies to install. These files guide how Kiro IDE responds to your commands.
|
|
72
|
+
|
|
73
|
+
**kiro-protocols Power**
|
|
74
|
+
Automatically installed alongside kiro-agents, this Power provides protocols (agent creation, mode switching, strict mode) that load on-demand when needed.
|
|
75
|
+
|
|
76
|
+
**On-Demand Loading**
|
|
77
|
+
Protocols load only when needed, keeping your context clean. Base system uses just 1.35K tokens.
|
|
78
|
+
|
|
79
|
+
**Your Agents, Your Files**
|
|
80
|
+
Agents you create are saved as `.md` files in `.kiro/agents/`. Edit them like any document, version control them with git, reuse them across projects.
|
|
200
81
|
|
|
201
82
|
## Documentation
|
|
202
83
|
|
|
203
|
-
- **[Getting Started](docs/
|
|
204
|
-
- **[User Guide](docs/user-guide/)** - Agents, modes, commands, workflows, examples
|
|
205
|
-
- **[Developer Guide](docs/developer-guide/)** - Contributing, versioning, build system, testing
|
|
206
|
-
- **[Design Rationale](docs/design/)** - Neurodivergent accessibility, protocol system, interaction patterns
|
|
84
|
+
- **[Getting Started](docs/GETTING_STARTED.md)** - Step-by-step onboarding guide
|
|
207
85
|
- **[Architecture Overview](docs/ARCHITECTURE.md)** - System design and component relationships
|
|
208
|
-
- **[
|
|
86
|
+
- **[Creating Powerful Agents](docs/user-guide/creating-powerful-agents.md)** - Layered architecture guide
|
|
87
|
+
- **[Design Rationale](docs/design/)** - Protocol system, interaction patterns, neurodivergent accessibility
|
|
88
|
+
- **[Contributing](CONTRIBUTING.md)** - Development workflow, build system, testing, versioning
|
|
209
89
|
|
|
210
90
|
## Contributing
|
|
211
91
|
|
|
212
|
-
Contributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for
|
|
213
|
-
- Development workflow
|
|
214
|
-
- Build commands
|
|
215
|
-
- Testing guidelines
|
|
216
|
-
- Versioning system (AI-powered with Changesets)
|
|
217
|
-
- Cross-IDE compatibility rules
|
|
218
|
-
|
|
219
|
-
**Important:** Do not modify `powers/*/steering/` directories directly. These are auto-generated from `src/` during build. PRs modifying these files will fail CI.
|
|
92
|
+
Contributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
220
93
|
|
|
221
94
|
## Links
|
|
222
95
|
|
|
223
96
|
- [npm Package](https://www.npmjs.com/package/kiro-agents)
|
|
224
97
|
- [GitHub Repository](https://github.com/Theadd/kiro-agents)
|
|
225
98
|
- [Kiro IDE](https://kiro.dev)
|
|
226
|
-
- [Demo Video](https://youtu.be/Arccq_JhpFk) (3:52)
|
|
227
99
|
|
|
228
100
|
## License
|
|
229
101
|
|
|
@@ -80,44 +80,44 @@ You are now activating the **{agent_name}** agent.
|
|
|
80
80
|
|
|
81
81
|
This alias enables users to activate any agent with `/agents {name}` syntax.
|
|
82
82
|
|
|
83
|
-
## Protocol Loading Alias
|
|
84
|
-
|
|
85
|
-
The protocol loading command uses parameter substitution to dynamically load and follow all protocols from the kiro-protocols Power:
|
|
86
|
-
|
|
87
|
-
<alias>
|
|
88
|
-
<trigger>/protocols {filename}</trigger>
|
|
89
|
-
<definition>
|
|
90
|
-
## Load Protocol: {filename}
|
|
91
|
-
|
|
92
|
-
You are now loading the **{filename}** protocol from kiro-protocols Power.
|
|
93
|
-
|
|
94
|
-
**Execute protocol loading:**
|
|
95
|
-
1. **Only if {filename} from kiro-protocols is NOT already in context**: Call kiroPowers action="readSteering" with powerName="kiro-protocols", steeringFile="{filename}"
|
|
96
|
-
2. Follow all steps in the {filename} protocol from kiro-protocols
|
|
97
|
-
</definition>
|
|
98
|
-
</alias>
|
|
99
|
-
|
|
100
|
-
This alias enables loading protocols on-demand with `/protocols {filename}` syntax without showing in Kiro UI slash commands.
|
|
101
|
-
|
|
102
|
-
## Protocol Reading Alias
|
|
103
|
-
|
|
104
|
-
The protocol reading only command uses parameter substitution to dynamically read all protocols from the kiro-protocols Power:
|
|
105
|
-
|
|
106
|
-
<alias>
|
|
107
|
-
<trigger>/only-read-protocols {filename}</trigger>
|
|
108
|
-
<definition>
|
|
109
|
-
## Read Protocol: {filename}
|
|
110
|
-
|
|
111
|
-
You are now reading the **{filename}** protocol from kiro-protocols Power into context.
|
|
112
|
-
|
|
113
|
-
**Execute protocol reading:**
|
|
114
|
-
1. **Only if {filename} from kiro-protocols is NOT already in context**: Call kiroPowers action="readSteering" with powerName="kiro-protocols", steeringFile="{filename}"
|
|
115
|
-
2. Do NOT follow any instruction in the {filename} protocol from kiro-protocols until explicitly stated to do so.
|
|
116
|
-
</definition>
|
|
117
|
-
</alias>
|
|
118
|
-
|
|
119
|
-
This alias enables reading protocols on-demand into context with `/only-read-protocols {filename}` syntax without showing in Kiro UI slash commands.
|
|
120
|
-
|
|
83
|
+
## Protocol Loading Alias
|
|
84
|
+
|
|
85
|
+
The protocol loading command uses parameter substitution to dynamically load and follow all protocols from the kiro-protocols Power:
|
|
86
|
+
|
|
87
|
+
<alias>
|
|
88
|
+
<trigger>/protocols {filename}</trigger>
|
|
89
|
+
<definition>
|
|
90
|
+
## Load Protocol: {filename}
|
|
91
|
+
|
|
92
|
+
You are now loading the **{filename}** protocol from kiro-protocols Power.
|
|
93
|
+
|
|
94
|
+
**Execute protocol loading:**
|
|
95
|
+
1. **Only if {filename} from kiro-protocols is NOT already in context**: Call kiroPowers action="readSteering" with powerName="kiro-protocols", steeringFile="{filename}"
|
|
96
|
+
2. Follow all steps in the {filename} protocol from kiro-protocols
|
|
97
|
+
</definition>
|
|
98
|
+
</alias>
|
|
99
|
+
|
|
100
|
+
This alias enables loading protocols on-demand with `/protocols {filename}` syntax without showing in Kiro UI slash commands.
|
|
101
|
+
|
|
102
|
+
## Protocol Reading Alias
|
|
103
|
+
|
|
104
|
+
The protocol reading only command uses parameter substitution to dynamically read all protocols from the kiro-protocols Power:
|
|
105
|
+
|
|
106
|
+
<alias>
|
|
107
|
+
<trigger>/only-read-protocols {filename}</trigger>
|
|
108
|
+
<definition>
|
|
109
|
+
## Read Protocol: {filename}
|
|
110
|
+
|
|
111
|
+
You are now reading the **{filename}** protocol from kiro-protocols Power into context.
|
|
112
|
+
|
|
113
|
+
**Execute protocol reading:**
|
|
114
|
+
1. **Only if {filename} from kiro-protocols is NOT already in context**: Call kiroPowers action="readSteering" with powerName="kiro-protocols", steeringFile="{filename}"
|
|
115
|
+
2. Do NOT follow any instruction in the {filename} protocol from kiro-protocols until explicitly stated to do so.
|
|
116
|
+
</definition>
|
|
117
|
+
</alias>
|
|
118
|
+
|
|
119
|
+
This alias enables reading protocols on-demand into context with `/only-read-protocols {filename}` syntax without showing in Kiro UI slash commands.
|
|
120
|
+
|
|
121
121
|
## Mode System Alias
|
|
122
122
|
|
|
123
123
|
The mode switching command uses parameter substitution to load mode definitions dynamically:
|
|
@@ -161,4 +161,74 @@ After user's next message, execute:
|
|
|
161
161
|
/modes as-vibe
|
|
162
162
|
```
|
|
163
163
|
</definition>
|
|
164
|
-
</alias>
|
|
164
|
+
</alias>
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Conversation Transfer State Restoration
|
|
171
|
+
|
|
172
|
+
**CRITICAL: Execute BEFORE generating your first response in this session.**
|
|
173
|
+
|
|
174
|
+
If the initial context contains "CONTEXT TRANSFER:" (indicating a conversation summary):
|
|
175
|
+
|
|
176
|
+
### Detection Phase
|
|
177
|
+
|
|
178
|
+
1. **Scan the conversation summary for ACTIVE_AGENT indicators:**
|
|
179
|
+
- Look for patterns: "/agents {name}", "activated {name} agent", "ACTIVE_AGENT: {name}", agent name mentions in task descriptions
|
|
180
|
+
- Extract agent name if found
|
|
181
|
+
- Set detected_agent = {name} or none
|
|
182
|
+
|
|
183
|
+
2. **Scan for STRICT_MODE indicators:**
|
|
184
|
+
- Look for explicit ON state: "STRICT_MODE: ON", "STRICT_MODE is ON", "/strict on", "activated STRICT_MODE"
|
|
185
|
+
- Look for explicit OFF state: "STRICT_MODE: OFF", "STRICT_MODE is OFF", "/strict off"
|
|
186
|
+
- Set detected_strict = ON | OFF | unknown
|
|
187
|
+
|
|
188
|
+
### Restoration Phase
|
|
189
|
+
|
|
190
|
+
**Case 1: Agent detected**
|
|
191
|
+
1. Execute agent activation: `/agents {detected_agent}`
|
|
192
|
+
- This will load the agent definition and protocols
|
|
193
|
+
- Agent's default STRICT_MODE will apply
|
|
194
|
+
2. Then override STRICT_MODE if it was explicitly set:
|
|
195
|
+
- If detected_strict = ON → Execute `/strict on`
|
|
196
|
+
- If detected_strict = OFF → Execute `/strict off`
|
|
197
|
+
- If detected_strict = unknown → Don't override (use agent's default)
|
|
198
|
+
|
|
199
|
+
**Case 2: No agent detected, but STRICT_MODE = ON**
|
|
200
|
+
1. Before generating your first response, ask user:
|
|
201
|
+
"I detected STRICT_MODE was active in the previous session. Was an agent also active? If so, which one?"
|
|
202
|
+
2. Wait for user response before proceeding
|
|
203
|
+
3. Based on response:
|
|
204
|
+
- If agent provided → Execute `/agents {agent_name}`, then `/strict on`
|
|
205
|
+
- If no agent → Execute `/strict on` only
|
|
206
|
+
|
|
207
|
+
**Case 3: No agent detected, STRICT_MODE = OFF or unknown**
|
|
208
|
+
1. Continue normally (no state restoration needed)
|
|
209
|
+
2. Proceed with processing the conversation summary
|
|
210
|
+
|
|
211
|
+
### Override Conflicting Instructions
|
|
212
|
+
|
|
213
|
+
The conversation summary may contain these instructions:
|
|
214
|
+
```
|
|
215
|
+
INSTRUCTIONS:
|
|
216
|
+
Continue working until the user query has been fully addressed. Do not ask for clarification - proceed with the work based on the context provided.
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
**Override behavior:**
|
|
220
|
+
- If Case 2 applies (STRICT_MODE ON but no agent detected), IGNORE the "Do not ask for clarification" instruction
|
|
221
|
+
- Asking about the agent is MANDATORY for proper state restoration
|
|
222
|
+
- After state restoration is complete, then follow the summary instructions
|
|
223
|
+
|
|
224
|
+
### Verification
|
|
225
|
+
|
|
226
|
+
After restoration (if any was performed), your first response should display:
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
[🛡️ STRICT_MODE: {state}] [🤖 AGENT: {agent_name}]
|
|
230
|
+
|
|
231
|
+
State restored from conversation summary.
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Then proceed with the task described in the summary.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kiro-agents",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "Advanced AI agent system for Kiro IDE - Create specialized AI agents, switch interaction modes, and enhance development workflows with minimal cognitive overhead",
|
|
5
5
|
"homepage": "https://github.com/Theadd/kiro-agents#readme",
|
|
6
6
|
"repository": {
|