@ycodium-ai/agent-dsh 0.2.2126 → 0.2.2130
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/dist/index.js +5 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -26540,6 +26540,10 @@ function resolveHomePath(value) {
|
|
|
26540
26540
|
if (trimmed.length === 0) return "";
|
|
26541
26541
|
return NodePath.resolve(expandHomePath(trimmed));
|
|
26542
26542
|
}
|
|
26543
|
+
function dshContinuationKey(homePath) {
|
|
26544
|
+
const resolved = resolveHomePath(homePath);
|
|
26545
|
+
return `dsh:home:${resolved.length > 0 ? resolved : NodePath.join(NodeOS.homedir(), ".dsh")}`;
|
|
26546
|
+
}
|
|
26543
26547
|
function buildSpawnEnv(recipe, resolvedHomePath, launchEnv = {}, nativeModeId) {
|
|
26544
26548
|
const homeEnvVar = recipe.homeEnvVar.trim() || DSH_CARD.homeEnvVar;
|
|
26545
26549
|
const homeInjection = resolvedHomePath.length > 0 && homeEnvVar.length > 0 ? { [homeEnvVar]: resolvedHomePath } : {};
|
|
@@ -26919,6 +26923,7 @@ var createDshInstance = (config2, host) => {
|
|
|
26919
26923
|
return { threadId, turns: booked.turns };
|
|
26920
26924
|
},
|
|
26921
26925
|
events,
|
|
26926
|
+
continuationKey: dshContinuationKey(recipe.homePath),
|
|
26922
26927
|
dispose: async () => {
|
|
26923
26928
|
if (disposed) return;
|
|
26924
26929
|
disposed = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/agent-dsh",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2130",
|
|
4
4
|
"description": "DeepSeek Harness executor: dsh CLI over Agent Client Protocol stdio.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ycodium",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"@types/node": "24.12.4",
|
|
21
21
|
"esbuild": "0.28.1",
|
|
22
22
|
"vite-plus": "0.2.2",
|
|
23
|
+
"@ycodium-ai/plugin-api": "0.2.2130",
|
|
23
24
|
"ycodium-acp-executor": "0.0.0",
|
|
24
|
-
"@ycodium-ai/plugin-api": "0.2.2126",
|
|
25
25
|
"ycodium-acp-protocol": "0.0.0"
|
|
26
26
|
},
|
|
27
27
|
"ycodium": {
|