@perstack/runtime 0.0.89 → 0.0.91

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-K2ELRWRE.js';
2
+ import { package_default, findLockfile, loadLockfile, run } from '../chunk-KU4MWRAC.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.89",
24
+ version: "0.0.91",
25
25
  description: "Perstack Runtime",
26
26
  author: "Wintermute Technologies, Inc.",
27
27
  license: "Apache-2.0",
@@ -53,26 +53,26 @@ var package_default = {
53
53
  typecheck: "tsc --noEmit"
54
54
  },
55
55
  dependencies: {
56
- "@ai-sdk/amazon-bedrock": "^3.0.0",
57
- "@ai-sdk/anthropic": "^2.0.0",
58
- "@ai-sdk/azure": "^2.0.0",
59
- "@ai-sdk/deepseek": "^1.0.0",
60
- "@ai-sdk/google": "^2.0.0",
61
- "@ai-sdk/google-vertex": "^3.0.0",
62
- "@ai-sdk/openai": "^2.0.0",
63
- "@modelcontextprotocol/sdk": "^1.25.1",
64
- "@paralleldrive/cuid2": "^3.0.4",
56
+ "@ai-sdk/amazon-bedrock": "^4.0.30",
57
+ "@ai-sdk/anthropic": "^3.0.23",
58
+ "@ai-sdk/azure": "^3.0.18",
59
+ "@ai-sdk/deepseek": "^2.0.11",
60
+ "@ai-sdk/google": "^3.0.13",
61
+ "@ai-sdk/google-vertex": "^4.0.28",
62
+ "@ai-sdk/openai": "^3.0.18",
63
+ "@modelcontextprotocol/sdk": "^1.25.3",
64
+ "@paralleldrive/cuid2": "^3.0.6",
65
65
  "@perstack/api-client": "^0.0.54",
66
66
  "@perstack/base": "workspace:*",
67
67
  "@perstack/core": "workspace:*",
68
- ai: "^5.0.115",
69
- "ollama-ai-provider-v2": "^1.5.5",
68
+ ai: "^6.0.49",
70
69
  commander: "^14.0.2",
71
70
  dotenv: "^17.2.3",
72
- "smol-toml": "^1.5.2",
71
+ "ollama-ai-provider-v2": "^3.0.2",
72
+ "smol-toml": "^1.6.0",
73
73
  "ts-dedent": "^2.2.0",
74
- undici: "^7.16.0",
75
- xstate: "^5.25.0"
74
+ undici: "^7.19.1",
75
+ xstate: "^5.25.1"
76
76
  },
77
77
  devDependencies: {
78
78
  "@perstack/adapter-base": "workspace:*",
@@ -86,11 +86,11 @@ var package_default = {
86
86
  "@perstack/provider-core": "workspace:*",
87
87
  "@perstack/vertex-provider": "workspace:*",
88
88
  "@tsconfig/node22": "^22.0.5",
89
- "@types/node": "^25.0.3",
90
- memfs: "^4.51.1",
89
+ "@types/node": "^25.0.10",
90
+ memfs: "^4.56.10",
91
91
  tsup: "^8.5.1",
92
92
  typescript: "^5.9.3",
93
- vitest: "^4.0.16"
93
+ vitest: "^4.0.18"
94
94
  },
95
95
  engines: {
96
96
  node: ">=22.0.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-K2ELRWRE.js.map
3772
- //# sourceMappingURL=chunk-K2ELRWRE.js.map
3772
+ //# sourceMappingURL=chunk-KU4MWRAC.js.map
3773
+ //# sourceMappingURL=chunk-KU4MWRAC.js.map