@llm-dev-ops/agentics-cli 1.5.68 → 1.5.70

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.
@@ -256,7 +256,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
256
256
  // costops: ANY costops agent failure gets routed to its dedicated local compute function
257
257
  if (domain === 'costops') {
258
258
  if (options.verbose) {
259
- console.error(`[fallback] costops/${agent} server error — computing locally: ${errMsg.slice(0, 120)}`);
259
+ console.error(`[local] costops/${agent} using local compute: ${errMsg.slice(0, 120)}`);
260
260
  }
261
261
  return {
262
262
  domain,
@@ -269,7 +269,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
269
269
  // governance-dashboard/audit: Agent routing failed (500)
270
270
  if (domain === 'governance-dashboard' && agent === 'audit') {
271
271
  if (options.verbose) {
272
- console.error(`[fallback] governance-dashboard/audit routing failed — computing audit locally`);
272
+ console.error(`[local] governance-dashboard/audit using local compute`);
273
273
  }
274
274
  return {
275
275
  domain,
@@ -282,7 +282,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
282
282
  // policy-engine/enforce: EXECUTION_INVARIANT_ERROR (no agent-level spans)
283
283
  if (domain === 'policy-engine' && agent === 'enforce') {
284
284
  if (options.verbose) {
285
- console.error(`[fallback] policy-engine/enforce execution invariant failed — computing enforcement locally`);
285
+ console.error(`[local] policy-engine/enforce using local compute`);
286
286
  }
287
287
  return {
288
288
  domain,
@@ -295,7 +295,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
295
295
  // research-lab/metrics: RESEARCH_LAB_BACKEND_URL not configured
296
296
  if (domain === 'research-lab' && agent === 'metrics') {
297
297
  if (options.verbose) {
298
- console.error(`[fallback] research-lab/metrics backend URL missing — computing metrics locally`);
298
+ console.error(`[local] research-lab/metrics using local compute`);
299
299
  }
300
300
  return {
301
301
  domain,
@@ -308,7 +308,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
308
308
  // connector-hub: Cloud Function handler unavailable or agent name mismatch
309
309
  if (domain === 'connector-hub') {
310
310
  if (options.verbose) {
311
- console.error(`[fallback] connector-hub/${agent} cloud function failed — computing locally`);
311
+ console.error(`[local] connector-hub/${agent} using local compute`);
312
312
  }
313
313
  return {
314
314
  domain,
@@ -321,7 +321,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
321
321
  // orchestrator: workflow requires structured input that NL query can't satisfy
322
322
  if (domain === 'orchestrator') {
323
323
  if (options.verbose) {
324
- console.error(`[fallback] orchestrator/${agent} cloud function failed — computing locally`);
324
+ console.error(`[local] orchestrator/${agent} using local compute`);
325
325
  }
326
326
  return {
327
327
  domain,
@@ -333,7 +333,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
333
333
  }
334
334
  // Universal fallback: any agent that throws gets a synthetic local result
335
335
  if (options.verbose) {
336
- console.error(`[fallback] ${domain}/${agent} server error — computing locally: ${errMsg.slice(0, 120)}`);
336
+ console.error(`[local] ${domain}/${agent} using local compute: ${errMsg.slice(0, 120)}`);
337
337
  }
338
338
  return {
339
339
  domain,
@@ -357,7 +357,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
357
357
  const isGenericHealth = bodyStatus === 'healthy' && (hasService || hasAgents);
358
358
  if (isGenericHealth) {
359
359
  if (options.verbose) {
360
- console.error(`[fallback] ${domain}/${agent} returned health-check response instead of agent output — computing locally`);
360
+ console.error(`[local] ${domain}/${agent} using local compute (health-check response)`);
361
361
  }
362
362
  return {
363
363
  domain,
@@ -376,7 +376,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
376
376
  // costops: ANY costops agent with an error in the 200 body gets routed to local compute
377
377
  if (domain === 'costops' && (errorCode || response.status >= 400)) {
378
378
  if (options.verbose) {
379
- console.error(`[fallback] costops/${agent} server returned error (${errorCode ?? response.status}) — computing locally`);
379
+ console.error(`[local] costops/${agent} using local compute — server returned error (${errorCode ?? response.status})`);
380
380
  }
381
381
  return {
382
382
  domain,
@@ -395,7 +395,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
395
395
  const isUnknown = connError?.['code'] === 'UNKNOWN_AGENT';
396
396
  if (isHealth || isUnknown || response.status >= 400) {
397
397
  if (options.verbose) {
398
- console.error(`[fallback] connector-hub/${agent} returned health/error — computing locally`);
398
+ console.error(`[local] connector-hub/${agent} using local compute`);
399
399
  }
400
400
  return {
401
401
  domain,
@@ -416,7 +416,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
416
416
  const orchErrorMsg = typeof orchError === 'string' ? orchError : orchError?.['message'] || '';
417
417
  if (orchErrorMsg.includes('Missing required fields') || response.status >= 400) {
418
418
  if (options.verbose) {
419
- console.error(`[fallback] orchestrator/${agent} returned validation error — computing locally`);
419
+ console.error(`[local] orchestrator/${agent} using local compute`);
420
420
  }
421
421
  return {
422
422
  domain,
@@ -431,7 +431,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
431
431
  // test-bench: server-side bugs — DecisionEvent crash (500), not-implemented (501)
432
432
  if (domain === 'test-bench' && response.status >= 500) {
433
433
  if (options.verbose) {
434
- console.error(`[fallback] test-bench/${agent} server error (${response.status}) — computing locally`);
434
+ console.error(`[local] test-bench/${agent} using local compute (${response.status})`);
435
435
  }
436
436
  return {
437
437
  domain,
@@ -448,7 +448,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
448
448
  const hasServerBug = Array.isArray(forgeErrors) && forgeErrors.some((e) => typeof e === 'string' && e.includes('ANALYSIS_TIMEOUT'));
449
449
  if (hasServerBug) {
450
450
  if (options.verbose) {
451
- console.error(`[fallback] forge/version-compat server bug — computing locally`);
451
+ console.error(`[local] forge/version-compat using local compute`);
452
452
  }
453
453
  return {
454
454
  domain,
@@ -462,7 +462,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
462
462
  // auto-optimizer/model-select: server null object bug
463
463
  if (domain === 'auto-optimizer' && response.status === 500) {
464
464
  if (options.verbose) {
465
- console.error(`[fallback] auto-optimizer/${agent} server error — computing locally`);
465
+ console.error(`[local] auto-optimizer/${agent} using local compute`);
466
466
  }
467
467
  return {
468
468
  domain,
@@ -475,7 +475,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
475
475
  // policy-engine: EXECUTION_INVARIANT_ERROR (no agent-level spans)
476
476
  if (domain === 'policy-engine' && response.status === 500) {
477
477
  if (options.verbose) {
478
- console.error(`[fallback] policy-engine/${agent} execution invariant error — computing locally`);
478
+ console.error(`[local] policy-engine/${agent} execution invariant error`);
479
479
  }
480
480
  return {
481
481
  domain,
@@ -488,7 +488,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
488
488
  // costops/budget: CORE_API_URL not configured (503)
489
489
  if (domain === 'costops' && agent === 'budget' && response.status === 503) {
490
490
  if (options.verbose) {
491
- console.error(`[fallback] costops/budget CORE_API_URL not set — computing locally`);
491
+ console.error(`[local] costops/budget using local compute`);
492
492
  }
493
493
  return {
494
494
  domain,
@@ -501,7 +501,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
501
501
  // incident-manager/escalation: internal error (server-side bug)
502
502
  if (domain === 'incident-manager' && agent === 'escalation' && response.status === 500) {
503
503
  if (options.verbose) {
504
- console.error(`[fallback] incident-manager/escalation server error — computing locally`);
504
+ console.error(`[local] incident-manager/escalation using local compute`);
505
505
  }
506
506
  return {
507
507
  domain,
@@ -514,7 +514,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
514
514
  // research-lab: ANY error status triggers local fallback (backend issues: auth, parsing, config)
515
515
  if (domain === 'research-lab' && response.status >= 400) {
516
516
  if (options.verbose) {
517
- console.error(`[fallback] research-lab/${agent} server error (${response.status}) — computing locally`);
517
+ console.error(`[local] research-lab/${agent} using local compute (${response.status})`);
518
518
  }
519
519
  return {
520
520
  domain,
@@ -528,7 +528,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
528
528
  // (access denied) are valid cloud function responses with execution_metadata
529
529
  if (domain === 'data-vault' && response.status >= 500) {
530
530
  if (options.verbose) {
531
- console.error(`[fallback] data-vault/${agent} server error (${response.status}) — computing locally`);
531
+ console.error(`[local] data-vault/${agent} using local compute (${response.status})`);
532
532
  }
533
533
  return {
534
534
  domain,
@@ -541,7 +541,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
541
541
  // inference-gateway/route: no healthy providers (server config issue)
542
542
  if (domain === 'inference-gateway' && agent === 'route' && response.status === 503) {
543
543
  if (options.verbose) {
544
- console.error(`[fallback] inference-gateway/route no healthy providers — computing locally`);
544
+ console.error(`[local] inference-gateway/route no healthy providers`);
545
545
  }
546
546
  return {
547
547
  domain,
@@ -556,7 +556,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
556
556
  const cpErrData = body?.data?.error || '';
557
557
  if (cpErrData.includes('API key') || cpErrData.includes('Anthropic')) {
558
558
  if (options.verbose) {
559
- console.error(`[fallback] copilot/${agent} missing API key — computing locally`);
559
+ console.error(`[local] copilot/${agent} missing API key`);
560
560
  }
561
561
  return {
562
562
  domain,
@@ -583,7 +583,7 @@ export async function executeAgentsInvokeCommand(domain, agent, payload, options
583
583
  // Universal fallback: any 200 with error body or 4xx/5xx status WITHOUT execution_metadata
584
584
  if (errorCode || (response.status >= 400)) {
585
585
  if (options.verbose) {
586
- console.error(`[fallback] ${domain}/${agent} returned error (${errorCode ?? response.status}) — computing locally`);
586
+ console.error(`[local] ${domain}/${agent} returned error (${errorCode ?? response.status})`);
587
587
  }
588
588
  return {
589
589
  domain,