mastracode 0.45.0-alpha.9 → 0.45.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/cli.cjs +2 -2
- package/dist/cli.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/tui/mastra-tui.d.ts.map +1 -1
- package/dist/{tui-C9tDg3Cr.cjs → tui-BsLtXA9y.cjs} +3 -2
- package/dist/{tui-C9tDg3Cr.cjs.map → tui-BsLtXA9y.cjs.map} +1 -1
- package/dist/{tui-CDQnTrOh.js → tui-CDdSkr_Q.js} +3 -2
- package/dist/{tui-CDQnTrOh.js.map → tui-CDdSkr_Q.js.map} +1 -1
- package/dist/tui.cjs +1 -1
- package/dist/tui.js +1 -1
- package/package.json +14 -14
|
@@ -27842,7 +27842,8 @@ var MastraTUI = class MastraTUI {
|
|
|
27842
27842
|
const metadata = resolvedThread?.metadata;
|
|
27843
27843
|
if (!ownsUpdate()) return;
|
|
27844
27844
|
const hasThreadPack = typeof metadata?.[THREAD_ACTIVE_MODEL_PACK_ID_KEY] === "string";
|
|
27845
|
-
const
|
|
27845
|
+
const hasPersistedModel = typeof metadata?.currentModelId === "string" && metadata.currentModelId.length > 0;
|
|
27846
|
+
const resolvedPackId = (this.state.options.initialModelOverride || hasPersistedModel) && !hasThreadPack ? null : resolveThreadActiveModelPackId(settings, packs, metadata);
|
|
27846
27847
|
const fallbackStatus = fallbackStatusFromMetadata(metadata);
|
|
27847
27848
|
if (!ownsUpdate()) return;
|
|
27848
27849
|
await applyCurrentThreadPack({ state: this.state }, {
|
|
@@ -28382,4 +28383,4 @@ var MastraTUI = class MastraTUI {
|
|
|
28382
28383
|
//#endregion
|
|
28383
28384
|
export { mastraBrand as _, OMProgressComponent as a, TUI_CO_AUTHOR as b, ToolExecutionComponentEnhanced as c, detectTerminalTheme as d, applyThemeMode as f, mastra as g, getThemeMode as h, LoginDialogComponent as i, ModelSelectorComponent as l, getMarkdownTheme as m, createTUIState as n, formatOMStatus as o, getEditorTheme as p, LoginSelectorComponent as r, UserMessageComponent as s, MastraTUI as t, AssistantMessageComponent as u, restoreTerminalForeground as v, theme as y };
|
|
28384
28385
|
|
|
28385
|
-
//# sourceMappingURL=tui-
|
|
28386
|
+
//# sourceMappingURL=tui-CDdSkr_Q.js.map
|