@ycodium-ai/plugin-session-import 0.2.2958 → 0.2.2964
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 +1 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1896,8 +1896,6 @@ var CODEX_DRIVER = "codex";
|
|
|
1896
1896
|
var providerKindOfDriver = (driverKind) => driverKind === CLAUDE_DRIVER ? "claude" : driverKind === CODEX_DRIVER ? "codex" : void 0;
|
|
1897
1897
|
var importedThreadKey = (provider, nativeSessionId) => `${provider}:${nativeSessionId}`;
|
|
1898
1898
|
var caseInsensitivePaths = () => NodeProcess2.platform === "win32";
|
|
1899
|
-
var LAUNCH_ARGS_ENV = "YCODIUM_CODEX_LAUNCH_ARGS";
|
|
1900
|
-
var resolveCodexLaunchArgs = (instance) => instance.environment[LAUNCH_ARGS_ENV]?.trim() || instance.launchArgs.trim() || "";
|
|
1901
1899
|
function tokenizeLaunchArgs(value) {
|
|
1902
1900
|
const input = value.trim();
|
|
1903
1901
|
if (input.length === 0) return [];
|
|
@@ -1968,7 +1966,7 @@ async function openCodexFor(ctx, instance) {
|
|
|
1968
1966
|
process: ctx.process,
|
|
1969
1967
|
// 白名单条目的键就是 instanceId:路径由宿主查,插件手上不留第二份。
|
|
1970
1968
|
program: { key: instance.instanceId },
|
|
1971
|
-
args: [...tokenizeLaunchArgs(
|
|
1969
|
+
args: [...tokenizeLaunchArgs(instance.launchArgs.trim())],
|
|
1972
1970
|
// 转录始终在 CODEX_HOME 下;实例的 home 是宿主解析过的那个(含 auth overlay)。
|
|
1973
1971
|
...instance.homePath === null ? {} : { env: { CODEX_HOME: instance.homePath } }
|
|
1974
1972
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-session-import",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2964",
|
|
4
4
|
"description": "Brings a session you started in a terminal into Ycodium.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"session-import",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"effect": "4.0.0-beta.103",
|
|
21
21
|
"esbuild": "0.28.1",
|
|
22
22
|
"vite-plus": "0.2.2",
|
|
23
|
-
"@ycodium-ai/plugin-api": "0.2.
|
|
23
|
+
"@ycodium-ai/plugin-api": "0.2.2964",
|
|
24
24
|
"ycodium-jsonl-stream": "0.0.0"
|
|
25
25
|
},
|
|
26
26
|
"ycodium": {
|