@linxin666/dsh-remote-web-ui 0.2.5 → 0.2.7
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 +4 -1
- package/README.zh.md +1 -1
- package/lib/client.js +16 -3
- package/lib/client.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/mobile.js +9 -8
- package/lib/mobile.js.map +1 -1
- package/lib/types/client/FenceNotice.d.ts +3 -2
- package/lib/types/client/FenceNotice.d.ts.map +1 -1
- package/lib/types/client/FooterRemoteEntry.js +1 -1
- package/lib/types/client/PluginSettingsCard.d.ts +1 -1
- package/lib/types/client/PluginSettingsCard.d.ts.map +1 -1
- package/lib/types/client/RemoteEntry.js +5 -5
- package/lib/types/client/RemotePanel.js +3 -3
- package/lib/types/client/RemoteSettingsCard.d.ts.map +1 -1
- package/lib/types/client/RemoteSettingsCard.js +2 -2
- package/lib/types/client/UpdateEntry.js +1 -1
- package/lib/types/client/UpdatePanel.js +1 -1
- package/lib/types/client/deep-link.js +1 -1
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/index.js +19 -11
- package/lib/types/client/remote-channel.d.ts +15 -0
- package/lib/types/client/remote-channel.d.ts.map +1 -1
- package/lib/types/client/remote-channel.js +13 -0
- package/lib/types/client/settings-form.d.ts.map +1 -1
- package/lib/types/client/update-api.d.ts.map +1 -1
- package/lib/types/gate.js +1 -1
- package/lib/types/index.js +14 -14
- package/lib/types/invariant.d.ts.map +1 -1
- package/lib/types/loopback-proxy.js +1 -1
- package/lib/types/mobile/PairRequiredView.js +1 -1
- package/lib/types/mobile/PairRequiredView.test.js +1 -1
- package/lib/types/mobile/api.js +1 -1
- package/lib/types/mobile/index.js +5 -5
- package/lib/types/mobile/markdown.test.js +1 -1
- package/lib/types/mobile/messages.d.ts.map +1 -1
- package/lib/types/mobile/messages.test.js +1 -1
- package/lib/types/mobile/mobile-theme.test.js +2 -2
- package/lib/types/mobile/mux.d.ts.map +1 -1
- package/lib/types/mobile/mux.js +1 -1
- package/lib/types/mobile/mux.test.js +1 -1
- package/lib/types/mobile/rpc.d.ts.map +1 -1
- package/lib/types/mobile/theme-toggle.js +1 -1
- package/lib/types/mobile/views/App.js +7 -7
- package/lib/types/mobile/views/App.test.js +2 -2
- package/lib/types/mobile/views/ChatView.js +6 -6
- package/lib/types/mobile/views/ChatView.test.js +3 -3
- package/lib/types/mobile/views/SessionListView.js +3 -3
- package/lib/types/mobile/views/SessionListView.test.js +2 -2
- package/lib/types/mobile/views/WorkspaceView.js +3 -3
- package/lib/types/mobile/views/WorkspaceView.test.js +3 -3
- package/lib/types/mobile-api.d.ts +1 -1
- package/lib/types/mobile-api.d.ts.map +1 -1
- package/lib/types/mobile-api.js +2 -2
- package/lib/types/pairing-access.d.ts.map +1 -1
- package/lib/types/pairing.d.ts.map +1 -1
- package/lib/types/pairing.persist.test.js +2 -2
- package/lib/types/remote-api.js +6 -6
- package/lib/types/remote-methods.d.ts.map +1 -1
- package/lib/types/routes.d.ts +7 -7
- package/lib/types/routes.d.ts.map +1 -1
- package/lib/types/routes.js +3 -3
- package/lib/types/tunnel.d.ts.map +1 -1
- package/lib/types/update-routes.d.ts +2 -2
- package/lib/types/update-routes.d.ts.map +1 -1
- package/lib/types/update-routes.js +1 -1
- package/package.json +12 -12
- package/src/client/FenceNotice.tsx +3 -2
- package/src/client/index.ts +11 -3
- package/src/client/remote-channel.ts +21 -0
- package/src/client/settings-card.module.css +2 -0
package/lib/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import http, { request } from "node:http";
|
|
|
14
14
|
import { connect } from "node:net";
|
|
15
15
|
import { Tunnel, bin, install } from "cloudflared";
|
|
16
16
|
import { spawn } from "node:child_process";
|
|
17
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-settings@0.1.
|
|
17
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-settings@0.1.1-rc.1_@deepseek-ai+cordis@4.0.1_@deepseek-ai+dsh-brand@0_8fb97b2935e1a5982886bc1738874e4d/node_modules/@deepseek-ai/dsh-settings/lib/index.js
|
|
18
18
|
/**
|
|
19
19
|
* Structural secret redaction for settings values. `role('secret')` fields are
|
|
20
20
|
* removed from a value before it crosses a wire boundary; a sidecar records
|
package/lib/mobile.js
CHANGED
|
@@ -11962,7 +11962,7 @@ function superRefine(fn, params) {
|
|
|
11962
11962
|
return /* @__PURE__ */ _superRefine(fn, params);
|
|
11963
11963
|
}
|
|
11964
11964
|
//#endregion
|
|
11965
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.
|
|
11965
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.1-rc.1_220c5e0fb3d45fbbe711d0f1a490a443/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/rpc.schema.js
|
|
11966
11966
|
/**
|
|
11967
11967
|
* Message-layer zod schemas: the four wire full forms + error body +
|
|
11968
11968
|
* carrier receipt. The payload slot is unknown in the full-form schemas — business payloads
|
|
@@ -12271,7 +12271,7 @@ union([object({ accepted: literal(true) }), object({
|
|
|
12271
12271
|
reason: union([literal("not-pending"), literal("bad-response")])
|
|
12272
12272
|
})]);
|
|
12273
12273
|
//#endregion
|
|
12274
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.
|
|
12274
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.1-rc.1_220c5e0fb3d45fbbe711d0f1a490a443/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/session-search.js
|
|
12275
12275
|
/**
|
|
12276
12276
|
* Return the longest prefix containing at most `maximum` Unicode code points.
|
|
12277
12277
|
* @param value - text to bound.
|
|
@@ -12289,7 +12289,7 @@ function truncateUnicodeCodePoints(value, maximum) {
|
|
|
12289
12289
|
return value;
|
|
12290
12290
|
}
|
|
12291
12291
|
//#endregion
|
|
12292
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.
|
|
12292
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.1-rc.1_220c5e0fb3d45fbbe711d0f1a490a443/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/sessions.schema.js
|
|
12293
12293
|
/**
|
|
12294
12294
|
* sessions domain zod schemas (names derived from map keys: sessionListRequestSchema /
|
|
12295
12295
|
* sessionListValueSchema). SessionEvent passthrough = strict envelope (type/seq/time) + wide
|
|
@@ -12343,8 +12343,9 @@ object({
|
|
|
12343
12343
|
workspaceId: workspaceIdSchema.optional(),
|
|
12344
12344
|
cwd: string().optional(),
|
|
12345
12345
|
sessionId: sessionIdSchema.optional(),
|
|
12346
|
-
agentPreset: string().optional()
|
|
12347
|
-
|
|
12346
|
+
agentPreset: string().optional(),
|
|
12347
|
+
reuseWorkspaceBlank: literal(true).optional()
|
|
12348
|
+
}).refine((payload) => payload.workspaceId === void 0 || payload.cwd === void 0, { message: "session.create accepts workspaceId or cwd, not both" }).refine((payload) => payload.reuseWorkspaceBlank !== true || payload.workspaceId !== void 0 && payload.sessionId !== void 0, { message: "session.create reuseWorkspaceBlank requires workspaceId and sessionId" });
|
|
12348
12349
|
object({
|
|
12349
12350
|
sessionId: sessionIdSchema,
|
|
12350
12351
|
agentPreset: string().optional()
|
|
@@ -12526,7 +12527,7 @@ object({ accepted: literal(true) });
|
|
|
12526
12527
|
object({ sessionId: sessionIdSchema });
|
|
12527
12528
|
object({ accepted: literal(true) });
|
|
12528
12529
|
//#endregion
|
|
12529
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.
|
|
12530
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.1-rc.1_220c5e0fb3d45fbbe711d0f1a490a443/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/approvals.schema.js
|
|
12530
12531
|
/**
|
|
12531
12532
|
* approvals domain zod schemas (respond is a client-response; the payload schema serves
|
|
12532
12533
|
* the /api/respond endpoint's second parse after routing via the pending table).
|
|
@@ -12560,7 +12561,7 @@ const taskViewSchema = object({
|
|
|
12560
12561
|
finishedAt: number().int().nonnegative().optional()
|
|
12561
12562
|
});
|
|
12562
12563
|
//#endregion
|
|
12563
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.
|
|
12564
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.1-rc.1_220c5e0fb3d45fbbe711d0f1a490a443/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/workspace.schema.js
|
|
12564
12565
|
/**
|
|
12565
12566
|
* workspace domain zod schemas (names derived from map keys). The
|
|
12566
12567
|
* WorkspaceId brand cast lives in sessions.schema (see the note there) and
|
|
@@ -12606,7 +12607,7 @@ object({ workspace: workspaceViewSchema });
|
|
|
12606
12607
|
object({ sessionId: sessionIdSchema });
|
|
12607
12608
|
object({ archivedSessionIds: array(sessionIdSchema) });
|
|
12608
12609
|
//#endregion
|
|
12609
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.
|
|
12610
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-host-apiproxy@0.1.1-rc.1_220c5e0fb3d45fbbe711d0f1a490a443/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/events.schema.js
|
|
12610
12611
|
/**
|
|
12611
12612
|
* events domain zod schemas: MuxFrame / HostFrame unions (discriminatedUnion('type')).
|
|
12612
12613
|
* A frame is the payload slot of the ServerRequest full form; the SessionEvent inside
|