diff --git a/docs/BUILD_CLI.md b/docs/BUILD_CLI.md index 19234cf..6c90393 100644 --- a/docs/BUILD_CLI.md +++ b/docs/BUILD_CLI.md @@ -27,14 +27,14 @@ npx fastedge-build --version ## Options -| Flag | Alias | Type | Description | -| ------------- | ----- | ---------- | -------------------------------- | -| `--input` | `-i` | `String` | Input JavaScript/TypeScript file | -| `--output` | `-o` | `String` | Output WebAssembly file path | -| `--tsconfig` | `-t` | `String` | Path to tsconfig.json | -| `--config` | `-c` | `String[]` | Path(s) to build config files | -| `--help` | `-h` | `Boolean` | Show help | -| `--version` | `-v` | `Boolean` | Show version | +| Flag | Alias | Type | Description | +| ------------ | ----- | ---------- | -------------------------------- | +| `--input` | `-i` | `String` | Input JavaScript/TypeScript file | +| `--output` | `-o` | `String` | Output WebAssembly file path | +| `--tsconfig` | `-t` | `String` | Path to tsconfig.json | +| `--config` | `-c` | `String[]` | Path(s) to build config files | +| `--help` | `-h` | `Boolean` | Show help | +| `--version` | `-v` | `Boolean` | Show version | ## Build Modes @@ -123,12 +123,12 @@ export { config }; ### BuildConfig Fields -| Field | Type | Required | Description | -| -------------- | --------------------- | -------- | -------------------------------------------------- | -| `type` | `'http' \| 'static'` | No | Build type; must be `http` or `static` if provided | -| `entryPoint` | `string` | Yes | Input JavaScript/TypeScript file | -| `wasmOutput` | `string` | Yes | Output WASM file path | -| `tsConfigPath` | `string` | No | Path to tsconfig.json | +| Field | Type | Required | Description | +| -------------- | -------------------- | -------- | -------------------------------------------------- | +| `type` | `'http' \| 'static'` | No | Build type; must be `http` or `static` if provided | +| `entryPoint` | `string` | Yes | Input JavaScript/TypeScript file | +| `wasmOutput` | `string` | Yes | Output WASM file path | +| `tsConfigPath` | `string` | No | Path to tsconfig.json | ### Static-Only Fields diff --git a/docs/SDK_API.md b/docs/SDK_API.md index 2c82d65..bf96403 100644 --- a/docs/SDK_API.md +++ b/docs/SDK_API.md @@ -1068,9 +1068,10 @@ Available as `crypto.subtle`. Supported operations: | Operation | Supported Algorithms | | ---------------------------------------------- | ------------------------------------- | -| `digest()` | SHA-1, SHA-256, SHA-384, SHA-512 | +| `digest()` | SHA-1, SHA-256, SHA-384, SHA-512, MD5 | | `sign()` / `verify()` | RSASSA-PKCS1-v1_5, ECDSA, HMAC | | `importKey()` | JWK, PKCS#8, SPKI, raw (HMAC) | +| `getRandomValues()` | ✓ | | `encrypt()` / `decrypt()` | **Not implemented** | | `generateKey()`, `deriveKey()`, `deriveBits()` | **Not implemented** | | `exportKey()` | **Not implemented** | diff --git a/docs/STATIC_SITES.md b/docs/STATIC_SITES.md index 7a1e3ef..6110208 100644 --- a/docs/STATIC_SITES.md +++ b/docs/STATIC_SITES.md @@ -131,9 +131,9 @@ All fields are optional. Pass only the fields you need. | `extendedCache` | `Array` | `[]` | Paths or patterns that receive a `Cache-Control: max-age=31536000` response header | | `compression` | `string[]` | `[]` | Content encodings to serve (e.g. `['br', 'gzip']`); matched against the request `Accept-Encoding` header | | `notFoundPage` | `string \| null` | `null` | Asset path to serve when no match is found (e.g. `'/404.html'`); only served for HTML-accepting requests | -| `autoExt` | `string[]` | `[]` | Extensions to append when no exact path match is found (e.g. `['.html']`) | -| `autoIndex` | `string[]` | `[]` | Index file names to try for directory requests (e.g. `['index.html']`) | -| `spaEntrypoint` | `string \| null` | `null` | Asset path served as the SPA fallback for unmatched routes; only served for HTML-accepting requests | +| `autoExt` | `string[]` | `[]` | Extensions to append when no exact path match is found (e.g. `['.html']`) | +| `autoIndex` | `string[]` | `[]` | Index file names to try for directory requests (e.g. `['index.html']`) | +| `spaEntrypoint` | `string \| null` | `null` | Asset path served as the SPA fallback for unmatched routes; only served for HTML-accepting requests | #### routePrefix diff --git a/fastedge-plugin-source/generate-docs.sh b/fastedge-plugin-source/generate-docs.sh index aa3cfae..6b5be7d 100755 --- a/fastedge-plugin-source/generate-docs.sh +++ b/fastedge-plugin-source/generate-docs.sh @@ -217,6 +217,11 @@ $existing_doc " fi + # Build prompt with sandwich output constraint: + # The OUTPUT CONSTRAINT appears at both the start and end of the prompt. + # This is critical for large prompts where the model may lose track of + # the instruction to output only raw markdown. Without it, the model + # sometimes produces conversational preamble or asks for permission. local prompt prompt="$(cat <