@codedrifters/configulator 0.0.281 → 0.0.282
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/lib/index.d.mts +46 -2
- package/lib/index.d.ts +46 -2
- package/lib/index.js +217 -131
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +217 -131
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -2424,6 +2424,12 @@ interface ScheduledTaskOverride {
|
|
|
2424
2424
|
* array not allowed; use `undefined` to keep the default.
|
|
2425
2425
|
*/
|
|
2426
2426
|
readonly phaseLabels?: ReadonlyArray<string>;
|
|
2427
|
+
/**
|
|
2428
|
+
* Discriminator for the rendered `SKILL.md` shape and the rendered
|
|
2429
|
+
* registered-tasks table cell. Defaults to the registry entry's
|
|
2430
|
+
* value. See `ScheduledTaskEntry.kind` for semantics.
|
|
2431
|
+
*/
|
|
2432
|
+
readonly kind?: "issue-worker" | "pipeline";
|
|
2427
2433
|
}
|
|
2428
2434
|
/**
|
|
2429
2435
|
* Fully consumer-authored scheduled-task entry. Entries whose `taskId`
|
|
@@ -2470,6 +2476,28 @@ interface ScheduledTaskEntry {
|
|
|
2470
2476
|
readonly cron?: string | null;
|
|
2471
2477
|
/** One-line description for the rendered table and SKILL.md frontmatter. */
|
|
2472
2478
|
readonly description?: string;
|
|
2479
|
+
/**
|
|
2480
|
+
* Discriminator that controls how the task's `SKILL.md` body and
|
|
2481
|
+
* registered-tasks table cell are rendered.
|
|
2482
|
+
*
|
|
2483
|
+
* - `"issue-worker"` (default) — the task delegates one unit of work
|
|
2484
|
+
* to the generic `issue-worker` agent. The rendered SKILL.md
|
|
2485
|
+
* instructs the worker to follow `.claude/agents/issue-worker.md`
|
|
2486
|
+
* with the `type:*` / phase-label filter applied at the
|
|
2487
|
+
* find-an-issue step. The registered-tasks table renders the
|
|
2488
|
+
* `type:*` filter normally.
|
|
2489
|
+
* - `"pipeline"` — the task runs an end-to-end pipeline (e.g. the
|
|
2490
|
+
* orchestrator's full cycle: pre-flight PR merge, unblock,
|
|
2491
|
+
* maintenance, queue scan, delegate, cleanup). The rendered
|
|
2492
|
+
* SKILL.md skips the issue-worker contract and points the operator
|
|
2493
|
+
* at the target sub-agent for the full workflow. The
|
|
2494
|
+
* registered-tasks table renders `_(none — pipeline manager)_`
|
|
2495
|
+
* for the type-label cell because pipeline tasks orchestrate other
|
|
2496
|
+
* workers rather than filtering on a single label themselves.
|
|
2497
|
+
*
|
|
2498
|
+
* Defaults to `"issue-worker"`.
|
|
2499
|
+
*/
|
|
2500
|
+
readonly kind?: "issue-worker" | "pipeline";
|
|
2473
2501
|
}
|
|
2474
2502
|
/**
|
|
2475
2503
|
* Per-agent scheduled-task configuration consumed by the `orchestrator`
|
|
@@ -3766,6 +3794,12 @@ declare function renderRunRatioShellHelpers(ratio: ResolvedRunRatio): string;
|
|
|
3766
3794
|
*/
|
|
3767
3795
|
declare const SCHEDULED_TASK_MODEL_VALUES: readonly ["opus", "sonnet", "haiku"];
|
|
3768
3796
|
type ScheduledTaskModel = (typeof SCHEDULED_TASK_MODEL_VALUES)[number];
|
|
3797
|
+
/**
|
|
3798
|
+
* Valid `kind` values for a scheduled-task entry. See
|
|
3799
|
+
* `ScheduledTaskEntry.kind` for semantics.
|
|
3800
|
+
*/
|
|
3801
|
+
declare const SCHEDULED_TASK_KIND_VALUES: readonly ["issue-worker", "pipeline"];
|
|
3802
|
+
type ScheduledTaskKind = (typeof SCHEDULED_TASK_KIND_VALUES)[number];
|
|
3769
3803
|
/**
|
|
3770
3804
|
* Default root directory (relative to the repo root) for scheduled-task
|
|
3771
3805
|
* files. Mirrors the vortex layout — one directory per task at
|
|
@@ -3850,6 +3884,15 @@ interface ResolvedScheduledTask {
|
|
|
3850
3884
|
* frontmatter.
|
|
3851
3885
|
*/
|
|
3852
3886
|
readonly description: string;
|
|
3887
|
+
/**
|
|
3888
|
+
* Discriminator controlling how the SKILL.md body and the registered-
|
|
3889
|
+
* tasks table cell are rendered. `"issue-worker"` (default) emits the
|
|
3890
|
+
* standard delegate-to-issue-worker prompt; `"pipeline"` emits a
|
|
3891
|
+
* pipeline-manager prompt that points the operator at the target
|
|
3892
|
+
* sub-agent's full workflow and renders `_(none — pipeline manager)_`
|
|
3893
|
+
* for the type-label cell.
|
|
3894
|
+
*/
|
|
3895
|
+
readonly kind: ScheduledTaskKind;
|
|
3853
3896
|
}
|
|
3854
3897
|
/**
|
|
3855
3898
|
* Canonical default registry of scheduled-task entries. One entry per
|
|
@@ -4088,8 +4131,9 @@ interface ResolvedAgentTier {
|
|
|
4088
4131
|
* - **Tier 0 — routing.** Unblocks other work. Picked first on a
|
|
4089
4132
|
* priority tie. Covers the issue-worker's own type labels
|
|
4090
4133
|
* (`feat`, `fix`, `chore`, `refactor`, `docs`, `release`,
|
|
4091
|
-
* `hotfix`)
|
|
4092
|
-
* `
|
|
4134
|
+
* `hotfix`). Unknown labels also fall through here via
|
|
4135
|
+
* `UNKNOWN_TYPE_FALLBACK_TIER` so an unclassified issue never
|
|
4136
|
+
* blocks the queue.
|
|
4093
4137
|
* - **Tier 1 — research.** Feeds downstream pipelines.
|
|
4094
4138
|
* - **Tier 2 — profiles.** Consumes research.
|
|
4095
4139
|
* - **Tier 3 — synthesis.** Produces deliverables.
|
package/lib/index.d.ts
CHANGED
|
@@ -2473,6 +2473,12 @@ interface ScheduledTaskOverride {
|
|
|
2473
2473
|
* array not allowed; use `undefined` to keep the default.
|
|
2474
2474
|
*/
|
|
2475
2475
|
readonly phaseLabels?: ReadonlyArray<string>;
|
|
2476
|
+
/**
|
|
2477
|
+
* Discriminator for the rendered `SKILL.md` shape and the rendered
|
|
2478
|
+
* registered-tasks table cell. Defaults to the registry entry's
|
|
2479
|
+
* value. See `ScheduledTaskEntry.kind` for semantics.
|
|
2480
|
+
*/
|
|
2481
|
+
readonly kind?: "issue-worker" | "pipeline";
|
|
2476
2482
|
}
|
|
2477
2483
|
/**
|
|
2478
2484
|
* Fully consumer-authored scheduled-task entry. Entries whose `taskId`
|
|
@@ -2519,6 +2525,28 @@ interface ScheduledTaskEntry {
|
|
|
2519
2525
|
readonly cron?: string | null;
|
|
2520
2526
|
/** One-line description for the rendered table and SKILL.md frontmatter. */
|
|
2521
2527
|
readonly description?: string;
|
|
2528
|
+
/**
|
|
2529
|
+
* Discriminator that controls how the task's `SKILL.md` body and
|
|
2530
|
+
* registered-tasks table cell are rendered.
|
|
2531
|
+
*
|
|
2532
|
+
* - `"issue-worker"` (default) — the task delegates one unit of work
|
|
2533
|
+
* to the generic `issue-worker` agent. The rendered SKILL.md
|
|
2534
|
+
* instructs the worker to follow `.claude/agents/issue-worker.md`
|
|
2535
|
+
* with the `type:*` / phase-label filter applied at the
|
|
2536
|
+
* find-an-issue step. The registered-tasks table renders the
|
|
2537
|
+
* `type:*` filter normally.
|
|
2538
|
+
* - `"pipeline"` — the task runs an end-to-end pipeline (e.g. the
|
|
2539
|
+
* orchestrator's full cycle: pre-flight PR merge, unblock,
|
|
2540
|
+
* maintenance, queue scan, delegate, cleanup). The rendered
|
|
2541
|
+
* SKILL.md skips the issue-worker contract and points the operator
|
|
2542
|
+
* at the target sub-agent for the full workflow. The
|
|
2543
|
+
* registered-tasks table renders `_(none — pipeline manager)_`
|
|
2544
|
+
* for the type-label cell because pipeline tasks orchestrate other
|
|
2545
|
+
* workers rather than filtering on a single label themselves.
|
|
2546
|
+
*
|
|
2547
|
+
* Defaults to `"issue-worker"`.
|
|
2548
|
+
*/
|
|
2549
|
+
readonly kind?: "issue-worker" | "pipeline";
|
|
2522
2550
|
}
|
|
2523
2551
|
/**
|
|
2524
2552
|
* Per-agent scheduled-task configuration consumed by the `orchestrator`
|
|
@@ -3815,6 +3843,12 @@ declare function renderRunRatioShellHelpers(ratio: ResolvedRunRatio): string;
|
|
|
3815
3843
|
*/
|
|
3816
3844
|
declare const SCHEDULED_TASK_MODEL_VALUES: readonly ["opus", "sonnet", "haiku"];
|
|
3817
3845
|
type ScheduledTaskModel = (typeof SCHEDULED_TASK_MODEL_VALUES)[number];
|
|
3846
|
+
/**
|
|
3847
|
+
* Valid `kind` values for a scheduled-task entry. See
|
|
3848
|
+
* `ScheduledTaskEntry.kind` for semantics.
|
|
3849
|
+
*/
|
|
3850
|
+
declare const SCHEDULED_TASK_KIND_VALUES: readonly ["issue-worker", "pipeline"];
|
|
3851
|
+
type ScheduledTaskKind = (typeof SCHEDULED_TASK_KIND_VALUES)[number];
|
|
3818
3852
|
/**
|
|
3819
3853
|
* Default root directory (relative to the repo root) for scheduled-task
|
|
3820
3854
|
* files. Mirrors the vortex layout — one directory per task at
|
|
@@ -3899,6 +3933,15 @@ interface ResolvedScheduledTask {
|
|
|
3899
3933
|
* frontmatter.
|
|
3900
3934
|
*/
|
|
3901
3935
|
readonly description: string;
|
|
3936
|
+
/**
|
|
3937
|
+
* Discriminator controlling how the SKILL.md body and the registered-
|
|
3938
|
+
* tasks table cell are rendered. `"issue-worker"` (default) emits the
|
|
3939
|
+
* standard delegate-to-issue-worker prompt; `"pipeline"` emits a
|
|
3940
|
+
* pipeline-manager prompt that points the operator at the target
|
|
3941
|
+
* sub-agent's full workflow and renders `_(none — pipeline manager)_`
|
|
3942
|
+
* for the type-label cell.
|
|
3943
|
+
*/
|
|
3944
|
+
readonly kind: ScheduledTaskKind;
|
|
3902
3945
|
}
|
|
3903
3946
|
/**
|
|
3904
3947
|
* Canonical default registry of scheduled-task entries. One entry per
|
|
@@ -4137,8 +4180,9 @@ interface ResolvedAgentTier {
|
|
|
4137
4180
|
* - **Tier 0 — routing.** Unblocks other work. Picked first on a
|
|
4138
4181
|
* priority tie. Covers the issue-worker's own type labels
|
|
4139
4182
|
* (`feat`, `fix`, `chore`, `refactor`, `docs`, `release`,
|
|
4140
|
-
* `hotfix`)
|
|
4141
|
-
* `
|
|
4183
|
+
* `hotfix`). Unknown labels also fall through here via
|
|
4184
|
+
* `UNKNOWN_TYPE_FALLBACK_TIER` so an unclassified issue never
|
|
4185
|
+
* blocks the queue.
|
|
4142
4186
|
* - **Tier 1 — research.** Feeds downstream pipelines.
|
|
4143
4187
|
* - **Tier 2 — profiles.** Consumes research.
|
|
4144
4188
|
* - **Tier 3 — synthesis.** Produces deliverables.
|