├── .editorconfig
├── .github
├── ISSUE_TEMPLATE
│ ├── bug_report.md
│ └── feature_request.md
├── dependabot.yml
└── workflows
│ └── release.yml
├── .gitignore
├── .npmrc
├── LICENSE
├── README.md
├── esbuild.config.mjs
├── eslint.config.mjs
├── manifest.json
├── package-lock.json
├── package.json
├── src
├── cache.ts
├── globals.ts
├── main.ts
├── ollamaManager.ts
├── settings.ts
├── types.ts
└── util.ts
├── tsconfig.json
├── typings
└── types-obsidian.d.ts
├── version-bump.mjs
└── versions.json
/.editorconfig:
--------------------------------------------------------------------------------
1 | # top-most EditorConfig file
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | end_of_line = lf
7 | insert_final_newline = true
8 | indent_style = tab
9 | indent_size = 4
10 | tab_width = 4
11 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Checklist**
11 | - [ ] Updated to latest Plugin Version
12 | - [ ] Updated to latest Ollama Version
13 | - [ ] Updated to latest Obsidian Version
14 | - [ ] Added the error log
15 |
16 | **Error Log**
17 | Please Paste the log from `ctrl + shift + I`
18 | ```
19 | [logs]
20 | ```
21 |
22 | **Describe the bug**
23 |
24 | A clear and concise description of what the bug is.
25 |
26 | [Optional image]
27 |
28 | **Minimal reproduction**
29 |
30 | Steps to reproduce the behavior:
31 |
32 | 1. Go to '...'
33 | 2. Click on '....'
34 | 3. Scroll down to '....'
35 | 4. See the error
36 |
37 | **Environment**
38 |
39 | - Obsidian version:
40 | - Ollama version:
41 | - Plugin version:
42 | - OS:
43 |
44 | **Additional information**
45 | - ...
46 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
13 | **Describe the solution you'd like**
14 | A clear and concise description of what you want to happen.
15 |
16 | **Describe alternatives you've considered**
17 | A clear and concise description of any alternative solutions or features you've considered.
18 |
19 | **Additional context**
20 | Add any other context or screenshots about the feature request here.
21 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | # To get started with Dependabot version updates, you'll need to specify which
2 | # package ecosystems to update and where the package manifests are located.
3 | # Please see the documentation for all configuration options:
4 | # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5 |
6 | version: 2
7 | updates:
8 | - package-ecosystem: "npm" # See documentation for possible values
9 | directory: "/" # Location of package manifests
10 | schedule:
11 | interval: "weekly"
12 |
--------------------------------------------------------------------------------
/.github/workflows/release.yml:
--------------------------------------------------------------------------------
1 | name: Release Obsidian plugin
2 |
3 | on:
4 | push:
5 | tags:
6 | - "*"
7 |
8 | jobs:
9 | build:
10 | runs-on: ubuntu-latest
11 |
12 | steps:
13 | - uses: actions/checkout@v3
14 |
15 | - name: Use Node.js
16 | uses: actions/setup-node@v3
17 | with:
18 | node-version: "18.x"
19 |
20 | - name: Build plugin
21 | run: |
22 | npm install
23 | npm run build
24 |
25 | - name: Create release
26 | env:
27 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28 | run: |
29 | tag="${GITHUB_REF#refs/tags/}"
30 |
31 | gh release create "$tag" \
32 | --title="$tag" \
33 | --draft \
34 | main.js manifest.json
35 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # vscode
2 | .vscode
3 |
4 | # Intellij
5 | *.iml
6 | .idea
7 |
8 | # npm
9 | node_modules
10 |
11 | # Don't include the compiled main.js file in the repo.
12 | # They should be uploaded to GitHub releases instead.
13 | main.js
14 |
15 | # Exclude sourcemaps
16 | *.map
17 |
18 | # obsidian
19 | data.json
20 |
21 | # Exclude macOS Finder (System Explorer) View States
22 | .DS_Store
23 |
24 | cache
25 |
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | tag-version-prefix=""
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Obsidian AI Image Analyser Plugin
2 |
3 | This plugin allows you to analyze images in Obsidian using the Ollama API.
4 | Because of this it requires Ollama to be installed and running on some machine.
5 | Ensure you have the newest version of Ollama installed.
6 | [Ollama download](https://ollama.com/download)
7 |
8 | ## Features
9 | It analyses images and returns a keyword list of the image.
10 |
11 | Currently it supports:
12 | - `jpg`
13 | - `jpeg`
14 | - `png`
15 | - `webp`
16 |
17 | ### How to use
18 | To analyze an image, right-click on the image and select `Ai analyze image`.
19 | Or use the command palette and search for `AI image analyzer`.
20 |
21 | ### Models
22 | The plugin uses the `llava-llama3` model from Ollama as the default model.
23 |
24 | Other models can be used by changing the `model` setting in the plugin settings:
25 | - `llava-llama3`
26 | - `llava`
27 | - `llava:13b`
28 | - `llava:34b`
29 |
30 | If you have a really powerful Computer I recommend using the `llava:13b` or `llava:34b` model, in my testing they were the most accurate.
31 | `llava` for me was the worst model, but it is a little bit smaller than the `llava-llama3` model.
32 |
33 | ### OmniSearch
34 | The plugin is integrated with the Obsidian [OmniSearch](https://github.com/scambier/obsidian-omnisearch) Plugin.
35 | You can enable `Image AI Indexing` in the settings of the OmniSearch plugin to index the results of the image analysis.
36 |
37 | ### Cache & Sync
38 | The plugin caches the results of the analysis, so it doesn't have to be done every time.
39 | It caches the result in a json file inside the plugin folder.
40 | Those files can be synced between devices.
41 |
42 | ### Ollama Proxys
43 | Just use the Ollama URL in the settings. For example using [Open Web UI](https://docs.openwebui.com/) you can use the URL `http://[URL:PORT]/ollama` to access Ollama. You probably need to set a token (See Auth)
44 |
45 | #### Auth
46 | If your Proxy requires a token, you can set it in the settings.
47 | It sets a `Authorization` header with the value of the token: `'Authorization': 'Bearer [Token]'`
48 |
49 | ### Limitations
50 | The prompt to analyze the image will sometimes deliver varying results.
51 | In the future, I will improve on the prompt to make it more consistent.
52 | You can also modify the prompt in the settings.
53 |
54 | ## Installation
55 | You can download the latest release from the GitHub [releases page](https://github.com/swaggeroo/obsidian-ai-image-analyser/releases) and install it manually in Obsidian.
56 | In the future, this plugin will hopefully be available in the Obsidian community plugins.
57 |
58 | ## Using AI image analyser as a dependency for your plugin
59 | The exposed API:
60 | ```typescript
61 | // Add this type somewhere in your code
62 | export type AIImageAnalyzerAPI = {
63 | analyzeImage: (file: TFile) => Promise;
64 | canBeAnalyzed: (file: TFile) => boolean;
65 | isInCache: (file: TFile) => Promise;
66 | }
67 |
68 | // Then, you can just use this function to get the API
69 | export function getAIImageAnalyser(): AIImageAnalyzerAPI | undefined {
70 | return (app as any).plugins?.plugins?.['ai-image-analyzer']?.api
71 | }
72 |
73 | // And use it like this
74 | const text = await getAIImageAnalyser()?.analyzeImage(file)
75 | ```
76 |
77 | ## Contributing
78 | If you want to contribute to this plugin, you can do so by creating a pull request or an issue on the GitHub repository.
79 |
80 | ## Thanks
81 | This plugin is heavily inspired by the [Obsidian Text Extractor Plugin](https://github.com/scambier/obsidian-text-extractor).
82 |
--------------------------------------------------------------------------------
/esbuild.config.mjs:
--------------------------------------------------------------------------------
1 | import esbuild from "esbuild";
2 | import process from "process";
3 | import builtins from "builtin-modules";
4 |
5 | const banner =
6 | `/*
7 | THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
8 | if you want to view the source, please visit the github repository of this plugin
9 | */
10 | `;
11 |
12 | const prod = (process.argv[2] === "production");
13 |
14 | const context = await esbuild.context({
15 | banner: {
16 | js: banner,
17 | },
18 | entryPoints: ["src/main.ts"],
19 | bundle: true,
20 | external: [
21 | "obsidian",
22 | "electron",
23 | "@codemirror/autocomplete",
24 | "@codemirror/collab",
25 | "@codemirror/commands",
26 | "@codemirror/language",
27 | "@codemirror/lint",
28 | "@codemirror/search",
29 | "@codemirror/state",
30 | "@codemirror/view",
31 | "@lezer/common",
32 | "@lezer/highlight",
33 | "@lezer/lr",
34 | ...builtins],
35 | format: "cjs",
36 | target: "es2018",
37 | logLevel: "info",
38 | sourcemap: prod ? false : "inline",
39 | treeShaking: true,
40 | outfile: "main.js",
41 | });
42 |
43 | if (prod) {
44 | await context.rebuild();
45 | process.exit(0);
46 | } else {
47 | await context.watch();
48 | }
49 |
--------------------------------------------------------------------------------
/eslint.config.mjs:
--------------------------------------------------------------------------------
1 | import typescriptEslint from "@typescript-eslint/eslint-plugin";
2 | import globals from "globals";
3 | import tsParser from "@typescript-eslint/parser";
4 | import path from "node:path";
5 | import { fileURLToPath } from "node:url";
6 | import js from "@eslint/js";
7 | import { FlatCompat } from "@eslint/eslintrc";
8 |
9 | const __filename = fileURLToPath(import.meta.url);
10 | const __dirname = path.dirname(__filename);
11 | const compat = new FlatCompat({
12 | baseDirectory: __dirname,
13 | recommendedConfig: js.configs.recommended,
14 | allConfig: js.configs.all
15 | });
16 |
17 | export default [{
18 | ignores: ["**/node_modules/", "**/main.js"],
19 | }, ...compat.extends(
20 | "eslint:recommended",
21 | "plugin:@typescript-eslint/eslint-recommended",
22 | "plugin:@typescript-eslint/recommended",
23 | ), {
24 | plugins: {
25 | "@typescript-eslint": typescriptEslint,
26 | },
27 |
28 | languageOptions: {
29 | globals: {
30 | ...globals.node,
31 | },
32 |
33 | parser: tsParser,
34 | ecmaVersion: 5,
35 | sourceType: "module",
36 | },
37 |
38 | rules: {
39 | "no-unused-vars": "off",
40 |
41 | "@typescript-eslint/no-unused-vars": ["error", {
42 | args: "none",
43 | }],
44 |
45 | "@typescript-eslint/ban-ts-comment": "off",
46 | "no-prototype-builtins": "off",
47 | "@typescript-eslint/no-empty-function": "off",
48 | "semi": ["error", "always"],
49 | "no-extra-semi": "error",
50 | },
51 | }];
52 |
--------------------------------------------------------------------------------
/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "ai-image-analyzer",
3 | "name": "AI image analyzer",
4 | "version": "0.2.0",
5 | "minAppVersion": "0.15.0",
6 | "description": "Analyze images with AI to get keywords of the image.",
7 | "author": "Swaggeroo",
8 | "authorUrl": "https://swaggeroo.de",
9 | "isDesktopOnly": true
10 | }
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ai-image-analyzer",
3 | "version": "0.2.0",
4 | "lockfileVersion": 3,
5 | "requires": true,
6 | "packages": {
7 | "": {
8 | "name": "ai-image-analyzer",
9 | "version": "0.2.0",
10 | "license": "GPL-3.0",
11 | "dependencies": {
12 | "canvas": "^3.1.0",
13 | "ollama": "^0.5.16",
14 | "p-queue": "^8.1.0"
15 | },
16 | "devDependencies": {
17 | "@types/node": "22.15.29",
18 | "@typescript-eslint/eslint-plugin": "8.33.0",
19 | "@typescript-eslint/parser": "8.33.1",
20 | "builtin-modules": "4.0.0",
21 | "esbuild": "0.25.4",
22 | "obsidian": "1.8.7",
23 | "tslib": "2.8.1",
24 | "typescript": "5.8.3"
25 | }
26 | },
27 | "node_modules/@codemirror/state": {
28 | "version": "6.5.1",
29 | "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.5.1.tgz",
30 | "integrity": "sha512-3rA9lcwciEB47ZevqvD8qgbzhM9qMb8vCcQCNmDfVRPQG4JT9mSb0Jg8H7YjKGGQcFnLN323fj9jdnG59Kx6bg==",
31 | "dev": true,
32 | "license": "MIT",
33 | "peer": true,
34 | "dependencies": {
35 | "@marijn/find-cluster-break": "^1.0.0"
36 | }
37 | },
38 | "node_modules/@codemirror/view": {
39 | "version": "6.36.2",
40 | "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.36.2.tgz",
41 | "integrity": "sha512-DZ6ONbs8qdJK0fdN7AB82CgI6tYXf4HWk1wSVa0+9bhVznCuuvhQtX8bFBoy3dv8rZSQqUd8GvhVAcielcidrA==",
42 | "dev": true,
43 | "license": "MIT",
44 | "peer": true,
45 | "dependencies": {
46 | "@codemirror/state": "^6.5.0",
47 | "style-mod": "^4.1.0",
48 | "w3c-keyname": "^2.2.4"
49 | }
50 | },
51 | "node_modules/@esbuild/aix-ppc64": {
52 | "version": "0.25.4",
53 | "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.4.tgz",
54 | "integrity": "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==",
55 | "cpu": [
56 | "ppc64"
57 | ],
58 | "dev": true,
59 | "license": "MIT",
60 | "optional": true,
61 | "os": [
62 | "aix"
63 | ],
64 | "engines": {
65 | "node": ">=18"
66 | }
67 | },
68 | "node_modules/@esbuild/android-arm": {
69 | "version": "0.25.4",
70 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.4.tgz",
71 | "integrity": "sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==",
72 | "cpu": [
73 | "arm"
74 | ],
75 | "dev": true,
76 | "license": "MIT",
77 | "optional": true,
78 | "os": [
79 | "android"
80 | ],
81 | "engines": {
82 | "node": ">=18"
83 | }
84 | },
85 | "node_modules/@esbuild/android-arm64": {
86 | "version": "0.25.4",
87 | "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.4.tgz",
88 | "integrity": "sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==",
89 | "cpu": [
90 | "arm64"
91 | ],
92 | "dev": true,
93 | "license": "MIT",
94 | "optional": true,
95 | "os": [
96 | "android"
97 | ],
98 | "engines": {
99 | "node": ">=18"
100 | }
101 | },
102 | "node_modules/@esbuild/android-x64": {
103 | "version": "0.25.4",
104 | "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.4.tgz",
105 | "integrity": "sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==",
106 | "cpu": [
107 | "x64"
108 | ],
109 | "dev": true,
110 | "license": "MIT",
111 | "optional": true,
112 | "os": [
113 | "android"
114 | ],
115 | "engines": {
116 | "node": ">=18"
117 | }
118 | },
119 | "node_modules/@esbuild/darwin-arm64": {
120 | "version": "0.25.4",
121 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.4.tgz",
122 | "integrity": "sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==",
123 | "cpu": [
124 | "arm64"
125 | ],
126 | "dev": true,
127 | "license": "MIT",
128 | "optional": true,
129 | "os": [
130 | "darwin"
131 | ],
132 | "engines": {
133 | "node": ">=18"
134 | }
135 | },
136 | "node_modules/@esbuild/darwin-x64": {
137 | "version": "0.25.4",
138 | "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.4.tgz",
139 | "integrity": "sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==",
140 | "cpu": [
141 | "x64"
142 | ],
143 | "dev": true,
144 | "license": "MIT",
145 | "optional": true,
146 | "os": [
147 | "darwin"
148 | ],
149 | "engines": {
150 | "node": ">=18"
151 | }
152 | },
153 | "node_modules/@esbuild/freebsd-arm64": {
154 | "version": "0.25.4",
155 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.4.tgz",
156 | "integrity": "sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==",
157 | "cpu": [
158 | "arm64"
159 | ],
160 | "dev": true,
161 | "license": "MIT",
162 | "optional": true,
163 | "os": [
164 | "freebsd"
165 | ],
166 | "engines": {
167 | "node": ">=18"
168 | }
169 | },
170 | "node_modules/@esbuild/freebsd-x64": {
171 | "version": "0.25.4",
172 | "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.4.tgz",
173 | "integrity": "sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==",
174 | "cpu": [
175 | "x64"
176 | ],
177 | "dev": true,
178 | "license": "MIT",
179 | "optional": true,
180 | "os": [
181 | "freebsd"
182 | ],
183 | "engines": {
184 | "node": ">=18"
185 | }
186 | },
187 | "node_modules/@esbuild/linux-arm": {
188 | "version": "0.25.4",
189 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.4.tgz",
190 | "integrity": "sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==",
191 | "cpu": [
192 | "arm"
193 | ],
194 | "dev": true,
195 | "license": "MIT",
196 | "optional": true,
197 | "os": [
198 | "linux"
199 | ],
200 | "engines": {
201 | "node": ">=18"
202 | }
203 | },
204 | "node_modules/@esbuild/linux-arm64": {
205 | "version": "0.25.4",
206 | "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.4.tgz",
207 | "integrity": "sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==",
208 | "cpu": [
209 | "arm64"
210 | ],
211 | "dev": true,
212 | "license": "MIT",
213 | "optional": true,
214 | "os": [
215 | "linux"
216 | ],
217 | "engines": {
218 | "node": ">=18"
219 | }
220 | },
221 | "node_modules/@esbuild/linux-ia32": {
222 | "version": "0.25.4",
223 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.4.tgz",
224 | "integrity": "sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==",
225 | "cpu": [
226 | "ia32"
227 | ],
228 | "dev": true,
229 | "license": "MIT",
230 | "optional": true,
231 | "os": [
232 | "linux"
233 | ],
234 | "engines": {
235 | "node": ">=18"
236 | }
237 | },
238 | "node_modules/@esbuild/linux-loong64": {
239 | "version": "0.25.4",
240 | "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.4.tgz",
241 | "integrity": "sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==",
242 | "cpu": [
243 | "loong64"
244 | ],
245 | "dev": true,
246 | "license": "MIT",
247 | "optional": true,
248 | "os": [
249 | "linux"
250 | ],
251 | "engines": {
252 | "node": ">=18"
253 | }
254 | },
255 | "node_modules/@esbuild/linux-mips64el": {
256 | "version": "0.25.4",
257 | "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.4.tgz",
258 | "integrity": "sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==",
259 | "cpu": [
260 | "mips64el"
261 | ],
262 | "dev": true,
263 | "license": "MIT",
264 | "optional": true,
265 | "os": [
266 | "linux"
267 | ],
268 | "engines": {
269 | "node": ">=18"
270 | }
271 | },
272 | "node_modules/@esbuild/linux-ppc64": {
273 | "version": "0.25.4",
274 | "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.4.tgz",
275 | "integrity": "sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==",
276 | "cpu": [
277 | "ppc64"
278 | ],
279 | "dev": true,
280 | "license": "MIT",
281 | "optional": true,
282 | "os": [
283 | "linux"
284 | ],
285 | "engines": {
286 | "node": ">=18"
287 | }
288 | },
289 | "node_modules/@esbuild/linux-riscv64": {
290 | "version": "0.25.4",
291 | "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.4.tgz",
292 | "integrity": "sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==",
293 | "cpu": [
294 | "riscv64"
295 | ],
296 | "dev": true,
297 | "license": "MIT",
298 | "optional": true,
299 | "os": [
300 | "linux"
301 | ],
302 | "engines": {
303 | "node": ">=18"
304 | }
305 | },
306 | "node_modules/@esbuild/linux-s390x": {
307 | "version": "0.25.4",
308 | "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.4.tgz",
309 | "integrity": "sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==",
310 | "cpu": [
311 | "s390x"
312 | ],
313 | "dev": true,
314 | "license": "MIT",
315 | "optional": true,
316 | "os": [
317 | "linux"
318 | ],
319 | "engines": {
320 | "node": ">=18"
321 | }
322 | },
323 | "node_modules/@esbuild/linux-x64": {
324 | "version": "0.25.4",
325 | "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.4.tgz",
326 | "integrity": "sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==",
327 | "cpu": [
328 | "x64"
329 | ],
330 | "dev": true,
331 | "license": "MIT",
332 | "optional": true,
333 | "os": [
334 | "linux"
335 | ],
336 | "engines": {
337 | "node": ">=18"
338 | }
339 | },
340 | "node_modules/@esbuild/netbsd-arm64": {
341 | "version": "0.25.4",
342 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.4.tgz",
343 | "integrity": "sha512-vUnkBYxZW4hL/ie91hSqaSNjulOnYXE1VSLusnvHg2u3jewJBz3YzB9+oCw8DABeVqZGg94t9tyZFoHma8gWZQ==",
344 | "cpu": [
345 | "arm64"
346 | ],
347 | "dev": true,
348 | "license": "MIT",
349 | "optional": true,
350 | "os": [
351 | "netbsd"
352 | ],
353 | "engines": {
354 | "node": ">=18"
355 | }
356 | },
357 | "node_modules/@esbuild/netbsd-x64": {
358 | "version": "0.25.4",
359 | "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.4.tgz",
360 | "integrity": "sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==",
361 | "cpu": [
362 | "x64"
363 | ],
364 | "dev": true,
365 | "license": "MIT",
366 | "optional": true,
367 | "os": [
368 | "netbsd"
369 | ],
370 | "engines": {
371 | "node": ">=18"
372 | }
373 | },
374 | "node_modules/@esbuild/openbsd-arm64": {
375 | "version": "0.25.4",
376 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.4.tgz",
377 | "integrity": "sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==",
378 | "cpu": [
379 | "arm64"
380 | ],
381 | "dev": true,
382 | "license": "MIT",
383 | "optional": true,
384 | "os": [
385 | "openbsd"
386 | ],
387 | "engines": {
388 | "node": ">=18"
389 | }
390 | },
391 | "node_modules/@esbuild/openbsd-x64": {
392 | "version": "0.25.4",
393 | "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.4.tgz",
394 | "integrity": "sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==",
395 | "cpu": [
396 | "x64"
397 | ],
398 | "dev": true,
399 | "license": "MIT",
400 | "optional": true,
401 | "os": [
402 | "openbsd"
403 | ],
404 | "engines": {
405 | "node": ">=18"
406 | }
407 | },
408 | "node_modules/@esbuild/sunos-x64": {
409 | "version": "0.25.4",
410 | "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.4.tgz",
411 | "integrity": "sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==",
412 | "cpu": [
413 | "x64"
414 | ],
415 | "dev": true,
416 | "license": "MIT",
417 | "optional": true,
418 | "os": [
419 | "sunos"
420 | ],
421 | "engines": {
422 | "node": ">=18"
423 | }
424 | },
425 | "node_modules/@esbuild/win32-arm64": {
426 | "version": "0.25.4",
427 | "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.4.tgz",
428 | "integrity": "sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==",
429 | "cpu": [
430 | "arm64"
431 | ],
432 | "dev": true,
433 | "license": "MIT",
434 | "optional": true,
435 | "os": [
436 | "win32"
437 | ],
438 | "engines": {
439 | "node": ">=18"
440 | }
441 | },
442 | "node_modules/@esbuild/win32-ia32": {
443 | "version": "0.25.4",
444 | "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.4.tgz",
445 | "integrity": "sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==",
446 | "cpu": [
447 | "ia32"
448 | ],
449 | "dev": true,
450 | "license": "MIT",
451 | "optional": true,
452 | "os": [
453 | "win32"
454 | ],
455 | "engines": {
456 | "node": ">=18"
457 | }
458 | },
459 | "node_modules/@esbuild/win32-x64": {
460 | "version": "0.25.4",
461 | "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.4.tgz",
462 | "integrity": "sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==",
463 | "cpu": [
464 | "x64"
465 | ],
466 | "dev": true,
467 | "license": "MIT",
468 | "optional": true,
469 | "os": [
470 | "win32"
471 | ],
472 | "engines": {
473 | "node": ">=18"
474 | }
475 | },
476 | "node_modules/@eslint-community/eslint-utils": {
477 | "version": "4.7.0",
478 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
479 | "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==",
480 | "dev": true,
481 | "license": "MIT",
482 | "dependencies": {
483 | "eslint-visitor-keys": "^3.4.3"
484 | },
485 | "engines": {
486 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
487 | },
488 | "funding": {
489 | "url": "https://opencollective.com/eslint"
490 | },
491 | "peerDependencies": {
492 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
493 | }
494 | },
495 | "node_modules/@eslint-community/regexpp": {
496 | "version": "4.12.1",
497 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz",
498 | "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==",
499 | "dev": true,
500 | "license": "MIT",
501 | "engines": {
502 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
503 | }
504 | },
505 | "node_modules/@eslint/config-array": {
506 | "version": "0.19.1",
507 | "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.1.tgz",
508 | "integrity": "sha512-fo6Mtm5mWyKjA/Chy1BYTdn5mGJoDNjC7C64ug20ADsRDGrA85bN3uK3MaKbeRkRuuIEAR5N33Jr1pbm411/PA==",
509 | "dev": true,
510 | "license": "Apache-2.0",
511 | "peer": true,
512 | "dependencies": {
513 | "@eslint/object-schema": "^2.1.5",
514 | "debug": "^4.3.1",
515 | "minimatch": "^3.1.2"
516 | },
517 | "engines": {
518 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
519 | }
520 | },
521 | "node_modules/@eslint/config-array/node_modules/brace-expansion": {
522 | "version": "1.1.11",
523 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
524 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
525 | "dev": true,
526 | "license": "MIT",
527 | "peer": true,
528 | "dependencies": {
529 | "balanced-match": "^1.0.0",
530 | "concat-map": "0.0.1"
531 | }
532 | },
533 | "node_modules/@eslint/config-array/node_modules/minimatch": {
534 | "version": "3.1.2",
535 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
536 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
537 | "dev": true,
538 | "license": "ISC",
539 | "peer": true,
540 | "dependencies": {
541 | "brace-expansion": "^1.1.7"
542 | },
543 | "engines": {
544 | "node": "*"
545 | }
546 | },
547 | "node_modules/@eslint/core": {
548 | "version": "0.10.0",
549 | "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.10.0.tgz",
550 | "integrity": "sha512-gFHJ+xBOo4G3WRlR1e/3G8A6/KZAH6zcE/hkLRCZTi/B9avAG365QhFA8uOGzTMqgTghpn7/fSnscW++dpMSAw==",
551 | "dev": true,
552 | "license": "Apache-2.0",
553 | "peer": true,
554 | "dependencies": {
555 | "@types/json-schema": "^7.0.15"
556 | },
557 | "engines": {
558 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
559 | }
560 | },
561 | "node_modules/@eslint/eslintrc": {
562 | "version": "3.2.0",
563 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz",
564 | "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==",
565 | "dev": true,
566 | "license": "MIT",
567 | "peer": true,
568 | "dependencies": {
569 | "ajv": "^6.12.4",
570 | "debug": "^4.3.2",
571 | "espree": "^10.0.1",
572 | "globals": "^14.0.0",
573 | "ignore": "^5.2.0",
574 | "import-fresh": "^3.2.1",
575 | "js-yaml": "^4.1.0",
576 | "minimatch": "^3.1.2",
577 | "strip-json-comments": "^3.1.1"
578 | },
579 | "engines": {
580 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
581 | },
582 | "funding": {
583 | "url": "https://opencollective.com/eslint"
584 | }
585 | },
586 | "node_modules/@eslint/eslintrc/node_modules/brace-expansion": {
587 | "version": "1.1.11",
588 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
589 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
590 | "dev": true,
591 | "license": "MIT",
592 | "peer": true,
593 | "dependencies": {
594 | "balanced-match": "^1.0.0",
595 | "concat-map": "0.0.1"
596 | }
597 | },
598 | "node_modules/@eslint/eslintrc/node_modules/minimatch": {
599 | "version": "3.1.2",
600 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
601 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
602 | "dev": true,
603 | "license": "ISC",
604 | "peer": true,
605 | "dependencies": {
606 | "brace-expansion": "^1.1.7"
607 | },
608 | "engines": {
609 | "node": "*"
610 | }
611 | },
612 | "node_modules/@eslint/js": {
613 | "version": "9.18.0",
614 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.18.0.tgz",
615 | "integrity": "sha512-fK6L7rxcq6/z+AaQMtiFTkvbHkBLNlwyRxHpKawP0x3u9+NC6MQTnFW+AdpwC6gfHTW0051cokQgtTN2FqlxQA==",
616 | "dev": true,
617 | "license": "MIT",
618 | "peer": true,
619 | "engines": {
620 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
621 | }
622 | },
623 | "node_modules/@eslint/object-schema": {
624 | "version": "2.1.5",
625 | "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.5.tgz",
626 | "integrity": "sha512-o0bhxnL89h5Bae5T318nFoFzGy+YE5i/gGkoPAgkmTVdRKTiv3p8JHevPiPaMwoloKfEiiaHlawCqaZMqRm+XQ==",
627 | "dev": true,
628 | "license": "Apache-2.0",
629 | "peer": true,
630 | "engines": {
631 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
632 | }
633 | },
634 | "node_modules/@eslint/plugin-kit": {
635 | "version": "0.2.5",
636 | "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.5.tgz",
637 | "integrity": "sha512-lB05FkqEdUg2AA0xEbUz0SnkXT1LcCTa438W4IWTUh4hdOnVbQyOJ81OrDXsJk/LSiJHubgGEFoR5EHq1NsH1A==",
638 | "dev": true,
639 | "license": "Apache-2.0",
640 | "peer": true,
641 | "dependencies": {
642 | "@eslint/core": "^0.10.0",
643 | "levn": "^0.4.1"
644 | },
645 | "engines": {
646 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
647 | }
648 | },
649 | "node_modules/@humanfs/core": {
650 | "version": "0.19.1",
651 | "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
652 | "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",
653 | "dev": true,
654 | "license": "Apache-2.0",
655 | "peer": true,
656 | "engines": {
657 | "node": ">=18.18.0"
658 | }
659 | },
660 | "node_modules/@humanfs/node": {
661 | "version": "0.16.6",
662 | "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz",
663 | "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==",
664 | "dev": true,
665 | "license": "Apache-2.0",
666 | "peer": true,
667 | "dependencies": {
668 | "@humanfs/core": "^0.19.1",
669 | "@humanwhocodes/retry": "^0.3.0"
670 | },
671 | "engines": {
672 | "node": ">=18.18.0"
673 | }
674 | },
675 | "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": {
676 | "version": "0.3.1",
677 | "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz",
678 | "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==",
679 | "dev": true,
680 | "license": "Apache-2.0",
681 | "peer": true,
682 | "engines": {
683 | "node": ">=18.18"
684 | },
685 | "funding": {
686 | "type": "github",
687 | "url": "https://github.com/sponsors/nzakas"
688 | }
689 | },
690 | "node_modules/@humanwhocodes/module-importer": {
691 | "version": "1.0.1",
692 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
693 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
694 | "dev": true,
695 | "license": "Apache-2.0",
696 | "peer": true,
697 | "engines": {
698 | "node": ">=12.22"
699 | },
700 | "funding": {
701 | "type": "github",
702 | "url": "https://github.com/sponsors/nzakas"
703 | }
704 | },
705 | "node_modules/@humanwhocodes/retry": {
706 | "version": "0.4.1",
707 | "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz",
708 | "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==",
709 | "dev": true,
710 | "license": "Apache-2.0",
711 | "peer": true,
712 | "engines": {
713 | "node": ">=18.18"
714 | },
715 | "funding": {
716 | "type": "github",
717 | "url": "https://github.com/sponsors/nzakas"
718 | }
719 | },
720 | "node_modules/@marijn/find-cluster-break": {
721 | "version": "1.0.2",
722 | "resolved": "https://registry.npmjs.org/@marijn/find-cluster-break/-/find-cluster-break-1.0.2.tgz",
723 | "integrity": "sha512-l0h88YhZFyKdXIFNfSWpyjStDjGHwZ/U7iobcK1cQQD8sejsONdQtTVU+1wVN1PBw40PiiHB1vA5S7VTfQiP9g==",
724 | "dev": true,
725 | "license": "MIT",
726 | "peer": true
727 | },
728 | "node_modules/@nodelib/fs.scandir": {
729 | "version": "2.1.5",
730 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
731 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
732 | "dev": true,
733 | "license": "MIT",
734 | "dependencies": {
735 | "@nodelib/fs.stat": "2.0.5",
736 | "run-parallel": "^1.1.9"
737 | },
738 | "engines": {
739 | "node": ">= 8"
740 | }
741 | },
742 | "node_modules/@nodelib/fs.stat": {
743 | "version": "2.0.5",
744 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
745 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
746 | "dev": true,
747 | "license": "MIT",
748 | "engines": {
749 | "node": ">= 8"
750 | }
751 | },
752 | "node_modules/@nodelib/fs.walk": {
753 | "version": "1.2.8",
754 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
755 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
756 | "dev": true,
757 | "license": "MIT",
758 | "dependencies": {
759 | "@nodelib/fs.scandir": "2.1.5",
760 | "fastq": "^1.6.0"
761 | },
762 | "engines": {
763 | "node": ">= 8"
764 | }
765 | },
766 | "node_modules/@types/codemirror": {
767 | "version": "5.60.8",
768 | "resolved": "https://registry.npmjs.org/@types/codemirror/-/codemirror-5.60.8.tgz",
769 | "integrity": "sha512-VjFgDF/eB+Aklcy15TtOTLQeMjTo07k7KAjql8OK5Dirr7a6sJY4T1uVBDuTVG9VEmn1uUsohOpYnVfgC6/jyw==",
770 | "dev": true,
771 | "license": "MIT",
772 | "dependencies": {
773 | "@types/tern": "*"
774 | }
775 | },
776 | "node_modules/@types/estree": {
777 | "version": "1.0.6",
778 | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz",
779 | "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==",
780 | "dev": true,
781 | "license": "MIT"
782 | },
783 | "node_modules/@types/json-schema": {
784 | "version": "7.0.15",
785 | "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
786 | "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
787 | "dev": true,
788 | "license": "MIT",
789 | "peer": true
790 | },
791 | "node_modules/@types/node": {
792 | "version": "22.15.29",
793 | "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.29.tgz",
794 | "integrity": "sha512-LNdjOkUDlU1RZb8e1kOIUpN1qQUlzGkEtbVNo53vbrwDg5om6oduhm4SiUaPW5ASTXhAiP0jInWG8Qx9fVlOeQ==",
795 | "dev": true,
796 | "license": "MIT",
797 | "dependencies": {
798 | "undici-types": "~6.21.0"
799 | }
800 | },
801 | "node_modules/@types/tern": {
802 | "version": "0.23.9",
803 | "resolved": "https://registry.npmjs.org/@types/tern/-/tern-0.23.9.tgz",
804 | "integrity": "sha512-ypzHFE/wBzh+BlH6rrBgS5I/Z7RD21pGhZ2rltb/+ZrVM1awdZwjx7hE5XfuYgHWk9uvV5HLZN3SloevCAp3Bw==",
805 | "dev": true,
806 | "license": "MIT",
807 | "dependencies": {
808 | "@types/estree": "*"
809 | }
810 | },
811 | "node_modules/@typescript-eslint/eslint-plugin": {
812 | "version": "8.33.0",
813 | "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.33.0.tgz",
814 | "integrity": "sha512-CACyQuqSHt7ma3Ns601xykeBK/rDeZa3w6IS6UtMQbixO5DWy+8TilKkviGDH6jtWCo8FGRKEK5cLLkPvEammQ==",
815 | "dev": true,
816 | "license": "MIT",
817 | "dependencies": {
818 | "@eslint-community/regexpp": "^4.10.0",
819 | "@typescript-eslint/scope-manager": "8.33.0",
820 | "@typescript-eslint/type-utils": "8.33.0",
821 | "@typescript-eslint/utils": "8.33.0",
822 | "@typescript-eslint/visitor-keys": "8.33.0",
823 | "graphemer": "^1.4.0",
824 | "ignore": "^7.0.0",
825 | "natural-compare": "^1.4.0",
826 | "ts-api-utils": "^2.1.0"
827 | },
828 | "engines": {
829 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
830 | },
831 | "funding": {
832 | "type": "opencollective",
833 | "url": "https://opencollective.com/typescript-eslint"
834 | },
835 | "peerDependencies": {
836 | "@typescript-eslint/parser": "^8.33.0",
837 | "eslint": "^8.57.0 || ^9.0.0",
838 | "typescript": ">=4.8.4 <5.9.0"
839 | }
840 | },
841 | "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": {
842 | "version": "8.33.0",
843 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.33.0.tgz",
844 | "integrity": "sha512-LMi/oqrzpqxyO72ltP+dBSP6V0xiUb4saY7WLtxSfiNEBI8m321LLVFU9/QDJxjDQG9/tjSqKz/E3380TEqSTw==",
845 | "dev": true,
846 | "license": "MIT",
847 | "dependencies": {
848 | "@typescript-eslint/types": "8.33.0",
849 | "@typescript-eslint/visitor-keys": "8.33.0"
850 | },
851 | "engines": {
852 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
853 | },
854 | "funding": {
855 | "type": "opencollective",
856 | "url": "https://opencollective.com/typescript-eslint"
857 | }
858 | },
859 | "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": {
860 | "version": "8.33.0",
861 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.33.0.tgz",
862 | "integrity": "sha512-DKuXOKpM5IDT1FA2g9x9x1Ug81YuKrzf4mYX8FAVSNu5Wo/LELHWQyM1pQaDkI42bX15PWl0vNPt1uGiIFUOpg==",
863 | "dev": true,
864 | "license": "MIT",
865 | "engines": {
866 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
867 | },
868 | "funding": {
869 | "type": "opencollective",
870 | "url": "https://opencollective.com/typescript-eslint"
871 | }
872 | },
873 | "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": {
874 | "version": "8.33.0",
875 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.0.tgz",
876 | "integrity": "sha512-7RW7CMYoskiz5OOGAWjJFxgb7c5UNjTG292gYhWeOAcFmYCtVCSqjqSBj5zMhxbXo2JOW95YYrUWJfU0zrpaGQ==",
877 | "dev": true,
878 | "license": "MIT",
879 | "dependencies": {
880 | "@typescript-eslint/types": "8.33.0",
881 | "eslint-visitor-keys": "^4.2.0"
882 | },
883 | "engines": {
884 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
885 | },
886 | "funding": {
887 | "type": "opencollective",
888 | "url": "https://opencollective.com/typescript-eslint"
889 | }
890 | },
891 | "node_modules/@typescript-eslint/eslint-plugin/node_modules/eslint-visitor-keys": {
892 | "version": "4.2.0",
893 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
894 | "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
895 | "dev": true,
896 | "license": "Apache-2.0",
897 | "engines": {
898 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
899 | },
900 | "funding": {
901 | "url": "https://opencollective.com/eslint"
902 | }
903 | },
904 | "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
905 | "version": "7.0.4",
906 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.4.tgz",
907 | "integrity": "sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A==",
908 | "dev": true,
909 | "license": "MIT",
910 | "engines": {
911 | "node": ">= 4"
912 | }
913 | },
914 | "node_modules/@typescript-eslint/parser": {
915 | "version": "8.33.1",
916 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.33.1.tgz",
917 | "integrity": "sha512-qwxv6dq682yVvgKKp2qWwLgRbscDAYktPptK4JPojCwwi3R9cwrvIxS4lvBpzmcqzR4bdn54Z0IG1uHFskW4dA==",
918 | "dev": true,
919 | "license": "MIT",
920 | "dependencies": {
921 | "@typescript-eslint/scope-manager": "8.33.1",
922 | "@typescript-eslint/types": "8.33.1",
923 | "@typescript-eslint/typescript-estree": "8.33.1",
924 | "@typescript-eslint/visitor-keys": "8.33.1",
925 | "debug": "^4.3.4"
926 | },
927 | "engines": {
928 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
929 | },
930 | "funding": {
931 | "type": "opencollective",
932 | "url": "https://opencollective.com/typescript-eslint"
933 | },
934 | "peerDependencies": {
935 | "eslint": "^8.57.0 || ^9.0.0",
936 | "typescript": ">=4.8.4 <5.9.0"
937 | }
938 | },
939 | "node_modules/@typescript-eslint/project-service": {
940 | "version": "8.33.0",
941 | "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.33.0.tgz",
942 | "integrity": "sha512-d1hz0u9l6N+u/gcrk6s6gYdl7/+pp8yHheRTqP6X5hVDKALEaTn8WfGiit7G511yueBEL3OpOEpD+3/MBdoN+A==",
943 | "dev": true,
944 | "license": "MIT",
945 | "dependencies": {
946 | "@typescript-eslint/tsconfig-utils": "^8.33.0",
947 | "@typescript-eslint/types": "^8.33.0",
948 | "debug": "^4.3.4"
949 | },
950 | "engines": {
951 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
952 | },
953 | "funding": {
954 | "type": "opencollective",
955 | "url": "https://opencollective.com/typescript-eslint"
956 | }
957 | },
958 | "node_modules/@typescript-eslint/scope-manager": {
959 | "version": "8.33.1",
960 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.33.1.tgz",
961 | "integrity": "sha512-dM4UBtgmzHR9bS0Rv09JST0RcHYearoEoo3pG5B6GoTR9XcyeqX87FEhPo+5kTvVfKCvfHaHrcgeJQc6mrDKrA==",
962 | "dev": true,
963 | "license": "MIT",
964 | "dependencies": {
965 | "@typescript-eslint/types": "8.33.1",
966 | "@typescript-eslint/visitor-keys": "8.33.1"
967 | },
968 | "engines": {
969 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
970 | },
971 | "funding": {
972 | "type": "opencollective",
973 | "url": "https://opencollective.com/typescript-eslint"
974 | }
975 | },
976 | "node_modules/@typescript-eslint/tsconfig-utils": {
977 | "version": "8.33.0",
978 | "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.33.0.tgz",
979 | "integrity": "sha512-sTkETlbqhEoiFmGr1gsdq5HyVbSOF0145SYDJ/EQmXHtKViCaGvnyLqWFFHtEXoS0J1yU8Wyou2UGmgW88fEug==",
980 | "dev": true,
981 | "license": "MIT",
982 | "engines": {
983 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
984 | },
985 | "funding": {
986 | "type": "opencollective",
987 | "url": "https://opencollective.com/typescript-eslint"
988 | },
989 | "peerDependencies": {
990 | "typescript": ">=4.8.4 <5.9.0"
991 | }
992 | },
993 | "node_modules/@typescript-eslint/type-utils": {
994 | "version": "8.33.0",
995 | "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.33.0.tgz",
996 | "integrity": "sha512-lScnHNCBqL1QayuSrWeqAL5GmqNdVUQAAMTaCwdYEdWfIrSrOGzyLGRCHXcCixa5NK6i5l0AfSO2oBSjCjf4XQ==",
997 | "dev": true,
998 | "license": "MIT",
999 | "dependencies": {
1000 | "@typescript-eslint/typescript-estree": "8.33.0",
1001 | "@typescript-eslint/utils": "8.33.0",
1002 | "debug": "^4.3.4",
1003 | "ts-api-utils": "^2.1.0"
1004 | },
1005 | "engines": {
1006 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1007 | },
1008 | "funding": {
1009 | "type": "opencollective",
1010 | "url": "https://opencollective.com/typescript-eslint"
1011 | },
1012 | "peerDependencies": {
1013 | "eslint": "^8.57.0 || ^9.0.0",
1014 | "typescript": ">=4.8.4 <5.9.0"
1015 | }
1016 | },
1017 | "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": {
1018 | "version": "8.33.0",
1019 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.33.0.tgz",
1020 | "integrity": "sha512-DKuXOKpM5IDT1FA2g9x9x1Ug81YuKrzf4mYX8FAVSNu5Wo/LELHWQyM1pQaDkI42bX15PWl0vNPt1uGiIFUOpg==",
1021 | "dev": true,
1022 | "license": "MIT",
1023 | "engines": {
1024 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1025 | },
1026 | "funding": {
1027 | "type": "opencollective",
1028 | "url": "https://opencollective.com/typescript-eslint"
1029 | }
1030 | },
1031 | "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": {
1032 | "version": "8.33.0",
1033 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.33.0.tgz",
1034 | "integrity": "sha512-vegY4FQoB6jL97Tu/lWRsAiUUp8qJTqzAmENH2k59SJhw0Th1oszb9Idq/FyyONLuNqT1OADJPXfyUNOR8SzAQ==",
1035 | "dev": true,
1036 | "license": "MIT",
1037 | "dependencies": {
1038 | "@typescript-eslint/project-service": "8.33.0",
1039 | "@typescript-eslint/tsconfig-utils": "8.33.0",
1040 | "@typescript-eslint/types": "8.33.0",
1041 | "@typescript-eslint/visitor-keys": "8.33.0",
1042 | "debug": "^4.3.4",
1043 | "fast-glob": "^3.3.2",
1044 | "is-glob": "^4.0.3",
1045 | "minimatch": "^9.0.4",
1046 | "semver": "^7.6.0",
1047 | "ts-api-utils": "^2.1.0"
1048 | },
1049 | "engines": {
1050 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1051 | },
1052 | "funding": {
1053 | "type": "opencollective",
1054 | "url": "https://opencollective.com/typescript-eslint"
1055 | },
1056 | "peerDependencies": {
1057 | "typescript": ">=4.8.4 <5.9.0"
1058 | }
1059 | },
1060 | "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": {
1061 | "version": "8.33.0",
1062 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.0.tgz",
1063 | "integrity": "sha512-7RW7CMYoskiz5OOGAWjJFxgb7c5UNjTG292gYhWeOAcFmYCtVCSqjqSBj5zMhxbXo2JOW95YYrUWJfU0zrpaGQ==",
1064 | "dev": true,
1065 | "license": "MIT",
1066 | "dependencies": {
1067 | "@typescript-eslint/types": "8.33.0",
1068 | "eslint-visitor-keys": "^4.2.0"
1069 | },
1070 | "engines": {
1071 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1072 | },
1073 | "funding": {
1074 | "type": "opencollective",
1075 | "url": "https://opencollective.com/typescript-eslint"
1076 | }
1077 | },
1078 | "node_modules/@typescript-eslint/type-utils/node_modules/eslint-visitor-keys": {
1079 | "version": "4.2.0",
1080 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
1081 | "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
1082 | "dev": true,
1083 | "license": "Apache-2.0",
1084 | "engines": {
1085 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1086 | },
1087 | "funding": {
1088 | "url": "https://opencollective.com/eslint"
1089 | }
1090 | },
1091 | "node_modules/@typescript-eslint/types": {
1092 | "version": "8.33.1",
1093 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.33.1.tgz",
1094 | "integrity": "sha512-xid1WfizGhy/TKMTwhtVOgalHwPtV8T32MS9MaH50Cwvz6x6YqRIPdD2WvW0XaqOzTV9p5xdLY0h/ZusU5Lokg==",
1095 | "dev": true,
1096 | "license": "MIT",
1097 | "engines": {
1098 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1099 | },
1100 | "funding": {
1101 | "type": "opencollective",
1102 | "url": "https://opencollective.com/typescript-eslint"
1103 | }
1104 | },
1105 | "node_modules/@typescript-eslint/typescript-estree": {
1106 | "version": "8.33.1",
1107 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.33.1.tgz",
1108 | "integrity": "sha512-+s9LYcT8LWjdYWu7IWs7FvUxpQ/DGkdjZeE/GGulHvv8rvYwQvVaUZ6DE+j5x/prADUgSbbCWZ2nPI3usuVeOA==",
1109 | "dev": true,
1110 | "license": "MIT",
1111 | "dependencies": {
1112 | "@typescript-eslint/project-service": "8.33.1",
1113 | "@typescript-eslint/tsconfig-utils": "8.33.1",
1114 | "@typescript-eslint/types": "8.33.1",
1115 | "@typescript-eslint/visitor-keys": "8.33.1",
1116 | "debug": "^4.3.4",
1117 | "fast-glob": "^3.3.2",
1118 | "is-glob": "^4.0.3",
1119 | "minimatch": "^9.0.4",
1120 | "semver": "^7.6.0",
1121 | "ts-api-utils": "^2.1.0"
1122 | },
1123 | "engines": {
1124 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1125 | },
1126 | "funding": {
1127 | "type": "opencollective",
1128 | "url": "https://opencollective.com/typescript-eslint"
1129 | },
1130 | "peerDependencies": {
1131 | "typescript": ">=4.8.4 <5.9.0"
1132 | }
1133 | },
1134 | "node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/project-service": {
1135 | "version": "8.33.1",
1136 | "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.33.1.tgz",
1137 | "integrity": "sha512-DZR0efeNklDIHHGRpMpR5gJITQpu6tLr9lDJnKdONTC7vvzOlLAG/wcfxcdxEWrbiZApcoBCzXqU/Z458Za5Iw==",
1138 | "dev": true,
1139 | "license": "MIT",
1140 | "dependencies": {
1141 | "@typescript-eslint/tsconfig-utils": "^8.33.1",
1142 | "@typescript-eslint/types": "^8.33.1",
1143 | "debug": "^4.3.4"
1144 | },
1145 | "engines": {
1146 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1147 | },
1148 | "funding": {
1149 | "type": "opencollective",
1150 | "url": "https://opencollective.com/typescript-eslint"
1151 | },
1152 | "peerDependencies": {
1153 | "typescript": ">=4.8.4 <5.9.0"
1154 | }
1155 | },
1156 | "node_modules/@typescript-eslint/typescript-estree/node_modules/@typescript-eslint/tsconfig-utils": {
1157 | "version": "8.33.1",
1158 | "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.33.1.tgz",
1159 | "integrity": "sha512-STAQsGYbHCF0/e+ShUQ4EatXQ7ceh3fBCXkNU7/MZVKulrlq1usH7t2FhxvCpuCi5O5oi1vmVaAjrGeL71OK1g==",
1160 | "dev": true,
1161 | "license": "MIT",
1162 | "engines": {
1163 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1164 | },
1165 | "funding": {
1166 | "type": "opencollective",
1167 | "url": "https://opencollective.com/typescript-eslint"
1168 | },
1169 | "peerDependencies": {
1170 | "typescript": ">=4.8.4 <5.9.0"
1171 | }
1172 | },
1173 | "node_modules/@typescript-eslint/utils": {
1174 | "version": "8.33.0",
1175 | "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.33.0.tgz",
1176 | "integrity": "sha512-lPFuQaLA9aSNa7D5u2EpRiqdAUhzShwGg/nhpBlc4GR6kcTABttCuyjFs8BcEZ8VWrjCBof/bePhP3Q3fS+Yrw==",
1177 | "dev": true,
1178 | "license": "MIT",
1179 | "dependencies": {
1180 | "@eslint-community/eslint-utils": "^4.7.0",
1181 | "@typescript-eslint/scope-manager": "8.33.0",
1182 | "@typescript-eslint/types": "8.33.0",
1183 | "@typescript-eslint/typescript-estree": "8.33.0"
1184 | },
1185 | "engines": {
1186 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1187 | },
1188 | "funding": {
1189 | "type": "opencollective",
1190 | "url": "https://opencollective.com/typescript-eslint"
1191 | },
1192 | "peerDependencies": {
1193 | "eslint": "^8.57.0 || ^9.0.0",
1194 | "typescript": ">=4.8.4 <5.9.0"
1195 | }
1196 | },
1197 | "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": {
1198 | "version": "8.33.0",
1199 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.33.0.tgz",
1200 | "integrity": "sha512-LMi/oqrzpqxyO72ltP+dBSP6V0xiUb4saY7WLtxSfiNEBI8m321LLVFU9/QDJxjDQG9/tjSqKz/E3380TEqSTw==",
1201 | "dev": true,
1202 | "license": "MIT",
1203 | "dependencies": {
1204 | "@typescript-eslint/types": "8.33.0",
1205 | "@typescript-eslint/visitor-keys": "8.33.0"
1206 | },
1207 | "engines": {
1208 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1209 | },
1210 | "funding": {
1211 | "type": "opencollective",
1212 | "url": "https://opencollective.com/typescript-eslint"
1213 | }
1214 | },
1215 | "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": {
1216 | "version": "8.33.0",
1217 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.33.0.tgz",
1218 | "integrity": "sha512-DKuXOKpM5IDT1FA2g9x9x1Ug81YuKrzf4mYX8FAVSNu5Wo/LELHWQyM1pQaDkI42bX15PWl0vNPt1uGiIFUOpg==",
1219 | "dev": true,
1220 | "license": "MIT",
1221 | "engines": {
1222 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1223 | },
1224 | "funding": {
1225 | "type": "opencollective",
1226 | "url": "https://opencollective.com/typescript-eslint"
1227 | }
1228 | },
1229 | "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": {
1230 | "version": "8.33.0",
1231 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.33.0.tgz",
1232 | "integrity": "sha512-vegY4FQoB6jL97Tu/lWRsAiUUp8qJTqzAmENH2k59SJhw0Th1oszb9Idq/FyyONLuNqT1OADJPXfyUNOR8SzAQ==",
1233 | "dev": true,
1234 | "license": "MIT",
1235 | "dependencies": {
1236 | "@typescript-eslint/project-service": "8.33.0",
1237 | "@typescript-eslint/tsconfig-utils": "8.33.0",
1238 | "@typescript-eslint/types": "8.33.0",
1239 | "@typescript-eslint/visitor-keys": "8.33.0",
1240 | "debug": "^4.3.4",
1241 | "fast-glob": "^3.3.2",
1242 | "is-glob": "^4.0.3",
1243 | "minimatch": "^9.0.4",
1244 | "semver": "^7.6.0",
1245 | "ts-api-utils": "^2.1.0"
1246 | },
1247 | "engines": {
1248 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1249 | },
1250 | "funding": {
1251 | "type": "opencollective",
1252 | "url": "https://opencollective.com/typescript-eslint"
1253 | },
1254 | "peerDependencies": {
1255 | "typescript": ">=4.8.4 <5.9.0"
1256 | }
1257 | },
1258 | "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": {
1259 | "version": "8.33.0",
1260 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.0.tgz",
1261 | "integrity": "sha512-7RW7CMYoskiz5OOGAWjJFxgb7c5UNjTG292gYhWeOAcFmYCtVCSqjqSBj5zMhxbXo2JOW95YYrUWJfU0zrpaGQ==",
1262 | "dev": true,
1263 | "license": "MIT",
1264 | "dependencies": {
1265 | "@typescript-eslint/types": "8.33.0",
1266 | "eslint-visitor-keys": "^4.2.0"
1267 | },
1268 | "engines": {
1269 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1270 | },
1271 | "funding": {
1272 | "type": "opencollective",
1273 | "url": "https://opencollective.com/typescript-eslint"
1274 | }
1275 | },
1276 | "node_modules/@typescript-eslint/utils/node_modules/eslint-visitor-keys": {
1277 | "version": "4.2.0",
1278 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
1279 | "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
1280 | "dev": true,
1281 | "license": "Apache-2.0",
1282 | "engines": {
1283 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1284 | },
1285 | "funding": {
1286 | "url": "https://opencollective.com/eslint"
1287 | }
1288 | },
1289 | "node_modules/@typescript-eslint/visitor-keys": {
1290 | "version": "8.33.1",
1291 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.1.tgz",
1292 | "integrity": "sha512-3i8NrFcZeeDHJ+7ZUuDkGT+UHq+XoFGsymNK2jZCOHcfEzRQ0BdpRtdpSx/Iyf3MHLWIcLS0COuOPibKQboIiQ==",
1293 | "dev": true,
1294 | "license": "MIT",
1295 | "dependencies": {
1296 | "@typescript-eslint/types": "8.33.1",
1297 | "eslint-visitor-keys": "^4.2.0"
1298 | },
1299 | "engines": {
1300 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1301 | },
1302 | "funding": {
1303 | "type": "opencollective",
1304 | "url": "https://opencollective.com/typescript-eslint"
1305 | }
1306 | },
1307 | "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
1308 | "version": "4.2.0",
1309 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
1310 | "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
1311 | "dev": true,
1312 | "license": "Apache-2.0",
1313 | "engines": {
1314 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1315 | },
1316 | "funding": {
1317 | "url": "https://opencollective.com/eslint"
1318 | }
1319 | },
1320 | "node_modules/acorn": {
1321 | "version": "8.14.0",
1322 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz",
1323 | "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==",
1324 | "dev": true,
1325 | "license": "MIT",
1326 | "peer": true,
1327 | "bin": {
1328 | "acorn": "bin/acorn"
1329 | },
1330 | "engines": {
1331 | "node": ">=0.4.0"
1332 | }
1333 | },
1334 | "node_modules/acorn-jsx": {
1335 | "version": "5.3.2",
1336 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
1337 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
1338 | "dev": true,
1339 | "license": "MIT",
1340 | "peer": true,
1341 | "peerDependencies": {
1342 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
1343 | }
1344 | },
1345 | "node_modules/ajv": {
1346 | "version": "6.12.6",
1347 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
1348 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
1349 | "dev": true,
1350 | "license": "MIT",
1351 | "peer": true,
1352 | "dependencies": {
1353 | "fast-deep-equal": "^3.1.1",
1354 | "fast-json-stable-stringify": "^2.0.0",
1355 | "json-schema-traverse": "^0.4.1",
1356 | "uri-js": "^4.2.2"
1357 | },
1358 | "funding": {
1359 | "type": "github",
1360 | "url": "https://github.com/sponsors/epoberezkin"
1361 | }
1362 | },
1363 | "node_modules/ansi-styles": {
1364 | "version": "4.3.0",
1365 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
1366 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
1367 | "dev": true,
1368 | "license": "MIT",
1369 | "peer": true,
1370 | "dependencies": {
1371 | "color-convert": "^2.0.1"
1372 | },
1373 | "engines": {
1374 | "node": ">=8"
1375 | },
1376 | "funding": {
1377 | "url": "https://github.com/chalk/ansi-styles?sponsor=1"
1378 | }
1379 | },
1380 | "node_modules/argparse": {
1381 | "version": "2.0.1",
1382 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
1383 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
1384 | "dev": true,
1385 | "license": "Python-2.0",
1386 | "peer": true
1387 | },
1388 | "node_modules/balanced-match": {
1389 | "version": "1.0.2",
1390 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
1391 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
1392 | "dev": true,
1393 | "license": "MIT"
1394 | },
1395 | "node_modules/base64-js": {
1396 | "version": "1.5.1",
1397 | "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
1398 | "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
1399 | "funding": [
1400 | {
1401 | "type": "github",
1402 | "url": "https://github.com/sponsors/feross"
1403 | },
1404 | {
1405 | "type": "patreon",
1406 | "url": "https://www.patreon.com/feross"
1407 | },
1408 | {
1409 | "type": "consulting",
1410 | "url": "https://feross.org/support"
1411 | }
1412 | ],
1413 | "license": "MIT"
1414 | },
1415 | "node_modules/bl": {
1416 | "version": "4.1.0",
1417 | "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
1418 | "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
1419 | "license": "MIT",
1420 | "dependencies": {
1421 | "buffer": "^5.5.0",
1422 | "inherits": "^2.0.4",
1423 | "readable-stream": "^3.4.0"
1424 | }
1425 | },
1426 | "node_modules/brace-expansion": {
1427 | "version": "2.0.1",
1428 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
1429 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
1430 | "dev": true,
1431 | "license": "MIT",
1432 | "dependencies": {
1433 | "balanced-match": "^1.0.0"
1434 | }
1435 | },
1436 | "node_modules/braces": {
1437 | "version": "3.0.3",
1438 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
1439 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
1440 | "dev": true,
1441 | "license": "MIT",
1442 | "dependencies": {
1443 | "fill-range": "^7.1.1"
1444 | },
1445 | "engines": {
1446 | "node": ">=8"
1447 | }
1448 | },
1449 | "node_modules/buffer": {
1450 | "version": "5.7.1",
1451 | "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
1452 | "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
1453 | "funding": [
1454 | {
1455 | "type": "github",
1456 | "url": "https://github.com/sponsors/feross"
1457 | },
1458 | {
1459 | "type": "patreon",
1460 | "url": "https://www.patreon.com/feross"
1461 | },
1462 | {
1463 | "type": "consulting",
1464 | "url": "https://feross.org/support"
1465 | }
1466 | ],
1467 | "license": "MIT",
1468 | "dependencies": {
1469 | "base64-js": "^1.3.1",
1470 | "ieee754": "^1.1.13"
1471 | }
1472 | },
1473 | "node_modules/builtin-modules": {
1474 | "version": "4.0.0",
1475 | "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-4.0.0.tgz",
1476 | "integrity": "sha512-p1n8zyCkt1BVrKNFymOHjcDSAl7oq/gUvfgULv2EblgpPVQlQr9yHnWjg9IJ2MhfwPqiYqMMrr01OY7yQoK2yA==",
1477 | "dev": true,
1478 | "license": "MIT",
1479 | "engines": {
1480 | "node": ">=18.20"
1481 | },
1482 | "funding": {
1483 | "url": "https://github.com/sponsors/sindresorhus"
1484 | }
1485 | },
1486 | "node_modules/callsites": {
1487 | "version": "3.1.0",
1488 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
1489 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
1490 | "dev": true,
1491 | "license": "MIT",
1492 | "peer": true,
1493 | "engines": {
1494 | "node": ">=6"
1495 | }
1496 | },
1497 | "node_modules/canvas": {
1498 | "version": "3.1.0",
1499 | "resolved": "https://registry.npmjs.org/canvas/-/canvas-3.1.0.tgz",
1500 | "integrity": "sha512-tTj3CqqukVJ9NgSahykNwtGda7V33VLObwrHfzT0vqJXu7J4d4C/7kQQW3fOEGDfZZoILPut5H00gOjyttPGyg==",
1501 | "hasInstallScript": true,
1502 | "license": "MIT",
1503 | "dependencies": {
1504 | "node-addon-api": "^7.0.0",
1505 | "prebuild-install": "^7.1.1"
1506 | },
1507 | "engines": {
1508 | "node": "^18.12.0 || >= 20.9.0"
1509 | }
1510 | },
1511 | "node_modules/chalk": {
1512 | "version": "4.1.2",
1513 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
1514 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
1515 | "dev": true,
1516 | "license": "MIT",
1517 | "peer": true,
1518 | "dependencies": {
1519 | "ansi-styles": "^4.1.0",
1520 | "supports-color": "^7.1.0"
1521 | },
1522 | "engines": {
1523 | "node": ">=10"
1524 | },
1525 | "funding": {
1526 | "url": "https://github.com/chalk/chalk?sponsor=1"
1527 | }
1528 | },
1529 | "node_modules/chownr": {
1530 | "version": "1.1.4",
1531 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
1532 | "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
1533 | "license": "ISC"
1534 | },
1535 | "node_modules/color-convert": {
1536 | "version": "2.0.1",
1537 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
1538 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
1539 | "dev": true,
1540 | "license": "MIT",
1541 | "peer": true,
1542 | "dependencies": {
1543 | "color-name": "~1.1.4"
1544 | },
1545 | "engines": {
1546 | "node": ">=7.0.0"
1547 | }
1548 | },
1549 | "node_modules/color-name": {
1550 | "version": "1.1.4",
1551 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
1552 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1553 | "dev": true,
1554 | "license": "MIT",
1555 | "peer": true
1556 | },
1557 | "node_modules/concat-map": {
1558 | "version": "0.0.1",
1559 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
1560 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
1561 | "dev": true,
1562 | "license": "MIT",
1563 | "peer": true
1564 | },
1565 | "node_modules/cross-spawn": {
1566 | "version": "7.0.6",
1567 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
1568 | "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
1569 | "dev": true,
1570 | "license": "MIT",
1571 | "peer": true,
1572 | "dependencies": {
1573 | "path-key": "^3.1.0",
1574 | "shebang-command": "^2.0.0",
1575 | "which": "^2.0.1"
1576 | },
1577 | "engines": {
1578 | "node": ">= 8"
1579 | }
1580 | },
1581 | "node_modules/debug": {
1582 | "version": "4.4.0",
1583 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
1584 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
1585 | "dev": true,
1586 | "license": "MIT",
1587 | "dependencies": {
1588 | "ms": "^2.1.3"
1589 | },
1590 | "engines": {
1591 | "node": ">=6.0"
1592 | },
1593 | "peerDependenciesMeta": {
1594 | "supports-color": {
1595 | "optional": true
1596 | }
1597 | }
1598 | },
1599 | "node_modules/deep-extend": {
1600 | "version": "0.6.0",
1601 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
1602 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
1603 | "license": "MIT",
1604 | "engines": {
1605 | "node": ">=4.0.0"
1606 | }
1607 | },
1608 | "node_modules/deep-is": {
1609 | "version": "0.1.4",
1610 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
1611 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
1612 | "dev": true,
1613 | "license": "MIT",
1614 | "peer": true
1615 | },
1616 | "node_modules/detect-libc": {
1617 | "version": "2.0.3",
1618 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
1619 | "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==",
1620 | "license": "Apache-2.0",
1621 | "engines": {
1622 | "node": ">=8"
1623 | }
1624 | },
1625 | "node_modules/end-of-stream": {
1626 | "version": "1.4.4",
1627 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
1628 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
1629 | "license": "MIT",
1630 | "dependencies": {
1631 | "once": "^1.4.0"
1632 | }
1633 | },
1634 | "node_modules/esbuild": {
1635 | "version": "0.25.4",
1636 | "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.4.tgz",
1637 | "integrity": "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==",
1638 | "dev": true,
1639 | "hasInstallScript": true,
1640 | "license": "MIT",
1641 | "bin": {
1642 | "esbuild": "bin/esbuild"
1643 | },
1644 | "engines": {
1645 | "node": ">=18"
1646 | },
1647 | "optionalDependencies": {
1648 | "@esbuild/aix-ppc64": "0.25.4",
1649 | "@esbuild/android-arm": "0.25.4",
1650 | "@esbuild/android-arm64": "0.25.4",
1651 | "@esbuild/android-x64": "0.25.4",
1652 | "@esbuild/darwin-arm64": "0.25.4",
1653 | "@esbuild/darwin-x64": "0.25.4",
1654 | "@esbuild/freebsd-arm64": "0.25.4",
1655 | "@esbuild/freebsd-x64": "0.25.4",
1656 | "@esbuild/linux-arm": "0.25.4",
1657 | "@esbuild/linux-arm64": "0.25.4",
1658 | "@esbuild/linux-ia32": "0.25.4",
1659 | "@esbuild/linux-loong64": "0.25.4",
1660 | "@esbuild/linux-mips64el": "0.25.4",
1661 | "@esbuild/linux-ppc64": "0.25.4",
1662 | "@esbuild/linux-riscv64": "0.25.4",
1663 | "@esbuild/linux-s390x": "0.25.4",
1664 | "@esbuild/linux-x64": "0.25.4",
1665 | "@esbuild/netbsd-arm64": "0.25.4",
1666 | "@esbuild/netbsd-x64": "0.25.4",
1667 | "@esbuild/openbsd-arm64": "0.25.4",
1668 | "@esbuild/openbsd-x64": "0.25.4",
1669 | "@esbuild/sunos-x64": "0.25.4",
1670 | "@esbuild/win32-arm64": "0.25.4",
1671 | "@esbuild/win32-ia32": "0.25.4",
1672 | "@esbuild/win32-x64": "0.25.4"
1673 | }
1674 | },
1675 | "node_modules/escape-string-regexp": {
1676 | "version": "4.0.0",
1677 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
1678 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
1679 | "dev": true,
1680 | "license": "MIT",
1681 | "peer": true,
1682 | "engines": {
1683 | "node": ">=10"
1684 | },
1685 | "funding": {
1686 | "url": "https://github.com/sponsors/sindresorhus"
1687 | }
1688 | },
1689 | "node_modules/eslint": {
1690 | "version": "9.18.0",
1691 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.18.0.tgz",
1692 | "integrity": "sha512-+waTfRWQlSbpt3KWE+CjrPPYnbq9kfZIYUqapc0uBXyjTp8aYXZDsUH16m39Ryq3NjAVP4tjuF7KaukeqoCoaA==",
1693 | "dev": true,
1694 | "license": "MIT",
1695 | "peer": true,
1696 | "dependencies": {
1697 | "@eslint-community/eslint-utils": "^4.2.0",
1698 | "@eslint-community/regexpp": "^4.12.1",
1699 | "@eslint/config-array": "^0.19.0",
1700 | "@eslint/core": "^0.10.0",
1701 | "@eslint/eslintrc": "^3.2.0",
1702 | "@eslint/js": "9.18.0",
1703 | "@eslint/plugin-kit": "^0.2.5",
1704 | "@humanfs/node": "^0.16.6",
1705 | "@humanwhocodes/module-importer": "^1.0.1",
1706 | "@humanwhocodes/retry": "^0.4.1",
1707 | "@types/estree": "^1.0.6",
1708 | "@types/json-schema": "^7.0.15",
1709 | "ajv": "^6.12.4",
1710 | "chalk": "^4.0.0",
1711 | "cross-spawn": "^7.0.6",
1712 | "debug": "^4.3.2",
1713 | "escape-string-regexp": "^4.0.0",
1714 | "eslint-scope": "^8.2.0",
1715 | "eslint-visitor-keys": "^4.2.0",
1716 | "espree": "^10.3.0",
1717 | "esquery": "^1.5.0",
1718 | "esutils": "^2.0.2",
1719 | "fast-deep-equal": "^3.1.3",
1720 | "file-entry-cache": "^8.0.0",
1721 | "find-up": "^5.0.0",
1722 | "glob-parent": "^6.0.2",
1723 | "ignore": "^5.2.0",
1724 | "imurmurhash": "^0.1.4",
1725 | "is-glob": "^4.0.0",
1726 | "json-stable-stringify-without-jsonify": "^1.0.1",
1727 | "lodash.merge": "^4.6.2",
1728 | "minimatch": "^3.1.2",
1729 | "natural-compare": "^1.4.0",
1730 | "optionator": "^0.9.3"
1731 | },
1732 | "bin": {
1733 | "eslint": "bin/eslint.js"
1734 | },
1735 | "engines": {
1736 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1737 | },
1738 | "funding": {
1739 | "url": "https://eslint.org/donate"
1740 | },
1741 | "peerDependencies": {
1742 | "jiti": "*"
1743 | },
1744 | "peerDependenciesMeta": {
1745 | "jiti": {
1746 | "optional": true
1747 | }
1748 | }
1749 | },
1750 | "node_modules/eslint-scope": {
1751 | "version": "8.2.0",
1752 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz",
1753 | "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==",
1754 | "dev": true,
1755 | "license": "BSD-2-Clause",
1756 | "peer": true,
1757 | "dependencies": {
1758 | "esrecurse": "^4.3.0",
1759 | "estraverse": "^5.2.0"
1760 | },
1761 | "engines": {
1762 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1763 | },
1764 | "funding": {
1765 | "url": "https://opencollective.com/eslint"
1766 | }
1767 | },
1768 | "node_modules/eslint-visitor-keys": {
1769 | "version": "3.4.3",
1770 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
1771 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
1772 | "dev": true,
1773 | "license": "Apache-2.0",
1774 | "engines": {
1775 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
1776 | },
1777 | "funding": {
1778 | "url": "https://opencollective.com/eslint"
1779 | }
1780 | },
1781 | "node_modules/eslint/node_modules/brace-expansion": {
1782 | "version": "1.1.11",
1783 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
1784 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
1785 | "dev": true,
1786 | "license": "MIT",
1787 | "peer": true,
1788 | "dependencies": {
1789 | "balanced-match": "^1.0.0",
1790 | "concat-map": "0.0.1"
1791 | }
1792 | },
1793 | "node_modules/eslint/node_modules/eslint-visitor-keys": {
1794 | "version": "4.2.0",
1795 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
1796 | "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
1797 | "dev": true,
1798 | "license": "Apache-2.0",
1799 | "peer": true,
1800 | "engines": {
1801 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1802 | },
1803 | "funding": {
1804 | "url": "https://opencollective.com/eslint"
1805 | }
1806 | },
1807 | "node_modules/eslint/node_modules/minimatch": {
1808 | "version": "3.1.2",
1809 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
1810 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
1811 | "dev": true,
1812 | "license": "ISC",
1813 | "peer": true,
1814 | "dependencies": {
1815 | "brace-expansion": "^1.1.7"
1816 | },
1817 | "engines": {
1818 | "node": "*"
1819 | }
1820 | },
1821 | "node_modules/espree": {
1822 | "version": "10.3.0",
1823 | "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz",
1824 | "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==",
1825 | "dev": true,
1826 | "license": "BSD-2-Clause",
1827 | "peer": true,
1828 | "dependencies": {
1829 | "acorn": "^8.14.0",
1830 | "acorn-jsx": "^5.3.2",
1831 | "eslint-visitor-keys": "^4.2.0"
1832 | },
1833 | "engines": {
1834 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1835 | },
1836 | "funding": {
1837 | "url": "https://opencollective.com/eslint"
1838 | }
1839 | },
1840 | "node_modules/espree/node_modules/eslint-visitor-keys": {
1841 | "version": "4.2.0",
1842 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
1843 | "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
1844 | "dev": true,
1845 | "license": "Apache-2.0",
1846 | "peer": true,
1847 | "engines": {
1848 | "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
1849 | },
1850 | "funding": {
1851 | "url": "https://opencollective.com/eslint"
1852 | }
1853 | },
1854 | "node_modules/esquery": {
1855 | "version": "1.6.0",
1856 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz",
1857 | "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
1858 | "dev": true,
1859 | "license": "BSD-3-Clause",
1860 | "peer": true,
1861 | "dependencies": {
1862 | "estraverse": "^5.1.0"
1863 | },
1864 | "engines": {
1865 | "node": ">=0.10"
1866 | }
1867 | },
1868 | "node_modules/esrecurse": {
1869 | "version": "4.3.0",
1870 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
1871 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
1872 | "dev": true,
1873 | "license": "BSD-2-Clause",
1874 | "peer": true,
1875 | "dependencies": {
1876 | "estraverse": "^5.2.0"
1877 | },
1878 | "engines": {
1879 | "node": ">=4.0"
1880 | }
1881 | },
1882 | "node_modules/estraverse": {
1883 | "version": "5.3.0",
1884 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
1885 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
1886 | "dev": true,
1887 | "license": "BSD-2-Clause",
1888 | "peer": true,
1889 | "engines": {
1890 | "node": ">=4.0"
1891 | }
1892 | },
1893 | "node_modules/esutils": {
1894 | "version": "2.0.3",
1895 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
1896 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
1897 | "dev": true,
1898 | "license": "BSD-2-Clause",
1899 | "peer": true,
1900 | "engines": {
1901 | "node": ">=0.10.0"
1902 | }
1903 | },
1904 | "node_modules/eventemitter3": {
1905 | "version": "5.0.1",
1906 | "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
1907 | "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
1908 | "license": "MIT"
1909 | },
1910 | "node_modules/expand-template": {
1911 | "version": "2.0.3",
1912 | "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
1913 | "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
1914 | "license": "(MIT OR WTFPL)",
1915 | "engines": {
1916 | "node": ">=6"
1917 | }
1918 | },
1919 | "node_modules/fast-deep-equal": {
1920 | "version": "3.1.3",
1921 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
1922 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
1923 | "dev": true,
1924 | "license": "MIT",
1925 | "peer": true
1926 | },
1927 | "node_modules/fast-glob": {
1928 | "version": "3.3.3",
1929 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
1930 | "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
1931 | "dev": true,
1932 | "license": "MIT",
1933 | "dependencies": {
1934 | "@nodelib/fs.stat": "^2.0.2",
1935 | "@nodelib/fs.walk": "^1.2.3",
1936 | "glob-parent": "^5.1.2",
1937 | "merge2": "^1.3.0",
1938 | "micromatch": "^4.0.8"
1939 | },
1940 | "engines": {
1941 | "node": ">=8.6.0"
1942 | }
1943 | },
1944 | "node_modules/fast-glob/node_modules/glob-parent": {
1945 | "version": "5.1.2",
1946 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
1947 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
1948 | "dev": true,
1949 | "license": "ISC",
1950 | "dependencies": {
1951 | "is-glob": "^4.0.1"
1952 | },
1953 | "engines": {
1954 | "node": ">= 6"
1955 | }
1956 | },
1957 | "node_modules/fast-json-stable-stringify": {
1958 | "version": "2.1.0",
1959 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
1960 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
1961 | "dev": true,
1962 | "license": "MIT",
1963 | "peer": true
1964 | },
1965 | "node_modules/fast-levenshtein": {
1966 | "version": "2.0.6",
1967 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
1968 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
1969 | "dev": true,
1970 | "license": "MIT",
1971 | "peer": true
1972 | },
1973 | "node_modules/fastq": {
1974 | "version": "1.18.0",
1975 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.18.0.tgz",
1976 | "integrity": "sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==",
1977 | "dev": true,
1978 | "license": "ISC",
1979 | "dependencies": {
1980 | "reusify": "^1.0.4"
1981 | }
1982 | },
1983 | "node_modules/file-entry-cache": {
1984 | "version": "8.0.0",
1985 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
1986 | "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
1987 | "dev": true,
1988 | "license": "MIT",
1989 | "peer": true,
1990 | "dependencies": {
1991 | "flat-cache": "^4.0.0"
1992 | },
1993 | "engines": {
1994 | "node": ">=16.0.0"
1995 | }
1996 | },
1997 | "node_modules/fill-range": {
1998 | "version": "7.1.1",
1999 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
2000 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
2001 | "dev": true,
2002 | "license": "MIT",
2003 | "dependencies": {
2004 | "to-regex-range": "^5.0.1"
2005 | },
2006 | "engines": {
2007 | "node": ">=8"
2008 | }
2009 | },
2010 | "node_modules/find-up": {
2011 | "version": "5.0.0",
2012 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
2013 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
2014 | "dev": true,
2015 | "license": "MIT",
2016 | "peer": true,
2017 | "dependencies": {
2018 | "locate-path": "^6.0.0",
2019 | "path-exists": "^4.0.0"
2020 | },
2021 | "engines": {
2022 | "node": ">=10"
2023 | },
2024 | "funding": {
2025 | "url": "https://github.com/sponsors/sindresorhus"
2026 | }
2027 | },
2028 | "node_modules/flat-cache": {
2029 | "version": "4.0.1",
2030 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
2031 | "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
2032 | "dev": true,
2033 | "license": "MIT",
2034 | "peer": true,
2035 | "dependencies": {
2036 | "flatted": "^3.2.9",
2037 | "keyv": "^4.5.4"
2038 | },
2039 | "engines": {
2040 | "node": ">=16"
2041 | }
2042 | },
2043 | "node_modules/flatted": {
2044 | "version": "3.3.2",
2045 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz",
2046 | "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==",
2047 | "dev": true,
2048 | "license": "ISC",
2049 | "peer": true
2050 | },
2051 | "node_modules/fs-constants": {
2052 | "version": "1.0.0",
2053 | "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
2054 | "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
2055 | "license": "MIT"
2056 | },
2057 | "node_modules/github-from-package": {
2058 | "version": "0.0.0",
2059 | "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
2060 | "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==",
2061 | "license": "MIT"
2062 | },
2063 | "node_modules/glob-parent": {
2064 | "version": "6.0.2",
2065 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
2066 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
2067 | "dev": true,
2068 | "license": "ISC",
2069 | "peer": true,
2070 | "dependencies": {
2071 | "is-glob": "^4.0.3"
2072 | },
2073 | "engines": {
2074 | "node": ">=10.13.0"
2075 | }
2076 | },
2077 | "node_modules/globals": {
2078 | "version": "14.0.0",
2079 | "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
2080 | "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
2081 | "dev": true,
2082 | "license": "MIT",
2083 | "peer": true,
2084 | "engines": {
2085 | "node": ">=18"
2086 | },
2087 | "funding": {
2088 | "url": "https://github.com/sponsors/sindresorhus"
2089 | }
2090 | },
2091 | "node_modules/graphemer": {
2092 | "version": "1.4.0",
2093 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
2094 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
2095 | "dev": true,
2096 | "license": "MIT"
2097 | },
2098 | "node_modules/has-flag": {
2099 | "version": "4.0.0",
2100 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
2101 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
2102 | "dev": true,
2103 | "license": "MIT",
2104 | "peer": true,
2105 | "engines": {
2106 | "node": ">=8"
2107 | }
2108 | },
2109 | "node_modules/ieee754": {
2110 | "version": "1.2.1",
2111 | "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
2112 | "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
2113 | "funding": [
2114 | {
2115 | "type": "github",
2116 | "url": "https://github.com/sponsors/feross"
2117 | },
2118 | {
2119 | "type": "patreon",
2120 | "url": "https://www.patreon.com/feross"
2121 | },
2122 | {
2123 | "type": "consulting",
2124 | "url": "https://feross.org/support"
2125 | }
2126 | ],
2127 | "license": "BSD-3-Clause"
2128 | },
2129 | "node_modules/ignore": {
2130 | "version": "5.3.2",
2131 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
2132 | "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
2133 | "dev": true,
2134 | "license": "MIT",
2135 | "peer": true,
2136 | "engines": {
2137 | "node": ">= 4"
2138 | }
2139 | },
2140 | "node_modules/import-fresh": {
2141 | "version": "3.3.0",
2142 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
2143 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
2144 | "dev": true,
2145 | "license": "MIT",
2146 | "peer": true,
2147 | "dependencies": {
2148 | "parent-module": "^1.0.0",
2149 | "resolve-from": "^4.0.0"
2150 | },
2151 | "engines": {
2152 | "node": ">=6"
2153 | },
2154 | "funding": {
2155 | "url": "https://github.com/sponsors/sindresorhus"
2156 | }
2157 | },
2158 | "node_modules/imurmurhash": {
2159 | "version": "0.1.4",
2160 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
2161 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
2162 | "dev": true,
2163 | "license": "MIT",
2164 | "peer": true,
2165 | "engines": {
2166 | "node": ">=0.8.19"
2167 | }
2168 | },
2169 | "node_modules/inherits": {
2170 | "version": "2.0.4",
2171 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
2172 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
2173 | "license": "ISC"
2174 | },
2175 | "node_modules/ini": {
2176 | "version": "1.3.8",
2177 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
2178 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
2179 | "license": "ISC"
2180 | },
2181 | "node_modules/is-extglob": {
2182 | "version": "2.1.1",
2183 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
2184 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
2185 | "dev": true,
2186 | "license": "MIT",
2187 | "engines": {
2188 | "node": ">=0.10.0"
2189 | }
2190 | },
2191 | "node_modules/is-glob": {
2192 | "version": "4.0.3",
2193 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
2194 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
2195 | "dev": true,
2196 | "license": "MIT",
2197 | "dependencies": {
2198 | "is-extglob": "^2.1.1"
2199 | },
2200 | "engines": {
2201 | "node": ">=0.10.0"
2202 | }
2203 | },
2204 | "node_modules/is-number": {
2205 | "version": "7.0.0",
2206 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
2207 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
2208 | "dev": true,
2209 | "license": "MIT",
2210 | "engines": {
2211 | "node": ">=0.12.0"
2212 | }
2213 | },
2214 | "node_modules/isexe": {
2215 | "version": "2.0.0",
2216 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
2217 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
2218 | "dev": true,
2219 | "license": "ISC",
2220 | "peer": true
2221 | },
2222 | "node_modules/js-yaml": {
2223 | "version": "4.1.0",
2224 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
2225 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
2226 | "dev": true,
2227 | "license": "MIT",
2228 | "peer": true,
2229 | "dependencies": {
2230 | "argparse": "^2.0.1"
2231 | },
2232 | "bin": {
2233 | "js-yaml": "bin/js-yaml.js"
2234 | }
2235 | },
2236 | "node_modules/json-buffer": {
2237 | "version": "3.0.1",
2238 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
2239 | "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
2240 | "dev": true,
2241 | "license": "MIT",
2242 | "peer": true
2243 | },
2244 | "node_modules/json-schema-traverse": {
2245 | "version": "0.4.1",
2246 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
2247 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
2248 | "dev": true,
2249 | "license": "MIT",
2250 | "peer": true
2251 | },
2252 | "node_modules/json-stable-stringify-without-jsonify": {
2253 | "version": "1.0.1",
2254 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
2255 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
2256 | "dev": true,
2257 | "license": "MIT",
2258 | "peer": true
2259 | },
2260 | "node_modules/keyv": {
2261 | "version": "4.5.4",
2262 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
2263 | "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
2264 | "dev": true,
2265 | "license": "MIT",
2266 | "peer": true,
2267 | "dependencies": {
2268 | "json-buffer": "3.0.1"
2269 | }
2270 | },
2271 | "node_modules/levn": {
2272 | "version": "0.4.1",
2273 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
2274 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
2275 | "dev": true,
2276 | "license": "MIT",
2277 | "peer": true,
2278 | "dependencies": {
2279 | "prelude-ls": "^1.2.1",
2280 | "type-check": "~0.4.0"
2281 | },
2282 | "engines": {
2283 | "node": ">= 0.8.0"
2284 | }
2285 | },
2286 | "node_modules/locate-path": {
2287 | "version": "6.0.0",
2288 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
2289 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
2290 | "dev": true,
2291 | "license": "MIT",
2292 | "peer": true,
2293 | "dependencies": {
2294 | "p-locate": "^5.0.0"
2295 | },
2296 | "engines": {
2297 | "node": ">=10"
2298 | },
2299 | "funding": {
2300 | "url": "https://github.com/sponsors/sindresorhus"
2301 | }
2302 | },
2303 | "node_modules/lodash.merge": {
2304 | "version": "4.6.2",
2305 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
2306 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
2307 | "dev": true,
2308 | "license": "MIT",
2309 | "peer": true
2310 | },
2311 | "node_modules/merge2": {
2312 | "version": "1.4.1",
2313 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
2314 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
2315 | "dev": true,
2316 | "license": "MIT",
2317 | "engines": {
2318 | "node": ">= 8"
2319 | }
2320 | },
2321 | "node_modules/micromatch": {
2322 | "version": "4.0.8",
2323 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
2324 | "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
2325 | "dev": true,
2326 | "license": "MIT",
2327 | "dependencies": {
2328 | "braces": "^3.0.3",
2329 | "picomatch": "^2.3.1"
2330 | },
2331 | "engines": {
2332 | "node": ">=8.6"
2333 | }
2334 | },
2335 | "node_modules/minimatch": {
2336 | "version": "9.0.5",
2337 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
2338 | "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
2339 | "dev": true,
2340 | "license": "ISC",
2341 | "dependencies": {
2342 | "brace-expansion": "^2.0.1"
2343 | },
2344 | "engines": {
2345 | "node": ">=16 || 14 >=14.17"
2346 | },
2347 | "funding": {
2348 | "url": "https://github.com/sponsors/isaacs"
2349 | }
2350 | },
2351 | "node_modules/minimist": {
2352 | "version": "1.2.8",
2353 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
2354 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
2355 | "license": "MIT",
2356 | "funding": {
2357 | "url": "https://github.com/sponsors/ljharb"
2358 | }
2359 | },
2360 | "node_modules/mkdirp-classic": {
2361 | "version": "0.5.3",
2362 | "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
2363 | "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
2364 | "license": "MIT"
2365 | },
2366 | "node_modules/moment": {
2367 | "version": "2.29.4",
2368 | "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
2369 | "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==",
2370 | "dev": true,
2371 | "license": "MIT",
2372 | "engines": {
2373 | "node": "*"
2374 | }
2375 | },
2376 | "node_modules/ms": {
2377 | "version": "2.1.3",
2378 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
2379 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
2380 | "dev": true,
2381 | "license": "MIT"
2382 | },
2383 | "node_modules/napi-build-utils": {
2384 | "version": "1.0.2",
2385 | "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.2.tgz",
2386 | "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==",
2387 | "license": "MIT"
2388 | },
2389 | "node_modules/natural-compare": {
2390 | "version": "1.4.0",
2391 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
2392 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
2393 | "dev": true,
2394 | "license": "MIT"
2395 | },
2396 | "node_modules/node-abi": {
2397 | "version": "3.73.0",
2398 | "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.73.0.tgz",
2399 | "integrity": "sha512-z8iYzQGBu35ZkTQ9mtR8RqugJZ9RCLn8fv3d7LsgDBzOijGQP3RdKTX4LA7LXw03ZhU5z0l4xfhIMgSES31+cg==",
2400 | "license": "MIT",
2401 | "dependencies": {
2402 | "semver": "^7.3.5"
2403 | },
2404 | "engines": {
2405 | "node": ">=10"
2406 | }
2407 | },
2408 | "node_modules/node-addon-api": {
2409 | "version": "7.1.1",
2410 | "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz",
2411 | "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==",
2412 | "license": "MIT"
2413 | },
2414 | "node_modules/obsidian": {
2415 | "version": "1.8.7",
2416 | "resolved": "https://registry.npmjs.org/obsidian/-/obsidian-1.8.7.tgz",
2417 | "integrity": "sha512-h4bWwNFAGRXlMlMAzdEiIM2ppTGlrh7uGOJS6w4gClrsjc+ei/3YAtU2VdFUlCiPuTHpY4aBpFJJW75S1Tl/JA==",
2418 | "dev": true,
2419 | "license": "MIT",
2420 | "dependencies": {
2421 | "@types/codemirror": "5.60.8",
2422 | "moment": "2.29.4"
2423 | },
2424 | "peerDependencies": {
2425 | "@codemirror/state": "^6.0.0",
2426 | "@codemirror/view": "^6.0.0"
2427 | }
2428 | },
2429 | "node_modules/ollama": {
2430 | "version": "0.5.16",
2431 | "resolved": "https://registry.npmjs.org/ollama/-/ollama-0.5.16.tgz",
2432 | "integrity": "sha512-OEbxxOIUZtdZgOaTPAULo051F5y+Z1vosxEYOoABPnQKeW7i4O8tJNlxCB+xioyoorVqgjkdj+TA1f1Hy2ug/w==",
2433 | "license": "MIT",
2434 | "dependencies": {
2435 | "whatwg-fetch": "^3.6.20"
2436 | }
2437 | },
2438 | "node_modules/once": {
2439 | "version": "1.4.0",
2440 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
2441 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
2442 | "license": "ISC",
2443 | "dependencies": {
2444 | "wrappy": "1"
2445 | }
2446 | },
2447 | "node_modules/optionator": {
2448 | "version": "0.9.4",
2449 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
2450 | "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
2451 | "dev": true,
2452 | "license": "MIT",
2453 | "peer": true,
2454 | "dependencies": {
2455 | "deep-is": "^0.1.3",
2456 | "fast-levenshtein": "^2.0.6",
2457 | "levn": "^0.4.1",
2458 | "prelude-ls": "^1.2.1",
2459 | "type-check": "^0.4.0",
2460 | "word-wrap": "^1.2.5"
2461 | },
2462 | "engines": {
2463 | "node": ">= 0.8.0"
2464 | }
2465 | },
2466 | "node_modules/p-limit": {
2467 | "version": "3.1.0",
2468 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
2469 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
2470 | "dev": true,
2471 | "license": "MIT",
2472 | "peer": true,
2473 | "dependencies": {
2474 | "yocto-queue": "^0.1.0"
2475 | },
2476 | "engines": {
2477 | "node": ">=10"
2478 | },
2479 | "funding": {
2480 | "url": "https://github.com/sponsors/sindresorhus"
2481 | }
2482 | },
2483 | "node_modules/p-locate": {
2484 | "version": "5.0.0",
2485 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
2486 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
2487 | "dev": true,
2488 | "license": "MIT",
2489 | "peer": true,
2490 | "dependencies": {
2491 | "p-limit": "^3.0.2"
2492 | },
2493 | "engines": {
2494 | "node": ">=10"
2495 | },
2496 | "funding": {
2497 | "url": "https://github.com/sponsors/sindresorhus"
2498 | }
2499 | },
2500 | "node_modules/p-queue": {
2501 | "version": "8.1.0",
2502 | "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-8.1.0.tgz",
2503 | "integrity": "sha512-mxLDbbGIBEXTJL0zEx8JIylaj3xQ7Z/7eEVjcF9fJX4DBiH9oqe+oahYnlKKxm0Ci9TlWTyhSHgygxMxjIB2jw==",
2504 | "license": "MIT",
2505 | "dependencies": {
2506 | "eventemitter3": "^5.0.1",
2507 | "p-timeout": "^6.1.2"
2508 | },
2509 | "engines": {
2510 | "node": ">=18"
2511 | },
2512 | "funding": {
2513 | "url": "https://github.com/sponsors/sindresorhus"
2514 | }
2515 | },
2516 | "node_modules/p-timeout": {
2517 | "version": "6.1.4",
2518 | "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.1.4.tgz",
2519 | "integrity": "sha512-MyIV3ZA/PmyBN/ud8vV9XzwTrNtR4jFrObymZYnZqMmW0zA8Z17vnT0rBgFE/TlohB+YCHqXMgZzb3Csp49vqg==",
2520 | "license": "MIT",
2521 | "engines": {
2522 | "node": ">=14.16"
2523 | },
2524 | "funding": {
2525 | "url": "https://github.com/sponsors/sindresorhus"
2526 | }
2527 | },
2528 | "node_modules/parent-module": {
2529 | "version": "1.0.1",
2530 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
2531 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
2532 | "dev": true,
2533 | "license": "MIT",
2534 | "peer": true,
2535 | "dependencies": {
2536 | "callsites": "^3.0.0"
2537 | },
2538 | "engines": {
2539 | "node": ">=6"
2540 | }
2541 | },
2542 | "node_modules/path-exists": {
2543 | "version": "4.0.0",
2544 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
2545 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
2546 | "dev": true,
2547 | "license": "MIT",
2548 | "peer": true,
2549 | "engines": {
2550 | "node": ">=8"
2551 | }
2552 | },
2553 | "node_modules/path-key": {
2554 | "version": "3.1.1",
2555 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
2556 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
2557 | "dev": true,
2558 | "license": "MIT",
2559 | "peer": true,
2560 | "engines": {
2561 | "node": ">=8"
2562 | }
2563 | },
2564 | "node_modules/picomatch": {
2565 | "version": "2.3.1",
2566 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
2567 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
2568 | "dev": true,
2569 | "license": "MIT",
2570 | "engines": {
2571 | "node": ">=8.6"
2572 | },
2573 | "funding": {
2574 | "url": "https://github.com/sponsors/jonschlinkert"
2575 | }
2576 | },
2577 | "node_modules/prebuild-install": {
2578 | "version": "7.1.2",
2579 | "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.2.tgz",
2580 | "integrity": "sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==",
2581 | "license": "MIT",
2582 | "dependencies": {
2583 | "detect-libc": "^2.0.0",
2584 | "expand-template": "^2.0.3",
2585 | "github-from-package": "0.0.0",
2586 | "minimist": "^1.2.3",
2587 | "mkdirp-classic": "^0.5.3",
2588 | "napi-build-utils": "^1.0.1",
2589 | "node-abi": "^3.3.0",
2590 | "pump": "^3.0.0",
2591 | "rc": "^1.2.7",
2592 | "simple-get": "^4.0.0",
2593 | "tar-fs": "^2.0.0",
2594 | "tunnel-agent": "^0.6.0"
2595 | },
2596 | "bin": {
2597 | "prebuild-install": "bin.js"
2598 | },
2599 | "engines": {
2600 | "node": ">=10"
2601 | }
2602 | },
2603 | "node_modules/prebuild-install/node_modules/decompress-response": {
2604 | "version": "6.0.0",
2605 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
2606 | "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
2607 | "license": "MIT",
2608 | "dependencies": {
2609 | "mimic-response": "^3.1.0"
2610 | },
2611 | "engines": {
2612 | "node": ">=10"
2613 | },
2614 | "funding": {
2615 | "url": "https://github.com/sponsors/sindresorhus"
2616 | }
2617 | },
2618 | "node_modules/prebuild-install/node_modules/mimic-response": {
2619 | "version": "3.1.0",
2620 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
2621 | "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
2622 | "license": "MIT",
2623 | "engines": {
2624 | "node": ">=10"
2625 | },
2626 | "funding": {
2627 | "url": "https://github.com/sponsors/sindresorhus"
2628 | }
2629 | },
2630 | "node_modules/prebuild-install/node_modules/simple-get": {
2631 | "version": "4.0.1",
2632 | "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
2633 | "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
2634 | "funding": [
2635 | {
2636 | "type": "github",
2637 | "url": "https://github.com/sponsors/feross"
2638 | },
2639 | {
2640 | "type": "patreon",
2641 | "url": "https://www.patreon.com/feross"
2642 | },
2643 | {
2644 | "type": "consulting",
2645 | "url": "https://feross.org/support"
2646 | }
2647 | ],
2648 | "license": "MIT",
2649 | "dependencies": {
2650 | "decompress-response": "^6.0.0",
2651 | "once": "^1.3.1",
2652 | "simple-concat": "^1.0.0"
2653 | }
2654 | },
2655 | "node_modules/prelude-ls": {
2656 | "version": "1.2.1",
2657 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
2658 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
2659 | "dev": true,
2660 | "license": "MIT",
2661 | "peer": true,
2662 | "engines": {
2663 | "node": ">= 0.8.0"
2664 | }
2665 | },
2666 | "node_modules/pump": {
2667 | "version": "3.0.2",
2668 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz",
2669 | "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==",
2670 | "license": "MIT",
2671 | "dependencies": {
2672 | "end-of-stream": "^1.1.0",
2673 | "once": "^1.3.1"
2674 | }
2675 | },
2676 | "node_modules/punycode": {
2677 | "version": "2.3.1",
2678 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
2679 | "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
2680 | "dev": true,
2681 | "license": "MIT",
2682 | "peer": true,
2683 | "engines": {
2684 | "node": ">=6"
2685 | }
2686 | },
2687 | "node_modules/queue-microtask": {
2688 | "version": "1.2.3",
2689 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
2690 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
2691 | "dev": true,
2692 | "funding": [
2693 | {
2694 | "type": "github",
2695 | "url": "https://github.com/sponsors/feross"
2696 | },
2697 | {
2698 | "type": "patreon",
2699 | "url": "https://www.patreon.com/feross"
2700 | },
2701 | {
2702 | "type": "consulting",
2703 | "url": "https://feross.org/support"
2704 | }
2705 | ],
2706 | "license": "MIT"
2707 | },
2708 | "node_modules/rc": {
2709 | "version": "1.2.8",
2710 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
2711 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
2712 | "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
2713 | "dependencies": {
2714 | "deep-extend": "^0.6.0",
2715 | "ini": "~1.3.0",
2716 | "minimist": "^1.2.0",
2717 | "strip-json-comments": "~2.0.1"
2718 | },
2719 | "bin": {
2720 | "rc": "cli.js"
2721 | }
2722 | },
2723 | "node_modules/rc/node_modules/strip-json-comments": {
2724 | "version": "2.0.1",
2725 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
2726 | "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",
2727 | "license": "MIT",
2728 | "engines": {
2729 | "node": ">=0.10.0"
2730 | }
2731 | },
2732 | "node_modules/readable-stream": {
2733 | "version": "3.6.2",
2734 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
2735 | "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
2736 | "license": "MIT",
2737 | "dependencies": {
2738 | "inherits": "^2.0.3",
2739 | "string_decoder": "^1.1.1",
2740 | "util-deprecate": "^1.0.1"
2741 | },
2742 | "engines": {
2743 | "node": ">= 6"
2744 | }
2745 | },
2746 | "node_modules/resolve-from": {
2747 | "version": "4.0.0",
2748 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
2749 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
2750 | "dev": true,
2751 | "license": "MIT",
2752 | "peer": true,
2753 | "engines": {
2754 | "node": ">=4"
2755 | }
2756 | },
2757 | "node_modules/reusify": {
2758 | "version": "1.0.4",
2759 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
2760 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
2761 | "dev": true,
2762 | "license": "MIT",
2763 | "engines": {
2764 | "iojs": ">=1.0.0",
2765 | "node": ">=0.10.0"
2766 | }
2767 | },
2768 | "node_modules/run-parallel": {
2769 | "version": "1.2.0",
2770 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
2771 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
2772 | "dev": true,
2773 | "funding": [
2774 | {
2775 | "type": "github",
2776 | "url": "https://github.com/sponsors/feross"
2777 | },
2778 | {
2779 | "type": "patreon",
2780 | "url": "https://www.patreon.com/feross"
2781 | },
2782 | {
2783 | "type": "consulting",
2784 | "url": "https://feross.org/support"
2785 | }
2786 | ],
2787 | "license": "MIT",
2788 | "dependencies": {
2789 | "queue-microtask": "^1.2.2"
2790 | }
2791 | },
2792 | "node_modules/safe-buffer": {
2793 | "version": "5.2.1",
2794 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
2795 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
2796 | "funding": [
2797 | {
2798 | "type": "github",
2799 | "url": "https://github.com/sponsors/feross"
2800 | },
2801 | {
2802 | "type": "patreon",
2803 | "url": "https://www.patreon.com/feross"
2804 | },
2805 | {
2806 | "type": "consulting",
2807 | "url": "https://feross.org/support"
2808 | }
2809 | ],
2810 | "license": "MIT"
2811 | },
2812 | "node_modules/semver": {
2813 | "version": "7.6.3",
2814 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
2815 | "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
2816 | "license": "ISC",
2817 | "bin": {
2818 | "semver": "bin/semver.js"
2819 | },
2820 | "engines": {
2821 | "node": ">=10"
2822 | }
2823 | },
2824 | "node_modules/shebang-command": {
2825 | "version": "2.0.0",
2826 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
2827 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
2828 | "dev": true,
2829 | "license": "MIT",
2830 | "peer": true,
2831 | "dependencies": {
2832 | "shebang-regex": "^3.0.0"
2833 | },
2834 | "engines": {
2835 | "node": ">=8"
2836 | }
2837 | },
2838 | "node_modules/shebang-regex": {
2839 | "version": "3.0.0",
2840 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
2841 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
2842 | "dev": true,
2843 | "license": "MIT",
2844 | "peer": true,
2845 | "engines": {
2846 | "node": ">=8"
2847 | }
2848 | },
2849 | "node_modules/simple-concat": {
2850 | "version": "1.0.1",
2851 | "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
2852 | "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
2853 | "funding": [
2854 | {
2855 | "type": "github",
2856 | "url": "https://github.com/sponsors/feross"
2857 | },
2858 | {
2859 | "type": "patreon",
2860 | "url": "https://www.patreon.com/feross"
2861 | },
2862 | {
2863 | "type": "consulting",
2864 | "url": "https://feross.org/support"
2865 | }
2866 | ],
2867 | "license": "MIT"
2868 | },
2869 | "node_modules/string_decoder": {
2870 | "version": "1.3.0",
2871 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
2872 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
2873 | "license": "MIT",
2874 | "dependencies": {
2875 | "safe-buffer": "~5.2.0"
2876 | }
2877 | },
2878 | "node_modules/strip-json-comments": {
2879 | "version": "3.1.1",
2880 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
2881 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
2882 | "dev": true,
2883 | "license": "MIT",
2884 | "peer": true,
2885 | "engines": {
2886 | "node": ">=8"
2887 | },
2888 | "funding": {
2889 | "url": "https://github.com/sponsors/sindresorhus"
2890 | }
2891 | },
2892 | "node_modules/style-mod": {
2893 | "version": "4.1.2",
2894 | "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.2.tgz",
2895 | "integrity": "sha512-wnD1HyVqpJUI2+eKZ+eo1UwghftP6yuFheBqqe+bWCotBjC2K1YnteJILRMs3SM4V/0dLEW1SC27MWP5y+mwmw==",
2896 | "dev": true,
2897 | "license": "MIT",
2898 | "peer": true
2899 | },
2900 | "node_modules/supports-color": {
2901 | "version": "7.2.0",
2902 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
2903 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
2904 | "dev": true,
2905 | "license": "MIT",
2906 | "peer": true,
2907 | "dependencies": {
2908 | "has-flag": "^4.0.0"
2909 | },
2910 | "engines": {
2911 | "node": ">=8"
2912 | }
2913 | },
2914 | "node_modules/tar-fs": {
2915 | "version": "2.1.3",
2916 | "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.3.tgz",
2917 | "integrity": "sha512-090nwYJDmlhwFwEW3QQl+vaNnxsO2yVsd45eTKRBzSzu+hlb1w2K9inVq5b0ngXuLVqQ4ApvsUHHnu/zQNkWAg==",
2918 | "license": "MIT",
2919 | "dependencies": {
2920 | "chownr": "^1.1.1",
2921 | "mkdirp-classic": "^0.5.2",
2922 | "pump": "^3.0.0",
2923 | "tar-stream": "^2.1.4"
2924 | }
2925 | },
2926 | "node_modules/tar-stream": {
2927 | "version": "2.2.0",
2928 | "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
2929 | "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
2930 | "license": "MIT",
2931 | "dependencies": {
2932 | "bl": "^4.0.3",
2933 | "end-of-stream": "^1.4.1",
2934 | "fs-constants": "^1.0.0",
2935 | "inherits": "^2.0.3",
2936 | "readable-stream": "^3.1.1"
2937 | },
2938 | "engines": {
2939 | "node": ">=6"
2940 | }
2941 | },
2942 | "node_modules/to-regex-range": {
2943 | "version": "5.0.1",
2944 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
2945 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
2946 | "dev": true,
2947 | "license": "MIT",
2948 | "dependencies": {
2949 | "is-number": "^7.0.0"
2950 | },
2951 | "engines": {
2952 | "node": ">=8.0"
2953 | }
2954 | },
2955 | "node_modules/ts-api-utils": {
2956 | "version": "2.1.0",
2957 | "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
2958 | "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
2959 | "dev": true,
2960 | "license": "MIT",
2961 | "engines": {
2962 | "node": ">=18.12"
2963 | },
2964 | "peerDependencies": {
2965 | "typescript": ">=4.8.4"
2966 | }
2967 | },
2968 | "node_modules/tslib": {
2969 | "version": "2.8.1",
2970 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
2971 | "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
2972 | "dev": true,
2973 | "license": "0BSD"
2974 | },
2975 | "node_modules/tunnel-agent": {
2976 | "version": "0.6.0",
2977 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
2978 | "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
2979 | "license": "Apache-2.0",
2980 | "dependencies": {
2981 | "safe-buffer": "^5.0.1"
2982 | },
2983 | "engines": {
2984 | "node": "*"
2985 | }
2986 | },
2987 | "node_modules/type-check": {
2988 | "version": "0.4.0",
2989 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
2990 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
2991 | "dev": true,
2992 | "license": "MIT",
2993 | "peer": true,
2994 | "dependencies": {
2995 | "prelude-ls": "^1.2.1"
2996 | },
2997 | "engines": {
2998 | "node": ">= 0.8.0"
2999 | }
3000 | },
3001 | "node_modules/typescript": {
3002 | "version": "5.8.3",
3003 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
3004 | "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
3005 | "dev": true,
3006 | "license": "Apache-2.0",
3007 | "bin": {
3008 | "tsc": "bin/tsc",
3009 | "tsserver": "bin/tsserver"
3010 | },
3011 | "engines": {
3012 | "node": ">=14.17"
3013 | }
3014 | },
3015 | "node_modules/undici-types": {
3016 | "version": "6.21.0",
3017 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
3018 | "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
3019 | "dev": true,
3020 | "license": "MIT"
3021 | },
3022 | "node_modules/uri-js": {
3023 | "version": "4.4.1",
3024 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
3025 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
3026 | "dev": true,
3027 | "license": "BSD-2-Clause",
3028 | "peer": true,
3029 | "dependencies": {
3030 | "punycode": "^2.1.0"
3031 | }
3032 | },
3033 | "node_modules/util-deprecate": {
3034 | "version": "1.0.2",
3035 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
3036 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
3037 | "license": "MIT"
3038 | },
3039 | "node_modules/w3c-keyname": {
3040 | "version": "2.2.8",
3041 | "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz",
3042 | "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==",
3043 | "dev": true,
3044 | "license": "MIT",
3045 | "peer": true
3046 | },
3047 | "node_modules/whatwg-fetch": {
3048 | "version": "3.6.20",
3049 | "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz",
3050 | "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==",
3051 | "license": "MIT"
3052 | },
3053 | "node_modules/which": {
3054 | "version": "2.0.2",
3055 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
3056 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
3057 | "dev": true,
3058 | "license": "ISC",
3059 | "peer": true,
3060 | "dependencies": {
3061 | "isexe": "^2.0.0"
3062 | },
3063 | "bin": {
3064 | "node-which": "bin/node-which"
3065 | },
3066 | "engines": {
3067 | "node": ">= 8"
3068 | }
3069 | },
3070 | "node_modules/word-wrap": {
3071 | "version": "1.2.5",
3072 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
3073 | "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
3074 | "dev": true,
3075 | "license": "MIT",
3076 | "peer": true,
3077 | "engines": {
3078 | "node": ">=0.10.0"
3079 | }
3080 | },
3081 | "node_modules/wrappy": {
3082 | "version": "1.0.2",
3083 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
3084 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
3085 | "license": "ISC"
3086 | },
3087 | "node_modules/yocto-queue": {
3088 | "version": "0.1.0",
3089 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
3090 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
3091 | "dev": true,
3092 | "license": "MIT",
3093 | "peer": true,
3094 | "engines": {
3095 | "node": ">=10"
3096 | },
3097 | "funding": {
3098 | "url": "https://github.com/sponsors/sindresorhus"
3099 | }
3100 | }
3101 | }
3102 | }
3103 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ai-image-analyzer",
3 | "version": "0.2.0",
4 | "description": "This plugin analyzes images with AI to get keywords of the image.",
5 | "main": "main.js",
6 | "scripts": {
7 | "dev": "node esbuild.config.mjs",
8 | "build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
9 | "version": "node version-bump.mjs && git add manifest.json versions.json"
10 | },
11 | "keywords": [],
12 | "author": "",
13 | "license": "GPL-3.0",
14 | "devDependencies": {
15 | "@types/node": "22.15.29",
16 | "@typescript-eslint/eslint-plugin": "8.33.0",
17 | "@typescript-eslint/parser": "8.33.1",
18 | "builtin-modules": "4.0.0",
19 | "esbuild": "0.25.4",
20 | "obsidian": "1.8.7",
21 | "tslib": "2.8.1",
22 | "typescript": "5.8.3"
23 | },
24 | "dependencies": {
25 | "canvas": "^3.1.0",
26 | "ollama": "^0.5.16",
27 | "p-queue": "^8.1.0"
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/cache.ts:
--------------------------------------------------------------------------------
1 | import {createHash} from "crypto";
2 | import {TFile} from "obsidian";
3 | import { libVersion } from "./globals";
4 | import {AnalyzedText} from "./types";
5 |
6 | export function getCacheBasePath(): string {
7 | // @ts-ignore
8 | return `${app.vault.configDir}/plugins/ai-image-analyzer/cache`; //must be global app ref to be used externally
9 | }
10 |
11 | function getCachePath(file: TFile): string {
12 | const hash = createHash('md5').update(file.path).digest('hex');
13 |
14 | const folder = `${getCacheBasePath()}`;
15 | const filename = `${hash}.json`;
16 | return `${folder}/${filename}`;
17 | }
18 |
19 | export async function isInCache(file: TFile): Promise {
20 | const path = getCachePath(file);
21 | // @ts-ignore
22 | return await app.vault.adapter.exists(path); //must be global app ref to be used externally
23 | }
24 |
25 | export async function writeCache(file: TFile, text: string): Promise {
26 | const path = getCachePath(file);
27 |
28 | if (!await this.app.vault.adapter.exists(getCacheBasePath())) {
29 | await this.app.vault.adapter.mkdir(getCacheBasePath());
30 | }
31 |
32 | const data: AnalyzedText = {
33 | path: file.path,
34 | text,
35 | libVersion: libVersion,
36 | };
37 | await this.app.vault.adapter.write(path, JSON.stringify(data));
38 | }
39 |
40 | export async function readCache(file: TFile): Promise {
41 | const path = getCachePath(file);
42 | try {
43 | if (await this.app.vault.adapter.exists(path)) {
44 | const raw = await this.app.vault.adapter.read(path);
45 | return JSON.parse(raw) as AnalyzedText;
46 | }
47 | }catch (e) {
48 | console.error(e);
49 | }
50 |
51 | return null;
52 | }
53 |
54 | export async function removeFromCache(file: TFile): Promise {
55 | const path = getCachePath(file);
56 | if (await isInCache(file)) {
57 | return await this.app.vault.adapter.remove(path);
58 | }
59 | }
60 |
61 | export async function clearCache(): Promise {
62 | const path = getCacheBasePath();
63 | if (await this.app.vault.adapter.exists(path)) {
64 | return await this.app.vault.adapter.rmdir(path, true);
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/src/globals.ts:
--------------------------------------------------------------------------------
1 | import * as packageJson from '../package.json';
2 | import {Model} from "./types";
3 | import PQueue from "p-queue"; // Adjust the path as necessary
4 |
5 | export const libVersion = packageJson.version;
6 |
7 | export const possibleModels: Model[] = [
8 | {name: 'llava-llama3 (8B) [default]', model: 'llava-llama3:latest'},
9 | {name: 'llama3.2-vision (11B)', model: 'llama3.2-vision:11b'},
10 | {name: 'llama3.2-vision (90B)', model: 'llama3.2-vision:90b'},
11 | {name: 'llava (7B)', model: 'llava:latest'},
12 | {name: 'llava (13B)', model: 'llava:13b'},
13 | {name: 'llava (34B)', model: 'llava:34b'}
14 | ];
15 |
16 | export const imagesProcessQueue = new PQueue({concurrency: 1, timeout: 600000});
17 |
--------------------------------------------------------------------------------
/src/main.ts:
--------------------------------------------------------------------------------
1 | import {MenuItem, Notice, Plugin, TFile} from 'obsidian';
2 | import {Ollama} from 'ollama';
3 | import {isInCache, removeFromCache} from "./cache";
4 | import {analyzeImage, analyzeImageWithNotice, analyzeToClipboard, checkOllama, setOllama} from "./ollamaManager";
5 | import {debugLog, isImageFile} from "./util";
6 | import {AIImageAnalyzerSettingsTab, loadSettings, settings} from "./settings";
7 | import {imagesProcessQueue} from "./globals";
8 |
9 | export type AIImageAnalyzerAPI = {
10 | analyzeImage: (file: TFile) => Promise;
11 | canBeAnalyzed: (file: TFile) => boolean;
12 | isInCache: (file: TFile) => Promise;
13 | }
14 |
15 | export default class AIImageAnalyzerPlugin extends Plugin {
16 |
17 | public api: AIImageAnalyzerAPI = {
18 | analyzeImage: analyzeImage,
19 | canBeAnalyzed: isImageFile,
20 | isInCache: isInCache,
21 | };
22 |
23 | async onload() {
24 | debugLog('loading ai image analyzer plugin');
25 | await loadSettings(this);
26 | setOllama(new Ollama({
27 | host: settings.ollamaURL,
28 | headers: {
29 | 'Authorization': `Bearer ${settings.ollamaToken}`
30 | }
31 | }));
32 |
33 | await checkOllama();
34 |
35 | this.addCommand({
36 | id: 'analyze-image-to-clipboard',
37 | name: 'Analyze image to clipboard',
38 | checkCallback: (checking: boolean) => {
39 | const file = getActiveFile();
40 |
41 | if (file != null && isImageFile(file)) {
42 | if (!checking){
43 | analyzeToClipboard(file);
44 | }
45 | return true;
46 | }
47 |
48 | return false;
49 | }
50 | });
51 |
52 | this.addCommand({
53 | id: 'analyze-image',
54 | name: 'Analyze image',
55 | checkCallback: (checking: boolean) => {
56 | const file = getActiveFile();
57 | if (file != null && isImageFile(file)) {
58 | if (!checking) {
59 | analyzeImageWithNotice(file);
60 | }
61 | return true;
62 | }
63 |
64 | return false;
65 | }
66 | });
67 |
68 | this.addCommand({
69 | id: 'clear-cache-of-active-image',
70 | name: 'Clear cache of active image',
71 | checkCallback: (checking: boolean) => {
72 | const file = getActiveFile();
73 | if (file != null && isImageFile(file)) {
74 | if (!checking) {
75 | removeFromCache(file);
76 | new Notice('Cache cleared');
77 | }
78 | return true;
79 | }
80 |
81 | return false;
82 | }
83 | });
84 |
85 | this.registerEvent(
86 | this.app.workspace.on('file-menu', (menu, file, _source) => {
87 | if (file instanceof TFile && isImageFile(file)) {
88 | menu.addItem((item: MenuItem) => {
89 | item.setTitle('AI analyze image');
90 |
91 | const submenu = item.setSubmenu();
92 |
93 | submenu.addItem((item: MenuItem) =>
94 | item.setTitle('Analyze image to clipboard')
95 | .setIcon('clipboard')
96 | .onClick(() => {
97 | analyzeToClipboard(file);
98 | })
99 | );
100 |
101 | submenu.addItem((item: MenuItem) =>
102 | item.setTitle('Analyze image')
103 | .setIcon('search')
104 | .onClick(async () => {
105 | await removeFromCache(file);
106 | await analyzeImageWithNotice(file);
107 | })
108 | );
109 |
110 | submenu.addItem((item: MenuItem) =>
111 | item.setTitle('Clear cache')
112 | .setIcon('trash')
113 | .onClick(async () => {
114 | await removeFromCache(file);
115 | new Notice('Cache cleared');
116 | })
117 | );
118 | });
119 | }
120 | })
121 | );
122 |
123 | // This adds a settings tab so the user can configure various aspects of the plugin
124 | this.addSettingTab(new AIImageAnalyzerSettingsTab(this.app, this));
125 | }
126 |
127 | onunload() {
128 | imagesProcessQueue.clear();
129 | debugLog('unloading ai image analyzer plugin');
130 | }
131 | }
132 |
133 | function getActiveFile(): TFile | null {
134 | return this.app.workspace.activeEditor?.file ?? this.app.workspace.getActiveFile();
135 | }
136 |
137 |
138 |
--------------------------------------------------------------------------------
/src/ollamaManager.ts:
--------------------------------------------------------------------------------
1 | import {Notice, TFile} from "obsidian";
2 | import {isInCache, readCache, removeFromCache, writeCache} from "./cache";
3 | import {ChatResponse, Ollama} from "ollama";
4 | import {debugLog, isImageFile, readFile} from "./util";
5 | import {settings} from "./settings";
6 | import {imagesProcessQueue} from "./globals";
7 |
8 | let ollama: Ollama;
9 |
10 | export async function analyzeImage(file: TFile): Promise {
11 | try {
12 | return await imagesProcessQueue.add(() => analyzeImageHandling(file)) ?? '';
13 | }catch (e) {
14 | debugLog(e);
15 | return '';
16 | }
17 | }
18 |
19 | async function analyzeImageHandling(file: TFile): Promise {
20 | debugLog(`Analyzing image ${file.name}`);
21 | if (!isImageFile(file)) {
22 | return Promise.reject('File is not an image');
23 | }
24 |
25 | if (await isInCache(file)) {
26 | debugLog('Cache hit');
27 | const text = await readCache(file);
28 | if (text && text.text !== '') {
29 | debugLog('Reading from cache');
30 | debugLog(`Image analyzed ${file.name}`);
31 | return Promise.resolve(text.text);
32 | } else {
33 | debugLog('Failed to read cache');
34 | debugLog('Removing from cache');
35 | await removeFromCache(file);
36 | }
37 | }
38 |
39 | debugLog(file);
40 |
41 | try {
42 | const data: string = await readFile(file);
43 |
44 | const response: ChatResponse = await ollama.chat({
45 | model: settings.ollamaModel.model, //llava:13b or llava or llava-llama3
46 | messages: [{role: 'user', content: settings.prompt, images: [data]}],
47 | });
48 |
49 | debugLog(response);
50 |
51 | await writeCache(file, response.message.content);
52 |
53 | debugLog(`Image analyzed ${file.name}`);
54 |
55 | return Promise.resolve(response.message.content);
56 | } catch (e) {
57 | debugLog(e);
58 | return Promise.reject('Failed to analyze image');
59 | }
60 | }
61 |
62 | export async function analyzeImageWithNotice(file: TFile): Promise {
63 | try {
64 | const notice = new Notice('Analyzing image', 0);
65 | const text = await analyzeImage(file);
66 | notice.hide();
67 | new Notice('Image analyzed');
68 | return text;
69 | } catch (e) {
70 | debugLog(e);
71 | new Notice('Failed to analyze image');
72 | new Notice(e.toString());
73 | return '';
74 | }
75 | }
76 |
77 | export async function analyzeToClipboard(file: TFile) {
78 | try {
79 | const text = await analyzeImageWithNotice(file);
80 | await activeWindow.navigator.clipboard.writeText(text);
81 | new Notice('Text copied to clipboard');
82 | } catch (e) {
83 | debugLog(e);
84 | }
85 | }
86 |
87 | export async function pullImage() {
88 | let progressNotice: Notice | undefined;
89 | try {
90 | new Notice(`Pulling ${settings.ollamaModel.name} model started, this may take a while...`);
91 | const response = await ollama.pull({model: settings.ollamaModel.model, stream: true});
92 | progressNotice = new Notice(`Pulling ${settings.ollamaModel.name} model 0%`, 0);
93 | for await (const part of response) {
94 | debugLog(part);
95 | if (part.total !== null && part.completed !== null) {
96 | const percentage = (part.completed / part.total) * 100;
97 | if (!isNaN(percentage) && percentage !== Infinity && percentage !== -Infinity) {
98 | const roundedNumber = percentage.toFixed(2);
99 | const completed = (part.completed / 1000000000).toFixed(2);
100 | const total = (part.total / 1000000000).toFixed(2);
101 | progressNotice.setMessage(`Pulling ${settings.ollamaModel.name} model ${roundedNumber}% (${completed}GB/${total}GB)`);
102 | }
103 | }
104 | }
105 | progressNotice.hide();
106 | new Notice(`${settings.ollamaModel.name} model pulled successfully`);
107 | } catch (e) {
108 | debugLog(e);
109 | progressNotice?.hide();
110 | new Notice(`Failed to pull ${settings.ollamaModel.name} model`);
111 | new Notice(e.toString());
112 | }
113 | }
114 |
115 | export async function checkOllama() {
116 | try {
117 | const models = await ollama.list();
118 | debugLog(models);
119 | if (!models.models.some(model => model.name === settings.ollamaModel.model)) {
120 | new Notice(`No ${settings.ollamaModel.name} model found, please make sure you have pulled it (you can pull it over the settings tab or choose another model)`);
121 | }
122 | } catch (e) {
123 | debugLog(e);
124 | new Notice('Failed to connect to Ollama.');
125 | new Notice(e.toString());
126 | }
127 | }
128 |
129 | export function setOllama(ollamaInstance: Ollama) {
130 | ollama = ollamaInstance;
131 | }
132 |
--------------------------------------------------------------------------------
/src/settings.ts:
--------------------------------------------------------------------------------
1 | import {App, Notice, PluginSettingTab, Setting} from "obsidian";
2 | import {clearCache} from "./cache";
3 | import AIImageAnalyzerPlugin from "./main";
4 | import {pullImage, setOllama} from "./ollamaManager";
5 | import {possibleModels} from "./globals";
6 | import {Model} from "./types";
7 | import {Ollama} from "ollama";
8 |
9 | interface AIImageAnalyzerPluginSettings {
10 | debug: boolean;
11 | ollamaURL: string;
12 | ollamaToken: string;
13 | ollamaModel: Model;
14 | prompt: string;
15 | autoClearCache: boolean;
16 | }
17 |
18 | const DEFAULT_SETTINGS: AIImageAnalyzerPluginSettings = {
19 | debug: false,
20 | ollamaURL: 'http://127.0.0.1:11434',
21 | ollamaToken: '',
22 | ollamaModel: possibleModels[0],
23 | prompt: 'Describe the image. Just use Keywords. For example: cat, dog, tree. This must be Computer readable. The provided pictures are used in an notebook. Please provide at least 5 Keywords. It will be used to search for the image later.',
24 | autoClearCache: true,
25 | };
26 |
27 | export let settings: AIImageAnalyzerPluginSettings = Object.assign({}, DEFAULT_SETTINGS);
28 |
29 | export async function loadSettings(plugin: AIImageAnalyzerPlugin) {
30 | settings = Object.assign({}, DEFAULT_SETTINGS, await plugin.loadData());
31 | }
32 |
33 | export async function saveSettings(plugin: AIImageAnalyzerPlugin) {
34 | setOllama(new Ollama({
35 | host: settings.ollamaURL,
36 | headers: {
37 | 'Authorization': `Bearer ${settings.ollamaToken}`
38 | }
39 | }));
40 | await plugin.saveData(settings);
41 | }
42 |
43 | export class AIImageAnalyzerSettingsTab extends PluginSettingTab {
44 | plugin: AIImageAnalyzerPlugin;
45 |
46 | constructor(app: App, plugin: AIImageAnalyzerPlugin) {
47 | super(app, plugin);
48 | this.plugin = plugin;
49 | }
50 |
51 | display(): void {
52 | const {containerEl} = this;
53 |
54 | containerEl.empty();
55 |
56 | new Setting(containerEl)
57 | .setName('Model')
58 | .setDesc('Select the model to use')
59 | .addDropdown(dropdown => dropdown
60 | .addOptions(possibleModels.reduce((acc, model) => {
61 | acc[model.name] = model.name;
62 | return acc;
63 | }, {} as Record))
64 | .setValue(possibleModels.find(model => model.model === settings.ollamaModel.model)!.name)
65 | .onChange(async (value) => {
66 | settings.ollamaModel = possibleModels.find(model => model.name === value)!;
67 | await saveSettings(this.plugin);
68 | if (settings.autoClearCache) {
69 | await clearCache();
70 | }
71 | }));
72 |
73 | new Setting(containerEl)
74 | .setName('Pull Model')
75 | .setDesc('Pull the selected model')
76 | .addButton(button => button
77 | .setButtonText('Pull Model')
78 | .onClick(async () => await pullImage()));
79 |
80 | new Setting(containerEl)
81 | .setName('Clear cache')
82 | .setDesc('Clear the cache, reanalyzing images could take a while')
83 | .addButton(button => button
84 | .setButtonText('Clear cache')
85 | .onClick(async () => {
86 | await clearCache();
87 | new Notice('Cache cleared');
88 | }));
89 |
90 | new Setting(containerEl)
91 | .setName('Debug mode')
92 | .setDesc('Enable debug mode to see logs in the console')
93 | .addToggle(toggle => toggle
94 | .setValue(settings.debug)
95 | .onChange(async (value) => {
96 | settings.debug = value;
97 | await saveSettings(this.plugin);
98 | }));
99 |
100 | new Setting(containerEl).setName('Ollama server').setHeading();
101 |
102 | new Setting(containerEl)
103 | .setName('Ollama URL')
104 | .setDesc('Set the URL for the Ollama server')
105 | .addText(text => text
106 | .setPlaceholder('Enter the host (http://127.0.0.1:11434)')
107 | .setValue(settings.ollamaURL)
108 | .onChange(async (value) => {
109 | if (value.length === 0) {
110 | value = DEFAULT_SETTINGS.ollamaURL;
111 | }
112 | settings.ollamaURL = value;
113 | await saveSettings(this.plugin);
114 | }));
115 |
116 | new Setting(containerEl)
117 | .setName('Ollama Token (Optional)')
118 | .setDesc('Set the token for authentication with the Ollama server')
119 | .addText(text => text
120 | .setValue(settings.ollamaToken !== '' ? '••••••••••' : '')
121 | .onChange(async (value) => {
122 | if (value.contains('•')) {
123 | return;
124 | }
125 | settings.ollamaToken = value;
126 | await saveSettings(this.plugin);
127 | }));
128 |
129 | new Setting(containerEl).setName('Advanced').setHeading();
130 |
131 | new Setting(containerEl)
132 | .setName('Prompt')
133 | .setDesc('Set the prompt for the Ollama model')
134 | .addTextArea(text => {
135 | text.inputEl.rows = 5;
136 | text.inputEl.cols = 50;
137 | return text
138 | .setPlaceholder('Enter the prompt')
139 | .setValue(settings.prompt)
140 | .onChange(async (value) => {
141 | if (value.length === 0) {
142 | value = DEFAULT_SETTINGS.prompt;
143 | }
144 | settings.prompt = value;
145 | await saveSettings(this.plugin);
146 |
147 | if (settings.autoClearCache) {
148 | await clearCache();
149 | }
150 | });
151 | });
152 |
153 | new Setting(containerEl)
154 | .setName('Auto clear cache')
155 | .setDesc('Clear the cache after changing the model or the prompt to reanalyze images (if toggled on the cache will be cleared)')
156 | .addToggle(toggle => toggle
157 | .setValue(settings.autoClearCache)
158 | .onChange(async (value) => {
159 | settings.autoClearCache = value;
160 | if (value) {
161 | await clearCache();
162 | new Notice('Cache cleared');
163 | }
164 | await saveSettings(this.plugin);
165 | }));
166 |
167 | }
168 | }
169 |
--------------------------------------------------------------------------------
/src/types.ts:
--------------------------------------------------------------------------------
1 | export type AnalyzedText = {
2 | path: string
3 | text: string
4 | libVersion: string
5 | }
6 |
7 | export type Model = {
8 | name: string
9 | model: string
10 | }
11 |
--------------------------------------------------------------------------------
/src/util.ts:
--------------------------------------------------------------------------------
1 | import {arrayBufferToBase64, TFile} from "obsidian";
2 | import {settings} from "./settings";
3 | import { createCanvas, loadImage } from "canvas";
4 |
5 | export function debugLog(message: object | string) {
6 | if (settings.debug) {
7 | console.log(message);
8 | }
9 | }
10 |
11 | export function getTempBasePath(): string {
12 | // @ts-ignore
13 | return `${app.vault.configDir}/plugins/ai-image-analyzer/tmp`; //must be global app ref to be used externally
14 | }
15 |
16 | export function getTempPath(file: TFile): string {
17 | const folder = `${getTempBasePath()}`;
18 | const filename = `${file.path.replace(/\//g, '_')}`;
19 | return `${folder}/${filename}`;
20 | }
21 |
22 | export function isImageFile(file: TFile): boolean {
23 | const path = file.path;
24 |
25 | return (
26 | path.endsWith('.png') || path.endsWith('.jpg') || path.endsWith('.jpeg') ||
27 | path.endsWith('.webp') || path.endsWith('.svg')
28 | );
29 | }
30 |
31 | export async function readFile(file: TFile): Promise {
32 | if (file.path.endsWith('.svg')) {
33 | debugLog('Converting SVG to PNG');
34 |
35 | try {
36 | // Read the SVG file content
37 | const svgData: string = await this.app.vault.adapter.read(file.path);
38 |
39 | const canvas = createCanvas(1000, 1000);
40 | const context = canvas.getContext("2d");
41 |
42 | // Load the SVG as an image
43 | const svgImage = await loadImage(`data:image/svg+xml;base64,${Buffer.from(svgData).toString("base64")}`);
44 |
45 | // Draw the SVG onto the canvas
46 | context.drawImage(svgImage, 0, 0, 1000, 1000);
47 |
48 | return canvas.toDataURL("image/png").split(",")[1];
49 | } catch (error) {
50 | console.error('Error converting SVG to PNG:', error);
51 | throw error;
52 | }
53 | }else{
54 | // @ts-ignore
55 | return arrayBufferToBase64(await app.vault.readBinary(file)); //must be global app ref to be used externally
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "baseUrl": ".",
4 | "inlineSourceMap": true,
5 | "inlineSources": true,
6 | "module": "ESNext",
7 | "target": "ES6",
8 | "allowJs": true,
9 | "noImplicitAny": true,
10 | "moduleResolution": "node",
11 | "importHelpers": true,
12 | "isolatedModules": true,
13 | "strictNullChecks": true,
14 | "esModuleInterop": true,
15 | "resolveJsonModule": true,
16 | "lib": [
17 | "DOM",
18 | "ES5",
19 | "ES6",
20 | "ES7"
21 | ]
22 | },
23 | "include": [
24 | "**/*.ts"
25 | ]
26 | }
27 |
--------------------------------------------------------------------------------
/typings/types-obsidian.d.ts:
--------------------------------------------------------------------------------
1 | import type {} from 'obsidian';
2 |
3 | declare module 'obsidian' {
4 | interface MenuItem {
5 | setSubmenu(): Menu
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/version-bump.mjs:
--------------------------------------------------------------------------------
1 | import { readFileSync, writeFileSync } from "fs";
2 |
3 | const targetVersion = process.env.npm_package_version;
4 |
5 | // read minAppVersion from manifest.json and bump version to target version
6 | let manifest = JSON.parse(readFileSync("manifest.json", "utf8"));
7 | const { minAppVersion } = manifest;
8 | manifest.version = targetVersion;
9 | writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t"));
10 |
11 | // update versions.json with target version and minAppVersion from manifest.json
12 | let versions = JSON.parse(readFileSync("versions.json", "utf8"));
13 | versions[targetVersion] = minAppVersion;
14 | writeFileSync("versions.json", JSON.stringify(versions, null, "\t"));
15 |
--------------------------------------------------------------------------------
/versions.json:
--------------------------------------------------------------------------------
1 | {
2 | "0.1.0": "0.15.0",
3 | "0.1.1": "0.15.0",
4 | "0.1.2": "0.15.0",
5 | "0.1.3": "0.15.0",
6 | "0.1.4": "0.15.0",
7 | "0.1.5": "0.15.0",
8 | "0.1.6": "0.15.0",
9 | "0.1.7": "0.15.0",
10 | "0.1.8": "0.15.0",
11 | "0.1.9": "0.15.0",
12 | "0.1.10": "0.15.0",
13 | "0.1.11": "0.15.0",
14 | "0.2.0": "0.15.0"
15 | }
16 |
--------------------------------------------------------------------------------