babavoss 0.0.0-stage → 0.0.2
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 +202 -0
- package/NOTICE +7 -0
- package/bin/voss.ts +48 -0
- package/gui/babavoss-web.js +234 -0
- package/gui/chunk-5hpp1ypv.js +11710 -0
- package/gui/chunk-9rq662fd.js +8627 -0
- package/gui/chunk-k3cm8j6r.js +433 -0
- package/gui/chunk-pk09y98y.js +50 -0
- package/gui/chunk-smz02qa6.js +186 -0
- package/gui/chunk-wwqypxre.js +49 -0
- package/gui/gui.js +2015 -0
- package/gui/react-compiler-runtime.js +39 -0
- package/gui/react-dom-client.js +21 -0
- package/gui/react-dom.js +44 -0
- package/gui/react-jsx-runtime.js +19 -0
- package/gui/react.js +105 -0
- package/gui/theme.css +3053 -0
- package/index.ts +15 -0
- package/package.json +52 -4
- package/src/baba/check.ts +90 -0
- package/src/baba/config.ts +261 -0
- package/src/baba/find.ts +12 -0
- package/src/baba/init.ts +176 -0
- package/src/baba/node.ts +483 -0
- package/src/baba/project.ts +63 -0
- package/src/baba/registry.ts +35 -0
- package/src/baba/worker.ts +55 -0
- package/src/bench/index.ts +6 -0
- package/src/bench/measure.ts +132 -0
- package/src/bench/scenarios.ts +136 -0
- package/src/build/builder.ts +74 -0
- package/src/build/failure.ts +78 -0
- package/src/build/guard.ts +85 -0
- package/src/build/mdx-register.ts +3 -0
- package/src/build/mdx.ts +38 -0
- package/src/build/project.ts +38 -0
- package/src/build/views.ts +146 -0
- package/src/builder/main.ts +29 -0
- package/src/desktop/bob.ts +76 -0
- package/src/desktop/desktop.css +111 -0
- package/src/desktop/icons.ts +50 -0
- package/src/desktop/index.ts +323 -0
- package/src/desktop/routes.ts +98 -0
- package/src/desktop/view.tsx +673 -0
- package/src/door/core.ts +384 -0
- package/src/ecs/baba.ts +431 -0
- package/src/ecs/codec.ts +334 -0
- package/src/ecs/handles.ts +91 -0
- package/src/ecs/replica.ts +150 -0
- package/src/ecs/runtime.ts +603 -0
- package/src/ecs/scheduler.ts +75 -0
- package/src/ecs/snapshot.ts +102 -0
- package/src/ecs/state.ts +759 -0
- package/src/ecs/system.ts +256 -0
- package/src/ecs/table.ts +420 -0
- package/src/ecs/testbed.ts +97 -0
- package/src/exec/host.ts +177 -0
- package/src/exec/main.ts +98 -0
- package/src/exec/watch.ts +7 -0
- package/src/exec/wire.ts +29 -0
- package/src/generated/build.ts +4 -0
- package/src/gui/css.d.ts +1 -0
- package/src/gui/gui.tsx +245 -0
- package/src/gui/index.ts +51 -0
- package/src/gui/inspector.tsx +47 -0
- package/src/gui/levels.tsx +73 -0
- package/src/gui/promptware.tsx +68 -0
- package/src/gui/runner.tsx +118 -0
- package/src/gui/theme.css +498 -0
- package/src/gui/theme.ts +25 -0
- package/src/gui/wizard.tsx +227 -0
- package/src/guide/add-a-desktop.mdx +100 -0
- package/src/guide/compose-an-interface.mdx +84 -0
- package/src/guide/index.ts +13 -0
- package/src/guide/reach-outside.mdx +112 -0
- package/src/guide/spec-a-system.mdx +93 -0
- package/src/guide/systems-together.mdx +72 -0
- package/src/guide/write-a-system.mdx +183 -0
- package/src/guide/write-promptware.mdx +90 -0
- package/src/http/server.ts +310 -0
- package/src/kernel/build.ts +21 -0
- package/src/kernel/builder.ts +105 -0
- package/src/kernel/children.ts +117 -0
- package/src/kernel/context.ts +90 -0
- package/src/kernel/lock.ts +46 -0
- package/src/kernel/names.ts +14 -0
- package/src/kernel/schema.ts +130 -0
- package/src/kernel/where.ts +12 -0
- package/src/kit/index.ts +232 -0
- package/src/maker/system.ts +213 -0
- package/src/mcp/daemon.ts +61 -0
- package/src/mcp/main.ts +208 -0
- package/src/mcp/rpc.ts +64 -0
- package/src/mcp/tools.ts +125 -0
- package/src/prompt/evals.ts +42 -0
- package/src/prompt/index.ts +242 -0
- package/src/prompt/jsx-dev-runtime.ts +1 -0
- package/src/prompt/jsx-runtime.ts +49 -0
- package/src/prompt/mdx.d.ts +1 -0
- package/src/promptware/compile.ts +183 -0
- package/src/promptware/define.ts +16 -0
- package/src/promptware/disk.ts +72 -0
- package/src/promptware/markdown.d.ts +6 -0
- package/src/promptware/sync.ts +437 -0
- package/src/promptware/system.ts +215 -0
- package/src/runtime/bridge.ts +85 -0
- package/src/runtime/connect.ts +54 -0
- package/src/runtime/env.ts +35 -0
- package/src/runtime/harness.ts +80 -0
- package/src/runtime/main.ts +119 -0
- package/src/runtime/worker.ts +33 -0
- package/src/server/edge.ts +332 -0
- package/src/server/main.ts +45 -0
- package/src/server/messages.ts +97 -0
- package/src/server/protocol.ts +37 -0
- package/src/services/args.ts +45 -0
- package/src/services/exec.ts +69 -0
- package/src/services/fs.ts +139 -0
- package/src/services/http.ts +30 -0
- package/src/services/index.ts +113 -0
- package/src/services/secrets.ts +18 -0
- package/src/shell/address.ts +21 -0
- package/src/shell/args.ts +219 -0
- package/src/shell/client.ts +107 -0
- package/src/shell/codes.ts +26 -0
- package/src/shell/positional.ts +20 -0
- package/src/shell/run.ts +470 -0
- package/src/shell/service.ts +167 -0
- package/src/shell/state.ts +204 -0
- package/src/spec/adapters.ts +72 -0
- package/src/spec/diff.ts +26 -0
- package/src/spec/files.ts +17 -0
- package/src/spec/index.ts +155 -0
- package/src/spec/run.ts +97 -0
- package/src/spec/take.ts +54 -0
- package/src/test/index.ts +8 -0
- package/src/test/prove.ts +56 -0
- package/src/test/records.ts +23 -0
- package/src/test/specs.ts +56 -0
- package/src/test/steps.ts +100 -0
- package/src/test/voss-dir.ts +17 -0
- package/src/transport/messages.ts +110 -0
- package/src/transport/transport.ts +62 -0
- package/src/wall/probe.ts +67 -0
- package/src/wall/profile.ts +103 -0
- package/src/wall/spawn.ts +59 -0
- package/src/web/app.tsx +53 -0
- package/src/web/core.tsx +140 -0
- package/src/web/form.ts +155 -0
- package/src/web/hooks.ts +135 -0
- package/src/web/index.tsx +17 -0
- package/src/web/list.ts +19 -0
- package/src/web/maker.tsx +766 -0
- package/src/web/objects.tsx +213 -0
- package/src/web/socket.ts +84 -0
- package/src/web/state.tsx +69 -0
- package/src/web/store.ts +221 -0
- package/src/web/ui.tsx +135 -0
- package/README.md +0 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Baba Voss
|
|
2
|
+
Copyright 2026 Vlad Pazych, Alan Remarc (https://alanremarc.com)
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0. See LICENSE.
|
|
5
|
+
|
|
6
|
+
"Baba Voss", "babavoss", "baba", "voss" and the Baba Voss marks are trade names of
|
|
7
|
+
Alan Remarc. The license grants no rights to them; see TRADEMARK.md.
|
package/bin/voss.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
// voss: the CLI, run by Bun from a checkout of the repository or from the installed package.
|
|
3
|
+
import { resolve, join } from "node:path";
|
|
4
|
+
import { homedir } from "node:os";
|
|
5
|
+
import { dev } from "../src/kernel/where.ts";
|
|
6
|
+
|
|
7
|
+
// The MDX guides are loaded as modules.
|
|
8
|
+
await import("../src/build/mdx-register.ts");
|
|
9
|
+
|
|
10
|
+
// Roles: the same binary re-spawned by the kernel as a walled runtime, builder or GUI server.
|
|
11
|
+
const role = Bun.argv[2];
|
|
12
|
+
if (role === "--runtime" || role === "--server" || role === "--builder" || role === "--exec" || role === "--exec-watch") {
|
|
13
|
+
if (role === "--runtime") await import("../src/runtime/main.ts");
|
|
14
|
+
else if (role === "--builder") await import("../src/builder/main.ts");
|
|
15
|
+
else if (role === "--exec-watch") await import("../src/exec/watch.ts");
|
|
16
|
+
else if (role === "--exec") await import("../src/exec/main.ts");
|
|
17
|
+
else await import("../src/server/main.ts");
|
|
18
|
+
// The role's main runs until its parent goes away.
|
|
19
|
+
await new Promise(() => {});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// The kernel: the shell loads only here, so a child carries none of it.
|
|
23
|
+
const { run } = await import("../src/shell/run.ts");
|
|
24
|
+
|
|
25
|
+
// The root's state: $VOSS_DIR, else ~/.voss installed, else .voss-dev/ in the checkout.
|
|
26
|
+
function rootDir(): string {
|
|
27
|
+
if (process.env.VOSS_DIR) return resolve(process.env.VOSS_DIR);
|
|
28
|
+
return dev ? resolve(import.meta.dir, "..", ".voss-dev") : join(homedir(), ".voss");
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// From a checkout the framework is linked, and a link does not bring its dependencies
|
|
32
|
+
// along, so a new project also lists the type packages and the checker itself.
|
|
33
|
+
const pkg = (await import("../package.json")) as { version: string; dependencies: Record<string, string> };
|
|
34
|
+
const carried = ["@types/bun", "@types/react", "typescript"];
|
|
35
|
+
const code = await run(Bun.argv.slice(2), {
|
|
36
|
+
cwd: process.cwd(),
|
|
37
|
+
rootDir: rootDir(),
|
|
38
|
+
framework: dev ? "link:babavoss" : `^${pkg.version}`,
|
|
39
|
+
extra: dev ? Object.fromEntries(carried.map((k) => [k, pkg.dependencies[k]!])) : undefined,
|
|
40
|
+
stdout: (s) => process.stdout.write(s),
|
|
41
|
+
stderr: (s) => process.stderr.write(s),
|
|
42
|
+
stdin: () => Bun.stdin.text(),
|
|
43
|
+
stdinTTY: !!process.stdin.isTTY,
|
|
44
|
+
interrupt: (handler) => { process.on("SIGINT", handler); return () => process.off("SIGINT", handler); },
|
|
45
|
+
// The service runs this same program over the default root; with $VOSS_DIR it is some other root's.
|
|
46
|
+
service: !process.env.VOSS_DIR,
|
|
47
|
+
});
|
|
48
|
+
if (code >= 0) process.exit(code);
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ApiError,
|
|
3
|
+
AppIcon,
|
|
4
|
+
AppState,
|
|
5
|
+
AppStoreContext,
|
|
6
|
+
Button,
|
|
7
|
+
CommandList,
|
|
8
|
+
Desktop,
|
|
9
|
+
DesktopFrame,
|
|
10
|
+
Dialog,
|
|
11
|
+
Eyes,
|
|
12
|
+
FieldError,
|
|
13
|
+
Input,
|
|
14
|
+
Kbd,
|
|
15
|
+
LiveStoreContext,
|
|
16
|
+
LocalDesktop,
|
|
17
|
+
Maker,
|
|
18
|
+
ObjectCard,
|
|
19
|
+
ObjectCards,
|
|
20
|
+
ObjectMap,
|
|
21
|
+
Panel,
|
|
22
|
+
Replica,
|
|
23
|
+
Row,
|
|
24
|
+
Rows,
|
|
25
|
+
ScopeProvider,
|
|
26
|
+
Select,
|
|
27
|
+
Simulation,
|
|
28
|
+
SpecDesktop,
|
|
29
|
+
Table,
|
|
30
|
+
Textarea,
|
|
31
|
+
added,
|
|
32
|
+
api,
|
|
33
|
+
apiHeaders,
|
|
34
|
+
appsFor,
|
|
35
|
+
asProgram,
|
|
36
|
+
changed,
|
|
37
|
+
collect,
|
|
38
|
+
compose,
|
|
39
|
+
configure,
|
|
40
|
+
describeType,
|
|
41
|
+
desktopAddress,
|
|
42
|
+
exports_web,
|
|
43
|
+
filterItems,
|
|
44
|
+
fixedStore,
|
|
45
|
+
formatFailure,
|
|
46
|
+
instancesOf,
|
|
47
|
+
looseOf,
|
|
48
|
+
matchRoute,
|
|
49
|
+
not,
|
|
50
|
+
objectsOf,
|
|
51
|
+
parseDesktopAddress,
|
|
52
|
+
parseDesktopHash,
|
|
53
|
+
placeOf,
|
|
54
|
+
plan,
|
|
55
|
+
removed,
|
|
56
|
+
ridersOf,
|
|
57
|
+
route,
|
|
58
|
+
routeOf,
|
|
59
|
+
select,
|
|
60
|
+
tableOf,
|
|
61
|
+
useAlive,
|
|
62
|
+
useBaba,
|
|
63
|
+
useBabaState,
|
|
64
|
+
useColumn,
|
|
65
|
+
useComponent,
|
|
66
|
+
useCount,
|
|
67
|
+
useHand,
|
|
68
|
+
useHas,
|
|
69
|
+
useManifest,
|
|
70
|
+
useProbe,
|
|
71
|
+
useQuery,
|
|
72
|
+
useResource,
|
|
73
|
+
useRound,
|
|
74
|
+
useScope,
|
|
75
|
+
useSettled,
|
|
76
|
+
view
|
|
77
|
+
} from "./chunk-9rq662fd.js";
|
|
78
|
+
import"./chunk-pk09y98y.js";
|
|
79
|
+
import"./chunk-k3cm8j6r.js";
|
|
80
|
+
import"./chunk-wwqypxre.js";
|
|
81
|
+
|
|
82
|
+
// src/gui/shared/babavoss-web.ts
|
|
83
|
+
var babavoss_web_default = undefined ?? exports_web;
|
|
84
|
+
var ApiError2 = ApiError;
|
|
85
|
+
var AppIcon2 = AppIcon;
|
|
86
|
+
var AppState2 = AppState;
|
|
87
|
+
var AppStoreContext2 = AppStoreContext;
|
|
88
|
+
var Button2 = Button;
|
|
89
|
+
var CommandList2 = CommandList;
|
|
90
|
+
var Desktop2 = Desktop;
|
|
91
|
+
var DesktopFrame2 = DesktopFrame;
|
|
92
|
+
var Dialog2 = Dialog;
|
|
93
|
+
var Eyes2 = Eyes;
|
|
94
|
+
var FieldError2 = FieldError;
|
|
95
|
+
var Input2 = Input;
|
|
96
|
+
var Kbd2 = Kbd;
|
|
97
|
+
var LiveStoreContext2 = LiveStoreContext;
|
|
98
|
+
var LocalDesktop2 = LocalDesktop;
|
|
99
|
+
var Maker2 = Maker;
|
|
100
|
+
var ObjectCard2 = ObjectCard;
|
|
101
|
+
var ObjectCards2 = ObjectCards;
|
|
102
|
+
var ObjectMap2 = ObjectMap;
|
|
103
|
+
var Panel2 = Panel;
|
|
104
|
+
var Replica2 = Replica;
|
|
105
|
+
var Row2 = Row;
|
|
106
|
+
var Rows2 = Rows;
|
|
107
|
+
var ScopeProvider2 = ScopeProvider;
|
|
108
|
+
var Select2 = Select;
|
|
109
|
+
var Simulation2 = Simulation;
|
|
110
|
+
var SpecDesktop2 = SpecDesktop;
|
|
111
|
+
var Table2 = Table;
|
|
112
|
+
var Textarea2 = Textarea;
|
|
113
|
+
var added2 = added;
|
|
114
|
+
var api2 = api;
|
|
115
|
+
var apiHeaders2 = apiHeaders;
|
|
116
|
+
var appsFor2 = appsFor;
|
|
117
|
+
var asProgram2 = asProgram;
|
|
118
|
+
var changed2 = changed;
|
|
119
|
+
var collect2 = collect;
|
|
120
|
+
var compose2 = compose;
|
|
121
|
+
var configure2 = configure;
|
|
122
|
+
var describeType2 = describeType;
|
|
123
|
+
var desktopAddress2 = desktopAddress;
|
|
124
|
+
var filterItems2 = filterItems;
|
|
125
|
+
var fixedStore2 = fixedStore;
|
|
126
|
+
var formatFailure2 = formatFailure;
|
|
127
|
+
var instancesOf2 = instancesOf;
|
|
128
|
+
var looseOf2 = looseOf;
|
|
129
|
+
var matchRoute2 = matchRoute;
|
|
130
|
+
var not2 = not;
|
|
131
|
+
var objectsOf2 = objectsOf;
|
|
132
|
+
var parseDesktopAddress2 = parseDesktopAddress;
|
|
133
|
+
var parseDesktopHash2 = parseDesktopHash;
|
|
134
|
+
var placeOf2 = placeOf;
|
|
135
|
+
var plan2 = plan;
|
|
136
|
+
var removed2 = removed;
|
|
137
|
+
var ridersOf2 = ridersOf;
|
|
138
|
+
var route2 = route;
|
|
139
|
+
var routeOf2 = routeOf;
|
|
140
|
+
var select2 = select;
|
|
141
|
+
var tableOf2 = tableOf;
|
|
142
|
+
var useAlive2 = useAlive;
|
|
143
|
+
var useBaba2 = useBaba;
|
|
144
|
+
var useBabaState2 = useBabaState;
|
|
145
|
+
var useColumn2 = useColumn;
|
|
146
|
+
var useComponent2 = useComponent;
|
|
147
|
+
var useCount2 = useCount;
|
|
148
|
+
var useHand2 = useHand;
|
|
149
|
+
var useHas2 = useHas;
|
|
150
|
+
var useManifest2 = useManifest;
|
|
151
|
+
var useProbe2 = useProbe;
|
|
152
|
+
var useQuery2 = useQuery;
|
|
153
|
+
var useResource2 = useResource;
|
|
154
|
+
var useRound2 = useRound;
|
|
155
|
+
var useScope2 = useScope;
|
|
156
|
+
var useSettled2 = useSettled;
|
|
157
|
+
var view2 = view;
|
|
158
|
+
export {
|
|
159
|
+
ApiError2 as ApiError,
|
|
160
|
+
AppIcon2 as AppIcon,
|
|
161
|
+
AppState2 as AppState,
|
|
162
|
+
AppStoreContext2 as AppStoreContext,
|
|
163
|
+
Button2 as Button,
|
|
164
|
+
CommandList2 as CommandList,
|
|
165
|
+
Desktop2 as Desktop,
|
|
166
|
+
DesktopFrame2 as DesktopFrame,
|
|
167
|
+
Dialog2 as Dialog,
|
|
168
|
+
Eyes2 as Eyes,
|
|
169
|
+
FieldError2 as FieldError,
|
|
170
|
+
Input2 as Input,
|
|
171
|
+
Kbd2 as Kbd,
|
|
172
|
+
LiveStoreContext2 as LiveStoreContext,
|
|
173
|
+
LocalDesktop2 as LocalDesktop,
|
|
174
|
+
Maker2 as Maker,
|
|
175
|
+
ObjectCard2 as ObjectCard,
|
|
176
|
+
ObjectCards2 as ObjectCards,
|
|
177
|
+
ObjectMap2 as ObjectMap,
|
|
178
|
+
Panel2 as Panel,
|
|
179
|
+
Replica2 as Replica,
|
|
180
|
+
Row2 as Row,
|
|
181
|
+
Rows2 as Rows,
|
|
182
|
+
ScopeProvider2 as ScopeProvider,
|
|
183
|
+
Select2 as Select,
|
|
184
|
+
Simulation2 as Simulation,
|
|
185
|
+
SpecDesktop2 as SpecDesktop,
|
|
186
|
+
Table2 as Table,
|
|
187
|
+
Textarea2 as Textarea,
|
|
188
|
+
added2 as added,
|
|
189
|
+
api2 as api,
|
|
190
|
+
apiHeaders2 as apiHeaders,
|
|
191
|
+
appsFor2 as appsFor,
|
|
192
|
+
asProgram2 as asProgram,
|
|
193
|
+
changed2 as changed,
|
|
194
|
+
collect2 as collect,
|
|
195
|
+
compose2 as compose,
|
|
196
|
+
configure2 as configure,
|
|
197
|
+
babavoss_web_default as default,
|
|
198
|
+
describeType2 as describeType,
|
|
199
|
+
desktopAddress2 as desktopAddress,
|
|
200
|
+
filterItems2 as filterItems,
|
|
201
|
+
fixedStore2 as fixedStore,
|
|
202
|
+
formatFailure2 as formatFailure,
|
|
203
|
+
instancesOf2 as instancesOf,
|
|
204
|
+
looseOf2 as looseOf,
|
|
205
|
+
matchRoute2 as matchRoute,
|
|
206
|
+
not2 as not,
|
|
207
|
+
objectsOf2 as objectsOf,
|
|
208
|
+
parseDesktopAddress2 as parseDesktopAddress,
|
|
209
|
+
parseDesktopHash2 as parseDesktopHash,
|
|
210
|
+
placeOf2 as placeOf,
|
|
211
|
+
plan2 as plan,
|
|
212
|
+
removed2 as removed,
|
|
213
|
+
ridersOf2 as ridersOf,
|
|
214
|
+
route2 as route,
|
|
215
|
+
routeOf2 as routeOf,
|
|
216
|
+
select2 as select,
|
|
217
|
+
tableOf2 as tableOf,
|
|
218
|
+
useAlive2 as useAlive,
|
|
219
|
+
useBaba2 as useBaba,
|
|
220
|
+
useBabaState2 as useBabaState,
|
|
221
|
+
useColumn2 as useColumn,
|
|
222
|
+
useComponent2 as useComponent,
|
|
223
|
+
useCount2 as useCount,
|
|
224
|
+
useHand2 as useHand,
|
|
225
|
+
useHas2 as useHas,
|
|
226
|
+
useManifest2 as useManifest,
|
|
227
|
+
useProbe2 as useProbe,
|
|
228
|
+
useQuery2 as useQuery,
|
|
229
|
+
useResource2 as useResource,
|
|
230
|
+
useRound2 as useRound,
|
|
231
|
+
useScope2 as useScope,
|
|
232
|
+
useSettled2 as useSettled,
|
|
233
|
+
view2 as view
|
|
234
|
+
};
|