@omnicross/cli-launcher 0.2.0 → 0.2.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.
Files changed (4) hide show
  1. package/LICENSE +21 -21
  2. package/NOTICE +38 -38
  3. package/README.md +21 -21
  4. package/package.json +2 -2
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Sayo
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Sayo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/NOTICE CHANGED
@@ -1,38 +1,38 @@
1
- @omnicross/cli-launcher — THIRD-PARTY NOTICES
2
- =============================================
3
-
4
- This package contains the CLI-launcher mechanism — the ProcessSupervisor
5
- subprocess-lifecycle block (`supervisor`, the `getProcessSupervisor` singleton,
6
- `types`, `run-registry`, `child-adapter`, `kill-tree`, `pty-adapter`). It manages
7
- CLI-tool subprocesses with dual timeouts (overall +
8
- no-output watchdog), scope-based cancellation, cross-platform process-tree kill,
9
- and a child-process / PTY adapter pair.
10
-
11
- --------------------------------------------------------------------------------
12
- 1. ProcessSupervisor — clean-room provenance
13
- --------------------------------------------------------------------------------
14
-
15
- The ProcessSupervisor is an ORIGINAL, clean-room reimplementation informed by an
16
- architecture study of the OpenClaw process-supervisor concept. It DIVERGES from
17
- upstream and was written from scratch — nothing was copied verbatim:
18
-
19
- - the exited-record cap is `MAX_EXITED = 500` (upstream uses 2000);
20
- - there is NO 4000ms force-kill timer (cancellation goes straight to SIGKILL,
21
- and the kill-tree applies its own SIGTERM-then-SIGKILL grace on Unix);
22
- - the file split (supervisor / run-registry / child-adapter / pty-adapter /
23
- kill-tree / types) is this project's own decomposition.
24
-
25
- The TypeScript in this package is original. No upstream repository is vendored
26
- into this tree, and the package carries no GPL bleed.
27
-
28
- --------------------------------------------------------------------------------
29
- 2. node-pty (MIT License)
30
- --------------------------------------------------------------------------------
31
-
32
- `src/pty-adapter.ts` lazily `require('node-pty')` (resolved via root's
33
- `npm:@karinjs/node-pty` alias) to spawn pseudo-terminal-backed CLI subprocesses
34
- when a backend requests PTY mode. node-pty is loaded as a native dependency at
35
- runtime; it is not bundled into this source.
36
-
37
- https://github.com/microsoft/node-pty
38
- Licensed under the MIT License.
1
+ @omnicross/cli-launcher — THIRD-PARTY NOTICES
2
+ =============================================
3
+
4
+ This package contains the CLI-launcher mechanism — the ProcessSupervisor
5
+ subprocess-lifecycle block (`supervisor`, the `getProcessSupervisor` singleton,
6
+ `types`, `run-registry`, `child-adapter`, `kill-tree`, `pty-adapter`). It manages
7
+ CLI-tool subprocesses with dual timeouts (overall +
8
+ no-output watchdog), scope-based cancellation, cross-platform process-tree kill,
9
+ and a child-process / PTY adapter pair.
10
+
11
+ --------------------------------------------------------------------------------
12
+ 1. ProcessSupervisor — clean-room provenance
13
+ --------------------------------------------------------------------------------
14
+
15
+ The ProcessSupervisor is an ORIGINAL, clean-room reimplementation informed by an
16
+ architecture study of the OpenClaw process-supervisor concept. It DIVERGES from
17
+ upstream and was written from scratch — nothing was copied verbatim:
18
+
19
+ - the exited-record cap is `MAX_EXITED = 500` (upstream uses 2000);
20
+ - there is NO 4000ms force-kill timer (cancellation goes straight to SIGKILL,
21
+ and the kill-tree applies its own SIGTERM-then-SIGKILL grace on Unix);
22
+ - the file split (supervisor / run-registry / child-adapter / pty-adapter /
23
+ kill-tree / types) is this project's own decomposition.
24
+
25
+ The TypeScript in this package is original. No upstream repository is vendored
26
+ into this tree, and the package carries no GPL bleed.
27
+
28
+ --------------------------------------------------------------------------------
29
+ 2. node-pty (MIT License)
30
+ --------------------------------------------------------------------------------
31
+
32
+ `src/pty-adapter.ts` lazily `require('node-pty')` (resolved via root's
33
+ `npm:@karinjs/node-pty` alias) to spawn pseudo-terminal-backed CLI subprocesses
34
+ when a backend requests PTY mode. node-pty is loaded as a native dependency at
35
+ runtime; it is not bundled into this source.
36
+
37
+ https://github.com/microsoft/node-pty
38
+ Licensed under the MIT License.
package/README.md CHANGED
@@ -1,21 +1,21 @@
1
- # @omnicross/cli-launcher
2
-
3
- omnicross CLI-launcher — the `ProcessSupervisor` subprocess-lifecycle mechanism (dual timeout, scope cancellation, cross-platform kill-tree) plus per-CLI proxy-env wiring for spawning coding-CLI backends.
4
-
5
- Part of the [omnicross](https://github.com/Dumoedss/omnicross) monorepo — see the root README for the full overview.
6
-
7
- ```bash
8
- npm install @omnicross/cli-launcher
9
- ```
10
-
11
- > **Note**: this package depends on `node-pty` (via the prebuilt
12
- > [`@karinjs/node-pty`](https://www.npmjs.com/package/@karinjs/node-pty) fork),
13
- > a **native** module. Prebuilt binaries cover the common platforms; on a
14
- > platform without a prebuild, installation falls back to compiling from source
15
- > and requires a local C/C++ toolchain (node-gyp).
16
-
17
- ## License
18
-
19
- [MIT](LICENSE)
20
-
21
- This package adapts third-party work under its own license — see the `NOTICE` file.
1
+ # @omnicross/cli-launcher
2
+
3
+ omnicross CLI-launcher — the `ProcessSupervisor` subprocess-lifecycle mechanism (dual timeout, scope cancellation, cross-platform kill-tree) plus per-CLI proxy-env wiring for spawning coding-CLI backends.
4
+
5
+ Part of the [omnicross](https://github.com/Dumoedss/omnicross) monorepo — see the root README for the full overview.
6
+
7
+ ```bash
8
+ npm install @omnicross/cli-launcher
9
+ ```
10
+
11
+ > **Note**: this package depends on `node-pty` (via the prebuilt
12
+ > [`@karinjs/node-pty`](https://www.npmjs.com/package/@karinjs/node-pty) fork),
13
+ > a **native** module. Prebuilt binaries cover the common platforms; on a
14
+ > platform without a prebuild, installation falls back to compiling from source
15
+ > and requires a local C/C++ toolchain (node-gyp).
16
+
17
+ ## License
18
+
19
+ [MIT](LICENSE)
20
+
21
+ This package adapts third-party work under its own license — see the `NOTICE` file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnicross/cli-launcher",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Omnicross CLI-launcher — the ProcessSupervisor subprocess-lifecycle mechanism + per-CLI proxy-env wiring.",
5
5
  "license": "MIT",
6
6
  "author": "Sayo (https://github.com/Dumoedss)",
@@ -51,7 +51,7 @@
51
51
  "typecheck": "tsc -p tsconfig.typecheck.json --noEmit"
52
52
  },
53
53
  "dependencies": {
54
- "@omnicross/core": "^0.2.0"
54
+ "@omnicross/core": "^0.2.1"
55
55
  },
56
56
  "optionalDependencies": {
57
57
  "node-pty": "npm:@karinjs/node-pty@^1.1.3"