samagotchi 0.184.0 → 0.185.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 +45 -1
- data/docs/architecture.md +1 -1
- data/docs/bundles.md +62 -35
- data/docs/cli.md +10 -1
- data/docs/configuration.md +1 -1
- data/docs/context.md +76 -10
- data/docs/guardrails.md +7 -2
- data/docs/hooks.md +1 -0
- data/docs/internals/block-renderers.md +4 -2
- data/docs/internals/bridge.md +6 -2
- data/docs/internals/llm-context-forget.md +6 -0
- data/docs/internals/participants.md +4 -1
- data/docs/internals/remote-sessions.md +3 -1
- data/docs/internals/session-lifecycle.md +1 -1
- data/docs/internals/web-frontend.md +23 -6
- data/docs/mcp-server.md +6 -2
- data/docs/scheduling.md +5 -0
- data/docs/sessions.md +12 -2
- data/docs/sub-agent.md +48 -3
- data/docs/thin-clients.md +9 -2
- data/lib/samagotchi/agent_caller.rb +97 -0
- data/lib/samagotchi/bridge.rb +7 -7
- data/lib/samagotchi/bundles/claude-peer/manifest.yml +14 -8
- data/lib/samagotchi/bundles/claude-peer/plugin.rb +3 -3
- data/lib/samagotchi/bundles/claude-peer/scripts/chi-peer-SKILL.md +49 -30
- data/lib/samagotchi/bundles/claude-peer/scripts/pair +2 -2
- data/lib/samagotchi/bundles/claude-peer/scripts/pair-remote +123 -0
- data/lib/samagotchi/bundles/claude-peer/skill_claude_peer.md +11 -3
- data/lib/samagotchi/bundles/codex-peer/manifest.yml +10 -8
- data/lib/samagotchi/bundles/codex-peer/plugin.rb +3 -3
- data/lib/samagotchi/bundles/codex-peer/scripts/chi-peer-SKILL.md +29 -8
- data/lib/samagotchi/bundles/codex-peer/scripts/pair +1 -1
- data/lib/samagotchi/bundles/codex-peer/skill_codex_peer.md +11 -3
- data/lib/samagotchi/bundles/dev/manifest.yml +2 -2
- data/lib/samagotchi/bundles/mcp/http_client.rb +19 -2
- data/lib/samagotchi/bundles/mcp/manifest.yml +2 -2
- data/lib/samagotchi/bundles/system/manifest.yml +2 -2
- data/lib/samagotchi/bundles/system/self_map.md +2 -0
- data/lib/samagotchi/client_id.rb +61 -1
- data/lib/samagotchi/command_intake.rb +16 -8
- data/lib/samagotchi/context_absorber.rb +212 -46
- data/lib/samagotchi/delivery.rb +15 -0
- data/lib/samagotchi/driver_command.rb +68 -0
- data/lib/samagotchi/engine/block_fix.rb +2 -2
- data/lib/samagotchi/engine.rb +13 -5
- data/lib/samagotchi/engine_peers.rb +6 -0
- data/lib/samagotchi/guardrails/pair_boundary.rb +1 -1
- data/lib/samagotchi/mcp_command.rb +7 -2
- data/lib/samagotchi/mcp_server/tools.rb +9 -3
- data/lib/samagotchi/objectives_track.rb +2 -1
- data/lib/samagotchi/owner_prompt.rb +5 -1
- data/lib/samagotchi/parent_report.rb +9 -5
- data/lib/samagotchi/plugin/peer.rb +10 -4
- data/lib/samagotchi/reply_wait.rb +12 -3
- data/lib/samagotchi/schedules.rb +10 -7
- data/lib/samagotchi/send_command/parent_gate.rb +3 -1
- data/lib/samagotchi/send_command.rb +45 -8
- data/lib/samagotchi/session.rb +9 -1
- data/lib/samagotchi/session_access/ask.rb +5 -2
- data/lib/samagotchi/session_access/contract.rb +2 -0
- data/lib/samagotchi/session_access/local.rb +2 -1
- data/lib/samagotchi/session_access/remote.rb +18 -2
- data/lib/samagotchi/session_access.rb +4 -2
- data/lib/samagotchi/session_command_catalog.rb +8 -0
- data/lib/samagotchi/session_commands.rb +9 -0
- data/lib/samagotchi/session_continue.rb +4 -1
- data/lib/samagotchi/session_inbox.rb +2 -0
- data/lib/samagotchi/session_inbox_delivery.rb +4 -2
- data/lib/samagotchi/session_manager/delivery.rb +50 -5
- data/lib/samagotchi/session_manager/spawn.rb +7 -1
- data/lib/samagotchi/steer.rb +95 -20
- data/lib/samagotchi/terminal_ui/formatting.rb +12 -2
- data/lib/samagotchi/tool_activity.rb +4 -0
- data/lib/samagotchi/tool_declarations.rb +22 -1
- data/lib/samagotchi/tool_names.rb +4 -0
- data/lib/samagotchi/toolkit.rb +3 -2
- data/lib/samagotchi/tools/ask_session.rb +208 -0
- data/lib/samagotchi/tools/builtin_calls.rb +1 -0
- data/lib/samagotchi/tools/builtins.rb +5 -0
- data/lib/samagotchi/turn_checkpoint.rb +19 -2
- data/lib/samagotchi/turn_stages/context_judge.rb +3 -1
- data/lib/samagotchi/turn_stages/objectives.rb +4 -2
- data/lib/samagotchi/turn_stages/toolkit_suggestion.rb +3 -0
- data/lib/samagotchi/version.rb +1 -1
- data/lib/samagotchi/visitor.rb +37 -0
- data/lib/samagotchi/web/app.rb +1 -1
- data/lib/samagotchi/web/ask_routes.rb +6 -4
- data/lib/samagotchi/web/message_display.rb +15 -2
- data/lib/samagotchi/web/public/app.js +1 -1
- data/lib/samagotchi/web/public/block_fix.js +11 -3
- data/lib/samagotchi/web/public/history_shape.js +3 -1
- data/lib/samagotchi/web/public/index.html +8 -0
- data/lib/samagotchi/web/public/peer_links.js +27 -4
- data/lib/samagotchi/web/public/peer_note.js +19 -3
- data/lib/samagotchi/web/public/peer_text.js +45 -0
- data/lib/samagotchi/web/public/picture_regions.js +2 -2
- data/lib/samagotchi/web/public/turn_events.js +19 -0
- data/lib/samagotchi/web/public/working_set_view.js +11 -2
- data/lib/samagotchi/web/session_control.rb +1 -1
- data/lib/samagotchi/web/session_create.rb +11 -7
- data/lib/samagotchi/worker/command_queue.rb +5 -2
- data/lib/samagotchi/worker/senders.rb +79 -0
- data/lib/samagotchi/worker.rb +21 -18
- data/lib/samagotchi/worker_inbound.rb +12 -4
- data/lib/samagotchi/worker_participant_gate.rb +1 -3
- data/lib/samagotchi/worker_wakes.rb +12 -0
- metadata +8 -1
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "../archive_store"
|
|
4
|
+
require_relative "../child_reports"
|
|
5
|
+
require_relative "../client_id"
|
|
6
|
+
require_relative "../log"
|
|
7
|
+
require_relative "../turn_checkpoint"
|
|
8
|
+
require_relative "../visitor"
|
|
9
|
+
|
|
10
|
+
module Samagotchi
|
|
11
|
+
class Worker
|
|
12
|
+
# Who a turn's input came from and what it does to the session: the
|
|
13
|
+
# owner's input (#user_input: un-archive, wake reset, held reports), the
|
|
14
|
+
# driver's (the same but the un-archive), a visitor's count toward
|
|
15
|
+
# session.max_wakes and its refusal (#count_visitor, #refuse_visitor),
|
|
16
|
+
# and the one seat for refusing a queued turn (#refuse_queued_turn).
|
|
17
|
+
# Reads @session, @session_id, @state_dir, @session_dir, @wakes,
|
|
18
|
+
# @child_reports and @event_log.
|
|
19
|
+
module SendersPart
|
|
20
|
+
private
|
|
21
|
+
|
|
22
|
+
# A visitor's turn (an agent's that doesn't drive the session: Visitor)
|
|
23
|
+
# counts toward session.max_wakes, the budget wake turns use, before
|
|
24
|
+
# anything else runs for it (no start grace, context.wake or pause
|
|
25
|
+
# gate: its sender asked for it).
|
|
26
|
+
# @return [Boolean] false when the budget is spent: refuse it
|
|
27
|
+
def count_visitor
|
|
28
|
+
return false if @wakes.spent?
|
|
29
|
+
|
|
30
|
+
@wakes.count!
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# The owner's input (ClientId.owner?) un-archives the session; a
|
|
35
|
+
# delegate's, a plugin's, a reminder's or a participant's doesn't.
|
|
36
|
+
# It also resets the wakes (budget and pause); input typed in the web or
|
|
37
|
+
# a TUI the peer wakes too (chi send doesn't: a peer can run it).
|
|
38
|
+
def user_input(client_id)
|
|
39
|
+
# The session's driver (an agent: Visitor.driver?) resets the wake
|
|
40
|
+
# budget and releases held reports as chi send's input did, but never
|
|
41
|
+
# brings back an archived session.
|
|
42
|
+
if Visitor.driver?(client_id, @session)
|
|
43
|
+
@wakes.human_input!(interactive: false)
|
|
44
|
+
@child_reports&.release_holds
|
|
45
|
+
return
|
|
46
|
+
end
|
|
47
|
+
return unless ClientId.owner?(client_id)
|
|
48
|
+
|
|
49
|
+
ArchiveStore.user_input(@session_id, state_dir: @state_dir)
|
|
50
|
+
@wakes.human_input!(interactive: ClientId.interactive?(client_id))
|
|
51
|
+
@child_reports&.release_holds
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# session.max_wakes spent: a visitor's queued turn is refused (its
|
|
55
|
+
# sender's wait reads ParentReport::REFUSED_LINES' max_wakes); the
|
|
56
|
+
# owner hears it once, until their next message (WorkerWakes#notice_visitor!).
|
|
57
|
+
def refuse_visitor(origin)
|
|
58
|
+
Log.info(:worker, "visitor_turn_refused", client_id: origin.client_id, reason: Visitor::CAP_REASON)
|
|
59
|
+
refuse_queued_turn(origin, Visitor::CAP_REASON)
|
|
60
|
+
return unless @wakes.notice_visitor!
|
|
61
|
+
|
|
62
|
+
# An agent's name, or another session's question by its id8.
|
|
63
|
+
name = ClientId.agent_name(origin.client_id) || "session #{ClientId.session_name(origin.client_id)}"
|
|
64
|
+
@event_log.announce(type: :hook_notice, hook: "agent", level: :info, between_turns: true,
|
|
65
|
+
text: "#{name}'s message was not run: #{@wakes.max} turns ran in a row with no message " \
|
|
66
|
+
"from you (#{ChildRing::MAX_WAKES_KEY}); agents' messages run again after your next one")
|
|
67
|
+
nil
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# A queued turn that may not start (a participant's, WorkerParticipantGate#refuse):
|
|
71
|
+
# settled as refused for +reason+ (a code) and dropped from every UI's
|
|
72
|
+
# queue; it never runs (TurnCheckpoint.refuse_queued).
|
|
73
|
+
# @return [nil]
|
|
74
|
+
def refuse_queued_turn(origin, reason, author: nil)
|
|
75
|
+
TurnCheckpoint.refuse_queued(@session_dir, @event_log, origin, reason, author: author)
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
data/lib/samagotchi/worker.rb
CHANGED
|
@@ -49,6 +49,7 @@ require_relative "worker/scratch"
|
|
|
49
49
|
require_relative "worker/child_side"
|
|
50
50
|
require_relative "worker/command_queue"
|
|
51
51
|
require_relative "worker/block_fixes"
|
|
52
|
+
require_relative "worker/senders"
|
|
52
53
|
|
|
53
54
|
module Samagotchi
|
|
54
55
|
# The loop of a background session worker, once it owns the session (see
|
|
@@ -100,6 +101,7 @@ module Samagotchi
|
|
|
100
101
|
include ChildSidePart
|
|
101
102
|
include CommandQueuePart
|
|
102
103
|
include BlockFixesPart
|
|
104
|
+
include SendersPart
|
|
103
105
|
|
|
104
106
|
FALLBACK_TICK_SECONDS = 5
|
|
105
107
|
# A worker just started runs no wake turn for delegate reports this
|
|
@@ -347,10 +349,12 @@ module Samagotchi
|
|
|
347
349
|
# This session's own delegate children's news (rings in children/).
|
|
348
350
|
@child_reports = ChildReports.new(session_id: @session_id, state_dir: @state_dir,
|
|
349
351
|
predecessor: @session.continues)
|
|
350
|
-
# Its attached context's notes (ContextSources)
|
|
352
|
+
# Its attached context's notes (ContextSources); a peer's text goes in
|
|
353
|
+
# its note up to the tool output cap, as a task's does (WorkerTaskWakes).
|
|
351
354
|
@context_absorber = ContextAbsorber.new(session_id: @session_id, state_dir: @state_dir,
|
|
352
355
|
project_root: @session.project_root, project_id: @session.project_id,
|
|
353
|
-
peer_sources: @engine.peer_sources, peer_turns: -> { @wakes.peer_turns }
|
|
356
|
+
peer_sources: @engine.peer_sources, peer_turns: -> { @wakes.peer_turns },
|
|
357
|
+
cap: -> { ToolOutputCut.max_chars(nil) })
|
|
354
358
|
# What comes in between turns, and how each kind is saved.
|
|
355
359
|
@inbound = WorkerInbound.new(session: @session, state_dir: @state_dir, session_dir: @session_dir, engine: @engine,
|
|
356
360
|
event_log: @event_log, turn_state: @turn_state, context_absorber: @context_absorber, wakes: @wakes,
|
|
@@ -690,10 +694,16 @@ module Samagotchi
|
|
|
690
694
|
return @participant_gate.refuse(origin, reason)
|
|
691
695
|
end
|
|
692
696
|
|
|
697
|
+
visitor = Visitor.of?(origin.client_id, @session)
|
|
698
|
+
return refuse_visitor(origin) if visitor && !count_visitor
|
|
699
|
+
|
|
693
700
|
# A candidate the prompt mentions is attached and fetched first, so
|
|
694
701
|
# the absorb below brings its note into this turn.
|
|
695
|
-
|
|
696
|
-
|
|
702
|
+
# Not for a visitor's prompt: only the owner's attaches (OwnerPrompt).
|
|
703
|
+
unless visitor
|
|
704
|
+
ContextCandidates.before_turn(session: @session, prompt: prompt.text, author: origin.author, state_dir: @state_dir,
|
|
705
|
+
cancelled: -> { stopped_on_disk? })
|
|
706
|
+
end
|
|
697
707
|
# A first turn sees the context attached before it, and any turn the
|
|
698
708
|
# background tasks that finished since the last look.
|
|
699
709
|
absorb_context(before_turn: true)
|
|
@@ -701,8 +711,12 @@ module Samagotchi
|
|
|
701
711
|
user_input(origin.client_id)
|
|
702
712
|
@continue_offer.drop(origin)
|
|
703
713
|
@turn_flow.before_prompt_turn
|
|
714
|
+
# A visitor's opener is saved with its sender, which gives it its
|
|
715
|
+
# header line (Steer::OPENER_HEADERS); the driver's and the owner's
|
|
716
|
+
# keep their bytes.
|
|
717
|
+
source = visitor ? { opener_source: origin.client_id } : {}
|
|
704
718
|
run_engine_turn(prompt.text, origin: origin, max_iterations: max_iterations(prompt.no_interrupt),
|
|
705
|
-
images: prompt.images, **prompt.anchors.kwargs) do |result, error|
|
|
719
|
+
images: prompt.images, **source, **prompt.anchors.kwargs) do |result, error|
|
|
706
720
|
if error
|
|
707
721
|
# The Engine announced :turn_failed (with the error's one line).
|
|
708
722
|
restore_failed_turn([[prompt.text, origin, prompt.images, prompt.anchors], *@merged_this_turn], error: error)
|
|
@@ -748,7 +762,8 @@ module Samagotchi
|
|
|
748
762
|
@turn_author = origin.participant_author
|
|
749
763
|
restores = @turn_flow.restores
|
|
750
764
|
begin
|
|
751
|
-
@checkpoint.begin_turn(prompt: prompt, turn_id: turn_args[:id], enqueued_id: origin.enqueued_id, author: turn_author_fields(origin)
|
|
765
|
+
@checkpoint.begin_turn(prompt: prompt, turn_id: turn_args[:id], enqueued_id: origin.enqueued_id, author: turn_author_fields(origin),
|
|
766
|
+
source: turn_args[:opener_source])
|
|
752
767
|
@session.status = Session::STATUS_RUNNING
|
|
753
768
|
# A continue that moved this session to the chain's new link wrote
|
|
754
769
|
# the new parent beside it (Session::PARENT_FILE): this turn's
|
|
@@ -957,18 +972,6 @@ module Samagotchi
|
|
|
957
972
|
|
|
958
973
|
def monotonic_now = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
|
959
974
|
|
|
960
|
-
# The owner's input (ClientId.owner?) un-archives the session; a
|
|
961
|
-
# delegate's, a plugin's, a reminder's or a participant's doesn't.
|
|
962
|
-
# It also resets the wakes (budget and pause); input typed in the web or
|
|
963
|
-
# a TUI the peer wakes too (chi send doesn't: a peer can run it).
|
|
964
|
-
def user_input(client_id)
|
|
965
|
-
return unless ClientId.owner?(client_id)
|
|
966
|
-
|
|
967
|
-
ArchiveStore.user_input(@session_id, state_dir: @state_dir)
|
|
968
|
-
@wakes.human_input!(interactive: ClientId.interactive?(client_id))
|
|
969
|
-
@child_reports&.release_holds
|
|
970
|
-
end
|
|
971
|
-
|
|
972
975
|
def stopped_on_disk?
|
|
973
976
|
SessionManager.stopped_on_disk?(@session_id, state_dir: @state_dir)
|
|
974
977
|
end
|
|
@@ -61,8 +61,10 @@ module Samagotchi
|
|
|
61
61
|
# that agrees closes the round and counts toward session.max_wakes only.
|
|
62
62
|
def peer_turn? = peer? && !delivery.agreed
|
|
63
63
|
def origin = TurnOrigin.new(client_id: "#{ClientId::CONTEXT_PREFIX}#{name}")
|
|
64
|
-
# The plain note #unmark_wake puts back
|
|
65
|
-
|
|
64
|
+
# The plain note #unmark_wake puts back: with the wake note's text
|
|
65
|
+
# when only that held it (ContextAbsorber::Delivery#wake_plain), so a
|
|
66
|
+
# failed wake turn keeps the text it marked read.
|
|
67
|
+
def note = delivery.wake_plain || delivery.note
|
|
66
68
|
end
|
|
67
69
|
|
|
68
70
|
# A task finish wake turn to run (TaskWatch, TaskFinishNote): its wake
|
|
@@ -332,7 +334,10 @@ module Samagotchi
|
|
|
332
334
|
what: "command", reason: "not_permitted")
|
|
333
335
|
return true
|
|
334
336
|
end
|
|
335
|
-
|
|
337
|
+
# A ! line from a sender that may not run one (an agent's too:
|
|
338
|
+
# CommandIntake.refused?, asked first) is queued for its refusal
|
|
339
|
+
# (Worker::CommandQueue#command_result).
|
|
340
|
+
return false unless CommandIntake.refused?(text, origin.client_id) || CommandIntake.allowed?(origin.client_id)
|
|
336
341
|
|
|
337
342
|
@queue_command.call(text, origin.client_id, after_file, origin.enqueued_id)
|
|
338
343
|
true
|
|
@@ -404,7 +409,10 @@ module Samagotchi
|
|
|
404
409
|
|
|
405
410
|
# +batch+ with +waking+'s subscription recording the wake (the 10-minute window).
|
|
406
411
|
def woken(batch, waking)
|
|
407
|
-
|
|
412
|
+
# The wake note went in: its own read mark when it holds a text the
|
|
413
|
+
# plain note doesn't (ContextAbsorber::Delivery#wake_subscription).
|
|
414
|
+
subscription = waking.wake_subscription || waking.subscription
|
|
415
|
+
stamped = waking.with(subscription: subscription.with(wakes_at: Time.now.iso8601))
|
|
408
416
|
batch.with(deliveries: batch.deliveries.map { |delivery| delivery == waking ? stamped : delivery })
|
|
409
417
|
end
|
|
410
418
|
end
|
|
@@ -98,11 +98,9 @@ module Samagotchi
|
|
|
98
98
|
# @param origin [TurnOrigin] a participant's
|
|
99
99
|
# @return [nil]
|
|
100
100
|
def refuse(origin, reason)
|
|
101
|
-
TurnCheckpoint.record_refused(@session_dir, origin.enqueued_id, reason: reason, author: origin.participant_author)
|
|
102
101
|
Participants.log(source_id, :turn, state_dir: @state_dir, participant: origin.participant_id,
|
|
103
102
|
enqueued_id: origin.enqueued_id, status: "refused", reason: reason)
|
|
104
|
-
|
|
105
|
-
nil
|
|
103
|
+
TurnCheckpoint.refuse_queued(@session_dir, @event_log, origin, reason, author: origin.participant_author)
|
|
106
104
|
end
|
|
107
105
|
|
|
108
106
|
# A participant invited, revoked or expired since the last look: the
|
|
@@ -36,6 +36,7 @@ module Samagotchi
|
|
|
36
36
|
@peer_in_a_row = 0
|
|
37
37
|
@paused = false
|
|
38
38
|
@budget_noticed = false
|
|
39
|
+
@visitor_noticed = false
|
|
39
40
|
@peer_noticed = false
|
|
40
41
|
@handed = nil
|
|
41
42
|
end
|
|
@@ -145,6 +146,7 @@ module Samagotchi
|
|
|
145
146
|
@in_a_row = 0
|
|
146
147
|
@paused = false
|
|
147
148
|
@budget_noticed = false
|
|
149
|
+
@visitor_noticed = false
|
|
148
150
|
return unless interactive
|
|
149
151
|
|
|
150
152
|
@peer_in_a_row = 0
|
|
@@ -159,6 +161,16 @@ module Samagotchi
|
|
|
159
161
|
@budget_noticed = true
|
|
160
162
|
end
|
|
161
163
|
|
|
164
|
+
# @return [Boolean] true the first time a visitor's turn (an agent's
|
|
165
|
+
# that doesn't drive the session) is refused since the last human
|
|
166
|
+
# input: the UIs hear it once. Apart from #notice_budget!, which a
|
|
167
|
+
# delegate's or a task's notice may have spent this stretch.
|
|
168
|
+
def notice_visitor!
|
|
169
|
+
return false if @visitor_noticed
|
|
170
|
+
|
|
171
|
+
@visitor_noticed = true
|
|
172
|
+
end
|
|
173
|
+
|
|
162
174
|
# @return [Boolean] true the first time a peer's answer is held since
|
|
163
175
|
# the last interactive input: the UIs hear it once
|
|
164
176
|
def notice_peer_budget!
|
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.185.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Dedov
|
|
@@ -185,6 +185,7 @@ files:
|
|
|
185
185
|
- docs/testing.md
|
|
186
186
|
- docs/thin-clients.md
|
|
187
187
|
- lib/samagotchi.rb
|
|
188
|
+
- lib/samagotchi/agent_caller.rb
|
|
188
189
|
- lib/samagotchi/analytics_file.rb
|
|
189
190
|
- lib/samagotchi/answer_command.rb
|
|
190
191
|
- lib/samagotchi/answer_display.rb
|
|
@@ -254,6 +255,7 @@ files:
|
|
|
254
255
|
- lib/samagotchi/bundles/claude-peer/plugin.rb
|
|
255
256
|
- lib/samagotchi/bundles/claude-peer/scripts/chi-peer-SKILL.md
|
|
256
257
|
- lib/samagotchi/bundles/claude-peer/scripts/pair
|
|
258
|
+
- lib/samagotchi/bundles/claude-peer/scripts/pair-remote
|
|
257
259
|
- lib/samagotchi/bundles/claude-peer/skill_claude_peer.md
|
|
258
260
|
- lib/samagotchi/bundles/codex-peer/manifest.yml
|
|
259
261
|
- lib/samagotchi/bundles/codex-peer/plugin.rb
|
|
@@ -379,6 +381,7 @@ files:
|
|
|
379
381
|
- lib/samagotchi/desktop/macos/Sessions.swift
|
|
380
382
|
- lib/samagotchi/desktop/macos/Tmux.swift
|
|
381
383
|
- lib/samagotchi/desktop_command.rb
|
|
384
|
+
- lib/samagotchi/driver_command.rb
|
|
382
385
|
- lib/samagotchi/edit_preview.rb
|
|
383
386
|
- lib/samagotchi/effective_model.rb
|
|
384
387
|
- lib/samagotchi/empty_answer_error.rb
|
|
@@ -875,6 +878,7 @@ files:
|
|
|
875
878
|
- lib/samagotchi/toolkit_report_command.rb
|
|
876
879
|
- lib/samagotchi/toolkit_suggest.rb
|
|
877
880
|
- lib/samagotchi/tools/args.rb
|
|
881
|
+
- lib/samagotchi/tools/ask_session.rb
|
|
878
882
|
- lib/samagotchi/tools/ask_user_question.rb
|
|
879
883
|
- lib/samagotchi/tools/builtin_calls.rb
|
|
880
884
|
- lib/samagotchi/tools/builtins.rb
|
|
@@ -943,6 +947,7 @@ files:
|
|
|
943
947
|
- lib/samagotchi/version.rb
|
|
944
948
|
- lib/samagotchi/vision_context.rb
|
|
945
949
|
- lib/samagotchi/vision_support.rb
|
|
950
|
+
- lib/samagotchi/visitor.rb
|
|
946
951
|
- lib/samagotchi/waiting_steer.rb
|
|
947
952
|
- lib/samagotchi/web/app.rb
|
|
948
953
|
- lib/samagotchi/web/ask_routes.rb
|
|
@@ -1083,6 +1088,7 @@ files:
|
|
|
1083
1088
|
- lib/samagotchi/web/public/peer_exchange.js
|
|
1084
1089
|
- lib/samagotchi/web/public/peer_links.js
|
|
1085
1090
|
- lib/samagotchi/web/public/peer_note.js
|
|
1091
|
+
- lib/samagotchi/web/public/peer_text.js
|
|
1086
1092
|
- lib/samagotchi/web/public/picture_regions.js
|
|
1087
1093
|
- lib/samagotchi/web/public/picture_viewer.js
|
|
1088
1094
|
- lib/samagotchi/web/public/plain_line.js
|
|
@@ -1249,6 +1255,7 @@ files:
|
|
|
1249
1255
|
- lib/samagotchi/worker/command_queue.rb
|
|
1250
1256
|
- lib/samagotchi/worker/leave.rb
|
|
1251
1257
|
- lib/samagotchi/worker/scratch.rb
|
|
1258
|
+
- lib/samagotchi/worker/senders.rb
|
|
1252
1259
|
- lib/samagotchi/worker/signal_grace.rb
|
|
1253
1260
|
- lib/samagotchi/worker/startup.rb
|
|
1254
1261
|
- lib/samagotchi/worker/wake_turns.rb
|