@mcp-b/react-components 0.68.0 → 0.70.0
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/{AgentComputer-BP9ixGGE.js → AgentComputer-CFJxjMFE.js} +32 -3
- package/dist/ComputerFileThumbnail-CXHy127c.js +393 -0
- package/dist/Context-DQDumCV8.js +918 -0
- package/dist/{ThinkSchedule-D4Ulsa0-.d.ts → ThinkSchedule-9nzxIoX1.d.ts} +1 -1
- package/dist/{Workspace-B9nuTfIi.d.ts → Workspace-mZddFyvP.d.ts} +7 -3
- package/dist/{WorkspaceAutomation-C0fghGLi.d.ts → WorkspaceAutomation-hwl6C1aX.d.ts} +2 -2
- package/dist/{WorkspaceBrowser-Dz48H-7X.d.ts → WorkspaceBrowser-CNVAKXXZ.d.ts} +4 -11
- package/dist/{WorkspaceBrowser-oBJv-Dac.js → WorkspaceBrowser-ojoZy0uO.js} +202 -210
- package/dist/{WorkspaceConcept-D46cYerS.d.ts → WorkspaceConcept-DqzfZWws.d.ts} +1 -1
- package/dist/{WorkspaceFileCommands-1s9Ol8CG.d.ts → WorkspaceFileCommands-CN2oVUzx.d.ts} +5 -2
- package/dist/{WorkspaceFileTransfer-BRD22nW-.d.ts → WorkspaceFileTransfer-D--dVla2.d.ts} +1 -1
- package/dist/components/agents-sdk/AgentComputer.d.ts +1 -1
- package/dist/components/agents-sdk/AgentComputer.js +1 -1
- package/dist/components/agents-sdk/ComputerAppIds.d.ts +15 -0
- package/dist/components/agents-sdk/ComputerAppIds.js +14 -0
- package/dist/components/agents-sdk/ComputerAutomations.d.ts +23 -14
- package/dist/components/agents-sdk/ComputerAutomations.js +437 -354
- package/dist/components/agents-sdk/ComputerCalendar.js +16 -15
- package/dist/components/agents-sdk/ComputerCustomWallpaper.js +186 -171
- package/dist/components/agents-sdk/ComputerFileThumbnail.d.ts +5 -3
- package/dist/components/agents-sdk/ComputerFileThumbnail.js +1 -132
- package/dist/components/agents-sdk/ComputerFiles.d.ts +4 -6
- package/dist/components/agents-sdk/ComputerFiles.js +337 -316
- package/dist/components/agents-sdk/ComputerHome.js +1 -1
- package/dist/components/agents-sdk/ComputerLayout.d.ts +9 -0
- package/dist/components/agents-sdk/ComputerLayout.js +66 -0
- package/dist/components/agents-sdk/ComputerNotifications.js +60 -83
- package/dist/components/agents-sdk/ComputerScreen.d.ts +12 -6
- package/dist/components/agents-sdk/ComputerScreen.js +49 -36
- package/dist/components/agents-sdk/ComputerSettings.d.ts +10 -4
- package/dist/components/agents-sdk/ComputerSettings.js +92 -72
- package/dist/components/agents-sdk/ComputerSpotlight.js +1 -1
- package/dist/components/agents-sdk/EmployeeChat.js +1 -1
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +2 -2
- package/dist/components/agents-sdk/ManagerOffice.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkSchedule.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleActions.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkScheduleDetail.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkScheduleForm.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +197 -190
- package/dist/components/agents-sdk/WorkspaceAutomation.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceAutomationTable.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceDesktop.d.ts +6 -6
- package/dist/components/agents-sdk/WorkspaceDesktop.js +126 -101
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +2 -10
- package/dist/components/agents-sdk/WorkspaceExplorer.js +67 -71
- package/dist/components/agents-sdk/WorkspaceFileCommands.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileCommands.js +11 -6
- package/dist/components/agents-sdk/WorkspaceFileTransfer.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.js +7 -5
- package/dist/components/agents-sdk/WorkspaceLocalFolder.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspacePerson.d.ts +2 -2
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +2 -2
- package/dist/components/ai-sdk/Context.js +1 -842
- package/dist/components/ai-sdk/Plan.d.ts +33 -9
- package/dist/components/ai-sdk/Plan.js +336 -107
- package/dist/components/extension/FirstRunSetup.d.ts +2 -2
- package/dist/minute-clock-CXpRGCMF.js +35 -0
- package/dist/{parts-RXV6GGdB.js → parts-CPVz9l31.js} +1 -1
- package/dist/styles/plan.css +160 -23
- package/dist/{workspace-concept-panel-BDTBISNO.d.ts → workspace-concept-panel-D1czupvi.d.ts} +1 -1
- package/dist/{workspace-quick-look-9V-UFpjj.js → workspace-quick-look-DODjsfhH.js} +79 -251
- package/package.json +2 -2
- package/dist/progress-ring-BO649JA9.js +0 -79
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ThinkExecutionRun } from "./ThinkExecutionRun-QzZVWX75.js";
|
|
2
|
-
import { i as WorkspaceAutomationInvocation } from "./WorkspaceAutomation-
|
|
2
|
+
import { i as WorkspaceAutomationInvocation } from "./WorkspaceAutomation-hwl6C1aX.js";
|
|
3
3
|
import { ParsedDeclaredSchedule, ThinkScheduledTask, ThinkScheduledTaskSchedule } from "@cloudflare/think";
|
|
4
4
|
import { Schedule } from "agents";
|
|
5
5
|
//#region src/components/agents-sdk/ThinkSchedule.d.ts
|
|
@@ -84,7 +84,11 @@ declare function workspaceDirectoryQueryKey(sourceKey: string, root: string, pat
|
|
|
84
84
|
type WorkspaceDirectoryQueryKey = ReturnType<typeof workspaceDirectoryQueryKey>;
|
|
85
85
|
declare function workspaceFileQueryKey(sourceKey: string, root: string, requestedPath: string): readonly ["workspace", string, string, "file", string];
|
|
86
86
|
type WorkspaceFileQueryKey = ReturnType<typeof workspaceFileQueryKey>;
|
|
87
|
-
|
|
87
|
+
/**
|
|
88
|
+
* The source's summary. It does not depend on the root and each read is a
|
|
89
|
+
* whole-workspace aggregate, so every root of one source shares it.
|
|
90
|
+
*/
|
|
91
|
+
declare function workspaceInfoQueryKey(sourceKey: string): readonly ["workspace", string, "info"];
|
|
88
92
|
declare function workspaceFileVersion(target: WorkspaceFileReadTarget): {
|
|
89
93
|
readonly path: string;
|
|
90
94
|
readonly name: string;
|
|
@@ -97,7 +101,7 @@ declare function workspaceFileVersion(target: WorkspaceFileReadTarget): {
|
|
|
97
101
|
};
|
|
98
102
|
type WorkspaceFileVersion = ReturnType<typeof workspaceFileVersion>;
|
|
99
103
|
type WorkspaceDirectoryQueryOptions = WorkspaceQueryOptions<readonly FileInfo[], WorkspaceDirectoryQueryKey>;
|
|
100
|
-
type WorkspaceInfoQueryKey =
|
|
104
|
+
type WorkspaceInfoQueryKey = ReturnType<typeof workspaceInfoQueryKey>;
|
|
101
105
|
type WorkspaceInfoQueryOptions = WorkspaceQueryOptions<WorkspaceInfo, WorkspaceInfoQueryKey>;
|
|
102
106
|
type WorkspaceFileStatQueryKey = readonly [...WorkspaceFileQueryKey, "stat"];
|
|
103
107
|
type WorkspaceFileStatQueryOptions = WorkspaceQueryOptions<WorkspaceFileReadTarget, WorkspaceFileStatQueryKey>;
|
|
@@ -112,7 +116,7 @@ type WorkspaceBinaryFileQueryOptions = WorkspaceQueryOptions<WorkspaceResolvedAs
|
|
|
112
116
|
/** Shared directory options for workspace components and route loaders. */
|
|
113
117
|
declare function workspaceDirectoryQueryOptions(source: WorkspaceSource, sourceKey: string, root: string, path: string): WorkspaceDirectoryQueryOptions;
|
|
114
118
|
/** Shared workspace-summary options for workspace components and route loaders. */
|
|
115
|
-
declare function workspaceInfoQueryOptions(source: WorkspaceSource, sourceKey: string
|
|
119
|
+
declare function workspaceInfoQueryOptions(source: WorkspaceSource, sourceKey: string): WorkspaceInfoQueryOptions;
|
|
116
120
|
/** Re-stat and validate a requested path before any resolver or file read. */
|
|
117
121
|
declare function workspaceFileStatQueryOptions(source: WorkspaceSource, sourceKey: string, root: string, requestedPath: string): WorkspaceFileStatQueryOptions;
|
|
118
122
|
/** Optional host asset resolution, scoped to the current stat result. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as WorkspaceConceptQueryOptions } from "./WorkspaceConcept-
|
|
2
|
-
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "./workspace-concept-panel-
|
|
1
|
+
import { t as WorkspaceConceptQueryOptions } from "./WorkspaceConcept-DqzfZWws.js";
|
|
2
|
+
import { n as WorkspaceConceptPanelProps, t as WorkspaceConceptFileProps } from "./workspace-concept-panel-D1czupvi.js";
|
|
3
3
|
import { a as ExecutionTrace, r as ExecutionGraph } from "./ExecutionBoard-DBj1Aiva.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { JSONValue } from "ai";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as WorkspaceState } from "./Workspace-
|
|
2
|
-
import { r as WorkspaceDragAndDrop } from "./WorkspaceFileTransfer-
|
|
3
|
-
import { i as WorkspaceFileCommands, n as WorkspaceFileCommand } from "./WorkspaceFileCommands-
|
|
1
|
+
import { b as WorkspaceState } from "./Workspace-mZddFyvP.js";
|
|
2
|
+
import { r as WorkspaceDragAndDrop } from "./WorkspaceFileTransfer-D--dVla2.js";
|
|
3
|
+
import { i as WorkspaceFileCommands, n as WorkspaceFileCommand } from "./WorkspaceFileCommands-CN2oVUzx.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { FileInfo } from "@cloudflare/shell";
|
|
6
6
|
//#region src/components/agents-sdk/WorkspaceBrowser.d.ts
|
|
@@ -47,13 +47,6 @@ interface WorkspaceBrowserProps {
|
|
|
47
47
|
onDirectoryOpen?: (path: string) => void;
|
|
48
48
|
/** App-owned anchor or router Link for a file destination. */
|
|
49
49
|
renderFileLink?: (path: string) => React.ReactElement;
|
|
50
|
-
/**
|
|
51
|
-
* An entry's leading mark, when the host can draw the content itself: Finder
|
|
52
|
-
* and Files both show an image's own thumbnail there in place of the generic
|
|
53
|
-
* page. Returning nothing for an entry leaves it the default icon. The mark
|
|
54
|
-
* sits in the row's icon slot, so it takes the row's icon size.
|
|
55
|
-
*/
|
|
56
|
-
renderThumbnail?: (entry: FileInfo) => React.ReactNode;
|
|
57
50
|
/**
|
|
58
51
|
* In the list and grid layouts, rows drag, and the folder and its folders
|
|
59
52
|
* take drops, as a Finder window does. A folder held under a drag opens
|
|
@@ -84,6 +77,6 @@ interface WorkspaceBrowserActions {
|
|
|
84
77
|
run(command: WorkspaceFileCommand): void;
|
|
85
78
|
}
|
|
86
79
|
/** Workspace tree and filter surface, usable independently from the file preview. */
|
|
87
|
-
declare function WorkspaceBrowser({ workspace, header, title, leading, actions, showFilter, filterPlaceholder, filter, onFilterChange, emptyState, onDirectoryOpen, renderFileLink,
|
|
80
|
+
declare function WorkspaceBrowser({ workspace, header, title, leading, actions, showFilter, filterPlaceholder, filter, onFilterChange, emptyState, onDirectoryOpen, renderFileLink, layout, sort, dragAndDrop, commands, renderPreview, actionsRef }: WorkspaceBrowserProps): React.JSX.Element;
|
|
88
81
|
//#endregion
|
|
89
82
|
export { WorkspaceBrowserSort as i, WorkspaceBrowserActions as n, WorkspaceBrowserProps as r, WorkspaceBrowser as t };
|