@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.
- package/README.md +2 -2
- package/dist/{chunk-DK3LZ5RU.js → chunk-QPDTUNFA.js} +45 -19
- package/dist/cli.js +72 -38
- package/dist/daemon.js +45 -19
- package/dist/data/core/SKILL.md +4 -2
- package/dist/data/core/references/commands.md +2 -2
- package/dist/data/sourcefed/SKILL.md +4 -4
- package/dist/mcp.js +2 -2
- package/dist/opencode.js +139 -12545
- package/dist/pi.js +2 -2
- package/dist/tui-compiled.mjs +144 -126
- package/dist.dts/adapters/opencode/bridge.d.ts +4 -5
- package/dist.dts/adapters/opencode/index.d.ts +4 -3
- package/dist.dts/adapters/opencode/tools/monitor_create.d.ts +52 -2
- package/dist.dts/adapters/opencode/tools/monitor_list.d.ts +13 -2
- package/dist.dts/adapters/opencode/tools/monitor_start.d.ts +19 -2
- package/dist.dts/adapters/opencode/tools/monitor_status.d.ts +19 -2
- package/dist.dts/adapters/opencode/tools/monitor_stop.d.ts +19 -2
- package/dist.dts/adapters/opencode/tui/plugin.d.ts +2 -2
- package/dist.dts/adapters/opencode/tui/sidebar.d.ts +8 -3
- package/dist.dts/adapters/opencode/tui.d.ts +3 -2
- package/dist.dts/index.d.ts +1 -1
- package/dist.dts/packages/daemon/src/daemon.d.ts +2 -0
- package/dist.dts/packages/sourcefed/src/server.d.ts +2 -6
- package/dist.dts/providers/slack/src/monitor.d.ts +1 -1
- package/dist.dts/providers/slack/src/poll/utils/parse-slack-read-result.d.ts +1 -1
- package/dist.dts/providers/slack/src/poll/utils/slack-api.d.ts +4 -0
- package/dist.dts/providers/slack/src/schema.d.ts +1 -1
- package/dist.dts/providers/slack/src/types/source-record.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
declare const _default: {
|
|
4
|
-
id: string;
|
|
5
|
-
server: (input: Parameters<typeof Sourcefed>[0]) => Promise<Hooks>;
|
|
6
|
-
};
|
|
1
|
+
import { Plugin } from "@opencode/plugin";
|
|
2
|
+
declare const _default: Plugin.Plugin;
|
|
7
3
|
export default _default;
|
|
@@ -8,7 +8,7 @@ export declare class SlackMonitor extends Monitor<SlackSourceRecord> {
|
|
|
8
8
|
constructor();
|
|
9
9
|
readonly key: (source: SlackSourceRecord) => string;
|
|
10
10
|
readonly icon = "\uDB81\uDCB1";
|
|
11
|
-
readonly label: () => string;
|
|
11
|
+
readonly label: (source: SlackSourceRecord) => string;
|
|
12
12
|
readonly detail: (source: SlackSourceRecord) => string;
|
|
13
13
|
readonly describe: (source: SlackSourceRecord) => string;
|
|
14
14
|
build(input: MonitorCreateInput): SourceInput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SlackCursor, SlackEvent, SlackReadResult } from "../../types";
|
|
2
|
-
export declare function parseSlackReadResult(result: SlackReadResult, cursorRaw: unknown): {
|
|
2
|
+
export declare function parseSlackReadResult(result: SlackReadResult, cursorRaw: unknown, location?: "thread" | "DM"): {
|
|
3
3
|
events: SlackEvent[];
|
|
4
4
|
cursor: SlackCursor;
|
|
5
5
|
};
|
|
@@ -2,7 +2,7 @@ import * as v from "valibot";
|
|
|
2
2
|
export declare const SlackSourceSchema: v.ObjectSchema<{
|
|
3
3
|
readonly type: v.LiteralSchema<"slack", undefined>;
|
|
4
4
|
readonly channelId: v.StringSchema<undefined>;
|
|
5
|
-
readonly threadTs: v.StringSchema<undefined>;
|
|
5
|
+
readonly threadTs: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6
6
|
}, undefined>;
|
|
7
7
|
export declare const SlackCursorSchema: v.ObjectSchema<{
|
|
8
8
|
readonly primed: v.BooleanSchema<undefined>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fdcn/sourcefed",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Live Jira, GitHub, and Slack monitoring for agent hosts: CLI, daemon, MCP server, and host plugins.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@earendil-works/pi-coding-agent": "0.83.0",
|
|
52
52
|
"@earendil-works/pi-tui": "0.83.0",
|
|
53
53
|
"@modelcontextprotocol/server": "2.0.0",
|
|
54
|
-
"@opencode
|
|
54
|
+
"@opencode/plugin": "2.0.4",
|
|
55
55
|
"typebox": "1.3.10"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|