@imbue-ai/detent 1.15.0 → 1.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/schemas/generatedBuiltinSchemas.d.ts.map +1 -1
- package/dist/src/schemas/generatedBuiltinSchemas.js +147 -18
- package/dist/src/schemas/generatedBuiltinSchemas.js.map +1 -1
- package/dist/tests/builtinSchemas.test.js +164 -89
- package/dist/tests/builtinSchemas.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatedBuiltinSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/generatedBuiltinSchemas.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"generatedBuiltinSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/generatedBuiltinSchemas.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAk1Q5E,CAAC"}
|
|
@@ -6726,10 +6726,13 @@ export const generatedBuiltinSchemas = {
|
|
|
6726
6726
|
]
|
|
6727
6727
|
},
|
|
6728
6728
|
"slack-api": {
|
|
6729
|
-
"$comment": "Any interaction with the Slack API.",
|
|
6729
|
+
"$comment": "Any interaction with the Slack API, including downloading file content and thumbnails from Slack's file-storage host.",
|
|
6730
6730
|
"properties": {
|
|
6731
6731
|
"domain": {
|
|
6732
|
-
"
|
|
6732
|
+
"enum": [
|
|
6733
|
+
"slack.com",
|
|
6734
|
+
"files.slack.com"
|
|
6735
|
+
]
|
|
6733
6736
|
}
|
|
6734
6737
|
},
|
|
6735
6738
|
"required": [
|
|
@@ -6737,254 +6740,380 @@ export const generatedBuiltinSchemas = {
|
|
|
6737
6740
|
]
|
|
6738
6741
|
},
|
|
6739
6742
|
"slack-read-all": {
|
|
6740
|
-
"$comment": "All read operations across the entire Slack API, including messages, users, files, reactions, search, pins, bookmarks, reminders, thread subscriptions, and
|
|
6741
|
-
"
|
|
6742
|
-
|
|
6743
|
-
"type": "
|
|
6744
|
-
"
|
|
6743
|
+
"$comment": "All read operations across the entire Slack API, including messages, users, files, reactions, search, pins, bookmarks, reminders, thread subscriptions, unread counts, and downloading file content and thumbnails.",
|
|
6744
|
+
"anyOf": [
|
|
6745
|
+
{
|
|
6746
|
+
"type": "object",
|
|
6747
|
+
"properties": {
|
|
6748
|
+
"domain": {
|
|
6749
|
+
"const": "slack.com"
|
|
6750
|
+
},
|
|
6751
|
+
"path": {
|
|
6752
|
+
"type": "string",
|
|
6753
|
+
"pattern": "^/api/(auth\\.(test|teams\\.list)|chat\\.(getPermalink|scheduledMessages\\.list)|conversations\\.(history|info|list|listConnectInvites|members|replies|requestSharedInvite\\.list)|users\\.(conversations|getPresence|identity|info|list|lookupByEmail|profile\\.get)|files\\.(info|list|remote\\.(info|list))|reactions\\.(get|list)|search\\.(all|files|messages|modules\\.messages)|pins\\.list|bookmarks\\.list|reminders\\.(info|list)|client\\.counts|subscriptions\\.thread\\.getView|threads\\.getView)$"
|
|
6754
|
+
}
|
|
6755
|
+
},
|
|
6756
|
+
"required": [
|
|
6757
|
+
"domain",
|
|
6758
|
+
"path"
|
|
6759
|
+
]
|
|
6760
|
+
},
|
|
6761
|
+
{
|
|
6762
|
+
"type": "object",
|
|
6763
|
+
"properties": {
|
|
6764
|
+
"domain": {
|
|
6765
|
+
"const": "files.slack.com"
|
|
6766
|
+
},
|
|
6767
|
+
"path": {
|
|
6768
|
+
"type": "string",
|
|
6769
|
+
"pattern": "^/files-(pri|tmb)/[^/]+/(download/)?[^/]+$"
|
|
6770
|
+
}
|
|
6771
|
+
},
|
|
6772
|
+
"required": [
|
|
6773
|
+
"domain",
|
|
6774
|
+
"path"
|
|
6775
|
+
]
|
|
6745
6776
|
}
|
|
6746
|
-
},
|
|
6747
|
-
"required": [
|
|
6748
|
-
"path"
|
|
6749
6777
|
]
|
|
6750
6778
|
},
|
|
6751
6779
|
"slack-write-all": {
|
|
6752
6780
|
"$comment": "All write operations across the entire Slack API, including sending messages, managing conversations, updating profiles, uploading files, marking thread subscriptions, and modifying pins, bookmarks, and reminders.",
|
|
6753
6781
|
"properties": {
|
|
6782
|
+
"domain": {
|
|
6783
|
+
"const": "slack.com"
|
|
6784
|
+
},
|
|
6754
6785
|
"path": {
|
|
6755
6786
|
"type": "string",
|
|
6756
6787
|
"pattern": "^/api/(auth\\.revoke|chat\\.(appendStream|delete|deleteScheduledMessage|meMessage|postEphemeral|postMessage|scheduleMessage|startStream|stopStream|unfurl|update)|conversations\\.(acceptSharedInvite|approveSharedInvite|archive|canvasCreate|close|create|declineSharedInvite|externalInvitePermissions\\.set|invite|inviteShared|join|kick|leave|mark|open|rename|requestSharedInvite\\.(approve|deny)|setPurpose|setTopic|unarchive)|users\\.(setPresence|profile\\.set)|files\\.(completeUploadExternal|delete|getUploadURLExternal|remote\\.(add|remove|share|update)|revokePublicURL|sharedPublicURL)|reactions\\.(add|remove)|pins\\.(add|remove)|bookmarks\\.(add|edit|remove)|reminders\\.(add|complete|delete)|subscriptions\\.thread\\.mark)$"
|
|
6757
6788
|
}
|
|
6758
6789
|
},
|
|
6759
6790
|
"required": [
|
|
6791
|
+
"domain",
|
|
6760
6792
|
"path"
|
|
6761
6793
|
]
|
|
6762
6794
|
},
|
|
6763
6795
|
"slack-auth-read": {
|
|
6764
6796
|
"$comment": "Check authentication status and list teams.",
|
|
6765
6797
|
"properties": {
|
|
6798
|
+
"domain": {
|
|
6799
|
+
"const": "slack.com"
|
|
6800
|
+
},
|
|
6766
6801
|
"path": {
|
|
6767
6802
|
"type": "string",
|
|
6768
6803
|
"pattern": "^/api/auth\\.(test|teams\\.list)$"
|
|
6769
6804
|
}
|
|
6770
6805
|
},
|
|
6771
6806
|
"required": [
|
|
6807
|
+
"domain",
|
|
6772
6808
|
"path"
|
|
6773
6809
|
]
|
|
6774
6810
|
},
|
|
6775
6811
|
"slack-auth-write": {
|
|
6776
6812
|
"$comment": "Revoke authentication tokens.",
|
|
6777
6813
|
"properties": {
|
|
6814
|
+
"domain": {
|
|
6815
|
+
"const": "slack.com"
|
|
6816
|
+
},
|
|
6778
6817
|
"path": {
|
|
6779
6818
|
"type": "string",
|
|
6780
6819
|
"pattern": "^/api/auth\\.revoke$"
|
|
6781
6820
|
}
|
|
6782
6821
|
},
|
|
6783
6822
|
"required": [
|
|
6823
|
+
"domain",
|
|
6784
6824
|
"path"
|
|
6785
6825
|
]
|
|
6786
6826
|
},
|
|
6787
6827
|
"slack-chat-read": {
|
|
6788
6828
|
"$comment": "Get message permalinks and list scheduled messages.",
|
|
6789
6829
|
"properties": {
|
|
6830
|
+
"domain": {
|
|
6831
|
+
"const": "slack.com"
|
|
6832
|
+
},
|
|
6790
6833
|
"path": {
|
|
6791
6834
|
"type": "string",
|
|
6792
6835
|
"pattern": "^/api/chat\\.(getPermalink|scheduledMessages\\.list)$"
|
|
6793
6836
|
}
|
|
6794
6837
|
},
|
|
6795
6838
|
"required": [
|
|
6839
|
+
"domain",
|
|
6796
6840
|
"path"
|
|
6797
6841
|
]
|
|
6798
6842
|
},
|
|
6799
6843
|
"slack-chat-write": {
|
|
6800
6844
|
"$comment": "Send, update, delete, and schedule messages.",
|
|
6801
6845
|
"properties": {
|
|
6846
|
+
"domain": {
|
|
6847
|
+
"const": "slack.com"
|
|
6848
|
+
},
|
|
6802
6849
|
"path": {
|
|
6803
6850
|
"type": "string",
|
|
6804
6851
|
"pattern": "^/api/chat\\.(appendStream|delete|deleteScheduledMessage|meMessage|postEphemeral|postMessage|scheduleMessage|startStream|stopStream|unfurl|update)$"
|
|
6805
6852
|
}
|
|
6806
6853
|
},
|
|
6807
6854
|
"required": [
|
|
6855
|
+
"domain",
|
|
6808
6856
|
"path"
|
|
6809
6857
|
]
|
|
6810
6858
|
},
|
|
6811
6859
|
"slack-conversations-read": {
|
|
6812
6860
|
"$comment": "Read conversation history, details, members, and replies.",
|
|
6813
6861
|
"properties": {
|
|
6862
|
+
"domain": {
|
|
6863
|
+
"const": "slack.com"
|
|
6864
|
+
},
|
|
6814
6865
|
"path": {
|
|
6815
6866
|
"type": "string",
|
|
6816
6867
|
"pattern": "^/api/conversations\\.(history|info|list|listConnectInvites|members|replies|requestSharedInvite\\.list)$"
|
|
6817
6868
|
}
|
|
6818
6869
|
},
|
|
6819
6870
|
"required": [
|
|
6871
|
+
"domain",
|
|
6820
6872
|
"path"
|
|
6821
6873
|
]
|
|
6822
6874
|
},
|
|
6823
6875
|
"slack-conversations-write": {
|
|
6824
6876
|
"$comment": "Create, archive, rename, and manage conversations, including membership, invitations, topics, and purposes.",
|
|
6825
6877
|
"properties": {
|
|
6878
|
+
"domain": {
|
|
6879
|
+
"const": "slack.com"
|
|
6880
|
+
},
|
|
6826
6881
|
"path": {
|
|
6827
6882
|
"type": "string",
|
|
6828
6883
|
"pattern": "^/api/conversations\\.(acceptSharedInvite|approveSharedInvite|archive|canvasCreate|close|create|declineSharedInvite|externalInvitePermissions\\.set|invite|inviteShared|join|kick|leave|mark|open|rename|requestSharedInvite\\.(approve|deny)|setPurpose|setTopic|unarchive)$"
|
|
6829
6884
|
}
|
|
6830
6885
|
},
|
|
6831
6886
|
"required": [
|
|
6887
|
+
"domain",
|
|
6832
6888
|
"path"
|
|
6833
6889
|
]
|
|
6834
6890
|
},
|
|
6835
6891
|
"slack-users-read": {
|
|
6836
6892
|
"$comment": "Read user profiles, presence, identity, and look up users by email.",
|
|
6837
6893
|
"properties": {
|
|
6894
|
+
"domain": {
|
|
6895
|
+
"const": "slack.com"
|
|
6896
|
+
},
|
|
6838
6897
|
"path": {
|
|
6839
6898
|
"type": "string",
|
|
6840
6899
|
"pattern": "^/api/users\\.(conversations|getPresence|identity|info|list|lookupByEmail|profile\\.get)$"
|
|
6841
6900
|
}
|
|
6842
6901
|
},
|
|
6843
6902
|
"required": [
|
|
6903
|
+
"domain",
|
|
6844
6904
|
"path"
|
|
6845
6905
|
]
|
|
6846
6906
|
},
|
|
6847
6907
|
"slack-users-write": {
|
|
6848
6908
|
"$comment": "Update user presence and profile information.",
|
|
6849
6909
|
"properties": {
|
|
6910
|
+
"domain": {
|
|
6911
|
+
"const": "slack.com"
|
|
6912
|
+
},
|
|
6850
6913
|
"path": {
|
|
6851
6914
|
"type": "string",
|
|
6852
6915
|
"pattern": "^/api/users\\.(setPresence|profile\\.set)$"
|
|
6853
6916
|
}
|
|
6854
6917
|
},
|
|
6855
6918
|
"required": [
|
|
6919
|
+
"domain",
|
|
6856
6920
|
"path"
|
|
6857
6921
|
]
|
|
6858
6922
|
},
|
|
6859
6923
|
"slack-files-read": {
|
|
6860
|
-
"$comment": "List and inspect files, including remote files.",
|
|
6861
|
-
"
|
|
6862
|
-
|
|
6863
|
-
"type": "
|
|
6864
|
-
"
|
|
6924
|
+
"$comment": "List and inspect files, including remote files, and download file content and thumbnails.",
|
|
6925
|
+
"anyOf": [
|
|
6926
|
+
{
|
|
6927
|
+
"type": "object",
|
|
6928
|
+
"properties": {
|
|
6929
|
+
"domain": {
|
|
6930
|
+
"const": "slack.com"
|
|
6931
|
+
},
|
|
6932
|
+
"path": {
|
|
6933
|
+
"type": "string",
|
|
6934
|
+
"pattern": "^/api/files\\.(info|list|remote\\.(info|list))$"
|
|
6935
|
+
}
|
|
6936
|
+
},
|
|
6937
|
+
"required": [
|
|
6938
|
+
"domain",
|
|
6939
|
+
"path"
|
|
6940
|
+
]
|
|
6941
|
+
},
|
|
6942
|
+
{
|
|
6943
|
+
"type": "object",
|
|
6944
|
+
"properties": {
|
|
6945
|
+
"domain": {
|
|
6946
|
+
"const": "files.slack.com"
|
|
6947
|
+
},
|
|
6948
|
+
"path": {
|
|
6949
|
+
"type": "string",
|
|
6950
|
+
"pattern": "^/files-(pri|tmb)/[^/]+/(download/)?[^/]+$"
|
|
6951
|
+
}
|
|
6952
|
+
},
|
|
6953
|
+
"required": [
|
|
6954
|
+
"domain",
|
|
6955
|
+
"path"
|
|
6956
|
+
]
|
|
6865
6957
|
}
|
|
6866
|
-
},
|
|
6867
|
-
"required": [
|
|
6868
|
-
"path"
|
|
6869
6958
|
]
|
|
6870
6959
|
},
|
|
6871
6960
|
"slack-files-write": {
|
|
6872
6961
|
"$comment": "Upload, delete, and share files, including remote files.",
|
|
6873
6962
|
"properties": {
|
|
6963
|
+
"domain": {
|
|
6964
|
+
"const": "slack.com"
|
|
6965
|
+
},
|
|
6874
6966
|
"path": {
|
|
6875
6967
|
"type": "string",
|
|
6876
6968
|
"pattern": "^/api/files\\.(completeUploadExternal|delete|getUploadURLExternal|remote\\.(add|remove|share|update)|revokePublicURL|sharedPublicURL)$"
|
|
6877
6969
|
}
|
|
6878
6970
|
},
|
|
6879
6971
|
"required": [
|
|
6972
|
+
"domain",
|
|
6880
6973
|
"path"
|
|
6881
6974
|
]
|
|
6882
6975
|
},
|
|
6883
6976
|
"slack-reactions-read": {
|
|
6884
6977
|
"$comment": "List and inspect emoji reactions on messages.",
|
|
6885
6978
|
"properties": {
|
|
6979
|
+
"domain": {
|
|
6980
|
+
"const": "slack.com"
|
|
6981
|
+
},
|
|
6886
6982
|
"path": {
|
|
6887
6983
|
"type": "string",
|
|
6888
6984
|
"pattern": "^/api/reactions\\.(get|list)$"
|
|
6889
6985
|
}
|
|
6890
6986
|
},
|
|
6891
6987
|
"required": [
|
|
6988
|
+
"domain",
|
|
6892
6989
|
"path"
|
|
6893
6990
|
]
|
|
6894
6991
|
},
|
|
6895
6992
|
"slack-reactions-write": {
|
|
6896
6993
|
"$comment": "Add or remove emoji reactions.",
|
|
6897
6994
|
"properties": {
|
|
6995
|
+
"domain": {
|
|
6996
|
+
"const": "slack.com"
|
|
6997
|
+
},
|
|
6898
6998
|
"path": {
|
|
6899
6999
|
"type": "string",
|
|
6900
7000
|
"pattern": "^/api/reactions\\.(add|remove)$"
|
|
6901
7001
|
}
|
|
6902
7002
|
},
|
|
6903
7003
|
"required": [
|
|
7004
|
+
"domain",
|
|
6904
7005
|
"path"
|
|
6905
7006
|
]
|
|
6906
7007
|
},
|
|
6907
7008
|
"slack-search": {
|
|
6908
7009
|
"$comment": "Search messages, files, and all content.",
|
|
6909
7010
|
"properties": {
|
|
7011
|
+
"domain": {
|
|
7012
|
+
"const": "slack.com"
|
|
7013
|
+
},
|
|
6910
7014
|
"path": {
|
|
6911
7015
|
"type": "string",
|
|
6912
7016
|
"pattern": "^/api/search\\.(all|files|messages|modules\\.messages)$"
|
|
6913
7017
|
}
|
|
6914
7018
|
},
|
|
6915
7019
|
"required": [
|
|
7020
|
+
"domain",
|
|
6916
7021
|
"path"
|
|
6917
7022
|
]
|
|
6918
7023
|
},
|
|
6919
7024
|
"slack-pins-read": {
|
|
6920
7025
|
"$comment": "List pinned messages in a conversation.",
|
|
6921
7026
|
"properties": {
|
|
7027
|
+
"domain": {
|
|
7028
|
+
"const": "slack.com"
|
|
7029
|
+
},
|
|
6922
7030
|
"path": {
|
|
6923
7031
|
"type": "string",
|
|
6924
7032
|
"pattern": "^/api/pins\\.list$"
|
|
6925
7033
|
}
|
|
6926
7034
|
},
|
|
6927
7035
|
"required": [
|
|
7036
|
+
"domain",
|
|
6928
7037
|
"path"
|
|
6929
7038
|
]
|
|
6930
7039
|
},
|
|
6931
7040
|
"slack-pins-write": {
|
|
6932
7041
|
"$comment": "Pin or unpin messages in a conversation.",
|
|
6933
7042
|
"properties": {
|
|
7043
|
+
"domain": {
|
|
7044
|
+
"const": "slack.com"
|
|
7045
|
+
},
|
|
6934
7046
|
"path": {
|
|
6935
7047
|
"type": "string",
|
|
6936
7048
|
"pattern": "^/api/pins\\.(add|remove)$"
|
|
6937
7049
|
}
|
|
6938
7050
|
},
|
|
6939
7051
|
"required": [
|
|
7052
|
+
"domain",
|
|
6940
7053
|
"path"
|
|
6941
7054
|
]
|
|
6942
7055
|
},
|
|
6943
7056
|
"slack-bookmarks-read": {
|
|
6944
7057
|
"$comment": "List bookmarks in a conversation.",
|
|
6945
7058
|
"properties": {
|
|
7059
|
+
"domain": {
|
|
7060
|
+
"const": "slack.com"
|
|
7061
|
+
},
|
|
6946
7062
|
"path": {
|
|
6947
7063
|
"type": "string",
|
|
6948
7064
|
"pattern": "^/api/bookmarks\\.list$"
|
|
6949
7065
|
}
|
|
6950
7066
|
},
|
|
6951
7067
|
"required": [
|
|
7068
|
+
"domain",
|
|
6952
7069
|
"path"
|
|
6953
7070
|
]
|
|
6954
7071
|
},
|
|
6955
7072
|
"slack-bookmarks-write": {
|
|
6956
7073
|
"$comment": "Add, edit, or remove bookmarks.",
|
|
6957
7074
|
"properties": {
|
|
7075
|
+
"domain": {
|
|
7076
|
+
"const": "slack.com"
|
|
7077
|
+
},
|
|
6958
7078
|
"path": {
|
|
6959
7079
|
"type": "string",
|
|
6960
7080
|
"pattern": "^/api/bookmarks\\.(add|edit|remove)$"
|
|
6961
7081
|
}
|
|
6962
7082
|
},
|
|
6963
7083
|
"required": [
|
|
7084
|
+
"domain",
|
|
6964
7085
|
"path"
|
|
6965
7086
|
]
|
|
6966
7087
|
},
|
|
6967
7088
|
"slack-reminders-read": {
|
|
6968
7089
|
"$comment": "List and inspect reminders.",
|
|
6969
7090
|
"properties": {
|
|
7091
|
+
"domain": {
|
|
7092
|
+
"const": "slack.com"
|
|
7093
|
+
},
|
|
6970
7094
|
"path": {
|
|
6971
7095
|
"type": "string",
|
|
6972
7096
|
"pattern": "^/api/reminders\\.(info|list)$"
|
|
6973
7097
|
}
|
|
6974
7098
|
},
|
|
6975
7099
|
"required": [
|
|
7100
|
+
"domain",
|
|
6976
7101
|
"path"
|
|
6977
7102
|
]
|
|
6978
7103
|
},
|
|
6979
7104
|
"slack-reminders-write": {
|
|
6980
7105
|
"$comment": "Create, complete, or delete reminders.",
|
|
6981
7106
|
"properties": {
|
|
7107
|
+
"domain": {
|
|
7108
|
+
"const": "slack.com"
|
|
7109
|
+
},
|
|
6982
7110
|
"path": {
|
|
6983
7111
|
"type": "string",
|
|
6984
7112
|
"pattern": "^/api/reminders\\.(add|complete|delete)$"
|
|
6985
7113
|
}
|
|
6986
7114
|
},
|
|
6987
7115
|
"required": [
|
|
7116
|
+
"domain",
|
|
6988
7117
|
"path"
|
|
6989
7118
|
]
|
|
6990
7119
|
},
|