droidsembly 0.4.0-beta.1 → 0.4.0-beta.3

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 (116) hide show
  1. package/LICENSE +21 -21
  2. package/README.it.md +193 -184
  3. package/README.md +193 -184
  4. package/bin/distribution.d.ts +3 -3
  5. package/bin/distribution.js +48 -48
  6. package/dist/THIRD_PARTY_LICENSES.txt +240 -240
  7. package/dist/assets/AccessibilitySettings-HB1JfQbh.js +30 -0
  8. package/dist/assets/AppViewer-0Bly3EdB.js +5 -0
  9. package/dist/assets/Balloon-B6odnAlm.js +1 -0
  10. package/dist/assets/{Batched-BOgjreKO.js → Batched-CTJWq46z.js} +1 -1
  11. package/dist/assets/Birds-DSS0OIz9.js +1 -0
  12. package/dist/assets/Blimp-CZt6dddK.js +1 -0
  13. package/dist/assets/{BufferGeometryUtils-BsmWvcA2.js → BufferGeometryUtils-CmpUrBC5.js} +1 -1
  14. package/dist/assets/Duck-BnRLkodp.js +1 -0
  15. package/dist/assets/{Effects-CNyhhFkE.js → Effects-Bkewth1L.js} +2 -2
  16. package/dist/assets/{Fireworks-CJfDJOeb.js → Fireworks-Cvn8YKWd.js} +2 -2
  17. package/dist/assets/Helicopter-BDrFQMNX.js +1 -0
  18. package/dist/assets/{Hurricane-9WqZGyZg.js → Hurricane-C8hyFXjx.js} +2 -2
  19. package/dist/assets/Kaiju-Bxxe9DG0.js +1 -0
  20. package/dist/assets/Meteors-UdYL0Tbv.js +1 -0
  21. package/dist/assets/MissionConsole-DJRtojZP.js +1 -0
  22. package/dist/assets/Office-9Mank16i.js +563 -0
  23. package/dist/assets/PhotoPanel-C_njIXp0.js +1 -0
  24. package/dist/assets/PhotoScene-DwpeJjGe.js +115 -0
  25. package/dist/assets/Plane-DzvUAUYE.js +1 -0
  26. package/dist/assets/Pocket-A1iI6Ivy.js +2 -0
  27. package/dist/assets/{Rainbow-CdcWsmW8.js → Rainbow-CV1rD6rW.js} +2 -2
  28. package/dist/assets/Roof-DSpKcGXK.js +34 -0
  29. package/dist/assets/{Shell-BmnZn4UL.js → Shell-GaQY3zre.js} +2 -2
  30. package/dist/assets/Skywriting-D4B2ZvH7.js +1 -0
  31. package/dist/assets/TerminalView-DhmLqjYn.js +17 -0
  32. package/dist/assets/ToyWorld-DeQUxcuy.js +1 -0
  33. package/dist/assets/Ufo-CitoxReu.js +1 -0
  34. package/dist/assets/Whale-Btx5ph-T.js +1 -0
  35. package/dist/assets/all-gw-szDg1.js +11 -0
  36. package/dist/assets/bloomMarks-DRhDp19k.js +4231 -0
  37. package/dist/assets/cheerRules-DWb8Qwzg.js +1 -0
  38. package/dist/assets/{cityLayout-7ckfe3wf.js → cityLayout-aA2Ktgpu.js} +1 -1
  39. package/dist/assets/{dogState-DiOvoobI.js → dogState-DY7tJEVD.js} +1 -1
  40. package/dist/assets/{doors-BHKj8tkO.js → doors-BlKvxXVp.js} +1 -1
  41. package/dist/assets/{gallery-ColCPQQE.js → gallery-COKuWb9E.js} +1 -1
  42. package/dist/assets/gate-D0uU0wv5.js +2 -0
  43. package/dist/assets/index-CDJgPTOC.js +10 -0
  44. package/dist/assets/{instantReplay-DGiLgvkQ.js → instantReplay-BjoV6jrY.js} +1 -1
  45. package/dist/assets/interact-0jqx03Xr.js +1 -0
  46. package/dist/assets/jsx-runtime-CXW0f58S.js +1 -0
  47. package/dist/assets/jukeboxSongs-CUwHJ1cS.js +1 -0
  48. package/dist/assets/{kit-C6ByUQ-Y.js → kit-n-eqZ1AT.js} +1 -1
  49. package/dist/assets/mic-BnAa4E99.js +1 -0
  50. package/dist/assets/photoMode-BybFMLKC.js +1 -0
  51. package/dist/assets/{pipeline-BOTOZ69L.js → pipeline-BGPWXegt.js} +1 -1
  52. package/dist/assets/rapier-CrXmTSyE.js +1 -0
  53. package/dist/assets/rig-DfdntE8m.js +1 -0
  54. package/dist/assets/rolldown-runtime-XKyaHtl9.js +1 -0
  55. package/dist/assets/{speechLanguage-BtfdhZNI.js → speechLanguage-DfsQvU9M.js} +1 -1
  56. package/dist/assets/store-CXLtXw8e.js +5 -0
  57. package/dist/assets/useDayTime-BjBDzh_t.js +1 -0
  58. package/dist/assets/{useGraphics-Cif18p7Q.js → useGraphics-Bg6L4EdS.js} +1 -1
  59. package/dist/assets/voiceMessages-CFLyZLZ4.js +1 -0
  60. package/dist/assets/weatherState-BJVm5hU-.js +1 -0
  61. package/dist/icons/Sora-OFL.txt +93 -93
  62. package/dist/icons/badge.svg +1 -1
  63. package/dist/icons/droid-antenna.svg +29 -29
  64. package/dist/icons/droid-eyes.svg +29 -29
  65. package/dist/icons/droid-shell.svg +29 -29
  66. package/dist/icons/droid-spark.svg +29 -29
  67. package/dist/icons/droid-wire.svg +29 -29
  68. package/dist/icons/favicon.svg +1 -1
  69. package/dist/icons/icon.svg +29 -29
  70. package/dist/icons/logo-dark.svg +29 -29
  71. package/dist/icons/logo-light.svg +29 -29
  72. package/dist/index.html +26 -25
  73. package/dist/manifest.webmanifest +19 -19
  74. package/dist/third-party-licenses.json +3 -3
  75. package/dist-server/browser-init.js +24 -24
  76. package/dist-server/index.js +125 -42
  77. package/dist-server/index.js.map +4 -4
  78. package/dist-server/ptyHost.js.map +1 -1
  79. package/package.json +98 -98
  80. package/dist/assets/AccessibilitySettings-DSmFk9JC.js +0 -30
  81. package/dist/assets/AppViewer-alNn4TBB.js +0 -5
  82. package/dist/assets/Balloon-UTs7npGo.js +0 -1
  83. package/dist/assets/Birds-BA2HM-AD.js +0 -1
  84. package/dist/assets/Blimp-CTykuz6B.js +0 -1
  85. package/dist/assets/Duck-DH63jUrP.js +0 -1
  86. package/dist/assets/Helicopter-CW_SP7xP.js +0 -1
  87. package/dist/assets/Kaiju-SpSi_jBg.js +0 -1
  88. package/dist/assets/Meteors-DvjhLfbF.js +0 -1
  89. package/dist/assets/MissionConsole-BEP5CdC8.js +0 -1
  90. package/dist/assets/Office-BBnd6tyn.js +0 -563
  91. package/dist/assets/PhotoPanel-DehErnsv.js +0 -1
  92. package/dist/assets/PhotoScene-Ce-dzToM.js +0 -115
  93. package/dist/assets/Plane-0nfvzL_c.js +0 -1
  94. package/dist/assets/Pocket-CBoyL0ra.js +0 -2
  95. package/dist/assets/Roof-mkMKniSZ.js +0 -34
  96. package/dist/assets/Skywriting-06dZPAfg.js +0 -1
  97. package/dist/assets/TerminalView-wlhSixSH.js +0 -17
  98. package/dist/assets/ToyWorld-Cuu9aW-K.js +0 -1
  99. package/dist/assets/Ufo-iHaoe5t1.js +0 -1
  100. package/dist/assets/Whale-DZg88zIX.js +0 -1
  101. package/dist/assets/all-CYErCTCA.js +0 -11
  102. package/dist/assets/bloomMarks-DariC6lY.js +0 -4231
  103. package/dist/assets/cheerRules-CZGSrxOB.js +0 -1
  104. package/dist/assets/gate-BplJKcLG.js +0 -2
  105. package/dist/assets/index-B6qvKFYN.js +0 -10
  106. package/dist/assets/interact-0qw7BGhL.js +0 -1
  107. package/dist/assets/jsx-runtime-BFUkm7bt.js +0 -1
  108. package/dist/assets/jukeboxSongs-CjbAzAeb.js +0 -1
  109. package/dist/assets/mic-B316hcCe.js +0 -1
  110. package/dist/assets/photoMode-CYxQfgUF.js +0 -1
  111. package/dist/assets/rapier-CXAOW8OC.js +0 -1
  112. package/dist/assets/rig-wAyl3G1G.js +0 -1
  113. package/dist/assets/store-FA83kfnc.js +0 -5
  114. package/dist/assets/useDayTime-0XsqM14Q.js +0 -1
  115. package/dist/assets/voiceMessages-DtNmUazr.js +0 -1
  116. package/dist/assets/weatherState-ExG1doW-.js +0 -1
package/README.md CHANGED
@@ -1,184 +1,193 @@
1
- # Droidsembly
2
-
3
- <p align="center">
4
- <img src="https://raw.githubusercontent.com/rosariomoscato/droidsembly/main/client/public/icons/logo-light.svg" alt="Droidsembly logo" width="360">
5
- </p>
6
-
7
- **Small droids. Serious software.**
8
-
9
- A visual workspace for AI-assisted software development: connect your GitHub repositories, coordinate coding agents and follow their work in an interactive 3D office or a mobile-friendly dashboard.
10
-
11
- **English** · [Italiano](https://github.com/rosariomoscato/droidsembly/blob/main/README.it.md)
12
-
13
- [Source code](https://github.com/rosariomoscato/droidsembly) · [Report an issue](https://github.com/rosariomoscato/droidsembly/issues) · [Documentation](#documentation) · [Support the project](#support-the-project)
14
-
15
- **Website coming soon:** `droidsembly.com`. Until it launches, this repository is the reference for installation and documentation.
16
-
17
- **Free and open source, under the MIT license.** No paid activation or commercial agent unlocks. Voluntary support helps development; your AI subscriptions, API usage and optional cloud services have their own costs and limits.
18
-
19
- ## See the office
20
-
21
- ![Droidsembly demo lobby with robot agents, reception and the manager and CEO offices](https://raw.githubusercontent.com/rosariomoscato/droidsembly/main/docs/branding/screenshots/office.png)
22
-
23
- <details>
24
- <summary>Kanban and mobile Pocket view</summary>
25
-
26
- ![Demo Kanban board showing backlog, development, QA and merge stages](https://raw.githubusercontent.com/rosariomoscato/droidsembly/main/docs/screenshots/cyan-panels/kanban-en.png)
27
-
28
- <img src="https://raw.githubusercontent.com/rosariomoscato/droidsembly/main/docs/branding/screenshots/pocket-mobile.png" alt="Italian Pocket dashboard with project status, CEO chat and team navigation" width="360">
29
-
30
- </details>
31
-
32
- These are existing demo captures from the fork. Some styling predates the latest popup updates; company and project names are demo content.
33
-
34
- ## What you can do
35
-
36
- - **Coordinate coding agents:** Claude Code, Codex and OpenCode V2, with model selection and supported reasoning variants. Provider availability depends on the runtime; the Agent SDK runtime is Claude-only, and OpenCode is currently local-only.
37
- - **Follow the full workflow:** issue → development and initial checks → pull request → separate QA session → corrections → merge when the configured conditions pass.
38
- - **Keep control:** manual or automatic assignment, optional CEO onboarding, team-change approvals and a separate auto-merge switch.
39
- - **Watch real work:** live terminals, project floors, a Kanban board and the manager console. Local clones and worktrees separate agents' working copies; they are not security sandboxes.
40
- - **Inspect AI usage:** multi-provider observations, reported tokens/costs and selective scheduling limits. Missing provider data remains unavailable, not zero or unlimited. See [AI usage](https://github.com/rosariomoscato/droidsembly/blob/main/docs/AI_USAGE.md) (Italian).
41
- - **Ask for read-only analysis:** start a discussion without an issue or PR. Read-only rules are agent instructions, not a sandbox.
42
- - **Use desktop or mobile:** a 3D office and a touch-friendly Pocket view, English/Italian interface, keyboard controls and accessibility settings. See [language coverage](https://github.com/rosariomoscato/droidsembly/blob/main/docs/languages.md).
43
- - **Make the office yours:** robot agents, a robot dog, decorations, adaptive music, photo mode and time-lapse.
44
-
45
- ## Install this fork
46
-
47
- **Current distribution: build from source.** The npm package `droidsembly@0.4.0-beta.1` and public command `droidsembly` are being prepared locally; they have not been published. There is no desktop installer yet. `npx cubefarm` installs the original package, not Droidsembly.
48
-
49
- After an explicitly authorized beta release, the planned command is `npx droidsembly@next` (`npx.cmd droidsembly@next` in PowerShell). Do not use it until the release is announced in this repository. Stable releases will use `latest`; beta versions check `next` for updates. The new package exposes no global `cubefarm` alias. The internal entry file `bin/cubefarm.js`, existing checkout launchers and default data directory remain compatible.
50
-
51
- ### Requirements
52
-
53
- - [Node.js](https://nodejs.org/) **22 or newer**, with npm, and [Git](https://git-scm.com/).
54
- - For real work: [GitHub CLI](https://cli.github.com/), authenticated with `gh auth login`, and a supported coding agent signed in to its provider.
55
- - Claude Code is bundled through the Agent SDK. OpenCode **2.x** and Codex are installed separately when selected. OpenCode-only terminal sessions do not require a Claude subscription.
56
- - Google Chrome for agents that test projects in a browser.
57
-
58
- The project targets Windows, macOS and Linux. The no-AI demo below does not require provider credentials or a GitHub login.
59
-
60
- ### 1. Download and build
61
-
62
- Run these commands in the parent folder where you want a **new** checkout.
63
-
64
- **Windows — PowerShell**
65
-
66
- ```powershell
67
- git clone https://github.com/rosariomoscato/droidsembly.git
68
- cd droidsembly
69
- npm.cmd ci
70
- npm.cmd run build
71
- ```
72
-
73
- **macOS / Linux**
74
-
75
- ```bash
76
- git clone https://github.com/rosariomoscato/droidsembly.git
77
- cd droidsembly
78
- npm ci
79
- npm run build
80
- ```
81
-
82
- ### 2. Try the no-AI demo
83
-
84
- From the checkout, start the built server with a dedicated data folder and ports:
85
-
86
- **Windows — PowerShell**
87
-
88
- ```powershell
89
- $env:SWARM_HOME = Join-Path $env:LOCALAPPDATA 'Droidsembly-Demo'
90
- $env:SWARM_PORT = '4419'
91
- $env:SWARM_HOST = '127.0.0.1'
92
- $env:SWARM_PREVIEW_PORT = '9600'
93
- $env:SWARM_DEMO = '1'
94
- node dist-server/index.js --demo
95
- ```
96
-
97
- **macOS / Linux**
98
-
99
- ```bash
100
- SWARM_HOME="$HOME/.droidsembly-demo" SWARM_PORT=4419 SWARM_HOST=127.0.0.1 SWARM_PREVIEW_PORT=9600 SWARM_DEMO=1 node dist-server/index.js --demo
101
- ```
102
-
103
- Open **http://127.0.0.1:4419/** and confirm **DEMO MODE** is displayed. GitHub and agents are simulated; demo state is saved only in the chosen demo folder. Stop with `Ctrl+C`. Choose unused ports if these are occupied.
104
-
105
- ### 3. Start a real office
106
-
107
- Stop the demo first. Use a separate data folder and remove `--demo`. Real sessions can modify connected projects and consume AI quota.
108
-
109
- **Windows — PowerShell**
110
-
111
- ```powershell
112
- $env:SWARM_HOME = Join-Path $env:LOCALAPPDATA 'Droidsembly'
113
- $env:SWARM_PORT = '4419'
114
- $env:SWARM_HOST = '127.0.0.1'
115
- $env:SWARM_PREVIEW_PORT = '9600'
116
- $env:SWARM_DEMO = '0'
117
- node dist-server/index.js
118
- ```
119
-
120
- **macOS / Linux**
121
-
122
- ```bash
123
- SWARM_HOME="$HOME/.droidsembly" SWARM_PORT=4419 SWARM_HOST=127.0.0.1 SWARM_PREVIEW_PORT=9600 SWARM_DEMO=0 node dist-server/index.js
124
- ```
125
-
126
- Open **http://127.0.0.1:4419/**. These example folders are an explicit choice for a new installation, not a migration: existing data paths and launchers remain valid. Without `SWARM_HOME`, the application's default remains `~/.cubefarm`.
127
-
128
- Before connecting a project, select the CEO's coding agent if you do not want the default Claude Code. To skip the initial AI analysis, turn off **Let the CEO study this repository and plan from the brief**. Auto-assignment, auto-merge and periodic CEO reviews are separate settings. See [Agents](https://github.com/rosariomoscato/droidsembly/blob/main/docs/agents.md) for provider setup and runtime limitations.
129
-
130
- ## Desktop, mobile and PWA
131
-
132
- The Node.js backend runs on your computer; the browser displays and controls the office. Installing the PWA adds the interface to your home screen **but does not install the Node.js backend or coding agents**. The office computer must remain running and reachable.
133
-
134
- For mobile installation and private remote access, follow [Pocket mode](https://github.com/rosariomoscato/droidsembly/blob/main/docs/pocket.md) and [Phone access](https://github.com/rosariomoscato/droidsembly/blob/main/docs/phone-access.md). PWA features require a supported browser and a secure context, such as HTTPS or localhost. The office has no built-in sign-in: keep it on loopback or use authenticated private access rather than exposing it publicly.
135
-
136
- ### Essential controls
137
-
138
- | Control | Action |
139
- | --- | --- |
140
- | `W A S D` / arrows | Walk |
141
- | `Shift` | Run |
142
- | `E` / left click | Interact |
143
- | `P` | Open the phone |
144
- | `Tab` | Office overview |
145
- | `K` | Photo mode |
146
- | `M` | Mute |
147
- | `H` | Help and full control list |
148
- | `Esc` | Release the mouse / close a panel |
149
-
150
- Settings include captions, motion comfort, UI scaling, contrast and list views. Pocket provides touch-friendly navigation.
151
-
152
- ## Updating
153
-
154
- For a source installation, stop the office when agents are idle, back up your chosen `SWARM_HOME`, and review the [fork changelog](https://github.com/rosariomoscato/droidsembly/blob/main/docs/FORK_CHANGELOG.md). In a clean checkout on `main`, use `git pull --ff-only`, then `npm.cmd ci` and `npm.cmd run build` on Windows (`npm ci` and `npm run build` on macOS/Linux). Restart using the same data folder and ports. Preserve local changes before updating.
155
-
156
- Do not use `npx cubefarm@latest` to update this fork: it targets the original npm package. This prepared CLI checks only `droidsembly`, using `next` for prereleases and `latest` for stable versions; an unavailable registry entry is ignored. The direct server commands above do not use the checkout's self-updating launcher; see [how updating works](https://github.com/rosariomoscato/droidsembly/blob/main/docs/how-it-works.md#updating-the-office) for that separate workflow. Package updates are manual; installing a new package name does not migrate an existing installation or its data.
157
-
158
- ## Support the project
159
-
160
- Droidsembly is free and open source. If it helps you, you can support its development by starring the repository, sharing it, reporting reproducible issues or contributing improvements.
161
-
162
- **Voluntary financial support is planned through GitHub Sponsors.** The profile is not yet activated; a link will be added when it is available. No donation is required to use the app or unlock agents. Technical limits and AI-provider quotas still apply.
163
-
164
- ## Documentation
165
-
166
- - [Agents and provider setup](https://github.com/rosariomoscato/droidsembly/blob/main/docs/agents.md)
167
- - [Workflow, terminals, QA and updates](https://github.com/rosariomoscato/droidsembly/blob/main/docs/how-it-works.md)
168
- - [Multi-provider AI usage](https://github.com/rosariomoscato/droidsembly/blob/main/docs/AI_USAGE.md) (Italian)
169
- - [Pocket, PWA and notifications](https://github.com/rosariomoscato/droidsembly/blob/main/docs/pocket.md) · [Phone access](https://github.com/rosariomoscato/droidsembly/blob/main/docs/phone-access.md)
170
- - [Optional cloud agents](https://github.com/rosariomoscato/droidsembly/blob/main/docs/cloud.md) · [Voice](https://github.com/rosariomoscato/droidsembly/blob/main/docs/voice.md)
171
- - [English/Italian coverage](https://github.com/rosariomoscato/droidsembly/blob/main/docs/languages.md)
172
- - [Contributing and development](https://github.com/rosariomoscato/droidsembly/blob/main/CONTRIBUTING.md)
173
- - [Fork changelog](https://github.com/rosariomoscato/droidsembly/blob/main/docs/FORK_CHANGELOG.md) (Italian)
174
- - [Local validation report](https://github.com/rosariomoscato/droidsembly/blob/main/docs/validation-english-italian.md) · [Pathfinding investigation](https://github.com/rosariomoscato/droidsembly/blob/main/docs/pathfinding-investigation.md)
175
-
176
- CI results and historical local test failures are separate evidence; a green CI run does not establish that those local failures have been resolved.
177
-
178
- ## Credits and license
179
-
180
- Droidsembly is maintained by [Rosario Moscato](https://github.com/rosariomoscato), based on [CubeFarm by Leon van Zyl](https://github.com/leonvanzyl/cubefarm). This fork was previously hosted at `rosariomoscato/cubefarm`.
181
-
182
- The fork adds OpenCode V2 integration, model/variant selection, optional onboarding and manual analysis, English/Italian support, robot visuals and branding, coordinated desktop/mobile styling, adaptive music and multi-provider usage monitoring. The [changelog](https://github.com/rosariomoscato/droidsembly/blob/main/docs/FORK_CHANGELOG.md) records implementation and validation history.
183
-
184
- Licensed under [MIT](https://github.com/rosariomoscato/droidsembly/blob/main/LICENSE), preserving the original **Copyright (c) 2026 Leon van Zyl** notice. Third-party components retain their respective licenses, including the [Sora font's SIL Open Font License](https://github.com/rosariomoscato/droidsembly/blob/main/client/public/icons/Sora-OFL.txt).
1
+ # Droidsembly
2
+
3
+ <p align="center">
4
+ <img src="https://raw.githubusercontent.com/rosariomoscato/droidsembly/main/client/public/icons/logo-dark.svg#gh-dark-mode-only" alt="Droidsembly — Software, assembled by agents." width="360">
5
+ <img src="https://raw.githubusercontent.com/rosariomoscato/droidsembly/main/client/public/icons/logo-light.svg#gh-light-mode-only" alt="Droidsembly — Software, assembled by agents." width="360">
6
+ </p>
7
+
8
+ **Small droids. Serious software.**
9
+
10
+ A visual workspace for AI-assisted software development: connect your GitHub repositories, coordinate coding agents and follow their work in an interactive 3D office or a mobile-friendly dashboard.
11
+
12
+ **English** · [Italiano](https://github.com/rosariomoscato/droidsembly/blob/main/README.it.md)
13
+
14
+ [Website](https://droidsembly.com) · [npm](https://www.npmjs.com/package/droidsembly) · [Releases](https://github.com/rosariomoscato/droidsembly/releases) · [Report an issue](https://github.com/rosariomoscato/droidsembly/issues) · [Contributing](CONTRIBUTING.md) · [Documentation](#documentation) · [Support the project](#support-the-project)
15
+
16
+ **Public beta:** [0.4.0-beta.1 release notes](https://github.com/rosariomoscato/droidsembly/releases/tag/droidsembly-v0.4.0-beta.1). Visit [droidsembly.com](https://droidsembly.com) for an introduction and demo instructions; this repository contains the source and technical documentation.
17
+
18
+ **Free and open source, under the MIT license.** No paid activation or commercial agent unlocks. Voluntary support helps development; your AI subscriptions, API usage and optional cloud services have their own costs and limits.
19
+
20
+ ## Who it is for
21
+
22
+ - **Solo developers:** coordinate multiple agents on code and checks while staying in control of decisions.
23
+ - **Small development teams:** follow tasks, reviews and project progress in a shared workspace.
24
+ - **Makers and open-source maintainers:** experiment with prototypes and organize work across repositories.
25
+
26
+ You set the goals and supervise the work. The agents help you get it done.
27
+
28
+ ## See the office
29
+
30
+ ![Droidsembly demo project floor with six working agents and a live activity panel](https://raw.githubusercontent.com/rosariomoscato/droidsembly/main/docs/branding/screenshots/project-floor-beta.png)
31
+
32
+ <details>
33
+ <summary>Kanban and mobile Pocket view</summary>
34
+
35
+ ![Demo Kanban board with six tasks in progress assigned to agents](https://raw.githubusercontent.com/rosariomoscato/droidsembly/main/docs/branding/screenshots/kanban-beta.png)
36
+
37
+ <img src="https://raw.githubusercontent.com/rosariomoscato/droidsembly/main/docs/branding/screenshots/pocket-mobile.png" alt="Italian Pocket dashboard with project status, CEO chat and team navigation" width="360">
38
+
39
+ </details>
40
+
41
+ The project floor and Kanban are actual captures of beta 0.4.0-beta.1 in an isolated demo, with simulated projects and activity and an English interface. The Pocket image is an earlier Italian demo capture.
42
+
43
+ ## What you can do
44
+
45
+ - **Coordinate coding agents:** Claude Code, Codex and OpenCode V2, with model selection and supported reasoning variants. Provider availability depends on the runtime; the Agent SDK runtime is Claude-only, and OpenCode is currently local-only.
46
+ - **Follow the full workflow:** issue → development and initial checks → pull request → separate QA session → corrections → merge when the configured conditions pass.
47
+ - **Keep control:** manual or automatic assignment, optional CEO onboarding, team-change approvals and a separate auto-merge switch.
48
+ - **Watch real work:** live terminals, project floors, a Kanban board and the manager console. Local clones and worktrees separate agents' working copies; they are not security sandboxes.
49
+ - **Inspect AI usage:** multi-provider observations, reported tokens/costs and selective scheduling limits. Missing provider data remains unavailable, not zero or unlimited. See [AI usage](https://github.com/rosariomoscato/droidsembly/blob/main/docs/AI_USAGE.md) (Italian).
50
+ - **Ask for read-only analysis:** start a discussion without an issue or PR. Read-only rules are agent instructions, not a sandbox.
51
+ - **Use desktop or mobile:** a 3D office and a touch-friendly Pocket view, English/Italian interface, keyboard controls and accessibility settings. See [language coverage](https://github.com/rosariomoscato/droidsembly/blob/main/docs/languages.md).
52
+ - **Make the office yours:** robot agents, a robot dog, decorations, adaptive music, photo mode and time-lapse.
53
+
54
+ ## Install this fork
55
+
56
+ **The first public beta is available:** [droidsembly@0.4.0-beta.1 on npm](https://www.npmjs.com/package/droidsembly). Run `npx droidsembly@next` (`npx.cmd droidsembly@next` in PowerShell), or build from source below. To select this exact release, use `npx droidsembly@0.4.0-beta.1`. There is no desktop installer yet. `npx cubefarm` installs the original package, not Droidsembly.
57
+
58
+ **This is a beta, not a stable release.** Use the explicit `next` channel: npm currently also points `latest` at this first beta, so an unqualified install selects it too. A future stable release will take over `latest`; beta versions check `next` for updates. The package exposes no global `cubefarm` alias. The internal entry file `bin/cubefarm.js`, existing checkout launchers and default data directory remain compatible. For side-by-side use, select a separate `SWARM_HOME` and free ports as described below.
59
+
60
+ ### Requirements
61
+
62
+ - [Node.js](https://nodejs.org/) **22 or newer**, with npm, and [Git](https://git-scm.com/).
63
+ - For real work: [GitHub CLI](https://cli.github.com/), authenticated with `gh auth login`, and a supported coding agent signed in to its provider.
64
+ - Claude Code is bundled through the Agent SDK. OpenCode **2.x** and Codex are installed separately when selected. OpenCode-only terminal sessions do not require a Claude subscription.
65
+ - Google Chrome for agents that test projects in a browser.
66
+
67
+ The project targets Windows, macOS and Linux. The no-AI demo below does not require provider credentials or a GitHub login.
68
+
69
+ ### 1. Download and build
70
+
71
+ Run these commands in the parent folder where you want a **new** checkout.
72
+
73
+ **Windows — PowerShell**
74
+
75
+ ```powershell
76
+ git clone https://github.com/rosariomoscato/droidsembly.git
77
+ cd droidsembly
78
+ npm.cmd ci
79
+ npm.cmd run build
80
+ ```
81
+
82
+ **macOS / Linux**
83
+
84
+ ```bash
85
+ git clone https://github.com/rosariomoscato/droidsembly.git
86
+ cd droidsembly
87
+ npm ci
88
+ npm run build
89
+ ```
90
+
91
+ ### 2. Try the no-AI demo
92
+
93
+ From the checkout, start the built server with a dedicated data folder and ports:
94
+
95
+ **Windows — PowerShell**
96
+
97
+ ```powershell
98
+ $env:SWARM_HOME = Join-Path $env:LOCALAPPDATA 'Droidsembly-Demo'
99
+ $env:SWARM_PORT = '4419'
100
+ $env:SWARM_HOST = '127.0.0.1'
101
+ $env:SWARM_PREVIEW_PORT = '9600'
102
+ $env:SWARM_DEMO = '1'
103
+ node dist-server/index.js --demo
104
+ ```
105
+
106
+ **macOS / Linux**
107
+
108
+ ```bash
109
+ SWARM_HOME="$HOME/.droidsembly-demo" SWARM_PORT=4419 SWARM_HOST=127.0.0.1 SWARM_PREVIEW_PORT=9600 SWARM_DEMO=1 node dist-server/index.js --demo
110
+ ```
111
+
112
+ Open **http://127.0.0.1:4419/** and confirm **DEMO MODE** is displayed. GitHub and agents are simulated; demo state is saved only in the chosen demo folder. Stop with `Ctrl+C`. Choose unused ports if these are occupied.
113
+
114
+ ### 3. Start a real office
115
+
116
+ Stop the demo first. Use a separate data folder and remove `--demo`. Real sessions can modify connected projects and consume AI quota.
117
+
118
+ **Windows — PowerShell**
119
+
120
+ ```powershell
121
+ $env:SWARM_HOME = Join-Path $env:LOCALAPPDATA 'Droidsembly'
122
+ $env:SWARM_PORT = '4419'
123
+ $env:SWARM_HOST = '127.0.0.1'
124
+ $env:SWARM_PREVIEW_PORT = '9600'
125
+ $env:SWARM_DEMO = '0'
126
+ node dist-server/index.js
127
+ ```
128
+
129
+ **macOS / Linux**
130
+
131
+ ```bash
132
+ SWARM_HOME="$HOME/.droidsembly" SWARM_PORT=4419 SWARM_HOST=127.0.0.1 SWARM_PREVIEW_PORT=9600 SWARM_DEMO=0 node dist-server/index.js
133
+ ```
134
+
135
+ Open **http://127.0.0.1:4419/**. These example folders are an explicit choice for a new installation, not a migration: existing data paths and launchers remain valid. Without `SWARM_HOME`, the application's default remains `~/.cubefarm`.
136
+
137
+ Before connecting a project, select the CEO's coding agent if you do not want the default Claude Code. To skip the initial AI analysis, turn off **Let the CEO study this repository and plan from the brief**. Auto-assignment, auto-merge and periodic CEO reviews are separate settings. See [Agents](https://github.com/rosariomoscato/droidsembly/blob/main/docs/agents.md) for provider setup and runtime limitations.
138
+
139
+ ## Desktop, mobile and PWA
140
+
141
+ The Node.js backend runs on your computer; the browser displays and controls the office. Installing the PWA adds the interface to your home screen **but does not install the Node.js backend or coding agents**. The office computer must remain running and reachable.
142
+
143
+ For mobile installation and private remote access, follow [Pocket mode](https://github.com/rosariomoscato/droidsembly/blob/main/docs/pocket.md) and [Phone access](https://github.com/rosariomoscato/droidsembly/blob/main/docs/phone-access.md). PWA features require a supported browser and a secure context, such as HTTPS or localhost. The office has no built-in sign-in: keep it on loopback or use authenticated private access rather than exposing it publicly.
144
+
145
+ ### Essential controls
146
+
147
+ | Control | Action |
148
+ | --- | --- |
149
+ | `W A S D` / arrows | Walk |
150
+ | `Shift` | Run |
151
+ | `E` / left click | Interact |
152
+ | `P` | Open the phone |
153
+ | `Tab` | Office overview |
154
+ | `K` | Photo mode |
155
+ | `M` | Mute |
156
+ | `H` | Help and full control list |
157
+ | `Esc` | Release the mouse / close a panel |
158
+
159
+ Settings include captions, motion comfort, UI scaling, contrast and list views. Pocket provides touch-friendly navigation.
160
+
161
+ ## Updating
162
+
163
+ For a source installation, stop the office when agents are idle, back up your chosen `SWARM_HOME`, and review the [fork changelog](https://github.com/rosariomoscato/droidsembly/blob/main/docs/FORK_CHANGELOG.md). In a clean checkout on `main`, use `git pull --ff-only`, then `npm.cmd ci` and `npm.cmd run build` on Windows (`npm ci` and `npm run build` on macOS/Linux). Restart using the same data folder and ports. Preserve local changes before updating.
164
+
165
+ Do not use `npx cubefarm@latest` to update this fork: it targets the original npm package. This prepared CLI checks only `droidsembly`, using `next` for prereleases and `latest` for stable versions; an unavailable registry entry is ignored. The direct server commands above do not use the checkout's self-updating launcher; see [how updating works](https://github.com/rosariomoscato/droidsembly/blob/main/docs/how-it-works.md#updating-the-office) for that separate workflow. Package updates are manual; installing a new package name does not migrate an existing installation or its data.
166
+
167
+ ## Support the project
168
+
169
+ Droidsembly is free and open source. If it helps you, you can support its development by starring the repository, sharing it, reporting reproducible issues or contributing improvements.
170
+
171
+ **You can support development voluntarily through [GitHub Sponsors](https://github.com/sponsors/rosariomoscato).** No donation is required to use the app or unlock agents. Technical limits and AI-provider quotas still apply.
172
+
173
+ ## Documentation
174
+
175
+ - [Agents and provider setup](https://github.com/rosariomoscato/droidsembly/blob/main/docs/agents.md)
176
+ - [Workflow, terminals, QA and updates](https://github.com/rosariomoscato/droidsembly/blob/main/docs/how-it-works.md)
177
+ - [Multi-provider AI usage](https://github.com/rosariomoscato/droidsembly/blob/main/docs/AI_USAGE.md) (Italian)
178
+ - [Pocket, PWA and notifications](https://github.com/rosariomoscato/droidsembly/blob/main/docs/pocket.md) · [Phone access](https://github.com/rosariomoscato/droidsembly/blob/main/docs/phone-access.md)
179
+ - [Optional cloud agents](https://github.com/rosariomoscato/droidsembly/blob/main/docs/cloud.md) · [Voice](https://github.com/rosariomoscato/droidsembly/blob/main/docs/voice.md)
180
+ - [English/Italian coverage](https://github.com/rosariomoscato/droidsembly/blob/main/docs/languages.md)
181
+ - [Contributing and development](https://github.com/rosariomoscato/droidsembly/blob/main/CONTRIBUTING.md)
182
+ - [Fork changelog](https://github.com/rosariomoscato/droidsembly/blob/main/docs/FORK_CHANGELOG.md) (Italian)
183
+ - [Local validation report](https://github.com/rosariomoscato/droidsembly/blob/main/docs/validation-english-italian.md) · [Pathfinding investigation](https://github.com/rosariomoscato/droidsembly/blob/main/docs/pathfinding-investigation.md)
184
+
185
+ CI results and historical local test failures are separate evidence; a green CI run does not establish that those local failures have been resolved.
186
+
187
+ ## Credits and license
188
+
189
+ Droidsembly is maintained by [Rosario Moscato](https://github.com/rosariomoscato), based on [CubeFarm by Leon van Zyl](https://github.com/leonvanzyl/cubefarm). This fork was previously hosted at `rosariomoscato/cubefarm`.
190
+
191
+ The fork adds OpenCode V2 integration, model/variant selection, optional onboarding and manual analysis, English/Italian support, robot visuals and branding, coordinated desktop/mobile styling, adaptive music and multi-provider usage monitoring. The [changelog](https://github.com/rosariomoscato/droidsembly/blob/main/docs/FORK_CHANGELOG.md) records implementation and validation history.
192
+
193
+ Licensed under [MIT](https://github.com/rosariomoscato/droidsembly/blob/main/LICENSE), preserving the original **Copyright (c) 2026 Leon van Zyl** notice. Third-party components retain their respective licenses, including the [Sora font's SIL Open Font License](https://github.com/rosariomoscato/droidsembly/blob/main/client/public/icons/Sora-OFL.txt).
@@ -1,3 +1,3 @@
1
- export function isNewer(candidate: string, current: string): boolean;
2
- export function updateInfo(name: string, version: string): { channel: string; command: string; url: string };
3
- export function releaseInfo(version: string, ref: string): { tag: string; channel: string };
1
+ export function isNewer(candidate: string, current: string): boolean;
2
+ export function updateInfo(name: string, version: string): { channel: string; command: string; url: string };
3
+ export function releaseInfo(version: string, ref: string): { tag: string; channel: string };
@@ -1,48 +1,48 @@
1
- // Shared by the CLI and release validation; no registry access or application startup.
2
- function parseVersion(version) {
3
- if (typeof version !== 'string') return null;
4
- const match = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/.exec(version);
5
- if (!match) return null;
6
- const pre = match[4]?.split('.') ?? [];
7
- if (pre.some((part) => /^\d+$/.test(part) && part.length > 1 && part[0] === '0')) return null;
8
- return { core: match.slice(1, 4).map(BigInt), pre };
9
- }
10
-
11
- export function isNewer(candidate, current) {
12
- const a = parseVersion(candidate), b = parseVersion(current);
13
- if (!a || !b) return false;
14
- for (let i = 0; i < 3; i++) {
15
- if (a.core[i] !== b.core[i]) return a.core[i] > b.core[i];
16
- }
17
- if (!a.pre.length || !b.pre.length) return !a.pre.length && !!b.pre.length;
18
- for (let i = 0; i < Math.max(a.pre.length, b.pre.length); i++) {
19
- const x = a.pre[i], y = b.pre[i];
20
- if (x === undefined || y === undefined) return x !== undefined;
21
- if (x === y) continue;
22
- const xn = /^\d+$/.test(x), yn = /^\d+$/.test(y);
23
- if (xn && yn) return BigInt(x) > BigInt(y);
24
- if (xn !== yn) return !xn;
25
- return x > y;
26
- }
27
- return false;
28
- }
29
-
30
- export function updateInfo(name, version) {
31
- const parsed = parseVersion(version);
32
- if (!parsed) throw new Error(`Invalid package version: ${version}`);
33
- const channel = parsed.pre.length ? 'next' : 'latest';
34
- return {
35
- channel,
36
- command: `npx ${name}@${channel}`,
37
- url: `https://registry.npmjs.org/${encodeURIComponent(name)}/${channel}`,
38
- };
39
- }
40
-
41
- export function releaseInfo(version, ref) {
42
- if (!parseVersion(version) || !/^\d+\.\d+\.\d+(?:-beta\.(?:0|[1-9]\d*))?$/.test(version)) {
43
- throw new Error('Only stable versions and numbered beta prereleases can be released');
44
- }
45
- const tag = `droidsembly-v${version}`;
46
- if (ref !== tag) throw new Error(`Release tag must be ${tag}`);
47
- return { tag, channel: updateInfo('droidsembly', version).channel };
48
- }
1
+ // Shared by the CLI and release validation; no registry access or application startup.
2
+ function parseVersion(version) {
3
+ if (typeof version !== 'string') return null;
4
+ const match = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/.exec(version);
5
+ if (!match) return null;
6
+ const pre = match[4]?.split('.') ?? [];
7
+ if (pre.some((part) => /^\d+$/.test(part) && part.length > 1 && part[0] === '0')) return null;
8
+ return { core: match.slice(1, 4).map(BigInt), pre };
9
+ }
10
+
11
+ export function isNewer(candidate, current) {
12
+ const a = parseVersion(candidate), b = parseVersion(current);
13
+ if (!a || !b) return false;
14
+ for (let i = 0; i < 3; i++) {
15
+ if (a.core[i] !== b.core[i]) return a.core[i] > b.core[i];
16
+ }
17
+ if (!a.pre.length || !b.pre.length) return !a.pre.length && !!b.pre.length;
18
+ for (let i = 0; i < Math.max(a.pre.length, b.pre.length); i++) {
19
+ const x = a.pre[i], y = b.pre[i];
20
+ if (x === undefined || y === undefined) return x !== undefined;
21
+ if (x === y) continue;
22
+ const xn = /^\d+$/.test(x), yn = /^\d+$/.test(y);
23
+ if (xn && yn) return BigInt(x) > BigInt(y);
24
+ if (xn !== yn) return !xn;
25
+ return x > y;
26
+ }
27
+ return false;
28
+ }
29
+
30
+ export function updateInfo(name, version) {
31
+ const parsed = parseVersion(version);
32
+ if (!parsed) throw new Error(`Invalid package version: ${version}`);
33
+ const channel = parsed.pre.length ? 'next' : 'latest';
34
+ return {
35
+ channel,
36
+ command: `npx ${name}@${channel}`,
37
+ url: `https://registry.npmjs.org/${encodeURIComponent(name)}/${channel}`,
38
+ };
39
+ }
40
+
41
+ export function releaseInfo(version, ref) {
42
+ if (!parseVersion(version) || !/^\d+\.\d+\.\d+(?:-beta\.(?:0|[1-9]\d*))?$/.test(version)) {
43
+ throw new Error('Only stable versions and numbered beta prereleases can be released');
44
+ }
45
+ const tag = `droidsembly-v${version}`;
46
+ if (ref !== tag) throw new Error(`Release tag must be ${tag}`);
47
+ return { tag, channel: updateInfo('droidsembly', version).channel };
48
+ }