glimmervoid 0.46.2-next.171 → 0.46.2-next.173

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.
Files changed (83) hide show
  1. package/dist/bin/glimmervoid.js +3 -3
  2. package/dist/chunks/config-store-JBGZdYkl.js +1 -0
  3. package/dist/chunks/{config-store-DWSMumb7.js → config-store-spwYOFDu.js} +28 -1
  4. package/dist/chunks/{main-C7gMpA96.js → main-BwauwpZL.js} +368 -84
  5. package/dist/chunks/{pair-cli-DM6Xq2ih.js → pair-cli-clh2ygTY.js} +2 -2
  6. package/dist/chunks/{remote-config-iLIA4R6l.js → remote-config-Bo_J3M1S.js} +1 -1
  7. package/dist/chunks/{settings-cli-BllYJrN0.js → settings-cli-Djt2iuwA.js} +2 -2
  8. package/dist/chunks/{settings-readout-core-IdcIhB9-.js → settings-readout-core-BvFFMqxG.js} +1 -1
  9. package/dist/client/assets/{alert-sound-Dq-enfpR.js → alert-sound-KOmDZmsZ.js} +1 -1
  10. package/dist/client/assets/alert-sound-KOmDZmsZ.js.br +0 -0
  11. package/dist/client/assets/{benchmark-panel-BikB-_FY.js → benchmark-panel-C4r_3W-F.js} +1 -1
  12. package/dist/client/assets/benchmark-panel-C4r_3W-F.js.br +0 -0
  13. package/dist/client/assets/{celebration-player-DvSoIWeX.js → celebration-player-C5FMWbjD.js} +1 -1
  14. package/dist/client/assets/celebration-player-C5FMWbjD.js.br +0 -0
  15. package/dist/client/assets/{dialogs-6ciKmSiB.js → dialogs-FiBsJeiO.js} +1 -1
  16. package/dist/client/assets/dialogs-FiBsJeiO.js.br +0 -0
  17. package/dist/client/assets/{doc-editor-ui-C2zcKusU.js → doc-editor-ui-DbMj7D-x.js} +1 -1
  18. package/dist/client/assets/doc-editor-ui-DbMj7D-x.js.br +0 -0
  19. package/dist/client/assets/{feature-hint-kHMR3HMg.js → feature-hint-CMiXKIUo.js} +1 -1
  20. package/dist/client/assets/feature-hint-CMiXKIUo.js.br +0 -0
  21. package/dist/client/assets/{first-run-checklist--8uSEF3q.js → first-run-checklist-CCa1c4F3.js} +1 -1
  22. package/dist/client/assets/first-run-checklist-CCa1c4F3.js.br +0 -0
  23. package/dist/client/assets/{hooks-panel-BNTBcSbC.js → hooks-panel-DeXiYabJ.js} +1 -1
  24. package/dist/client/assets/hooks-panel-DeXiYabJ.js.br +0 -0
  25. package/dist/client/assets/{index-kz72TdpI.js → index-x5tY5JA_.js} +5 -5
  26. package/dist/client/assets/index-x5tY5JA_.js.br +0 -0
  27. package/dist/client/assets/{issues-panel-DBC8Vskj.js → issues-panel-ca0GThsW.js} +1 -1
  28. package/dist/client/assets/issues-panel-ca0GThsW.js.br +0 -0
  29. package/dist/client/assets/{nyan-cat-BwFt-tby.js → nyan-cat-BEYDgVUY.js} +1 -1
  30. package/dist/client/assets/nyan-cat-BEYDgVUY.js.br +0 -0
  31. package/dist/client/assets/{phone-shell-OOBCrgwW.js → phone-shell-hnz1TIGX.js} +1 -1
  32. package/dist/client/assets/phone-shell-hnz1TIGX.js.br +0 -0
  33. package/dist/client/assets/{plan-face-BSuNTzAk.js → plan-face-QFqAlQfK.js} +1 -1
  34. package/dist/client/assets/plan-face-QFqAlQfK.js.br +0 -0
  35. package/dist/client/assets/{plan-render-VtKpijKn.js → plan-render-BOvKLSJu.js} +1 -1
  36. package/dist/client/assets/plan-render-BOvKLSJu.js.br +0 -0
  37. package/dist/client/assets/{pr-scope-tabs-CF_yd5tk.js → pr-scope-tabs-sIU7WIhN.js} +1 -1
  38. package/dist/client/assets/pr-scope-tabs-sIU7WIhN.js.br +0 -0
  39. package/dist/client/assets/{radar-panel-CaFgQmHA.js → radar-panel-DJL1aorK.js} +1 -1
  40. package/dist/client/assets/radar-panel-DJL1aorK.js.br +0 -0
  41. package/dist/client/assets/{resume-dialog-C8rDuOMu.js → resume-dialog-BNElTTX4.js} +1 -1
  42. package/dist/client/assets/resume-dialog-BNElTTX4.js.br +0 -0
  43. package/dist/client/assets/{review-queue-panel-Cvwz_EgS.js → review-queue-panel-DMtTWYMz.js} +1 -1
  44. package/dist/client/assets/review-queue-panel-DMtTWYMz.js.br +0 -0
  45. package/dist/client/assets/settings-panel-DAr7xlx4.js +4 -0
  46. package/dist/client/assets/settings-panel-DAr7xlx4.js.br +0 -0
  47. package/dist/client/assets/{shown-lightbox-dkDHFWD-.js → shown-lightbox-BbXOxPvH.js} +1 -1
  48. package/dist/client/assets/shown-lightbox-BbXOxPvH.js.br +0 -0
  49. package/dist/client/assets/{trace-panel-BVTtXItR.js → trace-panel-B6r_efcE.js} +1 -1
  50. package/dist/client/assets/trace-panel-B6r_efcE.js.br +0 -0
  51. package/dist/client/assets/{usage-panel-C_xWpRSQ.js → usage-panel-CejV-Nad.js} +1 -1
  52. package/dist/client/assets/usage-panel-CejV-Nad.js.br +0 -0
  53. package/dist/client/assets/{visions-panel-8a_9hSv4.js → visions-panel-DP8OjRB4.js} +1 -1
  54. package/dist/client/assets/visions-panel-DP8OjRB4.js.br +0 -0
  55. package/dist/client/index.html +1 -1
  56. package/dist/client/index.html.br +0 -0
  57. package/dist/server/index.js +1 -1
  58. package/package.json +1 -1
  59. package/dist/chunks/config-store-D-DLX3ow.js +0 -1
  60. package/dist/client/assets/alert-sound-Dq-enfpR.js.br +0 -0
  61. package/dist/client/assets/benchmark-panel-BikB-_FY.js.br +0 -0
  62. package/dist/client/assets/celebration-player-DvSoIWeX.js.br +0 -0
  63. package/dist/client/assets/dialogs-6ciKmSiB.js.br +0 -0
  64. package/dist/client/assets/doc-editor-ui-C2zcKusU.js.br +0 -0
  65. package/dist/client/assets/feature-hint-kHMR3HMg.js.br +0 -0
  66. package/dist/client/assets/first-run-checklist--8uSEF3q.js.br +0 -0
  67. package/dist/client/assets/hooks-panel-BNTBcSbC.js.br +0 -0
  68. package/dist/client/assets/index-kz72TdpI.js.br +0 -0
  69. package/dist/client/assets/issues-panel-DBC8Vskj.js.br +0 -0
  70. package/dist/client/assets/nyan-cat-BwFt-tby.js.br +0 -0
  71. package/dist/client/assets/phone-shell-OOBCrgwW.js.br +0 -0
  72. package/dist/client/assets/plan-face-BSuNTzAk.js.br +0 -0
  73. package/dist/client/assets/plan-render-VtKpijKn.js.br +0 -0
  74. package/dist/client/assets/pr-scope-tabs-CF_yd5tk.js.br +0 -0
  75. package/dist/client/assets/radar-panel-CaFgQmHA.js.br +0 -0
  76. package/dist/client/assets/resume-dialog-C8rDuOMu.js.br +0 -0
  77. package/dist/client/assets/review-queue-panel-Cvwz_EgS.js.br +0 -0
  78. package/dist/client/assets/settings-panel-rezdCJ7R.js +0 -4
  79. package/dist/client/assets/settings-panel-rezdCJ7R.js.br +0 -0
  80. package/dist/client/assets/shown-lightbox-dkDHFWD-.js.br +0 -0
  81. package/dist/client/assets/trace-panel-BVTtXItR.js.br +0 -0
  82. package/dist/client/assets/usage-panel-C_xWpRSQ.js.br +0 -0
  83. package/dist/client/assets/visions-panel-8a_9hSv4.js.br +0 -0
@@ -65,7 +65,7 @@ var OWN_SUBCOMMAND_RUNNERS = [
65
65
  return 0;
66
66
  }],
67
67
  ["pair", async (subcommandArgs) => {
68
- const { runPairCli } = await import("../chunks/pair-cli-DM6Xq2ih.js");
68
+ const { runPairCli } = await import("../chunks/pair-cli-clh2ygTY.js");
69
69
  return runPairCli(subcommandArgs);
70
70
  }],
71
71
  ["agent", async (subcommandArgs) => {
@@ -73,7 +73,7 @@ var OWN_SUBCOMMAND_RUNNERS = [
73
73
  return runAgentSetupCli(subcommandArgs);
74
74
  }],
75
75
  ["settings", async (subcommandArgs) => {
76
- const { runSettingsCli } = await import("../chunks/settings-cli-BllYJrN0.js");
76
+ const { runSettingsCli } = await import("../chunks/settings-cli-Djt2iuwA.js");
77
77
  return runSettingsCli(subcommandArgs);
78
78
  }],
79
79
  ["visions", async (subcommandArgs) => {
@@ -158,7 +158,7 @@ async function readDeclaredCustomAgents() {
158
158
  declared: [],
159
159
  error: null
160
160
  };
161
- const { loadConfigFile } = await import("../chunks/config-store-D-DLX3ow.js");
161
+ const { loadConfigFile } = await import("../chunks/config-store-JBGZdYkl.js");
162
162
  try {
163
163
  const loaded = loadConfigFile(decided.path, { exitOnError: false });
164
164
  if (!loaded.config) return {
@@ -0,0 +1 @@
1
+ export { c as loadConfigFile } from "./config-store-spwYOFDu.js";
@@ -1671,14 +1671,17 @@ var SECTIONS = Object.freeze([
1671
1671
  id: "team-review-skill",
1672
1672
  path: "teamReview.skill",
1673
1673
  title: "Review skill",
1674
- description: "Name of a Claude Code skill installed for the review agent, for example your own PR review skill. Leave empty to let the agent review with whatever skills it has.",
1674
+ description: "Skill the review agent follows for each review, picked from the skills that agent loads or typed by name. Leave empty for no skill: the agent reviews with whatever skills it has.",
1675
1675
  control: "text",
1676
1676
  keywords: [
1677
1677
  "skill",
1678
1678
  "claude code",
1679
+ "codex",
1680
+ "kimi",
1679
1681
  "pr review"
1680
1682
  ],
1681
1683
  defaultValue: "",
1684
+ suggestionsFrom: "review-skills",
1682
1685
  ...MACHINE_NOW
1683
1686
  },
1684
1687
  {
@@ -1691,6 +1694,7 @@ var SECTIONS = Object.freeze([
1691
1694
  value: "claude",
1692
1695
  label: "Claude Code"
1693
1696
  }],
1697
+ availableFrom: "review-agents",
1694
1698
  keywords: [
1695
1699
  "agent",
1696
1700
  "reviewer",
@@ -1712,6 +1716,7 @@ var SECTIONS = Object.freeze([
1712
1716
  "reviewer"
1713
1717
  ],
1714
1718
  defaultValue: "",
1719
+ suggestionsFrom: "review-models",
1715
1720
  ...MACHINE_NOW
1716
1721
  },
1717
1722
  {
@@ -1727,6 +1732,7 @@ var SECTIONS = Object.freeze([
1727
1732
  "reviewer"
1728
1733
  ],
1729
1734
  defaultValue: "",
1735
+ suggestionsFrom: "review-efforts",
1730
1736
  ...MACHINE_NOW
1731
1737
  },
1732
1738
  {
@@ -1742,6 +1748,7 @@ var SECTIONS = Object.freeze([
1742
1748
  value: "claude",
1743
1749
  label: "Claude Code"
1744
1750
  }],
1751
+ availableFrom: "review-agents",
1745
1752
  keywords: [
1746
1753
  "stamp",
1747
1754
  "small pull requests",
@@ -1762,6 +1769,7 @@ var SECTIONS = Object.freeze([
1762
1769
  "small pull requests"
1763
1770
  ],
1764
1771
  defaultValue: "",
1772
+ suggestionsFrom: "review-stamp-models",
1765
1773
  ...MACHINE_NOW
1766
1774
  },
1767
1775
  {
@@ -1776,8 +1784,27 @@ var SECTIONS = Object.freeze([
1776
1784
  "small pull requests"
1777
1785
  ],
1778
1786
  defaultValue: "",
1787
+ suggestionsFrom: "review-stamp-efforts",
1779
1788
  ...MACHINE_NOW
1780
1789
  },
1790
+ {
1791
+ id: "team-review-sandbox",
1792
+ path: "status:team-review-sandbox",
1793
+ title: "Review sandbox",
1794
+ description: "What the review agent can reach and read, from the same values each review launches with.",
1795
+ control: "readonly",
1796
+ keywords: [
1797
+ "sandbox",
1798
+ "network",
1799
+ "egress",
1800
+ "mcp",
1801
+ "credentials",
1802
+ "tools",
1803
+ "restricted"
1804
+ ],
1805
+ status: "team-review-sandbox",
1806
+ ...READOUT
1807
+ },
1781
1808
  {
1782
1809
  id: "team-review-sandbox-extra-domains",
1783
1810
  path: "teamReview.sandbox.extraDomains",
@@ -22,15 +22,15 @@ import { n as unrefTimer, t as DEFAULT_TIMER_FNS } from "./timer-deps-u2DAQLok.j
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
23
  import { n as shellQuote } from "./hook-command-core-qTNK-xMF.js";
24
24
  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-DWSMumb7.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-spwYOFDu.js";
26
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-DpjXts1H.js";
27
27
  import { $ as identityFromRelPath, A as decideFileRead, B as sessionsRootCandidates, C as pickNewestPublished, D as codexRootCandidates, E as codexHomes, F as kimiHomes, G as kimiSessionIdFromPath, H as shouldPersistWarehouse, I as passOutcome, J as dedupKeys, K as parseKimiUsageLine, L as projectDirCandidates, M as expandTilde, N as grokHomes, O as codexSessionIdFromPath, P as isUsageFile, Q as foldReplacementIntoGenerationRollup, R as resolveProjectsDirs, S as parseResolvedSha, T as codexFallbackRoots, U as splitLines$1, V as shouldEvaluateDespiteIoFailures, W as kimiDedupIdentity, X as expandAdvisorIterations, Y as emptyTotals, Z as foldEntryIntoGenerationRollup, _ as isCheckFresh, a as describeAgentResolvability, at as totalTokensOf$1, b as parseRegistryDeprecation, c as isKnownAgentId, d as resolveAdapter, et as isWithinGenerationRecencyWindow, f as setCustomAgents, g as decideUpdateStatus, h as decideInstallFlavor, i as customAgentFingerprint, it as shouldReplace, j as dedupeCodexFiles, k as continuationDelayMs, l as listAgentIds, m as readHostCodexVersion, n as cachedAgentResolvability, nt as parseJsonLine, o as getAdapter, ot as vendorUsageEntry, p as codex, q as addEntryToTotals, r as commandFor, rt as parseUsageLine, s as hookProfileOf, st as claudeCode, t as DEFAULT_AGENT_ID, tt as mergeGenerationRollups, u as resetCommandCache, v as normalizeSha, w as shortSha$1, x as parseRegistryLatest, y as normalizeUpdateChannel, z as scopedClaudeRoots } from "./adapters-DcwEFAL6.js";
28
28
  import { t as HOOK_TOOLS } from "./hook-tools-Cr97Vdap.js";
29
- import { d as releaseSessionLock, f as sessionIdOfLockFile, l as releaseUnheldKimiHomeSecrets, n as generatedKimiHomePath, p as trashSessionTempFolderOnceUnheld, u as createHeldSessionTempFolder } from "./kimi-home-CYJpt82i.js";
29
+ import { d as releaseSessionLock, f as sessionIdOfLockFile, l as releaseUnheldKimiHomeSecrets, n as generatedKimiHomePath, o as realKimiHome, p as trashSessionTempFolderOnceUnheld, u as createHeldSessionTempFolder } from "./kimi-home-CYJpt82i.js";
30
30
  import { t as kimi } from "./kimi-BiLAVDKd.js";
31
31
  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";
32
- 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-iLIA4R6l.js";
33
- import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-IdcIhB9-.js";
32
+ 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-Bo_J3M1S.js";
33
+ import { n as configFileViewOf, u as readSettingsForAgent } from "./settings-readout-core-BvFFMqxG.js";
34
34
  import { _ as escapeMarkup, g as createLaneLog, n as createVisionsSetup } from "./visions-setup-VMMyqOpl.js";
35
35
  import { t as getRtkPath } from "./rtk-resolver-BifDj_oS.js";
36
36
  import { createRequire } from "node:module";
@@ -3371,6 +3371,12 @@ function blockedCredentialHomeEntries(role) {
3371
3371
  if (!isStandardLevel(role)) return credentialHomeEntries;
3372
3372
  return credentialHomeEntries.filter((entry) => !STANDARD_LEVEL_USABLE_CREDENTIAL_ENTRIES.includes(entry));
3373
3373
  }
3374
+ function describeRoleSandbox(role) {
3375
+ return {
3376
+ agentApiDomains: unique(role.vendors.flatMap((vendor) => VENDOR_PROFILES[vendor].apiDomains)),
3377
+ unreadableHomeEntries: blockedCredentialHomeEntries(role)
3378
+ };
3379
+ }
3374
3380
  function credentialWriteBlocks(role, host) {
3375
3381
  const credentialHomeEntries = blockedCredentialHomeEntries(role);
3376
3382
  return [...homePaths(host, credentialHomeEntries), ...relocatedXdgConfigPaths(host, credentialHomeEntries)];
@@ -28007,6 +28013,11 @@ var TEAM_REVIEW_EXTRA_DOMAINS = Object.freeze(["api.github.com"]);
28007
28013
  var TEAM_REVIEW_SHELL_ALLOW_RULE = "Bash";
28008
28014
  var SANDBOX_RUNTIME_UNSUPPORTED_PLATFORM = "win32";
28009
28015
  var LINKED_CHECKOUT_UNREADABLE_ENTRY = /^(?:\.env(?:\..*)?|\.claude)$/;
28016
+ var LINKED_CHECKOUT_UNREADABLE_NAMES = Object.freeze([
28017
+ ".env",
28018
+ ".env.*",
28019
+ ".claude"
28020
+ ]);
28010
28021
  var RESULT_MAX_BYTES$1 = 1048576;
28011
28022
  var EMPTY_GH_CONFIG_DIRNAME = "gh-config";
28012
28023
  var PUSH_DISABLED_URL = "https://push-disabled.invalid/";
@@ -28079,6 +28090,32 @@ function teamReviewRole(facts, { checkoutPath, cachedClone, unreadablePaths, san
28079
28090
  readDenied: [...unreadablePaths]
28080
28091
  };
28081
28092
  }
28093
+ function describeTeamReviewSandbox(sandbox) {
28094
+ const role = teamReviewRole({
28095
+ launchId: "",
28096
+ cwd: "",
28097
+ hookPort: null,
28098
+ readablePaths: [],
28099
+ writablePaths: [],
28100
+ agentSessionId: null
28101
+ }, {
28102
+ checkoutPath: "",
28103
+ cachedClone: "",
28104
+ unreadablePaths: [],
28105
+ sandbox
28106
+ });
28107
+ return {
28108
+ networkOpen: role.network.access === "open",
28109
+ networkDomains: role.network.access === "allowlist" ? [...role.network.domains] : [],
28110
+ ...describeRoleSandbox(role),
28111
+ mcpLoaded: sandbox.loadMcpServers,
28112
+ unreadableCheckoutEntries: [...LINKED_CHECKOUT_UNREADABLE_NAMES],
28113
+ githubTokenStripped: true,
28114
+ allowedTools: [TEAM_REVIEW_SHELL_ALLOW_RULE, "Read"],
28115
+ deniedTools: [...TEAM_REVIEW_SESSION_DENY_RULES],
28116
+ threadJudgeTools: [...THREAD_JUDGE_TOOLS]
28117
+ };
28118
+ }
28082
28119
  async function describeTeamReviewRole({ checkoutPath, cachedClone, linkedCheckout, sandbox = DEFAULT_SANDBOX }) {
28083
28120
  const unreadablePaths = await linkedCheckoutUnreadablePaths(linkedCheckout);
28084
28121
  return (facts) => teamReviewRole(facts, {
@@ -39693,7 +39730,7 @@ async function readSigningKeySetting(setting, cwd) {
39693
39730
  const keyPath = path.resolve(cwd, setting.replace(/^~(?=\/|$)/, os.homedir()));
39694
39731
  return parseSshPublicKey(await fs$1.readFile(keyPath, "utf8").catch(() => ""));
39695
39732
  }
39696
- function readTextOrNull(filePath) {
39733
+ function readTextOrNull$1(filePath) {
39697
39734
  try {
39698
39735
  return readFileSync(filePath, "utf8");
39699
39736
  } catch {
@@ -39708,7 +39745,7 @@ function installCommitSigningShim({ binDir, nodePath, cliPath, platform = proces
39708
39745
  cliPath
39709
39746
  });
39710
39747
  try {
39711
- if (readTextOrNull(shimPath) !== shimText) writeTextAtomicSync(shimPath, shimText, {
39748
+ if (readTextOrNull$1(shimPath) !== shimText) writeTextAtomicSync(shimPath, shimText, {
39712
39749
  mode: 493,
39713
39750
  mkdir: true,
39714
39751
  enforceMode: true
@@ -49236,7 +49273,7 @@ var TERMINAL_KINDS = /* @__PURE__ */ new Set([
49236
49273
  "dismissal",
49237
49274
  "acknowledgement"
49238
49275
  ]);
49239
- function textField(record, field) {
49276
+ function textField$1(record, field) {
49240
49277
  const value = Reflect.get(record, field);
49241
49278
  if (typeof value !== "string") return null;
49242
49279
  return sanitizeOneLine(value, 280);
@@ -49247,10 +49284,10 @@ function journalEntries(output, sessionId) {
49247
49284
  return [{
49248
49285
  id: record.id,
49249
49286
  kind: record.kind,
49250
- at: textField(record, "at"),
49251
- text: textField(record, "chose") ?? textField(record, "observation") ?? textField(record, "what") ?? textField(record, "expectation") ?? textField(record, "practice") ?? textField(record, "of") ?? record.kind,
49252
- detail: textField(record, "because") ?? textField(record, "evidence") ?? textField(record, "discriminatedBy") ?? textField(record, "outcome"),
49253
- supersedes: textField(record, "of")
49287
+ at: textField$1(record, "at"),
49288
+ text: textField$1(record, "chose") ?? textField$1(record, "observation") ?? textField$1(record, "what") ?? textField$1(record, "expectation") ?? textField$1(record, "practice") ?? textField$1(record, "of") ?? record.kind,
49289
+ detail: textField$1(record, "because") ?? textField$1(record, "evidence") ?? textField$1(record, "discriminatedBy") ?? textField$1(record, "outcome"),
49290
+ supersedes: textField$1(record, "of")
49254
49291
  }];
49255
49292
  });
49256
49293
  }
@@ -50253,6 +50290,323 @@ function planQuickSession({ live, project, sessionNames }) {
50253
50290
  };
50254
50291
  }
50255
50292
  //#endregion
50293
+ //#region server/core/codex-credentials-core.ts
50294
+ var CODEX_LOGIN_REFRESH_MARGIN_MS = 3e5;
50295
+ var StoredCodexAuth = z.object({ tokens: z.object({
50296
+ access_token: z.string().min(1),
50297
+ account_id: z.string().min(1)
50298
+ }) });
50299
+ var AccessTokenClaims = z.object({ exp: z.number().positive() });
50300
+ function accessTokenExpiryMs(accessToken) {
50301
+ const encodedClaims = accessToken.split(".")[1];
50302
+ if (!encodedClaims) return null;
50303
+ try {
50304
+ const claims = AccessTokenClaims.safeParse(JSON.parse(Buffer.from(encodedClaims, "base64url").toString("utf8")));
50305
+ return claims.success ? claims.data.exp * 1e3 : null;
50306
+ } catch {
50307
+ return null;
50308
+ }
50309
+ }
50310
+ function parseCodexAuth(text) {
50311
+ let decoded;
50312
+ try {
50313
+ decoded = JSON.parse(text);
50314
+ } catch {
50315
+ return null;
50316
+ }
50317
+ const parsed = StoredCodexAuth.safeParse(decoded);
50318
+ if (!parsed.success) return null;
50319
+ const { access_token: accessToken, account_id: accountId } = parsed.data.tokens;
50320
+ return {
50321
+ accessToken,
50322
+ accountId,
50323
+ expiresAtMs: accessTokenExpiryMs(accessToken)
50324
+ };
50325
+ }
50326
+ function codexHomeDir(env, homeDir) {
50327
+ const override = env.CODEX_HOME?.trim();
50328
+ return override ? path.resolve(override) : path.join(homeDir, ".codex");
50329
+ }
50330
+ function decideCodexLogin({ login, nowMs, hasRefreshed }) {
50331
+ if (!login) return {
50332
+ kind: "unavailable",
50333
+ reason: "no Codex login was found on this host; run codex login, or connect Codex from Glimmervoid"
50334
+ };
50335
+ if (login.expiresAtMs === null || login.expiresAtMs - nowMs >= CODEX_LOGIN_REFRESH_MARGIN_MS) return {
50336
+ kind: "use",
50337
+ login
50338
+ };
50339
+ if (!hasRefreshed) return { kind: "refresh" };
50340
+ if (login.expiresAtMs > nowMs) return {
50341
+ kind: "use",
50342
+ login
50343
+ };
50344
+ return {
50345
+ kind: "unavailable",
50346
+ reason: "the host Codex login has expired and a host refresh did not renew it; run codex login"
50347
+ };
50348
+ }
50349
+ function chatgptAuthTokensLogin(login) {
50350
+ return {
50351
+ type: "chatgptAuthTokens",
50352
+ accessToken: login.accessToken,
50353
+ chatgptAccountId: login.accountId
50354
+ };
50355
+ }
50356
+ function chatgptAuthTokensRefreshResult(login) {
50357
+ return {
50358
+ accessToken: login.accessToken,
50359
+ chatgptAccountId: login.accountId,
50360
+ chatgptPlanType: null
50361
+ };
50362
+ }
50363
+ //#endregion
50364
+ //#region server/github/core/team-review-environment-core.ts
50365
+ var CLAUDE_EFFORTS = Object.freeze([
50366
+ "low",
50367
+ "medium",
50368
+ "high",
50369
+ "xhigh",
50370
+ "max"
50371
+ ]);
50372
+ var CLAUDE_MODELS = Object.freeze([
50373
+ "opus",
50374
+ "sonnet",
50375
+ "haiku"
50376
+ ].map((alias) => ({
50377
+ id: alias,
50378
+ label: alias[0].toUpperCase() + alias.slice(1),
50379
+ efforts: null,
50380
+ defaultEffort: null
50381
+ })));
50382
+ var FRONTMATTER_FENCE = "---";
50383
+ var FOLDED_SCALAR = /^[>|][+-]?$/;
50384
+ var KIMI_MODEL_SECTION = /^\[models\."([^"]+)"\]\s*$/;
50385
+ var TOML_TABLE_HEADER = /^\[/;
50386
+ var TOML_KEY_VALUE = /^([A-Za-z0-9_]+)\s*=\s*(.+)$/;
50387
+ var TOML_STRING = /^"((?:[^"\\]|\\.)*)"/;
50388
+ var TOML_STRING_ITEM = /"((?:[^"\\]|\\.)*)"/g;
50389
+ function unquoteYamlScalar(raw) {
50390
+ const trimmed = raw.trim();
50391
+ return trimmed.length >= 2 && (trimmed[0] === "\"" || trimmed[0] === "'") && trimmed.at(-1) === trimmed[0] ? trimmed.slice(1, -1) : trimmed;
50392
+ }
50393
+ function frontmatterLines(markdown) {
50394
+ const lines = markdown.replace(/^/, "").split(/\r?\n/);
50395
+ if (lines[0]?.trim() !== FRONTMATTER_FENCE) return null;
50396
+ const closingIndex = lines.indexOf(FRONTMATTER_FENCE, 1);
50397
+ if (closingIndex === -1) return null;
50398
+ return lines.slice(1, closingIndex);
50399
+ }
50400
+ function readFrontmatterValue(lines, key) {
50401
+ const keyIndex = lines.findIndex((line) => line.startsWith(`${key}:`));
50402
+ if (keyIndex === -1) return null;
50403
+ const inlineValue = lines[keyIndex].slice(key.length + 1).trim();
50404
+ if (!FOLDED_SCALAR.test(inlineValue)) return unquoteYamlScalar(inlineValue);
50405
+ const continuation = [];
50406
+ for (const line of lines.slice(keyIndex + 1)) {
50407
+ if (!/^\s/.test(line) && line.trim() !== "") break;
50408
+ continuation.push(line.trim());
50409
+ }
50410
+ return continuation.join(" ").trim();
50411
+ }
50412
+ function parseSkillFrontmatter(markdown) {
50413
+ const lines = frontmatterLines(markdown);
50414
+ if (!lines) return null;
50415
+ const name = readFrontmatterValue(lines, "name");
50416
+ if (!name) return null;
50417
+ return {
50418
+ name,
50419
+ description: readFrontmatterValue(lines, "description") ?? ""
50420
+ };
50421
+ }
50422
+ function readTomlString(rawValue) {
50423
+ return TOML_STRING.exec(rawValue.trim())?.[1] ?? null;
50424
+ }
50425
+ function readTomlStringArray(rawValue) {
50426
+ if (!rawValue.trim().startsWith("[")) return null;
50427
+ return [...rawValue.matchAll(TOML_STRING_ITEM)].map((match) => match[1]);
50428
+ }
50429
+ function parseKimiModels(configToml) {
50430
+ const models = [];
50431
+ let current = null;
50432
+ for (const line of configToml.split(/\r?\n/).map((rawLine) => rawLine.trim())) {
50433
+ const sectionMatch = KIMI_MODEL_SECTION.exec(line);
50434
+ if (sectionMatch) {
50435
+ current = {
50436
+ id: sectionMatch[1],
50437
+ label: sectionMatch[1],
50438
+ efforts: null,
50439
+ defaultEffort: null
50440
+ };
50441
+ models.push(current);
50442
+ continue;
50443
+ }
50444
+ if (TOML_TABLE_HEADER.test(line)) {
50445
+ current = null;
50446
+ continue;
50447
+ }
50448
+ const keyValue = TOML_KEY_VALUE.exec(line);
50449
+ if (!current || !keyValue) continue;
50450
+ const [, key, rawValue] = keyValue;
50451
+ if (key === "display_name") current.label = readTomlString(rawValue) ?? current.label;
50452
+ if (key === "support_efforts") current.efforts = readTomlStringArray(rawValue);
50453
+ if (key === "default_effort") current.defaultEffort = readTomlString(rawValue);
50454
+ }
50455
+ return models;
50456
+ }
50457
+ function textField(record, key) {
50458
+ const value = record[key];
50459
+ return typeof value === "string" && value.trim() !== "" ? value.trim() : null;
50460
+ }
50461
+ function codexModelOffer(entry) {
50462
+ if (!entry || typeof entry !== "object") return null;
50463
+ const model = entry;
50464
+ const slug = textField(model, "slug");
50465
+ if (!slug || model.visibility !== "list") return null;
50466
+ const efforts = (Array.isArray(model.supported_reasoning_levels) ? model.supported_reasoning_levels : []).map((level) => level && typeof level === "object" ? textField(level, "effort") : null).filter((effort) => effort !== null);
50467
+ return {
50468
+ id: slug,
50469
+ label: textField(model, "display_name") ?? slug,
50470
+ efforts: efforts.length > 0 ? efforts : null,
50471
+ defaultEffort: textField(model, "default_reasoning_level")
50472
+ };
50473
+ }
50474
+ function parseCodexModelCatalog(catalog) {
50475
+ if (!catalog || typeof catalog !== "object") return [];
50476
+ const models = catalog.models;
50477
+ if (!Array.isArray(models)) return [];
50478
+ return models.map(codexModelOffer).filter((offer) => offer !== null);
50479
+ }
50480
+ function uniqueEfforts(models) {
50481
+ return [...new Set(models.flatMap((model) => model.efforts ?? []))];
50482
+ }
50483
+ function enabledClaudePluginInstalls(installedPlugins, settings) {
50484
+ const pluginsByKey = installedPlugins && typeof installedPlugins === "object" ? installedPlugins.plugins : null;
50485
+ const enabledByKey = settings && typeof settings === "object" ? settings.enabledPlugins : null;
50486
+ if (!pluginsByKey || typeof pluginsByKey !== "object" || !enabledByKey || typeof enabledByKey !== "object") return [];
50487
+ return Object.entries(pluginsByKey).flatMap(([pluginKey, installs]) => {
50488
+ if (enabledByKey[pluginKey] !== true || !Array.isArray(installs)) return [];
50489
+ const installPath = installs.map((install) => install && typeof install === "object" ? textField(install, "installPath") : null).find((candidate) => candidate !== null);
50490
+ if (!installPath) return [];
50491
+ return [{
50492
+ pluginName: pluginKey.split("@")[0],
50493
+ installPath
50494
+ }];
50495
+ });
50496
+ }
50497
+ //#endregion
50498
+ //#region server/github/team-review-environment.ts
50499
+ var SCAN_FRESH_FOR_MS = 6e4;
50500
+ var SKILL_FILE_NAME = "SKILL.md";
50501
+ var lastScan = [];
50502
+ var lastScanStartedAtMs = Number.NEGATIVE_INFINITY;
50503
+ var scanInFlight = null;
50504
+ async function readTextOrNull(filePath) {
50505
+ try {
50506
+ return await fs$1.readFile(filePath, "utf8");
50507
+ } catch {
50508
+ return null;
50509
+ }
50510
+ }
50511
+ async function readJsonOrNull(filePath) {
50512
+ const text = await readTextOrNull(filePath);
50513
+ if (text === null) return null;
50514
+ try {
50515
+ return JSON.parse(text);
50516
+ } catch {
50517
+ return null;
50518
+ }
50519
+ }
50520
+ async function scanSkillFolder(skillsFolder, source, namePrefix = "") {
50521
+ const entryNames = await fs$1.readdir(skillsFolder).catch(() => []);
50522
+ const skills = [];
50523
+ for (const entryName of entryNames) {
50524
+ const markdown = await readTextOrNull(path.join(skillsFolder, entryName, SKILL_FILE_NAME));
50525
+ const frontmatter = markdown === null ? null : parseSkillFrontmatter(markdown);
50526
+ if (frontmatter) skills.push({
50527
+ name: `${namePrefix}${frontmatter.name}`,
50528
+ description: frontmatter.description,
50529
+ source
50530
+ });
50531
+ }
50532
+ return skills;
50533
+ }
50534
+ async function scanClaude(homeDir, env) {
50535
+ const claudeHome = env.CLAUDE_CONFIG_DIR?.trim() || path.join(homeDir, ".claude");
50536
+ const [userSkills, installedPlugins, settings] = await Promise.all([
50537
+ scanSkillFolder(path.join(claudeHome, "skills"), "user"),
50538
+ readJsonOrNull(path.join(claudeHome, "plugins", "installed_plugins.json")),
50539
+ readJsonOrNull(path.join(claudeHome, "settings.json"))
50540
+ ]);
50541
+ const pluginSkills = await Promise.all(enabledClaudePluginInstalls(installedPlugins, settings).map(({ pluginName, installPath }) => scanSkillFolder(path.join(installPath, "skills"), "plugin", `${pluginName}:`)));
50542
+ return {
50543
+ id: "claude",
50544
+ models: [...CLAUDE_MODELS],
50545
+ efforts: [...CLAUDE_EFFORTS],
50546
+ skills: [...userSkills, ...pluginSkills.flat()]
50547
+ };
50548
+ }
50549
+ async function scanCodex(homeDir, env) {
50550
+ const codexHome = codexHomeDir(env, homeDir);
50551
+ const [catalog, codexSkills, codexSystemSkills, sharedAgentSkills] = await Promise.all([
50552
+ readJsonOrNull(path.join(codexHome, "models_cache.json")),
50553
+ scanSkillFolder(path.join(codexHome, "skills"), "user"),
50554
+ scanSkillFolder(path.join(codexHome, "skills", ".system"), "user"),
50555
+ scanSkillFolder(path.join(homeDir, ".agents", "skills"), "user")
50556
+ ]);
50557
+ const models = parseCodexModelCatalog(catalog);
50558
+ return {
50559
+ id: "codex",
50560
+ models,
50561
+ efforts: uniqueEfforts(models),
50562
+ skills: [
50563
+ ...codexSkills,
50564
+ ...codexSystemSkills,
50565
+ ...sharedAgentSkills
50566
+ ]
50567
+ };
50568
+ }
50569
+ async function scanKimi(homeDir, env) {
50570
+ const kimiHome = realKimiHome(env, homeDir);
50571
+ const [configToml, skills] = await Promise.all([readTextOrNull(path.join(kimiHome, "config.toml")), scanSkillFolder(path.join(kimiHome, "skills"), "user")]);
50572
+ const models = configToml === null ? [] : parseKimiModels(configToml);
50573
+ return {
50574
+ id: "kimi",
50575
+ models,
50576
+ efforts: uniqueEfforts(models),
50577
+ skills
50578
+ };
50579
+ }
50580
+ async function scanReviewAgents(homeDir, env) {
50581
+ lastScan = await Promise.all([
50582
+ scanClaude(homeDir, env),
50583
+ scanCodex(homeDir, env),
50584
+ scanKimi(homeDir, env)
50585
+ ]);
50586
+ }
50587
+ function refreshWhenStale(nowMs, homeDir, env) {
50588
+ if (scanInFlight || nowMs - lastScanStartedAtMs < SCAN_FRESH_FOR_MS) return;
50589
+ lastScanStartedAtMs = nowMs;
50590
+ scanInFlight = scanReviewAgents(homeDir, env).finally(() => {
50591
+ scanInFlight = null;
50592
+ });
50593
+ }
50594
+ function agentOffer(scan) {
50595
+ const { label, resolvable } = cachedAgentResolvability(scan.id);
50596
+ return {
50597
+ ...scan,
50598
+ label,
50599
+ installed: resolvable
50600
+ };
50601
+ }
50602
+ function currentTeamReviewEnvironment(settingsSource, { nowMs = Date.now(), homeDir = os.homedir(), env = process.env } = {}) {
50603
+ refreshWhenStale(nowMs, homeDir, env);
50604
+ return {
50605
+ agents: lastScan.map(agentOffer),
50606
+ sandbox: describeTeamReviewSandbox(readTeamReviewSettings(settingsSource).sandbox)
50607
+ };
50608
+ }
50609
+ //#endregion
50256
50610
  //#region server/settings-payload.ts
50257
50611
  function summarizeCustomAgents(declarations) {
50258
50612
  return declarations.map((declaration) => ({
@@ -50263,7 +50617,7 @@ function summarizeCustomAgents(declarations) {
50263
50617
  resolvable: cachedAgentResolvability(declaration.id).resolvable
50264
50618
  }));
50265
50619
  }
50266
- function buildSettingsPayload({ configStore, rtkInstallStatus = null, telegramDelivery = null, coderEnvironments = null, agentLogins = null, resolveRtk = getRtkPath }) {
50620
+ function buildSettingsPayload({ configStore, rtkInstallStatus = null, telegramDelivery = null, coderEnvironments = null, agentLogins = null, resolveRtk = getRtkPath, readTeamReviewEnvironment = currentTeamReviewEnvironment }) {
50267
50621
  return {
50268
50622
  ...configStore.getSettings(),
50269
50623
  isExperimentalBuild: configStore.isExperimentalBuild === true,
@@ -50273,7 +50627,8 @@ function buildSettingsPayload({ configStore, rtkInstallStatus = null, telegramDe
50273
50627
  customAgents: summarizeCustomAgents(configStore.config.customAgents ?? []),
50274
50628
  telegramDelivery,
50275
50629
  coderEnvironments,
50276
- agentLogins
50630
+ agentLogins,
50631
+ teamReviewEnvironment: readTeamReviewEnvironment(configStore.config)
50277
50632
  };
50278
50633
  }
50279
50634
  //#endregion
@@ -55616,77 +55971,6 @@ function createAgentConnect({ loginsRoot, loginSource, launchFor, onChange, ptyS
55616
55971
  };
55617
55972
  }
55618
55973
  //#endregion
55619
- //#region server/core/codex-credentials-core.ts
55620
- var CODEX_LOGIN_REFRESH_MARGIN_MS = 3e5;
55621
- var StoredCodexAuth = z.object({ tokens: z.object({
55622
- access_token: z.string().min(1),
55623
- account_id: z.string().min(1)
55624
- }) });
55625
- var AccessTokenClaims = z.object({ exp: z.number().positive() });
55626
- function accessTokenExpiryMs(accessToken) {
55627
- const encodedClaims = accessToken.split(".")[1];
55628
- if (!encodedClaims) return null;
55629
- try {
55630
- const claims = AccessTokenClaims.safeParse(JSON.parse(Buffer.from(encodedClaims, "base64url").toString("utf8")));
55631
- return claims.success ? claims.data.exp * 1e3 : null;
55632
- } catch {
55633
- return null;
55634
- }
55635
- }
55636
- function parseCodexAuth(text) {
55637
- let decoded;
55638
- try {
55639
- decoded = JSON.parse(text);
55640
- } catch {
55641
- return null;
55642
- }
55643
- const parsed = StoredCodexAuth.safeParse(decoded);
55644
- if (!parsed.success) return null;
55645
- const { access_token: accessToken, account_id: accountId } = parsed.data.tokens;
55646
- return {
55647
- accessToken,
55648
- accountId,
55649
- expiresAtMs: accessTokenExpiryMs(accessToken)
55650
- };
55651
- }
55652
- function codexHomeDir(env, homeDir) {
55653
- const override = env.CODEX_HOME?.trim();
55654
- return override ? path.resolve(override) : path.join(homeDir, ".codex");
55655
- }
55656
- function decideCodexLogin({ login, nowMs, hasRefreshed }) {
55657
- if (!login) return {
55658
- kind: "unavailable",
55659
- reason: "no Codex login was found on this host; run codex login, or connect Codex from Glimmervoid"
55660
- };
55661
- if (login.expiresAtMs === null || login.expiresAtMs - nowMs >= CODEX_LOGIN_REFRESH_MARGIN_MS) return {
55662
- kind: "use",
55663
- login
55664
- };
55665
- if (!hasRefreshed) return { kind: "refresh" };
55666
- if (login.expiresAtMs > nowMs) return {
55667
- kind: "use",
55668
- login
55669
- };
55670
- return {
55671
- kind: "unavailable",
55672
- reason: "the host Codex login has expired and a host refresh did not renew it; run codex login"
55673
- };
55674
- }
55675
- function chatgptAuthTokensLogin(login) {
55676
- return {
55677
- type: "chatgptAuthTokens",
55678
- accessToken: login.accessToken,
55679
- chatgptAccountId: login.accountId
55680
- };
55681
- }
55682
- function chatgptAuthTokensRefreshResult(login) {
55683
- return {
55684
- accessToken: login.accessToken,
55685
- chatgptAccountId: login.accountId,
55686
- chatgptPlanType: null
55687
- };
55688
- }
55689
- //#endregion
55690
55974
  //#region server/codex-credentials.ts
55691
55975
  var HOST_REFRESH_TIMEOUT_MS = 6e4;
55692
55976
  async function readTextFileOrNull$1(filePath) {
@@ -1,6 +1,6 @@
1
1
  import { r as errorMessage } from "./text-DoirglWV.js";
2
- import { l as resolveConfigPath } from "./config-store-DWSMumb7.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-iLIA4R6l.js";
2
+ import { l as resolveConfigPath } from "./config-store-spwYOFDu.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-Bo_J3M1S.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-DWSMumb7.js";
6
+ import { dt as canonicalizePath, s as glimmervoidHomeDir } from "./config-store-spwYOFDu.js";
7
7
  import fs from "node:fs";
8
8
  import path from "node:path";
9
9
  import crypto from "node:crypto";