@tpsdev-ai/flair 0.6.2 → 0.7.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/README.md +7 -5
- package/dist/cli.js +1663 -190
- package/dist/install/clients.js +225 -0
- package/dist/resources/Federation.js +21 -15
- package/dist/resources/auth-middleware.js +44 -11
- package/dist/resources/health.js +1 -1
- package/package.json +3 -1
- package/ui/observation-center.html +356 -62
package/README.md
CHANGED
|
@@ -162,17 +162,17 @@ openclaw plugins install @tpsdev-ai/openclaw-flair
|
|
|
162
162
|
|
|
163
163
|
The plugin auto-detects your agent identity, provides `memory_store`/`memory_recall`/`memory_get` tools, and injects relevant memories at session start. See the [plugin README](plugins/openclaw-flair/README.md) for details.
|
|
164
164
|
|
|
165
|
-
### Claude Code / Codex / Cursor (MCP)
|
|
165
|
+
### Claude Code / Gemini CLI / OpenAI Codex CLI / Cursor (MCP)
|
|
166
166
|
|
|
167
|
-
Install the MCP server for native tool integration:
|
|
167
|
+
One MCP server, many CLIs. Install the MCP server for native tool integration in any MCP-capable client:
|
|
168
168
|
|
|
169
169
|
```json
|
|
170
|
-
// .mcp.json in your project root
|
|
170
|
+
// .mcp.json in your project root (Claude Code / Cursor format)
|
|
171
171
|
{
|
|
172
172
|
"mcpServers": {
|
|
173
173
|
"flair": {
|
|
174
174
|
"command": "npx",
|
|
175
|
-
"args": ["@tpsdev-ai/flair-mcp"],
|
|
175
|
+
"args": ["-y", "@tpsdev-ai/flair-mcp"],
|
|
176
176
|
"env": { "FLAIR_AGENT_ID": "mybot" }
|
|
177
177
|
}
|
|
178
178
|
}
|
|
@@ -183,7 +183,9 @@ Add to your `CLAUDE.md`:
|
|
|
183
183
|
|
|
184
184
|
At the start of every session, run mcp__flair__bootstrap before responding.
|
|
185
185
|
|
|
186
|
-
Claude Code
|
|
186
|
+
Your agent's memory **follows it across CLIs** — same Flair instance, same agent identity, switch from Claude Code to Gemini CLI to Codex CLI without losing state. The MCP server exposes `memory_store`, `memory_search`, `memory_get`, `memory_delete`, `bootstrap`, `soul_set`, `soul_get`.
|
|
187
|
+
|
|
188
|
+
For per-CLI config snippets (Gemini CLI's `~/.gemini/settings.json`, Codex CLI's `~/.codex/config.toml`, etc.), see **[docs/mcp-clients.md](docs/mcp-clients.md)**. For a deeper Claude Code walk-through with `CLAUDE.md` patterns, see [docs/claude-code.md](docs/claude-code.md).
|
|
187
189
|
|
|
188
190
|
### JavaScript / TypeScript (Client Library)
|
|
189
191
|
|