@herdctl/discord 1.0.4 → 1.0.6
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/dist/__tests__/manager.test.js +16 -0
- package/dist/__tests__/manager.test.js.map +1 -1
- package/dist/manager.d.ts +11 -35
- package/dist/manager.d.ts.map +1 -1
- package/dist/manager.js +53 -220
- package/dist/manager.js.map +1 -1
- package/package.json +3 -3
|
@@ -46,6 +46,8 @@ function createDiscordAgent(name, discordConfig) {
|
|
|
46
46
|
discord: discordConfig,
|
|
47
47
|
},
|
|
48
48
|
configPath: "/test/herdctl.yaml",
|
|
49
|
+
fleetPath: [],
|
|
50
|
+
qualifiedName: name,
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
53
|
// Create a mock agent without Discord config
|
|
@@ -55,6 +57,8 @@ function createNonDiscordAgent(name) {
|
|
|
55
57
|
model: "sonnet",
|
|
56
58
|
schedules: {},
|
|
57
59
|
configPath: "/test/herdctl.yaml",
|
|
60
|
+
fleetPath: [],
|
|
61
|
+
qualifiedName: name,
|
|
58
62
|
};
|
|
59
63
|
}
|
|
60
64
|
describe("DiscordManager", () => {
|
|
@@ -2858,6 +2862,8 @@ describe.skip("DiscordManager output configuration", () => {
|
|
|
2858
2862
|
},
|
|
2859
2863
|
},
|
|
2860
2864
|
configPath: "/test/herdctl.yaml",
|
|
2865
|
+
fleetPath: [],
|
|
2866
|
+
qualifiedName: "no-tool-results-agent",
|
|
2861
2867
|
},
|
|
2862
2868
|
],
|
|
2863
2869
|
configPath: "/test/herdctl.yaml",
|
|
@@ -2975,6 +2981,8 @@ describe.skip("DiscordManager output configuration", () => {
|
|
|
2975
2981
|
},
|
|
2976
2982
|
},
|
|
2977
2983
|
configPath: "/test/herdctl.yaml",
|
|
2984
|
+
fleetPath: [],
|
|
2985
|
+
qualifiedName: "system-status-agent",
|
|
2978
2986
|
},
|
|
2979
2987
|
],
|
|
2980
2988
|
configPath: "/test/herdctl.yaml",
|
|
@@ -3091,6 +3099,8 @@ describe.skip("DiscordManager output configuration", () => {
|
|
|
3091
3099
|
},
|
|
3092
3100
|
},
|
|
3093
3101
|
configPath: "/test/herdctl.yaml",
|
|
3102
|
+
fleetPath: [],
|
|
3103
|
+
qualifiedName: "no-system-status-agent",
|
|
3094
3104
|
},
|
|
3095
3105
|
],
|
|
3096
3106
|
configPath: "/test/herdctl.yaml",
|
|
@@ -3208,6 +3218,8 @@ describe.skip("DiscordManager output configuration", () => {
|
|
|
3208
3218
|
},
|
|
3209
3219
|
},
|
|
3210
3220
|
configPath: "/test/herdctl.yaml",
|
|
3221
|
+
fleetPath: [],
|
|
3222
|
+
qualifiedName: "result-summary-agent",
|
|
3211
3223
|
},
|
|
3212
3224
|
],
|
|
3213
3225
|
configPath: "/test/herdctl.yaml",
|
|
@@ -3328,6 +3340,8 @@ describe.skip("DiscordManager output configuration", () => {
|
|
|
3328
3340
|
},
|
|
3329
3341
|
},
|
|
3330
3342
|
configPath: "/test/herdctl.yaml",
|
|
3343
|
+
fleetPath: [],
|
|
3344
|
+
qualifiedName: "error-agent",
|
|
3331
3345
|
},
|
|
3332
3346
|
],
|
|
3333
3347
|
configPath: "/test/herdctl.yaml",
|
|
@@ -3443,6 +3457,8 @@ describe.skip("DiscordManager output configuration", () => {
|
|
|
3443
3457
|
},
|
|
3444
3458
|
},
|
|
3445
3459
|
configPath: "/test/herdctl.yaml",
|
|
3460
|
+
fleetPath: [],
|
|
3461
|
+
qualifiedName: "no-errors-agent",
|
|
3446
3462
|
},
|
|
3447
3463
|
],
|
|
3448
3464
|
configPath: "/test/herdctl.yaml",
|