@sureshdsk/devflow-mcp 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +4 -4
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page/build-manifest.json +2 -2
- package/.next/standalone/.next/server/app/_global-error/page.js +1 -1
- package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page/build-manifest.json +2 -2
- package/.next/standalone/.next/server/app/_not-found/page.js +2 -2
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +14 -13
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +14 -13
- package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +5 -4
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/api/projects/[id]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/route.js +2 -2
- package/.next/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/specs/[name]/artifacts/[artifactType]/approve/route.js +2 -2
- package/.next/standalone/.next/server/app/api/specs/[name]/artifacts/[artifactType]/approve/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/specs/[name]/artifacts/[artifactType]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/specs/[name]/artifacts/[artifactType]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/specs/[name]/promote/route.js +2 -2
- package/.next/standalone/.next/server/app/api/specs/[name]/promote/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/specs/[name]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/specs/[name]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/specs/route.js +2 -2
- package/.next/standalone/.next/server/app/api/specs/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tasks/[id]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/tasks/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tasks/route.js +2 -2
- package/.next/standalone/.next/server/app/api/tasks/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +15 -14
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +15 -14
- package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +5 -4
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/page/build-manifest.json +2 -2
- package/.next/standalone/.next/server/app/page.js +2 -2
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/specs/[name]/page/build-manifest.json +2 -2
- package/.next/standalone/.next/server/app/specs/[name]/page.js +2 -2
- package/.next/standalone/.next/server/app/specs/[name]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/specs/[name]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0be0eb8b._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__a9d478ee._.js → [root-of-the-server]__160c54ca._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__17ac51e3._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1bb083e9._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1dc1e944._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__22ecfa2c._.js +3 -0
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__13a93eb6._.js → [root-of-the-server]__64710c0d._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__a2b7e5f2._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__cf302bda._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d85482cd._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__dfa21757._.js +3 -0
- package/.next/standalone/.next/server/chunks/_3f452afe._.js +2 -2
- package/.next/standalone/.next/server/chunks/src_db_index_ts_a71f50f0._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__023e2c69._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0a1a1435._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0c49a387._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1be1fc5f._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__3a2f2efb._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4693399c._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__937c9212._.js → [root-of-the-server]__72a14301._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__8064ca06._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__8b786d48._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__8c052461._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__8d306066._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__9532fd59._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__a119dd75._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__7fb6ef14._.js → [root-of-the-server]__a57b312b._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__a80bd0ea._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__abe095b3._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__ad3bd783._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1e05fe0e._.js → [root-of-the-server]__ae9f05d6._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__c8781469._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__c8a25070._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__e8c1e595._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0ff3de19._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_01a5cd4b._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_05c6819f._.js +31 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_06c2c30a._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_09efe605._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_ef601841._.js → node_modules_0a439e3b._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_3507b41a._.js → node_modules_0e73ad6c._.js} +3 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_0e7ff06d._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_0f73e25c._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_14cf9cea._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_19801f01._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_2235b8cf._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_23096c6d._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_23db4cf7._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_24381e95._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_24ca0eb6._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_27525793._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_4cfa6360._.js → node_modules_27c20382._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/node_modules_2c901b92._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_33b818b7._.js +45 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_345d7791._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_36185c24._.js +45 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_3ac7ce09._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_41b77cc7._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_ed317ff6._.js → node_modules_42acd8db._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/node_modules_434aa5ec._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_54a9e72d._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_54f1273a._.js +26 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_58d64491._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_5e012e3d._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_5ea9e4cf._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_5ecf8270._.js +26 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_611c99b5._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_d3-scale_src_e02ef77f._.js → node_modules_6629853d._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/node_modules_6fe2661c._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_7fe65a84._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_860f971a._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_882f3743._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_8e047938._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_9268cdc4._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_942541c9._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_9d52c0d6._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_@tanstack_query-core_build_modern_21ece5ea._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_ae6841d2._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_ba280bb0._.js +31 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_bffdb8ec._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_c00f1821._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_c142ba86._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_d1a47cde._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_d9b454fe._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_dbe36b1d._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_ddbe26b7._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_e76b8bf2._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_e945b74d._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_fbd8a2ee._.js +17 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_katex_dist_katex_mjs_31d456ba._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_katex_dist_katex_mjs_e1edc676._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_lodash-es_33e24dce._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-QXUST7PY_mjs_159fba97._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-S3R3BYOJ_mjs_dbeeb277._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_mermaid_core_mjs_a11916de._.js +9 -0
- package/.next/standalone/.next/server/chunks/ssr/src_66a70595._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/src_components_kanban-board_tsx_7b875e8e._.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +2 -2
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +2 -2
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/static/chunks/4f23f64d46848f57.js +1 -0
- package/.next/standalone/.next/static/chunks/53081dcdcad4f31e.js +1 -0
- package/.next/{static/chunks/6a3d582315f1c214.js → standalone/.next/static/chunks/701cfcbb41e0ab47.js} +1 -1
- package/.next/standalone/.next/static/chunks/ac4b6b4d5b7e486e.css +1 -0
- package/.next/standalone/.next/static/chunks/d0309ea872db5d9f.js +1 -0
- package/.next/standalone/.next/static/chunks/d4cf8893a018e965.js +1 -0
- package/.next/standalone/.next/static/chunks/e6c0233269a4bd69.js +13 -0
- package/.next/{static/chunks/7e65cfa9841f66a5.js → standalone/.next/static/chunks/e7d83ce855afe416.js} +2 -2
- package/.next/standalone/.next/static/chunks/ee7035560fc9e5e9.js +1 -0
- package/.next/{static/chunks/turbopack-f4d3806ab575051d.js → standalone/.next/static/chunks/turbopack-8b3b66a22a5e0fb4.js} +2 -2
- package/.next/standalone/.next/static/static/V6JvQiyb7wzYpHUOLB6BC/_buildManifest.js +11 -0
- package/.next/standalone/.next/static/static/V6JvQiyb7wzYpHUOLB6BC/_clientMiddlewareManifest.json +1 -0
- package/.next/standalone/.next/static/static/V6JvQiyb7wzYpHUOLB6BC/_ssgManifest.js +1 -0
- package/.next/standalone/.next/static/static/chunks/01c05b0fdc89fc0c.js +2 -0
- package/.next/standalone/.next/static/static/chunks/034e8cfdbd1cf3ac.js +24 -0
- package/.next/standalone/.next/static/static/chunks/0356b23e9d8fbd11.js +160 -0
- package/.next/standalone/.next/static/static/chunks/0697f660af9a95f1.js +1 -0
- package/.next/standalone/.next/static/static/chunks/09e4e9409aadc2fe.js +1 -0
- package/.next/standalone/.next/static/static/chunks/09ec2e3c3d2d294f.js +29 -0
- package/.next/standalone/.next/static/static/chunks/1bdb5b021c9a4e61.js +62 -0
- package/.next/standalone/.next/static/static/chunks/1cec4d71237d0c89.js +15 -0
- package/.next/standalone/.next/static/static/chunks/20337e5244416041.js +1 -0
- package/.next/standalone/.next/static/static/chunks/20c1169c30c95e0f.js +1 -0
- package/.next/standalone/.next/static/static/chunks/27f5fab49d8a5395.js +1 -0
- package/.next/standalone/.next/static/static/chunks/31965ae569bf807f.js +24 -0
- package/.next/standalone/.next/static/static/chunks/34e2788a0be7ee63.js +1 -0
- package/.next/standalone/.next/static/static/chunks/3e6042c77fa8e7ac.js +1 -0
- package/.next/standalone/.next/static/static/chunks/46d959abf8046f0e.js +15 -0
- package/.next/standalone/.next/static/static/chunks/483effa74d32093a.js +1 -0
- package/.next/standalone/.next/static/static/chunks/4f23f64d46848f57.js +1 -0
- package/.next/standalone/.next/static/static/chunks/53081dcdcad4f31e.js +1 -0
- package/.next/standalone/.next/static/static/chunks/539636bf51e84308.js +1 -0
- package/.next/standalone/.next/static/static/chunks/559e55a53f22f5d1.js +1 -0
- package/.next/standalone/.next/static/static/chunks/5623d8a1c99eba62.js +1 -0
- package/.next/standalone/.next/static/static/chunks/581c7f8a86cc86fb.js +1 -0
- package/.next/standalone/.next/static/static/chunks/5c05dda6ed4d92bf.js +1 -0
- package/.next/standalone/.next/static/static/chunks/5eac621951969859.js +60 -0
- package/.next/standalone/.next/static/static/chunks/6f4c5a75f38f686b.js +1 -0
- package/.next/standalone/.next/static/static/chunks/6fee5c7b5d483c8a.js +5 -0
- package/.next/standalone/.next/static/static/chunks/701cfcbb41e0ab47.js +1 -0
- package/.next/standalone/.next/static/static/chunks/70b3258c508216b5.js +4 -0
- package/.next/standalone/.next/static/static/chunks/762121739217e5da.js +1 -0
- package/.next/standalone/.next/static/static/chunks/808075c416a273c9.js +2 -0
- package/.next/standalone/.next/static/static/chunks/8321c26033c9fc5b.js +1 -0
- package/.next/standalone/.next/static/static/chunks/87f01c0a5d4010ab.js +1 -0
- package/.next/standalone/.next/static/static/chunks/89ebb4231102677a.js +77 -0
- package/.next/standalone/.next/static/static/chunks/909ac8a87c0dd9cb.js +215 -0
- package/.next/standalone/.next/static/static/chunks/9525dc246b363870.js +262 -0
- package/.next/standalone/.next/static/static/chunks/957a5dae245bbc84.js +1 -0
- package/.next/standalone/.next/static/static/chunks/9a52b8ded6a9ee38.js +215 -0
- package/.next/standalone/.next/static/static/chunks/9eb0474ddf7f6238.js +80 -0
- package/.next/standalone/.next/static/static/chunks/a6dad97d9634a72d.js +1 -0
- package/.next/standalone/.next/static/static/chunks/a6dad97d9634a72d.js.map +1 -0
- package/.next/standalone/.next/static/static/chunks/a85d55e8b6841436.js +1 -0
- package/.next/standalone/.next/static/static/chunks/ac4b6b4d5b7e486e.css +1 -0
- package/.next/standalone/.next/static/static/chunks/ad24b3b0881818aa.js +4 -0
- package/.next/standalone/.next/static/static/chunks/ae52f8e72d4127b1.js +59 -0
- package/.next/standalone/.next/static/static/chunks/af66c50a65af610b.js +93 -0
- package/.next/standalone/.next/static/static/chunks/b8b36494d4330f5f.js +152 -0
- package/.next/standalone/.next/static/static/chunks/b8ca88454bfa8e05.js +148 -0
- package/.next/standalone/.next/static/static/chunks/b9a047fc90291dbd.js +63 -0
- package/.next/standalone/.next/static/static/chunks/be28d13ded360528.js +117 -0
- package/.next/standalone/.next/static/static/chunks/c231010aae14914b.js +1 -0
- package/.next/standalone/.next/static/static/chunks/c36e148ece9c20ae.js +43 -0
- package/.next/standalone/.next/static/static/chunks/cb863a7e46548566.js +15 -0
- package/.next/standalone/.next/static/static/chunks/ce4052f386943efb.js +1 -0
- package/.next/standalone/.next/static/static/chunks/d0309ea872db5d9f.js +1 -0
- package/.next/standalone/.next/static/static/chunks/d4cf8893a018e965.js +1 -0
- package/.next/standalone/.next/static/static/chunks/d5b700b8aafeea3b.js +55 -0
- package/.next/standalone/.next/static/static/chunks/dc16aeb5aabadbd8.js +136 -0
- package/.next/standalone/.next/static/static/chunks/de9c5219846f92bb.js +53 -0
- package/.next/standalone/.next/static/static/chunks/df3c9c7fcf3e0a3d.js +15 -0
- package/.next/standalone/.next/static/static/chunks/e6c0233269a4bd69.js +13 -0
- package/.next/standalone/.next/static/static/chunks/e7d83ce855afe416.js +5 -0
- package/.next/standalone/.next/static/static/chunks/eb22f55ae829d296.js +36 -0
- package/.next/standalone/.next/static/static/chunks/ec0de430276c8209.js +1 -0
- package/.next/standalone/.next/static/static/chunks/ed2e02f2db03c1dc.js +1 -0
- package/.next/standalone/.next/static/static/chunks/ee7035560fc9e5e9.js +1 -0
- package/.next/standalone/.next/static/static/chunks/f1f8594d5ec7b93e.js +1 -0
- package/.next/standalone/.next/static/static/chunks/f42ff7863eb4c3ff.js +1 -0
- package/.next/standalone/.next/static/static/chunks/f678cdcec3cea0de.js +1 -0
- package/.next/standalone/.next/static/static/chunks/f7a6fed60fb079dd.js +1 -0
- package/.next/standalone/.next/static/static/chunks/f9eb3f4ff87b8d8d.js +56 -0
- package/.next/standalone/.next/static/static/chunks/ff1a16fafef87110.js +1 -0
- package/.next/standalone/.next/static/static/chunks/ff49535ba8193dec.js +1 -0
- package/.next/standalone/.next/static/static/chunks/turbopack-8b3b66a22a5e0fb4.js +4 -0
- package/.next/standalone/.next/static/static/media/favicon.0b3bf435.ico +0 -0
- package/.next/standalone/AGENTS.md +13 -7
- package/.next/standalone/CONTRIBUTING.md +42 -26
- package/.next/standalone/README.md +166 -25
- package/.next/standalone/bin/devflow.js +12 -5
- package/.next/standalone/bun.lock +78 -24
- package/.next/standalone/devflow/project-config.json +4 -0
- package/.next/standalone/devflow/schemas/api-first/schema.yaml +39 -0
- package/.next/standalone/devflow/schemas/api-first/templates/api-design.md +41 -0
- package/.next/standalone/devflow/schemas/api-first/templates/db-design.md +28 -0
- package/.next/standalone/devflow/schemas/api-first/templates/final-architecture.md +31 -0
- package/.next/standalone/devflow/schemas/api-first/templates/proposal.md +22 -0
- package/.next/standalone/devflow/schemas/api-first/templates/tasks.md +16 -0
- package/.next/standalone/devflow/specs/autodetect-skill-and-slash-command-installation/.approvals.json +1 -1
- package/.next/standalone/devflow/specs/autodetect-skill-and-slash-command-installation/.meta.json +1 -1
- package/.next/standalone/devflow/specs/autodetect-skill-and-slash-command-installation/design.md +11 -0
- package/.next/standalone/devflow/specs/autodetect-skill-and-slash-command-installation/proposal.md +3 -0
- package/.next/standalone/devflow/specs/autodetect-skill-and-slash-command-installation/tasks.md +34 -2
- package/.next/standalone/devflow/specs/precommit/.approvals.json +26 -0
- package/.next/standalone/devflow/specs/precommit/.meta.json +7 -0
- package/.next/standalone/devflow/specs/precommit/design.md +105 -0
- package/.next/standalone/devflow/specs/precommit/proposal.md +43 -0
- package/.next/standalone/devflow/specs/precommit/specs.md +89 -0
- package/.next/standalone/devflow/specs/precommit/tasks.md +283 -0
- package/.next/standalone/docs/custom-schemas.md +117 -0
- package/.next/standalone/docs/local-dev-guide.md +73 -0
- package/.next/standalone/drizzle.config.ts +7 -7
- package/.next/standalone/eslint.config.mjs +2 -2
- package/.next/standalone/instrumentation.ts +3 -5
- package/.next/standalone/next.config.ts +11 -2
- package/.next/standalone/node_modules/{sharp → libsql}/node_modules/detect-libc/package.json +4 -8
- package/.next/standalone/package-lock.json +5257 -2085
- package/.next/standalone/package.json +18 -9
- package/.next/standalone/postcss.config.mjs +1 -1
- package/.next/standalone/scripts/init-db.js +3 -5
- package/.next/standalone/scripts/init-db.test.js +6 -6
- package/.next/standalone/scripts/init-schema.js +22 -22
- package/.next/standalone/scripts/init-schema.test.js +45 -45
- package/.next/standalone/scripts/install-environments.js +27 -8
- package/.next/standalone/scripts/install-environments.test.js +19 -10
- package/.next/standalone/scripts/install-skills.js +104 -31
- package/.next/standalone/scripts/install-skills.test.js +6 -6
- package/.next/standalone/server.js +1 -1
- package/.next/standalone/src/app/api/agents/route.ts +2 -2
- package/.next/standalone/src/app/api/projects/[id]/route.ts +10 -19
- package/.next/standalone/src/app/api/projects/route.ts +4 -10
- package/.next/standalone/src/app/api/specs/[name]/artifacts/[artifactType]/approve/route.ts +8 -8
- package/.next/standalone/src/app/api/specs/[name]/artifacts/[artifactType]/route.ts +14 -14
- package/.next/standalone/src/app/api/specs/[name]/promote/route.ts +17 -23
- package/.next/standalone/src/app/api/specs/[name]/route.ts +34 -36
- package/.next/standalone/src/app/api/specs/route.ts +10 -10
- package/.next/standalone/src/app/api/tasks/[id]/route.ts +11 -33
- package/.next/standalone/src/app/api/tasks/route.ts +3 -6
- package/.next/standalone/src/app/globals.css +3 -3
- package/.next/standalone/src/app/layout.tsx +9 -5
- package/.next/standalone/src/app/page.tsx +1 -1
- package/.next/standalone/src/app/specs/[name]/page.tsx +26 -68
- package/.next/standalone/src/components/kanban-board.tsx +78 -157
- package/.next/standalone/src/components/kanban-column.tsx +10 -12
- package/.next/standalone/src/components/markdown-preview.tsx +36 -19
- package/.next/standalone/src/components/providers.tsx +20 -0
- package/.next/standalone/src/components/specs/artifact-dag-status.tsx +12 -14
- package/.next/standalone/src/components/specs/artifact-editor.tsx +55 -26
- package/.next/standalone/src/components/specs/spec-detail.tsx +48 -40
- package/.next/standalone/src/components/specs/spec-kanban-column.tsx +49 -68
- package/.next/standalone/src/components/specs/spec-modal.tsx +119 -83
- package/.next/standalone/src/components/task-card.tsx +34 -38
- package/.next/standalone/src/components/task-dialog.tsx +16 -31
- package/.next/standalone/src/components/ui/badge.tsx +12 -18
- package/.next/standalone/src/components/ui/button.tsx +23 -28
- package/.next/standalone/src/components/ui/card.tsx +42 -62
- package/.next/standalone/src/components/ui/dialog.tsx +17 -35
- package/.next/standalone/src/db/index.ts +10 -10
- package/.next/standalone/src/db/schema.ts +37 -37
- package/.next/standalone/src/hooks/use-queries.ts +81 -0
- package/.next/standalone/src/hooks/use-websocket.ts +74 -0
- package/.next/standalone/src/lib/schema.test.ts +37 -37
- package/.next/standalone/src/lib/schema.ts +77 -31
- package/.next/standalone/src/lib/specs-dir.ts +8 -8
- package/.next/standalone/src/lib/specs.ts +98 -92
- package/.next/standalone/src/lib/utils.ts +2 -2
- package/.next/standalone/src/mcp/server.ts +556 -349
- package/.next/standalone/src/mcp/websocket.ts +26 -23
- package/.next/standalone/src/schemas/backend-api/templates/proposal.md +6 -4
- package/.next/standalone/src/schemas/backend-api/templates/tasks.md +6 -0
- package/.next/standalone/src/schemas/data-engineering/templates/proposal.md +6 -4
- package/.next/standalone/src/schemas/data-engineering/templates/tasks.md +6 -0
- package/.next/standalone/src/schemas/devops-platform/templates/proposal.md +6 -4
- package/.next/standalone/src/schemas/devops-platform/templates/tasks.md +6 -0
- package/.next/standalone/src/schemas/frontend-product/templates/proposal.md +6 -4
- package/.next/standalone/src/schemas/frontend-product/templates/tasks.md +6 -0
- package/.next/standalone/src/schemas/spec-driven/templates/proposal.md +6 -4
- package/.next/standalone/src/schemas/spec-driven/templates/tasks.md +26 -0
- package/.next/standalone/src/websocket/server.ts +20 -18
- package/.next/standalone/tsconfig.json +3 -12
- package/.next/standalone/tsconfig.tsbuildinfo +1 -1
- package/README.md +166 -25
- package/bin/devflow.js +12 -5
- package/drizzle.config.ts +7 -7
- package/next.config.ts +11 -2
- package/package.json +18 -9
- package/scripts/init-db.js +3 -5
- package/scripts/init-db.test.js +6 -6
- package/scripts/init-schema.js +22 -22
- package/scripts/init-schema.test.js +45 -45
- package/scripts/install-environments.js +27 -8
- package/scripts/install-environments.test.js +19 -10
- package/scripts/install-skills.js +104 -31
- package/scripts/install-skills.test.js +6 -6
- package/src/app/api/agents/route.ts +2 -2
- package/src/app/api/projects/[id]/route.ts +10 -19
- package/src/app/api/projects/route.ts +4 -10
- package/src/app/api/specs/[name]/artifacts/[artifactType]/approve/route.ts +8 -8
- package/src/app/api/specs/[name]/artifacts/[artifactType]/route.ts +14 -14
- package/src/app/api/specs/[name]/promote/route.ts +17 -23
- package/src/app/api/specs/[name]/route.ts +34 -36
- package/src/app/api/specs/route.ts +10 -10
- package/src/app/api/tasks/[id]/route.ts +11 -33
- package/src/app/api/tasks/route.ts +3 -6
- package/src/app/globals.css +3 -3
- package/src/app/layout.tsx +9 -5
- package/src/app/page.tsx +1 -1
- package/src/app/specs/[name]/page.tsx +26 -68
- package/src/components/kanban-board.tsx +78 -157
- package/src/components/kanban-column.tsx +10 -12
- package/src/components/markdown-preview.tsx +36 -19
- package/src/components/providers.tsx +20 -0
- package/src/components/specs/artifact-dag-status.tsx +12 -14
- package/src/components/specs/artifact-editor.tsx +55 -26
- package/src/components/specs/spec-detail.tsx +48 -40
- package/src/components/specs/spec-kanban-column.tsx +49 -68
- package/src/components/specs/spec-modal.tsx +119 -83
- package/src/components/task-card.tsx +34 -38
- package/src/components/task-dialog.tsx +16 -31
- package/src/components/ui/badge.tsx +12 -18
- package/src/components/ui/button.tsx +23 -28
- package/src/components/ui/card.tsx +42 -62
- package/src/components/ui/dialog.tsx +17 -35
- package/src/db/index.ts +10 -10
- package/src/db/schema.ts +37 -37
- package/src/hooks/use-queries.ts +81 -0
- package/src/hooks/use-websocket.ts +74 -0
- package/src/lib/schema.test.ts +37 -37
- package/src/lib/schema.ts +77 -31
- package/src/lib/specs-dir.ts +8 -8
- package/src/lib/specs.ts +98 -92
- package/src/lib/utils.ts +2 -2
- package/src/mcp/server.ts +556 -349
- package/src/mcp/websocket.ts +26 -23
- package/src/schemas/backend-api/templates/proposal.md +6 -4
- package/src/schemas/backend-api/templates/tasks.md +6 -0
- package/src/schemas/data-engineering/templates/proposal.md +6 -4
- package/src/schemas/data-engineering/templates/tasks.md +6 -0
- package/src/schemas/devops-platform/templates/proposal.md +6 -4
- package/src/schemas/devops-platform/templates/tasks.md +6 -0
- package/src/schemas/frontend-product/templates/proposal.md +6 -4
- package/src/schemas/frontend-product/templates/tasks.md +6 -0
- package/src/schemas/spec-driven/templates/proposal.md +6 -4
- package/src/schemas/spec-driven/templates/tasks.md +26 -0
- package/src/types/bun-sqlite.d.ts +1 -1
- package/src/websocket/server.ts +20 -18
- package/tsconfig.json +3 -12
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1be4e4b6._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__492a4a24._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__67c59ae1._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6cc7aecd._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__83a77b07._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__88d91cb5._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__a9e095e8._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__b367d327._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__eb413bbc._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0b8c072a._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__12b2191f._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__15316462._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__19c9c409._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__19e5e22f._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__25b5ccb3._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__2f78c3da._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__3160b3f4._.js +0 -9
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__319559be._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__34f7cbcb._.js +0 -31
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__3abab94b._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__3b3d8930._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4250799b._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4c29cbc3._.js +0 -26
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4e0bb6eb._.js +0 -9
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__5678d2e3._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__673445e0._.js +0 -31
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__934de06b._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__9b6c6f09._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__a1b83a98._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__b00a15c5._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__b8567be3._.js +0 -26
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__ce64536e._.js +0 -45
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__e96d33d2._.js +0 -45
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__fd7ec054._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_16a3f9e7._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules_45bce0e1._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_5e5a372d._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules_6ece6f1e._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_d173e749._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_d3-shape_src_arc_fb1ac087.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_1f73a830._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_663ac803._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-FMBD7UC4_mjs_4f485529._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-TZMSLE5B_mjs_8436a62a._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_f78d2dc4._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/src_app_layout_tsx_cc8184fa._.js +0 -3
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/.approvals.json +0 -26
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/.meta.json +0 -8
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/design.md +0 -126
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/proposal.md +0 -65
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/specs.md +0 -107
- package/.next/standalone/devflow/specs/add-default-schema-template-selection/tasks.md +0 -235
- package/.next/standalone/devflow/specs/test-no-project/.approvals.json +0 -17
- package/.next/standalone/devflow/specs/test-no-project/.meta.json +0 -6
- package/.next/standalone/devflow/specs/ui-cleanup/.approvals.json +0 -29
- package/.next/standalone/devflow/specs/ui-cleanup/.meta.json +0 -6
- package/.next/standalone/devflow/specs/ui-cleanup/design.md +0 -49
- package/.next/standalone/devflow/specs/ui-cleanup/proposal.md +0 -34
- package/.next/standalone/devflow/specs/ui-cleanup/specs.md +0 -55
- package/.next/standalone/devflow/specs/ui-cleanup/tasks.md +0 -28
- package/.next/standalone/node_modules/@img/colour/color.cjs +0 -1594
- package/.next/standalone/node_modules/@img/colour/index.cjs +0 -1
- package/.next/standalone/node_modules/@img/colour/package.json +0 -45
- package/.next/standalone/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
- package/.next/standalone/node_modules/@img/sharp-darwin-arm64/package.json +0 -40
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/README.md +0 -46
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +0 -220
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js +0 -1
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib +0 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/package.json +0 -36
- package/.next/standalone/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +0 -30
- package/.next/standalone/node_modules/buffer-from/index.js +0 -72
- package/.next/standalone/node_modules/buffer-from/package.json +0 -19
- package/.next/standalone/node_modules/sharp/lib/channel.js +0 -177
- package/.next/standalone/node_modules/sharp/lib/colour.js +0 -195
- package/.next/standalone/node_modules/sharp/lib/composite.js +0 -212
- package/.next/standalone/node_modules/sharp/lib/constructor.js +0 -499
- package/.next/standalone/node_modules/sharp/lib/index.js +0 -16
- package/.next/standalone/node_modules/sharp/lib/input.js +0 -809
- package/.next/standalone/node_modules/sharp/lib/is.js +0 -143
- package/.next/standalone/node_modules/sharp/lib/libvips.js +0 -207
- package/.next/standalone/node_modules/sharp/lib/operation.js +0 -1016
- package/.next/standalone/node_modules/sharp/lib/output.js +0 -1666
- package/.next/standalone/node_modules/sharp/lib/resize.js +0 -595
- package/.next/standalone/node_modules/sharp/lib/sharp.js +0 -121
- package/.next/standalone/node_modules/sharp/lib/utility.js +0 -291
- package/.next/standalone/node_modules/sharp/node_modules/detect-libc/lib/detect-libc.js +0 -313
- package/.next/standalone/node_modules/sharp/node_modules/detect-libc/lib/elf.js +0 -39
- package/.next/standalone/node_modules/sharp/node_modules/detect-libc/lib/filesystem.js +0 -51
- package/.next/standalone/node_modules/sharp/node_modules/detect-libc/lib/process.js +0 -24
- package/.next/standalone/node_modules/sharp/node_modules/semver/classes/comparator.js +0 -143
- package/.next/standalone/node_modules/sharp/node_modules/semver/classes/range.js +0 -557
- package/.next/standalone/node_modules/sharp/node_modules/semver/classes/semver.js +0 -333
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/cmp.js +0 -54
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/coerce.js +0 -62
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/compare.js +0 -7
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/eq.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/gt.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/gte.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/lt.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/lte.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/neq.js +0 -5
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/parse.js +0 -18
- package/.next/standalone/node_modules/sharp/node_modules/semver/functions/satisfies.js +0 -12
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/constants.js +0 -37
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/debug.js +0 -11
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/identifiers.js +0 -29
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/lrucache.js +0 -42
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/parse-options.js +0 -17
- package/.next/standalone/node_modules/sharp/node_modules/semver/internal/re.js +0 -223
- package/.next/standalone/node_modules/sharp/node_modules/semver/package.json +0 -78
- package/.next/standalone/node_modules/sharp/package.json +0 -202
- package/.next/standalone/node_modules/source-map/lib/array-set.js +0 -121
- package/.next/standalone/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/.next/standalone/node_modules/source-map/lib/base64.js +0 -67
- package/.next/standalone/node_modules/source-map/lib/binary-search.js +0 -111
- package/.next/standalone/node_modules/source-map/lib/mapping-list.js +0 -79
- package/.next/standalone/node_modules/source-map/lib/quick-sort.js +0 -114
- package/.next/standalone/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/.next/standalone/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/.next/standalone/node_modules/source-map/lib/source-node.js +0 -413
- package/.next/standalone/node_modules/source-map/lib/util.js +0 -488
- package/.next/standalone/node_modules/source-map/package.json +0 -73
- package/.next/standalone/node_modules/source-map/source-map.js +0 -8
- package/.next/standalone/node_modules/source-map-support/LICENSE.md +0 -21
- package/.next/standalone/node_modules/source-map-support/README.md +0 -284
- package/.next/standalone/node_modules/source-map-support/browser-source-map-support.js +0 -114
- package/.next/standalone/node_modules/source-map-support/package.json +0 -31
- package/.next/standalone/node_modules/source-map-support/register-hook-require.js +0 -1
- package/.next/standalone/node_modules/source-map-support/register.js +0 -1
- package/.next/standalone/node_modules/source-map-support/source-map-support.js +0 -625
- package/.next/standalone/node_modules/typescript/lib/_tsc.js +0 -133818
- package/.next/standalone/node_modules/typescript/lib/_tsserver.js +0 -659
- package/.next/standalone/node_modules/typescript/lib/_typingsInstaller.js +0 -222
- package/.next/standalone/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/tsc.js +0 -8
- package/.next/standalone/node_modules/typescript/lib/tsserver.js +0 -8
- package/.next/standalone/node_modules/typescript/lib/tsserverlibrary.js +0 -21
- package/.next/standalone/node_modules/typescript/lib/typesMap.json +0 -497
- package/.next/standalone/node_modules/typescript/lib/typescript.js +0 -200276
- package/.next/standalone/node_modules/typescript/lib/typingsInstaller.js +0 -8
- package/.next/standalone/node_modules/typescript/lib/watchGuard.js +0 -53
- package/.next/standalone/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
- package/.next/standalone/node_modules/typescript/package.json +0 -120
- package/.next/standalone/src/components/ui/collapsible.tsx +0 -12
- package/.next/standalone/src/components/ui/sheet.tsx +0 -130
- package/.next/standalone/src/components/ui/tabs.tsx +0 -58
- package/.next/static/chunks/0177331b8adf7346.js +0 -7
- package/.next/static/chunks/06af74e2f3e207c5.js +0 -7
- package/.next/static/chunks/1748d5cd2443723b.css +0 -1
- package/.next/static/chunks/7ae917cb100be2b9.js +0 -7
- package/.next/static/chunks/7c4b901b394c3a8c.js +0 -7
- package/src/components/ui/collapsible.tsx +0 -12
- package/src/components/ui/sheet.tsx +0 -130
- package/src/components/ui/tabs.tsx +0 -58
- /package/.next/{static/5YFrdIQd1UU2IxLxekrU9 → standalone/.next/static/V6JvQiyb7wzYpHUOLB6BC}/_buildManifest.js +0 -0
- /package/.next/{static/5YFrdIQd1UU2IxLxekrU9 → standalone/.next/static/V6JvQiyb7wzYpHUOLB6BC}/_clientMiddlewareManifest.json +0 -0
- /package/.next/{static/5YFrdIQd1UU2IxLxekrU9 → standalone/.next/static/V6JvQiyb7wzYpHUOLB6BC}/_ssgManifest.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/01c05b0fdc89fc0c.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/034e8cfdbd1cf3ac.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/0356b23e9d8fbd11.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/0697f660af9a95f1.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/09e4e9409aadc2fe.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/09ec2e3c3d2d294f.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/1bdb5b021c9a4e61.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/1cec4d71237d0c89.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/20337e5244416041.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/20c1169c30c95e0f.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/27f5fab49d8a5395.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/31965ae569bf807f.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/34e2788a0be7ee63.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/3e6042c77fa8e7ac.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/46d959abf8046f0e.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/483effa74d32093a.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/539636bf51e84308.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/559e55a53f22f5d1.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/5623d8a1c99eba62.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/581c7f8a86cc86fb.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/5c05dda6ed4d92bf.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/5eac621951969859.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/6f4c5a75f38f686b.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/6fee5c7b5d483c8a.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/70b3258c508216b5.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/762121739217e5da.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/808075c416a273c9.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/8321c26033c9fc5b.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/87f01c0a5d4010ab.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/89ebb4231102677a.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/909ac8a87c0dd9cb.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/9525dc246b363870.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/957a5dae245bbc84.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/9a52b8ded6a9ee38.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/9eb0474ddf7f6238.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/a6dad97d9634a72d.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/a6dad97d9634a72d.js.map +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/a85d55e8b6841436.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/ad24b3b0881818aa.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/ae52f8e72d4127b1.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/af66c50a65af610b.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/b8b36494d4330f5f.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/b8ca88454bfa8e05.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/b9a047fc90291dbd.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/be28d13ded360528.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/c231010aae14914b.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/c36e148ece9c20ae.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/cb863a7e46548566.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/ce4052f386943efb.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/d5b700b8aafeea3b.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/dc16aeb5aabadbd8.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/de9c5219846f92bb.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/df3c9c7fcf3e0a3d.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/eb22f55ae829d296.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/ec0de430276c8209.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/ed2e02f2db03c1dc.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/f1f8594d5ec7b93e.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/f42ff7863eb4c3ff.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/f678cdcec3cea0de.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/f7a6fed60fb079dd.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/f9eb3f4ff87b8d8d.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/ff1a16fafef87110.js +0 -0
- /package/.next/{static → standalone/.next/static}/chunks/ff49535ba8193dec.js +0 -0
- /package/.next/{static → standalone/.next/static}/media/favicon.0b3bf435.ico +0 -0
- /package/.next/standalone/node_modules/{detect-libc → libsql/node_modules/detect-libc}/lib/detect-libc.js +0 -0
- /package/.next/standalone/node_modules/{detect-libc → libsql/node_modules/detect-libc}/lib/filesystem.js +0 -0
- /package/.next/standalone/node_modules/{detect-libc → libsql/node_modules/detect-libc}/lib/process.js +0 -0
|
@@ -1,499 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
Copyright 2013 Lovell Fuller and others.
|
|
3
|
-
SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
const util = require('node:util');
|
|
7
|
-
const stream = require('node:stream');
|
|
8
|
-
const is = require('./is');
|
|
9
|
-
|
|
10
|
-
require('./sharp');
|
|
11
|
-
|
|
12
|
-
// Use NODE_DEBUG=sharp to enable libvips warnings
|
|
13
|
-
const debuglog = util.debuglog('sharp');
|
|
14
|
-
|
|
15
|
-
const queueListener = (queueLength) => {
|
|
16
|
-
Sharp.queue.emit('change', queueLength);
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Constructor factory to create an instance of `sharp`, to which further methods are chained.
|
|
21
|
-
*
|
|
22
|
-
* JPEG, PNG, WebP, GIF, AVIF or TIFF format image data can be streamed out from this object.
|
|
23
|
-
* When using Stream based output, derived attributes are available from the `info` event.
|
|
24
|
-
*
|
|
25
|
-
* Non-critical problems encountered during processing are emitted as `warning` events.
|
|
26
|
-
*
|
|
27
|
-
* Implements the [stream.Duplex](http://nodejs.org/api/stream.html#stream_class_stream_duplex) class.
|
|
28
|
-
*
|
|
29
|
-
* When loading more than one page/frame of an animated image,
|
|
30
|
-
* these are combined as a vertically-stacked "toilet roll" image
|
|
31
|
-
* where the overall height is the `pageHeight` multiplied by the number of `pages`.
|
|
32
|
-
*
|
|
33
|
-
* @constructs Sharp
|
|
34
|
-
*
|
|
35
|
-
* @emits Sharp#info
|
|
36
|
-
* @emits Sharp#warning
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* sharp('input.jpg')
|
|
40
|
-
* .resize(300, 200)
|
|
41
|
-
* .toFile('output.jpg', function(err) {
|
|
42
|
-
* // output.jpg is a 300 pixels wide and 200 pixels high image
|
|
43
|
-
* // containing a scaled and cropped version of input.jpg
|
|
44
|
-
* });
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* // Read image data from remote URL,
|
|
48
|
-
* // resize to 300 pixels wide,
|
|
49
|
-
* // emit an 'info' event with calculated dimensions
|
|
50
|
-
* // and finally write image data to writableStream
|
|
51
|
-
* const { body } = fetch('https://...');
|
|
52
|
-
* const readableStream = Readable.fromWeb(body);
|
|
53
|
-
* const transformer = sharp()
|
|
54
|
-
* .resize(300)
|
|
55
|
-
* .on('info', ({ height }) => {
|
|
56
|
-
* console.log(`Image height is ${height}`);
|
|
57
|
-
* });
|
|
58
|
-
* readableStream.pipe(transformer).pipe(writableStream);
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* // Create a blank 300x200 PNG image of semi-translucent red pixels
|
|
62
|
-
* sharp({
|
|
63
|
-
* create: {
|
|
64
|
-
* width: 300,
|
|
65
|
-
* height: 200,
|
|
66
|
-
* channels: 4,
|
|
67
|
-
* background: { r: 255, g: 0, b: 0, alpha: 0.5 }
|
|
68
|
-
* }
|
|
69
|
-
* })
|
|
70
|
-
* .png()
|
|
71
|
-
* .toBuffer()
|
|
72
|
-
* .then( ... );
|
|
73
|
-
*
|
|
74
|
-
* @example
|
|
75
|
-
* // Convert an animated GIF to an animated WebP
|
|
76
|
-
* await sharp('in.gif', { animated: true }).toFile('out.webp');
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* // Read a raw array of pixels and save it to a png
|
|
80
|
-
* const input = Uint8Array.from([255, 255, 255, 0, 0, 0]); // or Uint8ClampedArray
|
|
81
|
-
* const image = sharp(input, {
|
|
82
|
-
* // because the input does not contain its dimensions or how many channels it has
|
|
83
|
-
* // we need to specify it in the constructor options
|
|
84
|
-
* raw: {
|
|
85
|
-
* width: 2,
|
|
86
|
-
* height: 1,
|
|
87
|
-
* channels: 3
|
|
88
|
-
* }
|
|
89
|
-
* });
|
|
90
|
-
* await image.toFile('my-two-pixels.png');
|
|
91
|
-
*
|
|
92
|
-
* @example
|
|
93
|
-
* // Generate RGB Gaussian noise
|
|
94
|
-
* await sharp({
|
|
95
|
-
* create: {
|
|
96
|
-
* width: 300,
|
|
97
|
-
* height: 200,
|
|
98
|
-
* channels: 3,
|
|
99
|
-
* noise: {
|
|
100
|
-
* type: 'gaussian',
|
|
101
|
-
* mean: 128,
|
|
102
|
-
* sigma: 30
|
|
103
|
-
* }
|
|
104
|
-
* }
|
|
105
|
-
* }).toFile('noise.png');
|
|
106
|
-
*
|
|
107
|
-
* @example
|
|
108
|
-
* // Generate an image from text
|
|
109
|
-
* await sharp({
|
|
110
|
-
* text: {
|
|
111
|
-
* text: 'Hello, world!',
|
|
112
|
-
* width: 400, // max width
|
|
113
|
-
* height: 300 // max height
|
|
114
|
-
* }
|
|
115
|
-
* }).toFile('text_bw.png');
|
|
116
|
-
*
|
|
117
|
-
* @example
|
|
118
|
-
* // Generate an rgba image from text using pango markup and font
|
|
119
|
-
* await sharp({
|
|
120
|
-
* text: {
|
|
121
|
-
* text: '<span foreground="red">Red!</span><span background="cyan">blue</span>',
|
|
122
|
-
* font: 'sans',
|
|
123
|
-
* rgba: true,
|
|
124
|
-
* dpi: 300
|
|
125
|
-
* }
|
|
126
|
-
* }).toFile('text_rgba.png');
|
|
127
|
-
*
|
|
128
|
-
* @example
|
|
129
|
-
* // Join four input images as a 2x2 grid with a 4 pixel gutter
|
|
130
|
-
* const data = await sharp(
|
|
131
|
-
* [image1, image2, image3, image4],
|
|
132
|
-
* { join: { across: 2, shim: 4 } }
|
|
133
|
-
* ).toBuffer();
|
|
134
|
-
*
|
|
135
|
-
* @example
|
|
136
|
-
* // Generate a two-frame animated image from emoji
|
|
137
|
-
* const images = ['😀', '😛'].map(text => ({
|
|
138
|
-
* text: { text, width: 64, height: 64, channels: 4, rgba: true }
|
|
139
|
-
* }));
|
|
140
|
-
* await sharp(images, { join: { animated: true } }).toFile('out.gif');
|
|
141
|
-
*
|
|
142
|
-
* @param {(Buffer|ArrayBuffer|Uint8Array|Uint8ClampedArray|Int8Array|Uint16Array|Int16Array|Uint32Array|Int32Array|Float32Array|Float64Array|string|Array)} [input] - if present, can be
|
|
143
|
-
* a Buffer / ArrayBuffer / Uint8Array / Uint8ClampedArray containing JPEG, PNG, WebP, AVIF, GIF, SVG or TIFF image data, or
|
|
144
|
-
* a TypedArray containing raw pixel image data, or
|
|
145
|
-
* a String containing the filesystem path to an JPEG, PNG, WebP, AVIF, GIF, SVG or TIFF image file.
|
|
146
|
-
* An array of inputs can be provided, and these will be joined together.
|
|
147
|
-
* JPEG, PNG, WebP, AVIF, GIF, SVG, TIFF or raw pixel image data can be streamed into the object when not present.
|
|
148
|
-
* @param {Object} [options] - if present, is an Object with optional attributes.
|
|
149
|
-
* @param {string} [options.failOn='warning'] - When to abort processing of invalid pixel data, one of (in order of sensitivity, least to most): 'none', 'truncated', 'error', 'warning'. Higher levels imply lower levels. Invalid metadata will always abort.
|
|
150
|
-
* @param {number|boolean} [options.limitInputPixels=268402689] - Do not process input images where the number of pixels
|
|
151
|
-
* (width x height) exceeds this limit. Assumes image dimensions contained in the input metadata can be trusted.
|
|
152
|
-
* An integral Number of pixels, zero or false to remove limit, true to use default limit of 268402689 (0x3FFF x 0x3FFF).
|
|
153
|
-
* @param {boolean} [options.unlimited=false] - Set this to `true` to remove safety features that help prevent memory exhaustion (JPEG, PNG, SVG, HEIF).
|
|
154
|
-
* @param {boolean} [options.autoOrient=false] - Set this to `true` to rotate/flip the image to match EXIF `Orientation`, if any.
|
|
155
|
-
* @param {boolean} [options.sequentialRead=true] - Set this to `false` to use random access rather than sequential read. Some operations will do this automatically.
|
|
156
|
-
* @param {number} [options.density=72] - number representing the DPI for vector images in the range 1 to 100000.
|
|
157
|
-
* @param {number} [options.ignoreIcc=false] - should the embedded ICC profile, if any, be ignored.
|
|
158
|
-
* @param {number} [options.pages=1] - Number of pages to extract for multi-page input (GIF, WebP, TIFF), use -1 for all pages.
|
|
159
|
-
* @param {number} [options.page=0] - Page number to start extracting from for multi-page input (GIF, WebP, TIFF), zero based.
|
|
160
|
-
* @param {boolean} [options.animated=false] - Set to `true` to read all frames/pages of an animated image (GIF, WebP, TIFF), equivalent of setting `pages` to `-1`.
|
|
161
|
-
* @param {Object} [options.raw] - describes raw pixel input image data. See `raw()` for pixel ordering.
|
|
162
|
-
* @param {number} [options.raw.width] - integral number of pixels wide.
|
|
163
|
-
* @param {number} [options.raw.height] - integral number of pixels high.
|
|
164
|
-
* @param {number} [options.raw.channels] - integral number of channels, between 1 and 4.
|
|
165
|
-
* @param {boolean} [options.raw.premultiplied] - specifies that the raw input has already been premultiplied, set to `true`
|
|
166
|
-
* to avoid sharp premultiplying the image. (optional, default `false`)
|
|
167
|
-
* @param {number} [options.raw.pageHeight] - The pixel height of each page/frame for animated images, must be an integral factor of `raw.height`.
|
|
168
|
-
* @param {Object} [options.create] - describes a new image to be created.
|
|
169
|
-
* @param {number} [options.create.width] - integral number of pixels wide.
|
|
170
|
-
* @param {number} [options.create.height] - integral number of pixels high.
|
|
171
|
-
* @param {number} [options.create.channels] - integral number of channels, either 3 (RGB) or 4 (RGBA).
|
|
172
|
-
* @param {string|Object} [options.create.background] - parsed by the [color](https://www.npmjs.org/package/color) module to extract values for red, green, blue and alpha.
|
|
173
|
-
* @param {number} [options.create.pageHeight] - The pixel height of each page/frame for animated images, must be an integral factor of `create.height`.
|
|
174
|
-
* @param {Object} [options.create.noise] - describes a noise to be created.
|
|
175
|
-
* @param {string} [options.create.noise.type] - type of generated noise, currently only `gaussian` is supported.
|
|
176
|
-
* @param {number} [options.create.noise.mean=128] - Mean value of pixels in the generated noise.
|
|
177
|
-
* @param {number} [options.create.noise.sigma=30] - Standard deviation of pixel values in the generated noise.
|
|
178
|
-
* @param {Object} [options.text] - describes a new text image to be created.
|
|
179
|
-
* @param {string} [options.text.text] - text to render as a UTF-8 string. It can contain Pango markup, for example `<i>Le</i>Monde`.
|
|
180
|
-
* @param {string} [options.text.font] - font name to render with.
|
|
181
|
-
* @param {string} [options.text.fontfile] - absolute filesystem path to a font file that can be used by `font`.
|
|
182
|
-
* @param {number} [options.text.width=0] - Integral number of pixels to word-wrap at. Lines of text wider than this will be broken at word boundaries.
|
|
183
|
-
* @param {number} [options.text.height=0] - Maximum integral number of pixels high. When defined, `dpi` will be ignored and the text will automatically fit the pixel resolution defined by `width` and `height`. Will be ignored if `width` is not specified or set to 0.
|
|
184
|
-
* @param {string} [options.text.align='left'] - Alignment style for multi-line text (`'left'`, `'centre'`, `'center'`, `'right'`).
|
|
185
|
-
* @param {boolean} [options.text.justify=false] - set this to true to apply justification to the text.
|
|
186
|
-
* @param {number} [options.text.dpi=72] - the resolution (size) at which to render the text. Does not take effect if `height` is specified.
|
|
187
|
-
* @param {boolean} [options.text.rgba=false] - set this to true to enable RGBA output. This is useful for colour emoji rendering, or support for pango markup features like `<span foreground="red">Red!</span>`.
|
|
188
|
-
* @param {number} [options.text.spacing=0] - text line height in points. Will use the font line height if none is specified.
|
|
189
|
-
* @param {string} [options.text.wrap='word'] - word wrapping style when width is provided, one of: 'word', 'char', 'word-char' (prefer word, fallback to char) or 'none'.
|
|
190
|
-
* @param {Object} [options.join] - describes how an array of input images should be joined.
|
|
191
|
-
* @param {number} [options.join.across=1] - number of images to join horizontally.
|
|
192
|
-
* @param {boolean} [options.join.animated=false] - set this to `true` to join the images as an animated image.
|
|
193
|
-
* @param {number} [options.join.shim=0] - number of pixels to insert between joined images.
|
|
194
|
-
* @param {string|Object} [options.join.background] - parsed by the [color](https://www.npmjs.org/package/color) module to extract values for red, green, blue and alpha.
|
|
195
|
-
* @param {string} [options.join.halign='left'] - horizontal alignment style for images joined horizontally (`'left'`, `'centre'`, `'center'`, `'right'`).
|
|
196
|
-
* @param {string} [options.join.valign='top'] - vertical alignment style for images joined vertically (`'top'`, `'centre'`, `'center'`, `'bottom'`).
|
|
197
|
-
* @param {Object} [options.tiff] - Describes TIFF specific options.
|
|
198
|
-
* @param {number} [options.tiff.subifd=-1] - Sub Image File Directory to extract for OME-TIFF, defaults to main image.
|
|
199
|
-
* @param {Object} [options.svg] - Describes SVG specific options.
|
|
200
|
-
* @param {string} [options.svg.stylesheet] - Custom CSS for SVG input, applied with a User Origin during the CSS cascade.
|
|
201
|
-
* @param {boolean} [options.svg.highBitdepth=false] - Set to `true` to render SVG input at 32-bits per channel (128-bit) instead of 8-bits per channel (32-bit) RGBA.
|
|
202
|
-
* @param {Object} [options.pdf] - Describes PDF specific options. Requires the use of a globally-installed libvips compiled with support for PDFium, Poppler, ImageMagick or GraphicsMagick.
|
|
203
|
-
* @param {string|Object} [options.pdf.background] - Background colour to use when PDF is partially transparent. Parsed by the [color](https://www.npmjs.org/package/color) module to extract values for red, green, blue and alpha.
|
|
204
|
-
* @param {Object} [options.openSlide] - Describes OpenSlide specific options. Requires the use of a globally-installed libvips compiled with support for OpenSlide.
|
|
205
|
-
* @param {number} [options.openSlide.level=0] - Level to extract from a multi-level input, zero based.
|
|
206
|
-
* @param {Object} [options.jp2] - Describes JPEG 2000 specific options. Requires the use of a globally-installed libvips compiled with support for OpenJPEG.
|
|
207
|
-
* @param {boolean} [options.jp2.oneshot=false] - Set to `true` to decode tiled JPEG 2000 images in a single operation, improving compatibility.
|
|
208
|
-
* @returns {Sharp}
|
|
209
|
-
* @throws {Error} Invalid parameters
|
|
210
|
-
*/
|
|
211
|
-
const Sharp = function (input, options) {
|
|
212
|
-
// biome-ignore lint/complexity/noArguments: constructor factory
|
|
213
|
-
if (arguments.length === 1 && !is.defined(input)) {
|
|
214
|
-
throw new Error('Invalid input');
|
|
215
|
-
}
|
|
216
|
-
if (!(this instanceof Sharp)) {
|
|
217
|
-
return new Sharp(input, options);
|
|
218
|
-
}
|
|
219
|
-
stream.Duplex.call(this);
|
|
220
|
-
this.options = {
|
|
221
|
-
// resize options
|
|
222
|
-
topOffsetPre: -1,
|
|
223
|
-
leftOffsetPre: -1,
|
|
224
|
-
widthPre: -1,
|
|
225
|
-
heightPre: -1,
|
|
226
|
-
topOffsetPost: -1,
|
|
227
|
-
leftOffsetPost: -1,
|
|
228
|
-
widthPost: -1,
|
|
229
|
-
heightPost: -1,
|
|
230
|
-
width: -1,
|
|
231
|
-
height: -1,
|
|
232
|
-
canvas: 'crop',
|
|
233
|
-
position: 0,
|
|
234
|
-
resizeBackground: [0, 0, 0, 255],
|
|
235
|
-
angle: 0,
|
|
236
|
-
rotationAngle: 0,
|
|
237
|
-
rotationBackground: [0, 0, 0, 255],
|
|
238
|
-
rotateBefore: false,
|
|
239
|
-
orientBefore: false,
|
|
240
|
-
flip: false,
|
|
241
|
-
flop: false,
|
|
242
|
-
extendTop: 0,
|
|
243
|
-
extendBottom: 0,
|
|
244
|
-
extendLeft: 0,
|
|
245
|
-
extendRight: 0,
|
|
246
|
-
extendBackground: [0, 0, 0, 255],
|
|
247
|
-
extendWith: 'background',
|
|
248
|
-
withoutEnlargement: false,
|
|
249
|
-
withoutReduction: false,
|
|
250
|
-
affineMatrix: [],
|
|
251
|
-
affineBackground: [0, 0, 0, 255],
|
|
252
|
-
affineIdx: 0,
|
|
253
|
-
affineIdy: 0,
|
|
254
|
-
affineOdx: 0,
|
|
255
|
-
affineOdy: 0,
|
|
256
|
-
affineInterpolator: this.constructor.interpolators.bilinear,
|
|
257
|
-
kernel: 'lanczos3',
|
|
258
|
-
fastShrinkOnLoad: true,
|
|
259
|
-
// operations
|
|
260
|
-
tint: [-1, 0, 0, 0],
|
|
261
|
-
flatten: false,
|
|
262
|
-
flattenBackground: [0, 0, 0],
|
|
263
|
-
unflatten: false,
|
|
264
|
-
negate: false,
|
|
265
|
-
negateAlpha: true,
|
|
266
|
-
medianSize: 0,
|
|
267
|
-
blurSigma: 0,
|
|
268
|
-
precision: 'integer',
|
|
269
|
-
minAmpl: 0.2,
|
|
270
|
-
sharpenSigma: 0,
|
|
271
|
-
sharpenM1: 1,
|
|
272
|
-
sharpenM2: 2,
|
|
273
|
-
sharpenX1: 2,
|
|
274
|
-
sharpenY2: 10,
|
|
275
|
-
sharpenY3: 20,
|
|
276
|
-
threshold: 0,
|
|
277
|
-
thresholdGrayscale: true,
|
|
278
|
-
trimBackground: [],
|
|
279
|
-
trimThreshold: -1,
|
|
280
|
-
trimLineArt: false,
|
|
281
|
-
dilateWidth: 0,
|
|
282
|
-
erodeWidth: 0,
|
|
283
|
-
gamma: 0,
|
|
284
|
-
gammaOut: 0,
|
|
285
|
-
greyscale: false,
|
|
286
|
-
normalise: false,
|
|
287
|
-
normaliseLower: 1,
|
|
288
|
-
normaliseUpper: 99,
|
|
289
|
-
claheWidth: 0,
|
|
290
|
-
claheHeight: 0,
|
|
291
|
-
claheMaxSlope: 3,
|
|
292
|
-
brightness: 1,
|
|
293
|
-
saturation: 1,
|
|
294
|
-
hue: 0,
|
|
295
|
-
lightness: 0,
|
|
296
|
-
booleanBufferIn: null,
|
|
297
|
-
booleanFileIn: '',
|
|
298
|
-
joinChannelIn: [],
|
|
299
|
-
extractChannel: -1,
|
|
300
|
-
removeAlpha: false,
|
|
301
|
-
ensureAlpha: -1,
|
|
302
|
-
colourspace: 'srgb',
|
|
303
|
-
colourspacePipeline: 'last',
|
|
304
|
-
composite: [],
|
|
305
|
-
// output
|
|
306
|
-
fileOut: '',
|
|
307
|
-
formatOut: 'input',
|
|
308
|
-
streamOut: false,
|
|
309
|
-
keepMetadata: 0,
|
|
310
|
-
withMetadataOrientation: -1,
|
|
311
|
-
withMetadataDensity: 0,
|
|
312
|
-
withIccProfile: '',
|
|
313
|
-
withExif: {},
|
|
314
|
-
withExifMerge: true,
|
|
315
|
-
withXmp: '',
|
|
316
|
-
resolveWithObject: false,
|
|
317
|
-
loop: -1,
|
|
318
|
-
delay: [],
|
|
319
|
-
// output format
|
|
320
|
-
jpegQuality: 80,
|
|
321
|
-
jpegProgressive: false,
|
|
322
|
-
jpegChromaSubsampling: '4:2:0',
|
|
323
|
-
jpegTrellisQuantisation: false,
|
|
324
|
-
jpegOvershootDeringing: false,
|
|
325
|
-
jpegOptimiseScans: false,
|
|
326
|
-
jpegOptimiseCoding: true,
|
|
327
|
-
jpegQuantisationTable: 0,
|
|
328
|
-
pngProgressive: false,
|
|
329
|
-
pngCompressionLevel: 6,
|
|
330
|
-
pngAdaptiveFiltering: false,
|
|
331
|
-
pngPalette: false,
|
|
332
|
-
pngQuality: 100,
|
|
333
|
-
pngEffort: 7,
|
|
334
|
-
pngBitdepth: 8,
|
|
335
|
-
pngDither: 1,
|
|
336
|
-
jp2Quality: 80,
|
|
337
|
-
jp2TileHeight: 512,
|
|
338
|
-
jp2TileWidth: 512,
|
|
339
|
-
jp2Lossless: false,
|
|
340
|
-
jp2ChromaSubsampling: '4:4:4',
|
|
341
|
-
webpQuality: 80,
|
|
342
|
-
webpAlphaQuality: 100,
|
|
343
|
-
webpLossless: false,
|
|
344
|
-
webpNearLossless: false,
|
|
345
|
-
webpSmartSubsample: false,
|
|
346
|
-
webpSmartDeblock: false,
|
|
347
|
-
webpPreset: 'default',
|
|
348
|
-
webpEffort: 4,
|
|
349
|
-
webpMinSize: false,
|
|
350
|
-
webpMixed: false,
|
|
351
|
-
gifBitdepth: 8,
|
|
352
|
-
gifEffort: 7,
|
|
353
|
-
gifDither: 1,
|
|
354
|
-
gifInterFrameMaxError: 0,
|
|
355
|
-
gifInterPaletteMaxError: 3,
|
|
356
|
-
gifKeepDuplicateFrames: false,
|
|
357
|
-
gifReuse: true,
|
|
358
|
-
gifProgressive: false,
|
|
359
|
-
tiffQuality: 80,
|
|
360
|
-
tiffCompression: 'jpeg',
|
|
361
|
-
tiffBigtiff: false,
|
|
362
|
-
tiffPredictor: 'horizontal',
|
|
363
|
-
tiffPyramid: false,
|
|
364
|
-
tiffMiniswhite: false,
|
|
365
|
-
tiffBitdepth: 8,
|
|
366
|
-
tiffTile: false,
|
|
367
|
-
tiffTileHeight: 256,
|
|
368
|
-
tiffTileWidth: 256,
|
|
369
|
-
tiffXres: 1.0,
|
|
370
|
-
tiffYres: 1.0,
|
|
371
|
-
tiffResolutionUnit: 'inch',
|
|
372
|
-
heifQuality: 50,
|
|
373
|
-
heifLossless: false,
|
|
374
|
-
heifCompression: 'av1',
|
|
375
|
-
heifEffort: 4,
|
|
376
|
-
heifChromaSubsampling: '4:4:4',
|
|
377
|
-
heifBitdepth: 8,
|
|
378
|
-
jxlDistance: 1,
|
|
379
|
-
jxlDecodingTier: 0,
|
|
380
|
-
jxlEffort: 7,
|
|
381
|
-
jxlLossless: false,
|
|
382
|
-
rawDepth: 'uchar',
|
|
383
|
-
tileSize: 256,
|
|
384
|
-
tileOverlap: 0,
|
|
385
|
-
tileContainer: 'fs',
|
|
386
|
-
tileLayout: 'dz',
|
|
387
|
-
tileFormat: 'last',
|
|
388
|
-
tileDepth: 'last',
|
|
389
|
-
tileAngle: 0,
|
|
390
|
-
tileSkipBlanks: -1,
|
|
391
|
-
tileBackground: [255, 255, 255, 255],
|
|
392
|
-
tileCentre: false,
|
|
393
|
-
tileId: 'https://example.com/iiif',
|
|
394
|
-
tileBasename: '',
|
|
395
|
-
timeoutSeconds: 0,
|
|
396
|
-
linearA: [],
|
|
397
|
-
linearB: [],
|
|
398
|
-
pdfBackground: [255, 255, 255, 255],
|
|
399
|
-
// Function to notify of libvips warnings
|
|
400
|
-
debuglog: warning => {
|
|
401
|
-
this.emit('warning', warning);
|
|
402
|
-
debuglog(warning);
|
|
403
|
-
},
|
|
404
|
-
// Function to notify of queue length changes
|
|
405
|
-
queueListener
|
|
406
|
-
};
|
|
407
|
-
this.options.input = this._createInputDescriptor(input, options, { allowStream: true });
|
|
408
|
-
return this;
|
|
409
|
-
};
|
|
410
|
-
Object.setPrototypeOf(Sharp.prototype, stream.Duplex.prototype);
|
|
411
|
-
Object.setPrototypeOf(Sharp, stream.Duplex);
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* Take a "snapshot" of the Sharp instance, returning a new instance.
|
|
415
|
-
* Cloned instances inherit the input of their parent instance.
|
|
416
|
-
* This allows multiple output Streams and therefore multiple processing pipelines to share a single input Stream.
|
|
417
|
-
*
|
|
418
|
-
* @example
|
|
419
|
-
* const pipeline = sharp().rotate();
|
|
420
|
-
* pipeline.clone().resize(800, 600).pipe(firstWritableStream);
|
|
421
|
-
* pipeline.clone().extract({ left: 20, top: 20, width: 100, height: 100 }).pipe(secondWritableStream);
|
|
422
|
-
* readableStream.pipe(pipeline);
|
|
423
|
-
* // firstWritableStream receives auto-rotated, resized readableStream
|
|
424
|
-
* // secondWritableStream receives auto-rotated, extracted region of readableStream
|
|
425
|
-
*
|
|
426
|
-
* @example
|
|
427
|
-
* // Create a pipeline that will download an image, resize it and format it to different files
|
|
428
|
-
* // Using Promises to know when the pipeline is complete
|
|
429
|
-
* const fs = require("fs");
|
|
430
|
-
* const got = require("got");
|
|
431
|
-
* const sharpStream = sharp({ failOn: 'none' });
|
|
432
|
-
*
|
|
433
|
-
* const promises = [];
|
|
434
|
-
*
|
|
435
|
-
* promises.push(
|
|
436
|
-
* sharpStream
|
|
437
|
-
* .clone()
|
|
438
|
-
* .jpeg({ quality: 100 })
|
|
439
|
-
* .toFile("originalFile.jpg")
|
|
440
|
-
* );
|
|
441
|
-
*
|
|
442
|
-
* promises.push(
|
|
443
|
-
* sharpStream
|
|
444
|
-
* .clone()
|
|
445
|
-
* .resize({ width: 500 })
|
|
446
|
-
* .jpeg({ quality: 80 })
|
|
447
|
-
* .toFile("optimized-500.jpg")
|
|
448
|
-
* );
|
|
449
|
-
*
|
|
450
|
-
* promises.push(
|
|
451
|
-
* sharpStream
|
|
452
|
-
* .clone()
|
|
453
|
-
* .resize({ width: 500 })
|
|
454
|
-
* .webp({ quality: 80 })
|
|
455
|
-
* .toFile("optimized-500.webp")
|
|
456
|
-
* );
|
|
457
|
-
*
|
|
458
|
-
* // https://github.com/sindresorhus/got/blob/main/documentation/3-streams.md
|
|
459
|
-
* got.stream("https://www.example.com/some-file.jpg").pipe(sharpStream);
|
|
460
|
-
*
|
|
461
|
-
* Promise.all(promises)
|
|
462
|
-
* .then(res => { console.log("Done!", res); })
|
|
463
|
-
* .catch(err => {
|
|
464
|
-
* console.error("Error processing files, let's clean it up", err);
|
|
465
|
-
* try {
|
|
466
|
-
* fs.unlinkSync("originalFile.jpg");
|
|
467
|
-
* fs.unlinkSync("optimized-500.jpg");
|
|
468
|
-
* fs.unlinkSync("optimized-500.webp");
|
|
469
|
-
* } catch (e) {}
|
|
470
|
-
* });
|
|
471
|
-
*
|
|
472
|
-
* @returns {Sharp}
|
|
473
|
-
*/
|
|
474
|
-
function clone () {
|
|
475
|
-
// Clone existing options
|
|
476
|
-
const clone = this.constructor.call();
|
|
477
|
-
const { debuglog, queueListener, ...options } = this.options;
|
|
478
|
-
clone.options = structuredClone(options);
|
|
479
|
-
clone.options.debuglog = debuglog;
|
|
480
|
-
clone.options.queueListener = queueListener;
|
|
481
|
-
// Pass 'finish' event to clone for Stream-based input
|
|
482
|
-
if (this._isStreamInput()) {
|
|
483
|
-
this.on('finish', () => {
|
|
484
|
-
// Clone inherits input data
|
|
485
|
-
this._flattenBufferIn();
|
|
486
|
-
clone.options.input.buffer = this.options.input.buffer;
|
|
487
|
-
clone.emit('finish');
|
|
488
|
-
});
|
|
489
|
-
}
|
|
490
|
-
return clone;
|
|
491
|
-
}
|
|
492
|
-
Object.assign(Sharp.prototype, { clone });
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* Export constructor.
|
|
496
|
-
* @module Sharp
|
|
497
|
-
* @private
|
|
498
|
-
*/
|
|
499
|
-
module.exports = Sharp;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
Copyright 2013 Lovell Fuller and others.
|
|
3
|
-
SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
const Sharp = require('./constructor');
|
|
7
|
-
require('./input')(Sharp);
|
|
8
|
-
require('./resize')(Sharp);
|
|
9
|
-
require('./composite')(Sharp);
|
|
10
|
-
require('./operation')(Sharp);
|
|
11
|
-
require('./colour')(Sharp);
|
|
12
|
-
require('./channel')(Sharp);
|
|
13
|
-
require('./output')(Sharp);
|
|
14
|
-
require('./utility')(Sharp);
|
|
15
|
-
|
|
16
|
-
module.exports = Sharp;
|