Skip to content

Commit f066243

Browse files
Shawclaude
andcommitted
chore: refresh bun.lock + WIP chip scripts snapshot
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e412687 commit f066243

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/plugin-slack/src/connector-account-provider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function roleFromMetadata(metadata: unknown): ConnectorAccountRole {
115115
record.accountRole ??
116116
record.requestedRole,
117117
);
118-
if (!raw) return "OWNER";
118+
if (!raw) return "AGENT";
119119
const normalized = raw.toUpperCase();
120120
if (
121121
normalized === "OWNER" ||
@@ -124,7 +124,7 @@ function roleFromMetadata(metadata: unknown): ConnectorAccountRole {
124124
) {
125125
return normalized;
126126
}
127-
return "OWNER";
127+
return "AGENT";
128128
}
129129

130130
function readClientConfig(runtime: IAgentRuntime): {

0 commit comments

Comments
 (0)