19 Commits
Author SHA1 Message Date
udoandClaude Fable 5.1 ca8edb6bd1 Delete the queued task API, the task pool, and the job API
Tasks are fire-and-forget only: function TASK:NAME(props : dval) and
task_execute(target, timeout_seconds, props). The durable queue, the
TASK_WORKERS pool with its leases, cancellation, admission health and recovery,
task, task_status, task_await, task_cancel, the background form of shell_exec,
job_status, job_result, job_await, job_cancel, http_request_async, the job
directory and its --job-worker helper, their pages, fixtures, guide sections,
settings documentation and parity rows are gone. A bare TASK handler is a
compile error.

shell_exec(command, {on_done: "/unit.capy:NAME"}) keeps the one job use that
mattered: the command runs in the detached task runner, and TASK:NAME of the
unit receives command, exit_code, stdout, stderr, timed_out and
output_truncated when it finishes. Unit path resolution is shared by tasks and
services. The tasks guide is "Tasks and commands" with a stable slug change.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 01:14:19 +00:00
rootandClaude Fable 5.1 88be6723b2 Bind request implicitly in handlers and add capture parameters
Handlers take (props : dval, request : dval) for COMPONENT and TASK and
(request : dval) otherwise; every parameter is optional and keeps its name,
and request is bound in every handler body. name : capture type fills an
omitted argument from the caller variable of that name. Exported (dval) dval
functions carry an implicit request capture. Request builtins capture
request; redirect writes request.out. The runtime builds one request value
per request, passes request and props handles to handlers, applies
request.out once after the top-level handler, and drops the pending-props
slot, handler frames, per-handler refresh, and current_request(). Core ABI
38, unit ABI 39. Legacy request type checks and the removed-API migration
table are gone from the compiler. Documentation, generated routes, tests,
and the project home follow; the home page loses the demo and starter.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-13 14:05:04 +00:00
udo 3e62b8b679 Copy and remove files when rename crosses devices. 2026-10-06 01:33:03 +00:00
udo eee87ab6d8 Fix multipart parsing and expose upload form field names. 2026-10-06 01:13:50 +00:00
root a131faf8d5 Add a shared key-value cache and Capy cache functions. 2026-10-02 14:42:04 +00:00
root 10ac632aea Add optional perf maps for guest WebAssembly symbols. 2026-10-02 01:52:31 +00:00
root e15bbe9acf Show compile diagnostics on runtime error pages. 2026-09-30 05:24:48 +00:00
udo 83cc964640 Separate runtime packages from applications. 2026-09-12 14:11:27 +00:00
root 8ffa25f51b Unify Capy type constructors. 2026-08-25 21:03:36 +00:00
root e8274a4e30 Remove redundant Capy API functions. 2026-08-25 03:11:31 +00:00
udo 9a50888fe7 Write response state through mutable request values. 2026-08-23 15:20:55 +00:00
udo a3fde65ed1 Route documentation from content filenames. 2026-08-23 14:31:19 +00:00
root a8c7e2533e Fix managed parameter rebinding and compiler timeout cleanup. 2026-08-22 21:08:01 +00:00
root 39f742fffb Remove support for C++ units. 2026-08-22 17:23:13 +00:00
root 0e2449c7f4 Add transport bounds and disable TCP listeners by default. 2026-08-01 23:42:20 +00:00
root cf6537b255 Add the Capy language reference site. 2026-07-20 22:48:52 +00:00
root c7409842aa Compile Capy scalar control flow to WebAssembly. 2026-07-20 17:39:27 +00:00
root 7c37b6af65 Rename runtime internals and tools to Bearer. 2026-07-20 12:20:35 +00:00
udo 76e1d8d312 Import the UCE project baseline. 2026-07-20 10:40:47 +00:00