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.
- package/CHANGELOG.md +61 -1
- package/README.md +13 -1
- package/bin/agentoffice.js +6 -1
- package/dist/assets/code-Dtdckl8K.js +32 -0
- package/dist/assets/index-DxWppRAd.css +1 -0
- package/dist/assets/index-Y1a-xw5C.js +5040 -0
- package/dist/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/assets/{jetbrains-mono-cyrillic-400-normal-CIEtRijs.woff → jetbrains-mono-cyrillic-400-normal-ugxPyKxw.woff} +0 -0
- package/dist/assets/{jetbrains-mono-greek-400-normal-CNojz0t3.woff → jetbrains-mono-greek-400-normal-B9oWc5Lo.woff} +0 -0
- package/dist/assets/{jetbrains-mono-latin-400-normal-B11XCQ5g.woff → jetbrains-mono-latin-400-normal-6-qcROiO.woff} +0 -0
- package/dist/assets/{jetbrains-mono-latin-ext-400-normal-DHMOLxAi.woff → jetbrains-mono-latin-ext-400-normal-fXTG6kC5.woff} +0 -0
- package/dist/assets/{jetbrains-mono-vietnamese-400-normal-BeU3T8wf.woff → jetbrains-mono-vietnamese-400-normal-CqNFfHCs.woff} +0 -0
- package/dist/assets/pdf-BtCWNl9F.js +55 -0
- package/dist/assets/pdf-a7kwa8Fi.js +1 -0
- package/dist/assets/pdf.worker.min-BJd0dv5W.js +53 -0
- package/dist/assets/pdf.worker.min-D_0FwaWY.js +1 -0
- package/dist/index.html +32 -26
- package/dist/theme-boot.js +13 -0
- package/docs/desktop.md +52 -0
- package/docs/phone.md +51 -3
- package/docs/security.md +8 -3
- package/package.json +20 -2
- package/server/changes.js +13 -2
- package/server/chief.js +17 -0
- package/server/cloudflared.js +84 -0
- package/server/economy.js +478 -0
- package/server/files.js +104 -0
- package/server/guests.js +59 -21
- package/server/index.js +743 -59
- package/server/journeys.js +101 -0
- package/server/links.js +11 -4
- package/server/machine.js +164 -0
- package/server/office-mcp.js +29 -0
- package/server/phone.js +70 -0
- package/server/procstat.js +12 -6
- package/server/settings.js +5 -0
- package/server/talk.js +51 -0
- package/server/tunnel.js +136 -0
- package/server/visits.js +14 -4
- package/shared/shop.js +134 -0
- package/dist/assets/index-BtHSEs3B.js +0 -4475
- package/dist/assets/index-DVuFVmWF.css +0 -1
- package/dist/assets/inter-cyrillic-ext-wght-normal-B2xhLi22.woff2 +0 -0
- package/dist/assets/inter-cyrillic-wght-normal-CMZtQduZ.woff2 +0 -0
- package/dist/assets/inter-greek-ext-wght-normal-CGAr0uHJ.woff2 +0 -0
- package/dist/assets/inter-greek-wght-normal-CaVNZxsx.woff2 +0 -0
- package/dist/assets/inter-latin-ext-wght-normal-CFHvXkgd.woff2 +0 -0
- 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};
|