docs(code-runtime): name python in the reference page and complete the ungated-edit list

This commit is contained in:
Chinesezjc
2026-08-06 00:22:05 +08:00
parent b2c1872799
commit 24cfe8f777
12 changed files with 31 additions and 30 deletions

View File

@@ -37,9 +37,10 @@ import { renderToolsSdkPy } from './py-types.ts'
* its `run_code` schema strings — plus the renderer function this table points
* at. The `satisfies` clause pins this table's key set to that union, which
* the flavor table is checked against too, so any of the three left out is a
* typecheck failure. A fourth edit is not checked anywhere: the seam's
* well-known-value list (`dsh-code-runtime`'s README and its
* `CodeRuntime.language` JSDoc) names the languages this table presents.
* typecheck failure. A further edit is not checked anywhere: the seam's
* well-known-value list — `dsh-code-runtime`'s README pair, its
* `CodeRuntime.language` JSDoc, and `docs/core-data-structures/code-runtime.md`
* with its zh pair — names the languages this table presents.
*/
const SDK_RENDERERS: Record<string, (schemas: ToolSdkSchema[]) => string> = {
typescript: renderToolsSdk,

View File

@@ -74,9 +74,9 @@ const IDENTIFIER = /^[\p{XID_Start}_]\p{XID_Continue}*$/u
* predicate rejected. A tool named `zz-\u{1E4D0}x` with such parameters never
* reaches the skew here (the `-` rejects it outright) yet emits
* `class Zz\u{1E4D0}xArgs`, which that same 3.9.6 refuses — Nag Mundari
* arrived two releases after its tables. The case mapping is
* a separate table rather than an XID membership test, and it fails on names
* both conditions above accept: `\u{019B}` is XID_Start and NFKC-stable, so
* arrived two releases after its tables. The case mapping is a separate table
* rather than an XID membership test, and it fails on names both conditions
* above accept: `\u{019B}` is XID_Start and NFKC-stable, so
* this predicate accepts it and `async def \u{019B}` compiles on 3.9.6, but
* Node uppercases it to `\u{A7DC}` — unassigned in that CPython, whose own
* `.upper()` is the identity here — and the declared `class \u{A7DC}Args`