@copado/agentia-cli 1.0.0-beta.7 → 1.0.0-beta.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/CHANGELOG.md +6 -0
- package/README.md +286 -302
- package/dist/commands/plugins/install.js +76 -0
- package/dist/lib/plugin-trust/catalog.js +6 -0
- package/dist/lib/plugin-trust/gate.js +14 -0
- package/dist/lib/plugin-trust/http.js +5 -0
- package/dist/lib/plugin-trust/policy.js +3 -0
- package/dist/lib/runtime.js +1 -1
- package/oclif.manifest.json +70 -1
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -467,6 +467,75 @@
|
|
|
467
467
|
"start.js"
|
|
468
468
|
]
|
|
469
469
|
},
|
|
470
|
+
"plugins:install": {
|
|
471
|
+
"aliases": [
|
|
472
|
+
"plugins:add"
|
|
473
|
+
],
|
|
474
|
+
"args": {
|
|
475
|
+
"plugin": {
|
|
476
|
+
"description": "npm package name (optionally with @tag) or git URL.",
|
|
477
|
+
"name": "plugin",
|
|
478
|
+
"required": true
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"description": "Install plugins with npm after checking them against the Agentia plugin catalog.\n\nOfficial and Verified plugins install without a prompt. Community, unlisted, and git URL plugins ask first. Use --allow-unverified when there is no terminal or with --json.\n\nA revoked version, or an npm tarball that differs from the hash in the catalog, is always refused. If the catalog cannot be reached, the command warns and the install continues.",
|
|
482
|
+
"examples": [
|
|
483
|
+
"<%= config.bin %> <%= command.id %> @acme/agentia-plugin-x",
|
|
484
|
+
"<%= config.bin %> <%= command.id %> @acme/agentia-plugin-x@1.2.0 --allow-unverified --json"
|
|
485
|
+
],
|
|
486
|
+
"flags": {
|
|
487
|
+
"json": {
|
|
488
|
+
"description": "Format output as json.",
|
|
489
|
+
"helpGroup": "GLOBAL",
|
|
490
|
+
"name": "json",
|
|
491
|
+
"allowNo": false,
|
|
492
|
+
"type": "boolean"
|
|
493
|
+
},
|
|
494
|
+
"allow-unverified": {
|
|
495
|
+
"description": "Install plugins that are not Official or Verified without asking. Never overrides a revoked or mismatched version.",
|
|
496
|
+
"name": "allow-unverified",
|
|
497
|
+
"allowNo": false,
|
|
498
|
+
"type": "boolean"
|
|
499
|
+
},
|
|
500
|
+
"force": {
|
|
501
|
+
"char": "f",
|
|
502
|
+
"description": "Force npm to fetch remote resources even if a local copy exists.",
|
|
503
|
+
"name": "force",
|
|
504
|
+
"allowNo": false,
|
|
505
|
+
"type": "boolean"
|
|
506
|
+
},
|
|
507
|
+
"silent": {
|
|
508
|
+
"char": "s",
|
|
509
|
+
"description": "Silence npm output.",
|
|
510
|
+
"name": "silent",
|
|
511
|
+
"allowNo": false,
|
|
512
|
+
"type": "boolean"
|
|
513
|
+
},
|
|
514
|
+
"verbose": {
|
|
515
|
+
"char": "v",
|
|
516
|
+
"description": "Show verbose npm output.",
|
|
517
|
+
"name": "verbose",
|
|
518
|
+
"allowNo": false,
|
|
519
|
+
"type": "boolean"
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"hasDynamicHelp": false,
|
|
523
|
+
"hiddenAliases": [],
|
|
524
|
+
"id": "plugins:install",
|
|
525
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
526
|
+
"pluginName": "@copado/agentia-cli",
|
|
527
|
+
"pluginType": "core",
|
|
528
|
+
"strict": false,
|
|
529
|
+
"enableJsonFlag": true,
|
|
530
|
+
"experimental": false,
|
|
531
|
+
"isESM": true,
|
|
532
|
+
"relativePath": [
|
|
533
|
+
"dist",
|
|
534
|
+
"commands",
|
|
535
|
+
"plugins",
|
|
536
|
+
"install.js"
|
|
537
|
+
]
|
|
538
|
+
},
|
|
470
539
|
"testing:create": {
|
|
471
540
|
"aliases": [],
|
|
472
541
|
"args": {},
|
|
@@ -19974,5 +20043,5 @@
|
|
|
19974
20043
|
]
|
|
19975
20044
|
}
|
|
19976
20045
|
},
|
|
19977
|
-
"version": "1.0.0-beta.
|
|
20046
|
+
"version": "1.0.0-beta.8"
|
|
19978
20047
|
}
|