@@ -191,12 +191,15 @@ Here's a simple example agent with three scry endpoints:
191191|_ =bowl:gall
192192+* this .
193193 def ~(. (default-agent this %.n) bowl)
194+::
194195++ on-init
195196 ^- (quip card _this)
196197 `this
198+::
197199++ on-save
198200 ^- vase
199201 !>(state)
202+::
200203++ on-load
201204 |= old-state=vase
202205 ^- (quip card _this)
@@ -204,6 +207,7 @@ Here's a simple example agent with three scry endpoints:
204207 ?- -.old
205208 %0 `this(state old)
206209 ==
210+::
207211++ on-poke
208212 |= [=mark =vase]
209213 ^- (quip card _this)
@@ -212,8 +216,10 @@ Here's a simple example agent with three scry endpoints:
212216 %noun
213217 `this(data (~(put by data) !<([@p @t] vase)))
214218 ==
219+::
215220++ on-watch on-watch:def
216221++ on-leave on-leave:def
222+::
217223++ on-peek
218224 |= =path
219225 ^- (unit (unit cage))
@@ -231,6 +237,7 @@ Here's a simple example agent with three scry endpoints:
231237 [~ ~]
232238 ``noun+!>(`@t`u.maybe-res)
233239 ==
240+::
234241++ on-agent on-agent:def
235242++ on-arvo on-arvo:def
236243++ on-fail on-fail:def