orchajs 0.23.5 → 0.23.7
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/bin.js
CHANGED
|
File without changes
|
|
@@ -478,8 +478,8 @@ async function buildPlaygroundAssets(projectRoot) {
|
|
|
478
478
|
let stylesheetPath;
|
|
479
479
|
let logoPath;
|
|
480
480
|
try {
|
|
481
|
-
scriptPath = fileURLToPath(import.meta.resolve("@orchajs/playground-ui/
|
|
482
|
-
stylesheetPath = fileURLToPath(import.meta.resolve("@orchajs/playground-ui/
|
|
481
|
+
scriptPath = fileURLToPath(import.meta.resolve("@orchajs/playground-ui/playground.js"));
|
|
482
|
+
stylesheetPath = fileURLToPath(import.meta.resolve("@orchajs/playground-ui/playground.css"));
|
|
483
483
|
logoPath = fileURLToPath(import.meta.resolve("@orchajs/playground-ui/orcha-logo.svg"));
|
|
484
484
|
}
|
|
485
485
|
catch (error) {
|
package/dist/runtime/agent.js
CHANGED
|
@@ -1862,7 +1862,8 @@ function createSessionId(prefix, randomUUID) {
|
|
|
1862
1862
|
const utcTimestamp = new Date()
|
|
1863
1863
|
.toISOString()
|
|
1864
1864
|
.replace(/\.\d{3}Z$/, "")
|
|
1865
|
-
.replace("T", "_")
|
|
1865
|
+
.replace("T", "_")
|
|
1866
|
+
.replaceAll(":", "-");
|
|
1866
1867
|
return `${prefix}${utcTimestamp}_${randomUUID()}`;
|
|
1867
1868
|
}
|
|
1868
1869
|
function normalizeVariables(variables) {
|
|
@@ -506,10 +506,10 @@ async function buildPlaygroundAssets(projectRoot) {
|
|
|
506
506
|
let logoPath;
|
|
507
507
|
try {
|
|
508
508
|
scriptPath = (0, import_url.fileURLToPath)(
|
|
509
|
-
import_meta.resolve("@orchajs/playground-ui/
|
|
509
|
+
import_meta.resolve("@orchajs/playground-ui/playground.js")
|
|
510
510
|
);
|
|
511
511
|
stylesheetPath = (0, import_url.fileURLToPath)(
|
|
512
|
-
import_meta.resolve("@orchajs/playground-ui/
|
|
512
|
+
import_meta.resolve("@orchajs/playground-ui/playground.css")
|
|
513
513
|
);
|
|
514
514
|
logoPath = (0, import_url.fileURLToPath)(
|
|
515
515
|
import_meta.resolve("@orchajs/playground-ui/orcha-logo.svg")
|
|
@@ -2148,7 +2148,7 @@ function normalizeMetadata(metadata) {
|
|
|
2148
2148
|
return normalized;
|
|
2149
2149
|
}
|
|
2150
2150
|
function createSessionId(prefix, randomUUID) {
|
|
2151
|
-
const utcTimestamp = (/* @__PURE__ */ new Date()).toISOString().replace(/\.\d{3}Z$/, "").replace("T", "_");
|
|
2151
|
+
const utcTimestamp = (/* @__PURE__ */ new Date()).toISOString().replace(/\.\d{3}Z$/, "").replace("T", "_").replaceAll(":", "-");
|
|
2152
2152
|
return `${prefix}${utcTimestamp}_${randomUUID()}`;
|
|
2153
2153
|
}
|
|
2154
2154
|
function normalizeVariables(variables) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orchajs",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.7",
|
|
4
4
|
"description": "A filesystem-convention, stateful agent framework for JavaScript.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"LICENSE"
|
|
108
108
|
],
|
|
109
109
|
"scripts": {
|
|
110
|
-
"build": "node scripts/clean-dist.mjs && npm run build --workspace=@orchajs/playground-ui && tsc -p tsconfig.json && node scripts/build-cjs.mjs && tsc -p tsconfig.playground.json",
|
|
110
|
+
"build": "node scripts/clean-dist.mjs && npm run build --workspace=@orchajs/playground-ui && tsc -p tsconfig.json && node scripts/build-cjs.mjs && tsc -p tsconfig.playground.json && node scripts/finalize-build.mjs",
|
|
111
111
|
"dev": "tsc -p tsconfig.json --watch",
|
|
112
112
|
"test": "npm run build && npm run test:runtime && npm run test:create-orcha",
|
|
113
113
|
"test:runtime": "node --test tests/*.test.mjs",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"node": ">=18.20.8"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
|
-
"@orchajs/playground-ui": ">=0.2.
|
|
127
|
+
"@orchajs/playground-ui": ">=0.2.5",
|
|
128
128
|
"@react-native-async-storage/async-storage": ">=2 <3",
|
|
129
129
|
"@aws-sdk/client-bedrock-runtime": ">=3.864.0 <4",
|
|
130
130
|
"@google/genai": ">=2.22.0 <3",
|