@straiffi/archon 1.2.6 → 1.2.7

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.
@@ -5,10 +5,10 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Archon</title>
8
- <script type="module" crossorigin src="/assets/index-BsqDx9qJ.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-D_fYmgsV.js"></script>
9
9
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-BYbx6iT9.js">
10
- <link rel="modulepreload" crossorigin href="/assets/badge-DDU3OIK_.js">
11
- <link rel="stylesheet" crossorigin href="/assets/index-CWJnnHXy.css">
10
+ <link rel="modulepreload" crossorigin href="/assets/badge-C7tnUR1h.js">
11
+ <link rel="stylesheet" crossorigin href="/assets/index-DWMCGEsT.css">
12
12
  </head>
13
13
  <body>
14
14
  <div id="root"></div>
@@ -19,7 +19,7 @@ import { autoConfigProject, ProjectAutoConfigError } from './lib/projectAutoConf
19
19
  import { analyzeRepoPath, createInitialCommit, ensureInitialCommitForWorktrees, initializeGitRepo, isInitialCommitRequiredError, } from './lib/projectRepos.js';
20
20
  import { browseRepoPath } from './lib/directoryPicker.js';
21
21
  import { resolveDesktopServerHost } from './lib/desktopServerHost.js';
22
- import { emitMobileRealtime, getMobileAccessStatus, regenerateMobilePairingChallenge, revokeMobileSession, startMobileAccess, stopMobileAccess, } from './lib/mobileAccess.js';
22
+ import { emitMobileRealtime, getMobileAccessStatus, regenerateMobilePairingChallenge, revokeMobileSession, setMobileAccessStatusChangeListener, startMobileAccess, stopMobileAccess, } from './lib/mobileAccess.js';
23
23
  import { validateDesktopMobileAccessRequest } from './lib/mobileAccessSecurity.js';
24
24
  import { refreshChatSessionUsageSnapshot, stopAllBuildAgents } from './lib/agent.js';
25
25
  import { runLightweightPrompt } from './lib/lightweightPrompt.js';
@@ -265,6 +265,9 @@ io.emit = ((event, ...args) => {
265
265
  emitMobileRealtime(event, args[0]);
266
266
  return result;
267
267
  });
268
+ setMobileAccessStatusChangeListener(status => {
269
+ io.emit('mobile-access:status', status);
270
+ });
268
271
  app.use(cors({ origin: CORS_ORIGIN_RESOLVER }));
269
272
  const hasOwn = (value, key) => Object.prototype.hasOwnProperty.call(value, key);
270
273
  const resolveRequestedSkills = (value) => normalizeSkillNames(value);