@qwen-code/web-shell 0.27.2 → 0.27.3
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 +143 -0
- package/dist/{PierreFilePreview-CVi_Wsf-.js → PierreFilePreview-BKOzAUEu.js} +1 -1
- package/dist/{SpreadsheetPreview-CTyYrLmD.js → SpreadsheetPreview-EW2DID9C.js} +2 -2
- package/dist/{WorkspaceFileBrowser-DkQgnDFv.js → WorkspaceFileBrowser-hawy03a1.js} +2 -2
- package/dist/{agents-route-ZD8W2lTb.js → agents-route-CGpa1jTD.js} +2 -2
- package/dist/daemon-react-sdk.js +1 -1
- package/dist/{index-BGsppGgG.js → index-BN-WVLl5.js} +59541 -58728
- package/dist/index.js +3 -3
- package/dist/sw.js +1 -1
- package/dist/transcript.js +7214 -7115
- package/dist/types/App.d.ts +4 -1
- package/dist/types/components/ChatEditor.d.ts +2 -0
- package/dist/types/components/ComposerTaskChips.d.ts +21 -0
- package/dist/types/components/ModelPickerContent.d.ts +13 -0
- package/dist/types/components/TranscriptViewport.d.ts +4 -1
- package/dist/types/components/UnavailableModelTooltip.d.ts +2 -1
- package/dist/types/components/channels/ChannelsManagerPage.d.ts +10 -1
- package/dist/types/components/channels/channel-editor-state.d.ts +4 -3
- package/dist/types/components/channels/channel-platform.d.ts +1 -1
- package/dist/types/components/dialogs/BindSessionPrDialog.d.ts +27 -0
- package/dist/types/components/managed/generated/managed-agent-api.d.ts +21 -5
- package/dist/types/components/managed/java-managed-agent-client.d.ts +1 -0
- package/dist/types/components/managed/use-managed-model-change.d.ts +3 -11
- package/dist/types/components/messages/ToolGroup.d.ts +2 -0
- package/dist/types/components/sidebar/WebShellSidebar.d.ts +1 -1
- package/dist/types/constants/sessions.d.ts +1 -0
- package/dist/types/customization.d.ts +2 -0
- package/dist/types/daemon/session/types.d.ts +4 -2
- package/dist/types/daemon/workspace/hooks/useDaemonChannels.d.ts +7 -0
- package/dist/types/daemon/workspace/types.d.ts +15 -3
- package/dist/types/index.d.ts +1 -0
- package/dist/types/model-picker.d.ts +32 -0
- package/dist/types/settings.d.ts +1 -0
- package/dist/types/toolRevealContext.d.ts +42 -0
- package/dist/types/utils/composerTasks.d.ts +15 -8
- package/dist/{useDaemonMidTurnInjected-B7dPEdqk.js → useDaemonMidTurnInjected-Dz_HbaHK.js} +3202 -3085
- package/package.json +4 -2
- package/dist/types/components/StatusBar.d.ts +0 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qwen-code/web-shell",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/QwenLM/qwen-code.git",
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
"@types/turndown": "^5.0.6",
|
|
106
106
|
"@vitejs/plugin-react": "^4.2.0",
|
|
107
107
|
"browserify": "17.0.1",
|
|
108
|
+
"cross-env": "^7.0.3",
|
|
108
109
|
"exceljs": "4.4.0",
|
|
109
110
|
"jsdom": "^26.1.0",
|
|
110
111
|
"jszip": "3.10.2",
|
|
@@ -126,7 +127,8 @@
|
|
|
126
127
|
},
|
|
127
128
|
"scripts": {
|
|
128
129
|
"dev": "vite",
|
|
129
|
-
"build": "
|
|
130
|
+
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" npm run build:steps",
|
|
131
|
+
"build:steps": "vite build && vite build --config vite.lib.config.ts && vite build --config vite.lib.config.ts --mode transcript && tsc -p tsconfig.lib.json && npm run generate:notices",
|
|
130
132
|
"build:managed-host": "vite build --config vite.lib.config.ts --mode managed-host",
|
|
131
133
|
"lint": "cd ../.. && eslint packages/web-shell --ext .ts,.tsx",
|
|
132
134
|
"lint:fix": "cd ../.. && eslint packages/web-shell --ext .ts,.tsx --fix",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { DaemonSessionTaskWithWorkflowStatus } from '@qwen-code/sdk/daemon';
|
|
2
|
-
import { useI18n } from '../i18n';
|
|
3
|
-
export interface StatusBarHandle {
|
|
4
|
-
focusTaskPill(): boolean;
|
|
5
|
-
}
|
|
6
|
-
interface StatusBarProps {
|
|
7
|
-
onSelectMode: () => void;
|
|
8
|
-
/** Open the model picker so the model can be chosen with the mouse. */
|
|
9
|
-
onSelectModel: () => void;
|
|
10
|
-
/** Show the context-usage breakdown, exactly like typing /context. */
|
|
11
|
-
onShowContext: () => void;
|
|
12
|
-
/** Open the settings dialog so settings are reachable with the mouse. */
|
|
13
|
-
onOpenSettings: () => void;
|
|
14
|
-
onOpenTasks?: () => void;
|
|
15
|
-
onReturnToInput?: (text?: string) => void;
|
|
16
|
-
tasks: readonly DaemonSessionTaskWithWorkflowStatus[];
|
|
17
|
-
/** Hide the settings gear button (e.g. when /settings is in hiddenSlashCommands). */
|
|
18
|
-
hideSettings?: boolean;
|
|
19
|
-
/** Toggle the keyboard-shortcuts panel (same as typing `?` in the editor). */
|
|
20
|
-
onToggleShortcuts?: () => void;
|
|
21
|
-
/** Hide secondary footer hints/details for the chat composer layout. */
|
|
22
|
-
compact?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare function getTaskPillLabel(tasks: readonly DaemonSessionTaskWithWorkflowStatus[], t: ReturnType<typeof useI18n>['t']): string;
|
|
25
|
-
export declare const StatusBar: import("react").ForwardRefExoticComponent<StatusBarProps & import("react").RefAttributes<StatusBarHandle>>;
|
|
26
|
-
export {};
|