@ultimat3/cli 20.1.5 → 20.1.6
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 +29 -29
- package/src/mcp-host.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/cli",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.6",
|
|
4
4
|
"description": "The `x` binary: new, dev, build, verify, generate, db, mcp, doctor, deploy",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,34 +37,34 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@babel/core": "^7.28.4",
|
|
40
|
-
"@ultimat3/action": "20.1.
|
|
41
|
-
"@ultimat3/admin": "20.1.
|
|
42
|
-
"@ultimat3/ai": "20.1.
|
|
43
|
-
"@ultimat3/auth": "20.1.
|
|
44
|
-
"@ultimat3/cache": "20.1.
|
|
45
|
-
"@ultimat3/core": "20.1.
|
|
46
|
-
"@ultimat3/db": "20.1.
|
|
47
|
-
"@ultimat3/entity": "20.1.
|
|
48
|
-
"@ultimat3/flags": "20.1.
|
|
49
|
-
"@ultimat3/http": "20.1.
|
|
50
|
-
"@ultimat3/i18n": "20.1.
|
|
51
|
-
"@ultimat3/jobs": "20.1.
|
|
52
|
-
"@ultimat3/mail": "20.1.
|
|
53
|
-
"@ultimat3/manifest": "20.1.
|
|
54
|
-
"@ultimat3/mcp": "20.1.
|
|
55
|
-
"@ultimat3/money": "20.1.
|
|
56
|
-
"@ultimat3/notify": "20.1.
|
|
57
|
-
"@ultimat3/policy": "20.1.
|
|
58
|
-
"@ultimat3/pwa": "20.1.
|
|
59
|
-
"@ultimat3/query": "20.1.
|
|
60
|
-
"@ultimat3/realtime": "20.1.
|
|
61
|
-
"@ultimat3/render": "20.1.
|
|
62
|
-
"@ultimat3/schema": "20.1.
|
|
63
|
-
"@ultimat3/scraping": "20.1.
|
|
64
|
-
"@ultimat3/seo": "20.1.
|
|
65
|
-
"@ultimat3/storage": "20.1.
|
|
66
|
-
"@ultimat3/testing": "20.1.
|
|
67
|
-
"@ultimat3/time": "20.1.
|
|
40
|
+
"@ultimat3/action": "20.1.6",
|
|
41
|
+
"@ultimat3/admin": "20.1.6",
|
|
42
|
+
"@ultimat3/ai": "20.1.6",
|
|
43
|
+
"@ultimat3/auth": "20.1.6",
|
|
44
|
+
"@ultimat3/cache": "20.1.6",
|
|
45
|
+
"@ultimat3/core": "20.1.6",
|
|
46
|
+
"@ultimat3/db": "20.1.6",
|
|
47
|
+
"@ultimat3/entity": "20.1.6",
|
|
48
|
+
"@ultimat3/flags": "20.1.6",
|
|
49
|
+
"@ultimat3/http": "20.1.6",
|
|
50
|
+
"@ultimat3/i18n": "20.1.6",
|
|
51
|
+
"@ultimat3/jobs": "20.1.6",
|
|
52
|
+
"@ultimat3/mail": "20.1.6",
|
|
53
|
+
"@ultimat3/manifest": "20.1.6",
|
|
54
|
+
"@ultimat3/mcp": "20.1.6",
|
|
55
|
+
"@ultimat3/money": "20.1.6",
|
|
56
|
+
"@ultimat3/notify": "20.1.6",
|
|
57
|
+
"@ultimat3/policy": "20.1.6",
|
|
58
|
+
"@ultimat3/pwa": "20.1.6",
|
|
59
|
+
"@ultimat3/query": "20.1.6",
|
|
60
|
+
"@ultimat3/realtime": "20.1.6",
|
|
61
|
+
"@ultimat3/render": "20.1.6",
|
|
62
|
+
"@ultimat3/schema": "20.1.6",
|
|
63
|
+
"@ultimat3/scraping": "20.1.6",
|
|
64
|
+
"@ultimat3/seo": "20.1.6",
|
|
65
|
+
"@ultimat3/storage": "20.1.6",
|
|
66
|
+
"@ultimat3/testing": "20.1.6",
|
|
67
|
+
"@ultimat3/time": "20.1.6",
|
|
68
68
|
"babel-preset-solid": "^1.9.15"
|
|
69
69
|
}
|
|
70
70
|
}
|
package/src/mcp-host.ts
CHANGED
|
@@ -33,6 +33,7 @@ import { describeRoutes } from '@ultimat3/render';
|
|
|
33
33
|
import { loadApp } from './app-load';
|
|
34
34
|
import { appManifest, policyFacts } from './app-manifest';
|
|
35
35
|
import { runVerify, VERIFY_STEPS } from './cmd-verify';
|
|
36
|
+
import { declareDevEnvironment } from './dev-environment';
|
|
36
37
|
import type { RunningServices } from './dev-runtime';
|
|
37
38
|
import { startServices } from './dev-runtime';
|
|
38
39
|
import type { DevServices, Env } from './dev-services';
|
|
@@ -315,6 +316,12 @@ export async function createDevMcpServer(input: DevHostInput): Promise<CliMcpSer
|
|
|
315
316
|
// `explainError` is synchronous by `DevCapabilities`' own signature, so the walk that reads the
|
|
316
317
|
// framework's `fix:` lines happens here, once, or `errors.explain` answers with the fallback for
|
|
317
318
|
// every code it could have quoted.
|
|
319
|
+
// BEFORE `loadApp` imports a single app module, for the reason `x dev` and `startDev` declare
|
|
320
|
+
// it first: a scaffolded app's dev actor installs itself at import time, and installs nothing
|
|
321
|
+
// into a process that has not said it is development. Measured on 20.1.5: the first `ui.shot`
|
|
322
|
+
// in a session photographed a 401 (`actorKind: anonymous`), and only the second call — whose
|
|
323
|
+
// scratch boot re-imported the app after declaring — rendered. Idempotent; a set key stays.
|
|
324
|
+
declareDevEnvironment(input.env);
|
|
318
325
|
await Promise.all([loadApp(input.root), loadCodeFixes()]);
|
|
319
326
|
const lazy = lazyServices(input);
|
|
320
327
|
const ui = uiCapabilities({ root: input.root, env: input.env });
|