@cerbur/clutch-dsh-worktree 0.1.18 → 0.1.20
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 +120 -10
- package/README.zh.md +96 -10
- package/assets/screenshots/screenshots-agent-steer.jpg +0 -0
- package/assets/screenshots/screenshots-baseline-sync.png +0 -0
- package/lib/client/WorktreeSurface.d.ts.map +1 -1
- package/lib/client/WorktreeSurface.js +19 -3
- package/lib/client/WorktreeSurface.js.map +1 -1
- package/lib/client/context/worktree-context-store.d.ts +3 -1
- package/lib/client/context/worktree-context-store.d.ts.map +1 -1
- package/lib/client/context/worktree-context-store.js +3 -2
- package/lib/client/context/worktree-context-store.js.map +1 -1
- package/lib/client/dashboard/WorktreeDashboard.d.ts +8 -3
- package/lib/client/dashboard/WorktreeDashboard.d.ts.map +1 -1
- package/lib/client/dashboard/WorktreeDashboard.js +120 -12
- package/lib/client/dashboard/WorktreeDashboard.js.map +1 -1
- package/lib/client/dashboard/dashboard-selection.d.ts +4 -0
- package/lib/client/dashboard/dashboard-selection.d.ts.map +1 -1
- package/lib/client/dashboard/dashboard-selection.js +23 -0
- package/lib/client/dashboard/dashboard-selection.js.map +1 -1
- package/lib/client/dsh-slot-contract.d.ts +8 -1
- package/lib/client/dsh-slot-contract.d.ts.map +1 -1
- package/lib/client/entry.d.ts.map +1 -1
- package/lib/client/entry.js +22 -4
- package/lib/client/entry.js.map +1 -1
- package/lib/client/locales.d.ts +58 -0
- package/lib/client/locales.d.ts.map +1 -1
- package/lib/client/locales.js +66 -8
- package/lib/client/locales.js.map +1 -1
- package/lib/client/permission/worktree-permission.d.ts.map +1 -1
- package/lib/client/permission/worktree-permission.js +14 -6
- package/lib/client/permission/worktree-permission.js.map +1 -1
- package/lib/client/session/active-sessions.d.ts +21 -0
- package/lib/client/session/active-sessions.d.ts.map +1 -0
- package/lib/client/session/active-sessions.js +61 -0
- package/lib/client/session/active-sessions.js.map +1 -0
- package/lib/client/settings/diagnostics.d.ts +4 -0
- package/lib/client/settings/diagnostics.d.ts.map +1 -1
- package/lib/client/settings/diagnostics.js +12 -0
- package/lib/client/settings/diagnostics.js.map +1 -1
- package/lib/client/steer/SteerDock.d.ts +8 -0
- package/lib/client/steer/SteerDock.d.ts.map +1 -0
- package/lib/client/steer/SteerDock.js +12 -0
- package/lib/client/steer/SteerDock.js.map +1 -0
- package/lib/client/steer/steer-activity.d.ts +18 -0
- package/lib/client/steer/steer-activity.d.ts.map +1 -0
- package/lib/client/steer/steer-activity.js +37 -0
- package/lib/client/steer/steer-activity.js.map +1 -0
- package/lib/client/steer/steer-state.d.ts +24 -0
- package/lib/client/steer/steer-state.d.ts.map +1 -0
- package/lib/client/steer/steer-state.js +102 -0
- package/lib/client/steer/steer-state.js.map +1 -0
- package/lib/client/surface/components/SessionActivityBell.d.ts +14 -0
- package/lib/client/surface/components/SessionActivityBell.d.ts.map +1 -0
- package/lib/client/surface/components/SessionActivityBell.js +92 -0
- package/lib/client/surface/components/SessionActivityBell.js.map +1 -0
- package/lib/client/surface/components/SurfaceHeader.d.ts +3 -2
- package/lib/client/surface/components/SurfaceHeader.d.ts.map +1 -1
- package/lib/client/surface/components/SurfaceHeader.js +4 -2
- package/lib/client/surface/components/SurfaceHeader.js.map +1 -1
- package/lib/client/surface/state/useSurfaceRefresh.d.ts.map +1 -1
- package/lib/client/surface/state/useSurfaceRefresh.js +6 -3
- package/lib/client/surface/state/useSurfaceRefresh.js.map +1 -1
- package/lib/client/surface/types.d.ts +5 -1
- package/lib/client/surface/types.d.ts.map +1 -1
- package/lib/client/view/worktree-view-read.d.ts +3 -0
- package/lib/client/view/worktree-view-read.d.ts.map +1 -1
- package/lib/client/view/worktree-view-read.js +23 -1
- package/lib/client/view/worktree-view-read.js.map +1 -1
- package/lib/client/worktree-connection.d.ts +1 -0
- package/lib/client/worktree-connection.d.ts.map +1 -1
- package/lib/client/worktree-connection.js +2 -0
- package/lib/client/worktree-connection.js.map +1 -1
- package/lib/client.js +1298 -484
- package/lib/client.js.map +1 -1
- package/lib/contract/baseline-sync.d.ts +27 -0
- package/lib/contract/baseline-sync.d.ts.map +1 -0
- package/lib/contract/baseline-sync.js +2 -0
- package/lib/contract/baseline-sync.js.map +1 -0
- package/lib/contract/index.contract.js +1 -0
- package/lib/contract/index.contract.js.map +1 -1
- package/lib/contract/index.d.ts +5 -1
- package/lib/contract/index.d.ts.map +1 -1
- package/lib/contract/index.js +1 -0
- package/lib/contract/index.js.map +1 -1
- package/lib/contract/worktree-permission.d.ts +2 -0
- package/lib/contract/worktree-permission.d.ts.map +1 -1
- package/lib/contract/worktree-permission.js +1 -1
- package/lib/contract/worktree-permission.js.map +1 -1
- package/lib/contract/worktree-tool-changes.d.ts +2 -0
- package/lib/contract/worktree-tool-changes.d.ts.map +1 -1
- package/lib/host/baseline-sync.d.ts +15 -0
- package/lib/host/baseline-sync.d.ts.map +1 -0
- package/lib/host/baseline-sync.js +93 -0
- package/lib/host/baseline-sync.js.map +1 -0
- package/lib/host/remote.d.ts +2 -1
- package/lib/host/remote.d.ts.map +1 -1
- package/lib/host/remote.js +1 -1
- package/lib/host/remote.js.map +1 -1
- package/lib/host/service.d.ts +5 -0
- package/lib/host/service.d.ts.map +1 -1
- package/lib/host/service.js +27 -2
- package/lib/host/service.js.map +1 -1
- package/lib/host/worktree-permission.d.ts +12 -0
- package/lib/host/worktree-permission.d.ts.map +1 -1
- package/lib/host/worktree-permission.js +87 -16
- package/lib/host/worktree-permission.js.map +1 -1
- package/lib/host/worktree-tool-changes.d.ts +1 -1
- package/lib/host/worktree-tool-changes.d.ts.map +1 -1
- package/lib/host/worktree-tool-changes.js +5 -2
- package/lib/host/worktree-tool-changes.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/manage/manager.d.ts +5 -0
- package/lib/manage/manager.d.ts.map +1 -1
- package/lib/manage/manager.js +17 -1
- package/lib/manage/manager.js.map +1 -1
- package/lib/manage/types.d.ts +5 -0
- package/lib/manage/types.d.ts.map +1 -1
- package/lib/tool/agent-relay.d.ts +55 -0
- package/lib/tool/agent-relay.d.ts.map +1 -0
- package/lib/tool/agent-relay.js +159 -0
- package/lib/tool/agent-relay.js.map +1 -0
- package/lib/tool/delegation.d.ts +1 -0
- package/lib/tool/delegation.d.ts.map +1 -1
- package/lib/tool/delegation.js +32 -6
- package/lib/tool/delegation.js.map +1 -1
- package/lib/tool/dispatch-session.d.ts +18 -0
- package/lib/tool/dispatch-session.d.ts.map +1 -0
- package/lib/tool/dispatch-session.js +41 -0
- package/lib/tool/dispatch-session.js.map +1 -0
- package/lib/tool/errors.d.ts +6 -0
- package/lib/tool/errors.d.ts.map +1 -1
- package/lib/tool/errors.js +16 -2
- package/lib/tool/errors.js.map +1 -1
- package/lib/tool/guidance.d.ts +1 -0
- package/lib/tool/guidance.d.ts.map +1 -1
- package/lib/tool/guidance.js +2 -0
- package/lib/tool/guidance.js.map +1 -1
- package/lib/tool/index.d.ts.map +1 -1
- package/lib/tool/index.js +38 -4
- package/lib/tool/index.js.map +1 -1
- package/lib/tool/inputs.d.ts.map +1 -1
- package/lib/tool/inputs.js +6 -6
- package/lib/tool/inputs.js.map +1 -1
- package/lib/tool/list-models.js +2 -2
- package/lib/tool/list-models.js.map +1 -1
- package/lib/tool/list-sessions.js +2 -2
- package/lib/tool/list-sessions.js.map +1 -1
- package/lib/tool/list-worktrees.js +1 -1
- package/lib/tool/list-worktrees.js.map +1 -1
- package/lib/tool/native-session.d.ts +4 -0
- package/lib/tool/native-session.d.ts.map +1 -1
- package/lib/tool/native-session.js +17 -0
- package/lib/tool/native-session.js.map +1 -1
- package/lib/tool/new-worktree.js +4 -4
- package/lib/tool/new-worktree.js.map +1 -1
- package/lib/tool/report-result.d.ts.map +1 -1
- package/lib/tool/report-result.js +9 -7
- package/lib/tool/report-result.js.map +1 -1
- package/lib/tool/schema.d.ts +8 -0
- package/lib/tool/schema.d.ts.map +1 -1
- package/lib/tool/schema.js +31 -2
- package/lib/tool/schema.js.map +1 -1
- package/lib/tool/send-message.d.ts.map +1 -1
- package/lib/tool/send-message.js +8 -7
- package/lib/tool/send-message.js.map +1 -1
- package/lib/tool/span-worktree.d.ts.map +1 -1
- package/lib/tool/span-worktree.js +33 -59
- package/lib/tool/span-worktree.js.map +1 -1
- package/lib/tool/types.d.ts +2 -0
- package/lib/tool/types.d.ts.map +1 -1
- package/lib/tool/wire-schema.d.ts +4 -0
- package/lib/tool/wire-schema.d.ts.map +1 -0
- package/lib/tool/wire-schema.js +24 -0
- package/lib/tool/wire-schema.js.map +1 -0
- package/lib/typert.host.js +117 -56
- package/lib/typert.remote-client.d.ts +3 -1
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +117 -56
- package/package.json +4 -1
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
RemoteResult,
|
|
4
4
|
TypertRemoteContribution,
|
|
5
5
|
} from '@deepseek-ai/dsh-typert-protocol'
|
|
6
|
-
import type { BranchRecord, SessionBinding, WorkspaceCheckout, WorkspaceGitState, WorkspaceId, WorktreeGitCommitFiles, WorktreeGitCommitFilesRequest, WorktreeGitFileDiff, WorktreeGitFileDiffRequest, WorktreeGitHistory, WorktreeGitHistoryRequest, WorktreeId, WorktreeImportCandidate, WorktreePermissionNormalizationRequest, WorktreePermissionRequest, WorktreePermissionResult, WorktreeRecord, WorktreeRemoteResult, WorktreeToolChangeBatch, WorktreeToolSelection, WorktreeToolSettingsScope } from '@cerbur/clutch-dsh-worktree/contract'
|
|
6
|
+
import type { BranchRecord, SessionBinding, WorkspaceCheckout, WorkspaceGitState, WorkspaceId, WorktreeBaselineSyncRequest, WorktreeGitCommitFiles, WorktreeGitCommitFilesRequest, WorktreeGitFileDiff, WorktreeGitFileDiffRequest, WorktreeGitHistory, WorktreeGitHistoryRequest, WorktreeId, WorktreeImportCandidate, WorktreePermissionNormalizationRequest, WorktreePermissionRequest, WorktreePermissionResult, WorktreeRecord, WorktreeRemoteResult, WorktreeSessionDispatchResult, WorktreeToolChangeBatch, WorktreeToolSelection, WorktreeToolSettingsScope } from '@cerbur/clutch-dsh-worktree/contract'
|
|
7
7
|
|
|
8
8
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
9
9
|
interface TypertRemoteNamespace$776f726b747265654d616e61676572 {
|
|
@@ -30,6 +30,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
30
30
|
normalizeDetachedWorktreePermissions: (input: WorktreePermissionNormalizationRequest) => Promise<RemoteResult<WorktreeRemoteResult<WorktreePermissionResult>>>
|
|
31
31
|
recoverWorktrees: (input: { workspaceId: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
|
|
32
32
|
removeWorktree: (input: { readonly workspaceId: string; readonly worktreeId: string; readonly mutationToken: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
|
|
33
|
+
syncWorktreeBaseline: (input: WorktreeBaselineSyncRequest, signal?: AbortSignal) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeSessionDispatchResult>>>
|
|
33
34
|
unarchiveWorktree: (input: { readonly workspaceId: string; readonly worktreeId: string; readonly mutationToken: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
|
|
34
35
|
updateToolSettings: (input: { scope: WorktreeToolSettingsScope; selection: WorktreeToolSelection; expected: WorktreeToolSelection; }) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeToolSelection>>>
|
|
35
36
|
updateWorktreeBaseBranch: (input: { workspaceId: string; worktreeId: string; baseBranch: string; expectedBaseBranch?: string; }) => Promise<RemoteResult<WorktreeRemoteResult<string>>>
|
|
@@ -60,6 +61,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
60
61
|
'worktreeManager/normalizeDetachedWorktreePermissions': (input: WorktreePermissionNormalizationRequest) => Promise<RemoteResult<WorktreeRemoteResult<WorktreePermissionResult>>>
|
|
61
62
|
'worktreeManager/recoverWorktrees': (input: { workspaceId: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
|
|
62
63
|
'worktreeManager/removeWorktree': (input: { readonly workspaceId: string; readonly worktreeId: string; readonly mutationToken: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
|
|
64
|
+
'worktreeManager/syncWorktreeBaseline': (input: WorktreeBaselineSyncRequest, signal?: AbortSignal) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeSessionDispatchResult>>>
|
|
63
65
|
'worktreeManager/unarchiveWorktree': (input: { readonly workspaceId: string; readonly worktreeId: string; readonly mutationToken: string; }) => Promise<RemoteResult<WorktreeRemoteResult<null>>>
|
|
64
66
|
'worktreeManager/updateToolSettings': (input: { scope: WorktreeToolSettingsScope; selection: WorktreeToolSelection; expected: WorktreeToolSelection; }) => Promise<RemoteResult<WorktreeRemoteResult<WorktreeToolSelection>>>
|
|
65
67
|
'worktreeManager/updateWorktreeBaseBranch': (input: { workspaceId: string; worktreeId: string; baseBranch: string; expectedBaseBranch?: string; }) => Promise<RemoteResult<WorktreeRemoteResult<string>>>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typert.remote-client.d.ts","names":["adoptWorktreeBranch","bindSession","cleanWorktree","createWorktree","ensureWorktreePermission","fetchRemoteBranches","forgetWorktree","getToolSettings","getWorkspaceCheckout","getWorkspaceGitState","getWorktreeCommitFileDiff","getWorktreeInstructions","importWorktree","insertWorktreeBefore","listBindings","listBranches","listImportCandidates","listWorktreeCommitFiles","listWorktreeCommits","listWorktrees","normalizeDetachedWorktreePermissions","recoverWorktrees","removeWorktree","unarchiveWorktree","updateToolSettings","updateWorktreeBaseBranch","updateWorktreeInstructions","watchToolChanges"],"sources":["../src/host/service.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"typert.remote-client.d.ts","names":["adoptWorktreeBranch","bindSession","cleanWorktree","createWorktree","ensureWorktreePermission","fetchRemoteBranches","forgetWorktree","getToolSettings","getWorkspaceCheckout","getWorkspaceGitState","getWorktreeCommitFileDiff","getWorktreeInstructions","importWorktree","insertWorktreeBefore","listBindings","listBranches","listImportCandidates","listWorktreeCommitFiles","listWorktreeCommits","listWorktrees","normalizeDetachedWorktreePermissions","recoverWorktrees","removeWorktree","syncWorktreeBaseline","unarchiveWorktree","updateToolSettings","updateWorktreeBaseBranch","updateWorktreeInstructions","watchToolChanges"],"sources":["../src/host/service.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;IA+VEA,mB;IAiDAC,W;IAlCAC,a;IApDAC,c;IA+FAC,wB;IA3GAC,mB;IAyEAC,c;IAvLMC,e;IAqHNC,oB;IApDAC,oB;IAwBAC,yB;IApDAC,uB;IAgGAC,c;IA2DAC,oB;IASAC,Y;IAlGAC,Y;IAPAC,oB;IAdAC,uB;IALAC,mB;IAPAC,a;IA0JAC,oC;IAvDAC,gB;IA5BAC,c;IArJAC,oB;IA8JAC,iB;IAhJMC,kB;IAiDNC,wB;IAVAC,0B;IAhBMC,gB;;;IAkIN5B,qC;IAiDAC,6B;IAlCAC,+B;IApDAC,gC;IA+FAC,0C;IA3GAC,qC;IAyEAC,gC;IAvLMC,iC;IAqHNC,sC;IApDAC,sC;IAwBAC,2C;IApDAC,yC;IAgGAC,gC;IA2DAC,sC;IASAC,8B;IAlGAC,8B;IAPAC,sC;IAdAC,yC;IALAC,qC;IAPAC,+B;IA0JAC,sD;IAvDAC,kC;IA5BAC,gC;IArJAC,sC;IA8JAC,mC;IAhJMC,oC;IAiDNC,0C;IAVAC,4C;IAhBMC,kC","ignoreList":[]}
|