@automate.ax/catalog 0.137.0 → 0.138.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/catalog.d.ts CHANGED
@@ -23,14 +23,10 @@ export declare const airtableService: {
23
23
  readonly preferredConnectionMethodId: "oauth";
24
24
  };
25
25
  export declare const anthropicService: {
26
- readonly id: "anthropic";
27
- readonly name: string;
28
- readonly icon?: string | undefined;
29
- readonly description: string;
30
- readonly connectionNotice?: import("./types").IntegrationConnectionNotice | undefined;
31
26
  readonly connectionMethods: readonly [{
27
+ readonly credentialUrl: "https://platform.claude.com/settings/keys";
32
28
  readonly fields: readonly [{
33
- readonly placeholder: string;
29
+ readonly placeholder: "sk-ant-...";
34
30
  readonly input: "password";
35
31
  readonly label: "API key";
36
32
  readonly name: "apiKey";
@@ -39,8 +35,34 @@ export declare const anthropicService: {
39
35
  readonly id: "api-key";
40
36
  readonly name: "API key";
41
37
  readonly type: "form";
42
- readonly credentialUrl?: string | undefined;
38
+ }, {
39
+ readonly credentialUrl: "https://platform.claude.com/settings/webhooks";
40
+ readonly fields: readonly [{
41
+ readonly placeholder: "sk-ant-...";
42
+ readonly input: "password";
43
+ readonly label: "API key";
44
+ readonly name: "apiKey";
45
+ readonly required: true;
46
+ }, {
47
+ readonly input: "text";
48
+ readonly label: "Workspace ID";
49
+ readonly name: "workspaceId";
50
+ readonly placeholder: "Optional for single-workspace keys";
51
+ readonly required: false;
52
+ }, {
53
+ readonly input: "password";
54
+ readonly label: "Webhook signing key";
55
+ readonly name: "webhookSecret";
56
+ readonly placeholder: "whsec_...";
57
+ readonly required: true;
58
+ }];
59
+ readonly id: "managed-agents";
60
+ readonly name: "Managed Agents";
61
+ readonly type: "form";
43
62
  }];
63
+ readonly description: "Connect Anthropic for Claude models or Claude Managed Agents and webhooks.";
64
+ readonly id: "anthropic";
65
+ readonly name: "Anthropic";
44
66
  };
45
67
  export declare const apolloService: {
46
68
  readonly connectionMethods: readonly [{
@@ -1045,14 +1067,10 @@ export declare const integrationCatalog: readonly [{
1045
1067
  readonly name: "Airtable";
1046
1068
  readonly preferredConnectionMethodId: "oauth";
1047
1069
  }, {
1048
- readonly id: "anthropic";
1049
- readonly name: string;
1050
- readonly icon?: string | undefined;
1051
- readonly description: string;
1052
- readonly connectionNotice?: import("./types").IntegrationConnectionNotice | undefined;
1053
1070
  readonly connectionMethods: readonly [{
1071
+ readonly credentialUrl: "https://platform.claude.com/settings/keys";
1054
1072
  readonly fields: readonly [{
1055
- readonly placeholder: string;
1073
+ readonly placeholder: "sk-ant-...";
1056
1074
  readonly input: "password";
1057
1075
  readonly label: "API key";
1058
1076
  readonly name: "apiKey";
@@ -1061,8 +1079,34 @@ export declare const integrationCatalog: readonly [{
1061
1079
  readonly id: "api-key";
1062
1080
  readonly name: "API key";
1063
1081
  readonly type: "form";
1064
- readonly credentialUrl?: string | undefined;
1082
+ }, {
1083
+ readonly credentialUrl: "https://platform.claude.com/settings/webhooks";
1084
+ readonly fields: readonly [{
1085
+ readonly placeholder: "sk-ant-...";
1086
+ readonly input: "password";
1087
+ readonly label: "API key";
1088
+ readonly name: "apiKey";
1089
+ readonly required: true;
1090
+ }, {
1091
+ readonly input: "text";
1092
+ readonly label: "Workspace ID";
1093
+ readonly name: "workspaceId";
1094
+ readonly placeholder: "Optional for single-workspace keys";
1095
+ readonly required: false;
1096
+ }, {
1097
+ readonly input: "password";
1098
+ readonly label: "Webhook signing key";
1099
+ readonly name: "webhookSecret";
1100
+ readonly placeholder: "whsec_...";
1101
+ readonly required: true;
1102
+ }];
1103
+ readonly id: "managed-agents";
1104
+ readonly name: "Managed Agents";
1105
+ readonly type: "form";
1065
1106
  }];
1107
+ readonly description: "Connect Anthropic for Claude models or Claude Managed Agents and webhooks.";
1108
+ readonly id: "anthropic";
1109
+ readonly name: "Anthropic";
1066
1110
  }, {
1067
1111
  readonly connectionMethods: readonly [{
1068
1112
  readonly id: "oauth";
package/dist/catalog.js CHANGED
@@ -29,11 +29,42 @@ export const airtableService = defineIntegrationService({
29
29
  name: "Airtable",
30
30
  preferredConnectionMethodId: "oauth",
31
31
  });
32
- export const anthropicService = defineApiKeyService({
33
- description: "Connect an Anthropic API key.",
32
+ export const anthropicService = defineIntegrationService({
33
+ connectionMethods: [
34
+ {
35
+ credentialUrl: "https://platform.claude.com/settings/keys",
36
+ fields: [{ ...API_KEY_FIELD, placeholder: "sk-ant-..." }],
37
+ id: "api-key",
38
+ name: "API key",
39
+ type: "form",
40
+ },
41
+ {
42
+ credentialUrl: "https://platform.claude.com/settings/webhooks",
43
+ fields: [
44
+ { ...API_KEY_FIELD, placeholder: "sk-ant-..." },
45
+ {
46
+ input: "text",
47
+ label: "Workspace ID",
48
+ name: "workspaceId",
49
+ placeholder: "Optional for single-workspace keys",
50
+ required: false,
51
+ },
52
+ {
53
+ input: "password",
54
+ label: "Webhook signing key",
55
+ name: "webhookSecret",
56
+ placeholder: "whsec_...",
57
+ required: true,
58
+ },
59
+ ],
60
+ id: "managed-agents",
61
+ name: "Managed Agents",
62
+ type: "form",
63
+ },
64
+ ],
65
+ description: "Connect Anthropic for Claude models or Claude Managed Agents and webhooks.",
34
66
  id: "anthropic",
35
67
  name: "Anthropic",
36
- placeholder: "sk-ant-...",
37
68
  });
38
69
  export const apolloService = defineIntegrationService({
39
70
  connectionMethods: [
@@ -0,0 +1,222 @@
1
+ export declare const anthropicTriggerDefinitions: {
2
+ readonly anthropicAgentArchived: {
3
+ readonly account: {
4
+ readonly connectionOptions: readonly [{
5
+ readonly connectionMethodId: "managed-agents";
6
+ readonly requiredScopes: readonly [];
7
+ }];
8
+ readonly serviceId: "anthropic";
9
+ };
10
+ readonly type: "anthropic.agent.archived";
11
+ };
12
+ readonly anthropicAgentCreated: {
13
+ readonly account: {
14
+ readonly connectionOptions: readonly [{
15
+ readonly connectionMethodId: "managed-agents";
16
+ readonly requiredScopes: readonly [];
17
+ }];
18
+ readonly serviceId: "anthropic";
19
+ };
20
+ readonly type: "anthropic.agent.created";
21
+ };
22
+ readonly anthropicAgentDeleted: {
23
+ readonly account: {
24
+ readonly connectionOptions: readonly [{
25
+ readonly connectionMethodId: "managed-agents";
26
+ readonly requiredScopes: readonly [];
27
+ }];
28
+ readonly serviceId: "anthropic";
29
+ };
30
+ readonly type: "anthropic.agent.deleted";
31
+ };
32
+ readonly anthropicAgentEvent: {
33
+ readonly account: {
34
+ readonly connectionOptions: readonly [{
35
+ readonly connectionMethodId: "managed-agents";
36
+ readonly requiredScopes: readonly [];
37
+ }];
38
+ readonly serviceId: "anthropic";
39
+ };
40
+ readonly type: "anthropic.agent.event";
41
+ };
42
+ readonly anthropicAgentUpdated: {
43
+ readonly account: {
44
+ readonly connectionOptions: readonly [{
45
+ readonly connectionMethodId: "managed-agents";
46
+ readonly requiredScopes: readonly [];
47
+ }];
48
+ readonly serviceId: "anthropic";
49
+ };
50
+ readonly type: "anthropic.agent.updated";
51
+ };
52
+ readonly anthropicEnvironmentArchived: {
53
+ readonly account: {
54
+ readonly connectionOptions: readonly [{
55
+ readonly connectionMethodId: "managed-agents";
56
+ readonly requiredScopes: readonly [];
57
+ }];
58
+ readonly serviceId: "anthropic";
59
+ };
60
+ readonly type: "anthropic.environment.archived";
61
+ };
62
+ readonly anthropicEnvironmentCreated: {
63
+ readonly account: {
64
+ readonly connectionOptions: readonly [{
65
+ readonly connectionMethodId: "managed-agents";
66
+ readonly requiredScopes: readonly [];
67
+ }];
68
+ readonly serviceId: "anthropic";
69
+ };
70
+ readonly type: "anthropic.environment.created";
71
+ };
72
+ readonly anthropicEnvironmentDeleted: {
73
+ readonly account: {
74
+ readonly connectionOptions: readonly [{
75
+ readonly connectionMethodId: "managed-agents";
76
+ readonly requiredScopes: readonly [];
77
+ }];
78
+ readonly serviceId: "anthropic";
79
+ };
80
+ readonly type: "anthropic.environment.deleted";
81
+ };
82
+ readonly anthropicEnvironmentEvent: {
83
+ readonly account: {
84
+ readonly connectionOptions: readonly [{
85
+ readonly connectionMethodId: "managed-agents";
86
+ readonly requiredScopes: readonly [];
87
+ }];
88
+ readonly serviceId: "anthropic";
89
+ };
90
+ readonly type: "anthropic.environment.event";
91
+ };
92
+ readonly anthropicEnvironmentUpdated: {
93
+ readonly account: {
94
+ readonly connectionOptions: readonly [{
95
+ readonly connectionMethodId: "managed-agents";
96
+ readonly requiredScopes: readonly [];
97
+ }];
98
+ readonly serviceId: "anthropic";
99
+ };
100
+ readonly type: "anthropic.environment.updated";
101
+ };
102
+ readonly anthropicSessionBudgetReached: {
103
+ readonly account: {
104
+ readonly connectionOptions: readonly [{
105
+ readonly connectionMethodId: "managed-agents";
106
+ readonly requiredScopes: readonly [];
107
+ }];
108
+ readonly serviceId: "anthropic";
109
+ };
110
+ readonly type: "anthropic.session.budgetReached";
111
+ };
112
+ readonly anthropicSessionDeleted: {
113
+ readonly account: {
114
+ readonly connectionOptions: readonly [{
115
+ readonly connectionMethodId: "managed-agents";
116
+ readonly requiredScopes: readonly [];
117
+ }];
118
+ readonly serviceId: "anthropic";
119
+ };
120
+ readonly type: "anthropic.session.deleted";
121
+ };
122
+ readonly anthropicSessionEvent: {
123
+ readonly account: {
124
+ readonly connectionOptions: readonly [{
125
+ readonly connectionMethodId: "managed-agents";
126
+ readonly requiredScopes: readonly [];
127
+ }];
128
+ readonly serviceId: "anthropic";
129
+ };
130
+ readonly type: "anthropic.session.event";
131
+ };
132
+ readonly anthropicSessionIdled: {
133
+ readonly account: {
134
+ readonly connectionOptions: readonly [{
135
+ readonly connectionMethodId: "managed-agents";
136
+ readonly requiredScopes: readonly [];
137
+ }];
138
+ readonly serviceId: "anthropic";
139
+ };
140
+ readonly type: "anthropic.session.idled";
141
+ };
142
+ readonly anthropicSessionOutcomeEvaluationEnded: {
143
+ readonly account: {
144
+ readonly connectionOptions: readonly [{
145
+ readonly connectionMethodId: "managed-agents";
146
+ readonly requiredScopes: readonly [];
147
+ }];
148
+ readonly serviceId: "anthropic";
149
+ };
150
+ readonly type: "anthropic.session.outcomeEvaluationEnded";
151
+ };
152
+ readonly anthropicSessionRescheduled: {
153
+ readonly account: {
154
+ readonly connectionOptions: readonly [{
155
+ readonly connectionMethodId: "managed-agents";
156
+ readonly requiredScopes: readonly [];
157
+ }];
158
+ readonly serviceId: "anthropic";
159
+ };
160
+ readonly type: "anthropic.session.rescheduled";
161
+ };
162
+ readonly anthropicSessionRunStarted: {
163
+ readonly account: {
164
+ readonly connectionOptions: readonly [{
165
+ readonly connectionMethodId: "managed-agents";
166
+ readonly requiredScopes: readonly [];
167
+ }];
168
+ readonly serviceId: "anthropic";
169
+ };
170
+ readonly type: "anthropic.session.runStarted";
171
+ };
172
+ readonly anthropicSessionTerminated: {
173
+ readonly account: {
174
+ readonly connectionOptions: readonly [{
175
+ readonly connectionMethodId: "managed-agents";
176
+ readonly requiredScopes: readonly [];
177
+ }];
178
+ readonly serviceId: "anthropic";
179
+ };
180
+ readonly type: "anthropic.session.terminated";
181
+ };
182
+ readonly anthropicSessionThreadCreated: {
183
+ readonly account: {
184
+ readonly connectionOptions: readonly [{
185
+ readonly connectionMethodId: "managed-agents";
186
+ readonly requiredScopes: readonly [];
187
+ }];
188
+ readonly serviceId: "anthropic";
189
+ };
190
+ readonly type: "anthropic.session.threadCreated";
191
+ };
192
+ readonly anthropicSessionThreadIdled: {
193
+ readonly account: {
194
+ readonly connectionOptions: readonly [{
195
+ readonly connectionMethodId: "managed-agents";
196
+ readonly requiredScopes: readonly [];
197
+ }];
198
+ readonly serviceId: "anthropic";
199
+ };
200
+ readonly type: "anthropic.session.threadIdled";
201
+ };
202
+ readonly anthropicSessionThreadTerminated: {
203
+ readonly account: {
204
+ readonly connectionOptions: readonly [{
205
+ readonly connectionMethodId: "managed-agents";
206
+ readonly requiredScopes: readonly [];
207
+ }];
208
+ readonly serviceId: "anthropic";
209
+ };
210
+ readonly type: "anthropic.session.threadTerminated";
211
+ };
212
+ readonly anthropicSessionUpdated: {
213
+ readonly account: {
214
+ readonly connectionOptions: readonly [{
215
+ readonly connectionMethodId: "managed-agents";
216
+ readonly requiredScopes: readonly [];
217
+ }];
218
+ readonly serviceId: "anthropic";
219
+ };
220
+ readonly type: "anthropic.session.updated";
221
+ };
222
+ };
@@ -0,0 +1,38 @@
1
+ const ANTHROPIC_ACCOUNT = {
2
+ connectionOptions: [
3
+ { connectionMethodId: "managed-agents", requiredScopes: [] },
4
+ ],
5
+ serviceId: "anthropic",
6
+ };
7
+ export const anthropicTriggerDefinitions = {
8
+ anthropicAgentArchived: trigger("anthropic.agent.archived"),
9
+ anthropicAgentCreated: trigger("anthropic.agent.created"),
10
+ anthropicAgentDeleted: trigger("anthropic.agent.deleted"),
11
+ anthropicAgentEvent: trigger("anthropic.agent.event"),
12
+ anthropicAgentUpdated: trigger("anthropic.agent.updated"),
13
+ anthropicEnvironmentArchived: trigger("anthropic.environment.archived"),
14
+ anthropicEnvironmentCreated: trigger("anthropic.environment.created"),
15
+ anthropicEnvironmentDeleted: trigger("anthropic.environment.deleted"),
16
+ anthropicEnvironmentEvent: trigger("anthropic.environment.event"),
17
+ anthropicEnvironmentUpdated: trigger("anthropic.environment.updated"),
18
+ anthropicSessionBudgetReached: trigger("anthropic.session.budgetReached"),
19
+ anthropicSessionDeleted: trigger("anthropic.session.deleted"),
20
+ anthropicSessionEvent: trigger("anthropic.session.event"),
21
+ anthropicSessionIdled: trigger("anthropic.session.idled"),
22
+ anthropicSessionOutcomeEvaluationEnded: trigger("anthropic.session.outcomeEvaluationEnded"),
23
+ anthropicSessionRescheduled: trigger("anthropic.session.rescheduled"),
24
+ anthropicSessionRunStarted: trigger("anthropic.session.runStarted"),
25
+ anthropicSessionTerminated: trigger("anthropic.session.terminated"),
26
+ anthropicSessionThreadCreated: trigger("anthropic.session.threadCreated"),
27
+ anthropicSessionThreadIdled: trigger("anthropic.session.threadIdled"),
28
+ anthropicSessionThreadTerminated: trigger("anthropic.session.threadTerminated"),
29
+ anthropicSessionUpdated: trigger("anthropic.session.updated"),
30
+ };
31
+ /**
32
+ * Creates a Managed Agents trigger catalog entry.
33
+ *
34
+ * @param type - Stable event type.
35
+ */
36
+ function trigger(type) {
37
+ return { account: ANTHROPIC_ACCOUNT, type };
38
+ }
@@ -7404,6 +7404,226 @@ export declare const triggerDefinitions: {
7404
7404
  };
7405
7405
  readonly type: "apify.actorRun.timedOut";
7406
7406
  };
7407
+ readonly anthropicAgentArchived: {
7408
+ readonly account: {
7409
+ readonly connectionOptions: readonly [{
7410
+ readonly connectionMethodId: "managed-agents";
7411
+ readonly requiredScopes: readonly [];
7412
+ }];
7413
+ readonly serviceId: "anthropic";
7414
+ };
7415
+ readonly type: "anthropic.agent.archived";
7416
+ };
7417
+ readonly anthropicAgentCreated: {
7418
+ readonly account: {
7419
+ readonly connectionOptions: readonly [{
7420
+ readonly connectionMethodId: "managed-agents";
7421
+ readonly requiredScopes: readonly [];
7422
+ }];
7423
+ readonly serviceId: "anthropic";
7424
+ };
7425
+ readonly type: "anthropic.agent.created";
7426
+ };
7427
+ readonly anthropicAgentDeleted: {
7428
+ readonly account: {
7429
+ readonly connectionOptions: readonly [{
7430
+ readonly connectionMethodId: "managed-agents";
7431
+ readonly requiredScopes: readonly [];
7432
+ }];
7433
+ readonly serviceId: "anthropic";
7434
+ };
7435
+ readonly type: "anthropic.agent.deleted";
7436
+ };
7437
+ readonly anthropicAgentEvent: {
7438
+ readonly account: {
7439
+ readonly connectionOptions: readonly [{
7440
+ readonly connectionMethodId: "managed-agents";
7441
+ readonly requiredScopes: readonly [];
7442
+ }];
7443
+ readonly serviceId: "anthropic";
7444
+ };
7445
+ readonly type: "anthropic.agent.event";
7446
+ };
7447
+ readonly anthropicAgentUpdated: {
7448
+ readonly account: {
7449
+ readonly connectionOptions: readonly [{
7450
+ readonly connectionMethodId: "managed-agents";
7451
+ readonly requiredScopes: readonly [];
7452
+ }];
7453
+ readonly serviceId: "anthropic";
7454
+ };
7455
+ readonly type: "anthropic.agent.updated";
7456
+ };
7457
+ readonly anthropicEnvironmentArchived: {
7458
+ readonly account: {
7459
+ readonly connectionOptions: readonly [{
7460
+ readonly connectionMethodId: "managed-agents";
7461
+ readonly requiredScopes: readonly [];
7462
+ }];
7463
+ readonly serviceId: "anthropic";
7464
+ };
7465
+ readonly type: "anthropic.environment.archived";
7466
+ };
7467
+ readonly anthropicEnvironmentCreated: {
7468
+ readonly account: {
7469
+ readonly connectionOptions: readonly [{
7470
+ readonly connectionMethodId: "managed-agents";
7471
+ readonly requiredScopes: readonly [];
7472
+ }];
7473
+ readonly serviceId: "anthropic";
7474
+ };
7475
+ readonly type: "anthropic.environment.created";
7476
+ };
7477
+ readonly anthropicEnvironmentDeleted: {
7478
+ readonly account: {
7479
+ readonly connectionOptions: readonly [{
7480
+ readonly connectionMethodId: "managed-agents";
7481
+ readonly requiredScopes: readonly [];
7482
+ }];
7483
+ readonly serviceId: "anthropic";
7484
+ };
7485
+ readonly type: "anthropic.environment.deleted";
7486
+ };
7487
+ readonly anthropicEnvironmentEvent: {
7488
+ readonly account: {
7489
+ readonly connectionOptions: readonly [{
7490
+ readonly connectionMethodId: "managed-agents";
7491
+ readonly requiredScopes: readonly [];
7492
+ }];
7493
+ readonly serviceId: "anthropic";
7494
+ };
7495
+ readonly type: "anthropic.environment.event";
7496
+ };
7497
+ readonly anthropicEnvironmentUpdated: {
7498
+ readonly account: {
7499
+ readonly connectionOptions: readonly [{
7500
+ readonly connectionMethodId: "managed-agents";
7501
+ readonly requiredScopes: readonly [];
7502
+ }];
7503
+ readonly serviceId: "anthropic";
7504
+ };
7505
+ readonly type: "anthropic.environment.updated";
7506
+ };
7507
+ readonly anthropicSessionBudgetReached: {
7508
+ readonly account: {
7509
+ readonly connectionOptions: readonly [{
7510
+ readonly connectionMethodId: "managed-agents";
7511
+ readonly requiredScopes: readonly [];
7512
+ }];
7513
+ readonly serviceId: "anthropic";
7514
+ };
7515
+ readonly type: "anthropic.session.budgetReached";
7516
+ };
7517
+ readonly anthropicSessionDeleted: {
7518
+ readonly account: {
7519
+ readonly connectionOptions: readonly [{
7520
+ readonly connectionMethodId: "managed-agents";
7521
+ readonly requiredScopes: readonly [];
7522
+ }];
7523
+ readonly serviceId: "anthropic";
7524
+ };
7525
+ readonly type: "anthropic.session.deleted";
7526
+ };
7527
+ readonly anthropicSessionEvent: {
7528
+ readonly account: {
7529
+ readonly connectionOptions: readonly [{
7530
+ readonly connectionMethodId: "managed-agents";
7531
+ readonly requiredScopes: readonly [];
7532
+ }];
7533
+ readonly serviceId: "anthropic";
7534
+ };
7535
+ readonly type: "anthropic.session.event";
7536
+ };
7537
+ readonly anthropicSessionIdled: {
7538
+ readonly account: {
7539
+ readonly connectionOptions: readonly [{
7540
+ readonly connectionMethodId: "managed-agents";
7541
+ readonly requiredScopes: readonly [];
7542
+ }];
7543
+ readonly serviceId: "anthropic";
7544
+ };
7545
+ readonly type: "anthropic.session.idled";
7546
+ };
7547
+ readonly anthropicSessionOutcomeEvaluationEnded: {
7548
+ readonly account: {
7549
+ readonly connectionOptions: readonly [{
7550
+ readonly connectionMethodId: "managed-agents";
7551
+ readonly requiredScopes: readonly [];
7552
+ }];
7553
+ readonly serviceId: "anthropic";
7554
+ };
7555
+ readonly type: "anthropic.session.outcomeEvaluationEnded";
7556
+ };
7557
+ readonly anthropicSessionRescheduled: {
7558
+ readonly account: {
7559
+ readonly connectionOptions: readonly [{
7560
+ readonly connectionMethodId: "managed-agents";
7561
+ readonly requiredScopes: readonly [];
7562
+ }];
7563
+ readonly serviceId: "anthropic";
7564
+ };
7565
+ readonly type: "anthropic.session.rescheduled";
7566
+ };
7567
+ readonly anthropicSessionRunStarted: {
7568
+ readonly account: {
7569
+ readonly connectionOptions: readonly [{
7570
+ readonly connectionMethodId: "managed-agents";
7571
+ readonly requiredScopes: readonly [];
7572
+ }];
7573
+ readonly serviceId: "anthropic";
7574
+ };
7575
+ readonly type: "anthropic.session.runStarted";
7576
+ };
7577
+ readonly anthropicSessionTerminated: {
7578
+ readonly account: {
7579
+ readonly connectionOptions: readonly [{
7580
+ readonly connectionMethodId: "managed-agents";
7581
+ readonly requiredScopes: readonly [];
7582
+ }];
7583
+ readonly serviceId: "anthropic";
7584
+ };
7585
+ readonly type: "anthropic.session.terminated";
7586
+ };
7587
+ readonly anthropicSessionThreadCreated: {
7588
+ readonly account: {
7589
+ readonly connectionOptions: readonly [{
7590
+ readonly connectionMethodId: "managed-agents";
7591
+ readonly requiredScopes: readonly [];
7592
+ }];
7593
+ readonly serviceId: "anthropic";
7594
+ };
7595
+ readonly type: "anthropic.session.threadCreated";
7596
+ };
7597
+ readonly anthropicSessionThreadIdled: {
7598
+ readonly account: {
7599
+ readonly connectionOptions: readonly [{
7600
+ readonly connectionMethodId: "managed-agents";
7601
+ readonly requiredScopes: readonly [];
7602
+ }];
7603
+ readonly serviceId: "anthropic";
7604
+ };
7605
+ readonly type: "anthropic.session.threadIdled";
7606
+ };
7607
+ readonly anthropicSessionThreadTerminated: {
7608
+ readonly account: {
7609
+ readonly connectionOptions: readonly [{
7610
+ readonly connectionMethodId: "managed-agents";
7611
+ readonly requiredScopes: readonly [];
7612
+ }];
7613
+ readonly serviceId: "anthropic";
7614
+ };
7615
+ readonly type: "anthropic.session.threadTerminated";
7616
+ };
7617
+ readonly anthropicSessionUpdated: {
7618
+ readonly account: {
7619
+ readonly connectionOptions: readonly [{
7620
+ readonly connectionMethodId: "managed-agents";
7621
+ readonly requiredScopes: readonly [];
7622
+ }];
7623
+ readonly serviceId: "anthropic";
7624
+ };
7625
+ readonly type: "anthropic.session.updated";
7626
+ };
7407
7627
  };
7408
7628
  /** Trigger definitions with inferred display names materialized. */
7409
7629
  export declare const triggerCatalog: ({
@@ -7584,6 +7804,226 @@ export declare const triggerCatalog: ({
7584
7804
  readonly serviceId: "apify";
7585
7805
  };
7586
7806
  type: "apify.actorRun.timedOut";
7807
+ } | {
7808
+ name: string;
7809
+ account: {
7810
+ readonly connectionOptions: readonly [{
7811
+ readonly connectionMethodId: "managed-agents";
7812
+ readonly requiredScopes: readonly [];
7813
+ }];
7814
+ readonly serviceId: "anthropic";
7815
+ };
7816
+ type: "anthropic.agent.archived";
7817
+ } | {
7818
+ name: string;
7819
+ account: {
7820
+ readonly connectionOptions: readonly [{
7821
+ readonly connectionMethodId: "managed-agents";
7822
+ readonly requiredScopes: readonly [];
7823
+ }];
7824
+ readonly serviceId: "anthropic";
7825
+ };
7826
+ type: "anthropic.agent.created";
7827
+ } | {
7828
+ name: string;
7829
+ account: {
7830
+ readonly connectionOptions: readonly [{
7831
+ readonly connectionMethodId: "managed-agents";
7832
+ readonly requiredScopes: readonly [];
7833
+ }];
7834
+ readonly serviceId: "anthropic";
7835
+ };
7836
+ type: "anthropic.agent.deleted";
7837
+ } | {
7838
+ name: string;
7839
+ account: {
7840
+ readonly connectionOptions: readonly [{
7841
+ readonly connectionMethodId: "managed-agents";
7842
+ readonly requiredScopes: readonly [];
7843
+ }];
7844
+ readonly serviceId: "anthropic";
7845
+ };
7846
+ type: "anthropic.agent.event";
7847
+ } | {
7848
+ name: string;
7849
+ account: {
7850
+ readonly connectionOptions: readonly [{
7851
+ readonly connectionMethodId: "managed-agents";
7852
+ readonly requiredScopes: readonly [];
7853
+ }];
7854
+ readonly serviceId: "anthropic";
7855
+ };
7856
+ type: "anthropic.agent.updated";
7857
+ } | {
7858
+ name: string;
7859
+ account: {
7860
+ readonly connectionOptions: readonly [{
7861
+ readonly connectionMethodId: "managed-agents";
7862
+ readonly requiredScopes: readonly [];
7863
+ }];
7864
+ readonly serviceId: "anthropic";
7865
+ };
7866
+ type: "anthropic.environment.archived";
7867
+ } | {
7868
+ name: string;
7869
+ account: {
7870
+ readonly connectionOptions: readonly [{
7871
+ readonly connectionMethodId: "managed-agents";
7872
+ readonly requiredScopes: readonly [];
7873
+ }];
7874
+ readonly serviceId: "anthropic";
7875
+ };
7876
+ type: "anthropic.environment.created";
7877
+ } | {
7878
+ name: string;
7879
+ account: {
7880
+ readonly connectionOptions: readonly [{
7881
+ readonly connectionMethodId: "managed-agents";
7882
+ readonly requiredScopes: readonly [];
7883
+ }];
7884
+ readonly serviceId: "anthropic";
7885
+ };
7886
+ type: "anthropic.environment.deleted";
7887
+ } | {
7888
+ name: string;
7889
+ account: {
7890
+ readonly connectionOptions: readonly [{
7891
+ readonly connectionMethodId: "managed-agents";
7892
+ readonly requiredScopes: readonly [];
7893
+ }];
7894
+ readonly serviceId: "anthropic";
7895
+ };
7896
+ type: "anthropic.environment.event";
7897
+ } | {
7898
+ name: string;
7899
+ account: {
7900
+ readonly connectionOptions: readonly [{
7901
+ readonly connectionMethodId: "managed-agents";
7902
+ readonly requiredScopes: readonly [];
7903
+ }];
7904
+ readonly serviceId: "anthropic";
7905
+ };
7906
+ type: "anthropic.environment.updated";
7907
+ } | {
7908
+ name: string;
7909
+ account: {
7910
+ readonly connectionOptions: readonly [{
7911
+ readonly connectionMethodId: "managed-agents";
7912
+ readonly requiredScopes: readonly [];
7913
+ }];
7914
+ readonly serviceId: "anthropic";
7915
+ };
7916
+ type: "anthropic.session.budgetReached";
7917
+ } | {
7918
+ name: string;
7919
+ account: {
7920
+ readonly connectionOptions: readonly [{
7921
+ readonly connectionMethodId: "managed-agents";
7922
+ readonly requiredScopes: readonly [];
7923
+ }];
7924
+ readonly serviceId: "anthropic";
7925
+ };
7926
+ type: "anthropic.session.deleted";
7927
+ } | {
7928
+ name: string;
7929
+ account: {
7930
+ readonly connectionOptions: readonly [{
7931
+ readonly connectionMethodId: "managed-agents";
7932
+ readonly requiredScopes: readonly [];
7933
+ }];
7934
+ readonly serviceId: "anthropic";
7935
+ };
7936
+ type: "anthropic.session.event";
7937
+ } | {
7938
+ name: string;
7939
+ account: {
7940
+ readonly connectionOptions: readonly [{
7941
+ readonly connectionMethodId: "managed-agents";
7942
+ readonly requiredScopes: readonly [];
7943
+ }];
7944
+ readonly serviceId: "anthropic";
7945
+ };
7946
+ type: "anthropic.session.idled";
7947
+ } | {
7948
+ name: string;
7949
+ account: {
7950
+ readonly connectionOptions: readonly [{
7951
+ readonly connectionMethodId: "managed-agents";
7952
+ readonly requiredScopes: readonly [];
7953
+ }];
7954
+ readonly serviceId: "anthropic";
7955
+ };
7956
+ type: "anthropic.session.outcomeEvaluationEnded";
7957
+ } | {
7958
+ name: string;
7959
+ account: {
7960
+ readonly connectionOptions: readonly [{
7961
+ readonly connectionMethodId: "managed-agents";
7962
+ readonly requiredScopes: readonly [];
7963
+ }];
7964
+ readonly serviceId: "anthropic";
7965
+ };
7966
+ type: "anthropic.session.rescheduled";
7967
+ } | {
7968
+ name: string;
7969
+ account: {
7970
+ readonly connectionOptions: readonly [{
7971
+ readonly connectionMethodId: "managed-agents";
7972
+ readonly requiredScopes: readonly [];
7973
+ }];
7974
+ readonly serviceId: "anthropic";
7975
+ };
7976
+ type: "anthropic.session.runStarted";
7977
+ } | {
7978
+ name: string;
7979
+ account: {
7980
+ readonly connectionOptions: readonly [{
7981
+ readonly connectionMethodId: "managed-agents";
7982
+ readonly requiredScopes: readonly [];
7983
+ }];
7984
+ readonly serviceId: "anthropic";
7985
+ };
7986
+ type: "anthropic.session.terminated";
7987
+ } | {
7988
+ name: string;
7989
+ account: {
7990
+ readonly connectionOptions: readonly [{
7991
+ readonly connectionMethodId: "managed-agents";
7992
+ readonly requiredScopes: readonly [];
7993
+ }];
7994
+ readonly serviceId: "anthropic";
7995
+ };
7996
+ type: "anthropic.session.threadCreated";
7997
+ } | {
7998
+ name: string;
7999
+ account: {
8000
+ readonly connectionOptions: readonly [{
8001
+ readonly connectionMethodId: "managed-agents";
8002
+ readonly requiredScopes: readonly [];
8003
+ }];
8004
+ readonly serviceId: "anthropic";
8005
+ };
8006
+ type: "anthropic.session.threadIdled";
8007
+ } | {
8008
+ name: string;
8009
+ account: {
8010
+ readonly connectionOptions: readonly [{
8011
+ readonly connectionMethodId: "managed-agents";
8012
+ readonly requiredScopes: readonly [];
8013
+ }];
8014
+ readonly serviceId: "anthropic";
8015
+ };
8016
+ type: "anthropic.session.threadTerminated";
8017
+ } | {
8018
+ name: string;
8019
+ account: {
8020
+ readonly connectionOptions: readonly [{
8021
+ readonly connectionMethodId: "managed-agents";
8022
+ readonly requiredScopes: readonly [];
8023
+ }];
8024
+ readonly serviceId: "anthropic";
8025
+ };
8026
+ type: "anthropic.session.updated";
7587
8027
  } | {
7588
8028
  name: string;
7589
8029
  account: {
@@ -1,5 +1,6 @@
1
1
  import { airtableTriggerDefinitions } from "./airtable.js";
2
2
  import { apifyTriggerDefinitions } from "./apify.js";
3
+ import { anthropicTriggerDefinitions } from "./anthropic.js";
3
4
  import { axiomTriggerDefinitions } from "./axiom.js";
4
5
  import { automateTriggerDefinitions } from "./automate.js";
5
6
  import { asanaTriggerDefinitions } from "./asana.js";
@@ -29,6 +30,7 @@ import { getIntegrationService } from "../catalog.js";
29
30
  export { getDashboardRunEndpoint, getDashboardRunEndpointKey, getHttpTriggerEndpoint, getHttpTriggerEndpointKey, getMailhookAddress, getMailhookAddressKey, PLATFORM_EMAIL_DOMAIN, DASHBOARD_RUN_CONFIG_SCHEMA, } from "./core.js";
30
31
  /** Plain shared definitions for every public trigger type. */
31
32
  export const triggerDefinitions = {
33
+ ...anthropicTriggerDefinitions,
32
34
  ...apifyTriggerDefinitions,
33
35
  ...airtableTriggerDefinitions,
34
36
  ...axiomTriggerDefinitions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/catalog",
3
- "version": "0.137.0",
3
+ "version": "0.138.0",
4
4
  "description": "Shared integration service and trigger definitions for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,6 +20,7 @@
20
20
  "exports": {
21
21
  ".": "./src/index.ts",
22
22
  "./authoring": "./src/authoring.ts",
23
+ "./triggers/anthropic": "./src/triggers/anthropic.ts",
23
24
  "./triggers/apify": "./src/triggers/apify.ts",
24
25
  "./triggers/airtable": "./src/triggers/airtable.ts",
25
26
  "./triggers/axiom": "./src/triggers/axiom.ts",
@@ -99,6 +100,11 @@
99
100
  "types": "./dist/authoring.d.ts",
100
101
  "default": "./dist/authoring.js"
101
102
  },
103
+ "./triggers/anthropic": {
104
+ "bun": "./src/triggers/anthropic.ts",
105
+ "types": "./dist/triggers/anthropic.d.ts",
106
+ "default": "./dist/triggers/anthropic.js"
107
+ },
102
108
  "./triggers/apify": {
103
109
  "bun": "./src/triggers/apify.ts",
104
110
  "types": "./dist/triggers/apify.d.ts",
package/src/catalog.ts CHANGED
@@ -33,11 +33,43 @@ export const airtableService = defineIntegrationService({
33
33
  preferredConnectionMethodId: "oauth",
34
34
  })
35
35
 
36
- export const anthropicService = defineApiKeyService({
37
- description: "Connect an Anthropic API key.",
36
+ export const anthropicService = defineIntegrationService({
37
+ connectionMethods: [
38
+ {
39
+ credentialUrl: "https://platform.claude.com/settings/keys",
40
+ fields: [{ ...API_KEY_FIELD, placeholder: "sk-ant-..." }],
41
+ id: "api-key",
42
+ name: "API key",
43
+ type: "form",
44
+ },
45
+ {
46
+ credentialUrl: "https://platform.claude.com/settings/webhooks",
47
+ fields: [
48
+ { ...API_KEY_FIELD, placeholder: "sk-ant-..." },
49
+ {
50
+ input: "text",
51
+ label: "Workspace ID",
52
+ name: "workspaceId",
53
+ placeholder: "Optional for single-workspace keys",
54
+ required: false,
55
+ },
56
+ {
57
+ input: "password",
58
+ label: "Webhook signing key",
59
+ name: "webhookSecret",
60
+ placeholder: "whsec_...",
61
+ required: true,
62
+ },
63
+ ],
64
+ id: "managed-agents",
65
+ name: "Managed Agents",
66
+ type: "form",
67
+ },
68
+ ],
69
+ description:
70
+ "Connect Anthropic for Claude models or Claude Managed Agents and webhooks.",
38
71
  id: "anthropic",
39
72
  name: "Anthropic",
40
- placeholder: "sk-ant-...",
41
73
  })
42
74
 
43
75
  export const apolloService = defineIntegrationService({
@@ -0,0 +1,46 @@
1
+ import type { IntegrationAccountRequirement, TriggerDefinition } from "../types"
2
+
3
+ const ANTHROPIC_ACCOUNT = {
4
+ connectionOptions: [
5
+ { connectionMethodId: "managed-agents", requiredScopes: [] },
6
+ ],
7
+ serviceId: "anthropic",
8
+ } as const satisfies IntegrationAccountRequirement
9
+
10
+ export const anthropicTriggerDefinitions = {
11
+ anthropicAgentArchived: trigger("anthropic.agent.archived"),
12
+ anthropicAgentCreated: trigger("anthropic.agent.created"),
13
+ anthropicAgentDeleted: trigger("anthropic.agent.deleted"),
14
+ anthropicAgentEvent: trigger("anthropic.agent.event"),
15
+ anthropicAgentUpdated: trigger("anthropic.agent.updated"),
16
+ anthropicEnvironmentArchived: trigger("anthropic.environment.archived"),
17
+ anthropicEnvironmentCreated: trigger("anthropic.environment.created"),
18
+ anthropicEnvironmentDeleted: trigger("anthropic.environment.deleted"),
19
+ anthropicEnvironmentEvent: trigger("anthropic.environment.event"),
20
+ anthropicEnvironmentUpdated: trigger("anthropic.environment.updated"),
21
+ anthropicSessionBudgetReached: trigger("anthropic.session.budgetReached"),
22
+ anthropicSessionDeleted: trigger("anthropic.session.deleted"),
23
+ anthropicSessionEvent: trigger("anthropic.session.event"),
24
+ anthropicSessionIdled: trigger("anthropic.session.idled"),
25
+ anthropicSessionOutcomeEvaluationEnded: trigger(
26
+ "anthropic.session.outcomeEvaluationEnded",
27
+ ),
28
+ anthropicSessionRescheduled: trigger("anthropic.session.rescheduled"),
29
+ anthropicSessionRunStarted: trigger("anthropic.session.runStarted"),
30
+ anthropicSessionTerminated: trigger("anthropic.session.terminated"),
31
+ anthropicSessionThreadCreated: trigger("anthropic.session.threadCreated"),
32
+ anthropicSessionThreadIdled: trigger("anthropic.session.threadIdled"),
33
+ anthropicSessionThreadTerminated: trigger(
34
+ "anthropic.session.threadTerminated",
35
+ ),
36
+ anthropicSessionUpdated: trigger("anthropic.session.updated"),
37
+ } as const satisfies Record<string, TriggerDefinition>
38
+
39
+ /**
40
+ * Creates a Managed Agents trigger catalog entry.
41
+ *
42
+ * @param type - Stable event type.
43
+ */
44
+ function trigger<const TType extends string>(type: TType) {
45
+ return { account: ANTHROPIC_ACCOUNT, type } as const
46
+ }
@@ -1,5 +1,6 @@
1
1
  import { airtableTriggerDefinitions } from "./airtable"
2
2
  import { apifyTriggerDefinitions } from "./apify"
3
+ import { anthropicTriggerDefinitions } from "./anthropic"
3
4
  import { axiomTriggerDefinitions } from "./axiom"
4
5
  import { automateTriggerDefinitions } from "./automate"
5
6
  import { asanaTriggerDefinitions } from "./asana"
@@ -53,6 +54,7 @@ export {
53
54
 
54
55
  /** Plain shared definitions for every public trigger type. */
55
56
  export const triggerDefinitions = {
57
+ ...anthropicTriggerDefinitions,
56
58
  ...apifyTriggerDefinitions,
57
59
  ...airtableTriggerDefinitions,
58
60
  ...axiomTriggerDefinitions,