inplan 0.1.16 → 0.1.17

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.
@@ -44656,7 +44656,7 @@ function AgentIndicator({
44656
44656
  }, []);
44657
44657
  let icon;
44658
44658
  if (location === "cloud") {
44659
- const color = byoKey ? "var(--agent-byo, #1e3a8a)" : quota?.overage ? "#e67e22" : "var(--accent)";
44659
+ const color = byoKey ? "var(--agent-byo, #1e3a8a)" : quota ? quota.overage || quota.usedPct >= 0.95 ? "#c0392b" : quota.usedPct >= 0.75 ? "#e0a23b" : "#3fa46a" : "var(--accent)";
44660
44660
  icon = quota ? /* @__PURE__ */ jsxRuntimeExports.jsx(QuotaPie, { pct: quota.usedPct, color }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ap-agent-dot", style: { background: color }, "aria-hidden": "true" });
44661
44661
  } else if (location === "local") {
44662
44662
  icon = /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ap-agent-dot ap-agent-local", "aria-hidden": "true" });
@@ -135,8 +135,11 @@ body {
135
135
  .ap-agent-local { background: #2bb673; } /* agent on your machine */
136
136
  .ap-agent-off { background: var(--danger); } /* no agent connected */
137
137
  .ap-agent-pie { position: relative; width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; }
138
- /* Green "connected" core; only the thin outer band of .ap-agent-pie shows the usage conic. */
139
- .ap-agent-pie-core { position: absolute; inset: 16%; border-radius: 50%; background: var(--accent); }
138
+ /* Green "connected" core; only the thin outer band of .ap-agent-pie shows the usage conic. The
139
+ 1px box-shadow ring is the button's background colour, leaving a 1px gap between the core and the
140
+ usage band — so it must track the button's hover bg (below) to stay invisible in every state. */
141
+ .ap-agent-pie-core { position: absolute; inset: 16%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--bg); }
142
+ .ap-agent-btn:hover .ap-agent-pie-core { box-shadow: 0 0 0 1px var(--accent-soft); }
140
143
  /* Anchor to the trigger's RIGHT edge (it sits on the right of the topbar) so the 220px menu opens
141
144
  leftward and stays on-screen — left:0 made it overflow off the right of the viewport, clipping the
142
145
  item labels. Mirrors .ap-profile-menu. */
@@ -11,8 +11,8 @@
11
11
  content="default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' inplan-plugin:; connect-src 'self' inplan-plugin: ws://127.0.0.1:* ws://localhost:*; frame-src https://inplan.ai http://127.0.0.1:* http://localhost:*"
12
12
  />
13
13
  <title>inplan</title>
14
- <script type="module" crossorigin src="./assets/index-BDWDaguV.js"></script>
15
- <link rel="stylesheet" crossorigin href="./assets/index-Ch7xZBdu.css">
14
+ <script type="module" crossorigin src="./assets/index-C-iegstR.js"></script>
15
+ <link rel="stylesheet" crossorigin href="./assets/index-DMoa3ydX.css">
16
16
  </head>
17
17
  <body>
18
18
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inplan",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "inplan — a Markdown editor for human ⇄ coding-agent planning. CLI + desktop editor.",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "repository": {
package/skill/SKILL.md CHANGED
@@ -26,8 +26,6 @@ Check for the CLI and install it if missing:
26
26
 
27
27
  inplan --version || npm install -g inplan
28
28
 
29
- (If the unscoped name is unavailable, install `@cis/inplan`.)
30
-
31
29
  **If `open` runs headless** (it prints "the bundled editor's Electron runtime is
32
30
  unavailable"): the npm package installed but Electron's **binary** didn't download — a
33
31
  proxy/firewall/AV blocked it, or `ignore-scripts` is set. Do **not** `npm install -g