samagotchi 0.81.0 → 0.83.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 (40) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -1
  3. data/README.md +2 -2
  4. data/docs/architecture.md +3 -0
  5. data/docs/cli.md +1 -1
  6. data/docs/configuration.md +54 -10
  7. data/docs/hooks.md +1 -1
  8. data/docs/memory.md +1 -1
  9. data/docs/plugins.md +58 -1
  10. data/docs/releasing.md +1 -1
  11. data/docs/sessions.md +2 -1
  12. data/docs/sub-agent.md +23 -8
  13. data/lib/samagotchi/bundles/core/manifest.yml +4 -2
  14. data/lib/samagotchi/bundles/cost-cap/manifest.yml +11 -0
  15. data/lib/samagotchi/bundles/cost-cap/plugin.rb +228 -0
  16. data/lib/samagotchi/bundles/system/manifest.yml +1 -1
  17. data/lib/samagotchi/child_reports.rb +25 -8
  18. data/lib/samagotchi/cli/parent_wait.rb +9 -3
  19. data/lib/samagotchi/engine.rb +3 -2
  20. data/lib/samagotchi/guardrails/rm_targets.rb +4 -2
  21. data/lib/samagotchi/guardrails/shell_paths.rb +5 -3
  22. data/lib/samagotchi/idle_client.rb +2 -7
  23. data/lib/samagotchi/llm/http.rb +7 -2
  24. data/lib/samagotchi/parent_report.rb +7 -3
  25. data/lib/samagotchi/plugin/context.rb +8 -1
  26. data/lib/samagotchi/reply_wait.rb +66 -2
  27. data/lib/samagotchi/send_command.rb +47 -8
  28. data/lib/samagotchi/session_metrics/cost.rb +37 -0
  29. data/lib/samagotchi/session_metrics/side_totals.rb +16 -9
  30. data/lib/samagotchi/session_metrics.rb +12 -0
  31. data/lib/samagotchi/testing/boundary.rb +15 -0
  32. data/lib/samagotchi/testing/bundle.rb +35 -9
  33. data/lib/samagotchi/testing/host.rb +26 -1
  34. data/lib/samagotchi/testing/recorder.rb +4 -1
  35. data/lib/samagotchi/tools/delegate_cursor.rb +45 -7
  36. data/lib/samagotchi/tools/delegate_wait.rb +40 -6
  37. data/lib/samagotchi/version.rb +1 -1
  38. data/lib/samagotchi/web/public/app.js +3 -1
  39. data/lib/samagotchi/web/public/question_cards.js +10 -5
  40. 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.81.0
4
+ version: 0.83.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Dedov
@@ -200,6 +200,8 @@ files:
200
200
  - lib/samagotchi/bundles/coordinator/plugin.rb
201
201
  - lib/samagotchi/bundles/coordinator/skill_coordinator.md
202
202
  - lib/samagotchi/bundles/core/manifest.yml
203
+ - lib/samagotchi/bundles/cost-cap/manifest.yml
204
+ - lib/samagotchi/bundles/cost-cap/plugin.rb
203
205
  - lib/samagotchi/bundles/dev/manifest.yml
204
206
  - lib/samagotchi/bundles/github-pr/manifest.yml
205
207
  - lib/samagotchi/bundles/github-pr/plugin.rb
@@ -469,6 +471,7 @@ files:
469
471
  - lib/samagotchi/session_inbox.rb
470
472
  - lib/samagotchi/session_manager.rb
471
473
  - lib/samagotchi/session_metrics.rb
474
+ - lib/samagotchi/session_metrics/cost.rb
472
475
  - lib/samagotchi/session_metrics/model_segment.rb
473
476
  - lib/samagotchi/session_metrics/side_totals.rb
474
477
  - lib/samagotchi/session_metrics/totals.rb