@mcp-b/react-components 0.66.0 → 0.67.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-2uYB8kmu.js → AgentComputer-BP9ixGGE.js} +136 -127
- package/dist/components/agents-sdk/AgentComputer.js +1 -1
- package/dist/components/agents-sdk/ComputerAutomations.js +2 -2
- package/dist/components/agents-sdk/ComputerCalendar.js +2 -2
- package/dist/components/agents-sdk/ComputerFiles.js +2 -2
- package/dist/components/agents-sdk/ComputerHome.js +1 -1
- package/dist/components/agents-sdk/ComputerNotifications.js +1 -1
- package/dist/components/agents-sdk/ComputerScreen.js +2 -2
- package/dist/components/agents-sdk/ComputerSettings.js +2 -2
- package/dist/components/agents-sdk/ComputerSpotlight.js +1 -1
- package/dist/{parts-BxJC0QVb.js → parts-RXV6GGdB.js} +1 -1
- package/dist/styles/agent-computer.css +7 -0
- package/package.json +2 -2
|
@@ -5868,29 +5868,32 @@ function _temp4$2(computer_0) {
|
|
|
5868
5868
|
//#region src/components/_internal/agent-computer/shell.tsx
|
|
5869
5869
|
/** The computer's frame: the surface attributes its stylesheet keys on, and its keys. */
|
|
5870
5870
|
function ShellRoot(t0) {
|
|
5871
|
-
const $ = c(
|
|
5871
|
+
const $ = c(27);
|
|
5872
5872
|
let children;
|
|
5873
5873
|
let className;
|
|
5874
|
+
let desktop;
|
|
5874
5875
|
let homeWidget;
|
|
5875
5876
|
let onKeyDown;
|
|
5876
5877
|
let props;
|
|
5877
5878
|
let ref;
|
|
5878
5879
|
if ($[0] !== t0) {
|
|
5879
|
-
({homeWidget, className, onKeyDown, children, ref, ...props} = t0);
|
|
5880
|
+
({homeWidget, desktop, className, onKeyDown, children, ref, ...props} = t0);
|
|
5880
5881
|
$[0] = t0;
|
|
5881
5882
|
$[1] = children;
|
|
5882
5883
|
$[2] = className;
|
|
5883
|
-
$[3] =
|
|
5884
|
-
$[4] =
|
|
5885
|
-
$[5] =
|
|
5886
|
-
$[6] =
|
|
5884
|
+
$[3] = desktop;
|
|
5885
|
+
$[4] = homeWidget;
|
|
5886
|
+
$[5] = onKeyDown;
|
|
5887
|
+
$[6] = props;
|
|
5888
|
+
$[7] = ref;
|
|
5887
5889
|
} else {
|
|
5888
5890
|
children = $[1];
|
|
5889
5891
|
className = $[2];
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5892
|
+
desktop = $[3];
|
|
5893
|
+
homeWidget = $[4];
|
|
5894
|
+
onKeyDown = $[5];
|
|
5895
|
+
props = $[6];
|
|
5896
|
+
ref = $[7];
|
|
5894
5897
|
}
|
|
5895
5898
|
const computer = useComputer();
|
|
5896
5899
|
const rootRef = useMergedRefs(computer.attachRoot, ref);
|
|
@@ -5901,30 +5904,31 @@ function ShellRoot(t0) {
|
|
|
5901
5904
|
const expose = useComputerSlice(_temp5$1);
|
|
5902
5905
|
const fullScreen = useComputerSlice(_temp6$1);
|
|
5903
5906
|
let t1;
|
|
5904
|
-
if ($[
|
|
5907
|
+
if ($[8] !== className) {
|
|
5905
5908
|
t1 = cx("agent-computer", className);
|
|
5906
|
-
$[
|
|
5907
|
-
$[
|
|
5908
|
-
} else t1 = $[
|
|
5909
|
+
$[8] = className;
|
|
5910
|
+
$[9] = t1;
|
|
5911
|
+
} else t1 = $[9];
|
|
5909
5912
|
const t2 = home ? "" : void 0;
|
|
5910
5913
|
const t3 = phone ? "" : void 0;
|
|
5911
5914
|
const t4 = homeWidget ? "" : void 0;
|
|
5912
|
-
const t5 =
|
|
5913
|
-
const t6 =
|
|
5914
|
-
const t7 =
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5915
|
+
const t5 = desktop ? "" : void 0;
|
|
5916
|
+
const t6 = switcher ? "" : void 0;
|
|
5917
|
+
const t7 = gesturing ?? void 0;
|
|
5918
|
+
const t8 = fullScreen ? "" : void 0;
|
|
5919
|
+
let t9;
|
|
5920
|
+
if ($[10] !== computer || $[11] !== onKeyDown) {
|
|
5921
|
+
t9 = (event) => {
|
|
5918
5922
|
onKeyDown?.(event);
|
|
5919
5923
|
computer.keyDown(event);
|
|
5920
5924
|
};
|
|
5921
|
-
$[
|
|
5922
|
-
$[
|
|
5923
|
-
$[
|
|
5924
|
-
} else
|
|
5925
|
-
let
|
|
5926
|
-
if ($[
|
|
5927
|
-
|
|
5925
|
+
$[10] = computer;
|
|
5926
|
+
$[11] = onKeyDown;
|
|
5927
|
+
$[12] = t9;
|
|
5928
|
+
} else t9 = $[12];
|
|
5929
|
+
let t10;
|
|
5930
|
+
if ($[13] !== children || $[14] !== expose || $[15] !== props || $[16] !== rootRef || $[17] !== t1 || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7 || $[24] !== t8 || $[25] !== t9) {
|
|
5931
|
+
t10 = /* @__PURE__ */ jsx(AppFrame.Root, {
|
|
5928
5932
|
...props,
|
|
5929
5933
|
ref: rootRef,
|
|
5930
5934
|
className: t1,
|
|
@@ -5933,28 +5937,30 @@ function ShellRoot(t0) {
|
|
|
5933
5937
|
"data-home": t2,
|
|
5934
5938
|
"data-phone": t3,
|
|
5935
5939
|
"data-home-widget": t4,
|
|
5936
|
-
"data-
|
|
5937
|
-
"data-
|
|
5940
|
+
"data-desktop": t5,
|
|
5941
|
+
"data-switcher": t6,
|
|
5942
|
+
"data-gesture": t7,
|
|
5938
5943
|
"data-expose": expose,
|
|
5939
|
-
"data-full-screen":
|
|
5940
|
-
onKeyDown:
|
|
5944
|
+
"data-full-screen": t8,
|
|
5945
|
+
onKeyDown: t9,
|
|
5941
5946
|
children
|
|
5942
5947
|
});
|
|
5943
|
-
$[
|
|
5944
|
-
$[
|
|
5945
|
-
$[
|
|
5946
|
-
$[
|
|
5947
|
-
$[
|
|
5948
|
-
$[
|
|
5949
|
-
$[
|
|
5950
|
-
$[
|
|
5951
|
-
$[
|
|
5952
|
-
$[
|
|
5953
|
-
$[
|
|
5954
|
-
$[
|
|
5955
|
-
$[
|
|
5956
|
-
|
|
5957
|
-
|
|
5948
|
+
$[13] = children;
|
|
5949
|
+
$[14] = expose;
|
|
5950
|
+
$[15] = props;
|
|
5951
|
+
$[16] = rootRef;
|
|
5952
|
+
$[17] = t1;
|
|
5953
|
+
$[18] = t2;
|
|
5954
|
+
$[19] = t3;
|
|
5955
|
+
$[20] = t4;
|
|
5956
|
+
$[21] = t5;
|
|
5957
|
+
$[22] = t6;
|
|
5958
|
+
$[23] = t7;
|
|
5959
|
+
$[24] = t8;
|
|
5960
|
+
$[25] = t9;
|
|
5961
|
+
$[26] = t10;
|
|
5962
|
+
} else t10 = $[26];
|
|
5963
|
+
return t10;
|
|
5958
5964
|
}
|
|
5959
5965
|
function _temp6$1(c_4) {
|
|
5960
5966
|
const { expandedId } = c_4.getState();
|
|
@@ -7787,7 +7793,7 @@ const SIGVELO = COMPUTER_WALLPAPERS.find((option) => option.value === DEFAULT_CO
|
|
|
7787
7793
|
* Use a key when changing employee identity to reset their presentation state.
|
|
7788
7794
|
*/
|
|
7789
7795
|
function AgentComputer(t0) {
|
|
7790
|
-
const $ = c(
|
|
7796
|
+
const $ = c(84);
|
|
7791
7797
|
let actionsRef;
|
|
7792
7798
|
let apps;
|
|
7793
7799
|
let defaultLayout;
|
|
@@ -7935,9 +7941,10 @@ function AgentComputer(t0) {
|
|
|
7935
7941
|
} else t14 = $[44];
|
|
7936
7942
|
const t15 = t14;
|
|
7937
7943
|
const t16 = Boolean(homeWidget);
|
|
7938
|
-
|
|
7944
|
+
const t17 = desktop !== void 0;
|
|
7945
|
+
let t18;
|
|
7939
7946
|
if ($[45] !== homeWidget || $[46] !== name || $[47] !== status) {
|
|
7940
|
-
|
|
7947
|
+
t18 = /* @__PURE__ */ jsx(ShellBar, {
|
|
7941
7948
|
name,
|
|
7942
7949
|
status,
|
|
7943
7950
|
homeWidget
|
|
@@ -7945,11 +7952,11 @@ function AgentComputer(t0) {
|
|
|
7945
7952
|
$[45] = homeWidget;
|
|
7946
7953
|
$[46] = name;
|
|
7947
7954
|
$[47] = status;
|
|
7948
|
-
$[48] =
|
|
7949
|
-
} else
|
|
7950
|
-
let
|
|
7955
|
+
$[48] = t18;
|
|
7956
|
+
} else t18 = $[48];
|
|
7957
|
+
let t19;
|
|
7951
7958
|
if ($[49] !== apps || $[50] !== desktop || $[51] !== home) {
|
|
7952
|
-
|
|
7959
|
+
t19 = /* @__PURE__ */ jsx(ShellStage, {
|
|
7953
7960
|
home,
|
|
7954
7961
|
desktop,
|
|
7955
7962
|
apps
|
|
@@ -7957,128 +7964,130 @@ function AgentComputer(t0) {
|
|
|
7957
7964
|
$[49] = apps;
|
|
7958
7965
|
$[50] = desktop;
|
|
7959
7966
|
$[51] = home;
|
|
7960
|
-
$[52] =
|
|
7961
|
-
} else
|
|
7962
|
-
let t19;
|
|
7963
|
-
if ($[53] === Symbol.for("react.memo_cache_sentinel")) {
|
|
7964
|
-
t19 = /* @__PURE__ */ jsx(ShellExpose, {});
|
|
7965
|
-
$[53] = t19;
|
|
7966
|
-
} else t19 = $[53];
|
|
7967
|
+
$[52] = t19;
|
|
7968
|
+
} else t19 = $[52];
|
|
7967
7969
|
let t20;
|
|
7970
|
+
if ($[53] === Symbol.for("react.memo_cache_sentinel")) {
|
|
7971
|
+
t20 = /* @__PURE__ */ jsx(ShellExpose, {});
|
|
7972
|
+
$[53] = t20;
|
|
7973
|
+
} else t20 = $[53];
|
|
7974
|
+
let t21;
|
|
7968
7975
|
if ($[54] !== name || $[55] !== trash) {
|
|
7969
|
-
|
|
7976
|
+
t21 = /* @__PURE__ */ jsx(ComputerDock, {
|
|
7970
7977
|
trash,
|
|
7971
7978
|
name
|
|
7972
7979
|
});
|
|
7973
7980
|
$[54] = name;
|
|
7974
7981
|
$[55] = trash;
|
|
7975
|
-
$[56] =
|
|
7976
|
-
} else
|
|
7977
|
-
let t21;
|
|
7978
|
-
if ($[57] === Symbol.for("react.memo_cache_sentinel")) {
|
|
7979
|
-
t21 = /* @__PURE__ */ jsx(ShellAnnouncer, {});
|
|
7980
|
-
$[57] = t21;
|
|
7981
|
-
} else t21 = $[57];
|
|
7982
|
+
$[56] = t21;
|
|
7983
|
+
} else t21 = $[56];
|
|
7982
7984
|
let t22;
|
|
7983
|
-
if ($[
|
|
7984
|
-
t22 = /* @__PURE__ */
|
|
7985
|
+
if ($[57] === Symbol.for("react.memo_cache_sentinel")) {
|
|
7986
|
+
t22 = /* @__PURE__ */ jsx(ShellAnnouncer, {});
|
|
7987
|
+
$[57] = t22;
|
|
7988
|
+
} else t22 = $[57];
|
|
7989
|
+
let t23;
|
|
7990
|
+
if ($[58] !== t19 || $[59] !== t21) {
|
|
7991
|
+
t23 = /* @__PURE__ */ jsxs(AppFrame.Body, {
|
|
7985
7992
|
className: "agent-computer__body",
|
|
7986
7993
|
children: [
|
|
7987
|
-
t18,
|
|
7988
7994
|
t19,
|
|
7989
7995
|
t20,
|
|
7990
|
-
t21
|
|
7996
|
+
t21,
|
|
7997
|
+
t22
|
|
7991
7998
|
]
|
|
7992
7999
|
});
|
|
7993
|
-
$[58] =
|
|
7994
|
-
$[59] =
|
|
7995
|
-
$[60] =
|
|
7996
|
-
} else
|
|
7997
|
-
let t23;
|
|
8000
|
+
$[58] = t19;
|
|
8001
|
+
$[59] = t21;
|
|
8002
|
+
$[60] = t23;
|
|
8003
|
+
} else t23 = $[60];
|
|
7998
8004
|
let t24;
|
|
7999
8005
|
let t25;
|
|
8000
8006
|
let t26;
|
|
8007
|
+
let t27;
|
|
8001
8008
|
if ($[61] === Symbol.for("react.memo_cache_sentinel")) {
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8009
|
+
t24 = /* @__PURE__ */ jsx(ShellRevealEdges, {});
|
|
8010
|
+
t25 = /* @__PURE__ */ jsx(ShellAppSwitch, {});
|
|
8011
|
+
t26 = /* @__PURE__ */ jsx("div", {
|
|
8005
8012
|
ref: setPortal,
|
|
8006
8013
|
className: "agent-computer__portal"
|
|
8007
8014
|
});
|
|
8008
|
-
|
|
8009
|
-
$[61] =
|
|
8010
|
-
$[62] =
|
|
8011
|
-
$[63] =
|
|
8012
|
-
$[64] =
|
|
8015
|
+
t27 = /* @__PURE__ */ jsx(ShellEffects, {});
|
|
8016
|
+
$[61] = t24;
|
|
8017
|
+
$[62] = t25;
|
|
8018
|
+
$[63] = t26;
|
|
8019
|
+
$[64] = t27;
|
|
8013
8020
|
} else {
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8021
|
+
t24 = $[61];
|
|
8022
|
+
t25 = $[62];
|
|
8023
|
+
t26 = $[63];
|
|
8024
|
+
t27 = $[64];
|
|
8018
8025
|
}
|
|
8019
|
-
let
|
|
8020
|
-
if ($[65] !== props || $[66] !== t15 || $[67] !== t16 || $[68] !== t17 || $[69] !==
|
|
8021
|
-
|
|
8026
|
+
let t28;
|
|
8027
|
+
if ($[65] !== props || $[66] !== t15 || $[67] !== t16 || $[68] !== t17 || $[69] !== t18 || $[70] !== t23) {
|
|
8028
|
+
t28 = /* @__PURE__ */ jsxs(ShellRoot, {
|
|
8022
8029
|
...props,
|
|
8023
8030
|
style: t15,
|
|
8024
8031
|
homeWidget: t16,
|
|
8032
|
+
desktop: t17,
|
|
8025
8033
|
children: [
|
|
8026
|
-
|
|
8027
|
-
t22,
|
|
8034
|
+
t18,
|
|
8028
8035
|
t23,
|
|
8029
8036
|
t24,
|
|
8030
8037
|
t25,
|
|
8031
|
-
t26
|
|
8038
|
+
t26,
|
|
8039
|
+
t27
|
|
8032
8040
|
]
|
|
8033
8041
|
});
|
|
8034
8042
|
$[65] = props;
|
|
8035
8043
|
$[66] = t15;
|
|
8036
8044
|
$[67] = t16;
|
|
8037
8045
|
$[68] = t17;
|
|
8038
|
-
$[69] =
|
|
8039
|
-
$[70] =
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8046
|
+
$[69] = t18;
|
|
8047
|
+
$[70] = t23;
|
|
8048
|
+
$[71] = t28;
|
|
8049
|
+
} else t28 = $[71];
|
|
8050
|
+
let t29;
|
|
8051
|
+
if ($[72] !== portal || $[73] !== t28) {
|
|
8052
|
+
t29 = /* @__PURE__ */ jsx(PortalContext, {
|
|
8044
8053
|
value: portal,
|
|
8045
|
-
children:
|
|
8054
|
+
children: t28
|
|
8046
8055
|
});
|
|
8047
|
-
$[
|
|
8048
|
-
$[72] = t27;
|
|
8056
|
+
$[72] = portal;
|
|
8049
8057
|
$[73] = t28;
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8058
|
+
$[74] = t29;
|
|
8059
|
+
} else t29 = $[74];
|
|
8060
|
+
let t30;
|
|
8061
|
+
if ($[75] !== computer.handlers || $[76] !== t29) {
|
|
8062
|
+
t30 = /* @__PURE__ */ jsx(HandlersContext, {
|
|
8054
8063
|
value: t11,
|
|
8055
|
-
children:
|
|
8064
|
+
children: t29
|
|
8056
8065
|
});
|
|
8057
|
-
$[
|
|
8058
|
-
$[75] = t28;
|
|
8066
|
+
$[75] = computer.handlers;
|
|
8059
8067
|
$[76] = t29;
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8068
|
+
$[77] = t30;
|
|
8069
|
+
} else t30 = $[77];
|
|
8070
|
+
let t31;
|
|
8071
|
+
if ($[78] !== computer.actions || $[79] !== t30) {
|
|
8072
|
+
t31 = /* @__PURE__ */ jsx(ActionsContext, {
|
|
8064
8073
|
value: t10,
|
|
8065
|
-
children:
|
|
8074
|
+
children: t30
|
|
8066
8075
|
});
|
|
8067
|
-
$[
|
|
8068
|
-
$[78] = t29;
|
|
8076
|
+
$[78] = computer.actions;
|
|
8069
8077
|
$[79] = t30;
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8078
|
+
$[80] = t31;
|
|
8079
|
+
} else t31 = $[80];
|
|
8080
|
+
let t32;
|
|
8081
|
+
if ($[81] !== computer || $[82] !== t31) {
|
|
8082
|
+
t32 = /* @__PURE__ */ jsx(ComputerContext, {
|
|
8074
8083
|
value: computer,
|
|
8075
|
-
children:
|
|
8084
|
+
children: t31
|
|
8076
8085
|
});
|
|
8077
|
-
$[
|
|
8078
|
-
$[81] = t30;
|
|
8086
|
+
$[81] = computer;
|
|
8079
8087
|
$[82] = t31;
|
|
8080
|
-
|
|
8081
|
-
|
|
8088
|
+
$[83] = t32;
|
|
8089
|
+
} else t32 = $[83];
|
|
8090
|
+
return t32;
|
|
8082
8091
|
}
|
|
8083
8092
|
//#endregion
|
|
8084
8093
|
export { useAgentComputerWindow as a, useAgentComputerPortalContainer as i, useAgentComputerActions as n, useAgentComputerWindowActive as o, useAgentComputerAppHandlers as r, chordLabel as s, AgentComputer as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useAgentComputerWindow, i as useAgentComputerPortalContainer, n as useAgentComputerActions, o as useAgentComputerWindowActive, r as useAgentComputerAppHandlers, t as AgentComputer } from "../../AgentComputer-
|
|
1
|
+
import { a as useAgentComputerWindow, i as useAgentComputerPortalContainer, n as useAgentComputerActions, o as useAgentComputerWindowActive, r as useAgentComputerAppHandlers, t as AgentComputer } from "../../AgentComputer-BP9ixGGE.js";
|
|
2
2
|
export { AgentComputer, useAgentComputerActions, useAgentComputerAppHandlers, useAgentComputerPortalContainer, useAgentComputerWindow, useAgentComputerWindowActive };
|
|
@@ -5,7 +5,7 @@ import { IconButton } from "../foundations/IconButton.js";
|
|
|
5
5
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
6
6
|
import { Tabs } from "../foundations/Tabs.js";
|
|
7
7
|
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
8
|
-
import { n as useAgentComputerActions } from "../../AgentComputer-
|
|
8
|
+
import { n as useAgentComputerActions } from "../../AgentComputer-BP9ixGGE.js";
|
|
9
9
|
import { Menubar } from "../foundations/Menubar.js";
|
|
10
10
|
import { getThinkExecutionRunId } from "./ThinkExecutionRun.js";
|
|
11
11
|
import { ThinkExecutionRunSummary } from "./ThinkExecutionStatus.js";
|
|
@@ -17,7 +17,7 @@ import { WorkspaceAutomationsPanel } from "./WorkspaceAutomation.js";
|
|
|
17
17
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
18
18
|
import { StatusScreen } from "../general-purpose/StatusScreen.js";
|
|
19
19
|
import { n as useComputerAutomationsContext, r as zonedFormat, t as ComputerAutomationsContext } from "../../automations-host-DPORjdc7.js";
|
|
20
|
-
import { n as computerAppTile, t as computerAppParts } from "../../parts-
|
|
20
|
+
import { n as computerAppTile, t as computerAppParts } from "../../parts-RXV6GGdB.js";
|
|
21
21
|
import { ThinkScheduleActions, useThinkScheduleActions } from "./ThinkScheduleActions.js";
|
|
22
22
|
import { ThinkScheduleBrowser } from "./ThinkScheduleBrowser.js";
|
|
23
23
|
import { ThinkScheduleDetail } from "./ThinkScheduleDetail.js";
|
|
@@ -2,7 +2,7 @@ import { Z as PlusIcon, g as ChevronRightIcon, gt as XIcon, h as ChevronLeftIcon
|
|
|
2
2
|
import { Checkbox } from "../foundations/Checkbox.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
|
-
import { n as useAgentComputerActions } from "../../AgentComputer-
|
|
5
|
+
import { n as useAgentComputerActions } from "../../AgentComputer-BP9ixGGE.js";
|
|
6
6
|
import { Menubar } from "../foundations/Menubar.js";
|
|
7
7
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
8
8
|
import { DescriptionList } from "../foundations/DescriptionList.js";
|
|
@@ -11,7 +11,7 @@ import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
|
11
11
|
import { ResponsiveSidebarShell } from "../general-purpose/ResponsiveSidebarShell.js";
|
|
12
12
|
import { LinkButton } from "../foundations/LinkButton.js";
|
|
13
13
|
import { n as useComputerAutomationsContext, r as zonedFormat } from "../../automations-host-DPORjdc7.js";
|
|
14
|
-
import { t as computerAppParts } from "../../parts-
|
|
14
|
+
import { t as computerAppParts } from "../../parts-RXV6GGdB.js";
|
|
15
15
|
import { SearchField } from "../foundations/SearchField.js";
|
|
16
16
|
import { formatThinkScheduleTimeZone } from "./ThinkSchedule.js";
|
|
17
17
|
import { Popover } from "../foundations/Popover.js";
|
|
@@ -10,11 +10,11 @@ import { Menu } from "../foundations/Menu.js";
|
|
|
10
10
|
import { a as workspaceDirname, i as workspaceBasename } from "../../workspace-path-TZggP-u4.js";
|
|
11
11
|
import { downloadWorkspaceFile, saveWorkspaceFileAs } from "./WorkspaceFileTransfer.js";
|
|
12
12
|
import { r as useWorkspaceDragAndDrop } from "../../workspace-drag-B6hMXUNt.js";
|
|
13
|
-
import { a as useAgentComputerWindow, r as useAgentComputerAppHandlers } from "../../AgentComputer-
|
|
13
|
+
import { a as useAgentComputerWindow, r as useAgentComputerAppHandlers } from "../../AgentComputer-BP9ixGGE.js";
|
|
14
14
|
import { Menubar } from "../foundations/Menubar.js";
|
|
15
15
|
import { EmptyState } from "../foundations/EmptyState.js";
|
|
16
16
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
17
|
-
import { n as computerAppTile } from "../../parts-
|
|
17
|
+
import { n as computerAppTile } from "../../parts-RXV6GGdB.js";
|
|
18
18
|
import { SearchField } from "../foundations/SearchField.js";
|
|
19
19
|
import { ToggleGroup } from "../foundations/ToggleGroup.js";
|
|
20
20
|
import { useWorkspace, workspaceInfoQueryKey } from "./Workspace.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tt as SearchIcon } from "../../icons-nLTnB9kd.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
4
|
-
import { n as useAgentComputerActions } from "../../AgentComputer-
|
|
4
|
+
import { n as useAgentComputerActions } from "../../AgentComputer-BP9ixGGE.js";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/agents-sdk/ComputerHome.tsx
|
|
@@ -2,7 +2,7 @@ import { W as MonitorIcon, c as BellIcon, g as ChevronRightIcon, p as CheckIcon
|
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
5
|
-
import { i as useAgentComputerPortalContainer } from "../../AgentComputer-
|
|
5
|
+
import { i as useAgentComputerPortalContainer } from "../../AgentComputer-BP9ixGGE.js";
|
|
6
6
|
import { Popover } from "../foundations/Popover.js";
|
|
7
7
|
import { Toast } from "../foundations/Toast.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { V as MessageSquareIcon, W as MonitorIcon, _ as ChromeIcon, i as ArrowRightIcon, m as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-nLTnB9kd.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
|
-
import { a as useAgentComputerWindow, n as useAgentComputerActions, o as useAgentComputerWindowActive } from "../../AgentComputer-
|
|
4
|
+
import { a as useAgentComputerWindow, n as useAgentComputerActions, o as useAgentComputerWindowActive } from "../../AgentComputer-BP9ixGGE.js";
|
|
5
5
|
import { Menubar } from "../foundations/Menubar.js";
|
|
6
6
|
import { FormattedDate } from "../foundations/FormattedDate.js";
|
|
7
7
|
import { AgentScreenSwitcher } from "./AgentScreenSwitcher.js";
|
|
8
8
|
import { WebPreviewNavigationButton } from "../general-purpose/WebPreview.js";
|
|
9
9
|
import { BrowserProfileMenu, BrowserRunPanel, BrowserTabStrip } from "./BrowserRunPanel.js";
|
|
10
|
-
import { n as computerAppTile } from "../../parts-
|
|
10
|
+
import { n as computerAppTile } from "../../parts-RXV6GGdB.js";
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
12
12
|
import * as React from "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -5,9 +5,9 @@ import { Button } from "../foundations/Button.js";
|
|
|
5
5
|
import { IconButton } from "../foundations/IconButton.js";
|
|
6
6
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
7
7
|
import { Tabs } from "../foundations/Tabs.js";
|
|
8
|
-
import { a as useAgentComputerWindow, n as useAgentComputerActions, s as chordLabel } from "../../AgentComputer-
|
|
8
|
+
import { a as useAgentComputerWindow, n as useAgentComputerActions, s as chordLabel } from "../../AgentComputer-BP9ixGGE.js";
|
|
9
9
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
10
|
-
import { n as computerAppTile } from "../../parts-
|
|
10
|
+
import { n as computerAppTile } from "../../parts-RXV6GGdB.js";
|
|
11
11
|
import { Switch } from "../foundations/Switch.js";
|
|
12
12
|
import { ScreenStack } from "../general-purpose/ScreenStack.js";
|
|
13
13
|
import { ThemeModeControl } from "../general-purpose/ThemeModeControl.js";
|
|
@@ -2,7 +2,7 @@ import { tt as SearchIcon } from "../../icons-nLTnB9kd.js";
|
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
4
|
import { AppIcon } from "../foundations/AppIcon.js";
|
|
5
|
-
import { i as useAgentComputerPortalContainer, n as useAgentComputerActions } from "../../AgentComputer-
|
|
5
|
+
import { i as useAgentComputerPortalContainer, n as useAgentComputerActions } from "../../AgentComputer-BP9ixGGE.js";
|
|
6
6
|
import { CommandPalette } from "../general-purpose/CommandPalette.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import * as React from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as useAgentComputerWindow, r as useAgentComputerAppHandlers } from "./AgentComputer-
|
|
1
|
+
import { a as useAgentComputerWindow, r as useAgentComputerAppHandlers } from "./AgentComputer-BP9ixGGE.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -403,6 +403,13 @@
|
|
|
403
403
|
.agent-computer:not([data-home]) .agent-computer__home {
|
|
404
404
|
visibility: hidden;
|
|
405
405
|
}
|
|
406
|
+
/* A wide computer with a desktop shows its files where Home's grid would be;
|
|
407
|
+
the phone keeps Home. */
|
|
408
|
+
@container agent-computer (inline-size > 48rem) {
|
|
409
|
+
.agent-computer[data-desktop] .agent-computer__home {
|
|
410
|
+
display: none;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
406
413
|
/* Minimizing or closing the last window leaves the desktop with no active app,
|
|
407
414
|
which is the same state as showing Home — but a window parked in the Dock is
|
|
408
415
|
on the Dock, not on the desktop, and one that is still seeing itself out has
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-b/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.67.0",
|
|
4
4
|
"description": "MCP-B React components built on Base UI and shared design tokens, including Cloudflare Think chat primitives.",
|
|
5
5
|
"homepage": "https://design-system.sigvelo.com",
|
|
6
6
|
"bugs": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"streamdown": "^2.7.0",
|
|
56
56
|
"unist-util-visit": "^5.1.0",
|
|
57
57
|
"yet-another-react-lightbox": "^3.32.2",
|
|
58
|
-
"@mcp-b/design-tokens": "0.
|
|
58
|
+
"@mcp-b/design-tokens": "0.67.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@ai-sdk/react": "^4.0.136",
|