thursday-agent 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/prerender-manifest.json +3 -3
  4. package/.next/server/app/_global-error.html +1 -1
  5. package/.next/server/app/_global-error.rsc +1 -1
  6. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  9. package/.next/server/app/_not-found.html +1 -1
  10. package/.next/server/app/_not-found.rsc +1 -1
  11. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  12. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  13. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  14. package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +1 -1
  15. package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
  16. package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
  17. package/.next/server/app/page/server-reference-manifest.json +41 -41
  18. package/.next/server/app/page.js.nft.json +1 -1
  19. package/.next/server/app/page_client-reference-manifest.js +1 -1
  20. package/.next/server/chunks/ssr/[root-of-the-server]__0dfwvr4._.js +1 -1
  21. package/.next/server/chunks/ssr/[root-of-the-server]__1-mnhyd._.js +1 -1
  22. package/.next/server/chunks/ssr/[root-of-the-server]__1e-f3gy._.js +3 -0
  23. package/.next/server/chunks/ssr/{[root-of-the-server]__0ng1y5l._.js → [root-of-the-server]__1ncajna._.js} +2 -2
  24. package/.next/server/chunks/ssr/_077-g6s._.js +1 -1
  25. package/.next/server/chunks/ssr/_0ay6b01._.js +1 -1
  26. package/.next/server/chunks/ssr/_0sf1isi._.js +1 -1
  27. package/.next/server/chunks/ssr/{_0c2y8ks._.js → _124q1la._.js} +2 -2
  28. package/.next/server/chunks/ssr/_19eoufz._.js +3 -0
  29. package/.next/server/chunks/ssr/{_1lz4t71._.js → _1aca4j8._.js} +2 -2
  30. package/.next/server/chunks/ssr/{_06l25rd._.js → _1b3yex3._.js} +2 -2
  31. package/.next/server/chunks/ssr/{_0n0wwfo._.js → _1cb_5sv._.js} +2 -2
  32. package/.next/server/chunks/ssr/{_0vbcev4._.js → _1dnxp2k._.js} +2 -2
  33. package/.next/server/chunks/ssr/_1e-dgz0._.js +1 -1
  34. package/.next/server/chunks/ssr/{_1wlc_pv._.js → _1hkvsg0._.js} +2 -2
  35. package/.next/server/chunks/ssr/{_061oc5l._.js → _1m5popy._.js} +2 -2
  36. package/.next/server/chunks/ssr/{_0-pwe74._.js → _1r2_qk-._.js} +2 -2
  37. package/.next/server/chunks/ssr/features_bot_components_bot-setting_tsx_01ajft6._.js +1 -1
  38. package/.next/server/chunks/ssr/features_config_components_14jqgy4._.js +1 -1
  39. package/.next/server/chunks/ssr/features_config_components_config-setting_tsx_0xfwqdg._.js +1 -1
  40. package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
  41. package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
  42. package/.next/server/chunks/ssr/{node_modules_1i1aztk._.js → node_modules_00riwzq._.js} +1 -1
  43. package/.next/server/chunks/ssr/{node_modules_13r64hh._.js → node_modules_012m-mo._.js} +1 -1
  44. package/.next/server/chunks/ssr/{node_modules_01-lnjv._.js → node_modules_01jj5oy._.js} +1 -1
  45. package/.next/server/chunks/ssr/{node_modules_0cagd-a._.js → node_modules_03f-6up._.js} +1 -1
  46. package/.next/server/chunks/ssr/{node_modules_0o9cu2m._.js → node_modules_07_oxjr._.js} +1 -1
  47. package/.next/server/chunks/ssr/{node_modules_06gkc-1._.js → node_modules_0egn4iq._.js} +1 -1
  48. package/.next/server/chunks/ssr/{node_modules_0510bcb._.js → node_modules_0eqdzva._.js} +1 -1
  49. package/.next/server/chunks/ssr/{node_modules_12ilj3x._.js → node_modules_0ewynyi._.js} +1 -1
  50. package/.next/server/chunks/ssr/{node_modules_18h15oi._.js → node_modules_0i37h34._.js} +1 -1
  51. package/.next/server/chunks/ssr/{node_modules_14qjnj6._.js → node_modules_0nh2m35._.js} +1 -1
  52. package/.next/server/chunks/ssr/{node_modules_04m323e._.js → node_modules_0nq_p-o._.js} +1 -1
  53. package/.next/server/chunks/ssr/{node_modules_1hfkkak._.js → node_modules_0sbobpz._.js} +1 -1
  54. package/.next/server/chunks/ssr/{node_modules_20oe6vi._.js → node_modules_0xe_k12._.js} +1 -1
  55. package/.next/server/chunks/ssr/{node_modules_1ekezwy._.js → node_modules_14uxpfb._.js} +1 -1
  56. package/.next/server/chunks/ssr/{node_modules_1ci9xpq._.js → node_modules_17c71fz._.js} +1 -1
  57. package/.next/server/chunks/ssr/{node_modules_1czzodm._.js → node_modules_17ls31t._.js} +1 -1
  58. package/.next/server/chunks/ssr/{node_modules_0n9m8ww._.js → node_modules_1854ebs._.js} +1 -1
  59. package/.next/server/chunks/ssr/{node_modules_0okab9u._.js → node_modules_1_w_b81._.js} +1 -1
  60. package/.next/server/chunks/ssr/{node_modules_0eq4z64._.js → node_modules_1bjm3ch._.js} +1 -1
  61. package/.next/server/chunks/ssr/{node_modules_1bog3e3._.js → node_modules_1euv75v._.js} +1 -1
  62. package/.next/server/chunks/ssr/{node_modules_0a7_hec._.js → node_modules_1fsvm8f._.js} +1 -1
  63. package/.next/server/chunks/ssr/{node_modules_0egyezs._.js → node_modules_1kj6swe._.js} +1 -1
  64. package/.next/server/chunks/ssr/{node_modules_0kc8lu9._.js → node_modules_1mnmhse._.js} +1 -1
  65. package/.next/server/chunks/ssr/{node_modules_1wya71n._.js → node_modules_1wsx1pg._.js} +1 -1
  66. package/.next/server/chunks/ssr/{node_modules_0snv8wz._.js → node_modules_1y1m-q4._.js} +1 -1
  67. package/.next/server/chunks/ssr/{node_modules_126jgz-._.js → node_modules_1yxkq1s._.js} +1 -1
  68. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0babb8b._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1f5re6n._.js} +1 -1
  69. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0jiglry._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_216aa7f._.js} +1 -1
  70. package/.next/server/middleware-build-manifest.js +3 -3
  71. package/.next/server/pages/404.html +1 -1
  72. package/.next/server/pages/500.html +1 -1
  73. package/.next/server/server-reference-manifest.js +1 -1
  74. package/.next/server/server-reference-manifest.json +42 -42
  75. package/.next/static/chunks/{1n0rxcrn8v33a.js → 0_6qjj4f3t3j-.js} +1 -1
  76. package/.next/static/chunks/{16jdhpex5davi.js → 0g2n0xskvyk04.js} +1 -1
  77. package/.next/static/chunks/{2tab0u1fay-lo.js → 0h7pjyewk7ky-.js} +1 -1
  78. package/.next/static/chunks/{1ti6qqe8rxjc9.js → 0yn2yol46cj77.js} +1 -1
  79. package/.next/static/chunks/{3ktulatcmvs36.js → 14s7e14xltx47.js} +1 -1
  80. package/.next/static/chunks/{1n1_b0m4z2r2l.js → 1lpdcqos7mkek.js} +1 -1
  81. package/.next/static/chunks/{225bcu0dkzwh9.js → 1rja48de93vvx.js} +1 -1
  82. package/.next/static/chunks/{3v_k5wbdx5z1e.js → 1u5d-pvhwir9g.js} +1 -1
  83. package/.next/static/chunks/{3imn63hmy-dvm.js → 261871a8ot1pi.js} +1 -1
  84. package/.next/static/chunks/{2bd12_uvbr996.js → 2cgzsjzheo2m2.js} +1 -1
  85. package/.next/static/chunks/{26jl58p1cmfyz.js → 2ka9uwo_evj7a.js} +1 -1
  86. package/.next/static/chunks/{3a8ieqoovwtgg.js → 2kl3n2d-4-7i5.js} +1 -1
  87. package/.next/static/chunks/{17yxvpmlyxotg.js → 2qci2z603es_m.js} +1 -1
  88. package/.next/static/chunks/{07hfxlyqq92v-.js → 2v_vqhmdl8de_.js} +1 -1
  89. package/.next/static/chunks/{0m28u02ktcwrt.js → 34eu8t79ko6lm.js} +1 -1
  90. package/.next/static/chunks/{0qwvymwynno3x.js → 35uo6rtl_otbd.js} +1 -1
  91. package/.next/static/chunks/{0t7ve-t64i24a.js → 3w7-y53xzl2ir.js} +1 -1
  92. package/.next/static/chunks/{1ma7gsnw16oor.js → 3yan6-5cvpk2o.js} +1 -1
  93. package/package.json +3 -17
  94. package/.next/server/chunks/ssr/[root-of-the-server]__1d9rffu._.js +0 -3
  95. package/.next/server/chunks/ssr/_0g7xsms._.js +0 -3
  96. package/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
  97. package/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -219
  98. package/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
  99. package/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.6 +0 -0
  100. package/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -43
  101. package/node_modules/@img/sharp-libvips-linux-x64/versions.json +0 -30
  102. package/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +0 -46
  103. package/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +0 -219
  104. package/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +0 -1
  105. package/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.18.6 +0 -0
  106. package/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -43
  107. package/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +0 -30
  108. package/node_modules/@img/sharp-linux-x64/index.cjs +0 -2
  109. package/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.4.node +0 -0
  110. package/node_modules/@img/sharp-linux-x64/package.json +0 -47
  111. package/node_modules/@img/sharp-linuxmusl-x64/index.cjs +0 -2
  112. package/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64-0.35.4.node +0 -0
  113. package/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -47
  114. package/node_modules/@libsql/linux-x64-gnu/index.node +0 -0
  115. package/node_modules/@libsql/linux-x64-gnu/package.json +0 -36
  116. package/node_modules/@libsql/linux-x64-musl/index.node +0 -0
  117. package/node_modules/@libsql/linux-x64-musl/package.json +0 -36
  118. package/node_modules/libsql/auth.js +0 -22
  119. package/node_modules/libsql/index.js +0 -441
  120. package/node_modules/libsql/node_modules/detect-libc/lib/detect-libc.js +0 -279
  121. package/node_modules/libsql/node_modules/detect-libc/lib/filesystem.js +0 -41
  122. package/node_modules/libsql/node_modules/detect-libc/lib/process.js +0 -19
  123. package/node_modules/libsql/node_modules/detect-libc/package.json +0 -40
  124. package/node_modules/libsql/package.json +0 -90
  125. package/node_modules/libsql/sqlite-error.js +0 -21
  126. package/node_modules/sharp/dist/channel.cjs +0 -177
  127. package/node_modules/sharp/dist/channel.mjs +0 -177
  128. package/node_modules/sharp/dist/colour.cjs +0 -199
  129. package/node_modules/sharp/dist/colour.mjs +0 -199
  130. package/node_modules/sharp/dist/composite.cjs +0 -213
  131. package/node_modules/sharp/dist/composite.mjs +0 -213
  132. package/node_modules/sharp/dist/constructor.cjs +0 -511
  133. package/node_modules/sharp/dist/constructor.mjs +0 -511
  134. package/node_modules/sharp/dist/index.cjs +0 -25
  135. package/node_modules/sharp/dist/index.d.cts +0 -1999
  136. package/node_modules/sharp/dist/index.d.mts +0 -2046
  137. package/node_modules/sharp/dist/index.mjs +0 -25
  138. package/node_modules/sharp/dist/input.cjs +0 -819
  139. package/node_modules/sharp/dist/input.mjs +0 -819
  140. package/node_modules/sharp/dist/is.cjs +0 -143
  141. package/node_modules/sharp/dist/is.mjs +0 -143
  142. package/node_modules/sharp/dist/libvips.cjs +0 -212
  143. package/node_modules/sharp/dist/libvips.mjs +0 -212
  144. package/node_modules/sharp/dist/operation.cjs +0 -1002
  145. package/node_modules/sharp/dist/operation.mjs +0 -1002
  146. package/node_modules/sharp/dist/output.cjs +0 -1785
  147. package/node_modules/sharp/dist/output.mjs +0 -1785
  148. package/node_modules/sharp/dist/resize.cjs +0 -617
  149. package/node_modules/sharp/dist/resize.mjs +0 -617
  150. package/node_modules/sharp/dist/sharp.cjs +0 -174
  151. package/node_modules/sharp/dist/sharp.mjs +0 -174
  152. package/node_modules/sharp/dist/utility.cjs +0 -301
  153. package/node_modules/sharp/dist/utility.mjs +0 -301
  154. package/node_modules/sharp/node_modules/semver/classes/comparator.js +0 -143
  155. package/node_modules/sharp/node_modules/semver/classes/range.js +0 -577
  156. package/node_modules/sharp/node_modules/semver/classes/semver.js +0 -350
  157. package/node_modules/sharp/node_modules/semver/functions/clean.js +0 -8
  158. package/node_modules/sharp/node_modules/semver/functions/cmp.js +0 -54
  159. package/node_modules/sharp/node_modules/semver/functions/coerce.js +0 -62
  160. package/node_modules/sharp/node_modules/semver/functions/compare-build.js +0 -9
  161. package/node_modules/sharp/node_modules/semver/functions/compare-loose.js +0 -5
  162. package/node_modules/sharp/node_modules/semver/functions/compare.js +0 -7
  163. package/node_modules/sharp/node_modules/semver/functions/diff.js +0 -60
  164. package/node_modules/sharp/node_modules/semver/functions/eq.js +0 -5
  165. package/node_modules/sharp/node_modules/semver/functions/gt.js +0 -5
  166. package/node_modules/sharp/node_modules/semver/functions/gte.js +0 -5
  167. package/node_modules/sharp/node_modules/semver/functions/inc.js +0 -21
  168. package/node_modules/sharp/node_modules/semver/functions/lt.js +0 -5
  169. package/node_modules/sharp/node_modules/semver/functions/lte.js +0 -5
  170. package/node_modules/sharp/node_modules/semver/functions/major.js +0 -5
  171. package/node_modules/sharp/node_modules/semver/functions/minor.js +0 -5
  172. package/node_modules/sharp/node_modules/semver/functions/neq.js +0 -5
  173. package/node_modules/sharp/node_modules/semver/functions/parse.js +0 -18
  174. package/node_modules/sharp/node_modules/semver/functions/patch.js +0 -5
  175. package/node_modules/sharp/node_modules/semver/functions/prerelease.js +0 -8
  176. package/node_modules/sharp/node_modules/semver/functions/rcompare.js +0 -5
  177. package/node_modules/sharp/node_modules/semver/functions/rsort.js +0 -5
  178. package/node_modules/sharp/node_modules/semver/functions/satisfies.js +0 -12
  179. package/node_modules/sharp/node_modules/semver/functions/sort.js +0 -5
  180. package/node_modules/sharp/node_modules/semver/functions/truncate.js +0 -48
  181. package/node_modules/sharp/node_modules/semver/functions/valid.js +0 -8
  182. package/node_modules/sharp/node_modules/semver/index.js +0 -93
  183. package/node_modules/sharp/node_modules/semver/internal/constants.js +0 -37
  184. package/node_modules/sharp/node_modules/semver/internal/debug.js +0 -11
  185. package/node_modules/sharp/node_modules/semver/internal/identifiers.js +0 -29
  186. package/node_modules/sharp/node_modules/semver/internal/lrucache.js +0 -42
  187. package/node_modules/sharp/node_modules/semver/internal/parse-options.js +0 -17
  188. package/node_modules/sharp/node_modules/semver/internal/re.js +0 -223
  189. package/node_modules/sharp/node_modules/semver/package.json +0 -78
  190. package/node_modules/sharp/node_modules/semver/ranges/gtr.js +0 -6
  191. package/node_modules/sharp/node_modules/semver/ranges/intersects.js +0 -9
  192. package/node_modules/sharp/node_modules/semver/ranges/ltr.js +0 -6
  193. package/node_modules/sharp/node_modules/semver/ranges/max-satisfying.js +0 -27
  194. package/node_modules/sharp/node_modules/semver/ranges/min-satisfying.js +0 -26
  195. package/node_modules/sharp/node_modules/semver/ranges/min-version.js +0 -63
  196. package/node_modules/sharp/node_modules/semver/ranges/outside.js +0 -82
  197. package/node_modules/sharp/node_modules/semver/ranges/simplify.js +0 -49
  198. package/node_modules/sharp/node_modules/semver/ranges/subset.js +0 -249
  199. package/node_modules/sharp/node_modules/semver/ranges/to-comparators.js +0 -10
  200. package/node_modules/sharp/node_modules/semver/ranges/valid.js +0 -13
  201. package/node_modules/sharp/package.json +0 -227
  202. /package/.next/static/{M8Zkbqz2M4SLzLsE8DC6V → G-9_HnysmzY_Bx9GpDYAO}/_buildManifest.js +0 -0
  203. /package/.next/static/{M8Zkbqz2M4SLzLsE8DC6V → G-9_HnysmzY_Bx9GpDYAO}/_clientMiddlewareManifest.js +0 -0
  204. /package/.next/static/{M8Zkbqz2M4SLzLsE8DC6V → G-9_HnysmzY_Bx9GpDYAO}/_ssgManifest.js +0 -0
@@ -1,41 +0,0 @@
1
- // Copyright 2017 Lovell Fuller and others.
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- 'use strict';
5
-
6
- const fs = require('fs');
7
-
8
- /**
9
- * The path where we can find the ldd
10
- */
11
- const LDD_PATH = '/usr/bin/ldd';
12
-
13
- /**
14
- * Read the content of a file synchronous
15
- *
16
- * @param {string} path
17
- * @returns {string}
18
- */
19
- const readFileSync = (path) => fs.readFileSync(path, 'utf-8');
20
-
21
- /**
22
- * Read the content of a file
23
- *
24
- * @param {string} path
25
- * @returns {Promise<string>}
26
- */
27
- const readFile = (path) => new Promise((resolve, reject) => {
28
- fs.readFile(path, 'utf-8', (err, data) => {
29
- if (err) {
30
- reject(err);
31
- } else {
32
- resolve(data);
33
- }
34
- });
35
- });
36
-
37
- module.exports = {
38
- LDD_PATH,
39
- readFileSync,
40
- readFile
41
- };
@@ -1,19 +0,0 @@
1
- // Copyright 2017 Lovell Fuller and others.
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- 'use strict';
5
-
6
- const isLinux = () => process.platform === 'linux';
7
-
8
- let report = null;
9
- const getReport = () => {
10
- if (!report) {
11
- /* istanbul ignore next */
12
- report = isLinux() && process.report
13
- ? process.report.getReport()
14
- : {};
15
- }
16
- return report;
17
- };
18
-
19
- module.exports = { isLinux, getReport };
@@ -1,40 +0,0 @@
1
- {
2
- "name": "detect-libc",
3
- "version": "2.0.2",
4
- "description": "Node.js module to detect the C standard library (libc) implementation family and version",
5
- "main": "lib/detect-libc.js",
6
- "files": [
7
- "lib/",
8
- "index.d.ts"
9
- ],
10
- "scripts": {
11
- "test": "semistandard && nyc --reporter=lcov --check-coverage --branches=100 ava test/unit.js",
12
- "bench": "node benchmark/detect-libc",
13
- "bench:calls": "node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "git://github.com/lovell/detect-libc"
18
- },
19
- "keywords": [
20
- "libc",
21
- "glibc",
22
- "musl"
23
- ],
24
- "author": "Lovell Fuller <npm@lovell.info>",
25
- "contributors": [
26
- "Niklas Salmoukas <niklas@salmoukas.com>",
27
- "Vinícius Lourenço <vinyygamerlol@gmail.com>"
28
- ],
29
- "license": "Apache-2.0",
30
- "devDependencies": {
31
- "ava": "^2.4.0",
32
- "benchmark": "^2.1.4",
33
- "nyc": "^15.1.0",
34
- "proxyquire": "^2.1.3",
35
- "semistandard": "^14.2.3"
36
- },
37
- "engines": {
38
- "node": ">=8"
39
- }
40
- }
@@ -1,90 +0,0 @@
1
- {
2
- "name": "libsql",
3
- "version": "0.5.29",
4
- "description": "A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node",
5
- "os": [
6
- "darwin",
7
- "linux",
8
- "win32"
9
- ],
10
- "cpu": [
11
- "x64",
12
- "arm64",
13
- "wasm32",
14
- "arm"
15
- ],
16
- "main": "index.js",
17
- "types": "types/index.d.ts",
18
- "files": [
19
- "auth.js",
20
- "index.js",
21
- "sqlite-error.js",
22
- "promise.js",
23
- "types/index.d.ts",
24
- "types/promise.d.ts"
25
- ],
26
- "exports": {
27
- ".": {
28
- "types": "./types/index.d.ts",
29
- "default": "./index.js"
30
- },
31
- "./promise": {
32
- "types": "./types/promise.d.ts",
33
- "default": "./promise.js"
34
- }
35
- },
36
- "scripts": {
37
- "test": "cargo test",
38
- "debug": "cargo build --message-format=json | npm exec neon dist",
39
- "build": "npx tsc && cargo build --message-format=json --release | npm exec neon dist -- --name libsql-js",
40
- "cross": "cross build --message-format=json --release | npm exec neon dist -- --name libsql-js -m /target",
41
- "pack-build": "neon pack-build",
42
- "prepack": "neon install-builds",
43
- "postversion": "git push --follow-tags"
44
- },
45
- "author": "Pekka Enberg <penberg@iki.fi>",
46
- "license": "MIT",
47
- "neon": {
48
- "targets": {
49
- "aarch64-apple-darwin": "@libsql/darwin-arm64",
50
- "aarch64-unknown-linux-gnu": "@libsql/linux-arm64-gnu",
51
- "aarch64-unknown-linux-musl": "@libsql/linux-arm64-musl",
52
- "x86_64-apple-darwin": "@libsql/darwin-x64",
53
- "x86_64-pc-windows-msvc": "@libsql/win32-x64-msvc",
54
- "x86_64-unknown-linux-gnu": "@libsql/linux-x64-gnu",
55
- "x86_64-unknown-linux-musl": "@libsql/linux-x64-musl",
56
- "arm-unknown-linux-gnueabihf": "@libsql/linux-arm-gnueabihf",
57
- "arm-unknown-linux-musleabihf": "@libsql/linux-arm-musleabihf"
58
- }
59
- },
60
- "repository": {
61
- "type": "git",
62
- "url": "git+https://github.com/tursodatabase/libsql-js.git"
63
- },
64
- "keywords": [
65
- "libsql"
66
- ],
67
- "bugs": {
68
- "url": "https://github.com/tursodatabase/libsql-js/issues"
69
- },
70
- "homepage": "https://github.com/tursodatabase/libsql-js",
71
- "devDependencies": {
72
- "@neon-rs/cli": "^0.0.165",
73
- "typescript": "^5.4.5"
74
- },
75
- "dependencies": {
76
- "@neon-rs/load": "^0.0.4",
77
- "detect-libc": "2.0.2"
78
- },
79
- "optionalDependencies": {
80
- "@libsql/darwin-arm64": "0.5.29",
81
- "@libsql/linux-arm64-gnu": "0.5.29",
82
- "@libsql/linux-arm64-musl": "0.5.29",
83
- "@libsql/darwin-x64": "0.5.29",
84
- "@libsql/win32-x64-msvc": "0.5.29",
85
- "@libsql/linux-x64-gnu": "0.5.29",
86
- "@libsql/linux-x64-musl": "0.5.29",
87
- "@libsql/linux-arm-gnueabihf": "0.5.29",
88
- "@libsql/linux-arm-musleabihf": "0.5.29"
89
- }
90
- }
@@ -1,21 +0,0 @@
1
- 'use strict';
2
- const descriptor = { value: 'SqliteError', writable: true, enumerable: false, configurable: true };
3
-
4
- function SqliteError(message, code, rawCode) {
5
- if (new.target !== SqliteError) {
6
- return new SqliteError(message, code);
7
- }
8
- if (typeof code !== 'string') {
9
- throw new TypeError('Expected second argument to be a string');
10
- }
11
- Error.call(this, message);
12
- descriptor.value = '' + message;
13
- Object.defineProperty(this, 'message', descriptor);
14
- Error.captureStackTrace(this, SqliteError);
15
- this.code = code;
16
- this.rawCode = rawCode
17
- }
18
- Object.setPrototypeOf(SqliteError, Error);
19
- Object.setPrototypeOf(SqliteError.prototype, Error.prototype);
20
- Object.defineProperty(SqliteError.prototype, 'name', descriptor);
21
- module.exports = SqliteError;
@@ -1,177 +0,0 @@
1
- /*!
2
- Copyright 2013 Lovell Fuller and others.
3
- SPDX-License-Identifier: Apache-2.0
4
- */
5
-
6
- const is = require('./is.cjs');
7
-
8
- /**
9
- * Boolean operations for bandbool.
10
- * @private
11
- */
12
- const bool = {
13
- and: 'and',
14
- or: 'or',
15
- eor: 'eor'
16
- };
17
-
18
- /**
19
- * Remove alpha channels, if any. This is a no-op if the image does not have an alpha channel.
20
- *
21
- * See also {@link /api-operation/#flatten flatten}.
22
- *
23
- * @example
24
- * sharp('rgba.png')
25
- * .removeAlpha()
26
- * .toFile('rgb.png', function(err, info) {
27
- * // rgb.png is a 3 channel image without an alpha channel
28
- * });
29
- *
30
- * @returns {Sharp}
31
- */
32
- function removeAlpha () {
33
- this.options.removeAlpha = true;
34
- return this;
35
- }
36
-
37
- /**
38
- * Ensure the output image has an alpha transparency channel.
39
- * If missing, the added alpha channel will have the specified
40
- * transparency level, defaulting to fully-opaque (1).
41
- * This is a no-op if the image already has an alpha channel.
42
- *
43
- * @since 0.21.2
44
- *
45
- * @example
46
- * // rgba.png will be a 4 channel image with a fully-opaque alpha channel
47
- * await sharp('rgb.jpg')
48
- * .ensureAlpha()
49
- * .toFile('rgba.png')
50
- *
51
- * @example
52
- * // rgba is a 4 channel image with a fully-transparent alpha channel
53
- * const rgba = await sharp(rgb)
54
- * .ensureAlpha(0)
55
- * .toBuffer();
56
- *
57
- * @param {number} [alpha=1] - alpha transparency level (0=fully-transparent, 1=fully-opaque)
58
- * @returns {Sharp}
59
- * @throws {Error} Invalid alpha transparency level
60
- */
61
- function ensureAlpha (alpha) {
62
- if (is.defined(alpha)) {
63
- if (is.number(alpha) && is.inRange(alpha, 0, 1)) {
64
- this.options.ensureAlpha = alpha;
65
- } else {
66
- throw is.invalidParameterError('alpha', 'number between 0 and 1', alpha);
67
- }
68
- } else {
69
- this.options.ensureAlpha = 1;
70
- }
71
- return this;
72
- }
73
-
74
- /**
75
- * Extract a single channel from a multi-channel image.
76
- *
77
- * The output colourspace will be either `b-w` (8-bit) or `grey16` (16-bit).
78
- *
79
- * @example
80
- * // green.jpg is a greyscale image containing the green channel of the input
81
- * await sharp(input)
82
- * .extractChannel('green')
83
- * .toFile('green.jpg');
84
- *
85
- * @example
86
- * // red1 is the red value of the first pixel, red2 the second pixel etc.
87
- * const [red1, red2, ...] = await sharp(input)
88
- * .extractChannel(0)
89
- * .raw()
90
- * .toBuffer();
91
- *
92
- * @param {number|string} channel - zero-indexed channel/band number to extract, or `red`, `green`, `blue` or `alpha`.
93
- * @returns {Sharp}
94
- * @throws {Error} Invalid channel
95
- */
96
- function extractChannel (channel) {
97
- const channelMap = { red: 0, green: 1, blue: 2, alpha: 3 };
98
- if (Object.keys(channelMap).includes(channel)) {
99
- channel = channelMap[channel];
100
- }
101
- if (is.integer(channel) && is.inRange(channel, 0, 4)) {
102
- this.options.extractChannel = channel;
103
- } else {
104
- throw is.invalidParameterError('channel', 'integer or one of: red, green, blue, alpha', channel);
105
- }
106
- return this;
107
- }
108
-
109
- /**
110
- * Join one or more channels to the image.
111
- * The meaning of the added channels depends on the output colourspace, set with `toColourspace()`.
112
- * By default the output image will be web-friendly sRGB, with additional channels interpreted as alpha channels.
113
- * Channel ordering follows vips convention:
114
- * - sRGB: 0: Red, 1: Green, 2: Blue, 3: Alpha.
115
- * - CMYK: 0: Magenta, 1: Cyan, 2: Yellow, 3: Black, 4: Alpha.
116
- *
117
- * Buffers may be any of the image formats supported by sharp.
118
- * For raw pixel input, the `options` object should contain a `raw` attribute, which follows the format of the attribute of the same name in the `sharp()` constructor.
119
- *
120
- * @param {Array<string|Buffer>|string|Buffer} images - one or more images (file paths, Buffers).
121
- * @param {Object} options - image options, see `sharp()` constructor.
122
- * @returns {Sharp}
123
- * @throws {Error} Invalid parameters
124
- */
125
- function joinChannel (images, options) {
126
- if (Array.isArray(images)) {
127
- images.forEach(function (image) {
128
- this.options.joinChannelIn.push(this._createInputDescriptor(image, options));
129
- }, this);
130
- } else {
131
- this.options.joinChannelIn.push(this._createInputDescriptor(images, options));
132
- }
133
- return this;
134
- }
135
-
136
- /**
137
- * Perform a bitwise boolean operation on all input image channels (bands) to produce a single channel output image.
138
- *
139
- * @example
140
- * sharp('3-channel-rgb-input.png')
141
- * .bandbool(sharp.bool.and)
142
- * .toFile('1-channel-output.png', function (err, info) {
143
- * // The output will be a single channel image where each pixel `P = R & G & B`.
144
- * // If `I(1,1) = [247, 170, 14] = [0b11110111, 0b10101010, 0b00001111]`
145
- * // then `O(1,1) = 0b11110111 & 0b10101010 & 0b00001111 = 0b00000010 = 2`.
146
- * });
147
- *
148
- * @param {string} boolOp - one of `and`, `or` or `eor` to perform that bitwise operation, like the C logic operators `&`, `|` and `^` respectively.
149
- * @returns {Sharp}
150
- * @throws {Error} Invalid parameters
151
- */
152
- function bandbool (boolOp) {
153
- if (is.string(boolOp) && is.inArray(boolOp, ['and', 'or', 'eor'])) {
154
- this.options.bandBoolOp = boolOp;
155
- } else {
156
- throw is.invalidParameterError('boolOp', 'one of: and, or, eor', boolOp);
157
- }
158
- return this;
159
- }
160
-
161
- /**
162
- * Decorate the Sharp prototype with channel-related functions.
163
- * @module Sharp
164
- * @private
165
- */
166
- module.exports = (Sharp) => {
167
- Object.assign(Sharp.prototype, {
168
- // Public instance functions
169
- removeAlpha,
170
- ensureAlpha,
171
- extractChannel,
172
- joinChannel,
173
- bandbool
174
- });
175
- // Class attributes
176
- Sharp.bool = bool;
177
- };
@@ -1,177 +0,0 @@
1
- /*!
2
- Copyright 2013 Lovell Fuller and others.
3
- SPDX-License-Identifier: Apache-2.0
4
- */
5
-
6
- import is from './is.mjs';
7
-
8
- /**
9
- * Boolean operations for bandbool.
10
- * @private
11
- */
12
- const bool = {
13
- and: 'and',
14
- or: 'or',
15
- eor: 'eor'
16
- };
17
-
18
- /**
19
- * Remove alpha channels, if any. This is a no-op if the image does not have an alpha channel.
20
- *
21
- * See also {@link /api-operation/#flatten flatten}.
22
- *
23
- * @example
24
- * sharp('rgba.png')
25
- * .removeAlpha()
26
- * .toFile('rgb.png', function(err, info) {
27
- * // rgb.png is a 3 channel image without an alpha channel
28
- * });
29
- *
30
- * @returns {Sharp}
31
- */
32
- function removeAlpha () {
33
- this.options.removeAlpha = true;
34
- return this;
35
- }
36
-
37
- /**
38
- * Ensure the output image has an alpha transparency channel.
39
- * If missing, the added alpha channel will have the specified
40
- * transparency level, defaulting to fully-opaque (1).
41
- * This is a no-op if the image already has an alpha channel.
42
- *
43
- * @since 0.21.2
44
- *
45
- * @example
46
- * // rgba.png will be a 4 channel image with a fully-opaque alpha channel
47
- * await sharp('rgb.jpg')
48
- * .ensureAlpha()
49
- * .toFile('rgba.png')
50
- *
51
- * @example
52
- * // rgba is a 4 channel image with a fully-transparent alpha channel
53
- * const rgba = await sharp(rgb)
54
- * .ensureAlpha(0)
55
- * .toBuffer();
56
- *
57
- * @param {number} [alpha=1] - alpha transparency level (0=fully-transparent, 1=fully-opaque)
58
- * @returns {Sharp}
59
- * @throws {Error} Invalid alpha transparency level
60
- */
61
- function ensureAlpha (alpha) {
62
- if (is.defined(alpha)) {
63
- if (is.number(alpha) && is.inRange(alpha, 0, 1)) {
64
- this.options.ensureAlpha = alpha;
65
- } else {
66
- throw is.invalidParameterError('alpha', 'number between 0 and 1', alpha);
67
- }
68
- } else {
69
- this.options.ensureAlpha = 1;
70
- }
71
- return this;
72
- }
73
-
74
- /**
75
- * Extract a single channel from a multi-channel image.
76
- *
77
- * The output colourspace will be either `b-w` (8-bit) or `grey16` (16-bit).
78
- *
79
- * @example
80
- * // green.jpg is a greyscale image containing the green channel of the input
81
- * await sharp(input)
82
- * .extractChannel('green')
83
- * .toFile('green.jpg');
84
- *
85
- * @example
86
- * // red1 is the red value of the first pixel, red2 the second pixel etc.
87
- * const [red1, red2, ...] = await sharp(input)
88
- * .extractChannel(0)
89
- * .raw()
90
- * .toBuffer();
91
- *
92
- * @param {number|string} channel - zero-indexed channel/band number to extract, or `red`, `green`, `blue` or `alpha`.
93
- * @returns {Sharp}
94
- * @throws {Error} Invalid channel
95
- */
96
- function extractChannel (channel) {
97
- const channelMap = { red: 0, green: 1, blue: 2, alpha: 3 };
98
- if (Object.keys(channelMap).includes(channel)) {
99
- channel = channelMap[channel];
100
- }
101
- if (is.integer(channel) && is.inRange(channel, 0, 4)) {
102
- this.options.extractChannel = channel;
103
- } else {
104
- throw is.invalidParameterError('channel', 'integer or one of: red, green, blue, alpha', channel);
105
- }
106
- return this;
107
- }
108
-
109
- /**
110
- * Join one or more channels to the image.
111
- * The meaning of the added channels depends on the output colourspace, set with `toColourspace()`.
112
- * By default the output image will be web-friendly sRGB, with additional channels interpreted as alpha channels.
113
- * Channel ordering follows vips convention:
114
- * - sRGB: 0: Red, 1: Green, 2: Blue, 3: Alpha.
115
- * - CMYK: 0: Magenta, 1: Cyan, 2: Yellow, 3: Black, 4: Alpha.
116
- *
117
- * Buffers may be any of the image formats supported by sharp.
118
- * For raw pixel input, the `options` object should contain a `raw` attribute, which follows the format of the attribute of the same name in the `sharp()` constructor.
119
- *
120
- * @param {Array<string|Buffer>|string|Buffer} images - one or more images (file paths, Buffers).
121
- * @param {Object} options - image options, see `sharp()` constructor.
122
- * @returns {Sharp}
123
- * @throws {Error} Invalid parameters
124
- */
125
- function joinChannel (images, options) {
126
- if (Array.isArray(images)) {
127
- images.forEach(function (image) {
128
- this.options.joinChannelIn.push(this._createInputDescriptor(image, options));
129
- }, this);
130
- } else {
131
- this.options.joinChannelIn.push(this._createInputDescriptor(images, options));
132
- }
133
- return this;
134
- }
135
-
136
- /**
137
- * Perform a bitwise boolean operation on all input image channels (bands) to produce a single channel output image.
138
- *
139
- * @example
140
- * sharp('3-channel-rgb-input.png')
141
- * .bandbool(sharp.bool.and)
142
- * .toFile('1-channel-output.png', function (err, info) {
143
- * // The output will be a single channel image where each pixel `P = R & G & B`.
144
- * // If `I(1,1) = [247, 170, 14] = [0b11110111, 0b10101010, 0b00001111]`
145
- * // then `O(1,1) = 0b11110111 & 0b10101010 & 0b00001111 = 0b00000010 = 2`.
146
- * });
147
- *
148
- * @param {string} boolOp - one of `and`, `or` or `eor` to perform that bitwise operation, like the C logic operators `&`, `|` and `^` respectively.
149
- * @returns {Sharp}
150
- * @throws {Error} Invalid parameters
151
- */
152
- function bandbool (boolOp) {
153
- if (is.string(boolOp) && is.inArray(boolOp, ['and', 'or', 'eor'])) {
154
- this.options.bandBoolOp = boolOp;
155
- } else {
156
- throw is.invalidParameterError('boolOp', 'one of: and, or, eor', boolOp);
157
- }
158
- return this;
159
- }
160
-
161
- /**
162
- * Decorate the Sharp prototype with channel-related functions.
163
- * @module Sharp
164
- * @private
165
- */
166
- export default (Sharp) => {
167
- Object.assign(Sharp.prototype, {
168
- // Public instance functions
169
- removeAlpha,
170
- ensureAlpha,
171
- extractChannel,
172
- joinChannel,
173
- bandbool
174
- });
175
- // Class attributes
176
- Sharp.bool = bool;
177
- };