-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into add-dutch-translation
- Loading branch information
Showing
1,079 changed files
with
33,692 additions
and
37,530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ARG NODE_VER=23.5.0 | ||
ARG BASE_IMAGE=node:${NODE_VER} | ||
FROM $BASE_IMAGE | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install pnpm globally and install necessary build tools | ||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
git \ | ||
python3 \ | ||
make \ | ||
g++ \ | ||
nano \ | ||
vim \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ARG PNPM_VER=9.15.2 | ||
RUN npm install -g pnpm@${PNPM_VER} | ||
|
||
# Set Python 3 as the default python | ||
RUN ln -s /usr/bin/python3 /usr/bin/python | ||
ENV DEBIAN_FRONTEND=dialog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// See https://aka.ms/vscode-remote/devcontainer.json for format details. | ||
{ | ||
"name": "elizaos-dev", | ||
"dockerFile": "Dockerfile", | ||
"build": { | ||
"args": { | ||
"NODE_VER": "23.5.0", | ||
"PNPM_VER": "9.15.2" | ||
} | ||
}, | ||
"privileged": true, | ||
"runArgs": [ | ||
"-p=3000:3000", // Add port for server api | ||
"-p=5173:5173", // Add port for client | ||
//"--volume=/usr/lib/wsl:/usr/lib/wsl", // uncomment for WSL | ||
//"--volume=/mnt/wslg:/mnt/wslg", // uncomment for WSL | ||
"--gpus=all", // ! uncomment for vGPU | ||
//"--device=/dev/dxg", // uncomment this for vGPU under WSL | ||
"--device=/dev/dri" | ||
], | ||
"containerEnv": { | ||
//"MESA_D3D12_DEFAULT_ADAPTER_NAME": "NVIDIA", // uncomment for WSL | ||
//"LD_LIBRARY_PATH": "/usr/lib/wsl/lib" // uncomment for WSL | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"vscode.json-language-features", | ||
"vscode.css-language-features", | ||
// "foxundermoon.shell-format", | ||
// "dbaeumer.vscode-eslint", | ||
// "esbenp.prettier-vscode" | ||
"ms-python.python" | ||
] | ||
} | ||
}, | ||
"features": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,36 @@ | ||
{ | ||
"plugins": [ | ||
"@stylistic" | ||
], | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"plugin:@stylistic/recommended-extends" | ||
], | ||
"rules": { | ||
"@stylistic/indent": [ | ||
"error", | ||
4, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
"plugins": ["@stylistic"], | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"plugin:@stylistic/recommended-extends" | ||
], | ||
"@stylistic/no-tabs": "error", | ||
"@stylistic/member-delimiter-style": [ | ||
"error", | ||
{ | ||
"multiline": { | ||
"delimiter": "semi", | ||
"requireLast": true | ||
}, | ||
"singleline": { | ||
"delimiter": "semi", | ||
"requireLast": false | ||
} | ||
} | ||
], | ||
"@stylistic/eol-last": [ | ||
"error", | ||
"always" | ||
], | ||
"@stylistic/multiline-ternary": "off", | ||
"@stylistic/semi": [ | ||
"error", | ||
"always" | ||
], | ||
"@stylistic/quotes": "off", | ||
"@stylistic/comma-dangle": "off", | ||
"@stylistic/brace-style": [ | ||
"error", | ||
"1tbs" | ||
] | ||
} | ||
} | ||
"rules": { | ||
"@stylistic/indent": [ | ||
"error", | ||
4, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"@stylistic/no-tabs": "error", | ||
"@stylistic/member-delimiter-style": [ | ||
"error", | ||
{ | ||
"multiline": { | ||
"delimiter": "semi", | ||
"requireLast": true | ||
}, | ||
"singleline": { | ||
"delimiter": "semi", | ||
"requireLast": false | ||
} | ||
} | ||
], | ||
"@stylistic/eol-last": ["error", "always"], | ||
"@stylistic/multiline-ternary": "off", | ||
"@stylistic/semi": ["error", "always"], | ||
"@stylistic/quotes": "off", | ||
"@stylistic/comma-dangle": "off", | ||
"@stylistic/brace-style": ["error", "1tbs"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
name: "CodeQL Advanced" | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
schedule: | ||
- cron: '29 8 * * 6' | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
schedule: | ||
- cron: "29 8 * * 6" | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze (${{ matrix.language }}) | ||
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} | ||
permissions: | ||
# required for all workflows | ||
security-events: write | ||
|
||
# required to fetch internal or private CodeQL packs | ||
packages: read | ||
|
||
# only required for workflows in private repositories | ||
actions: read | ||
contents: read | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- language: javascript-typescript | ||
build-mode: none | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: ${{ matrix.language }} | ||
build-mode: ${{ matrix.build-mode }} | ||
- if: matrix.build-mode == 'manual' | ||
shell: bash | ||
run: | | ||
echo 'If you are using a "manual" build mode for one or more of the' \ | ||
'languages you are analyzing, replace this with the commands to build' \ | ||
'your code, for example:' | ||
echo ' make bootstrap' | ||
echo ' make release' | ||
exit 1 | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 | ||
with: | ||
category: "/language:${{matrix.language}}" | ||
analyze: | ||
name: Analyze (${{ matrix.language }}) | ||
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} | ||
permissions: | ||
# required for all workflows | ||
security-events: write | ||
|
||
# required to fetch internal or private CodeQL packs | ||
packages: read | ||
|
||
# only required for workflows in private repositories | ||
actions: read | ||
contents: read | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- language: javascript-typescript | ||
build-mode: none | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: ${{ matrix.language }} | ||
build-mode: ${{ matrix.build-mode }} | ||
|
||
- if: matrix.build-mode == 'manual' | ||
shell: bash | ||
run: | | ||
echo 'If you are using a "manual" build mode for one or more of the' \ | ||
'languages you are analyzing, replace this with the commands to build' \ | ||
'your code, for example:' | ||
echo ' make bootstrap' | ||
echo ' make release' | ||
exit 1 | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 | ||
with: | ||
category: "/language:${{matrix.language}}" |
Oops, something went wrong.