{"_id":"@benvargas/bb-plugin-full-width","name":"@benvargas/bb-plugin-full-width","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@benvargas/bb-plugin-full-width","version":"0.1.0","type":"module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/ben-vargas/bb-plugins.git","directory":"plugins/full-width"},"engines":{"bb":">=0.40","bbPluginSdk":">=0.4.8"},"bb":{"name":"Full Width","description":"Toggle full-width chat rendering from the thread header.","branding":{"icon":"./assets/icon.svg"},"server":"./server.ts","app":"./app.tsx","skills":[]},"scripts":{"build":"bb plugin build","check":"tsc --noEmit","test":"vitest run"},"devDependencies":{"@get-bb/plugin-sdk":"0.4.8","@testing-library/react":"^16.3.2","@types/node":"^22.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0","jsdom":"^29.1.1","react":"^19.2.8","react-dom":"^19.2.8","typescript":"^5.7.0","vitest":"^4.1.11"},"gitHead":"09e3a700c87acb4a2660e5ac96fc08cf427d266b","_id":"@benvargas/bb-plugin-full-width@0.1.0","description":"Adds a toggle button to the thread header that lets the chat render across the full window width instead of bb's default 760px column.","bugs":{"url":"https://github.com/ben-vargas/bb-plugins/issues"},"homepage":"https://github.com/ben-vargas/bb-plugins#readme","_nodeVersion":"24.13.1","_npmVersion":"11.8.0","dist":{"integrity":"sha512-U6XTRm2+0PQvu1XhZTPkW5Ci/Z5QWy54FEIMTWHSkq+pE98iLKxRiOBET4kWcfWa0zfj6+cH3/cWYK3NxxLngQ==","shasum":"9593e645da94c69f061965eab98ef626147afbd8","tarball":"https://registry.npmjs.org/@benvargas/bb-plugin-full-width/-/bb-plugin-full-width-0.1.0.tgz","fileCount":14,"unpackedSize":25931,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDjTxpCjhAmpbpa7PNYoYAEWs+X2GiIECClho+jtNdS+wIgJ5vY/q9mWG1S9nio5Nh+cwJr1GfPkRMM7+MU3zWAczM="}]},"_npmUser":{"name":"benvargas","email":"ben@vargas.com"},"directories":{},"maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bb-plugin-full-width_0.1.0_1787731005540_0.19071100126699503"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-26T07:56:45.367Z","0.1.0":"2026-08-26T07:56:45.662Z","modified":"2026-08-26T07:56:45.884Z"},"maintainers":[{"name":"benvargas","email":"ben@vargas.com"}],"description":"Adds a toggle button to the thread header that lets the chat render across the full window width instead of bb's default 760px column.","homepage":"https://github.com/ben-vargas/bb-plugins#readme","repository":{"type":"git","url":"git+https://github.com/ben-vargas/bb-plugins.git","directory":"plugins/full-width"},"bugs":{"url":"https://github.com/ben-vargas/bb-plugins/issues"},"license":"MIT","readme":"# Full Width for bb\n\nAdds a toggle button to the thread header that lets the chat render across\nthe full window width instead of bb's default 760px column.\n\n## How it works\n\nbb centers every thread's timeline and composer in a `max-w-[760px]` column\ninside `[data-thread-window]`. When the toggle is on, the plugin's content\nscript injects one stylesheet rule that removes that cap:\n\n```css\nhtml[data-bb-plugin-full-width] [data-thread-window] .max-w-\\[760px\\] {\n  max-width: none;\n}\n```\n\nThe column stays in bb's normal flex flow, so it still resizes live when you\ncollapse the left sidebar or open the right panel/tools — only the artificial\ncap goes away. It applies to the main thread view, split panes, and embedded\nThreadChat panels alike; the New thread compose page is left untouched.\n\n## Install\n\n```sh\n# from GitHub, tracking compatible releases:\nbb plugin install \\\n  git:https://github.com/ben-vargas/bb-plugins.git@semver:^0.1.0 \\\n  --plugin full-width \\\n  --tag-prefix full-width/\n\n# or from a local checkout of this repository:\nbb plugin install path:. --plugin full-width\n\n# or from npm:\nbb plugin install npm:@benvargas/bb-plugin-full-width@^0.1.0\n```\n\n## Toggle and persistence\n\n- The toggle renders in the thread header's action row (bb's \"…\" context\n  menu is not extensible by plugins).\n- The preference persists per bb client in localStorage and syncs across\n  windows of the same profile. If storage is unavailable (private mode,\n  quota), the toggle still works for the current window via in-memory state;\n  only persistence and cross-window sync are lost.\n- Disabling or uninstalling the plugin restores the default width\n  immediately.\n\n## Compatibility note\n\nThe stylesheet targets bb-internal markup (`data-thread-window` and the\n`max-w-[760px]` utility, current as of bb 0.40). If a future bb release\nrenames either, the toggle degrades to a harmless no-op until this plugin is\nupdated.\n","readmeFilename":"README.md","_rev":"1-a45bf029b0999bf36f64917f14f976e0"}