samagotchi 0.69.0 → 0.70.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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -1
  3. data/docs/configuration.md +3 -2
  4. data/docs/context.md +15 -6
  5. data/docs/hooks.md +1 -1
  6. data/docs/internals/background-tasks.md +1 -1
  7. data/docs/internals/engine.md +10 -5
  8. data/docs/internals/tool-guardrails.md +61 -1
  9. data/docs/plugins.md +24 -19
  10. data/docs/sessions.md +2 -2
  11. data/docs/sub-agent.md +2 -1
  12. data/docs/testing.md +1 -0
  13. data/lib/samagotchi/bridge/turn_accumulator.rb +2 -1
  14. data/lib/samagotchi/bundles/claude-peer/manifest.yml +10 -8
  15. data/lib/samagotchi/bundles/claude-peer/plugin.rb +4 -4
  16. data/lib/samagotchi/bundles/claude-peer/scripts/chi-peer-SKILL.md +6 -6
  17. data/lib/samagotchi/bundles/claude-peer/scripts/pair +3 -3
  18. data/lib/samagotchi/bundles/claude-peer/skill_claude_peer.md +6 -5
  19. data/lib/samagotchi/bundles/codex-peer/manifest.yml +10 -8
  20. data/lib/samagotchi/bundles/codex-peer/plugin.rb +4 -4
  21. data/lib/samagotchi/bundles/codex-peer/scripts/chi-peer-SKILL.md +6 -6
  22. data/lib/samagotchi/bundles/codex-peer/scripts/pair +3 -3
  23. data/lib/samagotchi/bundles/codex-peer/skill_codex_peer.md +6 -5
  24. data/lib/samagotchi/bundles/system/manifest.yml +1 -1
  25. data/lib/samagotchi/config.rb +6 -2
  26. data/lib/samagotchi/context_absorber.rb +35 -21
  27. data/lib/samagotchi/engine.rb +2 -0
  28. data/lib/samagotchi/kernel_loop.rb +10 -0
  29. data/lib/samagotchi/llm_context_stale.rb +2 -2
  30. data/lib/samagotchi/log_subscriber.rb +1 -0
  31. data/lib/samagotchi/peer_sources.rb +1 -1
  32. data/lib/samagotchi/plugin/api.rb +3 -2
  33. data/lib/samagotchi/plugin/peer.rb +35 -16
  34. data/lib/samagotchi/tool_output_cut.rb +312 -0
  35. data/lib/samagotchi/tool_output_files.rb +73 -0
  36. data/lib/samagotchi/tool_runner.rb +46 -12
  37. data/lib/samagotchi/tools/delegate.rb +4 -1
  38. data/lib/samagotchi/tools/delegate_wait.rb +12 -1
  39. data/lib/samagotchi/tools/ref_text.rb +27 -0
  40. data/lib/samagotchi/tools/task_wait.rb +4 -1
  41. data/lib/samagotchi/version.rb +1 -1
  42. data/lib/samagotchi/web/message_parts.rb +4 -2
  43. data/lib/samagotchi/worker.rb +2 -2
  44. data/lib/samagotchi/worker_inbound.rb +3 -0
  45. metadata +4 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samagotchi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.70.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Dedov
@@ -504,6 +504,8 @@ files:
504
504
  - lib/samagotchi/tool_call_parser.rb
505
505
  - lib/samagotchi/tool_declarations.rb
506
506
  - lib/samagotchi/tool_ids.rb
507
+ - lib/samagotchi/tool_output_cut.rb
508
+ - lib/samagotchi/tool_output_files.rb
507
509
  - lib/samagotchi/tool_response.rb
508
510
  - lib/samagotchi/tool_row_fields.rb
509
511
  - lib/samagotchi/tool_runner.rb
@@ -531,6 +533,7 @@ files:
531
533
  - lib/samagotchi/tools/output_guardrails.rb
532
534
  - lib/samagotchi/tools/peers.rb
533
535
  - lib/samagotchi/tools/read.rb
536
+ - lib/samagotchi/tools/ref_text.rb
534
537
  - lib/samagotchi/tools/register_reminder.rb
535
538
  - lib/samagotchi/tools/registry.rb
536
539
  - lib/samagotchi/tools/send_note.rb