@kilnai/cli 0.1.9 → 0.1.11

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.
Files changed (2) hide show
  1. package/README.md +130 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,130 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/sequelcore/kiln/main/docs/assets/mascot.png" alt="Kiln" width="120" />
3
+ </p>
4
+
5
+ <h1 align="center">@kilnai/cli</h1>
6
+
7
+ <p align="center">
8
+ <a href="https://www.npmjs.com/package/@kilnai/cli"><img src="https://img.shields.io/npm/v/@kilnai/cli.svg" alt="npm version" /></a>
9
+ <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT" /></a>
10
+ </p>
11
+
12
+ <p align="center">CLI and MCP server for the Kiln AI orchestration engine.</p>
13
+
14
+ ---
15
+
16
+ ## What is this?
17
+
18
+ `@kilnai/cli` is the command-line interface for [Kiln](https://github.com/sequelcore/kiln). It provides an interactive setup wizard, dev mode with YAML hot-reload, and an MCP server for Claude Code integration.
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ bun add -g @kilnai/cli
24
+ ```
25
+
26
+ Or use directly:
27
+
28
+ ```bash
29
+ bunx kiln init
30
+ ```
31
+
32
+ ## Commands
33
+
34
+ ### `kiln init`
35
+
36
+ Interactive wizard that generates `app.yaml` and `gateway.yaml`:
37
+
38
+ ```bash
39
+ kiln init
40
+ ```
41
+
42
+ Walks you through:
43
+ - Provider selection (Anthropic, OpenAI, DeepSeek, Ollama)
44
+ - Channel selection (CLI, Web, WhatsApp, Slack, API)
45
+ - Team mode (sequential, supervisor, swarm)
46
+ - Quality gates (test, lint, typecheck)
47
+ - Domain detection (React, Python, docs, etc.)
48
+
49
+ ### `kiln dev`
50
+
51
+ Start in dev mode with YAML hot-reload and Studio UI:
52
+
53
+ ```bash
54
+ kiln dev
55
+ ```
56
+
57
+ - Watches `app.yaml` for changes and reloads automatically
58
+ - Serves Studio at `/studio` for visual inspection
59
+ - Exposes dev endpoints at `/dev/*` for state, events, memory, cost
60
+
61
+ ### `kiln run`
62
+
63
+ Run a single task:
64
+
65
+ ```bash
66
+ kiln run "Implement the login page"
67
+ ```
68
+
69
+ ### `kiln gateway`
70
+
71
+ Start the production gateway:
72
+
73
+ ```bash
74
+ kiln gateway
75
+ ```
76
+
77
+ ### `kiln domain`
78
+
79
+ Manage domain kits:
80
+
81
+ ```bash
82
+ kiln domain detect # Auto-detect project type
83
+ kiln domain list # List available domain kits
84
+ ```
85
+
86
+ ### `kiln skill`
87
+
88
+ Manage skill packs:
89
+
90
+ ```bash
91
+ kiln skill list # List installed skills
92
+ kiln skill search # Search skill registry
93
+ ```
94
+
95
+ ### `kiln memory`
96
+
97
+ Inspect and manage agent memory:
98
+
99
+ ```bash
100
+ kiln memory list # List memory entries
101
+ kiln memory search # Full-text search
102
+ ```
103
+
104
+ ### `kiln status`
105
+
106
+ Show current session status:
107
+
108
+ ```bash
109
+ kiln status
110
+ ```
111
+
112
+ ## MCP Server
113
+
114
+ The CLI includes a built-in MCP server for Claude Code integration:
115
+
116
+ ```bash
117
+ kiln mcp-config # Print MCP server configuration for Claude Code
118
+ ```
119
+
120
+ This lets Claude Code use Kiln tools directly in your development workflow.
121
+
122
+ ## Documentation
123
+
124
+ - [Getting Started](https://github.com/sequelcore/kiln/blob/main/docs/getting-started.md)
125
+ - [App Configuration](https://github.com/sequelcore/kiln/blob/main/docs/configuration/app-yaml.md)
126
+ - [Gateway Configuration](https://github.com/sequelcore/kiln/blob/main/docs/configuration/gateway-yaml.md)
127
+
128
+ ## License
129
+
130
+ [MIT](https://github.com/sequelcore/kiln/blob/main/LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kilnai/cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "CLI and MCP server for Kiln AI orchestration engine",
5
5
  "type": "module",
6
6
  "bin": {
@@ -44,8 +44,8 @@
44
44
  "@modelcontextprotocol/sdk": "^1.26.0"
45
45
  },
46
46
  "peerDependencies": {
47
- "@kilnai/core": "^0.1.9",
48
- "@kilnai/runtime": "^0.1.9"
47
+ "@kilnai/core": "^0.1.11",
48
+ "@kilnai/runtime": "^0.1.11"
49
49
  },
50
50
  "devDependencies": {
51
51
  "yaml": "^2.8.2"