opencode-knowledge 0.3.0 → 0.3.1
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/command/.gitkeep +0 -0
- package/dist/index.js +2 -2
- package/package.json +2 -3
- package/src/version.ts +0 -1
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -93,9 +93,9 @@ function parseFrontmatter(content) {
|
|
|
93
93
|
async function loadCommands() {
|
|
94
94
|
const commands = [];
|
|
95
95
|
const __dirname2 = path.dirname(fileURLToPath(import.meta.url));
|
|
96
|
-
|
|
96
|
+
const commandDir = path.join(__dirname2, "command");
|
|
97
97
|
if (!existsSync2(commandDir)) {
|
|
98
|
-
|
|
98
|
+
return commands;
|
|
99
99
|
}
|
|
100
100
|
const glob = new Bun.Glob("**/*.md");
|
|
101
101
|
for await (const file of glob.scan({ cwd: commandDir, absolute: true })) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-knowledge",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "An OpenCode plugin",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "msegoviadev",
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
"provenance": true
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
|
-
"dist"
|
|
26
|
-
"src/version.ts"
|
|
25
|
+
"dist"
|
|
27
26
|
],
|
|
28
27
|
"dependencies": {
|
|
29
28
|
"@opencode-ai/plugin": "1.0.85"
|
package/src/version.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const VERSION = '0.1.0';
|