@oxy.so/contracts 4.8.0 → 4.9.1
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/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/accountGraph.js +13 -5
- package/dist/cjs/accountSubject.js +189 -0
- package/dist/cjs/agency.js +56 -4
- package/dist/cjs/agentKeys.js +67 -0
- package/dist/cjs/capabilityBindings.js +72 -0
- package/dist/cjs/index.js +60 -13
- package/dist/cjs/inference/decisions.js +41 -0
- package/dist/cjs/inference/economics.js +135 -0
- package/dist/cjs/products/access.js +60 -0
- package/dist/cjs/products/billing.js +32 -0
- package/dist/cjs/signIn.js +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +13 -5
- package/dist/esm/accountSubject.js +182 -0
- package/dist/esm/agency.js +55 -3
- package/dist/esm/agentKeys.js +63 -0
- package/dist/esm/capabilityBindings.js +67 -0
- package/dist/esm/index.js +10 -1
- package/dist/esm/inference/decisions.js +41 -0
- package/dist/esm/inference/economics.js +132 -0
- package/dist/esm/products/access.js +57 -0
- package/dist/esm/products/billing.js +29 -0
- package/dist/esm/signIn.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +23 -8
- package/dist/types/accountSubject.d.ts +210 -0
- package/dist/types/agency.d.ts +956 -190
- package/dist/types/agentKeys.d.ts +525 -0
- package/dist/types/capabilityBindings.d.ts +6 -0
- package/dist/types/deviceDirectory.d.ts +50 -50
- package/dist/types/deviceSession.d.ts +14 -14
- package/dist/types/externalIdentity.d.ts +4 -4
- package/dist/types/identity.d.ts +2 -2
- package/dist/types/index.d.ts +12 -2
- package/dist/types/inference/accountBilling.d.ts +30 -30
- package/dist/types/inference/aliaModelRelease.d.ts +83 -83
- package/dist/types/inference/catalogue.d.ts +180 -180
- package/dist/types/inference/economics.d.ts +376 -0
- package/dist/types/inference/entitlement.d.ts +47 -47
- package/dist/types/inference/inbox.d.ts +12 -12
- package/dist/types/inference/modelDocumentation.d.ts +231 -231
- package/dist/types/inference/priceVersion.d.ts +4 -4
- package/dist/types/inference/providerConnection.d.ts +38 -38
- package/dist/types/inference/realtime.d.ts +802 -802
- package/dist/types/inference/request.d.ts +844 -844
- package/dist/types/inference/routingPolicy.d.ts +4 -4
- package/dist/types/inference/scopedExecution.d.ts +38 -38
- package/dist/types/inference/streamEvents.d.ts +4 -4
- package/dist/types/inference/usage.d.ts +12 -12
- package/dist/types/keyRotation.d.ts +2 -2
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +30 -30
- package/dist/types/products/access.d.ts +487 -0
- package/dist/types/products/billing.d.ts +563 -0
- package/dist/types/recommendations.d.ts +2 -2
- package/dist/types/sessionStatus.d.ts +10 -10
- package/dist/types/signIn.d.ts +6 -6
- package/dist/types/transparency.d.ts +2 -2
- package/package.json +1 -1
|
@@ -139,17 +139,17 @@ export declare const aliaReleaseSignatureSchema: z.ZodObject<{
|
|
|
139
139
|
signature: z.ZodString;
|
|
140
140
|
signedAt: z.ZodString;
|
|
141
141
|
}, "strict", z.ZodTypeAny, {
|
|
142
|
+
signature: string;
|
|
143
|
+
signedAt: string;
|
|
142
144
|
keyId: string;
|
|
143
145
|
algorithm: "ed25519";
|
|
144
146
|
canonicalization: "jcs";
|
|
147
|
+
}, {
|
|
145
148
|
signature: string;
|
|
146
149
|
signedAt: string;
|
|
147
|
-
}, {
|
|
148
150
|
keyId: string;
|
|
149
151
|
algorithm: "ed25519";
|
|
150
152
|
canonicalization: "jcs";
|
|
151
|
-
signature: string;
|
|
152
|
-
signedAt: string;
|
|
153
153
|
}>;
|
|
154
154
|
/**
|
|
155
155
|
* A signed release of an `alia/*` model revision.
|
|
@@ -188,15 +188,15 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
188
188
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
189
189
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
190
190
|
}, "strict", z.ZodTypeAny, {
|
|
191
|
+
score: string;
|
|
191
192
|
suite: string;
|
|
192
193
|
metric: string;
|
|
193
|
-
score: string;
|
|
194
194
|
evaluatedAt?: string | undefined;
|
|
195
195
|
reportUrl?: string | undefined;
|
|
196
196
|
}, {
|
|
197
|
+
score: string;
|
|
197
198
|
suite: string;
|
|
198
199
|
metric: string;
|
|
199
|
-
score: string;
|
|
200
200
|
evaluatedAt?: string | undefined;
|
|
201
201
|
reportUrl?: string | undefined;
|
|
202
202
|
}>, "many">>;
|
|
@@ -218,15 +218,15 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
218
218
|
}>>;
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
220
|
schemaVersion: 1;
|
|
221
|
+
revision: string;
|
|
221
222
|
modelId: string;
|
|
222
223
|
revisionId: string;
|
|
223
|
-
revision: string;
|
|
224
224
|
reference: string;
|
|
225
225
|
releasedAt: string;
|
|
226
226
|
evaluations: {
|
|
227
|
+
score: string;
|
|
227
228
|
suite: string;
|
|
228
229
|
metric: string;
|
|
229
|
-
score: string;
|
|
230
230
|
evaluatedAt?: string | undefined;
|
|
231
231
|
reportUrl?: string | undefined;
|
|
232
232
|
}[];
|
|
@@ -241,18 +241,18 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
241
241
|
} | undefined;
|
|
242
242
|
}, {
|
|
243
243
|
schemaVersion: 1;
|
|
244
|
+
revision: string;
|
|
244
245
|
modelId: string;
|
|
245
246
|
revisionId: string;
|
|
246
|
-
revision: string;
|
|
247
247
|
reference: string;
|
|
248
248
|
releasedAt: string;
|
|
249
249
|
retiredAt?: string | undefined;
|
|
250
250
|
artifactDigest?: string | undefined;
|
|
251
251
|
modelCardUrl?: string | undefined;
|
|
252
252
|
evaluations?: {
|
|
253
|
+
score: string;
|
|
253
254
|
suite: string;
|
|
254
255
|
metric: string;
|
|
255
|
-
score: string;
|
|
256
256
|
evaluatedAt?: string | undefined;
|
|
257
257
|
reportUrl?: string | undefined;
|
|
258
258
|
}[] | undefined;
|
|
@@ -264,15 +264,15 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
264
264
|
} | undefined;
|
|
265
265
|
}>, {
|
|
266
266
|
schemaVersion: 1;
|
|
267
|
+
revision: string;
|
|
267
268
|
modelId: string;
|
|
268
269
|
revisionId: string;
|
|
269
|
-
revision: string;
|
|
270
270
|
reference: string;
|
|
271
271
|
releasedAt: string;
|
|
272
272
|
evaluations: {
|
|
273
|
+
score: string;
|
|
273
274
|
suite: string;
|
|
274
275
|
metric: string;
|
|
275
|
-
score: string;
|
|
276
276
|
evaluatedAt?: string | undefined;
|
|
277
277
|
reportUrl?: string | undefined;
|
|
278
278
|
}[];
|
|
@@ -287,18 +287,18 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
287
287
|
} | undefined;
|
|
288
288
|
}, {
|
|
289
289
|
schemaVersion: 1;
|
|
290
|
+
revision: string;
|
|
290
291
|
modelId: string;
|
|
291
292
|
revisionId: string;
|
|
292
|
-
revision: string;
|
|
293
293
|
reference: string;
|
|
294
294
|
releasedAt: string;
|
|
295
295
|
retiredAt?: string | undefined;
|
|
296
296
|
artifactDigest?: string | undefined;
|
|
297
297
|
modelCardUrl?: string | undefined;
|
|
298
298
|
evaluations?: {
|
|
299
|
+
score: string;
|
|
299
300
|
suite: string;
|
|
300
301
|
metric: string;
|
|
301
|
-
score: string;
|
|
302
302
|
evaluatedAt?: string | undefined;
|
|
303
303
|
reportUrl?: string | undefined;
|
|
304
304
|
}[] | undefined;
|
|
@@ -331,15 +331,15 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
331
331
|
requiresAttribution: z.ZodBoolean;
|
|
332
332
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
333
333
|
}, "strict", z.ZodTypeAny, {
|
|
334
|
-
licenseId: string;
|
|
335
334
|
displayName: string;
|
|
335
|
+
licenseId: string;
|
|
336
336
|
commercialUseAllowed: boolean;
|
|
337
337
|
requiresAttribution: boolean;
|
|
338
338
|
url?: string | undefined;
|
|
339
339
|
acceptableUsePolicyUrl?: string | undefined;
|
|
340
340
|
}, {
|
|
341
|
-
licenseId: string;
|
|
342
341
|
displayName: string;
|
|
342
|
+
licenseId: string;
|
|
343
343
|
commercialUseAllowed: boolean;
|
|
344
344
|
requiresAttribution: boolean;
|
|
345
345
|
url?: string | undefined;
|
|
@@ -375,44 +375,31 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
375
375
|
signature: z.ZodString;
|
|
376
376
|
signedAt: z.ZodString;
|
|
377
377
|
}, "strict", z.ZodTypeAny, {
|
|
378
|
+
signature: string;
|
|
379
|
+
signedAt: string;
|
|
378
380
|
keyId: string;
|
|
379
381
|
algorithm: "ed25519";
|
|
380
382
|
canonicalization: "jcs";
|
|
383
|
+
}, {
|
|
381
384
|
signature: string;
|
|
382
385
|
signedAt: string;
|
|
383
|
-
}, {
|
|
384
386
|
keyId: string;
|
|
385
387
|
algorithm: "ed25519";
|
|
386
388
|
canonicalization: "jcs";
|
|
387
|
-
signature: string;
|
|
388
|
-
signedAt: string;
|
|
389
389
|
}>, "many">;
|
|
390
390
|
}, "strict", z.ZodTypeAny, {
|
|
391
391
|
schemaVersion: 1;
|
|
392
|
-
license: {
|
|
393
|
-
licenseId: string;
|
|
394
|
-
displayName: string;
|
|
395
|
-
commercialUseAllowed: boolean;
|
|
396
|
-
requiresAttribution: boolean;
|
|
397
|
-
url?: string | undefined;
|
|
398
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
399
|
-
};
|
|
400
|
-
provenance: {
|
|
401
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
402
|
-
baseModelId?: string | undefined;
|
|
403
|
-
trainingOrganization?: string | undefined;
|
|
404
|
-
};
|
|
405
392
|
revision: {
|
|
406
393
|
schemaVersion: 1;
|
|
394
|
+
revision: string;
|
|
407
395
|
modelId: string;
|
|
408
396
|
revisionId: string;
|
|
409
|
-
revision: string;
|
|
410
397
|
reference: string;
|
|
411
398
|
releasedAt: string;
|
|
412
399
|
evaluations: {
|
|
400
|
+
score: string;
|
|
413
401
|
suite: string;
|
|
414
402
|
metric: string;
|
|
415
|
-
score: string;
|
|
416
403
|
evaluatedAt?: string | undefined;
|
|
417
404
|
reportUrl?: string | undefined;
|
|
418
405
|
}[];
|
|
@@ -426,26 +413,17 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
426
413
|
safetyCardUrl?: string | undefined;
|
|
427
414
|
} | undefined;
|
|
428
415
|
};
|
|
429
|
-
releaseId: string;
|
|
430
416
|
issuedAt: string;
|
|
431
|
-
artifacts: {
|
|
432
|
-
path: string;
|
|
433
|
-
digest: string;
|
|
434
|
-
sizeBytes: number;
|
|
435
|
-
mediaType?: string | undefined;
|
|
436
|
-
}[];
|
|
437
417
|
signatures: {
|
|
418
|
+
signature: string;
|
|
419
|
+
signedAt: string;
|
|
438
420
|
keyId: string;
|
|
439
421
|
algorithm: "ed25519";
|
|
440
422
|
canonicalization: "jcs";
|
|
441
|
-
signature: string;
|
|
442
|
-
signedAt: string;
|
|
443
423
|
}[];
|
|
444
|
-
}, {
|
|
445
|
-
schemaVersion: 1;
|
|
446
424
|
license: {
|
|
447
|
-
licenseId: string;
|
|
448
425
|
displayName: string;
|
|
426
|
+
licenseId: string;
|
|
449
427
|
commercialUseAllowed: boolean;
|
|
450
428
|
requiresAttribution: boolean;
|
|
451
429
|
url?: string | undefined;
|
|
@@ -456,20 +434,29 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
456
434
|
baseModelId?: string | undefined;
|
|
457
435
|
trainingOrganization?: string | undefined;
|
|
458
436
|
};
|
|
437
|
+
releaseId: string;
|
|
438
|
+
artifacts: {
|
|
439
|
+
path: string;
|
|
440
|
+
digest: string;
|
|
441
|
+
sizeBytes: number;
|
|
442
|
+
mediaType?: string | undefined;
|
|
443
|
+
}[];
|
|
444
|
+
}, {
|
|
445
|
+
schemaVersion: 1;
|
|
459
446
|
revision: {
|
|
460
447
|
schemaVersion: 1;
|
|
448
|
+
revision: string;
|
|
461
449
|
modelId: string;
|
|
462
450
|
revisionId: string;
|
|
463
|
-
revision: string;
|
|
464
451
|
reference: string;
|
|
465
452
|
releasedAt: string;
|
|
466
453
|
retiredAt?: string | undefined;
|
|
467
454
|
artifactDigest?: string | undefined;
|
|
468
455
|
modelCardUrl?: string | undefined;
|
|
469
456
|
evaluations?: {
|
|
457
|
+
score: string;
|
|
470
458
|
suite: string;
|
|
471
459
|
metric: string;
|
|
472
|
-
score: string;
|
|
473
460
|
evaluatedAt?: string | undefined;
|
|
474
461
|
reportUrl?: string | undefined;
|
|
475
462
|
}[] | undefined;
|
|
@@ -480,26 +467,17 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
480
467
|
knownLimitations?: string[] | undefined;
|
|
481
468
|
} | undefined;
|
|
482
469
|
};
|
|
483
|
-
releaseId: string;
|
|
484
470
|
issuedAt: string;
|
|
485
|
-
artifacts: {
|
|
486
|
-
path: string;
|
|
487
|
-
digest: string;
|
|
488
|
-
sizeBytes: number;
|
|
489
|
-
mediaType?: string | undefined;
|
|
490
|
-
}[];
|
|
491
471
|
signatures: {
|
|
472
|
+
signature: string;
|
|
473
|
+
signedAt: string;
|
|
492
474
|
keyId: string;
|
|
493
475
|
algorithm: "ed25519";
|
|
494
476
|
canonicalization: "jcs";
|
|
495
|
-
signature: string;
|
|
496
|
-
signedAt: string;
|
|
497
477
|
}[];
|
|
498
|
-
}>, {
|
|
499
|
-
schemaVersion: 1;
|
|
500
478
|
license: {
|
|
501
|
-
licenseId: string;
|
|
502
479
|
displayName: string;
|
|
480
|
+
licenseId: string;
|
|
503
481
|
commercialUseAllowed: boolean;
|
|
504
482
|
requiresAttribution: boolean;
|
|
505
483
|
url?: string | undefined;
|
|
@@ -510,17 +488,26 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
510
488
|
baseModelId?: string | undefined;
|
|
511
489
|
trainingOrganization?: string | undefined;
|
|
512
490
|
};
|
|
491
|
+
releaseId: string;
|
|
492
|
+
artifacts: {
|
|
493
|
+
path: string;
|
|
494
|
+
digest: string;
|
|
495
|
+
sizeBytes: number;
|
|
496
|
+
mediaType?: string | undefined;
|
|
497
|
+
}[];
|
|
498
|
+
}>, {
|
|
499
|
+
schemaVersion: 1;
|
|
513
500
|
revision: {
|
|
514
501
|
schemaVersion: 1;
|
|
502
|
+
revision: string;
|
|
515
503
|
modelId: string;
|
|
516
504
|
revisionId: string;
|
|
517
|
-
revision: string;
|
|
518
505
|
reference: string;
|
|
519
506
|
releasedAt: string;
|
|
520
507
|
evaluations: {
|
|
508
|
+
score: string;
|
|
521
509
|
suite: string;
|
|
522
510
|
metric: string;
|
|
523
|
-
score: string;
|
|
524
511
|
evaluatedAt?: string | undefined;
|
|
525
512
|
reportUrl?: string | undefined;
|
|
526
513
|
}[];
|
|
@@ -534,26 +521,17 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
534
521
|
safetyCardUrl?: string | undefined;
|
|
535
522
|
} | undefined;
|
|
536
523
|
};
|
|
537
|
-
releaseId: string;
|
|
538
524
|
issuedAt: string;
|
|
539
|
-
artifacts: {
|
|
540
|
-
path: string;
|
|
541
|
-
digest: string;
|
|
542
|
-
sizeBytes: number;
|
|
543
|
-
mediaType?: string | undefined;
|
|
544
|
-
}[];
|
|
545
525
|
signatures: {
|
|
526
|
+
signature: string;
|
|
527
|
+
signedAt: string;
|
|
546
528
|
keyId: string;
|
|
547
529
|
algorithm: "ed25519";
|
|
548
530
|
canonicalization: "jcs";
|
|
549
|
-
signature: string;
|
|
550
|
-
signedAt: string;
|
|
551
531
|
}[];
|
|
552
|
-
}, {
|
|
553
|
-
schemaVersion: 1;
|
|
554
532
|
license: {
|
|
555
|
-
licenseId: string;
|
|
556
533
|
displayName: string;
|
|
534
|
+
licenseId: string;
|
|
557
535
|
commercialUseAllowed: boolean;
|
|
558
536
|
requiresAttribution: boolean;
|
|
559
537
|
url?: string | undefined;
|
|
@@ -564,20 +542,29 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
564
542
|
baseModelId?: string | undefined;
|
|
565
543
|
trainingOrganization?: string | undefined;
|
|
566
544
|
};
|
|
545
|
+
releaseId: string;
|
|
546
|
+
artifacts: {
|
|
547
|
+
path: string;
|
|
548
|
+
digest: string;
|
|
549
|
+
sizeBytes: number;
|
|
550
|
+
mediaType?: string | undefined;
|
|
551
|
+
}[];
|
|
552
|
+
}, {
|
|
553
|
+
schemaVersion: 1;
|
|
567
554
|
revision: {
|
|
568
555
|
schemaVersion: 1;
|
|
556
|
+
revision: string;
|
|
569
557
|
modelId: string;
|
|
570
558
|
revisionId: string;
|
|
571
|
-
revision: string;
|
|
572
559
|
reference: string;
|
|
573
560
|
releasedAt: string;
|
|
574
561
|
retiredAt?: string | undefined;
|
|
575
562
|
artifactDigest?: string | undefined;
|
|
576
563
|
modelCardUrl?: string | undefined;
|
|
577
564
|
evaluations?: {
|
|
565
|
+
score: string;
|
|
578
566
|
suite: string;
|
|
579
567
|
metric: string;
|
|
580
|
-
score: string;
|
|
581
568
|
evaluatedAt?: string | undefined;
|
|
582
569
|
reportUrl?: string | undefined;
|
|
583
570
|
}[] | undefined;
|
|
@@ -588,21 +575,34 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
588
575
|
knownLimitations?: string[] | undefined;
|
|
589
576
|
} | undefined;
|
|
590
577
|
};
|
|
591
|
-
releaseId: string;
|
|
592
578
|
issuedAt: string;
|
|
579
|
+
signatures: {
|
|
580
|
+
signature: string;
|
|
581
|
+
signedAt: string;
|
|
582
|
+
keyId: string;
|
|
583
|
+
algorithm: "ed25519";
|
|
584
|
+
canonicalization: "jcs";
|
|
585
|
+
}[];
|
|
586
|
+
license: {
|
|
587
|
+
displayName: string;
|
|
588
|
+
licenseId: string;
|
|
589
|
+
commercialUseAllowed: boolean;
|
|
590
|
+
requiresAttribution: boolean;
|
|
591
|
+
url?: string | undefined;
|
|
592
|
+
acceptableUsePolicyUrl?: string | undefined;
|
|
593
|
+
};
|
|
594
|
+
provenance: {
|
|
595
|
+
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
596
|
+
baseModelId?: string | undefined;
|
|
597
|
+
trainingOrganization?: string | undefined;
|
|
598
|
+
};
|
|
599
|
+
releaseId: string;
|
|
593
600
|
artifacts: {
|
|
594
601
|
path: string;
|
|
595
602
|
digest: string;
|
|
596
603
|
sizeBytes: number;
|
|
597
604
|
mediaType?: string | undefined;
|
|
598
605
|
}[];
|
|
599
|
-
signatures: {
|
|
600
|
-
keyId: string;
|
|
601
|
-
algorithm: "ed25519";
|
|
602
|
-
canonicalization: "jcs";
|
|
603
|
-
signature: string;
|
|
604
|
-
signedAt: string;
|
|
605
|
-
}[];
|
|
606
606
|
}>;
|
|
607
607
|
export type AliaReleaseArtifact = z.infer<typeof aliaReleaseArtifactSchema>;
|
|
608
608
|
export type AliaReleaseSignature = z.infer<typeof aliaReleaseSignatureSchema>;
|