@inf-monkeys-tech/monkeys-cli 0.12.26 → 0.12.28

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.
@@ -100,6 +100,7 @@ export declare const designImportSchema: z.ZodObject<{
100
100
  contract: "ViewProviderDescriptor";
101
101
  providerId: string;
102
102
  providerVersion: string;
103
+ runtimeContractVersion?: string | undefined;
103
104
  ownerRepo: string;
104
105
  capabilityRef: {
105
106
  kind: string;
@@ -146,6 +147,7 @@ export declare const designImportSchema: z.ZodObject<{
146
147
  } | undefined;
147
148
  };
148
149
  declarativeRegistration: {
150
+ runtimeContractVersion?: string | undefined;
149
151
  registrationRevisionRef: {
150
152
  revision: number;
151
153
  schemaVersion: number;
@@ -596,6 +598,16 @@ declare const artifactSchema: z.ZodObject<{
596
598
  stateId: string;
597
599
  schema: string;
598
600
  }[] | undefined;
601
+ sharedStateBindings?: {
602
+ bindingId: string;
603
+ provider: {
604
+ id: string;
605
+ version: number;
606
+ };
607
+ states: Record<string, string>;
608
+ queries: Record<string, string>;
609
+ writeInteractions: string[];
610
+ }[] | undefined;
599
611
  entryTransitions?: {
600
612
  query: {
601
613
  preserve: boolean;
@@ -1681,6 +1693,7 @@ declare const artifactSchema: z.ZodObject<{
1681
1693
  version?: string | number | undefined;
1682
1694
  ownerRepo?: string | undefined;
1683
1695
  };
1696
+ runtimeContractVersion?: string | undefined;
1684
1697
  providerRef?: {
1685
1698
  kind: string;
1686
1699
  id: string;
@@ -1881,6 +1894,7 @@ declare const artifactSchema: z.ZodObject<{
1881
1894
  }[];
1882
1895
  };
1883
1896
  capabilityInstances: {
1897
+ runtimeContractVersion?: string | undefined;
1884
1898
  instanceId: string;
1885
1899
  nodeId: string;
1886
1900
  capabilityRevisionRef: {
@@ -2123,6 +2137,16 @@ declare const artifactSchema: z.ZodObject<{
2123
2137
  valueType: "boolean-01" | "json" | "number" | "string";
2124
2138
  } | undefined;
2125
2139
  }[] | undefined;
2140
+ sharedStateBindings?: {
2141
+ bindingId: string;
2142
+ provider: {
2143
+ id: string;
2144
+ version: number;
2145
+ };
2146
+ states: Record<string, string>;
2147
+ queries: Record<string, string>;
2148
+ writeInteractions: string[];
2149
+ }[] | undefined;
2126
2150
  entryTransitions?: {
2127
2151
  browsingContext?: "new" | "same" | undefined;
2128
2152
  gestureSource?: {
@@ -3039,9 +3063,15 @@ declare const artifactSchema: z.ZodObject<{
3039
3063
  recovery: "compensating-command" | "manual-review" | "retry-safe";
3040
3064
  lineageRequired: true;
3041
3065
  }[];
3042
- pageAccessPolicy: {
3043
- authenticated: boolean;
3044
- groupAllOf: {
3066
+ programBindings?: {
3067
+ source: {
3068
+ capabilityInstanceId: string;
3069
+ port: string;
3070
+ };
3071
+ sourceIntentSchemaRevisionRef: {
3072
+ revision: number;
3073
+ schemaVersion: number;
3074
+ contentHash: string;
3045
3075
  kind: string;
3046
3076
  id: string;
3047
3077
  ownerRepo: string;
@@ -3063,8 +3093,11 @@ declare const artifactSchema: z.ZodObject<{
3063
3093
  ownerRepo: string;
3064
3094
  } | undefined;
3065
3095
  } | undefined;
3066
- }[];
3067
- groupAnyOf: {
3096
+ };
3097
+ programRevisionRef: {
3098
+ revision: number;
3099
+ schemaVersion: number;
3100
+ contentHash: string;
3068
3101
  kind: string;
3069
3102
  id: string;
3070
3103
  ownerRepo: string;
@@ -3086,18 +3119,13 @@ declare const artifactSchema: z.ZodObject<{
3086
3119
  ownerRepo: string;
3087
3120
  } | undefined;
3088
3121
  } | undefined;
3089
- }[];
3090
- permissionAllOf: string[];
3091
- permissionAnyOf: string[];
3092
- conditionAllOf: {
3093
- revision: number;
3094
- schemaVersion: number;
3095
- contentHash: string;
3096
- kind: string;
3097
- id: string;
3122
+ };
3123
+ definition: {
3124
+ contract: "ActionProgramDefinition";
3125
+ schemaVersion: 1;
3126
+ programId: string;
3098
3127
  ownerRepo: string;
3099
- visibility: "global" | "public" | "tenant";
3100
- tenantScope?: {
3128
+ tenantScope: {
3101
3129
  tenantRef: {
3102
3130
  kind: string;
3103
3131
  id: string;
@@ -3113,36 +3141,12 @@ declare const artifactSchema: z.ZodObject<{
3113
3141
  id: string;
3114
3142
  ownerRepo: string;
3115
3143
  } | undefined;
3116
- } | undefined;
3117
- }[];
3118
- };
3119
- managementAccess: {
3120
- edit: {
3121
- authenticated: boolean;
3122
- groupAllOf: {
3123
- kind: string;
3124
- id: string;
3125
- ownerRepo: string;
3126
- visibility: "global" | "public" | "tenant";
3127
- tenantScope?: {
3128
- tenantRef: {
3129
- kind: string;
3130
- id: string;
3131
- ownerRepo: string;
3132
- };
3133
- dataSpaceRef: {
3134
- kind: string;
3135
- id: string;
3136
- ownerRepo: string;
3137
- };
3138
- teamRef?: {
3139
- kind: string;
3140
- id: string;
3141
- ownerRepo: string;
3142
- } | undefined;
3143
- } | undefined;
3144
- }[];
3145
- groupAnyOf: {
3144
+ };
3145
+ supportedSurface: "studio";
3146
+ inputSchemaRevisionRef: {
3147
+ revision: number;
3148
+ schemaVersion: number;
3149
+ contentHash: string;
3146
3150
  kind: string;
3147
3151
  id: string;
3148
3152
  ownerRepo: string;
@@ -3164,10 +3168,8 @@ declare const artifactSchema: z.ZodObject<{
3164
3168
  ownerRepo: string;
3165
3169
  } | undefined;
3166
3170
  } | undefined;
3167
- }[];
3168
- permissionAllOf: string[];
3169
- permissionAnyOf: string[];
3170
- conditionAllOf: {
3171
+ };
3172
+ resultSchemaRevisionRef: {
3171
3173
  revision: number;
3172
3174
  schemaVersion: number;
3173
3175
  contentHash: string;
@@ -3192,9 +3194,206 @@ declare const artifactSchema: z.ZodObject<{
3192
3194
  ownerRepo: string;
3193
3195
  } | undefined;
3194
3196
  } | undefined;
3195
- }[];
3197
+ };
3198
+ entry: "main";
3199
+ abi: "monkeys.action-program/2";
3200
+ compiler: string;
3201
+ target: "browser-worker-es2020";
3202
+ sourceHash: string;
3203
+ compiledHash: string;
3204
+ sourceMapHash: string;
3205
+ dependencies: {
3206
+ kind: "command" | "query";
3207
+ revisionRef: {
3208
+ revision: number;
3209
+ schemaVersion: number;
3210
+ contentHash: string;
3211
+ kind: string;
3212
+ id: string;
3213
+ ownerRepo: string;
3214
+ visibility: "global" | "public" | "tenant";
3215
+ tenantScope?: {
3216
+ tenantRef: {
3217
+ kind: string;
3218
+ id: string;
3219
+ ownerRepo: string;
3220
+ };
3221
+ dataSpaceRef: {
3222
+ kind: string;
3223
+ id: string;
3224
+ ownerRepo: string;
3225
+ };
3226
+ teamRef?: {
3227
+ kind: string;
3228
+ id: string;
3229
+ ownerRepo: string;
3230
+ } | undefined;
3231
+ } | undefined;
3232
+ };
3233
+ inputSchemaRevisionRef: {
3234
+ revision: number;
3235
+ schemaVersion: number;
3236
+ contentHash: string;
3237
+ kind: string;
3238
+ id: string;
3239
+ ownerRepo: string;
3240
+ visibility: "global" | "public" | "tenant";
3241
+ tenantScope?: {
3242
+ tenantRef: {
3243
+ kind: string;
3244
+ id: string;
3245
+ ownerRepo: string;
3246
+ };
3247
+ dataSpaceRef: {
3248
+ kind: string;
3249
+ id: string;
3250
+ ownerRepo: string;
3251
+ };
3252
+ teamRef?: {
3253
+ kind: string;
3254
+ id: string;
3255
+ ownerRepo: string;
3256
+ } | undefined;
3257
+ } | undefined;
3258
+ };
3259
+ resultSchemaRevisionRef: {
3260
+ revision: number;
3261
+ schemaVersion: number;
3262
+ contentHash: string;
3263
+ kind: string;
3264
+ id: string;
3265
+ ownerRepo: string;
3266
+ visibility: "global" | "public" | "tenant";
3267
+ tenantScope?: {
3268
+ tenantRef: {
3269
+ kind: string;
3270
+ id: string;
3271
+ ownerRepo: string;
3272
+ };
3273
+ dataSpaceRef: {
3274
+ kind: string;
3275
+ id: string;
3276
+ ownerRepo: string;
3277
+ };
3278
+ teamRef?: {
3279
+ kind: string;
3280
+ id: string;
3281
+ ownerRepo: string;
3282
+ } | undefined;
3283
+ } | undefined;
3284
+ };
3285
+ download?: {
3286
+ kind: "native";
3287
+ } | {
3288
+ kind: "text-artifact";
3289
+ fileNamePath: string[];
3290
+ mimeTypePath: string[];
3291
+ contentPath: string[];
3292
+ maxBytes: number;
3293
+ } | undefined;
3294
+ dynamicInputKeys: string[];
3295
+ }[];
3296
+ effects: ("download" | "form" | "refresh" | "state.get" | "state.set" | "toast")[];
3297
+ refreshAliases: string[];
3298
+ stateAliases: {
3299
+ alias: string;
3300
+ schemaRevisionRef: {
3301
+ revision: number;
3302
+ schemaVersion: number;
3303
+ contentHash: string;
3304
+ kind: string;
3305
+ id: string;
3306
+ ownerRepo: string;
3307
+ visibility: "global" | "public" | "tenant";
3308
+ tenantScope?: {
3309
+ tenantRef: {
3310
+ kind: string;
3311
+ id: string;
3312
+ ownerRepo: string;
3313
+ };
3314
+ dataSpaceRef: {
3315
+ kind: string;
3316
+ id: string;
3317
+ ownerRepo: string;
3318
+ };
3319
+ teamRef?: {
3320
+ kind: string;
3321
+ id: string;
3322
+ ownerRepo: string;
3323
+ } | undefined;
3324
+ } | undefined;
3325
+ };
3326
+ }[];
3327
+ budgets: {
3328
+ rpcMs: number;
3329
+ concurrentCalls: number;
3330
+ calls: number;
3331
+ messageBytes: number;
3332
+ activeMs: number;
3333
+ formMs: number;
3334
+ wallMs: number;
3335
+ };
3196
3336
  };
3197
- preview: {
3337
+ bindingId: string;
3338
+ inputMapping: Record<string, {
3339
+ kind: "scope-field";
3340
+ path: string;
3341
+ } | {
3342
+ kind: "binding-field";
3343
+ bindingId: string;
3344
+ path: string;
3345
+ } | {
3346
+ kind: "constant";
3347
+ value: string | number | boolean | null;
3348
+ } | {
3349
+ kind: "route-parameter";
3350
+ name: string;
3351
+ } | {
3352
+ kind: "query-parameter";
3353
+ name: string;
3354
+ } | {
3355
+ kind: "identity";
3356
+ name: "teamId" | "tenantId" | "userId";
3357
+ } | {
3358
+ kind: "intent-field";
3359
+ path: string;
3360
+ } | {
3361
+ kind: "page-state";
3362
+ stateId: string;
3363
+ } | {
3364
+ kind: "expression";
3365
+ expression: import("@inf-monkeys-tech/monkeys/contracts").PageExpression;
3366
+ }>;
3367
+ dependencyInputs: Record<string, Record<string, {
3368
+ kind: "scope-field";
3369
+ path: string;
3370
+ } | {
3371
+ kind: "binding-field";
3372
+ bindingId: string;
3373
+ path: string;
3374
+ } | {
3375
+ kind: "constant";
3376
+ value: string | number | boolean | null;
3377
+ } | {
3378
+ kind: "route-parameter";
3379
+ name: string;
3380
+ } | {
3381
+ kind: "query-parameter";
3382
+ name: string;
3383
+ } | {
3384
+ kind: "identity";
3385
+ name: "teamId" | "tenantId" | "userId";
3386
+ } | {
3387
+ kind: "intent-field";
3388
+ path: string;
3389
+ } | {
3390
+ kind: "page-state";
3391
+ stateId: string;
3392
+ } | {
3393
+ kind: "expression";
3394
+ expression: import("@inf-monkeys-tech/monkeys/contracts").PageExpression;
3395
+ }>>;
3396
+ accessPolicy: {
3198
3397
  authenticated: boolean;
3199
3398
  groupAllOf: {
3200
3399
  kind: string;
@@ -3271,7 +3470,94 @@ declare const artifactSchema: z.ZodObject<{
3271
3470
  } | undefined;
3272
3471
  }[];
3273
3472
  };
3274
- publish: {
3473
+ confirmation?: {
3474
+ defaultLocale: string;
3475
+ values: Record<string, string>;
3476
+ } | undefined;
3477
+ when?: import("@inf-monkeys-tech/monkeys/contracts").PageExpression | undefined;
3478
+ concurrencyKeyPath: string[];
3479
+ refreshAliases: Record<string, string[]>;
3480
+ stateAliases: Record<string, string>;
3481
+ }[] | undefined;
3482
+ pageAccessPolicy: {
3483
+ authenticated: boolean;
3484
+ groupAllOf: {
3485
+ kind: string;
3486
+ id: string;
3487
+ ownerRepo: string;
3488
+ visibility: "global" | "public" | "tenant";
3489
+ tenantScope?: {
3490
+ tenantRef: {
3491
+ kind: string;
3492
+ id: string;
3493
+ ownerRepo: string;
3494
+ };
3495
+ dataSpaceRef: {
3496
+ kind: string;
3497
+ id: string;
3498
+ ownerRepo: string;
3499
+ };
3500
+ teamRef?: {
3501
+ kind: string;
3502
+ id: string;
3503
+ ownerRepo: string;
3504
+ } | undefined;
3505
+ } | undefined;
3506
+ }[];
3507
+ groupAnyOf: {
3508
+ kind: string;
3509
+ id: string;
3510
+ ownerRepo: string;
3511
+ visibility: "global" | "public" | "tenant";
3512
+ tenantScope?: {
3513
+ tenantRef: {
3514
+ kind: string;
3515
+ id: string;
3516
+ ownerRepo: string;
3517
+ };
3518
+ dataSpaceRef: {
3519
+ kind: string;
3520
+ id: string;
3521
+ ownerRepo: string;
3522
+ };
3523
+ teamRef?: {
3524
+ kind: string;
3525
+ id: string;
3526
+ ownerRepo: string;
3527
+ } | undefined;
3528
+ } | undefined;
3529
+ }[];
3530
+ permissionAllOf: string[];
3531
+ permissionAnyOf: string[];
3532
+ conditionAllOf: {
3533
+ revision: number;
3534
+ schemaVersion: number;
3535
+ contentHash: string;
3536
+ kind: string;
3537
+ id: string;
3538
+ ownerRepo: string;
3539
+ visibility: "global" | "public" | "tenant";
3540
+ tenantScope?: {
3541
+ tenantRef: {
3542
+ kind: string;
3543
+ id: string;
3544
+ ownerRepo: string;
3545
+ };
3546
+ dataSpaceRef: {
3547
+ kind: string;
3548
+ id: string;
3549
+ ownerRepo: string;
3550
+ };
3551
+ teamRef?: {
3552
+ kind: string;
3553
+ id: string;
3554
+ ownerRepo: string;
3555
+ } | undefined;
3556
+ } | undefined;
3557
+ }[];
3558
+ };
3559
+ managementAccess: {
3560
+ edit: {
3275
3561
  authenticated: boolean;
3276
3562
  groupAllOf: {
3277
3563
  kind: string;
@@ -3348,7 +3634,7 @@ declare const artifactSchema: z.ZodObject<{
3348
3634
  } | undefined;
3349
3635
  }[];
3350
3636
  };
3351
- deactivate: {
3637
+ preview: {
3352
3638
  authenticated: boolean;
3353
3639
  groupAllOf: {
3354
3640
  kind: string;
@@ -3425,7 +3711,7 @@ declare const artifactSchema: z.ZodObject<{
3425
3711
  } | undefined;
3426
3712
  }[];
3427
3713
  };
3428
- rollback: {
3714
+ publish: {
3429
3715
  authenticated: boolean;
3430
3716
  groupAllOf: {
3431
3717
  kind: string;
@@ -3502,7 +3788,7 @@ declare const artifactSchema: z.ZodObject<{
3502
3788
  } | undefined;
3503
3789
  }[];
3504
3790
  };
3505
- retire: {
3791
+ deactivate: {
3506
3792
  authenticated: boolean;
3507
3793
  groupAllOf: {
3508
3794
  kind: string;
@@ -3579,14 +3865,168 @@ declare const artifactSchema: z.ZodObject<{
3579
3865
  } | undefined;
3580
3866
  }[];
3581
3867
  };
3582
- };
3583
- tokenRevisionRefs: {
3584
- revision: number;
3585
- schemaVersion: number;
3586
- contentHash: string;
3587
- kind: string;
3588
- id: string;
3589
- ownerRepo: string;
3868
+ rollback: {
3869
+ authenticated: boolean;
3870
+ groupAllOf: {
3871
+ kind: string;
3872
+ id: string;
3873
+ ownerRepo: string;
3874
+ visibility: "global" | "public" | "tenant";
3875
+ tenantScope?: {
3876
+ tenantRef: {
3877
+ kind: string;
3878
+ id: string;
3879
+ ownerRepo: string;
3880
+ };
3881
+ dataSpaceRef: {
3882
+ kind: string;
3883
+ id: string;
3884
+ ownerRepo: string;
3885
+ };
3886
+ teamRef?: {
3887
+ kind: string;
3888
+ id: string;
3889
+ ownerRepo: string;
3890
+ } | undefined;
3891
+ } | undefined;
3892
+ }[];
3893
+ groupAnyOf: {
3894
+ kind: string;
3895
+ id: string;
3896
+ ownerRepo: string;
3897
+ visibility: "global" | "public" | "tenant";
3898
+ tenantScope?: {
3899
+ tenantRef: {
3900
+ kind: string;
3901
+ id: string;
3902
+ ownerRepo: string;
3903
+ };
3904
+ dataSpaceRef: {
3905
+ kind: string;
3906
+ id: string;
3907
+ ownerRepo: string;
3908
+ };
3909
+ teamRef?: {
3910
+ kind: string;
3911
+ id: string;
3912
+ ownerRepo: string;
3913
+ } | undefined;
3914
+ } | undefined;
3915
+ }[];
3916
+ permissionAllOf: string[];
3917
+ permissionAnyOf: string[];
3918
+ conditionAllOf: {
3919
+ revision: number;
3920
+ schemaVersion: number;
3921
+ contentHash: string;
3922
+ kind: string;
3923
+ id: string;
3924
+ ownerRepo: string;
3925
+ visibility: "global" | "public" | "tenant";
3926
+ tenantScope?: {
3927
+ tenantRef: {
3928
+ kind: string;
3929
+ id: string;
3930
+ ownerRepo: string;
3931
+ };
3932
+ dataSpaceRef: {
3933
+ kind: string;
3934
+ id: string;
3935
+ ownerRepo: string;
3936
+ };
3937
+ teamRef?: {
3938
+ kind: string;
3939
+ id: string;
3940
+ ownerRepo: string;
3941
+ } | undefined;
3942
+ } | undefined;
3943
+ }[];
3944
+ };
3945
+ retire: {
3946
+ authenticated: boolean;
3947
+ groupAllOf: {
3948
+ kind: string;
3949
+ id: string;
3950
+ ownerRepo: string;
3951
+ visibility: "global" | "public" | "tenant";
3952
+ tenantScope?: {
3953
+ tenantRef: {
3954
+ kind: string;
3955
+ id: string;
3956
+ ownerRepo: string;
3957
+ };
3958
+ dataSpaceRef: {
3959
+ kind: string;
3960
+ id: string;
3961
+ ownerRepo: string;
3962
+ };
3963
+ teamRef?: {
3964
+ kind: string;
3965
+ id: string;
3966
+ ownerRepo: string;
3967
+ } | undefined;
3968
+ } | undefined;
3969
+ }[];
3970
+ groupAnyOf: {
3971
+ kind: string;
3972
+ id: string;
3973
+ ownerRepo: string;
3974
+ visibility: "global" | "public" | "tenant";
3975
+ tenantScope?: {
3976
+ tenantRef: {
3977
+ kind: string;
3978
+ id: string;
3979
+ ownerRepo: string;
3980
+ };
3981
+ dataSpaceRef: {
3982
+ kind: string;
3983
+ id: string;
3984
+ ownerRepo: string;
3985
+ };
3986
+ teamRef?: {
3987
+ kind: string;
3988
+ id: string;
3989
+ ownerRepo: string;
3990
+ } | undefined;
3991
+ } | undefined;
3992
+ }[];
3993
+ permissionAllOf: string[];
3994
+ permissionAnyOf: string[];
3995
+ conditionAllOf: {
3996
+ revision: number;
3997
+ schemaVersion: number;
3998
+ contentHash: string;
3999
+ kind: string;
4000
+ id: string;
4001
+ ownerRepo: string;
4002
+ visibility: "global" | "public" | "tenant";
4003
+ tenantScope?: {
4004
+ tenantRef: {
4005
+ kind: string;
4006
+ id: string;
4007
+ ownerRepo: string;
4008
+ };
4009
+ dataSpaceRef: {
4010
+ kind: string;
4011
+ id: string;
4012
+ ownerRepo: string;
4013
+ };
4014
+ teamRef?: {
4015
+ kind: string;
4016
+ id: string;
4017
+ ownerRepo: string;
4018
+ } | undefined;
4019
+ } | undefined;
4020
+ }[];
4021
+ };
4022
+ };
4023
+ tokenRevisionRefs: {
4024
+ revision: number;
4025
+ schemaVersion: number;
4026
+ contentHash: string;
4027
+ kind: string;
4028
+ id: string;
4029
+ ownerRepo: string;
3590
4030
  visibility: "global" | "public" | "tenant";
3591
4031
  tenantScope?: {
3592
4032
  tenantRef: {
@@ -5012,6 +5452,7 @@ declare const artifactSchema: z.ZodObject<{
5012
5452
  } | undefined;
5013
5453
  }[];
5014
5454
  appInstances: {
5455
+ runtimeContractVersion?: string | undefined;
5015
5456
  instanceId: string;
5016
5457
  kind: "agent" | "built-in-application" | "capability" | "design" | "workflow" | "workflow-form";
5017
5458
  targetRevisionRef: {
@@ -5208,6 +5649,7 @@ declare const artifactSchema: z.ZodObject<{
5208
5649
  showDefaultGroup: boolean;
5209
5650
  };
5210
5651
  layout: {
5652
+ runtimeContractVersion?: string | undefined;
5211
5653
  hostCapabilityRevisionRef: {
5212
5654
  revision: number;
5213
5655
  schemaVersion: number;
@@ -6558,6 +7000,7 @@ declare const artifactSchema: z.ZodObject<{
6558
7000
  contract: "ViewProviderDescriptor";
6559
7001
  providerId: string;
6560
7002
  providerVersion: string;
7003
+ runtimeContractVersion?: string | undefined;
6561
7004
  ownerRepo: string;
6562
7005
  capabilityRef: {
6563
7006
  kind: string;
@@ -6604,6 +7047,7 @@ declare const artifactSchema: z.ZodObject<{
6604
7047
  } | undefined;
6605
7048
  };
6606
7049
  declarativeRegistration: {
7050
+ runtimeContractVersion?: string | undefined;
6607
7051
  registrationRevisionRef: {
6608
7052
  revision: number;
6609
7053
  schemaVersion: number;
@@ -7055,6 +7499,16 @@ export declare function parseCatalog(input: unknown): {
7055
7499
  stateId: string;
7056
7500
  schema: string;
7057
7501
  }[] | undefined;
7502
+ sharedStateBindings?: {
7503
+ bindingId: string;
7504
+ provider: {
7505
+ id: string;
7506
+ version: number;
7507
+ };
7508
+ states: Record<string, string>;
7509
+ queries: Record<string, string>;
7510
+ writeInteractions: string[];
7511
+ }[] | undefined;
7058
7512
  entryTransitions?: {
7059
7513
  query: {
7060
7514
  preserve: boolean;
@@ -8140,6 +8594,7 @@ export declare function parseCatalog(input: unknown): {
8140
8594
  version?: string | number | undefined;
8141
8595
  ownerRepo?: string | undefined;
8142
8596
  };
8597
+ runtimeContractVersion?: string | undefined;
8143
8598
  providerRef?: {
8144
8599
  kind: string;
8145
8600
  id: string;
@@ -8340,6 +8795,7 @@ export declare function parseCatalog(input: unknown): {
8340
8795
  }[];
8341
8796
  };
8342
8797
  capabilityInstances: {
8798
+ runtimeContractVersion?: string | undefined;
8343
8799
  instanceId: string;
8344
8800
  nodeId: string;
8345
8801
  capabilityRevisionRef: {
@@ -8582,6 +9038,16 @@ export declare function parseCatalog(input: unknown): {
8582
9038
  valueType: "boolean-01" | "json" | "number" | "string";
8583
9039
  } | undefined;
8584
9040
  }[] | undefined;
9041
+ sharedStateBindings?: {
9042
+ bindingId: string;
9043
+ provider: {
9044
+ id: string;
9045
+ version: number;
9046
+ };
9047
+ states: Record<string, string>;
9048
+ queries: Record<string, string>;
9049
+ writeInteractions: string[];
9050
+ }[] | undefined;
8585
9051
  entryTransitions?: {
8586
9052
  browsingContext?: "new" | "same" | undefined;
8587
9053
  gestureSource?: {
@@ -9498,6 +9964,422 @@ export declare function parseCatalog(input: unknown): {
9498
9964
  recovery: "compensating-command" | "manual-review" | "retry-safe";
9499
9965
  lineageRequired: true;
9500
9966
  }[];
9967
+ programBindings?: {
9968
+ source: {
9969
+ capabilityInstanceId: string;
9970
+ port: string;
9971
+ };
9972
+ sourceIntentSchemaRevisionRef: {
9973
+ revision: number;
9974
+ schemaVersion: number;
9975
+ contentHash: string;
9976
+ kind: string;
9977
+ id: string;
9978
+ ownerRepo: string;
9979
+ visibility: "global" | "public" | "tenant";
9980
+ tenantScope?: {
9981
+ tenantRef: {
9982
+ kind: string;
9983
+ id: string;
9984
+ ownerRepo: string;
9985
+ };
9986
+ dataSpaceRef: {
9987
+ kind: string;
9988
+ id: string;
9989
+ ownerRepo: string;
9990
+ };
9991
+ teamRef?: {
9992
+ kind: string;
9993
+ id: string;
9994
+ ownerRepo: string;
9995
+ } | undefined;
9996
+ } | undefined;
9997
+ };
9998
+ programRevisionRef: {
9999
+ revision: number;
10000
+ schemaVersion: number;
10001
+ contentHash: string;
10002
+ kind: string;
10003
+ id: string;
10004
+ ownerRepo: string;
10005
+ visibility: "global" | "public" | "tenant";
10006
+ tenantScope?: {
10007
+ tenantRef: {
10008
+ kind: string;
10009
+ id: string;
10010
+ ownerRepo: string;
10011
+ };
10012
+ dataSpaceRef: {
10013
+ kind: string;
10014
+ id: string;
10015
+ ownerRepo: string;
10016
+ };
10017
+ teamRef?: {
10018
+ kind: string;
10019
+ id: string;
10020
+ ownerRepo: string;
10021
+ } | undefined;
10022
+ } | undefined;
10023
+ };
10024
+ definition: {
10025
+ contract: "ActionProgramDefinition";
10026
+ schemaVersion: 1;
10027
+ programId: string;
10028
+ ownerRepo: string;
10029
+ tenantScope: {
10030
+ tenantRef: {
10031
+ kind: string;
10032
+ id: string;
10033
+ ownerRepo: string;
10034
+ };
10035
+ dataSpaceRef: {
10036
+ kind: string;
10037
+ id: string;
10038
+ ownerRepo: string;
10039
+ };
10040
+ teamRef?: {
10041
+ kind: string;
10042
+ id: string;
10043
+ ownerRepo: string;
10044
+ } | undefined;
10045
+ };
10046
+ supportedSurface: "studio";
10047
+ inputSchemaRevisionRef: {
10048
+ revision: number;
10049
+ schemaVersion: number;
10050
+ contentHash: string;
10051
+ kind: string;
10052
+ id: string;
10053
+ ownerRepo: string;
10054
+ visibility: "global" | "public" | "tenant";
10055
+ tenantScope?: {
10056
+ tenantRef: {
10057
+ kind: string;
10058
+ id: string;
10059
+ ownerRepo: string;
10060
+ };
10061
+ dataSpaceRef: {
10062
+ kind: string;
10063
+ id: string;
10064
+ ownerRepo: string;
10065
+ };
10066
+ teamRef?: {
10067
+ kind: string;
10068
+ id: string;
10069
+ ownerRepo: string;
10070
+ } | undefined;
10071
+ } | undefined;
10072
+ };
10073
+ resultSchemaRevisionRef: {
10074
+ revision: number;
10075
+ schemaVersion: number;
10076
+ contentHash: string;
10077
+ kind: string;
10078
+ id: string;
10079
+ ownerRepo: string;
10080
+ visibility: "global" | "public" | "tenant";
10081
+ tenantScope?: {
10082
+ tenantRef: {
10083
+ kind: string;
10084
+ id: string;
10085
+ ownerRepo: string;
10086
+ };
10087
+ dataSpaceRef: {
10088
+ kind: string;
10089
+ id: string;
10090
+ ownerRepo: string;
10091
+ };
10092
+ teamRef?: {
10093
+ kind: string;
10094
+ id: string;
10095
+ ownerRepo: string;
10096
+ } | undefined;
10097
+ } | undefined;
10098
+ };
10099
+ entry: "main";
10100
+ abi: "monkeys.action-program/2";
10101
+ compiler: string;
10102
+ target: "browser-worker-es2020";
10103
+ sourceHash: string;
10104
+ compiledHash: string;
10105
+ sourceMapHash: string;
10106
+ dependencies: {
10107
+ kind: "command" | "query";
10108
+ revisionRef: {
10109
+ revision: number;
10110
+ schemaVersion: number;
10111
+ contentHash: string;
10112
+ kind: string;
10113
+ id: string;
10114
+ ownerRepo: string;
10115
+ visibility: "global" | "public" | "tenant";
10116
+ tenantScope?: {
10117
+ tenantRef: {
10118
+ kind: string;
10119
+ id: string;
10120
+ ownerRepo: string;
10121
+ };
10122
+ dataSpaceRef: {
10123
+ kind: string;
10124
+ id: string;
10125
+ ownerRepo: string;
10126
+ };
10127
+ teamRef?: {
10128
+ kind: string;
10129
+ id: string;
10130
+ ownerRepo: string;
10131
+ } | undefined;
10132
+ } | undefined;
10133
+ };
10134
+ inputSchemaRevisionRef: {
10135
+ revision: number;
10136
+ schemaVersion: number;
10137
+ contentHash: string;
10138
+ kind: string;
10139
+ id: string;
10140
+ ownerRepo: string;
10141
+ visibility: "global" | "public" | "tenant";
10142
+ tenantScope?: {
10143
+ tenantRef: {
10144
+ kind: string;
10145
+ id: string;
10146
+ ownerRepo: string;
10147
+ };
10148
+ dataSpaceRef: {
10149
+ kind: string;
10150
+ id: string;
10151
+ ownerRepo: string;
10152
+ };
10153
+ teamRef?: {
10154
+ kind: string;
10155
+ id: string;
10156
+ ownerRepo: string;
10157
+ } | undefined;
10158
+ } | undefined;
10159
+ };
10160
+ resultSchemaRevisionRef: {
10161
+ revision: number;
10162
+ schemaVersion: number;
10163
+ contentHash: string;
10164
+ kind: string;
10165
+ id: string;
10166
+ ownerRepo: string;
10167
+ visibility: "global" | "public" | "tenant";
10168
+ tenantScope?: {
10169
+ tenantRef: {
10170
+ kind: string;
10171
+ id: string;
10172
+ ownerRepo: string;
10173
+ };
10174
+ dataSpaceRef: {
10175
+ kind: string;
10176
+ id: string;
10177
+ ownerRepo: string;
10178
+ };
10179
+ teamRef?: {
10180
+ kind: string;
10181
+ id: string;
10182
+ ownerRepo: string;
10183
+ } | undefined;
10184
+ } | undefined;
10185
+ };
10186
+ download?: {
10187
+ kind: "native";
10188
+ } | {
10189
+ kind: "text-artifact";
10190
+ fileNamePath: string[];
10191
+ mimeTypePath: string[];
10192
+ contentPath: string[];
10193
+ maxBytes: number;
10194
+ } | undefined;
10195
+ dynamicInputKeys: string[];
10196
+ }[];
10197
+ effects: ("download" | "form" | "refresh" | "state.get" | "state.set" | "toast")[];
10198
+ refreshAliases: string[];
10199
+ stateAliases: {
10200
+ alias: string;
10201
+ schemaRevisionRef: {
10202
+ revision: number;
10203
+ schemaVersion: number;
10204
+ contentHash: string;
10205
+ kind: string;
10206
+ id: string;
10207
+ ownerRepo: string;
10208
+ visibility: "global" | "public" | "tenant";
10209
+ tenantScope?: {
10210
+ tenantRef: {
10211
+ kind: string;
10212
+ id: string;
10213
+ ownerRepo: string;
10214
+ };
10215
+ dataSpaceRef: {
10216
+ kind: string;
10217
+ id: string;
10218
+ ownerRepo: string;
10219
+ };
10220
+ teamRef?: {
10221
+ kind: string;
10222
+ id: string;
10223
+ ownerRepo: string;
10224
+ } | undefined;
10225
+ } | undefined;
10226
+ };
10227
+ }[];
10228
+ budgets: {
10229
+ rpcMs: number;
10230
+ concurrentCalls: number;
10231
+ calls: number;
10232
+ messageBytes: number;
10233
+ activeMs: number;
10234
+ formMs: number;
10235
+ wallMs: number;
10236
+ };
10237
+ };
10238
+ bindingId: string;
10239
+ inputMapping: Record<string, {
10240
+ kind: "scope-field";
10241
+ path: string;
10242
+ } | {
10243
+ kind: "binding-field";
10244
+ bindingId: string;
10245
+ path: string;
10246
+ } | {
10247
+ kind: "constant";
10248
+ value: string | number | boolean | null;
10249
+ } | {
10250
+ kind: "route-parameter";
10251
+ name: string;
10252
+ } | {
10253
+ kind: "query-parameter";
10254
+ name: string;
10255
+ } | {
10256
+ kind: "identity";
10257
+ name: "teamId" | "tenantId" | "userId";
10258
+ } | {
10259
+ kind: "intent-field";
10260
+ path: string;
10261
+ } | {
10262
+ kind: "page-state";
10263
+ stateId: string;
10264
+ } | {
10265
+ kind: "expression";
10266
+ expression: import("@inf-monkeys-tech/monkeys/contracts").PageExpression;
10267
+ }>;
10268
+ dependencyInputs: Record<string, Record<string, {
10269
+ kind: "scope-field";
10270
+ path: string;
10271
+ } | {
10272
+ kind: "binding-field";
10273
+ bindingId: string;
10274
+ path: string;
10275
+ } | {
10276
+ kind: "constant";
10277
+ value: string | number | boolean | null;
10278
+ } | {
10279
+ kind: "route-parameter";
10280
+ name: string;
10281
+ } | {
10282
+ kind: "query-parameter";
10283
+ name: string;
10284
+ } | {
10285
+ kind: "identity";
10286
+ name: "teamId" | "tenantId" | "userId";
10287
+ } | {
10288
+ kind: "intent-field";
10289
+ path: string;
10290
+ } | {
10291
+ kind: "page-state";
10292
+ stateId: string;
10293
+ } | {
10294
+ kind: "expression";
10295
+ expression: import("@inf-monkeys-tech/monkeys/contracts").PageExpression;
10296
+ }>>;
10297
+ accessPolicy: {
10298
+ authenticated: boolean;
10299
+ groupAllOf: {
10300
+ kind: string;
10301
+ id: string;
10302
+ ownerRepo: string;
10303
+ visibility: "global" | "public" | "tenant";
10304
+ tenantScope?: {
10305
+ tenantRef: {
10306
+ kind: string;
10307
+ id: string;
10308
+ ownerRepo: string;
10309
+ };
10310
+ dataSpaceRef: {
10311
+ kind: string;
10312
+ id: string;
10313
+ ownerRepo: string;
10314
+ };
10315
+ teamRef?: {
10316
+ kind: string;
10317
+ id: string;
10318
+ ownerRepo: string;
10319
+ } | undefined;
10320
+ } | undefined;
10321
+ }[];
10322
+ groupAnyOf: {
10323
+ kind: string;
10324
+ id: string;
10325
+ ownerRepo: string;
10326
+ visibility: "global" | "public" | "tenant";
10327
+ tenantScope?: {
10328
+ tenantRef: {
10329
+ kind: string;
10330
+ id: string;
10331
+ ownerRepo: string;
10332
+ };
10333
+ dataSpaceRef: {
10334
+ kind: string;
10335
+ id: string;
10336
+ ownerRepo: string;
10337
+ };
10338
+ teamRef?: {
10339
+ kind: string;
10340
+ id: string;
10341
+ ownerRepo: string;
10342
+ } | undefined;
10343
+ } | undefined;
10344
+ }[];
10345
+ permissionAllOf: string[];
10346
+ permissionAnyOf: string[];
10347
+ conditionAllOf: {
10348
+ revision: number;
10349
+ schemaVersion: number;
10350
+ contentHash: string;
10351
+ kind: string;
10352
+ id: string;
10353
+ ownerRepo: string;
10354
+ visibility: "global" | "public" | "tenant";
10355
+ tenantScope?: {
10356
+ tenantRef: {
10357
+ kind: string;
10358
+ id: string;
10359
+ ownerRepo: string;
10360
+ };
10361
+ dataSpaceRef: {
10362
+ kind: string;
10363
+ id: string;
10364
+ ownerRepo: string;
10365
+ };
10366
+ teamRef?: {
10367
+ kind: string;
10368
+ id: string;
10369
+ ownerRepo: string;
10370
+ } | undefined;
10371
+ } | undefined;
10372
+ }[];
10373
+ };
10374
+ confirmation?: {
10375
+ defaultLocale: string;
10376
+ values: Record<string, string>;
10377
+ } | undefined;
10378
+ when?: import("@inf-monkeys-tech/monkeys/contracts").PageExpression | undefined;
10379
+ concurrencyKeyPath: string[];
10380
+ refreshAliases: Record<string, string[]>;
10381
+ stateAliases: Record<string, string>;
10382
+ }[] | undefined;
9501
10383
  pageAccessPolicy: {
9502
10384
  authenticated: boolean;
9503
10385
  groupAllOf: {
@@ -11471,6 +12353,7 @@ export declare function parseCatalog(input: unknown): {
11471
12353
  } | undefined;
11472
12354
  }[];
11473
12355
  appInstances: {
12356
+ runtimeContractVersion?: string | undefined;
11474
12357
  instanceId: string;
11475
12358
  kind: "agent" | "built-in-application" | "capability" | "design" | "workflow" | "workflow-form";
11476
12359
  targetRevisionRef: {
@@ -11667,6 +12550,7 @@ export declare function parseCatalog(input: unknown): {
11667
12550
  showDefaultGroup: boolean;
11668
12551
  };
11669
12552
  layout: {
12553
+ runtimeContractVersion?: string | undefined;
11670
12554
  hostCapabilityRevisionRef: {
11671
12555
  revision: number;
11672
12556
  schemaVersion: number;
@@ -13017,6 +13901,7 @@ export declare function parseCatalog(input: unknown): {
13017
13901
  contract: "ViewProviderDescriptor";
13018
13902
  providerId: string;
13019
13903
  providerVersion: string;
13904
+ runtimeContractVersion?: string | undefined;
13020
13905
  ownerRepo: string;
13021
13906
  capabilityRef: {
13022
13907
  kind: string;
@@ -13063,6 +13948,7 @@ export declare function parseCatalog(input: unknown): {
13063
13948
  } | undefined;
13064
13949
  };
13065
13950
  declarativeRegistration: {
13951
+ runtimeContractVersion?: string | undefined;
13066
13952
  registrationRevisionRef: {
13067
13953
  revision: number;
13068
13954
  schemaVersion: number;