@camstack/develop 0.1.37 → 0.1.38

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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.38] - 2026-10-27
11
+
12
+ ### Changed
13
+
14
+ - The addon skill documents the standard session-lost alert for cloud integrations
15
+
10
16
  ## [0.1.37] - 2026-10-27
11
17
 
12
18
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/develop",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "description": "CamStack developer tooling — catalogue, scaffold, validate, and example lookup shared by the CLI and MCP server.",
5
5
  "keywords": [
6
6
  "camstack",
@@ -97,6 +97,14 @@ Rules that bite:
97
97
  - **Secrets** — any password, token or key field, `secretStatePaths`, a
98
98
  credential for a spawned child: the `camstack-secrets` skill. Never read a
99
99
  credential from the environment.
100
+ - **An addon that keeps a cloud session reports it, it does not alert by hand.**
101
+ Create an `IntegrationSessionReporter` (`@camstack/types`) with a `classify(err)`
102
+ that returns a `SessionLossReason` only when the cloud ended OUR session
103
+ (kicked, token refused, sign-in rejected) and `null` for network and per-device
104
+ errors; `bind()` it in `onInitialize`, call `failure(id, err)` / `ok(id)` from
105
+ the manager and the devices, `forget(id)` for a vanished integration and
106
+ `unbind()` on shutdown. One debounced alert per integration, resolved by the
107
+ next `ok` (D953).
100
108
 
101
109
  ## 3. Wire it — the four places, one of which is silent
102
110