🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

faf-cli

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

faf-cli - npm Package Compare versions

Comparing version
7.4.0
to
7.5.0
+40
dist/detect/jvm.d.ts
/**
* JVM (Java / Kotlin) detection — CONTENT-AWARE pom / gradle classification.
*
* Kill line: pom / gradle alone ≠ type.
* One brand: JVM. Android + KMP are facets, not a second "Kotlin Edition".
*
* Signal graph: settings → modules → plugins/parents/packaging →
* version catalogs (libs.versions.toml) → deps/starters.
*
* Same composition as go.ts / csharp.ts: knowledge in jvm-detection.json.
*/
export type JvmAppType = 'mcp' | 'backend' | 'cli' | 'library' | 'mobile';
export interface JvmProject {
appType: JvmAppType;
/** Primary framework label (Spring Boot / Quarkus / …) or ''. */
framework: string;
buildTool: 'maven' | 'gradle';
/** Best-effort language signal for slots. */
mainLanguage: 'Java' | 'Kotlin' | 'Java/Kotlin';
/** Facets: android · multiplatform (not product brands). */
facets: string[];
/** Glass Hood rationale for .faf `# found:`. */
found: string;
}
interface Catalog {
plugins: Map<string, string>;
libraries: Map<string, string>;
}
/** True if directory looks like a JVM project root (or multi-module root). */
export declare function isJvmRoot(dir: string): boolean;
/** Minimal TOML-ish parse for gradle/libs.versions.toml plugins + libraries. */
export declare function parseVersionCatalog(content: string): Catalog;
/** Parse settings.gradle(.kts) include lines → relative module paths. */
export declare function parseSettingsIncludes(content: string): string[];
/**
* Classify a JVM project directory (Maven and/or Gradle, multi-module aware).
* Returns null if no JVM markers at this directory.
*/
export declare function detectJvmProject(dir: string): JvmProject | null;
export {};
+1
-1
{
"name": "faf-cli",
"version": "7.4.0",
"version": "7.5.0",
"description": "Persistent AI context + memory — .faf and .fafm, IANA-registered. Anthropic-merged.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -133,8 +133,10 @@ <!-- faf: faf-cli | TypeScript | cli | CLI for the .faf and .fafm IANA-registered formats — AI context + memory that versions with your code -->

### What's New in v7.4.0 — The C# Edition
### What's New in v7.5.0 — The JVM Edition
- **Content-aware C#** — `.csproj alone ≠ type.` Sdk-first: ASP.NET Core · Worker · MCP · CLI · class library. Classlibs stay classlibs.
- **MCP first-class** — `ModelContextProtocol*` on NuGet (official C# SDK).
- **Go (7.3.0)** — `go.mod alone ≠ backend` still ships.
**Content-aware JVM** — `pom` / `gradle` alone ≠ type. One brand **JVM** (Java + Kotlin/JVM) — not a separate Kotlin Edition.
- **Plugins · parents · packaging · version catalogs · multi-module** — Spring Boot · Quarkus · MCP · CLI · library/aggregator · Android facet (AGP 9) · KMP facet.
- **Zero new config** — reads the build you already ship; unknown → library, not a fake backend.
- **Still shipping** — C# (7.4.0) `.csproj alone ≠ type` · Go (7.3.0) `go.mod alone ≠ backend`.
### Dart/Flutter — knowledge v2 in 7.2.1

@@ -141,0 +143,0 @@

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

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

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

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

Sorry, the diff of this file is not supported yet