@incajs/cli 0.0.5 → 0.0.6

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.
@@ -52,6 +52,13 @@ export declare class HostClient {
52
52
  * "every response a client waits for needs a deadline").
53
53
  */
54
54
  call(method: string, params?: unknown, timeoutMs?: number): Promise<unknown>;
55
+ /**
56
+ * Sends a fire-and-forget notification — no `id`, so no reply is ever
57
+ * awaited. Used for traffic a bundler integration owns (e.g. Vite's HMR
58
+ * payloads), which answers itself over the same named channel rather than
59
+ * through this client's request/reply bookkeeping.
60
+ */
61
+ notify(method: string, params?: unknown): void;
55
62
  /**
56
63
  * Asks the host to `shutdown` and waits for the child to actually exit —
57
64
  * that exit is the real acknowledgement, not the response. Kills it once
package/dist/dev.d.mts CHANGED
@@ -9,6 +9,11 @@ export interface DevOptions {
9
9
  entry?: string;
10
10
  /** Overrides the bundler — see {@link defaultBundler} for what's wired in by default. */
11
11
  bundler?: Bundler;
12
+ /**
13
+ * Delivers module-granular updates instead of a full reload on every
14
+ * change, over `bundler.hmr` — see `--experimental-hmr`.
15
+ */
16
+ experimentalHmr?: boolean;
12
17
  /**
13
18
  * Overrides host binary resolution. On macOS this is the binary the
14
19
  * app bundle wraps; elsewhere it is launched directly.