llm-party-cli 0.7.1 → 0.10.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 +91 -29
- package/dist/index.js +1451 -700
- package/package.json +2 -3
- package/prompts/artifacts.md +81 -68
- package/prompts/base.md +101 -195
- package/prompts/obsidian.md +30 -102
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "llm-party-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"llm-party": "dist/index.js"
|
|
@@ -45,8 +45,7 @@
|
|
|
45
45
|
"prepublishOnly": "bun run build"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@anthropic-ai/claude-agent-sdk": "
|
|
49
|
-
"@anthropic-ai/claude-code": "^2.1.74",
|
|
48
|
+
"@anthropic-ai/claude-agent-sdk": "0.2.90",
|
|
50
49
|
"@github/copilot-sdk": "^0.1.33-preview.2",
|
|
51
50
|
"@openai/codex-sdk": "^0.115.0",
|
|
52
51
|
"@opentui/core": "^0.1.89",
|
package/prompts/artifacts.md
CHANGED
|
@@ -1,56 +1,45 @@
|
|
|
1
1
|
# Artifacts
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
No behavioral rules here. Structure and format only.
|
|
3
|
+
Canonical schemas and rules for the files agents read and write.
|
|
5
4
|
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
## Per-Project: `.llm-party/`
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
```
|
|
9
|
+
```text
|
|
13
10
|
.llm-party/
|
|
14
11
|
TASKS.md
|
|
15
12
|
memory/
|
|
16
13
|
project.md
|
|
14
|
+
plans/
|
|
15
|
+
YYYY-MM-DD-title.md
|
|
17
16
|
skills/
|
|
18
17
|
```
|
|
19
18
|
|
|
20
|
-
---
|
|
21
|
-
|
|
22
19
|
### `.llm-party/TASKS.md`
|
|
23
20
|
|
|
24
|
-
Task list for this project. Written before work starts. Updated immediately on completion.
|
|
25
|
-
|
|
26
|
-
**Format:**
|
|
27
21
|
```markdown
|
|
28
22
|
# Tasks
|
|
29
23
|
|
|
30
24
|
- [ ] AGENT:@{{agentTag}} | Task description | Date Added
|
|
31
|
-
- [x] AGENT:@{{agentTag}} | Task description | Date Added | Date
|
|
25
|
+
- [x] AGENT:@{{agentTag}} | Task description | Date Added | Date Completed
|
|
32
26
|
```
|
|
33
27
|
|
|
34
28
|
Rules:
|
|
35
|
-
- Add tasks
|
|
36
|
-
- Mark
|
|
37
|
-
|
|
38
|
-
---
|
|
29
|
+
- Add tasks before complex work starts
|
|
30
|
+
- Mark completion immediately
|
|
39
31
|
|
|
40
32
|
### `.llm-party/memory/project.md`
|
|
41
33
|
|
|
42
|
-
Working log for this project. Two zones: Current State (overwritable) and Log (append-only).
|
|
43
|
-
|
|
44
|
-
**Template:**
|
|
45
34
|
```markdown
|
|
46
35
|
# Project Memory
|
|
47
36
|
|
|
48
37
|
## Current State
|
|
49
38
|
|
|
50
39
|
Last Updated: YYYY-MM-DD
|
|
51
|
-
Active:
|
|
52
|
-
Blockers:
|
|
53
|
-
Next:
|
|
40
|
+
Active: current work
|
|
41
|
+
Blockers: current blockers
|
|
42
|
+
Next: immediate next action
|
|
54
43
|
|
|
55
44
|
---
|
|
56
45
|
|
|
@@ -66,34 +55,76 @@ DATE | AGENT:@{{agentTag}} | DECISION | WHY | CONSEQUENCES
|
|
|
66
55
|
```
|
|
67
56
|
|
|
68
57
|
Rules:
|
|
69
|
-
- `Current State`
|
|
70
|
-
- `Log`
|
|
71
|
-
- `Decisions`
|
|
58
|
+
- `Current State` is a short overwriteable snapshot
|
|
59
|
+
- `Log` is append-only
|
|
60
|
+
- `Decisions` is append-only
|
|
61
|
+
- When logging a fix, decision, or incident, include provenance in `DETAIL` when available, such as session, ticket, PR, host, path, or command.
|
|
62
|
+
|
|
63
|
+
### `.llm-party/plans/`
|
|
72
64
|
|
|
65
|
+
Filename: `YYYY-MM-DD-title.md`
|
|
66
|
+
|
|
67
|
+
```markdown
|
|
68
|
+
---
|
|
69
|
+
date: YYYY-MM-DD
|
|
70
|
+
status: planning | in-progress | completed | rejected
|
|
71
|
+
agents: [@agentTag]
|
|
73
72
|
---
|
|
74
73
|
|
|
75
|
-
|
|
74
|
+
# Title
|
|
75
|
+
|
|
76
|
+
## Context
|
|
77
|
+
Why this plan exists.
|
|
78
|
+
|
|
79
|
+
## Phase 1: Description
|
|
80
|
+
|
|
81
|
+
### Area
|
|
82
|
+
|
|
83
|
+
**Files to change:**
|
|
84
|
+
|
|
85
|
+
| File | Lines | Change |
|
|
86
|
+
|------|-------|--------|
|
|
87
|
+
| `path/to/file.ts` | 10, 37 | What changes and why |
|
|
88
|
+
|
|
89
|
+
- [ ] Task
|
|
90
|
+
- [ ] Subtask if needed
|
|
91
|
+
- [ ] Task
|
|
92
|
+
|
|
93
|
+
## Phase 2: Description
|
|
94
|
+
|
|
95
|
+
- [ ] Task
|
|
76
96
|
|
|
77
|
-
|
|
97
|
+
## Open Questions
|
|
78
98
|
|
|
99
|
+
- [ ] Question
|
|
79
100
|
```
|
|
101
|
+
|
|
102
|
+
Rules:
|
|
103
|
+
- Frontmatter is required
|
|
104
|
+
- Share the plan before execution
|
|
105
|
+
- Update status and checkboxes as work progresses
|
|
106
|
+
- One plan per concern
|
|
107
|
+
|
|
108
|
+
### `.llm-party/skills/`
|
|
109
|
+
|
|
110
|
+
```text
|
|
80
111
|
skills/
|
|
81
112
|
skill-name/
|
|
82
|
-
SKILL.md
|
|
83
|
-
scripts/
|
|
84
|
-
references/
|
|
85
|
-
assets/
|
|
113
|
+
SKILL.md
|
|
114
|
+
scripts/
|
|
115
|
+
references/
|
|
116
|
+
assets/
|
|
86
117
|
```
|
|
87
118
|
|
|
88
|
-
|
|
119
|
+
Rules:
|
|
120
|
+
- `SKILL.md` is required
|
|
121
|
+
- Keep `SKILL.md` concise and move bulk detail to `references/`
|
|
89
122
|
|
|
90
123
|
---
|
|
91
124
|
|
|
92
125
|
## Global: `~/.llm-party/`
|
|
93
126
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
```
|
|
127
|
+
```text
|
|
97
128
|
~/.llm-party/
|
|
98
129
|
network/
|
|
99
130
|
projects.yml
|
|
@@ -106,39 +137,28 @@ Created when {{humanName}} requests initialization or the orchestrator runs an i
|
|
|
106
137
|
SKILL.md
|
|
107
138
|
```
|
|
108
139
|
|
|
109
|
-
Additional folders/files (`config.json` etc.) may be added by the orchestrator code. Their schemas are managed in code, not in this prompt.
|
|
110
|
-
|
|
111
|
-
---
|
|
112
|
-
|
|
113
140
|
### `~/.llm-party/network/projects.yml`
|
|
114
141
|
|
|
115
|
-
Living map of all projects. Written by agents when a project-level milestone or cross-project decision happens.
|
|
116
|
-
|
|
117
|
-
**Schema:**
|
|
118
142
|
```yaml
|
|
119
143
|
projects:
|
|
120
144
|
- id: unique-slug
|
|
121
145
|
name: Human-readable name
|
|
122
146
|
root_path: /absolute/path/to/project
|
|
123
|
-
tags: [web, api, cli
|
|
124
|
-
stack: [typescript, node
|
|
147
|
+
tags: [web, api, cli]
|
|
148
|
+
stack: [typescript, node]
|
|
125
149
|
history:
|
|
126
150
|
- date: YYYY-MM-DD
|
|
127
151
|
agent: agentTag
|
|
128
|
-
event:
|
|
152
|
+
event: short milestone or decision
|
|
129
153
|
```
|
|
130
154
|
|
|
131
155
|
Rules:
|
|
132
|
-
- `history` is append-only
|
|
133
|
-
-
|
|
134
|
-
|
|
135
|
-
---
|
|
156
|
+
- `history` is append-only
|
|
157
|
+
- Use it for milestones and cross-project decisions
|
|
158
|
+
- Keep it breadcrumb-sized and include a short reference when useful, such as a session, ticket, PR, host, or memory file.
|
|
136
159
|
|
|
137
160
|
### `~/.llm-party/network/mind-map/`
|
|
138
161
|
|
|
139
|
-
Obsidian-compatible folder. Each discovery is its own `.md` file with frontmatter and wikilinks. Users can open this folder in Obsidian to visualize the knowledge graph.
|
|
140
|
-
|
|
141
|
-
**Note format:**
|
|
142
162
|
```markdown
|
|
143
163
|
---
|
|
144
164
|
discovered: YYYY-MM-DD
|
|
@@ -149,38 +169,31 @@ tags: [relevant, tags]
|
|
|
149
169
|
|
|
150
170
|
# Descriptive Title
|
|
151
171
|
|
|
152
|
-
|
|
172
|
+
Constraint, discovery, or lesson.
|
|
153
173
|
|
|
154
174
|
## Workaround
|
|
155
|
-
How to
|
|
175
|
+
How to avoid or handle it.
|
|
156
176
|
|
|
157
177
|
## Related
|
|
158
|
-
- [[other-discovery
|
|
178
|
+
- [[other-discovery]]
|
|
159
179
|
```
|
|
160
180
|
|
|
161
|
-
**File naming:** slugified title, e.g. `react-19-useeffect.md`, `figma-autolayout-nesting.md`.
|
|
162
|
-
|
|
163
181
|
Rules:
|
|
164
|
-
-
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
|
|
168
|
-
---
|
|
182
|
+
- Each discovery gets its own file
|
|
183
|
+
- Add a matching entry to `INDEX.md`
|
|
184
|
+
- Include a workaround whenever the note describes a constraint
|
|
185
|
+
- Include where proof lives when useful, such as a session, ticket, PR, host, path, or project memory entry.
|
|
169
186
|
|
|
170
187
|
### `~/.llm-party/agents/{{agentTag}}.md`
|
|
171
188
|
|
|
172
|
-
Per-agent self memory. Not shared between agents. Each agent owns its own file.
|
|
173
|
-
|
|
174
|
-
**Template:**
|
|
175
189
|
```markdown
|
|
176
190
|
# {{agentName}} Self Memory
|
|
177
191
|
|
|
178
|
-
DATE | RULE | EXAMPLE
|
|
192
|
+
DATE | PROJECT PATH | RULE | EXAMPLE
|
|
179
193
|
```
|
|
180
194
|
|
|
181
195
|
Rules:
|
|
182
|
-
-
|
|
183
|
-
- Per-agent: one file per agent, named `{{agentTag}}.md`
|
|
196
|
+
- One file per agent, named `{{agentTag}}.md`
|
|
184
197
|
- Append-only
|
|
198
|
+
- Write corrections and validated non-obvious approaches immediately
|
|
185
199
|
|
|
186
|
-
---
|