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
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
* concurrent modifications on the same file or data corruption may occur.
|
|
9
9
|
* @since v10.0.0
|
|
10
10
|
*/
|
|
11
|
-
declare module "
|
|
11
|
+
declare module "fs/promises" {
|
|
12
12
|
import { NonSharedBuffer } from "node:buffer";
|
|
13
13
|
import { Abortable } from "node:events";
|
|
14
|
-
import {
|
|
14
|
+
import { Stream } from "node:stream";
|
|
15
|
+
import { ReadableStream } from "node:stream/web";
|
|
15
16
|
import {
|
|
16
17
|
BigIntStats,
|
|
17
18
|
BigIntStatsFs,
|
|
@@ -20,7 +21,6 @@ declare module "node:fs/promises" {
|
|
|
20
21
|
CopyOptions,
|
|
21
22
|
Dir,
|
|
22
23
|
Dirent,
|
|
23
|
-
EncodingOption,
|
|
24
24
|
GlobOptions,
|
|
25
25
|
GlobOptionsWithFileTypes,
|
|
26
26
|
GlobOptionsWithoutFileTypes,
|
|
@@ -35,6 +35,7 @@ declare module "node:fs/promises" {
|
|
|
35
35
|
ReadPosition,
|
|
36
36
|
ReadStream,
|
|
37
37
|
ReadVResult,
|
|
38
|
+
RmDirOptions,
|
|
38
39
|
RmOptions,
|
|
39
40
|
StatFsOptions,
|
|
40
41
|
StatOptions,
|
|
@@ -46,8 +47,7 @@ declare module "node:fs/promises" {
|
|
|
46
47
|
WriteStream,
|
|
47
48
|
WriteVResult,
|
|
48
49
|
} from "node:fs";
|
|
49
|
-
import {
|
|
50
|
-
import { ReadableStream } from "node:stream/web";
|
|
50
|
+
import { Interface as ReadlineInterface } from "node:readline";
|
|
51
51
|
interface FileChangeInfo<T extends string | Buffer> {
|
|
52
52
|
eventType: WatchEventType;
|
|
53
53
|
filename: T | null;
|
|
@@ -491,7 +491,7 @@ declare module "node:fs/promises" {
|
|
|
491
491
|
/**
|
|
492
492
|
* Calls `filehandle.close()` and returns a promise that fulfills when the
|
|
493
493
|
* filehandle is closed.
|
|
494
|
-
* @since v20.4.0
|
|
494
|
+
* @since v20.4.0
|
|
495
495
|
*/
|
|
496
496
|
[Symbol.asyncDispose](): Promise<void>;
|
|
497
497
|
}
|
|
@@ -600,7 +600,7 @@ declare module "node:fs/promises" {
|
|
|
600
600
|
* @since v10.0.0
|
|
601
601
|
* @return Fulfills with `undefined` upon success.
|
|
602
602
|
*/
|
|
603
|
-
function rmdir(path: PathLike): Promise<void>;
|
|
603
|
+
function rmdir(path: PathLike, options?: RmDirOptions): Promise<void>;
|
|
604
604
|
/**
|
|
605
605
|
* Removes files and directories (modeled on the standard POSIX `rm` utility).
|
|
606
606
|
* @since v14.14.0
|
|
@@ -979,40 +979,6 @@ declare module "node:fs/promises" {
|
|
|
979
979
|
prefix: string,
|
|
980
980
|
options?: ObjectEncodingOptions | BufferEncoding | null,
|
|
981
981
|
): Promise<string | NonSharedBuffer>;
|
|
982
|
-
interface DisposableTempDir extends AsyncDisposable {
|
|
983
|
-
/**
|
|
984
|
-
* The path of the created directory.
|
|
985
|
-
*/
|
|
986
|
-
path: string;
|
|
987
|
-
/**
|
|
988
|
-
* A function which removes the created directory.
|
|
989
|
-
*/
|
|
990
|
-
remove(): Promise<void>;
|
|
991
|
-
/**
|
|
992
|
-
* The same as `remove`.
|
|
993
|
-
*/
|
|
994
|
-
[Symbol.asyncDispose](): Promise<void>;
|
|
995
|
-
}
|
|
996
|
-
/**
|
|
997
|
-
* The resulting Promise holds an async-disposable object whose `path` property
|
|
998
|
-
* holds the created directory path. When the object is disposed, the directory
|
|
999
|
-
* and its contents will be removed asynchronously if it still exists. If the
|
|
1000
|
-
* directory cannot be deleted, disposal will throw an error. The object has an
|
|
1001
|
-
* async `remove()` method which will perform the same task.
|
|
1002
|
-
*
|
|
1003
|
-
* Both this function and the disposal function on the resulting object are
|
|
1004
|
-
* async, so it should be used with `await` + `await using` as in
|
|
1005
|
-
* `await using dir = await fsPromises.mkdtempDisposable('prefix')`.
|
|
1006
|
-
*
|
|
1007
|
-
* <!-- TODO: link MDN docs for disposables once https://github.com/mdn/content/pull/38027 lands -->
|
|
1008
|
-
*
|
|
1009
|
-
* For detailed information, see the documentation of `fsPromises.mkdtemp()`.
|
|
1010
|
-
*
|
|
1011
|
-
* The optional `options` argument can be a string specifying an encoding, or an
|
|
1012
|
-
* object with an `encoding` property specifying the character encoding to use.
|
|
1013
|
-
* @since v24.4.0
|
|
1014
|
-
*/
|
|
1015
|
-
function mkdtempDisposable(prefix: PathLike, options?: EncodingOption): Promise<DisposableTempDir>;
|
|
1016
982
|
/**
|
|
1017
983
|
* Asynchronously writes data to a file, replacing the file if it already exists. `data` can be a string, a buffer, an
|
|
1018
984
|
* [AsyncIterable](https://tc39.github.io/ecma262/#sec-asynciterable-interface), or an
|
|
@@ -1324,6 +1290,6 @@ declare module "node:fs/promises" {
|
|
|
1324
1290
|
options: GlobOptions,
|
|
1325
1291
|
): NodeJS.AsyncIterator<Dirent | string>;
|
|
1326
1292
|
}
|
|
1327
|
-
declare module "fs/promises" {
|
|
1328
|
-
export * from "
|
|
1293
|
+
declare module "node:fs/promises" {
|
|
1294
|
+
export * from "fs/promises";
|
|
1329
1295
|
}
|