@fonoster/ctl 0.9.49 → 0.9.51

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 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.49 linux-x64 node-v20.19.0
26
+ @fonoster/ctl/0.9.51 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.49/dist/commands/apikeys/create.js)_
113
+ _See code: [dist/commands/apikeys/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/apikeys/delete.js)_
136
+ _See code: [dist/commands/apikeys/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/apikeys/list.js)_
157
+ _See code: [dist/commands/apikeys/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/apikeys/regenerate.js)_
180
+ _See code: [dist/commands/apikeys/regenerate.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/applications/create.js)_
200
+ _See code: [dist/commands/applications/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/applications/delete.js)_
223
+ _See code: [dist/commands/applications/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/applications/get.js)_
246
+ _See code: [dist/commands/applications/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/applications/list.js)_
267
+ _See code: [dist/commands/applications/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/applications/update.js)_
290
+ _See code: [dist/commands/applications/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/bug.js)_
307
+ _See code: [dist/commands/bug.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/feedback.js)_
327
+ _See code: [dist/commands/feedback.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.51/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.49/dist/commands/secrets/create.js)_
371
+ _See code: [dist/commands/secrets/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/secrets/delete.js)_
394
+ _See code: [dist/commands/secrets/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/secrets/get.js)_
417
+ _See code: [dist/commands/secrets/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/secrets/list.js)_
438
+ _See code: [dist/commands/secrets/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/secrets/update.js)_
461
+ _See code: [dist/commands/secrets/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/sipnet/acls/create.js)_
481
+ _See code: [dist/commands/sipnet/acls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/sipnet/acls/delete.js)_
504
+ _See code: [dist/commands/sipnet/acls/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/sipnet/acls/get.js)_
527
+ _See code: [dist/commands/sipnet/acls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/sipnet/acls/list.js)_
548
+ _See code: [dist/commands/sipnet/acls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/sipnet/acls/update.js)_
571
+ _See code: [dist/commands/sipnet/acls/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/sipnet/agents/create.js)_
591
+ _See code: [dist/commands/sipnet/agents/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/sipnet/agents/delete.js)_
614
+ _See code: [dist/commands/sipnet/agents/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/sipnet/agents/get.js)_
637
+ _See code: [dist/commands/sipnet/agents/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/sipnet/agents/list.js)_
658
+ _See code: [dist/commands/sipnet/agents/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/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.49/dist/commands/sipnet/agents/update.js)_
681
+ _See code: [dist/commands/sipnet/agents/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/agents/update.js)_
657
682
 
658
683
  ## `fonoster sipnet:calls:create`
659
684
 
@@ -661,15 +686,16 @@ initiate a call to a phone number or SIP URI
661
686
 
662
687
  ```
663
688
  USAGE
664
- $ fonoster sipnet:calls:create -f <value> -t <value> -a <value> [-i] [-o <value>] [-c]
689
+ $ fonoster sipnet:calls:create -f <value> -t <value> -a <value> [-i] [-o <value>] [-c] [-m <value>]
665
690
 
666
691
  FLAGS
667
- -a, --app-ref=<value> (required) The application reference
668
- -c, --track-call Track the call
669
- -f, --from=<value> (required) The number to make the call from
670
- -i, --insecure allow connections to a server with no TLS
671
- -o, --timeout=<value> [default: 30] The call timeout
672
- -t, --to=<value> (required) The number to make the call to
692
+ -a, --app-ref=<value> (required) the reference to the application to use
693
+ -c, --track-call track the call
694
+ -f, --from=<value> (required) the number to make the call from
695
+ -i, --insecure allow connections to a server with no TLS
696
+ -m, --metadata=<value> a JSON object with metadata for the voice application (e.g. '{"name": "John Doe"}')
697
+ -o, --timeout=<value> [default: 30] the call timeout
698
+ -t, --to=<value> (required) the number to make the call to
673
699
 
674
700
  DESCRIPTION
675
701
  initiate a call to a phone number or SIP URI
@@ -678,7 +704,7 @@ EXAMPLES
678
704
  $ fonoster sipnet:calls:create
679
705
  ```
680
706
 
681
- _See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/calls/create.js)_
707
+ _See code: [dist/commands/sipnet/calls/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/calls/create.js)_
682
708
 
683
709
  ## `fonoster sipnet:calls:get REF`
684
710
 
@@ -701,7 +727,7 @@ EXAMPLES
701
727
  $ fonoster sipnet:calls:get
702
728
  ```
703
729
 
704
- _See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/calls/get.js)_
730
+ _See code: [dist/commands/sipnet/calls/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/calls/get.js)_
705
731
 
706
732
  ## `fonoster sipnet:calls:list`
707
733
 
@@ -722,7 +748,7 @@ EXAMPLES
722
748
  $ fonoster sipnet:calls:list
723
749
  ```
724
750
 
725
- _See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/calls/list.js)_
751
+ _See code: [dist/commands/sipnet/calls/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/calls/list.js)_
726
752
 
727
753
  ## `fonoster sipnet:credentials:create`
728
754
 
@@ -742,7 +768,7 @@ EXAMPLES
742
768
  $ fonoster sipnet:credentials:create
743
769
  ```
744
770
 
745
- _See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/credentials/create.js)_
771
+ _See code: [dist/commands/sipnet/credentials/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/credentials/create.js)_
746
772
 
747
773
  ## `fonoster sipnet:credentials:delete REF`
748
774
 
@@ -765,7 +791,7 @@ EXAMPLES
765
791
  $ fonoster sipnet:credentials:delete
766
792
  ```
767
793
 
768
- _See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/credentials/delete.js)_
794
+ _See code: [dist/commands/sipnet/credentials/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/credentials/delete.js)_
769
795
 
770
796
  ## `fonoster sipnet:credentials:get REF`
771
797
 
@@ -788,7 +814,7 @@ EXAMPLES
788
814
  $ fonoster sipnet:credentials:get
789
815
  ```
790
816
 
791
- _See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/credentials/get.js)_
817
+ _See code: [dist/commands/sipnet/credentials/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/credentials/get.js)_
792
818
 
793
819
  ## `fonoster sipnet:credentials:list`
794
820
 
@@ -809,7 +835,7 @@ EXAMPLES
809
835
  $ fonoster sipnet:credentials:list
810
836
  ```
811
837
 
812
- _See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/credentials/list.js)_
838
+ _See code: [dist/commands/sipnet/credentials/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/credentials/list.js)_
813
839
 
814
840
  ## `fonoster sipnet:credentials:update REF`
815
841
 
@@ -832,7 +858,7 @@ EXAMPLES
832
858
  $ fonoster sipnet:credentials:update
833
859
  ```
834
860
 
835
- _See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/credentials/update.js)_
861
+ _See code: [dist/commands/sipnet/credentials/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/credentials/update.js)_
836
862
 
837
863
  ## `fonoster sipnet:domains:create`
838
864
 
@@ -852,7 +878,7 @@ EXAMPLES
852
878
  $ fonoster sipnet:domains:create
853
879
  ```
854
880
 
855
- _See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/domains/create.js)_
881
+ _See code: [dist/commands/sipnet/domains/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/domains/create.js)_
856
882
 
857
883
  ## `fonoster sipnet:domains:delete REF`
858
884
 
@@ -875,7 +901,7 @@ EXAMPLES
875
901
  $ fonoster sipnet:domains:delete
876
902
  ```
877
903
 
878
- _See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/domains/delete.js)_
904
+ _See code: [dist/commands/sipnet/domains/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/domains/delete.js)_
879
905
 
880
906
  ## `fonoster sipnet:domains:get REF`
881
907
 
@@ -898,7 +924,7 @@ EXAMPLES
898
924
  $ fonoster sipnet:domains:get
899
925
  ```
900
926
 
901
- _See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/domains/get.js)_
927
+ _See code: [dist/commands/sipnet/domains/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/domains/get.js)_
902
928
 
903
929
  ## `fonoster sipnet:domains:list`
904
930
 
@@ -919,7 +945,7 @@ EXAMPLES
919
945
  $ fonoster sipnet:domains:list
920
946
  ```
921
947
 
922
- _See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/domains/list.js)_
948
+ _See code: [dist/commands/sipnet/domains/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/domains/list.js)_
923
949
 
924
950
  ## `fonoster sipnet:domains:update REF`
925
951
 
@@ -942,7 +968,7 @@ EXAMPLES
942
968
  $ fonoster sipnet:domains:update
943
969
  ```
944
970
 
945
- _See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/domains/update.js)_
971
+ _See code: [dist/commands/sipnet/domains/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/domains/update.js)_
946
972
 
947
973
  ## `fonoster sipnet:numbers:create`
948
974
 
@@ -962,7 +988,7 @@ EXAMPLES
962
988
  $ fonoster sipnet:numbers:create
963
989
  ```
964
990
 
965
- _See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/numbers/create.js)_
991
+ _See code: [dist/commands/sipnet/numbers/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/create.js)_
966
992
 
967
993
  ## `fonoster sipnet:numbers:delete REF`
968
994
 
@@ -985,7 +1011,7 @@ EXAMPLES
985
1011
  $ fonoster sipnet:numbers:delete
986
1012
  ```
987
1013
 
988
- _See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/numbers/delete.js)_
1014
+ _See code: [dist/commands/sipnet/numbers/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/delete.js)_
989
1015
 
990
1016
  ## `fonoster sipnet:numbers:get REF`
991
1017
 
@@ -1008,7 +1034,7 @@ EXAMPLES
1008
1034
  $ fonoster sipnet:numbers:get
1009
1035
  ```
1010
1036
 
1011
- _See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/numbers/get.js)_
1037
+ _See code: [dist/commands/sipnet/numbers/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/get.js)_
1012
1038
 
1013
1039
  ## `fonoster sipnet:numbers:linkTwilioNumber`
1014
1040
 
@@ -1032,7 +1058,7 @@ EXAMPLES
1032
1058
  $ fonoster sipnet:numbers:linkTwilioNumber
1033
1059
  ```
1034
1060
 
1035
- _See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/numbers/linkTwilioNumber.js)_
1061
+ _See code: [dist/commands/sipnet/numbers/linkTwilioNumber.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/linkTwilioNumber.js)_
1036
1062
 
1037
1063
  ## `fonoster sipnet:numbers:list`
1038
1064
 
@@ -1053,7 +1079,7 @@ EXAMPLES
1053
1079
  $ fonoster sipnet:numbers:list
1054
1080
  ```
1055
1081
 
1056
- _See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/numbers/list.js)_
1082
+ _See code: [dist/commands/sipnet/numbers/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/list.js)_
1057
1083
 
1058
1084
  ## `fonoster sipnet:numbers:update REF`
1059
1085
 
@@ -1076,7 +1102,7 @@ EXAMPLES
1076
1102
  $ fonoster sipnet:numbers:update
1077
1103
  ```
1078
1104
 
1079
- _See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/numbers/update.js)_
1105
+ _See code: [dist/commands/sipnet/numbers/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/numbers/update.js)_
1080
1106
 
1081
1107
  ## `fonoster sipnet:trunks:create`
1082
1108
 
@@ -1096,7 +1122,7 @@ EXAMPLES
1096
1122
  $ fonoster sipnet:trunks:create
1097
1123
  ```
1098
1124
 
1099
- _See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/trunks/create.js)_
1125
+ _See code: [dist/commands/sipnet/trunks/create.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/trunks/create.js)_
1100
1126
 
1101
1127
  ## `fonoster sipnet:trunks:delete REF`
1102
1128
 
@@ -1119,7 +1145,7 @@ EXAMPLES
1119
1145
  $ fonoster sipnet:trunks:delete
1120
1146
  ```
1121
1147
 
1122
- _See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/trunks/delete.js)_
1148
+ _See code: [dist/commands/sipnet/trunks/delete.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/trunks/delete.js)_
1123
1149
 
1124
1150
  ## `fonoster sipnet:trunks:get REF`
1125
1151
 
@@ -1142,7 +1168,7 @@ EXAMPLES
1142
1168
  $ fonoster sipnet:trunks:get
1143
1169
  ```
1144
1170
 
1145
- _See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/trunks/get.js)_
1171
+ _See code: [dist/commands/sipnet/trunks/get.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/trunks/get.js)_
1146
1172
 
1147
1173
  ## `fonoster sipnet:trunks:list`
1148
1174
 
@@ -1163,7 +1189,7 @@ EXAMPLES
1163
1189
  $ fonoster sipnet:trunks:list
1164
1190
  ```
1165
1191
 
1166
- _See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/trunks/list.js)_
1192
+ _See code: [dist/commands/sipnet/trunks/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/trunks/list.js)_
1167
1193
 
1168
1194
  ## `fonoster sipnet:trunks:update REF`
1169
1195
 
@@ -1186,7 +1212,7 @@ EXAMPLES
1186
1212
  $ fonoster sipnet:trunks:update
1187
1213
  ```
1188
1214
 
1189
- _See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/sipnet/trunks/update.js)_
1215
+ _See code: [dist/commands/sipnet/trunks/update.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/sipnet/trunks/update.js)_
1190
1216
 
1191
1217
  ## `fonoster utils:autopilotTestsCases`
1192
1218
 
@@ -1209,7 +1235,7 @@ EXAMPLES
1209
1235
  $ fonoster utils:autopilotTestsCases -f assistant.yaml
1210
1236
  ```
1211
1237
 
1212
- _See code: [dist/commands/utils/autopilotTestsCases.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/utils/autopilotTestsCases.js)_
1238
+ _See code: [dist/commands/utils/autopilotTestsCases.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/utils/autopilotTestsCases.js)_
1213
1239
 
1214
1240
  ## `fonoster workspaces:active`
1215
1241
 
@@ -1226,7 +1252,7 @@ EXAMPLES
1226
1252
  $ fonoster workspaces:active
1227
1253
  ```
1228
1254
 
1229
- _See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/workspaces/active.js)_
1255
+ _See code: [dist/commands/workspaces/active.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/workspaces/active.js)_
1230
1256
 
1231
1257
  ## `fonoster workspaces:list`
1232
1258
 
@@ -1243,7 +1269,7 @@ EXAMPLES
1243
1269
  $ fonoster workspaces:list
1244
1270
  ```
1245
1271
 
1246
- _See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/workspaces/list.js)_
1272
+ _See code: [dist/commands/workspaces/list.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/workspaces/list.js)_
1247
1273
 
1248
1274
  ## `fonoster workspaces:login`
1249
1275
 
@@ -1263,7 +1289,7 @@ EXAMPLES
1263
1289
  $ fonoster workspaces:login
1264
1290
  ```
1265
1291
 
1266
- _See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/workspaces/login.js)_
1292
+ _See code: [dist/commands/workspaces/login.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/workspaces/login.js)_
1267
1293
 
1268
1294
  ## `fonoster workspaces:logout REF`
1269
1295
 
@@ -1283,7 +1309,7 @@ EXAMPLES
1283
1309
  $ fonoster workspaces:logout
1284
1310
  ```
1285
1311
 
1286
- _See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/workspaces/logout.js)_
1312
+ _See code: [dist/commands/workspaces/logout.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/workspaces/logout.js)_
1287
1313
 
1288
1314
  ## `fonoster workspaces:use REF`
1289
1315
 
@@ -1303,5 +1329,5 @@ EXAMPLES
1303
1329
  $ fonoster workspaces:use
1304
1330
  ```
1305
1331
 
1306
- _See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.9.49/dist/commands/workspaces/use.js)_
1332
+ _See code: [dist/commands/workspaces/use.js](https://github.com/fonoster/fonoster/blob/v0.9.51/dist/commands/workspaces/use.js)_
1307
1333
  <!-- 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;
@@ -8,6 +8,7 @@ export default class Create extends AuthenticatedCommand<typeof Create> {
8
8
  "app-ref": import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
9
9
  timeout: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
10
10
  "track-call": import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
+ metadata: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
11
12
  };
12
13
  run(): Promise<void>;
13
14
  }
@@ -86,7 +86,8 @@ class Create extends AuthenticatedCommand_1.AuthenticatedCommand {
86
86
  from: this.flags["from"],
87
87
  to: this.flags["to"],
88
88
  appRef: this.flags["app-ref"],
89
- timeout: parseInt(this.flags.timeout || "30")
89
+ timeout: parseInt(this.flags.timeout || "30"),
90
+ metadata: JSON.parse(this.flags.metadata || "{}")
90
91
  };
91
92
  const response = yield calls.createCall(callRequest);
92
93
  this.log(`Call created: ${response.ref}`);
@@ -126,30 +127,35 @@ Create.examples = ["<%= config.bin %> <%= command.id %>"];
126
127
  Create.flags = {
127
128
  from: core_1.Flags.string({
128
129
  char: "f",
129
- description: "The number to make the call from",
130
+ description: "the number to make the call from",
130
131
  required: true
131
132
  }),
132
133
  to: core_1.Flags.string({
133
134
  char: "t",
134
- description: "The number to make the call to",
135
+ description: "the number to make the call to",
135
136
  required: true
136
137
  }),
137
138
  "app-ref": core_1.Flags.string({
138
139
  char: "a",
139
- description: "The application reference",
140
+ description: "the reference to the application to use",
140
141
  required: true
141
142
  }),
142
143
  timeout: core_1.Flags.string({
143
144
  char: "o",
144
- description: "The call timeout",
145
+ description: "the call timeout",
145
146
  default: "30",
146
147
  required: false
147
148
  }),
148
149
  "track-call": core_1.Flags.boolean({
149
150
  char: "c",
150
- description: "Track the call",
151
+ description: "track the call",
151
152
  default: false,
152
153
  required: false
154
+ }),
155
+ metadata: core_1.Flags.string({
156
+ char: "m",
157
+ description: 'a JSON object with metadata for the voice application (e.g. \'{"name": "John Doe"}\')',
158
+ required: false
153
159
  })
154
160
  };
155
161
  exports.default = Create;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/ctl",
3
- "version": "0.9.49",
3
+ "version": "0.9.51",
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": "8f176f86f5ed02c7e8d87e275d14e6b34fa116bd",
35
+ "gitHead": "0de025bb29e91916c4530a00ed2ba0e40eed220f",
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.49",
57
- "@fonoster/sdk": "^0.9.49",
56
+ "@fonoster/autopilot": "^0.9.51",
57
+ "@fonoster/sdk": "^0.9.51",
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",