glimmervoid 0.46.2-next.155 → 0.46.2-next.157
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/bin/glimmervoid.js +8 -8
- package/dist/chunks/{adapters-DsZUuh-H.js → adapters-BMiDMZj6.js} +341 -5
- package/dist/chunks/{adapters-DNc4Y-vV.js → adapters-DiXtJC9k.js} +1 -1
- package/dist/chunks/{agent-api-cli-MZ90f4jg.js → agent-api-cli-DOzlY0Hz.js} +1 -1
- package/dist/chunks/{agent-api-cli-BSDYHgZR.js → agent-api-cli-bNlTz-7w.js} +1 -1
- package/dist/chunks/{agent-api-core-CKgp5EgK.js → agent-api-core-jge0D-nX.js} +1 -1
- package/dist/chunks/{build-channel-Cfr6JMdE.js → build-channel-DJ1dJt9u.js} +1 -1
- package/dist/chunks/{config-BOQu9rsc.js → config-CfYYorC4.js} +5 -1
- package/dist/chunks/{config-store-BhiA04q3.js → config-store-BDnviJpb.js} +15 -2
- package/dist/chunks/config-store-D2i_r1cn.js +1 -0
- package/dist/chunks/{main-CmUl1Rtm.js → main-nHXzbI4D.js} +69 -307
- package/dist/chunks/{pair-cli-B5oHJtT_.js → pair-cli-06TbsthF.js} +2 -2
- package/dist/chunks/{remote-config-B3EMYIN8.js → remote-config-DCeelB8P.js} +1 -1
- package/dist/chunks/{settings-cli-Df_djhIH.js → settings-cli-iqcvii_8.js} +4 -4
- package/dist/chunks/{settings-readout-core-Cg24xDa1.js → settings-readout-core-DQ07GLzg.js} +1 -1
- package/dist/chunks/{ssh-sign-cli-D1Inrd9W.js → ssh-sign-cli-C0Zm53au.js} +1 -1
- package/dist/client/assets/{alert-sound-CxazBlHq.js → alert-sound-b90RKfjE.js} +1 -1
- package/dist/client/assets/alert-sound-b90RKfjE.js.br +0 -0
- package/dist/client/assets/{benchmark-panel-CNHyqMXn.js → benchmark-panel-B-3Nd4JZ.js} +1 -1
- package/dist/client/assets/benchmark-panel-B-3Nd4JZ.js.br +0 -0
- package/dist/client/assets/{celebration-player-C78MRLaQ.js → celebration-player-7VxvOCGK.js} +1 -1
- package/dist/client/assets/celebration-player-7VxvOCGK.js.br +0 -0
- package/dist/client/assets/{dialogs-CAKEBI1Q.js → dialogs-mSk9MLs_.js} +1 -1
- package/dist/client/assets/dialogs-mSk9MLs_.js.br +0 -0
- package/dist/client/assets/{doc-editor-ui-CpB4jhVb.js → doc-editor-ui-TzCVf7_B.js} +1 -1
- package/dist/client/assets/doc-editor-ui-TzCVf7_B.js.br +0 -0
- package/dist/client/assets/{first-run-checklist-DLfgj1jU.js → first-run-checklist-BMzpWC1H.js} +1 -1
- package/dist/client/assets/first-run-checklist-BMzpWC1H.js.br +0 -0
- package/dist/client/assets/{hooks-panel-Co1wzBCT.js → hooks-panel-DKxVdKr6.js} +1 -1
- package/dist/client/assets/hooks-panel-DKxVdKr6.js.br +0 -0
- package/dist/client/assets/{index-CITDUwnq.js → index-DTitP2AL.js} +5 -5
- package/dist/client/assets/index-DTitP2AL.js.br +0 -0
- package/dist/client/assets/{issues-panel-BsW7YBL-.js → issues-panel-Br3cq88P.js} +1 -1
- package/dist/client/assets/issues-panel-Br3cq88P.js.br +0 -0
- package/dist/client/assets/{nyan-cat-gVj-NVDP.js → nyan-cat-CfCSVyVK.js} +1 -1
- package/dist/client/assets/nyan-cat-CfCSVyVK.js.br +0 -0
- package/dist/client/assets/{phone-shell-DXtd8GQ4.js → phone-shell-MCGf9Ldr.js} +1 -1
- package/dist/client/assets/phone-shell-MCGf9Ldr.js.br +0 -0
- package/dist/client/assets/{plan-face-CWpPG6US.js → plan-face-BGDbNRIm.js} +1 -1
- package/dist/client/assets/plan-face-BGDbNRIm.js.br +0 -0
- package/dist/client/assets/{plan-render-F_nmok78.js → plan-render-5rlcM6dz.js} +1 -1
- package/dist/client/assets/plan-render-5rlcM6dz.js.br +0 -0
- package/dist/client/assets/{pr-scope-tabs-ZjDr6b3i.js → pr-scope-tabs-CVLc7i9B.js} +1 -1
- package/dist/client/assets/pr-scope-tabs-CVLc7i9B.js.br +0 -0
- package/dist/client/assets/{radar-panel-dw2TFGj7.js → radar-panel-C99DKWKf.js} +1 -1
- package/dist/client/assets/radar-panel-C99DKWKf.js.br +0 -0
- package/dist/client/assets/{resume-dialog-Dc3npHpZ.js → resume-dialog-wNsI0eP4.js} +1 -1
- package/dist/client/assets/resume-dialog-wNsI0eP4.js.br +0 -0
- package/dist/client/assets/{review-queue-panel-CVi0Z7SG.js → review-queue-panel-zMPvgEcu.js} +1 -1
- package/dist/client/assets/review-queue-panel-zMPvgEcu.js.br +0 -0
- package/dist/client/assets/settings-panel-W0xynCpl.js +4 -0
- package/dist/client/assets/settings-panel-W0xynCpl.js.br +0 -0
- package/dist/client/assets/{shown-lightbox-BmDw3n9U.js → shown-lightbox-BmdRxumM.js} +1 -1
- package/dist/client/assets/shown-lightbox-BmdRxumM.js.br +0 -0
- package/dist/client/assets/{trace-panel-BW11EowZ.js → trace-panel-HtB0-yKr.js} +1 -1
- package/dist/client/assets/trace-panel-HtB0-yKr.js.br +0 -0
- package/dist/client/assets/{usage-panel--MuV2BNd.js → usage-panel-CdR9bZHa.js} +1 -1
- package/dist/client/assets/usage-panel-CdR9bZHa.js.br +0 -0
- package/dist/client/assets/{visions-panel-DZk48GZY.js → visions-panel-DtPD24B7.js} +1 -1
- package/dist/client/assets/visions-panel-DtPD24B7.js.br +0 -0
- package/dist/client/index.html +1 -1
- package/dist/client/index.html.br +0 -0
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/config-store-BtazOb6G.js +0 -1
- package/dist/client/assets/alert-sound-CxazBlHq.js.br +0 -0
- package/dist/client/assets/benchmark-panel-CNHyqMXn.js.br +0 -0
- package/dist/client/assets/celebration-player-C78MRLaQ.js.br +0 -0
- package/dist/client/assets/dialogs-CAKEBI1Q.js.br +0 -0
- package/dist/client/assets/doc-editor-ui-CpB4jhVb.js.br +0 -0
- package/dist/client/assets/first-run-checklist-DLfgj1jU.js.br +0 -0
- package/dist/client/assets/hooks-panel-Co1wzBCT.js.br +0 -0
- package/dist/client/assets/index-CITDUwnq.js.br +0 -0
- package/dist/client/assets/issues-panel-BsW7YBL-.js.br +0 -0
- package/dist/client/assets/nyan-cat-gVj-NVDP.js.br +0 -0
- package/dist/client/assets/phone-shell-DXtd8GQ4.js.br +0 -0
- package/dist/client/assets/plan-face-CWpPG6US.js.br +0 -0
- package/dist/client/assets/plan-render-F_nmok78.js.br +0 -0
- package/dist/client/assets/pr-scope-tabs-ZjDr6b3i.js.br +0 -0
- package/dist/client/assets/radar-panel-dw2TFGj7.js.br +0 -0
- package/dist/client/assets/resume-dialog-Dc3npHpZ.js.br +0 -0
- package/dist/client/assets/review-queue-panel-CVi0Z7SG.js.br +0 -0
- package/dist/client/assets/settings-panel-CR2lSSjo.js +0 -4
- package/dist/client/assets/settings-panel-CR2lSSjo.js.br +0 -0
- package/dist/client/assets/shown-lightbox-BmDw3n9U.js.br +0 -0
- package/dist/client/assets/trace-panel-BW11EowZ.js.br +0 -0
- package/dist/client/assets/usage-panel--MuV2BNd.js.br +0 -0
- package/dist/client/assets/visions-panel-DZk48GZY.js.br +0 -0
|
@@ -5,9 +5,9 @@ import { c as resolvePackageBin, i as clientDir, n as bundled, o as packageRoot,
|
|
|
5
5
|
import { n as glimmervoidHomeDir, r as isOperatorHomeUnderTest, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
6
6
|
import { At as TeamReviewThreadCommentsResponse, B as MyPr, Bt as GH_SEGMENT, C as SESSION_DOC_BODY_CAP_BYTES, Ct as ReviewVerdict, D as SHOWN_FILE_CAP_BYTES, Dt as TeamReviewResolveResponse, E as SESSION_NAME_RULE_TEXT, Et as TeamReviewCompareFiles, F as SshSignRequest, H as MyPrCheckContext, Ht as REPO_SLUG_RE, It as hasStandingViewerApproval, J as MyPrMergeRequest, Jt as BADGE_LABELS, K as MyPrLaneEntry, L as TaskTitle, Mt as TeamReviewThreadsRepository, N as ShownFile, Nt as canApproveAfterComment, O as SIGN_URL_ENV, Ot as TeamReviewStateEntry, Pt as decisionAsIfApprovalRequired, Qt as STATES, Rt as HEX_SHA_RE, St as ReviewThreadId, T as SESSION_NAME_PATTERN, U as MyPrCheckContextsResponse, Ut as repoParts, V as MyPrAutoRebase, Vt as NODE_ID_RE, W as MyPrKeepMergeableRequest, X as MyPrMergeStateResponse, Xt as MERGEABLE_LIVE_STATES, Yt as KILLABLE_STATES, Z as MyPrMergeWhenReadyRequest, Zt as RESTARTABLE_STATES, _ as CONVERSATION_PERMISSION_HOOK_EVENT, b as ConversationQuestion, bt as ReviewFinding, ct as CommitSha, dt as FindingSeverity, et as MyPrThreadNode, g as CONVERSATION_APPROVAL_SUMMARY_MAX_CHARS, gt as PrDetail, h as COHERENCE_HOOKS_INACTIVE, ht as PostingPlan, jt as TeamReviewThreadResult, k as SSH_SIGN_BODY_CAP_BYTES, kt as TeamReviewStatus, lt as DECIDING_REVIEW_STATES, mt as PostedReviewEvent, n as AGENT_URL_ENV, nt as MyPrsSnapshot, pt as GithubReviewState, q as MyPrMergeMethod, r as ASK_USER_QUESTION_TOOL_NAME, rt as MyPrsState, tt as MyPrThreadsResponse, ut as EarlierReview, v as CONVERSATION_TOOL_RESULT_HOOK_EVENT, vt as ReviewComment, wt as TeamReviewActionRequest, xt as ReviewResult, yt as ReviewDraft, z as LinkedPr, zt as shortSha } from "./session-B2Wieg0a.js";
|
|
7
7
|
import { n as execFileAsync, o as spawn, r as execFileSync, t as execFile } from "./child-process-safe-D4hyVIXj.js";
|
|
8
|
-
import { A as BenchmarkRun, At as parseExitPlanModeHookPayload, B as GithubPrsFrame, Ct as PLAN_BODY_CAP_BYTES, D as BenchmarkCase, Dt as PLAN_TOOL_NAME, E as BenchmarkActionRequest, Et as PLAN_RESULT_HOOK_EVENT, F as MinedPrReviewData, Ft as IssueUpdate, G as WorkflowsState, H as WorkflowCommentBody, I as PrCheckoutCaseInput, It as IssuesSearchResponse, L as GithubPrDetailNode, Lt as IssuesState, M as BenchmarkSuite, Mt as GithubIssuePullRequestsRepository, N as CommitComparison, Nt as GithubIssueResponse, O as BenchmarkId, Ot as PlanDecision, P as MergedPrListing, Pt as IssueKey, R as GithubPrKey, Rt as IssuesStatus, St as changeMapFactId, T as pullRequestKeyFromReference, Tt as PLAN_HOOK_OUTPUT_MAX_CHARS, U as WorkflowLabelName, V as comparablePrKey, W as WorkflowsSettings, X as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, _ as CONTROL_FRAME_MAX_BYTES, _t as MAX_RAW_LINE_CHARS, a as ConfigUpdate, bt as CoherenceJournalOutput, ct as USAGE_INTEGER_RANGES, d as USAGE_COST_MODES, f as USAGE_VENDOR_KEYS, g as CLIENT_LOG_TEXT_MAX_CHARS, gt as SessionSetup, ht as UpdateJournal, j as BenchmarkStatus, jt as planTitle, k as BenchmarkJudgement, kt as PlanRevision, l as configIssueMessage, m as CHANGES_POLL_INTERVAL_MS, r as BrowserConfig, s as RUNTIME_CONFIG_SCALAR_KEYS, v as ClientMessage, vt as TraceCheckpoint, wt as PLAN_HOOK_EVENT, xt as ChangeMap, yt as TraceRecord, z as GithubPrLightSearchNode, zt as issuePullRequestStateFromGithub } from "./config-
|
|
8
|
+
import { A as BenchmarkRun, At as parseExitPlanModeHookPayload, B as GithubPrsFrame, Ct as PLAN_BODY_CAP_BYTES, D as BenchmarkCase, Dt as PLAN_TOOL_NAME, E as BenchmarkActionRequest, Et as PLAN_RESULT_HOOK_EVENT, F as MinedPrReviewData, Ft as IssueUpdate, G as WorkflowsState, H as WorkflowCommentBody, I as PrCheckoutCaseInput, It as IssuesSearchResponse, L as GithubPrDetailNode, Lt as IssuesState, M as BenchmarkSuite, Mt as GithubIssuePullRequestsRepository, N as CommitComparison, Nt as GithubIssueResponse, O as BenchmarkId, Ot as PlanDecision, P as MergedPrListing, Pt as IssueKey, R as GithubPrKey, Rt as IssuesStatus, St as changeMapFactId, T as pullRequestKeyFromReference, Tt as PLAN_HOOK_OUTPUT_MAX_CHARS, U as WorkflowLabelName, V as comparablePrKey, W as WorkflowsSettings, X as KEEP_MERGEABLE_TIMEOUT_MINUTES_RANGE, _ as CONTROL_FRAME_MAX_BYTES, _t as MAX_RAW_LINE_CHARS, a as ConfigUpdate, bt as CoherenceJournalOutput, ct as USAGE_INTEGER_RANGES, d as USAGE_COST_MODES, f as USAGE_VENDOR_KEYS, g as CLIENT_LOG_TEXT_MAX_CHARS, gt as SessionSetup, ht as UpdateJournal, j as BenchmarkStatus, jt as planTitle, k as BenchmarkJudgement, kt as PlanRevision, l as configIssueMessage, m as CHANGES_POLL_INTERVAL_MS, r as BrowserConfig, s as RUNTIME_CONFIG_SCALAR_KEYS, v as ClientMessage, vt as TraceCheckpoint, wt as PLAN_HOOK_EVENT, xt as ChangeMap, yt as TraceRecord, z as GithubPrLightSearchNode, zt as issuePullRequestStateFromGithub } from "./config-CfYYorC4.js";
|
|
9
9
|
import { a as permitsHelpCommand, o as supervisionLine, r as describeSessionLimits } from "./session-routes-Cr9S--Nf.js";
|
|
10
|
-
import { A as seedTaskTitleSources, B as listRepoWorktreePaths, C as extractPromptTaskTitle, D as parseRefinedTaskTitle, E as parseRefinedSessionName, F as resumePromptFor, H as nextSuggestedName, I as shouldAdoptReportedResumeId, L as claudeProjectsDir, M as RESUME_ID_RE, N as pickAutoResume, O as resolveRefocusTaskTitle, P as resolveResumeTarget, R as encodeProjectDir, S as extractOscTaskTitle, T as isSubstantivePrompt, V as isAutoNameOf, _ as buildTaskTitleRefinementPrompt, a as decideSpawnAllowance, b as decideTaskTitleRefinement, c as describeKeptChildAttention, d as describeUnpushedCloseRefusal, g as buildPersistedTaskTitle, h as projectReviews, i as decideAgentRequest, j as AUTO_CONTINUE_PROMPT, k as resolveTaskTitle, l as describePushLanding, m as projectMyPrs, n as REFUSAL_REASON, o as deriveChildSessionName, p as parseAgentVerb, s as describeChildEndNote, u as describeRoleRefusal, v as chooseRefinedSessionName, w as isSelfWakePrompt, x as extractAiTitle, y as cleanTaskPrompt, z as listRepoConversations } from "./agent-api-core-
|
|
10
|
+
import { A as seedTaskTitleSources, B as listRepoWorktreePaths, C as extractPromptTaskTitle, D as parseRefinedTaskTitle, E as parseRefinedSessionName, F as resumePromptFor, H as nextSuggestedName, I as shouldAdoptReportedResumeId, L as claudeProjectsDir, M as RESUME_ID_RE, N as pickAutoResume, O as resolveRefocusTaskTitle, P as resolveResumeTarget, R as encodeProjectDir, S as extractOscTaskTitle, T as isSubstantivePrompt, V as isAutoNameOf, _ as buildTaskTitleRefinementPrompt, a as decideSpawnAllowance, b as decideTaskTitleRefinement, c as describeKeptChildAttention, d as describeUnpushedCloseRefusal, g as buildPersistedTaskTitle, h as projectReviews, i as decideAgentRequest, j as AUTO_CONTINUE_PROMPT, k as resolveTaskTitle, l as describePushLanding, m as projectMyPrs, n as REFUSAL_REASON, o as deriveChildSessionName, p as parseAgentVerb, s as describeChildEndNote, u as describeRoleRefusal, v as chooseRefinedSessionName, w as isSelfWakePrompt, x as extractAiTitle, y as cleanTaskPrompt, z as listRepoConversations } from "./agent-api-core-jge0D-nX.js";
|
|
11
11
|
import { a as positiveIntOr, c as textOr, i as numberOr, n as isRecord, o as positiveNumberOr, r as nonNegativeIntOr, s as rawTextOr, t as coercedNumberOr } from "./coerce-NSst8oRP.js";
|
|
12
12
|
import { i as parseCommandLine, n as warnWhenGitIsTooOld } from "./git-version-WyrLHANY.js";
|
|
13
13
|
import { n as checkGuardrailsDependencies, t as allowGuardedSpawn } from "./guardrails-deps-BjPzk1rE.js";
|
|
@@ -20,15 +20,16 @@ import { _ as lineStartOffsets, a as projectForUri, b as replacedSpanOfWholeText
|
|
|
20
20
|
import { n as DEFAULT_MAX_MS, r as nextBackoffMs, t as DEFAULT_BASE_MS } from "./backoff-DjVpfHk7.js";
|
|
21
21
|
import { n as unrefTimer, t as DEFAULT_TIMER_FNS } from "./timer-deps-u2DAQLok.js";
|
|
22
22
|
import { a as readPageTitle, i as filesAfterRetention, n as decideShownKind, o as shownMimeForFilename, r as describeOverCap, t as SHOWN_SNIFF_BYTES } from "./shown-files-core-C7ER2sw2.js";
|
|
23
|
+
import { t as kimi } from "./kimi-VBamp5vp.js";
|
|
23
24
|
import { n as shellQuote } from "./hook-command-core-qTNK-xMF.js";
|
|
24
25
|
import { C as parseCgroupBytes, S as memoryReserveBytes, T as parseMemAvailableBytes, _ as createSpawnGate, a as jsonStateLoadError, b as cgroupLimitBytes, c as loadedJsonValue, d as writeJsonAtomicSync, f as writeTextAtomic, g as createSerialQueue, h as createMemoryAdmission, i as createJsonStateWriter, m as createKeyedSerialQueue, n as appendJsonLines, o as loadJsonStateFile, p as writeTextAtomicSync, r as createJsonStateStore, s as loadJsonStateFileSync, t as appendJsonLine, u as writeJsonAtomic, v as isQueueAdmissionTimeout, w as parseCgroupV2Path, x as headroomFromReadings, y as cgroupAncestorPaths } from "./json-file-BjFK_eSH.js";
|
|
25
|
-
import { $ as resolveProjectToken, B as buildAiGenerationEvents, G as claudeAccountUuidOf, H as buildExceptionProperties, I as FIRST_RUN_NOTICE, J as decideRemoteTelemetryState, K as codexUserIdOf, L as TELEMETRY_BATCH_URL, Q as parsePosthogReleaseId, R as TELEMETRY_FLAGS_URL, S as validateSettingsBlock, U as buildPersonProperties, V as buildBrowserExceptionProperties, W as classifySessionExit, X as exceptionFingerprint, Y as decideTelemetryConsent, Z as nodeMajorVersion, _ as isRtkBinaryName, a as ensureProjectIds, at as matchedPrefix, b as mergeSettingsBlock, ct as sessionIdFromBranch, dt as canonicalizePath, ft as comparableDirectoryPath, g as installTargetPath, h as findEscapingArchiveMember, i as createConfigStore, it as DEFAULT_BRANCH_GC_PREFIXES, lt as usablePrefixes, m as decideRtkInstall, n as DEFAULT_CONFIG, nt as stableConfigKey, o as generateProjectId, ot as planBranchGc, p as assetForPlatform, pt as isSameDirectoryPath, q as decideIsDevInstall, s as glimmervoidHomeDir$1, st as planWorktreeGc, t as ABORT_CONFIG_SAVE, ut as worktreeIntegrationTips, v as verifyDigest, x as settingsBlockSpecFor, z as adapterBucket } from "./config-store-
|
|
26
|
-
import { _ as TelemetryState, a as DEEP_HISTORY_SCROLLBACK_LINES, c as describeDataAttach, d as DashboardTelemetryReport, h as TELEMETRY_EVENT_SCHEMAS, i as HookEnvelope, l as parseDataAttach, m as PendingCrashReport, r as HTTP_URL_RE, s as LOGGED_FAST_CLOSE_COUNTS, u as parseDataClientMessage } from "./build-channel-
|
|
27
|
-
import { A as decideFileRead, B as
|
|
26
|
+
import { $ as resolveProjectToken, B as buildAiGenerationEvents, G as claudeAccountUuidOf, H as buildExceptionProperties, I as FIRST_RUN_NOTICE, J as decideRemoteTelemetryState, K as codexUserIdOf, L as TELEMETRY_BATCH_URL, Q as parsePosthogReleaseId, R as TELEMETRY_FLAGS_URL, S as validateSettingsBlock, U as buildPersonProperties, V as buildBrowserExceptionProperties, W as classifySessionExit, X as exceptionFingerprint, Y as decideTelemetryConsent, Z as nodeMajorVersion, _ as isRtkBinaryName, a as ensureProjectIds, at as matchedPrefix, b as mergeSettingsBlock, ct as sessionIdFromBranch, dt as canonicalizePath, ft as comparableDirectoryPath, g as installTargetPath, h as findEscapingArchiveMember, i as createConfigStore, it as DEFAULT_BRANCH_GC_PREFIXES, lt as usablePrefixes, m as decideRtkInstall, n as DEFAULT_CONFIG, nt as stableConfigKey, o as generateProjectId, ot as planBranchGc, p as assetForPlatform, pt as isSameDirectoryPath, q as decideIsDevInstall, s as glimmervoidHomeDir$1, st as planWorktreeGc, t as ABORT_CONFIG_SAVE, ut as worktreeIntegrationTips, v as verifyDigest, x as settingsBlockSpecFor, z as adapterBucket } from "./config-store-BDnviJpb.js";
|
|
27
|
+
import { _ as TelemetryState, a as DEEP_HISTORY_SCROLLBACK_LINES, c as describeDataAttach, d as DashboardTelemetryReport, h as TELEMETRY_EVENT_SCHEMAS, i as HookEnvelope, l as parseDataAttach, m as PendingCrashReport, r as HTTP_URL_RE, s as LOGGED_FAST_CLOSE_COUNTS, u as parseDataClientMessage } from "./build-channel-DJ1dJt9u.js";
|
|
28
|
+
import { $ as isWithinGenerationRecencyWindow, A as decideFileRead, B as sessionsRootCandidates, C as pickNewestPublished, D as codexRootCandidates, E as codexHomes, F as kimiHomes, G as parseKimiUsageLine, H as shouldPersistWarehouse, I as passOutcome, J as emptyTotals, K as addEntryToTotals, L as projectDirCandidates, M as expandTilde, N as grokHomes, O as codexSessionIdFromPath, P as isUsageFile, Q as identityFromRelPath, R as resolveProjectsDirs, S as parseResolvedSha, T as codexFallbackRoots, U as splitLines$1, V as shouldEvaluateDespiteIoFailures, W as kimiDedupIdentity, X as foldEntryIntoGenerationRollup, Y as expandAdvisorIterations, Z as foldReplacementIntoGenerationRollup, _ as isCheckFresh, a as describeAgentResolvability, at as vendorUsageEntry, b as parseRegistryDeprecation, c as isKnownAgentId, d as resolveAdapter, et as mergeGenerationRollups, f as setCustomAgents, g as decideUpdateStatus, h as decideInstallFlavor, i as customAgentFingerprint, it as totalTokensOf$1, j as dedupeCodexFiles, k as continuationDelayMs, l as listAgentIds, m as readHostCodexVersion, n as cachedAgentResolvability, nt as parseUsageLine, o as getAdapter, ot as claudeCode, p as codex, q as dedupKeys, r as commandFor, rt as shouldReplace, s as hookProfileOf, t as DEFAULT_AGENT_ID, tt as parseJsonLine, u as resetCommandCache, v as normalizeSha, w as shortSha$1, x as parseRegistryLatest, y as normalizeUpdateChannel, z as scopedClaudeRoots } from "./adapters-BMiDMZj6.js";
|
|
28
29
|
import { t as HOOK_TOOLS } from "./hook-tools-Cr97Vdap.js";
|
|
29
30
|
import { a as formatSshPublicKey, c as orderAgentSockets, i as commitSigningShimText, l as parseSshPublicKey, n as NO_AGENT_HOLDS_KEY, o as isForwardedAgentDirName, r as agentListsKey, s as isSignableGitObject, t as COMMIT_SIGNING_SHIM_NAME } from "./ssh-signing-core-CRhVVWNW.js";
|
|
30
|
-
import { a as configSiblingPath, c as defaultPairingsPath, d as decideDeviceAuth, f as deviceNameFromUserAgent, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, p as hashSecret, r as validateRemoteConfig, s as createSeenStore, t as decideBindHost, u as DEFAULT_DEVICE_MAX_AGE_MS } from "./remote-config-
|
|
31
|
-
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-
|
|
31
|
+
import { a as configSiblingPath, c as defaultPairingsPath, d as decideDeviceAuth, f as deviceNameFromUserAgent, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, p as hashSecret, r as validateRemoteConfig, s as createSeenStore, t as decideBindHost, u as DEFAULT_DEVICE_MAX_AGE_MS } from "./remote-config-DCeelB8P.js";
|
|
32
|
+
import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-DQ07GLzg.js";
|
|
32
33
|
import { _ as escapeMarkup, g as createLaneLog, n as createVisionsSetup } from "./visions-setup-VMMyqOpl.js";
|
|
33
34
|
import { t as getRtkPath } from "./rtk-resolver-BifDj_oS.js";
|
|
34
35
|
import { createRequire } from "node:module";
|
|
@@ -3121,9 +3122,39 @@ var VENDOR_PROFILES = Object.freeze({
|
|
|
3121
3122
|
"*.openai.com"
|
|
3122
3123
|
],
|
|
3123
3124
|
launchEnv: {}
|
|
3125
|
+
},
|
|
3126
|
+
kimi: {
|
|
3127
|
+
homeEntries: [".kimi-code", ".kimi"],
|
|
3128
|
+
launchWritableFolders: () => [],
|
|
3129
|
+
launchPrivateFolders: [],
|
|
3130
|
+
launchHomeEnvName: "KIMI_CODE_HOME",
|
|
3131
|
+
loginFiles: [
|
|
3132
|
+
"credentials",
|
|
3133
|
+
"device_id",
|
|
3134
|
+
"region.json"
|
|
3135
|
+
],
|
|
3136
|
+
configEntries: [
|
|
3137
|
+
"config.toml",
|
|
3138
|
+
"tui.toml",
|
|
3139
|
+
"mcp.json",
|
|
3140
|
+
"AGENTS.md",
|
|
3141
|
+
"skills",
|
|
3142
|
+
"plugins"
|
|
3143
|
+
],
|
|
3144
|
+
apiDomains: [
|
|
3145
|
+
"api.kimi.com",
|
|
3146
|
+
"api.kimi.ai",
|
|
3147
|
+
"auth.kimi.com",
|
|
3148
|
+
"auth.kimi.ai"
|
|
3149
|
+
],
|
|
3150
|
+
launchEnv: {}
|
|
3124
3151
|
}
|
|
3125
3152
|
});
|
|
3126
|
-
var GUARDRAILS_VENDORS = Object.freeze([
|
|
3153
|
+
var GUARDRAILS_VENDORS = Object.freeze([
|
|
3154
|
+
"claude",
|
|
3155
|
+
"codex",
|
|
3156
|
+
"kimi"
|
|
3157
|
+
]);
|
|
3127
3158
|
var UNWRAPPED_VENDOR_HOME_ENTRIES = Object.freeze([".grok"]);
|
|
3128
3159
|
var CREDENTIAL_HOME_ENTRIES = Object.freeze([
|
|
3129
3160
|
".ssh",
|
|
@@ -3785,6 +3816,11 @@ async function resolveVendorLocations(env, homeDir) {
|
|
|
3785
3816
|
stateFolder: await realPathWhenPresent(codexStateFolder),
|
|
3786
3817
|
configFiles: [],
|
|
3787
3818
|
otherHomes: await realPathsWhenPresent(otherCodexHomes)
|
|
3819
|
+
},
|
|
3820
|
+
kimi: {
|
|
3821
|
+
stateFolder: await realPathWhenPresent(path.dirname(kimi.configFilePath(env, homeDir))),
|
|
3822
|
+
configFiles: [],
|
|
3823
|
+
otherHomes: []
|
|
3788
3824
|
}
|
|
3789
3825
|
};
|
|
3790
3826
|
}
|
|
@@ -6592,7 +6628,7 @@ function laneRollup(entries, laneById) {
|
|
|
6592
6628
|
costUSD: 0,
|
|
6593
6629
|
sessionKeys: /* @__PURE__ */ new Set()
|
|
6594
6630
|
};
|
|
6595
|
-
bucket.tokens += totalTokensOf
|
|
6631
|
+
bucket.tokens += totalTokensOf(entry);
|
|
6596
6632
|
bucket.costUSD += numberOr(entry.costUSD, 0);
|
|
6597
6633
|
if (key) bucket.sessionKeys.add(key);
|
|
6598
6634
|
byLane.set(lane, bucket);
|
|
@@ -6618,7 +6654,7 @@ function planWindowStartsMs(rateLimits, nowMs) {
|
|
|
6618
6654
|
sevenDay: officialWindowStartMs(rateLimits?.sevenDay, SEVEN_DAY_WINDOW_MS, nowMs)
|
|
6619
6655
|
};
|
|
6620
6656
|
}
|
|
6621
|
-
function totalTokensOf
|
|
6657
|
+
function totalTokensOf(entry) {
|
|
6622
6658
|
return numberOr(entry?.input, 0) + numberOr(entry?.output, 0) + numberOr(entry?.cacheCreate, 0) + numberOr(entry?.cacheRead, 0);
|
|
6623
6659
|
}
|
|
6624
6660
|
function compareEntries(a, b) {
|
|
@@ -32821,7 +32857,7 @@ function transcriptRootCandidates(env = process.env, wanted = {}, homeDir = os.h
|
|
|
32821
32857
|
maxDepth: 3
|
|
32822
32858
|
});
|
|
32823
32859
|
}
|
|
32824
|
-
if (wanted.grok !== false) for (const candidate of
|
|
32860
|
+
if (wanted.grok !== false) for (const candidate of sessionsRootCandidates(grokHomes(env, homeDir))) candidates.push({
|
|
32825
32861
|
vendor: "grok",
|
|
32826
32862
|
dir: candidate.dir,
|
|
32827
32863
|
maxDepth: 2
|
|
@@ -41600,296 +41636,6 @@ function resolvedPrice(key, price, isExact) {
|
|
|
41600
41636
|
};
|
|
41601
41637
|
}
|
|
41602
41638
|
//#endregion
|
|
41603
|
-
//#region server/usage/core/usage-entry-core.ts
|
|
41604
|
-
var NULL_REJECT_FIELDS = Object.freeze([
|
|
41605
|
-
["id"],
|
|
41606
|
-
["cwd"],
|
|
41607
|
-
["version"],
|
|
41608
|
-
["costUSD"],
|
|
41609
|
-
["sessionId"],
|
|
41610
|
-
["requestId"],
|
|
41611
|
-
["isApiErrorMessage"],
|
|
41612
|
-
["message", "id"],
|
|
41613
|
-
["message", "model"],
|
|
41614
|
-
[
|
|
41615
|
-
"message",
|
|
41616
|
-
"usage",
|
|
41617
|
-
"speed"
|
|
41618
|
-
],
|
|
41619
|
-
[
|
|
41620
|
-
"message",
|
|
41621
|
-
"usage",
|
|
41622
|
-
"costUSD"
|
|
41623
|
-
],
|
|
41624
|
-
[
|
|
41625
|
-
"message",
|
|
41626
|
-
"usage",
|
|
41627
|
-
"cache_read_input_tokens"
|
|
41628
|
-
],
|
|
41629
|
-
[
|
|
41630
|
-
"message",
|
|
41631
|
-
"usage",
|
|
41632
|
-
"cache_creation_input_tokens"
|
|
41633
|
-
]
|
|
41634
|
-
]);
|
|
41635
|
-
function parseJsonLine(line, requiredSubstring) {
|
|
41636
|
-
if (typeof line !== "string") return null;
|
|
41637
|
-
if (requiredSubstring && !line.includes(requiredSubstring)) return null;
|
|
41638
|
-
return parseJsonRecord(line, { admitArrays: true });
|
|
41639
|
-
}
|
|
41640
|
-
function parseUsageLine(line, { versionPrefix } = {}) {
|
|
41641
|
-
const raw = parseJsonLine(line, "\"usage\":{");
|
|
41642
|
-
if (!raw) return null;
|
|
41643
|
-
const parsed = raw;
|
|
41644
|
-
if (hasExplicitNull(parsed)) return null;
|
|
41645
|
-
if (!versionIsAccepted(parsed.version, versionPrefix)) return null;
|
|
41646
|
-
if (hasPresentEmptyIdentity(parsed)) return null;
|
|
41647
|
-
const message = parsed.message;
|
|
41648
|
-
if (!message || typeof message !== "object") return null;
|
|
41649
|
-
if (typeof message.model === "string" && message.model.trim() === "") return null;
|
|
41650
|
-
const rawUsage = message.usage;
|
|
41651
|
-
if (!rawUsage || typeof rawUsage !== "object") return null;
|
|
41652
|
-
const usage = rawUsage;
|
|
41653
|
-
const timestampMs = Date.parse(String(parsed.timestamp));
|
|
41654
|
-
if (!Number.isFinite(timestampMs)) return null;
|
|
41655
|
-
const rawModel = message.model === "<synthetic>" ? null : rawTextOr(message.model, null);
|
|
41656
|
-
const speed = rawTextOr(usage.speed, null);
|
|
41657
|
-
return {
|
|
41658
|
-
timestamp: new Date(timestampMs).toISOString(),
|
|
41659
|
-
timestampMs,
|
|
41660
|
-
cwd: rawTextOr(parsed.cwd, null),
|
|
41661
|
-
version: rawTextOr(parsed.version, null),
|
|
41662
|
-
sessionId: rawTextOr(parsed.sessionId, null),
|
|
41663
|
-
requestId: rawTextOr(parsed.requestId, null),
|
|
41664
|
-
messageId: rawTextOr(message.id, null),
|
|
41665
|
-
model: modelWithSpeed(rawModel, speed),
|
|
41666
|
-
rawModel,
|
|
41667
|
-
speed,
|
|
41668
|
-
isSidechain: parsed.isSidechain === true,
|
|
41669
|
-
costUSD: numberOr(parsed.costUSD, null) ?? numberOr(usage.costUSD, null),
|
|
41670
|
-
...tokenCountsFromUsage(usage),
|
|
41671
|
-
iterations: Array.isArray(usage.iterations) ? usage.iterations : []
|
|
41672
|
-
};
|
|
41673
|
-
}
|
|
41674
|
-
function expandAdvisorIterations(entry) {
|
|
41675
|
-
if (!entry || !Array.isArray(entry.iterations)) return [];
|
|
41676
|
-
const advisorEntries = [];
|
|
41677
|
-
for (let iterationIndex = 0; iterationIndex < entry.iterations.length; iterationIndex += 1) {
|
|
41678
|
-
const iteration = entry.iterations[iterationIndex];
|
|
41679
|
-
if (!iteration || iteration.type !== "advisor_message") continue;
|
|
41680
|
-
const rawIterationUsage = iteration.usage || iteration.message?.usage || iteration;
|
|
41681
|
-
if (!rawIterationUsage || typeof rawIterationUsage !== "object") continue;
|
|
41682
|
-
const usage = rawIterationUsage;
|
|
41683
|
-
const rawModel = iteration.message?.model === "<synthetic>" ? null : rawTextOr(iteration.message?.model, null) || entry.rawModel || null;
|
|
41684
|
-
const speed = rawTextOr(usage.speed, null) || entry.speed || null;
|
|
41685
|
-
advisorEntries.push({
|
|
41686
|
-
...entry,
|
|
41687
|
-
messageId: entry.messageId ? `${entry.messageId}:advisor:${iterationIndex}` : null,
|
|
41688
|
-
model: modelWithSpeed(rawModel, speed),
|
|
41689
|
-
rawModel,
|
|
41690
|
-
speed,
|
|
41691
|
-
costUSD: null,
|
|
41692
|
-
...tokenCountsFromUsage(usage),
|
|
41693
|
-
iterations: [],
|
|
41694
|
-
isAdvisor: true
|
|
41695
|
-
});
|
|
41696
|
-
}
|
|
41697
|
-
return advisorEntries;
|
|
41698
|
-
}
|
|
41699
|
-
function identityFromRelPath(relPath) {
|
|
41700
|
-
const parts = String(relPath || "").replace(/\\/g, "/").split("/").filter(Boolean);
|
|
41701
|
-
const jsonlIndex = parts.findIndex((part) => part.endsWith(".jsonl"));
|
|
41702
|
-
const projectPartsEnd = parts[0] === "projects" ? 2 : 1;
|
|
41703
|
-
const project = parts.slice(parts[0] === "projects" ? 1 : 0, projectPartsEnd).join("/") || null;
|
|
41704
|
-
if (jsonlIndex === -1) return {
|
|
41705
|
-
project,
|
|
41706
|
-
sessionId: null
|
|
41707
|
-
};
|
|
41708
|
-
const subagentsIndex = parts.indexOf("subagents");
|
|
41709
|
-
if (subagentsIndex > 0) return {
|
|
41710
|
-
project,
|
|
41711
|
-
sessionId: parts[subagentsIndex - 1] || null
|
|
41712
|
-
};
|
|
41713
|
-
return {
|
|
41714
|
-
project,
|
|
41715
|
-
sessionId: path.basename(parts[jsonlIndex], ".jsonl") || null
|
|
41716
|
-
};
|
|
41717
|
-
}
|
|
41718
|
-
function dedupKeys(entry) {
|
|
41719
|
-
if (!entry || !entry.messageId) return {
|
|
41720
|
-
primary: null,
|
|
41721
|
-
collision: null
|
|
41722
|
-
};
|
|
41723
|
-
return {
|
|
41724
|
-
primary: entry.requestId ? `${entry.messageId}:${entry.requestId}` : entry.messageId,
|
|
41725
|
-
collision: entry.messageId
|
|
41726
|
-
};
|
|
41727
|
-
}
|
|
41728
|
-
function shouldReplace(existing, candidate) {
|
|
41729
|
-
if (!existing) return true;
|
|
41730
|
-
if (!candidate) return false;
|
|
41731
|
-
if (existing.isSidechain && !candidate.isSidechain) return true;
|
|
41732
|
-
if (!existing.isSidechain && candidate.isSidechain) return false;
|
|
41733
|
-
const existingTokens = totalTokensOf(existing);
|
|
41734
|
-
const candidateTokens = totalTokensOf(candidate);
|
|
41735
|
-
if (candidateTokens > existingTokens) return true;
|
|
41736
|
-
if (candidateTokens < existingTokens) return false;
|
|
41737
|
-
return !existing.speed && Boolean(candidate.speed);
|
|
41738
|
-
}
|
|
41739
|
-
function totalTokensOf(entry) {
|
|
41740
|
-
if (!entry) return 0;
|
|
41741
|
-
return numberOr(entry.input, 0) + numberOr(entry.output, 0) + numberOr(entry.cacheCreate, 0) + numberOr(entry.cacheRead, 0);
|
|
41742
|
-
}
|
|
41743
|
-
var UNKNOWN_GENERATION_MODEL = "unknown";
|
|
41744
|
-
var GENERATION_RECENCY_WINDOW_MS = 864e5;
|
|
41745
|
-
function isWithinGenerationRecencyWindow(entry, nowMs) {
|
|
41746
|
-
const { timestampMs } = entry;
|
|
41747
|
-
if (typeof timestampMs !== "number" || !Number.isFinite(timestampMs)) return false;
|
|
41748
|
-
return nowMs - timestampMs <= GENERATION_RECENCY_WINDOW_MS;
|
|
41749
|
-
}
|
|
41750
|
-
function addCountsToGenerationRollup(rowsByKey, entry, pricedModelKey, counts) {
|
|
41751
|
-
const sessionId = entry.sessionId ?? "";
|
|
41752
|
-
const model = pricedModelKey ?? UNKNOWN_GENERATION_MODEL;
|
|
41753
|
-
const key = JSON.stringify([sessionId, model]);
|
|
41754
|
-
const row = rowsByKey.get(key) ?? {
|
|
41755
|
-
sessionId,
|
|
41756
|
-
model,
|
|
41757
|
-
vendor: entry.vendor?.trim() || "claude",
|
|
41758
|
-
input: 0,
|
|
41759
|
-
output: 0,
|
|
41760
|
-
cacheRead: 0,
|
|
41761
|
-
cacheCreate: 0,
|
|
41762
|
-
costUSD: 0,
|
|
41763
|
-
hasKnownCost: false,
|
|
41764
|
-
isModelKnown: pricedModelKey !== null
|
|
41765
|
-
};
|
|
41766
|
-
row.input += counts.input;
|
|
41767
|
-
row.output += counts.output;
|
|
41768
|
-
row.cacheRead += counts.cacheRead;
|
|
41769
|
-
row.cacheCreate += counts.cacheCreate;
|
|
41770
|
-
row.costUSD += counts.costUSD;
|
|
41771
|
-
row.hasKnownCost = row.hasKnownCost || counts.costUSD > 0;
|
|
41772
|
-
rowsByKey.set(key, row);
|
|
41773
|
-
}
|
|
41774
|
-
function foldEntryIntoGenerationRollup(rowsByKey, entry, pricedModelKey) {
|
|
41775
|
-
addCountsToGenerationRollup(rowsByKey, entry, pricedModelKey, {
|
|
41776
|
-
input: numberOr(entry.input, 0),
|
|
41777
|
-
output: numberOr(entry.output, 0),
|
|
41778
|
-
cacheRead: numberOr(entry.cacheRead, 0),
|
|
41779
|
-
cacheCreate: numberOr(entry.cacheCreate, 0),
|
|
41780
|
-
costUSD: numberOr(entry.costUSD, 0)
|
|
41781
|
-
});
|
|
41782
|
-
}
|
|
41783
|
-
function foldReplacementIntoGenerationRollup(rowsByKey, replacedEntry, replacementEntry, pricedModelKey) {
|
|
41784
|
-
const growthOf = (field) => Math.max(0, numberOr(replacementEntry[field], 0) - numberOr(replacedEntry[field], 0));
|
|
41785
|
-
addCountsToGenerationRollup(rowsByKey, replacementEntry, pricedModelKey, {
|
|
41786
|
-
input: growthOf("input"),
|
|
41787
|
-
output: growthOf("output"),
|
|
41788
|
-
cacheRead: growthOf("cacheRead"),
|
|
41789
|
-
cacheCreate: growthOf("cacheCreate"),
|
|
41790
|
-
costUSD: growthOf("costUSD")
|
|
41791
|
-
});
|
|
41792
|
-
}
|
|
41793
|
-
function mergeGenerationRollups(targetRowsByKey, sourceRowsByKey) {
|
|
41794
|
-
for (const [key, sourceRow] of sourceRowsByKey) {
|
|
41795
|
-
const targetRow = targetRowsByKey.get(key);
|
|
41796
|
-
if (!targetRow) {
|
|
41797
|
-
targetRowsByKey.set(key, { ...sourceRow });
|
|
41798
|
-
continue;
|
|
41799
|
-
}
|
|
41800
|
-
targetRow.input += sourceRow.input;
|
|
41801
|
-
targetRow.output += sourceRow.output;
|
|
41802
|
-
targetRow.cacheRead += sourceRow.cacheRead;
|
|
41803
|
-
targetRow.cacheCreate += sourceRow.cacheCreate;
|
|
41804
|
-
targetRow.costUSD += sourceRow.costUSD;
|
|
41805
|
-
targetRow.hasKnownCost = targetRow.hasKnownCost || sourceRow.hasKnownCost;
|
|
41806
|
-
}
|
|
41807
|
-
}
|
|
41808
|
-
function emptyTotals() {
|
|
41809
|
-
return {
|
|
41810
|
-
tokens: 0,
|
|
41811
|
-
costUSD: 0,
|
|
41812
|
-
input: 0,
|
|
41813
|
-
output: 0,
|
|
41814
|
-
cacheCreate: 0,
|
|
41815
|
-
cacheRead: 0
|
|
41816
|
-
};
|
|
41817
|
-
}
|
|
41818
|
-
function addEntryToTotals(totals, entry, tokens = totalTokensOf(entry)) {
|
|
41819
|
-
totals.input += numberOr(entry.input, 0);
|
|
41820
|
-
totals.output += numberOr(entry.output, 0);
|
|
41821
|
-
totals.cacheCreate += numberOr(entry.cacheCreate, 0);
|
|
41822
|
-
totals.cacheRead += numberOr(entry.cacheRead, 0);
|
|
41823
|
-
totals.tokens += tokens;
|
|
41824
|
-
totals.costUSD += numberOr(entry.costUSD, 0);
|
|
41825
|
-
}
|
|
41826
|
-
function vendorUsageEntry({ timestampMs, sessionId, model, input, output, cacheCreate, cacheRead, costUSD, vendor, messageId = null }) {
|
|
41827
|
-
return {
|
|
41828
|
-
timestamp: new Date(timestampMs).toISOString(),
|
|
41829
|
-
timestampMs,
|
|
41830
|
-
sessionId,
|
|
41831
|
-
model,
|
|
41832
|
-
input,
|
|
41833
|
-
output,
|
|
41834
|
-
cacheCreate,
|
|
41835
|
-
cacheCreation5m: 0,
|
|
41836
|
-
cacheCreation1h: 0,
|
|
41837
|
-
cacheRead,
|
|
41838
|
-
costUSD,
|
|
41839
|
-
vendor,
|
|
41840
|
-
messageId,
|
|
41841
|
-
requestId: null,
|
|
41842
|
-
isSidechain: false
|
|
41843
|
-
};
|
|
41844
|
-
}
|
|
41845
|
-
function modelWithSpeed(rawModel, speed) {
|
|
41846
|
-
if (!rawModel || speed !== "fast" || rawModel.endsWith("-fast")) return rawModel;
|
|
41847
|
-
return `${rawModel}-fast`;
|
|
41848
|
-
}
|
|
41849
|
-
function tokenCountsFromUsage(usage) {
|
|
41850
|
-
const input = numberOr(usage.input_tokens, 0);
|
|
41851
|
-
const output = numberOr(usage.output_tokens, 0);
|
|
41852
|
-
const cacheCreation = usage.cache_creation && typeof usage.cache_creation === "object" ? usage.cache_creation : null;
|
|
41853
|
-
const cacheCreation5m = cacheCreation ? numberOr(cacheCreation.ephemeral_5m_input_tokens, 0) : numberOr(usage.cache_creation_input_tokens, 0);
|
|
41854
|
-
const cacheCreation1h = cacheCreation ? numberOr(cacheCreation.ephemeral_1h_input_tokens, 0) : 0;
|
|
41855
|
-
return {
|
|
41856
|
-
input,
|
|
41857
|
-
output,
|
|
41858
|
-
cacheCreate: cacheCreation5m + cacheCreation1h,
|
|
41859
|
-
cacheCreation5m,
|
|
41860
|
-
cacheCreation1h,
|
|
41861
|
-
cacheRead: numberOr(usage.cache_read_input_tokens, 0)
|
|
41862
|
-
};
|
|
41863
|
-
}
|
|
41864
|
-
function hasExplicitNull(parsed) {
|
|
41865
|
-
return NULL_REJECT_FIELDS.some((fieldPath) => hasNullAtPath(parsed, fieldPath));
|
|
41866
|
-
}
|
|
41867
|
-
function hasNullAtPath(value, fieldPath) {
|
|
41868
|
-
let current = value;
|
|
41869
|
-
for (const part of fieldPath) {
|
|
41870
|
-
if (!current || typeof current !== "object") return false;
|
|
41871
|
-
if (!Object.hasOwn(current, part)) return false;
|
|
41872
|
-
current = current[part];
|
|
41873
|
-
}
|
|
41874
|
-
return current === null;
|
|
41875
|
-
}
|
|
41876
|
-
function versionIsAccepted(version, versionPrefix) {
|
|
41877
|
-
if (typeof version !== "string" || version.length === 0) return true;
|
|
41878
|
-
if (!/^\d+\.\d+\.\d+/.test(version)) return false;
|
|
41879
|
-
if (!versionPrefix) return true;
|
|
41880
|
-
return version.startsWith(versionPrefix);
|
|
41881
|
-
}
|
|
41882
|
-
function hasPresentEmptyIdentity(parsed) {
|
|
41883
|
-
if (presentEmpty(parsed.sessionId)) return true;
|
|
41884
|
-
if (presentEmpty(parsed.requestId)) return true;
|
|
41885
|
-
if (presentEmpty(parsed.id)) return true;
|
|
41886
|
-
if (presentEmpty(parsed.message?.id)) return true;
|
|
41887
|
-
return presentEmpty(parsed.message?.model);
|
|
41888
|
-
}
|
|
41889
|
-
function presentEmpty(value) {
|
|
41890
|
-
return typeof value === "string" && value.trim() === "";
|
|
41891
|
-
}
|
|
41892
|
-
//#endregion
|
|
41893
41639
|
//#region server/usage/core/usage-aggregate-core.ts
|
|
41894
41640
|
function buildUsageReport(entries, { now = Date.now(), blockHours = 5, retainDays = 90, sessionsById = /* @__PURE__ */ new Map(), tz = null } = {}) {
|
|
41895
41641
|
const keptEntries = pruneEntries(entries, {
|
|
@@ -41930,7 +41676,7 @@ function addEntryToVendorTotals(map, entry) {
|
|
|
41930
41676
|
tokens: 0,
|
|
41931
41677
|
costUSD: 0
|
|
41932
41678
|
};
|
|
41933
|
-
bucket.tokens += totalTokensOf(entry);
|
|
41679
|
+
bucket.tokens += totalTokensOf$1(entry);
|
|
41934
41680
|
bucket.costUSD += numberOr(entry.costUSD, 0);
|
|
41935
41681
|
map.set(vendor, bucket);
|
|
41936
41682
|
}
|
|
@@ -42804,7 +42550,7 @@ function shouldTrackMissingModel({ entry, resolved, priced, costMode }) {
|
|
|
42804
42550
|
if (resolved) return false;
|
|
42805
42551
|
if (priced.priced) return false;
|
|
42806
42552
|
if (!entry.model) return false;
|
|
42807
|
-
return totalTokensOf(entry) > 0;
|
|
42553
|
+
return totalTokensOf$1(entry) > 0;
|
|
42808
42554
|
}
|
|
42809
42555
|
function isClaudeEntry(entry) {
|
|
42810
42556
|
const vendor = typeof entry?.vendor === "string" ? entry.vendor.trim() : "";
|
|
@@ -42859,6 +42605,10 @@ function keysForEntry(entry, syntheticPrimary = null) {
|
|
|
42859
42605
|
primary: grokDedupIdentity(entry),
|
|
42860
42606
|
collision: null
|
|
42861
42607
|
};
|
|
42608
|
+
if (entry?.vendor === "kimi") return {
|
|
42609
|
+
primary: kimiDedupIdentity(entry),
|
|
42610
|
+
collision: null
|
|
42611
|
+
};
|
|
42862
42612
|
const keys = dedupKeys(entry);
|
|
42863
42613
|
return {
|
|
42864
42614
|
primary: keys.primary || syntheticPrimary || entry?.[SYNTHETIC_PRIMARY] || null,
|
|
@@ -42931,7 +42681,7 @@ async function resolveVendorRootsAsync({ fsPromises, env, homeDir, vendors, lane
|
|
|
42931
42681
|
});
|
|
42932
42682
|
}
|
|
42933
42683
|
if (vendors?.grok !== false) {
|
|
42934
|
-
const surviving = await existingRoots(
|
|
42684
|
+
const surviving = await existingRoots(sessionsRootCandidates(grokHomes(env, homeDir)), fsPromises, laneLog);
|
|
42935
42685
|
ioFailures += surviving.ioFailures;
|
|
42936
42686
|
for (const root of surviving.roots) roots.push({
|
|
42937
42687
|
vendor: "grok",
|
|
@@ -42939,6 +42689,15 @@ async function resolveVendorRootsAsync({ fsPromises, env, homeDir, vendors, lane
|
|
|
42939
42689
|
kind: root.kind
|
|
42940
42690
|
});
|
|
42941
42691
|
}
|
|
42692
|
+
if (vendors?.kimi !== false) {
|
|
42693
|
+
const surviving = await existingRoots(sessionsRootCandidates(kimiHomes(env, homeDir)), fsPromises, laneLog);
|
|
42694
|
+
ioFailures += surviving.ioFailures;
|
|
42695
|
+
for (const root of surviving.roots) roots.push({
|
|
42696
|
+
vendor: "kimi",
|
|
42697
|
+
dir: root.dir,
|
|
42698
|
+
kind: root.kind
|
|
42699
|
+
});
|
|
42700
|
+
}
|
|
42942
42701
|
return {
|
|
42943
42702
|
roots,
|
|
42944
42703
|
ioFailures
|
|
@@ -42990,7 +42749,8 @@ async function walkSourceFiles(roots, fsPromises, laneLog) {
|
|
|
42990
42749
|
function createUsageScanner(deps = {}) {
|
|
42991
42750
|
const { fsPromises = fs$1, env = process.env, homeDir = os.homedir(), nowFn = Date.now, pricingTable, aliases = {}, costMode = "auto", blockHours = 5, retainDays = 90, extraProjectsDirs = [], vendors = {
|
|
42992
42751
|
codex: true,
|
|
42993
|
-
grok: true
|
|
42752
|
+
grok: true,
|
|
42753
|
+
kimi: true
|
|
42994
42754
|
}, warehousePath = null, warehouseRetainDays = 365, budget: budgetDep = null, laneMap = null, logger = noopLogger, byteBudget = DEFAULT_BYTE_BUDGET, chunkSize = DEFAULT_CHUNK_SIZE, yieldNowFn = yieldNow } = deps;
|
|
42995
42755
|
const laneLog = createLaneLog({
|
|
42996
42756
|
prefix: "[usage]",
|
|
@@ -43176,6 +42936,7 @@ function createUsageScanner(deps = {}) {
|
|
|
43176
42936
|
}, file);
|
|
43177
42937
|
}
|
|
43178
42938
|
if (vendor === "grok") return ingestVendorLine(parseGrokUsageLine(line), file);
|
|
42939
|
+
if (vendor === "kimi") return ingestVendorLine(parseKimiUsageLine(line, file), file);
|
|
43179
42940
|
const parsed = parseUsageLine(line);
|
|
43180
42941
|
if (!parsed) return 0;
|
|
43181
42942
|
const relPath = relativeToProjects(file, claudeRoots);
|
|
@@ -43554,7 +43315,7 @@ function createUsageScanner(deps = {}) {
|
|
|
43554
43315
|
costUSD: 0,
|
|
43555
43316
|
lastTs: null
|
|
43556
43317
|
};
|
|
43557
|
-
bucket.tokens += totalTokensOf(entry);
|
|
43318
|
+
bucket.tokens += totalTokensOf$1(entry);
|
|
43558
43319
|
bucket.costUSD += Number.isFinite(entry.costUSD) ? Number(entry.costUSD) : 0;
|
|
43559
43320
|
bucket.lastTs = Math.max(bucket.lastTs || 0, entry.timestampMs);
|
|
43560
43321
|
totalsBySession.set(key, bucket);
|
|
@@ -43754,7 +43515,8 @@ var DEFAULT_USAGE_CONFIG = Object.freeze({
|
|
|
43754
43515
|
},
|
|
43755
43516
|
vendors: {
|
|
43756
43517
|
codex: true,
|
|
43757
|
-
grok: true
|
|
43518
|
+
grok: true,
|
|
43519
|
+
kimi: true
|
|
43758
43520
|
}
|
|
43759
43521
|
});
|
|
43760
43522
|
var OFFICIAL_COST_CAP = 200;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as errorMessage } from "./text-DoirglWV.js";
|
|
2
|
-
import { l as resolveConfigPath } from "./config-store-
|
|
3
|
-
import { c as defaultPairingsPath, i as REVOCATION_PROPAGATION_SECONDS, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, s as createSeenStore } from "./remote-config-
|
|
2
|
+
import { l as resolveConfigPath } from "./config-store-BDnviJpb.js";
|
|
3
|
+
import { c as defaultPairingsPath, i as REVOCATION_PROPAGATION_SECONDS, l as defaultSeenPath, n as normalizeRemoteConfig, o as createPairingsStore, s as createSeenStore } from "./remote-config-DCeelB8P.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
//#region server/text-format.ts
|
|
6
6
|
function trimIso(iso) {
|
|
@@ -3,7 +3,7 @@ import { n as equalsIgnoringCaseOnWindows } from "./paths-Bu4eH1Yd.js";
|
|
|
3
3
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
4
4
|
import { n as unrefTimer, t as DEFAULT_TIMER_FNS } from "./timer-deps-u2DAQLok.js";
|
|
5
5
|
import { a as jsonStateLoadError, d as writeJsonAtomicSync, l as sleepSync, s as loadJsonStateFileSync, u as writeJsonAtomic } from "./json-file-BjFK_eSH.js";
|
|
6
|
-
import { dt as canonicalizePath, s as glimmervoidHomeDir } from "./config-store-
|
|
6
|
+
import { dt as canonicalizePath, s as glimmervoidHomeDir } from "./config-store-BDnviJpb.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import crypto from "node:crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as errorMessage, t as errorCode } from "./text-DoirglWV.js";
|
|
2
2
|
import { n as glimmervoidHomeDir, t as decideConfigPath } from "./config-path-core-DUWk0Lui.js";
|
|
3
3
|
import { f as AgentSettingsReply } from "./session-B2Wieg0a.js";
|
|
4
|
-
import { r as BrowserConfig } from "./config-
|
|
4
|
+
import { r as BrowserConfig } from "./config-CfYYorC4.js";
|
|
5
5
|
import { n as isRecord } from "./coerce-NSst8oRP.js";
|
|
6
6
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
7
|
-
import { A as setValueAtPath, F as SETTINGS_REGISTRY, N as valueAtPath, O as parsePosthogProjectSelection, T as deleteValueAtPath, c as loadConfigFile, d as validateConfig, et as ENV_SECRET_BINDINGS, f as isSettingAvailable, k as scoreSettingsSearch, r as IS_EXPERIMENTAL_BUILD, rt as withEnvSecrets, tt as readEnvSecrets, u as saveConfigFileOnce, w as cloneValue } from "./config-store-
|
|
8
|
-
import { a as fail, c as listSettings, d as renderSectionTables, f as requireConfigFileSetting, g as valueText, h as succeed, i as describeSetting, l as readSetting, m as settingsRequestForServer, n as configFileViewOf, o as fitColumn, p as sectionOf, r as defaultText, s as getSetting, t as availableSettings } from "./settings-readout-core-
|
|
7
|
+
import { A as setValueAtPath, F as SETTINGS_REGISTRY, N as valueAtPath, O as parsePosthogProjectSelection, T as deleteValueAtPath, c as loadConfigFile, d as validateConfig, et as ENV_SECRET_BINDINGS, f as isSettingAvailable, k as scoreSettingsSearch, r as IS_EXPERIMENTAL_BUILD, rt as withEnvSecrets, tt as readEnvSecrets, u as saveConfigFileOnce, w as cloneValue } from "./config-store-BDnviJpb.js";
|
|
8
|
+
import { a as fail, c as listSettings, d as renderSectionTables, f as requireConfigFileSetting, g as valueText, h as succeed, i as describeSetting, l as readSetting, m as settingsRequestForServer, n as configFileViewOf, o as fitColumn, p as sectionOf, r as defaultText, s as getSetting, t as availableSettings } from "./settings-readout-core-DQ07GLzg.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import { parseArgs } from "node:util";
|
|
@@ -330,7 +330,7 @@ function processIo() {
|
|
|
330
330
|
async function runSettingsCli(commandArguments, io = processIo()) {
|
|
331
331
|
const serverRequest = settingsRequestForServer(commandArguments, process.env);
|
|
332
332
|
if (!serverRequest) return runSettingsCommand(commandArguments, io);
|
|
333
|
-
const { askAgentApi } = await import("./agent-api-cli-
|
|
333
|
+
const { askAgentApi } = await import("./agent-api-cli-bNlTz-7w.js");
|
|
334
334
|
const reply = AgentSettingsReply.safeParse(await askAgentApi("settings", serverRequest).catch((error) => ({
|
|
335
335
|
ok: false,
|
|
336
336
|
error: errorMessage(error)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as AgentSettingsRequest } from "./session-B2Wieg0a.js";
|
|
2
2
|
import { t as renderTable } from "./ascii-figure-core-pDAwtlKO.js";
|
|
3
|
-
import { C as SETTINGS_INDEX, D as hasScaledUnit, E as displayText, F as SETTINGS_REGISTRY, M as settingsOf, N as valueAtPath, P as FILE_ONLY_GROUPS, f as isSettingAvailable, j as settingsGroupOf, tt as readEnvSecrets, w as cloneValue } from "./config-store-
|
|
3
|
+
import { C as SETTINGS_INDEX, D as hasScaledUnit, E as displayText, F as SETTINGS_REGISTRY, M as settingsOf, N as valueAtPath, P as FILE_ONLY_GROUPS, f as isSettingAvailable, j as settingsGroupOf, tt as readEnvSecrets, w as cloneValue } from "./config-store-BDnviJpb.js";
|
|
4
4
|
import { parseArgs } from "node:util";
|
|
5
5
|
//#region server/core/settings-readout-core.ts
|
|
6
6
|
var VALUE_COLUMN_WIDTH = 40;
|
|
@@ -2,7 +2,7 @@ import { r as errorMessage } from "./text-DoirglWV.js";
|
|
|
2
2
|
import { O as SIGN_URL_ENV, P as SshSignReply } from "./session-B2Wieg0a.js";
|
|
3
3
|
import { n as execFileAsync, o as spawn } from "./child-process-safe-D4hyVIXj.js";
|
|
4
4
|
import { a as isLoopbackHostname } from "./hook-relay-core-DA_bz2KA.js";
|
|
5
|
-
import { n as postToAgentIngress } from "./agent-api-cli-
|
|
5
|
+
import { n as postToAgentIngress } from "./agent-api-cli-DOzlY0Hz.js";
|
|
6
6
|
import { l as parseSshPublicKey } from "./ssh-signing-core-CRhVVWNW.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Bi as e,Gi as t,Hi as n,Ki as r,Ui as i,Vi as a,Wi as o,zi as s}from"./index-
|
|
1
|
+
import{Bi as e,Gi as t,Hi as n,Ki as r,Ui as i,Vi as a,Wi as o,zi as s}from"./index-DTitP2AL.js";var c=.3,l=null;function u(){return r(l)}function d(e){return t(e,l)}async function f(){try{let e=await fetch(s,{credentials:`same-origin`,cache:`no-store`});e.ok&&(l=o(await e.json()))}catch{}}function p(){let e=new AudioContext;return e.state===`suspended`&&e.resume(),e}function m(e,t){setTimeout(()=>e.close().catch(()=>{}),(t+.1)*1e3)}function h(e){g(a[e]??a.chime)}function g(e){let t=p(),n=t.createGain();n.gain.value=e.peakGain,n.connect(t.destination);let r=t.currentTime,i=0;for(let a of e.tones){let e=r+a.startSeconds,o=e+a.durationSeconds,s=t.createOscillator(),c=t.createGain();s.type=a.waveform,s.frequency.setValueAtTime(a.frequency,e),a.endFrequency&&s.frequency.exponentialRampToValueAtTime(a.endFrequency,o),c.gain.setValueAtTime(.001,e),c.gain.exponentialRampToValueAtTime(a.gain??1,e+.01),c.gain.exponentialRampToValueAtTime(.001,o),s.connect(c),c.connect(n),s.start(e),s.stop(o),i=Math.max(i,a.startSeconds+a.durationSeconds)}m(t,i)}async function _(e){try{let t=await fetch(i(e),{credentials:`same-origin`});return t.ok?await t.arrayBuffer():null}catch{return null}}async function v(e){let t=await _(e);if(!t)return!1;let n=p();try{let e=await n.decodeAudioData(t),r=n.createGain();r.gain.value=c,r.connect(n.destination);let i=n.createBufferSource();return i.buffer=e,i.connect(r),i.start(),m(n,e.duration),!0}catch{return n.close().catch(()=>{}),!1}}var y=[659.25,830.61,987.77,1108.73,987.77,830.61,739.99,659.25,739.99,830.61,987.77,1108.73,987.77,830.61];function b(){try{let e=new AudioContext;if(e.state===`suspended`&&e.resume(),e.state===`suspended`)return;let t=e.createGain();t.gain.value=.05,t.connect(e.destination);let n=.125,r=e.currentTime;for(let i=0;i<y.length;i++){let a=r+i*n,o=e.createOscillator(),s=e.createGain();o.type=`square`,o.frequency.value=y[i],s.gain.setValueAtTime(.001,a),s.gain.exponentialRampToValueAtTime(1,a+.01),s.gain.exponentialRampToValueAtTime(.001,a+n*.9),o.connect(s),s.connect(t),o.start(a),o.stop(a+n)}let i=r+y.length*n;t.gain.setValueAtTime(.05,i-.05),t.gain.exponentialRampToValueAtTime(.001,i),setTimeout(()=>e.close().catch(()=>{}),(i-r+.1)*1e3)}catch{}}function x(){try{h(e)}catch{}}function S(e){try{let t=d(e),r=n(t);if(!r){h(t);return}v(r).then(e=>{e||x()})}catch{}}export{f as loadCustomSounds,S as playAlertSound,b as playNyanJingle,g as playToneSequence,d as resolveSoundId,u as soundOptions};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./updates-view-core-BYoMfzXj.js";import{n as e,o as t,r as n}from"./dom-helpers-C7P3_59O.js";import{J as r,Y as i,q as a}from"./index-
|
|
1
|
+
import"./updates-view-core-BYoMfzXj.js";import{n as e,o as t,r as n}from"./dom-helpers-C7P3_59O.js";import{J as r,Y as i,q as a}from"./index-DTitP2AL.js";var o={mine:`Mine`,run:`Run`,cancel:`Cancel`},s=null;function c(e){return e===null?`n/a`:`${Math.round(e*100)}%`}function l(e){if(e===null)return`n/a`;let t=Math.round(e*100);return t>0?`+${t}`:String(t)}function u(e,n,i){let a=t(`button`,`bench-action-button`,o[n]);return a.type=`button`,a.disabled=i,a.addEventListener(`click`,()=>r(e.id,n)),a}function d(e,t){let n=e.inFlight;if(!n||n.suiteId!==t.id)return``;let r=n.caseId?`case ${n.caseId}, `:``;return`Cell ${n.cellIndex+1} of ${n.cellCount}: ${r}arm ${n.armId}, trial ${n.trial}, ${n.phase}.`}function f(e){let n=t(`td`,`bench-score`,c(e?.recall??null));return e&&e.invalid>0&&(n.title=`${e.invalid} invalid or failed cell(s)`),e&&e.degraded>0&&(n.dataset.degraded=`true`),n}function p(e){let n=e.armIds.filter(t=>t!==e.baselineArm),r=t(`table`,`bench-table`),i=t(`tr`);i.append(t(`th`,null,`Case`),...e.armIds.map(n=>t(`th`,null,n===e.baselineArm?`${n} (baseline)`:n))),i.append(...n.map(e=>t(`th`,null,`${e} vs baseline`))),r.append(i);for(let i of e.rows){let a=t(`tr`);a.append(t(`td`,`bench-case`,i.caseId),...e.armIds.map(e=>f(i.arms[e]))),a.append(...n.map(e=>t(`td`,`bench-delta`,l(i.deltaVsBaseline[e]??null)))),r.append(a)}let a=[...new Set(e.armIds.flatMap(t=>Object.keys(e.totals[t]?.recallByTag??{})))].sort(),o=t(`tr`,`bench-total`);o.append(t(`td`,`bench-case`,`Paired recall`),...e.armIds.map(t=>f(e.totals[t]))),r.append(o);for(let n of a){let i=t(`tr`,`bench-total`);i.append(t(`td`,`bench-case`,`Recall, ${n}`),...e.armIds.map(r=>t(`td`,`bench-score`,c(e.totals[r]?.recallByTag[n]??null)))),r.append(i)}return r}function m(e,r){let{isServerConnected:i,pendingActionBySuite:o,outcomeBySuite:s}=a(),c=t(`div`,`bench-suite`),l=e.inFlight?.suiteId===r.id,f=!!e.inFlight&&!l,m=o.has(r.id)||!i,h=t(`div`,`bench-summary`);h.append(t(`span`,`bench-suite-title`,r.title),n(`bench`,r.caseCount===1?`case`:`cases`,String(r.caseCount)),n(`bench`,r.candidateCount===1?`candidate`:`candidates`,String(r.candidateCount)),n(`bench`,`arms`,String(r.armIds.length))),c.append(h);let g=t(`div`,`bench-controls`),_=e.configured===!0&&r.error===null;g.append(u(r,`mine`,!_||m||l),u(r,`run`,!_||m||l||f||r.caseCount===0),u(r,`cancel`,m||!l));let v=t(`span`,`bench-status`,(i?``:`Not connected to the server. Reconnecting.`)||d(e,r)||s.get(r.id)||``);if(v.setAttribute(`role`,`status`),g.append(v),c.append(g),r.error)return c.append(t(`p`,`bench-error`,r.error)),c;let y=r.latestReport;return y?(c.append(t(`p`,`bench-run-line`,`Latest run ${y.runId}: ${y.status}. Only cases every arm scored count toward paired recall.`)),y.rows.length>0&&c.append(p(y)),c):(c.append(t(`p`,`bench-empty`,r.caseCount===0?`Move approved candidates into the cases folder, then choose Run.`:`No run yet.`)),c)}function h(){if(!s)return;s.textContent=``;let{status:n}=a(),r=e(`bench`,`Benchmarks`,`Suites from the benchmarks folder of the Glimmervoid home, one run at a time.`);if(s.append(r),!n)s.append(t(`p`,`bench-empty`,`Waiting for the server.`));else if(!n.configured)s.append(t(`p`,`bench-empty`,n.reason||`Benchmarks are off.`));else if(n.suites.length===0)s.append(t(`p`,`bench-empty`,`No suites yet. Create a folder holding suite.json under benchmarks in the Glimmervoid home.`));else for(let e of n.suites)s.append(m(n,e))}function g(e){s||(s=t(`div`,`bench-content`),e.append(s),i(h),h())}var _={mount:g};export{_ as view};
|
|
Binary file
|