mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-03 04:40:50 +03:00
mall: add flag to default-agent to assist with errors
This commit is contained in:
parent
4ef1278cfa
commit
1688fe82fd
@ -50,7 +50,7 @@
|
||||
+* this .
|
||||
aqua-core +>
|
||||
ac ~(. aqua-core bowl)
|
||||
def ~(. (default-agent this) bowl)
|
||||
def ~(. (default-agent this %|) bowl)
|
||||
++ on-init `this
|
||||
++ on-save !>(all-state)
|
||||
++ on-load
|
||||
|
@ -27,7 +27,7 @@
|
||||
+* this .
|
||||
chat-core +>
|
||||
cc ~(. chat-core bowl)
|
||||
def ~(. (default-agent this) bowl)
|
||||
def ~(. (default-agent this %|) bowl)
|
||||
::
|
||||
++ on-init on-init:def
|
||||
++ on-save !>(state)
|
||||
|
@ -35,7 +35,7 @@
|
||||
=| state=app-state
|
||||
|_ =bowl:mall
|
||||
+* this .
|
||||
def ~(. (default-agent this) bowl)
|
||||
def ~(. (default-agent this %|) bowl)
|
||||
::
|
||||
++ on-init on-init:def
|
||||
++ on-save !>(state)
|
||||
|
@ -36,7 +36,7 @@
|
||||
+* this .
|
||||
lsp-core +>
|
||||
lsp ~(. lsp-core bowl)
|
||||
def ~(. (default-agent this) bowl)
|
||||
def ~(. (default-agent this %|) bowl)
|
||||
::
|
||||
++ on-init
|
||||
^+ on-init:*agent:mall
|
||||
|
@ -15,7 +15,7 @@
|
||||
+* this .
|
||||
spider-core +>
|
||||
sc ~(. spider-core bowl)
|
||||
def ~(. (default-agent this) bowl)
|
||||
def ~(. (default-agent this %|) bowl)
|
||||
::
|
||||
++ on-init on-init:def
|
||||
++ on-save on-save:def
|
||||
|
@ -1,4 +1,8 @@
|
||||
|* agent=*
|
||||
/+ skeleton
|
||||
|* [agent=* help=*]
|
||||
?: ?=(%& help)
|
||||
~| %default-agent-helpfully-crashing
|
||||
skeleton
|
||||
|_ =bowl:mall
|
||||
++ on-init
|
||||
`agent
|
||||
|
@ -1582,7 +1582,6 @@
|
||||
%- (slog >out=outgoing.subscribers.current-agent< leaf/"XXX remove" tang)
|
||||
(ap-specific-take way %watch-ack `tang)
|
||||
$(moves t.moves)
|
||||
~& >> %peer-new
|
||||
=. outgoing.subscribers.current-agent
|
||||
(~(put by outgoing.subscribers.current-agent) [short-wire dock] [| path])
|
||||
$(moves t.moves, new-moves [move new-moves])
|
||||
|
Loading…
Reference in New Issue
Block a user