added kayvans tree parser

This commit is contained in:
Brian Madison
2025-06-13 08:05:58 -05:00
parent e4d64c8f05
commit 204012b35e
9 changed files with 45 additions and 3735 deletions

View File

@@ -6,16 +6,16 @@
- Create a folder structure to organize the sharded documents
- Maintain all content integrity including code blocks, diagrams, and markdown formatting
## Recommended Method: markdown-tree-parser
## Recommended Method: @kayvan/markdown-tree-parser
[[LLM: First, suggest the user install and use the markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
[[LLM: First, suggest the user install and use the @kayvan/markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
### Installation and Usage
1. **Install globally**:
```bash
npm install -g markdown-tree-parser
npm install -g @kayvan/markdown-tree-parser
```
2. **Use the explode command**:
@@ -37,13 +37,13 @@
- Adjusts heading levels appropriately
- Handles all edge cases with code blocks and special markdown
If the user has markdown-tree-parser installed, use it and skip the manual process below.
If the user has @kayvan/markdown-tree-parser installed, use it and skip the manual process below.
---
## Manual Method (if markdown-tree-parser is not available)
## Manual Method (if @kayvan/markdown-tree-parser is not available)
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use markdown-tree-parser.]]
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use @kayvan/markdown-tree-parser.]]
### Task Instructions

View File

@@ -2776,16 +2776,16 @@ Would you like to proceed with documentation indexing? Please provide the requir
- Create a folder structure to organize the sharded documents
- Maintain all content integrity including code blocks, diagrams, and markdown formatting
## Recommended Method: markdown-tree-parser
## Recommended Method: @kayvan/markdown-tree-parser
[[LLM: First, suggest the user install and use the markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
[[LLM: First, suggest the user install and use the @kayvan/markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
### Installation and Usage
1. **Install globally**:
```bash
npm install -g markdown-tree-parser
npm install -g @kayvan/markdown-tree-parser
```
2. **Use the explode command**:
@@ -2807,13 +2807,13 @@ Would you like to proceed with documentation indexing? Please provide the requir
- Adjusts heading levels appropriately
- Handles all edge cases with code blocks and special markdown
If the user has markdown-tree-parser installed, use it and skip the manual process below.
If the user has @kayvan/markdown-tree-parser installed, use it and skip the manual process below.
---
## Manual Method (if markdown-tree-parser is not available)
## Manual Method (if @kayvan/markdown-tree-parser is not available)
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use markdown-tree-parser.]]
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use @kayvan/markdown-tree-parser.]]
### Task Instructions

View File

@@ -967,16 +967,16 @@ The LLM will:
- Create a folder structure to organize the sharded documents
- Maintain all content integrity including code blocks, diagrams, and markdown formatting
## Recommended Method: markdown-tree-parser
## Recommended Method: @kayvan/markdown-tree-parser
[[LLM: First, suggest the user install and use the markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
[[LLM: First, suggest the user install and use the @kayvan/markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
### Installation and Usage
1. **Install globally**:
```bash
npm install -g markdown-tree-parser
npm install -g @kayvan/markdown-tree-parser
```
2. **Use the explode command**:
@@ -998,13 +998,13 @@ The LLM will:
- Adjusts heading levels appropriately
- Handles all edge cases with code blocks and special markdown
If the user has markdown-tree-parser installed, use it and skip the manual process below.
If the user has @kayvan/markdown-tree-parser installed, use it and skip the manual process below.
---
## Manual Method (if markdown-tree-parser is not available)
## Manual Method (if @kayvan/markdown-tree-parser is not available)
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use markdown-tree-parser.]]
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use @kayvan/markdown-tree-parser.]]
### Task Instructions

View File

@@ -211,16 +211,16 @@ The LLM will:
- Create a folder structure to organize the sharded documents
- Maintain all content integrity including code blocks, diagrams, and markdown formatting
## Recommended Method: markdown-tree-parser
## Recommended Method: @kayvan/markdown-tree-parser
[[LLM: First, suggest the user install and use the markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
[[LLM: First, suggest the user install and use the @kayvan/markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
### Installation and Usage
1. **Install globally**:
```bash
npm install -g markdown-tree-parser
npm install -g @kayvan/markdown-tree-parser
```
2. **Use the explode command**:
@@ -242,13 +242,13 @@ The LLM will:
- Adjusts heading levels appropriately
- Handles all edge cases with code blocks and special markdown
If the user has markdown-tree-parser installed, use it and skip the manual process below.
If the user has @kayvan/markdown-tree-parser installed, use it and skip the manual process below.
---
## Manual Method (if markdown-tree-parser is not available)
## Manual Method (if @kayvan/markdown-tree-parser is not available)
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use markdown-tree-parser.]]
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use @kayvan/markdown-tree-parser.]]
### Task Instructions

View File

@@ -6805,16 +6805,16 @@ The story creation is successful when:
- Create a folder structure to organize the sharded documents
- Maintain all content integrity including code blocks, diagrams, and markdown formatting
## Recommended Method: markdown-tree-parser
## Recommended Method: @kayvan/markdown-tree-parser
[[LLM: First, suggest the user install and use the markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
[[LLM: First, suggest the user install and use the @kayvan/markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
### Installation and Usage
1. **Install globally**:
```bash
npm install -g markdown-tree-parser
npm install -g @kayvan/markdown-tree-parser
```
2. **Use the explode command**:
@@ -6836,13 +6836,13 @@ The story creation is successful when:
- Adjusts heading levels appropriately
- Handles all edge cases with code blocks and special markdown
If the user has markdown-tree-parser installed, use it and skip the manual process below.
If the user has @kayvan/markdown-tree-parser installed, use it and skip the manual process below.
---
## Manual Method (if markdown-tree-parser is not available)
## Manual Method (if @kayvan/markdown-tree-parser is not available)
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use markdown-tree-parser.]]
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use @kayvan/markdown-tree-parser.]]
### Task Instructions

View File

@@ -3556,16 +3556,16 @@ The LLM will:
- Create a folder structure to organize the sharded documents
- Maintain all content integrity including code blocks, diagrams, and markdown formatting
## Recommended Method: markdown-tree-parser
## Recommended Method: @kayvan/markdown-tree-parser
[[LLM: First, suggest the user install and use the markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
[[LLM: First, suggest the user install and use the @kayvan/markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
### Installation and Usage
1. **Install globally**:
```bash
npm install -g markdown-tree-parser
npm install -g @kayvan/markdown-tree-parser
```
2. **Use the explode command**:
@@ -3587,13 +3587,13 @@ The LLM will:
- Adjusts heading levels appropriately
- Handles all edge cases with code blocks and special markdown
If the user has markdown-tree-parser installed, use it and skip the manual process below.
If the user has @kayvan/markdown-tree-parser installed, use it and skip the manual process below.
---
## Manual Method (if markdown-tree-parser is not available)
## Manual Method (if @kayvan/markdown-tree-parser is not available)
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use markdown-tree-parser.]]
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use @kayvan/markdown-tree-parser.]]
### Task Instructions

View File

@@ -3478,16 +3478,16 @@ The LLM will:
- Create a folder structure to organize the sharded documents
- Maintain all content integrity including code blocks, diagrams, and markdown formatting
## Recommended Method: markdown-tree-parser
## Recommended Method: @kayvan/markdown-tree-parser
[[LLM: First, suggest the user install and use the markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
[[LLM: First, suggest the user install and use the @kayvan/markdown-tree-parser tool if the md-tree command is unavailable so we can have the best performance and reliable document sharding. Let the user know this will save cost of having the LLM to the expensive sharding operation. Give instructions for MPV NPX and PNPM global installs.]]
### Installation and Usage
1. **Install globally**:
```bash
npm install -g markdown-tree-parser
npm install -g @kayvan/markdown-tree-parser
```
2. **Use the explode command**:
@@ -3509,13 +3509,13 @@ The LLM will:
- Adjusts heading levels appropriately
- Handles all edge cases with code blocks and special markdown
If the user has markdown-tree-parser installed, use it and skip the manual process below.
If the user has @kayvan/markdown-tree-parser installed, use it and skip the manual process below.
---
## Manual Method (if markdown-tree-parser is not available)
## Manual Method (if @kayvan/markdown-tree-parser is not available)
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use markdown-tree-parser.]]
[[LLM: Only proceed with the manual instructions below if the user cannot or does not want to use @kayvan/markdown-tree-parser.]]
### Task Instructions

3689
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -14,14 +14,13 @@
},
"dependencies": {
"commander": "^9.4.1",
"js-yaml": "^4.1.0"
},
"devDependencies": {
"jest": "^29.5.0"
"js-yaml": "^4.1.0",
"@kayvan/markdown-tree-parser": "^1.4.2"
},
"keywords": [
"agile",
"ai",
"orchestrator",
"development",
"methodology",
"agents",