frely-cli 0.23.9 → 0.23.11
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 +49 -20
- package/README.zh-CN.md +47 -19
- package/dist/agent/local/approvals.d.ts +24 -0
- package/dist/agent/local/approvals.js +79 -0
- package/dist/agent/local/approvals.js.map +1 -0
- package/dist/agent/local/command.d.ts +10 -0
- package/dist/agent/local/command.js +292 -0
- package/dist/agent/local/command.js.map +1 -0
- package/dist/agent/local/confine.d.ts +20 -0
- package/dist/agent/local/confine.js +52 -0
- package/dist/agent/local/confine.js.map +1 -0
- package/dist/agent/local/manifest.d.ts +17 -0
- package/dist/agent/local/manifest.js +55 -0
- package/dist/agent/local/manifest.js.map +1 -0
- package/dist/agent/local/model-proxy.d.ts +18 -0
- package/dist/agent/local/model-proxy.js +111 -0
- package/dist/agent/local/model-proxy.js.map +1 -0
- package/dist/agent/local/source.d.ts +28 -0
- package/dist/agent/local/source.js +64 -0
- package/dist/agent/local/source.js.map +1 -0
- package/dist/agent/local/store.d.ts +45 -0
- package/dist/agent/local/store.js +78 -0
- package/dist/agent/local/store.js.map +1 -0
- package/dist/agent/local/supervisor.d.ts +9 -0
- package/dist/agent/local/supervisor.js +62 -0
- package/dist/agent/local/supervisor.js.map +1 -0
- package/dist/agent/run-store.d.ts +80 -0
- package/dist/agent/run-store.js +154 -0
- package/dist/agent/run-store.js.map +1 -0
- package/dist/agent/run.d.ts +41 -0
- package/dist/agent/run.js +233 -0
- package/dist/agent/run.js.map +1 -0
- package/dist/agent/workspace-read.d.ts +78 -0
- package/dist/agent/workspace-read.js +292 -0
- package/dist/agent/workspace-read.js.map +1 -0
- package/dist/agent-help.d.ts +158 -14
- package/dist/agent-help.js +33 -8
- package/dist/agent-help.js.map +1 -1
- package/dist/cloud.d.ts +2 -42
- package/dist/cloud.js +8 -260
- package/dist/cloud.js.map +1 -1
- package/dist/controller/client.d.ts +6 -3
- package/dist/controller/client.js +7 -8
- package/dist/controller/client.js.map +1 -1
- package/dist/controller/session.d.ts +7 -2
- package/dist/controller/session.js +79 -22
- package/dist/controller/session.js.map +1 -1
- package/dist/index.js +114 -9
- package/dist/index.js.map +1 -1
- package/dist/provider/control.d.ts +10 -0
- package/dist/provider/control.js +19 -0
- package/dist/provider/control.js.map +1 -1
- package/dist/provider/share.js +4 -1
- package/dist/provider/share.js.map +1 -1
- package/dist/runtime/sandbox.d.ts +20 -0
- package/dist/runtime/sandbox.js +39 -1
- package/dist/runtime/sandbox.js.map +1 -1
- package/dist/share/allowance.d.ts +8 -0
- package/dist/share/allowance.js +22 -0
- package/dist/share/allowance.js.map +1 -0
- package/dist/share/control.d.ts +2 -0
- package/dist/share/control.js +14 -10
- package/dist/share/control.js.map +1 -1
- package/dist/share/service-config.d.ts +39 -0
- package/dist/share/service-config.js +85 -0
- package/dist/share/service-config.js.map +1 -0
- package/dist/share/service-control.d.ts +15 -0
- package/dist/share/service-control.js +31 -0
- package/dist/share/service-control.js.map +1 -0
- package/dist/share/service-run.d.ts +55 -0
- package/dist/share/service-run.js +285 -0
- package/dist/share/service-run.js.map +1 -0
- package/dist/share/service-state.d.ts +16 -0
- package/dist/share/service-state.js +66 -0
- package/dist/share/service-state.js.map +1 -0
- package/dist/skill/access.d.ts +25 -6
- package/dist/skill/access.js +59 -9
- package/dist/skill/access.js.map +1 -1
- package/dist/skill/cloud-item.d.ts +2 -2
- package/dist/skill/cloud-item.js.map +1 -1
- package/dist/skill/entry.d.ts +1 -1
- package/dist/skill/entry.js +1 -1
- package/dist/skill/remote-mcp.d.ts +3 -0
- package/dist/skill/remote-mcp.js +7 -1
- package/dist/skill/remote-mcp.js.map +1 -1
- package/dist/skill/router.d.ts +57 -2
- package/dist/skill/router.js +76 -40
- package/dist/skill/router.js.map +1 -1
- package/dist/uninstall.d.ts +4 -0
- package/dist/uninstall.js +14 -0
- package/dist/uninstall.js.map +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
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AAC,aAAa,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,GAAG,IAAI,KAAK,GAAG,GAAG;QAAE,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,4BAA4B,GAAG,OAAO,GAAG,GAAG,CAAC,CAAC;IAClK,OAAO,KAAK,CAAC;AACf,CAAC;AAED,0GAA0G;AAC1G,MAAM,UAAU,UAAU,CAAC,IAAY,EAAE,KAAa;IACpD,IAAI,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,KAAK;QAAE,OAAO,IAAI,CAAC;IAC1D,MAAM,IAAI,GAAG,uEAAuE,CAAC;IACrF,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IAClE,IAAI,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IACvE,IAAI,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC9C,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC;AACvC,CAAC"}
|
package/dist/agent-help.d.ts
CHANGED
|
@@ -144,19 +144,19 @@ export declare const COMMANDS: readonly [{
|
|
|
144
144
|
readonly purpose: "Install a download-install Prompt or Skill from the marketplace through Frely Cloud. The paid part is installed only with a valid pass; otherwise the command prints how to buy one. Skills go to the host Skill folder, Prompts to --dir (default: current directory). Scripts are saved without execute permission.";
|
|
145
145
|
}, {
|
|
146
146
|
readonly id: "remote.tools";
|
|
147
|
-
readonly usage: "frely remote tools <username/name> [--json]";
|
|
147
|
+
readonly usage: "frely remote tools <username/name> [--json] [--replace]";
|
|
148
148
|
readonly auth: "cloud-oauth";
|
|
149
149
|
readonly effect: "remote-read";
|
|
150
|
-
readonly purpose: "List the tools of a remote MCP product from the marketplace, with their input schemas, without configuring it in an MCP client. The first use asks Frely for a key that works only for this MCP.";
|
|
150
|
+
readonly purpose: "List the tools of a remote MCP product from the marketplace, with their input schemas, without configuring it in an MCP client. The first use asks Frely for a key that works only for this MCP. If the name now belongs to a different MCP than the one connected before, it stops; --replace switches to the new one.";
|
|
151
151
|
}, {
|
|
152
152
|
readonly id: "remote.call";
|
|
153
|
-
readonly usage: "frely remote call <username/name> <tool> [--json '<object>' | --input <file>]";
|
|
153
|
+
readonly usage: "frely remote call <username/name> <tool> [--json '<object>' | --input <file>] [--replace]";
|
|
154
154
|
readonly auth: "cloud-oauth";
|
|
155
155
|
readonly effect: "remote-call";
|
|
156
156
|
readonly purpose: "Call one tool of a remote MCP product and print the result as JSON (exit code 1 when the tool reports an error). Each call is billed or needs a pass exactly as in an MCP client; ask the user before a call that writes data they did not ask for.";
|
|
157
157
|
}, {
|
|
158
158
|
readonly id: "remote.config";
|
|
159
|
-
readonly usage: "frely remote config <username/name> [--write <file>]";
|
|
159
|
+
readonly usage: "frely remote config <username/name> [--write <file>] [--replace]";
|
|
160
160
|
readonly auth: "cloud-oauth";
|
|
161
161
|
readonly effect: "remote-write";
|
|
162
162
|
readonly purpose: "Get a new key for one remote MCP product (it replaces the previous one) and print the mcpServers JSON that MCP clients take for it; with --write the entry is merged into that JSON file (created 0600) instead of printed. The key works only for this MCP.";
|
|
@@ -168,10 +168,28 @@ export declare const COMMANDS: readonly [{
|
|
|
168
168
|
readonly purpose: "Install the public Agent's trigger Skill; an API key goes only through stdin to secure storage.";
|
|
169
169
|
}, {
|
|
170
170
|
readonly id: "agent.run";
|
|
171
|
-
readonly usage: "frely agent run <username/name> (--input <text>|--input-stdin) [--json]";
|
|
171
|
+
readonly usage: "frely agent run <username/name> (--input <text>|--input-stdin) [--read [<dir>] [--read-max-bytes <n>] [--read-max-rounds <n>]] [--json]";
|
|
172
172
|
readonly auth: "installed-api-key-or-account";
|
|
173
173
|
readonly effect: "remote-call";
|
|
174
|
-
readonly purpose: "Send the complete relevant user request to the installed Agent through model-scoped MCP. Usage may be billed.";
|
|
174
|
+
readonly purpose: "Send the complete relevant user request to the installed Agent through model-scoped MCP. Usage may be billed. The call runs in a background worker and is recorded on this computer (run id on stderr), so a cut-off command loses nothing: use `frely agent result`. With --read the Agent may read files of <dir> (default: the git root of the current directory) through read-only tools that run here: only files it asks for leave this computer; .git, .env*, key files, git-ignored and binary files are refused; defaults 1 MiB read and 16 rounds per run; each round is billed, and the result lists filesRead.";
|
|
175
|
+
}, {
|
|
176
|
+
readonly id: "agent.result";
|
|
177
|
+
readonly usage: "frely agent result (<runId>|--last) [--wait] [--resume] [--json]";
|
|
178
|
+
readonly auth: "none";
|
|
179
|
+
readonly effect: "read";
|
|
180
|
+
readonly purpose: "Show a run of `frely agent run` from this computer: running (rounds done, files read so far), completed (the full text) or failed/interrupted. --wait blocks until it ends. --resume continues an interrupted or failed run from the rounds already done; the interrupted round is billed again.";
|
|
181
|
+
}, {
|
|
182
|
+
readonly id: "agent.runs";
|
|
183
|
+
readonly usage: "frely agent runs [--json]";
|
|
184
|
+
readonly auth: "none";
|
|
185
|
+
readonly effect: "read";
|
|
186
|
+
readonly purpose: "List the recent agent runs on this computer (kept 7 days).";
|
|
187
|
+
}, {
|
|
188
|
+
readonly id: "agent.cancel";
|
|
189
|
+
readonly usage: "frely agent cancel (<runId>|--last) [--json]";
|
|
190
|
+
readonly auth: "none";
|
|
191
|
+
readonly effect: "local-process";
|
|
192
|
+
readonly purpose: "Stop a running agent run; the server stops and settles what was already used.";
|
|
175
193
|
}, {
|
|
176
194
|
readonly id: "agent.status";
|
|
177
195
|
readonly usage: "frely agent status (<username/name>|--api-key-stdin [--relay <url>]) [--json]";
|
|
@@ -184,12 +202,54 @@ export declare const COMMANDS: readonly [{
|
|
|
184
202
|
readonly auth: "none";
|
|
185
203
|
readonly effect: "local-write";
|
|
186
204
|
readonly purpose: "Remove an installed Agent Skill and its saved API key.";
|
|
205
|
+
}, {
|
|
206
|
+
readonly id: "agent.local.add";
|
|
207
|
+
readonly usage: "frely agent local add <username/name | https://github.com/owner/repo> [--name <folder-name>]";
|
|
208
|
+
readonly auth: "optional-account";
|
|
209
|
+
readonly effect: "local-write";
|
|
210
|
+
readonly purpose: "Download an Agent's repository into its own folder under ~/frely-agents and run its setup inside the sandbox. The sandbox can write only that folder, cannot read credential folders and can reach only Frely's API plus the sites the repository lists in frely.yaml, each of which the owner approves once through a link (exit code 3 with the link when nobody can wait; approve, then run the same command again). Needs a frely.yaml with a local.run command.";
|
|
211
|
+
}, {
|
|
212
|
+
readonly id: "agent.local.start";
|
|
213
|
+
readonly usage: "frely agent local start <name> [--foreground]";
|
|
214
|
+
readonly auth: "account-and-api-key";
|
|
215
|
+
readonly effect: "local-process";
|
|
216
|
+
readonly purpose: "Run a local Agent in the background inside the sandbox. Its model calls go through a local proxy that adds the Frely API key (saved with `frely agent local key`), so the repository's code never sees it. Billed to the key like any other API call.";
|
|
217
|
+
}, {
|
|
218
|
+
readonly id: "agent.local.stop";
|
|
219
|
+
readonly usage: "frely agent local stop <name>";
|
|
220
|
+
readonly auth: "none";
|
|
221
|
+
readonly effect: "local-process";
|
|
222
|
+
readonly purpose: "Stop a running local Agent. Run start again afterwards to apply newly approved sites.";
|
|
223
|
+
}, {
|
|
224
|
+
readonly id: "agent.local.logs";
|
|
225
|
+
readonly usage: "frely agent local logs <name> [--lines <n>] [--follow]";
|
|
226
|
+
readonly auth: "none";
|
|
227
|
+
readonly effect: "read";
|
|
228
|
+
readonly purpose: "Show what a local Agent printed, including what the sandbox blocked.";
|
|
229
|
+
}, {
|
|
230
|
+
readonly id: "agent.local.list";
|
|
231
|
+
readonly usage: "frely agent local list [--json]";
|
|
232
|
+
readonly auth: "none";
|
|
233
|
+
readonly effect: "read";
|
|
234
|
+
readonly purpose: "List the Agents on this computer, whether each is running, and the sites each has been approved for.";
|
|
235
|
+
}, {
|
|
236
|
+
readonly id: "agent.local.remove";
|
|
237
|
+
readonly usage: "frely agent local remove <name>";
|
|
238
|
+
readonly auth: "none";
|
|
239
|
+
readonly effect: "local-write";
|
|
240
|
+
readonly purpose: "Stop a local Agent and delete its folder and records. Only the Agent's own folder is removed.";
|
|
241
|
+
}, {
|
|
242
|
+
readonly id: "agent.local.key";
|
|
243
|
+
readonly usage: "frely agent local key --api-key-stdin | --clear";
|
|
244
|
+
readonly auth: "account";
|
|
245
|
+
readonly effect: "local-write";
|
|
246
|
+
readonly purpose: "Save the Frely API key that local Agents use for model calls; it goes only through stdin to secure storage. FRELY_API_KEY overrides it.";
|
|
187
247
|
}, {
|
|
188
248
|
readonly id: "provider.share";
|
|
189
249
|
readonly usage: "frely provider share [ollama|openai-compatible] [--url <loopback-v1-url>] [--models <a,b>] [--slot <slot-id>] [--name <name>]";
|
|
190
250
|
readonly auth: "account";
|
|
191
251
|
readonly effect: "remote-write";
|
|
192
|
-
readonly purpose: "Publish a local model Provider. If a prepared Provider on this device is not finished, resume it instead.";
|
|
252
|
+
readonly purpose: "Publish a local model Provider. If a prepared Provider on this device is not finished, resume it instead. Prints this week's remaining relay allowance; relayed traffic counts against the weekly relay allowance.";
|
|
193
253
|
}, {
|
|
194
254
|
readonly id: "provider.list";
|
|
195
255
|
readonly usage: "frely provider list [--json]";
|
|
@@ -202,6 +262,18 @@ export declare const COMMANDS: readonly [{
|
|
|
202
262
|
readonly auth: "account";
|
|
203
263
|
readonly effect: "remote-write";
|
|
204
264
|
readonly purpose: "Make a web service on this computer (http://127.0.0.1:<port>) reachable from the Internet by a private link through Frely's relay, until Ctrl+C or expiry (at most 24 hours). Asks first. The relay allowance is a plan limit per UTC week; --rewrite-host sends Host: localhost to dev servers that refuse other names. Not the same as `frely provider share` (local models) or `frely tunnel` (command sandbox).";
|
|
265
|
+
}, {
|
|
266
|
+
readonly id: "service.share";
|
|
267
|
+
readonly usage: "frely service share --type mcp|a2a --port <n> [--label <text>] [--background] [--json]";
|
|
268
|
+
readonly auth: "account";
|
|
269
|
+
readonly effect: "remote-write";
|
|
270
|
+
readonly purpose: "Connect an MCP server or A2A Agent that runs on this computer (127.0.0.1:<port>) to Frely so you can sell it, without a public address: only Frely's own cloud can reach it, the port never leaves this computer, and Frely never supplies a target. Runs until Ctrl+C, or with --background the device background service keeps it connected. Prints this week's remaining relay allowance; relayed traffic counts against the weekly relay allowance.";
|
|
271
|
+
}, {
|
|
272
|
+
readonly id: "service.manage";
|
|
273
|
+
readonly usage: "frely service list [--json] | stop <id|label> | remove <id|label>";
|
|
274
|
+
readonly auth: "account";
|
|
275
|
+
readonly effect: "remote-write";
|
|
276
|
+
readonly purpose: "List registered services, stop one on this computer (it stays registered), or remove it from Frely (products that pointed at it become unreachable).";
|
|
205
277
|
}, {
|
|
206
278
|
readonly id: "tunnel";
|
|
207
279
|
readonly usage: "frely tunnel <host>:<port> [--local-port N]";
|
|
@@ -517,19 +589,19 @@ export declare function agentHelp(): {
|
|
|
517
589
|
readonly purpose: "Install a download-install Prompt or Skill from the marketplace through Frely Cloud. The paid part is installed only with a valid pass; otherwise the command prints how to buy one. Skills go to the host Skill folder, Prompts to --dir (default: current directory). Scripts are saved without execute permission.";
|
|
518
590
|
}, {
|
|
519
591
|
readonly id: "remote.tools";
|
|
520
|
-
readonly usage: "frely remote tools <username/name> [--json]";
|
|
592
|
+
readonly usage: "frely remote tools <username/name> [--json] [--replace]";
|
|
521
593
|
readonly auth: "cloud-oauth";
|
|
522
594
|
readonly effect: "remote-read";
|
|
523
|
-
readonly purpose: "List the tools of a remote MCP product from the marketplace, with their input schemas, without configuring it in an MCP client. The first use asks Frely for a key that works only for this MCP.";
|
|
595
|
+
readonly purpose: "List the tools of a remote MCP product from the marketplace, with their input schemas, without configuring it in an MCP client. The first use asks Frely for a key that works only for this MCP. If the name now belongs to a different MCP than the one connected before, it stops; --replace switches to the new one.";
|
|
524
596
|
}, {
|
|
525
597
|
readonly id: "remote.call";
|
|
526
|
-
readonly usage: "frely remote call <username/name> <tool> [--json '<object>' | --input <file>]";
|
|
598
|
+
readonly usage: "frely remote call <username/name> <tool> [--json '<object>' | --input <file>] [--replace]";
|
|
527
599
|
readonly auth: "cloud-oauth";
|
|
528
600
|
readonly effect: "remote-call";
|
|
529
601
|
readonly purpose: "Call one tool of a remote MCP product and print the result as JSON (exit code 1 when the tool reports an error). Each call is billed or needs a pass exactly as in an MCP client; ask the user before a call that writes data they did not ask for.";
|
|
530
602
|
}, {
|
|
531
603
|
readonly id: "remote.config";
|
|
532
|
-
readonly usage: "frely remote config <username/name> [--write <file>]";
|
|
604
|
+
readonly usage: "frely remote config <username/name> [--write <file>] [--replace]";
|
|
533
605
|
readonly auth: "cloud-oauth";
|
|
534
606
|
readonly effect: "remote-write";
|
|
535
607
|
readonly purpose: "Get a new key for one remote MCP product (it replaces the previous one) and print the mcpServers JSON that MCP clients take for it; with --write the entry is merged into that JSON file (created 0600) instead of printed. The key works only for this MCP.";
|
|
@@ -541,10 +613,28 @@ export declare function agentHelp(): {
|
|
|
541
613
|
readonly purpose: "Install the public Agent's trigger Skill; an API key goes only through stdin to secure storage.";
|
|
542
614
|
}, {
|
|
543
615
|
readonly id: "agent.run";
|
|
544
|
-
readonly usage: "frely agent run <username/name> (--input <text>|--input-stdin) [--json]";
|
|
616
|
+
readonly usage: "frely agent run <username/name> (--input <text>|--input-stdin) [--read [<dir>] [--read-max-bytes <n>] [--read-max-rounds <n>]] [--json]";
|
|
545
617
|
readonly auth: "installed-api-key-or-account";
|
|
546
618
|
readonly effect: "remote-call";
|
|
547
|
-
readonly purpose: "Send the complete relevant user request to the installed Agent through model-scoped MCP. Usage may be billed.";
|
|
619
|
+
readonly purpose: "Send the complete relevant user request to the installed Agent through model-scoped MCP. Usage may be billed. The call runs in a background worker and is recorded on this computer (run id on stderr), so a cut-off command loses nothing: use `frely agent result`. With --read the Agent may read files of <dir> (default: the git root of the current directory) through read-only tools that run here: only files it asks for leave this computer; .git, .env*, key files, git-ignored and binary files are refused; defaults 1 MiB read and 16 rounds per run; each round is billed, and the result lists filesRead.";
|
|
620
|
+
}, {
|
|
621
|
+
readonly id: "agent.result";
|
|
622
|
+
readonly usage: "frely agent result (<runId>|--last) [--wait] [--resume] [--json]";
|
|
623
|
+
readonly auth: "none";
|
|
624
|
+
readonly effect: "read";
|
|
625
|
+
readonly purpose: "Show a run of `frely agent run` from this computer: running (rounds done, files read so far), completed (the full text) or failed/interrupted. --wait blocks until it ends. --resume continues an interrupted or failed run from the rounds already done; the interrupted round is billed again.";
|
|
626
|
+
}, {
|
|
627
|
+
readonly id: "agent.runs";
|
|
628
|
+
readonly usage: "frely agent runs [--json]";
|
|
629
|
+
readonly auth: "none";
|
|
630
|
+
readonly effect: "read";
|
|
631
|
+
readonly purpose: "List the recent agent runs on this computer (kept 7 days).";
|
|
632
|
+
}, {
|
|
633
|
+
readonly id: "agent.cancel";
|
|
634
|
+
readonly usage: "frely agent cancel (<runId>|--last) [--json]";
|
|
635
|
+
readonly auth: "none";
|
|
636
|
+
readonly effect: "local-process";
|
|
637
|
+
readonly purpose: "Stop a running agent run; the server stops and settles what was already used.";
|
|
548
638
|
}, {
|
|
549
639
|
readonly id: "agent.status";
|
|
550
640
|
readonly usage: "frely agent status (<username/name>|--api-key-stdin [--relay <url>]) [--json]";
|
|
@@ -557,12 +647,54 @@ export declare function agentHelp(): {
|
|
|
557
647
|
readonly auth: "none";
|
|
558
648
|
readonly effect: "local-write";
|
|
559
649
|
readonly purpose: "Remove an installed Agent Skill and its saved API key.";
|
|
650
|
+
}, {
|
|
651
|
+
readonly id: "agent.local.add";
|
|
652
|
+
readonly usage: "frely agent local add <username/name | https://github.com/owner/repo> [--name <folder-name>]";
|
|
653
|
+
readonly auth: "optional-account";
|
|
654
|
+
readonly effect: "local-write";
|
|
655
|
+
readonly purpose: "Download an Agent's repository into its own folder under ~/frely-agents and run its setup inside the sandbox. The sandbox can write only that folder, cannot read credential folders and can reach only Frely's API plus the sites the repository lists in frely.yaml, each of which the owner approves once through a link (exit code 3 with the link when nobody can wait; approve, then run the same command again). Needs a frely.yaml with a local.run command.";
|
|
656
|
+
}, {
|
|
657
|
+
readonly id: "agent.local.start";
|
|
658
|
+
readonly usage: "frely agent local start <name> [--foreground]";
|
|
659
|
+
readonly auth: "account-and-api-key";
|
|
660
|
+
readonly effect: "local-process";
|
|
661
|
+
readonly purpose: "Run a local Agent in the background inside the sandbox. Its model calls go through a local proxy that adds the Frely API key (saved with `frely agent local key`), so the repository's code never sees it. Billed to the key like any other API call.";
|
|
662
|
+
}, {
|
|
663
|
+
readonly id: "agent.local.stop";
|
|
664
|
+
readonly usage: "frely agent local stop <name>";
|
|
665
|
+
readonly auth: "none";
|
|
666
|
+
readonly effect: "local-process";
|
|
667
|
+
readonly purpose: "Stop a running local Agent. Run start again afterwards to apply newly approved sites.";
|
|
668
|
+
}, {
|
|
669
|
+
readonly id: "agent.local.logs";
|
|
670
|
+
readonly usage: "frely agent local logs <name> [--lines <n>] [--follow]";
|
|
671
|
+
readonly auth: "none";
|
|
672
|
+
readonly effect: "read";
|
|
673
|
+
readonly purpose: "Show what a local Agent printed, including what the sandbox blocked.";
|
|
674
|
+
}, {
|
|
675
|
+
readonly id: "agent.local.list";
|
|
676
|
+
readonly usage: "frely agent local list [--json]";
|
|
677
|
+
readonly auth: "none";
|
|
678
|
+
readonly effect: "read";
|
|
679
|
+
readonly purpose: "List the Agents on this computer, whether each is running, and the sites each has been approved for.";
|
|
680
|
+
}, {
|
|
681
|
+
readonly id: "agent.local.remove";
|
|
682
|
+
readonly usage: "frely agent local remove <name>";
|
|
683
|
+
readonly auth: "none";
|
|
684
|
+
readonly effect: "local-write";
|
|
685
|
+
readonly purpose: "Stop a local Agent and delete its folder and records. Only the Agent's own folder is removed.";
|
|
686
|
+
}, {
|
|
687
|
+
readonly id: "agent.local.key";
|
|
688
|
+
readonly usage: "frely agent local key --api-key-stdin | --clear";
|
|
689
|
+
readonly auth: "account";
|
|
690
|
+
readonly effect: "local-write";
|
|
691
|
+
readonly purpose: "Save the Frely API key that local Agents use for model calls; it goes only through stdin to secure storage. FRELY_API_KEY overrides it.";
|
|
560
692
|
}, {
|
|
561
693
|
readonly id: "provider.share";
|
|
562
694
|
readonly usage: "frely provider share [ollama|openai-compatible] [--url <loopback-v1-url>] [--models <a,b>] [--slot <slot-id>] [--name <name>]";
|
|
563
695
|
readonly auth: "account";
|
|
564
696
|
readonly effect: "remote-write";
|
|
565
|
-
readonly purpose: "Publish a local model Provider. If a prepared Provider on this device is not finished, resume it instead.";
|
|
697
|
+
readonly purpose: "Publish a local model Provider. If a prepared Provider on this device is not finished, resume it instead. Prints this week's remaining relay allowance; relayed traffic counts against the weekly relay allowance.";
|
|
566
698
|
}, {
|
|
567
699
|
readonly id: "provider.list";
|
|
568
700
|
readonly usage: "frely provider list [--json]";
|
|
@@ -575,6 +707,18 @@ export declare function agentHelp(): {
|
|
|
575
707
|
readonly auth: "account";
|
|
576
708
|
readonly effect: "remote-write";
|
|
577
709
|
readonly purpose: "Make a web service on this computer (http://127.0.0.1:<port>) reachable from the Internet by a private link through Frely's relay, until Ctrl+C or expiry (at most 24 hours). Asks first. The relay allowance is a plan limit per UTC week; --rewrite-host sends Host: localhost to dev servers that refuse other names. Not the same as `frely provider share` (local models) or `frely tunnel` (command sandbox).";
|
|
710
|
+
}, {
|
|
711
|
+
readonly id: "service.share";
|
|
712
|
+
readonly usage: "frely service share --type mcp|a2a --port <n> [--label <text>] [--background] [--json]";
|
|
713
|
+
readonly auth: "account";
|
|
714
|
+
readonly effect: "remote-write";
|
|
715
|
+
readonly purpose: "Connect an MCP server or A2A Agent that runs on this computer (127.0.0.1:<port>) to Frely so you can sell it, without a public address: only Frely's own cloud can reach it, the port never leaves this computer, and Frely never supplies a target. Runs until Ctrl+C, or with --background the device background service keeps it connected. Prints this week's remaining relay allowance; relayed traffic counts against the weekly relay allowance.";
|
|
716
|
+
}, {
|
|
717
|
+
readonly id: "service.manage";
|
|
718
|
+
readonly usage: "frely service list [--json] | stop <id|label> | remove <id|label>";
|
|
719
|
+
readonly auth: "account";
|
|
720
|
+
readonly effect: "remote-write";
|
|
721
|
+
readonly purpose: "List registered services, stop one on this computer (it stays registered), or remove it from Frely (products that pointed at it become unreachable).";
|
|
578
722
|
}, {
|
|
579
723
|
readonly id: "tunnel";
|
|
580
724
|
readonly usage: "frely tunnel <host>:<port> [--local-port N]";
|
package/dist/agent-help.js
CHANGED
|
@@ -24,16 +24,28 @@ export const COMMANDS = [
|
|
|
24
24
|
{ id: "item.run", usage: "frely item run <script> [args...]", auth: "cloud-oauth", effect: "local-execution", purpose: "Run an encrypted paid script of an installed item inside the Frely command sandbox. The placeholder file at the script's path calls this for you. The access lease is renewed when it is near its end; without a valid pass the script does not run." },
|
|
25
25
|
{ id: "item.update", usage: "frely item update [<folder>] [--json]", auth: "cloud-oauth", effect: "local-write", purpose: "Without a folder, list the installed marketplace items and say which have a newer version; nothing is changed. With a folder, install the newer version into that folder, after you decide to. Frely never updates an item by itself. A folder you edited is refused, and a new version needs a new review (frely item trust) unless Frely's scan passed for it." },
|
|
26
26
|
{ id: "item.install", usage: "frely item install <username/name[@version]> [--host chatgpt|codex|claude-code|pi|generic] [--scope global|project] [--dir <path>] [--json]", auth: "cloud-oauth", effect: "local-write", purpose: "Install a download-install Prompt or Skill from the marketplace through Frely Cloud. The paid part is installed only with a valid pass; otherwise the command prints how to buy one. Skills go to the host Skill folder, Prompts to --dir (default: current directory). Scripts are saved without execute permission." },
|
|
27
|
-
{ id: "remote.tools", usage: "frely remote tools <username/name> [--json]", auth: "cloud-oauth", effect: "remote-read", purpose: "List the tools of a remote MCP product from the marketplace, with their input schemas, without configuring it in an MCP client. The first use asks Frely for a key that works only for this MCP." },
|
|
28
|
-
{ id: "remote.call", usage: "frely remote call <username/name> <tool> [--json '<object>' | --input <file>]", auth: "cloud-oauth", effect: "remote-call", purpose: "Call one tool of a remote MCP product and print the result as JSON (exit code 1 when the tool reports an error). Each call is billed or needs a pass exactly as in an MCP client; ask the user before a call that writes data they did not ask for." },
|
|
29
|
-
{ id: "remote.config", usage: "frely remote config <username/name> [--write <file>]", auth: "cloud-oauth", effect: "remote-write", purpose: "Get a new key for one remote MCP product (it replaces the previous one) and print the mcpServers JSON that MCP clients take for it; with --write the entry is merged into that JSON file (created 0600) instead of printed. The key works only for this MCP." },
|
|
27
|
+
{ id: "remote.tools", usage: "frely remote tools <username/name> [--json] [--replace]", auth: "cloud-oauth", effect: "remote-read", purpose: "List the tools of a remote MCP product from the marketplace, with their input schemas, without configuring it in an MCP client. The first use asks Frely for a key that works only for this MCP. If the name now belongs to a different MCP than the one connected before, it stops; --replace switches to the new one." },
|
|
28
|
+
{ id: "remote.call", usage: "frely remote call <username/name> <tool> [--json '<object>' | --input <file>] [--replace]", auth: "cloud-oauth", effect: "remote-call", purpose: "Call one tool of a remote MCP product and print the result as JSON (exit code 1 when the tool reports an error). Each call is billed or needs a pass exactly as in an MCP client; ask the user before a call that writes data they did not ask for." },
|
|
29
|
+
{ id: "remote.config", usage: "frely remote config <username/name> [--write <file>] [--replace]", auth: "cloud-oauth", effect: "remote-write", purpose: "Get a new key for one remote MCP product (it replaces the previous one) and print the mcpServers JSON that MCP clients take for it; with --write the entry is merged into that JSON file (created 0600) instead of printed. The key works only for this MCP." },
|
|
30
30
|
{ id: "agent.install", usage: "frely agent install <username/name[@version]> [--host chatgpt|codex|claude-code|pi|generic] [--scope global|project] [--dir <project>] [--api-key-stdin] [--json]", auth: "optional-api-key", effect: "local-write", purpose: "Install the public Agent's trigger Skill; an API key goes only through stdin to secure storage." },
|
|
31
|
-
{ id: "agent.run", usage: "frely agent run <username/name> (--input <text>|--input-stdin) [--json]", auth: "installed-api-key-or-account", effect: "remote-call", purpose: "Send the complete relevant user request to the installed Agent through model-scoped MCP. Usage may be billed." },
|
|
31
|
+
{ id: "agent.run", usage: "frely agent run <username/name> (--input <text>|--input-stdin) [--read [<dir>] [--read-max-bytes <n>] [--read-max-rounds <n>]] [--json]", auth: "installed-api-key-or-account", effect: "remote-call", purpose: "Send the complete relevant user request to the installed Agent through model-scoped MCP. Usage may be billed. The call runs in a background worker and is recorded on this computer (run id on stderr), so a cut-off command loses nothing: use `frely agent result`. With --read the Agent may read files of <dir> (default: the git root of the current directory) through read-only tools that run here: only files it asks for leave this computer; .git, .env*, key files, git-ignored and binary files are refused; defaults 1 MiB read and 16 rounds per run; each round is billed, and the result lists filesRead." },
|
|
32
|
+
{ id: "agent.result", usage: "frely agent result (<runId>|--last) [--wait] [--resume] [--json]", auth: "none", effect: "read", purpose: "Show a run of `frely agent run` from this computer: running (rounds done, files read so far), completed (the full text) or failed/interrupted. --wait blocks until it ends. --resume continues an interrupted or failed run from the rounds already done; the interrupted round is billed again." },
|
|
33
|
+
{ id: "agent.runs", usage: "frely agent runs [--json]", auth: "none", effect: "read", purpose: "List the recent agent runs on this computer (kept 7 days)." },
|
|
34
|
+
{ id: "agent.cancel", usage: "frely agent cancel (<runId>|--last) [--json]", auth: "none", effect: "local-process", purpose: "Stop a running agent run; the server stops and settles what was already used." },
|
|
32
35
|
{ id: "agent.status", usage: "frely agent status (<username/name>|--api-key-stdin [--relay <url>]) [--json]", auth: "none-or-api-key", effect: "read", 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." },
|
|
33
36
|
{ id: "agent.remove", usage: "frely agent remove <username/name> [--json]", auth: "none", effect: "local-write", purpose: "Remove an installed Agent Skill and its saved API key." },
|
|
34
|
-
{ id: "
|
|
37
|
+
{ id: "agent.local.add", usage: "frely agent local add <username/name | https://github.com/owner/repo> [--name <folder-name>]", auth: "optional-account", effect: "local-write", purpose: "Download an Agent's repository into its own folder under ~/frely-agents and run its setup inside the sandbox. The sandbox can write only that folder, cannot read credential folders and can reach only Frely's API plus the sites the repository lists in frely.yaml, each of which the owner approves once through a link (exit code 3 with the link when nobody can wait; approve, then run the same command again). Needs a frely.yaml with a local.run command." },
|
|
38
|
+
{ id: "agent.local.start", usage: "frely agent local start <name> [--foreground]", auth: "account-and-api-key", effect: "local-process", purpose: "Run a local Agent in the background inside the sandbox. Its model calls go through a local proxy that adds the Frely API key (saved with `frely agent local key`), so the repository's code never sees it. Billed to the key like any other API call." },
|
|
39
|
+
{ id: "agent.local.stop", usage: "frely agent local stop <name>", auth: "none", effect: "local-process", purpose: "Stop a running local Agent. Run start again afterwards to apply newly approved sites." },
|
|
40
|
+
{ id: "agent.local.logs", usage: "frely agent local logs <name> [--lines <n>] [--follow]", auth: "none", effect: "read", purpose: "Show what a local Agent printed, including what the sandbox blocked." },
|
|
41
|
+
{ id: "agent.local.list", usage: "frely agent local list [--json]", auth: "none", effect: "read", purpose: "List the Agents on this computer, whether each is running, and the sites each has been approved for." },
|
|
42
|
+
{ id: "agent.local.remove", usage: "frely agent local remove <name>", auth: "none", effect: "local-write", purpose: "Stop a local Agent and delete its folder and records. Only the Agent's own folder is removed." },
|
|
43
|
+
{ id: "agent.local.key", usage: "frely agent local key --api-key-stdin | --clear", auth: "account", effect: "local-write", purpose: "Save the Frely API key that local Agents use for model calls; it goes only through stdin to secure storage. FRELY_API_KEY overrides it." },
|
|
44
|
+
{ id: "provider.share", usage: "frely provider share [ollama|openai-compatible] [--url <loopback-v1-url>] [--models <a,b>] [--slot <slot-id>] [--name <name>]", auth: "account", effect: "remote-write", purpose: "Publish a local model Provider. If a prepared Provider on this device is not finished, resume it instead. Prints this week's remaining relay allowance; relayed traffic counts against the weekly relay allowance." },
|
|
35
45
|
{ id: "provider.list", usage: "frely provider list [--json]", auth: "account", effect: "read", purpose: "List configured local Providers." },
|
|
36
46
|
{ id: "share", usage: "frely share <port> [--ttl <hours>] [--rewrite-host] [--yes] [--json]", auth: "account", effect: "remote-write", purpose: "Make a web service on this computer (http://127.0.0.1:<port>) reachable from the Internet by a private link through Frely's relay, until Ctrl+C or expiry (at most 24 hours). Asks first. The relay allowance is a plan limit per UTC week; --rewrite-host sends Host: localhost to dev servers that refuse other names. Not the same as `frely provider share` (local models) or `frely tunnel` (command sandbox)." },
|
|
47
|
+
{ id: "service.share", usage: "frely service share --type mcp|a2a --port <n> [--label <text>] [--background] [--json]", auth: "account", effect: "remote-write", purpose: "Connect an MCP server or A2A Agent that runs on this computer (127.0.0.1:<port>) to Frely so you can sell it, without a public address: only Frely's own cloud can reach it, the port never leaves this computer, and Frely never supplies a target. Runs until Ctrl+C, or with --background the device background service keeps it connected. Prints this week's remaining relay allowance; relayed traffic counts against the weekly relay allowance." },
|
|
48
|
+
{ id: "service.manage", usage: "frely service list [--json] | stop <id|label> | remove <id|label>", auth: "account", effect: "remote-write", purpose: "List registered services, stop one on this computer (it stays registered), or remove it from Frely (products that pointed at it become unreachable)." },
|
|
37
49
|
{ id: "tunnel", usage: "frely tunnel <host>:<port> [--local-port N]", auth: "none", effect: "local-execution", purpose: "Run inside a sandboxed command (run_command): listen on 127.0.0.1:<local-port> (default: the same port) and forward each TCP connection to host:port through the command sandbox's proxy, so database and redis clients connect to 127.0.0.1 without turning the sandbox off. Start it in the same command as the client, for example `frely tunnel db.example.com:5432 & sleep 1; psql -h 127.0.0.1 ...`. Prints the local address and runs until killed." },
|
|
38
50
|
{ id: "sandbox.proxy", usage: "frely sandbox proxy [<http://host:port> [--no-proxy <list>] | --clear]", auth: "none", effect: "local-write", purpose: "Show, save or remove the HTTP(S) proxy that the command sandbox forwards its network traffic to (your own proxy, for example Clash). Without one saved it uses the HTTPS_PROXY / HTTP_PROXY / ALL_PROXY of the CLI process and, on macOS, the system proxy. Your proxy settings are never changed. Takes effect when the MCP service restarts." },
|
|
39
51
|
{ id: "devices", usage: "frely devices [--add] [--json]", auth: "controller", effect: "read", purpose: "List your Frely devices with online state and workspaces (list_devices). --add prints a one-time install command for a new computer." },
|
|
@@ -89,11 +101,11 @@ const GROUPS = [
|
|
|
89
101
|
{ title: "Control your devices", ids: ["devices", "run", "ps", "logs", "kill", "read", "ls", "grep", "edit", "permission", "tools", "call", "controller"] },
|
|
90
102
|
{ title: "Account", ids: ["login", "logout", "uninstall", "doctor", "update"] },
|
|
91
103
|
{ title: "Device MCP", ids: ["mcp.start", "mcp.workspace", "mcp.local", "mcp.lifecycle"] },
|
|
92
|
-
{ title: "Agents", ids: ["agent.install", "agent.run", "agent.status", "agent.remove"] },
|
|
104
|
+
{ title: "Agents", ids: ["agent.install", "agent.run", "agent.status", "agent.remove", "agent.local"] },
|
|
93
105
|
{ title: "Skills", ids: ["skill.install"] },
|
|
94
106
|
{ title: "Marketplace items", ids: ["item.install", "item.update", "item.run", "item.trust"] },
|
|
95
107
|
{ title: "Providers", ids: ["provider.share", "provider.list"] },
|
|
96
|
-
{ title: "Share", ids: ["share"] },
|
|
108
|
+
{ title: "Share", ids: ["share", "service.share", "service.manage"] },
|
|
97
109
|
{ title: "Command sandbox", ids: ["tunnel", "sandbox.proxy"] },
|
|
98
110
|
{ title: "API", ids: ["api", "remote.tools", "remote.call", "remote.config"] },
|
|
99
111
|
];
|
|
@@ -130,12 +142,25 @@ const SHORT_USAGE = {
|
|
|
130
142
|
"item.run": "frely item run <script> [args...]",
|
|
131
143
|
"item.trust": "frely item trust <folder> [--check]",
|
|
132
144
|
"agent.install": "frely agent install <username/name> [--host <host>] [--api-key-stdin]",
|
|
133
|
-
"agent.run": "frely agent run <username/name> (--input <text>|--input-stdin)",
|
|
145
|
+
"agent.run": "frely agent run <username/name> (--input <text>|--input-stdin) [--read [<dir>]]",
|
|
146
|
+
"agent.result": "frely agent result (<runId>|--last) [--wait] [--resume]",
|
|
147
|
+
"agent.runs": "frely agent runs",
|
|
148
|
+
"agent.cancel": "frely agent cancel (<runId>|--last)",
|
|
134
149
|
"agent.status": "frely agent status <username/name>",
|
|
135
150
|
"agent.remove": "frely agent remove <username/name>",
|
|
151
|
+
"agent.local": "frely agent local add|start|stop|logs|list|remove|key",
|
|
152
|
+
"agent.local.add": "frely agent local add <username/name | github-url>",
|
|
153
|
+
"agent.local.start": "frely agent local start <name>",
|
|
154
|
+
"agent.local.stop": "frely agent local stop <name>",
|
|
155
|
+
"agent.local.logs": "frely agent local logs <name> [--follow]",
|
|
156
|
+
"agent.local.list": "frely agent local list",
|
|
157
|
+
"agent.local.remove": "frely agent local remove <name>",
|
|
158
|
+
"agent.local.key": "frely agent local key --api-key-stdin",
|
|
136
159
|
"provider.share": "frely provider share [ollama|openai-compatible] [--models <a,b>]",
|
|
137
160
|
"provider.list": "frely provider list",
|
|
138
161
|
share: "frely share <port> [--ttl <hours>]",
|
|
162
|
+
"service.share": "frely service share --type mcp|a2a --port <n>",
|
|
163
|
+
"service.manage": "frely service list|stop|remove",
|
|
139
164
|
tunnel: "frely tunnel <host>:<port> [--local-port N]",
|
|
140
165
|
"sandbox.proxy": "frely sandbox proxy [<url> [--no-proxy <list>] | --clear]",
|
|
141
166
|
api: "frely api list|describe|call",
|
package/dist/agent-help.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-help.js","sourceRoot":"","sources":["../src/agent-help.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,oMAAoM,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,knBAAknB,EAAE;IAC54B,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,+EAA+E,EAAE;IACtK,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,kCAAkC,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,khBAAkhB,EAAE;IAC7oB,EAAE,EAAE,EAAE,QAAQ,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AI,CAAC,EAAE,CAAC,CAAC;AACxB,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,eAAe,CAAC,KAAa;IAC3C,MAAM,MAAM,GAAG,GAAG,KAAK,GAAG,CAAC;IAC3B,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;SACtE,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,KAAK,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,OAAO,CAAC,KAAK,IAAI,CAAC,CAAC;IACvE,OAAO,WAAW,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;AACrC,CAAC;AAED,MAAM,UAAU,QAAQ;IACtB,OAAO,sEAAsE;UACzE,CAAC,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,eAAe,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,GAAG,WAAW,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;UAChH,kFAAkF;UAClF,6VAA6V;UAC7V,iHAAiH;UACjH,8LAA8L,CAAC;AACrM,CAAC"}
|
package/dist/cloud.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import type { OAuthClientInformationMixed, OAuthClientMetadata, OAuthTokens } from "@modelcontextprotocol/sdk/shared/auth.js";
|
|
2
|
-
/** Names this installation on the web console ("Frely CLI Cloud (host)"). Display only: the server limits the client by its device binding (see bindCloudClient), not by this name. */
|
|
3
|
-
export declare function cloudClientName(host?: string): string;
|
|
4
1
|
/** The server's `permission_required` or `confirmation_required` tool failure as a one-line hint, or null for any other result. */
|
|
5
2
|
export declare function permissionHint(result: object): string | null;
|
|
6
3
|
type CallResult = {
|
|
@@ -19,48 +16,11 @@ export declare function waitForApproval(first: CallResult, call: (input: Record<
|
|
|
19
16
|
now?: () => number;
|
|
20
17
|
sleep?: (ms: number) => Promise<void>;
|
|
21
18
|
}): Promise<CallResult>;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* itself `native`: the server treats an unspecified type as `web` and rejects every http redirect URI of a web client.
|
|
25
|
-
*/
|
|
26
|
-
export declare function cloudClientMetadata(redirectUrl: string, host?: string): OAuthClientMetadata & {
|
|
27
|
-
application_type: "native";
|
|
28
|
-
};
|
|
29
|
-
export declare const API_USAGE = "Frely API \u2014 call your Frely account's business operations (keys, credits, orders, Creator items\u2026).\n frely api list [--group <name>] [--json]\n frely api describe <tool>\n frely api call <tool> [--json '<object>' | --input <file>] [--wait]\n\n\"list\" prints the operations grouped by area with a one-line description each; add --json for the full tool list.\nOther results are JSON. The first command opens a browser for authorization;\nfrely logout also revokes it. This authorization is separate from device MCP.\nCalls may create resources or incur usage. Failed writes are never replayed automatically.\nA new device may only read non-sensitive data; for anything else the error links to the web\nconsole page where you grant it (passkey or authenticator code required).\nWith --wait, a call that needs approval prints the link, then blocks until the owner decides and\ncontinues by itself: it returns the real result once approved, or the refusal when denied or expired.\n";
|
|
30
|
-
interface StoredCloud {
|
|
31
|
-
version: 1;
|
|
32
|
-
resource: string;
|
|
33
|
-
redirectUrl: string;
|
|
34
|
-
client?: OAuthClientInformationMixed;
|
|
35
|
-
/** The device this client was last bound to on the server; the binding is what makes the client this computer's CLI. */
|
|
36
|
-
bound?: {
|
|
37
|
-
clientId: string;
|
|
38
|
-
deviceId: string;
|
|
39
|
-
};
|
|
40
|
-
tokens?: OAuthTokens;
|
|
41
|
-
expiresAt?: number;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Tells the server which enrolled device this Cloud client belongs to, so it is limited and shown as this computer's CLI. The server decides by
|
|
45
|
-
* this binding, not by the client's name. Skipped when the same client was already bound to the same device; throws when the server refuses.
|
|
46
|
-
*/
|
|
47
|
-
export declare function bindCloudClient(stored: Pick<StoredCloud, "client" | "bound">, device: {
|
|
48
|
-
deviceId: string;
|
|
49
|
-
}, post: (body: {
|
|
50
|
-
clientId: string;
|
|
51
|
-
deviceId: string;
|
|
52
|
-
}) => Promise<Response>): Promise<{
|
|
53
|
-
clientId: string;
|
|
54
|
-
deviceId: string;
|
|
55
|
-
} | null>;
|
|
56
|
-
/** True when this computer still holds the older Cloud MCP authorization that `frely api` used before it moved onto the controller connection. */
|
|
57
|
-
export declare function hasLegacyCloudAuthorization(): Promise<boolean>;
|
|
19
|
+
export declare const API_USAGE = "Frely API \u2014 call your Frely account's business operations (keys, credits, orders, Creator items\u2026).\n frely api list [--group <name>] [--json]\n frely api describe <tool>\n frely api call <tool> [--json '<object>' | --input <file>] [--wait]\n\n\"list\" prints the operations grouped by area with a one-line description each; add --json for the full tool list.\nOther results are JSON. The first command asks you to approve this computer in your browser (the same approval as frely controller login);\nfrely logout also revokes it. Without a terminal it prints the approval link and exits; run it again after approving.\nCalls may create resources or incur usage. Failed writes are never replayed automatically.\nA new device may only read non-sensitive data; for anything else the error links to the web\nconsole page where you grant it (passkey or authenticator code required).\nWith --wait, a call that needs approval prints the link, then blocks until the owner decides and\ncontinues by itself: it returns the real result once approved, or the refusal when denied or expired.\n";
|
|
20
|
+
/** Revokes and forgets the Cloud authorization an older CLI left behind; there is nothing to do on a computer that never had one. */
|
|
58
21
|
export declare function logoutCloud(): Promise<void>;
|
|
59
|
-
export declare const NON_INTERACTIVE_AUTHORIZATION = "Cloud authorization is required, but this is not an interactive terminal. Run frely api list in a terminal you can type in to authorize in the browser once, then run this command again.";
|
|
60
22
|
/** True when a person can finish a browser authorization: both stdin and stderr (where the link is printed) are terminals. */
|
|
61
23
|
export declare function isInteractiveTerminal(): boolean;
|
|
62
|
-
/** The underlying failure as ": <one line, at most 200 characters>", or "" when there is none. */
|
|
63
|
-
export declare function failureCause(error: unknown): string;
|
|
64
24
|
interface ListedTool {
|
|
65
25
|
name: string;
|
|
66
26
|
description?: string;
|