@voidwire/lore 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/cli.ts +11 -2
  2. package/package.json +1 -1
package/cli.ts CHANGED
@@ -122,9 +122,18 @@ function handleSearch(args: string[]): void {
122
122
 
123
123
  // Handle --sources flag
124
124
  if (hasFlag(args, "sources")) {
125
- const sources = listSources();
125
+ const indexed = listSources();
126
+ const passthrough = [
127
+ { source: "prismis", count: null, type: "passthrough" },
128
+ ];
129
+ const sources = [
130
+ ...indexed.map((s) => ({ ...s, type: "indexed" })),
131
+ ...passthrough,
132
+ ];
126
133
  output({ success: true, sources });
127
- console.error(`✅ ${sources.length} sources indexed`);
134
+ console.error(
135
+ `✅ ${indexed.length} indexed sources + ${passthrough.length} passthrough`,
136
+ );
128
137
  process.exit(0);
129
138
  }
130
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voidwire/lore",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Unified knowledge CLI - Search, list, and capture your indexed knowledge",
5
5
  "type": "module",
6
6
  "main": "./index.ts",