@perstack/runtime 0.0.89 → 0.0.90
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/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { package_default, findLockfile, loadLockfile, run } from '../chunk-
|
|
2
|
+
import { package_default, findLockfile, loadLockfile, run } from '../chunk-MNOFNSLQ.js';
|
|
3
3
|
import '../chunk-RG4QHAGG.js';
|
|
4
4
|
import { parseWithFriendlyError, runCommandInputSchema, validateEventFilter, createFilteredEventListener, perstackConfigSchema } from '@perstack/core';
|
|
5
5
|
import { Command } from 'commander';
|
|
@@ -21,7 +21,7 @@ import { APICallError, generateText, streamText } from 'ai';
|
|
|
21
21
|
// package.json
|
|
22
22
|
var package_default = {
|
|
23
23
|
name: "@perstack/runtime",
|
|
24
|
-
version: "0.0.
|
|
24
|
+
version: "0.0.90",
|
|
25
25
|
description: "Perstack Runtime",
|
|
26
26
|
author: "Wintermute Technologies, Inc.",
|
|
27
27
|
license: "Apache-2.0",
|
|
@@ -296,10 +296,11 @@ function createInitialCheckpoint(checkpointId, params) {
|
|
|
296
296
|
contextWindowUsage: params.contextWindow ? 0 : void 0
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
|
-
function createNextStepCheckpoint(checkpointId, checkpoint) {
|
|
299
|
+
function createNextStepCheckpoint(checkpointId, checkpoint, runId) {
|
|
300
300
|
return {
|
|
301
301
|
...checkpoint,
|
|
302
302
|
id: checkpointId,
|
|
303
|
+
runId,
|
|
303
304
|
stepNumber: checkpoint.stepNumber + 1
|
|
304
305
|
};
|
|
305
306
|
}
|
|
@@ -3616,7 +3617,7 @@ var SingleRunExecutor = class {
|
|
|
3616
3617
|
) : await getSkillManagers(expertToRun, experts, setting, this.options.eventListener, {
|
|
3617
3618
|
isDelegatedRun: !!checkpoint?.delegatedBy
|
|
3618
3619
|
});
|
|
3619
|
-
const initialCheckpoint = checkpoint ? createNextStepCheckpoint(createId(), checkpoint) : createInitialCheckpoint(createId(), {
|
|
3620
|
+
const initialCheckpoint = checkpoint ? createNextStepCheckpoint(createId(), checkpoint, setting.runId) : createInitialCheckpoint(createId(), {
|
|
3620
3621
|
jobId: setting.jobId,
|
|
3621
3622
|
runId: setting.runId,
|
|
3622
3623
|
expertKey: setting.expertKey,
|
|
@@ -3768,5 +3769,5 @@ async function run(runInput, options) {
|
|
|
3768
3769
|
}
|
|
3769
3770
|
|
|
3770
3771
|
export { findLockfile, getLockfileExpertToolDefinitions, getModel, loadLockfile, package_default, run, runtimeStateMachine };
|
|
3771
|
-
//# sourceMappingURL=chunk-
|
|
3772
|
-
//# sourceMappingURL=chunk-
|
|
3772
|
+
//# sourceMappingURL=chunk-MNOFNSLQ.js.map
|
|
3773
|
+
//# sourceMappingURL=chunk-MNOFNSLQ.js.map
|