@fml-inc/fml 0.0.29 → 0.0.30
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/.claude-plugin/plugin.json +1 -1
- package/README.md +10 -0
- package/dist/cli.js +5 -4
- package/dist/cli.js.map +1 -1
- package/dist/mcp/server.js +6 -0
- package/dist/mcp/server.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,16 @@ Then sign in:
|
|
|
16
16
|
fml login
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
## For LLM agents
|
|
20
|
+
|
|
21
|
+
Setting up FML from inside a coding-agent sandbox (Claude Code, Codex, Gemini CLI, etc.)? Paste this to your agent:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
Follow the installation instructions here: https://github.com/fml-inc/observe/blob/main/docs/agent_installation_guide.md
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The guide covers: `npm install -g @fml-inc/fml` → `fml install` → `fml login --device` (the agent relays the verification URL to you, you paste the code back) → `fml doctor`. No browser, no `gh` CLI, no manual shell-profile edits needed.
|
|
28
|
+
|
|
19
29
|
## What it does
|
|
20
30
|
|
|
21
31
|
**Local observability** — Panopticon captures OpenTelemetry signals, hook events, session files, and API traffic from Claude Code, Gemini CLI, and Codex CLI into a local SQLite database.
|
package/dist/cli.js
CHANGED
|
@@ -2420,7 +2420,7 @@ function handleUninstall(opts) {
|
|
|
2420
2420
|
// src/commands/update.ts
|
|
2421
2421
|
import { execSync as execSync2 } from "child_process";
|
|
2422
2422
|
async function handleUpdate() {
|
|
2423
|
-
const currentVersion = true ? "0.0.
|
|
2423
|
+
const currentVersion = true ? "0.0.30+90b4fd3" : "unknown";
|
|
2424
2424
|
console.log(`Current: ${currentVersion}`);
|
|
2425
2425
|
console.log("Updating via npm...\n");
|
|
2426
2426
|
try {
|
|
@@ -3123,7 +3123,8 @@ var GENERIC_PROVIDERS = [
|
|
|
3123
3123
|
"github",
|
|
3124
3124
|
"linear",
|
|
3125
3125
|
"notion",
|
|
3126
|
-
"freshdesk"
|
|
3126
|
+
"freshdesk",
|
|
3127
|
+
"stripe"
|
|
3127
3128
|
];
|
|
3128
3129
|
var POSTHOG_ENDPOINTS = {
|
|
3129
3130
|
insights: "query-posthog-insights",
|
|
@@ -3619,7 +3620,7 @@ if (process.argv.length <= 2 || process.argv.includes("--help") || process.argv.
|
|
|
3619
3620
|
printBanner();
|
|
3620
3621
|
}
|
|
3621
3622
|
var program = new Command().name("fml").description("FML agent tools for Claude Code").version(
|
|
3622
|
-
true ? "0.0.
|
|
3623
|
+
true ? "0.0.30+90b4fd3" : "dev"
|
|
3623
3624
|
);
|
|
3624
3625
|
program.command("tools", { hidden: true }).description("List all available CLI commands (including hidden agent tools)").action(() => {
|
|
3625
3626
|
function formatCmd(cmd, prefix = "") {
|
|
@@ -3680,7 +3681,7 @@ program.command("spending").description("AI token usage and cost breakdown").opt
|
|
|
3680
3681
|
program.command("search").description("Search across all sessions").argument("<query>", "Text to search for").option("--since <duration>", 'Time filter, e.g. "24h", "7d"').option("--limit <n>", "Max results").action((query, opts) => handleSearch(query, opts));
|
|
3681
3682
|
program.command("query", { hidden: true }).description("Query a connected integration").argument(
|
|
3682
3683
|
"<provider>",
|
|
3683
|
-
"Provider name (sentry, slack, github, linear, notion, freshdesk, posthog, amplitude, meta-ads)"
|
|
3684
|
+
"Provider name (sentry, slack, github, linear, notion, freshdesk, stripe, posthog, amplitude, meta-ads)"
|
|
3684
3685
|
).argument("<endpoint>", "API endpoint or subcommand").option("--method <method>", "HTTP method", "GET").option("--body <json>", "Request body as JSON string").option("--project-id <id>", "Project ID override").action((provider, endpoint, opts) => handleQuery(provider, endpoint, opts));
|
|
3685
3686
|
var automation = program.command("automation", { hidden: true }).description("Manage automations");
|
|
3686
3687
|
automation.command("list").description("List all automations").action(() => handleAutomationList());
|