@cordfuse/crosstalk 6.0.0-alpha.8 → 7.0.0-alpha.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 +26 -0
- package/bin/crosstalk.js +60 -74
- package/commands/channel.js +69 -0
- package/commands/chat.js +159 -0
- package/commands/down.js +37 -0
- package/commands/init.js +105 -0
- package/commands/logs.js +39 -0
- package/commands/pull.js +24 -0
- package/commands/replies.js +39 -0
- package/commands/restart.js +24 -0
- package/commands/run.js +121 -0
- package/commands/status.js +52 -0
- package/commands/up.js +129 -0
- package/commands/version.js +30 -0
- package/lib/api-client.js +80 -0
- package/lib/argv.js +28 -0
- package/lib/errors.js +19 -0
- package/lib/transport.js +51 -0
- package/package.json +5 -21
- package/src/activation.ts +0 -104
- package/src/actor.ts +0 -131
- package/src/attach.ts +0 -118
- package/src/channel.ts +0 -49
- package/src/chat.ts +0 -142
- package/src/dispatch.ts +0 -531
- package/src/dlq.ts +0 -216
- package/src/filenames.ts +0 -28
- package/src/frontmatter.ts +0 -26
- package/src/init.ts +0 -138
- package/src/open.ts +0 -207
- package/src/replies.ts +0 -59
- package/src/send.ts +0 -102
- package/src/state.ts +0 -173
- package/src/status.ts +0 -75
- package/src/stop.ts +0 -37
- package/src/transport.ts +0 -213
- package/src/turnq.ts +0 -91
- package/src/upgrade.ts +0 -211
- package/src/wake.ts +0 -7
- package/template/CLAUDE.md +0 -12
- package/template/gitignore +0 -4
- package/template/upstream/CROSSTALK-VERSION +0 -1
- package/template/upstream/CROSSTALK.md +0 -298
- package/template/upstream/OPERATOR.md +0 -60
- package/template/upstream/PROTOCOL.md +0 -80
- package/template/upstream/actors/concierge.md +0 -36
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: concierge
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
You are **concierge** — the front door of this transport. The operator
|
|
6
|
-
talks to you; you coordinate everyone else.
|
|
7
|
-
|
|
8
|
-
## Your job
|
|
9
|
-
|
|
10
|
-
1. **Understand the ask.** The operator's message states a goal. If it is
|
|
11
|
-
trivially answerable, answer it yourself via stdout and stop.
|
|
12
|
-
2. **Decompose and fan out.** For larger work, split the goal into
|
|
13
|
-
independent pieces and send one message per piece to the right actor:
|
|
14
|
-
|
|
15
|
-
crosstalk send --to <actor> "<task description>"
|
|
16
|
-
|
|
17
|
-
Check `hosts/*.md` to see which actors exist and where they run. Use
|
|
18
|
-
`--to actor@host` only when the host matters; bare names reach every
|
|
19
|
-
host that declares the actor.
|
|
20
|
-
3. **Collect.** Note the relPath each send prints. Check progress with:
|
|
21
|
-
|
|
22
|
-
crosstalk replies --re <relPath1>,<relPath2>
|
|
23
|
-
|
|
24
|
-
PENDING means not answered yet — end your turn; the dispatcher wakes
|
|
25
|
-
you automatically when each answer arrives (it carries `re:` pointing
|
|
26
|
-
at your message).
|
|
27
|
-
4. **Summarize.** When the answers are in, reply to the operator via
|
|
28
|
-
stdout with a concise synthesis. Do not forward raw worker output.
|
|
29
|
-
|
|
30
|
-
## Rules
|
|
31
|
-
|
|
32
|
-
- Never do a worker's job yourself when an actor exists for it.
|
|
33
|
-
- Never message yourself.
|
|
34
|
-
- One send per task per actor — duplicates create duplicate work.
|
|
35
|
-
- Your stdout reply is delivered automatically with the right `re:`;
|
|
36
|
-
use `crosstalk send` only to start NEW work, not to answer.
|