Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
d168695
feat: add agent-pdf Rust microservice
bendersej Mar 19, 2026
050dec3
fix: review fixes for agent-pdf
bendersej Mar 19, 2026
40ef5ef
chore: switch agent-pdf region from ams3 to nyc3
bendersej Mar 19, 2026
40c3b53
feat: add SKILL.md, companyIdentifier query param, and root skill end…
bendersej Mar 19, 2026
01177d4
fix: address code review findings
bendersej Mar 19, 2026
6d88d16
chore: drop /agents slug, use root path for GET and POST
bendersej Mar 19, 2026
e85f6de
feat: review fixes, GET-based URL API, CI workflow
bendersej Mar 19, 2026
8286549
fix: remove unsupported operations from SKILL.md
bendersej Mar 19, 2026
827e0de
fix: clarify companyIdentifier must be a valid SimplePDF identifier
bendersej Mar 19, 2026
df200e0
docs: improve SKILL.md with presentation guidance and portal features
bendersej Mar 19, 2026
3f00fb3
docs: rewrite SKILL.md with direct URL construction and multi-languag…
bendersej Mar 19, 2026
f2c8f08
docs: add React integration example to SKILL.md
bendersej Mar 19, 2026
3574fc6
docs: remove embed.simplepdf.com references, agent.simplepdf.com is t…
bendersej Mar 19, 2026
f6e3c4d
docs: add legal disclaimer to SKILL.md
bendersej Mar 19, 2026
4d507fc
chore: remove id field from API response
bendersej Mar 19, 2026
24c37c9
docs: add automatic form field detection to supported operations
bendersej Mar 19, 2026
c5dca08
fix: switch from buildpack to Dockerfile for DO App Platform
bendersej Mar 19, 2026
b82c08e
fix: add POST JSON path for sensitive URLs, secure proxy trust, unify…
bendersej Mar 19, 2026
206fcac
feat: unify default editor host to ai.simplepdf.com
bendersej Mar 19, 2026
af63719
chore: rename id variable to company_identifier for clarity
bendersej Mar 19, 2026
296db84
docs: rename Portal features to SimplePDF account features, add brand…
bendersej Mar 19, 2026
e39375f
fix: pin builder to rust:1-bookworm to match runtime glibc
bendersej Mar 19, 2026
e298c06
fix: add behavior_version_latest to S3 config, rename env vars to S3_*
bendersej Mar 19, 2026
2c6df2e
docs: rewrite README for quick start and deploy reference
bendersej Mar 19, 2026
5657cef
docs: simplify README to skill install + quick start
bendersej Mar 19, 2026
e74c123
fix: make all env vars required, no defaults
bendersej Mar 19, 2026
b6320d0
docs: simplify install to one-liner fetch
bendersej Mar 19, 2026
3fff912
docs: rename skill to edit-pdf, one-liner install
bendersej Mar 19, 2026
2ded4af
docs: use curl --create-dirs for cleaner install one-liner
bendersej Mar 19, 2026
8c6e3be
chore: rename agent-pdf/ to agents/ for discoverability
bendersej Mar 19, 2026
80a9ea7
docs: bump file expiry to 24h, clarify tab stays open indefinitely
bendersej Mar 19, 2026
ec73cb1
docs: add open source mention with GitHub link
bendersej Mar 19, 2026
bd2cc37
docs: rename domain to agents.simplepdf.com for consistency with fold…
bendersej Mar 19, 2026
0c8339c
feat: serve README at root, SKILL.md at /SKILL.md
bendersej Mar 19, 2026
3746445
docs: move source code link to README, remove from SKILL.md
bendersej Mar 19, 2026
df70cec
docs: rename Install to Add the edit-pdf skill
bendersej Mar 19, 2026
9d43399
docs: remove automatic form field detection from supported operations
bendersej Mar 19, 2026
8bab5cd
feat: switch to presigned URLs, remove public-read ACL
bendersej Mar 19, 2026
3038784
feat: preserve original filename with short hash suffix on upload
bendersej Mar 19, 2026
1454465
feat: add hourly background cleanup of expired uploads (>24h)
bendersej Mar 19, 2026
5c1fd97
feat: replace hourly cleanup cron with S3 lifecycle policy set at sta…
bendersej Mar 19, 2026
ca5e7da
fix: configurable trusted IP header (do-connecting-ip), reject http:/…
bendersej Mar 19, 2026
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
50 changes: 50 additions & 0 deletions .github/workflows/agents.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Agents

on:
push:
branches:
- main
paths:
- agents/**
- .github/workflows/agents.yaml
pull_request:
branches:
- main
paths:
- agents/**
- .github/workflows/agents.yaml

jobs:
check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: agents

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

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy

- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
agents/target
key: ${{ runner.os }}-cargo-${{ hashFiles('agents/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-

- name: Format
run: cargo fmt --check

- name: Clippy
run: cargo clippy -- -D warnings

- name: Build
run: cargo build
40 changes: 40 additions & 0 deletions agents/.do/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: agent-pdf
region: nyc
services:
- name: api
github:
repo: SimplePDF/simplepdf-embed
branch: main
deploy_on_push: true
source_dir: agents
dockerfile_path: Dockerfile
instance_count: 1
instance_size_slug: basic-xs
http_port: 8080
health_check:
http_path: /health
envs:
- key: S3_KEY
scope: RUN_TIME
type: SECRET
- key: S3_SECRET
scope: RUN_TIME
type: SECRET
- key: S3_ENDPOINT
scope: RUN_TIME
value: https://nyc3.digitaloceanspaces.com
- key: S3_BUCKET
scope: RUN_TIME
value: agent-pdf
- key: S3_REGION
scope: RUN_TIME
value: nyc3
- key: DEFAULT_EDITOR_HOST
scope: RUN_TIME
value: ai.simplepdf.com
- key: TRUSTED_IP_HEADER
scope: RUN_TIME
value: do-connecting-ip
- key: RATE_LIMIT_PER_MIN
scope: RUN_TIME
value: "30"
1 change: 1 addition & 0 deletions agents/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading
Loading