Using the timestamp of the first event, instead of the start of the time
block.
Also narrow the time block down from a day to an hour, for faster log
writes. Further experimentation needed here.
This brings it in line with the serialization found in /mar/noun.
The `@uw`-encoding was carried over from Eyre, who uses it for channels.
In that context, outgoing jam bytes must be encoded, because newline
characters (`0a` bytes) would break up the SSE data field. Because
they're essentially part of the same protocol, Eyre mirrors this for
incoming nouns. Even though PUT requests can carry arbitrary bytes just
fine, the symmetry and protocol-wide consistency seems important.
Here, we are dealing strictly with plain HTTP requests, and strictly
with requests that have indicated support for the
`application/x-urb-jam` mime type to boot. We should have no qualms
about raw jam bytes. They're more compact/efficient, too.
A utility agent that can be told to watch agents. Doing so will make it
subscribe to that agent's "verb plus" events. Verb-logger buffers those,
and flushes them to unix disk in a json format periodically.
Tools for viewing these logs still in development...
Adds a new endpoint to the verb wrapper library that gives more detail
about events happening to agents. This includes sequence numbers,
timestamps, source ship, mug hashes for incoming data, and a summary of
the resulting effects.
in the thread-calling http interface.
Specifying a content-type header of application/x-urb-jam will make the
request body be interpreted as a uw-encoded jammed noun, rather than
json.
Specifying an accept header of application/x-urb-jam will make the
thread result in the response body be rendered as a uw-encoded jammed
noun, rather than json.
For the latter, the output mark becomes unused, since we can just
"render" the resulting noun directly, without needing to explicitly
convert it. (This assumes that converting any mark to %noun will always
result in the same noun, which isn't guaranteed in theory, but is always
the case in practice.)
This prepares spider for use in a nouns-based version of js-http-api.