@tpsdev-ai/flair 0.54.1 → 0.55.0
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/build-info.json +3 -3
- package/dist/cli.js +774 -176
- package/dist/commands/doctor.js +73 -2
- package/dist/commands/federation.js +131 -36
- package/dist/commands/hook.js +20 -10
- package/dist/commands/init.js +193 -67
- package/dist/commands/service.js +16 -12
- package/dist/commands/soul.js +10 -5
- package/dist/commands/status.js +80 -8
- package/dist/commands/upgrade.js +41 -5
- package/dist/doctor-client.js +118 -32
- package/dist/engine-version.js +12 -4
- package/dist/fabric-upgrade.js +30 -15
- package/dist/hook-install.js +170 -16
- package/dist/lib/doctor-run.js +49 -3
- package/dist/lib/embed-gpu-doctor.js +30 -0
- package/dist/lib/federation-pair-access.js +118 -0
- package/dist/lib/harper-port-value.js +43 -0
- package/dist/lib/http-bind.js +227 -0
- package/dist/lib/init-admin-pass.js +316 -0
- package/dist/lib/launchd-management.js +16 -0
- package/dist/lib/launchd-repair.js +122 -1
- package/dist/lib/npm-registry.js +578 -0
- package/dist/lib/owned-pins.js +54 -1
- package/dist/lib/process-start-time.js +82 -0
- package/dist/lib/scratch-owner.js +124 -10
- package/dist/lib/stale-client-pin.js +26 -0
- package/dist/rem/runner.js +10 -1
- package/dist/resources/AdminInstance.js +8 -2
- package/dist/resources/Memory.js +36 -1
- package/dist/resources/MemoryBootstrap.js +23 -32
- package/dist/resources/MemoryFeed.js +4 -1
- package/dist/resources/MemoryReflect.js +121 -93
- package/dist/resources/SkillScan.js +13 -11
- package/dist/resources/Soul.js +15 -1
- package/dist/resources/XAA.js +16 -1
- package/dist/resources/a2a-url.js +5 -2
- package/dist/resources/client-version-gate.js +144 -0
- package/dist/resources/embed-gpu.js +241 -0
- package/dist/resources/embeddings-boot.js +34 -42
- package/dist/resources/federation-peer-liveness.js +7 -1
- package/dist/resources/health.js +12 -3
- package/dist/resources/mcp-tools.js +8 -3
- package/dist/resources/memory-reflect-lib.js +66 -0
- package/dist/resources/memory-reflect-models.js +9 -0
- package/dist/resources/migrations/embedding-stamp.js +32 -4
- package/dist/resources/oauth-discovery.js +3 -1
- package/dist/resources/record-type-kit.js +59 -0
- package/dist/resources/scan/skill-markdown.js +166 -0
- package/dist/resources/scan/skill-scanner.js +89 -68
- package/dist/resources/skill-provenance.js +273 -0
- package/dist/resources/skill-write.js +26 -7
- package/{node_modules/@tpsdev-ai/flair-tool-descriptors/dist → dist/resources/tool-descriptors}/index.js +4 -0
- package/dist/src/lib/harper-port-value.js +43 -0
- package/dist/version-check.js +29 -8
- package/docs/api-reference.md +35 -2
- package/docs/deployment.md +1 -1
- package/docs/federation.md +18 -7
- package/docs/mcp-clients.md +19 -6
- package/docs/releasing.md +96 -24
- package/docs/rem.md +1 -1
- package/docs/secrets-and-keys.md +1 -0
- package/docs/standalone-local.md +1 -1
- package/docs/troubleshooting.md +17 -0
- package/package.json +4 -9
- package/node_modules/@tpsdev-ai/flair-tool-descriptors/LICENSE +0 -19
- package/node_modules/@tpsdev-ai/flair-tool-descriptors/README.md +0 -22
- package/node_modules/@tpsdev-ai/flair-tool-descriptors/dist/index.d.ts +0 -70
- package/node_modules/@tpsdev-ai/flair-tool-descriptors/package.json +0 -46
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
Copyright 2026 TPS Dev AI
|
|
8
|
-
|
|
9
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
-
you may not use this file except in compliance with the License.
|
|
11
|
-
You may obtain a copy of the License at
|
|
12
|
-
|
|
13
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
-
|
|
15
|
-
Unless required by applicable law or agreed to in writing, software
|
|
16
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
-
See the License for the specific language governing permissions and
|
|
19
|
-
limitations under the License.
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# @tpsdev-ai/flair-tool-descriptors
|
|
2
|
-
|
|
3
|
-
Transport-agnostic MCP tool descriptors for [Flair](https://tps.dev/#flair).
|
|
4
|
-
|
|
5
|
-
This package is **pure data and types**: tool name, description, JSON Schema
|
|
6
|
-
`inputSchema`, output shape, and reviewed surface flags. It imports neither
|
|
7
|
-
Harper nor FlairClient. The Flair server binds each native descriptor to its
|
|
8
|
-
Harper implementation; `@tpsdev-ai/flair-mcp` binds each stdio descriptor to a
|
|
9
|
-
FlairClient HTTP call. Both tool sets are derived from this list, so a new
|
|
10
|
-
descriptor appears on every listed surface with zero hand-wiring (flair#1580).
|
|
11
|
-
|
|
12
|
-
## Install
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
npm install @tpsdev-ai/flair-tool-descriptors
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Surfaces
|
|
19
|
-
|
|
20
|
-
`native` and `stdio` default to true. Set either to `false` for a reviewed
|
|
21
|
-
one-sided tool (`attention` is native-only; `relationship_store` is
|
|
22
|
-
stdio-only). The #1578 exemption list is derived from those flags.
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Transport-agnostic MCP tool descriptors (flair#1580).
|
|
3
|
-
*
|
|
4
|
-
* Pure data + types: name, description, inputSchema, output shape, and
|
|
5
|
-
* reviewed surface flags. No Harper, no FlairClient, no Zod, no HTTP.
|
|
6
|
-
*
|
|
7
|
-
* The server TOOLS registry binds each native descriptor to its Harper impl.
|
|
8
|
-
* The flair-mcp stdio adapter binds each stdio descriptor to a FlairClient
|
|
9
|
-
* call. Both tool sets are DERIVED from this list — a new descriptor appears
|
|
10
|
-
* on every surface that lists it, with zero hand-wiring.
|
|
11
|
-
*/
|
|
12
|
-
/** JSON Schema object used as MCP tools/list inputSchema. */
|
|
13
|
-
export interface JsonSchemaObject {
|
|
14
|
-
type: "object";
|
|
15
|
-
properties: Record<string, JsonSchemaProperty>;
|
|
16
|
-
required?: string[];
|
|
17
|
-
}
|
|
18
|
-
export interface JsonSchemaProperty {
|
|
19
|
-
type?: string;
|
|
20
|
-
description?: string;
|
|
21
|
-
enum?: string[];
|
|
22
|
-
items?: {
|
|
23
|
-
type?: string;
|
|
24
|
-
};
|
|
25
|
-
default?: unknown;
|
|
26
|
-
}
|
|
27
|
-
/** MCP tool descriptor as returned by tools/list. */
|
|
28
|
-
export interface McpToolDef {
|
|
29
|
-
name: string;
|
|
30
|
-
description: string;
|
|
31
|
-
inputSchema: JsonSchemaObject;
|
|
32
|
-
annotations?: Record<string, unknown>;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* One MCP-facing tool. `native` / `stdio` default true — omit both and the
|
|
36
|
-
* tool appears on every surface. Set false for a reviewed one-sided tool
|
|
37
|
-
* (the #1578 exemption list is derived from these flags).
|
|
38
|
-
*/
|
|
39
|
-
export interface ToolDescriptor {
|
|
40
|
-
name: string;
|
|
41
|
-
description: string;
|
|
42
|
-
inputSchema: JsonSchemaObject;
|
|
43
|
-
/** One-line output shape (MCP metadata). Native conformance contracts pin this as `summary`. */
|
|
44
|
-
outputShape: string;
|
|
45
|
-
annotations?: Record<string, unknown>;
|
|
46
|
-
/** When false, native /mcp does not bind this tool. Default true. */
|
|
47
|
-
native?: boolean;
|
|
48
|
-
/** When false, the stdio adapter does not bind this tool. Default true. */
|
|
49
|
-
stdio?: boolean;
|
|
50
|
-
/** Stdio-only description when the HTTP path differs from native /mcp policy. */
|
|
51
|
-
stdioDescription?: string;
|
|
52
|
-
/** Properties advertised on native /mcp only (reviewed, e.g. flair#1579). */
|
|
53
|
-
stdioOmitProperties?: readonly string[];
|
|
54
|
-
/** Properties advertised on the stdio adapter only (reviewed). */
|
|
55
|
-
stdioExtraProperties?: Record<string, JsonSchemaProperty>;
|
|
56
|
-
}
|
|
57
|
-
export declare function isNativeTool(d: ToolDescriptor): boolean;
|
|
58
|
-
export declare function isStdioTool(d: ToolDescriptor): boolean;
|
|
59
|
-
export declare function toMcpToolDef(d: ToolDescriptor): McpToolDef;
|
|
60
|
-
/** Native tools/list def, minus reviewed stdio-only omissions. */
|
|
61
|
-
export declare function toStdioMcpToolDef(d: ToolDescriptor): McpToolDef;
|
|
62
|
-
export declare function descriptorNames(descriptors: readonly ToolDescriptor[]): string[];
|
|
63
|
-
export declare const TOOL_DESCRIPTORS: readonly ToolDescriptor[];
|
|
64
|
-
export declare const NATIVE_TOOL_DESCRIPTORS: readonly ToolDescriptor[];
|
|
65
|
-
export declare const STDIO_TOOL_DESCRIPTORS: readonly ToolDescriptor[];
|
|
66
|
-
/** Derived #1578 exemption list — one-sided by construction, not hand-synced. */
|
|
67
|
-
export declare const SURFACE_EXEMPTIONS: {
|
|
68
|
-
readonly registryOnly: string[];
|
|
69
|
-
readonly adapterOnly: string[];
|
|
70
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tpsdev-ai/flair-tool-descriptors",
|
|
3
|
-
"version": "0.54.1",
|
|
4
|
-
"description": "Transport-agnostic MCP tool descriptors for Flair — name, description, inputSchema, output shape. No Harper, no FlairClient.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"files": [
|
|
15
|
-
"dist/",
|
|
16
|
-
"LICENSE",
|
|
17
|
-
"README.md"
|
|
18
|
-
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"build": "tsc --noCheck",
|
|
21
|
-
"test": "bun test",
|
|
22
|
-
"prepublishOnly": "npm run build"
|
|
23
|
-
},
|
|
24
|
-
"publishConfig": {
|
|
25
|
-
"access": "public"
|
|
26
|
-
},
|
|
27
|
-
"engines": {
|
|
28
|
-
"node": ">=18"
|
|
29
|
-
},
|
|
30
|
-
"license": "Apache-2.0",
|
|
31
|
-
"repository": {
|
|
32
|
-
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/tpsdev-ai/flair.git",
|
|
34
|
-
"directory": "packages/flair-tool-descriptors"
|
|
35
|
-
},
|
|
36
|
-
"homepage": "https://tps.dev/#flair",
|
|
37
|
-
"keywords": [
|
|
38
|
-
"flair",
|
|
39
|
-
"mcp",
|
|
40
|
-
"tools",
|
|
41
|
-
"descriptors"
|
|
42
|
-
],
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"typescript": "5.9.3"
|
|
45
|
-
}
|
|
46
|
-
}
|