mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
fix(walkthrough): address review of agent-opened walkthrough
- Wait for the model catalog once per walkthrough generation instead of before every model call - Report open_walkthrough as requested, not opened, and drop its unused metadata - Share the ocm tool and action names through @opencode-manager/shared - Remove the unused source-request nonce and duplicate session check - Scan only new messages when auto-opening the walkthrough - Assert the request action cannot reach the internal change-walkthroughs route
This commit is contained in:
1 parent
aa1da8d608
commit
c497df5161
14 files changed
+146
-122
No files matched your search
@@ -1,6 +1,12 @@
|
||||
import { z } from 'zod'
|
||||
import { UserPreferencesSchema } from './settings'
|
||||
|
||||
export const MANAGER_TOOL_NAME = 'ocm'
|
||||
|
||||
export const MANAGER_TOOL_OPEN_WALKTHROUGH_ACTION = 'open_walkthrough'
|
||||
|
||||
export const MANAGER_TOOL_ACTIONS = ['send_notification', 'request', MANAGER_TOOL_OPEN_WALKTHROUGH_ACTION] as const
|
||||
|
||||
export const AssistantNotificationPrioritySchema = z.enum(['normal', 'high'])
|
||||
|
||||
export const ASSISTANT_NOTIFICATION_LIMITS = {
|
||||
|
||||
Reference in new issue
Block a user