caplets 0.12.2 → 0.12.4
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 +23 -1
- package/dist/index.js +5 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="assets/icon.png" alt="Caplets logo" width="140" height="140" />
|
|
3
|
+
|
|
4
|
+
<h1>Caplets</h1>
|
|
5
|
+
|
|
6
|
+
<p>
|
|
7
|
+
<strong>Capability cards for coding agents.</strong><br />
|
|
8
|
+
Wrap sprawling tool stacks behind focused, progressive-disclosure interfaces.
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p>
|
|
12
|
+
<a href="https://www.npmjs.com/package/caplets"><img alt="npm" src="https://img.shields.io/npm/v/caplets?style=flat-square&color=E0582F" /></a>
|
|
13
|
+
<a href="https://github.com/spiritledsoftware/caplets/actions/workflows/ci.yml"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/spiritledsoftware/caplets/ci.yml?branch=main&style=flat-square&label=ci&color=E0582F" /></a>
|
|
14
|
+
<a href="LICENSE"><img alt="MIT License" src="https://img.shields.io/badge/license-MIT-F6E8C8?style=flat-square&labelColor=1F2018" /></a>
|
|
15
|
+
<img alt="Node 22+" src="https://img.shields.io/badge/node-%3E%3D22-F6E8C8?style=flat-square&labelColor=1F2018" />
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
<p>
|
|
19
|
+
<code>MCP</code> · <code>OpenAPI</code> · <code>GraphQL</code> · <code>HTTP</code> · <code>CLI</code>
|
|
20
|
+
</p>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
---
|
|
2
24
|
|
|
3
25
|
Caplets turns sprawling tool setups into focused capability cards for coding agents.
|
|
4
26
|
Connect MCP servers, OpenAPI specs, GraphQL endpoints, HTTP actions, and curated CLI
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio";
|
|
2
|
+
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
3
3
|
import { CapletsRuntime, runCli } from "@caplets/core";
|
|
4
|
+
//#region package.json
|
|
5
|
+
var version = "0.12.4";
|
|
6
|
+
//#endregion
|
|
4
7
|
//#region src/index.ts
|
|
5
8
|
async function main() {
|
|
6
9
|
if (process.argv[2] && process.argv[2] !== "serve") {
|
|
7
|
-
await runCli(process.argv.slice(2));
|
|
10
|
+
await runCli(process.argv.slice(2), { version });
|
|
8
11
|
return;
|
|
9
12
|
}
|
|
10
13
|
const runtime = process.env.CAPLETS_CONFIG ? new CapletsRuntime({ configPath: process.env.CAPLETS_CONFIG }) : new CapletsRuntime();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "caplets",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"description": "Progressive disclosure gateway CLI for MCP servers and native Caplets adapters.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"caplets",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
37
|
-
"@caplets/core": "0.12.
|
|
37
|
+
"@caplets/core": "0.12.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^25.7.0",
|