Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,20 @@ All Go formatting is enforced by `mise run lint` (golangci-lint with gofmt). Key

## Git workflow

A new provider PR always commits **all 6 files atomically** (see Provider testdata fixtures below).
A new provider PR always commits all files atomically:

| File | Purpose |
|------|---------|
| `internal/providers/<name>.go` | Provider implementation |
| `internal/providers/<name>_test.go` | Tests (Config, Parse, Generate, Exists) |
| `internal/providers/fixtures/<name>_input.json` | Realistic on-disk config |
| `internal/providers/fixtures/<name>_expected.json` | Exact iris output |
| `internal/types/provider.go` | Add `NameXxx` constant |
| `cmd/iris/main.go` | Register `New<Name>Provider()` |
| `docs/providers/<slug>.md` | Provider documentation |
| `README.md` | Add to supported providers table |

Create a feature branch, push, open a PR. Run `mise run test` and `mise run lint` at session end to confirm no regressions.

## Provider testdata fixtures

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ The `providers` field is written automatically by `iris init -I` and tells `iris
| Kimi Code (`kimi`) | — | `~/.kimi/mcp.json` |
| Mistral Vibe (`mistral-vibe`) | `.vibe/config.toml` | `~/.vibe/config.toml` |
| IntelliJ IDEA (`intellij`) | `.idea/mcp.json` | — |
| Cline (`cline`) | — | `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json` |
| Kiro (`kiro`) | `.kiro/settings/mcp.json` | `~/.kiro/settings/mcp.json` |

## Development

Expand Down
30 changes: 30 additions & 0 deletions docs/providers/cline.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Cline

**iris provider name:** `cline`

## Config file

| Scope | Path |
|---------|------|
| Project | — |
| Global | `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json` |

Project-level config is not supported.

## Format

```json
{
"mcpServers": {
"server-name": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem"],
"env": { "KEY": "value" }
}
}
}
```

Root key: `mcpServers` (standard MCP JSON format). Both stdio (`command`/`args`/`env`) and HTTP (`url`/`headers`) transports are supported.

## References
30 changes: 30 additions & 0 deletions docs/providers/kiro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Kiro

**iris provider name:** `kiro`

## Config file

| Scope | Path |
|---------|------|
| Project | `.kiro/settings/mcp.json` |
| Global | `~/.kiro/settings/mcp.json` |

Both project-level and global configs are supported.

## Format

```json
{
"mcpServers": {
"server-name": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem"],
"env": { "KEY": "value" }
}
}
}
```

Root key: `mcpServers` (standard MCP JSON format). Both stdio (`command`/`args`/`env`) and HTTP (`url`/`headers`) transports are supported.

## References
Loading