@rackbops/plugin-tracker 0.14.1 → 0.17.0

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 (3) hide show
  1. package/README.md +55 -14
  2. package/dist/plugin.js +4159 -2606
  3. package/package.json +18 -4
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rackbops/plugin-tracker",
3
- "version": "0.14.1",
4
- "description": "The task tracker for Rackbops Clerk: reminders, renewals, price drops and one-off research (through city-hall, with its findings) by slash command, delivered by DM with buttons, on docket's SQLite store (/allow, /register, /remind, /renewal, /price, /research, /tasks, /task, /settings, /web), with a web area for your tasks, history and settings, a web editor to make, change, pause and delete your own tasks (research requests too, made but not changed), an admin view (with the DMs that did not arrive, raising a person's daily model ceiling, and daily model usage per person), an operator switch that turns the daily budgets off for the alpha, forget-me, and a JSON task API with personal API tokens",
3
+ "version": "0.17.0",
4
+ "description": "The task tracker for Rackbops Clerk: reminders, renewals, price drops, one-off research and an interest scout (through city-hall, with their findings), a want-list watcher (listing pages you paste, BoardGameGeek once its token is set, and an eBay saved search; with the model checking each new listing and its seller first, through city-hall) by slash command, delivered by DM with buttons, on docket's SQLite store (/allow, /register, /remind, /renewal, /price, /research, /scout, /want, /tasks, /task, /settings, /web), with a web area for your tasks, history and settings, a web editor to make, change, pause and delete your own tasks (research requests too, made but not changed, and scouts, made and changed), an admin view (with the DMs that did not arrive, raising a person's daily model ceiling, and daily model usage per person), an operator switch that turns the daily budgets off for the alpha, forget-me, and a JSON task API with personal API tokens",
5
5
  "type": "module",
6
6
  "main": "dist/plugin.js",
7
7
  "files": ["dist"],
@@ -21,7 +21,7 @@
21
21
  "botPlugin": {
22
22
  "hostApiVersion": 1,
23
23
  "intents": [],
24
- "commands": ["allow", "register", "remind", "renewal", "price", "research", "tasks", "task", "settings", "web"],
24
+ "commands": ["allow", "register", "remind", "renewal", "price", "research", "scout", "want", "tasks", "task", "settings", "web"],
25
25
  "env": [
26
26
  {
27
27
  "key": "TRACKER_ADMIN_DISCORD_IDS",
@@ -37,6 +37,13 @@
37
37
  "secret": false,
38
38
  "description": "The Discord server id whose members may use the tracker (the membership gate), or a comma-separated list of server ids (spaces around commas allowed): a member of any listed server passes. Checked on every command and button, in DMs too. Unset = no membership gate: only the admission list (/allow) applies."
39
39
  },
40
+ {
41
+ "key": "TRACKER_GUILD_ROLES",
42
+ "format": "^ *[0-9]{17,20} *: *[0-9]{17,20}( *, *[0-9]{17,20} *: *[0-9]{17,20})* *$",
43
+ "required": false,
44
+ "secret": false,
45
+ "description": "The Discord-role check: comma-separated serverId:roleId pairs (a server named twice takes either role). In a server named here, a member passes the membership gate only while they hold one of its roles; a TRACKER_GUILD_ID server not named here stays membership-only, and every server named must be in TRACKER_GUILD_ID or the plugin refuses to load. The TRACKER_ADMIN_DISCORD_IDS admins skip the role, never the membership. Losing the role is like leaving the server: commands are refused and web sessions and API tokens end, while the person's tasks, history and DMs stay. Unset = no role check."
46
+ },
40
47
  {
41
48
  "key": "TRACKER_WEB_URL",
42
49
  "format": "^https://[A-Za-z0-9.-]+(:[0-9]{1,5})?/?$",
@@ -56,7 +63,7 @@
56
63
  "format": "^https://[A-Za-z0-9.-]+(:[0-9]{1,5})?/?$",
57
64
  "required": false,
58
65
  "secret": false,
59
- "description": "The https origin of the city-hall that queues the tracker's model Jobs for docket-runner (no path). With TRACKER_CITY_HALL_KEY and TRACKER_CITY_HALL_CAPABILITY it turns the execute lane and /research on; any of the three unset = off: /research says research is not available."
66
+ "description": "The https origin of the city-hall that queues the tracker's model Jobs for docket-runner (no path). With TRACKER_CITY_HALL_KEY and TRACKER_CITY_HALL_CAPABILITY it turns the execute lane, /research and /scout on; any of the three unset = off: /research and /scout say they are not available."
60
67
  },
61
68
  {
62
69
  "key": "TRACKER_CITY_HALL_KEY",
@@ -85,6 +92,13 @@
85
92
  "required": false,
86
93
  "secret": true,
87
94
  "description": "Cloudflare Access service token secret for city-hall's edge, sent as CF-Access-Client-Secret. Set with TRACKER_CITY_HALL_ACCESS_CLIENT_ID or not at all."
95
+ },
96
+ {
97
+ "key": "TRACKER_BGG_TOKEN",
98
+ "format": "^\\S+$",
99
+ "required": false,
100
+ "secret": true,
101
+ "description": "BoardGameGeek's XML API Bearer token for the tracker's registered application (boardgamegeek.com/using_the_xml_api). Set = /want source: bgg watches a game's BGG marketplace listings; unset = BGG is off and /want says so. Never logged."
88
102
  }
89
103
  ]
90
104
  }