skedyul 1.7.28 → 1.7.30
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/README.md +1 -0
- package/dist/.build-stamp +1 -1
- package/dist/cli/api/apps.d.ts +38 -0
- package/dist/cli/api/index.d.ts +5 -2
- package/dist/cli/api/index.js +64 -1
- package/dist/cli/api/playground.d.ts +92 -0
- package/dist/cli/commands/apps.d.ts +1 -0
- package/dist/cli/index.js +398 -2
- package/dist/config/types/entity.d.ts +41 -0
- package/dist/esm/index.mjs +475 -339
- package/dist/index.d.ts +2 -2
- package/dist/index.js +487 -339
- package/dist/schemas/agent-schema-v3.d.ts +3 -0
- package/dist/schemas/agent-schema-v3.js +56 -1
- package/dist/schemas/agent-schema-v3.mjs +56 -1
- package/dist/schemas/agent-schema.d.ts +248 -1
- package/dist/schemas/agent-schema.js +36 -1
- package/dist/schemas/agent-schema.mjs +36 -1
- package/dist/schemas/crm-schema.d.ts +16 -16
- package/dist/schemas.d.ts +282 -20
- package/dist/skills/index.d.ts +1 -1
- package/dist/skills/types.d.ts +176 -0
- package/dist/skills/types.js +57 -1
- package/dist/skills/types.mjs +53 -1
- package/package.json +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -55,9 +55,9 @@ export declare const FieldOwnerSchema: z.ZodEnum<{
|
|
|
55
55
|
}>;
|
|
56
56
|
export declare const FilterOperatorSchema: z.ZodEnum<{
|
|
57
57
|
in: "in";
|
|
58
|
+
eq: "eq";
|
|
58
59
|
endsWith: "endsWith";
|
|
59
60
|
startsWith: "startsWith";
|
|
60
|
-
eq: "eq";
|
|
61
61
|
neq: "neq";
|
|
62
62
|
gt: "gt";
|
|
63
63
|
gte: "gte";
|
|
@@ -203,8 +203,8 @@ export declare const AppFieldVisibilitySchema: z.ZodObject<{
|
|
|
203
203
|
}, z.core.$strip>;
|
|
204
204
|
export declare const FieldRequirementTypeSchema: z.ZodEnum<{
|
|
205
205
|
optional: "optional";
|
|
206
|
-
on_create: "on_create";
|
|
207
206
|
required: "required";
|
|
207
|
+
on_create: "on_create";
|
|
208
208
|
}>;
|
|
209
209
|
export declare const ModelFieldDefinitionSchema: z.ZodObject<{
|
|
210
210
|
handle: z.ZodString;
|
|
@@ -238,8 +238,8 @@ export declare const ModelFieldDefinitionSchema: z.ZodObject<{
|
|
|
238
238
|
}, z.core.$strip>, z.ZodString]>>;
|
|
239
239
|
requirement: z.ZodOptional<z.ZodEnum<{
|
|
240
240
|
optional: "optional";
|
|
241
|
-
on_create: "on_create";
|
|
242
241
|
required: "required";
|
|
242
|
+
on_create: "on_create";
|
|
243
243
|
}>>;
|
|
244
244
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
245
245
|
unique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -297,8 +297,8 @@ export declare const ModelDefinitionSchema: z.ZodObject<{
|
|
|
297
297
|
}, z.core.$strip>, z.ZodString]>>;
|
|
298
298
|
requirement: z.ZodOptional<z.ZodEnum<{
|
|
299
299
|
optional: "optional";
|
|
300
|
-
on_create: "on_create";
|
|
301
300
|
required: "required";
|
|
301
|
+
on_create: "on_create";
|
|
302
302
|
}>>;
|
|
303
303
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
304
304
|
unique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -376,8 +376,8 @@ export declare const EntityFieldDefinitionSchema: z.ZodObject<{
|
|
|
376
376
|
number: "number";
|
|
377
377
|
boolean: "boolean";
|
|
378
378
|
object: "object";
|
|
379
|
-
long_string: "long_string";
|
|
380
379
|
date: "date";
|
|
380
|
+
long_string: "long_string";
|
|
381
381
|
datetime: "datetime";
|
|
382
382
|
}>>;
|
|
383
383
|
isUnique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -404,6 +404,28 @@ export declare const EntityCrmMapDefaultsSchema: z.ZodObject<{
|
|
|
404
404
|
relationshipHandles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
405
405
|
valueAliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
406
406
|
}, z.core.$strip>;
|
|
407
|
+
export declare const EntityRuntimeToolsSchema: z.ZodObject<{
|
|
408
|
+
calendarWindowPull: z.ZodOptional<z.ZodString>;
|
|
409
|
+
}, z.core.$strip>;
|
|
410
|
+
export declare const EntitySaveInteractionSchema: z.ZodObject<{
|
|
411
|
+
handle: z.ZodString;
|
|
412
|
+
when: z.ZodObject<{
|
|
413
|
+
onCreate: z.ZodOptional<z.ZodBoolean>;
|
|
414
|
+
onUpdate: z.ZodOptional<z.ZodBoolean>;
|
|
415
|
+
fieldsChanged: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
416
|
+
relationshipsChanged: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
417
|
+
}, z.core.$strip>;
|
|
418
|
+
dialog: z.ZodObject<{
|
|
419
|
+
title: z.ZodString;
|
|
420
|
+
message: z.ZodString;
|
|
421
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
422
|
+
warning: "warning";
|
|
423
|
+
info: "info";
|
|
424
|
+
}>>;
|
|
425
|
+
fields: z.ZodArray<z.ZodString>;
|
|
426
|
+
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
427
|
+
}, z.core.$strip>;
|
|
428
|
+
}, z.core.$strip>;
|
|
407
429
|
export declare const EntityDefinitionSchema: z.ZodObject<{
|
|
408
430
|
handle: z.ZodString;
|
|
409
431
|
label: z.ZodString;
|
|
@@ -418,8 +440,8 @@ export declare const EntityDefinitionSchema: z.ZodObject<{
|
|
|
418
440
|
number: "number";
|
|
419
441
|
boolean: "boolean";
|
|
420
442
|
object: "object";
|
|
421
|
-
long_string: "long_string";
|
|
422
443
|
date: "date";
|
|
444
|
+
long_string: "long_string";
|
|
423
445
|
datetime: "datetime";
|
|
424
446
|
}>>;
|
|
425
447
|
isUnique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -440,8 +462,8 @@ export declare const EntityDefinitionSchema: z.ZodObject<{
|
|
|
440
462
|
number: "number";
|
|
441
463
|
boolean: "boolean";
|
|
442
464
|
object: "object";
|
|
443
|
-
long_string: "long_string";
|
|
444
465
|
date: "date";
|
|
466
|
+
long_string: "long_string";
|
|
445
467
|
datetime: "datetime";
|
|
446
468
|
}>>;
|
|
447
469
|
isUnique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -467,6 +489,28 @@ export declare const EntityDefinitionSchema: z.ZodObject<{
|
|
|
467
489
|
relationshipHandles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
468
490
|
valueAliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
469
491
|
}, z.core.$strip>>;
|
|
492
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
493
|
+
calendarWindowPull: z.ZodOptional<z.ZodString>;
|
|
494
|
+
}, z.core.$strip>>;
|
|
495
|
+
saveInteractions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
496
|
+
handle: z.ZodString;
|
|
497
|
+
when: z.ZodObject<{
|
|
498
|
+
onCreate: z.ZodOptional<z.ZodBoolean>;
|
|
499
|
+
onUpdate: z.ZodOptional<z.ZodBoolean>;
|
|
500
|
+
fieldsChanged: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
501
|
+
relationshipsChanged: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
502
|
+
}, z.core.$strip>;
|
|
503
|
+
dialog: z.ZodObject<{
|
|
504
|
+
title: z.ZodString;
|
|
505
|
+
message: z.ZodString;
|
|
506
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
507
|
+
warning: "warning";
|
|
508
|
+
info: "info";
|
|
509
|
+
}>>;
|
|
510
|
+
fields: z.ZodArray<z.ZodString>;
|
|
511
|
+
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
512
|
+
}, z.core.$strip>;
|
|
513
|
+
}, z.core.$strip>>>;
|
|
470
514
|
}, z.core.$strip>;
|
|
471
515
|
export declare const RelationshipCardinalitySchema: z.ZodEnum<{
|
|
472
516
|
ONE_TO_ONE: "ONE_TO_ONE";
|
|
@@ -713,11 +757,11 @@ export declare const PageTypeSchema: z.ZodEnum<{
|
|
|
713
757
|
}>;
|
|
714
758
|
export declare const PageBlockTypeSchema: z.ZodEnum<{
|
|
715
759
|
list: "list";
|
|
760
|
+
link: "link";
|
|
716
761
|
spreadsheet: "spreadsheet";
|
|
717
762
|
form: "form";
|
|
718
763
|
card: "card";
|
|
719
764
|
kanban: "kanban";
|
|
720
|
-
link: "link";
|
|
721
765
|
calendar: "calendar";
|
|
722
766
|
}>;
|
|
723
767
|
export declare const PageFieldTypeSchema: z.ZodEnum<{
|
|
@@ -2203,10 +2247,10 @@ export declare const PageFieldDefinitionSchema: z.ZodType<PageFieldDefinition>;
|
|
|
2203
2247
|
/** Legacy form block definition */
|
|
2204
2248
|
export declare const LegacyFormBlockDefinitionSchema: z.ZodObject<{
|
|
2205
2249
|
type: z.ZodEnum<{
|
|
2250
|
+
link: "link";
|
|
2206
2251
|
spreadsheet: "spreadsheet";
|
|
2207
2252
|
form: "form";
|
|
2208
2253
|
kanban: "kanban";
|
|
2209
|
-
link: "link";
|
|
2210
2254
|
calendar: "calendar";
|
|
2211
2255
|
}>;
|
|
2212
2256
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2604,10 +2648,10 @@ export declare const PageBlockDefinitionSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
2604
2648
|
}, z.core.$strip>>>;
|
|
2605
2649
|
}, z.core.$strip>, z.ZodObject<{
|
|
2606
2650
|
type: z.ZodEnum<{
|
|
2651
|
+
link: "link";
|
|
2607
2652
|
spreadsheet: "spreadsheet";
|
|
2608
2653
|
form: "form";
|
|
2609
2654
|
kanban: "kanban";
|
|
2610
|
-
link: "link";
|
|
2611
2655
|
calendar: "calendar";
|
|
2612
2656
|
}>;
|
|
2613
2657
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3151,10 +3195,10 @@ export declare const PageDefinitionSchema: z.ZodObject<{
|
|
|
3151
3195
|
}, z.core.$strip>>>;
|
|
3152
3196
|
}, z.core.$strip>, z.ZodObject<{
|
|
3153
3197
|
type: z.ZodEnum<{
|
|
3198
|
+
link: "link";
|
|
3154
3199
|
spreadsheet: "spreadsheet";
|
|
3155
3200
|
form: "form";
|
|
3156
3201
|
kanban: "kanban";
|
|
3157
|
-
link: "link";
|
|
3158
3202
|
calendar: "calendar";
|
|
3159
3203
|
}>;
|
|
3160
3204
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3311,8 +3355,8 @@ export declare const InstallConfigSchema: z.ZodObject<{
|
|
|
3311
3355
|
}, z.core.$strip>, z.ZodString]>>;
|
|
3312
3356
|
requirement: z.ZodOptional<z.ZodEnum<{
|
|
3313
3357
|
optional: "optional";
|
|
3314
|
-
on_create: "on_create";
|
|
3315
3358
|
required: "required";
|
|
3359
|
+
on_create: "on_create";
|
|
3316
3360
|
}>>;
|
|
3317
3361
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
3318
3362
|
unique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3483,6 +3527,52 @@ export declare const BatchOperationDefinitionSchema: z.ZodObject<{
|
|
|
3483
3527
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
3484
3528
|
icon: z.ZodOptional<z.ZodString>;
|
|
3485
3529
|
}, z.core.$strip>;
|
|
3530
|
+
/**
|
|
3531
|
+
* Skill definition for app provisioning.
|
|
3532
|
+
* Skills are capabilities that agents can use, with entity policies
|
|
3533
|
+
* defining which CRM operations the skill needs access to.
|
|
3534
|
+
*/
|
|
3535
|
+
export declare const ProvisionSkillDefinitionSchema: z.ZodObject<{
|
|
3536
|
+
handle: z.ZodString;
|
|
3537
|
+
name: z.ZodString;
|
|
3538
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3539
|
+
instructions: z.ZodString;
|
|
3540
|
+
entityPolicies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodEnum<{
|
|
3541
|
+
get: "get";
|
|
3542
|
+
list: "list";
|
|
3543
|
+
update: "update";
|
|
3544
|
+
create: "create";
|
|
3545
|
+
delete: "delete";
|
|
3546
|
+
}>>>>;
|
|
3547
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3548
|
+
tool: z.ZodString;
|
|
3549
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3550
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3551
|
+
sandbox: z.ZodOptional<z.ZodObject<{
|
|
3552
|
+
mock: z.ZodOptional<z.ZodUnknown>;
|
|
3553
|
+
}, z.core.$strip>>;
|
|
3554
|
+
requiresApproval: z.ZodOptional<z.ZodBoolean>;
|
|
3555
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
3556
|
+
maxCallsPerRun: z.ZodOptional<z.ZodNumber>;
|
|
3557
|
+
idempotent: z.ZodOptional<z.ZodBoolean>;
|
|
3558
|
+
restricted: z.ZodOptional<z.ZodBoolean>;
|
|
3559
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3560
|
+
}, z.core.$strip>>;
|
|
3561
|
+
}, z.core.$strip>>>;
|
|
3562
|
+
crmContext: z.ZodOptional<z.ZodObject<{
|
|
3563
|
+
models: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3564
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3565
|
+
recommended: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3566
|
+
}, z.core.$strip>>;
|
|
3567
|
+
}, z.core.$strip>>;
|
|
3568
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3569
|
+
context: z.ZodOptional<z.ZodString>;
|
|
3570
|
+
input: z.ZodString;
|
|
3571
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
3572
|
+
output: z.ZodString;
|
|
3573
|
+
tool_call: z.ZodOptional<z.ZodString>;
|
|
3574
|
+
}, z.core.$strip>>>;
|
|
3575
|
+
}, z.core.$strip>;
|
|
3486
3576
|
export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
3487
3577
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3488
3578
|
label: z.ZodString;
|
|
@@ -3541,8 +3631,8 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
3541
3631
|
}, z.core.$strip>, z.ZodString]>>;
|
|
3542
3632
|
requirement: z.ZodOptional<z.ZodEnum<{
|
|
3543
3633
|
optional: "optional";
|
|
3544
|
-
on_create: "on_create";
|
|
3545
3634
|
required: "required";
|
|
3635
|
+
on_create: "on_create";
|
|
3546
3636
|
}>>;
|
|
3547
3637
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
3548
3638
|
unique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3625,8 +3715,8 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
3625
3715
|
number: "number";
|
|
3626
3716
|
boolean: "boolean";
|
|
3627
3717
|
object: "object";
|
|
3628
|
-
long_string: "long_string";
|
|
3629
3718
|
date: "date";
|
|
3719
|
+
long_string: "long_string";
|
|
3630
3720
|
datetime: "datetime";
|
|
3631
3721
|
}>>;
|
|
3632
3722
|
isUnique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3647,8 +3737,8 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
3647
3737
|
number: "number";
|
|
3648
3738
|
boolean: "boolean";
|
|
3649
3739
|
object: "object";
|
|
3650
|
-
long_string: "long_string";
|
|
3651
3740
|
date: "date";
|
|
3741
|
+
long_string: "long_string";
|
|
3652
3742
|
datetime: "datetime";
|
|
3653
3743
|
}>>;
|
|
3654
3744
|
isUnique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3674,6 +3764,28 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
3674
3764
|
relationshipHandles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3675
3765
|
valueAliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3676
3766
|
}, z.core.$strip>>;
|
|
3767
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
3768
|
+
calendarWindowPull: z.ZodOptional<z.ZodString>;
|
|
3769
|
+
}, z.core.$strip>>;
|
|
3770
|
+
saveInteractions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3771
|
+
handle: z.ZodString;
|
|
3772
|
+
when: z.ZodObject<{
|
|
3773
|
+
onCreate: z.ZodOptional<z.ZodBoolean>;
|
|
3774
|
+
onUpdate: z.ZodOptional<z.ZodBoolean>;
|
|
3775
|
+
fieldsChanged: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3776
|
+
relationshipsChanged: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3777
|
+
}, z.core.$strip>;
|
|
3778
|
+
dialog: z.ZodObject<{
|
|
3779
|
+
title: z.ZodString;
|
|
3780
|
+
message: z.ZodString;
|
|
3781
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
3782
|
+
warning: "warning";
|
|
3783
|
+
info: "info";
|
|
3784
|
+
}>>;
|
|
3785
|
+
fields: z.ZodArray<z.ZodString>;
|
|
3786
|
+
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3787
|
+
}, z.core.$strip>;
|
|
3788
|
+
}, z.core.$strip>>>;
|
|
3677
3789
|
}, z.core.$strip>>>;
|
|
3678
3790
|
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3679
3791
|
source: z.ZodObject<{
|
|
@@ -4247,10 +4359,10 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
4247
4359
|
}, z.core.$strip>>>;
|
|
4248
4360
|
}, z.core.$strip>, z.ZodObject<{
|
|
4249
4361
|
type: z.ZodEnum<{
|
|
4362
|
+
link: "link";
|
|
4250
4363
|
spreadsheet: "spreadsheet";
|
|
4251
4364
|
form: "form";
|
|
4252
4365
|
kanban: "kanban";
|
|
4253
|
-
link: "link";
|
|
4254
4366
|
calendar: "calendar";
|
|
4255
4367
|
}>;
|
|
4256
4368
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -4337,6 +4449,47 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
4337
4449
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
4338
4450
|
icon: z.ZodOptional<z.ZodString>;
|
|
4339
4451
|
}, z.core.$strip>>>;
|
|
4452
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4453
|
+
handle: z.ZodString;
|
|
4454
|
+
name: z.ZodString;
|
|
4455
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4456
|
+
instructions: z.ZodString;
|
|
4457
|
+
entityPolicies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodEnum<{
|
|
4458
|
+
get: "get";
|
|
4459
|
+
list: "list";
|
|
4460
|
+
update: "update";
|
|
4461
|
+
create: "create";
|
|
4462
|
+
delete: "delete";
|
|
4463
|
+
}>>>>;
|
|
4464
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4465
|
+
tool: z.ZodString;
|
|
4466
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4467
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4468
|
+
sandbox: z.ZodOptional<z.ZodObject<{
|
|
4469
|
+
mock: z.ZodOptional<z.ZodUnknown>;
|
|
4470
|
+
}, z.core.$strip>>;
|
|
4471
|
+
requiresApproval: z.ZodOptional<z.ZodBoolean>;
|
|
4472
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
4473
|
+
maxCallsPerRun: z.ZodOptional<z.ZodNumber>;
|
|
4474
|
+
idempotent: z.ZodOptional<z.ZodBoolean>;
|
|
4475
|
+
restricted: z.ZodOptional<z.ZodBoolean>;
|
|
4476
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4477
|
+
}, z.core.$strip>>;
|
|
4478
|
+
}, z.core.$strip>>>;
|
|
4479
|
+
crmContext: z.ZodOptional<z.ZodObject<{
|
|
4480
|
+
models: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4481
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4482
|
+
recommended: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4483
|
+
}, z.core.$strip>>;
|
|
4484
|
+
}, z.core.$strip>>;
|
|
4485
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4486
|
+
context: z.ZodOptional<z.ZodString>;
|
|
4487
|
+
input: z.ZodString;
|
|
4488
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
4489
|
+
output: z.ZodString;
|
|
4490
|
+
tool_call: z.ZodOptional<z.ZodString>;
|
|
4491
|
+
}, z.core.$strip>>>;
|
|
4492
|
+
}, z.core.$strip>>>;
|
|
4340
4493
|
}, z.core.$strip>;
|
|
4341
4494
|
export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
4342
4495
|
name: z.ZodString;
|
|
@@ -4406,8 +4559,8 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
4406
4559
|
}, z.core.$strip>, z.ZodString]>>;
|
|
4407
4560
|
requirement: z.ZodOptional<z.ZodEnum<{
|
|
4408
4561
|
optional: "optional";
|
|
4409
|
-
on_create: "on_create";
|
|
4410
4562
|
required: "required";
|
|
4563
|
+
on_create: "on_create";
|
|
4411
4564
|
}>>;
|
|
4412
4565
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
4413
4566
|
unique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4490,8 +4643,8 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
4490
4643
|
number: "number";
|
|
4491
4644
|
boolean: "boolean";
|
|
4492
4645
|
object: "object";
|
|
4493
|
-
long_string: "long_string";
|
|
4494
4646
|
date: "date";
|
|
4647
|
+
long_string: "long_string";
|
|
4495
4648
|
datetime: "datetime";
|
|
4496
4649
|
}>>;
|
|
4497
4650
|
isUnique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4512,8 +4665,8 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
4512
4665
|
number: "number";
|
|
4513
4666
|
boolean: "boolean";
|
|
4514
4667
|
object: "object";
|
|
4515
|
-
long_string: "long_string";
|
|
4516
4668
|
date: "date";
|
|
4669
|
+
long_string: "long_string";
|
|
4517
4670
|
datetime: "datetime";
|
|
4518
4671
|
}>>;
|
|
4519
4672
|
isUnique: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4539,6 +4692,28 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
4539
4692
|
relationshipHandles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4540
4693
|
valueAliases: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
4541
4694
|
}, z.core.$strip>>;
|
|
4695
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
4696
|
+
calendarWindowPull: z.ZodOptional<z.ZodString>;
|
|
4697
|
+
}, z.core.$strip>>;
|
|
4698
|
+
saveInteractions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4699
|
+
handle: z.ZodString;
|
|
4700
|
+
when: z.ZodObject<{
|
|
4701
|
+
onCreate: z.ZodOptional<z.ZodBoolean>;
|
|
4702
|
+
onUpdate: z.ZodOptional<z.ZodBoolean>;
|
|
4703
|
+
fieldsChanged: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4704
|
+
relationshipsChanged: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4705
|
+
}, z.core.$strip>;
|
|
4706
|
+
dialog: z.ZodObject<{
|
|
4707
|
+
title: z.ZodString;
|
|
4708
|
+
message: z.ZodString;
|
|
4709
|
+
severity: z.ZodOptional<z.ZodEnum<{
|
|
4710
|
+
warning: "warning";
|
|
4711
|
+
info: "info";
|
|
4712
|
+
}>>;
|
|
4713
|
+
fields: z.ZodArray<z.ZodString>;
|
|
4714
|
+
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4715
|
+
}, z.core.$strip>;
|
|
4716
|
+
}, z.core.$strip>>>;
|
|
4542
4717
|
}, z.core.$strip>>>;
|
|
4543
4718
|
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4544
4719
|
source: z.ZodObject<{
|
|
@@ -5112,10 +5287,10 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
5112
5287
|
}, z.core.$strip>>>;
|
|
5113
5288
|
}, z.core.$strip>, z.ZodObject<{
|
|
5114
5289
|
type: z.ZodEnum<{
|
|
5290
|
+
link: "link";
|
|
5115
5291
|
spreadsheet: "spreadsheet";
|
|
5116
5292
|
form: "form";
|
|
5117
5293
|
kanban: "kanban";
|
|
5118
|
-
link: "link";
|
|
5119
5294
|
calendar: "calendar";
|
|
5120
5295
|
}>;
|
|
5121
5296
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -5202,6 +5377,47 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
5202
5377
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
5203
5378
|
icon: z.ZodOptional<z.ZodString>;
|
|
5204
5379
|
}, z.core.$strip>>>;
|
|
5380
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5381
|
+
handle: z.ZodString;
|
|
5382
|
+
name: z.ZodString;
|
|
5383
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5384
|
+
instructions: z.ZodString;
|
|
5385
|
+
entityPolicies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodEnum<{
|
|
5386
|
+
get: "get";
|
|
5387
|
+
list: "list";
|
|
5388
|
+
update: "update";
|
|
5389
|
+
create: "create";
|
|
5390
|
+
delete: "delete";
|
|
5391
|
+
}>>>>;
|
|
5392
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5393
|
+
tool: z.ZodString;
|
|
5394
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5395
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5396
|
+
sandbox: z.ZodOptional<z.ZodObject<{
|
|
5397
|
+
mock: z.ZodOptional<z.ZodUnknown>;
|
|
5398
|
+
}, z.core.$strip>>;
|
|
5399
|
+
requiresApproval: z.ZodOptional<z.ZodBoolean>;
|
|
5400
|
+
constraints: z.ZodOptional<z.ZodObject<{
|
|
5401
|
+
maxCallsPerRun: z.ZodOptional<z.ZodNumber>;
|
|
5402
|
+
idempotent: z.ZodOptional<z.ZodBoolean>;
|
|
5403
|
+
restricted: z.ZodOptional<z.ZodBoolean>;
|
|
5404
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5405
|
+
}, z.core.$strip>>;
|
|
5406
|
+
}, z.core.$strip>>>;
|
|
5407
|
+
crmContext: z.ZodOptional<z.ZodObject<{
|
|
5408
|
+
models: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5409
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5410
|
+
recommended: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5411
|
+
}, z.core.$strip>>;
|
|
5412
|
+
}, z.core.$strip>>;
|
|
5413
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5414
|
+
context: z.ZodOptional<z.ZodString>;
|
|
5415
|
+
input: z.ZodString;
|
|
5416
|
+
reasoning: z.ZodOptional<z.ZodString>;
|
|
5417
|
+
output: z.ZodString;
|
|
5418
|
+
tool_call: z.ZodOptional<z.ZodString>;
|
|
5419
|
+
}, z.core.$strip>>>;
|
|
5420
|
+
}, z.core.$strip>>>;
|
|
5205
5421
|
}, z.core.$strip>, z.ZodUnknown]>>;
|
|
5206
5422
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5207
5423
|
handle: z.ZodString;
|
|
@@ -5253,6 +5469,8 @@ export type ModelDefinition = z.infer<typeof ModelDefinitionSchema>;
|
|
|
5253
5469
|
export type EntityFieldDefinition = z.infer<typeof EntityFieldDefinitionSchema>;
|
|
5254
5470
|
export type EntityRelationshipDefinition = z.infer<typeof EntityRelationshipDefinitionSchema>;
|
|
5255
5471
|
export type EntityCrmMapDefaults = z.infer<typeof EntityCrmMapDefaultsSchema>;
|
|
5472
|
+
export type EntityRuntimeTools = z.infer<typeof EntityRuntimeToolsSchema>;
|
|
5473
|
+
export type EntitySaveInteraction = z.infer<typeof EntitySaveInteractionSchema>;
|
|
5256
5474
|
export type EntityDefinition = z.infer<typeof EntityDefinitionSchema>;
|
|
5257
5475
|
export type ChannelCapabilityType = z.infer<typeof ChannelCapabilityTypeSchema>;
|
|
5258
5476
|
export type ChannelCapability = z.infer<typeof ChannelCapabilitySchema>;
|
|
@@ -5264,6 +5482,7 @@ export type WebhookHandlerDefinition = z.infer<typeof WebhookHandlerDefinitionSc
|
|
|
5264
5482
|
export type Webhooks = z.infer<typeof WebhooksSchema>;
|
|
5265
5483
|
export type InstallConfig = z.infer<typeof InstallConfigSchema>;
|
|
5266
5484
|
export type ProvisionConfig = z.infer<typeof ProvisionConfigSchema>;
|
|
5485
|
+
export type ProvisionSkillDefinition = z.infer<typeof ProvisionSkillDefinitionSchema>;
|
|
5267
5486
|
export type SetupStepKind = z.infer<typeof SetupStepKindSchema>;
|
|
5268
5487
|
export type SetupStepDefinition = z.infer<typeof SetupStepDefinitionSchema>;
|
|
5269
5488
|
export type BatchPagination = z.infer<typeof BatchPaginationSchema>;
|
|
@@ -5368,6 +5587,49 @@ export type MessageSendAttachment = z.infer<typeof MessageSendAttachmentSchema>;
|
|
|
5368
5587
|
export type MessageSendMessage = z.infer<typeof MessageSendMessageSchema>;
|
|
5369
5588
|
export type MessageSendInput = z.infer<typeof MessageSendInputSchema>;
|
|
5370
5589
|
export type MessageSendOutput = z.infer<typeof MessageSendOutputSchema>;
|
|
5590
|
+
export declare const CalendarWindowPullWindowSchema: z.ZodObject<{
|
|
5591
|
+
startAt: z.ZodString;
|
|
5592
|
+
endAt: z.ZodString;
|
|
5593
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5594
|
+
}, z.core.$strip>;
|
|
5595
|
+
export declare const CalendarWindowPullModelSchema: z.ZodObject<{
|
|
5596
|
+
id: z.ZodString;
|
|
5597
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
5598
|
+
}, z.core.$strip>;
|
|
5599
|
+
export declare const CalendarWindowPullEntitySchema: z.ZodObject<{
|
|
5600
|
+
handle: z.ZodString;
|
|
5601
|
+
}, z.core.$strip>;
|
|
5602
|
+
export declare const CalendarWindowPullCalendarsSchema: z.ZodObject<{
|
|
5603
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5604
|
+
}, z.core.$strip>;
|
|
5605
|
+
export declare const CalendarWindowPullInputSchema: z.ZodObject<{
|
|
5606
|
+
window: z.ZodObject<{
|
|
5607
|
+
startAt: z.ZodString;
|
|
5608
|
+
endAt: z.ZodString;
|
|
5609
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5610
|
+
}, z.core.$strip>;
|
|
5611
|
+
model: z.ZodOptional<z.ZodObject<{
|
|
5612
|
+
id: z.ZodString;
|
|
5613
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
5614
|
+
}, z.core.$strip>>;
|
|
5615
|
+
entity: z.ZodOptional<z.ZodObject<{
|
|
5616
|
+
handle: z.ZodString;
|
|
5617
|
+
}, z.core.$strip>>;
|
|
5618
|
+
calendars: z.ZodOptional<z.ZodObject<{
|
|
5619
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5620
|
+
}, z.core.$strip>>;
|
|
5621
|
+
}, z.core.$strip>;
|
|
5622
|
+
export declare const CalendarWindowPullOutputSchema: z.ZodObject<{
|
|
5623
|
+
calendarsUpserted: z.ZodNumber;
|
|
5624
|
+
eventsUpserted: z.ZodNumber;
|
|
5625
|
+
truncated: z.ZodBoolean;
|
|
5626
|
+
}, z.core.$strip>;
|
|
5627
|
+
export type CalendarWindowPullWindow = z.infer<typeof CalendarWindowPullWindowSchema>;
|
|
5628
|
+
export type CalendarWindowPullModel = z.infer<typeof CalendarWindowPullModelSchema>;
|
|
5629
|
+
export type CalendarWindowPullEntity = z.infer<typeof CalendarWindowPullEntitySchema>;
|
|
5630
|
+
export type CalendarWindowPullCalendars = z.infer<typeof CalendarWindowPullCalendarsSchema>;
|
|
5631
|
+
export type CalendarWindowPullInput = z.infer<typeof CalendarWindowPullInputSchema>;
|
|
5632
|
+
export type CalendarWindowPullOutput = z.infer<typeof CalendarWindowPullOutputSchema>;
|
|
5371
5633
|
export declare const MessageBulkRecipientSchema: z.ZodObject<{
|
|
5372
5634
|
address: z.ZodString;
|
|
5373
5635
|
renderedBody: z.ZodString;
|
package/dist/skills/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SKILL_SCHEMA_VERSION, SkillSourceSchema, SkillToolRequirementSchema, SkillExampleSchema, SkillYAMLSchema, SkillRefSchema, SkillVersionWeightSchema, SkillMetadataSchema, ResolvedSkillSchema, CRMModelFieldRequirementsSchema, CRMContextSchema as SkillCRMContextSchema, type SkillSource, type SkillToolRequirement, type SkillExample, type SkillYAML, type SkillRef, type SkillVersionWeight, type SkillMetadata, type ResolvedSkill, type SkillDiscoveryInfo, type CRMModelFieldRequirements, type CRMContext as SkillCRMContext, defineSkill, validateSkillYAML, formatSkillInstructions, formatSkillDiscovery, } from './types';
|
|
1
|
+
export { SKILL_SCHEMA_VERSION, SkillSourceSchema, SkillToolRequirementSchema, SkillExampleSchema, SkillYAMLSchema, SkillEvaluatorSchema, EvaluatorPreconditionsSchema, SkillRefSchema, SkillVersionWeightSchema, SkillMetadataSchema, ResolvedSkillSchema, CRMModelFieldRequirementsSchema, CRMContextSchema as SkillCRMContextSchema, EntityOperationSchema, EntityPoliciesSchema, type SkillSource, type SkillToolRequirement, type SkillExample, type SkillYAML, type SkillEvaluator, type EvaluatorPreconditions, type SkillRef, type SkillVersionWeight, type SkillMetadata, type ResolvedSkill, type SkillDiscoveryInfo, type CRMModelFieldRequirements, type CRMContext as SkillCRMContext, type EntityOperation, type EntityPolicies, defineSkill, validateSkillYAML, formatSkillInstructions, formatSkillDiscovery, } from './types';
|