@xera-ai/core 0.12.2 → 0.12.3
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/bin/internal.js
CHANGED
|
@@ -8268,11 +8268,14 @@ function readStoryFrontmatter(repoRoot, ticket) {
|
|
|
8268
8268
|
}
|
|
8269
8269
|
function readGraphInput(repoRoot, ticket) {
|
|
8270
8270
|
const path = join10(repoRoot, ".xera", ticket, "graph-input.json");
|
|
8271
|
-
if (!existsSync8(path))
|
|
8271
|
+
if (!existsSync8(path)) {
|
|
8272
|
+
console.warn(`[graph-record fetch] graph-input.json missing for ${ticket} \u2014 modifiesAreas=[] (run step 5 of /xera-fetch to populate)`);
|
|
8272
8273
|
return { modifiesAreas: [] };
|
|
8274
|
+
}
|
|
8273
8275
|
try {
|
|
8274
8276
|
return JSON.parse(readFileSync7(path, "utf8"));
|
|
8275
|
-
} catch {
|
|
8277
|
+
} catch (err) {
|
|
8278
|
+
console.warn(`[graph-record fetch] graph-input.json invalid JSON for ${ticket} at ${path} \u2014 modifiesAreas=[] (${err.message})`);
|
|
8276
8279
|
return { modifiesAreas: [] };
|
|
8277
8280
|
}
|
|
8278
8281
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xera-ai/core",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"zod": "4.4.3",
|
|
34
|
-
"@xera-ai/web": "^0.12.
|
|
35
|
-
"@xera-ai/http": "^0.12.
|
|
34
|
+
"@xera-ai/web": "^0.12.3",
|
|
35
|
+
"@xera-ai/http": "^0.12.3",
|
|
36
36
|
"@playwright/test": "1.60.0",
|
|
37
37
|
"dotenv": "^16.0.0",
|
|
38
38
|
"fflate": "0.8.3",
|
|
@@ -125,10 +125,18 @@ function readStoryFrontmatter(repoRoot: string, ticket: string): StoryFrontmatte
|
|
|
125
125
|
|
|
126
126
|
function readGraphInput(repoRoot: string, ticket: string): { modifiesAreas: string[] } {
|
|
127
127
|
const path = join(repoRoot, '.xera', ticket, 'graph-input.json');
|
|
128
|
-
if (!existsSync(path))
|
|
128
|
+
if (!existsSync(path)) {
|
|
129
|
+
console.warn(
|
|
130
|
+
`[graph-record fetch] graph-input.json missing for ${ticket} — modifiesAreas=[] (run step 5 of /xera-fetch to populate)`,
|
|
131
|
+
);
|
|
132
|
+
return { modifiesAreas: [] };
|
|
133
|
+
}
|
|
129
134
|
try {
|
|
130
135
|
return JSON.parse(readFileSync(path, 'utf8'));
|
|
131
|
-
} catch {
|
|
136
|
+
} catch (err) {
|
|
137
|
+
console.warn(
|
|
138
|
+
`[graph-record fetch] graph-input.json invalid JSON for ${ticket} at ${path} — modifiesAreas=[] (${(err as Error).message})`,
|
|
139
|
+
);
|
|
132
140
|
return { modifiesAreas: [] };
|
|
133
141
|
}
|
|
134
142
|
}
|