@jarkkojs/readseek-api 0.10.7 → 0.11.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/dist/process.d.ts CHANGED
@@ -28,5 +28,6 @@ export declare function failureFromProcessResult(result: ProcessRunResult, optio
28
28
  overflow?: "stdout" | "stderr";
29
29
  maxOutputBytes?: number;
30
30
  }): Error;
31
- export declare function ensureSuccessfulStdout(result: ProcessRunResult): string;
32
- export declare function parseSuccessfulKdl(result: ProcessRunResult): unknown;
31
+ export declare function acceptsReadSeekExitCode(args: readonly string[], exitCode: number | null): boolean;
32
+ export declare function ensureSuccessfulStdout(result: ProcessRunResult, args?: readonly string[]): string;
33
+ export declare function parseSuccessfulKdl(result: ProcessRunResult, args?: readonly string[]): unknown;
@@ -4,18 +4,11 @@ export type ValidationResult = {
4
4
  ok: false;
5
5
  error: string;
6
6
  };
7
- export type RefsScopeInput = {
7
+ export type ReferencesSelectionInput = {
8
8
  name?: string;
9
- scope?: boolean;
10
- line?: number;
11
- column?: number;
9
+ at?: string;
12
10
  };
13
- export declare function validateRefsNameVsScope(input: RefsScopeInput): ValidationResult;
14
- export type VisionInput = {
15
- visionMode?: string;
16
- visionLevel?: string;
17
- };
18
- export declare function validateVisionLevelVsMode(input: VisionInput): ValidationResult;
11
+ export declare function validateReferencesSelection(input: ReferencesSelectionInput): ValidationResult;
19
12
  export type SetLineEdit = {
20
13
  set_line: {
21
14
  anchor: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jarkkojs/readseek-api",
3
- "version": "0.10.7",
3
+ "version": "0.11.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",
@@ -51,7 +51,7 @@
51
51
  "vitest": "^4.1.0"
52
52
  },
53
53
  "dependencies": {
54
- "@jarkkojs/readseek": "^0.10.7",
54
+ "@jarkkojs/readseek": "^0.11.0",
55
55
  "@bgotink/kdl": "0.4.0",
56
56
  "@sinclair/typebox": "0.34.52"
57
57
  }