samagotchi 0.194.0 → 0.196.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 +80 -1
- data/docs/architecture.md +2 -1
- data/docs/bundle-authoring.md +23 -23
- data/docs/bundles.md +201 -7
- data/docs/cli.md +5 -1
- data/docs/configuration.md +25 -4
- data/docs/context.md +13 -3
- data/docs/guardrails.md +6 -4
- data/docs/hooks.md +3 -1
- data/docs/internals/attached-context.md +2 -0
- data/docs/internals/block-renderers.md +4 -1
- data/docs/internals/bridge.md +4 -0
- data/docs/internals/engine.md +15 -2
- data/docs/internals/knowledge.md +215 -0
- data/docs/internals/pages.md +17 -9
- data/docs/internals/panes.md +51 -13
- data/docs/internals/participants.md +15 -3
- data/docs/internals/peers.md +14 -9
- data/docs/internals/session-lifecycle.md +26 -12
- data/docs/internals/web-frontend.md +64 -27
- data/docs/memory.md +4 -2
- data/docs/pages.md +72 -1
- data/docs/peers.md +25 -14
- data/docs/plugins.md +132 -6
- data/docs/releasing.md +1 -1
- data/docs/scheduling.md +4 -0
- data/docs/sessions.md +9 -2
- data/docs/system-one.md +3 -1
- data/docs/testing.md +3 -1
- data/lib/samagotchi/bundle_manifest.rb +30 -5
- data/lib/samagotchi/bundles/claude-peer/manifest.yml +8 -5
- data/lib/samagotchi/bundles/claude-peer/plugin.rb +2 -2
- data/lib/samagotchi/bundles/codex-peer/manifest.yml +8 -5
- data/lib/samagotchi/bundles/codex-peer/plugin.rb +3 -3
- data/lib/samagotchi/bundles/coordinator/manifest.yml +7 -4
- data/lib/samagotchi/bundles/coordinator/plugin.rb +15 -5
- data/lib/samagotchi/bundles/coordinator/skill_coordinator.md +10 -0
- data/lib/samagotchi/bundles/core/manifest.yml +2 -2
- data/lib/samagotchi/bundles/cost-cap/manifest.yml +4 -4
- data/lib/samagotchi/bundles/cost-cap/plugin.rb +54 -3
- data/lib/samagotchi/bundles/dev/manifest.yml +3 -2
- data/lib/samagotchi/bundles/github-pr/manifest.yml +4 -2
- data/lib/samagotchi/bundles/knowledge/adapters.rb +205 -0
- data/lib/samagotchi/bundles/knowledge/catalog.rb +151 -0
- data/lib/samagotchi/bundles/knowledge/chi_adapters.rb +178 -0
- data/lib/samagotchi/bundles/knowledge/chunker.rb +55 -0
- data/lib/samagotchi/bundles/knowledge/github.rb +246 -0
- data/lib/samagotchi/bundles/knowledge/manifest.yml +27 -0
- data/lib/samagotchi/bundles/knowledge/plugin.rb +807 -0
- data/lib/samagotchi/bundles/knowledge/query.rb +30 -0
- data/lib/samagotchi/bundles/knowledge/query_log.rb +55 -0
- data/lib/samagotchi/bundles/knowledge/refresh.rb +133 -0
- data/lib/samagotchi/bundles/knowledge/store.rb +264 -0
- data/lib/samagotchi/bundles/reflect/manifest.yml +17 -0
- data/lib/samagotchi/bundles/reflect/scripts/reflect.rb +439 -0
- data/lib/samagotchi/bundles/reflect/skill_reflect.md +100 -0
- data/lib/samagotchi/bundles/system/manifest.yml +1 -1
- data/lib/samagotchi/context_change.rb +44 -0
- data/lib/samagotchi/context_note.rb +1 -1
- data/lib/samagotchi/context_providers.rb +14 -0
- data/lib/samagotchi/context_sources.rb +3 -25
- data/lib/samagotchi/engine/plugins.rb +21 -0
- data/lib/samagotchi/events.rb +1 -0
- data/lib/samagotchi/guardrails/pair_boundary.rb +12 -4
- data/lib/samagotchi/guardrails/review_paths.rb +13 -3
- data/lib/samagotchi/guardrails/targets.rb +24 -2
- data/lib/samagotchi/guardrails_command.rb +3 -9
- data/lib/samagotchi/hook_label.rb +19 -0
- data/lib/samagotchi/hook_routes.rb +3 -2
- data/lib/samagotchi/installed_bundles/manifest.rb +7 -1
- data/lib/samagotchi/memory_bundle/builder.rb +2 -1
- data/lib/samagotchi/memory_bundle/installed_copy.rb +2 -1
- data/lib/samagotchi/page_command.rb +90 -6
- data/lib/samagotchi/pages/launch.rb +16 -8
- data/lib/samagotchi/pages/runner.rb +7 -2
- data/lib/samagotchi/pages/runtime.rb +62 -2
- data/lib/samagotchi/pages.rb +4 -0
- data/lib/samagotchi/panes/kitty.rb +20 -5
- data/lib/samagotchi/panes.rb +81 -12
- data/lib/samagotchi/participants.rb +17 -6
- data/lib/samagotchi/peer_exchanges.rb +1 -2
- data/lib/samagotchi/peer_note.rb +38 -5
- data/lib/samagotchi/peer_presence.rb +20 -7
- data/lib/samagotchi/plugin/api.rb +11 -1
- data/lib/samagotchi/plugin/attached_context.rb +46 -1
- data/lib/samagotchi/plugin/chips.rb +125 -0
- data/lib/samagotchi/plugin/context.rb +43 -8
- data/lib/samagotchi/plugin/panes.rb +52 -9
- data/lib/samagotchi/plugin/peer_pairing.rb +2 -2
- data/lib/samagotchi/plugin/peer_start.rb +61 -36
- data/lib/samagotchi/plugin/peers.rb +6 -3
- data/lib/samagotchi/plugin/project.rb +63 -0
- data/lib/samagotchi/plugin/sessions.rb +36 -1
- data/lib/samagotchi/plugin/tool_spec.rb +28 -9
- data/lib/samagotchi/schedules.rb +8 -2
- data/lib/samagotchi/session.rb +22 -9
- data/lib/samagotchi/session_access/local.rb +34 -33
- data/lib/samagotchi/session_chain/sharing.rb +79 -0
- data/lib/samagotchi/session_chain/successor.rb +4 -2
- data/lib/samagotchi/session_chips.rb +133 -0
- data/lib/samagotchi/session_inbox_delivery.rb +11 -11
- data/lib/samagotchi/session_manager/emptiness.rb +4 -1
- data/lib/samagotchi/session_observer.rb +1 -1
- data/lib/samagotchi/session_stats.rb +437 -0
- data/lib/samagotchi/session_stores.rb +3 -0
- data/lib/samagotchi/session_window.rb +30 -0
- data/lib/samagotchi/speaker.rb +228 -0
- data/lib/samagotchi/steer.rb +36 -132
- data/lib/samagotchi/system_one/approval_choice.rb +22 -0
- data/lib/samagotchi/system_one/approval_label.rb +4 -6
- data/lib/samagotchi/system_prompt.rb +3 -1
- data/lib/samagotchi/terminal_ui/attach_launcher.rb +30 -0
- data/lib/samagotchi/testing/boundary.rb +17 -4
- data/lib/samagotchi/testing/bundle.rb +5 -0
- data/lib/samagotchi/testing/host.rb +1 -0
- data/lib/samagotchi/testing/recorder.rb +10 -0
- data/lib/samagotchi/testing/sessions.rb +11 -3
- data/lib/samagotchi/toolkit.rb +11 -4
- data/lib/samagotchi/toolkit_report_command.rb +14 -18
- data/lib/samagotchi/toolkit_suggest.rb +9 -2
- data/lib/samagotchi/tools/registry.rb +48 -18
- data/lib/samagotchi/tools/tool_index.rb +6 -2
- data/lib/samagotchi/turn_excerpts.rb +302 -0
- data/lib/samagotchi/turn_stages/toolkit_suggestion.rb +9 -0
- data/lib/samagotchi/version.rb +1 -1
- data/lib/samagotchi/web/app.rb +21 -10
- data/lib/samagotchi/web/participant_view.rb +1 -1
- data/lib/samagotchi/web/peer_routes.rb +5 -2
- data/lib/samagotchi/web/plugin_chip_rows.rb +39 -0
- data/lib/samagotchi/web/public/agent_rows.js +1 -0
- data/lib/samagotchi/web/public/app.js +17 -25
- data/lib/samagotchi/web/public/chains.js +0 -26
- data/lib/samagotchi/web/public/command_list.js +2 -3
- data/lib/samagotchi/web/public/composer.js +2 -3
- data/lib/samagotchi/web/public/composer_mount.js +3 -6
- data/lib/samagotchi/web/public/context_chips.js +240 -93
- data/lib/samagotchi/web/public/context_groups.js +84 -0
- data/lib/samagotchi/web/public/draft_follow.js +33 -0
- data/lib/samagotchi/web/public/drafts.js +26 -22
- data/lib/samagotchi/web/public/index.html +32 -0
- data/lib/samagotchi/web/public/peer_chip_kind.js +49 -0
- data/lib/samagotchi/web/public/peer_note.js +2 -2
- data/lib/samagotchi/web/public/peer_row.js +10 -5
- data/lib/samagotchi/web/public/peer_wait.js +4 -2
- data/lib/samagotchi/web/public/plugin_chip.js +55 -0
- data/lib/samagotchi/web/public/plugin_chip_kind.js +48 -0
- data/lib/samagotchi/web/public/send_turn.js +8 -21
- data/lib/samagotchi/web/public/session_actions.js +10 -23
- data/lib/samagotchi/web/public/session_view.js +7 -3
- data/lib/samagotchi/web/public/stream_handlers.js +2 -0
- metadata +33 -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.196.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Dedov
|
|
@@ -162,6 +162,7 @@ files:
|
|
|
162
162
|
- docs/internals/engine.md
|
|
163
163
|
- docs/internals/gemma4-contract.md
|
|
164
164
|
- docs/internals/inline-widgets.md
|
|
165
|
+
- docs/internals/knowledge.md
|
|
165
166
|
- docs/internals/llm-context-bench.md
|
|
166
167
|
- docs/internals/llm-context-forget.md
|
|
167
168
|
- docs/internals/llm-context-live.md
|
|
@@ -286,6 +287,17 @@ files:
|
|
|
286
287
|
- lib/samagotchi/bundles/guardrails/manifest.yml
|
|
287
288
|
- lib/samagotchi/bundles/inline-widgets/manifest.yml
|
|
288
289
|
- lib/samagotchi/bundles/inline-widgets/plugin.rb
|
|
290
|
+
- lib/samagotchi/bundles/knowledge/adapters.rb
|
|
291
|
+
- lib/samagotchi/bundles/knowledge/catalog.rb
|
|
292
|
+
- lib/samagotchi/bundles/knowledge/chi_adapters.rb
|
|
293
|
+
- lib/samagotchi/bundles/knowledge/chunker.rb
|
|
294
|
+
- lib/samagotchi/bundles/knowledge/github.rb
|
|
295
|
+
- lib/samagotchi/bundles/knowledge/manifest.yml
|
|
296
|
+
- lib/samagotchi/bundles/knowledge/plugin.rb
|
|
297
|
+
- lib/samagotchi/bundles/knowledge/query.rb
|
|
298
|
+
- lib/samagotchi/bundles/knowledge/query_log.rb
|
|
299
|
+
- lib/samagotchi/bundles/knowledge/refresh.rb
|
|
300
|
+
- lib/samagotchi/bundles/knowledge/store.rb
|
|
289
301
|
- lib/samagotchi/bundles/known-names/known_names.md
|
|
290
302
|
- lib/samagotchi/bundles/known-names/manifest.yml
|
|
291
303
|
- lib/samagotchi/bundles/known-names/plugin.rb
|
|
@@ -304,6 +316,9 @@ files:
|
|
|
304
316
|
- lib/samagotchi/bundles/model-notes/model_notes_deepseek.md
|
|
305
317
|
- lib/samagotchi/bundles/model-notes/model_notes_tone.md
|
|
306
318
|
- lib/samagotchi/bundles/model-notes/notes/README.md
|
|
319
|
+
- lib/samagotchi/bundles/reflect/manifest.yml
|
|
320
|
+
- lib/samagotchi/bundles/reflect/scripts/reflect.rb
|
|
321
|
+
- lib/samagotchi/bundles/reflect/skill_reflect.md
|
|
307
322
|
- lib/samagotchi/bundles/ruby/manifest.yml
|
|
308
323
|
- lib/samagotchi/bundles/ruby/plugin.rb
|
|
309
324
|
- lib/samagotchi/bundles/schedules/manifest.yml
|
|
@@ -354,6 +369,7 @@ files:
|
|
|
354
369
|
- lib/samagotchi/context_candidate_choice.rb
|
|
355
370
|
- lib/samagotchi/context_candidates.rb
|
|
356
371
|
- lib/samagotchi/context_candidates_log.rb
|
|
372
|
+
- lib/samagotchi/context_change.rb
|
|
357
373
|
- lib/samagotchi/context_command.rb
|
|
358
374
|
- lib/samagotchi/context_fetch.rb
|
|
359
375
|
- lib/samagotchi/context_judge.rb
|
|
@@ -472,6 +488,7 @@ files:
|
|
|
472
488
|
- lib/samagotchi/home_command.rb
|
|
473
489
|
- lib/samagotchi/home_doctor.rb
|
|
474
490
|
- lib/samagotchi/home_notice.rb
|
|
491
|
+
- lib/samagotchi/hook_label.rb
|
|
475
492
|
- lib/samagotchi/hook_question.rb
|
|
476
493
|
- lib/samagotchi/hook_routes.rb
|
|
477
494
|
- lib/samagotchi/hooks.rb
|
|
@@ -659,6 +676,7 @@ files:
|
|
|
659
676
|
- lib/samagotchi/plugin/api.rb
|
|
660
677
|
- lib/samagotchi/plugin/attached_context.rb
|
|
661
678
|
- lib/samagotchi/plugin/card.rb
|
|
679
|
+
- lib/samagotchi/plugin/chips.rb
|
|
662
680
|
- lib/samagotchi/plugin/context.rb
|
|
663
681
|
- lib/samagotchi/plugin/http.rb
|
|
664
682
|
- lib/samagotchi/plugin/http_errors.rb
|
|
@@ -672,6 +690,7 @@ files:
|
|
|
672
690
|
- lib/samagotchi/plugin/peer_start.rb
|
|
673
691
|
- lib/samagotchi/plugin/peer_start_hook.rb
|
|
674
692
|
- lib/samagotchi/plugin/peers.rb
|
|
693
|
+
- lib/samagotchi/plugin/project.rb
|
|
675
694
|
- lib/samagotchi/plugin/prompt_sections.rb
|
|
676
695
|
- lib/samagotchi/plugin/secrets.rb
|
|
677
696
|
- lib/samagotchi/plugin/service.rb
|
|
@@ -774,7 +793,9 @@ files:
|
|
|
774
793
|
- lib/samagotchi/session_chain/delete.rb
|
|
775
794
|
- lib/samagotchi/session_chain/delete_preview.rb
|
|
776
795
|
- lib/samagotchi/session_chain/links.rb
|
|
796
|
+
- lib/samagotchi/session_chain/sharing.rb
|
|
777
797
|
- lib/samagotchi/session_chain/successor.rb
|
|
798
|
+
- lib/samagotchi/session_chips.rb
|
|
778
799
|
- lib/samagotchi/session_command_catalog.rb
|
|
779
800
|
- lib/samagotchi/session_commands.rb
|
|
780
801
|
- lib/samagotchi/session_config.rb
|
|
@@ -813,8 +834,10 @@ files:
|
|
|
813
834
|
- lib/samagotchi/session_row.rb
|
|
814
835
|
- lib/samagotchi/session_setting.rb
|
|
815
836
|
- lib/samagotchi/session_setup.rb
|
|
837
|
+
- lib/samagotchi/session_stats.rb
|
|
816
838
|
- lib/samagotchi/session_stores.rb
|
|
817
839
|
- lib/samagotchi/session_transition.rb
|
|
840
|
+
- lib/samagotchi/session_window.rb
|
|
818
841
|
- lib/samagotchi/sessions_command.rb
|
|
819
842
|
- lib/samagotchi/setting_explained.rb
|
|
820
843
|
- lib/samagotchi/share_command.rb
|
|
@@ -822,6 +845,7 @@ files:
|
|
|
822
845
|
- lib/samagotchi/side_judgments.rb
|
|
823
846
|
- lib/samagotchi/side_usage.rb
|
|
824
847
|
- lib/samagotchi/spawn_env.rb
|
|
848
|
+
- lib/samagotchi/speaker.rb
|
|
825
849
|
- lib/samagotchi/starting_marker.rb
|
|
826
850
|
- lib/samagotchi/state_format.rb
|
|
827
851
|
- lib/samagotchi/steer.rb
|
|
@@ -830,6 +854,7 @@ files:
|
|
|
830
854
|
- lib/samagotchi/stream_event.rb
|
|
831
855
|
- lib/samagotchi/system_one.rb
|
|
832
856
|
- lib/samagotchi/system_one/answer.rb
|
|
857
|
+
- lib/samagotchi/system_one/approval_choice.rb
|
|
833
858
|
- lib/samagotchi/system_one/approval_label.rb
|
|
834
859
|
- lib/samagotchi/system_one/approval_question.rb
|
|
835
860
|
- lib/samagotchi/system_one/client.rb
|
|
@@ -983,6 +1008,7 @@ files:
|
|
|
983
1008
|
- lib/samagotchi/turn_checkpoint.rb
|
|
984
1009
|
- lib/samagotchi/turn_context.rb
|
|
985
1010
|
- lib/samagotchi/turn_endings.rb
|
|
1011
|
+
- lib/samagotchi/turn_excerpts.rb
|
|
986
1012
|
- lib/samagotchi/turn_flow.rb
|
|
987
1013
|
- lib/samagotchi/turn_note.rb
|
|
988
1014
|
- lib/samagotchi/turn_origin.rb
|
|
@@ -1034,6 +1060,7 @@ files:
|
|
|
1034
1060
|
- lib/samagotchi/web/participant_view.rb
|
|
1035
1061
|
- lib/samagotchi/web/participants_admin.rb
|
|
1036
1062
|
- lib/samagotchi/web/peer_routes.rb
|
|
1063
|
+
- lib/samagotchi/web/plugin_chip_rows.rb
|
|
1037
1064
|
- lib/samagotchi/web/principal.rb
|
|
1038
1065
|
- lib/samagotchi/web/project_list.rb
|
|
1039
1066
|
- lib/samagotchi/web/proxy_gate.rb
|
|
@@ -1084,6 +1111,7 @@ files:
|
|
|
1084
1111
|
- lib/samagotchi/web/public/composer_mount.js
|
|
1085
1112
|
- lib/samagotchi/web/public/composer_size.js
|
|
1086
1113
|
- lib/samagotchi/web/public/context_chips.js
|
|
1114
|
+
- lib/samagotchi/web/public/context_groups.js
|
|
1087
1115
|
- lib/samagotchi/web/public/copy.js
|
|
1088
1116
|
- lib/samagotchi/web/public/ctx.js
|
|
1089
1117
|
- lib/samagotchi/web/public/ctx_tokens.js
|
|
@@ -1094,6 +1122,7 @@ files:
|
|
|
1094
1122
|
- lib/samagotchi/web/public/diagram_wiring.js
|
|
1095
1123
|
- lib/samagotchi/web/public/diff_view.js
|
|
1096
1124
|
- lib/samagotchi/web/public/dock_reserve.js
|
|
1125
|
+
- lib/samagotchi/web/public/draft_follow.js
|
|
1097
1126
|
- lib/samagotchi/web/public/draft_keys.js
|
|
1098
1127
|
- lib/samagotchi/web/public/drafts.js
|
|
1099
1128
|
- lib/samagotchi/web/public/families_view.js
|
|
@@ -1163,6 +1192,7 @@ files:
|
|
|
1163
1192
|
- lib/samagotchi/web/public/participant_revise.js
|
|
1164
1193
|
- lib/samagotchi/web/public/participants_panel.js
|
|
1165
1194
|
- lib/samagotchi/web/public/peer_chip.js
|
|
1195
|
+
- lib/samagotchi/web/public/peer_chip_kind.js
|
|
1166
1196
|
- lib/samagotchi/web/public/peer_data.js
|
|
1167
1197
|
- lib/samagotchi/web/public/peer_exchange.js
|
|
1168
1198
|
- lib/samagotchi/web/public/peer_links.js
|
|
@@ -1174,6 +1204,8 @@ files:
|
|
|
1174
1204
|
- lib/samagotchi/web/public/picture_regions.js
|
|
1175
1205
|
- lib/samagotchi/web/public/picture_viewer.js
|
|
1176
1206
|
- lib/samagotchi/web/public/plain_line.js
|
|
1207
|
+
- lib/samagotchi/web/public/plugin_chip.js
|
|
1208
|
+
- lib/samagotchi/web/public/plugin_chip_kind.js
|
|
1177
1209
|
- lib/samagotchi/web/public/popover_modal.js
|
|
1178
1210
|
- lib/samagotchi/web/public/project_picker.js
|
|
1179
1211
|
- lib/samagotchi/web/public/prompt_history.js
|