@jarkkojs/readseek-api 0.9.15 → 0.10.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/LICENSE +176 -0
- package/README.md +16 -5
- package/bin/readseek.cjs +61 -0
- package/dist/argv.d.ts +31 -23
- package/dist/client-output.d.ts +425 -0
- package/dist/client.d.ts +31 -246
- package/dist/contract.d.ts +15 -20
- package/dist/edit-plan.d.ts +1 -0
- package/dist/{json.d.ts → error.d.ts} +0 -1
- package/dist/index.d.ts +10 -8
- package/dist/index.js +1064 -742
- package/dist/kdl.d.ts +7 -0
- package/dist/output-kdl.d.ts +1 -0
- package/dist/process-bun.d.ts +1 -1
- package/dist/process-node.d.ts +1 -1
- package/dist/process.d.ts +3 -1
- package/dist/validation.d.ts +0 -7
- package/package.json +17 -4
package/dist/kdl.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function parseReadSeekKdl(text: string): unknown;
|
package/dist/process-bun.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type ProcessRunOptions, type ProcessRunResult } from "./process.ts";
|
|
2
2
|
export declare function runReadSeekBun(binaryPath: string, args: readonly string[], options?: ProcessRunOptions): Promise<ProcessRunResult>;
|
|
3
3
|
export declare function runReadSeekBunText(binaryPath: string, args: readonly string[], options?: ProcessRunOptions): Promise<string>;
|
|
4
|
-
export declare function
|
|
4
|
+
export declare function runReadSeekBunKdl(binaryPath: string, args: readonly string[], options?: ProcessRunOptions): Promise<unknown>;
|
package/dist/process-node.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type ProcessRunOptions, type ProcessRunResult } from "./process.ts";
|
|
2
2
|
export declare function runReadSeekNode(binaryPath: string, args: readonly string[], options?: ProcessRunOptions): Promise<ProcessRunResult>;
|
|
3
3
|
export declare function runReadSeekNodeText(binaryPath: string, args: readonly string[], options?: ProcessRunOptions): Promise<string>;
|
|
4
|
-
export declare function
|
|
4
|
+
export declare function runReadSeekNodeKdl(binaryPath: string, args: readonly string[], options?: ProcessRunOptions): Promise<unknown>;
|
package/dist/process.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const DEFAULT_READSEEK_TIMEOUT_MS = 120000;
|
|
2
2
|
export declare const DEFAULT_MAX_OUTPUT_BYTES: number;
|
|
3
|
+
/** Enable FUSE-free Linux execution without changing the host environment. */
|
|
4
|
+
export declare function readSeekProcessEnvironment(): NodeJS.ProcessEnv;
|
|
3
5
|
export type ProcessRunOptions = {
|
|
4
6
|
timeoutMs?: number;
|
|
5
7
|
signal?: AbortSignal;
|
|
@@ -27,4 +29,4 @@ export declare function failureFromProcessResult(result: ProcessRunResult, optio
|
|
|
27
29
|
maxOutputBytes?: number;
|
|
28
30
|
}): Error;
|
|
29
31
|
export declare function ensureSuccessfulStdout(result: ProcessRunResult): string;
|
|
30
|
-
export declare function
|
|
32
|
+
export declare function parseSuccessfulKdl(result: ProcessRunResult): unknown;
|
package/dist/validation.d.ts
CHANGED
|
@@ -4,12 +4,6 @@ export type ValidationResult = {
|
|
|
4
4
|
ok: false;
|
|
5
5
|
error: string;
|
|
6
6
|
};
|
|
7
|
-
export type GitSelectionInput = {
|
|
8
|
-
cached?: boolean;
|
|
9
|
-
others?: boolean;
|
|
10
|
-
ignored?: boolean;
|
|
11
|
-
};
|
|
12
|
-
export declare function validateGitSelection(input: GitSelectionInput): ValidationResult;
|
|
13
7
|
export type RefsScopeInput = {
|
|
14
8
|
name?: string;
|
|
15
9
|
scope?: boolean;
|
|
@@ -20,7 +14,6 @@ export declare function validateRefsNameVsScope(input: RefsScopeInput): Validati
|
|
|
20
14
|
export type VisionInput = {
|
|
21
15
|
visionMode?: string;
|
|
22
16
|
visionLevel?: string;
|
|
23
|
-
outline?: boolean;
|
|
24
17
|
};
|
|
25
18
|
export declare function validateVisionLevelVsMode(input: VisionInput): ValidationResult;
|
|
26
19
|
export type SetLineEdit = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarkkojs/readseek-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Shared ReadSeek CLI contract, validation, argv builders, and bounded process runners",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -13,14 +13,19 @@
|
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://gitlab.com/jarkkojs/readseek/-/issues"
|
|
15
15
|
},
|
|
16
|
+
"bin": {
|
|
17
|
+
"readseek": "bin/readseek.cjs"
|
|
18
|
+
},
|
|
16
19
|
"exports": {
|
|
17
20
|
".": {
|
|
18
21
|
"types": "./dist/index.d.ts",
|
|
19
22
|
"import": "./dist/index.js",
|
|
20
23
|
"default": "./dist/index.js"
|
|
21
|
-
}
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
22
26
|
},
|
|
23
27
|
"files": [
|
|
28
|
+
"bin/",
|
|
24
29
|
"dist/",
|
|
25
30
|
"README.md"
|
|
26
31
|
],
|
|
@@ -43,12 +48,20 @@
|
|
|
43
48
|
"ast-grep",
|
|
44
49
|
"hashline"
|
|
45
50
|
],
|
|
46
|
-
"
|
|
47
|
-
"@jarkkojs/readseek": "
|
|
51
|
+
"optionalDependencies": {
|
|
52
|
+
"@jarkkojs/readseek-darwin-arm64": "0.10.0",
|
|
53
|
+
"@jarkkojs/readseek-linux-arm64": "0.10.0",
|
|
54
|
+
"@jarkkojs/readseek-linux-x64": "0.10.0",
|
|
55
|
+
"@jarkkojs/readseek-win32-x64": "0.10.0"
|
|
48
56
|
},
|
|
49
57
|
"devDependencies": {
|
|
50
58
|
"@types/node": "^22.0.0",
|
|
59
|
+
"fast-check": "4.10.0",
|
|
51
60
|
"typescript": "^5.9.3",
|
|
52
61
|
"vitest": "^4.1.0"
|
|
62
|
+
},
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"@bgotink/kdl": "0.4.0",
|
|
65
|
+
"@sinclair/typebox": "0.34.52"
|
|
53
66
|
}
|
|
54
67
|
}
|