Commit 2733a78
Fix all PR #82 issues: Update to Firecrawl v3 API
- Update package.json to use @mendable/firecrawl-js ^3.1.0
- Add --passWithNoTests flag to test script to fix CI
- Update all API calls to use v3 structure (scrape, map, crawl, search)
- Remove outdated type imports and interfaces (ExtractParams)
- Fix screenshot format from string to object format
- Remove 'extract' from formats enum (not supported in v3)
- Add missing firecrawl_deep_research tool implementation
- Update response handling to work without success/error fields
- Fix all TypeScript errors in main code and tests
- Update Jest setup and test mocks for v3 compatibility
- Remove unsupported parameters like systemPrompt and origin
All tests passing (7/7) and lint checks clean.
Co-Authored-By: Nick <[email protected]>1 parent 9837e19 commit 2733a78
File tree
5 files changed
+77
-153
lines changed- src
5 files changed
+77
-153
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 3 | | |
10 | 4 | | |
11 | 5 | | |
12 | 6 | | |
13 | 7 | | |
14 | | - | |
15 | | - | |
| 8 | + | |
16 | 9 | | |
17 | 10 | | |
18 | 11 | | |
19 | 12 | | |
20 | 13 | | |
21 | 14 | | |
22 | | - | |
23 | 15 | | |
24 | | - | |
| 16 | + | |
25 | 17 | | |
26 | 18 | | |
27 | | - | |
28 | | - | |
| 19 | + | |
29 | 20 | | |
30 | 21 | | |
31 | 22 | | |
32 | | - | |
33 | | - | |
| 23 | + | |
34 | 24 | | |
35 | 25 | | |
36 | 26 | | |
| |||
42 | 32 | | |
43 | 33 | | |
44 | 34 | | |
45 | | - | |
46 | 35 | | |
47 | | - | |
| 36 | + | |
48 | 37 | | |
49 | 38 | | |
50 | 39 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments