bed-of-roses 0.1.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/LICENSE +201 -0
- package/NOTICE +4 -0
- package/README.md +120 -0
- package/bin/bed-of-roses.cjs +108 -0
- package/design-guideline/bloom.md +430 -0
- package/design-guideline/cartoon-brutalist.md +363 -0
- package/design-guideline/cyberpunk.md +312 -0
- package/design-guideline/liquid-glass.md +319 -0
- package/design-guideline/memphis.md +322 -0
- package/design-guideline/neo-brutalist.md +319 -0
- package/design-guideline/pixel-crt.md +353 -0
- package/design-guideline/risograph.md +338 -0
- package/design-guideline/shortcut-card.md +214 -0
- package/design-guideline/solarpunk.md +319 -0
- package/design-guideline/warm-earthy.md +343 -0
- package/design-guideline/widget-thumbnails.md +189 -0
- package/design-guideline/y2k-frutiger.md +332 -0
- package/host/README.md +65 -0
- package/host/assets/bloom-icon.icns +0 -0
- package/host/assets/bloom-icon.png +0 -0
- package/host/assets/bloom-icon.svg +35 -0
- package/host/fonts/archivo-black-latin.woff2 +0 -0
- package/host/fonts/bricolage-grotesque-latin.woff2 +0 -0
- package/host/fonts/chakra-petch-500-latin.woff2 +0 -0
- package/host/fonts/chakra-petch-700-latin.woff2 +0 -0
- package/host/fonts/dm-mono-500-latin.woff2 +0 -0
- package/host/fonts/dm-serif-display-italic-latin.woff2 +0 -0
- package/host/fonts/dm-serif-display-regular-latin.woff2 +0 -0
- package/host/fonts/fraunces-italic-latin.woff2 +0 -0
- package/host/fonts/fraunces-regular-latin.woff2 +0 -0
- package/host/fonts/geist-latin.woff2 +0 -0
- package/host/fonts/geist-mono-latin.woff2 +0 -0
- package/host/fonts/ibm-plex-mono-latin.woff2 +0 -0
- package/host/fonts/instrument-serif-italic-latin.woff2 +0 -0
- package/host/fonts/instrument-serif-regular-latin.woff2 +0 -0
- package/host/fonts/inter-tight-latin.woff2 +0 -0
- package/host/fonts/jetbrains-mono-latin.woff2 +0 -0
- package/host/fonts/newsreader-italic-latin.woff2 +0 -0
- package/host/fonts/newsreader-regular-latin.woff2 +0 -0
- package/host/fonts/plus-jakarta-sans-latin.woff2 +0 -0
- package/host/fonts/sora-latin.woff2 +0 -0
- package/host/fonts/space-grotesk-latin.woff2 +0 -0
- package/host/fonts/space-mono-700-latin.woff2 +0 -0
- package/host/fonts/vt323-latin.woff2 +0 -0
- package/host/main-app-preload.cjs +27 -0
- package/host/main-app.css +176 -0
- package/host/main-app.html +126 -0
- package/host/main-app.js +281 -0
- package/host/main.cjs +2954 -0
- package/host/mcp-marketplace.css +414 -0
- package/host/mcp-marketplace.html +31 -0
- package/host/mcp-marketplace.js +305 -0
- package/host/mcp-preload.cjs +16 -0
- package/host/native-apps.cjs +0 -0
- package/host/preload.cjs +96 -0
- package/host/presence.css +6435 -0
- package/host/presence.html +190 -0
- package/host/presence.js +6022 -0
- package/host/presences.cjs +266 -0
- package/host/preview-preload.cjs +17 -0
- package/host/surface-preload.cjs +98 -0
- package/host/widget-preview.css +61 -0
- package/host/widget-preview.html +16 -0
- package/host/widget-preview.js +110 -0
- package/package.json +744 -0
- package/server/ai.js +2339 -0
- package/server/api-registry.md +759 -0
- package/server/connectivity.js +185 -0
- package/server/cron/schedule.js +129 -0
- package/server/cron/service.js +560 -0
- package/server/index.js +2492 -0
- package/server/mcp/playwright-service.js +69 -0
- package/server/memory/conversations.js +244 -0
- package/server/memory/dream-worker.js +588 -0
- package/server/memory/dream.js +763 -0
- package/server/memory/index.js +5 -0
- package/server/memory/profile.js +143 -0
- package/server/memory/sessions.js +111 -0
- package/server/memory/surfaces.js +73 -0
- package/server/notifications.js +152 -0
- package/server/protocol/executor.js +98 -0
- package/server/protocol/handlers/_surface-common.js +75 -0
- package/server/protocol/handlers/agent.js +128 -0
- package/server/protocol/handlers/browser-agent.js +205 -0
- package/server/protocol/handlers/browser.js +122 -0
- package/server/protocol/handlers/computer.js +881 -0
- package/server/protocol/handlers/cron.js +99 -0
- package/server/protocol/handlers/exec.js +705 -0
- package/server/protocol/handlers/extract-text.js +125 -0
- package/server/protocol/handlers/file.js +1190 -0
- package/server/protocol/handlers/media.js +123 -0
- package/server/protocol/handlers/memory.js +108 -0
- package/server/protocol/handlers/notification.js +29 -0
- package/server/protocol/handlers/say.js +81 -0
- package/server/protocol/handlers/shortcut.js +234 -0
- package/server/protocol/handlers/surface-data.js +149 -0
- package/server/protocol/handlers/svg.js +186 -0
- package/server/protocol/handlers/theme.js +147 -0
- package/server/protocol/handlers/tools.js +144 -0
- package/server/protocol/handlers/ux-guidelines.js +153 -0
- package/server/protocol/handlers/widget.js +201 -0
- package/server/protocol/parser.js +393 -0
- package/server/protocol/paths.js +87 -0
- package/server/protocol/registry.js +1309 -0
- package/server/providers/anthropic.js +83 -0
- package/server/providers/bor.js +108 -0
- package/server/providers/gemini.js +122 -0
- package/server/providers/index.js +47 -0
- package/server/providers/limits.js +7 -0
- package/server/providers/multimodal.js +225 -0
- package/server/providers/openai-compatible.js +90 -0
- package/server/providers/openai.js +109 -0
- package/server/providers/reasoning.js +106 -0
- package/server/providers/sse-util.js +87 -0
- package/server/retry.js +194 -0
- package/server/runtime/browser-agent.js +192 -0
- package/server/runtime/browser-session.js +210 -0
- package/server/runtime/browser-use.js +165 -0
- package/server/runtime/browser.js +122 -0
- package/server/runtime/connectors.js +1163 -0
- package/server/runtime/mcp.js +310 -0
- package/server/runtime/skills.js +346 -0
- package/server/surface-host.js +355 -0
- package/server/tools/images.js +112 -0
- package/server/tools/web-fetch.js +99 -0
- package/server/tools/web-search.js +96 -0
- package/server/validator.js +169 -0
- package/shell/ambient.js +210 -0
- package/shell/app.js +4904 -0
- package/shell/assets/logo-full-dark.svg +51 -0
- package/shell/assets/logo-full-light.svg +46 -0
- package/shell/assets/logo-mark.svg +32 -0
- package/shell/index.html +365 -0
- package/shell/memoji.js +430 -0
- package/shell/protocol-client.js +110 -0
- package/shell/speak.js +316 -0
- package/shell/style.css +4085 -0
- package/shell/surface-bridge.js +217 -0
- package/shell/themes/bloom/tokens.css +83 -0
- package/shell/themes/cartoon-brutalist/extras.css +721 -0
- package/shell/themes/cartoon-brutalist/tokens.css +98 -0
- package/shell/themes/cyberpunk/extras.css +235 -0
- package/shell/themes/cyberpunk/tokens.css +117 -0
- package/shell/themes/index.js +335 -0
- package/shell/themes/liquid-glass/extras.css +1112 -0
- package/shell/themes/liquid-glass/tokens.css +157 -0
- package/shell/themes/memphis/extras.css +236 -0
- package/shell/themes/memphis/tokens.css +118 -0
- package/shell/themes/neo-brutalist/extras.css +1185 -0
- package/shell/themes/neo-brutalist/tokens.css +128 -0
- package/shell/themes/pixel-crt/extras.css +1366 -0
- package/shell/themes/pixel-crt/tokens.css +124 -0
- package/shell/themes/risograph/extras.css +972 -0
- package/shell/themes/risograph/tokens.css +123 -0
- package/shell/themes/solarpunk/extras.css +194 -0
- package/shell/themes/solarpunk/tokens.css +109 -0
- package/shell/themes/warm-earthy/extras.css +672 -0
- package/shell/themes/warm-earthy/tokens.css +145 -0
- package/shell/themes/y2k-frutiger/extras.css +1173 -0
- package/shell/themes/y2k-frutiger/tokens.css +169 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 SixHq
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/NOTICE
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
<img src="https://raw.githubusercontent.com/SixHq/bed-of-roses/main/docs/assets/bor_sota_code_writing_demo.gif" alt="Bed of Roses writing a real project live on the desktop: the presence streams its reasoning, writes files into editor cards, and runs commands in terminal cards while the code takes shape" width="840">
|
|
4
|
+
|
|
5
|
+
# Bed of Roses
|
|
6
|
+
|
|
7
|
+
**An AI companion that lives on your desktop and does things.**
|
|
8
|
+
|
|
9
|
+
<p>
|
|
10
|
+
<a href="https://www.npmjs.com/package/bed-of-roses"><img src="https://img.shields.io/npm/v/bed-of-roses?style=for-the-badge&color=000000" alt="npm"></a>
|
|
11
|
+
<a href="https://github.com/SixHq/bed-of-roses/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache_2.0-000000?style=for-the-badge" alt="License: Apache-2.0"></a>
|
|
12
|
+
<img src="https://img.shields.io/badge/node-%E2%89%A520-000000?style=for-the-badge" alt="Node >= 20">
|
|
13
|
+
<img src="https://img.shields.io/badge/platform-macOS-000000?style=for-the-badge" alt="Platform: macOS">
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
[Quick start](#quick-start) · [Feature tour](#what-it-does) · [Documentation](https://github.com/SixHq/bed-of-roses/blob/main/docs/introduction.mdx)
|
|
17
|
+
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
Bed of Roses (BOR) is not a chat window. It is a small, draggable **presence** that floats above your real desktop — always on top, on every Space, one keystroke away. You tell it what you want, and it does the work in front of you: it builds you native Mac apps, connects to your email and calendar, browses the web in a real Chrome, edits your files, controls your Mac, plays media, and runs jobs while you're away. Everything runs locally on your machine, with the model of your choice.
|
|
23
|
+
|
|
24
|
+
## What it does
|
|
25
|
+
|
|
26
|
+
### Build the app you need, when you need it
|
|
27
|
+
|
|
28
|
+
Ask for a calorie tracker, a CRM, a journal, a dashboard — BOR designs it, writes it, and opens it as its own native Mac window. Apps keep their state across sessions and across redesigns, so "add a dark stats page" doesn't lose your data. Small tools can render as live cards right inside the conversation instead.
|
|
29
|
+
|
|
30
|
+
<img src="https://raw.githubusercontent.com/SixHq/bed-of-roses/main/docs/assets/build_native_mac_app_you_need.png" alt="A native-feeling Mac app generated by Bed of Roses, open as its own window over the desktop" width="840">
|
|
31
|
+
|
|
32
|
+
Your presence keeps track of everything it has built for you. Ask it to reopen, change, or extend any app later — it launches the exact one you mean and evolves it in place.
|
|
33
|
+
|
|
34
|
+
<img src="https://raw.githubusercontent.com/SixHq/bed-of-roses/main/docs/assets/each_presence_tracks_built_app_and_can_launch_and_access_them.png" alt="The presence's app library: every app it has built, ready to relaunch or update" width="840">
|
|
35
|
+
|
|
36
|
+
### Connect it to your daily life
|
|
37
|
+
|
|
38
|
+
During onboarding (and any time after), BOR shows a connectors gallery: one Composio key unlocks one-click sign-in for Gmail, Google Calendar, Drive, Docs, Sheets, Outlook, WhatsApp, YouTube, Slack, Notion, Linear, and GitHub — plus a "More apps" browser with roughly a hundred more one-click services. iMessage connects through macOS Full Disk Access. Connected services become real tools: when Gmail is linked, "reply to Sarah's email" uses Gmail directly, not a browser.
|
|
39
|
+
|
|
40
|
+
<img src="https://raw.githubusercontent.com/SixHq/bed-of-roses/main/docs/assets/link_bor_to_your_daily_life.png" alt="The connectors gallery: one-click sign-in cards for Gmail, Calendar, Drive, Slack, Notion, GitHub, and more" width="840">
|
|
41
|
+
|
|
42
|
+
### Browse the web like a person
|
|
43
|
+
|
|
44
|
+
BOR drives a real Chrome window with its own profile. It reads pages structurally (not by squinting at pixels), clicks, types, fills multi-field forms, manages tabs, and can stay signed in to your sites. It verifies what happened on the page before it tells you it's done — and you watch it happen: the Chrome window works in the open while the presence's browser card narrates each step.
|
|
45
|
+
|
|
46
|
+
### Reach a hundred more tools through MCP
|
|
47
|
+
|
|
48
|
+
A built-in marketplace lets you browse, search, and one-click install MCP servers — databases, SaaS APIs, dev tools — and BOR wires them up itself, including build steps and API keys. Your own custom MCP servers drop into a config file and hot-reload.
|
|
49
|
+
|
|
50
|
+
<img src="https://raw.githubusercontent.com/SixHq/bed-of-roses/main/docs/assets/access_to_over_100_mcp_server.png" alt="The MCP marketplace window: a searchable catalog of servers with one-click install" width="840">
|
|
51
|
+
|
|
52
|
+
### Work while you're away
|
|
53
|
+
|
|
54
|
+
BOR schedules real agent runs — "every weekday at 9, summarize my inbox" — using one-shot, interval, or cron schedules. Results land in a notifications inbox on the presence; any notification can be continued as a full conversation with one click.
|
|
55
|
+
|
|
56
|
+
<img src="https://raw.githubusercontent.com/SixHq/bed-of-roses/main/docs/assets/background_task_plus_scheduled_notification.png" alt="A scheduled background task finishing and its result arriving in the presence's notifications panel" width="840">
|
|
57
|
+
|
|
58
|
+
### Play media where you are
|
|
59
|
+
|
|
60
|
+
Ask for a song, a video, a tweet — YouTube (including Shorts and live), Vimeo, TikTok, Instagram posts and reels, tweets, images, and video files play as cards inside the presence. No app-switching to see what BOR found.
|
|
61
|
+
|
|
62
|
+
<img src="https://raw.githubusercontent.com/SixHq/bed-of-roses/main/docs/assets/play_media_directly_inside_bor.png" alt="A video playing inside the presence's thought bubble as a media card" width="840">
|
|
63
|
+
|
|
64
|
+
### Make it yours
|
|
65
|
+
|
|
66
|
+
Eight full themes — from Bloom's quiet default to Pixel CRT's green phosphor terminal — restyle the presence, every card, and every app BOR generates. Ask for a new wallpaper and BOR generates one and sets it as your actual macOS desktop. Name your AI, pick its presence style and color, give it a personality.
|
|
67
|
+
|
|
68
|
+
<img src="https://raw.githubusercontent.com/SixHq/bed-of-roses/main/docs/assets/customize_look_and_feel_of_presence.png" alt="Theme customization: the presence and its generated surfaces restyled by a chosen theme" width="840">
|
|
69
|
+
|
|
70
|
+
### Run as many presences as you like
|
|
71
|
+
|
|
72
|
+
Each presence is a fully separate companion — its own model, memory, apps, connectors, theme, and personality. A work presence on Claude and a home presence on Gemini can run side by side without sharing anything.
|
|
73
|
+
|
|
74
|
+
<img src="https://raw.githubusercontent.com/SixHq/bed-of-roses/main/docs/assets/run_as_many_presence_as_you_like_.png" alt="Multiple presence orbs running in parallel, each an isolated companion" width="840">
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### And the rest
|
|
78
|
+
|
|
79
|
+
- **Watch it think.** The thought bubble streams reasoning cards, code editors filling in line by line, terminal output, MCP calls, and browser sessions as they happen. Stop any task with one click; press play to resume exactly where it left off. History reopens past conversations with every card intact.
|
|
80
|
+
- **Your files, any format.** BOR reads PDF, Word, Excel, PowerPoint, Jupyter notebooks, images (including HEIC and PSD), audio and video metadata, archives, and text in any encoding. Drag any file onto the presence to attach it. File paths BOR mentions are clickable and reveal in Finder.
|
|
81
|
+
- **Your Mac, hands on.** Screen capture, vision-guided clicking and typing, opening apps — for the things that aren't on the web and aren't in a file.
|
|
82
|
+
- **It remembers you.** Durable memory across sessions, plus Markdown "skills" that teach it your procedures.
|
|
83
|
+
- **Your model, your rules.** Anthropic, OpenAI, Google Gemini, or any OpenAI-compatible endpoint (DeepSeek, Kimi, Z.ai, Ollama, and more, with one-click presets) — with a reasoning-effort dial per provider and a model switcher right in the input bar.
|
|
84
|
+
- **Local first.** Everything runs on your machine at `127.0.0.1`. Keys stay in local config. Generated apps are sandboxed. Every action lands in an append-only audit log.
|
|
85
|
+
|
|
86
|
+
## Quick start
|
|
87
|
+
|
|
88
|
+
Requires **macOS** and **Node ≥ 20**.
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
npm install -g bed-of-roses
|
|
92
|
+
bor onboard
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
`bor onboard` walks you through naming your AI, picking a theme and presence, connecting a model, and linking your services. Then the orb appears over your desktop and you start talking. Prefer not to install globally? `npx bor` works too.
|
|
96
|
+
|
|
97
|
+
From a clone:
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
git clone https://github.com/SixHq/bed-of-roses
|
|
101
|
+
cd bed-of-roses
|
|
102
|
+
npm install
|
|
103
|
+
npm start
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Documentation
|
|
107
|
+
|
|
108
|
+
Full docs live in [`docs/`](https://github.com/SixHq/bed-of-roses/blob/main/docs/introduction.mdx) — installation, an onboarding walkthrough, and a page per capability: [the presence](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/presence.mdx), [building apps](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/building-apps.mdx), [connectors](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/connectors.mdx), [the ambient browser](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/ambient-browser.mdx), [files](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/files.mdx), [computer use](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/computer-use.mdx), [media](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/media.mdx), [themes](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/themes.mdx), [background tasks](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/background-tasks.mdx), [memory & skills](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/memory-and-skills.mdx), and [multi-presence](https://github.com/SixHq/bed-of-roses/blob/main/docs/features/multi-presence.mdx).
|
|
109
|
+
|
|
110
|
+
Developing or contributing? Start with [CONTRIBUTING.md](https://github.com/SixHq/bed-of-roses/blob/main/CONTRIBUTING.md) and [CLAUDE.md](https://github.com/SixHq/bed-of-roses/blob/main/CLAUDE.md) for the architecture view.
|
|
111
|
+
|
|
112
|
+
## Security
|
|
113
|
+
|
|
114
|
+
Report vulnerabilities privately per [SECURITY.md](SECURITY.md).
|
|
115
|
+
|
|
116
|
+
## License
|
|
117
|
+
|
|
118
|
+
[Apache-2.0](https://github.com/SixHq/bed-of-roses/blob/main/LICENSE) © SixHq. See [NOTICE](https://github.com/SixHq/bed-of-roses/blob/main/NOTICE).
|
|
119
|
+
|
|
120
|
+
Built on [Electron](https://www.electronjs.org/), [Playwright](https://playwright.dev/), the [Model Context Protocol](https://modelcontextprotocol.io), and the Anthropic / OpenAI / Google / DeepSeek model ecosystems.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { spawn } = require('node:child_process');
|
|
4
|
+
const path = require('node:path');
|
|
5
|
+
|
|
6
|
+
const root = path.resolve(__dirname, '..');
|
|
7
|
+
const hostEntry = path.join(root, 'host', 'main.cjs');
|
|
8
|
+
|
|
9
|
+
const USAGE = `Bed of Roses — AI-native macOS companion
|
|
10
|
+
|
|
11
|
+
Usage:
|
|
12
|
+
bor Launch the host (default).
|
|
13
|
+
bor onboard Launch the host and create a new presence with onboarding.
|
|
14
|
+
bor create [name] Register a new presence (headless). Prints its id.
|
|
15
|
+
bor delete <presence_id> Delete a presence + its data dir (headless).
|
|
16
|
+
bor list List presences (headless). (alias: ls)
|
|
17
|
+
bor --help | -h | help Show this help.`;
|
|
18
|
+
|
|
19
|
+
// Headless ops never touch Electron — they require the pure-Node registry only.
|
|
20
|
+
function presences() {
|
|
21
|
+
return require('../host/presences.cjs');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
async function runHeadless(command, args) {
|
|
25
|
+
switch (command) {
|
|
26
|
+
case 'create': {
|
|
27
|
+
const nickname = args.join(' ').trim() || 'New presence';
|
|
28
|
+
const entry = await presences().createPresence({ nickname }, { nowMs: Date.now() });
|
|
29
|
+
console.log(`Created presence ${entry.id} (${entry.nickname}).`);
|
|
30
|
+
console.log('Run `bor onboard` to set it up, or restart Bed of Roses if it\'s already running.');
|
|
31
|
+
return 0;
|
|
32
|
+
}
|
|
33
|
+
case 'delete': {
|
|
34
|
+
const id = (args[0] || '').trim();
|
|
35
|
+
if (!id) {
|
|
36
|
+
console.error('Usage: bor delete <presence_id>');
|
|
37
|
+
return 1;
|
|
38
|
+
}
|
|
39
|
+
const removed = await presences().deletePresence(id, { removeData: true });
|
|
40
|
+
if (!removed) {
|
|
41
|
+
console.error(`No presence with id ${id}.`);
|
|
42
|
+
return 1;
|
|
43
|
+
}
|
|
44
|
+
console.log(`Deleted presence ${id}.`);
|
|
45
|
+
console.log('If Bed of Roses is currently running, restart it for this to take effect.');
|
|
46
|
+
return 0;
|
|
47
|
+
}
|
|
48
|
+
case 'list':
|
|
49
|
+
case 'ls': {
|
|
50
|
+
const list = await presences().listPresences();
|
|
51
|
+
if (!list.length) {
|
|
52
|
+
console.log('No presences yet. Run `bor onboard` to create one.');
|
|
53
|
+
return 0;
|
|
54
|
+
}
|
|
55
|
+
const rows = list.map((p) => [p.id, p.nickname || '', p.onboarded ? 'yes' : 'no']);
|
|
56
|
+
const headers = ['ID', 'NICKNAME', 'ONBOARDED'];
|
|
57
|
+
const widths = headers.map((h, i) => Math.max(h.length, ...rows.map((r) => r[i].length)));
|
|
58
|
+
const fmt = (cols) => cols.map((c, i) => c.padEnd(widths[i])).join(' ').trimEnd();
|
|
59
|
+
console.log(fmt(headers));
|
|
60
|
+
for (const row of rows) console.log(fmt(row));
|
|
61
|
+
return 0;
|
|
62
|
+
}
|
|
63
|
+
case 'help':
|
|
64
|
+
case '--help':
|
|
65
|
+
case '-h':
|
|
66
|
+
console.log(USAGE);
|
|
67
|
+
return 0;
|
|
68
|
+
default:
|
|
69
|
+
return null; // not a headless command
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function launchHost() {
|
|
74
|
+
let electronExecutable;
|
|
75
|
+
try {
|
|
76
|
+
electronExecutable = require('electron');
|
|
77
|
+
} catch {
|
|
78
|
+
console.error('Bed of Roses v2 requires Electron. Run `npm install`, then `npx bor` again.');
|
|
79
|
+
process.exit(1);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
const child = spawn(electronExecutable, [hostEntry, ...process.argv.slice(2)], {
|
|
83
|
+
cwd: root,
|
|
84
|
+
stdio: 'inherit',
|
|
85
|
+
env: process.env,
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
child.on('exit', (code, signal) => {
|
|
89
|
+
if (signal) process.kill(process.pid, signal);
|
|
90
|
+
process.exit(code ?? 0);
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
const command = process.argv[2];
|
|
95
|
+
const HEADLESS = new Set(['create', 'delete', 'list', 'ls', 'help', '--help', '-h']);
|
|
96
|
+
|
|
97
|
+
if (HEADLESS.has(command)) {
|
|
98
|
+
runHeadless(command, process.argv.slice(3))
|
|
99
|
+
.then((code) => process.exit(code))
|
|
100
|
+
.catch((err) => {
|
|
101
|
+
console.error(`bor ${command}: ${err.message}`);
|
|
102
|
+
process.exit(1);
|
|
103
|
+
});
|
|
104
|
+
} else {
|
|
105
|
+
// Default + `onboard`: launch Electron, forwarding all args (the `onboard`
|
|
106
|
+
// token rides along in process.argv.slice(2) and is read by main.cjs).
|
|
107
|
+
launchHost();
|
|
108
|
+
}
|