diff --git a/.env.example b/.env.example index c9ce51d1..7b4cbfec 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,7 @@ # ------------------------------ # Log path -LOG_PATH=/tmp/astra +LOG_PATH=/tmp/ten_agent LOG_STDOUT=true # Graph designer server port GRAPH_DESIGNER_SERVER_PORT=49483 diff --git a/.github/workflows/build-docker.yaml b/.github/workflows/build-docker.yaml index 036fd5d9..cea6daec 100644 --- a/.github/workflows/build-docker.yaml +++ b/.github/workflows/build-docker.yaml @@ -16,9 +16,9 @@ on: workflow_dispatch: env: - SERVER_IMAGE_NAME: astra_agents_server - PLAYGROUND_IMAGE_NAME: astra_playground - DEMO_IMAGE_NAME: agent_demo + SERVER_IMAGE_NAME: ten_agent_server + PLAYGROUND_IMAGE_NAME: ten_agent_playground + DEMO_IMAGE_NAME: ten_agent_demo jobs: build: diff --git a/Makefile b/Makefile index 101a5c0b..7163e3c7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PROJECT_NAME := astra +PROJECT_NAME := ten_agent PROJECT_VERSION ?= "0.1."$(shell date -u +'%Y%m%d%H') REGISTRY ?= agoraio/ @@ -35,7 +35,7 @@ docker-build-playground: docker-build-server: @echo ">> docker build server" - docker build -t $(REGISTRY)$(PROJECT_NAME)_agents_server:$(PROJECT_VERSION) --platform linux/amd64 -f Dockerfile . + docker build -t $(REGISTRY)$(PROJECT_NAME)_server:$(PROJECT_VERSION) --platform linux/amd64 -f Dockerfile . @echo ">> done" run-gd-server: diff --git a/agents/manifest.json b/agents/manifest.json index 3d1e3622..a2488fd2 100644 --- a/agents/manifest.json +++ b/agents/manifest.json @@ -1,6 +1,6 @@ { "type": "app", - "name": "astra_agents", + "name": "ten_agent", "version": "0.4.0", "dependencies": [ { diff --git a/agents/property.json b/agents/property.json index 28aadb43..73b5a9eb 100644 --- a/agents/property.json +++ b/agents/property.json @@ -14,7 +14,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, @@ -213,7 +213,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, @@ -418,7 +418,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, @@ -582,7 +582,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, @@ -802,7 +802,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, @@ -1005,7 +1005,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, @@ -1173,7 +1173,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, @@ -1403,7 +1403,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, @@ -1637,7 +1637,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, @@ -1836,7 +1836,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, @@ -2211,7 +2211,7 @@ "property": { "app_id": "${env:AGORA_APP_ID}", "token": "", - "channel": "astra_agents_test", + "channel": "ten_agent_test", "stream_id": 1234, "remote_stream_id": 123, "subscribe_audio": true, diff --git a/docker-compose.yml b/docker-compose.yml index 5eddbba1..a6da3f87 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ services: - astra_agents_dev: + ten_agent_dev: image: ghcr.io/ten-framework/ten_agent_build:0.1.0 - container_name: astra_agents_dev + container_name: ten_agent_dev platform: linux/amd64 tty: true stdin_open: true @@ -17,33 +17,33 @@ services: env_file: - .env networks: - - astra_network - astra_playground: - image: ghcr.io/ten-framework/astra_playground:v0.4.1-103-g391e0d0 - container_name: astra_playground + - ten_agent_network + ten_agent_playground: + image: ghcr.io/ten-framework/ten_agent_playground + container_name: ten_agent_playground restart: always ports: - "3000:3000" networks: - - astra_network + - ten_agent_network environment: - - AGENT_SERVER_URL=http://astra_agents_dev:8080 - - TEN_DEV_SERVER_URL=http://astra_agents_dev:49483 - agent_demo_ui: - image: ghcr.io/ten-framework/agent_demo:v0.4.1-9-g09a1df2 - container_name: agent_demo_ui + - AGENT_SERVER_URL=http://ten_agent_dev:8080 + - TEN_DEV_SERVER_URL=http://ten_agent_dev:49483 + ten_agent_demo: + image: ghcr.io/ten-framework/agent_demo + container_name: ten_agent_demo restart: always ports: - "3002:3000" networks: - - astra_network + - ten_agent_network environment: - - AGENT_SERVER_URL=http://astra_agents_dev:8080 + - AGENT_SERVER_URL=http://ten_agent_dev:8080 # use this when you want to run the playground in local development mode - # astra_playground_dev: + # ten_agent_playground_dev: # image: node:20-alpine - # container_name: astra_playground_dev + # container_name: ten_agent_playground_dev # restart: always # command: sh -c "cd /app/playground && npm i && npm run dev" #build && npm run start" # ports: @@ -57,9 +57,9 @@ services: ports: - "3001:3000" networks: - - astra_network + - ten_agent_network environment: - - TEN_DEV_SERVER_URL=http://astra_agents_dev:49483 + - TEN_DEV_SERVER_URL=http://ten_agent_dev:49483 networks: - astra_network: + ten_agent_network: driver: bridge \ No newline at end of file