@tutti-os/workspace-file-reference 0.0.15 → 0.0.16
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/dist/{chunk-HRC2MZ5H.js → chunk-JURSITRX.js} +12 -1
- package/dist/chunk-JURSITRX.js.map +1 -0
- package/dist/{chunk-KSK6PILG.js → chunk-LJZYN4MH.js} +45 -17
- package/dist/chunk-LJZYN4MH.js.map +1 -0
- package/dist/contracts/index.d.ts +22 -2
- package/dist/core/index.d.ts +6 -1
- package/dist/core/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.d.ts +17 -3
- package/dist/react/index.js +2 -2
- package/dist/ui/index.d.ts +8 -2
- package/dist/ui/index.js +337 -173
- package/dist/ui/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/chunk-HRC2MZ5H.js.map +0 -1
- package/dist/chunk-KSK6PILG.js.map +0 -1
package/dist/react/index.js
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
prefetchReferenceTree,
|
|
10
10
|
useWorkspaceFileReferencePickerView,
|
|
11
11
|
workspaceFileReferenceDefaultExpandedDepth
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-LJZYN4MH.js";
|
|
13
|
+
import "../chunk-JURSITRX.js";
|
|
14
14
|
export {
|
|
15
15
|
ROOT_CHILDREN_KEY,
|
|
16
16
|
collectVisibleTreeEntries,
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { WorkspaceFileReferenceCopy, WorkspaceFileReferenceAdapter, WorkspaceFileReference, ReferenceLocateTarget } from '../contracts/index.js';
|
|
2
|
+
import { WorkspaceFileReferenceCopy, WorkspaceFileReferenceAdapter, WorkspaceFileReference, ReferenceHandle, ReferenceLocateTarget } from '../contracts/index.js';
|
|
3
3
|
import { JSX } from 'react';
|
|
4
4
|
import { R as ReferenceSourceAggregator } from '../referenceSourceAggregator-B8ATnJOZ.js';
|
|
5
5
|
|
|
@@ -27,7 +27,13 @@ interface ReferenceBundleSelection {
|
|
|
27
27
|
nodeId: string;
|
|
28
28
|
displayName: string;
|
|
29
29
|
iconUrl?: string | null;
|
|
30
|
-
|
|
30
|
+
/**
|
|
31
|
+
* 可被 agent 解析的领域句柄(见 ReferenceHandle)。发给 agent 的
|
|
32
|
+
* `mention://workspace-reference/...` 由它构造;源未解码出句柄时为 null。
|
|
33
|
+
*/
|
|
34
|
+
handle: ReferenceHandle | null;
|
|
35
|
+
/** 该 bundle 下文件数(展示用,取节点 childCount;不再展开文件)。 */
|
|
36
|
+
fileCount: number;
|
|
31
37
|
}
|
|
32
38
|
interface ReferenceGroupedSelection {
|
|
33
39
|
files: WorkspaceFileReference[];
|