@sparkelf/dsh-patch-web-base-path 0.1.0-rc.13 → 0.1.0-rc.22
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/README.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +3 -3
- package/patches/web-base-path.patch +5 -5
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write patches/npm/web-base-path/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: ab279df518eb824587a9e803a6dba82d856cc6ce
|
|
6
|
+
README.zh.md: c3f22c55346538ae4e97326de697cfdef4c973cd
|
package/README.md
CHANGED
|
@@ -6,4 +6,4 @@ This data-only package adds complete reverse-proxy mount-prefix support to the e
|
|
|
6
6
|
|
|
7
7
|
The payload intentionally spans the WebServer, frontend static owner, Web app startup and shell, Connection browser transport, Session export, and Web source assets. Splitting those files would permit partially mounted deployments, so they share one patch lifecycle. Default empty-prefix behavior remains byte-for-byte root-relative from the user's perspective.
|
|
8
8
|
|
|
9
|
-
The target is official source base `
|
|
9
|
+
The target is official source base `d347e703908d0406b7a7ef80e3a0e594d86b2215`; the package has no JavaScript entry, lifecycle script, compatibility fallback, or credential data. Retire it when official DSH ships equivalent end-to-end base-path behavior.
|
package/README.zh.md
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
|
|
7
7
|
payload有意跨越WebServer、frontend static owner、Web app startup/shell、Connection browser transport、Session export与Web source assets。拆分这些files会允许partial mounted deployments,因此它们共享一个patch lifecycle。empty-prefix default behavior从用户视角保持root-relative不变。
|
|
8
8
|
|
|
9
|
-
target是official source base `
|
|
9
|
+
target是official source base `d347e703908d0406b7a7ef80e3a0e594d86b2215`;package没有JavaScript entry、lifecycle script、compatibility fallback或credential data。official DSH发布等价end-to-end base-path behavior后retire。
|
package/package.json
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"formatVersion": 1,
|
|
5
5
|
"variants": [
|
|
6
6
|
{
|
|
7
|
-
"dsh": ">=0.1.
|
|
7
|
+
"dsh": ">=0.1.3-alpha.1",
|
|
8
8
|
"file": "./patches/web-base-path.patch",
|
|
9
9
|
"id": "web-reverse-proxy-base-path",
|
|
10
10
|
"target": {
|
|
11
|
-
"baseRevision": "
|
|
11
|
+
"baseRevision": "d347e703908d0406b7a7ef80e3a0e594d86b2215",
|
|
12
12
|
"kind": "dsh-source",
|
|
13
13
|
"paths": [
|
|
14
14
|
"apps/web/",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
|
|
37
37
|
},
|
|
38
38
|
"type": "module",
|
|
39
|
-
"version": "0.1.0-rc.
|
|
39
|
+
"version": "0.1.0-rc.22"
|
|
40
40
|
}
|
|
@@ -41,10 +41,10 @@ index 20a428fee6..a7cc973d9e 100644
|
|
|
41
41
|
"type": "image/svg+xml",
|
|
42
42
|
"purpose": "any"
|
|
43
43
|
diff --git a/packages/bundle/web-app/cordis.patch.yml b/packages/bundle/web-app/cordis.patch.yml
|
|
44
|
-
index
|
|
44
|
+
index ee0217066d..84a75967f3 100644
|
|
45
45
|
--- a/packages/bundle/web-app/cordis.patch.yml
|
|
46
46
|
+++ b/packages/bundle/web-app/cordis.patch.yml
|
|
47
|
-
@@ -
|
|
47
|
+
@@ -119,6 +119,7 @@
|
|
48
48
|
config:
|
|
49
49
|
host: !!js ctx.webStartup.host ?? '127.0.0.1'
|
|
50
50
|
port: !!js ctx.webStartup.port ?? 3080
|
|
@@ -53,10 +53,10 @@ index 9ee698044e..57757915ba 100644
|
|
|
53
53
|
compressionLevel: 1
|
|
54
54
|
compressionThresholdBytes: 1024
|
|
55
55
|
diff --git a/packages/bundle/web-app/src/index.ts b/packages/bundle/web-app/src/index.ts
|
|
56
|
-
index
|
|
56
|
+
index 4f0367a44f..32123ddf2c 100644
|
|
57
57
|
--- a/packages/bundle/web-app/src/index.ts
|
|
58
58
|
+++ b/packages/bundle/web-app/src/index.ts
|
|
59
|
-
@@ -
|
|
59
|
+
@@ -156,9 +156,9 @@ function webSurfacePrompt(webUrl: string): string {
|
|
60
60
|
|
|
61
61
|
/** Resolve the canonical loopback URL from the active Web server. */
|
|
62
62
|
function localWebUrl(ctx: Context): string {
|
|
@@ -69,7 +69,7 @@ index d0b2635f8e..669dc756ea 100644
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
@@ -
|
|
72
|
+
@@ -274,7 +274,7 @@ export function apply(ctx: Context, config: Config): void {
|
|
73
73
|
const port = connectionCtx.webServer.port
|
|
74
74
|
const lanUrl = lanCandidate === undefined
|
|
75
75
|
? undefined
|