@topolo/cli 0.6.7 → 0.6.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/index.js +17 -7
- package/package.json +17 -17
package/dist/index.js
CHANGED
|
@@ -754,7 +754,9 @@ var APPLICATIONS = {
|
|
|
754
754
|
"domains": [
|
|
755
755
|
"developers.topolo.app"
|
|
756
756
|
],
|
|
757
|
-
"routes": [
|
|
757
|
+
"routes": [
|
|
758
|
+
"developers.topolo.app"
|
|
759
|
+
],
|
|
758
760
|
"appId": "developers"
|
|
759
761
|
},
|
|
760
762
|
{
|
|
@@ -1442,7 +1444,9 @@ var APPLICATIONS = {
|
|
|
1442
1444
|
"domains": [
|
|
1443
1445
|
"people.topolo.app"
|
|
1444
1446
|
],
|
|
1445
|
-
"routes": [
|
|
1447
|
+
"routes": [
|
|
1448
|
+
"people.topolo.app"
|
|
1449
|
+
],
|
|
1446
1450
|
"appId": "people"
|
|
1447
1451
|
},
|
|
1448
1452
|
{
|
|
@@ -1521,7 +1525,9 @@ var APPLICATIONS = {
|
|
|
1521
1525
|
"domains": [
|
|
1522
1526
|
"roadmapper.topolo.app"
|
|
1523
1527
|
],
|
|
1524
|
-
"routes": [
|
|
1528
|
+
"routes": [
|
|
1529
|
+
"roadmapper.topolo.app"
|
|
1530
|
+
],
|
|
1525
1531
|
"appId": "roadmapper"
|
|
1526
1532
|
},
|
|
1527
1533
|
{
|
|
@@ -1551,7 +1557,9 @@ var APPLICATIONS = {
|
|
|
1551
1557
|
"domains": [
|
|
1552
1558
|
"sign.topolo.app"
|
|
1553
1559
|
],
|
|
1554
|
-
"routes": [
|
|
1560
|
+
"routes": [
|
|
1561
|
+
"sign.topolo.app"
|
|
1562
|
+
],
|
|
1555
1563
|
"appId": "sign"
|
|
1556
1564
|
},
|
|
1557
1565
|
{
|
|
@@ -1665,7 +1673,9 @@ var APPLICATIONS = {
|
|
|
1665
1673
|
"domains": [
|
|
1666
1674
|
"spaces.topolo.app"
|
|
1667
1675
|
],
|
|
1668
|
-
"routes": [
|
|
1676
|
+
"routes": [
|
|
1677
|
+
"spaces.topolo.app"
|
|
1678
|
+
],
|
|
1669
1679
|
"appId": "spaces"
|
|
1670
1680
|
},
|
|
1671
1681
|
{
|
|
@@ -5089,13 +5099,13 @@ function registerActionsCommand(program2) {
|
|
|
5089
5099
|
fail(err, mode);
|
|
5090
5100
|
}
|
|
5091
5101
|
});
|
|
5092
|
-
actions.command("capabilities").description("
|
|
5102
|
+
actions.command("capabilities").description("List every published action for one application (its capability contract)").option("-s, --service <service>", "App id, slug, or name").option("--json", "Output JSON").option("--no-json", "Output human-readable table").action(async (opts, command) => {
|
|
5093
5103
|
const mode = resolveOutputMode(opts.json ?? command.parent?.opts().json);
|
|
5094
5104
|
try {
|
|
5095
5105
|
const topolo = await requiredClient();
|
|
5096
5106
|
const service = opts.service || command.parent?.opts().service;
|
|
5097
5107
|
if (!service?.trim()) throw new Error("--service is required for capability discovery");
|
|
5098
|
-
const result = await topolo.client.searchActions({ service: service.trim(),
|
|
5108
|
+
const result = await topolo.client.searchActions({ service: service.trim(), limit: 100 });
|
|
5099
5109
|
emit(result, mode, () => formatActionRows(result.actions, result.page.nextCursor));
|
|
5100
5110
|
} catch (err) {
|
|
5101
5111
|
fail(err, mode);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topolo/cli",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"topoloPublishedVersion": "0.6.
|
|
3
|
+
"version": "0.6.8",
|
|
4
|
+
"topoloPublishedVersion": "0.6.8",
|
|
5
5
|
"description": "Command-line interface for Topolo developers, operators, and agents, with internal first-party scaffolding available under the topolo platform namespace.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
@@ -11,20 +11,6 @@
|
|
|
11
11
|
"dist",
|
|
12
12
|
"skills"
|
|
13
13
|
],
|
|
14
|
-
"dependencies": {
|
|
15
|
-
"commander": "^12.1.0"
|
|
16
|
-
},
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@topolo/sdk": "file:../topolo-sdk",
|
|
19
|
-
"@types/node": "^20.12.0",
|
|
20
|
-
"@vitest/coverage-v8": "3.2.6",
|
|
21
|
-
"tsup": "^8.0.0",
|
|
22
|
-
"typescript": "^5.4.0",
|
|
23
|
-
"vitest": "3.2.6"
|
|
24
|
-
},
|
|
25
|
-
"engines": {
|
|
26
|
-
"node": ">=20"
|
|
27
|
-
},
|
|
28
14
|
"scripts": {
|
|
29
15
|
"build:sdk": "python3 ../../tooling/with-resource-lock.py ../topolo-sdk -- pnpm --dir ../topolo-sdk build",
|
|
30
16
|
"prebuild": "pnpm run build:sdk",
|
|
@@ -38,5 +24,19 @@
|
|
|
38
24
|
"test:watch": "vitest",
|
|
39
25
|
"precoverage": "pnpm run build:sdk",
|
|
40
26
|
"coverage": "vitest run --coverage"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"commander": "^12.1.0"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@topolo/sdk": "file:../topolo-sdk",
|
|
33
|
+
"@types/node": "^20.12.0",
|
|
34
|
+
"@vitest/coverage-v8": "3.2.6",
|
|
35
|
+
"tsup": "^8.0.0",
|
|
36
|
+
"typescript": "^5.4.0",
|
|
37
|
+
"vitest": "3.2.6"
|
|
38
|
+
},
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=20"
|
|
41
41
|
}
|
|
42
|
-
}
|
|
42
|
+
}
|