@h-ai/deploy 1.0.0-beta.23 → 1.0.0-beta.24

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/index.js CHANGED
@@ -2254,6 +2254,320 @@ var deploy_config_shapes_default = {
2254
2254
  pattern: "^[A-Z_]\\w*$"
2255
2255
  }
2256
2256
  },
2257
+ environmentIds: {
2258
+ default: [],
2259
+ maxItems: 64,
2260
+ type: "array",
2261
+ items: {
2262
+ type: "string",
2263
+ pattern: "^[a-z0-9][\\w-]{0,95}$"
2264
+ }
2265
+ },
2266
+ allowedCapabilities: {
2267
+ default: [],
2268
+ maxItems: 64,
2269
+ type: "array",
2270
+ items: {
2271
+ anyOf: [
2272
+ {
2273
+ type: "string",
2274
+ pattern: "^[a-z0-9][\\w-]{0,95}$"
2275
+ },
2276
+ {
2277
+ type: "string",
2278
+ pattern: "^[\\w.-]{1,96}$"
2279
+ }
2280
+ ]
2281
+ }
2282
+ },
2283
+ defaults: {
2284
+ type: "object",
2285
+ properties: {
2286
+ model: {
2287
+ type: "object",
2288
+ properties: {
2289
+ id: {
2290
+ type: "string",
2291
+ minLength: 1,
2292
+ maxLength: 100,
2293
+ pattern: "^[\\w.-]+$"
2294
+ },
2295
+ reasoningEffort: {
2296
+ type: "string",
2297
+ minLength: 1,
2298
+ maxLength: 100,
2299
+ pattern: "^[\\w.-]+$"
2300
+ },
2301
+ temperature: {
2302
+ type: "number",
2303
+ minimum: 0,
2304
+ maximum: 2
2305
+ },
2306
+ maxOutputTokens: {
2307
+ type: "integer",
2308
+ exclusiveMinimum: 0,
2309
+ maximum: 9007199254740991
2310
+ }
2311
+ },
2312
+ additionalProperties: false
2313
+ },
2314
+ execution: {
2315
+ type: "object",
2316
+ properties: {
2317
+ mode: {
2318
+ type: "string",
2319
+ enum: [
2320
+ "auto",
2321
+ "shared",
2322
+ "user",
2323
+ "task"
2324
+ ]
2325
+ },
2326
+ environmentId: {
2327
+ type: "string",
2328
+ minLength: 1,
2329
+ maxLength: 100,
2330
+ pattern: "^[\\w.-]+$"
2331
+ },
2332
+ resources: {
2333
+ type: "object",
2334
+ properties: {
2335
+ cpu: {
2336
+ type: "number",
2337
+ exclusiveMinimum: 0,
2338
+ maximum: 1024
2339
+ },
2340
+ memoryMiB: {
2341
+ type: "integer",
2342
+ minimum: 16,
2343
+ maximum: 9007199254740991
2344
+ }
2345
+ },
2346
+ additionalProperties: false
2347
+ }
2348
+ },
2349
+ additionalProperties: false
2350
+ },
2351
+ workspaceId: {
2352
+ type: "string",
2353
+ minLength: 1,
2354
+ maxLength: 100,
2355
+ pattern: "^[\\w.-]+$"
2356
+ },
2357
+ context: {
2358
+ type: "object",
2359
+ properties: {
2360
+ fileIds: {
2361
+ maxItems: 64,
2362
+ type: "array",
2363
+ items: {
2364
+ type: "string",
2365
+ minLength: 1,
2366
+ maxLength: 100,
2367
+ pattern: "^[\\w.-]+$"
2368
+ }
2369
+ },
2370
+ knowledgeBaseIds: {
2371
+ maxItems: 64,
2372
+ type: "array",
2373
+ items: {
2374
+ type: "string",
2375
+ minLength: 1,
2376
+ maxLength: 100,
2377
+ pattern: "^[\\w.-]+$"
2378
+ }
2379
+ },
2380
+ skillIds: {
2381
+ maxItems: 64,
2382
+ type: "array",
2383
+ items: {
2384
+ type: "string",
2385
+ minLength: 1,
2386
+ maxLength: 100,
2387
+ pattern: "^[\\w.-]+$"
2388
+ }
2389
+ },
2390
+ memory: {
2391
+ type: "object",
2392
+ properties: {
2393
+ scope: {
2394
+ type: "string",
2395
+ enum: [
2396
+ "none",
2397
+ "user",
2398
+ "space"
2399
+ ]
2400
+ },
2401
+ spaceId: {
2402
+ type: "string",
2403
+ minLength: 1,
2404
+ maxLength: 100,
2405
+ pattern: "^[\\w.-]+$"
2406
+ },
2407
+ write: {
2408
+ type: "string",
2409
+ enum: [
2410
+ "none",
2411
+ "confirm",
2412
+ "on-success"
2413
+ ]
2414
+ }
2415
+ },
2416
+ required: [
2417
+ "scope"
2418
+ ],
2419
+ additionalProperties: false
2420
+ }
2421
+ },
2422
+ additionalProperties: false
2423
+ },
2424
+ tools: {
2425
+ type: "object",
2426
+ properties: {
2427
+ allow: {
2428
+ maxItems: 64,
2429
+ type: "array",
2430
+ items: {
2431
+ type: "string",
2432
+ minLength: 1,
2433
+ maxLength: 100,
2434
+ pattern: "^[\\w.-]+$"
2435
+ }
2436
+ }
2437
+ },
2438
+ additionalProperties: false
2439
+ },
2440
+ capabilities: {
2441
+ maxItems: 64,
2442
+ type: "array",
2443
+ items: {
2444
+ type: "string",
2445
+ minLength: 1,
2446
+ maxLength: 100,
2447
+ pattern: "^[\\w.-]+$"
2448
+ }
2449
+ },
2450
+ permissions: {
2451
+ type: "object",
2452
+ properties: {
2453
+ profile: {
2454
+ type: "string",
2455
+ enum: [
2456
+ "read-only",
2457
+ "workspace",
2458
+ "full-access"
2459
+ ]
2460
+ },
2461
+ approval: {
2462
+ type: "string",
2463
+ enum: [
2464
+ "on-request",
2465
+ "never"
2466
+ ]
2467
+ },
2468
+ ruleIds: {
2469
+ maxItems: 64,
2470
+ type: "array",
2471
+ items: {
2472
+ type: "string",
2473
+ minLength: 1,
2474
+ maxLength: 100,
2475
+ pattern: "^[\\w.-]+$"
2476
+ }
2477
+ }
2478
+ },
2479
+ additionalProperties: false
2480
+ },
2481
+ limits: {
2482
+ type: "object",
2483
+ properties: {
2484
+ queueTimeoutMs: {
2485
+ type: "integer",
2486
+ minimum: 1,
2487
+ maximum: 864e5
2488
+ },
2489
+ runTimeoutMs: {
2490
+ type: "integer",
2491
+ minimum: 1,
2492
+ maximum: 864e5
2493
+ },
2494
+ approvalTimeoutMs: {
2495
+ type: "integer",
2496
+ minimum: 1,
2497
+ maximum: 864e5
2498
+ },
2499
+ maxOutputBytes: {
2500
+ type: "integer",
2501
+ minimum: 1,
2502
+ maximum: 8388608
2503
+ }
2504
+ },
2505
+ additionalProperties: false
2506
+ },
2507
+ output: {
2508
+ type: "object",
2509
+ properties: {
2510
+ format: {
2511
+ type: "string",
2512
+ enum: [
2513
+ "text",
2514
+ "json"
2515
+ ]
2516
+ },
2517
+ schema: {
2518
+ type: "object",
2519
+ propertyNames: {
2520
+ type: "string"
2521
+ },
2522
+ additionalProperties: {
2523
+ $ref: "#/$defs/__schema0"
2524
+ }
2525
+ }
2526
+ },
2527
+ required: [
2528
+ "format"
2529
+ ],
2530
+ additionalProperties: false
2531
+ },
2532
+ native: {
2533
+ type: "object",
2534
+ properties: {
2535
+ adapter: {
2536
+ type: "string",
2537
+ minLength: 1,
2538
+ maxLength: 100,
2539
+ pattern: "^[\\w.-]+$"
2540
+ },
2541
+ options: {
2542
+ type: "object",
2543
+ propertyNames: {
2544
+ type: "string"
2545
+ },
2546
+ additionalProperties: {
2547
+ $ref: "#/$defs/__schema1"
2548
+ }
2549
+ }
2550
+ },
2551
+ required: [
2552
+ "adapter",
2553
+ "options"
2554
+ ],
2555
+ additionalProperties: false
2556
+ },
2557
+ metadata: {
2558
+ type: "object",
2559
+ propertyNames: {
2560
+ type: "string",
2561
+ pattern: "^[\\w.-]{1,48}$"
2562
+ },
2563
+ additionalProperties: {
2564
+ type: "string",
2565
+ maxLength: 128
2566
+ }
2567
+ }
2568
+ },
2569
+ additionalProperties: false
2570
+ },
2257
2571
  mode: {
2258
2572
  type: "string",
2259
2573
  const: "custom-service"
@@ -2340,10 +2654,324 @@ var deploy_config_shapes_default = {
2340
2654
  type: "string",
2341
2655
  pattern: "^[A-Z_]\\w*$"
2342
2656
  },
2343
- additionalProperties: {
2344
- type: "string",
2345
- pattern: "^[A-Z_]\\w*$"
2346
- }
2657
+ additionalProperties: {
2658
+ type: "string",
2659
+ pattern: "^[A-Z_]\\w*$"
2660
+ }
2661
+ },
2662
+ environmentIds: {
2663
+ default: [],
2664
+ maxItems: 64,
2665
+ type: "array",
2666
+ items: {
2667
+ type: "string",
2668
+ pattern: "^[a-z0-9][\\w-]{0,95}$"
2669
+ }
2670
+ },
2671
+ allowedCapabilities: {
2672
+ default: [],
2673
+ maxItems: 64,
2674
+ type: "array",
2675
+ items: {
2676
+ anyOf: [
2677
+ {
2678
+ type: "string",
2679
+ pattern: "^[a-z0-9][\\w-]{0,95}$"
2680
+ },
2681
+ {
2682
+ type: "string",
2683
+ pattern: "^[\\w.-]{1,96}$"
2684
+ }
2685
+ ]
2686
+ }
2687
+ },
2688
+ defaults: {
2689
+ type: "object",
2690
+ properties: {
2691
+ model: {
2692
+ type: "object",
2693
+ properties: {
2694
+ id: {
2695
+ type: "string",
2696
+ minLength: 1,
2697
+ maxLength: 100,
2698
+ pattern: "^[\\w.-]+$"
2699
+ },
2700
+ reasoningEffort: {
2701
+ type: "string",
2702
+ minLength: 1,
2703
+ maxLength: 100,
2704
+ pattern: "^[\\w.-]+$"
2705
+ },
2706
+ temperature: {
2707
+ type: "number",
2708
+ minimum: 0,
2709
+ maximum: 2
2710
+ },
2711
+ maxOutputTokens: {
2712
+ type: "integer",
2713
+ exclusiveMinimum: 0,
2714
+ maximum: 9007199254740991
2715
+ }
2716
+ },
2717
+ additionalProperties: false
2718
+ },
2719
+ execution: {
2720
+ type: "object",
2721
+ properties: {
2722
+ mode: {
2723
+ type: "string",
2724
+ enum: [
2725
+ "auto",
2726
+ "shared",
2727
+ "user",
2728
+ "task"
2729
+ ]
2730
+ },
2731
+ environmentId: {
2732
+ type: "string",
2733
+ minLength: 1,
2734
+ maxLength: 100,
2735
+ pattern: "^[\\w.-]+$"
2736
+ },
2737
+ resources: {
2738
+ type: "object",
2739
+ properties: {
2740
+ cpu: {
2741
+ type: "number",
2742
+ exclusiveMinimum: 0,
2743
+ maximum: 1024
2744
+ },
2745
+ memoryMiB: {
2746
+ type: "integer",
2747
+ minimum: 16,
2748
+ maximum: 9007199254740991
2749
+ }
2750
+ },
2751
+ additionalProperties: false
2752
+ }
2753
+ },
2754
+ additionalProperties: false
2755
+ },
2756
+ workspaceId: {
2757
+ type: "string",
2758
+ minLength: 1,
2759
+ maxLength: 100,
2760
+ pattern: "^[\\w.-]+$"
2761
+ },
2762
+ context: {
2763
+ type: "object",
2764
+ properties: {
2765
+ fileIds: {
2766
+ maxItems: 64,
2767
+ type: "array",
2768
+ items: {
2769
+ type: "string",
2770
+ minLength: 1,
2771
+ maxLength: 100,
2772
+ pattern: "^[\\w.-]+$"
2773
+ }
2774
+ },
2775
+ knowledgeBaseIds: {
2776
+ maxItems: 64,
2777
+ type: "array",
2778
+ items: {
2779
+ type: "string",
2780
+ minLength: 1,
2781
+ maxLength: 100,
2782
+ pattern: "^[\\w.-]+$"
2783
+ }
2784
+ },
2785
+ skillIds: {
2786
+ maxItems: 64,
2787
+ type: "array",
2788
+ items: {
2789
+ type: "string",
2790
+ minLength: 1,
2791
+ maxLength: 100,
2792
+ pattern: "^[\\w.-]+$"
2793
+ }
2794
+ },
2795
+ memory: {
2796
+ type: "object",
2797
+ properties: {
2798
+ scope: {
2799
+ type: "string",
2800
+ enum: [
2801
+ "none",
2802
+ "user",
2803
+ "space"
2804
+ ]
2805
+ },
2806
+ spaceId: {
2807
+ type: "string",
2808
+ minLength: 1,
2809
+ maxLength: 100,
2810
+ pattern: "^[\\w.-]+$"
2811
+ },
2812
+ write: {
2813
+ type: "string",
2814
+ enum: [
2815
+ "none",
2816
+ "confirm",
2817
+ "on-success"
2818
+ ]
2819
+ }
2820
+ },
2821
+ required: [
2822
+ "scope"
2823
+ ],
2824
+ additionalProperties: false
2825
+ }
2826
+ },
2827
+ additionalProperties: false
2828
+ },
2829
+ tools: {
2830
+ type: "object",
2831
+ properties: {
2832
+ allow: {
2833
+ maxItems: 64,
2834
+ type: "array",
2835
+ items: {
2836
+ type: "string",
2837
+ minLength: 1,
2838
+ maxLength: 100,
2839
+ pattern: "^[\\w.-]+$"
2840
+ }
2841
+ }
2842
+ },
2843
+ additionalProperties: false
2844
+ },
2845
+ capabilities: {
2846
+ maxItems: 64,
2847
+ type: "array",
2848
+ items: {
2849
+ type: "string",
2850
+ minLength: 1,
2851
+ maxLength: 100,
2852
+ pattern: "^[\\w.-]+$"
2853
+ }
2854
+ },
2855
+ permissions: {
2856
+ type: "object",
2857
+ properties: {
2858
+ profile: {
2859
+ type: "string",
2860
+ enum: [
2861
+ "read-only",
2862
+ "workspace",
2863
+ "full-access"
2864
+ ]
2865
+ },
2866
+ approval: {
2867
+ type: "string",
2868
+ enum: [
2869
+ "on-request",
2870
+ "never"
2871
+ ]
2872
+ },
2873
+ ruleIds: {
2874
+ maxItems: 64,
2875
+ type: "array",
2876
+ items: {
2877
+ type: "string",
2878
+ minLength: 1,
2879
+ maxLength: 100,
2880
+ pattern: "^[\\w.-]+$"
2881
+ }
2882
+ }
2883
+ },
2884
+ additionalProperties: false
2885
+ },
2886
+ limits: {
2887
+ type: "object",
2888
+ properties: {
2889
+ queueTimeoutMs: {
2890
+ type: "integer",
2891
+ minimum: 1,
2892
+ maximum: 864e5
2893
+ },
2894
+ runTimeoutMs: {
2895
+ type: "integer",
2896
+ minimum: 1,
2897
+ maximum: 864e5
2898
+ },
2899
+ approvalTimeoutMs: {
2900
+ type: "integer",
2901
+ minimum: 1,
2902
+ maximum: 864e5
2903
+ },
2904
+ maxOutputBytes: {
2905
+ type: "integer",
2906
+ minimum: 1,
2907
+ maximum: 8388608
2908
+ }
2909
+ },
2910
+ additionalProperties: false
2911
+ },
2912
+ output: {
2913
+ type: "object",
2914
+ properties: {
2915
+ format: {
2916
+ type: "string",
2917
+ enum: [
2918
+ "text",
2919
+ "json"
2920
+ ]
2921
+ },
2922
+ schema: {
2923
+ type: "object",
2924
+ propertyNames: {
2925
+ type: "string"
2926
+ },
2927
+ additionalProperties: {
2928
+ $ref: "#/$defs/__schema0"
2929
+ }
2930
+ }
2931
+ },
2932
+ required: [
2933
+ "format"
2934
+ ],
2935
+ additionalProperties: false
2936
+ },
2937
+ native: {
2938
+ type: "object",
2939
+ properties: {
2940
+ adapter: {
2941
+ type: "string",
2942
+ minLength: 1,
2943
+ maxLength: 100,
2944
+ pattern: "^[\\w.-]+$"
2945
+ },
2946
+ options: {
2947
+ type: "object",
2948
+ propertyNames: {
2949
+ type: "string"
2950
+ },
2951
+ additionalProperties: {
2952
+ $ref: "#/$defs/__schema1"
2953
+ }
2954
+ }
2955
+ },
2956
+ required: [
2957
+ "adapter",
2958
+ "options"
2959
+ ],
2960
+ additionalProperties: false
2961
+ },
2962
+ metadata: {
2963
+ type: "object",
2964
+ propertyNames: {
2965
+ type: "string",
2966
+ pattern: "^[\\w.-]{1,48}$"
2967
+ },
2968
+ additionalProperties: {
2969
+ type: "string",
2970
+ maxLength: 128
2971
+ }
2972
+ }
2973
+ },
2974
+ additionalProperties: false
2347
2975
  },
2348
2976
  command: {
2349
2977
  type: "string",
@@ -2416,6 +3044,320 @@ var deploy_config_shapes_default = {
2416
3044
  pattern: "^[A-Z_]\\w*$"
2417
3045
  }
2418
3046
  },
3047
+ environmentIds: {
3048
+ default: [],
3049
+ maxItems: 64,
3050
+ type: "array",
3051
+ items: {
3052
+ type: "string",
3053
+ pattern: "^[a-z0-9][\\w-]{0,95}$"
3054
+ }
3055
+ },
3056
+ allowedCapabilities: {
3057
+ default: [],
3058
+ maxItems: 64,
3059
+ type: "array",
3060
+ items: {
3061
+ anyOf: [
3062
+ {
3063
+ type: "string",
3064
+ pattern: "^[a-z0-9][\\w-]{0,95}$"
3065
+ },
3066
+ {
3067
+ type: "string",
3068
+ pattern: "^[\\w.-]{1,96}$"
3069
+ }
3070
+ ]
3071
+ }
3072
+ },
3073
+ defaults: {
3074
+ type: "object",
3075
+ properties: {
3076
+ model: {
3077
+ type: "object",
3078
+ properties: {
3079
+ id: {
3080
+ type: "string",
3081
+ minLength: 1,
3082
+ maxLength: 100,
3083
+ pattern: "^[\\w.-]+$"
3084
+ },
3085
+ reasoningEffort: {
3086
+ type: "string",
3087
+ minLength: 1,
3088
+ maxLength: 100,
3089
+ pattern: "^[\\w.-]+$"
3090
+ },
3091
+ temperature: {
3092
+ type: "number",
3093
+ minimum: 0,
3094
+ maximum: 2
3095
+ },
3096
+ maxOutputTokens: {
3097
+ type: "integer",
3098
+ exclusiveMinimum: 0,
3099
+ maximum: 9007199254740991
3100
+ }
3101
+ },
3102
+ additionalProperties: false
3103
+ },
3104
+ execution: {
3105
+ type: "object",
3106
+ properties: {
3107
+ mode: {
3108
+ type: "string",
3109
+ enum: [
3110
+ "auto",
3111
+ "shared",
3112
+ "user",
3113
+ "task"
3114
+ ]
3115
+ },
3116
+ environmentId: {
3117
+ type: "string",
3118
+ minLength: 1,
3119
+ maxLength: 100,
3120
+ pattern: "^[\\w.-]+$"
3121
+ },
3122
+ resources: {
3123
+ type: "object",
3124
+ properties: {
3125
+ cpu: {
3126
+ type: "number",
3127
+ exclusiveMinimum: 0,
3128
+ maximum: 1024
3129
+ },
3130
+ memoryMiB: {
3131
+ type: "integer",
3132
+ minimum: 16,
3133
+ maximum: 9007199254740991
3134
+ }
3135
+ },
3136
+ additionalProperties: false
3137
+ }
3138
+ },
3139
+ additionalProperties: false
3140
+ },
3141
+ workspaceId: {
3142
+ type: "string",
3143
+ minLength: 1,
3144
+ maxLength: 100,
3145
+ pattern: "^[\\w.-]+$"
3146
+ },
3147
+ context: {
3148
+ type: "object",
3149
+ properties: {
3150
+ fileIds: {
3151
+ maxItems: 64,
3152
+ type: "array",
3153
+ items: {
3154
+ type: "string",
3155
+ minLength: 1,
3156
+ maxLength: 100,
3157
+ pattern: "^[\\w.-]+$"
3158
+ }
3159
+ },
3160
+ knowledgeBaseIds: {
3161
+ maxItems: 64,
3162
+ type: "array",
3163
+ items: {
3164
+ type: "string",
3165
+ minLength: 1,
3166
+ maxLength: 100,
3167
+ pattern: "^[\\w.-]+$"
3168
+ }
3169
+ },
3170
+ skillIds: {
3171
+ maxItems: 64,
3172
+ type: "array",
3173
+ items: {
3174
+ type: "string",
3175
+ minLength: 1,
3176
+ maxLength: 100,
3177
+ pattern: "^[\\w.-]+$"
3178
+ }
3179
+ },
3180
+ memory: {
3181
+ type: "object",
3182
+ properties: {
3183
+ scope: {
3184
+ type: "string",
3185
+ enum: [
3186
+ "none",
3187
+ "user",
3188
+ "space"
3189
+ ]
3190
+ },
3191
+ spaceId: {
3192
+ type: "string",
3193
+ minLength: 1,
3194
+ maxLength: 100,
3195
+ pattern: "^[\\w.-]+$"
3196
+ },
3197
+ write: {
3198
+ type: "string",
3199
+ enum: [
3200
+ "none",
3201
+ "confirm",
3202
+ "on-success"
3203
+ ]
3204
+ }
3205
+ },
3206
+ required: [
3207
+ "scope"
3208
+ ],
3209
+ additionalProperties: false
3210
+ }
3211
+ },
3212
+ additionalProperties: false
3213
+ },
3214
+ tools: {
3215
+ type: "object",
3216
+ properties: {
3217
+ allow: {
3218
+ maxItems: 64,
3219
+ type: "array",
3220
+ items: {
3221
+ type: "string",
3222
+ minLength: 1,
3223
+ maxLength: 100,
3224
+ pattern: "^[\\w.-]+$"
3225
+ }
3226
+ }
3227
+ },
3228
+ additionalProperties: false
3229
+ },
3230
+ capabilities: {
3231
+ maxItems: 64,
3232
+ type: "array",
3233
+ items: {
3234
+ type: "string",
3235
+ minLength: 1,
3236
+ maxLength: 100,
3237
+ pattern: "^[\\w.-]+$"
3238
+ }
3239
+ },
3240
+ permissions: {
3241
+ type: "object",
3242
+ properties: {
3243
+ profile: {
3244
+ type: "string",
3245
+ enum: [
3246
+ "read-only",
3247
+ "workspace",
3248
+ "full-access"
3249
+ ]
3250
+ },
3251
+ approval: {
3252
+ type: "string",
3253
+ enum: [
3254
+ "on-request",
3255
+ "never"
3256
+ ]
3257
+ },
3258
+ ruleIds: {
3259
+ maxItems: 64,
3260
+ type: "array",
3261
+ items: {
3262
+ type: "string",
3263
+ minLength: 1,
3264
+ maxLength: 100,
3265
+ pattern: "^[\\w.-]+$"
3266
+ }
3267
+ }
3268
+ },
3269
+ additionalProperties: false
3270
+ },
3271
+ limits: {
3272
+ type: "object",
3273
+ properties: {
3274
+ queueTimeoutMs: {
3275
+ type: "integer",
3276
+ minimum: 1,
3277
+ maximum: 864e5
3278
+ },
3279
+ runTimeoutMs: {
3280
+ type: "integer",
3281
+ minimum: 1,
3282
+ maximum: 864e5
3283
+ },
3284
+ approvalTimeoutMs: {
3285
+ type: "integer",
3286
+ minimum: 1,
3287
+ maximum: 864e5
3288
+ },
3289
+ maxOutputBytes: {
3290
+ type: "integer",
3291
+ minimum: 1,
3292
+ maximum: 8388608
3293
+ }
3294
+ },
3295
+ additionalProperties: false
3296
+ },
3297
+ output: {
3298
+ type: "object",
3299
+ properties: {
3300
+ format: {
3301
+ type: "string",
3302
+ enum: [
3303
+ "text",
3304
+ "json"
3305
+ ]
3306
+ },
3307
+ schema: {
3308
+ type: "object",
3309
+ propertyNames: {
3310
+ type: "string"
3311
+ },
3312
+ additionalProperties: {
3313
+ $ref: "#/$defs/__schema0"
3314
+ }
3315
+ }
3316
+ },
3317
+ required: [
3318
+ "format"
3319
+ ],
3320
+ additionalProperties: false
3321
+ },
3322
+ native: {
3323
+ type: "object",
3324
+ properties: {
3325
+ adapter: {
3326
+ type: "string",
3327
+ minLength: 1,
3328
+ maxLength: 100,
3329
+ pattern: "^[\\w.-]+$"
3330
+ },
3331
+ options: {
3332
+ type: "object",
3333
+ propertyNames: {
3334
+ type: "string"
3335
+ },
3336
+ additionalProperties: {
3337
+ $ref: "#/$defs/__schema1"
3338
+ }
3339
+ }
3340
+ },
3341
+ required: [
3342
+ "adapter",
3343
+ "options"
3344
+ ],
3345
+ additionalProperties: false
3346
+ },
3347
+ metadata: {
3348
+ type: "object",
3349
+ propertyNames: {
3350
+ type: "string",
3351
+ pattern: "^[\\w.-]{1,48}$"
3352
+ },
3353
+ additionalProperties: {
3354
+ type: "string",
3355
+ maxLength: 128
3356
+ }
3357
+ }
3358
+ },
3359
+ additionalProperties: false
3360
+ },
2419
3361
  command: {
2420
3362
  type: "string",
2421
3363
  minLength: 1
@@ -2618,6 +3560,12 @@ var deploy_config_shapes_default = {
2618
3560
  type: "integer",
2619
3561
  exclusiveMinimum: 0,
2620
3562
  maximum: 9007199254740991
3563
+ },
3564
+ workerIdleTimeoutMs: {
3565
+ default: 3e5,
3566
+ type: "integer",
3567
+ minimum: 1e3,
3568
+ maximum: 864e5
2621
3569
  }
2622
3570
  },
2623
3571
  additionalProperties: false
@@ -2846,9 +3794,14 @@ var deploy_config_shapes_default = {
2846
3794
  enum: [
2847
3795
  "stdio",
2848
3796
  "http",
2849
- "sse"
3797
+ "sse",
3798
+ "job"
2850
3799
  ]
2851
3800
  },
3801
+ environmentId: {
3802
+ type: "string",
3803
+ pattern: "^[\\w.-]{1,128}$"
3804
+ },
2852
3805
  command: {
2853
3806
  type: "string",
2854
3807
  minLength: 1
@@ -2883,6 +3836,45 @@ var deploy_config_shapes_default = {
2883
3836
  additionalProperties: {
2884
3837
  type: "string"
2885
3838
  }
3839
+ },
3840
+ allowedTools: {
3841
+ minItems: 1,
3842
+ maxItems: 256,
3843
+ type: "array",
3844
+ items: {
3845
+ type: "string",
3846
+ minLength: 1,
3847
+ maxLength: 128
3848
+ }
3849
+ },
3850
+ timeoutMs: {
3851
+ type: "integer",
3852
+ minimum: 1,
3853
+ maximum: 3e5
3854
+ },
3855
+ pool: {
3856
+ type: "object",
3857
+ properties: {
3858
+ maxRunning: {
3859
+ type: "integer",
3860
+ minimum: 1,
3861
+ maximum: 1e3
3862
+ },
3863
+ minReady: {
3864
+ type: "integer",
3865
+ minimum: 0,
3866
+ maximum: 1e3
3867
+ },
3868
+ maxTotal: {
3869
+ type: "integer",
3870
+ minimum: 1,
3871
+ maximum: 1e3
3872
+ }
3873
+ },
3874
+ required: [
3875
+ "maxRunning"
3876
+ ],
3877
+ additionalProperties: false
2886
3878
  }
2887
3879
  },
2888
3880
  required: [
@@ -3507,6 +4499,70 @@ var deploy_config_shapes_default = {
3507
4499
  }
3508
4500
  }
3509
4501
  }
4502
+ },
4503
+ $defs: {
4504
+ __schema0: {
4505
+ anyOf: [
4506
+ {
4507
+ type: "string"
4508
+ },
4509
+ {
4510
+ type: "number"
4511
+ },
4512
+ {
4513
+ type: "boolean"
4514
+ },
4515
+ {
4516
+ type: "null"
4517
+ },
4518
+ {
4519
+ type: "array",
4520
+ items: {
4521
+ $ref: "#/$defs/__schema0"
4522
+ }
4523
+ },
4524
+ {
4525
+ type: "object",
4526
+ propertyNames: {
4527
+ type: "string"
4528
+ },
4529
+ additionalProperties: {
4530
+ $ref: "#/$defs/__schema0"
4531
+ }
4532
+ }
4533
+ ]
4534
+ },
4535
+ __schema1: {
4536
+ anyOf: [
4537
+ {
4538
+ type: "string"
4539
+ },
4540
+ {
4541
+ type: "number"
4542
+ },
4543
+ {
4544
+ type: "boolean"
4545
+ },
4546
+ {
4547
+ type: "null"
4548
+ },
4549
+ {
4550
+ type: "array",
4551
+ items: {
4552
+ $ref: "#/$defs/__schema1"
4553
+ }
4554
+ },
4555
+ {
4556
+ type: "object",
4557
+ propertyNames: {
4558
+ type: "string"
4559
+ },
4560
+ additionalProperties: {
4561
+ $ref: "#/$defs/__schema1"
4562
+ }
4563
+ }
4564
+ ]
4565
+ }
3510
4566
  }
3511
4567
  },
3512
4568
  vecdb: {