castle-web-cli 0.4.31 → 0.4.33

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/agent.js CHANGED
@@ -429,9 +429,13 @@ async function runTaskAgentIn(ctx, task) {
429
429
  notesPath: path.join(relDir, 'notes.md'),
430
430
  depsSummary: ctx.depsSummary,
431
431
  });
432
- // Claude task runs get /goal (claude code's built-in commit-to-completion
433
- // command) plus the system-prompt autonomy reminder.
434
- const invocation = buildAgentInvocation(ctx.backend, 'task', ctx.backend === 'claude' ? `/goal ${taskPrompt}` : taskPrompt, ctx.claudeModel);
432
+ // No /goal wrapper: it makes a fresh evaluator re-check the WHOLE task
433
+ // prompt (including user-only "done when you reach wave 5"-style play
434
+ // criteria) after every turn, which traps the agent in an endless
435
+ // can't-verify-live-play loop. A single message + the autonomy reminder
436
+ // appended to the system prompt (CLAUDE_TASK_SYSTEM_REMINDER) is enough to
437
+ // get the work done; the agent stops when the code is in, the user verifies.
438
+ const invocation = buildAgentInvocation(ctx.backend, 'task', taskPrompt, ctx.claudeModel);
435
439
  let result = { ok: false, finalText: '', error: 'not run' };
436
440
  let lineBuf = '';
437
441
  const flushFeedLines = (delta) => {
package/dist/ide.js CHANGED
@@ -531,7 +531,11 @@ const IDE_STYLES = `
531
531
  text sizes -- the iframe crosses that breakpoint as panes resize. */
532
532
  font-size: 15px;
533
533
  line-height: 1.45;
534
+ /* Hide the scrollbar (Windows draws a persistent one; macOS auto-hides). */
535
+ scrollbar-width: none;
536
+ -ms-overflow-style: none;
534
537
  }
538
+ #chat-messages::-webkit-scrollbar { width: 0; height: 0; }
535
539
  #chat-empty { color: #6e7781; }
536
540
  .msg-activity {
537
541
  color: #6e7781;
@@ -712,7 +716,11 @@ const IDE_STYLES = `
712
716
  max-height: 120px;
713
717
  background: #ffffff;
714
718
  color: #222222;
719
+ /* Hide the scrollbar (Windows draws a persistent one; macOS auto-hides). */
720
+ scrollbar-width: none;
721
+ -ms-overflow-style: none;
715
722
  }
723
+ #chat-input::-webkit-scrollbar { width: 0; height: 0; }
716
724
  #chat-send {
717
725
  font: inherit;
718
726
  font-size: 15px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "castle-web-cli",
3
- "version": "0.4.31",
3
+ "version": "0.4.33",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "castle-web": "./dist/index.js"