hmcp-web 0.2.3 → 0.2.5

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.
@@ -41,7 +41,7 @@
41
41
  type="font/woff2"
42
42
  crossorigin="anonymous"
43
43
  />
44
- <script type="module" crossorigin src="/assets/index-Cm4wG2zz.js"></script>
44
+ <script type="module" crossorigin src="/assets/index-2otwle61.js"></script>
45
45
  <link rel="modulepreload" crossorigin href="/assets/kit-BHB_ha4i.js">
46
46
  <link rel="modulepreload" crossorigin href="/assets/server-name-D9u6r07i.js">
47
47
  <link rel="stylesheet" crossorigin href="/assets/index-CvZ3niHA.css">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hmcp-web",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "The hardened-mcp review console: what each gateway exposes, and why.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Aditya Das",
@@ -50,10 +50,10 @@
50
50
  "lint:ui": "eslint --config ui/eslint.config.js --max-warnings 0 ui/src"
51
51
  },
52
52
  "dependencies": {
53
- "hmcp-core": "0.2.3",
54
- "hmcp-scanner": "0.2.3",
53
+ "hmcp-core": "0.2.5",
54
+ "hmcp-scanner": "0.2.5",
55
55
  "commander": "^15.0.0",
56
- "hmcp-gateway": "0.2.3",
56
+ "hmcp-gateway": "0.2.5",
57
57
  "yaml": "^2.7.0",
58
58
  "zod": "^4.0.0"
59
59
  },
@@ -1 +0,0 @@
1
- import{cn as e,rn as t}from"./index-Cm4wG2zz.js";var n=`Connect your AI app`,r=`Pick the AI app you use. The servers it already has move into your toolbox, so every call they make is written down under Activity. A copy of the app's old settings is kept, so you can undo it.`,i=`"Undo connection" under Advanced in Connect your AI app`,a=`Also record what Claude Code does by itself (reading and editing files, running commands)`;function o(e){return e?.mode===`protecting`?`Your toolbox is protecting you, so these follow its rules: looking runs, but editing files and running commands wait for your OK here, and are refused if nobody answers within 2 minutes. Tools you switched off are blocked.`:e&&e.mode!==`watching`?`These follow your toolbox's rules: while it only watches, they are written down and nothing is blocked; once it protects you, editing files and running commands wait for your OK here. Tools you switched off stay off either way.`:`Written down only, nothing is blocked. Once you turn on protection, these will wait for your OK here, like other changes. Two things apply even now: tools you switched off stay off, and a change to Claude Code's own settings or this console's files waits for your OK.`}var s=`Not on this computer`,c=`Can't be connected from here`,l=`No AI app was found on this computer.`,u=`Install one of these, open it once, then come back here and press Check again.`,d=`Advanced`,f=`For one project folder only, a different toolbox, Roo Code, or adding your toolbox to an app without moving its servers.`;function p(e,t,n=`${t}s`){return`${e} ${e===1?t:n}`}function m(e){return{moving:e.servers.filter(e=>e.auto),staying:e.servers.filter(e=>!e.auto)}}function h(e){let{moving:t,staying:n}=m(e);if(e.servers.length===0)return e.connected?`It is connected to your toolbox.`:`It has no servers yet.`;if(t.length===0)return`${e.connected?`Nothing more to move into your toolbox`:`No servers can move into your toolbox yet`} · ${p(n.length,`server`)} ${n.length===1?`stays`:`stay`}`;let r=`${p(t.length,`server`)} will move into your toolbox`;return n.length>0?`${r} · ${n.length} ${n.length===1?`stays`:`stay`}`:r}function g(n){return e(t(n.why??n.reason??`It can't be brought in.`))}function _(e){return`${e} is open. Quit it completely first, so it doesn't write its old list of servers back.`}function v(e){return e===`adopt`?`It was connected the older way. Use ${i}, then connect it again here.`:e===`entry-missing`||e===`toolbox-missing`?`Its connection from this console no longer works. Use ${i}, then connect it again here.`:null}function y(e){return`Wait for ${e} to finish connecting.`}function b(e){return`Undo connecting ${e}`}function x(e,t){return t?`Connect ${e} again`:`Connect ${e}`}function S(e){return`Use ${e}`}function C(e,t){let n=t.servers.length>0?`already has ${t.servers.join(`, `)}`:`already has servers of its own`;return`${e}'s servers would go into ${t.label}, which ${n}. ${e} would be able to use those too.`}function w(e,t){return e.alreadyConnected&&e.imported.length===0&&e.takenOut.length===0?`${t} was already connected`:`Connected ${t}`}function T(e,t){let n=e.imported.length;return n===0?`No new servers moved this time.`:`${p(n,`server`)} will go through ${e.toolbox.label} once you restart ${t} (${p(e.toolCount,`tool`)}):`}function E(e,t){return`Already in your toolbox, so ${e}'s own ${t.length===1?`copy was`:`copies were`} taken out: ${t.join(`, `)}.`}function D(e){return`Left in ${e}, outside your toolbox (not recorded)`}var O=`Web addresses your toolbox may now reach`,k=`The servers you moved live at these addresses, so your toolbox was allowed to connect to them.`;function A(e){return e===1?`1 step left`:`${e} steps left`}function j(e){return`Switch off “${e}” in Claude Desktop`}var M=`Not recorded`,N=`Claude Code's own actions (reading and editing files, running commands, opening web pages) are recorded too.`,P=`Claude Code's own actions are no longer recorded.`;function F(e){return e===`observe`?`Watching only: everything runs and is written down.`:e===`enforce`?`Protecting: changes ask you first, and everything is written down.`:null}function I(e){return`${e.join(` and `)} also ${e.length===1?`uses`:`use`} this toolbox, so ${e.length===1?`it gets`:`they get`} these servers too.`}var L=`Some servers need your OK before they can move`;function R(e,t){return t?`${e} wasn't connected`:`${e} has no servers to bring in yet`}function z(e,t){return t?`None of ${e}'s servers could be brought in. Nothing was changed. The list below says why. You can add a server instead: that makes your toolbox, and then you can connect ${e} to it.`:`Nothing was changed. Add a server first: that makes your toolbox. Then connect ${e} to it.`}function B(e,t){return t?`${e} is back as it was`:`Undone: ${e} stays connected to your toolbox, as it was before`}function V(e){return`${e.restored.length>0?`Put back in the app: ${e.restored.join(`, `)}.`:``}${e.toolboxDeleted?` The toolbox made for it was removed.`:``}`.trim()||`Nothing else needed putting back.`}function H(e){return`Taken out of your toolbox: ${e.join(`, `)}.`}function U(e){return`Still in your toolbox: ${e.join(`, `)}.`}var W={"claude-desktop":`Claude Desktop`,"claude-code":`Claude Code`,cursor:`Cursor`,vscode:`VS Code`,codex:`Codex or the ChatGPT desktop app`,"copilot-cli":`GitHub Copilot CLI`,antigravity:`Antigravity`,devin:`Devin`,junie:`Junie`,windsurf:`Windsurf`};function G(e){return e&&W[e]||`your AI app`}var K=`Tools found when you connected`;function q(e){return`Restart ${e} so it starts using your toolbox. Then you can turn tools on or off here.`}var J={read:`Looks at things`,write:`Makes changes`,destructive:`Deletes things`,unknown:`We're not sure what it does`};function Y(e,t){return e===`run`?`Runs`:e===`ask`?t?`Would ask you first`:`Asks you first`:t?`Would be blocked`:`Blocked`}export{I as A,j as B,p as C,T as D,D as E,_ as F,y as G,b as H,H as I,F as K,w as L,m as M,q as N,z as O,Y as P,g as R,v as S,U as T,V as U,E as V,B as W,L as _,N as a,C as b,k as c,u as d,l as f,K as g,J as h,a as i,h as j,R as k,s as l,n as m,d as n,P as o,r as p,c as r,O as s,f as t,M as u,G as v,o as w,x,S as y,A as z};