@rackbops/plugin-tracker 0.10.0 → 0.11.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 +104 -9
  2. package/dist/plugin.js +3296 -1885
  3. package/package.json +40 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rackbops/plugin-tracker",
3
- "version": "0.10.0",
4
- "description": "The task tracker for Rackbops Clerk: reminders, renewals and price drops by slash command, delivered by DM with buttons, on docket's SQLite store (/allow, /register, /remind, /renewal, /price, /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, an admin view (with the DMs that did not arrive), forget-me, and a JSON task API with personal API tokens",
3
+ "version": "0.11.0",
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, an admin view (with the DMs that did not arrive), 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"],
@@ -11,8 +11,8 @@
11
11
  "directory": "plugins/tracker"
12
12
  },
13
13
  "devDependencies": {
14
- "@rackbops/docket-core": "^0.4.0",
15
- "@rackbops/docket-types": "^0.4.0",
14
+ "@rackbops/docket-core": "^0.5.0",
15
+ "@rackbops/docket-types": "^0.5.0",
16
16
  "@rackbops/styles": "^0.2.42"
17
17
  },
18
18
  "peerDependencies": {
@@ -21,7 +21,7 @@
21
21
  "botPlugin": {
22
22
  "hostApiVersion": 1,
23
23
  "intents": [],
24
- "commands": ["allow", "register", "remind", "renewal", "price", "tasks", "task", "settings", "web"],
24
+ "commands": ["allow", "register", "remind", "renewal", "price", "research", "tasks", "task", "settings", "web"],
25
25
  "env": [
26
26
  {
27
27
  "key": "TRACKER_ADMIN_DISCORD_IDS",
@@ -43,6 +43,41 @@
43
43
  "required": false,
44
44
  "secret": false,
45
45
  "description": "The https origin the bot's HTTP is reached at through its tunnel, e.g. https://clerk.example.com (no path). /web links to <this>/tracker/login, and a form post from any other origin is refused. Unset = no web area: /web says so and its pages answer 404."
46
+ },
47
+ {
48
+ "key": "TRACKER_CITY_HALL_URL",
49
+ "format": "^https://[A-Za-z0-9.-]+(:[0-9]{1,5})?/?$",
50
+ "required": false,
51
+ "secret": false,
52
+ "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."
53
+ },
54
+ {
55
+ "key": "TRACKER_CITY_HALL_KEY",
56
+ "format": "^\\S+$",
57
+ "required": false,
58
+ "secret": true,
59
+ "description": "The source bearer key the tracker submits and reads its Jobs with (city-hall's CITY_HALL_API_KEY, Lepid-Labs/city-hall#18). Never logged."
60
+ },
61
+ {
62
+ "key": "TRACKER_CITY_HALL_CAPABILITY",
63
+ "format": "^[a-z0-9]+([-:][a-z0-9]+)*$",
64
+ "required": false,
65
+ "secret": false,
66
+ "description": "The capability tag every tracker Job names, one only docket-runner carries (plan item 71), e.g. claude-cli:subscription. No default: the execute lane stays off without it."
67
+ },
68
+ {
69
+ "key": "TRACKER_CITY_HALL_ACCESS_CLIENT_ID",
70
+ "format": "^\\S+$",
71
+ "required": false,
72
+ "secret": true,
73
+ "description": "Cloudflare Access service token id for city-hall's edge, sent as CF-Access-Client-Id. Set with TRACKER_CITY_HALL_ACCESS_CLIENT_SECRET or not at all."
74
+ },
75
+ {
76
+ "key": "TRACKER_CITY_HALL_ACCESS_CLIENT_SECRET",
77
+ "format": "^\\S+$",
78
+ "required": false,
79
+ "secret": true,
80
+ "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."
46
81
  }
47
82
  ]
48
83
  }