heybash-xdpool 1.0.1 → 1.0.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/CHANGELOG.md +6 -0
- package/README.en.md +4 -0
- package/README.md +4 -0
- package/lib/client.js +18 -7
- package/lib/index.d.ts +20 -0
- package/lib/index.js +54 -21
- package/package.json +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Heybash
|
|
2
2
|
|
|
3
|
+
## 1.0.2 — 路由与安装兼容修复
|
|
4
|
+
|
|
5
|
+
- 安装时不再自动运行依赖链接脚本,避免 pnpm 严格脚本审批阻断插件安装或升级;脚本仍可在需要排查宿主依赖时手动运行。
|
|
6
|
+
- 修复路由链渠道模型误报不在册及历史重复前缀,并保留已停用路由的成员。
|
|
7
|
+
- 路由链可按成员实际图片能力接收图片;图片请求只尝试明确支持图片的成员。
|
|
8
|
+
|
|
3
9
|
## 1.0.1 — 模型回退与推理档位修复
|
|
4
10
|
|
|
5
11
|
- CodeArts benefit 模型遇到 APIG.0101 时去掉 benefit 头、重新签名并仅重试一次。
|
package/README.en.md
CHANGED
|
@@ -82,6 +82,8 @@ Chains containing a reasoning model offer **Low / High / Max**. Each selected me
|
|
|
82
82
|
|
|
83
83
|
If a CodeArts context-summary call encounters a network or gateway timeout, the plugin can retry once through an existing chain containing that model. This requires a matching chain to be configured; a failed fallback follows normal error handling.
|
|
84
84
|
|
|
85
|
+
A chain accepts images when at least one member explicitly supports them. Requests containing images are sent only to image-capable members, as reported by their channels.
|
|
86
|
+
|
|
85
87
|
## Install
|
|
86
88
|
|
|
87
89
|
Since DSH 0.2.0, settings use peer tabs. Open **Heybash-Xdpool** from the sidebar, or press `Ctrl+Alt+,` and choose **Heybash**.
|
|
@@ -108,6 +110,8 @@ dsh plugin --profile desktop add "file:/your/project/path/dsh-xdpool-fork"
|
|
|
108
110
|
|
|
109
111
|
After editing source, rebuild and update the installed plugin, then fully quit and reopen DSH Desktop. Keep the tracked `lib/` build outputs in sync with source.
|
|
110
112
|
|
|
113
|
+
The package does not run a dependency-linking script during installation. DeepSeek Harness normally supplies the shared dependencies; if a particular environment cannot resolve them, run `node scripts/link-host-peers.mjs` manually from the installed package to troubleshoot.
|
|
114
|
+
|
|
111
115
|
The account pools appear as **Heybash(国内版)** and **Heybash(国际版)**; the optional free-model group is **Heybash · 免费模型**.
|
|
112
116
|
|
|
113
117
|
## Upgrading from an older version
|
package/README.md
CHANGED
|
@@ -85,6 +85,8 @@ Heybash-xdpool 使用独立版本号,从 **1.0.0** 开始。
|
|
|
85
85
|
|
|
86
86
|
长会话压缩的 CodeArts 请求若遇到网络或网关超时,会使用已有的同模型路由链回退一次。需要已配置包含该 CodeArts 模型的路由链;回退仍失败时保留原错误处理。
|
|
87
87
|
|
|
88
|
+
路由链只要有明确支持图片的成员即可接收图片;带图片的请求只会尝试支持图片的成员,不会把图片丢给纯文本模型。图片能力取决于各渠道提供的模型信息。
|
|
89
|
+
|
|
88
90
|
## 安装
|
|
89
91
|
|
|
90
92
|
DSH 0.2.0 起,设置面板使用平级标签。安装后从左侧栏 **Heybash-Xdpool** 进入,或按 `Ctrl+Alt+,` 打开设置并选择 **Heybash**。
|
|
@@ -111,6 +113,8 @@ dsh plugin --profile desktop add "file:/你的项目路径/dsh-xdpool-fork"
|
|
|
111
113
|
|
|
112
114
|
改动源码后需重新构建并更新已安装的插件,再完整退出、重新启动 DSH Desktop。构建产物 `lib/` 随仓库维护,源码和产物应同步提交。
|
|
113
115
|
|
|
116
|
+
安装包不自动执行依赖链接脚本。通常由 DeepSeek Harness 提供插件所需的共享依赖;如特殊环境出现依赖无法解析,可手动运行安装目录下的 `node scripts/link-host-peers.mjs` 进行排查。
|
|
117
|
+
|
|
114
118
|
模型选择器中的账号池分别显示为 **Heybash(国内版)**、**Heybash(国际版)**,免费模型分组显示为 **Heybash · 免费模型**。
|
|
115
119
|
|
|
116
120
|
## 从旧版升级
|
package/lib/client.js
CHANGED
|
@@ -10133,11 +10133,17 @@ window.__ModuleLoader__.load({
|
|
|
10133
10133
|
* a fallback that never happened. A pool model is its bare id; anything else is
|
|
10134
10134
|
* `owner/model`, the same composite id the aggregate catalog publishes.
|
|
10135
10135
|
*/
|
|
10136
|
+
function bareForOwner(owner, model) {
|
|
10137
|
+
if (owner === "workbuddy") return model;
|
|
10138
|
+
while (model.startsWith(`${owner}/`) || model.startsWith(`${owner}:`)) model = model.slice(owner.length + 1);
|
|
10139
|
+
return model;
|
|
10140
|
+
}
|
|
10136
10141
|
function flattenDraft(platforms) {
|
|
10137
10142
|
const out = [];
|
|
10138
10143
|
const seen = /* @__PURE__ */ new Set();
|
|
10139
10144
|
for (const platform of platforms) for (const model of platform.models) {
|
|
10140
|
-
const
|
|
10145
|
+
const bare = bareForOwner(platform.owner, model);
|
|
10146
|
+
const id = platform.owner === "workbuddy" ? bare : `${platform.owner}/${bare}`;
|
|
10141
10147
|
if (seen.has(id)) continue;
|
|
10142
10148
|
seen.add(id);
|
|
10143
10149
|
out.push(id);
|
|
@@ -10161,16 +10167,21 @@ window.__ModuleLoader__.load({
|
|
|
10161
10167
|
* message that names neither the chain nor the field, leaving nothing to act on.
|
|
10162
10168
|
* Normalising here means every reader below can treat the shape as total.
|
|
10163
10169
|
*/
|
|
10164
|
-
const platforms = (Array.isArray(combo.platforms) ? combo.platforms : []).filter((group) => group !== null && typeof group === "object").map((group) =>
|
|
10165
|
-
owner
|
|
10166
|
-
|
|
10167
|
-
|
|
10170
|
+
const platforms = (Array.isArray(combo.platforms) ? combo.platforms : []).filter((group) => group !== null && typeof group === "object").map((group) => {
|
|
10171
|
+
const owner = typeof group.owner === "string" ? group.owner : "workbuddy";
|
|
10172
|
+
return {
|
|
10173
|
+
owner,
|
|
10174
|
+
models: Array.isArray(group.models) ? [...new Set(group.models.filter((model) => typeof model === "string").map((model) => bareForOwner(owner, model)))] : []
|
|
10175
|
+
};
|
|
10176
|
+
});
|
|
10168
10177
|
const known = new Set(Array.isArray(combo.models) ? combo.models : []);
|
|
10169
10178
|
for (const modelId of Array.isArray(combo.missing) ? combo.missing : []) {
|
|
10170
10179
|
if (known.has(modelId)) continue;
|
|
10171
10180
|
const slash = modelId.indexOf("/");
|
|
10172
|
-
const
|
|
10173
|
-
const
|
|
10181
|
+
const colon = modelId.indexOf(":");
|
|
10182
|
+
const separator = slash === -1 ? colon : colon === -1 ? slash : Math.min(slash, colon);
|
|
10183
|
+
const owner = separator === -1 ? "workbuddy" : modelId.slice(0, separator);
|
|
10184
|
+
const model = bareForOwner(owner, separator === -1 ? modelId : modelId.slice(separator + 1));
|
|
10174
10185
|
const group = platforms.find((entry) => entry.owner === owner);
|
|
10175
10186
|
if (group === void 0) platforms.push({
|
|
10176
10187
|
owner,
|
package/lib/index.d.ts
CHANGED
|
@@ -2736,6 +2736,7 @@ interface HostModelRow {
|
|
|
2736
2736
|
channel: string;
|
|
2737
2737
|
modelId: string;
|
|
2738
2738
|
name: string;
|
|
2739
|
+
supportsImages?: boolean;
|
|
2739
2740
|
supportedEfforts?: readonly string[];
|
|
2740
2741
|
}
|
|
2741
2742
|
/**
|
|
@@ -3104,6 +3105,7 @@ interface ChannelLaneRow {
|
|
|
3104
3105
|
channel: string;
|
|
3105
3106
|
modelId: string;
|
|
3106
3107
|
name: string;
|
|
3108
|
+
supportsImages?: boolean;
|
|
3107
3109
|
supportedEfforts?: readonly string[];
|
|
3108
3110
|
}
|
|
3109
3111
|
/** One translated event, so the caller decides how to frame it as SSE. */
|
|
@@ -4363,6 +4365,24 @@ export declare function poolWebStatus(deps: PoolStatusRouteOptions, region?: Poo
|
|
|
4363
4365
|
* make this registration disappear.
|
|
4364
4366
|
*/
|
|
4365
4367
|
export declare function registerPoolStatusRoute(ctx: Context$1, deps: PoolStatusRouteOptions): void;
|
|
4368
|
+
/**
|
|
4369
|
+
* The routing document the chain editor draws from.
|
|
4370
|
+
*
|
|
4371
|
+
* `missing` is reported rather than silently dropped: the user's chain named a
|
|
4372
|
+
* model that is gone, and the only honest thing is to show them WHICH one. OFM
|
|
4373
|
+
* makes the same choice, for the same reason — a chain that quietly rewrites
|
|
4374
|
+
* itself looks like it obeyed, and the user is the only one who can tell that a
|
|
4375
|
+
* member they paid for is now a fallback to something free.
|
|
4376
|
+
*/
|
|
4377
|
+
export declare function combosStatusOf(store: AggregateStore, catalog: AggregateCatalog, poolRows: readonly WorkBuddyModelInfo[],
|
|
4378
|
+
/**
|
|
4379
|
+
* Models served by the 扫码登录 channels, from the host's own registry.
|
|
4380
|
+
*
|
|
4381
|
+
* Passed in rather than fetched here because this function is synchronous and the
|
|
4382
|
+
* host's listing is not. Omitted or empty simply means "no channel member is
|
|
4383
|
+
* offered", which is the behaviour before this parameter existed.
|
|
4384
|
+
*/
|
|
4385
|
+
hostRows?: readonly HostModelRow[]): PoolWebCombosStatus;
|
|
4366
4386
|
/** Stable Cordis plugin name. */
|
|
4367
4387
|
export declare const name = "llm-xdpool";
|
|
4368
4388
|
/** The model registry required before the provider can register. */
|
package/lib/index.js
CHANGED
|
@@ -11163,10 +11163,8 @@ function resolveComboMember(modelId, sources) {
|
|
|
11163
11163
|
* channel first cannot shadow one — and doing it first keeps a channel named after
|
|
11164
11164
|
* a pool id from being swallowed.
|
|
11165
11165
|
*
|
|
11166
|
-
*
|
|
11167
|
-
*
|
|
11168
|
-
* defaults. That is the honest answer: an unknown window must not be treated as a
|
|
11169
|
-
* large one, or the host would size a compaction against a limit nobody promised.
|
|
11166
|
+
* An unknown window uses the conservative default. Image support comes from
|
|
11167
|
+
* resolved host metadata; missing capability metadata is not treated as support.
|
|
11170
11168
|
*/
|
|
11171
11169
|
const hostRow = sources.host?.find((row) => {
|
|
11172
11170
|
if (row.id === id) return true;
|
|
@@ -11185,7 +11183,7 @@ function resolveComboMember(modelId, sources) {
|
|
|
11185
11183
|
name: hostRow.name,
|
|
11186
11184
|
contextWindow: COMBO_DEFAULT_CONTEXT_WINDOW,
|
|
11187
11185
|
maxOutputTokens: COMBO_DEFAULT_MAX_OUTPUT,
|
|
11188
|
-
supportsImages:
|
|
11186
|
+
supportsImages: hostRow.supportsImages === true,
|
|
11189
11187
|
...hostRow.supportedEfforts === void 0 ? {} : { supportedEfforts: hostRow.supportedEfforts }
|
|
11190
11188
|
};
|
|
11191
11189
|
const poolRow = sources.pool.find((row) => row.id === id);
|
|
@@ -11262,9 +11260,13 @@ function buildComboCatalog(chains, sources) {
|
|
|
11262
11260
|
const id = isComboId(chain.id ?? "") ? chain.id : comboId(chain.name);
|
|
11263
11261
|
if (id === "") continue;
|
|
11264
11262
|
const members = [];
|
|
11263
|
+
const memberIds = /* @__PURE__ */ new Set();
|
|
11265
11264
|
for (const memberId of chain.models) {
|
|
11266
11265
|
const member = resolveComboMember(memberId, sources);
|
|
11267
|
-
if (member !== void 0
|
|
11266
|
+
if (member !== void 0 && !memberIds.has(member.modelId)) {
|
|
11267
|
+
memberIds.add(member.modelId);
|
|
11268
|
+
members.push(member);
|
|
11269
|
+
}
|
|
11268
11270
|
}
|
|
11269
11271
|
if (members.length === 0) continue;
|
|
11270
11272
|
const supportedEfforts = members.some((member) => member.supportedEfforts?.some((effort) => effort !== "off")) ? CHAIN_REASONING_EFFORTS : [];
|
|
@@ -11276,7 +11278,7 @@ function buildComboCatalog(chains, sources) {
|
|
|
11276
11278
|
stickyLimit: typeof chain.stickyLimit === "number" && chain.stickyLimit > 0 ? Math.floor(chain.stickyLimit) : 1,
|
|
11277
11279
|
contextWindow: Math.min(...members.map((member) => member.contextWindow || 131072)),
|
|
11278
11280
|
maxOutputTokens: Math.min(...members.map((member) => member.maxOutputTokens || 32768)),
|
|
11279
|
-
supportsImages: members.
|
|
11281
|
+
supportsImages: members.some((member) => member.supportsImages),
|
|
11280
11282
|
...supportedEfforts.length === 0 ? {} : { supportedEfforts },
|
|
11281
11283
|
combo: true
|
|
11282
11284
|
});
|
|
@@ -19440,8 +19442,10 @@ function createChannelLane(options) {
|
|
|
19440
19442
|
if (running !== void 0) return running;
|
|
19441
19443
|
const tracked = llm.listModels(channel).then((models) => Promise.all(models.map(async (model) => {
|
|
19442
19444
|
let supportedEfforts;
|
|
19445
|
+
let supportsImages;
|
|
19443
19446
|
if (llm.resolveModelInfo !== void 0) try {
|
|
19444
19447
|
const info = await llm.resolveModelInfo(channel, model.id);
|
|
19448
|
+
if (Array.isArray(info.inputModalities)) supportsImages = info.inputModalities.includes("image");
|
|
19445
19449
|
supportedEfforts = [...new Set((info.reasoning?.efforts ?? []).map((effort) => effort.id === "on" ? "high" : effort.id))];
|
|
19446
19450
|
} catch {}
|
|
19447
19451
|
return {
|
|
@@ -19449,6 +19453,7 @@ function createChannelLane(options) {
|
|
|
19449
19453
|
channel,
|
|
19450
19454
|
modelId: model.id,
|
|
19451
19455
|
name: model.name ?? model.id,
|
|
19456
|
+
...supportsImages === void 0 ? {} : { supportsImages },
|
|
19452
19457
|
...supportedEfforts === void 0 ? {} : { supportedEfforts }
|
|
19453
19458
|
};
|
|
19454
19459
|
}))).catch((error) => {
|
|
@@ -19519,9 +19524,10 @@ async function toHostMessage(message, attachments) {
|
|
|
19519
19524
|
});
|
|
19520
19525
|
continue;
|
|
19521
19526
|
}
|
|
19527
|
+
if (block.type === "image" || block.type === "input_image") throw new ChannelRequestError("unsupported image part format; use an image_url data URL");
|
|
19522
19528
|
if (block.type === "image_url" && typeof block.image_url === "object" && block.image_url !== null) {
|
|
19523
19529
|
const url = block.image_url.url;
|
|
19524
|
-
if (typeof url !== "string" || url.trim() === "")
|
|
19530
|
+
if (typeof url !== "string" || url.trim() === "") throw new ChannelRequestError("image_url part has no image URL");
|
|
19525
19531
|
if (attachments === void 0) throw new ChannelRequestError("this gateway build has no attachment store, so images cannot be forwarded");
|
|
19526
19532
|
const reading = interpretImagePart(url);
|
|
19527
19533
|
if (!reading.ok) throw new ChannelRequestError(reading.reason);
|
|
@@ -19533,7 +19539,9 @@ async function toHostMessage(message, attachments) {
|
|
|
19533
19539
|
type: "image",
|
|
19534
19540
|
attachment: ref
|
|
19535
19541
|
});
|
|
19542
|
+
continue;
|
|
19536
19543
|
}
|
|
19544
|
+
if (block.type === "image_url") throw new ChannelRequestError("image_url part has no image URL");
|
|
19537
19545
|
}
|
|
19538
19546
|
return {
|
|
19539
19547
|
role,
|
|
@@ -19622,6 +19630,10 @@ async function* runTurn(input) {
|
|
|
19622
19630
|
if (selected !== "") options.reasoningEffort = selected;
|
|
19623
19631
|
}
|
|
19624
19632
|
for await (const chunk of llm.stream(options)) {
|
|
19633
|
+
if (chunk.type === "finish" && typeof chunk.reason === "object" && chunk.reason !== null && chunk.reason.kind === "error") {
|
|
19634
|
+
const failure = chunk.reason.failure;
|
|
19635
|
+
throw new Error(typeof failure?.message === "string" ? failure.message : `channel ${channel} model request failed`);
|
|
19636
|
+
}
|
|
19625
19637
|
const event = toChannelEvent(chunk);
|
|
19626
19638
|
if (event !== void 0) yield event;
|
|
19627
19639
|
}
|
|
@@ -20445,7 +20457,19 @@ function createWorkBuddyShim(options) {
|
|
|
20445
20457
|
aggregate: aggregate === void 0 ? [] : aggregate.catalog.providerRows(),
|
|
20446
20458
|
host: channels === void 0 ? [] : await channels.rows()
|
|
20447
20459
|
};
|
|
20448
|
-
|
|
20460
|
+
let members = comboChain(row).map((modelId) => resolveComboMember(modelId, sources)).filter((member) => member !== void 0);
|
|
20461
|
+
const body = JSON.parse(raw);
|
|
20462
|
+
if (Array.isArray(body.messages) && body.messages.some((message) => Array.isArray(message.content) && message.content.some((part) => typeof part === "object" && part !== null && [
|
|
20463
|
+
"image_url",
|
|
20464
|
+
"input_image",
|
|
20465
|
+
"image"
|
|
20466
|
+
].includes(String(part.type))))) {
|
|
20467
|
+
members = members.filter((member) => member.supportsImages);
|
|
20468
|
+
if (members.length === 0) {
|
|
20469
|
+
writeOpenAIError(res, 400, "combo_no_image_member", `chain ${row.id} has no image-capable member available`);
|
|
20470
|
+
return;
|
|
20471
|
+
}
|
|
20472
|
+
}
|
|
20449
20473
|
if (members.length === 0) {
|
|
20450
20474
|
writeOpenAIError(res, 503, "combo_empty", `chain ${row.id} has no member model available right now`);
|
|
20451
20475
|
return;
|
|
@@ -22446,29 +22470,37 @@ function combosStatusOf(store, catalog, poolRows, hostRows = []) {
|
|
|
22446
22470
|
};
|
|
22447
22471
|
}),
|
|
22448
22472
|
...hostRows.map((row) => ({
|
|
22449
|
-
id: row.
|
|
22473
|
+
id: `${row.channel}/${row.modelId}`,
|
|
22450
22474
|
name: row.name,
|
|
22451
22475
|
owner: row.channel,
|
|
22452
22476
|
usable: true,
|
|
22453
22477
|
contextWindow: COMBO_DEFAULT_CONTEXT_WINDOW,
|
|
22454
|
-
supportsImages:
|
|
22478
|
+
supportsImages: row.supportsImages === true,
|
|
22455
22479
|
siblings: []
|
|
22456
22480
|
}))
|
|
22457
22481
|
];
|
|
22458
|
-
const
|
|
22482
|
+
const sources = {
|
|
22483
|
+
pool: poolRows,
|
|
22484
|
+
aggregate: providerRows,
|
|
22485
|
+
host: hostRows
|
|
22486
|
+
};
|
|
22487
|
+
const displayId = (id) => {
|
|
22488
|
+
const host = hostRows.find((row) => row.id === id);
|
|
22489
|
+
return host === void 0 ? id : `${host.channel}/${host.modelId}`;
|
|
22490
|
+
};
|
|
22459
22491
|
return {
|
|
22460
22492
|
combos: chains.map((chain) => {
|
|
22461
|
-
const resolved = buildComboCatalog([
|
|
22462
|
-
|
|
22463
|
-
|
|
22464
|
-
|
|
22465
|
-
|
|
22493
|
+
const resolved = buildComboCatalog([{
|
|
22494
|
+
...chain,
|
|
22495
|
+
enabled: true
|
|
22496
|
+
}], sources)[0];
|
|
22497
|
+
const displayModels = [...new Set((resolved?.models ?? []).map(displayId))];
|
|
22466
22498
|
return {
|
|
22467
22499
|
id: resolved?.id ?? comboId(chain.name),
|
|
22468
22500
|
name: chain.name,
|
|
22469
|
-
models:
|
|
22470
|
-
platforms: splitPlatforms(
|
|
22471
|
-
missing: chain.models.filter((modelId) =>
|
|
22501
|
+
models: displayModels,
|
|
22502
|
+
platforms: splitPlatforms(displayModels),
|
|
22503
|
+
missing: chain.models.filter((modelId) => resolveComboMember(modelId, sources) === void 0),
|
|
22472
22504
|
strategy: resolved?.strategy ?? chain.strategy ?? "fallback",
|
|
22473
22505
|
stickyLimit: resolved?.stickyLimit ?? chain.stickyLimit ?? 1,
|
|
22474
22506
|
enabled: chain.enabled !== false,
|
|
@@ -23021,6 +23053,7 @@ function apply(ctx, config = {}) {
|
|
|
23021
23053
|
channel: row.channel,
|
|
23022
23054
|
modelId: row.modelId,
|
|
23023
23055
|
name: row.name,
|
|
23056
|
+
...row.supportsImages === void 0 ? {} : { supportsImages: row.supportsImages },
|
|
23024
23057
|
...row.supportedEfforts === void 0 ? {} : { supportedEfforts: row.supportedEfforts }
|
|
23025
23058
|
}));
|
|
23026
23059
|
} catch (error) {
|
|
@@ -23647,4 +23680,4 @@ function apply(ctx, config = {}) {
|
|
|
23647
23680
|
ctx.logger.error("heybash-xdpool: shim failed to listen", error);
|
|
23648
23681
|
});
|
|
23649
23682
|
}
|
|
23650
|
-
export { APPEARANCE_THEME_KEY, AUTOMATION_JOB_KINDS, AUTOMATION_TICK_MS, BUDDY_APP_ID, BUDDY_APP_NAME, Config, DEFAULT_AUTOMATION_HOURS, DEFAULT_CONTEXT_BUDGET, EVENT_SCORE_WAIT_MS, FALLBACK_WORKBUDDY_MODELS, IGNORED_FILE_NAME, LIBRARY_DOC_URL, LIGHTHOUSE_EXPERT_ID, PLAYBOOK_CASE_ID, PLAYBOOK_CASE_NAME, PLUGIN_DATA_DIR_NAME, POOL_ACCOUNT_IGNORE_PATH, POOL_AUTOMATION_RUN_PATH, POOL_CHECKIN_PATH, POOL_CREDIT_RESERVE_PATH, POOL_MODELS_SAVE_PATH, POOL_RESCAN_PATH, POOL_RESET_COOLDOWN_PATH, POOL_STATUS_PATH, SKILL_ID, SKILL_NAME, TEMPLATE_PRESETS, WORKBUDDY_AUTH_FILE_ENV, WORKBUDDY_LIVE_FILENAME, WorkBuddyAccountPool, WorkBuddyCatalog, WorkBuddyScheduler, WorkBuddyUpstreamClient, XDPOOL_PROVIDER, XDPOOL_SETTINGS_NS, appearanceChain, apply, automationChain, automationOptions, buddyAppChain, buddyAppEvents, buildStatus, candidateAuthDirs, canvasChain, chatChain, classifyUpstreamError, createCore, createWorkBuddyAdapter, createWorkBuddyShim, currentApi, dayKey, defaultDesktopAuthDirs, desktopAutomationCreatedEvent, desktopCanvasEvents, desktopChatEvents, dshHome, expertActualUseEvent, expertChatEvents, expertSummonEvents, formatRates, formatStatus, ignoreAccount, ignoredIdsPath, inject, isAutomationJobKind, isFireHour, libraryReadChain, modelSelectionKeyFor, name, parseRateLimitReset, parseWorkBuddyAuth, playbookChain, pluginDataDir, poolWebStatus, preferredIdPath, readIgnoredAccounts, readIgnoredAccountsSync, readPreferredId, readPreferredIdSync, registerPoolStatusRoute, setApi, skillChain, templateChain, templateChains, unignoreAccount, workbuddyAccountId, writeIgnoredAccounts, writePreferredId };
|
|
23683
|
+
export { APPEARANCE_THEME_KEY, AUTOMATION_JOB_KINDS, AUTOMATION_TICK_MS, BUDDY_APP_ID, BUDDY_APP_NAME, Config, DEFAULT_AUTOMATION_HOURS, DEFAULT_CONTEXT_BUDGET, EVENT_SCORE_WAIT_MS, FALLBACK_WORKBUDDY_MODELS, IGNORED_FILE_NAME, LIBRARY_DOC_URL, LIGHTHOUSE_EXPERT_ID, PLAYBOOK_CASE_ID, PLAYBOOK_CASE_NAME, PLUGIN_DATA_DIR_NAME, POOL_ACCOUNT_IGNORE_PATH, POOL_AUTOMATION_RUN_PATH, POOL_CHECKIN_PATH, POOL_CREDIT_RESERVE_PATH, POOL_MODELS_SAVE_PATH, POOL_RESCAN_PATH, POOL_RESET_COOLDOWN_PATH, POOL_STATUS_PATH, SKILL_ID, SKILL_NAME, TEMPLATE_PRESETS, WORKBUDDY_AUTH_FILE_ENV, WORKBUDDY_LIVE_FILENAME, WorkBuddyAccountPool, WorkBuddyCatalog, WorkBuddyScheduler, WorkBuddyUpstreamClient, XDPOOL_PROVIDER, XDPOOL_SETTINGS_NS, appearanceChain, apply, automationChain, automationOptions, buddyAppChain, buddyAppEvents, buildStatus, candidateAuthDirs, canvasChain, chatChain, classifyUpstreamError, combosStatusOf, createCore, createWorkBuddyAdapter, createWorkBuddyShim, currentApi, dayKey, defaultDesktopAuthDirs, desktopAutomationCreatedEvent, desktopCanvasEvents, desktopChatEvents, dshHome, expertActualUseEvent, expertChatEvents, expertSummonEvents, formatRates, formatStatus, ignoreAccount, ignoredIdsPath, inject, isAutomationJobKind, isFireHour, libraryReadChain, modelSelectionKeyFor, name, parseRateLimitReset, parseWorkBuddyAuth, playbookChain, pluginDataDir, poolWebStatus, preferredIdPath, readIgnoredAccounts, readIgnoredAccountsSync, readPreferredId, readPreferredIdSync, registerPoolStatusRoute, setApi, skillChain, templateChain, templateChains, unignoreAccount, workbuddyAccountId, writeIgnoredAccounts, writePreferredId };
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "heybash-xdpool",
|
|
3
3
|
"displayName": "Heybash",
|
|
4
4
|
"description": "Heybash model pool for DeepSeek Harness: account rotation, provider aggregation, routing chains, usage insights and a local OpenAI-compatible gateway.",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.2",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Heybash",
|
|
8
8
|
"contributors": [
|
|
@@ -62,8 +62,7 @@
|
|
|
62
62
|
"prepublishOnly": "tsdown",
|
|
63
63
|
"test": "vitest run",
|
|
64
64
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
65
|
-
"typecheck:client": "tsc -p tsconfig.client.json --noEmit"
|
|
66
|
-
"postinstall": "node scripts/link-host-peers.mjs"
|
|
65
|
+
"typecheck:client": "tsc -p tsconfig.client.json --noEmit"
|
|
67
66
|
},
|
|
68
67
|
"dsh": {
|
|
69
68
|
"bundle": {
|