Skip to content

Commit b78df7f

Browse files
authored
feat: export agent files utils (#80)
1 parent 0711271 commit b78df7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ function parseAgentsContent(
594594
/**
595595
* Merge AGENTS.md files from multiple sources
596596
*/
597-
function mergeAgentsFiles(agentsFiles: string[]): string {
597+
export function mergeAgentsFiles(agentsFiles: string[]): string {
598598
const allSections: Record<
599599
string,
600600
{ title: string; level: number; contents: string[] }
@@ -638,7 +638,7 @@ function mergeAgentsFiles(agentsFiles: string[]): string {
638638
/**
639639
* Collect AGENTS.md files from template directories
640640
*/
641-
function collectAgentsFiles(agentsMdSearchDirs: string[]): string[] {
641+
export function collectAgentsFiles(agentsMdSearchDirs: string[]): string[] {
642642
const agentsFiles: string[] = [];
643643

644644
for (const dir of agentsMdSearchDirs) {

0 commit comments

Comments
 (0)