@myvillage/cli 1.77.0 → 1.78.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myvillage/cli",
3
- "version": "1.77.0",
3
+ "version": "1.78.0",
4
4
  "description": "MyVillageOS CLI for community developers",
5
5
  "type": "module",
6
6
  "bin": {
@@ -72,7 +72,7 @@ export async function agentLoop(agentName, { signal }) {
72
72
  const anthropic = createAnthropic({ apiKey });
73
73
  model = anthropic(modelId);
74
74
  }
75
- const maxTokens = config.brain?.max_tokens_per_loop || 1000;
75
+ const maxTokens = config.brain?.max_tokens_per_loop || 8000;
76
76
 
77
77
  // Initialize MCP tools
78
78
  let tools;
@@ -292,7 +292,9 @@ Guidelines:
292
292
  const anthropicMeta = result.providerMetadata?.anthropic || {};
293
293
  logActivity(agentDir, {
294
294
  type: 'llm_response',
295
- text: (result.text || '').slice(0, 500),
295
+ // Keep the full response: at ~4 chars/token, 32k chars holds a maxed-out
296
+ // 8k-token reply, so the Logs panel no longer clips mid-sentence.
297
+ text: (result.text || '').slice(0, 32000),
296
298
  tokensUsed: {
297
299
  prompt: result.usage?.inputTokens || 0,
298
300
  completion: result.usage?.outputTokens || 0,
@@ -165,7 +165,7 @@ function generateAgentConfig({ name, displayName, description, checkInInterval,
165
165
  brain: {
166
166
  provider: provider || 'anthropic',
167
167
  model: model || (provider === 'openai' ? 'gpt-4o' : 'claude-sonnet-4-5-20250929'),
168
- max_tokens_per_loop: 1000,
168
+ max_tokens_per_loop: 8000,
169
169
  fallback_provider: null,
170
170
  },
171
171