@kigo-dev/sindri 0.1.7 → 0.1.8

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 CHANGED
@@ -55,7 +55,7 @@ Releasing is therefore the `connector-vX.Y.Z` tag alone; to roll everyone back,
55
55
  **Claude Code:**
56
56
 
57
57
  ```
58
- claude mcp add sindri -- npx -y @kigo-dev/sindri@0.1.7
58
+ claude mcp add sindri -- npx -y @kigo-dev/sindri@latest
59
59
  ```
60
60
 
61
61
  **Manual check without an MCP client:**
package/dist/index.js CHANGED
@@ -36913,6 +36913,7 @@ function readSchedules(manifestText) {
36913
36913
  import { randomBytes as randomBytes3 } from "node:crypto";
36914
36914
  import http2 from "node:http";
36915
36915
  var SECRET_MAX_BYTES = 8 * 1024;
36916
+ var REFERRER_POLICY = "same-origin";
36916
36917
  var SecretPageBrowserUnavailable = class extends Error {
36917
36918
  constructor() {
36918
36919
  super("browser unavailable");
@@ -36944,7 +36945,7 @@ async function collectSecret(opts) {
36944
36945
  timer = setTimeout(() => reject(new Error("expired")), opts.timeoutMs ?? 5 * 6e4);
36945
36946
  server.on("request", (req, res) => {
36946
36947
  const html = (status, body) => {
36947
- res.writeHead(status, { "Content-Type": "text/html; charset=utf-8", "Cache-Control": "no-store", "Referrer-Policy": "no-referrer", "X-Frame-Options": "DENY" });
36948
+ res.writeHead(status, { "Content-Type": "text/html; charset=utf-8", "Cache-Control": "no-store", "Referrer-Policy": REFERRER_POLICY, "X-Frame-Options": "DENY" });
36948
36949
  res.end(body);
36949
36950
  };
36950
36951
  const u = new URL(req.url ?? "/", origin);
@@ -37041,7 +37042,7 @@ button.primary{background:var(--primary);border-color:var(--primary);color:#fff;
37041
37042
  .note{font-size:13px;margin-top:1rem}
37042
37043
  `;
37043
37044
  function shell(title, body) {
37044
- return `<!doctype html><html lang="es"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="referrer" content="no-referrer"><title>${escapeHtml(title)}</title><style>${STYLE}</style></head><body><main><div class="brand"><i></i>Kigo Sindri</div>${body}</main></body></html>`;
37045
+ return `<!doctype html><html lang="es"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="referrer" content="${REFERRER_POLICY}"><title>${escapeHtml(title)}</title><style>${STYLE}</style></head><body><main><div class="brand"><i></i>Kigo Sindri</div>${body}</main></body></html>`;
37045
37046
  }
37046
37047
  function FORM_PAGE(app, name, hint, error61) {
37047
37048
  const title = `Guardar secreto para \xAB${app}\xBB`;
@@ -37909,7 +37910,7 @@ function when(iso, now = /* @__PURE__ */ new Date()) {
37909
37910
  }
37910
37911
 
37911
37912
  // src/index.ts
37912
- var VERSION = "0.1.7";
37913
+ var VERSION = "0.1.8";
37913
37914
  function registerTools(server, tools) {
37914
37915
  for (const name of Object.keys(SCHEMAS)) {
37915
37916
  const meta3 = DESCRIPTIONS[name];
package/manifest.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "manifest_version": "0.2",
3
3
  "name": "sindri",
4
4
  "display_name": "Kigo Sindri",
5
- "version": "0.1.7",
5
+ "version": "0.1.8",
6
6
  "description": "Create, preview and publish Kigo internal apps from your Claude.",
7
7
  "long_description": "Sindri lets anyone at Kigo build small internal apps by talking to Claude. Claude edits the app on your computer; this connector installs what is needed, runs the app locally with test data, publishes it at <name>.sindri.kigo.dev and keeps versions. Sign in with your @cargomovil.com account.",
8
8
  "author": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kigo-dev/sindri",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Sindri connector: an MCP server that lets a Kigo PM's Claude create, preview and publish internal apps on Kigo Sindri",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",