@beehexa/hexasync-template-model 2610.4.7 → 2610.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -65,8 +65,8 @@ export declare function unsupportedConnectorRequestEmail(input: {
65
65
  * exists today (Epic 2 review: three comments asserted that surface as present);
66
66
  * only the data is supplied.
67
67
  *
68
- * The consequence is real and must never be silent: a bare `hexasync compose` has no catalog, so the
69
- * catalog-dependent checks cannot run. `catalogChecksSkipped` is how a run says so out loud.
68
+ * The consequence is real and must never be silent: a run without an injected catalog cannot perform
69
+ * catalog-dependent checks. `catalogChecksSkipped` is how a run says so out loud.
70
70
  */
71
71
  export interface CatalogEntry {
72
72
  readonly key: string;
@@ -120,4 +120,24 @@ export declare function entryForPair(catalog: ConnectorCatalog, connectorId: str
120
120
  export declare function entriesForSystemCode(catalog: ConnectorCatalog, systemCode: string): readonly CatalogEntry[];
121
121
  /** Any entry claiming this system id. The other half of the pair a copy-paste breaks. */
122
122
  export declare function entriesForSystemId(catalog: ConnectorCatalog, systemId: string): readonly CatalogEntry[];
123
+ /**
124
+ * One row, admitted only if it carries the three fields every consumer indexes on.
125
+ *
126
+ * `systemId`, `systemCode` and `status` are deliberately NOT required: `catalog.json` records blanks in
127
+ * `missing` and the catalog's own note is explicit that *"`status: incomplete` is a property of the row, never
128
+ * a reason to refuse it"*. Dropping an incomplete row here would make `CONN-1` report a connector the catalog
129
+ * does list — the exact failure `connectorCatalogOf` declines whole files in order to avoid.
130
+ *
131
+ * Lives beside the shape rather than in one Host, so the editor and the MCP server load the shipped catalog
132
+ * through ONE projection: a second parser is a second place for a field to go missing.
133
+ */
134
+ export declare function connectorCatalogEntryOf(value: unknown): CatalogEntry | undefined;
135
+ /**
136
+ * The parsed `connectors/catalog.json` document as a catalog, or nothing.
137
+ *
138
+ * A single unreadable row is enough to decline the whole file: a catalog with one connector missing is a
139
+ * catalog that accuses that connector's author (`CONN-1` "not in the catalog"), while no catalog at all makes
140
+ * `CONN-0` say out loud that catalog checks were skipped. Declining is loud; a half-truth is not.
141
+ */
142
+ export declare function connectorCatalogOf(document: unknown): ConnectorCatalog | undefined;
123
143
  //# sourceMappingURL=connectorSupport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connectorSupport.d.ts","sourceRoot":"","sources":["../src/connectorSupport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,oGAAoG;AACpG,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAKjD,CAAC;AAEF,eAAO,MAAM,aAAa,wBAAwB,CAAC;AAEnD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IACzC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,YAAY,GAAG,MAAM,CAexE;AAED;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,QAEW,CAAC;AAEpD;;;;;;GAMG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE;IACtD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC;CAC9B,GAAG;IAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAwB3E;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,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ACzB,WAAW,EAAE,MAAM,GAClB,OAAO,CAET;AAED,mGAAmG;AACnG,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,gBAAgB,EACzB,WAAW,EAAE,MAAM,GAClB,SAAS,YAAY,EAAE,CAIzB;AAED,gGAAgG;AAChG,wBAAgB,YAAY,CAC1B,OAAO,EAAE,gBAAgB,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAAG,SAAS,GAC7B,YAAY,GAAG,SAAS,CAI1B;AAED,gGAAgG;AAChG,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,gBAAgB,EACzB,UAAU,EAAE,MAAM,GACjB,SAAS,YAAY,EAAE,CAIzB;AAED,yFAAyF;AACzF,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,gBAAgB,EACzB,QAAQ,EAAE,MAAM,GACf,SAAS,YAAY,EAAE,CAIzB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,SAAS,CA0GhF;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,OAAO,GAAG,gBAAgB,GAAG,SAAS,CA6BlF"}
@@ -113,4 +113,144 @@ export function entriesForSystemCode(catalog, systemCode) {
113
113
  export function entriesForSystemId(catalog, systemId) {
114
114
  return catalog.connectors.filter((entry) => fold(entry.systemId) === fold(systemId));
115
115
  }
116
+ /**
117
+ * One row, admitted only if it carries the three fields every consumer indexes on.
118
+ *
119
+ * `systemId`, `systemCode` and `status` are deliberately NOT required: `catalog.json` records blanks in
120
+ * `missing` and the catalog's own note is explicit that *"`status: incomplete` is a property of the row, never
121
+ * a reason to refuse it"*. Dropping an incomplete row here would make `CONN-1` report a connector the catalog
122
+ * does list — the exact failure `connectorCatalogOf` declines whole files in order to avoid.
123
+ *
124
+ * Lives beside the shape rather than in one Host, so the editor and the MCP server load the shipped catalog
125
+ * through ONE projection: a second parser is a second place for a field to go missing.
126
+ */
127
+ export function connectorCatalogEntryOf(value) {
128
+ if (typeof value !== 'object' || value === null || Array.isArray(value))
129
+ return undefined;
130
+ const { key, name, generation, connectorId, systemId, systemCode, status, icon, description, supersededBy, supersedes, connectable, internal,
131
+ /**
132
+ * ⛔ ADDED in the Story 5.5 review, because it could never reach a consumer.
133
+ *
134
+ * The card was built to show `authKind` and a test claimed it would "the day a row declares one" — but this
135
+ * projection did not carry the field, so the answer was `undefined` no matter what any row or overlay said.
136
+ * The test hand-built its entry and so could not see it.
137
+ *
138
+ * That is the **fourth** field this allowlist has silently dropped: `icon` (Story 3.1), `description`
139
+ * (3.4), `supersededBy` (3.9), now this. The pattern is the allowlist itself — a projection that must be
140
+ * edited for every new field will be forgotten for every new field.
141
+ */
142
+ authKind, } = value;
143
+ /**
144
+ * BLANK is not present (Epic 2 review).
145
+ *
146
+ * `typeof '' === 'string'` passed, so a row with `connectorId: ""` was admitted into the catalog — and then
147
+ * `fold('')` matched no real identity, so `CONN-1` reported that very connector as *"not in the shipped
148
+ * catalog"*. The catalog listed it and the rule denied it, which is exactly the accusation this module
149
+ * declines whole files to avoid. The shipped data uses `""` rather than absence for its incomplete rows, so
150
+ * this is the file's own idiom rather than a hypothetical.
151
+ *
152
+ * `systemId`/`systemCode`/`status` stay optional and may be blank: the catalog's note is explicit that an
153
+ * incomplete row is still a row. Only the three fields every consumer INDEXES on must be real.
154
+ */
155
+ const declared = (field) => typeof field === 'string' && field.trim() !== '';
156
+ if (!declared(key) ||
157
+ !declared(name) ||
158
+ !declared(generation) ||
159
+ !declared(connectorId)) {
160
+ return undefined;
161
+ }
162
+ return {
163
+ key,
164
+ name,
165
+ generation,
166
+ connectorId,
167
+ ...(typeof systemId === 'string' ? { systemId } : {}),
168
+ ...(typeof systemCode === 'string' ? { systemCode } : {}),
169
+ ...(typeof status === 'string' ? { status } : {}),
170
+ /**
171
+ * `icon` is CARRIED, as of Story 3.1 (FR-11).
172
+ *
173
+ * It was dropped here — every one of the 22 rows ships an `icon` and the projection silently omitted it, so
174
+ * the chain's third link could never fire through a loaded catalog. `iconChain.spec.ts` did not catch it
175
+ * because it read `catalog.json` directly rather than through this loader: a test that bypasses the code it
176
+ * is about proves only that the DATA is fine. Found by survey before shipping.
177
+ */
178
+ ...(typeof icon === 'string' ? { icon } : {}),
179
+ /**
180
+ * `authKind` — the FOURTH field this projection had lost (Story 5.5 review).
181
+ *
182
+ * Carried so the connection card can state how a system authenticates, which the PRD calls *"the fact a
183
+ * developer can currently only get by reading gateway source"*. No shipped row declares one today, so this
184
+ * changes nothing visible — and that is exactly why it went unnoticed: the card's own test hand-built its
185
+ * entry and never came through here.
186
+ */
187
+ ...(typeof authKind === 'string' ? { authKind } : {}),
188
+ /**
189
+ * `description` is carried too — and this projection has now dropped a needed field TWICE.
190
+ *
191
+ * `icon` went missing until Story 3.1 asked for it; `description` until Story 3.4 tried to default a
192
+ * generated connection's description from it. The pattern is the projection being an allowlist while the
193
+ * catalog schema is `additionalProperties: false`: every new consumer discovers a field that was there all
194
+ * along and unreachable. Recorded as **Story D.12** — carry the declared shape rather than an allowlist.
195
+ */
196
+ ...(typeof description === 'string' ? { description } : {}),
197
+ /**
198
+ * The generation lineage — `supersededBy` is Story 3.9's AC-5 (offer the migration by name).
199
+ *
200
+ * THIRD field this projection has silently dropped, after `icon` and `description`. Three occurrences settle
201
+ * what D.12 argued from two: an allowlist against an `additionalProperties: false` schema fails closed and
202
+ * silently, and the failure looks like missing data rather than a dropped field. Every one of these was
203
+ * present in the shipped rows the entire time.
204
+ */
205
+ ...(typeof supersededBy === 'string' ? { supersededBy } : {}),
206
+ ...(typeof supersedes === 'string' ? { supersedes } : {}),
207
+ /**
208
+ * Whether the picker may offer this row (Epic 3 review, finding 4).
209
+ *
210
+ * `internal` marks the ids that are real but are never *"a system to connect to"* — the self connector,
211
+ * PostgreSQL, Basic Authentication. Both are absent on every shipped row and both default permissive at the
212
+ * call site, so today nothing is hidden; the FILTER is what was missing from AC-3, not the data.
213
+ */
214
+ ...(typeof connectable === 'boolean' ? { connectable } : {}),
215
+ ...(typeof internal === 'boolean' ? { internal } : {}),
216
+ };
217
+ }
218
+ /**
219
+ * The parsed `connectors/catalog.json` document as a catalog, or nothing.
220
+ *
221
+ * A single unreadable row is enough to decline the whole file: a catalog with one connector missing is a
222
+ * catalog that accuses that connector's author (`CONN-1` "not in the catalog"), while no catalog at all makes
223
+ * `CONN-0` say out loud that catalog checks were skipped. Declining is loud; a half-truth is not.
224
+ */
225
+ export function connectorCatalogOf(document) {
226
+ if (typeof document !== 'object' || document === null || Array.isArray(document))
227
+ return undefined;
228
+ const { catalogVersion, universalConnectorId, connectors } = document;
229
+ if (typeof catalogVersion !== 'string' && typeof catalogVersion !== 'number')
230
+ return undefined;
231
+ if (typeof universalConnectorId !== 'string' || universalConnectorId.trim() === '')
232
+ return undefined;
233
+ if (!Array.isArray(connectors) || connectors.length === 0)
234
+ return undefined;
235
+ const rows = [];
236
+ for (const row of connectors) {
237
+ const entry = connectorCatalogEntryOf(row);
238
+ if (!entry)
239
+ return undefined;
240
+ rows.push(entry);
241
+ }
242
+ /**
243
+ * The universal connector id must NAME A ROW (Epic 2 review).
244
+ *
245
+ * Checked only for being a non-blank string, so a catalog whose `universalConnectorId` matched nothing still
246
+ * loaded — and then every V3 connection entered the rule's universal branch with an empty entry list, where a
247
+ * known-good V2 system code produced `critical` with its "valid codes here include" clause silently omitted,
248
+ * and the connector id itself was never reported. The rule's two branches disagreed about the same
249
+ * catalog-integrity question; this answers it once, at the door, where a bad catalog is the tool's problem.
250
+ */
251
+ if (!rows.some((row) => fold(row.connectorId) === fold(universalConnectorId))) {
252
+ return undefined;
253
+ }
254
+ return { catalogVersion, universalConnectorId, connectors: rows };
255
+ }
116
256
  //# sourceMappingURL=connectorSupport.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connectorSupport.js","sourceRoot":"","sources":["../src/connectorSupport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,oGAAoG;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