@substrat-run/vertical-host 0.192.0 → 0.193.0
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/dist/kick-flags.d.ts.map +1 -1
- package/dist/kick-flags.js +3 -1
- package/dist/kick-flags.js.map +1 -1
- package/package.json +7 -7
package/dist/kick-flags.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kick-flags.d.ts","sourceRoot":"","sources":["../src/kick-flags.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,GAC/C,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"kick-flags.d.ts","sourceRoot":"","sources":["../src/kick-flags.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,GAC/C,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,kBAAkB,CAAC,CAOnE"}
|
package/dist/kick-flags.js
CHANGED
|
@@ -13,7 +13,9 @@ import { EXPORTED_EVENTS_HEADER, PLATFORM_REQUEST_HEADER } from '@substrat-run/c
|
|
|
13
13
|
*/
|
|
14
14
|
export function kickFlags(setHeader) {
|
|
15
15
|
return {
|
|
16
|
-
|
|
16
|
+
// The value names the scope the intents went into: a worker that serves several scopes under
|
|
17
|
+
// one hostname picks one per request, and the router's routed scope is then the wrong drain.
|
|
18
|
+
onPlatformRequests: (_count, scopeId) => setHeader(PLATFORM_REQUEST_HEADER, scopeId),
|
|
17
19
|
onExportedEvents: () => setHeader(EXPORTED_EVENTS_HEADER, '1'),
|
|
18
20
|
};
|
|
19
21
|
}
|
package/dist/kick-flags.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kick-flags.js","sourceRoot":"","sources":["../src/kick-flags.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAGvG;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CACvB,SAAgD;IAEhD,OAAO;QACL,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"kick-flags.js","sourceRoot":"","sources":["../src/kick-flags.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAGvG;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CACvB,SAAgD;IAEhD,OAAO;QACL,6FAA6F;QAC7F,6FAA6F;QAC7F,kBAAkB,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,uBAAuB,EAAE,OAAO,CAAC;QACpF,gBAAgB,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,sBAAsB,EAAE,GAAG,CAAC;KAC/D,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@substrat-run/vertical-host",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.193.0",
|
|
4
4
|
"description": "The platform's /internal/* surface + error envelope, authored once — mount it in a vertical worker instead of re-copying the control-plane contract",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"ai": "7.0.159",
|
|
38
38
|
"hono": "^4.13.13",
|
|
39
39
|
"workers-ai-provider": "^4.0.0",
|
|
40
|
-
"@substrat-run/contracts": "^0.
|
|
41
|
-
"@substrat-run/
|
|
42
|
-
"@substrat-run/kernel": "^0.
|
|
43
|
-
"@substrat-run/
|
|
40
|
+
"@substrat-run/contracts": "^0.193.0",
|
|
41
|
+
"@substrat-run/vertical-auth": "^0.33.2",
|
|
42
|
+
"@substrat-run/kernel": "^0.193.0",
|
|
43
|
+
"@substrat-run/model-providers": "^0.5.83"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@scalar/api-reference": "1.76.4",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"better-sqlite3": "^13.0.3",
|
|
49
49
|
"typescript": "^7.0.0",
|
|
50
50
|
"vitest": "^5.0.5",
|
|
51
|
-
"@substrat-run/adapter-sqlite": "^0.
|
|
52
|
-
"@substrat-run/contract-tests": "^0.
|
|
51
|
+
"@substrat-run/adapter-sqlite": "^0.193.0",
|
|
52
|
+
"@substrat-run/contract-tests": "^0.193.0"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|