Skip to content

v0.1.12

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 16:44
857c0cb

Ship Agent Skills with a service over MCP, hold WebSocket connections on socket tools, serve a docs site to agents, run a cron now or on a schedule of its owner's, and hold only the memory a waiting call has grown to.

New

  • Ship Agent Skills with a service: the skills in skills/ beside crab.toml, or in the directory [image] skills names, are embedded at build, and the service's MCP server lists them over MCP's skills extension (SEP-2640) and serves their files; the build refuses a skill past 512 files or 16 MiB, and crab inspect lists a service's skills
  • Get CrabTalk's own skills, crab, crab-build, crab-debug, crab-ship and crab-wrap, from crab dev's MCP over the skills extension; its inspect names a service's skills, each file readable at crab://NAME/skills/SKILL/PATH
  • Accept WebSocket connections with a socket tool, #[tool(socket)]: the host holds each connection and calls the tool once for each open, message and close event as the caller who opened it, and the tool answers with berm_lang::socket::send, send_all and close; each event is a call and only the open counts a run. Socket tools are not listed as callable tools, and crab inspect marks them socket
  • Serve a documentation site to agents with crabtalk/docs: it reads the pages its sitemaps list under the paths you choose, as Markdown where the site serves it, into sections agents search, read and grep, and ships a docs skill telling them to cite the page
  • Run a cron tool now with crab cron run SERVICE TOOL, as its schedule would; a tool runs once at a time, and a second run asked for meanwhile is refused with E0116
  • Run a deployment's cron tool on another schedule with crab cron set SERVICE TOOL CRON, kept by later deploys that still schedule it, and return it to its image's with crab cron unset; crab cron ls shows both

Changed

  • Hold only the memory a call has grown to while it waits on a fetch or another service, in place of its reserved budget
  • Declare example tasks on the starter tools crab new writes and on every agent-facing tool of the bundled services
  • The crawl kit asks for a page in the Accept its crawler names, hands the crawler HTML or Markdown, retries a page that failed or answered an error, reads no page cut short at a tick's HTML budget, and runs a pass, crawl::pass, that fetches each page due once however long it takes
  • Name the bundled crawlers in their User-Agent, CrabTalk-Docs/1.0 and CrabTalk-SEO/1.0, each with a link to the page explaining it, on every request they send
  • crab dev takes images up to 64 MiB