@hiai-gg/docsmint 0.3.4 → 0.3.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.
package/README.md CHANGED
@@ -230,6 +230,24 @@ console.log(created.id, results.items);
230
230
  The SDK is a typed `fetch` client with retries for transient failures. See the
231
231
  [SDK reference](packages/sdk/README.md) and [REST API](docs/API.md).
232
232
 
233
+ ### Server-only host integration
234
+
235
+ Hosts that run DocsMint as a packaged backend can start the bundled Bun
236
+ runtime without importing checkout source:
237
+
238
+ ```ts
239
+ import { launchDocsmintBackend } from "@hiai-gg/docsmint/backend/launcher";
240
+
241
+ const backend = launchDocsmintBackend({ env: { API_PORT: "50700" } });
242
+ await backend.ready;
243
+ // Later: await backend.stop();
244
+ ```
245
+
246
+ Storage quota persistence remains host-owned. DocsMint provides the stable,
247
+ atomic reservation contract at `@hiai-gg/docsmint/storage-quota`; adapters
248
+ must enforce the check and reservation in one durable operation. Both paths
249
+ are server-only and are rejected by browser builds.
250
+
233
251
  ## API keys and integrations
234
252
 
235
253
  Create and revoke integration keys from **Settings → API**.