superacli 1.1.13 → 1.1.14

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.
Files changed (75) hide show
  1. package/.agents/skills/humanenv-usage/SKILL.md +19 -0
  2. package/AGENTS.md +62 -0
  3. package/CONTRIBUTING.md +6 -2
  4. package/cli/plugin-install-guidance.js +25 -11
  5. package/cli/plugins-registry.js +25 -6
  6. package/cli/skills-catalog.js +85 -10
  7. package/coverage/clover.xml +1073 -965
  8. package/coverage/lcov-report/cli/adapter-schema.js.html +32 -32
  9. package/coverage/lcov-report/cli/adapters/builtin.js.html +1 -1
  10. package/coverage/lcov-report/cli/adapters/http.js.html +1 -1
  11. package/coverage/lcov-report/cli/adapters/index.html +1 -1
  12. package/coverage/lcov-report/cli/adapters/mcp.js.html +1 -1
  13. package/coverage/lcov-report/cli/adapters/openapi.js.html +1 -1
  14. package/coverage/lcov-report/cli/adapters/process.js.html +1 -1
  15. package/coverage/lcov-report/cli/adapters/shell.js.html +1 -1
  16. package/coverage/lcov-report/cli/ask.js.html +1 -1
  17. package/coverage/lcov-report/cli/config.js.html +109 -109
  18. package/coverage/lcov-report/cli/discover.js.html +1 -1
  19. package/coverage/lcov-report/cli/executor.js.html +1 -1
  20. package/coverage/lcov-report/cli/help-json.js.html +1 -1
  21. package/coverage/lcov-report/cli/index.html +92 -92
  22. package/coverage/lcov-report/cli/mcp-diagnostics.js.html +1 -1
  23. package/coverage/lcov-report/cli/mcp-discovery.js.html +1 -1
  24. package/coverage/lcov-report/cli/mcp-local.js.html +1 -1
  25. package/coverage/lcov-report/cli/mcp-stdio-jsonrpc.js.html +1 -1
  26. package/coverage/lcov-report/cli/namespace-passthrough.js.html +1 -1
  27. package/coverage/lcov-report/cli/plan-runtime.js.html +1 -1
  28. package/coverage/lcov-report/cli/planner.js.html +1 -1
  29. package/coverage/lcov-report/cli/plugin-install-guidance.js.html +919 -877
  30. package/coverage/lcov-report/cli/plugins-command.js.html +452 -452
  31. package/coverage/lcov-report/cli/plugins-learn.js.html +60 -60
  32. package/coverage/lcov-report/cli/plugins-manager.js.html +133 -133
  33. package/coverage/lcov-report/cli/plugins-registry.js.html +105 -48
  34. package/coverage/lcov-report/cli/plugins-store.js.html +106 -106
  35. package/coverage/lcov-report/cli/skills-catalog.js.html +366 -141
  36. package/coverage/lcov-report/cli/skills-mcp.js.html +1 -1
  37. package/coverage/lcov-report/cli/skills.js.html +1 -1
  38. package/coverage/lcov-report/index.html +19 -19
  39. package/coverage/lcov-report/server/app.js.html +1 -1
  40. package/coverage/lcov-report/server/index.html +1 -1
  41. package/coverage/lcov-report/server/routes/ask.js.html +1 -1
  42. package/coverage/lcov-report/server/routes/commands.js.html +1 -1
  43. package/coverage/lcov-report/server/routes/config.js.html +1 -1
  44. package/coverage/lcov-report/server/routes/index.html +1 -1
  45. package/coverage/lcov-report/server/routes/jobs.js.html +1 -1
  46. package/coverage/lcov-report/server/routes/mcp.js.html +1 -1
  47. package/coverage/lcov-report/server/routes/plans.js.html +1 -1
  48. package/coverage/lcov-report/server/routes/plugins.js.html +1 -1
  49. package/coverage/lcov-report/server/routes/specs.js.html +1 -1
  50. package/coverage/lcov-report/server/services/configService.js.html +1 -1
  51. package/coverage/lcov-report/server/services/index.html +1 -1
  52. package/coverage/lcov-report/server/services/pluginsService.js.html +1 -1
  53. package/coverage/lcov-report/server/storage/adapter.js.html +1 -1
  54. package/coverage/lcov-report/server/storage/file.js.html +1 -1
  55. package/coverage/lcov-report/server/storage/index.html +1 -1
  56. package/coverage/lcov-report/server/storage/mongo.js.html +1 -1
  57. package/coverage/lcov.info +1423 -1120
  58. package/package.json +1 -1
  59. package/plugins/beads/install-guidance.json +10 -0
  60. package/plugins/beads/meta.json +5 -0
  61. package/plugins/codedb/meta.json +5 -0
  62. package/plugins/codedb/plugin.json +169 -0
  63. package/plugins/codedb/skills/quickstart/SKILL.md +65 -0
  64. package/plugins/humanenv/.agents/skills/humanenv-sdk-python-usage/SKILL.md +37 -0
  65. package/plugins/humanenv/.agents/skills/humanenv-usage/SKILL.md +32 -0
  66. package/plugins/humanenv/plugin.json +65 -0
  67. package/plugins/humanenv/skills/quickstart/SKILL.md +95 -0
  68. package/plugins/mmx/install-guidance.json +10 -0
  69. package/plugins/mmx/meta.json +5 -0
  70. package/plugins/mmx/plugin.json +413 -0
  71. package/plugins/mmx/skills/quickstart/SKILL.md +234 -0
  72. package/plugins/plugins.json +21 -9
  73. package/plugins/rtk/README.md +63 -0
  74. package/plugins/rtk/plugin.json +79 -0
  75. package/plugins/rtk/skills/quickstart/SKILL.md +78 -0
@@ -1,15 +1,7 @@
1
1
  {
2
+ "_comment": "DO NOT ADD new bundled plugins here. Use plugins/<name>/meta.json instead. This file is for legacy entries and remote git-sourced plugins only.",
2
3
  "version": 1,
3
4
  "plugins": [
4
- {
5
- "name": "beads",
6
- "description": "Issue tracking plugin for beads_rust (br)",
7
- "tags": ["issues", "tracking", "project-management"],
8
- "source": {
9
- "type": "bundled",
10
- "manifest_path": "plugins/beads/plugin.json"
11
- }
12
- },
13
5
  {
14
6
  "name": "opencode",
15
7
  "description": "OpenCode AI assistant CLI plugin for natural language coding tasks",
@@ -562,6 +554,16 @@
562
554
  "manifest_path": "plugins/openhands/plugin.json"
563
555
  }
564
556
  },
557
+ {
558
+ "name": "rtk",
559
+ "description": "RTK (Rust Token Killer) - CLI proxy that reduces LLM token consumption by 60-90%",
560
+ "tags": ["rtk", "tokens", "optimization", "llm", "cost-reduction", "developer-tools"],
561
+ "has_learn": true,
562
+ "source": {
563
+ "type": "bundled",
564
+ "manifest_path": "plugins/rtk/plugin.json"
565
+ }
566
+ },
565
567
  {
566
568
  "name": "uipathcli",
567
569
  "description": "UiPath CLI plugin with CI/CD lifecycle wrappers and passthrough",
@@ -630,6 +632,16 @@
630
632
  "type": "bundled",
631
633
  "manifest_path": "plugins/pplx/plugin.json"
632
634
  }
635
+ },
636
+ {
637
+ "name": "humanenv",
638
+ "description": "Secure environment variable injection - secrets for humans only",
639
+ "tags": ["secrets", "environment", "security", "encryption"],
640
+ "has_learn": true,
641
+ "source": {
642
+ "type": "bundled",
643
+ "manifest_path": "plugins/humanenv/plugin.json"
644
+ }
633
645
  }
634
646
  ]
635
647
  }
@@ -0,0 +1,63 @@
1
+ # RTK Plugin for SuperCLI
2
+
3
+ [RTK](https://github.com/rtk-ai/rtk) (Rust Token Killer) is a high-performance CLI proxy that reduces LLM token consumption by 60-90% on common dev commands.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ # Install RTK binary
9
+ curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh
10
+
11
+ # Add to PATH
12
+ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc # or ~/.zshrc
13
+ source ~/.bashrc
14
+
15
+ # Install supercli plugin
16
+ supercli plugins install ./plugins/rtk
17
+
18
+ # Setup OpenCode integration
19
+ supercli rtk self init
20
+ ```
21
+
22
+ ## Commands
23
+
24
+ | Command | Description |
25
+ |---------|-------------|
26
+ | `supercli rtk self version` | Show RTK version |
27
+ | `supercli rtk self init` | Initialize OpenCode hook |
28
+ | `supercli rtk analytics gain` | Token savings statistics |
29
+ | `supercli rtk analytics gain --graph` | ASCII graph of savings |
30
+ | `supercli rtk <any>` | Passthrough to RTK CLI |
31
+
32
+ ## Common RTK Commands
33
+
34
+ ```bash
35
+ # Git operations
36
+ supercli rtk git status
37
+ supercli rtk git diff
38
+ supercli rtk git log -n 10
39
+
40
+ # File operations
41
+ supercli rtk ls
42
+ supercli rtk read <file>
43
+
44
+ # Test output compression
45
+ supercli rtk test cargo test
46
+ supercli rtk test pytest
47
+
48
+ # Build & lint
49
+ supercli rtk cargo build
50
+ supercli rtk tsc
51
+ ```
52
+
53
+ ## Token Savings Examples
54
+
55
+ | Operation | Standard | With RTK | Savings |
56
+ |-----------|----------|----------|---------|
57
+ | `git status` | ~2,000 tokens | ~200 tokens | -80% |
58
+ | `cargo test` | ~25,000 tokens | ~2,500 tokens | -90% |
59
+ | `ls -la` | ~800 tokens | ~150 tokens | -80% |
60
+
61
+ ## Learn More
62
+
63
+ See `skills/quickstart/SKILL.md` for detailed usage guide.
@@ -0,0 +1,79 @@
1
+ {
2
+ "name": "rtk",
3
+ "version": "0.1.0",
4
+ "description": "RTK (Rust Token Killer) - CLI proxy that reduces LLM token consumption by 60-90% on common dev commands",
5
+ "source": "https://github.com/rtk-ai/rtk",
6
+ "checks": [
7
+ { "type": "binary", "name": "rtk" }
8
+ ],
9
+ "install_guidance": {
10
+ "plugin": "rtk",
11
+ "binary": "rtk",
12
+ "check": "rtk --version",
13
+ "install_steps": [
14
+ "curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh",
15
+ "echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.bashrc # or ~/.zshrc",
16
+ "source ~/.bashrc # or restart your terminal",
17
+ "rtk --version"
18
+ ],
19
+ "note": "After install, run 'supercli rtk self init' to set up OpenCode integration."
20
+ },
21
+ "learn": {
22
+ "file": "skills/quickstart/SKILL.md"
23
+ },
24
+ "commands": [
25
+ {
26
+ "namespace": "rtk",
27
+ "resource": "self",
28
+ "action": "version",
29
+ "description": "Show RTK version",
30
+ "adapter": "process",
31
+ "adapterConfig": {
32
+ "command": "rtk",
33
+ "baseArgs": ["--version"],
34
+ "missingDependencyHelp": "Install RTK: curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh"
35
+ },
36
+ "args": []
37
+ },
38
+ {
39
+ "namespace": "rtk",
40
+ "resource": "self",
41
+ "action": "init",
42
+ "description": "Initialize RTK OpenCode hook (runs: rtk init -g --opencode)",
43
+ "adapter": "process",
44
+ "adapterConfig": {
45
+ "command": "rtk",
46
+ "baseArgs": ["init", "-g", "--opencode"],
47
+ "missingDependencyHelp": "Install RTK first: curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh"
48
+ },
49
+ "args": []
50
+ },
51
+ {
52
+ "namespace": "rtk",
53
+ "resource": "analytics",
54
+ "action": "gain",
55
+ "description": "Show token savings statistics",
56
+ "adapter": "process",
57
+ "adapterConfig": {
58
+ "command": "rtk",
59
+ "baseArgs": ["gain"],
60
+ "passthrough": true,
61
+ "missingDependencyHelp": "Install RTK: curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh"
62
+ },
63
+ "args": []
64
+ },
65
+ {
66
+ "namespace": "rtk",
67
+ "resource": "_",
68
+ "action": "_",
69
+ "description": "Passthrough to RTK CLI (rtk ls, rtk git status, rtk test, etc.)",
70
+ "adapter": "process",
71
+ "adapterConfig": {
72
+ "command": "rtk",
73
+ "passthrough": true,
74
+ "missingDependencyHelp": "Install RTK: curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh"
75
+ },
76
+ "args": []
77
+ }
78
+ ]
79
+ }
@@ -0,0 +1,78 @@
1
+ # RTK Quickstart
2
+
3
+ RTK (Rust Token Killer) is a CLI proxy that reduces LLM token consumption by 60-90% on common dev commands.
4
+
5
+ ## Prerequisites
6
+
7
+ - Install RTK:
8
+ ```bash
9
+ curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh
10
+ ```
11
+ - Add to PATH:
12
+ ```bash
13
+ echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc # or ~/.zshrc
14
+ source ~/.bashrc
15
+ ```
16
+ - Install supercli plugin: `supercli plugins install ./plugins/rtk`
17
+ - Setup OpenCode integration: `supercli rtk self init`
18
+
19
+ ## Usage
20
+
21
+ ### Check version
22
+ ```bash
23
+ supercli rtk self version
24
+ ```
25
+
26
+ ### View token savings
27
+ ```bash
28
+ supercli rtk analytics gain
29
+ supercli rtk analytics gain --graph
30
+ supercli rtk analytics gain --daily
31
+ ```
32
+
33
+ ### Initialize OpenCode hook
34
+ ```bash
35
+ supercli rtk self init
36
+ ```
37
+
38
+ ### Common commands via passthrough
39
+
40
+ ```bash
41
+ # Git operations
42
+ supercli rtk git status
43
+ supercli rtk git diff
44
+ supercli rtk git log -n 10
45
+ supercli rtk git push
46
+
47
+ # Directory listing
48
+ supercli rtk ls
49
+
50
+ # File reading
51
+ supercli rtk read <file>
52
+
53
+ # Test runners
54
+ supercli rtk test cargo test
55
+ supercli rtk test pytest
56
+ supercli rtk test npm test
57
+
58
+ # Build tools
59
+ supercli rtk cargo build
60
+ supercli rtk tsc
61
+ supercli rtk ruff check
62
+ ```
63
+
64
+ ## How It Works
65
+
66
+ RTK intercepts command output and applies four strategies:
67
+
68
+ 1. **Smart Filtering** - Removes noise (comments, whitespace, boilerplate)
69
+ 2. **Grouping** - Aggregates similar items
70
+ 3. **Truncation** - Keeps relevant context, cuts redundancy
71
+ 4. **Deduplication** - Collapses repeated log lines
72
+
73
+ ## Privacy
74
+
75
+ RTK collects anonymous aggregate usage metrics (enabled by default). To opt-out:
76
+ ```bash
77
+ export RTK_TELEMETRY_DISABLED=1
78
+ ```