Skip to content

Commit df645f3

Browse files
committed
Release v0.1.0-rc.1
0 parents  commit df645f3

1,122 files changed

Lines changed: 258163 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Bug report
2+
description: Report reproducible incorrect behavior
3+
body:
4+
- type: textarea
5+
attributes:
6+
label: What happened?
7+
description: Include the expected behavior and the actual behavior.
8+
validations:
9+
required: true
10+
- type: input
11+
attributes:
12+
label: DX version
13+
placeholder: v0.1.0
14+
validations:
15+
required: true
16+
- type: textarea
17+
attributes:
18+
label: Reproduction
19+
description: Give the smallest sequence that reproduces the problem. Remove secrets.
20+
validations:
21+
required: true
22+
- type: textarea
23+
attributes:
24+
label: Logs
25+
description: Paste relevant redacted logs.

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Security report
4+
url: https://github.com/dxcode-dev/dxcode/security/advisories/new
5+
about: Report vulnerabilities privately.

‎.github/pull_request_template.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Change
2+
3+
Describe the behavior change and why it belongs in DX.
4+
5+
## Verification
6+
7+
List the commands and manual checks you ran.
8+
9+
- [ ] My commits include a DCO sign-off (`Signed-off-by`).
10+
- [ ] I added or updated tests where a plausible regression needs coverage.

‎.github/workflows/ci.yml‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
verify:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: pnpm/action-setup@v4
17+
with:
18+
version: 9.15.0
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: 22.19.0
22+
cache: pnpm
23+
- run: pnpm install --frozen-lockfile
24+
- run: pnpm format:check
25+
- run: pnpm lint
26+
- run: pnpm typecheck
27+
- run: pnpm test:unit
28+
- run: pnpm test:dxd
29+
- run: pnpm build

‎.gitignore‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
node_modules/
2+
dist/
3+
coverage/
4+
target/
5+
*.tsbuildinfo
6+
.env*
7+
!.env.example
8+
.alchemy/
9+
.wrangler/
10+
.dev.vars
11+
.cache/
12+
.turbo/
13+
.dx/
14+
deploy.selfhost.json

‎CODE_OF_CONDUCT.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Code of conduct
2+
3+
Be respectful and specific. Harassment, personal attacks, discrimination,
4+
doxxing, and sustained disruption are not acceptable in project spaces.
5+
6+
Maintainers may edit or remove comments, close discussions, or restrict
7+
participation when conduct harms the community. Report conduct privately using
8+
GitHub's "Report content" flow. Maintainers will review reports without public
9+
disclosure and will avoid conflicts of interest when assigning a reviewer.

‎CONTRIBUTING.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Contributing
2+
3+
Open an issue before undertaking a large change. Keep pull requests focused and
4+
include tests for changed behavior. Run the same format, lint, typecheck, test,
5+
and build commands as `.github/workflows/ci.yml` before submitting.
6+
7+
Contributions use the Developer Certificate of Origin. Sign every commit with
8+
`git commit -s` to certify that you have the right to submit the work under the
9+
repository license. See https://developercertificate.org/.
10+
11+
The public repository is a release projection. Maintainers manually port
12+
accepted public changes to the private development repository. A later release
13+
will contain the ported change; public commits are not merged into private
14+
history verbatim.

‎LICENSE‎

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# Functional Source License, Version 1.1, ALv2 Future License
2+
3+
## Abbreviation
4+
5+
FSL-1.1-ALv2
6+
7+
## Notice
8+
9+
Copyright 2026 dxcode-dev
10+
11+
## Terms and Conditions
12+
13+
### Licensor ("We")
14+
15+
The party offering the Software under these Terms and Conditions.
16+
17+
### The Software
18+
19+
The "Software" is each version of the software that we make available under
20+
these Terms and Conditions, as indicated by our inclusion of these Terms and
21+
Conditions with the Software.
22+
23+
### License Grant
24+
25+
Subject to your compliance with this License Grant and the Patents,
26+
Redistribution and Trademark clauses below, we hereby grant you the right to
27+
use, copy, modify, create derivative works, publicly perform, publicly display
28+
and redistribute the Software for any Permitted Purpose identified below.
29+
30+
### Permitted Purpose
31+
32+
A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
33+
means making the Software available to others in a commercial product or
34+
service that:
35+
36+
1. substitutes for the Software;
37+
38+
2. substitutes for any other product or service we offer using the Software
39+
that exists as of the date we make the Software available; or
40+
41+
3. offers the same or substantially similar functionality as the Software.
42+
43+
Permitted Purposes specifically include using the Software:
44+
45+
1. for your internal use and access;
46+
47+
2. for non-commercial education;
48+
49+
3. for non-commercial research; and
50+
51+
4. in connection with professional services that you provide to a licensee
52+
using the Software in accordance with these Terms and Conditions.
53+
54+
### Patents
55+
56+
To the extent your use for a Permitted Purpose would necessarily infringe our
57+
patents, the license grant above includes a license under our patents. If you
58+
make a claim against any party that the Software infringes or contributes to
59+
the infringement of any patent, then your patent license to the Software ends
60+
immediately.
61+
62+
### Redistribution
63+
64+
The Terms and Conditions apply to all copies, modifications and derivatives of
65+
the Software.
66+
67+
If you redistribute any copies, modifications or derivatives of the Software,
68+
you must include a copy of or a link to these Terms and Conditions and not
69+
remove any copyright notices provided in or with the Software.
70+
71+
### Disclaimer
72+
73+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
74+
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
75+
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
76+
77+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
78+
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
79+
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
80+
81+
### Trademarks
82+
83+
Except for displaying the License Details and identifying us as the origin of
84+
the Software, you have no right under these Terms and Conditions to use our
85+
trademarks, trade names, service marks or product names.
86+
87+
## Grant of Future License
88+
89+
We hereby irrevocably grant you an additional license to use the Software under
90+
the Apache License, Version 2.0 that is effective on the second anniversary of
91+
the date we make the Software available. On or after that date, you may use the
92+
Software under the Apache License, Version 2.0, in which case the following
93+
will apply:
94+
95+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
96+
this file except in compliance with the License.
97+
98+
You may obtain a copy of the License at
99+
100+
http://www.apache.org/licenses/LICENSE-2.0
101+
102+
Unless required by applicable law or agreed to in writing, software distributed
103+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
104+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
105+
specific language governing permissions and limitations under the License.

‎README.md‎

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# dx
2+
3+
dx is a self-hosted coding agent for Cloudflare and E2B. The application,
4+
database, storage, authentication, and agent workspace templates deploy into
5+
accounts you control.
6+
7+
## Deploy
8+
9+
Node.js 22.19 or newer, pnpm 9, a Cloudflare account, and an E2B API key are
10+
required.
11+
12+
```sh
13+
pnpm install --frozen-lockfile
14+
pnpm dx:deploy
15+
```
16+
17+
The wizard configures the deployment, asks for the first administrator's email,
18+
and reads the password twice without echoing it. Leave the first password prompt
19+
empty to generate a password. After health and readiness pass, dx writes the
20+
login URL, email, and password only to the ignored mode-`0600` file
21+
`.dx/secrets/selfhost-admin.txt` and prints its path. It never prints the
22+
password in deployment or Alchemy output.
23+
24+
Public signup is disabled by default. Set `allowSignup` to `true` in
25+
`deploy.selfhost.json` to enable ordinary email/password account creation. This
26+
does not enable a waitlist, approval gate, or magic-link admission.
27+
28+
Rerunning `pnpm dx:deploy` reconciles the existing deployment without requesting
29+
or changing the administrator password. To replace it explicitly, run:
30+
31+
```sh
32+
pnpm dx:deploy -- --reset-admin
33+
```
34+
35+
See the [deployment guide](apps/docs/src/content/docs/get-started/install.md) and
36+
[`deploy/README.md`](deploy/README.md) for configuration, local `dxd` fallback,
37+
upgrades, and recovery.
38+
39+
## Develop
40+
41+
```sh
42+
pnpm dev
43+
pnpm test
44+
pnpm typecheck
45+
```
46+
47+
The workspace contains the Cloudflare Worker in `apps/core`, the browser client
48+
in `apps/web`, the resident daemon in `apps/dxd`, shared packages under
49+
`packages`, and Flue under `third-party/flue`.
50+
51+
## License
52+
53+
dx uses the [Functional Source License 1.1 with Apache License 2.0 Future
54+
License](LICENSE), SPDX `FSL-1.1-ALv2`. See [TRADEMARK](TRADEMARK) and
55+
[THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) for the related notices.

‎RELEASE.json‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": "0.1.0-rc.1",
3+
"license": "FSL-1.1-ALv2",
4+
"baselineSha256": "7847f65a9b20b366a60d52d19ca3cd6bdd1bb09b8cb506659a270f27a21d8877",
5+
"e2b": {
6+
"recipeSha256": "87bc0f64f07c3a4db8368720c3f69742d53bf6deec41124379b5e7b59a18b0dd",
7+
"profileSha256": "414dbecee2d47de36016ea05c736e2edff3a0deb298babf923887ea184a01c10"
8+
},
9+
"dxd": {
10+
"url": "https://github.com/dxcode-dev/dxcode/releases/download/v0.1.0-rc.1/dxd-linux-x64",
11+
"sha256": "0953dd8a009b0a6d4c7efb3b6fc6fcc996ba9ac63be0204acc48566e9cac0d70"
12+
},
13+
"toolchain": {
14+
"node": ">=22.19.0",
15+
"pnpm": "9.15.0",
16+
"rust": "1.89.0"
17+
}
18+
}

0 commit comments

Comments
 (0)