@alan-ai-hq/agent-manager 0.1.92 → 0.1.93

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.cjs +6 -3
  2. package/package.json +3 -3
package/dist/index.cjs CHANGED
@@ -15451,7 +15451,7 @@ function describeError(error61) {
15451
15451
  }
15452
15452
 
15453
15453
  // src/version.ts
15454
- var AGENT_VERSION = "0.1.92";
15454
+ var AGENT_VERSION = "0.1.93";
15455
15455
 
15456
15456
  // src/daemon-worktree.ts
15457
15457
  var import_node_child_process3 = require("child_process");
@@ -38410,9 +38410,10 @@ function requireManagedRunReference(registration) {
38410
38410
  if (!reference) throw new Error("Alan MCP run reference is missing");
38411
38411
  return reference;
38412
38412
  }
38413
- function managedMcpServerName(registration) {
38413
+ function managedMcpServerName(registration, namespaceScope) {
38414
38414
  const reference = requireManagedRunReference(registration);
38415
- const fingerprint = (0, import_crypto.createHash)("sha256").update(reference).digest("hex").slice(0, 16);
38415
+ const fingerprintSource = namespaceScope?.trim() || reference;
38416
+ const fingerprint = (0, import_crypto.createHash)("sha256").update(fingerprintSource).digest("hex").slice(0, 16);
38416
38417
  return `alan-run-${fingerprint}`;
38417
38418
  }
38418
38419
  var MANAGED_MCP_SERVER_PATTERN = /^alan-run-[a-f0-9]{16}$/;
@@ -75493,6 +75494,8 @@ async function handleAgentExecute(ctx, payload) {
75493
75494
  teamId: payload.teamId,
75494
75495
  currentUser: payload.currentUser,
75495
75496
  workflowTools: payload.workflowTools,
75497
+ workflowId: payload.workflowId,
75498
+ workflowExecutionId: payload.workflowExecutionId,
75496
75499
  images: payload.images,
75497
75500
  files: payload.files,
75498
75501
  parsedAttachments: payload.parsedAttachments
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alan-ai-hq/agent-manager",
3
- "version": "0.1.92",
3
+ "version": "0.1.93",
4
4
  "type": "module",
5
5
  "description": "Alan agent runtime — cloud sandbox and local daemon (alan-agent CLI)",
6
6
  "bin": {
@@ -26,9 +26,9 @@
26
26
  "tsup": "^8.5.1",
27
27
  "tsx": "^4.19.0",
28
28
  "typescript": "~5.9.3",
29
- "@alan-ai/agent-core": "0.1.0",
29
+ "@alan-ai/sandbox-runtime-spec": "0.1.0",
30
30
  "@alan-ai/shared": "0.1.0",
31
- "@alan-ai/sandbox-runtime-spec": "0.1.0"
31
+ "@alan-ai/agent-core": "0.1.0"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "tsup",