samagotchi 0.33.0 → 0.34.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 +47 -1
- data/README.md +4 -1
- data/docs/context.md +5 -0
- data/docs/guardrails.md +31 -1
- data/docs/hooks.md +1 -1
- data/docs/memory.md +17 -1
- data/docs/plugins.md +77 -2
- data/docs/releasing.md +1 -1
- data/docs/sessions.md +9 -3
- data/lib/samagotchi/bundles/coordinator/manifest.yml +14 -0
- data/lib/samagotchi/bundles/coordinator/plugin.rb +114 -0
- data/lib/samagotchi/bundles/coordinator/skill_coordinator.md +60 -0
- data/lib/samagotchi/bundles/dev/manifest.yml +3 -2
- data/lib/samagotchi/bundles/mcp/manifest.yml +3 -3
- data/lib/samagotchi/bundles/mcp/plugin.rb +10 -11
- data/lib/samagotchi/bundles/system/delegated.md +1 -1
- data/lib/samagotchi/bundles/system/manifest.yml +4 -4
- data/lib/samagotchi/bundles/system/memory_guide.md +1 -1
- data/lib/samagotchi/bundles/system/self_map.md +4 -2
- data/lib/samagotchi/children_status.rb +157 -0
- data/lib/samagotchi/cut_policy.rb +58 -0
- data/lib/samagotchi/engine.rb +16 -103
- data/lib/samagotchi/engine_peers.rb +30 -0
- data/lib/samagotchi/guardrail_wiring.rb +27 -2
- data/lib/samagotchi/guardrails/approvals.rb +7 -0
- data/lib/samagotchi/guardrails/child_boundary.rb +103 -0
- data/lib/samagotchi/guardrails/context.rb +32 -0
- data/lib/samagotchi/guardrails/shared_git.rb +124 -0
- data/lib/samagotchi/guardrails.rb +1 -0
- data/lib/samagotchi/kernel_loop.rb +9 -22
- data/lib/samagotchi/llm/chat_loop.rb +11 -22
- data/lib/samagotchi/memory_bundle/builder.rb +14 -1
- data/lib/samagotchi/memory_bundle/installer.rb +6 -2
- data/lib/samagotchi/memory_bundle/manifest.rb +26 -5
- data/lib/samagotchi/memory_bundle/provenance.rb +2 -1
- data/lib/samagotchi/memory_paths.rb +10 -0
- data/lib/samagotchi/plugin/api.rb +2 -2
- data/lib/samagotchi/plugin/sessions.rb +45 -1
- data/lib/samagotchi/process_group.rb +2 -5
- data/lib/samagotchi/steer_cut.rb +125 -0
- data/lib/samagotchi/system_prompt.rb +20 -8
- data/lib/samagotchi/tool_declarations.rb +9 -5
- data/lib/samagotchi/tools/builtins.rb +2 -2
- data/lib/samagotchi/tools/delegate.rb +103 -14
- data/lib/samagotchi/tools/delegate_wait.rb +55 -13
- data/lib/samagotchi/turn_note.rb +9 -1
- data/lib/samagotchi/version.rb +1 -1
- data/lib/samagotchi/worker.rb +7 -2
- 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.34.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Dedov
|
|
@@ -169,6 +169,9 @@ files:
|
|
|
169
169
|
- lib/samagotchi/bundles/btw/plugin.rb
|
|
170
170
|
- lib/samagotchi/bundles/check-in/manifest.yml
|
|
171
171
|
- lib/samagotchi/bundles/check-in/plugin.rb
|
|
172
|
+
- lib/samagotchi/bundles/coordinator/manifest.yml
|
|
173
|
+
- lib/samagotchi/bundles/coordinator/plugin.rb
|
|
174
|
+
- lib/samagotchi/bundles/coordinator/skill_coordinator.md
|
|
172
175
|
- lib/samagotchi/bundles/core/manifest.yml
|
|
173
176
|
- lib/samagotchi/bundles/dev/manifest.yml
|
|
174
177
|
- lib/samagotchi/bundles/github-pr/manifest.yml
|
|
@@ -198,6 +201,7 @@ files:
|
|
|
198
201
|
- lib/samagotchi/bundles/system/self_map.md
|
|
199
202
|
- lib/samagotchi/cancellation_controller.rb
|
|
200
203
|
- lib/samagotchi/child_reports.rb
|
|
204
|
+
- lib/samagotchi/children_status.rb
|
|
201
205
|
- lib/samagotchi/cli/command.rb
|
|
202
206
|
- lib/samagotchi/cli/exit.rb
|
|
203
207
|
- lib/samagotchi/cli/flags.rb
|
|
@@ -220,6 +224,7 @@ files:
|
|
|
220
224
|
- lib/samagotchi/context_usage.rb
|
|
221
225
|
- lib/samagotchi/context_window.rb
|
|
222
226
|
- lib/samagotchi/continue_offer.rb
|
|
227
|
+
- lib/samagotchi/cut_policy.rb
|
|
223
228
|
- lib/samagotchi/debug_log.rb
|
|
224
229
|
- lib/samagotchi/desktop.rb
|
|
225
230
|
- lib/samagotchi/desktop/macos.rb
|
|
@@ -236,6 +241,7 @@ files:
|
|
|
236
241
|
- lib/samagotchi/edit_preview.rb
|
|
237
242
|
- lib/samagotchi/empty_answer_retry.rb
|
|
238
243
|
- lib/samagotchi/engine.rb
|
|
244
|
+
- lib/samagotchi/engine_peers.rb
|
|
239
245
|
- lib/samagotchi/events.rb
|
|
240
246
|
- lib/samagotchi/gem_update.rb
|
|
241
247
|
- lib/samagotchi/generation_phase.rb
|
|
@@ -243,6 +249,7 @@ files:
|
|
|
243
249
|
- lib/samagotchi/guardrails.rb
|
|
244
250
|
- lib/samagotchi/guardrails/approval.rb
|
|
245
251
|
- lib/samagotchi/guardrails/approvals.rb
|
|
252
|
+
- lib/samagotchi/guardrails/child_boundary.rb
|
|
246
253
|
- lib/samagotchi/guardrails/context.rb
|
|
247
254
|
- lib/samagotchi/guardrails/gate.rb
|
|
248
255
|
- lib/samagotchi/guardrails/load_failures.rb
|
|
@@ -255,6 +262,7 @@ files:
|
|
|
255
262
|
- lib/samagotchi/guardrails/rm_targets.rb
|
|
256
263
|
- lib/samagotchi/guardrails/rules.rb
|
|
257
264
|
- lib/samagotchi/guardrails/scratch_writes.rb
|
|
265
|
+
- lib/samagotchi/guardrails/shared_git.rb
|
|
258
266
|
- lib/samagotchi/guardrails/shell_git_dirs.rb
|
|
259
267
|
- lib/samagotchi/guardrails/shell_lex.rb
|
|
260
268
|
- lib/samagotchi/guardrails/shell_paths.rb
|
|
@@ -366,6 +374,7 @@ files:
|
|
|
366
374
|
- lib/samagotchi/session_retention.rb
|
|
367
375
|
- lib/samagotchi/sessions_command.rb
|
|
368
376
|
- lib/samagotchi/steer.rb
|
|
377
|
+
- lib/samagotchi/steer_cut.rb
|
|
369
378
|
- lib/samagotchi/system_prompt.rb
|
|
370
379
|
- lib/samagotchi/terminal_ui.rb
|
|
371
380
|
- lib/samagotchi/terminal_ui/attach_launcher.rb
|