@ycodium-ai/agent-codex 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 +12 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -500,6 +500,13 @@ function resolveCodexHomeLayout(input) {
500
500
  continuationKey: `codex:home:${sharedHomePath}`
501
501
  };
502
502
  }
503
+ function codexContinuationKey(input) {
504
+ return resolveCodexHomeLayout({
505
+ homePath: input.homePath,
506
+ shadowHomePath: "",
507
+ environmentHome: input.instanceEnvironment["CODEX_HOME"] ?? input.inheritedEnvironment["CODEX_HOME"]
508
+ }).continuationKey;
509
+ }
503
510
  async function readLinkState(linkPath) {
504
511
  try {
505
512
  const target = await NodeFSP.readlink(linkPath);
@@ -4317,6 +4324,11 @@ var createCodexInstance = (config, host) => {
4317
4324
  recipe,
4318
4325
  layout: layoutFor(recipe)
4319
4326
  }),
4327
+ continuationKey: codexContinuationKey({
4328
+ homePath: recipe.homePath,
4329
+ instanceEnvironment: recipe.environment,
4330
+ inheritedEnvironment: process.env
4331
+ }),
4320
4332
  sessions: {
4321
4333
  scan: async (input) => {
4322
4334
  if (recipe.binaryPath.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-codex",
3
- "version": "0.2.2126",
3
+ "version": "0.2.2130",
4
4
  "description": "Codex executor: Codex CLI over the app-server JSON-RPC protocol.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -20,7 +20,7 @@
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"
23
+ "@ycodium-ai/plugin-api": "0.2.2130"
24
24
  },
25
25
  "ycodium": {
26
26
  "plugin": "./dist/index.js",