@vertesia/appgen-docs 1.5.0-dev.20260806.125520Z → 1.5.0-dev.20260807.073259Z

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.
@@ -418,6 +418,11 @@ Registered hooks are exposed as authenticated POST endpoints at `/api/hooks/inst
418
418
  app package advertises their endpoint paths under `hooks` for inspection. Studio invokes the conventional endpoints
419
419
  directly and treats a 404 as an absent optional hook.
420
420
 
421
+ Building an immutable version advertises these definitions but does not execute them. Studio runs the promoted
422
+ version's install hook during promotion reconciliation and runs the previous promoted version's uninstall hook when
423
+ it is replaced or removed. For an unpromoted candidate, validate source registration and package output only; do not
424
+ invoke lifecycle endpoints manually or fail candidate QA because their side effects are absent.
425
+
421
426
  In an appgen capability manifest, declare lifecycle hooks with type `hook` and ids such as
422
427
  `app:<app-name>:install` and `app:<app-name>:uninstall`.
423
428
 
@@ -476,7 +481,8 @@ Represent it in an appgen capability manifest as a `hook` artifact such as
476
481
  ## Application event subscriptions
477
482
 
478
483
  Subscriptions are declarative package contributions that route matching platform events to an event hook in the same
479
- app. They do not contain a deployment URL or project scope. Studio derives both when it installs the app.
484
+ app. They do not contain a deployment URL or project scope. Studio derives both from the version selected during
485
+ promotion.
480
486
 
481
487
  ```typescript
482
488
  // src/modules/app/resources/subscriptions/index.ts
@@ -505,6 +511,11 @@ the same event hook with different filters. Inspect the result with `GET /api/pa
505
511
  Represent each definition in an appgen capability manifest as a `subscription` artifact such as
506
512
  `app:<app-name>:content-updated`.
507
513
 
514
+ An unpromoted candidate exposes these package definitions but does not create protected Event Bus subscriptions, and
515
+ matching events are not delivered to that candidate's hook. Candidate validation is therefore limited to source and
516
+ package-summary wiring. Use Event Bus subscription and delivery evidence only after the version has been explicitly
517
+ promoted.
518
+
508
519
  ---
509
520
 
510
521
  ## Collection registration & icons
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertesia/appgen-docs",
3
- "version": "1.5.0-dev.20260806.125520Z",
3
+ "version": "1.5.0-dev.20260807.073259Z",
4
4
  "description": "Generated SDK references and development guidance for Vertesia app agents",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -18,10 +18,10 @@
18
18
  "devDependencies": {
19
19
  "@types/node": "^24.13.3",
20
20
  "typescript": "7.0.2",
21
- "@vertesia/client": "1.5.0-dev.20260806.125520Z",
22
- "@vertesia/common": "1.5.0-dev.20260806.125520Z",
21
+ "@vertesia/client": "1.5.0-dev.20260807.073259Z",
22
+ "@vertesia/common": "1.5.0-dev.20260807.073259Z",
23
23
  "@vertesia/tsconfig": "0.1.0",
24
- "@vertesia/ui": "1.5.0-dev.20260806.125520Z"
24
+ "@vertesia/ui": "1.5.0-dev.20260807.073259Z"
25
25
  },
26
26
  "repository": {
27
27
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "documentation",
35
35
  "app-development"
36
36
  ],
37
- "gitHead": "416423ef4182d8668809604902a871ca79629298",
37
+ "gitHead": "e6ebc1482ad6c4df965d74c79f82eb25fc6e2ce3",
38
38
  "scripts": {
39
39
  "build": "pnpm run clean && tsc -p tsconfig.json && node ./scripts/generate-docs.mjs",
40
40
  "clean": "rimraf ./lib ./docs ./tsconfig.tsbuildinfo",