@codedrifters/configulator 0.0.283 → 0.0.284
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 +13 -4
- package/lib/index.d.ts +13 -4
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -1968,7 +1968,7 @@ interface UnblockDependentsConfig {
|
|
|
1968
1968
|
*
|
|
1969
1969
|
* Every field is optional. When the whole config is absent the
|
|
1970
1970
|
* convention ships **enabled** with JSON-formatted files stored under
|
|
1971
|
-
* `.
|
|
1971
|
+
* `.state/<issue-number>-progress.json`.
|
|
1972
1972
|
*
|
|
1973
1973
|
* Malformed configs — empty / whitespace-only or absolute `stateDir`,
|
|
1974
1974
|
* empty / whitespace-only `filenamePattern`, `filenamePattern` missing
|
|
@@ -1997,7 +1997,10 @@ interface ProgressFilesConfig {
|
|
|
1997
1997
|
* The directory is added to the project's `.gitignore` at synth
|
|
1998
1998
|
* time so progress files never land on the default branch.
|
|
1999
1999
|
*
|
|
2000
|
-
* Defaults to `.
|
|
2000
|
+
* Defaults to `.state` — a top-level repo-root directory rather
|
|
2001
|
+
* than a Claude-specific subtree, so the same progress files can
|
|
2002
|
+
* be read and written by any agent runtime (Claude Code, Cursor,
|
|
2003
|
+
* a bespoke worker).
|
|
2001
2004
|
*/
|
|
2002
2005
|
readonly stateDir?: string;
|
|
2003
2006
|
/**
|
|
@@ -2944,7 +2947,7 @@ interface AgentConfigOptions {
|
|
|
2944
2947
|
*
|
|
2945
2948
|
* When the whole config is omitted, the convention ships
|
|
2946
2949
|
* **enabled** with JSON-formatted files stored under
|
|
2947
|
-
* `.
|
|
2950
|
+
* `.state/<issue-number>-progress.json` and a 72-hour
|
|
2948
2951
|
* staleness threshold.
|
|
2949
2952
|
*
|
|
2950
2953
|
* Supply `enabled: false` to disable the convention entirely,
|
|
@@ -4601,9 +4604,15 @@ declare const DEFAULT_PROGRESS_FILES_ENABLED = true;
|
|
|
4601
4604
|
* `<stateDir>/<filename>` where `<filename>` is produced from
|
|
4602
4605
|
* `filenamePattern` at runtime.
|
|
4603
4606
|
*
|
|
4607
|
+
* Lives at the top-level `.state/` directory rather than under
|
|
4608
|
+
* `.claude/state/` so the path stays harness-neutral — any agent
|
|
4609
|
+
* runtime (Claude Code, Cursor, a bespoke worker) can read and
|
|
4610
|
+
* write the same progress files without having to scope under a
|
|
4611
|
+
* Claude-specific tree.
|
|
4612
|
+
*
|
|
4604
4613
|
* @see ProgressFilesConfig
|
|
4605
4614
|
*/
|
|
4606
|
-
declare const DEFAULT_PROGRESS_FILES_STATE_DIR = ".
|
|
4615
|
+
declare const DEFAULT_PROGRESS_FILES_STATE_DIR = ".state";
|
|
4607
4616
|
/**
|
|
4608
4617
|
* Default filename pattern for a progress file. The `<ISSUE_NUMBER>`
|
|
4609
4618
|
* placeholder is substituted at runtime with the numeric id of the
|
package/lib/index.d.ts
CHANGED
|
@@ -2017,7 +2017,7 @@ interface UnblockDependentsConfig {
|
|
|
2017
2017
|
*
|
|
2018
2018
|
* Every field is optional. When the whole config is absent the
|
|
2019
2019
|
* convention ships **enabled** with JSON-formatted files stored under
|
|
2020
|
-
* `.
|
|
2020
|
+
* `.state/<issue-number>-progress.json`.
|
|
2021
2021
|
*
|
|
2022
2022
|
* Malformed configs — empty / whitespace-only or absolute `stateDir`,
|
|
2023
2023
|
* empty / whitespace-only `filenamePattern`, `filenamePattern` missing
|
|
@@ -2046,7 +2046,10 @@ interface ProgressFilesConfig {
|
|
|
2046
2046
|
* The directory is added to the project's `.gitignore` at synth
|
|
2047
2047
|
* time so progress files never land on the default branch.
|
|
2048
2048
|
*
|
|
2049
|
-
* Defaults to `.
|
|
2049
|
+
* Defaults to `.state` — a top-level repo-root directory rather
|
|
2050
|
+
* than a Claude-specific subtree, so the same progress files can
|
|
2051
|
+
* be read and written by any agent runtime (Claude Code, Cursor,
|
|
2052
|
+
* a bespoke worker).
|
|
2050
2053
|
*/
|
|
2051
2054
|
readonly stateDir?: string;
|
|
2052
2055
|
/**
|
|
@@ -2993,7 +2996,7 @@ interface AgentConfigOptions {
|
|
|
2993
2996
|
*
|
|
2994
2997
|
* When the whole config is omitted, the convention ships
|
|
2995
2998
|
* **enabled** with JSON-formatted files stored under
|
|
2996
|
-
* `.
|
|
2999
|
+
* `.state/<issue-number>-progress.json` and a 72-hour
|
|
2997
3000
|
* staleness threshold.
|
|
2998
3001
|
*
|
|
2999
3002
|
* Supply `enabled: false` to disable the convention entirely,
|
|
@@ -4650,9 +4653,15 @@ declare const DEFAULT_PROGRESS_FILES_ENABLED = true;
|
|
|
4650
4653
|
* `<stateDir>/<filename>` where `<filename>` is produced from
|
|
4651
4654
|
* `filenamePattern` at runtime.
|
|
4652
4655
|
*
|
|
4656
|
+
* Lives at the top-level `.state/` directory rather than under
|
|
4657
|
+
* `.claude/state/` so the path stays harness-neutral — any agent
|
|
4658
|
+
* runtime (Claude Code, Cursor, a bespoke worker) can read and
|
|
4659
|
+
* write the same progress files without having to scope under a
|
|
4660
|
+
* Claude-specific tree.
|
|
4661
|
+
*
|
|
4653
4662
|
* @see ProgressFilesConfig
|
|
4654
4663
|
*/
|
|
4655
|
-
declare const DEFAULT_PROGRESS_FILES_STATE_DIR = ".
|
|
4664
|
+
declare const DEFAULT_PROGRESS_FILES_STATE_DIR = ".state";
|
|
4656
4665
|
/**
|
|
4657
4666
|
* Default filename pattern for a progress file. The `<ISSUE_NUMBER>`
|
|
4658
4667
|
* placeholder is substituted at runtime with the numeric id of the
|
package/lib/index.js
CHANGED
|
@@ -1938,7 +1938,7 @@ function resolveAgentPaths(paths) {
|
|
|
1938
1938
|
|
|
1939
1939
|
// src/agent/bundles/progress-files.ts
|
|
1940
1940
|
var DEFAULT_PROGRESS_FILES_ENABLED = true;
|
|
1941
|
-
var DEFAULT_PROGRESS_FILES_STATE_DIR = ".
|
|
1941
|
+
var DEFAULT_PROGRESS_FILES_STATE_DIR = ".state";
|
|
1942
1942
|
var DEFAULT_PROGRESS_FILES_FILENAME_PATTERN = "<ISSUE_NUMBER>-progress.json";
|
|
1943
1943
|
var DEFAULT_PROGRESS_FILES_FORMAT = "json";
|
|
1944
1944
|
var DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS = 72;
|