@tpmjs/cli 0.1.3 → 0.1.5
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/LICENSE +21 -0
- package/README.md +18 -0
- package/bin/run.js +0 -0
- package/dist/commands/agent/chat.js +75 -9
- package/dist/commands/agent/chat.js.map +1 -1
- package/dist/commands/agent/create.js +74 -8
- package/dist/commands/agent/create.js.map +1 -1
- package/dist/commands/agent/delete.js +77 -9
- package/dist/commands/agent/delete.js.map +1 -1
- package/dist/commands/agent/list.js +74 -8
- package/dist/commands/agent/list.js.map +1 -1
- package/dist/commands/agent/update.js +74 -8
- package/dist/commands/agent/update.js.map +1 -1
- package/dist/commands/auth/login.js +96 -19
- package/dist/commands/auth/login.js.map +1 -1
- package/dist/commands/auth/logout.js +20 -4
- package/dist/commands/auth/logout.js.map +1 -1
- package/dist/commands/auth/status.js +80 -11
- package/dist/commands/auth/status.js.map +1 -1
- package/dist/commands/auth/whoami.js +74 -8
- package/dist/commands/auth/whoami.js.map +1 -1
- package/dist/commands/collection/add.js +74 -8
- package/dist/commands/collection/add.js.map +1 -1
- package/dist/commands/collection/create.js +74 -8
- package/dist/commands/collection/create.js.map +1 -1
- package/dist/commands/collection/delete.js +75 -9
- package/dist/commands/collection/delete.js.map +1 -1
- package/dist/commands/collection/import.js +75 -9
- package/dist/commands/collection/import.js.map +1 -1
- package/dist/commands/collection/info.d.ts +17 -0
- package/dist/commands/collection/info.js +358 -0
- package/dist/commands/collection/info.js.map +1 -0
- package/dist/commands/collection/list.js +74 -8
- package/dist/commands/collection/list.js.map +1 -1
- package/dist/commands/collection/remove.js +75 -11
- package/dist/commands/collection/remove.js.map +1 -1
- package/dist/commands/collection/update.js +74 -8
- package/dist/commands/collection/update.js.map +1 -1
- package/dist/commands/doctor.js +75 -9
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/mcp/config.js +20 -4
- package/dist/commands/mcp/config.js.map +1 -1
- package/dist/commands/mcp/serve.js +75 -9
- package/dist/commands/mcp/serve.js.map +1 -1
- package/dist/commands/playground.js +75 -9
- package/dist/commands/playground.js.map +1 -1
- package/dist/commands/publish/check.js +79 -13
- package/dist/commands/publish/check.js.map +1 -1
- package/dist/commands/publish/preview.js +20 -4
- package/dist/commands/publish/preview.js.map +1 -1
- package/dist/commands/run.d.ts +24 -0
- package/dist/commands/run.js +454 -0
- package/dist/commands/run.js.map +1 -0
- package/dist/commands/scenario/generate.d.ts +19 -0
- package/dist/commands/scenario/generate.js +633 -0
- package/dist/commands/scenario/generate.js.map +1 -0
- package/dist/commands/scenario/info.d.ts +18 -0
- package/dist/commands/scenario/info.js +636 -0
- package/dist/commands/scenario/info.js.map +1 -0
- package/dist/commands/scenario/list.d.ts +20 -0
- package/dist/commands/scenario/list.js +652 -0
- package/dist/commands/scenario/list.js.map +1 -0
- package/dist/commands/scenario/run.d.ts +18 -0
- package/dist/commands/scenario/run.js +663 -0
- package/dist/commands/scenario/run.js.map +1 -0
- package/dist/commands/scenario/test.d.ts +17 -0
- package/dist/commands/scenario/test.js +620 -0
- package/dist/commands/scenario/test.js.map +1 -0
- package/dist/commands/tool/execute.js +77 -9
- package/dist/commands/tool/execute.js.map +1 -1
- package/dist/commands/tool/info.js +84 -11
- package/dist/commands/tool/info.js.map +1 -1
- package/dist/commands/tool/init.js +23 -13
- package/dist/commands/tool/init.js.map +1 -1
- package/dist/commands/tool/search.js +75 -13
- package/dist/commands/tool/search.js.map +1 -1
- package/dist/commands/tool/trending.js +74 -8
- package/dist/commands/tool/trending.js.map +1 -1
- package/dist/commands/tool/validate.js +83 -11
- package/dist/commands/tool/validate.js.map +1 -1
- package/dist/commands/update.js +20 -4
- package/dist/commands/update.js.map +1 -1
- package/dist/hooks/init.js +1 -1
- package/dist/hooks/init.js.map +1 -1
- package/dist/index.d.ts +80 -0
- package/dist/index.js +74 -8
- package/dist/index.js.map +1 -1
- package/oclif.manifest.json +435 -1
- package/package.json +13 -12
package/oclif.manifest.json
CHANGED
|
@@ -85,6 +85,105 @@
|
|
|
85
85
|
"playground.js"
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
|
+
"run": {
|
|
89
|
+
"aliases": [],
|
|
90
|
+
"args": {},
|
|
91
|
+
"description": "Execute a tool from a collection via MCP",
|
|
92
|
+
"examples": [
|
|
93
|
+
{
|
|
94
|
+
"description": "First, list all tools in a collection",
|
|
95
|
+
"command": "<%= config.bin %> collection info ajax/unsandbox"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"description": "Execute Python code in the unsandbox collection",
|
|
99
|
+
"command": "<%= config.bin %> run -c ajax/unsandbox -t unsandbox--execute --args '{\"language\":\"python\",\"code\":\"print(42)\"}'"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"description": "Pass environment variables for tool authentication",
|
|
103
|
+
"command": "<%= config.bin %> run -c ajax/unsandbox -t unsandbox--execute -e UNSANDBOX_PUBLIC_KEY=xxx -e UNSANDBOX_SECRET_KEY=xxx --args '{\"language\":\"python\",\"code\":\"print(1)\"}'"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"description": "Output result as JSON",
|
|
107
|
+
"command": "<%= config.bin %> run -c ajax/tools -t search --args '{\"query\":\"test\"}' --json"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"description": "Show verbose output for debugging",
|
|
111
|
+
"command": "<%= config.bin %> run -c ajax/unsandbox -t unsandbox--healthCheck --args '{}' -v"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"flags": {
|
|
115
|
+
"collection": {
|
|
116
|
+
"char": "c",
|
|
117
|
+
"description": "Collection identifier (username/slug)",
|
|
118
|
+
"name": "collection",
|
|
119
|
+
"required": true,
|
|
120
|
+
"hasDynamicHelp": false,
|
|
121
|
+
"multiple": false,
|
|
122
|
+
"type": "option"
|
|
123
|
+
},
|
|
124
|
+
"tool": {
|
|
125
|
+
"char": "t",
|
|
126
|
+
"description": "Tool name (MCP format: package--toolName)",
|
|
127
|
+
"name": "tool",
|
|
128
|
+
"required": true,
|
|
129
|
+
"hasDynamicHelp": false,
|
|
130
|
+
"multiple": false,
|
|
131
|
+
"type": "option"
|
|
132
|
+
},
|
|
133
|
+
"args": {
|
|
134
|
+
"char": "a",
|
|
135
|
+
"description": "Tool arguments as JSON string",
|
|
136
|
+
"name": "args",
|
|
137
|
+
"default": "{}",
|
|
138
|
+
"hasDynamicHelp": false,
|
|
139
|
+
"multiple": false,
|
|
140
|
+
"type": "option"
|
|
141
|
+
},
|
|
142
|
+
"env": {
|
|
143
|
+
"char": "e",
|
|
144
|
+
"description": "Environment variables (key=value)",
|
|
145
|
+
"name": "env",
|
|
146
|
+
"hasDynamicHelp": false,
|
|
147
|
+
"multiple": true,
|
|
148
|
+
"type": "option"
|
|
149
|
+
},
|
|
150
|
+
"json": {
|
|
151
|
+
"description": "Output result as JSON",
|
|
152
|
+
"name": "json",
|
|
153
|
+
"allowNo": false,
|
|
154
|
+
"type": "boolean"
|
|
155
|
+
},
|
|
156
|
+
"verbose": {
|
|
157
|
+
"char": "v",
|
|
158
|
+
"description": "Show verbose output",
|
|
159
|
+
"name": "verbose",
|
|
160
|
+
"allowNo": false,
|
|
161
|
+
"type": "boolean"
|
|
162
|
+
},
|
|
163
|
+
"timeout": {
|
|
164
|
+
"description": "Request timeout in seconds",
|
|
165
|
+
"name": "timeout",
|
|
166
|
+
"default": 60,
|
|
167
|
+
"hasDynamicHelp": false,
|
|
168
|
+
"multiple": false,
|
|
169
|
+
"type": "option"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"hasDynamicHelp": false,
|
|
173
|
+
"hiddenAliases": [],
|
|
174
|
+
"id": "run",
|
|
175
|
+
"pluginAlias": "@tpmjs/cli",
|
|
176
|
+
"pluginName": "@tpmjs/cli",
|
|
177
|
+
"pluginType": "core",
|
|
178
|
+
"strict": true,
|
|
179
|
+
"enableJsonFlag": false,
|
|
180
|
+
"isESM": true,
|
|
181
|
+
"relativePath": [
|
|
182
|
+
"dist",
|
|
183
|
+
"commands",
|
|
184
|
+
"run.js"
|
|
185
|
+
]
|
|
186
|
+
},
|
|
88
187
|
"update": {
|
|
89
188
|
"aliases": [],
|
|
90
189
|
"args": {},
|
|
@@ -906,6 +1005,52 @@
|
|
|
906
1005
|
"import.js"
|
|
907
1006
|
]
|
|
908
1007
|
},
|
|
1008
|
+
"collection:info": {
|
|
1009
|
+
"aliases": [],
|
|
1010
|
+
"args": {
|
|
1011
|
+
"collection": {
|
|
1012
|
+
"description": "Collection identifier (username/slug)",
|
|
1013
|
+
"name": "collection",
|
|
1014
|
+
"required": true
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
"description": "Show collection details and list all available tools",
|
|
1018
|
+
"examples": [
|
|
1019
|
+
"<%= config.bin %> collection info ajax/unsandbox",
|
|
1020
|
+
"<%= config.bin %> collection info ajax/unsandbox --json",
|
|
1021
|
+
"<%= config.bin %> collection info ajax/unsandbox --verbose"
|
|
1022
|
+
],
|
|
1023
|
+
"flags": {
|
|
1024
|
+
"json": {
|
|
1025
|
+
"description": "Output in JSON format",
|
|
1026
|
+
"name": "json",
|
|
1027
|
+
"allowNo": false,
|
|
1028
|
+
"type": "boolean"
|
|
1029
|
+
},
|
|
1030
|
+
"verbose": {
|
|
1031
|
+
"char": "v",
|
|
1032
|
+
"description": "Show tool input schemas",
|
|
1033
|
+
"name": "verbose",
|
|
1034
|
+
"allowNo": false,
|
|
1035
|
+
"type": "boolean"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"hasDynamicHelp": false,
|
|
1039
|
+
"hiddenAliases": [],
|
|
1040
|
+
"id": "collection:info",
|
|
1041
|
+
"pluginAlias": "@tpmjs/cli",
|
|
1042
|
+
"pluginName": "@tpmjs/cli",
|
|
1043
|
+
"pluginType": "core",
|
|
1044
|
+
"strict": true,
|
|
1045
|
+
"enableJsonFlag": false,
|
|
1046
|
+
"isESM": true,
|
|
1047
|
+
"relativePath": [
|
|
1048
|
+
"dist",
|
|
1049
|
+
"commands",
|
|
1050
|
+
"collection",
|
|
1051
|
+
"info.js"
|
|
1052
|
+
]
|
|
1053
|
+
},
|
|
909
1054
|
"collection:list": {
|
|
910
1055
|
"aliases": [],
|
|
911
1056
|
"args": {},
|
|
@@ -1308,6 +1453,295 @@
|
|
|
1308
1453
|
"preview.js"
|
|
1309
1454
|
]
|
|
1310
1455
|
},
|
|
1456
|
+
"scenario:generate": {
|
|
1457
|
+
"aliases": [],
|
|
1458
|
+
"args": {
|
|
1459
|
+
"collection": {
|
|
1460
|
+
"description": "Collection ID or slug",
|
|
1461
|
+
"name": "collection",
|
|
1462
|
+
"required": true
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
"description": "Generate AI-powered scenarios for a collection",
|
|
1466
|
+
"examples": [
|
|
1467
|
+
"<%= config.bin %> <%= command.id %> my-collection",
|
|
1468
|
+
"<%= config.bin %> <%= command.id %> my-collection --count 3",
|
|
1469
|
+
"<%= config.bin %> <%= command.id %> my-collection --skip-similarity-check"
|
|
1470
|
+
],
|
|
1471
|
+
"flags": {
|
|
1472
|
+
"count": {
|
|
1473
|
+
"char": "n",
|
|
1474
|
+
"description": "Number of scenarios to generate (1-10)",
|
|
1475
|
+
"name": "count",
|
|
1476
|
+
"default": 1,
|
|
1477
|
+
"hasDynamicHelp": false,
|
|
1478
|
+
"multiple": false,
|
|
1479
|
+
"type": "option"
|
|
1480
|
+
},
|
|
1481
|
+
"skip-similarity-check": {
|
|
1482
|
+
"description": "Skip checking for similar existing scenarios",
|
|
1483
|
+
"name": "skip-similarity-check",
|
|
1484
|
+
"allowNo": false,
|
|
1485
|
+
"type": "boolean"
|
|
1486
|
+
},
|
|
1487
|
+
"json": {
|
|
1488
|
+
"description": "Output in JSON format",
|
|
1489
|
+
"name": "json",
|
|
1490
|
+
"allowNo": false,
|
|
1491
|
+
"type": "boolean"
|
|
1492
|
+
},
|
|
1493
|
+
"verbose": {
|
|
1494
|
+
"char": "v",
|
|
1495
|
+
"description": "Show verbose output",
|
|
1496
|
+
"name": "verbose",
|
|
1497
|
+
"allowNo": false,
|
|
1498
|
+
"type": "boolean"
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
"hasDynamicHelp": false,
|
|
1502
|
+
"hiddenAliases": [],
|
|
1503
|
+
"id": "scenario:generate",
|
|
1504
|
+
"pluginAlias": "@tpmjs/cli",
|
|
1505
|
+
"pluginName": "@tpmjs/cli",
|
|
1506
|
+
"pluginType": "core",
|
|
1507
|
+
"strict": true,
|
|
1508
|
+
"enableJsonFlag": false,
|
|
1509
|
+
"isESM": true,
|
|
1510
|
+
"relativePath": [
|
|
1511
|
+
"dist",
|
|
1512
|
+
"commands",
|
|
1513
|
+
"scenario",
|
|
1514
|
+
"generate.js"
|
|
1515
|
+
]
|
|
1516
|
+
},
|
|
1517
|
+
"scenario:info": {
|
|
1518
|
+
"aliases": [],
|
|
1519
|
+
"args": {
|
|
1520
|
+
"scenarioId": {
|
|
1521
|
+
"description": "Scenario ID",
|
|
1522
|
+
"name": "scenarioId",
|
|
1523
|
+
"required": true
|
|
1524
|
+
}
|
|
1525
|
+
},
|
|
1526
|
+
"description": "Show detailed information about a scenario",
|
|
1527
|
+
"examples": [
|
|
1528
|
+
"<%= config.bin %> <%= command.id %> clu123abc456",
|
|
1529
|
+
"<%= config.bin %> <%= command.id %> clu123abc456 --runs 20",
|
|
1530
|
+
"<%= config.bin %> <%= command.id %> clu123abc456 --json"
|
|
1531
|
+
],
|
|
1532
|
+
"flags": {
|
|
1533
|
+
"runs": {
|
|
1534
|
+
"char": "r",
|
|
1535
|
+
"description": "Number of recent runs to show",
|
|
1536
|
+
"name": "runs",
|
|
1537
|
+
"default": 10,
|
|
1538
|
+
"hasDynamicHelp": false,
|
|
1539
|
+
"multiple": false,
|
|
1540
|
+
"type": "option"
|
|
1541
|
+
},
|
|
1542
|
+
"json": {
|
|
1543
|
+
"description": "Output in JSON format",
|
|
1544
|
+
"name": "json",
|
|
1545
|
+
"allowNo": false,
|
|
1546
|
+
"type": "boolean"
|
|
1547
|
+
},
|
|
1548
|
+
"verbose": {
|
|
1549
|
+
"char": "v",
|
|
1550
|
+
"description": "Show verbose output",
|
|
1551
|
+
"name": "verbose",
|
|
1552
|
+
"allowNo": false,
|
|
1553
|
+
"type": "boolean"
|
|
1554
|
+
}
|
|
1555
|
+
},
|
|
1556
|
+
"hasDynamicHelp": false,
|
|
1557
|
+
"hiddenAliases": [],
|
|
1558
|
+
"id": "scenario:info",
|
|
1559
|
+
"pluginAlias": "@tpmjs/cli",
|
|
1560
|
+
"pluginName": "@tpmjs/cli",
|
|
1561
|
+
"pluginType": "core",
|
|
1562
|
+
"strict": true,
|
|
1563
|
+
"enableJsonFlag": false,
|
|
1564
|
+
"isESM": true,
|
|
1565
|
+
"relativePath": [
|
|
1566
|
+
"dist",
|
|
1567
|
+
"commands",
|
|
1568
|
+
"scenario",
|
|
1569
|
+
"info.js"
|
|
1570
|
+
]
|
|
1571
|
+
},
|
|
1572
|
+
"scenario:list": {
|
|
1573
|
+
"aliases": [],
|
|
1574
|
+
"args": {
|
|
1575
|
+
"collection": {
|
|
1576
|
+
"description": "Collection ID or slug (optional - shows all public scenarios if omitted)",
|
|
1577
|
+
"name": "collection",
|
|
1578
|
+
"required": false
|
|
1579
|
+
}
|
|
1580
|
+
},
|
|
1581
|
+
"description": "List scenarios for a collection or all public scenarios",
|
|
1582
|
+
"examples": [
|
|
1583
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1584
|
+
"<%= config.bin %> <%= command.id %> my-collection",
|
|
1585
|
+
"<%= config.bin %> <%= command.id %> --limit 20 --json"
|
|
1586
|
+
],
|
|
1587
|
+
"flags": {
|
|
1588
|
+
"limit": {
|
|
1589
|
+
"char": "l",
|
|
1590
|
+
"description": "Maximum number of results",
|
|
1591
|
+
"name": "limit",
|
|
1592
|
+
"default": 20,
|
|
1593
|
+
"hasDynamicHelp": false,
|
|
1594
|
+
"multiple": false,
|
|
1595
|
+
"type": "option"
|
|
1596
|
+
},
|
|
1597
|
+
"offset": {
|
|
1598
|
+
"char": "o",
|
|
1599
|
+
"description": "Offset for pagination",
|
|
1600
|
+
"name": "offset",
|
|
1601
|
+
"default": 0,
|
|
1602
|
+
"hasDynamicHelp": false,
|
|
1603
|
+
"multiple": false,
|
|
1604
|
+
"type": "option"
|
|
1605
|
+
},
|
|
1606
|
+
"tags": {
|
|
1607
|
+
"char": "t",
|
|
1608
|
+
"description": "Filter by tags (comma-separated)",
|
|
1609
|
+
"name": "tags",
|
|
1610
|
+
"hasDynamicHelp": false,
|
|
1611
|
+
"multiple": false,
|
|
1612
|
+
"type": "option"
|
|
1613
|
+
},
|
|
1614
|
+
"json": {
|
|
1615
|
+
"description": "Output in JSON format",
|
|
1616
|
+
"name": "json",
|
|
1617
|
+
"allowNo": false,
|
|
1618
|
+
"type": "boolean"
|
|
1619
|
+
},
|
|
1620
|
+
"verbose": {
|
|
1621
|
+
"char": "v",
|
|
1622
|
+
"description": "Show verbose output",
|
|
1623
|
+
"name": "verbose",
|
|
1624
|
+
"allowNo": false,
|
|
1625
|
+
"type": "boolean"
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
"hasDynamicHelp": false,
|
|
1629
|
+
"hiddenAliases": [],
|
|
1630
|
+
"id": "scenario:list",
|
|
1631
|
+
"pluginAlias": "@tpmjs/cli",
|
|
1632
|
+
"pluginName": "@tpmjs/cli",
|
|
1633
|
+
"pluginType": "core",
|
|
1634
|
+
"strict": true,
|
|
1635
|
+
"enableJsonFlag": false,
|
|
1636
|
+
"isESM": true,
|
|
1637
|
+
"relativePath": [
|
|
1638
|
+
"dist",
|
|
1639
|
+
"commands",
|
|
1640
|
+
"scenario",
|
|
1641
|
+
"list.js"
|
|
1642
|
+
]
|
|
1643
|
+
},
|
|
1644
|
+
"scenario:run": {
|
|
1645
|
+
"aliases": [],
|
|
1646
|
+
"args": {
|
|
1647
|
+
"collection": {
|
|
1648
|
+
"description": "Collection ID or slug",
|
|
1649
|
+
"name": "collection",
|
|
1650
|
+
"required": true
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
"description": "Run all scenarios for a collection",
|
|
1654
|
+
"examples": [
|
|
1655
|
+
"<%= config.bin %> <%= command.id %> my-collection",
|
|
1656
|
+
"<%= config.bin %> <%= command.id %> my-collection --json",
|
|
1657
|
+
"<%= config.bin %> <%= command.id %> my-collection --verbose"
|
|
1658
|
+
],
|
|
1659
|
+
"flags": {
|
|
1660
|
+
"json": {
|
|
1661
|
+
"description": "Output in JSON format",
|
|
1662
|
+
"name": "json",
|
|
1663
|
+
"allowNo": false,
|
|
1664
|
+
"type": "boolean"
|
|
1665
|
+
},
|
|
1666
|
+
"verbose": {
|
|
1667
|
+
"char": "v",
|
|
1668
|
+
"description": "Show verbose output",
|
|
1669
|
+
"name": "verbose",
|
|
1670
|
+
"allowNo": false,
|
|
1671
|
+
"type": "boolean"
|
|
1672
|
+
},
|
|
1673
|
+
"limit": {
|
|
1674
|
+
"char": "l",
|
|
1675
|
+
"description": "Maximum number of scenarios to run",
|
|
1676
|
+
"name": "limit",
|
|
1677
|
+
"default": 50,
|
|
1678
|
+
"hasDynamicHelp": false,
|
|
1679
|
+
"multiple": false,
|
|
1680
|
+
"type": "option"
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
"hasDynamicHelp": false,
|
|
1684
|
+
"hiddenAliases": [],
|
|
1685
|
+
"id": "scenario:run",
|
|
1686
|
+
"pluginAlias": "@tpmjs/cli",
|
|
1687
|
+
"pluginName": "@tpmjs/cli",
|
|
1688
|
+
"pluginType": "core",
|
|
1689
|
+
"strict": true,
|
|
1690
|
+
"enableJsonFlag": false,
|
|
1691
|
+
"isESM": true,
|
|
1692
|
+
"relativePath": [
|
|
1693
|
+
"dist",
|
|
1694
|
+
"commands",
|
|
1695
|
+
"scenario",
|
|
1696
|
+
"run.js"
|
|
1697
|
+
]
|
|
1698
|
+
},
|
|
1699
|
+
"scenario:test": {
|
|
1700
|
+
"aliases": [],
|
|
1701
|
+
"args": {
|
|
1702
|
+
"scenarioId": {
|
|
1703
|
+
"description": "Scenario ID to run",
|
|
1704
|
+
"name": "scenarioId",
|
|
1705
|
+
"required": true
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
"description": "Run a single scenario by ID",
|
|
1709
|
+
"examples": [
|
|
1710
|
+
"<%= config.bin %> <%= command.id %> clu123abc456",
|
|
1711
|
+
"<%= config.bin %> <%= command.id %> clu123abc456 --json",
|
|
1712
|
+
"<%= config.bin %> <%= command.id %> clu123abc456 --verbose"
|
|
1713
|
+
],
|
|
1714
|
+
"flags": {
|
|
1715
|
+
"json": {
|
|
1716
|
+
"description": "Output in JSON format",
|
|
1717
|
+
"name": "json",
|
|
1718
|
+
"allowNo": false,
|
|
1719
|
+
"type": "boolean"
|
|
1720
|
+
},
|
|
1721
|
+
"verbose": {
|
|
1722
|
+
"char": "v",
|
|
1723
|
+
"description": "Show verbose output including full reason",
|
|
1724
|
+
"name": "verbose",
|
|
1725
|
+
"allowNo": false,
|
|
1726
|
+
"type": "boolean"
|
|
1727
|
+
}
|
|
1728
|
+
},
|
|
1729
|
+
"hasDynamicHelp": false,
|
|
1730
|
+
"hiddenAliases": [],
|
|
1731
|
+
"id": "scenario:test",
|
|
1732
|
+
"pluginAlias": "@tpmjs/cli",
|
|
1733
|
+
"pluginName": "@tpmjs/cli",
|
|
1734
|
+
"pluginType": "core",
|
|
1735
|
+
"strict": true,
|
|
1736
|
+
"enableJsonFlag": false,
|
|
1737
|
+
"isESM": true,
|
|
1738
|
+
"relativePath": [
|
|
1739
|
+
"dist",
|
|
1740
|
+
"commands",
|
|
1741
|
+
"scenario",
|
|
1742
|
+
"test.js"
|
|
1743
|
+
]
|
|
1744
|
+
},
|
|
1311
1745
|
"tool:execute": {
|
|
1312
1746
|
"aliases": [],
|
|
1313
1747
|
"args": {
|
|
@@ -1695,5 +2129,5 @@
|
|
|
1695
2129
|
]
|
|
1696
2130
|
}
|
|
1697
2131
|
},
|
|
1698
|
-
"version": "0.1.
|
|
2132
|
+
"version": "0.1.5"
|
|
1699
2133
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tpmjs/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "TPMJS command-line interface for AI tool discovery and execution",
|
|
5
5
|
"author": "TPMJS",
|
|
6
6
|
"license": "MIT",
|
|
@@ -55,6 +55,9 @@
|
|
|
55
55
|
"collection": {
|
|
56
56
|
"description": "Collection management"
|
|
57
57
|
},
|
|
58
|
+
"scenario": {
|
|
59
|
+
"description": "Test scenario management and execution"
|
|
60
|
+
},
|
|
58
61
|
"auth": {
|
|
59
62
|
"description": "Authentication"
|
|
60
63
|
},
|
|
@@ -67,14 +70,6 @@
|
|
|
67
70
|
},
|
|
68
71
|
"topicSeparator": " "
|
|
69
72
|
},
|
|
70
|
-
"scripts": {
|
|
71
|
-
"build": "tsup && oclif manifest",
|
|
72
|
-
"dev": "tsup --watch",
|
|
73
|
-
"type-check": "tsc --noEmit",
|
|
74
|
-
"clean": "rm -rf dist .turbo oclif.manifest.json",
|
|
75
|
-
"postpack": "rm -f oclif.manifest.json",
|
|
76
|
-
"prepack": "pnpm build"
|
|
77
|
-
},
|
|
78
73
|
"dependencies": {
|
|
79
74
|
"@oclif/core": "^4.2.10",
|
|
80
75
|
"@oclif/plugin-help": "^6.2.27",
|
|
@@ -88,16 +83,22 @@
|
|
|
88
83
|
"cli-table3": "^0.6.5"
|
|
89
84
|
},
|
|
90
85
|
"devDependencies": {
|
|
91
|
-
"@tpmjs/tsconfig": "workspace:*",
|
|
92
86
|
"@types/node": "^22.15.29",
|
|
93
87
|
"oclif": "^4.17.35",
|
|
94
88
|
"tsup": "^8.5.1",
|
|
95
|
-
"typescript": "^5.9.3"
|
|
89
|
+
"typescript": "^5.9.3",
|
|
90
|
+
"@tpmjs/tsconfig": "0.0.0"
|
|
96
91
|
},
|
|
97
92
|
"publishConfig": {
|
|
98
93
|
"access": "public"
|
|
99
94
|
},
|
|
100
95
|
"engines": {
|
|
101
96
|
"node": ">=18.0.0"
|
|
97
|
+
},
|
|
98
|
+
"scripts": {
|
|
99
|
+
"build": "tsup && oclif manifest",
|
|
100
|
+
"dev": "tsup --watch",
|
|
101
|
+
"type-check": "tsc --noEmit",
|
|
102
|
+
"clean": "rm -rf dist .turbo oclif.manifest.json"
|
|
102
103
|
}
|
|
103
|
-
}
|
|
104
|
+
}
|