teamclaws 2.0.24 → 2.0.25
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 +6 -0
- package/dist/constants.js +1 -1
- package/dist/output.js +19 -1
- package/dist/validation.js +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -376,6 +376,12 @@ Choose `read_only`, `write_with_approval_read`, or `write_read`. The command pri
|
|
|
376
376
|
|
|
377
377
|
## Submit a bug report or feedback
|
|
378
378
|
|
|
379
|
+
`teamclaws servers list` shows each server's status and creation timestamp.
|
|
380
|
+
Creating or deploying workspaces show an estimated build time of 10 minutes;
|
|
381
|
+
this is an estimate, not a deadline. Run the list again to check for
|
|
382
|
+
`ready to pair`. Stopped servers remain listed with their actual status.
|
|
383
|
+
If a build seems stuck, include its server ID and creation time in a bug report.
|
|
384
|
+
|
|
379
385
|
```sh
|
|
380
386
|
teamclaws bug report --title "Short summary" --body "What happened and how to reproduce it"
|
|
381
387
|
teamclaws feedback send --title "Short summary" --body "Your suggestion"
|
package/dist/constants.js
CHANGED
package/dist/output.js
CHANGED
|
@@ -139,7 +139,25 @@ export class Output {
|
|
|
139
139
|
return;
|
|
140
140
|
}
|
|
141
141
|
servers.forEach((server, index) => {
|
|
142
|
-
|
|
142
|
+
const building = !server.pairing_ready &&
|
|
143
|
+
server.deployment_status !== "failed" &&
|
|
144
|
+
(server.status === "creating" ||
|
|
145
|
+
(server.status === "running" &&
|
|
146
|
+
(server.deployment_status === "queued" ||
|
|
147
|
+
server.deployment_status === "running")));
|
|
148
|
+
const status = building
|
|
149
|
+
? server.status === "creating"
|
|
150
|
+
? "creating"
|
|
151
|
+
: "deploying"
|
|
152
|
+
: server.deployment_status === "failed" && !server.pairing_ready
|
|
153
|
+
? `${server.status} — deployment needs review`
|
|
154
|
+
: server.status;
|
|
155
|
+
this.stdout.write(`${index + 1}. ${server.alias} — ${server.server_id} — ${server.workspace_url} — ${status} — ${server.pairing_ready ? "ready to pair" : "not ready to pair"}\n`);
|
|
156
|
+
if (server.created_at)
|
|
157
|
+
this.stdout.write(` Created: ${server.created_at}\n`);
|
|
158
|
+
if (building)
|
|
159
|
+
this.stdout.write(" Estimated build time: 10 minutes. Run teamclaws servers list again to check readiness.\n" +
|
|
160
|
+
` If the build seems stuck: teamclaws bug report --title "Workspace build issue" --body "Server ${server.server_id}; created ${server.created_at ?? "unknown"}; describe what happened."\n`);
|
|
143
161
|
if (server.description)
|
|
144
162
|
this.stdout.write(` ${server.description}\n`);
|
|
145
163
|
if (server.resources) {
|
package/dist/validation.js
CHANGED
|
@@ -381,6 +381,18 @@ export function parseServersResponse(value) {
|
|
|
381
381
|
}
|
|
382
382
|
return {
|
|
383
383
|
server_id: normalizeUuid(server.id),
|
|
384
|
+
...(server.created_at !== undefined
|
|
385
|
+
? {
|
|
386
|
+
created_at: requireIsoDate(server.created_at, "server creation time"),
|
|
387
|
+
}
|
|
388
|
+
: {}),
|
|
389
|
+
...(server.deployment_status !== undefined
|
|
390
|
+
? {
|
|
391
|
+
deployment_status: server.deployment_status === null
|
|
392
|
+
? null
|
|
393
|
+
: requireString(server.deployment_status, "deployment status", 50),
|
|
394
|
+
}
|
|
395
|
+
: {}),
|
|
384
396
|
...(server.tier_name !== undefined
|
|
385
397
|
? {
|
|
386
398
|
tier_name: server.tier_name === null
|
package/package.json
CHANGED