devez-vibe 1.5.9 → 1.5.10

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/LICENSE CHANGED
@@ -1,33 +1,33 @@
1
- DevezCode source code license
2
-
3
- The MIT License below applies only to the DevezCode source code and to files
4
- that are not listed in the exception below.
5
-
6
- Exceptions:
7
-
8
- * `Resources/Images/FileTypes/` and `Resources/Licenses/` are Microsoft Visual
9
- Studio Image Library materials, subject to the included Microsoft terms.
10
- * `Resources/Images/ShellPresets/` contains third-party brand assets, subject
11
- to their respective owners' terms.
12
-
13
- MIT License
14
-
15
- Copyright (c) 2026 DevezCode contributors
16
-
17
- Permission is hereby granted, free of charge, to any person obtaining a copy
18
- of this software and associated documentation files (the "Software"), to deal
19
- in the Software without restriction, including without limitation the rights
20
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
- copies of the Software, and to permit persons to whom the Software is
22
- furnished to do so, subject to the following conditions:
23
-
24
- The above copyright notice and this permission notice shall be included in all
25
- copies or substantial portions of the Software.
26
-
27
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
- SOFTWARE.
1
+ DevezCode source code license
2
+
3
+ The MIT License below applies only to the DevezCode source code and to files
4
+ that are not listed in the exception below.
5
+
6
+ Exceptions:
7
+
8
+ * `Resources/Images/FileTypes/` and `Resources/Licenses/` are Microsoft Visual
9
+ Studio Image Library materials, subject to the included Microsoft terms.
10
+ * `Resources/Images/ShellPresets/` contains third-party brand assets, subject
11
+ to their respective owners' terms.
12
+
13
+ MIT License
14
+
15
+ Copyright (c) 2026 DevezCode contributors
16
+
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy
18
+ of this software and associated documentation files (the "Software"), to deal
19
+ in the Software without restriction, including without limitation the rights
20
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
+ copies of the Software, and to permit persons to whom the Software is
22
+ furnished to do so, subject to the following conditions:
23
+
24
+ The above copyright notice and this permission notice shall be included in all
25
+ copies or substantial portions of the Software.
26
+
27
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
+ SOFTWARE.
package/bin/dvz.exe CHANGED
Binary file
@@ -149,7 +149,13 @@ function modelCapabilities(models, model) {
149
149
  }
150
150
 
151
151
  function opus48Capabilities(models, existing = {}) {
152
- const opus = models.find((model) => model.value === "opus") || {};
152
+ // The CLI now exposes the Opus alias as `opus[1m]` (and only `default`
153
+ // resolves to it), so an exact `value === "opus"` match finds nothing and the
154
+ // synthesized Opus 4.8 row loses supportsAutoMode/supportsFastMode. Match the
155
+ // Opus family instead, falling back to `default`.
156
+ const opus = models.find((model) => String(model.value || "").toLowerCase().startsWith("opus"))
157
+ || models.find((model) => model.value === "default")
158
+ || {};
153
159
  const opusEfforts = Array.isArray(opus.supportedEffortLevels)
154
160
  ? opus.supportedEffortLevels
155
161
  : [];
@@ -740,9 +746,9 @@ function claudePluginValue(available, installed) {
740
746
  // remains short, so typed searches still resolve the same way as Claude CLI.
741
747
  name: id,
742
748
  description,
743
- installed: Boolean(installed),
744
- enabled: Boolean(installed?.enabled),
745
- scope: installed?.scope || "user",
749
+ installed: Boolean(installed),
750
+ enabled: Boolean(installed?.enabled),
751
+ scope: installed?.scope || "user",
746
752
  availability: "AVAILABLE",
747
753
  installPolicy: "USER_INSTALLABLE",
748
754
  mustShowInstallationInterstitial: true,
@@ -847,24 +853,24 @@ async function claudePluginDetail(params) {
847
853
  };
848
854
  }
849
855
 
850
- async function claudeSkills(params) {
851
- const installed = await runClaudeJson(params, ["plugin", "list", "--json"]);
852
- const skills = [];
853
- for (const plugin of Array.isArray(installed) ? installed : []) {
854
- if (!plugin?.installPath) continue;
855
- try {
856
- for (const child of await readdir(join(plugin.installPath, "skills"), { withFileTypes: true })) {
857
- if (!child.isDirectory()) continue;
858
- skills.push({
859
- name: child.name,
860
- path: join(plugin.installPath, "skills", child.name, "SKILL.md"),
861
- description: `${plugin.id} plugin skill`,
862
- enabled: Boolean(plugin.enabled),
863
- scope: plugin.scope || "user",
864
- pluginId: plugin.id,
865
- });
866
- }
867
- } catch { /* Plugins do not have to provide skills. */ }
856
+ async function claudeSkills(params) {
857
+ const installed = await runClaudeJson(params, ["plugin", "list", "--json"]);
858
+ const skills = [];
859
+ for (const plugin of Array.isArray(installed) ? installed : []) {
860
+ if (!plugin?.installPath) continue;
861
+ try {
862
+ for (const child of await readdir(join(plugin.installPath, "skills"), { withFileTypes: true })) {
863
+ if (!child.isDirectory()) continue;
864
+ skills.push({
865
+ name: child.name,
866
+ path: join(plugin.installPath, "skills", child.name, "SKILL.md"),
867
+ description: `${plugin.id} plugin skill`,
868
+ enabled: Boolean(plugin.enabled),
869
+ scope: plugin.scope || "user",
870
+ pluginId: plugin.id,
871
+ });
872
+ }
873
+ } catch { /* Plugins do not have to provide skills. */ }
868
874
  }
869
875
  return { data: [{ cwd: params.cwd || process.cwd(), skills }] };
870
876
  }
@@ -896,7 +902,7 @@ function claudeMcpStatusValue(statuses) {
896
902
  };
897
903
  }
898
904
 
899
- async function claudeMcpStatus(params) {
905
+ async function claudeMcpStatus(params) {
900
906
  const session = lookupSession(params.threadId || params.sessionId);
901
907
  if (!session) {
902
908
  return {
@@ -904,19 +910,19 @@ async function claudeMcpStatus(params) {
904
910
  unavailableReason: "Claude 세션이 아직 시작되지 않았습니다.",
905
911
  };
906
912
  }
907
- return claudeMcpStatusValue(await session.query.mcpServerStatus());
908
- }
909
-
910
- async function reconnectClaudeMcp(session, requested) {
911
- const names = requested
912
- ? [requested]
913
- : (await session.query.mcpServerStatus())
914
- .filter((server) => server?.status !== "disabled")
915
- .map((server) => String(server.name || ""))
916
- .filter(Boolean);
917
- for (const name of names) await session.query.reconnectMcpServer(name);
918
- return names;
919
- }
913
+ return claudeMcpStatusValue(await session.query.mcpServerStatus());
914
+ }
915
+
916
+ async function reconnectClaudeMcp(session, requested) {
917
+ const names = requested
918
+ ? [requested]
919
+ : (await session.query.mcpServerStatus())
920
+ .filter((server) => server?.status !== "disabled")
921
+ .map((server) => String(server.name || ""))
922
+ .filter(Boolean);
923
+ for (const name of names) await session.query.reconnectMcpServer(name);
924
+ return names;
925
+ }
920
926
 
921
927
  function isQuestionDeliveryError(error) {
922
928
  return error?.code === -32700
@@ -2314,22 +2320,22 @@ async function readableCwd(id, cwd) {
2314
2320
 
2315
2321
  async function dispatch(method, params = {}) {
2316
2322
  if (method === "model/list") return loadModelCatalog(params);
2317
- if (method === "mcpServerStatus/list") return claudeMcpStatus(params);
2318
- if (method === "mcp/reconnect" || method === "mcp/login") {
2319
- const session = lookupSession(params.sessionId || params.threadId);
2320
- if (!session) throw new Error("Claude 세션이 아직 시작되지 않았습니다.");
2321
- const requested = String(params.name || "").trim();
2322
- const names = await reconnectClaudeMcp(session, requested);
2323
- return { reconnected: names };
2324
- }
2325
- if (method === "mcp/toggle") {
2326
- const session = lookupSession(params.sessionId || params.threadId);
2327
- if (!session) throw new Error("Claude 세션이 아직 시작되지 않았습니다.");
2328
- const name = String(params.name || "").trim();
2329
- if (!name) throw new Error("변경할 Claude MCP 서버 이름이 없습니다.");
2330
- await session.query.toggleMcpServer(name, Boolean(params.enabled));
2331
- return { effectiveEnabled: Boolean(params.enabled) };
2332
- }
2323
+ if (method === "mcpServerStatus/list") return claudeMcpStatus(params);
2324
+ if (method === "mcp/reconnect" || method === "mcp/login") {
2325
+ const session = lookupSession(params.sessionId || params.threadId);
2326
+ if (!session) throw new Error("Claude 세션이 아직 시작되지 않았습니다.");
2327
+ const requested = String(params.name || "").trim();
2328
+ const names = await reconnectClaudeMcp(session, requested);
2329
+ return { reconnected: names };
2330
+ }
2331
+ if (method === "mcp/toggle") {
2332
+ const session = lookupSession(params.sessionId || params.threadId);
2333
+ if (!session) throw new Error("Claude 세션이 아직 시작되지 않았습니다.");
2334
+ const name = String(params.name || "").trim();
2335
+ if (!name) throw new Error("변경할 Claude MCP 서버 이름이 없습니다.");
2336
+ await session.query.toggleMcpServer(name, Boolean(params.enabled));
2337
+ return { effectiveEnabled: Boolean(params.enabled) };
2338
+ }
2333
2339
  if (method === "plugin/list") return claudePluginCatalog(params);
2334
2340
  if (method === "plugin/installed") return claudePluginCatalog(params, true);
2335
2341
  if (method === "plugin/read") return claudePluginDetail(params);
@@ -2351,15 +2357,15 @@ async function dispatch(method, params = {}) {
2351
2357
  ]);
2352
2358
  return {};
2353
2359
  }
2354
- if (method === "plugin/set-enabled") {
2355
- const id = String(params.pluginId || "");
2356
- if (!id) throw new Error("변경할 Claude 플러그인 이름이 없습니다.");
2357
- const requestedScope = String(params.scope || "").trim();
2358
- const installed = requestedScope ? null : await installedClaudePlugin(params, id);
2359
- await runClaudeCommand(params, [
2360
- "plugin", params.enabled ? "enable" : "disable", id,
2361
- "--scope", requestedScope || installed?.scope || "user",
2362
- ]);
2360
+ if (method === "plugin/set-enabled") {
2361
+ const id = String(params.pluginId || "");
2362
+ if (!id) throw new Error("변경할 Claude 플러그인 이름이 없습니다.");
2363
+ const requestedScope = String(params.scope || "").trim();
2364
+ const installed = requestedScope ? null : await installedClaudePlugin(params, id);
2365
+ await runClaudeCommand(params, [
2366
+ "plugin", params.enabled ? "enable" : "disable", id,
2367
+ "--scope", requestedScope || installed?.scope || "user",
2368
+ ]);
2363
2369
  return { effectiveEnabled: Boolean(params.enabled) };
2364
2370
  }
2365
2371
  if (method === "marketplace/add") {
@@ -2595,27 +2601,27 @@ async function runSelfTest() {
2595
2601
  },
2596
2602
  { name: "figma", status: "needs-auth", tools: [] },
2597
2603
  ]).data;
2598
- if (mcpStatus[0]?.name !== "context7"
2604
+ if (mcpStatus[0]?.name !== "context7"
2599
2605
  || Object.keys(mcpStatus[0]?.tools || {}).length !== 2
2600
2606
  || mcpStatus[0]?.status !== "connected"
2601
2607
  || mcpStatus[1]?.authStatus !== "notLoggedIn") {
2602
- throw new Error(`Claude MCP status self-test failed: ${JSON.stringify(mcpStatus)}`);
2603
- }
2604
- const reconnected = [];
2605
- const fakeMcpSession = {
2606
- query: {
2607
- mcpServerStatus: async () => [
2608
- { name: "connected", status: "connected" },
2609
- { name: "disabled", status: "disabled" },
2610
- ],
2611
- reconnectMcpServer: async (name) => reconnected.push(name),
2612
- },
2613
- };
2614
- await reconnectClaudeMcp(fakeMcpSession, "");
2615
- await reconnectClaudeMcp(fakeMcpSession, "disabled");
2616
- if (reconnected.join(",") !== "connected,disabled") {
2617
- throw new Error(`Claude MCP reconnect self-test failed: ${reconnected.join(",")}`);
2618
- }
2608
+ throw new Error(`Claude MCP status self-test failed: ${JSON.stringify(mcpStatus)}`);
2609
+ }
2610
+ const reconnected = [];
2611
+ const fakeMcpSession = {
2612
+ query: {
2613
+ mcpServerStatus: async () => [
2614
+ { name: "connected", status: "connected" },
2615
+ { name: "disabled", status: "disabled" },
2616
+ ],
2617
+ reconnectMcpServer: async (name) => reconnected.push(name),
2618
+ },
2619
+ };
2620
+ await reconnectClaudeMcp(fakeMcpSession, "");
2621
+ await reconnectClaudeMcp(fakeMcpSession, "disabled");
2622
+ if (reconnected.join(",") !== "connected,disabled") {
2623
+ throw new Error(`Claude MCP reconnect self-test failed: ${reconnected.join(",")}`);
2624
+ }
2619
2625
  const user = (uuid, text) => ({
2620
2626
  type: "user",
2621
2627
  uuid,
@@ -2846,11 +2852,12 @@ async function runSelfTest() {
2846
2852
  }
2847
2853
  const catalogModels = [
2848
2854
  {
2849
- value: "opus",
2850
- resolvedModel: "claude-opus-5",
2855
+ value: "opus[1m]",
2856
+ resolvedModel: "claude-opus-5[1m]",
2851
2857
  displayName: "Opus 5",
2852
2858
  supportsEffort: true,
2853
2859
  supportedEffortLevels: ["high", "max"],
2860
+ supportsAutoMode: true,
2854
2861
  },
2855
2862
  { value: "sonnet", resolvedModel: "claude-sonnet-5", displayName: "Sonnet 5" },
2856
2863
  {
@@ -2865,6 +2872,7 @@ async function runSelfTest() {
2865
2872
  if (catalog[0]?.displayName !== "Opus 5"
2866
2873
  || catalog[1]?.displayName !== "Opus 4.8"
2867
2874
  || catalog[1]?.model !== "claude:claude-opus-4-8"
2875
+ || catalog[1]?.supportsAutoMode !== true
2868
2876
  || catalog[1]?.supportedReasoningEfforts?.[1]?.reasoningEffort !== "max"
2869
2877
  || supportedEffort(
2870
2878
  modelCapabilities(catalogModels, "claude:claude-opus-4-8"),
package/package.json CHANGED
@@ -1,41 +1,41 @@
1
- {
2
- "name": "devez-vibe",
3
- "version": "1.5.9",
4
- "description": "Stable terminal UI for Codex and Claude Agent SDK",
5
- "keywords": [
6
- "codex",
7
- "cli",
8
- "tui",
9
- "terminal",
10
- "app-server",
11
- "claude-agent-sdk"
12
- ],
13
- "homepage": "https://github.com/MrHoje/Devez-vibe#readme",
14
- "bugs": "https://github.com/MrHoje/Devez-vibe/issues",
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/MrHoje/Devez-vibe.git"
18
- },
19
- "license": "MIT",
20
- "bin": {
21
- "dvz": "bin/dvz.exe"
22
- },
23
- "files": [
24
- "bin/dvz.exe",
25
- "bridge/claude-agent-sdk-bridge.mjs",
26
- "README.md",
27
- "LICENSE"
28
- ],
29
- "os": [
30
- "win32"
31
- ],
32
- "cpu": [
33
- "x64"
34
- ],
35
- "engines": {
36
- "node": ">=18"
37
- },
38
- "dependencies": {
39
- "@anthropic-ai/claude-agent-sdk": "0.3.223"
40
- }
41
- }
1
+ {
2
+ "name": "devez-vibe",
3
+ "version": "1.5.10",
4
+ "description": "Stable terminal UI for Codex and Claude Agent SDK",
5
+ "keywords": [
6
+ "codex",
7
+ "cli",
8
+ "tui",
9
+ "terminal",
10
+ "app-server",
11
+ "claude-agent-sdk"
12
+ ],
13
+ "homepage": "https://github.com/MrHoje/Devez-vibe#readme",
14
+ "bugs": "https://github.com/MrHoje/Devez-vibe/issues",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/MrHoje/Devez-vibe.git"
18
+ },
19
+ "license": "MIT",
20
+ "bin": {
21
+ "dvz": "bin/dvz.exe"
22
+ },
23
+ "files": [
24
+ "bin/dvz.exe",
25
+ "bridge/claude-agent-sdk-bridge.mjs",
26
+ "README.md",
27
+ "LICENSE"
28
+ ],
29
+ "os": [
30
+ "win32"
31
+ ],
32
+ "cpu": [
33
+ "x64"
34
+ ],
35
+ "engines": {
36
+ "node": ">=18"
37
+ },
38
+ "dependencies": {
39
+ "@anthropic-ai/claude-agent-sdk": "0.3.223"
40
+ }
41
+ }