@fonoster/ctl 0.9.49 → 0.9.50
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 +82 -57
- package/dist/commands/mcp/configure.d.ts +11 -0
- package/dist/commands/mcp/configure.js +135 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ $ npm install -g @fonoster/ctl
|
|
|
23
23
|
$ fonoster COMMAND
|
|
24
24
|
running command...
|
|
25
25
|
$ fonoster (--version)
|
|
26
|
-
@fonoster/ctl/0.9.
|
|
26
|
+
@fonoster/ctl/0.9.50 linux-x64 node-v20.19.0
|
|
27
27
|
$ fonoster --help [COMMAND]
|
|
28
28
|
USAGE
|
|
29
29
|
$ fonoster COMMAND
|
|
@@ -43,6 +43,7 @@ USAGE
|
|
|
43
43
|
* [`fonoster applications:update REF`](#fonoster-applicationsupdate-ref)
|
|
44
44
|
* [`fonoster bug`](#fonoster-bug)
|
|
45
45
|
* [`fonoster feedback`](#fonoster-feedback)
|
|
46
|
+
* [`fonoster mcp:configure`](#fonoster-mcpconfigure)
|
|
46
47
|
* [`fonoster secrets:create`](#fonoster-secretscreate)
|
|
47
48
|
* [`fonoster secrets:delete REF`](#fonoster-secretsdelete-ref)
|
|
48
49
|
* [`fonoster secrets:get REF`](#fonoster-secretsget-ref)
|
|
@@ -109,7 +110,7 @@ EXAMPLES
|
|
|
109
110
|
$ fonoster apikeys:create
|
|
110
111
|
```
|
|
111
112
|
|
|
112
|
-
_See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
113
|
+
_See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/apikeys/create.js)_
|
|
113
114
|
|
|
114
115
|
## `fonoster apikeys:delete REF`
|
|
115
116
|
|
|
@@ -132,7 +133,7 @@ EXAMPLES
|
|
|
132
133
|
$ fonoster apikeys:delete
|
|
133
134
|
```
|
|
134
135
|
|
|
135
|
-
_See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
136
|
+
_See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/apikeys/delete.js)_
|
|
136
137
|
|
|
137
138
|
## `fonoster apikeys:list`
|
|
138
139
|
|
|
@@ -153,7 +154,7 @@ EXAMPLES
|
|
|
153
154
|
$ fonoster apikeys:list
|
|
154
155
|
```
|
|
155
156
|
|
|
156
|
-
_See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
157
|
+
_See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/apikeys/list.js)_
|
|
157
158
|
|
|
158
159
|
## `fonoster apikeys:regenerate REF`
|
|
159
160
|
|
|
@@ -176,7 +177,7 @@ EXAMPLES
|
|
|
176
177
|
$ fonoster apikeys:regenerate
|
|
177
178
|
```
|
|
178
179
|
|
|
179
|
-
_See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
180
|
+
_See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/apikeys/regenerate.js)_
|
|
180
181
|
|
|
181
182
|
## `fonoster applications:create`
|
|
182
183
|
|
|
@@ -196,7 +197,7 @@ EXAMPLES
|
|
|
196
197
|
$ fonoster applications:create
|
|
197
198
|
```
|
|
198
199
|
|
|
199
|
-
_See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
200
|
+
_See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/applications/create.js)_
|
|
200
201
|
|
|
201
202
|
## `fonoster applications:delete REF`
|
|
202
203
|
|
|
@@ -219,7 +220,7 @@ EXAMPLES
|
|
|
219
220
|
$ fonoster applications:delete
|
|
220
221
|
```
|
|
221
222
|
|
|
222
|
-
_See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
223
|
+
_See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/applications/delete.js)_
|
|
223
224
|
|
|
224
225
|
## `fonoster applications:get REF`
|
|
225
226
|
|
|
@@ -242,7 +243,7 @@ EXAMPLES
|
|
|
242
243
|
$ fonoster applications:get
|
|
243
244
|
```
|
|
244
245
|
|
|
245
|
-
_See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
246
|
+
_See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/applications/get.js)_
|
|
246
247
|
|
|
247
248
|
## `fonoster applications:list`
|
|
248
249
|
|
|
@@ -263,7 +264,7 @@ EXAMPLES
|
|
|
263
264
|
$ fonoster applications:list
|
|
264
265
|
```
|
|
265
266
|
|
|
266
|
-
_See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
267
|
+
_See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/applications/list.js)_
|
|
267
268
|
|
|
268
269
|
## `fonoster applications:update REF`
|
|
269
270
|
|
|
@@ -286,7 +287,7 @@ EXAMPLES
|
|
|
286
287
|
$ fonoster applications:update
|
|
287
288
|
```
|
|
288
289
|
|
|
289
|
-
_See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
290
|
+
_See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/applications/update.js)_
|
|
290
291
|
|
|
291
292
|
## `fonoster bug`
|
|
292
293
|
|
|
@@ -303,7 +304,7 @@ EXAMPLES
|
|
|
303
304
|
$ fonoster bug
|
|
304
305
|
```
|
|
305
306
|
|
|
306
|
-
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
307
|
+
_See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/bug.js)_
|
|
307
308
|
|
|
308
309
|
## `fonoster feedback`
|
|
309
310
|
|
|
@@ -323,7 +324,31 @@ EXAMPLES
|
|
|
323
324
|
$ fonoster feedback
|
|
324
325
|
```
|
|
325
326
|
|
|
326
|
-
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
327
|
+
_See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/feedback.js)_
|
|
328
|
+
|
|
329
|
+
## `fonoster mcp:configure`
|
|
330
|
+
|
|
331
|
+
configure MCP client settings
|
|
332
|
+
|
|
333
|
+
```
|
|
334
|
+
USAGE
|
|
335
|
+
$ fonoster mcp:configure [-c claude] [-w <value>]
|
|
336
|
+
|
|
337
|
+
FLAGS
|
|
338
|
+
-c, --client=<option> [default: claude] MCP client to configure
|
|
339
|
+
<options: claude>
|
|
340
|
+
-w, --workspace=<value> workspace reference
|
|
341
|
+
|
|
342
|
+
DESCRIPTION
|
|
343
|
+
configure MCP client settings
|
|
344
|
+
|
|
345
|
+
EXAMPLES
|
|
346
|
+
$ fonoster mcp:configure --client claude
|
|
347
|
+
|
|
348
|
+
$ fonoster mcp:configure --client claude --workspace my-workspace
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
_See code: [dist/commands/mcp/configure.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/mcp/configure.js)_
|
|
327
352
|
|
|
328
353
|
## `fonoster secrets:create`
|
|
329
354
|
|
|
@@ -343,7 +368,7 @@ EXAMPLES
|
|
|
343
368
|
$ fonoster secrets:create
|
|
344
369
|
```
|
|
345
370
|
|
|
346
|
-
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
371
|
+
_See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/secrets/create.js)_
|
|
347
372
|
|
|
348
373
|
## `fonoster secrets:delete REF`
|
|
349
374
|
|
|
@@ -366,7 +391,7 @@ EXAMPLES
|
|
|
366
391
|
$ fonoster secrets:delete
|
|
367
392
|
```
|
|
368
393
|
|
|
369
|
-
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
394
|
+
_See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/secrets/delete.js)_
|
|
370
395
|
|
|
371
396
|
## `fonoster secrets:get REF`
|
|
372
397
|
|
|
@@ -389,7 +414,7 @@ EXAMPLES
|
|
|
389
414
|
$ fonoster secrets:get
|
|
390
415
|
```
|
|
391
416
|
|
|
392
|
-
_See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
417
|
+
_See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/secrets/get.js)_
|
|
393
418
|
|
|
394
419
|
## `fonoster secrets:list`
|
|
395
420
|
|
|
@@ -410,7 +435,7 @@ EXAMPLES
|
|
|
410
435
|
$ fonoster secrets:list
|
|
411
436
|
```
|
|
412
437
|
|
|
413
|
-
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
438
|
+
_See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/secrets/list.js)_
|
|
414
439
|
|
|
415
440
|
## `fonoster secrets:update REF`
|
|
416
441
|
|
|
@@ -433,7 +458,7 @@ EXAMPLES
|
|
|
433
458
|
$ fonoster secrets:update
|
|
434
459
|
```
|
|
435
460
|
|
|
436
|
-
_See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
461
|
+
_See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/secrets/update.js)_
|
|
437
462
|
|
|
438
463
|
## `fonoster sipnet:acls:create`
|
|
439
464
|
|
|
@@ -453,7 +478,7 @@ EXAMPLES
|
|
|
453
478
|
$ fonoster sipnet:acls:create
|
|
454
479
|
```
|
|
455
480
|
|
|
456
|
-
_See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
481
|
+
_See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/acls/create.js)_
|
|
457
482
|
|
|
458
483
|
## `fonoster sipnet:acls:delete REF`
|
|
459
484
|
|
|
@@ -476,7 +501,7 @@ EXAMPLES
|
|
|
476
501
|
$ fonoster sipnet:acls:delete
|
|
477
502
|
```
|
|
478
503
|
|
|
479
|
-
_See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
504
|
+
_See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/acls/delete.js)_
|
|
480
505
|
|
|
481
506
|
## `fonoster sipnet:acls:get REF`
|
|
482
507
|
|
|
@@ -499,7 +524,7 @@ EXAMPLES
|
|
|
499
524
|
$ fonoster sipnet:acls:get
|
|
500
525
|
```
|
|
501
526
|
|
|
502
|
-
_See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
527
|
+
_See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/acls/get.js)_
|
|
503
528
|
|
|
504
529
|
## `fonoster sipnet:acls:list`
|
|
505
530
|
|
|
@@ -520,7 +545,7 @@ EXAMPLES
|
|
|
520
545
|
$ fonoster sipnet:acls:list
|
|
521
546
|
```
|
|
522
547
|
|
|
523
|
-
_See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
548
|
+
_See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/acls/list.js)_
|
|
524
549
|
|
|
525
550
|
## `fonoster sipnet:acls:update REF`
|
|
526
551
|
|
|
@@ -543,7 +568,7 @@ EXAMPLES
|
|
|
543
568
|
$ fonoster sipnet:acls:update
|
|
544
569
|
```
|
|
545
570
|
|
|
546
|
-
_See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
571
|
+
_See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/acls/update.js)_
|
|
547
572
|
|
|
548
573
|
## `fonoster sipnet:agents:create`
|
|
549
574
|
|
|
@@ -563,7 +588,7 @@ EXAMPLES
|
|
|
563
588
|
$ fonoster sipnet:agents:create
|
|
564
589
|
```
|
|
565
590
|
|
|
566
|
-
_See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
591
|
+
_See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/agents/create.js)_
|
|
567
592
|
|
|
568
593
|
## `fonoster sipnet:agents:delete REF`
|
|
569
594
|
|
|
@@ -586,7 +611,7 @@ EXAMPLES
|
|
|
586
611
|
$ fonoster sipnet:agents:delete
|
|
587
612
|
```
|
|
588
613
|
|
|
589
|
-
_See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
614
|
+
_See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/agents/delete.js)_
|
|
590
615
|
|
|
591
616
|
## `fonoster sipnet:agents:get REF`
|
|
592
617
|
|
|
@@ -609,7 +634,7 @@ EXAMPLES
|
|
|
609
634
|
$ fonoster sipnet:agents:get
|
|
610
635
|
```
|
|
611
636
|
|
|
612
|
-
_See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
637
|
+
_See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/agents/get.js)_
|
|
613
638
|
|
|
614
639
|
## `fonoster sipnet:agents:list`
|
|
615
640
|
|
|
@@ -630,7 +655,7 @@ EXAMPLES
|
|
|
630
655
|
$ fonoster sipnet:agents:list
|
|
631
656
|
```
|
|
632
657
|
|
|
633
|
-
_See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
658
|
+
_See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/agents/list.js)_
|
|
634
659
|
|
|
635
660
|
## `fonoster sipnet:agents:update REF`
|
|
636
661
|
|
|
@@ -653,7 +678,7 @@ EXAMPLES
|
|
|
653
678
|
$ fonoster sipnet:agents:update
|
|
654
679
|
```
|
|
655
680
|
|
|
656
|
-
_See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
681
|
+
_See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/agents/update.js)_
|
|
657
682
|
|
|
658
683
|
## `fonoster sipnet:calls:create`
|
|
659
684
|
|
|
@@ -678,7 +703,7 @@ EXAMPLES
|
|
|
678
703
|
$ fonoster sipnet:calls:create
|
|
679
704
|
```
|
|
680
705
|
|
|
681
|
-
_See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
706
|
+
_See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/calls/create.js)_
|
|
682
707
|
|
|
683
708
|
## `fonoster sipnet:calls:get REF`
|
|
684
709
|
|
|
@@ -701,7 +726,7 @@ EXAMPLES
|
|
|
701
726
|
$ fonoster sipnet:calls:get
|
|
702
727
|
```
|
|
703
728
|
|
|
704
|
-
_See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
729
|
+
_See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/calls/get.js)_
|
|
705
730
|
|
|
706
731
|
## `fonoster sipnet:calls:list`
|
|
707
732
|
|
|
@@ -722,7 +747,7 @@ EXAMPLES
|
|
|
722
747
|
$ fonoster sipnet:calls:list
|
|
723
748
|
```
|
|
724
749
|
|
|
725
|
-
_See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
750
|
+
_See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/calls/list.js)_
|
|
726
751
|
|
|
727
752
|
## `fonoster sipnet:credentials:create`
|
|
728
753
|
|
|
@@ -742,7 +767,7 @@ EXAMPLES
|
|
|
742
767
|
$ fonoster sipnet:credentials:create
|
|
743
768
|
```
|
|
744
769
|
|
|
745
|
-
_See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
770
|
+
_See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/credentials/create.js)_
|
|
746
771
|
|
|
747
772
|
## `fonoster sipnet:credentials:delete REF`
|
|
748
773
|
|
|
@@ -765,7 +790,7 @@ EXAMPLES
|
|
|
765
790
|
$ fonoster sipnet:credentials:delete
|
|
766
791
|
```
|
|
767
792
|
|
|
768
|
-
_See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
793
|
+
_See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/credentials/delete.js)_
|
|
769
794
|
|
|
770
795
|
## `fonoster sipnet:credentials:get REF`
|
|
771
796
|
|
|
@@ -788,7 +813,7 @@ EXAMPLES
|
|
|
788
813
|
$ fonoster sipnet:credentials:get
|
|
789
814
|
```
|
|
790
815
|
|
|
791
|
-
_See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
816
|
+
_See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/credentials/get.js)_
|
|
792
817
|
|
|
793
818
|
## `fonoster sipnet:credentials:list`
|
|
794
819
|
|
|
@@ -809,7 +834,7 @@ EXAMPLES
|
|
|
809
834
|
$ fonoster sipnet:credentials:list
|
|
810
835
|
```
|
|
811
836
|
|
|
812
|
-
_See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
837
|
+
_See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/credentials/list.js)_
|
|
813
838
|
|
|
814
839
|
## `fonoster sipnet:credentials:update REF`
|
|
815
840
|
|
|
@@ -832,7 +857,7 @@ EXAMPLES
|
|
|
832
857
|
$ fonoster sipnet:credentials:update
|
|
833
858
|
```
|
|
834
859
|
|
|
835
|
-
_See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
860
|
+
_See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/credentials/update.js)_
|
|
836
861
|
|
|
837
862
|
## `fonoster sipnet:domains:create`
|
|
838
863
|
|
|
@@ -852,7 +877,7 @@ EXAMPLES
|
|
|
852
877
|
$ fonoster sipnet:domains:create
|
|
853
878
|
```
|
|
854
879
|
|
|
855
|
-
_See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
880
|
+
_See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/domains/create.js)_
|
|
856
881
|
|
|
857
882
|
## `fonoster sipnet:domains:delete REF`
|
|
858
883
|
|
|
@@ -875,7 +900,7 @@ EXAMPLES
|
|
|
875
900
|
$ fonoster sipnet:domains:delete
|
|
876
901
|
```
|
|
877
902
|
|
|
878
|
-
_See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
903
|
+
_See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/domains/delete.js)_
|
|
879
904
|
|
|
880
905
|
## `fonoster sipnet:domains:get REF`
|
|
881
906
|
|
|
@@ -898,7 +923,7 @@ EXAMPLES
|
|
|
898
923
|
$ fonoster sipnet:domains:get
|
|
899
924
|
```
|
|
900
925
|
|
|
901
|
-
_See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
926
|
+
_See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/domains/get.js)_
|
|
902
927
|
|
|
903
928
|
## `fonoster sipnet:domains:list`
|
|
904
929
|
|
|
@@ -919,7 +944,7 @@ EXAMPLES
|
|
|
919
944
|
$ fonoster sipnet:domains:list
|
|
920
945
|
```
|
|
921
946
|
|
|
922
|
-
_See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
947
|
+
_See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/domains/list.js)_
|
|
923
948
|
|
|
924
949
|
## `fonoster sipnet:domains:update REF`
|
|
925
950
|
|
|
@@ -942,7 +967,7 @@ EXAMPLES
|
|
|
942
967
|
$ fonoster sipnet:domains:update
|
|
943
968
|
```
|
|
944
969
|
|
|
945
|
-
_See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
970
|
+
_See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/domains/update.js)_
|
|
946
971
|
|
|
947
972
|
## `fonoster sipnet:numbers:create`
|
|
948
973
|
|
|
@@ -962,7 +987,7 @@ EXAMPLES
|
|
|
962
987
|
$ fonoster sipnet:numbers:create
|
|
963
988
|
```
|
|
964
989
|
|
|
965
|
-
_See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
990
|
+
_See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/numbers/create.js)_
|
|
966
991
|
|
|
967
992
|
## `fonoster sipnet:numbers:delete REF`
|
|
968
993
|
|
|
@@ -985,7 +1010,7 @@ EXAMPLES
|
|
|
985
1010
|
$ fonoster sipnet:numbers:delete
|
|
986
1011
|
```
|
|
987
1012
|
|
|
988
|
-
_See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1013
|
+
_See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/numbers/delete.js)_
|
|
989
1014
|
|
|
990
1015
|
## `fonoster sipnet:numbers:get REF`
|
|
991
1016
|
|
|
@@ -1008,7 +1033,7 @@ EXAMPLES
|
|
|
1008
1033
|
$ fonoster sipnet:numbers:get
|
|
1009
1034
|
```
|
|
1010
1035
|
|
|
1011
|
-
_See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1036
|
+
_See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/numbers/get.js)_
|
|
1012
1037
|
|
|
1013
1038
|
## `fonoster sipnet:numbers:linkTwilioNumber`
|
|
1014
1039
|
|
|
@@ -1032,7 +1057,7 @@ EXAMPLES
|
|
|
1032
1057
|
$ fonoster sipnet:numbers:linkTwilioNumber
|
|
1033
1058
|
```
|
|
1034
1059
|
|
|
1035
|
-
_See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1060
|
+
_See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/numbers/linkTwilioNumber.js)_
|
|
1036
1061
|
|
|
1037
1062
|
## `fonoster sipnet:numbers:list`
|
|
1038
1063
|
|
|
@@ -1053,7 +1078,7 @@ EXAMPLES
|
|
|
1053
1078
|
$ fonoster sipnet:numbers:list
|
|
1054
1079
|
```
|
|
1055
1080
|
|
|
1056
|
-
_See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1081
|
+
_See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/numbers/list.js)_
|
|
1057
1082
|
|
|
1058
1083
|
## `fonoster sipnet:numbers:update REF`
|
|
1059
1084
|
|
|
@@ -1076,7 +1101,7 @@ EXAMPLES
|
|
|
1076
1101
|
$ fonoster sipnet:numbers:update
|
|
1077
1102
|
```
|
|
1078
1103
|
|
|
1079
|
-
_See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1104
|
+
_See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/numbers/update.js)_
|
|
1080
1105
|
|
|
1081
1106
|
## `fonoster sipnet:trunks:create`
|
|
1082
1107
|
|
|
@@ -1096,7 +1121,7 @@ EXAMPLES
|
|
|
1096
1121
|
$ fonoster sipnet:trunks:create
|
|
1097
1122
|
```
|
|
1098
1123
|
|
|
1099
|
-
_See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1124
|
+
_See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/trunks/create.js)_
|
|
1100
1125
|
|
|
1101
1126
|
## `fonoster sipnet:trunks:delete REF`
|
|
1102
1127
|
|
|
@@ -1119,7 +1144,7 @@ EXAMPLES
|
|
|
1119
1144
|
$ fonoster sipnet:trunks:delete
|
|
1120
1145
|
```
|
|
1121
1146
|
|
|
1122
|
-
_See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1147
|
+
_See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/trunks/delete.js)_
|
|
1123
1148
|
|
|
1124
1149
|
## `fonoster sipnet:trunks:get REF`
|
|
1125
1150
|
|
|
@@ -1142,7 +1167,7 @@ EXAMPLES
|
|
|
1142
1167
|
$ fonoster sipnet:trunks:get
|
|
1143
1168
|
```
|
|
1144
1169
|
|
|
1145
|
-
_See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1170
|
+
_See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/trunks/get.js)_
|
|
1146
1171
|
|
|
1147
1172
|
## `fonoster sipnet:trunks:list`
|
|
1148
1173
|
|
|
@@ -1163,7 +1188,7 @@ EXAMPLES
|
|
|
1163
1188
|
$ fonoster sipnet:trunks:list
|
|
1164
1189
|
```
|
|
1165
1190
|
|
|
1166
|
-
_See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1191
|
+
_See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/trunks/list.js)_
|
|
1167
1192
|
|
|
1168
1193
|
## `fonoster sipnet:trunks:update REF`
|
|
1169
1194
|
|
|
@@ -1186,7 +1211,7 @@ EXAMPLES
|
|
|
1186
1211
|
$ fonoster sipnet:trunks:update
|
|
1187
1212
|
```
|
|
1188
1213
|
|
|
1189
|
-
_See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1214
|
+
_See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/sipnet/trunks/update.js)_
|
|
1190
1215
|
|
|
1191
1216
|
## `fonoster utils:autopilotTestsCases`
|
|
1192
1217
|
|
|
@@ -1209,7 +1234,7 @@ EXAMPLES
|
|
|
1209
1234
|
$ fonoster utils:autopilotTestsCases -f assistant.yaml
|
|
1210
1235
|
```
|
|
1211
1236
|
|
|
1212
|
-
_See code: [dist/commands/utils/autopilotTestsCases.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1237
|
+
_See code: [dist/commands/utils/autopilotTestsCases.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/utils/autopilotTestsCases.js)_
|
|
1213
1238
|
|
|
1214
1239
|
## `fonoster workspaces:active`
|
|
1215
1240
|
|
|
@@ -1226,7 +1251,7 @@ EXAMPLES
|
|
|
1226
1251
|
$ fonoster workspaces:active
|
|
1227
1252
|
```
|
|
1228
1253
|
|
|
1229
|
-
_See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1254
|
+
_See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/workspaces/active.js)_
|
|
1230
1255
|
|
|
1231
1256
|
## `fonoster workspaces:list`
|
|
1232
1257
|
|
|
@@ -1243,7 +1268,7 @@ EXAMPLES
|
|
|
1243
1268
|
$ fonoster workspaces:list
|
|
1244
1269
|
```
|
|
1245
1270
|
|
|
1246
|
-
_See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1271
|
+
_See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/workspaces/list.js)_
|
|
1247
1272
|
|
|
1248
1273
|
## `fonoster workspaces:login`
|
|
1249
1274
|
|
|
@@ -1263,7 +1288,7 @@ EXAMPLES
|
|
|
1263
1288
|
$ fonoster workspaces:login
|
|
1264
1289
|
```
|
|
1265
1290
|
|
|
1266
|
-
_See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1291
|
+
_See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/workspaces/login.js)_
|
|
1267
1292
|
|
|
1268
1293
|
## `fonoster workspaces:logout REF`
|
|
1269
1294
|
|
|
@@ -1283,7 +1308,7 @@ EXAMPLES
|
|
|
1283
1308
|
$ fonoster workspaces:logout
|
|
1284
1309
|
```
|
|
1285
1310
|
|
|
1286
|
-
_See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1311
|
+
_See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/workspaces/logout.js)_
|
|
1287
1312
|
|
|
1288
1313
|
## `fonoster workspaces:use REF`
|
|
1289
1314
|
|
|
@@ -1303,5 +1328,5 @@ EXAMPLES
|
|
|
1303
1328
|
$ fonoster workspaces:use
|
|
1304
1329
|
```
|
|
1305
1330
|
|
|
1306
|
-
_See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.9.
|
|
1331
|
+
_See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.9.50/dist/commands/workspaces/use.js)_
|
|
1307
1332
|
<!-- commandsstop -->
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Command } from "@oclif/core";
|
|
2
|
+
export default class Configure extends Command {
|
|
3
|
+
static description: string;
|
|
4
|
+
static examples: string[];
|
|
5
|
+
static flags: {
|
|
6
|
+
client: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
7
|
+
workspace: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
8
|
+
};
|
|
9
|
+
private getMcpConfigPath;
|
|
10
|
+
run(): Promise<void>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
38
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
39
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
40
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
41
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
45
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
/**
|
|
49
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
50
|
+
* http://github.com/fonoster/fonoster
|
|
51
|
+
*
|
|
52
|
+
* This file is part of Fonoster
|
|
53
|
+
*
|
|
54
|
+
* Licensed under the MIT License (the "License");
|
|
55
|
+
* you may not use this file except in compliance with
|
|
56
|
+
* the License. You may obtain a copy of the License at
|
|
57
|
+
*
|
|
58
|
+
* https://opensource.org/licenses/MIT
|
|
59
|
+
*
|
|
60
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
61
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
62
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
63
|
+
* See the License for the specific language governing permissions and
|
|
64
|
+
* limitations under the License.
|
|
65
|
+
*/
|
|
66
|
+
const fs = __importStar(require("fs"));
|
|
67
|
+
const os_1 = __importDefault(require("os"));
|
|
68
|
+
const path = __importStar(require("path"));
|
|
69
|
+
const core_1 = require("@oclif/core");
|
|
70
|
+
const config_1 = require("../../config");
|
|
71
|
+
const constants_1 = require("../../constants");
|
|
72
|
+
class Configure extends core_1.Command {
|
|
73
|
+
getMcpConfigPath() {
|
|
74
|
+
if (process.platform === "darwin") {
|
|
75
|
+
return path.join(os_1.default.homedir(), "Library/Application Support/Claude/claude_desktop_config.json");
|
|
76
|
+
}
|
|
77
|
+
else if (process.platform === "win32") {
|
|
78
|
+
return path.join(os_1.default.homedir(), "AppData/Roaming/Claude/claude_desktop_config.json");
|
|
79
|
+
}
|
|
80
|
+
throw new Error("Unsupported platform");
|
|
81
|
+
}
|
|
82
|
+
run() {
|
|
83
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
+
const { flags } = yield this.parse(Configure);
|
|
85
|
+
const workspaces = (0, config_1.getConfig)(constants_1.CONFIG_FILE);
|
|
86
|
+
const workspace = flags.workspace
|
|
87
|
+
? workspaces.find((w) => w.workspaceRef === flags.workspace)
|
|
88
|
+
: workspaces.find((w) => w.active === true);
|
|
89
|
+
if (!workspace) {
|
|
90
|
+
throw new Error("Workspace not found");
|
|
91
|
+
}
|
|
92
|
+
const mcpConfigPath = this.getMcpConfigPath();
|
|
93
|
+
let mcpConfig = { mcpServers: {} };
|
|
94
|
+
try {
|
|
95
|
+
if (fs.existsSync(mcpConfigPath)) {
|
|
96
|
+
mcpConfig = JSON.parse(fs.readFileSync(mcpConfigPath, "utf8"));
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
catch (err) {
|
|
100
|
+
this.warn("Could not read existing MCP config, creating new one");
|
|
101
|
+
}
|
|
102
|
+
mcpConfig.mcpServers.fonoster = {
|
|
103
|
+
command: "npx",
|
|
104
|
+
args: ["-y", "@fonoster/mcp@latest"],
|
|
105
|
+
env: {
|
|
106
|
+
WORKSPACE_ACCESS_KEY_ID: workspace.workspaceAccessKeyId,
|
|
107
|
+
APIKEY_ACCESS_KEY_ID: workspace.accessKeyId,
|
|
108
|
+
APIKEY_ACCESS_KEY_SECRET: workspace.accessKeySecret
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
fs.mkdirSync(path.dirname(mcpConfigPath), { recursive: true });
|
|
112
|
+
fs.writeFileSync(mcpConfigPath, JSON.stringify(mcpConfig, null, 2));
|
|
113
|
+
this.log(`MCP client configured successfully for workspace: ${workspace.workspaceName}`);
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
Configure.description = "configure MCP client settings";
|
|
118
|
+
Configure.examples = [
|
|
119
|
+
"<%= config.bin %> <%= command.id %> --client claude",
|
|
120
|
+
"<%= config.bin %> <%= command.id %> --client claude --workspace my-workspace"
|
|
121
|
+
];
|
|
122
|
+
Configure.flags = {
|
|
123
|
+
client: core_1.Flags.string({
|
|
124
|
+
char: "c",
|
|
125
|
+
description: "MCP client to configure",
|
|
126
|
+
default: "claude",
|
|
127
|
+
options: ["claude"]
|
|
128
|
+
}),
|
|
129
|
+
workspace: core_1.Flags.string({
|
|
130
|
+
char: "w",
|
|
131
|
+
description: "workspace reference",
|
|
132
|
+
required: false
|
|
133
|
+
})
|
|
134
|
+
};
|
|
135
|
+
exports.default = Configure;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/ctl",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.50",
|
|
4
4
|
"description": "Fonoster Control Tool",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"bugs": {
|
|
33
33
|
"url": "https://github.com/fonoster/fonoster/issues"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "8c88a1e1f0c849d428878253b94ea518c2c9b0f4",
|
|
36
36
|
"bin": {
|
|
37
37
|
"fonoster": "./bin/run.js"
|
|
38
38
|
},
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@fonoster/autopilot": "^0.9.
|
|
57
|
-
"@fonoster/sdk": "^0.9.
|
|
56
|
+
"@fonoster/autopilot": "^0.9.50",
|
|
57
|
+
"@fonoster/sdk": "^0.9.50",
|
|
58
58
|
"@inquirer/prompts": "^7.1.0",
|
|
59
59
|
"@oclif/core": "^4.0.34",
|
|
60
60
|
"@oclif/plugin-warn-if-update-available": "^3.1.28",
|