substrate-ai 0.20.102 → 0.20.103
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/cli/index.js +3 -2
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -11951,8 +11951,9 @@ function registerIngestEpicCommand(program) {
|
|
|
11951
11951
|
await initWorkGraphSchema(adapter);
|
|
11952
11952
|
const ingester = new EpicIngester(adapter);
|
|
11953
11953
|
const result = await ingester.ingest(stories, dependencies);
|
|
11954
|
-
const
|
|
11955
|
-
|
|
11954
|
+
const epicNums = [...new Set(stories.map((s) => s.epic_num))].sort((a, b) => a - b);
|
|
11955
|
+
const epicLabel = epicNums.length === 1 ? `epic ${epicNums[0]}` : `epics ${epicNums.join(", ")}`;
|
|
11956
|
+
process.stdout.write(`Ingested ${result.storiesUpserted} stories and ${result.dependenciesReplaced} dependencies from ${epicLabel}\n`);
|
|
11956
11957
|
} catch (err) {
|
|
11957
11958
|
const msg = err instanceof Error ? err.message : String(err);
|
|
11958
11959
|
process.stderr.write(`Error: ${msg}\n`);
|