@crewhaus/tool-message-channel 0.1.1 → 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.
Files changed (2) hide show
  1. package/package.json +14 -19
  2. package/src/index.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewhaus/tool-message-channel",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "Built-in `SendMessage` tool for cross-channel addressing (Section 12). Permission-gated; fail-closed without an explicit allow rule.",
6
6
  "main": "src/index.ts",
@@ -12,23 +12,23 @@
12
12
  "test": "bun test src"
13
13
  },
14
14
  "dependencies": {
15
- "@crewhaus/channel-adapter-slack": "0.1.1",
16
- "@crewhaus/errors": "0.1.1",
17
- "@crewhaus/tool-builder": "0.1.1",
18
- "@crewhaus/tool-catalog": "0.1.1",
15
+ "@crewhaus/channel-adapter-slack": "0.1.2",
16
+ "@crewhaus/errors": "0.1.2",
17
+ "@crewhaus/tool-builder": "0.1.2",
18
+ "@crewhaus/tool-catalog": "0.1.2",
19
19
  "zod": "^3.23.8"
20
20
  },
21
21
  "devDependencies": {
22
- "@crewhaus/permission-engine": "0.1.1",
23
- "@crewhaus/tool-executor": "0.1.1",
24
- "@crewhaus/tool-permission-matcher": "0.1.1",
25
- "@crewhaus/tool-validate": "0.1.1"
22
+ "@crewhaus/permission-engine": "0.1.2",
23
+ "@crewhaus/tool-executor": "0.1.2",
24
+ "@crewhaus/tool-permission-matcher": "0.1.2",
25
+ "@crewhaus/tool-validate": "0.1.2"
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "author": {
29
29
  "name": "Max Meier",
30
- "email": "max@studiomax.io",
31
- "url": "https://studiomax.io"
30
+ "email": "max@crewhaus.ai",
31
+ "url": "https://crewhaus.ai"
32
32
  },
33
33
  "repository": {
34
34
  "type": "git",
@@ -40,12 +40,7 @@
40
40
  "url": "https://github.com/crewhaus/factory/issues"
41
41
  },
42
42
  "publishConfig": {
43
- "access": "restricted"
44
- },
45
- "files": [
46
- "src",
47
- "README.md",
48
- "LICENSE",
49
- "NOTICE"
50
- ]
43
+ "access": "public"
44
+ },
45
+ "files": ["src", "README.md", "LICENSE", "NOTICE"]
51
46
  }
package/src/index.ts CHANGED
@@ -88,6 +88,8 @@ export const sendMessage: RegisteredTool = buildTool({
88
88
  // Pillar 3 sink-side: channel send is the textbook lateral-comm sink.
89
89
  // egress-classifier scans the `text` payload for cross-origin lineage.
90
90
  scope: "external",
91
+ // FR-002 — declare the io-capability fact (outbound channel network call).
92
+ ioCapability: "network",
91
93
  // Pillar 3 intent gate: sending a message is irreversible-ish and visible
92
94
  // to humans on the other end, so demand justification.
93
95
  requireJustification: true,