🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@cortexkit/aft

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cortexkit/aft - npm Package Compare versions

Comparing version
0.17.0
to
0.17.1
+53
dist/commands/lsp.d.ts
import type { sendAftRequest } from "../lib/aft-bridge.js";
import { sendAftRequests } from "../lib/aft-bridge.js";
import { findAftBinary } from "../lib/binary-probe.js";
import { resolveAdaptersForCommand } from "../lib/harness-select.js";
export interface LspDoctorOptions {
argv: string[];
sendRequest?: typeof sendAftRequest;
sendRequests?: typeof sendAftRequests;
findBinary?: typeof findAftBinary;
resolveAdapters?: typeof resolveAdaptersForCommand;
}
export interface LspInspectResponse {
success: boolean;
code?: string;
message?: string;
file?: string;
extension?: string;
project_root?: string | null;
experimental_lsp_ty?: boolean;
disabled_lsp?: string[];
lsp_paths_extra?: string[];
matching_servers?: LspServerInspection[];
diagnostics_count?: number;
diagnostics?: LspDiagnostic[];
}
export interface LspServerInspection {
id: string;
name: string;
kind: string;
extensions: string[];
root_markers: string[];
binary_name: string;
binary_path: string | null;
binary_source: "path" | "lsp_paths_extra" | "project_node_modules" | "not_found" | string;
workspace_root: string | null;
spawn_status: string;
args: string[];
}
export interface LspDiagnostic {
file: string;
line: number;
column: number;
end_line?: number;
end_column?: number;
severity: string;
message: string;
code?: string | null;
source?: string | null;
}
export declare function printLspDoctorHelp(): void;
export declare function runLspDoctor(options: LspDoctorOptions): Promise<number>;
export declare function renderLspInspection(inputFile: string, response: LspInspectResponse): string;
//# sourceMappingURL=lsp.d.ts.map
{"version":3,"file":"lsp.d.ts","sourceRoot":"","sources":["../../src/commands/lsp.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAc,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,a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AE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,wBAAgB,kBAAkB,IAAI,IAAI,CAIzC;AAED,wBAAsB,YAAY,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,CA0D7E;AAED,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB,GAAG,MAAM,CAmD3F"}
export interface AftRequest {
id: string;
command: string;
[key: string]: unknown;
}
export interface AftResponse {
id: string;
success: boolean;
code?: string;
message?: string;
[key: string]: unknown;
}
export declare function sendAftRequest(binaryPath: string, request: AftRequest): Promise<AftResponse>;
export declare function sendAftRequests(binaryPath: string, requests: AftRequest[]): Promise<AftResponse[]>;
//# sourceMappingURL=aft-bridge.d.ts.map
{"version":3,"file":"aft-bridge.d.ts","sourceRoot":"","sources":["../../src/lib/aft-bridge.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,wBAAsB,cAAc,CAClC,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,UAAU,GAClB,OAAO,CAAC,WAAW,CAAC,CAKtB;AAED,wBAAsB,eAAe,CACnC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,UAAU,EAAE,GACrB,OAAO,CAAC,WAAW,EAAE,CAAC,CAgExB"}
+1
-1

@@ -1,1 +0,1 @@

{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;GAMG;AAEH,QAAA,MAAM,OAAO,QAAkB,CAAC;AAChC,QAAA,MAAM,IAAI,UAAwB,CAAC;AAEnC,iBAAS,SAAS,IAAI,IAAI,CAsBzB;AAED,iBAAe,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAcrC"}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;GAMG;AAEH,QAAA,MAAM,OAAO,QAAkB,CAAC;AAChC,QAAA,MAAM,IAAI,UAAwB,CAAC;AAEnC,iBAAS,SAAS,IAAI,IAAI,CAwBzB;AAED,iBAAe,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAkBrC"}

@@ -11,2 +11,4 @@ /**

export declare function probeBinaryVersion(preferredVersion?: string): string | null;
export declare function platformKey(platform?: string, arch?: string): string | null;
export declare function findAftBinary(preferredVersion?: string): string | null;
//# sourceMappingURL=binary-probe.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"binary-probe.d.ts","sourceRoot":"","sources":["../../src/lib/binary-probe.ts"],"names":[],"mappings":"AAWA;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAgC3E"}
{"version":3,"file":"binary-probe.d.ts","sourceRoot":"","sources":["../../src/lib/binary-probe.ts"],"names":[],"mappings":"AAaA;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAgC3E;AAED,wBAAgB,WAAW,CACzB,QAAQ,GAAE,MAAyB,EACnC,IAAI,GAAE,MAAqB,GAC1B,MAAM,GAAG,IAAI,CAOf;AAED,wBAAgB,aAAa,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAkCtE"}
{
"name": "@cortexkit/aft",
"version": "0.17.0",
"version": "0.17.1",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Unified CLI for Agent File Tools (AFT) — setup, doctor, and diagnostics across supported agent harnesses (OpenCode, Pi)",

Sorry, the diff of this file is too big to display