@open-everywhere/provider-discord 0.1.0 → 0.1.2

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/agent/ops.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  // This file (not core) owns the Discord env-key knowledge — DISCORD_BOT_TOKEN is the bundle's
8
8
  // vendor fingerprint (boundary-test.ts rule 6).
9
9
 
10
- import { registerSurfaceCredentialProbe } from "@open-everywhere/core/agent/adapter-api.js";
10
+ import { registerSurfaceCredentialProbe } from "@open-everywhere/core/agent/adapter-api-ops.js";
11
11
 
12
12
  export function registerDiscordOps(): void {
13
13
  registerSurfaceCredentialProbe("discord", () => Boolean(process.env.DISCORD_BOT_TOKEN));
package/dist/agent/ops.js CHANGED
@@ -6,7 +6,7 @@
6
6
  //
7
7
  // This file (not core) owns the Discord env-key knowledge — DISCORD_BOT_TOKEN is the bundle's
8
8
  // vendor fingerprint (boundary-test.ts rule 6).
9
- import { registerSurfaceCredentialProbe } from "@open-everywhere/core/agent/adapter-api.js";
9
+ import { registerSurfaceCredentialProbe } from "@open-everywhere/core/agent/adapter-api-ops.js";
10
10
  export function registerDiscordOps() {
11
11
  registerSurfaceCredentialProbe("discord", () => Boolean(process.env.DISCORD_BOT_TOKEN));
12
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ops.js","sourceRoot":"","sources":["../../agent/ops.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,6FAA6F;AAC7F,iGAAiG;AACjG,gGAAgG;AAChG,iBAAiB;AACjB,EAAE;AACF,8FAA8F;AAC9F,gDAAgD;AAEhD,OAAO,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAE5F,MAAM,UAAU,kBAAkB;IAChC,8BAA8B,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAC1F,CAAC"}
1
+ {"version":3,"file":"ops.js","sourceRoot":"","sources":["../../agent/ops.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,6FAA6F;AAC7F,iGAAiG;AACjG,gGAAgG;AAChG,iBAAiB;AACjB,EAAE;AACF,8FAA8F;AAC9F,gDAAgD;AAEhD,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAEhG,MAAM,UAAU,kBAAkB;IAChC,8BAA8B,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAC1F,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-everywhere/provider-discord",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Open Everywhere Discord provider — Discord channel and DM surfaces, gateway wiring, identity mapping and approval cards.",
5
5
  "keywords": [
6
6
  "agent",
@@ -167,11 +167,12 @@
167
167
  },
168
168
  "scripts": {
169
169
  "build": "tsc -p tsconfig.build.json",
170
+ "prepack": "npm run build",
170
171
  "typecheck": "tsc --noEmit -p tsconfig.json",
171
172
  "test": "echo 'provider-discord: its test suite runs at the APP TIER (root scripts/) because the discord surface composes deeply with core internals (a custom gateway, admin approval cards, guild-admin bypass, routine dispatch) — see the root test chain (test:discord*, test:scenarios*, test:oe-commands, and the read/dispatch/audit/wake integration tests). This keeps the core adapter-api barrel a small port surface rather than exporting test-only internals.'"
172
173
  },
173
174
  "dependencies": {
174
- "@open-everywhere/core": "0.1.0",
175
+ "@open-everywhere/core": "0.1.2",
175
176
  "zod": "4.5.4"
176
177
  },
177
178
  "peerDependencies": {