@zibby/skills 0.1.33 → 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.
Files changed (87) hide show
  1. package/README.md +2 -0
  2. package/dist/browser.d.ts +19 -0
  3. package/dist/chat-memory.d.ts +355 -0
  4. package/dist/chat-notify.d.ts +409 -0
  5. package/dist/core-tools.d.ts +131 -0
  6. package/dist/function-skill.d.ts +149 -0
  7. package/dist/git.d.ts +72 -0
  8. package/dist/github.d.ts +777 -0
  9. package/dist/github.js +4 -3
  10. package/dist/gitlab.d.ts +396 -0
  11. package/dist/gitlab.js +19 -0
  12. package/dist/index.d.ts +45 -0
  13. package/dist/index.js +145 -126
  14. package/dist/integrations.d.ts +110 -0
  15. package/dist/jira.d.ts +547 -0
  16. package/dist/lark.d.ts +161 -0
  17. package/dist/linear.d.ts +344 -0
  18. package/dist/llm-billing.d.ts +294 -0
  19. package/dist/memory.d.ts +137 -0
  20. package/dist/package.json +67 -17
  21. package/dist/plane.d.ts +24 -0
  22. package/dist/report.d.ts +354 -0
  23. package/dist/report.js +9 -9
  24. package/dist/sentry.d.ts +43 -0
  25. package/dist/skill-installer.d.ts +86 -0
  26. package/dist/slack.d.ts +284 -0
  27. package/dist/test-runner.d.ts +220 -0
  28. package/dist/trackers/github-adapter.d.ts +96 -0
  29. package/dist/trackers/github-adapter.js +4 -3
  30. package/dist/trackers/index.d.ts +27 -0
  31. package/dist/trackers/index.js +16 -15
  32. package/dist/trackers/jira-adapter.d.ts +90 -0
  33. package/dist/trackers/linear-adapter.d.ts +89 -0
  34. package/dist/trackers/plane-adapter.d.ts +101 -0
  35. package/dist/trackers/types.d.ts +335 -0
  36. package/dist/workflow-builder.d.ts +245 -0
  37. package/docs/apps/agent-ops.md +6 -6
  38. package/docs/apps/deploy.md +1 -1
  39. package/docs/apps/index.md +1 -1
  40. package/docs/apps/managing.md +1 -1
  41. package/docs/cli-reference.md +65 -65
  42. package/docs/cloning-repositories.md +9 -9
  43. package/docs/cloud/bundles.md +8 -8
  44. package/docs/cloud/dedicated-egress.md +6 -6
  45. package/docs/cloud/env-vars.md +29 -29
  46. package/docs/cloud/limits.md +11 -11
  47. package/docs/cloud/triggering.md +16 -16
  48. package/docs/concepts/agents.md +4 -4
  49. package/docs/concepts/sessions.md +7 -7
  50. package/docs/concepts/state.md +1 -1
  51. package/docs/concepts/sub-graphs.md +9 -9
  52. package/docs/get-started/deploy.md +14 -14
  53. package/docs/get-started/install.md +4 -4
  54. package/docs/get-started/run-locally.md +12 -12
  55. package/docs/get-started/trigger-and-logs.md +14 -14
  56. package/docs/get-started/use-from-agents.md +17 -17
  57. package/docs/get-started/your-first-workflow.md +8 -8
  58. package/docs/integrations/gitlab.md +1 -1
  59. package/docs/integrations/lark.md +2 -2
  60. package/docs/integrations/linear.md +1 -1
  61. package/docs/integrations/notion.md +2 -2
  62. package/docs/integrations/plane.md +1 -1
  63. package/docs/integrations/slack.md +1 -1
  64. package/docs/intro.md +4 -4
  65. package/docs/legacy/test-automation.md +2 -2
  66. package/docs/packages/cli.md +11 -11
  67. package/docs/packages/core.md +2 -2
  68. package/docs/packages/mcp-cli.md +18 -18
  69. package/docs/packages/skills.md +2 -2
  70. package/docs/packages/ui-memory.md +1 -1
  71. package/docs/recipes/bug-autofix.md +1 -1
  72. package/docs/recipes/index.md +3 -3
  73. package/docs/recipes/pipeline-supervisor.md +4 -4
  74. package/docs/recipes/sentry-triage.md +7 -7
  75. package/docs/recipes/test.md +6 -6
  76. package/docs/skills/browser.md +2 -2
  77. package/docs/skills/chat-memory.md +1 -1
  78. package/docs/skills/core-tools.md +1 -1
  79. package/docs/skills/function-skill.md +1 -1
  80. package/docs/skills/github.md +2 -2
  81. package/docs/skills/index.md +1 -1
  82. package/docs/skills/jira.md +1 -1
  83. package/docs/skills/lark.md +1 -1
  84. package/docs/skills/memory.md +2 -2
  85. package/docs/skills/sentry.md +1 -1
  86. package/docs/skills/slack.md +2 -2
  87. package/package.json +67 -17
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
+ }