refactor: 包名定为 @sutong/dsh-lan-access,元数据指向自建 Gitea

主办从 GitHub 迁到自建 Gitea(git.nixus.top/sutong/dsh-lan-access),
包名随之从 @wishesl 改回 @sutong,与仓库归属一致。
repository/bugs/homepage 指向 git.nixus.top;LICENSE 版权主体同步。
因包名已做成单一来源,本次只需改 package.json 并重建。
This commit is contained in:
2026-09-27 04:18:46 +08:00
parent a5f51a029f
commit dbfdfda60d
9 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2026 wishesl Copyright (c) 2026 sutong
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,4 +1,4 @@
# @wishesl/dsh-lan-access # @sutong/dsh-lan-access
Publish the dsh Web UI on your local network with a **standalone reverse proxy**: it listens on `0.0.0.0:<port>`, forwards HTTP and WebSocket to the loopback web server, and **keeps the official launch-token login**. Publish the dsh Web UI on your local network with a **standalone reverse proxy**: it listens on `0.0.0.0:<port>`, forwards HTTP and WebSocket to the loopback web server, and **keeps the official launch-token login**.
+1 -1
View File
@@ -1,4 +1,4 @@
# @wishesl/dsh-lan-access # @sutong/dsh-lan-access
局域网访问 dsh Web UI:一个**独立反向代理**,在 `0.0.0.0:<port>` 监听,把 HTTP 与 WebSocket 转发到回环 web 服务器,并**保留官方 launch token 登录**。 局域网访问 dsh Web UI:一个**独立反向代理**,在 `0.0.0.0:<port>` 监听,把 HTTP 与 WebSocket 转发到回环 web 服务器,并**保留官方 launch token 登录**。
+5 -5
View File
@@ -1,10 +1,10 @@
/** /**
* @wishesl/dsh-lan-access — browser half (generated by scripts/build-client.mjs). * @sutong/dsh-lan-access — browser half (generated by scripts/build-client.mjs).
* *
* Do not edit this file: change src/panel.js or src/qrcode.js and rebuild. * Do not edit this file: change src/panel.js or src/qrcode.js and rebuild.
*/ */
window.__ModuleLoader__.load({ window.__ModuleLoader__.load({
id: "@wishesl/dsh-lan-access", id: "@sutong/dsh-lan-access",
factory: function (require) { factory: function (require) {
"use strict"; "use strict";
var React = require("react"); var React = require("react");
@@ -23,7 +23,7 @@ window.__ModuleLoader__.load({
* Verified against the reference `qrcode` npm package: `node scripts/test-qr.mjs` * Verified against the reference `qrcode` npm package: `node scripts/test-qr.mjs`
* compares every module of every version and mask. * compares every module of every version and mask.
* *
* @module @wishesl/dsh-lan-access/qrcode * @module @sutong/dsh-lan-access/qrcode
*/ */
/** Error-correction level indicator bits (`M` = 0b00) and the format-info prefix. */ /** Error-correction level indicator bits (`M` = 0b00) and the format-info prefix. */
@@ -510,14 +510,14 @@ window.__ModuleLoader__.load({
// ── inlined src/panel.js ───────────────────────────────────────────────── // ── inlined src/panel.js ─────────────────────────────────────────────────
/** /**
* Client half of @wishesl/dsh-lan-access: its own Settings page showing the LAN * Client half of @sutong/dsh-lan-access: its own Settings page showing the LAN
* addresses the host listener publishes, with a scannable QR code for the * addresses the host listener publishes, with a scannable QR code for the
* address you pick. * address you pick.
* *
* This file is bundled into the single browser artifact `client.js` by * This file is bundled into the single browser artifact `client.js` by
* `scripts/build-client.mjs`; it is never loaded directly by the browser. * `scripts/build-client.mjs`; it is never loaded directly by the browser.
* *
* @module @wishesl/dsh-lan-access/panel * @module @sutong/dsh-lan-access/panel
*/ */
+2 -2
View File
@@ -1,4 +1,4 @@
# @wishesl/dsh-lan-access — bundle patch. # @sutong/dsh-lan-access — bundle patch.
# #
# The LAN listener itself overrides no shipped row: it is a separate socket that # The LAN listener itself overrides no shipped row: it is a separate socket that
# forwards to the loopback web server, so the official webserver bind, the # forwards to the loopback web server, so the official webserver bind, the
@@ -12,7 +12,7 @@
# An ordinary Cordis plugin activated by package name. # An ordinary Cordis plugin activated by package name.
- insert: - insert:
- id: dsh-lan-access - id: dsh-lan-access
name: '@wishesl/dsh-lan-access' name: '@sutong/dsh-lan-access'
config: config:
# The official client derives its `isLoopback` topology fact from # The official client derives its `isLoopback` topology fact from
# `location.hostname`, and the durable settings surface is loopback-only # `location.hostname`, and the durable settings surface is loopback-only
+2 -2
View File
@@ -1,5 +1,5 @@
/** /**
* @wishesl/dsh-lan-access — host half. * @sutong/dsh-lan-access — host half.
* *
* Publishes the loopback dsh Web UI on the LAN through a standalone reverse * Publishes the loopback dsh Web UI on the LAN through a standalone reverse
* proxy. `dsh web --host 0.0.0.0` is refused by the shipped CLI on purpose * proxy. `dsh web --host 0.0.0.0` is refused by the shipped CLI on purpose
@@ -8,7 +8,7 @@
* it. The official browser-trust fence and the launch-token login stay in * it. The official browser-trust fence and the launch-token login stay in
* force; nothing about the composed application is overridden. * force; nothing about the composed application is overridden.
* *
* @module @wishesl/dsh-lan-access * @module @sutong/dsh-lan-access
*/ */
import { createServer, request as httpRequest } from 'node:http' import { createServer, request as httpRequest } from 'node:http'
+4 -4
View File
@@ -1,5 +1,5 @@
{ {
"name": "@wishesl/dsh-lan-access", "name": "@sutong/dsh-lan-access",
"version": "0.1.0", "version": "0.1.0",
"description": "Expose the dsh Web UI on the LAN through a standalone reverse proxy that preserves the official launch token — HTTP and WebSocket forwarding, no Host rewrite of your trust boundary.", "description": "Expose the dsh Web UI on the LAN through a standalone reverse proxy that preserves the official launch token — HTTP and WebSocket forwarding, no Host rewrite of your trust boundary.",
"type": "module", "type": "module",
@@ -70,12 +70,12 @@
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/wishesl/dsh-lan-access.git" "url": "git+https://git.nixus.top/sutong/dsh-lan-access.git"
}, },
"bugs": { "bugs": {
"url": "https://github.com/wishesl/dsh-lan-access/issues" "url": "https://git.nixus.top/sutong/dsh-lan-access/issues"
}, },
"homepage": "https://github.com/wishesl/dsh-lan-access#readme", "homepage": "https://git.nixus.top/sutong/dsh-lan-access",
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
} }
+2 -2
View File
@@ -1,12 +1,12 @@
/** /**
* Client half of @wishesl/dsh-lan-access: its own Settings page showing the LAN * Client half of @sutong/dsh-lan-access: its own Settings page showing the LAN
* addresses the host listener publishes, with a scannable QR code for the * addresses the host listener publishes, with a scannable QR code for the
* address you pick. * address you pick.
* *
* This file is bundled into the single browser artifact `client.js` by * This file is bundled into the single browser artifact `client.js` by
* `scripts/build-client.mjs`; it is never loaded directly by the browser. * `scripts/build-client.mjs`; it is never loaded directly by the browser.
* *
* @module @wishesl/dsh-lan-access/panel * @module @sutong/dsh-lan-access/panel
*/ */
import { encodeQR } from './qrcode.js' import { encodeQR } from './qrcode.js'
+1 -1
View File
@@ -10,7 +10,7 @@
* Verified against the reference `qrcode` npm package: `node scripts/test-qr.mjs` * Verified against the reference `qrcode` npm package: `node scripts/test-qr.mjs`
* compares every module of every version and mask. * compares every module of every version and mask.
* *
* @module @wishesl/dsh-lan-access/qrcode * @module @sutong/dsh-lan-access/qrcode
*/ */
/** Error-correction level indicator bits (`M` = 0b00) and the format-info prefix. */ /** Error-correction level indicator bits (`M` = 0b00) and the format-info prefix. */