@sciol/xyzen 1.9.79-beta.4cc7ddd → 1.9.79-beta.e08d924

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/dist/xyzen.es.js CHANGED
@@ -13028,7 +13028,7 @@ function v9t(t) {
13028
13028
  }
13029
13029
  async function _9t(t) {
13030
13030
  if (Qc())
13031
- return HM("plugin:shell|open", { path: t });
13031
+ return HM("desktop_open_url", { url: t });
13032
13032
  }
13033
13033
  function Dtr() {
13034
13034
  return _9t(
@@ -119277,71 +119277,41 @@ function paa({ onConnect: t }) {
119277
119277
  /* @__PURE__ */ A.jsxs("div", { children: [
119278
119278
  /* @__PURE__ */ A.jsx("p", { className: "font-mono text-[12px] text-neutral-900 dark:text-[#e6edf3]", children: e("capsule.sandbox.runner.computerUseTitle", "Computer Use") }),
119279
119279
  /* @__PURE__ */ A.jsx("p", { className: "mt-0.5 font-mono text-[10px] text-neutral-500 dark:text-[#8b949e]", children: T }),
119280
- !b.supported && /* @__PURE__ */ A.jsxs("div", { className: "mt-2 space-y-1.5 font-mono text-[10px] text-neutral-500 dark:text-[#8b949e]", children: [
119281
- /* @__PURE__ */ A.jsxs("div", { className: "flex items-center justify-between", children: [
119282
- /* @__PURE__ */ A.jsxs("p", { children: [
119283
- e(
119284
- "capsule.sandbox.runner.computerUsePermissionScreenCapture",
119285
- "屏幕录制"
119286
- ),
119287
- ":",
119288
- " ",
119289
- b.screen_capture_permission === "granted" ? e(
119290
- "capsule.sandbox.runner.computerUsePermissionGranted",
119291
- "已授权"
119292
- ) : b.screen_capture_permission === "denied" ? e(
119293
- "capsule.sandbox.runner.computerUsePermissionDenied",
119294
- "未授权"
119295
- ) : e(
119296
- "capsule.sandbox.runner.computerUsePermissionUnknown",
119297
- "未知"
119298
- )
119299
- ] }),
119300
- b.screen_capture_permission === "denied" && /* @__PURE__ */ A.jsx(
119301
- "button",
119302
- {
119303
- onClick: () => {
119304
- Dtr();
119305
- },
119306
- className: "border border-neutral-200 dark:border-[#30363d] bg-neutral-50 dark:bg-[#161b22] px-1.5 py-0.5 font-mono text-[10px] text-blue-600 dark:text-[#58a6ff] transition-colors hover:border-blue-500 dark:hover:border-[#58a6ff]",
119307
- children: e(
119308
- "capsule.sandbox.runner.computerUseOpenSettings",
119309
- "打开设置"
119310
- )
119311
- }
119280
+ !b.supported && /* @__PURE__ */ A.jsxs("div", { className: "mt-2 space-y-1 font-mono text-[10px] text-neutral-500 dark:text-[#8b949e]", children: [
119281
+ /* @__PURE__ */ A.jsxs("p", { children: [
119282
+ e(
119283
+ "capsule.sandbox.runner.computerUsePermissionScreenCapture",
119284
+ "屏幕录制"
119285
+ ),
119286
+ ":",
119287
+ " ",
119288
+ b.screen_capture_permission === "granted" ? e(
119289
+ "capsule.sandbox.runner.computerUsePermissionGranted",
119290
+ "已授权"
119291
+ ) : b.screen_capture_permission === "denied" ? e(
119292
+ "capsule.sandbox.runner.computerUsePermissionDenied",
119293
+ "未授权"
119294
+ ) : e(
119295
+ "capsule.sandbox.runner.computerUsePermissionUnknown",
119296
+ "未知"
119312
119297
  )
119313
119298
  ] }),
119314
- /* @__PURE__ */ A.jsxs("div", { className: "flex items-center justify-between", children: [
119315
- /* @__PURE__ */ A.jsxs("p", { children: [
119316
- e(
119317
- "capsule.sandbox.runner.computerUsePermissionAccessibility",
119318
- "辅助功能"
119319
- ),
119320
- ":",
119321
- " ",
119322
- b.accessibility_permission === "granted" ? e(
119323
- "capsule.sandbox.runner.computerUsePermissionGranted",
119324
- "已授权"
119325
- ) : b.accessibility_permission === "denied" ? e(
119326
- "capsule.sandbox.runner.computerUsePermissionDenied",
119327
- "未授权"
119328
- ) : e(
119329
- "capsule.sandbox.runner.computerUsePermissionUnknown",
119330
- "未知"
119331
- )
119332
- ] }),
119333
- b.accessibility_permission === "denied" && /* @__PURE__ */ A.jsx(
119334
- "button",
119335
- {
119336
- onClick: () => {
119337
- Ntr();
119338
- },
119339
- className: "border border-neutral-200 dark:border-[#30363d] bg-neutral-50 dark:bg-[#161b22] px-1.5 py-0.5 font-mono text-[10px] text-blue-600 dark:text-[#58a6ff] transition-colors hover:border-blue-500 dark:hover:border-[#58a6ff]",
119340
- children: e(
119341
- "capsule.sandbox.runner.computerUseOpenSettings",
119342
- "打开设置"
119343
- )
119344
- }
119299
+ /* @__PURE__ */ A.jsxs("p", { children: [
119300
+ e(
119301
+ "capsule.sandbox.runner.computerUsePermissionAccessibility",
119302
+ "辅助功能"
119303
+ ),
119304
+ ":",
119305
+ " ",
119306
+ b.accessibility_permission === "granted" ? e(
119307
+ "capsule.sandbox.runner.computerUsePermissionGranted",
119308
+ "已授权"
119309
+ ) : b.accessibility_permission === "denied" ? e(
119310
+ "capsule.sandbox.runner.computerUsePermissionDenied",
119311
+ "未授权"
119312
+ ) : e(
119313
+ "capsule.sandbox.runner.computerUsePermissionUnknown",
119314
+ "未知"
119345
119315
  )
119346
119316
  ] })
119347
119317
  ] })
@@ -119360,6 +119330,19 @@ function paa({ onConnect: t }) {
119360
119330
  )
119361
119331
  }
119362
119332
  ),
119333
+ I && /* @__PURE__ */ A.jsx(
119334
+ "button",
119335
+ {
119336
+ onClick: () => {
119337
+ I === "accessibility" ? Ntr() : Dtr();
119338
+ },
119339
+ className: "border border-neutral-200 dark:border-[#30363d] bg-neutral-50 dark:bg-[#161b22] px-2 py-1 font-mono text-[10px] text-blue-600 dark:text-[#58a6ff] transition-colors hover:border-blue-500 dark:hover:border-[#58a6ff]",
119340
+ children: e(
119341
+ "capsule.sandbox.runner.computerUseOpenSettings",
119342
+ "打开设置"
119343
+ )
119344
+ }
119345
+ ),
119363
119346
  /* @__PURE__ */ A.jsx(
119364
119347
  "button",
119365
119348
  {