@crvouga/mockingbird-service-slack 3.0.0 → 3.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog — @crvouga/mockingbird-service-slack
2
2
 
3
+ ## 3.1.0 (2026-10-08)
4
+
5
+ ### Features
6
+
7
+ - redesign emulator experience ([d6038c2](https://github.com/crvouga/mockingbird/commit/d6038c27eebbaa1751f02bc9305002a5b1304779))
8
+
9
+ ### Dependencies
10
+
11
+ - `@crvouga/mockingbird-service-sqlite`
12
+
3
13
  ## 3.0.0 (2026-10-07)
4
14
 
5
15
  ### ⚠️ Breaking changes
@@ -15,10 +25,6 @@
15
25
  - format the emulates records query ([8698872](https://github.com/crvouga/mockingbird/commit/8698872509d06002be5a8fcdc85d79f8462320c3))
16
26
  - align rename fixtures and formatting ([69e0bee](https://github.com/crvouga/mockingbird/commit/69e0beefe44c9541e46740d3c177bde832340f90))
17
27
 
18
- ### Dependencies
19
-
20
- - `@crvouga/mockingbird-service-sqlite`
21
-
22
28
  ## 2.3.0 (2026-10-04)
23
29
 
24
30
  ### Features
package/DISCOVERY.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @crvouga/mockingbird-service-slack discovery
2
2
 
3
3
  This is the installed-package index for coding agents and tooling. All relative links resolve
4
- inside `node_modules/@crvouga/mockingbird-service-slack/`; no repository checkout is needed to discover the mock's
4
+ inside `node_modules/@crvouga/mockingbird-service-slack/`; no repository checkout is needed to discover the emulator's
5
5
  supported surface or documented behavior.
6
6
 
7
7
  ## Capability and behavior sources
@@ -48,7 +48,7 @@ designed for assertions and diagnosis by consuming test suites.
48
48
  ## Report a mismatch or missing capability
49
49
 
50
50
  Follow the [agent reporting contract](https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md). Include package version,
51
- operation/command, a minimal redacted request, actual mock result, expected oracle result or vendor
51
+ operation/command, a minimal redacted request, actual emulator result, expected oracle result or vendor
52
52
  documentation, and whether the mismatch appears in the matrix. Never include keys, tokens,
53
53
  customer data, prompts, PHI, card data, or unredacted recordings.
54
54
 
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @crvouga/mockingbird-service-slack
2
2
 
3
- > Familiar calls. Faithful echoes. Part of [Mockingbird](https://github.com/crvouga/mockingbird).
3
+ > Local emulators. Real API contracts. Part of [Mockingbird](https://github.com/crvouga/mockingbird).
4
4
 
5
- Stateful mock of **Slack** for test suites: incoming webhooks, the Web API methods our apps
5
+ Stateful emulator of **Slack** for test suites: incoming webhooks, the Web API methods our apps
6
6
  call, and the Socket Mode control plane Bolt needs in order to boot, with an **outbox** of
7
7
  everything the app "sent". A suite asserts that an alert fired
8
8
  (`GET /__admin/outbox?webhook=…` or `?channel=…`) without a real workspace, and drives the
@@ -122,7 +122,7 @@ maps a bot token or a webhook's `T/B/X` path to a namespace.
122
122
 
123
123
  - Inbound Events API and interactivity delivery. Socket Mode's connection lifecycle is
124
124
  modelled (`apps.connections.open`, `hello`, ping/pong, `disconnect`) so Bolt can boot and
125
- shut down; the mock does not push events on connect. A `disconnect` envelope has no
125
+ shut down; the emulator does not push events on connect. A `disconnect` envelope has no
126
126
  reconnect URL, matching Slack's documented shape and `@slack/socket-mode@2.0.4`, which
127
127
  calls `apps.connections.open` again.
128
128
  - File uploads and downloads: `files.info` answers seeded metadata; the `files.slack.com` URLs
@@ -137,8 +137,8 @@ maps a bot token or a webhook's `T/B/X` path to a namespace.
137
137
 
138
138
  | Export | Kind | Description |
139
139
  | --- | --- | --- |
140
- | `SlackAPI` | class | The in-process mock: `fetch(request)`, `reset()`, `messages()`, `state`. Options: `sqlite`, `now`, `namespace`, `settings`. |
141
- | `createRuntime` | function | The mock with the full service contract (health, admin, outbox, namespaces, credentials, presets). Options: `settings`, `clock`, `seed`, `adminKey`, `onLog`, `sqlite`. |
140
+ | `SlackAPI` | class | The in-process emulator: `fetch(request)`, `reset()`, `messages()`, `state`. Options: `sqlite`, `now`, `namespace`, `settings`. |
141
+ | `createRuntime` | function | The emulator with the full service contract (health, admin, outbox, namespaces, credentials, presets). Options: `settings`, `clock`, `seed`, `adminKey`, `onLog`, `sqlite`. |
142
142
  | `SLACK_PRESETS` | object | Every named fault preset. |
143
143
  | `SLACK_NAMESPACE` | string | The service name, `"slack"`. |
144
144
  | `slackCredential` | function | The bearer token, or a webhook's `T/B/X` path (how credentials map to namespaces). |
package/SUPPORT.md CHANGED
@@ -3,10 +3,10 @@
3
3
  Generated from `openapi.yaml`; do not edit by hand.
4
4
 
5
5
  - operations in spec: **21**
6
- - supported by the mock: **21**
6
+ - supported by the emulator: **21**
7
7
  - parity enabled: **21**
8
8
 
9
- | operationId | route | mock | parity | notes |
9
+ | operationId | route | emulator | parity | notes |
10
10
  | --- | --- | --- | --- | --- |
11
11
  | `PostIncomingWebhook` | `POST /services/{team}/{bot}/{secret}` | ✅ supported | ⚠️ unsafe (opt-in) | |
12
12
  | `ChatPostMessage` | `POST /api/chat.postMessage` | ✅ supported | ⚠️ unsafe (opt-in) | |