openxiangda 2.0.0-alpha.21 → 2.0.0-alpha.22

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openxiangda",
3
- "version": "2.0.0-alpha.21",
3
+ "version": "2.0.0-alpha.22",
4
4
  "description": "Unified OpenXiangda 2.0 CLI, SDK, React runtime, NestJS integration and AI skill distribution.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -49,12 +49,12 @@
49
49
  "dependencies": {
50
50
  "dayjs": "1.11.18",
51
51
  "docx-preview": "0.3.7",
52
- "openxiangda-cli": "2.0.0-alpha.108",
53
- "openxiangda-contracts": "2.0.0-alpha.50",
54
- "openxiangda-devkit-core": "2.0.0-alpha.67",
55
- "openxiangda-mcp": "2.0.0-alpha.67",
56
- "openxiangda-nest": "2.0.0-alpha.61",
57
- "openxiangda-skill-kit": "2.0.0-alpha.85",
52
+ "openxiangda-cli": "2.0.0-alpha.109",
53
+ "openxiangda-contracts": "2.0.0-alpha.51",
54
+ "openxiangda-devkit-core": "2.0.0-alpha.68",
55
+ "openxiangda-mcp": "2.0.0-alpha.68",
56
+ "openxiangda-nest": "2.0.0-alpha.62",
57
+ "openxiangda-skill-kit": "2.0.0-alpha.86",
58
58
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
59
59
  },
60
60
  "peerDependencies": {
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "name": "openxiangda-v2",
6
6
  "description": "Use when researching, designing, building, testing, or delivering a complete OpenXiangda 2.0 application.",
7
- "sha256": "4e79de2626b4fe8ec1049cba8354db8447b2d93160957237df8ba6a3d547bc93"
7
+ "sha256": "0d7a537bb7af5b79bc9e9b78de2a078cfc39201d65cecffd78231086cfa2bf55"
8
8
  }
9
9
  ]
10
10
  }
@@ -10,14 +10,14 @@ Treat requirement discovery, architecture, authorization, development, testing a
10
10
  Before a workspace exists, use this Skill's exact npm version:
11
11
 
12
12
  ```bash
13
- pnpm dlx openxiangda@2.0.0-alpha.21 login --base-url <platform>
14
- pnpm dlx openxiangda@2.0.0-alpha.21 create <directory>
13
+ pnpm dlx openxiangda@2.0.0-alpha.22 login --base-url <platform>
14
+ pnpm dlx openxiangda@2.0.0-alpha.22 create <directory>
15
15
  ```
16
16
 
17
17
  Inside an application, use only its locked executable through `pnpm openxiangda`. Never invoke a bare global `openxiangda`, because that executable may belong to stable 1.x. Moving tags such as `latest` and `alpha` are forbidden. To install or refresh this same Skill from the package, run:
18
18
 
19
19
  ```bash
20
- pnpm dlx openxiangda@2.0.0-alpha.21 skill install --force
20
+ pnpm dlx openxiangda@2.0.0-alpha.22 skill install --force
21
21
  ```
22
22
 
23
23
  Use this order:
@@ -157,6 +157,9 @@ contract:
157
157
 
158
158
  - every guard has a stable `OPENXIANGDA_*` `errorCode`;
159
159
  - `query-empty` protects a business-key uniqueness rule;
160
+ - `record-exists` requires one visible record without forcing a mutation of it;
161
+ - `record-match` requires one visible record plus typed value/field assertions,
162
+ and may protect a mutation of another resource;
160
163
  - `record-assert` locks one exact record and checks declared field values or
161
164
  declared field-to-field comparisons;
162
165
  - `increment` targets one declared integer field and must have a matching