samagotchi 0.91.0 → 0.92.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +58 -1
- data/README.md +5 -2
- data/bin/chi +4 -4
- data/docs/architecture.md +16 -12
- data/docs/bundle-authoring.md +2 -1
- data/docs/cli.md +5 -5
- data/docs/configuration.md +3 -1
- data/docs/context.md +5 -3
- data/docs/hooks.md +3 -3
- data/docs/internals/background-tasks.md +2 -2
- data/docs/internals/bundles.md +4 -4
- data/docs/internals/engine.md +21 -8
- data/docs/internals/tool-guardrails.md +10 -2
- data/docs/memory.md +6 -0
- data/docs/plugins.md +30 -13
- data/docs/releasing.md +3 -0
- data/docs/sessions.md +3 -3
- data/lib/samagotchi/bridge.rb +8 -9
- data/lib/samagotchi/bundle_command/check.rb +43 -12
- data/lib/samagotchi/bundle_command/scaffold.rb +12 -0
- data/lib/samagotchi/bundle_command/test_run.rb +12 -0
- data/lib/samagotchi/bundle_command/try/command.rb +164 -0
- data/lib/samagotchi/bundle_command/try/render.rb +80 -0
- data/lib/samagotchi/bundle_command/try/run.rb +35 -17
- data/lib/samagotchi/bundle_command/try/sandbox.rb +113 -34
- data/lib/samagotchi/bundle_command/try/trace.rb +20 -26
- data/lib/samagotchi/bundle_command.rb +11 -213
- data/lib/samagotchi/bundle_session_settings.rb +82 -45
- data/lib/samagotchi/bundles/core/manifest.yml +2 -2
- data/lib/samagotchi/bundles/cost-cap/manifest.yml +6 -5
- data/lib/samagotchi/bundles/cost-cap/plugin.rb +57 -12
- data/lib/samagotchi/bundles/system/manifest.yml +1 -1
- data/lib/samagotchi/child_env.rb +50 -0
- data/lib/samagotchi/engine.rb +22 -12
- data/lib/samagotchi/hooks/registry.rb +2 -0
- data/lib/samagotchi/kernel_loop.rb +14 -3
- data/lib/samagotchi/llm/chat_loop.rb +3 -1
- data/lib/samagotchi/llm/errors.rb +4 -4
- data/lib/samagotchi/memory_bundle/builder.rb +3 -2
- data/lib/samagotchi/memory_bundle/installed_bundle.rb +7 -2
- data/lib/samagotchi/memory_bundle/installer.rb +1 -0
- data/lib/samagotchi/memory_bundle/manifest.rb +42 -8
- data/lib/samagotchi/memory_bundle/provenance.rb +2 -1
- data/lib/samagotchi/parent_report.rb +12 -0
- data/lib/samagotchi/reply_wait.rb +6 -2
- data/lib/samagotchi/sandbox_layout.rb +66 -0
- data/lib/samagotchi/send_command.rb +3 -3
- data/lib/samagotchi/session_manager.rb +12 -20
- data/lib/samagotchi/task_watch.rb +64 -21
- data/lib/samagotchi/testing/bundle.rb +32 -19
- data/lib/samagotchi/testing/install.rb +26 -17
- data/lib/samagotchi/testing/sandbox.rb +45 -37
- data/lib/samagotchi/testing/waiting.rb +5 -7
- data/lib/samagotchi/tool_response.rb +28 -6
- data/lib/samagotchi/tools/task_runtime.rb +2 -2
- data/lib/samagotchi/turn_checkpoint.rb +23 -10
- data/lib/samagotchi/version.rb +1 -1
- data/lib/samagotchi/web/public/app.js +24 -14
- data/lib/samagotchi/web/public/cards_place.js +4 -1
- data/lib/samagotchi/web/public/images.js +6 -0
- data/lib/samagotchi/web/public/model_pick.js +10 -0
- data/lib/samagotchi/web/public/toasts.js +17 -9
- data/lib/samagotchi/web/public/unqueue.js +20 -4
- data/lib/samagotchi/worker.rb +77 -185
- data/lib/samagotchi/worker_idle_exit.rb +20 -5
- data/lib/samagotchi/worker_inbound.rb +5 -5
- data/lib/samagotchi/worker_task_wakes.rb +160 -0
- data/lib/samagotchi/worker_wakes.rb +0 -3
- metadata +6 -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.
|
|
4
|
+
version: 0.92.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Dedov
|
|
@@ -204,6 +204,8 @@ files:
|
|
|
204
204
|
- lib/samagotchi/bundle_command/check.rb
|
|
205
205
|
- lib/samagotchi/bundle_command/scaffold.rb
|
|
206
206
|
- lib/samagotchi/bundle_command/test_run.rb
|
|
207
|
+
- lib/samagotchi/bundle_command/try/command.rb
|
|
208
|
+
- lib/samagotchi/bundle_command/try/render.rb
|
|
207
209
|
- lib/samagotchi/bundle_command/try/run.rb
|
|
208
210
|
- lib/samagotchi/bundle_command/try/sandbox.rb
|
|
209
211
|
- lib/samagotchi/bundle_command/try/trace.rb
|
|
@@ -263,6 +265,7 @@ files:
|
|
|
263
265
|
- lib/samagotchi/bundles/system/self_map.md
|
|
264
266
|
- lib/samagotchi/cache_confirm.rb
|
|
265
267
|
- lib/samagotchi/cancellation_controller.rb
|
|
268
|
+
- lib/samagotchi/child_env.rb
|
|
266
269
|
- lib/samagotchi/child_move.rb
|
|
267
270
|
- lib/samagotchi/child_reports.rb
|
|
268
271
|
- lib/samagotchi/children_status.rb
|
|
@@ -492,6 +495,7 @@ files:
|
|
|
492
495
|
- lib/samagotchi/reply_wait.rb
|
|
493
496
|
- lib/samagotchi/row_refs.rb
|
|
494
497
|
- lib/samagotchi/sampling_settings.rb
|
|
498
|
+
- lib/samagotchi/sandbox_layout.rb
|
|
495
499
|
- lib/samagotchi/self_report.rb
|
|
496
500
|
- lib/samagotchi/send_command.rb
|
|
497
501
|
- lib/samagotchi/served_model.rb
|
|
@@ -743,6 +747,7 @@ files:
|
|
|
743
747
|
- lib/samagotchi/worker_inbound.rb
|
|
744
748
|
- lib/samagotchi/worker_sidecar.rb
|
|
745
749
|
- lib/samagotchi/worker_signals.rb
|
|
750
|
+
- lib/samagotchi/worker_task_wakes.rb
|
|
746
751
|
- lib/samagotchi/worker_wakes.rb
|
|
747
752
|
- lib/samagotchi/yaml_lines.rb
|
|
748
753
|
homepage: https://github.com/dm1try/samagotchi
|