This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/app/api/openclaw/signal-ingress/route.ts | |
| +++ b/app/api/openclaw/signal-ingress/route.ts | |
| @@ -272,6 +272,7 @@ | |
| | { kind: 'live'; max: number } | |
| | { kind: 'approve'; matchId: string } | |
| | { kind: 'draft_match'; matchId: string }; | |
| + | { kind: 'draft_name'; name: string } | |
| function parseFastCommand(raw: string): FastCommand | null { | |
| const text = raw.trim(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** Begin Patch | |
| *** Update File: app/api/openclaw/signal-ingress/route.ts | |
| @@ | |
| -async function resolveSyndkitDealId(userId: string): Promise<string | null> { | |
| - const rows = await db | |
| - .select({ id: deals.id }) | |
| - .from(deals) | |
| - .where( | |
| - and( | |
| - eq(deals.userId, userId), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** Begin Patch | |
| *** Update File: app/api/openclaw/signal-ingress/route.ts | |
| @@ | |
| function formatRun(run: any): string { | |
| @@ | |
| } | |
| + | |
| +async function resolveSyndkitDealId(userId: string): Promise<string | null> { | |
| + // Best-effort: find a deal whose name or company matches "syndkit". | |
| + // This keeps Signal UX deal-scoped without requiring the user to specify deal every time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** Begin Patch | |
| *** Update File: app/api/openclaw/signal-ingress/route.ts | |
| @@ | |
| - const fast = parseFastCommand(incomingText); | |
| + const fast = parseFastCommand(incomingText); | |
| if (fast) { | |
| let replyText = ''; | |
| let ok = true; | |
| + | |
| + // Default to Syndkit-only scope for Signal UX, unless explicitly overridden. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** Begin Patch | |
| *** Update File: app/api/openclaw/signal-ingress/route.ts | |
| @@ | |
| import { parseConsigliereAliasMap, resolveMappedPrimaryIdentity } from '@/lib/consigliere/identity-alias'; | |
| export const dynamic = 'force-dynamic'; | |
| @@ | |
| interface SignalIngressPayload { | |
| text?: string; | |
| message?: string; |