Commit Graph

9 Commits

Author SHA1 Message Date
Steve W
59d6e5ba3a Rewrite BMS skill from bash to Python 2026-04-08 02:22:08 +00:00
OpenClaw Agent
568b825e11 feat(bms): support account/location name resolution in tickets create
- Add --account-name and --location-name flags
- Resolve account name via accounts/search
- Resolve location name within account via locations/lookup
- Log both names and IDs for traceability
- Ensures location is scoped to account (fixes "Main" ambiguity)

Example: bms tickets create --account-name "IT" --location-name "Main" ...
2026-04-08 01:51:21 +00:00
OpenClaw Agent
891711e690 fix(bms): improve logging and response parsing
- bms-logging.sh: fixed brace expansion bug, JSON compaction, dynamic log path, single-line JSONL entries
- bms-tickets.sh: support {success:true,result:{...}} responses; fixed ID extraction for create/note; updated update fetch

Tested full lifecycle with logging: create → note → delete note → close → delete
2026-04-08 01:37:15 +00:00
OpenClaw Agent
2bfda7b788 Add logging to update, assign, resolve; fix note success logging with note_id 2026-04-07 21:31:19 +00:00
OpenClaw Agent
5e2f822ad7 Add .bms-actions logging (partial): auth login/refresh, create, note, delete. Need: update, assign, resolve. 2026-04-07 21:30:00 +00:00
Steve W
635dbf7344 Restore executable bit on bms-tickets script 2026-04-07 20:12:32 +00:00
Steve W
fba1bb6a22 Harden ticket creation validation and response checks 2026-04-07 20:12:21 +00:00
Marcus A.
3b84ad4654 Fix auth token parsing, remove column dependency, add --status open for non-closed tickets 2026-04-07 18:20:31 +00:00
cb65718507 Initial commit: BMS skill with template support 2026-04-07 17:36:14 +00:00