@zibby/skills 0.1.34 → 0.1.35

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/lark.d.ts ADDED
@@ -0,0 +1,161 @@
1
+ export function _resetLarkTokenCache(): void;
2
+ export namespace larkSkill {
3
+ let id: string;
4
+ let serverName: string;
5
+ let allowedTools: string[];
6
+ let requiresIntegration: "lark";
7
+ let description: string;
8
+ let envKeys: any[];
9
+ let promptFragment: string;
10
+ /**
11
+ * MCP-style agents (Claude Code / Cursor / Codex / Gemini) call
12
+ * this. Returns the spawn spec for our self-contained MCP binary.
13
+ * Pattern mirrors @zibby/mcp-browser + bin/mcp-sentry.mjs.
14
+ *
15
+ * Returns null when the binary can't be found (e.g. running
16
+ * outside a node_modules layout) — agent strategy falls back to
17
+ * its built-in tools, the in-process path keeps working for the
18
+ * `assistant` agent.
19
+ */
20
+ function resolve(): {
21
+ type: string;
22
+ command: string;
23
+ args: any[];
24
+ env: {};
25
+ alwaysLoad: boolean;
26
+ };
27
+ let tools: ({
28
+ name: string;
29
+ description: string;
30
+ input_schema: {
31
+ type: string;
32
+ properties: {
33
+ receive_id: {
34
+ type: string;
35
+ description: string;
36
+ };
37
+ text: {
38
+ type: string;
39
+ description: string;
40
+ };
41
+ message_id?: undefined;
42
+ page_size?: undefined;
43
+ chat_id?: undefined;
44
+ email?: undefined;
45
+ query?: undefined;
46
+ limit?: undefined;
47
+ };
48
+ required: string[];
49
+ };
50
+ } | {
51
+ name: string;
52
+ description: string;
53
+ input_schema: {
54
+ type: string;
55
+ properties: {
56
+ message_id: {
57
+ type: string;
58
+ description: string;
59
+ };
60
+ text: {
61
+ type: string;
62
+ description: string;
63
+ };
64
+ receive_id?: undefined;
65
+ page_size?: undefined;
66
+ chat_id?: undefined;
67
+ email?: undefined;
68
+ query?: undefined;
69
+ limit?: undefined;
70
+ };
71
+ required: string[];
72
+ };
73
+ } | {
74
+ name: string;
75
+ description: string;
76
+ input_schema: {
77
+ type: string;
78
+ properties: {
79
+ page_size: {
80
+ type: string;
81
+ description: string;
82
+ };
83
+ receive_id?: undefined;
84
+ text?: undefined;
85
+ message_id?: undefined;
86
+ chat_id?: undefined;
87
+ email?: undefined;
88
+ query?: undefined;
89
+ limit?: undefined;
90
+ };
91
+ required?: undefined;
92
+ };
93
+ } | {
94
+ name: string;
95
+ description: string;
96
+ input_schema: {
97
+ type: string;
98
+ properties: {
99
+ chat_id: {
100
+ type: string;
101
+ description: string;
102
+ };
103
+ page_size: {
104
+ type: string;
105
+ description: string;
106
+ };
107
+ receive_id?: undefined;
108
+ text?: undefined;
109
+ message_id?: undefined;
110
+ email?: undefined;
111
+ query?: undefined;
112
+ limit?: undefined;
113
+ };
114
+ required: string[];
115
+ };
116
+ } | {
117
+ name: string;
118
+ description: string;
119
+ input_schema: {
120
+ type: string;
121
+ properties: {
122
+ email: {
123
+ type: string;
124
+ description: string;
125
+ };
126
+ receive_id?: undefined;
127
+ text?: undefined;
128
+ message_id?: undefined;
129
+ page_size?: undefined;
130
+ chat_id?: undefined;
131
+ query?: undefined;
132
+ limit?: undefined;
133
+ };
134
+ required: string[];
135
+ };
136
+ } | {
137
+ name: string;
138
+ description: string;
139
+ input_schema: {
140
+ type: string;
141
+ properties: {
142
+ query: {
143
+ type: string;
144
+ description: string;
145
+ };
146
+ limit: {
147
+ type: string;
148
+ description: string;
149
+ };
150
+ receive_id?: undefined;
151
+ text?: undefined;
152
+ message_id?: undefined;
153
+ page_size?: undefined;
154
+ chat_id?: undefined;
155
+ email?: undefined;
156
+ };
157
+ required: string[];
158
+ };
159
+ })[];
160
+ function handleToolCall(name: any, args: any): Promise<string>;
161
+ }
@@ -0,0 +1,344 @@
1
+ /**
2
+ * Low-level Linear GraphQL helper. POSTs { query, variables }, throws on
3
+ * transport or GraphQL errors, returns the `data` object.
4
+ *
5
+ * Exported so a future linearAdapter (neutral tracker layer) can issue
6
+ * queries this skill's tools don't cover without re-implementing auth.
7
+ * Keep this the single auth chokepoint.
8
+ *
9
+ * @param {string} query GraphQL document
10
+ * @param {object} [variables]
11
+ * @returns {Promise<any>} the GraphQL `data` payload
12
+ */
13
+ export function linearFetch(query: string, variables?: object): Promise<any>;
14
+ export namespace linearSkill {
15
+ let id: string;
16
+ let serverName: string;
17
+ let allowedTools: string[];
18
+ let requiresIntegration: "linear";
19
+ let envKeys: string[];
20
+ let description: string;
21
+ let promptFragment: string;
22
+ function resolve(): {
23
+ command: any;
24
+ args: any[];
25
+ env: {
26
+ LINEAR_API_URL: any;
27
+ };
28
+ description: string;
29
+ };
30
+ function handleToolCall(name: any, args: any): Promise<string>;
31
+ let tools: ({
32
+ name: string;
33
+ description: string;
34
+ input_schema: {
35
+ type: string;
36
+ properties: {
37
+ limit: {
38
+ type: string;
39
+ description: string;
40
+ };
41
+ teamId?: undefined;
42
+ teamKey?: undefined;
43
+ stateId?: undefined;
44
+ stateName?: undefined;
45
+ label?: undefined;
46
+ assigneeId?: undefined;
47
+ updatedAfter?: undefined;
48
+ identifier?: undefined;
49
+ issueId?: undefined;
50
+ body?: undefined;
51
+ toStatus?: undefined;
52
+ url?: undefined;
53
+ title?: undefined;
54
+ subtitle?: undefined;
55
+ };
56
+ required?: undefined;
57
+ };
58
+ } | {
59
+ name: string;
60
+ description: string;
61
+ input_schema: {
62
+ type: string;
63
+ properties: {
64
+ teamId: {
65
+ type: string;
66
+ description: string;
67
+ };
68
+ teamKey: {
69
+ type: string;
70
+ description: string;
71
+ };
72
+ limit: {
73
+ type: string;
74
+ description: string;
75
+ };
76
+ stateId?: undefined;
77
+ stateName?: undefined;
78
+ label?: undefined;
79
+ assigneeId?: undefined;
80
+ updatedAfter?: undefined;
81
+ identifier?: undefined;
82
+ issueId?: undefined;
83
+ body?: undefined;
84
+ toStatus?: undefined;
85
+ url?: undefined;
86
+ title?: undefined;
87
+ subtitle?: undefined;
88
+ };
89
+ required?: undefined;
90
+ };
91
+ } | {
92
+ name: string;
93
+ description: string;
94
+ input_schema: {
95
+ type: string;
96
+ properties: {
97
+ teamId: {
98
+ type: string;
99
+ description: string;
100
+ };
101
+ limit: {
102
+ type: string;
103
+ description: string;
104
+ };
105
+ teamKey?: undefined;
106
+ stateId?: undefined;
107
+ stateName?: undefined;
108
+ label?: undefined;
109
+ assigneeId?: undefined;
110
+ updatedAfter?: undefined;
111
+ identifier?: undefined;
112
+ issueId?: undefined;
113
+ body?: undefined;
114
+ toStatus?: undefined;
115
+ url?: undefined;
116
+ title?: undefined;
117
+ subtitle?: undefined;
118
+ };
119
+ required?: undefined;
120
+ };
121
+ } | {
122
+ name: string;
123
+ description: string;
124
+ input_schema: {
125
+ type: string;
126
+ properties: {
127
+ teamId: {
128
+ type: string;
129
+ description: string;
130
+ };
131
+ teamKey: {
132
+ type: string;
133
+ description: string;
134
+ };
135
+ stateId: {
136
+ type: string;
137
+ description: string;
138
+ };
139
+ stateName: {
140
+ type: string;
141
+ description: string;
142
+ };
143
+ label: {
144
+ type: string;
145
+ description: string;
146
+ };
147
+ assigneeId: {
148
+ type: string;
149
+ description: string;
150
+ };
151
+ updatedAfter: {
152
+ type: string;
153
+ description: string;
154
+ };
155
+ limit: {
156
+ type: string;
157
+ description: string;
158
+ };
159
+ identifier?: undefined;
160
+ issueId?: undefined;
161
+ body?: undefined;
162
+ toStatus?: undefined;
163
+ url?: undefined;
164
+ title?: undefined;
165
+ subtitle?: undefined;
166
+ };
167
+ required?: undefined;
168
+ };
169
+ } | {
170
+ name: string;
171
+ description: string;
172
+ input_schema: {
173
+ type: string;
174
+ properties: {
175
+ identifier: {
176
+ type: string;
177
+ description: string;
178
+ };
179
+ issueId: {
180
+ type: string;
181
+ description: string;
182
+ };
183
+ limit?: undefined;
184
+ teamId?: undefined;
185
+ teamKey?: undefined;
186
+ stateId?: undefined;
187
+ stateName?: undefined;
188
+ label?: undefined;
189
+ assigneeId?: undefined;
190
+ updatedAfter?: undefined;
191
+ body?: undefined;
192
+ toStatus?: undefined;
193
+ url?: undefined;
194
+ title?: undefined;
195
+ subtitle?: undefined;
196
+ };
197
+ required?: undefined;
198
+ };
199
+ } | {
200
+ name: string;
201
+ description: string;
202
+ input_schema: {
203
+ type: string;
204
+ properties: {
205
+ identifier: {
206
+ type: string;
207
+ description: string;
208
+ };
209
+ issueId: {
210
+ type: string;
211
+ description: string;
212
+ };
213
+ limit: {
214
+ type: string;
215
+ description: string;
216
+ };
217
+ teamId?: undefined;
218
+ teamKey?: undefined;
219
+ stateId?: undefined;
220
+ stateName?: undefined;
221
+ label?: undefined;
222
+ assigneeId?: undefined;
223
+ updatedAfter?: undefined;
224
+ body?: undefined;
225
+ toStatus?: undefined;
226
+ url?: undefined;
227
+ title?: undefined;
228
+ subtitle?: undefined;
229
+ };
230
+ required?: undefined;
231
+ };
232
+ } | {
233
+ name: string;
234
+ description: string;
235
+ input_schema: {
236
+ type: string;
237
+ properties: {
238
+ identifier: {
239
+ type: string;
240
+ description: string;
241
+ };
242
+ issueId: {
243
+ type: string;
244
+ description: string;
245
+ };
246
+ body: {
247
+ type: string;
248
+ description: string;
249
+ };
250
+ limit?: undefined;
251
+ teamId?: undefined;
252
+ teamKey?: undefined;
253
+ stateId?: undefined;
254
+ stateName?: undefined;
255
+ label?: undefined;
256
+ assigneeId?: undefined;
257
+ updatedAfter?: undefined;
258
+ toStatus?: undefined;
259
+ url?: undefined;
260
+ title?: undefined;
261
+ subtitle?: undefined;
262
+ };
263
+ required: string[];
264
+ };
265
+ } | {
266
+ name: string;
267
+ description: string;
268
+ input_schema: {
269
+ type: string;
270
+ properties: {
271
+ identifier: {
272
+ type: string;
273
+ description: string;
274
+ };
275
+ issueId: {
276
+ type: string;
277
+ description: string;
278
+ };
279
+ stateId: {
280
+ type: string;
281
+ description: string;
282
+ };
283
+ stateName: {
284
+ type: string;
285
+ description: string;
286
+ };
287
+ toStatus: {
288
+ type: string;
289
+ description: string;
290
+ };
291
+ limit?: undefined;
292
+ teamId?: undefined;
293
+ teamKey?: undefined;
294
+ label?: undefined;
295
+ assigneeId?: undefined;
296
+ updatedAfter?: undefined;
297
+ body?: undefined;
298
+ url?: undefined;
299
+ title?: undefined;
300
+ subtitle?: undefined;
301
+ };
302
+ required?: undefined;
303
+ };
304
+ } | {
305
+ name: string;
306
+ description: string;
307
+ input_schema: {
308
+ type: string;
309
+ properties: {
310
+ identifier: {
311
+ type: string;
312
+ description: string;
313
+ };
314
+ issueId: {
315
+ type: string;
316
+ description: string;
317
+ };
318
+ url: {
319
+ type: string;
320
+ description: string;
321
+ };
322
+ title: {
323
+ type: string;
324
+ description: string;
325
+ };
326
+ subtitle: {
327
+ type: string;
328
+ description: string;
329
+ };
330
+ limit?: undefined;
331
+ teamId?: undefined;
332
+ teamKey?: undefined;
333
+ stateId?: undefined;
334
+ stateName?: undefined;
335
+ label?: undefined;
336
+ assigneeId?: undefined;
337
+ updatedAfter?: undefined;
338
+ body?: undefined;
339
+ toStatus?: undefined;
340
+ };
341
+ required: string[];
342
+ };
343
+ })[];
344
+ }