@sigloch/graphcode-client 0.8.0 → 0.10.0

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.
@@ -8,7 +8,7 @@
8
8
  * per-element warning rule fires 0 times and the gate reads green).
9
9
  *
10
10
  * CR-SM-226: every leg now reads off a named `@sigloch/contracts` rule instead of
11
- * re-walking the graph locally. The former local out-edge/actor-boundary/testRef/
11
+ * re-walking the graph locally. The former local out-edge/actor-boundary/testRefs/
12
12
  * codeRef/leaf-function helpers were a SECOND, drifting implementation of exactly
13
13
  * what R-15/UC-01/UC-03/FC-04/SC-04/R-19/R-20 already check in `@sigloch/contracts/se`
14
14
  * — deleted. The rule engine stays the single source of truth; this file only
@@ -57,7 +57,7 @@ export interface CompletenessLeg {
57
57
  * UC→FCHAIN = UC-03, UC→REQ = UC-01.
58
58
  * PDR: FCHAIN→FUNC = R-15, FCHAIN-actor-bounded = FC-04 (trigger+consumer).
59
59
  * CDR: FLOW→SCHEMA = SC-04 (sharp per-FLOW version of SC-02).
60
- * TRR: TEST.testRef = R-19, FUNC.realRef = R-20.
60
+ * TRR: TEST.testRefs = R-19, FUNC.realRef = R-20.
61
61
  */
62
62
  export declare const COMPLETENESS_SLICES: Record<string, CompletenessLeg[]>;
63
63
  /**
@@ -9,7 +9,7 @@ export const typeOf = (byId, id) => byId.get(id)?.type;
9
9
  * UC→FCHAIN = UC-03, UC→REQ = UC-01.
10
10
  * PDR: FCHAIN→FUNC = R-15, FCHAIN-actor-bounded = FC-04 (trigger+consumer).
11
11
  * CDR: FLOW→SCHEMA = SC-04 (sharp per-FLOW version of SC-02).
12
- * TRR: TEST.testRef = R-19, FUNC.realRef = R-20.
12
+ * TRR: TEST.testRefs = R-19, FUNC.realRef = R-20.
13
13
  */
14
14
  export const COMPLETENESS_SLICES = {
15
15
  // Behavioral spine exists: system has use cases, every UC derives a chain AND requirements.
@@ -30,7 +30,7 @@ export const COMPLETENESS_SLICES = {
30
30
  // Binding: tests are runnable and functions carry code — concept/external exemptions
31
31
  // are R-19/R-20's own business now (single source of truth), not re-decided here.
32
32
  TRR: [
33
- { id: 'TEST.testRef', sourceType: 'TEST', ruleId: 'R-19' },
33
+ { id: 'TEST.testRefs', sourceType: 'TEST', ruleId: 'R-19' },
34
34
  { id: 'FUNC.realRef', sourceType: 'FUNC', ruleId: 'R-20' },
35
35
  ],
36
36
  };
package/dist/readiness.js CHANGED
@@ -34,7 +34,7 @@ const isCodingProfile = (id) => /^(BQ-|ND-)/.test(id);
34
34
  */
35
35
  const RC_PRESENCE_PARTNER = {
36
36
  'RC-01': 'R-20', // FUNC realRef → declared symbol
37
- 'RC-02': 'R-19', // testRef → runnable test case
37
+ 'RC-02': 'R-19', // testRefs → runnable test cases
38
38
  'RC-03': 'R-26', // SCHEMA realRef → declared export
39
39
  'RC-04': 'R-26', // SCHEMA realRef parsed at its interface
40
40
  'RC-05': 'R-23', // cross-module import the graph does not document
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigloch/graphcode-client",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,7 +9,9 @@
9
9
  "LICENSE"
10
10
  ],
11
11
  "exports": {
12
- ".": "./dist/index.js"
12
+ ".": "./dist/index.js",
13
+ "./view-catalog": "./dist/view-catalog.js",
14
+ "./panels": "./dist/panels.js"
13
15
  },
14
16
  "scripts": {
15
17
  "build": "rm -rf dist && tsc",
@@ -17,8 +19,8 @@
17
19
  "prepublishOnly": "npm run build && npm run test"
18
20
  },
19
21
  "dependencies": {
20
- "@sigloch/contracts": "^3.2.0",
21
- "@sigloch/graph-api-core": "^2.1.0"
22
+ "@sigloch/contracts": "^5.0.0",
23
+ "@sigloch/graph-api-core": "^4.0.0"
22
24
  },
23
25
  "license": "MIT",
24
26
  "description": "Read-side client for a running @sigloch/graphcode host — host-socket calls, dashboard panels, readiness projection and the markdown view catalog. Deliberately free of Kuzu and the MCP SDK so a viewer can depend on it without pulling an embedded graph database.",