29 Commits
Author SHA1 Message Date
root 372f811aa9 Capture and publish output for every Capy documentation example 2026-10-15 14:47:12 +00:00
root 6f59181f09 Rename dynamic dval to any and add port spawn options
Keep the compile-time generic marker as *. Update the compiler, stdlib,
fixtures, documentation and editor grammars without a dynamic type alias.
Preserve native identifiers and historical work and patch records.

Replace the port_spawn environment argument with cwd/env options. Report
failed directory changes through EXIT 127 with cwd_failed.

Compile every API example and add a complete Pi RPC service example.
Service examples compile without execution or output blocks. Update ABI
versions and audited golden artifacts.
2026-10-15 02:50:33 +00:00
root 0d43f46803 Integrate verified documentation examples and request-scoped file APIs 2026-10-14 16:14:38 +00:00
root 2a40a3730b Add server, editor, LSP and web-app how-to documentation 2026-10-14 11:23:41 +00:00
root a36cf84c20 Add the favicon to standalone documentation listings and search 2026-10-14 09:44:15 +00:00
root 562c609b68 Use the Capy mascot favicon on the website and documentation 2026-10-14 09:34:42 +00:00
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
root f883236081 Share dval nodes and make clone explicit. 2026-10-02 10:59:31 +00:00
root 6e2636cc8f Keep single-argument calls on one line and format generated documentation. 2026-09-30 14:38:16 +00:00
root a576e68b24 Add checks for public documentation links. 2026-09-30 05:03:09 +00:00
root 106087add4 Add numeric types and simplify runtime APIs. 2026-08-26 11:31:52 +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
root e0e813a321 Restructure documentation and add callable dynamic values. 2026-08-25 02:09:53 +00:00
udo 1d7cb4eb05 Return component render success status. 2026-08-24 00:16:26 +00:00
udo 70f0b2a7e2 Generate documentation routes from content filenames. 2026-08-23 17:36:59 +00:00
udo a3fde65ed1 Route documentation from content filenames. 2026-08-23 14:31:19 +00:00
udo 6d89411304 Remove retired unit and duplicate DValue APIs. 2026-08-23 10:31:57 +00:00
root 3fc671082e Fix documentation rendering and expand tests. 2026-08-23 01:05:27 +00:00
root b7609d8e98 Show related documentation in the sidebar. 2026-08-22 21:18:28 +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 32981cf2ba Define documentation contracts and navigation. 2026-08-03 08:38:00 +00:00
root 67c2a3c3dd Teach Capy with a tutorial guide. 2026-08-02 16:54:36 +00:00
root d36d126620 Fix Capy guide page rendering. 2026-08-02 16:20:05 +00:00
root 9062686220 Add safe accessors for Capy DValues. 2026-08-02 16:07:22 +00:00
root 3517b2034a Replace constant declarations with top-level type aliases. 2026-08-01 13:14:30 +00:00
root cf6537b255 Add the Capy language reference site. 2026-07-20 22:48:52 +00:00