replicas-cli 0.2.814 → 0.2.815
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/index.cjs +9 -17
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -28019,7 +28019,7 @@ var headlessAgentRequestSchema = external_exports.object({
|
|
|
28019
28019
|
});
|
|
28020
28020
|
|
|
28021
28021
|
// ../shared/src/cli-version.ts
|
|
28022
|
-
var CLI_VERSION = "0.2.
|
|
28022
|
+
var CLI_VERSION = "0.2.815";
|
|
28023
28023
|
|
|
28024
28024
|
// ../shared/src/version.ts
|
|
28025
28025
|
function compareVersions(v1, v2) {
|
|
@@ -30920,18 +30920,14 @@ Replica: ${replica.name}
|
|
|
30920
30920
|
}
|
|
30921
30921
|
console.log(import_chalk16.default.gray(` Status: ${formatStatus(replica.status)}`));
|
|
30922
30922
|
console.log(import_chalk16.default.gray(` Created: ${formatDate(replica.created_at)}`));
|
|
30923
|
-
if (replica.
|
|
30924
|
-
console.log(import_chalk16.default.
|
|
30925
|
-
}
|
|
30926
|
-
|
|
30927
|
-
|
|
30928
|
-
|
|
30929
|
-
|
|
30930
|
-
console.log(import_chalk16.default.gray(
|
|
30931
|
-
for (const repositoryStatus of replica.repository_statuses) {
|
|
30932
|
-
const changeText = repositoryStatus.git_diff ? ` (${import_chalk16.default.green(`+${repositoryStatus.git_diff.added}`)} / ${import_chalk16.default.red(`-${repositoryStatus.git_diff.removed}`)})` : "";
|
|
30933
|
-
console.log(import_chalk16.default.gray(` - ${repositoryStatus.repository}: ${repositoryStatus.branch || "unknown"}${changeText}`));
|
|
30934
|
-
}
|
|
30923
|
+
if (replica.coding_agent) {
|
|
30924
|
+
console.log(import_chalk16.default.gray(` Coding Agent: ${replica.coding_agent}`));
|
|
30925
|
+
}
|
|
30926
|
+
if (replica.repository_statuses && replica.repository_statuses.length > 0) {
|
|
30927
|
+
console.log(import_chalk16.default.gray(" Repository Statuses:"));
|
|
30928
|
+
for (const repositoryStatus of replica.repository_statuses) {
|
|
30929
|
+
const changeText = repositoryStatus.git_diff ? ` (${import_chalk16.default.green(`+${repositoryStatus.git_diff.added}`)} / ${import_chalk16.default.red(`-${repositoryStatus.git_diff.removed}`)})` : "";
|
|
30930
|
+
console.log(import_chalk16.default.gray(` - ${repositoryStatus.repository}: ${repositoryStatus.branch || "unknown"}${changeText}`));
|
|
30935
30931
|
}
|
|
30936
30932
|
}
|
|
30937
30933
|
if (replica.pull_requests && replica.pull_requests.length > 0) {
|
|
@@ -31139,10 +31135,6 @@ async function replicaReadCommand(id, options) {
|
|
|
31139
31135
|
const response = await orgAuthenticatedFetch(
|
|
31140
31136
|
`/v1/replica/${id}/read${query ? "?" + query : ""}`
|
|
31141
31137
|
);
|
|
31142
|
-
if (response.waking) {
|
|
31143
|
-
console.log(import_chalk16.default.yellow("\nWorkspace is waking from sleep. Retry in 30-90 seconds.\n"));
|
|
31144
|
-
return;
|
|
31145
|
-
}
|
|
31146
31138
|
console.log(import_chalk16.default.green(`
|
|
31147
31139
|
Conversation History
|
|
31148
31140
|
`));
|