@qwen-code/web-shell 0.25.4-preview.0 → 0.25.4-preview.1

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.
@@ -6,7 +6,7 @@ var nd = (e, t, n) => t in e ? td(e, t, { enumerable: !0, configurable: !0, writ
6
6
  var ct = (e, t, n) => nd(e, typeof t != "symbol" ? t + "" : t, n), Oi = (e, t, n) => t.has(e) || vl("Cannot " + n);
7
7
  var s = (e, t, n) => (Oi(e, t, "read from private field"), n ? n.call(e) : t.get(e)), M = (e, t, n) => t.has(e) ? vl("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), b = (e, t, n, r) => (Oi(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), m = (e, t, n) => (Oi(e, t, "access private method"), n);
8
8
  import { jsx as V, jsxs as xe, Fragment as ti } from "react/jsx-runtime";
9
- import { N as rd, O as Ua, P as od, Q as id, R as sd, q as ld, s as ad, t as cd, v as cn, S as ud, U as dd, V as hd, W as fd, D as pd, f as md, g as gd, h as vd, i as yd, X as ro, Y as bd, I as yl, k as Id, B as Jt, Z as wd, _ as xd, $ as Sd, a0 as Cd, a1 as _d, a2 as kd, a3 as Pd, a4 as Ed, w as bl, d as Dd } from "./index-ChD_Ub2E.js";
9
+ import { N as rd, O as Ua, P as od, Q as id, R as sd, q as ld, s as ad, t as cd, v as cn, S as ud, U as dd, V as hd, W as fd, D as pd, f as md, g as gd, h as vd, i as yd, X as ro, Y as bd, I as yl, k as Id, B as Jt, Z as wd, _ as xd, $ as Sd, a0 as Cd, a1 as _d, a2 as kd, a3 as Pd, a4 as Ed, w as bl, d as Dd } from "./index-CU9u4ISL.js";
10
10
  import * as Bs from "react-resizable-panels";
11
11
  import { usePanelRef as Il } from "react-resizable-panels";
12
12
  import { EyeIcon as Md, Code2Icon as Td, StickyNotePlusIcon as Nd, FolderPlusIcon as Ad, RotateCwIcon as Rd, FolderIcon as Vd, XIcon as wl, SearchIcon as Fd } from "lucide-react";
@@ -3,7 +3,7 @@ import { useState as p, useMemo as le, useEffect as re, useRef as ne, useId as K
3
3
  import { W as F, T as Ve, m as Qe } from "./useDaemonMidTurnInjected-CfhBFIym.js";
4
4
  import "@qwen-code/sdk/daemon";
5
5
  import { CheckCircle2 as we, LoaderCircle as Ze, CopyIcon as qe, UsersIcon as Ie, MoreHorizontalIcon as Ae, PlusIcon as oe, ServerIcon as Xe } from "lucide-react";
6
- import { D as Le, f as ye, g as He, h as $e, i as De, j as ae, p as se, I as ee, k as Te, B as _, w as Me, l as je, C as be, m as Ee, n as fe, o as ze, q as Ue, s as Pe, t as Fe, v as te, x as We, E as pe, y as ge, z as xe, A as ve, F as Ne, G as Ye, H as et, J as tt, K as ke, L as nt, M as at } from "./index-ChD_Ub2E.js";
6
+ import { D as Le, f as ye, g as He, h as $e, i as De, j as ae, p as se, I as ee, k as Te, B as _, w as Me, l as je, C as be, m as Ee, n as fe, o as ze, q as Ue, s as Pe, t as Fe, v as te, x as We, E as pe, y as ge, z as xe, A as ve, F as Ne, G as Ye, H as et, J as tt, K as ke, L as nt, M as at } from "./index-CU9u4ISL.js";
7
7
  const lt = /^[A-Za-z0-9_-]{1,256}$/;
8
8
  function rt(r) {
9
9
  let s;
@@ -1917,7 +1917,7 @@ async function $ce(e, t, n) {
1917
1917
  ].map(async ([a, c, l, d]) => {
1918
1918
  const h = r.querySelector(a), f = h?.getAttribute(c) ?? "", p = h?.getAttribute("integrity") ?? "";
1919
1919
  if (!h) return;
1920
- const m = `https://unpkg.com/@qwen-code/qwen-code@0.25.4-preview.0/export-transcript-document.${l}`;
1920
+ const m = `https://unpkg.com/@qwen-code/qwen-code@0.25.4-preview.1/export-transcript-document.${l}`;
1921
1921
  if (f !== m || !/^sha384-[A-Za-z0-9+/]{64}$/.test(p))
1922
1922
  throw new Error(
1923
1923
  "Unsupported export preview resource; use an export matching the current Web Shell version."
@@ -65712,7 +65712,7 @@ function ez({ label: e }) {
65712
65712
  function qQe({ error: e }) {
65713
65713
  return /* @__PURE__ */ s("div", { className: "text-sm text-destructive", children: e?.message });
65714
65714
  }
65715
- const jQe = Yx(async () => ({ default: (await import("./agents-route-D6wGe0cs.js")).AgentsRoute }));
65715
+ const jQe = Yx(async () => ({ default: (await import("./agents-route-hV5r9VDG.js")).AgentsRoute }));
65716
65716
  function VQe(e) {
65717
65717
  return /* @__PURE__ */ s(Xx, { fallback: null, children: /* @__PURE__ */ s(jQe, { ...e }) });
65718
65718
  }
@@ -99104,7 +99104,7 @@ function UJ(e) {
99104
99104
  e instanceof Error ? e.message : String(e)
99105
99105
  );
99106
99106
  }
99107
- const Oyt = () => import("./WorkspaceFileBrowser-DGQbVeSD.js").then((e) => ({ default: e.WorkspaceFileBrowser })).catch(UJ), Fyt = () => import("./PierreFilePreview-vbxsbBX2.js").catch(UJ), zyt = Yx(() => import("./SpreadsheetPreview-yFPFfgME.js")), Wyt = 700, Hyt = [
99107
+ const Oyt = () => import("./WorkspaceFileBrowser-K5x5fG6c.js").then((e) => ({ default: e.WorkspaceFileBrowser })).catch(UJ), Fyt = () => import("./PierreFilePreview-DDGm1BwT.js").catch(UJ), zyt = Yx(() => import("./SpreadsheetPreview-Bo3dF5jL.js")), Wyt = 700, Hyt = [
99108
99108
  "daily",
99109
99109
  "weekdays",
99110
99110
  "weekly",
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ if(typeof document!=="undefined"&&!document.querySelector('style[data-qwen-web-s
3
3
  import "react/jsx-runtime";
4
4
  import { A as t, D as n, a as o, b as r, c as i, g as u, d as S, i as g, e as c, s as l, f as p, u as d, h as A, j as m, k as E, l as P, m as T, n as h, o as v, p as D, q as M, r as _, t as b, v as W, w as L, x as N, y as O, z as k, B as C, C as F, E as G, F as R, G as f, H, I, J as x, K as B, L as U, M as w, N as y, O as J, P as V, Q as j, R as K, S as q, T as z, U as Q, V as X } from "./useDaemonMidTurnInjected-CfhBFIym.js";
5
5
  import { DAEMON_APPROVAL_MODES as Z } from "@qwen-code/sdk/daemon";
6
- import { a5 as ss, a6 as as, a7 as es, a8 as ts, a9 as ns, aa as os, ab as rs, ac as is, ad as us, ae as Ss, af as gs, ag as cs, ah as ls } from "./index-ChD_Ub2E.js";
6
+ import { a5 as ss, a6 as as, a7 as es, a8 as ts, a9 as ns, aa as os, ab as rs, ac as is, ad as us, ae as Ss, af as gs, ag as cs, ah as ls } from "./index-CU9u4ISL.js";
7
7
  import { h as ds } from "./codeHighlighter-pfciSYNN.js";
8
8
  export {
9
9
  t as AGENT_TOOL_NAME,
package/dist/sw.js CHANGED
@@ -6,4 +6,4 @@
6
6
  * Cache-first for same-origin build assets. Manifest, daemon API requests,
7
7
  * authenticated requests and event streams remain network-only. HTML is
8
8
  * never cached: an unavailable daemon gets a retry page, not a stale session.
9
- */var r="0.25.4-preview.0",s="qwen-code-shell-v1-"+r;self.addEventListener("install",function(n){n.waitUntil(self.skipWaiting())});self.addEventListener("activate",function(n){n.waitUntil(caches.keys().then(function(t){return Promise.all(t.filter(function(e){return e.startsWith("qwen-code-shell-")&&e!==s}).map(function(e){return caches.delete(e)})).then(function(){return self.clients.claim()})}))});async function c(n,t){var e;try{e=await caches.open(s);var i=await e.match(n);if(i)return i}catch{}var a=await fetch(n);return e&&a.status===200&&a.type==="basic"&&t.waitUntil(e.put(n,a.clone()).catch(function(){})),a}self.addEventListener("fetch",function(n){var t=n.request,e=new URL(t.url);if(!(t.method!=="GET"||t.headers.has("Authorization")||(t.headers.get("Accept")||"").includes("text/event-stream")||e.origin!==self.location.origin)){if(e.pathname.startsWith("/assets/")&&/-[a-zA-Z0-9_-]{8,}\.[^/]+$/.test(e.pathname)){n.respondWith(c(t,n));return}t.mode==="navigate"&&(t.destination==="document"||!t.destination)&&n.respondWith(fetch(t).catch(function(){return new Response('<!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Qwen Code unavailable</title><body><h1>Cannot reach Qwen Code / <span lang="zh-CN">无法连接 Qwen Code</span></h1><p>Reconnect to the daemon, then reload this page. / <span lang="zh-CN">请重新连接守护进程,然后重新加载此页面。</span></p><a href="" onclick="location.reload();return false">Try again / <span lang="zh-CN">重试</span></a></body></html>',{status:503,headers:{"Content-Type":"text/html; charset=utf-8","Cache-Control":"no-store"}})}))}});
9
+ */var r="0.25.4-preview.1",s="qwen-code-shell-v1-"+r;self.addEventListener("install",function(n){n.waitUntil(self.skipWaiting())});self.addEventListener("activate",function(n){n.waitUntil(caches.keys().then(function(t){return Promise.all(t.filter(function(e){return e.startsWith("qwen-code-shell-")&&e!==s}).map(function(e){return caches.delete(e)})).then(function(){return self.clients.claim()})}))});async function c(n,t){var e;try{e=await caches.open(s);var i=await e.match(n);if(i)return i}catch{}var a=await fetch(n);return e&&a.status===200&&a.type==="basic"&&t.waitUntil(e.put(n,a.clone()).catch(function(){})),a}self.addEventListener("fetch",function(n){var t=n.request,e=new URL(t.url);if(!(t.method!=="GET"||t.headers.has("Authorization")||(t.headers.get("Accept")||"").includes("text/event-stream")||e.origin!==self.location.origin)){if(e.pathname.startsWith("/assets/")&&/-[a-zA-Z0-9_-]{8,}\.[^/]+$/.test(e.pathname)){n.respondWith(c(t,n));return}t.mode==="navigate"&&(t.destination==="document"||!t.destination)&&n.respondWith(fetch(t).catch(function(){return new Response('<!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Qwen Code unavailable</title><body><h1>Cannot reach Qwen Code / <span lang="zh-CN">无法连接 Qwen Code</span></h1><p>Reconnect to the daemon, then reload this page. / <span lang="zh-CN">请重新连接守护进程,然后重新加载此页面。</span></p><a href="" onclick="location.reload();return false">Try again / <span lang="zh-CN">重试</span></a></body></html>',{status:503,headers:{"Content-Type":"text/html; charset=utf-8","Cache-Control":"no-store"}})}))}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwen-code/web-shell",
3
- "version": "0.25.4-preview.0",
3
+ "version": "0.25.4-preview.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/QwenLM/qwen-code.git",