faces-cli 1.5.7 → 1.5.8
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/dist/commands/auth/whoami.js +1 -1
- package/oclif.manifest.json +137 -137
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export default class AuthWhoami extends BaseCommand {
|
|
|
10
10
|
const client = this.makeClient(flags);
|
|
11
11
|
let data;
|
|
12
12
|
try {
|
|
13
|
-
data = await client.get('/auth/me'
|
|
13
|
+
data = await client.get('/auth/me');
|
|
14
14
|
}
|
|
15
15
|
catch (err) {
|
|
16
16
|
if (err instanceof FacesAPIError)
|
package/oclif.manifest.json
CHANGED
|
@@ -1545,16 +1545,10 @@
|
|
|
1545
1545
|
"responses.js"
|
|
1546
1546
|
]
|
|
1547
1547
|
},
|
|
1548
|
-
"
|
|
1548
|
+
"config:clear": {
|
|
1549
1549
|
"aliases": [],
|
|
1550
|
-
"args": {
|
|
1551
|
-
|
|
1552
|
-
"description": "Face alias",
|
|
1553
|
-
"name": "face_id",
|
|
1554
|
-
"required": true
|
|
1555
|
-
}
|
|
1556
|
-
},
|
|
1557
|
-
"description": "Import a YouTube video into a face via server-side download and transcription",
|
|
1550
|
+
"args": {},
|
|
1551
|
+
"description": "Delete all saved credentials and config",
|
|
1558
1552
|
"flags": {
|
|
1559
1553
|
"json": {
|
|
1560
1554
|
"description": "Format output as json.",
|
|
@@ -1587,55 +1581,16 @@
|
|
|
1587
1581
|
"multiple": false,
|
|
1588
1582
|
"type": "option"
|
|
1589
1583
|
},
|
|
1590
|
-
"
|
|
1591
|
-
"description": "
|
|
1592
|
-
"name": "
|
|
1593
|
-
"required": true,
|
|
1594
|
-
"hasDynamicHelp": false,
|
|
1595
|
-
"multiple": false,
|
|
1596
|
-
"type": "option"
|
|
1597
|
-
},
|
|
1598
|
-
"type": {
|
|
1599
|
-
"description": "\"document\" for solo talks, lectures, monologues; \"thread\" for interviews or multi-speaker conversations",
|
|
1600
|
-
"name": "type",
|
|
1601
|
-
"default": "document",
|
|
1602
|
-
"hasDynamicHelp": false,
|
|
1603
|
-
"multiple": false,
|
|
1604
|
-
"options": [
|
|
1605
|
-
"document",
|
|
1606
|
-
"thread"
|
|
1607
|
-
],
|
|
1608
|
-
"type": "option"
|
|
1609
|
-
},
|
|
1610
|
-
"perspective": {
|
|
1611
|
-
"description": "\"first-person\" if the face is the speaker; \"third-person\" if the video is about the face",
|
|
1612
|
-
"name": "perspective",
|
|
1613
|
-
"default": "third-person",
|
|
1614
|
-
"hasDynamicHelp": false,
|
|
1615
|
-
"multiple": false,
|
|
1616
|
-
"options": [
|
|
1617
|
-
"first-person",
|
|
1618
|
-
"third-person"
|
|
1619
|
-
],
|
|
1620
|
-
"type": "option"
|
|
1621
|
-
},
|
|
1622
|
-
"face-speaker": {
|
|
1623
|
-
"description": "For --type thread: AssemblyAI speaker label (e.g. \"A\") that corresponds to the face. Defaults to first detected speaker.",
|
|
1624
|
-
"name": "face-speaker",
|
|
1625
|
-
"hasDynamicHelp": false,
|
|
1626
|
-
"multiple": false,
|
|
1627
|
-
"type": "option"
|
|
1628
|
-
},
|
|
1629
|
-
"no-wait": {
|
|
1630
|
-
"description": "Return immediately after import starts (do not poll for transcription). Prints the ID for manual polling.",
|
|
1631
|
-
"name": "no-wait",
|
|
1584
|
+
"yes": {
|
|
1585
|
+
"description": "Skip confirmation",
|
|
1586
|
+
"name": "yes",
|
|
1632
1587
|
"allowNo": false,
|
|
1633
1588
|
"type": "boolean"
|
|
1634
1589
|
}
|
|
1635
1590
|
},
|
|
1636
1591
|
"hasDynamicHelp": false,
|
|
1637
1592
|
"hiddenAliases": [],
|
|
1638
|
-
"id": "
|
|
1593
|
+
"id": "config:clear",
|
|
1639
1594
|
"pluginAlias": "faces-cli",
|
|
1640
1595
|
"pluginName": "faces-cli",
|
|
1641
1596
|
"pluginType": "core",
|
|
@@ -1645,20 +1600,25 @@
|
|
|
1645
1600
|
"relativePath": [
|
|
1646
1601
|
"dist",
|
|
1647
1602
|
"commands",
|
|
1648
|
-
"
|
|
1649
|
-
"
|
|
1603
|
+
"config",
|
|
1604
|
+
"clear.js"
|
|
1650
1605
|
]
|
|
1651
1606
|
},
|
|
1652
|
-
"
|
|
1607
|
+
"config:set": {
|
|
1653
1608
|
"aliases": [],
|
|
1654
1609
|
"args": {
|
|
1655
|
-
"
|
|
1656
|
-
"description": "
|
|
1657
|
-
"name": "
|
|
1610
|
+
"key": {
|
|
1611
|
+
"description": "Config key",
|
|
1612
|
+
"name": "key",
|
|
1613
|
+
"required": true
|
|
1614
|
+
},
|
|
1615
|
+
"value": {
|
|
1616
|
+
"description": "Config value",
|
|
1617
|
+
"name": "value",
|
|
1658
1618
|
"required": true
|
|
1659
1619
|
}
|
|
1660
1620
|
},
|
|
1661
|
-
"description": "
|
|
1621
|
+
"description": "Set a config value (e.g. base_url, api_key, token)",
|
|
1662
1622
|
"flags": {
|
|
1663
1623
|
"json": {
|
|
1664
1624
|
"description": "Format output as json.",
|
|
@@ -1690,56 +1650,11 @@
|
|
|
1690
1650
|
"hasDynamicHelp": false,
|
|
1691
1651
|
"multiple": false,
|
|
1692
1652
|
"type": "option"
|
|
1693
|
-
},
|
|
1694
|
-
"file": {
|
|
1695
|
-
"description": "File to upload",
|
|
1696
|
-
"name": "file",
|
|
1697
|
-
"required": true,
|
|
1698
|
-
"hasDynamicHelp": false,
|
|
1699
|
-
"multiple": false,
|
|
1700
|
-
"type": "option"
|
|
1701
|
-
},
|
|
1702
|
-
"kind": {
|
|
1703
|
-
"description": "Upload kind: document or thread",
|
|
1704
|
-
"name": "kind",
|
|
1705
|
-
"default": "document",
|
|
1706
|
-
"hasDynamicHelp": false,
|
|
1707
|
-
"multiple": false,
|
|
1708
|
-
"options": [
|
|
1709
|
-
"document",
|
|
1710
|
-
"thread"
|
|
1711
|
-
],
|
|
1712
|
-
"type": "option"
|
|
1713
|
-
},
|
|
1714
|
-
"perspective": {
|
|
1715
|
-
"description": "Perspective (document only)",
|
|
1716
|
-
"name": "perspective",
|
|
1717
|
-
"default": "third-person",
|
|
1718
|
-
"hasDynamicHelp": false,
|
|
1719
|
-
"multiple": false,
|
|
1720
|
-
"options": [
|
|
1721
|
-
"first-person",
|
|
1722
|
-
"third-person"
|
|
1723
|
-
],
|
|
1724
|
-
"type": "option"
|
|
1725
|
-
},
|
|
1726
|
-
"face-speaker": {
|
|
1727
|
-
"description": "Speaker name to map to the face (thread only). If omitted, auto-detected from face name.",
|
|
1728
|
-
"name": "face-speaker",
|
|
1729
|
-
"hasDynamicHelp": false,
|
|
1730
|
-
"multiple": false,
|
|
1731
|
-
"type": "option"
|
|
1732
|
-
},
|
|
1733
|
-
"no-wait": {
|
|
1734
|
-
"description": "Return immediately after upload (do not poll for transcription). Prints the ID for manual polling.",
|
|
1735
|
-
"name": "no-wait",
|
|
1736
|
-
"allowNo": false,
|
|
1737
|
-
"type": "boolean"
|
|
1738
1653
|
}
|
|
1739
1654
|
},
|
|
1740
1655
|
"hasDynamicHelp": false,
|
|
1741
1656
|
"hiddenAliases": [],
|
|
1742
|
-
"id": "
|
|
1657
|
+
"id": "config:set",
|
|
1743
1658
|
"pluginAlias": "faces-cli",
|
|
1744
1659
|
"pluginName": "faces-cli",
|
|
1745
1660
|
"pluginType": "core",
|
|
@@ -1749,14 +1664,14 @@
|
|
|
1749
1664
|
"relativePath": [
|
|
1750
1665
|
"dist",
|
|
1751
1666
|
"commands",
|
|
1752
|
-
"
|
|
1753
|
-
"
|
|
1667
|
+
"config",
|
|
1668
|
+
"set.js"
|
|
1754
1669
|
]
|
|
1755
1670
|
},
|
|
1756
|
-
"config:
|
|
1671
|
+
"config:show": {
|
|
1757
1672
|
"aliases": [],
|
|
1758
1673
|
"args": {},
|
|
1759
|
-
"description": "
|
|
1674
|
+
"description": "Print current config (credentials are masked)",
|
|
1760
1675
|
"flags": {
|
|
1761
1676
|
"json": {
|
|
1762
1677
|
"description": "Format output as json.",
|
|
@@ -1788,17 +1703,11 @@
|
|
|
1788
1703
|
"hasDynamicHelp": false,
|
|
1789
1704
|
"multiple": false,
|
|
1790
1705
|
"type": "option"
|
|
1791
|
-
},
|
|
1792
|
-
"yes": {
|
|
1793
|
-
"description": "Skip confirmation",
|
|
1794
|
-
"name": "yes",
|
|
1795
|
-
"allowNo": false,
|
|
1796
|
-
"type": "boolean"
|
|
1797
1706
|
}
|
|
1798
1707
|
},
|
|
1799
1708
|
"hasDynamicHelp": false,
|
|
1800
1709
|
"hiddenAliases": [],
|
|
1801
|
-
"id": "config:
|
|
1710
|
+
"id": "config:show",
|
|
1802
1711
|
"pluginAlias": "faces-cli",
|
|
1803
1712
|
"pluginName": "faces-cli",
|
|
1804
1713
|
"pluginType": "core",
|
|
@@ -1809,24 +1718,19 @@
|
|
|
1809
1718
|
"dist",
|
|
1810
1719
|
"commands",
|
|
1811
1720
|
"config",
|
|
1812
|
-
"
|
|
1721
|
+
"show.js"
|
|
1813
1722
|
]
|
|
1814
1723
|
},
|
|
1815
|
-
"
|
|
1724
|
+
"compile:import": {
|
|
1816
1725
|
"aliases": [],
|
|
1817
1726
|
"args": {
|
|
1818
|
-
"
|
|
1819
|
-
"description": "
|
|
1820
|
-
"name": "
|
|
1821
|
-
"required": true
|
|
1822
|
-
},
|
|
1823
|
-
"value": {
|
|
1824
|
-
"description": "Config value",
|
|
1825
|
-
"name": "value",
|
|
1727
|
+
"face_id": {
|
|
1728
|
+
"description": "Face alias",
|
|
1729
|
+
"name": "face_id",
|
|
1826
1730
|
"required": true
|
|
1827
1731
|
}
|
|
1828
1732
|
},
|
|
1829
|
-
"description": "
|
|
1733
|
+
"description": "Import a YouTube video into a face via server-side download and transcription",
|
|
1830
1734
|
"flags": {
|
|
1831
1735
|
"json": {
|
|
1832
1736
|
"description": "Format output as json.",
|
|
@@ -1858,11 +1762,56 @@
|
|
|
1858
1762
|
"hasDynamicHelp": false,
|
|
1859
1763
|
"multiple": false,
|
|
1860
1764
|
"type": "option"
|
|
1765
|
+
},
|
|
1766
|
+
"url": {
|
|
1767
|
+
"description": "YouTube URL (youtube.com/watch?v=... or youtu.be/...)",
|
|
1768
|
+
"name": "url",
|
|
1769
|
+
"required": true,
|
|
1770
|
+
"hasDynamicHelp": false,
|
|
1771
|
+
"multiple": false,
|
|
1772
|
+
"type": "option"
|
|
1773
|
+
},
|
|
1774
|
+
"type": {
|
|
1775
|
+
"description": "\"document\" for solo talks, lectures, monologues; \"thread\" for interviews or multi-speaker conversations",
|
|
1776
|
+
"name": "type",
|
|
1777
|
+
"default": "document",
|
|
1778
|
+
"hasDynamicHelp": false,
|
|
1779
|
+
"multiple": false,
|
|
1780
|
+
"options": [
|
|
1781
|
+
"document",
|
|
1782
|
+
"thread"
|
|
1783
|
+
],
|
|
1784
|
+
"type": "option"
|
|
1785
|
+
},
|
|
1786
|
+
"perspective": {
|
|
1787
|
+
"description": "\"first-person\" if the face is the speaker; \"third-person\" if the video is about the face",
|
|
1788
|
+
"name": "perspective",
|
|
1789
|
+
"default": "third-person",
|
|
1790
|
+
"hasDynamicHelp": false,
|
|
1791
|
+
"multiple": false,
|
|
1792
|
+
"options": [
|
|
1793
|
+
"first-person",
|
|
1794
|
+
"third-person"
|
|
1795
|
+
],
|
|
1796
|
+
"type": "option"
|
|
1797
|
+
},
|
|
1798
|
+
"face-speaker": {
|
|
1799
|
+
"description": "For --type thread: AssemblyAI speaker label (e.g. \"A\") that corresponds to the face. Defaults to first detected speaker.",
|
|
1800
|
+
"name": "face-speaker",
|
|
1801
|
+
"hasDynamicHelp": false,
|
|
1802
|
+
"multiple": false,
|
|
1803
|
+
"type": "option"
|
|
1804
|
+
},
|
|
1805
|
+
"no-wait": {
|
|
1806
|
+
"description": "Return immediately after import starts (do not poll for transcription). Prints the ID for manual polling.",
|
|
1807
|
+
"name": "no-wait",
|
|
1808
|
+
"allowNo": false,
|
|
1809
|
+
"type": "boolean"
|
|
1861
1810
|
}
|
|
1862
1811
|
},
|
|
1863
1812
|
"hasDynamicHelp": false,
|
|
1864
1813
|
"hiddenAliases": [],
|
|
1865
|
-
"id": "
|
|
1814
|
+
"id": "compile:import",
|
|
1866
1815
|
"pluginAlias": "faces-cli",
|
|
1867
1816
|
"pluginName": "faces-cli",
|
|
1868
1817
|
"pluginType": "core",
|
|
@@ -1872,14 +1821,20 @@
|
|
|
1872
1821
|
"relativePath": [
|
|
1873
1822
|
"dist",
|
|
1874
1823
|
"commands",
|
|
1875
|
-
"
|
|
1876
|
-
"
|
|
1824
|
+
"compile",
|
|
1825
|
+
"import.js"
|
|
1877
1826
|
]
|
|
1878
1827
|
},
|
|
1879
|
-
"
|
|
1828
|
+
"compile:upload": {
|
|
1880
1829
|
"aliases": [],
|
|
1881
|
-
"args": {
|
|
1882
|
-
|
|
1830
|
+
"args": {
|
|
1831
|
+
"alias": {
|
|
1832
|
+
"description": "Face alias",
|
|
1833
|
+
"name": "alias",
|
|
1834
|
+
"required": true
|
|
1835
|
+
}
|
|
1836
|
+
},
|
|
1837
|
+
"description": "Upload a file (text/PDF/audio/video) to compile into a face",
|
|
1883
1838
|
"flags": {
|
|
1884
1839
|
"json": {
|
|
1885
1840
|
"description": "Format output as json.",
|
|
@@ -1911,11 +1866,56 @@
|
|
|
1911
1866
|
"hasDynamicHelp": false,
|
|
1912
1867
|
"multiple": false,
|
|
1913
1868
|
"type": "option"
|
|
1869
|
+
},
|
|
1870
|
+
"file": {
|
|
1871
|
+
"description": "File to upload",
|
|
1872
|
+
"name": "file",
|
|
1873
|
+
"required": true,
|
|
1874
|
+
"hasDynamicHelp": false,
|
|
1875
|
+
"multiple": false,
|
|
1876
|
+
"type": "option"
|
|
1877
|
+
},
|
|
1878
|
+
"kind": {
|
|
1879
|
+
"description": "Upload kind: document or thread",
|
|
1880
|
+
"name": "kind",
|
|
1881
|
+
"default": "document",
|
|
1882
|
+
"hasDynamicHelp": false,
|
|
1883
|
+
"multiple": false,
|
|
1884
|
+
"options": [
|
|
1885
|
+
"document",
|
|
1886
|
+
"thread"
|
|
1887
|
+
],
|
|
1888
|
+
"type": "option"
|
|
1889
|
+
},
|
|
1890
|
+
"perspective": {
|
|
1891
|
+
"description": "Perspective (document only)",
|
|
1892
|
+
"name": "perspective",
|
|
1893
|
+
"default": "third-person",
|
|
1894
|
+
"hasDynamicHelp": false,
|
|
1895
|
+
"multiple": false,
|
|
1896
|
+
"options": [
|
|
1897
|
+
"first-person",
|
|
1898
|
+
"third-person"
|
|
1899
|
+
],
|
|
1900
|
+
"type": "option"
|
|
1901
|
+
},
|
|
1902
|
+
"face-speaker": {
|
|
1903
|
+
"description": "Speaker name to map to the face (thread only). If omitted, auto-detected from face name.",
|
|
1904
|
+
"name": "face-speaker",
|
|
1905
|
+
"hasDynamicHelp": false,
|
|
1906
|
+
"multiple": false,
|
|
1907
|
+
"type": "option"
|
|
1908
|
+
},
|
|
1909
|
+
"no-wait": {
|
|
1910
|
+
"description": "Return immediately after upload (do not poll for transcription). Prints the ID for manual polling.",
|
|
1911
|
+
"name": "no-wait",
|
|
1912
|
+
"allowNo": false,
|
|
1913
|
+
"type": "boolean"
|
|
1914
1914
|
}
|
|
1915
1915
|
},
|
|
1916
1916
|
"hasDynamicHelp": false,
|
|
1917
1917
|
"hiddenAliases": [],
|
|
1918
|
-
"id": "
|
|
1918
|
+
"id": "compile:upload",
|
|
1919
1919
|
"pluginAlias": "faces-cli",
|
|
1920
1920
|
"pluginName": "faces-cli",
|
|
1921
1921
|
"pluginType": "core",
|
|
@@ -1925,8 +1925,8 @@
|
|
|
1925
1925
|
"relativePath": [
|
|
1926
1926
|
"dist",
|
|
1927
1927
|
"commands",
|
|
1928
|
-
"
|
|
1929
|
-
"
|
|
1928
|
+
"compile",
|
|
1929
|
+
"upload.js"
|
|
1930
1930
|
]
|
|
1931
1931
|
},
|
|
1932
1932
|
"face:create": {
|
|
@@ -4231,5 +4231,5 @@
|
|
|
4231
4231
|
]
|
|
4232
4232
|
}
|
|
4233
4233
|
},
|
|
4234
|
-
"version": "1.5.
|
|
4234
|
+
"version": "1.5.8"
|
|
4235
4235
|
}
|