@neat.is/core 0.10.1-dev.20260928 → 0.10.2
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/{chunk-ERE47MCR.js → chunk-5SJHA5ZH.js} +2 -2
- package/dist/{chunk-HVBD4ULO.js → chunk-CAGAHYDB.js} +3 -3
- package/dist/{chunk-GDGUY4T6.js → chunk-M7CGATVC.js} +3 -2
- package/dist/{chunk-CNOJ4T6I.js → chunk-TXKOAART.js} +797 -563
- package/dist/chunk-TXKOAART.js.map +1 -0
- package/dist/cli.cjs +1858 -1110
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.d.cts +6 -2
- package/dist/cli.d.ts +6 -2
- package/dist/cli.js +802 -289
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +838 -621
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -1
- package/dist/index.d.ts +33 -1
- package/dist/index.js +4 -4
- package/dist/neatd.cjs +849 -632
- package/dist/neatd.cjs.map +1 -1
- package/dist/neatd.js +3 -3
- package/dist/{otel-grpc-Y5K4WGWO.js → otel-grpc-CU73Y5WT.js} +3 -3
- package/dist/server.cjs +712 -525
- package/dist/server.cjs.map +1 -1
- package/dist/server.js +3 -3
- package/package.json +3 -3
- package/dist/chunk-CNOJ4T6I.js.map +0 -1
- /package/dist/{chunk-ERE47MCR.js.map → chunk-5SJHA5ZH.js.map} +0 -0
- /package/dist/{chunk-HVBD4ULO.js.map → chunk-CAGAHYDB.js.map} +0 -0
- /package/dist/{chunk-GDGUY4T6.js.map → chunk-M7CGATVC.js.map} +0 -0
- /package/dist/{otel-grpc-Y5K4WGWO.js.map → otel-grpc-CU73Y5WT.js.map} +0 -0
package/dist/cli.d.cts
CHANGED
|
@@ -79,7 +79,8 @@ declare class ProjectResolutionError extends Error {
|
|
|
79
79
|
readonly exitCode: number;
|
|
80
80
|
constructor(message: string, exitCode?: number);
|
|
81
81
|
}
|
|
82
|
-
declare function
|
|
82
|
+
declare function isLoopbackEndpoint(endpoint: string): boolean;
|
|
83
|
+
declare function resolveProjectForVerb(client: HttpClient, parsed: ParsedArgs, cwdProject?: string): Promise<string | undefined>;
|
|
83
84
|
type ClientTargetSource = 'profile' | 'env' | 'active' | 'daemon-record' | 'default';
|
|
84
85
|
interface ClientTarget {
|
|
85
86
|
endpoint: string;
|
|
@@ -93,8 +94,11 @@ declare function resolveClientTarget(opts?: {
|
|
|
93
94
|
project?: string;
|
|
94
95
|
profile?: string;
|
|
95
96
|
}): Promise<ClientTarget>;
|
|
97
|
+
declare function projectForCwd(cwd?: string): Promise<string | undefined>;
|
|
98
|
+
declare function cwdProjectApplies(source: ClientTargetSource): boolean;
|
|
96
99
|
declare function resolveDaemonUrl(project?: string, profile?: string): Promise<string>;
|
|
97
100
|
declare function runQueryVerb(cmd: string, parsed: ParsedArgs): Promise<number>;
|
|
98
101
|
declare function runMonitorVerb(parsed: ParsedArgs): Promise<number>;
|
|
102
|
+
declare function reportFatal(err: unknown, log?: (line: unknown) => void): number;
|
|
99
103
|
|
|
100
|
-
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 };
|
|
104
|
+
export { CLAUDE_SKILL_CONFIG, type ClientTarget, type ClientTargetSource, type InitOptions, type InitResult, ProjectResolutionError, QUERY_VERBS, type SkillOptions, UnknownProfileError, commandPrefix, cwdProjectApplies, isLoopbackEndpoint, isNpxInvocation, main, parseArgs, printBanner, projectForCwd, readPackageVersion, reportFatal, resolveClientTarget, resolveDaemonUrl, resolveProjectForVerb, runInit, runMonitorVerb, runQueryVerb, runSkill, usage };
|
package/dist/cli.d.ts
CHANGED
|
@@ -79,7 +79,8 @@ declare class ProjectResolutionError extends Error {
|
|
|
79
79
|
readonly exitCode: number;
|
|
80
80
|
constructor(message: string, exitCode?: number);
|
|
81
81
|
}
|
|
82
|
-
declare function
|
|
82
|
+
declare function isLoopbackEndpoint(endpoint: string): boolean;
|
|
83
|
+
declare function resolveProjectForVerb(client: HttpClient, parsed: ParsedArgs, cwdProject?: string): Promise<string | undefined>;
|
|
83
84
|
type ClientTargetSource = 'profile' | 'env' | 'active' | 'daemon-record' | 'default';
|
|
84
85
|
interface ClientTarget {
|
|
85
86
|
endpoint: string;
|
|
@@ -93,8 +94,11 @@ declare function resolveClientTarget(opts?: {
|
|
|
93
94
|
project?: string;
|
|
94
95
|
profile?: string;
|
|
95
96
|
}): Promise<ClientTarget>;
|
|
97
|
+
declare function projectForCwd(cwd?: string): Promise<string | undefined>;
|
|
98
|
+
declare function cwdProjectApplies(source: ClientTargetSource): boolean;
|
|
96
99
|
declare function resolveDaemonUrl(project?: string, profile?: string): Promise<string>;
|
|
97
100
|
declare function runQueryVerb(cmd: string, parsed: ParsedArgs): Promise<number>;
|
|
98
101
|
declare function runMonitorVerb(parsed: ParsedArgs): Promise<number>;
|
|
102
|
+
declare function reportFatal(err: unknown, log?: (line: unknown) => void): number;
|
|
99
103
|
|
|
100
|
-
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 };
|
|
104
|
+
export { CLAUDE_SKILL_CONFIG, type ClientTarget, type ClientTargetSource, type InitOptions, type InitResult, ProjectResolutionError, QUERY_VERBS, type SkillOptions, UnknownProfileError, commandPrefix, cwdProjectApplies, isLoopbackEndpoint, isNpxInvocation, main, parseArgs, printBanner, projectForCwd, readPackageVersion, reportFatal, resolveClientTarget, resolveDaemonUrl, resolveProjectForVerb, runInit, runMonitorVerb, runQueryVerb, runSkill, usage };
|