57 Commits

Author SHA1 Message Date
Gabriel Cruz
acefbe424c
fix: catch general exception 2026-07-13 13:28:57 -03:00
Gabriel Cruz
e6688ea79e
fix: add missing libplum_units.c 2026-07-13 12:01:29 -03:00
Arnaud
fa8aadb591
feat: protocol filter (#15)
* Add Protocol filter

* Temporary point on fork

* Use ord instead of int
2026-07-13 17:21:02 +04:00
Arnaud
de15c06943
Match version with libplum (#16) v0.6.0 2026-07-08 17:03:47 +04:00
Arnaud
df2643d8ce
Point libplum submodule to upstream paullouisageneau master (v0.6.0) (#14) 2026-07-08 12:50:29 +04:00
Constantine Molchanov
c4c1719ace
Use Nim Docker image (#10)
* Tests: Dockerfile: Change base to nimlang/nim:latest.

* Tests: Dockerfile: Remove unnecessary deps covered in the base image.

* Tests: Dockerfile: Replace manual cleanup with apt-get dist-clean.

* Tests: Dockerfile: Remove Nim installation step covered in the base image.
2026-07-07 12:06:25 +04:00
Constantine Molchanov
eae41079b8
Remove cmake (#11)
* Tests: Dockerfile: Remove cmake from deps.

* Tests: Dockerfile: Replace manual libplum building with nimble task.

* Build libplum without cmake.

* Use {.compile.} to compile libplum as part of tha package; remove separate build task.

* Rewrite flags construction, pass flags to compile, remove passC.

* Add localPassC.

* Combine libplum units to libplum_units.c.

* Tests: Dockerfile: Add the units file to the image.

* Add missing flags.

* CI: Remove redundant cmake invocations.

* Remove redundant nimble task invocation.
2026-07-07 12:02:45 +04:00
Arnaud
433e48789d
Merge pull request #8 from 2-towns/chore/bump-libplum
chore: update libplum
2026-06-05 14:10:08 +04:00
Arnaud
f26662601d
Update libplum 2026-06-05 14:03:48 +04:00
Arnaud
367477dbf1
Merge pull request #7 from 2-towns/chore/atomic-mapping-counter
chore: replace the mapping table with an atomic counter
2026-06-05 13:57:31 +04:00
Arnaud
648b508939
Fix comment 2026-06-05 11:32:05 +04:00
Arnaud
bdea6ef3b5
Replace the activeMappings table with an atomic counter 2026-06-05 11:29:27 +04:00
Arnaud
ab79787bcc
Merge pull request #6 from 2-towns/chore/destroy-mapping-cleanup
chore: destroyMapping cleanup
2026-06-05 11:04:35 +04:00
Arnaud
055e8410af
Clean up destroyMapping doc and redundant guard 2026-06-05 11:00:53 +04:00
Arnaud
e5adc98f2e
Merge pull request #5 from 2-towns/fix/signal-single-fire
fix: reclaim the mapping signal on timeout without cross-thread close
2026-06-05 10:52:32 +04:00
Arnaud
e6afcf2f96
Close the mapping signal after its single guaranteed fire 2026-06-05 10:46:48 +04:00
Arnaud
426899dabf
Merge pull request #4 from 2-towns/feat/add-claude-config
feat: add claude settings and mcp
2026-06-05 10:06:45 +04:00
Arnaud
4e4d752a81
Merge pull request #3 from 2-towns/fix/signal-closing
fix: never close the mapping signal from libplum's C thread
2026-06-05 10:06:20 +04:00
Arnaud
6d4ce2a2b6
Add claude settings and mcp 2026-06-05 10:06:06 +04:00
Arnaud
30111fa7c5
Close the mapping signal only from the chronos loop thread 2026-06-05 09:52:37 +04:00
Arnaud
0ca0361f50
Merge pull request #2 from 2-towns/chore/review-and-fix-bugs
chore: review and fix bugs
2026-06-01 19:02:21 +04:00
Arnaud
3d8ff9bb2e
Delete SKILL.md 2026-06-01 18:56:54 +04:00
Arnaud
801445add4
Test cleanup during a pending mapping 2026-06-01 18:55:06 +04:00
Arnaud
83d1866877
Format 2026-06-01 18:38:47 +04:00
Arnaud
e50f341ad8
Use Nim types in init signature 2026-06-01 18:33:20 +04:00
Arnaud
f3d74da7bc
Add module-level raises pragma 2026-06-01 18:30:04 +04:00
Arnaud
c2b5693e42
Update comment 2026-06-01 18:27:52 +04:00
Arnaud
d65e1098e2
Fix handle close 2026-06-01 18:22:53 +04:00
Arnaud
baa8d7a819
Add more tests 2026-06-01 17:22:10 +04:00
Arnaud
7f84c28d91
Check if the mapping is being destroyed in hasMapping 2026-06-01 15:43:28 +04:00
Arnaud
c9a976fe6e
Add documentation about onStateChange usage 2026-06-01 15:30:49 +04:00
Arnaud
f66c6114f9
Remove duplicated pragma 2026-06-01 15:27:47 +04:00
Arnaud
4532517ca5
Add safety guard when destroying the mapping 2026-06-01 15:20:23 +04:00
Arnaud
9867ec4787
Add try and finally to make sure teardown is called 2026-06-01 15:16:41 +04:00
Arnaud
bf0ace8da2
Merge pull request #1 from 2-towns/chore/add-tests-for-port-renewal
chore: add tests for port renewal
2026-05-26 15:02:53 +04:00
Arnaud
5c28d21f20
Format code 2026-05-26 14:47:35 +04:00
Arnaud
73b555bca7
Add tests 2026-05-26 14:28:09 +04:00
Arnaud
a7016abdc1
Update README 2026-05-19 17:29:16 +04:00
Arnaud
5a3600278f
Add nph formating 2026-05-19 14:15:26 +04:00
Arnaud
f7993b02bf
Fix CI 2026-05-19 11:45:20 +04:00
Arnaud
d3204bee73
Add static library 2026-05-19 11:45:08 +04:00
Arnaud
9d67095a33
Fix CI 2026-05-19 11:42:25 +04:00
Arnaud
c27d1ddeac
Fix typo 2026-05-19 11:42:19 +04:00
Arnaud
5023184c83
Update docker 2026-05-19 11:32:08 +04:00
Arnaud
c5adcb2353
Update Docker files comment 2026-05-19 11:28:39 +04:00
Arnaud
9f7833edf1
Remove GCC marning 2026-05-19 11:28:20 +04:00
Arnaud
269d97548c
Update ci 2026-05-18 15:43:43 +04:00
Arnaud
5422b9ac91
Simplify tests 2026-05-18 15:29:14 +04:00
Arnaud
2bb7e99c8b
Update ci 2026-05-18 15:29:05 +04:00
Arnaud
9195229ce9
Update ci 2026-05-18 15:24:11 +04:00