flavor-code 1.4.0-beta.5 → 1.4.0-beta.6

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.
@@ -19,7 +19,7 @@ import {
19
19
  thinkingWindow,
20
20
  transcriptReducer,
21
21
  withTimeout
22
- } from "./chunk-J7TLT6LR.js";
22
+ } from "./chunk-NLYZ7DMC.js";
23
23
  import "./chunk-N5MXHJKD.js";
24
24
  import "./chunk-KQMKY7C5.js";
25
25
  import {
@@ -38,7 +38,7 @@ import {
38
38
  useStdout,
39
39
  use_app_default,
40
40
  use_input_default
41
- } from "./chunk-IQAZ42TM.js";
41
+ } from "./chunk-XMRKRPNC.js";
42
42
  import {
43
43
  execFileNoThrow
44
44
  } from "./chunk-ZJCAQXA7.js";
@@ -4,7 +4,7 @@ import {
4
4
  message,
5
5
  redactErrorText,
6
6
  redactSecrets
7
- } from "./chunk-J7TLT6LR.js";
7
+ } from "./chunk-NLYZ7DMC.js";
8
8
 
9
9
  // src/rpc/server.ts
10
10
  import { createInterface } from "readline";
@@ -6856,6 +6856,7 @@ import { mkdirSync as mkdirSync4, readFileSync as readFileSync3, renameSync as r
6856
6856
  import { createHash as createHash18, randomUUID as randomUUID20 } from "crypto";
6857
6857
  import { homedir as homedir3, release as osRelease, tmpdir as tmpdir4, version as osVersion } from "os";
6858
6858
  import { basename as basename7, dirname as dirname17, join as join30, relative as relative22, resolve as resolve31, sep as sep22 } from "path";
6859
+ import { performance } from "perf_hooks";
6859
6860
 
6860
6861
  // src/agent/subagents.ts
6861
6862
  import { z as z9 } from "zod";
@@ -24238,6 +24239,12 @@ async function createProductionRuntime(options) {
24238
24239
  holders.transcriptTurns = { entries: transcript.turns };
24239
24240
  } catch {
24240
24241
  }
24242
+ try {
24243
+ holders.userTiming = {
24244
+ entries: performance.getEntriesByType("measure").length + performance.getEntriesByType("mark").length
24245
+ };
24246
+ } catch {
24247
+ }
24241
24248
  return holders;
24242
24249
  };
24243
24250
  const rotateForHeap = (continuation, reading) => {