Skip to content

Commit 8d60333

Browse files
fix(service-record-context): get_record_context leaves out an unserved related child; both MCP doors supply queryableFieldsOf and their page cap (#37412)
Fixes #37361 Fixes #37175 Clause-②: yes (widening) Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:外接 AI 读一条记录的资料包时,提问人无权看的关联子对象改为省略并说明,其余部分照常返回;筛选或排序用到提问人不能查询的字段时同样省略并说明,不再整次报错。 - 为什么做:记录级 AI 问答专题,按已同意的设计(无权的关联对象省略而非拒绝)补齐真实通道的行为。 - 出错会怎样:最坏是资料包少一段或多一段说明,提问人仍只能读到自己有权读的数据;可以直接撤回本次改动。 - 要你做的:无。 ## What changes ADR-0160 D3 "Object level" as amended, and its second amendment; triage row 7154563681 on #37203. - **A related child this caller is not served is left out** (`executeGetRecordContext`, step 4a). The answer carries the root and every served section with the one `not_visible` note, and names the child nowhere (D3 wins over the triage row's "names the child"). Nothing of the child is read after its object-level judgement, its published definition included: the plan reads a left-out child as having no definition, so a lookup target reached only through it is never judged either. - **Order inside 4a is now: read guard, then API exposure, then the served definition.** Measured on the real kernel (assumption A2 holds): a disabled-package child answers `servedObjectDefinitionOf` as `null`, so judging exposure first is what keeps its refusal. API-exposure and `OBJECT_PACKAGE_DISABLED` refusals still refuse the whole call with `PERMISSION_DENIED`, the one code ADR-0160 point 12 gives an object-level refusal. An API-exposure refusal names the child only when the caller's served schema shows it (the naming bound, unchanged). A served-definition read that throws refuses the call, unnamed; it is never read as this caller's narrowing. - **Both real doors supply `queryableFieldsOf`** from the security service's `getQueryableFields`, for the caller each already resolves (assumption A1 holds: no new service dependency on either door). `/mcp`: `recordContextMembers` reads it from this request's `security` service with the request's execution context. stdio: `createStdioDataBridge` reads it from the `security` service it already holds for the object-schema mask, with the per-call principal; its dependency type now declares the optional method. - **N2, the smaller design: the door reports its cap, and the executor asks for at most it.** A new optional door member `pageCap()` answers the most rows one `query` may ask for. The executor cuts a list at `min(limit or row cap, pageCap - 1)`, reads with the probe row, and states the cut, so no door cuts or refuses a list the answer does not say was cut. Both doors answer the deployment's smaller read limit (`OS_DATA_MAX_PAGE_SIZE`, `OS_DATA_QUERY_ROW_BUDGET`), which the data door refuses past. Before, under a max page size below 21, the `/mcp` door refused the whole call `MAX_RECORDS_EXCEEDED` and the stdio door read the full list (the ablation below shows both). - **N1:** the `RecordContextNoteKind` doc line now says `related_truncated` fires at the entry's `limit`, at the row cap, or at the door's page cap. - **Rework N3:** the `.describe()` texts of `RecordContextRelatedListSchema.rows` and `.truncated` (what a model reads in the tool's output schema) now name the entry's `limit` and the door's page cap, not the row cap alone. Generated reference docs regenerated with `check:generated --fix` (`content/docs/references/ai/record-context-tools.mdx`, 2 rows twice). - **Rework N4:** one page cap. `@objectstack/types` exports `resolveQueryReadPageCap()`, the smaller of `OS_DATA_MAX_PAGE_SIZE` and `OS_DATA_QUERY_ROW_BUDGET`, `undefined` when neither is set; both doors answer `pageCap` from it, and their two local copies are gone. `deleteRecordsCap` is not changed. - **Rework S1, the declaration:** `Clause-②: yes (widening)`. The published surface widens by optional members only: `RecordContextDoor.pageCap?()`, `StdioDataBridgeDeps.security` may carry `getQueryableFields`, and the new `resolveQueryReadPageCap` export. Precedent #35137. The level stays `patch` (now also on `@objectstack/types`); `Metadata-protocol: none` stands. - **N5:** an `orderBy` on a registry-injected field (`created_at`) is pinned on the service and on both doors: the executor's own-field check (the child's published definition) and both doors accept it. See the acceptance notes for the authoring lint, which does not. - **Carried from #37175 (item 4 of its card amendment, comment 7151678330):** `door.ts` `query`'s docblock now says the door decides each expansion target's API exposure. Rework S3: the sentence, which ships in the `.d.ts`, cites ADR-0160 D3 "Object level" (its last paragraph: a lookup whose target the caller may not read is left unexpanded); the earlier "(ADR-0160 D3, amendment 4)" named an ADR amendment that does not exist. ## Tests Whole suites of every touched package, at head `88a1447c9` (local, under the shared verify lock; per-package exit captured before any pipe): | package | command | result | |:--|:--|:--| | `@objectstack/types` | `pnpm --filter @objectstack/types test` | exit 0 · Test Files 41/41 · Tests 934/934 | | `@objectstack/service-record-context` | `pnpm --filter @objectstack/service-record-context test` | exit 0 · Test Files 2/2 · Tests 106/106 | | `@objectstack/mcp` | `pnpm --filter @objectstack/mcp test` | exit 0 · Test Files 85/85 · Tests 1515/1515 | | `@objectstack/runtime` | `pnpm --filter @objectstack/runtime test` (`--project local`) | exit 0 · Test Files 649/649 · Tests 12041 passed, 25 skipped | | `@objectstack/spec` | `pnpm --filter @objectstack/spec test` | exit 0 · Test Files 896/896 · Tests 28442 passed, 1 todo | `pnpm --filter X typecheck` for the same five packages: exit 0 each. `pnpm --filter @objectstack/spec check:generated --fix` after a spec build: 1 of 14 artifacts stale (`content/docs/references/**`, the N3 texts), regenerated, re-checked green. Real-kernel harness (`packages/runtime/src/mcp-record-context-tools-bridge.test.ts`), every case through `both()` (same bytes on `/mcp` and stdio for one caller), 22 cases: - rework S2, new: a second caller, `usr_plain`, the same key's door but without `rc_unmask` (the baseline set no longer carries it; `usr_member` holds it through its own grant of `rc_unmasker`, resolved by the real `resolveAuthzContext`). For `usr_plain` an `orderBy` on the masked `serial` drops the section with the one `not_visible` note on both doors: no refusal, no `related` key, nothing of `rc_step` in the text, `getQueryableFields` lacks `serial` for it. Control leg in the same case: the same pack as `usr_member` reads `[s4, s2, s3, s1]`. The stdio door re-resolves the key's owner per call, and the case asserts it read as `usr_plain`; - flipped: the case titled "[today; ADR-0160 as amended says left out and stated]" now pins left out and stated, with a served control child (`rc_revision`) in the same answer; - unchanged and green: the API-exposure child (named) and the disabled-package child (`OBJECT_PACKAGE_DISABLED`, unnamed) still refuse; - new: the where/orderBy/limit parity case (filtered, ordered, cut at `limit`, stated); - new: a `where` field outside the security service's answer drops the section with the note, never refuses, with a served control; the field is served, readable and declares no masking rule, so the fallback would admit it; - new: an `orderBy` on a masked field whose unmask capability the caller holds is read (the service lists it as queryable, the fallback never would); - new: `orderBy: created_at` reads in that order on both doors; - new: under `OS_DATA_MAX_PAGE_SIZE=3` both doors cut the list at 2 and state it; - the door-member unit case now lists `pageCap` and `queryableFieldsOf`, and a new case pins that the door's queryable fields are the security service's answer for the caller and its cap the smaller read limit. Service (`record-context-tools.test.ts`): left out with a served control and no further read of the child; a lookup target reached only through a left-out child refuses nothing; unexposed and unserved child refused unnamed; disabled-package child refused before its served definition is asked; a throwing served-definition read refuses; the door cap cuts one row under it and states it, and a cap at or above the probe, absent, zero or fractional changes nothing; `orderBy: created_at` reads. <details><summary>Ablations (each committed first, mutated with scripts/ablation-replace.mjs, dist-preflighted where the subject resolves through dist, restored to the HEAD blob)</summary> - **A** (left-out child refused instead, the old behaviour; service rebuilt, dist preflight `--absent` on `leftOut.add(entry.object)`): service suite 3 red (the left-out case, the lookup-through-left-out case, the gate-order case); runtime harness 1 red (the flipped left-out case). Restored to blob `c4cd29690aa1`, rebuilt, marker present again. - **E** (no API-exposure gate on a related child, `if (false) try`; dist preflight hit): runtime harness red on the API-exposure child and on the disabled-package child, which then answers left out instead of refused. This is the measurement behind A2: on the real kernel a disabled-package child reaches `servedObjectDefinitionOf` as `null`, so only judging exposure first keeps its refusal. Service suite 6 red. - **B** (`/mcp` door hands over no `queryableFieldsOf`; runtime source, no build): 4 red, among them the narrowed-answer case and the unmasked-serial case (the two doors' bytes differ). - **C** (stdio door hands over no `queryableFieldsOf`; mcp rebuilt, dist preflight hit): 2 red, the same two parity cases. - **D** (executor never asks the door's cap; service rebuilt, dist preflight hit): service N2 case red; runtime page-cap case red with the `/mcp` door answering `MAX_RECORDS_EXCEEDED` for the whole call where stdio read the list. The first attempt at D (replacing the cut expression) left `doorCap` unused and did not build, so it ran no test; it was redone with a mutation that builds. - **F** (rework, for the S2 pin: the executor admits a field served OR queryable, `served.has(n) || queryable.has(n)`; committed first at `88a1447c9`, service rebuilt, anchor counts 1/0 on disk, dist preflight hit): runtime harness 2 red. The new second-caller case turns red with the whole call refused (`isError` true: the engine guard refuses the masked sort), and the spy-narrowed `where` case answers the dropped section. Restored to blob `c4cd29690aa1`, `git diff HEAD` empty, rebuilt, preflight `--absent` green. - Every leg restored with `git checkout HEAD -- ABSOLUTE_PATH`, proven by blob equal to HEAD and an empty `git status --porcelain`. </details> ## Acceptance notes - **Premise, measured:** the card's example of the fallback admitting a field the security service excludes is not reachable with plugin-security on these doors. Its read projection (`getReadableFields`) already leaves out every computed field the read mask deletes, so the fallback and `getQueryableFields` agree except for masked fields. There the fallback is the stricter one: it dropped a section ordered by a masked field whose unmask capability the caller holds, which this PR fixes and pins. The "excluded" direction is pinned by narrowing the real service's answer by one field with a spy. - **N5, half outside this card's surface (now #37415):** the authoring lint's own-field check (`validateAiContext` in `packages/lint`, run by `os validate` and the save door) warns `ai-context-field-unknown` for `orderBy: created_at` on an object that does not declare it, saying "the list is left out of every answer", while the executor and both doors read the list (pinned here). `packages/lint` is not in this claim's file surface, so it is reported to the seat, not changed. - The stdio door's own query path plans no deployment read window (it calls the engine directly), so `OS_DATA_MAX_PAGE_SIZE` does not refuse there as the data door does. For `get_record_context` both doors now cut at the same row; for other stdio reads this is an observation, not measured here. - A disabled-package child keeps the `PERMISSION_DENIED` code (unnamed), the one code ADR-0160 point 12 gives an object-level refusal; the card's acceptance line "refuses with OBJECT_PACKAGE_DISABLED" is read as naming the case, and the existing pin is kept. ## Verification Two-minute check: `pnpm --filter @objectstack/runtime exec vitest run --maxWorkers=2 src/mcp-record-context-tools-bridge.test.ts` (after building the runtime's dependency closure) shows 22 passed, including "a related child this caller is not served is left out" and "an orderBy on a masked field whose rule is NOT lifted for the caller drops the section". Read first, by risk: 1. `packages/services/service-record-context/src/record-context-tools.ts`, step 4a: the reordered gates and the `leftOut` set feeding `publishedOf`. 2. `packages/runtime/src/domains/mcp.ts` and `packages/mcp/src/stdio-data-bridge.ts`: the two `queryableFieldsOf` / `pageCap` members. 3. `packages/runtime/src/mcp-record-context-tools-bridge.test.ts`: the second caller (`keyOwner`, `plainCaller`, `bothAsPlain`) and the narrowed-answer case (a spy on the real security service). <details><summary>Local gates</summary> `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 117 commands for this diff (tree `objectstack-ai/objectstack` at `88a1447c9`); all 117 run, each exit captured before any pipe; `--ran` reconciliation: "117 derived, 115 run, 2 NOT-MEASURED, 0 UNRUN". - `pnpm --filter @objectstack/spec run check:skill-examples` first answered exit 3 (client-react not built); after building `@objectstack/client-react` and its closure it answered exit 0 ("351 prose examples type-check across 3 surface(s)"). - NOT MEASURED: `node scripts/check-plugin-teardown-shape.mjs --self-test` (exit 3, its pinned fixture commit is outside this shallow checkout); `pnpm check:dual-build-cjs-loads` (exit 3, reads every package's dist, and this worktree built only the runtime and mcp closures). Both are CI's. - Local-only `node scripts/check-dev-prereqs.mjs`: exit 1, "the workspace is not built" (35 of 110 packages, `ui/**` among them, unbuilt in this worktree); a reading about this checkout, not the diff. - `node scripts/pm/overlap-check.mjs --branch=HEAD` before each push: VERDICT clean (origin/main merges cleanly); not merged, as ordered. </details> _Seat note: the governing Claim on #37175 now names this branch (re-claim 7181502252), since the round-2 rig branch landed as PR #37350. Final-head readings (a50181d) are in the os-dev report 7181466841 on #37361._ --- _Generated by [Claude Code](https://claude.ai/code/session_01Utp6CbeF2saT6wUBV4E9uc)_ <!-- signed: repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7291c6f commit 8d60333

11 files changed

Lines changed: 573 additions & 60 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
'@objectstack/service-record-context': patch
3+
'@objectstack/runtime': patch
4+
'@objectstack/mcp': patch
5+
'@objectstack/spec': patch
6+
'@objectstack/types': patch
7+
---
8+
9+
fix(service-record-context): get_record_context leaves out a related child the caller is not served, and both MCP doors hand over the caller's queryable fields and their page cap
10+
11+
Clause-②: yes (widening)
12+
Metadata-protocol: none
13+
14+
ADR-0160 D3 "Object level", as amended, and its second amendment. No pack, key or code changes. The published surface widens by optional members only: `RecordContextDoor.pageCap?()`, and `StdioDataBridgeDeps.security` may carry `getQueryableFields`; `@objectstack/types` adds `resolveQueryReadPageCap`.
15+
16+
- **A related child this caller is not served is left out, not refused.** The answer carries the root and every served section, with the one `not_visible` note, and names the child nowhere; nothing of the child is read after its object-level judgement, its published definition included. A child is still refused whole, as before, when a gate refuses it for everyone: the read guard, or API exposure — which is now asked before the served definition, so a child whose package is disabled (`OBJECT_PACKAGE_DISABLED`, which also serves its object to nobody) keeps its `PERMISSION_DENIED` refusal. A served-definition read that fails refuses the call, unnamed, and is never read as a narrowing.
17+
- **Both doors supply `queryableFieldsOf`.** The `/mcp` door and the stdio door now hand the executor the security service's `getQueryableFields` answer for the caller they resolved, so a related list's `where` or `orderBy` is judged on that answer before the read. A field outside it drops the section with the note, and is never refused by the engine's guard; a masked field this caller is served whole (its unmask capability held) is now filtered and sorted on, where the fallback dropped the section.
18+
- **A door's page cap is a stated cut.** A door may report its page cap (`pageCap`, optional); the executor then asks a related list for at most that many rows, cuts the list one row under it, and states the cut. Both doors report the deployment's smaller read limit (`OS_DATA_MAX_PAGE_SIZE`, `OS_DATA_QUERY_ROW_BUDGET`). Before, under a maximum page size below a list's cut plus its probe row, the `/mcp` door refused the whole call `MAX_RECORDS_EXCEEDED` and the stdio door read the full list.
19+
- The `related_truncated` note kind's doc line, and the `rows` and `truncated` descriptions of a related list in the tool's output schema, now say a list is cut at its entry's `limit`, at the row cap, or below either at the door's page cap.
20+
- `@objectstack/types` exports `resolveQueryReadPageCap()`: the smaller of `OS_DATA_MAX_PAGE_SIZE` and `OS_DATA_QUERY_ROW_BUDGET`, `undefined` when neither is set. Both doors answer `pageCap` from this one function, so they cut at the same row.

‎content/docs/references/ai/record-context-tools.mdx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ const result = GetRecordContextInputSchema.parse(data);
137137
| **object** | `string` | ✅ | The child object |
138138
| **label** | `string` | ✅ | The child object's plural label at the caller's locale |
139139
| **field** | `string` | ✅ | The child's field that points at the record |
140-
| **rows** | `{ id?: string; displayName?: string; fields: object[] }[]` | ✅ | The rows the caller may read, up to the row cap |
141-
| **truncated** | `true` | optional | Present when more rows existed past the row cap |
140+
| **rows** | `{ id?: string; displayName?: string; fields: object[] }[]` | ✅ | The rows the caller may read, up to the list's `limit` (the row cap when it names none), or fewer when the door's page cap is lower |
141+
| **truncated** | `true` | optional | Present when more rows existed past the rows given: at the list's `limit`, at the row cap, or below either at the door's page cap |
142142

143143
### Nested Shape: `RecordContextData.body`
144144

@@ -221,8 +221,8 @@ const result = GetRecordContextInputSchema.parse(data);
221221
| **object** | `string` | ✅ | The child object |
222222
| **label** | `string` | ✅ | The child object's plural label at the caller's locale |
223223
| **field** | `string` | ✅ | The child's field that points at the record |
224-
| **rows** | `{ id?: string; displayName?: string; fields: object[] }[]` | ✅ | The rows the caller may read, up to the row cap |
225-
| **truncated** | `true` | optional | Present when more rows existed past the row cap |
224+
| **rows** | `{ id?: string; displayName?: string; fields: object[] }[]` | ✅ | The rows the caller may read, up to the list's `limit` (the row cap when it names none), or fewer when the door's page cap is lower |
225+
| **truncated** | `true` | optional | Present when more rows existed past the rows given: at the list's `limit`, at the row cap, or below either at the door's page cap |
226226

227227
### Nested Shape: `RecordContextRelatedList.rows[number]`
228228

‎packages/mcp/src/stdio-data-bridge.ts‎

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ import {
135135
// context-pack listing before the record-context executor parses it.
136136
stripReadDecorations,
137137
} from '@objectstack/spec/kernel';
138-
import type { IDataEngine, IMetadataService } from '@objectstack/spec/contracts';
138+
import type { IDataEngine, IMetadataService, ISecurityService } from '@objectstack/spec/contracts';
139139
import { resolveObjectSortability } from '@objectstack/spec/api';
140140
// [#32442] The ONE reading of `enable.aiReadable` (ruling A, #32865).
141141
import { isAiReadExposed } from '@objectstack/spec/data';
@@ -172,7 +172,7 @@ import {
172172
diagnoseObjectListRead,
173173
type DiagnosedObjectListing,
174174
} from './metadata-completeness.js';
175-
import { staleSummaryRefusalOrThrow, withEarnedAnswer, type SummaryRecomputeRefusal } from '@objectstack/types';
175+
import { resolveQueryReadPageCap, staleSummaryRefusalOrThrow, withEarnedAnswer, type SummaryRecomputeRefusal } from '@objectstack/types';
176176
// [ADR-0149 D2] The `/meta` list translation and its locale parse, the pair
177177
// the HTTP door's `loadDatasets` runs — imported, never restated, so both
178178
// transports localize a saved dataset with one function.
@@ -250,8 +250,12 @@ export interface StdioDataBridgeDeps {
250250
* use and `undefined` when this host registers none — the deployment then
251251
* has no field-level posture, and the schema is served as declared, as on
252252
* every other object-schema exit.
253+
*
254+
* [ADR-0160 D3, second amendment] The same service answers the fields the
255+
* principal may query on (`getQueryableFields`, feature-detected), which
256+
* the record-context door hands its executor.
253257
*/
254-
security?: () => ObjectSchemaMaskSecuritySurface | undefined;
258+
security?: () => (ObjectSchemaMaskSecuritySurface & Pick<Partial<ISecurityService>, 'getQueryableFields'>) | undefined;
255259
/**
256260
* [decision 6840464379] Where the object-schema mask finds an object's
257261
* declared `schemaReadDelegate` ({@link CallerObjectViewDeps.schemaReadDelegates}).
@@ -1917,6 +1921,20 @@ export function createStdioDataBridge(deps: StdioDataBridgeDeps): McpDataBridge
19171921
get: (object: string, id: string) => self.get(object, id),
19181922
query: (object: string, o: Parameters<McpDataBridge['query']>[1]) => self.query(object, o),
19191923
fieldVisibilityOf: (object: string) => self.fieldVisibilityOf!(object),
1924+
// [ADR-0160 D3, second amendment] The fields the principal may query
1925+
// on: the security service's own answer (`getQueryableFields`), judged
1926+
// on the map its engine guard refuses a filter or sort with, so a
1927+
// related list's `where` or `orderBy` the guard would refuse is dropped
1928+
// and stated before the read. No security service, or one predating the
1929+
// method: `undefined`, and the executor takes the contract's fallback.
1930+
queryableFieldsOf: async (object: string) => {
1931+
const surface = security?.();
1932+
if (typeof surface?.getQueryableFields !== 'function') return undefined;
1933+
return await surface.getQueryableFields(object, await resolvePrincipal());
1934+
},
1935+
// [ADR-0160 D3] The deployment's page cap (`resolveQueryReadPageCap`), the
1936+
// same value the `/mcp` door answers.
1937+
pageCap: () => resolveQueryReadPageCap(),
19201938
userTextLocales: () => self.userTextLocales!(),
19211939
});
19221940
bridge.recordContextToolDefinitions = () => service.recordContextTools().definitions;

‎packages/runtime/src/domains/mcp.ts‎

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Fetch-Request normalization ride along as family helpers.
99
*/
1010

11-
import { isMcpServerEnabled } from '@objectstack/types';
11+
import { isMcpServerEnabled, resolveQueryReadPageCap } from '@objectstack/types';
1212
import { MCP_OAUTH_SCOPES, MCP_OAUTH_SCOPE_DATA_READ, deriveAiFaceName } from '@objectstack/spec/ai';
1313
import type { ErrorCode, MetadataProtocol } from '@objectstack/spec/api';
1414
import type { ISecurityService } from '@objectstack/spec/contracts';
@@ -1739,6 +1739,24 @@ export function buildMcpBridge(
17391739
// [ADR-0150 D6, addendum 2026-11-25] A package's pack is spelt by
17401740
// its face `NS-NAME`, as a package-held skill's prompt name is.
17411741
packageNamespace: (packageId: string) => packageNamespaceOf(contextPackEngine, packageId),
1742+
// [ADR-0160 D3, second amendment] The fields this caller may query
1743+
// on: THIS request's security service's own answer
1744+
// (`getQueryableFields`), judged on the map its engine guard
1745+
// refuses a filter or sort with, so a related list's `where` or
1746+
// `orderBy` the guard would refuse is dropped and stated before
1747+
// the read. No security service, or one predating the method:
1748+
// `undefined`, and the executor takes the contract's fallback.
1749+
queryableFieldsOf: async (object: string) => {
1750+
const security = await deps.resolveService(context, 'security', envId) as
1751+
Partial<ISecurityService> | undefined;
1752+
if (typeof security?.getQueryableFields !== 'function') return undefined;
1753+
return await security.getQueryableFields(object, ec);
1754+
},
1755+
// [ADR-0160 D3] The data door's page cap: `findData` refuses a
1756+
// read asking for more rows than the deployment's maximum page
1757+
// size or its row budget (`@objectstack/types`'
1758+
// `query-read-limits.ts`), so the executor asks for no more.
1759+
pageCap: () => resolveQueryReadPageCap(),
17421760
}));
17431761
}
17441762
return bridge;
@@ -1795,6 +1813,8 @@ function recordContextMembers(
17951813
publishedObjectDefinitionOf(name: string): Promise<Record<string, unknown> | null>;
17961814
listContextPacks(): Promise<readonly unknown[]>;
17971815
packageNamespace(packageId: string): string | undefined;
1816+
queryableFieldsOf(object: string): Promise<readonly string[] | undefined>;
1817+
pageCap(): number | undefined;
17981818
},
17991819
) {
18001820
return {

0 commit comments

Comments
 (0)