approval-box 0.1.5 → 0.1.6

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/dist/cli.mjs +4 -1
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -15641,7 +15641,7 @@ import { existsSync as existsSync5, readFileSync as readFileSync5 } from "node:f
15641
15641
  import { basename as basename2, join as join5 } from "node:path";
15642
15642
 
15643
15643
  // src/version.ts
15644
- var VERSION = true ? "0.1.5" : "0.0.0-dev";
15644
+ var VERSION = true ? "0.1.6" : "0.0.0-dev";
15645
15645
  function osName() {
15646
15646
  return process.platform === "darwin" ? "macos" : process.platform === "win32" ? "windows" : process.platform;
15647
15647
  }
@@ -16141,6 +16141,7 @@ async function status() {
16141
16141
  }
16142
16142
  async function doctor() {
16143
16143
  const problems = [];
16144
+ const hints = [];
16144
16145
  const config = readConfig();
16145
16146
  if (!config?.token) problems.push("Approval Box\u306B\u3064\u306A\u304C\u3063\u3066\u3044\u307E\u305B\u3093 \u2192 npx approval-box setup");
16146
16147
  else {
@@ -16157,7 +16158,9 @@ async function doctor() {
16157
16158
  if (!r.mcp) problems.push(`${LABEL[target]}: MCP\u304C\u767B\u9332\u3055\u308C\u3066\u3044\u307E\u305B\u3093 \u2192 npx approval-box setup --only ${target}`);
16158
16159
  if (r.hooks === false) problems.push(`${LABEL[target]}: hook\u304C\u767B\u9332\u3055\u308C\u3066\u3044\u307E\u305B\u3093 \u2192 npx approval-box setup --only ${target}`);
16159
16160
  if (r.entry && !existsSync6(r.entry)) problems.push(`${LABEL[target]}: \u767B\u9332\u5148\u306E\u30D5\u30A1\u30A4\u30EB\u304C\u3042\u308A\u307E\u305B\u3093\uFF08${r.entry}\uFF09\u3002node \u3084Approval Box\u3092\u5165\u308C\u76F4\u3057\u305F\u6642\u306B\u8D77\u304D\u307E\u3059 \u2192 npx approval-box setup`);
16161
+ if (r.mcp && r.instructions === false) hints.push(`${LABEL[target]}: \u5168\u4F53\u306E\u6307\u793A\u306BApproval Box\u306E\u4E00\u7BC0\u304C\u3042\u308A\u307E\u305B\u3093\u3002AI\u304C\u7533\u8ACB\u3092\u51FA\u3055\u306A\u3044\u6642\u306F \u2192 npx approval-box setup --only ${target}`);
16160
16162
  }
16163
+ for (const hint of hints) out(`\u30FB${hint}`);
16161
16164
  if (!problems.length) out("\u554F\u984C\u306F\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u5C4A\u304B\u306A\u3044\u6642\u306F\u3001AI\u306B\u300CApproval Box\u306Esetup_test\u3092\u5B9F\u884C\u3057\u3066\u300D\u3068\u8A00\u3063\u3066\u3001\u3069\u3053\u3067\u6B62\u307E\u308B\u304B\u3092\u78BA\u304B\u3081\u3066\u304F\u3060\u3055\u3044\u3002");
16162
16165
  else for (const problem of problems) out(`\u2717 ${problem}`);
16163
16166
  if (problems.length) process.exitCode = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "approval-box",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Approval Box connector: lets Claude Code, Codex, Cursor and Grok ask you for a decision, and steers your answer back into the same session.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://approval-box.kitepon.dev",