@trigguard/cli 0.1.1
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 +70 -0
- package/data/execution-surfaces.json +28 -0
- package/dist/auth.js +20 -0
- package/dist/commands/authorize.d.ts +1 -0
- package/dist/commands/authorize.js +99 -0
- package/dist/commands/chaos.d.ts +1 -0
- package/dist/commands/chaos.js +35 -0
- package/dist/commands/dev.d.ts +1 -0
- package/dist/commands/dev.js +27 -0
- package/dist/commands/doctor.d.ts +1 -0
- package/dist/commands/doctor.js +50 -0
- package/dist/commands/log.d.ts +3 -0
- package/dist/commands/log.js +119 -0
- package/dist/commands/logMonitor.d.ts +1 -0
- package/dist/commands/logMonitor.js +65 -0
- package/dist/commands/login-web.d.ts +1 -0
- package/dist/commands/login-web.js +80 -0
- package/dist/commands/policy-distribution.d.ts +10 -0
- package/dist/commands/policy-distribution.js +108 -0
- package/dist/commands/policy-runtime.d.ts +4 -0
- package/dist/commands/policy-runtime.js +61 -0
- package/dist/commands/policy.d.ts +1 -0
- package/dist/commands/policy.js +123 -0
- package/dist/commands/policyLifecycle.d.ts +13 -0
- package/dist/commands/policyLifecycle.js +601 -0
- package/dist/commands/receiptFetch.d.ts +1 -0
- package/dist/commands/receiptFetch.js +44 -0
- package/dist/commands/receiptProof.d.ts +1 -0
- package/dist/commands/receiptProof.js +43 -0
- package/dist/commands/replay.d.ts +2 -0
- package/dist/commands/replay.js +130 -0
- package/dist/commands/session.d.ts +6 -0
- package/dist/commands/session.js +280 -0
- package/dist/commands/simulate.d.ts +5 -0
- package/dist/commands/simulate.js +89 -0
- package/dist/commands/tg-authorize.d.ts +12 -0
- package/dist/commands/tg-authorize.js +191 -0
- package/dist/commands/tg-init.d.ts +1 -0
- package/dist/commands/tg-init.js +149 -0
- package/dist/commands/tg-setup.d.ts +1 -0
- package/dist/commands/tg-setup.js +43 -0
- package/dist/commands/tg-surfaces.d.ts +7 -0
- package/dist/commands/tg-surfaces.js +50 -0
- package/dist/commands/tg-verify.d.ts +1 -0
- package/dist/commands/tg-verify.js +118 -0
- package/dist/commands/transparency.d.ts +2 -0
- package/dist/commands/transparency.js +65 -0
- package/dist/commands/verify.d.ts +1 -0
- package/dist/commands/verify.js +127 -0
- package/dist/commands/verifyBundle.d.ts +1 -0
- package/dist/commands/verifyBundle.js +109 -0
- package/dist/commands/verifyReceiptCmd.d.ts +1 -0
- package/dist/commands/verifyReceiptCmd.js +49 -0
- package/dist/commands/witness.d.ts +1 -0
- package/dist/commands/witness.js +22 -0
- package/dist/cp/cliDeviceAuth.d.ts +24 -0
- package/dist/cp/cliDeviceAuth.js +68 -0
- package/dist/cp/client.d.ts +19 -0
- package/dist/cp/client.js +73 -0
- package/dist/cp/config.d.ts +8 -0
- package/dist/cp/config.js +113 -0
- package/dist/cp/credentials.d.ts +9 -0
- package/dist/cp/credentials.js +31 -0
- package/dist/cp/provisionCliKey.d.ts +12 -0
- package/dist/cp/provisionCliKey.js +43 -0
- package/dist/cp/types.d.ts +37 -0
- package/dist/cp/types.js +1 -0
- package/dist/stdin.js +9 -0
- package/dist/tg/args.d.ts +3 -0
- package/dist/tg/args.js +28 -0
- package/dist/tg/authorize-format.d.ts +21 -0
- package/dist/tg/authorize-format.js +87 -0
- package/dist/tg/errors.d.ts +6 -0
- package/dist/tg/errors.js +53 -0
- package/dist/tg/gateway.d.ts +2 -0
- package/dist/tg/gateway.js +19 -0
- package/dist/tg/help.d.ts +7 -0
- package/dist/tg/help.js +164 -0
- package/dist/tg/receipt.d.ts +1 -0
- package/dist/tg/receipt.js +13 -0
- package/dist/tg/shellQuote.d.ts +1 -0
- package/dist/tg/shellQuote.js +6 -0
- package/dist/tg.js +92 -0
- package/package.json +50 -0
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@trigguard/cli",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "TrigGuard developer CLI — tg login, authorize, verify",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"tg": "dist/tg.js"
|
|
8
|
+
},
|
|
9
|
+
"main": "dist/tg.js",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"prepublishOnly": "npm run build:tg",
|
|
12
|
+
"build:tg": "tsc -p tsconfig.tg.json"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"trigguard",
|
|
16
|
+
"cli",
|
|
17
|
+
"authorization",
|
|
18
|
+
"governance",
|
|
19
|
+
"execution"
|
|
20
|
+
],
|
|
21
|
+
"license": "Apache-2.0",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/TrigGuard-AI/TrigGuard.git",
|
|
25
|
+
"directory": "packages/trigguard-cli"
|
|
26
|
+
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=20"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@trigguard/execution-sdk": "^0.1.1"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/node": "^22.0.0",
|
|
35
|
+
"typescript": "^5.6.0"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist/tg.js",
|
|
39
|
+
"dist/tg/",
|
|
40
|
+
"dist/cp/",
|
|
41
|
+
"dist/commands/",
|
|
42
|
+
"dist/auth.js",
|
|
43
|
+
"dist/stdin.js",
|
|
44
|
+
"data/",
|
|
45
|
+
"README.md"
|
|
46
|
+
],
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public"
|
|
49
|
+
}
|
|
50
|
+
}
|