omegon 0.8.3 → 0.9.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/extensions/cleave/dispatcher.ts +213 -20
- package/extensions/cleave/index.ts +24 -8
- package/extensions/cleave/rpc-child.ts +269 -0
- package/extensions/cleave/types.ts +52 -0
- package/extensions/openspec/spec.ts +3 -0
- package/node_modules/@types/node/README.md +3 -3
- package/node_modules/@types/node/assert/strict.d.ts +11 -5
- package/node_modules/@types/node/assert.d.ts +173 -50
- package/node_modules/@types/node/async_hooks.d.ts +8 -28
- package/node_modules/@types/node/buffer.buffer.d.ts +7 -1
- package/node_modules/@types/node/buffer.d.ts +168 -44
- package/node_modules/@types/node/child_process.d.ts +70 -27
- package/node_modules/@types/node/cluster.d.ts +332 -240
- package/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
- package/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/node_modules/@types/node/compatibility/iterators.d.ts +0 -1
- package/node_modules/@types/node/console.d.ts +350 -49
- package/node_modules/@types/node/constants.d.ts +4 -3
- package/node_modules/@types/node/crypto.d.ts +1110 -630
- package/node_modules/@types/node/dgram.d.ts +51 -15
- package/node_modules/@types/node/diagnostics_channel.d.ts +6 -4
- package/node_modules/@types/node/dns/promises.d.ts +4 -4
- package/node_modules/@types/node/dns.d.ts +133 -132
- package/node_modules/@types/node/domain.d.ts +17 -13
- package/node_modules/@types/node/events.d.ts +663 -734
- package/node_modules/@types/node/fs/promises.d.ts +9 -43
- package/node_modules/@types/node/fs.d.ts +411 -628
- package/node_modules/@types/node/globals.d.ts +30 -8
- package/node_modules/@types/node/globals.typedarray.d.ts +0 -63
- package/node_modules/@types/node/http.d.ts +265 -364
- package/node_modules/@types/node/http2.d.ts +715 -551
- package/node_modules/@types/node/https.d.ts +239 -65
- package/node_modules/@types/node/index.d.ts +6 -24
- package/node_modules/@types/node/inspector.d.ts +53 -69
- package/node_modules/@types/node/inspector.generated.d.ts +410 -759
- package/node_modules/@types/node/module.d.ts +186 -52
- package/node_modules/@types/node/net.d.ts +194 -70
- package/node_modules/@types/node/os.d.ts +11 -12
- package/node_modules/@types/node/package.json +3 -13
- package/node_modules/@types/node/path.d.ts +133 -120
- package/node_modules/@types/node/perf_hooks.d.ts +643 -318
- package/node_modules/@types/node/process.d.ts +132 -223
- package/node_modules/@types/node/punycode.d.ts +5 -5
- package/node_modules/@types/node/querystring.d.ts +4 -4
- package/node_modules/@types/node/readline/promises.d.ts +3 -3
- package/node_modules/@types/node/readline.d.ts +120 -68
- package/node_modules/@types/node/repl.d.ts +100 -87
- package/node_modules/@types/node/sea.d.ts +1 -10
- package/node_modules/@types/node/sqlite.d.ts +19 -363
- package/node_modules/@types/node/stream/consumers.d.ts +10 -10
- package/node_modules/@types/node/stream/promises.d.ts +15 -136
- package/node_modules/@types/node/stream/web.d.ts +502 -176
- package/node_modules/@types/node/stream.d.ts +475 -581
- package/node_modules/@types/node/string_decoder.d.ts +4 -4
- package/node_modules/@types/node/test.d.ts +196 -308
- package/node_modules/@types/node/timers/promises.d.ts +4 -4
- package/node_modules/@types/node/timers.d.ts +132 -4
- package/node_modules/@types/node/tls.d.ts +226 -110
- package/node_modules/@types/node/trace_events.d.ts +9 -9
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +7 -1
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -2
- package/node_modules/@types/node/ts5.6/index.d.ts +6 -26
- package/node_modules/@types/node/tty.d.ts +16 -58
- package/node_modules/@types/node/url.d.ts +573 -130
- package/node_modules/@types/node/util.d.ts +1100 -181
- package/node_modules/@types/node/v8.d.ts +8 -76
- package/node_modules/@types/node/vm.d.ts +72 -280
- package/node_modules/@types/node/wasi.d.ts +4 -25
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +2 -27
- package/node_modules/@types/node/web-globals/events.d.ts +0 -9
- package/node_modules/@types/node/web-globals/fetch.d.ts +0 -14
- package/node_modules/@types/node/web-globals/navigator.d.ts +0 -3
- package/node_modules/@types/node/worker_threads.d.ts +335 -268
- package/node_modules/@types/node/zlib.d.ts +74 -9
- package/node_modules/undici-types/agent.d.ts +12 -13
- package/node_modules/undici-types/api.d.ts +26 -26
- package/node_modules/undici-types/balanced-pool.d.ts +12 -13
- package/node_modules/undici-types/client.d.ts +19 -19
- package/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/undici-types/cookies.d.ts +0 -2
- package/node_modules/undici-types/diagnostics-channel.d.ts +10 -18
- package/node_modules/undici-types/dispatcher.d.ts +103 -123
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +3 -4
- package/node_modules/undici-types/errors.d.ts +54 -66
- package/node_modules/undici-types/eventsource.d.ts +4 -9
- package/node_modules/undici-types/fetch.d.ts +20 -22
- package/node_modules/undici-types/file.d.ts +39 -0
- package/node_modules/undici-types/filereader.d.ts +54 -0
- package/node_modules/undici-types/formdata.d.ts +7 -7
- package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/node_modules/undici-types/global-origin.d.ts +5 -5
- package/node_modules/undici-types/handlers.d.ts +8 -8
- package/node_modules/undici-types/header.d.ts +1 -157
- package/node_modules/undici-types/index.d.ts +47 -64
- package/node_modules/undici-types/interceptors.d.ts +8 -64
- package/node_modules/undici-types/mock-agent.d.ts +18 -36
- package/node_modules/undici-types/mock-client.d.ts +4 -6
- package/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/node_modules/undici-types/mock-interceptor.d.ts +20 -21
- package/node_modules/undici-types/mock-pool.d.ts +4 -6
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/patch.d.ts +4 -0
- package/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/node_modules/undici-types/pool.d.ts +13 -15
- package/node_modules/undici-types/proxy-agent.d.ts +4 -5
- package/node_modules/undici-types/readable.d.ts +16 -19
- package/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/node_modules/undici-types/retry-handler.d.ts +10 -19
- package/node_modules/undici-types/util.d.ts +3 -3
- package/node_modules/undici-types/webidl.d.ts +29 -142
- package/node_modules/undici-types/websocket.d.ts +10 -46
- package/package.json +2 -1
- package/skills/cleave/SKILL.md +62 -2
- package/node_modules/@types/node/inspector/promises.d.ts +0 -41
- package/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@types/node/quic.d.ts +0 -910
- package/node_modules/@types/node/test/reporters.d.ts +0 -96
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@types/node/ts5.7/index.d.ts +0 -117
- package/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@types/node/web-globals/streams.d.ts +0 -115
- package/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/undici-types/cache-interceptor.d.ts +0 -173
- package/node_modules/undici-types/client-stats.d.ts +0 -15
- package/node_modules/undici-types/h2c-client.d.ts +0 -73
- package/node_modules/undici-types/mock-call-history.d.ts +0 -111
- package/node_modules/undici-types/round-robin-pool.d.ts +0 -41
- package/node_modules/undici-types/snapshot-agent.d.ts +0 -109
- package/node_modules/undici-types/utility.d.ts +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module "
|
|
1
|
+
declare module "buffer" {
|
|
2
2
|
global {
|
|
3
3
|
interface BufferConstructor {
|
|
4
4
|
// see ../buffer.d.ts for implementation shared with all TypeScript versions
|
|
@@ -459,4 +459,10 @@ declare module "node:buffer" {
|
|
|
459
459
|
*/
|
|
460
460
|
type AllowSharedBuffer = Buffer;
|
|
461
461
|
}
|
|
462
|
+
/** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
|
|
463
|
+
var SlowBuffer: {
|
|
464
|
+
/** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
|
|
465
|
+
new(size: number): Buffer;
|
|
466
|
+
prototype: Buffer;
|
|
467
|
+
};
|
|
462
468
|
}
|
|
@@ -12,7 +12,6 @@ declare global {
|
|
|
12
12
|
| Int32Array
|
|
13
13
|
| BigUint64Array
|
|
14
14
|
| BigInt64Array
|
|
15
|
-
| Float16Array
|
|
16
15
|
| Float32Array
|
|
17
16
|
| Float64Array;
|
|
18
17
|
type ArrayBufferView = TypedArray | DataView;
|
|
@@ -26,7 +25,6 @@ declare global {
|
|
|
26
25
|
type NonSharedInt32Array = Int32Array;
|
|
27
26
|
type NonSharedBigUint64Array = BigUint64Array;
|
|
28
27
|
type NonSharedBigInt64Array = BigInt64Array;
|
|
29
|
-
type NonSharedFloat16Array = Float16Array;
|
|
30
28
|
type NonSharedFloat32Array = Float32Array;
|
|
31
29
|
type NonSharedFloat64Array = Float64Array;
|
|
32
30
|
type NonSharedDataView = DataView;
|
|
@@ -22,40 +22,26 @@
|
|
|
22
22
|
* IN THE SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
// NOTE: These definitions support Node.js and TypeScript
|
|
25
|
+
// NOTE: These definitions support Node.js and TypeScript 4.9 through 5.6.
|
|
26
26
|
|
|
27
|
-
// Reference required TypeScript
|
|
27
|
+
// Reference required TypeScript libs:
|
|
28
28
|
/// <reference lib="es2020" />
|
|
29
|
-
/// <reference lib="esnext.disposable" />
|
|
30
29
|
|
|
31
|
-
// TypeScript
|
|
32
|
-
/// <reference path="
|
|
30
|
+
// TypeScript backwards-compatibility definitions:
|
|
31
|
+
/// <reference path="../compatibility/index.d.ts" />
|
|
33
32
|
|
|
34
|
-
//
|
|
35
|
-
/// <reference path="../compatibility/iterators.d.ts" />
|
|
36
|
-
|
|
37
|
-
// Definitions for Node.js modules specific to TypeScript <=5.6:
|
|
33
|
+
// Definitions specific to TypeScript 4.9 through 5.6:
|
|
38
34
|
/// <reference path="./globals.typedarray.d.ts" />
|
|
39
35
|
/// <reference path="./buffer.buffer.d.ts" />
|
|
40
36
|
|
|
41
37
|
// Definitions for Node.js modules that are not specific to any version of TypeScript:
|
|
42
38
|
/// <reference path="../globals.d.ts" />
|
|
43
39
|
/// <reference path="../web-globals/abortcontroller.d.ts" />
|
|
44
|
-
/// <reference path="../web-globals/blob.d.ts" />
|
|
45
|
-
/// <reference path="../web-globals/console.d.ts" />
|
|
46
|
-
/// <reference path="../web-globals/crypto.d.ts" />
|
|
47
40
|
/// <reference path="../web-globals/domexception.d.ts" />
|
|
48
|
-
/// <reference path="../web-globals/encoding.d.ts" />
|
|
49
41
|
/// <reference path="../web-globals/events.d.ts" />
|
|
50
42
|
/// <reference path="../web-globals/fetch.d.ts" />
|
|
51
|
-
/// <reference path="../web-globals/importmeta.d.ts" />
|
|
52
|
-
/// <reference path="../web-globals/messaging.d.ts" />
|
|
53
43
|
/// <reference path="../web-globals/navigator.d.ts" />
|
|
54
|
-
/// <reference path="../web-globals/performance.d.ts" />
|
|
55
44
|
/// <reference path="../web-globals/storage.d.ts" />
|
|
56
|
-
/// <reference path="../web-globals/streams.d.ts" />
|
|
57
|
-
/// <reference path="../web-globals/timers.d.ts" />
|
|
58
|
-
/// <reference path="../web-globals/url.d.ts" />
|
|
59
45
|
/// <reference path="../assert.d.ts" />
|
|
60
46
|
/// <reference path="../assert/strict.d.ts" />
|
|
61
47
|
/// <reference path="../async_hooks.d.ts" />
|
|
@@ -78,30 +64,25 @@
|
|
|
78
64
|
/// <reference path="../https.d.ts" />
|
|
79
65
|
/// <reference path="../inspector.d.ts" />
|
|
80
66
|
/// <reference path="../inspector.generated.d.ts" />
|
|
81
|
-
/// <reference path="../inspector/promises.d.ts" />
|
|
82
67
|
/// <reference path="../module.d.ts" />
|
|
83
68
|
/// <reference path="../net.d.ts" />
|
|
84
69
|
/// <reference path="../os.d.ts" />
|
|
85
70
|
/// <reference path="../path.d.ts" />
|
|
86
|
-
/// <reference path="../path/posix.d.ts" />
|
|
87
|
-
/// <reference path="../path/win32.d.ts" />
|
|
88
71
|
/// <reference path="../perf_hooks.d.ts" />
|
|
89
72
|
/// <reference path="../process.d.ts" />
|
|
90
73
|
/// <reference path="../punycode.d.ts" />
|
|
91
74
|
/// <reference path="../querystring.d.ts" />
|
|
92
|
-
/// <reference path="../quic.d.ts" />
|
|
93
75
|
/// <reference path="../readline.d.ts" />
|
|
94
76
|
/// <reference path="../readline/promises.d.ts" />
|
|
95
77
|
/// <reference path="../repl.d.ts" />
|
|
96
78
|
/// <reference path="../sea.d.ts" />
|
|
97
79
|
/// <reference path="../sqlite.d.ts" />
|
|
98
80
|
/// <reference path="../stream.d.ts" />
|
|
99
|
-
/// <reference path="../stream/consumers.d.ts" />
|
|
100
81
|
/// <reference path="../stream/promises.d.ts" />
|
|
82
|
+
/// <reference path="../stream/consumers.d.ts" />
|
|
101
83
|
/// <reference path="../stream/web.d.ts" />
|
|
102
84
|
/// <reference path="../string_decoder.d.ts" />
|
|
103
85
|
/// <reference path="../test.d.ts" />
|
|
104
|
-
/// <reference path="../test/reporters.d.ts" />
|
|
105
86
|
/// <reference path="../timers.d.ts" />
|
|
106
87
|
/// <reference path="../timers/promises.d.ts" />
|
|
107
88
|
/// <reference path="../tls.d.ts" />
|
|
@@ -109,7 +90,6 @@
|
|
|
109
90
|
/// <reference path="../tty.d.ts" />
|
|
110
91
|
/// <reference path="../url.d.ts" />
|
|
111
92
|
/// <reference path="../util.d.ts" />
|
|
112
|
-
/// <reference path="../util/types.d.ts" />
|
|
113
93
|
/// <reference path="../v8.d.ts" />
|
|
114
94
|
/// <reference path="../vm.d.ts" />
|
|
115
95
|
/// <reference path="../wasi.d.ts" />
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
*
|
|
22
22
|
* In most cases, there should be little to no reason for an application to
|
|
23
23
|
* manually create instances of the `tty.ReadStream` and `tty.WriteStream` classes.
|
|
24
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
24
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/tty.js)
|
|
25
25
|
*/
|
|
26
|
-
declare module "
|
|
26
|
+
declare module "tty" {
|
|
27
27
|
import * as net from "node:net";
|
|
28
28
|
/**
|
|
29
29
|
* The `tty.isatty()` method returns `true` if the given `fd` is associated with
|
|
@@ -75,9 +75,6 @@ declare module "node:tty" {
|
|
|
75
75
|
* 1 - to the right from cursor
|
|
76
76
|
*/
|
|
77
77
|
type Direction = -1 | 0 | 1;
|
|
78
|
-
interface WriteStreamEventMap extends net.SocketEventMap {
|
|
79
|
-
"resize": [];
|
|
80
|
-
}
|
|
81
78
|
/**
|
|
82
79
|
* Represents the writable side of a TTY. In normal circumstances, `process.stdout` and `process.stderr` will be the only`tty.WriteStream` instances created for a Node.js process and there
|
|
83
80
|
* should be no reason to create additional instances.
|
|
@@ -85,6 +82,18 @@ declare module "node:tty" {
|
|
|
85
82
|
*/
|
|
86
83
|
class WriteStream extends net.Socket {
|
|
87
84
|
constructor(fd: number);
|
|
85
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
86
|
+
addListener(event: "resize", listener: () => void): this;
|
|
87
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
|
88
|
+
emit(event: "resize"): boolean;
|
|
89
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
|
90
|
+
on(event: "resize", listener: () => void): this;
|
|
91
|
+
once(event: string, listener: (...args: any[]) => void): this;
|
|
92
|
+
once(event: "resize", listener: () => void): this;
|
|
93
|
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
94
|
+
prependListener(event: "resize", listener: () => void): this;
|
|
95
|
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
96
|
+
prependOnceListener(event: "resize", listener: () => void): this;
|
|
88
97
|
/**
|
|
89
98
|
* `writeStream.clearLine()` clears the current line of this `WriteStream` in a
|
|
90
99
|
* direction identified by `dir`.
|
|
@@ -192,59 +201,8 @@ declare module "node:tty" {
|
|
|
192
201
|
* @since v0.5.8
|
|
193
202
|
*/
|
|
194
203
|
isTTY: boolean;
|
|
195
|
-
// #region InternalEventEmitter
|
|
196
|
-
addListener<E extends keyof WriteStreamEventMap>(
|
|
197
|
-
eventName: E,
|
|
198
|
-
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
199
|
-
): this;
|
|
200
|
-
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
201
|
-
emit<E extends keyof WriteStreamEventMap>(eventName: E, ...args: WriteStreamEventMap[E]): boolean;
|
|
202
|
-
emit(eventName: string | symbol, ...args: any[]): boolean;
|
|
203
|
-
listenerCount<E extends keyof WriteStreamEventMap>(
|
|
204
|
-
eventName: E,
|
|
205
|
-
listener?: (...args: WriteStreamEventMap[E]) => void,
|
|
206
|
-
): number;
|
|
207
|
-
listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
|
|
208
|
-
listeners<E extends keyof WriteStreamEventMap>(eventName: E): ((...args: WriteStreamEventMap[E]) => void)[];
|
|
209
|
-
listeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
210
|
-
off<E extends keyof WriteStreamEventMap>(
|
|
211
|
-
eventName: E,
|
|
212
|
-
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
213
|
-
): this;
|
|
214
|
-
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
215
|
-
on<E extends keyof WriteStreamEventMap>(
|
|
216
|
-
eventName: E,
|
|
217
|
-
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
218
|
-
): this;
|
|
219
|
-
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
220
|
-
once<E extends keyof WriteStreamEventMap>(
|
|
221
|
-
eventName: E,
|
|
222
|
-
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
223
|
-
): this;
|
|
224
|
-
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
225
|
-
prependListener<E extends keyof WriteStreamEventMap>(
|
|
226
|
-
eventName: E,
|
|
227
|
-
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
228
|
-
): this;
|
|
229
|
-
prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
230
|
-
prependOnceListener<E extends keyof WriteStreamEventMap>(
|
|
231
|
-
eventName: E,
|
|
232
|
-
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
233
|
-
): this;
|
|
234
|
-
prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
235
|
-
rawListeners<E extends keyof WriteStreamEventMap>(eventName: E): ((...args: WriteStreamEventMap[E]) => void)[];
|
|
236
|
-
rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
237
|
-
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
238
|
-
removeAllListeners<E extends keyof WriteStreamEventMap>(eventName?: E): this;
|
|
239
|
-
removeAllListeners(eventName?: string | symbol): this;
|
|
240
|
-
removeListener<E extends keyof WriteStreamEventMap>(
|
|
241
|
-
eventName: E,
|
|
242
|
-
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
243
|
-
): this;
|
|
244
|
-
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
245
|
-
// #endregion
|
|
246
204
|
}
|
|
247
205
|
}
|
|
248
|
-
declare module "tty" {
|
|
249
|
-
export * from "
|
|
206
|
+
declare module "node:tty" {
|
|
207
|
+
export * from "tty";
|
|
250
208
|
}
|