castle-web-cli 0.4.19 → 0.4.21

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
@@ -61,6 +61,8 @@ function buildAgentInvocation(backend, role, prompt, claudeModel) {
61
61
  'stream-json',
62
62
  '--stream-partial-output',
63
63
  '--trust',
64
+ '--model',
65
+ 'composer-2.5-fast',
64
66
  ...(role === 'router' ? ['--mode', 'ask'] : ['--force']),
65
67
  prompt,
66
68
  ],
@@ -234,6 +234,11 @@ function TaskBoard(props) {
234
234
  }
235
235
  function Message(props) {
236
236
  const { msg } = props;
237
+ // A reply that was nothing but task directives strips to empty -- the board
238
+ // already shows the spawn, so don't render an empty husk of a card.
239
+ if (msg.role === 'assistant' && msg.status !== 'streaming' && !msg.text.trim()) {
240
+ return null;
241
+ }
237
242
  if (msg.role === 'log') {
238
243
  return React.createElement("div", { className: "msg msg-log" }, msg.text);
239
244
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "castle-web-cli",
3
- "version": "0.4.19",
3
+ "version": "0.4.21",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "castle-web": "./dist/index.js"