offsite 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +15 -15
  2. package/apps/server/dist/main.mjs +298 -143
  3. package/apps/server/dist/main.mjs.map +1 -1
  4. package/apps/server/drizzle/20261017120143_device_tokens/migration.sql +15 -0
  5. package/apps/server/drizzle/20261017120143_device_tokens/snapshot.json +305 -0
  6. package/apps/web/dist/apple-touch-icon.png +0 -0
  7. package/apps/web/dist/assets/{angular-html-DTNmgvth.js → angular-html-CtL9u31h.js} +1 -1
  8. package/apps/web/dist/assets/{angular-ts-DOOLa99A.js → angular-ts-D4IFBcAh.js} +1 -1
  9. package/apps/web/dist/assets/{apl-CSWmNqJI.js → apl-CqnJhScR.js} +1 -1
  10. package/apps/web/dist/assets/{astro-CK7We5bo.js → astro-Dn1_avL_.js} +1 -1
  11. package/apps/web/dist/assets/{blade-B9Q94PMc.js → blade-BKSa6Bs3.js} +1 -1
  12. package/apps/web/dist/assets/{c-D05zRIsd.js → c-C8sbMt_8.js} +1 -1
  13. package/apps/web/dist/assets/{chapel-CJbjuVPR.js → chapel-BWxXvR2-.js} +1 -1
  14. package/apps/web/dist/assets/{cobol-CE0VhU2R.js → cobol-DNoVp--S.js} +1 -1
  15. package/apps/web/dist/assets/{coffee-C0i-RL39.js → coffee-m1P3e2U1.js} +1 -1
  16. package/apps/web/dist/assets/{cpp-CBJhfD_V.js → cpp-CDvshXRJ.js} +1 -1
  17. package/apps/web/dist/assets/{crystal-DRdgVTW1.js → crystal-C4b65AQe.js} +1 -1
  18. package/apps/web/dist/assets/{css-DgMip4qW.js → css-CqQV9eEE.js} +1 -1
  19. package/apps/web/dist/assets/{edge-BCmeW_3H.js → edge-CEdbZQ1U.js} +1 -1
  20. package/apps/web/dist/assets/{elixir-BiRSxKnc.js → elixir-CYDX6OgA.js} +1 -1
  21. package/apps/web/dist/assets/{elm-zBiqCp9W.js → elm-10RuU89D.js} +1 -1
  22. package/apps/web/dist/assets/{erb-1QviMyT9.js → erb-BiMfBUaM.js} +1 -1
  23. package/apps/web/dist/assets/{git-rebase-TjFhp_Gn.js → git-rebase-D4Se-3SO.js} +1 -1
  24. package/apps/web/dist/assets/{glimmer-js-dThwC_hZ.js → glimmer-js-sKOVTqrH.js} +1 -1
  25. package/apps/web/dist/assets/{glimmer-ts-cCThNW17.js → glimmer-ts-DWMGXcHA.js} +1 -1
  26. package/apps/web/dist/assets/{glsl-BxmyIQYG.js → glsl-6ltM2JGZ.js} +1 -1
  27. package/apps/web/dist/assets/{graphql-DygyczJj.js → graphql-DwyBbitO.js} +1 -1
  28. package/apps/web/dist/assets/{hack-Bl1_oIjY.js → hack-DKDbxv34.js} +1 -1
  29. package/apps/web/dist/assets/{haml-CeOBocB0.js → haml-Bsfivw5f.js} +1 -1
  30. package/apps/web/dist/assets/{handlebars-Bw1KMTCv.js → handlebars-B3HW0h8N.js} +1 -1
  31. package/apps/web/dist/assets/{html-BaNo1IFo.js → html-D9EhGmAq.js} +1 -1
  32. package/apps/web/dist/assets/{html-derivative-f4LhlsLO.js → html-derivative-Cs1eIi3k.js} +1 -1
  33. package/apps/web/dist/assets/{http-Be2FOF-U.js → http-BG4vxnc2.js} +1 -1
  34. package/apps/web/dist/assets/{hurl-BrtPQQhS.js → hurl-OIF0UEfX.js} +1 -1
  35. package/apps/web/dist/assets/index-CEx2Hw3M.js +1203 -0
  36. package/apps/web/dist/assets/{java-Bum5bcia.js → java-2iLSH1xc.js} +1 -1
  37. package/apps/web/dist/assets/{javascript-C5oYhZKk.js → javascript-Di7CdqTh.js} +1 -1
  38. package/apps/web/dist/assets/{jinja-CNXoe8pn.js → jinja-2mjIAN_z.js} +1 -1
  39. package/apps/web/dist/assets/{jison-g1hzxo4W.js → jison-Ciw1rqtP.js} +1 -1
  40. package/apps/web/dist/assets/{json-CiAAuc5j.js → json-D7Dp9EFU.js} +1 -1
  41. package/apps/web/dist/assets/{jsx-Z0awY4ip.js → jsx-WEelr3xJ.js} +1 -1
  42. package/apps/web/dist/assets/{julia-DX3JjwcM.js → julia-DL3m48KZ.js} +1 -1
  43. package/apps/web/dist/assets/{just-DS6eCX0g.js → just-B-5HaJEz.js} +1 -1
  44. package/apps/web/dist/assets/{latex-CaBic_pJ.js → latex-DKmfapvy.js} +1 -1
  45. package/apps/web/dist/assets/{liquid-DMaOBf3v.js → liquid-Bqxp18sH.js} +1 -1
  46. package/apps/web/dist/assets/{lua-DeLz5pfA.js → lua-BSLGBVbN.js} +1 -1
  47. package/apps/web/dist/assets/{marko-DqlzpgnR.js → marko-yLzCBGNR.js} +1 -1
  48. package/apps/web/dist/assets/{mdc-CRcSVpSn.js → mdc-DSGSIXIk.js} +1 -1
  49. package/apps/web/dist/assets/{nginx-BvszHPa-.js → nginx-BF1hRuVH.js} +1 -1
  50. package/apps/web/dist/assets/{nim-B19-Hebo.js → nim-kAH67IJv.js} +1 -1
  51. package/apps/web/dist/assets/{org-Dx7yMTgG.js → org-DCuW6Ito.js} +1 -1
  52. package/apps/web/dist/assets/{perl-C-dISCJW.js → perl-ChYkJruC.js} +1 -1
  53. package/apps/web/dist/assets/{php-BHBxrwsl.js → php-Dy0o5CHL.js} +1 -1
  54. package/apps/web/dist/assets/{pug-4a3x4vRs.js → pug-C-vFGcyR.js} +1 -1
  55. package/apps/web/dist/assets/{qml-CGOhzFqi.js → qml-Bbhsm3bz.js} +1 -1
  56. package/apps/web/dist/assets/{r-8jr0rtQL.js → r-D6AOSU_n.js} +1 -1
  57. package/apps/web/dist/assets/{razor-BDrURPIA.js → razor-CsDTm1QE.js} +1 -1
  58. package/apps/web/dist/assets/{regexp-Cg-MfP18.js → regexp-Cxw4Sy2X.js} +1 -1
  59. package/apps/web/dist/assets/{rst-0OrP55QZ.js → rst-BdEa7eTr.js} +1 -1
  60. package/apps/web/dist/assets/{ruby-dAApWLhj.js → ruby-CrX6uYJq.js} +1 -1
  61. package/apps/web/dist/assets/{sas-3_hKTjL9.js → sas-Dq1DiCgf.js} +1 -1
  62. package/apps/web/dist/assets/{scss-D6ollEQv.js → scss-Cq-_Yezx.js} +1 -1
  63. package/apps/web/dist/assets/{shellscript-V3H5Rwnn.js → shellscript-N1TdW_Vo.js} +1 -1
  64. package/apps/web/dist/assets/{shellsession-TxydKEoU.js → shellsession-DGy-5gMa.js} +1 -1
  65. package/apps/web/dist/assets/{soy-t3rHc1tL.js → soy-BZmv_HHk.js} +1 -1
  66. package/apps/web/dist/assets/{sql-B-NkeM8R.js → sql-B0TfXN6P.js} +1 -1
  67. package/apps/web/dist/assets/{stata-BW6neeVL.js → stata-D0cL92SE.js} +1 -1
  68. package/apps/web/dist/assets/{surrealql-CRBKdx6K.js → surrealql-B9RWrsWf.js} +1 -1
  69. package/apps/web/dist/assets/{svelte-DTTmtyn-.js → svelte-Erfh9F_0.js} +1 -1
  70. package/apps/web/dist/assets/{templ-CCBYQttY.js → templ-C1hdk1C3.js} +1 -1
  71. package/apps/web/dist/assets/{tex-D9XxqR5N.js → tex-B6y5Z0Oe.js} +1 -1
  72. package/apps/web/dist/assets/{ts-tags-CI4pWHnF.js → ts-tags-B8Q3bBJx.js} +1 -1
  73. package/apps/web/dist/assets/{tsx-DlfK3Vuf.js → tsx-CA2zlxVX.js} +1 -1
  74. package/apps/web/dist/assets/{twig-D-C2s1f2.js → twig-xr1-p8qn.js} +1 -1
  75. package/apps/web/dist/assets/{typescript-BnqYTwqM.js → typescript-Bdd7ljtG.js} +1 -1
  76. package/apps/web/dist/assets/{typst-DdTyavvE.js → typst-BGU6c2s1.js} +1 -1
  77. package/apps/web/dist/assets/{vue-zbXTTw4n.js → vue-CxnbGcMK.js} +1 -1
  78. package/apps/web/dist/assets/{vue-html-CIXNcZez.js → vue-html-D3pkBH4b.js} +1 -1
  79. package/apps/web/dist/assets/{vue-vine-Czo_W6u3.js → vue-vine-0adNns8e.js} +1 -1
  80. package/apps/web/dist/assets/{xml-DWv3jkXo.js → xml-Bf5yulh9.js} +1 -1
  81. package/apps/web/dist/assets/{xsl-BiggF1J3.js → xsl-DnGCH2C6.js} +1 -1
  82. package/apps/web/dist/assets/{yaml-D9oC3m1d.js → yaml-ALFPjwWA.js} +1 -1
  83. package/apps/web/dist/icon-192.png +0 -0
  84. package/apps/web/dist/icon-512.png +0 -0
  85. package/apps/web/dist/icon-maskable-512.png +0 -0
  86. package/apps/web/dist/icon.svg +4 -2
  87. package/apps/web/dist/index.html +3 -3
  88. package/apps/web/dist/manifest.webmanifest +1 -0
  89. package/apps/web/dist/sw.js +1 -1
  90. package/package.json +1 -1
  91. package/apps/web/dist/assets/index-NWUHLKte.js +0 -1203
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # offsite
1
+ <img src="apps/web/public/icon-512.png" width="96" alt="OffSite logo">
2
2
 
3
- Claude Code in your browser. It uses the same sessions as the CLI, so you can start in one and resume in the other.
3
+ # OffSite
4
4
 
5
- ## Usage
5
+ Claude Code, Codex and OpenCode in your browser. It uses the same sessions as their CLIs, so you can start in one and resume in the other.
6
6
 
7
- Requires Node.js 24+ and [Claude Code](https://code.claude.com), installed and logged in.
7
+ ## Usage
8
8
 
9
9
  ```sh
10
10
  npx offsite
@@ -20,21 +20,21 @@ Then open the pairing link it prints. It pairs this browser with the server, so
20
20
  | `offsite pair` | Makes a pairing token for another browser and prints its link. `--name` labels it |
21
21
  | `offsite unpair` | Lists paired browsers so you can pick which to unpair |
22
22
 
23
- | Flag | Default | What it sets |
24
- | ------------ | ------------ | ---------------------------------------------------------------------------------------- |
25
- | `--host` | `127.0.0.1` | Address to listen on |
26
- | `--port` | `47841` | Port to listen on |
27
- | `--dir` | `~/.offsite` | Folder for settings and accounts |
28
- | `--no-auth` | auth on | Accept connections without the pairing token |
29
- | `--no-pair` | pair on | Don't create a pairing token or print pairing links on start |
30
- | `--fallback` | none | Address the pairing links add for when this one is unreachable, e.g. a Cloudflare tunnel |
23
+ | Flag | Default | What it sets |
24
+ | ----------- | ------------ | ------------------------------------------------------------ |
25
+ | `--host` | `127.0.0.1` | Address to listen on |
26
+ | `--port` | `47841` | Port to listen on |
27
+ | `--dir` | `~/.offsite` | Folder for settings and accounts |
28
+ | `--no-auth` | auth on | Accept connections without the pairing token |
29
+ | `--no-pair` | pair on | Don't create a pairing token or print pairing links on start |
30
+ | `--pwa` | off | Serve the web app as an installable app that works offline |
31
31
 
32
- Pairing tokens stay in `tokens.json` inside `--dir`. A running offsite disconnects an unpaired browser within seconds.
32
+ Pairing tokens stay in `tokens.json` inside `--dir`. A running OffSite disconnects an unpaired browser within seconds.
33
33
 
34
34
  > [!WARNING]
35
- > With `--no-auth`, anyone who can reach its port, including any website open in your browser, can run Claude Code and open a terminal on your machine.
35
+ > With `--no-auth`, anyone who can reach its port, including any website open in your browser, can run your coding agents and open a terminal on your machine.
36
36
 
37
- Don't use the same session in offsite and the CLI at the same time. Switching between them is fine.
37
+ Don't use the same session in OffSite and the CLI at the same time. Switching between them is fine.
38
38
 
39
39
  ## Separate instances
40
40