frely-cli 0.6.10 → 0.8.3
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 +97 -293
- package/README.zh-CN.md +230 -0
- package/dist/agent/agent-service.d.ts +77 -0
- package/dist/agent/agent-service.js +348 -0
- package/dist/agent/agent-service.js.map +1 -0
- package/dist/agent/app-install.d.ts +49 -0
- package/dist/agent/app-install.js +133 -0
- package/dist/agent/app-install.js.map +1 -0
- package/dist/agent/app-key.d.ts +14 -0
- package/dist/agent/app-key.js +46 -0
- package/dist/agent/app-key.js.map +1 -0
- package/dist/agent/compose.d.ts +23 -0
- package/dist/agent/compose.js +42 -0
- package/dist/agent/compose.js.map +1 -0
- package/dist/agent/ops-server.d.ts +18 -0
- package/dist/agent/ops-server.js +175 -0
- package/dist/agent/ops-server.js.map +1 -0
- package/dist/agent/ops-stdio.d.ts +5 -0
- package/dist/agent/ops-stdio.js +47 -0
- package/dist/agent/ops-stdio.js.map +1 -0
- package/dist/agent/ops.d.ts +25 -0
- package/dist/agent/ops.js +82 -0
- package/dist/agent/ops.js.map +1 -0
- package/dist/agent/protocol.d.ts +72 -0
- package/dist/agent/protocol.js +195 -0
- package/dist/agent/protocol.js.map +1 -0
- package/dist/agent/supervisor.d.ts +80 -0
- package/dist/agent/supervisor.js +278 -0
- package/dist/agent/supervisor.js.map +1 -0
- package/dist/agent/task-store.d.ts +82 -0
- package/dist/agent/task-store.js +220 -0
- package/dist/agent/task-store.js.map +1 -0
- package/dist/agent/tool-executor.d.ts +28 -0
- package/dist/agent/tool-executor.js +113 -0
- package/dist/agent/tool-executor.js.map +1 -0
- package/dist/agent/worktrees.d.ts +35 -0
- package/dist/agent/worktrees.js +143 -0
- package/dist/agent/worktrees.js.map +1 -0
- package/dist/agent-help.d.ts +200 -176
- package/dist/agent-help.js +65 -32
- package/dist/agent-help.js.map +1 -1
- package/dist/auth.d.ts +3 -0
- package/dist/auth.js +52 -14
- package/dist/auth.js.map +1 -1
- package/dist/cloud.d.ts +1 -1
- package/dist/cloud.js +6 -13
- package/dist/cloud.js.map +1 -1
- package/dist/device/protocol.d.ts +11 -2
- package/dist/device/protocol.js +18 -2
- package/dist/device/protocol.js.map +1 -1
- package/dist/device/relay-client.d.ts +19 -2
- package/dist/device/relay-client.js +65 -13
- package/dist/device/relay-client.js.map +1 -1
- package/dist/diagnostics.js +12 -4
- package/dist/diagnostics.js.map +1 -1
- package/dist/index.js +203 -173
- package/dist/index.js.map +1 -1
- package/dist/key-budget.js +2 -2
- package/dist/key-budget.js.map +1 -1
- package/dist/mcp-authorization.js +9 -7
- package/dist/mcp-authorization.js.map +1 -1
- package/dist/mcp-command.d.ts +12 -4
- package/dist/mcp-command.js +54 -25
- package/dist/mcp-command.js.map +1 -1
- package/dist/provider/state.d.ts +2 -0
- package/dist/provider/state.js +1 -0
- package/dist/provider/state.js.map +1 -1
- package/dist/runtime/mcp-lease.js +1 -1
- package/dist/runtime/mcp-lease.js.map +1 -1
- package/dist/runtime/mcp.d.ts +139 -0
- package/dist/runtime/mcp.js +88 -29
- package/dist/runtime/mcp.js.map +1 -1
- package/dist/runtime/process-manager.d.ts +1 -1
- package/dist/runtime/process-manager.js +4 -2
- package/dist/runtime/process-manager.js.map +1 -1
- package/dist/runtime/relay-agent.d.ts +25 -0
- package/dist/runtime/relay-agent.js +63 -0
- package/dist/runtime/relay-agent.js.map +1 -0
- package/dist/runtime/relay-mcp.d.ts +5 -2
- package/dist/runtime/relay-mcp.js +6 -1
- package/dist/runtime/relay-mcp.js.map +1 -1
- package/dist/runtime/relay-session.d.ts +47 -0
- package/dist/runtime/relay-session.js +56 -0
- package/dist/runtime/relay-session.js.map +1 -0
- package/dist/runtime/sandbox.d.ts +16 -0
- package/dist/runtime/sandbox.js +149 -0
- package/dist/runtime/sandbox.js.map +1 -0
- package/dist/runtime/workspace-registry.d.ts +5 -0
- package/dist/runtime/workspace-registry.js +87 -0
- package/dist/runtime/workspace-registry.js.map +1 -0
- package/dist/runtime/workspace-router.d.ts +5 -0
- package/dist/runtime/workspace-router.js +32 -0
- package/dist/runtime/workspace-router.js.map +1 -0
- package/dist/runtime/workspace.js +3 -1
- package/dist/runtime/workspace.js.map +1 -1
- package/dist/skill/access.d.ts +4 -2
- package/dist/skill/access.js +7 -3
- package/dist/skill/access.js.map +1 -1
- package/dist/upgrade/installation.js +1 -1
- package/dist/upgrade/installation.js.map +1 -1
- package/dist/workspace-command.d.ts +8 -0
- package/dist/workspace-command.js +36 -0
- package/dist/workspace-command.js.map +1 -0
- package/package.json +2 -1
package/dist/agent-help.d.ts
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
export declare const COMMANDS: readonly [{
|
|
2
|
-
readonly id: "
|
|
3
|
-
readonly usage: "frely
|
|
4
|
-
readonly auth: "
|
|
5
|
-
readonly effect: "
|
|
6
|
-
readonly purpose: "
|
|
2
|
+
readonly id: "login";
|
|
3
|
+
readonly usage: "frely login [--relay <url>] [--no-browser]";
|
|
4
|
+
readonly auth: "browser";
|
|
5
|
+
readonly effect: "authorization";
|
|
6
|
+
readonly purpose: "Authorize the CLI for the user's Frely account.";
|
|
7
|
+
}, {
|
|
8
|
+
readonly id: "logout";
|
|
9
|
+
readonly usage: "frely logout";
|
|
10
|
+
readonly auth: "none";
|
|
11
|
+
readonly effect: "local-write";
|
|
12
|
+
readonly purpose: "Remove login, revoke Cloud authorization and stop the MCP background service.";
|
|
13
|
+
}, {
|
|
14
|
+
readonly id: "doctor";
|
|
15
|
+
readonly usage: "frely doctor [-v] [--json]";
|
|
16
|
+
readonly auth: "optional-account";
|
|
17
|
+
readonly effect: "diagnostic";
|
|
18
|
+
readonly purpose: "Show the signed-in account, installation, available upgrades, MCP and connection status; -v verifies the account online and runs detailed diagnostics.";
|
|
7
19
|
}, {
|
|
8
20
|
readonly id: "upgrade";
|
|
9
21
|
readonly usage: "frely upgrade";
|
|
@@ -17,65 +29,77 @@ export declare const COMMANDS: readonly [{
|
|
|
17
29
|
readonly effect: "read";
|
|
18
30
|
readonly purpose: "Read this installed CLI's current Agent instructions.";
|
|
19
31
|
}, {
|
|
20
|
-
readonly id: "
|
|
21
|
-
readonly usage: "frely
|
|
22
|
-
readonly auth: "
|
|
23
|
-
readonly effect: "
|
|
24
|
-
readonly purpose: "
|
|
32
|
+
readonly id: "mcp";
|
|
33
|
+
readonly usage: "frely mcp [--workspace <path>] [--days 1..180] [--json]";
|
|
34
|
+
readonly auth: "account-and-browser-if-needed";
|
|
35
|
+
readonly effect: "authorization-if-needed";
|
|
36
|
+
readonly purpose: "Enable, renew or read device MCP. Unconfigured: request browser approval for --workspace (default: current directory) and install the background service. Expired or --days given: renew with browser approval; the MCP URL stays the same. Otherwise print the MCP URL unchanged. Prompts go to stderr; stdout holds only the URL, or JSON with HTTP transport and OAuth details.";
|
|
25
37
|
}, {
|
|
26
|
-
readonly id: "
|
|
27
|
-
readonly usage: "frely
|
|
28
|
-
readonly auth: "
|
|
29
|
-
readonly effect: "
|
|
30
|
-
readonly purpose: "
|
|
38
|
+
readonly id: "mcp.workspace";
|
|
39
|
+
readonly usage: "frely mcp workspace [add|remove <path>] [--json]";
|
|
40
|
+
readonly auth: "mcp";
|
|
41
|
+
readonly effect: "subcommand-dependent";
|
|
42
|
+
readonly purpose: "List workspace directories for this device, or add/remove an additional one (the primary cannot be removed).";
|
|
31
43
|
}, {
|
|
32
|
-
readonly id: "
|
|
33
|
-
readonly usage: "frely
|
|
44
|
+
readonly id: "mcp.stop";
|
|
45
|
+
readonly usage: "frely mcp stop";
|
|
34
46
|
readonly auth: "none";
|
|
35
|
-
readonly effect: "
|
|
36
|
-
readonly purpose: "
|
|
47
|
+
readonly effect: "local-service";
|
|
48
|
+
readonly purpose: "Pause the local MCP background service. Supported upgrades restore running services without this command.";
|
|
37
49
|
}, {
|
|
38
|
-
readonly id: "
|
|
39
|
-
readonly usage: "frely
|
|
50
|
+
readonly id: "mcp.start";
|
|
51
|
+
readonly usage: "frely mcp start";
|
|
40
52
|
readonly auth: "none";
|
|
53
|
+
readonly effect: "local-service";
|
|
54
|
+
readonly purpose: "Resume the local MCP background service.";
|
|
55
|
+
}, {
|
|
56
|
+
readonly id: "mcp.remove";
|
|
57
|
+
readonly usage: "frely mcp remove";
|
|
58
|
+
readonly auth: "account";
|
|
59
|
+
readonly effect: "remote-write";
|
|
60
|
+
readonly purpose: "Revoke device MCP for every connected client and uninstall the background service (kept running provider-only when local Providers exist).";
|
|
61
|
+
}, {
|
|
62
|
+
readonly id: "mcp.stdio";
|
|
63
|
+
readonly usage: "frely mcp stdio [--workspace <path>]";
|
|
64
|
+
readonly auth: "mcp";
|
|
65
|
+
readonly effect: "local-execution";
|
|
66
|
+
readonly purpose: "Serve authorized local tools over stdio for a local MCP client.";
|
|
67
|
+
}, {
|
|
68
|
+
readonly id: "mcp.serve";
|
|
69
|
+
readonly usage: "frely mcp serve [--workspace <path>]";
|
|
70
|
+
readonly auth: "account-and-mcp";
|
|
71
|
+
readonly effect: "local-execution";
|
|
72
|
+
readonly purpose: "Foreground Device Relay client; the background service runs this. Not needed for normal use.";
|
|
73
|
+
}, {
|
|
74
|
+
readonly id: "agent.install";
|
|
75
|
+
readonly usage: "frely agent install <distribution-id|manifest-url> [--host chatgpt|codex|claude-code|pi|generic] [--scope global|project] [--api-key-stdin] [--json]";
|
|
76
|
+
readonly auth: "optional-api-key";
|
|
41
77
|
readonly effect: "local-write";
|
|
42
|
-
readonly purpose: "
|
|
78
|
+
readonly purpose: "Install the public Agent's trigger Skill; an API key goes only through stdin to secure storage.";
|
|
43
79
|
}, {
|
|
44
|
-
readonly id: "agent.
|
|
45
|
-
readonly usage: "frely agent
|
|
80
|
+
readonly id: "agent.run";
|
|
81
|
+
readonly usage: "frely agent run <distribution-id> (--input <text>|--input-stdin) [--json]";
|
|
46
82
|
readonly auth: "installed-api-key-or-account";
|
|
47
83
|
readonly effect: "remote-call";
|
|
48
84
|
readonly purpose: "Send the complete relevant user request to the installed Agent through model-scoped MCP. Usage may be billed.";
|
|
49
85
|
}, {
|
|
50
|
-
readonly id: "
|
|
51
|
-
readonly usage: "frely
|
|
52
|
-
readonly auth: "
|
|
53
|
-
readonly effect: "
|
|
54
|
-
readonly purpose: "
|
|
86
|
+
readonly id: "agent.status";
|
|
87
|
+
readonly usage: "frely agent status (<distribution-id>|--api-key-stdin [--relay <url>]) [--json]";
|
|
88
|
+
readonly auth: "none-or-api-key";
|
|
89
|
+
readonly effect: "read";
|
|
90
|
+
readonly purpose: "Inspect an installed Agent Skill and, for API-key installs, its Key budget. With --api-key-stdin, read that Key's budget without installing or logging in.";
|
|
55
91
|
}, {
|
|
56
|
-
readonly id: "
|
|
57
|
-
readonly usage: "frely
|
|
92
|
+
readonly id: "agent.remove";
|
|
93
|
+
readonly usage: "frely agent remove <distribution-id> [--json]";
|
|
58
94
|
readonly auth: "none";
|
|
59
95
|
readonly effect: "local-write";
|
|
60
|
-
readonly purpose: "Remove
|
|
61
|
-
}, {
|
|
62
|
-
readonly id: "whoami";
|
|
63
|
-
readonly usage: "frely whoami";
|
|
64
|
-
readonly auth: "account";
|
|
65
|
-
readonly effect: "read";
|
|
66
|
-
readonly purpose: "Read the signed-in account.";
|
|
67
|
-
}, {
|
|
68
|
-
readonly id: "doctor";
|
|
69
|
-
readonly usage: "frely doctor [-v] [--json]";
|
|
70
|
-
readonly auth: "optional-account";
|
|
71
|
-
readonly effect: "diagnostic";
|
|
72
|
-
readonly purpose: "Show installation, available upgrades, account, MCP and connection status; -v runs detailed diagnostics.";
|
|
96
|
+
readonly purpose: "Remove an installed Agent Skill and its saved API key.";
|
|
73
97
|
}, {
|
|
74
98
|
readonly id: "provider.share";
|
|
75
99
|
readonly usage: "frely provider share [ollama|openai-compatible] [--url <loopback-v1-url>] [--models <a,b>] [--slot <slot-id>] [--name <name>]";
|
|
76
100
|
readonly auth: "account";
|
|
77
101
|
readonly effect: "remote-write";
|
|
78
|
-
readonly purpose: "Publish a local model Provider.";
|
|
102
|
+
readonly purpose: "Publish a local model Provider. If a prepared Provider on this device is not finished, resume it instead.";
|
|
79
103
|
}, {
|
|
80
104
|
readonly id: "provider.list";
|
|
81
105
|
readonly usage: "frely provider list [--json]";
|
|
@@ -83,59 +107,47 @@ export declare const COMMANDS: readonly [{
|
|
|
83
107
|
readonly effect: "read";
|
|
84
108
|
readonly purpose: "List configured local Providers.";
|
|
85
109
|
}, {
|
|
86
|
-
readonly id: "
|
|
87
|
-
readonly usage: "frely
|
|
88
|
-
readonly auth: "
|
|
89
|
-
readonly effect: "
|
|
90
|
-
readonly purpose: "
|
|
91
|
-
}, {
|
|
92
|
-
readonly id: "mcp.setup";
|
|
93
|
-
readonly usage: "frely mcp [--workspace <path>] [--days 1..180]";
|
|
94
|
-
readonly auth: "account-and-browser";
|
|
95
|
-
readonly effect: "authorization";
|
|
96
|
-
readonly purpose: "Enable this computer as a device MCP service for remote HTTP MCP clients with OAuth; install its background service.";
|
|
97
|
-
}, {
|
|
98
|
-
readonly id: "mcp.renew";
|
|
99
|
-
readonly usage: "frely mcp renew [--days 1..180]";
|
|
100
|
-
readonly auth: "account-and-browser";
|
|
101
|
-
readonly effect: "authorization";
|
|
102
|
-
readonly purpose: "Renew this device's execution authorization without changing its MCP URL.";
|
|
110
|
+
readonly id: "cloud";
|
|
111
|
+
readonly usage: "frely cloud list|describe|call [--help]";
|
|
112
|
+
readonly auth: "cloud-oauth";
|
|
113
|
+
readonly effect: "subcommand-dependent";
|
|
114
|
+
readonly purpose: "Discover and call Frely cloud business operations at frely.cloud/mcp. The first call requests browser authorization. Use describe before call; parameters and results are JSON.";
|
|
103
115
|
}, {
|
|
104
|
-
readonly id: "
|
|
105
|
-
readonly usage: "frely
|
|
106
|
-
readonly auth: "
|
|
107
|
-
readonly effect: "
|
|
108
|
-
readonly purpose: "
|
|
116
|
+
readonly id: "app.remote";
|
|
117
|
+
readonly usage: "frely app remote enable|disable|status [--json]";
|
|
118
|
+
readonly auth: "local";
|
|
119
|
+
readonly effect: "local-write";
|
|
120
|
+
readonly purpose: "Toggle agent remote control for the Frely web app (app.frely.cloud). Disabled by default; enable before starting tasks from a phone.";
|
|
109
121
|
}, {
|
|
110
|
-
readonly id: "
|
|
111
|
-
readonly usage: "frely
|
|
112
|
-
readonly auth: "
|
|
113
|
-
readonly effect: "
|
|
114
|
-
readonly purpose: "
|
|
122
|
+
readonly id: "app.ops";
|
|
123
|
+
readonly usage: "frely app ops";
|
|
124
|
+
readonly auth: "local";
|
|
125
|
+
readonly effect: "read-only";
|
|
126
|
+
readonly purpose: "Bridge the local agent ops socket to stdin/stdout (NDJSON, incl. tasks_changed pushes); used by the Frely App GUI task panel.";
|
|
115
127
|
}, {
|
|
116
|
-
readonly id: "
|
|
117
|
-
readonly usage: "frely
|
|
118
|
-
readonly auth: "
|
|
119
|
-
readonly effect: "
|
|
120
|
-
readonly purpose: "
|
|
128
|
+
readonly id: "app.connectInfo";
|
|
129
|
+
readonly usage: "frely app connect-info [--json]";
|
|
130
|
+
readonly auth: "local";
|
|
131
|
+
readonly effect: "read-only";
|
|
132
|
+
readonly purpose: "Report the local agent ops socket path and whether a serving process is reachable (used by the Frely App GUI to find task control).";
|
|
121
133
|
}, {
|
|
122
|
-
readonly id: "
|
|
123
|
-
readonly usage: "frely
|
|
124
|
-
readonly auth: "
|
|
125
|
-
readonly effect: "
|
|
126
|
-
readonly purpose: "
|
|
134
|
+
readonly id: "app.key";
|
|
135
|
+
readonly usage: "frely app key [--lifetime-usd N] [--json]";
|
|
136
|
+
readonly auth: "user";
|
|
137
|
+
readonly effect: "account-write";
|
|
138
|
+
readonly purpose: "Provision a device-scoped Frely API key for app agent tasks (shown once, capped at a lifetime spend limit; default $50, max $500).";
|
|
127
139
|
}, {
|
|
128
|
-
readonly id: "
|
|
129
|
-
readonly usage: "frely
|
|
130
|
-
readonly auth: "
|
|
131
|
-
readonly effect: "
|
|
132
|
-
readonly purpose: "
|
|
140
|
+
readonly id: "app.tasks";
|
|
141
|
+
readonly usage: "frely app tasks [--json]";
|
|
142
|
+
readonly auth: "local";
|
|
143
|
+
readonly effect: "read";
|
|
144
|
+
readonly purpose: "List local agent tasks with status, merge state and budget usage.";
|
|
133
145
|
}, {
|
|
134
146
|
readonly id: "network";
|
|
135
147
|
readonly usage: "frely network setup|status|find|use|logout [--json]";
|
|
136
148
|
readonly auth: "network";
|
|
137
149
|
readonly effect: "subcommand-dependent";
|
|
138
|
-
readonly purpose: "Access Frely Network using its separate setup and credentials.";
|
|
150
|
+
readonly purpose: "Access Frely Network (preview) using its separate setup and credentials.";
|
|
139
151
|
}];
|
|
140
152
|
export declare function agentHelp(): {
|
|
141
153
|
schemaVersion: string;
|
|
@@ -144,11 +156,23 @@ export declare function agentHelp(): {
|
|
|
144
156
|
skill_update_required: boolean;
|
|
145
157
|
instructions: string[];
|
|
146
158
|
commands: readonly [{
|
|
147
|
-
readonly id: "
|
|
148
|
-
readonly usage: "frely
|
|
149
|
-
readonly auth: "
|
|
150
|
-
readonly effect: "
|
|
151
|
-
readonly purpose: "
|
|
159
|
+
readonly id: "login";
|
|
160
|
+
readonly usage: "frely login [--relay <url>] [--no-browser]";
|
|
161
|
+
readonly auth: "browser";
|
|
162
|
+
readonly effect: "authorization";
|
|
163
|
+
readonly purpose: "Authorize the CLI for the user's Frely account.";
|
|
164
|
+
}, {
|
|
165
|
+
readonly id: "logout";
|
|
166
|
+
readonly usage: "frely logout";
|
|
167
|
+
readonly auth: "none";
|
|
168
|
+
readonly effect: "local-write";
|
|
169
|
+
readonly purpose: "Remove login, revoke Cloud authorization and stop the MCP background service.";
|
|
170
|
+
}, {
|
|
171
|
+
readonly id: "doctor";
|
|
172
|
+
readonly usage: "frely doctor [-v] [--json]";
|
|
173
|
+
readonly auth: "optional-account";
|
|
174
|
+
readonly effect: "diagnostic";
|
|
175
|
+
readonly purpose: "Show the signed-in account, installation, available upgrades, MCP and connection status; -v verifies the account online and runs detailed diagnostics.";
|
|
152
176
|
}, {
|
|
153
177
|
readonly id: "upgrade";
|
|
154
178
|
readonly usage: "frely upgrade";
|
|
@@ -162,65 +186,77 @@ export declare function agentHelp(): {
|
|
|
162
186
|
readonly effect: "read";
|
|
163
187
|
readonly purpose: "Read this installed CLI's current Agent instructions.";
|
|
164
188
|
}, {
|
|
165
|
-
readonly id: "
|
|
166
|
-
readonly usage: "frely
|
|
167
|
-
readonly auth: "
|
|
168
|
-
readonly effect: "
|
|
169
|
-
readonly purpose: "
|
|
189
|
+
readonly id: "mcp";
|
|
190
|
+
readonly usage: "frely mcp [--workspace <path>] [--days 1..180] [--json]";
|
|
191
|
+
readonly auth: "account-and-browser-if-needed";
|
|
192
|
+
readonly effect: "authorization-if-needed";
|
|
193
|
+
readonly purpose: "Enable, renew or read device MCP. Unconfigured: request browser approval for --workspace (default: current directory) and install the background service. Expired or --days given: renew with browser approval; the MCP URL stays the same. Otherwise print the MCP URL unchanged. Prompts go to stderr; stdout holds only the URL, or JSON with HTTP transport and OAuth details.";
|
|
170
194
|
}, {
|
|
171
|
-
readonly id: "
|
|
172
|
-
readonly usage: "frely
|
|
173
|
-
readonly auth: "
|
|
174
|
-
readonly effect: "
|
|
175
|
-
readonly purpose: "
|
|
195
|
+
readonly id: "mcp.workspace";
|
|
196
|
+
readonly usage: "frely mcp workspace [add|remove <path>] [--json]";
|
|
197
|
+
readonly auth: "mcp";
|
|
198
|
+
readonly effect: "subcommand-dependent";
|
|
199
|
+
readonly purpose: "List workspace directories for this device, or add/remove an additional one (the primary cannot be removed).";
|
|
176
200
|
}, {
|
|
177
|
-
readonly id: "
|
|
178
|
-
readonly usage: "frely
|
|
201
|
+
readonly id: "mcp.stop";
|
|
202
|
+
readonly usage: "frely mcp stop";
|
|
179
203
|
readonly auth: "none";
|
|
180
|
-
readonly effect: "
|
|
181
|
-
readonly purpose: "
|
|
204
|
+
readonly effect: "local-service";
|
|
205
|
+
readonly purpose: "Pause the local MCP background service. Supported upgrades restore running services without this command.";
|
|
182
206
|
}, {
|
|
183
|
-
readonly id: "
|
|
184
|
-
readonly usage: "frely
|
|
207
|
+
readonly id: "mcp.start";
|
|
208
|
+
readonly usage: "frely mcp start";
|
|
185
209
|
readonly auth: "none";
|
|
210
|
+
readonly effect: "local-service";
|
|
211
|
+
readonly purpose: "Resume the local MCP background service.";
|
|
212
|
+
}, {
|
|
213
|
+
readonly id: "mcp.remove";
|
|
214
|
+
readonly usage: "frely mcp remove";
|
|
215
|
+
readonly auth: "account";
|
|
216
|
+
readonly effect: "remote-write";
|
|
217
|
+
readonly purpose: "Revoke device MCP for every connected client and uninstall the background service (kept running provider-only when local Providers exist).";
|
|
218
|
+
}, {
|
|
219
|
+
readonly id: "mcp.stdio";
|
|
220
|
+
readonly usage: "frely mcp stdio [--workspace <path>]";
|
|
221
|
+
readonly auth: "mcp";
|
|
222
|
+
readonly effect: "local-execution";
|
|
223
|
+
readonly purpose: "Serve authorized local tools over stdio for a local MCP client.";
|
|
224
|
+
}, {
|
|
225
|
+
readonly id: "mcp.serve";
|
|
226
|
+
readonly usage: "frely mcp serve [--workspace <path>]";
|
|
227
|
+
readonly auth: "account-and-mcp";
|
|
228
|
+
readonly effect: "local-execution";
|
|
229
|
+
readonly purpose: "Foreground Device Relay client; the background service runs this. Not needed for normal use.";
|
|
230
|
+
}, {
|
|
231
|
+
readonly id: "agent.install";
|
|
232
|
+
readonly usage: "frely agent install <distribution-id|manifest-url> [--host chatgpt|codex|claude-code|pi|generic] [--scope global|project] [--api-key-stdin] [--json]";
|
|
233
|
+
readonly auth: "optional-api-key";
|
|
186
234
|
readonly effect: "local-write";
|
|
187
|
-
readonly purpose: "
|
|
235
|
+
readonly purpose: "Install the public Agent's trigger Skill; an API key goes only through stdin to secure storage.";
|
|
188
236
|
}, {
|
|
189
|
-
readonly id: "agent.
|
|
190
|
-
readonly usage: "frely agent
|
|
237
|
+
readonly id: "agent.run";
|
|
238
|
+
readonly usage: "frely agent run <distribution-id> (--input <text>|--input-stdin) [--json]";
|
|
191
239
|
readonly auth: "installed-api-key-or-account";
|
|
192
240
|
readonly effect: "remote-call";
|
|
193
241
|
readonly purpose: "Send the complete relevant user request to the installed Agent through model-scoped MCP. Usage may be billed.";
|
|
194
242
|
}, {
|
|
195
|
-
readonly id: "
|
|
196
|
-
readonly usage: "frely
|
|
197
|
-
readonly auth: "
|
|
198
|
-
readonly effect: "
|
|
199
|
-
readonly purpose: "
|
|
243
|
+
readonly id: "agent.status";
|
|
244
|
+
readonly usage: "frely agent status (<distribution-id>|--api-key-stdin [--relay <url>]) [--json]";
|
|
245
|
+
readonly auth: "none-or-api-key";
|
|
246
|
+
readonly effect: "read";
|
|
247
|
+
readonly purpose: "Inspect an installed Agent Skill and, for API-key installs, its Key budget. With --api-key-stdin, read that Key's budget without installing or logging in.";
|
|
200
248
|
}, {
|
|
201
|
-
readonly id: "
|
|
202
|
-
readonly usage: "frely
|
|
249
|
+
readonly id: "agent.remove";
|
|
250
|
+
readonly usage: "frely agent remove <distribution-id> [--json]";
|
|
203
251
|
readonly auth: "none";
|
|
204
252
|
readonly effect: "local-write";
|
|
205
|
-
readonly purpose: "Remove
|
|
206
|
-
}, {
|
|
207
|
-
readonly id: "whoami";
|
|
208
|
-
readonly usage: "frely whoami";
|
|
209
|
-
readonly auth: "account";
|
|
210
|
-
readonly effect: "read";
|
|
211
|
-
readonly purpose: "Read the signed-in account.";
|
|
212
|
-
}, {
|
|
213
|
-
readonly id: "doctor";
|
|
214
|
-
readonly usage: "frely doctor [-v] [--json]";
|
|
215
|
-
readonly auth: "optional-account";
|
|
216
|
-
readonly effect: "diagnostic";
|
|
217
|
-
readonly purpose: "Show installation, available upgrades, account, MCP and connection status; -v runs detailed diagnostics.";
|
|
253
|
+
readonly purpose: "Remove an installed Agent Skill and its saved API key.";
|
|
218
254
|
}, {
|
|
219
255
|
readonly id: "provider.share";
|
|
220
256
|
readonly usage: "frely provider share [ollama|openai-compatible] [--url <loopback-v1-url>] [--models <a,b>] [--slot <slot-id>] [--name <name>]";
|
|
221
257
|
readonly auth: "account";
|
|
222
258
|
readonly effect: "remote-write";
|
|
223
|
-
readonly purpose: "Publish a local model Provider.";
|
|
259
|
+
readonly purpose: "Publish a local model Provider. If a prepared Provider on this device is not finished, resume it instead.";
|
|
224
260
|
}, {
|
|
225
261
|
readonly id: "provider.list";
|
|
226
262
|
readonly usage: "frely provider list [--json]";
|
|
@@ -228,59 +264,47 @@ export declare function agentHelp(): {
|
|
|
228
264
|
readonly effect: "read";
|
|
229
265
|
readonly purpose: "List configured local Providers.";
|
|
230
266
|
}, {
|
|
231
|
-
readonly id: "
|
|
232
|
-
readonly usage: "frely
|
|
233
|
-
readonly auth: "
|
|
234
|
-
readonly effect: "
|
|
235
|
-
readonly purpose: "
|
|
236
|
-
}, {
|
|
237
|
-
readonly id: "mcp.setup";
|
|
238
|
-
readonly usage: "frely mcp [--workspace <path>] [--days 1..180]";
|
|
239
|
-
readonly auth: "account-and-browser";
|
|
240
|
-
readonly effect: "authorization";
|
|
241
|
-
readonly purpose: "Enable this computer as a device MCP service for remote HTTP MCP clients with OAuth; install its background service.";
|
|
242
|
-
}, {
|
|
243
|
-
readonly id: "mcp.renew";
|
|
244
|
-
readonly usage: "frely mcp renew [--days 1..180]";
|
|
245
|
-
readonly auth: "account-and-browser";
|
|
246
|
-
readonly effect: "authorization";
|
|
247
|
-
readonly purpose: "Renew this device's execution authorization without changing its MCP URL.";
|
|
267
|
+
readonly id: "cloud";
|
|
268
|
+
readonly usage: "frely cloud list|describe|call [--help]";
|
|
269
|
+
readonly auth: "cloud-oauth";
|
|
270
|
+
readonly effect: "subcommand-dependent";
|
|
271
|
+
readonly purpose: "Discover and call Frely cloud business operations at frely.cloud/mcp. The first call requests browser authorization. Use describe before call; parameters and results are JSON.";
|
|
248
272
|
}, {
|
|
249
|
-
readonly id: "
|
|
250
|
-
readonly usage: "frely
|
|
251
|
-
readonly auth: "
|
|
252
|
-
readonly effect: "
|
|
253
|
-
readonly purpose: "
|
|
273
|
+
readonly id: "app.remote";
|
|
274
|
+
readonly usage: "frely app remote enable|disable|status [--json]";
|
|
275
|
+
readonly auth: "local";
|
|
276
|
+
readonly effect: "local-write";
|
|
277
|
+
readonly purpose: "Toggle agent remote control for the Frely web app (app.frely.cloud). Disabled by default; enable before starting tasks from a phone.";
|
|
254
278
|
}, {
|
|
255
|
-
readonly id: "
|
|
256
|
-
readonly usage: "frely
|
|
257
|
-
readonly auth: "
|
|
258
|
-
readonly effect: "
|
|
259
|
-
readonly purpose: "
|
|
279
|
+
readonly id: "app.ops";
|
|
280
|
+
readonly usage: "frely app ops";
|
|
281
|
+
readonly auth: "local";
|
|
282
|
+
readonly effect: "read-only";
|
|
283
|
+
readonly purpose: "Bridge the local agent ops socket to stdin/stdout (NDJSON, incl. tasks_changed pushes); used by the Frely App GUI task panel.";
|
|
260
284
|
}, {
|
|
261
|
-
readonly id: "
|
|
262
|
-
readonly usage: "frely
|
|
263
|
-
readonly auth: "
|
|
264
|
-
readonly effect: "
|
|
265
|
-
readonly purpose: "
|
|
285
|
+
readonly id: "app.connectInfo";
|
|
286
|
+
readonly usage: "frely app connect-info [--json]";
|
|
287
|
+
readonly auth: "local";
|
|
288
|
+
readonly effect: "read-only";
|
|
289
|
+
readonly purpose: "Report the local agent ops socket path and whether a serving process is reachable (used by the Frely App GUI to find task control).";
|
|
266
290
|
}, {
|
|
267
|
-
readonly id: "
|
|
268
|
-
readonly usage: "frely
|
|
269
|
-
readonly auth: "
|
|
270
|
-
readonly effect: "
|
|
271
|
-
readonly purpose: "
|
|
291
|
+
readonly id: "app.key";
|
|
292
|
+
readonly usage: "frely app key [--lifetime-usd N] [--json]";
|
|
293
|
+
readonly auth: "user";
|
|
294
|
+
readonly effect: "account-write";
|
|
295
|
+
readonly purpose: "Provision a device-scoped Frely API key for app agent tasks (shown once, capped at a lifetime spend limit; default $50, max $500).";
|
|
272
296
|
}, {
|
|
273
|
-
readonly id: "
|
|
274
|
-
readonly usage: "frely
|
|
275
|
-
readonly auth: "
|
|
276
|
-
readonly effect: "
|
|
277
|
-
readonly purpose: "
|
|
297
|
+
readonly id: "app.tasks";
|
|
298
|
+
readonly usage: "frely app tasks [--json]";
|
|
299
|
+
readonly auth: "local";
|
|
300
|
+
readonly effect: "read";
|
|
301
|
+
readonly purpose: "List local agent tasks with status, merge state and budget usage.";
|
|
278
302
|
}, {
|
|
279
303
|
readonly id: "network";
|
|
280
304
|
readonly usage: "frely network setup|status|find|use|logout [--json]";
|
|
281
305
|
readonly auth: "network";
|
|
282
306
|
readonly effect: "subcommand-dependent";
|
|
283
|
-
readonly purpose: "Access Frely Network using its separate setup and credentials.";
|
|
307
|
+
readonly purpose: "Access Frely Network (preview) using its separate setup and credentials.";
|
|
284
308
|
}];
|
|
285
309
|
};
|
|
286
310
|
export declare function cliUsage(): string;
|