Skip to content

Commit 5e17ccd

Browse files
committed
Merge branch 'develop' into pr-1616
2 parents f96f2c8 + 60db2b7 commit 5e17ccd

File tree

156 files changed

+6164
-1750
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+6164
-1750
lines changed

.env.example

+7-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ IMAGE_OPENAI_MODEL= # Default: dall-e-3
2020
ETERNALAI_URL=
2121
ETERNALAI_MODEL= # Default: "neuralmagic/Meta-Llama-3.1-405B-Instruct-quantized.w4a16"
2222
ETERNALAI_API_KEY=
23+
ETERNAL_AI_LOG_REQUEST=false #Default: false
2324

2425
GROK_API_KEY= # GROK API Key
2526
GROQ_API_KEY= # Starts with gsk_
@@ -82,7 +83,7 @@ POST_INTERVAL_MAX= # Default: 180
8283
POST_IMMEDIATELY=
8384

8485
# Twitter action processing configuration
85-
ACTION_INTERVAL=300000 # Interval in milliseconds between action processing runs (default: 5 minutes)
86+
ACTION_INTERVAL= # Interval in minutes between action processing runs (default: 5 minutes)
8687
ENABLE_ACTION_PROCESSING=false # Set to true to enable the action processing loop
8788

8889
# Feature Flags
@@ -353,7 +354,7 @@ AWS_S3_UPLOAD_PATH=
353354
DEEPGRAM_API_KEY=
354355

355356
# Sui
356-
SUI_PRIVATE_KEY= # Sui Mnemonic Seed Phrase (`sui keytool generate ed25519`)
357+
SUI_PRIVATE_KEY= # Sui Mnemonic Seed Phrase (`sui keytool generate ed25519`) , Also support `suiprivatekeyxxxx` (sui keytool export --key-identity 0x63)
357358
SUI_NETWORK= # must be one of mainnet, testnet, devnet, localnet
358359

359360
# Story
@@ -368,3 +369,7 @@ CRONOSZKEVM_PRIVATE_KEY=
368369

369370
# Fuel Ecosystem (FuelVM)
370371
FUEL_WALLET_PRIVATE_KEY=
372+
373+
# Tokenizer Settings
374+
TOKENIZER_MODEL= # Specify the tokenizer model to be used.
375+
TOKENIZER_TYPE= # Options: tiktoken (for OpenAI models) or auto (AutoTokenizer from Hugging Face for non-OpenAI models). Default: tiktoken.

.github/workflows/jsdoc-automation.yml

+28-11
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,32 @@ name: JSDoc Automation
33
on:
44
workflow_dispatch:
55
inputs:
6+
jsdoc:
7+
description: 'Generate JSDoc comments (T/F)'
8+
required: true
9+
default: 'T'
10+
type: string
11+
readme:
12+
description: 'Generate README documentation (T/F)'
13+
required: true
14+
default: 'T'
15+
type: string
616
pull_number:
7-
description: 'Pull Request Number (if not provided, scans root_directory) - PR must be merged to develop branch'
17+
description: 'Pull Request Number (if not provided, scans root_directory) - PR must be merged to develop branch. DONT provide if `README documentation` is T from above'
818
required: false
919
type: string
1020
root_directory:
1121
description: 'Only scans files in this directory (relative to repository root, e.g., packages/core/src)'
1222
required: true
13-
default: 'packages/core/src/test_resources'
23+
default: 'packages/plugin-near/'
1424
type: string
1525
excluded_directories:
1626
description: 'Directories to exclude from scanning (comma-separated, relative to root_directory)'
1727
required: true
1828
default: 'node_modules,dist,test'
1929
type: string
2030
reviewers:
21-
description: 'Pull Request Reviewers (comma-separated GitHub usernames)'
31+
description: 'Pull Request Reviewers (Must be collaborator on the repository) comma-separated GitHub usernames'
2232
required: true
2333
default: ''
2434
type: string
@@ -27,6 +37,11 @@ on:
2737
required: false
2838
default: 'develop'
2939
type: string
40+
language:
41+
description: 'Documentation language (e.g., English, Spanish, French)'
42+
required: true
43+
default: 'English'
44+
type: string
3045

3146
jobs:
3247
generate-docs:
@@ -45,7 +60,7 @@ jobs:
4560
- name: Setup Node.js
4661
uses: actions/setup-node@v4
4762
with:
48-
node-version: '23'
63+
node-version: '20'
4964

5065
- name: Install pnpm
5166
uses: pnpm/action-setup@v2
@@ -71,17 +86,19 @@ jobs:
7186
working-directory: scripts/jsdoc-automation
7287
run: pnpm install --no-frozen-lockfile
7388

89+
- name: Build TypeScript
90+
working-directory: scripts/jsdoc-automation
91+
run: pnpm build
92+
7493
- name: Run documentation generator
7594
working-directory: scripts/jsdoc-automation
76-
run: |
77-
echo "Node version: $(node --version)"
78-
echo "NPM version: $(npm --version)"
79-
echo "Directory contents:"
80-
ls -la
81-
NODE_OPTIONS='--experimental-vm-modules --no-warnings' pnpm start
95+
run: pnpm start
8296
env:
8397
INPUT_ROOT_DIRECTORY: ${{ inputs.root_directory }}
8498
INPUT_PULL_NUMBER: ${{ inputs.pull_number }}
8599
INPUT_EXCLUDED_DIRECTORIES: ${{ inputs.excluded_directories }}
86100
INPUT_REVIEWERS: ${{ inputs.reviewers }}
87-
INPUT_BRANCH: ${{ inputs.branch }}
101+
INPUT_BRANCH: ${{ inputs.branch }}
102+
INPUT_LANGUAGE: ${{ inputs.language }}
103+
INPUT_JSDOC: ${{ inputs.jsdoc }}
104+
INPUT_README: ${{ inputs.readme }}

.gitignore

+57-57
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
1-
node_modules
2-
/out
3-
4-
.env
5-
.env.production
6-
.env.local
7-
.env_main
8-
concatenated-output.ts
9-
embedding-cache.json
10-
packages/plugin-buttplug/intiface-engine
11-
12-
.idea
13-
.DS_Store
14-
15-
dist/
16-
# Allow models directory but ignore model files
17-
models/*.gguf
18-
19-
cookies.json
20-
21-
db.sqlite
22-
searches/
23-
tweets/
24-
25-
*.gguf
26-
*.onnx
27-
*.wav
28-
*.mp3
29-
30-
logs/
31-
32-
test-report.json
33-
content_cache/
34-
test_data/
35-
tokencache/
36-
tweetcache/
37-
twitter_cookies.json
38-
timeline_cache.json
39-
40-
*.sqlite
41-
42-
characters/
43-
44-
packages/core/src/providers/cache
45-
packages/core/src/providers/cache/*
46-
cache/*
47-
packages/plugin-coinbase/src/plugins/transactions.csv
48-
49-
tsup.config.bundled_*.mjs
50-
51-
.turbo
52-
.cursorrules
53-
54-
coverage
55-
.eslintcache
56-
57-
agent/content
1+
node_modules
2+
/out
3+
4+
.env
5+
.env.production
6+
.env.local
7+
.env_main
8+
concatenated-output.ts
9+
embedding-cache.json
10+
packages/plugin-buttplug/intiface-engine
11+
12+
.idea
13+
.DS_Store
14+
15+
dist/
16+
# Allow models directory but ignore model files
17+
models/*.gguf
18+
19+
cookies.json
20+
21+
db.sqlite
22+
searches/
23+
tweets/
24+
25+
*.gguf
26+
*.onnx
27+
*.wav
28+
*.mp3
29+
30+
logs/
31+
32+
test-report.json
33+
content_cache/
34+
test_data/
35+
tokencache/
36+
tweetcache/
37+
twitter_cookies.json
38+
timeline_cache.json
39+
40+
*.sqlite
41+
42+
characters/
43+
44+
packages/core/src/providers/cache
45+
packages/core/src/providers/cache/*
46+
cache/*
47+
packages/plugin-coinbase/src/plugins/transactions.csv
48+
49+
tsup.config.bundled_*.mjs
50+
51+
.turbo
52+
.cursorrules
53+
54+
coverage
55+
.eslintcache
56+
57+
agent/content

0 commit comments

Comments
 (0)