mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
Update skills UI components for managed skills (#165)
* ralph: ralph-repo-level-skills-dialog-skillseditor-fix completed after 4 iterations * Remove parent session notification and child session tracking from Ralph loops Sending promptAsync to parent sessions on loop completion could resume work in previously inactive sessions. Removed parentSessionId from RalphState, child session tracking maps, and all related event handling. Watchdog stall detection still works via the session status API. * Migrate global skills to workspace path * Add skill injection to scheduled job prompts * Refactor schedules UI with MultiSelect and tab menu * Update skills UI components for managed skills
This commit is contained in:
1 parent
4bd0940ab9
commit
c3cba72b51
22 files changed
+981
-337
No files matched your search
@@ -25,7 +25,6 @@ export interface RalphState {
|
||||
auditCount: number
|
||||
terminationReason?: string
|
||||
completedAt?: string
|
||||
parentSessionId?: string
|
||||
inPlace?: boolean
|
||||
}
|
||||
|
||||
@@ -40,7 +39,6 @@ export interface RalphService {
|
||||
listActive(): RalphState[]
|
||||
listRecent(): RalphState[]
|
||||
findByWorktreeName(name: string): RalphState | null
|
||||
findByParentSessionId(parentId: string): RalphState[]
|
||||
getStallTimeoutMs(): number
|
||||
getMinAudits(): number
|
||||
terminateAll(): void
|
||||
@@ -143,10 +141,6 @@ export function createRalphService(
|
||||
return active.find((s) => s.worktreeName === name) ?? null
|
||||
}
|
||||
|
||||
function findByParentSessionId(parentId: string): RalphState[] {
|
||||
return listActive().filter((s) => s.parentSessionId === parentId)
|
||||
}
|
||||
|
||||
function getStallTimeoutMs(): number {
|
||||
return ralphConfig?.stallTimeoutMs ?? STALL_TIMEOUT_MS
|
||||
}
|
||||
@@ -180,7 +174,6 @@ export function createRalphService(
|
||||
listActive,
|
||||
listRecent,
|
||||
findByWorktreeName,
|
||||
findByParentSessionId,
|
||||
getStallTimeoutMs,
|
||||
getMinAudits,
|
||||
terminateAll,
|
||||
|
||||
Reference in new issue
Block a user