@qwen-code/web-shell 0.26.2-preview.0 → 0.26.2-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 Qu = (e, t, n) => t in e ? Xu(e, t, { enumerable: !0, configurable: !0, writ
6
6
  var ct = (e, t, n) => Qu(e, typeof t != "symbol" ? t + "" : t, n), Oi = (e, t, n) => t.has(e) || pl("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) ? pl("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 Zu, O as Ju, P as ed, Q as td, q as nd, s as rd, t as od, v as cn, R as id, S as sd, U as ld, V as ad, D as cd, f as ud, g as dd, h as hd, i as fd, W as ro, X as pd, I as ml, k as md, B as Jt, Y as gd, Z as vd, _ as yd, $ as bd, a0 as Id, a1 as wd, a2 as xd, a3 as Sd, a4 as Cd, a5 as gl, a6 as _d, w as vl, d as kd } from "./index-DhmGlDKS.js";
9
+ import { N as Zu, O as Ju, P as ed, Q as td, q as nd, s as rd, t as od, v as cn, R as id, S as sd, U as ld, V as ad, D as cd, f as ud, g as dd, h as hd, i as fd, W as ro, X as pd, I as ml, k as md, B as Jt, Y as gd, Z as vd, _ as yd, $ as bd, a0 as Id, a1 as wd, a2 as xd, a3 as Sd, a4 as Cd, a5 as gl, a6 as _d, w as vl, d as kd } from "./index-DjRVj9L_.js";
10
10
  import { usePanelRef as yl } from "react-resizable-panels";
11
11
  import { EyeIcon as Pd, Code2Icon as Ed, StickyNotePlusIcon as Dd, FolderPlusIcon as Md, RotateCwIcon as Td, FolderIcon as Nd, XIcon as bl, SearchIcon as Ad } from "lucide-react";
12
12
  import { useMemo as Rd, useRef as it, useState as We, useId as Vd, useEffect as oo } from "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-DY7azBbC.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-DhmGlDKS.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-DjRVj9L_.js";
7
7
  const lt = /^[A-Za-z0-9_-]{1,256}$/;
8
8
  function rt(r) {
9
9
  let s;
@@ -1919,7 +1919,7 @@ async function uue(e, t, n) {
1919
1919
  ].map(async ([a, l, d, c]) => {
1920
1920
  const h = r.querySelector(a), f = h?.getAttribute(l) ?? "", m = h?.getAttribute("integrity") ?? "";
1921
1921
  if (!h) return;
1922
- const p = `https://unpkg.com/@qwen-code/qwen-code@0.26.2-preview.0/export-transcript-document.${d}`;
1922
+ const p = `https://unpkg.com/@qwen-code/qwen-code@0.26.2-preview.1/export-transcript-document.${d}`;
1923
1923
  if (f !== p || !/^sha384-[A-Za-z0-9+/]{64}$/.test(m))
1924
1924
  throw new Error(
1925
1925
  "Unsupported export preview resource; use an export matching the current Web Shell version."
@@ -70201,7 +70201,7 @@ function nH({ label: e }) {
70201
70201
  function bJe({ error: e }) {
70202
70202
  return /* @__PURE__ */ s("div", { className: "text-sm text-destructive", children: e?.message });
70203
70203
  }
70204
- const yJe = oN(async () => ({ default: (await import("./agents-route-DrM0Iy5a.js")).AgentsRoute }));
70204
+ const yJe = oN(async () => ({ default: (await import("./agents-route-Dc73Pt04.js")).AgentsRoute }));
70205
70205
  function kJe(e) {
70206
70206
  return /* @__PURE__ */ s(iN, { fallback: null, children: /* @__PURE__ */ s(yJe, { ...e }) });
70207
70207
  }
@@ -104135,7 +104135,7 @@ function cne(e) {
104135
104135
  e instanceof Error ? e.message : String(e)
104136
104136
  );
104137
104137
  }
104138
- const WCt = () => import("./WorkspaceFileBrowser-B0EUYL2u.js").then((e) => ({ default: e.WorkspaceFileBrowser })).catch(cne), HCt = () => import("./PierreFilePreview-Cz8IByld.js").catch(cne), UCt = oN(() => import("./SpreadsheetPreview-BSdHX6Lq.js")), qCt = 700, jCt = [
104138
+ const WCt = () => import("./WorkspaceFileBrowser-Cfi_Fx8Q.js").then((e) => ({ default: e.WorkspaceFileBrowser })).catch(cne), HCt = () => import("./PierreFilePreview-Cf76KkJc.js").catch(cne), UCt = oN(() => import("./SpreadsheetPreview-BXxrs6FZ.js")), qCt = 700, jCt = [
104139
104139
  "daily",
104140
104140
  "weekdays",
104141
104141
  "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-DY7azBbC.js";
5
5
  import { DAEMON_APPROVAL_MODES as Z } from "@qwen-code/sdk/daemon";
6
- import { a7 as ss, a8 as as, a9 as es, aa as ts, ab as ns, ac as os, ad as rs, ae as is, af as us, ag as Ss, ah as gs, ai as cs, aj as ls } from "./index-DhmGlDKS.js";
6
+ import { a7 as ss, a8 as as, a9 as es, aa as ts, ab as ns, ac as os, ad as rs, ae as is, af as us, ag as Ss, ah as gs, ai as cs, aj as ls } from "./index-DjRVj9L_.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.26.2-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.26.2-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.26.2-preview.0",
3
+ "version": "0.26.2-preview.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/QwenLM/qwen-code.git",