@grainulation/silo 1.1.0 → 1.1.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.
package/bin/silo.js CHANGED
@@ -423,7 +423,6 @@ try {
423
423
  const serverPath = path.join(__dirname, "..", "lib", "server.js");
424
424
  const child = fork(serverPath, serverArgs, {
425
425
  stdio: "inherit",
426
- env: process.env,
427
426
  });
428
427
  child.on("error", (err) => {
429
428
  process.stderr.write(`silo: error starting server: ${err.message}\n`);
package/lib/confluence.js CHANGED
@@ -25,14 +25,10 @@ class Confluence {
25
25
  * @param {string} opts.spaceKey — Default space key
26
26
  */
27
27
  constructor(opts = {}) {
28
- this.baseUrl = (
29
- opts.baseUrl ||
30
- process.env.CONFLUENCE_BASE_URL ||
31
- ""
32
- ).replace(/\/+$/, "");
33
- this.token = opts.token || process.env.CONFLUENCE_TOKEN || "";
34
- this.email = opts.email || process.env.CONFLUENCE_EMAIL || "";
35
- this.spaceKey = opts.spaceKey || process.env.CONFLUENCE_SPACE_KEY || "";
28
+ this.baseUrl = (opts.baseUrl || "").replace(/\/+$/, "");
29
+ this.token = opts.token || "";
30
+ this.email = opts.email || "";
31
+ this.spaceKey = opts.spaceKey || "";
36
32
  }
37
33
 
38
34
  /** Check if the adapter is configured with required credentials. */
package/lib/serve-mcp.js CHANGED
@@ -52,7 +52,12 @@ const search = new Search(store);
52
52
  const io = new ImportExport(store);
53
53
  const packs = new Packs(store);
54
54
  const graph = new Graph(store);
55
- const confluence = new Confluence();
55
+ const confluence = new Confluence({
56
+ baseUrl: process.env.CONFLUENCE_BASE_URL,
57
+ token: process.env.CONFLUENCE_TOKEN,
58
+ email: process.env.CONFLUENCE_EMAIL,
59
+ spaceKey: process.env.CONFLUENCE_SPACE_KEY,
60
+ });
56
61
 
57
62
  // ─── Tool implementations ───────────────────────────────────────────────────
58
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grainulation/silo",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Reusable knowledge for research sprints -- shared claim libraries, templates, and knowledge packs",
5
5
  "main": "lib/index.js",
6
6
  "exports": {