create-substrat 0.18.19 → 0.18.21
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 +1 -1
- package/project-files.js +4 -4
- package/template/AGENTS.md +3 -1
package/package.json
CHANGED
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.
|
|
36
|
-
const CONTRACTS = '^0.
|
|
35
|
+
const SUBSTRAT = '^0.217.0';
|
|
36
|
+
const CONTRACTS = '^0.215.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.
|
|
41
|
-
const ATTACHMENT_EXTRACTORS = '^0.2.
|
|
40
|
+
const DEV_ISSUER = '^0.9.17';
|
|
41
|
+
const ATTACHMENT_EXTRACTORS = '^0.2.78';
|
|
42
42
|
|
|
43
43
|
export const TSCONFIG = `${JSON.stringify(
|
|
44
44
|
{
|
package/template/AGENTS.md
CHANGED
|
@@ -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.
|
|
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
|