cubelife 0.3.0 → 0.3.1
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 +62 -12
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# cubelife
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Give your AI agent a living pixel-art companion. CLI + MCP server for Claude Code, Cursor, Windsurf, Copilot, Codex, and any MCP-compatible tool.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -22,6 +22,52 @@ cubelife tutorial # Guided setup (6 steps)
|
|
|
22
22
|
cubelife status coding "Working on auth" # Report agent state
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
## MCP Server
|
|
26
|
+
|
|
27
|
+
The CLI includes an MCP server that gives AI coding tools four capabilities: `cubelife_report`, `cubelife_complete`, `cubelife_error`, and `cubelife_status`.
|
|
28
|
+
|
|
29
|
+
### Auto-configure for your tool
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
cubelife setup claude-code # Claude Code
|
|
33
|
+
cubelife setup cursor # Cursor
|
|
34
|
+
cubelife setup windsurf # Windsurf
|
|
35
|
+
cubelife setup copilot # GitHub Copilot
|
|
36
|
+
cubelife setup cline # Cline
|
|
37
|
+
cubelife setup codex # Codex
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Manual configuration
|
|
41
|
+
|
|
42
|
+
For Claude Code (`claude mcp add`):
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
claude mcp add cubelife -- npx cubelife mcp
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
For Cursor (`.cursor/mcp.json`):
|
|
49
|
+
|
|
50
|
+
```json
|
|
51
|
+
{
|
|
52
|
+
"mcpServers": {
|
|
53
|
+
"cubelife": {
|
|
54
|
+
"command": "npx",
|
|
55
|
+
"args": ["cubelife", "mcp"],
|
|
56
|
+
"env": { "CUBELIFE_API_KEY": "your-key", "CUBELIFE_AGENT_ID": "your-agent-id" }
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
For Windsurf, Cline, and VS Code the configuration is the same shape in their respective MCP config files.
|
|
63
|
+
|
|
64
|
+
### Environment variables
|
|
65
|
+
|
|
66
|
+
| Variable | Purpose |
|
|
67
|
+
|----------|---------|
|
|
68
|
+
| `CUBELIFE_API_KEY` | Agent API key (alternative to `cubelife init`) |
|
|
69
|
+
| `CUBELIFE_AGENT_ID` | Agent ID (alternative to `cubelife init`) |
|
|
70
|
+
|
|
25
71
|
## Commands
|
|
26
72
|
|
|
27
73
|
| Command | Description |
|
|
@@ -38,18 +84,9 @@ cubelife status coding "Working on auth" # Report agent state
|
|
|
38
84
|
| `tutorial` | Interactive setup walkthrough |
|
|
39
85
|
| `doctor` | Run diagnostic checks |
|
|
40
86
|
| `status [state] [detail]` | Report agent state |
|
|
87
|
+
| `view` | Render your agent's creature in the terminal |
|
|
41
88
|
| `mcp` | Start the MCP server (stdio transport) |
|
|
42
|
-
|
|
43
|
-
## MCP server
|
|
44
|
-
|
|
45
|
-
The CLI includes an MCP server for AI tool integration:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
cubelife mcp # Start server (stdio)
|
|
49
|
-
cubelife setup claude-code # Auto-configure Claude Code
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
The MCP server exposes four tools: `cubelife_report`, `cubelife_complete`, `cubelife_error`, and `cubelife_status`.
|
|
89
|
+
| `billing` | Manage subscription, sparks, gems, and vault |
|
|
53
90
|
|
|
54
91
|
## Global flags
|
|
55
92
|
|
|
@@ -72,6 +109,19 @@ const client = new CubeLifeClient({ apiKey: 'your-agent-key' });
|
|
|
72
109
|
await client.report('coding', { detail: 'Building the auth flow' });
|
|
73
110
|
```
|
|
74
111
|
|
|
112
|
+
## Python SDK
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
pip install cubelife
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
```python
|
|
119
|
+
from cubelife import CubeLifeClient
|
|
120
|
+
|
|
121
|
+
client = CubeLifeClient(api_key="your-agent-key")
|
|
122
|
+
client.report("coding", detail="Building the auth flow")
|
|
123
|
+
```
|
|
124
|
+
|
|
75
125
|
## Requirements
|
|
76
126
|
|
|
77
127
|
- Node.js 18+
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.
|
|
1
|
+
export declare const CLI_VERSION = "0.3.1";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = '0.
|
|
1
|
+
export const CLI_VERSION = '0.3.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cubelife",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "CLI for CubeLife — give your AI agent a living pixel-art companion",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -28,8 +28,15 @@
|
|
|
28
28
|
"pixel-art",
|
|
29
29
|
"character",
|
|
30
30
|
"cli",
|
|
31
|
-
"mcp"
|
|
31
|
+
"mcp",
|
|
32
|
+
"mcp-server",
|
|
33
|
+
"developer-tools",
|
|
34
|
+
"companion",
|
|
35
|
+
"claude",
|
|
36
|
+
"cursor",
|
|
37
|
+
"copilot"
|
|
32
38
|
],
|
|
39
|
+
"mcpName": "io.github.AndriesJacobus/cubelife",
|
|
33
40
|
"license": "MIT",
|
|
34
41
|
"repository": {
|
|
35
42
|
"type": "git",
|