@deepseek-ai/dsh-deepseek-account 0.1.7-alpha.1 → 0.1.7-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/types.d.ts +1 -1
- package/package.json +5 -5
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/credentials/deepseek-account/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: c54dc4feced92308a83c47aa0eb7033766708205
|
|
6
|
+
README.zh.md: 1df0ca4cdc7d55584d8dcba29706746c87dcb31f
|
package/README.md
CHANGED
|
@@ -60,4 +60,4 @@ No model request prefix changes.
|
|
|
60
60
|
|
|
61
61
|
The [desktop login decision](../../../.agents/notes/implemented/architecture/2026-09-14-deepseek-account-login.md) records cancellation and storage ownership.
|
|
62
62
|
|
|
63
|
-
PlatformSession may carry
|
|
63
|
+
PlatformSession may carry Host-only requestHeaders from Host to Electron main: deployment headers plus the provider's x-client-platform. Consumers must exclude those headers from renderer bootstrap and restrict them to the configured origin. mergePlatformCookies preserves unrelated cookie pairs while replacing matching names.
|
package/README.zh.md
CHANGED
|
@@ -60,4 +60,4 @@ AccountDetails.balance 就绪时,value 保存充值钱包,bonusWallets 保
|
|
|
60
60
|
|
|
61
61
|
[桌面登录决策](../../../.agents/notes/implemented/architecture/2026-09-14-deepseek-account-login.zh.md)记录取消和存储的职责。
|
|
62
62
|
|
|
63
|
-
PlatformSession
|
|
63
|
+
PlatformSession 可将仅限 Host 的 requestHeaders 从 Host 传至 Electron 主进程,其中包含部署请求头和 provider 提供的 x-client-platform。消费者必须从渲染层 bootstrap 排除这些请求头,并将其限定于配置来源。mergePlatformCookies 替换同名 Cookie,同时保留其他 Cookie。
|
package/lib/types/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface PlatformSession {
|
|
|
13
13
|
readonly token: string;
|
|
14
14
|
/** Optional dist query value selecting the embedded frontend deployment. */
|
|
15
15
|
readonly embeddedPageDist?: string;
|
|
16
|
-
/**
|
|
16
|
+
/** Host-only request headers: deployment headers and the provider client identity; never exposed through renderer bootstrap. */
|
|
17
17
|
readonly requestHeaders?: Readonly<Record<string, string>>;
|
|
18
18
|
}
|
|
19
19
|
/** Account operations; only Host consumers can obtain a request credential. */
|
package/lib/types/types.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface AccountView {
|
|
|
25
25
|
}
|
|
26
26
|
/** Platform account identifier supplied by the current-user endpoint. */
|
|
27
27
|
export type AccountUserId = Branded<'AccountUserId'>;
|
|
28
|
-
/** Display identity
|
|
28
|
+
/** Display identity; contacts retain Platform masking. */
|
|
29
29
|
export interface AccountProfile {
|
|
30
30
|
readonly id: AccountUserId | null;
|
|
31
31
|
readonly name: string | null;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-deepseek-account",
|
|
3
3
|
"description": "Read account state and resolve official API credentials",
|
|
4
|
-
"version": "0.1.7-alpha.
|
|
4
|
+
"version": "0.1.7-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
],
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@deepseek-ai/
|
|
36
|
-
"@deepseek-ai/
|
|
35
|
+
"@deepseek-ai/dsh-brand": "0.1.7-alpha.2",
|
|
36
|
+
"@deepseek-ai/cordis": "~4.0.4"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@deepseek-ai/cordis": "
|
|
40
|
-
"@deepseek-ai/dsh-brand": "
|
|
39
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
40
|
+
"@deepseek-ai/dsh-brand": "0.1.7-alpha.2"
|
|
41
41
|
}
|
|
42
42
|
}
|