@vypdev/copilot 3.10.8 → 3.10.9

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.
@@ -32572,6 +32572,16 @@ const ENGLISH_RECOVERY_CONTENT = Object.freeze({
32572
32572
  action: 'Inspect the original issue and the supported assessment protocol. The unchanged 8,000-code-point field limit must include every citation and a nonempty fact. Details: phase {phase}, reason {reason}, field {field}, requirement {requirementId}, original issue line {sourceLineId}. none means no verified identity is available. An identical retry cannot add capacity; preserve every requirement and verification gate when reviewing a supported protocol.',
32573
32573
  retainedState: 'Existing progress labels and published assessments were preserved. No partial result or passing verification is authorized.',
32574
32574
  }),
32575
+ 'progress-sdd-seed-unverified': Object.freeze({
32576
+ impact: 'Commit could not verify the selected SDD draft for this issue and head.',
32577
+ action: 'Check the draft markers and confirm the current selection and verified SDD publication on the linked branch, then rerun Commit.',
32578
+ retainedState: 'Existing progress was retained.',
32579
+ }),
32580
+ 'progress-batch-retained': Object.freeze({
32581
+ impact: 'Progress retained. Verified {verified} of {expected} batches. Complete evidence for the evaluated head is required.',
32582
+ action: 'Inspect the current run and requirement {requirementId}, batch {batch}, reason {reason}. Resolve missing or mismatched evidence and retry a complete assessment within the fixed budget.',
32583
+ retainedState: 'Existing progress labels and published assessments were preserved. No partial percentage was authorized.',
32584
+ }),
32575
32585
  'progress-scope-clause-limit': Object.freeze({
32576
32586
  impact: 'The complete human scope classification selected {observed} {clauseKind} lines; the supported limit is {limit}. Progress was not published.',
32577
32587
  action: 'Inspect the original human scope and classifier result at source {sourceLineId}, phase scope. A fresh valid classification may help; do not remove requirements, promote generated state or raise limits to pass. Genuine over-limit human scope requires a reviewed supported protocol.',
@@ -32778,6 +32788,16 @@ const SPANISH_RECOVERY_CONTENT = Object.freeze({
32778
32788
  action: 'Inspecciona la issue original y el protocolo de evaluación admitido. El límite fijo de 8,000 puntos de código por campo debe incluir cada cita y un dato no vacío. Detalles: fase {phase}, motivo {reason}, campo {field}, requisito {requirementId}, línea original de la issue {sourceLineId}. none indica que no hay una identidad verificada. Repetir el intento no añade capacidad; conserva todos los requisitos y controles de verificación al revisar un protocolo compatible.',
32779
32789
  retainedState: 'Se conservaron las etiquetas de progreso y las evaluaciones publicadas. No se autoriza un resultado parcial ni una verificación aprobada.',
32780
32790
  }),
32791
+ 'progress-sdd-seed-unverified': Object.freeze({
32792
+ impact: 'Commit no pudo verificar el borrador de SDD seleccionado para esta issue y revisión.',
32793
+ action: 'Comprueba los marcadores del borrador y confirma la selección y la publicación verificada del SDD en la rama vinculada. Después, vuelve a ejecutar Commit.',
32794
+ retainedState: 'Se conservó el progreso anterior.',
32795
+ }),
32796
+ 'progress-batch-retained': Object.freeze({
32797
+ impact: 'Progreso conservado. Se verificaron {verified} de {expected} lotes. Se exige evidencia completa de la revisión evaluada.',
32798
+ action: 'Inspecciona la ejecución y el requisito {requirementId}, lote {batch}, motivo {reason}. Resuelve la evidencia ausente o incompatible y repite la evaluación completa dentro del presupuesto fijo.',
32799
+ retainedState: 'Se conservaron las etiquetas y evaluaciones de progreso anteriores. No se autorizó un porcentaje parcial.',
32800
+ }),
32781
32801
  'progress-scope-clause-limit': Object.freeze({
32782
32802
  impact: 'La clasificación completa del alcance humano seleccionó {observed} líneas de tipo {clauseKind}; el límite admitido es {limit}. No se publicó el progreso.',
32783
32803
  action: 'Inspecciona el alcance humano original y la clasificación en la línea {sourceLineId}, fase scope. Una nueva clasificación válida puede ayudar; no elimines requisitos, conviertas estado generado en requisitos ni aumentes límites para aprobar. El alcance humano que excede el límite necesita un protocolo compatible revisado.',
@@ -34005,6 +34025,7 @@ var _ApplicationError_cause;
34005
34025
  Object.defineProperty(exports, "__esModule", ({ value: true }));
34006
34026
  exports.ApplicationError = exports.APPLICATION_ERROR_METADATA = exports.APPLICATION_ERROR_RECOVERY_IDS = void 0;
34007
34027
  exports.isApplicationErrorCorrelationId = isApplicationErrorCorrelationId;
34028
+ const progress_batch_diagnostic_1 = __nccwpck_require__(9486);
34008
34029
  const branch_sync_publication_1 = __nccwpck_require__(7857);
34009
34030
  const framed_review_1 = __nccwpck_require__(3750);
34010
34031
  const progress_response_diagnostic_1 = __nccwpck_require__(6289);
@@ -34068,6 +34089,8 @@ exports.APPLICATION_ERROR_RECOVERY_IDS = Object.freeze([
34068
34089
  'progress-partition-length-invalid',
34069
34090
  'progress-assessment-capacity-exceeded',
34070
34091
  'progress-scope-clause-limit',
34092
+ 'progress-sdd-seed-unverified',
34093
+ 'progress-batch-retained',
34071
34094
  'progress-completion-recovery-exhausted',
34072
34095
  'stored-configuration-schema-missing',
34073
34096
  'stored-configuration-schema-unsupported',
@@ -34329,6 +34352,8 @@ const RECOVERY_VARIABLE_KEYS = Object.freeze({
34329
34352
  'progress-result-contract-invalid': Object.freeze(['phase', 'reason', 'field', 'requirementId', 'sourceLineId']),
34330
34353
  'progress-partition-length-invalid': Object.freeze(['partitionId', 'filePath', 'unitId', 'field', 'maximum', 'observed']),
34331
34354
  'progress-assessment-capacity-exceeded': Object.freeze(['phase', 'reason', 'field', 'requirementId', 'sourceLineId']),
34355
+ 'progress-batch-retained': Object.freeze(['reason', 'verified', 'expected', 'batch', 'requirementId']),
34356
+ 'progress-sdd-seed-unverified': Object.freeze([]),
34332
34357
  'progress-scope-clause-limit': Object.freeze(['clauseKind', 'observed', 'limit', 'sourceLineId']),
34333
34358
  'progress-completion-recovery-exhausted': Object.freeze(['reportedProgress', 'requirementCount', 'supportedCount', 'missingCount', 'unknownCount']),
34334
34359
  'deployment-publication-context-missing': Object.freeze([]),
@@ -34428,6 +34453,8 @@ function normalizeApplicationErrorRecovery(recovery) {
34428
34453
  && (!(0, progress_response_diagnostic_2.isProgressResponseDiagnosticFacts)(variables) || variables.phase !== 'assessment' || variables.reason !== 'assessment-text-limit')) {
34429
34454
  throw new TypeError('Progress assessment capacity diagnostic is invalid.');
34430
34455
  }
34456
+ if (recovery.id === 'progress-batch-retained' && !(0, progress_batch_diagnostic_1.isProgressBatchDiagnostic)(variables))
34457
+ throw new TypeError('Progress batch diagnostic is invalid.');
34431
34458
  if (recovery.id === 'progress-scope-clause-limit' && !(0, progress_response_diagnostic_1.isProgressScopeCapacityFacts)(variables))
34432
34459
  throw new TypeError('Progress scope capacity diagnostic is invalid.');
34433
34460
  if (recovery.id === 'progress-result-contract-invalid' && !(0, progress_response_diagnostic_2.isProgressResponseDiagnosticFacts)(variables))
@@ -37348,6 +37375,32 @@ function parsePositiveSafeInteger(value) {
37348
37375
  }
37349
37376
 
37350
37377
 
37378
+ /***/ }),
37379
+
37380
+ /***/ 9486:
37381
+ /***/ ((__unused_webpack_module, exports) => {
37382
+
37383
+ "use strict";
37384
+
37385
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
37386
+ exports.PROGRESS_BATCH_REASONS = void 0;
37387
+ exports.isProgressBatchDiagnostic = isProgressBatchDiagnostic;
37388
+ exports.PROGRESS_BATCH_REASONS = [
37389
+ 'source-coverage', 'scope-capacity', 'manifest-identity', 'batch-identity', 'receipt-coverage',
37390
+ 'evidence-identity', 'evidence-missing', 'receipt-conflict', 'call-budget', 'time-budget', 'aggregate-capacity',
37391
+ ];
37392
+ function isProgressBatchDiagnostic(value) {
37393
+ if (!value || typeof value !== 'object' || Array.isArray(value))
37394
+ return false;
37395
+ const facts = value;
37396
+ return Object.keys(facts).sort().join(',') === 'batch,expected,reason,requirementId,verified'
37397
+ && exports.PROGRESS_BATCH_REASONS.includes(facts.reason)
37398
+ && [facts.verified, facts.expected, facts.batch].every(count => Number.isSafeInteger(count) && count >= 0 && count <= 1024)
37399
+ && facts.verified <= facts.expected
37400
+ && typeof facts.requirementId === 'string' && /^(?:none|R[1-9]\d{0,5})$/u.test(facts.requirementId);
37401
+ }
37402
+
37403
+
37351
37404
  /***/ }),
37352
37405
 
37353
37406
  /***/ 364:
@@ -37679,7 +37732,7 @@ exports.PROGRESS_RESPONSE_REASONS = Object.freeze({
37679
37732
  'requirement-remaining-invalid', 'requirement-evidence-mismatch', 'progress-completion-mismatch', 'assessment-text-limit']),
37680
37733
  });
37681
37734
  const fieldPatterns = Object.freeze({
37682
- scope: /^\$(?:\.outputLocale|\.lines(?:\[(0|[1-9]\d{0,3})\](?:\.(?:id|kind))?)?)?$/u,
37735
+ scope: /^\$(?:\.outputLocale|\.lines(?:\[(0|[1-9]\d{0,3})\](?:\.(?:id|kind|sameAs))?)?)?$/u,
37683
37736
  partition: /^\$(?:\.outputLocale|\.partitionId|\.files(?:\[(0|[1-9]\d{0,3})\](?:\.(?:path|unitId|implemented|remaining))?)?)?$/u,
37684
37737
  assessment: /^\$(?:\.outputLocale|\.progress|\.requirements(?:\[(0|[1-9]\d{0,3})\](?:\.(?:id|status|evidence|summary|remaining))?)?)?$/u,
37685
37738
  });
@@ -37690,7 +37743,7 @@ function knownId(value, prefix, maximum) {
37690
37743
  const match = value.match(/^([RL])([1-9]\d{0,5})$/u);
37691
37744
  return match !== null && match[0] === value && match[1] === prefix && Number(match[2]) <= maximum;
37692
37745
  }
37693
- const isProgressRequirementId = (value) => knownId(value, 'R', 32);
37746
+ const isProgressRequirementId = (value) => knownId(value, 'R', agent_execution_plan_1.AGENT_PROMPT_MAX_BYTES + 1);
37694
37747
  exports.isProgressRequirementId = isProgressRequirementId;
37695
37748
  const isProgressSourceLineId = (value) => knownId(value, 'L', agent_execution_plan_1.AGENT_PROMPT_MAX_BYTES + 1);
37696
37749
  exports.isProgressSourceLineId = isProgressSourceLineId;