@haus-tech/haus-workflow 6.7.1 → 7.0.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 (127) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +41 -85
  3. package/dist/cli.js +17629 -23486
  4. package/docs/before-you-start.md +17 -22
  5. package/docs/glossary.md +10 -8
  6. package/package.json +3 -6
  7. package/packages/agents/issue-creator.md +59 -0
  8. package/packages/configs/eslint/eslint.config.mjs +90 -0
  9. package/packages/configs/lighthouse/lighthouserc.yml +35 -0
  10. package/packages/configs/prettier/.prettierignore +28 -0
  11. package/packages/configs/prettier/prettier.config.cjs +12 -0
  12. package/packages/packages.yaml +81 -0
  13. package/packages/skills/adr-decisions/SKILL.md +113 -0
  14. package/packages/skills/auth-oidc-azure-bankid-patterns/SKILL.md +46 -0
  15. package/packages/skills/auth-oidc-azure-bankid-patterns/references/conventions.md +29 -0
  16. package/packages/skills/auth-oidc-azure-bankid-patterns/references/scope.md +30 -0
  17. package/packages/skills/auth-oidc-azure-bankid-patterns/references/workflow.md +38 -0
  18. package/packages/skills/bullmq-patterns/SKILL.md +53 -0
  19. package/packages/skills/bullmq-patterns/references/conventions.md +33 -0
  20. package/packages/skills/bullmq-patterns/references/scope.md +30 -0
  21. package/packages/skills/bullmq-patterns/references/workflow.md +50 -0
  22. package/{library/global → packages}/skills/haus-workflow/SKILL.md +28 -41
  23. package/packages/skills/haus-workflow/references/init.md +57 -0
  24. package/{library/global → packages}/skills/haus-workflow/references/new.md +15 -20
  25. package/packages/skills/i18next-patterns/SKILL.md +52 -0
  26. package/packages/skills/i18next-patterns/references/conventions.md +32 -0
  27. package/packages/skills/i18next-patterns/references/scope.md +29 -0
  28. package/packages/skills/i18next-patterns/references/workflow.md +39 -0
  29. package/packages/skills/issue-authoring/SKILL.md +184 -0
  30. package/packages/skills/issue-authoring/references/issue-tracker.md +29 -0
  31. package/packages/skills/issue-authoring/references/native-metadata.md +122 -0
  32. package/packages/skills/issue-authoring/references/recording-approval.md +29 -0
  33. package/packages/skills/laravel-nova-patterns/SKILL.md +45 -0
  34. package/packages/skills/laravel-nova-patterns/references/conventions.md +26 -0
  35. package/packages/skills/laravel-nova-patterns/references/scope.md +30 -0
  36. package/packages/skills/laravel-nova-patterns/references/workflow.md +36 -0
  37. package/packages/skills/nextauth-patterns/SKILL.md +48 -0
  38. package/packages/skills/nextauth-patterns/references/conventions.md +33 -0
  39. package/packages/skills/nextauth-patterns/references/scope.md +33 -0
  40. package/packages/skills/nextauth-patterns/references/workflow.md +46 -0
  41. package/packages/skills/nx-tag-conventions/SKILL.md +32 -0
  42. package/packages/skills/package-manager-yarn4-pnpm89/SKILL.md +41 -0
  43. package/packages/skills/package-manager-yarn4-pnpm89/references/conventions.md +25 -0
  44. package/packages/skills/package-manager-yarn4-pnpm89/references/scope.md +30 -0
  45. package/packages/skills/package-manager-yarn4-pnpm89/references/workflow.md +39 -0
  46. package/packages/skills/qliro-patterns/SKILL.md +48 -0
  47. package/packages/skills/qliro-patterns/references/conventions.md +28 -0
  48. package/packages/skills/qliro-patterns/references/scope.md +30 -0
  49. package/packages/skills/qliro-patterns/references/workflow.md +46 -0
  50. package/packages/skills/react-router-v7-patterns/SKILL.md +47 -0
  51. package/packages/skills/react-router-v7-patterns/references/conventions.md +30 -0
  52. package/packages/skills/react-router-v7-patterns/references/scope.md +32 -0
  53. package/packages/skills/react-router-v7-patterns/references/workflow.md +43 -0
  54. package/{library/global → packages}/skills/request/scripts/korning.mjs +1 -1
  55. package/packages/skills/strapi-patterns/SKILL.md +53 -0
  56. package/packages/skills/strapi-patterns/references/conventions.md +33 -0
  57. package/packages/skills/strapi-patterns/references/scope.md +29 -0
  58. package/packages/skills/strapi-patterns/references/workflow.md +47 -0
  59. package/packages/skills/vendure-app-patterns/SKILL.md +34 -0
  60. package/packages/skills/vendure-app-patterns/references/conventions.md +25 -0
  61. package/packages/skills/vendure-app-patterns/references/scope.md +29 -0
  62. package/packages/skills/vendure-app-patterns/references/workflow.md +45 -0
  63. package/packages/skills/vendure-plugin-patterns/SKILL.md +45 -0
  64. package/packages/skills/vendure-plugin-patterns/references/conventions.md +27 -0
  65. package/packages/skills/vendure-plugin-patterns/references/scope.md +30 -0
  66. package/packages/skills/vendure-plugin-patterns/references/workflow.md +42 -0
  67. package/packages/skills/whats-installed/SKILL.md +55 -0
  68. package/packages/skills/wordpress-acf-elementor-jetengine-patterns/SKILL.md +41 -0
  69. package/packages/skills/wordpress-acf-elementor-jetengine-patterns/references/conventions.md +25 -0
  70. package/packages/skills/wordpress-acf-elementor-jetengine-patterns/references/scope.md +28 -0
  71. package/packages/skills/wordpress-acf-elementor-jetengine-patterns/references/workflow.md +41 -0
  72. package/packages/skills/wordpress-bedrock-patterns/SKILL.md +41 -0
  73. package/packages/skills/wordpress-bedrock-patterns/references/conventions.md +27 -0
  74. package/packages/skills/wordpress-bedrock-patterns/references/scope.md +28 -0
  75. package/packages/skills/wordpress-bedrock-patterns/references/workflow.md +42 -0
  76. package/packages/skills/writing-documentation/SKILL.md +153 -0
  77. package/packages/skills/writing-documentation/references/claude-template-workspace.md +60 -0
  78. package/packages/skills/writing-documentation/references/claude-template.md +43 -0
  79. package/packages/skills/writing-documentation/references/completeness-criteria.md +26 -0
  80. package/packages/skills/writing-documentation/references/summary-template.md +81 -0
  81. package/packages/skills/writing-documentation/references/topic-file-formats.md +125 -0
  82. package/packages/skills/writing-documentation/references/validation-checklist.md +42 -0
  83. package/packages/templates/agentic-workflow-poc.md +180 -0
  84. package/packages/templates/agentic-workflow-standard.md +170 -0
  85. package/packages/templates/decision-template.md +27 -0
  86. package/packages/templates/decisions-ci-gate.yml +32 -0
  87. package/packages/templates/lefthook-branch-guard.yml +27 -0
  88. package/packages/templates/lefthook-lighthouse.yml +28 -0
  89. package/packages/templates/lefthook-quality.yml +34 -0
  90. package/packages/templates/lefthook-security.yml +27 -0
  91. package/packages/templates/start-here.md +72 -0
  92. package/library/catalog/decisions-triggers.json +0 -26
  93. package/library/catalog/haus-lock.schema.json +0 -4
  94. package/library/catalog/manifest.json +0 -5941
  95. package/library/catalog/validation-rules.json +0 -169
  96. package/library/global/settings-fragments/hooks.json +0 -53
  97. package/library/global/skills/haus-workflow/references/init.md +0 -88
  98. package/scripts/postinstall.mjs +0 -62
  99. /package/{library/global → packages}/agents/request-assessor.md +0 -0
  100. /package/{library/global → packages}/agents/request-design-reviewer.md +0 -0
  101. /package/{library/global → packages}/agents/request-designer.md +0 -0
  102. /package/{library/global → packages}/agents/request-scorer.md +0 -0
  103. /package/{library/global → packages}/agents/request-specifier-eskalerad.md +0 -0
  104. /package/{library/global → packages}/agents/request-specifier.md +0 -0
  105. /package/{library/global → packages}/skills/haus-workflow/references/clone.md +0 -0
  106. /package/{library/global → packages}/skills/request/SKILL.md +0 -0
  107. /package/{library/global → packages}/skills/request/scripts/archive.mjs +0 -0
  108. /package/{library/global → packages}/skills/request/scripts/bedom.mjs +0 -0
  109. /package/{library/global → packages}/skills/request/scripts/check-lasta.mjs +0 -0
  110. /package/{library/global → packages}/skills/request/scripts/compare-scores.mjs +0 -0
  111. /package/{library/global → packages}/skills/request/scripts/contract-check.mjs +0 -0
  112. /package/{library/global → packages}/skills/request/scripts/kontroll.mjs +0 -0
  113. /package/{library/global → packages}/skills/request/scripts/lib.mjs +0 -0
  114. /package/{library/global → packages}/skills/request/scripts/precheck.mjs +0 -0
  115. /package/{library/global → packages}/skills/request/scripts/ref-hash.mjs +0 -0
  116. /package/{library/global → packages}/skills/request/scripts/report.mjs +0 -0
  117. /package/{library/global → packages}/skills/request/scripts/resolve-anchors.mjs +0 -0
  118. /package/{library/global → packages}/skills/request/scripts/svep.mjs +0 -0
  119. /package/{library/global → packages}/skills/request-assess-impact/SKILL.md +0 -0
  120. /package/{library/global → packages}/skills/request-score/SKILL.md +0 -0
  121. /package/{library/global → packages}/skills/request-score/references/poangskala.md +0 -0
  122. /package/{library/global → packages}/skills/request-sync/SKILL.md +0 -0
  123. /package/{library/global → packages}/skills/request-write-spec/SKILL.md +0 -0
  124. /package/{library/global → packages}/skills/request-write-spec/references/specformat.md +0 -0
  125. /package/{library/global → packages}/skills/slack-cowork/SKILL.md +0 -0
  126. /package/{library/global → packages}/skills/slack-cowork/references/canvas-markdown.md +0 -0
  127. /package/{library/global → packages}/skills/slack-cowork/references/synk.md +0 -0
@@ -1,169 +0,0 @@
1
- {
2
- "forbiddenTags": [
3
- "rust",
4
- "rustlang",
5
- "java",
6
- "javafx",
7
- "spring",
8
- "kotlin",
9
- "kotlinx",
10
- "flutter",
11
- "flutterfire",
12
- "dart",
13
- "c++",
14
- "perl",
15
- "defi",
16
- "trading"
17
- ],
18
- "requiredSkillFrontmatter": ["description"],
19
- "riskyInstallPatterns": [
20
- { "source": "\\bnpx\\s+-y\\b", "flags": "i" },
21
- { "source": "\\bnpx\\s+--yes\\b", "flags": "i" },
22
- { "source": "\\byarn\\s+dlx\\b", "flags": "i" },
23
- { "source": "\\bpnpm\\s+dlx\\b", "flags": "i" }
24
- ],
25
- "allowedNpxPattern": { "source": "\\bnpx\\s+tsx\\b", "flags": "i" },
26
- "anyNpxPattern": { "source": "\\bnpx\\s+\\S+", "flags": "i" },
27
- "npxTsxOnlyExemptSources": ["curated"],
28
- "httpUrlPattern": { "source": "^http:\\/\\/", "flags": "i" },
29
- "placeholderPattern": { "source": "\\bTODO\\b|\\bPLACEHOLDER\\b", "flags": "i" },
30
- "allowedStacks": [
31
- "haus",
32
- "security",
33
- "quality",
34
- "a11y",
35
- "frontend",
36
- "backend",
37
- "testing",
38
- "review",
39
- "workflow",
40
- "reference-pack",
41
- "core-skill",
42
- "workflow-skill",
43
- "stack-skill",
44
- "review-skill",
45
- "agent",
46
- "hook",
47
- "rule",
48
- "react",
49
- "typescript",
50
- "php",
51
- "csharp",
52
- "python",
53
- "golang",
54
- "vendure",
55
- "vendure3",
56
- "nestjs",
57
- "graphql",
58
- "nx",
59
- "turbo",
60
- "nextjs",
61
- "react19",
62
- "typescript5",
63
- "vite8",
64
- "tanstack-query",
65
- "tanstack-router",
66
- "radix",
67
- "radix-ui",
68
- "shadcn",
69
- "shadcn-ui",
70
- "tailwind",
71
- "tailwindcss",
72
- "scss",
73
- "scss-modules",
74
- "vue",
75
- "expressjs",
76
- "laravel",
77
- "laravel-nova",
78
- "wordpress",
79
- "bedrock",
80
- "elementor-pro",
81
- "acf-pro",
82
- "jetengine",
83
- "dotnet",
84
- "oidc",
85
- "azure-ad",
86
- "bankid",
87
- "crypto",
88
- "postgresql",
89
- "mariadb",
90
- "mssql",
91
- "elasticsearch",
92
- "yarn4",
93
- "pnpm89",
94
- "playwright",
95
- "testing-library",
96
- "phpunit",
97
- "storybook",
98
- "vitest",
99
- "jest",
100
- "redis",
101
- "sanity",
102
- "strapi",
103
- "prisma",
104
- "cms",
105
- "database",
106
- "mysql",
107
- "saml2",
108
- "next-auth",
109
- "auth",
110
- "expo",
111
- "react-native",
112
- "mobile",
113
- "i18next",
114
- "i18n",
115
- "bullmq",
116
- "queue",
117
- "sentry",
118
- "observability",
119
- "tooling",
120
- "prettier",
121
- "eslint",
122
- "missing-prettier",
123
- "missing-eslint",
124
- "docker",
125
- "pm2",
126
- "stripe",
127
- "qliro",
128
- "supabase",
129
- "payments",
130
- "myid",
131
- "cgi",
132
- "collection2",
133
- "deployer-php"
134
- ],
135
- "safetyNotesRequiredTags": [
136
- "stripe",
137
- "qliro",
138
- "payments",
139
- "bankid",
140
- "myid",
141
- "oidc",
142
- "azure-ad",
143
- "saml2",
144
- "auth",
145
- "next-auth"
146
- ],
147
- "intentsRequiredTags": [
148
- "stripe",
149
- "qliro",
150
- "payments",
151
- "bankid",
152
- "myid",
153
- "oidc",
154
- "azure-ad",
155
- "saml2",
156
- "auth",
157
- "next-auth"
158
- ],
159
- "alwaysAllowedTags": [
160
- "haus",
161
- "security",
162
- "quality",
163
- "review",
164
- "workflow",
165
- "baseline",
166
- "project-instructions"
167
- ],
168
- "patternTagSuffixes": ["-patterns"]
169
- }
@@ -1,53 +0,0 @@
1
- {
2
- "_schema": "haus-hooks-fragment/1",
3
- "hooks": [
4
- {
5
- "id": "hook.guard.file-access",
6
- "gate": "keep",
7
- "event": "PreToolUse",
8
- "matcher": "Read|Edit|Write|NotebookEdit",
9
- "command": "haus guard file-access --from-hook"
10
- },
11
- {
12
- "id": "hook.guard.bash",
13
- "gate": "keep",
14
- "event": "PreToolUse",
15
- "matcher": "Bash",
16
- "command": "haus guard bash --from-hook"
17
- },
18
- {
19
- "id": "hook.decisions.guard",
20
- "gate": "keep",
21
- "event": "PreToolUse",
22
- "matcher": "Bash",
23
- "command": "haus decisions guard --from-hook"
24
- },
25
- {
26
- "id": "hook.guard.auto-merge",
27
- "gate": "keep",
28
- "event": "PreToolUse",
29
- "matcher": "mcp__ccd_pr__set_auto_merge",
30
- "command": "haus guard auto-merge --from-hook"
31
- },
32
- {
33
- "id": "hook.pr.after-merge",
34
- "gate": "keep",
35
- "event": "PostToolUse",
36
- "matcher": "Bash",
37
- "command": "haus pr after-merge --from-hook"
38
- },
39
- {
40
- "id": "hook.decisions.suggest",
41
- "gate": "keep",
42
- "event": "Stop",
43
- "matcher": "*",
44
- "command": "haus decisions suggest --from-hook"
45
- },
46
- {
47
- "id": "hook.session-label.prompt",
48
- "gate": "gate-default-off",
49
- "event": "UserPromptSubmit",
50
- "command": "haus session-label --from-hook"
51
- }
52
- ]
53
- }
@@ -1,88 +0,0 @@
1
- # project:init procedure
2
-
3
- Set up this project with haus, conversationally. The person you're helping may
4
- not be a developer — never make them open a terminal or read JSON. You run the
5
- commands; they read plain language and approve.
6
-
7
- Do this in order:
8
-
9
- 1. **Detect.** Run `haus init --json --dry-run`. Read the JSON yourself —
10
- do not show it. Stdout is one envelope:
11
- `{ scan, recommendation, hooks, repoName, warnings, items, records }`. `items` and
12
- `records` are `null` here: a dry run never reaches the apply step.
13
- Translate `scan` into one or two plain sentences, e.g. "This looks like a Next.js
14
- website using Yarn. I found unit tests but no end-to-end tests." If
15
- `scan.detectionStatus` is `unknown` or `partial`, say so honestly ("I couldn't fully
16
- recognise this stack, so I'll apply the general workflow and security guidance").
17
-
18
- 2. **Apply the basics.** Run `haus apply --write`. Read the result. This installs
19
- the core guardrails and helpers — including the documentation skill haus uses
20
- in the next step.
21
-
22
- 3. **Write the project docs.** Open and follow the instructions in
23
- `.claude/skills/writing-documentation/SKILL.md`, which step 2 just installed.
24
- Following it, do a deep read of the project and:
25
- - write the project documentation (the `CLAUDE.md` body and `docs/` files).
26
- NEVER alter the `<!-- HAUS:BEGIN haus-imports … -->` … `<!-- HAUS:END … -->`
27
- block in `CLAUDE.md`; write around it.
28
- - write `.haus-workflow/deep-context.json` describing what the deep read found
29
- (roles, stacks, patterns the quick scan in step 1 could not see).
30
- If this step can't be completed for any reason, say so plainly and skip to
31
- step 6 — setup still finishes correctly with the basics from step 2.
32
-
33
- 4. **Re-check recommendations with the new understanding.** Run `haus recommend`.
34
- It re-reads `deep-context.json` and may surface extra helpers matching what the
35
- deep read discovered. You MUST run this before the next apply — `haus apply`
36
- does not re-calculate recommendations on its own.
37
-
38
- 5. **Offer optional helpers.** Read `.haus-workflow/recommendation.json` yourself
39
- (never show the JSON). Two kinds of optional extras may be listed; offer only
40
- the ones present, all **unchecked** by default — these are opt-in:
41
- - **Optional skills & agents** (`optInEligible[]`): workflow/ops/review/design
42
- helpers that don't auto-install for this stack. Group them by their
43
- `optInGroup` label and present one `AskUserQuestion` option per group
44
- (use each item's `purpose` and `tokenEstimate` to describe it in plain
45
- language, e.g. "Code review workflow — request/receive structured reviews").
46
- Opt the user in by role wherever a group has one. A chosen group has a
47
- common role when every entry's `requires` names only roles (`role=<name>`,
48
- several joined by `|` when a helper serves more than one group) and all
49
- its entries name the same role first. Collect each common role as the name
50
- after `role=` (`interview-workflow`, not `role=interview-workflow`) and run a
51
- **single** `haus recommend --declare-role <role> <role> …` with all of them:
52
- haus records them in `.haus-workflow/haus.config.json`, and a declared role
53
- also admits the shared helpers listed under other groups, which the group's
54
- own ids would miss. Then, only for chosen groups with no common role (a
55
- `requires` that names a stack or a dependency, or entries whose first roles
56
- differ), run a **single** `haus recommend --include <id> <id> …` with all of
57
- their ids. Skip a command that has nothing to pass, and never run either
58
- once per group: each run re-scores the whole catalog.
59
- - **Project config** (entries in `recommended[]` with `install: false`, e.g.
60
- Haus ESLint / Prettier baselines): offer each as a plain choice ("Add the
61
- Haus ESLint baseline"). On confirm, run `haus configs <id>`. `haus configs`
62
- **preserves existing config files by default**: it refuses a config file
63
- that differs (`refused (not owned)`). Only re-run with
64
- `haus configs <id> --force` if the user explicitly chooses to **replace**
65
- their current config; it backs the file up before replacing it.
66
-
67
- If neither list has anything, skip this step silently — don't ask an empty
68
- question.
69
-
70
- 6. **Apply the rest.** Run `haus apply --write` again. It only writes what changed,
71
- so this adds the newly-matched helpers from step 4 plus any opt-ins from step 5.
72
- Then verify the root `CLAUDE.md` imports all three haus files — add any missing:
73
-
74
- ```
75
- @.haus-workflow/WORKFLOW.md
76
- @.haus-workflow/workflow-config.md
77
- @docs/decisions/README.md
78
- ```
79
-
80
- 7. **Confirm.** End with one plain-language line, for example:
81
- "✅ Your project is configured — I wrote your project docs, added N guardrails
82
- and M coding helpers (K matched after reading your code in depth), plus the J
83
- optional helpers you chose: <name them>. Run `/haus-workflow doctor` any time to
84
- re-check." Fill the numbers from the apply output, and name the opt-ins the
85
- user picked in step 5 (omit that clause if they chose none).
86
-
87
- If anything fails, explain what happened in plain language and what you'll try
88
- next — don't dump raw errors.
@@ -1,62 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * npm postinstall hook. On a GLOBAL install of @haus-tech/haus-workflow, runs
4
- * `haus install --postinstall` automatically so a non-developer gets a working
5
- * Claude Code setup with zero manual steps — then the CLI prints exactly what it
6
- * changed in ~/.claude and how to undo it.
7
- *
8
- * Fail-open by design: this must NEVER break `npm install`. Every gate that isn't
9
- * satisfied is a silent no-op, and the whole body is wrapped so any error still
10
- * exits 0. Plain Node ESM (no tsx) because consumers don't have the dev toolchain.
11
- */
12
- import { spawnSync } from 'node:child_process'
13
- import fs from 'node:fs'
14
- import path from 'node:path'
15
- import { fileURLToPath } from 'node:url'
16
-
17
- /**
18
- * Pure gate: decides whether the postinstall should run. Kept side-effect-free and
19
- * exported so it can be unit-tested across the full env/fs matrix without spawning npm.
20
- *
21
- * @param {{ env: Record<string, string | undefined>, distExists: boolean, srcExists: boolean }} input
22
- * @returns {{ run: boolean, reason: string }}
23
- */
24
- export function shouldRunPostinstall({ env, distExists, srcExists }) {
25
- if (env.npm_config_global !== 'true') return { run: false, reason: 'not a global install' }
26
- if (env.CI) return { run: false, reason: 'CI environment' }
27
- if (env.HAUS_NO_POSTINSTALL === '1') return { run: false, reason: 'HAUS_NO_POSTINSTALL=1' }
28
- if (!distExists) return { run: false, reason: 'dist/cli.js missing' }
29
- // Published tarballs omit src/; its presence means we're in the package's own
30
- // dev checkout, where a local `yarn install` must not self-trigger.
31
- if (srcExists) return { run: false, reason: 'running inside the package dev checkout' }
32
- return { run: true, reason: 'global install' }
33
- }
34
-
35
- /** Entry point: runs only when this file is invoked directly (not when imported by a test). */
36
- function main() {
37
- try {
38
- const pkgRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..')
39
- const cliPath = path.join(pkgRoot, 'dist', 'cli.js')
40
- const decision = shouldRunPostinstall({
41
- env: process.env,
42
- distExists: fs.existsSync(cliPath),
43
- srcExists: fs.existsSync(path.join(pkgRoot, 'src')),
44
- })
45
-
46
- if (!decision.run) {
47
- if (process.env.HAUS_DEBUG) console.error(`[haus postinstall] skipped: ${decision.reason}`)
48
- process.exit(0)
49
- }
50
-
51
- // Non-fatal: a nonzero CLI exit must not fail `npm install`.
52
- spawnSync(process.execPath, [cliPath, 'install', '--postinstall'], { stdio: 'inherit' })
53
- } catch (err) {
54
- if (process.env.HAUS_DEBUG) console.error(`[haus postinstall] error (ignored): ${err}`)
55
- }
56
- process.exit(0)
57
- }
58
-
59
- // Run only as a script, never when imported.
60
- if (process.argv[1] && fileURLToPath(import.meta.url) === path.resolve(process.argv[1])) {
61
- main()
62
- }