Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
705232b
updated test issuer and rp to support x509 (#2)
berendsliedrecht Jul 23, 2024
7ea1e75
update continous deployment.yaml
Jul 23, 2024
8bcc0d8
Merge pull request #4 from animo/update-workflow
TimoGlastra Jul 23, 2024
221c7cc
show x509 certificate on issuer home page (#5)
berendsliedrecht Jul 24, 2024
e0e2924
feat: dhke
Jul 30, 2024
5ff8410
[TEMP] patch for JWA for presentation
Jul 30, 2024
2d9762c
fix presentation (#8)
berendsliedrecht Aug 3, 2024
13849c2
c flow (#9)
berendsliedrecht Aug 3, 2024
3e348fc
fix: type issue
Aug 14, 2024
8f3d576
build: fixup CI to build agent image
Aug 14, 2024
0f3afda
include patches in package
Aug 14, 2024
209def9
include patches in package
Aug 14, 2024
42e0aa5
fix: include patches twice
Aug 14, 2024
80c53e4
feat: pid issue trusted certificates (#11)
berendsliedrecht Aug 14, 2024
ba5c2f3
Update README.md
TimoGlastra Aug 14, 2024
6bc0f34
fix: show error
TimoGlastra Aug 14, 2024
3ab34e2
feat: good presentation definition for C flow (#13)
berendsliedrecht Aug 14, 2024
ca57688
feat: allow passing x509 cert in env (#14)
TimoGlastra Aug 15, 2024
b34dcf7
feat: use DNS in X.509 certificate
Aug 16, 2024
203e3cc
feat: allow c1 issuer (#16)
TimoGlastra Aug 19, 2024
433ff1b
feat: b prime presentation request working with mock credential
Aug 25, 2024
597913f
feat: flow combined
TimoGlastra Aug 25, 2024
780335b
fix: make it work
TimoGlastra Aug 25, 2024
09615bb
update title
TimoGlastra Aug 26, 2024
8c4fc96
feat: b prime presentation working
Aug 26, 2024
582bb4e
fix: include patcjes
Aug 26, 2024
f1a8e15
feat: mdoc draft (#21)
auer-martin Aug 27, 2024
b1446ad
updates
TimoGlastra Aug 27, 2024
785091b
patches local (#23)
berendsliedrecht Aug 27, 2024
921d0db
more patch fixes
TimoGlastra Aug 27, 2024
d791d02
fix app build
TimoGlastra Aug 27, 2024
49a3dbb
fix agent build
TimoGlastra Aug 27, 2024
5e3250f
add patch to docker
TimoGlastra Aug 27, 2024
f108cd8
copy tar
TimoGlastra Aug 27, 2024
26ce0a2
fix patches
TimoGlastra Aug 27, 2024
9a83952
feat: add open in wallet button
TimoGlastra Sep 2, 2024
3c2e24c
fix: remove patches
TimoGlastra Oct 8, 2024
f588af5
add request scheme
TimoGlastra Oct 27, 2024
9ca53cd
feat: add issuance, update to new version
TimoGlastra Oct 29, 2024
b8cd196
feat: add custom eaas
TimoGlastra Oct 29, 2024
12610b7
feat: test credentials
TimoGlastra Oct 30, 2024
8b03d1d
fix: date only
TimoGlastra Oct 30, 2024
53a7d24
add assets
TimoGlastra Oct 30, 2024
06baa03
add response mode
TimoGlastra Oct 30, 2024
279abe4
mdoc verification
TimoGlastra Nov 1, 2024
c98e4d3
mdoc image
TimoGlastra Nov 2, 2024
4f8ec3b
fix
TimoGlastra Nov 4, 2024
166d96d
app association
TimoGlastra Nov 18, 2024
7a7038c
fix app association hosting
TimoGlastra Nov 18, 2024
2a8607f
remove b prime
TimoGlastra Nov 19, 2024
21dd4bc
auth flow
TimoGlastra Nov 19, 2024
4cef4e2
docker build
TimoGlastra Nov 19, 2024
b1f4483
fix esm
TimoGlastra Nov 19, 2024
f01a4ff
fix build
TimoGlastra Nov 19, 2024
ba3ac9c
add sixt
TimoGlastra Nov 20, 2024
c015e41
fix: animo logo
TimoGlastra Nov 20, 2024
afd2f2c
feat: add certificates
TimoGlastra Nov 24, 2024
c8544e1
fix date
TimoGlastra Nov 25, 2024
5980202
show error message
TimoGlastra Nov 25, 2024
f4b2de2
feat: add dcql (#28)
TimoGlastra Nov 25, 2024
85b39ce
chore: update to funke
TimoGlastra Nov 25, 2024
9b3bdbb
pin dcql
TimoGlastra Nov 25, 2024
e0ec529
fix: deeplink
TimoGlastra Nov 25, 2024
46b1a91
chore: update pex models
TimoGlastra Nov 25, 2024
e27abb3
update
TimoGlastra Nov 25, 2024
c09d93e
chore: update
TimoGlastra Nov 26, 2024
3b9f02c
add new requet
TimoGlastra Nov 26, 2024
3667ef3
feat: OpenId Federation with multiple layers
Tommylans Nov 26, 2024
c8cd156
chore: Processed feedback
Tommylans Nov 26, 2024
78d684d
Merge pull request #29 from animo/feature/openid-federation
Tommylans Nov 26, 2024
53d3c9b
feat: optional batch issuance
TimoGlastra Nov 26, 2024
d948f34
fix: remove driving priviliges for now
TimoGlastra Nov 26, 2024
f37ea75
feat: More test cases
Tommylans Nov 26, 2024
a9eb21d
Merge branch 'main' into feature/openid-federation
Tommylans Nov 26, 2024
bea9cdd
feat: ai route
janrtvld Nov 26, 2024
137d39b
fix: secret
janrtvld Nov 26, 2024
f3c4881
Merge pull request #30 from animo/feature/openid-federation
Tommylans Nov 26, 2024
ba083cb
feat: added verifier bit
janrtvld Nov 26, 2024
7749dee
fix: verifier
janrtvld Nov 26, 2024
3df2d9f
Merge pull request #31 from animo/feat/ai-route
janrtvld Nov 26, 2024
f34987f
feat: Usecases in the frontend to seperate specific flows
Tommylans Nov 26, 2024
3cba139
fix: prompt fixes
janrtvld Nov 26, 2024
127596a
fix: Some requests
Tommylans Nov 26, 2024
9cede86
Merge pull request #33 from animo/feat/ai-improvs
Tommylans Nov 26, 2024
e8cc22b
Merge pull request #32 from animo/feature/usecases
Tommylans Nov 26, 2024
13cbec7
Merge branch 'main' into bugfix/some-requests
Tommylans Nov 26, 2024
ca099a8
Merge pull request #34 from animo/bugfix/some-requests
Tommylans Nov 26, 2024
0f8bb4d
fix: Typing
Tommylans Nov 26, 2024
3561aa3
fix: Change redcare name
Tommylans Nov 26, 2024
1011682
feat: Purpose for DCQL and AI improvements
Tommylans Nov 26, 2024
3d9f04d
fix: pin -> transaction code
TimoGlastra Nov 28, 2024
2c2089f
more format options
TimoGlastra Nov 28, 2024
e91406d
feat: allow setting purpose
TimoGlastra Dec 7, 2024
276c459
add paradym invitation page
TimoGlastra Dec 9, 2024
a062f96
feat: update health data credential
TimoGlastra Dec 10, 2024
475b1da
Merge branch 'new-health-data'
TimoGlastra Dec 10, 2024
f61fed4
feat: newpl ayground
janrtvld Dec 11, 2024
90e18ae
chore: add new vct type
TimoGlastra Dec 17, 2024
6cc013c
Merge remote-tracking branch 'origin/feat/new-playground'
TimoGlastra Jan 16, 2025
ff54ffe
improvemetns to playground
TimoGlastra Jan 23, 2025
71098bc
big update
TimoGlastra Jan 24, 2025
6d7be63
fix
TimoGlastra Jan 24, 2025
c1bf2ea
fix health id
TimoGlastra Jan 24, 2025
d20f7d7
arf compliant pid
TimoGlastra Jan 24, 2025
79b2d25
chore: support mdoc without jarm, released package
TimoGlastra Jan 28, 2025
2a6c4c0
add wallet metadata
TimoGlastra Jan 29, 2025
9558f07
add issuer
TimoGlastra Jan 29, 2025
b6a43fb
add mdl request, msisdn attestatino type
TimoGlastra Jan 29, 2025
ade6a17
add signature usual mark
TimoGlastra Jan 29, 2025
f0498bb
fix: typo
TimoGlastra Jan 29, 2025
4af73ed
updates
TimoGlastra Feb 4, 2025
0744525
one pnpm version
TimoGlastra Feb 4, 2025
1e62ebf
use uncompressed key
TimoGlastra Feb 4, 2025
bd31fbd
build issue
TimoGlastra Feb 4, 2025
0bb9b1e
no corepack
TimoGlastra Feb 4, 2025
b9b0a14
add age_over_18
TimoGlastra Feb 6, 2025
d126095
fix: use animo pex fork
TimoGlastra Feb 9, 2025
5bbf5a5
personalausweis -> pid
TimoGlastra Feb 11, 2025
f3f59c8
support ldp_vc issuance
TimoGlastra Feb 18, 2025
27d93ef
chore: new mdl card (#37)
janrtvld Feb 19, 2025
2c6acb2
feat: X509 cert chain (#38)
berendsliedrecht Feb 19, 2025
ed096e6
fix: issue with verificatoin
TimoGlastra Feb 24, 2025
60fe2ae
feat: x509 certs (#40)
berendsliedrecht Feb 25, 2025
f00376c
update mdoc
TimoGlastra Feb 25, 2025
5df19bc
feat: test credentials for event (#39)
janrtvld Feb 25, 2025
9347b73
fix: date only
TimoGlastra Feb 25, 2025
5611c29
Update package.json
TimoGlastra Feb 26, 2025
52daa42
fix: update certs
berendsliedrecht Feb 28, 2025
b06af9b
Update provider.ts
TimoGlastra Mar 4, 2025
9a8860b
chore: ai prompt improv (#41)
janrtvld Mar 5, 2025
df6f121
feat: OpenID4VP Draft 24 and DC API (#42)
TimoGlastra Mar 24, 2025
3a9d617
fix patch
TimoGlastra Mar 24, 2025
32b4164
add copy configuration
TimoGlastra Mar 25, 2025
764d9e4
chore: rename request
janrtvld Apr 1, 2025
909a4f2
Merge pull request #43 from animo/fix/request-name
janrtvld Apr 1, 2025
e2a34f5
fix: presentation definition with submission requirements
TimoGlastra Apr 3, 2025
d930da4
fix: rerender loop
TimoGlastra Apr 3, 2025
a9a5005
fix: use namespace instead of doctype for mdoc
TimoGlastra Apr 3, 2025
b0d92b5
no stringify
TimoGlastra Apr 3, 2025
45b576f
fix: issue with cert
TimoGlastra Apr 4, 2025
2483ff2
update queries
TimoGlastra Apr 4, 2025
c219ff5
support new features in the playground
TimoGlastra Apr 4, 2025
ea69743
add potential uc
TimoGlastra Apr 7, 2025
5287c02
add tags
TimoGlastra Apr 7, 2025
cfd0536
add pid requests
TimoGlastra Apr 7, 2025
f12d005
add arf 1.8 pid request
TimoGlastra Apr 7, 2025
5fa955d
fix mandatory 1.8
TimoGlastra Apr 7, 2025
80034f4
chore: update pex
TimoGlastra Apr 14, 2025
f285254
feat: ai (#44)
janrtvld Apr 14, 2025
07034b9
fix: configuration
TimoGlastra Apr 22, 2025
edcddcd
add interop event
TimoGlastra Apr 23, 2025
91652dc
fix: typo
TimoGlastra Apr 23, 2025
2dc3bcc
use dc+sd-jwt
TimoGlastra Apr 24, 2025
3c79d95
feat: add interop verifier
TimoGlastra Apr 25, 2025
e980030
update credo
TimoGlastra Apr 25, 2025
1747d33
update lock
TimoGlastra Apr 25, 2025
9361d59
fix incorrect attribute
TimoGlastra Apr 28, 2025
ffcf5ca
fix: invalid age claim in 1.8 pid
TimoGlastra Apr 29, 2025
26b0f5e
update the queries
TimoGlastra Apr 29, 2025
0338f07
fix: photo id payload
TimoGlastra Apr 29, 2025
b976b29
fix: mdoc payload
TimoGlastra Apr 29, 2025
bd7b913
update vct type (#45)
TimoGlastra May 2, 2025
fdb8219
support CRL
TimoGlastra May 2, 2025
8c8a249
add special pid for msft
TimoGlastra May 3, 2025
b1764b8
make pid request work with german wallet
TimoGlastra May 8, 2025
219efe8
feat: support redirect_uri
TimoGlastra May 8, 2025
2670ed4
add new request for deinebank
TimoGlastra May 14, 2025
b1419f8
add deinebank
TimoGlastra May 14, 2025
dfef9c0
missed some things
TimoGlastra May 14, 2025
7031770
one more missing thing
TimoGlastra May 14, 2025
ab358ba
mock rp a&a
TimoGlastra May 15, 2025
206cdd8
extend request
TimoGlastra May 15, 2025
4359546
update certificdate
TimoGlastra May 15, 2025
79e9835
add new request
TimoGlastra May 17, 2025
75edf70
chore: update BDR credential
berendsliedrecht May 19, 2025
4aeaaa0
fix portrait
berendsliedrecht May 20, 2025
3ca39d6
docker include lock file
berendsliedrecht May 20, 2025
632f818
don't use ^ with typescript
berendsliedrecht May 20, 2025
0e5dd62
do not copy lock file
berendsliedrecht May 20, 2025
8d542dc
lock zod version
berendsliedrecht May 20, 2025
c9c3041
name change to DeineBank.de
berendsliedrecht May 20, 2025
0b7b9aa
longer timeout and overasking
TimoGlastra May 26, 2025
92df10d
fix: transaction data for pex
TimoGlastra May 27, 2025
8dd3d35
added two new mdl datasets under vws
anagoessens May 27, 2025
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
97 changes: 97 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Continuous Deployment

on:
workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
APP: app
AGENT: agent

jobs:
build-and-push-image-agent:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write

defaults:
run:
working-directory: ${{ env.AGENT }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- name: Install dependencies
run: pnpm install --no-frozen-lockfile

- run: AGENT_HOST=https://funke.animo.id pnpm build

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.AGENT }}

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: ./agent
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

build-and-push-image-app:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
permissions:
contents: read
packages: write

defaults:
run:
working-directory: ${{ env.APP }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- name: Install dependencies
run: pnpm install --no-frozen-lockfile

- run: NEXT_PUBLIC_API_URL=https://funke.animo.id pnpm build

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.APP }}

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: ./app
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
135 changes: 0 additions & 135 deletions .github/workflows/continuous_deployment.yaml

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
ngrok.auth.yml
node_modules
.DS_Store
dist
.env
.env.local
.env.local
.next
out
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

</p>

<h1 align="center"><b>Animo OpenID4VC Playground</b></h1>
<h1 align="center"><b>Funke OpenID4VC Playground</b></h1>
<div align="center">
<a
href="https://raw.githubusercontent.com/animo/openid4vc-playground/main/LICENSE"
Expand All @@ -15,11 +15,11 @@
</div>

> [!TIP]
> Check out the demo at https://openid4vc.animo.id
> Check out the demo at https://funke.animo.id

## ✨ Hi there!

Welcome to the repository of Animo's OpenID4VC Playground. This interactive playground demonstrates the use of OpenID4VC with different credential formats (such as SD-JWT VCs). This demo is built using [Aries Framework Javascript (AFJ)](https://github.com/hyperledger/aries-framework-javascript). AFJ is a framework written in TypeScript for building decentralized identity services.
Welcome to the repository of Animo's OpenID4VC Playground. This interactive playground demonstrates the use of OpenID4VC with different credential formats (such as SD-JWT VCs). This demo is built using [Credo](https://github.com/openwallet-foundation/credo-ts). Credo is a framework written in TypeScript for building decentralized identity services.

## 🛠️ Usage

Expand Down Expand Up @@ -57,8 +57,7 @@ cp .env.example .env
| `AGENT_WALLET_KEY` | Used in the backend application for the agent. Should be secure and kept private. |

> [!IMPORTANT]
> The issuer will use `did:web` for issuing credentials, but this requires `https` to be used. When developing locally it is recommend
> to use `ngrok` (`npx ngrok http 3001`) and use that url as the `AGENT_HOST` variable. Make sure to also set the `NEXT_PUBLIC_API_URL` variable in the app to the ngrok.
> You can use `ngrok` (`npx ngrok http 3001`) and use that url as the `AGENT_HOST` variable. Make sure to also set the `NEXT_PUBLIC_API_URL` variable in the app to the ngrok.
>
> We may add issuance using did:key in development if the host url does not start with `https`.

Expand All @@ -80,7 +79,7 @@ Copy the https url from the ngrok command and set that as the `AGENT_HOST`

```bash
cd agent
AGENT_HOST=https://30f9-58-136-114-148.ngrok-free.app pnpm dev
AGENT_HOST=https://ebcf-161-51-75-237.ngrok-free.app pnpm dev
```

```bash
Expand Down
8 changes: 4 additions & 4 deletions agent/.env.development
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AGENT_WALLET_KEY=secret-wallet-key
DID_INDY_INDICIO_TESTNET_PUBLIC_DID_SEED=2543786a945a27258087ccfe95ff62df
CHEQD_TESTNET_COSMOS_PAYER_SEED=robust across amount corn curve panther opera wish toe ring bleak empower wreck party abstract glad average muffin picnic jar squeeze annual long aunt
ED25519_SEED=5473a3e4c5ae3fd5fb3ad089563596e3
P256_SEED=e5f18b10cd15cdb76818bc6ae8b71eb475e6eac76875ed085d3962239bbcf42f
ROOT_P256_SEED=e5f18b10cd15cdb76818bc6ae8b71eb475e6eac76875ed085d3962hgytbcf42f
DCS_P256_SEED=e5f18b10aaa5cdb76818bc6ae8b71eb475e6eac76875ed085d3962hgytbcf42e
ANTHROPIC_API_KEY=
AGENT_HOST=http://localhost:3001/
7 changes: 5 additions & 2 deletions agent/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ AGENT_HOST=http://localhost:3001
AGENT_WALLET_KEY=secret-wallet-key
DID_INDY_INDICIO_TESTNET_PUBLIC_DID_SEED=2543786a945a27258087ccfe95ff62df
CHEQD_TESTNET_COSMOS_PAYER_SEED=robust across amount corn curve panther opera wish toe ring bleak empower wreck party abstract glad average muffin picnic jar squeeze annual long aunt
ED25519_SEED=5473a3e4c5ae3fd5fb3ad089563596e3
P256_SEED=e5f18b10cd15cdb76818bc6ae8b71eb475e6eac76875ed085d3962239bbcf42f
ROOT_P256_SEED=e5f18b10cd15cdb76818bc6ae8b71eb475e6eac76875ed085d3962hgytbcf42f
DCS_P256_SEED=e5f18b10cd15cdb76818bc6ae8b71eb475e6eac76875ed085d3962hgytbcf42e
X509_ROOT_CERTIFICATE=MIIB8TCCAZigAwIBAgIQFMfMaD9JG917I+r6ztmSmjAKBggqhkjOPQQDAjAdMQ4wDAYDVQQDEwVBbmltbzELMAkGA1UEBhMCTkwwHhcNMjQwMjE5MTEyNDIzWhcNMjgwMjE5MTEyNDIzWjAdMQ4wDAYDVQQDEwVBbmltbzELMAkGA1UEBhMCTkwwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATcD1XzKepFxWMAOqV+ln1fybBt7DRO5CV0f9A6mRp2xWn9lR8juDM4hIVHgX6HmVQTPlk8mZfg4jAuv3frEuDCo4G5MIG2MEoGA1UdDgRDBEEE3A9V8ynqRcVjADqlfpZ9X8mwbew0TuQldH/QOpkadsVp/ZUfI7gzOISFR4F+h5lUEz5ZPJmX4OIwLr936xLgwjAOBgNVHQ8BAf8EBAMCAQYwIQYDVR0SBBowGIYWaHR0cHM6Ly9mdW5rZS5hbmltby5pZDASBgNVHRMBAf8ECDAGAQH/AgEAMCEGA1UdHwQaMBgwFqAUoBKGEGh0dHBzOi8vYW5pbW8uaWQwCgYIKoZIzj0EAwIDRwAwRAIgFhmZ7WSPYMNT085jZSr2a/GtZ9x1OaR/iVE7v178NeACIGyH3ahZn/SKWrHuw+YT4AsFgexZeG1Z+2KrhhuVu8S7
X509_DCS_CERTIFICATE=MIICQDCCAeagAwIBAgIQWGRYPwCkw3JO8J9blPTkLDAKBggqhkjOPQQDAjAdMQ4wDAYDVQQDEwVBbmltbzELMAkGA1UEBhMCTkwwHhcNMjQwMjE5MTEyNDIzWhcNMjgwMjE5MTEyNDIzWjAhMRIwEAYDVQQDEwljcmVkbyBkY3MxCzAJBgNVBAYTAk5MMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElpGfqraK5bXiisBkifcI67SvBIjkJOj08n1rdRw6nwGUwtyl3H1s5P38I1AgpyAYKUU0v9indKifYp4iecOxLaOCAQIwgf8wSgYDVR0OBEMEQQSWkZ+qtorlteKKwGSJ9wjrtK8EiOQk6PTyfWt1HDqfAZTC3KXcfWzk/fwjUCCnIBgpRTS/2Kd0qJ9iniJ5w7EtMA4GA1UdDwEB/wQEAwIHgDAVBgNVHSUBAf8ECzAJBgcogYxdBQECMEwGA1UdIwRFMEOAQQTcD1XzKepFxWMAOqV+ln1fybBt7DRO5CV0f9A6mRp2xWn9lR8juDM4hIVHgX6HmVQTPlk8mZfg4jAuv3frEuDCMCEGA1UdEgQaMBiGFmh0dHBzOi8vZnVua2UuYW5pbW8uaWQwGQYDVR0RBBIwEIIOZnVua2UuYW5pbW8uaWQwCgYIKoZIzj0EAwIDSAAwRQIhAOtIcYdgFgw/o8a5TKH2qIVN72AobFxS7uTHUcnFxG6xAiAc0vWgs8YJ73hGhNtTNVylvI/uUJ0w9gp/AGngdMcYfg==
ANTHROPIC_API_KEY=
8 changes: 6 additions & 2 deletions agent/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
FROM node:18 as base
FROM node:20 AS base

COPY package.json /app/package.json

ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN npm install -g corepack@latest
RUN corepack enable

WORKDIR /app

FROM base AS prod-deps
COPY tsconfig.json /app/tsconfig.json
COPY patches /app/patches

RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod

FROM base AS build
COPY tsconfig.json /app/tsconfig.json
COPY patches /app/patches

RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install
COPY src src
Expand All @@ -24,6 +27,7 @@ FROM base

COPY --from=prod-deps /app/node_modules /app/node_modules
COPY --from=build /app/dist /app/dist
COPY assets /app/assets

EXPOSE 3000
CMD [ "pnpm", "start" ]
CMD [ "node", "dist/server.js" ]
Binary file added agent/assets/erika.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added agent/assets/signature.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading