@neat.is/core 0.9.15-dev.20260907 → 0.9.15-dev.20260908

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
@@ -26,6 +26,7 @@ declare function commandPrefix(): string;
26
26
  declare function usage(): void;
27
27
  interface ParsedArgs {
28
28
  project: string | null;
29
+ profile: string | null;
29
30
  apply: boolean;
30
31
  dryRun: boolean;
31
32
  noInstall: boolean;
@@ -78,8 +79,21 @@ declare class ProjectResolutionError extends Error {
78
79
  constructor(message: string, exitCode?: number);
79
80
  }
80
81
  declare function resolveProjectForVerb(client: HttpClient, parsed: ParsedArgs): Promise<string | undefined>;
81
- declare function resolveDaemonUrl(project?: string): Promise<string>;
82
+ type ClientTargetSource = 'profile' | 'env' | 'active' | 'daemon-record' | 'default';
83
+ interface ClientTarget {
84
+ endpoint: string;
85
+ authToken?: string;
86
+ source: ClientTargetSource;
87
+ }
88
+ declare class UnknownProfileError extends Error {
89
+ constructor(name: string);
90
+ }
91
+ declare function resolveClientTarget(opts?: {
92
+ project?: string;
93
+ profile?: string;
94
+ }): Promise<ClientTarget>;
95
+ declare function resolveDaemonUrl(project?: string, profile?: string): Promise<string>;
82
96
  declare function runQueryVerb(cmd: string, parsed: ParsedArgs): Promise<number>;
83
97
  declare function runMonitorVerb(parsed: ParsedArgs): Promise<number>;
84
98
 
85
- export { CLAUDE_SKILL_CONFIG, type InitOptions, type InitResult, ProjectResolutionError, QUERY_VERBS, type SkillOptions, commandPrefix, isNpxInvocation, main, parseArgs, printBanner, readPackageVersion, resolveDaemonUrl, resolveProjectForVerb, runInit, runMonitorVerb, runQueryVerb, runSkill, usage };
99
+ export { CLAUDE_SKILL_CONFIG, type ClientTarget, type ClientTargetSource, type InitOptions, type InitResult, ProjectResolutionError, QUERY_VERBS, type SkillOptions, UnknownProfileError, commandPrefix, isNpxInvocation, main, parseArgs, printBanner, readPackageVersion, resolveClientTarget, resolveDaemonUrl, resolveProjectForVerb, runInit, runMonitorVerb, runQueryVerb, runSkill, usage };
package/dist/cli.d.ts CHANGED
@@ -26,6 +26,7 @@ declare function commandPrefix(): string;
26
26
  declare function usage(): void;
27
27
  interface ParsedArgs {
28
28
  project: string | null;
29
+ profile: string | null;
29
30
  apply: boolean;
30
31
  dryRun: boolean;
31
32
  noInstall: boolean;
@@ -78,8 +79,21 @@ declare class ProjectResolutionError extends Error {
78
79
  constructor(message: string, exitCode?: number);
79
80
  }
80
81
  declare function resolveProjectForVerb(client: HttpClient, parsed: ParsedArgs): Promise<string | undefined>;
81
- declare function resolveDaemonUrl(project?: string): Promise<string>;
82
+ type ClientTargetSource = 'profile' | 'env' | 'active' | 'daemon-record' | 'default';
83
+ interface ClientTarget {
84
+ endpoint: string;
85
+ authToken?: string;
86
+ source: ClientTargetSource;
87
+ }
88
+ declare class UnknownProfileError extends Error {
89
+ constructor(name: string);
90
+ }
91
+ declare function resolveClientTarget(opts?: {
92
+ project?: string;
93
+ profile?: string;
94
+ }): Promise<ClientTarget>;
95
+ declare function resolveDaemonUrl(project?: string, profile?: string): Promise<string>;
82
96
  declare function runQueryVerb(cmd: string, parsed: ParsedArgs): Promise<number>;
83
97
  declare function runMonitorVerb(parsed: ParsedArgs): Promise<number>;
84
98
 
85
- export { CLAUDE_SKILL_CONFIG, type InitOptions, type InitResult, ProjectResolutionError, QUERY_VERBS, type SkillOptions, commandPrefix, isNpxInvocation, main, parseArgs, printBanner, readPackageVersion, resolveDaemonUrl, resolveProjectForVerb, runInit, runMonitorVerb, runQueryVerb, runSkill, usage };
99
+ export { CLAUDE_SKILL_CONFIG, type ClientTarget, type ClientTargetSource, type InitOptions, type InitResult, ProjectResolutionError, QUERY_VERBS, type SkillOptions, UnknownProfileError, commandPrefix, isNpxInvocation, main, parseArgs, printBanner, readPackageVersion, resolveClientTarget, resolveDaemonUrl, resolveProjectForVerb, runInit, runMonitorVerb, runQueryVerb, runSkill, usage };