@fdcn/sourcefed 0.2.8 → 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.
Files changed (30) hide show
  1. package/README.md +2 -2
  2. package/dist/{chunk-DK3LZ5RU.js → chunk-QPDTUNFA.js} +45 -19
  3. package/dist/cli.js +72 -38
  4. package/dist/daemon.js +45 -19
  5. package/dist/data/core/SKILL.md +4 -2
  6. package/dist/data/core/references/commands.md +2 -2
  7. package/dist/data/sourcefed/SKILL.md +4 -4
  8. package/dist/mcp.js +2 -2
  9. package/dist/opencode.js +139 -12545
  10. package/dist/pi.js +2 -2
  11. package/dist/tui-compiled.mjs +144 -126
  12. package/dist.dts/adapters/opencode/bridge.d.ts +4 -5
  13. package/dist.dts/adapters/opencode/index.d.ts +4 -3
  14. package/dist.dts/adapters/opencode/tools/monitor_create.d.ts +52 -2
  15. package/dist.dts/adapters/opencode/tools/monitor_list.d.ts +13 -2
  16. package/dist.dts/adapters/opencode/tools/monitor_start.d.ts +19 -2
  17. package/dist.dts/adapters/opencode/tools/monitor_status.d.ts +19 -2
  18. package/dist.dts/adapters/opencode/tools/monitor_stop.d.ts +19 -2
  19. package/dist.dts/adapters/opencode/tui/plugin.d.ts +2 -2
  20. package/dist.dts/adapters/opencode/tui/sidebar.d.ts +8 -3
  21. package/dist.dts/adapters/opencode/tui.d.ts +3 -2
  22. package/dist.dts/index.d.ts +1 -1
  23. package/dist.dts/packages/daemon/src/daemon.d.ts +2 -0
  24. package/dist.dts/packages/sourcefed/src/server.d.ts +2 -6
  25. package/dist.dts/providers/slack/src/monitor.d.ts +1 -1
  26. package/dist.dts/providers/slack/src/poll/utils/parse-slack-read-result.d.ts +1 -1
  27. package/dist.dts/providers/slack/src/poll/utils/slack-api.d.ts +4 -0
  28. package/dist.dts/providers/slack/src/schema.d.ts +1 -1
  29. package/dist.dts/providers/slack/src/types/source-record.d.ts +1 -1
  30. package/package.json +2 -2
@@ -6,7 +6,7 @@ description: Core sourcefed usage guide. Read this before creating monitors. Cov
6
6
  # Sourcefed core
7
7
 
8
8
  Sourcefed lets you create **monitors** that watch a Jira issue, GitHub PR, or
9
- Slack thread and route NEW events into the session you're currently working in,
9
+ Slack thread or direct-message conversation and route NEW events into the session you're currently working in,
10
10
  so you can react to them as they happen.
11
11
 
12
12
  Every monitor is detect-only: it routes events into the session and never
@@ -20,13 +20,15 @@ affect that session's monitors.
20
20
  - **Jira issue**: `monitor_create({ name: "PROJ-12345", sourceType: "jira", issueKey: "PROJ-12345" })`
21
21
  - **GitHub PR**: `monitor_create({ name: "PR #42", sourceType: "github", repo: "owner/repo", prNumber: 42 })`
22
22
  - **Slack thread**: `monitor_create({ name: "thread", sourceType: "slack", threadUrl: "<thread-url>" })`
23
+ - **Whole Slack DM**: `monitor_create({ name: "DM with Alex", sourceType: "slack", channelId: "D0123456789" })`
23
24
 
24
25
  You will be notified of:
25
26
 
26
27
  - **Jira**: new comments, description edits, and summary/status/assignee/priority/label changes.
27
28
  - **GitHub**: new reviews (including bot reviews), PR and line-level comments,
28
29
  CI failures, merge conflicts, and the PR being merged or closed.
29
- - **Slack**: new replies in the thread. Slack monitors are always detect-only
30
+ - **Slack thread**: new replies in the thread.
31
+ - **Slack DM**: new top-level messages in the DM. Slack monitors are always detect-only
30
32
  and never reply.
31
33
 
32
34
  GitHub and Slack use webhook delivery when configured and fall back to polling
@@ -30,8 +30,8 @@ sourcefed skills path [name] Print skill directory path
30
30
  --issue-key KEY Jira issue key (jira)
31
31
  --repo OWNER/NAME GitHub repository (github)
32
32
  --pr-number N GitHub PR number (github)
33
- --channel-id ID Slack channel (slack)
34
- --thread-ts TS Slack parent message timestamp (slack)
33
+ --channel-id ID Slack channel or DM ID; a D… ID alone monitors the whole DM
34
+ --thread-ts TS Slack parent message timestamp; omit for a whole-DM monitor
35
35
  --thread-url URL Slack thread URL (slack)
36
36
  --poll-interval-sec N Poll interval in seconds (min 15)
37
37
  --target-kind KIND Target kind for ownership scoping (default: cli)
@@ -1,13 +1,13 @@
1
1
  ---
2
2
  name: sourcefed
3
- description: Live Jira, GitHub, and Slack monitoring for agent hosts. Create monitors that route new issue comments, PR reviews, CI failures, and Slack thread messages into the current session as they happen.
3
+ description: Live Jira, GitHub, and Slack monitoring for agent hosts. Create monitors that route new issue comments, PR reviews, CI failures, and Slack thread or DM messages into the current session as they happen.
4
4
  hidden: true
5
5
  ---
6
6
 
7
7
  # Sourcefed
8
8
 
9
9
  Sourcefed turns external collaboration threads into live agent input: create a
10
- monitor for a Jira issue, GitHub PR, or Slack thread and NEW events are routed
10
+ monitor for a Jira issue, GitHub PR, Slack thread, or Slack DM and NEW events are routed
11
11
  into the session you are working in, so you can react to them as they happen.
12
12
 
13
13
  This file is a discovery stub, not the usage guide. Before running any
@@ -24,8 +24,8 @@ releases, which is why it just points at `skills get core`.
24
24
 
25
25
  ## When to load this skill
26
26
 
27
- - A user asks to monitor a Jira ticket, GitHub PR, or Slack thread.
28
- - You found or are working on a Jira ticket, PR, or thread and want new
27
+ - A user asks to monitor a Jira ticket, GitHub PR, Slack thread, or Slack DM.
28
+ - You found or are working on a Jira ticket, PR, thread, or DM and want new
29
29
  activity routed into your session.
30
30
  - You opened a PR and want to be notified of reviews, comments, CI failures,
31
31
  merge conflicts, or the merge itself.
package/dist/mcp.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  decodeTarget,
3
3
  encodeTarget
4
- } from "./chunk-DK3LZ5RU.js";
4
+ } from "./chunk-QPDTUNFA.js";
5
5
  import {
6
6
  __export
7
7
  } from "./chunk-MLKGABMK.js";
@@ -4693,7 +4693,7 @@ function buildServer(daemon) {
4693
4693
  server.registerTool(
4694
4694
  "monitor_create",
4695
4695
  {
4696
- description: "Create or reuse a monitor for a Jira issue, GitHub pull request, or Slack thread.",
4696
+ description: "Create or reuse a monitor for a Jira issue, GitHub pull request, Slack thread, or Slack DM.",
4697
4697
  inputSchema: createSchema,
4698
4698
  annotations: { idempotentHint: true, readOnlyHint: false }
4699
4699
  },