@dench.com/cli 3.12.18-staging.1346 → 3.12.19
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/package.json +1 -1
- package/tools.ts +10 -2
package/package.json
CHANGED
package/tools.ts
CHANGED
|
@@ -356,7 +356,7 @@ async function runStatusSubcommand(ctx: ToolCliContext): Promise<void> {
|
|
|
356
356
|
toolkitsPayload = await callGateway(
|
|
357
357
|
ctx,
|
|
358
358
|
"GET",
|
|
359
|
-
`/v1/composio/toolkits?search=${search}`,
|
|
359
|
+
`/v1/composio/toolkits?search=${search}&include_no_auth=1`,
|
|
360
360
|
);
|
|
361
361
|
}
|
|
362
362
|
|
|
@@ -1345,6 +1345,10 @@ function formatSearchResult(searchResult: unknown, compact = false): string {
|
|
|
1345
1345
|
stringField(tool, "toolkit_slug") ??
|
|
1346
1346
|
stringField(asRecord(tool.toolkit), "slug", "name") ??
|
|
1347
1347
|
"unknown";
|
|
1348
|
+
const isNoAuth =
|
|
1349
|
+
booleanField(asRecord(tool.connection_status), "no_auth") ??
|
|
1350
|
+
booleanField(tool, "no_auth") ??
|
|
1351
|
+
false;
|
|
1348
1352
|
const isConnected =
|
|
1349
1353
|
booleanField(asRecord(tool.connection_status), "is_connected") ??
|
|
1350
1354
|
connectedSet.has(toolkit.toLowerCase());
|
|
@@ -1354,7 +1358,11 @@ function formatSearchResult(searchResult: unknown, compact = false): string {
|
|
|
1354
1358
|
lines.push(
|
|
1355
1359
|
`${index + 1}. ${slug} - ${name}`,
|
|
1356
1360
|
` toolkit: ${toolkit} | ${toolAccessHint(slug)} | ${
|
|
1357
|
-
|
|
1361
|
+
isNoAuth
|
|
1362
|
+
? "no auth required"
|
|
1363
|
+
: isConnected
|
|
1364
|
+
? "connected"
|
|
1365
|
+
: "not connected"
|
|
1358
1366
|
}`,
|
|
1359
1367
|
);
|
|
1360
1368
|
if (description) lines.push(` ${description}`);
|