busybits 0.0.0-stage → 2.0.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 +26 -0
- package/CHANGELOG.md +675 -0
- package/LICENSE +21 -0
- package/README.es.md +1457 -0
- package/README.fr.md +1435 -0
- package/README.md +1605 -2
- package/README.pt-BR.md +1373 -0
- package/dist/build.json +5 -0
- package/dist/cli/busybits.js +14708 -0
- package/dist/client/assets/art/framed/painting-abstract.png +0 -0
- package/dist/client/assets/art/framed/painting-beach.png +0 -0
- package/dist/client/assets/art/framed/painting-cat.png +0 -0
- package/dist/client/assets/art/framed/painting-city-night.png +0 -0
- package/dist/client/assets/art/framed/painting-mountains.png +0 -0
- package/dist/client/assets/art/framed/painting-rio.png +0 -0
- package/dist/client/assets/art/framed/painting-sunflowers.png +0 -0
- package/dist/client/assets/art/framed/painting-wave.png +0 -0
- package/dist/client/assets/art/framed/painting-wide-aurora.png +0 -0
- package/dist/client/assets/art/framed/painting-wide-color-fields.png +0 -0
- package/dist/client/assets/art/framed/painting-wide-forest-lake.png +0 -0
- package/dist/client/assets/art/painting-abstract.png +0 -0
- package/dist/client/assets/art/painting-beach.png +0 -0
- package/dist/client/assets/art/painting-cat.png +0 -0
- package/dist/client/assets/art/painting-city-night.png +0 -0
- package/dist/client/assets/art/painting-mountains.png +0 -0
- package/dist/client/assets/art/painting-rio.png +0 -0
- package/dist/client/assets/art/painting-sunflowers.png +0 -0
- package/dist/client/assets/art/painting-wave.png +0 -0
- package/dist/client/assets/art/painting-wide-aurora.png +0 -0
- package/dist/client/assets/art/painting-wide-color-fields.png +0 -0
- package/dist/client/assets/art/painting-wide-forest-lake.png +0 -0
- package/dist/client/assets/art/poster-bug.png +0 -0
- package/dist/client/assets/art/poster-cat.png +0 -0
- package/dist/client/assets/art/poster-code.png +0 -0
- package/dist/client/assets/art/poster-coffee.png +0 -0
- package/dist/client/assets/art/poster-rocket.png +0 -0
- package/dist/client/assets/art/poster-ship-it.png +0 -0
- package/dist/client/assets/brand/apple-touch-icon.png +0 -0
- package/dist/client/assets/brand/favicon-16.png +0 -0
- package/dist/client/assets/brand/favicon-32.png +0 -0
- package/dist/client/assets/brand/icon-192.png +0 -0
- package/dist/client/assets/brand/icon-512.png +0 -0
- package/dist/client/assets/brand/logo-detailed.png +0 -0
- package/dist/client/assets/brand/logo-mark.png +0 -0
- package/dist/client/assets/brand/logo-mark@4x.png +0 -0
- package/dist/client/assets/brand/signage.png +0 -0
- package/dist/client/assets/brand/signage@4x.png +0 -0
- package/dist/client/assets/emoji/LICENSE-SerenityOS.txt +28 -0
- package/dist/client/assets/emoji/sheet.png +0 -0
- package/dist/client/assets/illustrations/empty-office.png +0 -0
- package/dist/client/assets/manifest.json +260 -0
- package/dist/client/assets/og-image.png +0 -0
- package/dist/client/bundle/app-AwZeKIeu.js +24 -0
- package/dist/client/bundle/app-CoDOLwxe.css +1 -0
- package/dist/client/bundle/city-DPTwQLdi.css +1 -0
- package/dist/client/bundle/city-YoIG0FsX.js +1 -0
- package/dist/client/bundle/daystats-DGzYOP8l.js +1 -0
- package/dist/client/bundle/dom-D2vx0KTo.js +1 -0
- package/dist/client/bundle/en-DBfNt5uV.js +169 -0
- package/dist/client/bundle/es-pnWdszTE.js +169 -0
- package/dist/client/bundle/format-C7qb6Cn-.js +1 -0
- package/dist/client/bundle/fr-CY8q9pj4.js +169 -0
- package/dist/client/bundle/main-DktU0GfB.js +2 -0
- package/dist/client/bundle/pixelify-sans-cyrillic-400-normal-Ckz2YJkH.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-cyrillic-400-normal-DfOZNMlW.woff +0 -0
- package/dist/client/bundle/pixelify-sans-cyrillic-500-normal--wrb4dVK.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-cyrillic-500-normal-CR9SIKMr.woff +0 -0
- package/dist/client/bundle/pixelify-sans-cyrillic-600-normal-B3EuUOZG.woff +0 -0
- package/dist/client/bundle/pixelify-sans-cyrillic-600-normal-BhqNJYOZ.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-cyrillic-700-normal-BrZTw8tu.woff +0 -0
- package/dist/client/bundle/pixelify-sans-cyrillic-700-normal-CYtG5Rfp.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-latin-400-normal-DLrIX9QE.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-latin-400-normal-JapMNN6Z.woff +0 -0
- package/dist/client/bundle/pixelify-sans-latin-500-normal-Bq6pAlou.woff +0 -0
- package/dist/client/bundle/pixelify-sans-latin-500-normal-DC052d-m.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-latin-600-normal-BNlgYbDL.woff +0 -0
- package/dist/client/bundle/pixelify-sans-latin-600-normal-Dd_Dy7u5.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-latin-700-normal-BctWAS0u.woff +0 -0
- package/dist/client/bundle/pixelify-sans-latin-700-normal-D3Xxx3QE.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-latin-ext-400-normal-BkfTUL4s.woff +0 -0
- package/dist/client/bundle/pixelify-sans-latin-ext-400-normal-DdH6zlBQ.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-latin-ext-500-normal-BHT4w5qI.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-latin-ext-500-normal-Bkr-oq6R.woff +0 -0
- package/dist/client/bundle/pixelify-sans-latin-ext-600-normal-CDaIumwU.woff +0 -0
- package/dist/client/bundle/pixelify-sans-latin-ext-600-normal-Dha6RiOG.woff2 +0 -0
- package/dist/client/bundle/pixelify-sans-latin-ext-700-normal-BadXkHzZ.woff +0 -0
- package/dist/client/bundle/pixelify-sans-latin-ext-700-normal-ClyJstAh.woff2 +0 -0
- package/dist/client/bundle/ptypane-BrP-ENHg.css +1 -0
- package/dist/client/bundle/ptypane-NIZ2Y8QM.js +16 -0
- package/dist/client/bundle/room-name-CFJfHE5L.js +1 -0
- package/dist/client/bundle/simulator-BnBPS_Ws.js +7 -0
- package/dist/client/bundle/world-model-BIYmgAWC.js +1 -0
- package/dist/client/bundle/world-stream-BRkL9Eme.js +1 -0
- package/dist/client/index.html +41 -0
- package/dist/client/manifest.webmanifest +17 -0
- package/dist/server/index.js +40327 -0
- package/mod/README.md +193 -0
- package/mod/habblaud/.claude-plugin/plugin.json +11 -0
- package/mod/habblaud/hooks/hooks.json +4 -0
- package/mod/habblaud/hooks/register.ts +517 -0
- package/mod/habblaud-codex/hook.mjs +274 -0
- package/mod/habblaud-mensagens/.claude-plugin/plugin.json +11 -0
- package/mod/habblaud-mensagens/hooks/hooks.json +4 -0
- package/mod/habblaud-mensagens/hooks/register.ts +384 -0
- package/mod/habblaud-permissoes/.claude-plugin/plugin.json +11 -0
- package/mod/habblaud-permissoes/hooks/hooks.json +18 -0
- package/mod/habblaud-permissoes/hooks/permission-hook.mjs +265 -0
- package/mod/habblaud-pi/core.ts +325 -0
- package/mod/habblaud-pi/extension.ts +119 -0
- package/mod/habblaud-pi/package.json +12 -0
- package/package.json +96 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,s as t}from"./main-DktU0GfB.js";var n=1e3,r=60*n,i=60*r,a=24*i,o=e(),s=new Intl.NumberFormat(o,{maximumFractionDigits:1}),c=new Intl.NumberFormat(o,{maximumFractionDigits:0}),l=new Intl.NumberFormat(o,{style:`currency`,currency:`USD`,minimumFractionDigits:2,maximumFractionDigits:2}),u=new Intl.DateTimeFormat(o,{hour:`2-digit`,minute:`2-digit`,hourCycle:`h23`}),d=new Intl.DateTimeFormat(o,{hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hourCycle:`h23`}),f=new Intl.DateTimeFormat(o,{weekday:`short`}),p=new Intl.DateTimeFormat(o,{day:`2-digit`,month:`short`,hour:`2-digit`,minute:`2-digit`,hourCycle:`h23`});function m(e,o){let s=o-e;return!Number.isFinite(s)||s<5*n?t(`agora`):s<r?t(`há {0} s`,[Math.floor(s/n)]):s<i?t(`há {0} min`,[Math.floor(s/r)]):s<a?t(`há {0} h`,[Math.floor(s/i)]):t(`há {0} d`,[Math.floor(s/a)])}function h(e){let t=Math.max(0,e);if(t<r)return`${Math.floor(t/n)} s`;if(t<i)return`${Math.floor(t/r)} min`;if(t<a){let e=Math.floor(t/i),n=Math.floor(t%i/r);return n?`${e} h ${n} min`:`${e} h`}let o=Math.floor(t/a),s=Math.floor(t%a/i);return s?`${o} d ${s} h`:`${o} d`}function g(e){let t=Number.isFinite(e)?Math.max(0,e):0;if(t>=a)return h(t);let r=Math.floor(t/n),i=Math.floor(r/3600),o=Math.floor(r%3600/60),s=String(r%60).padStart(2,`0`);return i>0?`${i}:${String(o).padStart(2,`0`)}:${s}`:`${o}:${s}`}function _(e,n){let i=e-n;return i<=0?t(`agora`):i<r?t(`em menos de 1 min`):`em ${h(i)}`}function v(e){let t=new Date(e);return t.setHours(0,0,0,0),t.getTime()}function y(e,t){return Math.round((v(e)-v(t))/a)}function b(e,n){if(!Number.isFinite(e)||e<=n)return``;let r=u.format(e),i=y(e,n);return i<=0?t(`às {0}`,[r]):i===1?t(`amanhã às {0}`,[r]):`${f.format(e)}, ${r}`}function x(e){let t=Math.max(0,e);if(t<r)return`${Math.floor(t/n)}s`;if(t<i)return`${Math.floor(t/r)}min`;if(t<a){let e=Math.floor(t/i),n=Math.floor(t%i/r);return n?`${e}h${String(n).padStart(2,`0`)}`:`${e}h`}let o=Math.floor(t/a),s=Math.floor(t%a/i);return s?`${o}d${s}h`:`${o}d`}var S=5*i,C=7*a;function w(e,n,r,i){if(!e)return null;let o=e.resetsAt!==void 0&&Number.isFinite(e.resetsAt)?e.resetsAt:void 0;if(o===void 0?r-n>=i:o<=r)return{pct:null,renewed:!0,reset:t(`renovada`),resetShort:t(`renovada`),summary:t(`renovada depois da última leitura (uso atual desconhecido)`)};let s=j(e.utilization);if(o===void 0)return{pct:s,renewed:!1,reset:``,resetShort:``,summary:t(`{0}% usado`,[s])};let c=o-r,l;if(c<a)l=_(o,r);else{let e=u.format(o);l=y(o,r)===1?t(`amanhã, {0}`,[e]):`${f.format(o)}, ${e}`}let d=b(o,r);return{pct:s,renewed:!1,reset:l,resetShort:x(c),summary:t(`{0}% usado · reinicia {1} ({2})`,[s,d,_(o,r)])}}function T(e,t,n=o){let r=new Intl.DateTimeFormat(n,{hour:`numeric`,minute:`2-digit`}).format(e),i=-y(e,t);return i<=0?r:i<=6?`${new Intl.DateTimeFormat(n,{weekday:`long`}).format(e)} ${r}`:`${new Intl.DateTimeFormat(n,{day:`numeric`,month:`short`}).format(e).replace(/\./g,``)} ${r}`}function E(e,t=!0){return(t?d:u).format(e)}function D(e){return p.format(e)}function O(e){let t=Math.max(0,e);return t<1e3?c.format(t):t<1e6?`${s.format(t/1e3)} k`:`${s.format(t/1e6)} M`}function k(e){return c.format(e)}function A(e){return l.format(e).replace(/ /g,` `)}function j(e){return e===void 0||!Number.isFinite(e)?0:Math.round(Math.min(100,Math.max(0,e)))}function M(e){return e>=80?`crit`:e>=50?`warn`:`ok`}function N(e,t,n){return`${k(e)} ${e===1?t:n}`}function P(e){return e.normalize(`NFD`).replace(/[̀-ͯ]/g,``).toLowerCase().trim()}function F(e){if(!e)return`—`;let t=/^gpt-(\d+(?:\.\d+)?[a-z]?)((?:-[a-z][a-z0-9]*)*)$/i.exec(e);if(t){let e=t[2].split(`-`).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase());return[`GPT-${t[1]}`,...e].join(` `)}let n=/claude-(?:(\d{1,2}(?:-\d{1,2})?)-)?([a-z]+)(?:-(\d{1,2})(?!\d)(?:-(\d{1,2})(?!\d))?)?/i.exec(e);if(!n)return e;let r=n[2].charAt(0).toUpperCase()+n[2].slice(1).toLowerCase(),i=n[1]?n[1].replace(`-`,`.`):n[3]?n[4]?`${n[3]}.${n[4]}`:n[3]:``;return i?`${r} ${i}`:r}var I={default:t(`Padrão (pergunta)`),acceptEdits:t(`Aceita edições`),plan:t(`Modo plano`),bypassPermissions:t(`Sem confirmações`),dontAsk:t(`Não pergunta`),auto:t(`Automático`)};function L(e){return e?I[e]??e:`—`}function R(e){return e.replace(/^\/(?:Users|home)\/[^/]+(?=\/|$)/,`~`).replace(/^[A-Za-z]:\\Users\\[^\\]+(?=\\|$)/,`~`)}export{R as _,D as a,k as c,A as d,P as f,m as g,F as h,E as i,O as l,N as m,C as n,h as o,L as p,y as r,g as s,S as t,T as u,M as v,w as y};
|