Skip to content

Commit 0cd1d9f

Browse files
authored
Merge pull request #444 from l3vels/feat/callsbot-domain
feat: callsbot domain
2 parents 29b9f88 + 33811d1 commit 0cd1d9f

5 files changed

+262
-92
lines changed

.github/workflows/az-ui-callsbot.yml

+151
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
name: Azure Domain build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "apps/ui/**"
9+
# pull_request:
10+
# types: [opened, synchronize, reopened, closed]
11+
# branches:
12+
# - main
13+
14+
jobs:
15+
buid_deploy_job_dev:
16+
runs-on: ubuntu-latest
17+
name: Build and Deploy Job
18+
steps:
19+
- uses: actions/checkout@v3
20+
with:
21+
submodules: true
22+
lfs: false
23+
24+
- uses: actions/setup-node@v2
25+
with:
26+
node-version: 18
27+
28+
- name: Setup yarn
29+
run: npm install -g yarn
30+
31+
# Get yarn cache directory path
32+
- name: Get yarn cache directory path
33+
id: yarn-cache-dir-path
34+
run: echo "::set-output name=dir::$(yarn cache dir)"
35+
working-directory: apps/ui
36+
37+
# Cache yarn dependencies using the determined directory path
38+
- uses: actions/cache@v2
39+
with:
40+
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
41+
key: ${{ runner.os }}-yarn-${{ hashFiles('apps/ui/yarn.lock') }}
42+
restore-keys: |
43+
${{ runner.os }}-yarn-
44+
45+
- name: Install dependencies
46+
run: yarn install
47+
working-directory: apps/ui
48+
49+
- name: Build
50+
env:
51+
NODE_OPTIONS: "--max_old_space_size=4096"
52+
run: yarn run build:domain
53+
working-directory: apps/ui
54+
55+
- name: Postbuild
56+
run: yarn run postbuild
57+
working-directory: apps/ui
58+
59+
# - name: List dist contents
60+
# run: ls -l apps/ui/dist
61+
62+
- name: Build And Deploy
63+
id: builddeploy
64+
uses: Azure/static-web-apps-deploy@v1
65+
with:
66+
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_HAPPY_DUNE_05CDA6210 }}
67+
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
68+
action: "upload"
69+
###### Repository/Build Configurawtions - These values can be configured to match your app requirements. ######
70+
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
71+
app_location: "/apps/ui/dist" # App source code path
72+
# api_location: "" # Api source code path - optional
73+
# output_location: "dist" # Built app content directory - optional
74+
skip_app_build: true
75+
###### End of Repository/Build Configurations ######
76+
77+
# buid_deploy_job_prod:
78+
# needs: buid_deploy_job_dev
79+
# environment: prod
80+
# runs-on: ubuntu-latest
81+
# name: Build and Deploy Job Prod
82+
# steps:
83+
# - uses: actions/checkout@v3
84+
# with:
85+
# submodules: true
86+
# lfs: false
87+
88+
# - uses: actions/setup-node@v2
89+
# with:
90+
# node-version: 18
91+
92+
# - name: Setup yarn
93+
# run: npm install -g yarn
94+
95+
# # Get yarn cache directory path
96+
# - name: Get yarn cache directory path
97+
# id: yarn-cache-dir-path
98+
# run: echo "::set-output name=dir::$(yarn cache dir)"
99+
# working-directory: apps/ui
100+
101+
# # Cache yarn dependencies using the determined directory path
102+
# - uses: actions/cache@v2
103+
# with:
104+
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
105+
# key: ${{ runner.os }}-yarn-${{ hashFiles('apps/ui/yarn.lock') }}
106+
# restore-keys: |
107+
# ${{ runner.os }}-yarn-
108+
109+
# - name: Install dependencies
110+
# run: yarn install
111+
# working-directory: apps/ui
112+
113+
# - name: Build
114+
# env:
115+
# NODE_OPTIONS: '--max_old_space_size=4096'
116+
# run: yarn run build:prod
117+
# working-directory: apps/ui
118+
119+
# - name: Postbuild
120+
# run: yarn run postbuild
121+
# working-directory: apps/ui
122+
123+
# # - name: List dist contents
124+
# # run: ls -l apps/ui/dist
125+
126+
# - name: Build And Deploy
127+
# id: builddeploy
128+
# uses: Azure/static-web-apps-deploy@v1
129+
# with:
130+
# azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_THANKFUL_ISLAND_005734510 }}
131+
# repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
132+
# action: "upload"
133+
# ###### Repository/Build Configurawtions - These values can be configured to match your app requirements. ######
134+
# # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
135+
# app_location: "/apps/ui/dist" # App source code path
136+
# # api_location: "" # Api source code path - optional
137+
# # output_location: "dist" # Built app content directory - optional
138+
# skip_app_build: true
139+
# ###### End of Repository/Build Configurations ######
140+
141+
# # close_pull_request_job:
142+
# # if: github.event_name == 'pull_request' && github.event.action == 'closed'
143+
# # runs-on: ubuntu-latest
144+
# # name: Close Pull Request Job
145+
# # steps:
146+
# # - name: Close Pull Request
147+
# # id: closepullrequest
148+
# # uses: Azure/static-web-apps-deploy@v1
149+
# # with:
150+
# # azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_GROUND_069DB8E10 }}
151+
# # action: "close"

.github/workflows/azure-static-web-apps-brave-pond-088116410.yml

-46
This file was deleted.

.github/workflows/azure-static-web-apps-happy-dune-05cda6210.yml

-46
This file was deleted.

apps/ui/.env.callsbot

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
REACT_APP_ENV=callsbot
2+
REACT_APP_SERVICES_URL=https://api-dev.l3vels.xyz
3+
REACT_APP_ACCOUNT_SERVICES_URL=https://api-dev.l3vels.xyz
4+
REACT_APP_PR_SERVICES_URL=https://api-pr-dev.l3agi.com
5+
REACT_APP_PR_SERVICES_WS_URL=wss://api-pr-dev.l3agi.com
6+
7+
REACT_APP_MAIN_API_DOCS=https://api-dev.l3vels.xyz/docs
8+
REACT_APP_PR_API_DOCS=https://api-pr-dev.l3agi.com/docs
9+
10+
REACT_APP_DOMAIN_NAME=https://dev.l3agi.com
11+
12+
REACT_APP_SENTRY_DNS=
13+
REACT_APP_SENTRY_WEBPACK_AUTH_TOKEN=
14+
15+
REACT_APP_DISCORD_LINK=https://discord.gg/FcVZKcaRCV
16+
REACT_APP_GITHUB_LINK=https://github.com/l3vels/L3AGI
17+
REACT_APP_TWITTER_LINK=https://twitter.com/l3velshq
18+
REACT_APP_YOUTUBE_LINK=https://www.youtube.com/@L3AGI
19+
20+
REACT_APP_YOUTUBE_VIDEO_ID=R2hYNONKwKI
21+
REACT_APP_YOUTUBE_VIDEO_DATA_SOURCE_ID=Fza4gHP_M3o
22+
23+
REACT_APP_TERMS_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/terms.md
24+
REACT_APP_PRIVACY=https://github.com/l3vels/L3AGI/blob/main/docs/privacy.md
25+
REACT_APP_BASICS_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/basic.md
26+
REACT_APP_AGENTS_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/agent.md
27+
REACT_APP_API_KEYS_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/apiKeys.md
28+
REACT_APP_DATASOURCES_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/datasource.md
29+
REACT_APP_TOOLS_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/toolkit.md
30+
31+
REACT_APP_PLAN_AND_EXECUTE_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/team.md#types-of-teams
32+
REACT_APP_AUTHORITARIAN_SPEAKER_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/team.md#types-of-teams
33+
REACT_APP_DEBATES_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/team.md#types-of-teams
34+
REACT_APP_DECENTRALIZED_SPEAKER_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/team.md#types-of-teams
35+
36+
REACT_APP_TEAM_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/team.md
37+
38+
REACT_APP_INDEX_TYPES_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/index-types.md
39+
REACT_APP_RESPONSE_MODES_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/response-modes.md
40+
REACT_APP_VECTOR_STORES_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/vector-stores.md
41+
42+
REACT_APP_TWILIO_PHONE_NUMBER_SID_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/twilio-phone-number-sid.md
43+
44+
REACT_APP_STATIC_URL=https://static.l3vels.xyz
45+
REACT_APP_DATA_TEST_MODE=true
46+
PORT=3000
47+
48+
49+
# General Configurations
50+
REACT_APP_TITLE=CallsBot
51+
# REACT_APP_FAVICON="/ss.png"
52+
REACT_APP_CONTENT="Revolutionize your team's collaboration with our open-source framework, crafted to make AI agents work together as seamlessly as human collaboration. Empower your projects with unparalleled efficiency and coordination. Experience the future of teamwork, where artificial intelligence meets human ingenuity. Elevate your collaborative efforts with CallsBot – because when AI agents unite, extraordinary outcomes become the new norm."
53+
# REACT_APP_LOGO="/ss.png"
54+
REACT_APP_WELCOME_MESSAGE="Welcome to CallsBot"
55+
56+
# Login Page Configurations
57+
# REACT_APP_LOGIN_EMAIL_PASSWORD=true
58+
# REACT_APP_LOGIN_GITHUB=false
59+
# REACT_APP_LOGIN_POPUP=false
60+
# REACT_APP_LOGIN_DISCOVERY=false
61+
REACT_APP_LOGIN_PAGE={"email_password":true,"github":false,"popup":false,"discovery":false}
62+
63+
# Naming Configurations
64+
REACT_APP_HOME_NAMING="Home"
65+
REACT_APP_AGENT_NAMING="Assistant"
66+
REACT_APP_TEAM_NAMING="Team"
67+
REACT_APP_DATASOURCE_NAMING="Knowledge"
68+
REACT_APP_MODEL_NAMING="Model"
69+
REACT_APP_DISCOVERY_NAMING="Discovery"
70+
REACT_APP_CHAT_NAMING="Assistants"
71+
REACT_APP_TOOLKIT_NAMING="Toolkit"
72+
REACT_APP_SCHEDULES_NAMING="Schedules"
73+
REACT_APP_INTEGRATION_NAMING="Integration"
74+
75+
# CHAT MODULE OPERATIONS
76+
# TEAM
77+
REACT_APP_CHAT_TEAM_CREATE=true
78+
REACT_APP_CHAT_TEAM_LIST=true
79+
REACT_APP_CHAT_TEAM_EDIT=true
80+
REACT_APP_CHAT_TEAM_DELETE=true
81+
# AGENT
82+
REACT_APP_CHAT_TEAM_CREATE=true
83+
REACT_APP_CHAT_TEAM_LIST=true
84+
REACT_APP_CHAT_TEAM_EDIT=true
85+
REACT_APP_CHAT_TEAM_DELETE=true
86+
87+
# MODEL MODULE OPERATIONS
88+
# MODELS
89+
REACT_APP_MODELS_CREATE=true
90+
REACT_APP_MODELS_LIST=true
91+
REACT_APP_MODELS_EDIT=true
92+
REACT_APP_MODELS_DELETE=true
93+
# FINE-TUNING
94+
REACT_APP_FINE_TUNINGS_CREATE=true
95+
REACT_APP_FINE_TUNINGS_LIST=true
96+
REACT_APP_FINE_TUNINGS_EDIT=true
97+
REACT_APP_FINE_TUNINGS_DELETE=true
98+
99+
# REST MODELS
100+
REACT_APP_TOOLKIT=true
101+
REACT_APP_DATASOURCE=true
102+
REACT_APP_DISCOVERY=false
103+
REACT_APP_SESSION=true
104+
REACT_APP_SCHEDULE=true
105+
REACT_APP_INTEGRATION=true
106+
REACT_APP_CONTACT=true
107+
REACT_APP_GROUP=true
108+
REACT_APP_EXTERNAL_LINKS=false
109+

apps/ui/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,12 @@
8686
"scripts": {
8787
"start:local": "NODE_ENV=local vite --open",
8888
"start:domain": "vite --mode domain --open",
89+
"start:callsbot": "vite --mode callsbot --open",
8990
"start:dev": "vite --mode develop --open",
9091
"build": "NODE_OPTIONS=--max_old_space_size=8192 tsc && vite build",
9192
"build:dev": "NODE_OPTIONS=--max_old_space_size=8192 vite build --mode develop",
9293
"build:domain": "NODE_OPTIONS=--max_old_space_size=8192 vite build --mode domain",
94+
"build:callsbot": "NODE_OPTIONS=--max_old_space_size=8192 vite build --mode callsbot",
9395
"build:staging": "NODE_OPTIONS=--max_old_space_size=8192 vite build --mode staging",
9496
"build:prod": "NODE_OPTIONS=--max_old_space_size=8192 vite build --mode production",
9597
"test": "vite test",

0 commit comments

Comments
 (0)