@proteos/sdk 0.85.0 → 0.87.0
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/{chunk-Z773P4RO.cjs → chunk-4BBHU3XA.cjs} +36 -86
- package/dist/chunk-4BBHU3XA.cjs.map +1 -0
- package/dist/{chunk-C5642XOH.js → chunk-KX4VIMIJ.js} +36 -86
- package/dist/chunk-KX4VIMIJ.js.map +1 -0
- package/dist/index.cjs +310 -177
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +489 -39
- package/dist/index.d.ts +489 -39
- package/dist/index.js +188 -56
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +96 -96
- package/dist/meta/index.d.cts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/dist/meta/index.js +1 -1
- package/dist/{types-CWj1h9l0.d.cts → types-D38dRFU7.d.cts} +7 -1
- package/dist/{types-CWj1h9l0.d.ts → types-D38dRFU7.d.ts} +7 -1
- package/package.json +1 -1
- package/src/agent/index.ts +28 -0
- package/src/agent/mcp-servers.ts +0 -1
- package/src/agent/model-types.ts +23 -1
- package/src/agent/models.ts +16 -3
- package/src/agent/prompts.ts +0 -1
- package/src/agent/session-types.ts +351 -12
- package/src/agent/sessions.ts +108 -1
- package/src/agent/skills.ts +4 -2
- package/src/agent/tools.ts +0 -1
- package/src/agent/toolsets.ts +17 -0
- package/src/agent/types.ts +34 -0
- package/src/auth/shares.ts +7 -2
- package/src/auth/types.ts +12 -0
- package/src/client.ts +1 -0
- package/src/connector/index.ts +26 -7
- package/src/conversation/index.ts +8 -3
- package/src/conversation/types.ts +15 -0
- package/src/events/index.ts +8 -6
- package/src/index.ts +31 -1
- package/src/knowledge/index.ts +4 -5
- package/src/knowledge/spaces.ts +14 -0
- package/src/knowledge/types.ts +13 -0
- package/src/meta/index.ts +7 -7
- package/src/meta/layout/control-registry.json +24 -82
- package/src/meta/list-extensions.ts +1 -3
- package/src/meta/page-extensions.ts +2 -4
- package/src/meta/types.ts +10 -2
- package/src/scheduling/index.ts +105 -24
- package/src/storage/files.ts +1 -4
- package/src/types/options.ts +6 -0
- package/src/workflow/types.ts +2 -2
- package/dist/chunk-C5642XOH.js.map +0 -1
- package/dist/chunk-Z773P4RO.cjs.map +0 -1
|
@@ -879,97 +879,61 @@ var control_registry_default = {
|
|
|
879
879
|
controls: {
|
|
880
880
|
string: {
|
|
881
881
|
primary: "text",
|
|
882
|
-
compatible: [
|
|
883
|
-
"text",
|
|
884
|
-
"textarea",
|
|
885
|
-
"password",
|
|
886
|
-
"record-filter"
|
|
887
|
-
],
|
|
882
|
+
compatible: ["text", "textarea", "password", "record-filter"],
|
|
888
883
|
byFormat: {
|
|
889
884
|
email: {
|
|
890
885
|
primary: "email",
|
|
891
|
-
compatible: [
|
|
892
|
-
"email",
|
|
893
|
-
"text"
|
|
894
|
-
]
|
|
886
|
+
compatible: ["email", "text"]
|
|
895
887
|
},
|
|
896
888
|
uri: {
|
|
897
889
|
primary: "url",
|
|
898
|
-
compatible: [
|
|
899
|
-
"url",
|
|
900
|
-
"text"
|
|
901
|
-
]
|
|
890
|
+
compatible: ["url", "text"]
|
|
902
891
|
},
|
|
903
892
|
uuid: {
|
|
904
893
|
primary: "text",
|
|
905
|
-
compatible: [
|
|
906
|
-
"text"
|
|
907
|
-
]
|
|
894
|
+
compatible: ["text"]
|
|
908
895
|
},
|
|
909
896
|
hostname: {
|
|
910
897
|
primary: "text",
|
|
911
|
-
compatible: [
|
|
912
|
-
"text"
|
|
913
|
-
]
|
|
898
|
+
compatible: ["text"]
|
|
914
899
|
},
|
|
915
900
|
ipv4: {
|
|
916
901
|
primary: "text",
|
|
917
|
-
compatible: [
|
|
918
|
-
"text"
|
|
919
|
-
]
|
|
902
|
+
compatible: ["text"]
|
|
920
903
|
},
|
|
921
904
|
ipv6: {
|
|
922
905
|
primary: "text",
|
|
923
|
-
compatible: [
|
|
924
|
-
"text"
|
|
925
|
-
]
|
|
906
|
+
compatible: ["text"]
|
|
926
907
|
}
|
|
927
908
|
}
|
|
928
909
|
},
|
|
929
910
|
number: {
|
|
930
911
|
primary: "number",
|
|
931
|
-
compatible: [
|
|
932
|
-
"number"
|
|
933
|
-
]
|
|
912
|
+
compatible: ["number"]
|
|
934
913
|
},
|
|
935
914
|
integer: {
|
|
936
915
|
primary: "number",
|
|
937
|
-
compatible: [
|
|
938
|
-
"number"
|
|
939
|
-
]
|
|
916
|
+
compatible: ["number"]
|
|
940
917
|
},
|
|
941
918
|
boolean: {
|
|
942
919
|
primary: "switch",
|
|
943
|
-
compatible: [
|
|
944
|
-
"switch",
|
|
945
|
-
"checkbox"
|
|
946
|
-
]
|
|
920
|
+
compatible: ["switch", "checkbox"]
|
|
947
921
|
},
|
|
948
922
|
enum: {
|
|
949
923
|
primary: "select",
|
|
950
|
-
compatible: [
|
|
951
|
-
"select",
|
|
952
|
-
"radio-group",
|
|
953
|
-
"chip-group"
|
|
954
|
-
]
|
|
924
|
+
compatible: ["select", "radio-group", "chip-group"]
|
|
955
925
|
},
|
|
956
926
|
array: {
|
|
957
927
|
primary: "tag-input",
|
|
958
|
-
compatible: [
|
|
959
|
-
"tag-input"
|
|
960
|
-
],
|
|
928
|
+
compatible: ["tag-input"],
|
|
961
929
|
byItemsType: {
|
|
962
930
|
string: {
|
|
963
931
|
primary: "tag-input",
|
|
964
|
-
compatible: [
|
|
965
|
-
"tag-input"
|
|
966
|
-
]
|
|
932
|
+
compatible: ["tag-input"]
|
|
967
933
|
},
|
|
968
934
|
enum: {
|
|
969
935
|
primary: "multi-select",
|
|
970
|
-
compatible: [
|
|
971
|
-
"multi-select"
|
|
972
|
-
]
|
|
936
|
+
compatible: ["multi-select"]
|
|
973
937
|
}
|
|
974
938
|
}
|
|
975
939
|
},
|
|
@@ -979,21 +943,15 @@ var control_registry_default = {
|
|
|
979
943
|
byFormat: {
|
|
980
944
|
date: {
|
|
981
945
|
primary: "date-picker",
|
|
982
|
-
compatible: [
|
|
983
|
-
"date-picker"
|
|
984
|
-
]
|
|
946
|
+
compatible: ["date-picker"]
|
|
985
947
|
},
|
|
986
948
|
"date-time": {
|
|
987
949
|
primary: "datetime-picker",
|
|
988
|
-
compatible: [
|
|
989
|
-
"datetime-picker"
|
|
990
|
-
]
|
|
950
|
+
compatible: ["datetime-picker"]
|
|
991
951
|
},
|
|
992
952
|
time: {
|
|
993
953
|
primary: "time-picker",
|
|
994
|
-
compatible: [
|
|
995
|
-
"time-picker"
|
|
996
|
-
]
|
|
954
|
+
compatible: ["time-picker"]
|
|
997
955
|
},
|
|
998
956
|
duration: {
|
|
999
957
|
primary: null,
|
|
@@ -1007,47 +965,31 @@ var control_registry_default = {
|
|
|
1007
965
|
},
|
|
1008
966
|
relation: {
|
|
1009
967
|
primary: "entity-picker",
|
|
1010
|
-
compatible: [
|
|
1011
|
-
"entity-picker"
|
|
1012
|
-
]
|
|
968
|
+
compatible: ["entity-picker"]
|
|
1013
969
|
},
|
|
1014
970
|
user: {
|
|
1015
971
|
primary: "user-picker",
|
|
1016
|
-
compatible: [
|
|
1017
|
-
"user-picker"
|
|
1018
|
-
]
|
|
972
|
+
compatible: ["user-picker"]
|
|
1019
973
|
},
|
|
1020
974
|
currency: {
|
|
1021
975
|
primary: "currency",
|
|
1022
|
-
compatible: [
|
|
1023
|
-
"currency"
|
|
1024
|
-
]
|
|
976
|
+
compatible: ["currency"]
|
|
1025
977
|
},
|
|
1026
978
|
"contact-address": {
|
|
1027
979
|
primary: "contact-address",
|
|
1028
|
-
compatible: [
|
|
1029
|
-
"contact-address",
|
|
1030
|
-
"text"
|
|
1031
|
-
]
|
|
980
|
+
compatible: ["contact-address", "text"]
|
|
1032
981
|
},
|
|
1033
982
|
"knowledge-text": {
|
|
1034
983
|
primary: "knowledge-text",
|
|
1035
|
-
compatible: [
|
|
1036
|
-
"knowledge-text"
|
|
1037
|
-
]
|
|
984
|
+
compatible: ["knowledge-text"]
|
|
1038
985
|
},
|
|
1039
986
|
file: {
|
|
1040
987
|
primary: "file",
|
|
1041
|
-
compatible: [
|
|
1042
|
-
"file",
|
|
1043
|
-
"file-viewer"
|
|
1044
|
-
]
|
|
988
|
+
compatible: ["file", "file-viewer"]
|
|
1045
989
|
},
|
|
1046
990
|
principal: {
|
|
1047
991
|
primary: "principal-picker",
|
|
1048
|
-
compatible: [
|
|
1049
|
-
"principal-picker"
|
|
1050
|
-
]
|
|
992
|
+
compatible: ["principal-picker"]
|
|
1051
993
|
}
|
|
1052
994
|
}
|
|
1053
995
|
};
|
|
@@ -1839,8 +1781,16 @@ var AppHomeSchema = zod.z.object({
|
|
|
1839
1781
|
type: zod.z.enum(["list", "page"]),
|
|
1840
1782
|
reference: zod.z.string()
|
|
1841
1783
|
});
|
|
1842
|
-
var RecordPageBindingSchema = zod.z.object({
|
|
1843
|
-
|
|
1784
|
+
var RecordPageBindingSchema = zod.z.object({
|
|
1785
|
+
view: zod.z.string().optional(),
|
|
1786
|
+
create: zod.z.string().optional(),
|
|
1787
|
+
edit: zod.z.string().optional()
|
|
1788
|
+
}).strict();
|
|
1789
|
+
var TriggerPageBindingSchema = zod.z.object({
|
|
1790
|
+
input: zod.z.string().optional(),
|
|
1791
|
+
running: zod.z.string().optional(),
|
|
1792
|
+
result: zod.z.string().optional()
|
|
1793
|
+
}).strict();
|
|
1844
1794
|
var AppConfigurationSchema = AuditFieldsSchema.extend({
|
|
1845
1795
|
slug: zod.z.string(),
|
|
1846
1796
|
org_id: zod.z.string(),
|
|
@@ -2082,5 +2032,5 @@ exports.parseRelationMeta = parseRelationMeta;
|
|
|
2082
2032
|
exports.parseUserMeta = parseUserMeta;
|
|
2083
2033
|
exports.platformAttributes = platformAttributes;
|
|
2084
2034
|
exports.titleTemplateVariables = titleTemplateVariables;
|
|
2085
|
-
//# sourceMappingURL=chunk-
|
|
2086
|
-
//# sourceMappingURL=chunk-
|
|
2035
|
+
//# sourceMappingURL=chunk-4BBHU3XA.cjs.map
|
|
2036
|
+
//# sourceMappingURL=chunk-4BBHU3XA.cjs.map
|