@zerowall/dsh-claude-coderun 0.0.0-stage → 0.1.0-preview.1
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/LICENSE +21 -0
- package/README.i18n.yaml +16 -0
- package/README.md +23 -2
- package/README.zh.md +24 -0
- package/dsh.bundle.patch.yml +23 -0
- package/lib/client.js +17823 -0
- package/lib/index.js +3752 -0
- package/lib/typert.host.d.ts +3 -0
- package/lib/typert.host.js +1938 -0
- package/lib/typert.remote-client.d.ts +101 -0
- package/lib/typert.remote-client.d.ts.map +1 -0
- package/lib/typert.remote-client.js +1327 -0
- package/lib/types/client/ClaudeCodeAction.d.ts +13 -0
- package/lib/types/client/ClaudeCodeSettingsSection.d.ts +7 -0
- package/lib/types/client/ClaudePermissionSelect.d.ts +11 -0
- package/lib/types/client/ClaudeStats.d.ts +17 -0
- package/lib/types/client/ClaudeTranscript.d.ts +22 -0
- package/lib/types/client/index.d.ts +1 -0
- package/lib/types/client/locales.d.ts +243 -0
- package/lib/types/client/upstream/GlobalSettingControls.d.ts +39 -0
- package/lib/types/client/upstream/markdown-theme.d.ts +42 -0
- package/lib/types/client/upstream/settings-styles.d.ts +42 -0
- package/lib/types/client/view.d.ts +9 -0
- package/lib/types/host/claude-commands.d.ts +19 -0
- package/lib/types/host/claude-settings.d.ts +19 -0
- package/lib/types/host/cli.d.ts +24 -0
- package/lib/types/host/diagnostic.d.ts +2 -0
- package/lib/types/host/environment.d.ts +2 -0
- package/lib/types/host/index.d.ts +78 -0
- package/lib/types/host/mcp-launcher.d.ts +16 -0
- package/lib/types/host/metrics-projection.d.ts +250 -0
- package/lib/types/host/metrics.d.ts +16 -0
- package/lib/types/host/permission-mode.d.ts +62 -0
- package/lib/types/host/projection.d.ts +125 -0
- package/lib/types/host/resource-status.d.ts +8 -0
- package/lib/types/host/route.d.ts +52 -0
- package/lib/types/host/runtime.d.ts +80 -0
- package/lib/types/host/sdk-driver.d.ts +29 -0
- package/lib/types/host/session-binding.d.ts +25 -0
- package/lib/types/host/subagent-tool.d.ts +6 -0
- package/lib/types/host/tool-journal.d.ts +13 -0
- package/lib/types/shared/metrics.d.ts +57 -0
- package/lib/types/shared/records.d.ts +33 -0
- package/lib/types/shared/types.d.ts +262 -0
- package/lib/types.js +18 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/migration-reference.md +67 -0
- package/package.json +252 -3
- package/plugin-detail.md +11 -0
- package/plugin-detail.zh.md +11 -0
- package/zerowall.plugin.json +65 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
|
|
2
|
+
import type {
|
|
3
|
+
RemoteResult,
|
|
4
|
+
TypertRemoteInfo,
|
|
5
|
+
TypertRemoteMethod,
|
|
6
|
+
} from '@deepseek-ai/dsh-typert-protocol'
|
|
7
|
+
import type { SessionId } from '@deepseek-ai/dsh-session/types'
|
|
8
|
+
import type { ClaudeCliState, ClaudeCodeStatus, ClaudeCodeTurn, ClaudeGlobalSettingsView, ClaudeNativeSettings, ClaudePermissionMode, ClaudePermissionView, ClaudeTranscript } from '@zerowall/dsh-claude-coderun/types'
|
|
9
|
+
|
|
10
|
+
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
11
|
+
interface TypertRemoteNamespace$7a65726f77616c6c436c61756465436f6465 {
|
|
12
|
+
clear: (agentId: SessionId) => Promise<RemoteResult<void>>
|
|
13
|
+
cliSetModel: (agentId: SessionId, model: string) => Promise<RemoteResult<ClaudeCliState>>
|
|
14
|
+
cliSetPermissionMode: (agentId: SessionId, mode: ClaudePermissionMode) => Promise<RemoteResult<ClaudeCliState>>
|
|
15
|
+
contextUsage: (agentId: SessionId, detail?: 'summary' | 'full') => Promise<RemoteResult<ClaudeCliState>>
|
|
16
|
+
installCli: (agentId: SessionId) => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
17
|
+
permissionSet: (agentId: SessionId, value: string) => Promise<RemoteResult<ClaudePermissionView>>
|
|
18
|
+
permissionView: (agentId: SessionId) => Promise<RemoteResult<ClaudePermissionView>>
|
|
19
|
+
read: (agentId: SessionId) => Promise<RemoteResult<ClaudeCodeTurn | null>>
|
|
20
|
+
readTranscript: (agentId: SessionId, turn: number, step: number) => Promise<RemoteResult<ClaudeTranscript | null>>
|
|
21
|
+
rollback: (agentId: SessionId) => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
22
|
+
settingsGet: () => Promise<RemoteResult<ClaudeNativeSettings>>
|
|
23
|
+
settingsGlobalGet: () => Promise<RemoteResult<ClaudeGlobalSettingsView>>
|
|
24
|
+
settingsGlobalUpdate: (changes: Record<string, string>) => Promise<RemoteResult<ClaudeGlobalSettingsView>>
|
|
25
|
+
settingsInstall: () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
26
|
+
settingsRollback: () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
27
|
+
settingsStatus: () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
28
|
+
settingsUninstall: () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
29
|
+
settingsUpdate: (input: Partial<ClaudeNativeSettings>) => Promise<RemoteResult<ClaudeNativeSettings>>
|
|
30
|
+
status: (agentId: SessionId) => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
31
|
+
stop: (agentId: SessionId) => Promise<RemoteResult<void>>
|
|
32
|
+
uninstall: (agentId: SessionId) => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
33
|
+
}
|
|
34
|
+
interface TypertRemoteMap {
|
|
35
|
+
'zerowallClaudeCode/clear': (agentId: SessionId) => Promise<RemoteResult<void>>
|
|
36
|
+
'zerowallClaudeCode/cliSetModel': (agentId: SessionId, model: string) => Promise<RemoteResult<ClaudeCliState>>
|
|
37
|
+
'zerowallClaudeCode/cliSetPermissionMode': (agentId: SessionId, mode: ClaudePermissionMode) => Promise<RemoteResult<ClaudeCliState>>
|
|
38
|
+
'zerowallClaudeCode/contextUsage': (agentId: SessionId, detail?: 'summary' | 'full') => Promise<RemoteResult<ClaudeCliState>>
|
|
39
|
+
'zerowallClaudeCode/installCli': (agentId: SessionId) => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
40
|
+
'zerowallClaudeCode/permissionSet': (agentId: SessionId, value: string) => Promise<RemoteResult<ClaudePermissionView>>
|
|
41
|
+
'zerowallClaudeCode/permissionView': (agentId: SessionId) => Promise<RemoteResult<ClaudePermissionView>>
|
|
42
|
+
'zerowallClaudeCode/read': (agentId: SessionId) => Promise<RemoteResult<ClaudeCodeTurn | null>>
|
|
43
|
+
'zerowallClaudeCode/readTranscript': (agentId: SessionId, turn: number, step: number) => Promise<RemoteResult<ClaudeTranscript | null>>
|
|
44
|
+
'zerowallClaudeCode/rollback': (agentId: SessionId) => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
45
|
+
'zerowallClaudeCode/settingsGet': () => Promise<RemoteResult<ClaudeNativeSettings>>
|
|
46
|
+
'zerowallClaudeCode/settingsGlobalGet': () => Promise<RemoteResult<ClaudeGlobalSettingsView>>
|
|
47
|
+
'zerowallClaudeCode/settingsGlobalUpdate': (changes: Record<string, string>) => Promise<RemoteResult<ClaudeGlobalSettingsView>>
|
|
48
|
+
'zerowallClaudeCode/settingsInstall': () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
49
|
+
'zerowallClaudeCode/settingsRollback': () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
50
|
+
'zerowallClaudeCode/settingsStatus': () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
51
|
+
'zerowallClaudeCode/settingsUninstall': () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
52
|
+
'zerowallClaudeCode/settingsUpdate': (input: Partial<ClaudeNativeSettings>) => Promise<RemoteResult<ClaudeNativeSettings>>
|
|
53
|
+
'zerowallClaudeCode/status': (agentId: SessionId) => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
54
|
+
'zerowallClaudeCode/stop': (agentId: SessionId) => Promise<RemoteResult<void>>
|
|
55
|
+
'zerowallClaudeCode/uninstall': (agentId: SessionId) => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
56
|
+
}
|
|
57
|
+
interface TypertRemoteNamespaceMap {
|
|
58
|
+
'zerowallClaudeCode': TypertRemoteNamespace$7a65726f77616c6c436c61756465436f6465
|
|
59
|
+
}
|
|
60
|
+
interface TypertRemoteScopeMap {
|
|
61
|
+
'agent:zerowallClaudeCode/clear': () => Promise<RemoteResult<void>>
|
|
62
|
+
'agent:zerowallClaudeCode/cliSetModel': (model: string) => Promise<RemoteResult<ClaudeCliState>>
|
|
63
|
+
'agent:zerowallClaudeCode/cliSetPermissionMode': (mode: ClaudePermissionMode) => Promise<RemoteResult<ClaudeCliState>>
|
|
64
|
+
'agent:zerowallClaudeCode/contextUsage': (detail?: 'summary' | 'full') => Promise<RemoteResult<ClaudeCliState>>
|
|
65
|
+
'agent:zerowallClaudeCode/installCli': () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
66
|
+
'agent:zerowallClaudeCode/permissionSet': (value: string) => Promise<RemoteResult<ClaudePermissionView>>
|
|
67
|
+
'agent:zerowallClaudeCode/permissionView': () => Promise<RemoteResult<ClaudePermissionView>>
|
|
68
|
+
'agent:zerowallClaudeCode/read': () => Promise<RemoteResult<ClaudeCodeTurn | null>>
|
|
69
|
+
'agent:zerowallClaudeCode/readTranscript': (turn: number, step: number) => Promise<RemoteResult<ClaudeTranscript | null>>
|
|
70
|
+
'agent:zerowallClaudeCode/rollback': () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
71
|
+
'agent:zerowallClaudeCode/status': () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
72
|
+
'agent:zerowallClaudeCode/stop': () => Promise<RemoteResult<void>>
|
|
73
|
+
'agent:zerowallClaudeCode/uninstall': () => Promise<RemoteResult<ClaudeCodeStatus>>
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export declare const TYPERT_REMOTE: TypertRemoteInfo<{
|
|
78
|
+
readonly 'zerowallClaudeCode/clear': TypertRemoteMethod<{ readonly 'agentId': SessionId }, void>
|
|
79
|
+
readonly 'zerowallClaudeCode/cliSetModel': TypertRemoteMethod<{ readonly 'agentId': SessionId; readonly 'model': string }, ClaudeCliState>
|
|
80
|
+
readonly 'zerowallClaudeCode/cliSetPermissionMode': TypertRemoteMethod<{ readonly 'agentId': SessionId; readonly 'mode': ClaudePermissionMode }, ClaudeCliState>
|
|
81
|
+
readonly 'zerowallClaudeCode/contextUsage': TypertRemoteMethod<{ readonly 'agentId': SessionId; readonly 'detail'?: 'summary' | 'full' }, ClaudeCliState>
|
|
82
|
+
readonly 'zerowallClaudeCode/installCli': TypertRemoteMethod<{ readonly 'agentId': SessionId }, ClaudeCodeStatus>
|
|
83
|
+
readonly 'zerowallClaudeCode/permissionSet': TypertRemoteMethod<{ readonly 'agentId': SessionId; readonly 'value': string }, ClaudePermissionView>
|
|
84
|
+
readonly 'zerowallClaudeCode/permissionView': TypertRemoteMethod<{ readonly 'agentId': SessionId }, ClaudePermissionView>
|
|
85
|
+
readonly 'zerowallClaudeCode/read': TypertRemoteMethod<{ readonly 'agentId': SessionId }, ClaudeCodeTurn | null>
|
|
86
|
+
readonly 'zerowallClaudeCode/readTranscript': TypertRemoteMethod<{ readonly 'agentId': SessionId; readonly 'turn': number; readonly 'step': number }, ClaudeTranscript | null>
|
|
87
|
+
readonly 'zerowallClaudeCode/rollback': TypertRemoteMethod<{ readonly 'agentId': SessionId }, ClaudeCodeStatus>
|
|
88
|
+
readonly 'zerowallClaudeCode/settingsGet': TypertRemoteMethod<{ }, ClaudeNativeSettings>
|
|
89
|
+
readonly 'zerowallClaudeCode/settingsGlobalGet': TypertRemoteMethod<{ }, ClaudeGlobalSettingsView>
|
|
90
|
+
readonly 'zerowallClaudeCode/settingsGlobalUpdate': TypertRemoteMethod<{ readonly 'changes': Record<string, string> }, ClaudeGlobalSettingsView>
|
|
91
|
+
readonly 'zerowallClaudeCode/settingsInstall': TypertRemoteMethod<{ }, ClaudeCodeStatus>
|
|
92
|
+
readonly 'zerowallClaudeCode/settingsRollback': TypertRemoteMethod<{ }, ClaudeCodeStatus>
|
|
93
|
+
readonly 'zerowallClaudeCode/settingsStatus': TypertRemoteMethod<{ }, ClaudeCodeStatus>
|
|
94
|
+
readonly 'zerowallClaudeCode/settingsUninstall': TypertRemoteMethod<{ }, ClaudeCodeStatus>
|
|
95
|
+
readonly 'zerowallClaudeCode/settingsUpdate': TypertRemoteMethod<{ readonly 'input': Partial<ClaudeNativeSettings> }, ClaudeNativeSettings>
|
|
96
|
+
readonly 'zerowallClaudeCode/status': TypertRemoteMethod<{ readonly 'agentId': SessionId }, ClaudeCodeStatus>
|
|
97
|
+
readonly 'zerowallClaudeCode/stop': TypertRemoteMethod<{ readonly 'agentId': SessionId }, void>
|
|
98
|
+
readonly 'zerowallClaudeCode/uninstall': TypertRemoteMethod<{ readonly 'agentId': SessionId }, ClaudeCodeStatus>
|
|
99
|
+
}>
|
|
100
|
+
export default TYPERT_REMOTE
|
|
101
|
+
//# sourceMappingURL=typert.remote-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typert.remote-client.d.ts","names":["clear","cliSetModel","cliSetPermissionMode","contextUsage","installCli","permissionSet","permissionView","read","readTranscript","rollback","settingsGet","settingsGlobalGet","settingsGlobalUpdate","settingsInstall","settingsRollback","settingsStatus","settingsUninstall","settingsUpdate","status","stop","uninstall"],"sources":["../src/host/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;IA44CEA,K;IA5CMC,W;IASAC,oB;IA1BAC,Y;IAnxBAC,U;IAgEAC,a;IAtBAC,c;IA2wBNC,I;IAKAC,c;IAxzBMC,Q;IA/QAC,W;IA0DAC,iB;IA+BAC,oB;IA2LAC,e;IAEAC,gB;IAzRAC,c;IA2RAC,iB;IA3QAC,c;IAtBAC,M;IA8lCAC,I;IAp0BAC,S;;;IA40BNpB,0B;IA5CMC,gC;IASAC,yC;IA1BAC,iC;IAnxBAC,+B;IAgEAC,kC;IAtBAC,mC;IA2wBNC,yB;IAKAC,mC;IAxzBMC,6B;IA/QAC,gC;IA0DAC,sC;IA+BAC,yC;IA2LAC,oC;IAEAC,qC;IAzRAC,mC;IA2RAC,sC;IA3QAC,mC;IAtBAC,2B;IA8lCAC,yB;IAp0BAC,8B;;;;;;IA40BNpB,gC;IA5CMC,sC;IASAC,+C;IA1BAC,uC;IAnxBAC,qC;IAgEAC,wC;IAtBAC,yC;IA2wBNC,+B;IAKAC,yC;IAxzBMC,mC;IAxRAS,iC;IA8lCAC,+B;IAp0BAC,oC","ignoreList":[]}
|