dsh-edge 0.9.0 → 0.10.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/THIRD_PARTY_NOTICES.md +1318 -1075
- package/dist/assets/index-Df-65__b.js +110 -0
- package/dist/assets/index-b24khbeK.css +1 -0
- package/dist/assets/langs/{php-DDkx9sim.js → php-DJl5gRdb.js} +2 -2
- package/dist/assets/langs/{ruby-DCxyoPen.js → ruby-5eNB0pDK.js} +2 -2
- package/dist/assets/vendor-BNsW4eBh.css +1 -0
- package/dist/assets/vendor-CCJJTK99.js +411 -0
- package/dist/index.html +8 -8
- package/dist/plugins/@deepseek-ai/dsh-api-gateway/client.js +1513 -77
- package/dist/plugins/@deepseek-ai/dsh-api-remotes/client.js +3608 -757
- package/dist/plugins/@deepseek-ai/dsh-api-session-controller/client.js +2777 -0
- package/dist/plugins/@deepseek-ai/dsh-api-workspace-controller/client.js +415 -0
- package/dist/plugins/@deepseek-ai/dsh-client-connection/client.js +1975 -7466
- package/dist/plugins/@deepseek-ai/dsh-client-locale/client.js +225 -76
- package/dist/plugins/@deepseek-ai/dsh-client-modules/client.js +67 -15
- package/dist/plugins/@deepseek-ai/dsh-client-ui-agent-preset/client.js +270 -460
- package/dist/plugins/@deepseek-ai/dsh-client-ui-approval/client.js +292 -0
- package/dist/plugins/@deepseek-ai/dsh-client-ui-attachment/client.js +42 -17
- package/dist/plugins/@deepseek-ai/dsh-client-ui-brand-official/client.js +7 -9
- package/dist/plugins/@deepseek-ai/dsh-client-ui-chat/client.js +8177 -0
- package/dist/plugins/@deepseek-ai/dsh-client-ui-commands/client.js +22 -10
- package/dist/plugins/@deepseek-ai/dsh-client-ui-conversation/client.js +14950 -8910
- package/dist/plugins/@deepseek-ai/dsh-client-ui-deliverables/client.js +161 -137
- package/dist/plugins/@deepseek-ai/dsh-client-ui-goal/client.js +6 -7
- package/dist/plugins/@deepseek-ai/dsh-client-ui-input-trigger/client.js +268 -40
- package/dist/plugins/@deepseek-ai/dsh-client-ui-jobs/client.js +1 -1
- package/dist/plugins/@deepseek-ai/dsh-client-ui-layout/client.js +45 -11
- package/dist/plugins/@deepseek-ai/dsh-client-ui-message-feedback/client.js +30 -58
- package/dist/plugins/@deepseek-ai/dsh-client-ui-model-selection/client.js +188 -89
- package/dist/plugins/@deepseek-ai/dsh-client-ui-permission-presets/client.js +105 -75
- package/dist/plugins/@deepseek-ai/dsh-client-ui-renderer/client.js +650 -188
- package/dist/plugins/@deepseek-ai/dsh-client-ui-schedule/client.js +307 -0
- package/dist/plugins/@deepseek-ai/dsh-client-ui-session/client.js +340 -0
- package/dist/plugins/@deepseek-ai/dsh-client-ui-settings/client.js +57 -50
- package/dist/plugins/@deepseek-ai/dsh-client-ui-settings-general/client.js +134 -69
- package/dist/plugins/@deepseek-ai/dsh-client-ui-settings-models/client.js +575 -442
- package/dist/plugins/@deepseek-ai/dsh-client-ui-sidebar/client.js +24 -11
- package/dist/plugins/@deepseek-ai/dsh-client-ui-skill/client.js +13 -9
- package/dist/plugins/@deepseek-ai/dsh-client-ui-subagent/client.js +44 -20
- package/dist/plugins/@deepseek-ai/dsh-client-ui-theme/client.js +265 -94
- package/dist/plugins/@deepseek-ai/dsh-client-ui-tool/client.js +899 -433
- package/dist/plugins/@deepseek-ai/dsh-client-ui-trajectory/client.js +1472 -613
- package/dist/plugins/@deepseek-ai/dsh-client-ui-user-questions/client.js +249 -95
- package/dist/plugins/@deepseek-ai/dsh-client-ui-workflow-run/client.js +5 -5
- package/dist/plugins/@deepseek-ai/dsh-client-ui-workspace/client.js +425 -146
- package/dist/plugins/@deepseek-ai/dsh-typert-registry/client.js +29 -14
- package/dist/plugins/dsh-edge-client-ui/client.js +28 -26
- package/package.json +62 -58
- package/scripts/verify-packed.mjs +1 -1
- package/worker/direct/index.js +2866 -1466
- package/worker/isolated/index.js +2438 -1038
- package/dist/assets/index-C6eRlFa6.css +0 -1
- package/dist/assets/index-ClqxG24t.js +0 -96
- package/dist/assets/vendor-CjyC-hUb.css +0 -1
- package/dist/assets/vendor-D22_Mp1f.js +0 -411
- package/dist/plugins/@deepseek-ai/dsh-client-runtime/client.js +0 -10574
|
@@ -5,7 +5,7 @@ window.__ModuleLoader__.load({
|
|
|
5
5
|
var exports = module.exports;
|
|
6
6
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
7
7
|
let _deepseek_ai_cordis = require("@deepseek-ai/cordis");
|
|
8
|
-
let
|
|
8
|
+
let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
let react = require("react");
|
|
11
11
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
@@ -50,6 +50,17 @@ window.__ModuleLoader__.load({
|
|
|
50
50
|
for (const key of this.entries.keys()) this.refresh(key);
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
+
* Drop one Session's obsolete composition-specific snapshot and prewarm its replacement.
|
|
54
|
+
* @param sessionId - Session whose effective command composition changed.
|
|
55
|
+
*/
|
|
56
|
+
resetSession(sessionId) {
|
|
57
|
+
const entry = this.entry(sessionId);
|
|
58
|
+
entry.state = "cold";
|
|
59
|
+
entry.commands = [];
|
|
60
|
+
entry.lastError = void 0;
|
|
61
|
+
this.refresh(sessionId);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
53
64
|
* Hard reset on reconnect: every entry drops its snapshot (the agent world
|
|
54
65
|
* may have changed shape across the generation) and prewarms.
|
|
55
66
|
*/
|
|
@@ -197,7 +208,7 @@ window.__ModuleLoader__.load({
|
|
|
197
208
|
var PopupSelectController = class {
|
|
198
209
|
deps;
|
|
199
210
|
/** Shell state store (the overlay component subscribes here). */
|
|
200
|
-
state = (0,
|
|
211
|
+
state = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(CLOSED);
|
|
201
212
|
binding = null;
|
|
202
213
|
/**
|
|
203
214
|
* @param deps - session-wiring callbacks (token consumption + composer focus).
|
|
@@ -534,7 +545,7 @@ window.__ModuleLoader__.load({
|
|
|
534
545
|
this.directory.invalidateAll();
|
|
535
546
|
});
|
|
536
547
|
ctx.remote.$on("agent-preset/selected", (sessionId) => {
|
|
537
|
-
this.directory.
|
|
548
|
+
this.directory.resetSession(sessionId);
|
|
538
549
|
});
|
|
539
550
|
ctx.on("connection/reset", () => {
|
|
540
551
|
this.directory.resetConnected();
|
|
@@ -772,7 +783,7 @@ window.__ModuleLoader__.load({
|
|
|
772
783
|
* the outcome renders as a persistent flow node — the composer never
|
|
773
784
|
* echoes it. A handler error result reports an error outcome so the
|
|
774
785
|
* composer keeps the submission (draft and images) for correction.
|
|
775
|
-
*
|
|
786
|
+
* A refused call throws.
|
|
776
787
|
*/
|
|
777
788
|
async execute(session, line, images = []) {
|
|
778
789
|
const result = await this.ctx.remote.commands.execute(session.sessionId, line, images);
|
|
@@ -814,9 +825,9 @@ window.__ModuleLoader__.load({
|
|
|
814
825
|
* Fire-and-forget execute for the internal ('handled') paths. Outcomes are
|
|
815
826
|
* NOT surfaced here: the host executor durably logs the command lifecycle
|
|
816
827
|
* (`command/run`/`command/done`), and the mux-broadcast events render as a
|
|
817
|
-
* persistent flow node on every tab. Only
|
|
818
|
-
*
|
|
819
|
-
*
|
|
828
|
+
* persistent flow node on every tab. Only an admission failure — which never
|
|
829
|
+
* entered a handler and therefore never logged — falls back to the composer
|
|
830
|
+
* notice as immediate feedback.
|
|
820
831
|
*/
|
|
821
832
|
runDetached(desc, session, line) {
|
|
822
833
|
this.execute(session, line).then((outcome) => {
|
|
@@ -837,7 +848,7 @@ window.__ModuleLoader__.load({
|
|
|
837
848
|
token: segment.token
|
|
838
849
|
} });
|
|
839
850
|
}
|
|
840
|
-
/** Route an admission
|
|
851
|
+
/** Route an admission failure to the session's composer notice channel (scope gone = attempt died with it). */
|
|
841
852
|
noticeFor(id, level, text) {
|
|
842
853
|
const actx = this.scopeFor(id);
|
|
843
854
|
if (actx === void 0) return;
|
|
@@ -872,7 +883,7 @@ window.__ModuleLoader__.load({
|
|
|
872
883
|
}
|
|
873
884
|
//#endregion
|
|
874
885
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-commands/src/client/PopupSelectView.module.css.mjs
|
|
875
|
-
const css = ".mufS8W_card{z-index:100;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);
|
|
886
|
+
const css = ".mufS8W_card{z-index:100;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);background:var(--dsw-specific-menu);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);min-width:min(220px,100%);max-width:100%;max-height:320px;box-shadow:var(--dsw-elevation-prominent);border:0;border-radius:20px;outline:none;flex-direction:column;padding:4px;display:flex;position:absolute;bottom:calc(100% + 4px);left:0;overflow:hidden}.mufS8W_viewport{flex-direction:column;min-height:0;display:flex;overflow-y:auto}.mufS8W_row{cursor:pointer;color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;gap:8px;padding:6px 8px;font-size:13px;display:flex}.mufS8W_rowActive{background:var(--dsw-alias-interactive-bg-hover)}.mufS8W_label{white-space:nowrap;text-overflow:ellipsis;flex:auto;min-width:0;overflow:hidden}.mufS8W_detail{color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.mufS8W_check{color:var(--dsw-alias-label-primary);flex:none;display:inline-flex}.mufS8W_status{color:var(--dsw-alias-label-tertiary);padding:8px 10px;font-size:13px}.mufS8W_search{border:.5px solid var(--dsw-alias-border-inverted);color:var(--dsw-alias-label-primary);background:0 0;border-radius:8px;outline:none;margin:2px 2px 4px;padding:6px 8px;font-size:13px}.mufS8W_error{color:var(--dsw-alias-state-error-primary);align-items:center;gap:8px;padding:6px 8px;font-size:12px;display:flex}.mufS8W_errorText{text-overflow:ellipsis;flex:1;overflow:hidden}.mufS8W_retry{border:.5px solid var(--dsw-alias-border-inverted);color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border-radius:6px;padding:2px 8px;font-size:12px}";
|
|
876
887
|
const tagId = "@deepseek-ai/dsh-client-ui-commands/PopupSelectView.module.css";
|
|
877
888
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
878
889
|
const tag = document.createElement("style");
|
|
@@ -1050,6 +1061,7 @@ window.__ModuleLoader__.load({
|
|
|
1050
1061
|
description: confirmation.description,
|
|
1051
1062
|
acknowledgeLabel: confirmation.acknowledgeLabel,
|
|
1052
1063
|
cancelLabel: confirmation.cancelLabel,
|
|
1064
|
+
closeLabel: t("close"),
|
|
1053
1065
|
confirmLabel: confirmation.confirmLabel,
|
|
1054
1066
|
acknowledged: state.acknowledged,
|
|
1055
1067
|
onAcknowledgedChange: (value) => {
|
|
@@ -1117,7 +1129,7 @@ window.__ModuleLoader__.load({
|
|
|
1117
1129
|
"sessions"
|
|
1118
1130
|
], (scope) => {
|
|
1119
1131
|
const command = scope.commandUi;
|
|
1120
|
-
const sessions = scope.sessions;
|
|
1132
|
+
const sessions = scope.get("sessions");
|
|
1121
1133
|
scope.slots.inject("conversation.input.overlay", () => scope.slots.register({
|
|
1122
1134
|
name: "conversation.input.overlay",
|
|
1123
1135
|
id: "command-popup",
|