@cuylabs/channel-slack 0.1.1 → 0.3.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/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# @cuylabs/channel-slack
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Slack channel primitives for AI agents.
|
|
4
4
|
|
|
5
5
|
This package contains reusable Slack mechanics: activity parsing, message
|
|
6
6
|
formatting, message admission policy, supplemental history, visibility filters,
|
|
7
7
|
Socket Mode runtime guards, OAuth installation storage, setup inspection, and
|
|
8
8
|
Slack API helpers. It intentionally does not create or run an agent.
|
|
9
9
|
|
|
10
|
-
It is not an agent runtime adapter.
|
|
11
|
-
|
|
10
|
+
It is not an agent runtime adapter. Use `@cuylabs/channel-slack-agent-core` for
|
|
11
|
+
the runtime-specific adapter. See
|
|
12
12
|
[Channel Slack Boundary](docs/reference/channel-slack-boundary.md) for the
|
|
13
13
|
package boundary.
|
|
14
14
|
|
|
@@ -32,7 +32,7 @@ surface they need.
|
|
|
32
32
|
|
|
33
33
|
| Import | Use for |
|
|
34
34
|
| --- | --- |
|
|
35
|
-
| `@cuylabs/channel-slack/core` |
|
|
35
|
+
| `@cuylabs/channel-slack/core` | Activity parsing, formatting, sessions, turn context, shared types |
|
|
36
36
|
| `@cuylabs/channel-slack/policy` | Message admission, duplicate suppression, mentioned-thread state |
|
|
37
37
|
| `@cuylabs/channel-slack/history` | Slack history reading, prompt shaping, supplemental-history visibility |
|
|
38
38
|
| `@cuylabs/channel-slack/bolt` | Bolt app factories, auth options, Socket Mode runtime helpers, installation stores |
|
|
@@ -132,7 +132,7 @@ See [Setup Requirements](docs/concepts/setup-requirements.md).
|
|
|
132
132
|
```text
|
|
133
133
|
src/
|
|
134
134
|
core.ts public core entrypoint
|
|
135
|
-
shared/
|
|
135
|
+
shared/ types, parsing, formatting, turn helpers
|
|
136
136
|
assistant/ Slack Assistant API helpers
|
|
137
137
|
bolt/ Bolt app/auth/runtime helpers
|
|
138
138
|
diagnostics/ token and scope inspection
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# Channel Slack Boundary
|
|
2
2
|
|
|
3
|
-
`@cuylabs/channel-slack` is the
|
|
3
|
+
`@cuylabs/channel-slack` is the reusable Slack mechanics package. It parses
|
|
4
4
|
Slack events, formats Slack output, applies reusable admission and history
|
|
5
5
|
policies, and provides Slack setup/runtime helpers. It does not create or run an
|
|
6
6
|
agent.
|
|
7
7
|
|
|
8
|
-
`@cuylabs/channel-slack-agent-core` is the
|
|
9
|
-
composes this package with
|
|
10
|
-
|
|
8
|
+
`@cuylabs/channel-slack-agent-core` is the agent-core runtime binding. It
|
|
9
|
+
composes this package with runtime scopes, event streams, context fragments, and
|
|
10
|
+
approval or human-input contracts.
|
|
11
11
|
|
|
12
12
|
## In This Package
|
|
13
13
|
|