@bubblelab/bubble-core 0.1.170 → 0.1.172
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/bubble-bundle.d.ts +157 -112
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.d.ts +84 -84
- package/dist/bubbles/service-bubble/airtable.d.ts +100 -100
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
- package/dist/bubbles/service-bubble/apify/apify.d.ts +14 -14
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +74 -74
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +3 -3
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +3 -3
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +202 -202
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +12 -12
- package/dist/bubbles/service-bubble/gmail.d.ts +16 -16
- package/dist/bubbles/service-bubble/google-calendar.d.ts +80 -80
- package/dist/bubbles/service-bubble/google-drive.d.ts +40 -40
- package/dist/bubbles/service-bubble/http.d.ts +6 -6
- package/dist/bubbles/service-bubble/insforge-db.d.ts +6 -6
- package/dist/bubbles/service-bubble/jira/jira.d.ts +16 -16
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +18 -18
- package/dist/bubbles/service-bubble/linear/index.d.ts +5 -0
- package/dist/bubbles/service-bubble/linear/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/linear/index.js +5 -0
- package/dist/bubbles/service-bubble/linear/index.js.map +1 -0
- package/dist/bubbles/service-bubble/linear/linear.d.ts +1695 -0
- package/dist/bubbles/service-bubble/linear/linear.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/linear/linear.integration.flow.d.ts +33 -0
- package/dist/bubbles/service-bubble/linear/linear.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/linear/linear.integration.flow.js +432 -0
- package/dist/bubbles/service-bubble/linear/linear.integration.flow.js.map +1 -0
- package/dist/bubbles/service-bubble/linear/linear.js +463 -0
- package/dist/bubbles/service-bubble/linear/linear.js.map +1 -0
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +2059 -0
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/linear/linear.schema.js +444 -0
- package/dist/bubbles/service-bubble/linear/linear.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/linear/linear.utils.d.ts +24 -0
- package/dist/bubbles/service-bubble/linear/linear.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/linear/linear.utils.js +288 -0
- package/dist/bubbles/service-bubble/linear/linear.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/notion/notion.d.ts +272 -272
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +6 -6
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/slack/slack.d.ts +160 -160
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +106 -106
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +44 -44
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +34 -34
- package/dist/bubbles.json +1357 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linear.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/linear/linear.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,YAAY,EAWlB,MAAM,oBAAoB,CAAC;AAgB5B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,YAAY,CACvB,CAAC,SAAS,iBAAiB,GAAG,iBAAiB,CAC/C,SAAQ,aAAa,CACrB,CAAC,EACD,OAAO,CAAC,YAAY,EAAE;IAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC,CACrD;IACC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IAC1C,MAAM,CAAC,QAAQ,CAAC,OAAO,YAAY;IACnC,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAG,OAAO,CAAU;IAC5C,MAAM,CAAC,QAAQ,CAAC,UAAU,YAAY;IACtC,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAsB;IAC5C,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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Result {
|
|
3
|
+
operation: string;
|
|
4
|
+
success: boolean;
|
|
5
|
+
details?: string;
|
|
6
|
+
data?: unknown;
|
|
7
|
+
}
|
|
8
|
+
export interface Output {
|
|
9
|
+
success: boolean;
|
|
10
|
+
testResults: TestResult[];
|
|
11
|
+
createdIssueIdentifier?: string;
|
|
12
|
+
teamId?: string;
|
|
13
|
+
summary: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Integration test flow for the Linear bubble.
|
|
17
|
+
*
|
|
18
|
+
* Tests all operations sequentially:
|
|
19
|
+
* 1. list_teams - Find a team to work with
|
|
20
|
+
* 2. list_workflow_states - Get workflow states for the team
|
|
21
|
+
* 3. list_labels - Get labels for the team
|
|
22
|
+
* 4. list_projects - Get projects
|
|
23
|
+
* 5. create - Create a test issue with markdown description
|
|
24
|
+
* 6. get - Retrieve the created issue
|
|
25
|
+
* 7. update - Update the issue (title, priority, state change by name)
|
|
26
|
+
* 8. add_comment - Add a markdown comment
|
|
27
|
+
* 9. get_comments - Retrieve comments
|
|
28
|
+
* 10. search - Search for the test issue
|
|
29
|
+
*/
|
|
30
|
+
export declare class LinearIntegrationFlow extends BubbleFlow<'webhook/http'> {
|
|
31
|
+
handle(_payload: WebhookEvent): Promise<Output>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=linear.integration.flow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linear.integration.flow.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/linear/linear.integration.flow.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,YAAY,EAElB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,qBAAsB,SAAQ,UAAU,CAAC,cAAc,CAAC;IAC7D,MAAM,CAAC,QAAQ,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,CAAC;CAobtD"}
|
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
import { BubbleFlow, LinearBubble, } from '@bubblelab/bubble-core';
|
|
2
|
+
/**
|
|
3
|
+
* Integration test flow for the Linear bubble.
|
|
4
|
+
*
|
|
5
|
+
* Tests all operations sequentially:
|
|
6
|
+
* 1. list_teams - Find a team to work with
|
|
7
|
+
* 2. list_workflow_states - Get workflow states for the team
|
|
8
|
+
* 3. list_labels - Get labels for the team
|
|
9
|
+
* 4. list_projects - Get projects
|
|
10
|
+
* 5. create - Create a test issue with markdown description
|
|
11
|
+
* 6. get - Retrieve the created issue
|
|
12
|
+
* 7. update - Update the issue (title, priority, state change by name)
|
|
13
|
+
* 8. add_comment - Add a markdown comment
|
|
14
|
+
* 9. get_comments - Retrieve comments
|
|
15
|
+
* 10. search - Search for the test issue
|
|
16
|
+
*/
|
|
17
|
+
export class LinearIntegrationFlow extends BubbleFlow {
|
|
18
|
+
async handle(_payload) {
|
|
19
|
+
const testResults = [];
|
|
20
|
+
let teamId;
|
|
21
|
+
let createdIssueId;
|
|
22
|
+
let createdIssueIdentifier;
|
|
23
|
+
let workflowStates = [];
|
|
24
|
+
// -----------------------------------------------------------------------
|
|
25
|
+
// TEST 1: list_teams
|
|
26
|
+
// -----------------------------------------------------------------------
|
|
27
|
+
try {
|
|
28
|
+
const result = await new LinearBubble({
|
|
29
|
+
operation: 'list_teams',
|
|
30
|
+
}).action();
|
|
31
|
+
if (result.success &&
|
|
32
|
+
result.data.operation === 'list_teams' &&
|
|
33
|
+
result.data.teams &&
|
|
34
|
+
result.data.teams.length > 0) {
|
|
35
|
+
const team = result.data.teams[0];
|
|
36
|
+
teamId = team.id;
|
|
37
|
+
testResults.push({
|
|
38
|
+
operation: 'list_teams',
|
|
39
|
+
success: true,
|
|
40
|
+
details: `Found ${result.data.teams.length} team(s). Using: ${team.name} (${team.key})`,
|
|
41
|
+
data: { teamId, totalTeams: result.data.teams.length },
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
testResults.push({
|
|
46
|
+
operation: 'list_teams',
|
|
47
|
+
success: false,
|
|
48
|
+
details: `No teams found or error: ${result.data.error}`,
|
|
49
|
+
});
|
|
50
|
+
return {
|
|
51
|
+
success: false,
|
|
52
|
+
testResults,
|
|
53
|
+
summary: 'Cannot proceed without a team',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
catch (error) {
|
|
58
|
+
testResults.push({
|
|
59
|
+
operation: 'list_teams',
|
|
60
|
+
success: false,
|
|
61
|
+
details: `Error: ${error instanceof Error ? error.message : String(error)}`,
|
|
62
|
+
});
|
|
63
|
+
return {
|
|
64
|
+
success: false,
|
|
65
|
+
testResults,
|
|
66
|
+
summary: 'Cannot proceed without a team',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
// -----------------------------------------------------------------------
|
|
70
|
+
// TEST 2: list_workflow_states
|
|
71
|
+
// -----------------------------------------------------------------------
|
|
72
|
+
try {
|
|
73
|
+
const result = await new LinearBubble({
|
|
74
|
+
operation: 'list_workflow_states',
|
|
75
|
+
teamId: teamId,
|
|
76
|
+
}).action();
|
|
77
|
+
if (result.success &&
|
|
78
|
+
result.data.operation === 'list_workflow_states' &&
|
|
79
|
+
result.data.states) {
|
|
80
|
+
workflowStates = result.data.states;
|
|
81
|
+
testResults.push({
|
|
82
|
+
operation: 'list_workflow_states',
|
|
83
|
+
success: true,
|
|
84
|
+
details: `Found ${workflowStates.length} state(s): ${workflowStates.map((s) => s.name).join(', ')}`,
|
|
85
|
+
data: workflowStates,
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
testResults.push({
|
|
90
|
+
operation: 'list_workflow_states',
|
|
91
|
+
success: false,
|
|
92
|
+
details: `Error: ${result.data.error}`,
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
catch (error) {
|
|
97
|
+
testResults.push({
|
|
98
|
+
operation: 'list_workflow_states',
|
|
99
|
+
success: false,
|
|
100
|
+
details: `Error: ${error instanceof Error ? error.message : String(error)}`,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
// -----------------------------------------------------------------------
|
|
104
|
+
// TEST 3: list_labels
|
|
105
|
+
// -----------------------------------------------------------------------
|
|
106
|
+
try {
|
|
107
|
+
const result = await new LinearBubble({
|
|
108
|
+
operation: 'list_labels',
|
|
109
|
+
teamId: teamId,
|
|
110
|
+
}).action();
|
|
111
|
+
if (result.success &&
|
|
112
|
+
result.data.operation === 'list_labels' &&
|
|
113
|
+
result.data.labels) {
|
|
114
|
+
testResults.push({
|
|
115
|
+
operation: 'list_labels',
|
|
116
|
+
success: true,
|
|
117
|
+
details: `Found ${result.data.labels.length} label(s)`,
|
|
118
|
+
data: result.data.labels,
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
testResults.push({
|
|
123
|
+
operation: 'list_labels',
|
|
124
|
+
success: false,
|
|
125
|
+
details: `Error: ${result.data.error}`,
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
catch (error) {
|
|
130
|
+
testResults.push({
|
|
131
|
+
operation: 'list_labels',
|
|
132
|
+
success: false,
|
|
133
|
+
details: `Error: ${error instanceof Error ? error.message : String(error)}`,
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
// -----------------------------------------------------------------------
|
|
137
|
+
// TEST 4: list_projects
|
|
138
|
+
// -----------------------------------------------------------------------
|
|
139
|
+
try {
|
|
140
|
+
const result = await new LinearBubble({
|
|
141
|
+
operation: 'list_projects',
|
|
142
|
+
teamId: teamId,
|
|
143
|
+
}).action();
|
|
144
|
+
if (result.success &&
|
|
145
|
+
result.data.operation === 'list_projects' &&
|
|
146
|
+
result.data.projects) {
|
|
147
|
+
testResults.push({
|
|
148
|
+
operation: 'list_projects',
|
|
149
|
+
success: true,
|
|
150
|
+
details: `Found ${result.data.projects.length} project(s)`,
|
|
151
|
+
data: result.data.projects,
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
testResults.push({
|
|
156
|
+
operation: 'list_projects',
|
|
157
|
+
success: false,
|
|
158
|
+
details: `Error: ${result.data.error}`,
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
catch (error) {
|
|
163
|
+
testResults.push({
|
|
164
|
+
operation: 'list_projects',
|
|
165
|
+
success: false,
|
|
166
|
+
details: `Error: ${error instanceof Error ? error.message : String(error)}`,
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
// -----------------------------------------------------------------------
|
|
170
|
+
// TEST 5: create
|
|
171
|
+
// -----------------------------------------------------------------------
|
|
172
|
+
try {
|
|
173
|
+
const description = `# Integration Test Issue
|
|
174
|
+
|
|
175
|
+
This issue was created by the **Linear Integration Test Flow**.
|
|
176
|
+
|
|
177
|
+
## Test Details
|
|
178
|
+
- **Created at**: ${new Date().toISOString()}
|
|
179
|
+
- **Purpose**: Verify all Linear bubble operations
|
|
180
|
+
|
|
181
|
+
### Markdown Features Tested
|
|
182
|
+
1. **Bold text**
|
|
183
|
+
2. *Italic text*
|
|
184
|
+
3. \`Inline code\`
|
|
185
|
+
4. [Link to BubbleLab](https://bubblelab.ai)
|
|
186
|
+
|
|
187
|
+
> This is a blockquote for testing
|
|
188
|
+
|
|
189
|
+
\`\`\`typescript
|
|
190
|
+
const test = "Hello from integration test!";
|
|
191
|
+
console.log(test);
|
|
192
|
+
\`\`\`
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
- Bullet point 1
|
|
197
|
+
- Bullet point 2
|
|
198
|
+
- Bullet point 3`;
|
|
199
|
+
const result = await new LinearBubble({
|
|
200
|
+
operation: 'create',
|
|
201
|
+
teamId: teamId,
|
|
202
|
+
title: `[Integration Test] Linear Bubble Test - ${new Date().toISOString()}`,
|
|
203
|
+
description,
|
|
204
|
+
priority: 4, // Low priority
|
|
205
|
+
}).action();
|
|
206
|
+
if (result.success &&
|
|
207
|
+
result.data.operation === 'create' &&
|
|
208
|
+
result.data.issue) {
|
|
209
|
+
createdIssueId = result.data.issue.id;
|
|
210
|
+
createdIssueIdentifier = result.data.issue.identifier;
|
|
211
|
+
testResults.push({
|
|
212
|
+
operation: 'create',
|
|
213
|
+
success: true,
|
|
214
|
+
details: `Created issue ${result.data.issue.identifier}${result.data.issue.url ? ` (${result.data.issue.url})` : ''}`,
|
|
215
|
+
data: result.data.issue,
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
else {
|
|
219
|
+
testResults.push({
|
|
220
|
+
operation: 'create',
|
|
221
|
+
success: false,
|
|
222
|
+
details: `Error: ${result.data.error}`,
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
catch (error) {
|
|
227
|
+
testResults.push({
|
|
228
|
+
operation: 'create',
|
|
229
|
+
success: false,
|
|
230
|
+
details: `Error: ${error instanceof Error ? error.message : String(error)}`,
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
// -----------------------------------------------------------------------
|
|
234
|
+
// TEST 6: get
|
|
235
|
+
// -----------------------------------------------------------------------
|
|
236
|
+
if (createdIssueIdentifier) {
|
|
237
|
+
try {
|
|
238
|
+
const result = await new LinearBubble({
|
|
239
|
+
operation: 'get',
|
|
240
|
+
identifier: createdIssueIdentifier,
|
|
241
|
+
}).action();
|
|
242
|
+
if (result.success &&
|
|
243
|
+
result.data.operation === 'get' &&
|
|
244
|
+
result.data.issue) {
|
|
245
|
+
testResults.push({
|
|
246
|
+
operation: 'get',
|
|
247
|
+
success: true,
|
|
248
|
+
details: `Retrieved issue ${createdIssueIdentifier}`,
|
|
249
|
+
data: result.data.issue,
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
testResults.push({
|
|
254
|
+
operation: 'get',
|
|
255
|
+
success: false,
|
|
256
|
+
details: `Error: ${result.data.error}`,
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
catch (error) {
|
|
261
|
+
testResults.push({
|
|
262
|
+
operation: 'get',
|
|
263
|
+
success: false,
|
|
264
|
+
details: `Error: ${error instanceof Error ? error.message : String(error)}`,
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
// -----------------------------------------------------------------------
|
|
269
|
+
// TEST 7: update (including state change by name)
|
|
270
|
+
// -----------------------------------------------------------------------
|
|
271
|
+
if (createdIssueId) {
|
|
272
|
+
try {
|
|
273
|
+
const targetState = workflowStates.find((s) => s.type === 'started' || s.name.toLowerCase() === 'in progress');
|
|
274
|
+
const result = await new LinearBubble({
|
|
275
|
+
operation: 'update',
|
|
276
|
+
id: createdIssueId,
|
|
277
|
+
title: `[Integration Test] Updated - ${new Date().toISOString()}`,
|
|
278
|
+
priority: 3, // Medium
|
|
279
|
+
...(targetState ? { stateName: targetState.name } : {}),
|
|
280
|
+
}).action();
|
|
281
|
+
if (result.success) {
|
|
282
|
+
testResults.push({
|
|
283
|
+
operation: 'update',
|
|
284
|
+
success: true,
|
|
285
|
+
details: `Updated issue${targetState ? ` and transitioned to "${targetState.name}"` : ''}`,
|
|
286
|
+
data: result.data,
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
else {
|
|
290
|
+
testResults.push({
|
|
291
|
+
operation: 'update',
|
|
292
|
+
success: false,
|
|
293
|
+
details: `Error: ${result.data.error}`,
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
catch (error) {
|
|
298
|
+
testResults.push({
|
|
299
|
+
operation: 'update',
|
|
300
|
+
success: false,
|
|
301
|
+
details: `Error: ${error instanceof Error ? error.message : String(error)}`,
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
// -----------------------------------------------------------------------
|
|
306
|
+
// TEST 8: add_comment
|
|
307
|
+
// -----------------------------------------------------------------------
|
|
308
|
+
if (createdIssueId) {
|
|
309
|
+
try {
|
|
310
|
+
const commentBody = `## Integration Test Comment
|
|
311
|
+
|
|
312
|
+
This comment was added by the integration test.
|
|
313
|
+
|
|
314
|
+
\`\`\`json
|
|
315
|
+
{
|
|
316
|
+
"test": true,
|
|
317
|
+
"timestamp": "${new Date().toISOString()}"
|
|
318
|
+
}
|
|
319
|
+
\`\`\`
|
|
320
|
+
|
|
321
|
+
**Status**: All operations tested successfully so far!`;
|
|
322
|
+
const result = await new LinearBubble({
|
|
323
|
+
operation: 'add_comment',
|
|
324
|
+
issueId: createdIssueId,
|
|
325
|
+
body: commentBody,
|
|
326
|
+
}).action();
|
|
327
|
+
if (result.success) {
|
|
328
|
+
testResults.push({
|
|
329
|
+
operation: 'add_comment',
|
|
330
|
+
success: true,
|
|
331
|
+
details: 'Added markdown comment',
|
|
332
|
+
data: result.data,
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
else {
|
|
336
|
+
testResults.push({
|
|
337
|
+
operation: 'add_comment',
|
|
338
|
+
success: false,
|
|
339
|
+
details: `Error: ${result.data.error}`,
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
catch (error) {
|
|
344
|
+
testResults.push({
|
|
345
|
+
operation: 'add_comment',
|
|
346
|
+
success: false,
|
|
347
|
+
details: `Error: ${error instanceof Error ? error.message : String(error)}`,
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
// -----------------------------------------------------------------------
|
|
352
|
+
// TEST 9: get_comments
|
|
353
|
+
// -----------------------------------------------------------------------
|
|
354
|
+
if (createdIssueId) {
|
|
355
|
+
try {
|
|
356
|
+
const result = await new LinearBubble({
|
|
357
|
+
operation: 'get_comments',
|
|
358
|
+
issueId: createdIssueId,
|
|
359
|
+
}).action();
|
|
360
|
+
if (result.success &&
|
|
361
|
+
result.data.operation === 'get_comments' &&
|
|
362
|
+
result.data.comments) {
|
|
363
|
+
testResults.push({
|
|
364
|
+
operation: 'get_comments',
|
|
365
|
+
success: true,
|
|
366
|
+
details: `Retrieved ${result.data.comments.length} comment(s)`,
|
|
367
|
+
data: result.data.comments,
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
else {
|
|
371
|
+
testResults.push({
|
|
372
|
+
operation: 'get_comments',
|
|
373
|
+
success: false,
|
|
374
|
+
details: `Error: ${result.data.error}`,
|
|
375
|
+
});
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
catch (error) {
|
|
379
|
+
testResults.push({
|
|
380
|
+
operation: 'get_comments',
|
|
381
|
+
success: false,
|
|
382
|
+
details: `Error: ${error instanceof Error ? error.message : String(error)}`,
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
// -----------------------------------------------------------------------
|
|
387
|
+
// TEST 10: search
|
|
388
|
+
// -----------------------------------------------------------------------
|
|
389
|
+
try {
|
|
390
|
+
const result = await new LinearBubble({
|
|
391
|
+
operation: 'search',
|
|
392
|
+
query: 'Integration Test',
|
|
393
|
+
teamId: teamId,
|
|
394
|
+
limit: 5,
|
|
395
|
+
}).action();
|
|
396
|
+
if (result.success &&
|
|
397
|
+
result.data.operation === 'search' &&
|
|
398
|
+
result.data.issues) {
|
|
399
|
+
testResults.push({
|
|
400
|
+
operation: 'search',
|
|
401
|
+
success: true,
|
|
402
|
+
details: `Found ${result.data.issues.length} issue(s) matching "Integration Test"`,
|
|
403
|
+
data: { total: result.data.total },
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
else {
|
|
407
|
+
testResults.push({
|
|
408
|
+
operation: 'search',
|
|
409
|
+
success: false,
|
|
410
|
+
details: `Error: ${result.data.error}`,
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
catch (error) {
|
|
415
|
+
testResults.push({
|
|
416
|
+
operation: 'search',
|
|
417
|
+
success: false,
|
|
418
|
+
details: `Error: ${error instanceof Error ? error.message : String(error)}`,
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
const successCount = testResults.filter((t) => t.success).length;
|
|
422
|
+
const totalCount = testResults.length;
|
|
423
|
+
return {
|
|
424
|
+
success: successCount === totalCount,
|
|
425
|
+
testResults,
|
|
426
|
+
createdIssueIdentifier,
|
|
427
|
+
teamId,
|
|
428
|
+
summary: `${successCount}/${totalCount} tests passed${createdIssueIdentifier ? `. Created: ${createdIssueIdentifier}` : ''}`,
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
//# sourceMappingURL=linear.integration.flow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linear.integration.flow.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/linear/linear.integration.flow.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,YAAY,GACb,MAAM,wBAAwB,CAAC;AAiBhC;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,qBAAsB,SAAQ,UAA0B;IACnE,KAAK,CAAC,MAAM,CAAC,QAAsB;QACjC,MAAM,WAAW,GAAiB,EAAE,CAAC;QACrC,IAAI,MAA0B,CAAC;QAC/B,IAAI,cAAkC,CAAC;QACvC,IAAI,sBAA0C,CAAC;QAC/C,IAAI,cAAc,GAAuD,EAAE,CAAC;QAE5E,0EAA0E;QAC1E,qBAAqB;QACrB,0EAA0E;QAC1E,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,IAAI,YAAY,CAAC;gBACpC,SAAS,EAAE,YAAqB;aACjC,C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