@synopackageland/cli 0.5.3 → 0.6.1

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 (1302) hide show
  1. package/README.md +80 -38
  2. package/dist/add.d.ts +4 -0
  3. package/dist/add.js +124 -0
  4. package/dist/authorization-sdk.d.ts +6 -4
  5. package/dist/authorization-sdk.js +7 -5
  6. package/dist/build-spk/delete-app-data.d.ts +2 -2
  7. package/dist/build-spk/generator.js +3 -90
  8. package/dist/build-spk/native-lifecycle.d.ts +3 -49
  9. package/dist/build-spk/native-lifecycle.js +8 -187
  10. package/dist/build-spk/notices.d.ts +1 -1
  11. package/dist/build-spk/notices.js +8 -12
  12. package/dist/build-spk/uninstall-wizard.d.ts +3 -10
  13. package/dist/build-spk/uninstall-wizard.js +5 -3
  14. package/dist/build-spk/wizard-messages.d.ts +28 -6
  15. package/dist/build-spk/wizard-messages.js +33 -11
  16. package/dist/capabilities.d.ts +4 -0
  17. package/dist/capabilities.js +12 -0
  18. package/dist/cli.js +331 -465
  19. package/dist/compose/analyze.js +2 -2
  20. package/dist/contract/unsupported-types.js +1 -1
  21. package/dist/deploy/deploy.d.ts +1 -1
  22. package/dist/deploy/deploy.js +1 -3
  23. package/dist/deploy/plan.d.ts +1 -1
  24. package/dist/deploy/plan.js +55 -24
  25. package/dist/discovery.d.ts +1 -2
  26. package/dist/discovery.js +3 -3
  27. package/dist/error-registry.js +73 -296
  28. package/dist/host/dsm-client.js +79 -7
  29. package/dist/host/types.d.ts +13 -0
  30. package/dist/index.d.ts +1 -0
  31. package/dist/index.js +1 -0
  32. package/dist/info.d.ts +20 -2
  33. package/dist/info.js +140 -0
  34. package/dist/init.d.ts +2 -14
  35. package/dist/init.js +89 -90
  36. package/dist/inspect.js +1 -1
  37. package/dist/log.d.ts +5 -0
  38. package/dist/log.js +18 -0
  39. package/dist/runtime/executor-build.d.ts +22 -0
  40. package/dist/runtime/executor-build.js +36 -0
  41. package/dist/runtime/executor-inspect.d.ts +15 -0
  42. package/dist/runtime/executor-inspect.js +32 -0
  43. package/dist/runtime/executor-policy.d.ts +25 -0
  44. package/dist/runtime/executor-policy.js +24 -0
  45. package/dist/runtime/executor-tasks.d.ts +16 -0
  46. package/dist/runtime/executor-tasks.js +28 -0
  47. package/dist/runtime/uninstall-cleanup.d.ts +7 -0
  48. package/dist/runtime/uninstall-cleanup.js +10 -0
  49. package/dist/skill.js +3 -1
  50. package/dist/standalone/api-permissions.d.ts +18 -0
  51. package/dist/standalone/api-permissions.js +63 -0
  52. package/dist/standalone/build.d.ts +1 -1
  53. package/dist/standalone/build.js +26 -40
  54. package/dist/standalone/dsm-window.js +42 -23
  55. package/dist/standalone/inspect-spk.d.ts +8 -2
  56. package/dist/standalone/inspect-spk.js +68 -58
  57. package/dist/standalone/lifecycle.d.ts +1 -1
  58. package/dist/standalone/lifecycle.js +31 -27
  59. package/dist/standalone/manifest.d.ts +17 -14
  60. package/dist/standalone/manifest.js +77 -53
  61. package/dist/standalone/native-layout.d.ts +5 -0
  62. package/dist/standalone/native-layout.js +35 -8
  63. package/dist/standalone/native-root-window.d.ts +26 -0
  64. package/dist/standalone/native-root-window.js +282 -0
  65. package/dist/standalone/resource.d.ts +2 -2
  66. package/dist/standalone/resource.js +1 -1
  67. package/dist/standalone/root-ops.d.ts +1 -30
  68. package/dist/standalone/root-ops.js +1 -68
  69. package/dist/standalone/root-window.d.ts +5 -38
  70. package/dist/standalone/root-window.js +116 -399
  71. package/dist/standalone/spk.d.ts +3 -5
  72. package/dist/standalone/spk.js +24 -49
  73. package/dist/templates/_executor/README.md +204 -0
  74. package/dist/templates/_executor/apppriv_review_test.go +28 -0
  75. package/dist/templates/_executor/auth_presence_review_test.go +38 -0
  76. package/dist/templates/_executor/cmd/lifecycle/main.go +42 -0
  77. package/dist/templates/_executor/cookie_review_test.go +27 -0
  78. package/dist/templates/_executor/digest_review_test.go +120 -0
  79. package/dist/templates/_executor/directories.go +40 -0
  80. package/dist/templates/_executor/dsm.go +319 -0
  81. package/dist/templates/_executor/dsm_test.go +196 -0
  82. package/dist/templates/_executor/executor.go +524 -0
  83. package/dist/templates/_executor/executor_test.go +284 -0
  84. package/dist/templates/_executor/go.mod +3 -0
  85. package/dist/templates/_executor/identity.go +48 -0
  86. package/dist/templates/_executor/internal/lifecycle/lifecycle.go +90 -0
  87. package/dist/templates/_executor/internal/lifecycle/lifecycle_test.go +174 -0
  88. package/dist/templates/_executor/internal/taskscript/boot.sh +31 -0
  89. package/dist/templates/_executor/internal/taskscript/cmd/main.go +19 -0
  90. package/dist/templates/_executor/internal/taskscript/control.sh +26 -0
  91. package/dist/templates/_executor/internal/taskscript/tasks.go +42 -0
  92. package/dist/templates/_executor/json_review_test.go +40 -0
  93. package/dist/templates/_executor/lifecycle_test.go +86 -0
  94. package/dist/templates/_executor/main.go +518 -0
  95. package/dist/templates/_executor/managed.go +117 -0
  96. package/dist/templates/_executor/managed_test.go +137 -0
  97. package/dist/templates/_executor/path_test.go +17 -0
  98. package/dist/templates/_executor/platform_linux.go +336 -0
  99. package/dist/templates/_executor/platform_linux_test.go +247 -0
  100. package/dist/templates/_executor/platform_other.go +42 -0
  101. package/dist/templates/_executor/process.go +139 -0
  102. package/dist/templates/_executor/socket_linux_test.go +46 -0
  103. package/dist/templates/_executor/store.go +90 -0
  104. package/dist/templates/_executor/task_race_review_test.go +47 -0
  105. package/dist/templates/_executor/tasks.go +283 -0
  106. package/dist/templates/_executor/tasks_review_test.go +43 -0
  107. package/dist/templates/_executor/tasks_test.go +166 -0
  108. package/dist/templates/_executor/testdata/evidence/cleanup.json +24 -0
  109. package/dist/templates/_executor/testdata/evidence/final-smoke.jsonl +9 -0
  110. package/dist/templates/_executor/testdata/evidence/kernel-acl.json +6 -0
  111. package/dist/templates/_executor/testdata/evidence/linux-tests.log +123 -0
  112. package/dist/templates/_executor/testdata/evidence/live.jsonl +23 -0
  113. package/dist/templates/_executor/testdata/evidence/storage.json +90 -0
  114. package/dist/templates/_executor/testdata/evidence/validation.json +55 -0
  115. package/dist/templates/_executor/testdata/live_probe.py +98 -0
  116. package/dist/templates/_executor/upgrade_watch_test.go +236 -0
  117. package/dist/templates/_executor/watch.go +156 -0
  118. package/dist/templates/_executor/watch_test.go +270 -0
  119. package/dist/templates/_executor/write_review_linux_test.go +95 -0
  120. package/dist/templates/_shared/AGENTS.md +17 -0
  121. package/dist/templates/_shared/CLAUDE.md +1 -0
  122. package/dist/templates/binary/LICENSES/GO-LICENSE +27 -0
  123. package/dist/templates/binary/LICENSES/GO-PATENTS +22 -0
  124. package/dist/templates/binary/dsm-package.yaml +19 -0
  125. package/dist/templates/binary/example/main.go +16 -0
  126. package/dist/templates/binary/gitignore +2 -0
  127. package/dist/templates/binary/ui/app.css +4 -0
  128. package/dist/templates/binary/ui/app.js +17 -0
  129. package/dist/templates/native-go/README.md +128 -139
  130. package/dist/templates/native-go/backend/THIRD_PARTY_NOTICES.txt +1 -1
  131. package/dist/templates/native-go/backend/cmd/app/main.go +33 -26
  132. package/dist/templates/native-go/backend/internal/api/cgi_framing_test.go +32 -0
  133. package/dist/templates/native-go/backend/internal/api/cookie_review_test.go +28 -0
  134. package/dist/templates/native-go/backend/internal/api/deadline_test.go +114 -0
  135. package/dist/templates/native-go/backend/internal/api/dsm-session.go +54 -0
  136. package/dist/templates/native-go/backend/internal/api/dsm-session_test.go +51 -0
  137. package/dist/templates/native-go/backend/internal/api/errors.go +14 -0
  138. package/dist/templates/native-go/backend/internal/api/permissions.go +161 -0
  139. package/dist/templates/native-go/backend/internal/api/permissions.json +5 -0
  140. package/dist/templates/native-go/backend/internal/api/permissions_test.go +113 -0
  141. package/dist/templates/native-go/backend/internal/api/policy_fixture_test.go +8 -0
  142. package/dist/templates/native-go/backend/internal/api/registry.go +48 -32
  143. package/dist/templates/native-go/backend/internal/api/registry_test.go +16 -1
  144. package/dist/templates/native-go/backend/internal/api/resource_limits_test.go +87 -0
  145. package/dist/templates/native-go/backend/internal/api/sdk-permissions.json +46 -0
  146. package/dist/templates/native-go/backend/internal/api/sdk_policy_test.go +31 -0
  147. package/dist/templates/native-go/backend/internal/api/server.go +135 -8
  148. package/dist/templates/native-go/backend/internal/api/testdata/permissions-cases.json +172 -0
  149. package/dist/templates/native-go/backend/internal/app/background.go +23 -44
  150. package/dist/templates/native-go/backend/internal/app/background_owner.go +0 -21
  151. package/dist/templates/native-go/backend/internal/app/background_owner_test.go +40 -22
  152. package/dist/templates/native-go/backend/internal/app/background_schedule.go +0 -5
  153. package/dist/templates/native-go/backend/internal/app/background_schedule_test.go +1 -1
  154. package/dist/templates/native-go/backend/internal/app/background_test.go +15 -41
  155. package/dist/templates/native-go/backend/internal/app/delegate_none.go +5 -0
  156. package/dist/templates/native-go/backend/internal/app/identity.go +20 -0
  157. package/dist/templates/native-go/backend/internal/app/identity_test.go +15 -0
  158. package/dist/templates/native-go/backend/internal/app/routes.go +12 -36
  159. package/dist/templates/native-go/backend/internal/app/routes_test.go +16 -40
  160. package/dist/templates/native-go/backend/internal/app/session_files.go +4 -10
  161. package/dist/templates/native-go/backend/internal/app/session_files_test.go +8 -20
  162. package/dist/templates/native-go/backend/internal/app/shared_folder_test.go +4 -4
  163. package/dist/templates/native-go/backend/internal/background/lock_test.go +131 -0
  164. package/dist/templates/native-go/backend/internal/background/owner_test.go +12 -20
  165. package/dist/templates/native-go/backend/internal/background/runner_test.go +1 -1
  166. package/dist/templates/native-go/backend/internal/background/schedule.go +53 -17
  167. package/dist/templates/native-go/backend/internal/background/schedule_test.go +42 -9
  168. package/dist/templates/native-go/backend/internal/background/store.go +115 -99
  169. package/dist/templates/native-go/backend/internal/background/store_test.go +10 -52
  170. package/dist/templates/native-go/backend/internal/dsm/admin.go +70 -0
  171. package/dist/templates/native-go/backend/internal/dsm/admin_linux.go +80 -0
  172. package/dist/templates/native-go/backend/internal/dsm/admin_linux_test.go +49 -0
  173. package/dist/templates/native-go/backend/internal/dsm/admin_other.go +12 -0
  174. package/dist/templates/native-go/backend/internal/dsm/admin_test.go +67 -0
  175. package/dist/templates/native-go/backend/internal/dsm/auth.go +24 -48
  176. package/dist/templates/native-go/backend/internal/dsm/auth_test.go +43 -23
  177. package/dist/templates/native-go/backend/internal/dsm/native/admin-aarch64.elf +0 -0
  178. package/dist/templates/native-go/backend/internal/dsm/native/admin-x86_64.elf +0 -0
  179. package/dist/templates/native-go/backend/internal/dsm/native/admin_check.c +28 -0
  180. package/dist/templates/native-go/backend/internal/dsm/native/build.sh +9 -0
  181. package/dist/templates/native-go/backend/internal/dsm/native/licenses/GLIBC-NOTICES.txt +400 -0
  182. package/dist/templates/native-go/backend/internal/dsm/native/licenses/LGPL-2.1.txt +501 -0
  183. package/dist/templates/native-go/backend/internal/dsm/native/licenses/SOURCE.txt +5 -0
  184. package/dist/templates/native-go/backend/internal/dsm/native/licenses/ZIG-MIT.txt +21 -0
  185. package/dist/templates/native-go/backend/internal/dsm/native/provenance.json +12 -0
  186. package/dist/templates/native-go/backend/internal/filestation/client.go +68 -18
  187. package/dist/templates/native-go/backend/internal/filestation/client_test.go +7 -7
  188. package/dist/templates/native-go/backend/internal/filestation/doc.go +1 -1
  189. package/dist/templates/native-go/backend/internal/filestation/http.go +70 -0
  190. package/dist/templates/native-go/backend/internal/filestation/http_test.go +188 -0
  191. package/dist/templates/native-go/backend/internal/filestation/operations_test.go +206 -0
  192. package/dist/templates/native-go/backend/internal/filestation/read_file_test.go +2 -3
  193. package/dist/templates/native-go/backend/internal/filestation/service.go +117 -117
  194. package/dist/templates/native-go/backend/internal/filestation/service_test.go +30 -50
  195. package/dist/templates/native-go/backend/internal/filestation/upload_stream.go +76 -0
  196. package/dist/templates/native-go/backend/internal/filestation/upload_stream_test.go +77 -0
  197. package/dist/templates/native-go/backend/internal/filestation/write.go +0 -40
  198. package/dist/templates/native-go/backend/internal/filestation/write_test.go +6 -5
  199. package/dist/templates/native-go/backend/internal/identity/README.md +55 -0
  200. package/dist/templates/native-go/backend/internal/identity/dsm.go +96 -0
  201. package/dist/templates/native-go/backend/internal/identity/http.go +291 -0
  202. package/dist/templates/native-go/backend/internal/identity/identity_test.go +483 -0
  203. package/dist/templates/native-go/backend/internal/identity/service.go +159 -0
  204. package/dist/templates/native-go/backend/internal/identity/store.go +109 -0
  205. package/dist/templates/native-go/backend/internal/jsonlimits/limits.go +48 -0
  206. package/dist/templates/native-go/backend/internal/jsonlimits/limits_test.go +52 -0
  207. package/dist/templates/native-go/dsm-package.yaml +8 -17
  208. package/dist/templates/native-go-delegate/DELEGATE.md +142 -0
  209. package/dist/templates/native-go-delegate/backend/cmd/background-worker/main.go +41 -0
  210. package/dist/templates/native-go-delegate/backend/internal/app/delegate.go +15 -0
  211. package/dist/templates/native-go-delegate/backend/internal/app/delegate_on.go +5 -0
  212. package/dist/templates/native-go-delegate/backend/internal/app/delegate_routes_test.go +17 -0
  213. package/dist/templates/native-go-delegate/backend/internal/background/delegate_review_test.go +174 -0
  214. package/dist/templates/native-go-delegate/backend/internal/background/delegated.go +277 -0
  215. package/dist/templates/native-go-delegate/backend/internal/background/delegated_test.go +34 -0
  216. package/dist/templates/native-go-delegate/backend/internal/delegate/busy_review_test.go +15 -0
  217. package/dist/templates/native-go-delegate/backend/internal/delegate/client.go +143 -0
  218. package/dist/templates/native-go-delegate/backend/internal/delegate/client_test.go +214 -0
  219. package/dist/templates/native-go-delegate/backend/internal/delegate/files.go +132 -0
  220. package/dist/templates/native-go-delegate/backend/internal/delegate/retry.go +106 -0
  221. package/dist/templates/native-go-delegate/backend/internal/delegate/retry_test.go +143 -0
  222. package/dist/templates/native-go-delegate/backend/internal/delegate/service.go +323 -0
  223. package/dist/templates/native-go-delegate/backend/internal/delegate/service_test.go +318 -0
  224. package/dist/templates/native-go-delegate/backend/internal/delegate/wait_cancel_test.go +101 -0
  225. package/dist/templates/native-go-delegate/backend/internal/delegate/worker.go +225 -0
  226. package/dist/templates/native-go-delegate/backend/internal/filestation/files.go +73 -0
  227. package/dist/templates/native-go-delegate/backend/internal/filestation/files_test.go +59 -0
  228. package/dist/templates/native-go-delegate/frontend/src/CapabilityPanels.vue +10 -0
  229. package/dist/templates/native-go-delegate/frontend/src/delegate/DelegatePanel.vue +70 -0
  230. package/dist/templates/native-go-delegate/frontend/src/delegate/copy.ts +9 -0
  231. package/dist/templates/native-go-delegate/frontend/src/delegate/i18n/waiting.json +11 -0
  232. package/dist/templates/native-go-delegate/frontend/test/delegate.test.ts +130 -0
  233. package/dist/templates/native-go-delegate/test-frontend.sh +12 -0
  234. package/dist/templates/native-go-delegate/test.sh +17 -0
  235. package/dist/templates/native-go-jobs/BACKGROUND.md +108 -0
  236. package/dist/templates/native-go-jobs/backend/internal/app/background_routes_test.go +90 -0
  237. package/dist/templates/native-go-jobs/frontend/src/background/BackgroundPanel.vue +170 -0
  238. package/dist/templates/native-go-jobs/frontend/src/background/i18n/de.json +75 -0
  239. package/dist/templates/native-go-jobs/frontend/src/background/i18n/en.json +75 -0
  240. package/dist/templates/native-go-jobs/frontend/src/background/i18n/es.json +75 -0
  241. package/dist/templates/native-go-jobs/frontend/src/background/i18n/fr.json +75 -0
  242. package/dist/templates/native-go-jobs/frontend/src/background/i18n/it.json +75 -0
  243. package/dist/templates/native-go-jobs/frontend/src/background/i18n/ja.json +75 -0
  244. package/dist/templates/native-go-jobs/frontend/src/background/i18n/ko.json +75 -0
  245. package/dist/templates/native-go-jobs/frontend/src/background/i18n/zh-CN.json +75 -0
  246. package/dist/templates/native-go-jobs/frontend/src/background/i18n/zh-TW.json +75 -0
  247. package/dist/templates/native-go-jobs/frontend/src/background/picker-provider.ts +12 -0
  248. package/dist/templates/native-go-jobs/frontend/src/background/request-key.ts +5 -0
  249. package/dist/templates/native-go-jobs/frontend/test/background.test.ts +208 -0
  250. package/dist/templates/native-go-root-ops/backend/internal/app/executor.go +112 -0
  251. package/dist/templates/native-go-root-ops/backend/internal/app/executor_test.go +53 -0
  252. package/dist/templates/native-go-root-ops/root/whoami.sh +3 -0
  253. package/dist/templates/native-go-vue/README.md +36 -248
  254. package/dist/templates/native-go-vue/frontend/DESIGN.md +20 -49
  255. package/dist/templates/native-go-vue/frontend/package-lock.json +278 -159
  256. package/dist/templates/native-go-vue/frontend/package.json +2 -2
  257. package/dist/templates/native-go-vue/frontend/src/App.vue +55 -151
  258. package/dist/templates/native-go-vue/frontend/src/CapabilityPanels.vue +6 -0
  259. package/dist/templates/native-go-vue/frontend/src/context.ts +2 -14
  260. package/dist/templates/native-go-vue/frontend/src/delegate/ExecutorSettings.vue +25 -0
  261. package/dist/templates/native-go-vue/frontend/src/delegate/copy.ts +4 -0
  262. package/dist/templates/native-go-vue/frontend/src/delegate/executor-setup.ts +18 -0
  263. package/dist/templates/native-go-vue/frontend/src/delegate/i18n/en.json +36 -0
  264. package/dist/templates/native-go-vue/frontend/src/delegate/i18n/zh-TW.json +36 -0
  265. package/dist/templates/native-go-vue/frontend/src/files/FileBrowser.vue +131 -0
  266. package/dist/templates/native-go-vue/frontend/src/files/FilesPage.vue +35 -0
  267. package/dist/templates/native-go-vue/frontend/src/files/files.test.ts +93 -0
  268. package/dist/templates/native-go-vue/frontend/src/files/provider.test.ts +48 -0
  269. package/dist/templates/native-go-vue/frontend/src/files/transfers.test.ts +27 -0
  270. package/dist/templates/native-go-vue/frontend/src/files/transfers.ts +25 -0
  271. package/dist/templates/native-go-vue/frontend/src/identity/DESIGN.md +46 -0
  272. package/dist/templates/native-go-vue/frontend/src/identity/LoginPage.vue +76 -0
  273. package/dist/templates/native-go-vue/frontend/src/identity/login.test.ts +32 -0
  274. package/dist/templates/native-go-vue/frontend/src/identity/session.test.ts +29 -0
  275. package/dist/templates/native-go-vue/frontend/src/identity/session.ts +73 -0
  276. package/dist/templates/native-go-vue/frontend/src/main.ts +7 -4
  277. package/dist/templates/native-go-vue/frontend/src/nas/NasPicker.vue +23 -0
  278. package/dist/templates/native-go-vue/frontend/src/nas/contract.ts +12 -0
  279. package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/de.json +41 -0
  280. package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/en.json +41 -0
  281. package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/es.json +41 -0
  282. package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/fr.json +41 -0
  283. package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/it.json +41 -0
  284. package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/ja.json +41 -0
  285. package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/ko.json +41 -0
  286. package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/zh-CN.json +41 -0
  287. package/dist/templates/native-go-vue/frontend/src/nas/i18n/files/zh-TW.json +41 -0
  288. package/dist/templates/native-go-vue/frontend/src/nas/i18n.ts +2 -38
  289. package/dist/templates/native-go-vue/frontend/src/nas/locale.ts +24 -0
  290. package/dist/templates/native-go-vue/frontend/src/nas/provider.ts +46 -55
  291. package/dist/templates/native-go-vue/frontend/src/nas/use-request.ts +13 -22
  292. package/dist/templates/native-go-vue/frontend/src/shell/AppShell.vue +3 -3
  293. package/dist/templates/native-go-vue/frontend/src/shell/i18n/de.json +1 -7
  294. package/dist/templates/native-go-vue/frontend/src/shell/i18n/en.json +1 -7
  295. package/dist/templates/native-go-vue/frontend/src/shell/i18n/es.json +1 -7
  296. package/dist/templates/native-go-vue/frontend/src/shell/i18n/fr.json +1 -7
  297. package/dist/templates/native-go-vue/frontend/src/shell/i18n/it.json +1 -7
  298. package/dist/templates/native-go-vue/frontend/src/shell/i18n/ja.json +1 -7
  299. package/dist/templates/native-go-vue/frontend/src/shell/i18n/ko.json +1 -7
  300. package/dist/templates/native-go-vue/frontend/src/shell/i18n/zh-CN.json +1 -7
  301. package/dist/templates/native-go-vue/frontend/src/shell/i18n/zh-TW.json +1 -7
  302. package/dist/templates/native-go-vue/frontend/src/shell/pages.ts +3 -22
  303. package/dist/templates/native-go-vue/frontend/test/apps.test.ts +33 -201
  304. package/dist/templates/native-go-vue/frontend/test/shell-ui.test.ts +15 -109
  305. package/dist/templates/native-go-vue/frontend/test/shell.test.ts +4 -19
  306. package/dist/templates/native-go-vue/frontend/vite.config.ts +2 -2
  307. package/dist/types.d.ts +1 -1
  308. package/dist/validate.js +28 -36
  309. package/package.json +5 -2
  310. package/skills/SKILL.md +25 -3
  311. package/skills/reference/create.md +15 -6
  312. package/skills/reference/deploy.md +5 -3
  313. package/skills/reference/diagnose.md +1 -1
  314. package/skills/reference/files.md +8 -6
  315. package/skills/reference/identity.md +9 -3
  316. package/skills/reference/ui-json.md +78 -0
  317. package/skills/reference/ui-vue.md +71 -0
  318. package/skills/reference/wrap.md +3 -4
  319. package/templates/_executor/README.md +204 -0
  320. package/templates/_executor/apppriv_review_test.go +28 -0
  321. package/templates/_executor/auth_presence_review_test.go +38 -0
  322. package/templates/_executor/cmd/lifecycle/main.go +42 -0
  323. package/templates/_executor/cookie_review_test.go +27 -0
  324. package/templates/_executor/digest_review_test.go +120 -0
  325. package/templates/_executor/directories.go +40 -0
  326. package/templates/_executor/dsm.go +319 -0
  327. package/templates/_executor/dsm_test.go +196 -0
  328. package/templates/_executor/executor.go +524 -0
  329. package/templates/_executor/executor_test.go +284 -0
  330. package/templates/_executor/go.mod +3 -0
  331. package/templates/_executor/identity.go +48 -0
  332. package/templates/_executor/internal/lifecycle/lifecycle.go +90 -0
  333. package/templates/_executor/internal/lifecycle/lifecycle_test.go +174 -0
  334. package/templates/_executor/internal/taskscript/boot.sh +31 -0
  335. package/templates/_executor/internal/taskscript/cmd/main.go +19 -0
  336. package/templates/_executor/internal/taskscript/control.sh +26 -0
  337. package/templates/_executor/internal/taskscript/tasks.go +42 -0
  338. package/templates/_executor/json_review_test.go +40 -0
  339. package/templates/_executor/lifecycle_test.go +86 -0
  340. package/templates/_executor/main.go +518 -0
  341. package/templates/_executor/managed.go +117 -0
  342. package/templates/_executor/managed_test.go +137 -0
  343. package/templates/_executor/path_test.go +17 -0
  344. package/templates/_executor/platform_linux.go +336 -0
  345. package/templates/_executor/platform_linux_test.go +247 -0
  346. package/templates/_executor/platform_other.go +42 -0
  347. package/templates/_executor/process.go +139 -0
  348. package/templates/_executor/socket_linux_test.go +46 -0
  349. package/templates/_executor/store.go +90 -0
  350. package/templates/_executor/task_race_review_test.go +47 -0
  351. package/templates/_executor/tasks.go +283 -0
  352. package/templates/_executor/tasks_review_test.go +43 -0
  353. package/templates/_executor/tasks_test.go +166 -0
  354. package/templates/_executor/testdata/evidence/cleanup.json +24 -0
  355. package/templates/_executor/testdata/evidence/final-smoke.jsonl +9 -0
  356. package/templates/_executor/testdata/evidence/kernel-acl.json +6 -0
  357. package/templates/_executor/testdata/evidence/linux-tests.log +123 -0
  358. package/templates/_executor/testdata/evidence/live.jsonl +23 -0
  359. package/templates/_executor/testdata/evidence/storage.json +90 -0
  360. package/templates/_executor/testdata/evidence/validation.json +55 -0
  361. package/templates/_executor/testdata/live_probe.py +98 -0
  362. package/templates/_executor/upgrade_watch_test.go +236 -0
  363. package/templates/_executor/watch.go +156 -0
  364. package/templates/_executor/watch_test.go +270 -0
  365. package/templates/_executor/write_review_linux_test.go +95 -0
  366. package/templates/_shared/AGENTS.md +17 -0
  367. package/templates/_shared/CLAUDE.md +1 -0
  368. package/templates/binary/LICENSES/GO-LICENSE +27 -0
  369. package/templates/binary/LICENSES/GO-PATENTS +22 -0
  370. package/templates/binary/dsm-package.yaml +19 -0
  371. package/templates/binary/example/main.go +16 -0
  372. package/templates/binary/gitignore +2 -0
  373. package/templates/binary/ui/app.css +4 -0
  374. package/templates/binary/ui/app.js +17 -0
  375. package/templates/native-go/README.md +128 -139
  376. package/templates/native-go/backend/THIRD_PARTY_NOTICES.txt +1 -1
  377. package/templates/native-go/backend/cmd/app/main.go +33 -26
  378. package/templates/native-go/backend/internal/api/cgi_framing_test.go +32 -0
  379. package/templates/native-go/backend/internal/api/cookie_review_test.go +28 -0
  380. package/templates/native-go/backend/internal/api/deadline_test.go +114 -0
  381. package/templates/native-go/backend/internal/api/dsm-session.go +54 -0
  382. package/templates/native-go/backend/internal/api/dsm-session_test.go +51 -0
  383. package/templates/native-go/backend/internal/api/errors.go +14 -0
  384. package/templates/native-go/backend/internal/api/permissions.go +161 -0
  385. package/templates/native-go/backend/internal/api/permissions.json +5 -0
  386. package/templates/native-go/backend/internal/api/permissions_test.go +113 -0
  387. package/templates/native-go/backend/internal/api/policy_fixture_test.go +8 -0
  388. package/templates/native-go/backend/internal/api/registry.go +48 -32
  389. package/templates/native-go/backend/internal/api/registry_test.go +16 -1
  390. package/templates/native-go/backend/internal/api/resource_limits_test.go +87 -0
  391. package/templates/native-go/backend/internal/api/sdk-permissions.json +46 -0
  392. package/templates/native-go/backend/internal/api/sdk_policy_test.go +31 -0
  393. package/templates/native-go/backend/internal/api/server.go +135 -8
  394. package/templates/native-go/backend/internal/api/testdata/permissions-cases.json +172 -0
  395. package/templates/native-go/backend/internal/app/background.go +23 -44
  396. package/templates/native-go/backend/internal/app/background_owner.go +0 -21
  397. package/templates/native-go/backend/internal/app/background_owner_test.go +40 -22
  398. package/templates/native-go/backend/internal/app/background_schedule.go +0 -5
  399. package/templates/native-go/backend/internal/app/background_schedule_test.go +1 -1
  400. package/templates/native-go/backend/internal/app/background_test.go +15 -41
  401. package/templates/native-go/backend/internal/app/delegate_none.go +5 -0
  402. package/templates/native-go/backend/internal/app/identity.go +20 -0
  403. package/templates/native-go/backend/internal/app/identity_test.go +15 -0
  404. package/templates/native-go/backend/internal/app/routes.go +12 -36
  405. package/templates/native-go/backend/internal/app/routes_test.go +16 -40
  406. package/templates/native-go/backend/internal/app/session_files.go +4 -10
  407. package/templates/native-go/backend/internal/app/session_files_test.go +8 -20
  408. package/templates/native-go/backend/internal/app/shared_folder_test.go +4 -4
  409. package/templates/native-go/backend/internal/background/lock_test.go +131 -0
  410. package/templates/native-go/backend/internal/background/owner_test.go +12 -20
  411. package/templates/native-go/backend/internal/background/runner_test.go +1 -1
  412. package/templates/native-go/backend/internal/background/schedule.go +53 -17
  413. package/templates/native-go/backend/internal/background/schedule_test.go +42 -9
  414. package/templates/native-go/backend/internal/background/store.go +115 -99
  415. package/templates/native-go/backend/internal/background/store_test.go +10 -52
  416. package/templates/native-go/backend/internal/dsm/admin.go +70 -0
  417. package/templates/native-go/backend/internal/dsm/admin_linux.go +80 -0
  418. package/templates/native-go/backend/internal/dsm/admin_linux_test.go +49 -0
  419. package/templates/native-go/backend/internal/dsm/admin_other.go +12 -0
  420. package/templates/native-go/backend/internal/dsm/admin_test.go +67 -0
  421. package/templates/native-go/backend/internal/dsm/auth.go +24 -48
  422. package/templates/native-go/backend/internal/dsm/auth_test.go +43 -23
  423. package/templates/native-go/backend/internal/dsm/native/admin-aarch64.elf +0 -0
  424. package/templates/native-go/backend/internal/dsm/native/admin-x86_64.elf +0 -0
  425. package/templates/native-go/backend/internal/dsm/native/admin_check.c +28 -0
  426. package/templates/native-go/backend/internal/dsm/native/build.sh +9 -0
  427. package/templates/native-go/backend/internal/dsm/native/licenses/GLIBC-NOTICES.txt +400 -0
  428. package/templates/native-go/backend/internal/dsm/native/licenses/LGPL-2.1.txt +501 -0
  429. package/templates/native-go/backend/internal/dsm/native/licenses/SOURCE.txt +5 -0
  430. package/templates/native-go/backend/internal/dsm/native/licenses/ZIG-MIT.txt +21 -0
  431. package/templates/native-go/backend/internal/dsm/native/provenance.json +12 -0
  432. package/templates/native-go/backend/internal/filestation/client.go +68 -18
  433. package/templates/native-go/backend/internal/filestation/client_test.go +7 -7
  434. package/templates/native-go/backend/internal/filestation/doc.go +1 -1
  435. package/templates/native-go/backend/internal/filestation/http.go +70 -0
  436. package/templates/native-go/backend/internal/filestation/http_test.go +188 -0
  437. package/templates/native-go/backend/internal/filestation/operations_test.go +206 -0
  438. package/templates/native-go/backend/internal/filestation/read_file_test.go +2 -3
  439. package/templates/native-go/backend/internal/filestation/service.go +117 -117
  440. package/templates/native-go/backend/internal/filestation/service_test.go +30 -50
  441. package/templates/native-go/backend/internal/filestation/upload_stream.go +76 -0
  442. package/templates/native-go/backend/internal/filestation/upload_stream_test.go +77 -0
  443. package/templates/native-go/backend/internal/filestation/write.go +0 -40
  444. package/templates/native-go/backend/internal/filestation/write_test.go +6 -5
  445. package/templates/native-go/backend/internal/identity/README.md +55 -0
  446. package/templates/native-go/backend/internal/identity/dsm.go +96 -0
  447. package/templates/native-go/backend/internal/identity/http.go +291 -0
  448. package/templates/native-go/backend/internal/identity/identity_test.go +483 -0
  449. package/templates/native-go/backend/internal/identity/service.go +159 -0
  450. package/templates/native-go/backend/internal/identity/store.go +109 -0
  451. package/templates/native-go/backend/internal/jsonlimits/limits.go +48 -0
  452. package/templates/native-go/backend/internal/jsonlimits/limits_test.go +52 -0
  453. package/templates/native-go/dsm-package.yaml +8 -17
  454. package/templates/native-go-delegate/DELEGATE.md +142 -0
  455. package/templates/native-go-delegate/backend/cmd/background-worker/main.go +41 -0
  456. package/templates/native-go-delegate/backend/internal/app/delegate.go +15 -0
  457. package/templates/native-go-delegate/backend/internal/app/delegate_on.go +5 -0
  458. package/templates/native-go-delegate/backend/internal/app/delegate_routes_test.go +17 -0
  459. package/templates/native-go-delegate/backend/internal/background/delegate_review_test.go +174 -0
  460. package/templates/native-go-delegate/backend/internal/background/delegated.go +277 -0
  461. package/templates/native-go-delegate/backend/internal/background/delegated_test.go +34 -0
  462. package/templates/native-go-delegate/backend/internal/delegate/busy_review_test.go +15 -0
  463. package/templates/native-go-delegate/backend/internal/delegate/client.go +143 -0
  464. package/templates/native-go-delegate/backend/internal/delegate/client_test.go +214 -0
  465. package/templates/native-go-delegate/backend/internal/delegate/files.go +132 -0
  466. package/templates/native-go-delegate/backend/internal/delegate/retry.go +106 -0
  467. package/templates/native-go-delegate/backend/internal/delegate/retry_test.go +143 -0
  468. package/templates/native-go-delegate/backend/internal/delegate/service.go +323 -0
  469. package/templates/native-go-delegate/backend/internal/delegate/service_test.go +318 -0
  470. package/templates/native-go-delegate/backend/internal/delegate/wait_cancel_test.go +101 -0
  471. package/templates/native-go-delegate/backend/internal/delegate/worker.go +225 -0
  472. package/templates/native-go-delegate/backend/internal/filestation/files.go +73 -0
  473. package/templates/native-go-delegate/backend/internal/filestation/files_test.go +59 -0
  474. package/templates/native-go-delegate/frontend/src/CapabilityPanels.vue +10 -0
  475. package/templates/native-go-delegate/frontend/src/delegate/DelegatePanel.vue +70 -0
  476. package/templates/native-go-delegate/frontend/src/delegate/copy.ts +9 -0
  477. package/templates/native-go-delegate/frontend/src/delegate/i18n/waiting.json +11 -0
  478. package/templates/native-go-delegate/frontend/test/delegate.test.ts +130 -0
  479. package/templates/native-go-delegate/test-frontend.sh +12 -0
  480. package/templates/native-go-delegate/test.sh +17 -0
  481. package/templates/native-go-jobs/BACKGROUND.md +108 -0
  482. package/templates/native-go-jobs/backend/internal/app/background_routes_test.go +90 -0
  483. package/templates/native-go-jobs/frontend/src/background/BackgroundPanel.vue +170 -0
  484. package/templates/native-go-jobs/frontend/src/background/i18n/de.json +75 -0
  485. package/templates/native-go-jobs/frontend/src/background/i18n/en.json +75 -0
  486. package/templates/native-go-jobs/frontend/src/background/i18n/es.json +75 -0
  487. package/templates/native-go-jobs/frontend/src/background/i18n/fr.json +75 -0
  488. package/templates/native-go-jobs/frontend/src/background/i18n/it.json +75 -0
  489. package/templates/native-go-jobs/frontend/src/background/i18n/ja.json +75 -0
  490. package/templates/native-go-jobs/frontend/src/background/i18n/ko.json +75 -0
  491. package/templates/native-go-jobs/frontend/src/background/i18n/zh-CN.json +75 -0
  492. package/templates/native-go-jobs/frontend/src/background/i18n/zh-TW.json +75 -0
  493. package/templates/native-go-jobs/frontend/src/background/picker-provider.ts +12 -0
  494. package/templates/native-go-jobs/frontend/src/background/request-key.ts +5 -0
  495. package/templates/native-go-jobs/frontend/test/background.test.ts +208 -0
  496. package/templates/native-go-root-ops/backend/internal/app/executor.go +112 -0
  497. package/templates/native-go-root-ops/backend/internal/app/executor_test.go +53 -0
  498. package/templates/native-go-root-ops/root/whoami.sh +3 -0
  499. package/templates/native-go-vue/README.md +36 -248
  500. package/templates/native-go-vue/frontend/DESIGN.md +20 -49
  501. package/templates/native-go-vue/frontend/package-lock.json +278 -159
  502. package/templates/native-go-vue/frontend/package.json +2 -2
  503. package/templates/native-go-vue/frontend/src/App.vue +55 -151
  504. package/templates/native-go-vue/frontend/src/CapabilityPanels.vue +6 -0
  505. package/templates/native-go-vue/frontend/src/context.ts +2 -14
  506. package/templates/native-go-vue/frontend/src/delegate/ExecutorSettings.vue +25 -0
  507. package/templates/native-go-vue/frontend/src/delegate/copy.ts +4 -0
  508. package/templates/native-go-vue/frontend/src/delegate/executor-setup.ts +18 -0
  509. package/templates/native-go-vue/frontend/src/delegate/i18n/en.json +36 -0
  510. package/templates/native-go-vue/frontend/src/delegate/i18n/zh-TW.json +36 -0
  511. package/templates/native-go-vue/frontend/src/files/FileBrowser.vue +131 -0
  512. package/templates/native-go-vue/frontend/src/files/FilesPage.vue +35 -0
  513. package/templates/native-go-vue/frontend/src/files/files.test.ts +93 -0
  514. package/templates/native-go-vue/frontend/src/files/provider.test.ts +48 -0
  515. package/templates/native-go-vue/frontend/src/files/transfers.test.ts +27 -0
  516. package/templates/native-go-vue/frontend/src/files/transfers.ts +25 -0
  517. package/templates/native-go-vue/frontend/src/identity/DESIGN.md +46 -0
  518. package/templates/native-go-vue/frontend/src/identity/LoginPage.vue +76 -0
  519. package/templates/native-go-vue/frontend/src/identity/login.test.ts +32 -0
  520. package/templates/native-go-vue/frontend/src/identity/session.test.ts +29 -0
  521. package/templates/native-go-vue/frontend/src/identity/session.ts +73 -0
  522. package/templates/native-go-vue/frontend/src/main.ts +7 -4
  523. package/templates/native-go-vue/frontend/src/nas/NasPicker.vue +23 -0
  524. package/templates/native-go-vue/frontend/src/nas/contract.ts +12 -0
  525. package/templates/native-go-vue/frontend/src/nas/i18n/files/de.json +41 -0
  526. package/templates/native-go-vue/frontend/src/nas/i18n/files/en.json +41 -0
  527. package/templates/native-go-vue/frontend/src/nas/i18n/files/es.json +41 -0
  528. package/templates/native-go-vue/frontend/src/nas/i18n/files/fr.json +41 -0
  529. package/templates/native-go-vue/frontend/src/nas/i18n/files/it.json +41 -0
  530. package/templates/native-go-vue/frontend/src/nas/i18n/files/ja.json +41 -0
  531. package/templates/native-go-vue/frontend/src/nas/i18n/files/ko.json +41 -0
  532. package/templates/native-go-vue/frontend/src/nas/i18n/files/zh-CN.json +41 -0
  533. package/templates/native-go-vue/frontend/src/nas/i18n/files/zh-TW.json +41 -0
  534. package/templates/native-go-vue/frontend/src/nas/i18n.ts +2 -38
  535. package/templates/native-go-vue/frontend/src/nas/locale.ts +24 -0
  536. package/templates/native-go-vue/frontend/src/nas/provider.ts +46 -55
  537. package/templates/native-go-vue/frontend/src/nas/use-request.ts +13 -22
  538. package/templates/native-go-vue/frontend/src/shell/AppShell.vue +3 -3
  539. package/templates/native-go-vue/frontend/src/shell/i18n/de.json +1 -7
  540. package/templates/native-go-vue/frontend/src/shell/i18n/en.json +1 -7
  541. package/templates/native-go-vue/frontend/src/shell/i18n/es.json +1 -7
  542. package/templates/native-go-vue/frontend/src/shell/i18n/fr.json +1 -7
  543. package/templates/native-go-vue/frontend/src/shell/i18n/it.json +1 -7
  544. package/templates/native-go-vue/frontend/src/shell/i18n/ja.json +1 -7
  545. package/templates/native-go-vue/frontend/src/shell/i18n/ko.json +1 -7
  546. package/templates/native-go-vue/frontend/src/shell/i18n/zh-CN.json +1 -7
  547. package/templates/native-go-vue/frontend/src/shell/i18n/zh-TW.json +1 -7
  548. package/templates/native-go-vue/frontend/src/shell/pages.ts +3 -22
  549. package/templates/native-go-vue/frontend/test/apps.test.ts +33 -201
  550. package/templates/native-go-vue/frontend/test/shell-ui.test.ts +15 -109
  551. package/templates/native-go-vue/frontend/test/shell.test.ts +4 -19
  552. package/templates/native-go-vue/frontend/vite.config.ts +2 -2
  553. package/dist/build-spk/native-payload.d.ts +0 -37
  554. package/dist/build-spk/native-payload.js +0 -679
  555. package/dist/native/load.d.ts +0 -8
  556. package/dist/native/load.js +0 -11
  557. package/dist/native/types.d.ts +0 -28
  558. package/dist/native/types.js +0 -3
  559. package/dist/native/validate.d.ts +0 -6
  560. package/dist/native/validate.js +0 -143
  561. package/dist/standalone/authorization.d.ts +0 -48
  562. package/dist/standalone/authorization.js +0 -116
  563. package/dist/standalone/helper-inventory.d.ts +0 -31
  564. package/dist/standalone/helper-inventory.js +0 -11
  565. package/dist/standalone/helper.d.ts +0 -22
  566. package/dist/standalone/helper.js +0 -123
  567. package/dist/standalone/inspect-helper.d.ts +0 -6
  568. package/dist/standalone/inspect-helper.js +0 -103
  569. package/dist/standalone/job-diagnostics.d.ts +0 -1
  570. package/dist/standalone/job-diagnostics.js +0 -49
  571. package/dist/standalone/lifecycle-helper.d.ts +0 -2
  572. package/dist/standalone/lifecycle-helper.js +0 -12
  573. package/dist/standalone/root-messages.d.ts +0 -7
  574. package/dist/standalone/root-messages.js +0 -259
  575. package/dist/standalone/worker-contract-json.d.ts +0 -8
  576. package/dist/standalone/worker-contract-json.js +0 -141
  577. package/dist/standalone/worker-contract.d.ts +0 -189
  578. package/dist/standalone/worker-contract.js +0 -175
  579. package/dist/standalone/worker-registry.d.ts +0 -40
  580. package/dist/standalone/worker-registry.js +0 -167
  581. package/dist/templates/_authorization/main.go +0 -104
  582. package/dist/templates/_authorization/main_test.go +0 -35
  583. package/dist/templates/_shared/notice-overrides/index.json +0 -14
  584. package/dist/templates/_shared/notice-overrides/utils-0.4.2-LICENSE +0 -21
  585. package/dist/templates/_shared/notice-overrides/utils-0.5.0-LICENSE +0 -21
  586. package/dist/templates/binary/native.yaml +0 -16
  587. package/dist/templates/binary/synology-app.yaml +0 -7
  588. package/dist/templates/compose-import/compose.yaml +0 -10
  589. package/dist/templates/compose-import/synology-app.yaml +0 -15
  590. package/dist/templates/native-go/backend/cmd/app/sdk_main.go +0 -62
  591. package/dist/templates/native-go/backend/cmd/dsm-readonly-probe/main_linux.go +0 -46
  592. package/dist/templates/native-go/backend/cmd/helper/main.go +0 -64
  593. package/dist/templates/native-go/backend/cmd/helper/sdk_registry.go +0 -19
  594. package/dist/templates/native-go/backend/internal/api/binary.go +0 -154
  595. package/dist/templates/native-go/backend/internal/api/binary_test.go +0 -165
  596. package/dist/templates/native-go/backend/internal/app/authorization_none.go +0 -5
  597. package/dist/templates/native-go/backend/internal/app/integration_state.go +0 -16
  598. package/dist/templates/native-go/backend/internal/app/nas_cgi_artifact_test.go +0 -129
  599. package/dist/templates/native-go/backend/internal/app/nas_refusal_test.go +0 -46
  600. package/dist/templates/native-go/backend/internal/app/sdk_jobs.go +0 -70
  601. package/dist/templates/native-go/backend/internal/app/sdk_jobs_test.go +0 -116
  602. package/dist/templates/native-go/backend/internal/app/sdk_routes.go +0 -177
  603. package/dist/templates/native-go/backend/internal/dsmprobe/collector_linux.go +0 -335
  604. package/dist/templates/native-go/backend/internal/dsmprobe/collector_linux_test.go +0 -41
  605. package/dist/templates/native-go/backend/internal/dsmprobe/protocol.go +0 -179
  606. package/dist/templates/native-go/backend/internal/dsmprobe/protocol_test.go +0 -29
  607. package/dist/templates/native-go/backend/internal/filestation/repository.go +0 -207
  608. package/dist/templates/native-go/backend/internal/filestation/repository_test.go +0 -104
  609. package/dist/templates/native-go/backend/internal/filestation/sdk_session.go +0 -241
  610. package/dist/templates/native-go/backend/internal/filestation/sdk_session_test.go +0 -183
  611. package/dist/templates/native-go/backend/internal/filestation/session_semantics_test.go +0 -383
  612. package/dist/templates/native-go/backend/internal/helper/background_proof.go +0 -163
  613. package/dist/templates/native-go/backend/internal/helper/background_proof_contract.go +0 -46
  614. package/dist/templates/native-go/backend/internal/helper/background_proof_test.go +0 -161
  615. package/dist/templates/native-go/backend/internal/helper/cohort.go +0 -393
  616. package/dist/templates/native-go/backend/internal/helper/cohort_publication.go +0 -18
  617. package/dist/templates/native-go/backend/internal/helper/cohort_publication_test.go +0 -105
  618. package/dist/templates/native-go/backend/internal/helper/cohort_test.go +0 -372
  619. package/dist/templates/native-go/backend/internal/helper/control.go +0 -424
  620. package/dist/templates/native-go/backend/internal/helper/control_test.go +0 -250
  621. package/dist/templates/native-go/backend/internal/helper/data_contract.go +0 -245
  622. package/dist/templates/native-go/backend/internal/helper/data_contract_test.go +0 -51
  623. package/dist/templates/native-go/backend/internal/helper/data_decode.go +0 -184
  624. package/dist/templates/native-go/backend/internal/helper/data_decode_pointer_test.go +0 -30
  625. package/dist/templates/native-go/backend/internal/helper/data_protocol.go +0 -419
  626. package/dist/templates/native-go/backend/internal/helper/data_protocol_test.go +0 -449
  627. package/dist/templates/native-go/backend/internal/helper/dsm_acl_linux.go +0 -139
  628. package/dist/templates/native-go/backend/internal/helper/dsm_acl_linux_test.go +0 -121
  629. package/dist/templates/native-go/backend/internal/helper/dsm_acl_syscall_linux.go +0 -95
  630. package/dist/templates/native-go/backend/internal/helper/dsm_acl_syscall_linux_test.go +0 -56
  631. package/dist/templates/native-go/backend/internal/helper/dsm_bridge_linux.go +0 -144
  632. package/dist/templates/native-go/backend/internal/helper/dsm_bridge_linux_test.go +0 -89
  633. package/dist/templates/native-go/backend/internal/helper/dsm_home_linux.go +0 -107
  634. package/dist/templates/native-go/backend/internal/helper/dsm_home_linux_test.go +0 -82
  635. package/dist/templates/native-go/backend/internal/helper/dsm_probe_transport_linux.go +0 -151
  636. package/dist/templates/native-go/backend/internal/helper/dsm_probe_transport_linux_test.go +0 -66
  637. package/dist/templates/native-go/backend/internal/helper/grant_authority.go +0 -519
  638. package/dist/templates/native-go/backend/internal/helper/grant_authority_contract.go +0 -88
  639. package/dist/templates/native-go/backend/internal/helper/grant_authority_test.go +0 -510
  640. package/dist/templates/native-go/backend/internal/helper/grant_cohort.go +0 -389
  641. package/dist/templates/native-go/backend/internal/helper/grant_cohort_test.go +0 -239
  642. package/dist/templates/native-go/backend/internal/helper/grant_delivery.go +0 -49
  643. package/dist/templates/native-go/backend/internal/helper/grant_delivery_methods.go +0 -273
  644. package/dist/templates/native-go/backend/internal/helper/grant_delivery_test.go +0 -322
  645. package/dist/templates/native-go/backend/internal/helper/grant_operation_contract.go +0 -47
  646. package/dist/templates/native-go/backend/internal/helper/grant_readonly_test.go +0 -180
  647. package/dist/templates/native-go/backend/internal/helper/grant_repository_linux.go +0 -416
  648. package/dist/templates/native-go/backend/internal/helper/grant_repository_linux_test.go +0 -469
  649. package/dist/templates/native-go/backend/internal/helper/grant_rpc.go +0 -147
  650. package/dist/templates/native-go/backend/internal/helper/grant_rpc_test.go +0 -51
  651. package/dist/templates/native-go/backend/internal/helper/grant_snapshot.go +0 -78
  652. package/dist/templates/native-go/backend/internal/helper/grant_supervisor_linux.go +0 -134
  653. package/dist/templates/native-go/backend/internal/helper/grant_supervisor_linux_test.go +0 -254
  654. package/dist/templates/native-go/backend/internal/helper/jobcontract/bindings.go +0 -48
  655. package/dist/templates/native-go/backend/internal/helper/jobcontract/contract_test.go +0 -436
  656. package/dist/templates/native-go/backend/internal/helper/jobcontract/decode.go +0 -185
  657. package/dist/templates/native-go/backend/internal/helper/jobcontract/digest.go +0 -55
  658. package/dist/templates/native-go/backend/internal/helper/jobcontract/registry.go +0 -85
  659. package/dist/templates/native-go/backend/internal/helper/jobcontract/registry_test.go +0 -73
  660. package/dist/templates/native-go/backend/internal/helper/jobcontract/result.go +0 -53
  661. package/dist/templates/native-go/backend/internal/helper/jobcontract/stub.go +0 -8
  662. package/dist/templates/native-go/backend/internal/helper/jobcontract/testdata/input-digests.json +0 -127
  663. package/dist/templates/native-go/backend/internal/helper/jobcontract/types.go +0 -234
  664. package/dist/templates/native-go/backend/internal/helper/jobcontract/types_test.go +0 -29
  665. package/dist/templates/native-go/backend/internal/helper/jobcontract/validate.go +0 -462
  666. package/dist/templates/native-go/backend/internal/helper/lease.go +0 -112
  667. package/dist/templates/native-go/backend/internal/helper/lease_linux.go +0 -44
  668. package/dist/templates/native-go/backend/internal/helper/lease_other.go +0 -8
  669. package/dist/templates/native-go/backend/internal/helper/legacy_authority_schema_linux_test.go +0 -34
  670. package/dist/templates/native-go/backend/internal/helper/legacy_authority_schema_test.go +0 -6
  671. package/dist/templates/native-go/backend/internal/helper/lifecycle.go +0 -234
  672. package/dist/templates/native-go/backend/internal/helper/lifecycle_test.go +0 -473
  673. package/dist/templates/native-go/backend/internal/helper/managed_pilot.go +0 -284
  674. package/dist/templates/native-go/backend/internal/helper/managed_pilot_repository_linux.go +0 -74
  675. package/dist/templates/native-go/backend/internal/helper/managed_pilot_repository_linux_test.go +0 -40
  676. package/dist/templates/native-go/backend/internal/helper/managed_pilot_test.go +0 -210
  677. package/dist/templates/native-go/backend/internal/helper/management.go +0 -86
  678. package/dist/templates/native-go/backend/internal/helper/nas_shipped_refusal_linux_test.go +0 -97
  679. package/dist/templates/native-go/backend/internal/helper/native_discovery.go +0 -79
  680. package/dist/templates/native-go/backend/internal/helper/native_identity.go +0 -89
  681. package/dist/templates/native-go/backend/internal/helper/native_provider.go +0 -159
  682. package/dist/templates/native-go/backend/internal/helper/native_provider_test.go +0 -421
  683. package/dist/templates/native-go/backend/internal/helper/observation.go +0 -244
  684. package/dist/templates/native-go/backend/internal/helper/observation_health_test.go +0 -127
  685. package/dist/templates/native-go/backend/internal/helper/observation_reload_budget_test.go +0 -117
  686. package/dist/templates/native-go/backend/internal/helper/observation_test.go +0 -196
  687. package/dist/templates/native-go/backend/internal/helper/observer_diagnostic.go +0 -155
  688. package/dist/templates/native-go/backend/internal/helper/observer_diagnostic_linux.go +0 -76
  689. package/dist/templates/native-go/backend/internal/helper/observer_diagnostic_linux_test.go +0 -130
  690. package/dist/templates/native-go/backend/internal/helper/observer_diagnostic_test.go +0 -98
  691. package/dist/templates/native-go/backend/internal/helper/observer_diagnostic_writer.go +0 -40
  692. package/dist/templates/native-go/backend/internal/helper/operation_bootstrap_linux.go +0 -193
  693. package/dist/templates/native-go/backend/internal/helper/operation_credentials_linux.go +0 -56
  694. package/dist/templates/native-go/backend/internal/helper/operation_linux.go +0 -480
  695. package/dist/templates/native-go/backend/internal/helper/operation_linux_test.go +0 -528
  696. package/dist/templates/native-go/backend/internal/helper/peer_linux.go +0 -44
  697. package/dist/templates/native-go/backend/internal/helper/peer_other.go +0 -7
  698. package/dist/templates/native-go/backend/internal/helper/process_linux.go +0 -180
  699. package/dist/templates/native-go/backend/internal/helper/process_other.go +0 -5
  700. package/dist/templates/native-go/backend/internal/helper/publication_test.go +0 -178
  701. package/dist/templates/native-go/backend/internal/helper/purge.go +0 -115
  702. package/dist/templates/native-go/backend/internal/helper/purge_test.go +0 -59
  703. package/dist/templates/native-go/backend/internal/helper/query_deadline_linux_test.go +0 -115
  704. package/dist/templates/native-go/backend/internal/helper/query_pending_diagnostic_test.go +0 -254
  705. package/dist/templates/native-go/backend/internal/helper/read_stream_cohort_linux_test.go +0 -156
  706. package/dist/templates/native-go/backend/internal/helper/read_transfer.go +0 -40
  707. package/dist/templates/native-go/backend/internal/helper/read_transfer_linux.go +0 -109
  708. package/dist/templates/native-go/backend/internal/helper/read_transfer_linux_test.go +0 -118
  709. package/dist/templates/native-go/backend/internal/helper/read_transfer_test.go +0 -177
  710. package/dist/templates/native-go/backend/internal/helper/readonly.go +0 -105
  711. package/dist/templates/native-go/backend/internal/helper/readonly_admission.go +0 -85
  712. package/dist/templates/native-go/backend/internal/helper/readonly_cohort_linux_test.go +0 -253
  713. package/dist/templates/native-go/backend/internal/helper/readonly_linux_test.go +0 -378
  714. package/dist/templates/native-go/backend/internal/helper/readonly_mount_linux.go +0 -65
  715. package/dist/templates/native-go/backend/internal/helper/readonly_mount_proxy_linux.go +0 -113
  716. package/dist/templates/native-go/backend/internal/helper/readonly_operations_linux.go +0 -168
  717. package/dist/templates/native-go/backend/internal/helper/readonly_resolver_linux.go +0 -241
  718. package/dist/templates/native-go/backend/internal/helper/readonly_test.go +0 -40
  719. package/dist/templates/native-go/backend/internal/helper/relaxed_identity.go +0 -252
  720. package/dist/templates/native-go/backend/internal/helper/relaxed_identity_contract.go +0 -105
  721. package/dist/templates/native-go/backend/internal/helper/relaxed_identity_test.go +0 -406
  722. package/dist/templates/native-go/backend/internal/helper/relaxed_invalidation.go +0 -203
  723. package/dist/templates/native-go/backend/internal/helper/repair.go +0 -132
  724. package/dist/templates/native-go/backend/internal/helper/repair_test.go +0 -271
  725. package/dist/templates/native-go/backend/internal/helper/revoke.go +0 -109
  726. package/dist/templates/native-go/backend/internal/helper/revoke_test.go +0 -121
  727. package/dist/templates/native-go/backend/internal/helper/s1r_actor_acl_linux_test.go +0 -303
  728. package/dist/templates/native-go/backend/internal/helper/s1r_actor_fixture_linux_test.go +0 -184
  729. package/dist/templates/native-go/backend/internal/helper/s1r_actor_races_linux_test.go +0 -250
  730. package/dist/templates/native-go/backend/internal/helper/s1r_fixture_contract_linux_test.go +0 -18
  731. package/dist/templates/native-go/backend/internal/helper/sdk_assembly_linux.go +0 -51
  732. package/dist/templates/native-go/backend/internal/helper/sdk_attach.go +0 -83
  733. package/dist/templates/native-go/backend/internal/helper/sdk_attach_contract.go +0 -32
  734. package/dist/templates/native-go/backend/internal/helper/sdk_attach_test.go +0 -184
  735. package/dist/templates/native-go/backend/internal/helper/sdk_authority_schema_test.go +0 -6
  736. package/dist/templates/native-go/backend/internal/helper/sdk_background_authority.go +0 -832
  737. package/dist/templates/native-go/backend/internal/helper/sdk_background_authority_test.go +0 -714
  738. package/dist/templates/native-go/backend/internal/helper/sdk_background_invalidation.go +0 -218
  739. package/dist/templates/native-go/backend/internal/helper/sdk_background_lease.go +0 -218
  740. package/dist/templates/native-go/backend/internal/helper/sdk_background_snapshot.go +0 -110
  741. package/dist/templates/native-go/backend/internal/helper/sdk_background_store_linux_test.go +0 -261
  742. package/dist/templates/native-go/backend/internal/helper/sdk_background_store_test.go +0 -58
  743. package/dist/templates/native-go/backend/internal/helper/sdk_bindings.go +0 -60
  744. package/dist/templates/native-go/backend/internal/helper/sdk_data_contract.go +0 -251
  745. package/dist/templates/native-go/backend/internal/helper/sdk_data_protocol.go +0 -424
  746. package/dist/templates/native-go/backend/internal/helper/sdk_dispatch_absence_test.go +0 -51
  747. package/dist/templates/native-go/backend/internal/helper/sdk_display.go +0 -488
  748. package/dist/templates/native-go/backend/internal/helper/sdk_display_contract.go +0 -121
  749. package/dist/templates/native-go/backend/internal/helper/sdk_display_test.go +0 -459
  750. package/dist/templates/native-go/backend/internal/helper/sdk_grant_authority.go +0 -559
  751. package/dist/templates/native-go/backend/internal/helper/sdk_grant_repository_linux.go +0 -417
  752. package/dist/templates/native-go/backend/internal/helper/sdk_grant_snapshot.go +0 -94
  753. package/dist/templates/native-go/backend/internal/helper/sdk_history.go +0 -80
  754. package/dist/templates/native-go/backend/internal/helper/sdk_history_test.go +0 -76
  755. package/dist/templates/native-go/backend/internal/helper/sdk_job.go +0 -697
  756. package/dist/templates/native-go/backend/internal/helper/sdk_job_child_linux.go +0 -309
  757. package/dist/templates/native-go/backend/internal/helper/sdk_job_contract.go +0 -122
  758. package/dist/templates/native-go/backend/internal/helper/sdk_job_linux_test.go +0 -159
  759. package/dist/templates/native-go/backend/internal/helper/sdk_job_process_linux.go +0 -327
  760. package/dist/templates/native-go/backend/internal/helper/sdk_job_test.go +0 -501
  761. package/dist/templates/native-go/backend/internal/helper/sdk_job_vm_linux_test.go +0 -343
  762. package/dist/templates/native-go/backend/internal/helper/sdk_journal.go +0 -77
  763. package/dist/templates/native-go/backend/internal/helper/sdk_journal_linux.go +0 -244
  764. package/dist/templates/native-go/backend/internal/helper/sdk_journal_linux_test.go +0 -295
  765. package/dist/templates/native-go/backend/internal/helper/sdk_journal_test.go +0 -71
  766. package/dist/templates/native-go/backend/internal/helper/sdk_picker_test.go +0 -50
  767. package/dist/templates/native-go/backend/internal/helper/sdk_process_linux.go +0 -184
  768. package/dist/templates/native-go/backend/internal/helper/sdk_public_vm_linux_test.go +0 -129
  769. package/dist/templates/native-go/backend/internal/helper/sdk_relaxed_invalidation.go +0 -242
  770. package/dist/templates/native-go/backend/internal/helper/sdk_rpc.go +0 -299
  771. package/dist/templates/native-go/backend/internal/helper/sdk_rpc_contract.go +0 -70
  772. package/dist/templates/native-go/backend/internal/helper/sdk_rpc_test.go +0 -135
  773. package/dist/templates/native-go/backend/internal/helper/sdk_server_linux.go +0 -161
  774. package/dist/templates/native-go/backend/internal/helper/sdk_session.go +0 -677
  775. package/dist/templates/native-go/backend/internal/helper/sdk_session_contract.go +0 -72
  776. package/dist/templates/native-go/backend/internal/helper/sdk_session_fence_test.go +0 -215
  777. package/dist/templates/native-go/backend/internal/helper/sdk_session_test.go +0 -475
  778. package/dist/templates/native-go/backend/internal/helper/sdk_supervisor_frame.go +0 -78
  779. package/dist/templates/native-go/backend/internal/helper/sdk_supervisor_linux.go +0 -414
  780. package/dist/templates/native-go/backend/internal/helper/sdk_transport.go +0 -79
  781. package/dist/templates/native-go/backend/internal/helper/sdk_transport_linux.go +0 -82
  782. package/dist/templates/native-go/backend/internal/helper/sdk_transport_test.go +0 -64
  783. package/dist/templates/native-go/backend/internal/helper/server_linux.go +0 -136
  784. package/dist/templates/native-go/backend/internal/helper/stale_management_linux_test.go +0 -126
  785. package/dist/templates/native-go/backend/internal/helper/stale_management_test.go +0 -122
  786. package/dist/templates/native-go/backend/internal/helper/startup_diagnostic.go +0 -68
  787. package/dist/templates/native-go/backend/internal/helper/startup_diagnostic_linux_test.go +0 -126
  788. package/dist/templates/native-go/backend/internal/helper/startup_diagnostic_test.go +0 -117
  789. package/dist/templates/native-go/backend/internal/helper/status.go +0 -343
  790. package/dist/templates/native-go/backend/internal/helper/status_test.go +0 -333
  791. package/dist/templates/native-go/backend/internal/helper/supervision.go +0 -107
  792. package/dist/templates/native-go/backend/internal/helper/supervision_test.go +0 -124
  793. package/dist/templates/native-go/backend/internal/helper/supervisor_frame.go +0 -79
  794. package/dist/templates/native-go/backend/internal/helper/supervisor_frame_linux_test.go +0 -69
  795. package/dist/templates/native-go/backend/internal/helper/supervisor_frame_test.go +0 -107
  796. package/dist/templates/native-go/backend/internal/helper/supervisor_linux.go +0 -367
  797. package/dist/templates/native-go/backend/internal/helper/supervisor_linux_test.go +0 -913
  798. package/dist/templates/native-go/backend/internal/helper/supervisor_socket_eof_test.go +0 -74
  799. package/dist/templates/native-go/backend/internal/helper/supervisor_socket_test.go +0 -45
  800. package/dist/templates/native-go/backend/internal/helper/testdata/protocol2/create.json +0 -23
  801. package/dist/templates/native-go/backend/internal/helper/testdata/protocol2/frames.json +0 -67
  802. package/dist/templates/native-go/backend/internal/helper/testdata/protocol2/grant-store.json +0 -52
  803. package/dist/templates/native-go/backend/internal/helper/testdata/protocol2/intent.json +0 -20
  804. package/dist/templates/native-go/backend/internal/helper/testdata/protocol2/list.json +0 -20
  805. package/dist/templates/native-go/backend/internal/helper/testdata/protocol2/publish.json +0 -20
  806. package/dist/templates/native-go/backend/internal/helper/testdata/protocol2/read.json +0 -22
  807. package/dist/templates/native-go/backend/internal/helper/testdata/protocol2/stat.json +0 -22
  808. package/dist/templates/native-go/backend/internal/helper/testdata/protocol2/write-stream.json +0 -22
  809. package/dist/templates/native-go/backend/internal/helper/unit_connection.go +0 -75
  810. package/dist/templates/native-go/backend/internal/helper/unit_connection_linux_test.go +0 -135
  811. package/dist/templates/native-go/backend/internal/helper/unit_connection_test.go +0 -151
  812. package/dist/templates/native-go/backend/internal/helper/unit_frame_test.go +0 -32
  813. package/dist/templates/native-go/backend/internal/helper/unit_linux.go +0 -368
  814. package/dist/templates/native-go/backend/internal/helper/unit_linux_test.go +0 -46
  815. package/dist/templates/native-go/backend/internal/helper/unit_mechanisms_linux_test.go +0 -217
  816. package/dist/templates/native-go/backend/internal/helper/unit_padding_linux_test.go +0 -178
  817. package/dist/templates/native-go/backend/internal/helper/unit_query_linux.go +0 -115
  818. package/dist/templates/native-go/backend/internal/helper/unit_reload_linux_test.go +0 -372
  819. package/dist/templates/native-go/backend/internal/helper/unit_reload_sequence_linux_test.go +0 -232
  820. package/dist/templates/native-go/backend/internal/helper/write.go +0 -77
  821. package/dist/templates/native-go/backend/internal/helper/write_admission.go +0 -260
  822. package/dist/templates/native-go/backend/internal/helper/write_admission_test.go +0 -135
  823. package/dist/templates/native-go/backend/internal/helper/write_cohort_linux_test.go +0 -218
  824. package/dist/templates/native-go/backend/internal/helper/write_files_linux.go +0 -205
  825. package/dist/templates/native-go/backend/internal/helper/write_files_linux_test.go +0 -225
  826. package/dist/templates/native-go/backend/internal/helper/write_intent_linux.go +0 -116
  827. package/dist/templates/native-go/backend/internal/helper/write_intent_linux_test.go +0 -74
  828. package/dist/templates/native-go/backend/internal/helper/write_operation_linux.go +0 -245
  829. package/dist/templates/native-go/backend/internal/helper/write_test.go +0 -53
  830. package/dist/templates/native-go-authorization/backend/internal/app/authorization.go +0 -298
  831. package/dist/templates/native-go-authorization/backend/internal/app/authorization_test.go +0 -96
  832. package/dist/templates/native-go-authorization/frontend/test/authorization-preview.html +0 -14
  833. package/dist/templates/native-go-authorization/frontend/test/authorization.test.ts +0 -59
  834. package/dist/templates/native-go-background/BACKGROUND.md +0 -111
  835. package/dist/templates/native-go-background/backend/internal/app/background_routes_test.go +0 -32
  836. package/dist/templates/native-go-background/frontend/src/background/BackgroundPanel.vue +0 -178
  837. package/dist/templates/native-go-background/frontend/src/background/i18n/de.json +0 -83
  838. package/dist/templates/native-go-background/frontend/src/background/i18n/en.json +0 -83
  839. package/dist/templates/native-go-background/frontend/src/background/i18n/es.json +0 -83
  840. package/dist/templates/native-go-background/frontend/src/background/i18n/fr.json +0 -83
  841. package/dist/templates/native-go-background/frontend/src/background/i18n/it.json +0 -83
  842. package/dist/templates/native-go-background/frontend/src/background/i18n/ja.json +0 -83
  843. package/dist/templates/native-go-background/frontend/src/background/i18n/ko.json +0 -83
  844. package/dist/templates/native-go-background/frontend/src/background/i18n/zh-CN.json +0 -83
  845. package/dist/templates/native-go-background/frontend/src/background/i18n/zh-TW.json +0 -83
  846. package/dist/templates/native-go-background/frontend/src/background/picker-provider.ts +0 -13
  847. package/dist/templates/native-go-background/frontend/test/background.test.ts +0 -179
  848. package/dist/templates/native-go-better-auth/backend/internal/app/identity.go +0 -208
  849. package/dist/templates/native-go-better-auth/backend/internal/app/identity_test.go +0 -113
  850. package/dist/templates/native-go-better-auth/node/app.mjs +0 -72
  851. package/dist/templates/native-go-better-auth/node/build.mjs +0 -4
  852. package/dist/templates/native-go-better-auth/node/package-lock.json +0 -862
  853. package/dist/templates/native-go-better-auth/node/package.json +0 -1
  854. package/dist/templates/native-go-better-auth/node/test/auth.test.mjs +0 -31
  855. package/dist/templates/native-go-integration/backend/internal/app/identity_none.go +0 -6
  856. package/dist/templates/native-go-integration/backend/internal/app/personal.go +0 -203
  857. package/dist/templates/native-go-integration/backend/internal/app/personal_test.go +0 -156
  858. package/dist/templates/native-go-root/backend/internal/app/root.go +0 -107
  859. package/dist/templates/native-go-root/backend/internal/app/root_test.go +0 -124
  860. package/dist/templates/native-go-root/root/whoami.sh +0 -6
  861. package/dist/templates/native-go-vue/frontend/README-JOBS.md +0 -75
  862. package/dist/templates/native-go-vue/frontend/README-M2.md +0 -64
  863. package/dist/templates/native-go-vue/frontend/src/M2App.vue +0 -57
  864. package/dist/templates/native-go-vue/frontend/src/SDKApp.vue +0 -203
  865. package/dist/templates/native-go-vue/frontend/src/jobs/InteractiveJobForm.vue +0 -70
  866. package/dist/templates/native-go-vue/frontend/src/jobs/JobsAdminPanel.vue +0 -33
  867. package/dist/templates/native-go-vue/frontend/src/jobs/JobsPanel.vue +0 -135
  868. package/dist/templates/native-go-vue/frontend/src/jobs/connected-provider.ts +0 -179
  869. package/dist/templates/native-go-vue/frontend/src/jobs/i18n/de.json +0 -62
  870. package/dist/templates/native-go-vue/frontend/src/jobs/i18n/en.json +0 -62
  871. package/dist/templates/native-go-vue/frontend/src/jobs/i18n/es.json +0 -62
  872. package/dist/templates/native-go-vue/frontend/src/jobs/i18n/fr.json +0 -62
  873. package/dist/templates/native-go-vue/frontend/src/jobs/i18n/it.json +0 -62
  874. package/dist/templates/native-go-vue/frontend/src/jobs/i18n/ja.json +0 -62
  875. package/dist/templates/native-go-vue/frontend/src/jobs/i18n/ko.json +0 -62
  876. package/dist/templates/native-go-vue/frontend/src/jobs/i18n/zh-CN.json +0 -62
  877. package/dist/templates/native-go-vue/frontend/src/jobs/i18n/zh-TW.json +0 -62
  878. package/dist/templates/native-go-vue/frontend/src/jobs/i18n.ts +0 -15
  879. package/dist/templates/native-go-vue/frontend/src/jobs/mock-provider.ts +0 -67
  880. package/dist/templates/native-go-vue/frontend/src/jobs/provider.ts +0 -60
  881. package/dist/templates/native-go-vue/frontend/src/jobs/validate.ts +0 -44
  882. package/dist/templates/native-go-vue/frontend/src/m2-main.ts +0 -21
  883. package/dist/templates/native-go-vue/frontend/src/m2-style.css +0 -7
  884. package/dist/templates/native-go-vue/frontend/src/nas/M2Files.vue +0 -94
  885. package/dist/templates/native-go-vue/frontend/src/nas/M2PathPicker.vue +0 -70
  886. package/dist/templates/native-go-vue/frontend/src/nas/M2Settings.vue +0 -69
  887. package/dist/templates/native-go-vue/frontend/src/nas/NasGrantSettings.vue +0 -74
  888. package/dist/templates/native-go-vue/frontend/src/nas/NasPathPicker.vue +0 -106
  889. package/dist/templates/native-go-vue/frontend/src/nas/NasUnavailable.vue +0 -20
  890. package/dist/templates/native-go-vue/frontend/src/nas/i18n/de.json +0 -74
  891. package/dist/templates/native-go-vue/frontend/src/nas/i18n/en.json +0 -74
  892. package/dist/templates/native-go-vue/frontend/src/nas/i18n/es.json +0 -74
  893. package/dist/templates/native-go-vue/frontend/src/nas/i18n/fr.json +0 -74
  894. package/dist/templates/native-go-vue/frontend/src/nas/i18n/it.json +0 -74
  895. package/dist/templates/native-go-vue/frontend/src/nas/i18n/ja.json +0 -74
  896. package/dist/templates/native-go-vue/frontend/src/nas/i18n/ko.json +0 -74
  897. package/dist/templates/native-go-vue/frontend/src/nas/i18n/m2/de.json +0 -56
  898. package/dist/templates/native-go-vue/frontend/src/nas/i18n/m2/en.json +0 -56
  899. package/dist/templates/native-go-vue/frontend/src/nas/i18n/m2/es.json +0 -56
  900. package/dist/templates/native-go-vue/frontend/src/nas/i18n/m2/fr.json +0 -56
  901. package/dist/templates/native-go-vue/frontend/src/nas/i18n/m2/it.json +0 -56
  902. package/dist/templates/native-go-vue/frontend/src/nas/i18n/m2/ja.json +0 -56
  903. package/dist/templates/native-go-vue/frontend/src/nas/i18n/m2/ko.json +0 -56
  904. package/dist/templates/native-go-vue/frontend/src/nas/i18n/m2/zh-CN.json +0 -56
  905. package/dist/templates/native-go-vue/frontend/src/nas/i18n/m2/zh-TW.json +0 -56
  906. package/dist/templates/native-go-vue/frontend/src/nas/i18n/zh-CN.json +0 -74
  907. package/dist/templates/native-go-vue/frontend/src/nas/i18n/zh-TW.json +0 -74
  908. package/dist/templates/native-go-vue/frontend/src/nas/m2-contract.ts +0 -33
  909. package/dist/templates/native-go-vue/frontend/src/nas/m2-i18n.ts +0 -24
  910. package/dist/templates/native-go-vue/frontend/src/nas/m2-provider.ts +0 -104
  911. package/dist/templates/native-go-vue/frontend/src/nas/mock-provider.ts +0 -119
  912. package/dist/templates/native-go-vue/frontend/src/nas/use-m2-request.ts +0 -18
  913. package/dist/templates/native-go-vue/frontend/src/sdk-main.ts +0 -39
  914. package/dist/templates/native-go-vue/frontend/test/jobs-connected.test.ts +0 -163
  915. package/dist/templates/native-go-vue/frontend/test/jobs-preview.html +0 -22
  916. package/dist/templates/native-go-vue/frontend/test/jobs.test.ts +0 -176
  917. package/dist/templates/native-go-vue/frontend/test/m2-preview.html +0 -27
  918. package/dist/templates/native-go-vue/frontend/test/m2-provider.test.ts +0 -87
  919. package/dist/templates/native-go-vue/frontend/test/m2-ui.test.ts +0 -209
  920. package/dist/templates/native-go-vue/frontend/test/nas-provider.test.ts +0 -81
  921. package/dist/templates/native-go-vue/frontend/test/nas-request.test.ts +0 -21
  922. package/dist/templates/native-go-vue/frontend/test/nas-ui.test.ts +0 -261
  923. package/dist/templates/native-go-vue/frontend/test/picker-wire.test.ts +0 -110
  924. package/dist/templates/native-go-vue/frontend/test/shell-preview.html +0 -19
  925. package/dist/templates/native-go-vue/frontend/test/shell-sdk.test.ts +0 -73
  926. package/templates/_authorization/main.go +0 -104
  927. package/templates/_authorization/main_test.go +0 -35
  928. package/templates/_shared/notice-overrides/index.json +0 -14
  929. package/templates/_shared/notice-overrides/utils-0.4.2-LICENSE +0 -21
  930. package/templates/_shared/notice-overrides/utils-0.5.0-LICENSE +0 -21
  931. package/templates/binary/native.yaml +0 -16
  932. package/templates/binary/synology-app.yaml +0 -7
  933. package/templates/compose-import/compose.yaml +0 -10
  934. package/templates/compose-import/synology-app.yaml +0 -15
  935. package/templates/native-go/backend/cmd/app/sdk_main.go +0 -62
  936. package/templates/native-go/backend/cmd/dsm-readonly-probe/main_linux.go +0 -46
  937. package/templates/native-go/backend/cmd/helper/main.go +0 -64
  938. package/templates/native-go/backend/cmd/helper/sdk_registry.go +0 -19
  939. package/templates/native-go/backend/internal/api/binary.go +0 -154
  940. package/templates/native-go/backend/internal/api/binary_test.go +0 -165
  941. package/templates/native-go/backend/internal/app/authorization_none.go +0 -5
  942. package/templates/native-go/backend/internal/app/integration_state.go +0 -16
  943. package/templates/native-go/backend/internal/app/nas_cgi_artifact_test.go +0 -129
  944. package/templates/native-go/backend/internal/app/nas_refusal_test.go +0 -46
  945. package/templates/native-go/backend/internal/app/sdk_jobs.go +0 -70
  946. package/templates/native-go/backend/internal/app/sdk_jobs_test.go +0 -116
  947. package/templates/native-go/backend/internal/app/sdk_routes.go +0 -177
  948. package/templates/native-go/backend/internal/dsmprobe/collector_linux.go +0 -335
  949. package/templates/native-go/backend/internal/dsmprobe/collector_linux_test.go +0 -41
  950. package/templates/native-go/backend/internal/dsmprobe/protocol.go +0 -179
  951. package/templates/native-go/backend/internal/dsmprobe/protocol_test.go +0 -29
  952. package/templates/native-go/backend/internal/filestation/repository.go +0 -207
  953. package/templates/native-go/backend/internal/filestation/repository_test.go +0 -104
  954. package/templates/native-go/backend/internal/filestation/sdk_session.go +0 -241
  955. package/templates/native-go/backend/internal/filestation/sdk_session_test.go +0 -183
  956. package/templates/native-go/backend/internal/filestation/session_semantics_test.go +0 -383
  957. package/templates/native-go/backend/internal/helper/background_proof.go +0 -163
  958. package/templates/native-go/backend/internal/helper/background_proof_contract.go +0 -46
  959. package/templates/native-go/backend/internal/helper/background_proof_test.go +0 -161
  960. package/templates/native-go/backend/internal/helper/cohort.go +0 -393
  961. package/templates/native-go/backend/internal/helper/cohort_publication.go +0 -18
  962. package/templates/native-go/backend/internal/helper/cohort_publication_test.go +0 -105
  963. package/templates/native-go/backend/internal/helper/cohort_test.go +0 -372
  964. package/templates/native-go/backend/internal/helper/control.go +0 -424
  965. package/templates/native-go/backend/internal/helper/control_test.go +0 -250
  966. package/templates/native-go/backend/internal/helper/data_contract.go +0 -245
  967. package/templates/native-go/backend/internal/helper/data_contract_test.go +0 -51
  968. package/templates/native-go/backend/internal/helper/data_decode.go +0 -184
  969. package/templates/native-go/backend/internal/helper/data_decode_pointer_test.go +0 -30
  970. package/templates/native-go/backend/internal/helper/data_protocol.go +0 -419
  971. package/templates/native-go/backend/internal/helper/data_protocol_test.go +0 -449
  972. package/templates/native-go/backend/internal/helper/dsm_acl_linux.go +0 -139
  973. package/templates/native-go/backend/internal/helper/dsm_acl_linux_test.go +0 -121
  974. package/templates/native-go/backend/internal/helper/dsm_acl_syscall_linux.go +0 -95
  975. package/templates/native-go/backend/internal/helper/dsm_acl_syscall_linux_test.go +0 -56
  976. package/templates/native-go/backend/internal/helper/dsm_bridge_linux.go +0 -144
  977. package/templates/native-go/backend/internal/helper/dsm_bridge_linux_test.go +0 -89
  978. package/templates/native-go/backend/internal/helper/dsm_home_linux.go +0 -107
  979. package/templates/native-go/backend/internal/helper/dsm_home_linux_test.go +0 -82
  980. package/templates/native-go/backend/internal/helper/dsm_probe_transport_linux.go +0 -151
  981. package/templates/native-go/backend/internal/helper/dsm_probe_transport_linux_test.go +0 -66
  982. package/templates/native-go/backend/internal/helper/grant_authority.go +0 -519
  983. package/templates/native-go/backend/internal/helper/grant_authority_contract.go +0 -88
  984. package/templates/native-go/backend/internal/helper/grant_authority_test.go +0 -510
  985. package/templates/native-go/backend/internal/helper/grant_cohort.go +0 -389
  986. package/templates/native-go/backend/internal/helper/grant_cohort_test.go +0 -239
  987. package/templates/native-go/backend/internal/helper/grant_delivery.go +0 -49
  988. package/templates/native-go/backend/internal/helper/grant_delivery_methods.go +0 -273
  989. package/templates/native-go/backend/internal/helper/grant_delivery_test.go +0 -322
  990. package/templates/native-go/backend/internal/helper/grant_operation_contract.go +0 -47
  991. package/templates/native-go/backend/internal/helper/grant_readonly_test.go +0 -180
  992. package/templates/native-go/backend/internal/helper/grant_repository_linux.go +0 -416
  993. package/templates/native-go/backend/internal/helper/grant_repository_linux_test.go +0 -469
  994. package/templates/native-go/backend/internal/helper/grant_rpc.go +0 -147
  995. package/templates/native-go/backend/internal/helper/grant_rpc_test.go +0 -51
  996. package/templates/native-go/backend/internal/helper/grant_snapshot.go +0 -78
  997. package/templates/native-go/backend/internal/helper/grant_supervisor_linux.go +0 -134
  998. package/templates/native-go/backend/internal/helper/grant_supervisor_linux_test.go +0 -254
  999. package/templates/native-go/backend/internal/helper/jobcontract/bindings.go +0 -48
  1000. package/templates/native-go/backend/internal/helper/jobcontract/contract_test.go +0 -436
  1001. package/templates/native-go/backend/internal/helper/jobcontract/decode.go +0 -185
  1002. package/templates/native-go/backend/internal/helper/jobcontract/digest.go +0 -55
  1003. package/templates/native-go/backend/internal/helper/jobcontract/registry.go +0 -85
  1004. package/templates/native-go/backend/internal/helper/jobcontract/registry_test.go +0 -73
  1005. package/templates/native-go/backend/internal/helper/jobcontract/result.go +0 -53
  1006. package/templates/native-go/backend/internal/helper/jobcontract/stub.go +0 -8
  1007. package/templates/native-go/backend/internal/helper/jobcontract/testdata/input-digests.json +0 -127
  1008. package/templates/native-go/backend/internal/helper/jobcontract/types.go +0 -234
  1009. package/templates/native-go/backend/internal/helper/jobcontract/types_test.go +0 -29
  1010. package/templates/native-go/backend/internal/helper/jobcontract/validate.go +0 -462
  1011. package/templates/native-go/backend/internal/helper/lease.go +0 -112
  1012. package/templates/native-go/backend/internal/helper/lease_linux.go +0 -44
  1013. package/templates/native-go/backend/internal/helper/lease_other.go +0 -8
  1014. package/templates/native-go/backend/internal/helper/legacy_authority_schema_linux_test.go +0 -34
  1015. package/templates/native-go/backend/internal/helper/legacy_authority_schema_test.go +0 -6
  1016. package/templates/native-go/backend/internal/helper/lifecycle.go +0 -234
  1017. package/templates/native-go/backend/internal/helper/lifecycle_test.go +0 -473
  1018. package/templates/native-go/backend/internal/helper/managed_pilot.go +0 -284
  1019. package/templates/native-go/backend/internal/helper/managed_pilot_repository_linux.go +0 -74
  1020. package/templates/native-go/backend/internal/helper/managed_pilot_repository_linux_test.go +0 -40
  1021. package/templates/native-go/backend/internal/helper/managed_pilot_test.go +0 -210
  1022. package/templates/native-go/backend/internal/helper/management.go +0 -86
  1023. package/templates/native-go/backend/internal/helper/nas_shipped_refusal_linux_test.go +0 -97
  1024. package/templates/native-go/backend/internal/helper/native_discovery.go +0 -79
  1025. package/templates/native-go/backend/internal/helper/native_identity.go +0 -89
  1026. package/templates/native-go/backend/internal/helper/native_provider.go +0 -159
  1027. package/templates/native-go/backend/internal/helper/native_provider_test.go +0 -421
  1028. package/templates/native-go/backend/internal/helper/observation.go +0 -244
  1029. package/templates/native-go/backend/internal/helper/observation_health_test.go +0 -127
  1030. package/templates/native-go/backend/internal/helper/observation_reload_budget_test.go +0 -117
  1031. package/templates/native-go/backend/internal/helper/observation_test.go +0 -196
  1032. package/templates/native-go/backend/internal/helper/observer_diagnostic.go +0 -155
  1033. package/templates/native-go/backend/internal/helper/observer_diagnostic_linux.go +0 -76
  1034. package/templates/native-go/backend/internal/helper/observer_diagnostic_linux_test.go +0 -130
  1035. package/templates/native-go/backend/internal/helper/observer_diagnostic_test.go +0 -98
  1036. package/templates/native-go/backend/internal/helper/observer_diagnostic_writer.go +0 -40
  1037. package/templates/native-go/backend/internal/helper/operation_bootstrap_linux.go +0 -193
  1038. package/templates/native-go/backend/internal/helper/operation_credentials_linux.go +0 -56
  1039. package/templates/native-go/backend/internal/helper/operation_linux.go +0 -480
  1040. package/templates/native-go/backend/internal/helper/operation_linux_test.go +0 -528
  1041. package/templates/native-go/backend/internal/helper/peer_linux.go +0 -44
  1042. package/templates/native-go/backend/internal/helper/peer_other.go +0 -7
  1043. package/templates/native-go/backend/internal/helper/process_linux.go +0 -180
  1044. package/templates/native-go/backend/internal/helper/process_other.go +0 -5
  1045. package/templates/native-go/backend/internal/helper/publication_test.go +0 -178
  1046. package/templates/native-go/backend/internal/helper/purge.go +0 -115
  1047. package/templates/native-go/backend/internal/helper/purge_test.go +0 -59
  1048. package/templates/native-go/backend/internal/helper/query_deadline_linux_test.go +0 -115
  1049. package/templates/native-go/backend/internal/helper/query_pending_diagnostic_test.go +0 -254
  1050. package/templates/native-go/backend/internal/helper/read_stream_cohort_linux_test.go +0 -156
  1051. package/templates/native-go/backend/internal/helper/read_transfer.go +0 -40
  1052. package/templates/native-go/backend/internal/helper/read_transfer_linux.go +0 -109
  1053. package/templates/native-go/backend/internal/helper/read_transfer_linux_test.go +0 -118
  1054. package/templates/native-go/backend/internal/helper/read_transfer_test.go +0 -177
  1055. package/templates/native-go/backend/internal/helper/readonly.go +0 -105
  1056. package/templates/native-go/backend/internal/helper/readonly_admission.go +0 -85
  1057. package/templates/native-go/backend/internal/helper/readonly_cohort_linux_test.go +0 -253
  1058. package/templates/native-go/backend/internal/helper/readonly_linux_test.go +0 -378
  1059. package/templates/native-go/backend/internal/helper/readonly_mount_linux.go +0 -65
  1060. package/templates/native-go/backend/internal/helper/readonly_mount_proxy_linux.go +0 -113
  1061. package/templates/native-go/backend/internal/helper/readonly_operations_linux.go +0 -168
  1062. package/templates/native-go/backend/internal/helper/readonly_resolver_linux.go +0 -241
  1063. package/templates/native-go/backend/internal/helper/readonly_test.go +0 -40
  1064. package/templates/native-go/backend/internal/helper/relaxed_identity.go +0 -252
  1065. package/templates/native-go/backend/internal/helper/relaxed_identity_contract.go +0 -105
  1066. package/templates/native-go/backend/internal/helper/relaxed_identity_test.go +0 -406
  1067. package/templates/native-go/backend/internal/helper/relaxed_invalidation.go +0 -203
  1068. package/templates/native-go/backend/internal/helper/repair.go +0 -132
  1069. package/templates/native-go/backend/internal/helper/repair_test.go +0 -271
  1070. package/templates/native-go/backend/internal/helper/revoke.go +0 -109
  1071. package/templates/native-go/backend/internal/helper/revoke_test.go +0 -121
  1072. package/templates/native-go/backend/internal/helper/s1r_actor_acl_linux_test.go +0 -303
  1073. package/templates/native-go/backend/internal/helper/s1r_actor_fixture_linux_test.go +0 -184
  1074. package/templates/native-go/backend/internal/helper/s1r_actor_races_linux_test.go +0 -250
  1075. package/templates/native-go/backend/internal/helper/s1r_fixture_contract_linux_test.go +0 -18
  1076. package/templates/native-go/backend/internal/helper/sdk_assembly_linux.go +0 -51
  1077. package/templates/native-go/backend/internal/helper/sdk_attach.go +0 -83
  1078. package/templates/native-go/backend/internal/helper/sdk_attach_contract.go +0 -32
  1079. package/templates/native-go/backend/internal/helper/sdk_attach_test.go +0 -184
  1080. package/templates/native-go/backend/internal/helper/sdk_authority_schema_test.go +0 -6
  1081. package/templates/native-go/backend/internal/helper/sdk_background_authority.go +0 -832
  1082. package/templates/native-go/backend/internal/helper/sdk_background_authority_test.go +0 -714
  1083. package/templates/native-go/backend/internal/helper/sdk_background_invalidation.go +0 -218
  1084. package/templates/native-go/backend/internal/helper/sdk_background_lease.go +0 -218
  1085. package/templates/native-go/backend/internal/helper/sdk_background_snapshot.go +0 -110
  1086. package/templates/native-go/backend/internal/helper/sdk_background_store_linux_test.go +0 -261
  1087. package/templates/native-go/backend/internal/helper/sdk_background_store_test.go +0 -58
  1088. package/templates/native-go/backend/internal/helper/sdk_bindings.go +0 -60
  1089. package/templates/native-go/backend/internal/helper/sdk_data_contract.go +0 -251
  1090. package/templates/native-go/backend/internal/helper/sdk_data_protocol.go +0 -424
  1091. package/templates/native-go/backend/internal/helper/sdk_dispatch_absence_test.go +0 -51
  1092. package/templates/native-go/backend/internal/helper/sdk_display.go +0 -488
  1093. package/templates/native-go/backend/internal/helper/sdk_display_contract.go +0 -121
  1094. package/templates/native-go/backend/internal/helper/sdk_display_test.go +0 -459
  1095. package/templates/native-go/backend/internal/helper/sdk_grant_authority.go +0 -559
  1096. package/templates/native-go/backend/internal/helper/sdk_grant_repository_linux.go +0 -417
  1097. package/templates/native-go/backend/internal/helper/sdk_grant_snapshot.go +0 -94
  1098. package/templates/native-go/backend/internal/helper/sdk_history.go +0 -80
  1099. package/templates/native-go/backend/internal/helper/sdk_history_test.go +0 -76
  1100. package/templates/native-go/backend/internal/helper/sdk_job.go +0 -697
  1101. package/templates/native-go/backend/internal/helper/sdk_job_child_linux.go +0 -309
  1102. package/templates/native-go/backend/internal/helper/sdk_job_contract.go +0 -122
  1103. package/templates/native-go/backend/internal/helper/sdk_job_linux_test.go +0 -159
  1104. package/templates/native-go/backend/internal/helper/sdk_job_process_linux.go +0 -327
  1105. package/templates/native-go/backend/internal/helper/sdk_job_test.go +0 -501
  1106. package/templates/native-go/backend/internal/helper/sdk_job_vm_linux_test.go +0 -343
  1107. package/templates/native-go/backend/internal/helper/sdk_journal.go +0 -77
  1108. package/templates/native-go/backend/internal/helper/sdk_journal_linux.go +0 -244
  1109. package/templates/native-go/backend/internal/helper/sdk_journal_linux_test.go +0 -295
  1110. package/templates/native-go/backend/internal/helper/sdk_journal_test.go +0 -71
  1111. package/templates/native-go/backend/internal/helper/sdk_picker_test.go +0 -50
  1112. package/templates/native-go/backend/internal/helper/sdk_process_linux.go +0 -184
  1113. package/templates/native-go/backend/internal/helper/sdk_public_vm_linux_test.go +0 -129
  1114. package/templates/native-go/backend/internal/helper/sdk_relaxed_invalidation.go +0 -242
  1115. package/templates/native-go/backend/internal/helper/sdk_rpc.go +0 -299
  1116. package/templates/native-go/backend/internal/helper/sdk_rpc_contract.go +0 -70
  1117. package/templates/native-go/backend/internal/helper/sdk_rpc_test.go +0 -135
  1118. package/templates/native-go/backend/internal/helper/sdk_server_linux.go +0 -161
  1119. package/templates/native-go/backend/internal/helper/sdk_session.go +0 -677
  1120. package/templates/native-go/backend/internal/helper/sdk_session_contract.go +0 -72
  1121. package/templates/native-go/backend/internal/helper/sdk_session_fence_test.go +0 -215
  1122. package/templates/native-go/backend/internal/helper/sdk_session_test.go +0 -475
  1123. package/templates/native-go/backend/internal/helper/sdk_supervisor_frame.go +0 -78
  1124. package/templates/native-go/backend/internal/helper/sdk_supervisor_linux.go +0 -414
  1125. package/templates/native-go/backend/internal/helper/sdk_transport.go +0 -79
  1126. package/templates/native-go/backend/internal/helper/sdk_transport_linux.go +0 -82
  1127. package/templates/native-go/backend/internal/helper/sdk_transport_test.go +0 -64
  1128. package/templates/native-go/backend/internal/helper/server_linux.go +0 -136
  1129. package/templates/native-go/backend/internal/helper/stale_management_linux_test.go +0 -126
  1130. package/templates/native-go/backend/internal/helper/stale_management_test.go +0 -122
  1131. package/templates/native-go/backend/internal/helper/startup_diagnostic.go +0 -68
  1132. package/templates/native-go/backend/internal/helper/startup_diagnostic_linux_test.go +0 -126
  1133. package/templates/native-go/backend/internal/helper/startup_diagnostic_test.go +0 -117
  1134. package/templates/native-go/backend/internal/helper/status.go +0 -343
  1135. package/templates/native-go/backend/internal/helper/status_test.go +0 -333
  1136. package/templates/native-go/backend/internal/helper/supervision.go +0 -107
  1137. package/templates/native-go/backend/internal/helper/supervision_test.go +0 -124
  1138. package/templates/native-go/backend/internal/helper/supervisor_frame.go +0 -79
  1139. package/templates/native-go/backend/internal/helper/supervisor_frame_linux_test.go +0 -69
  1140. package/templates/native-go/backend/internal/helper/supervisor_frame_test.go +0 -107
  1141. package/templates/native-go/backend/internal/helper/supervisor_linux.go +0 -367
  1142. package/templates/native-go/backend/internal/helper/supervisor_linux_test.go +0 -913
  1143. package/templates/native-go/backend/internal/helper/supervisor_socket_eof_test.go +0 -74
  1144. package/templates/native-go/backend/internal/helper/supervisor_socket_test.go +0 -45
  1145. package/templates/native-go/backend/internal/helper/testdata/protocol2/create.json +0 -23
  1146. package/templates/native-go/backend/internal/helper/testdata/protocol2/frames.json +0 -67
  1147. package/templates/native-go/backend/internal/helper/testdata/protocol2/grant-store.json +0 -52
  1148. package/templates/native-go/backend/internal/helper/testdata/protocol2/intent.json +0 -20
  1149. package/templates/native-go/backend/internal/helper/testdata/protocol2/list.json +0 -20
  1150. package/templates/native-go/backend/internal/helper/testdata/protocol2/publish.json +0 -20
  1151. package/templates/native-go/backend/internal/helper/testdata/protocol2/read.json +0 -22
  1152. package/templates/native-go/backend/internal/helper/testdata/protocol2/stat.json +0 -22
  1153. package/templates/native-go/backend/internal/helper/testdata/protocol2/write-stream.json +0 -22
  1154. package/templates/native-go/backend/internal/helper/unit_connection.go +0 -75
  1155. package/templates/native-go/backend/internal/helper/unit_connection_linux_test.go +0 -135
  1156. package/templates/native-go/backend/internal/helper/unit_connection_test.go +0 -151
  1157. package/templates/native-go/backend/internal/helper/unit_frame_test.go +0 -32
  1158. package/templates/native-go/backend/internal/helper/unit_linux.go +0 -368
  1159. package/templates/native-go/backend/internal/helper/unit_linux_test.go +0 -46
  1160. package/templates/native-go/backend/internal/helper/unit_mechanisms_linux_test.go +0 -217
  1161. package/templates/native-go/backend/internal/helper/unit_padding_linux_test.go +0 -178
  1162. package/templates/native-go/backend/internal/helper/unit_query_linux.go +0 -115
  1163. package/templates/native-go/backend/internal/helper/unit_reload_linux_test.go +0 -372
  1164. package/templates/native-go/backend/internal/helper/unit_reload_sequence_linux_test.go +0 -232
  1165. package/templates/native-go/backend/internal/helper/write.go +0 -77
  1166. package/templates/native-go/backend/internal/helper/write_admission.go +0 -260
  1167. package/templates/native-go/backend/internal/helper/write_admission_test.go +0 -135
  1168. package/templates/native-go/backend/internal/helper/write_cohort_linux_test.go +0 -218
  1169. package/templates/native-go/backend/internal/helper/write_files_linux.go +0 -205
  1170. package/templates/native-go/backend/internal/helper/write_files_linux_test.go +0 -225
  1171. package/templates/native-go/backend/internal/helper/write_intent_linux.go +0 -116
  1172. package/templates/native-go/backend/internal/helper/write_intent_linux_test.go +0 -74
  1173. package/templates/native-go/backend/internal/helper/write_operation_linux.go +0 -245
  1174. package/templates/native-go/backend/internal/helper/write_test.go +0 -53
  1175. package/templates/native-go-authorization/backend/internal/app/authorization.go +0 -298
  1176. package/templates/native-go-authorization/backend/internal/app/authorization_test.go +0 -96
  1177. package/templates/native-go-authorization/frontend/test/authorization-preview.html +0 -14
  1178. package/templates/native-go-authorization/frontend/test/authorization.test.ts +0 -59
  1179. package/templates/native-go-background/BACKGROUND.md +0 -111
  1180. package/templates/native-go-background/backend/internal/app/background_routes_test.go +0 -32
  1181. package/templates/native-go-background/frontend/src/background/BackgroundPanel.vue +0 -178
  1182. package/templates/native-go-background/frontend/src/background/i18n/de.json +0 -83
  1183. package/templates/native-go-background/frontend/src/background/i18n/en.json +0 -83
  1184. package/templates/native-go-background/frontend/src/background/i18n/es.json +0 -83
  1185. package/templates/native-go-background/frontend/src/background/i18n/fr.json +0 -83
  1186. package/templates/native-go-background/frontend/src/background/i18n/it.json +0 -83
  1187. package/templates/native-go-background/frontend/src/background/i18n/ja.json +0 -83
  1188. package/templates/native-go-background/frontend/src/background/i18n/ko.json +0 -83
  1189. package/templates/native-go-background/frontend/src/background/i18n/zh-CN.json +0 -83
  1190. package/templates/native-go-background/frontend/src/background/i18n/zh-TW.json +0 -83
  1191. package/templates/native-go-background/frontend/src/background/picker-provider.ts +0 -13
  1192. package/templates/native-go-background/frontend/test/background.test.ts +0 -179
  1193. package/templates/native-go-better-auth/backend/internal/app/identity.go +0 -208
  1194. package/templates/native-go-better-auth/backend/internal/app/identity_test.go +0 -113
  1195. package/templates/native-go-better-auth/node/app.mjs +0 -72
  1196. package/templates/native-go-better-auth/node/build.mjs +0 -4
  1197. package/templates/native-go-better-auth/node/package-lock.json +0 -862
  1198. package/templates/native-go-better-auth/node/package.json +0 -1
  1199. package/templates/native-go-better-auth/node/test/auth.test.mjs +0 -31
  1200. package/templates/native-go-integration/backend/internal/app/identity_none.go +0 -6
  1201. package/templates/native-go-integration/backend/internal/app/personal.go +0 -203
  1202. package/templates/native-go-integration/backend/internal/app/personal_test.go +0 -156
  1203. package/templates/native-go-root/backend/internal/app/root.go +0 -107
  1204. package/templates/native-go-root/backend/internal/app/root_test.go +0 -124
  1205. package/templates/native-go-root/root/whoami.sh +0 -6
  1206. package/templates/native-go-vue/frontend/README-JOBS.md +0 -75
  1207. package/templates/native-go-vue/frontend/README-M2.md +0 -64
  1208. package/templates/native-go-vue/frontend/src/M2App.vue +0 -57
  1209. package/templates/native-go-vue/frontend/src/SDKApp.vue +0 -203
  1210. package/templates/native-go-vue/frontend/src/jobs/InteractiveJobForm.vue +0 -70
  1211. package/templates/native-go-vue/frontend/src/jobs/JobsAdminPanel.vue +0 -33
  1212. package/templates/native-go-vue/frontend/src/jobs/JobsPanel.vue +0 -135
  1213. package/templates/native-go-vue/frontend/src/jobs/connected-provider.ts +0 -179
  1214. package/templates/native-go-vue/frontend/src/jobs/i18n/de.json +0 -62
  1215. package/templates/native-go-vue/frontend/src/jobs/i18n/en.json +0 -62
  1216. package/templates/native-go-vue/frontend/src/jobs/i18n/es.json +0 -62
  1217. package/templates/native-go-vue/frontend/src/jobs/i18n/fr.json +0 -62
  1218. package/templates/native-go-vue/frontend/src/jobs/i18n/it.json +0 -62
  1219. package/templates/native-go-vue/frontend/src/jobs/i18n/ja.json +0 -62
  1220. package/templates/native-go-vue/frontend/src/jobs/i18n/ko.json +0 -62
  1221. package/templates/native-go-vue/frontend/src/jobs/i18n/zh-CN.json +0 -62
  1222. package/templates/native-go-vue/frontend/src/jobs/i18n/zh-TW.json +0 -62
  1223. package/templates/native-go-vue/frontend/src/jobs/i18n.ts +0 -15
  1224. package/templates/native-go-vue/frontend/src/jobs/mock-provider.ts +0 -67
  1225. package/templates/native-go-vue/frontend/src/jobs/provider.ts +0 -60
  1226. package/templates/native-go-vue/frontend/src/jobs/validate.ts +0 -44
  1227. package/templates/native-go-vue/frontend/src/m2-main.ts +0 -21
  1228. package/templates/native-go-vue/frontend/src/m2-style.css +0 -7
  1229. package/templates/native-go-vue/frontend/src/nas/M2Files.vue +0 -94
  1230. package/templates/native-go-vue/frontend/src/nas/M2PathPicker.vue +0 -70
  1231. package/templates/native-go-vue/frontend/src/nas/M2Settings.vue +0 -69
  1232. package/templates/native-go-vue/frontend/src/nas/NasGrantSettings.vue +0 -74
  1233. package/templates/native-go-vue/frontend/src/nas/NasPathPicker.vue +0 -106
  1234. package/templates/native-go-vue/frontend/src/nas/NasUnavailable.vue +0 -20
  1235. package/templates/native-go-vue/frontend/src/nas/i18n/de.json +0 -74
  1236. package/templates/native-go-vue/frontend/src/nas/i18n/en.json +0 -74
  1237. package/templates/native-go-vue/frontend/src/nas/i18n/es.json +0 -74
  1238. package/templates/native-go-vue/frontend/src/nas/i18n/fr.json +0 -74
  1239. package/templates/native-go-vue/frontend/src/nas/i18n/it.json +0 -74
  1240. package/templates/native-go-vue/frontend/src/nas/i18n/ja.json +0 -74
  1241. package/templates/native-go-vue/frontend/src/nas/i18n/ko.json +0 -74
  1242. package/templates/native-go-vue/frontend/src/nas/i18n/m2/de.json +0 -56
  1243. package/templates/native-go-vue/frontend/src/nas/i18n/m2/en.json +0 -56
  1244. package/templates/native-go-vue/frontend/src/nas/i18n/m2/es.json +0 -56
  1245. package/templates/native-go-vue/frontend/src/nas/i18n/m2/fr.json +0 -56
  1246. package/templates/native-go-vue/frontend/src/nas/i18n/m2/it.json +0 -56
  1247. package/templates/native-go-vue/frontend/src/nas/i18n/m2/ja.json +0 -56
  1248. package/templates/native-go-vue/frontend/src/nas/i18n/m2/ko.json +0 -56
  1249. package/templates/native-go-vue/frontend/src/nas/i18n/m2/zh-CN.json +0 -56
  1250. package/templates/native-go-vue/frontend/src/nas/i18n/m2/zh-TW.json +0 -56
  1251. package/templates/native-go-vue/frontend/src/nas/i18n/zh-CN.json +0 -74
  1252. package/templates/native-go-vue/frontend/src/nas/i18n/zh-TW.json +0 -74
  1253. package/templates/native-go-vue/frontend/src/nas/m2-contract.ts +0 -33
  1254. package/templates/native-go-vue/frontend/src/nas/m2-i18n.ts +0 -24
  1255. package/templates/native-go-vue/frontend/src/nas/m2-provider.ts +0 -104
  1256. package/templates/native-go-vue/frontend/src/nas/mock-provider.ts +0 -119
  1257. package/templates/native-go-vue/frontend/src/nas/use-m2-request.ts +0 -18
  1258. package/templates/native-go-vue/frontend/src/sdk-main.ts +0 -39
  1259. package/templates/native-go-vue/frontend/test/jobs-connected.test.ts +0 -163
  1260. package/templates/native-go-vue/frontend/test/jobs-preview.html +0 -22
  1261. package/templates/native-go-vue/frontend/test/jobs.test.ts +0 -176
  1262. package/templates/native-go-vue/frontend/test/m2-preview.html +0 -27
  1263. package/templates/native-go-vue/frontend/test/m2-provider.test.ts +0 -87
  1264. package/templates/native-go-vue/frontend/test/m2-ui.test.ts +0 -209
  1265. package/templates/native-go-vue/frontend/test/nas-provider.test.ts +0 -81
  1266. package/templates/native-go-vue/frontend/test/nas-request.test.ts +0 -21
  1267. package/templates/native-go-vue/frontend/test/nas-ui.test.ts +0 -261
  1268. package/templates/native-go-vue/frontend/test/picker-wire.test.ts +0 -110
  1269. package/templates/native-go-vue/frontend/test/shell-preview.html +0 -19
  1270. package/templates/native-go-vue/frontend/test/shell-sdk.test.ts +0 -73
  1271. /package/dist/standalone/{authorization-window.d.ts → native-authorization-window.d.ts} +0 -0
  1272. /package/dist/standalone/{authorization-window.js → native-authorization-window.js} +0 -0
  1273. /package/dist/templates/{hello-files → compose}/compose.yaml +0 -0
  1274. /package/dist/templates/{hello-files → compose}/synology-app.yaml +0 -0
  1275. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/AuthorizationGate.vue +0 -0
  1276. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/de.json +0 -0
  1277. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/en.json +0 -0
  1278. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/es.json +0 -0
  1279. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/fr.json +0 -0
  1280. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/index.ts +0 -0
  1281. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/it.json +0 -0
  1282. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/ja.json +0 -0
  1283. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/ko.json +0 -0
  1284. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/zh-CN.json +0 -0
  1285. /package/dist/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/zh-TW.json +0 -0
  1286. /package/dist/templates/{native-go-background → native-go-jobs}/backend/internal/app/background_on.go +0 -0
  1287. /package/dist/templates/{native-go-background → native-go-jobs}/frontend/src/background/i18n.ts +0 -0
  1288. /package/templates/{hello-files → compose}/compose.yaml +0 -0
  1289. /package/templates/{hello-files → compose}/synology-app.yaml +0 -0
  1290. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/AuthorizationGate.vue +0 -0
  1291. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/de.json +0 -0
  1292. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/en.json +0 -0
  1293. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/es.json +0 -0
  1294. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/fr.json +0 -0
  1295. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/index.ts +0 -0
  1296. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/it.json +0 -0
  1297. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/ja.json +0 -0
  1298. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/ko.json +0 -0
  1299. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/zh-CN.json +0 -0
  1300. /package/templates/{native-go-authorization/frontend/src/authorization → native-authorization}/i18n/zh-TW.json +0 -0
  1301. /package/templates/{native-go-background → native-go-jobs}/backend/internal/app/background_on.go +0 -0
  1302. /package/templates/{native-go-background → native-go-jobs}/frontend/src/background/i18n.ts +0 -0
@@ -0,0 +1,501 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 2.1, February 1999
3
+
4
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5
+ <https://fsf.org/>
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ [This is the first released version of the Lesser GPL. It also counts
10
+ as the successor of the GNU Library Public License, version 2, hence
11
+ the version number 2.1.]
12
+
13
+ Preamble
14
+
15
+ The licenses for most software are designed to take away your
16
+ freedom to share and change it. By contrast, the GNU General Public
17
+ Licenses are intended to guarantee your freedom to share and change
18
+ free software--to make sure the software is free for all its users.
19
+
20
+ This license, the Lesser General Public License, applies to some
21
+ specially designated software packages--typically libraries--of the
22
+ Free Software Foundation and other authors who decide to use it. You
23
+ can use it too, but we suggest you first think carefully about whether
24
+ this license or the ordinary General Public License is the better
25
+ strategy to use in any particular case, based on the explanations below.
26
+
27
+ When we speak of free software, we are referring to freedom of use,
28
+ not price. Our General Public Licenses are designed to make sure that
29
+ you have the freedom to distribute copies of free software (and charge
30
+ for this service if you wish); that you receive source code or can get
31
+ it if you want it; that you can change the software and use pieces of
32
+ it in new free programs; and that you are informed that you can do
33
+ these things.
34
+
35
+ To protect your rights, we need to make restrictions that forbid
36
+ distributors to deny you these rights or to ask you to surrender these
37
+ rights. These restrictions translate to certain responsibilities for
38
+ you if you distribute copies of the library or if you modify it.
39
+
40
+ For example, if you distribute copies of the library, whether gratis
41
+ or for a fee, you must give the recipients all the rights that we gave
42
+ you. You must make sure that they, too, receive or can get the source
43
+ code. If you link other code with the library, you must provide
44
+ complete object files to the recipients, so that they can relink them
45
+ with the library after making changes to the library and recompiling
46
+ it. And you must show them these terms so they know their rights.
47
+
48
+ We protect your rights with a two-step method: (1) we copyright the
49
+ library, and (2) we offer you this license, which gives you legal
50
+ permission to copy, distribute and/or modify the library.
51
+
52
+ To protect each distributor, we want to make it very clear that
53
+ there is no warranty for the free library. Also, if the library is
54
+ modified by someone else and passed on, the recipients should know
55
+ that what they have is not the original version, so that the original
56
+ author's reputation will not be affected by problems that might be
57
+ introduced by others.
58
+
59
+ Finally, software patents pose a constant threat to the existence of
60
+ any free program. We wish to make sure that a company cannot
61
+ effectively restrict the users of a free program by obtaining a
62
+ restrictive license from a patent holder. Therefore, we insist that
63
+ any patent license obtained for a version of the library must be
64
+ consistent with the full freedom of use specified in this license.
65
+
66
+ Most GNU software, including some libraries, is covered by the
67
+ ordinary GNU General Public License. This license, the GNU Lesser
68
+ General Public License, applies to certain designated libraries, and
69
+ is quite different from the ordinary General Public License. We use
70
+ this license for certain libraries in order to permit linking those
71
+ libraries into non-free programs.
72
+
73
+ When a program is linked with a library, whether statically or using
74
+ a shared library, the combination of the two is legally speaking a
75
+ combined work, a derivative of the original library. The ordinary
76
+ General Public License therefore permits such linking only if the
77
+ entire combination fits its criteria of freedom. The Lesser General
78
+ Public License permits more lax criteria for linking other code with
79
+ the library.
80
+
81
+ We call this license the "Lesser" General Public License because it
82
+ does Less to protect the user's freedom than the ordinary General
83
+ Public License. It also provides other free software developers Less
84
+ of an advantage over competing non-free programs. These disadvantages
85
+ are the reason we use the ordinary General Public License for many
86
+ libraries. However, the Lesser license provides advantages in certain
87
+ special circumstances.
88
+
89
+ For example, on rare occasions, there may be a special need to
90
+ encourage the widest possible use of a certain library, so that it becomes
91
+ a de-facto standard. To achieve this, non-free programs must be
92
+ allowed to use the library. A more frequent case is that a free
93
+ library does the same job as widely used non-free libraries. In this
94
+ case, there is little to gain by limiting the free library to free
95
+ software only, so we use the Lesser General Public License.
96
+
97
+ In other cases, permission to use a particular library in non-free
98
+ programs enables a greater number of people to use a large body of
99
+ free software. For example, permission to use the GNU C Library in
100
+ non-free programs enables many more people to use the whole GNU
101
+ operating system, as well as its variant, the GNU/Linux operating
102
+ system.
103
+
104
+ Although the Lesser General Public License is Less protective of the
105
+ users' freedom, it does ensure that the user of a program that is
106
+ linked with the Library has the freedom and the wherewithal to run
107
+ that program using a modified version of the Library.
108
+
109
+ The precise terms and conditions for copying, distribution and
110
+ modification follow. Pay close attention to the difference between a
111
+ "work based on the library" and a "work that uses the library". The
112
+ former contains code derived from the library, whereas the latter must
113
+ be combined with the library in order to run.
114
+
115
+ GNU LESSER GENERAL PUBLIC LICENSE
116
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117
+
118
+ 0. This License Agreement applies to any software library or other
119
+ program which contains a notice placed by the copyright holder or
120
+ other authorized party saying it may be distributed under the terms of
121
+ this Lesser General Public License (also called "this License").
122
+ Each licensee is addressed as "you".
123
+
124
+ A "library" means a collection of software functions and/or data
125
+ prepared so as to be conveniently linked with application programs
126
+ (which use some of those functions and data) to form executables.
127
+
128
+ The "Library", below, refers to any such software library or work
129
+ which has been distributed under these terms. A "work based on the
130
+ Library" means either the Library or any derivative work under
131
+ copyright law: that is to say, a work containing the Library or a
132
+ portion of it, either verbatim or with modifications and/or translated
133
+ straightforwardly into another language. (Hereinafter, translation is
134
+ included without limitation in the term "modification".)
135
+
136
+ "Source code" for a work means the preferred form of the work for
137
+ making modifications to it. For a library, complete source code means
138
+ all the source code for all modules it contains, plus any associated
139
+ interface definition files, plus the scripts used to control compilation
140
+ and installation of the library.
141
+
142
+ Activities other than copying, distribution and modification are not
143
+ covered by this License; they are outside its scope. The act of
144
+ running a program using the Library is not restricted, and output from
145
+ such a program is covered only if its contents constitute a work based
146
+ on the Library (independent of the use of the Library in a tool for
147
+ writing it). Whether that is true depends on what the Library does
148
+ and what the program that uses the Library does.
149
+
150
+ 1. You may copy and distribute verbatim copies of the Library's
151
+ complete source code as you receive it, in any medium, provided that
152
+ you conspicuously and appropriately publish on each copy an
153
+ appropriate copyright notice and disclaimer of warranty; keep intact
154
+ all the notices that refer to this License and to the absence of any
155
+ warranty; and distribute a copy of this License along with the
156
+ Library.
157
+
158
+ You may charge a fee for the physical act of transferring a copy,
159
+ and you may at your option offer warranty protection in exchange for a
160
+ fee.
161
+
162
+ 2. You may modify your copy or copies of the Library or any portion
163
+ of it, thus forming a work based on the Library, and copy and
164
+ distribute such modifications or work under the terms of Section 1
165
+ above, provided that you also meet all of these conditions:
166
+
167
+ a) The modified work must itself be a software library.
168
+
169
+ b) You must cause the files modified to carry prominent notices
170
+ stating that you changed the files and the date of any change.
171
+
172
+ c) You must cause the whole of the work to be licensed at no
173
+ charge to all third parties under the terms of this License.
174
+
175
+ d) If a facility in the modified Library refers to a function or a
176
+ table of data to be supplied by an application program that uses
177
+ the facility, other than as an argument passed when the facility
178
+ is invoked, then you must make a good faith effort to ensure that,
179
+ in the event an application does not supply such function or
180
+ table, the facility still operates, and performs whatever part of
181
+ its purpose remains meaningful.
182
+
183
+ (For example, a function in a library to compute square roots has
184
+ a purpose that is entirely well-defined independent of the
185
+ application. Therefore, Subsection 2d requires that any
186
+ application-supplied function or table used by this function must
187
+ be optional: if the application does not supply it, the square
188
+ root function must still compute square roots.)
189
+
190
+ These requirements apply to the modified work as a whole. If
191
+ identifiable sections of that work are not derived from the Library,
192
+ and can be reasonably considered independent and separate works in
193
+ themselves, then this License, and its terms, do not apply to those
194
+ sections when you distribute them as separate works. But when you
195
+ distribute the same sections as part of a whole which is a work based
196
+ on the Library, the distribution of the whole must be on the terms of
197
+ this License, whose permissions for other licensees extend to the
198
+ entire whole, and thus to each and every part regardless of who wrote
199
+ it.
200
+
201
+ Thus, it is not the intent of this section to claim rights or contest
202
+ your rights to work written entirely by you; rather, the intent is to
203
+ exercise the right to control the distribution of derivative or
204
+ collective works based on the Library.
205
+
206
+ In addition, mere aggregation of another work not based on the Library
207
+ with the Library (or with a work based on the Library) on a volume of
208
+ a storage or distribution medium does not bring the other work under
209
+ the scope of this License.
210
+
211
+ 3. You may opt to apply the terms of the ordinary GNU General Public
212
+ License instead of this License to a given copy of the Library. To do
213
+ this, you must alter all the notices that refer to this License, so
214
+ that they refer to the ordinary GNU General Public License, version 2,
215
+ instead of to this License. (If a newer version than version 2 of the
216
+ ordinary GNU General Public License has appeared, then you can specify
217
+ that version instead if you wish.) Do not make any other change in
218
+ these notices.
219
+
220
+ Once this change is made in a given copy, it is irreversible for
221
+ that copy, so the ordinary GNU General Public License applies to all
222
+ subsequent copies and derivative works made from that copy.
223
+
224
+ This option is useful when you wish to copy part of the code of
225
+ the Library into a program that is not a library.
226
+
227
+ 4. You may copy and distribute the Library (or a portion or
228
+ derivative of it, under Section 2) in object code or executable form
229
+ under the terms of Sections 1 and 2 above provided that you accompany
230
+ it with the complete corresponding machine-readable source code, which
231
+ must be distributed under the terms of Sections 1 and 2 above on a
232
+ medium customarily used for software interchange.
233
+
234
+ If distribution of object code is made by offering access to copy
235
+ from a designated place, then offering equivalent access to copy the
236
+ source code from the same place satisfies the requirement to
237
+ distribute the source code, even though third parties are not
238
+ compelled to copy the source along with the object code.
239
+
240
+ 5. A program that contains no derivative of any portion of the
241
+ Library, but is designed to work with the Library by being compiled or
242
+ linked with it, is called a "work that uses the Library". Such a
243
+ work, in isolation, is not a derivative work of the Library, and
244
+ therefore falls outside the scope of this License.
245
+
246
+ However, linking a "work that uses the Library" with the Library
247
+ creates an executable that is a derivative of the Library (because it
248
+ contains portions of the Library), rather than a "work that uses the
249
+ library". The executable is therefore covered by this License.
250
+ Section 6 states terms for distribution of such executables.
251
+
252
+ When a "work that uses the Library" uses material from a header file
253
+ that is part of the Library, the object code for the work may be a
254
+ derivative work of the Library even though the source code is not.
255
+ Whether this is true is especially significant if the work can be
256
+ linked without the Library, or if the work is itself a library. The
257
+ threshold for this to be true is not precisely defined by law.
258
+
259
+ If such an object file uses only numerical parameters, data
260
+ structure layouts and accessors, and small macros and small inline
261
+ functions (ten lines or less in length), then the use of the object
262
+ file is unrestricted, regardless of whether it is legally a derivative
263
+ work. (Executables containing this object code plus portions of the
264
+ Library will still fall under Section 6.)
265
+
266
+ Otherwise, if the work is a derivative of the Library, you may
267
+ distribute the object code for the work under the terms of Section 6.
268
+ Any executables containing that work also fall under Section 6,
269
+ whether or not they are linked directly with the Library itself.
270
+
271
+ 6. As an exception to the Sections above, you may also combine or
272
+ link a "work that uses the Library" with the Library to produce a
273
+ work containing portions of the Library, and distribute that work
274
+ under terms of your choice, provided that the terms permit
275
+ modification of the work for the customer's own use and reverse
276
+ engineering for debugging such modifications.
277
+
278
+ You must give prominent notice with each copy of the work that the
279
+ Library is used in it and that the Library and its use are covered by
280
+ this License. You must supply a copy of this License. If the work
281
+ during execution displays copyright notices, you must include the
282
+ copyright notice for the Library among them, as well as a reference
283
+ directing the user to the copy of this License. Also, you must do one
284
+ of these things:
285
+
286
+ a) Accompany the work with the complete corresponding
287
+ machine-readable source code for the Library including whatever
288
+ changes were used in the work (which must be distributed under
289
+ Sections 1 and 2 above); and, if the work is an executable linked
290
+ with the Library, with the complete machine-readable "work that
291
+ uses the Library", as object code and/or source code, so that the
292
+ user can modify the Library and then relink to produce a modified
293
+ executable containing the modified Library. (It is understood
294
+ that the user who changes the contents of definitions files in the
295
+ Library will not necessarily be able to recompile the application
296
+ to use the modified definitions.)
297
+
298
+ b) Use a suitable shared library mechanism for linking with the
299
+ Library. A suitable mechanism is one that (1) uses at run time a
300
+ copy of the library already present on the user's computer system,
301
+ rather than copying library functions into the executable, and (2)
302
+ will operate properly with a modified version of the library, if
303
+ the user installs one, as long as the modified version is
304
+ interface-compatible with the version that the work was made with.
305
+
306
+ c) Accompany the work with a written offer, valid for at
307
+ least three years, to give the same user the materials
308
+ specified in Subsection 6a, above, for a charge no more
309
+ than the cost of performing this distribution.
310
+
311
+ d) If distribution of the work is made by offering access to copy
312
+ from a designated place, offer equivalent access to copy the above
313
+ specified materials from the same place.
314
+
315
+ e) Verify that the user has already received a copy of these
316
+ materials or that you have already sent this user a copy.
317
+
318
+ For an executable, the required form of the "work that uses the
319
+ Library" must include any data and utility programs needed for
320
+ reproducing the executable from it. However, as a special exception,
321
+ the materials to be distributed need not include anything that is
322
+ normally distributed (in either source or binary form) with the major
323
+ components (compiler, kernel, and so on) of the operating system on
324
+ which the executable runs, unless that component itself accompanies
325
+ the executable.
326
+
327
+ It may happen that this requirement contradicts the license
328
+ restrictions of other proprietary libraries that do not normally
329
+ accompany the operating system. Such a contradiction means you cannot
330
+ use both them and the Library together in an executable that you
331
+ distribute.
332
+
333
+ 7. You may place library facilities that are a work based on the
334
+ Library side-by-side in a single library together with other library
335
+ facilities not covered by this License, and distribute such a combined
336
+ library, provided that the separate distribution of the work based on
337
+ the Library and of the other library facilities is otherwise
338
+ permitted, and provided that you do these two things:
339
+
340
+ a) Accompany the combined library with a copy of the same work
341
+ based on the Library, uncombined with any other library
342
+ facilities. This must be distributed under the terms of the
343
+ Sections above.
344
+
345
+ b) Give prominent notice with the combined library of the fact
346
+ that part of it is a work based on the Library, and explaining
347
+ where to find the accompanying uncombined form of the same work.
348
+
349
+ 8. You may not copy, modify, sublicense, link with, or distribute
350
+ the Library except as expressly provided under this License. Any
351
+ attempt otherwise to copy, modify, sublicense, link with, or
352
+ distribute the Library is void, and will automatically terminate your
353
+ rights under this License. However, parties who have received copies,
354
+ or rights, from you under this License will not have their licenses
355
+ terminated so long as such parties remain in full compliance.
356
+
357
+ 9. You are not required to accept this License, since you have not
358
+ signed it. However, nothing else grants you permission to modify or
359
+ distribute the Library or its derivative works. These actions are
360
+ prohibited by law if you do not accept this License. Therefore, by
361
+ modifying or distributing the Library (or any work based on the
362
+ Library), you indicate your acceptance of this License to do so, and
363
+ all its terms and conditions for copying, distributing or modifying
364
+ the Library or works based on it.
365
+
366
+ 10. Each time you redistribute the Library (or any work based on the
367
+ Library), the recipient automatically receives a license from the
368
+ original licensor to copy, distribute, link with or modify the Library
369
+ subject to these terms and conditions. You may not impose any further
370
+ restrictions on the recipients' exercise of the rights granted herein.
371
+ You are not responsible for enforcing compliance by third parties with
372
+ this License.
373
+
374
+ 11. If, as a consequence of a court judgment or allegation of patent
375
+ infringement or for any other reason (not limited to patent issues),
376
+ conditions are imposed on you (whether by court order, agreement or
377
+ otherwise) that contradict the conditions of this License, they do not
378
+ excuse you from the conditions of this License. If you cannot
379
+ distribute so as to satisfy simultaneously your obligations under this
380
+ License and any other pertinent obligations, then as a consequence you
381
+ may not distribute the Library at all. For example, if a patent
382
+ license would not permit royalty-free redistribution of the Library by
383
+ all those who receive copies directly or indirectly through you, then
384
+ the only way you could satisfy both it and this License would be to
385
+ refrain entirely from distribution of the Library.
386
+
387
+ If any portion of this section is held invalid or unenforceable under any
388
+ particular circumstance, the balance of the section is intended to apply,
389
+ and the section as a whole is intended to apply in other circumstances.
390
+
391
+ It is not the purpose of this section to induce you to infringe any
392
+ patents or other property right claims or to contest validity of any
393
+ such claims; this section has the sole purpose of protecting the
394
+ integrity of the free software distribution system which is
395
+ implemented by public license practices. Many people have made
396
+ generous contributions to the wide range of software distributed
397
+ through that system in reliance on consistent application of that
398
+ system; it is up to the author/donor to decide if he or she is willing
399
+ to distribute software through any other system and a licensee cannot
400
+ impose that choice.
401
+
402
+ This section is intended to make thoroughly clear what is believed to
403
+ be a consequence of the rest of this License.
404
+
405
+ 12. If the distribution and/or use of the Library is restricted in
406
+ certain countries either by patents or by copyrighted interfaces, the
407
+ original copyright holder who places the Library under this License may add
408
+ an explicit geographical distribution limitation excluding those countries,
409
+ so that distribution is permitted only in or among countries not thus
410
+ excluded. In such case, this License incorporates the limitation as if
411
+ written in the body of this License.
412
+
413
+ 13. The Free Software Foundation may publish revised and/or new
414
+ versions of the Lesser General Public License from time to time.
415
+ Such new versions will be similar in spirit to the present version,
416
+ but may differ in detail to address new problems or concerns.
417
+
418
+ Each version is given a distinguishing version number. If the Library
419
+ specifies a version number of this License which applies to it and
420
+ "any later version", you have the option of following the terms and
421
+ conditions either of that version or of any later version published by
422
+ the Free Software Foundation. If the Library does not specify a
423
+ license version number, you may choose any version ever published by
424
+ the Free Software Foundation.
425
+
426
+ 14. If you wish to incorporate parts of the Library into other free
427
+ programs whose distribution conditions are incompatible with these,
428
+ write to the author to ask for permission. For software which is
429
+ copyrighted by the Free Software Foundation, write to the Free
430
+ Software Foundation; we sometimes make exceptions for this. Our
431
+ decision will be guided by the two goals of preserving the free status
432
+ of all derivatives of our free software and of promoting the sharing
433
+ and reuse of software generally.
434
+
435
+ NO WARRANTY
436
+
437
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446
+
447
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456
+ DAMAGES.
457
+
458
+ END OF TERMS AND CONDITIONS
459
+
460
+ How to Apply These Terms to Your New Libraries
461
+
462
+ If you develop a new library, and you want it to be of the greatest
463
+ possible use to the public, we recommend making it free software that
464
+ everyone can redistribute and change. You can do so by permitting
465
+ redistribution under these terms (or, alternatively, under the terms of the
466
+ ordinary General Public License).
467
+
468
+ To apply these terms, attach the following notices to the library. It is
469
+ safest to attach them to the start of each source file to most effectively
470
+ convey the exclusion of warranty; and each file should have at least the
471
+ "copyright" line and a pointer to where the full notice is found.
472
+
473
+ <one line to give the library's name and a brief idea of what it does.>
474
+ Copyright (C) <year> <name of author>
475
+
476
+ This library is free software; you can redistribute it and/or
477
+ modify it under the terms of the GNU Lesser General Public
478
+ License as published by the Free Software Foundation; either
479
+ version 2.1 of the License, or (at your option) any later version.
480
+
481
+ This library is distributed in the hope that it will be useful,
482
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
483
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
484
+ Lesser General Public License for more details.
485
+
486
+ You should have received a copy of the GNU Lesser General Public
487
+ License along with this library; if not, see <https://www.gnu.org/licenses/>.
488
+
489
+ Also add information on how to contact you by electronic and paper mail.
490
+
491
+ You should also get your employer (if you work as a programmer) or your
492
+ school, if any, to sign a "copyright disclaimer" for the library, if
493
+ necessary. Here is a sample; alter the names:
494
+
495
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
496
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
497
+
498
+ <signature of Moe Ghoul>, 1 April 1990
499
+ Moe Ghoul, President of Vice
500
+
501
+ That's all there is to it!
@@ -0,0 +1,5 @@
1
+ The administrator bridge is built with Zig 0.16.0 and dynamically links DSM GNU libc and libsynosdk.
2
+ Bridge source, build command and hashes accompany this notice.
3
+ GNU libc startup sources and build headers are distributed with Zig 0.16.0.
4
+ Exact compiler and corresponding startup sources: https://ziglang.org/download/0.16.0/
5
+ The DSM SDK libraries remain installed DSM components and are not redistributed.
@@ -0,0 +1,21 @@
1
+ The MIT License (Expat)
2
+
3
+ Copyright (c) Zig contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,12 @@
1
+ {
2
+ "compiler": "Zig 0.16.0",
3
+ "abi": "GNU libc 2.17",
4
+ "files": {
5
+ "admin_check.c": "87dbc9be7742f52bdde6ed3bf73ea79facc6f0708b317696eff03624b4c3276b",
6
+ "build.sh": "deae3f75b53882efbf6c0d31197892a8571f1b20ae42c92f99ee6782e3286d1e",
7
+ "admin-x86_64.elf": "cb14c60b74a59847f14d27e9361f874f82d99f6416407df861655b742c3a976c",
8
+ "admin-aarch64.elf": "2a8f33a8c31837bfc498a486baf78ac9b0549f743a9adf89de6d094db61e8baa"
9
+ },
10
+ "sdkSymbol": "SLIBGroupIsAdminGroupMem",
11
+ "sdkRealtime": true
12
+ }