dsh-world 0.7.1 → 0.7.3
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/CHANGELOG.md +29 -0
- package/INSTALL.md +314 -314
- package/LICENSE +21 -21
- package/NOTES.md +34 -15
- package/README.md +22 -8
- package/client/index.js +85 -28
- package/cordis.patch.yml +6 -6
- package/lib/archiveSelection.d.ts +6 -2
- package/lib/archiveSelection.js +21 -12
- package/lib/compaction.d.ts +7 -0
- package/lib/compaction.js +16 -7
- package/lib/console/routes.d.ts +4 -3
- package/lib/console/routes.js +18 -12
- package/lib/console/snapshot.d.ts +3 -3
- package/lib/console/snapshot.js +1 -4
- package/lib/ecosystem/bridge/bridge.d.ts +5 -0
- package/lib/ecosystem/bridge/bridge.js +2 -1
- package/lib/ecosystem/bridge/route.d.ts +4 -6
- package/lib/ecosystem/bridge/route.js +34 -58
- package/lib/ecosystem/qq/panel.d.ts +0 -1
- package/lib/ecosystem/qq/route.d.ts +6 -7
- package/lib/ecosystem/qq/route.js +10 -10
- package/lib/ecosystem/qq/snowluma-start.d.ts +1 -0
- package/lib/ecosystem/qq/snowluma-start.js +41 -8
- package/lib/ecosystem/qq/supervisor.d.ts +1 -2
- package/lib/ecosystem/qq/supervisor.js +4 -2
- package/lib/ecosystem/qq-native/home.d.ts +1 -0
- package/lib/ecosystem/qq-native/home.js +10 -3
- package/lib/ecosystem/qq-native/index.js +19 -4
- package/lib/ecosystem/qq-native/native-bridge.d.ts +0 -1
- package/lib/ecosystem/qq-native/native-bridge.js +5 -4
- package/lib/ecosystem/qq-native/replies.d.ts +3 -2
- package/lib/ecosystem/qq-native/replies.js +15 -4
- package/lib/ecosystem/qq-native/snowluma.js +11 -2
- package/lib/ecosystem/shared/context.d.ts +5 -0
- package/lib/ecosystem/shared/context.js +5 -0
- package/lib/ecosystem/wechat/index.d.ts +0 -1
- package/lib/ecosystem/wechat/index.js +6 -5
- package/lib/hostContract.d.ts +17 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +126 -47
- package/lib/life/toolRegistry.js +2 -2
- package/lib/memoryFiles.d.ts +0 -1
- package/lib/memoryStore.d.ts +0 -1
- package/lib/memoryStore.js +0 -1
- package/lib/memoryTools.d.ts +0 -1
- package/lib/memoryTools.js +2 -3
- package/lib/promptSection.d.ts +10 -7
- package/lib/promptSection.js +80 -33
- package/lib/runtime.d.ts +12 -3
- package/lib/runtime.js +150 -29
- package/lib/sourceArchive.d.ts +4 -2
- package/lib/sourceArchive.js +19 -5
- package/lib/store.js +2 -1
- package/lib/types.d.ts +1 -1
- package/lib/worldPrompt.d.ts +2 -3
- package/lib/worldPrompt.js +2 -3
- package/lib/worldRoutes.d.ts +9 -0
- package/lib/worldRoutes.js +29 -0
- package/lib/worldScope.d.ts +5 -5
- package/lib/worldScope.js +16 -7
- package/lib/worldSwitch.d.ts +7 -2
- package/lib/worldSwitch.js +11 -1
- package/package.json +17 -16
- package/scripts/compact-home.mjs +29 -29
- package/scripts/enable-tool-free-compaction.ps1 +33 -33
- package/scripts/import-stickers.mjs +17 -17
- package/scripts/update-world.mjs +2 -2
- package/src/ecosystem/README.md +1 -1
- package/src/ecosystem/wechat/windows/README.md +6 -4
- package/src/ecosystem/wechat/windows/adapter.py +4 -2
- package/src/ecosystem/wechat/windows/engine/NOTICE.md +6 -0
- package/src/ecosystem/wechat/windows/engine/profiles.json +142 -114
- package/src/ecosystem/wechat/windows/presence.py +109 -109
- package/templates/alarm.md +2 -2
- package/templates/world-prompt.md +8 -2
package/lib/worldSwitch.js
CHANGED
|
@@ -5,6 +5,8 @@ import { validArchiveScope } from "./archiveSelection.js";
|
|
|
5
5
|
import { DEFAULT_REVIEW_TIME, validClockTime } from "./life/alarm.js";
|
|
6
6
|
/** How many of the newest turns the memory block carries when nothing else is set. */
|
|
7
7
|
export const DEFAULT_MEMORY_TURNS = 200;
|
|
8
|
+
/** Hours a session stays silent before its next turn re-reads her memory block and prompt (#36); see `runtime.ts`. */
|
|
9
|
+
export const DEFAULT_COLD_HOURS = 24, MAX_COLD_HOURS = 720;
|
|
8
10
|
/** WeChat group messages read before a mention, and seconds a private image waits for its companions. */
|
|
9
11
|
export const DEFAULT_WECHAT_CONTEXT = 5, MAX_WECHAT_CONTEXT = 20;
|
|
10
12
|
export const DEFAULT_WECHAT_BUFFER_SECONDS = 3, MAX_WECHAT_BUFFER_SECONDS = 30;
|
|
@@ -21,6 +23,7 @@ export function createWorldSwitch(worldDir, configuredScope = 'workspace', confi
|
|
|
21
23
|
running: stored ? stored.running === true : existsSync(join(worldDir, 'life.json')),
|
|
22
24
|
...(typeof stored?.dailyBudget === 'number' ? { dailyBudget: stored.dailyBudget } : {}),
|
|
23
25
|
...(validTurns(stored?.memoryTurns) ? { memoryTurns: stored.memoryTurns } : {}),
|
|
26
|
+
...(validColdHours(stored?.coldHours) ? { coldHours: stored.coldHours } : {}),
|
|
24
27
|
...(validArchiveScope(stored?.archiveScope) ? { archiveScope: stored.archiveScope } : {}),
|
|
25
28
|
...(validWorkspacePermission(stored?.workspacePermission) ? { workspacePermission: stored.workspacePermission } : {}),
|
|
26
29
|
...(validWechatContext(stored?.wechatContext) ? { wechatContext: stored.wechatContext } : {}),
|
|
@@ -52,7 +55,7 @@ export function createWorldSwitch(worldDir, configuredScope = 'workspace', confi
|
|
|
52
55
|
throw new Error('工作区权限必须为非空字符串');
|
|
53
56
|
save({ ...settings, workspacePermission: permission });
|
|
54
57
|
},
|
|
55
|
-
/**
|
|
58
|
+
/** Compact the home after the evening look back unless the partner turns it off. */
|
|
56
59
|
compactAfterReview: () => settings.compactAfterReview !== false,
|
|
57
60
|
setCompactAfterReview(on) {
|
|
58
61
|
const { compactAfterReview: _old, ...rest } = settings;
|
|
@@ -75,6 +78,12 @@ export function createWorldSwitch(worldDir, configuredScope = 'workspace', confi
|
|
|
75
78
|
const { memoryTurns: _old, ...rest } = settings;
|
|
76
79
|
save(turns === undefined || turns === DEFAULT_MEMORY_TURNS ? rest : { ...rest, memoryTurns: turns });
|
|
77
80
|
},
|
|
81
|
+
/** Read at every turn start, so a change applies from the next turn of each session. */
|
|
82
|
+
coldHours: () => settings.coldHours ?? DEFAULT_COLD_HOURS,
|
|
83
|
+
setColdHours(hours) {
|
|
84
|
+
const { coldHours: _old, ...rest } = settings;
|
|
85
|
+
save(hours === undefined || hours === DEFAULT_COLD_HOURS ? rest : { ...rest, coldHours: hours });
|
|
86
|
+
},
|
|
78
87
|
/**
|
|
79
88
|
* The console's switches for the WeChat and QQ modules; both are off until someone turns them on. QQ's SDK is an
|
|
80
89
|
* optional dependency, so its code is not even loaded before then. WeChat used to default to on, so a world that
|
|
@@ -109,6 +118,7 @@ export function createWorldSwitch(worldDir, configuredScope = 'workspace', confi
|
|
|
109
118
|
};
|
|
110
119
|
}
|
|
111
120
|
export const validTurns = (value) => typeof value === 'number' && Number.isInteger(value) && value >= 1;
|
|
121
|
+
export const validColdHours = (value) => typeof value === 'number' && Number.isInteger(value) && value >= 1 && value <= MAX_COLD_HOURS;
|
|
112
122
|
export const validWorkspacePermission = (value) => typeof value === 'string' && value.trim().length > 0;
|
|
113
123
|
export const validWechatContext = (value) => typeof value === 'number' && Number.isInteger(value) && value >= 1 && value <= MAX_WECHAT_CONTEXT;
|
|
114
124
|
export const validWechatBuffer = (value) => typeof value === 'number' && Number.isFinite(value) && value >= 0 && value <= MAX_WECHAT_BUFFER_SECONDS;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-world",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Cross-session memory, persona and life routines for DSH, with a world console, tool-free compaction, native QQ and Windows WeChat messaging, group history and quoted replies",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
],
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=22.16.0",
|
|
49
|
-
"dsh": ">=0.2.1-rc.2 <0.3.0-0"
|
|
49
|
+
"dsh": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "node -e \"require('fs').rmSync('lib',{recursive:true,force:true})\" && tsc -p tsconfig.build.json",
|
|
@@ -69,7 +69,8 @@
|
|
|
69
69
|
"dshReleases": {
|
|
70
70
|
"0.2.1-rc.2": "compatible",
|
|
71
71
|
"0.2.1-rc.3": "compatible",
|
|
72
|
-
"0.2.1-rc.5": "compatible"
|
|
72
|
+
"0.2.1-rc.5": "compatible",
|
|
73
|
+
"0.2.2-rc.1": "compatible"
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
},
|
|
@@ -78,19 +79,19 @@
|
|
|
78
79
|
},
|
|
79
80
|
"peerDependencies": {
|
|
80
81
|
"@snowluma/sdk": "^2.2.1",
|
|
81
|
-
"@deepseek-ai/dsh-plugin-manager": ">=0.2.1-rc.3 <0.3.0-0",
|
|
82
|
-
"@deepseek-ai/dsh-atomic-write": ">=0.2.1-rc.3 <0.3.0-0",
|
|
83
|
-
"@deepseek-ai/cordis": "~4.0.5",
|
|
84
|
-
"@deepseek-ai/dsh-agent": ">=0.2.1-rc.2 <0.3.0-0",
|
|
85
|
-
"@deepseek-ai/dsh-attachment": ">=0.2.1-rc.2 <0.3.0-0",
|
|
86
|
-
"@deepseek-ai/dsh-compaction": ">=0.2.1-rc.2 <0.3.0-0",
|
|
87
|
-
"@deepseek-ai/dsh-home-paths": ">=0.2.1-rc.2 <0.3.0-0",
|
|
88
|
-
"@deepseek-ai/dsh-llm": ">=0.2.1-rc.2 <0.3.0-0",
|
|
89
|
-
"@deepseek-ai/dsh-session": ">=0.2.1-rc.2 <0.3.0-0",
|
|
90
|
-
"@deepseek-ai/dsh-session-persistence": ">=0.2.1-rc.2 <0.3.0-0",
|
|
91
|
-
"@deepseek-ai/dsh-tools": ">=0.2.1-rc.2 <0.3.0-0",
|
|
92
|
-
"@deepseek-ai/schemastery": "~3.18.5",
|
|
93
|
-
"@deepseek-ai/dsh-commands": ">=0.2.1-rc.2 <0.3.0-0"
|
|
82
|
+
"@deepseek-ai/dsh-plugin-manager": ">=0.2.1-rc.3 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0",
|
|
83
|
+
"@deepseek-ai/dsh-atomic-write": ">=0.2.1-rc.3 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0",
|
|
84
|
+
"@deepseek-ai/cordis": "~4.0.5 || ~4.1.0",
|
|
85
|
+
"@deepseek-ai/dsh-agent": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0",
|
|
86
|
+
"@deepseek-ai/dsh-attachment": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0",
|
|
87
|
+
"@deepseek-ai/dsh-compaction": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0",
|
|
88
|
+
"@deepseek-ai/dsh-home-paths": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0",
|
|
89
|
+
"@deepseek-ai/dsh-llm": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0",
|
|
90
|
+
"@deepseek-ai/dsh-session": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0",
|
|
91
|
+
"@deepseek-ai/dsh-session-persistence": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0",
|
|
92
|
+
"@deepseek-ai/dsh-tools": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0",
|
|
93
|
+
"@deepseek-ai/schemastery": "~3.18.5 || ~3.19.0",
|
|
94
|
+
"@deepseek-ai/dsh-commands": ">=0.2.1-rc.2 <0.3.0-0 || >=0.2.2-rc.1 <0.3.0-0"
|
|
94
95
|
},
|
|
95
96
|
"peerDependenciesMeta": {
|
|
96
97
|
"@snowluma/sdk": {
|
package/scripts/compact-home.mjs
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// Asks a running world to compact her home conversation once (held behind her running turn).
|
|
3
|
-
// Needs `bridge: true` in the plugin config. Usage: node scripts/compact-home.mjs [world directory]
|
|
4
|
-
// The world directory defaults to $DSH_WORLD_DIR, then ~/.dsh/worlds/<the only world there>.
|
|
5
|
-
import { existsSync, readFileSync, readdirSync } from 'node:fs';
|
|
6
|
-
import { homedir } from 'node:os';
|
|
7
|
-
import { join } from 'node:path';
|
|
8
|
-
|
|
9
|
-
function worldDir() {
|
|
10
|
-
if (process.argv[2]) return process.argv[2];
|
|
11
|
-
if (process.env.DSH_WORLD_DIR) return process.env.DSH_WORLD_DIR;
|
|
12
|
-
const root = join(homedir(), '.dsh', 'worlds');
|
|
13
|
-
const worlds = existsSync(root) ? readdirSync(root, { withFileTypes: true }).filter(entry => entry.isDirectory()).map(entry => entry.name) : [];
|
|
14
|
-
if (worlds.length !== 1) throw new Error(`找不到唯一的世界目录,请把路径作为参数传入(在 ${root} 下找到 ${worlds.length} 个)`);
|
|
15
|
-
return join(root, worlds[0]);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
try {
|
|
19
|
-
const file = join(worldDir(), 'bridge.json');
|
|
20
|
-
if (!existsSync(file)) throw new Error(`没有 ${file}:世界没有在运行,或者没有开启 bridge`);
|
|
21
|
-
const { origin, token } = JSON.parse(readFileSync(file, 'utf8'));
|
|
22
|
-
const response = await fetch(new URL(
|
|
23
|
-
const body = await response.json().catch(() => ({}));
|
|
24
|
-
if (response.status === 202) console.log('已请求压缩家会话;她正在忙的话会等这一轮结束后再压缩。');
|
|
25
|
-
else { console.error(`没有受理(${response.status}):${body.error ?? '未知原因'}`); process.exitCode = 1; }
|
|
26
|
-
} catch (error) {
|
|
27
|
-
console.error(error instanceof Error ? error.message : String(error));
|
|
28
|
-
process.exitCode = 1;
|
|
29
|
-
}
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Asks a running world to compact her home conversation once (held behind her running turn).
|
|
3
|
+
// Needs `bridge: true` in the plugin config. Usage: node scripts/compact-home.mjs [world directory]
|
|
4
|
+
// The world directory defaults to $DSH_WORLD_DIR, then ~/.dsh/worlds/<the only world there>.
|
|
5
|
+
import { existsSync, readFileSync, readdirSync } from 'node:fs';
|
|
6
|
+
import { homedir } from 'node:os';
|
|
7
|
+
import { join } from 'node:path';
|
|
8
|
+
|
|
9
|
+
function worldDir() {
|
|
10
|
+
if (process.argv[2]) return process.argv[2];
|
|
11
|
+
if (process.env.DSH_WORLD_DIR) return process.env.DSH_WORLD_DIR;
|
|
12
|
+
const root = join(homedir(), '.dsh', 'worlds');
|
|
13
|
+
const worlds = existsSync(root) ? readdirSync(root, { withFileTypes: true }).filter(entry => entry.isDirectory()).map(entry => entry.name) : [];
|
|
14
|
+
if (worlds.length !== 1) throw new Error(`找不到唯一的世界目录,请把路径作为参数传入(在 ${root} 下找到 ${worlds.length} 个)`);
|
|
15
|
+
return join(root, worlds[0]);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
try {
|
|
19
|
+
const file = join(worldDir(), 'bridge.json');
|
|
20
|
+
if (!existsSync(file)) throw new Error(`没有 ${file}:世界没有在运行,或者没有开启 bridge`);
|
|
21
|
+
const { origin, compactPath, token } = JSON.parse(readFileSync(file, 'utf8'));
|
|
22
|
+
const response = await fetch(new URL(compactPath, origin), { method: 'POST', headers: { 'x-dsh-world-token': token }, signal: AbortSignal.timeout(15000) });
|
|
23
|
+
const body = await response.json().catch(() => ({}));
|
|
24
|
+
if (response.status === 202) console.log('已请求压缩家会话;她正在忙的话会等这一轮结束后再压缩。');
|
|
25
|
+
else { console.error(`没有受理(${response.status}):${body.error ?? '未知原因'}`); process.exitCode = 1; }
|
|
26
|
+
} catch (error) {
|
|
27
|
+
console.error(error instanceof Error ? error.message : String(error));
|
|
28
|
+
process.exitCode = 1;
|
|
29
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
param(
|
|
2
|
-
[Parameter(Mandatory = $true)]
|
|
3
|
-
[string] $profilePath
|
|
4
|
-
)
|
|
5
|
-
|
|
6
|
-
$ErrorActionPreference = 'Stop'
|
|
7
|
-
try {
|
|
8
|
-
$resolvedProfile = (Resolve-Path -LiteralPath $profilePath).Path
|
|
9
|
-
$packagePath = Join-Path $resolvedProfile 'package.json'
|
|
10
|
-
$patchPath = Join-Path $resolvedProfile 'cordis.patch.yml'
|
|
11
|
-
$package = Get-Content -LiteralPath $packagePath -Raw | ConvertFrom-Json
|
|
12
|
-
if (-not $package.dependencies.'dsh-world') {
|
|
13
|
-
throw 'Install the built dsh-world package in this profile before enabling its compaction backend.'
|
|
14
|
-
}
|
|
15
|
-
$content = [System.IO.File]::ReadAllText($patchPath)
|
|
16
|
-
if ($content -match '(?m)^\s*name:\s*[''"'']?dsh-world/compaction[''"'']?\s*$') {
|
|
17
|
-
Write-Output 'Tool-free compaction is already configured.'
|
|
18
|
-
return
|
|
19
|
-
}
|
|
20
|
-
$pattern = '(?m)^(\s*name:\s*)([''"'']?)@deepseek-ai/dsh-compaction-basic\2([ \t]*(?:#.*)?\r?)$'
|
|
21
|
-
$matchesFound = [regex]::Matches($content, $pattern)
|
|
22
|
-
if ($matchesFound.Count -ne 1) {
|
|
23
|
-
throw "Expected exactly one explicit compaction-basic entry in cordis.patch.yml; found $($matchesFound.Count). No configuration was changed."
|
|
24
|
-
}
|
|
25
|
-
$updated = [regex]::Replace($content, $pattern, '${1}''dsh-world/compaction''${3}')
|
|
26
|
-
$backupPath = "$patchPath.dsh-world.$([Guid]::NewGuid().ToString('N')).bak"
|
|
27
|
-
$temporaryPath = "$patchPath.$([Guid]::NewGuid().ToString('N')).tmp"
|
|
28
|
-
[System.IO.File]::WriteAllText($temporaryPath, $updated, [System.Text.UTF8Encoding]::new($false))
|
|
29
|
-
[System.IO.File]::Replace($temporaryPath, $patchPath, $backupPath)
|
|
30
|
-
Write-Output "Configured tool-free compaction. Restart this DSH profile to load it. Backup: $backupPath"
|
|
31
|
-
} catch {
|
|
32
|
-
throw "Cannot configure dsh-world compaction: $($_.Exception.Message)"
|
|
33
|
-
}
|
|
1
|
+
param(
|
|
2
|
+
[Parameter(Mandatory = $true)]
|
|
3
|
+
[string] $profilePath
|
|
4
|
+
)
|
|
5
|
+
|
|
6
|
+
$ErrorActionPreference = 'Stop'
|
|
7
|
+
try {
|
|
8
|
+
$resolvedProfile = (Resolve-Path -LiteralPath $profilePath).Path
|
|
9
|
+
$packagePath = Join-Path $resolvedProfile 'package.json'
|
|
10
|
+
$patchPath = Join-Path $resolvedProfile 'cordis.patch.yml'
|
|
11
|
+
$package = Get-Content -LiteralPath $packagePath -Raw | ConvertFrom-Json
|
|
12
|
+
if (-not $package.dependencies.'dsh-world') {
|
|
13
|
+
throw 'Install the built dsh-world package in this profile before enabling its compaction backend.'
|
|
14
|
+
}
|
|
15
|
+
$content = [System.IO.File]::ReadAllText($patchPath)
|
|
16
|
+
if ($content -match '(?m)^\s*name:\s*[''"'']?dsh-world/compaction[''"'']?\s*$') {
|
|
17
|
+
Write-Output 'Tool-free compaction is already configured.'
|
|
18
|
+
return
|
|
19
|
+
}
|
|
20
|
+
$pattern = '(?m)^(\s*name:\s*)([''"'']?)@deepseek-ai/dsh-compaction-basic\2([ \t]*(?:#.*)?\r?)$'
|
|
21
|
+
$matchesFound = [regex]::Matches($content, $pattern)
|
|
22
|
+
if ($matchesFound.Count -ne 1) {
|
|
23
|
+
throw "Expected exactly one explicit compaction-basic entry in cordis.patch.yml; found $($matchesFound.Count). No configuration was changed."
|
|
24
|
+
}
|
|
25
|
+
$updated = [regex]::Replace($content, $pattern, '${1}''dsh-world/compaction''${3}')
|
|
26
|
+
$backupPath = "$patchPath.dsh-world.$([Guid]::NewGuid().ToString('N')).bak"
|
|
27
|
+
$temporaryPath = "$patchPath.$([Guid]::NewGuid().ToString('N')).tmp"
|
|
28
|
+
[System.IO.File]::WriteAllText($temporaryPath, $updated, [System.Text.UTF8Encoding]::new($false))
|
|
29
|
+
[System.IO.File]::Replace($temporaryPath, $patchPath, $backupPath)
|
|
30
|
+
Write-Output "Configured tool-free compaction. Restart this DSH profile to load it. Backup: $backupPath"
|
|
31
|
+
} catch {
|
|
32
|
+
throw "Cannot configure dsh-world compaction: $($_.Exception.Message)"
|
|
33
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
// One-time import of the older sticker plugin's library (catalog.json + assets/) into the world's own sticker library.
|
|
2
|
-
// Usage: node scripts/import-stickers.mjs <older library folder, e.g. ~/.dsh/memes> <world folder, e.g. ~/.dsh/worlds/<id>>
|
|
3
|
-
// Ids, names and tags carry over; packs and long meanings do not. Running it again adds nothing. The older folder is only read.
|
|
4
|
-
import { join, resolve } from 'node:path';
|
|
5
|
-
import { pathToFileURL, fileURLToPath } from 'node:url';
|
|
6
|
-
|
|
7
|
-
const [legacy, world] = process.argv.slice(2);
|
|
8
|
-
if (!legacy || !world) {
|
|
9
|
-
console.error('用法:node scripts/import-stickers.mjs <旧表情包目录> <世界目录>');
|
|
10
|
-
process.exit(2);
|
|
11
|
-
}
|
|
12
|
-
const modulePath = join(fileURLToPath(new URL('..', import.meta.url)), 'lib', 'ecosystem', 'wechat', 'stickerLibrary.js');
|
|
13
|
-
const { createStickerLibrary, importLegacyStickers } = await import(pathToFileURL(modulePath).href);
|
|
14
|
-
const library = createStickerLibrary(join(resolve(world), 'stickers'));
|
|
15
|
-
const report = await importLegacyStickers(resolve(legacy), library);
|
|
16
|
-
console.log(`导入 ${report.imported} 张,已在库里的 ${report.duplicates} 张,跳过 ${report.skipped.length} 张;表情库现有 ${(await library.list()).length} 张。`);
|
|
17
|
-
for (const line of report.skipped) console.log(` 跳过 ${line}`);
|
|
1
|
+
// One-time import of the older sticker plugin's library (catalog.json + assets/) into the world's own sticker library.
|
|
2
|
+
// Usage: node scripts/import-stickers.mjs <older library folder, e.g. ~/.dsh/memes> <world folder, e.g. ~/.dsh/worlds/<id>>
|
|
3
|
+
// Ids, names and tags carry over; packs and long meanings do not. Running it again adds nothing. The older folder is only read.
|
|
4
|
+
import { join, resolve } from 'node:path';
|
|
5
|
+
import { pathToFileURL, fileURLToPath } from 'node:url';
|
|
6
|
+
|
|
7
|
+
const [legacy, world] = process.argv.slice(2);
|
|
8
|
+
if (!legacy || !world) {
|
|
9
|
+
console.error('用法:node scripts/import-stickers.mjs <旧表情包目录> <世界目录>');
|
|
10
|
+
process.exit(2);
|
|
11
|
+
}
|
|
12
|
+
const modulePath = join(fileURLToPath(new URL('..', import.meta.url)), 'lib', 'ecosystem', 'wechat', 'stickerLibrary.js');
|
|
13
|
+
const { createStickerLibrary, importLegacyStickers } = await import(pathToFileURL(modulePath).href);
|
|
14
|
+
const library = createStickerLibrary(join(resolve(world), 'stickers'));
|
|
15
|
+
const report = await importLegacyStickers(resolve(legacy), library);
|
|
16
|
+
console.log(`导入 ${report.imported} 张,已在库里的 ${report.duplicates} 张,跳过 ${report.skipped.length} 张;表情库现有 ${(await library.list()).length} 张。`);
|
|
17
|
+
for (const line of report.skipped) console.log(` 跳过 ${line}`);
|
package/scripts/update-world.mjs
CHANGED
|
@@ -7,8 +7,8 @@ import { fileURLToPath } from 'node:url';
|
|
|
7
7
|
import { isDeepStrictEqual, parseArgs, promisify } from 'node:util';
|
|
8
8
|
|
|
9
9
|
const execute = promisify(execFile);
|
|
10
|
-
const command = (file, args, options = {}) => execute(file, args, { windowsHide: true, maxBuffer: 16 * 1024 * 1024, ...options });
|
|
11
|
-
// GNU tar (the one Git Bash puts first) reads the `C:` of an archive path as a remote host; naming the archive from its own folder works with every tar.
|
|
10
|
+
const command = (file, args, options = {}) => execute(file, args, { windowsHide: true, maxBuffer: 16 * 1024 * 1024, ...options });
|
|
11
|
+
// GNU tar (the one Git Bash puts first) reads the `C:` of an archive path as a remote host; naming the archive from its own folder works with every tar.
|
|
12
12
|
const readArchive = (run, archive, args, options = {}) => run('tar', [args[0], basename(archive), ...args.slice(1)], { ...options, cwd: dirname(archive) });
|
|
13
13
|
const json = async file => JSON.parse((await readFile(file, 'utf8')).replace(/^\uFEFF/, ''));
|
|
14
14
|
async function exists(file) {
|
package/src/ecosystem/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
新增模块的目录约定、公共协议、内核变更说明和提交要求见 [贡献协议](../../CONTRIBUTING.md)。
|
|
6
6
|
|
|
7
7
|
- `wechat/`:微信宿主接口、群消息主动分页读取、回复编排、图片接收和发送回执;读写使用同一账号绑定与适配器轮询。`windows/messages.py` 共用身份与显示格式,`reading.py` 负责只读历史分页,`windows/` 同时放 Python 收发适配器及 `engine/` 原生桥。启动步骤见 [微信模块](wechat/windows/README.md)。
|
|
8
|
-
- `qq/`:QQ 的两扇门——插件自己那条通道的接口(`/dsh-world/qq/native` 看状态、拨开关)与 SnowLuma 控制台入口。收发不在这里。(2026-10-27 之前这里管的是一个外部 `qq-bridge` 进程,那个进程已拆掉,配置项一并消失。)
|
|
8
|
+
- `qq/`:QQ 的两扇门——插件自己那条通道的接口(`/dsh-world/worlds/<worldId>/qq/native` 看状态、拨开关)与 SnowLuma 控制台入口。收发不在这里。(2026-10-27 之前这里管的是一个外部 `qq-bridge` 进程,那个进程已拆掉,配置项一并消失。)
|
|
9
9
|
- `qq-native/`:QQ 的原生通道——直连 OneBot 的 WebSocket(收发、去重、白名单、群里被叫到才接、主动开口引擎),以及「阳台」那条给本机别的程序用的线(`native-bridge.ts`,对面跑的是 `src/qq-line.ts`)。
|
|
10
10
|
- `shared/`:通用来源身份、群上下文、平台会话路由和消息出口。
|
|
11
11
|
- `bridge/`:桌宠及其他本地程序向家的通用桥。
|
|
@@ -10,7 +10,7 @@ DSH 端代码在 `src/ecosystem/wechat/`,此目录只负责 Windows 微信收
|
|
|
10
10
|
- 收到要交给她的消息后先缓冲(默认 3 秒,`bufferSeconds`):同一聊天、同一发言人在等待中又发来文字(私聊还包括图片),就重新计时,安静下来后合并为一次模型请求;最长等 30 秒、最多 16 条、合并文字不超过 2000 字,私聊最多两张图片。别人发言、引用、表情包等其他类型让批次立即结束。群聊只有 @ 她的消息会等待,同一人随后的文字合并进来,身份仍是 @ 她的那条。批次开始处理后才收到的消息留在微信数据库中,下一轮按序读取,不中断当前回复。
|
|
11
11
|
- 批次成员保留原平台消息 ID,在同一事务中进入待处理与完成状态;缓冲期间不推进游标,处理中断后保留待核对状态,不自动重跑模型。图片单发仅进入会话图片上下文;图片加文字时只把真实文字按原范围归档。图片及附件引用不写入共享记忆块,是否另行留存其中信息由她自己判断。
|
|
12
12
|
- 暂不接收视频号分享卡片:卡片会被跳过,不进入宿主会话或共享记忆。视频号卡片解析、视频内容读取,以及朋友圈浏览/发布,均预留为微信模块后续扩展,尚未实现;朋友圈发布需要独立接口,不能复用私聊/群聊发送接口。
|
|
13
|
-
- 后台原生发送文字、图片及 GIF 表情,不操作窗口、鼠标、键盘或剪贴板。按 `engine/profiles.json` 中的文件大小与 SHA256 自动选择 Windows x64 微信 4.1.15.13 / 4.1.15.56 / 4.2.0.11 / 4.2.0.12 的指定构建(4.2
|
|
13
|
+
- 后台原生发送文字、图片及 GIF 表情,不操作窗口、鼠标、键盘或剪贴板。按 `engine/profiles.json` 中的文件大小与 SHA256 自动选择 Windows x64 微信 4.1.15.13 / 4.1.15.56 / 4.2.0.11 / 4.2.0.12 / 4.2.0.13 的指定构建(4.2 的表情包截取一帧作为图片发送,见下)。未知或匹配不唯一的构建会在加载原生桥前报错。
|
|
14
14
|
- 发言人使用真实 wxid,消息保持 `role: user`;昵称只作显示。
|
|
15
15
|
- 每个群按平台、登录账号、聊天类型和群 ID 绑定独立会话,列在原房间工作区下,重启继续复用;群名变化不产生新会话。QQ 的相同参数可使用同一映射结构,但本模块仍只提供微信传输。
|
|
16
16
|
- 群消息只在微信来源元数据的 `atuserlist` 包含她的真实 wxid 时触发,正文里手打 `@昵称` 不触发。回复携带当前消息之前默认 5 条(控制台可调,1–20)、最多 16KB 的同群上下文,保留各自的发言人 ID;每轮最多读取其中最近两张图片。
|
|
@@ -142,9 +142,11 @@ node <dsh-world 包目录>scriptsimport-stickers.mjs C:Usersyou.dshmemes C:Users
|
|
|
142
142
|
|
|
143
143
|
这不是微信官方 API。版本变更需重新校准,锁屏和群聊等实际条件必须分别验证。`engine/` 基于第三方原生 ABI 研究定制,保留独立的非商业许可与来源说明;该目录不适用仓库根目录的 MIT 许可。
|
|
144
144
|
|
|
145
|
-
4.1.15.56 的指纹与 19 个原生地址映射来自 [helper 的版本表](https://github.com/Prometheus-first/helper/blob/main/native/core_version.h)。两版沿用相同请求 ABI、账号核对和消息对象字段布局;版本表选择、地址编码及未知构建拒绝由离线测试覆盖。上游已实测新版文字收发及桥接加载卸载,媒体未逐项重做真实网络操作,详见其 [验证范围](https://github.com/Prometheus-first/helper/blob/main/native/README.md);本项目实测范围见下方日期记录。本次仅更新 Python 和版本表,无须重新编译未改动的 C++ 桥;新增构建或结构发生变化时仍需校准并实测。
|
|
146
|
-
|
|
147
|
-
4.2.0.11 与 4.2.0.12
|
|
145
|
+
4.1.15.56 的指纹与 19 个原生地址映射来自 [helper 的版本表](https://github.com/Prometheus-first/helper/blob/main/native/core_version.h)。两版沿用相同请求 ABI、账号核对和消息对象字段布局;版本表选择、地址编码及未知构建拒绝由离线测试覆盖。上游已实测新版文字收发及桥接加载卸载,媒体未逐项重做真实网络操作,详见其 [验证范围](https://github.com/Prometheus-first/helper/blob/main/native/README.md);本项目实测范围见下方日期记录。本次仅更新 Python 和版本表,无须重新编译未改动的 C++ 桥;新增构建或结构发生变化时仍需校准并实测。
|
|
146
|
+
|
|
147
|
+
4.2.0.11 与 4.2.0.12 的指纹和地址取自 helper 的版本表。4.2.0.13 的地址由本项目从腾讯签名的 `Weixin.dll` 独立比对得出,基准是从安装包离线解出的 4.2.0.12 DLL。三个 4.2 构建都沿用静态表情发送方式。适配器取 GIF 第一帧转为 PNG,第一帧完全透明或只有一种颜色时改取最后一帧。4.2.0.13 仅更新版本表,已构建当前原生桥的环境可直接使用。来源见 [NOTICE](engine/NOTICE.md)。
|
|
148
|
+
|
|
149
|
+
2026-11-04 已在 Windows 微信 4.2.0.13 上通过 `Probe`,核对了构建指纹、绑定账号及原生调度。实际文字、图片、表情包投递及 DSH 收发联动待验证。
|
|
148
150
|
|
|
149
151
|
2026-10-25 已在绑定的专用账号私聊中确认两条独立文字及一条原生表情(类型 47),并在选定家庭群补发确认一张原生表情和一条文字;均核对服务器消息编号,媒体内容同时核对 MD5。首次群会话的技能目录误判已修复并有回归测试。2026-10-26 已确认家庭群真实 @ 触发时读取两张缓存图片、模型描述图片并回群发送成功,附件引用保存在群会话日志,该群共享归档记录数仍为 0。该轮未测独立图片发送和锁屏运行。
|
|
150
152
|
|
|
@@ -3,6 +3,7 @@ import argparse
|
|
|
3
3
|
from contextlib import contextmanager
|
|
4
4
|
from http.client import IncompleteRead
|
|
5
5
|
import json
|
|
6
|
+
import re
|
|
6
7
|
import sqlite3
|
|
7
8
|
import sys
|
|
8
9
|
import time
|
|
@@ -368,9 +369,10 @@ def postHomeOnce(moduleFile, message, timeout):
|
|
|
368
369
|
if message.get('media') and connection.get('protocol', 0) < 3:
|
|
369
370
|
raise RuntimeError('私聊图片需要新版宿主协议,请更新并重载 DSH 的 dsh-world 插件')
|
|
370
371
|
origin = urlparse(connection['origin'])
|
|
371
|
-
|
|
372
|
+
path = connection.get('path', '')
|
|
373
|
+
if origin.scheme != 'http' or origin.hostname not in ('127.0.0.1', 'localhost', '::1') or not isinstance(path, str) or not re.fullmatch(r'/dsh-world/worlds/[A-Za-z0-9][A-Za-z0-9_-]{0,63}/wechat/ask', path):
|
|
372
374
|
raise ValueError('微信模块地址必须是本机 DSH 的独立接口')
|
|
373
|
-
request = Request(connection['origin'].rstrip('/') +
|
|
375
|
+
request = Request(connection['origin'].rstrip('/') + path,
|
|
374
376
|
data=json.dumps(message, ensure_ascii=False).encode(),
|
|
375
377
|
headers={'Content-Type': 'application/json', 'x-dsh-world-token': connection['token']}, method='POST')
|
|
376
378
|
with urlopen(request, timeout=timeout) as response:
|
|
@@ -11,3 +11,9 @@ hooks, recall handling, account discovery or group management.
|
|
|
11
11
|
|
|
12
12
|
profiles.json contains the fingerprint-locked 4.1.15.13, 4.1.15.56, 4.2.0.11 and 4.2.0.12
|
|
13
13
|
address mappings from https://github.com/Prometheus-first/helper/blob/main/native/core_version.h.
|
|
14
|
+
|
|
15
|
+
The 4.2.0.13 mapping was derived by dsh-world from the Tencent-signed Windows
|
|
16
|
+
x64 Weixin.dll. The comparison used the 4.2.0.12 DLL extracted from Tencent's
|
|
17
|
+
installer and verified against the existing profile. Function disassembly,
|
|
18
|
+
references to the account root, and the context vtable were compared between
|
|
19
|
+
the two builds.
|
|
@@ -1,114 +1,142 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"version": "4.1.15.13",
|
|
4
|
-
"size": 201552944,
|
|
5
|
-
"sha256": "10f8e995453e2da46d4f2b5080cd6da1f13cc5147746adc119ceae38cb039de5",
|
|
6
|
-
"timestamp": 1789961080,
|
|
7
|
-
"imageSize": 202039296,
|
|
8
|
-
"addresses": {
|
|
9
|
-
"application": 285968,
|
|
10
|
-
"scheduler": 291600,
|
|
11
|
-
"schedule": 3125264,
|
|
12
|
-
"context": 291360,
|
|
13
|
-
"provider": 3589952,
|
|
14
|
-
"manager": 7294352,
|
|
15
|
-
"text": 88802032,
|
|
16
|
-
"image": 64608656,
|
|
17
|
-
"emoticon": 29340096,
|
|
18
|
-
"copyWide": 636368,
|
|
19
|
-
"validateGif": 15182048,
|
|
20
|
-
"probeGif": 5441984,
|
|
21
|
-
"releaseProbe": 5137248,
|
|
22
|
-
"send": 24703232,
|
|
23
|
-
"allocate": 122337436,
|
|
24
|
-
"free": 122337504,
|
|
25
|
-
"accountRoot": 194061968,
|
|
26
|
-
"contextVtable": 148890360,
|
|
27
|
-
"emoticonVtable": 151891960
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"version": "4.1.15.56",
|
|
32
|
-
"size": 204305968,
|
|
33
|
-
"sha256": "e0428a7b691853de496532523c2c09aa095f90941c37c9f4cfb3f137f3c66556",
|
|
34
|
-
"timestamp": 1792050120,
|
|
35
|
-
"imageSize": 204795904,
|
|
36
|
-
"addresses": {
|
|
37
|
-
"application": 285968,
|
|
38
|
-
"scheduler": 291600,
|
|
39
|
-
"schedule": 3208272,
|
|
40
|
-
"context": 291360,
|
|
41
|
-
"provider": 3679184,
|
|
42
|
-
"manager": 7377536,
|
|
43
|
-
"text": 90112896,
|
|
44
|
-
"image": 65154416,
|
|
45
|
-
"emoticon": 29436416,
|
|
46
|
-
"copyWide": 636384,
|
|
47
|
-
"validateGif": 15343584,
|
|
48
|
-
"probeGif": 5528896,
|
|
49
|
-
"releaseProbe": 5224160,
|
|
50
|
-
"send": 24788000,
|
|
51
|
-
"allocate": 122993884,
|
|
52
|
-
"free": 122993952,
|
|
53
|
-
"accountRoot": 196685728,
|
|
54
|
-
"contextVtable": 150803560,
|
|
55
|
-
"emoticonVtable": 153824520
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"version": "4.2.0.11",
|
|
60
|
-
"size": 205929008,
|
|
61
|
-
"sha256": "745cdf2955fa5128cdb00c056c97571156a5f107406a9bb15ac0754f3246b201",
|
|
62
|
-
"timestamp": 1793108177,
|
|
63
|
-
"imageSize": 206422016,
|
|
64
|
-
"addresses": {
|
|
65
|
-
"application": 285968,
|
|
66
|
-
"scheduler": 291600,
|
|
67
|
-
"schedule": 3217808,
|
|
68
|
-
"context": 291360,
|
|
69
|
-
"provider": 3688240,
|
|
70
|
-
"manager": 7456256,
|
|
71
|
-
"text": 91356448,
|
|
72
|
-
"image": 65819968,
|
|
73
|
-
"emoticon": null,
|
|
74
|
-
"copyWide": 636384,
|
|
75
|
-
"validateGif": null,
|
|
76
|
-
"probeGif": null,
|
|
77
|
-
"releaseProbe": null,
|
|
78
|
-
"send": 24965648,
|
|
79
|
-
"allocate": 124404668,
|
|
80
|
-
"free": 124404736,
|
|
81
|
-
"accountRoot": 198233648,
|
|
82
|
-
"contextVtable": 151867272,
|
|
83
|
-
"emoticonVtable": null
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"version": "4.2.0.12",
|
|
88
|
-
"size": 205932072,
|
|
89
|
-
"sha256": "2b3677c3f932daaa4ef84c8b2acd0aee12cbe5a779ff9e740c370761e5c291ce",
|
|
90
|
-
"timestamp": 1793275655,
|
|
91
|
-
"imageSize": 206417920,
|
|
92
|
-
"addresses": {
|
|
93
|
-
"application": 285968,
|
|
94
|
-
"scheduler": 291600,
|
|
95
|
-
"schedule": 3217808,
|
|
96
|
-
"context": 291360,
|
|
97
|
-
"provider": 3688240,
|
|
98
|
-
"manager": 7451520,
|
|
99
|
-
"text": 91361344,
|
|
100
|
-
"image": 65824848,
|
|
101
|
-
"emoticon": null,
|
|
102
|
-
"copyWide": 636384,
|
|
103
|
-
"validateGif": null,
|
|
104
|
-
"probeGif": null,
|
|
105
|
-
"releaseProbe": null,
|
|
106
|
-
"send": 24962240,
|
|
107
|
-
"allocate": 124408764,
|
|
108
|
-
"free": 124408832,
|
|
109
|
-
"accountRoot": 198233648,
|
|
110
|
-
"contextVtable": 151871336,
|
|
111
|
-
"emoticonVtable": null
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"version": "4.1.15.13",
|
|
4
|
+
"size": 201552944,
|
|
5
|
+
"sha256": "10f8e995453e2da46d4f2b5080cd6da1f13cc5147746adc119ceae38cb039de5",
|
|
6
|
+
"timestamp": 1789961080,
|
|
7
|
+
"imageSize": 202039296,
|
|
8
|
+
"addresses": {
|
|
9
|
+
"application": 285968,
|
|
10
|
+
"scheduler": 291600,
|
|
11
|
+
"schedule": 3125264,
|
|
12
|
+
"context": 291360,
|
|
13
|
+
"provider": 3589952,
|
|
14
|
+
"manager": 7294352,
|
|
15
|
+
"text": 88802032,
|
|
16
|
+
"image": 64608656,
|
|
17
|
+
"emoticon": 29340096,
|
|
18
|
+
"copyWide": 636368,
|
|
19
|
+
"validateGif": 15182048,
|
|
20
|
+
"probeGif": 5441984,
|
|
21
|
+
"releaseProbe": 5137248,
|
|
22
|
+
"send": 24703232,
|
|
23
|
+
"allocate": 122337436,
|
|
24
|
+
"free": 122337504,
|
|
25
|
+
"accountRoot": 194061968,
|
|
26
|
+
"contextVtable": 148890360,
|
|
27
|
+
"emoticonVtable": 151891960
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"version": "4.1.15.56",
|
|
32
|
+
"size": 204305968,
|
|
33
|
+
"sha256": "e0428a7b691853de496532523c2c09aa095f90941c37c9f4cfb3f137f3c66556",
|
|
34
|
+
"timestamp": 1792050120,
|
|
35
|
+
"imageSize": 204795904,
|
|
36
|
+
"addresses": {
|
|
37
|
+
"application": 285968,
|
|
38
|
+
"scheduler": 291600,
|
|
39
|
+
"schedule": 3208272,
|
|
40
|
+
"context": 291360,
|
|
41
|
+
"provider": 3679184,
|
|
42
|
+
"manager": 7377536,
|
|
43
|
+
"text": 90112896,
|
|
44
|
+
"image": 65154416,
|
|
45
|
+
"emoticon": 29436416,
|
|
46
|
+
"copyWide": 636384,
|
|
47
|
+
"validateGif": 15343584,
|
|
48
|
+
"probeGif": 5528896,
|
|
49
|
+
"releaseProbe": 5224160,
|
|
50
|
+
"send": 24788000,
|
|
51
|
+
"allocate": 122993884,
|
|
52
|
+
"free": 122993952,
|
|
53
|
+
"accountRoot": 196685728,
|
|
54
|
+
"contextVtable": 150803560,
|
|
55
|
+
"emoticonVtable": 153824520
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"version": "4.2.0.11",
|
|
60
|
+
"size": 205929008,
|
|
61
|
+
"sha256": "745cdf2955fa5128cdb00c056c97571156a5f107406a9bb15ac0754f3246b201",
|
|
62
|
+
"timestamp": 1793108177,
|
|
63
|
+
"imageSize": 206422016,
|
|
64
|
+
"addresses": {
|
|
65
|
+
"application": 285968,
|
|
66
|
+
"scheduler": 291600,
|
|
67
|
+
"schedule": 3217808,
|
|
68
|
+
"context": 291360,
|
|
69
|
+
"provider": 3688240,
|
|
70
|
+
"manager": 7456256,
|
|
71
|
+
"text": 91356448,
|
|
72
|
+
"image": 65819968,
|
|
73
|
+
"emoticon": null,
|
|
74
|
+
"copyWide": 636384,
|
|
75
|
+
"validateGif": null,
|
|
76
|
+
"probeGif": null,
|
|
77
|
+
"releaseProbe": null,
|
|
78
|
+
"send": 24965648,
|
|
79
|
+
"allocate": 124404668,
|
|
80
|
+
"free": 124404736,
|
|
81
|
+
"accountRoot": 198233648,
|
|
82
|
+
"contextVtable": 151867272,
|
|
83
|
+
"emoticonVtable": null
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"version": "4.2.0.12",
|
|
88
|
+
"size": 205932072,
|
|
89
|
+
"sha256": "2b3677c3f932daaa4ef84c8b2acd0aee12cbe5a779ff9e740c370761e5c291ce",
|
|
90
|
+
"timestamp": 1793275655,
|
|
91
|
+
"imageSize": 206417920,
|
|
92
|
+
"addresses": {
|
|
93
|
+
"application": 285968,
|
|
94
|
+
"scheduler": 291600,
|
|
95
|
+
"schedule": 3217808,
|
|
96
|
+
"context": 291360,
|
|
97
|
+
"provider": 3688240,
|
|
98
|
+
"manager": 7451520,
|
|
99
|
+
"text": 91361344,
|
|
100
|
+
"image": 65824848,
|
|
101
|
+
"emoticon": null,
|
|
102
|
+
"copyWide": 636384,
|
|
103
|
+
"validateGif": null,
|
|
104
|
+
"probeGif": null,
|
|
105
|
+
"releaseProbe": null,
|
|
106
|
+
"send": 24962240,
|
|
107
|
+
"allocate": 124408764,
|
|
108
|
+
"free": 124408832,
|
|
109
|
+
"accountRoot": 198233648,
|
|
110
|
+
"contextVtable": 151871336,
|
|
111
|
+
"emoticonVtable": null
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"version": "4.2.0.13",
|
|
116
|
+
"size": 205943848,
|
|
117
|
+
"sha256": "afe3d02c58bada3c35009c0cd58ee1f57b2a00fe53237d0dce649107fddb9a20",
|
|
118
|
+
"timestamp": 1793604862,
|
|
119
|
+
"imageSize": 206430208,
|
|
120
|
+
"addresses": {
|
|
121
|
+
"application": 285968,
|
|
122
|
+
"scheduler": 291600,
|
|
123
|
+
"schedule": 3228064,
|
|
124
|
+
"context": 291360,
|
|
125
|
+
"provider": 3690048,
|
|
126
|
+
"manager": 7465840,
|
|
127
|
+
"text": 91370832,
|
|
128
|
+
"image": 65862832,
|
|
129
|
+
"emoticon": null,
|
|
130
|
+
"copyWide": 636384,
|
|
131
|
+
"validateGif": null,
|
|
132
|
+
"probeGif": null,
|
|
133
|
+
"releaseProbe": null,
|
|
134
|
+
"send": 25014992,
|
|
135
|
+
"allocate": 124417292,
|
|
136
|
+
"free": 124417360,
|
|
137
|
+
"accountRoot": 198245872,
|
|
138
|
+
"contextVtable": 151879656,
|
|
139
|
+
"emoticonVtable": null
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
]
|