agent-office-studio 0.7.0 → 0.9.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +61 -1
  2. package/README.md +13 -1
  3. package/bin/agentoffice.js +6 -1
  4. package/dist/assets/code-Dtdckl8K.js +32 -0
  5. package/dist/assets/index-DxWppRAd.css +1 -0
  6. package/dist/assets/index-Y1a-xw5C.js +5040 -0
  7. package/dist/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  8. package/dist/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  9. package/dist/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  10. package/dist/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  11. package/dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  12. package/dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  13. package/dist/assets/{jetbrains-mono-cyrillic-400-normal-CIEtRijs.woff → jetbrains-mono-cyrillic-400-normal-ugxPyKxw.woff} +0 -0
  14. package/dist/assets/{jetbrains-mono-greek-400-normal-CNojz0t3.woff → jetbrains-mono-greek-400-normal-B9oWc5Lo.woff} +0 -0
  15. package/dist/assets/{jetbrains-mono-latin-400-normal-B11XCQ5g.woff → jetbrains-mono-latin-400-normal-6-qcROiO.woff} +0 -0
  16. package/dist/assets/{jetbrains-mono-latin-ext-400-normal-DHMOLxAi.woff → jetbrains-mono-latin-ext-400-normal-fXTG6kC5.woff} +0 -0
  17. package/dist/assets/{jetbrains-mono-vietnamese-400-normal-BeU3T8wf.woff → jetbrains-mono-vietnamese-400-normal-CqNFfHCs.woff} +0 -0
  18. package/dist/assets/pdf-BtCWNl9F.js +55 -0
  19. package/dist/assets/pdf-a7kwa8Fi.js +1 -0
  20. package/dist/assets/pdf.worker.min-BJd0dv5W.js +53 -0
  21. package/dist/assets/pdf.worker.min-D_0FwaWY.js +1 -0
  22. package/dist/index.html +32 -26
  23. package/dist/theme-boot.js +13 -0
  24. package/docs/desktop.md +52 -0
  25. package/docs/phone.md +51 -3
  26. package/docs/security.md +8 -3
  27. package/package.json +20 -2
  28. package/server/changes.js +13 -2
  29. package/server/chief.js +17 -0
  30. package/server/cloudflared.js +84 -0
  31. package/server/economy.js +478 -0
  32. package/server/files.js +104 -0
  33. package/server/guests.js +59 -21
  34. package/server/index.js +743 -59
  35. package/server/journeys.js +101 -0
  36. package/server/links.js +11 -4
  37. package/server/machine.js +164 -0
  38. package/server/office-mcp.js +29 -0
  39. package/server/phone.js +70 -0
  40. package/server/procstat.js +12 -6
  41. package/server/settings.js +5 -0
  42. package/server/talk.js +51 -0
  43. package/server/tunnel.js +136 -0
  44. package/server/visits.js +14 -4
  45. package/shared/shop.js +134 -0
  46. package/dist/assets/index-BtHSEs3B.js +0 -4475
  47. package/dist/assets/index-DVuFVmWF.css +0 -1
  48. package/dist/assets/inter-cyrillic-ext-wght-normal-B2xhLi22.woff2 +0 -0
  49. package/dist/assets/inter-cyrillic-wght-normal-CMZtQduZ.woff2 +0 -0
  50. package/dist/assets/inter-greek-ext-wght-normal-CGAr0uHJ.woff2 +0 -0
  51. package/dist/assets/inter-greek-wght-normal-CaVNZxsx.woff2 +0 -0
  52. package/dist/assets/inter-latin-ext-wght-normal-CFHvXkgd.woff2 +0 -0
  53. package/dist/assets/inter-latin-wght-normal-C2S99t-D.woff2 +0 -0
@@ -0,0 +1 @@
1
+ import{_ as f}from"./index-Y1a-xw5C.js";let h=null;async function v(){if(h)return h;const[a,{default:s}]=await Promise.all([f(()=>import("./pdf-BtCWNl9F.js"),[]),f(()=>import("./pdf.worker.min-D_0FwaWY.js"),[])]);return a.GlobalWorkerOptions.workerPort=new s,h=a}async function y(a,s){const g=await v(),i=await fetch(s);if(!i.ok)throw new Error((await i.json().catch(()=>({}))).error||`Could not open the PDF (${i.status}).`);const r=await g.getDocument({data:new Uint8Array(await i.arrayBuffer())}).promise;let c=!1;const d=new IntersectionObserver(e=>{for(const t of e)t.isIntersecting&&(d.unobserve(t.target),w(t.target))},{root:a,rootMargin:"600px 0px"});async function w(e){const t=await r.getPage(+e.dataset.n);if(c)return;const l=Math.min(devicePixelRatio||1,2),m=Math.min(a.clientWidth-24,980)/t.getViewport({scale:1}).width,o=t.getViewport({scale:m*l}),n=document.createElement("canvas");n.width=Math.floor(o.width),n.height=Math.floor(o.height),n.style.width=`${Math.floor(o.width/l)}px`,n.style.height=`${Math.floor(o.height/l)}px`,e.style.minHeight=n.style.height,await t.render({canvasContext:n.getContext("2d"),viewport:o,canvas:n}).promise,c||e.replaceChildren(n)}a.replaceChildren();const p=(await r.getPage(1)).getViewport({scale:1}),u=Math.round(Math.min(a.clientWidth-24,980)/p.width*p.height);for(let e=1;e<=r.numPages;e++){const t=document.createElement("div");t.className="fe-pdf-page",t.dataset.n=e,t.style.minHeight=`${u}px`,a.append(t),d.observe(t)}return{pages:r.numPages,destroy(){c=!0,d.disconnect(),r.destroy()}}}export{y as mountPdf};