@codex-app-sdk/vue 0.19.2 → 0.19.4

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.js CHANGED
@@ -3310,7 +3310,8 @@ var Zi = { class: "chat-composer__input-row" }, Qi = { class: "chat-composer__me
3310
3310
  if ([
3311
3311
  "Tab",
3312
3312
  "ArrowRight",
3313
- " "
3313
+ " ",
3314
+ "Enter"
3314
3315
  ].includes(e.key) && !e.shiftKey && !e.metaKey && !e.ctrlKey && !e.altKey && !e.isComposing && !r.disabled && !B.value && r.placeholder?.trim() && (v.value?.readText() ?? f.value) === "") {
3315
3316
  e.preventDefault(), v.value?.insertTextAtSelection(r.placeholder);
3316
3317
  return;
@@ -3612,7 +3613,7 @@ var Zi = { class: "chat-composer__input-row" }, Qi = { class: "chat-composer__me
3612
3613
  ])])
3613
3614
  ], 34));
3614
3615
  }
3615
- }), [["__scopeId", "data-v-1310bece"]]), na = { class: "codex-chat-theme codex-request-card chat-tool-confirmation" }, ra = { class: "codex-request-header chat-tool-confirmation__header" }, ia = { class: "codex-request-eyebrow chat-tool-confirmation__tag" }, aa = { class: "codex-request-title chat-tool-confirmation__question" }, oa = {
3616
+ }), [["__scopeId", "data-v-ff2e095b"]]), na = { class: "codex-chat-theme codex-request-card chat-tool-confirmation" }, ra = { class: "codex-request-header chat-tool-confirmation__header" }, ia = { class: "codex-request-eyebrow chat-tool-confirmation__tag" }, aa = { class: "codex-request-title chat-tool-confirmation__question" }, oa = {
3616
3617
  key: 0,
3617
3618
  class: "codex-request-description chat-tool-confirmation__description"
3618
3619
  }, sa = {
@@ -6944,16 +6945,17 @@ function Yu(e) {
6944
6945
  var Xu = {
6945
6946
  key: 0,
6946
6947
  class: "chat-work-group__header"
6947
- }, Zu = { class: "chat-work-group__title" }, Qu = ["aria-expanded", "disabled"], $u = ["data-label"], ed = { class: "chat-work-group__body" }, td = {
6948
+ }, Zu = { class: "chat-work-group__title" }, Qu = [
6949
+ "aria-expanded",
6950
+ "disabled",
6951
+ "aria-busy"
6952
+ ], $u = ["data-label"], ed = { class: "chat-work-group__body" }, td = {
6948
6953
  key: 0,
6949
- role: "status"
6950
- }, nd = {
6951
- key: 1,
6952
6954
  role: "alert"
6953
- }, rd = {
6955
+ }, nd = {
6954
6956
  key: 3,
6955
6957
  class: "chat-work-group__body chat-work-group__body--continuation"
6956
- }, id = /*#__PURE__*/ Z(/* @__PURE__ */ h({
6958
+ }, rd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
6957
6959
  __name: "ChatWorkGroup",
6958
6960
  props: {
6959
6961
  active: { type: Boolean },
@@ -6961,22 +6963,22 @@ var Xu = {
6961
6963
  finalStarted: { type: Boolean }
6962
6964
  },
6963
6965
  setup(e) {
6964
- let t = e, n = $n(), r = b(bo, void 0), i = b(xo, void 0), a = o(() => r?.enabled.value === !0 && i !== void 0), d = o(() => a.value ? r.completedWithoutFinal.value : !t.active && !t.finalStarted), f = N(t.active && !t.finalStarted), m = N(!1), h = o(() => a.value ? r.active.value : t.active && !t.finalStarted), g = o(() => !a.value || h.value || r.hasDetails?.value !== !1), _ = o(() => h.value || d.value ? !0 : a.value ? r.expanded.value : f.value), v = o(() => !t.continuation && !d.value && (!a.value || r.headerMessageIndex.value === i.value)), y = N(Date.now()), x;
6966
+ let t = e, n = $n(), r = b(bo, void 0), i = b(xo, void 0), a = o(() => r?.enabled.value === !0 && i !== void 0), d = o(() => a.value ? r.completedWithoutFinal.value : !t.active && !t.finalStarted), f = N(t.active && !t.finalStarted), m = N(!1), h = o(() => a.value ? r.active.value : t.active && !t.finalStarted), g = o(() => !a.value || h.value || r.hasDetails?.value !== !1), _ = o(() => r?.detailsLoading?.value === !0), v = o(() => h.value || d.value ? !0 : a.value ? r.expanded.value : f.value), y = o(() => !t.continuation && !d.value && (!a.value || r.headerMessageIndex.value === i.value)), x = N(Date.now()), S;
6965
6967
  W(h, (e) => {
6966
- clearInterval(x), x = void 0, e && (y.value = Date.now(), x = setInterval(() => {
6967
- y.value = Date.now();
6968
+ clearInterval(S), S = void 0, e && (x.value = Date.now(), S = setInterval(() => {
6969
+ x.value = Date.now();
6968
6970
  }, 1e3));
6969
- }, { immediate: !0 }), O(() => clearInterval(x));
6970
- let S = o(() => {
6971
+ }, { immediate: !0 }), O(() => clearInterval(S));
6972
+ let w = o(() => {
6971
6973
  if (!a.value) return "";
6972
6974
  if (!h.value) return Yu(r.durationMs?.value);
6973
6975
  let e = r.startedAt?.value;
6974
- return e ? Yu(y.value - Date.parse(e)) : "";
6975
- }), w = o(() => {
6976
- let e = { duration: S.value }, t = S.value !== "", i = h.value ? "working" : r?.status.value === "interrupted" ? "stopped" : r?.status.value === "failed" ? "failed" : "done";
6976
+ return e ? Yu(x.value - Date.parse(e)) : "";
6977
+ }), T = o(() => {
6978
+ let e = { duration: w.value }, t = w.value !== "", i = h.value ? "working" : r?.status.value === "interrupted" ? "stopped" : r?.status.value === "failed" ? "failed" : "done";
6977
6979
  if (i === "working") return n(t ? "chat.work.workingFor" : "chat.work.working", e);
6978
6980
  if (!g.value) return n(`chat.work.${i}${t ? "For" : ""}`, e);
6979
- let a = _.value ? "HideDetails" : "ViewDetails";
6981
+ let a = v.value ? "HideDetails" : "ViewDetails";
6980
6982
  return n(`chat.work.${i}${a}${t ? "For" : ""}`, e);
6981
6983
  });
6982
6984
  W(() => t.finalStarted, (e, t) => {
@@ -6984,7 +6986,7 @@ var Xu = {
6984
6986
  }), W(() => t.active, (e) => {
6985
6987
  !a.value && !m.value && (f.value = e && !t.finalStarted);
6986
6988
  });
6987
- function T() {
6989
+ function E() {
6988
6990
  if (!h.value) {
6989
6991
  if (a.value) {
6990
6992
  r.toggle();
@@ -6993,34 +6995,41 @@ var Xu = {
6993
6995
  m.value = !0, f.value = !f.value;
6994
6996
  }
6995
6997
  }
6996
- return (e, t) => v.value || _.value ? (k(), l("section", {
6998
+ return (e, t) => y.value || v.value ? (k(), l("section", {
6997
6999
  key: 0,
6998
- class: C(["codex-chat-theme chat-work-group", { "chat-work-group--continuation": !v.value }])
6999
- }, [v.value && !g.value ? (k(), l("div", Xu, [u("span", Zu, B(w.value), 1)])) : v.value ? (k(), l("button", {
7000
+ class: C(["codex-chat-theme chat-work-group", { "chat-work-group--continuation": !y.value }])
7001
+ }, [y.value && !g.value ? (k(), l("div", Xu, [u("span", Zu, B(T.value), 1)])) : y.value ? (k(), l("button", {
7000
7002
  key: 1,
7001
7003
  type: "button",
7002
7004
  class: "chat-work-group__header",
7003
- "aria-expanded": _.value,
7004
- disabled: h.value,
7005
- onClick: T
7005
+ "aria-expanded": v.value,
7006
+ disabled: h.value || _.value,
7007
+ "aria-busy": _.value || void 0,
7008
+ onClick: E
7006
7009
  }, [u("span", {
7007
7010
  class: C(["chat-work-group__title", { "codex-text-shimmer": h.value }]),
7008
- "data-label": w.value
7009
- }, B(w.value), 11, $u), h.value ? c("", !0) : (k(), s(R(_.value ? H(X) : H(me)), {
7011
+ "data-label": T.value
7012
+ }, B(T.value), 11, $u), _.value ? (k(), s(H(Oe), {
7010
7013
  key: 0,
7014
+ class: "chat-work-group__spinner",
7015
+ size: 15,
7016
+ role: "status",
7017
+ "aria-label": H(n)("chat.work.loadingDetails")
7018
+ }, null, 8, ["aria-label"])) : h.value ? c("", !0) : (k(), s(R(v.value ? H(X) : H(me)), {
7019
+ key: 1,
7011
7020
  size: 15
7012
- }))], 8, Qu)) : c("", !0), v.value && g.value ? (k(), s(xc, {
7021
+ }))], 8, Qu)) : c("", !0), y.value && g.value ? (k(), s(xc, {
7013
7022
  key: 2,
7014
- open: _.value
7023
+ open: v.value
7015
7024
  }, {
7016
- default: G(() => [u("div", ed, [H(r)?.detailsLoading?.value ? (k(), l("p", td, B(H(n)("chat.work.loadingDetails")), 1)) : H(r)?.detailsError?.value ? (k(), l("div", nd, [p(B(H(r).detailsError.value) + " ", 1), u("button", {
7025
+ default: G(() => [u("div", ed, [H(r)?.detailsError?.value ? (k(), l("div", td, [p(B(H(r).detailsError.value) + " ", 1), u("button", {
7017
7026
  type: "button",
7018
7027
  onClick: t[0] ||= (e) => H(r).reloadDetails?.()
7019
- }, B(H(n)("chat.actions.retry")), 1)])) : I(e.$slots, "default", {}, void 0, !0, 2)])]),
7028
+ }, B(H(n)("chat.actions.retry")), 1)])) : I(e.$slots, "default", {}, void 0, !0, 1)])]),
7020
7029
  _: 3
7021
- }, 8, ["open"])) : _.value && g.value ? (k(), l("div", rd, [I(e.$slots, "default", {}, void 0, !0)])) : c("", !0)], 2)) : c("", !0);
7030
+ }, 8, ["open"])) : v.value && g.value ? (k(), l("div", nd, [I(e.$slots, "default", {}, void 0, !0)])) : c("", !0)], 2)) : c("", !0);
7022
7031
  }
7023
- }), [["__scopeId", "data-v-dd1605b0"]]), ad = ["innerHTML"], od = ["innerHTML"], sd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7032
+ }), [["__scopeId", "data-v-952c0b97"]]), id = ["innerHTML"], ad = ["innerHTML"], od = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7024
7033
  __name: "ChatMessageBlock",
7025
7034
  props: {
7026
7035
  block: {},
@@ -7088,12 +7097,12 @@ var Xu = {
7088
7097
  class: "codex-chat-theme chat-message-block chat-message-block--text codex-markdown",
7089
7098
  innerHTML: p.value,
7090
7099
  onClick: g
7091
- }, null, 8, ad)], !0, 1) : e.block.type === "reasoning" ? (k(), l("div", {
7100
+ }, null, 8, id)], !0, 1) : e.block.type === "reasoning" ? (k(), l("div", {
7092
7101
  key: 2,
7093
7102
  class: "codex-chat-theme chat-message-block chat-message-block--reasoning codex-markdown",
7094
7103
  innerHTML: p.value,
7095
7104
  onClick: g
7096
- }, null, 8, od)) : e.block.type === "html" ? (k(), s(Yl, {
7105
+ }, null, 8, ad)) : e.block.type === "html" ? (k(), s(Yl, {
7097
7106
  key: 3,
7098
7107
  source: e.block.source,
7099
7108
  title: e.block.title,
@@ -7161,7 +7170,7 @@ var Xu = {
7161
7170
  "answered-client-request-ids",
7162
7171
  "show-tool-details",
7163
7172
  "tool-calls"
7164
- ])], !0, 10) : e.block.type === "work-group" ? (k(), s(id, {
7173
+ ])], !0, 10) : e.block.type === "work-group" ? (k(), s(rd, {
7165
7174
  key: 11,
7166
7175
  active: e.block.active,
7167
7176
  continuation: e.block.continuation,
@@ -7223,15 +7232,15 @@ var Xu = {
7223
7232
  }, null, 8, ["disabled", "prompts"])) : c("", !0);
7224
7233
  };
7225
7234
  }
7226
- }), [["__scopeId", "data-v-e5561e04"]]), cd = 1440 * 60 * 1e3;
7227
- function ld(e, t = /* @__PURE__ */ new Date()) {
7235
+ }), [["__scopeId", "data-v-e5561e04"]]), sd = 1440 * 60 * 1e3;
7236
+ function cd(e, t = /* @__PURE__ */ new Date()) {
7228
7237
  let n = new Date(e);
7229
7238
  if (Number.isNaN(n.getTime())) return "";
7230
7239
  let r = {
7231
7240
  hour: "numeric",
7232
7241
  minute: "2-digit"
7233
7242
  };
7234
- return dd(n, t) ? new Intl.DateTimeFormat(void 0, r).format(n) : n.getTime() < t.getTime() && t.getTime() - n.getTime() < 7 * cd ? new Intl.DateTimeFormat(void 0, {
7243
+ return ud(n, t) ? new Intl.DateTimeFormat(void 0, r).format(n) : n.getTime() < t.getTime() && t.getTime() - n.getTime() < 7 * sd ? new Intl.DateTimeFormat(void 0, {
7235
7244
  weekday: "short",
7236
7245
  ...r
7237
7246
  }).format(n) : new Intl.DateTimeFormat(void 0, {
@@ -7239,19 +7248,19 @@ function ld(e, t = /* @__PURE__ */ new Date()) {
7239
7248
  timeStyle: "short"
7240
7249
  }).format(n);
7241
7250
  }
7242
- function ud(e) {
7251
+ function ld(e) {
7243
7252
  let t = new Date(e);
7244
7253
  return Number.isNaN(t.getTime()) ? "" : new Intl.DateTimeFormat(void 0, {
7245
7254
  dateStyle: "full",
7246
7255
  timeStyle: "short"
7247
7256
  }).format(t);
7248
7257
  }
7249
- function dd(e, t) {
7258
+ function ud(e, t) {
7250
7259
  return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
7251
7260
  }
7252
7261
  //#endregion
7253
7262
  //#region src/chat/ChatMessageActions.vue?vue&type=script&setup=true&lang.ts
7254
- var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7263
+ var dd = ["aria-busy", "aria-label"], fd = ["title"], pd = ["title"], md = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7255
7264
  __name: "ChatMessageActions",
7256
7265
  props: {
7257
7266
  canDelete: {
@@ -7285,7 +7294,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7285
7294
  "retry"
7286
7295
  ],
7287
7296
  setup(e, { emit: t }) {
7288
- let n = e, r = t, i = $n(), a = o(() => n.presentation?.copy !== !1), u = o(() => n.presentation?.delete !== !1), d = o(() => n.presentation?.edit !== !1), f = o(() => n.presentation?.fork !== !1), p = o(() => n.presentation?.quote !== !1), h = o(() => n.presentation?.retry !== !1), g = o(() => n.message.createdAt ? ld(n.message.createdAt) : ""), _ = o(() => n.message.createdAt ? ud(n.message.createdAt) : void 0);
7297
+ let n = e, r = t, i = $n(), a = o(() => n.presentation?.copy !== !1), u = o(() => n.presentation?.delete !== !1), d = o(() => n.presentation?.edit !== !1), f = o(() => n.presentation?.fork !== !1), p = o(() => n.presentation?.quote !== !1), h = o(() => n.presentation?.retry !== !1), g = o(() => n.message.createdAt ? cd(n.message.createdAt) : ""), _ = o(() => n.message.createdAt ? ld(n.message.createdAt) : void 0);
7289
7298
  async function v() {
7290
7299
  await n.copyAction?.(), r("copy");
7291
7300
  }
@@ -7298,7 +7307,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7298
7307
  key: 0,
7299
7308
  class: "chat-message-actions__sent-at",
7300
7309
  title: _.value
7301
- }, B(g.value), 9, pd)) : c("", !0),
7310
+ }, B(g.value), 9, fd)) : c("", !0),
7302
7311
  a.value ? (k(), s(yc, {
7303
7312
  key: 1,
7304
7313
  action: v,
@@ -7363,10 +7372,10 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7363
7372
  key: 7,
7364
7373
  class: "chat-message-actions__sent-at",
7365
7374
  title: _.value
7366
- }, B(g.value), 9, md)) : c("", !0)
7367
- ], 10, fd));
7375
+ }, B(g.value), 9, pd)) : c("", !0)
7376
+ ], 10, dd));
7368
7377
  }
7369
- }), [["__scopeId", "data-v-704b28cf"]]), gd = ["data-label"], _d = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7378
+ }), [["__scopeId", "data-v-704b28cf"]]), hd = ["data-label"], gd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7370
7379
  __name: "ChatCompactionMessage",
7371
7380
  props: {
7372
7381
  completedTitle: {},
@@ -7378,9 +7387,9 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7378
7387
  return (e, t) => (k(), l("div", { class: C(["codex-chat-theme chat-message chat-message--compaction", { "chat-message--compaction-running": n.value }]) }, [t[0] ||= u("div", { class: "chat-message__compaction-line" }, null, -1), u("span", {
7379
7388
  class: "chat-message__compaction-title",
7380
7389
  "data-label": r.value
7381
- }, [u("span", { class: C(["chat-message__compaction-label", { "codex-text-shimmer": n.value }]) }, B(r.value), 3)], 8, gd)], 2));
7390
+ }, [u("span", { class: C(["chat-message__compaction-label", { "codex-text-shimmer": n.value }]) }, B(r.value), 3)], 8, hd)], 2));
7382
7391
  }
7383
- }), [["__scopeId", "data-v-49449489"]]), vd = { class: "codex-chat-theme chat-message__edit-card" }, yd = ["aria-label", "onKeydown"], bd = { class: "chat-message__edit-actions" }, xd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7392
+ }), [["__scopeId", "data-v-49449489"]]), _d = { class: "codex-chat-theme chat-message__edit-card" }, vd = ["aria-label", "onKeydown"], yd = { class: "chat-message__edit-actions" }, bd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7384
7393
  __name: "ChatMessageEditor",
7385
7394
  props: {
7386
7395
  cancelLabel: {},
@@ -7422,7 +7431,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7422
7431
  let e = i.value.trim();
7423
7432
  e && (a.value ? r("save", e, { content: se(a.value.readContent()) }) : r("save", e));
7424
7433
  }
7425
- return (t, n) => (k(), l("div", vd, [e.promptContent?.some((e) => e.type === "mention") ? (k(), s(_i, {
7434
+ return (t, n) => (k(), l("div", _d, [e.promptContent?.some((e) => e.type === "mention") ? (k(), s(_i, {
7426
7435
  key: 0,
7427
7436
  ref_key: "richInput",
7428
7437
  ref: a,
@@ -7449,7 +7458,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7449
7458
  K(q(m, ["meta", "prevent"]), ["enter"]),
7450
7459
  K(q(m, ["ctrl", "prevent"]), ["enter"])
7451
7460
  ]
7452
- }, null, 40, yd)), [[U, i.value]]), u("div", bd, [u("button", {
7461
+ }, null, 40, vd)), [[U, i.value]]), u("div", yd, [u("button", {
7453
7462
  type: "button",
7454
7463
  class: "chat-message__edit-button",
7455
7464
  onClick: d
@@ -7459,23 +7468,23 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7459
7468
  onClick: m
7460
7469
  }, B(e.saveLabel), 1)])]));
7461
7470
  }
7462
- }), [["__scopeId", "data-v-50787bcd"]]), Sd = { class: "chat-message__body" }, Cd = {
7471
+ }), [["__scopeId", "data-v-50787bcd"]]), xd = { class: "chat-message__body" }, Sd = {
7463
7472
  key: 0,
7464
7473
  class: "chat-message--steer chat-message--steer-above"
7465
- }, wd = {
7474
+ }, Cd = {
7466
7475
  key: 1,
7467
7476
  class: "chat-message__attachments",
7468
7477
  "aria-label": "Message attachments"
7469
- }, Td = {
7478
+ }, wd = {
7470
7479
  key: 2,
7471
7480
  class: "chat-message__stack"
7472
- }, Ed = {
7481
+ }, Td = {
7473
7482
  key: 0,
7474
7483
  class: "chat-message__empty-response"
7475
- }, Dd = ["data-label"], Od = {
7484
+ }, Ed = ["data-label"], Dd = {
7476
7485
  key: 4,
7477
7486
  class: "chat-message--steer chat-message--steer-below"
7478
- }, kd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7487
+ }, Od = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7479
7488
  __name: "CodexMessage",
7480
7489
  props: {
7481
7490
  activityState: {},
@@ -7600,7 +7609,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7600
7609
  function me(e) {
7601
7610
  return e.type === "text" ? e.content.trim().length > 0 : e.type === "attachment" || e.type === "media" || e.type === "mermaid" || e.type === "html" || e.type === "reasoning" || e.type === "tool" || e.type === "tool-group" || e.type === "visualization" || e.type === "work-group";
7602
7611
  }
7603
- return (n, r) => h.value.type === "compaction" ? (k(), s(_d, {
7612
+ return (n, r) => h.value.type === "compaction" ? (k(), s(gd, {
7604
7613
  key: 0,
7605
7614
  class: "codex-chat-theme",
7606
7615
  "completed-title": H(f)("chat.compaction.completed"),
@@ -7616,17 +7625,17 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7616
7625
  "chat-message--actions-visible": e.actionsAlwaysVisible && !U.value,
7617
7626
  "chat-message--editing": V.value
7618
7627
  }]])
7619
- }, [u("div", Sd, [
7620
- n.$slots.header ? (k(), l("div", Cd, [I(n.$slots, "header", {
7628
+ }, [u("div", xd, [
7629
+ n.$slots.header ? (k(), l("div", Sd, [I(n.$slots, "header", {
7621
7630
  index: e.index,
7622
7631
  message: h.value
7623
7632
  }, void 0, !0)])) : c("", !0),
7624
- L.value.length > 0 ? (k(), l("div", wd, [(k(!0), l(t, null, F(L.value, ({ block: t, blockIndex: r }) => I(n.$slots, "block", {
7633
+ L.value.length > 0 ? (k(), l("div", Cd, [(k(!0), l(t, null, F(L.value, ({ block: t, blockIndex: r }) => I(n.$slots, "block", {
7625
7634
  block: t,
7626
7635
  blockIndex: r,
7627
7636
  index: e.index,
7628
7637
  message: h.value
7629
- }, () => [m(sd, {
7638
+ }, () => [m(od, {
7630
7639
  block: t,
7631
7640
  "open-image": X
7632
7641
  }, d({ _: 2 }, [n.$slots.attachment ? {
@@ -7637,7 +7646,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7637
7646
  }), void 0, !0)]),
7638
7647
  key: "0"
7639
7648
  } : void 0]), 1032, ["block"])], !0, `attachment-${r}`)), 128))])) : c("", !0),
7640
- V.value || R.value.length > 0 || ae.value || oe.value || se.value ? (k(), l("div", Td, [V.value ? (k(), s(xd, {
7649
+ V.value || R.value.length > 0 || ae.value || oe.value || se.value ? (k(), l("div", wd, [V.value ? (k(), s(bd, {
7641
7650
  key: 0,
7642
7651
  "cancel-label": H(f)("chat.actions.cancel"),
7643
7652
  content: z.value,
@@ -7653,7 +7662,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7653
7662
  "input-label",
7654
7663
  "save-label"
7655
7664
  ])) : (k(), l(t, { key: 1 }, [
7656
- (k(!0), l(t, null, F(R.value, ({ block: a, blockIndex: o }) => (k(), l(t, { key: a.type === "tool" ? a.toolCall.id : `${a.type}-${o}` }, [a.type === "work-group" ? (k(), s(sd, {
7665
+ (k(!0), l(t, null, F(R.value, ({ block: a, blockIndex: o }) => (k(), l(t, { key: a.type === "tool" ? a.toolCall.id : `${a.type}-${o}` }, [a.type === "work-group" ? (k(), s(od, {
7657
7666
  key: 0,
7658
7667
  "answered-client-request-ids": e.answeredClientRequestIds,
7659
7668
  block: a,
@@ -7706,7 +7715,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7706
7715
  blockIndex: o,
7707
7716
  index: e.index,
7708
7717
  message: h.value
7709
- }, () => [m(sd, {
7718
+ }, () => [m(od, {
7710
7719
  "answered-client-request-ids": e.answeredClientRequestIds,
7711
7720
  block: a,
7712
7721
  "follow-ups-disabled": e.followUpsDisabled,
@@ -7762,14 +7771,14 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7762
7771
  "show-tool-details",
7763
7772
  "skills"
7764
7773
  ])], !0, 1)], 64))), 128)),
7765
- ae.value ? (k(), l("span", Ed, B(H(f)("chat.message.emptyResponse")), 1)) : c("", !0),
7774
+ ae.value ? (k(), l("span", Td, B(H(f)("chat.message.emptyResponse")), 1)) : c("", !0),
7766
7775
  oe.value ? I(n.$slots, "thinking", {
7767
7776
  index: e.index,
7768
7777
  message: h.value
7769
7778
  }, () => [u("span", {
7770
7779
  class: "chat-message__thinking codex-text-shimmer",
7771
7780
  "data-label": p.value
7772
- }, B(p.value), 9, Dd)], !0, 1) : se.value ? I(n.$slots, "status", {
7781
+ }, B(p.value), 9, Ed)], !0, 1) : se.value ? I(n.$slots, "status", {
7773
7782
  index: e.index,
7774
7783
  message: h.value,
7775
7784
  status: "streaming"
@@ -7782,7 +7791,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7782
7791
  disabled: U.value,
7783
7792
  index: e.index,
7784
7793
  message: h.value
7785
- }, () => [m(hd, {
7794
+ }, () => [m(md, {
7786
7795
  class: C(["chat-message__actions", { "chat-message__actions--reserved": U.value }]),
7787
7796
  "aria-hidden": U.value ? "true" : void 0,
7788
7797
  inert: U.value ? "" : void 0,
@@ -7814,10 +7823,10 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7814
7823
  "mutation-disabled",
7815
7824
  "presentation"
7816
7825
  ])], !0, 3) : c("", !0),
7817
- h.value.type === "steer" ? (k(), l("div", Od, " Steered conversation ")) : c("", !0)
7826
+ h.value.type === "steer" ? (k(), l("div", Dd, " Steered conversation ")) : c("", !0)
7818
7827
  ])], 2));
7819
7828
  }
7820
- }), [["__scopeId", "data-v-12f1136c"]]), Ad = { class: "codex-message-turn" }, jd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7829
+ }), [["__scopeId", "data-v-12f1136c"]]), kd = { class: "codex-message-turn" }, Ad = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7821
7830
  __name: "CodexMessageTurn",
7822
7831
  props: {
7823
7832
  active: { type: Boolean },
@@ -7838,7 +7847,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7838
7847
  let n = e, r = t, i = o(() => n.entries.map((e) => ({
7839
7848
  entry: e,
7840
7849
  message: Ca(e.message)
7841
- }))), a = o(() => n.turnId), s = o(() => i.value.some(({ message: e }) => e.role === "assistant" && eo(e))), c = o(() => [...i.value].reverse().find(({ message: e }) => e.role === "assistant" && e.streaming === !0)?.entry.index), u = o(() => n.active === !1 ? void 0 : [...i.value].reverse().find(({ message: e }) => e.role === "assistant" && e.streaming === !0 && (e.parts?.length ?? 0) > 0)?.entry.index), d = o(() => i.value.some(({ entry: e, message: t }) => t.role === "assistant" && (u.value === void 0 || e.index >= u.value) && (t.parts?.some((e) => e.type === "text" && e.phase === "final_answer" && e.content.trim().length > 0) ?? !1))), f = o(() => !d.value && (n.active ?? i.value.some(({ message: e }) => e.role === "assistant" && e.streaming === !0))), p = o(() => n.status), m = o(() => n.startedAt), h = o(() => n.durationMs), g = o(() => !f.value && !d.value && (p.value === "interrupted" || p.value === "failed")), _ = o(() => n.itemsView === void 0 && s.value && !f.value && !d.value && (p.value === void 0 || p.value === "completed")), v = o(() => i.value.find(({ message: e }) => e.role === "assistant" && (n.itemsView !== void 0 || w(e)))?.entry.index), y = o(() => n.itemsView === "summary" || i.value.some(({ message: e }) => e.type === "steer" && Va(e).length > 0 || e.role === "assistant" && Va(e).some((e) => (n.showToolBlocks || e.type !== "tool" && e.type !== "tool-group") && to(e, n.answeredClientRequestIds)))), x = o(() => !!(a.value && v.value !== void 0)), S = N(f.value && !d.value || g.value), C = N(!1);
7850
+ }))), a = o(() => n.turnId), s = o(() => i.value.some(({ message: e }) => e.role === "assistant" && eo(e))), c = o(() => [...i.value].reverse().find(({ message: e }) => e.role === "assistant" && e.streaming === !0)?.entry.index), u = o(() => n.active === !1 ? void 0 : [...i.value].reverse().find(({ message: e }) => e.role === "assistant" && e.streaming === !0 && (e.parts?.length ?? 0) > 0)?.entry.index), d = o(() => i.value.some(({ entry: e, message: t }) => t.role === "assistant" && (u.value === void 0 || e.index >= u.value) && (t.parts?.some((e) => e.type === "text" && e.phase === "final_answer" && e.content.trim().length > 0) ?? !1))), f = o(() => !d.value && (n.active ?? i.value.some(({ message: e }) => e.role === "assistant" && e.streaming === !0))), p = o(() => n.status), m = o(() => n.startedAt), h = o(() => n.durationMs), g = o(() => !f.value && !d.value && (p.value === "interrupted" || p.value === "failed")), _ = o(() => n.itemsView === void 0 && s.value && !f.value && !d.value && (p.value === void 0 || p.value === "completed")), v = o(() => i.value.find(({ message: e }) => e.role === "assistant" && (n.itemsView !== void 0 || T(e)))?.entry.index), y = o(() => n.itemsView === "summary" || i.value.some(({ message: e }) => e.type === "steer" && Va(e).length > 0 || e.role === "assistant" && Va(e).some((e) => (n.showToolBlocks || e.type !== "tool" && e.type !== "tool-group") && to(e, n.answeredClientRequestIds)))), x = o(() => !!(a.value && v.value !== void 0)), S = N(f.value && !d.value || g.value), C = N(!1), w = o(() => n.detailsLoading || S.value && n.itemsView === "summary" && !n.detailsError);
7842
7851
  W(d, (e, t) => {
7843
7852
  e && !t && !C.value && (S.value = !1);
7844
7853
  }), W([f, g], ([e, t]) => {
@@ -7847,7 +7856,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7847
7856
  active: f,
7848
7857
  completedWithoutFinal: _,
7849
7858
  enabled: x,
7850
- expanded: S,
7859
+ expanded: o(() => S.value && !w.value && (n.itemsView !== "summary" || !!n.detailsError)),
7851
7860
  finalStarted: d,
7852
7861
  headerMessageIndex: v,
7853
7862
  latestStreamingAssistantIndex: c,
@@ -7856,7 +7865,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7856
7865
  durationMs: h,
7857
7866
  hasDetails: y,
7858
7867
  itemsView: o(() => n.itemsView),
7859
- detailsLoading: o(() => n.detailsLoading),
7868
+ detailsLoading: w,
7860
7869
  detailsError: o(() => n.detailsError),
7861
7870
  reloadDetails: () => {
7862
7871
  n.turnId && r("loadTurnHistory", n.turnId);
@@ -7874,13 +7883,13 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7874
7883
  ], () => {
7875
7884
  S.value && n.itemsView === "summary" && !n.detailsLoading && !n.detailsError && n.turnId && r("loadTurnHistory", n.turnId);
7876
7885
  }, { immediate: !0 });
7877
- function w(e) {
7886
+ function T(e) {
7878
7887
  let t = Va(e).filter((e) => n.showToolBlocks || e.type !== "tool" && e.type !== "tool-group");
7879
7888
  return t.length === 0 ? !1 : s.value ? t.some((e) => to(e, n.answeredClientRequestIds)) : f.value && t.every((e) => e.type === "tool" || e.type === "tool-group");
7880
7889
  }
7881
- return (e, t) => (k(), l("div", Ad, [I(e.$slots, "default", {}, void 0, !0)]));
7890
+ return (e, t) => (k(), l("div", kd, [I(e.$slots, "default", {}, void 0, !0)]));
7882
7891
  }
7883
- }), [["__scopeId", "data-v-4964a752"]]), Md = ["aria-label", "title"], Nd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7892
+ }), [["__scopeId", "data-v-ea4d9485"]]), jd = ["aria-label", "title"], Md = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7884
7893
  __name: "CodexScrollToBottom",
7885
7894
  props: { label: { default: "Scroll to bottom" } },
7886
7895
  emits: ["click"],
@@ -7896,9 +7905,9 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
7896
7905
  "aria-hidden": "true",
7897
7906
  size: 24,
7898
7907
  "stroke-width": 1.75
7899
- })], 8, Md));
7908
+ })], 8, jd));
7900
7909
  }
7901
- }), [["__scopeId", "data-v-5a75ce89"]]), Pd = ["aria-label"], Fd = { class: "codex-message-list__content" }, Id = { class: "codex-message-list__empty" }, Ld = ["data-codex-message-index"], Rd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7910
+ }), [["__scopeId", "data-v-5a75ce89"]]), Nd = ["aria-label"], Pd = { class: "codex-message-list__content" }, Fd = { class: "codex-message-list__empty" }, Id = ["data-codex-message-index"], Ld = /*#__PURE__*/ Z(/* @__PURE__ */ h({
7902
7911
  __name: "CodexMessageList",
7903
7912
  props: {
7904
7913
  actionsDisabled: { type: Boolean },
@@ -8292,7 +8301,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
8292
8301
  onClickCapture: he,
8293
8302
  onPointerdown: ge,
8294
8303
  onScroll: pe
8295
- }, [u("div", Fd, [L.value.length === 0 ? I(n.$slots, "empty", {}, () => [u("p", Id, B(e.emptyLabel), 1)], !0, 0) : (k(!0), l(t, { key: 1 }, F(z.value, (i) => (k(), s(jd, {
8304
+ }, [u("div", Pd, [L.value.length === 0 ? I(n.$slots, "empty", {}, () => [u("p", Fd, B(e.emptyLabel), 1)], !0, 0) : (k(!0), l(t, { key: 1 }, F(z.value, (i) => (k(), s(Ad, {
8296
8305
  key: i.key,
8297
8306
  entries: i.entries,
8298
8307
  "answered-client-request-ids": e.answeredClientRequestIds,
@@ -8314,7 +8323,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
8314
8323
  }, [n.$slots.message ? I(n.$slots, "message", {
8315
8324
  message: H(Ca)(J(t.message, i.turnId)),
8316
8325
  index: t.index
8317
- }, void 0, !0, 0) : (k(), s(kd, {
8326
+ }, void 0, !0, 0) : (k(), s(Od, {
8318
8327
  key: 1,
8319
8328
  "activity-state": t.activityState,
8320
8329
  "actions-disabled": e.actionsDisabled,
@@ -8414,7 +8423,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
8414
8423
  "show-tool-details",
8415
8424
  "skills",
8416
8425
  "thread-actions-disabled"
8417
- ]))], 8, Ld))), 128))]),
8426
+ ]))], 8, Id))), 128))]),
8418
8427
  _: 2
8419
8428
  }, 1032, [
8420
8429
  "entries",
@@ -8428,20 +8437,20 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
8428
8437
  "items-view",
8429
8438
  "details-loading",
8430
8439
  "details-error"
8431
- ]))), 128))])], 544), ce.value ? (k(), s(Nd, {
8440
+ ]))), 128))])], 544), ce.value ? (k(), s(Md, {
8432
8441
  key: 0,
8433
8442
  class: "codex-message-list__scroll-to-bottom",
8434
8443
  label: e.scrollToBottomLabel,
8435
8444
  onClick: ze
8436
- }, null, 8, ["label"])) : c("", !0)], 8, Pd));
8445
+ }, null, 8, ["label"])) : c("", !0)], 8, Nd));
8437
8446
  }
8438
- }), [["__scopeId", "data-v-65a073f4"]]), zd = {
8447
+ }), [["__scopeId", "data-v-65a073f4"]]), Rd = {
8439
8448
  key: 0,
8440
8449
  class: "codex-workbench-layout__body codex-workbench-layout__body--scroll"
8441
- }, Bd = { class: "codex-workbench-layout__body-content" }, Vd = {
8450
+ }, zd = { class: "codex-workbench-layout__body-content" }, Bd = {
8442
8451
  key: 1,
8443
8452
  class: "codex-workbench-layout__body codex-workbench-layout__body--child"
8444
- }, Hd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
8453
+ }, Vd = /*#__PURE__*/ Z(/* @__PURE__ */ h({
8445
8454
  __name: "CodexWorkbenchLayout",
8446
8455
  props: { scrollMode: { default: "body" } },
8447
8456
  setup(e) {
@@ -8467,7 +8476,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
8467
8476
  class: C(["codex-chat-theme codex-workbench-layout", `codex-workbench-layout--${e.scrollMode}`]),
8468
8477
  style: T(a.value)
8469
8478
  }, [
8470
- e.scrollMode === "body" ? (k(), l("div", zd, [u("div", Bd, [I(r.$slots, "default", {}, void 0, !0)])])) : (k(), l("div", Vd, [I(r.$slots, "default", {}, void 0, !0)])),
8479
+ e.scrollMode === "body" ? (k(), l("div", Rd, [u("div", zd, [I(r.$slots, "default", {}, void 0, !0)])])) : (k(), l("div", Bd, [I(r.$slots, "default", {}, void 0, !0)])),
8471
8480
  r.$slots.header ? (k(), l("div", {
8472
8481
  key: 2,
8473
8482
  ref_key: "headerEl",
@@ -8482,36 +8491,36 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
8482
8491
  }, [I(r.$slots, "footer", {}, void 0, !0)], 512)) : c("", !0)
8483
8492
  ], 6));
8484
8493
  }
8485
- }), [["__scopeId", "data-v-661ca7b5"]]), Ud = [
8494
+ }), [["__scopeId", "data-v-661ca7b5"]]), Hd = [
8486
8495
  "aria-busy",
8487
8496
  "aria-label",
8488
8497
  "data-codex-generating"
8489
- ], Wd = {
8498
+ ], Ud = {
8490
8499
  key: 1,
8491
8500
  class: "codex-conversation-pane__hero"
8492
- }, Gd = { class: "codex-conversation-pane__hero-copy" }, Kd = { key: 0 }, qd = {
8501
+ }, Wd = { class: "codex-conversation-pane__hero-copy" }, Gd = { key: 0 }, Kd = {
8493
8502
  key: 0,
8494
8503
  class: "codex-conversation-pane__error",
8495
8504
  role: "alert"
8496
- }, Jd = {
8505
+ }, qd = {
8497
8506
  key: 1,
8498
8507
  class: "codex-conversation-pane__approvals"
8499
- }, Yd = {
8508
+ }, Jd = {
8500
8509
  key: 0,
8501
8510
  class: "codex-conversation-pane__pending-question"
8502
- }, Xd = ["aria-label"], Zd = {
8511
+ }, Yd = ["aria-label"], Xd = {
8503
8512
  key: 0,
8504
8513
  class: "codex-conversation-pane__attachments",
8505
8514
  "aria-label": "Prompt attachments"
8506
- }, Qd = ["src", "alt"], $d = {
8515
+ }, Zd = ["src", "alt"], Qd = {
8507
8516
  key: 1,
8508
8517
  class: "codex-conversation-pane__attachment-file",
8509
8518
  "aria-hidden": "true"
8510
- }, ef = ["title"], tf = { class: "codex-conversation-pane__attachment-actions" }, nf = [
8519
+ }, $d = ["title"], ef = { class: "codex-conversation-pane__attachment-actions" }, tf = [
8511
8520
  "aria-label",
8512
8521
  "disabled",
8513
8522
  "onClick"
8514
- ], rf = /*#__PURE__*/ Z(/* @__PURE__ */ h({
8523
+ ], nf = /*#__PURE__*/ Z(/* @__PURE__ */ h({
8515
8524
  __name: "CodexConversationPane",
8516
8525
  props: {
8517
8526
  ariaLabel: { default: "Conversation" },
@@ -9182,7 +9191,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9182
9191
  }, [_t.value ? (k(), s(Ws, {
9183
9192
  key: 0,
9184
9193
  class: "codex-conversation-pane__history-loader"
9185
- })) : (k(), s(Hd, {
9194
+ })) : (k(), s(Vd, {
9186
9195
  key: 1,
9187
9196
  class: "codex-conversation-pane__layout",
9188
9197
  "scroll-mode": "child"
@@ -9191,7 +9200,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9191
9200
  ref_key: "footerElement",
9192
9201
  ref: y,
9193
9202
  class: "codex-conversation-pane__footer"
9194
- }, [Fe.value ? (k(), l("p", qd, B(Fe.value), 1)) : c("", !0), Ee.value ? (k(), l("div", Jd, [I(n.$slots, "approval", { approval: Ee.value }, () => [(k(), s(ga, {
9203
+ }, [Fe.value ? (k(), l("p", Kd, B(Fe.value), 1)) : c("", !0), Ee.value ? (k(), l("div", qd, [I(n.$slots, "approval", { approval: Ee.value }, () => [(k(), s(ga, {
9195
9204
  key: Ee.value.id,
9196
9205
  approval: Ee.value,
9197
9206
  disabled: Pe.value,
@@ -9297,7 +9306,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9297
9306
  "onUpdate:reasoningEffort": _n,
9298
9307
  "onUpdate:serviceTier": vn
9299
9308
  }, d({
9300
- "before-meta": G(() => [ye.value.length > 0 ? (k(), l("span", Yd, [u("button", {
9309
+ "before-meta": G(() => [ye.value.length > 0 ? (k(), l("span", Jd, [u("button", {
9301
9310
  class: "codex-conversation-pane__pending-question-cancel",
9302
9311
  type: "button",
9303
9312
  "aria-label": "Cancel pending question",
@@ -9313,8 +9322,8 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9313
9322
  type: "button",
9314
9323
  "aria-label": ye.value.length === 1 ? "Pending question" : `${ye.value.length} pending questions`,
9315
9324
  onClick: r[3] ||= (e) => h.value = ye.value[0].id
9316
- }, B(ye.value.length === 1 ? "Pending question" : `${ye.value.length} pending questions`), 9, Xd)])) : c("", !0)]),
9317
- before: G(() => [q.value.length > 0 ? (k(), l("div", Zd, [(k(!0), l(t, null, F(q.value, (e, t) => (k(), l("div", {
9325
+ }, B(ye.value.length === 1 ? "Pending question" : `${ye.value.length} pending questions`), 9, Yd)])) : c("", !0)]),
9326
+ before: G(() => [q.value.length > 0 ? (k(), l("div", Xd, [(k(!0), l(t, null, F(q.value, (e, t) => (k(), l("div", {
9318
9327
  key: e.id,
9319
9328
  class: "codex-conversation-pane__attachment"
9320
9329
  }, [
@@ -9323,12 +9332,12 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9323
9332
  class: "codex-conversation-pane__attachment-preview",
9324
9333
  src: e.previewUrl,
9325
9334
  alt: e.name
9326
- }, null, 8, Qd)) : (k(), l("span", $d, "📎")),
9335
+ }, null, 8, Zd)) : (k(), l("span", Qd, "📎")),
9327
9336
  u("span", {
9328
9337
  class: "codex-conversation-pane__attachment-name",
9329
9338
  title: e.name
9330
- }, B(e.name), 9, ef),
9331
- u("span", tf, [I(n.$slots, "composer-attachment-actions", {
9339
+ }, B(e.name), 9, $d),
9340
+ u("span", ef, [I(n.$slots, "composer-attachment-actions", {
9332
9341
  attachments: q.value,
9333
9342
  index: t,
9334
9343
  disabled: Pe.value
@@ -9338,7 +9347,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9338
9347
  "aria-label": `Remove ${e.name}`,
9339
9348
  disabled: Pe.value,
9340
9349
  onClick: (t) => Kt(e.id)
9341
- }, [m(H(tt), { "aria-hidden": "true" })], 8, nf)])
9350
+ }, [m(H(tt), { "aria-hidden": "true" })], 8, tf)])
9342
9351
  ]))), 128))])) : c("", !0), I(n.$slots, "composer-context", { disabled: Pe.value }, void 0, !0)]),
9343
9352
  _: 2
9344
9353
  }, [
@@ -9375,7 +9384,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9375
9384
  ]), 1032, /* @__PURE__ */ "autofocus.attach-enabled.capabilities.can-continue-interrupted-turn.commands.composer-state.context-usage.disabled.draft.empty-send-prompt.follow-up-behavior.files.has-attachments.has-external-content.interrupt-armed.plugins.prompt-history.prompt-history-loading.queued-prompt-id.is-sending.leading-menu-items.menu-items.model-menu-items.mention-groups.model-catalog-status.models.placeholder.approval-preset.plan-mode.presentation.selected-model-id.selected-reasoning-effort.selected-service-tier.skill-catalog-status.skills.transcribe-audio".split("."))),
9376
9385
  I(n.$slots, "after-composer", {}, void 0, !0)
9377
9386
  ], 64))], 512)]),
9378
- default: G(() => [vt.value ? (k(), s(Rd, {
9387
+ default: G(() => [vt.value ? (k(), s(Ld, {
9379
9388
  key: 0,
9380
9389
  ref_key: "messageList",
9381
9390
  ref: b,
@@ -9476,23 +9485,23 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9476
9485
  fn: G((e) => [I(n.$slots, "message-tool", w(_(e)), void 0, !0)]),
9477
9486
  key: "9"
9478
9487
  } : void 0
9479
- ]), 1032, /* @__PURE__ */ "actions-disabled.active-turn-id.answered-client-request-ids.aria-label.busy.can-delete-turn.can-edit-turn.can-fork-turn.can-retry-turn.deleting-turn-id.empty-label.follow-ups-disabled.has-older-messages.hidden-client-request-ids.render-strategy.loading-older-messages.initial-message-batch-size.message-batch-size.message-text-selection.messages.mention-groups.plugins.presentation.reset-key.scroll-to-bottom-label.show-tool-details.skills.tool-visibility.transform-message.turns".split("."))) : (k(), l("div", Wd, [I(n.$slots, "empty", {
9488
+ ]), 1032, /* @__PURE__ */ "actions-disabled.active-turn-id.answered-client-request-ids.aria-label.busy.can-delete-turn.can-edit-turn.can-fork-turn.can-retry-turn.deleting-turn-id.empty-label.follow-ups-disabled.has-older-messages.hidden-client-request-ids.render-strategy.loading-older-messages.initial-message-batch-size.message-batch-size.message-text-selection.messages.mention-groups.plugins.presentation.reset-key.scroll-to-bottom-label.show-tool-details.skills.tool-visibility.transform-message.turns".split("."))) : (k(), l("div", Ud, [I(n.$slots, "empty", {
9480
9489
  title: e.emptyTitle,
9481
9490
  description: e.emptyDescription
9482
- }, () => [u("div", Gd, [u("h1", null, B(e.emptyTitle), 1), e.emptyDescription ? (k(), l("p", Kd, B(e.emptyDescription), 1)) : c("", !0)])], !0)]))]),
9491
+ }, () => [u("div", Wd, [u("h1", null, B(e.emptyTitle), 1), e.emptyDescription ? (k(), l("p", Gd, B(e.emptyDescription), 1)) : c("", !0)])], !0)]))]),
9483
9492
  _: 3
9484
- }))], 40, Ud));
9493
+ }))], 40, Hd));
9485
9494
  }
9486
- }), [["__scopeId", "data-v-be3ee0f0"]]), af = {
9495
+ }), [["__scopeId", "data-v-be3ee0f0"]]), rf = {
9487
9496
  class: "codex-conversation-sidebar",
9488
9497
  "aria-label": "Conversations"
9489
- }, of = { class: "codex-conversation-sidebar__header" }, sf = { class: "codex-conversation-sidebar__brand" }, cf = ["disabled"], lf = {
9498
+ }, af = { class: "codex-conversation-sidebar__header" }, of = { class: "codex-conversation-sidebar__brand" }, sf = ["disabled"], cf = {
9490
9499
  key: 0,
9491
9500
  class: "codex-conversation-sidebar__empty"
9492
- }, uf = {
9501
+ }, lf = {
9493
9502
  key: 1,
9494
9503
  class: "codex-conversation-sidebar__list"
9495
- }, df = ["aria-current", "onClick"], ff = ["aria-label", "title"], pf = { class: "codex-conversation-sidebar__title" }, mf = { class: "codex-conversation-sidebar__time" }, hf = ["aria-label", "onClick"], gf = /*#__PURE__*/ Z(/* @__PURE__ */ h({
9504
+ }, uf = ["aria-current", "onClick"], df = ["aria-label", "title"], ff = { class: "codex-conversation-sidebar__title" }, pf = { class: "codex-conversation-sidebar__time" }, mf = ["aria-label", "onClick"], hf = /*#__PURE__*/ Z(/* @__PURE__ */ h({
9496
9505
  __name: "CodexConversationSidebar",
9497
9506
  props: {
9498
9507
  activeConversationId: { default: null },
@@ -9524,12 +9533,12 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9524
9533
  let n = Math.floor(t / 60);
9525
9534
  return n < 24 ? `${n}h` : `${Math.floor(n / 24)}d`;
9526
9535
  }
9527
- return (n, o) => (k(), l("aside", af, [u("div", of, [u("span", sf, B(e.brand), 1), u("button", {
9536
+ return (n, o) => (k(), l("aside", rf, [u("div", af, [u("span", of, B(e.brand), 1), u("button", {
9528
9537
  class: "codex-conversation-sidebar__new",
9529
9538
  type: "button",
9530
9539
  disabled: e.createDisabled,
9531
9540
  onClick: o[0] ||= (e) => r("create")
9532
- }, [...o[1] ||= [u("span", { "aria-hidden": "true" }, "+", -1), p(" New thread ", -1)]], 8, cf)]), e.conversations.length === 0 ? (k(), l("p", lf, B(e.loading ? "Loading threads…" : "No conversations yet"), 1)) : (k(), l("nav", uf, [(k(!0), l(t, null, F(e.conversations, (t) => (k(), l("div", {
9541
+ }, [...o[1] ||= [u("span", { "aria-hidden": "true" }, "+", -1), p(" New thread ", -1)]], 8, sf)]), e.conversations.length === 0 ? (k(), l("p", cf, B(e.loading ? "Loading threads…" : "No conversations yet"), 1)) : (k(), l("nav", lf, [(k(!0), l(t, null, F(e.conversations, (t) => (k(), l("div", {
9533
9542
  key: t.id,
9534
9543
  class: C(["codex-conversation-sidebar__item", { "codex-conversation-sidebar__item--active": t.id === e.activeConversationId }])
9535
9544
  }, [u("button", {
@@ -9542,10 +9551,10 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9542
9551
  class: C(["codex-conversation-sidebar__status", `codex-conversation-sidebar__status--${t.status}`]),
9543
9552
  "aria-label": `Status: ${t.status}`,
9544
9553
  title: t.status
9545
- }, null, 10, ff),
9546
- u("span", pf, B(t.title), 1),
9547
- u("span", mf, B(a(t.updatedAt)), 1)
9548
- ], 8, df), u("button", {
9554
+ }, null, 10, df),
9555
+ u("span", ff, B(t.title), 1),
9556
+ u("span", pf, B(a(t.updatedAt)), 1)
9557
+ ], 8, uf), u("button", {
9549
9558
  class: "codex-conversation-sidebar__delete",
9550
9559
  type: "button",
9551
9560
  "aria-label": `Delete ${t.title}`,
@@ -9555,15 +9564,15 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9555
9564
  "aria-hidden": "true",
9556
9565
  fill: "none",
9557
9566
  viewBox: "0 0 24 24"
9558
- }, [u("path", { d: "M4 7h16M10 11v6m4-6v6M9 7l1-2h4l1 2m2 0-1 12H8L7 7" })], -1)]], 8, hf)], 2))), 128))]))]));
9567
+ }, [u("path", { d: "M4 7h16M10 11v6m4-6v6M9 7l1-2h4l1 2m2 0-1 12H8L7 7" })], -1)]], 8, mf)], 2))), 128))]))]));
9559
9568
  }
9560
- }), [["__scopeId", "data-v-97c47314"]]), _f = { class: "chat-composer-file-menu__section" }, vf = ["onMousedown"], yf = { class: "chat-composer-file-menu__name" }, bf = { class: "chat-composer-file-menu__path" }, xf = {
9569
+ }), [["__scopeId", "data-v-97c47314"]]), gf = { class: "chat-composer-file-menu__section" }, _f = ["onMousedown"], vf = { class: "chat-composer-file-menu__name" }, yf = { class: "chat-composer-file-menu__path" }, bf = {
9561
9570
  key: 0,
9562
9571
  class: "chat-composer-file-menu__hint"
9563
- }, Sf = {
9572
+ }, xf = {
9564
9573
  key: 1,
9565
9574
  class: "chat-composer-file-menu__empty"
9566
- }, Cf = /*#__PURE__*/ Z(/* @__PURE__ */ h({
9575
+ }, Sf = /*#__PURE__*/ Z(/* @__PURE__ */ h({
9567
9576
  __name: "ChatComposerFileMentionMenu",
9568
9577
  props: {
9569
9578
  activeIndex: {},
@@ -9584,7 +9593,7 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9584
9593
  role: "listbox",
9585
9594
  "aria-label": "Files"
9586
9595
  }, [
9587
- u("div", _f, B(H(r)("chat.files.title")), 1),
9596
+ u("div", gf, B(H(r)("chat.files.title")), 1),
9588
9597
  (k(!0), l(t, null, F(e.visibleFiles, (t, r) => (k(), l("button", {
9589
9598
  key: t.path,
9590
9599
  class: C(["chat-composer-file-menu__item", { "chat-composer-file-menu__item--active": r === e.activeIndex }]),
@@ -9596,16 +9605,16 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9596
9605
  class: "chat-composer-file-menu__icon",
9597
9606
  "aria-hidden": "true"
9598
9607
  }),
9599
- u("span", yf, B(t.name), 1),
9600
- u("span", bf, B(t.path), 1)
9601
- ], 42, vf))), 128)),
9602
- e.showHint ? (k(), l("div", xf, B(H(r)("chat.files.hint")), 1)) : e.visibleFiles.length === 0 ? (k(), l("div", Sf, B(H(r)("chat.files.empty")), 1)) : c("", !0)
9608
+ u("span", vf, B(t.name), 1),
9609
+ u("span", yf, B(t.path), 1)
9610
+ ], 42, _f))), 128)),
9611
+ e.showHint ? (k(), l("div", bf, B(H(r)("chat.files.hint")), 1)) : e.visibleFiles.length === 0 ? (k(), l("div", xf, B(H(r)("chat.files.empty")), 1)) : c("", !0)
9603
9612
  ], 512));
9604
9613
  }
9605
- }), [["__scopeId", "data-v-122fc71c"]]), wf = ["onMousedown"], Tf = ["src"], Ef = { class: "chat-composer-plugin-menu__main" }, Df = { class: "chat-composer-plugin-menu__name" }, Of = { class: "chat-composer-plugin-menu__description" }, kf = {
9614
+ }), [["__scopeId", "data-v-122fc71c"]]), Cf = ["onMousedown"], wf = ["src"], Tf = { class: "chat-composer-plugin-menu__main" }, Ef = { class: "chat-composer-plugin-menu__name" }, Df = { class: "chat-composer-plugin-menu__description" }, Of = {
9606
9615
  key: 0,
9607
9616
  class: "chat-composer-plugin-menu__empty"
9608
- }, Af = /*#__PURE__*/ Z(/* @__PURE__ */ h({
9617
+ }, kf = /*#__PURE__*/ Z(/* @__PURE__ */ h({
9609
9618
  __name: "ChatComposerPluginMenu",
9610
9619
  props: {
9611
9620
  activeIndex: {},
@@ -9639,24 +9648,24 @@ var fd = ["aria-busy", "aria-label"], pd = ["title"], md = ["title"], hd = /*#__
9639
9648
  alt: "",
9640
9649
  "aria-hidden": "true",
9641
9650
  referrerpolicy: "no-referrer"
9642
- }, null, 8, Tf)) : (k(), s(H(Le), {
9651
+ }, null, 8, wf)) : (k(), s(H(Le), {
9643
9652
  key: 1,
9644
9653
  class: "chat-composer-plugin-menu__icon",
9645
9654
  "aria-hidden": "true"
9646
- })), u("span", Ef, [u("span", Df, B(H(vr)(t)), 1), u("span", Of, B(H(yr)(t)), 1)])], 42, wf))), 128)),
9647
- e.visiblePlugins.length === 0 ? (k(), l("div", kf, "No matching plugins")) : c("", !0)
9655
+ })), u("span", Tf, [u("span", Ef, B(H(vr)(t)), 1), u("span", Df, B(H(yr)(t)), 1)])], 42, Cf))), 128)),
9656
+ e.visiblePlugins.length === 0 ? (k(), l("div", Of, "No matching plugins")) : c("", !0)
9648
9657
  ], 512));
9649
9658
  }
9650
- }), [["__scopeId", "data-v-336657b0"]]), jf = 0;
9651
- function Mf(e) {
9652
- return jf += 1, {
9653
- id: `queued-prompt-${jf}`,
9659
+ }), [["__scopeId", "data-v-336657b0"]]), Af = 0;
9660
+ function jf(e) {
9661
+ return Af += 1, {
9662
+ id: `queued-prompt-${Af}`,
9654
9663
  text: e
9655
9664
  };
9656
9665
  }
9657
9666
  //#endregion
9658
9667
  //#region src/use-codex-surface.ts
9659
- var Nf = {
9668
+ var Mf = {
9660
9669
  status: "idle",
9661
9670
  authentication: {
9662
9671
  status: "notLoaded",
@@ -9701,8 +9710,8 @@ var Nf = {
9701
9710
  historyLoading: !1,
9702
9711
  error: null
9703
9712
  };
9704
- function Pf(e) {
9705
- let t = j(structuredClone(Nf)), n = j(/* @__PURE__ */ new Set()), r = M(n), i = z(null), a = /* @__PURE__ */ new Set(), o = 0, s = (e) => {
9713
+ function Nf(e) {
9714
+ let t = j(structuredClone(Mf)), n = j(/* @__PURE__ */ new Set()), r = M(n), i = z(null), a = /* @__PURE__ */ new Set(), o = 0, s = (e) => {
9706
9715
  Object.assign(t, e), n.clear();
9707
9716
  for (let t of e.answeredClientRequestIds) n.add(t);
9708
9717
  }, c = jt(e, (e) => {
@@ -9764,7 +9773,7 @@ function Pf(e) {
9764
9773
  }
9765
9774
  //#endregion
9766
9775
  //#region src/use-codex-live-chat.ts
9767
- function Ff(e) {
9776
+ function Pf(e) {
9768
9777
  let t = N("idle"), n = N(null), r = N(!1), i = N([]), a, o = !1;
9769
9778
  function s(t) {
9770
9779
  if (!(!("conversationId" in t) || t.conversationId !== e.conversationId)) {
@@ -9825,7 +9834,7 @@ function Ff(e) {
9825
9834
  let a = new Audio();
9826
9835
  if (a.autoplay = !0, u.audio = a, i.ontrack = (e) => {
9827
9836
  a.srcObject = e.streams[0] ?? new MediaStream([e.track]), a.play().catch((e) => {
9828
- u.cancelled || (n.value = If(e), d().catch(() => void 0));
9837
+ u.cancelled || (n.value = Ff(e), d().catch(() => void 0));
9829
9838
  });
9830
9839
  }, i.onconnectionstatechange = () => {
9831
9840
  u.cancelled || (i.connectionState === "connected" && (clearTimeout(u.timer), t.value = "connected"), (i.connectionState === "failed" || i.connectionState === "closed") && (n.value = "Live chat connection ended", d().catch(() => void 0)));
@@ -9845,7 +9854,7 @@ function Ff(e) {
9845
9854
  n.value = "Timed out connecting live chat", d().catch(() => void 0);
9846
9855
  }, 3e4));
9847
9856
  } catch (e) {
9848
- if (!u.cancelled) throw n.value = If(e), t.value = "error", c(u), await l(u).catch(() => void 0), a === u && (a = void 0), e;
9857
+ if (!u.cancelled) throw n.value = Ff(e), t.value = "error", c(u), await l(u).catch(() => void 0), a === u && (a = void 0), e;
9849
9858
  } finally {
9850
9859
  u.cancelled && c(u);
9851
9860
  }
@@ -9857,7 +9866,7 @@ function Ff(e) {
9857
9866
  try {
9858
9867
  e.requested && await e.done?.catch(() => void 0), await l(e);
9859
9868
  } catch (e) {
9860
- throw n.value = If(e), e;
9869
+ throw n.value = Ff(e), e;
9861
9870
  } finally {
9862
9871
  a === e && (a = void 0), t.value = n.value ? "error" : "idle";
9863
9872
  }
@@ -9880,16 +9889,16 @@ function Ff(e) {
9880
9889
  setMuted: f
9881
9890
  };
9882
9891
  }
9883
- function If(e) {
9892
+ function Ff(e) {
9884
9893
  return e instanceof Error ? e.message : String(e);
9885
9894
  }
9886
9895
  //#endregion
9887
9896
  //#region src/codex-theme.ts
9888
- function Lf(e, t = {}) {
9897
+ function If(e, t = {}) {
9889
9898
  let n = e.getAttribute("data-codex-theme"), r = /* @__PURE__ */ new Map(), i = t.mode ?? "system";
9890
9899
  e.setAttribute("data-codex-theme", i);
9891
9900
  for (let [n, i] of Object.entries(t.tokens ?? {})) {
9892
- let t = Rf(n);
9901
+ let t = Lf(n);
9893
9902
  r.has(t) || r.set(t, e.style.getPropertyValue(t)), i == null || !i.trim() ? e.style.removeProperty(t) : e.style.setProperty(t, i);
9894
9903
  }
9895
9904
  return () => {
@@ -9897,7 +9906,7 @@ function Lf(e, t = {}) {
9897
9906
  for (let [t, n] of r) n ? e.style.setProperty(t, n) : e.style.removeProperty(t);
9898
9907
  };
9899
9908
  }
9900
- function Rf(e) {
9909
+ function Lf(e) {
9901
9910
  let t = e.trim();
9902
9911
  if (t.startsWith("--codex-")) return t;
9903
9912
  let n = t.replace(/^--/, "").replace(/([a-z\d])([A-Z])/g, "$1-$2").replace(/[^a-zA-Z\d-]+/g, "-").replace(/^-+|-+$/g, "").toLowerCase();
@@ -9905,6 +9914,6 @@ function Rf(e) {
9905
9914
  return `--codex-${n}`;
9906
9915
  }
9907
9916
  //#endregion
9908
- export { To as CodexAnimatedDiffStat, ga as CodexApprovalPrompt, hc as CodexAttachmentBlock, _d as CodexCompactionMessage, ta as CodexComposer, un as CodexComposerActionMenu, Kt as CodexComposerActiveModes, Mr as CodexComposerAtMentionMenu, Cs as CodexComposerDrawer, Os as CodexComposerDrawerRow, Cf as CodexComposerFileMentionMenu, cn as CodexComposerMenu, on as CodexComposerMenuList, Af as CodexComposerPluginMenu, Ht as CodexComposerSendButton, Bs as CodexComposerShelf, qr as CodexComposerSkillMenu, li as CodexComposerSlashMenu, fn as CodexComposerVoiceButton, yn as CodexComposerVoiceField, ir as CodexContextUsageIndicator, Ws as CodexConversationHistoryLoader, rf as CodexConversationPane, gf as CodexConversationSidebar, xc as CodexFoldTransition, vc as CodexFollowUps, ys as CodexGoal, nc as CodexIconButton, cc as CodexImageLightbox, Lc as CodexMediaBlock, pi as CodexMentionChip, Qc as CodexMermaidBlock, kd as CodexMessage, hd as CodexMessageActions, sd as CodexMessageBlock, xd as CodexMessageEditor, Rd as CodexMessageList, jd as CodexMessageTurn, fr as CodexModelReasoningSelector, ds as CodexQuestionRequest, Ns as CodexQueuedPrompt, Ps as CodexQueuedPrompts, _i as CodexRichTextEditor, Nd as CodexScrollToBottom, xu as CodexToolCall, Ro as CodexToolCallTitle, ps as CodexToolConfirmation, Ou as CodexToolGroup, Eo as CodexToolIcon, us as CodexToolUserInputRequest, Ls as CodexTurnGitInfo, sr as CodexUltrafastIcon, Ku as CodexUserText, Ju as CodexVisualizationBlock, id as CodexWorkGroup, Hd as CodexWorkbenchLayout, Lf as applyCodexTheme, Jt as approvalPresetOptions, Pt as codexCapabilities, Ft as codexCommands, xn as codexConversationLinkFromHref, Xr as commandDescription, va as createCodexConversationPaneController, Mf as createQueuedChatPrompt, qt as defaultApprovalPreset, er as defaultCodexChatTranslate, Mt as defaultCodexConversationPresentation, Yr as filterComposerCommands, mi as filterComposerMentionGroups, _r as filterComposerPlugins, Pr as filterComposerSkills, hi as findComposerMention, Bi as getCodexGlobalHostCapabilities, Vi as getCodexNativeRendererApi, Lu as humanizeMentionName, Ui as ingestCodexAttachments, Yt as isApprovalPreset, dl as languageForFilePath, ku as parseAuthoredUserText, bn as parseCodexEditorFileReference, ju as parseCodexUserText, Hi as pickCodexAttachments, yr as pluginDescription, vr as pluginDisplayName, br as pluginInsertText, xr as pluginMatchesMention, zr as promptSkillInputsFromText, Qn as provideCodexChatTranslate, Ri as provideCodexHostCapabilities, tu as provideCodexToolCallDetails, Ql as provideCodexToolPresentation, Dn as registerCodexToolTitlePresenter, ul as renderCodeBlock, _l as renderMarkdown, _a as resolveCodexConversationPaneValue, Nt as resolveCodexConversationPresentation, Ir as skillDescription, Fr as skillDisplayName, Lr as skillInsertText, Rr as skillMatchesMention, wa as surfaceMessageToChatMessage, Ca as toCodexChatMessage, Sa as toCodexChatMessages, $n as useCodexChatTranslate, Ji as useCodexComposerVoice, zi as useCodexHostCapabilities, Ff as useCodexLiveChat, Pf as useCodexSurface, nu as useCodexToolCallDetails, $l as useCodexToolPresentation };
9917
+ export { To as CodexAnimatedDiffStat, ga as CodexApprovalPrompt, hc as CodexAttachmentBlock, gd as CodexCompactionMessage, ta as CodexComposer, un as CodexComposerActionMenu, Kt as CodexComposerActiveModes, Mr as CodexComposerAtMentionMenu, Cs as CodexComposerDrawer, Os as CodexComposerDrawerRow, Sf as CodexComposerFileMentionMenu, cn as CodexComposerMenu, on as CodexComposerMenuList, kf as CodexComposerPluginMenu, Ht as CodexComposerSendButton, Bs as CodexComposerShelf, qr as CodexComposerSkillMenu, li as CodexComposerSlashMenu, fn as CodexComposerVoiceButton, yn as CodexComposerVoiceField, ir as CodexContextUsageIndicator, Ws as CodexConversationHistoryLoader, nf as CodexConversationPane, hf as CodexConversationSidebar, xc as CodexFoldTransition, vc as CodexFollowUps, ys as CodexGoal, nc as CodexIconButton, cc as CodexImageLightbox, Lc as CodexMediaBlock, pi as CodexMentionChip, Qc as CodexMermaidBlock, Od as CodexMessage, md as CodexMessageActions, od as CodexMessageBlock, bd as CodexMessageEditor, Ld as CodexMessageList, Ad as CodexMessageTurn, fr as CodexModelReasoningSelector, ds as CodexQuestionRequest, Ns as CodexQueuedPrompt, Ps as CodexQueuedPrompts, _i as CodexRichTextEditor, Md as CodexScrollToBottom, xu as CodexToolCall, Ro as CodexToolCallTitle, ps as CodexToolConfirmation, Ou as CodexToolGroup, Eo as CodexToolIcon, us as CodexToolUserInputRequest, Ls as CodexTurnGitInfo, sr as CodexUltrafastIcon, Ku as CodexUserText, Ju as CodexVisualizationBlock, rd as CodexWorkGroup, Vd as CodexWorkbenchLayout, If as applyCodexTheme, Jt as approvalPresetOptions, Pt as codexCapabilities, Ft as codexCommands, xn as codexConversationLinkFromHref, Xr as commandDescription, va as createCodexConversationPaneController, jf as createQueuedChatPrompt, qt as defaultApprovalPreset, er as defaultCodexChatTranslate, Mt as defaultCodexConversationPresentation, Yr as filterComposerCommands, mi as filterComposerMentionGroups, _r as filterComposerPlugins, Pr as filterComposerSkills, hi as findComposerMention, Bi as getCodexGlobalHostCapabilities, Vi as getCodexNativeRendererApi, Lu as humanizeMentionName, Ui as ingestCodexAttachments, Yt as isApprovalPreset, dl as languageForFilePath, ku as parseAuthoredUserText, bn as parseCodexEditorFileReference, ju as parseCodexUserText, Hi as pickCodexAttachments, yr as pluginDescription, vr as pluginDisplayName, br as pluginInsertText, xr as pluginMatchesMention, zr as promptSkillInputsFromText, Qn as provideCodexChatTranslate, Ri as provideCodexHostCapabilities, tu as provideCodexToolCallDetails, Ql as provideCodexToolPresentation, Dn as registerCodexToolTitlePresenter, ul as renderCodeBlock, _l as renderMarkdown, _a as resolveCodexConversationPaneValue, Nt as resolveCodexConversationPresentation, Ir as skillDescription, Fr as skillDisplayName, Lr as skillInsertText, Rr as skillMatchesMention, wa as surfaceMessageToChatMessage, Ca as toCodexChatMessage, Sa as toCodexChatMessages, $n as useCodexChatTranslate, Ji as useCodexComposerVoice, zi as useCodexHostCapabilities, Pf as useCodexLiveChat, Nf as useCodexSurface, nu as useCodexToolCallDetails, $l as useCodexToolPresentation };
9909
9918
 
9910
9919
  //# sourceMappingURL=index.js.map