skedyul 1.2.37 → 1.2.38
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/cli/index.js +8 -9
- package/dist/dedicated/server.js +8 -9
- package/dist/esm/index.mjs +8 -9
- package/dist/index.js +8 -9
- package/dist/server.js +8 -9
- package/dist/serverless/server.mjs +8 -9
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2484,21 +2484,20 @@ function formatLogWithContext(args2) {
|
|
|
2484
2484
|
if (!context?.invocation) {
|
|
2485
2485
|
return args2;
|
|
2486
2486
|
}
|
|
2487
|
-
const
|
|
2487
|
+
const messageParts = args2.map((arg) => {
|
|
2488
|
+
if (typeof arg === "string") return arg;
|
|
2489
|
+
return safeStringify(arg);
|
|
2490
|
+
});
|
|
2491
|
+
return [{
|
|
2488
2492
|
invocationType: context.invocation.invocationType,
|
|
2489
2493
|
...context.invocation.toolHandle && { toolHandle: context.invocation.toolHandle },
|
|
2490
2494
|
...context.invocation.serverHookHandle && { serverHookHandle: context.invocation.serverHookHandle },
|
|
2491
2495
|
...context.invocation.appInstallationId && { appInstallationId: context.invocation.appInstallationId },
|
|
2492
2496
|
...context.invocation.toolCallId && { toolCallId: context.invocation.toolCallId },
|
|
2493
2497
|
...context.invocation.workflowId && { workflowId: context.invocation.workflowId },
|
|
2494
|
-
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId }
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
const messageParts = args2.map((arg) => {
|
|
2498
|
-
if (typeof arg === "string") return arg;
|
|
2499
|
-
return safeStringify(arg);
|
|
2500
|
-
});
|
|
2501
|
-
return [`${prefix} ${messageParts.join(" ")}`];
|
|
2498
|
+
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId },
|
|
2499
|
+
msg: messageParts.join(" ")
|
|
2500
|
+
}];
|
|
2502
2501
|
}
|
|
2503
2502
|
var originalConsole = {
|
|
2504
2503
|
log: console.log.bind(console),
|
package/dist/dedicated/server.js
CHANGED
|
@@ -256,21 +256,20 @@ function formatLogWithContext(args) {
|
|
|
256
256
|
if (!context?.invocation) {
|
|
257
257
|
return args;
|
|
258
258
|
}
|
|
259
|
-
const
|
|
259
|
+
const messageParts = args.map((arg) => {
|
|
260
|
+
if (typeof arg === "string") return arg;
|
|
261
|
+
return safeStringify(arg);
|
|
262
|
+
});
|
|
263
|
+
return [{
|
|
260
264
|
invocationType: context.invocation.invocationType,
|
|
261
265
|
...context.invocation.toolHandle && { toolHandle: context.invocation.toolHandle },
|
|
262
266
|
...context.invocation.serverHookHandle && { serverHookHandle: context.invocation.serverHookHandle },
|
|
263
267
|
...context.invocation.appInstallationId && { appInstallationId: context.invocation.appInstallationId },
|
|
264
268
|
...context.invocation.toolCallId && { toolCallId: context.invocation.toolCallId },
|
|
265
269
|
...context.invocation.workflowId && { workflowId: context.invocation.workflowId },
|
|
266
|
-
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId }
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
const messageParts = args.map((arg) => {
|
|
270
|
-
if (typeof arg === "string") return arg;
|
|
271
|
-
return safeStringify(arg);
|
|
272
|
-
});
|
|
273
|
-
return [`${prefix} ${messageParts.join(" ")}`];
|
|
270
|
+
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId },
|
|
271
|
+
msg: messageParts.join(" ")
|
|
272
|
+
}];
|
|
274
273
|
}
|
|
275
274
|
var originalConsole = {
|
|
276
275
|
log: console.log.bind(console),
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1968,21 +1968,20 @@ function formatLogWithContext(args) {
|
|
|
1968
1968
|
if (!context?.invocation) {
|
|
1969
1969
|
return args;
|
|
1970
1970
|
}
|
|
1971
|
-
const
|
|
1971
|
+
const messageParts = args.map((arg) => {
|
|
1972
|
+
if (typeof arg === "string") return arg;
|
|
1973
|
+
return safeStringify(arg);
|
|
1974
|
+
});
|
|
1975
|
+
return [{
|
|
1972
1976
|
invocationType: context.invocation.invocationType,
|
|
1973
1977
|
...context.invocation.toolHandle && { toolHandle: context.invocation.toolHandle },
|
|
1974
1978
|
...context.invocation.serverHookHandle && { serverHookHandle: context.invocation.serverHookHandle },
|
|
1975
1979
|
...context.invocation.appInstallationId && { appInstallationId: context.invocation.appInstallationId },
|
|
1976
1980
|
...context.invocation.toolCallId && { toolCallId: context.invocation.toolCallId },
|
|
1977
1981
|
...context.invocation.workflowId && { workflowId: context.invocation.workflowId },
|
|
1978
|
-
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId }
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
const messageParts = args.map((arg) => {
|
|
1982
|
-
if (typeof arg === "string") return arg;
|
|
1983
|
-
return safeStringify(arg);
|
|
1984
|
-
});
|
|
1985
|
-
return [`${prefix} ${messageParts.join(" ")}`];
|
|
1982
|
+
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId },
|
|
1983
|
+
msg: messageParts.join(" ")
|
|
1984
|
+
}];
|
|
1986
1985
|
}
|
|
1987
1986
|
var originalConsole = {
|
|
1988
1987
|
log: console.log.bind(console),
|
package/dist/index.js
CHANGED
|
@@ -2134,21 +2134,20 @@ function formatLogWithContext(args) {
|
|
|
2134
2134
|
if (!context?.invocation) {
|
|
2135
2135
|
return args;
|
|
2136
2136
|
}
|
|
2137
|
-
const
|
|
2137
|
+
const messageParts = args.map((arg) => {
|
|
2138
|
+
if (typeof arg === "string") return arg;
|
|
2139
|
+
return safeStringify(arg);
|
|
2140
|
+
});
|
|
2141
|
+
return [{
|
|
2138
2142
|
invocationType: context.invocation.invocationType,
|
|
2139
2143
|
...context.invocation.toolHandle && { toolHandle: context.invocation.toolHandle },
|
|
2140
2144
|
...context.invocation.serverHookHandle && { serverHookHandle: context.invocation.serverHookHandle },
|
|
2141
2145
|
...context.invocation.appInstallationId && { appInstallationId: context.invocation.appInstallationId },
|
|
2142
2146
|
...context.invocation.toolCallId && { toolCallId: context.invocation.toolCallId },
|
|
2143
2147
|
...context.invocation.workflowId && { workflowId: context.invocation.workflowId },
|
|
2144
|
-
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId }
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
const messageParts = args.map((arg) => {
|
|
2148
|
-
if (typeof arg === "string") return arg;
|
|
2149
|
-
return safeStringify(arg);
|
|
2150
|
-
});
|
|
2151
|
-
return [`${prefix} ${messageParts.join(" ")}`];
|
|
2148
|
+
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId },
|
|
2149
|
+
msg: messageParts.join(" ")
|
|
2150
|
+
}];
|
|
2152
2151
|
}
|
|
2153
2152
|
var originalConsole = {
|
|
2154
2153
|
log: console.log.bind(console),
|
package/dist/server.js
CHANGED
|
@@ -256,21 +256,20 @@ function formatLogWithContext(args) {
|
|
|
256
256
|
if (!context?.invocation) {
|
|
257
257
|
return args;
|
|
258
258
|
}
|
|
259
|
-
const
|
|
259
|
+
const messageParts = args.map((arg) => {
|
|
260
|
+
if (typeof arg === "string") return arg;
|
|
261
|
+
return safeStringify(arg);
|
|
262
|
+
});
|
|
263
|
+
return [{
|
|
260
264
|
invocationType: context.invocation.invocationType,
|
|
261
265
|
...context.invocation.toolHandle && { toolHandle: context.invocation.toolHandle },
|
|
262
266
|
...context.invocation.serverHookHandle && { serverHookHandle: context.invocation.serverHookHandle },
|
|
263
267
|
...context.invocation.appInstallationId && { appInstallationId: context.invocation.appInstallationId },
|
|
264
268
|
...context.invocation.toolCallId && { toolCallId: context.invocation.toolCallId },
|
|
265
269
|
...context.invocation.workflowId && { workflowId: context.invocation.workflowId },
|
|
266
|
-
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId }
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
const messageParts = args.map((arg) => {
|
|
270
|
-
if (typeof arg === "string") return arg;
|
|
271
|
-
return safeStringify(arg);
|
|
272
|
-
});
|
|
273
|
-
return [`${prefix} ${messageParts.join(" ")}`];
|
|
270
|
+
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId },
|
|
271
|
+
msg: messageParts.join(" ")
|
|
272
|
+
}];
|
|
274
273
|
}
|
|
275
274
|
var originalConsole = {
|
|
276
275
|
log: console.log.bind(console),
|
|
@@ -217,21 +217,20 @@ function formatLogWithContext(args) {
|
|
|
217
217
|
if (!context?.invocation) {
|
|
218
218
|
return args;
|
|
219
219
|
}
|
|
220
|
-
const
|
|
220
|
+
const messageParts = args.map((arg) => {
|
|
221
|
+
if (typeof arg === "string") return arg;
|
|
222
|
+
return safeStringify(arg);
|
|
223
|
+
});
|
|
224
|
+
return [{
|
|
221
225
|
invocationType: context.invocation.invocationType,
|
|
222
226
|
...context.invocation.toolHandle && { toolHandle: context.invocation.toolHandle },
|
|
223
227
|
...context.invocation.serverHookHandle && { serverHookHandle: context.invocation.serverHookHandle },
|
|
224
228
|
...context.invocation.appInstallationId && { appInstallationId: context.invocation.appInstallationId },
|
|
225
229
|
...context.invocation.toolCallId && { toolCallId: context.invocation.toolCallId },
|
|
226
230
|
...context.invocation.workflowId && { workflowId: context.invocation.workflowId },
|
|
227
|
-
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId }
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
const messageParts = args.map((arg) => {
|
|
231
|
-
if (typeof arg === "string") return arg;
|
|
232
|
-
return safeStringify(arg);
|
|
233
|
-
});
|
|
234
|
-
return [`${prefix} ${messageParts.join(" ")}`];
|
|
231
|
+
...context.invocation.workflowRunId && { workflowRunId: context.invocation.workflowRunId },
|
|
232
|
+
msg: messageParts.join(" ")
|
|
233
|
+
}];
|
|
235
234
|
}
|
|
236
235
|
var originalConsole = {
|
|
237
236
|
log: console.log.bind(console),
|