@deepseek-ai/dsh-client-ui-trajectory 0.2.1-alpha.2 → 0.2.1-alpha.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.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/client.js +37 -1235
- package/lib/types/client/TrajectoryTable.d.ts +6 -3
- package/lib/types/client/TrajectoryView.d.ts +1 -1
- package/locale/en.json +5 -0
- package/locale/zh.json +6 -0
- package/package.json +24 -24
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** Turn-aware trajectory event ledger with a local record inspector. */
|
|
2
2
|
import type { JsonTreeProps } from '@deepseek-ai/dsh-client-ui-primitives';
|
|
3
|
-
import type {
|
|
3
|
+
import type { PropsRenderSlots } from '@deepseek-ai/dsh-client-ui-slots';
|
|
4
|
+
import type { AssistantRequestConfig, MessageImageLoader } from '@deepseek-ai/dsh-client-ui-conversation/client';
|
|
4
5
|
import type { TrajectoryCellProps } from './trajectory-record.ts';
|
|
5
6
|
import type { TrajectoryTurnModel } from './layout.ts';
|
|
6
7
|
import type { TrajectoryTranslate } from './locales.ts';
|
|
@@ -11,7 +12,9 @@ export interface TrajectoryTableProps {
|
|
|
11
12
|
/** Trajectory locale seat. */
|
|
12
13
|
t: TrajectoryTranslate;
|
|
13
14
|
/** Slot-backed durable image renderer shared with the Chat gallery. */
|
|
14
|
-
|
|
15
|
+
renderSlot: PropsRenderSlots<'conversation.trajectory.images'>['renderSlot'];
|
|
16
|
+
/** Session-bound loader for durable message image attachments. */
|
|
17
|
+
loadImage: MessageImageLoader;
|
|
15
18
|
/** Session-global request numbers for the request groups visible in this context. */
|
|
16
19
|
requestNumbers?: readonly TrajectoryRequestNumber[];
|
|
17
20
|
/** Grouped records in display order. */
|
|
@@ -106,6 +109,6 @@ export interface TrajectoryUsage {
|
|
|
106
109
|
* @param props - Grouped trajectory data and whole-ledger fold state.
|
|
107
110
|
* @returns The ledger and an optional local record inspector.
|
|
108
111
|
*/
|
|
109
|
-
export declare function TrajectoryTable({ t, stringWrapping,
|
|
112
|
+
export declare function TrajectoryTable({ t, stringWrapping, renderSlot, loadImage, requestNumbers: sessionRequestNumbers, turns, streamingCells, timelineFocusIndexes, searchMatchIndexes, onSelectedIndexChange, onRecordSelect, recordSelection, recordFocus, historyLoading, olderHistoryLoading, historyStartSeq, hasOlderRecords, onLoadOlder, onClearSelection, collapsedTurns, onToggleTurn, collapsedAssistants, onToggleAssistant, inspectCallId, onInspectApplied, }: TrajectoryTableProps): import("react").JSX.Element;
|
|
110
113
|
export {};
|
|
111
114
|
//# sourceMappingURL=TrajectoryTable.d.ts.map
|
|
@@ -14,5 +14,5 @@ export interface TrajectoryViewInjected {
|
|
|
14
14
|
loadImage: MessageImageLoader;
|
|
15
15
|
setActualDuration: (actualDuration: boolean) => void;
|
|
16
16
|
}
|
|
17
|
-
export declare function TrajectoryView({ useSession, useTrajectory, useDuration, loadOlder, loadImage, setActualDuration, viewRequest, completeViewRequest, renderSlot, t, jsonStringWrapping, }: ConvViewProps & PropsRenderSlots<'conversation.trajectory.images'> & InjectFace<TrajectoryViewInjected> & PropsLocale<'trajectory'>): import("react").JSX.Element;
|
|
17
|
+
export declare function TrajectoryView({ useSession, useTrajectory, useDuration, loadOlder, loadImage, setActualDuration, viewRequest, completeViewRequest, renderSlot, t, jsonStringWrapping, }: ConvViewProps & Pick<PropsRenderSlots<'conversation.trajectory.images'>, 'renderSlot'> & InjectFace<TrajectoryViewInjected> & PropsLocale<'trajectory'>): import("react").JSX.Element;
|
|
18
18
|
//# sourceMappingURL=TrajectoryView.d.ts.map
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-trajectory",
|
|
3
3
|
"description": "Trajectory event ledger with an interactive timing overview: pure-consumer plugin registering into the conversation ViewMap (no service)",
|
|
4
|
-
"version": "0.2.1-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"default": "./lib/client.js"
|
|
24
24
|
},
|
|
25
25
|
"./src/*": "./src/*",
|
|
26
|
-
"./package.json": "./package.json"
|
|
26
|
+
"./package.json": "./package.json",
|
|
27
|
+
"./locale/*.json": "./locale/*.json"
|
|
27
28
|
},
|
|
28
29
|
"dsh": {
|
|
29
30
|
"client": {
|
|
@@ -39,35 +40,34 @@
|
|
|
39
40
|
},
|
|
40
41
|
"license": "MIT",
|
|
41
42
|
"peerDependencies": {
|
|
42
|
-
"@deepseek-ai/cordis": "~4.0.5-alpha.
|
|
43
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.2"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
|
-
"@deepseek-ai/dsh-agent": "0.2.1-alpha.
|
|
46
|
-
"@deepseek-ai/dsh-client-locale": "0.2.1-alpha.
|
|
47
|
-
"@deepseek-ai/dsh-client-test-runtime": "0.2.1-alpha.
|
|
48
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-alpha.
|
|
49
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-alpha.
|
|
50
|
-
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.
|
|
51
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-alpha.
|
|
52
|
-
"@deepseek-ai/dsh-compaction": "0.2.1-alpha.
|
|
53
|
-
"@deepseek-ai/dsh-tools": "0.2.1-alpha.
|
|
54
|
-
"@
|
|
55
|
-
"@types/react-dom": "~18.3.0",
|
|
56
|
-
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
46
|
+
"@deepseek-ai/dsh-agent": "0.2.1-alpha.3",
|
|
47
|
+
"@deepseek-ai/dsh-client-locale": "0.2.1-alpha.3",
|
|
48
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.2.1-alpha.3",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-alpha.3",
|
|
50
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-alpha.3",
|
|
51
|
+
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.3",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-alpha.3",
|
|
53
|
+
"@deepseek-ai/dsh-compaction": "0.2.1-alpha.3",
|
|
54
|
+
"@deepseek-ai/dsh-tools": "0.2.1-alpha.3",
|
|
55
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.2",
|
|
57
56
|
"react": "^18.2.0",
|
|
58
57
|
"react-dom": "^18.2.0",
|
|
59
|
-
"@deepseek-ai/dsh-client-store": "0.2.1-alpha.
|
|
60
|
-
"@deepseek-ai/dsh-client-ui-chat": "0.2.1-alpha.
|
|
61
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
62
|
-
"@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.
|
|
63
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.
|
|
64
|
-
"@deepseek-ai/dsh-client-ui-session": "0.2.1-alpha.
|
|
65
|
-
"@deepseek-ai/dsh-llm": "0.2.1-alpha.
|
|
66
|
-
"@deepseek-ai/dsh-attachment": "0.2.1-alpha.
|
|
67
|
-
"@tanstack/react-virtual": "
|
|
58
|
+
"@deepseek-ai/dsh-client-store": "0.2.1-alpha.3",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.2.1-alpha.3",
|
|
60
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.3",
|
|
61
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.3",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.3",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.1-alpha.3",
|
|
64
|
+
"@deepseek-ai/dsh-llm": "0.2.1-alpha.3",
|
|
65
|
+
"@deepseek-ai/dsh-attachment": "0.2.1-alpha.3",
|
|
66
|
+
"@tanstack/react-virtual": "3.14.10",
|
|
68
67
|
"diff": "^9.0.0"
|
|
69
68
|
},
|
|
70
69
|
"files": [
|
|
70
|
+
"locale/*.json",
|
|
71
71
|
"lib/index.js",
|
|
72
72
|
"lib/client.js",
|
|
73
73
|
"lib/types/**/*.d.ts"
|