@north-light/crouter 0.3.168 → 0.3.170
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/cli.js +4 -0
- package/dist/clients/attach/viewer.js +314 -314
- package/dist/commands/human/prompts.js +15 -6
- package/dist/commands/sys/daemon.js +1 -0
- package/dist/core/__tests__/human-deliver.test.js +62 -2
- package/dist/core/__tests__/revive.test.js +48 -0
- package/dist/core/bash-jobs.d.ts +16 -17
- package/dist/core/bash-jobs.js +39 -38
- package/dist/core/canvas/__tests__/render-remote.test.js +25 -0
- package/dist/core/canvas/crons.d.ts +3 -2
- package/dist/core/canvas/crons.js +3 -2
- package/dist/core/canvas/render-source.js +6 -2
- package/dist/core/command.d.ts +8 -0
- package/dist/core/command.js +11 -1
- package/dist/core/runtime/revive-all.js +3 -1
- package/dist/core/runtime/revive.d.ts +7 -0
- package/dist/core/runtime/revive.js +15 -3
- package/dist/daemon/fleet.js +4 -0
- package/dist/pi-extensions/canvas-bash-valve.js +76 -18
- package/package.json +1 -1
- package/runtime.lock.json +2 -2
- package/scripts/install-runtime.mjs +36 -13
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import './suppress-experimental-warnings.js';
|
|
3
|
+
import { openSync } from 'node:fs';
|
|
3
4
|
import { enableCompileCache } from 'node:module';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
4
6
|
import { runCli } from './core/command.js';
|
|
5
7
|
import { resolveRoot, hydrateAbsentStoresAndRebuild } from './build-root.js';
|
|
6
8
|
import { maybeBootRoot } from './core/runtime/front-door.js';
|
|
@@ -12,6 +14,8 @@ import { handle } from './core/io.js';
|
|
|
12
14
|
import { CrtrError } from './core/errors.js';
|
|
13
15
|
import { ApiError } from './api/index.js';
|
|
14
16
|
import { mark } from './core/timing.js';
|
|
17
|
+
// Keep this runtime generation visible to installer GC for this CLI process's lifetime.
|
|
18
|
+
openSync(fileURLToPath(import.meta.url), 'r');
|
|
15
19
|
installStdoutErrorPolicy();
|
|
16
20
|
// CRTR_TIMING=1 phase markers (src/core/timing.ts). This is the first one, and
|
|
17
21
|
// its `up=` column is how long node itself took to boot and evaluate the cli
|