tldr-experts 0.18.0 → 0.18.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/CHANGELOG.md +270 -0
- package/README.md +17 -0
- package/dist/hooks/answer-capture.js +28 -11
- package/dist/hooks/budget-gate.js +9 -9
- package/dist/hooks/{chunk-qdvwnts3.js → chunk-1v05a468.js} +1 -1
- package/dist/hooks/{chunk-vmhfw2r1.js → chunk-2caxb41h.js} +1 -1
- package/dist/hooks/{chunk-msswet35.js → chunk-2ym87z6d.js} +1 -1
- package/dist/hooks/{chunk-xxcy0tsa.js → chunk-4y3pk4n2.js} +7 -3
- package/dist/hooks/{chunk-p0ns6fex.js → chunk-8ak5kwd5.js} +1 -1
- package/dist/hooks/{chunk-rr7n3j59.js → chunk-afttzftj.js} +22 -7
- package/dist/hooks/{chunk-77y6q9mt.js → chunk-c1h38et6.js} +29 -2
- package/dist/hooks/{chunk-00h4xah7.js → chunk-gx6qa496.js} +22 -2
- package/dist/hooks/{chunk-4mjxyfp9.js → chunk-hwsng0xq.js} +1 -1
- package/dist/hooks/{chunk-26xkmfdr.js → chunk-kwaqdq9w.js} +3 -3
- package/dist/hooks/{chunk-7hhjx1wk.js → chunk-nf2j945p.js} +3 -3
- package/dist/hooks/{chunk-ds9sew2e.js → chunk-pday823f.js} +1 -1
- package/dist/hooks/{chunk-ab6cv5v5.js → chunk-vf992pfw.js} +1 -1
- package/dist/hooks/{chunk-rw9zk47w.js → chunk-wx1jce1t.js} +17 -7
- package/dist/hooks/{chunk-bm9aqtg3.js → chunk-x00a2vaz.js} +2 -2
- package/dist/hooks/claim-sources.js +5 -5
- package/dist/hooks/dod-gate.js +8 -8
- package/dist/hooks/no-reask.js +8 -8
- package/dist/hooks/session-start.js +13 -13
- package/dist/hooks/statusline.js +9 -9
- package/dist/tldrx.js +1428 -700
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
|
@@ -7654,6 +7654,18 @@ function allowlistIssue(command, allowed, subject) {
|
|
|
7654
7654
|
return allowed.has(command) ? null : notDeclaredMessage(command, subject);
|
|
7655
7655
|
}
|
|
7656
7656
|
var ITERATION_ONLY_SLOT = "test_fast";
|
|
7657
|
+
var SCOPED_SUFFIX = "_scoped";
|
|
7658
|
+
var PATHS_PLACEHOLDER = "{{paths}}";
|
|
7659
|
+
function scopedSlotOf(slot) {
|
|
7660
|
+
if (!slot.endsWith(SCOPED_SUFFIX))
|
|
7661
|
+
return null;
|
|
7662
|
+
const base = slot.slice(0, -SCOPED_SUFFIX.length);
|
|
7663
|
+
return base === "" ? null : base;
|
|
7664
|
+
}
|
|
7665
|
+
function isScopedTemplate(value) {
|
|
7666
|
+
const words = value.split(/\s+/).filter((w) => w !== "");
|
|
7667
|
+
return words.filter((w) => w === PATHS_PLACEHOLDER).length === 1 && !words.some((w) => w !== PATHS_PLACEHOLDER && w.includes(PATHS_PLACEHOLDER));
|
|
7668
|
+
}
|
|
7657
7669
|
// src/core/schemas/story.ts
|
|
7658
7670
|
var DOD_FENCE_OPEN_RE = /^\s*```+\s*dod\s*$/i;
|
|
7659
7671
|
var DOD_FENCE_CLOSE_RE = /^\s*```+\s*$/;
|
|
@@ -8779,6 +8791,8 @@ function loadWorkspace(root) {
|
|
|
8779
8791
|
const commandRoles = new Map;
|
|
8780
8792
|
const commandProbes = new Map;
|
|
8781
8793
|
const iterationCommands = new Set;
|
|
8794
|
+
const scopedCommands = new Map;
|
|
8795
|
+
const scopedTemplates = new Set;
|
|
8782
8796
|
const defaultBranches = new Map;
|
|
8783
8797
|
let seedTriageThresholdTokens = null;
|
|
8784
8798
|
const empty = () => ({
|
|
@@ -8789,6 +8803,8 @@ function loadWorkspace(root) {
|
|
|
8789
8803
|
commandRoles,
|
|
8790
8804
|
commandProbes,
|
|
8791
8805
|
iterationCommands,
|
|
8806
|
+
scopedCommands,
|
|
8807
|
+
scopedTemplates,
|
|
8792
8808
|
defaultBranches,
|
|
8793
8809
|
seedTriageThresholdTokens
|
|
8794
8810
|
});
|
|
@@ -8820,13 +8836,24 @@ function loadWorkspace(root) {
|
|
|
8820
8836
|
defaultBranches.set(entry.name, typeof entry.default_branch === "string" && entry.default_branch !== "" ? entry.default_branch : FALLBACK_DEFAULT_BRANCH);
|
|
8821
8837
|
const own = [];
|
|
8822
8838
|
const roles = declared.get(entry.name) ?? new Map;
|
|
8823
|
-
|
|
8839
|
+
const scoped = new Map;
|
|
8840
|
+
for (const [role, value] of roles) {
|
|
8841
|
+
const base = scopedSlotOf(role);
|
|
8842
|
+
if (base !== null) {
|
|
8843
|
+
const full = roles.get(base);
|
|
8844
|
+
if (full !== undefined && scopedSlotOf(base) === null && isScopedTemplate(value)) {
|
|
8845
|
+
scoped.set(full, value);
|
|
8846
|
+
scopedTemplates.add(value);
|
|
8847
|
+
}
|
|
8848
|
+
continue;
|
|
8849
|
+
}
|
|
8824
8850
|
commands.add(value);
|
|
8825
8851
|
if (!own.includes(value))
|
|
8826
8852
|
own.push(value);
|
|
8827
8853
|
}
|
|
8828
8854
|
repoCommands.set(entry.name, own);
|
|
8829
8855
|
commandRoles.set(entry.name, roles);
|
|
8856
|
+
scopedCommands.set(entry.name, scoped);
|
|
8830
8857
|
const fast = roles.get(ITERATION_ONLY_SLOT);
|
|
8831
8858
|
if (fast !== undefined)
|
|
8832
8859
|
iterationCommands.add(fast);
|
|
@@ -9153,4 +9180,4 @@ function noneBullet(lookedAt) {
|
|
|
9153
9180
|
return `- none [src: absent:${lookedAt}]`;
|
|
9154
9181
|
}
|
|
9155
9182
|
|
|
9156
|
-
export { runtime, parseYaml, parseYamlRepairing, FRAMEWORK_ROOT, STAGES_DIR, WORKFLOWS_DIR, TEMPLATES_DIR, PROJECT_FRAMEWORK_DIR, PROJECT_WORK_DIR, SRC_SEPARATOR, srcToken, readableSource, SRC_PATTERNS, srcRule, parseSrcToken, withoutSrcToken, classifySrc, result, requireVersion, isRecord, requireKeys, requireEnum, requireArray, requireNumber, requireString, requireRecord, asDocument, STORY_ID_RE, WAVE_ID_RE, PLAN_STATUSES, MAX_WAVES, MAX_STORIES_PER_WAVE, MAX_PLAN_STORIES, requireStringList, requirePattern, requireVersion1, parseFrontMatter, allowlistIssue, ITERATION_ONLY_SLOT, readStory, DodCommandRefused, runDodCommand, commandProbeIssues, locateWork, findWorkspaceRoot, loadWorkspace, toSrcContext, repoPath, factsPath, stageYamlPath, listRunDirs, parseHandoff, isHandoff, BULLET_RULE, EMPTY_SECTION_RULE, validateHandoff, validateCitations, noneBullet };
|
|
9183
|
+
export { runtime, parseYaml, parseYamlRepairing, FRAMEWORK_ROOT, STAGES_DIR, WORKFLOWS_DIR, TEMPLATES_DIR, PROJECT_FRAMEWORK_DIR, PROJECT_WORK_DIR, SRC_SEPARATOR, srcToken, readableSource, SRC_PATTERNS, srcRule, parseSrcToken, withoutSrcToken, classifySrc, result, requireVersion, isRecord, requireKeys, requireEnum, requireArray, requireNumber, requireString, requireRecord, asDocument, STORY_ID_RE, WAVE_ID_RE, PLAN_STATUSES, MAX_WAVES, MAX_STORIES_PER_WAVE, MAX_PLAN_STORIES, requireStringList, requirePattern, requireVersion1, parseFrontMatter, allowlistIssue, ITERATION_ONLY_SLOT, scopedSlotOf, isScopedTemplate, readStory, DodCommandRefused, runDodCommand, commandProbeIssues, locateWork, findWorkspaceRoot, loadWorkspace, toSrcContext, repoPath, factsPath, stageYamlPath, listRunDirs, parseHandoff, isHandoff, BULLET_RULE, EMPTY_SECTION_RULE, validateHandoff, validateCitations, noneBullet };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
GATE_POLICIES,
|
|
3
3
|
validateGatesPolicy,
|
|
4
4
|
validateStagePolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4y3pk4n2.js";
|
|
6
6
|
import {
|
|
7
7
|
asDocument,
|
|
8
8
|
isRecord,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
requireString,
|
|
16
16
|
requireVersion,
|
|
17
17
|
result
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-c1h38et6.js";
|
|
19
19
|
|
|
20
20
|
// src/core/events/EventLog.ts
|
|
21
21
|
import { appendFileSync, existsSync, mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -52,6 +52,7 @@ var EVENT_TYPES = [
|
|
|
52
52
|
"story.review_retried",
|
|
53
53
|
"story.work_rescued",
|
|
54
54
|
"story.touches_widened",
|
|
55
|
+
"epic.released",
|
|
55
56
|
"worktree.foreign_work_aside",
|
|
56
57
|
"worktree.foreign_work_restored",
|
|
57
58
|
"result.unreadable",
|
|
@@ -467,6 +468,8 @@ var GATE_EXECUTOR_TYPES = ["human", "agent", "auto"];
|
|
|
467
468
|
var GATE_AUTHORITY_TYPES = ["direct", "delegated"];
|
|
468
469
|
var GATE_AUTHORITY_SOURCES = ["self", "run.created", "gate.policy_changed", "unrecorded"];
|
|
469
470
|
var TRIAGE_BUDGET_BASES = ["model-guess", "owner-grant", "preset"];
|
|
471
|
+
var EPIC_RELEASE_OUTCOMES = ["deleted", "renamed"];
|
|
472
|
+
var EPIC_RELEASE_VIAS = ["run cancel", "build"];
|
|
470
473
|
var RUN_OUTCOME_KINDS = ["delivered", "partial", "nothing-delivered", "n/a"];
|
|
471
474
|
var OUTCOME_NOT_RECORDED = "not recorded — this run.yml was written before `outcome:` existed, and nothing can derive it now";
|
|
472
475
|
function isTerminal(status) {
|
|
@@ -559,6 +562,23 @@ function validateRunFile(input) {
|
|
|
559
562
|
message: `expected one of ${BRANCH_MODELS.join(" | ")}`
|
|
560
563
|
});
|
|
561
564
|
}
|
|
565
|
+
if (requireArray(doc.build.epic_released, "build.epic_released", issues)) {
|
|
566
|
+
doc.build.epic_released.forEach((row, i) => {
|
|
567
|
+
const path = `build.epic_released[${i}]`;
|
|
568
|
+
if (!isRecord(row)) {
|
|
569
|
+
issues.push({ path, message: "expected a mapping" });
|
|
570
|
+
return;
|
|
571
|
+
}
|
|
572
|
+
requireKeys(row, ["branch", "repo", "outcome", "commits", "base", "via", "at", "reason"], path, issues);
|
|
573
|
+
for (const key of ["branch", "repo", "base", "at", "reason"])
|
|
574
|
+
requireString(row[key], `${path}.${key}`, issues);
|
|
575
|
+
requireEnum(row.outcome, EPIC_RELEASE_OUTCOMES, `${path}.outcome`, issues);
|
|
576
|
+
requireEnum(row.via, EPIC_RELEASE_VIAS, `${path}.via`, issues);
|
|
577
|
+
requireNumber(row.commits, `${path}.commits`, issues);
|
|
578
|
+
if (row.renamed_to !== undefined)
|
|
579
|
+
requireString(row.renamed_to, `${path}.renamed_to`, issues);
|
|
580
|
+
});
|
|
581
|
+
}
|
|
562
582
|
} else {
|
|
563
583
|
issues.push({ path: "build", message: "expected a mapping" });
|
|
564
584
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
withWorkspaceLock,
|
|
4
4
|
workspaceRootOfFactsPath,
|
|
5
5
|
writeAtomic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-vf992pfw.js";
|
|
7
7
|
import {
|
|
8
8
|
FACT_CONFIDENCES,
|
|
9
9
|
FACT_DECIDERS,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
isLive,
|
|
16
16
|
isRetired,
|
|
17
17
|
noteDeprecations
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-8ak5kwd5.js";
|
|
19
19
|
import {
|
|
20
20
|
SRC_PATTERNS,
|
|
21
21
|
asDocument,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requireString,
|
|
29
29
|
requireVersion,
|
|
30
30
|
result
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-c1h38et6.js";
|
|
32
32
|
|
|
33
33
|
// src/core/facts/FactsStore.ts
|
|
34
34
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findDuplicate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-kwaqdq9w.js";
|
|
4
4
|
import {
|
|
5
5
|
evidencePath,
|
|
6
6
|
gateEvidencePath,
|
|
7
7
|
parseEvidence
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-gx6qa496.js";
|
|
9
9
|
import {
|
|
10
10
|
openBlocks,
|
|
11
11
|
parseQuestions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-8ak5kwd5.js";
|
|
13
13
|
|
|
14
14
|
// src/core/distill/distill.ts
|
|
15
15
|
var CONFLICT_THRESHOLD = 0.6;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PROJECT_FRAMEWORK_DIR,
|
|
3
3
|
PROJECT_WORK_DIR
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-c1h38et6.js";
|
|
5
5
|
|
|
6
6
|
// src/core/lock/workspaceLock.ts
|
|
7
7
|
import { existsSync as existsSync2, mkdirSync as mkdirSync2, openSync, readFileSync as readFileSync2, rmSync as rmSync2, writeSync, closeSync } from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
STAGE_TUNING_DEFAULTS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4y3pk4n2.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_PLAN_STORIES,
|
|
6
6
|
MAX_STORIES_PER_WAVE,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
requireVersion,
|
|
26
26
|
requireVersion1,
|
|
27
27
|
result
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-c1h38et6.js";
|
|
29
29
|
|
|
30
30
|
// src/hooks/lib/actor.ts
|
|
31
31
|
function currentActor() {
|
|
@@ -764,6 +764,7 @@ import { existsSync as existsSync4, readFileSync as readFileSync4 } from "node:f
|
|
|
764
764
|
import { join as join4 } from "node:path";
|
|
765
765
|
|
|
766
766
|
// src/core/schemas/budget.ts
|
|
767
|
+
var BUDGET_REQUIRED_KEYS = ["run", "ceiling_usd", "spent_usd", "per_phase_usd"];
|
|
767
768
|
function validateBudget(input) {
|
|
768
769
|
const issues = [];
|
|
769
770
|
const deprecations = [];
|
|
@@ -771,7 +772,7 @@ function validateBudget(input) {
|
|
|
771
772
|
if (!doc)
|
|
772
773
|
return result(issues);
|
|
773
774
|
requireVersion(doc, issues, deprecations);
|
|
774
|
-
requireKeys(doc,
|
|
775
|
+
requireKeys(doc, BUDGET_REQUIRED_KEYS, "", issues);
|
|
775
776
|
requireString(doc.run, "run", issues);
|
|
776
777
|
requireNumber(doc.ceiling_usd, "ceiling_usd", issues);
|
|
777
778
|
requireNumber(doc.spent_usd, "spent_usd", issues);
|
|
@@ -786,10 +787,12 @@ function validateBudget(input) {
|
|
|
786
787
|
return result(issues, deprecations);
|
|
787
788
|
}
|
|
788
789
|
|
|
790
|
+
// src/core/plan/validatePlan.ts
|
|
791
|
+
var PLAN_BUDGET_FILE = "budget.yml";
|
|
792
|
+
|
|
789
793
|
// src/core/build/plan.ts
|
|
790
794
|
var BUILD_PHASE = "04-build";
|
|
791
795
|
var PLAN_PHASE = "03-plan";
|
|
792
|
-
var PLAN_BUDGET_FILE = "budget.yml";
|
|
793
796
|
function loadPlanPrices(planDir, stories) {
|
|
794
797
|
const empty = new Map;
|
|
795
798
|
const path = join4(planDir, PLAN_BUDGET_FILE);
|
|
@@ -965,8 +968,10 @@ function looksLikeSpawnError(detail) {
|
|
|
965
968
|
var MAX_ATTEMPTS = STAGE_TUNING_DEFAULTS.attempts;
|
|
966
969
|
var REVIEWER_SHARE = STAGE_TUNING_DEFAULTS.reviewerShare;
|
|
967
970
|
var REVIEWER_FLOOR_USD = 1;
|
|
968
|
-
|
|
969
|
-
|
|
971
|
+
var STORY_CAP_MULTIPLIER = STAGE_TUNING_DEFAULTS.storyCapMultiplier;
|
|
972
|
+
var STORY_CAP_FLOOR_USD = STAGE_TUNING_DEFAULTS.storyCapFloorUsd;
|
|
973
|
+
function developerAttemptDivisor(attempt, attempts = MAX_ATTEMPTS) {
|
|
974
|
+
return attempt <= 1 ? 1 : attempts;
|
|
970
975
|
}
|
|
971
976
|
function remainingWork(input) {
|
|
972
977
|
try {
|
|
@@ -1091,7 +1096,7 @@ class CapMath {
|
|
|
1091
1096
|
const price = this.priceOf(storyId);
|
|
1092
1097
|
if (price === null)
|
|
1093
1098
|
return this.agentCap(1 / this.worstCaseShares());
|
|
1094
|
-
return this.agentCap(this.shareOf(price /
|
|
1099
|
+
return this.agentCap(this.shareOf(this.storyCeiling(price) / developerAttemptDivisor(attempt, this.attempts())));
|
|
1095
1100
|
}
|
|
1096
1101
|
reviewer(storyId) {
|
|
1097
1102
|
const price = this.priceOf(storyId);
|
|
@@ -1100,6 +1105,11 @@ class CapMath {
|
|
|
1100
1105
|
const floor = Math.min(REVIEWER_FLOOR_USD, Math.max(this.input.stageBudgetUsd - this.input.stageSpentUsd, 0));
|
|
1101
1106
|
return round2(Math.min(Math.max(derived, floor), this.maxBudgetUsd));
|
|
1102
1107
|
}
|
|
1108
|
+
storyCeiling(price) {
|
|
1109
|
+
const declared = this.input.storyCapFloorUsd ?? STORY_CAP_FLOOR_USD;
|
|
1110
|
+
const floor = this.input.stageBudgetUsd > 0 ? Math.min(declared, this.input.stageBudgetUsd) : declared;
|
|
1111
|
+
return Math.max(price * (this.input.storyCapMultiplier ?? STORY_CAP_MULTIPLIER), floor);
|
|
1112
|
+
}
|
|
1103
1113
|
priceOf(storyId) {
|
|
1104
1114
|
const price = this.prices.get(storyId);
|
|
1105
1115
|
if (price === undefined || !Number.isFinite(price) || price <= 0)
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
STAGE_TUNING_DEFAULTS,
|
|
4
4
|
parseWorkflowGates,
|
|
5
5
|
readStageTuning
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4y3pk4n2.js";
|
|
7
7
|
import {
|
|
8
8
|
PROJECT_FRAMEWORK_DIR,
|
|
9
9
|
STAGES_DIR,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
isRecord,
|
|
13
13
|
loadWorkspace,
|
|
14
14
|
parseYaml
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-c1h38et6.js";
|
|
16
16
|
|
|
17
17
|
// src/core/run/workflowPreset.ts
|
|
18
18
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
wouldBeContent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-1v05a468.js";
|
|
5
5
|
import {
|
|
6
6
|
claimSourcesDeny,
|
|
7
7
|
claimSourcesEmptySectionDeny,
|
|
8
8
|
claimSourcesMalformedDeny,
|
|
9
9
|
claimSourcesUnresolvedDeny
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2caxb41h.js";
|
|
11
11
|
import {
|
|
12
12
|
allow,
|
|
13
13
|
deny,
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
postContext,
|
|
17
17
|
readPayload,
|
|
18
18
|
runHook
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import"./chunk-
|
|
19
|
+
} from "./chunk-2ym87z6d.js";
|
|
20
|
+
import"./chunk-pday823f.js";
|
|
21
21
|
import {
|
|
22
22
|
isHandoff,
|
|
23
23
|
loadWorkspace,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
toSrcContext,
|
|
26
26
|
validateCitations,
|
|
27
27
|
validateHandoff
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-c1h38et6.js";
|
|
29
29
|
|
|
30
30
|
// src/hooks/claim-sources.ts
|
|
31
31
|
await runHook("claim-sources", async () => {
|
package/dist/hooks/dod-gate.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
wouldBeContent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-1v05a468.js";
|
|
5
5
|
import {
|
|
6
6
|
dodGateDeny,
|
|
7
7
|
dodGateInternalErrorDeny,
|
|
8
8
|
dodGateMissingBlockDeny,
|
|
9
9
|
dodGateRefusedCommandDeny
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2caxb41h.js";
|
|
11
11
|
import {
|
|
12
12
|
allow,
|
|
13
13
|
deny,
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
filePathOf,
|
|
16
16
|
isWriteOrEdit,
|
|
17
17
|
readPayload
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-
|
|
18
|
+
} from "./chunk-2ym87z6d.js";
|
|
19
|
+
import"./chunk-pday823f.js";
|
|
20
20
|
import {
|
|
21
21
|
DEFAULT_TIMEOUT_S,
|
|
22
22
|
buildStageDefaults
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-x00a2vaz.js";
|
|
24
24
|
import {
|
|
25
25
|
loadRunView
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import"./chunk-
|
|
26
|
+
} from "./chunk-hwsng0xq.js";
|
|
27
|
+
import"./chunk-4y3pk4n2.js";
|
|
28
28
|
import {
|
|
29
29
|
DodCommandRefused,
|
|
30
30
|
loadWorkspace,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
readStory,
|
|
33
33
|
repoPath,
|
|
34
34
|
runDodCommand
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-c1h38et6.js";
|
|
36
36
|
|
|
37
37
|
// src/hooks/dod-gate.ts
|
|
38
38
|
import { basename, join } from "node:path";
|
package/dist/hooks/no-reask.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
wouldBeContent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-1v05a468.js";
|
|
5
5
|
import {
|
|
6
6
|
noReAskDeny
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2caxb41h.js";
|
|
8
8
|
import {
|
|
9
9
|
FactsStore
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-kwaqdq9w.js";
|
|
11
11
|
import {
|
|
12
12
|
allow,
|
|
13
13
|
deny,
|
|
@@ -15,17 +15,17 @@ import {
|
|
|
15
15
|
isWriteOrEdit,
|
|
16
16
|
readPayload,
|
|
17
17
|
runHook
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-
|
|
20
|
-
import"./chunk-
|
|
18
|
+
} from "./chunk-2ym87z6d.js";
|
|
19
|
+
import"./chunk-pday823f.js";
|
|
20
|
+
import"./chunk-vf992pfw.js";
|
|
21
21
|
import {
|
|
22
22
|
openBlocks,
|
|
23
23
|
parseQuestions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-8ak5kwd5.js";
|
|
25
25
|
import {
|
|
26
26
|
factsPath,
|
|
27
27
|
locateWork
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-c1h38et6.js";
|
|
29
29
|
|
|
30
30
|
// src/hooks/no-reask.ts
|
|
31
31
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
questionsCard
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-nf2j945p.js";
|
|
5
|
+
import"./chunk-kwaqdq9w.js";
|
|
6
6
|
import {
|
|
7
7
|
allow,
|
|
8
8
|
readPayload,
|
|
9
9
|
runHook,
|
|
10
10
|
sessionContext
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import"./chunk-
|
|
11
|
+
} from "./chunk-2ym87z6d.js";
|
|
12
|
+
import"./chunk-pday823f.js";
|
|
13
13
|
import {
|
|
14
14
|
RunStore,
|
|
15
15
|
closedByMachine,
|
|
@@ -20,27 +20,27 @@ import {
|
|
|
20
20
|
runSnapshot,
|
|
21
21
|
statusWithOutcome,
|
|
22
22
|
whatIsWaiting
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-afttzftj.js";
|
|
24
24
|
import {
|
|
25
25
|
expertsDir,
|
|
26
26
|
loadExperts,
|
|
27
27
|
pathsIntersect,
|
|
28
28
|
readExpertDomain,
|
|
29
29
|
stackExpertNames
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-wx1jce1t.js";
|
|
31
31
|
import {
|
|
32
32
|
isFinished
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import"./chunk-
|
|
33
|
+
} from "./chunk-gx6qa496.js";
|
|
34
|
+
import"./chunk-x00a2vaz.js";
|
|
35
35
|
import {
|
|
36
36
|
openRunViews
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import"./chunk-
|
|
39
|
-
import"./chunk-
|
|
37
|
+
} from "./chunk-hwsng0xq.js";
|
|
38
|
+
import"./chunk-4y3pk4n2.js";
|
|
39
|
+
import"./chunk-vf992pfw.js";
|
|
40
40
|
import {
|
|
41
41
|
openBlocks,
|
|
42
42
|
parseQuestions
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-8ak5kwd5.js";
|
|
44
44
|
import {
|
|
45
45
|
PROJECT_FRAMEWORK_DIR,
|
|
46
46
|
PROJECT_WORK_DIR,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
isRecord,
|
|
51
51
|
listRunDirs,
|
|
52
52
|
parseYaml
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-c1h38et6.js";
|
|
54
54
|
|
|
55
55
|
// src/core/status/PendingItem.ts
|
|
56
56
|
function isPending(item) {
|
package/dist/hooks/statusline.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
bar,
|
|
4
4
|
runSnapshot
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
5
|
+
} from "./chunk-afttzftj.js";
|
|
6
|
+
import"./chunk-wx1jce1t.js";
|
|
7
|
+
import"./chunk-gx6qa496.js";
|
|
8
|
+
import"./chunk-x00a2vaz.js";
|
|
9
|
+
import"./chunk-hwsng0xq.js";
|
|
10
|
+
import"./chunk-4y3pk4n2.js";
|
|
11
|
+
import"./chunk-vf992pfw.js";
|
|
12
|
+
import"./chunk-8ak5kwd5.js";
|
|
13
13
|
import {
|
|
14
14
|
findWorkspaceRoot,
|
|
15
15
|
runtime
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-c1h38et6.js";
|
|
17
17
|
|
|
18
18
|
// src/core/statusline/renderStatusLine.ts
|
|
19
19
|
var NO_SESSION_DATA = "[tldrx] no session data";
|