@ycodium-ai/agent-grok 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.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -26978,6 +26978,9 @@ function resolveGrokHomePath(value) {
26978
26978
  if (trimmed2.length === 0) return NodePath2.join(NodeOS.homedir(), ".grok");
26979
26979
  return NodePath2.resolve(expandHomePath(trimmed2));
26980
26980
  }
26981
+ function grokContinuationKey(recipe) {
26982
+ return `grok:home:${resolveGrokHomePath(recipe.homePath)}`;
26983
+ }
26981
26984
  function resolveAccountHomePath(recipe, configuredHome) {
26982
26985
  const fromEnvironment = recipe.environment["GROK_HOME"]?.trim();
26983
26986
  if (fromEnvironment !== void 0 && fromEnvironment.length > 0) {
@@ -27305,6 +27308,7 @@ var createGrokInstance = (config2, host) => {
27305
27308
  return { threadId, turns: booked.turns };
27306
27309
  },
27307
27310
  events,
27311
+ continuationKey: grokContinuationKey(recipe),
27308
27312
  dispose: async () => {
27309
27313
  if (disposed) return;
27310
27314
  disposed = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-grok",
3
- "version": "0.2.2126",
3
+ "version": "0.2.2130",
4
4
  "description": "Grok executor: grok CLI over Agent Client Protocol stdio.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -20,9 +20,9 @@
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.2126",
24
- "ycodium-acp-executor": "0.0.0",
25
- "ycodium-acp-protocol": "0.0.0"
23
+ "@ycodium-ai/plugin-api": "0.2.2130",
24
+ "ycodium-acp-protocol": "0.0.0",
25
+ "ycodium-acp-executor": "0.0.0"
26
26
  },
27
27
  "ycodium": {
28
28
  "plugin": "./dist/index.js",