@wattsonme/codexlib 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +21 -5
package/index.js CHANGED
@@ -28,16 +28,16 @@ server.setRequestHandler({ method: "tools/call" }, async (req) => {
28
28
  let result;
29
29
  switch (name) {
30
30
  case "codexlib_search":
31
- result = await api(`/packs/search?q=${encodeURIComponent(args.query)}&limit=${args.limit || 5}`);
31
+ result = await api(`/v1/packs?q=${encodeURIComponent(args.query)}&limit=${args.limit || 5}`);
32
32
  break;
33
33
  case "codexlib_pull":
34
- result = await api(`/packs/${args.slug}`);
34
+ result = await api(`/v1/packs/${args.slug}`);
35
35
  break;
36
36
  case "codexlib_domains":
37
- result = await api("/domains");
37
+ result = await api("/v1/marketplace");
38
38
  break;
39
39
  case "codexlib_stats":
40
- result = await api("/stats");
40
+ result = await api("/v1/packs");
41
41
  break;
42
42
  default:
43
43
  result = { error: "Unknown tool" };
package/package.json CHANGED
@@ -1,12 +1,28 @@
1
1
  {
2
2
  "name": "@wattsonme/codexlib",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Pull expert AI knowledge packs into your context window. 419+ packs across religion, AI, science, business, and more.",
5
- "bin": { "codexlib-mcp": "./index.js" },
6
- "keywords": ["mcp", "knowledge", "ai", "codex", "packs", "context", "compression", "tokenshrink"],
5
+ "bin": {
6
+ "codexlib-mcp": "./index.js"
7
+ },
8
+ "keywords": [
9
+ "mcp",
10
+ "knowledge",
11
+ "ai",
12
+ "codex",
13
+ "packs",
14
+ "context",
15
+ "compression",
16
+ "tokenshrink"
17
+ ],
7
18
  "author": "chatde",
8
19
  "license": "MIT",
9
- "repository": { "type": "git", "url": "https://github.com/chatde/codexlib" },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/chatde/codexlib"
23
+ },
10
24
  "homepage": "https://codexlib.io",
11
- "dependencies": { "@modelcontextprotocol/sdk": "^1.0.0" }
25
+ "dependencies": {
26
+ "@modelcontextprotocol/sdk": "^1.0.0"
27
+ }
12
28
  }