openxiangda-skill-kit 2.0.0-alpha.57 → 2.0.0-alpha.58

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-skill-kit",
3
- "version": "2.0.0-alpha.57",
3
+ "version": "2.0.0-alpha.58",
4
4
  "description": "Validation and deterministic packaging for OpenXiangda 2.0 AI skills.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -4,6 +4,12 @@ Keep normal record CRUD in the platform Data API. Use `apps/server` only for typ
4
4
 
5
5
  Do not duplicate resource persistence in controllers. Keep actions bounded and side-effect behavior explicit. Run `pnpm openxiangda dev` for the connected loop and `pnpm openxiangda check` before delivery.
6
6
 
7
+ Keep the generated `apps/server/src/main.ts` on
8
+ `bootstrapOpenXiangdaApplication(AppModule)`. Do not replace it with an
9
+ application-owned `NestFactory` or `FastifyAdapter`: the SDK bootstrap owns the
10
+ exact raw request bytes required by gateway signatures, proxy trust, shutdown
11
+ hooks, and the runtime listen contract.
12
+
7
13
  Backend routes are private to the application unless their operation declaration contains an explicit `ai` block. Never infer AI exposure or risk from the HTTP method. A write action declares its touched resources and non-empty side effects, for example:
8
14
 
9
15
  ```ts