@thingd/cli 0.49.7 → 0.49.9
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/interactive.js +7 -7
- package/package.json +2 -2
package/dist/interactive.js
CHANGED
|
@@ -1586,14 +1586,14 @@ async function handleConnect(node) {
|
|
|
1586
1586
|
}
|
|
1587
1587
|
viewerLines = [
|
|
1588
1588
|
pc.yellow("No cloud instances found."),
|
|
1589
|
-
pc.dim("Create one at https://thingd.cloud, or enter the
|
|
1589
|
+
pc.dim("Create one at https://thingd.cloud, or enter the Cloud URL manually."),
|
|
1590
1590
|
];
|
|
1591
1591
|
draw();
|
|
1592
1592
|
}
|
|
1593
1593
|
catch {
|
|
1594
1594
|
viewerLines = [
|
|
1595
1595
|
pc.yellow("Could not fetch cloud instances."),
|
|
1596
|
-
pc.dim("Enter the
|
|
1596
|
+
pc.dim("Enter the Cloud URL manually."),
|
|
1597
1597
|
];
|
|
1598
1598
|
draw();
|
|
1599
1599
|
}
|
|
@@ -1627,7 +1627,7 @@ async function handleConnect(node) {
|
|
|
1627
1627
|
: [
|
|
1628
1628
|
{
|
|
1629
1629
|
id: "url",
|
|
1630
|
-
label: "
|
|
1630
|
+
label: "Cloud URL (from thingd.cloud dashboard)",
|
|
1631
1631
|
value: "",
|
|
1632
1632
|
},
|
|
1633
1633
|
{
|
|
@@ -1645,16 +1645,16 @@ async function handleConnect(node) {
|
|
|
1645
1645
|
},
|
|
1646
1646
|
]),
|
|
1647
1647
|
], async (vals) => {
|
|
1648
|
-
let
|
|
1648
|
+
let cloudUrl;
|
|
1649
1649
|
if (selectedDriver === "cloud") {
|
|
1650
1650
|
if (isCloudWithConfig) {
|
|
1651
1651
|
// Construct URL from project + instance slugs
|
|
1652
|
-
|
|
1652
|
+
cloudUrl = `${baseUrl}/mcp/${encodeURIComponent(vals.project || "")}/${encodeURIComponent(vals.instance || "")}`;
|
|
1653
1653
|
}
|
|
1654
1654
|
else {
|
|
1655
|
-
|
|
1655
|
+
cloudUrl = vals.url || "";
|
|
1656
1656
|
}
|
|
1657
|
-
await connectToDriver(selectedDriver,
|
|
1657
|
+
await connectToDriver(selectedDriver, cloudUrl, cloudUrl, vals.token);
|
|
1658
1658
|
}
|
|
1659
1659
|
else {
|
|
1660
1660
|
await connectToDriver(selectedDriver, vals.path || "", undefined, undefined);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thingd/cli",
|
|
3
|
-
"version": "0.49.
|
|
3
|
+
"version": "0.49.9",
|
|
4
4
|
"description": "CLI, Interactive TUI Dashboard, and MCP server for thingd — a fast object-first data engine for applications and AI agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://engine.thingd.cloud",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"cli-table3": "^0.6.5",
|
|
46
46
|
"picocolors": "^1.1.1",
|
|
47
47
|
"zod": "^4.4.3",
|
|
48
|
-
"@thingd/sdk": "0.49.
|
|
48
|
+
"@thingd/sdk": "0.49.9"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=24.0.0"
|