@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.
Files changed (46) hide show
  1. package/README.md +26 -0
  2. package/bin/crosstalk.js +60 -74
  3. package/commands/channel.js +69 -0
  4. package/commands/chat.js +159 -0
  5. package/commands/down.js +37 -0
  6. package/commands/init.js +105 -0
  7. package/commands/logs.js +39 -0
  8. package/commands/pull.js +24 -0
  9. package/commands/replies.js +39 -0
  10. package/commands/restart.js +24 -0
  11. package/commands/run.js +121 -0
  12. package/commands/status.js +52 -0
  13. package/commands/up.js +129 -0
  14. package/commands/version.js +30 -0
  15. package/lib/api-client.js +80 -0
  16. package/lib/argv.js +28 -0
  17. package/lib/errors.js +19 -0
  18. package/lib/transport.js +51 -0
  19. package/package.json +5 -21
  20. package/src/activation.ts +0 -104
  21. package/src/actor.ts +0 -131
  22. package/src/attach.ts +0 -118
  23. package/src/channel.ts +0 -49
  24. package/src/chat.ts +0 -142
  25. package/src/dispatch.ts +0 -531
  26. package/src/dlq.ts +0 -216
  27. package/src/filenames.ts +0 -28
  28. package/src/frontmatter.ts +0 -26
  29. package/src/init.ts +0 -138
  30. package/src/open.ts +0 -207
  31. package/src/replies.ts +0 -59
  32. package/src/send.ts +0 -102
  33. package/src/state.ts +0 -173
  34. package/src/status.ts +0 -75
  35. package/src/stop.ts +0 -37
  36. package/src/transport.ts +0 -213
  37. package/src/turnq.ts +0 -91
  38. package/src/upgrade.ts +0 -211
  39. package/src/wake.ts +0 -7
  40. package/template/CLAUDE.md +0 -12
  41. package/template/gitignore +0 -4
  42. package/template/upstream/CROSSTALK-VERSION +0 -1
  43. package/template/upstream/CROSSTALK.md +0 -298
  44. package/template/upstream/OPERATOR.md +0 -60
  45. package/template/upstream/PROTOCOL.md +0 -80
  46. 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.