@peac/schema 0.9.31 → 0.10.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.
@@ -106,9 +106,9 @@ export declare const AgentProofSchema: z.ZodObject<{
106
106
  body_hash?: string | undefined;
107
107
  }>>;
108
108
  }, "strict", z.ZodTypeAny, {
109
+ alg: string;
109
110
  method: "http-message-signature" | "dpop" | "mtls" | "jwk-thumbprint";
110
111
  key_id: string;
111
- alg: string;
112
112
  signature?: string | undefined;
113
113
  dpop_proof?: string | undefined;
114
114
  cert_thumbprint?: string | undefined;
@@ -190,9 +190,9 @@ export declare const AgentIdentityEvidenceSchema: z.ZodObject<{
190
190
  body_hash?: string | undefined;
191
191
  }>>;
192
192
  }, "strict", z.ZodTypeAny, {
193
+ alg: string;
193
194
  method: "http-message-signature" | "dpop" | "mtls" | "jwk-thumbprint";
194
195
  key_id: string;
195
- alg: string;
196
196
  signature?: string | undefined;
197
197
  dpop_proof?: string | undefined;
198
198
  cert_thumbprint?: string | undefined;
@@ -229,13 +229,14 @@ export declare const AgentIdentityEvidenceSchema: z.ZodObject<{
229
229
  }, "strict", z.ZodTypeAny, {
230
230
  agent_id: string;
231
231
  control_type: "operator" | "user-delegated";
232
+ metadata?: Record<string, JsonValue> | undefined;
232
233
  operator?: string | undefined;
233
234
  capabilities?: string[] | undefined;
234
235
  delegation_chain?: string[] | undefined;
235
236
  proof?: {
237
+ alg: string;
236
238
  method: "http-message-signature" | "dpop" | "mtls" | "jwk-thumbprint";
237
239
  key_id: string;
238
- alg: string;
239
240
  signature?: string | undefined;
240
241
  dpop_proof?: string | undefined;
241
242
  cert_thumbprint?: string | undefined;
@@ -249,10 +250,10 @@ export declare const AgentIdentityEvidenceSchema: z.ZodObject<{
249
250
  } | undefined;
250
251
  key_directory_url?: string | undefined;
251
252
  user_id?: string | undefined;
252
- metadata?: Record<string, JsonValue> | undefined;
253
253
  }, {
254
254
  agent_id: string;
255
255
  control_type: "operator" | "user-delegated";
256
+ metadata?: Record<string, JsonValue> | undefined;
256
257
  operator?: string | undefined;
257
258
  capabilities?: string[] | undefined;
258
259
  delegation_chain?: string[] | undefined;
@@ -273,7 +274,6 @@ export declare const AgentIdentityEvidenceSchema: z.ZodObject<{
273
274
  } | undefined;
274
275
  key_directory_url?: string | undefined;
275
276
  user_id?: string | undefined;
276
- metadata?: Record<string, JsonValue> | undefined;
277
277
  }>;
278
278
  export type AgentIdentityEvidence = z.infer<typeof AgentIdentityEvidenceSchema>;
279
279
  /**
@@ -367,9 +367,9 @@ export declare const AgentIdentityAttestationSchema: z.ZodObject<{
367
367
  body_hash?: string | undefined;
368
368
  }>>;
369
369
  }, "strict", z.ZodTypeAny, {
370
+ alg: string;
370
371
  method: "http-message-signature" | "dpop" | "mtls" | "jwk-thumbprint";
371
372
  key_id: string;
372
- alg: string;
373
373
  signature?: string | undefined;
374
374
  dpop_proof?: string | undefined;
375
375
  cert_thumbprint?: string | undefined;
@@ -406,13 +406,14 @@ export declare const AgentIdentityAttestationSchema: z.ZodObject<{
406
406
  }, "strict", z.ZodTypeAny, {
407
407
  agent_id: string;
408
408
  control_type: "operator" | "user-delegated";
409
+ metadata?: Record<string, JsonValue> | undefined;
409
410
  operator?: string | undefined;
410
411
  capabilities?: string[] | undefined;
411
412
  delegation_chain?: string[] | undefined;
412
413
  proof?: {
414
+ alg: string;
413
415
  method: "http-message-signature" | "dpop" | "mtls" | "jwk-thumbprint";
414
416
  key_id: string;
415
- alg: string;
416
417
  signature?: string | undefined;
417
418
  dpop_proof?: string | undefined;
418
419
  cert_thumbprint?: string | undefined;
@@ -426,10 +427,10 @@ export declare const AgentIdentityAttestationSchema: z.ZodObject<{
426
427
  } | undefined;
427
428
  key_directory_url?: string | undefined;
428
429
  user_id?: string | undefined;
429
- metadata?: Record<string, JsonValue> | undefined;
430
430
  }, {
431
431
  agent_id: string;
432
432
  control_type: "operator" | "user-delegated";
433
+ metadata?: Record<string, JsonValue> | undefined;
433
434
  operator?: string | undefined;
434
435
  capabilities?: string[] | undefined;
435
436
  delegation_chain?: string[] | undefined;
@@ -450,7 +451,6 @@ export declare const AgentIdentityAttestationSchema: z.ZodObject<{
450
451
  } | undefined;
451
452
  key_directory_url?: string | undefined;
452
453
  user_id?: string | undefined;
453
- metadata?: Record<string, JsonValue> | undefined;
454
454
  }>;
455
455
  }, "strict", z.ZodTypeAny, {
456
456
  type: "peac/agent-identity";
@@ -459,13 +459,14 @@ export declare const AgentIdentityAttestationSchema: z.ZodObject<{
459
459
  evidence: {
460
460
  agent_id: string;
461
461
  control_type: "operator" | "user-delegated";
462
+ metadata?: Record<string, JsonValue> | undefined;
462
463
  operator?: string | undefined;
463
464
  capabilities?: string[] | undefined;
464
465
  delegation_chain?: string[] | undefined;
465
466
  proof?: {
467
+ alg: string;
466
468
  method: "http-message-signature" | "dpop" | "mtls" | "jwk-thumbprint";
467
469
  key_id: string;
468
- alg: string;
469
470
  signature?: string | undefined;
470
471
  dpop_proof?: string | undefined;
471
472
  cert_thumbprint?: string | undefined;
@@ -479,7 +480,6 @@ export declare const AgentIdentityAttestationSchema: z.ZodObject<{
479
480
  } | undefined;
480
481
  key_directory_url?: string | undefined;
481
482
  user_id?: string | undefined;
482
- metadata?: Record<string, JsonValue> | undefined;
483
483
  };
484
484
  expires_at?: string | undefined;
485
485
  ref?: string | undefined;
@@ -490,6 +490,7 @@ export declare const AgentIdentityAttestationSchema: z.ZodObject<{
490
490
  evidence: {
491
491
  agent_id: string;
492
492
  control_type: "operator" | "user-delegated";
493
+ metadata?: Record<string, JsonValue> | undefined;
493
494
  operator?: string | undefined;
494
495
  capabilities?: string[] | undefined;
495
496
  delegation_chain?: string[] | undefined;
@@ -510,7 +511,6 @@ export declare const AgentIdentityAttestationSchema: z.ZodObject<{
510
511
  } | undefined;
511
512
  key_directory_url?: string | undefined;
512
513
  user_id?: string | undefined;
513
- metadata?: Record<string, JsonValue> | undefined;
514
514
  };
515
515
  expires_at?: string | undefined;
516
516
  ref?: string | undefined;
@@ -61,12 +61,12 @@ export declare const ContentHashSchema: z.ZodObject<{
61
61
  /** Encoding format (REQUIRED, must be 'base64url') */
62
62
  enc: z.ZodLiteral<"base64url">;
63
63
  }, "strict", z.ZodTypeAny, {
64
- value: string;
65
64
  alg: "sha-256";
65
+ value: string;
66
66
  enc: "base64url";
67
67
  }, {
68
- value: string;
69
68
  alg: "sha-256";
69
+ value: string;
70
70
  enc: "base64url";
71
71
  }>;
72
72
  export type ContentHash = z.infer<typeof ContentHashSchema>;
@@ -137,12 +137,12 @@ export declare const AttributionSourceSchema: z.ZodObject<{
137
137
  /** Encoding format (REQUIRED, must be 'base64url') */
138
138
  enc: z.ZodLiteral<"base64url">;
139
139
  }, "strict", z.ZodTypeAny, {
140
- value: string;
141
140
  alg: "sha-256";
141
+ value: string;
142
142
  enc: "base64url";
143
143
  }, {
144
- value: string;
145
144
  alg: "sha-256";
145
+ value: string;
146
146
  enc: "base64url";
147
147
  }>>;
148
148
  /** Hash of used excerpt (OPTIONAL, content-minimizing, not privacy-preserving for short text) */
@@ -154,12 +154,12 @@ export declare const AttributionSourceSchema: z.ZodObject<{
154
154
  /** Encoding format (REQUIRED, must be 'base64url') */
155
155
  enc: z.ZodLiteral<"base64url">;
156
156
  }, "strict", z.ZodTypeAny, {
157
- value: string;
158
157
  alg: "sha-256";
158
+ value: string;
159
159
  enc: "base64url";
160
160
  }, {
161
- value: string;
162
161
  alg: "sha-256";
162
+ value: string;
163
163
  enc: "base64url";
164
164
  }>>;
165
165
  /** How the source was used (REQUIRED) */
@@ -171,13 +171,13 @@ export declare const AttributionSourceSchema: z.ZodObject<{
171
171
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
172
172
  receipt_issuer?: string | undefined;
173
173
  content_hash?: {
174
- value: string;
175
174
  alg: "sha-256";
175
+ value: string;
176
176
  enc: "base64url";
177
177
  } | undefined;
178
178
  excerpt_hash?: {
179
- value: string;
180
179
  alg: "sha-256";
180
+ value: string;
181
181
  enc: "base64url";
182
182
  } | undefined;
183
183
  weight?: number | undefined;
@@ -186,13 +186,13 @@ export declare const AttributionSourceSchema: z.ZodObject<{
186
186
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
187
187
  receipt_issuer?: string | undefined;
188
188
  content_hash?: {
189
- value: string;
190
189
  alg: "sha-256";
190
+ value: string;
191
191
  enc: "base64url";
192
192
  } | undefined;
193
193
  excerpt_hash?: {
194
- value: string;
195
194
  alg: "sha-256";
195
+ value: string;
196
196
  enc: "base64url";
197
197
  } | undefined;
198
198
  weight?: number | undefined;
@@ -225,12 +225,12 @@ export declare const AttributionEvidenceSchema: z.ZodObject<{
225
225
  /** Encoding format (REQUIRED, must be 'base64url') */
226
226
  enc: z.ZodLiteral<"base64url">;
227
227
  }, "strict", z.ZodTypeAny, {
228
- value: string;
229
228
  alg: "sha-256";
229
+ value: string;
230
230
  enc: "base64url";
231
231
  }, {
232
- value: string;
233
232
  alg: "sha-256";
233
+ value: string;
234
234
  enc: "base64url";
235
235
  }>>;
236
236
  /** Hash of used excerpt (OPTIONAL, content-minimizing, not privacy-preserving for short text) */
@@ -242,12 +242,12 @@ export declare const AttributionEvidenceSchema: z.ZodObject<{
242
242
  /** Encoding format (REQUIRED, must be 'base64url') */
243
243
  enc: z.ZodLiteral<"base64url">;
244
244
  }, "strict", z.ZodTypeAny, {
245
- value: string;
246
245
  alg: "sha-256";
246
+ value: string;
247
247
  enc: "base64url";
248
248
  }, {
249
- value: string;
250
249
  alg: "sha-256";
250
+ value: string;
251
251
  enc: "base64url";
252
252
  }>>;
253
253
  /** How the source was used (REQUIRED) */
@@ -259,13 +259,13 @@ export declare const AttributionEvidenceSchema: z.ZodObject<{
259
259
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
260
260
  receipt_issuer?: string | undefined;
261
261
  content_hash?: {
262
- value: string;
263
262
  alg: "sha-256";
263
+ value: string;
264
264
  enc: "base64url";
265
265
  } | undefined;
266
266
  excerpt_hash?: {
267
- value: string;
268
267
  alg: "sha-256";
268
+ value: string;
269
269
  enc: "base64url";
270
270
  } | undefined;
271
271
  weight?: number | undefined;
@@ -274,13 +274,13 @@ export declare const AttributionEvidenceSchema: z.ZodObject<{
274
274
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
275
275
  receipt_issuer?: string | undefined;
276
276
  content_hash?: {
277
- value: string;
278
277
  alg: "sha-256";
278
+ value: string;
279
279
  enc: "base64url";
280
280
  } | undefined;
281
281
  excerpt_hash?: {
282
- value: string;
283
282
  alg: "sha-256";
283
+ value: string;
284
284
  enc: "base64url";
285
285
  } | undefined;
286
286
  weight?: number | undefined;
@@ -296,12 +296,12 @@ export declare const AttributionEvidenceSchema: z.ZodObject<{
296
296
  /** Encoding format (REQUIRED, must be 'base64url') */
297
297
  enc: z.ZodLiteral<"base64url">;
298
298
  }, "strict", z.ZodTypeAny, {
299
- value: string;
300
299
  alg: "sha-256";
300
+ value: string;
301
301
  enc: "base64url";
302
302
  }, {
303
- value: string;
304
303
  alg: "sha-256";
304
+ value: string;
305
305
  enc: "base64url";
306
306
  }>>;
307
307
  /** Model identifier (OPTIONAL) */
@@ -318,54 +318,54 @@ export declare const AttributionEvidenceSchema: z.ZodObject<{
318
318
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
319
319
  receipt_issuer?: string | undefined;
320
320
  content_hash?: {
321
- value: string;
322
321
  alg: "sha-256";
322
+ value: string;
323
323
  enc: "base64url";
324
324
  } | undefined;
325
325
  excerpt_hash?: {
326
- value: string;
327
326
  alg: "sha-256";
327
+ value: string;
328
328
  enc: "base64url";
329
329
  } | undefined;
330
330
  weight?: number | undefined;
331
331
  }[];
332
332
  derivation_type: "training" | "inference" | "rag" | "synthesis" | "embedding";
333
- metadata?: Record<string, JsonValue> | undefined;
334
333
  output_hash?: {
335
- value: string;
336
334
  alg: "sha-256";
335
+ value: string;
337
336
  enc: "base64url";
338
337
  } | undefined;
339
338
  model_id?: string | undefined;
340
339
  inference_provider?: string | undefined;
341
340
  session_id?: string | undefined;
341
+ metadata?: Record<string, JsonValue> | undefined;
342
342
  }, {
343
343
  sources: {
344
344
  receipt_ref: string;
345
345
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
346
346
  receipt_issuer?: string | undefined;
347
347
  content_hash?: {
348
- value: string;
349
348
  alg: "sha-256";
349
+ value: string;
350
350
  enc: "base64url";
351
351
  } | undefined;
352
352
  excerpt_hash?: {
353
- value: string;
354
353
  alg: "sha-256";
354
+ value: string;
355
355
  enc: "base64url";
356
356
  } | undefined;
357
357
  weight?: number | undefined;
358
358
  }[];
359
359
  derivation_type: "training" | "inference" | "rag" | "synthesis" | "embedding";
360
- metadata?: Record<string, JsonValue> | undefined;
361
360
  output_hash?: {
362
- value: string;
363
361
  alg: "sha-256";
362
+ value: string;
364
363
  enc: "base64url";
365
364
  } | undefined;
366
365
  model_id?: string | undefined;
367
366
  inference_provider?: string | undefined;
368
367
  session_id?: string | undefined;
368
+ metadata?: Record<string, JsonValue> | undefined;
369
369
  }>;
370
370
  export type AttributionEvidence = z.infer<typeof AttributionEvidenceSchema>;
371
371
  /**
@@ -429,12 +429,12 @@ export declare const AttributionAttestationSchema: z.ZodObject<{
429
429
  /** Encoding format (REQUIRED, must be 'base64url') */
430
430
  enc: z.ZodLiteral<"base64url">;
431
431
  }, "strict", z.ZodTypeAny, {
432
- value: string;
433
432
  alg: "sha-256";
433
+ value: string;
434
434
  enc: "base64url";
435
435
  }, {
436
- value: string;
437
436
  alg: "sha-256";
437
+ value: string;
438
438
  enc: "base64url";
439
439
  }>>;
440
440
  /** Hash of used excerpt (OPTIONAL, content-minimizing, not privacy-preserving for short text) */
@@ -446,12 +446,12 @@ export declare const AttributionAttestationSchema: z.ZodObject<{
446
446
  /** Encoding format (REQUIRED, must be 'base64url') */
447
447
  enc: z.ZodLiteral<"base64url">;
448
448
  }, "strict", z.ZodTypeAny, {
449
- value: string;
450
449
  alg: "sha-256";
450
+ value: string;
451
451
  enc: "base64url";
452
452
  }, {
453
- value: string;
454
453
  alg: "sha-256";
454
+ value: string;
455
455
  enc: "base64url";
456
456
  }>>;
457
457
  /** How the source was used (REQUIRED) */
@@ -463,13 +463,13 @@ export declare const AttributionAttestationSchema: z.ZodObject<{
463
463
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
464
464
  receipt_issuer?: string | undefined;
465
465
  content_hash?: {
466
- value: string;
467
466
  alg: "sha-256";
467
+ value: string;
468
468
  enc: "base64url";
469
469
  } | undefined;
470
470
  excerpt_hash?: {
471
- value: string;
472
471
  alg: "sha-256";
472
+ value: string;
473
473
  enc: "base64url";
474
474
  } | undefined;
475
475
  weight?: number | undefined;
@@ -478,13 +478,13 @@ export declare const AttributionAttestationSchema: z.ZodObject<{
478
478
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
479
479
  receipt_issuer?: string | undefined;
480
480
  content_hash?: {
481
- value: string;
482
481
  alg: "sha-256";
482
+ value: string;
483
483
  enc: "base64url";
484
484
  } | undefined;
485
485
  excerpt_hash?: {
486
- value: string;
487
486
  alg: "sha-256";
487
+ value: string;
488
488
  enc: "base64url";
489
489
  } | undefined;
490
490
  weight?: number | undefined;
@@ -500,12 +500,12 @@ export declare const AttributionAttestationSchema: z.ZodObject<{
500
500
  /** Encoding format (REQUIRED, must be 'base64url') */
501
501
  enc: z.ZodLiteral<"base64url">;
502
502
  }, "strict", z.ZodTypeAny, {
503
- value: string;
504
503
  alg: "sha-256";
504
+ value: string;
505
505
  enc: "base64url";
506
506
  }, {
507
- value: string;
508
507
  alg: "sha-256";
508
+ value: string;
509
509
  enc: "base64url";
510
510
  }>>;
511
511
  /** Model identifier (OPTIONAL) */
@@ -522,54 +522,54 @@ export declare const AttributionAttestationSchema: z.ZodObject<{
522
522
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
523
523
  receipt_issuer?: string | undefined;
524
524
  content_hash?: {
525
- value: string;
526
525
  alg: "sha-256";
526
+ value: string;
527
527
  enc: "base64url";
528
528
  } | undefined;
529
529
  excerpt_hash?: {
530
- value: string;
531
530
  alg: "sha-256";
531
+ value: string;
532
532
  enc: "base64url";
533
533
  } | undefined;
534
534
  weight?: number | undefined;
535
535
  }[];
536
536
  derivation_type: "training" | "inference" | "rag" | "synthesis" | "embedding";
537
- metadata?: Record<string, JsonValue> | undefined;
538
537
  output_hash?: {
539
- value: string;
540
538
  alg: "sha-256";
539
+ value: string;
541
540
  enc: "base64url";
542
541
  } | undefined;
543
542
  model_id?: string | undefined;
544
543
  inference_provider?: string | undefined;
545
544
  session_id?: string | undefined;
545
+ metadata?: Record<string, JsonValue> | undefined;
546
546
  }, {
547
547
  sources: {
548
548
  receipt_ref: string;
549
549
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
550
550
  receipt_issuer?: string | undefined;
551
551
  content_hash?: {
552
- value: string;
553
552
  alg: "sha-256";
553
+ value: string;
554
554
  enc: "base64url";
555
555
  } | undefined;
556
556
  excerpt_hash?: {
557
- value: string;
558
557
  alg: "sha-256";
558
+ value: string;
559
559
  enc: "base64url";
560
560
  } | undefined;
561
561
  weight?: number | undefined;
562
562
  }[];
563
563
  derivation_type: "training" | "inference" | "rag" | "synthesis" | "embedding";
564
- metadata?: Record<string, JsonValue> | undefined;
565
564
  output_hash?: {
566
- value: string;
567
565
  alg: "sha-256";
566
+ value: string;
568
567
  enc: "base64url";
569
568
  } | undefined;
570
569
  model_id?: string | undefined;
571
570
  inference_provider?: string | undefined;
572
571
  session_id?: string | undefined;
572
+ metadata?: Record<string, JsonValue> | undefined;
573
573
  }>;
574
574
  }, "strict", z.ZodTypeAny, {
575
575
  type: "peac/attribution";
@@ -581,27 +581,27 @@ export declare const AttributionAttestationSchema: z.ZodObject<{
581
581
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
582
582
  receipt_issuer?: string | undefined;
583
583
  content_hash?: {
584
- value: string;
585
584
  alg: "sha-256";
585
+ value: string;
586
586
  enc: "base64url";
587
587
  } | undefined;
588
588
  excerpt_hash?: {
589
- value: string;
590
589
  alg: "sha-256";
590
+ value: string;
591
591
  enc: "base64url";
592
592
  } | undefined;
593
593
  weight?: number | undefined;
594
594
  }[];
595
595
  derivation_type: "training" | "inference" | "rag" | "synthesis" | "embedding";
596
- metadata?: Record<string, JsonValue> | undefined;
597
596
  output_hash?: {
598
- value: string;
599
597
  alg: "sha-256";
598
+ value: string;
600
599
  enc: "base64url";
601
600
  } | undefined;
602
601
  model_id?: string | undefined;
603
602
  inference_provider?: string | undefined;
604
603
  session_id?: string | undefined;
604
+ metadata?: Record<string, JsonValue> | undefined;
605
605
  };
606
606
  expires_at?: string | undefined;
607
607
  ref?: string | undefined;
@@ -615,27 +615,27 @@ export declare const AttributionAttestationSchema: z.ZodObject<{
615
615
  usage: "training_input" | "rag_context" | "direct_reference" | "synthesis_source" | "embedding_source";
616
616
  receipt_issuer?: string | undefined;
617
617
  content_hash?: {
618
- value: string;
619
618
  alg: "sha-256";
619
+ value: string;
620
620
  enc: "base64url";
621
621
  } | undefined;
622
622
  excerpt_hash?: {
623
- value: string;
624
623
  alg: "sha-256";
624
+ value: string;
625
625
  enc: "base64url";
626
626
  } | undefined;
627
627
  weight?: number | undefined;
628
628
  }[];
629
629
  derivation_type: "training" | "inference" | "rag" | "synthesis" | "embedding";
630
- metadata?: Record<string, JsonValue> | undefined;
631
630
  output_hash?: {
632
- value: string;
633
631
  alg: "sha-256";
632
+ value: string;
634
633
  enc: "base64url";
635
634
  } | undefined;
636
635
  model_id?: string | undefined;
637
636
  inference_provider?: string | undefined;
638
637
  session_id?: string | undefined;
638
+ metadata?: Record<string, JsonValue> | undefined;
639
639
  };
640
640
  expires_at?: string | undefined;
641
641
  ref?: string | undefined;
@@ -5,10 +5,10 @@
5
5
  * (normative source: specs/kernel/constants.json)
6
6
  */
7
7
  /**
8
- * Wire format version - FROZEN at 0.9 with v1.0-equivalent semantics
9
- * Will flip to 1.0 at GA (Week 12)
8
+ * Wire format version - peac-receipt/0.1
9
+ * Normalized in v0.10.0 to peac-<artifact>/<major>.<minor> pattern
10
10
  */
11
- export declare const PEAC_WIRE_TYP: "peac.receipt/0.9";
11
+ export declare const PEAC_WIRE_TYP: "peac-receipt/0.1";
12
12
  /**
13
13
  * Signature algorithm - FROZEN forever
14
14
  */
@@ -24,20 +24,46 @@ export declare const PEAC_PURPOSE_HEADER: "PEAC-Purpose";
24
24
  export declare const PEAC_PURPOSE_APPLIED_HEADER: "PEAC-Purpose-Applied";
25
25
  export declare const PEAC_PURPOSE_REASON_HEADER: "PEAC-Purpose-Reason";
26
26
  /**
27
- * Discovery file path
27
+ * Policy manifest path (/.well-known/peac.txt)
28
+ * @see docs/specs/PEAC-TXT.md
29
+ */
30
+ export declare const PEAC_POLICY_PATH: "/.well-known/peac.txt";
31
+ /**
32
+ * Policy manifest fallback path (/peac.txt)
33
+ */
34
+ export declare const PEAC_POLICY_FALLBACK_PATH: "/peac.txt";
35
+ /**
36
+ * Maximum policy manifest size
37
+ */
38
+ export declare const PEAC_POLICY_MAX_BYTES: 262144;
39
+ /**
40
+ * Issuer configuration path (/.well-known/peac-issuer.json)
41
+ * @see docs/specs/PEAC-ISSUER.md
42
+ */
43
+ export declare const PEAC_ISSUER_CONFIG_PATH: "/.well-known/peac-issuer.json";
44
+ /**
45
+ * Issuer configuration version
46
+ */
47
+ export declare const PEAC_ISSUER_CONFIG_VERSION: "peac-issuer/0.1";
48
+ /**
49
+ * Maximum issuer configuration size
50
+ */
51
+ export declare const PEAC_ISSUER_CONFIG_MAX_BYTES: 65536;
52
+ /**
53
+ * @deprecated Use PEAC_POLICY_PATH instead. Will be removed in v1.0.
28
54
  */
29
55
  export declare const PEAC_DISCOVERY_PATH: "/.well-known/peac.txt";
30
56
  /**
31
- * Maximum discovery file size (20 lines × ~100 chars/line)
57
+ * @deprecated Use PEAC_POLICY_MAX_BYTES instead. Will be removed in v1.0.
32
58
  */
33
59
  export declare const PEAC_DISCOVERY_MAX_BYTES: 2000;
34
60
  /**
35
- * JSON Schema URL for PEAC receipt wire format v0.9
61
+ * JSON Schema URL for PEAC receipt wire format v0.1
36
62
  *
37
63
  * This is the canonical $id for the root schema.
38
64
  * Use for schema references and cross-implementation validation.
39
65
  *
40
- * @since v0.9.21
66
+ * @since v0.10.0
41
67
  */
42
- export declare const PEAC_RECEIPT_SCHEMA_URL: "https://peacprotocol.org/schemas/wire/0.9/peac.receipt.0.9.schema.json";
68
+ export declare const PEAC_RECEIPT_SCHEMA_URL: "https://peacprotocol.org/schemas/wire/0.1/peac-receipt.0.1.schema.json";
43
69
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;GAGG;AACH,eAAO,MAAM,aAAa,oBAAY,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,QAAQ,SAAqB,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,mBAAmB,gBAAkB,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,gBAAkB,CAAC;AACnD,eAAO,MAAM,2BAA2B,wBAAyB,CAAC;AAClE,eAAO,MAAM,0BAA0B,uBAAwB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,mBAAmB,yBAAyB,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAG,IAAa,CAAC;AAEtD;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,EAClC,wEAAiF,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;GAGG;AACH,eAAO,MAAM,aAAa,oBAAY,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,QAAQ,SAAqB,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,mBAAmB,gBAAkB,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,mBAAmB,gBAAkB,CAAC;AACnD,eAAO,MAAM,2BAA2B,wBAAyB,CAAC;AAClE,eAAO,MAAM,0BAA0B,uBAAwB,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,gBAAgB,yBAAsB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,yBAAyB,aAAsB,CAAC;AAE7D;;GAEG;AACH,eAAO,MAAM,qBAAqB,QAAkB,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,uBAAuB,iCAA2B,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,0BAA0B,mBAA8B,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,4BAA4B,OAAyB,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,mBAAmB,yBAAyB,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAG,IAAa,CAAC;AAEtD;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,EAClC,wEAAiF,CAAC"}