create-substrat 0.18.0 → 0.18.2
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 +5 -5
- package/template/AGENTS.md +8 -0
package/package.json
CHANGED
package/project-files.js
CHANGED
|
@@ -30,12 +30,12 @@ import { DEV_SERVERS } from './dev-servers.js';
|
|
|
30
30
|
// The runtime packages release together off one version line (the changesets `fixed`
|
|
31
31
|
// group), so one constant is right for all of them. Engines do NOT share a line —
|
|
32
32
|
// each versions on its own, so one pin per engine, deliberately.
|
|
33
|
-
const SUBSTRAT = '^0.
|
|
34
|
-
const ENGINE_WORKORDER = '^0.13.
|
|
35
|
-
const ENGINE_INVOICING = '^0.11.
|
|
33
|
+
const SUBSTRAT = '^0.198.0';
|
|
34
|
+
const ENGINE_WORKORDER = '^0.13.23';
|
|
35
|
+
const ENGINE_INVOICING = '^0.11.82';
|
|
36
36
|
const BOUNDARY_LINT = '^0.9.1';
|
|
37
|
-
const DEV_ISSUER = '^0.
|
|
38
|
-
const ATTACHMENT_EXTRACTORS = '^0.2.
|
|
37
|
+
const DEV_ISSUER = '^0.9.0';
|
|
38
|
+
const ATTACHMENT_EXTRACTORS = '^0.2.59';
|
|
39
39
|
|
|
40
40
|
export const TSCONFIG = `${JSON.stringify(
|
|
41
41
|
{
|
package/template/AGENTS.md
CHANGED
|
@@ -340,6 +340,14 @@ membership table consulted by hand in every handler, to get a revoke. The two-li
|
|
|
340
340
|
reference is the [todo demo](https://github.com/substrat-run/substrat/tree/main/demos/todo)
|
|
341
341
|
(`src/module.ts`, `todo/share-list` and `todo/revoke-share`).
|
|
342
342
|
|
|
343
|
+
## Calling a language model
|
|
344
|
+
|
|
345
|
+
Use the platform model host: `createModelHost` from `@substrat-run/vertical-host/model`,
|
|
346
|
+
called from `worker.ts` outside any operation. Set `"usesModels": true` under `substrat` in
|
|
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:
|
|
349
|
+
<https://substrat.net/reference/vertical-host> (the `createModelHost` section).
|
|
350
|
+
|
|
343
351
|
## The gates — run them, believe them
|
|
344
352
|
|
|
345
353
|
```sh
|