samagotchi 0.107.0 → 0.108.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 +37 -1
- data/docs/architecture.md +3 -2
- data/docs/internals/engine.md +17 -6
- data/docs/internals/participants.md +5 -2
- data/docs/internals/working-set.md +2 -1
- data/docs/memory.md +20 -0
- data/docs/plugins.md +9 -2
- data/docs/releasing.md +11 -6
- data/docs/sessions.md +3 -3
- data/docs/sub-agent.md +1 -1
- data/docs/testing.md +5 -1
- data/lib/samagotchi/bridge/turn_accumulator.rb +3 -2
- data/lib/samagotchi/bridge.rb +3 -2
- data/lib/samagotchi/bundles/cost-cap/manifest.yml +2 -2
- data/lib/samagotchi/bundles/cost-cap/plugin.rb +51 -9
- data/lib/samagotchi/bundles/system/manifest.yml +2 -2
- data/lib/samagotchi/bundles/system/memory_guide.md +1 -1
- data/lib/samagotchi/bundles/work-cap/manifest.yml +2 -2
- data/lib/samagotchi/bundles/work-cap/plugin.rb +50 -14
- data/lib/samagotchi/child_reports.rb +2 -1
- data/lib/samagotchi/cli/parent_wait.rb +1 -1
- data/lib/samagotchi/context_sources.rb +1 -6
- data/lib/samagotchi/continue_offer.rb +8 -6
- data/lib/samagotchi/engine.rb +36 -25
- data/lib/samagotchi/guardrail_wiring.rb +9 -6
- data/lib/samagotchi/idle_scheduler.rb +17 -2
- data/lib/samagotchi/last_turn.rb +7 -0
- data/lib/samagotchi/log_subscriber.rb +2 -1
- data/lib/samagotchi/memory_orphans.rb +74 -0
- data/lib/samagotchi/memory_paths.rb +4 -4
- data/lib/samagotchi/parent_report.rb +11 -3
- data/lib/samagotchi/reply_wait.rb +7 -2
- data/lib/samagotchi/send_command/busy.rb +5 -2
- data/lib/samagotchi/send_command/wait_target.rb +16 -11
- data/lib/samagotchi/session_inbox.rb +12 -8
- data/lib/samagotchi/session_metrics.rb +7 -6
- data/lib/samagotchi/session_participants.rb +3 -1
- data/lib/samagotchi/steer.rb +11 -1
- data/lib/samagotchi/terminal_ui/attached_loop.rb +30 -26
- data/lib/samagotchi/terminal_ui/formatting.rb +2 -2
- data/lib/samagotchi/terminal_ui/one_shot_sink.rb +5 -1
- data/lib/samagotchi/tools/memory.rb +16 -9
- data/lib/samagotchi/turn_origin.rb +68 -0
- data/lib/samagotchi/version.rb +1 -1
- data/lib/samagotchi/web/app.rb +2 -0
- data/lib/samagotchi/web/grants.rb +2 -1
- data/lib/samagotchi/web/participant_access.rb +6 -116
- data/lib/samagotchi/web/participant_view.rb +7 -13
- data/lib/samagotchi/web/participants_admin.rb +129 -0
- data/lib/samagotchi/web/public/participant.js +2 -2
- data/lib/samagotchi/web/public/participant_model.js +5 -0
- data/lib/samagotchi/web/public/participant_names.js +2 -2
- data/lib/samagotchi/web/public/participants_panel.js +2 -2
- data/lib/samagotchi/worker.rb +30 -25
- data/lib/samagotchi/worker_inbound.rb +12 -9
- data/lib/samagotchi/working_set.rb +3 -2
- metadata +4 -1
|
@@ -94,8 +94,9 @@ module Samagotchi
|
|
|
94
94
|
# A stale stub that an edit (not a later read) made: the model wrote
|
|
95
95
|
# the file, so what it has of it is still current (llm_context.stale_edits).
|
|
96
96
|
BY_EDIT = /superseded by a later (?:edit|write)\z/
|
|
97
|
-
# A partial memory_read's last part (Tools::MemoryRead.call)
|
|
98
|
-
|
|
97
|
+
# A partial memory_read's last part (Tools::MemoryRead.call): its first
|
|
98
|
+
# line only, since an orphaned-folder hint may follow on the next.
|
|
99
|
+
MISSING = /\AError: memory not found: ([^\n]*)/
|
|
99
100
|
|
|
100
101
|
# What one paired run touched: its item's identity and op, whether its
|
|
101
102
|
# output is content, its stored and sent texts, its stamp.
|
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.108.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Dedov
|
|
@@ -446,6 +446,7 @@ files:
|
|
|
446
446
|
- lib/samagotchi/memory_bundle/trash.rb
|
|
447
447
|
- lib/samagotchi/memory_bundle/uninstaller.rb
|
|
448
448
|
- lib/samagotchi/memory_command.rb
|
|
449
|
+
- lib/samagotchi/memory_orphans.rb
|
|
449
450
|
- lib/samagotchi/memory_paths.rb
|
|
450
451
|
- lib/samagotchi/message_parts.rb
|
|
451
452
|
- lib/samagotchi/model_catalog.rb
|
|
@@ -679,6 +680,7 @@ files:
|
|
|
679
680
|
- lib/samagotchi/turn_checkpoint.rb
|
|
680
681
|
- lib/samagotchi/turn_flow.rb
|
|
681
682
|
- lib/samagotchi/turn_note.rb
|
|
683
|
+
- lib/samagotchi/turn_origin.rb
|
|
682
684
|
- lib/samagotchi/turn_state.rb
|
|
683
685
|
- lib/samagotchi/turn_tally.rb
|
|
684
686
|
- lib/samagotchi/update_command.rb
|
|
@@ -700,6 +702,7 @@ files:
|
|
|
700
702
|
- lib/samagotchi/web/participant_review.rb
|
|
701
703
|
- lib/samagotchi/web/participant_stream_filter.rb
|
|
702
704
|
- lib/samagotchi/web/participant_view.rb
|
|
705
|
+
- lib/samagotchi/web/participants_admin.rb
|
|
703
706
|
- lib/samagotchi/web/principal.rb
|
|
704
707
|
- lib/samagotchi/web/public/activity.js
|
|
705
708
|
- lib/samagotchi/web/public/annotate_actions.js
|