bunnyquery 1.21.13 → 1.21.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/engine.mjs CHANGED
@@ -1074,7 +1074,7 @@ function buildChatSystemPrompt(params) {
1074
1074
  const indexGroupLiteral = typeof g === "number" ? String(g) : g === "public" || g === "private" || g === "authorized" || g === "admin" ? `"${g}"` : '"authorized"';
1075
1075
  const reindexHint = canUpload === false ? `asking the project's owner to re-index that file` : client === "console" ? `re-indexing that file (select it on the Files page and choose Reindex)` : `re-indexing that file (attach the same file again and choose to reindex it)`;
1076
1076
  const groundingRules = `ANSWER ONLY FROM THE DATA. Every fact you state about this project's data - a name, a number, a date, a status, what a document says, whether something exists - must come from one of four places: a tool result returned in THIS conversation, a file or image attached to it (including one you read through its attachment link), the project description at the end of this prompt, or what the user told you themselves in this chat. Your general knowledge, the open internet and a plausible guess are NOT sources. Never use them to answer a question about the user's data, to fill a gap in it, or to complete a record that came back partial. A value that is not in what you retrieved is unknown: say it is not in the data instead of supplying a likely one.
1077
- FILES IN ANOTHER LANGUAGE. The files may be written in another language than the question (a Russian or English manual asked about in Korean). When searches in the question's language find nothing, or searchText reports query_language_mismatch, search again with the question's key terms translated into the language the files are written in (their names, titles and earlier hits show it): one or two short queries of the main terms (e.g. "oil leak", "gearbox"), before concluding anything.
1077
+ FILES IN ANOTHER LANGUAGE. The files may be written in another language than the question, in another alphabet or in the same one (a Russian or English manual asked about in Korean, German documents asked about in English). When searches in the question's language find nothing, or searchText reports query_language_mismatch (its text_language names the files' language), search again with the question's key terms translated into the language the files' TEXT is in: searchText names that language for each file ("its text is in German"; only when it cannot tell, the alphabet, "Latin script, e.g. English"), and earlier hits show it; passing the question as the DOCUMENTS rule says lets searchText tell the question's language; a file NAME can be in another language than its text (a "\u0420\u042D" manual written in English), so go by the text. One or two short queries of the main terms (e.g. "oil leak", "gearbox"), and if the first translation finds nothing, try the other likely language (English is the most common for technical manuals), before concluding anything.
1078
1078
  WHEN THE DATA DOES NOT HAVE IT, SAY SO. Once you have searched the way these rules require (in the files' language too) and nothing answers the question, tell the user plainly, in their language, that this project's data does not contain it, and say what you searched (the tables, files or terms) so they can tell missing data from a missed search. Do not answer from memory instead, and do not turn a missing answer into a general explanation of the topic. Offer what would let you answer it: ${canUpload === false ? `another name or file to look under, or asking the project's owner to add it` : `the document to upload, or another name or file to look under`}.
1079
1079
  A CODE, NUMBER OR EXACT QUOTE THAT searchText DID NOT FIND (an identifier or a quote, not a topic or how-to question, which follows FILES IN ANOTHER LANGUAGE first): when it answers search_complete with no hit, and what its message says was NOT searched has been checked as it says (the skipped_without_page_text files; the records ONLY when the value could be a spreadsheet cell or a row, and then with ONE filtered getRecords on that value, never by paging through a whole table), keep the answer short. The text read from photos, scans and other images IS in the page text searchText covered, so a code, serial or phrase asked about a photo needs no records read: say plainly that it was not found, name what was searched (the file, and its pages when you searched only some of them, or files_searched files and total_pages_searched pages), and when a recently uploaded file or a photo should hold it, suggest ${reindexHint}, since small or handwritten characters can be misread at indexing. Never present a different file as the match, and never guess the value.
1080
1080
  KEEP WHAT THE DATA SAYS APART FROM WHAT YOU WORKED OUT. A total you computed, a comparison, a trend, an interpretation or a recommendation is yours, not the data's: label it as such ("calculated from...", "this suggests...") and name the rows or files it was made from. Never present an estimate, an assumption or an inference as something the data states.
@@ -4812,6 +4812,7 @@ function createSseParser() {
4812
4812
  var error = null;
4813
4813
  var stopReason = null;
4814
4814
  var toolCalls = [];
4815
+ var argBuf = {};
4815
4816
  var malformedFrames = 0;
4816
4817
  var malformedToolJson = 0;
4817
4818
  var message = null;
@@ -4934,7 +4935,10 @@ function createSseParser() {
4934
4935
  type: block.type
4935
4936
  };
4936
4937
  if (typeof block.server_name === "string") call.serverName = block.server_name;
4938
+ if (typeof block.id === "string" && block.id) call.id = block.id;
4937
4939
  toolCalls.push(call);
4940
+ } else if (block && typeof block.type === "string") {
4941
+ markClaudeCallsDone(block);
4938
4942
  }
4939
4943
  return;
4940
4944
  }
@@ -4958,6 +4962,10 @@ function createSseParser() {
4958
4962
  var j = numberOr(ev.index, -1);
4959
4963
  var s = j >= 0 ? blocks.get(j) : void 0;
4960
4964
  if (s && s.sawJson) finishToolJson(s);
4965
+ if (s && s.block && s.block.input && typeof s.block.input === "object") {
4966
+ var sc = callAt(j);
4967
+ if (sc) sc.input = s.block.input;
4968
+ }
4961
4969
  return;
4962
4970
  }
4963
4971
  if (type === "message_delta") {
@@ -5018,6 +5026,34 @@ function createSseParser() {
5018
5026
  malformedToolJson++;
5019
5027
  }
5020
5028
  }
5029
+ function callAt(index) {
5030
+ for (var k = toolCalls.length - 1; k >= 0; k--) {
5031
+ if (toolCalls[k].index === index) return toolCalls[k];
5032
+ }
5033
+ return null;
5034
+ }
5035
+ function markClaudeCallsDone(block) {
5036
+ var t = block.type;
5037
+ if (/tool_result$/.test(t)) {
5038
+ var ref = typeof block.tool_use_id === "string" ? block.tool_use_id : "";
5039
+ for (var k = 0; k < toolCalls.length; k++) {
5040
+ if (ref && toolCalls[k].id === ref) toolCalls[k].done = true;
5041
+ }
5042
+ return;
5043
+ }
5044
+ if (t === "text" || t === "thinking" || t === "redacted_thinking") {
5045
+ for (var m = 0; m < toolCalls.length; m++) toolCalls[m].done = true;
5046
+ }
5047
+ }
5048
+ function parseArgs(args) {
5049
+ if (args && typeof args === "object") return args;
5050
+ if (typeof args !== "string" || !args) return void 0;
5051
+ try {
5052
+ return JSON.parse(args);
5053
+ } catch (e) {
5054
+ return void 0;
5055
+ }
5056
+ }
5021
5057
  function deltaBlockType(deltaType) {
5022
5058
  if (deltaType === "thinking_delta" || deltaType === "signature_delta") return "thinking";
5023
5059
  if (deltaType === "input_json_delta") return "tool_use";
@@ -5051,13 +5087,54 @@ function createSseParser() {
5051
5087
  if (type === "response.output_item.added") {
5052
5088
  var item = ev.item;
5053
5089
  if (item && typeof item.type === "string" && OPENAI_TOOL_ITEMS[item.type]) {
5054
- toolCalls.push({
5090
+ var oc = {
5055
5091
  index: numberOr(ev.output_index, toolCalls.length),
5056
5092
  // A built-in tool (web_search_call) has no name of its own, so the item
5057
5093
  // type is the only label there is and a row can still be drawn.
5058
5094
  name: typeof item.name === "string" && item.name ? item.name : item.type,
5059
5095
  type: item.type
5060
- });
5096
+ };
5097
+ if (typeof item.id === "string" && item.id) oc.id = item.id;
5098
+ var oa = parseArgs(item.arguments);
5099
+ if (oa !== void 0) oc.input = oa;
5100
+ toolCalls.push(oc);
5101
+ }
5102
+ return;
5103
+ }
5104
+ if (type === "response.mcp_call_arguments.delta" || type === "response.function_call_arguments.delta") {
5105
+ var gi = numberOr(ev.output_index, -1);
5106
+ var gc = callAt(gi);
5107
+ if (gc && gc.input === void 0 && typeof ev.delta === "string") {
5108
+ argBuf[gi] = (argBuf[gi] || "") + ev.delta;
5109
+ var gt = argBuf[gi].trim();
5110
+ if (gt.charAt(gt.length - 1) === "}") {
5111
+ var ga = parseArgs(gt);
5112
+ if (ga !== void 0) gc.input = ga;
5113
+ }
5114
+ }
5115
+ return;
5116
+ }
5117
+ if (type === "response.mcp_call_arguments.done" || type === "response.function_call_arguments.done") {
5118
+ var ac = callAt(numberOr(ev.output_index, -1));
5119
+ var aa = parseArgs(ev.arguments);
5120
+ if (ac && aa !== void 0) ac.input = aa;
5121
+ return;
5122
+ }
5123
+ if (type === "response.mcp_call.completed" || type === "response.mcp_call.failed") {
5124
+ var cc = callAt(numberOr(ev.output_index, -1));
5125
+ if (cc) cc.done = true;
5126
+ return;
5127
+ }
5128
+ if (type === "response.output_item.done") {
5129
+ var di = ev.item;
5130
+ if (di && typeof di.type === "string" && OPENAI_TOOL_ITEMS[di.type]) {
5131
+ var dc = callAt(numberOr(ev.output_index, -1));
5132
+ if (dc) {
5133
+ var da = parseArgs(di.arguments);
5134
+ if (da !== void 0) dc.input = da;
5135
+ else if (di.action && typeof di.action === "object" && dc.input === void 0) dc.input = di.action;
5136
+ dc.done = true;
5137
+ }
5061
5138
  }
5062
5139
  return;
5063
5140
  }
@@ -5208,7 +5285,12 @@ function createSseParser() {
5208
5285
  provider,
5209
5286
  text: currentText(),
5210
5287
  thinkingText: currentThinking(),
5211
- toolCalls: toolCalls.slice(),
5288
+ // Copied per call, not just per array: a call's input/done fill in after it
5289
+ // is first seen, and a snapshot already handed out must not change under
5290
+ // its reader.
5291
+ toolCalls: toolCalls.map(function(t) {
5292
+ return Object.assign({}, t);
5293
+ }),
5212
5294
  toolNames: toolCalls.map(function(t) {
5213
5295
  return t.name;
5214
5296
  }),
@@ -5262,6 +5344,190 @@ function mergeInto(target, src) {
5262
5344
  return target;
5263
5345
  }
5264
5346
 
5347
+ // src/engine/activity.ts
5348
+ var CHAT_ACTIVITY_ROTATE_MS = 4e3;
5349
+ var byItem = /* @__PURE__ */ new Map();
5350
+ var startByObj = /* @__PURE__ */ new WeakMap();
5351
+ var startById = /* @__PURE__ */ new Map();
5352
+ var MAX_IDS = 200;
5353
+ function remember(map, key, value) {
5354
+ if (map.has(key)) map.delete(key);
5355
+ map.set(key, value);
5356
+ if (map.size > MAX_IDS) {
5357
+ var oldest = map.keys().next();
5358
+ if (!oldest.done) map.delete(oldest.value);
5359
+ }
5360
+ }
5361
+ function stepOf(snap) {
5362
+ if (!snap) return { step: "thinking", count: 0 };
5363
+ var calls = Array.isArray(snap.toolCalls) ? snap.toolCalls : [];
5364
+ if (typeof snap.text === "string" && /\S/.test(snap.text)) return { step: "writing", count: calls.length };
5365
+ if (!calls.length) return { step: "thinking", count: 0 };
5366
+ var last = calls[calls.length - 1];
5367
+ if (last && !last.done) return { step: "tool", call: last, count: calls.length };
5368
+ return { step: "between", count: calls.length };
5369
+ }
5370
+ function noteChatActivity(serverItemId, snap, now) {
5371
+ if (!serverItemId) return;
5372
+ var t = typeof now === "number" ? now : Date.now();
5373
+ var s = stepOf(snap);
5374
+ var key = s.step + ":" + s.count;
5375
+ var prev = byItem.get(serverItemId);
5376
+ if (prev && prev.key === key) {
5377
+ if (s.call && s.call.input !== void 0 && prev.input === void 0) prev.input = s.call.input;
5378
+ return;
5379
+ }
5380
+ var act = { step: s.step, since: t, key };
5381
+ if (s.call) {
5382
+ act.tool = s.call.name;
5383
+ if (s.call.input !== void 0) act.input = s.call.input;
5384
+ }
5385
+ remember(byItem, serverItemId, act);
5386
+ }
5387
+ function chatActivityOf(msg) {
5388
+ var id = msg && typeof msg._serverItemId === "string" ? msg._serverItemId : "";
5389
+ return id && byItem.get(id) || null;
5390
+ }
5391
+ function turnStart(msg, now) {
5392
+ var ids = [];
5393
+ if (msg && typeof msg._serverItemId === "string" && msg._serverItemId) ids.push(msg._serverItemId);
5394
+ if (msg && typeof msg._localId === "string" && msg._localId) ids.push(msg._localId);
5395
+ var t;
5396
+ if (msg && typeof msg === "object") t = startByObj.get(msg);
5397
+ for (var i = 0; t === void 0 && i < ids.length; i++) t = startById.get(ids[i]);
5398
+ if (t === void 0) t = now;
5399
+ if (msg && typeof msg === "object") startByObj.set(msg, t);
5400
+ for (var j = 0; j < ids.length; j++) if (startById.get(ids[j]) !== t) remember(startById, ids[j], t);
5401
+ return t;
5402
+ }
5403
+ function langOf(lang) {
5404
+ return typeof lang === "string" && /^ko\b/i.test(lang) ? "ko" : "en";
5405
+ }
5406
+ function clip(v, max) {
5407
+ if (typeof v !== "string") return "";
5408
+ var s = v.replace(/\s+/g, " ").trim();
5409
+ if (s.length > max) s = s.slice(0, max - 1).trim() + "\u2026";
5410
+ return s;
5411
+ }
5412
+ function fileName(v) {
5413
+ if (typeof v !== "string" || !v) return "";
5414
+ var s = v.replace(/^(src::|db:)/, "");
5415
+ var parts = s.split("/").filter(function(p) {
5416
+ return !!p;
5417
+ });
5418
+ return clip(parts.length ? parts[parts.length - 1] : s, 40);
5419
+ }
5420
+ var T = {
5421
+ en: {
5422
+ thinking: ["Reading your question", "Thinking about where to look", "Planning the search", "Still thinking, this can take a moment", "Working out the best way to find it", "Getting ready to look through your data"],
5423
+ between: ["Looking at what it found", "Deciding what to check next", "Putting the pieces together", "Checking that it has what it needs", "Still working on it"],
5424
+ writing: ["Writing the answer"],
5425
+ still: "Still working on it",
5426
+ working: "Working"
5427
+ },
5428
+ ko: {
5429
+ thinking: ["\uC9C8\uBB38\uC744 \uC77D\uB294 \uC911", "\uC5B4\uB514\uB97C \uCC3E\uC544\uBCFC\uC9C0 \uC0DD\uAC01\uD558\uB294 \uC911", "\uAC80\uC0C9 \uBC29\uBC95\uC744 \uC815\uD558\uB294 \uC911", "\uC544\uC9C1 \uC0DD\uAC01\uD558\uB294 \uC911, \uC7A0\uC2DC\uB9CC \uAE30\uB2E4\uB824 \uC8FC\uC138\uC694", "\uAC00\uC7A5 \uC88B\uC740 \uBC29\uBC95\uC744 \uCC3E\uB294 \uC911", "\uB370\uC774\uD130\uB97C \uC0B4\uD3B4\uBCFC \uC900\uBE44\uB97C \uD558\uB294 \uC911"],
5430
+ between: ["\uCC3E\uC740 \uB0B4\uC6A9\uC744 \uC0B4\uD3B4\uBCF4\uB294 \uC911", "\uB2E4\uC74C\uC5D0 \uD655\uC778\uD560 \uAC83\uC744 \uC815\uD558\uB294 \uC911", "\uB0B4\uC6A9\uC744 \uC815\uB9AC\uD558\uB294 \uC911", "\uD544\uC694\uD55C \uB0B4\uC6A9\uC774 \uB2E4 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uB294 \uC911", "\uC544\uC9C1 \uC791\uC5C5 \uC911"],
5431
+ writing: ["\uB2F5\uBCC0\uC744 \uC791\uC131\uD558\uB294 \uC911"],
5432
+ still: "\uC544\uC9C1 \uC791\uC5C5 \uC911",
5433
+ working: "\uC791\uC5C5 \uC911"
5434
+ }
5435
+ };
5436
+ function toolLines(tool, i, lang) {
5437
+ var ko = lang === "ko";
5438
+ var inp = i && typeof i === "object" ? i : {};
5439
+ var q = clip(inp.query || inp.question, 40);
5440
+ var f = fileName(inp.path);
5441
+ var tbl = clip(inp.table_name, 30);
5442
+ switch (tool) {
5443
+ case "searchText":
5444
+ return ko ? [
5445
+ q ? f ? f + '\uC5D0\uC11C "' + q + '" \uCC3E\uB294 \uC911' : '\uD30C\uC77C\uC5D0\uC11C "' + q + '" \uCC3E\uB294 \uC911' : "\uD30C\uC77C\uC5D0\uC11C \uCC3E\uB294 \uC911",
5446
+ "\uBAA8\uB4E0 \uD398\uC774\uC9C0\uB97C \uD655\uC778\uD558\uB294 \uC911",
5447
+ "\uC544\uC9C1 \uCC3E\uB294 \uC911, \uD070 \uD504\uB85C\uC81D\uD2B8\uB294 \uC870\uAE08 \uB354 \uAC78\uB824\uC694",
5448
+ "\uACC4\uC18D \uCC3E\uB294 \uC911, \uAE30\uB2E4\uB824 \uC8FC\uC154\uC11C \uAC10\uC0AC\uD574\uC694"
5449
+ ] : [
5450
+ q ? f ? "Searching " + f + ' for "' + q + '"' : 'Searching your files for "' + q + '"' : "Searching your files",
5451
+ "Checking every page",
5452
+ "Still searching, big projects take a bit longer",
5453
+ "Still searching, thanks for waiting"
5454
+ ];
5455
+ case "readFileContent":
5456
+ return ko ? [
5457
+ f ? f + " \uC77D\uB294 \uC911" : "\uD30C\uC77C\uC744 \uC77D\uB294 \uC911",
5458
+ "\uD398\uC774\uC9C0\uB97C \uC0B4\uD3B4\uBCF4\uB294 \uC911",
5459
+ "\uC544\uC9C1 \uC77D\uB294 \uC911, \uAE34 \uD30C\uC77C\uC740 \uC870\uAE08 \uB354 \uAC78\uB824\uC694"
5460
+ ] : [
5461
+ f ? "Reading " + f : "Reading a file",
5462
+ "Going through the pages",
5463
+ "Still reading, long files take a bit longer"
5464
+ ];
5465
+ case "getFileOutline":
5466
+ return ko ? [f ? f + " \uAD6C\uC131\uC744 \uC0B4\uD3B4\uBCF4\uB294 \uC911" : "\uD30C\uC77C \uAD6C\uC131\uC744 \uC0B4\uD3B4\uBCF4\uB294 \uC911", "\uBAA9\uCC28\uB97C \uD655\uC778\uD558\uB294 \uC911", T.ko.still] : [f ? "Looking at how " + f + " is laid out" : "Looking at how the file is laid out", "Checking the table of contents", T.en.still];
5467
+ case "getRecords":
5468
+ return ko ? [
5469
+ tbl ? tbl + " \uD14C\uC774\uBE14\uC5D0\uC11C \uAE30\uB85D\uC744 \uCC3E\uB294 \uC911" : "\uAE30\uB85D\uC744 \uCC3E\uB294 \uC911",
5470
+ "\uD589\uC744 \uC0B4\uD3B4\uBCF4\uB294 \uC911",
5471
+ "\uC544\uC9C1 \uCC3E\uB294 \uC911, \uD070 \uD14C\uC774\uBE14\uC740 \uC870\uAE08 \uB354 \uAC78\uB824\uC694"
5472
+ ] : [
5473
+ tbl ? "Looking up records in " + tbl : "Looking up records",
5474
+ "Going through the rows",
5475
+ "Still looking, big tables take a bit longer"
5476
+ ];
5477
+ case "exportRecordsToFile":
5478
+ return ko ? [tbl ? tbl + " \uAE30\uB85D\uC744 \uD30C\uC77C\uB85C \uB9CC\uB4DC\uB294 \uC911" : "\uAE30\uB85D\uC744 \uD30C\uC77C\uB85C \uB9CC\uB4DC\uB294 \uC911", "\uD30C\uC77C\uC744 \uB9CC\uB4DC\uB294 \uC911", "\uC544\uC9C1 \uB9CC\uB4DC\uB294 \uC911, \uD070 \uD14C\uC774\uBE14\uC740 \uC870\uAE08 \uB354 \uAC78\uB824\uC694"] : [tbl ? "Exporting records from " + tbl : "Exporting records", "Building the file", "Still exporting, big tables take a bit longer"];
5479
+ case "writeReport":
5480
+ return ko ? ["\uBCF4\uACE0\uC11C\uB97C \uC791\uC131\uD558\uB294 \uC911", "\uC544\uC9C1 \uC791\uC131\uD558\uB294 \uC911, \uAE34 \uBCF4\uACE0\uC11C\uB294 \uC870\uAE08 \uB354 \uAC78\uB824\uC694"] : ["Writing the report", "Still writing, long reports take a bit longer"];
5481
+ case "getTables":
5482
+ return ko ? ["\uC5B4\uB5A4 \uD14C\uC774\uBE14\uC774 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uB294 \uC911", T.ko.still] : ["Checking which tables there are", T.en.still];
5483
+ case "getTags":
5484
+ return ko ? ["\uD0DC\uADF8\uB97C \uD655\uC778\uD558\uB294 \uC911", T.ko.still] : ["Checking tags", T.en.still];
5485
+ case "getIndexes":
5486
+ return ko ? ["\uD14C\uC774\uBE14 \uD56D\uBAA9\uC744 \uD655\uC778\uD558\uB294 \uC911", T.ko.still] : ["Checking the table's fields", T.en.still];
5487
+ case "getUniqueId":
5488
+ return ko ? ["\uB808\uCF54\uB4DC ID\uB97C \uD655\uC778\uD558\uB294 \uC911", T.ko.still] : ["Checking record IDs", T.en.still];
5489
+ case "postRecords":
5490
+ return ko ? ["\uAE30\uB85D\uC744 \uC800\uC7A5\uD558\uB294 \uC911", T.ko.still] : ["Saving records", T.en.still];
5491
+ case "updateRecords":
5492
+ return ko ? ["\uAE30\uB85D\uC744 \uC218\uC815\uD558\uB294 \uC911", T.ko.still] : ["Updating records", T.en.still];
5493
+ case "deleteRecords":
5494
+ return ko ? ["\uAE30\uB85D\uC744 \uC0AD\uC81C\uD558\uB294 \uC911", T.ko.still] : ["Deleting records", T.en.still];
5495
+ case "getTemporaryUrl":
5496
+ return ko ? [f ? f + " \uB9C1\uD06C\uB97C \uB9CC\uB4DC\uB294 \uC911" : "\uB9C1\uD06C\uB97C \uB9CC\uB4DC\uB294 \uC911", T.ko.still] : [f ? "Getting a link to " + f : "Getting a link", T.en.still];
5497
+ case "getToolResponsePage":
5498
+ return ko ? ["\uACB0\uACFC\uC758 \uB2E4\uC74C \uBD80\uBD84\uC744 \uC77D\uB294 \uC911", T.ko.still] : ["Reading the next part of the results", T.en.still];
5499
+ case "correctSearchLink":
5500
+ return ko ? ["\uD398\uC774\uC9C0 \uB9C1\uD06C\uB97C \uD655\uC778\uD558\uB294 \uC911", T.ko.still] : ["Checking the page link", T.en.still];
5501
+ case "getProjectInfos":
5502
+ return ko ? ["\uD504\uB85C\uC81D\uD2B8 \uC815\uBCF4\uB97C \uD655\uC778\uD558\uB294 \uC911", T.ko.still] : ["Checking the project details", T.en.still];
5503
+ case "getProfile":
5504
+ return ko ? ["\uACC4\uC815 \uC815\uBCF4\uB97C \uD655\uC778\uD558\uB294 \uC911", T.ko.still] : ["Checking your account", T.en.still];
5505
+ case "web_search":
5506
+ case "web_search_call":
5507
+ return ko ? ["\uC6F9\uC5D0\uC11C \uCC3E\uB294 \uC911", T.ko.still] : ["Searching the web", T.en.still];
5508
+ default:
5509
+ return ko ? [T.ko.working, T.ko.still] : [T.en.working, T.en.still];
5510
+ }
5511
+ }
5512
+ function pick(lines, elapsed, loopFrom) {
5513
+ var n = Math.floor(Math.max(0, elapsed) / CHAT_ACTIVITY_ROTATE_MS);
5514
+ if (n < lines.length) return lines[n];
5515
+ var from = Math.min(Math.max(0, loopFrom || 0), lines.length - 1);
5516
+ var span = lines.length - from;
5517
+ return lines[from + (n - lines.length) % span];
5518
+ }
5519
+ function chatActivityLine(msg, now, lang) {
5520
+ var t = typeof now === "number" ? now : Date.now();
5521
+ var L = langOf(lang);
5522
+ var start = turnStart(msg, t);
5523
+ var act = chatActivityOf(msg);
5524
+ if (!act || act.step === "thinking") return pick(T[L].thinking, t - start, 1);
5525
+ var elapsed = t - act.since;
5526
+ if (act.step === "writing") return pick(T[L].writing, elapsed);
5527
+ if (act.step === "between") return pick(T[L].between, elapsed);
5528
+ return pick(toolLines(act.tool || "", act.input, L), elapsed);
5529
+ }
5530
+
5265
5531
  // src/engine/history.ts
5266
5532
  function filterListByClearHorizon(list, clearedAt) {
5267
5533
  if (!clearedAt) return list;
@@ -5946,7 +6212,7 @@ function createScrollAnchor(options) {
5946
6212
  restore(anchor);
5947
6213
  return result;
5948
6214
  }
5949
- function remember() {
6215
+ function remember2() {
5950
6216
  held = capture();
5951
6217
  }
5952
6218
  function hold() {
@@ -5992,7 +6258,7 @@ function createScrollAnchor(options) {
5992
6258
  capture,
5993
6259
  restore,
5994
6260
  preserve,
5995
- remember,
6261
+ remember: remember2,
5996
6262
  hold,
5997
6263
  pinBottom,
5998
6264
  absorb,
@@ -7270,6 +7536,7 @@ var _ChatSession = class _ChatSession {
7270
7536
  _paintLiveStream(st) {
7271
7537
  if (st.ended) return;
7272
7538
  st.lastPaintAt = nowMs();
7539
+ noteChatActivity(st.id, st.parser.snapshot());
7273
7540
  if (this.getHistoryCacheKey() !== st.ownerKey) return;
7274
7541
  var idx = this._liveTargetIndex(st.id);
7275
7542
  if (idx === -1) {
@@ -12127,7 +12394,7 @@ var _ChatSession = class _ChatSession {
12127
12394
  * or waiting is left to the live queue check, which shows it as it settles; one already
12128
12395
  * in the chat is not read again. Never throws.
12129
12396
  */
12130
- loadRunPasses(storagePath, fileName) {
12397
+ loadRunPasses(storagePath, fileName2) {
12131
12398
  var self = this;
12132
12399
  var cfg = chatEngineConfig();
12133
12400
  var list = cfg.listIndexPasses, lookup = cfg.csrHistoryItemLookup;
@@ -12146,7 +12413,7 @@ var _ChatSession = class _ChatSession {
12146
12413
  p.error = void 0;
12147
12414
  this.host.notify();
12148
12415
  var svcId = id.projectId, owner = id.owner;
12149
- var name = fileName || storagePath.split("/").pop() || storagePath;
12416
+ var name = fileName2 || storagePath.split("/").pop() || storagePath;
12150
12417
  var idsReady = p.ids.length ? Promise.resolve(p.ids) : Promise.resolve(list(svcId, storagePath)).then(function(ids) {
12151
12418
  var clean = (Array.isArray(ids) ? ids : []).filter(function(x) {
12152
12419
  return typeof x === "string" && !!x;
@@ -12308,14 +12575,14 @@ var _ChatSession = class _ChatSession {
12308
12575
  });
12309
12576
  }
12310
12577
  /** The page progress to show for a file's row, or null (see _refreshPageProgress). */
12311
- pageProgressFor(storagePath, fileName) {
12578
+ pageProgressFor(storagePath, fileName2) {
12312
12579
  var map = this.state.indexPageProgress;
12313
12580
  if (!map) return null;
12314
12581
  var p = storagePath ? map[storagePath] : void 0;
12315
- if (!p && fileName) {
12582
+ if (!p && fileName2) {
12316
12583
  var hit = null;
12317
12584
  for (var k in map) {
12318
- if (k === fileName || k.slice(-(fileName.length + 1)) === "/" + fileName) {
12585
+ if (k === fileName2 || k.slice(-(fileName2.length + 1)) === "/" + fileName2) {
12319
12586
  if (hit) {
12320
12587
  hit = null;
12321
12588
  break;
@@ -13936,6 +14203,6 @@ var _ChatSession = class _ChatSession {
13936
14203
  _ChatSession.RUN_PASS_PAGE = 10;
13937
14204
  var ChatSession = _ChatSession;
13938
14205
 
13939
- export { ANSWER_MODES, ANSWER_MODE_HINTS, ANSWER_MODE_LABELS, ANSWER_MODE_OPTIONS, ANSWER_MODE_SETTING_LABEL, BG_INDEXING_QUEUE_SUFFIX, BOM, BOM_EXTS, CHAT_GREETING_MAX_LENGTH, CLAUDE_INPUT_CAP_RATIO, CLAUDE_PER_REQUEST_INPUT_CAP, CONTENT_CLAIM_PREFIX, CONTEXT_WINDOW_BY_MODEL, CONTEXT_WINDOW_DEFAULT, ChatSession, DATA_TOOL_NAMES, DEFAULT_ANSWER_MODE, DEFAULT_CLAUDE_MODEL, DEFAULT_CONTEXT_WINDOW, DEFAULT_OPENAI_MODEL, DEFAULT_SHARE_IDENTICAL_FILES, DEFAULT_SKIP_DUPLICATE_FILES, DEFAULT_UPLOAD_ACCESS_GROUP, DEFAULT_WEB_ACCESS, DUPLICATE_LOOKUP_LIMIT, DUPLICATE_LOOKUP_MAX_CANDIDATES, DUPLICATE_LOOKUP_TIMEOUT_MS, EMPTY_INDEXING_REPLY, EXPIRED_ATTACHMENT_URL_HOST, EXPIRED_ATTACHMENT_URL_ORIGIN, EXPIRED_LINK_REFRESH_EXPIRES_SECONDS, EXT_CONTENT_TYPES, HISTORY_BUDGET_RATIO, HISTORY_FILL_SLACK_PX, HISTORY_TOKEN_BUDGET, HTML_EXTS, HTML_HEAD_WINDOW, IMAGE_PREVIEWS_PER_MESSAGE, INDEXING_COMPLETE_MARKER, INDEXING_MAX_OUTPUT_TOKENS, INLINE_LINK_GLYPH, INLINE_LINK_UNAVAILABLE_GLYPH, INLINE_LINK_UNAVAILABLE_SUFFIX, INPUT_CAP_RATIO, LINKED_COPY_TAG, LINK_LABEL_MAX_DISPLAY_CHARS, LINK_REFRESH_WINDOW_MS, LOOK_DEADLINE_MS, LOOK_FAST_MS, LOOK_SLOW_MS, LOOK_STALE_MS, LookScheduler, MAX_CONCURRENT_BG_POLLS, MAX_HISTORY_FILL_PAGES, MAX_HISTORY_MESSAGES, MAX_OUTPUT_BY_MODEL, MAX_OUTPUT_TOKENS, MAX_PARSED_CONTENT_CHARS, MCP_NAME, MINT_CACHE_GENERATION, MIN_INPUT_TOKEN_BUDGET, MIN_PER_REQUEST_INPUT_CAP, NOT_SENT_TEXT, NO_DATA_TOOL_MARK, OUTPUT_TOKEN_RESERVE, PAGE_TEXT_TABLE, POLL_INTERVAL, PRESIGN_SAFETY_MARGIN_MS, PREVIEWABLE_IMAGE_CONTENT_TYPES, PREVIEW_BROWSER_CACHE_SECONDS, PREVIEW_LAYOUT_BOX_SELECTOR, PREVIEW_URL_EXPIRES_SECONDS, PROJECT_SETTINGS_ACCESS_GROUP, PROJECT_SETTINGS_TABLE, PROJECT_SETTINGS_UNIQUE_ID, RENDER_FROM_TOKEN, REQUEST_GONE_TEXT, REQUEST_UNREACHABLE_TEXT, RETRIEVAL_NOTES_MAX, RETRIEVAL_NOTES_TOKEN_BUDGET, RETRIEVAL_NOTE_MAX_CHARS, RETRIEVAL_NOTE_MAX_ITEMS, RETRIEVAL_NOTE_PREFIX, RTF_EXTS, RUN_RECORD_WORKING_STALE_MS, SHARE_IDENTICAL_FILES_KEY, STREAM_POLL_INTERVAL, TOOL_AND_RESPONSE_BUFFER, UPLOAD_ACCESS_GROUPS, UPLOAD_ACCESS_HINTS, UPLOAD_ACCESS_LABELS, UPLOAD_ACCESS_OPTIONS, UPLOAD_CANCELLED_MESSAGE, XML_EXTS, __resetSplitHistoryState, accessSettingFrom, adoptLiveTextIntoRunningRow, adoptLocalAnswerIntoPage, answerModeFrom, answerUsedNoDataTool, applyEncodingDeclaration, applyRetrievalNotes, asksUploadAccessFrom, bgIndexingQueueName, buildAiAgentValue, buildBoundedChatMessages, buildChatDisplayList, buildChatGreeting, buildChatSystemPrompt, buildDisplayExpiredAttachmentHref, buildHistoryItemFullId, buildIndexingContinueMessage, buildIndexingRenderContinueTemplate, buildIndexingRenderMessage, buildIndexingSystemPrompt, buildIndexingUserMessage, buildIndexingWindowMessage, cachedProjectSettings, callClaudeWithMcp, callClaudeWithPublicMcp, callOpenAIWithPublicMcp, canonicalizePathForm, chatCacheKey, chatEffortFields, chatEngineConfig, chatGreetingFrom, chatStreamWiring, citationFileName, citationLinkPart, citationsFor, classifyInlineLink, clearAttachmentParsers, clearImagePreviewCache, clearProjectSettings, composeUserMessage, configureChatEngine, configureProjectSettings, contentTypeForExt, copiesByOriginal, copiesToPromote, copyCountLabel, copyCountTitle, copyStatusOf, createHistoryFiller, createInlineLinkRegex, createScrollAnchor, createSseParser, crefSupported, csrEnvelopeError, encodePathSegments, encodingClassForExt, ensureHtmlCharset, ensureXmlEncoding, escapeInlineHtml, escapeRtfNonAscii, estimateMessageTokens, estimateTextTokens, extOf, extractClaudeText, extractLastUserTextFromRequest, extractOpenAIText, extractRemotePathFromAttachmentHref, extractRetrievalNote, fetchLiveIndexingKeys, fileNameOf, fillHistoryViewport, filterListByClearHorizon, findAttachmentParser, findDuplicateUpload, findIdenticalFiles, formatChatTimestamp, formatDuration, formatIndexDuration, formatLinkDuration, formatRetrievalNote, getAttachmentParsers, getChatHistory, getContextWindow, getErrorMessage, getExpiredAttachmentVisiblePath, getInputTokenBudget, getMaxOutputTokens, getModelContextWindow, getProjectContextWindow, getSplitChatHistory, getVisionProfile, groupAttachmentFailures, hasBom, hydrateImagePreviews, identicalLinkReasonText, indexDoneUniqueId, indexGroupDurationLabel, indexGroupLinkedLabel, indexScopeKey, indexingAccessGroup, isAuthExpiredError, isBgIndexingQueue, isCsrStatusEnvelope, isDataToolName, isDuplicateCandidateId, isErrorResponseBody, isHttpUrlLike, isImageVisionFile, isIndexingRequestText, isLinkUnavailable, isNonRetryableRequestError, isNotExistsError, isOfficeFile, isPagedReadFile, isPreviewableImagePath, isProviderApiKeyError, isRetriedFailure, isRetrievalNote, isReturnTrigger, isServerExtractable, isServiceDbAttachmentHref, isTransportFailure, isUploadCancelledError, isWindowedReadFile, linkIdenticalFile, linkUnavailableKeyForHref, linkUnavailableKeyForPath, linkUnavailableKeysForPath, linkedMarkerOf, linkedRowLabel, listClaudeModels, listContentClaims, listLinkedCopies, listOpenAIModels, listedRequestText, liveSafePrefix, loadProjectSettings, looksLikeRtf, makeExtractPlaceholder, mapHistoryListToMessages, markImagePreviewStale, mayKeepStreamedAnswer, messageTimeMs, mintCacheBustStamp, needsBomForExt, newClientRef, normalizeAnswerMode, normalizeAttachmentPathCandidate, normalizeChatGreeting, normalizeExt, normalizeProjectAccessSetting, normalizeShareIdenticalFiles, normalizeSkipDuplicateFiles, normalizeStoredPathTarget, normalizeTextContent, normalizeTrailingInlineToken, normalizeUploadAccessGroup, normalizeWebAccess, notifyAgentSaveAttachment, parseAiAgentValue, parseAttachmentContent, parseIndexingLabel, parseIndexingRequestText, parseLinkedReply, patchProjectSettings, peekImagePreviewUrl, prepareDownloadText, presignExpiryEpochMs, previewImageContentType, previewLayoutBox, previewMintCacheToken, previewableExtOf, primeProjectSettings, projectAccessSetting, projectAnswerMode, projectAsksUploadAccess, projectChatGreeting, projectSettingsSettled, projectShareIdenticalFiles, projectSkipDuplicateFiles, projectUploadAccessGroup, projectWebAccess, promotableCopies, providerBodyWasRead, providerDocument, readExpiredAttachmentHref, readyProjectSettings, reconcilerReadsEnabled, registerAttachmentParser, registerModelContextWindows, renderInlineLinkHtml, repairUrlEntities, repairUrlWhitespace, requestIdTimeMs, resetFileIndexOnServer, resolveAnswerMode, resolveImagePreviewUrl, resolveSkipDuplicateFiles, resolveWebAccess, retrievalNoteFromText, retrievalNoteOfAnswer, runIndexUniqueId, runRecordDurationMs, runSettleSideEffect, safeDecodeURIComponent, sanitizeAttachmentLinksForHistory, setProjectContextWindow, setProjectSettings, shareIdenticalFilesFrom, shouldRescueInFlightMessage, sideEffectDone, skapiSupportsStreaming, skipDuplicateFilesEnabled, skipDuplicateFilesFrom, splitLabelForFit, statusPushEnabled, statusPushLive, streamRecoveryEnabled, streamRecoveryLabels, streamRecoveryPhase, stripFileBlocksFromHistory, transformContentWithImages, transformContentWithOpenAIImages, truncateLabelForDisplay, typewriterResumeIndex, uploadAccessGroupFrom, upsertIndexRunRecordSafe, wallClockNow, webAccessEnabled, webAccessFrom };
14206
+ export { ANSWER_MODES, ANSWER_MODE_HINTS, ANSWER_MODE_LABELS, ANSWER_MODE_OPTIONS, ANSWER_MODE_SETTING_LABEL, BG_INDEXING_QUEUE_SUFFIX, BOM, BOM_EXTS, CHAT_ACTIVITY_ROTATE_MS, CHAT_GREETING_MAX_LENGTH, CLAUDE_INPUT_CAP_RATIO, CLAUDE_PER_REQUEST_INPUT_CAP, CONTENT_CLAIM_PREFIX, CONTEXT_WINDOW_BY_MODEL, CONTEXT_WINDOW_DEFAULT, ChatSession, DATA_TOOL_NAMES, DEFAULT_ANSWER_MODE, DEFAULT_CLAUDE_MODEL, DEFAULT_CONTEXT_WINDOW, DEFAULT_OPENAI_MODEL, DEFAULT_SHARE_IDENTICAL_FILES, DEFAULT_SKIP_DUPLICATE_FILES, DEFAULT_UPLOAD_ACCESS_GROUP, DEFAULT_WEB_ACCESS, DUPLICATE_LOOKUP_LIMIT, DUPLICATE_LOOKUP_MAX_CANDIDATES, DUPLICATE_LOOKUP_TIMEOUT_MS, EMPTY_INDEXING_REPLY, EXPIRED_ATTACHMENT_URL_HOST, EXPIRED_ATTACHMENT_URL_ORIGIN, EXPIRED_LINK_REFRESH_EXPIRES_SECONDS, EXT_CONTENT_TYPES, HISTORY_BUDGET_RATIO, HISTORY_FILL_SLACK_PX, HISTORY_TOKEN_BUDGET, HTML_EXTS, HTML_HEAD_WINDOW, IMAGE_PREVIEWS_PER_MESSAGE, INDEXING_COMPLETE_MARKER, INDEXING_MAX_OUTPUT_TOKENS, INLINE_LINK_GLYPH, INLINE_LINK_UNAVAILABLE_GLYPH, INLINE_LINK_UNAVAILABLE_SUFFIX, INPUT_CAP_RATIO, LINKED_COPY_TAG, LINK_LABEL_MAX_DISPLAY_CHARS, LINK_REFRESH_WINDOW_MS, LOOK_DEADLINE_MS, LOOK_FAST_MS, LOOK_SLOW_MS, LOOK_STALE_MS, LookScheduler, MAX_CONCURRENT_BG_POLLS, MAX_HISTORY_FILL_PAGES, MAX_HISTORY_MESSAGES, MAX_OUTPUT_BY_MODEL, MAX_OUTPUT_TOKENS, MAX_PARSED_CONTENT_CHARS, MCP_NAME, MINT_CACHE_GENERATION, MIN_INPUT_TOKEN_BUDGET, MIN_PER_REQUEST_INPUT_CAP, NOT_SENT_TEXT, NO_DATA_TOOL_MARK, OUTPUT_TOKEN_RESERVE, PAGE_TEXT_TABLE, POLL_INTERVAL, PRESIGN_SAFETY_MARGIN_MS, PREVIEWABLE_IMAGE_CONTENT_TYPES, PREVIEW_BROWSER_CACHE_SECONDS, PREVIEW_LAYOUT_BOX_SELECTOR, PREVIEW_URL_EXPIRES_SECONDS, PROJECT_SETTINGS_ACCESS_GROUP, PROJECT_SETTINGS_TABLE, PROJECT_SETTINGS_UNIQUE_ID, RENDER_FROM_TOKEN, REQUEST_GONE_TEXT, REQUEST_UNREACHABLE_TEXT, RETRIEVAL_NOTES_MAX, RETRIEVAL_NOTES_TOKEN_BUDGET, RETRIEVAL_NOTE_MAX_CHARS, RETRIEVAL_NOTE_MAX_ITEMS, RETRIEVAL_NOTE_PREFIX, RTF_EXTS, RUN_RECORD_WORKING_STALE_MS, SHARE_IDENTICAL_FILES_KEY, STREAM_POLL_INTERVAL, TOOL_AND_RESPONSE_BUFFER, UPLOAD_ACCESS_GROUPS, UPLOAD_ACCESS_HINTS, UPLOAD_ACCESS_LABELS, UPLOAD_ACCESS_OPTIONS, UPLOAD_CANCELLED_MESSAGE, XML_EXTS, __resetSplitHistoryState, accessSettingFrom, adoptLiveTextIntoRunningRow, adoptLocalAnswerIntoPage, answerModeFrom, answerUsedNoDataTool, applyEncodingDeclaration, applyRetrievalNotes, asksUploadAccessFrom, bgIndexingQueueName, buildAiAgentValue, buildBoundedChatMessages, buildChatDisplayList, buildChatGreeting, buildChatSystemPrompt, buildDisplayExpiredAttachmentHref, buildHistoryItemFullId, buildIndexingContinueMessage, buildIndexingRenderContinueTemplate, buildIndexingRenderMessage, buildIndexingSystemPrompt, buildIndexingUserMessage, buildIndexingWindowMessage, cachedProjectSettings, callClaudeWithMcp, callClaudeWithPublicMcp, callOpenAIWithPublicMcp, canonicalizePathForm, chatActivityLine, chatActivityOf, chatCacheKey, chatEffortFields, chatEngineConfig, chatGreetingFrom, chatStreamWiring, citationFileName, citationLinkPart, citationsFor, classifyInlineLink, clearAttachmentParsers, clearImagePreviewCache, clearProjectSettings, composeUserMessage, configureChatEngine, configureProjectSettings, contentTypeForExt, copiesByOriginal, copiesToPromote, copyCountLabel, copyCountTitle, copyStatusOf, createHistoryFiller, createInlineLinkRegex, createScrollAnchor, createSseParser, crefSupported, csrEnvelopeError, encodePathSegments, encodingClassForExt, ensureHtmlCharset, ensureXmlEncoding, escapeInlineHtml, escapeRtfNonAscii, estimateMessageTokens, estimateTextTokens, extOf, extractClaudeText, extractLastUserTextFromRequest, extractOpenAIText, extractRemotePathFromAttachmentHref, extractRetrievalNote, fetchLiveIndexingKeys, fileNameOf, fillHistoryViewport, filterListByClearHorizon, findAttachmentParser, findDuplicateUpload, findIdenticalFiles, formatChatTimestamp, formatDuration, formatIndexDuration, formatLinkDuration, formatRetrievalNote, getAttachmentParsers, getChatHistory, getContextWindow, getErrorMessage, getExpiredAttachmentVisiblePath, getInputTokenBudget, getMaxOutputTokens, getModelContextWindow, getProjectContextWindow, getSplitChatHistory, getVisionProfile, groupAttachmentFailures, hasBom, hydrateImagePreviews, identicalLinkReasonText, indexDoneUniqueId, indexGroupDurationLabel, indexGroupLinkedLabel, indexScopeKey, indexingAccessGroup, isAuthExpiredError, isBgIndexingQueue, isCsrStatusEnvelope, isDataToolName, isDuplicateCandidateId, isErrorResponseBody, isHttpUrlLike, isImageVisionFile, isIndexingRequestText, isLinkUnavailable, isNonRetryableRequestError, isNotExistsError, isOfficeFile, isPagedReadFile, isPreviewableImagePath, isProviderApiKeyError, isRetriedFailure, isRetrievalNote, isReturnTrigger, isServerExtractable, isServiceDbAttachmentHref, isTransportFailure, isUploadCancelledError, isWindowedReadFile, linkIdenticalFile, linkUnavailableKeyForHref, linkUnavailableKeyForPath, linkUnavailableKeysForPath, linkedMarkerOf, linkedRowLabel, listClaudeModels, listContentClaims, listLinkedCopies, listOpenAIModels, listedRequestText, liveSafePrefix, loadProjectSettings, looksLikeRtf, makeExtractPlaceholder, mapHistoryListToMessages, markImagePreviewStale, mayKeepStreamedAnswer, messageTimeMs, mintCacheBustStamp, needsBomForExt, newClientRef, normalizeAnswerMode, normalizeAttachmentPathCandidate, normalizeChatGreeting, normalizeExt, normalizeProjectAccessSetting, normalizeShareIdenticalFiles, normalizeSkipDuplicateFiles, normalizeStoredPathTarget, normalizeTextContent, normalizeTrailingInlineToken, normalizeUploadAccessGroup, normalizeWebAccess, noteChatActivity, notifyAgentSaveAttachment, parseAiAgentValue, parseAttachmentContent, parseIndexingLabel, parseIndexingRequestText, parseLinkedReply, patchProjectSettings, peekImagePreviewUrl, prepareDownloadText, presignExpiryEpochMs, previewImageContentType, previewLayoutBox, previewMintCacheToken, previewableExtOf, primeProjectSettings, projectAccessSetting, projectAnswerMode, projectAsksUploadAccess, projectChatGreeting, projectSettingsSettled, projectShareIdenticalFiles, projectSkipDuplicateFiles, projectUploadAccessGroup, projectWebAccess, promotableCopies, providerBodyWasRead, providerDocument, readExpiredAttachmentHref, readyProjectSettings, reconcilerReadsEnabled, registerAttachmentParser, registerModelContextWindows, renderInlineLinkHtml, repairUrlEntities, repairUrlWhitespace, requestIdTimeMs, resetFileIndexOnServer, resolveAnswerMode, resolveImagePreviewUrl, resolveSkipDuplicateFiles, resolveWebAccess, retrievalNoteFromText, retrievalNoteOfAnswer, runIndexUniqueId, runRecordDurationMs, runSettleSideEffect, safeDecodeURIComponent, sanitizeAttachmentLinksForHistory, setProjectContextWindow, setProjectSettings, shareIdenticalFilesFrom, shouldRescueInFlightMessage, sideEffectDone, skapiSupportsStreaming, skipDuplicateFilesEnabled, skipDuplicateFilesFrom, splitLabelForFit, statusPushEnabled, statusPushLive, streamRecoveryEnabled, streamRecoveryLabels, streamRecoveryPhase, stripFileBlocksFromHistory, transformContentWithImages, transformContentWithOpenAIImages, truncateLabelForDisplay, typewriterResumeIndex, uploadAccessGroupFrom, upsertIndexRunRecordSafe, wallClockNow, webAccessEnabled, webAccessFrom };
13940
14207
  //# sourceMappingURL=engine.mjs.map
13941
14208
  //# sourceMappingURL=engine.mjs.map