@xevy/cli 0.1.12 → 0.1.13

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/README.md CHANGED
@@ -150,8 +150,8 @@ xevy dev VI22-07 --base https://xevy.example.com
150
150
  ```
151
151
 
152
152
  The CLI resolves an exact task ID or task code, attaches to its existing Dev
153
- Session, or starts one from an eligible running Preview. When several accessible
154
- tasks share a code, or several repositories have eligible Previews, it presents
153
+ Session, or starts one from a linked repository. When several accessible tasks
154
+ share a code, or a project has several linked repositories, it presents
155
155
  a numbered selector. It restores the recent conversation for the session branch
156
156
  and attaches to an already-running agent turn instead of submitting a duplicate.
157
157
 
@@ -166,7 +166,7 @@ Available commands while attached:
166
166
  /status Refresh the lifecycle status and URL
167
167
  /logs Show the latest session logs
168
168
  /open Request a fresh one-use browser link and open it when supported
169
- /finish Merge into the task branch, queue Preview redeploy, and stop
169
+ /finish Merge into the task branch and stop
170
170
  /stop Stop without merging (the pushed session branch remains preserved)
171
171
  /detach Disconnect this terminal without stopping anything
172
172
  /help Show the command list
@@ -565,7 +565,7 @@ function commandHelp(writeLine) {
565
565
  writeLine(" /status Refresh session status");
566
566
  writeLine(" /logs Show the latest Dev Session logs");
567
567
  writeLine(" /open Open a fresh one-use Dev Session URL");
568
- writeLine(" /finish Merge into the task branch, redeploy Preview, and stop");
568
+ writeLine(" /finish Merge into the task branch and stop");
569
569
  writeLine(" /stop Stop the Dev Session without finishing");
570
570
  writeLine(" /detach Leave it running and exit this CLI");
571
571
  writeLine(" /help Show these commands");
@@ -573,7 +573,7 @@ function commandHelp(writeLine) {
573
573
 
574
574
  async function confirmAction({ interactive, ask, action }) {
575
575
  if (!interactive) throw new Error(`/${action} requires an interactive confirmation.`);
576
- const answer = (await ask(`${action === "finish" ? "Finish, merge, redeploy Preview, and stop" : "Stop this Dev Session"}? [y/N]: `)).toLowerCase();
576
+ const answer = (await ask(`${action === "finish" ? "Finish, merge into the task branch, and stop" : "Stop this Dev Session"}? [y/N]: `)).toLowerCase();
577
577
  return answer === "y" || answer === "yes";
578
578
  }
579
579
 
@@ -705,14 +705,14 @@ export async function runDevSession(options) {
705
705
  session = current?.session || null;
706
706
  if (!session) {
707
707
  const repositoryResult = await api.request(`${sessionPath}/repositories`, { signal: detachController.signal });
708
- const repositories = (repositoryResult?.repos || []).filter((repository) => repository.eligibleForDevSession);
708
+ const repositories = repositoryResult?.repos || [];
709
709
  if (repositories.length === 0) {
710
- throw new Error("No linked repository has a running Preview. Deploy Preview first, then rerun `xevy dev`.");
710
+ throw new Error("No linked repository is configured for this project.");
711
711
  }
712
712
  const repository = await selectOne({
713
713
  items: repositories,
714
714
  label: "repositories",
715
- describe: (item) => `${item.displayName || item.role}${item.previewStatus ? ` · Preview ${item.previewStatus}` : ""}`,
715
+ describe: (item) => `${item.displayName || item.role}${item.defaultBranch ? ` · ${item.defaultBranch}` : ""}`,
716
716
  interactive,
717
717
  ask,
718
718
  writeLine,
@@ -853,7 +853,7 @@ export async function runDevSession(options) {
853
853
  if (completed.status !== "succeeded") {
854
854
  throw new Error(completed.errorMessage || `Finish ${completed.status}.`);
855
855
  }
856
- writeLine("Finished: the Dev Session branch was merged into the task branch and Preview redeploy was queued.");
856
+ writeLine("Finished: the Dev Session branch was merged into the task branch and the workspace was stopped.");
857
857
  detached = true;
858
858
  break;
859
859
  }
package/bin/xevy.mjs CHANGED
@@ -133,7 +133,7 @@ function devUsage() {
133
133
  xevy dev <task-id-or-code> [--base <url>]
134
134
 
135
135
  Connects this terminal to the task's remote Dev Session. The command attaches
136
- to an existing session or starts one from an eligible Preview repository. It
136
+ to an existing session or starts one from a linked repository. It
137
137
  does not run a local coding agent, shell, Docker container, or repository clone.
138
138
 
139
139
  Inside the session:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xevy/cli",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Xevy CLI — connect to remote Dev Sessions, configure credentials, pi, coding-agent skills, and MCP, and keep integrations current.",
5
5
  "type": "module",
6
6
  "keywords": [