deepspace 0.8.2 → 0.9.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/CHANGELOG.md +28 -0
- package/README.md +43 -4
- package/dist/cli.js +1210 -196
- package/dist/cli.js.map +1 -1
- package/dist/server.d.ts +5 -3
- package/dist/server.js +17 -5
- package/dist/server.js.map +1 -1
- package/dist/testing.d.ts +115 -0
- package/dist/worker.d.ts +5 -3
- package/dist/worker.js +17 -5
- package/dist/worker.js.map +1 -1
- package/package.json +6 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,38 @@
|
|
|
1
1
|
# deepspace
|
|
2
2
|
|
|
3
|
+
## 0.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Require canonical app ids at normal backend and runtime boundaries while retaining the owner-only `deepspace app migrate` workflow and permanent physical-resource continuity.
|
|
8
|
+
- Add first-class single-authority GitHub and DeepSpace source control, including
|
|
9
|
+
manual GitHub verification, provider-aware deploys, and reversible branch/tag
|
|
10
|
+
transfers through `deepspace app source`.
|
|
11
|
+
- Add the resumable `deepspace app migrate` workflow for GitHub-owned legacy
|
|
12
|
+
apps. Migrations mint a canonical immutable app id while preserving existing
|
|
13
|
+
Workers, Durable Objects, files, secrets, releases, billing history, routes,
|
|
14
|
+
collaborators, and other physical resources in place.
|
|
15
|
+
Dry-run returns an exact, non-mutating registry re-key inventory, and
|
|
16
|
+
`--cancel` / `--rollback` provide GitHub-first recovery before any canonical
|
|
17
|
+
deployment begins.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Report GitHub-owned cloud Git operations as source-policy refusals instead of app-quota errors.
|
|
22
|
+
- Build every SDK entry from one pre-cleaned output directory so concurrent declaration generation cannot remove sibling entry artifacts.
|
|
23
|
+
- Install the AI SDK runtime and provider packages used by `deepspace/worker` as
|
|
24
|
+
real dependencies. Apps that do not use the AI helpers no longer fail to bundle
|
|
25
|
+
the Worker because optional provider peers are absent, and an app-owned AI SDK
|
|
26
|
+
v4 install no longer prevents DeepSpace's v5 provider runtime from installing.
|
|
27
|
+
Calls that consume `createDeepSpaceAI` models still use the documented v5 API.
|
|
28
|
+
- Keep managed workspace dependencies inside their own Git checkout and roll back a newly created worktree if its private ownership marker cannot be recorded.
|
|
29
|
+
|
|
3
30
|
## 0.8.2
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
6
33
|
|
|
7
34
|
- Publish the SDK after verifying its packed artifacts across the supported Node 22.15, 24, and 26 Linux runtimes.
|
|
35
|
+
- Install the AI SDK runtime and provider packages used by `deepspace/worker` as real dependencies, so apps can bundle the Worker without manually installing optional provider peers and an app-owned AI SDK v4 install no longer prevents DeepSpace's v5 provider runtime from installing. Calls that consume `createDeepSpaceAI` models still use the documented v5 API.
|
|
8
36
|
|
|
9
37
|
## 0.8.1
|
|
10
38
|
|
package/README.md
CHANGED
|
@@ -89,14 +89,53 @@ npx deepspace dev start # run locally
|
|
|
89
89
|
npx deepspace deploy # deploy to *.app.space
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
The [normative CLI hierarchy](../../docs/platform/cli-contract.md#public-command-hierarchy)
|
|
93
|
+
keeps durable app identity and lifecycle operations under `deepspace app`,
|
|
94
|
+
while checkout-oriented Git, workspace, release, and deploy operations stay
|
|
95
|
+
top-level. In particular, legacy identity migration is
|
|
96
|
+
`deepspace app migrate`; there is no top-level `deepspace migrate` alias.
|
|
97
|
+
|
|
98
|
+
Every app has one authoritative Git repository. DeepSpace source is the packaged
|
|
99
|
+
default: the first normal deploy claims it and publishes automatically.
|
|
100
|
+
`deepspace push` publishes the current branch and `deepspace clone <app>` checks
|
|
101
|
+
it out; both configure a `space` remote and credential helper, so normal
|
|
102
|
+
`git fetch space` and `git push space` work afterward.
|
|
103
|
+
|
|
104
|
+
GitHub source is explicit and manual because the developer owns that repository:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
git remote add origin git@github.com:owner/repository.git
|
|
108
|
+
git push -u origin main
|
|
109
|
+
npx deepspace app source github
|
|
110
|
+
npx deepspace deploy
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
DeepSpace verifies GitHub but never writes it. Inspect or transfer authority with
|
|
114
|
+
`deepspace app source`, `deepspace app source github`, or
|
|
115
|
+
`deepspace app source deepspace`. Transfers mirror branches and tags before one
|
|
116
|
+
atomic authority change; switching back uses the same commands. Commands support
|
|
96
117
|
`--json` for agents. See the
|
|
97
118
|
[repository guide](https://github.com/deepdotspace/deepspace/blob/main/docs/platform/repo-store-git.md)
|
|
98
119
|
for workspaces, releases, and rollback.
|
|
99
120
|
|
|
121
|
+
Legacy GitHub apps whose `DEEPSPACE_APP_ID` is still name-shaped migrate in
|
|
122
|
+
place with one resumable command:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
npx deepspace app migrate --dry-run
|
|
126
|
+
npx deepspace app migrate
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
The dry-run lists the exact registry rows that will be re-keyed and the
|
|
130
|
+
physical stores that remain at the existing resource id. The command then
|
|
131
|
+
pauses for the normal manual GitHub commit/push and finishes with one deploy.
|
|
132
|
+
Keep deploy, release rollback, and undeploy idle from the mutating command until
|
|
133
|
+
that returned deploy begins; normal app traffic continues throughout.
|
|
134
|
+
Before that deploy starts, `--cancel` reverses a prepared migration and
|
|
135
|
+
`--rollback` reverses a committed migration; both require the restored legacy
|
|
136
|
+
configuration to be committed and pushed first. DeepSpace never writes the
|
|
137
|
+
GitHub repository.
|
|
138
|
+
|
|
100
139
|
## Debugging
|
|
101
140
|
|
|
102
141
|
Client SDK connection/auth/Yjs logs are silent by default. Enable them with
|