ftown-bridge 0.30.59 → 0.30.63

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 (69) hide show
  1. package/dist/bridge-instance.d.ts +4 -0
  2. package/dist/bridge-instance.js +93 -0
  3. package/dist/bridge-instance.js.map +1 -0
  4. package/dist/command-rpc.js +2 -0
  5. package/dist/command-rpc.js.map +1 -1
  6. package/dist/discussion-cli.d.ts +3 -0
  7. package/dist/discussion-cli.js +88 -0
  8. package/dist/discussion-cli.js.map +1 -0
  9. package/dist/ftown-cli.js +4 -2
  10. package/dist/ftown-cli.js.map +1 -1
  11. package/dist/grok-hook-adapter.js +2 -1
  12. package/dist/grok-hook-adapter.js.map +1 -1
  13. package/dist/harness-commands.js +7 -2
  14. package/dist/harness-commands.js.map +1 -1
  15. package/dist/hook-adapters.js +3 -2
  16. package/dist/hook-adapters.js.map +1 -1
  17. package/dist/identity-reset.d.ts +4 -1
  18. package/dist/identity-reset.js +3 -3
  19. package/dist/identity-reset.js.map +1 -1
  20. package/dist/index.js +16 -4
  21. package/dist/index.js.map +1 -1
  22. package/dist/installation-manifest.d.ts +1 -1
  23. package/dist/installation-manifest.js +1 -1
  24. package/dist/installation-manifest.js.map +1 -1
  25. package/dist/local-api-server.js +5 -1
  26. package/dist/local-api-server.js.map +1 -1
  27. package/dist/mail-delivery.js +11 -1
  28. package/dist/mail-delivery.js.map +1 -1
  29. package/dist/mail-store.d.ts +1 -0
  30. package/dist/mail-store.js.map +1 -1
  31. package/dist/peers-cli.js +2 -2
  32. package/dist/peers-cli.js.map +1 -1
  33. package/dist/project-board-commands.d.ts +4 -0
  34. package/dist/project-board-commands.js +28 -1
  35. package/dist/project-board-commands.js.map +1 -1
  36. package/dist/project-board-store.d.ts +6 -0
  37. package/dist/project-board-store.js +67 -9
  38. package/dist/project-board-store.js.map +1 -1
  39. package/dist/project-cli.d.ts +1 -1
  40. package/dist/project-cli.js +6 -2
  41. package/dist/project-cli.js.map +1 -1
  42. package/dist/project-directory-protocol.d.ts +1 -1
  43. package/dist/project-directory-protocol.js +2 -0
  44. package/dist/project-directory-protocol.js.map +1 -1
  45. package/dist/project-discussion-delivery.d.ts +14 -0
  46. package/dist/project-discussion-delivery.js +68 -0
  47. package/dist/project-discussion-delivery.js.map +1 -0
  48. package/dist/project-discussion-protocol.d.ts +32 -0
  49. package/dist/project-discussion-protocol.js +5 -0
  50. package/dist/project-discussion-protocol.js.map +1 -0
  51. package/dist/project-discussion.d.ts +16 -0
  52. package/dist/project-discussion.js +187 -0
  53. package/dist/project-discussion.js.map +1 -0
  54. package/dist/security/bridge/permissions.js +2 -2
  55. package/dist/security/bridge/permissions.js.map +1 -1
  56. package/dist/start-commands.d.ts +1 -1
  57. package/dist/start-commands.js +40 -3
  58. package/dist/start-commands.js.map +1 -1
  59. package/dist/types.d.ts +2 -1
  60. package/dist/wire-types.d.ts +10 -1
  61. package/dist/wire-types.js +18 -2
  62. package/dist/wire-types.js.map +1 -1
  63. package/package.json +2 -2
  64. package/pi-extension/API.md +7 -3
  65. package/pi-extension/ftown.js +85 -8
  66. package/skills/ftown/SKILL.md +25 -3
  67. package/skills/ftown/agents/openai.yaml +2 -2
  68. package/skills/ftown/references/orchestrator.md +4 -4
  69. package/skills/ftown/references/sessions.md +6 -2
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "ftown"
3
- short_description: "Control ftown sessions, mail, and orchestration."
4
- default_prompt: "Use ftown to manage sessions and mail."
3
+ short_description: "Manage ftown sessions, project discussions, and direct mail."
4
+ default_prompt: "Use $ftown to manage sessions, reply in project discussion threads, and send direct session mail."
@@ -7,7 +7,7 @@ List sessions first. Scope each task, files and checks; save `session.id`. Omit
7
7
  model and effort, run `ftown quota --json` and follow `quota.md` (owner
8
8
  tiers first); never route to `exhausted`.
9
9
 
10
- For cross-bridge delegation, use `ftown bridges --resources --json` to compare host capacity. If the destination needs files, follow **Copy a folder and launch a worker** in `sessions.md`.
10
+ Compare bridge capacity with `ftown bridges --resources --json`. To copy files, see **Copy a folder and launch a worker** in `sessions.md`.
11
11
 
12
12
  Keep the plan on the manager, not in a ticket system.
13
13
  Add steps with `ftown plan add` (`--after`/`--priority` set precedence;
@@ -27,9 +27,9 @@ Wait on the board for `any-done`, `any-blocked`, `any-ready` or `all-done`; act
27
27
  progress goes on the card, never as mail. A child's question comes to you
28
28
  first: answer from facts you hold with `ftown attention answer`, or
29
29
  escalate preferences and irreversible choices
30
- with `ftown attention escalate --note`. Mail is for directed
31
- instructions, results and escalations; read it with
32
- `ftown harness mail read`. Use `ftown sessions screen <worker-id> --limit 100`
30
+ with `ftown attention escalate --note`. Read direct tasks, results, escalations and discussion notifications with
31
+ `ftown harness mail read`. For discussions, use the included `ftown discuss reply` command
32
+ to answer in the original thread. Use `ftown sessions screen <worker-id> --limit 100`
33
33
  only to investigate. Parallel tasks need disjoint write
34
34
  ownership and serialized shared resources. Children set their card to
35
35
  done and report to the parent; you raise one "Work complete" notice
@@ -398,7 +398,11 @@ its value. New sessions/children do not implicitly inherit a parent's PR.
398
398
  New commands probe the exact bridge capability before writing; update old bridges
399
399
  with the exact version setup command in their readiness hint.
400
400
 
401
- ## Messaging (mail)
401
+ ## Direct session mail
402
+
403
+ For a project conversation, use `ftown discuss post` to start a thread. When
404
+ a discussion notification arrives in your inbox, follow its `ftown discuss reply`
405
+ command or use the Pi/OMP `ftown_discuss` reply tool.
402
406
 
403
407
  `tell` posts to the target session's **inbox**. Mail is delivered into the
404
408
  recipient's context automatically (as `[ftown mail]` context), so there is no
@@ -426,7 +430,7 @@ mail.
426
430
  # Tell a specific session
427
431
  ftown sessions tell <session-id> "tests are green, ship it"
428
432
 
429
- # Mail type / threading
433
+ # Group related direct messages in the recipient's inbox
430
434
  ftown sessions tell <session-id> --type task "implement the API client"
431
435
  ftown sessions tell <session-id> --type result --thread <id> "done, 0 failures"
432
436