beads-ui 0.12.0 → 0.12.2
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/CHANGES.md +30 -0
- package/app/main.bundle.js +203 -203
- package/app/main.bundle.js.map +3 -3
- package/package.json +1 -1
- package/server/cli/commands.js +3 -0
- package/server/list-adapters.js +1 -1
- package/server/ws.js +1 -1
package/package.json
CHANGED
package/server/cli/commands.js
CHANGED
|
@@ -54,6 +54,7 @@ export async function handleStart(options) {
|
|
|
54
54
|
console.log('Workspace registered: %s', cwd);
|
|
55
55
|
}
|
|
56
56
|
console.warn('Server is already running.');
|
|
57
|
+
console.log('beads ui listening on %s', url);
|
|
57
58
|
if (should_open) {
|
|
58
59
|
await openUrl(url);
|
|
59
60
|
}
|
|
@@ -87,6 +88,7 @@ export async function handleStart(options) {
|
|
|
87
88
|
const registered = await registerCurrentWorkspace(existing_url, cwd);
|
|
88
89
|
if (registered) {
|
|
89
90
|
console.log('Workspace registered with existing server: %s', cwd);
|
|
91
|
+
console.log('beads ui listening on %s', existing_url);
|
|
90
92
|
if (should_open) {
|
|
91
93
|
await openUrl(existing_url);
|
|
92
94
|
}
|
|
@@ -124,6 +126,7 @@ export async function handleStart(options) {
|
|
|
124
126
|
'Daemon exited early; registered workspace with existing server: %s',
|
|
125
127
|
cwd
|
|
126
128
|
);
|
|
129
|
+
console.log('beads ui listening on %s', url);
|
|
127
130
|
return 0;
|
|
128
131
|
}
|
|
129
132
|
return 1;
|
package/server/list-adapters.js
CHANGED
|
@@ -45,7 +45,7 @@ export function mapSubscriptionToBdArgs(spec) {
|
|
|
45
45
|
if (id.length === 0) {
|
|
46
46
|
throw badRequest('Missing param: params.id');
|
|
47
47
|
}
|
|
48
|
-
return ['show', id, '--json'];
|
|
48
|
+
return ['show', id, '--json', '--include-dependents'];
|
|
49
49
|
}
|
|
50
50
|
default: {
|
|
51
51
|
throw badRequest(`Unknown subscription type: ${t}`);
|
package/server/ws.js
CHANGED
|
@@ -1199,7 +1199,7 @@ export async function handleMessage(ws, data) {
|
|
|
1199
1199
|
|
|
1200
1200
|
// Get git user name for author attribution
|
|
1201
1201
|
const author = await getGitUserName();
|
|
1202
|
-
const args = ['
|
|
1202
|
+
const args = ['comments', 'add', id, text.trim()];
|
|
1203
1203
|
if (author) {
|
|
1204
1204
|
args.push('--author', author);
|
|
1205
1205
|
}
|