@miakapp/cli 4.0.0-alpha.4 → 4.0.0-alpha.5

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.
@@ -145,8 +145,8 @@ Four declarations:
145
145
 
146
146
  ```ts
147
147
  {
148
- state: { 'zone.salon.light.on': false }, // paths and initial values
149
- stateAccess: [{ userId, patterns: ['zone.salon.*'] }],
148
+ state: { 'zone.living_room.light.on': false }, // paths and initial values
149
+ stateAccess: [{ userId, patterns: ['zone.living_room.*'] }],
150
150
  events: [{ topic, directions: EventDirection.publishToUsers }],
151
151
  eventAccess: [{ userId, publish: [], subscribe: [topic] }],
152
152
  functions: { async 'lighting.set'(call) { /* authorize, act, return */ } },
@@ -201,8 +201,8 @@ Handlers are functions, not identifiers to wire up by hand:
201
201
 
202
202
  ```ts
203
203
  ui.toggle({
204
- id: 'salon-light',
205
- label: 'Lampe du salon',
204
+ id: 'living-room-light',
205
+ label: 'Living-room lamp',
206
206
  value: asBoolean(home.state.get(LIGHT_ON)),
207
207
  disabled: home.staging || !healthy,
208
208
  pending,
@@ -238,7 +238,7 @@ try {
238
238
  } catch (error) {
239
239
  // Deliberately not retried. The call may already have reached the lamp,
240
240
  // and the next state snapshot settles the question.
241
- failure = error instanceof Error ? error.message : 'La commande a échoué';
241
+ failure = error instanceof Error ? error.message : 'The command failed';
242
242
  }
243
243
  ```
244
244
 
package/dist/version.d.ts CHANGED
@@ -11,5 +11,5 @@
11
11
  * would resolve a different release than the guide shipped beside it.
12
12
  */
13
13
  export declare const PACKAGE_NAME = "@miakapp/cli";
14
- export declare const CLI_VERSION = "4.0.0-alpha.4";
14
+ export declare const CLI_VERSION = "4.0.0-alpha.5";
15
15
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -11,5 +11,5 @@
11
11
  * would resolve a different release than the guide shipped beside it.
12
12
  */
13
13
  export const PACKAGE_NAME = '@miakapp/cli';
14
- export const CLI_VERSION = '4.0.0-alpha.4';
14
+ export const CLI_VERSION = '4.0.0-alpha.5';
15
15
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miakapp/cli",
3
- "version": "4.0.0-alpha.4",
3
+ "version": "4.0.0-alpha.5",
4
4
  "description": "Agent-first Miakapp command line: check, build, publish, activate and roll back home components",
5
5
  "type": "module",
6
6
  "engines": {