@myclaw163/clawclaw 0.0.0-stage → 0.2.2-rc.5-alpha.7
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/cordis.patch.yml +17 -0
- package/lib/client.js +3 -0
- package/lib/client.js.map +1 -0
- package/lib/index.js +2962 -0
- package/lib/typert.host.d.ts +3 -0
- package/lib/typert.host.js +1640 -0
- package/lib/typert.remote-client.d.ts +70 -0
- package/lib/typert.remote-client.d.ts.map +1 -0
- package/lib/typert.remote-client.js +804 -0
- package/lib/types/account-state.d.ts +17 -0
- package/lib/types/account-state.d.ts.map +1 -0
- package/lib/types/account-state.js.map +1 -0
- package/lib/types/auth.d.ts +25 -0
- package/lib/types/auth.d.ts.map +1 -0
- package/lib/types/auth.js.map +1 -0
- package/lib/types/browser-pages.d.ts +40 -0
- package/lib/types/browser-pages.d.ts.map +1 -0
- package/lib/types/browser-pages.js.map +1 -0
- package/lib/types/client/AutoOpen.d.ts +24 -0
- package/lib/types/client/AutoOpen.d.ts.map +1 -0
- package/lib/types/client/AutoOpen.js.map +1 -0
- package/lib/types/client/ChatOverlay.d.ts +27 -0
- package/lib/types/client/ChatOverlay.d.ts.map +1 -0
- package/lib/types/client/ChatOverlay.js.map +1 -0
- package/lib/types/client/GuideCard.d.ts +24 -0
- package/lib/types/client/GuideCard.d.ts.map +1 -0
- package/lib/types/client/GuideCard.js.map +1 -0
- package/lib/types/client/PageLauncher.d.ts +25 -0
- package/lib/types/client/PageLauncher.d.ts.map +1 -0
- package/lib/types/client/PageLauncher.js.map +1 -0
- package/lib/types/client/QuickCommand.d.ts +14 -0
- package/lib/types/client/QuickCommand.d.ts.map +1 -0
- package/lib/types/client/QuickCommand.js.map +1 -0
- package/lib/types/client/SessionMark.d.ts +12 -0
- package/lib/types/client/SessionMark.d.ts.map +1 -0
- package/lib/types/client/SessionMark.js.map +1 -0
- package/lib/types/client/Title.d.ts +9 -0
- package/lib/types/client/Title.d.ts.map +1 -0
- package/lib/types/client/Title.js.map +1 -0
- package/lib/types/client/View.d.ts +77 -0
- package/lib/types/client/View.d.ts.map +1 -0
- package/lib/types/client/View.js.map +1 -0
- package/lib/types/client/browser-pages.d.ts +24 -0
- package/lib/types/client/browser-pages.d.ts.map +1 -0
- package/lib/types/client/browser-pages.js.map +1 -0
- package/lib/types/client/capability-reference.d.ts +19 -0
- package/lib/types/client/capability-reference.d.ts.map +1 -0
- package/lib/types/client/capability-reference.js.map +1 -0
- package/lib/types/client/chat-geometry.d.ts +90 -0
- package/lib/types/client/chat-geometry.d.ts.map +1 -0
- package/lib/types/client/chat-geometry.js.map +1 -0
- package/lib/types/client/chat-layout.d.ts +30 -0
- package/lib/types/client/chat-layout.d.ts.map +1 -0
- package/lib/types/client/chat-layout.js.map +1 -0
- package/lib/types/client/chat-resize.d.ts +12 -0
- package/lib/types/client/chat-resize.d.ts.map +1 -0
- package/lib/types/client/chat-resize.js.map +1 -0
- package/lib/types/client/distribution.d.ts +3 -0
- package/lib/types/client/distribution.d.ts.map +1 -0
- package/lib/types/client/distribution.js.map +1 -0
- package/lib/types/client/index.d.ts +8 -0
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/client/index.js.map +1 -0
- package/lib/types/client/launcher-menu.d.ts +40 -0
- package/lib/types/client/launcher-menu.d.ts.map +1 -0
- package/lib/types/client/launcher-menu.js.map +1 -0
- package/lib/types/client/launcher-request.d.ts +16 -0
- package/lib/types/client/launcher-request.d.ts.map +1 -0
- package/lib/types/client/launcher-request.js.map +1 -0
- package/lib/types/client/launcher.d.ts +57 -0
- package/lib/types/client/launcher.d.ts.map +1 -0
- package/lib/types/client/launcher.js.map +1 -0
- package/lib/types/client/locales.d.ts +44 -0
- package/lib/types/client/locales.d.ts.map +1 -0
- package/lib/types/client/locales.js.map +1 -0
- package/lib/types/client/login-tab.d.ts +10 -0
- package/lib/types/client/login-tab.d.ts.map +1 -0
- package/lib/types/client/login-tab.js.map +1 -0
- package/lib/types/client/open-game-tab.d.ts +25 -0
- package/lib/types/client/open-game-tab.d.ts.map +1 -0
- package/lib/types/client/open-game-tab.js.map +1 -0
- package/lib/types/client/pages.d.ts +23 -0
- package/lib/types/client/pages.d.ts.map +1 -0
- package/lib/types/client/pages.js.map +1 -0
- package/lib/types/client/spectator-float.d.ts +16 -0
- package/lib/types/client/spectator-float.d.ts.map +1 -0
- package/lib/types/client/spectator-float.js.map +1 -0
- package/lib/types/client/strategy-input.d.ts +20 -0
- package/lib/types/client/strategy-input.d.ts.map +1 -0
- package/lib/types/client/strategy-input.js.map +1 -0
- package/lib/types/client/ui.d.ts +22 -0
- package/lib/types/client/ui.d.ts.map +1 -0
- package/lib/types/client/ui.js.map +1 -0
- package/lib/types/commands.d.ts +8 -0
- package/lib/types/commands.d.ts.map +1 -0
- package/lib/types/commands.js.map +1 -0
- package/lib/types/controller.d.ts +110 -0
- package/lib/types/controller.d.ts.map +1 -0
- package/lib/types/controller.js.map +1 -0
- package/lib/types/diagnostics.d.ts +38 -0
- package/lib/types/diagnostics.d.ts.map +1 -0
- package/lib/types/diagnostics.js.map +1 -0
- package/lib/types/distribution.d.ts +3 -0
- package/lib/types/distribution.d.ts.map +1 -0
- package/lib/types/distribution.js.map +1 -0
- package/lib/types/error.d.ts +9 -0
- package/lib/types/error.d.ts.map +1 -0
- package/lib/types/error.js.map +1 -0
- package/lib/types/events.d.ts +32 -0
- package/lib/types/events.d.ts.map +1 -0
- package/lib/types/events.js.map +1 -0
- package/lib/types/game-login.d.ts +20 -0
- package/lib/types/game-login.d.ts.map +1 -0
- package/lib/types/game-login.js.map +1 -0
- package/lib/types/game-route.d.ts +19 -0
- package/lib/types/game-route.d.ts.map +1 -0
- package/lib/types/game-route.js.map +1 -0
- package/lib/types/global-ccl.d.ts +43 -0
- package/lib/types/global-ccl.d.ts.map +1 -0
- package/lib/types/global-ccl.js.map +1 -0
- package/lib/types/index.d.ts +219 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/navigation.d.ts +32 -0
- package/lib/types/navigation.d.ts.map +1 -0
- package/lib/types/navigation.js.map +1 -0
- package/lib/types/ownership.d.ts +30 -0
- package/lib/types/ownership.d.ts.map +1 -0
- package/lib/types/ownership.js.map +1 -0
- package/lib/types/pages.d.ts +105 -0
- package/lib/types/pages.d.ts.map +1 -0
- package/lib/types/pages.js.map +1 -0
- package/lib/types/participation.d.ts +8 -0
- package/lib/types/participation.d.ts.map +1 -0
- package/lib/types/participation.js.map +1 -0
- package/lib/types/process.d.ts +37 -0
- package/lib/types/process.d.ts.map +1 -0
- package/lib/types/process.js.map +1 -0
- package/lib/types/projection.d.ts +69 -0
- package/lib/types/projection.d.ts.map +1 -0
- package/lib/types/projection.js.map +1 -0
- package/lib/types/skill.d.ts +37 -0
- package/lib/types/skill.d.ts.map +1 -0
- package/lib/types/skill.js.map +1 -0
- package/lib/types/standalone-account.d.ts +25 -0
- package/lib/types/standalone-account.d.ts.map +1 -0
- package/lib/types/standalone-account.js.map +1 -0
- package/lib/types/types.d.ts +60 -0
- package/lib/types/types.d.ts.map +1 -0
- package/lib/types/types.js.map +1 -0
- package/locale/de.json +6 -0
- package/locale/en.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +95 -3
- package/plugin-icon.png +0 -0
- package/src/account-state.ts +38 -0
- package/src/browser-pages.ts +43 -0
- package/src/client/AutoOpen.tsx +46 -0
- package/src/client/ChatOverlay.tsx +133 -0
- package/src/client/GuideCard.module.css +11 -0
- package/src/client/GuideCard.tsx +53 -0
- package/src/client/PageLauncher.module.css +52 -0
- package/src/client/PageLauncher.tsx +40 -0
- package/src/client/QuickCommand.module.css +7 -0
- package/src/client/QuickCommand.tsx +22 -0
- package/src/client/SessionMark.tsx +14 -0
- package/src/client/Title.tsx +11 -0
- package/src/client/View.tsx +521 -0
- package/src/client/browser-pages.ts +91 -0
- package/src/client/capability-reference.ts +50 -0
- package/src/client/chat-geometry.ts +257 -0
- package/src/client/chat-layout.ts +61 -0
- package/src/client/chat-overlay.module.css +32 -0
- package/src/client/chat-resize.ts +48 -0
- package/src/client/distribution.ts +4 -0
- package/src/client/index.ts +16 -0
- package/src/client/launcher-menu.tsx +74 -0
- package/src/client/launcher-request.ts +29 -0
- package/src/client/launcher.ts +80 -0
- package/src/client/locales.ts +75 -0
- package/src/client/login-tab.tsx +110 -0
- package/src/client/open-game-tab.ts +58 -0
- package/src/client/pages.ts +13 -0
- package/src/client/spectator.module.css +14 -0
- package/src/client/strategy-input.ts +48 -0
- package/src/client/ui.ts +393 -0
- package/src/commands.ts +52 -0
- package/src/controller.ts +142 -0
- package/src/css-modules.d.ts +5 -0
- package/src/diagnostics.ts +114 -0
- package/src/distribution.ts +4 -0
- package/src/error.ts +10 -0
- package/src/events.ts +92 -0
- package/src/game-login.ts +122 -0
- package/src/game-route.ts +17 -0
- package/src/global-ccl.ts +203 -0
- package/src/index.ts +1185 -0
- package/src/navigation.ts +85 -0
- package/src/ownership.ts +63 -0
- package/src/pages.ts +62 -0
- package/src/participation.ts +18 -0
- package/src/process.ts +147 -0
- package/src/projection.ts +81 -0
- package/src/skill.ts +88 -0
- package/src/standalone-account.ts +69 -0
- package/src/types.ts +54 -0
- package/README.md +0 -3
|
@@ -0,0 +1,804 @@
|
|
|
1
|
+
/* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
|
|
2
|
+
import { z } from 'zod'
|
|
3
|
+
|
|
4
|
+
import { createTypertRemoteInfo } from '@deepseek-ai/dsh-typert-protocol/remote-info'
|
|
5
|
+
|
|
6
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_parameter_0$schema$value
|
|
7
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_parameter_0$schema$value ??= z.string())
|
|
8
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_result$schema$value
|
|
9
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_result$schema$value ??= z.object({
|
|
10
|
+
'state': z.string(),
|
|
11
|
+
'url': z.string(),
|
|
12
|
+
}))
|
|
13
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_0$schema$value
|
|
14
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_0$schema$value ??= z.string())
|
|
15
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_1$schema$value
|
|
16
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_1$schema$value ??= z.union([z.literal("profile"), z.literal("game"), z.literal("preparation"), z.literal("leaderboard"), z.literal("level-tasks"), z.literal("highlight-matches"), z.literal("shop"), z.literal("wardrobe")]))
|
|
17
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_2$schema$value
|
|
18
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_2$schema$value ??= z.string())
|
|
19
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_3$schema$value
|
|
20
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_3$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_3$schema$value ??= z.string())
|
|
21
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_result$schema$value
|
|
22
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_result$schema$value ??= z.void())
|
|
23
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_parameter_0$schema$value
|
|
24
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_parameter_0$schema$value ??= z.string())
|
|
25
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_result$schema$value
|
|
26
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_result$schema$value ??= z.void())
|
|
27
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_parameter_0$schema$value
|
|
28
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_parameter_0$schema$value ??= z.string())
|
|
29
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_result$schema$value
|
|
30
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_result$schema$value ??= z.boolean())
|
|
31
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_0$schema$value
|
|
32
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_0$schema$value ??= z.string())
|
|
33
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_1$schema$value
|
|
34
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_1$schema$value ??= z.string())
|
|
35
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_2$schema$value
|
|
36
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_2$schema$value ??= z.union([z.literal("unconfirmed"), z.literal("opened"), z.literal("focused"), z.literal("login-required")]))
|
|
37
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_result$schema$value
|
|
38
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_result$schema$value ??= z.void())
|
|
39
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_0$schema$value
|
|
40
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_0$schema$value ??= z.union([z.literal("profile"), z.literal("preparation"), z.literal("leaderboard"), z.literal("level-tasks"), z.literal("highlight-matches"), z.literal("shop"), z.literal("wardrobe")]))
|
|
41
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_1$schema$value
|
|
42
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
43
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_result$schema$value
|
|
44
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_result$schema$value ??= z.string())
|
|
45
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_parameter_0$schema$value
|
|
46
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_parameter_0$schema$value ??= z.string())
|
|
47
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_result$schema$value
|
|
48
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_result$schema$value ??= z.object({
|
|
49
|
+
'host_type': z.literal("desktop"),
|
|
50
|
+
'host_instance_id': z.string(),
|
|
51
|
+
'host_session_id': z.string(),
|
|
52
|
+
'client_kind': z.union([z.literal("fork"), z.literal("official")]),
|
|
53
|
+
'distribution_target': z.string(),
|
|
54
|
+
}))
|
|
55
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_0$schema$value
|
|
56
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_0$schema$value ??= z.string())
|
|
57
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_1$schema$value
|
|
58
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_1$schema$value ??= z.union([z.literal("prepare-room-creation"), z.literal("start-ranked-match"), z.literal("resume-current-participation"), z.literal("quit-match"), z.literal("create-friend-room"), z.literal("create-training-room"), z.literal("start-competition")]))
|
|
59
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_2$schema$value
|
|
60
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_2$schema$value ??= z.union([z.literal("zh-CN"), z.literal("en-US")]))
|
|
61
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_result$schema$value
|
|
62
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_result$schema$value ??= z.union([z.object({
|
|
63
|
+
'status': z.literal("submitted").readonly(),
|
|
64
|
+
}), z.object({
|
|
65
|
+
'status': z.literal("failed").readonly(),
|
|
66
|
+
'code': z.union([z.literal("in-match-blocked"), z.literal("submission-failed"), z.literal("ccl-missing"), z.literal("ccl-incompatible")]).readonly(),
|
|
67
|
+
})]))
|
|
68
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_parameter_0$schema$value
|
|
69
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_parameter_0$schema$value ??= z.string())
|
|
70
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_result$schema$value
|
|
71
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_result$schema$value ??= z.string())
|
|
72
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_parameter_0$schema$value
|
|
73
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_parameter_0$schema$value ??= z.string())
|
|
74
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_result$schema$value
|
|
75
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_result$schema$value ??= z.string())
|
|
76
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_0$schema$value
|
|
77
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_0$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
78
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_1$schema$value
|
|
79
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_1$schema$value ??= z.boolean())
|
|
80
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_2$schema$value
|
|
81
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_2$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_2$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
82
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_result$schema$value
|
|
83
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_result$schema$value ??= z.boolean())
|
|
84
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_usePlatformGameAccount_result$schema$value
|
|
85
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_usePlatformGameAccount_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_usePlatformGameAccount_result$schema$value ??= z.boolean())
|
|
86
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_0$schema$value
|
|
87
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_0$schema$value ??= z.string())
|
|
88
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_1$schema$value
|
|
89
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_1$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_1$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
90
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_result$schema$value
|
|
91
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_result$schema$value ??= z.void())
|
|
92
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchAccount_result$schema$value
|
|
93
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchAccount_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchAccount_result$schema$value ??= z.object({
|
|
94
|
+
'revision': z.number().readonly().describe('宿主进程内递增,重连沿用最新值。'),
|
|
95
|
+
'loggedIn': z.boolean().readonly(),
|
|
96
|
+
'source': z.string().readonly().optional(),
|
|
97
|
+
}))
|
|
98
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_parameter_0$schema$value
|
|
99
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_parameter_0$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_parameter_0$schema$value ??= z.string())
|
|
100
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_result$schema$value
|
|
101
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_result$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_result$schema$value ??= z.union([z.object({
|
|
102
|
+
'type': z.literal("ready").readonly(),
|
|
103
|
+
}), z.object({
|
|
104
|
+
'type': z.literal("cancel").readonly(),
|
|
105
|
+
'id': z.string().readonly(),
|
|
106
|
+
}), z.object({
|
|
107
|
+
'type': z.literal("open").readonly(),
|
|
108
|
+
'id': z.string().readonly(),
|
|
109
|
+
'sessionId': z.string().readonly(),
|
|
110
|
+
'page': z.union([z.literal("profile"), z.literal("game"), z.literal("preparation"), z.literal("leaderboard"), z.literal("level-tasks"), z.literal("highlight-matches"), z.literal("shop"), z.literal("wardrobe"), z.literal("game-intro"), z.literal("skills-hub")]).readonly(),
|
|
111
|
+
})]))
|
|
112
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_parameter_0_strict$schema$value
|
|
113
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_parameter_0_strict$schema$value ??= z.string())
|
|
114
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_0_strict$schema$value
|
|
115
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_0_strict$schema$value ??= z.string())
|
|
116
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_1_strict$schema$value
|
|
117
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_1_strict$schema$value ??= z.union([z.literal("profile"), z.literal("game"), z.literal("preparation"), z.literal("leaderboard"), z.literal("level-tasks"), z.literal("highlight-matches"), z.literal("shop"), z.literal("wardrobe")]))
|
|
118
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_2_strict$schema$value
|
|
119
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_2_strict$schema$value ??= z.string())
|
|
120
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_3_strict$schema$value
|
|
121
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_3_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_3_strict$schema$value ??= z.string())
|
|
122
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_parameter_0_strict$schema$value
|
|
123
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_parameter_0_strict$schema$value ??= z.string())
|
|
124
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_parameter_0_strict$schema$value
|
|
125
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_parameter_0_strict$schema$value ??= z.string())
|
|
126
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_0_strict$schema$value
|
|
127
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_0_strict$schema$value ??= z.string())
|
|
128
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_1_strict$schema$value
|
|
129
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_1_strict$schema$value ??= z.string())
|
|
130
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_2_strict$schema$value
|
|
131
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_2_strict$schema$value ??= z.union([z.literal("unconfirmed"), z.literal("opened"), z.literal("focused"), z.literal("login-required")]))
|
|
132
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_0_strict$schema$value
|
|
133
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_0_strict$schema$value ??= z.union([z.literal("profile"), z.literal("preparation"), z.literal("leaderboard"), z.literal("level-tasks"), z.literal("highlight-matches"), z.literal("shop"), z.literal("wardrobe")]))
|
|
134
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_1_strict$schema$value
|
|
135
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_1_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
136
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_parameter_0_strict$schema$value
|
|
137
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_parameter_0_strict$schema$value ??= z.string())
|
|
138
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_0_strict$schema$value
|
|
139
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_0_strict$schema$value ??= z.string())
|
|
140
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_1_strict$schema$value
|
|
141
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_1_strict$schema$value ??= z.union([z.literal("prepare-room-creation"), z.literal("start-ranked-match"), z.literal("resume-current-participation"), z.literal("quit-match"), z.literal("create-friend-room"), z.literal("create-training-room"), z.literal("start-competition")]))
|
|
142
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_2_strict$schema$value
|
|
143
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_2_strict$schema$value ??= z.union([z.literal("zh-CN"), z.literal("en-US")]))
|
|
144
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_parameter_0_strict$schema$value
|
|
145
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_parameter_0_strict$schema$value ??= z.string())
|
|
146
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_parameter_0_strict$schema$value
|
|
147
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_parameter_0_strict$schema$value ??= z.string())
|
|
148
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_0_strict$schema$value
|
|
149
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_0_strict$schema$value ??= z.union([z.literal(null), z.string()]))
|
|
150
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_1_strict$schema$value
|
|
151
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_1_strict$schema$value ??= z.boolean())
|
|
152
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_2_strict$schema$value
|
|
153
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_2_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_2_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
154
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_0_strict$schema$value
|
|
155
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_0_strict$schema$value ??= z.string())
|
|
156
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_1_strict$schema$value
|
|
157
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_1_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_1_strict$schema$value ??= z.union([z.undefined(), z.string()]))
|
|
158
|
+
let _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_parameter_0_strict$schema$value
|
|
159
|
+
const _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_parameter_0_strict$schema = () => (_deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_parameter_0_strict$schema$value ??= z.string())
|
|
160
|
+
|
|
161
|
+
export const TYPERT_REMOTE = createTypertRemoteInfo({
|
|
162
|
+
package: '@myclaw163/clawclaw',
|
|
163
|
+
methods: {
|
|
164
|
+
'clawclaw/beginGameLogin': {
|
|
165
|
+
service: 'clawclawController',
|
|
166
|
+
description: '发起官方插件的游戏登录。',
|
|
167
|
+
invocation: { kind: 'direct' },
|
|
168
|
+
parameters: [
|
|
169
|
+
{
|
|
170
|
+
name: 'sessionId',
|
|
171
|
+
description: '发起会话。',
|
|
172
|
+
source: 'json',
|
|
173
|
+
codec: {
|
|
174
|
+
mode: 'strict',
|
|
175
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
176
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_parameter_0$schema,
|
|
177
|
+
jsonSchema: {"type":"string"},
|
|
178
|
+
},
|
|
179
|
+
strictCodec: {
|
|
180
|
+
mode: 'strict',
|
|
181
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
182
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_parameter_0_strict$schema,
|
|
183
|
+
jsonSchema: {"type":"string"},
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
result: {
|
|
188
|
+
mode: 'strict',
|
|
189
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/beginGameLogin:result',
|
|
190
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_beginGameLogin_result$schema,
|
|
191
|
+
description: '一次性授权入口。',
|
|
192
|
+
jsonSchema: {"type":"object","properties":{"state":{"type":"string"},"url":{"type":"string"}},"required":["state","url"],"additionalProperties":true},
|
|
193
|
+
},
|
|
194
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":106,"column":3},
|
|
195
|
+
},
|
|
196
|
+
'clawclaw/browserDiagnostic': {
|
|
197
|
+
service: 'clawclawController',
|
|
198
|
+
description: '记录来源已由标签页验证的内嵌页面错误。',
|
|
199
|
+
invocation: { kind: 'direct' },
|
|
200
|
+
parameters: [
|
|
201
|
+
{
|
|
202
|
+
name: 'sessionId',
|
|
203
|
+
description: '标签所属会话。',
|
|
204
|
+
source: 'json',
|
|
205
|
+
codec: {
|
|
206
|
+
mode: 'strict',
|
|
207
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
208
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_0$schema,
|
|
209
|
+
jsonSchema: {"type":"string"},
|
|
210
|
+
},
|
|
211
|
+
strictCodec: {
|
|
212
|
+
mode: 'strict',
|
|
213
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
214
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_0_strict$schema,
|
|
215
|
+
jsonSchema: {"type":"string"},
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: 'page',
|
|
220
|
+
description: '插件页面标识。',
|
|
221
|
+
source: 'json',
|
|
222
|
+
codec: {
|
|
223
|
+
mode: 'strict',
|
|
224
|
+
typeSymbol: '@myclaw163/clawclaw/types#Page',
|
|
225
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_1$schema,
|
|
226
|
+
jsonSchema: {"type":"string","enum":["profile","game","preparation","leaderboard","level-tasks","highlight-matches","shop","wardrobe"]},
|
|
227
|
+
},
|
|
228
|
+
strictCodec: {
|
|
229
|
+
mode: 'strict',
|
|
230
|
+
typeSymbol: '@myclaw163/clawclaw/types#Page',
|
|
231
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_1_strict$schema,
|
|
232
|
+
jsonSchema: {"type":"string","enum":["profile","game","preparation","leaderboard","level-tasks","highlight-matches","shop","wardrobe"]},
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: 'path',
|
|
237
|
+
description: '不含认证查询参数的页面路径。',
|
|
238
|
+
source: 'json',
|
|
239
|
+
codec: {
|
|
240
|
+
mode: 'strict',
|
|
241
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/browserDiagnostic:path',
|
|
242
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_2$schema,
|
|
243
|
+
jsonSchema: {"type":"string"},
|
|
244
|
+
},
|
|
245
|
+
strictCodec: {
|
|
246
|
+
mode: 'strict',
|
|
247
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/browserDiagnostic:path',
|
|
248
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_2_strict$schema,
|
|
249
|
+
jsonSchema: {"type":"string"},
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: 'message',
|
|
254
|
+
description: '有界浏览器错误摘要;导出时统一脱敏。',
|
|
255
|
+
source: 'json',
|
|
256
|
+
codec: {
|
|
257
|
+
mode: 'strict',
|
|
258
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/browserDiagnostic:message',
|
|
259
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_3$schema,
|
|
260
|
+
jsonSchema: {"type":"string"},
|
|
261
|
+
},
|
|
262
|
+
strictCodec: {
|
|
263
|
+
mode: 'strict',
|
|
264
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/browserDiagnostic:message',
|
|
265
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_parameter_3_strict$schema,
|
|
266
|
+
jsonSchema: {"type":"string"},
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
result: {
|
|
271
|
+
mode: 'strict',
|
|
272
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/browserDiagnostic:result',
|
|
273
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_browserDiagnostic_result$schema,
|
|
274
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
275
|
+
},
|
|
276
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":130,"column":3},
|
|
277
|
+
},
|
|
278
|
+
'clawclaw/cancelGameLogin': {
|
|
279
|
+
service: 'clawclawController',
|
|
280
|
+
description: '取消游戏授权。',
|
|
281
|
+
invocation: { kind: 'direct' },
|
|
282
|
+
parameters: [
|
|
283
|
+
{
|
|
284
|
+
name: 'state',
|
|
285
|
+
description: '授权的随机 state。',
|
|
286
|
+
source: 'json',
|
|
287
|
+
codec: {
|
|
288
|
+
mode: 'strict',
|
|
289
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/cancelGameLogin:state',
|
|
290
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_parameter_0$schema,
|
|
291
|
+
jsonSchema: {"type":"string"},
|
|
292
|
+
},
|
|
293
|
+
strictCodec: {
|
|
294
|
+
mode: 'strict',
|
|
295
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/cancelGameLogin:state',
|
|
296
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_parameter_0_strict$schema,
|
|
297
|
+
jsonSchema: {"type":"string"},
|
|
298
|
+
},
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
result: {
|
|
302
|
+
mode: 'strict',
|
|
303
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/cancelGameLogin:result',
|
|
304
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_cancelGameLogin_result$schema,
|
|
305
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
306
|
+
},
|
|
307
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":117,"column":3},
|
|
308
|
+
},
|
|
309
|
+
'clawclaw/completeGameLogin': {
|
|
310
|
+
service: 'clawclawController',
|
|
311
|
+
description: '等待游戏登录结果。',
|
|
312
|
+
invocation: { kind: 'direct' },
|
|
313
|
+
parameters: [
|
|
314
|
+
{
|
|
315
|
+
name: 'state',
|
|
316
|
+
description: '授权的随机 state。',
|
|
317
|
+
source: 'json',
|
|
318
|
+
codec: {
|
|
319
|
+
mode: 'strict',
|
|
320
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/completeGameLogin:state',
|
|
321
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_parameter_0$schema,
|
|
322
|
+
jsonSchema: {"type":"string"},
|
|
323
|
+
},
|
|
324
|
+
strictCodec: {
|
|
325
|
+
mode: 'strict',
|
|
326
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/completeGameLogin:state',
|
|
327
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_parameter_0_strict$schema,
|
|
328
|
+
jsonSchema: {"type":"string"},
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
result: {
|
|
333
|
+
mode: 'strict',
|
|
334
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/completeGameLogin:result',
|
|
335
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeGameLogin_result$schema,
|
|
336
|
+
description: '游戏账号是否绑定成功。',
|
|
337
|
+
jsonSchema: {"type":"boolean"},
|
|
338
|
+
},
|
|
339
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":112,"column":3},
|
|
340
|
+
},
|
|
341
|
+
'clawclaw/completeNavigation': {
|
|
342
|
+
service: 'clawclawController',
|
|
343
|
+
description: '提交游戏页面确认结果。',
|
|
344
|
+
invocation: { kind: 'direct' },
|
|
345
|
+
parameters: [
|
|
346
|
+
{
|
|
347
|
+
name: 'sessionId',
|
|
348
|
+
description: '导航所属会话。',
|
|
349
|
+
source: 'json',
|
|
350
|
+
codec: {
|
|
351
|
+
mode: 'strict',
|
|
352
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
353
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_0$schema,
|
|
354
|
+
jsonSchema: {"type":"string"},
|
|
355
|
+
},
|
|
356
|
+
strictCodec: {
|
|
357
|
+
mode: 'strict',
|
|
358
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
359
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_0_strict$schema,
|
|
360
|
+
jsonSchema: {"type":"string"},
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
name: 'id',
|
|
365
|
+
description: '工具调用 ID。',
|
|
366
|
+
source: 'json',
|
|
367
|
+
codec: {
|
|
368
|
+
mode: 'strict',
|
|
369
|
+
typeSymbol: '@deepseek-ai/dsh-llm/brand#ToolCallId',
|
|
370
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_1$schema,
|
|
371
|
+
jsonSchema: {"type":"string"},
|
|
372
|
+
},
|
|
373
|
+
strictCodec: {
|
|
374
|
+
mode: 'strict',
|
|
375
|
+
typeSymbol: '@deepseek-ai/dsh-llm/brand#ToolCallId',
|
|
376
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_1_strict$schema,
|
|
377
|
+
jsonSchema: {"type":"string"},
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
name: 'status',
|
|
382
|
+
description: '页面确认结果。',
|
|
383
|
+
source: 'json',
|
|
384
|
+
codec: {
|
|
385
|
+
mode: 'strict',
|
|
386
|
+
typeSymbol: '@myclaw163/clawclaw/types#NavigationStatus',
|
|
387
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_2$schema,
|
|
388
|
+
jsonSchema: {"type":"string","enum":["unconfirmed","opened","focused","login-required"]},
|
|
389
|
+
},
|
|
390
|
+
strictCodec: {
|
|
391
|
+
mode: 'strict',
|
|
392
|
+
typeSymbol: '@myclaw163/clawclaw/types#NavigationStatus',
|
|
393
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_parameter_2_strict$schema,
|
|
394
|
+
jsonSchema: {"type":"string","enum":["unconfirmed","opened","focused","login-required"]},
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
result: {
|
|
399
|
+
mode: 'strict',
|
|
400
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/completeNavigation:result',
|
|
401
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_completeNavigation_result$schema,
|
|
402
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
403
|
+
},
|
|
404
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":46,"column":3},
|
|
405
|
+
},
|
|
406
|
+
'clawclaw/contentUrl': {
|
|
407
|
+
service: 'clawclawController',
|
|
408
|
+
description: '获取内容页的独立登录地址。',
|
|
409
|
+
invocation: { kind: 'direct' },
|
|
410
|
+
parameters: [
|
|
411
|
+
{
|
|
412
|
+
name: 'page',
|
|
413
|
+
description: '固定内容页面。',
|
|
414
|
+
source: 'json',
|
|
415
|
+
codec: {
|
|
416
|
+
mode: 'strict',
|
|
417
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/contentUrl:page',
|
|
418
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_0$schema,
|
|
419
|
+
jsonSchema: {"type":"string","enum":["profile","preparation","leaderboard","level-tasks","highlight-matches","shop","wardrobe"]},
|
|
420
|
+
},
|
|
421
|
+
strictCodec: {
|
|
422
|
+
mode: 'strict',
|
|
423
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/contentUrl:page',
|
|
424
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_0_strict$schema,
|
|
425
|
+
jsonSchema: {"type":"string","enum":["profile","preparation","leaderboard","level-tasks","highlight-matches","shop","wardrobe"]},
|
|
426
|
+
},
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
name: 'sessionId',
|
|
430
|
+
description: '官方账号所属会话;Desktop 可省略。',
|
|
431
|
+
source: 'json',
|
|
432
|
+
acceptsUndefined: true,
|
|
433
|
+
codec: {
|
|
434
|
+
mode: 'strict',
|
|
435
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
436
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_1$schema,
|
|
437
|
+
jsonSchema: {"type":"string"},
|
|
438
|
+
},
|
|
439
|
+
strictCodec: {
|
|
440
|
+
mode: 'strict',
|
|
441
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
442
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_parameter_1_strict$schema,
|
|
443
|
+
jsonSchema: {"type":"string"},
|
|
444
|
+
},
|
|
445
|
+
},
|
|
446
|
+
],
|
|
447
|
+
result: {
|
|
448
|
+
mode: 'strict',
|
|
449
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/contentUrl:result',
|
|
450
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_contentUrl_result$schema,
|
|
451
|
+
description: '不进入模型上下文的登录 URL。',
|
|
452
|
+
jsonSchema: {"type":"string"},
|
|
453
|
+
},
|
|
454
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":69,"column":3},
|
|
455
|
+
},
|
|
456
|
+
'clawclaw/hostContext': {
|
|
457
|
+
service: 'clawclawController',
|
|
458
|
+
description: '获取页面所属会话的稳定宿主信息。',
|
|
459
|
+
invocation: { kind: 'direct' },
|
|
460
|
+
parameters: [
|
|
461
|
+
{
|
|
462
|
+
name: 'sessionId',
|
|
463
|
+
description: '页面所属会话。',
|
|
464
|
+
source: 'json',
|
|
465
|
+
codec: {
|
|
466
|
+
mode: 'strict',
|
|
467
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
468
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_parameter_0$schema,
|
|
469
|
+
jsonSchema: {"type":"string"},
|
|
470
|
+
},
|
|
471
|
+
strictCodec: {
|
|
472
|
+
mode: 'strict',
|
|
473
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
474
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_parameter_0_strict$schema,
|
|
475
|
+
jsonSchema: {"type":"string"},
|
|
476
|
+
},
|
|
477
|
+
},
|
|
478
|
+
],
|
|
479
|
+
result: {
|
|
480
|
+
mode: 'strict',
|
|
481
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/hostContext:result',
|
|
482
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_hostContext_result$schema,
|
|
483
|
+
description: '与该会话 CCL 进程一致的身份字段。',
|
|
484
|
+
jsonSchema: {"type":"object","properties":{"host_type":{"type":"string","const":"desktop"},"host_instance_id":{"type":"string"},"host_session_id":{"type":"string"},"client_kind":{"type":"string","enum":["fork","official"]},"distribution_target":{"type":"string"}},"required":["host_type","host_instance_id","host_session_id","client_kind","distribution_target"],"additionalProperties":true},
|
|
485
|
+
},
|
|
486
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":141,"column":3},
|
|
487
|
+
},
|
|
488
|
+
'clawclaw/requestAction': {
|
|
489
|
+
service: 'clawclawController',
|
|
490
|
+
description: '提交页面上的游戏操作。',
|
|
491
|
+
invocation: { kind: 'direct' },
|
|
492
|
+
parameters: [
|
|
493
|
+
{
|
|
494
|
+
name: 'sessionId',
|
|
495
|
+
description: '页面所属会话。',
|
|
496
|
+
source: 'json',
|
|
497
|
+
codec: {
|
|
498
|
+
mode: 'strict',
|
|
499
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
500
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_0$schema,
|
|
501
|
+
jsonSchema: {"type":"string"},
|
|
502
|
+
},
|
|
503
|
+
strictCodec: {
|
|
504
|
+
mode: 'strict',
|
|
505
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
506
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_0_strict$schema,
|
|
507
|
+
jsonSchema: {"type":"string"},
|
|
508
|
+
},
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
name: 'action',
|
|
512
|
+
description: '允许的游戏意图。',
|
|
513
|
+
source: 'json',
|
|
514
|
+
codec: {
|
|
515
|
+
mode: 'strict',
|
|
516
|
+
typeSymbol: '@myclaw163/clawclaw/types#GameAction',
|
|
517
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_1$schema,
|
|
518
|
+
jsonSchema: {"type":"string","enum":["prepare-room-creation","start-ranked-match","resume-current-participation","quit-match","create-friend-room","create-training-room","start-competition"]},
|
|
519
|
+
},
|
|
520
|
+
strictCodec: {
|
|
521
|
+
mode: 'strict',
|
|
522
|
+
typeSymbol: '@myclaw163/clawclaw/types#GameAction',
|
|
523
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_1_strict$schema,
|
|
524
|
+
jsonSchema: {"type":"string","enum":["prepare-room-creation","start-ranked-match","resume-current-participation","quit-match","create-friend-room","create-training-room","start-competition"]},
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
name: 'language',
|
|
529
|
+
description: '当前平台界面语言。',
|
|
530
|
+
source: 'json',
|
|
531
|
+
codec: {
|
|
532
|
+
mode: 'strict',
|
|
533
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/requestAction:language',
|
|
534
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_2$schema,
|
|
535
|
+
jsonSchema: {"type":"string","enum":["zh-CN","en-US"]},
|
|
536
|
+
},
|
|
537
|
+
strictCodec: {
|
|
538
|
+
mode: 'strict',
|
|
539
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/requestAction:language',
|
|
540
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_parameter_2_strict$schema,
|
|
541
|
+
jsonSchema: {"type":"string","enum":["zh-CN","en-US"]},
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
],
|
|
545
|
+
result: {
|
|
546
|
+
mode: 'strict',
|
|
547
|
+
typeSymbol: '@myclaw163/clawclaw/types#GameActionResult',
|
|
548
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_requestAction_result$schema,
|
|
549
|
+
description: '已提交或提交失败;其他异常由 Remote 报告。',
|
|
550
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"status":{"type":"string","const":"submitted"}},"required":["status"],"additionalProperties":true},{"type":"object","properties":{"status":{"type":"string","const":"failed"},"code":{"type":"string","enum":["in-match-blocked","submission-failed","ccl-missing","ccl-incompatible"]}},"required":["status","code"],"additionalProperties":true}]},
|
|
551
|
+
},
|
|
552
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":77,"column":9},
|
|
553
|
+
},
|
|
554
|
+
'clawclaw/spectatorPageUrl': {
|
|
555
|
+
service: 'clawclawController',
|
|
556
|
+
description: '获取不依赖认证或 CLI 的游戏入口。',
|
|
557
|
+
invocation: { kind: 'direct' },
|
|
558
|
+
parameters: [
|
|
559
|
+
{
|
|
560
|
+
name: 'sessionId',
|
|
561
|
+
description: '页面所属会话。',
|
|
562
|
+
source: 'json',
|
|
563
|
+
codec: {
|
|
564
|
+
mode: 'strict',
|
|
565
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
566
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_parameter_0$schema,
|
|
567
|
+
jsonSchema: {"type":"string"},
|
|
568
|
+
},
|
|
569
|
+
strictCodec: {
|
|
570
|
+
mode: 'strict',
|
|
571
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
572
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_parameter_0_strict$schema,
|
|
573
|
+
jsonSchema: {"type":"string"},
|
|
574
|
+
},
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
result: {
|
|
578
|
+
mode: 'strict',
|
|
579
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/spectatorPageUrl:result',
|
|
580
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorPageUrl_result$schema,
|
|
581
|
+
description: '无票据的内容页地址。',
|
|
582
|
+
jsonSchema: {"type":"string"},
|
|
583
|
+
},
|
|
584
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":56,"column":3},
|
|
585
|
+
},
|
|
586
|
+
'clawclaw/spectatorUrl': {
|
|
587
|
+
service: 'clawclawController',
|
|
588
|
+
description: '获取当前会话的观战链接。',
|
|
589
|
+
invocation: { kind: 'direct' },
|
|
590
|
+
parameters: [
|
|
591
|
+
{
|
|
592
|
+
name: 'sessionId',
|
|
593
|
+
description: '当前观战会话。',
|
|
594
|
+
source: 'json',
|
|
595
|
+
codec: {
|
|
596
|
+
mode: 'strict',
|
|
597
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
598
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_parameter_0$schema,
|
|
599
|
+
jsonSchema: {"type":"string"},
|
|
600
|
+
},
|
|
601
|
+
strictCodec: {
|
|
602
|
+
mode: 'strict',
|
|
603
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
604
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_parameter_0_strict$schema,
|
|
605
|
+
jsonSchema: {"type":"string"},
|
|
606
|
+
},
|
|
607
|
+
},
|
|
608
|
+
],
|
|
609
|
+
result: {
|
|
610
|
+
mode: 'strict',
|
|
611
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/spectatorUrl:result',
|
|
612
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_spectatorUrl_result$schema,
|
|
613
|
+
description: '只供 UI 加载的观战地址。',
|
|
614
|
+
jsonSchema: {"type":"string"},
|
|
615
|
+
},
|
|
616
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":62,"column":3},
|
|
617
|
+
},
|
|
618
|
+
'clawclaw/syncGameAccount': {
|
|
619
|
+
service: 'clawclawController',
|
|
620
|
+
description: '同步可信游戏页面当前账号,不修改平台凭据。',
|
|
621
|
+
invocation: { kind: 'direct' },
|
|
622
|
+
parameters: [
|
|
623
|
+
{
|
|
624
|
+
name: 'clawKey',
|
|
625
|
+
description: '游戏账号密钥或退出登录的 null。',
|
|
626
|
+
source: 'json',
|
|
627
|
+
codec: {
|
|
628
|
+
mode: 'strict',
|
|
629
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/syncGameAccount:clawKey',
|
|
630
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_0$schema,
|
|
631
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
632
|
+
},
|
|
633
|
+
strictCodec: {
|
|
634
|
+
mode: 'strict',
|
|
635
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/syncGameAccount:clawKey',
|
|
636
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_0_strict$schema,
|
|
637
|
+
jsonSchema: {"oneOf":[{"type":"null","const":null},{"type":"string"}]},
|
|
638
|
+
},
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
name: 'confirm',
|
|
642
|
+
description: '只核对启动票据,不覆盖后续账号选择。',
|
|
643
|
+
source: 'json',
|
|
644
|
+
codec: {
|
|
645
|
+
mode: 'strict',
|
|
646
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/syncGameAccount:confirm',
|
|
647
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_1$schema,
|
|
648
|
+
jsonSchema: {"type":"boolean"},
|
|
649
|
+
},
|
|
650
|
+
strictCodec: {
|
|
651
|
+
mode: 'strict',
|
|
652
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/syncGameAccount:confirm',
|
|
653
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_1_strict$schema,
|
|
654
|
+
jsonSchema: {"type":"boolean"},
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
name: 'sessionId',
|
|
659
|
+
description: '官方账号所属会话;Desktop 可省略。',
|
|
660
|
+
source: 'json',
|
|
661
|
+
acceptsUndefined: true,
|
|
662
|
+
codec: {
|
|
663
|
+
mode: 'strict',
|
|
664
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
665
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_2$schema,
|
|
666
|
+
jsonSchema: {"type":"string"},
|
|
667
|
+
},
|
|
668
|
+
strictCodec: {
|
|
669
|
+
mode: 'strict',
|
|
670
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
671
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_parameter_2_strict$schema,
|
|
672
|
+
jsonSchema: {"type":"string"},
|
|
673
|
+
},
|
|
674
|
+
},
|
|
675
|
+
],
|
|
676
|
+
result: {
|
|
677
|
+
mode: 'strict',
|
|
678
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/syncGameAccount:result',
|
|
679
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_syncGameAccount_result$schema,
|
|
680
|
+
description: '生效账号是否变化;确认票据返回 false,登出成功返回 true。',
|
|
681
|
+
jsonSchema: {"type":"boolean"},
|
|
682
|
+
},
|
|
683
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":98,"column":3},
|
|
684
|
+
},
|
|
685
|
+
'clawclaw/usePlatformGameAccount': {
|
|
686
|
+
service: 'clawclawController',
|
|
687
|
+
description: '显式平台重新授权成功后,用新兑换的账号恢复游戏。',
|
|
688
|
+
invocation: { kind: 'direct' },
|
|
689
|
+
parameters: [
|
|
690
|
+
],
|
|
691
|
+
result: {
|
|
692
|
+
mode: 'strict',
|
|
693
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/usePlatformGameAccount:result',
|
|
694
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_usePlatformGameAccount_result$schema,
|
|
695
|
+
description: '生效账号是否变化,包括从登出状态恢复同一账号。',
|
|
696
|
+
jsonSchema: {"type":"boolean"},
|
|
697
|
+
},
|
|
698
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":122,"column":3},
|
|
699
|
+
},
|
|
700
|
+
'clawclaw/validateBrowserPage': {
|
|
701
|
+
service: 'clawclawController',
|
|
702
|
+
description: '校验外层 SkillHub 页签的地址与游戏登录状态。',
|
|
703
|
+
invocation: { kind: 'direct' },
|
|
704
|
+
parameters: [
|
|
705
|
+
{
|
|
706
|
+
name: 'url',
|
|
707
|
+
description: '待校验的 Hub 地址。',
|
|
708
|
+
source: 'json',
|
|
709
|
+
codec: {
|
|
710
|
+
mode: 'strict',
|
|
711
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/validateBrowserPage:url',
|
|
712
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_0$schema,
|
|
713
|
+
jsonSchema: {"type":"string"},
|
|
714
|
+
},
|
|
715
|
+
strictCodec: {
|
|
716
|
+
mode: 'strict',
|
|
717
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/validateBrowserPage:url',
|
|
718
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_0_strict$schema,
|
|
719
|
+
jsonSchema: {"type":"string"},
|
|
720
|
+
},
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
name: 'sessionId',
|
|
724
|
+
description: '官方账号所属会话;Desktop 可省略。',
|
|
725
|
+
source: 'json',
|
|
726
|
+
acceptsUndefined: true,
|
|
727
|
+
codec: {
|
|
728
|
+
mode: 'strict',
|
|
729
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
730
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_1$schema,
|
|
731
|
+
jsonSchema: {"type":"string"},
|
|
732
|
+
},
|
|
733
|
+
strictCodec: {
|
|
734
|
+
mode: 'strict',
|
|
735
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
736
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_parameter_1_strict$schema,
|
|
737
|
+
jsonSchema: {"type":"string"},
|
|
738
|
+
},
|
|
739
|
+
},
|
|
740
|
+
],
|
|
741
|
+
result: {
|
|
742
|
+
mode: 'strict',
|
|
743
|
+
typeSymbol: '@myclaw163/clawclaw#clawclaw/validateBrowserPage:result',
|
|
744
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_validateBrowserPage_result$schema,
|
|
745
|
+
description: '校验完成;失败时不打开页面。',
|
|
746
|
+
jsonSchemaError: 'typert tool schema: unsupported void value',
|
|
747
|
+
},
|
|
748
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":23,"column":3},
|
|
749
|
+
},
|
|
750
|
+
'clawclaw/watchAccount': {
|
|
751
|
+
service: 'clawclawController',
|
|
752
|
+
description: '订阅官方插件共享登录状态,重连收到当前快照。',
|
|
753
|
+
mode: 'stream',
|
|
754
|
+
invocation: { kind: 'direct' },
|
|
755
|
+
parameters: [
|
|
756
|
+
],
|
|
757
|
+
cancellation: { parameter: 'signal' },
|
|
758
|
+
result: {
|
|
759
|
+
mode: 'strict',
|
|
760
|
+
typeSymbol: '@myclaw163/clawclaw/types#AccountState',
|
|
761
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchAccount_result$schema,
|
|
762
|
+
description: '不含凭据的共享账号状态。',
|
|
763
|
+
jsonSchema: {"type":"object","properties":{"revision":{"type":"number","description":"宿主进程内递增,重连沿用最新值。"},"loggedIn":{"type":"boolean"},"source":{"type":"string"}},"required":["revision","loggedIn"],"additionalProperties":true},
|
|
764
|
+
},
|
|
765
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":39,"column":3},
|
|
766
|
+
},
|
|
767
|
+
'clawclaw/watchNavigation': {
|
|
768
|
+
service: 'clawclawController',
|
|
769
|
+
description: '订阅在线窗口导航,不重放历史请求。',
|
|
770
|
+
mode: 'stream',
|
|
771
|
+
invocation: { kind: 'direct' },
|
|
772
|
+
parameters: [
|
|
773
|
+
{
|
|
774
|
+
name: 'sessionId',
|
|
775
|
+
description: '窗口当前显示的会话。',
|
|
776
|
+
source: 'json',
|
|
777
|
+
codec: {
|
|
778
|
+
mode: 'strict',
|
|
779
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
780
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_parameter_0$schema,
|
|
781
|
+
jsonSchema: {"type":"string"},
|
|
782
|
+
},
|
|
783
|
+
strictCodec: {
|
|
784
|
+
mode: 'strict',
|
|
785
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
786
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_parameter_0_strict$schema,
|
|
787
|
+
jsonSchema: {"type":"string"},
|
|
788
|
+
},
|
|
789
|
+
},
|
|
790
|
+
],
|
|
791
|
+
cancellation: { parameter: 'signal' },
|
|
792
|
+
result: {
|
|
793
|
+
mode: 'strict',
|
|
794
|
+
typeSymbol: '@myclaw163/clawclaw/types#NavigationFrame',
|
|
795
|
+
create: _deepseek_ai_dsh_experimental_clawclaw_clawclaw_watchNavigation_result$schema,
|
|
796
|
+
description: '当前连接收到的导航消息。',
|
|
797
|
+
jsonSchema: {"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"ready"}},"required":["type"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"cancel"},"id":{"type":"string"}},"required":["type","id"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"open"},"id":{"type":"string"},"sessionId":{"type":"string"},"page":{"type":"string","enum":["profile","game","preparation","leaderboard","level-tasks","highlight-matches","shop","wardrobe","game-intro","skills-hub"]}},"required":["type","id","sessionId","page"],"additionalProperties":true}]},
|
|
798
|
+
},
|
|
799
|
+
sourceLocation: {"file":"packages/experimental/clawclaw/src/controller.ts","line":30,"column":3},
|
|
800
|
+
},
|
|
801
|
+
},
|
|
802
|
+
}, z)
|
|
803
|
+
|
|
804
|
+
export default TYPERT_REMOTE
|