@wrongstack/requirement-intake 0.307.0 → 0.308.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/dist/index.js +1 -1
- package/dist/vibe.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -888,7 +888,7 @@ function hasVibeTag(text) {
|
|
|
888
888
|
return VIBE_TAG_REGEX.test(text);
|
|
889
889
|
}
|
|
890
890
|
function stripVibeTag(text) {
|
|
891
|
-
return text.replace(
|
|
891
|
+
return text.replace(/\[VIBE\]/gi, "").replace(/[ \t]{2,}/g, " ").trim();
|
|
892
892
|
}
|
|
893
893
|
function deriveVibeState(rawText, existingState, now = Date.now()) {
|
|
894
894
|
const containsTag = hasVibeTag(rawText);
|
package/dist/vibe.d.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* Verification Protocol (Spec-Synthesizer -> Coder -> Auditor) and ensures
|
|
9
9
|
* the state is preserved across iterative refining and updates.
|
|
10
10
|
*/
|
|
11
|
+
/** Case-insensitive detector. Not global — `RegExp#test` would skip matches via `lastIndex`. */
|
|
11
12
|
export declare const VIBE_TAG_REGEX: RegExp;
|
|
12
13
|
export type VibeProtocolStage = 'synthesizer' | 'coder' | 'auditor' | 'passed';
|
|
13
14
|
export interface VibeProtocolState {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/requirement-intake",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.308.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "WrongStack Requirements Intake — collect, preserve, validate, normalize, and submit unstructured software development requests as structured intake records. Upstream of spec-driven development: it never plans, specifies, or implements.",
|
|
6
6
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"zod": "4.4.3",
|
|
31
|
-
"@wrongstack/core": "0.
|
|
31
|
+
"@wrongstack/core": "0.308.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^26.2.0",
|