sim 2.1.8-dev.94.1 → 2.1.8-dev.95.1
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/embed-context.d.ts +2 -8
- package/dist/http/environment.d.ts +0 -8
- package/dist/index.js +329 -277
- package/dist/output/io.d.ts +5 -0
- package/dist/runtime/renamed.d.ts +0 -14
- package/dist/runtime.js +309 -255
- package/package.json +1 -1
package/dist/embed-context.d.ts
CHANGED
|
@@ -73,11 +73,5 @@ export declare class EmbeddedExit extends Error {
|
|
|
73
73
|
* keeps the installed CLI's behavior byte-identical.
|
|
74
74
|
*/
|
|
75
75
|
export declare function embeddedProfile(): ResolvedProfile | null;
|
|
76
|
-
/**
|
|
77
|
-
|
|
78
|
-
* run's async context. The CLI renders through console.log/error, commander and
|
|
79
|
-
* chalk write straight to process.stdout/stderr, and a few commands exit
|
|
80
|
-
* directly; all of it must land in the embed result instead of the host
|
|
81
|
-
* server's stdout (or worse, the host process's lifetime).
|
|
82
|
-
*/
|
|
83
|
-
export declare function installEmbedSinks(): void;
|
|
76
|
+
/** Exits the terminal CLI without terminating an embedding host. */
|
|
77
|
+
export declare function exitCli(code: number): never;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* One-time notices about the environment a request is about to be made in.
|
|
3
|
-
*
|
|
4
|
-
* Both conditions here are silent failures rather than errors: the request goes
|
|
5
|
-
* out and something the caller expected to happen simply did not. They are
|
|
6
|
-
* reported once per process, on stderr, so a loop over many rows says it once
|
|
7
|
-
* and a piped stdout stays parseable.
|
|
8
|
-
*/
|
|
9
1
|
/** Test seam: notices are once-per-process, and each test needs a clean slate. */
|
|
10
2
|
export declare function resetEnvironmentNotices(): void;
|
|
11
3
|
/**
|