faf 8.3.0 → 8.3.1
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/README.md +1 -0
- package/dist/cli.js +256 -256
- package/dist/cli.js.map +5 -5
- package/dist/index.js +28 -28
- package/dist/index.js.map +3 -3
- package/dist/interop/cards.d.ts +9 -1
- package/package.json +1 -1
- package/project.faf +3 -3
package/dist/interop/cards.d.ts
CHANGED
|
@@ -100,6 +100,13 @@ export declare const NO_MCP_ENDPOINT = "no mcp endpoint in agent.fafa";
|
|
|
100
100
|
/** True when the .fafa says it is not an MCP server: it names no mcp endpoint.
|
|
101
101
|
* Then neither MCP card is written, even beside a project.faf. */
|
|
102
102
|
export declare function fafaSkipsMcp(fafa: FafaDoc | undefined): boolean;
|
|
103
|
+
/** Why a project.faf with no .fafa gets no MCP Server Card and no registry server.json. */
|
|
104
|
+
export declare const NOT_AN_MCP_SERVER = "project.faf type is not an MCP server";
|
|
105
|
+
/** True when, with no .fafa, project.faf says the project is not an MCP
|
|
106
|
+
* server: it names a type (cli, library, …) that is not mcp. Then neither MCP
|
|
107
|
+
* card is written unless asked for by name. A project.faf with no type keeps
|
|
108
|
+
* them, as before. */
|
|
109
|
+
export declare function fafSkipsMcp(faf: FafData | undefined, fafa: FafaDoc | undefined): boolean;
|
|
103
110
|
/** The cards an agent.fafa gives with no project.faf (BETTER): the A2A card
|
|
104
111
|
* (when it names an A2A door), the MCP Server Card (when it names a remote MCP
|
|
105
112
|
* URL), the registry server.json (a remote or a package), the AI Catalog, ARD. */
|
|
@@ -113,7 +120,8 @@ export declare function betterTargets(fafa: FafaDoc, opts?: ProjectCardsOptions)
|
|
|
113
120
|
* (a CLI, a library, an A2A agent) gets no Server Card and no registry entry,
|
|
114
121
|
* and asking for one is refused. With a project.faf and no .fafa, the Server
|
|
115
122
|
* Card and the registry identity come from project.faf, as `faf server-card`
|
|
116
|
-
* writes them
|
|
123
|
+
* writes them, when its type is an MCP server (or it names none); for any
|
|
124
|
+
* other type they are written only when asked for by name.
|
|
117
125
|
*/
|
|
118
126
|
export declare function projectCards(input: {
|
|
119
127
|
/** project.faf — absent means BETTER. */
|
package/package.json
CHANGED
package/project.faf
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
faf_version: "3.0"
|
|
2
2
|
project:
|
|
3
3
|
name: faf-cli
|
|
4
|
-
version: "8.3.
|
|
5
|
-
goal: "CLI for IANA-registered `.faf` + `.fafm` — context DNA and portable agent memory. TypeScript, Bun-native since v6. package faf-cli v8.3.
|
|
4
|
+
version: "8.3.1"
|
|
5
|
+
goal: "CLI for IANA-registered `.faf` + `.fafm` — context DNA and portable agent memory. TypeScript, Bun-native since v6. package faf-cli v8.3.1 The Business Card Edition — scored by the always-33 engine."
|
|
6
6
|
main_language: TypeScript
|
|
7
7
|
type: cli # found: package.json bin
|
|
8
8
|
# Commands + key_files feed `faf export --agents` (hand values win over detection).
|
|
@@ -61,7 +61,7 @@ human_context:
|
|
|
61
61
|
what: Persistent AI Context Standard — project DNA for AI. IANA-registered. Anthropic-merged.
|
|
62
62
|
why: Eliminates 91% context re-discovery tax — define once, AI remembers forever
|
|
63
63
|
where: npm registry, Homebrew, GitHub
|
|
64
|
-
when: Production since September 2025; Bun-native since v6; current package 8.3.
|
|
64
|
+
when: Production since September 2025; Bun-native since v6; current package 8.3.1 (always-33 engine)
|
|
65
65
|
how: bunx faf-cli auto, then project.faf versions with your code — faf show renders it human-visible
|
|
66
66
|
monorepo:
|
|
67
67
|
packages_count: slotignored
|