@sparkelf/dsh-dataops-managed 0.3.32 → 0.3.33

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.
@@ -1,15 +1,17 @@
1
1
  /**
2
- * The tab's own data-catalog tree (168px): 全部 / 收藏 / 置顶 + one row per catalog.
2
+ * The tab's own data-catalog tree (168px).
3
3
  *
4
- * The portal page inside the iframe is the product's card list and detail view; the host
5
- * sidebar owns the tree and only sends the active filter to that page, so the portal never
6
- * renders its own left column in embed mode.
4
+ * 全部 / 收藏 / 置顶 stay as they were. The catalog section mirrors the portal's folder tree:
5
+ * multi-root (数据中台 / 交投), expandable folders, counts and a recursive filter. Data comes
6
+ * from GET /resources/folder-tree through the Host bridge; the right-hand portal iframe only
7
+ * receives the resulting resource ids, so the portal page itself never renders its own sidebar
8
+ * in embed mode.
7
9
  *
8
10
  * @module client/ResourceCatalogSidebar
9
11
  */
10
12
  export interface ResourceFilter {
11
- scope: 'all' | 'favorites' | 'pinned' | 'catalog';
12
- catalog?: string;
13
+ scope: 'all' | 'favorites' | 'pinned' | 'catalogNode';
14
+ nodeId?: number;
13
15
  ids?: number[];
14
16
  }
15
17
  export declare function ResourceCatalogSidebar({ onFilter }: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparkelf/dsh-dataops-managed",
3
- "version": "0.3.32",
3
+ "version": "0.3.33",
4
4
  "description": "DataOps JWT intake and credential-backed MCP tools for managed DeepSeek Harness workspaces.",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",