tools/sieve-playground builds the vendored sieve-rs 0.7.3 (vnd.inbuxa.* names included) to WebAssembly, with a static page around it, for inbuxa Admin's Debug button on a Sieve script: until now that button sent the script to an outside site whose interpreter knows only upstream's extension names, so any script that requires vnd.inbuxa.* failed to compile there. Ported from the playground in the upstream sieve-rs repository's web/ directory (commit 549a2d57f7), which targets sieve-rs 1.x: - run.rs and handler.rs drive 0.7's event loop the way the server's delivery does, carrying on after a runtime error; llm_prompt compiles and answers false, as on a server without a model. - The expression functions are the server's own modules, included by path; tests fail if the list, ApplyString or the few functions copied from misc.rs/unicode.rs stop matching crates/common. - Built for wasm32-wasip1 rather than with wasm-bindgen: sieve-rs and mail-builder read the clock, which panics on wasm32-unknown-unknown. The page's worker answers the six WASI calls, giving the module the playground's current-time setting. shim/gethostname stands in for a crate with no WASI build. Nothing in vendor/ or crates/ changes. - The page carries no upstream names or links; storage keys and the samples are renamed to match. build.sh --admin <dir> stages the result into an inbuxa-admin checkout.
34 lines
1011 B
Plaintext
34 lines
1011 B
Plaintext
Return-Path: <[email protected]>
|
|
Received: from mail.example.com (mail.example.com [192.0.2.25])
|
|
by mx.example.org with ESMTPS id 4F2A1B3C
|
|
for <[email protected]>; Tue, 8 Sep 2026 09:41:07 +0000
|
|
From: Alice Martin <[email protected]>
|
|
To: Jane Doe <[email protected]>
|
|
Subject: Q3 report and team offsite
|
|
Date: Tue, 8 Sep 2026 09:41:02 +0000
|
|
Message-ID: <[email protected]>
|
|
MIME-Version: 1.0
|
|
Content-Type: multipart/mixed; boundary="playground-boundary"
|
|
|
|
--playground-boundary
|
|
Content-Type: text/plain; charset="utf-8"
|
|
Content-Transfer-Encoding: 7bit
|
|
|
|
Hi Jane,
|
|
|
|
The Q3 report is attached. Could you review the numbers before
|
|
Thursday? We will go through them at the team offsite.
|
|
|
|
Thanks,
|
|
Alice
|
|
|
|
--playground-boundary
|
|
Content-Type: application/pdf; name="q3-report.pdf"
|
|
Content-Disposition: attachment; filename="q3-report.pdf"
|
|
Content-Transfer-Encoding: base64
|
|
|
|
JVBERi0xLjQKJcOkw7zDtsOfCjEgMCBvYmoKPDwgL1R5cGUgL0NhdGFsb2cgPj4KZW5kb2Jq
|
|
CnRyYWlsZXIKPDwgL1Jvb3QgMSAwIFIgPj4KJSVFT0YK
|
|
|
|
--playground-boundary--
|