@rynx-ai/runtime 0.1.11-beta.12 → 0.1.11-beta.14
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/codex-home.js +2 -4
- package/package.json +2 -2
package/dist/codex-home.js
CHANGED
|
@@ -2,7 +2,7 @@ import { randomUUID } from "node:crypto";
|
|
|
2
2
|
import { copyFileSync, cpSync, existsSync, mkdirSync, renameSync, rmSync, symlinkSync } from "node:fs";
|
|
3
3
|
import { homedir } from "node:os";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
|
-
import { getRuntimeProfile, resolveRuntimeHome,
|
|
5
|
+
import { assertSkillPathComponent, getRuntimeProfile, resolveRuntimeHome, } from "@rynx-ai/core";
|
|
6
6
|
import { adoptLegacyRuntimeDirectory, legacyRuntimeStateRoot, runtimeSessionDigest, runtimeSessionStateDir, } from "./runtime-state-paths.js";
|
|
7
7
|
/** Inherit the user's LIVE login by symlink (stays in sync). */
|
|
8
8
|
const SYMLINK_FILES = ["auth.json"];
|
|
@@ -113,9 +113,7 @@ export function prepareRuntimeHome(sessionId, runtime, realHome = runtime === "c
|
|
|
113
113
|
export function populateCodexSkills(codexHome, skills) {
|
|
114
114
|
const skillsDir = join(codexHome, "skills");
|
|
115
115
|
for (const skill of skills) {
|
|
116
|
-
|
|
117
|
-
throw new Error(`unsafe skill name: ${skill.name}`);
|
|
118
|
-
}
|
|
116
|
+
assertSkillPathComponent(skill.name);
|
|
119
117
|
}
|
|
120
118
|
if (skills.length === 0)
|
|
121
119
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rynx-ai/runtime",
|
|
3
|
-
"version": "0.1.11-beta.
|
|
3
|
+
"version": "0.1.11-beta.14",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/rynx-ai/rynx.git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"node-pty": "1.2.0-beta.15",
|
|
28
28
|
"ws": "^8.21.0",
|
|
29
|
-
"@rynx-ai/core": "0.1.11-beta.
|
|
29
|
+
"@rynx-ai/core": "0.1.11-beta.14"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/ws": "^8.18.1"
|