create-substrat 0.18.20 → 0.18.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-substrat",
3
- "version": "0.18.20",
3
+ "version": "0.18.22",
4
4
  "description": "Scaffold a Substrat vertical — `npm create substrat <dir>`.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/project-files.js CHANGED
@@ -32,13 +32,13 @@ import { DEV_SERVERS } from './dev-servers.js';
32
32
  // kernel release stops republishing everything that only reads the vocabulary — it has
33
33
  // its own line, and its own pin. Engines do NOT share a line either — each versions on
34
34
  // its own, so one pin per engine, deliberately.
35
- const SUBSTRAT = '^0.216.0';
36
- const CONTRACTS = '^0.214.0';
35
+ const SUBSTRAT = '^0.218.0';
36
+ const CONTRACTS = '^0.216.0';
37
37
  const ENGINE_WORKORDER = '^0.14.0';
38
38
  const ENGINE_INVOICING = '^0.12.0';
39
39
  const BOUNDARY_LINT = '^0.9.2';
40
- const DEV_ISSUER = '^0.9.16';
41
- const ATTACHMENT_EXTRACTORS = '^0.2.77';
40
+ const DEV_ISSUER = '^0.9.18';
41
+ const ATTACHMENT_EXTRACTORS = '^0.2.79';
42
42
 
43
43
  export const TSCONFIG = `${JSON.stringify(
44
44
  {
@@ -345,7 +345,9 @@ reference is the [todo demo](https://github.com/substrat-run/substrat/tree/main/
345
345
  Use the platform model host: `createModelHost` from `@substrat-run/vertical-host/model`,
346
346
  called from `worker.ts` outside any operation. Set `"usesModels": true` under `substrat` in
347
347
  `package.json` so a push binds `env.AI`, and pass it as `aiBinding`. It runs on platform-held
348
- credentials, so **never add a provider key** to a vertical. Reference:
348
+ credentials, so **never add a provider key** to a vertical. Locally, `substrat dev` gives the
349
+ same declaration real Workers AI through your `substrat login`, so a local server passes
350
+ `env: process.env` and needs no Cloudflare token either. Reference:
349
351
  <https://substrat.net/reference/vertical-host> (the `createModelHost` section).
350
352
 
351
353
  ## The gates — run them, believe them