@atolis-hq/wake 0.2.17 → 0.2.19

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.
@@ -229,6 +229,9 @@ export function formatWakeComment(payload, controlPlaneUrl) {
229
229
  if (kind === 'approval-request') {
230
230
  sections.push('_To approve this work, reply with `/approved`. To request changes, reply with `/changes` followed by your feedback. To ask a question without requesting changes, reply with `/ask` followed by your question._');
231
231
  }
232
+ if (kind === 'question') {
233
+ sections.push('_Reply on this thread to continue — any reply will resume Wake with your response. To request changes to the overall approach instead, reply with `/changes` followed by your feedback._');
234
+ }
232
235
  if (sessionId !== undefined) {
233
236
  const resumeCommandArgs = cli === undefined
234
237
  ? null
@@ -331,10 +331,26 @@ async function renderConfig() {
331
331
  ...data.routingTable.map((r) => el('tr', {}, [
332
332
  el('td', { text: r.stage }), el('td', { text: r.action || '' }), el('td', { text: r.tier || '' }),
333
333
  el('td', { text: r.runnerName || '' }), el('td', { text: r.model || '' }),
334
- el('td', {}, (r.candidates || []).map((c) => el('span', {
335
- class: 'chip' + (c.paused ? ' amber' : ''),
336
- text: c.runnerName + (c.paused ? ' (paused)' : ''),
337
- }))),
334
+ el('td', {}, (r.candidates || []).map((c) => {
335
+ if (!c.paused) return el('span', { class: 'chip', text: c.runnerName });
336
+ const btn = el('button', { type: 'button', class: 'btn', text: 'Unpause', style: 'margin-top:0;font-size:0.7rem;padding:0.1rem 0.4rem;' });
337
+ btn.addEventListener('click', async () => {
338
+ btn.disabled = true;
339
+ btn.textContent = 'Unpausing…';
340
+ try {
341
+ await postJson('/runners/' + encodeURIComponent(c.runnerName) + '/unpause');
342
+ await renderConfig();
343
+ } catch (err) {
344
+ btn.disabled = false;
345
+ btn.textContent = 'Unpause';
346
+ document.getElementById('status-summary').textContent = 'unpause failed: ' + err.message;
347
+ }
348
+ });
349
+ return el('span', { style: 'display:inline-flex;align-items:center;gap:0.25rem;margin-right:0.25rem;' }, [
350
+ el('span', { class: 'chip amber', text: c.runnerName + ' (paused)' }),
351
+ btn,
352
+ ]);
353
+ })),
338
354
  ])),
339
355
  ]));
340
356
  main.appendChild(el('h3', { text: 'Effective config (redacted)' }));
@@ -124,4 +124,4 @@ export function resolveWakeVersion(options = {}) {
124
124
  }
125
125
  return '0.1.0-dev';
126
126
  }
127
- export const wakeVersion = "g743a5ea";
127
+ export const wakeVersion = "ga640c4b";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atolis-hq/wake",
3
- "version": "0.2.17",
3
+ "version": "0.2.19",
4
4
  "description": "Local autonomous agent control plane for software development",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {