samagotchi 0.92.0 → 0.93.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 +31 -1
- data/bin/chi +4 -4
- data/docs/architecture.md +4 -4
- data/docs/guardrails.md +4 -5
- data/docs/internals/engine.md +6 -0
- data/docs/sessions.md +1 -1
- data/docs/testing.md +2 -1
- data/lib/samagotchi/bootstrap/probe.rb +2 -2
- data/lib/samagotchi/bundles/system/manifest.yml +1 -1
- data/lib/samagotchi/child_reports.rb +12 -14
- data/lib/samagotchi/client_id.rb +18 -0
- data/lib/samagotchi/config/restart_watch.rb +112 -0
- data/lib/samagotchi/config.rb +18 -59
- data/lib/samagotchi/engine.rb +4 -14
- data/lib/samagotchi/guardrails/data_readers.rb +34 -30
- data/lib/samagotchi/guardrails/parent_levels.rb +31 -0
- data/lib/samagotchi/guardrails/parent_policy.rb +9 -20
- data/lib/samagotchi/guardrails/shell_lex.rb +28 -7
- data/lib/samagotchi/hook_question.rb +21 -0
- data/lib/samagotchi/hook_routes.rb +6 -6
- data/lib/samagotchi/hooks/registry.rb +5 -5
- data/lib/samagotchi/host_registry.rb +1 -1
- data/lib/samagotchi/llm/anthropic_messages.rb +5 -0
- data/lib/samagotchi/parent_answers_command.rb +6 -6
- data/lib/samagotchi/plugin/context.rb +6 -5
- data/lib/samagotchi/plugin/http_transport.rb +14 -3
- data/lib/samagotchi/plugin/sessions.rb +2 -3
- data/lib/samagotchi/question_desk.rb +12 -9
- data/lib/samagotchi/reply_wait/poll.rb +267 -0
- data/lib/samagotchi/reply_wait.rb +47 -190
- data/lib/samagotchi/send_command/parent_gate.rb +83 -0
- data/lib/samagotchi/send_command/wait_target.rb +55 -0
- data/lib/samagotchi/send_command.rb +31 -100
- data/lib/samagotchi/session.rb +10 -9
- data/lib/samagotchi/session_inbox.rb +31 -8
- data/lib/samagotchi/session_manager.rb +48 -15
- data/lib/samagotchi/session_metrics.rb +22 -3
- data/lib/samagotchi/sessions_command.rb +4 -4
- data/lib/samagotchi/terminal_ui/attached_loop.rb +3 -3
- data/lib/samagotchi/terminal_ui/formatting.rb +8 -5
- data/lib/samagotchi/testing/bundle.rb +1 -1
- data/lib/samagotchi/testing/host.rb +2 -8
- data/lib/samagotchi/testing/recorder.rb +6 -9
- data/lib/samagotchi/tools/delegate.rb +10 -10
- data/lib/samagotchi/tools/delegate_cursor.rb +32 -8
- data/lib/samagotchi/tools/delegate_relay.rb +31 -16
- data/lib/samagotchi/tools/delegate_wait.rb +4 -4
- data/lib/samagotchi/version.rb +1 -1
- data/lib/samagotchi/web/app.rb +46 -63
- data/lib/samagotchi/web/public/app.js +122 -556
- data/lib/samagotchi/web/public/index.html +1 -1
- data/lib/samagotchi/web/public/send_turn.js +173 -0
- data/lib/samagotchi/web/public/session_actions.js +203 -0
- data/lib/samagotchi/web/public/start_page.js +236 -0
- metadata +10 -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.93.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Dedov
|
|
@@ -279,6 +279,7 @@ files:
|
|
|
279
279
|
- lib/samagotchi/commands/registry.rb
|
|
280
280
|
- lib/samagotchi/composer_route.rb
|
|
281
281
|
- lib/samagotchi/config.rb
|
|
282
|
+
- lib/samagotchi/config/restart_watch.rb
|
|
282
283
|
- lib/samagotchi/config_text_edit.rb
|
|
283
284
|
- lib/samagotchi/context_absorber.rb
|
|
284
285
|
- lib/samagotchi/context_command.rb
|
|
@@ -334,6 +335,7 @@ files:
|
|
|
334
335
|
- lib/samagotchi/guardrails/model_size.rb
|
|
335
336
|
- lib/samagotchi/guardrails/outside.rb
|
|
336
337
|
- lib/samagotchi/guardrails/parent_approvals.rb
|
|
338
|
+
- lib/samagotchi/guardrails/parent_levels.rb
|
|
337
339
|
- lib/samagotchi/guardrails/parent_policy.rb
|
|
338
340
|
- lib/samagotchi/guardrails/protected_paths.rb
|
|
339
341
|
- lib/samagotchi/guardrails/read_only_shell.rb
|
|
@@ -346,6 +348,7 @@ files:
|
|
|
346
348
|
- lib/samagotchi/guardrails/shell_paths.rb
|
|
347
349
|
- lib/samagotchi/guardrails/targets.rb
|
|
348
350
|
- lib/samagotchi/guardrails/verdict.rb
|
|
351
|
+
- lib/samagotchi/hook_question.rb
|
|
349
352
|
- lib/samagotchi/hook_routes.rb
|
|
350
353
|
- lib/samagotchi/hooks.rb
|
|
351
354
|
- lib/samagotchi/hooks/bundle_loader.rb
|
|
@@ -493,11 +496,14 @@ files:
|
|
|
493
496
|
- lib/samagotchi/reminder_queue.rb
|
|
494
497
|
- lib/samagotchi/reminder_store.rb
|
|
495
498
|
- lib/samagotchi/reply_wait.rb
|
|
499
|
+
- lib/samagotchi/reply_wait/poll.rb
|
|
496
500
|
- lib/samagotchi/row_refs.rb
|
|
497
501
|
- lib/samagotchi/sampling_settings.rb
|
|
498
502
|
- lib/samagotchi/sandbox_layout.rb
|
|
499
503
|
- lib/samagotchi/self_report.rb
|
|
500
504
|
- lib/samagotchi/send_command.rb
|
|
505
|
+
- lib/samagotchi/send_command/parent_gate.rb
|
|
506
|
+
- lib/samagotchi/send_command/wait_target.rb
|
|
501
507
|
- lib/samagotchi/served_model.rb
|
|
502
508
|
- lib/samagotchi/session.rb
|
|
503
509
|
- lib/samagotchi/session_archive_command.rb
|
|
@@ -704,7 +710,9 @@ files:
|
|
|
704
710
|
- lib/samagotchi/web/public/route.js
|
|
705
711
|
- lib/samagotchi/web/public/scope.js
|
|
706
712
|
- lib/samagotchi/web/public/scroll.js
|
|
713
|
+
- lib/samagotchi/web/public/send_turn.js
|
|
707
714
|
- lib/samagotchi/web/public/sentences.js
|
|
715
|
+
- lib/samagotchi/web/public/session_actions.js
|
|
708
716
|
- lib/samagotchi/web/public/session_state.js
|
|
709
717
|
- lib/samagotchi/web/public/session_title.js
|
|
710
718
|
- lib/samagotchi/web/public/sessions_list.js
|
|
@@ -714,6 +722,7 @@ files:
|
|
|
714
722
|
- lib/samagotchi/web/public/stage_slots.js
|
|
715
723
|
- lib/samagotchi/web/public/stage_view.js
|
|
716
724
|
- lib/samagotchi/web/public/stage_watch.js
|
|
725
|
+
- lib/samagotchi/web/public/start_page.js
|
|
717
726
|
- lib/samagotchi/web/public/storage.js
|
|
718
727
|
- lib/samagotchi/web/public/stream_handlers.js
|
|
719
728
|
- lib/samagotchi/web/public/strip.js
|