@iaforged/context-code 1.0.76 → 1.0.77

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.
@@ -1080,7 +1080,8 @@ export function useTypeahead({ commands, onInputChange, onSubmit, setCursorOffse
1080
1080
  .map(cmd => ({
1081
1081
  id: getCommandName(cmd),
1082
1082
  displayText: `/${getCommandName(cmd)}`,
1083
- description: cmd.description ?? ''
1083
+ description: cmd.description ?? '',
1084
+ metadata: cmd,
1084
1085
  }));
1085
1086
  setSuggestionsState(prev => ({
1086
1087
  commandArgumentHint: undefined,
package/dist/src/main.js CHANGED
@@ -398,6 +398,9 @@ export function startDeferredPrefetches() {
398
398
  if ("external" === 'ant') {
399
399
  void import('./utils/eventLoopStallDetector.js').then(m => m.startEventLoopStallDetector());
400
400
  }
401
+ // Pre-carga del módulo login para evitar el freeze de ~750ms cuando el usuario ejecuta /login.
402
+ // growthbook.js (~155ms) y policyLimits/index.js (~336ms) se cargan aquí en segundo plano.
403
+ void import('./commands/login/login.js');
401
404
  }
402
405
  function loadSettingsFromFlag(settingsFile) {
403
406
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iaforged/context-code",
3
- "version": "1.0.76",
3
+ "version": "1.0.77",
4
4
  "description": "Context Code es un asistente de desarrollo para la terminal. Puede revisar tu proyecto, editar archivos, ejecutar comandos y apoyarte en tareas reales de programacion.",
5
5
  "author": "Context AI",
6
6
  "license": "MIT",