@runloop/rl-cli 1.7.1 → 1.9.0
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/README.md +19 -5
- package/dist/cli.js +0 -0
- package/dist/commands/blueprint/delete.js +21 -0
- package/dist/commands/blueprint/list.js +226 -174
- package/dist/commands/blueprint/prune.js +13 -28
- package/dist/commands/devbox/create.js +41 -0
- package/dist/commands/devbox/list.js +125 -109
- package/dist/commands/devbox/tunnel.js +4 -19
- package/dist/commands/gateway-config/create.js +44 -0
- package/dist/commands/gateway-config/delete.js +21 -0
- package/dist/commands/gateway-config/get.js +15 -0
- package/dist/commands/gateway-config/list.js +493 -0
- package/dist/commands/gateway-config/update.js +60 -0
- package/dist/commands/menu.js +2 -1
- package/dist/commands/secret/list.js +379 -4
- package/dist/commands/snapshot/list.js +11 -2
- package/dist/commands/snapshot/prune.js +265 -0
- package/dist/components/BenchmarkMenu.js +108 -0
- package/dist/components/DetailedInfoView.js +20 -0
- package/dist/components/DevboxActionsMenu.js +9 -61
- package/dist/components/DevboxCreatePage.js +531 -14
- package/dist/components/DevboxDetailPage.js +27 -22
- package/dist/components/GatewayConfigCreatePage.js +265 -0
- package/dist/components/LogsViewer.js +6 -40
- package/dist/components/MainMenu.js +63 -22
- package/dist/components/ResourceDetailPage.js +143 -160
- package/dist/components/ResourceListView.js +3 -33
- package/dist/components/ResourcePicker.js +220 -0
- package/dist/components/SecretCreatePage.js +183 -0
- package/dist/components/SettingsMenu.js +95 -0
- package/dist/components/StateHistory.js +1 -20
- package/dist/components/StatusBadge.js +80 -0
- package/dist/components/StreamingLogsViewer.js +8 -42
- package/dist/components/form/FormTextInput.js +4 -2
- package/dist/components/resourceDetailTypes.js +18 -0
- package/dist/hooks/useInputHandler.js +103 -0
- package/dist/router/Router.js +99 -2
- package/dist/screens/BenchmarkDetailScreen.js +163 -0
- package/dist/screens/BenchmarkJobCreateScreen.js +524 -0
- package/dist/screens/BenchmarkJobDetailScreen.js +614 -0
- package/dist/screens/BenchmarkJobListScreen.js +479 -0
- package/dist/screens/BenchmarkListScreen.js +266 -0
- package/dist/screens/BenchmarkMenuScreen.js +29 -0
- package/dist/screens/BenchmarkRunDetailScreen.js +425 -0
- package/dist/screens/BenchmarkRunListScreen.js +275 -0
- package/dist/screens/BlueprintDetailScreen.js +5 -1
- package/dist/screens/DevboxCreateScreen.js +2 -2
- package/dist/screens/GatewayConfigDetailScreen.js +236 -0
- package/dist/screens/GatewayConfigListScreen.js +7 -0
- package/dist/screens/MenuScreen.js +5 -2
- package/dist/screens/ScenarioRunDetailScreen.js +226 -0
- package/dist/screens/ScenarioRunListScreen.js +245 -0
- package/dist/screens/SecretCreateScreen.js +7 -0
- package/dist/screens/SecretDetailScreen.js +198 -0
- package/dist/screens/SecretListScreen.js +7 -0
- package/dist/screens/SettingsMenuScreen.js +26 -0
- package/dist/screens/SnapshotDetailScreen.js +6 -0
- package/dist/services/agentService.js +42 -0
- package/dist/services/benchmarkJobService.js +122 -0
- package/dist/services/benchmarkService.js +120 -0
- package/dist/services/gatewayConfigService.js +114 -0
- package/dist/services/scenarioService.js +34 -0
- package/dist/store/benchmarkJobStore.js +66 -0
- package/dist/store/benchmarkStore.js +183 -0
- package/dist/store/betaFeatureStore.js +47 -0
- package/dist/store/gatewayConfigStore.js +83 -0
- package/dist/store/index.js +1 -0
- package/dist/utils/browser.js +22 -0
- package/dist/utils/clipboard.js +41 -0
- package/dist/utils/commands.js +80 -0
- package/dist/utils/config.js +8 -0
- package/dist/utils/time.js +121 -0
- package/package.json +42 -43
package/package.json
CHANGED
|
@@ -1,32 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runloop/rl-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Beautiful CLI for the Runloop platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"rli": "./dist/cli.js"
|
|
8
8
|
},
|
|
9
|
-
"scripts": {
|
|
10
|
-
"build": "tsc",
|
|
11
|
-
"build:mcp": "npm run build && node scripts/build-mcp.js",
|
|
12
|
-
"dev": "tsc --watch",
|
|
13
|
-
"start": "node dist/cli.js",
|
|
14
|
-
"prepublishOnly": "npm run build",
|
|
15
|
-
"version:patch": "npm version patch",
|
|
16
|
-
"version:minor": "npm version minor",
|
|
17
|
-
"version:major": "npm version major",
|
|
18
|
-
"release": "npm run build && npm publish",
|
|
19
|
-
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\"",
|
|
20
|
-
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json}\"",
|
|
21
|
-
"lint": "eslint src --ext .ts,.tsx",
|
|
22
|
-
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
23
|
-
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
|
|
24
|
-
"test:watch": "NODE_OPTIONS='--experimental-vm-modules' jest --watch",
|
|
25
|
-
"test:coverage": "NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
|
|
26
|
-
"test:components": "NODE_OPTIONS='--experimental-vm-modules' jest --config jest.components.config.js --coverage --forceExit",
|
|
27
|
-
"docs:commands": "npm run build && node scripts/generate-command-docs.js",
|
|
28
|
-
"prepare": "husky"
|
|
29
|
-
},
|
|
30
9
|
"keywords": [
|
|
31
10
|
"runloop",
|
|
32
11
|
"cli",
|
|
@@ -66,44 +45,64 @@
|
|
|
66
45
|
"access": "public"
|
|
67
46
|
},
|
|
68
47
|
"dependencies": {
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"
|
|
73
|
-
"
|
|
48
|
+
"@js-temporal/polyfill": "^0.5.1",
|
|
49
|
+
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
50
|
+
"@runloop/api-client": "1.6.0",
|
|
51
|
+
"@types/express": "^5.0.6",
|
|
52
|
+
"chalk": "^5.6.2",
|
|
53
|
+
"commander": "^14.0.2",
|
|
74
54
|
"conf": "^15.0.2",
|
|
75
55
|
"dotenv": "^17.2.3",
|
|
76
|
-
"express": "^5.1
|
|
56
|
+
"express": "^5.2.1",
|
|
77
57
|
"figures": "^6.1.0",
|
|
78
58
|
"gradient-string": "^3.0.0",
|
|
79
|
-
"ink": "^6.
|
|
59
|
+
"ink": "^6.6.0",
|
|
80
60
|
"ink-big-text": "^2.0.0",
|
|
81
61
|
"ink-gradient": "^3.0.0",
|
|
82
62
|
"ink-link": "^5.0.0",
|
|
83
63
|
"ink-spinner": "^5.0.0",
|
|
84
64
|
"ink-text-input": "^6.0.0",
|
|
85
65
|
"react": "19.2.0",
|
|
86
|
-
"yaml": "^2.8.
|
|
87
|
-
"zustand": "^5.0.
|
|
66
|
+
"yaml": "^2.8.2",
|
|
67
|
+
"zustand": "^5.0.10"
|
|
88
68
|
},
|
|
89
69
|
"devDependencies": {
|
|
90
70
|
"@anthropic-ai/mcpb": "^2.1.2",
|
|
91
|
-
"@types/jest": "^29.5.
|
|
92
|
-
"@types/node": "^22.7
|
|
93
|
-
"@types/react": "^19.2.
|
|
94
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
95
|
-
"@typescript-eslint/parser": "^8.
|
|
71
|
+
"@types/jest": "^29.5.14",
|
|
72
|
+
"@types/node": "^22.19.7",
|
|
73
|
+
"@types/react": "^19.2.10",
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
75
|
+
"@typescript-eslint/parser": "^8.54.0",
|
|
96
76
|
"esbuild": "^0.27.2",
|
|
97
|
-
"eslint": "^9.
|
|
77
|
+
"eslint": "^9.39.2",
|
|
98
78
|
"eslint-plugin-react": "^7.37.5",
|
|
99
79
|
"eslint-plugin-react-hooks": "^6.1.1",
|
|
100
|
-
"globals": "^16.
|
|
80
|
+
"globals": "^16.5.0",
|
|
101
81
|
"husky": "^9.1.7",
|
|
102
82
|
"ink-testing-library": "^4.0.0",
|
|
103
83
|
"jest": "^29.7.0",
|
|
104
|
-
"prettier": "^3.
|
|
105
|
-
"ts-jest": "^29.
|
|
106
|
-
"ts-node": "^10.9.
|
|
107
|
-
"typescript": "^5.
|
|
84
|
+
"prettier": "^3.8.1",
|
|
85
|
+
"ts-jest": "^29.4.6",
|
|
86
|
+
"ts-node": "^10.9.2",
|
|
87
|
+
"typescript": "^5.9.3"
|
|
88
|
+
},
|
|
89
|
+
"scripts": {
|
|
90
|
+
"build": "tsc",
|
|
91
|
+
"build:mcp": "pnpm run build && node scripts/build-mcp.js",
|
|
92
|
+
"dev": "tsc --watch",
|
|
93
|
+
"start": "node dist/cli.js",
|
|
94
|
+
"version:patch": "pnpm version patch",
|
|
95
|
+
"version:minor": "pnpm version minor",
|
|
96
|
+
"version:major": "pnpm version major",
|
|
97
|
+
"release": "pnpm run build && pnpm publish",
|
|
98
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\"",
|
|
99
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json}\"",
|
|
100
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
101
|
+
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
102
|
+
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
|
|
103
|
+
"test:watch": "NODE_OPTIONS='--experimental-vm-modules' jest --watch",
|
|
104
|
+
"test:coverage": "NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
|
|
105
|
+
"test:components": "NODE_OPTIONS='--experimental-vm-modules' jest --config jest.components.config.js --coverage --forceExit",
|
|
106
|
+
"docs:commands": "pnpm run build && node scripts/generate-command-docs.js"
|
|
108
107
|
}
|
|
109
|
-
}
|
|
108
|
+
}
|