llm-party-cli 0.2.2 → 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/dist/index.js +11 -1
- package/package.json +1 -1
- package/prompts/base.md +9 -3
package/dist/index.js
CHANGED
|
@@ -75723,6 +75723,15 @@ class Orchestrator {
|
|
|
75723
75723
|
getHumanTag() {
|
|
75724
75724
|
return this.humanTag;
|
|
75725
75725
|
}
|
|
75726
|
+
clearConversation() {
|
|
75727
|
+
this.conversation.length = 0;
|
|
75728
|
+
this.messageId = 0;
|
|
75729
|
+
for (const agent of this.agents.keys()) {
|
|
75730
|
+
this.lastSeenByAgent.set(agent, 0);
|
|
75731
|
+
}
|
|
75732
|
+
this.sessionId = createSessionId();
|
|
75733
|
+
this.transcriptPath = path9.resolve(".llm-party", "sessions", `transcript-${this.sessionId}.jsonl`);
|
|
75734
|
+
}
|
|
75726
75735
|
getAdapters() {
|
|
75727
75736
|
return Array.from(this.agents.values());
|
|
75728
75737
|
}
|
|
@@ -75921,8 +75930,9 @@ function useOrchestrator(orchestrator, maxAutoHops) {
|
|
|
75921
75930
|
setMessages((prev) => [...prev, msg]);
|
|
75922
75931
|
}, []);
|
|
75923
75932
|
const clearMessages = import_react13.useCallback(() => {
|
|
75933
|
+
orchestrator.clearConversation();
|
|
75924
75934
|
setMessages([]);
|
|
75925
|
-
}, []);
|
|
75935
|
+
}, [orchestrator]);
|
|
75926
75936
|
return { messages, agentStates, stickyTarget, dispatching, dispatch, addSystemMessage, clearMessages };
|
|
75927
75937
|
}
|
|
75928
75938
|
async function dispatchWithHandoffs(orchestrator, initialTargets, maxHops, agentProviders, setMessages, setAgentStates) {
|
package/package.json
CHANGED
package/prompts/base.md
CHANGED
|
@@ -127,6 +127,7 @@ The project uses a dedicated control folder:
|
|
|
127
127
|
- Project memory log: `.llm-party/memory/project.md`
|
|
128
128
|
- Decisions (ADR-lite): `.llm-party/memory/decisions.md`
|
|
129
129
|
- Project-local skills: `.llm-party/skills/`
|
|
130
|
+
- Global skills: `~/.llm-party/skills/`
|
|
130
131
|
|
|
131
132
|
---
|
|
132
133
|
|
|
@@ -147,11 +148,16 @@ The project uses a dedicated control folder:
|
|
|
147
148
|
|
|
148
149
|
---
|
|
149
150
|
|
|
150
|
-
## Skills
|
|
151
|
+
## Skills
|
|
151
152
|
|
|
152
|
-
|
|
153
|
+
Skills are markdown files containing specialized instructions, workflows, or domain knowledge. Check these locations in order (later entries override earlier ones for same-named skills):
|
|
153
154
|
|
|
154
|
-
|
|
155
|
+
1. `~/.llm-party/skills/` (global, shared across all projects)
|
|
156
|
+
2. `.llm-party/skills/` (project-local)
|
|
157
|
+
3. `.claude/skills/` (if present)
|
|
158
|
+
4. `.agents/skills/` (if present)
|
|
159
|
+
|
|
160
|
+
Only load skills when needed to perform a task or when {{humanName}} asks. Do not preload all skills on boot. This avoids context bloat and prevents every agent from loading the same skill in parallel.
|
|
155
161
|
|
|
156
162
|
---
|
|
157
163
|
|