@meetopenbot/slack 1.0.1 → 1.0.2
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 +1 -1
- package/dist/agent.js +1 -1
- package/dist/config.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/agent.js
CHANGED
package/dist/config.js
CHANGED
|
@@ -5,7 +5,7 @@ export const SLACK_USER_DISPLAY_NAME = "Slack user";
|
|
|
5
5
|
const modelField = await modelConfigField({
|
|
6
6
|
providers: ["openai"],
|
|
7
7
|
override: true,
|
|
8
|
-
defaultValue: "openai/gpt-
|
|
8
|
+
defaultValue: "openai/gpt-6-luna",
|
|
9
9
|
});
|
|
10
10
|
export const pluginConfigSchema = {
|
|
11
11
|
type: "object",
|
|
@@ -69,7 +69,7 @@ export function resolveSlackCredentials(config) {
|
|
|
69
69
|
const signingSecret = lookupSecret({ envKeys: ["SLACK_SIGNING_SECRET"] }) ?? "";
|
|
70
70
|
const botToken = lookupSecret({ envKeys: ["SLACK_BOT_TOKEN"] });
|
|
71
71
|
const teamId = lookupSecret({ envKeys: ["SLACK_TEAM_ID"] });
|
|
72
|
-
const model = trimmedString(config.model) ?? "openai/gpt-
|
|
72
|
+
const model = trimmedString(config.model) ?? "openai/gpt-6-luna";
|
|
73
73
|
const missing = [];
|
|
74
74
|
if (!botToken)
|
|
75
75
|
missing.push("botToken");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetopenbot/slack",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Slack Events API ingress, simple agent replies, and thread delivery for OpenBot",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@meetopenbot/plugin-sdk": "^1.
|
|
22
|
+
"@meetopenbot/plugin-sdk": "^1.2.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^20.10.1",
|