@xevy/cli 0.1.32 → 0.1.33

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.
@@ -577,9 +577,14 @@ export function buildRemotePiArgs({ extensionFiles, remoteExtension, folder, piS
577
577
  * `XEVY_REMOTE_SECONDARY_CONVERSATION` instead of `XEVY_REMOTE_PI_SESSION_ID`:
578
578
  * it keeps its own edit journal and never records itself as the folder's
579
579
  * conversation.
580
+ *
581
+ * `XEVY_REMOTE_EXTENSION_PATH` names the remote-tools extension so the
582
+ * specialists pi dispatches load it too and work on the same Dev Session.
580
583
  */
581
- export function buildRemotePiEnv({ env, folder, base, explicitBase, hints = null, piSessionId = null, secondary = false }) {
584
+ export function buildRemotePiEnv({ env, folder, base, explicitBase, hints = null, piSessionId = null, secondary = false, remoteExtension = null }) {
582
585
  const next = { ...env, XEVY_REMOTE_PROJECT_DIR: path.resolve(folder), XEVY_REMOTE_BASE: base };
586
+ delete next.XEVY_REMOTE_EXTENSION_PATH;
587
+ if (remoteExtension) next.XEVY_REMOTE_EXTENSION_PATH = path.resolve(remoteExtension);
583
588
  delete next.XEVY_REMOTE_DEV_SESSION;
584
589
  delete next.XEVY_REMOTE_DEV_HINTS;
585
590
  delete next.XEVY_REMOTE_PI_SESSION_ID;
@@ -729,7 +734,7 @@ async function launchAndSummarize(run) {
729
734
  };
730
735
  logged.log({ op: "launch", sessionId: reconnected?.session.id ?? null, linked: Boolean(reconnected), secondary });
731
736
  beforeLaunch();
732
- const result = spawnPi(piArgs, { cwd: folder, env: buildRemotePiEnv({ env, folder, base, explicitBase: run.explicitBase, hints, piSessionId, secondary }) });
737
+ const result = spawnPi(piArgs, { cwd: folder, env: buildRemotePiEnv({ env, folder, base, explicitBase: run.explicitBase, hints, piSessionId, secondary, remoteExtension }) });
733
738
  if (result.error) throw new RemoteDevError(result.error.message);
734
739
  const exitCode = result.status ?? (result.signal ? 1 : 0);
735
740
  logged.log({ op: "exit", status: exitCode });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xevy/cli",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "Xevy CLI \u2014 connect to remote Dev Sessions, configure credentials, pi, coding-agent skills, and MCP, and keep integrations current.",
5
5
  "type": "module",
6
6
  "keywords": [