dsh-github-copilot 0.4.0-alpha.39 → 0.4.0-alpha.42

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/lib/client.js CHANGED
@@ -44,6 +44,14 @@ window.__ModuleLoader__.load({
44
44
  discoverModels: "COPILOT_MODEL_DISCOVERY_FAILED",
45
45
  reconcile: "COPILOT_CONFIGURATION_REPAIR_FAILED"
46
46
  };
47
+ const authorizationFailureCodes = /* @__PURE__ */ new Set([
48
+ "COPILOT_AUTHORIZATION_FAILED",
49
+ "COPILOT_AUTHORIZATION_BEGIN_FAILED",
50
+ "COPILOT_ROUTE_REPAIR_FAILED"
51
+ ]);
52
+ function safeAuthorizationFailure(error) {
53
+ return typeof error === "string" && authorizationFailureCodes.has(error) ? error : "COPILOT_AUTHORIZATION_FAILED";
54
+ }
47
55
  /** One mounted account's snapshot, bounded freshness check and explicit actions.
48
56
  * Initial signed-in status ensures missing/idle/stale/error metadata once or
49
57
  * joins loading metadata; the Host owns single flight and failure cooldown.
@@ -100,7 +108,7 @@ window.__ModuleLoader__.load({
100
108
  const accept = (decoded, operation) => {
101
109
  const previousCode = noticeCode();
102
110
  const { accountModels, notices, error, ...rest } = decoded;
103
- const failure = error !== void 0 || decoded.phase === "error" ? "COPILOT_AUTHORIZATION_FAILED" : void 0;
111
+ const failure = error !== void 0 || decoded.phase === "error" ? safeAuthorizationFailure(error) : void 0;
104
112
  const view = {
105
113
  ...rest,
106
114
  notices: decoded.inFlight && !suppressNotice ? notices : [],
@@ -5726,25 +5734,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5726
5734
  const ASSISTANT_ORIGIN_KEY = "github-copilot-assistant-origin";
5727
5735
  const CHAT_NODE_SLOT = "conversation.chat.node";
5728
5736
  const ASSISTANT_KEY = "assistant-step";
5729
- const noop$1 = () => {};
5730
- function record$2(value) {
5737
+ const noop$2 = () => {};
5738
+ function record$3(value) {
5731
5739
  return typeof value === "object" && value !== null;
5732
5740
  }
5733
- function sequence(value) {
5741
+ function sequence$1(value) {
5734
5742
  return typeof value === "number" && Number.isSafeInteger(value) && value >= 0;
5735
5743
  }
5736
5744
  function eventLocation(event) {
5737
- if (!record$2(event) || !record$2(event.data)) return void 0;
5745
+ if (!record$3(event) || !record$3(event.data)) return void 0;
5738
5746
  const { turn, step } = event.data;
5739
- return sequence(turn) && sequence(step) ? {
5747
+ return sequence$1(turn) && sequence$1(step) ? {
5740
5748
  turn,
5741
5749
  step
5742
5750
  } : void 0;
5743
5751
  }
5744
5752
  function messageOrigin(event) {
5745
- if (!record$2(event) || event.type !== "assistant/message" || event.surfaceOp !== "append" || !sequence(event.seq) || !record$2(event.data) || !record$2(event.data.message)) return void 0;
5753
+ if (!record$3(event) || event.type !== "assistant/message" || event.surfaceOp !== "append" || !sequence$1(event.seq) || !record$3(event.data) || !record$3(event.data.message)) return void 0;
5746
5754
  const source = event.data.message.source;
5747
- if (!record$2(source) || typeof source.provider !== "string" || source.provider.trim() === "" || typeof source.model !== "string" || source.model.trim() === "") return void 0;
5755
+ if (!record$3(source) || typeof source.provider !== "string" || source.provider.trim() === "" || typeof source.model !== "string" || source.model.trim() === "") return void 0;
5748
5756
  return {
5749
5757
  seq: event.seq,
5750
5758
  provider: source.provider,
@@ -5755,7 +5763,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5755
5763
  const assistantOriginDefinition = {
5756
5764
  kind: ASSISTANT_ORIGIN_KEY,
5757
5765
  match(event) {
5758
- if (!record$2(event)) return null;
5766
+ if (!record$3(event)) return null;
5759
5767
  const location = eventLocation(event);
5760
5768
  if (location === void 0) return null;
5761
5769
  if (event.type === "step/start") return {
@@ -5770,14 +5778,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5770
5778
  },
5771
5779
  start(_context, match) {
5772
5780
  const location = eventLocation(match.event);
5773
- if (location === void 0 || !record$2(match.event) || match.event.type !== "step/start") throw new Error("COPILOT_REASONING_ORIGIN_START: expected step/start");
5781
+ if (location === void 0 || !record$3(match.event) || match.event.type !== "step/start") throw new Error("COPILOT_REASONING_ORIGIN_START: expected step/start");
5774
5782
  return {
5775
5783
  ...location,
5776
5784
  origin: void 0
5777
5785
  };
5778
5786
  },
5779
5787
  update(context, match) {
5780
- if (!record$2(match.event) || match.event.type !== "assistant/message" || match.event.surfaceOp !== "append") return context.state;
5788
+ if (!record$3(match.event) || match.event.type !== "assistant/message" || match.event.surfaceOp !== "append") return context.state;
5781
5789
  return {
5782
5790
  ...context.state,
5783
5791
  origin: messageOrigin(match.event)
@@ -5788,7 +5796,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5788
5796
  let state = context.state;
5789
5797
  if (state === void 0) for (const match of context.matches) {
5790
5798
  const event = match.event;
5791
- if (!record$2(event) || event.type !== "assistant/message" || event.surfaceOp !== "append") continue;
5799
+ if (!record$3(event) || event.type !== "assistant/message" || event.surfaceOp !== "append") continue;
5792
5800
  const location = eventLocation(event);
5793
5801
  if (location !== void 0) state = {
5794
5802
  ...location,
@@ -5809,12 +5817,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5809
5817
  };
5810
5818
  /** Shallow UI-only projection. Unchanged input retains its exact props identity. */
5811
5819
  function projectReasoningPresentation(props, origin) {
5812
- if (!record$2(props) || !record$2(props.node) || props.node.kind !== ASSISTANT_KEY || !record$2(props.node.data) || !record$2(origin)) return props;
5820
+ if (!record$3(props) || !record$3(props.node) || props.node.kind !== ASSISTANT_KEY || !record$3(props.node.data) || !record$3(origin)) return props;
5813
5821
  const node = props.node;
5814
5822
  const data = node.data;
5815
- if (data.status !== "settled" || !record$2(data.finalNode) || !sequence(data.finalNode.seq) || origin.seq !== data.finalNode.seq) return props;
5823
+ if (data.status !== "settled" || !record$3(data.finalNode) || !sequence$1(data.finalNode.seq) || origin.seq !== data.finalNode.seq) return props;
5816
5824
  if (!(origin.provider === "github-copilot" || origin.provider === "github-copilot-preview") || typeof origin.model !== "string" || origin.model.trim() === "" || !Array.isArray(data.blocks)) return props;
5817
- const blocks = data.blocks.filter((block) => !(record$2(block) && block.kind === "reasoning" && typeof block.text === "string" && block.text.trim() === ""));
5825
+ const blocks = data.blocks.filter((block) => !(record$3(block) && block.kind === "reasoning" && typeof block.text === "string" && block.text.trim() === ""));
5818
5826
  if (blocks.length === data.blocks.length) return props;
5819
5827
  return {
5820
5828
  ...props,
@@ -5829,16 +5837,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5829
5837
  }
5830
5838
  const missingOriginSource = {
5831
5839
  getSnapshot: () => void 0,
5832
- subscribe: () => noop$1
5840
+ subscribe: () => noop$2
5833
5841
  };
5834
5842
  function originSource(props) {
5835
5843
  const node = props.node;
5836
- if (!record$2(node) || !record$2(node.location) || node.location.kind !== "step" || !record$2(node.location.step) || !record$2(node.location.step.data)) return missingOriginSource;
5844
+ if (!record$3(node) || !record$3(node.location) || node.location.kind !== "step" || !record$3(node.location.step) || !record$3(node.location.step.data)) return missingOriginSource;
5837
5845
  const store = node.location.step.data;
5838
5846
  if (typeof store.source !== "function") return missingOriginSource;
5839
5847
  try {
5840
5848
  const source = store.source(ASSISTANT_ORIGIN_KEY);
5841
- if (!record$2(source) || typeof source.getSnapshot !== "function" || typeof source.subscribe !== "function") return missingOriginSource;
5849
+ if (!record$3(source) || typeof source.getSnapshot !== "function" || typeof source.subscribe !== "function") return missingOriginSource;
5842
5850
  return source;
5843
5851
  } catch {
5844
5852
  return missingOriginSource;
@@ -5852,7 +5860,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5852
5860
  */
5853
5861
  function supportedNative(entry) {
5854
5862
  const component = entry.component;
5855
- return (entry.options.priority ?? 0) === 0 && entry.locale === "chat" && entry.options.id === void 0 && entry.options.order === void 0 && entry.options.label === void 0 && entry.inject === void 0 && entry.store === void 0 && entry.children === void 0 && entry.select === void 0 && record$2(component) && component.$$typeof === Symbol.for("react.memo") && typeof component.type === "function" && component.type.name === "AssistantNodeView";
5863
+ return (entry.options.priority ?? 0) === 0 && entry.locale === "chat" && entry.options.id === void 0 && entry.options.order === void 0 && entry.options.label === void 0 && entry.inject === void 0 && entry.store === void 0 && entry.children === void 0 && entry.select === void 0 && record$3(component) && component.$$typeof === Symbol.for("react.memo") && typeof component.type === "function" && component.type.name === "AssistantNodeView";
5856
5864
  }
5857
5865
  /**
5858
5866
  * Optional Client enhancement. The caller owns the returned disposer in its
@@ -5862,20 +5870,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5862
5870
  const { diagnostic } = capabilities;
5863
5871
  const slotsCandidate = capabilities.slots;
5864
5872
  const conversation = capabilities.uiConversation;
5865
- if (!record$2(slotsCandidate) || ![
5873
+ if (!record$3(slotsCandidate) || ![
5866
5874
  "entries",
5867
5875
  "spec",
5868
5876
  "subscribe",
5869
5877
  "inject",
5870
5878
  "register"
5871
- ].every((key) => typeof slotsCandidate[key] === "function") || !record$2(conversation) || !record$2(conversation.events) || typeof conversation.events.register !== "function") {
5879
+ ].every((key) => typeof slotsCandidate[key] === "function") || !record$3(conversation) || !record$3(conversation.events) || typeof conversation.events.register !== "function") {
5872
5880
  diagnostic("COPILOT_REASONING_PRESENTATION_UNAVAILABLE");
5873
- return noop$1;
5881
+ return noop$2;
5874
5882
  }
5875
5883
  const slots = slotsCandidate;
5876
5884
  const events = conversation.events;
5877
- let removeOrigin = noop$1;
5878
- let removeInjection = noop$1;
5885
+ let removeOrigin = noop$2;
5886
+ let removeInjection = noop$2;
5879
5887
  let disposed = false;
5880
5888
  try {
5881
5889
  removeOrigin = events.register(assistantOriginDefinition);
@@ -5883,7 +5891,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5883
5891
  const spec = slots.spec(CHAT_NODE_SLOT);
5884
5892
  if (spec?.kind !== "keyed" || spec.scope !== "session") {
5885
5893
  diagnostic("COPILOT_REASONING_SLOT_UNSUPPORTED");
5886
- return noop$1;
5894
+ return noop$2;
5887
5895
  }
5888
5896
  let active = true;
5889
5897
  let reconciling = false;
@@ -5891,7 +5899,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5891
5899
  let native;
5892
5900
  let failedNative;
5893
5901
  let wrapper;
5894
- let unregister = noop$1;
5902
+ let unregister = noop$2;
5895
5903
  let lastDiagnostic;
5896
5904
  const report = (code) => {
5897
5905
  if (lastDiagnostic !== code) diagnostic(code);
@@ -5899,7 +5907,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5899
5907
  };
5900
5908
  const retire = () => {
5901
5909
  const remove = unregister;
5902
- unregister = noop$1;
5910
+ unregister = noop$2;
5903
5911
  native = void 0;
5904
5912
  remove();
5905
5913
  wrapper = void 0;
@@ -5961,7 +5969,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5961
5969
  removeInjection();
5962
5970
  removeOrigin();
5963
5971
  diagnostic("COPILOT_REASONING_REGISTRATION_FAILED");
5964
- return noop$1;
5972
+ return noop$2;
5965
5973
  }
5966
5974
  return () => {
5967
5975
  if (disposed) return;
@@ -5971,6 +5979,160 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5971
5979
  };
5972
5980
  }
5973
5981
  //#endregion
5982
+ //#region lib/types/auto-model-presentation.js
5983
+ const AUTO_MODEL_ATTRIBUTION_KEY = "github-copilot-auto-model-attribution";
5984
+ const SLOT = "conversation.chat.turnTail";
5985
+ const noop$1 = () => {};
5986
+ function record$2(value) {
5987
+ return typeof value === "object" && value !== null;
5988
+ }
5989
+ function sequence(value) {
5990
+ return typeof value === "number" && Number.isSafeInteger(value) && value >= 0;
5991
+ }
5992
+ function attribution(event) {
5993
+ if (!record$2(event) || event.type !== "github-copilot/auto-model-decision" || !record$2(event.data) || !sequence(event.data.turn) || event.data.provider !== "github-copilot-preview" || typeof event.data.model !== "string" || event.data.model.trim() === "" || ![
5994
+ "fast",
5995
+ "balanced",
5996
+ "strong"
5997
+ ].includes(String(event.data.taskClass)) || ![
5998
+ "short-text-turn",
5999
+ "standard-turn",
6000
+ "large-structured-turn",
6001
+ "image-capability"
6002
+ ].includes(String(event.data.reason)) || !sequence(event.data.candidateCount) || event.data.candidateCount < 1) return void 0;
6003
+ return {
6004
+ turn: event.data.turn,
6005
+ value: {
6006
+ provider: event.data.provider,
6007
+ model: event.data.model,
6008
+ taskClass: event.data.taskClass,
6009
+ reason: event.data.reason,
6010
+ candidateCount: event.data.candidateCount
6011
+ }
6012
+ };
6013
+ }
6014
+ const autoModelAttributionDefinition = {
6015
+ kind: AUTO_MODEL_ATTRIBUTION_KEY,
6016
+ match(event) {
6017
+ const parsed = attribution(event);
6018
+ return parsed === void 0 ? null : {
6019
+ id: String(parsed.turn),
6020
+ role: "start"
6021
+ };
6022
+ },
6023
+ start(_context, match) {
6024
+ const parsed = attribution(match.event);
6025
+ if (parsed === void 0) throw new Error("COPILOT_AUTO_ATTRIBUTION_START");
6026
+ return parsed;
6027
+ },
6028
+ update(context) {
6029
+ return context.state;
6030
+ },
6031
+ buildLocationData(context, scope, previous) {
6032
+ if (scope !== "turn") return null;
6033
+ const state = context.state ?? context.matches.map((match) => attribution(match.event)).find((value) => value !== void 0);
6034
+ if (state === void 0) return null;
6035
+ if (previous?.turn === state.turn && previous.key === "github-copilot-auto-model-attribution" && previous.value.provider === state.value.provider && previous.value.model === state.value.model && previous.value.reason === state.value.reason && previous.value.taskClass === state.value.taskClass && previous.value.candidateCount === state.value.candidateCount) return previous;
6036
+ return {
6037
+ kind: "turn",
6038
+ turn: state.turn,
6039
+ key: AUTO_MODEL_ATTRIBUTION_KEY,
6040
+ value: state.value
6041
+ };
6042
+ }
6043
+ };
6044
+ const missingSource = {
6045
+ getSnapshot: () => void 0,
6046
+ subscribe: () => noop$1
6047
+ };
6048
+ function sourceOf(props) {
6049
+ const turn = props.turn;
6050
+ if (!record$2(turn) || !record$2(turn.data) || typeof turn.data.source !== "function") return missingSource;
6051
+ try {
6052
+ const source = turn.data.source(AUTO_MODEL_ATTRIBUTION_KEY);
6053
+ return record$2(source) && typeof source.getSnapshot === "function" && typeof source.subscribe === "function" ? source : missingSource;
6054
+ } catch {
6055
+ return missingSource;
6056
+ }
6057
+ }
6058
+ function reasonText(value) {
6059
+ return `${value.reason === "short-text-turn" ? "Short text turn" : value.reason === "large-structured-turn" ? "Large structured turn" : value.reason === "image-capability" ? "Image-capable model required" : "Standard turn"}; selected from ${value.candidateCount} eligible account model${value.candidateCount === 1 ? "" : "s"}.`;
6060
+ }
6061
+ function Attribution(props) {
6062
+ const source = sourceOf(props);
6063
+ const value = react.useSyncExternalStore(source.subscribe, source.getSnapshot, source.getSnapshot);
6064
+ const [open, setOpen] = react.useState(false);
6065
+ if (!record$2(value) || typeof value.model !== "string" || typeof value.provider !== "string" || !sequence(value.candidateCount)) return null;
6066
+ const parsed = value;
6067
+ return react.createElement("span", {
6068
+ "data-copilot-auto-attribution": "",
6069
+ style: {
6070
+ display: "inline-flex",
6071
+ alignItems: "center",
6072
+ gap: 6,
6073
+ color: "var(--text-muted, #667085)",
6074
+ fontSize: 12
6075
+ }
6076
+ }, react.createElement("span", null, `Auto · ${parsed.model}`), react.createElement("button", {
6077
+ type: "button",
6078
+ "aria-label": "Why this model",
6079
+ "aria-expanded": open,
6080
+ title: open ? reasonText(parsed) : "Why this model",
6081
+ onClick: () => setOpen((current) => !current),
6082
+ style: {
6083
+ width: 18,
6084
+ height: 18,
6085
+ padding: 0,
6086
+ borderRadius: "50%",
6087
+ border: "1px solid currentColor",
6088
+ color: "inherit",
6089
+ background: "transparent",
6090
+ cursor: "pointer",
6091
+ fontSize: 11,
6092
+ lineHeight: "16px"
6093
+ }
6094
+ }, "?"), open ? react.createElement("span", { role: "status" }, reasonText(parsed)) : null);
6095
+ }
6096
+ function installAutoModelPresentation(capabilities) {
6097
+ const { diagnostic } = capabilities;
6098
+ const slotsCandidate = capabilities.slots;
6099
+ if (!record$2(slotsCandidate) || ![
6100
+ "spec",
6101
+ "inject",
6102
+ "register"
6103
+ ].every((key) => typeof slotsCandidate[key] === "function") || !record$2(capabilities.uiConversation) || !record$2(capabilities.uiConversation.events) || typeof capabilities.uiConversation.events.register !== "function") {
6104
+ diagnostic("COPILOT_AUTO_PRESENTATION_UNAVAILABLE");
6105
+ return noop$1;
6106
+ }
6107
+ const slots = slotsCandidate;
6108
+ const events = capabilities.uiConversation.events;
6109
+ let removeDefinition = noop$1;
6110
+ let removeInjection = noop$1;
6111
+ try {
6112
+ removeDefinition = events.register(autoModelAttributionDefinition);
6113
+ removeInjection = slots.inject(SLOT, () => {
6114
+ if (slots.spec(SLOT)?.kind !== "list" || slots.spec(SLOT)?.scope !== "session") {
6115
+ diagnostic("COPILOT_AUTO_TURN_TAIL_UNAVAILABLE");
6116
+ return noop$1;
6117
+ }
6118
+ return slots.register({
6119
+ name: SLOT,
6120
+ id: "github-copilot-auto-model",
6121
+ order: 20
6122
+ }, Attribution);
6123
+ });
6124
+ } catch {
6125
+ removeInjection();
6126
+ removeDefinition();
6127
+ diagnostic("COPILOT_AUTO_PRESENTATION_FAILED");
6128
+ return noop$1;
6129
+ }
6130
+ return () => {
6131
+ removeInjection();
6132
+ removeDefinition();
6133
+ };
6134
+ }
6135
+ //#endregion
5974
6136
  //#region lib/types/search-routing-policy.js
5975
6137
  /** Resolve old and new settings without guessing registered providers or dropping unknown ids. */
5976
6138
  function normalizeWebSearchRouting(config) {
@@ -6949,6 +7111,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6949
7111
  "signed-in",
6950
7112
  "error"
6951
7113
  ].includes(owned.phase) || typeof owned.configured !== "boolean" || typeof owned.writable !== "boolean" || typeof owned.inFlight !== "boolean") return void 0;
7114
+ if (owned.error !== void 0 && typeof owned.error !== "string") owned.error = "COPILOT_AUTHORIZATION_FAILED";
6952
7115
  const notices = source.notices;
6953
7116
  if (!Array.isArray(notices)) return void 0;
6954
7117
  owned.notices = notices.map((notice) => {
@@ -7455,6 +7618,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7455
7618
  };
7456
7619
  function compactErrorMessage(code) {
7457
7620
  if (code === "COPILOT_MODEL_DISCOVERY_FAILED") return "Could not refresh models. Try again.";
7621
+ if (code === "COPILOT_AUTHORIZATION_BEGIN_FAILED") return "GitHub sign-in did not complete. Try again. If it continues, share diagnostic code COPILOT_AUTHORIZATION_BEGIN_FAILED with support.";
7622
+ if (code === "COPILOT_ROUTE_REPAIR_FAILED") return "GitHub sign-in completed, but model configuration repair failed. Authentication is retained. Open Manage and choose Repair model configuration. If it continues, share diagnostic code COPILOT_ROUTE_REPAIR_FAILED with support.";
7458
7623
  if (code === "COPILOT_AUTHORIZATION_START_FAILED") return "Could not confirm sign-in. Retry status to check.";
7459
7624
  if (code === "COPILOT_AUTHORIZATION_CANCEL_FAILED") return "Could not confirm cancellation. Retry status to check.";
7460
7625
  if (code === "COPILOT_SIGN_OUT_FAILED") return "Could not confirm sign-out. Retry status to check.";
@@ -7905,11 +8070,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
7905
8070
  "slots"
7906
8071
  ], registerSearchUi);
7907
8072
  const usageUi = ctx.inject(["remote.githubCopilotUsage", "slots"], registerCopilotUsageUi);
7908
- const presentation = ctx.inject(["uiConversation", "slots"], (scope) => installReasoningPresentation({
7909
- slots: scope.slots,
7910
- uiConversation: scope.get("uiConversation"),
7911
- diagnostic: (code) => scope.logger.warn(`[github-copilot] ${code}`)
7912
- }));
8073
+ const presentation = ctx.inject(["uiConversation", "slots"], (scope) => {
8074
+ const capabilities = {
8075
+ slots: scope.slots,
8076
+ uiConversation: scope.get("uiConversation"),
8077
+ diagnostic: (code) => scope.logger.warn(`[github-copilot] ${code}`)
8078
+ };
8079
+ const reasoning = installReasoningPresentation(capabilities);
8080
+ const auto = installAutoModelPresentation(capabilities);
8081
+ return () => {
8082
+ auto();
8083
+ reasoning();
8084
+ };
8085
+ });
7913
8086
  return async () => {
7914
8087
  await usageUi.dispose();
7915
8088
  await presentation.dispose();