opencode-codeindex 0.1.0 → 0.1.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/commands/index.md +16 -0
- package/package.json +2 -3
- package/src/commands/index.md +0 -10
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Index current directory with root file contents
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Index the current working directory and show:
|
|
6
|
+
|
|
7
|
+
1. A tree structure of all files and folders
|
|
8
|
+
2. Contents of files at the root level only
|
|
9
|
+
3. Subdirectories show only their structure (no file contents)
|
|
10
|
+
|
|
11
|
+
Use the tree_indexer tool with:
|
|
12
|
+
|
|
13
|
+
- path: the current working directory (or '.' if not specified)
|
|
14
|
+
- maxFileSize: 102400 (100KB)
|
|
15
|
+
|
|
16
|
+
Show the user the formatted markdown output.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-codeindex",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "OpenCode plugin that indexes directories with root file contents.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "OpenCode",
|
|
@@ -23,8 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
25
|
"dist",
|
|
26
|
-
"src/version.ts"
|
|
27
|
-
"src/commands"
|
|
26
|
+
"src/version.ts"
|
|
28
27
|
],
|
|
29
28
|
"scripts": {
|
|
30
29
|
"build": "bunx tsc -p tsconfig.build.json",
|
package/src/commands/index.md
DELETED