Skip to content

Commit

Permalink
Merge branch 'sif-dev' into fix/remove-hardcoded-branch-name
Browse files Browse the repository at this point in the history
  • Loading branch information
snobbee authored Jan 23, 2025
2 parents 69487ce + df611d6 commit 9c61ca8
Show file tree
Hide file tree
Showing 1,343 changed files with 99,005 additions and 8,546 deletions.
127 changes: 124 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ SUPABASE_ANON_KEY=
# Comma separated list of remote character urls (optional)
REMOTE_CHARACTER_URLS=

# Stores characters set by using the direct API in the data/character folder for further load when the app restarts
USE_CHARACTER_STORAGE=false

# Logging
DEFAULT_LOG_LEVEL=warn
LOG_JSON_FORMAT=false # Print everything in logger as json; false by default
Expand All @@ -31,6 +34,9 @@ DISCORD_APPLICATION_ID=
DISCORD_API_TOKEN= # Bot token
DISCORD_VOICE_CHANNEL_ID= # The ID of the voice channel the bot should join (optional)

# Devin Configuration
DEVIN_API_TOKEN= # Get your API key from docs.devin.ai/tutorials/api-integration

# Farcaster Neynar Configuration
FARCASTER_FID= # The FID associated with the account your are sending casts from
FARCASTER_NEYNAR_API_KEY= # Neynar API key: https://neynar.com/
Expand Down Expand Up @@ -74,6 +80,13 @@ WHATSAPP_BUSINESS_ACCOUNT_ID= # Business Account ID from Facebook Business Mana
WHATSAPP_WEBHOOK_VERIFY_TOKEN= # Custom string for webhook verification
WHATSAPP_API_VERSION=v17.0 # WhatsApp API version (default: v17.0)


# Simsai Specific Configuration
SIMSAI_API_KEY= # API key for SimsAI authentication
SIMSAI_AGENT_ID= # Unique identifier for the SimsAI agent
SIMSAI_USERNAME= # Username for SimsAI platform access
SIMSAI_DRY_RUN= # Set to true to test without making actual API calls

# Direct Client Setting
EXPRESS_MAX_PAYLOAD= # Default: 100kb

Expand All @@ -89,7 +102,16 @@ MEDIUM_OPENAI_MODEL= # Default: gpt-4o
LARGE_OPENAI_MODEL= # Default: gpt-4o
EMBEDDING_OPENAI_MODEL= # Default: text-embedding-3-small
IMAGE_OPENAI_MODEL= # Default: dall-e-3
USE_OPENAI_EMBEDDING= # Set to TRUE for OpenAI/1536, leave blank for local
USE_OPENAI_EMBEDDING=TRUE # Set to TRUE for OpenAI/1536, leave blank for local

# Community Plugin for OpenAI Configuration
ENABLE_OPEN_AI_COMMUNITY_PLUGIN=false
OPENAI_DEFAULT_MODEL=
OPENAI_MAX_TOKENS=
OPENAI_TEMPERATURE=




# Atoma SDK Configuration
ATOMASDK_BEARER_AUTH= # Atoma SDK Bearer Auth token
Expand Down Expand Up @@ -359,9 +381,9 @@ COINBASE_GENERATED_WALLET_HEX_SEED= # Not your address but the wallet hex seed f
COINBASE_NOTIFICATION_URI= # For webhook plugin the uri you want to send the webhook to for dummy ones use https://webhook.site

# Coinbase AgentKit
COINBASE_AGENT_KIT_NETWORK= # defaults to 'base-sepolia'
CDP_API_KEY_NAME=
CDP_API_KEY_PRIVATE_KEY=
CDP_AGENT_KIT_NETWORK=base-sepolia # Optional: Defaults to base-sepolia

# Coinbase Charity Configuration
IS_CHARITABLE=false # Set to true to enable charity donations
Expand Down Expand Up @@ -486,6 +508,9 @@ NEAR_NETWORK=testnet # or mainnet
ZKSYNC_ADDRESS=
ZKSYNC_PRIVATE_KEY=

# HoldStation Wallet Configuration
HOLDSTATION_PRIVATE_KEY=

# Avail DA Configuration
AVAIL_ADDRESS=
AVAIL_SEED=
Expand Down Expand Up @@ -535,6 +560,12 @@ STARGAZE_ENDPOINT=
# GenLayer
GENLAYER_PRIVATE_KEY= # Private key of the GenLayer account to use for the agent in this format (0x0000000000000000000000000000000000000000000000000000000000000000)

# BNB chain
BNB_PRIVATE_KEY= # BNB chain private key
BNB_PUBLIC_KEY= # BNB-smart-chain public key (address)
BSC_PROVIDER_URL= # BNB-smart-chain rpc url
OPBNB_PROVIDER_URL= # OPBNB rpc url

####################################
#### Misc Plugin Configurations ####
####################################
Expand Down Expand Up @@ -647,11 +678,17 @@ AKASH_MANIFEST_MODE=auto
AKASH_MANIFEST_PATH=
# Values: "strict" | "lenient" | "none" - Default: "strict"
AKASH_MANIFEST_VALIDATION_LEVEL=strict

# Quai Network Ecosystem
QUAI_PRIVATE_KEY=
QUAI_RPC_URL=https://rpc.quai.network

# Chainbase
CHAINBASE_API_KEY=demo # demo is a free tier key

# 0x
ZERO_EX_API_KEY=
ALCHEMY_HTTP_TRANSPORT_URL=

# Instagram Configuration
INSTAGRAM_DRY_RUN=false
INSTAGRAM_USERNAME= # Account username
Expand Down Expand Up @@ -701,3 +738,87 @@ PYTH_ENABLE_PRICE_STREAMING=true
PYTH_MAX_PRICE_STREAMS=2
PYTH_TEST_ID01=0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43
PYTH_TEST_ID02=0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace

# Router Nitro EVM Configuration
ROUTER_NITRO_EVM_ADDRESS=
ROUTER_NITRO_EVM_PRIVATE_KEY=

# OriginTrail DKG
DKG_ENVIRONMENT=""
# Values: "development", "testnet", "mainnet"
DKG_HOSTNAME=""
DKG_PORT="8900"
DKG_PUBLIC_KEY=""
DKG_PRIVATE_KEY=""
DKG_BLOCKCHAIN_NAME=""
# Values: (mainnet) "base:8453", "gnosis:100", "otp:2043" (testnet) "base:84532", "gnosis:10200", "otp:20430"

# Initia Plugin Configuration
INITIA_PRIVATE_KEY= # Your Initia wallet private key
INITIA_NODE_URL= # Initia node URL (default: testnet)
INITIA_CHAIN_ID=initia-test # Chain ID (default: testnet)

# ####################################
# #### NVIDIA Configuration ##########
# ####################################
NVIDIA_NIM_ENV=production
NVIDIA_NIM_SPASH=false
# Api Keys
NVIDIA_NIM_API_KEY=
NVIDIA_NGC_API_KEY=
NVIDIA_NIM_MAX_RETRIES=3
NVIDIA_NIM_RETRY_DELAY=1000
NVIDIA_NIM_TIMEOUT=5000
# Logging Configuration
NVIDIA_GRANULAR_LOG=true
NVIDIA_LOG_LEVEL=debug
# NVIDIA Off-topic system and user configuration
NVIDIA_OFFTOPIC_SYSTEM=
NVIDIA_OFFTOPIC_USER=
# NVIDIA Cosmos Model Configuration
NVIDIA_NIM_BASE_VISION_URL=https://ai.api.nvidia.com/v1/vlm
NVIDIA_COSMOS_MODEL=nvidia/cosmos-nemotron-34b
NVIDIA_COSMOS_INVOKE_URL=https://ai.api.nvidia.com/v1/vlm/nvidia/cosmos-nemotron-34b
NVIDIA_COSMOS_ASSET_URL=https://api.nvcf.nvidia.com/v2/nvcf/assets
NVIDIA_COSMOS_MAX_TOKENS=1000

# Email Plugin Configuration

# Outgoing Email Settings (SMTP/Gmail)
EMAIL_OUTGOING_SERVICE=smtp # Use "smtp" or "gmail"
EMAIL_OUTGOING_HOST=smtp.example.com # Required for SMTP only
EMAIL_OUTGOING_PORT=465 # Default 465 for secure SMTP, 587 for TLS
EMAIL_OUTGOING_USER=
EMAIL_OUTGOING_PASS= # For Gmail, use App Password

# Incoming Email Settings (IMAP)
EMAIL_INCOMING_SERVICE=imap
EMAIL_INCOMING_HOST=imap.example.com
EMAIL_INCOMING_PORT=993 # Default port for secure IMAP
EMAIL_INCOMING_USER=
EMAIL_INCOMING_PASS=


# Omniflix
OMNIFLIX_API_URL= # https://rest.omniflix.network
OMNIFLIX_MNEMONIC= # your mnemonic 12 words or 24 words
OMNIFLIX_RPC_ENDPOINT= # https://rpc.omniflix.network
OMNIFLIX_PRIVATE_KEY= # your private key

# Suno AI Music Generation
SUNO_API_KEY=

# Udio AI Music Generation
UDIO_AUTH_TOKEN=

# ####################################
# #### Hyperbolic Configuration ####
# ####################################
HYPERBOLIC_ENV=production
HYPERBOLIC_API_KEY=
HYPERBOLIC_GRANULAR_LOG=true
HYPERBOLIC_SPASH=true
HYPERBOLIC_LOG_LEVEL=debug

# Football Plugin Configuration
FOOTBALL_API_KEY= # API key from Football-Data.org (https://www.football-data.org/)
36 changes: 0 additions & 36 deletions .eslintrc.json

This file was deleted.

10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ jobs:
- name: Install dependencies
run: pnpm install -r --no-frozen-lockfile

- name: Run Prettier
run: pnpm run prettier --check .
- name: Setup Biome CLI
uses: biomejs/setup-biome@v2
with:
version: latest

- name: Run Linter
run: pnpm run lint
- name: Run Biome
run: biome ci

- name: Create test env file
run: |
Expand Down
62 changes: 31 additions & 31 deletions .github/workflows/integrationTests.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
name: Integration Tests
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
push:
branches:
- "*"
pull_request_target:
branches:
- "*"

jobs:
integration-tests:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- uses: actions/checkout@v4
integration-tests:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9.15.0
- uses: pnpm/action-setup@v3
with:
version: 9.4.0

- uses: actions/setup-node@v4
with:
node-version: "23.3.0"
cache: "pnpm"
- uses: actions/setup-node@v4
with:
node-version: "23.3"
cache: "pnpm"

- name: Clean up
run: pnpm clean
- name: Install dependencies
run: pnpm install --no-frozen-lockfile

- name: Install dependencies
run: pnpm install -r --no-frozen-lockfile
- name: Build packages
run: pnpm build

- name: Build packages
run: pnpm build
- name: Check for API key
run: |
if [ -z "$OPENAI_API_KEY" ]; then
echo "Error: OPENAI_API_KEY is not set."
exit 1
fi
- name: Run integration tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
COINBASE_COMMERCE_KEY: ${{ secrets.COINBASE_COMMERCE_KEY }}
run: |
pnpm run integrationTests
- name: Run integration tests
run: pnpm run integrationTests
40 changes: 21 additions & 19 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
name: smoke-test
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
push:
branches:
- "*"
pull_request:
branches:
- "*"

jobs:
smoke-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
smoke-tests:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9.15.0
- uses: pnpm/action-setup@v3
with:
version: 9.4.0

- uses: actions/setup-node@v4
with:
node-version: "23.3.0"
cache: "pnpm"
- uses: actions/setup-node@v4
with:
node-version: "23.3"
cache: "pnpm"

- name: Run smoke tests
run: pnpm run smokeTests
- name: Run smoke tests
run: pnpm run smokeTests
1 change: 1 addition & 0 deletions .github/workflows/sync-upstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git config pull.rebase true
# Sync main branch
- name: Sync main branch
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ concatenated-output.ts
embedding-cache.json
packages/plugin-buttplug/intiface-engine

node-compile-cache

.idea
.DS_Store

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ WORKDIR /app
# Copy built artifacts and production dependencies from the builder stage
COPY --from=builder /app/package.json ./
COPY --from=builder /app/pnpm-workspace.yaml ./
COPY --from=builder /app/eslint.config.mjs ./
COPY --from=builder /app/.eslintrc.json ./
COPY --from=builder /app/.npmrc ./
COPY --from=builder /app/turbo.json ./
COPY --from=builder /app/node_modules ./node_modules
Expand Down
Loading

0 comments on commit 9c61ca8

Please sign in to comment.