@fdcn/sourcefed 0.2.2 → 0.2.4

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 (37) hide show
  1. package/README.md +2 -2
  2. package/dist/chunk-SKEBKW2L.js +12083 -0
  3. package/dist/chunk-UOTCX4ME.js +3963 -0
  4. package/dist/cli.js +19214 -5288
  5. package/dist/daemon.js +6911 -2
  6. package/dist/data/core/SKILL.md +10 -0
  7. package/dist/data/core/references/commands.md +1 -0
  8. package/dist/mcp.js +1 -1
  9. package/dist/opencode.js +1 -1
  10. package/dist/pi.js +1 -1
  11. package/dist/tui-compiled.mjs +4 -3650
  12. package/dist.dts/packages/cli/src/commands/daemon.d.ts +1 -0
  13. package/dist.dts/packages/cli/src/commands/mcp.d.ts +1 -0
  14. package/dist.dts/packages/cli/src/commands/monitor/ack.d.ts +2 -0
  15. package/dist.dts/packages/cli/src/commands/monitor/create.d.ts +2 -0
  16. package/dist.dts/packages/cli/src/commands/monitor/events.d.ts +2 -0
  17. package/dist.dts/packages/cli/src/commands/monitor/follow.d.ts +2 -0
  18. package/dist.dts/packages/cli/src/commands/monitor/index.d.ts +10 -0
  19. package/dist.dts/packages/cli/src/commands/monitor/list.d.ts +2 -0
  20. package/dist.dts/packages/cli/src/commands/monitor/logs.d.ts +2 -0
  21. package/dist.dts/packages/cli/src/commands/monitor/remove.d.ts +2 -0
  22. package/dist.dts/packages/cli/src/commands/monitor/sources.d.ts +2 -0
  23. package/dist.dts/packages/cli/src/commands/monitor/start.d.ts +2 -0
  24. package/dist.dts/packages/cli/src/commands/monitor/status.d.ts +2 -0
  25. package/dist.dts/packages/cli/src/commands/monitor/stop.d.ts +2 -0
  26. package/dist.dts/packages/cli/src/commands/monitor.d.ts +1 -0
  27. package/dist.dts/packages/cli/src/commands/setup.d.ts +1 -0
  28. package/dist.dts/packages/cli/src/follow.test.d.ts +1 -0
  29. package/dist.dts/packages/cli/src/utils/daemon.d.ts +2 -0
  30. package/dist.dts/packages/cli/src/utils/flags.d.ts +1 -0
  31. package/dist.dts/packages/cli/src/utils/format.d.ts +8 -0
  32. package/dist.dts/packages/cli/src/utils/net.d.ts +1 -0
  33. package/dist.dts/packages/cli/src/utils/setup.d.ts +2 -0
  34. package/dist.dts/packages/cli/src/utils/webhooks.d.ts +2 -0
  35. package/dist.dts/providers/github/src/utils/html-to-markdown.d.ts +1 -0
  36. package/dist.dts/providers/github/src/utils/html-to-markdown.test.d.ts +1 -0
  37. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export declare function runDaemon(args: string[]): Promise<void>;
@@ -0,0 +1 @@
1
+ export declare function runMcp(args: string[]): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function ack(context: MonitorContext): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function create(context: MonitorContext): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function events(context: MonitorContext): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function follow(context: MonitorContext): Promise<void>;
@@ -0,0 +1,10 @@
1
+ import type { DaemonClient } from "@fdcn/sourcefed/daemon";
2
+ export declare function runMonitor(argv: string[]): Promise<void>;
3
+ export type MonitorContext = {
4
+ client: DaemonClient;
5
+ target: {
6
+ kind: string;
7
+ id: string;
8
+ };
9
+ args: string[];
10
+ };
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function list(context: MonitorContext): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function logs(context: MonitorContext): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function remove(context: MonitorContext): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function sources(context: MonitorContext): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function start(context: MonitorContext): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function status(context: MonitorContext): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { MonitorContext } from "./index.js";
2
+ export declare function stop(context: MonitorContext): Promise<void>;
@@ -0,0 +1 @@
1
+ export declare function runMonitor(argv: string[]): Promise<void>;
@@ -0,0 +1 @@
1
+ export declare function runSetup(args: string[]): Promise<void>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { SourcefedDaemon } from "@fdcn/sourcefed/daemon";
2
+ export declare function createDaemon(): SourcefedDaemon;
@@ -0,0 +1 @@
1
+ export declare function flag(args: string[], name: string): string | undefined;
@@ -0,0 +1,8 @@
1
+ import type { LogEntryView, MonitorView } from "@fdcn/sourcefed/daemon";
2
+ export declare function printMonitors(monitors: MonitorView[]): void;
3
+ export declare function printLogs(logs: LogEntryView[]): void;
4
+ export declare function printResult(result: unknown): void;
5
+ export declare function green(text: string): string;
6
+ export declare function red(text: string): string;
7
+ export declare function yellow(text: string): string;
8
+ export declare function dim(text: string): string;
@@ -0,0 +1 @@
1
+ export declare function isLoopback(hostname: string): boolean;
@@ -0,0 +1,2 @@
1
+ export declare function setupSpec(): string;
2
+ export declare function setupHost(name: string, args: string[], spec: string): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { HttpServer, SourcefedDaemon } from "@fdcn/sourcefed/daemon";
2
+ export declare function startWebhookServer(runtime: SourcefedDaemon["runtime"]): Promise<HttpServer | undefined>;
@@ -0,0 +1 @@
1
+ export declare function htmlToMarkdown(text: string | undefined): string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fdcn/sourcefed",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
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",