Skip to content

Commit 7f72b49

Browse files
fix(cli): os migrate meta --from 18 names the own field rows beside Modify All that protocol 19 narrows (#39160)
Fixes #38924 Clause-②: yes (widening) Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:从 18 升级的开发者做迁移预演时,每个"修改全部记录"且自己把某字段设为隐藏或只读的权限集都会被逐条点名,写明 18 与 19 的结果和两种做法;库里保存的权限集复核清单也同样点名;19 上的实际权限行为不变。 - 为什么做:属于 19 正式版升级收口(18 到 19 升级线);此前工具声称"字段读取会保留",这类权限集升级后却会悄悄失去该字段的读和改。 - 出错会怎样:只影响迁移工具的提示文字和清单,不改任何权限;出错最多是多报或漏报一行提示,可直接撤回。 - 要你做什么:无。 ## What changes - **Wording (Expected 1).** Measured on `origin/main` `ffda6dab9e` through `os migrate meta --from 18` over the card's fixture: the claim prints in the `why:` of the protocol-19 semantic notice, from the entry's `reason` ("adds `viewAllFields: true` beside every such bit (...), so their field reads are kept"). The conversion's `summary` carries a twin ("the bit keeps every field read they cast"). Both now say the bit keeps the field reads the bits cast **except** a field the set's own `readable: false` row hides beside Modify All, and that it keeps **no** edit Modify All cast. The `reason` also says the dry run and the `--stored` list name each such row. The rest of the text is unchanged. No committed output mirrors it: the migrations `registry.ts` is gitignored and regenerated by the build, and the docs page `content/docs/permissions/field-level-security.mdx` does not repeat the claim. - **Naming (Expected 2).** `os migrate meta --from 18` prints a group after the edits (②c) naming each own field row beside Modify All that protocol 19 narrows: set, `at`, `objects` entry, field row, the protocol-18 answer (read and edit), the protocol-19 answer (`hidden` / `read-only` / `read-only-where-when-matches` / `edit-only-where-when-matches`), each with a choice that leads to a row the list never names, and the choice (change the row to keep the 18 answer, or accept the narrowing). `--json` carries the same list under ONE new key, `ownFieldRowNarrowing`, present only when non-empty. No key is renamed or removed. The list covers the entries the run itself writes `viewAllFields: true` beside; a source that already carries the bit lists nothing, and the step-19 text says so. - **Stored (Expected 3).** Each `viewAllFieldsReview` entry of `os migrate meta --stored` carries `ownFieldRows` (present only when there is a row), and the human list prints one line per row under its entry. - **One predicate.** `ownFieldRowsBesideModifyAll` lives in `packages/spec/src/conversions/` and is exported from the `@objectstack/spec` root. It runs the conversion `permission-view-all-fields-beside-record-bypass` itself to pick the entries, so its population is exactly the entries the chain rewrites and the `--stored` list names, narrowed to Modify All. A row `OBJECT.FIELD` belongs to the set's own entry for `OBJECT`, otherwise to its `'*'` entry, as in the field merge. View All alone is never listed: on 18 a set's own row already beat its own View All, and View All never voted an edit. - **Widened:** `@objectstack/spec` root exports `ownFieldRowsBesideModifyAll` and three types; the `--json` key `ownFieldRowNarrowing`; the optional member `ownFieldRows` on `StoredViewAllFieldsReview`, whose element type `StoredOwnFieldRow` is exported from `@objectstack/metadata-protocol`. - The CLI side is a new module, `packages/cli/src/utils/own-field-row-narrowing.ts`; `meta.ts` gets hook lines only. The stored side is a new module, `packages/metadata-protocol/src/stored-own-field-rows.ts`; `stored-migration.ts` gets five hook lines: the import, the optional interface member, the return type, the return spread and the formatter line. ## Tests - `packages/cli/test/migrate-meta-own-field-row-38924.test.ts` runs in process through `MigrateMeta.run` (unit tier): - The fixture set (View All + Modify All on `contact`, own `'contact.salary': { readable: false }`) is named with its row, `protocol 19: hidden` and the choice, and "so their field reads are kept" is absent. - Control: a set with View All only and no field row keeps its plain edit line and is not named. - `--json` key-set equality: the control's keys equal the pre-change replay keys exactly; the fixture's are those plus `ownFieldRowNarrowing` in one place. - An assembled stack's package body is named under its own prefix (`packages[0].manifest.permissions[0]`), and a run that does not cross into 19 names nothing. - `packages/spec/src/conversions/own-field-rows-beside-modify-all.test.ts` covers: - each 19 answer (hidden, read-only, conditional edit); - a row-conditioned lock (`read-only-where-when-matches`); each choice converges (the followed rows list nothing); a `*.FIELD` row is not listed; - `editable: true` and no `when` not listed; - the `'*'` lookup, where an explicit entry beats the wildcard; - View All alone not listed; - an author-written `viewAllFields` either way not listed; - non-set bodies. - `packages/metadata-protocol/src/stored-own-field-rows.test.ts`: `collectViewAllFieldsReview` carries `ownFieldRows` on the Modify All entry only, and the formatter prints each row under its entry. ## Acceptance notes - **Ablations**, done once on the committed implementation; each restore was proved with a blob hash equal to `HEAD` and a clean `git status`. - Naming: the `ownFieldRowNarrowingSites(...)` call in `meta.ts` was replaced by an empty list → 2 failed / 1 passed. The naming and `--json` cases went red; the control stayed green. - Wording: the old "so their field reads are kept" was put back into the semantic entry, spec rebuilt, and `ablation-dist-preflight` showed the marker in `packages/spec/dist` → 1 failed / 2 passed (the wording case). The restore leg rebuilt spec; the marker is absent from all 610 built files and the 3 cases pass. - **File surface, past the claim, each forced by a measurement:** - (1) The predicate sits in `packages/spec/src/conversions/` (plus one export block in `conversions/index.ts`), not in `packages/spec/src/migrations/`. Importing `@objectstack/spec/migrations` from `metadata-protocol` (runtime code) pulled the whole migrations registry into its import closure: `check-temporal-live-filter` went red on that, and the spec root note says that entry is kept off runtime paths for this reason. - (2) Two thin adapter modules beside the one predicate: CLI walk/print, and stored select/format. Each is needed because only hook lines may land in `meta.ts` and `stored-migration.ts`. - (3) `packages/spec/api-surface/root.json` and `packages/spec/export-origins/root.json` were regenerated by `check:generated --fix` for the new root export. - (5) One export line in `packages/metadata-protocol/src/index.ts` (review nit N1): it exports the type `StoredOwnFieldRow`, declared under **Widened** above. - (4) One row in `packages/cli/test/normalized-call-sites.test.ts`. That pin requires every new `(normalized` call site in a command to be classified, and CI's `Test Core (2/12)` went red until it was. The row is `reads: 'packages'`, measured by the assembled-stack case above. - **Two CI reds on the first head (`126d7649`), both fixed in `60ea167c`.** - The `spec` `test:repo` house-sentence pin judges every plain-quoted literal that spells `os migrate meta --from N`. My new sentence spelled it and was not the house sentence. It now says "The same command, with or without `--write`, names each own field row…", after the sentence that already names the command. - The call-site row in (4). - **Scope choice:** an entry whose author already wrote `viewAllFields` (either value) is not named, matching the conversion and the `--stored` list predicate. That entry still narrows beside Modify All on 19. Raised as an open question in the report, not widened here. - `#39136` (stored `runStored`) and `#39131` merged while this branch was open. `origin/main` was merged before this PR opened; the only conflicts were two adjacent additions in `meta.ts`, and both sides were kept. - `packages/core/src/security/effective-object-permissions.ts` has a code comment with the same "keeps every read" phrasing. It is outside this card's file surface and is not printed anywhere; noted, not changed. ## Verification Two-minute check: in a folder with an `objectstack.config.ts` holding the card's fixture set, run `os migrate meta --from 18`. Expected: a group `1 own field row(s) beside Modify All that protocol 19 narrows`, naming `permission set 'hr_manager' (permissions[0]), objects entry 'contact', field row 'contact.salary'` with `protocol 19: hidden, no read and no edit`. The `why:` of the protocol-19 permission notice no longer says "so their field reads are kept". With `--json`, the payload has `ownFieldRowNarrowing`. Read first, by risk: 1. `packages/spec/src/conversions/own-field-rows-beside-modify-all.ts`: `narrowedOutcome` and the covering-entry lookup. This is the 18 vs 19 model the whole list rests on. 2. `packages/metadata-protocol/src/stored-migration.ts`: the five hook lines in a file `#39136` just changed. 3. The semantic entry's `reason` hunk: the corrected promise. <details><summary>Local gates and CI, head 60ea167</summary> - `node scripts/pm/dispatch-gates.mjs --ran`: 101 derived, 100 run with exit 0, 1 NOT MEASURED. The one is `node scripts/check-plugin-teardown-shape.mjs --self-test`, exit 3, PREREQUISITE NOT MET: its fixture is pinned to a commit this shallow clone cannot reach. CI runs it. - Tests: - `pnpm --filter @objectstack/spec test`: 923 files, 29157 passed. - `pnpm --filter @objectstack/spec test:repo`: 95 files, 1633 passed. - `test/normalized-call-sites.test.ts` and the per-card test: 2 files, 17 passed. - `pnpm --filter @objectstack/metadata-protocol test`: 383 passed, 9 skipped. - CLI: the 24 `migrate meta` test files: 23 files, 175 passed, 1 skipped. - Typecheck exit 0 for `spec`, `metadata-protocol` and `cli`. - `eslint --no-inline-config` over the 11 changed source and test files: exit 0. The repo-wide `pnpm lint` run is CI's. - `pnpm --filter @objectstack/spec check:generated`: all 14 artifacts up to date. - NOT MEASURED locally: the full CLI unit tier (`--project unit`) did not finish inside the 10-minute foreground window. CI's `Test Core` runs it. - Fix round 1 (head `e659f7cf`), targeted runs only: spec own-row test and the house-sentence pin, 2 files / 24 passed; metadata-protocol stored-own-field-rows and protocol.stored-migration, 2 files / 57 passed; cli per-card test, normalized-call-sites and meta.stored-view-all-fields, 3 files / 20 passed; typecheck exit 0 for spec, metadata-protocol and cli. The counts above are from `60ea167c`. - CI on `e659f7cf`: 60 success, 13 skipped, 0 failed. - CI on `60ea167c`: 60 success, 13 skipped, 0 failed. Success includes `Lint & Repo Gates`, `TypeScript Type Check`, `Test Core` (12/12 shards), `Build Core`, `Governed Surface Queue Guard`, `Type Check UI`, `Test UI` (16/16), `Build & E2E UI`, `Live E2E UI`, `Dogfood Regression Gate` and `Check Changeset`. `Temporal Conformance (live PG + MySQL)` is skipped on PRs; it first runs in the merge queue. </details> ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` passes. - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. --- _Generated by [Claude Code](https://claude.ai/code/session_01QSeKYko9cFNzePK9vaCkYe)_ <!-- signed: repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3dc3983 commit 7f72b49

16 files changed

Lines changed: 800 additions & 13 deletions
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
'@objectstack/spec': patch
3+
'@objectstack/cli': patch
4+
'@objectstack/metadata-protocol': patch
5+
---
6+
7+
fix(cli): `os migrate meta --from 18` names each own field row beside Modify All that protocol 19 narrows
8+
9+
Clause-②: yes (widening)
10+
Metadata-protocol: none
11+
12+
Widened: `@objectstack/spec` exports `ownFieldRowsBesideModifyAll` and the types `OwnFieldRowBesideModifyAll`, `OwnFieldRowProtocol18Outcome` and `OwnFieldRowProtocol19Outcome`; `os migrate meta --from N --json` gains the key `ownFieldRowNarrowing`, present only when the list is not empty; `StoredViewAllFieldsReview` (`os migrate meta --stored --json`) gains the optional member `ownFieldRows`, and `@objectstack/metadata-protocol` exports its element type `StoredOwnFieldRow`. Nothing a metadata author writes changes.
13+
14+
The upgrade text no longer says that the `viewAllFields: true` written beside View All or Modify All keeps every field read. It keeps the field reads the bits cast, except a field the set's own `readable: false` row hides beside Modify All, and it keeps no edit Modify All cast. The protocol-19 behaviour itself is unchanged.
15+
16+
`os migrate meta --from 18` now lists each own field row beside a Modify All bit that the run writes `viewAllFields: true` beside, where the row's answer changes on protocol 19. Each line names the permission set, the `objects` entry and the field row; what the set's holders got on protocol 18 (read and edit: Modify All voted over the set's own rows); what they get on 19 through that set (`hidden`, `read-only`, `read-only-where-when-matches` for a row-conditioned lock, or `edit-only-where-when-matches` for a row-conditioned edit); and the choice: change the row to keep the protocol-18 answer, or accept the narrowing. Following the choice takes the row off the list. A set that already carries `viewAllFields` beside the bit (a source the edit was applied to) is not listed; review its own rows beside Modify All by hand. Example, for a set with View All and Modify All on `contact` and its own `'contact.salary': { readable: false }` row:
17+
18+
```text
19+
1 own field row(s) beside Modify All that protocol 19 narrows — the `viewAllFields: true` written beside the bit does not keep them:
20+
⚠ permission set 'hr_manager' (permissions[0]), objects entry 'contact', field row 'contact.salary'
21+
protocol 18: read and edit (Modify All voted over the set's own row)
22+
protocol 19: hidden, no read and no edit (the set's own `readable: false` row binds)
23+
choice: to keep the protocol-18 read and edit, change the row to `readable: true, editable: true`; otherwise accept the narrowing.
24+
```
25+
26+
`--json` carries the same list under `ownFieldRowNarrowing` (`set`, `at`, `object`, `field`, `protocol18`, `protocol19`, `choice`); no other key changes.
27+
28+
`os migrate meta --stored` names the same rows of a stored permission set under its entry in the View All Fields review list, and its `--json` entries carry them as `ownFieldRows`. View All alone is never listed: on 18.6.0 a set's own row already bound beside its own View All. Protocol 18 here means 18.6.0, the release the card measured.

‎packages/cli/src/commands/migrate/meta.ts‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import {
3939
import { bootSchemaStack } from '../../utils/schema-migrate.js';
4040
import { buildDataMigrationPlugins } from '../../utils/data-migration-plugins.js';
4141
import { absentTableReads } from '../../utils/absent-table-reads.js';
42+
import { ownFieldRowNarrowingSites, printOwnFieldRowNarrowing, type OwnFieldRowNarrowingSite } from '../../utils/own-field-row-narrowing.js';
4243
import type { StoredMigrationReport } from '@objectstack/metadata-protocol';
4344
import { OCCUPANCY_HINT, probeMigrationTarget } from '../../utils/migrate-occupancy-gate.js';
4445
import { describeOccupancy, JOURNAL_MODE_SWITCH_NOTE } from '../../utils/sqlite-occupancy.js';
@@ -1057,6 +1058,8 @@ export interface MigrationReport {
10571058
elapsed: string;
10581059
/** The per-site edits the protocol-19 form move left ({@link formMoveSites}); absent or empty when none. */
10591060
formMoveSites?: readonly FormMoveSite[];
1061+
/** The own field rows beside Modify All protocol 19 narrows ({@link ownFieldRowNarrowingSites}); absent or empty when none. */
1062+
ownFieldRowNarrowing?: readonly OwnFieldRowNarrowingSite[];
10601063
/** The committed access matrix's drift `os build` will report, and whose sources it is about; absent when none. */
10611064
accessMatrix?: { drift: AccessMatrixDrift; subject: AccessMatrixDriftSubject };
10621065
}
@@ -1309,6 +1312,8 @@ export function printMigrationReport(report: MigrationReport): void {
13091312
if (result.applied.length > 0) printAppliedEdits(result, report.write !== undefined);
13101313
// ②b The sites the protocol-19 form move left in place or owes an edit.
13111314
printFormMoveSites(report.formMoveSites ?? []);
1315+
// ②c The own field rows beside Modify All the `viewAllFields: true` above does not keep.
1316+
printOwnFieldRowNarrowing(report.ownFieldRowNarrowing ?? []);
13121317

13131318
// Per-hop checkpoints.
13141319
if (report.step) {
@@ -1563,6 +1568,8 @@ export default class MigrateMeta extends Command {
15631568
const result = applyMetaMigrationsToPackages(normalized, fromMajor, toMajor);
15641569
// [ADR-0159, #37112] The per-site edits the protocol-19 form move leaves.
15651570
const formSites = formMoveSites(normalized, fromMajor, toMajor);
1571+
// The own field rows beside Modify All that protocol 19 narrows (named, never rewritten).
1572+
const ownRowSites = ownFieldRowNarrowingSites(normalized, fromMajor, toMajor);
15661573

15671574
// Prove the migrated stack is schema-valid — the "generated, provably valid
15681575
// diff" the consumer agent reviews (ADR-0087 D3/D5).
@@ -1630,6 +1637,8 @@ export default class MigrateMeta extends Command {
16301637
// Only when the run crosses into protocol 19 and the form move
16311638
// left a site: without one the payload is what it always was.
16321639
...(formSites.length > 0 ? { formMoveSites: formSites } : {}),
1640+
// Only when the run crosses into protocol 19 and an own field row narrows.
1641+
...(ownRowSites.length > 0 ? { ownFieldRowNarrowing: ownRowSites } : {}),
16331642
hops: flags.step
16341643
? result.hops.map((h) => ({
16351644
toMajor: h.toMajor,
@@ -1688,6 +1697,7 @@ export default class MigrateMeta extends Command {
16881697
...(range ? { range } : {}),
16891698
elapsed: timer.display(),
16901699
formMoveSites: formSites,
1700+
ownFieldRowNarrowing: ownRowSites,
16911701
...(matrixDrift
16921702
? {
16931703
accessMatrix: {
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
3+
/**
4+
* `os migrate meta --from N` — the own field rows beside Modify All that the
5+
* protocol-19 field-axis split narrows although the chain writes
6+
* `viewAllFields: true` beside the bit (ruling of record 6912661484, step 3).
7+
*
8+
* The edit line the chain prints for such an entry is right: the bit keeps the
9+
* reads Modify All cast on every field the set's own rows leave alone. What it
10+
* cannot keep is Modify All's vote OVER the set's own rows: up to protocol 18 a
11+
* set with Modify All on `contact` and its own `'contact.salary':
12+
* { readable: false }` row read and edited `salary`; from 19 that row binds
13+
* and the field is hidden from the set's holders. Validate and build stay
14+
* green either way, so without a line naming the row the upgrade takes the
15+
* field away silently. The predicate is the spec's
16+
* ({@link ownFieldRowsBesideModifyAll}), shared with the `--stored` review
17+
* list; this module only walks a source stack for it and prints it.
18+
*/
19+
20+
import chalk from 'chalk';
21+
import {
22+
ALL_CONVERSIONS,
23+
ownFieldRowsBesideModifyAll,
24+
type OwnFieldRowBesideModifyAll,
25+
type OwnFieldRowProtocol18Outcome,
26+
type OwnFieldRowProtocol19Outcome,
27+
} from '@objectstack/spec';
28+
import { applyMetaMigrations } from '@objectstack/spec/migrations';
29+
30+
/** The conversion whose rewritten entries the list is read beside. */
31+
const CONVERSION_ID = 'permission-view-all-fields-beside-record-bypass';
32+
33+
/** One narrowed own field row of one source permission set. */
34+
export interface OwnFieldRowNarrowingSite extends OwnFieldRowBesideModifyAll {
35+
/** The permission set's `name`. */
36+
set: string;
37+
/** Where the set sits in the stack the chain replays: `permissions[0]`, or `packages[1].manifest.permissions[0]`. */
38+
at: string;
39+
}
40+
41+
function isPlainRecord(value: unknown): value is Record<string, unknown> {
42+
return value !== null && typeof value === 'object' && !Array.isArray(value);
43+
}
44+
45+
/**
46+
* Every narrowed own field row of the stack's permission sets, read over the
47+
* stack as it enters the conversion's hop (the chain replayed up to the major
48+
* below it first, where `--from` is lower), and over each
49+
* `packages[].manifest` body of an assembled stack the same way. Empty when the
50+
* run does not cross into the conversion's major.
51+
*/
52+
export function ownFieldRowNarrowingSites(
53+
stack: Record<string, unknown>,
54+
fromMajor: number,
55+
toMajor: number,
56+
): OwnFieldRowNarrowingSite[] {
57+
const conversion = ALL_CONVERSIONS.find((c) => c.id === CONVERSION_ID);
58+
if (!conversion) return [];
59+
const major = conversion.toMajor;
60+
if (!(fromMajor < major && toMajor >= major)) return [];
61+
62+
const bodies: Array<{ prefix: string; body: Record<string, unknown> }> = [{ prefix: '', body: stack }];
63+
if (Array.isArray(stack.packages)) {
64+
stack.packages.forEach((entry, i) => {
65+
if (isPlainRecord(entry) && isPlainRecord(entry.manifest)) bodies.push({ prefix: `packages[${i}].manifest.`, body: entry.manifest });
66+
});
67+
}
68+
69+
const sites: OwnFieldRowNarrowingSite[] = [];
70+
for (const { prefix, body } of bodies) {
71+
const entering = fromMajor < major - 1 ? applyMetaMigrations(body, fromMajor, major - 1).stack : body;
72+
const sets = (entering as { permissions?: unknown }).permissions;
73+
if (!Array.isArray(sets)) continue;
74+
sets.forEach((set, i) => {
75+
if (!isPlainRecord(set)) return;
76+
for (const row of ownFieldRowsBesideModifyAll(set)) {
77+
sites.push({ set: String(set.name ?? ''), at: `${prefix}permissions[${i}]`, ...row });
78+
}
79+
});
80+
}
81+
return sites;
82+
}
83+
84+
const PROTOCOL_18: Record<OwnFieldRowProtocol18Outcome, string> = {
85+
'read-and-edit': 'read and edit (Modify All voted over the set\'s own row)',
86+
};
87+
88+
const PROTOCOL_19: Record<OwnFieldRowProtocol19Outcome, string> = {
89+
hidden: 'hidden, no read and no edit (the set\'s own `readable: false` row binds)',
90+
'read-only': 'read only (the set\'s own row binds, and it grants no edit)',
91+
'read-only-where-when-matches':
92+
'read, and locked on the rows the row\'s `when` matches (elsewhere the row votes nothing and the field '
93+
+ 'follows the other sets and the object grant)',
94+
'edit-only-where-when-matches':
95+
'read, and this set votes the edit only on the rows the row\'s `when` matches (elsewhere the field follows '
96+
+ 'the other sets and the object grant, and another set\'s lock is no longer out-voted)',
97+
};
98+
99+
/**
100+
* Group ②c — the narrowed own field rows, after the applied edits and the form
101+
* move sites, before the semantic notices: each names the set, the entry, the
102+
* row, the protocol-18 and protocol-19 answer through that set, and the choice.
103+
*/
104+
export function printOwnFieldRowNarrowing(sites: readonly OwnFieldRowNarrowingSite[]): void {
105+
if (sites.length === 0) return;
106+
console.log(chalk.bold(chalk.yellow(
107+
` ${sites.length} own field row(s) beside Modify All that protocol 19 narrows — `
108+
+ 'the `viewAllFields: true` written beside the bit does not keep them:',
109+
)));
110+
for (const site of sites) {
111+
console.log(
112+
` ${chalk.yellow('⚠')} permission set '${site.set}' (${site.at}), objects entry '${site.object}', `
113+
+ `field row '${site.field}'`,
114+
);
115+
console.log(chalk.dim(` protocol 18: ${PROTOCOL_18[site.protocol18]}`));
116+
console.log(chalk.dim(` protocol 19: ${PROTOCOL_19[site.protocol19]}`));
117+
console.log(chalk.dim(` choice: ${site.choice}`));
118+
}
119+
console.log('');
120+
}

0 commit comments

Comments
 (0)