Philip Monk
06e6545890
ph: get more tests working
2019-11-14 14:46:39 -08:00
Philip Monk
4cb821de11
ph: get boot-az working
2019-11-14 13:31:55 -08:00
Philip Monk
32ea09caf2
mall: remove old hood libraries
2019-11-14 10:39:50 -08:00
Philip Monk
881517c872
mall: fix tests
2019-11-13 20:45:12 -08:00
Philip Monk
607a2c0ac6
eyre: fix tests
2019-11-13 19:41:56 -08:00
Philip Monk
3ad5da88fe
mall: convert test app
2019-11-13 18:05:39 -08:00
Philip Monk
cd3308d8d9
mall: convert lens
2019-11-13 16:20:24 -08:00
Philip Monk
4a6e98a558
mall, eyre: refactor server apps to be stateless
2019-11-13 00:38:35 -08:00
Philip Monk
1d1e9c0e16
eyre: better userspace libraries
2019-11-12 23:37:38 -08:00
Philip Monk
47e3b260d5
eyre: subscribe to apps for responses
...
This removes the %http-response special case from gall. In its place,
we implement a subscription regime with the following steps:
- Agent sends %connect to Eyre
- Eyre pokes agent with %handle-http-response, including unique eyre-id
- Agent passes %start-watching to Eyre with eyre-id and unique app-id
- Eyre subscribes to agent on /http-response/app-id
- Agent produces a %http-response-header fact followed by 0 or more
%http-response-data facts and possibly a %http-response-cancel fact
- Agent produces a %kick to close the subscription, which Eyre
interprets as completion of the message.
This works when there is data. There is currently a bug where if the
response has no data in total (as in the case of a naked 404), no
response will be sent.
This also includes lib/http-handler, which implements a convenient
interface for agents that want to respond immediately with all the data.
This lets them avoid carrying extra state to keep track of pending
requests.
This should really have access to your state and the ability to change
it. Perhaps a more minimalist design would be better: just keep track
of the requests, then hand it off to +on-watch when eyre is ready to
receive responses. It's not clear how to pass in the request data in
+on-watch.
2019-11-12 23:37:38 -08:00
Philip Monk
85a40a13d0
spider, eth-watcher: switch to eny-based ids
2019-11-12 23:36:08 -08:00
Philip Monk
54d55b69e4
mall: fix ph
2019-11-12 21:03:21 -08:00
Philip Monk
1caa30d812
mall: convert eth-watcher to mall/imp
2019-11-11 21:36:32 -08:00
Philip Monk
5c1d68bf44
spider: add process tree
2019-11-09 23:27:07 -08:00
Philip Monk
ab8ac96702
spider: allow arguments and return values
2019-11-09 19:09:02 -08:00
Philip Monk
47f24faaf8
mall: convert chat-cli
2019-11-08 19:32:21 -08:00
Philip Monk
7c4316fce4
mall: refactor gift/sign/task types
...
+on-agent now takes a +sign:agent:mall, which doesn't include spurious
options. Similarly, +task:agent:mall is smaller.
2019-11-08 17:35:24 -08:00
Philip Monk
1688fe82fd
mall: add flag to default-agent to assist with errors
2019-11-08 13:56:35 -08:00
Philip Monk
43be7737d6
mall: rename agent arms
2019-11-07 00:19:58 -08:00
Philip Monk
65f5b95146
spider: convert dns
2019-11-05 23:28:20 -08:00
Philip Monk
7448432707
drum: don't print stack trace on phat reap
2019-11-05 20:05:31 -08:00
Philip Monk
46d89dd823
mall: convert dns-collector
2019-11-05 19:55:51 -08:00
Philip Monk
26c789e9f5
mall: fix chat-store refactor
2019-11-05 18:52:27 -08:00
Philip Monk
dadd6474a9
mall: chat-store style improvements
2019-11-05 15:50:56 -08:00
Philip Monk
faf3741b41
mall: convert chat-store
2019-11-05 11:30:58 -08:00
Philip Monk
0e2da1e130
mall: convert lanaguage-server
2019-11-04 23:47:27 -08:00
Philip Monk
0638d23840
mall: forward port userspace changes
2019-11-04 21:35:42 -08:00
Philip Monk
82513c27fc
Merge branch 'master' into philip/mall-real
2019-11-04 19:35:24 -08:00
Philip Monk
adba48241a
spider: convert azimuth-tracker to imp
2019-10-10 15:30:24 -07:00
Philip Monk
aeba01b670
ph: remove old ph agent
2019-10-01 20:26:58 -07:00
Philip Monk
45b19807f5
spider, ph: convert all fake tests to imps
2019-10-01 15:06:12 -07:00
Philip Monk
9fc28a9538
mall: populate wex.bowl with outgoing subscriptions
...
fixes #1466
2019-09-30 20:53:12 -07:00
Philip Monk
9c9115a7e0
spider, ph: convert ph to imps
2019-09-28 21:44:31 -07:00
Philip Monk
b79dead5f8
spider: convert example-fetch to imp
2019-09-27 10:40:22 -07:00
Philip Monk
7dcce421e7
spider: move imps to /imp
2019-09-26 12:13:01 -07:00
Philip Monk
957aa99d9f
spider: build imps in ford
2019-09-26 12:00:11 -07:00
Philip Monk
45451aeafa
spider: initial commit
2019-09-25 21:12:58 -07:00
Philip Monk
e6f5b0d3fd
mall: fix %child-sync ph test
2019-09-25 13:19:09 -07:00
Philip Monk
303eb634b6
mall: convert ph to mall
2019-09-24 20:21:41 -07:00
Philip Monk
49ae542adf
mall: convert aqua to mall
2019-09-24 19:51:01 -07:00
Philip Monk
34ab4c4e77
mall: convert aqua vane handlers to mall
2019-09-24 19:04:27 -07:00
Philip Monk
30f74368fb
mall: convert hall to mall
2019-09-23 20:46:59 -07:00
Philip Monk
fc9f17ae23
mall: convert talk to mall
...
also change !< to crash on failure
2019-09-23 15:44:48 -07:00
Philip Monk
d7671efec0
mall, hood: avoid referencing library internals
2019-09-13 11:54:07 -07:00
Philip Monk
839a822f71
mall: convert hood/dojo to refactored form
2019-09-12 15:01:55 -07:00
Philip Monk
fbf56e3033
mall: refactor and rename
...
remove bones, give agent arms long names, remove metavase use, general
cleanup
2019-09-11 21:02:49 -07:00
Philip Monk
abf4bc39cd
wip
2019-09-10 13:12:38 -07:00
Philip Monk
1ca4c72aa5
mall: make boot
2019-09-09 20:04:38 -07:00
Philip Monk
ca8c3e0910
mall: convert dojo to mall
2019-09-06 12:34:04 -07:00
Philip Monk
7f5ac366c9
mall: convert write to mall
2019-09-05 21:36:57 -07:00