Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,17 @@
"version: \"?(?<currentValue>.*?)\"?\\n"
]
},
{
"customType": "regex",
"datasourceTemplate": "pypi",
"depNameTemplate": "agent-cli",
"fileMatch": [
"^tools/agent-cli/manifest.yaml$"
],
"matchStrings": [
"version: \"?(?<currentValue>.*?)\"?\\n"
]
},
{
"customType": "regex",
"datasourceTemplate": "github-releases",
Expand Down
23 changes: 23 additions & 0 deletions tools/agent-cli/Dockerfile.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#syntax=docker/dockerfile:1.18.0@sha256:dabfc0969b935b2080555ace70ee69a5261af8a8f1b4df97b9e7fbcf6722eddf

FROM ghcr.io/uniget-org/tools/python-3.12:latest AS python
FROM ghcr.io/uniget-org/tools/shiv:latest AS shiv

FROM registry.gitlab.com/uniget-org/images/build-essential:24.04 AS prepare
COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
/etc/profile.d/ \
/etc/profile.d/
SHELL [ "bash", "-clo", "errexit" ]
ARG name
ARG version
RUN --mount=type=cache,target=/var/cache/apt <<EOF
apt-get update
apt-get -y install --no-install-recommends \
clang \
portaudio19-dev
EOF
COPY --link --from=python / /usr/local/
COPY --link --from=shiv / /usr/local/
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
shiv --output-file "${prefix}/bin/agent-cli" --console-script agent-cli "agent-cli==${version}"
EOF
30 changes: 30 additions & 0 deletions tools/agent-cli/manifest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# yaml-language-server: $schema=https://tools.uniget.dev/schema.yaml
$schema: https://tools.uniget.dev/schema.yaml
name: agent-cli
license:
name: MIT License
link: https://github.com/basnijholt/agent-cli/blob/main/LICENSE
version: "0.21.1"
check: ""
build_dependencies:
- python-3.12
- shiv
runtime_dependencies:
- python-3.12
- zellij
platforms:
- linux/amd64
- linux/arm64
tags:
- category/development
- lang/python
- type/cli
- ai
- llm
homepage: https://github.com/basnijholt/agent-cli
repository: https://github.com/basnijholt/agent-cli
description: Suite of local AI-powered command-line tools
renovate:
datasource: pypi
package: agent-cli
priority: low
Loading