@chatcode/cco-better-sidebar 0.18.0-rc.7 → 0.18.1-rc.13.022-rc1
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.md +20 -10
- package/README_EN.md +20 -10
- package/lib/client-editor.js +300 -299
- package/lib/client-mermaid.js +295 -296
- package/lib/client-registry.js +2124 -2086
- package/lib/client-terminal.js +298 -297
- package/lib/client.js +2124 -2086
- package/lib/index.js +28 -7
- package/lib/types/client/AccountMenu.d.ts +4 -1
- package/lib/types/client/ContextMenu.d.ts +15 -0
- package/lib/types/client/api.d.ts +4 -0
- package/lib/types/client/locales-ja.d.ts +25 -0
- package/lib/types/client/service.d.ts +1 -1
- package/lib/types/client/ui-tweaks/archive.d.ts +9 -28
- package/lib/types/client/ui-tweaks/branding.d.ts +1 -1
- package/lib/types/client/ui-tweaks/dom-text.d.ts +2 -0
- package/lib/types/client/ui-tweaks/index.d.ts +10 -0
- package/lib/types/client/ui-tweaks/notifier.d.ts +4 -2
- package/lib/types/client/useChatcodeAccount.d.ts +1 -0
- package/lib/types/ui-tweaks/config.d.ts +1 -1
- package/lib/types/ui-tweaks/turn-outcome.d.ts +1 -1
- package/package.json +84 -86
- package/src/client/AccountMenu.tsx +13 -17
- package/src/client/ContextMenu.tsx +22 -0
- package/src/client/FileTree.tsx +6 -13
- package/src/client/FreeWindow.tsx +4 -3
- package/src/client/GitView.tsx +8 -5
- package/src/client/SideCardSection.tsx +0 -15
- package/src/client/Sidebar.tsx +0 -3
- package/src/client/TabBar.tsx +5 -4
- package/src/client/api.ts +3 -0
- package/src/client/index.tsx +18 -40
- package/src/client/locales-ja.ts +26 -0
- package/src/client/service.ts +1 -1
- package/src/client/shell-presets.ts +1 -1
- package/src/client/sidebar.module.css +23 -13
- package/src/client/ui-tweaks/archive.tsx +118 -140
- package/src/client/ui-tweaks/branding.tsx +94 -35
- package/src/client/ui-tweaks/cachehit.tsx +24 -14
- package/src/client/ui-tweaks/dom-text.ts +12 -0
- package/src/client/ui-tweaks/index.tsx +84 -26
- package/src/client/ui-tweaks/notifier.ts +13 -12
- package/src/client/ui-tweaks/whale.tsx +1 -1
- package/src/client/useChatcodeAccount.ts +12 -2
- package/src/index.ts +10 -3
- package/src/ui-tweaks/config.ts +1 -1
- package/src/ui-tweaks/git.ts +1 -1
- package/src/ui-tweaks/turn-outcome.ts +3 -3
- package/src/ui-tweaks/web.ts +1 -0
package/lib/index.js
CHANGED
|
@@ -3221,8 +3221,24 @@ var CodingPlanCatalogue = class {
|
|
|
3221
3221
|
}
|
|
3222
3222
|
}
|
|
3223
3223
|
};
|
|
3224
|
+
//#endregion
|
|
3225
|
+
//#region src/chatcode-update.ts
|
|
3226
|
+
/**
|
|
3227
|
+
* ChatCode self-update for the account menu's "check for updates / update now"
|
|
3228
|
+
* action. Mirrors the semantics of the upstream `yuanjing-wanma-cli /update`
|
|
3229
|
+
* flow (query the npm registry for the latest version, compare against the
|
|
3230
|
+
* globally installed version, then `npm install -f -g <pkg>@<latest>`), applied
|
|
3231
|
+
* to the CLI package this sidebar is responsible for.
|
|
3232
|
+
*
|
|
3233
|
+
* All subprocess work goes through `execFile` with a plain argv array (no
|
|
3234
|
+
* shell), the same posture the rest of the host uses. The npm registry (and
|
|
3235
|
+
* the global install target) is the machine running the DSH host, not the
|
|
3236
|
+
* browser.
|
|
3237
|
+
*/
|
|
3238
|
+
/** CLI package the sidebar keeps up to date. */
|
|
3239
|
+
const CHATCODE_CLI_PKG = "@chatcode/chatcode-cli";
|
|
3224
3240
|
/** The single package a "one-click update" upgrades. */
|
|
3225
|
-
const CHATCODE_UPDATE_PACKAGES = [
|
|
3241
|
+
const CHATCODE_UPDATE_PACKAGES = [CHATCODE_CLI_PKG];
|
|
3226
3242
|
/** npm registry used for both the version lookup and the global install. */
|
|
3227
3243
|
const NPM_REGISTRY = "https://registry.npmjs.org";
|
|
3228
3244
|
/** Windows ships npm as a `npm.cmd` shim, which `execFile` cannot spawn
|
|
@@ -3420,8 +3436,8 @@ const turnOutcomeProjectionDefinition = {
|
|
|
3420
3436
|
* @param ctx - plugin context owning the registration effect.
|
|
3421
3437
|
*/
|
|
3422
3438
|
function installTurnOutcomeProjection(ctx) {
|
|
3423
|
-
ctx.inject(["sessionProjections"], (projectionCtx) => {
|
|
3424
|
-
projectionCtx.sessionProjections.register(turnOutcomeProjectionDefinition);
|
|
3439
|
+
ctx.inject(["sessionProjections"], async (projectionCtx) => {
|
|
3440
|
+
await projectionCtx.sessionProjections.register(turnOutcomeProjectionDefinition);
|
|
3425
3441
|
});
|
|
3426
3442
|
}
|
|
3427
3443
|
//#endregion
|
|
@@ -3585,7 +3601,7 @@ var UITweaksWebBackend = class {
|
|
|
3585
3601
|
value: this.snapshot()
|
|
3586
3602
|
});
|
|
3587
3603
|
} catch (error) {
|
|
3588
|
-
const conflict = error instanceof SettingsConflictError;
|
|
3604
|
+
const conflict = error instanceof SettingsConflictError || error instanceof Error && Reflect.get(error, "code") === "SETTINGS_CONFLICT";
|
|
3589
3605
|
requestError(res, conflict ? 409 : 400, conflict ? "settings-conflict" : "settings-rejected", messageOf$2(error));
|
|
3590
3606
|
}
|
|
3591
3607
|
}
|
|
@@ -4479,7 +4495,7 @@ var GitBackend = class {
|
|
|
4479
4495
|
};
|
|
4480
4496
|
} catch {}
|
|
4481
4497
|
try {
|
|
4482
|
-
const stored = this.ctx.settings?.
|
|
4498
|
+
const stored = this.ctx.settings?.describe().find((item) => item.ns === AGENT_DEFAULT_MODEL_NAMESPACE)?.value;
|
|
4483
4499
|
const provider = stored?.provider;
|
|
4484
4500
|
const model = stored?.model;
|
|
4485
4501
|
if (typeof provider === "string" && provider !== "" && typeof model === "string" && model !== "" && registered.has(provider)) return {
|
|
@@ -6100,7 +6116,7 @@ const name = "dsh-better-sidebar";
|
|
|
6100
6116
|
const inject = [
|
|
6101
6117
|
"webServer",
|
|
6102
6118
|
"sessions",
|
|
6103
|
-
"
|
|
6119
|
+
"connection",
|
|
6104
6120
|
"tools",
|
|
6105
6121
|
"settings"
|
|
6106
6122
|
];
|
|
@@ -6530,6 +6546,7 @@ function buildApi(ctx, ptyManager, agentPtyRegistry, resolved, terminalShell, ge
|
|
|
6530
6546
|
"chatcode.start": () => requireChatcodeAuth().startLogin(),
|
|
6531
6547
|
"chatcode.cancel": (payload) => requireChatcodeAuth().cancelLogin(requireString(payload, "sessionId")).then(() => ({ ok: true })),
|
|
6532
6548
|
"chatcode.logout": () => requireChatcodeAuth().logout().then(() => ({ ok: true })),
|
|
6549
|
+
"chatcode.installed-version": async () => ({ version: await installedGlobalVersion(CHATCODE_CLI_PKG) }),
|
|
6533
6550
|
"chatcode.update.check": async () => ({ packages: await checkAllChatcodeUpdates() }),
|
|
6534
6551
|
"chatcode.update.perform": async () => ({ results: await performAllUpdates(await checkAllChatcodeUpdates()) }),
|
|
6535
6552
|
"release-note.current": (payload) => {
|
|
@@ -6651,7 +6668,11 @@ function apply(ctx, config) {
|
|
|
6651
6668
|
ensureSpawnHelper();
|
|
6652
6669
|
const resolved = resolveSidebarConfig(config);
|
|
6653
6670
|
const terminalShell = defaultShell({ explicit: resolved.shell });
|
|
6654
|
-
const fence = (req) =>
|
|
6671
|
+
const fence = (req) => {
|
|
6672
|
+
const connection = ctx.get("connection");
|
|
6673
|
+
if (typeof connection?.requestRejection === "function") return connection.requestRejection(req) === void 0;
|
|
6674
|
+
return ctx.webRuntime !== void 0 && isTrustedApiRequest(req, ctx.webRuntime.trustedHosts);
|
|
6675
|
+
};
|
|
6655
6676
|
const nodePty = loadNodePty$1();
|
|
6656
6677
|
if (nodePty === null) {
|
|
6657
6678
|
const status = depsStatus();
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
2
|
+
import { Menu as HostMenu } from '@deepseek-ai/dsh-client-ui-primitives';
|
|
3
|
+
type Props = Omit<ComponentProps<typeof HostMenu>, 'anchorPoint' | 'getAnchorRect' | 'contextual'> & {
|
|
4
|
+
contextual?: boolean | undefined;
|
|
5
|
+
anchorPoint?: {
|
|
6
|
+
readonly x: number;
|
|
7
|
+
readonly y: number;
|
|
8
|
+
} | undefined;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Place menus at viewport coordinates: published hosts consume getAnchorRect,
|
|
12
|
+
* while the bundled host consumes anchorPoint.
|
|
13
|
+
*/
|
|
14
|
+
export declare function ContextMenu({ anchorPoint, contextual, ...props }: Props): import("react").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -212,6 +212,10 @@ export declare const api: {
|
|
|
212
212
|
chatcodeLogout: () => Promise<{
|
|
213
213
|
ok: true;
|
|
214
214
|
}>;
|
|
215
|
+
/** The globally installed CLI version, read from npm global modules. */
|
|
216
|
+
chatcodeInstalledVersion: (signal?: AbortSignal) => Promise<{
|
|
217
|
+
version: string | null;
|
|
218
|
+
}>;
|
|
215
219
|
/** Check both ChatCode packages (web + CLI) against the npm registry. */
|
|
216
220
|
chatcodeUpdateCheck: (signal?: AbortSignal) => Promise<{
|
|
217
221
|
packages: ChatCodeUpdateCheck[];
|
|
@@ -13,5 +13,30 @@
|
|
|
13
13
|
* - Placeholders keep `{name}` verbatim (interpolation runs after lookup).
|
|
14
14
|
* - English brand names (VS Code, Cursor, Zed, SSH) stay as-is.
|
|
15
15
|
*/
|
|
16
|
+
/** Japanese archive-management copy registered under the ui-tweaks namespace. */
|
|
17
|
+
export declare const uiTweaksArchiveJa: {
|
|
18
|
+
readonly archiveNav: "アーカイブ";
|
|
19
|
+
readonly archiveTitle: "アーカイブ済みセッション";
|
|
20
|
+
readonly archiveEmpty: "アーカイブ済みセッションはありません。";
|
|
21
|
+
readonly archiveRestore: "復元";
|
|
22
|
+
readonly archiveRestoring: "処理中…";
|
|
23
|
+
readonly archiveConfirmTitle: "セッションを完全に削除しますか?";
|
|
24
|
+
readonly archiveConfirmDescription: "所有するサブエージェントを含む {count} 件のセッション記録を完全に削除します。この操作は取り消せません。独立した分岐、ワークスペースのファイル、Git データは保持されます。";
|
|
25
|
+
readonly archiveCancel: "キャンセル";
|
|
26
|
+
readonly archiveDelete: "削除";
|
|
27
|
+
readonly archiveDeleteAll: "すべて削除";
|
|
28
|
+
readonly archiveSelectAll: "すべて選択";
|
|
29
|
+
readonly archiveSelectedCount: "{count} 件のセッションを選択中";
|
|
30
|
+
readonly archiveClearSelection: "選択を解除";
|
|
31
|
+
readonly archiveDeleteSelected: "選択したセッションを削除({count})";
|
|
32
|
+
readonly archiveDeleteFailed: "「{title}」:{error}";
|
|
33
|
+
readonly archiveRestoreAll: "すべて復元";
|
|
34
|
+
readonly archiveCount: "件のセッション";
|
|
35
|
+
readonly archiveUnavailable: "アーカイブを利用できません。";
|
|
36
|
+
readonly archiveLiveError: "このセッションは実行中です。完全に削除する前に閉じてください。";
|
|
37
|
+
readonly archiveDisabledHint: "アーカイブ管理は無効です。「UI 調整」で有効にすると、ここでアーカイブ済みセッションを復元または完全に削除できます。";
|
|
38
|
+
readonly archiveEnable: "アーカイブ管理を有効にする";
|
|
39
|
+
readonly archiveRestored: "復元しました。";
|
|
40
|
+
};
|
|
16
41
|
/** The ja dictionary (key-set-equal to zh, enforced by the type annotation in locales.ts). */
|
|
17
42
|
export declare const ja: Record<string, string>;
|
|
@@ -418,7 +418,7 @@ export declare function matchUrlTarget(tabs: readonly TabDescriptor[], url: URL)
|
|
|
418
418
|
* The plugin version this service instance reports. Keep in lockstep with
|
|
419
419
|
* `package.json`'s version — `tests/service.spec.ts` asserts the pair.
|
|
420
420
|
*/
|
|
421
|
-
export declare const SIDEBAR_SERVICE_VERSION = "0.18.0-
|
|
421
|
+
export declare const SIDEBAR_SERVICE_VERSION = "0.18.0-rc.13.022-rc1";
|
|
422
422
|
/**
|
|
423
423
|
* Monotonic capability list consumers use to gate new API usage (features
|
|
424
424
|
* are never removed). Each string names a v0.12.0+ capability:
|
|
@@ -1,42 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
* dsh-ui-tweaks — Archive manager (browser half).
|
|
3
|
-
*
|
|
4
|
-
* Renders the "归档" settings section (shown in the Settings dialog; usable
|
|
5
|
-
* when the `archiveManagerEnabled` toggle in 界面调整 is on — otherwise it
|
|
6
|
-
* shows an invite card with a one-click enable). The section lists every
|
|
7
|
-
* archived session — enriched from the framework `useSessions` /
|
|
8
|
-
* `useWorkspaces` feeds — with per-row actions and batch actions that go
|
|
9
|
-
* through the same-origin archive route (`/_dsh/ui-tweaks/archive`):
|
|
10
|
-
*
|
|
11
|
-
* - **恢复** (Restore): remove the session from the archive set — its log and
|
|
12
|
-
* workspace slot are kept, so the conversation reappears in the normal
|
|
13
|
-
* sidebar list.
|
|
14
|
-
* - **删除** (Delete): PERMANENTLY delete the session — the server removes its
|
|
15
|
-
* durable log, workspace accounting, archive-set entry and caches; the list
|
|
16
|
-
* then refreshes so the row (and the session itself) disappear.
|
|
17
|
-
* - **全部恢复 / 全部删除**: the same actions for every archived session.
|
|
18
|
-
*
|
|
19
|
-
* Live (open/running) sessions are refused by the server; the client maps the
|
|
20
|
-
* `session-live` error code to localized copy.
|
|
21
|
-
* @module dsh-ui-tweaks/client/archive
|
|
22
|
-
*/
|
|
23
|
-
import type { ISessions, SessionListState } from '@deepseek-ai/dsh-api-session-controller/client';
|
|
1
|
+
import type { SessionListState } from '@deepseek-ai/dsh-api-session-controller/client';
|
|
24
2
|
import type { WorkspaceSnapshot } from '@deepseek-ai/dsh-api-workspace-controller/client';
|
|
25
3
|
import type { SnapshotSelectorHook } from '@deepseek-ai/dsh-client-ui-slots';
|
|
26
4
|
import type { SettingsClient } from './index.tsx';
|
|
27
|
-
/** Locale keys
|
|
28
|
-
type ArchiveLabelKey = '
|
|
5
|
+
/** Locale keys read by archive management. */
|
|
6
|
+
type ArchiveLabelKey = 'archiveTitle' | 'archiveEmpty' | 'archiveRestore' | 'archiveRestoring' | 'archiveDelete' | 'archiveDeleteAll' | 'archiveRestoreAll' | 'archiveCount' | 'archiveDisabledHint' | 'archiveEnable' | 'unavailable' | 'archiveConfirmTitle' | 'archiveConfirmDescription' | 'archiveCancel' | 'archiveSelectAll' | 'archiveSelectedCount' | 'archiveClearSelection' | 'archiveDeleteSelected' | 'archiveDeleteFailed';
|
|
29
7
|
type Translate = (key: ArchiveLabelKey) => string;
|
|
30
|
-
export declare const ARCHIVE_CSS = "\n.dut-arc{display:grid;gap:12px;max-width:680px;padding:6px 2px 36px}\n.dut-arc-head{display:flex;align-items:center;gap:10px;padding:14px 16px 0}\n.dut-arc-head h2{margin:0;font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--dsw-alias-label-primary)}\n.dut-arc-count{font-size:11.5px;color:var(--dsw-alias-label-secondary);padding:2px 8px;border-radius:999px;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l1)}\n.dut-arc-spacer{flex:1}\n.dut-arc-btn{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;border:1px solid var(--dsw-alias-border-l1);background:transparent;color:var(--dsw-alias-label-secondary);font:inherit;font-size:12px;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}\n.dut-arc-btn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}\n.dut-arc-btn:disabled{opacity:.5;cursor:default}\n.dut-arc-btn.dut-arc-del:hover{border-color:color-mix(in srgb,var(--dsw-alias-state-error-primary) 55%,transparent);color:var(--dsw-alias-state-error-primary);background:color-mix(in srgb,var(--dsw-alias-state-error-primary) 10%,transparent)}\n.dut-arc-btn.dut-arc-confirm{border-color:color-mix(in srgb,var(--dsw-alias-state-error-primary) 55%,transparent);color:var(--dsw-alias-state-error-primary);font-weight:600}\n.dut-arc-body{display:grid;gap:2px;margin-top:4px}\n.dut-arc-row{display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:12px}\n.dut-arc-row:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.dut-arc-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left;background:transparent;border:none;padding:0;
|
|
8
|
+
export declare const ARCHIVE_CSS = "\n.dut-arc{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:680px;padding:6px 2px 36px}\n.dut-arc-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 16px 0}\n.dut-arc-head h2{margin:0;font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--dsw-alias-label-primary)}\n.dut-arc-count{font-size:11.5px;color:var(--dsw-alias-label-secondary);padding:2px 8px;border-radius:999px;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l1)}\n.dut-arc-spacer{flex:1}\n.dut-arc-btn{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;border:1px solid var(--dsw-alias-border-l1);background:transparent;color:var(--dsw-alias-label-secondary);font:inherit;font-size:12px;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}\n.dut-arc-btn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}\n.dut-arc-btn:disabled{opacity:.5;cursor:default}\n.dut-arc-btn.dut-arc-del:hover{border-color:color-mix(in srgb,var(--dsw-alias-state-error-primary) 55%,transparent);color:var(--dsw-alias-state-error-primary);background:color-mix(in srgb,var(--dsw-alias-state-error-primary) 10%,transparent)}\n.dut-arc-btn.dut-arc-confirm{border-color:color-mix(in srgb,var(--dsw-alias-state-error-primary) 55%,transparent);color:var(--dsw-alias-state-error-primary);font-weight:600}\n.dut-arc-body{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;margin-top:4px}\n.dut-arc-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 16px 0;font-size:12px;color:var(--dsw-alias-label-secondary)}\n.dut-arc-select{display:flex;align-items:center;gap:10px;cursor:pointer}\n.dut-arc-select input{flex-shrink:0;width:14px;height:14px;margin:0;accent-color:var(--dsw-alias-label-primary);cursor:inherit}\n.dut-arc-session{flex:1;min-width:0}\n.dut-arc-row{display:flex;align-items:center;gap:8px;padding:10px 16px;border-radius:12px}\n.dut-arc-row:hover{background:var(--dsw-alias-interactive-bg-hover)}\n.dut-arc-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;text-align:left;background:transparent;border:none;padding:0;color:var(--dsw-alias-label-primary);font:inherit}\n.dut-arc-title{font-size:13.5px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n.dut-arc-sub{font-size:11.5px;color:var(--dsw-alias-label-secondary);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}\n.dut-arc-empty{padding:32px 16px;text-align:center;font-size:12.5px;color:var(--dsw-alias-label-secondary)}\n.dut-arc-alert{margin:8px 16px 0;padding:8px 12px;border-radius:10px;font-size:12px;line-height:1.5;white-space:pre-line;background:color-mix(in srgb,var(--dsw-alias-state-error-primary) 10%,transparent);color:var(--dsw-alias-state-error-primary)}\n.dut-arc-targets{max-height:240px;overflow:auto;padding-inline-start:20px;overflow-wrap:anywhere}\n.dut-arc-off{padding:20px 16px;display:grid;gap:12px}\n.dut-arc-off p{margin:0;font-size:12.5px;line-height:1.6;color:var(--dsw-alias-label-secondary)}\n";
|
|
31
9
|
/** Install the Archive stylesheet once (idempotent); returns the disposer. */
|
|
32
10
|
export declare function installArchiveStyles(): () => void;
|
|
33
11
|
export interface ArchiveSectionProps {
|
|
34
12
|
controller: SettingsClient;
|
|
35
13
|
t: Translate;
|
|
36
|
-
|
|
14
|
+
restoreSession: (id: string) => Promise<void>;
|
|
15
|
+
previewDeletion: (id: string) => Promise<readonly string[]>;
|
|
16
|
+
deleteSession: (id: string, scope: readonly string[]) => Promise<void>;
|
|
37
17
|
/** Framework standard feeds: session list + workspace archive set. */
|
|
38
18
|
useSessions: SnapshotSelectorHook<SessionListState>;
|
|
39
19
|
useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>;
|
|
40
20
|
}
|
|
41
|
-
|
|
21
|
+
/** Select archived sessions for confirmed deletion, retaining failed targets for retry. */
|
|
22
|
+
export declare function ArchiveSection({ controller, t, restoreSession, previewDeletion, deleteSession, useSessions, useWorkspaces }: ArchiveSectionProps): import("react").JSX.Element;
|
|
42
23
|
export {};
|
|
@@ -40,6 +40,6 @@ export declare function SidebarProjectLogo({ size }: {
|
|
|
40
40
|
}): ReactNode;
|
|
41
41
|
/** Expanded-sidebar wordmark supplied through the host's dedicated slot. */
|
|
42
42
|
export declare function SidebarProjectName(): ReactNode;
|
|
43
|
-
export declare const BRANDING_CSS = "\n/*
|
|
43
|
+
export declare const BRANDING_CSS = "\n/* Solid branding is limited to primary actions. Question choices only get a\n faint token-derived tint; other surfaces remain owned by the host theme. */\nbody:not([data-ds-dark-theme]) .dut-unicom-primary-action{background:linear-gradient(135deg,#9B0B09,#b71916) !important;border-color:#9B0B09 !important;color:#fff !important;box-shadow:0 7px 18px rgba(155,11,9,.24) !important}\nbody:not([data-ds-dark-theme]) .dut-unicom-primary-action:hover{background:linear-gradient(135deg,#b71916,#cf302c) !important;border-color:#b71916 !important;color:#fff !important;box-shadow:0 10px 24px rgba(155,11,9,.30) !important}\nbody:not([data-ds-dark-theme]) .dut-unicom-primary-action:active{transform:translateY(1px);box-shadow:0 4px 11px rgba(155,11,9,.22) !important}\n/* In dark mode, alter only the resting background of primary buttons. Once\n hovered, the host owns the complete interaction treatment again. */\nbody[data-ds-dark-theme] .dut-unicom-primary-action:not(:hover){background:#9B0B09 !important}\n/* Only the host's question composer, never global radio/checkbox controls.\n Keep normal text, focus rings and disabled behavior; no gradient or shadow. */\n[data-question-key] button:is([role=\"radio\"],[role=\"checkbox\"]):hover:not(:disabled){background:color-mix(in srgb,var(--dsw-alias-state-error-primary) 5%,transparent)}\n[data-question-key] button:is([role=\"radio\"],[role=\"checkbox\"])[aria-checked=\"true\"]{background:color-mix(in srgb,var(--dsw-alias-state-error-primary) 8%,transparent);border-color:color-mix(in srgb,var(--dsw-alias-state-error-primary) 18%,transparent)}\n[data-question-key] button:is([role=\"radio\"],[role=\"checkbox\"])[aria-checked=\"true\"]:hover:not(:disabled){background:color-mix(in srgb,var(--dsw-alias-state-error-primary) 10%,transparent)}\n.dut-project-logo{display:block;object-fit:contain}\n.dut-left-logo{width:24px !important;height:24px !important}\n/* Legacy host marks remain in React's tree; only their painted appearance changes. */\nsvg.dut-project-logo{background:url(\"/_dsh/ui-tweaks/assets/logo.svg\") center/contain no-repeat}\nsvg.dut-project-logo>*{visibility:hidden}\n.dut-brand-title{font:var(--dsw-font-s-strong-14) !important}\n.dut-sidebar-logo{width:24px !important;height:24px !important}\n.dut-sidebar-brand-name{font:var(--dsw-font-s-strong-14) !important;letter-spacing:-.01em !important;white-space:nowrap}\n/* The version the plugin injects beside the sidebar wordmark. */\n.dut-sidebar-version{margin-left:8px;font-size:12px !important;font-weight:500 !important;line-height:22px !important;color:var(--dsw-alias-label-secondary) !important;letter-spacing:0 !important;white-space:nowrap}\n.dut-version-row-hidden{display:none !important}\n\n.dut-sidebar-header{height:44px !important;padding:0 4px !important;margin-bottom:8px !important;gap:8px !important}\n.dut-sidebar-brand{min-width:0 !important;background:transparent !important;box-shadow:none !important}\n.dut-sidebar-identity{height:24px !important;gap:8px !important}\n.dut-sidebar-wordmark{font:var(--dsw-font-s-strong-14) !important;letter-spacing:-.01em !important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.dut-sidebar-toggle{width:28px !important;height:28px !important;border-radius:8px !important;color:var(--dsw-alias-label-secondary) !important}\n.dut-sidebar-toggle:hover{background:var(--dsw-alias-interactive-bg-hover) !important}\n/* Reuse the original ChatCode primary-action red, scoped to this marked CTA. */\n.dut-sidebar-new-session{height:40px !important;justify-content:flex-start !important;gap:8px !important;margin:0 0 10px !important;padding:8px 10px !important;border:1px solid #9B0B09 !important;border-radius:10px !important;background:linear-gradient(135deg,#9B0B09,#b71916) !important;color:#fff !important;font:var(--dsw-font-s-strong-14) !important;font-weight:600 !important;box-shadow:none !important;transform:none !important}\n.dut-sidebar-new-session:hover{background:linear-gradient(135deg,#b71916,#cf302c) !important}\n.dut-sidebar-new-session:active{background:#9B0B09 !important}\n.dut-sidebar-new-session:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary);outline-offset:2px}\n.dut-sidebar-new-session > span:first-child{flex:1;min-width:0;overflow:hidden;mask-image:none !important}\n.dut-sidebar-new-session > span:first-child > span{width:auto !important;justify-content:flex-start !important;gap:8px !important;min-width:0}\n.dut-sidebar-new-session > span:first-child > span > svg{width:16px;height:16px;flex:none;color:inherit}\n.dut-sidebar-new-session > span:first-child > span > span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n.dut-sidebar-new-session > span + span{opacity:1 !important;flex:none;color:color-mix(in srgb,currentColor 75%,transparent);font:var(--dsw-font-xxs-12)}\n/* Temporary navigation-only hide. Remove this block to restore Plugins;\n registrations, settings, installed plugins and other panel entries stay intact. */\nnav:is([aria-label=\"\u5168\u5C40\u9762\u677F\"],[aria-label=\"Global panels\"]) > button:is([aria-label=\"\u63D2\u4EF6\"],[aria-label=\"Plugins\"]),\nnav:is([aria-label=\"\u5168\u5C40\u9762\u677F\"],[aria-label=\"Global panels\"]):has(> button:is([aria-label=\"\u63D2\u4EF6\"],[aria-label=\"Plugins\"]):only-child){display:none !important}\n\n.dut-brand-version{display:none !important}\n.dut-hero-preview{display:none !important}\n.dut-hero-logo{width:60px !important;height:60px !important}\n.dut-hero-title{font-size:30px !important;line-height:40px !important;font-weight:600 !important;letter-spacing:.06em !important;white-space:nowrap}\n[class*=\"headline\"]:has(.dut-hero-logo){grid-template-columns:60px auto !important;font-size:30px !important;line-height:40px !important}\n.dut-settings-logo{width:19px;height:19px;object-fit:contain}\n";
|
|
44
44
|
/** Install the brand theme and retain it across host navigation/rerenders. */
|
|
45
45
|
export declare function installBranding(): () => void;
|
|
@@ -169,8 +169,16 @@ declare const en: {
|
|
|
169
169
|
readonly archiveEmpty: "No archived sessions.";
|
|
170
170
|
readonly archiveRestore: "Restore";
|
|
171
171
|
readonly archiveRestoring: "Working…";
|
|
172
|
+
readonly archiveConfirmTitle: "Permanently delete sessions?";
|
|
173
|
+
readonly archiveConfirmDescription: "Delete {count} session records including owned subagents? This cannot be undone. Independent forks, workspace files and Git data are retained.";
|
|
174
|
+
readonly archiveCancel: "Cancel";
|
|
172
175
|
readonly archiveDelete: "Delete";
|
|
173
176
|
readonly archiveDeleteAll: "Delete all";
|
|
177
|
+
readonly archiveSelectAll: "Select all";
|
|
178
|
+
readonly archiveSelectedCount: "{count} sessions selected";
|
|
179
|
+
readonly archiveClearSelection: "Clear selection";
|
|
180
|
+
readonly archiveDeleteSelected: "Delete selected ({count})";
|
|
181
|
+
readonly archiveDeleteFailed: "{title}: {error}";
|
|
174
182
|
readonly archiveRestoreAll: "Restore all";
|
|
175
183
|
readonly archiveCount: "sessions";
|
|
176
184
|
readonly archiveUnavailable: "Archive unavailable.";
|
|
@@ -265,6 +273,7 @@ export declare class SettingsClient {
|
|
|
265
273
|
private state;
|
|
266
274
|
private listeners;
|
|
267
275
|
private generation;
|
|
276
|
+
private writes;
|
|
268
277
|
subscribe: (listener: () => void) => (() => void);
|
|
269
278
|
getSnapshot: () => SettingsState;
|
|
270
279
|
private publish;
|
|
@@ -272,6 +281,7 @@ export declare class SettingsClient {
|
|
|
272
281
|
private post;
|
|
273
282
|
set(field: string, value: unknown): Promise<void>;
|
|
274
283
|
unset(field: string): Promise<void>;
|
|
284
|
+
step(field: 'fontSize' | 'lineHeight' | 'codeFontSize', delta: number, minimum: number, maximum: number): Promise<void>;
|
|
275
285
|
}
|
|
276
286
|
/** Required client services: slots (settings.section), locale, sessions (git bar, whale, archive, notifier), the slash-command registry, and the scope-addressed conversation face. */
|
|
277
287
|
export declare const inject: string[];
|
|
@@ -39,8 +39,9 @@
|
|
|
39
39
|
* @module dsh-ui-tweaks/client/notifier
|
|
40
40
|
*/
|
|
41
41
|
import type { ISessions } from '@deepseek-ai/dsh-api-session-controller/client';
|
|
42
|
-
import type {
|
|
42
|
+
import type { SessionStatusSnapshot } from '@deepseek-ai/dsh-client-ui-session/client';
|
|
43
43
|
import type { HostObservable } from '@deepseek-ai/dsh-client-ui-slots';
|
|
44
|
+
import type { SessionId } from '@deepseek-ai/dsh-session/types';
|
|
44
45
|
import type { TurnOutcomeValue } from '../../ui-tweaks/turn-outcome.ts';
|
|
45
46
|
declare module '@deepseek-ai/dsh-session-projection/types' {
|
|
46
47
|
interface SessionProjectionMap {
|
|
@@ -95,7 +96,8 @@ export interface TaskNotifierInput {
|
|
|
95
96
|
/** The client sessions service whose list feed carries the watch states. */
|
|
96
97
|
sessionsService: ISessions;
|
|
97
98
|
/** Current Session-scoped interactions, published separately from list rows. */
|
|
98
|
-
|
|
99
|
+
sessionStatus: HostObservable<SessionStatusSnapshot>;
|
|
100
|
+
openSession(sessionId: SessionId): void;
|
|
99
101
|
/** Localized copy snapshot used across the notifier's lifetime. */
|
|
100
102
|
text: NotifierText;
|
|
101
103
|
/** Fresh behavior switches + channel toggles, read on every tick. */
|
|
@@ -46,7 +46,7 @@ export interface UITweaksConfig {
|
|
|
46
46
|
gitBarEnabled?: boolean;
|
|
47
47
|
/**
|
|
48
48
|
* Whether the Archive manager is shown: the "归档" Settings page that lists
|
|
49
|
-
* archived sessions and can restore or
|
|
49
|
+
* archived sessions and can restore or confirm permanent deletion through the shared Host. Off by
|
|
50
50
|
* default; users turn it on in Settings.
|
|
51
51
|
*/
|
|
52
52
|
archiveManagerEnabled?: boolean;
|
|
@@ -21,7 +21,7 @@ import type { ProjectionDefinition } from '@deepseek-ai/dsh-session-projection';
|
|
|
21
21
|
/** Projection key the browser notifier reads through list-row `projectionValues`. */
|
|
22
22
|
export declare const TURN_OUTCOME_PROJECTION_KEY = "dshTurnOutcome";
|
|
23
23
|
/** The stock `TurnEndReason` kinds (the map is merge-extensible upstream). */
|
|
24
|
-
export type TurnOutcomeKind = 'completed' | 'aborted' | 'blocked' | 'error' | 'max-tokens' | 'interrupted';
|
|
24
|
+
export type TurnOutcomeKind = 'completed' | 'aborted' | 'blocked' | 'error' | 'max-tokens' | 'interrupted' | 'forked';
|
|
25
25
|
/** Whole projection value: why the latest turn ended. */
|
|
26
26
|
export interface TurnOutcomeValue {
|
|
27
27
|
kind: TurnOutcomeKind;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chatcode/cco-better-sidebar",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1-rc.13.022-rc1",
|
|
4
4
|
"description": "ChatCode CLI Web plugin: a VS Code-like right sidebar (explorer / editor / terminal / git / browser), isolated per conversation session. Exposes a service for other plugins to register sidebar tabs and file viewers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -81,32 +81,32 @@
|
|
|
81
81
|
],
|
|
82
82
|
"license": "MIT",
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@deepseek-ai/cordis": "^4.0
|
|
85
|
-
"@deepseek-ai/dsh-agent": "
|
|
86
|
-
"@deepseek-ai/dsh-api-session-controller": "
|
|
87
|
-
"@deepseek-ai/dsh-api-workspace-controller": "
|
|
88
|
-
"@deepseek-ai/dsh-client-locale": "
|
|
89
|
-
"@deepseek-ai/dsh-client-ui-commands": "
|
|
90
|
-
"@deepseek-ai/dsh-client-ui-conversation": "
|
|
91
|
-
"@deepseek-ai/dsh-client-ui-primitives": "
|
|
92
|
-
"@deepseek-ai/dsh-client-ui-session": "
|
|
93
|
-
"@deepseek-ai/dsh-client-ui-settings": "
|
|
94
|
-
"@deepseek-ai/dsh-client-ui-slots": "
|
|
95
|
-
"@deepseek-ai/dsh-client-ui-workspace": "
|
|
96
|
-
"@deepseek-ai/dsh-host-webserver": "
|
|
97
|
-
"@deepseek-ai/dsh-
|
|
98
|
-
"@deepseek-ai/dsh-
|
|
99
|
-
"@deepseek-ai/dsh-session": "
|
|
100
|
-
"@deepseek-ai/dsh-
|
|
101
|
-
"@deepseek-ai/dsh-
|
|
102
|
-
"@deepseek-ai/dsh-
|
|
103
|
-
"@deepseek-ai/dsh-
|
|
104
|
-
"@deepseek-ai/dsh-
|
|
105
|
-
"@deepseek-ai/
|
|
106
|
-
"@deepseek-ai/schemastery": "^3.18.0",
|
|
84
|
+
"@deepseek-ai/cordis": "^4.1.0",
|
|
85
|
+
"@deepseek-ai/dsh-agent": "0.2.2-rc.1",
|
|
86
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.1",
|
|
87
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.1",
|
|
88
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
|
|
89
|
+
"@deepseek-ai/dsh-client-ui-commands": "0.2.2-rc.1",
|
|
90
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
|
|
91
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
|
|
92
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.1",
|
|
93
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
|
|
94
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
|
|
95
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.1",
|
|
96
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
|
|
97
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.1",
|
|
98
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.1",
|
|
99
|
+
"@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
|
|
100
|
+
"@deepseek-ai/dsh-settings": "0.2.2-rc.1",
|
|
101
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.2-rc.1",
|
|
102
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
|
|
103
|
+
"@deepseek-ai/dsh-tools": "0.2.2-rc.1",
|
|
104
|
+
"@deepseek-ai/dsh-workspace": "0.2.2-rc.1",
|
|
105
|
+
"@deepseek-ai/schemastery": "^3.19.0",
|
|
107
106
|
"@huanlin/dsh-plugin-better-locale": "^0.1.0",
|
|
108
107
|
"react": "^18.2.0",
|
|
109
|
-
"react-dom": "^18.2.0"
|
|
108
|
+
"react-dom": "^18.2.0",
|
|
109
|
+
"@deepseek-ai/dsh-client-connection": "0.2.2-rc.1"
|
|
110
110
|
},
|
|
111
111
|
"peerDependenciesMeta": {
|
|
112
112
|
"@huanlin/dsh-plugin-better-locale": {
|
|
@@ -114,73 +114,45 @@
|
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@
|
|
118
|
-
"@codemirror/lang-cpp": "^6.0.3",
|
|
119
|
-
"@codemirror/lang-css": "^6.3.1",
|
|
120
|
-
"@codemirror/lang-go": "^6.0.1",
|
|
121
|
-
"@codemirror/lang-html": "^6.4.12",
|
|
122
|
-
"@codemirror/lang-java": "^6.0.2",
|
|
123
|
-
"@codemirror/lang-javascript": "^6.2.5",
|
|
124
|
-
"@codemirror/lang-json": "^6.0.2",
|
|
125
|
-
"@codemirror/lang-markdown": "^6.5.2",
|
|
126
|
-
"@codemirror/lang-php": "^6.0.2",
|
|
127
|
-
"@codemirror/lang-python": "^6.2.1",
|
|
128
|
-
"@codemirror/lang-rust": "^6.0.2",
|
|
129
|
-
"@codemirror/lang-sql": "^6.10.0",
|
|
130
|
-
"@codemirror/lang-vue": "^0.1.3",
|
|
131
|
-
"@codemirror/lang-xml": "^6.1.0",
|
|
132
|
-
"@codemirror/lang-yaml": "^6.1.3",
|
|
133
|
-
"@codemirror/language": "^6.12.4",
|
|
134
|
-
"@codemirror/legacy-modes": "^6.5.3",
|
|
135
|
-
"@codemirror/search": "^6.7.1",
|
|
136
|
-
"@codemirror/state": "^6.7.1",
|
|
137
|
-
"@codemirror/view": "^6.43.8",
|
|
138
|
-
"@lezer/highlight": "^1.2.3",
|
|
139
|
-
"clsx": "^2.1.1",
|
|
140
|
-
"dompurify": "^3.4.14",
|
|
141
|
-
"mermaid": "^11.16.1",
|
|
117
|
+
"@chatcode/cco-builtin-browser": "0.1.21",
|
|
142
118
|
"node-pty": "1.2.0-beta.15",
|
|
143
|
-
"react-icons": "5.7.0",
|
|
144
|
-
"rxjs": "^7.8.2",
|
|
145
119
|
"schemastery": "^3.18.0",
|
|
146
120
|
"ws": "^8.18.0",
|
|
147
|
-
"yaml": "2.9.0"
|
|
148
|
-
"@chatcode/cco-builtin-browser": "0.1.21"
|
|
121
|
+
"yaml": "2.9.0"
|
|
149
122
|
},
|
|
150
123
|
"devDependencies": {
|
|
151
124
|
"@cordisjs/plugin-loader": "^1.0.0-rc.5",
|
|
152
|
-
"@deepseek-ai/cordis": "4.0
|
|
153
|
-
"@deepseek-ai/dsh-agent": "0.
|
|
154
|
-
"@deepseek-ai/dsh-attachment": "0.
|
|
155
|
-
"@deepseek-ai/dsh-api-session-controller": "0.
|
|
156
|
-
"@deepseek-ai/dsh-api-workspace-controller": "0.
|
|
157
|
-
"@deepseek-ai/dsh-client-locale": "0.
|
|
158
|
-
"@deepseek-ai/dsh-client-store": "0.
|
|
159
|
-
"@deepseek-ai/dsh-client-ui-commands": "
|
|
160
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.
|
|
161
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.
|
|
162
|
-
"@deepseek-ai/dsh-client-ui-session": "0.
|
|
163
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.
|
|
164
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.
|
|
165
|
-
"@deepseek-ai/dsh-client-ui-workspace": "0.
|
|
125
|
+
"@deepseek-ai/cordis": "4.1.0",
|
|
126
|
+
"@deepseek-ai/dsh-agent": "0.2.2-rc.1",
|
|
127
|
+
"@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
|
|
128
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.1",
|
|
129
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.1",
|
|
130
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
|
|
131
|
+
"@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
|
|
132
|
+
"@deepseek-ai/dsh-client-ui-commands": "0.2.2-rc.1",
|
|
133
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
|
|
134
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
|
|
135
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.1",
|
|
136
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
|
|
137
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
|
|
138
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.1",
|
|
166
139
|
"@deepseek-ai/dsh-code-runtime": "0.1.1-rc.1",
|
|
167
|
-
"@deepseek-ai/dsh-host-webserver": "0.
|
|
168
|
-
"@deepseek-ai/dsh-
|
|
169
|
-
"@deepseek-ai/dsh-
|
|
170
|
-
"@deepseek-ai/dsh-
|
|
171
|
-
"@deepseek-ai/dsh-session": "0.
|
|
172
|
-
"@deepseek-ai/dsh-session-
|
|
173
|
-
"@deepseek-ai/dsh-
|
|
174
|
-
"@deepseek-ai/dsh-
|
|
175
|
-
"@deepseek-ai/dsh-storage": "
|
|
176
|
-
"@deepseek-ai/dsh-
|
|
177
|
-
"@deepseek-ai/dsh-
|
|
178
|
-
"@deepseek-ai/dsh-
|
|
179
|
-
"@deepseek-ai/dsh-
|
|
180
|
-
"@deepseek-ai/dsh-
|
|
181
|
-
"@deepseek-ai/dsh-
|
|
182
|
-
"@deepseek-ai/
|
|
183
|
-
"@deepseek-ai/schemastery": "^3.18.0",
|
|
140
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
|
|
141
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.1",
|
|
142
|
+
"@deepseek-ai/dsh-scope": "0.2.2-rc.1",
|
|
143
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.1",
|
|
144
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.2-rc.1",
|
|
145
|
+
"@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
|
|
146
|
+
"@deepseek-ai/dsh-settings": "0.2.2-rc.1",
|
|
147
|
+
"@deepseek-ai/dsh-storage": "0.2.2-rc.1",
|
|
148
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.2-rc.1",
|
|
149
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
|
|
150
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
|
|
151
|
+
"@deepseek-ai/dsh-tools": "0.2.2-rc.1",
|
|
152
|
+
"@deepseek-ai/dsh-user-approval": "0.2.2-rc.1",
|
|
153
|
+
"@deepseek-ai/dsh-util-time": "0.2.2-rc.1",
|
|
154
|
+
"@deepseek-ai/dsh-workspace": "0.2.2-rc.1",
|
|
155
|
+
"@deepseek-ai/schemastery": "3.19.0",
|
|
184
156
|
"@huanlin/dsh-plugin-better-locale": "^0.1.0",
|
|
185
157
|
"@playwright/test": "^1.62.1",
|
|
186
158
|
"@types/node": "^24.0.0",
|
|
@@ -198,7 +170,33 @@
|
|
|
198
170
|
"typescript": "^5.6.0",
|
|
199
171
|
"unrun": "^0.2.39",
|
|
200
172
|
"vitest": "^4.1.8",
|
|
201
|
-
"zod": "^4.4.3"
|
|
173
|
+
"zod": "^4.4.3",
|
|
174
|
+
"@deepseek-ai/dsh-client-connection": "0.2.2-rc.1",
|
|
175
|
+
"@codemirror/commands": "^6.10.4",
|
|
176
|
+
"@codemirror/lang-cpp": "^6.0.3",
|
|
177
|
+
"@codemirror/lang-css": "^6.3.1",
|
|
178
|
+
"@codemirror/lang-go": "^6.0.1",
|
|
179
|
+
"@codemirror/lang-html": "^6.4.12",
|
|
180
|
+
"@codemirror/lang-java": "^6.0.2",
|
|
181
|
+
"@codemirror/lang-javascript": "^6.2.5",
|
|
182
|
+
"@codemirror/lang-json": "^6.0.2",
|
|
183
|
+
"@codemirror/lang-markdown": "^6.5.2",
|
|
184
|
+
"@codemirror/lang-php": "^6.0.2",
|
|
185
|
+
"@codemirror/lang-python": "^6.2.1",
|
|
186
|
+
"@codemirror/lang-rust": "^6.0.2",
|
|
187
|
+
"@codemirror/lang-sql": "^6.10.0",
|
|
188
|
+
"@codemirror/lang-vue": "^0.1.3",
|
|
189
|
+
"@codemirror/lang-xml": "^6.1.0",
|
|
190
|
+
"@codemirror/lang-yaml": "^6.1.3",
|
|
191
|
+
"@codemirror/language": "^6.12.4",
|
|
192
|
+
"@codemirror/legacy-modes": "^6.5.3",
|
|
193
|
+
"@codemirror/state": "^6.7.1",
|
|
194
|
+
"@codemirror/view": "^6.43.8",
|
|
195
|
+
"@lezer/highlight": "^1.2.3",
|
|
196
|
+
"clsx": "^2.1.1",
|
|
197
|
+
"dompurify": "^3.4.14",
|
|
198
|
+
"mermaid": "^11.16.1",
|
|
199
|
+
"react-icons": "5.7.0"
|
|
202
200
|
},
|
|
203
201
|
"scripts": {
|
|
204
202
|
"build": "node -e \"require('node:fs').rmSync('lib',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && tsdown",
|