superacli 1.1.20 → 1.1.21

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 (125) hide show
  1. package/cli/adapter-schema.js +1 -6
  2. package/cli/config.js +95 -0
  3. package/cli/executor.js +90 -11
  4. package/cli/server-command.js +395 -0
  5. package/cli/supercli.js +82 -1
  6. package/docs/adapters.md +159 -0
  7. package/docs/changelog-2026-04.html +15 -0
  8. package/docs/index.html +314 -98
  9. package/docs/meta-plugins.json +24424 -1247
  10. package/docs/plugins-examples.md +8 -8
  11. package/docs/plugins-how-to.md +0 -13
  12. package/docs/plugins.html +165 -61
  13. package/docs/server.md +50 -0
  14. package/graphify-out/GRAPH_REPORT.md +141 -136
  15. package/graphify-out/cache/1821936911d6eb3130499b6b45b8e6d760d6c05328131e115ac9825a5e3061cd.json +1 -0
  16. package/graphify-out/cache/20b0e1261b41286d639e7b039c8143682001981f607e26eb2a492a06f12c233a.json +1 -0
  17. package/graphify-out/cache/21dc011c08a0813ac33c0520c9cf131d8922e6007df7d9b51df740974fee5fb3.json +1 -0
  18. package/graphify-out/cache/22d3d43c24fdff310ab8445bd442fbcf4714872c6950f15b90777e5a8358dcd9.json +1 -0
  19. package/graphify-out/cache/2b8a3fbc23afe7bbc1a5ecb60d4074f39afdf6cb42120922176c280f4cc4ab4b.json +1 -0
  20. package/graphify-out/cache/37418b8b152d9c436d75361969c39bc74a76260ab7209ceabf455f80452f1654.json +1 -0
  21. package/graphify-out/cache/3b9aae57e4326f5862f8153c13b7d809a34c422996993e7b491c5ea3a66b5e04.json +1 -0
  22. package/graphify-out/cache/448f8e0c5e77cfb15fa625ed40ee0dc1622d9814d24905fe4c12c4d175131dc9.json +1 -0
  23. package/graphify-out/cache/47dd42009ceac28b7a7fec5586e565e7bc850c80be96b8329e1ed7c49efbe34f.json +1 -0
  24. package/graphify-out/cache/492712949d38efbe312c303fe717e5c93e1ecc8888e1ceb855750afc48caffdb.json +1 -0
  25. package/graphify-out/cache/494fd6af80b6a1bb7a2a5641c6ad11e2fbe2a67b5a2b3ff57fd04bb49ccad1c4.json +1 -0
  26. package/graphify-out/cache/4b31b0de656deff083119780df64d17205c45e72233987e1c495f2121c4923fd.json +1 -0
  27. package/graphify-out/cache/5a16fa8cdd687a39661321adb39186ce8cf924a79ef936e42b365380b5e3543e.json +1 -0
  28. package/graphify-out/cache/644fcb129e595cfdb4e3a9757ed9658230347f5ed0652be45a894528a2b6585b.json +1 -0
  29. package/graphify-out/cache/6b8762db2c5f51408cf49d915f3e44bcc25c7ebb32abc635307fdf2a672b370c.json +1 -0
  30. package/graphify-out/cache/6db88050060880e56dd26ec58f29e3b56a409ace48e31bc75f54cab7dc74e409.json +1 -0
  31. package/graphify-out/cache/7932d1b6a9751b2cb2f4dc6b4e5f9fd7dcc2cee82d7866ec3d655482010533c0.json +1 -0
  32. package/graphify-out/cache/8140a76ff5b70dfdd0d020aeffff27f87af39da5b237c35baa938fcc4b288ba5.json +1 -0
  33. package/graphify-out/cache/8876638878758733a412bd4ca4cbd22863322689fbba9f037d92abfa877ea3ab.json +1 -0
  34. package/graphify-out/cache/90445359c448f8135207ddcd378c8391b9274460064cf998f1ea2ad6f2173703.json +1 -0
  35. package/graphify-out/cache/b01f675bb3942d2e8f359d11c38d52f28487544f54cdef518c60b7d8dfd2b383.json +1 -0
  36. package/graphify-out/cache/bc353b40b348d54c730d8498af675f57998b14ae796b4f952cdc200147008f13.json +1 -0
  37. package/graphify-out/cache/c38b2e784b1c441121b422db0c79b4911fb525d2a3cfad10d3fd561a07900bd5.json +1 -0
  38. package/graphify-out/cache/ce9df9bb2d36ecf310a53fb34526168bdf25773edf0826c1f55accebfa3c012d.json +1 -0
  39. package/graphify-out/cache/ceaeb0f99851d313b29cb1440240db1cf835de425b9b0c1e58fa3035355c2b2b.json +1 -0
  40. package/graphify-out/cache/d8f3e78931a41cd0f367fdab1d11b634bbffb2c90280c75a80a1a53a6b2d6bc7.json +1 -0
  41. package/graphify-out/cache/f574e4ce3bcb1250ca88410519fb4fd26c5b6cd786039410880fbd6e606ab23f.json +1 -0
  42. package/graphify-out/cache/faa65636d5f779b8b1c790dde11cc6470b48125bf42a12a77651827fd1653fd7.json +1 -0
  43. package/graphify-out/graph.json +4173 -2115
  44. package/ideal-plugins.csv +124 -0
  45. package/package.json +3 -2
  46. package/plugin-scores.csv +999 -0
  47. package/plugins/beads/plugin.json +2 -2
  48. package/plugins/biome/install-guidance.json +11 -0
  49. package/plugins/biome/meta.json +13 -0
  50. package/plugins/biome/plugin.json +83 -0
  51. package/plugins/biome/skills/quickstart/SKILL.md +25 -0
  52. package/plugins/bore/install-guidance.json +11 -0
  53. package/plugins/bore/meta.json +11 -0
  54. package/plugins/bore/plugin.json +65 -0
  55. package/plugins/bore/skills/quickstart/SKILL.md +25 -0
  56. package/plugins/ccf-deadlines/install-guidance.json +11 -0
  57. package/plugins/ccf-deadlines/meta.json +11 -0
  58. package/plugins/ccf-deadlines/plugin.json +28 -0
  59. package/plugins/ccf-deadlines/skills/quickstart/SKILL.md +25 -0
  60. package/plugins/code2prompt/install-guidance.json +11 -0
  61. package/plugins/code2prompt/meta.json +12 -0
  62. package/plugins/code2prompt/plugin.json +46 -0
  63. package/plugins/code2prompt/skills/quickstart/SKILL.md +25 -0
  64. package/plugins/commiat/install-guidance.json +10 -0
  65. package/plugins/commiat/plugin.json +2 -2
  66. package/plugins/dua-cli/install-guidance.json +11 -0
  67. package/plugins/dua-cli/meta.json +11 -0
  68. package/plugins/dua-cli/plugin.json +57 -0
  69. package/plugins/dua-cli/skills/quickstart/SKILL.md +25 -0
  70. package/plugins/forever/install-guidance.json +11 -0
  71. package/plugins/forever/meta.json +11 -0
  72. package/plugins/forever/plugin.json +75 -0
  73. package/plugins/forever/skills/quickstart/SKILL.md +25 -0
  74. package/plugins/gitmoji-cli/install-guidance.json +11 -0
  75. package/plugins/gitmoji-cli/meta.json +11 -0
  76. package/plugins/gitmoji-cli/plugin.json +49 -0
  77. package/plugins/gitmoji-cli/skills/quickstart/SKILL.md +25 -0
  78. package/plugins/google-maps-scraper/plugin.json +1 -1
  79. package/plugins/gwc/install-guidance.json +10 -0
  80. package/plugins/gwc/plugin.json +2 -2
  81. package/plugins/quarto/install-guidance.json +11 -0
  82. package/plugins/quarto/meta.json +11 -0
  83. package/plugins/quarto/plugin.json +61 -0
  84. package/plugins/quarto/skills/quickstart/SKILL.md +25 -0
  85. package/plugins/readme-md-generator/install-guidance.json +11 -0
  86. package/plugins/readme-md-generator/meta.json +11 -0
  87. package/plugins/readme-md-generator/plugin.json +28 -0
  88. package/plugins/readme-md-generator/skills/quickstart/SKILL.md +25 -0
  89. package/plugins/twarc/install-guidance.json +11 -0
  90. package/plugins/twarc/meta.json +13 -0
  91. package/plugins/twarc/plugin.json +165 -0
  92. package/plugins/twarc/skills/quickstart/SKILL.md +61 -0
  93. package/plugins/vale/install-guidance.json +11 -0
  94. package/plugins/vale/meta.json +12 -0
  95. package/plugins/vale/plugin.json +50 -0
  96. package/plugins/vale/skills/quickstart/SKILL.md +25 -0
  97. package/plugins/volta/install-guidance.json +11 -0
  98. package/plugins/volta/meta.json +12 -0
  99. package/plugins/volta/plugin.json +75 -0
  100. package/plugins/volta/skills/quickstart/SKILL.md +25 -0
  101. package/plugins/wgcf/install-guidance.json +11 -0
  102. package/plugins/wgcf/meta.json +12 -0
  103. package/plugins/wgcf/plugin.json +45 -0
  104. package/plugins/wgcf/skills/quickstart/SKILL.md +25 -0
  105. package/scripts/analyze-plugins.js +130 -0
  106. package/scripts/enrich-meta-plugins.js +67 -0
  107. package/server/app.js +23 -1
  108. package/server/routes/adapters.js +356 -0
  109. package/server/routes/dashboard.js +113 -0
  110. package/server/routes/jobs.js +26 -0
  111. package/server/services/adaptersService.js +284 -0
  112. package/server/services/pluginsService.js +4 -0
  113. package/server/views/adapter-edit.ejs +226 -0
  114. package/server/views/adapter-packages.ejs +191 -0
  115. package/server/views/adapters.ejs +112 -0
  116. package/server/views/command-edit.ejs +48 -21
  117. package/server/views/commands.ejs +25 -22
  118. package/server/views/dashboard.ejs +196 -0
  119. package/server/views/layout.ejs +94 -14
  120. package/server/views/mcp.ejs +38 -35
  121. package/server/views/partials/head.ejs +88 -12
  122. package/server/views/plugins.ejs +9 -0
  123. package/server/views/specs.ejs +33 -30
  124. package/cli/adapters/builtin.js +0 -43
  125. package/index.html +0 -384
package/index.html DELETED
@@ -1,384 +0,0 @@
1
- <!doctype html>
2
- <html lang="en" class="bg-slate-950">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>supercli — Universal Skill Router</title>
7
- <script src="https://cdn.tailwindcss.com?plugins=typography"></script>
8
- <script>
9
- tailwind.config = {
10
- theme: {
11
- extend: {
12
- fontFamily: {
13
- display: ["Space Grotesk", "sans-serif"],
14
- body: ["Inter", "sans-serif"],
15
- },
16
- colors: {
17
- brand: {
18
- 50: "#ECF8FF",
19
- 200: "#A5D8FF",
20
- 400: "#38BDF8",
21
- 500: "#0891B2",
22
- 900: "#0F172A",
23
- },
24
- },
25
- },
26
- },
27
- };
28
- </script>
29
- <link rel="preconnect" href="https://fonts.googleapis.com" />
30
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
31
- <link
32
- href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&family=Inter:wght@400;500;600&display=swap"
33
- rel="stylesheet"
34
- />
35
- <link
36
- rel="stylesheet"
37
- href="https://cdn.jsdelivr.net/npm/daisyui@4.7.2/dist/full.min.css"
38
- />
39
- <style>
40
- body {
41
- font-family:
42
- "Inter",
43
- system-ui,
44
- -apple-system,
45
- BlinkMacSystemFont,
46
- "Segoe UI",
47
- sans-serif;
48
- background:
49
- radial-gradient(
50
- circle at top,
51
- rgba(8, 145, 178, 0.24),
52
- rgba(15, 23, 42, 0.95)
53
- ),
54
- #020617;
55
- }
56
- .hero-grid {
57
- background: linear-gradient(
58
- 135deg,
59
- rgba(56, 189, 248, 0.08),
60
- rgba(8, 145, 178, 0.08)
61
- );
62
- border: 1px solid rgba(56, 189, 248, 0.3);
63
- }
64
- </style>
65
- </head>
66
- <body class="text-slate-100">
67
- <header class="max-w-6xl mx-auto px-6 py-12 md:py-16">
68
- <div class="flex flex-col gap-6 text-center">
69
- <div
70
- class="inline-flex items-center justify-center gap-2 text-xs uppercase tracking-[0.3em] text-brand-200"
71
- >
72
- <span class="h-px w-8 bg-brand-200/60"></span>
73
- Universal Skill Router
74
- <span class="h-px w-8 bg-brand-200/60"></span>
75
- </div>
76
- <h1
77
- class="text-4xl md:text-5xl font-display font-semibold leading-tight"
78
- >
79
- supercli — unify every CLI, API, and MCP tool as discoverable skills.
80
- </h1>
81
- <p class="text-lg md:text-xl text-slate-300 max-w-3xl mx-auto">
82
- Build a universal skill layer for your agents. supercli automatically
83
- exposes CLIs, OpenAPI endpoints, MCP servers, HTTP integrations, and
84
- workflows as structured skills so agents can discover, search, and
85
- execute capabilities through one interface.
86
- </p>
87
- <p class="text-sm md:text-base text-slate-400 max-w-3xl mx-auto">
88
- Get started with <code>supercli help</code> or see all options with <code>supercli --help</code>
89
- </p>
90
- <div class="flex flex-wrap justify-center gap-4">
91
- <a
92
- class="btn btn-primary px-6"
93
- href="./docs/index.html#getting-started"
94
- >Start Building</a
95
- >
96
- <a
97
- class="btn btn-outline border-brand-400/50 text-brand-200 px-6"
98
- href="./docs/index.html"
99
- >Explore the Docs</a
100
- >
101
- <a
102
- class="btn btn-ghost text-slate-300 px-6"
103
- href="https://github.com/javimosch/supercli"
104
- target="_blank"
105
- rel="noreferrer"
106
- >GitHub Repo</a
107
- >
108
- </div>
109
- </div>
110
- </header>
111
-
112
- <main class="max-w-6xl mx-auto px-6 pb-20 space-y-20">
113
- <section class="grid gap-6 md:grid-cols-2 hero-grid rounded-3xl p-8">
114
- <div class="space-y-4">
115
- <p class="text-sm uppercase tracking-widest text-brand-200">
116
- Skill Discovery Layer
117
- </p>
118
- <h2 class="text-3xl font-display font-semibold">
119
- Agents query a single skill graph.
120
- </h2>
121
- <p class="text-slate-300">
122
- supercli caches schemas, inputs, outputs, and rules for every
123
- harness. Agents explore skills via search, inspect action metadata,
124
- and trust consistent envelopes and exit codes.
125
- </p>
126
- </div>
127
- <div class="space-y-3">
128
- <div class="card bg-slate-900/60 border border-slate-700">
129
- <div class="card-body">
130
- <p class="text-xs uppercase tracking-widest text-brand-200">
131
- Example
132
- </p>
133
- <pre
134
- class="text-sm bg-slate-950/70 p-4 rounded-xl overflow-x-auto"
135
- ><code>supercli skills search "database"
136
- supercli skills get beads.issue.create
137
- supercli plan beads issue create --title "Task"</code></pre>
138
- </div>
139
- </div>
140
- </div>
141
- </section>
142
-
143
- <section class="space-y-10">
144
- <div class="space-y-3">
145
- <p class="text-sm uppercase tracking-widest text-brand-200">
146
- Skill Sources
147
- </p>
148
- <h2 class="text-3xl font-display font-semibold">
149
- Every tool becomes a skill.
150
- </h2>
151
- <p class="text-slate-300 max-w-3xl">
152
- supercli ingests multiple ecosystems so the router stays agnostic to
153
- execution details.
154
- </p>
155
- </div>
156
- <div class="grid gap-5 md:grid-cols-3">
157
- <article
158
- class="p-6 rounded-2xl border border-slate-800 bg-slate-900/50"
159
- >
160
- <h3 class="text-xl font-semibold">CLI Harnesses</h3>
161
- <p class="text-slate-400">
162
- Route commands for beads, gwc, commiat, docker, kubectl, gh, aws,
163
- terraform, and more via manifests or passthrough adapters.
164
- </p>
165
- </article>
166
- <article
167
- class="p-6 rounded-2xl border border-slate-800 bg-slate-900/50"
168
- >
169
- <h3 class="text-xl font-semibold">OpenAPI & HTTP</h3>
170
- <p class="text-slate-400">
171
- Import specs, auto-generate skills, and let agents execute
172
- normalized HTTP requests with schema validation.
173
- </p>
174
- </article>
175
- <article
176
- class="p-6 rounded-2xl border border-slate-800 bg-slate-900/50"
177
- >
178
- <h3 class="text-xl font-semibold">MCP + Workflows</h3>
179
- <p class="text-slate-400">
180
- Expose MCP tools, AI-driven plans, and declarative workflows as
181
- first-class skills with consistent envelopes.
182
- </p>
183
- </article>
184
- </div>
185
- </section>
186
-
187
- <section class="grid gap-10 md:grid-cols-2 items-center">
188
- <div class="order-2 md:order-1">
189
- <p class="text-sm uppercase tracking-widest text-brand-200">
190
- Architecture
191
- </p>
192
- <h2 class="text-3xl font-display font-semibold mb-4">
193
- From agent request to tool execution.
194
- </h2>
195
- <p class="text-slate-300 mb-2">
196
- Skills flow through a discovery layer, router, and harness/adapters
197
- that target CLIs, APIs, or custom runtimes.
198
- </p>
199
- <pre
200
- class="bg-slate-900 border border-slate-800 rounded-2xl p-6 text-sm leading-relaxed overflow-x-auto"
201
- ><code>Agent → Skill Discovery → Router → Harness / Adapter → Tool</code></pre>
202
- </div>
203
- <div class="order-1 md:order-2">
204
- <div class="rounded-3xl border border-slate-800 p-6 bg-slate-900/40">
205
- <ul class="space-y-4 text-slate-300">
206
- <li>
207
- <span class="font-semibold text-slate-100">Discovery</span> –
208
- catalog every skill with metadata & policy.
209
- </li>
210
- <li>
211
- <span class="font-semibold text-slate-100">Routing</span> –
212
- resolve namespaces to adapters automatically.
213
- </li>
214
- <li>
215
- <span class="font-semibold text-slate-100">Execution</span> –
216
- normalize inputs/outputs and exit codes.
217
- </li>
218
- <li>
219
- <span class="font-semibold text-slate-100">Extension</span> –
220
- drop in new harnesses, plugins, or specs.
221
- </li>
222
- </ul>
223
- </div>
224
- </div>
225
- </section>
226
-
227
- <section class="space-y-6">
228
- <div
229
- class="flex items-center gap-3 text-brand-200 text-sm uppercase tracking-widest"
230
- >
231
- <span class="h-px w-10 bg-brand-200/60"></span>
232
- Skill Mesh Vision
233
- </div>
234
- <div class="grid gap-5 md:grid-cols-2">
235
- <article
236
- class="p-6 rounded-2xl border border-slate-800 bg-slate-900/60"
237
- >
238
- <h3 class="text-2xl font-display mb-3">
239
- Toward a universal skill mesh.
240
- </h3>
241
- <p class="text-slate-300">
242
- supercli is growing into a mesh that handles discovery, routing,
243
- execution, composition, and governance for every capability in
244
- your environment.
245
- </p>
246
- </article>
247
- <article
248
- class="p-6 rounded-2xl border border-slate-800 bg-slate-900/60"
249
- >
250
- <ul class="list-disc list-inside text-slate-300 space-y-2">
251
- <li>Graph-native discovery & tagging</li>
252
- <li>Execution DAG observability</li>
253
- <li>Agent-facing HTTP/WebSocket endpoints</li>
254
- <li>Policy controls across harnesses</li>
255
- </ul>
256
- </article>
257
- </div>
258
- <p class="text-sm text-slate-400">
259
- Follow along in the docs for upcoming mesh capabilities and long-term
260
- direction.
261
- </p>
262
- </section>
263
-
264
- <section class="space-y-10">
265
- <div class="space-y-3">
266
- <p class="text-sm uppercase tracking-widest text-brand-200">
267
- Plugin Explorer
268
- </p>
269
- <h2 class="text-3xl font-display font-semibold">
270
- Discover and search plugins
271
- </h2>
272
- <p class="text-slate-300 max-w-2xl">
273
- Browse the official supercli plugins that add new skills, wrappers,
274
- and integrations to your agent toolkit.
275
- </p>
276
- </div>
277
- <div class="space-y-4">
278
- <div
279
- class="flex flex-col md:flex-row md:items-start md:justify-between"
280
- >
281
- <label for="plugin-search" class="block mb-2 text-slate-300"
282
- >Search plugins</label
283
- >
284
- <input
285
- type="text"
286
- id="plugin-search"
287
- placeholder="Search by name, tag, or description"
288
- class="input input-bordered w-full md:w-64"
289
- />
290
- </div>
291
- <div
292
- id="plugin-list"
293
- class="grid gap-4 md:grid-cols-2 lg:grid-cols-3"
294
- >
295
- <!-- Plugin cards will be inserted here by JavaScript -->
296
- </div>
297
- </div>
298
- </section>
299
- </main>
300
-
301
- <footer
302
- class="border-t border-slate-800/60 py-8 text-center text-sm text-slate-400"
303
- >
304
- <a href="https://www.linkedin.com/in/arancibiajav/" target="_blank">
305
- <p>© <span id="year"></span> by Javier Leandro Arancibia</p>
306
- </a>
307
-
308
- <div class="flex justify-center gap-4 mt-3">
309
- <a class="underline" href="./docs/index.html#getting-started">Start</a>
310
- <a class="underline" href="./docs/index.html">Docs</a>
311
- <a class="underline" href="./docs/index.html#skill-vision"
312
- >Skill vision</a
313
- >
314
- </div>
315
- </footer>
316
-
317
- <script>
318
- document.getElementById("year").textContent = new Date().getFullYear();
319
- </script>
320
-
321
- <script>
322
- // Plugin Explorer Script
323
- document.addEventListener("DOMContentLoaded", function () {
324
- const pluginList = document.getElementById("plugin-list");
325
- const searchInput = document.getElementById("plugin-search");
326
-
327
- // Fetch the plugins manifest
328
- fetch("plugins/plugins.json")
329
- .then((response) => {
330
- if (!response.ok) {
331
- throw new Error("Failed to fetch plugins");
332
- }
333
- return response.json();
334
- })
335
- .then((data) => {
336
- const plugins = data.plugins;
337
- renderPlugins(plugins);
338
-
339
- // Add event listener for search
340
- searchInput.addEventListener("input", (e) => {
341
- const query = e.target.value.toLowerCase();
342
- const filtered = plugins.filter(
343
- (plugin) =>
344
- plugin.name.toLowerCase().includes(query) ||
345
- plugin.description.toLowerCase().includes(query) ||
346
- (plugin.tags || []).some((tag) =>
347
- tag.toLowerCase().includes(query),
348
- ),
349
- );
350
- renderPlugins(filtered);
351
- });
352
- })
353
- .catch((error) => {
354
- pluginList.innerHTML = `<p class="text-slate-400 col-span-3">Error loading plugins: ${error.message}</p>`;
355
- });
356
-
357
- function renderPlugins(plugins) {
358
- if (plugins.length === 0) {
359
- pluginList.innerHTML = `<p class="text-slate-400 col-span-3">No plugins found.</p>`;
360
- return;
361
- }
362
-
363
- pluginList.innerHTML = plugins
364
- .map((plugin) => {
365
- const tagsHtml = (plugin.tags || [])
366
- .map(
367
- (tag) => `<span class="badge badge-secondary">${tag}</span>`,
368
- )
369
- .join("");
370
-
371
- return `
372
- <article class="p-6 rounded-2xl border border-slate-800 bg-slate-900/50">
373
- <h3 class="text-xl font-semibold">${plugin.name}</h3>
374
- <p class="text-slate-400">${plugin.description}</p>
375
- <div class="flex flex-wrap gap-2 mt-3">${tagsHtml}</div>
376
- </article>
377
- `;
378
- })
379
- .join("");
380
- }
381
- });
382
- </script>
383
- </body>
384
- </html>