@neat.is/core 0.4.16 → 0.4.18

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/cli.d.cts CHANGED
@@ -2,6 +2,11 @@
2
2
  declare function readPackageVersion(): string;
3
3
  declare function printBanner(): void;
4
4
 
5
+ interface HttpClient {
6
+ get<T>(path: string): Promise<T>;
7
+ post?<T>(path: string, body: unknown): Promise<T>;
8
+ }
9
+
5
10
  interface InitOptions {
6
11
  scanPath: string;
7
12
  outPath: string;
@@ -54,7 +59,7 @@ declare const CLAUDE_SKILL_CONFIG: {
54
59
  command: string;
55
60
  args: string[];
56
61
  env: {
57
- NEAT_API_URL: string;
62
+ NEAT_CORE_URL: string;
58
63
  };
59
64
  };
60
65
  };
@@ -68,6 +73,11 @@ declare function runSkill(opts: SkillOptions): Promise<{
68
73
  }>;
69
74
  declare function main(): Promise<void>;
70
75
  declare const QUERY_VERBS: Set<string>;
76
+ declare class ProjectResolutionError extends Error {
77
+ readonly exitCode: number;
78
+ constructor(message: string, exitCode?: number);
79
+ }
80
+ declare function resolveProjectForVerb(client: HttpClient, parsed: ParsedArgs): Promise<string | undefined>;
71
81
  declare function runQueryVerb(cmd: string, parsed: ParsedArgs): Promise<number>;
72
82
 
73
- export { CLAUDE_SKILL_CONFIG, type InitOptions, type InitResult, QUERY_VERBS, type SkillOptions, commandPrefix, isNpxInvocation, main, parseArgs, printBanner, readPackageVersion, runInit, runQueryVerb, runSkill, usage };
83
+ export { CLAUDE_SKILL_CONFIG, type InitOptions, type InitResult, ProjectResolutionError, QUERY_VERBS, type SkillOptions, commandPrefix, isNpxInvocation, main, parseArgs, printBanner, readPackageVersion, resolveProjectForVerb, runInit, runQueryVerb, runSkill, usage };
package/dist/cli.d.ts CHANGED
@@ -2,6 +2,11 @@
2
2
  declare function readPackageVersion(): string;
3
3
  declare function printBanner(): void;
4
4
 
5
+ interface HttpClient {
6
+ get<T>(path: string): Promise<T>;
7
+ post?<T>(path: string, body: unknown): Promise<T>;
8
+ }
9
+
5
10
  interface InitOptions {
6
11
  scanPath: string;
7
12
  outPath: string;
@@ -54,7 +59,7 @@ declare const CLAUDE_SKILL_CONFIG: {
54
59
  command: string;
55
60
  args: string[];
56
61
  env: {
57
- NEAT_API_URL: string;
62
+ NEAT_CORE_URL: string;
58
63
  };
59
64
  };
60
65
  };
@@ -68,6 +73,11 @@ declare function runSkill(opts: SkillOptions): Promise<{
68
73
  }>;
69
74
  declare function main(): Promise<void>;
70
75
  declare const QUERY_VERBS: Set<string>;
76
+ declare class ProjectResolutionError extends Error {
77
+ readonly exitCode: number;
78
+ constructor(message: string, exitCode?: number);
79
+ }
80
+ declare function resolveProjectForVerb(client: HttpClient, parsed: ParsedArgs): Promise<string | undefined>;
71
81
  declare function runQueryVerb(cmd: string, parsed: ParsedArgs): Promise<number>;
72
82
 
73
- export { CLAUDE_SKILL_CONFIG, type InitOptions, type InitResult, QUERY_VERBS, type SkillOptions, commandPrefix, isNpxInvocation, main, parseArgs, printBanner, readPackageVersion, runInit, runQueryVerb, runSkill, usage };
83
+ export { CLAUDE_SKILL_CONFIG, type InitOptions, type InitResult, ProjectResolutionError, QUERY_VERBS, type SkillOptions, commandPrefix, isNpxInvocation, main, parseArgs, printBanner, readPackageVersion, resolveProjectForVerb, runInit, runQueryVerb, runSkill, usage };