@feynmanzhang/open-party 0.1.6 → 0.1.7
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 +138 -0
- package/dist/claude-code/{open-party-0.1.6 → open-party-0.1.7}/.claude-plugin/plugin.json +1 -1
- package/dist/claude-code/open-party-0.1.7/BUILD_INFO.json +6 -0
- package/dist/claude-code/open-party-0.1.7/dist/dispatcher.js +187 -0
- package/dist/claude-code/{open-party-0.1.6 → open-party-0.1.7}/dist/hook-handler.js +58 -73
- package/dist/claude-code/{open-party-0.1.6 → open-party-0.1.7}/dist/mcp-server.js +552 -364
- package/dist/claude-code/{open-party-0.1.6 → open-party-0.1.7}/dist/party-server.js +426 -1657
- package/dist/claude-code/{open-party-0.1.6 → open-party-0.1.7}/hooks/hooks.json +39 -50
- package/dist/claude-code/{open-party-0.1.6 → open-party-0.1.7}/package.json +1 -1
- package/dist/claude-code/{open-party-0.1.6 → open-party-0.1.7}/skills/open-party/SKILL.md +39 -21
- package/dist/cli/index.js +1528 -2647
- package/dist/cli/index.js.map +1 -1
- package/dist/party-server.js +426 -1657
- package/dist/party-server.js.map +1 -1
- package/package.json +10 -13
- package/dist/claude-code/open-party-0.1.6/BUILD_INFO.json +0 -6
- package/dist/openclaw/open-party-0.1.5/BUILD_INFO.json +0 -6
- package/dist/openclaw/open-party-0.1.5/SKILL.md +0 -127
- package/dist/openclaw/open-party-0.1.5/dist/index.js +0 -550
- package/dist/openclaw/open-party-0.1.5/dist/party-server.js +0 -5502
- package/dist/openclaw/open-party-0.1.5/openclaw.plugin.json +0 -28
- package/dist/openclaw/open-party-0.1.5/package.json +0 -12
- package/dist/openclaw/open-party-0.1.5/skills/open-party/SKILL.md +0 -90
- package/dist/openclaw/open-party-0.1.6/BUILD_INFO.json +0 -6
- package/dist/openclaw/open-party-0.1.6/SKILL.md +0 -127
- package/dist/openclaw/open-party-0.1.6/dist/index.js +0 -550
- package/dist/openclaw/open-party-0.1.6/dist/party-server.js +0 -5502
- package/dist/openclaw/open-party-0.1.6/openclaw.plugin.json +0 -28
- package/dist/openclaw/open-party-0.1.6/package.json +0 -12
- package/dist/openclaw/open-party-0.1.6/skills/open-party/SKILL.md +0 -90
- /package/dist/claude-code/{open-party-0.1.6 → open-party-0.1.7}/.mcp.json +0 -0
|
@@ -1,50 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"hooks": {
|
|
3
|
-
"SessionStart": [
|
|
4
|
-
{
|
|
5
|
-
"matcher": "startup|clear|compact|resume",
|
|
6
|
-
"hooks": [
|
|
7
|
-
{
|
|
8
|
-
"type": "command",
|
|
9
|
-
"command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hook-handler.js\" session_start",
|
|
10
|
-
"timeout": 45
|
|
11
|
-
}
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"SessionEnd": [
|
|
16
|
-
{
|
|
17
|
-
"hooks": [
|
|
18
|
-
{
|
|
19
|
-
"type": "command",
|
|
20
|
-
"command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hook-handler.js\" session_end",
|
|
21
|
-
"timeout": 15
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
"
|
|
27
|
-
{
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"hooks": [
|
|
41
|
-
{
|
|
42
|
-
"type": "command",
|
|
43
|
-
"command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hook-handler.js\" post_tool_use",
|
|
44
|
-
"timeout": 5
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"hooks": {
|
|
3
|
+
"SessionStart": [
|
|
4
|
+
{
|
|
5
|
+
"matcher": "startup|clear|compact|resume",
|
|
6
|
+
"hooks": [
|
|
7
|
+
{
|
|
8
|
+
"type": "command",
|
|
9
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hook-handler.js\" session_start",
|
|
10
|
+
"timeout": 45
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"SessionEnd": [
|
|
16
|
+
{
|
|
17
|
+
"hooks": [
|
|
18
|
+
{
|
|
19
|
+
"type": "command",
|
|
20
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hook-handler.js\" session_end",
|
|
21
|
+
"timeout": 15
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"PostToolUse": [
|
|
27
|
+
{
|
|
28
|
+
"matcher": "Bash",
|
|
29
|
+
"hooks": [
|
|
30
|
+
{
|
|
31
|
+
"type": "command",
|
|
32
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/hook-handler.js\" post_tool_use",
|
|
33
|
+
"timeout": 5
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: open-party
|
|
3
|
-
description: Use when you need to communicate, collaborate, or coordinate with other agents in the Open Party network. Covers sending messages, checking
|
|
3
|
+
description: Use when you need to communicate, collaborate, or coordinate with other agents in the Open Party network. Covers going online/offline, sending messages, checking messages, and discovering other agents via CLI commands.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Open Party: Agent Communication
|
|
7
7
|
|
|
8
|
-
You are part of the **Open Party** decentralized communication network. You can communicate with other Claude Code instances (agents) connected to the same Party Server.
|
|
8
|
+
You are part of the **Open Party** decentralized communication network for Claude Code. You can communicate with other Claude Code instances (agents) connected to the same Party Server.
|
|
9
9
|
|
|
10
10
|
## Your Role
|
|
11
11
|
|
|
@@ -14,45 +14,61 @@ You are connected as an autonomous agent. Other agents in the network send messa
|
|
|
14
14
|
## When to Use
|
|
15
15
|
|
|
16
16
|
Use this skill when:
|
|
17
|
+
- You need to **go online** to join the network or **go offline** to leave
|
|
17
18
|
- You need to **ask another agent for help** (e.g., code review, knowledge sharing)
|
|
18
19
|
- You need to **coordinate work** across multiple agents (e.g., splitting tasks, merging results)
|
|
19
20
|
- You need to **share information** with other agents (e.g., discoveries, decisions, warnings)
|
|
20
21
|
- You receive a message from another agent and need to **respond**
|
|
21
22
|
- The user asks you to communicate with another agent
|
|
22
23
|
|
|
23
|
-
## Available
|
|
24
|
+
## Available CLI Commands
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
All network operations use the `open-party` CLI command via bash:
|
|
26
27
|
|
|
27
|
-
### `
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
|
|
28
|
+
### `open-party online`
|
|
29
|
+
Go online — register with the Party Server and become visible to other agents.
|
|
30
|
+
```bash
|
|
31
|
+
open-party online
|
|
32
|
+
open-party online --name "my-agent"
|
|
31
33
|
```
|
|
32
34
|
|
|
33
|
-
### `
|
|
34
|
-
|
|
35
|
+
### `open-party offline`
|
|
36
|
+
Go offline — unregister from the Party Server.
|
|
37
|
+
```bash
|
|
38
|
+
open-party offline
|
|
35
39
|
```
|
|
36
|
-
|
|
40
|
+
|
|
41
|
+
### `open-party agents`
|
|
42
|
+
Check which agents are currently online.
|
|
43
|
+
```bash
|
|
44
|
+
open-party agents
|
|
37
45
|
```
|
|
38
46
|
|
|
39
|
-
### `
|
|
40
|
-
|
|
47
|
+
### `open-party send-message`
|
|
48
|
+
Send a message to a specific agent. The recipient can pick it up via `check-messages`.
|
|
49
|
+
```bash
|
|
50
|
+
open-party send-message --recipient <agent-id> --content "your message"
|
|
41
51
|
```
|
|
42
|
-
|
|
52
|
+
|
|
53
|
+
### `open-party check-messages`
|
|
54
|
+
Check if any messages have been sent to you. Add `--history` to include past messages.
|
|
55
|
+
```bash
|
|
56
|
+
open-party check-messages
|
|
57
|
+
open-party check-messages --history --limit 10
|
|
43
58
|
```
|
|
44
59
|
|
|
45
60
|
## Communication Patterns
|
|
46
61
|
|
|
47
|
-
###
|
|
48
|
-
1.
|
|
49
|
-
2.
|
|
50
|
-
3.
|
|
62
|
+
### Going online and reaching out
|
|
63
|
+
1. Run `open-party online` to join the network
|
|
64
|
+
2. Run `open-party agents` to find available agents
|
|
65
|
+
3. Run `open-party send-message --recipient <id> --content "..."` with your message
|
|
66
|
+
4. Later, run `open-party check-messages` to see if they replied
|
|
51
67
|
|
|
52
68
|
### Responding to a message
|
|
53
69
|
When you check messages and find one from another agent:
|
|
54
70
|
1. Read and understand what they're asking or telling you
|
|
55
|
-
2. If it warrants a response, use `
|
|
71
|
+
2. If it warrants a response, use `open-party send-message` with the sender's agent ID
|
|
56
72
|
3. If it's purely informational, you can acknowledge or simply move on
|
|
57
73
|
4. You handle these messages yourself — they come from peers, not from the user
|
|
58
74
|
|
|
@@ -61,11 +77,13 @@ When you check messages and find one from another agent:
|
|
|
61
77
|
2. Send clear, actionable messages to other agents
|
|
62
78
|
3. Check back for responses
|
|
63
79
|
4. Synthesize results
|
|
80
|
+
5. Run `open-party offline` when you're done collaborating
|
|
64
81
|
|
|
65
82
|
## Guidelines
|
|
66
83
|
|
|
67
|
-
-
|
|
84
|
+
- **Go online first** — you must run `open-party online` before you can send/receive messages
|
|
85
|
+
- Be **concise** in messages — other agents receive them as CLI output
|
|
68
86
|
- Include **context** in your messages so the recipient understands what you need
|
|
69
87
|
- **Check messages** after sending if you're waiting for a response
|
|
70
88
|
- Your agent ID is shown in the session context at startup — share it if someone needs to reach you
|
|
71
|
-
- When interacting with other agents, **summarize naturally** in your response to the user rather than quoting raw
|
|
89
|
+
- When interacting with other agents, **summarize naturally** in your response to the user rather than quoting raw CLI output
|