Skip to content

Commit

Permalink
Feature/full plugin docs (elizaOS#52)
Browse files Browse the repository at this point in the history
* feat: add support for agentic plugin documentation

* feat: add support for agentic plugin documentation (#5)

* feat: add support for agentic plugin documentation

* Feature/full plugin docs (#7)

* feat: add support for agentic plugin documentation

* feat: add support for agentic plugin documentation

* feat: add support for agentic plugin documentation

* feat: add support for agentic plugin documentation

* feat: add support for agentic plugin documentation

* feat: add support for agentic plugin documentation

* feat: add support for agentic plugin documentation

* feat: add support for agentic plugin documentation
  • Loading branch information
Ed-Marcavage authored Jan 2, 2025
1 parent 07191f6 commit 54f2bc7
Show file tree
Hide file tree
Showing 16 changed files with 2,595 additions and 92 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/jsdoc-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,32 @@ name: JSDoc Automation
on:
workflow_dispatch:
inputs:
jsdoc:
description: 'Generate JSDoc comments (T/F)'
required: true
default: 'T'
type: string
readme:
description: 'Generate README documentation (T/F)'
required: true
default: 'T'
type: string
pull_number:
description: 'Pull Request Number (if not provided, scans root_directory) - PR must be merged to develop branch'
required: false
type: string
root_directory:
description: 'Only scans files in this directory (relative to repository root, e.g., packages/core/src)'
required: true
default: 'packages/core/src/test_resources'
default: 'packages/plugin-near/'
type: string
excluded_directories:
description: 'Directories to exclude from scanning (comma-separated, relative to root_directory)'
required: true
default: 'node_modules,dist,test'
type: string
reviewers:
description: 'Pull Request Reviewers (comma-separated GitHub usernames)'
description: 'Pull Request Reviewers (Must be collaborator on the repository) comma-separated GitHub usernames'
required: true
default: ''
type: string
Expand All @@ -27,6 +37,11 @@ on:
required: false
default: 'develop'
type: string
language:
description: 'Documentation language (e.g., English, Spanish, French)'
required: true
default: 'English'
type: string

jobs:
generate-docs:
Expand Down
1 change: 1 addition & 0 deletions packages/plugin-near/src/actions/swap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ async function checkStorageBalance(
}
}

// TODO: add functionality to support multiple networks
async function swapToken(
runtime: IAgentRuntime,
inputTokenId: string,
Expand Down
14 changes: 9 additions & 5 deletions scripts/jsdoc-automation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
"name": "plugin-audix",
"version": "1.0.0",
"description": "",
"main": "index.ts",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"start": "NODE_OPTIONS='--loader ts-node/esm' node src/index.ts",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsup",
"dev": "tsup --watch",
"start": "node dist/index.js",
"clean": "rm -rf node_modules dist"
},
"keywords": [],
Expand All @@ -16,15 +19,16 @@
"@langchain/openai": "^0.3.16",
"@octokit/rest": "^21.0.2",
"@types/node": "^20.11.0",
"dotenv": "^16.4.7",
"langchain": "^0.3.7",
"@typescript-eslint/parser": "6.18.1",
"@typescript-eslint/types": "6.18.1",
"@typescript-eslint/typescript-estree": "6.18.1",
"dotenv": "^16.4.7",
"langchain": "^0.3.7",
"yaml": "^2.3.4"
},
"devDependencies": {
"ts-node": "^10.9.2",
"tsup": "^8.3.5",
"typescript": "5.3.3"
}
}
Loading

0 comments on commit 54f2bc7

Please sign in to comment.