diff --git a/README.md b/README.md index e48af2c..7cc9b8c 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ if (homeKey === undefined) throw new Error('MIAKAPP_HOME_KEY is required'); const coordinator = createCoordinator({ name: 'home-assistant', accessTokenProvider: createHomeKeyAccessTokenProvider({ - exchangeEndpoint: 'https://control.miakapp.com/v1/access-tokens:exchange', + exchangeEndpoint: 'https://api.miakapp.com/v1/access-tokens:exchange', homeKey, }), }); diff --git a/packages/cli/README.md b/packages/cli/README.md index b551e91..114c6ce 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -40,8 +40,7 @@ build a whole-house application with nothing but this package and Bun: Prerequisites: Node.js ≥ 22.9 for the CLI, Bun ≥ 1.2.23 for `bun run build` (TypeScript, from `bun install`, only for `typecheck`). The starter accepts `--artifact` (a plain relative `.js` path), `--release`, `--home`, -`--control-plane` and `--context`; it cannot be combined with -`--kind component`. +`--control-plane` and `--context`. It never overwrites anything: every target is checked first, and if any one exists the command fails with exit 2 and writes nothing. Without `--starter`, @@ -89,8 +88,7 @@ coordinator: ``` `app` declares only `state_read` and `call`; events, media and reserved -`miakapp.*` calls are unavailable. Use `miakapp init --kind component` for the -semantic component ABI instead. Choose exactly one of `app` and `component`. +`miakapp.*` calls are unavailable. `requires` is the closed RFC 0002 capability object. Lists are de-duplicated and sorted before they are bound into an upload capability, so the value the CLI @@ -237,7 +235,7 @@ miakapp pair --code "$CODE" # allowed, but lands in shell history | Option | Default | | --- | --- | -| `--issuer ` | `https://control.miakapp.com` | +| `--issuer ` | `https://api.miakapp.com` | | `--label