Skip to content

Commit 778d11d

Browse files
authored
Merge pull request #95 from code0-tech/feat/#12
Adding AI action
2 parents 31b283c + e8639cf commit 778d11d

113 files changed

Lines changed: 12021 additions & 0 deletions

File tree

Some content is hidden

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

‎.gitlab-ci.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ include:
2929
- stripe-action
3030
- smtp-action
3131
- github-action
32+
- ai-action
3233

3334
.rust-actions:
3435
- cron-action

‎actions/ai-action/.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.env
2+
node_modules/
3+
dist/

‎actions/ai-action/Dockerfile‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM node:24.10.0-alpine
2+
3+
WORKDIR /app
4+
5+
COPY package.json package-lock.json* ./
6+
7+
RUN npm ci
8+
9+
COPY . .
10+
11+
RUN npm run build
12+
13+
# The action serves the OpenAI protocol itself, on AI_OPENAI_PORT (8080 by default).
14+
EXPOSE 8080
15+
16+
CMD ["npm", "run", "start"]

‎actions/ai-action/manifest.json‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "ai",
3+
"identifier": "ai-action",
4+
"description": "AI agents built from what the project already has: the model they think with, the flows and MCP servers they use as tools, and the rules they follow.",
5+
"deployment": {
6+
"docker": {
7+
"image": "ghcr.io/code0-tech/centaurus/ci-builds/ai-action"
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)