typeclaw 0.42.1 → 0.43.0

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 (37) hide show
  1. package/auth.schema.json +16 -0
  2. package/package.json +1 -1
  3. package/secrets.schema.json +16 -0
  4. package/src/agent/live-subagents.ts +4 -4
  5. package/src/agent/plugin-tools.ts +8 -2
  6. package/src/agent/session-origin.ts +6 -3
  7. package/src/agent/system-prompt.ts +5 -3
  8. package/src/agent/tools/channel-react.ts +5 -4
  9. package/src/agent/tools/spawn-subagent.ts +80 -24
  10. package/src/bundled-plugins/planner/planner.ts +1 -1
  11. package/src/bundled-plugins/researcher/researcher.ts +2 -2
  12. package/src/bundled-plugins/reviewer/reviewer.ts +1 -1
  13. package/src/channels/adapters/discord-bot-thread-room.ts +73 -0
  14. package/src/channels/adapters/discord-bot.ts +9 -1
  15. package/src/channels/adapters/slack-bot-classify.ts +1 -0
  16. package/src/channels/adapters/slack-classify.ts +1 -0
  17. package/src/channels/engagement.ts +33 -0
  18. package/src/channels/router.ts +139 -19
  19. package/src/channels/types.ts +10 -0
  20. package/src/cli/command-meta.ts +2 -0
  21. package/src/cli/index.ts +1 -0
  22. package/src/cli/mcp.ts +233 -0
  23. package/src/hostd/daemon.ts +28 -9
  24. package/src/hostd/protocol.ts +12 -9
  25. package/src/mcp/client.ts +15 -5
  26. package/src/mcp/index.ts +12 -0
  27. package/src/mcp/manager.ts +9 -4
  28. package/src/mcp/oauth.ts +212 -0
  29. package/src/run/index.ts +15 -2
  30. package/src/sandbox/hidden-paths.ts +59 -0
  31. package/src/sandbox/index.ts +1 -1
  32. package/src/secrets/index.ts +1 -1
  33. package/src/secrets/schema.ts +13 -0
  34. package/src/secrets/secrets-provider.ts +2 -2
  35. package/src/secrets/storage.ts +108 -1
  36. package/src/skills/typeclaw-channel-github/SKILL.md +2 -2
  37. package/src/skills/typeclaw-troubleshooting/SKILL.md +1 -1
@@ -28,7 +28,7 @@ Two failure patterns show up over and over when an agent debugs inline, and both
28
28
 
29
29
  ## The hand-off: spawn operator in background
30
30
 
31
- Spawn `operator` with `run_in_background: true` so your session stays free, then keep talking to the user. Give operator everything it needs — it does **not** see this conversation, and it does **not** see this skill. Operator runs on a fixed tool set (`read`, `grep`, `find`, `ls`, `bash`, `write`, `edit`) with no skill loading, so any mechanic below that you want it to follow has to be spelled out in the `[REQUEST]` block — don't assume it knows the tmux/PID/polling patterns:
31
+ Spawn `operator` (background by default) so your session stays free, then keep talking to the user. Give operator everything it needs — it does **not** see this conversation, and it does **not** see this skill. Operator runs on a fixed tool set (`read`, `grep`, `find`, `ls`, `bash`, `write`, `edit`) with no skill loading, so any mechanic below that you want it to follow has to be spelled out in the `[REQUEST]` block — don't assume it knows the tmux/PID/polling patterns:
32
32
 
33
33
  ```
34
34
  [CONTEXT]: <what you were doing, the file/process/command involved, the environment>