9 Commits

Author SHA1 Message Date
MayaTheShy
173a0a9f95 Persist config files across Opus package updates
The Opus package manager deletes the entire package directory on
update (fs.delete(packageDir)) before re-downloading files. This
wiped all config files (.manager_config, .client_config, etc.) that
were stored inside packages/inventory-manager/.

Fix: add _configPath() helper to every program that resolves config
file paths to usr/config/inventory-manager/ when running under Opus,
which lives outside the package directory and survives updates.
Falls back to the local _path() for standalone (non-Opus) use.

Updated files:
- inventoryManager.lua, manager/config.lua, inventoryClient.lua,
  inventoryWebBridge.lua, dropperController.lua, craftingTurtle.lua
- .package install script: saves configs to usr/config/inventory-manager/
- autorun/startup.lua: checks both persistent and package dirs
- startup/client.lua: uses persistent dir for .client_setup/.dropper_config
- web/server/Dockerfile: switch health check to wget (from prior fix)
2026-03-22 20:51:31 -04:00
MayaTheShy
4d8229ab46 Refactor config file path to use dynamic base directory 2026-03-22 16:07:39 -04:00
MayaTheShy
00206ef794 Add reboot command handling in processCommand function 2026-03-22 03:15:52 -04:00
MayaTheShy
b3c3faa06d Add optional API key support for server authentication in inventoryWebBridge 2026-03-22 02:35:06 -04:00
MayaTheShy
2a68ffcb90 Add API key support for server authentication in configuration 2026-03-22 02:15:05 -04:00
MayaTheShy
ebc3efba6a Add commandId to transmitted messages for improved command tracking 2026-03-22 02:12:04 -04:00
MayaTheShy
c47ec63e50 Enhance command polling: implement deduplication of processed commands and acknowledgment of command IDs 2026-03-22 01:29:05 -04:00
MayaTheShy
2853ca98a0 Update server configuration and Docker setup for improved deployment 2026-03-21 17:15:04 -04:00
MayaTheShy
0434c0b5df Add Inventory Manager Web Bridge for modem and HTTP communication 2026-03-21 16:49:08 -04:00