Skip to content

Commit b1efa37

Browse files
feat(metadata-protocol, spec, lint)!: a post-publish probe finding carries the sentence for the person who published, in their language (#34513)
<!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1X4KthxjbE68SmtZYZQBCfuQ)_ Part of #32984 This is the framework half of Q1, under ruling record 6929121584 on the card. Three parts of the card stay open after this merges: the console read of `userMessage` in `ui/packages/plugin-chatbot` (#34539), Q2 (the label of a field that a change will create: ruled B in record 6929142905, not built here; its cloud card is #34468 and its spec card #34469), and the cloud half of Q1 (the graph lint's findings, parked under the same ruling as #34467). Clause-②: yes (narrowing) — narrowed: `PublishPackageDraftsResponseSchema.probes` FROM `z.unknown()` (any value parses; input and output type `unknown`) → TO `BuildProbeReportSchema` (only the report parses; type `BuildProbeReport`). Widened: the optional `RuntimeBuildIssue.userMessage`, the new `RuntimeBuildIssueSchema` / `BuildProbeReportSchema` exports, and `userTextLocaleOf` / `renderUserText` / `UserTextEntry` from `@objectstack/lint`. Metadata-protocol: added Skills-docs: follow-up #34552 ## 维护者速读 - **改了什么**:发布之后的运行检查(ADR-0038 L3 探针)给每条发现多带一句 `userMessage`,是写给发布者本人看的话。语言按请求来定:请求语言,否则工作区默认语言,否则英文;覆盖平台 11 种语言和全部 8 个探针代码。句子里用标签称呼仪表盘、组件、数据集、视图和对象,读不到标签时才用 API 名;发布账号被拒绝读取的对象例外,按拒绝里的 API 名称呼,探针不去读它的标签。`probes` 在 spec 里由 `z.unknown()` 改为有模型的 `BuildProbeReportSchema`,这是一次申报过的收窄(`Clause-②: yes (narrowing)`),ADR-0038 追加一节修订。 - **为什么改**:构建健康卡把写给 agent 的英文 `message` 直接给客户看,客户看不懂,也不知道下一步做什么(卡片第 4 项)。裁决记录 6929121584 定为「出问题的一方写客户句」,客户端不再各自维护一张按代码翻译的表。 - **风险与回滚**:`message`、`fix`、`code` 逐字节不变,现有读取方不受影响;`userMessage` 是新增的可选字段。唯一变严的地方,已按收窄申报:`probes` 不再接受不是报告形状的值。平台自己的生产者只产出这一种形状(两套一致性测试对真实生产者实测),受影响的只会是手写这个响应的代码(别的协议宿主、测试替身),TypeScript 编译器会在调用处指出来;changeset 带 BREAKING 说明和改法。回滚就是 revert 本 PR;在控制台的第二个 PR 合并之前,界面仍显示 `message`。 - **先看**:① `packages/spec/src/api/protocol.zod.ts` 里的 `RuntimeBuildIssueSchema`、`BuildProbeReportSchema` 和 `probes:` 那一行(契约形状,风险最高);② `packages/metadata-protocol/src/build-probes.user-text.ts`(11 种语言的句子,值得请母语读者抽看措辞);③ `packages/metadata-protocol/src/build-probes.ts` 里每个 `issues.push` 新增的 `userMessage: say(...)`,以及取标签的 `labelIn` / `labelOf`。 - **两分钟验证**:运行 `pnpm --filter @objectstack/metadata-protocol exec vitest run --maxWorkers=2 src/build-probes-user-message.test.ts`,预期全部通过;用例对中文句子做逐字断言,例如「仪表盘“团队看板”中的组件“未完成任务”没有显示任何数据,但“Tasks”中有记录。」 - **需要你做的**:一个动作:批准这次申报的收窄(`probes` 从此只接受报告形状的值,见 Acceptance notes 第 5 条)。本 PR 触及 `docs/adr/**` 和 `packages/spec/src/**`,是 Tier H;契约评审记录由席位送审。 ## What changes **`@objectstack/spec` (`packages/spec/src/api/protocol.zod.ts`).** `probes` on `PublishPackageDraftsResponseSchema` is modeled. It was `z.unknown()`; it is now `BuildProbeReportSchema`: `issues[]` of `RuntimeBuildIssueSchema`, and `checked` with the `seeds`, `views`, `widgets` and `objects` counts. `RuntimeBuildIssueSchema` declares `layer`, `severity`, `artifact`, `ref` (optional), `code`, `message`, `fix` (optional) and the new optional `userMessage`. These are the members the probe pass already wrote, one for one, plus the new field. `code` stays an open string, because the producer's list may grow and a consumer treats an unknown id as any other finding. The notes that called `probes` "deliberately opaque" (the #9406 staging) now say which consumer reads which fields. The two types `RuntimeBuildIssue` and `BuildProbeReport` are declared once, in spec. **`@objectstack/metadata-protocol`.** - `build-probes.ts`: every finding the probes emit carries `userMessage`. `message`, `fix` and `code` are byte-identical to before. `RunBuildProbesOptions` gains `userTextLocales`; the local `RuntimeBuildIssue` and `BuildProbeReport` interfaces are replaced by re-exports of the spec types, so the producer and the declared response cannot drift apart. - `build-probes.user-text.ts` (new): the sentence catalog. Eight codes, every branch of each, in the eleven platform locales (`en`, `zh-Hans`, `zh-Hant`, `es`, `ar`, `fr`, `pt-BR`, `ru`, `de`, `ja`, `ko`). - `protocol-history-and-publish.ts`: `publishPackageDrafts` hands the `request.userTextLocales` it already holds to `runBuildProbes`. No request parameter is added. **`@objectstack/lint`.** `userTextLocaleOf` and `renderUserText`, the locale ladder behind `findingUserMessage`, are exported from the package root and from `@objectstack/lint/runtime`, with the `UserTextEntry` type. The probes use that ladder instead of a second copy. **ADR-0038.** A dated amendment, "two readers, two channels", appended at the end: `message` and `fix` are the agent's text, `userMessage` is the person's sentence, the producer writes it under the locale ladder, and clients keep no per-code table. It cites ruling records 6819749037 and 6929121584. **Generated by their tools, not by hand.** `packages/spec/{api-surface,authorable-surface,declaration-map,export-origins,json-schema.manifest}/api.json`, `content/docs/references/api/protocol.mdx`, `content/docs/references/index.mdx` and `docs/audits/2026-07-unknown-key-strictness-ledger.counts/api.md`, all written by `pnpm --filter @objectstack/spec run check:generated --fix` after a spec build. **Comment-only edits that the change made false.** `packages/client/src/index.ts` (the docblock of the publish-drafts answer), `packages/runtime/src/route-ledger.ts` (a note string, in a module that is not bundled into the runtime's built output) and `packages/metadata-protocol/src/protocol.ts` (a docblock, with a zero-line delta against the facade line ceiling). Nothing under `ui/**` is touched. The console keeps rendering `message` until the second pull request reads `userMessage`. ### What the person reads, per code A sentence names an artifact by its label where the probe can read one from the published item, and by its API name otherwise. | code | names shown | English sentence (labels: dashboard "Task board", widget "Open tasks", dataset "Task totals", object "Tasks", view "All tasks") | |---|---|---| | `seed_not_applied` | the seeded object's label (a seed has no label) | The sample data for "Tasks" did not load, so "Tasks" has no records yet. Check the sample data, then publish again. | | `view_read_failed` | view label, object label | The view "All tasks" cannot read "Tasks", so it shows an error instead of records. Make sure "Tasks" is published, then publish again. | | `object_field_ref_unknown` | object label | One of the settings of "Tasks" names a field that does not exist or cannot be used there, so that setting does not work. Correct the field it names, then publish again. | | `object_field_ref_rule_failed` | object label | "Tasks" was published, but its field settings could not be checked. The problem is in the check itself, not necessarily in "Tasks"; contact your administrator if it happens again. | | `widget_not_probed` | dashboard label, widget title; the dataset by its API name | The widget "Open tasks" on dashboard "Task board" was not checked: more than one dataset is named "crm_task_totals", so the dashboard cannot tell which one it means. Rename or remove the others, then publish again. | | `empty_query` | dashboard, widget, dataset and object, all by label | The widget "Open tasks" on dashboard "Task board" shows no data, although "Tasks" has records. Check the fields that its dataset "Task totals" measures and groups by, then publish again. | | `widget_query_failed` | dashboard, widget and dataset by label; the object by label for a query that fails, and by the API name the refusal names for a refusal or an undecided read (nothing of that object is read); no object when the refusal names none | The widget "Open tasks" on dashboard "Task board" could not load its data: the account that published it does not have read access to "crm_task". Ask an administrator for that access, then publish again. People who already have it can see the widget. | | `probes_unavailable` | no name: one finding covers every dashboard of the publish | Dashboard widgets were not checked (3 in total), because analytics is not available in this environment. Open each published dashboard to see whether its widgets load. | `widget_not_probed` names its dataset by API name on purpose: the read of that dataset was refused, so there is no body to take a label from, and the name is the subject of the sentence (two datasets share it). `seed_not_applied`, `widget_not_probed` and `widget_query_failed` have more than one branch; the table shows one of each. <details> <summary>Every code and branch, in English and in Simplified Chinese</summary> ```text en | seed_not_applied (no-rows) | The sample data for "Tasks" did not load, so "Tasks" has no records yet. Check the sample data, then publish again. en | seed_not_applied (unreadable) | The sample data for "Tasks" could not be checked, because "Tasks" could not be read after publishing. Publish again, and contact your administrator if it happens again. en | view_read_failed | The view "All tasks" cannot read "Tasks", so it shows an error instead of records. Make sure "Tasks" is published, then publish again. en | object_field_ref_unknown | One of the settings of "Tasks" names a field that does not exist or cannot be used there, so that setting does not work. Correct the field it names, then publish again. en | object_field_ref_rule_failed | "Tasks" was published, but its field settings could not be checked. The problem is in the check itself, not necessarily in "Tasks"; contact your administrator if it happens again. en | widget_not_probed (outside-closure) | The widget "Open tasks" on dashboard "Task board" was not checked: its dataset "crm_task_totals" belongs to a package that this one does not depend on. Add that package as a dependency, or keep the dataset in this package, then publish again. en | widget_not_probed (ambiguous-in-closure) | The widget "Open tasks" on dashboard "Task board" was not checked: more than one package that this one depends on has a dataset named "crm_task_totals", so the dashboard cannot tell which one it means. Depend on only one of them, or keep the dataset in this package, then publish again. en | widget_not_probed (several-holders) | The widget "Open tasks" on dashboard "Task board" was not checked: more than one dataset is named "crm_task_totals", so the dashboard cannot tell which one it means. Rename or remove the others, then publish again. en | empty_query | The widget "Open tasks" on dashboard "Task board" shows no data, although "Tasks" has records. Check the fields that its dataset "Task totals" measures and groups by, then publish again. en | widget_query_failed (access) | The widget "Open tasks" on dashboard "Task board" could not load its data: the account that published it does not have read access to "crm_task". Ask an administrator for that access, then publish again. People who already have it can see the widget. en | widget_query_failed (field-access) | The widget "Open tasks" on dashboard "Task board" could not load its data: the account that published it does not have read access to some fields of "crm_task". Ask an administrator for that access, then publish again. People who already have it can see the widget. en | widget_query_failed (unavailable) | The widget "Open tasks" on dashboard "Task board" was not checked: the server could not confirm read access to "crm_task" this time. The widget needs no change; publish again later, and contact your administrator if it happens again. en | widget_query_failed (query) | The widget "Open tasks" on dashboard "Task board" cannot load its data, so it shows an error. Check its dataset "Task totals" and the values the widget shows, then publish again. en | probes_unavailable | Dashboard widgets were not checked (3 in total), because analytics is not available in this environment. Open each published dashboard to see whether its widgets load. zh-CN | seed_not_applied (no-rows) | “Tasks”的示例数据没有加载成功,所以“Tasks”中还没有任何记录。请检查示例数据,然后重新发布。 zh-CN | seed_not_applied (unreadable) | 无法检查“Tasks”的示例数据,因为发布后无法读取“Tasks”。请重新发布;如果问题再次出现,请联系管理员。 zh-CN | view_read_failed | 视图“All tasks”无法读取“Tasks”,因此它会显示错误而不是记录。请确认“Tasks”已发布,然后重新发布。 zh-CN | object_field_ref_unknown | “Tasks”的某项设置引用了一个不存在或不能在该处使用的字段,因此这项设置不会生效。请更正它引用的字段,然后重新发布。 zh-CN | object_field_ref_rule_failed | “Tasks”已发布,但无法检查它的字段设置。问题出在检查本身,不一定出在“Tasks”上;如果再次出现,请联系管理员。 zh-CN | widget_not_probed (outside-closure) | 仪表盘“Task board”中的组件“Open tasks”未被检查:它的数据集“crm_task_totals”属于当前软件包未依赖的软件包。请把那个软件包添加为依赖,或把该数据集放在当前软件包中,然后重新发布。 zh-CN | widget_not_probed (ambiguous-in-closure) | 仪表盘“Task board”中的组件“Open tasks”未被检查:当前软件包依赖的多个软件包中都有名为“crm_task_totals”的数据集,仪表盘无法确定用的是哪一个。请只依赖其中一个软件包,或把该数据集放在当前软件包中,然后重新发布。 zh-CN | widget_not_probed (several-holders) | 仪表盘“Task board”中的组件“Open tasks”未被检查:有多个数据集都叫“crm_task_totals”,仪表盘无法确定用的是哪一个。请重命名或删除其余的数据集,然后重新发布。 zh-CN | empty_query | 仪表盘“Task board”中的组件“Open tasks”没有显示任何数据,但“Tasks”中有记录。请检查它的数据集“Task totals”用于度量和分组的字段,然后重新发布。 zh-CN | widget_query_failed (access) | 仪表盘“Task board”中的组件“Open tasks”无法加载数据:发布时使用的账号没有“crm_task”的读取权限。请让管理员授予该权限,然后重新发布。已有该权限的人可以正常看到这个组件。 zh-CN | widget_query_failed (field-access) | 仪表盘“Task board”中的组件“Open tasks”无法加载数据:发布时使用的账号没有“crm_task”中部分字段的读取权限。请让管理员授予该权限,然后重新发布。已有该权限的人可以正常看到这个组件。 zh-CN | widget_query_failed (unavailable) | 仪表盘“Task board”中的组件“Open tasks”未被检查:服务器这次无法确认“crm_task”的读取权限。该组件无需修改;请稍后重新发布,如果再次出现,请联系管理员。 zh-CN | widget_query_failed (query) | 仪表盘“Task board”中的组件“Open tasks”无法加载数据,因此会显示错误。请检查它的数据集“Task totals”以及该组件显示的值,然后重新发布。 zh-CN | probes_unavailable | 仪表盘组件未被检查(共 3 个),因为当前环境中没有可用的分析服务。请打开每个已发布的仪表盘,确认其中的组件能否正常加载。 ``` </details> ## Tests - `packages/metadata-protocol/src/build-probes-user-message.test.ts` (new). Fourteen real probe runs, one per code and branch, over published items with labels. For each run and each of the eleven locales: `userMessage` equals the catalog sentence for the expected params, the labels appear, the API names of labelled artifacts do not, `message` and `fix` are unchanged, and the finding and the report parse through the spec schemas with nothing stripped. It also pins the ladder (request locale over workspace default, default when the request names none, an unknown locale falling through, the `en` floor, regional tags such as `de-AT`, `zh-TW` and `zh-Hant-HK`), the label fallbacks (no label, blank label, unreadable body, a read that throws), and the catalog itself: its keys are the codes scanned from `build-probes.ts`, every code is exercised, and every entry answers in every platform locale. - `packages/metadata-protocol/src/build-probes-rule-failure.test.ts`: the rule-failure finding carries the English and the Chinese sentence, and neither contains the thrown text. - `packages/spec/src/api/protocol.test.ts`: the report and the finding schemas accept what the producer emits, keep `userMessage`, accept a code that a later probe adds, and reject a `probes` value that is not the report. `packages/spec/src/type-alias-convention.pin.test.ts` counts the two new type aliases. - `packages/objectql/src/publish-package-drafts-response-conformance.test.ts` and `packages/runtime/src/domains/packages-publish-drafts-response-conformance.test.ts`: the real producer's response parses through the modeled schema and equals the raw answer ("declared = returned"). - `packages/runtime/src/domains/packages-publish-drafts-probe-caller-context.test.ts`: through the real REST door, a `zh-CN` caller reads the Chinese sentence with labels, a caller with no locale in a `fr-FR` workspace reads the French one, a caller with neither reads English, and a clean publish has no findings (control). ## Acceptance notes The dispatch order's mechanism assumptions, as measured on the tree: 1. **Locales reach the probe without a new request parameter: holds.** `publishPackageDrafts` holds `request.userTextLocales`; the REST door fills it from the caller's locale and the workspace default (`packages/runtime/src/domains/packages.ts`). The probe options gained `userTextLocales`, and that is the whole hand-off. 2. **Reuse the lint ladder: holds, with one addition.** `@objectstack/metadata-protocol` already depends on `@objectstack/lint`, so the direction is legal. The ladder was module-internal to lint, so this pull request exports `userTextLocaleOf` and `renderUserText` from lint's two barrels. That widens lint's published surface by two functions and one type, and puts lint in the changeset. Rollback of that part is dropping the two export lines. 3. **"11 platform locales": holds.** `PLATFORM_LOCALE_TAGS` in `@objectstack/spec/system` has eleven tags, and the catalog pin requires each entry to answer in exactly that set. 4. **Labels through `publishedItemReader`: holds, per code as in the table above.** A label is the published body's own `label` (a widget's `title`), resolved for the sentence's locale when it is a per-locale map. Translation bundles are not consulted: an app that keeps its labels only in a translation bundle shows the body's label, or the API name when the body has none. 5. **A declared narrowing (contract review 6933939654, M1).** The model is one for one what `runBuildProbes` emits, and the schema is not strict, so an extra key is not rejected; the two conformance suites parse the real producer's answer and require it to equal the raw answer. But a `probes` value that is not the report (a string, a different object, a finding missing a member) no longer parses, where `z.unknown()` accepted anything, and the `z.input` type `PublishPackageDraftsResponse` moves from `unknown` to the report for code that writes it. The repository reads that as a narrowing with zero measured instances (ADR-0087's reading of a surface moving off `unknown`), so the PR body and the changeset declare `Clause-②: yes (narrowing)` with the FROM → TO line, the changeset carries the BREAKING note with its fix, and its ADR-0087 disposition is `not-required (no-migration-prescription)`: `probes` is a response field the platform writes, so nothing exists for `objectstack migrate meta` to rewrite. `type-surface-only` does not apply (the diff touches `packages/spec`). The full dogfood battery ran on the final head (Verification). 6. **`Metadata-protocol: added` (corrected by the seat from `none`).** `check:authorable-surface` is green and `authorable-surface.base.json` did not move, but `packages/spec/authorable-surface/api.json` gained ten keys (the keys of the two response schemas), and the changeset ratchet reads a moved shard as keys entered; the changeset says `added` with spec at minor. The probe writes these keys; no metadata author does. 7. **An object the caller was refused is named as its refusal names it (contract review 6933939654, S1).** After a read-admission refusal (`access`, `field-access`) or a read gate that could not decide (`unavailable`), the sentence names the object by the API name the refusal carries, exactly as `fix` names it, and the probe reads nothing of that object, its label included. Only a query that failed for another reason reads the dataset's object for its label. Pinned in `build-probes-user-message.test.ts` (zero object reads for the three failures, with the query failure as the control) and through the REST door. Other notes: - The ADR amendment is 24 lines, a little over the "about 10 to 20" the order suggested. - The file surface is wider than the order's scope list by the lint barrels, the two conformance suites, the runtime door test, and the three comment-only edits listed under "What changes". - `origin/main` was merged into the branch once (`scripts/pm/os-regen-merge.sh`), because the generated reference index moved on `main`. - The publish toasts outside the health line (publish-all-drafts and `PendingDraftsBar`) print `issues[].message` verbatim: filed #34553. - `message` builds its widget id as `String(w.id ?? w.title ?? '?')`, which would print `[object Object]` for a widget with no `id` and a per-locale `title` map: not a defect reachable today, because the dashboard schema requires a widget `id`. `ref.member` now says what the producer writes. - `publishedItemReader` returns `wrapper?.item ?? wrapper`, and the real `getMetaItem` answers a missing item with an envelope whose `item` is empty, so that envelope is taken as the body (read-only inference, no reproduction; the unit doubles answer `undefined`): filed #34560. ## Verification **Round 2 (rework after contract review 6933939654 and L1 6933808750), final head `e5d2d0c9`** (`origin/main` merged once more through `scripts/pm/os-regen-merge.sh`; `check:generated` then 14 of 14 up to date with nothing to commit). Each command ran through `scripts/pm/os-verify-lock.sh`; the verdict is the lock's own line. The round-1 blocks after this one are on head `c082171d5`, whose feature code is unchanged since `3b2707ab6`; round 1's last head `8d8b7cd7` differs from `c082171d5` by a main merge whose `packages/` patch-id for this PR's own changes is unchanged (`a18ddbbd9d4f`, measured by L1), plus the reference index and the changeset. <details> <summary>Round 2: affected packages, the dogfood battery, the S1 ablation, the derived gates</summary> ```text Head e5d2d0c. Closure build (turbo, dogfood/runtime/objectql/client and their dependencies): 70/70, VERDICT command-exit 0. pnpm --filter @objectstack/spec test VERDICT command-exit 0 · Test Files 846 passed (846) · Tests 27091 passed | 1 todo (27092) pnpm --filter @objectstack/spec typecheck VERDICT command-exit 0 pnpm --filter @objectstack/metadata-protocol test VERDICT command-exit 0 · Test Files 347 passed | 9 skipped (356) · Tests 23003 passed | 45 skipped (23048) pnpm --filter @objectstack/metadata-protocol typecheck VERDICT command-exit 0 pnpm --filter @objectstack/lint test VERDICT command-exit 0 · Test Files 214 passed (214) · Tests 9091 passed (9091) pnpm --filter @objectstack/lint typecheck VERDICT command-exit 0 pnpm --filter @objectstack/objectql test VERDICT command-exit 0 · Test Files 604 passed (604) · Tests 13504 passed (13504) pnpm --filter @objectstack/objectql typecheck VERDICT command-exit 0 pnpm --filter @objectstack/runtime test VERDICT command-exit 0 · Test Files 609 passed (609) · Tests 11274 passed | 19 skipped (11293) pnpm --filter @objectstack/runtime typecheck VERDICT command-exit 0 pnpm --filter @objectstack/client test VERDICT command-exit 0 · Test Files 58 passed (58) · Tests 812 passed (812) pnpm --filter @objectstack/client typecheck VERDICT command-exit 0 Dogfood battery (owed by the (narrowing) arm), on the final head, the command CI runs, no shard, no path: pnpm --filter @objectstack/dogfood test VERDICT command-exit 0 · Test Files 478 passed | 3 skipped (481) · Tests 4030 passed | 44 skipped (4074) S1 ablation (scripts/ablation-replace.mjs on head 1c79f8c, the commit that added the rule): build-probes.ts: `refusal || unavailable ? saidObject : await labelOf('object', saidObject)` -> `(await labelOf('object', saidObject))` anchor x1 -> x0; build-probes-user-message.test.ts: Tests 5 failed | 29 passed (34) restored: blob == HEAD (a7c237a), `git diff HEAD` empty Derived gates: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack -> 125 commands. Each ran as printed (< /dev/null, exit captured before any pipe). 122 exit 0 on the first pass; 3 exit 3 (prerequisite not met, nothing measured): check-plugin-teardown-shape --self-test (its pinned control commit was not in this shallow clone; fetched), check:skill-examples and check:dual-build-cjs-loads (unbuilt dists). After the prerequisites, all three exit 0. Reconciliation: --ran -> 125 derived, 125 run, 0 NOT-MEASURED, 0 UNRUN. node scripts/check-adr-0087-registration.mjs --base origin/main ✓ 1 declared-breaking changeset(s), each carrying an ADR-0087 disposition. .changeset/32984-build-probe-user-message.md [BREAKING+bang+clause-②-narrowing] not-required (no-migration-prescription) CI on e5d2d0c: 60 success, 12 skipped, 0 failure (Check Changeset green after the body's declaration line was rewritten). ``` </details> <details> <summary>Affected packages: tests and typecheck</summary> ```text Head c082171. Each command ran through scripts/pm/os-verify-lock.sh; the verdict is the lock's own line. pnpm --filter @objectstack/spec test VERDICT command-exit 0 · Test Files 846 passed (846) · Tests 27079 passed | 1 todo (27080) pnpm --filter @objectstack/spec typecheck VERDICT command-exit 0 pnpm --filter @objectstack/runtime typecheck VERDICT command-exit 0 pnpm --filter @objectstack/runtime exec vitest run --maxWorkers=2 src/domains/packages-publish-drafts-response-conformance.test.ts src/domains/packages-publish-drafts-probe-caller-context.test.ts VERDICT command-exit 0 · Test Files 2 passed (2) · Tests 16 passed (16) pnpm --filter @objectstack/client typecheck VERDICT command-exit 0 (tsc, then check:test-typecheck: OK) pnpm --filter @objectstack/client test VERDICT command-exit 0 · Test Files 58 passed (58) · Tests 812 passed (812) Head 3b2707a. The later commit changes one spec test file and one runtime test file, both re-run above, so these suites read the same sources on both heads. pnpm --filter @objectstack/metadata-protocol test VERDICT command-exit 0 · Test Files 347 passed | 9 skipped (356) · Tests 23002 passed | 45 skipped (23047) pnpm --filter @objectstack/metadata-protocol typecheck VERDICT command-exit 0 pnpm --filter @objectstack/lint test VERDICT command-exit 0 · Test Files 214 passed (214) · Tests 9083 passed (9083) pnpm --filter @objectstack/lint typecheck VERDICT command-exit 0 pnpm --filter @objectstack/objectql test VERDICT command-exit 0 · Test Files 604 passed (604) · Tests 13504 passed (13504) pnpm --filter @objectstack/objectql typecheck VERDICT command-exit 0 pnpm --filter @objectstack/runtime test VERDICT command-exit 0 · Test Files 609 passed (609) · Tests 11274 passed | 19 skipped (11293) Not run locally: the vitest `repo` project (test:repo). CI's Test Core runs it. ``` </details> <details> <summary>Reverse verification and four ablations (one-time proofs, nothing left in the tree)</summary> ```text All five ran on head 3b2707a, after the implementation was committed. Every mutation was written by scripts/ablation-replace.mjs (the anchor must match; the write and the restore are verified on disk), the expected direction was red each time, and every restore ended with `git diff HEAD` empty. Reverse verification: the probes are typed by the spec schema, not by a stale declaration. A finding with severity 'info' in build-probes.ts, then pnpm --filter @objectstack/metadata-protocol typecheck src/build-probes.ts(671,13): error TS2322: Type '"info"' is not assignable to type '"error" | "warning"'. VERDICT command-exit 2. Restored: blob == HEAD. Ablation 1: runBuildProbes ignores userTextLocales. build-probes-user-message.test.ts and build-probes-rule-failure.test.ts Tests 25 failed | 13 passed (38). Restored. Ablation 2: the label lookup returns the API name. The same two files: Tests 26 failed | 12 passed (38). Restored. Ablation 3: `probes` in spec back to z.unknown(). packages/spec/src/api/protocol.test.ts: Tests 1 failed | 265 passed (266). The failing case is "probes is the report or it is absent". Restored. Ablation 4: publishPackageDrafts stops handing the locales to the probes. The runtime door test resolves @objectstack/metadata-protocol through dist/, so each leg was built and checked in the built output before its run was read. Mutate, build, node scripts/ablation-dist-preflight.mjs @objectstack/metadata-protocol ablation32984ProbeLocalesDropped dist/: marker present in 2 built files packages-publish-drafts-probe-caller-context.test.ts: Tests 2 failed | 4 passed (6) Restore, build, preflight --absent dist/: marker absent from all 24 built files · tree: working tree clean against HEAD The same file: 6 passed. ``` </details> <details> <summary>Gates: the derived local list and its reconciliation</summary> ```text Head c082171. Derivation: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack 125 commands, from the tree at c082171 (26 paths against merge base 0e2e4f5; +2270 / -109). Each command ran as printed, with its exit code captured before any pipe. Reconciliation: node scripts/pm/dispatch-gates.mjs --ran RAN_LIST --repo objectstack-ai/objectstack Run reconciliation — 125 derived, 124 run, 1 NOT-MEASURED, 0 UNRUN. Exit 0: 124. NOT MEASURED: 1. node scripts/check-plugin-teardown-shape.mjs --self-test, exit 3. Its positive control is pinned to commit 621a487, which this shallow checkout cannot reach. CI runs it on a full checkout. Two gates were red on 3b2707a because of this change. Both are green on c082171: pnpm check:error-code-casing Was: four lowercase probe codes in packages/spec/src/api/protocol.test.ts read as error codes. They are ADR-0112 D6c diagnostics codes carried in a 200, so each line now carries the gate's mark. ✓ no unlisted lowercase error codes in 12701 scanned file(s) (ADR-0112). pnpm check:test-source-alias Was: the edited runtime conformance test reached a dynamic @objectstack/metadata import inside a case. It now imports that package at module top, as the sibling door tests do. check-test-source-alias OK — 122 packages with tests scanned Thirty of the 124 first ran while a package rebuild was writing dist/. All thirty ran again on a quiet tree, all exit 0, and those second readings are the ones counted. Verdict lines of the gates this change is most likely to move: pnpm --filter @objectstack/spec run check:generated ✓ All 14 generated artifacts are up to date pnpm --filter @objectstack/spec run check:api-surface @objectstack/spec public API surface + factory signatures unchanged ✓ pnpm --filter @objectstack/spec run check:authorable-surface exit 0; authorable-surface.base.json is untouched by this branch (its baseRev lag is the gate's own information line, not an error) pnpm check:facade-delegation-only ✓ packages/metadata-protocol/src/protocol.ts: 11634 lines, ceiling 11705 (71 left; ruling 6897467376) pnpm check:dual-build-cjs-loads ✓ 124 published require entry point(s) across 72 package(s) load; 2610 emitted CommonJS file(s) parse pnpm check:type-check-debt check-type-check-coverage --re-measure: OK — 0 raw tsc error(s) total, none above its recorded number. node scripts/check-empty-changeset.mjs --base origin/main ✓ No empty-frontmatter changeset introduced by this diff (1 declaring changeset(s) added). Outside the derived list: node scripts/check-platform-checklist.mjs --changed-from origin/main OK — 4 anchored file(s) in the change set, 51 anchor(s) judged, 0 lost. node scripts/check-nul-bytes.mjs OK (scanned 25691 text file(s); no raw ASCII control bytes). pnpm check:dev-prereqs (a reading about this machine, kept local) exit 1, "The workspace is not built": 34 of 107 workspace packages have no dist, the named ones under ui/. This worktree built only what this change needs. ``` </details> <details> <summary>Merge check against open pull requests that touch these files</summary> ```text `git merge-tree --write-tree` of head c082171 against origin/main and against the head of every open pull request that shares a file with this branch, or that opened or moved while this work was running. origin/main (bdd5176): exit 0. This branch last merged main at 0e2e4f5. The ten commits since then touch none of the spec or generated files here; one shares packages/client/src/index.ts and merges clean. 34472, the pull request that owns the console lines (ui/** only): exit 0, no shared file. 34439: exit 0. Shares packages/metadata-protocol/src/protocol.ts, no conflict. 34267: exit 0. Shares the generated content/docs/references/index.mdx. 34238: exit 1. The only conflicted file is packages/metadata-protocol/src/protocol-save.ts, which this branch does not touch. Control leg: origin/main against 34238 gives exit 1 with the same single file, so that is its own drift from main. It also regenerates content/docs/references/api/protocol.mdx, and edits protocol.zod.ts and protocol.ts without a text conflict. 28 further open pull requests: exit 0, no shared file. Where two branches regenerate the same file, the one that lands second regenerates it from the merged tree with scripts/pm/os-regen-merge.sh. ``` </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5pXLdNhF4Uiyzmgi9Z)_ <!-- signed: repo:objectstack#2 · os-steve · session_01ADHkmPq1nAfsjMkqnXC2dA --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 97defd6 commit b1efa37

26 files changed

Lines changed: 2352 additions & 110 deletions
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
'@objectstack/spec': minor
3+
'@objectstack/metadata-protocol': patch
4+
'@objectstack/lint': patch
5+
---
6+
7+
feat(metadata-protocol, spec, lint)!: a post-publish probe finding carries the sentence for the person who published, in their language
8+
9+
Clause-②: yes (narrowing) — narrowed: `PublishPackageDraftsResponseSchema.probes` FROM `z.unknown()` (any value parses; input and output type `unknown`) → TO `BuildProbeReportSchema` (only the report parses; type `BuildProbeReport`). Widened: the optional `RuntimeBuildIssue.userMessage`, the new `RuntimeBuildIssueSchema` / `BuildProbeReportSchema` exports, and `userTextLocaleOf` / `renderUserText` / `UserTextEntry` from `@objectstack/lint`.
10+
Metadata-protocol: added
11+
Skills-docs: follow-up #34552
12+
13+
<!-- adr-0087: not-required (no-migration-prescription) No key a metadata author writes is removed, renamed or re-shaped and no stored row changes shape: `probes` is a field of the publish-drafts RESPONSE, written by the platform's own probe pass, which emits only the report. Nothing exists for `objectstack migrate meta` to rewrite; the code that meets the narrowing is a hand-written producer or test double of that response, and the TypeScript compiler names it at its call site. -->
14+
15+
**BREAKING** for code that builds a `PublishPackageDraftsResponse` by hand (another protocol host, a test double) with a `probes` value that is not the report, or that parses such a value through `PublishPackageDraftsResponseSchema`: it used to parse, and it is now refused at `probes`. The fix: write `probes` as `{ issues: RuntimeBuildIssue[], checked: { seeds, views, widgets, objects } }`, or leave it out. A reader of `probes` loses nothing: the type moves from `unknown` to the report, so a cast is no longer needed.
16+
17+
`POST /packages/:id/publish-drafts` answers with `probes`, the report of the checks that run after a publish (ADR-0038 L3). Each finding in `probes.issues[]` now carries `userMessage`: one sentence for the person who asked for the app, composed by the probe in the request's language. The language is the request's locale, else the workspace default, else English, over the eleven platform locales. A sentence names a dashboard, widget, dataset, view or object by its label where the probe can read one, and by its API name otherwise. An object the publishing account was refused, or whose read access the server could not decide, is named by the API name the refusal carries, and the probe reads nothing of it.
18+
19+
`message` and `fix` are unchanged: they stay the English text written for the agent that published, and `code` stays the stable id. A client shows `userMessage` to a person and no longer needs a per-code translation table; when the field is absent it shows its own generic sentence. All eight probe codes have sentences: `seed_not_applied`, `view_read_failed`, `object_field_ref_unknown`, `object_field_ref_rule_failed`, `widget_not_probed`, `empty_query`, `widget_query_failed` and `probes_unavailable`.
20+
21+
`@objectstack/spec`: `probes` on `PublishPackageDraftsResponseSchema` is modeled. It was `z.unknown()`; it is now `BuildProbeReportSchema` (`issues[]` of `RuntimeBuildIssueSchema`, and `checked` with the `seeds`, `views`, `widgets` and `objects` counts), member for member what the probe pass returns. The inferred type of `probes` changes from `unknown` to the report, so code that reads it no longer needs a cast. A `probes` value that is not the report no longer parses through the schema; the platform's own producer emits nothing else.
22+
23+
`@objectstack/metadata-protocol`: `RuntimeBuildIssue` and `BuildProbeReport` are now re-exports of the spec types, and `runBuildProbes` takes `userTextLocales`, which `publishPackageDrafts` fills from the request.
24+
25+
`@objectstack/lint`: `userTextLocaleOf` and `renderUserText`, the locale ladder behind `findingUserMessage`, are exported (also from `@objectstack/lint/runtime`) with the `UserTextEntry` type, so a producer that keeps its own sentences uses the same ladder.

‎content/docs/references/api/protocol.mdx‎

Lines changed: 78 additions & 4 deletions
Large diffs are not rendered by default.

‎content/docs/references/index.mdx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Protocol reference — every schema by module
33
navTitle: Protocol Reference
4-
description: Every schema published by @objectstack/spec — 1666 schemas across 14 protocol modules
4+
description: Every schema published by @objectstack/spec — 1668 schemas across 14 protocol modules
55
---
66

77
{/* ⚠️ AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs live in the module folders under content/docs/. */}
@@ -21,7 +21,7 @@ counts are sums of the rows they head. Regenerate with
2121
| Module | Pages | Schemas | Description |
2222
| :--- | ---: | ---: | :--- |
2323
| [AI Protocol](/docs/references/ai) | 14 | 81 | Agents, tools, skills, RAG and knowledge sources, model registry, conversations. |
24-
| [API Protocol](/docs/references/api) | 36 | 494 | REST contracts, endpoints, routing, realtime, batch, discovery. |
24+
| [API Protocol](/docs/references/api) | 36 | 496 | REST contracts, endpoints, routing, realtime, batch, discovery. |
2525
| [Automation Protocol](/docs/references/automation) | 16 | 82 | Flows and their nodes, approvals, ETL pipelines, webhooks, state machines, execution records. |
2626
| [Data Protocol](/docs/references/data) | 35 | 187 | Objects, fields, queries, filters, datasources and drivers — the ObjectQL layer. |
2727
| [Identity Protocol](/docs/references/identity) | 5 | 27 | Users and accounts, organizations, positions, SCIM provisioning. |
@@ -34,7 +34,7 @@ counts are sums of the rows they head. Regenerate with
3434
| [Studio Protocol](/docs/references/studio) | 3 | 35 | Studio designer metadata — the authoring surfaces for the protocols above. |
3535
| [System Protocol](/docs/references/system) | 40 | 297 | The runtime environment — logging, jobs, cache, metrics, notifications, i18n and compliance. |
3636
| [UI Protocol](/docs/references/ui) | 16 | 177 | Apps, pages, views, dashboards, reports, actions and themes — the ObjectUI layer. |
37-
| **Total** | **218** | **1666** | 14 protocol modules |
37+
| **Total** | **218** | **1668** | 14 protocol modules |
3838

3939
---
4040

@@ -65,7 +65,7 @@ Agents, tools, skills, RAG and knowledge sources, model registry, conversations.
6565

6666
## API Protocol
6767

68-
**Source:** `packages/spec/src/api/` · **Import:** `@objectstack/spec/api` · **36 pages, 494 schemas**
68+
**Source:** `packages/spec/src/api/` · **Import:** `@objectstack/spec/api` · **36 pages, 496 schemas**
6969

7070
REST contracts, endpoints, routing, realtime, batch, discovery.
7171

@@ -94,7 +94,7 @@ REST contracts, endpoints, routing, realtime, batch, discovery.
9494
| [`package-api-assembled.zod.ts`](/docs/references/api/package-api-assembled) | `AssembledInstalledPackage`, `GetInstalledPackageResponse`, `InstalledPackageAtEitherStage`, `ListInstalledPackagesResponse` |
9595
| [`package-lifecycle.zod.ts`](/docs/references/api/package-lifecycle) | `DiscardPackageDraftsResponse`, `DuplicatePackageResponse`, `EnsureCustomizationPackageRequest`, `EnsureCustomizationPackageResponse`, `GetPackageCustomizationsRequest`, `GetPackageCustomizationsResponse`, `ImportUnmanagedPackageRequest`, `ImportUnmanagedPackageResponse`, `ListPackageCommitsResponse`, `PackageExportBundle`, `PackageExportManifest`, `PackagePublishResult`, `ReassignOrphanedMetadataResponse`, `RevertPackageCommitResponse`, `RollbackToPackageCommitResponse` |
9696
| [`plugin-rest-api.zod.ts`](/docs/references/api/plugin-rest-api) | `ErrorHandlingConfig`, `OpenApiGenerationConfig`, `RequestValidationConfig`, `ResponseEnvelopeConfig`, `RestApiEndpoint`, `RestApiPluginConfig`, `RestApiRouteCategory`, `RestApiRouteRegistration`, `ValidationMode` |
97-
| [`protocol.zod.ts`](/docs/references/api/protocol) | `AiAgentCapabilities`, `AiAgentChatRequest`, `AiAgentSummary`, `AiAgentsResponse`, `AiChatRequest`, `AiChatResponse`, `AiCompleteRequest`, `AiConversation`, `AiMessage`, `AiModelsResponse`, `AiPendingAction`, `AiPendingActionStatus`, `AiStreamChunk`, `ApproveAiPendingActionResponse`, `AuditMetaItemRequest`, `AuditMetaItemResponse`, `AutomationActionsResponse`, `AutomationTriggerRequest`, `AutomationTriggerResponse`, `BatchDataRequest`, `BatchDataResponse`, `CheckPermissionRequest`, `CheckPermissionResponse`, `CloneDataResponse`, `CreateAiConversationRequest`, `CreateDataRequest`, `CreateDataResponse`, `CreateManyDataRequest`, `CreateManyDataResponse`, `DeleteDataRequest`, `DeleteDataResponse`, `DeleteManyDataRequest`, `DeleteManyDataResponse`, `DeleteMetaItemRequest`, `DeleteMetaItemResponse`, `DiffMetaItemRequest`, `DiffMetaItemResponse`, `DisablePackageRequest`, `DisablePackageResponse`, `EnablePackageRequest`, `EnablePackageResponse`, `FindDataRequest`, `FindDataResponse`, `FindReferencesToMetaResponse`, `FlowRegistration`, `FlowRegistrationRefusal`, `GetDataRequest`, `GetDataResponse`, `GetDiscoveryRequest`, `GetDiscoveryResponse`, `GetEffectivePermissionsRequest`, `GetEffectivePermissionsResponse`, `GetFieldLabelsRequest`, `GetFieldLabelsResponse`, `GetLocalesRequest`, `GetLocalesResponse`, `GetMetaDiagnosticsResponse`, `GetMetaItemCachedRequest`, `GetMetaItemCachedResponse`, `GetMetaItemLayeredRequest`, `GetMetaItemLayeredResponse`, `GetMetaItemRequest`, `GetMetaItemResponse`, `GetMetaItemsRequest`, `GetMetaItemsResponse`, `GetMetaTypesRequest`, `GetMetaTypesResponse`, `GetNotificationPreferencesRequest`, `GetNotificationPreferencesResponse`, `GetObjectPermissionsRequest`, `GetObjectPermissionsResponse`, `GetPackageRequest`, `GetPackageResponse`, `GetPresenceRequest`, `GetPresenceResponse`, `GetPublishedMetaItemResponse`, `GetRecordFieldAccessResponse`, `GetTranslationsRequest`, `GetTranslationsResponse`, `GetUiViewRequest`, `GetUiViewResponse`, `HistoryMetaItemRequest`, `HistoryMetaItemResponse`, `HttpFindQueryParams`, `InstallPackageRequest`, `InstallPackageResponse`, `ListAiConversationsRequest`, `ListAiConversationsResponse`, `ListAiPendingActionsRequest`, `ListAiPendingActionsResponse`, `ListDraftsResponse`, `ListNotificationsRequest`, `ListNotificationsResponse`, `ListPackagesRequest`, `ListPackagesResponse`, `MarkAllNotificationsReadRequest`, `MarkAllNotificationsReadResponse`, `MarkNotificationsReadRequest`, `MarkNotificationsReadResponse`, `MetadataAuthoringClient`, `MetadataAuthoringSurface`, `MetadataConflictError`, `Notification`, `NotificationPreferences`, `PublicFormSubmitResponse`, `PublishMetaItemRequest`, `PublishMetaItemResponse`, `PublishPackageDraftsRequest`, `PublishPackageDraftsResponse`, `RealtimeConnectRequest`, `RealtimeConnectResponse`, `RealtimeDisconnectRequest`, `RealtimeDisconnectResponse`, `RealtimeSubscribeRequest`, `RealtimeSubscribeResponse`, `RealtimeUnsubscribeRequest`, `RealtimeUnsubscribeResponse`, `RegisterDeviceRequest`, `RegisterDeviceResponse`, `RejectAiPendingActionResponse`, `RollbackMetaItemRequest`, `RollbackMetaItemResponse`, `RuntimeAuthoringIssue`, `SaveMetaItemRequest`, `SaveMetaItemResponse`, `SearchAllHit`, `SearchAllPageHit`, `SearchAllResponse`, `SeedAppliedIdList`, `SeedAppliedLanded`, `SetPresenceRequest`, `SetPresenceResponse`, `UninstallPackageRequest`, `UninstallPackageResponse`, `UnregisterDeviceRequest`, `UnregisterDeviceResponse`, `UpdateAiConversationRequest`, `UpdateDataRequest`, `UpdateDataResponse`, `UpdateManyDataRequest`, `UpdateManyDataResponse`, `UpdateNotificationPreferencesRequest`, `UpdateNotificationPreferencesResponse`, `ValidateDataIssue`, `ValidateDataRequest`, `ValidateDataResponse` |
97+
| [`protocol.zod.ts`](/docs/references/api/protocol) | `AiAgentCapabilities`, `AiAgentChatRequest`, `AiAgentSummary`, `AiAgentsResponse`, `AiChatRequest`, `AiChatResponse`, `AiCompleteRequest`, `AiConversation`, `AiMessage`, `AiModelsResponse`, `AiPendingAction`, `AiPendingActionStatus`, `AiStreamChunk`, `ApproveAiPendingActionResponse`, `AuditMetaItemRequest`, `AuditMetaItemResponse`, `AutomationActionsResponse`, `AutomationTriggerRequest`, `AutomationTriggerResponse`, `BatchDataRequest`, `BatchDataResponse`, `BuildProbeReport`, `CheckPermissionRequest`, `CheckPermissionResponse`, `CloneDataResponse`, `CreateAiConversationRequest`, `CreateDataRequest`, `CreateDataResponse`, `CreateManyDataRequest`, `CreateManyDataResponse`, `DeleteDataRequest`, `DeleteDataResponse`, `DeleteManyDataRequest`, `DeleteManyDataResponse`, `DeleteMetaItemRequest`, `DeleteMetaItemResponse`, `DiffMetaItemRequest`, `DiffMetaItemResponse`, `DisablePackageRequest`, `DisablePackageResponse`, `EnablePackageRequest`, `EnablePackageResponse`, `FindDataRequest`, `FindDataResponse`, `FindReferencesToMetaResponse`, `FlowRegistration`, `FlowRegistrationRefusal`, `GetDataRequest`, `GetDataResponse`, `GetDiscoveryRequest`, `GetDiscoveryResponse`, `GetEffectivePermissionsRequest`, `GetEffectivePermissionsResponse`, `GetFieldLabelsRequest`, `GetFieldLabelsResponse`, `GetLocalesRequest`, `GetLocalesResponse`, `GetMetaDiagnosticsResponse`, `GetMetaItemCachedRequest`, `GetMetaItemCachedResponse`, `GetMetaItemLayeredRequest`, `GetMetaItemLayeredResponse`, `GetMetaItemRequest`, `GetMetaItemResponse`, `GetMetaItemsRequest`, `GetMetaItemsResponse`, `GetMetaTypesRequest`, `GetMetaTypesResponse`, `GetNotificationPreferencesRequest`, `GetNotificationPreferencesResponse`, `GetObjectPermissionsRequest`, `GetObjectPermissionsResponse`, `GetPackageRequest`, `GetPackageResponse`, `GetPresenceRequest`, `GetPresenceResponse`, `GetPublishedMetaItemResponse`, `GetRecordFieldAccessResponse`, `GetTranslationsRequest`, `GetTranslationsResponse`, `GetUiViewRequest`, `GetUiViewResponse`, `HistoryMetaItemRequest`, `HistoryMetaItemResponse`, `HttpFindQueryParams`, `InstallPackageRequest`, `InstallPackageResponse`, `ListAiConversationsRequest`, `ListAiConversationsResponse`, `ListAiPendingActionsRequest`, `ListAiPendingActionsResponse`, `ListDraftsResponse`, `ListNotificationsRequest`, `ListNotificationsResponse`, `ListPackagesRequest`, `ListPackagesResponse`, `MarkAllNotificationsReadRequest`, `MarkAllNotificationsReadResponse`, `MarkNotificationsReadRequest`, `MarkNotificationsReadResponse`, `MetadataAuthoringClient`, `MetadataAuthoringSurface`, `MetadataConflictError`, `Notification`, `NotificationPreferences`, `PublicFormSubmitResponse`, `PublishMetaItemRequest`, `PublishMetaItemResponse`, `PublishPackageDraftsRequest`, `PublishPackageDraftsResponse`, `RealtimeConnectRequest`, `RealtimeConnectResponse`, `RealtimeDisconnectRequest`, `RealtimeDisconnectResponse`, `RealtimeSubscribeRequest`, `RealtimeSubscribeResponse`, `RealtimeUnsubscribeRequest`, `RealtimeUnsubscribeResponse`, `RegisterDeviceRequest`, `RegisterDeviceResponse`, `RejectAiPendingActionResponse`, `RollbackMetaItemRequest`, `RollbackMetaItemResponse`, `RuntimeAuthoringIssue`, `RuntimeBuildIssue`, `SaveMetaItemRequest`, `SaveMetaItemResponse`, `SearchAllHit`, `SearchAllPageHit`, `SearchAllResponse`, `SeedAppliedIdList`, `SeedAppliedLanded`, `SetPresenceRequest`, `SetPresenceResponse`, `UninstallPackageRequest`, `UninstallPackageResponse`, `UnregisterDeviceRequest`, `UnregisterDeviceResponse`, `UpdateAiConversationRequest`, `UpdateDataRequest`, `UpdateDataResponse`, `UpdateManyDataRequest`, `UpdateManyDataResponse`, `UpdateNotificationPreferencesRequest`, `UpdateNotificationPreferencesResponse`, `ValidateDataIssue`, `ValidateDataRequest`, `ValidateDataResponse` |
9898
| [`push-delivery.zod.ts`](/docs/references/api/push-delivery) | `PushDeliveryData`, `PushRoute` |
9999
| [`push-relay.zod.ts`](/docs/references/api/push-relay) | `PushRelayDelivery`, `PushRelayError`, `PushRelayErrorResponse`, `PushRelayPayload`, `PushRelayPriority`, `PushRelayRequest`, `PushRelayResponse`, `PushRelayResult`, `PushRelayResultStatus` |
100100
| [`query-adapter.zod.ts`](/docs/references/api/query-adapter) | `ODataQueryAdapter`, `OperatorMapping`, `QueryAdapterConfig`, `QueryAdapterTarget`, `RestQueryAdapter` |

0 commit comments

Comments
 (0)