Skip to content
Merged
Show file tree
Hide file tree
Changes from 72 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
ffde8e0
Report version from manifest
corrideat Apr 2, 2026
cbee166
Updates
corrideat Apr 2, 2026
93eba67
build
corrideat Apr 13, 2026
42f1425
Use hono for the API
corrideat Apr 13, 2026
4982946
Add endpoint tests
corrideat Apr 13, 2026
e020978
Merge branch 'serve-api-unit-tests' into replace-hapi-with-hono
corrideat Apr 13, 2026
a8d2ef2
Fixes
corrideat Apr 14, 2026
88d2651
Fix build step
corrideat Apr 14, 2026
a489c8d
Fix incorrect JSON parsing
corrideat Apr 14, 2026
ecff1d9
Improve tests
corrideat Apr 14, 2026
64cf74e
Improvements
corrideat Apr 15, 2026
80765de
Remove --sloppy-imports
corrideat Apr 15, 2026
edbf14e
Remove redundant call
corrideat Apr 15, 2026
3aaa5fb
Clean up on shutdown
corrideat Apr 15, 2026
eea4b60
Update AGENTS.md
corrideat Apr 15, 2026
5f658c7
No private API use
corrideat Apr 15, 2026
0670392
Partially revert
corrideat Apr 15, 2026
9f95cc8
Build artifacts
corrideat Apr 15, 2026
62475e1
Merge branch 'serve-api-unit-tests' into replace-hapi-with-hono
corrideat Apr 15, 2026
ba080fb
Feedback
corrideat Apr 15, 2026
1f4a528
Feedback
corrideat Apr 16, 2026
4ad9ee8
Updates
corrideat Apr 16, 2026
c8a9209
Avoid `/g` for clarity
corrideat Apr 16, 2026
5239115
Updates
corrideat Apr 16, 2026
9a84046
Use separate regexes
corrideat Apr 16, 2026
7b47db4
Merge branch 'version-from-manifest' into replace-hapi-with-hono
corrideat Apr 16, 2026
82aa9da
Merge remote-tracking branch 'origin/serve-api-unit-tests' into repla…
corrideat Apr 16, 2026
d9b1488
Feedback
corrideat Apr 16, 2026
37c2927
Refinements
corrideat Apr 16, 2026
5a82a2d
Further simplifications
corrideat Apr 16, 2026
79bcf01
async-ready server lifecycle
corrideat Apr 16, 2026
5eb98e1
Fixes
corrideat Apr 17, 2026
0679f6c
Feedback
corrideat Apr 17, 2026
b220cc0
Feedback
corrideat Apr 17, 2026
8219614
Build
corrideat Apr 18, 2026
07da7a7
Fix tests
corrideat Apr 18, 2026
312bbe6
Merge branch 'serve-api-unit-tests' into replace-hapi-with-hono
corrideat Apr 18, 2026
e5c8b75
Add character set validation
corrideat Apr 18, 2026
3d63efc
Merge branch 'serve-api-unit-tests' into replace-hapi-with-hono
corrideat Apr 18, 2026
1976411
Update return types
corrideat Apr 18, 2026
a925f54
Feedback
corrideat Apr 18, 2026
8b4b325
build
corrideat Apr 18, 2026
ede943f
Change name for consistency
corrideat Apr 18, 2026
6a40a04
Update README.md
corrideat Apr 18, 2026
b78b26e
Fixes
corrideat Apr 18, 2026
7e432ec
Fix example
corrideat Apr 18, 2026
740ec9b
Fixes
corrideat Apr 18, 2026
5575ac7
Merge branch 'version-from-manifest' into replace-hapi-with-hono
corrideat Apr 18, 2026
11670f3
Merge branch 'serve-api-unit-tests' into replace-hapi-with-hono
corrideat Apr 18, 2026
8ba8a28
Merge branch 'master' into replace-hapi-with-hono
corrideat Apr 19, 2026
dd2571b
Improvements
corrideat Apr 20, 2026
6b1317d
Feedback
corrideat Apr 20, 2026
e33f433
Feedback
corrideat Apr 20, 2026
fb6fa01
lint
corrideat Apr 20, 2026
db9d982
Fixes
corrideat Apr 20, 2026
ac7c33d
Feedback
corrideat Apr 20, 2026
6b203be
Remove proxy compat
corrideat Apr 20, 2026
33514a5
Fixes
corrideat Apr 20, 2026
b244527
Remove new `.parse()`
corrideat Apr 20, 2026
4835d49
Review
corrideat Apr 27, 2026
2d78852
DB init/close improvements
corrideat Apr 27, 2026
725cf76
DB improvements
corrideat Apr 27, 2026
d6bc4c6
Various fixes:
corrideat Apr 27, 2026
a714cc5
Feedback
corrideat Apr 27, 2026
000902c
Feedback
corrideat Apr 27, 2026
eb29cdc
Fix missing `chel` and added `.gitignore` for a more permanent fix.
corrideat Apr 27, 2026
e95c9e6
Protect chel
corrideat Apr 27, 2026
43b1949
[bin-update]
corrideat Apr 27, 2026
c0c39b9
Review
corrideat Apr 27, 2026
d9dd908
Simplify error handling
corrideat Apr 27, 2026
6c8f2eb
lint
corrideat Apr 27, 2026
af04bcc
fixes
corrideat Apr 27, 2026
64f18e6
Feedback
corrideat May 1, 2026
53c62a6
Indentation
corrideat May 2, 2026
e2b0bd6
dist
corrideat May 2, 2026
040f7d0
Fixes
corrideat May 2, 2026
9f97ba4
feedback
corrideat May 2, 2026
af3566d
Feedback
corrideat May 4, 2026
348983e
Feedback
corrideat May 4, 2026
bbe963f
db refs
corrideat May 4, 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
42 changes: 42 additions & 0 deletions .github/workflows/pull-request-bin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Reject protected-dir changes

permissions:
contents: read

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
reject-protected:
runs-on: ubuntu-slim
Comment thread
corrideat marked this conversation as resolved.
env:
PROTECTED_DIR: bin/
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
fetch-depth: 0
- name: Fail if protected dir changed (unless [bin-update] present)
run: |
BASE_REF="${{ github.event.pull_request.base.ref }}"
# fetch base for diff/log
git fetch origin "$BASE_REF" --depth=1
Comment thread
corrideat marked this conversation as resolved.

# if any commit message includes [bin-update], skip the check
if git log --pretty=%B "origin/${BASE_REF}"..HEAD | grep -q '\[bin-update\]'; then
echo "Bypass: a commit message contains [bin-update]."
exit 0
fi

# list changed files between PR branch and base
changes=$(git diff --name-only "origin/${BASE_REF}"..HEAD || true)

# fail if any changed file is under the protected directory
if echo "$changes" | grep -E "^${PROTECTED_DIR}"; then
echo "ERROR: Changes detected under ${PROTECTED_DIR}. Rejecting PR."
exit 1
fi

echo "No changes detected under ${PROTECTED_DIR}."
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ Build process injects:
- `import.meta.VERSION` - Package version from package.json
- `import.meta.ownerSizeTotalWorker` - 'Owner size total' worker path
- `import.meta.creditsWorker` - 'Credits' worker path
- `import.meta.lockDbSelectors` - Lock DB selectors upon init

Comment thread
corrideat marked this conversation as resolved.
### 6. No Network After Key Loading

Expand Down
6 changes: 6 additions & 0 deletions bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Until we implement <https://github.com/okTurtles/chel/issues/125>, the files
# in this directory must _not_ be version-controlled, as they're placeholders
# used by the post install script. However, running `npm install` on this
# project will result in overwriting the file if the post install script runs
# To avoid this, all files under this directory are ignored.
*
Binary file modified bin/chel
Binary file not shown.
1 change: 1 addition & 0 deletions bin/chel.exe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
placeholder, will be replaced by real binary. DO NOT DELETE THIS FILE!
Loading
Loading