@north-light/cli 0.3.559 → 0.3.561
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/dist/api/client.js +3 -3
- package/dist/builtin-memory/crouter-sdk/release-notes.md +7 -0
- package/dist/clients/attach/viewer.js +462 -462
- package/dist/daemon/api/vendor-signin.js +1 -1
- package/docs/sdk/release-notes.md +7 -0
- package/package.json +2 -2
- package/packages/crouter-identity/package.json +1 -1
- package/runtime.lock.json +13 -13
|
@@ -135,7 +135,7 @@ if(cfg.kind==='anthropic'){
|
|
|
135
135
|
}
|
|
136
136
|
(function poll(){
|
|
137
137
|
fetch(cfg.base+'/wait',{headers:auth})
|
|
138
|
-
.then(function(r){if(r.status===401||r.status===404)return {status:'failed',reason:'runtime'};if(!r.ok)throw new Error(String(r.status));return r.json();})
|
|
138
|
+
.then(function(r){if(r.status===401||r.status===404)return {status:'failed',reason:'runtime',step:'browser_wait'};if(!r.ok)throw new Error(String(r.status));return r.json();})
|
|
139
139
|
.then(function(b){
|
|
140
140
|
if(b.status==='pending'){poll();return;}
|
|
141
141
|
if(b.status==='connected'){back('connected');return;}
|
|
@@ -7,6 +7,13 @@ description: Behavior changes in @north-light/sdk that an app must act on, newes
|
|
|
7
7
|
|
|
8
8
|
Changes to `@north-light/sdk` that can change what an existing app sees. Newest first.
|
|
9
9
|
|
|
10
|
+
## 0.3.560
|
|
11
|
+
|
|
12
|
+
A read waits through a hosted runtime being created or replaced, instead of failing with `503`. No new option.
|
|
13
|
+
|
|
14
|
+
- **Reads wait up to 60 seconds.** When the hosting router answers a `GET` or `HEAD` with its `503 runtime_unreachable` carrying `details: { runtime_state: "creating" | "recovering", forwarded: false }` (the request reached no runtime), the SDK sleeps for `Retry-After` and sends it again, within the call's `signal` and `deadline`/`timeout` and at most 60 seconds in all. If the runtime is still unavailable then, the call fails with that same `503`. `maxRetries: 0` turns the wait off.
|
|
15
|
+
- **Writes are never retried on this state.** A `POST`, `PUT`, `PATCH` or `DELETE` gets the `503` straight away, as before. The live event stream's own reconnect is unchanged.
|
|
16
|
+
|
|
10
17
|
## 0.3.559
|
|
11
18
|
|
|
12
19
|
An app can run the `crtr` command line in its own sandbox on the person's runtime. Additive.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@north-light/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.561",
|
|
4
4
|
"description": "crtr — agent runtime with memory, plugins, and marketplaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
},
|
|
142
142
|
"license": "UNLICENSED",
|
|
143
143
|
"dependencies": {
|
|
144
|
-
"@north-light/identity": "0.3.
|
|
144
|
+
"@north-light/identity": "0.3.561",
|
|
145
145
|
"@earendil-works/pi-agent-core": "1.1.0",
|
|
146
146
|
"@earendil-works/pi-ai": "1.1.0",
|
|
147
147
|
"@earendil-works/pi-coding-agent": "1.1.0",
|
package/runtime.lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@north-light/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.561",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@north-light/cli",
|
|
9
|
-
"version": "0.3.
|
|
9
|
+
"version": "0.3.561",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "UNLICENSED",
|
|
12
12
|
"workspaces": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@milkdown/preset-gfm": "^7.22.3",
|
|
25
25
|
"@milkdown/prose": "^7.22.3",
|
|
26
26
|
"@milkdown/utils": "^7.22.3",
|
|
27
|
-
"@north-light/identity": "0.3.
|
|
27
|
+
"@north-light/identity": "0.3.561",
|
|
28
28
|
"cron-parser": "^5.6.0",
|
|
29
29
|
"esbuild": "^0.27.7",
|
|
30
30
|
"jose": "^6.2.12",
|
|
@@ -12455,17 +12455,17 @@
|
|
|
12455
12455
|
},
|
|
12456
12456
|
"packages/crouter-api": {
|
|
12457
12457
|
"name": "@north-light/api",
|
|
12458
|
-
"version": "0.3.
|
|
12458
|
+
"version": "0.3.561",
|
|
12459
12459
|
"license": "UNLICENSED"
|
|
12460
12460
|
},
|
|
12461
12461
|
"packages/crouter-env-docker": {
|
|
12462
12462
|
"name": "@north-light/env-docker",
|
|
12463
|
-
"version": "0.3.
|
|
12463
|
+
"version": "0.3.561",
|
|
12464
12464
|
"license": "UNLICENSED"
|
|
12465
12465
|
},
|
|
12466
12466
|
"packages/crouter-identity": {
|
|
12467
12467
|
"name": "@north-light/identity",
|
|
12468
|
-
"version": "0.3.
|
|
12468
|
+
"version": "0.3.561",
|
|
12469
12469
|
"license": "UNLICENSED",
|
|
12470
12470
|
"dependencies": {
|
|
12471
12471
|
"jose": "^6.2.1"
|
|
@@ -12473,21 +12473,21 @@
|
|
|
12473
12473
|
},
|
|
12474
12474
|
"packages/crouter-plugin": {
|
|
12475
12475
|
"name": "@north-light/plugin",
|
|
12476
|
-
"version": "0.3.
|
|
12476
|
+
"version": "0.3.561",
|
|
12477
12477
|
"license": "UNLICENSED",
|
|
12478
12478
|
"dependencies": {
|
|
12479
|
-
"@north-light/api": "0.3.
|
|
12480
|
-
"@north-light/identity": "0.3.
|
|
12479
|
+
"@north-light/api": "0.3.561",
|
|
12480
|
+
"@north-light/identity": "0.3.561"
|
|
12481
12481
|
}
|
|
12482
12482
|
},
|
|
12483
12483
|
"packages/crouter-sdk": {
|
|
12484
12484
|
"name": "@north-light/sdk",
|
|
12485
|
-
"version": "0.3.
|
|
12485
|
+
"version": "0.3.561",
|
|
12486
12486
|
"license": "UNLICENSED",
|
|
12487
12487
|
"dependencies": {
|
|
12488
|
-
"@north-light/api": "0.3.
|
|
12489
|
-
"@north-light/identity": "0.3.
|
|
12490
|
-
"@north-light/plugin": "0.3.
|
|
12488
|
+
"@north-light/api": "0.3.561",
|
|
12489
|
+
"@north-light/identity": "0.3.561",
|
|
12490
|
+
"@north-light/plugin": "0.3.561",
|
|
12491
12491
|
"jose": "^6.2.1"
|
|
12492
12492
|
},
|
|
12493
12493
|
"bin": {
|