Skip to content

Commit 84b4407

Browse files
tomkisJanPokorny
andauthored
chore: basic foundation for beeai ts sdk (#1312)
Co-authored-by: Jan Pokorný <JenomPokorny@gmail.com>
1 parent 6e4cc44 commit 84b4407

File tree

130 files changed

+1902
-115
lines changed

Some content is hidden

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

130 files changed

+1902
-115
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ jobs:
142142
- run: echo '${{ secrets.GITHUB_TOKEN }}' | helm registry login --username '${{ github.actor }}' --password-stdin ghcr.io
143143
- run: helm push ./helm/dist/beeai-platform-*.tgz 'oci://ghcr.io/${{ github.repository }}/beeai-platform-chart'
144144

145-
- run: mise run beeai-sdk:build
145+
- run: mise run beeai-sdk-py:build
146146
- uses: pypa/gh-action-pypi-publish@release/v1
147147
with:
148-
packages-dir: apps/beeai-sdk/dist
148+
packages-dir: apps/beeai-sdk-py/dist
149149

150150
- run: mise run beeai-cli:build
151151
- uses: pypa/gh-action-pypi-publish@release/v1
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: beeai-sdk-test
1+
name: beeai-sdk-py-test
22

33
permissions:
44
contents: read
@@ -7,14 +7,14 @@ on:
77
workflow_dispatch: { }
88
pull_request:
99
paths:
10-
- 'apps/beeai-sdk/**'
10+
- 'apps/beeai-sdk-py/**'
1111
push:
1212
branches:
1313
- main
1414
paths:
15-
- 'apps/beeai-sdk/**'
15+
- 'apps/beeai-sdk-py/**'
1616
jobs:
17-
beeai-sdk-test:
17+
beeai-sdk-py-test:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
@@ -29,4 +29,4 @@ jobs:
2929
- uses: ./.github/actions/setup
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32-
- run: mise run beeai-sdk:e2e-test
32+
- run: mise run beeai-sdk-py:e2e-test

agents/chat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ RUN apt-get update && apt-get install -y build-essential
33
COPY --from=ghcr.io/astral-sh/uv:0.8.17 /uv /bin/
44
WORKDIR /agents/chat
55
COPY ./agents/chat/ ./
6-
COPY ./apps/beeai-sdk/ /apps/beeai-sdk/
6+
COPY ./apps/beeai-sdk-py/ /apps/beeai-sdk-py/
77
RUN uv sync --no-cache --link-mode copy
88

99
FROM python:3.13-slim-bookworm

agents/chat/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies = [
1919
line-length = 120
2020

2121
[tool.uv.sources]
22-
beeai-sdk = { path = "../../apps/beeai-sdk", editable = true }
22+
beeai-sdk = { path = "../../apps/beeai-sdk-py", editable = true }
2323

2424
[project.scripts]
2525
server = "chat.agent:serve"

agents/chat/uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

agents/form/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ RUN apt-get update && apt-get install -y build-essential
33
COPY --from=ghcr.io/astral-sh/uv:0.8.17 /uv /bin/
44
WORKDIR /agents/form
55
COPY ./agents/form/ ./
6-
COPY ./apps/beeai-sdk/ /apps/beeai-sdk/
6+
COPY ./apps/beeai-sdk-py/ /apps/beeai-sdk-py/
77
RUN uv sync --no-cache --link-mode copy
88

99
FROM python:3.13-slim-bookworm

agents/form/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies = [
1919
line-length = 120
2020

2121
[tool.uv.sources]
22-
beeai-sdk = { path = "../../apps/beeai-sdk", editable = true }
22+
beeai-sdk = { path = "../../apps/beeai-sdk-py", editable = true }
2323

2424
[project.scripts]
2525
server = "form.agent:serve"

agents/form/uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

agents/rag/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ RUN apt-get update && apt-get install -y build-essential
33
COPY --from=ghcr.io/astral-sh/uv:0.8.17 /uv /bin/
44
WORKDIR /agents/rag
55
COPY ./agents/rag/ ./
6-
COPY ./apps/beeai-sdk/ /apps/beeai-sdk/
6+
COPY ./apps/beeai-sdk-py/ /apps/beeai-sdk-py/
77
RUN uv sync --no-cache --link-mode copy
88

99
FROM python:3.13-slim-bookworm

agents/rag/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies = [
2121
line-length = 120
2222

2323
[tool.uv.sources]
24-
beeai-sdk = { path = "../../apps/beeai-sdk", editable = true }
24+
beeai-sdk = { path = "../../apps/beeai-sdk-py", editable = true }
2525

2626
[project.scripts]
2727
server = "rag.agent:serve"

0 commit comments

Comments
 (0)