@constal/sdk 3.11.0 → 4.0.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/package.json +1 -1
- package/publish/api.json +1 -1
- package/publish/index.d.ts +30 -81
- package/publish/index.js +189 -188
package/package.json
CHANGED
package/publish/api.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -673,6 +673,10 @@ interface ModelInvocationResult {
|
|
|
673
673
|
name: string;
|
|
674
674
|
args: unknown;
|
|
675
675
|
}[];
|
|
676
|
+
/** Provider-reported refusal text, when present separately from visible content. */
|
|
677
|
+
refusal?: string;
|
|
678
|
+
/** Provider-exposed reasoning text or summary, when present. Output tokens alone do not imply either. */
|
|
679
|
+
reasoningContent?: string;
|
|
676
680
|
/** Integration-observed timing for the complete upstream model request. */
|
|
677
681
|
timing?: {
|
|
678
682
|
upstreamMs: number;
|
|
@@ -1883,12 +1887,12 @@ interface EvaluationInvocationResult<Q extends EvaluationQuestions = EvaluationQ
|
|
|
1883
1887
|
}
|
|
1884
1888
|
type EvaluationProtocol = "typesafe";
|
|
1885
1889
|
declare const EVALUATION_LIMITS: {
|
|
1886
|
-
readonly maxQuestions:
|
|
1887
|
-
readonly maxChoiceOptions:
|
|
1888
|
-
readonly maxScoreLevels:
|
|
1889
|
-
readonly maxDepth:
|
|
1890
|
-
/**
|
|
1891
|
-
readonly maxRequestBytes:
|
|
1890
|
+
readonly maxQuestions: number;
|
|
1891
|
+
readonly maxChoiceOptions: number;
|
|
1892
|
+
readonly maxScoreLevels: number;
|
|
1893
|
+
readonly maxDepth: number;
|
|
1894
|
+
/** Compatibility numeric domains, not request quotas; provider limits are reported by the provider. */
|
|
1895
|
+
readonly maxRequestBytes: number;
|
|
1892
1896
|
};
|
|
1893
1897
|
/** One validated argument shape for Policy, accounting, and provider dispatch. */
|
|
1894
1898
|
declare function evaluationArguments(value: unknown): EvaluationInvocationArgs;
|
|
@@ -2257,7 +2261,7 @@ interface SpawnOpts {
|
|
|
2257
2261
|
budget?: SpawnBudget;
|
|
2258
2262
|
attenuation?: SpawnAttenuation;
|
|
2259
2263
|
}
|
|
2260
|
-
/**
|
|
2264
|
+
/** Non-secret content that a Channel or UI may present while a Run is suspended. */
|
|
2261
2265
|
interface AwaitPresentation {
|
|
2262
2266
|
object: "constal.await.presentation";
|
|
2263
2267
|
version: 1;
|
|
@@ -2268,9 +2272,11 @@ interface AwaitPresentation {
|
|
|
2268
2272
|
metadata?: Record<string, string | number | boolean | null>;
|
|
2269
2273
|
}
|
|
2270
2274
|
interface AwaitOpts<T> {
|
|
2275
|
+
/** Milliseconds until timeout. Omit to wait until resolved or cancelled. */
|
|
2271
2276
|
timeout?: number;
|
|
2272
2277
|
onTimeout?: T;
|
|
2273
2278
|
schema?: object;
|
|
2279
|
+
/** Optional caller-selected response size limit, in UTF-8 bytes. */
|
|
2274
2280
|
maxBytes?: number;
|
|
2275
2281
|
afterRun?: "ignore" | "message";
|
|
2276
2282
|
/** Explicitly public presentation; never include Credential material or private evidence. */
|
|
@@ -2389,6 +2395,8 @@ interface TurnDraft {
|
|
|
2389
2395
|
final: boolean;
|
|
2390
2396
|
artifact: unknown;
|
|
2391
2397
|
completion?: ModelCompletion;
|
|
2398
|
+
refusal?: string;
|
|
2399
|
+
reasoningContent?: string;
|
|
2392
2400
|
}
|
|
2393
2401
|
interface TurnGate {
|
|
2394
2402
|
id?: string;
|
|
@@ -2455,6 +2463,8 @@ interface TurnRecord {
|
|
|
2455
2463
|
attempts: number;
|
|
2456
2464
|
gate: GateVerdict | null;
|
|
2457
2465
|
completion?: ModelCompletion;
|
|
2466
|
+
refusal?: string;
|
|
2467
|
+
reasoningContent?: string;
|
|
2458
2468
|
}
|
|
2459
2469
|
interface DataManifest {
|
|
2460
2470
|
hash: Hash;
|
|
@@ -3025,8 +3035,14 @@ type AuthProviderResult = {
|
|
|
3025
3035
|
};
|
|
3026
3036
|
claims?: Record<string, string | number | boolean | string[]>;
|
|
3027
3037
|
expiresAt?: number | null;
|
|
3038
|
+
/**
|
|
3039
|
+
* Request signatures Constal checks after `authenticate` returns, each with one of this AuthProvider's Credential
|
|
3040
|
+
* bindings, compared in constant time. The request is authenticated only when every one verifies. The key never leaves
|
|
3041
|
+
* Constal, and no HMAC is computed for the AuthProvider.
|
|
3042
|
+
*/
|
|
3043
|
+
hmac?: HmacVerification[];
|
|
3028
3044
|
};
|
|
3029
|
-
/** A request signature an AuthProvider
|
|
3045
|
+
/** A request signature an AuthProvider returns for Constal to check with one of its own Credential bindings. */
|
|
3030
3046
|
interface HmacVerification {
|
|
3031
3047
|
/** The name of one of this AuthProvider's Credential bindings. */
|
|
3032
3048
|
credential: string;
|
|
@@ -3046,11 +3062,6 @@ interface AuthProviderContext {
|
|
|
3046
3062
|
/** Host-authenticated source provenance. HTTP callers cannot supply this field. */
|
|
3047
3063
|
source?: ChannelSourceEvidence;
|
|
3048
3064
|
invoke<T>(resource: CRN, op: string, args: unknown): Promise<T>;
|
|
3049
|
-
/**
|
|
3050
|
-
* Whether `signature` is the HMAC of `message` under the Credential bound as `credential`, compared in constant time.
|
|
3051
|
-
* The key never leaves Constal, and no HMAC is computed for the caller. A signature not in `encoding` is not verified.
|
|
3052
|
-
*/
|
|
3053
|
-
verifyHmac(input: HmacVerification): Promise<boolean>;
|
|
3054
3065
|
}
|
|
3055
3066
|
interface AuthProvider {
|
|
3056
3067
|
id: string;
|
|
@@ -3448,34 +3459,27 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3448
3459
|
readonly properties: {
|
|
3449
3460
|
readonly domains: {
|
|
3450
3461
|
readonly type: "array";
|
|
3451
|
-
readonly maxItems: 128;
|
|
3452
3462
|
readonly items: {
|
|
3453
3463
|
readonly type: "string";
|
|
3454
3464
|
readonly minLength: 1;
|
|
3455
|
-
readonly maxLength: 256;
|
|
3456
3465
|
};
|
|
3457
3466
|
};
|
|
3458
3467
|
readonly kinds: {
|
|
3459
3468
|
readonly type: "array";
|
|
3460
|
-
readonly maxItems: 128;
|
|
3461
3469
|
readonly items: {
|
|
3462
3470
|
readonly type: "string";
|
|
3463
3471
|
readonly minLength: 1;
|
|
3464
|
-
readonly maxLength: 256;
|
|
3465
3472
|
};
|
|
3466
3473
|
};
|
|
3467
3474
|
readonly operations: {
|
|
3468
3475
|
readonly type: "array";
|
|
3469
|
-
readonly maxItems: 128;
|
|
3470
3476
|
readonly items: {
|
|
3471
3477
|
readonly type: "string";
|
|
3472
3478
|
readonly minLength: 1;
|
|
3473
|
-
readonly maxLength: 256;
|
|
3474
3479
|
};
|
|
3475
3480
|
};
|
|
3476
3481
|
readonly include: {
|
|
3477
3482
|
readonly type: "array";
|
|
3478
|
-
readonly maxItems: 5;
|
|
3479
3483
|
readonly uniqueItems: true;
|
|
3480
3484
|
readonly items: {
|
|
3481
3485
|
readonly enum: readonly ["objects", "operations", "relations", "schemas", "docs"];
|
|
@@ -3483,12 +3487,11 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3483
3487
|
};
|
|
3484
3488
|
readonly cursor: {
|
|
3485
3489
|
readonly type: "string";
|
|
3486
|
-
readonly maxLength: 4096;
|
|
3487
3490
|
};
|
|
3488
3491
|
readonly limit: {
|
|
3489
3492
|
readonly type: "integer";
|
|
3490
3493
|
readonly minimum: 1;
|
|
3491
|
-
readonly maximum:
|
|
3494
|
+
readonly maximum: number;
|
|
3492
3495
|
};
|
|
3493
3496
|
};
|
|
3494
3497
|
};
|
|
@@ -3516,7 +3519,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3516
3519
|
readonly description: "Exact authorized namespace. Do not infer it from an object name or repository.";
|
|
3517
3520
|
readonly type: "string";
|
|
3518
3521
|
readonly minLength: 1;
|
|
3519
|
-
readonly maxLength: 128;
|
|
3520
3522
|
readonly pattern: "^[a-z0-9][a-z0-9._-]{0,127}$";
|
|
3521
3523
|
};
|
|
3522
3524
|
};
|
|
@@ -3537,11 +3539,9 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3537
3539
|
};
|
|
3538
3540
|
readonly search: {
|
|
3539
3541
|
readonly type: "string";
|
|
3540
|
-
readonly maxLength: 512;
|
|
3541
3542
|
};
|
|
3542
3543
|
readonly order: {
|
|
3543
3544
|
readonly type: "array";
|
|
3544
|
-
readonly maxItems: 8;
|
|
3545
3545
|
readonly items: {
|
|
3546
3546
|
readonly type: "object";
|
|
3547
3547
|
readonly required: readonly ["field", "direction"];
|
|
@@ -3550,7 +3550,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3550
3550
|
readonly field: {
|
|
3551
3551
|
readonly type: "string";
|
|
3552
3552
|
readonly minLength: 1;
|
|
3553
|
-
readonly maxLength: 128;
|
|
3554
3553
|
readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
|
|
3555
3554
|
};
|
|
3556
3555
|
readonly direction: {
|
|
@@ -3561,21 +3560,18 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3561
3560
|
};
|
|
3562
3561
|
readonly fields: {
|
|
3563
3562
|
readonly type: "array";
|
|
3564
|
-
readonly maxItems: 128;
|
|
3565
3563
|
readonly items: {
|
|
3566
3564
|
readonly type: "string";
|
|
3567
3565
|
readonly minLength: 1;
|
|
3568
|
-
readonly maxLength: 256;
|
|
3569
3566
|
};
|
|
3570
3567
|
};
|
|
3571
3568
|
readonly limit: {
|
|
3572
3569
|
readonly type: "integer";
|
|
3573
3570
|
readonly minimum: 1;
|
|
3574
|
-
readonly maximum:
|
|
3571
|
+
readonly maximum: number;
|
|
3575
3572
|
};
|
|
3576
3573
|
readonly cursor: {
|
|
3577
3574
|
readonly type: "string";
|
|
3578
|
-
readonly maxLength: 4096;
|
|
3579
3575
|
};
|
|
3580
3576
|
readonly asOf: {
|
|
3581
3577
|
readonly type: "integer";
|
|
@@ -3617,7 +3613,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3617
3613
|
readonly id: {
|
|
3618
3614
|
readonly type: "string";
|
|
3619
3615
|
readonly minLength: 1;
|
|
3620
|
-
readonly maxLength: 512;
|
|
3621
3616
|
};
|
|
3622
3617
|
readonly crn: {
|
|
3623
3618
|
readonly anyOf: readonly [{
|
|
@@ -3625,7 +3620,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3625
3620
|
}, {
|
|
3626
3621
|
readonly type: "string";
|
|
3627
3622
|
readonly minLength: 1;
|
|
3628
|
-
readonly maxLength: 2048;
|
|
3629
3623
|
readonly pattern: string;
|
|
3630
3624
|
}];
|
|
3631
3625
|
};
|
|
@@ -3639,12 +3633,10 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3639
3633
|
};
|
|
3640
3634
|
readonly namespace: {
|
|
3641
3635
|
readonly type: readonly ["string", "null"];
|
|
3642
|
-
readonly maxLength: 128;
|
|
3643
3636
|
readonly pattern: "^[a-z0-9][a-z0-9._-]{0,127}$";
|
|
3644
3637
|
};
|
|
3645
3638
|
readonly version: {
|
|
3646
3639
|
readonly type: readonly ["string", "null"];
|
|
3647
|
-
readonly maxLength: 128;
|
|
3648
3640
|
};
|
|
3649
3641
|
};
|
|
3650
3642
|
readonly required: readonly ["kind", "id", "namespace"];
|
|
@@ -3656,7 +3648,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3656
3648
|
readonly crn: {
|
|
3657
3649
|
readonly type: "string";
|
|
3658
3650
|
readonly minLength: 1;
|
|
3659
|
-
readonly maxLength: 2048;
|
|
3660
3651
|
readonly description: "Exact addressable CRN obtained from governed platform evidence.";
|
|
3661
3652
|
readonly pattern: string;
|
|
3662
3653
|
};
|
|
@@ -3669,11 +3660,9 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3669
3660
|
};
|
|
3670
3661
|
readonly fields: {
|
|
3671
3662
|
readonly type: "array";
|
|
3672
|
-
readonly maxItems: 128;
|
|
3673
3663
|
readonly items: {
|
|
3674
3664
|
readonly type: "string";
|
|
3675
3665
|
readonly minLength: 1;
|
|
3676
|
-
readonly maxLength: 256;
|
|
3677
3666
|
};
|
|
3678
3667
|
};
|
|
3679
3668
|
readonly page: {
|
|
@@ -3682,12 +3671,10 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3682
3671
|
readonly properties: {
|
|
3683
3672
|
readonly cursor: {
|
|
3684
3673
|
readonly type: "string";
|
|
3685
|
-
readonly maxLength: 4096;
|
|
3686
3674
|
};
|
|
3687
3675
|
readonly limit: {
|
|
3688
3676
|
readonly type: "integer";
|
|
3689
3677
|
readonly minimum: 1;
|
|
3690
|
-
readonly maximum: 500;
|
|
3691
3678
|
};
|
|
3692
3679
|
};
|
|
3693
3680
|
};
|
|
@@ -3710,7 +3697,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3710
3697
|
readonly id: {
|
|
3711
3698
|
readonly type: "string";
|
|
3712
3699
|
readonly minLength: 1;
|
|
3713
|
-
readonly maxLength: 512;
|
|
3714
3700
|
};
|
|
3715
3701
|
readonly crn: {
|
|
3716
3702
|
readonly anyOf: readonly [{
|
|
@@ -3718,7 +3704,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3718
3704
|
}, {
|
|
3719
3705
|
readonly type: "string";
|
|
3720
3706
|
readonly minLength: 1;
|
|
3721
|
-
readonly maxLength: 2048;
|
|
3722
3707
|
readonly pattern: string;
|
|
3723
3708
|
}];
|
|
3724
3709
|
};
|
|
@@ -3732,12 +3717,10 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3732
3717
|
};
|
|
3733
3718
|
readonly namespace: {
|
|
3734
3719
|
readonly type: readonly ["string", "null"];
|
|
3735
|
-
readonly maxLength: 128;
|
|
3736
3720
|
readonly pattern: "^[a-z0-9][a-z0-9._-]{0,127}$";
|
|
3737
3721
|
};
|
|
3738
3722
|
readonly version: {
|
|
3739
3723
|
readonly type: readonly ["string", "null"];
|
|
3740
|
-
readonly maxLength: 128;
|
|
3741
3724
|
};
|
|
3742
3725
|
};
|
|
3743
3726
|
readonly required: readonly ["kind", "id", "namespace"];
|
|
@@ -3749,7 +3732,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3749
3732
|
readonly crn: {
|
|
3750
3733
|
readonly type: "string";
|
|
3751
3734
|
readonly minLength: 1;
|
|
3752
|
-
readonly maxLength: 2048;
|
|
3753
3735
|
};
|
|
3754
3736
|
readonly hash: {
|
|
3755
3737
|
readonly type: "string";
|
|
@@ -3763,26 +3745,23 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3763
3745
|
};
|
|
3764
3746
|
readonly types: {
|
|
3765
3747
|
readonly type: "array";
|
|
3766
|
-
readonly maxItems: 128;
|
|
3767
3748
|
readonly items: {
|
|
3768
3749
|
readonly type: "string";
|
|
3769
3750
|
readonly minLength: 1;
|
|
3770
|
-
readonly maxLength: 256;
|
|
3771
3751
|
};
|
|
3772
3752
|
};
|
|
3773
3753
|
readonly depth: {
|
|
3774
3754
|
readonly type: "integer";
|
|
3775
3755
|
readonly minimum: 1;
|
|
3776
|
-
readonly maximum:
|
|
3756
|
+
readonly maximum: number;
|
|
3777
3757
|
};
|
|
3778
3758
|
readonly limit: {
|
|
3779
3759
|
readonly type: "integer";
|
|
3780
3760
|
readonly minimum: 1;
|
|
3781
|
-
readonly maximum:
|
|
3761
|
+
readonly maximum: number;
|
|
3782
3762
|
};
|
|
3783
3763
|
readonly cursor: {
|
|
3784
3764
|
readonly type: "string";
|
|
3785
|
-
readonly maxLength: 4096;
|
|
3786
3765
|
};
|
|
3787
3766
|
};
|
|
3788
3767
|
};
|
|
@@ -3794,7 +3773,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3794
3773
|
readonly principal: {
|
|
3795
3774
|
readonly anyOf: readonly [{
|
|
3796
3775
|
readonly type: "string";
|
|
3797
|
-
readonly maxLength: 2048;
|
|
3798
3776
|
}, {
|
|
3799
3777
|
readonly type: "object";
|
|
3800
3778
|
readonly required: readonly ["roles", "scopes"];
|
|
@@ -3802,21 +3780,17 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3802
3780
|
readonly properties: {
|
|
3803
3781
|
readonly name: {
|
|
3804
3782
|
readonly type: "string";
|
|
3805
|
-
readonly maxLength: 2048;
|
|
3806
3783
|
};
|
|
3807
3784
|
readonly roles: {
|
|
3808
3785
|
readonly type: "array";
|
|
3809
|
-
readonly maxItems: 64;
|
|
3810
3786
|
readonly uniqueItems: true;
|
|
3811
3787
|
readonly items: {
|
|
3812
3788
|
readonly type: "string";
|
|
3813
3789
|
readonly minLength: 1;
|
|
3814
|
-
readonly maxLength: 2048;
|
|
3815
3790
|
};
|
|
3816
3791
|
};
|
|
3817
3792
|
readonly scopes: {
|
|
3818
3793
|
readonly type: "array";
|
|
3819
|
-
readonly maxItems: 256;
|
|
3820
3794
|
readonly uniqueItems: true;
|
|
3821
3795
|
readonly items: {
|
|
3822
3796
|
readonly type: "string";
|
|
@@ -3833,7 +3807,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3833
3807
|
readonly resource: {
|
|
3834
3808
|
readonly type: "string";
|
|
3835
3809
|
readonly minLength: 1;
|
|
3836
|
-
readonly maxLength: 2048;
|
|
3837
3810
|
};
|
|
3838
3811
|
readonly context: {
|
|
3839
3812
|
readonly type: "object";
|
|
@@ -3852,25 +3825,21 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3852
3825
|
readonly namespace: {
|
|
3853
3826
|
readonly type: "string";
|
|
3854
3827
|
readonly minLength: 1;
|
|
3855
|
-
readonly maxLength: 128;
|
|
3856
3828
|
readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
|
|
3857
3829
|
};
|
|
3858
3830
|
readonly agent: {
|
|
3859
3831
|
readonly type: "string";
|
|
3860
3832
|
readonly minLength: 1;
|
|
3861
|
-
readonly maxLength: 63;
|
|
3862
3833
|
readonly pattern: "^[a-z0-9][a-z0-9-]{0,62}$";
|
|
3863
3834
|
};
|
|
3864
3835
|
readonly session: {
|
|
3865
3836
|
readonly type: "string";
|
|
3866
3837
|
readonly minLength: 1;
|
|
3867
|
-
readonly maxLength: 256;
|
|
3868
3838
|
readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
|
|
3869
3839
|
};
|
|
3870
3840
|
readonly run: {
|
|
3871
3841
|
readonly type: "string";
|
|
3872
3842
|
readonly minLength: 1;
|
|
3873
|
-
readonly maxLength: 256;
|
|
3874
3843
|
readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
|
|
3875
3844
|
};
|
|
3876
3845
|
};
|
|
@@ -3887,7 +3856,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3887
3856
|
readonly objective: {
|
|
3888
3857
|
readonly type: "string";
|
|
3889
3858
|
readonly minLength: 1;
|
|
3890
|
-
readonly maxLength: 8192;
|
|
3891
3859
|
};
|
|
3892
3860
|
readonly validateOnly: {
|
|
3893
3861
|
readonly type: "boolean";
|
|
@@ -3895,7 +3863,7 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3895
3863
|
readonly operations: {
|
|
3896
3864
|
readonly type: "array";
|
|
3897
3865
|
readonly minItems: 1;
|
|
3898
|
-
readonly maxItems:
|
|
3866
|
+
readonly maxItems: number;
|
|
3899
3867
|
readonly items: {
|
|
3900
3868
|
readonly type: "object";
|
|
3901
3869
|
readonly required: readonly ["operation", "input"];
|
|
@@ -3904,18 +3872,15 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3904
3872
|
readonly id: {
|
|
3905
3873
|
readonly type: "string";
|
|
3906
3874
|
readonly minLength: 1;
|
|
3907
|
-
readonly maxLength: 256;
|
|
3908
3875
|
readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
|
|
3909
3876
|
};
|
|
3910
3877
|
readonly operation: {
|
|
3911
3878
|
readonly type: "string";
|
|
3912
3879
|
readonly minLength: 1;
|
|
3913
|
-
readonly maxLength: 128;
|
|
3914
3880
|
readonly pattern: "^[A-Za-z][A-Za-z0-9._-]{0,127}$";
|
|
3915
3881
|
};
|
|
3916
3882
|
readonly target: {
|
|
3917
3883
|
readonly type: "string";
|
|
3918
|
-
readonly maxLength: 2048;
|
|
3919
3884
|
};
|
|
3920
3885
|
readonly input: {};
|
|
3921
3886
|
readonly expectedCurrentHash: {
|
|
@@ -3928,11 +3893,9 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3928
3893
|
};
|
|
3929
3894
|
readonly dependsOn: {
|
|
3930
3895
|
readonly type: "array";
|
|
3931
|
-
readonly maxItems: 64;
|
|
3932
3896
|
readonly items: {
|
|
3933
3897
|
readonly type: "string";
|
|
3934
3898
|
readonly minLength: 1;
|
|
3935
|
-
readonly maxLength: 256;
|
|
3936
3899
|
readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
|
|
3937
3900
|
};
|
|
3938
3901
|
};
|
|
@@ -3954,7 +3917,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3954
3917
|
readonly id: {
|
|
3955
3918
|
readonly type: "string";
|
|
3956
3919
|
readonly minLength: 1;
|
|
3957
|
-
readonly maxLength: 256;
|
|
3958
3920
|
readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
|
|
3959
3921
|
};
|
|
3960
3922
|
readonly hash: {
|
|
@@ -3966,7 +3928,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3966
3928
|
readonly eventId: {
|
|
3967
3929
|
readonly type: "string";
|
|
3968
3930
|
readonly minLength: 1;
|
|
3969
|
-
readonly maxLength: 256;
|
|
3970
3931
|
readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
|
|
3971
3932
|
};
|
|
3972
3933
|
};
|
|
@@ -3979,7 +3940,6 @@ declare const CONSTAL_API_OPERATION_SCHEMAS: {
|
|
|
3979
3940
|
readonly id: {
|
|
3980
3941
|
readonly type: "string";
|
|
3981
3942
|
readonly minLength: 1;
|
|
3982
|
-
readonly maxLength: 256;
|
|
3983
3943
|
readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._~:-]{0,255}$";
|
|
3984
3944
|
};
|
|
3985
3945
|
};
|
|
@@ -4036,11 +3996,9 @@ declare const WEB_FETCH_ARGUMENT_SCHEMA: {
|
|
|
4036
3996
|
readonly url: {
|
|
4037
3997
|
readonly type: "string";
|
|
4038
3998
|
readonly minLength: 1;
|
|
4039
|
-
readonly maxLength: 2048;
|
|
4040
3999
|
};
|
|
4041
4000
|
readonly accept: {
|
|
4042
4001
|
readonly type: "string";
|
|
4043
|
-
readonly maxLength: 256;
|
|
4044
4002
|
};
|
|
4045
4003
|
};
|
|
4046
4004
|
};
|
|
@@ -4052,53 +4010,44 @@ declare const WEB_SEARCH_ARGUMENT_SCHEMA: {
|
|
|
4052
4010
|
readonly query: {
|
|
4053
4011
|
readonly type: "string";
|
|
4054
4012
|
readonly minLength: 1;
|
|
4055
|
-
readonly maxLength: 4096;
|
|
4056
4013
|
readonly description: "A self-contained description of the information to find.";
|
|
4057
4014
|
};
|
|
4058
4015
|
readonly searchQueries: {
|
|
4059
4016
|
readonly type: "array";
|
|
4060
4017
|
readonly minItems: 1;
|
|
4061
|
-
readonly maxItems: 3;
|
|
4062
4018
|
readonly uniqueItems: true;
|
|
4063
4019
|
readonly description: "Optional concise keyword queries that narrow the search.";
|
|
4064
4020
|
readonly items: {
|
|
4065
4021
|
readonly type: "string";
|
|
4066
4022
|
readonly minLength: 1;
|
|
4067
|
-
readonly maxLength: 256;
|
|
4068
4023
|
};
|
|
4069
4024
|
};
|
|
4070
4025
|
readonly maximumResults: {
|
|
4071
4026
|
readonly type: "integer";
|
|
4072
4027
|
readonly minimum: 1;
|
|
4073
|
-
readonly maximum: 20;
|
|
4074
4028
|
readonly description: "Maximum number of sources to return.";
|
|
4075
4029
|
};
|
|
4076
4030
|
readonly maximumCharacters: {
|
|
4077
4031
|
readonly type: "integer";
|
|
4078
|
-
readonly minimum:
|
|
4079
|
-
readonly maximum: 60000;
|
|
4032
|
+
readonly minimum: 1;
|
|
4080
4033
|
readonly description: "Maximum total excerpt characters to return.";
|
|
4081
4034
|
};
|
|
4082
4035
|
readonly includeDomains: {
|
|
4083
4036
|
readonly type: "array";
|
|
4084
|
-
readonly maxItems: 50;
|
|
4085
4037
|
readonly uniqueItems: true;
|
|
4086
4038
|
readonly description: "Optional domains to restrict results to.";
|
|
4087
4039
|
readonly items: {
|
|
4088
4040
|
readonly type: "string";
|
|
4089
4041
|
readonly minLength: 1;
|
|
4090
|
-
readonly maxLength: 253;
|
|
4091
4042
|
};
|
|
4092
4043
|
};
|
|
4093
4044
|
readonly excludeDomains: {
|
|
4094
4045
|
readonly type: "array";
|
|
4095
|
-
readonly maxItems: 50;
|
|
4096
4046
|
readonly uniqueItems: true;
|
|
4097
4047
|
readonly description: "Optional domains to omit.";
|
|
4098
4048
|
readonly items: {
|
|
4099
4049
|
readonly type: "string";
|
|
4100
4050
|
readonly minLength: 1;
|
|
4101
|
-
readonly maxLength: 253;
|
|
4102
4051
|
};
|
|
4103
4052
|
};
|
|
4104
4053
|
readonly afterDate: {
|