@joshuafolkken/kit 1.921.0 → 1.947.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.
- package/.claude/skills/workflow-commands/background-commands.md +6 -0
- package/.claude/skills/workflow-commands/backlogrun-child.md +1 -1
- package/.claude/skills/workflow-commands/backlogrun-lanes.md +4 -3
- package/.claude/skills/workflow-commands/backlogrun-progress.md +13 -12
- package/.claude/skills/workflow-commands/backlogrun-steps.md +2 -1
- package/.claude/skills/workflow-commands/observation-filing.md +3 -3
- package/.claude/skills/workflow-commands/prerequisite.md +1 -1
- package/.github/workflows/ci.yml +26 -8
- package/.github/workflows/pr-classification.yml +76 -0
- package/README.md +47 -21
- package/dist/hooks/batch-guard.js +6 -6
- package/dist/hooks/{chunk-LC765SUA.js → chunk-3FWV6CFC.js} +119 -20
- package/dist/hooks/{chunk-UULARQ5Q.js → chunk-EYFJ74MJ.js} +13 -15
- package/dist/hooks/{chunk-O2FBZPSW.js → chunk-GIX5SAAB.js} +248 -231
- package/dist/hooks/{chunk-OLTAGGHH.js → chunk-IA7WC4NS.js} +1 -1
- package/dist/hooks/{chunk-UANRLZV7.js → chunk-IBFC25IX.js} +4 -4
- package/dist/hooks/{chunk-XMR3BS35.js → chunk-M4U4YNRE.js} +3 -3
- package/dist/hooks/{chunk-NWD47MW3.js → chunk-NKVLBB65.js} +3 -3
- package/dist/hooks/{chunk-OYU6KPRA.js → chunk-O3PEDF3M.js} +2 -2
- package/dist/hooks/{chunk-3HZ5MJIW.js → chunk-OM5VDM6F.js} +2 -2
- package/dist/hooks/{chunk-SSX23SJ2.js → chunk-RKUAD3I6.js} +1 -0
- package/dist/hooks/{chunk-77RLKZ5V.js → chunk-V7RH56HU.js} +2 -2
- package/dist/hooks/{chunk-FXAKJKTB.js → chunk-WPALEIRX.js} +1 -1
- package/dist/hooks/codex-hook-adapter.js +12 -12
- package/dist/hooks/duplicate-read-guard.js +7 -7
- package/dist/hooks/format-edited.js +3 -3
- package/dist/hooks/investigation-guard.js +7 -7
- package/dist/hooks/pretool-guard.js +11 -11
- package/dist/hooks/session-lang.js +2 -2
- package/dist/hooks/stop-guard.js +11 -5
- package/dist/josh.js +12 -14
- package/eslint/base.js +4 -1
- package/package.json +21 -6
- package/playwright.config.ts +9 -17
- package/ports/index.d.ts +1 -0
- package/ports/index.js +1 -0
- package/ports/web-server.d.ts +5 -0
- package/ports/web-server.js +73 -0
- package/prompts/collaboration-workflow/issue-template.md +1 -1
- package/scripts/agent/agent-role-profile.ts +11 -0
- package/scripts/ci/pr-classification.ts +27 -6
- package/scripts/document/document-byte-budget.ts +1 -1
- package/scripts/gate/hook-gate-reuse.ts +1 -1
- package/scripts/gate/project-checks.ts +60 -6
- package/scripts/gate/type-check-command.ts +43 -0
- package/scripts/git/constants.ts +4 -0
- package/scripts/git/git-command.ts +11 -5
- package/scripts/git/git-gh-pr-rollup.ts +56 -16
- package/scripts/git/git-staging.ts +6 -4
- package/scripts/git/git-stash.ts +73 -1
- package/scripts/git/stash-orphans.ts +24 -2
- package/scripts/git/stash-sweep-lock.ts +141 -0
- package/scripts/hooks/stop-guard.ts +2 -0
- package/scripts/init/init-actions.ts +3 -2
- package/scripts/init/init-ai-copy.ts +8 -5
- package/scripts/init/init-logic-migrate.ts +10 -1
- package/scripts/init/init-logic-templates.ts +27 -7
- package/scripts/init/init-logic-workspace.ts +89 -5
- package/scripts/init/init-logic.ts +7 -1
- package/scripts/init/init-static.ts +4 -1
- package/scripts/init/init.ts +60 -19
- package/scripts/init/project-profile.ts +14 -5
- package/scripts/issue/issue-merged.ts +75 -0
- package/scripts/issue/measure-rerun-cli.ts +2 -2
- package/scripts/josh/__snapshots__/josh-command-map.test.ts.snap +10 -0
- package/scripts/josh/josh-command-map.ts +1 -0
- package/scripts/josh/josh-command-types.ts +0 -3
- package/scripts/josh/josh-commands-ai.ts +6 -0
- package/scripts/josh/josh-commands-development.ts +6 -19
- package/scripts/lint/format.ts +68 -0
- package/scripts/lint/lint-parallel.ts +23 -36
- package/scripts/observations/observation-ledger-home.ts +22 -2
- package/scripts/observations/observation-ledger-line.ts +11 -0
- package/scripts/observations/observation-ledger-migrate.ts +146 -0
- package/scripts/observations/observation-ledger.ts +51 -3
- package/scripts/observations/observations-flush.ts +38 -7
- package/scripts/review/review-finding-ledger.ts +1 -1
- package/scripts/review/review-record-cli.ts +1 -7
- package/scripts/rules/delivered-rules.ts +10 -0
- package/scripts/rules/lane-background.ts +111 -0
- package/scripts/rules/stop-rules.ts +15 -2
- package/scripts/run/run-carry-flush.ts +2 -7
- package/scripts/run/run-hold-cli.ts +10 -2
- package/scripts/run/run-step-cli.ts +11 -1
- package/scripts/run/run-step.ts +36 -8
- package/scripts/run/run-tidy-cli.ts +50 -0
- package/scripts/run/run-tidy-lanes.ts +110 -0
- package/scripts/run/run-tidy-stashes.ts +160 -0
- package/scripts/run/run-tidy.ts +101 -0
- package/scripts/safe-chain/ci-installer-pin.ts +90 -0
- package/scripts/safe-chain/preinstall-command.ts +39 -0
- package/scripts/sync/sync.ts +5 -2
- package/scripts/test/pilot-files.ts +0 -1
- package/scripts/version/preinstall-version-update.ts +2 -0
- package/templates/pnpm-workspace.static.yaml +4 -0
- package/templates/workflows/ci.yml +21 -7
- package/tsconfig/base.json +4 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ENV_FILE_NAME
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RKUAD3I6.js";
|
|
4
4
|
|
|
5
5
|
// scripts/lib/json-value.ts
|
|
6
6
|
function parse_or_undefined(text) {
|
|
@@ -18,7 +18,6 @@ var json_value = { parse_or_undefined, is_record };
|
|
|
18
18
|
// scripts/josh/josh-command-types.ts
|
|
19
19
|
var OPTIONAL_ENV_FILE_FLAGS = [`--env-file-if-exists=${ENV_FILE_NAME}`];
|
|
20
20
|
var GATE_COMMAND = "gate";
|
|
21
|
-
var PE = ["pnpm", "exec"];
|
|
22
21
|
var ESLINT_CACHE_FILE = ".eslintcache";
|
|
23
22
|
var TS_BUILD_INFO_FILE = ".tsbuildinfo";
|
|
24
23
|
var CSPELL_CACHE_FILE = ".cspellcache";
|
|
@@ -56,7 +55,6 @@ function content_cache_flags(cache_file) {
|
|
|
56
55
|
var ESLINT_CACHE_FLAGS = content_cache_flags(ESLINT_CACHE_FILE);
|
|
57
56
|
var ESLINT_EDIT_CACHE_FLAGS = content_cache_flags(ESLINT_EDIT_CACHE_FILE);
|
|
58
57
|
var ESLINT_RELATED_CACHE_FLAGS = content_cache_flags(ESLINT_RELATED_CACHE_FILE);
|
|
59
|
-
var TS_CACHE_FLAGS = ["--incremental", "--tsBuildInfoFile", TS_BUILD_INFO_FILE];
|
|
60
58
|
var CSPELL_CACHE_FLAGS = content_cache_flags(CSPELL_CACHE_FILE);
|
|
61
59
|
|
|
62
60
|
// scripts/cost-runtime/cost-blocks.ts
|
|
@@ -502,6 +500,12 @@ var AI_COMMANDS = {
|
|
|
502
500
|
reference: ["[issue|--force]", "automation", ["files"]],
|
|
503
501
|
default_script_arguments: ["--release"]
|
|
504
502
|
},
|
|
503
|
+
"run:tidy": {
|
|
504
|
+
script: "scripts/run/run-tidy-cli.ts",
|
|
505
|
+
description: "Close merged lanes and drop stashes whose issues are all merged",
|
|
506
|
+
category: "AI tools",
|
|
507
|
+
reference: ["", "automation", ["git", "network", "files"]]
|
|
508
|
+
},
|
|
505
509
|
"run:carry": {
|
|
506
510
|
script: "scripts/run/run-carry-cli.ts",
|
|
507
511
|
description: "Carry one invocation\u2019s budget across its own session cuts",
|
|
@@ -698,7 +702,7 @@ var DEV_COMMANDS = {
|
|
|
698
702
|
},
|
|
699
703
|
lint: {
|
|
700
704
|
script: "scripts/lint/lint-parallel.ts",
|
|
701
|
-
description: "Check code with prettier and eslint",
|
|
705
|
+
description: "Check code with prettier and eslint (skips a tool a static project lacks)",
|
|
702
706
|
category: "Development",
|
|
703
707
|
reference: ["", "developer", ["processes"]]
|
|
704
708
|
},
|
|
@@ -733,15 +737,8 @@ var DEV_COMMANDS = {
|
|
|
733
737
|
reference: ["", "developer", ["none"]]
|
|
734
738
|
},
|
|
735
739
|
format: {
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
// unused variable anywhere in the tree stops prettier from running at all.
|
|
739
|
-
shell: [
|
|
740
|
-
"sh",
|
|
741
|
-
"-c",
|
|
742
|
-
`pnpm exec prettier --write . && pnpm exec eslint . --fix ${ESLINT_CACHE_FLAGS.join(" ")}`
|
|
743
|
-
],
|
|
744
|
-
description: "Format code with prettier and eslint",
|
|
740
|
+
script: "scripts/lint/format.ts",
|
|
741
|
+
description: "Format code with prettier and eslint (skips a tool a static project lacks)",
|
|
745
742
|
category: "Development",
|
|
746
743
|
reference: ["", "developer", ["files", "processes"]]
|
|
747
744
|
},
|
|
@@ -853,8 +850,8 @@ var DEV_COMMANDS = {
|
|
|
853
850
|
argument_targets: ["test:unit", "test:e2e"]
|
|
854
851
|
},
|
|
855
852
|
check: {
|
|
856
|
-
|
|
857
|
-
description: "Type-check TypeScript
|
|
853
|
+
script: "scripts/gate/type-check-command.ts",
|
|
854
|
+
description: "Type-check with tsc (skips a static project with no TypeScript to check)",
|
|
858
855
|
category: "Development",
|
|
859
856
|
reference: ["[arguments...]", "developer", ["processes"]]
|
|
860
857
|
},
|
|
@@ -1343,6 +1340,7 @@ var ALIASES = {
|
|
|
1343
1340
|
rh: "run:hold",
|
|
1344
1341
|
rr: "run:release",
|
|
1345
1342
|
rc: "run:carry",
|
|
1343
|
+
rtd: "run:tidy",
|
|
1346
1344
|
rw: "run:wake",
|
|
1347
1345
|
rct: "run:cut",
|
|
1348
1346
|
rv: "run:liveness",
|