jeopi-cli 16.6.14 → 16.6.17
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.
- package/CHANGELOG.md +20 -0
- package/README.md +2 -0
- package/dist/cli.js +3457 -3404
- package/dist/types/cli/messenger-cli.d.ts +10 -2
- package/dist/types/commands/messenger.d.ts +21 -1
- package/dist/types/messenger/discord-setup.d.ts +48 -0
- package/dist/types/messenger/discord.d.ts +3 -0
- package/dist/types/messenger/service.d.ts +19 -0
- package/dist/types/messenger/types.d.ts +4 -0
- package/package.json +12 -12
- package/src/cli/messenger-cli.ts +77 -2
- package/src/commands/messenger.ts +26 -2
- package/src/internal-urls/docs-index.generated.txt +1 -1
- package/src/messenger/discord-setup.ts +563 -0
- package/src/messenger/discord.ts +213 -54
- package/src/messenger/gateway.ts +48 -22
- package/src/messenger/service.ts +122 -0
- package/src/messenger/session-pool.ts +55 -21
- package/src/messenger/session.ts +3 -0
- package/src/messenger/types.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [16.6.17] - 2026-11-03
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- New messenger sessions use the configured default model, while resumed sessions retain their previous model.
|
|
10
|
+
- Messenger session capacity now waits for process exit, and Discord activity cleanup releases retained state after failed removals and late cancellations.
|
|
11
|
+
- Discord follow-ups wait for the original request even when thread creation is still in progress.
|
|
12
|
+
- Discord removes a late processing reaction when its request was cancelled before the reaction completed.
|
|
13
|
+
- Cancelled Discord requests also remove their processing reaction when it was added before cancellation.
|
|
14
|
+
|
|
15
|
+
## [16.6.15] - 2026-11-02
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- `jeopi messenger setup --config <file> [--service]` sets up a Discord bot from its token: it verifies the token, enables the Message Content Intent through the API when allowed, allowlists the application owner, prints the invite link and waits for the join, picks a request channel the bot has every needed permission in, allows the owner's DM, writes the configuration with a `0600` token file and a run script, confirms a Gateway session, optionally installs a launchd or `systemd --user` service, and sends a test DM; reruns repair the same profile; see [Discord quick setup](../../docs/messenger/discord.md#quick-setup-jeopi-messenger-setup).
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Discord messenger accepts direct replies to bot messages and unmentioned follow-ups only in threads where that bot was invoked, including after restart; unrelated channels and threads remain ignored.
|
|
24
|
+
|
|
5
25
|
## [16.6.14] - 2026-10-30
|
|
6
26
|
|
|
7
27
|
### Added
|
package/README.md
CHANGED
|
@@ -19,6 +19,8 @@ Package-specific references:
|
|
|
19
19
|
|
|
20
20
|
### Configuration and CLI
|
|
21
21
|
|
|
22
|
+
For Discord, create the application and bot in the Developer Portal, then run `jeopi messenger setup --config /absolute/private/path/messenger.json --service`. It verifies the token, enables the Message Content Intent, allowlists the application owner, prints the invite link, picks a request channel, writes this configuration with a token file and run script, confirms a Gateway session, and installs a login service; see the [Discord quick setup](../../docs/messenger/discord.md#quick-setup-jeopi-messenger-setup). The manual configuration below covers every platform.
|
|
23
|
+
|
|
22
24
|
Save this as `messenger.json` in a private directory outside your repository. Replace every placeholder ID, and remove platform blocks you do not use (at least one is required):
|
|
23
25
|
|
|
24
26
|
```json
|