@finic-ai/finic 0.0.2 → 0.0.4
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 +26 -8
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# finic-agent
|
|
2
2
|
|
|
3
3
|
The Finic agent runtime, distributed as a self-contained binary named `finic`.
|
|
4
|
-
It runs the Finic agent
|
|
5
|
-
subprocess, a long-running daemon, and an interactive terminal UI.
|
|
4
|
+
It runs the Finic agent as an interactive terminal UI.
|
|
6
5
|
|
|
7
6
|
## Install
|
|
8
7
|
|
|
@@ -44,17 +43,36 @@ The MCP endpoint defaults to `<finic-url>/mcp/finic` and can be overridden with
|
|
|
44
43
|
### AI endpoint
|
|
45
44
|
|
|
46
45
|
`finic` does not assume an AI provider — you must point it at one explicitly,
|
|
47
|
-
or it will refuse to
|
|
46
|
+
or it will refuse to boot. Auth flows through
|
|
47
|
+
the explicit shape you pick in the desktop's Settings UI (or hand-write into
|
|
48
|
+
`~/.finic/config.toml [model]`).
|
|
49
|
+
|
|
50
|
+
The base URL is resolved in this order, highest priority first:
|
|
48
51
|
|
|
49
52
|
1. `--anthropic-base-url <url>` — CLI flag
|
|
50
|
-
2. `
|
|
51
|
-
3. `anthropic_base_url` under `[runtime]` in `~/.finic/config.toml`
|
|
53
|
+
2. `base_url` under `[model]` in `~/.finic/config.toml`
|
|
54
|
+
3. `anthropic_base_url` under `[runtime]` in `~/.finic/config.toml` (legacy)
|
|
52
55
|
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
The `[model]` block accepts one of four explicit auth shapes:
|
|
57
|
+
|
|
58
|
+
| `provider` | Required TOML fields | Required secrets (`~/.finic/secrets.json`) |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| `api_key` | `base_url` | `model-api-key` |
|
|
61
|
+
| `api_key_helper` | `base_url`, `api_key_helper` (absolute path) | — |
|
|
62
|
+
| `claude_settings_path` | `claude_settings_path` (absolute path) | — |
|
|
63
|
+
| `bedrock` | `aws_region` | `model-bedrock-access-key-id`, `model-bedrock-secret-access-key` |
|
|
64
|
+
|
|
65
|
+
Example:
|
|
66
|
+
|
|
67
|
+
```toml
|
|
68
|
+
[model]
|
|
69
|
+
provider = "api_key"
|
|
70
|
+
base_url = "https://api.anthropic.com"
|
|
71
|
+
# the API key itself lives in ~/.finic/secrets.json under "model-api-key"
|
|
55
72
|
```
|
|
56
73
|
|
|
57
|
-
To call Anthropic directly, set
|
|
74
|
+
To call Anthropic directly, set `base_url = "https://api.anthropic.com"`.
|
|
75
|
+
The Finic Desktop's Settings → Model section writes this file for you.
|
|
58
76
|
|
|
59
77
|
## Authentication
|
|
60
78
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finic-ai/finic",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Finic agent — Bun-compiled local runtime. Dispatches to the platform-specific binary at runtime.",
|
|
5
5
|
"bin": { "finic": "./dist/index.js" },
|
|
6
6
|
"files": ["dist/**/*", "README.md"],
|
|
7
7
|
"optionalDependencies": {
|
|
8
|
-
"@finic-ai/finic-darwin-arm64": "0.0.
|
|
9
|
-
"@finic-ai/finic-darwin-x64": "0.0.
|
|
10
|
-
"@finic-ai/finic-linux-arm64": "0.0.
|
|
11
|
-
"@finic-ai/finic-linux-x64": "0.0.
|
|
8
|
+
"@finic-ai/finic-darwin-arm64": "0.0.4",
|
|
9
|
+
"@finic-ai/finic-darwin-x64": "0.0.4",
|
|
10
|
+
"@finic-ai/finic-linux-arm64": "0.0.4",
|
|
11
|
+
"@finic-ai/finic-linux-x64": "0.0.4"
|
|
12
12
|
}
|
|
13
13
|
}
|