busybits 2.4.1 → 2.5.0
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/.claude-plugin/marketplace.json +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/build.json +2 -2
- package/dist/cli/busybits.js +39 -0
- package/dist/client/bundle/app-QVC1DacC.js +24 -0
- package/dist/client/bundle/{city-DKO2ZZPJ.js → city-S-WD2HZe.js} +1 -1
- package/dist/client/bundle/{daystats-CqDMjh5a.js → daystats-BaQmwDUl.js} +1 -1
- package/dist/client/bundle/{dom-BnYE5zIh.js → dom-z_NH7Uh7.js} +1 -1
- package/dist/client/bundle/{en-BD-d_FWo.js → en-DK_q-bO7.js} +1 -1
- package/dist/client/bundle/{es-ZgMlZ_LY.js → es-CUFTupoF.js} +1 -1
- package/dist/client/bundle/{format-CnTSBxgP.js → format-BrkFnmVF.js} +1 -1
- package/dist/client/bundle/{fr-DOSCFvER.js → fr-CY87v2sh.js} +1 -1
- package/dist/client/bundle/{main-7JfOGPBD.js → main-DNVSCypp.js} +2 -2
- package/dist/client/bundle/{ptypane-DBg26wgg.js → ptypane-DAVYBQ48.js} +1 -1
- package/dist/client/bundle/{room-name-Cb8-ffEK.js → room-name-Cg36nI5X.js} +1 -1
- package/dist/client/bundle/{simulator-DeHOlOye.js → simulator-CDeHv4xc.js} +1 -1
- package/dist/client/bundle/world-model-CPBvh77_.js +1 -0
- package/dist/client/bundle/{world-stream-DZkepWt9.js → world-stream-FBFp8Oax.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/index.js +76 -19
- package/mod/habblaud/.claude-plugin/plugin.json +1 -1
- package/mod/habblaud-mensagens/.claude-plugin/plugin.json +1 -1
- package/mod/habblaud-permissoes/.claude-plugin/plugin.json +1 -1
- package/mod/habblaud-pi/package.json +1 -1
- package/package.json +1 -1
- package/dist/client/bundle/app-B_jk_lPZ.js +0 -24
- package/dist/client/bundle/world-model-C3GVcyT7.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,s as t}from"./main-7JfOGPBD.js";import{c as n,l as r,r as i,t as a}from"./simulator-DeHOlOye.js";import{_ as o,c as s,i as c,l,r as u,s as d,v as f}from"./dom-BnYE5zIh.js";import{c as p,d as m,i as h,l as g}from"./format-CnTSBxgP.js";import{_,g as v,h as y,m as b}from"./app-B_jk_lPZ.js";var x=36e5;24*x;var S=12e4,C=2e4,w=9e4;6*x;var T=1e4,E={toolCalls:60,tokensIn:5e6,tokensOut:5e5,costUSD:50},D=1500,O=[`waiting`,`working`,`idle`,`shell`],ee=[`prompts`,`toolCalls`,`tasksDone`,`tokensIn`,`tokensOut`,`costUSD`];function k(){return{waiting:0,working:0,idle:0,shell:0}}function A(){return{prompts:0,toolCalls:0,tasksDone:0,tokensIn:0,tokensOut:0,costUSD:0}}function j(e){return e.waiting+e.working+e.idle+e.shell}function te(e){return e===`waiting`||e===`working`||e===`idle`||e===`shell`}function M(e){return{waiting:Math.round(e.waiting),working:Math.round(e.working),idle:Math.round(e.idle),shell:Math.round(e.shell)}}function N(e,t){for(let n of O)e[n]+=t[n]}function P(e,t){for(let n of ee)e[n]+=t[n]}function F(e){return Math.floor(e/x)*x}function I(e,t,n){let r=e;for(;r<t;){let e=F(r),i=Math.min(t,e+x);n(e,i-r),r=i}}function ne(e){let t=e.filter(([e,t])=>t>e).sort((e,t)=>e[0]-t[0]),n=[];for(let[e,r]of t){let t=n[n.length-1];t&&e<=t[1]?t[1]=Math.max(t[1],r):n.push([e,r])}return n}var re=/^(\d{4})-(\d{2})-(\d{2})$/,ie=/^[A-Za-z][A-Za-z0-9_+-]*(?:\/[A-Za-z0-9_+-]+){0,2}$/,L=new Map,ae=64;function oe(e){let t=L.get(e);return t||(L.size>=ae&&L.clear(),t=new Intl.DateTimeFormat(`en-US`,{timeZone:e,hourCycle:`h23`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`}),L.set(e,t)),t}function R(e,t){let n={y:1970,mo:1,d:1,h:0,mi:0,s:0};for(let r of oe(t).formatToParts(e)){let e=Number(r.value);r.type===`year`?n.y=e:r.type===`month`?n.mo=e:r.type===`day`?n.d=e:r.type===`hour`?n.h=e%24:r.type===`minute`?n.mi=e:r.type===`second`&&(n.s=e)}return n}function se(e){if(e.length>64||!ie.test(e))return null;try{return new Intl.DateTimeFormat(`en-US`,{timeZone:e}).resolvedOptions().timeZone}catch{return null}}function ce(e){return se(e)!==null}function le(){try{let e=Intl.DateTimeFormat().resolvedOptions().timeZone;return e&&ce(e)?e:`UTC`}catch{return`UTC`}}var z=e=>String(e).padStart(2,`0`);function B(e,t){let n=R(e,t);return`${n.y}-${z(n.mo)}-${z(n.d)}`}function V(e,t){return R(e,t).h}function H(e){let t=re.exec(e);if(!t)return null;let n=Number(t[1]),r=Number(t[2]),i=Number(t[3]);if(n<1970||r<1||r>12||i<1||i>31)return null;let a=new Date(Date.UTC(n,r-1,i));return a.getUTCFullYear()!==n||a.getUTCMonth()!==r-1||a.getUTCDate()!==i?null:{y:n,m:r,d:i}}function U(e,t){let n=H(e);if(!n)return e;let r=new Date(Date.UTC(n.y,n.m-1,n.d+t));return`${r.getUTCFullYear()}-${z(r.getUTCMonth()+1)}-${z(r.getUTCDate())}`}function W(e,t){let n=R(e,t);return Date.UTC(n.y,n.mo-1,n.d,n.h,n.mi,n.s)-Math.floor(e/1e3)*1e3}function G(e,n){let r=H(e);if(!r)throw RangeError(t(`dia inválido: {0}`,[e]));let i=Date.UTC(r.y,r.m-1,r.d),a=i-W(i,n);a=i-W(a,n);let o=9e5;for(let t=0;t<16&&B(a,n)<e;t++)a+=o;for(let t=0;t<16&&B(a-o,n)===e;t++)a-=o;return a}function ue(e,t){return{start:G(e,t),end:G(U(e,1),t)}}function K(e,t,n){let r=e+x/2;return r>=t&&r<n}function de(e){return{t:e,ms:k(),waitWallMs:0,counts:A(),rooms:new Map,accounts:new Map,agents:new Map}}function q(e,t){let n=e.get(t);return n||e.set(t,n={ms:k(),counts:A()}),n}function fe(e){return j(e.ms)>0||e.counts.prompts>0||e.counts.toolCalls>0||e.counts.tokensIn>0||e.counts.tokensOut>0}var pe=class{key;hours=new Map;rooms=new Map;accounts=new Map;waits=[];dirty=!1;updatedAt=0;constructor(e){this.key=e}hour(e){let t=this.hours.get(e);return t||this.hours.set(e,t=de(e)),t}hoursWithData(){return[...this.hours.values()].filter(fe).map(e=>e.t)}toFile(){let e=e=>[...e].map(([e,t])=>[e,{ms:{...t.ms},counts:{...t.counts}}]);return{version:1,day:this.key,updatedAt:this.updatedAt,hours:[...this.hours.values()].sort((e,t)=>e.t-t.t).map(t=>({t:t.t,ms:{...t.ms},waitWallMs:t.waitWallMs,counts:{...t.counts},rooms:e(t.rooms),accounts:e(t.accounts),agents:[...t.agents].map(([e,[t,n]])=>[e,t,n])})),rooms:[...this.rooms],accounts:[...this.accounts].map(([e,t])=>[e,{...t}]),waits:this.waits.map(e=>({...e}))}}};function J(e){return typeof e==`number`&&Number.isFinite(e)&&e>=0?e:0}var me=class{fileDayOf;loader;days=new Map;idx=new Map;constructor(e,t){this.fileDayOf=e,this.loader=t}day(e){let t=this.days.get(e);if(!t){t=this.loader?.(e)??new pe(e),this.days.set(e,t);for(let e of t.hours.values())this.idx.set(e.t,{day:t,b:e})}return t}peek(e){return this.days.get(e)}list(){return[...this.days.values()]}evictBefore(e){for(let[t,n]of this.days)if(!(t>=e||n.dirty)){this.days.delete(t);for(let e of n.hours.keys())this.idx.delete(e)}}slot(e){let t=F(e),n=this.idx.get(t);if(!n){let e=this.day(this.fileDayOf(t));n={day:e,b:e.hour(t)},this.idx.set(t,n)}return n}touch(e,t){e.dirty=!0,t>e.updatedAt&&(e.updatedAt=t)}note(e,t){t.roomName&&e.rooms.get(t.room)!==t.roomName&&e.rooms.set(t.room,t.roomName);let n=t.accountMeta,r=e.accounts.get(t.account);n&&(!r||r.name!==n.name||r.short!==n.short||r.color!==n.color)&&e.accounts.set(t.account,{...n})}addMsAt(e,t,n,r,i=n){if(!(r>0))return;let{day:a,b:o}=this.slot(n);o.ms[t]+=r,q(o.rooms,e.room).ms[t]+=r,q(o.accounts,e.account).ms[t]+=r,o.agents.has(e.key)||o.agents.set(e.key,[e.room,e.account]),this.note(a,e),this.touch(a,i)}markPresent(e,t){let{day:n,b:r}=this.slot(t);r.agents.has(e.key)||(r.agents.set(e.key,[e.room,e.account]),this.note(n,e),this.touch(n,t))}addTime(e,t,n,r){I(n,r,(n,i)=>this.addMsAt(e,t,n,i,r))}addCount(e,t,n,r){if(!(n>0))return;let{day:i,b:a}=this.slot(r);a.counts[t]+=n,q(a.rooms,e.room).counts[t]+=n,q(a.accounts,e.account).counts[t]+=n,this.note(i,e),this.touch(i,r)}addWaitWallAt(e,t,n=e){if(!(t>0))return;let{day:r,b:i}=this.slot(e);i.waitWallMs+=t,this.touch(r,n)}addWaitWall(e,t){I(e,t,(e,n)=>this.addWaitWallAt(e,n,t))}addWait(e){let{day:t}=this.slot(e.start);if(t.waits.push(e),t.waits.length>1e3){let n=e=>t.waits[e].end-t.waits[e].start,r=-1;if(t.waits.forEach((t,i)=>{t.open||t===e||(r<0||n(i)<n(r))&&(r=i)}),r<0)for(let e=0;e<t.waits.length;e++)(r<0||n(e)<n(r))&&(r=e);t.waits.splice(r,1)}this.touch(t,e.end)}touchWait(e){this.touch(this.slot(e.start).day,e.end)}removeWait(e){let{day:t}=this.slot(e.start),n=t.waits.indexOf(e);n>=0&&(t.waits.splice(n,1),this.touch(t,e.end))}findOpenWait(e,t){for(let n of this.days.values())for(let r=n.waits.length-1;r>=0;r--){let i=n.waits[r];if(i.open&&i.agentId===e&&i.end>=t)return i}}};function he(){return{ms:k(),counts:A(),sessions:0,subagents:0,waits:0,longestWaitMs:0,agents:new Set}}function Y(e){let t=0,n=0;for(let r of e.agents)r.startsWith(`m:`)?t++:r.startsWith(`s:`)&&n++;let r={...e.counts,costUSD:Math.round(e.counts.costUSD*1e4)/1e4};return{ms:M(e.ms),counts:r,sessions:t,subagents:n,waits:e.waits,longestWaitMs:Math.round(e.longestWaitMs)}}function X(e,t){let n=e.get(t);return n||e.set(t,n=he()),n}function ge(e){return e.split(/[\\/]/).filter(Boolean).pop()??e}function _e(e,t,n,r,i={}){let{start:a,end:o}=ue(t,n),s=[...e].sort((e,t)=>e.key.localeCompare(t.key)),c=new Map,l=new Map,u=new Map,d=0;for(let e of s){for(let[t,n]of e.rooms)c.set(t,n);for(let[t,n]of e.accounts)l.set(t,n);for(let[t,n]of e.hours)K(t,a,o)&&u.set(t,n)}let f=he(),p=0,m=new Map,h=new Map;for(let e of u.values()){N(f.ms,e.ms),P(f.counts,e.counts),p+=e.waitWallMs;for(let[t,n]of e.rooms){let e=X(m,t);N(e.ms,n.ms),P(e.counts,n.counts)}for(let[t,n]of e.accounts){let e=X(h,t);N(e.ms,n.ms),P(e.counts,n.counts)}for(let[t,[n,r]]of e.agents)f.agents.add(t),X(m,n).agents.add(t),X(h,r).agents.add(t);for(let t of s)t.hours.get(e.t)===e&&t.updatedAt>d&&(d=t.updatedAt)}let g=new Set,_=[];for(let e of s)for(let t of e.waits){if(t.end<=a||t.start>=o||t.end-t.start<3e3)continue;let e=`${t.agentId}|${t.start}`;g.has(e)||(g.add(e),_.push(t))}for(let e of _){let t=e.end-e.start;for(let n of[f,X(m,e.roomId),X(h,e.account)])n.waits++,t>n.longestWaitMs&&(n.longestWaitMs=t)}let v=[..._].sort((e,t)=>t.end-t.start-(e.end-e.start)||e.start-t.start).slice(0,i.top??10),y=[];for(let e=F(a);e<o;e+=x)K(e,a,o)&&y.push({t:e,hour:V(Math.max(e,a),n),ms:M(u.get(e)?.ms??k())});let b=e=>c.get(e)??ge(e),S=[...m].map(([e,t])=>({id:e,name:b(e),...Y(t)})).sort((e,t)=>t.ms.waiting-e.ms.waiting||j(t.ms)-j(e.ms)||e.name.localeCompare(t.name)),C=[...h].map(([e,t])=>{let n=l.get(e);return{id:e,name:n?.name??e,short:n?.short??`?`,color:n?.color??`#8b98b3`,...Y(t)}}).sort((e,t)=>t.ms.working-e.ms.working||j(t.ms)-j(e.ms)||e.name.localeCompare(t.name)),w={day:t,tz:n,start:a,end:o,totals:{...Y(f),waitWallMs:Math.round(p)},rooms:S,accounts:C,hours:y,waits:v.map(e=>{let t={agentId:e.agentId,agentName:e.agentName,roomId:e.roomId,roomName:b(e.roomId),account:e.account,start:e.start,end:e.end,ms:e.end-e.start};return e.reason&&(t.reason=e.reason),e.open&&r-e.end<1e4&&(t.ongoing=!0),t})};return d&&(w.updatedAt=d),w}function ve(e,t){let n=new Set;for(let r of e)n.add(B(r+x/2,t));return n}function ye(e){let t=e.stats;return{toolCalls:J(t.toolCalls),tokensIn:J(t.tokensIn),tokensOut:J(t.tokensOut),costUSD:J(t.costUSD)}}function be(e,t){return{toolCalls:Math.max(e.toolCalls,t.toolCalls),tokensIn:Math.max(e.tokensIn,t.tokensIn),tokensOut:Math.max(e.tokensOut,t.tokensOut),costUSD:Math.max(e.costUSD,t.costUSD)}}var xe={toolCalls:0,tokensIn:0,tokensOut:0,costUSD:0};function Se(e){return e.toolCalls===0&&e.tokensIn===0&&e.tokensOut===0}function Ce(e){return e.tasks.reduce((e,t)=>e+ +(t.status===`completed`),0)}var we=class{book;tracks=new Map;lastSample;startedAt;constructor(e,t){this.book=e,this.startedAt=t.startedAt}get size(){return this.tracks.size}observe(e,t){let n=this.lastSample===void 0?1/0:t-this.lastSample;this.lastSample=t;let r=new Map(e.rooms.map(e=>[e.id,e.name])),i=new Map(e.accounts.map(e=>[e.id,{name:e.name,short:e.short,color:e.color}])),a=[],o=new Set;for(let s of e.agents){o.add(s.id);let e={key:s.kind===`main`?`m:${s.sessionId}`:`s:${s.id}`,room:s.roomId,roomName:r.get(s.roomId)??ge(s.roomId),account:s.account},c=i.get(s.account);c&&(e.accountMeta=c);let l=this.tracks.get(s.id),u=n;l?this.integrate(l,s,e,t,a):(l=this.begin(s,t),this.tracks.set(s.id,l),u=0,(te(s.status)||l.fresh)&&this.book.markPresent(e,t)),l.seenAt=t,l.status=s.status,this.countPrompts(l,s,e,t),this.countDeltas(l,s,e,t,u)}for(let[e,n]of this.tracks)o.has(e)||(t-n.seenAt>12e4&&this.closeWait(n),t-n.seenAt>216e5&&this.tracks.delete(e));for(let[e,t]of ne(a))this.book.addWaitWall(e,t)}begin(e,t){let n=ye(e),r=e.startedAt>=this.startedAt&&(e.kind===`sub`||Se(n));return{sessionId:e.sessionId,status:e.status,lastAt:t,seenAt:t,hw:r?{...xe}:n,costKnown:r||e.stats.costUSD!==void 0,fresh:r,tasksDone:r?0:Ce(e),settleUntil:r?0:t+Math.max(C,this.startedAt+w-t),prompts:[]}}integrate(e,t,n,r,i){let a=e.lastAt;if(e.lastAt=r,r<=a)return;if(r-a>12e4){this.closeWait(e);return}let o=t.statusSince>a&&t.statusSince<r?t.statusSince:void 0;o!==void 0&&e.status!==t.status?(this.segment(e,t,n,e.status,a,o,i),this.segment(e,t,n,t.status,o,r,i)):this.segment(e,t,n,t.status,a,r,i)}segment(e,t,n,r,i,a,o){if(a<=i)return;if(!te(r)){this.closeWait(e);return}if(this.book.addTime(n,r,i,a),r!==`waiting`){this.closeWait(e);return}if(o.push([i,a]),e.wait&&i-e.wait.end<=D){e.wait.end=a,this.book.touchWait(e.wait);return}this.closeWait(e);let s=this.book.findOpenWait(t.id,i-S);if(s){s.end=a,this.book.touchWait(s),e.wait=s;return}let c={agentId:t.id,agentName:t.name,roomId:t.roomId,account:t.account,start:i,end:a,open:!0};t.waitingFor&&(c.reason=t.waitingFor),this.book.addWait(c),e.wait=c}closeWait(e){let t=e.wait;t&&(e.wait=void 0,delete t.open,t.end-t.start<3e3?this.book.removeWait(t):this.book.touchWait(t))}countPrompts(e,t,n,r){for(let i of t.recent)i.kind!==`prompt`||i.at<this.startedAt||e.prompts.includes(i.id)||(e.prompts.push(i.id),e.prompts.length>64&&e.prompts.shift(),this.book.addCount(n,`prompts`,1,Math.min(i.at,r)))}countDeltas(e,t,n,r,i){let a=ye(t),o=Ce(t);if(t.sessionId!==e.sessionId){e.sessionId=t.sessionId,e.fresh=Se(a),e.hw=e.fresh?{...xe}:a,e.costKnown=e.fresh||t.stats.costUSD!==void 0,e.tasksDone=e.fresh?0:o,e.settleUntil=e.fresh?0:r+C,e.prompts=[];return}if(t.stats.costUSD!==void 0&&!e.costKnown&&(e.costKnown=!0,e.fresh||(e.hw.costUSD=Math.max(e.hw.costUSD,a.costUSD))),r<e.settleUntil){e.hw=be(e.hw,a),e.tasksDone=o;return}let s={toolCalls:Math.max(0,a.toolCalls-e.hw.toolCalls),tokensIn:Math.max(0,a.tokensIn-e.hw.tokensIn),tokensOut:Math.max(0,a.tokensOut-e.hw.tokensOut),costUSD:Math.max(0,a.costUSD-e.hw.costUSD)};e.hw=be(e.hw,a);let c=s.toolCalls>E.toolCalls||s.tokensIn>E.tokensIn||s.tokensOut>E.tokensOut||s.costUSD>E.costUSD;if(i<=T&&c){e.tasksDone=o;return}this.book.addCount(n,`toolCalls`,s.toolCalls,r),this.book.addCount(n,`tokensIn`,s.tokensIn,r),this.book.addCount(n,`tokensOut`,s.tokensOut,r),this.book.addCount(n,`costUSD`,s.costUSD,r),o>e.tasksDone&&this.book.addCount(n,`tasksDone`,o-e.tasksDone,r),e.tasksDone=o}},Te=[.03,.01,0,0,0,0,.02,.1,.4,.75,.95,.85,.4,.55,.9,1,.95,.8,.55,.35,.3,.25,.15,.06],Ee=[t(`aprovar uma permissão`),t(`responder uma pergunta`),t(`escolher uma opção`),t(`aprovar o plano`)];function De(e,o,s,c,l=n(`meu-dia:${F(s)}`)){let u=r(l),d=(e,t)=>e+u()*(t-e),f=o.accounts.map(e=>({id:e.id,codex:`provider`in e&&e.provider===`codex`,meta:{name:e.name,short:e.short,color:e.color}})),p=f.filter(e=>!e.codex),m=f.find(e=>e.codex),h=e=>m&&p.length?e<.5?p[0]:e<.8?p[p.length-1]:m:f[e<.6?0:f.length-1],g=new Map(o.rooms.map(e=>[e.id,e.name])),_=new Set(o.agents.map(e=>e.name)),v=new Map;for(let e of o.agents){let t=v.get(e.roomId)??new Map;t.set(e.account,(t.get(e.account)??0)+1),v.set(e.roomId,t)}let y=[...v.keys()][0];if(!y||!f.length)return;let b=y.slice(0,y.lastIndexOf(`/`)),S=[];for(let e of a){let t=`${b}/${e}`;v.has(t)||(v.set(t,new Map([[h(u()).id,1]])),S.push(t))}let C=S.some(e=>v.get(e).has(m?.id??``));m&&S.length&&!C&&v.set(S[S.length-1],new Map([[m.id,1]]));let w=[...v].map(([e,t])=>{let n=[...t].sort((e,t)=>t[1]-e[1])[0]?.[0]??f[0].id,r=[0,1,2].map(t=>{let n=i(`${e}:${t}:${l}`,_);return _.add(n.name),n.name}),a={id:e,name:g.get(e)??e.split(`/`).pop()??e,account:n,codex:!!f.find(e=>e.id===n)?.codex,weight:d(.35,1.1),waitiness:d(.05,.3),people:r},o=f.find(e=>e.id===n)?.meta;return o&&(a.accountMeta=o),a}),T=F(s),E=F(G(U(B(s,c),-1),c));for(let n=E;n<=T;n+=x){let r=Math.min(x,s-n);if(r<=0)continue;let i=r/x,a=Te[V(n,c)]??0,o=0;w.forEach((c,l)=>{let f=a*c.weight*d(.7,1.3);if(f<.04)return;let p=f>.6?2:1,m=e=>{let t={key:e,room:c.id,roomName:c.name,account:c.account};return c.accountMeta&&(t.accountMeta=c.accountMeta),t},h=Array.from({length:p},(e,t)=>m(`m:demo-dia-${l}-${t}`)),g=Math.min(.92,f*d(.55,.85))*x*i,_=g*c.waitiness*d(.5,1.4),v=g*d(0,.12),y=Math.max(0,p*x*i*.9-g-_-v)*d(.3,.7),b=[[`working`,g],[`waiting`,_],[`shell`,v],[`idle`,y]];for(let[t,i]of b)for(let a of h)e.addMsAt(a,t,n,i/p,Math.min(s,n+r));let S=Math.round(f*d(0,2.2));for(let t=0;t<S;t++)e.addMsAt(m(`s:demo-dia-${l}-${n}-${t}`),`working`,n,g*d(.15,.45),Math.min(s,n+r));let C=g/6e4,w=n+r/2,T=h[0];e.addCount(T,`prompts`,Math.round(C/7*d(.6,1.4)),w),e.addCount(T,`toolCalls`,Math.round(C*d(1.5,3)),w),e.addCount(T,`tasksDone`,Math.round(C/12*d(.4,1.2)),w);let E=Math.round(C*d(9e4,16e4)),D=Math.round(C*d(1e3,2200));if(e.addCount(T,`tokensIn`,E,w),e.addCount(T,`tokensOut`,D,w),c.codex||e.addCount(T,`costUSD`,Math.round((E*3e-7+D*15e-6)*1e4)/1e4,w),_>=3e4){let i=1+Math.floor(u()*Math.min(3,_/6e4)),a=_;for(let o=0;o<i&&a>=5e3;o++){let s=o===i-1?a:a*d(.3,.7);a-=s;let f=n+u()*Math.max(0,r-s),p=c.people[Math.floor(u()*c.people.length)],m=Ee[Math.floor(u()*Ee.length)];e.addWait({agentId:`demo-dia:${l}:${p}`,agentName:p,roomId:c.id,account:c.account,start:Math.round(f),end:Math.round(f+s),reason:c.codex?t(`aprovar um comando`):m})}o+=_*d(.75,.95)}}),e.addWaitWallAt(n,Math.min(o,r),Math.min(s,n+r))}}var Z={waiting:t(`Esperando você`),working:t(`Trabalhando`),idle:t(`Ocioso`),shell:t(`Esperando o shell`)};function Q(e){let t=Number.isFinite(e)?Math.max(0,e):0;if(t<6e4)return`${Math.floor(t/1e3)} s`;if(t<36e5)return`${Math.floor(t/6e4)} min`;let n=Math.floor(t/36e5),r=Math.floor(t%36e5/6e4);return r?`${n} h ${r} min`:`${n} h`}var Oe=new Set(O);function $(e,t){return O.reduce((n,r)=>n+(t.has(r)?e[r]:0),0)}function ke(e,t,n){return n>0?O.filter(n=>t.has(n)&&e[n]>0).map(t=>({status:t,ms:e[t],pct:e[t]/n*100})):[]}function Ae(e,n=Oe){let r=O.filter(t=>n.has(t)&&e[t]>0).map(t=>`${Z[t].toLowerCase()} ${Q(e[t])}`);return r.length?r.join(`, `):t(`sem tempo registrado`)}function je(e,n,r=!1,i){let a=e.totals,s=a.counts,c=e.waits[0],l=(e,t,n)=>`${p(e)} ${e===1?t:n}`;return{waiting:Q(a.ms.waiting),waitingMs:a.ms.waiting,longest:c?t(`{0} · {1} em {2}, às {3}{4}`,[Q(c.ms),o(c.agentId,c.agentName,i),c.roomName,n(c.start),c.ongoing?t(` (ainda esperando)`):``]):``,wall:a.waitWallMs>0?t(`Alguém esperou por você durante {0} do dia`,[Q(a.waitWallMs)]):``,waits:a.waits?l(a.waits,t(`espera`),t(`esperas`)):a.ms.waiting>0?t(`só esperas de poucos segundos`):t(`nenhuma espera`),working:Q(a.ms.working),sessions:p(a.sessions),subagents:l(a.subagents,t(`subagente`),t(`subagentes`)),tokens:g(s.tokensIn+s.tokensOut),tokensDetail:t(`{0} entrada · {1} saída`,[g(s.tokensIn),g(s.tokensOut)]),cost:s.costUSD>0?m(s.costUSD):`—`,costHint:s.costUSD>0?t(r?`Só do Claude Code: o Codex não grava custo, só tokens`:`Custo calculado pelo próprio Claude Code`):s.tokensIn+s.tokensOut>0?t(r?`O Codex não grava custo, só tokens`:`Os transcripts não trouxeram o custo`):t(`Nenhum gasto registrado`),prompts:p(s.prompts),activity:`${l(s.toolCalls,t(`ferramenta`),t(`ferramentas`))} · ${l(s.tasksDone,t(`tarefa concluída`),t(`tarefas concluídas`))}`}}function Me(e,n){let r=Math.max(0,...e.map(e=>$(e.ms,n)));return e.filter(e=>j(e.ms)>0).map(e=>{let i=$(e.ms,n);return{id:e.id,name:e.name,ms:e.ms,total:i,segments:ke(e.ms,n,r),waiting:t(`{0} esperando você`,[Q(e.ms.waiting)]),totalText:t(`{0} no total`,[Q(i)]),label:`${e.name}: ${Ae(e.ms,n)}`}})}var Ne=[5,10,15,20,30,45,60,90,120,180,240,300,360,480,600,720,960,1200,1440];function Pe(e){let t=Math.max(1,e/6e4),n=Ne.find(e=>e>=t)??Math.ceil(t/1440)*1440,r=n>=120?[60,30]:[5],i=1;for(let e of r){let t=[4,3,2].find(t=>Number.isInteger(n/t)&&n/t%e===0);if(t){i=t;break}}let a=n/i;return{max:n*6e4,ticks:Array.from({length:i},(e,t)=>(t+1)*a*6e4)}}function Fe(e){let t=Math.round(e/6e4);if(t<60)return`${t} min`;let n=Math.floor(t/60),r=t%60;return r?`${n} h ${String(r).padStart(2,`0`)}`:`${n} h`}function Ie(e,t,n,r=3){let i=Pe(Math.max(0,...e.map(e=>$(e.ms,t))));return{columns:e.map((a,o)=>{let s=$(a.ms,t),c=(a.hour+1)%24,l=`${a.hour}h–${c}h`;return{t:a.t,hour:a.hour,ms:a.ms,total:s,segments:ke(a.ms,t,i.max),range:l,label:`${l}: ${Ae(a.ms,t)}`,now:n>=a.t&&n<(e[o+1]?.t??a.t+36e5),future:a.t>n,tick:a.hour%r===0}}),axis:i}}function Le(e,n=()=>!1){let r=e.reduce((e,t)=>e+t.ms.working,0);return e.filter(e=>j(e.ms)>0||e.counts.tokensIn>0).map(e=>{let i=r>0?Math.round(e.ms.working/r*100):0,a=n(e.id);return{id:e.id,name:e.name,short:e.short,color:e.color,share:i,shareText:t(`{0}% do trabalho do dia`,[i]),working:Q(e.ms.working),waiting:Q(e.ms.waiting),sessions:`${p(e.sessions)} ${e.sessions===1?t(`sessão`):t(`sessões`)}${e.subagents?` · ${p(e.subagents)} sub`:``}`,tokens:g(e.counts.tokensIn+e.counts.tokensOut),cost:a?null:e.counts.costUSD>0?m(e.counts.costUSD):`—`,codex:a}})}function Re(e,n,r){let i=Math.max(1,...e.map(e=>e.ms));return e.map((e,a)=>{let s=e.ongoing?t(`desde {0}`,[n(e.start)]):`${n(e.start)}–${n(e.end)}`,c=o(e.agentId,e.agentName,r),l={key:`${e.agentId}|${e.start}`,rank:a+1,duration:Q(e.ms),pct:Math.max(2,e.ms/i*100),agentName:c,roomName:e.roomName,account:e.account,when:s,ongoing:!!e.ongoing,label:`${a+1}º: ${Q(e.ms)}, ${c} em ${e.roomName}, ${s}${e.reason?t(`, para {0}`,[e.reason]):``}${e.ongoing?t(`, ainda esperando`):``}`};return e.reason&&(l.reason=e.reason),l})}function ze(e,t,n){let r=O.filter(e=>n.has(e));return{head:[...r.map(e=>Z[e]),`Total`],rows:e.map(e=>[t(e),...r.map(t=>e.ms[t]>0?Q(e.ms[t]):`—`),Q($(e.ms,n))])}}var Be=new Intl.DateTimeFormat(e(),{weekday:`short`,day:`2-digit`,month:`2-digit`,timeZone:`UTC`});function Ve(e,n){if(e===n)return t(`Hoje`);let[r,i,a]=e.split(`-`).map(Number),o=Date.UTC(r,i-1,a),[s,c,l]=n.split(`-`).map(Number);return Date.UTC(s,c-1,l)-o===864e5?t(`Ontem`):Be.format(o)}function He(e,t,n){let r=new URLSearchParams({day:e,tz:t});return n&&r.set(`source`,n),`/api/stats?${r}`}function Ue(e){return`/api/stats/days?${new URLSearchParams({tz:e})}`}function We(e,t,n){return e&&t===n}function Ge(e){return j(e.totals.ms)===0&&e.totals.counts.tokensIn===0&&e.waits.length===0}var Ke=3e4,qe=t(`Tempo de agentes é a soma de todos eles: dois agentes trabalhando por 1 hora contam 2 horas. `)+t(`“Esperando você” é o tempo de mão levantada no escritório (permissão, pergunta ou escolha). `)+t(`O Habblaud só conta o que acontece enquanto ele está rodando.`);async function Je(e){let n=await fetch(e,{cache:`no-store`}),r=await n.json().catch(()=>null);if(!n.ok||!r)throw Error(r?.error??t(`erro {0}`,[n.status]));return r}var Ye={days:e=>Je(Ue(e)),day:(e,t,n)=>Je(He(e,t,n))},Xe=class{tz=le();book=new me(e=>B(e,this.tz));tracker=new we(this.book,{startedAt:Date.now()});seeded=!1;last=0;constructor(e){e.on(`snapshot`,e=>{let t=Date.now();t-this.last<1e3||(this.last=t,this.seeded||=(De(this.book,e,t,this.tz),!0),this.tracker.observe(e,t))})}async days(e){let t=B(Date.now(),e),n=new Set([t]);for(let t of this.book.list())for(let r of ve(t.hoursWithData(),e))n.add(r);return{tz:e,today:t,days:[...n].sort().reverse(),demoAvailable:!1}}async day(e,t){let n=Date.now();return{source:`demo`,demoAvailable:!1,today:B(n,t),serverTime:n,stats:_e(this.book.list(),e,t,n)}}},Ze=class{ctx;button;el;source;tz=le();days=null;data=null;day=null;sourcePref;visible=new Set(Oe);tables=new Set;loading=!1;error=null;seq=0;timer=null;demoSeen;opener=null;select;seg;badge;status;statusText;retry;content;tip;constructor(e,n){this.ctx=e,this.button=n,this.source=e.store.mock?new Xe(e.store):Ye,this.select=new v({label:t(`Dia`),className:`ui-day__select`,onChange:e=>this.pickDay(e)}),this.seg=new y({label:t(`Dados exibidos`),options:[{value:`demo`,label:t(`Demonstração`),className:`ui-seg__opt`},{value:`real`,label:t(`Dados reais`),className:`ui-seg__opt`}],indicator:!1,className:`ui-seg ui-day__source`,onChange:e=>this.pickSource(e)}),this.seg.el.hidden=!0,this.badge=u(`span`,{class:`ui-day__badge`,text:t(`demonstração`),title:t(`Números fictícios do modo demonstração`),hidden:!0});let r=c(_.close,t(`Fechar (Esc)`),()=>this.close(),`ui-icon-btn--sm`);this.statusText=u(`span`,{}),this.retry=u(`button`,{class:`ui-link-btn`,type:`button`,text:t(`Tentar de novo`),hidden:!0,on:{click:()=>void this.load(!0)}}),this.status=u(`p`,{class:`ui-day__status`},this.statusText,this.retry),this.content=u(`div`,{class:`ui-day__content`}),this.tip=u(`div`,{class:`ui-day__tip`,role:`tooltip`,hidden:!0,attrs:{"aria-hidden":`true`}}),this.el=u(`dialog`,{class:`ui-dialog ui-day`,attrs:{"aria-labelledby":`ui-day-title`}},u(`div`,{class:`ui-dialog__head ui-day__head`},u(`div`,{class:`ui-day__title`},u(`h2`,{text:t(`Meu dia`),attrs:{id:`ui-day-title`}}),this.badge),u(`div`,{class:`ui-day__controls`},this.select.el,this.seg.el),r),u(`div`,{class:`ui-day__body`},this.status,this.content,u(`p`,{class:`ui-day__note`,text:qe})),this.tip),this.el.addEventListener(`click`,e=>{e.target===this.el&&this.close()}),this.el.addEventListener(`keydown`,e=>e.stopPropagation()),this.el.addEventListener(`close`,()=>this.onClosed()),this.el.addEventListener(`scroll`,()=>this.hideTip(),!0)}get isOpen(){return this.el.open}open(){this.el.open||(this.opener=document.activeElement instanceof HTMLElement?document.activeElement:null,this.day=null,this.el.showModal(),this.button.setAttribute(`aria-expanded`,`true`),this.load(!0))}close(){this.el.open&&this.el.close()}toggle(){this.el.open?this.close():this.open()}render(){let e=this.ctx.store.snapshot?.meta.demo;if(e===this.demoSeen)return;let t=this.demoSeen!==void 0;this.demoSeen=e,t&&this.el.open&&!this.ctx.store.mock&&this.load(!0)}onClosed(){this.seq++,this.stopTimer(),this.hideTip(),this.button.setAttribute(`aria-expanded`,`false`),this.opener?.isConnected&&this.opener.focus({preventScroll:!0}),this.opener=null}pickDay(e){this.day=e,this.sourcePref??=this.data?.source,this.load(!1)}pickSource(e){if(this.data?.source===e)return;this.sourcePref=e;let t=e===`demo`?this.days?.demoDays:this.days?.days;this.day&&t&&!t.includes(this.day)&&(this.day=null),this.load(!1)}async load(e){let n=++this.seq;this.stopTimer(),this.loading=!0,this.renderStatus();try{if(e||!this.days){let e=await this.source.days(this.tz);if(n!==this.seq)return;this.days=e,this.sourcePref===`demo`&&!e.demoAvailable&&(this.sourcePref=void 0)}let t=this.day??this.days.today,r=await this.source.day(t,this.tz,this.sourcePref);if(n!==this.seq)return;this.data=r,this.day=r.stats.day,this.error=null,this.renderAll()}catch(e){if(n!==this.seq)return;this.error=e instanceof Error?e.message:String(e),this.ctx.announce(t(`Não foi possível carregar as estatísticas do dia.`)),this.data&&(this.day=this.data.stats.day,this.renderControls(this.data))}finally{n===this.seq&&(this.loading=!1,this.renderStatus(),We(this.el.open,this.day??``,this.data?.today??``)&&(this.timer=setTimeout(()=>void this.load(!0),Ke)))}}stopTimer(){this.timer&&clearTimeout(this.timer),this.timer=null}renderStatus(){if(this.el.classList.toggle(`is-loading`,this.loading&&!!this.data),d(this.retry,!this.error),this.error)l(this.statusText,t(`Não foi possível carregar as estatísticas ({0}).`,[this.error]));else if(this.loading&&!this.data)l(this.statusText,t(`Carregando…`));else if(this.data){let e=this.data.stats.day===this.data.today?t(`Atualizado às {0} · atualiza a cada 30 s`,[h(this.data.serverTime)]):``;l(this.statusText,[e,f(this.data,this.ctx.store.snapshot?.machines)].filter(Boolean).join(` · `))}}renderAll(){let e=this.data;if(!e)return;this.renderControls(e);let t=document.activeElement?.closest(`[data-focus-key]`)?.dataset.focusKey;this.hideTip(),this.content.replaceChildren(...this.sections(e)),t&&this.content.querySelector(`[data-focus-key="${CSS.escape(t)}"]`)?.focus({preventScroll:!0})}renderControls(e){let t=e.source===`demo`;d(this.badge,!t),d(this.seg.el,!e.demoAvailable),this.seg.value=t?`demo`:`real`;let n=(t?this.days?.demoDays:this.days?.days)??[e.today],r=n.includes(e.stats.day)?n:[e.stats.day,...n];this.select.setOptions(r.map(t=>({value:t,label:Ve(t,e.today)})),e.stats.day),this.select.value=e.stats.day,this.select.disabled=r.length<2}sections(e){let n=e.stats,r=e=>h(e,!1),i=je(n,r,n.accounts.some(e=>this.isCodexAccount(e.id)&&e.counts.tokensIn+e.counts.tokensOut>0),this.ctx.store.snapshot?.machines),a=[this.kpis(i)];if(Ge(n)){let r=n.day===e.today;return a.push(u(`p`,{class:`ui-day__empty`,text:t(r?`Ainda não há tempo registrado hoje. Os números aparecem assim que algum agente trabalhar com o Habblaud aberto.`:`Nada registrado neste dia.`)})),a}return a.push(this.legend()),a.push(this.hoursCard(e)),a.push(this.roomsCard(Me(n.rooms,this.visible))),a.push(this.waitsCard(Re(n.waits,r,this.ctx.store.snapshot?.machines),e)),a.push(this.accountsCard(e)),a}kpis(e){let n=u(`span`,{class:`ui-day__swatch is-waiting`,attrs:{"aria-hidden":`true`}}),r=u(`div`,{class:`ui-day__hero`},u(`p`,{class:`ui-day__kpi-label`},n,u(`span`,{text:t(`Esperando você`)})),u(`p`,{class:`ui-day__hero-value`,text:e.waiting}),u(`p`,{class:`ui-day__kpi-sub`,text:e.waits}),e.longest?u(`p`,{class:`ui-day__kpi-sub`},u(`span`,{class:`ui-day__muted`,text:t(`Maior espera: `)}),u(`strong`,{text:e.longest})):null,e.wall?u(`p`,{class:`ui-day__kpi-sub`,text:e.wall}):null),i=(e,t,n,r,i)=>u(`div`,{class:`ui-day__kpi`,title:r},u(`p`,{class:`ui-day__kpi-label`},i?u(`span`,{class:`ui-day__swatch is-${i}`,attrs:{"aria-hidden":`true`}}):null,u(`span`,{text:e})),u(`p`,{class:`ui-day__kpi-value`,text:t}),u(`p`,{class:`ui-day__kpi-sub`,text:n}));return u(`section`,{class:`ui-day__kpis`,attrs:{"aria-label":t(`Destaques do dia`)}},r,i(t(`Trabalhando`),e.working,t(`soma do tempo de todos os agentes`),void 0,`working`),i(t(`Sessões`),e.sessions,e.subagents),i(t(`Pedidos`),e.prompts,e.activity),i(`Tokens`,e.tokens,e.tokensDetail),i(t(`Custo`),e.cost,e.costHint,e.costHint))}legend(){let e=O.map(e=>{let n=this.visible.has(e);return u(`button`,{class:`ui-day__key${n?``:` is-off`}`,type:`button`,title:t(n?`Esconder “{0}” dos gráficos`:`Mostrar “{0}” nos gráficos`,[Z[e]]),attrs:{"aria-pressed":String(n),"data-focus-key":`key:${e}`},on:{click:()=>this.toggleStatus(e)}},u(`span`,{class:`ui-day__swatch is-${e}`,attrs:{"aria-hidden":`true`}}),u(`span`,{text:Z[e]}))});return u(`div`,{class:`ui-day__legend`,role:`group`,attrs:{"aria-label":t(`Status nos gráficos (clique para mostrar ou esconder)`)}},...e)}toggleStatus(e){if(this.visible.has(e)){if(this.visible.size===1)return;this.visible.delete(e)}else this.visible.add(e);this.renderAll()}card(e,n,r,i){let a=!!i&&this.tables.has(i),o=i?u(`button`,{class:`ui-link-btn ui-day__table-btn`,type:`button`,text:t(a?`Ver gráfico`:`Ver tabela`),attrs:{"aria-pressed":String(a),"data-focus-key":`table:${i}`},on:{click:()=>{this.tables.has(i)?this.tables.delete(i):this.tables.add(i),this.renderAll()}}}):null,s=u(`div`,{class:`ui-day__card-body`});return{el:u(`section`,{class:`ui-day__card ui-day__card--${e}`,attrs:{"aria-labelledby":`ui-day-${e}`}},u(`div`,{class:`ui-day__card-head`},u(`div`,{},u(`h3`,{text:n,attrs:{id:`ui-day-${e}`}}),u(`p`,{class:`ui-day__card-sub`,text:r})),o),s),body:s,showTable:a}}table(e,t,n){return u(`div`,{class:`ui-day__table-wrap`},u(`table`,{class:`ui-day__table`},u(`caption`,{class:`ui-sr`,text:n}),u(`thead`,{},u(`tr`,{},...e.map((e,t)=>u(`th`,{text:e,attrs:{scope:`col`,class:t?`is-num`:void 0}})))),u(`tbody`,{},...t.map(e=>u(`tr`,{},...e.map((e,t)=>t?u(`td`,{class:`is-num`,text:e}):u(`th`,{text:e,attrs:{scope:`row`}})))))))}hoursCard(e){let n=this.ctx.isNarrow(),{columns:r,axis:i}=Ie(e.stats.hours,this.visible,e.serverTime,n?6:3),a=this.card(`hours`,t(`Por hora`),t(`Tempo de agentes em cada hora do dia`),`hours`);if(a.showTable){let e=ze(r,e=>e.range,this.visible);return a.body.append(this.table([t(`Hora`),...e.head],e.rows,t(`Tempo de agentes por hora`))),a.el}let o=u(`div`,{class:`ui-day__grid`,attrs:{"aria-hidden":`true`}},...i.ticks.map(e=>u(`span`,{class:`ui-day__gridline`,style:`bottom:${e/i.max*100}%`},u(`span`,{class:`ui-day__tick`,text:Fe(e)})))),s=u(`div`,{class:`ui-day__cols`,role:`list`,attrs:{"aria-label":t(`Tempo de agentes por hora (setas para navegar)`)}}),c=r.findIndex(e=>e.now);c<0&&(c=0),r.forEach((e,t)=>s.append(this.column(e,t===c))),s.addEventListener(`keydown`,e=>this.moveFocus(e,s));let l=u(`div`,{class:`ui-day__xaxis`,attrs:{"aria-hidden":`true`}},...r.map(e=>u(`span`,{class:`ui-day__xlabel${e.now?` is-now`:``}`,text:e.tick||e.now&&!n?`${e.hour}h`:``})));return a.body.append(u(`div`,{class:`ui-day__plot`},o,s),l),a.el}column(e,n){let r=u(`span`,{class:`ui-day__stack`},...e.segments.map(e=>u(`span`,{class:`ui-day__seg is-${e.status}`,style:`height:${e.pct}%`,attrs:{"data-status":e.status}}))),i=u(`div`,{class:`ui-day__col${e.now?` is-now`:``}`,role:`listitem`,tabIndex:n?0:-1,attrs:{"aria-label":`${e.label}${e.now?t(` (agora)`):``}`,"data-focus-key":`hour:${e.t}`}},r);return this.bindTip(i,()=>`${e.range}${e.now?t(` · agora`):e.future?t(` · ainda não chegou`):``}`,()=>e.future?[]:[...O.filter(t=>this.visible.has(t)&&e.ms[t]>0).map(t=>({status:t,label:Z[t],value:Q(e.ms[t])})),{label:`Total`,value:Q(e.total)}],()=>r.lastElementChild??r),i}moveFocus(e,t){let n=[...t.children],r=n.indexOf(document.activeElement);if(r<0)return;let i=e.key===`ArrowRight`?r+1:e.key===`ArrowLeft`?r-1:e.key===`Home`?0:e.key===`End`?n.length-1:-2;if(i===-2)return;e.preventDefault();let a=n[Math.max(0,Math.min(n.length-1,i))];n.forEach(e=>e.tabIndex=e===a?0:-1),a.focus()}roomsCard(e){let n=this.card(`rooms`,t(`Por projeto`),t(`Ordenado pelo tempo esperando você`),`rooms`);if(!e.length)return n.body.append(u(`p`,{class:`ui-day__muted`,text:t(`Nenhum projeto com tempo neste dia.`)})),n.el;if(n.showTable){let r=ze(e,e=>e.name,this.visible);return n.body.append(this.table([t(`Projeto`),...r.head],r.rows,t(`Tempo de agentes por projeto`))),n.el}let r=u(`ul`,{class:`ui-day__bars`});for(let t of e){let e=u(`span`,{class:`ui-day__track`},...t.segments.map(e=>u(`span`,{class:`ui-day__seg is-${e.status}`,style:`width:${e.pct}%`,attrs:{"data-status":e.status}}))),n=u(`li`,{class:`ui-day__bar`,tabIndex:0,attrs:{"aria-label":t.label,"data-focus-key":`room:${t.id}`}},u(`span`,{class:`ui-day__bar-head`},u(`span`,{class:`ui-day__bar-name`,text:t.name,title:t.id}),u(`span`,{class:`ui-day__bar-value`},this.visible.has(`waiting`)?u(`strong`,{text:t.waiting}):null,u(`span`,{class:`ui-day__muted`,text:t.totalText}))),e);this.bindTip(n,()=>t.name,()=>[...O.filter(e=>this.visible.has(e)&&t.ms[e]>0).map(e=>({status:e,label:Z[e],value:Q(t.ms[e])})),{label:`Total`,value:Q($(t.ms,this.visible))}]),r.append(n)}return n.body.append(r),n.el}waitsCard(e,n){let r=this.card(`waits`,t(`Maiores esperas`),t(`Quanto tempo cada agente ficou de mão levantada esperando você`));if(!e.length)return r.body.append(u(`p`,{class:`ui-day__muted`,text:t(`Nenhuma espera por você neste dia.`)})),r.el;let i=new Map(n.stats.accounts.map(e=>[e.id,e])),a=u(`ol`,{class:`ui-day__waits`});for(let n of e){let e=i.get(n.account),r=u(`span`,{class:`ui-acc-chip`,text:e?.short??`?`,title:e?.name??n.account});s(r,`--acc`,e?.color??`#8b98b3`),this.isCodexAccount(n.account)&&(r.dataset.provider=`codex`),a.append(u(`li`,{class:`ui-day__wait${n.ongoing?` is-ongoing`:``}`,attrs:{"aria-label":n.label}},u(`span`,{class:`ui-day__rank`,text:`${n.rank}`,attrs:{"aria-hidden":`true`}}),u(`span`,{class:`ui-day__wait-main`,attrs:{"aria-hidden":`true`}},u(`span`,{class:`ui-day__wait-top`},u(`strong`,{class:`ui-day__wait-dur`,text:n.duration}),u(`span`,{class:`ui-day__wait-bar`},u(`span`,{class:`ui-day__seg is-waiting`,style:`width:${n.pct}%`})),n.ongoing?u(`span`,{class:`ui-day__now`,text:t(`esperando agora`)}):null),u(`span`,{class:`ui-day__wait-who`},r,u(`span`,{class:`ui-day__wait-name`,text:n.agentName}),u(`span`,{class:`ui-day__muted`,text:`${t(`em {0}`,[n.roomName])} · ${n.when}${n.reason?` · ${n.reason}`:``}`})))))}return r.body.append(a),r.el}accountsCard(e){let n=Le(e.stats.accounts,e=>this.isCodexAccount(e)),r=this.card(`accounts`,t(`Por conta`),t(`Cada conta na cor dela, com a fatia do tempo de trabalho do dia`));if(!n.length)return r.body.append(u(`p`,{class:`ui-day__muted`,text:t(`Nenhuma conta com tempo neste dia.`)})),r.el;let i=u(`div`,{class:`ui-day__accounts`});for(let e of n){let n=u(`span`,{class:`ui-acc-chip ui-acc-chip--md`,text:e.short,attrs:{"aria-hidden":`true`,...e.codex?{"data-provider":`codex`}:{}}});s(n,`--acc`,e.color);let r=u(`span`,{class:`ui-day__meter`,role:`img`,attrs:{"aria-label":e.shareText}},u(`span`,{class:`ui-day__meter-fill`,style:`width:${e.share}%`})),a=(e,t)=>[u(`dt`,{text:e}),u(`dd`,{text:t})],o=u(`article`,{class:`ui-day__account`,attrs:{"aria-label":e.name}},u(`div`,{class:`ui-day__account-head`},n,u(`strong`,{class:`ui-day__account-name`,text:e.name}),u(`span`,{class:`ui-day__muted`,text:e.sessions})),r,u(`p`,{class:`ui-day__kpi-sub`,text:e.shareText}),u(`dl`,{class:`ui-day__account-stats`},...a(t(`Trabalhando`),e.working),...a(t(`Esperando você`),e.waiting),...a(`Tokens`,e.tokens),...e.cost===null?[u(`dt`,{text:t(`Custo`)}),u(`dd`,{text:t(`só tokens`),title:t(`O Codex não grava custo, só tokens`)})]:a(t(`Custo`),e.cost)));s(o,`--acc`,e.color),i.append(o)}return r.body.append(i),r.el}isCodexAccount(e){return b(this.ctx.account(e),e)===`codex`}bindTip(e,t,n,r=()=>e){let i=e=>this.showTip(r(),t(),n(),e);e.addEventListener(`pointerenter`,e=>i(Qe(e.target))),e.addEventListener(`pointermove`,e=>i(Qe(e.target))),e.addEventListener(`pointerleave`,()=>this.hideTip()),e.addEventListener(`focus`,()=>i()),e.addEventListener(`blur`,()=>this.hideTip())}showTip(e,t,n,r){this.tip.replaceChildren(u(`p`,{class:`ui-day__tip-title`,text:t}),...n.map(e=>u(`p`,{class:`ui-day__tip-row${e.status&&e.status===r?` is-hl`:``}${e.status?``:` is-total`}`},u(`span`,{class:`ui-day__tip-key${e.status?` is-${e.status}`:``}`,attrs:{"aria-hidden":`true`}}),u(`strong`,{text:e.value}),u(`span`,{text:e.label})))),this.tip.hidden=!1;let i=this.el.getBoundingClientRect(),a=e.getBoundingClientRect(),o=this.tip.getBoundingClientRect(),s=Math.min(Math.max(8,a.left-i.left+a.width/2-o.width/2),i.width-o.width-8),c=a.top-i.top-o.height-8;c<8&&(c=a.bottom-i.top+8),this.tip.style.left=`${Math.round(s)}px`,this.tip.style.top=`${Math.round(c)}px`}hideTip(){this.tip.hidden=!0}};function Qe(e){let t=e instanceof HTMLElement?e.dataset.status:void 0;return t&&O.includes(t)?t:void 0}export{Ze as DayPanel};
|
|
1
|
+
import{a as e,s as t}from"./main-DNVSCypp.js";import{c as n,l as r,r as i,t as a}from"./simulator-CDeHv4xc.js";import{_ as o,c as s,i as c,l,r as u,s as d,v as f}from"./dom-z_NH7Uh7.js";import{c as p,d as m,i as h,l as g}from"./format-BrkFnmVF.js";import{_,g as v,h as y,m as b}from"./app-QVC1DacC.js";var x=36e5;24*x;var S=12e4,C=2e4,w=9e4;6*x;var T=1e4,E={toolCalls:60,tokensIn:5e6,tokensOut:5e5,costUSD:50},D=1500,O=[`waiting`,`working`,`idle`,`shell`],ee=[`prompts`,`toolCalls`,`tasksDone`,`tokensIn`,`tokensOut`,`costUSD`];function k(){return{waiting:0,working:0,idle:0,shell:0}}function A(){return{prompts:0,toolCalls:0,tasksDone:0,tokensIn:0,tokensOut:0,costUSD:0}}function j(e){return e.waiting+e.working+e.idle+e.shell}function te(e){return e===`waiting`||e===`working`||e===`idle`||e===`shell`}function M(e){return{waiting:Math.round(e.waiting),working:Math.round(e.working),idle:Math.round(e.idle),shell:Math.round(e.shell)}}function N(e,t){for(let n of O)e[n]+=t[n]}function P(e,t){for(let n of ee)e[n]+=t[n]}function F(e){return Math.floor(e/x)*x}function I(e,t,n){let r=e;for(;r<t;){let e=F(r),i=Math.min(t,e+x);n(e,i-r),r=i}}function ne(e){let t=e.filter(([e,t])=>t>e).sort((e,t)=>e[0]-t[0]),n=[];for(let[e,r]of t){let t=n[n.length-1];t&&e<=t[1]?t[1]=Math.max(t[1],r):n.push([e,r])}return n}var re=/^(\d{4})-(\d{2})-(\d{2})$/,ie=/^[A-Za-z][A-Za-z0-9_+-]*(?:\/[A-Za-z0-9_+-]+){0,2}$/,L=new Map,ae=64;function oe(e){let t=L.get(e);return t||(L.size>=ae&&L.clear(),t=new Intl.DateTimeFormat(`en-US`,{timeZone:e,hourCycle:`h23`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`}),L.set(e,t)),t}function R(e,t){let n={y:1970,mo:1,d:1,h:0,mi:0,s:0};for(let r of oe(t).formatToParts(e)){let e=Number(r.value);r.type===`year`?n.y=e:r.type===`month`?n.mo=e:r.type===`day`?n.d=e:r.type===`hour`?n.h=e%24:r.type===`minute`?n.mi=e:r.type===`second`&&(n.s=e)}return n}function se(e){if(e.length>64||!ie.test(e))return null;try{return new Intl.DateTimeFormat(`en-US`,{timeZone:e}).resolvedOptions().timeZone}catch{return null}}function ce(e){return se(e)!==null}function le(){try{let e=Intl.DateTimeFormat().resolvedOptions().timeZone;return e&&ce(e)?e:`UTC`}catch{return`UTC`}}var z=e=>String(e).padStart(2,`0`);function B(e,t){let n=R(e,t);return`${n.y}-${z(n.mo)}-${z(n.d)}`}function V(e,t){return R(e,t).h}function H(e){let t=re.exec(e);if(!t)return null;let n=Number(t[1]),r=Number(t[2]),i=Number(t[3]);if(n<1970||r<1||r>12||i<1||i>31)return null;let a=new Date(Date.UTC(n,r-1,i));return a.getUTCFullYear()!==n||a.getUTCMonth()!==r-1||a.getUTCDate()!==i?null:{y:n,m:r,d:i}}function U(e,t){let n=H(e);if(!n)return e;let r=new Date(Date.UTC(n.y,n.m-1,n.d+t));return`${r.getUTCFullYear()}-${z(r.getUTCMonth()+1)}-${z(r.getUTCDate())}`}function W(e,t){let n=R(e,t);return Date.UTC(n.y,n.mo-1,n.d,n.h,n.mi,n.s)-Math.floor(e/1e3)*1e3}function G(e,n){let r=H(e);if(!r)throw RangeError(t(`dia inválido: {0}`,[e]));let i=Date.UTC(r.y,r.m-1,r.d),a=i-W(i,n);a=i-W(a,n);let o=9e5;for(let t=0;t<16&&B(a,n)<e;t++)a+=o;for(let t=0;t<16&&B(a-o,n)===e;t++)a-=o;return a}function ue(e,t){return{start:G(e,t),end:G(U(e,1),t)}}function K(e,t,n){let r=e+x/2;return r>=t&&r<n}function de(e){return{t:e,ms:k(),waitWallMs:0,counts:A(),rooms:new Map,accounts:new Map,agents:new Map}}function q(e,t){let n=e.get(t);return n||e.set(t,n={ms:k(),counts:A()}),n}function fe(e){return j(e.ms)>0||e.counts.prompts>0||e.counts.toolCalls>0||e.counts.tokensIn>0||e.counts.tokensOut>0}var pe=class{key;hours=new Map;rooms=new Map;accounts=new Map;waits=[];dirty=!1;updatedAt=0;constructor(e){this.key=e}hour(e){let t=this.hours.get(e);return t||this.hours.set(e,t=de(e)),t}hoursWithData(){return[...this.hours.values()].filter(fe).map(e=>e.t)}toFile(){let e=e=>[...e].map(([e,t])=>[e,{ms:{...t.ms},counts:{...t.counts}}]);return{version:1,day:this.key,updatedAt:this.updatedAt,hours:[...this.hours.values()].sort((e,t)=>e.t-t.t).map(t=>({t:t.t,ms:{...t.ms},waitWallMs:t.waitWallMs,counts:{...t.counts},rooms:e(t.rooms),accounts:e(t.accounts),agents:[...t.agents].map(([e,[t,n]])=>[e,t,n])})),rooms:[...this.rooms],accounts:[...this.accounts].map(([e,t])=>[e,{...t}]),waits:this.waits.map(e=>({...e}))}}};function J(e){return typeof e==`number`&&Number.isFinite(e)&&e>=0?e:0}var me=class{fileDayOf;loader;days=new Map;idx=new Map;constructor(e,t){this.fileDayOf=e,this.loader=t}day(e){let t=this.days.get(e);if(!t){t=this.loader?.(e)??new pe(e),this.days.set(e,t);for(let e of t.hours.values())this.idx.set(e.t,{day:t,b:e})}return t}peek(e){return this.days.get(e)}list(){return[...this.days.values()]}evictBefore(e){for(let[t,n]of this.days)if(!(t>=e||n.dirty)){this.days.delete(t);for(let e of n.hours.keys())this.idx.delete(e)}}slot(e){let t=F(e),n=this.idx.get(t);if(!n){let e=this.day(this.fileDayOf(t));n={day:e,b:e.hour(t)},this.idx.set(t,n)}return n}touch(e,t){e.dirty=!0,t>e.updatedAt&&(e.updatedAt=t)}note(e,t){t.roomName&&e.rooms.get(t.room)!==t.roomName&&e.rooms.set(t.room,t.roomName);let n=t.accountMeta,r=e.accounts.get(t.account);n&&(!r||r.name!==n.name||r.short!==n.short||r.color!==n.color)&&e.accounts.set(t.account,{...n})}addMsAt(e,t,n,r,i=n){if(!(r>0))return;let{day:a,b:o}=this.slot(n);o.ms[t]+=r,q(o.rooms,e.room).ms[t]+=r,q(o.accounts,e.account).ms[t]+=r,o.agents.has(e.key)||o.agents.set(e.key,[e.room,e.account]),this.note(a,e),this.touch(a,i)}markPresent(e,t){let{day:n,b:r}=this.slot(t);r.agents.has(e.key)||(r.agents.set(e.key,[e.room,e.account]),this.note(n,e),this.touch(n,t))}addTime(e,t,n,r){I(n,r,(n,i)=>this.addMsAt(e,t,n,i,r))}addCount(e,t,n,r){if(!(n>0))return;let{day:i,b:a}=this.slot(r);a.counts[t]+=n,q(a.rooms,e.room).counts[t]+=n,q(a.accounts,e.account).counts[t]+=n,this.note(i,e),this.touch(i,r)}addWaitWallAt(e,t,n=e){if(!(t>0))return;let{day:r,b:i}=this.slot(e);i.waitWallMs+=t,this.touch(r,n)}addWaitWall(e,t){I(e,t,(e,n)=>this.addWaitWallAt(e,n,t))}addWait(e){let{day:t}=this.slot(e.start);if(t.waits.push(e),t.waits.length>1e3){let n=e=>t.waits[e].end-t.waits[e].start,r=-1;if(t.waits.forEach((t,i)=>{t.open||t===e||(r<0||n(i)<n(r))&&(r=i)}),r<0)for(let e=0;e<t.waits.length;e++)(r<0||n(e)<n(r))&&(r=e);t.waits.splice(r,1)}this.touch(t,e.end)}touchWait(e){this.touch(this.slot(e.start).day,e.end)}removeWait(e){let{day:t}=this.slot(e.start),n=t.waits.indexOf(e);n>=0&&(t.waits.splice(n,1),this.touch(t,e.end))}findOpenWait(e,t){for(let n of this.days.values())for(let r=n.waits.length-1;r>=0;r--){let i=n.waits[r];if(i.open&&i.agentId===e&&i.end>=t)return i}}};function he(){return{ms:k(),counts:A(),sessions:0,subagents:0,waits:0,longestWaitMs:0,agents:new Set}}function Y(e){let t=0,n=0;for(let r of e.agents)r.startsWith(`m:`)?t++:r.startsWith(`s:`)&&n++;let r={...e.counts,costUSD:Math.round(e.counts.costUSD*1e4)/1e4};return{ms:M(e.ms),counts:r,sessions:t,subagents:n,waits:e.waits,longestWaitMs:Math.round(e.longestWaitMs)}}function X(e,t){let n=e.get(t);return n||e.set(t,n=he()),n}function ge(e){return e.split(/[\\/]/).filter(Boolean).pop()??e}function _e(e,t,n,r,i={}){let{start:a,end:o}=ue(t,n),s=[...e].sort((e,t)=>e.key.localeCompare(t.key)),c=new Map,l=new Map,u=new Map,d=0;for(let e of s){for(let[t,n]of e.rooms)c.set(t,n);for(let[t,n]of e.accounts)l.set(t,n);for(let[t,n]of e.hours)K(t,a,o)&&u.set(t,n)}let f=he(),p=0,m=new Map,h=new Map;for(let e of u.values()){N(f.ms,e.ms),P(f.counts,e.counts),p+=e.waitWallMs;for(let[t,n]of e.rooms){let e=X(m,t);N(e.ms,n.ms),P(e.counts,n.counts)}for(let[t,n]of e.accounts){let e=X(h,t);N(e.ms,n.ms),P(e.counts,n.counts)}for(let[t,[n,r]]of e.agents)f.agents.add(t),X(m,n).agents.add(t),X(h,r).agents.add(t);for(let t of s)t.hours.get(e.t)===e&&t.updatedAt>d&&(d=t.updatedAt)}let g=new Set,_=[];for(let e of s)for(let t of e.waits){if(t.end<=a||t.start>=o||t.end-t.start<3e3)continue;let e=`${t.agentId}|${t.start}`;g.has(e)||(g.add(e),_.push(t))}for(let e of _){let t=e.end-e.start;for(let n of[f,X(m,e.roomId),X(h,e.account)])n.waits++,t>n.longestWaitMs&&(n.longestWaitMs=t)}let v=[..._].sort((e,t)=>t.end-t.start-(e.end-e.start)||e.start-t.start).slice(0,i.top??10),y=[];for(let e=F(a);e<o;e+=x)K(e,a,o)&&y.push({t:e,hour:V(Math.max(e,a),n),ms:M(u.get(e)?.ms??k())});let b=e=>c.get(e)??ge(e),S=[...m].map(([e,t])=>({id:e,name:b(e),...Y(t)})).sort((e,t)=>t.ms.waiting-e.ms.waiting||j(t.ms)-j(e.ms)||e.name.localeCompare(t.name)),C=[...h].map(([e,t])=>{let n=l.get(e);return{id:e,name:n?.name??e,short:n?.short??`?`,color:n?.color??`#8b98b3`,...Y(t)}}).sort((e,t)=>t.ms.working-e.ms.working||j(t.ms)-j(e.ms)||e.name.localeCompare(t.name)),w={day:t,tz:n,start:a,end:o,totals:{...Y(f),waitWallMs:Math.round(p)},rooms:S,accounts:C,hours:y,waits:v.map(e=>{let t={agentId:e.agentId,agentName:e.agentName,roomId:e.roomId,roomName:b(e.roomId),account:e.account,start:e.start,end:e.end,ms:e.end-e.start};return e.reason&&(t.reason=e.reason),e.open&&r-e.end<1e4&&(t.ongoing=!0),t})};return d&&(w.updatedAt=d),w}function ve(e,t){let n=new Set;for(let r of e)n.add(B(r+x/2,t));return n}function ye(e){let t=e.stats;return{toolCalls:J(t.toolCalls),tokensIn:J(t.tokensIn),tokensOut:J(t.tokensOut),costUSD:J(t.costUSD)}}function be(e,t){return{toolCalls:Math.max(e.toolCalls,t.toolCalls),tokensIn:Math.max(e.tokensIn,t.tokensIn),tokensOut:Math.max(e.tokensOut,t.tokensOut),costUSD:Math.max(e.costUSD,t.costUSD)}}var xe={toolCalls:0,tokensIn:0,tokensOut:0,costUSD:0};function Se(e){return e.toolCalls===0&&e.tokensIn===0&&e.tokensOut===0}function Ce(e){return e.tasks.reduce((e,t)=>e+ +(t.status===`completed`),0)}var we=class{book;tracks=new Map;lastSample;startedAt;constructor(e,t){this.book=e,this.startedAt=t.startedAt}get size(){return this.tracks.size}observe(e,t){let n=this.lastSample===void 0?1/0:t-this.lastSample;this.lastSample=t;let r=new Map(e.rooms.map(e=>[e.id,e.name])),i=new Map(e.accounts.map(e=>[e.id,{name:e.name,short:e.short,color:e.color}])),a=[],o=new Set;for(let s of e.agents){o.add(s.id);let e={key:s.kind===`main`?`m:${s.sessionId}`:`s:${s.id}`,room:s.roomId,roomName:r.get(s.roomId)??ge(s.roomId),account:s.account},c=i.get(s.account);c&&(e.accountMeta=c);let l=this.tracks.get(s.id),u=n;l?this.integrate(l,s,e,t,a):(l=this.begin(s,t),this.tracks.set(s.id,l),u=0,(te(s.status)||l.fresh)&&this.book.markPresent(e,t)),l.seenAt=t,l.status=s.status,this.countPrompts(l,s,e,t),this.countDeltas(l,s,e,t,u)}for(let[e,n]of this.tracks)o.has(e)||(t-n.seenAt>12e4&&this.closeWait(n),t-n.seenAt>216e5&&this.tracks.delete(e));for(let[e,t]of ne(a))this.book.addWaitWall(e,t)}begin(e,t){let n=ye(e),r=e.startedAt>=this.startedAt&&(e.kind===`sub`||Se(n));return{sessionId:e.sessionId,status:e.status,lastAt:t,seenAt:t,hw:r?{...xe}:n,costKnown:r||e.stats.costUSD!==void 0,fresh:r,tasksDone:r?0:Ce(e),settleUntil:r?0:t+Math.max(C,this.startedAt+w-t),prompts:[]}}integrate(e,t,n,r,i){let a=e.lastAt;if(e.lastAt=r,r<=a)return;if(r-a>12e4){this.closeWait(e);return}let o=t.statusSince>a&&t.statusSince<r?t.statusSince:void 0;o!==void 0&&e.status!==t.status?(this.segment(e,t,n,e.status,a,o,i),this.segment(e,t,n,t.status,o,r,i)):this.segment(e,t,n,t.status,a,r,i)}segment(e,t,n,r,i,a,o){if(a<=i)return;if(!te(r)){this.closeWait(e);return}if(this.book.addTime(n,r,i,a),r!==`waiting`){this.closeWait(e);return}if(o.push([i,a]),e.wait&&i-e.wait.end<=D){e.wait.end=a,this.book.touchWait(e.wait);return}this.closeWait(e);let s=this.book.findOpenWait(t.id,i-S);if(s){s.end=a,this.book.touchWait(s),e.wait=s;return}let c={agentId:t.id,agentName:t.name,roomId:t.roomId,account:t.account,start:i,end:a,open:!0};t.waitingFor&&(c.reason=t.waitingFor),this.book.addWait(c),e.wait=c}closeWait(e){let t=e.wait;t&&(e.wait=void 0,delete t.open,t.end-t.start<3e3?this.book.removeWait(t):this.book.touchWait(t))}countPrompts(e,t,n,r){for(let i of t.recent)i.kind!==`prompt`||i.at<this.startedAt||e.prompts.includes(i.id)||(e.prompts.push(i.id),e.prompts.length>64&&e.prompts.shift(),this.book.addCount(n,`prompts`,1,Math.min(i.at,r)))}countDeltas(e,t,n,r,i){let a=ye(t),o=Ce(t);if(t.sessionId!==e.sessionId){e.sessionId=t.sessionId,e.fresh=Se(a),e.hw=e.fresh?{...xe}:a,e.costKnown=e.fresh||t.stats.costUSD!==void 0,e.tasksDone=e.fresh?0:o,e.settleUntil=e.fresh?0:r+C,e.prompts=[];return}if(t.stats.costUSD!==void 0&&!e.costKnown&&(e.costKnown=!0,e.fresh||(e.hw.costUSD=Math.max(e.hw.costUSD,a.costUSD))),r<e.settleUntil){e.hw=be(e.hw,a),e.tasksDone=o;return}let s={toolCalls:Math.max(0,a.toolCalls-e.hw.toolCalls),tokensIn:Math.max(0,a.tokensIn-e.hw.tokensIn),tokensOut:Math.max(0,a.tokensOut-e.hw.tokensOut),costUSD:Math.max(0,a.costUSD-e.hw.costUSD)};e.hw=be(e.hw,a);let c=s.toolCalls>E.toolCalls||s.tokensIn>E.tokensIn||s.tokensOut>E.tokensOut||s.costUSD>E.costUSD;if(i<=T&&c){e.tasksDone=o;return}this.book.addCount(n,`toolCalls`,s.toolCalls,r),this.book.addCount(n,`tokensIn`,s.tokensIn,r),this.book.addCount(n,`tokensOut`,s.tokensOut,r),this.book.addCount(n,`costUSD`,s.costUSD,r),o>e.tasksDone&&this.book.addCount(n,`tasksDone`,o-e.tasksDone,r),e.tasksDone=o}},Te=[.03,.01,0,0,0,0,.02,.1,.4,.75,.95,.85,.4,.55,.9,1,.95,.8,.55,.35,.3,.25,.15,.06],Ee=[t(`aprovar uma permissão`),t(`responder uma pergunta`),t(`escolher uma opção`),t(`aprovar o plano`)];function De(e,o,s,c,l=n(`meu-dia:${F(s)}`)){let u=r(l),d=(e,t)=>e+u()*(t-e),f=o.accounts.map(e=>({id:e.id,codex:`provider`in e&&e.provider===`codex`,meta:{name:e.name,short:e.short,color:e.color}})),p=f.filter(e=>!e.codex),m=f.find(e=>e.codex),h=e=>m&&p.length?e<.5?p[0]:e<.8?p[p.length-1]:m:f[e<.6?0:f.length-1],g=new Map(o.rooms.map(e=>[e.id,e.name])),_=new Set(o.agents.map(e=>e.name)),v=new Map;for(let e of o.agents){let t=v.get(e.roomId)??new Map;t.set(e.account,(t.get(e.account)??0)+1),v.set(e.roomId,t)}let y=[...v.keys()][0];if(!y||!f.length)return;let b=y.slice(0,y.lastIndexOf(`/`)),S=[];for(let e of a){let t=`${b}/${e}`;v.has(t)||(v.set(t,new Map([[h(u()).id,1]])),S.push(t))}let C=S.some(e=>v.get(e).has(m?.id??``));m&&S.length&&!C&&v.set(S[S.length-1],new Map([[m.id,1]]));let w=[...v].map(([e,t])=>{let n=[...t].sort((e,t)=>t[1]-e[1])[0]?.[0]??f[0].id,r=[0,1,2].map(t=>{let n=i(`${e}:${t}:${l}`,_);return _.add(n.name),n.name}),a={id:e,name:g.get(e)??e.split(`/`).pop()??e,account:n,codex:!!f.find(e=>e.id===n)?.codex,weight:d(.35,1.1),waitiness:d(.05,.3),people:r},o=f.find(e=>e.id===n)?.meta;return o&&(a.accountMeta=o),a}),T=F(s),E=F(G(U(B(s,c),-1),c));for(let n=E;n<=T;n+=x){let r=Math.min(x,s-n);if(r<=0)continue;let i=r/x,a=Te[V(n,c)]??0,o=0;w.forEach((c,l)=>{let f=a*c.weight*d(.7,1.3);if(f<.04)return;let p=f>.6?2:1,m=e=>{let t={key:e,room:c.id,roomName:c.name,account:c.account};return c.accountMeta&&(t.accountMeta=c.accountMeta),t},h=Array.from({length:p},(e,t)=>m(`m:demo-dia-${l}-${t}`)),g=Math.min(.92,f*d(.55,.85))*x*i,_=g*c.waitiness*d(.5,1.4),v=g*d(0,.12),y=Math.max(0,p*x*i*.9-g-_-v)*d(.3,.7),b=[[`working`,g],[`waiting`,_],[`shell`,v],[`idle`,y]];for(let[t,i]of b)for(let a of h)e.addMsAt(a,t,n,i/p,Math.min(s,n+r));let S=Math.round(f*d(0,2.2));for(let t=0;t<S;t++)e.addMsAt(m(`s:demo-dia-${l}-${n}-${t}`),`working`,n,g*d(.15,.45),Math.min(s,n+r));let C=g/6e4,w=n+r/2,T=h[0];e.addCount(T,`prompts`,Math.round(C/7*d(.6,1.4)),w),e.addCount(T,`toolCalls`,Math.round(C*d(1.5,3)),w),e.addCount(T,`tasksDone`,Math.round(C/12*d(.4,1.2)),w);let E=Math.round(C*d(9e4,16e4)),D=Math.round(C*d(1e3,2200));if(e.addCount(T,`tokensIn`,E,w),e.addCount(T,`tokensOut`,D,w),c.codex||e.addCount(T,`costUSD`,Math.round((E*3e-7+D*15e-6)*1e4)/1e4,w),_>=3e4){let i=1+Math.floor(u()*Math.min(3,_/6e4)),a=_;for(let o=0;o<i&&a>=5e3;o++){let s=o===i-1?a:a*d(.3,.7);a-=s;let f=n+u()*Math.max(0,r-s),p=c.people[Math.floor(u()*c.people.length)],m=Ee[Math.floor(u()*Ee.length)];e.addWait({agentId:`demo-dia:${l}:${p}`,agentName:p,roomId:c.id,account:c.account,start:Math.round(f),end:Math.round(f+s),reason:c.codex?t(`aprovar um comando`):m})}o+=_*d(.75,.95)}}),e.addWaitWallAt(n,Math.min(o,r),Math.min(s,n+r))}}var Z={waiting:t(`Esperando você`),working:t(`Trabalhando`),idle:t(`Ocioso`),shell:t(`Esperando o shell`)};function Q(e){let t=Number.isFinite(e)?Math.max(0,e):0;if(t<6e4)return`${Math.floor(t/1e3)} s`;if(t<36e5)return`${Math.floor(t/6e4)} min`;let n=Math.floor(t/36e5),r=Math.floor(t%36e5/6e4);return r?`${n} h ${r} min`:`${n} h`}var Oe=new Set(O);function $(e,t){return O.reduce((n,r)=>n+(t.has(r)?e[r]:0),0)}function ke(e,t,n){return n>0?O.filter(n=>t.has(n)&&e[n]>0).map(t=>({status:t,ms:e[t],pct:e[t]/n*100})):[]}function Ae(e,n=Oe){let r=O.filter(t=>n.has(t)&&e[t]>0).map(t=>`${Z[t].toLowerCase()} ${Q(e[t])}`);return r.length?r.join(`, `):t(`sem tempo registrado`)}function je(e,n,r=!1,i){let a=e.totals,s=a.counts,c=e.waits[0],l=(e,t,n)=>`${p(e)} ${e===1?t:n}`;return{waiting:Q(a.ms.waiting),waitingMs:a.ms.waiting,longest:c?t(`{0} · {1} em {2}, às {3}{4}`,[Q(c.ms),o(c.agentId,c.agentName,i),c.roomName,n(c.start),c.ongoing?t(` (ainda esperando)`):``]):``,wall:a.waitWallMs>0?t(`Alguém esperou por você durante {0} do dia`,[Q(a.waitWallMs)]):``,waits:a.waits?l(a.waits,t(`espera`),t(`esperas`)):a.ms.waiting>0?t(`só esperas de poucos segundos`):t(`nenhuma espera`),working:Q(a.ms.working),sessions:p(a.sessions),subagents:l(a.subagents,t(`subagente`),t(`subagentes`)),tokens:g(s.tokensIn+s.tokensOut),tokensDetail:t(`{0} entrada · {1} saída`,[g(s.tokensIn),g(s.tokensOut)]),cost:s.costUSD>0?m(s.costUSD):`—`,costHint:s.costUSD>0?t(r?`Só do Claude Code: o Codex não grava custo, só tokens`:`Custo calculado pelo próprio Claude Code`):s.tokensIn+s.tokensOut>0?t(r?`O Codex não grava custo, só tokens`:`Os transcripts não trouxeram o custo`):t(`Nenhum gasto registrado`),prompts:p(s.prompts),activity:`${l(s.toolCalls,t(`ferramenta`),t(`ferramentas`))} · ${l(s.tasksDone,t(`tarefa concluída`),t(`tarefas concluídas`))}`}}function Me(e,n){let r=Math.max(0,...e.map(e=>$(e.ms,n)));return e.filter(e=>j(e.ms)>0).map(e=>{let i=$(e.ms,n);return{id:e.id,name:e.name,ms:e.ms,total:i,segments:ke(e.ms,n,r),waiting:t(`{0} esperando você`,[Q(e.ms.waiting)]),totalText:t(`{0} no total`,[Q(i)]),label:`${e.name}: ${Ae(e.ms,n)}`}})}var Ne=[5,10,15,20,30,45,60,90,120,180,240,300,360,480,600,720,960,1200,1440];function Pe(e){let t=Math.max(1,e/6e4),n=Ne.find(e=>e>=t)??Math.ceil(t/1440)*1440,r=n>=120?[60,30]:[5],i=1;for(let e of r){let t=[4,3,2].find(t=>Number.isInteger(n/t)&&n/t%e===0);if(t){i=t;break}}let a=n/i;return{max:n*6e4,ticks:Array.from({length:i},(e,t)=>(t+1)*a*6e4)}}function Fe(e){let t=Math.round(e/6e4);if(t<60)return`${t} min`;let n=Math.floor(t/60),r=t%60;return r?`${n} h ${String(r).padStart(2,`0`)}`:`${n} h`}function Ie(e,t,n,r=3){let i=Pe(Math.max(0,...e.map(e=>$(e.ms,t))));return{columns:e.map((a,o)=>{let s=$(a.ms,t),c=(a.hour+1)%24,l=`${a.hour}h–${c}h`;return{t:a.t,hour:a.hour,ms:a.ms,total:s,segments:ke(a.ms,t,i.max),range:l,label:`${l}: ${Ae(a.ms,t)}`,now:n>=a.t&&n<(e[o+1]?.t??a.t+36e5),future:a.t>n,tick:a.hour%r===0}}),axis:i}}function Le(e,n=()=>!1){let r=e.reduce((e,t)=>e+t.ms.working,0);return e.filter(e=>j(e.ms)>0||e.counts.tokensIn>0).map(e=>{let i=r>0?Math.round(e.ms.working/r*100):0,a=n(e.id);return{id:e.id,name:e.name,short:e.short,color:e.color,share:i,shareText:t(`{0}% do trabalho do dia`,[i]),working:Q(e.ms.working),waiting:Q(e.ms.waiting),sessions:`${p(e.sessions)} ${e.sessions===1?t(`sessão`):t(`sessões`)}${e.subagents?` · ${p(e.subagents)} sub`:``}`,tokens:g(e.counts.tokensIn+e.counts.tokensOut),cost:a?null:e.counts.costUSD>0?m(e.counts.costUSD):`—`,codex:a}})}function Re(e,n,r){let i=Math.max(1,...e.map(e=>e.ms));return e.map((e,a)=>{let s=e.ongoing?t(`desde {0}`,[n(e.start)]):`${n(e.start)}–${n(e.end)}`,c=o(e.agentId,e.agentName,r),l={key:`${e.agentId}|${e.start}`,rank:a+1,duration:Q(e.ms),pct:Math.max(2,e.ms/i*100),agentName:c,roomName:e.roomName,account:e.account,when:s,ongoing:!!e.ongoing,label:`${a+1}º: ${Q(e.ms)}, ${c} em ${e.roomName}, ${s}${e.reason?t(`, para {0}`,[e.reason]):``}${e.ongoing?t(`, ainda esperando`):``}`};return e.reason&&(l.reason=e.reason),l})}function ze(e,t,n){let r=O.filter(e=>n.has(e));return{head:[...r.map(e=>Z[e]),`Total`],rows:e.map(e=>[t(e),...r.map(t=>e.ms[t]>0?Q(e.ms[t]):`—`),Q($(e.ms,n))])}}var Be=new Intl.DateTimeFormat(e(),{weekday:`short`,day:`2-digit`,month:`2-digit`,timeZone:`UTC`});function Ve(e,n){if(e===n)return t(`Hoje`);let[r,i,a]=e.split(`-`).map(Number),o=Date.UTC(r,i-1,a),[s,c,l]=n.split(`-`).map(Number);return Date.UTC(s,c-1,l)-o===864e5?t(`Ontem`):Be.format(o)}function He(e,t,n){let r=new URLSearchParams({day:e,tz:t});return n&&r.set(`source`,n),`/api/stats?${r}`}function Ue(e){return`/api/stats/days?${new URLSearchParams({tz:e})}`}function We(e,t,n){return e&&t===n}function Ge(e){return j(e.totals.ms)===0&&e.totals.counts.tokensIn===0&&e.waits.length===0}var Ke=3e4,qe=t(`Tempo de agentes é a soma de todos eles: dois agentes trabalhando por 1 hora contam 2 horas. `)+t(`“Esperando você” é o tempo de mão levantada no escritório (permissão, pergunta ou escolha). `)+t(`O Habblaud só conta o que acontece enquanto ele está rodando.`);async function Je(e){let n=await fetch(e,{cache:`no-store`}),r=await n.json().catch(()=>null);if(!n.ok||!r)throw Error(r?.error??t(`erro {0}`,[n.status]));return r}var Ye={days:e=>Je(Ue(e)),day:(e,t,n)=>Je(He(e,t,n))},Xe=class{tz=le();book=new me(e=>B(e,this.tz));tracker=new we(this.book,{startedAt:Date.now()});seeded=!1;last=0;constructor(e){e.on(`snapshot`,e=>{let t=Date.now();t-this.last<1e3||(this.last=t,this.seeded||=(De(this.book,e,t,this.tz),!0),this.tracker.observe(e,t))})}async days(e){let t=B(Date.now(),e),n=new Set([t]);for(let t of this.book.list())for(let r of ve(t.hoursWithData(),e))n.add(r);return{tz:e,today:t,days:[...n].sort().reverse(),demoAvailable:!1}}async day(e,t){let n=Date.now();return{source:`demo`,demoAvailable:!1,today:B(n,t),serverTime:n,stats:_e(this.book.list(),e,t,n)}}},Ze=class{ctx;button;el;source;tz=le();days=null;data=null;day=null;sourcePref;visible=new Set(Oe);tables=new Set;loading=!1;error=null;seq=0;timer=null;demoSeen;opener=null;select;seg;badge;status;statusText;retry;content;tip;constructor(e,n){this.ctx=e,this.button=n,this.source=e.store.mock?new Xe(e.store):Ye,this.select=new v({label:t(`Dia`),className:`ui-day__select`,onChange:e=>this.pickDay(e)}),this.seg=new y({label:t(`Dados exibidos`),options:[{value:`demo`,label:t(`Demonstração`),className:`ui-seg__opt`},{value:`real`,label:t(`Dados reais`),className:`ui-seg__opt`}],indicator:!1,className:`ui-seg ui-day__source`,onChange:e=>this.pickSource(e)}),this.seg.el.hidden=!0,this.badge=u(`span`,{class:`ui-day__badge`,text:t(`demonstração`),title:t(`Números fictícios do modo demonstração`),hidden:!0});let r=c(_.close,t(`Fechar (Esc)`),()=>this.close(),`ui-icon-btn--sm`);this.statusText=u(`span`,{}),this.retry=u(`button`,{class:`ui-link-btn`,type:`button`,text:t(`Tentar de novo`),hidden:!0,on:{click:()=>void this.load(!0)}}),this.status=u(`p`,{class:`ui-day__status`},this.statusText,this.retry),this.content=u(`div`,{class:`ui-day__content`}),this.tip=u(`div`,{class:`ui-day__tip`,role:`tooltip`,hidden:!0,attrs:{"aria-hidden":`true`}}),this.el=u(`dialog`,{class:`ui-dialog ui-day`,attrs:{"aria-labelledby":`ui-day-title`}},u(`div`,{class:`ui-dialog__head ui-day__head`},u(`div`,{class:`ui-day__title`},u(`h2`,{text:t(`Meu dia`),attrs:{id:`ui-day-title`}}),this.badge),u(`div`,{class:`ui-day__controls`},this.select.el,this.seg.el),r),u(`div`,{class:`ui-day__body`},this.status,this.content,u(`p`,{class:`ui-day__note`,text:qe})),this.tip),this.el.addEventListener(`click`,e=>{e.target===this.el&&this.close()}),this.el.addEventListener(`keydown`,e=>e.stopPropagation()),this.el.addEventListener(`close`,()=>this.onClosed()),this.el.addEventListener(`scroll`,()=>this.hideTip(),!0)}get isOpen(){return this.el.open}open(){this.el.open||(this.opener=document.activeElement instanceof HTMLElement?document.activeElement:null,this.day=null,this.el.showModal(),this.button.setAttribute(`aria-expanded`,`true`),this.load(!0))}close(){this.el.open&&this.el.close()}toggle(){this.el.open?this.close():this.open()}render(){let e=this.ctx.store.snapshot?.meta.demo;if(e===this.demoSeen)return;let t=this.demoSeen!==void 0;this.demoSeen=e,t&&this.el.open&&!this.ctx.store.mock&&this.load(!0)}onClosed(){this.seq++,this.stopTimer(),this.hideTip(),this.button.setAttribute(`aria-expanded`,`false`),this.opener?.isConnected&&this.opener.focus({preventScroll:!0}),this.opener=null}pickDay(e){this.day=e,this.sourcePref??=this.data?.source,this.load(!1)}pickSource(e){if(this.data?.source===e)return;this.sourcePref=e;let t=e===`demo`?this.days?.demoDays:this.days?.days;this.day&&t&&!t.includes(this.day)&&(this.day=null),this.load(!1)}async load(e){let n=++this.seq;this.stopTimer(),this.loading=!0,this.renderStatus();try{if(e||!this.days){let e=await this.source.days(this.tz);if(n!==this.seq)return;this.days=e,this.sourcePref===`demo`&&!e.demoAvailable&&(this.sourcePref=void 0)}let t=this.day??this.days.today,r=await this.source.day(t,this.tz,this.sourcePref);if(n!==this.seq)return;this.data=r,this.day=r.stats.day,this.error=null,this.renderAll()}catch(e){if(n!==this.seq)return;this.error=e instanceof Error?e.message:String(e),this.ctx.announce(t(`Não foi possível carregar as estatísticas do dia.`)),this.data&&(this.day=this.data.stats.day,this.renderControls(this.data))}finally{n===this.seq&&(this.loading=!1,this.renderStatus(),We(this.el.open,this.day??``,this.data?.today??``)&&(this.timer=setTimeout(()=>void this.load(!0),Ke)))}}stopTimer(){this.timer&&clearTimeout(this.timer),this.timer=null}renderStatus(){if(this.el.classList.toggle(`is-loading`,this.loading&&!!this.data),d(this.retry,!this.error),this.error)l(this.statusText,t(`Não foi possível carregar as estatísticas ({0}).`,[this.error]));else if(this.loading&&!this.data)l(this.statusText,t(`Carregando…`));else if(this.data){let e=this.data.stats.day===this.data.today?t(`Atualizado às {0} · atualiza a cada 30 s`,[h(this.data.serverTime)]):``;l(this.statusText,[e,f(this.data,this.ctx.store.snapshot?.machines)].filter(Boolean).join(` · `))}}renderAll(){let e=this.data;if(!e)return;this.renderControls(e);let t=document.activeElement?.closest(`[data-focus-key]`)?.dataset.focusKey;this.hideTip(),this.content.replaceChildren(...this.sections(e)),t&&this.content.querySelector(`[data-focus-key="${CSS.escape(t)}"]`)?.focus({preventScroll:!0})}renderControls(e){let t=e.source===`demo`;d(this.badge,!t),d(this.seg.el,!e.demoAvailable),this.seg.value=t?`demo`:`real`;let n=(t?this.days?.demoDays:this.days?.days)??[e.today],r=n.includes(e.stats.day)?n:[e.stats.day,...n];this.select.setOptions(r.map(t=>({value:t,label:Ve(t,e.today)})),e.stats.day),this.select.value=e.stats.day,this.select.disabled=r.length<2}sections(e){let n=e.stats,r=e=>h(e,!1),i=je(n,r,n.accounts.some(e=>this.isCodexAccount(e.id)&&e.counts.tokensIn+e.counts.tokensOut>0),this.ctx.store.snapshot?.machines),a=[this.kpis(i)];if(Ge(n)){let r=n.day===e.today;return a.push(u(`p`,{class:`ui-day__empty`,text:t(r?`Ainda não há tempo registrado hoje. Os números aparecem assim que algum agente trabalhar com o Habblaud aberto.`:`Nada registrado neste dia.`)})),a}return a.push(this.legend()),a.push(this.hoursCard(e)),a.push(this.roomsCard(Me(n.rooms,this.visible))),a.push(this.waitsCard(Re(n.waits,r,this.ctx.store.snapshot?.machines),e)),a.push(this.accountsCard(e)),a}kpis(e){let n=u(`span`,{class:`ui-day__swatch is-waiting`,attrs:{"aria-hidden":`true`}}),r=u(`div`,{class:`ui-day__hero`},u(`p`,{class:`ui-day__kpi-label`},n,u(`span`,{text:t(`Esperando você`)})),u(`p`,{class:`ui-day__hero-value`,text:e.waiting}),u(`p`,{class:`ui-day__kpi-sub`,text:e.waits}),e.longest?u(`p`,{class:`ui-day__kpi-sub`},u(`span`,{class:`ui-day__muted`,text:t(`Maior espera: `)}),u(`strong`,{text:e.longest})):null,e.wall?u(`p`,{class:`ui-day__kpi-sub`,text:e.wall}):null),i=(e,t,n,r,i)=>u(`div`,{class:`ui-day__kpi`,title:r},u(`p`,{class:`ui-day__kpi-label`},i?u(`span`,{class:`ui-day__swatch is-${i}`,attrs:{"aria-hidden":`true`}}):null,u(`span`,{text:e})),u(`p`,{class:`ui-day__kpi-value`,text:t}),u(`p`,{class:`ui-day__kpi-sub`,text:n}));return u(`section`,{class:`ui-day__kpis`,attrs:{"aria-label":t(`Destaques do dia`)}},r,i(t(`Trabalhando`),e.working,t(`soma do tempo de todos os agentes`),void 0,`working`),i(t(`Sessões`),e.sessions,e.subagents),i(t(`Pedidos`),e.prompts,e.activity),i(`Tokens`,e.tokens,e.tokensDetail),i(t(`Custo`),e.cost,e.costHint,e.costHint))}legend(){let e=O.map(e=>{let n=this.visible.has(e);return u(`button`,{class:`ui-day__key${n?``:` is-off`}`,type:`button`,title:t(n?`Esconder “{0}” dos gráficos`:`Mostrar “{0}” nos gráficos`,[Z[e]]),attrs:{"aria-pressed":String(n),"data-focus-key":`key:${e}`},on:{click:()=>this.toggleStatus(e)}},u(`span`,{class:`ui-day__swatch is-${e}`,attrs:{"aria-hidden":`true`}}),u(`span`,{text:Z[e]}))});return u(`div`,{class:`ui-day__legend`,role:`group`,attrs:{"aria-label":t(`Status nos gráficos (clique para mostrar ou esconder)`)}},...e)}toggleStatus(e){if(this.visible.has(e)){if(this.visible.size===1)return;this.visible.delete(e)}else this.visible.add(e);this.renderAll()}card(e,n,r,i){let a=!!i&&this.tables.has(i),o=i?u(`button`,{class:`ui-link-btn ui-day__table-btn`,type:`button`,text:t(a?`Ver gráfico`:`Ver tabela`),attrs:{"aria-pressed":String(a),"data-focus-key":`table:${i}`},on:{click:()=>{this.tables.has(i)?this.tables.delete(i):this.tables.add(i),this.renderAll()}}}):null,s=u(`div`,{class:`ui-day__card-body`});return{el:u(`section`,{class:`ui-day__card ui-day__card--${e}`,attrs:{"aria-labelledby":`ui-day-${e}`}},u(`div`,{class:`ui-day__card-head`},u(`div`,{},u(`h3`,{text:n,attrs:{id:`ui-day-${e}`}}),u(`p`,{class:`ui-day__card-sub`,text:r})),o),s),body:s,showTable:a}}table(e,t,n){return u(`div`,{class:`ui-day__table-wrap`},u(`table`,{class:`ui-day__table`},u(`caption`,{class:`ui-sr`,text:n}),u(`thead`,{},u(`tr`,{},...e.map((e,t)=>u(`th`,{text:e,attrs:{scope:`col`,class:t?`is-num`:void 0}})))),u(`tbody`,{},...t.map(e=>u(`tr`,{},...e.map((e,t)=>t?u(`td`,{class:`is-num`,text:e}):u(`th`,{text:e,attrs:{scope:`row`}})))))))}hoursCard(e){let n=this.ctx.isNarrow(),{columns:r,axis:i}=Ie(e.stats.hours,this.visible,e.serverTime,n?6:3),a=this.card(`hours`,t(`Por hora`),t(`Tempo de agentes em cada hora do dia`),`hours`);if(a.showTable){let e=ze(r,e=>e.range,this.visible);return a.body.append(this.table([t(`Hora`),...e.head],e.rows,t(`Tempo de agentes por hora`))),a.el}let o=u(`div`,{class:`ui-day__grid`,attrs:{"aria-hidden":`true`}},...i.ticks.map(e=>u(`span`,{class:`ui-day__gridline`,style:`bottom:${e/i.max*100}%`},u(`span`,{class:`ui-day__tick`,text:Fe(e)})))),s=u(`div`,{class:`ui-day__cols`,role:`list`,attrs:{"aria-label":t(`Tempo de agentes por hora (setas para navegar)`)}}),c=r.findIndex(e=>e.now);c<0&&(c=0),r.forEach((e,t)=>s.append(this.column(e,t===c))),s.addEventListener(`keydown`,e=>this.moveFocus(e,s));let l=u(`div`,{class:`ui-day__xaxis`,attrs:{"aria-hidden":`true`}},...r.map(e=>u(`span`,{class:`ui-day__xlabel${e.now?` is-now`:``}`,text:e.tick||e.now&&!n?`${e.hour}h`:``})));return a.body.append(u(`div`,{class:`ui-day__plot`},o,s),l),a.el}column(e,n){let r=u(`span`,{class:`ui-day__stack`},...e.segments.map(e=>u(`span`,{class:`ui-day__seg is-${e.status}`,style:`height:${e.pct}%`,attrs:{"data-status":e.status}}))),i=u(`div`,{class:`ui-day__col${e.now?` is-now`:``}`,role:`listitem`,tabIndex:n?0:-1,attrs:{"aria-label":`${e.label}${e.now?t(` (agora)`):``}`,"data-focus-key":`hour:${e.t}`}},r);return this.bindTip(i,()=>`${e.range}${e.now?t(` · agora`):e.future?t(` · ainda não chegou`):``}`,()=>e.future?[]:[...O.filter(t=>this.visible.has(t)&&e.ms[t]>0).map(t=>({status:t,label:Z[t],value:Q(e.ms[t])})),{label:`Total`,value:Q(e.total)}],()=>r.lastElementChild??r),i}moveFocus(e,t){let n=[...t.children],r=n.indexOf(document.activeElement);if(r<0)return;let i=e.key===`ArrowRight`?r+1:e.key===`ArrowLeft`?r-1:e.key===`Home`?0:e.key===`End`?n.length-1:-2;if(i===-2)return;e.preventDefault();let a=n[Math.max(0,Math.min(n.length-1,i))];n.forEach(e=>e.tabIndex=e===a?0:-1),a.focus()}roomsCard(e){let n=this.card(`rooms`,t(`Por projeto`),t(`Ordenado pelo tempo esperando você`),`rooms`);if(!e.length)return n.body.append(u(`p`,{class:`ui-day__muted`,text:t(`Nenhum projeto com tempo neste dia.`)})),n.el;if(n.showTable){let r=ze(e,e=>e.name,this.visible);return n.body.append(this.table([t(`Projeto`),...r.head],r.rows,t(`Tempo de agentes por projeto`))),n.el}let r=u(`ul`,{class:`ui-day__bars`});for(let t of e){let e=u(`span`,{class:`ui-day__track`},...t.segments.map(e=>u(`span`,{class:`ui-day__seg is-${e.status}`,style:`width:${e.pct}%`,attrs:{"data-status":e.status}}))),n=u(`li`,{class:`ui-day__bar`,tabIndex:0,attrs:{"aria-label":t.label,"data-focus-key":`room:${t.id}`}},u(`span`,{class:`ui-day__bar-head`},u(`span`,{class:`ui-day__bar-name`,text:t.name,title:t.id}),u(`span`,{class:`ui-day__bar-value`},this.visible.has(`waiting`)?u(`strong`,{text:t.waiting}):null,u(`span`,{class:`ui-day__muted`,text:t.totalText}))),e);this.bindTip(n,()=>t.name,()=>[...O.filter(e=>this.visible.has(e)&&t.ms[e]>0).map(e=>({status:e,label:Z[e],value:Q(t.ms[e])})),{label:`Total`,value:Q($(t.ms,this.visible))}]),r.append(n)}return n.body.append(r),n.el}waitsCard(e,n){let r=this.card(`waits`,t(`Maiores esperas`),t(`Quanto tempo cada agente ficou de mão levantada esperando você`));if(!e.length)return r.body.append(u(`p`,{class:`ui-day__muted`,text:t(`Nenhuma espera por você neste dia.`)})),r.el;let i=new Map(n.stats.accounts.map(e=>[e.id,e])),a=u(`ol`,{class:`ui-day__waits`});for(let n of e){let e=i.get(n.account),r=u(`span`,{class:`ui-acc-chip`,text:e?.short??`?`,title:e?.name??n.account});s(r,`--acc`,e?.color??`#8b98b3`),this.isCodexAccount(n.account)&&(r.dataset.provider=`codex`),a.append(u(`li`,{class:`ui-day__wait${n.ongoing?` is-ongoing`:``}`,attrs:{"aria-label":n.label}},u(`span`,{class:`ui-day__rank`,text:`${n.rank}`,attrs:{"aria-hidden":`true`}}),u(`span`,{class:`ui-day__wait-main`,attrs:{"aria-hidden":`true`}},u(`span`,{class:`ui-day__wait-top`},u(`strong`,{class:`ui-day__wait-dur`,text:n.duration}),u(`span`,{class:`ui-day__wait-bar`},u(`span`,{class:`ui-day__seg is-waiting`,style:`width:${n.pct}%`})),n.ongoing?u(`span`,{class:`ui-day__now`,text:t(`esperando agora`)}):null),u(`span`,{class:`ui-day__wait-who`},r,u(`span`,{class:`ui-day__wait-name`,text:n.agentName}),u(`span`,{class:`ui-day__muted`,text:`${t(`em {0}`,[n.roomName])} · ${n.when}${n.reason?` · ${n.reason}`:``}`})))))}return r.body.append(a),r.el}accountsCard(e){let n=Le(e.stats.accounts,e=>this.isCodexAccount(e)),r=this.card(`accounts`,t(`Por conta`),t(`Cada conta na cor dela, com a fatia do tempo de trabalho do dia`));if(!n.length)return r.body.append(u(`p`,{class:`ui-day__muted`,text:t(`Nenhuma conta com tempo neste dia.`)})),r.el;let i=u(`div`,{class:`ui-day__accounts`});for(let e of n){let n=u(`span`,{class:`ui-acc-chip ui-acc-chip--md`,text:e.short,attrs:{"aria-hidden":`true`,...e.codex?{"data-provider":`codex`}:{}}});s(n,`--acc`,e.color);let r=u(`span`,{class:`ui-day__meter`,role:`img`,attrs:{"aria-label":e.shareText}},u(`span`,{class:`ui-day__meter-fill`,style:`width:${e.share}%`})),a=(e,t)=>[u(`dt`,{text:e}),u(`dd`,{text:t})],o=u(`article`,{class:`ui-day__account`,attrs:{"aria-label":e.name}},u(`div`,{class:`ui-day__account-head`},n,u(`strong`,{class:`ui-day__account-name`,text:e.name}),u(`span`,{class:`ui-day__muted`,text:e.sessions})),r,u(`p`,{class:`ui-day__kpi-sub`,text:e.shareText}),u(`dl`,{class:`ui-day__account-stats`},...a(t(`Trabalhando`),e.working),...a(t(`Esperando você`),e.waiting),...a(`Tokens`,e.tokens),...e.cost===null?[u(`dt`,{text:t(`Custo`)}),u(`dd`,{text:t(`só tokens`),title:t(`O Codex não grava custo, só tokens`)})]:a(t(`Custo`),e.cost)));s(o,`--acc`,e.color),i.append(o)}return r.body.append(i),r.el}isCodexAccount(e){return b(this.ctx.account(e),e)===`codex`}bindTip(e,t,n,r=()=>e){let i=e=>this.showTip(r(),t(),n(),e);e.addEventListener(`pointerenter`,e=>i(Qe(e.target))),e.addEventListener(`pointermove`,e=>i(Qe(e.target))),e.addEventListener(`pointerleave`,()=>this.hideTip()),e.addEventListener(`focus`,()=>i()),e.addEventListener(`blur`,()=>this.hideTip())}showTip(e,t,n,r){this.tip.replaceChildren(u(`p`,{class:`ui-day__tip-title`,text:t}),...n.map(e=>u(`p`,{class:`ui-day__tip-row${e.status&&e.status===r?` is-hl`:``}${e.status?``:` is-total`}`},u(`span`,{class:`ui-day__tip-key${e.status?` is-${e.status}`:``}`,attrs:{"aria-hidden":`true`}}),u(`strong`,{text:e.value}),u(`span`,{text:e.label})))),this.tip.hidden=!1;let i=this.el.getBoundingClientRect(),a=e.getBoundingClientRect(),o=this.tip.getBoundingClientRect(),s=Math.min(Math.max(8,a.left-i.left+a.width/2-o.width/2),i.width-o.width-8),c=a.top-i.top-o.height-8;c<8&&(c=a.bottom-i.top+8),this.tip.style.left=`${Math.round(s)}px`,this.tip.style.top=`${Math.round(c)}px`}hideTip(){this.tip.hidden=!0}};function Qe(e){let t=e instanceof HTMLElement?e.dataset.status:void 0;return t&&O.includes(t)?t:void 0}export{Ze as DayPanel};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./main-
|
|
1
|
+
import{s as e}from"./main-DNVSCypp.js";import{i as t,n,r}from"./room-name-Cg36nI5X.js";function i(e,t){if(!e||!t)return;let n=t.find(t=>t.id===e)?.label;return n===void 0?void 0:r(n)}function a(e,t){let n=i(e.machine,t);return n?`${n} · ${e.name}`:e.name}function o(e,n,r,i){let o=i?.machine??(e?t(e)?.machine:void 0);return a({name:i?.name??n,machine:o},r)}function s(e,t,n){return o(t,n,e.store.snapshot?.machines,t?e.agent(t):void 0)}function c(t,i){let a=t.custom&&t.id?n({...t,id:t.id}):t.name,o=t.machine?i?.find(e=>e.id===t.machine):void 0;if(!o)return{text:a,dim:!1};let s=`${r(o.label)} · ${a}`;return o.state===`offline`?{text:s,dim:!0,tag:e(`offline`)}:{text:s,dim:!1}}function l(t,n){let r=t;if(!r||r.partial!==!0)return``;let a=Array.isArray(r.unavailable)?r.unavailable.filter(e=>typeof e==`string`):[];if(!a.length)return e(`Algumas máquinas não responderam agora: a lista pode estar incompleta.`);let o=a.map(e=>i(e,n)??e).join(`, `);return e(`Algumas máquinas não responderam agora ({0}): a lista pode estar incompleta.`,[o])}function u(e,n){let r=t(e);if(!r||!n)return!0;let i=n.find(e=>e.id===r.machine);return!i||!(i.state===`offline`||i.pty&&!i.pty.enabled)}function d(n,r){let i=t(n);if(!i||!r)return{disabled:!1};let a=r.find(e=>e.id===i.machine);return a?a.state===`offline`?{disabled:!0,tooltip:e(`a máquina deste agente está offline`)}:a.pty&&!a.pty.enabled?{disabled:!0,tooltip:a.pty.reason??e(`desligado nesta máquina`)}:{disabled:!1}:{disabled:!1}}var f=(e,t)=>{e.textContent=t};function p(e){f=e}function m(e,t={},...n){let r=document.createElement(e);if(t.class&&(r.className=t.class),t.text!==void 0&&f(r,t.text),t.title&&(e===`iframe`||e===`option`?r.title=t.title:r.setAttribute(`data-tip`,t.title)),t.style&&r.setAttribute(`style`,t.style),t.role&&r.setAttribute(`role`,t.role),t.tabIndex!==void 0&&(r.tabIndex=t.tabIndex),t.hidden&&(r.hidden=!0),t.type&&r.setAttribute(`type`,t.type),t.attrs)for(let[n,i]of Object.entries(t.attrs))i!==void 0&&i!==!1&&(n===`title`&&e!==`iframe`&&e!==`option`?r.setAttribute(`data-tip`,i===!0?``:String(i)):r.setAttribute(n,i===!0?``:String(i)));if(t.on)for(let[e,n]of Object.entries(t.on))r.addEventListener(e,n);for(let e of n)e!=null&&e!==!1&&r.append(e);return r}function h(e,t,n,r=``){let i=m(`button`,{class:`ui-icon-btn ${r}`.trim(),type:`button`,title:t,attrs:{"aria-label":t},on:{click:n}});return i.innerHTML=e,i}function g(e,t){let n=typeof document<`u`&&document.documentElement?.clientWidth||(typeof window<`u`?window.innerWidth:0),r=typeof document<`u`&&document.documentElement?.clientHeight||(typeof window<`u`?window.innerHeight:0);e.style&&(e.style.left=`${Math.max(8,t.x)}px`,e.style.top=`${Math.max(8,t.y)}px`),e.showPopover?.();let i=e.getBoundingClientRect?.()??{width:0,height:0};e.style&&(e.style.left=`${Math.max(8,Math.min(t.x,n-i.width-8))}px`,e.style.top=`${Math.max(8,Math.min(t.y,r-i.height-8))}px`)}function _(e,t){e.textContent!==t&&f(e,t)}function v(e,t,n){n==null?e.hasAttribute(t)&&e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function y(e,t){if(e){if(e.tagName===`IFRAME`||e.tagName===`OPTION`){e.title!==t&&(e.title=t);return}typeof e.getAttribute==`function`&&(t?e.getAttribute(`data-tip`)!==t&&typeof e.setAttribute==`function`&&e.setAttribute(`data-tip`,t):e.getAttribute(`data-tip`)!==null&&typeof e.removeAttribute==`function`&&e.removeAttribute(`data-tip`),e.getAttribute(`title`)!==null&&typeof e.removeAttribute==`function`&&e.removeAttribute(`title`)),`title`in e&&e.title&&(e.title=``)}}function b(e,t,n){e.style.getPropertyValue(t)!==n&&e.style.setProperty(t,n)}function x(e,t){e.hidden!==t&&(e.hidden=t)}function S(e,t,n){let r=`__variant_${t}`,i=e,a=i[r];a!==n&&(a&&e.classList.remove(`${t}${a}`),e.classList.add(`${t}${n}`),i[r]=n)}function C(){return typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function w(e,t,n=260){if(C()||typeof e.animate!=`function`||!e.isConnected){t();return}let r=e.offsetHeight;e.style.overflow=`hidden`,e.style.pointerEvents=`none`;let i=e.animate([{opacity:1,height:`${r}px`,transform:`translateX(0)`},{opacity:0,height:`${r}px`,transform:`translateX(-10px)`,offset:.55},{opacity:0,height:`0px`,marginTop:`0px`,marginBottom:`0px`,paddingTop:`0px`,paddingBottom:`0px`,transform:`translateX(-10px)`}],{duration:n,easing:`cubic-bezier(.4,0,.2,1)`,fill:`forwards`});i.onfinish=t,i.oncancel=t}function T(e){C()||(e.classList.add(`is-entering`),e.addEventListener(`animationend`,()=>e.classList.remove(`is-entering`),{once:!0}))}var E=class{container;opts;nodes=new Map;leaving=new Map;initialized=!1;constructor(e,t){this.container=e,this.opts=t}get size(){return this.nodes.size}get(e){return this.nodes.get(e)}keys(){return this.nodes.keys()}sync(e){let t=this.opts.animate!==!1&&this.initialized,n=new Set,r=new Set(e.map(e=>this.opts.key(e))),i=this.container.firstChild,a=()=>{for(;i&&(this.isLeaving(i)||!r.has(i.dataset?.key??``));)i=i.nextSibling};for(let r of e){let e=this.opts.key(r);if(n.has(e))continue;n.add(e);let o=this.nodes.get(e);if(!o){let n=this.leaving.get(e);n&&(n.getAnimations?.().forEach(e=>e.cancel()),n.remove(),this.leaving.delete(e)),o=this.opts.create(r),o.dataset.key=e,this.nodes.set(e,o),t&&T(o)}this.opts.update(o,r),a(),i===o?i=o.nextSibling:this.container.insertBefore(o,i)}for(let[e,r]of this.nodes)if(!n.has(e)){if(this.nodes.delete(e),!t){r.remove();continue}this.leaving.set(e,r),r.classList.add(`is-leaving`),w(r,()=>{this.leaving.get(e)===r&&this.leaving.delete(e),r.remove()})}this.initialized=!0}clear(){for(let e of this.nodes.values())e.remove();for(let e of this.leaving.values())e.remove();this.nodes.clear(),this.leaving.clear(),this.initialized=!1}isLeaving(e){return e instanceof HTMLElement&&e.classList.contains(`is-leaving`)}};function D(e){return typeof e?.clipboard?.writeText==`function`?`api-then-legacy`:`legacy`}async function O(e){if(D(typeof navigator>`u`?void 0:navigator)===`api-then-legacy`)try{return await navigator.clipboard.writeText(e),!0}catch{}let t=m(`textarea`,{style:`position:fixed;opacity:0;pointer-events:none`});t.value=e;let n=document.activeElement instanceof HTMLElement?document.activeElement:null;(n?.closest(`dialog[open]`)??document.body).append(t),t.select();let r=!1;try{r=document.execCommand(`copy`)}catch{r=!1}return t.remove(),n?.focus(),r}export{o as _,C as a,d as b,b as c,y as d,S as f,s as g,u as h,h as i,_ as l,a as m,O as n,v as o,g as p,m as r,x as s,E as t,p as u,l as v,c as y};
|
|
@@ -111,7 +111,7 @@ Turns on phone access (https://<name>.local) with username, password and HTTPS.
|
|
|
111
111
|
--allow <list> what the phone can do: permissions, messages, terminal, spawn, none (default: permissions)
|
|
112
112
|
--password-stdin reads the password from standard input (automation) instead of asking
|
|
113
113
|
--no-service doesn't install the <name>.local announcement service (run npm run remote:mdns yourself)
|
|
114
|
-
--off turns off phone access (removes the lines from the settings file and the service; keeps the CA)`,"falta o valor de {0}":`missing value for {0}`,"opção desconhecida: {0}":`unknown option: {0}`,"porta inválida":`invalid port`,"use pelo menos {0} caracteres":`use at least {0} characters`,"sem espaços no começo ou no fim":`no spaces at the start or end`,"a senha não pode ser o usuário":`the password can't be the username`,"sem terminal para perguntar a senha: use --password-stdin":`no terminal to ask for the password: use --password-stdin`,"serviço {0} ligado (log: ~/.habblaud/logs/remote-mdns.log)":`service {0} enabled (log: ~/.habblaud/logs/remote-mdns.log)`,"não consegui ligar o serviço: {0}":`couldn't enable the service: {0}`,"Busybits: anuncia o endereço .local do acesso pelo celular":`Busybits: announces the .local address for phone access`,"serviço busybits-remote-mdns ligado (para seguir ligado sem login: loginctl enable-linger)":`busybits-remote-mdns service enabled (to keep it on while logged out: loginctl enable-linger)`,"{0}: sem serviço automático; deixe npm run remote:mdns rodando ou use o IP":`{0}: no automatic service; keep npm run remote:mdns running or use the IP`,"[remote-setup] Acesso pelo celular desligado (a CA continua em ~/.habblaud/remote-tls).":`[remote-setup] Phone access turned off (the CA stays in ~/.habblaud/remote-tls).`," Configuração: {0} (lida pelo servidor Node: serviço ou npm start)":` Settings: {0} (read by the Node server: service or npm start)`," Configuração: {0} (lida pelo Docker: npm run docker:up)":` Settings: {0} (read by Docker: npm run docker:up)`," Agora rode: {0}":` Now run: {0}`," Agora rode: {0} (reinicia o serviço do Busybits para ler as novas configurações)":` Now run: {0} (restarts the Busybits service so it reads the new settings)`," Agora: reinicie o servidor do Busybits (npm start) para ler as novas configurações":` Now: restart the Busybits server (npm start) so it reads the new settings`,"Usuário do login":`Login username`,"usuário inválido (sem espaços)":`invalid username (no spaces)`,"senha recusada: {0}":`password rejected: {0}`,"Senha ({0}+ caracteres; não aparece enquanto você digita)":`Password ({0}+ characters; hidden while you type)`,"Repita a senha":`Repeat the password`," as duas não batem; de novo.":` they don't match; try again.`,"Nome do endereço (vira <nome>.local)":`Address name (becomes <name>.local)`,'nome inválido: "{0}" (letras, números e hífen)':`invalid name: "{0}" (letters, numbers and hyphens)`,"Endereço próprio, opcional (ex.: meuclaude.home; Enter pula)":`Own address, optional (e.g. myclaude.home; Enter skips)`,'endereço inválido: "{0}"':`invalid address: "{0}"`,"[remote-setup] Gerando o hash da senha…":`[remote-setup] Generating the password hash…`,"serviço não instalado (--no-service): rode npm run remote:mdns":`service not installed (--no-service): run npm run remote:mdns`," CA local nova (o endereço mudou ou a anterior não tinha restrição de nomes): instale o certificado de novo no celular.":` New local CA (the address changed or the previous one had no name constraints): install the certificate on the phone again.`," CA local criada.":` Local CA created.`," (ou {0})":` (or {0})`,"{0} (depois de criar no roteador: {1} -> {2})":`{0} (after creating it in the router: {1} -> {2})`,"IP deste computador":`this computer's IP`,"[remote-setup] Pronto.{0}":`[remote-setup] Done.{0}`,' Acesso: usuário "{0}", senha guardada só como hash (scrypt), porta {1}':` Access: user "{0}", password stored only as a hash (scrypt), port {1}`," Certificado: {0}":` Certificate: {0}`," Anúncio: {0}":` Announcing: {0}`," Agora rode: npm run docker:up":` Now run: npm run docker:up`," No celular (mesmo Wi-Fi):":` On the phone (same Wi-Fi):`,' Primeira vez: aceite o aviso, toque em "Instale o certificado do Habblaud" e confie nele':` First time: accept the warning, tap "Install the Busybits certificate" and trust it`," iPhone: Ajustes > Perfil Baixado > Instalar; depois Ajustes > Geral > Sobre > Ajustes de Confiança de Certificados":` iPhone: Settings > Profile Downloaded > Install; then Settings > General > About > Certificate Trust Settings`," Android: Configurações > Segurança > Criptografia e credenciais > Instalar certificado > Certificado de CA":` Android: Settings > Security > Encryption & credentials > Install a certificate > CA certificate`," Impressão digital da CA (confira no celular antes de confiar):":` CA fingerprint (check it on the phone before trusting it):`,"(indisponível)":`(unavailable)`,"[remote-setup] Erro: {0}":`[remote-setup] Error: {0}`,Sair:`Sign out`,"Acesso pelo celular":`Phone access`,"Sair deste aparelho":`Sign out of this device`,"Encerra o login aqui (uma cópia do cookie também deixa de valer). Para voltar, entre com usuário e senha.":`Ends the login here (a copy of the cookie stops working too). To come back, sign in with your username and password.`,"Não combina com este cabelo":`Doesn't go with this hair`,"Não combina com o boné ou o gorro":`Doesn't go with the cap or beanie`,"Não combina com o laço":`Doesn't go with the bow`,"Codo de madrugada":`I code late at night`,"Acordo cedo para codar":`I get up early to code`,"Movido a café":`Powered by coffee`,"Time do chá":`Team tea`,"Time dos tabs":`Team tabs`,"Time dos espaços":`Team spaces`,"Modo escuro sempre":`Dark mode, always`,"Modo claro, sem medo":`Light mode, no fear`,"Vim até o fim":`Vim till the end`,"Testo antes de escrever":`I test before I write`,"Entrego rápido":`I ship fast`,"Refatorar é meu hobby":`Refactoring is my hobby`,"Fã de pixel art":`Pixel art fan`,"Codo ouvindo música":`I code with music on`,"Codo em silêncio":`I code in silence`,"Gente de gato":`Cat person`,"Gente de cachorro":`Dog person`,"Vivo de código aberto":`Open source all the way`,"Sempre aprendendo":`Always learning`,"Oi, prazer!":`Hi, nice to meet you!`,"HABBLAUD_WORLD_URL não é um endereço válido":`HABBLAUD_WORLD_URL is not a valid address`,"HABBLAUD_WORLD_URL com http:// (127.0.0.1 ou host.docker.internal) só vale no modo de desenvolvimento (--dev ou HABBLAUD_WORLD_DEV=1)":`HABBLAUD_WORLD_URL with http:// (127.0.0.1 or host.docker.internal) only works in development mode (--dev or HABBLAUD_WORLD_DEV=1)`,"HABBLAUD_WORLD_URL precisa começar com https:// ou wss://":`HABBLAUD_WORLD_URL must start with https:// or wss://`,"HABBLAUD_WORLD_URL deve ter só o endereço do servidor (sem caminho, usuário, senha ou parâmetros)":`HABBLAUD_WORLD_URL must contain only the server address (no path, user, password or parameters)`,"o Habblaud World só é usado pelo próprio computador (http://localhost)":`Habblaud World can only be used from this computer (http://localhost)`," Habblaud World: escondido (HABBLAUD_WORLD=0).":` Habblaud World: hidden (HABBLAUD_WORLD=0).`," Habblaud World: desligado (padrão; HABBLAUD_WORLD=1 liga).":` Habblaud World: off (default; HABBLAUD_WORLD=1 turns it on).`," Habblaud World: desligado (HABBLAUD_WORLD_URL recusada).":` Habblaud World: off (HABBLAUD_WORLD_URL rejected).`,"{0} (padrão)":`{0} (default)`," Habblaud World: {0}, conta neste computador: {1}{2}.":` Habblaud World: {0}, account on this computer: {1}{2}.`," (só leitura: a trava do terminal está desligada)":` (read-only: the terminal lock is off)`,"esperado um objeto JSON":`expected a JSON object`,"e-mail inválido":`invalid email`,"a senha precisa ter de {0} a {1} caracteres":`the password must be {0} to {1} characters long`,"o código tem 6 dígitos":`the code has 6 digits`,"nome de jogador recusado ({0})":`player name refused ({0})`,'esperado {name?, look: "f" ou "m", parts, traits: 2 ou 3 traços que combinam, intro}':`expected {name?, look: "f" or "m", parts, traits: 2 or 3 traits that go together, intro}`,"idioma desconhecido":`unknown language`,"código de convite inválido":`invalid invite code`,"senha ausente":`missing password`,'esperado {mode: "live" ou "discreet", closed, hideCountry, tokensVisible, leaderboard, compactions, notifyInactivity?, knocks?}':`expected {mode: "live" or "discreet", closed, hideCountry, tokensVisible, leaderboard, compactions, notifyInactivity?, knocks?}`,"dispositivo desconhecido":`unknown device`,"o Habblaud World só age pela conta com o Habblaud acessível apenas pelo próprio computador":`Habblaud World only acts on your account when Busybits is reachable only from this computer`,"Habblaud World desligado: HABBLAUD_WORLD_URL recusada (veja o log do servidor)":`Habblaud World is off: HABBLAUD_WORLD_URL was rejected (see the server log)`,"world.json fora do formato: ignorado (entre de novo no Habblaud World).":`world.json is malformed: ignored (sign in to Habblaud World again).`,"world.json ilegível ({0}): ignorado (entre de novo no Habblaud World).":`world.json unreadable ({0}): ignored (sign in to Habblaud World again).`,"Não foi possível gravar {0} ({1}); a sessão do Habblaud World vale só nesta execução.":`Couldn't write {0} ({1}); the Habblaud World session only lasts for this run.`,"Novidade: Habblaud World":`New: Habblaud World`,"Seu escritório agora pode virar um prédio numa cidade online, aceso enquanto os seus agentes trabalham.":`Your office can now become a building in an online city, lit up while your agents work.`,"Seu escritório vira um prédio numa cidade em pixel art, aceso enquanto os seus agentes trabalham.":`Your office becomes a building in a pixel-art city, lit up while your agents work.`,"Crie um personagem, ande pela cidade e visite os prédios de outras pessoas.":`Create a character, walk around the city and visit other people's buildings.`,"Cumprimente quem passa e deixe likes nos prédios, sem chat e sem spam.":`Greet passersby and like buildings, with no chat and no spam.`,"Nada do seu trabalho sai do computador: só o tema, quantos andares e se cada personagem está ocupado ou à toa.":`Nothing about your work leaves your computer: only the theme, how many floors, and whether each character is busy or idle.`,"Ver a lista":`See the list`,"Nada é enviado enquanto você não criar a conta. O acesso é liberado aos poucos, por lista de espera.":`Nothing is sent until you create an account. Access opens gradually, through a waitlist.`,"Criar conta":`Create account`,"Agora não":`Not now`,"Não mostrar de novo":`Don't show again`,"Você está na lista de espera":`You're on the waitlist`,"O acesso é liberado aos poucos, em lotes. Avisamos por e-mail quando chegar a sua vez.":`Access opens gradually, in batches. We'll email you when it's your turn.`,"Enquanto isso, o Habblaud continua normal e nada do escritório é enviado.":`Meanwhile, Busybits works as usual and nothing from the office is sent.`,Entendi:`Got it`,"Chegou a sua vez: crie o seu personagem e entre na cidade.":`It's your turn: create your character and enter the city.`,"← Voltar":`← Back`,"Mostrar senha":`Show password`,"Esconder senha":`Hide password`,"E-mail":`Email`,"Código de 6 dígitos":`6-digit code`,"Dispositivo {0}":`Device {0}`,"Mandamos outro código.":`We sent another code.`,"Senha trocada. Entre com a senha nova.":`Password changed. Sign in with the new password.`,"Você saiu da conta do Habblaud World neste computador.":`You signed out of Habblaud World on this computer.`,"Personagem salvo.":`Character saved.`,"Dispositivo revogado.":`Device revoked.`,"Fechado a visitas":`Closed to visitors`,"Dá para ver o prédio por fora, mas ninguém entra.":`People can see the building from outside, but nobody can come in.`,"Esconder o país":`Hide country`,"No lugar da bandeira do país (visto pelo IP da conexão) aparece uma bandeira neutra.":`A neutral flag shows instead of your country's flag (taken from the connection's IP).`,"Mostrar o consumo de tokens":`Show token usage`,"Total do dia e da semana do prédio inteiro, só em faixas (até 100 mil, 1 milhão…). Nunca o custo.":`Daily and weekly total for the whole building, only in ranges (up to 100k, 1 million…). Never the cost.`,"Entrar no placar":`Join the leaderboard`,"O prédio pode aparecer nos placares de tokens da cidade.":`Your building can show up on the city's token leaderboards.`,"Mostrar as compactações":`Show compactions`,"Quando um agente compacta o contexto, a lixeira da sala enche. Sai só o fato, nada do conteúdo.":`When an agent compacts its context, the room's trash can fills up. Only the fact is sent, nothing of the content.`,"Habblaud World":`Habblaud World`,"Só pelo computador":`Computer only`,"Sem conta":`No account`,"Na lista de espera":`On the waitlist`,Liberado:`Approved`,"A conta do Habblaud World só pode ser mexida no próprio computador, com o Habblaud em acesso local (bind 127.0.0.1) e aberto por http://localhost.":`The Habblaud World account can only be managed on the computer itself, with Busybits on local access (bind 127.0.0.1) and opened via http://localhost.`,"Já tenho conta":`I already have an account`,"Leve o seu escritório para uma cidade em pixel art: um prédio seu, aceso enquanto os agentes trabalham, e um personagem para passear e visitar os prédios de outras pessoas.":`Take your office to a pixel-art city: a building of your own, lit up while your agents work, and a character to stroll around and visit other people's buildings.`,"O acesso é liberado aos poucos: quem cria a conta entra numa lista de espera.":`Access opens gradually: new accounts join a waitlist.`,"O que sai do seu computador":`What leaves your computer`,"Quem visita o mundo vê, ao vivo, quantos projetos e agentes você está rodando e o que cada personagem está fazendo (trabalhando, esperando, à toa). Ninguém vê quais projetos são, o que os agentes fazem, nem quem você é: só o nickname e o avatar que você escolheu.":`People visiting the world see, live, how many projects and agents you are running and what each character is doing (working, waiting, idle). Nobody sees which projects they are, what the agents are doing, or who you are: only the nickname and the avatar you chose.`,"Sai:":`Sent:`,"o tema do escritório; um andar por sala aberta, com um código aleatório que muda todo dia; de cada agente, se é principal ou subagente, a ferramenta, o status, a aparência, um nome sorteado e a faixa de tarefas concluídas no dia; os tokens do prédio arredondados em faixas (dá para desligar); se você ligar, o fato de um agente ter compactado o contexto; a versão e o commit do Habblaud, com a marca de cópia modificada; e o idioma da interface, só para os e-mails.":`the office theme; one floor per open room, with a random code that changes every day; for each agent, whether it's a main agent or a subagent, its tool, status, appearance, a name drawn at random and the range of tasks completed that day; the building's tokens rounded into ranges (can be turned off); if you turn it on, the fact that an agent compacted its context; the Busybits version and build commit, with the modified-copy flag; and the interface language, only for emails.`,"Nunca sai:":`Never sent:`,"caminhos e nomes de projetos, títulos de sessão, comandos, mensagens, código, custo, a sua conta do Claude, o seu e-mail e o nome do computador.":`project paths and names, session titles, commands, messages, code, cost, your Claude account, your email and the computer's name.`,"Com os dados que saem não dá para saber quem você é nem em que trabalha.":`From the data that is sent, nobody can tell who you are or what you work on.`,"Os agentes trabalham sem você: prédio aceso não quer dizer que você está no computador. Se preferir, use o modo discreto ou feche o prédio a visitas.":`Agents work without you: a lit building doesn't mean you're at the computer. If you prefer, use discreet mode or close the building to visitors.`,"Ver a lista completa":`See the full list`,"Pelo menos 12 caracteres. Uma frase longa vale mais do que símbolos; senhas que já vazaram são recusadas.":`At least 12 characters. A long phrase beats symbols; passwords that have leaked are rejected.`,"Criando a conta…":`Creating account…`,"Digite um e-mail válido.":`Enter a valid email.`,"Para criar a conta, aceite os Termos de Uso e a Política de Privacidade.":`To create the account, accept the Terms of Use and the Privacy Policy.`,"O World só funciona se os prédios forem verdadeiros. Mandar dados inventados quebra os termos e bane a conta.":`World only works if the buildings are real. Sending made-up data breaks the terms and gets the account banned.`,"Li e aceito os {0} e a {1} do Habblaud World.":`I have read and accept the {0} and the {1} of Habblaud World.`,"Termos de Uso":`Terms of Use`,"Política de Privacidade":`Privacy Policy`,"Entrando…":`Signing in…`,"Digite a senha.":`Enter your password.`,"Esqueci a senha":`Forgot password`,"Entrar na conta":`Sign in to your account`,"Ainda não tem conta?":`Don't have an account yet?`,"Demonstração: o código é {0}.":`Demo: the code is {0}.`,"Reenviar código":`Resend code`,"Confirmar e-mail":`Confirm email`,"Conferindo…":`Checking…`,"Digite os 6 dígitos do código.":`Enter the 6 digits of the code.`,"Confirmar o e-mail":`Confirm your email`,"Mandamos um código de 6 dígitos para {0}. Ele vale por 10 minutos.":`We sent a 6-digit code to {0}. It's valid for 10 minutes.`,"Não chegou? Confira o spam ou peça outro. Se este e-mail já tinha conta, a mensagem avisa: aí é só entrar com a senha.":`Didn't get it? Check your spam folder or ask for another one. If this email already had an account, the message says so: just sign in with your password.`,"Usar outro e-mail":`Use another email`,"Mandar código":`Send code`,"Mandando…":`Sending…`,"Digite o e-mail da conta. Se ele estiver cadastrado, chega um código para criar uma senha nova.":`Enter the account's email. If it is registered, you'll get a code to create a new password.`,"Senha nova":`New password`,"Trocar a senha":`Change password`,"Trocando…":`Changing…`,"Trocar a senha desconecta todos os dispositivos da conta.":`Changing the password signs out every device on the account.`,"Se {0} tiver conta, chegou um código de 6 dígitos. Digite o código e a senha nova.":`If {0} has an account, a 6-digit code is on its way. Enter the code and the new password.`,"Acesso liberado!":`Access granted!`,"Você está na lista de espera. Estamos liberando o acesso aos poucos e avisamos por e-mail quando chegar a sua vez.":`You're on the waitlist. We're opening access gradually and will let you know by email when it's your turn.`,"Seu prédio vai aparecer aqui":`Your building will show up here`,"país escondido":`country hidden`,"Crie o seu personagem para entrar no mundo.":`Create your character to enter the world.`,"Enquanto espera, já dá para criar o seu personagem.":`While you wait, you can already create your character.`,"Criar meu personagem":`Create my character`,Discreto:`Discreet`,"Ao vivo":`Live`,"fechado a visitas":`closed to visitors`,"Visibilidade do prédio":`Building visibility`,Dispositivos:`Devices`,"{0} de 3":`{0} of 3`,"Último problema com o mundo: {0}":`Last problem with the world: {0}`,"Conta: {0}":`Account: {0}`,"Sair da conta":`Sign out`,"Este computador deixa de entrar no mundo; a conta e o personagem continuam.":`This computer stops joining the world; your account and character stay.`,"Confirmar: sair da conta":`Confirm: sign out`,"Dica visual":`Visual hint`,Feminina:`Feminine`,Masculina:`Masculine`,"Muda detalhes do rosto e o sorteio de cabelo e roupa; tudo dá para trocar nas peças abaixo.":`Changes face details and the random pick of hair and clothes; you can change everything in the pieces below.`,"Já são 3 traços: desmarque um para trocar.":`That's 3 traits already: unselect one to swap.`,"Não combina com {0}.":`Doesn't go with {0}.`,"Frase de apresentação":`Intro phrase`,"Escolha uma frase…":`Pick a phrase…`,"Salvar personagem":`Save character`,"Salvando…":`Saving…`,Personalidade:`Personality`,"Escolha 2 ou 3 traços de personalidade.":`Pick 2 or 3 personality traits.`,"Escolha uma frase de apresentação.":`Pick an intro phrase.`,"Nome de jogador":`Player name`,"De 3 a 20 caracteres: letras de um só alfabeto, números, espaço, _ - e . É o seu nome no mundo e não pode repetir o de ninguém.":`3 to 20 characters: letters from a single alphabet, numbers, space, _ - and . It's your name in the world and can't match anyone else's.`,"Dá para trocar uma vez a cada 30 dias.":`It can be changed once every 30 days.`,"3 a 20 caracteres; é o nome do seu personagem e fica reservado para você, mesmo na lista de espera. Único no mundo.":`3 to 20 characters; it's your character's name and stays reserved for you, even on the waitlist. Unique in the world.`,"Esse nome já está em uso. Escolha outro.":`That name is already taken. Pick another one.`,"Seu nome de jogador: {0} (reservado)":`Your player name: {0} (reserved)`,"Escolhido no cadastro. Dá para trocar depois, uma vez a cada 30 dias.":`Chosen at sign-up. You can change it later, once every 30 days.`,"Desta vez o nome novo entra na hora, sem esperar os 30 dias.":`This time the new name applies right away, without waiting 30 days.`,"Escolha um nome novo":`Choose a new name`,"Escolher nome novo":`Choose new name`,"Escolha um nome novo: a moderação trocou o seu nome de jogador. O nome novo entra na hora, sem esperar os 30 dias.":`Choose a new name: the moderators changed your player name. The new name applies right away, without waiting 30 days.`,"Escolha 2 ou 3 traços. Os que não combinam com os já escolhidos ficam apagados.":`Pick 2 or 3 traits. The ones that don't go with those already picked are dimmed.`,"Aparece no seu perfil, traduzida para quem lê. No mundo não há texto livre além do nome.":`Shows on your profile, translated for whoever reads it. Besides your name, there's no free text in the world.`,"Criar personagem":`Create character`,"Disponível depois de criar o personagem.":`Available after you create your character.`,"Modo do prédio":`Building mode`,"Ao vivo: andares, contadores e o que cada personagem está fazendo, em tempo real. Discreto: só aceso ou apagado e o número de andares.":`Live: floors, counters and what each character is doing, in real time. Discreet: only lit or dark and the number of floors.`,"País: escondido (aparece uma bandeira neutra).":`Country: hidden (a neutral flag shows).`,"País visto na última conexão: {0}.":`Country seen on the last connection: {0}.`,"País: aparece depois da primeira conexão com o mundo.":`Country: shows after the first connection to the world.`,"As mudanças valem na hora.":`Changes apply right away.`,"Até 3 por conta. Revogar desconecta o dispositivo na hora; para voltar, ele entra de novo com a senha.":`Up to 3 per account. Revoking signs the device out right away; to come back, it signs in again with the password.`,"entrou em {0}":`signed in on {0}`,"último acesso {0}":`last seen {0}`,"este computador":`this computer`,Revogar:`Revoke`,"Revogar {0}":`Revoke {0}`,Confirmar:`Confirm`,"A senha precisa ter pelo menos 12 caracteres.":`The password needs at least 12 characters.`,"A senha pode ter no máximo 128 caracteres.":`The password can have at most 128 characters.`,"A senha não pode ser o seu e-mail.":`The password can't be your email.`,'A senha não pode ser só uma repetição (como "aaaaaaaaaaaa").':`The password can't be just a repetition (like "aaaaaaaaaaaa").`,"O nome precisa ter de 3 a 20 caracteres.":`The name needs 3 to 20 characters.`,"Use só letras, números, espaço, _ - e . no nome.":`Use only letters, numbers, space, _ - and . in the name.`,"Use letras de um só alfabeto no nome.":`Use letters from a single alphabet in the name.`,"Tire do nome os caracteres invisíveis e os espaços especiais.":`Remove invisible characters and special spaces from the name.`,"O nome precisa ter pelo menos uma letra.":`The name needs at least one letter.`,"Este nome é reservado. Escolha outro.":`This name is reserved. Pick another one.`,"Código errado ou vencido. Confira o e-mail ou peça outro código.":`Wrong or expired code. Check the email or ask for another code.`,"E-mail ou senha não conferem.":`Email or password don't match.`,"Falta confirmar o e-mail: mandamos um código novo.":`Your email still needs confirming: we sent a new code.`,"Esta conta foi banida do Habblaud World. Para recorrer, responda ao e-mail do banimento.":`This account was banned from Habblaud World. To appeal, reply to the ban email.`,"Este nome já está em uso no mundo. Escolha outro.":`This name is already taken in the world. Pick another one.`,"Nome inválido: de 3 a 20 caracteres, com letras de um só alfabeto, números, espaço, _ - e .":`Invalid name: 3 to 20 characters, with letters from a single alphabet, numbers, space, _ - and .`,"Este nome não é permitido. Escolha outro.":`This name isn't allowed. Pick another one.`,"O Habblaud World não está ligado neste Habblaud (HABBLAUD_WORLD_URL recusada; veja o log do servidor).":`Habblaud World isn't turned on in this Busybits (HABBLAUD_WORLD_URL was rejected; see the server log).`,"Muitas tentativas seguidas. Espere alguns minutos e tente de novo.":`Too many attempts in a row. Wait a few minutes and try again.`,"O servidor do Habblaud World não respondeu. Tente de novo em instantes.":`The Habblaud World server didn't respond. Try again in a moment.`,"A conta do World só pode ser mexida pelo próprio computador, com o Habblaud aberto em localhost.":`The World account can only be managed from the computer itself, with Busybits opened on localhost.`,"Esta conta está suspensa no Habblaud World por enquanto.":`This account is suspended from Habblaud World for now.`,"A sessão do Habblaud World neste computador terminou. Entre de novo.":`The Habblaud World session on this computer has ended. Sign in again.`,"O nome só pode ser trocado uma vez a cada 30 dias.":`The name can only be changed once every 30 days.`,"A senha precisa ter de 12 a 128 caracteres.":`The password must be 12 to 128 characters long.`,"Senha fraca: não use o e-mail, o nome de jogador nem só repetição.":`Weak password: don't use your email, your player name or just repetition.`,"Esta senha aparece em vazamentos de dados conhecidos. Escolha outra.":`This password appears in known data breaches. Choose another one.`,"E-mail inválido. Confira o endereço.":`Invalid email. Check the address.`,"A verificação anti-robô não passou. Tente de novo em instantes.":`The anti-bot check didn't pass. Try again in a moment.`,"Esta conta já tem 3 computadores; revogue um em Dispositivos.":`This account already has 3 computers; revoke one in Devices.`,"Crie o personagem primeiro.":`Create your character first.`,"O Habblaud World está em manutenção. Tente de novo mais tarde.":`Habblaud World is under maintenance. Try again later.`,"O servidor do mundo teve um erro; tente de novo.":`The world server had an error; try again.`,"Este dispositivo não está mais na conta.":`This device is no longer on the account.`,"O servidor do Habblaud World não encontrou o que foi pedido.":`The Habblaud World server couldn't find what was requested.`,"O pedido saiu num formato que o servidor não aceita. Atualize o Habblaud e tente de novo.":`The request was sent in a format the server doesn't accept. Update Busybits and try again.`,"O servidor do Habblaud World respondeu algo inesperado. Tente de novo em instantes.":`The Habblaud World server sent an unexpected response. Try again in a moment.`,"Não deu para gravar a sessão neste computador: ela vale só até o Habblaud reiniciar.":`Couldn't save the session on this computer: it only lasts until Busybits restarts.`,"A conta do World só pode ser mexida com o Habblaud acessível apenas pelo próprio computador (acesso local, bind 127.0.0.1).":`The World account can only be managed when Busybits is reachable only from this computer (local access, bind 127.0.0.1).`,"O servidor recusou o e-mail ou a senha. A senha precisa ter de 12 a 128 caracteres e não pode estar numa lista de senhas vazadas.":`The server rejected the email or the password. The password needs 12 to 128 characters and can't be on a list of leaked passwords.`,"O servidor recusou o personagem. Confira o nome, os traços (2 ou 3) e a frase de apresentação.":`The server rejected the character. Check the name, the traits (2 or 3) and the intro phrase.`,"O servidor recusou as opções de visibilidade.":`The server rejected the visibility options.`,"O servidor recusou o pedido. Confira os dados e tente de novo.":`The server rejected the request. Check the details and try again.`,"Algo deu errado. Tente de novo em instantes.":`Something went wrong. Try again in a moment.`,"Projeto Ipê":`Project Ipê`,"Projeto Jacarandá":`Project Jacaranda`,"Projeto Jatobá":`Project Jatobá`,"Projeto Peroba":`Project Peroba`,"Projeto Cedro":`Project Cedar`,"Projeto Aroeira":`Project Aroeira`,"Projeto Araucária":`Project Araucaria`,"Projeto Buriti":`Project Buriti`,"Projeto Carnaúba":`Project Carnauba`,"Projeto Figueira":`Project Fig Tree`,"Projeto Oliveira":`Project Olive Tree`,"Projeto Carvalho":`Project Oak`,"Projeto Salgueiro":`Project Willow`,"Projeto Sequoia":`Project Sequoia`,"Projeto Baobá":`Project Baobab`,"Projeto Acácia":`Project Acacia`,"Projeto Magnólia":`Project Magnolia`,"Projeto Cerejeira":`Project Cherry Tree`,"Projeto Pinheiro":`Project Pine`,"Projeto Palmeira":`Project Palm`,"Projeto Jade":`Project Jade`,"Projeto Âmbar":`Project Amber`,"Projeto Ametista":`Project Amethyst`,"Projeto Quartzo":`Project Quartz`,"Projeto Topázio":`Project Topaz`,"Projeto Turmalina":`Project Tourmaline`,"Projeto Ágata":`Project Agate`,"Projeto Ônix":`Project Onyx`,"Projeto Opala":`Project Opal`,"Projeto Safira":`Project Sapphire`,"Projeto Rubi":`Project Ruby`,"Projeto Esmeralda":`Project Emerald`,"Projeto Granada":`Project Garnet`,"Projeto Jaspe":`Project Jasper`,"Projeto Malaquita":`Project Malachite`,"Projeto Obsidiana":`Project Obsidian`,"Projeto Turquesa":`Project Turquoise`,"Projeto Citrino":`Project Citrine`,"Projeto Peridoto":`Project Peridot`,"Projeto Lápis-lazúli":`Project Lapis Lazuli`,"Projeto Aurora":`Project Aurora`,"Projeto Órion":`Project Orion`,"Projeto Lira":`Project Lyra`,"Projeto Cisne":`Project Cygnus`,"Projeto Dragão":`Project Draco`,"Projeto Andrômeda":`Project Andromeda`,"Projeto Cassiopeia":`Project Cassiopeia`,"Projeto Perseu":`Project Perseus`,"Projeto Fênix":`Project Phoenix`,"Projeto Hidra":`Project Hydra`,"Projeto Águia":`Project Aquila`,"Projeto Quilha":`Project Carina`,"Projeto Vela":`Project Vela`,"Projeto Centauro":`Project Centaurus`,"Projeto Cruzeiro do Sul":`Project Crux`,"Projeto Pavão":`Project Pavo`,"Projeto Pomba":`Project Columba`,"Projeto Cocheiro":`Project Auriga`,"Projeto Lobo":`Project Lupus`,"Projeto Tucano":`Project Tucana`,"Habblaud World: prédio conectado.":`Habblaud World: building connected.`,"Habblaud World: o servidor recusou o pacote do prédio ({0}).":`Habblaud World: the server rejected the building packet ({0}).`,"Habblaud World: esta versão do Habblaud não entra mais no mundo; atualize para o prédio voltar.":`Habblaud World: this Busybits version can no longer join the world; update it to bring the building back.`,"Habblaud World: o servidor encerrou a conexão do prédio ({0}).":`Habblaud World: the server closed the building connection ({0}).`,"Habblaud World: sem conexão com o servidor do mundo; tentando de novo.":`Habblaud World: no connection to the world server; trying again.`,"Habblaud World: o prédio passou dos limites do mundo; {0} andar(es) e {1} agente(s) ficaram de fora.":`Habblaud World: the building went over the world's limits; {0} floor(s) and {1} agent(s) were left out.`,"Não foi possível gravar {0} ({1}).":`Couldn't write {0} ({1}).`,'esperado {theme: "auto", "none", "halloween" ou "christmas"}':`expected {theme: "auto", "none", "halloween" or "christmas"}`,"Habblaud World: o servidor do mundo não confirmou a pausa ou a retomada do prédio ({0}).":`Habblaud World: the world server didn't confirm pausing or resuming the building ({0}).`,"Seu prédio":`Your building`,"Seu prédio agora":`Your building now`,"Sem personagem":`No character`,Pausado:`Paused`,Retomar:`Resume`,"1 andar":`1 floor`,"{0} andares":`{0} floors`,"1 agente":`1 agent`,"Última remessa: {0}":`Last upload: {0}`,"Nenhuma remessa ainda":`No uploads yet`,"Aceso no mundo: um andar por sala aberta e cada personagem no status de agora. Os tokens, se você deixar, aparecem só em faixas, no medidor da fachada.":`Lit in the world: one floor per open room and each character in its current status. Tokens, if you allow it, show up only as ranges, on the facade meter.`,"O prédio acende com a primeira remessa.":`The building lights up with the first upload.`,"Sem conexão com o mundo agora: o Habblaud tenta de novo sozinho. Com 2 minutos sem notícias, o prédio apaga.":`No connection to the world right now: Busybits keeps retrying on its own. After 2 minutes without news, the building goes dark.`,"Pausado: seu prédio está apagado, mas você pode andar pela cidade. Nada do escritório sai deste computador.":`Paused: your building is dark, but you can walk around the city. Nothing from the office leaves this computer.`,"Crie o seu personagem: o prédio entra no mundo junto com ele.":`Create your character: the building joins the world along with it.`,"Pausar interrompe o envio na hora e apaga o prédio no mundo.":`Pausing stops sending right away and turns the building off in the world.`,"Retomar volta a enviar e acende o prédio.":`Resuming starts sending again and lights the building up.`,"Pausado por 30 dias, o prédio some do mapa e, 30 dias depois, é retirado; retomar antes disso traz de volta, no mesmo lote.":`After 30 days paused, the building disappears from the map and is removed 30 days later; resuming before that brings it back, on the same lot.`,"O mundo recusou a última remessa.":`The world rejected the last upload.`,"O pacote saiu fora do formato do protocolo. Atualize o Habblaud.":`The packet didn't match the protocol format. Update Busybits.`,"O escritório passou dos limites do mundo (64 andares, 64 agentes por andar, 256 agentes ou 64 KB).":`The office went over the world's limits (64 floors, 64 agents per floor, 256 agents or 64 KB).`,"Um nome de personagem não está na lista de nomes do mundo.":`A character name isn't on the world's list of names.`,"Uma peça de aparência está fora das paletas do editor.":`An appearance part is outside the editor's palettes.`,"Um código de andar ou de agente está fora do formato.":`A floor or agent code isn't in the right format.`,"Remessas demais em pouco tempo (o limite é 12 por minuto). A próxima vai normalmente.":`Too many uploads in a short time (the limit is 12 per minute). The next one goes through normally.`,"Um motivo que esta versão do Habblaud não conhece.":`A reason this version of Busybits doesn't know.`,"Ver o que foi enviado":`See what was sent`,"O que foi enviado":`What was sent`,"Nada saiu deste computador ainda: o prédio entra no mundo com a primeira remessa.":`Nothing has left this computer yet: the building joins the world with the first upload.`,"O que pode sair e o que nunca sai":`What can leave and what never does`,Copiar:`Copy`,"Não deu para copiar":`Couldn't copy`,"Enviada {0} ({1})":`Sent {0} ({1})`,"1 byte":`1 byte`,"{0} bytes":`{0} bytes`,"Sem resposta do mundo ainda.":`No reply from the world yet.`,"Aceita pelo mundo.":`Accepted by the world.`,"Recusada pelo mundo.":`Rejected by the world.`,"Isto é tudo o que saiu do seu computador. Nenhum caminho, nome de projeto, texto ou horário do escritório.":`This is everything that left your computer. No paths, project names, text or office times.`,"Pacote enviado (JSON)":`Sent packet (JSON)`,"O tema também vale para o seu prédio no Habblaud World.":`The theme also applies to your building in Habblaud World.`,"Não deu para mandar o tema para o prédio: {0}":`Couldn't send the theme to the building: {0}`,"no mundo":`in the world`,pausado:`paused`,"Seu prédio está aceso no Habblaud World: {0} e {1}. Clique para abrir o Habblaud World.":`Your building is lit in Habblaud World: {0} and {1}. Click to open Habblaud World.`,"Pausado: seu prédio está apagado, mas você pode andar pela cidade. Nada do escritório sai deste computador; clique para retomar.":`Paused: your building is dark, but you can walk around the city. Nothing from the office leaves this computer; click to resume.`,"Sem conexão com o Habblaud World agora; o Habblaud tenta de novo sozinho. Clique para ver o seu prédio.":`No connection to Habblaud World right now; Busybits keeps retrying on its own. Click to see your building.`,"Um erro no servidor do mundo. A próxima remessa tenta de novo.":`An error on the world server. The next upload tries again.`,"Habblaud World: o servidor do mundo não confirmou a saída do prédio ({0}).":`Habblaud World: the world server didn't confirm the building leaving the world ({0}).`,"A conta voltou para a lista de espera: o prédio sai do mundo até o acesso ser liberado de novo.":`The account went back to the waiting list: the building leaves the world until access is granted again.`,"A sua conta conectou o prédio em outro computador, e este parou de enviar.":`Your account connected the building on another computer, and this one stopped sending.`,"Atualize o Habblaud":`Update Busybits`,"Conectado em outro computador":`Connected on another computer`,"Confirmar: sair do mundo":`Confirm: leave the world`,"Conta banida":`Account banned`,"Conta suspensa":`Account suspended`,"Entre de novo":`Sign in again`,"Esta conta está suspensa no Habblaud World: o prédio fica apagado e nada sai deste computador.":`This account is suspended in Habblaud World: the building stays dark and nothing leaves this computer.`,"Esta versão do Habblaud não entra mais no mundo. Atualize para o prédio voltar a acender.":`This version of Busybits can no longer join the world. Update it to light the building up again.`,"Fora do mundo":`Out of the world`,"O Habblaud World baniu esta conta: o prédio saiu do mundo e nada mais sai deste computador.":`Habblaud World banned this account: the building left the world and nothing else leaves this computer.`,"O mundo contou {0}.":`The world counted {0}.`,"O mundo não encontrou o seu personagem: crie de novo para o prédio voltar.":`The world couldn't find your character: create it again to bring the building back.`,"O mundo recebeu os mesmos {0}.":`The world received the same {0}.`,"O prédio volta a subir daqui, e o outro computador para de enviar.":`The building goes back to uploading from here, and the other computer stops sending.`,"O servidor do mundo não reconheceu este computador: entre de novo na conta.":`The world server didn't recognize this computer: sign in to the account again.`,parado:`stopped`,"Pausar apaga o prédio e guarda o lote: retomar traz de volta, no mesmo lugar. Sair do mundo retira o prédio na hora e libera o lote; a conta e o personagem continuam, e voltar depois cria um prédio novo, em outro lote.":`Pausing turns the building off and keeps the lot: resuming brings it back, in the same place. Leaving the world removes the building right away and frees the lot; the account and the character stay, and coming back later creates a new building, on another lot.`,"Sair do mundo":`Leave the world`,"Se a suspensão já acabou, o prédio volta a acender.":`If the suspension is over, the building lights up again.`,"Seu prédio parou de subir ao Habblaud World. Clique para ver o motivo.":`Your building stopped uploading to Habblaud World. Click to see why.`,"Trazer para este computador":`Bring it to this computer`,"Você saiu do mundo: o prédio foi retirado e o lote, liberado. Dá para andar pela cidade; nada do escritório sai deste computador.":`You left the world: the building was removed and the lot freed. You can still walk around the city; nothing from the office leaves this computer.`,"Voltar ao mundo":`Back to the world`,"Voltar cria um prédio novo, em outro lote; a conta e o personagem são os mesmos.":`Coming back creates a new building, on another lot; the account and the character are the same.`,"A cidade já está aberta em outras abas do Habblaud. Feche uma delas para abrir aqui.":`The city is already open in other Busybits tabs. Close one of them to open it here.`,"A cena Mundo perdeu a conexão com o Habblaud. Abra a cidade de novo.":`The World scene lost its connection to Busybits. Open the city again.`,"A conta saiu do mundo (por este ou por outro computador): nada mais sai até você voltar ao mundo.":`The account left the world (from this or another computer): nothing else is sent until you come back to the world.`,"a cena Mundo só abre pela própria página do Habblaud":`the World scene only opens from Busybits's own page`,'Habblaud World: a conta saiu do mundo; o prédio só volta com "Voltar ao mundo".':`Habblaud World: the account left the world; the building only comes back with "Back to the world".`,"Habblaud World: o servidor do mundo não confirmou a volta ao mundo ({0}).":`Habblaud World: the world server didn't confirm the return to the world ({0}).`,"Você está na cidade do Habblaud World. Esc volta ao escritório.":`You're in the Habblaud World city. Esc goes back to the office.`,"De volta ao escritório.":`Back at the office.`,Mundo:`World`,"Voltar ao escritório (Esc)":`Back to the office (Esc)`,"Mundo: andar pela cidade do Habblaud World":`World: walk around the Habblaud World city`,"só o térreo":`ground floor only`,"1 curtida":`1 like`,"{0} curtidas":`{0} likes`,"Luzes acesas":`Lights on`,"Luzes apagadas":`Lights off`,Cartão:`Card`,"Agentes trabalhando":`Agents working`,"Agentes esperando o dono":`Agents waiting for the owner`,esperando:`waiting`,"Agentes à toa":`Idle agents`,"à toa":`idle`,"Modo discreto: o dono não mostra os agentes.":`Discreet mode: the owner doesn't show the agents.`,"No mundo desde {0}":`In the world since {0}`,"{0} recebidas":`{0} received`,"Ver o prédio":`See the building`,"Prédio longe daqui":`Building far from here`,"Ainda sem prédio":`No building yet`,Fechado:`Closed`,"Entrando na cidade…":`Entering the city…`,andar:`walk`,correr:`run`,clique:`click`,"ir até lá":`go there`,escritório:`office`,"Chegue perto da porta de um prédio e aperte E.":`Get close to a building's door and press E.`,"Devagar: o mundo pediu um tempo entre as ações.":`Slow down: the world asked for a pause between actions.`,"Aviso do Habblaud World.":`Notice from Habblaud World.`,"Minimapa: clique para levar a câmera até lá":`Minimap: click to move the camera there`,"Sem conexão com o Habblaud World agora; o Habblaud tenta de novo sozinho.":`No connection to Habblaud World right now; Busybits tries again on its own.`,"Essa pessoa não está mais por perto.":`That person isn't nearby anymore.`,"Você ficou um bom tempo parado e saiu da rua: ande para voltar.":`You stood still for a long time and left the street: walk to come back.`,"A área está cheia: só os jogadores mais perto aparecem.":`The area is full: only the closest players show up.`,"Você ficou um tempo parado.":`You stood still for a while.`,"O Habblaud World vai reiniciar: a conexão cai e volta sozinha.":`Habblaud World is restarting: the connection drops and comes back on its own.`,'Sua conta saiu do mundo: o prédio volta com "Voltar ao mundo", em Configurações.':`Your account left the world: the building comes back with "Back to the world", in Settings.`,"Entrar (E)":`Enter (E)`,entrar:`enter`,"Sair do prédio":`Leave`,"Ver como os outros veem":`See it as others do`,"Entrar no seu prédio pela cidade e ver o que quem visita vê (sem nada do escritório real)":`Enter your building through the city and see what visitors see (nothing from your real office)`,"Avisar quando alguém visitar":`Notify me when someone visits`,"Um aviso quando o primeiro visitante entra no seu prédio. Você vê só quantos estão lá dentro, nunca quem.":`A notice when the first visitor enters your building. You only see how many are inside, never who.`,"Alguém entrou no seu prédio no Habblaud World.":`Someone entered your building in Habblaud World.`,"1 visitante agora":`1 visitor now`,"{0} visitantes agora":`{0} visitors now`,"Este prédio não está no mundo agora.":`This building isn't in the world right now.`,"O prédio saiu do mundo: você voltou para a rua.":`The building left the world: you're back on the street.`,"Chegue mais perto da porta para entrar.":`Get closer to the door to go in.`,"O prédio fechou a visitas: você voltou para a rua.":`The building closed to visitors: you're back on the street.`,"Este prédio está fechado a visitas.":`This building is closed to visitors.`,"Você não pode mais ficar neste prédio: voltou para a rua.":`You can't stay in this building anymore: you're back on the street.`,"Você não pode entrar neste prédio.":`You can't enter this building.`,"O prédio está lotado (20 visitantes). Tente daqui a pouco.":`The building is full (20 visitors). Try again in a bit.`,"Esperando o dono":`Waiting for the owner`,visitante:`visitor`,Visitante:`Visitor`,Curtir:`Like`,"Sair do prédio (Esc)":`Leave the building (Esc)`,Visita:`Visit`,"Salas do prédio":`Building rooms`,"Só o nome, o papel, a ferramenta e o status de cada agente: o resto do escritório não sai do computador do dono.":`Only each agent's name, role, tool and status: the rest of the office never leaves the owner's computer.`,"Sair pelo elevador":`Leave by the elevator`,elevador:`elevator`,sair:`leave`,"Saindo do prédio…":`Leaving the building…`,apagado:`lights off`,discreto:`discreet`,"modo discreto":`discreet mode`,"Seu prédio, como os outros veem":`Your building, as others see it`,"Prédio de {0}":`{0}'s building`,"esperando o dono":`waiting for the owner`,"de olho no terminal":`watching the terminal`,"Prédio apagado: o dono pausou ou não está com o Habblaud aberto. As salas ficam escuras e vazias.":`Lights off: the owner paused or doesn't have Busybits open. The rooms are dark and empty.`,"Modo discreto: o dono não mostra os agentes. As salas aparecem vazias, com a luz acesa.":`Discreet mode: the owner doesn't show the agents. The rooms look empty, with the lights on.`,"O mundo está em manutenção; tentamos de novo em instantes.":`The world is under maintenance; we'll try again in a moment.`,"Conta excluída":`Account deleted`,"A conta do Habblaud World foi excluída: o prédio e o perfil saíram do mundo e nada mais sai deste computador.":`The Habblaud World account was deleted: the building and the profile left the world, and nothing else leaves this computer.`,"Habblaud World: desligado (HABBLAUD_WORLD={0}).":`Habblaud World: off (HABBLAUD_WORLD={0}).`,"Habblaud World: desligado (padrão; HABBLAUD_WORLD=1 liga).":`Habblaud World: off (default; HABBLAUD_WORLD=1 turns it on).`,"Habblaud World: ligado: {0}":`Habblaud World: on: {0}`,"Habblaud World: ligado: {0} (padrão)":`Habblaud World: on: {0} (default)`,"HABBLAUD_WORLD_URL recusada":`HABBLAUD_WORLD_URL rejected`,"Habblaud World: desligado ({0}).":`Habblaud World: off ({0}).`,"A conta do Habblaud World foi excluída. O prédio e o perfil saíram do mundo na hora; o resto é apagado do banco em 7 dias e dos backups em até 30.":`The Habblaud World account was deleted. The building and the profile left the world right away; the rest is deleted from the database within 7 days and from backups within 30.`,"Habblaud World: conta excluída; a sessão e o world.json foram apagados deste computador.":`Habblaud World: account deleted; the session and world.json were removed from this computer.`,"os dados da conta só saem pela própria página do Habblaud":`the account data only leaves through Busybits's own page`,"a conta, o personagem, os likes dados e recebidos, os bloqueios, as denúncias feitas e os dispositivos são apagados do banco.":`the account, the character, the likes given and received, the blocks, the reports you made and the devices are deleted from the database.`,"Abre um e-mail para {0}: conte o que aconteceu, e uma pessoa revê o caso.":`Opens an e-mail to {0}: tell us what happened, and a person reviews the case.`,"Abre um e-mail para {0}: se for engano, uma pessoa revê os números e tira o selo.":`Opens an e-mail to {0}: if it's a mistake, a person reviews the numbers and removes the badge.`,"Avisar por e-mail antes de retirar meu prédio por inatividade":`E-mail me before my building is removed for inactivity`,"Baixar meus dados":`Download my data`,"Conta e dados":`Account and data`,"Contestar por e-mail":`Dispute by e-mail`,"Dá para baixar os dados uma vez por dia. Tente de novo amanhã.":`You can download your data once a day. Try again tomorrow.`,"Dúvidas ou pedidos sobre os seus dados: {0}.":`Questions or requests about your data: {0}.`,"Em 7 dias:":`Within 7 days:`,"Em até 30 dias:":`Within 30 days:`,"Em manutenção":`Under maintenance`,"Excluindo…":`Deleting…`,"Excluir a conta tira você do Habblaud World:":`Deleting the account takes you out of Habblaud World:`,"Excluir a conta":`Delete the account`,"Excluir conta":`Delete account`,"Excluir conta…":`Delete account…`,"Mandamos um código de 6 dígitos para {0}. Digite o código para excluir a conta.":`We sent a 6-digit code to {0}. Enter the code to delete the account.`,"Mandar o código":`Send the code`,"Na hora:":`Right away:`,"Não verificado":`Unverified`,"O aviso de inatividade fica disponível depois de criar o personagem.":`The inactivity warning becomes available after you create the character.`,'O mundo marcou o seu prédio como "não verificado": os números pareceram fora do normal e estão em revisão. Ele continua no mundo, mas fora de placares e destaques.':`The world marked your building as "unverified": its numbers looked unusual and are under review. It stays in the world, but out of leaderboards and highlights.`,"o prédio e o perfil somem do mundo, e este computador sai da conta.":`the building and the profile disappear from the world, and this computer signs out of the account.`,"Os números deste prédio pareceram fora do normal e estão em revisão; enquanto isso, ele fica fora de placares e destaques.":`This building's numbers looked unusual and are under review; meanwhile, it stays out of leaderboards and highlights.`,"Para confirmar, mandamos um código de 6 dígitos para o e-mail da conta ({0}).":`To confirm, we send a 6-digit code to the account's e-mail ({0}).`,"Pronto: o arquivo {0} foi para a pasta de downloads.":`Done: the file {0} went to your downloads folder.`,"Recorrer por e-mail":`Appeal by e-mail`,"Se quiser guardar uma cópia, baixe os seus dados antes.":`If you want to keep a copy, download your data first.`,"Sem notícias deste Habblaud por 7 dias, o prédio some do mapa e, 30 dias depois, é retirado. O e-mail chega 3 dias antes da retirada.":`With no word from this Busybits for 7 days, the building disappears from the map and, 30 days later, is removed. The e-mail arrives 3 days before the removal.`,"Seus dados":`Your data`,"somem também dos backups.":`they also disappear from the backups.`,"Tem certeza? O prédio e o perfil saem do mundo assim que você digitar o código.":`Are you sure? The building and the profile leave the world as soon as you enter the code.`,"Um arquivo JSON com o que o Habblaud World guarda da sua conta: e-mail, datas, personagem, visibilidade, dispositivos, prédio, likes dados, bloqueios e denúncias feitas. Dá para baixar uma vez por dia.":`A JSON file with what Habblaud World keeps about your account: e-mail, dates, character, visibility, devices, building, likes given, blocks and reports you made. You can download it once a day.`,"O pacote contradiz o anterior de um jeito que o Habblaud não produz: o mundo o descartou, e o prédio fica com o último aceito. As próximas remessas vão normalmente.":`The packet contradicts the previous one in a way Busybits doesn't produce: the world discarded it, and the building keeps the last accepted one. The next uploads go out normally.`,"Olá!":`Hello!`,"Prédio bonito!":`Nice building!`,"Bora um café?":`Coffee?`,"Parabéns pela entrega!":`Congrats on shipping!`,"Prazer!":`Nice to meet you!`,"Até mais!":`See you!`,"Valeu!":`Thanks!`,"Boa sorte!":`Good luck!`,"Oi, oi!":`Hey there!`,"Mandou bem!":`Well done!`,"Passei por aqui":`I was here`,"Prédio lindo":`Lovely building`,"Continue assim":`Keep it up`,"Fica o café":`Have a coffee`,"Um aceno":`A wave`,"Nota 10":`Top marks`,"Com carinho":`With love`,"Decolando!":`Taking off!`,"Nome ofensivo":`Offensive name`,"Fingindo ser outra pessoa":`Pretending to be someone else`,Perseguição:`Harassment`,"Spam de cumprimentos":`Greeting spam`,"Prédio falso":`Fake building`,"Outro motivo":`Other reason`,"{0} horas de agentes trabalhando":`{0} hours of agents working`,"até 100 mil tokens":`up to 100 thousand tokens`,"até 1 milhão de tokens":`up to 1 million tokens`,"até 10 milhões de tokens":`up to 10 million tokens`,"até 100 milhões de tokens":`up to 100 million tokens`,"mais de 100 milhões de tokens":`over 100 million tokens`,"quase nada de tokens":`almost no tokens`,"sem conexão com o servidor do mundo agora":`no connection to the world server right now`,"entre na conta do Habblaud World":`sign in to your Habblaud World account`,"esperado {playerId}":`expected {playerId}`,"1 visita":`1 visit`,"{0} visitas":`{0} visits`,"1 like":`1 like`,"{0} likes":`{0} likes`,"1 carimbo":`1 stamp`,"{0} carimbos":`{0} stamps`,visita:`visit`,visitas:`visits`,like:`like`,likes:`likes`,carimbo:`stamp`,carimbos:`stamps`,"Enquanto você estava fora: {0}, {1} e {2}.":`While you were away: {0}, {1} and {2}.`,"❤️ {0} hoje":`❤️ {0} today`,"Seu prédio ganhou 1 like hoje.":`Your building got 1 like today.`,"Seu prédio ganhou {0} likes hoje.":`Your building got {0} likes today.`,"Carimbos na portaria":`Stamps at the front desk`,"Código do prédio":`Building code`,'Mande a um amigo: na cidade, "Ir para" leva direto à sua porta.':`Send it to a friend: in the city, "Go to" takes them straight to your door.`,"Ok, vi":`Got it`,"Enquanto você estava fora":`While you were away`,"Ver o meu prédio":`See my building`,"Alguém bateu na porta do seu prédio.":`Someone knocked on your building's door.`,"Bateram {0} vezes na porta do seu prédio.":`Someone knocked {0} times on your building's door.`,Desbloquear:`Unblock`,"Desbloquear {0}":`Unblock {0}`,"{0} desbloqueado.":`{0} unblocked.`,"Ninguém bloqueado.":`Nobody blocked.`,"Quem você bloqueia não te vê e você não vê a pessoa: na rua, nos prédios, nos cumprimentos e nos carimbos. Para bloquear alguém, abra o cartão da pessoa na cidade.":`People you block don't see you and you don't see them: on the street, in buildings, in greetings and in stamps. To block someone, open their card in the city.`,"Avisar quando baterem na porta":`Let me know when someone knocks`,"Quem estiver na porta do seu prédio pode bater; o aviso chega aqui no Habblaud, sem o nome de quem bateu.":`Whoever is at your building's door can knock; the notice shows up here in Busybits, without the name of who knocked.`,Bloqueados:`Blocked`,"Sem conexão com o Habblaud World agora: desbloquear precisa do prédio aceso ou da cidade aberta.":`No connection to Habblaud World right now: unblocking needs your building lit or the city open.`,"Limite do dia atingido: amanhã tem mais.":`Daily limit reached: more tomorrow.`,"Você já fez isso hoje.":`You already did that today.`,"Bloqueio feito: vocês deixam de se ver.":`Blocked: you no longer see each other.`,"Carimbo deixado na portaria.":`Stamp left at the front desk.`,Cumprimentar:`Greet`,Cumprimentos:`Greetings`,"Meta batida!":`Goal reached!`,"{0} de {1} h":`{0} of {1} h`,"A cidade consumiu ≈ {0} esta semana":`The city used ≈ {0} this week`,"A soma aparece com 10 prédios ou mais.":`The total shows up with 10 buildings or more.`,"1 prédio aceso agora":`1 building lit now`,"{0} prédios acesos agora":`{0} buildings lit now`,Ir:`Go`,"Ir até a porta deste prédio":`Go to this building's door`,"Visitar um prédio aleatório":`Visit a random building`,Aleatório:`Random`,"Ir para um prédio pelo código":`Go to a building by its code`,"Ir para":`Go to`,"O código tem o formato HB-XXXX (letras e números, sem 0, O, 1, I, L e U).":`The code looks like HB-XXXX (letters and numbers, no 0, O, 1, I, L or U).`,"Ações perto de você":`Actions near you`,"Testar os fogos":`Test the fireworks`,curtir:`like`,cumprimentar:`greet`,bater:`knock`,"A cidade bateu a meta da semana: {0}!":`The city hit this week's goal: {0}!`,"A cidade bateu a meta da semana!":`The city hit this week's goal!`,Alguém:`Someone`,"{0}: {1} {2} — G para responder":`{0}: {1} {2} — G to reply`,"Chegue mais perto da porta para curtir (até 4 passos).":`Get closer to the door to like (up to 4 steps).`,"Você já deu os 50 likes de hoje. Amanhã tem mais!":`You've used today's 50 likes. More tomorrow!`,"Não dá para curtir o próprio prédio.":`You can't like your own building.`,"Este prédio não está mais aqui.":`This building isn't here anymore.`,"Devagar com os likes: espere um pouquinho.":`Easy on the likes: wait a moment.`,"Chegue mais perto da porta para bater (até 2 passos).":`Get closer to the door to knock (up to 2 steps).`,"Você bateu nesta porta há pouco. Espere um minuto.":`You knocked on this door a moment ago. Wait a minute.`,"Você já deixou um carimbo aqui hoje.":`You already left a stamp here today.`,"Chegue mais perto da porta para carimbar.":`Get closer to the door to stamp.`,"Nenhum prédio com o código {0}.":`No building with code {0}.`,"Nenhum prédio aceso para visitar agora.":`No lit building to visit right now.`,"Devagar: espere um pouco antes de ir para outro prédio.":`Slow down: wait a bit before going to another building.`,"Devagar: um cumprimento a cada 3 segundos.":`Slow down: one greeting every 3 seconds.`,"Você já mandou as 5 denúncias de hoje.":`You've already sent today's 5 reports.`,"Chegue perto da porta de um prédio (até 4 passos) e aperte L para curtir.":`Get close to a building's door (up to 4 steps) and press L to like.`,"Chegue a 2 passos da porta de um prédio e aperte K para bater.":`Get within 2 steps of a building's door and press K to knock.`,"O dono deste prédio não recebe batidas na porta.":`This building's owner doesn't take knocks.`,"Toc, toc! Você bateu na porta de {0}.":`Knock, knock! You knocked on {0}'s door.`,"Ninguém por perto para cumprimentar.":`Nobody nearby to greet.`,"{0} bloqueado. Para desfazer: Configurações › Habblaud World › Bloqueados.":`{0} blocked. To undo: Settings › Habblaud World › Blocked.`,"Denúncia enviada. Obrigado: a moderação vai olhar.":`Report sent. Thanks: the moderators will take a look.`,"O mundo não respondeu a tempo. Tente de novo.":`The world didn't answer in time. Try again.`,Descurtir:`Unlike`,"Desfazer o like no prédio de {0}":`Undo the like on {0}'s building`,"Curtir o prédio de {0}":`Like {0}'s building`,Bater:`Knock`,"Bater na porta de {0}":`Knock on {0}'s door`,"Cumprimentar quem está perto":`Greet someone nearby`,"META DA CIDADE":`CITY GOAL`,"A meta aparece com 10 prédios acesos.":`The goal shows up with 10 lit buildings.`,PREFEITURA:`CITY HALL`,'Código do prédio: "Ir para", no minimapa, leva até a porta':`Building code: "Go to", on the minimap, takes you to the door`,"Não verificado: os dados deste prédio estão em revisão.":`Unverified: this building's data is under review.`,"Seu prédio: os likes de hoje aparecem na barra do escritório.":`Your building: today's likes show up in the office bar.`,"Chegue perto da porta para curtir (L).":`Get close to the door to like (L).`,"Mais perto da porta, dá para bater (K).":`Closer to the door, you can knock (K).`,"Motivo da denúncia":`Report reason`,"Qual o motivo?":`What's the reason?`,"Denúncia enviada.":`Report sent.`,"Confirmar: bloquear":`Confirm: block`,Bloquear:`Block`,"Vocês deixam de se ver: na rua, nos prédios, nos cumprimentos e nos carimbos.":`You stop seeing each other: on the street, in buildings, in greetings and in stamps.`,Denunciado:`Reported`,Denunciar:`Report`,"Escolha um carimbo para a portaria":`Pick a stamp for the front desk`,"Um carimbo por prédio por dia. O dono vê quantos de cada recebeu, nunca quem deixou.":`One stamp per building per day. The owner sees how many of each they got, never who left them.`,"Carimbo de hoje: {0}":`Today's stamp: {0}`,"Deixar um carimbo":`Leave a stamp`,"Carimbos da portaria":`Stamps at the front desk`,"Carimbos da portaria: nenhum ainda":`Stamps at the front desk: none yet`,"Carimbo deixado na portaria: {0}":`Stamp left at the front desk: {0}`,"Entre no prédio ou chegue mais perto da porta para carimbar.":`Go into the building or get closer to the door to stamp.`,"O carimbo não foi deixado. Tente de novo.":`The stamp wasn't left. Try again.`,"Agente do Gentle Shell":`Gentle Shell agent`," Gentle Shell: {0} pasta(s), {1} sessão(ões) aberta(s) (somente leitura).":` Gentle Shell: {0} folder(s), {1} open session(s) (read-only).`," Gentle Shell: {0}.":` Gentle Shell: {0}.`,"nenhuma pasta do Gentle Shell encontrada (defina HABBLAUD_GENTLE_SHELL_DIRS)":`no Gentle Shell folder found (set HABBLAUD_GENTLE_SHELL_DIRS)`,"desligado (HABBLAUD_GENTLE_SHELL=0)":`off (HABBLAUD_GENTLE_SHELL=0)`,"Agente principal (Gentle Shell)":`Main agent (Gentle Shell)`,"Subagente (Gentle Shell)":`Subagent (Gentle Shell)`,"Gentle Shell: falha no ciclo de leitura: {0}":`Gentle Shell: read cycle failed: {0}`,"Gentle Shell: sessão {0}: {1}":`Gentle Shell: session {0}: {1}`,"Gentle Shell: falha ao ler os subagentes: {0}":`Gentle Shell: could not read the subagents: {0}`,"Gentle Shell: transcript de {0} ilegível ({1}).":`Gentle Shell: transcript of {0} is unreadable ({1}).`,"Resume a conversa para liberar contexto":`Summarizes the conversation to free up context`,"Mostra o uso do contexto":`Shows context usage`,"Revisa um pull request":`Reviews a pull request`,"Na caixa de mensagem: /comando roda um comando da sessão; as setas, Enter e Tab escolhem na lista":`In the message box: /command runs a session command; arrows, Enter and Tab pick from the list`,"Comandos disponíveis":`Available commands`,"Sem comandos desta sessão ainda — rode /reload-plugins no terminal dela":`No commands for this session yet — run /reload-plugins in its terminal`,Seus:`Yours`,Plugins:`Plugins`,MCP:`MCP`,"Do Claude Code":`From Claude Code`,"Nenhum comando com “{0}”":`No commands matching “{0}”`,"Carregando comandos…":`Loading commands…`,"a sessão não buscou a mensagem: a extensão habblaud-pi está instalada no Gentle Shell (npm run pi:install) e a sessão aberta?":`the session did not fetch the message: is the habblaud-pi extension installed in Gentle Shell (npm run pi:install) and the session open?`,"a sessão não está com a extensão habblaud-pi conectada (npm run pi:install, e abra a sessão de novo)":`the session does not have the habblaud-pi extension connected (npm run pi:install, then reopen the session)`,"este aviso é do terminal: o Gentle Shell só aceita a resposta lá (aqui dá para devolver o pedido ao terminal)":`this notice belongs to the terminal: Gentle Shell only accepts the answer there (here you can hand the request back to the terminal)`,"Uso: npm run pi:install | pi:uninstall | pi:status [-- opções]\n --dry-run só mostra o que faria\n --dir <pasta> pasta do agente (ex.: ~/.gentle-shell/agent); repetível; substitui a descoberta":`Usage: npm run pi:install | pi:uninstall | pi:status [-- options]
|
|
114
|
+
--off turns off phone access (removes the lines from the settings file and the service; keeps the CA)`,"falta o valor de {0}":`missing value for {0}`,"opção desconhecida: {0}":`unknown option: {0}`,"porta inválida":`invalid port`,"use pelo menos {0} caracteres":`use at least {0} characters`,"sem espaços no começo ou no fim":`no spaces at the start or end`,"a senha não pode ser o usuário":`the password can't be the username`,"sem terminal para perguntar a senha: use --password-stdin":`no terminal to ask for the password: use --password-stdin`,"serviço {0} ligado (log: ~/.habblaud/logs/remote-mdns.log)":`service {0} enabled (log: ~/.habblaud/logs/remote-mdns.log)`,"não consegui ligar o serviço: {0}":`couldn't enable the service: {0}`,"Busybits: anuncia o endereço .local do acesso pelo celular":`Busybits: announces the .local address for phone access`,"serviço busybits-remote-mdns ligado (para seguir ligado sem login: loginctl enable-linger)":`busybits-remote-mdns service enabled (to keep it on while logged out: loginctl enable-linger)`,"{0}: sem serviço automático; deixe npm run remote:mdns rodando ou use o IP":`{0}: no automatic service; keep npm run remote:mdns running or use the IP`,"[remote-setup] Acesso pelo celular desligado (a CA continua em ~/.habblaud/remote-tls).":`[remote-setup] Phone access turned off (the CA stays in ~/.habblaud/remote-tls).`," Configuração: {0} (lida pelo servidor Node: serviço ou npm start)":` Settings: {0} (read by the Node server: service or npm start)`," Configuração: {0} (lida pelo Docker: npm run docker:up)":` Settings: {0} (read by Docker: npm run docker:up)`," Agora rode: {0}":` Now run: {0}`," Agora rode: {0} (reinicia o serviço do Busybits para ler as novas configurações)":` Now run: {0} (restarts the Busybits service so it reads the new settings)`," Agora: reinicie o servidor do Busybits (npm start) para ler as novas configurações":` Now: restart the Busybits server (npm start) so it reads the new settings`,"Usuário do login":`Login username`,"usuário inválido (sem espaços)":`invalid username (no spaces)`,"senha recusada: {0}":`password rejected: {0}`,"Senha ({0}+ caracteres; não aparece enquanto você digita)":`Password ({0}+ characters; hidden while you type)`,"Repita a senha":`Repeat the password`," as duas não batem; de novo.":` they don't match; try again.`,"Nome do endereço (vira <nome>.local)":`Address name (becomes <name>.local)`,'nome inválido: "{0}" (letras, números e hífen)':`invalid name: "{0}" (letters, numbers and hyphens)`,"Endereço próprio, opcional (ex.: meuclaude.home; Enter pula)":`Own address, optional (e.g. myclaude.home; Enter skips)`,'endereço inválido: "{0}"':`invalid address: "{0}"`,"[remote-setup] Gerando o hash da senha…":`[remote-setup] Generating the password hash…`,"serviço não instalado (--no-service): rode npm run remote:mdns":`service not installed (--no-service): run npm run remote:mdns`," CA local nova (o endereço mudou ou a anterior não tinha restrição de nomes): instale o certificado de novo no celular.":` New local CA (the address changed or the previous one had no name constraints): install the certificate on the phone again.`," CA local criada.":` Local CA created.`," (ou {0})":` (or {0})`,"{0} (depois de criar no roteador: {1} -> {2})":`{0} (after creating it in the router: {1} -> {2})`,"IP deste computador":`this computer's IP`,"[remote-setup] Pronto.{0}":`[remote-setup] Done.{0}`,' Acesso: usuário "{0}", senha guardada só como hash (scrypt), porta {1}':` Access: user "{0}", password stored only as a hash (scrypt), port {1}`," Certificado: {0}":` Certificate: {0}`," Anúncio: {0}":` Announcing: {0}`," Agora rode: npm run docker:up":` Now run: npm run docker:up`," No celular (mesmo Wi-Fi):":` On the phone (same Wi-Fi):`,' Primeira vez: aceite o aviso, toque em "Instale o certificado do Habblaud" e confie nele':` First time: accept the warning, tap "Install the Busybits certificate" and trust it`," iPhone: Ajustes > Perfil Baixado > Instalar; depois Ajustes > Geral > Sobre > Ajustes de Confiança de Certificados":` iPhone: Settings > Profile Downloaded > Install; then Settings > General > About > Certificate Trust Settings`," Android: Configurações > Segurança > Criptografia e credenciais > Instalar certificado > Certificado de CA":` Android: Settings > Security > Encryption & credentials > Install a certificate > CA certificate`," Impressão digital da CA (confira no celular antes de confiar):":` CA fingerprint (check it on the phone before trusting it):`,"(indisponível)":`(unavailable)`,"[remote-setup] Erro: {0}":`[remote-setup] Error: {0}`,Sair:`Sign out`,"Acesso pelo celular":`Phone access`,"Sair deste aparelho":`Sign out of this device`,"Encerra o login aqui (uma cópia do cookie também deixa de valer). Para voltar, entre com usuário e senha.":`Ends the login here (a copy of the cookie stops working too). To come back, sign in with your username and password.`,"Não combina com este cabelo":`Doesn't go with this hair`,"Não combina com o boné ou o gorro":`Doesn't go with the cap or beanie`,"Não combina com o laço":`Doesn't go with the bow`,"Não combina com o capuz":`Doesn't go with the hood`,"Não combina com a máscara":`Doesn't go with the mask`,"Não combina com os óculos":`Doesn't go with the glasses`,Máscara:`Mask`,"Moletom com capuz":`Hoodie, hood up`,"Fone gamer":`Gamer headset`,Nenhuma:`None`,"Máscara de LED":`LED mask`,Bandana:`Bandana`,Respirador:`Respirator`,"Viseira neon":`Neon visor`,"Monóculo AR":`AR monocle`,"Máscara sorridente":`Smile mask`,"Codo de madrugada":`I code late at night`,"Acordo cedo para codar":`I get up early to code`,"Movido a café":`Powered by coffee`,"Time do chá":`Team tea`,"Time dos tabs":`Team tabs`,"Time dos espaços":`Team spaces`,"Modo escuro sempre":`Dark mode, always`,"Modo claro, sem medo":`Light mode, no fear`,"Vim até o fim":`Vim till the end`,"Testo antes de escrever":`I test before I write`,"Entrego rápido":`I ship fast`,"Refatorar é meu hobby":`Refactoring is my hobby`,"Fã de pixel art":`Pixel art fan`,"Codo ouvindo música":`I code with music on`,"Codo em silêncio":`I code in silence`,"Gente de gato":`Cat person`,"Gente de cachorro":`Dog person`,"Vivo de código aberto":`Open source all the way`,"Sempre aprendendo":`Always learning`,"Oi, prazer!":`Hi, nice to meet you!`,"HABBLAUD_WORLD_URL não é um endereço válido":`HABBLAUD_WORLD_URL is not a valid address`,"HABBLAUD_WORLD_URL com http:// (127.0.0.1 ou host.docker.internal) só vale no modo de desenvolvimento (--dev ou HABBLAUD_WORLD_DEV=1)":`HABBLAUD_WORLD_URL with http:// (127.0.0.1 or host.docker.internal) only works in development mode (--dev or HABBLAUD_WORLD_DEV=1)`,"HABBLAUD_WORLD_URL precisa começar com https:// ou wss://":`HABBLAUD_WORLD_URL must start with https:// or wss://`,"HABBLAUD_WORLD_URL deve ter só o endereço do servidor (sem caminho, usuário, senha ou parâmetros)":`HABBLAUD_WORLD_URL must contain only the server address (no path, user, password or parameters)`,"o Habblaud World só é usado pelo próprio computador (http://localhost)":`Habblaud World can only be used from this computer (http://localhost)`," Habblaud World: escondido (HABBLAUD_WORLD=0).":` Habblaud World: hidden (HABBLAUD_WORLD=0).`," Habblaud World: desligado (padrão; HABBLAUD_WORLD=1 liga).":` Habblaud World: off (default; HABBLAUD_WORLD=1 turns it on).`," Habblaud World: desligado (HABBLAUD_WORLD_URL recusada).":` Habblaud World: off (HABBLAUD_WORLD_URL rejected).`,"{0} (padrão)":`{0} (default)`," Habblaud World: {0}, conta neste computador: {1}{2}.":` Habblaud World: {0}, account on this computer: {1}{2}.`," (só leitura: a trava do terminal está desligada)":` (read-only: the terminal lock is off)`,"esperado um objeto JSON":`expected a JSON object`,"e-mail inválido":`invalid email`,"a senha precisa ter de {0} a {1} caracteres":`the password must be {0} to {1} characters long`,"o código tem 6 dígitos":`the code has 6 digits`,"nome de jogador recusado ({0})":`player name refused ({0})`,'esperado {name?, look: "f" ou "m", parts, traits: 2 ou 3 traços que combinam, intro}':`expected {name?, look: "f" or "m", parts, traits: 2 or 3 traits that go together, intro}`,"idioma desconhecido":`unknown language`,"código de convite inválido":`invalid invite code`,"senha ausente":`missing password`,'esperado {mode: "live" ou "discreet", closed, hideCountry, tokensVisible, leaderboard, compactions, notifyInactivity?, knocks?}':`expected {mode: "live" or "discreet", closed, hideCountry, tokensVisible, leaderboard, compactions, notifyInactivity?, knocks?}`,"dispositivo desconhecido":`unknown device`,"o Habblaud World só age pela conta com o Habblaud acessível apenas pelo próprio computador":`Habblaud World only acts on your account when Busybits is reachable only from this computer`,"Habblaud World desligado: HABBLAUD_WORLD_URL recusada (veja o log do servidor)":`Habblaud World is off: HABBLAUD_WORLD_URL was rejected (see the server log)`,"world.json fora do formato: ignorado (entre de novo no Habblaud World).":`world.json is malformed: ignored (sign in to Habblaud World again).`,"world.json ilegível ({0}): ignorado (entre de novo no Habblaud World).":`world.json unreadable ({0}): ignored (sign in to Habblaud World again).`,"Não foi possível gravar {0} ({1}); a sessão do Habblaud World vale só nesta execução.":`Couldn't write {0} ({1}); the Habblaud World session only lasts for this run.`,"Novidade: Habblaud World":`New: Habblaud World`,"Seu escritório agora pode virar um prédio numa cidade online, aceso enquanto os seus agentes trabalham.":`Your office can now become a building in an online city, lit up while your agents work.`,"Seu escritório vira um prédio numa cidade em pixel art, aceso enquanto os seus agentes trabalham.":`Your office becomes a building in a pixel-art city, lit up while your agents work.`,"Crie um personagem, ande pela cidade e visite os prédios de outras pessoas.":`Create a character, walk around the city and visit other people's buildings.`,"Cumprimente quem passa e deixe likes nos prédios, sem chat e sem spam.":`Greet passersby and like buildings, with no chat and no spam.`,"Nada do seu trabalho sai do computador: só o tema, quantos andares e se cada personagem está ocupado ou à toa.":`Nothing about your work leaves your computer: only the theme, how many floors, and whether each character is busy or idle.`,"Ver a lista":`See the list`,"Nada é enviado enquanto você não criar a conta. O acesso é liberado aos poucos, por lista de espera.":`Nothing is sent until you create an account. Access opens gradually, through a waitlist.`,"Criar conta":`Create account`,"Agora não":`Not now`,"Não mostrar de novo":`Don't show again`,"Você está na lista de espera":`You're on the waitlist`,"O acesso é liberado aos poucos, em lotes. Avisamos por e-mail quando chegar a sua vez.":`Access opens gradually, in batches. We'll email you when it's your turn.`,"Enquanto isso, o Habblaud continua normal e nada do escritório é enviado.":`Meanwhile, Busybits works as usual and nothing from the office is sent.`,Entendi:`Got it`,"Chegou a sua vez: crie o seu personagem e entre na cidade.":`It's your turn: create your character and enter the city.`,"← Voltar":`← Back`,"Mostrar senha":`Show password`,"Esconder senha":`Hide password`,"E-mail":`Email`,"Código de 6 dígitos":`6-digit code`,"Dispositivo {0}":`Device {0}`,"Mandamos outro código.":`We sent another code.`,"Senha trocada. Entre com a senha nova.":`Password changed. Sign in with the new password.`,"Você saiu da conta do Habblaud World neste computador.":`You signed out of Habblaud World on this computer.`,"Personagem salvo.":`Character saved.`,"Dispositivo revogado.":`Device revoked.`,"Fechado a visitas":`Closed to visitors`,"Dá para ver o prédio por fora, mas ninguém entra.":`People can see the building from outside, but nobody can come in.`,"Esconder o país":`Hide country`,"No lugar da bandeira do país (visto pelo IP da conexão) aparece uma bandeira neutra.":`A neutral flag shows instead of your country's flag (taken from the connection's IP).`,"Mostrar o consumo de tokens":`Show token usage`,"Total do dia e da semana do prédio inteiro, só em faixas (até 100 mil, 1 milhão…). Nunca o custo.":`Daily and weekly total for the whole building, only in ranges (up to 100k, 1 million…). Never the cost.`,"Entrar no placar":`Join the leaderboard`,"O prédio pode aparecer nos placares de tokens da cidade.":`Your building can show up on the city's token leaderboards.`,"Mostrar as compactações":`Show compactions`,"Quando um agente compacta o contexto, a lixeira da sala enche. Sai só o fato, nada do conteúdo.":`When an agent compacts its context, the room's trash can fills up. Only the fact is sent, nothing of the content.`,"Habblaud World":`Habblaud World`,"Só pelo computador":`Computer only`,"Sem conta":`No account`,"Na lista de espera":`On the waitlist`,Liberado:`Approved`,"A conta do Habblaud World só pode ser mexida no próprio computador, com o Habblaud em acesso local (bind 127.0.0.1) e aberto por http://localhost.":`The Habblaud World account can only be managed on the computer itself, with Busybits on local access (bind 127.0.0.1) and opened via http://localhost.`,"Já tenho conta":`I already have an account`,"Leve o seu escritório para uma cidade em pixel art: um prédio seu, aceso enquanto os agentes trabalham, e um personagem para passear e visitar os prédios de outras pessoas.":`Take your office to a pixel-art city: a building of your own, lit up while your agents work, and a character to stroll around and visit other people's buildings.`,"O acesso é liberado aos poucos: quem cria a conta entra numa lista de espera.":`Access opens gradually: new accounts join a waitlist.`,"O que sai do seu computador":`What leaves your computer`,"Quem visita o mundo vê, ao vivo, quantos projetos e agentes você está rodando e o que cada personagem está fazendo (trabalhando, esperando, à toa). Ninguém vê quais projetos são, o que os agentes fazem, nem quem você é: só o nickname e o avatar que você escolheu.":`People visiting the world see, live, how many projects and agents you are running and what each character is doing (working, waiting, idle). Nobody sees which projects they are, what the agents are doing, or who you are: only the nickname and the avatar you chose.`,"Sai:":`Sent:`,"o tema do escritório; um andar por sala aberta, com um código aleatório que muda todo dia; de cada agente, se é principal ou subagente, a ferramenta, o status, a aparência, um nome sorteado e a faixa de tarefas concluídas no dia; os tokens do prédio arredondados em faixas (dá para desligar); se você ligar, o fato de um agente ter compactado o contexto; a versão e o commit do Habblaud, com a marca de cópia modificada; e o idioma da interface, só para os e-mails.":`the office theme; one floor per open room, with a random code that changes every day; for each agent, whether it's a main agent or a subagent, its tool, status, appearance, a name drawn at random and the range of tasks completed that day; the building's tokens rounded into ranges (can be turned off); if you turn it on, the fact that an agent compacted its context; the Busybits version and build commit, with the modified-copy flag; and the interface language, only for emails.`,"Nunca sai:":`Never sent:`,"caminhos e nomes de projetos, títulos de sessão, comandos, mensagens, código, custo, a sua conta do Claude, o seu e-mail e o nome do computador.":`project paths and names, session titles, commands, messages, code, cost, your Claude account, your email and the computer's name.`,"Com os dados que saem não dá para saber quem você é nem em que trabalha.":`From the data that is sent, nobody can tell who you are or what you work on.`,"Os agentes trabalham sem você: prédio aceso não quer dizer que você está no computador. Se preferir, use o modo discreto ou feche o prédio a visitas.":`Agents work without you: a lit building doesn't mean you're at the computer. If you prefer, use discreet mode or close the building to visitors.`,"Ver a lista completa":`See the full list`,"Pelo menos 12 caracteres. Uma frase longa vale mais do que símbolos; senhas que já vazaram são recusadas.":`At least 12 characters. A long phrase beats symbols; passwords that have leaked are rejected.`,"Criando a conta…":`Creating account…`,"Digite um e-mail válido.":`Enter a valid email.`,"Para criar a conta, aceite os Termos de Uso e a Política de Privacidade.":`To create the account, accept the Terms of Use and the Privacy Policy.`,"O World só funciona se os prédios forem verdadeiros. Mandar dados inventados quebra os termos e bane a conta.":`World only works if the buildings are real. Sending made-up data breaks the terms and gets the account banned.`,"Li e aceito os {0} e a {1} do Habblaud World.":`I have read and accept the {0} and the {1} of Habblaud World.`,"Termos de Uso":`Terms of Use`,"Política de Privacidade":`Privacy Policy`,"Entrando…":`Signing in…`,"Digite a senha.":`Enter your password.`,"Esqueci a senha":`Forgot password`,"Entrar na conta":`Sign in to your account`,"Ainda não tem conta?":`Don't have an account yet?`,"Demonstração: o código é {0}.":`Demo: the code is {0}.`,"Reenviar código":`Resend code`,"Confirmar e-mail":`Confirm email`,"Conferindo…":`Checking…`,"Digite os 6 dígitos do código.":`Enter the 6 digits of the code.`,"Confirmar o e-mail":`Confirm your email`,"Mandamos um código de 6 dígitos para {0}. Ele vale por 10 minutos.":`We sent a 6-digit code to {0}. It's valid for 10 minutes.`,"Não chegou? Confira o spam ou peça outro. Se este e-mail já tinha conta, a mensagem avisa: aí é só entrar com a senha.":`Didn't get it? Check your spam folder or ask for another one. If this email already had an account, the message says so: just sign in with your password.`,"Usar outro e-mail":`Use another email`,"Mandar código":`Send code`,"Mandando…":`Sending…`,"Digite o e-mail da conta. Se ele estiver cadastrado, chega um código para criar uma senha nova.":`Enter the account's email. If it is registered, you'll get a code to create a new password.`,"Senha nova":`New password`,"Trocar a senha":`Change password`,"Trocando…":`Changing…`,"Trocar a senha desconecta todos os dispositivos da conta.":`Changing the password signs out every device on the account.`,"Se {0} tiver conta, chegou um código de 6 dígitos. Digite o código e a senha nova.":`If {0} has an account, a 6-digit code is on its way. Enter the code and the new password.`,"Acesso liberado!":`Access granted!`,"Você está na lista de espera. Estamos liberando o acesso aos poucos e avisamos por e-mail quando chegar a sua vez.":`You're on the waitlist. We're opening access gradually and will let you know by email when it's your turn.`,"Seu prédio vai aparecer aqui":`Your building will show up here`,"país escondido":`country hidden`,"Crie o seu personagem para entrar no mundo.":`Create your character to enter the world.`,"Enquanto espera, já dá para criar o seu personagem.":`While you wait, you can already create your character.`,"Criar meu personagem":`Create my character`,Discreto:`Discreet`,"Ao vivo":`Live`,"fechado a visitas":`closed to visitors`,"Visibilidade do prédio":`Building visibility`,Dispositivos:`Devices`,"{0} de 3":`{0} of 3`,"Último problema com o mundo: {0}":`Last problem with the world: {0}`,"Conta: {0}":`Account: {0}`,"Sair da conta":`Sign out`,"Este computador deixa de entrar no mundo; a conta e o personagem continuam.":`This computer stops joining the world; your account and character stay.`,"Confirmar: sair da conta":`Confirm: sign out`,"Dica visual":`Visual hint`,Feminina:`Feminine`,Masculina:`Masculine`,"Muda detalhes do rosto e o sorteio de cabelo e roupa; tudo dá para trocar nas peças abaixo.":`Changes face details and the random pick of hair and clothes; you can change everything in the pieces below.`,"Já são 3 traços: desmarque um para trocar.":`That's 3 traits already: unselect one to swap.`,"Não combina com {0}.":`Doesn't go with {0}.`,"Frase de apresentação":`Intro phrase`,"Escolha uma frase…":`Pick a phrase…`,"Salvar personagem":`Save character`,"Salvando…":`Saving…`,Personalidade:`Personality`,"Escolha 2 ou 3 traços de personalidade.":`Pick 2 or 3 personality traits.`,"Escolha uma frase de apresentação.":`Pick an intro phrase.`,"Nome de jogador":`Player name`,"De 3 a 20 caracteres: letras de um só alfabeto, números, espaço, _ - e . É o seu nome no mundo e não pode repetir o de ninguém.":`3 to 20 characters: letters from a single alphabet, numbers, space, _ - and . It's your name in the world and can't match anyone else's.`,"Dá para trocar uma vez a cada 30 dias.":`It can be changed once every 30 days.`,"3 a 20 caracteres; é o nome do seu personagem e fica reservado para você, mesmo na lista de espera. Único no mundo.":`3 to 20 characters; it's your character's name and stays reserved for you, even on the waitlist. Unique in the world.`,"Esse nome já está em uso. Escolha outro.":`That name is already taken. Pick another one.`,"Seu nome de jogador: {0} (reservado)":`Your player name: {0} (reserved)`,"Escolhido no cadastro. Dá para trocar depois, uma vez a cada 30 dias.":`Chosen at sign-up. You can change it later, once every 30 days.`,"Desta vez o nome novo entra na hora, sem esperar os 30 dias.":`This time the new name applies right away, without waiting 30 days.`,"Escolha um nome novo":`Choose a new name`,"Escolher nome novo":`Choose new name`,"Escolha um nome novo: a moderação trocou o seu nome de jogador. O nome novo entra na hora, sem esperar os 30 dias.":`Choose a new name: the moderators changed your player name. The new name applies right away, without waiting 30 days.`,"Escolha 2 ou 3 traços. Os que não combinam com os já escolhidos ficam apagados.":`Pick 2 or 3 traits. The ones that don't go with those already picked are dimmed.`,"Aparece no seu perfil, traduzida para quem lê. No mundo não há texto livre além do nome.":`Shows on your profile, translated for whoever reads it. Besides your name, there's no free text in the world.`,"Criar personagem":`Create character`,"Disponível depois de criar o personagem.":`Available after you create your character.`,"Modo do prédio":`Building mode`,"Ao vivo: andares, contadores e o que cada personagem está fazendo, em tempo real. Discreto: só aceso ou apagado e o número de andares.":`Live: floors, counters and what each character is doing, in real time. Discreet: only lit or dark and the number of floors.`,"País: escondido (aparece uma bandeira neutra).":`Country: hidden (a neutral flag shows).`,"País visto na última conexão: {0}.":`Country seen on the last connection: {0}.`,"País: aparece depois da primeira conexão com o mundo.":`Country: shows after the first connection to the world.`,"As mudanças valem na hora.":`Changes apply right away.`,"Até 3 por conta. Revogar desconecta o dispositivo na hora; para voltar, ele entra de novo com a senha.":`Up to 3 per account. Revoking signs the device out right away; to come back, it signs in again with the password.`,"entrou em {0}":`signed in on {0}`,"último acesso {0}":`last seen {0}`,"este computador":`this computer`,Revogar:`Revoke`,"Revogar {0}":`Revoke {0}`,Confirmar:`Confirm`,"A senha precisa ter pelo menos 12 caracteres.":`The password needs at least 12 characters.`,"A senha pode ter no máximo 128 caracteres.":`The password can have at most 128 characters.`,"A senha não pode ser o seu e-mail.":`The password can't be your email.`,'A senha não pode ser só uma repetição (como "aaaaaaaaaaaa").':`The password can't be just a repetition (like "aaaaaaaaaaaa").`,"O nome precisa ter de 3 a 20 caracteres.":`The name needs 3 to 20 characters.`,"Use só letras, números, espaço, _ - e . no nome.":`Use only letters, numbers, space, _ - and . in the name.`,"Use letras de um só alfabeto no nome.":`Use letters from a single alphabet in the name.`,"Tire do nome os caracteres invisíveis e os espaços especiais.":`Remove invisible characters and special spaces from the name.`,"O nome precisa ter pelo menos uma letra.":`The name needs at least one letter.`,"Este nome é reservado. Escolha outro.":`This name is reserved. Pick another one.`,"Código errado ou vencido. Confira o e-mail ou peça outro código.":`Wrong or expired code. Check the email or ask for another code.`,"E-mail ou senha não conferem.":`Email or password don't match.`,"Falta confirmar o e-mail: mandamos um código novo.":`Your email still needs confirming: we sent a new code.`,"Esta conta foi banida do Habblaud World. Para recorrer, responda ao e-mail do banimento.":`This account was banned from Habblaud World. To appeal, reply to the ban email.`,"Este nome já está em uso no mundo. Escolha outro.":`This name is already taken in the world. Pick another one.`,"Nome inválido: de 3 a 20 caracteres, com letras de um só alfabeto, números, espaço, _ - e .":`Invalid name: 3 to 20 characters, with letters from a single alphabet, numbers, space, _ - and .`,"Este nome não é permitido. Escolha outro.":`This name isn't allowed. Pick another one.`,"O Habblaud World não está ligado neste Habblaud (HABBLAUD_WORLD_URL recusada; veja o log do servidor).":`Habblaud World isn't turned on in this Busybits (HABBLAUD_WORLD_URL was rejected; see the server log).`,"Muitas tentativas seguidas. Espere alguns minutos e tente de novo.":`Too many attempts in a row. Wait a few minutes and try again.`,"O servidor do Habblaud World não respondeu. Tente de novo em instantes.":`The Habblaud World server didn't respond. Try again in a moment.`,"A conta do World só pode ser mexida pelo próprio computador, com o Habblaud aberto em localhost.":`The World account can only be managed from the computer itself, with Busybits opened on localhost.`,"Esta conta está suspensa no Habblaud World por enquanto.":`This account is suspended from Habblaud World for now.`,"A sessão do Habblaud World neste computador terminou. Entre de novo.":`The Habblaud World session on this computer has ended. Sign in again.`,"O nome só pode ser trocado uma vez a cada 30 dias.":`The name can only be changed once every 30 days.`,"A senha precisa ter de 12 a 128 caracteres.":`The password must be 12 to 128 characters long.`,"Senha fraca: não use o e-mail, o nome de jogador nem só repetição.":`Weak password: don't use your email, your player name or just repetition.`,"Esta senha aparece em vazamentos de dados conhecidos. Escolha outra.":`This password appears in known data breaches. Choose another one.`,"E-mail inválido. Confira o endereço.":`Invalid email. Check the address.`,"A verificação anti-robô não passou. Tente de novo em instantes.":`The anti-bot check didn't pass. Try again in a moment.`,"Esta conta já tem 3 computadores; revogue um em Dispositivos.":`This account already has 3 computers; revoke one in Devices.`,"Crie o personagem primeiro.":`Create your character first.`,"O Habblaud World está em manutenção. Tente de novo mais tarde.":`Habblaud World is under maintenance. Try again later.`,"O servidor do mundo teve um erro; tente de novo.":`The world server had an error; try again.`,"Este dispositivo não está mais na conta.":`This device is no longer on the account.`,"O servidor do Habblaud World não encontrou o que foi pedido.":`The Habblaud World server couldn't find what was requested.`,"O pedido saiu num formato que o servidor não aceita. Atualize o Habblaud e tente de novo.":`The request was sent in a format the server doesn't accept. Update Busybits and try again.`,"O servidor do Habblaud World respondeu algo inesperado. Tente de novo em instantes.":`The Habblaud World server sent an unexpected response. Try again in a moment.`,"Não deu para gravar a sessão neste computador: ela vale só até o Habblaud reiniciar.":`Couldn't save the session on this computer: it only lasts until Busybits restarts.`,"A conta do World só pode ser mexida com o Habblaud acessível apenas pelo próprio computador (acesso local, bind 127.0.0.1).":`The World account can only be managed when Busybits is reachable only from this computer (local access, bind 127.0.0.1).`,"O servidor recusou o e-mail ou a senha. A senha precisa ter de 12 a 128 caracteres e não pode estar numa lista de senhas vazadas.":`The server rejected the email or the password. The password needs 12 to 128 characters and can't be on a list of leaked passwords.`,"O servidor recusou o personagem. Confira o nome, os traços (2 ou 3) e a frase de apresentação.":`The server rejected the character. Check the name, the traits (2 or 3) and the intro phrase.`,"O servidor recusou as opções de visibilidade.":`The server rejected the visibility options.`,"O servidor recusou o pedido. Confira os dados e tente de novo.":`The server rejected the request. Check the details and try again.`,"Algo deu errado. Tente de novo em instantes.":`Something went wrong. Try again in a moment.`,"Projeto Ipê":`Project Ipê`,"Projeto Jacarandá":`Project Jacaranda`,"Projeto Jatobá":`Project Jatobá`,"Projeto Peroba":`Project Peroba`,"Projeto Cedro":`Project Cedar`,"Projeto Aroeira":`Project Aroeira`,"Projeto Araucária":`Project Araucaria`,"Projeto Buriti":`Project Buriti`,"Projeto Carnaúba":`Project Carnauba`,"Projeto Figueira":`Project Fig Tree`,"Projeto Oliveira":`Project Olive Tree`,"Projeto Carvalho":`Project Oak`,"Projeto Salgueiro":`Project Willow`,"Projeto Sequoia":`Project Sequoia`,"Projeto Baobá":`Project Baobab`,"Projeto Acácia":`Project Acacia`,"Projeto Magnólia":`Project Magnolia`,"Projeto Cerejeira":`Project Cherry Tree`,"Projeto Pinheiro":`Project Pine`,"Projeto Palmeira":`Project Palm`,"Projeto Jade":`Project Jade`,"Projeto Âmbar":`Project Amber`,"Projeto Ametista":`Project Amethyst`,"Projeto Quartzo":`Project Quartz`,"Projeto Topázio":`Project Topaz`,"Projeto Turmalina":`Project Tourmaline`,"Projeto Ágata":`Project Agate`,"Projeto Ônix":`Project Onyx`,"Projeto Opala":`Project Opal`,"Projeto Safira":`Project Sapphire`,"Projeto Rubi":`Project Ruby`,"Projeto Esmeralda":`Project Emerald`,"Projeto Granada":`Project Garnet`,"Projeto Jaspe":`Project Jasper`,"Projeto Malaquita":`Project Malachite`,"Projeto Obsidiana":`Project Obsidian`,"Projeto Turquesa":`Project Turquoise`,"Projeto Citrino":`Project Citrine`,"Projeto Peridoto":`Project Peridot`,"Projeto Lápis-lazúli":`Project Lapis Lazuli`,"Projeto Aurora":`Project Aurora`,"Projeto Órion":`Project Orion`,"Projeto Lira":`Project Lyra`,"Projeto Cisne":`Project Cygnus`,"Projeto Dragão":`Project Draco`,"Projeto Andrômeda":`Project Andromeda`,"Projeto Cassiopeia":`Project Cassiopeia`,"Projeto Perseu":`Project Perseus`,"Projeto Fênix":`Project Phoenix`,"Projeto Hidra":`Project Hydra`,"Projeto Águia":`Project Aquila`,"Projeto Quilha":`Project Carina`,"Projeto Vela":`Project Vela`,"Projeto Centauro":`Project Centaurus`,"Projeto Cruzeiro do Sul":`Project Crux`,"Projeto Pavão":`Project Pavo`,"Projeto Pomba":`Project Columba`,"Projeto Cocheiro":`Project Auriga`,"Projeto Lobo":`Project Lupus`,"Projeto Tucano":`Project Tucana`,"Habblaud World: prédio conectado.":`Habblaud World: building connected.`,"Habblaud World: o servidor recusou o pacote do prédio ({0}).":`Habblaud World: the server rejected the building packet ({0}).`,"Habblaud World: esta versão do Habblaud não entra mais no mundo; atualize para o prédio voltar.":`Habblaud World: this Busybits version can no longer join the world; update it to bring the building back.`,"Habblaud World: o servidor encerrou a conexão do prédio ({0}).":`Habblaud World: the server closed the building connection ({0}).`,"Habblaud World: sem conexão com o servidor do mundo; tentando de novo.":`Habblaud World: no connection to the world server; trying again.`,"Habblaud World: o prédio passou dos limites do mundo; {0} andar(es) e {1} agente(s) ficaram de fora.":`Habblaud World: the building went over the world's limits; {0} floor(s) and {1} agent(s) were left out.`,"Não foi possível gravar {0} ({1}).":`Couldn't write {0} ({1}).`,'esperado {theme: "auto", "none", "halloween" ou "christmas"}':`expected {theme: "auto", "none", "halloween" or "christmas"}`,"Habblaud World: o servidor do mundo não confirmou a pausa ou a retomada do prédio ({0}).":`Habblaud World: the world server didn't confirm pausing or resuming the building ({0}).`,"Seu prédio":`Your building`,"Seu prédio agora":`Your building now`,"Sem personagem":`No character`,Pausado:`Paused`,Retomar:`Resume`,"1 andar":`1 floor`,"{0} andares":`{0} floors`,"1 agente":`1 agent`,"Última remessa: {0}":`Last upload: {0}`,"Nenhuma remessa ainda":`No uploads yet`,"Aceso no mundo: um andar por sala aberta e cada personagem no status de agora. Os tokens, se você deixar, aparecem só em faixas, no medidor da fachada.":`Lit in the world: one floor per open room and each character in its current status. Tokens, if you allow it, show up only as ranges, on the facade meter.`,"O prédio acende com a primeira remessa.":`The building lights up with the first upload.`,"Sem conexão com o mundo agora: o Habblaud tenta de novo sozinho. Com 2 minutos sem notícias, o prédio apaga.":`No connection to the world right now: Busybits keeps retrying on its own. After 2 minutes without news, the building goes dark.`,"Pausado: seu prédio está apagado, mas você pode andar pela cidade. Nada do escritório sai deste computador.":`Paused: your building is dark, but you can walk around the city. Nothing from the office leaves this computer.`,"Crie o seu personagem: o prédio entra no mundo junto com ele.":`Create your character: the building joins the world along with it.`,"Pausar interrompe o envio na hora e apaga o prédio no mundo.":`Pausing stops sending right away and turns the building off in the world.`,"Retomar volta a enviar e acende o prédio.":`Resuming starts sending again and lights the building up.`,"Pausado por 30 dias, o prédio some do mapa e, 30 dias depois, é retirado; retomar antes disso traz de volta, no mesmo lote.":`After 30 days paused, the building disappears from the map and is removed 30 days later; resuming before that brings it back, on the same lot.`,"O mundo recusou a última remessa.":`The world rejected the last upload.`,"O pacote saiu fora do formato do protocolo. Atualize o Habblaud.":`The packet didn't match the protocol format. Update Busybits.`,"O escritório passou dos limites do mundo (64 andares, 64 agentes por andar, 256 agentes ou 64 KB).":`The office went over the world's limits (64 floors, 64 agents per floor, 256 agents or 64 KB).`,"Um nome de personagem não está na lista de nomes do mundo.":`A character name isn't on the world's list of names.`,"Uma peça de aparência está fora das paletas do editor.":`An appearance part is outside the editor's palettes.`,"Um código de andar ou de agente está fora do formato.":`A floor or agent code isn't in the right format.`,"Remessas demais em pouco tempo (o limite é 12 por minuto). A próxima vai normalmente.":`Too many uploads in a short time (the limit is 12 per minute). The next one goes through normally.`,"Um motivo que esta versão do Habblaud não conhece.":`A reason this version of Busybits doesn't know.`,"Ver o que foi enviado":`See what was sent`,"O que foi enviado":`What was sent`,"Nada saiu deste computador ainda: o prédio entra no mundo com a primeira remessa.":`Nothing has left this computer yet: the building joins the world with the first upload.`,"O que pode sair e o que nunca sai":`What can leave and what never does`,Copiar:`Copy`,"Não deu para copiar":`Couldn't copy`,"Enviada {0} ({1})":`Sent {0} ({1})`,"1 byte":`1 byte`,"{0} bytes":`{0} bytes`,"Sem resposta do mundo ainda.":`No reply from the world yet.`,"Aceita pelo mundo.":`Accepted by the world.`,"Recusada pelo mundo.":`Rejected by the world.`,"Isto é tudo o que saiu do seu computador. Nenhum caminho, nome de projeto, texto ou horário do escritório.":`This is everything that left your computer. No paths, project names, text or office times.`,"Pacote enviado (JSON)":`Sent packet (JSON)`,"O tema também vale para o seu prédio no Habblaud World.":`The theme also applies to your building in Habblaud World.`,"Não deu para mandar o tema para o prédio: {0}":`Couldn't send the theme to the building: {0}`,"no mundo":`in the world`,pausado:`paused`,"Seu prédio está aceso no Habblaud World: {0} e {1}. Clique para abrir o Habblaud World.":`Your building is lit in Habblaud World: {0} and {1}. Click to open Habblaud World.`,"Pausado: seu prédio está apagado, mas você pode andar pela cidade. Nada do escritório sai deste computador; clique para retomar.":`Paused: your building is dark, but you can walk around the city. Nothing from the office leaves this computer; click to resume.`,"Sem conexão com o Habblaud World agora; o Habblaud tenta de novo sozinho. Clique para ver o seu prédio.":`No connection to Habblaud World right now; Busybits keeps retrying on its own. Click to see your building.`,"Um erro no servidor do mundo. A próxima remessa tenta de novo.":`An error on the world server. The next upload tries again.`,"Habblaud World: o servidor do mundo não confirmou a saída do prédio ({0}).":`Habblaud World: the world server didn't confirm the building leaving the world ({0}).`,"A conta voltou para a lista de espera: o prédio sai do mundo até o acesso ser liberado de novo.":`The account went back to the waiting list: the building leaves the world until access is granted again.`,"A sua conta conectou o prédio em outro computador, e este parou de enviar.":`Your account connected the building on another computer, and this one stopped sending.`,"Atualize o Habblaud":`Update Busybits`,"Conectado em outro computador":`Connected on another computer`,"Confirmar: sair do mundo":`Confirm: leave the world`,"Conta banida":`Account banned`,"Conta suspensa":`Account suspended`,"Entre de novo":`Sign in again`,"Esta conta está suspensa no Habblaud World: o prédio fica apagado e nada sai deste computador.":`This account is suspended in Habblaud World: the building stays dark and nothing leaves this computer.`,"Esta versão do Habblaud não entra mais no mundo. Atualize para o prédio voltar a acender.":`This version of Busybits can no longer join the world. Update it to light the building up again.`,"Fora do mundo":`Out of the world`,"O Habblaud World baniu esta conta: o prédio saiu do mundo e nada mais sai deste computador.":`Habblaud World banned this account: the building left the world and nothing else leaves this computer.`,"O mundo contou {0}.":`The world counted {0}.`,"O mundo não encontrou o seu personagem: crie de novo para o prédio voltar.":`The world couldn't find your character: create it again to bring the building back.`,"O mundo recebeu os mesmos {0}.":`The world received the same {0}.`,"O prédio volta a subir daqui, e o outro computador para de enviar.":`The building goes back to uploading from here, and the other computer stops sending.`,"O servidor do mundo não reconheceu este computador: entre de novo na conta.":`The world server didn't recognize this computer: sign in to the account again.`,parado:`stopped`,"Pausar apaga o prédio e guarda o lote: retomar traz de volta, no mesmo lugar. Sair do mundo retira o prédio na hora e libera o lote; a conta e o personagem continuam, e voltar depois cria um prédio novo, em outro lote.":`Pausing turns the building off and keeps the lot: resuming brings it back, in the same place. Leaving the world removes the building right away and frees the lot; the account and the character stay, and coming back later creates a new building, on another lot.`,"Sair do mundo":`Leave the world`,"Se a suspensão já acabou, o prédio volta a acender.":`If the suspension is over, the building lights up again.`,"Seu prédio parou de subir ao Habblaud World. Clique para ver o motivo.":`Your building stopped uploading to Habblaud World. Click to see why.`,"Trazer para este computador":`Bring it to this computer`,"Você saiu do mundo: o prédio foi retirado e o lote, liberado. Dá para andar pela cidade; nada do escritório sai deste computador.":`You left the world: the building was removed and the lot freed. You can still walk around the city; nothing from the office leaves this computer.`,"Voltar ao mundo":`Back to the world`,"Voltar cria um prédio novo, em outro lote; a conta e o personagem são os mesmos.":`Coming back creates a new building, on another lot; the account and the character are the same.`,"A cidade já está aberta em outras abas do Habblaud. Feche uma delas para abrir aqui.":`The city is already open in other Busybits tabs. Close one of them to open it here.`,"A cena Mundo perdeu a conexão com o Habblaud. Abra a cidade de novo.":`The World scene lost its connection to Busybits. Open the city again.`,"A conta saiu do mundo (por este ou por outro computador): nada mais sai até você voltar ao mundo.":`The account left the world (from this or another computer): nothing else is sent until you come back to the world.`,"a cena Mundo só abre pela própria página do Habblaud":`the World scene only opens from Busybits's own page`,'Habblaud World: a conta saiu do mundo; o prédio só volta com "Voltar ao mundo".':`Habblaud World: the account left the world; the building only comes back with "Back to the world".`,"Habblaud World: o servidor do mundo não confirmou a volta ao mundo ({0}).":`Habblaud World: the world server didn't confirm the return to the world ({0}).`,"Você está na cidade do Habblaud World. Esc volta ao escritório.":`You're in the Habblaud World city. Esc goes back to the office.`,"De volta ao escritório.":`Back at the office.`,Mundo:`World`,"Voltar ao escritório (Esc)":`Back to the office (Esc)`,"Mundo: andar pela cidade do Habblaud World":`World: walk around the Habblaud World city`,"só o térreo":`ground floor only`,"1 curtida":`1 like`,"{0} curtidas":`{0} likes`,"Luzes acesas":`Lights on`,"Luzes apagadas":`Lights off`,Cartão:`Card`,"Agentes trabalhando":`Agents working`,"Agentes esperando o dono":`Agents waiting for the owner`,esperando:`waiting`,"Agentes à toa":`Idle agents`,"à toa":`idle`,"Modo discreto: o dono não mostra os agentes.":`Discreet mode: the owner doesn't show the agents.`,"No mundo desde {0}":`In the world since {0}`,"{0} recebidas":`{0} received`,"Ver o prédio":`See the building`,"Prédio longe daqui":`Building far from here`,"Ainda sem prédio":`No building yet`,Fechado:`Closed`,"Entrando na cidade…":`Entering the city…`,andar:`walk`,correr:`run`,clique:`click`,"ir até lá":`go there`,escritório:`office`,"Chegue perto da porta de um prédio e aperte E.":`Get close to a building's door and press E.`,"Devagar: o mundo pediu um tempo entre as ações.":`Slow down: the world asked for a pause between actions.`,"Aviso do Habblaud World.":`Notice from Habblaud World.`,"Minimapa: clique para levar a câmera até lá":`Minimap: click to move the camera there`,"Sem conexão com o Habblaud World agora; o Habblaud tenta de novo sozinho.":`No connection to Habblaud World right now; Busybits tries again on its own.`,"Essa pessoa não está mais por perto.":`That person isn't nearby anymore.`,"Você ficou um bom tempo parado e saiu da rua: ande para voltar.":`You stood still for a long time and left the street: walk to come back.`,"A área está cheia: só os jogadores mais perto aparecem.":`The area is full: only the closest players show up.`,"Você ficou um tempo parado.":`You stood still for a while.`,"O Habblaud World vai reiniciar: a conexão cai e volta sozinha.":`Habblaud World is restarting: the connection drops and comes back on its own.`,'Sua conta saiu do mundo: o prédio volta com "Voltar ao mundo", em Configurações.':`Your account left the world: the building comes back with "Back to the world", in Settings.`,"Entrar (E)":`Enter (E)`,entrar:`enter`,"Sair do prédio":`Leave`,"Ver como os outros veem":`See it as others do`,"Entrar no seu prédio pela cidade e ver o que quem visita vê (sem nada do escritório real)":`Enter your building through the city and see what visitors see (nothing from your real office)`,"Avisar quando alguém visitar":`Notify me when someone visits`,"Um aviso quando o primeiro visitante entra no seu prédio. Você vê só quantos estão lá dentro, nunca quem.":`A notice when the first visitor enters your building. You only see how many are inside, never who.`,"Alguém entrou no seu prédio no Habblaud World.":`Someone entered your building in Habblaud World.`,"1 visitante agora":`1 visitor now`,"{0} visitantes agora":`{0} visitors now`,"Este prédio não está no mundo agora.":`This building isn't in the world right now.`,"O prédio saiu do mundo: você voltou para a rua.":`The building left the world: you're back on the street.`,"Chegue mais perto da porta para entrar.":`Get closer to the door to go in.`,"O prédio fechou a visitas: você voltou para a rua.":`The building closed to visitors: you're back on the street.`,"Este prédio está fechado a visitas.":`This building is closed to visitors.`,"Você não pode mais ficar neste prédio: voltou para a rua.":`You can't stay in this building anymore: you're back on the street.`,"Você não pode entrar neste prédio.":`You can't enter this building.`,"O prédio está lotado (20 visitantes). Tente daqui a pouco.":`The building is full (20 visitors). Try again in a bit.`,"Esperando o dono":`Waiting for the owner`,visitante:`visitor`,Visitante:`Visitor`,Curtir:`Like`,"Sair do prédio (Esc)":`Leave the building (Esc)`,Visita:`Visit`,"Salas do prédio":`Building rooms`,"Só o nome, o papel, a ferramenta e o status de cada agente: o resto do escritório não sai do computador do dono.":`Only each agent's name, role, tool and status: the rest of the office never leaves the owner's computer.`,"Sair pelo elevador":`Leave by the elevator`,elevador:`elevator`,sair:`leave`,"Saindo do prédio…":`Leaving the building…`,apagado:`lights off`,discreto:`discreet`,"modo discreto":`discreet mode`,"Seu prédio, como os outros veem":`Your building, as others see it`,"Prédio de {0}":`{0}'s building`,"esperando o dono":`waiting for the owner`,"de olho no terminal":`watching the terminal`,"Prédio apagado: o dono pausou ou não está com o Habblaud aberto. As salas ficam escuras e vazias.":`Lights off: the owner paused or doesn't have Busybits open. The rooms are dark and empty.`,"Modo discreto: o dono não mostra os agentes. As salas aparecem vazias, com a luz acesa.":`Discreet mode: the owner doesn't show the agents. The rooms look empty, with the lights on.`,"O mundo está em manutenção; tentamos de novo em instantes.":`The world is under maintenance; we'll try again in a moment.`,"Conta excluída":`Account deleted`,"A conta do Habblaud World foi excluída: o prédio e o perfil saíram do mundo e nada mais sai deste computador.":`The Habblaud World account was deleted: the building and the profile left the world, and nothing else leaves this computer.`,"Habblaud World: desligado (HABBLAUD_WORLD={0}).":`Habblaud World: off (HABBLAUD_WORLD={0}).`,"Habblaud World: desligado (padrão; HABBLAUD_WORLD=1 liga).":`Habblaud World: off (default; HABBLAUD_WORLD=1 turns it on).`,"Habblaud World: ligado: {0}":`Habblaud World: on: {0}`,"Habblaud World: ligado: {0} (padrão)":`Habblaud World: on: {0} (default)`,"HABBLAUD_WORLD_URL recusada":`HABBLAUD_WORLD_URL rejected`,"Habblaud World: desligado ({0}).":`Habblaud World: off ({0}).`,"A conta do Habblaud World foi excluída. O prédio e o perfil saíram do mundo na hora; o resto é apagado do banco em 7 dias e dos backups em até 30.":`The Habblaud World account was deleted. The building and the profile left the world right away; the rest is deleted from the database within 7 days and from backups within 30.`,"Habblaud World: conta excluída; a sessão e o world.json foram apagados deste computador.":`Habblaud World: account deleted; the session and world.json were removed from this computer.`,"os dados da conta só saem pela própria página do Habblaud":`the account data only leaves through Busybits's own page`,"a conta, o personagem, os likes dados e recebidos, os bloqueios, as denúncias feitas e os dispositivos são apagados do banco.":`the account, the character, the likes given and received, the blocks, the reports you made and the devices are deleted from the database.`,"Abre um e-mail para {0}: conte o que aconteceu, e uma pessoa revê o caso.":`Opens an e-mail to {0}: tell us what happened, and a person reviews the case.`,"Abre um e-mail para {0}: se for engano, uma pessoa revê os números e tira o selo.":`Opens an e-mail to {0}: if it's a mistake, a person reviews the numbers and removes the badge.`,"Avisar por e-mail antes de retirar meu prédio por inatividade":`E-mail me before my building is removed for inactivity`,"Baixar meus dados":`Download my data`,"Conta e dados":`Account and data`,"Contestar por e-mail":`Dispute by e-mail`,"Dá para baixar os dados uma vez por dia. Tente de novo amanhã.":`You can download your data once a day. Try again tomorrow.`,"Dúvidas ou pedidos sobre os seus dados: {0}.":`Questions or requests about your data: {0}.`,"Em 7 dias:":`Within 7 days:`,"Em até 30 dias:":`Within 30 days:`,"Em manutenção":`Under maintenance`,"Excluindo…":`Deleting…`,"Excluir a conta tira você do Habblaud World:":`Deleting the account takes you out of Habblaud World:`,"Excluir a conta":`Delete the account`,"Excluir conta":`Delete account`,"Excluir conta…":`Delete account…`,"Mandamos um código de 6 dígitos para {0}. Digite o código para excluir a conta.":`We sent a 6-digit code to {0}. Enter the code to delete the account.`,"Mandar o código":`Send the code`,"Na hora:":`Right away:`,"Não verificado":`Unverified`,"O aviso de inatividade fica disponível depois de criar o personagem.":`The inactivity warning becomes available after you create the character.`,'O mundo marcou o seu prédio como "não verificado": os números pareceram fora do normal e estão em revisão. Ele continua no mundo, mas fora de placares e destaques.':`The world marked your building as "unverified": its numbers looked unusual and are under review. It stays in the world, but out of leaderboards and highlights.`,"o prédio e o perfil somem do mundo, e este computador sai da conta.":`the building and the profile disappear from the world, and this computer signs out of the account.`,"Os números deste prédio pareceram fora do normal e estão em revisão; enquanto isso, ele fica fora de placares e destaques.":`This building's numbers looked unusual and are under review; meanwhile, it stays out of leaderboards and highlights.`,"Para confirmar, mandamos um código de 6 dígitos para o e-mail da conta ({0}).":`To confirm, we send a 6-digit code to the account's e-mail ({0}).`,"Pronto: o arquivo {0} foi para a pasta de downloads.":`Done: the file {0} went to your downloads folder.`,"Recorrer por e-mail":`Appeal by e-mail`,"Se quiser guardar uma cópia, baixe os seus dados antes.":`If you want to keep a copy, download your data first.`,"Sem notícias deste Habblaud por 7 dias, o prédio some do mapa e, 30 dias depois, é retirado. O e-mail chega 3 dias antes da retirada.":`With no word from this Busybits for 7 days, the building disappears from the map and, 30 days later, is removed. The e-mail arrives 3 days before the removal.`,"Seus dados":`Your data`,"somem também dos backups.":`they also disappear from the backups.`,"Tem certeza? O prédio e o perfil saem do mundo assim que você digitar o código.":`Are you sure? The building and the profile leave the world as soon as you enter the code.`,"Um arquivo JSON com o que o Habblaud World guarda da sua conta: e-mail, datas, personagem, visibilidade, dispositivos, prédio, likes dados, bloqueios e denúncias feitas. Dá para baixar uma vez por dia.":`A JSON file with what Habblaud World keeps about your account: e-mail, dates, character, visibility, devices, building, likes given, blocks and reports you made. You can download it once a day.`,"O pacote contradiz o anterior de um jeito que o Habblaud não produz: o mundo o descartou, e o prédio fica com o último aceito. As próximas remessas vão normalmente.":`The packet contradicts the previous one in a way Busybits doesn't produce: the world discarded it, and the building keeps the last accepted one. The next uploads go out normally.`,"Olá!":`Hello!`,"Prédio bonito!":`Nice building!`,"Bora um café?":`Coffee?`,"Parabéns pela entrega!":`Congrats on shipping!`,"Prazer!":`Nice to meet you!`,"Até mais!":`See you!`,"Valeu!":`Thanks!`,"Boa sorte!":`Good luck!`,"Oi, oi!":`Hey there!`,"Mandou bem!":`Well done!`,"Passei por aqui":`I was here`,"Prédio lindo":`Lovely building`,"Continue assim":`Keep it up`,"Fica o café":`Have a coffee`,"Um aceno":`A wave`,"Nota 10":`Top marks`,"Com carinho":`With love`,"Decolando!":`Taking off!`,"Nome ofensivo":`Offensive name`,"Fingindo ser outra pessoa":`Pretending to be someone else`,Perseguição:`Harassment`,"Spam de cumprimentos":`Greeting spam`,"Prédio falso":`Fake building`,"Outro motivo":`Other reason`,"{0} horas de agentes trabalhando":`{0} hours of agents working`,"até 100 mil tokens":`up to 100 thousand tokens`,"até 1 milhão de tokens":`up to 1 million tokens`,"até 10 milhões de tokens":`up to 10 million tokens`,"até 100 milhões de tokens":`up to 100 million tokens`,"mais de 100 milhões de tokens":`over 100 million tokens`,"quase nada de tokens":`almost no tokens`,"sem conexão com o servidor do mundo agora":`no connection to the world server right now`,"entre na conta do Habblaud World":`sign in to your Habblaud World account`,"esperado {playerId}":`expected {playerId}`,"1 visita":`1 visit`,"{0} visitas":`{0} visits`,"1 like":`1 like`,"{0} likes":`{0} likes`,"1 carimbo":`1 stamp`,"{0} carimbos":`{0} stamps`,visita:`visit`,visitas:`visits`,like:`like`,likes:`likes`,carimbo:`stamp`,carimbos:`stamps`,"Enquanto você estava fora: {0}, {1} e {2}.":`While you were away: {0}, {1} and {2}.`,"❤️ {0} hoje":`❤️ {0} today`,"Seu prédio ganhou 1 like hoje.":`Your building got 1 like today.`,"Seu prédio ganhou {0} likes hoje.":`Your building got {0} likes today.`,"Carimbos na portaria":`Stamps at the front desk`,"Código do prédio":`Building code`,'Mande a um amigo: na cidade, "Ir para" leva direto à sua porta.':`Send it to a friend: in the city, "Go to" takes them straight to your door.`,"Ok, vi":`Got it`,"Enquanto você estava fora":`While you were away`,"Ver o meu prédio":`See my building`,"Alguém bateu na porta do seu prédio.":`Someone knocked on your building's door.`,"Bateram {0} vezes na porta do seu prédio.":`Someone knocked {0} times on your building's door.`,Desbloquear:`Unblock`,"Desbloquear {0}":`Unblock {0}`,"{0} desbloqueado.":`{0} unblocked.`,"Ninguém bloqueado.":`Nobody blocked.`,"Quem você bloqueia não te vê e você não vê a pessoa: na rua, nos prédios, nos cumprimentos e nos carimbos. Para bloquear alguém, abra o cartão da pessoa na cidade.":`People you block don't see you and you don't see them: on the street, in buildings, in greetings and in stamps. To block someone, open their card in the city.`,"Avisar quando baterem na porta":`Let me know when someone knocks`,"Quem estiver na porta do seu prédio pode bater; o aviso chega aqui no Habblaud, sem o nome de quem bateu.":`Whoever is at your building's door can knock; the notice shows up here in Busybits, without the name of who knocked.`,Bloqueados:`Blocked`,"Sem conexão com o Habblaud World agora: desbloquear precisa do prédio aceso ou da cidade aberta.":`No connection to Habblaud World right now: unblocking needs your building lit or the city open.`,"Limite do dia atingido: amanhã tem mais.":`Daily limit reached: more tomorrow.`,"Você já fez isso hoje.":`You already did that today.`,"Bloqueio feito: vocês deixam de se ver.":`Blocked: you no longer see each other.`,"Carimbo deixado na portaria.":`Stamp left at the front desk.`,Cumprimentar:`Greet`,Cumprimentos:`Greetings`,"Meta batida!":`Goal reached!`,"{0} de {1} h":`{0} of {1} h`,"A cidade consumiu ≈ {0} esta semana":`The city used ≈ {0} this week`,"A soma aparece com 10 prédios ou mais.":`The total shows up with 10 buildings or more.`,"1 prédio aceso agora":`1 building lit now`,"{0} prédios acesos agora":`{0} buildings lit now`,Ir:`Go`,"Ir até a porta deste prédio":`Go to this building's door`,"Visitar um prédio aleatório":`Visit a random building`,Aleatório:`Random`,"Ir para um prédio pelo código":`Go to a building by its code`,"Ir para":`Go to`,"O código tem o formato HB-XXXX (letras e números, sem 0, O, 1, I, L e U).":`The code looks like HB-XXXX (letters and numbers, no 0, O, 1, I, L or U).`,"Ações perto de você":`Actions near you`,"Testar os fogos":`Test the fireworks`,curtir:`like`,cumprimentar:`greet`,bater:`knock`,"A cidade bateu a meta da semana: {0}!":`The city hit this week's goal: {0}!`,"A cidade bateu a meta da semana!":`The city hit this week's goal!`,Alguém:`Someone`,"{0}: {1} {2} — G para responder":`{0}: {1} {2} — G to reply`,"Chegue mais perto da porta para curtir (até 4 passos).":`Get closer to the door to like (up to 4 steps).`,"Você já deu os 50 likes de hoje. Amanhã tem mais!":`You've used today's 50 likes. More tomorrow!`,"Não dá para curtir o próprio prédio.":`You can't like your own building.`,"Este prédio não está mais aqui.":`This building isn't here anymore.`,"Devagar com os likes: espere um pouquinho.":`Easy on the likes: wait a moment.`,"Chegue mais perto da porta para bater (até 2 passos).":`Get closer to the door to knock (up to 2 steps).`,"Você bateu nesta porta há pouco. Espere um minuto.":`You knocked on this door a moment ago. Wait a minute.`,"Você já deixou um carimbo aqui hoje.":`You already left a stamp here today.`,"Chegue mais perto da porta para carimbar.":`Get closer to the door to stamp.`,"Nenhum prédio com o código {0}.":`No building with code {0}.`,"Nenhum prédio aceso para visitar agora.":`No lit building to visit right now.`,"Devagar: espere um pouco antes de ir para outro prédio.":`Slow down: wait a bit before going to another building.`,"Devagar: um cumprimento a cada 3 segundos.":`Slow down: one greeting every 3 seconds.`,"Você já mandou as 5 denúncias de hoje.":`You've already sent today's 5 reports.`,"Chegue perto da porta de um prédio (até 4 passos) e aperte L para curtir.":`Get close to a building's door (up to 4 steps) and press L to like.`,"Chegue a 2 passos da porta de um prédio e aperte K para bater.":`Get within 2 steps of a building's door and press K to knock.`,"O dono deste prédio não recebe batidas na porta.":`This building's owner doesn't take knocks.`,"Toc, toc! Você bateu na porta de {0}.":`Knock, knock! You knocked on {0}'s door.`,"Ninguém por perto para cumprimentar.":`Nobody nearby to greet.`,"{0} bloqueado. Para desfazer: Configurações › Habblaud World › Bloqueados.":`{0} blocked. To undo: Settings › Habblaud World › Blocked.`,"Denúncia enviada. Obrigado: a moderação vai olhar.":`Report sent. Thanks: the moderators will take a look.`,"O mundo não respondeu a tempo. Tente de novo.":`The world didn't answer in time. Try again.`,Descurtir:`Unlike`,"Desfazer o like no prédio de {0}":`Undo the like on {0}'s building`,"Curtir o prédio de {0}":`Like {0}'s building`,Bater:`Knock`,"Bater na porta de {0}":`Knock on {0}'s door`,"Cumprimentar quem está perto":`Greet someone nearby`,"META DA CIDADE":`CITY GOAL`,"A meta aparece com 10 prédios acesos.":`The goal shows up with 10 lit buildings.`,PREFEITURA:`CITY HALL`,'Código do prédio: "Ir para", no minimapa, leva até a porta':`Building code: "Go to", on the minimap, takes you to the door`,"Não verificado: os dados deste prédio estão em revisão.":`Unverified: this building's data is under review.`,"Seu prédio: os likes de hoje aparecem na barra do escritório.":`Your building: today's likes show up in the office bar.`,"Chegue perto da porta para curtir (L).":`Get close to the door to like (L).`,"Mais perto da porta, dá para bater (K).":`Closer to the door, you can knock (K).`,"Motivo da denúncia":`Report reason`,"Qual o motivo?":`What's the reason?`,"Denúncia enviada.":`Report sent.`,"Confirmar: bloquear":`Confirm: block`,Bloquear:`Block`,"Vocês deixam de se ver: na rua, nos prédios, nos cumprimentos e nos carimbos.":`You stop seeing each other: on the street, in buildings, in greetings and in stamps.`,Denunciado:`Reported`,Denunciar:`Report`,"Escolha um carimbo para a portaria":`Pick a stamp for the front desk`,"Um carimbo por prédio por dia. O dono vê quantos de cada recebeu, nunca quem deixou.":`One stamp per building per day. The owner sees how many of each they got, never who left them.`,"Carimbo de hoje: {0}":`Today's stamp: {0}`,"Deixar um carimbo":`Leave a stamp`,"Carimbos da portaria":`Stamps at the front desk`,"Carimbos da portaria: nenhum ainda":`Stamps at the front desk: none yet`,"Carimbo deixado na portaria: {0}":`Stamp left at the front desk: {0}`,"Entre no prédio ou chegue mais perto da porta para carimbar.":`Go into the building or get closer to the door to stamp.`,"O carimbo não foi deixado. Tente de novo.":`The stamp wasn't left. Try again.`,"Agente do Gentle Shell":`Gentle Shell agent`," Gentle Shell: {0} pasta(s), {1} sessão(ões) aberta(s) (somente leitura).":` Gentle Shell: {0} folder(s), {1} open session(s) (read-only).`," Gentle Shell: {0}.":` Gentle Shell: {0}.`,"nenhuma pasta do Gentle Shell encontrada (defina HABBLAUD_GENTLE_SHELL_DIRS)":`no Gentle Shell folder found (set HABBLAUD_GENTLE_SHELL_DIRS)`,"desligado (HABBLAUD_GENTLE_SHELL=0)":`off (HABBLAUD_GENTLE_SHELL=0)`,"Agente principal (Gentle Shell)":`Main agent (Gentle Shell)`,"Subagente (Gentle Shell)":`Subagent (Gentle Shell)`,"Gentle Shell: falha no ciclo de leitura: {0}":`Gentle Shell: read cycle failed: {0}`,"Gentle Shell: sessão {0}: {1}":`Gentle Shell: session {0}: {1}`,"Gentle Shell: falha ao ler os subagentes: {0}":`Gentle Shell: could not read the subagents: {0}`,"Gentle Shell: transcript de {0} ilegível ({1}).":`Gentle Shell: transcript of {0} is unreadable ({1}).`,"Resume a conversa para liberar contexto":`Summarizes the conversation to free up context`,"Mostra o uso do contexto":`Shows context usage`,"Revisa um pull request":`Reviews a pull request`,"Na caixa de mensagem: /comando roda um comando da sessão; as setas, Enter e Tab escolhem na lista":`In the message box: /command runs a session command; arrows, Enter and Tab pick from the list`,"Comandos disponíveis":`Available commands`,"Sem comandos desta sessão ainda — rode /reload-plugins no terminal dela":`No commands for this session yet — run /reload-plugins in its terminal`,Seus:`Yours`,Plugins:`Plugins`,MCP:`MCP`,"Do Claude Code":`From Claude Code`,"Nenhum comando com “{0}”":`No commands matching “{0}”`,"Carregando comandos…":`Loading commands…`,"a sessão não buscou a mensagem: a extensão habblaud-pi está instalada no Gentle Shell (npm run pi:install) e a sessão aberta?":`the session did not fetch the message: is the habblaud-pi extension installed in Gentle Shell (npm run pi:install) and the session open?`,"a sessão não está com a extensão habblaud-pi conectada (npm run pi:install, e abra a sessão de novo)":`the session does not have the habblaud-pi extension connected (npm run pi:install, then reopen the session)`,"este aviso é do terminal: o Gentle Shell só aceita a resposta lá (aqui dá para devolver o pedido ao terminal)":`this notice belongs to the terminal: Gentle Shell only accepts the answer there (here you can hand the request back to the terminal)`,"Uso: npm run pi:install | pi:uninstall | pi:status [-- opções]\n --dry-run só mostra o que faria\n --dir <pasta> pasta do agente (ex.: ~/.gentle-shell/agent); repetível; substitui a descoberta":`Usage: npm run pi:install | pi:uninstall | pi:status [-- options]
|
|
115
115
|
--dry-run only shows what it would do
|
|
116
116
|
--dir <folder> agent folder (e.g. ~/.gentle-shell/agent); repeatable; replaces discovery`,'"packages" do settings.json não é uma lista; nada foi alterado':`"packages" in settings.json is not a list; nothing was changed`,"--dir precisa da pasta do agente (ex.: --dir ~/.gentle-shell/agent).":`--dir needs the agent folder (e.g. --dir ~/.gentle-shell/agent).`,"Nenhuma pasta do Gentle Shell (~/.gentle-shell/agent) nem do Pi (~/.pi/agent) encontrada: nada a fazer.":`No Gentle Shell (~/.gentle-shell/agent) or Pi (~/.pi/agent) folder found: nothing to do.`,"extensão habblaud-pi instalada":`habblaud-pi extension installed`,"extensão habblaud-pi de outro caminho do repositório (rode npm run pi:install)":`habblaud-pi extension from another repository path (run npm run pi:install)`,"extensão habblaud-pi não instalada (rode npm run pi:install)":`habblaud-pi extension not installed (run npm run pi:install)`,"extensão habblaud-pi já instalada":`habblaud-pi extension already installed`,"extensão habblaud-pi não estava instalada":`habblaud-pi extension was not installed`,"extensão habblaud-pi removida":`habblaud-pi extension removed`,"simulação: {0}":`dry run: {0}`,"backup: {0}":`backup: {0}`,"Abra a sessão do Gentle Shell de novo (ou /reload no Pi) para carregar a extensão.":`Open the Gentle Shell session again (or /reload in Pi) to load the extension.`,"[pi] Erro: {0}":`[pi] Error: {0}`,"[pi] Erro inesperado: {0}":`[pi] Unexpected error: {0}`,"Uso: npm run setup | setup:status | setup:uninstall [-- opções]\n --dry-run só mostra o que faria\n --service instala também o serviço de usuário (systemd no Linux, launchd no macOS)\n --port <n> porta do servidor (padrão 4747)\n --no-claude não instala o mod do Claude Code\n --no-pi não instala a extensão do Gentle Shell/Pi\n --rebuild reconstrói mesmo com o dist/ em dia\n --ignore-node segue mesmo com um Node fora do suportado\n --purge (uninstall) apaga também o arquivo de ambiente":`Usage: npm run setup | setup:status | setup:uninstall [-- options]
|
|
117
117
|
--dry-run only shows what it would do
|