@clearideas/agent-runtime-step-standard 0.6.0 → 0.6.1

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { RunSuspendedError } from "@clearideas/agent-runtime-core";
1
+ import { compilePromptTemplate, RunSuspendedError, } from "@clearideas/agent-runtime-core";
2
2
  const getMappedVariable = (variables, path) => {
3
3
  let current = variables;
4
4
  for (const segment of path.split(".")) {
@@ -282,7 +282,7 @@ export class ApprovalStepExecutor {
282
282
  result = await raceWithSignal(context.approvals.requestApproval({
283
283
  runId: context.runId,
284
284
  stepId: context.step.id,
285
- prompt: context.step.prompt,
285
+ prompt: compilePromptTemplate(context.step.prompt, context.variables),
286
286
  ...(context.step.metadata
287
287
  ? { details: context.step.metadata }
288
288
  : {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clearideas/agent-runtime-step-standard",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Approval, webhook, and sandboxed code executors for Clear Ideas Agent Runtime.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Clear Ideas Incorporated",
@@ -36,8 +36,8 @@
36
36
  "postpack": "node ../../scripts/cleanup-package-license.mjs"
37
37
  },
38
38
  "dependencies": {
39
- "@clearideas/agent-runtime-contracts": "0.6.0",
40
- "@clearideas/agent-runtime-core": "0.6.0"
39
+ "@clearideas/agent-runtime-contracts": "0.6.1",
40
+ "@clearideas/agent-runtime-core": "0.6.1"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^7.0.2",