@superinterface/react 3.9.6 → 3.10.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/index.cjs CHANGED
@@ -352,6 +352,9 @@ __export(src_exports, {
352
352
  RunStep: function() {
353
353
  return RunStep;
354
354
  },
355
+ SourceAnnotation: function() {
356
+ return SourceAnnotation;
357
+ },
355
358
  Suggestions: function() {
356
359
  return Suggestions;
357
360
  },
@@ -10910,8 +10913,281 @@ var MarkdownProvider = function(t0) {
10910
10913
  }
10911
10914
  return t3;
10912
10915
  };
10913
- // src/components/avatars/Avatar.tsx
10916
+ // src/components/annotations/SourceAnnotation/index.tsx
10914
10917
  var import_react_compiler_runtime58 = require("react-compiler-runtime");
10918
+ // src/components/annotations/SourceAnnotation/FileCitation/index.tsx
10919
+ var import_react_compiler_runtime57 = require("react-compiler-runtime");
10920
+ var import_react68 = require("react");
10921
+ var import_react_icons18 = require("@radix-ui/react-icons");
10922
+ var import_themes65 = require("@radix-ui/themes");
10923
+ // src/components/annotations/SourceAnnotation/FileCitation/Content.tsx
10924
+ var import_react_compiler_runtime56 = require("react-compiler-runtime");
10925
+ var import_themes64 = require("@radix-ui/themes");
10926
+ var import_jsx_runtime93 = require("react/jsx-runtime");
10927
+ var Content9 = function(t0) {
10928
+ var $ = (0, import_react_compiler_runtime56.c)(4);
10929
+ var fileId = t0.fileId;
10930
+ var superinterfaceContext = useSuperinterfaceContext();
10931
+ var nextSearchParams = new URLSearchParams(superinterfaceContext.variables);
10932
+ var t1;
10933
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
10934
+ t1 = {
10935
+ display: "flex",
10936
+ flexGrow: "1"
10937
+ };
10938
+ $[0] = t1;
10939
+ } else {
10940
+ t1 = $[0];
10941
+ }
10942
+ var t2;
10943
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
10944
+ t2 = {
10945
+ display: "flex",
10946
+ flexGrow: "1"
10947
+ };
10948
+ $[1] = t2;
10949
+ } else {
10950
+ t2 = $[1];
10951
+ }
10952
+ var t3 = "".concat(superinterfaceContext.baseUrl, "/files/").concat(fileId, "/contents?").concat(nextSearchParams);
10953
+ var t4;
10954
+ if ($[2] !== t3) {
10955
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Flex, {
10956
+ direction: "column",
10957
+ flexGrow: "1",
10958
+ gap: "3",
10959
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Card, {
10960
+ style: t1,
10961
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Inset, {
10962
+ clip: "padding-box",
10963
+ style: t2,
10964
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Flex, {
10965
+ flexGrow: "1",
10966
+ position: "relative",
10967
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("embed", {
10968
+ src: t3
10969
+ })
10970
+ })
10971
+ })
10972
+ })
10973
+ });
10974
+ $[2] = t3;
10975
+ $[3] = t4;
10976
+ } else {
10977
+ t4 = $[3];
10978
+ }
10979
+ return t4;
10980
+ };
10981
+ // src/components/annotations/SourceAnnotation/FileCitation/index.tsx
10982
+ var import_jsx_runtime94 = require("react/jsx-runtime");
10983
+ var FileCitation = function(t0) {
10984
+ var $ = (0, import_react_compiler_runtime57.c)(18);
10985
+ var annotation = t0.annotation;
10986
+ var _ref = _sliced_to_array((0, import_react68.useState)(null), 2), activeFileId = _ref[0], setActiveFileId = _ref[1];
10987
+ var t1;
10988
+ if ($[0] !== annotation.file_citation.file_id) {
10989
+ t1 = function() {
10990
+ setActiveFileId(annotation.file_citation.file_id);
10991
+ };
10992
+ $[0] = annotation.file_citation.file_id;
10993
+ $[1] = t1;
10994
+ } else {
10995
+ t1 = $[1];
10996
+ }
10997
+ var t2;
10998
+ if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
10999
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_react_icons18.QuoteIcon, {});
11000
+ $[2] = t2;
11001
+ } else {
11002
+ t2 = $[2];
11003
+ }
11004
+ var t3;
11005
+ if ($[3] !== t1) {
11006
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes65.IconButton, {
11007
+ variant: "soft",
11008
+ color: "gray",
11009
+ size: "1",
11010
+ onClick: t1,
11011
+ children: t2
11012
+ });
11013
+ $[3] = t1;
11014
+ $[4] = t3;
11015
+ } else {
11016
+ t3 = $[4];
11017
+ }
11018
+ var t4 = !!activeFileId;
11019
+ var t5;
11020
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
11021
+ t5 = function(open) {
11022
+ if (!open) {
11023
+ setActiveFileId(null);
11024
+ }
11025
+ };
11026
+ $[5] = t5;
11027
+ } else {
11028
+ t5 = $[5];
11029
+ }
11030
+ var t6;
11031
+ if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
11032
+ t6 = {
11033
+ display: "flex",
11034
+ flexDirection: "column"
11035
+ };
11036
+ $[6] = t6;
11037
+ } else {
11038
+ t6 = $[6];
11039
+ }
11040
+ var t7;
11041
+ if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
11042
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes65.VisuallyHidden, {
11043
+ asChild: true,
11044
+ children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes65.Dialog.Title, {
11045
+ children: "Source"
11046
+ })
11047
+ });
11048
+ $[7] = t7;
11049
+ } else {
11050
+ t7 = $[7];
11051
+ }
11052
+ var t8;
11053
+ if ($[8] !== activeFileId) {
11054
+ t8 = activeFileId && /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Content9, {
11055
+ fileId: activeFileId
11056
+ });
11057
+ $[8] = activeFileId;
11058
+ $[9] = t8;
11059
+ } else {
11060
+ t8 = $[9];
11061
+ }
11062
+ var t9;
11063
+ if ($[10] !== t8) {
11064
+ t9 = /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_themes65.Dialog.Content, {
11065
+ width: "1000px",
11066
+ height: "90vh",
11067
+ maxWidth: "calc(100vw - 2 * var(--space-4))",
11068
+ "aria-describedby": void 0,
11069
+ style: t6,
11070
+ children: [
11071
+ t7,
11072
+ t8
11073
+ ]
11074
+ });
11075
+ $[10] = t8;
11076
+ $[11] = t9;
11077
+ } else {
11078
+ t9 = $[11];
11079
+ }
11080
+ var t10;
11081
+ if ($[12] !== t4 || $[13] !== t9) {
11082
+ t10 = /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes65.Dialog.Root, {
11083
+ open: t4,
11084
+ onOpenChange: t5,
11085
+ children: t9
11086
+ });
11087
+ $[12] = t4;
11088
+ $[13] = t9;
11089
+ $[14] = t10;
11090
+ } else {
11091
+ t10 = $[14];
11092
+ }
11093
+ var t11;
11094
+ if ($[15] !== t10 || $[16] !== t3) {
11095
+ t11 = /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_jsx_runtime94.Fragment, {
11096
+ children: [
11097
+ t3,
11098
+ t10
11099
+ ]
11100
+ });
11101
+ $[15] = t10;
11102
+ $[16] = t3;
11103
+ $[17] = t11;
11104
+ } else {
11105
+ t11 = $[17];
11106
+ }
11107
+ return t11;
11108
+ };
11109
+ // src/components/annotations/SourceAnnotation/index.tsx
11110
+ var import_jsx_runtime95 = require("react/jsx-runtime");
11111
+ var _excluded7 = [
11112
+ "children"
11113
+ ];
11114
+ function _objectWithoutProperties7(e, t) {
11115
+ if (null == e) return {};
11116
+ var o, r, i = _objectWithoutPropertiesLoose7(e, t);
11117
+ if (Object.getOwnPropertySymbols) {
11118
+ var s = Object.getOwnPropertySymbols(e);
11119
+ for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
11120
+ }
11121
+ return i;
11122
+ }
11123
+ function _objectWithoutPropertiesLoose7(r, e) {
11124
+ if (null == r) return {};
11125
+ var t = {};
11126
+ for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
11127
+ if (e.includes(n)) continue;
11128
+ t[n] = r[n];
11129
+ }
11130
+ return t;
11131
+ }
11132
+ var SourceAnnotation = function(t0) {
11133
+ var $ = (0, import_react_compiler_runtime58.c)(10);
11134
+ var children;
11135
+ var rest;
11136
+ if ($[0] !== t0) {
11137
+ var _t = t0;
11138
+ children = _t.children;
11139
+ rest = _objectWithoutProperties7(_t, _excluded7);
11140
+ _t;
11141
+ $[0] = t0;
11142
+ $[1] = children;
11143
+ $[2] = rest;
11144
+ } else {
11145
+ children = $[1];
11146
+ rest = $[2];
11147
+ }
11148
+ var t1;
11149
+ if ($[3] !== rest) {
11150
+ var _rest$dataAnnotation;
11151
+ t1 = JSON.parse((_rest$dataAnnotation = rest["data-annotation"]) !== null && _rest$dataAnnotation !== void 0 ? _rest$dataAnnotation : "{}");
11152
+ $[3] = rest;
11153
+ $[4] = t1;
11154
+ } else {
11155
+ t1 = $[4];
11156
+ }
11157
+ var annotation = t1;
11158
+ if (annotation.type === "file_citation") {
11159
+ var t2;
11160
+ if ($[5] !== annotation) {
11161
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(FileCitation, {
11162
+ annotation: annotation
11163
+ });
11164
+ $[5] = annotation;
11165
+ $[6] = t2;
11166
+ } else {
11167
+ t2 = $[6];
11168
+ }
11169
+ return t2;
11170
+ } else {
11171
+ if (annotation.type === "file_path") {
11172
+ var _t2;
11173
+ if ($[7] !== annotation || $[8] !== children) {
11174
+ _t2 = /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(FilePathAnnotation, {
11175
+ annotation: annotation,
11176
+ children: children
11177
+ });
11178
+ $[7] = annotation;
11179
+ $[8] = children;
11180
+ $[9] = _t2;
11181
+ } else {
11182
+ _t2 = $[9];
11183
+ }
11184
+ return _t2;
11185
+ }
11186
+ }
11187
+ return null;
11188
+ };
11189
+ // src/components/avatars/Avatar.tsx
11190
+ var import_react_compiler_runtime61 = require("react-compiler-runtime");
10915
11191
  // src/lib/enums/index.ts
10916
11192
  var IconAvatarName = /* @__PURE__ */ function(IconAvatarName2) {
10917
11193
  IconAvatarName2["BACKPACK"] = "BACKPACK";
@@ -10934,10 +11210,10 @@ var AvatarType = /* @__PURE__ */ function(AvatarType2) {
10934
11210
  return AvatarType2;
10935
11211
  }({});
10936
11212
  // src/components/avatars/Avatar.tsx
10937
- var import_themes66 = require("@radix-ui/themes");
11213
+ var import_themes68 = require("@radix-ui/themes");
10938
11214
  // src/components/imageAvatars/ImageAvatar/index.tsx
10939
- var import_react_compiler_runtime56 = require("react-compiler-runtime");
10940
- var import_themes64 = require("@radix-ui/themes");
11215
+ var import_react_compiler_runtime59 = require("react-compiler-runtime");
11216
+ var import_themes66 = require("@radix-ui/themes");
10941
11217
  // src/components/imageAvatars/ImageAvatar/lib/optimizedSrc/path.ts
10942
11218
  var width = function(_ref) {
10943
11219
  var size = _ref.size;
@@ -10988,9 +11264,9 @@ var optimizedSrc = function(_ref) {
10988
11264
  }));
10989
11265
  };
10990
11266
  // src/components/imageAvatars/ImageAvatar/index.tsx
10991
- var import_jsx_runtime93 = require("react/jsx-runtime");
11267
+ var import_jsx_runtime96 = require("react/jsx-runtime");
10992
11268
  var ImageAvatar = function(t0) {
10993
- var $ = (0, import_react_compiler_runtime56.c)(9);
11269
+ var $ = (0, import_react_compiler_runtime59.c)(9);
10994
11270
  var imageAvatar = t0.imageAvatar, size = t0.size, className = t0.className, style = t0.style;
10995
11271
  var superinterfaceContext = useSuperinterfaceContext();
10996
11272
  var t1;
@@ -11009,7 +11285,7 @@ var ImageAvatar = function(t0) {
11009
11285
  }
11010
11286
  var t2;
11011
11287
  if ($[4] !== className || $[5] !== size || $[6] !== style || $[7] !== t1) {
11012
- t2 = /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_themes64.Avatar, {
11288
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_themes66.Avatar, {
11013
11289
  className: className,
11014
11290
  style: style,
11015
11291
  fallback: "",
@@ -11027,24 +11303,24 @@ var ImageAvatar = function(t0) {
11027
11303
  return t2;
11028
11304
  };
11029
11305
  // src/components/iconAvatars/IconAvatar.tsx
11030
- var import_react_compiler_runtime57 = require("react-compiler-runtime");
11031
- var import_react68 = require("react");
11032
- var import_themes65 = require("@radix-ui/themes");
11306
+ var import_react_compiler_runtime60 = require("react-compiler-runtime");
11307
+ var import_react69 = require("react");
11308
+ var import_themes67 = require("@radix-ui/themes");
11033
11309
  // src/lib/iconAvatars/iconAvatarComponents.ts
11034
- var import_react_icons18 = require("@radix-ui/react-icons");
11310
+ var import_react_icons19 = require("@radix-ui/react-icons");
11035
11311
  var _obj;
11036
- var iconAvatarComponents = (_obj = {}, _define_property(_obj, IconAvatarName.BACKPACK, import_react_icons18.BackpackIcon), _define_property(_obj, IconAvatarName.ROCKET, import_react_icons18.RocketIcon), _define_property(_obj, IconAvatarName.MAGIC_WAND, import_react_icons18.MagicWandIcon), _define_property(_obj, IconAvatarName.CUBE, import_react_icons18.CubeIcon), _define_property(_obj, IconAvatarName.TARGET, import_react_icons18.TargetIcon), _define_property(_obj, IconAvatarName.DISC, import_react_icons18.DiscIcon), _define_property(_obj, IconAvatarName.GLOBE, import_react_icons18.GlobeIcon), _define_property(_obj, IconAvatarName.STAR, import_react_icons18.StarIcon), _define_property(_obj, IconAvatarName.LIGHTNING_BOLT, import_react_icons18.LightningBoltIcon), _define_property(_obj, IconAvatarName.FACE, import_react_icons18.FaceIcon), _define_property(_obj, IconAvatarName.PERSON, import_react_icons18.PersonIcon), _define_property(_obj, IconAvatarName.HEART, import_react_icons18.HeartIcon), _obj);
11312
+ var iconAvatarComponents = (_obj = {}, _define_property(_obj, IconAvatarName.BACKPACK, import_react_icons19.BackpackIcon), _define_property(_obj, IconAvatarName.ROCKET, import_react_icons19.RocketIcon), _define_property(_obj, IconAvatarName.MAGIC_WAND, import_react_icons19.MagicWandIcon), _define_property(_obj, IconAvatarName.CUBE, import_react_icons19.CubeIcon), _define_property(_obj, IconAvatarName.TARGET, import_react_icons19.TargetIcon), _define_property(_obj, IconAvatarName.DISC, import_react_icons19.DiscIcon), _define_property(_obj, IconAvatarName.GLOBE, import_react_icons19.GlobeIcon), _define_property(_obj, IconAvatarName.STAR, import_react_icons19.StarIcon), _define_property(_obj, IconAvatarName.LIGHTNING_BOLT, import_react_icons19.LightningBoltIcon), _define_property(_obj, IconAvatarName.FACE, import_react_icons19.FaceIcon), _define_property(_obj, IconAvatarName.PERSON, import_react_icons19.PersonIcon), _define_property(_obj, IconAvatarName.HEART, import_react_icons19.HeartIcon), _obj);
11037
11313
  // src/components/iconAvatars/IconAvatar.tsx
11038
- var import_jsx_runtime94 = require("react/jsx-runtime");
11314
+ var import_jsx_runtime97 = require("react/jsx-runtime");
11039
11315
  var IconAvatar = function(t0) {
11040
- var $ = (0, import_react_compiler_runtime57.c)(7);
11316
+ var $ = (0, import_react_compiler_runtime60.c)(7);
11041
11317
  var iconAvatar = t0.iconAvatar, size = t0.size, className = t0.className, style = t0.style;
11042
11318
  var t1;
11043
11319
  t1 = iconAvatarComponents[iconAvatar.name];
11044
11320
  var Component2 = t1;
11045
11321
  var t2;
11046
11322
  if ($[0] !== Component2) {
11047
- t2 = Component2 ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Component2, {}) : "";
11323
+ t2 = Component2 ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Component2, {}) : "";
11048
11324
  $[0] = Component2;
11049
11325
  $[1] = t2;
11050
11326
  } else {
@@ -11052,7 +11328,7 @@ var IconAvatar = function(t0) {
11052
11328
  }
11053
11329
  var t3;
11054
11330
  if ($[2] !== className || $[3] !== size || $[4] !== style || $[5] !== t2) {
11055
- t3 = /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_themes65.Avatar, {
11331
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_themes67.Avatar, {
11056
11332
  className: className,
11057
11333
  style: style,
11058
11334
  size: size,
@@ -11069,16 +11345,16 @@ var IconAvatar = function(t0) {
11069
11345
  return t3;
11070
11346
  };
11071
11347
  // src/components/avatars/Avatar.tsx
11072
- var import_jsx_runtime95 = require("react/jsx-runtime");
11348
+ var import_jsx_runtime98 = require("react/jsx-runtime");
11073
11349
  var Avatar6 = function(t0) {
11074
- var $ = (0, import_react_compiler_runtime58.c)(14);
11350
+ var $ = (0, import_react_compiler_runtime61.c)(14);
11075
11351
  var avatar = t0.avatar, t1 = t0.size, className = t0.className, style = t0.style;
11076
11352
  var size = t1 === void 0 ? "1" : t1;
11077
11353
  if (avatar) {
11078
11354
  if (avatar.type === AvatarType.IMAGE && avatar.imageAvatar) {
11079
11355
  var _t;
11080
11356
  if ($[0] !== avatar.imageAvatar || $[1] !== className || $[2] !== size || $[3] !== style) {
11081
- _t = /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(ImageAvatar, {
11357
+ _t = /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ImageAvatar, {
11082
11358
  imageAvatar: avatar.imageAvatar,
11083
11359
  size: size,
11084
11360
  className: className,
@@ -11097,7 +11373,7 @@ var Avatar6 = function(t0) {
11097
11373
  if (avatar.type === AvatarType.ICON && avatar.iconAvatar) {
11098
11374
  var _t2;
11099
11375
  if ($[5] !== avatar.iconAvatar || $[6] !== className || $[7] !== size || $[8] !== style) {
11100
- _t2 = /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(IconAvatar, {
11376
+ _t2 = /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(IconAvatar, {
11101
11377
  iconAvatar: avatar.iconAvatar,
11102
11378
  size: size,
11103
11379
  className: className,
@@ -11116,7 +11392,7 @@ var Avatar6 = function(t0) {
11116
11392
  }
11117
11393
  var t2;
11118
11394
  if ($[10] !== className || $[11] !== size || $[12] !== style) {
11119
- t2 = /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_themes66.Avatar, {
11395
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(import_themes68.Avatar, {
11120
11396
  fallback: "",
11121
11397
  size: size,
11122
11398
  className: className,
@@ -11132,28 +11408,28 @@ var Avatar6 = function(t0) {
11132
11408
  return t2;
11133
11409
  };
11134
11410
  // src/components/components/ComponentsProvider.tsx
11135
- var import_react_compiler_runtime59 = require("react-compiler-runtime");
11136
- var import_react70 = require("react");
11411
+ var import_react_compiler_runtime62 = require("react-compiler-runtime");
11412
+ var import_react71 = require("react");
11137
11413
  // src/hooks/components/useComponents.ts
11138
- var import_react69 = require("react");
11414
+ var import_react70 = require("react");
11139
11415
  var useComponents = function() {
11140
- return (0, import_react69.useContext)(ComponentsContext);
11416
+ return (0, import_react70.useContext)(ComponentsContext);
11141
11417
  };
11142
11418
  // src/components/components/ComponentsProvider.tsx
11143
- var import_jsx_runtime96 = require("react/jsx-runtime");
11144
- var _excluded7 = [
11419
+ var import_jsx_runtime99 = require("react/jsx-runtime");
11420
+ var _excluded8 = [
11145
11421
  "children"
11146
11422
  ];
11147
- function _objectWithoutProperties7(e, t) {
11423
+ function _objectWithoutProperties8(e, t) {
11148
11424
  if (null == e) return {};
11149
- var o, r, i = _objectWithoutPropertiesLoose7(e, t);
11425
+ var o, r, i = _objectWithoutPropertiesLoose8(e, t);
11150
11426
  if (Object.getOwnPropertySymbols) {
11151
11427
  var s = Object.getOwnPropertySymbols(e);
11152
11428
  for(r = 0; r < s.length; r++)o = s[r], t.includes(o) || ({}).propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
11153
11429
  }
11154
11430
  return i;
11155
11431
  }
11156
- function _objectWithoutPropertiesLoose7(r, e) {
11432
+ function _objectWithoutPropertiesLoose8(r, e) {
11157
11433
  if (null == r) return {};
11158
11434
  var t = {};
11159
11435
  for(var n in r)if (({}).hasOwnProperty.call(r, n)) {
@@ -11163,13 +11439,13 @@ function _objectWithoutPropertiesLoose7(r, e) {
11163
11439
  return t;
11164
11440
  }
11165
11441
  var ComponentsProvider = function(t0) {
11166
- var $ = (0, import_react_compiler_runtime59.c)(9);
11442
+ var $ = (0, import_react_compiler_runtime62.c)(9);
11167
11443
  var children;
11168
11444
  var rest;
11169
11445
  if ($[0] !== t0) {
11170
11446
  var _t = t0;
11171
11447
  children = _t.children;
11172
- rest = _objectWithoutProperties7(_t, _excluded7);
11448
+ rest = _objectWithoutProperties8(_t, _excluded8);
11173
11449
  _t;
11174
11450
  $[0] = t0;
11175
11451
  $[1] = children;
@@ -11193,7 +11469,7 @@ var ComponentsProvider = function(t0) {
11193
11469
  var value = t1;
11194
11470
  var t3;
11195
11471
  if ($[6] !== children || $[7] !== value) {
11196
- t3 = /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(ComponentsContext.Provider, {
11472
+ t3 = /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ComponentsContext.Provider, {
11197
11473
  value: value,
11198
11474
  children: children
11199
11475
  });
@@ -11206,11 +11482,11 @@ var ComponentsProvider = function(t0) {
11206
11482
  return t3;
11207
11483
  };
11208
11484
  // src/components/assistants/AssistantProvider/index.tsx
11209
- var import_react_compiler_runtime60 = require("react-compiler-runtime");
11210
- var import_jsx_runtime97 = require("react/jsx-runtime");
11485
+ var import_react_compiler_runtime63 = require("react-compiler-runtime");
11486
+ var import_jsx_runtime100 = require("react/jsx-runtime");
11211
11487
  var AssistantProvider = function(t0) {
11212
11488
  var _assistant$name;
11213
- var $ = (0, import_react_compiler_runtime60.c)(10);
11489
+ var $ = (0, import_react_compiler_runtime63.c)(10);
11214
11490
  var children = t0.children;
11215
11491
  var superinterfaceContext = useSuperinterfaceContext();
11216
11492
  var t1;
@@ -11228,7 +11504,7 @@ var AssistantProvider = function(t0) {
11228
11504
  var t3 = assistant === null || assistant === void 0 ? void 0 : assistant.avatar;
11229
11505
  var t4;
11230
11506
  if ($[2] !== t3) {
11231
- t4 = /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Avatar6, {
11507
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Avatar6, {
11232
11508
  avatar: t3
11233
11509
  });
11234
11510
  $[2] = t3;
@@ -11238,7 +11514,7 @@ var AssistantProvider = function(t0) {
11238
11514
  }
11239
11515
  var t5;
11240
11516
  if ($[4] !== children || $[5] !== t4) {
11241
- t5 = /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(AssistantAvatarContext.Provider, {
11517
+ t5 = /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(AssistantAvatarContext.Provider, {
11242
11518
  value: t4,
11243
11519
  children: children
11244
11520
  });
@@ -11250,7 +11526,7 @@ var AssistantProvider = function(t0) {
11250
11526
  }
11251
11527
  var t6;
11252
11528
  if ($[7] !== t2 || $[8] !== t5) {
11253
- t6 = /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(AssistantNameContext.Provider, {
11529
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(AssistantNameContext.Provider, {
11254
11530
  value: t2,
11255
11531
  children: t5
11256
11532
  });
@@ -11276,6 +11552,7 @@ var AssistantProvider = function(t0) {
11276
11552
  MarkdownContext: MarkdownContext,
11277
11553
  MarkdownProvider: MarkdownProvider,
11278
11554
  RunStep: RunStep,
11555
+ SourceAnnotation: SourceAnnotation,
11279
11556
  Suggestions: Suggestions,
11280
11557
  SuperinterfaceProvider: SuperinterfaceProvider,
11281
11558
  Thread: Thread,