openxiangda 1.0.230 → 1.0.232

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <!-- OpenXiangda-Policy-Version: 4 -->
1
+ <!-- OpenXiangda-Policy-Version: 5 -->
2
2
  # OpenXiangda
3
3
 
4
4
  OpenXiangda is a lightweight CLI and skill package for private low-code platforms.
@@ -7,6 +7,30 @@ Normal OpenXiangda app development uses platform-user login tokens through `/ope
7
7
 
8
8
  Private platform routing is fixed: backend APIs are under `/service`, platform management is under `/platform`, and app runtime access is under `/view`. Passing a root domain such as `https://yida.wisejob.cn/` to the CLI is supported; OpenXiangda stores the API base as `https://yida.wisejob.cn/service`.
9
9
 
10
+ ## Delivery V2
11
+
12
+ New workspaces declare `deliveryVersion: 2`. The release flow is intentionally
13
+ small and deterministic:
14
+
15
+ ```bash
16
+ openxiangda check --environment preproduction
17
+ openxiangda deploy preproduction --json
18
+ openxiangda deploy production --package <packageDigest> --json
19
+ openxiangda status <runId> --json
20
+ openxiangda retry <runId> --json
21
+ openxiangda rollback production --to <appReleaseId> --json
22
+ ```
23
+
24
+ The preproduction deploy compiles one content-addressed App Package containing
25
+ source, form, configuration, backend, workflow, and Runtime layers. Production
26
+ downloads that exact package and does not rebuild it. ReleaseRun state and
27
+ checkpoints live on the platform, so a CLI/AI interruption does not discard
28
+ completed work. V2 does not require SDD, a clean/pushed Git mainline,
29
+ `--change`, `--only`, or candidate/ship orchestration.
30
+
31
+ The lower-level commands later in this README remain available for V1
32
+ compatibility and diagnostics; do not use them to assemble a normal V2 release.
33
+
10
34
  ```bash
11
35
  npm install -g openxiangda@latest --registry=https://registry.npmjs.org
12
36
  openxiangda update check
@@ -22,7 +46,8 @@ openxiangda env
22
46
  openxiangda workspace init ./my-app-workspace --profile dev --app-name "示例应用"
23
47
  cd ./my-app-workspace
24
48
  pnpm install
25
- openxiangda workspace publish --profile dev
49
+ openxiangda check --environment preproduction
50
+ openxiangda deploy preproduction --json
26
51
  openxiangda menu list --profile dev
27
52
  openxiangda workflow list --profile dev
28
53
  openxiangda automation list --profile dev