@cortexkit/aft
Advanced tools
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/commands/setup.ts"],"names":[],"mappings":"AAIA,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA+C9D"} | ||
| {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/commands/setup.ts"],"names":[],"mappings":"AAKA,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA+D9D"} |
+19
-0
@@ -19,2 +19,21 @@ export type JsoncFormat = "json" | "jsonc" | "none"; | ||
| export declare function writeJsoncFile(path: string, value: Record<string, unknown>, format?: JsoncFormat): void; | ||
| /** Canonical URL of the published AFT config schema. */ | ||
| export declare const AFT_SCHEMA_URL = "https://raw.githubusercontent.com/cortexkit/aft/master/assets/aft.schema.json"; | ||
| export type AftSchemaAction = "added" | "updated" | "unchanged"; | ||
| /** | ||
| * Ensure `aft.jsonc` (or `aft.json`) contains a top-level `$schema` field | ||
| * pointing at the published AFT JSON Schema. Editor tooling (VS Code, Cursor, | ||
| * etc.) uses this for autocomplete and validation. | ||
| * | ||
| * Creates the file with `{"$schema": "..."}` if missing. Preserves existing | ||
| * comments and field ordering when the file exists. | ||
| * | ||
| * `format` follows the harness adapter contract: `"none"` means no file | ||
| * existed before — written as `.json` by default so editors that don't grok | ||
| * JSONC still parse it. Pass `"jsonc"` to keep existing JSONC files as JSONC. | ||
| */ | ||
| export declare function ensureAftSchemaUrl(path: string, format: JsoncFormat): { | ||
| action: AftSchemaAction; | ||
| message: string; | ||
| }; | ||
| //# sourceMappingURL=jsonc.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../src/lib/jsonc.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,MA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;AAED,wDAAwD;AACxD,eAAO,MAAM,cAAc,kFACsD,CAAC;AAElF,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;AAEhE;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,WAAW,GAClB;IAAE,MAAM,EAAE,eAAe,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAoC9C"} |
+1
-1
| { | ||
| "name": "@cortexkit/aft", | ||
| "version": "0.27.0", | ||
| "version": "0.27.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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
516781
0.55%12388
0.49%