@serve.zone/dcrouter 5.0.2 → 5.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/dist_serve/bundle.js +30539 -0
  2. package/dist_serve/bundle.js.map +7 -0
  3. package/dist_serve/index.html +1 -0
  4. package/dist_ts/00_commitinfo_data.d.ts +8 -0
  5. package/dist_ts/00_commitinfo_data.js +9 -0
  6. package/dist_ts/cache/classes.cache.cleaner.d.ts +47 -0
  7. package/dist_ts/cache/classes.cache.cleaner.js +130 -0
  8. package/dist_ts/cache/classes.cached.document.d.ts +76 -0
  9. package/dist_ts/cache/classes.cached.document.js +100 -0
  10. package/dist_ts/cache/classes.cachedb.d.ts +60 -0
  11. package/dist_ts/cache/classes.cachedb.js +126 -0
  12. package/dist_ts/cache/documents/classes.cached.email.d.ts +125 -0
  13. package/dist_ts/cache/documents/classes.cached.email.js +337 -0
  14. package/dist_ts/cache/documents/classes.cached.ip.reputation.d.ts +119 -0
  15. package/dist_ts/cache/documents/classes.cached.ip.reputation.js +323 -0
  16. package/dist_ts/cache/documents/index.d.ts +2 -0
  17. package/dist_ts/cache/documents/index.js +3 -0
  18. package/dist_ts/cache/index.d.ts +4 -0
  19. package/dist_ts/cache/index.js +7 -0
  20. package/dist_ts/classes.dcrouter.d.ts +276 -0
  21. package/dist_ts/classes.dcrouter.js +1033 -0
  22. package/dist_ts/config/index.d.ts +1 -0
  23. package/dist_ts/config/index.js +3 -0
  24. package/dist_ts/config/validator.d.ts +104 -0
  25. package/dist_ts/config/validator.js +152 -0
  26. package/dist_ts/errors/base.errors.d.ts +224 -0
  27. package/dist_ts/errors/base.errors.js +320 -0
  28. package/dist_ts/errors/error-handler.d.ts +98 -0
  29. package/dist_ts/errors/error-handler.js +282 -0
  30. package/dist_ts/errors/error.codes.d.ts +115 -0
  31. package/dist_ts/errors/error.codes.js +136 -0
  32. package/dist_ts/errors/index.d.ts +54 -0
  33. package/dist_ts/errors/index.js +136 -0
  34. package/dist_ts/errors/reputation.errors.d.ts +183 -0
  35. package/dist_ts/errors/reputation.errors.js +292 -0
  36. package/dist_ts/index.d.ts +6 -0
  37. package/dist_ts/index.js +9 -0
  38. package/dist_ts/logger.d.ts +17 -0
  39. package/dist_ts/logger.js +76 -0
  40. package/dist_ts/monitoring/classes.metricscache.d.ts +32 -0
  41. package/dist_ts/monitoring/classes.metricscache.js +63 -0
  42. package/dist_ts/monitoring/classes.metricsmanager.d.ts +112 -0
  43. package/dist_ts/monitoring/classes.metricsmanager.js +446 -0
  44. package/dist_ts/monitoring/index.d.ts +1 -0
  45. package/dist_ts/monitoring/index.js +2 -0
  46. package/dist_ts/opsserver/classes.opsserver.d.ts +22 -0
  47. package/dist_ts/opsserver/classes.opsserver.js +56 -0
  48. package/dist_ts/opsserver/handlers/admin.handler.d.ts +31 -0
  49. package/dist_ts/opsserver/handlers/admin.handler.js +180 -0
  50. package/dist_ts/opsserver/handlers/config.handler.d.ts +9 -0
  51. package/dist_ts/opsserver/handlers/config.handler.js +67 -0
  52. package/dist_ts/opsserver/handlers/email-ops.handler.d.ts +12 -0
  53. package/dist_ts/opsserver/handlers/email-ops.handler.js +219 -0
  54. package/dist_ts/opsserver/handlers/index.d.ts +7 -0
  55. package/dist_ts/opsserver/handlers/index.js +8 -0
  56. package/dist_ts/opsserver/handlers/logs.handler.d.ts +10 -0
  57. package/dist_ts/opsserver/handlers/logs.handler.js +122 -0
  58. package/dist_ts/opsserver/handlers/radius.handler.d.ts +8 -0
  59. package/dist_ts/opsserver/handlers/radius.handler.js +296 -0
  60. package/dist_ts/opsserver/handlers/security.handler.d.ts +11 -0
  61. package/dist_ts/opsserver/handlers/security.handler.js +217 -0
  62. package/dist_ts/opsserver/handlers/stats.handler.d.ts +13 -0
  63. package/dist_ts/opsserver/handlers/stats.handler.js +366 -0
  64. package/dist_ts/opsserver/helpers/guards.d.ts +25 -0
  65. package/dist_ts/opsserver/helpers/guards.js +41 -0
  66. package/dist_ts/opsserver/index.d.ts +1 -0
  67. package/dist_ts/opsserver/index.js +2 -0
  68. package/dist_ts/paths.d.ts +16 -0
  69. package/dist_ts/paths.js +43 -0
  70. package/dist_ts/plugins.d.ts +78 -0
  71. package/dist_ts/plugins.js +112 -0
  72. package/dist_ts/radius/classes.accounting.manager.d.ts +218 -0
  73. package/dist_ts/radius/classes.accounting.manager.js +417 -0
  74. package/dist_ts/radius/classes.radius.server.d.ts +171 -0
  75. package/dist_ts/radius/classes.radius.server.js +385 -0
  76. package/dist_ts/radius/classes.vlan.manager.d.ts +128 -0
  77. package/dist_ts/radius/classes.vlan.manager.js +272 -0
  78. package/dist_ts/radius/index.d.ts +13 -0
  79. package/dist_ts/radius/index.js +14 -0
  80. package/dist_ts/security/classes.contentscanner.d.ts +160 -0
  81. package/dist_ts/security/classes.contentscanner.js +637 -0
  82. package/dist_ts/security/classes.ipreputationchecker.d.ts +150 -0
  83. package/dist_ts/security/classes.ipreputationchecker.js +512 -0
  84. package/dist_ts/security/classes.securitylogger.d.ts +140 -0
  85. package/dist_ts/security/classes.securitylogger.js +235 -0
  86. package/dist_ts/security/index.d.ts +3 -0
  87. package/dist_ts/security/index.js +4 -0
  88. package/dist_ts/sms/classes.smsservice.d.ts +15 -0
  89. package/dist_ts/sms/classes.smsservice.js +72 -0
  90. package/dist_ts/sms/config/sms.config.d.ts +93 -0
  91. package/dist_ts/sms/config/sms.config.js +2 -0
  92. package/dist_ts/sms/config/sms.schema.d.ts +5 -0
  93. package/dist_ts/sms/config/sms.schema.js +121 -0
  94. package/dist_ts/sms/index.d.ts +1 -0
  95. package/dist_ts/sms/index.js +2 -0
  96. package/dist_ts/storage/classes.storagemanager.d.ts +82 -0
  97. package/dist_ts/storage/classes.storagemanager.js +344 -0
  98. package/dist_ts/storage/index.d.ts +1 -0
  99. package/dist_ts/storage/index.js +3 -0
  100. package/dist_ts_interfaces/data/auth.d.ts +8 -0
  101. package/dist_ts_interfaces/data/auth.js +2 -0
  102. package/dist_ts_interfaces/data/index.d.ts +2 -0
  103. package/dist_ts_interfaces/data/index.js +3 -0
  104. package/dist_ts_interfaces/data/stats.d.ts +120 -0
  105. package/dist_ts_interfaces/data/stats.js +2 -0
  106. package/{ts_interfaces/index.ts → dist_ts_interfaces/index.d.ts} +1 -5
  107. package/dist_ts_interfaces/index.js +8 -0
  108. package/{ts_interfaces/plugins.ts → dist_ts_interfaces/plugins.d.ts} +1 -5
  109. package/dist_ts_interfaces/plugins.js +4 -0
  110. package/dist_ts_interfaces/requests/admin.d.ts +31 -0
  111. package/dist_ts_interfaces/requests/admin.js +3 -0
  112. package/dist_ts_interfaces/requests/combined.stats.d.ts +24 -0
  113. package/dist_ts_interfaces/requests/combined.stats.js +2 -0
  114. package/dist_ts_interfaces/requests/config.d.ts +13 -0
  115. package/dist_ts_interfaces/requests/config.js +3 -0
  116. package/dist_ts_interfaces/requests/email-ops.d.ts +139 -0
  117. package/dist_ts_interfaces/requests/email-ops.js +3 -0
  118. package/{ts_interfaces/requests/index.ts → dist_ts_interfaces/requests/index.d.ts} +1 -1
  119. package/dist_ts_interfaces/requests/index.js +8 -0
  120. package/dist_ts_interfaces/requests/logs.d.ts +34 -0
  121. package/dist_ts_interfaces/requests/logs.js +4 -0
  122. package/dist_ts_interfaces/requests/radius.d.ts +268 -0
  123. package/dist_ts_interfaces/requests/radius.js +3 -0
  124. package/dist_ts_interfaces/requests/stats.d.ts +131 -0
  125. package/dist_ts_interfaces/requests/stats.js +4 -0
  126. package/dist_ts_web/00_commitinfo_data.d.ts +8 -0
  127. package/dist_ts_web/00_commitinfo_data.js +9 -0
  128. package/dist_ts_web/appstate.d.ts +96 -0
  129. package/dist_ts_web/appstate.js +587 -0
  130. package/dist_ts_web/elements/index.d.ts +8 -0
  131. package/dist_ts_web/elements/index.js +9 -0
  132. package/dist_ts_web/elements/ops-dashboard.d.ts +23 -0
  133. package/dist_ts_web/elements/ops-dashboard.js +271 -0
  134. package/dist_ts_web/elements/ops-view-config.d.ts +17 -0
  135. package/dist_ts_web/elements/ops-view-config.js +414 -0
  136. package/dist_ts_web/elements/ops-view-emails.d.ts +44 -0
  137. package/dist_ts_web/elements/ops-view-emails.js +880 -0
  138. package/dist_ts_web/elements/ops-view-logs.d.ts +13 -0
  139. package/dist_ts_web/elements/ops-view-logs.js +249 -0
  140. package/dist_ts_web/elements/ops-view-network.d.ts +65 -0
  141. package/dist_ts_web/elements/ops-view-network.js +579 -0
  142. package/dist_ts_web/elements/ops-view-overview.d.ts +14 -0
  143. package/dist_ts_web/elements/ops-view-overview.js +344 -0
  144. package/dist_ts_web/elements/ops-view-security.d.ts +21 -0
  145. package/dist_ts_web/elements/ops-view-security.js +568 -0
  146. package/dist_ts_web/elements/shared/css.d.ts +1 -0
  147. package/dist_ts_web/elements/shared/css.js +10 -0
  148. package/dist_ts_web/elements/shared/index.d.ts +2 -0
  149. package/dist_ts_web/elements/shared/index.js +3 -0
  150. package/dist_ts_web/elements/shared/ops-sectionheading.d.ts +5 -0
  151. package/dist_ts_web/elements/shared/ops-sectionheading.js +82 -0
  152. package/dist_ts_web/index.d.ts +1 -0
  153. package/dist_ts_web/index.js +10 -0
  154. package/dist_ts_web/plugins.d.ts +4 -0
  155. package/dist_ts_web/plugins.js +7 -0
  156. package/dist_ts_web/router.d.ts +25 -0
  157. package/dist_ts_web/router.js +165 -0
  158. package/package.json +22 -18
  159. package/readme.hints.md +3 -3
  160. package/readme.md +3 -3
  161. package/ts/00_commitinfo_data.ts +1 -1
  162. package/ts/cache/classes.cachedb.ts +3 -2
  163. package/ts/classes.dcrouter.ts +2 -2
  164. package/ts/paths.ts +11 -5
  165. package/ts_web/00_commitinfo_data.ts +1 -1
  166. package/.dockerignore +0 -1
  167. package/.gitea/workflows/docker_nottags.yaml +0 -71
  168. package/.gitea/workflows/docker_tags.yaml +0 -106
  169. package/.playwright-mcp/dcrouter-scrollbar-issue.png +0 -0
  170. package/.playwright-mcp/page-2026-02-01T23-10-23-737Z.png +0 -0
  171. package/.playwright-mcp/page-2026-02-01T23-11-19-449Z.png +0 -0
  172. package/.playwright-mcp/page-2026-02-01T23-12-03-126Z.png +0 -0
  173. package/.playwright-mcp/page-2026-02-01T23-12-15-576Z.png +0 -0
  174. package/.vscode/launch.json +0 -11
  175. package/.vscode/settings.json +0 -26
  176. package/Dockerfile +0 -46
  177. package/changelog.md +0 -350
  178. package/cli.child.js +0 -4
  179. package/cli.child.ts +0 -4
  180. package/cli.ts.js +0 -5
  181. package/html/index.html +0 -121
  182. package/test/readme.md +0 -443
  183. package/test/test.config.md +0 -175
  184. package/test/test.contentscanner.ts +0 -265
  185. package/test/test.dcrouter.email.ts +0 -159
  186. package/test/test.dns-server-config.ts +0 -140
  187. package/test/test.dns-socket-handler.ts +0 -148
  188. package/test/test.errors.ts +0 -274
  189. package/test/test.ipreputationchecker.ts +0 -179
  190. package/test/test.jwt-auth.ts +0 -131
  191. package/test/test.opsserver-api.ts +0 -84
  192. package/test/test.protected-endpoint.ts +0 -120
  193. package/test/test.storagemanager.ts +0 -289
  194. package/test_watch/devserver.ts +0 -35
  195. package/ts_interfaces/data/auth.ts +0 -8
  196. package/ts_interfaces/data/index.ts +0 -2
  197. package/ts_interfaces/data/stats.ts +0 -131
  198. package/ts_interfaces/readme.md +0 -205
  199. package/ts_interfaces/requests/admin.ts +0 -46
  200. package/ts_interfaces/requests/combined.stats.ts +0 -25
  201. package/ts_interfaces/requests/config.ts +0 -18
  202. package/ts_interfaces/requests/email-ops.ts +0 -239
  203. package/ts_interfaces/requests/logs.ts +0 -44
  204. package/ts_interfaces/requests/radius.ts +0 -329
  205. package/ts_interfaces/requests/stats.ts +0 -162
  206. package/ts_interfaces/tspublish.json +0 -3
  207. package/tsconfig.json +0 -12
@@ -1,106 +0,0 @@
1
- name: Docker (tags)
2
-
3
- on:
4
- push:
5
- tags:
6
- - '*'
7
-
8
- env:
9
- IMAGE: registry.gitlab.com/hosttoday/ht-docker-node:npmci
10
- NPMCI_COMPUTED_REPOURL: https://${{gitea.repository_owner}}:${{secrets.GITEA_TOKEN}}@gitea.lossless.digital/${{gitea.repository}}.git
11
- NPMCI_TOKEN_NPM: ${{secrets.NPMCI_TOKEN_NPM}}
12
- NPMCI_TOKEN_NPM2: ${{secrets.NPMCI_TOKEN_NPM2}}
13
- NPMCI_GIT_GITHUBTOKEN: ${{secrets.NPMCI_GIT_GITHUBTOKEN}}
14
- NPMCI_LOGIN_DOCKER_GITEA: ${{ github.server_url }}|${{ gitea.repository_owner }}|${{ secrets.GITEA_TOKEN }}
15
- NPMCI_LOGIN_DOCKER_DOCKERREGISTRY: ${{ secrets.NPMCI_LOGIN_DOCKER_DOCKERREGISTRY }}
16
-
17
- jobs:
18
- security:
19
- runs-on: ubuntu-latest
20
- container:
21
- image: ${{ env.IMAGE }}
22
- continue-on-error: true
23
-
24
- steps:
25
- - uses: actions/checkout@v3
26
-
27
- - name: Prepare
28
- run: |
29
- pnpm install -g pnpm
30
- pnpm install -g @shipzone/npmci
31
- npmci npm prepare
32
-
33
- - name: Audit production dependencies
34
- run: |
35
- npmci command npm config set registry https://registry.npmjs.org
36
- npmci command pnpm audit --audit-level=high --prod
37
- continue-on-error: true
38
-
39
- - name: Audit development dependencies
40
- run: |
41
- npmci command npm config set registry https://registry.npmjs.org
42
- npmci command pnpm audit --audit-level=high --dev
43
- continue-on-error: true
44
-
45
- test:
46
- needs: security
47
- runs-on: ubuntu-latest
48
- container:
49
- image: ${{ env.IMAGE }}
50
-
51
- steps:
52
- - uses: actions/checkout@v3
53
-
54
- - name: Prepare
55
- run: |
56
- pnpm install -g pnpm
57
- pnpm install -g @shipzone/npmci
58
- npmci npm prepare
59
-
60
- - name: Test stable
61
- run: |
62
- npmci node install stable
63
- npmci npm install
64
- npmci npm test
65
-
66
- - name: Test build
67
- run: |
68
- npmci node install stable
69
- npmci npm install
70
- npmci command npm run build
71
-
72
- release:
73
- needs: test
74
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
75
- runs-on: ubuntu-latest
76
- container:
77
- image: registry.gitlab.com/hosttoday/ht-docker-dbase:npmci
78
-
79
- steps:
80
- - uses: actions/checkout@v3
81
-
82
- - name: Prepare
83
- run: |
84
- pnpm install -g pnpm
85
- pnpm install -g @shipzone/npmci
86
-
87
- - name: Release
88
- run: |
89
- npmci docker login
90
- npmci docker build
91
- npmci docker test
92
- # npmci docker push gitea.lossless.digital
93
- npmci docker push dockerregistry.lossless.digital
94
-
95
- metadata:
96
- needs: test
97
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
98
- runs-on: ubuntu-latest
99
- container:
100
- image: ${{ env.IMAGE }}
101
-
102
- steps:
103
- - uses: actions/checkout@v3
104
-
105
- - name: Trigger
106
- run: npmci trigger
@@ -1,11 +0,0 @@
1
- {
2
- "version": "0.2.0",
3
- "configurations": [
4
- {
5
- "command": "npm test",
6
- "name": "Run npm test",
7
- "request": "launch",
8
- "type": "node-terminal"
9
- }
10
- ]
11
- }
@@ -1,26 +0,0 @@
1
- {
2
- "json.schemas": [
3
- {
4
- "fileMatch": ["/npmextra.json"],
5
- "schema": {
6
- "type": "object",
7
- "properties": {
8
- "npmci": {
9
- "type": "object",
10
- "description": "settings for npmci"
11
- },
12
- "gitzone": {
13
- "type": "object",
14
- "description": "settings for gitzone",
15
- "properties": {
16
- "projectType": {
17
- "type": "string",
18
- "enum": ["website", "element", "service", "npm", "wcc"]
19
- }
20
- }
21
- }
22
- }
23
- }
24
- }
25
- ]
26
- }
package/Dockerfile DELETED
@@ -1,46 +0,0 @@
1
- # gitzone dockerfile_service
2
- ## STAGE 1 // BUILD
3
- FROM registry.gitlab.com/hosttoday/ht-docker-node:npmci as node1
4
- COPY ./ /app
5
- WORKDIR /app
6
- ARG NPMCI_TOKEN_NPM2
7
- ENV NPMCI_TOKEN_NPM2 $NPMCI_TOKEN_NPM2
8
- RUN npmci npm prepare
9
- RUN pnpm config set store-dir .pnpm-store
10
- RUN rm -rf node_modules && pnpm install
11
- RUN pnpm run build
12
-
13
- # gitzone dockerfile_service
14
- ## STAGE 2 // install production
15
- FROM registry.gitlab.com/hosttoday/ht-docker-node:npmci as node2
16
- WORKDIR /app
17
- COPY --from=node1 /app /app
18
- RUN rm -rf .pnpm-store
19
- ARG NPMCI_TOKEN_NPM2
20
- ENV NPMCI_TOKEN_NPM2 $NPMCI_TOKEN_NPM2
21
- RUN npmci npm prepare
22
- RUN pnpm config set store-dir .pnpm-store
23
- RUN rm -rf node_modules/ && pnpm install --prod
24
-
25
-
26
- ## STAGE 3 // rebuild dependencies for alpine
27
- FROM registry.gitlab.com/hosttoday/ht-docker-node:alpinenpmci as node3
28
- WORKDIR /app
29
- COPY --from=node2 /app /app
30
- ARG NPMCI_TOKEN_NPM2
31
- ENV NPMCI_TOKEN_NPM2 $NPMCI_TOKEN_NPM2
32
- RUN npmci npm prepare
33
- RUN pnpm config set store-dir .pnpm-store
34
- RUN pnpm rebuild -r
35
-
36
- ## STAGE 4 // the final production image with all dependencies in place
37
- FROM registry.gitlab.com/hosttoday/ht-docker-node:alpine as node4
38
- WORKDIR /app
39
- COPY --from=node3 /app /app
40
-
41
- ### Healthchecks
42
- RUN pnpm install -g @servezone/healthy
43
- HEALTHCHECK --interval=30s --timeout=30s --start-period=30s --retries=3 CMD [ "healthy" ]
44
-
45
- EXPOSE 80
46
- CMD ["npm", "start"]
package/changelog.md DELETED
@@ -1,350 +0,0 @@
1
- # Changelog
2
-
3
- ## 2026-02-12 - 5.0.2 - fix(docs)
4
- update documentation and packaging configuration: document smartmta/smartdns integrations, adjust API method names, and add release registry info
5
-
6
- - README: document SmartDNS as Rust-powered DNS engine and smartmta as TypeScript+Rust MTA; add Rust-powered architecture section and component package table
7
- - README: update Node.js requirement from 18+ to 20+; replace embedded cache DB TsmDb with LocalTsmDb and reduce listed cached document types
8
- - README & ts_interfaces: rename typedrequest API adminLogin -> adminLoginWithUsernameAndPassword and add/clarify several API methods (logout, suppression management, RADIUS client/VLAN helpers)
9
- - README: update test instructions, change test file references and add a test coverage table
10
- - npmextra.json: re-key package configs (@git.zone/cli, @ship.zone/szci), tidy watch array formatting, and add release.registries and accessLevel for publishing
11
-
12
- ## 2026-02-11 - 5.0.1 - fix(deps/tests)
13
- bump two dependencies and disable cache in tests
14
-
15
- - Bumped @api.global/typedrequest from ^3.2.5 to ^3.2.6
16
- - Bumped @push.rocks/smartradius from ^1.1.0 to ^1.1.1
17
- - Disabled cache in tests by adding cacheConfig: { enabled: false } to DcRouter instantiation in test/test.jwt-auth.ts, test/test.opsserver-api.ts, and test/test.protected-endpoint.ts
18
-
19
- ## 2026-02-11 - 5.0.0 - BREAKING CHANGE(mta)
20
- migrate internal MTA to @push.rocks/smartmta and remove legacy mail/deliverability implementation
21
-
22
- - Replace ~27k LOC custom MTA (ts/mail/, ts/deliverability/) with @push.rocks/smartmta v5.2.1 (TypeScript+Rust hybrid)
23
- - Remove many SMTP client/server test suites and test helpers; testing approach and fixtures changed/removed
24
- - Upgrade dependencies: @push.rocks/smartproxy -> 23.1.2, @push.rocks/smartdns -> 7.8.0, add @push.rocks/smartmta@5.2.1; bump other minor deps
25
- - API differences: updateEmailRoutes() replaces updateRoutes(); UnifiedEmailServer exposes dkimCreator publicly; bounce/suppression APIs moved to emailServer.* helpers; Email class and IAttachment types moved into @push.rocks/smartmta exports
26
- - SmartProxy route validation stricter: forward actions must use targets (array) instead of target (singular) — tests/configs updated accordingly
27
- - DKIM generation/serving moved to smartmta (dcrouter no longer manages DKIM keys directly)
28
-
29
- ## 2026-02-10 - 4.1.1 - fix(smartproxy)
30
- upgrade @push.rocks/smartproxy to ^23.1.0 and adapt code/tests for its async getStatistics() API
31
-
32
- - Bumped dependency @push.rocks/smartproxy 22.4.2 → 23.1.0 in package.json
33
- - Changed ts/monitoring/classes.metricsmanager.ts to await smartProxy.getStatistics() (was synchronous)
34
- - Updated multiple tests to set cacheConfig: { enabled: false } and added socketTimeouts where appropriate
35
- - Improved SMTP test servers: handle multi-line input, drop data for packet-loss simulation, and ignore socket errors to make tests more robust
36
- - Added migration notes to readme.hints.md documenting SmartProxy v23.1.0 changes (async getStatistics, Rust proxy behavior)
37
-
38
- ## 2026-02-10 - 4.1.0 - feat(cache)
39
- add persistent smartdata-backed cache with LocalTsmDb, cache cleaner, and DcRouter integration
40
-
41
- - Introduce CacheDb and CacheCleaner using @push.rocks/smartdata and @push.rocks/smartmongo (LocalTsmDb) for persistent caching
42
- - Integrate cache initialization, console summary, and graceful shutdown into DcRouter (options.cacheConfig and setupCacheDb())
43
- - Require svDb() decorators on concrete cache document classes; remove decorators from the abstract CachedDocument base class
44
- - Switch CacheCleaner to smartdata getInstances() + per-document delete() instead of deleteMany
45
- - Adapt to LocalTsmDb API changes (folderPath option and start() returning connectionUri) and initialize SmartdataDb with mongoDbUrl/mongoDbName
46
- - Remove experimentalDecorators and emitDecoratorMetadata from tsconfig to use TC39 Stage 3 decorators (smartdata v7+ compatibility)
47
- - Add package.json exports mapping (remove main/typings entries) to expose dist entry points
48
- - Add README documentation for the Smartdata Cache System and configuration/usage examples
49
-
50
- ## 2026-02-03 - 4.0.0 - BREAKING CHANGE(config)
51
- convert configuration management to read-only; remove updateConfiguration endpoint and client-side editing
52
-
53
- - Removed server-side 'updateConfiguration' TypedHandler and the private updateConfiguration() method; getConfiguration remains as a read-only handler.
54
- - Removed IReq_UpdateConfiguration interface from request typings; IReq_GetConfiguration marked as read-only.
55
- - Removed client-side editing functionality: ops-view-config editing state and methods, Edit/Save/Cancel buttons, and updateConfigurationAction; ops-view-config enhanced to display read-only configuration (badges for booleans, array pills, icons, formatted numbers/bytes, empty states, etc.).
56
- - Tests updated: replaced configuration update tests with verifyIdentity tests and added a read-only configuration access test.
57
- - Documentation updated to reflect configuration is read-only (readme.md, ts_web/readme.md, ts_interfaces/readme.md, readme.hints.md).
58
- - Dependencies adjusted: bumped @push.rocks/smartdata to ^7.0.15 and added @push.rocks/smartmongo ^5.1.0; ts/plugins updated to import/export smartmongo.
59
-
60
- ## 2026-02-02 - 3.1.0 - feat(web)
61
- determine initial UI view from URL and wire selected view to appdash; add interface and web README files; bump various dependencies
62
-
63
- - UI: derive initial active view from window.location.pathname so the dashboard supports deep linking and bookmarks (ts_web/appstate.ts)
64
- - UI: pass selectedView to dees-simple-appdash by adding a currentViewTab getter in ops-dashboard (ts_web/elements/ops-dashboard.ts)
65
- - Docs: add TypeScript interfaces README for @serve.zone/dcrouter-interfaces (ts_interfaces/readme.md)
66
- - Docs: add/update web module README detailing features, routing, and build instructions (ts_web/readme.md) and expand main project README
67
- - Deps: bump multiple dependencies in package.json (notable bumps: @api.global/typedrequest -> ^3.2.5, @design.estate/dees-catalog -> ^3.42.0, @design.estate/dees-element -> ^2.1.6, @push.rocks/projectinfo -> ^5.0.2, @push.rocks/smartdata -> ^5.16.7, @push.rocks/smartpromise -> ^4.2.3, @push.rocks/smartradius -> ^1.1.0, @push.rocks/smartstate -> ^2.0.30, mailauth -> ^4.12.1)
68
-
69
- ## 2026-02-01 - 3.0.0 - BREAKING CHANGE(deps)
70
- upgrade major dependencies, migrate action.target to action.targets (array), adapt to SmartRequest API changes, and add RADIUS server support
71
-
72
- - Bumped many major dependencies: @api.global/typedserver 3.x → 8.3.0, @api.global/typedsocket 3.x → 4.1.0, @apiclient.xyz/cloudflare 6.x → 7.1.0, @design.estate/dees-catalog 1.x → 3.41.4, @push.rocks/smartpath 5.x → 6.x, @push.rocks/smartproxy 19.x → 22.x, @push.rocks/smartrequest 2.x → 5.x, uuid 11.x → 13.x, @types/node 25.1.0 → 25.2.0
73
-
74
- ## 2026-02-01 - 2.13.0 - feat(radius)
75
- add RADIUS server with MAC authentication (MAB), VLAN assignment, accounting and OpsServer API handlers
76
-
77
- - Introduce full RADIUS module under ts/radius: classes.radius.server, classes.vlan.manager, classes.accounting.manager (authentication, VLAN mapping, OUI patterns, accounting, persistence).
78
- - Integrate RADIUS into DcRouter: add radiusConfig option, setupRadiusServer(), updateRadiusConfig(), start/stop lifecycle handling and startup summary output.
79
- - Add OpsServer RadiusHandler (ts/opsserver/handlers/radius.handler.ts) exposing TypedRequest endpoints for client management, VLAN mappings, accounting reports and statistics.
80
- - Add typed request interfaces for RADIUS under ts_interfaces/requests/radius.ts and export them from the requests index.
81
- - Wire smartradius into plugins (ts/plugins.ts) and export the new module; export RADIUS from ts/index.ts and re-export RADIUS types from classes.dcrouter.
82
- - Update package.json & npmextra.json: add tswatch script and dev watcher configuration, add @push.rocks/smartradius dependency and a test_watch/devserver.ts dev server entrypoint.
83
- - Refactor several web UI components (ops-dashboard, ops-view-*) to use 'accessor' for @state properties (small UI state API adjustments).
84
- - Documentation: update readme.hints.md with RADIUS integration notes and examples.
85
-
86
- ## 2026-02-01 - 2.12.6 - fix(tests)
87
- update tests and test helpers to current email/DNS APIs, use non-privileged ports, and improve robustness and resilience
88
-
89
- - Email tests: switch to IEmailConfig properties (domains, routes), use router.emailServer (not unifiedEmailServer), change to non-privileged ports (e.g. 2525) and use fs.rmSync for cleanup.
90
- - SMTP client helper: add pool and domain options; adjust tests to use STARTTLS (secure: false) and tolerate TLS/cipher negotiation failures with try/catch fallbacks.
91
- - DNS tests: replace dnsDomain with dnsNsDomains and dnsScopes; test route generation without starting services, verify route names/domains, and create socket handlers without binding privileged ports.
92
- - Socket-handler tests: use high non-standard ports for route/handler tests, verify route naming (email-port-<port>-route), ensure handlers are functions and handle errors gracefully without starting full routers.
93
- - Integration/storage/rate-limit tests: add waits for async persistence, create/cleanup test directories, return and manage test server instances, relax strict assertions (memory threshold, rate-limiting enforcement) and make tests tolerant of implementation differences.
94
- - Misc: use getAvailablePort in perf test setup, export tap.start() where appropriate, and generally make tests less brittle by adding try/catch, fallbacks and clearer logs for expected non-deterministic behavior.
95
-
96
- ## 2026-02-01 - 2.12.5 - fix(mail)
97
- migrate filesystem helpers to fsUtils, update DKIM and mail APIs, harden SMTP client, and bump dependencies
98
-
99
- - Introduce plugins.fsUtils compatibility layer and replace usages of plugins.smartfile.* with plugins.fsUtils.* across storage, routing, deliverability, and paths to support newer smartfile behaviour
100
- - Update DKIM signing/verifying to new mailauth API: use signingDomain/selector/privateKey and read keys from dkimCreator before signing; adjust verifier fields to use signingDomain
101
- - Harden SMTP client CommandHandler: add MAX_BUFFER_SIZE, socket close/error handlers, robust cleanup, clear response buffer, and adjust command/data timeouts; reduce default SOCKET_TIMEOUT to 45s
102
- - Use SmartFileFactory for creating SmartFile attachments and update saving/loading to use fsUtils async/sync helpers
103
- - Switch test runners to export default tap.start(), relax some memory-test thresholds, and add test helper methods (recordAuthFailure, recordError)
104
- - Update package.json: simplify bundle script and bump multiple devDependencies/dependencies to compatible versions
105
-
106
- ## 2025-01-29 - 2.13.0 - feat(socket-handler)
107
- Implement socket-handler mode for DNS and email services, enabling direct socket passing from SmartProxy
108
-
109
- - Add `dnsDomain` configuration option that automatically sets up DNS server with DNS-over-HTTPS (DoH) support
110
- - Implement socket-handler mode for email services with `useSocketHandler` flag in email configuration
111
- - Update SmartProxy route generation to create socket-handler actions instead of port forwarding
112
- - Add automatic route creation for DNS paths `/dns-query` and `/resolve` when dnsDomain is configured
113
- - Enhance UnifiedEmailServer with `handleSocket` method for direct socket processing
114
- - Configure DnsServer with `manualHttpsMode: true` to prevent HTTPS port binding while enabling DoH
115
- - Improve performance by eliminating internal port forwarding overhead
116
- - Update documentation with socket-handler mode configuration and benefits
117
-
118
- ## 2025-05-16 - 2.12.0 - feat(smartproxy)
119
- Update documentation and configuration guides to adopt new route-based SmartProxy architecture
120
-
121
- - Revise SmartProxy implementation hints in readme.hints.md to describe route-based configuration with glob pattern matching
122
- - Add migration examples showing transition from old direct configuration to new route-based style
123
- - Update DcRouter and SMTP port configuration to generate SmartProxy routes for email handling (ports 25, 587, 465 mapped to internal services)
124
- - Enhance integration documentation with examples for HTTP and email services using the new SmartProxy routes
125
-
126
- ## 2025-05-16 - 2.11.2 - fix(dependencies)
127
- Update dependency versions and adjust test imports to use new packages
128
-
129
- - Upgraded @git.zone/tsbuild from ^2.3.2 to ^2.5.1
130
- - Upgraded @git.zone/tstest/tapbundle from ^1.0.88 to ^1.9.0 and replaced @push.rocks/tapbundle imports in tests
131
- - Upgraded @push.rocks/smartlog from ^3.0.3 to ^3.1.2
132
- - Upgraded @push.rocks/smartproxy from ^10.2.0 to ^18.1.0
133
- - Upgraded mailauth from ^4.8.4 to ^4.8.5
134
-
135
- ## 2025-05-08 - 2.11.1 - fix(platform)
136
- Update commit info with no functional changes; regenerated commit information.
137
-
138
-
139
- ## 2025-05-08 - 2.11.0 - feat(platformservice)
140
- Expose DcRouter and update package visibility. Changed package.json 'private' flag from true to false to allow public publication, and added export of DcRouter in ts/index.ts for improved API accessibility.
141
-
142
- - Changed package.json: set 'private' to false
143
- - Added export for DcRouter in ts/index.ts
144
-
145
- ## 2025-05-08 - 2.10.0 - feat(config): Implement standardized configuration system
146
- Create a comprehensive configuration system with validation, defaults, and documentation
147
-
148
- - Added consistent configuration interfaces across all services
149
- - Implemented validation for all configuration objects with detailed error reporting
150
- - Added default values for optional configuration parameters
151
- - Created an extensive documentation system for configuration options
152
- - Added migration helpers for managing configuration format changes
153
- - Enhanced platform service to load configuration from multiple sources (file, environment, code)
154
- - Updated email and SMS services to use the new configuration system
155
-
156
- ## 2025-05-08 - 2.9.0 - feat(errors): Implement comprehensive error handling system
157
- Enhance error handling with structured errors, consistent patterns, and improved logging
158
-
159
- - Added domain-specific error classes for better error categorization and handling
160
- - Created comprehensive error codes for all service types (email, MTA, security, etc.)
161
- - Implemented detailed error context with severity, category, and recoverability classification
162
- - Added utilities for error conversion, formatting, and handling with automatic retry mechanisms
163
- - Enhanced logging with correlation tracking, context support, and structured data
164
- - Created middleware for handling errors in HTTP requests with proper status code mapping
165
- - Added retry with exponential backoff for transient failures
166
-
167
- ## 2025-05-08 - 2.8.9 - fix(types)
168
- Fix TypeScript build errors and improve API type safety across platformservice interfaces
169
-
170
- - Fixed interface placement in EmailService and MtaConnector classes
171
- - Aligned DeliveryStatus enum and updated ApiManager handlers with proper type-safe signatures
172
- - Added comprehensive TypeScript interfaces for ISendEmailOptions, ITemplateContext, IValidateEmailOptions, IValidationResult, and IEmailServiceStats
173
- - Removed circular dependencies in type definitions and added proper type assertions
174
- - Improved test stability by handling race conditions in SenderReputationMonitor and IPWarmupManager; external DNS lookups are disabled under test environment
175
-
176
- ## 2025-05-08 - 2.8.8 - fix(types): Fix TypeScript build errors and improve API interfaces
177
- Fix TypeScript build errors caused by interface placement and improve API type alignment
178
-
179
- - Fixed interface placement in EmailService and MtaConnector classes
180
- - Aligned DeliveryStatus enum with EmailSendJob implementation
181
- - Added proper method signatures for API endpoint handlers in ApiManager class
182
- - Updated getStats and checkEmailStatus methods to conform to API contracts
183
- - Implemented type-safe return values for all API methods
184
- - Fixed circular dependencies in type definitions
185
- - Added proper type assertion where needed to satisfy TypeScript compiler
186
-
187
- ## 2025-05-08 - 2.8.7 - feat(types): Add comprehensive TypeScript interfaces for API types
188
- Improve type safety across the platform by adding detailed TypeScript interfaces for APIs
189
-
190
- - Added ISendEmailOptions interface with complete documentation for email sending options
191
- - Created ITemplateContext interface for email template rendering with full type safety
192
- - Added IValidateEmailOptions and IValidationResult interfaces for email validation
193
- - Improved IEmailServiceStats interface with detailed statistics types
194
- - Added IEmailStatusResponse and IEmailStatusDetails interfaces for MTA status checking
195
- - Updated sendEmail and other methods to use these new interfaces instead of 'any'
196
- - Removed need for type assertions in various components
197
-
198
- ## 2025-05-08 - 2.8.6 - fix(tests)
199
- fix: Improve test stability by handling race conditions in SenderReputationMonitor and IPWarmupManager. Disable filesystem operations and external DNS lookups during tests by checking NODE_ENV, add proper cleanup of singleton instances and active timeouts to ensure consistent test environment.
200
-
201
- - Bumped version from 2.8.4 to 2.8.5 in package.json and changelog.md
202
- - Improved SenderReputationMonitor to skip filesystem operations and DNS record loading when NODE_ENV is set to test
203
- - Added cleanup of singleton instances and active timeouts in test files
204
- - Updated readme.plan.md with roadmap items for test stability
205
-
206
- ## 2025-05-08 - 2.8.5 - fix(tests): Improve test stability by fixing race conditions
207
- Enhance the SenderReputationMonitor tests to prevent race conditions and make tests more reliable
208
-
209
- - Modified SenderReputationMonitor to detect test environment and disable filesystem operations
210
- - Added proper cleanup of singleton instances and timeouts between tests
211
- - Disabled DNS lookups during tests to prevent external dependencies
212
- - Set a consistent test environment using NODE_ENV=test
213
- - Made all tests independent of each other to prevent shared state issues
214
-
215
- ## 2025-05-08 - 2.8.4 - fix(mail)
216
- refactor(mail): Remove Mailgun references from PlatformService. Update keywords, error messages, and documentation to use MTA exclusively.
217
-
218
- - Removed Mailgun integration from keywords in package.json and npmextra.json
219
- - Updated EmailService to remove Mailgun API key usage and reference MTA instead
220
- - Updated changelog.md and readme.md to reflect removal of Mailgun and update examples
221
- - Revised error messages to mention 'MTA not configured' instead of generic provider errors
222
- - Updated readme.plan.md to document Mailgun removal
223
-
224
- ## 2025-05-08 - 2.8.3 - refactor(mail): Remove Mailgun references
225
- Remove all Mailgun references from the codebase since it's no longer used as an email provider
226
-
227
- - Removed "mailgun integration" from keywords in package.json and npmextra.json
228
- - Updated comments and documentation in EmailService to remove Mailgun mentions
229
- - Updated error messages to reference MTA instead of generic email providers
230
- - Updated the readme email example to use PlatformService reference instead of Mailgun API key
231
-
232
- ## 2025-05-08 - 2.8.2 - fix(tests)
233
- Fix outdated import paths in test files for dcrouter and ratelimiter modules
234
-
235
- - Updated dcrouter import from '../ts/dcrouter/index.js' to '../ts/classes.dcrouter.js'
236
- - Updated ratelimiter import from '../ts/mta/classes.ratelimiter.js' to '../ts/mail/delivery/classes.ratelimiter.js'
237
-
238
- ## 2025-05-08 - 2.8.1 - fix(readme)
239
- Update readme with consolidated email system improvements and modular directory structure
240
-
241
- Clarify that the platform now organizes email functionality into distinct directories (mail/core, mail/delivery, mail/routing, mail/security, mail/services) and update the diagram and key features list accordingly. Adjust code examples to reflect explicit module imports and the use of SzPlatformService.
242
-
243
- - Changed description of consolidated email configuration to include 'streamlined directory structure'.
244
- - Updated mermaid diagram to show 'Mail System Structure' with separate components for core, delivery, routing, security, and services.
245
- - Modified key features list to document modular directory structure.
246
- - Revised code sample imports to use explicit paths and SzPlatformService.
247
-
248
- ## 2025-05-08 - 2.8.0 - feat(docs)
249
- Update documentation to include consolidated email handling and pattern‑based routing details
250
-
251
- - Extended MTA section to describe the new unified email processing system with forward, MTA, and process modes
252
- - Updated system diagram to reflect DcRouter integration with UnifiedEmailServer, DeliveryQueue, DeliverySystem, and RateLimiter
253
- - Revised readme.plan.md checklists to mark completed features in core architecture, multi‑modal processing, unified queue, and DcRouter integration
254
-
255
- ## 2025-05-08 - 2.7.0 - feat(dcrouter)
256
- Implement unified email configuration with pattern‐based routing and consolidated email processing. Migrate SMTP forwarding and store‐and‐forward into a single, configuration-driven system that supports glob pattern matching in domain rules.
257
-
258
- - Introduced IEmailConfig interface to consolidate MTA, forwarding, and processing settings.
259
- - Added pattern-based domain routing with glob patterns (e.g., '*@example.com', '*@*.example.net').
260
- - Reworked DcRouter integration to expose unified email handling and updated readme.plan.md and changelog.md accordingly.
261
- - Removed deprecated SMTP forwarding components in favor of the consolidated approach.
262
-
263
- ## 2025-05-08 - 2.7.0 - feat(dcrouter)
264
- Implement consolidated email configuration with pattern-based routing
265
-
266
- - Added new pattern-based email routing with glob patterns (e.g., `*@task.vc`, `*@*.example.net`)
267
- - Consolidated all email functionality (MTA, forwarding, processing) under a unified `emailConfig` interface
268
- - Implemented domain router with pattern specificity calculation for most accurate matching
269
- - Removed deprecated components (SMTP forwarding, Store-and-Forward) in favor of the unified approach
270
- - Updated DcRouter tests to use the new consolidated email configuration pattern
271
- - Enhanced inline documentation with detailed interface definitions and configuration examples
272
- - Updated implementation plan with comprehensive component designs for the unified email system
273
-
274
- ## 2025-05-07 - 2.6.0 - feat(dcrouter)
275
- Implement integrated DcRouter with comprehensive SmartProxy configuration, enhanced SMTP processing, and robust store‐and‐forward email routing
276
-
277
- - Marked completion of tasks in readme.plan.md with [x] flags for SMTP server setup, email processing pipeline, queue management, and delivery system.
278
- - Reworked DcRouter to use direct SmartProxy configuration, separating smtpConfig and smtpForwarding approaches.
279
- - Added new components for delivery queue and delivery system with persistent storage support.
280
- - Improved SMTP server implementation with TLS support, event handlers for connection, authentication, sender/recipient validation, and data processing.
281
- - Refined domain-based routing and transformation logic in EmailProcessor with metrics and logging.
282
- - Updated exported modules in dcrouter index to include SMTP store‐and‐forward components.
283
- - Enhanced inline documentation and code comments for configuration interfaces and integration details.
284
-
285
- ## 2025-05-07 - 2.5.0 - feat(dcrouter)
286
- Enhance DcRouter configuration and update documentation
287
-
288
- - Added new implementation hints (readme.hints.md) and planning documentation (readme.plan.md) outlining removal of SzPlatformService dependency and improvements in SMTP forwarding, domain routing, and certificate management.
289
- - Introduced new interfaces: ISmtpForwardingConfig and IDomainRoutingConfig for precise SMTP and HTTP domain routing configuration.
290
- - Refactored DcRouter classes to support direct integration with SmartProxy and enhanced MTA functionality, including SMTP port configuration and improved TLS handling.
291
- - Updated supporting modules such as SmtpPortConfig and EmailDomainRouter to provide better routing and security options.
292
- - Enhanced test coverage across dcrouter, rate limiter, IP warmup manager, and email authentication, ensuring backward compatibility and improved quality.
293
-
294
- ## 2025-05-07 - 2.4.2 - fix(tests)
295
- Update test assertions and singleton instance references in DMARC, integration, and IP warmup manager tests
296
-
297
- - In test.emailauth.ts, update expected DMARC policy from 'none' to 'reject' and verify actualPolicy and action accordingly
298
- - In test.integration.ts, remove deprecated casting and adjust dedicated policy naming (use 'dedicated' instead of 'dedicatedDomain')
299
- - In test.ipwarmupmanager.ts and test.reputationmonitor.ts, replace singleton reset from '_instance' to 'instance' for proper instance access
300
- - Update round robin allocation tests to verify IP cycle returns one of the available IPs
301
- - Enhance daily limit tests by verifying getBestIPForSending returns null when limit is reached
302
- - General refactoring across tests for improved clarity and consistency
303
-
304
- ## 2025-05-07 - 2.4.1 - fix(tests)
305
- Update test assertions and refine service interfaces
306
-
307
- - Converted outdated chai assertions to use tap's toBeTruthy, toEqual, and toBeGreaterThan methods in multiple test files
308
- - Appended tap.stopForcefully() tests to ensure proper cleanup in test suites
309
- - Added stop() method to PlatformService for graceful shutdown
310
- - Exposed certificate property in MtaService from private to public
311
- - Refactored dcrouter smartProxy configuration to better handle MTA service integration and certificate provisioning
312
-
313
- ## 2025-05-07 - 2.4.0 - feat(email)
314
- Enhance email integration by updating @push.rocks/smartmail to ^2.1.0 and improving the entire email stack including validation, DKIM verification, templating, MIME conversion, and attachment handling.
315
-
316
- - Updated smartmail dependency from ^2.0.1 to ^2.1.0 in package.json
317
- - Enhanced EmailValidator with comprehensive checks (syntax, MX, disposable and role validations)
318
- - Refactored TemplateManager to support dynamic variable substitution and loading templates from directory
319
- - Improved conversion between internal Email and smartmail.Smartmail, streamlining MIME handling and attachment mapping
320
- - Augmented DKIM verification with caching and custom header injection for improved security reporting
321
- - Updated readme.plan.md with detailed roadmap for further performance, security, analytics, and deliverability enhancements
322
- - Expanded test suite to cover smartmail integration, validation, templating, and conversion between formats
323
-
324
- ## 2025-05-04 - 1.0.10 to 1.0.8 - core
325
- Applied core fixes across several versions on this day.
326
-
327
- - Fixed core issues in versions 1.0.10, 1.0.9, and 1.0.8
328
-
329
- ## 2024-04-01 - 1.0.7 - core
330
- Applied a core fix.
331
-
332
- - Fixed core functionality for version 1.0.7
333
-
334
- ## 2024-03-19 - 1.0.6 - core
335
- Applied a core fix.
336
-
337
- - Fixed core functionality for version 1.0.6
338
-
339
- ## 2024-02-16 - 1.0.5 to 1.0.2 - core
340
- Applied multiple core fixes in a contiguous range of versions.
341
-
342
- - Fixed core functionality for versions 1.0.5, 1.0.4, 1.0.3, and 1.0.2
343
-
344
- ## 2024-02-15 - 1.0.1 - core
345
- Applied a core fix.
346
-
347
- - Fixed core functionality for version 1.0.1
348
-
349
- –––––––––––––––––––––––
350
- Note: Versions that only contained version bumps (for example, 1.0.11 and the plain "1.0.x" commits) have been omitted from individual entries and are implicitly included in the version ranges above.
package/cli.child.js DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env node
2
- process.env.CLI_CALL = 'true';
3
- import * as cliTool from './ts/index.js';
4
- cliTool.runCli();
package/cli.child.ts DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env node
2
- process.env.CLI_CALL = 'true';
3
- import * as cliTool from './ts/index.js';
4
- cliTool.runCli();
package/cli.ts.js DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env node
2
- process.env.CLI_CALL = 'true';
3
-
4
- import * as tsrun from '@git.zone/tsrun';
5
- tsrun.runPath('./cli.child.js', import.meta.url);