@made-by-moonlight/athene-plugin-notifier-dashboard 0.9.1
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/LICENSE +22 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +36 -0
- package/dist/index.js.map +1 -0
- package/dist/index.test.d.ts +2 -0
- package/dist/index.test.d.ts.map +1 -0
- package/dist/index.test.js +115 -0
- package/dist/index.test.js.map +1 -0
- package/package.json +44 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Composio, Inc.
|
|
4
|
+
Copyright (c) 2026 slievr (Athene fork)
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Notifier } from "@made-by-moonlight/athene-core";
|
|
2
|
+
export declare const manifest: {
|
|
3
|
+
name: string;
|
|
4
|
+
slot: "notifier";
|
|
5
|
+
description: string;
|
|
6
|
+
version: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function create(config?: Record<string, unknown>): Notifier;
|
|
9
|
+
declare const _default: {
|
|
10
|
+
manifest: {
|
|
11
|
+
name: string;
|
|
12
|
+
slot: "notifier";
|
|
13
|
+
description: string;
|
|
14
|
+
version: string;
|
|
15
|
+
};
|
|
16
|
+
create: typeof create;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,QAAQ,EAId,MAAM,gCAAgC,CAAC;AAExC,eAAO,MAAM,QAAQ;;;;;CAKpB,CAAC;AAMF,wBAAgB,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,QAAQ,CA8BjE;;;;;;;;;;AAED,wBAAqE"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { appendDashboardNotification, normalizeDashboardNotificationLimit, } from "@made-by-moonlight/athene-core";
|
|
2
|
+
export const manifest = {
|
|
3
|
+
name: "dashboard",
|
|
4
|
+
slot: "notifier",
|
|
5
|
+
description: "Notifier plugin: AO dashboard notifications",
|
|
6
|
+
version: "0.1.0",
|
|
7
|
+
};
|
|
8
|
+
function stringValue(value) {
|
|
9
|
+
return typeof value === "string" && value.trim().length > 0 ? value.trim() : undefined;
|
|
10
|
+
}
|
|
11
|
+
export function create(config) {
|
|
12
|
+
const configPath = stringValue(config?.configPath);
|
|
13
|
+
const limit = normalizeDashboardNotificationLimit(config?.limit);
|
|
14
|
+
let warnedMissingConfigPath = false;
|
|
15
|
+
function persist(event, actions) {
|
|
16
|
+
if (!configPath) {
|
|
17
|
+
if (!warnedMissingConfigPath) {
|
|
18
|
+
console.warn("[notifier-dashboard] No configPath available - dashboard notifications will be no-ops");
|
|
19
|
+
warnedMissingConfigPath = true;
|
|
20
|
+
}
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
appendDashboardNotification(configPath, event, actions, { limit });
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
name: "dashboard",
|
|
27
|
+
async notify(event) {
|
|
28
|
+
persist(event);
|
|
29
|
+
},
|
|
30
|
+
async notifyWithActions(event, actions) {
|
|
31
|
+
persist(event, actions);
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export default { manifest, create };
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,mCAAmC,GAKpC,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,UAAmB;IACzB,WAAW,EAAE,6CAA6C;IAC1D,OAAO,EAAE,OAAO;CACjB,CAAC;AAEF,SAAS,WAAW,CAAC,KAAc;IACjC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AACzF,CAAC;AAED,MAAM,UAAU,MAAM,CAAC,MAAgC;IACrD,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACnD,MAAM,KAAK,GAAG,mCAAmC,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACjE,IAAI,uBAAuB,GAAG,KAAK,CAAC;IAEpC,SAAS,OAAO,CAAC,KAAwB,EAAE,OAAwB;QACjE,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,IAAI,CAAC,uBAAuB,EAAE,CAAC;gBAC7B,OAAO,CAAC,IAAI,CACV,uFAAuF,CACxF,CAAC;gBACF,uBAAuB,GAAG,IAAI,CAAC;YACjC,CAAC;YACD,OAAO;QACT,CAAC;QAED,2BAA2B,CAAC,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,OAAO;QACL,IAAI,EAAE,WAAW;QAEjB,KAAK,CAAC,MAAM,CAAC,KAAwB;YACnC,OAAO,CAAC,KAAK,CAAC,CAAC;QACjB,CAAC;QAED,KAAK,CAAC,iBAAiB,CAAC,KAAwB,EAAE,OAAuB;YACvE,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAC1B,CAAC;KACF,CAAC;AACJ,CAAC;AAED,eAAe,EAAE,QAAQ,EAAE,MAAM,EAAmC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { mkdtempSync, rmSync } from "node:fs";
|
|
2
|
+
import { join } from "node:path";
|
|
3
|
+
import { tmpdir } from "node:os";
|
|
4
|
+
import { afterEach, describe, expect, it, vi } from "vitest";
|
|
5
|
+
import { buildSessionTransitionNotificationData, getDashboardNotificationStorePath, readDashboardNotifications, } from "@made-by-moonlight/athene-core";
|
|
6
|
+
import { create, manifest } from "./index.js";
|
|
7
|
+
let tempDir = null;
|
|
8
|
+
function makeConfigPath() {
|
|
9
|
+
tempDir = mkdtempSync(join(tmpdir(), "ao-dashboard-plugin-"));
|
|
10
|
+
return join(tempDir, "agent-orchestrator.yaml");
|
|
11
|
+
}
|
|
12
|
+
function makeEvent(overrides = {}) {
|
|
13
|
+
return {
|
|
14
|
+
id: "evt-1",
|
|
15
|
+
type: "session.needs_input",
|
|
16
|
+
priority: "action",
|
|
17
|
+
sessionId: "worker-1",
|
|
18
|
+
projectId: "demo",
|
|
19
|
+
timestamp: new Date("2026-05-13T12:00:00.000Z"),
|
|
20
|
+
message: "Agent needs input",
|
|
21
|
+
data: buildSessionTransitionNotificationData({
|
|
22
|
+
eventType: "session.needs_input",
|
|
23
|
+
sessionId: "worker-1",
|
|
24
|
+
projectId: "demo",
|
|
25
|
+
context: {
|
|
26
|
+
pr: {
|
|
27
|
+
number: 1,
|
|
28
|
+
url: "https://github.com/acme/app/pull/1",
|
|
29
|
+
title: "Demo PR",
|
|
30
|
+
branch: "demo/pr",
|
|
31
|
+
baseBranch: "main",
|
|
32
|
+
owner: "acme",
|
|
33
|
+
repo: "app",
|
|
34
|
+
isDraft: false,
|
|
35
|
+
},
|
|
36
|
+
prs: [
|
|
37
|
+
{
|
|
38
|
+
number: 1,
|
|
39
|
+
url: "https://github.com/acme/app/pull/1",
|
|
40
|
+
title: "Demo PR",
|
|
41
|
+
branch: "demo/pr",
|
|
42
|
+
baseBranch: "main",
|
|
43
|
+
owner: "acme",
|
|
44
|
+
repo: "app",
|
|
45
|
+
isDraft: false,
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
issueId: null,
|
|
49
|
+
issueTitle: null,
|
|
50
|
+
summary: "Demo session",
|
|
51
|
+
branch: "demo/pr",
|
|
52
|
+
},
|
|
53
|
+
oldStatus: "working",
|
|
54
|
+
newStatus: "needs_input",
|
|
55
|
+
}),
|
|
56
|
+
...overrides,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
afterEach(() => {
|
|
60
|
+
if (tempDir)
|
|
61
|
+
rmSync(tempDir, { recursive: true, force: true });
|
|
62
|
+
tempDir = null;
|
|
63
|
+
vi.restoreAllMocks();
|
|
64
|
+
});
|
|
65
|
+
describe("notifier-dashboard", () => {
|
|
66
|
+
it("has dashboard notifier metadata", () => {
|
|
67
|
+
expect(manifest.name).toBe("dashboard");
|
|
68
|
+
expect(manifest.slot).toBe("notifier");
|
|
69
|
+
});
|
|
70
|
+
it("persists notifications to the config-specific dashboard store", async () => {
|
|
71
|
+
const configPath = makeConfigPath();
|
|
72
|
+
const notifier = create({ configPath, limit: 50 });
|
|
73
|
+
await notifier.notify(makeEvent());
|
|
74
|
+
const records = readDashboardNotifications(configPath);
|
|
75
|
+
expect(records).toHaveLength(1);
|
|
76
|
+
expect(records[0].event.sessionId).toBe("worker-1");
|
|
77
|
+
expect(records[0].event.data).toMatchObject({
|
|
78
|
+
schemaVersion: 3,
|
|
79
|
+
subject: { pr: { url: "https://github.com/acme/app/pull/1" } },
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
it("persists actions with notifications", async () => {
|
|
83
|
+
const configPath = makeConfigPath();
|
|
84
|
+
const notifier = create({ configPath });
|
|
85
|
+
await notifier.notifyWithActions?.(makeEvent(), [
|
|
86
|
+
{ label: "Open PR", url: "https://github.com/acme/app/pull/1" },
|
|
87
|
+
]);
|
|
88
|
+
const records = readDashboardNotifications(configPath);
|
|
89
|
+
expect(records[0].actions).toEqual([
|
|
90
|
+
{ label: "Open PR", url: "https://github.com/acme/app/pull/1" },
|
|
91
|
+
]);
|
|
92
|
+
});
|
|
93
|
+
it("retains only the configured limit", async () => {
|
|
94
|
+
const configPath = makeConfigPath();
|
|
95
|
+
const notifier = create({ configPath, limit: 2 });
|
|
96
|
+
await notifier.notify(makeEvent({ id: "evt-1" }));
|
|
97
|
+
await notifier.notify(makeEvent({ id: "evt-2" }));
|
|
98
|
+
await notifier.notify(makeEvent({ id: "evt-3" }));
|
|
99
|
+
expect(readDashboardNotifications(configPath, 50).map((record) => record.event.id)).toEqual([
|
|
100
|
+
"evt-2",
|
|
101
|
+
"evt-3",
|
|
102
|
+
]);
|
|
103
|
+
});
|
|
104
|
+
it("warns and no-ops when configPath is missing", async () => {
|
|
105
|
+
const warnSpy = vi.spyOn(console, "warn").mockImplementation(() => { });
|
|
106
|
+
const notifier = create();
|
|
107
|
+
await notifier.notify(makeEvent());
|
|
108
|
+
expect(warnSpy).toHaveBeenCalledWith(expect.stringContaining("No configPath available"));
|
|
109
|
+
});
|
|
110
|
+
it("uses the expected store path shape", () => {
|
|
111
|
+
const configPath = makeConfigPath();
|
|
112
|
+
expect(getDashboardNotificationStorePath(configPath)).toContain("dashboard-notifications.jsonl");
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
//# sourceMappingURL=index.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.test.js","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC7D,OAAO,EACL,sCAAsC,EACtC,iCAAiC,EACjC,0BAA0B,GAE3B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE9C,IAAI,OAAO,GAAkB,IAAI,CAAC;AAElC,SAAS,cAAc;IACrB,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,sBAAsB,CAAC,CAAC,CAAC;IAC9D,OAAO,IAAI,CAAC,OAAO,EAAE,yBAAyB,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,SAAS,CAAC,YAAwC,EAAE;IAC3D,OAAO;QACL,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,qBAAqB;QAC3B,QA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AAM,CAAC,OAAO,CAAC,CAAC,oBAAoB,CAAC,MAAM,CAAC,gBAAgB,CAAC,yBAAyB,CAAC,CAAC,CAAC;IAC3F,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oCAAoC,EAAE,GAAG,EAAE;QAC5C,MAAM,UAAU,GAAG,cAAc,EAAE,CAAC;QACpC,MAAM,CAAC,iCAAiC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAC7D,+BAA+B,CAChC,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@made-by-moonlight/athene-plugin-notifier-dashboard",
|
|
3
|
+
"version": "0.9.1",
|
|
4
|
+
"description": "Notifier plugin: Athene dashboard notifications",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/slievr/Athene.git",
|
|
21
|
+
"directory": "packages/plugins/notifier-dashboard"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/slievr/Athene",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/slievr/Athene/issues"
|
|
26
|
+
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=20.0.0"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@made-by-moonlight/athene-core": "0.9.1"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/node": "^25.2.3",
|
|
35
|
+
"typescript": "^5.7.0",
|
|
36
|
+
"vitest": "^3.0.0"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsc",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"test": "vitest run",
|
|
42
|
+
"clean": "rm -rf dist"
|
|
43
|
+
}
|
|
44
|
+
}
|