openfox 2.0.0-beta.11 → 2.0.0-beta.14
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/{ask-5SSOA6SZ.js → ask-BRLFZKEW.js} +2 -1
- package/dist/{auth-56SIRACI.js → auth-OGGBJFJQ.js} +2 -1
- package/dist/{branch.api-PWFW26KC.js → branch.api-TCWNJXYA.js} +2 -1
- package/dist/{chat-handler-NMJCOCCB.js → chat-handler-ZFQIJIJT.js} +9 -8
- package/dist/chunk-7D4SUZUM.js +38 -0
- package/dist/{chunk-EZUR7OEP.js → chunk-BURBTNDG.js} +15 -9
- package/dist/{chunk-DMH6JVPF.js → chunk-BZJAO4VY.js} +47 -19
- package/dist/{chunk-NSBYORD5.js → chunk-DHAKJSE7.js} +4 -2
- package/dist/{chunk-4RLDN2LL.js → chunk-EYE2JMLA.js} +189 -61
- package/dist/{chunk-EQQDA4D3.js → chunk-IONKVOSF.js} +17 -19
- package/dist/{chunk-VIIRNJDT.js → chunk-LXX2CPM5.js} +203 -236
- package/dist/{chunk-EXYMWI7A.js → chunk-OKLV3ZNN.js} +9 -5
- package/dist/chunk-QD6U3BDD.js +25277 -0
- package/dist/{chunk-BU56QFHW.js → chunk-RUWSVV7U.js} +8 -9
- package/dist/{chunk-LCRJWUW7.js → chunk-YWYYRA2P.js} +11 -11
- package/dist/cli/dev.js +2 -1
- package/dist/cli/index.js +2 -1
- package/dist/{compactor-TDNRM3A7.js → compactor-WL33VHUF.js} +2 -1
- package/dist/{config-TDVA7MQN.js → config-MFKBDOOT.js} +6 -5
- package/dist/{events-UGTGGFG3.js → events-6UJR2NH4.js} +3 -2
- package/dist/{folding-YOCGTZYH.js → folding-GMO644G3.js} +2 -1
- package/dist/{inspect-proxy-42ZXL2R5.js → inspect-proxy-JZ54RBUN.js} +2 -1
- package/dist/{manager-W7N3XQ4Q.js → manager-NTL3MLGN.js} +2 -1
- package/dist/{orchestrator-75L5UGDU.js → orchestrator-HHF4UC3K.js} +8 -7
- package/dist/package.json +1 -1
- package/dist/{paths-X46PPOI2.js → paths-D7BBTOO5.js} +2 -1
- package/dist/{permissions-Z2IIV2V7.js → permissions-YGAJ47F5.js} +3 -1
- package/dist/{processor-GHESQ2YV.js → processor-EJJTSLRL.js} +11 -5
- package/dist/{project-creator-6DU7E75S.js → project-creator-GMS5YKEF.js} +2 -1
- package/dist/{projects-2HYIZC4Y.js → projects-QHGMUKWH.js} +2 -1
- package/dist/{protocol-CN24IKQN.js → protocol-QQNATDFM.js} +2 -1
- package/dist/{protocol-B9R1CUvt.d.ts → protocol-zn90yuIr.d.ts} +11 -2
- package/dist/{provider-BGH4MBLH.js → provider-APFZV234.js} +10 -9
- package/dist/provider-manager-2NFFVCX5.js +17 -0
- package/dist/{pwa-76XP2DY2.js → pwa-WYVG3NLS.js} +2 -1
- package/dist/{serve-I6T7V62Z.js → serve-GTH76EDG.js} +14 -13
- package/dist/server/index.d.ts +21 -15
- package/dist/server/index.js +10 -9
- package/dist/{service-GB7AIOG5.js → service-W43DAQ5K.js} +3 -1
- package/dist/{settings-6XX56F3F.js → settings-OAISIQVV.js} +2 -1
- package/dist/shared/index.d.ts +2 -2
- package/dist/shared/index.js +1 -0
- package/dist/{store-OQ45KONN.js → store-JZW6VPEK.js} +2 -1
- package/dist/{tools-D3WWIOQD.js → tools-2X2FC6W7.js} +7 -6
- package/dist/web/assets/index-DCu8wsRj.js +299 -0
- package/dist/web/assets/{index-CSOB8dwI.css → index-Sdax8ayU.css} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-UKTPL5ZG.js +0 -469
- package/dist/web/assets/index-tJDr1ODC.js +0 -299
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getEventStore,
|
|
3
3
|
updateSessionMetadata
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DHAKJSE7.js";
|
|
5
5
|
import {
|
|
6
6
|
buildMessagesFromStoredEvents,
|
|
7
7
|
foldPendingConfirmations
|
|
@@ -56,7 +56,7 @@ Example inputs and outputs:
|
|
|
56
56
|
|
|
57
57
|
User message: {message}`;
|
|
58
58
|
async function generateSessionName(options) {
|
|
59
|
-
const { userMessage, llmClient, signal } = options;
|
|
59
|
+
const { userMessage, llmClient, signal, modelSettings, nonThinkingEnabled } = options;
|
|
60
60
|
try {
|
|
61
61
|
logger.debug("Generating session name", { messagePreview: userMessage.slice(0, 50) });
|
|
62
62
|
const prompt = SESSION_NAME_PROMPT.replace("{message}", userMessage);
|
|
@@ -72,9 +72,13 @@ async function generateSessionName(options) {
|
|
|
72
72
|
messages,
|
|
73
73
|
tools: [],
|
|
74
74
|
signal: composedSignal,
|
|
75
|
-
|
|
75
|
+
// Default to non-thinking (reasoningEffort: 'none') when not explicitly configured
|
|
76
|
+
// to prevent thinking output in session names. Only skip when user explicitly
|
|
77
|
+
// set nonThinkingEnabled to false.
|
|
78
|
+
...nonThinkingEnabled !== false ? { reasoningEffort: "none" } : {},
|
|
79
|
+
...modelSettings ? { modelSettings } : {}
|
|
76
80
|
});
|
|
77
|
-
let name = response.content.trim();
|
|
81
|
+
let name = (response.content || response.thinkingContent || "").trim();
|
|
78
82
|
if (name.length > 50) {
|
|
79
83
|
name = name.substring(0, 47) + "...";
|
|
80
84
|
}
|
|
@@ -143,4 +147,4 @@ export {
|
|
|
143
147
|
needsNameGenerationCheck,
|
|
144
148
|
applyGeneratedSessionName
|
|
145
149
|
};
|
|
146
|
-
//# sourceMappingURL=chunk-
|
|
150
|
+
//# sourceMappingURL=chunk-OKLV3ZNN.js.map
|