Factory Droid 1.0 makes the agent write JavaScript to batch its own tool calls
Droid 1.0 turns programmatic tool calling on by default: the model writes a sandboxed Script that runs many tool calls in one request.
Topic · 11 stories
11 stories tagged javascript on AI Tamer, newest first.
Droid 1.0 turns programmatic tool calling on by default: the model writes a sandboxed Script that runs many tool calls in one request.
goose's code mode now runs agent scripts on Boa with no file, shell or network access. The PR reports a smaller binary and fewer tokens in a small test.
Cheng Lou published Handwired, a toy that turns ordinary JavaScript into an exact neural net with no training. The repository is MIT.
A valid JSON integer may lose precision when parsed as a JavaScript Number. Decimal strings keep opaque IDs stable across runtimes.
AbortSignal.reason and throwIfAborted help distinguish cancellation from ordinary failure; combine caller cancellation with a timeout for bounded AI requests.
Two tabs can start the same sync at once. Web Locks lets them coordinate the work within one browser, with clear limits for retries and work beyond that browser.
When generated chunks arrive faster than downstream code can process them, queues grow. Backpressure gives the producer a signal to slow down, if that signal can reach it.
An older tab can leave an IndexedDB schema upgrade waiting. Here is how versionchange and blocked coordinate the handoff, and how to give users a clear way forward.
Trusted Types and Content Security Policy can make the browser require a reviewed policy before dynamic HTML reaches an injection sink. Here is how to introduce that boundary.
Use BroadcastChannel to update open tabs after logout. Keep session invalidation on the server and account for storage partitions and missed messages.
Space-based splitting can put transcript highlights around the wrong text. Intl.Segmenter offers locale-sensitive word boundaries and text offsets.