@tackup/cli 0.0.0 → 0.1.0

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 (83) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -1
  3. package/dist/builtins/extensions/docs/guides/day-two.md +3 -0
  4. package/dist/builtins/extensions/docs/guides/onboarding-2.md +3 -0
  5. package/dist/builtins/extensions/docs/guides/onboarding-3.md +3 -0
  6. package/dist/builtins/extensions/docs/skills/use-tack-docs/SKILL.md +67 -0
  7. package/dist/builtins/extensions/docs/skills/use-tack-docs/references/declare-docs.md +71 -0
  8. package/dist/builtins/extensions/docs/skills/use-tack-docs/references/docs-in-profiles.md +25 -0
  9. package/dist/builtins/extensions/docs/skills/use-tack-docs/references/docs-maintenance.md +35 -0
  10. package/dist/builtins/extensions/docs/skills/use-tack-docs/references/review.md +34 -0
  11. package/dist/builtins/extensions/docs/skills/write-reader-figures/SKILL.md +66 -0
  12. package/dist/builtins/extensions/docs/skills/write-reader-figures/references/figure-components.md +20 -0
  13. package/dist/builtins/extensions/docs/skills/write-reader-figures/references/figures/architecture-map.md +86 -0
  14. package/dist/builtins/extensions/docs/skills/write-reader-figures/references/figures/chart.md +52 -0
  15. package/dist/builtins/extensions/docs/skills/write-reader-figures/references/figures/figure.md +79 -0
  16. package/dist/builtins/extensions/docs/skills/write-reader-figures/references/figures/file-tree.md +74 -0
  17. package/dist/builtins/extensions/docs/skills/write-reader-figures/references/figures/schema.md +116 -0
  18. package/dist/builtins/extensions/docs/skills/write-reader-figures/references/figures/system.md +81 -0
  19. package/dist/builtins/extensions/docs/skills/write-reader-figures/references/figures/walkthrough.md +45 -0
  20. package/dist/builtins/extensions/docs/skills/write-reader-figures/references/page-components.md +82 -0
  21. package/dist/builtins/extensions/docs/skills/write-reader-figures/references/rules.md +27 -0
  22. package/dist/builtins/extensions/docs/tack.yaml +10 -0
  23. package/dist/builtins/extensions/scripts/guides/day-two.md +3 -0
  24. package/dist/builtins/extensions/scripts/guides/onboarding-2.md +3 -0
  25. package/dist/builtins/extensions/scripts/skills/author-tack-scripts/SKILL.md +48 -0
  26. package/dist/builtins/extensions/scripts/skills/author-tack-scripts/references/run-scripts.md +23 -0
  27. package/dist/builtins/extensions/scripts/skills/author-tack-scripts/references/script-api.md +76 -0
  28. package/dist/builtins/extensions/scripts/skills/author-tack-scripts/references/scripts-in-profiles.md +35 -0
  29. package/dist/builtins/extensions/scripts/skills/author-tack-scripts/references/scripts-in-sources.md +56 -0
  30. package/dist/builtins/extensions/scripts/tack.yaml +10 -0
  31. package/dist/builtins/skills/author-tack-profiles/SKILL.md +68 -0
  32. package/dist/builtins/skills/author-tack-profiles/references/apply.md +33 -0
  33. package/dist/builtins/skills/author-tack-profiles/references/bundles.md +59 -0
  34. package/dist/builtins/skills/author-tack-profiles/references/copy-workflows.md +46 -0
  35. package/dist/builtins/skills/manage-tack-sources/SKILL.md +75 -0
  36. package/dist/builtins/skills/manage-tack-sources/references/catalog-issues.md +38 -0
  37. package/dist/builtins/skills/manage-tack-sources/references/metadata.md +35 -0
  38. package/dist/builtins/skills/manage-tack-sources/references/tack-yaml.md +114 -0
  39. package/dist/builtins/skills/manage-tack-sources/references/worked-source.md +126 -0
  40. package/dist/builtins/skills/prepare-tack-checkout/SKILL.md +52 -0
  41. package/dist/builtins/skills/use-tack/SKILL.md +65 -0
  42. package/dist/builtins/skills/use-tack/references/agent-instructions.md +38 -0
  43. package/dist/builtins/skills/use-tack/references/day-two.md +35 -0
  44. package/dist/builtins/skills/use-tack/references/explore.md +13 -0
  45. package/dist/builtins/skills/use-tack/references/imports.md +30 -0
  46. package/dist/builtins/skills/use-tack/references/maintenance.md +51 -0
  47. package/dist/builtins/skills/use-tack/references/onboarding-2.md +41 -0
  48. package/dist/builtins/skills/use-tack/references/onboarding-3.md +29 -0
  49. package/dist/builtins/skills/use-tack/references/onboarding.md +54 -0
  50. package/dist/builtins/skills/use-tack/references/output.md +15 -0
  51. package/dist/builtins/skills/use-tack/references/selection.md +61 -0
  52. package/dist/builtins/skills/use-tack/references/setup.md +69 -0
  53. package/dist/builtins/tack.yaml +10 -0
  54. package/dist/bundle-support-ZGTM5CTZ.js +16 -0
  55. package/dist/chunk-CFUDY2NO.js +1791 -0
  56. package/dist/chunk-CRQMJGMU.js +225 -0
  57. package/dist/chunk-DCX5T7CG.js +281 -0
  58. package/dist/chunk-EZ5C7B2M.js +28 -0
  59. package/dist/chunk-H4AG4WIV.js +52 -0
  60. package/dist/chunk-I5RMMV2Y.js +18013 -0
  61. package/dist/chunk-JL3E32X5.js +92 -0
  62. package/dist/chunk-MR5PTCYF.js +26 -0
  63. package/dist/chunk-PHQL7OBB.js +162 -0
  64. package/dist/chunk-QQBCYPJZ.js +5733 -0
  65. package/dist/chunk-T6JAU547.js +12401 -0
  66. package/dist/chunk-W7GHLGII.js +16 -0
  67. package/dist/chunk-XARHV5M4.js +56 -0
  68. package/dist/chunk-XZH2XPII.js +1017 -0
  69. package/dist/chunk-ZT6BO7LG.js +36671 -0
  70. package/dist/corpus-effects-YWG5VVHJ.js +12069 -0
  71. package/dist/elk.bundled-EVXDSFFG.js +94125 -0
  72. package/dist/main-JHULX3QY.js +65517 -0
  73. package/dist/main.js +17 -0
  74. package/dist/reader/visuals.tsx +368 -0
  75. package/dist/script.d.ts +133 -0
  76. package/dist/script.js +90 -0
  77. package/dist/server-XF7NSYRQ.js +308 -0
  78. package/dist/src-DZKPD6VY.js +1871 -0
  79. package/dist/src-TC3RTKIS.js +1126 -0
  80. package/dist/tack-env.d.ts +137 -0
  81. package/dist/third-party-licenses.txt +2467 -0
  82. package/dist/worker-ZFY6P7X5.js +24246 -0
  83. package/package.json +29 -3
@@ -0,0 +1,92 @@
1
+ import { createRequire as tackCreateRequire } from "node:module"; const require = tackCreateRequire(import.meta.url);
2
+ import {
3
+ init_define_TACK_BUILD_INFO
4
+ } from "./chunk-XARHV5M4.js";
5
+
6
+ // packages/reader/src/icons/catalog.generated.ts
7
+ init_define_TACK_BUILD_INFO();
8
+ var lucideVersion = "1.59.0";
9
+ var docsIconCategories = [
10
+ { category: "Status and feedback", names: ["check", "circle-check", "circle-x", "circle-alert", "circle-question-mark", "circle-dot", "triangle-alert", "octagon-alert", "info", "badge-check", "badge-alert", "ban", "shield-check", "shield-alert", "bell", "bell-off", "thumbs-up", "thumbs-down", "flag", "bug", "sparkles", "loader", "hourglass", "circle-pause", "circle-play", "circle-stop"] },
11
+ { category: "Actions", names: ["plus", "minus", "x", "pencil", "trash", "copy", "clipboard", "save", "download", "upload", "refresh-cw", "rotate-ccw", "undo-2", "redo-2", "search", "funnel", "settings", "sliders-horizontal", "share-2", "send", "link", "unlink", "external-link", "log-in", "log-out", "power", "play", "pause", "wand-sparkles"] },
12
+ { category: "Arrows and navigation", names: ["arrow-right", "arrow-left", "arrow-up", "arrow-down", "arrow-up-right", "arrow-down-right", "arrow-right-left", "arrow-up-down", "chevron-right", "chevron-left", "chevron-up", "chevron-down", "chevrons-right", "move-right", "corner-down-right", "repeat", "shuffle", "merge", "split", "route", "signpost", "navigation", "compass", "map", "map-pin"] },
13
+ { category: "Files and folders", names: ["file", "file-text", "file-code", "file-braces", "file-plus", "file-minus", "file-check", "file-x", "file-search", "file-archive", "files", "folder", "folder-open", "folder-tree", "folder-plus", "folder-git-2", "archive", "paperclip", "book", "book-open", "notebook", "scroll", "sticky-note", "library"] },
14
+ { category: "Code and development", names: ["code", "code-xml", "terminal", "square-terminal", "braces", "brackets", "variable", "square-function", "regex", "git-branch", "git-commit-horizontal", "git-merge", "git-pull-request", "git-fork", "git-compare", "package", "package-check", "boxes", "blocks", "puzzle", "bot", "cpu", "binary", "hash", "at-sign"] },
15
+ { category: "Data and charts", names: ["database", "database-zap", "hard-drive", "server", "server-cog", "table", "table-2", "sheet", "chart-bar", "chart-line", "chart-pie", "chart-column", "chart-area", "chart-scatter", "chart-network", "chart-no-axes-gantt", "trending-up", "trending-down", "gauge", "activity", "sigma", "layers", "layers-2", "list", "list-ordered", "list-checks", "list-tree"] },
16
+ { category: "Infrastructure and network", names: ["cloud", "cloud-upload", "cloud-download", "cloud-off", "globe", "network", "wifi", "wifi-off", "radio-tower", "router", "plug", "plug-zap", "cable", "container", "workflow", "webhook", "rss", "satellite", "earth"] },
17
+ { category: "Security and access", names: ["lock", "lock-open", "key", "key-round", "shield", "shield-off", "user-lock", "fingerprint-pattern", "scan-eye", "eye", "eye-off"] },
18
+ { category: "People and communication", names: ["user", "users", "user-plus", "user-check", "user-x", "user-round", "contact", "message-square", "message-circle", "messages-square", "mail", "inbox", "phone", "video", "megaphone", "handshake", "hand", "heart", "face-slightly-smiling"] },
19
+ { category: "Time and planning", names: ["calendar", "calendar-days", "calendar-check", "calendar-clock", "clock", "clock-alert", "timer", "alarm-clock", "rotate-ccw-clock", "milestone", "goal", "target", "list-todo", "kanban", "square-kanban"] },
20
+ { category: "Layout and text", names: ["layout-dashboard", "layout-grid", "layout-list", "layout-panel-left", "panel-left", "panel-right", "columns-2", "rows-2", "grid-3x3", "table-of-contents", "type", "heading", "quote", "pilcrow", "text-align-start", "text-wrap", "image", "images", "text-cursor"] },
21
+ { category: "Devices and media", names: ["monitor", "laptop", "smartphone", "tablet", "keyboard", "mouse", "printer", "camera", "mic", "headphones", "speaker", "tv", "watch", "battery"] },
22
+ { category: "Objects and places", names: ["house", "building", "factory", "store", "warehouse", "truck", "plane", "car", "rocket", "lightbulb", "wrench", "hammer", "cog", "gift", "tag", "tags", "bookmark", "star", "award", "trophy", "crown", "gem", "coins", "wallet", "credit-card", "receipt", "shopping-cart", "briefcase", "graduation-cap", "flask-conical", "microscope", "leaf", "flame", "zap", "sun", "moon"] }
23
+ ];
24
+ var docsIconAliases = { "check-circle-2": "circle-check", "x-circle": "circle-x", "alert-circle": "circle-alert", "help-circle": "circle-question-mark", "circle-help": "circle-question-mark", "alert-triangle": "triangle-alert", "alert-octagon": "octagon-alert", "verified": "badge-check", "stars": "sparkles", "pause-circle": "circle-pause", "play-circle": "circle-play", "stop-circle": "circle-stop", "trash-2": "trash", "filter": "funnel", "wand-2": "wand-sparkles", "file-json": "file-braces", "code-2": "code-xml", "terminal-square": "square-terminal", "curly-braces": "braces", "function-square": "square-function", "git-commit": "git-commit-horizontal", "bar-chart-horizontal": "chart-bar", "line-chart": "chart-line", "pie-chart": "chart-pie", "bar-chart-3": "chart-column", "area-chart": "chart-area", "scatter-chart": "chart-scatter", "gantt-chart": "chart-no-axes-gantt", "layers-3": "layers", "upload-cloud": "cloud-upload", "download-cloud": "cloud-download", "plug-zap-2": "plug-zap", "globe-2": "earth", "unlock": "lock-open", "fingerprint": "fingerprint-pattern", "user-2": "user-round", "smile": "face-slightly-smiling", "history": "rotate-ccw-clock", "kanban-square": "square-kanban", "sidebar": "panel-left", "columns": "columns-2", "rows": "rows-2", "grid": "grid-3x3", "grid-3-x-3": "grid-3x3", "text": "text-align-start", "align-left": "text-align-start", "wrap-text": "text-wrap", "home": "house" };
25
+ var otherLucideNames = "a-arrow-down a-arrow-up a-large-small accessibility activity-square ad air-vent airplay alarm-check alarm-clock-check alarm-clock-minus alarm-clock-off alarm-clock-plus alarm-minus alarm-plus alarm-smoke album align-center align-center-horizontal align-center-vertical align-end-horizontal align-end-vertical align-horizontal-distribute-center align-horizontal-distribute-end align-horizontal-distribute-start align-horizontal-justify-center align-horizontal-justify-end align-horizontal-justify-start align-horizontal-space-around align-horizontal-space-between align-justify align-right align-start-horizontal align-start-vertical align-vertical-distribute-center align-vertical-distribute-end align-vertical-distribute-start align-vertical-justify-center align-vertical-justify-end align-vertical-justify-start align-vertical-space-around align-vertical-space-between ambulance ampersand ampersands amphora anchor angle angry annoyed antenna anvil aperture app-window app-window-mac apple archive-restore archive-x armchair armenian-dram arrow-big-down arrow-big-down-dash arrow-big-left arrow-big-left-dash arrow-big-right arrow-big-right-dash arrow-big-up arrow-big-up-dash arrow-down-0-1 arrow-down-01 arrow-down-1-0 arrow-down-10 arrow-down-a-z arrow-down-az arrow-down-circle arrow-down-from-line arrow-down-left arrow-down-left-from-circle arrow-down-left-from-square arrow-down-left-square arrow-down-narrow-wide arrow-down-right-from-circle arrow-down-right-from-square arrow-down-right-square arrow-down-square arrow-down-to-dot arrow-down-to-line arrow-down-up arrow-down-wide-narrow arrow-down-z-a arrow-down-za arrow-left-circle arrow-left-from-line arrow-left-right arrow-left-square arrow-left-to-line arrow-right-circle arrow-right-from-line arrow-right-square arrow-right-to-line arrow-up-0-1 arrow-up-01 arrow-up-1-0 arrow-up-10 arrow-up-a-z arrow-up-az arrow-up-circle arrow-up-from-dot arrow-up-from-line arrow-up-left arrow-up-left-from-circle arrow-up-left-from-square arrow-up-left-square arrow-up-narrow-wide arrow-up-right-from-circle arrow-up-right-from-square arrow-up-right-square arrow-up-square arrow-up-to-line arrow-up-wide-narrow arrow-up-z-a arrow-up-za arrows-up-from-line asterisk asterisk-square astroid atom audio-lines audio-lines-off audio-lines-x audio-waveform axe axis-3-d axis-3d baby backpack badge badge-cent badge-dollar-sign badge-euro badge-help badge-indian-rupee badge-info badge-japanese-yen badge-minus badge-percent badge-plus badge-pound-sterling badge-question-mark badge-russian-ruble badge-swiss-franc badge-turkish-lira badge-x baggage-claim balloon banana bandage bangladeshi-taka banknote banknote-arrow-down banknote-arrow-up banknote-check banknote-x bar-chart bar-chart-2 bar-chart-4 bar-chart-big bar-chart-horizontal-big barcode barrel baseline bath battery-charging battery-full battery-low battery-medium battery-plus battery-warning beaker bean bean-off bed bed-double bed-single beef beef-off beer beer-off belarusian-ruble bell-check bell-dot bell-electric bell-minus bell-plus bell-ring between-horizonal-end between-horizonal-start between-horizontal-end between-horizontal-start between-vertical-end between-vertical-start biceps-flexed bike binoculars biohazard bird birdhouse bitcoin blend blender blinds bluetooth bluetooth-connected bluetooth-off bluetooth-searching bold bolt bomb bone bone-fracture book-a book-alert book-audio book-bookmark book-check book-copy book-dashed book-down book-headphones book-heart book-image book-key book-lock book-marked book-minus book-open-check book-open-text book-plus book-search book-template book-text book-type book-up book-up-2 book-user book-x bookmark-check bookmark-minus bookmark-off bookmark-plus bookmark-x boom-box bot-message-square bot-off bottle-wine bow-arrow box box-select brain brain-circuit brain-cog brick-wall brick-wall-fire brick-wall-shield bridge briefcase-business briefcase-conveyor-belt briefcase-medical briefcase-plus bring-to-front broccoli broom broom-sparkles brush brush-cleaning bubbles bug-off bug-play building-2 building-complex building-complex-plus bus bus-front cable-car cake cake-slice calculator calendar-1 calendar-arrow-down calendar-arrow-up calendar-check-2 calendar-chevrons-left calendar-chevrons-right calendar-cog calendar-fold calendar-heart calendar-minus calendar-minus-2 calendar-off calendar-plus calendar-plus-2 calendar-range calendar-search calendar-sync calendar-x calendar-x-2 calendars camera-off can can-soda candlestick-chart candy candy-cane candy-off cannabis cannabis-off captions captions-off car-battery car-front car-taxi-front caravan card-sim carrot carton carton-off case-lower case-sensitive case-upper cassette-tape cast castle cat cctv cctv-off certificate chart-bar-big chart-bar-decreasing chart-bar-increasing chart-bar-stacked chart-candlestick chart-column-big chart-column-decreasing chart-column-increasing chart-column-stacked chart-gantt chart-no-axes-column chart-no-axes-column-decreasing chart-no-axes-column-increasing chart-no-axes-combined chart-spline check-check check-circle check-line check-square check-square-2 chef-hat cherry chess-bishop chess-king chess-knight chess-pawn chess-queen chess-rook chevron-down-circle chevron-down-square chevron-first chevron-last chevron-left-circle chevron-left-square chevron-right-circle chevron-right-square chevron-up-circle chevron-up-square chevrons-down chevrons-down-up chevrons-left chevrons-left-right chevrons-left-right-ellipsis chevrons-right-left chevrons-up chevrons-up-down church cigarette cigarette-off circle circle-arrow-down circle-arrow-left circle-arrow-out-down-left circle-arrow-out-down-right circle-arrow-out-up-left circle-arrow-out-up-right circle-arrow-right circle-arrow-up circle-check-big circle-chevron-down circle-chevron-left circle-chevron-right circle-chevron-up circle-dashed circle-dashed-check circle-divide circle-dollar-sign circle-dot-dashed circle-ellipsis circle-equal circle-euro circle-fading-arrow-up circle-fading-play circle-fading-plus circle-gauge circle-minus circle-off circle-parking circle-parking-off circle-percent circle-pile circle-plus circle-pound-sterling circle-power circle-slash circle-slash-2 circle-slashed circle-small circle-star circle-user circle-user-round circuit-board citrus clapperboard clef-alto clef-bass clef-treble clipboard-check clipboard-clock clipboard-copy clipboard-edit clipboard-list clipboard-minus clipboard-paste clipboard-pen clipboard-pen-line clipboard-plus clipboard-signature clipboard-type clipboard-x clock-1 clock-10 clock-11 clock-12 clock-2 clock-3 clock-4 clock-5 clock-6 clock-7 clock-8 clock-9 clock-arrow-down clock-arrow-left clock-arrow-right clock-arrow-up clock-check clock-fading clock-plus closed-caption cloud-alert cloud-backup cloud-check cloud-cog cloud-drizzle cloud-fog cloud-hail cloud-lightning cloud-moon cloud-moon-rain cloud-rain cloud-rain-wind cloud-snow cloud-sun cloud-sun-rain cloud-sync cloudy clover club code-square coffee columns-3 columns-3-cog columns-4 columns-settings combine command component computer concierge-bell cone construction contact-2 contact-round contrast cookie cooking-pot copy-check copy-minus copy-plus copy-slash copy-x copyleft copyright corner-down-left corner-left-down corner-left-up corner-right-down corner-right-up corner-up-left corner-up-right cpu-ai creative-commons credit-card-check credit-card-minus credit-card-plus credit-card-reader credit-card-x croissant crop cross crosshair cuboid cup-soda cupcake currency cylinder dam database-arrow-down database-arrow-up database-backup database-check database-minus database-plus database-search database-x decimals-arrow-left decimals-arrow-right delete dessert diameter diamond diamond-minus diamond-percent diamond-plus dice-1 dice-2 dice-3 dice-4 dice-5 dice-6 dices diff disc disc-2 disc-3 disc-album divide divide-circle divide-square dna dna-off dock dog dollar-sign dome donut door-closed door-closed-cog door-closed-locked door-closed-package door-open door-stairwell dot dot-square drafting-compass drama drill drone droplet droplet-off droplets drum drumstick dumbbell ear ear-off earth-lock eclipse edit edit-2 edit-3 egg egg-fried egg-off eighth-note eighth-notes eject ellipse ellipsis ellipsis-vertical engine equal equal-approximately equal-approximately-not equal-not equal-square eraser ethernet-port euro ev-charger expand eye-closed eye-dashed face-angry face-expressionless face-grinning face-neutral face-slightly-frowning face-slightly-smiling-plus fan fast-forward faucet feather fence ferris-wheel file-audio file-audio-2 file-axis-3-d file-axis-3d file-badge file-badge-2 file-bar-chart file-bar-chart-2 file-box file-braces-corner file-chart-column file-chart-column-increasing file-chart-line file-chart-pie file-check-2 file-check-corner file-clock file-code-2 file-code-corner file-cog file-cog-2 file-diff file-digit file-down file-edit file-exclamation-point file-headphone file-heart file-image file-input file-json-2 file-key file-key-2 file-line-chart file-lock file-lock-2 file-minus-2 file-minus-corner file-music file-output file-pen file-pen-line file-pie-chart file-play file-plus-2 file-plus-corner file-question file-question-mark file-scan file-search-2 file-search-corner file-signal file-signature file-sliders file-spreadsheet file-stack file-symlink file-terminal file-type file-type-2 file-type-corner file-up file-user file-video file-video-2 file-video-camera file-volume file-volume-2 file-warning file-x-2 file-x-corner film filter-x fire-extinguisher fish fish-off fish-symbol fishing-hook fishing-rod flag-off flag-triangle-left flag-triangle-right flame-kindling flashlight flashlight-off flask-conical-off flask-round flip-horizontal flip-horizontal-2 flip-vertical flip-vertical-2 flower flower-2 focus fold-horizontal fold-vertical folder-archive folder-bookmark folder-check folder-clock folder-closed folder-code folder-cog folder-cog-2 folder-dot folder-down folder-edit folder-git folder-heart folder-input folder-kanban folder-key folder-lock folder-minus folder-open-dot folder-output folder-pen folder-root folder-search folder-search-2 folder-symlink folder-sync folder-up folder-user folder-users folder-x folders footprints fork-knife fork-knife-crossed forklift form form-input forward frame frown fuel fullscreen funnel-plus funnel-x galaxy gallery-horizontal gallery-horizontal-end gallery-thumbnails gallery-vertical gallery-vertical-end gamepad gamepad-2 gamepad-directional gantt-chart-square gap-horizontal gap-vertical gauge-circle gavel georgian-lari germ germ-off ghost git-branch-minus git-branch-plus git-commit-vertical git-compare-arrows git-graph git-merge-conflict git-pull-request-arrow git-pull-request-closed git-pull-request-create git-pull-request-create-arrow git-pull-request-draft glass-water glasses globe-check globe-code globe-lock globe-off globe-x gpu grab grape graph-star grid-2-x-2 grid-2-x-2-check grid-2-x-2-plus grid-2-x-2-x grid-2x2 grid-2x2-check grid-2x2-plus grid-2x2-x grid-3x2 grip grip-horizontal grip-vertical groceries group guitar guitar-electric half-note ham hamburger hand-coins hand-fist hand-grab hand-heart hand-helping hand-metal hand-platter handbag handle-bottom-right hard-drive-download hard-drive-upload hard-hat hat-glasses haze hd hdmi-port heading-1 heading-2 heading-3 heading-4 heading-5 heading-6 headphone-off headset heart-crack heart-handshake heart-minus heart-off heart-plus heart-pulse heart-x heater helicopter helping-hand hexagon highlighter hiking-stick hop hop-off hospital hotel hourglass-cog house-cog house-heart house-plug house-plus house-wifi houses ice-cream ice-cream-2 ice-cream-bowl ice-cream-cone id-card id-card-lanyard image-down image-minus image-off image-play image-plus image-up image-upscale import indent indent-decrease indent-increase indian-rupee infinity inspect inspection-panel italic iteration-ccw iteration-cw iv-bag japanese-yen joystick kanban-square-dashed kayak kazakh-tenge key-square keyboard-music keyboard-off lambda lamp lamp-ceiling lamp-desk lamp-floor lamp-wall-down lamp-wall-up land-plot landmark languages laptop-2 laptop-minimal laptop-minimal-check lasso lasso-select laugh layer-arrow-down layer-arrow-up layers-arrow-down layers-arrow-up layers-minus layers-plus layout layout-arrow-down layout-arrow-right layout-freeform layout-grid-circles layout-panel-top layout-template leafy-green lectern lens lens-concave lens-convex letter-text letters library-big library-square life-buoy ligature lightbulb-off lighthouse line-dot-bottom-vertical line-dot-left-horizontal line-dot-right-horizontal line-dot-top-vertical line-squiggle line-style link-2 link-2-off list-check list-chevrons-down-up list-chevrons-up-down list-clock list-collapse list-end list-filter list-filter-plus list-indent-decrease list-indent-increase list-minus list-music list-plus list-restart list-sort-ascending list-sort-descending list-start list-video list-x loader-2 loader-circle loader-pinwheel locate locate-fixed locate-off location-edit lock-keyhole lock-keyhole-open logs lollipop luggage m-square magnet mail-badge mail-check mail-clock mail-dot mail-minus mail-open mail-pen mail-plus mail-question mail-question-mark mail-search mail-warning mail-x mailbox mails map-minus map-pin-check map-pin-check-inside map-pin-house map-pin-minus map-pin-minus-inside map-pin-off map-pin-pen map-pin-plus map-pin-plus-inside map-pin-search map-pin-x map-pin-x-inside map-pinned map-plus mars mars-stroke martini maximize maximize-2 medal megaphone-off meh memory-stick menu menu-square message-circle-check message-circle-code message-circle-dashed message-circle-dashed-check message-circle-heart message-circle-more message-circle-off message-circle-plus message-circle-question message-circle-question-mark message-circle-reply message-circle-text message-circle-warning message-circle-x message-square-check message-square-code message-square-dashed message-square-diff message-square-dot message-square-heart message-square-lock message-square-more message-square-off message-square-plus message-square-quote message-square-reply message-square-share message-square-text message-square-warning message-square-x messages-circle metronome mic-2 mic-audio-lines mic-off mic-signal mic-vocal microchip microwave midi-port milk milk-off minimize minimize-2 minus-circle minus-square mirror-rectangular mirror-round monitor-check monitor-cloud monitor-cog monitor-dot monitor-down monitor-off monitor-pause monitor-pc monitor-play monitor-smartphone monitor-speaker monitor-stop monitor-up monitor-x moon-star mop mop-sparkles more-horizontal more-vertical mosque motorbike mountain mountain-snow mouse-left mouse-off mouse-pointer mouse-pointer-2 mouse-pointer-2-off mouse-pointer-ban mouse-pointer-click mouse-pointer-square-dashed mouse-right mouth mouth-off move move-3-d move-3d move-diagonal move-diagonal-2 move-down move-down-left move-down-right move-horizontal move-left move-up move-up-left move-up-right move-vertical music music-2 music-3 music-4 navigation-2 navigation-2-off navigation-off nepali-rupee newspaper nfc non-binary notebook-dot notebook-pen notebook-tabs notebook-text notepad-text notepad-text-dashed nut nut-off octagon octagon-minus octagon-pause octagon-x omega option orbit origami outdent package-2 package-minus package-open package-plus package-search package-x paint-bucket paint-roller paintbrush paintbrush-2 paintbrush-vertical palette palmtree panda panel-bottom panel-bottom-close panel-bottom-dashed panel-bottom-inactive panel-bottom-open panel-left-close panel-left-dashed panel-left-inactive panel-left-open panel-left-right-dashed panel-right-close panel-right-dashed panel-right-inactive panel-right-open panel-top panel-top-bottom-dashed panel-top-close panel-top-dashed panel-top-inactive panel-top-open panels-left-bottom panels-left-right panels-right-bottom panels-top-bottom panels-top-left paper-bag parasol parentheses park parking-circle parking-circle-off parking-meter parking-square parking-square-off party-popper pause-octagon paw-print pc-case pen pen-box pen-line pen-off pen-square pen-tool pencil-line pencil-off pencil-ruler pencil-sparkles pentagon percent percent-circle percent-diamond percent-square perfume-bottle person-standing phi philippine-peso phone-call phone-forwarded phone-incoming phone-log phone-missed phone-off phone-outgoing pi pi-square piano pickaxe picture-in-picture picture-in-picture-2 piggy-bank pilcrow-left pilcrow-right pilcrow-square pill pill-bottle pin pin-off pipette pizza plane-landing plane-takeoff plant-pot play-off play-square playing-card playing-cards playing-cards-fan plug-2 plus-circle plus-square pocket-knife podcast podium pointer pointer-off popcorn popsicle pound-sterling power-circle power-off power-square presentation printer-3d printer-check printer-x projector proportions pyramid qr-code rabbit radar radiation radical radio radio-off radio-receiver radius rainbow rat ratio receipt-cent receipt-euro receipt-indian-rupee receipt-japanese-yen receipt-pound-sterling receipt-russian-ruble receipt-swiss-franc receipt-text receipt-turkish-lira rectangle-circle rectangle-ellipsis rectangle-goggles rectangle-horizontal rectangle-vertical recycle redo redo-dot refresh-ccw refresh-ccw-dot refresh-cw-off refrigerator remove-formatting repeat-1 repeat-2 repeat-off replace replace-all reply reply-all rewind ribbon road robot-arm robot-vacuum rocking-chair roller-coaster rose rotate-3-d rotate-3d rotate-ccw-key rotate-ccw-square rotate-cw rotate-cw-clock rotate-cw-fading-clock rotate-cw-square route-off rows-3 rows-4 rugby-ball ruler ruler-dimension-line russian-ruble sailboat salad sandwich satellite-dish saudi-riyal save-all save-check save-off save-pen save-plus scale scale-3-d scale-3d scaling scan scan-barcode scan-box scan-face scan-heart scan-line scan-qr-code scan-search scan-square scan-text school school-2 scissors scissors-line-dashed scissors-square scissors-square-dashed-bottom scooter scratch-blocks screen-share screen-share-off screw scroll-text search-alert search-check search-code search-slash search-x section send-horizonal send-horizontal send-to-back separator-horizontal separator-vertical server-crash server-nas server-off server-plus settings-2 shapes share shell shelving-unit shield-ban shield-close shield-cog shield-cog-corner shield-ellipsis shield-half shield-house shield-keyhole shield-lock shield-minus shield-plus shield-question shield-question-mark shield-user shield-x ship ship-cargo ship-wheel shirt shopping-bag shopping-basket shopping-cart-minus shopping-cart-plus shovel shower-head shredder shrimp shrimp-off shrink shrub sidebar-close sidebar-open sigma-square signal signal-high signal-low signal-medium signal-zero signature signpost-big siren sixteenth-notes skip-back skip-forward skull slash slash-square slice sliders sliders-vertical smartphone-charging smartphone-nfc smile-plus snail snowflake soap-dispenser-droplet sofa solar-panel sort-asc sort-desc soup space spade sparkle speech spell-check spell-check-2 spline spline-pointer split-square-horizontal split-square-vertical spool sport-shoe spotlight spray-can sprout square square-activity square-arrow-down square-arrow-down-left square-arrow-down-right square-arrow-left square-arrow-out-down-left square-arrow-out-down-right square-arrow-out-up-left square-arrow-out-up-right square-arrow-right square-arrow-right-enter square-arrow-right-exit square-arrow-up square-arrow-up-left square-arrow-up-right square-asterisk square-bookmark square-bottom-dashed-scissors square-centerline-dashed-horizontal square-centerline-dashed-vertical square-chart-gantt square-check square-check-big square-chevron-down square-chevron-left square-chevron-right square-chevron-up square-code square-dashed square-dashed-bottom square-dashed-bottom-code square-dashed-kanban square-dashed-mouse-pointer square-dashed-plus square-dashed-text square-dashed-top-solid square-dashed-x square-dashed-x-corner square-dimensions square-divide square-dot square-equal square-exclamation-point square-gantt-chart square-library square-m square-menu square-minus square-mouse-pointer square-off square-parking square-parking-off square-pause square-pen square-percent square-pi square-pilcrow square-play square-plus square-power square-radical square-round-corner square-scissors square-sigma square-slash square-sparkles square-split-horizontal square-split-vertical square-square square-stack square-star square-stop square-text square-user square-user-round square-x squares-exclude squares-intersect squares-subtract squares-unite squircle squircle-dashed squirrel stamp star-check star-half star-minus star-off star-plus star-x step-back step-forward stethoscope sticker sticky-note-check sticky-note-minus sticky-note-off sticky-note-plus sticky-note-x sticky-notes stone stretch-horizontal stretch-vertical strikethrough subscript subtitles summary sun-dim sun-medium sun-moon sun-snow sunrise sunset superscript swatch-book swiss-franc switch-camera sword swords syringe table-cells-merge table-cells-split table-columns-split table-config table-properties table-rows-split tablet-smartphone tablets tag-plus tag-x tally-1 tally-2 tally-3 tally-4 tally-5 tangent telescope tent tent-tree test-tube test-tube-2 test-tube-diagonal test-tubes text-align-center text-align-end text-align-justify text-align-justify-center text-align-justify-end text-align-justify-start text-cursor-input text-initial text-quote text-search text-select text-selection theater thermometer thermometer-snowflake thermometer-sun tic-tac-toe ticket ticket-check ticket-minus ticket-percent ticket-plus ticket-slash ticket-x tickets tickets-plane timeline timer-off timer-reset toggle-left toggle-right toilet tool-case toolbox toothbrush toothbrush-sparkles tornado torus touchpad touchpad-off towel-rack tower-control toy-brick tractor traffic-cone trailer train train-front train-front-tunnel train-track tram-front transgender trash-off tree-deciduous tree-palm tree-pine trees trending-up-down triangle triangle-dashed triangle-right triangles-centerline-dashed-horizontal triangles-centerline-dashed-vertical truck-electric tube-lotion turkish-lira turntable turtle tv-2 tv-minimal tv-minimal-play type-outline umbrella umbrella-off underline undo undo-dot unfold-horizontal unfold-vertical ungroup university unlink-2 unlock-keyhole unplug usb usb-c-port user-check-2 user-circle user-circle-2 user-cog user-cog-2 user-group user-key user-minus user-minus-2 user-pen user-plus-2 user-round-arrow-left user-round-check user-round-cog user-round-group user-round-key user-round-minus user-round-pen user-round-plus user-round-search user-round-star user-round-x user-search user-shield user-square user-square-2 user-star user-x-2 users-2 users-collaboration users-round users-round-collaboration utensils utensils-crossed utility-pole van vault vector-polygon vector-square vegan venetian-mask venus venus-and-mars vibrate vibrate-off video-off videotape view virus virus-off voicemail volleyball volume volume-1 volume-2 volume-off volume-x vote wallet-2 wallet-cards wallet-minimal wallpaper wand washing-machine waves waves-arrow-down waves-arrow-up waves-horizontal waves-ladder waves-vertical waypoints webcam webcam-off webhook-off weight weight-tilde wheat wheat-off whistle whole-word wifi-cog wifi-high wifi-lock wifi-low wifi-pen wifi-sync wifi-zero wind wind-arrow-down wind-arrow-up wine wine-off worm wrench-off x-line-top x-octagon x-square zap-off zodiac-aquarius zodiac-aries zodiac-cancer zodiac-capricorn zodiac-gemini zodiac-leo zodiac-libra zodiac-ophiuchus zodiac-pisces zodiac-sagittarius zodiac-scorpio zodiac-taurus zodiac-virgo zoom-in zoom-out";
26
+
27
+ // packages/reader/src/icons/catalog.ts
28
+ init_define_TACK_BUILD_INFO();
29
+ var docsIconNames = new Set(
30
+ docsIconCategories.flatMap(({ names }) => names)
31
+ );
32
+ var outsideTheSet = new Set(otherLucideNames.split(" "));
33
+ var renamed = docsIconAliases;
34
+ function distance(left, right) {
35
+ const initial = Array.from({ length: right.length + 1 }, (_, index) => index);
36
+ return left.split("").reduce((previous, leftCharacter, row) => {
37
+ return right.split("").reduce(
38
+ (current, rightCharacter, column) => [
39
+ ...current,
40
+ Math.min(
41
+ (current[column] ?? 0) + 1,
42
+ (previous[column + 1] ?? 0) + 1,
43
+ (previous[column] ?? 0) + (leftCharacter === rightCharacter ? 0 : 1)
44
+ )
45
+ ],
46
+ [row + 1]
47
+ );
48
+ }, initial)[right.length] ?? 0;
49
+ }
50
+ function closest(name) {
51
+ const lower = name.toLowerCase();
52
+ if (docsIconNames.has(lower)) return [lower];
53
+ const firstWord = lower.split("-")[0] ?? lower;
54
+ const sameWord = [...docsIconNames].filter((candidate) => candidate.split("-")[0] === firstWord);
55
+ const near = [...docsIconNames].map((candidate) => ({ candidate, edits: distance(lower, candidate) })).filter(({ edits }) => edits <= Math.max(2, Math.floor(lower.length / 4))).toSorted((left, right) => left.edits - right.edits).map(({ candidate }) => candidate);
56
+ return [.../* @__PURE__ */ new Set([...sameWord, ...near])].slice(0, 3);
57
+ }
58
+ function iconNameFinding(name) {
59
+ if (docsIconNames.has(name)) return void 0;
60
+ const current = renamed[name];
61
+ if (current !== void 0)
62
+ return {
63
+ message: `unknown icon "${name}": Lucide renamed it "${current}"`,
64
+ suggestions: [current]
65
+ };
66
+ const suggestions = closest(name);
67
+ const hint = suggestions.length === 0 ? "find one with `tack docs icons <word>`" : `closest: ${suggestions.join(", ")}`;
68
+ return {
69
+ message: outsideTheSet.has(name) ? `unknown icon "${name}": a Lucide icon outside the docs set; ${hint}` : `unknown icon "${name}"; ${hint}`,
70
+ suggestions
71
+ };
72
+ }
73
+ function searchDocsIcons(word) {
74
+ const query = word.trim().toLowerCase();
75
+ if (query === "") return [];
76
+ const aliasesOf = (name) => Object.entries(renamed).flatMap(([alias, current]) => current === name ? [alias] : []);
77
+ return docsIconCategories.flatMap(({ category, names }) => {
78
+ const inCategory = category.toLowerCase().split(" ").includes(query);
79
+ return names.flatMap((name) => {
80
+ if (inCategory || name.includes(query)) return [{ name, category }];
81
+ const alias = aliasesOf(name).find((candidate) => candidate.includes(query));
82
+ return alias === void 0 ? [] : [{ name, category, alias }];
83
+ });
84
+ });
85
+ }
86
+
87
+ export {
88
+ lucideVersion,
89
+ docsIconCategories,
90
+ iconNameFinding,
91
+ searchDocsIcons
92
+ };
@@ -0,0 +1,26 @@
1
+ import { createRequire as tackCreateRequire } from "node:module"; const require = tackCreateRequire(import.meta.url);
2
+ import {
3
+ Context_exports
4
+ } from "./chunk-ZT6BO7LG.js";
5
+ import {
6
+ init_define_TACK_BUILD_INFO
7
+ } from "./chunk-XARHV5M4.js";
8
+
9
+ // packages/extension-docs/src/services/reader.ts
10
+ init_define_TACK_BUILD_INFO();
11
+ var Reader = class extends Context_exports.Service()(
12
+ "tack/cli/services/reader/Reader"
13
+ ) {
14
+ };
15
+
16
+ // packages/extension-docs/src/services/reader-corpus.ts
17
+ init_define_TACK_BUILD_INFO();
18
+ var ReaderCorpus = class extends Context_exports.Service()(
19
+ "tack/cli/services/reader-corpus/ReaderCorpus"
20
+ ) {
21
+ };
22
+
23
+ export {
24
+ Reader,
25
+ ReaderCorpus
26
+ };
@@ -0,0 +1,162 @@
1
+ import { createRequire as tackCreateRequire } from "node:module"; const require = tackCreateRequire(import.meta.url);
2
+ import {
3
+ Parser
4
+ } from "./chunk-QQBCYPJZ.js";
5
+ import {
6
+ require_picomatch
7
+ } from "./chunk-CFUDY2NO.js";
8
+ import {
9
+ __toESM,
10
+ init_define_TACK_BUILD_INFO
11
+ } from "./chunk-XARHV5M4.js";
12
+
13
+ // packages/reader/src/host.ts
14
+ init_define_TACK_BUILD_INFO();
15
+ import { spawn as spawnChild } from "node:child_process";
16
+ import { createRequire } from "node:module";
17
+ import { dirname } from "node:path";
18
+ import { Readable } from "node:stream";
19
+ var import_picomatch = __toESM(require_picomatch(), 1);
20
+ var require2 = createRequire(import.meta.url);
21
+ var rspack = () => (
22
+ // oxlint-disable-next-line typescript/no-unsafe-type-assertion -- `require` is untyped; the import type names the module it loads.
23
+ require2("@rspack/core").experiments
24
+ );
25
+ var esbuild = () => require2("esbuild");
26
+ var empty = () => new ReadableStream({
27
+ start: (controller) => controller.close()
28
+ });
29
+ var spawnProcess = (options) => {
30
+ const [command, ...args] = options.cmd;
31
+ const child = spawnChild(command, args, {
32
+ ...options.cwd === void 0 ? {} : { cwd: options.cwd },
33
+ env: options.env ?? process.env,
34
+ stdio: [
35
+ options.stdin ?? "ignore",
36
+ options.stdout ?? "pipe",
37
+ options.stderr ?? "pipe",
38
+ ...options.ipc === void 0 ? [] : ["ipc"]
39
+ ],
40
+ serialization: "json"
41
+ });
42
+ if (options.ipc !== void 0) child.on("message", options.ipc);
43
+ const web = (stream) => stream === null ? empty() : (
44
+ // oxlint-disable-next-line typescript/no-unsafe-type-assertion -- Node types web streams from `node:stream/web`, structurally the global ReadableStream.
45
+ Readable.toWeb(stream)
46
+ );
47
+ const exited = new Promise((resolve) => {
48
+ child.once("exit", (code) => resolve(code ?? 128));
49
+ child.once("error", () => resolve(127));
50
+ });
51
+ return {
52
+ stdout: web(child.stdout),
53
+ stderr: web(child.stderr),
54
+ exited,
55
+ kill: (signal) => {
56
+ child.kill(signal);
57
+ }
58
+ };
59
+ };
60
+ var readerProcesses = { spawn: spawnProcess };
61
+ var transpile = (source, loader) => rspack().swc.transformSync(source, {
62
+ jsc: {
63
+ parser: loader === "ts" || loader === "tsx" ? { syntax: "typescript", tsx: loader === "tsx" } : { syntax: "ecmascript", jsx: loader === "jsx" },
64
+ target: "es2022",
65
+ transform: { react: { runtime: "automatic" } }
66
+ },
67
+ module: { type: "es6" },
68
+ isModule: true
69
+ }).code;
70
+ var isNode = (value) => typeof value === "object" && value !== null;
71
+ var importNodes = /* @__PURE__ */ new Set([
72
+ "ImportDeclaration",
73
+ "ExportAllDeclaration",
74
+ "ExportNamedDeclaration",
75
+ "ImportExpression"
76
+ ]);
77
+ var specifiersIn = (value) => {
78
+ if (Array.isArray(value)) return value.flatMap(specifiersIn);
79
+ if (isNode(value) === false) return [];
80
+ const own = typeof value.type === "string" && importNodes.has(value.type) && isNode(value.source) && value.source.type === "Literal" && typeof value.source.value === "string" ? [value.source.value] : [];
81
+ return [...own, ...Object.values(value).flatMap(specifiersIn)];
82
+ };
83
+ var scanImports = (source, loader) => specifiersIn(
84
+ Parser.parse(transpile(source, loader), { ecmaVersion: "latest", sourceType: "module" })
85
+ );
86
+ var resolver;
87
+ var resolveModule = async (specifier, fromFile) => {
88
+ resolver ??= new (rspack()).resolver.ResolverFactory({
89
+ conditionNames: ["browser", "import", "module", "default"],
90
+ mainFields: ["browser", "module", "main"],
91
+ extensions: [".tsx", ".ts", ".jsx", ".js", ".mjs", ".json"]
92
+ });
93
+ const result = await resolver.async(dirname(fromFile), specifier);
94
+ if (typeof result.path !== "string")
95
+ throw new Error(result.error ?? `Cannot resolve ${specifier}.`);
96
+ return result.path;
97
+ };
98
+ var isBuildFailure = (error) => error instanceof Error && "errors" in error && Array.isArray(error.errors);
99
+ var compiledModule = /\.(?:[cm]?[jt]sx?|json|css)$/;
100
+ var assetsAsFiles = {
101
+ name: "tack-reader-assets",
102
+ setup: (build) => {
103
+ build.onLoad(
104
+ { filter: /.*/ },
105
+ (args) => compiledModule.test(args.path) === true ? void 0 : { contents: "", loader: "empty" }
106
+ );
107
+ }
108
+ };
109
+ var checkBrowserBuild = async (entry, external) => {
110
+ try {
111
+ await esbuild().build({
112
+ entryPoints: [entry],
113
+ bundle: true,
114
+ platform: "browser",
115
+ format: "esm",
116
+ external: [...external],
117
+ jsx: "automatic",
118
+ // Nothing is written; an output directory only lets stylesheets and assets join the bundle.
119
+ absWorkingDir: dirname(entry),
120
+ outdir: dirname(entry),
121
+ write: false,
122
+ logLevel: "silent",
123
+ plugins: [assetsAsFiles]
124
+ });
125
+ return { success: true, messages: [] };
126
+ } catch (error) {
127
+ if (isBuildFailure(error) === false) throw error;
128
+ return {
129
+ success: false,
130
+ messages: error.errors.map(
131
+ (message) => message.location === null ? message.text : `${message.location.file}:${message.location.line}: ${message.text}`
132
+ )
133
+ };
134
+ }
135
+ };
136
+ var globMatcher = (pattern) => (0, import_picomatch.default)(pattern, { dot: true });
137
+
138
+ // packages/reader/src/reader-files.ts
139
+ init_define_TACK_BUILD_INFO();
140
+ import { fileURLToPath } from "node:url";
141
+ var base = () => true ? new URL("./reader/", import.meta.url) : import.meta.resolve("@tackup/reader");
142
+ var readerFile = (name) => fileURLToPath(new URL(name, base()));
143
+ var readerEntry = (stem) => {
144
+ if (true)
145
+ return fileURLToPath(import.meta.resolve(`${"@tackup/docs"}/${stem}`));
146
+ return readerFile(
147
+ `${stem}${typeof __TACK_READER_ENTRY_EXTENSION__ === "string" ? __TACK_READER_ENTRY_EXTENSION__ : ".ts"}`
148
+ );
149
+ };
150
+
151
+ export {
152
+ readerProcesses,
153
+ transpile,
154
+ scanImports,
155
+ resolveModule,
156
+ checkBrowserBuild,
157
+ globMatcher,
158
+ readerFile,
159
+ readerEntry
160
+ };
161
+ /* v8 ignore start -- @preserve */
162
+ /* v8 ignore stop -- @preserve */