@alan-ai-hq/agent-manager-darwin-x64 0.1.196 → 0.1.197

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/alan-agent.cjs CHANGED
@@ -148901,7 +148901,7 @@ function createAlanCodeOpenCodeDriver(options) {
148901
148901
  skippedMcpEnvKeys: planned.skippedMcpEnvKeys
148902
148902
  };
148903
148903
  },
148904
- canResume: () => true,
148904
+ canResume: (_planned, resumeId) => resumeId.startsWith(OPENCODE_SESSION_PREFIX),
148905
148905
  open: open14,
148906
148906
  turnInput: async (spec, inputs, contextPrefix) => {
148907
148907
  const { prompt, ...turn } = openCodeTurnInput(spec, {
@@ -148930,7 +148930,7 @@ function createAlanCodeOpenCodeDriver(options) {
148930
148930
  }
148931
148931
  );
148932
148932
  }
148933
- var import_node_os16, import_node_path120, ALAN_CODE_APPROVALS_ENV, ALAN_CODE_DISABLED_TOOLS_ENV, ALAN_CODE_OPENCODE_PLAIN_ENV;
148933
+ var import_node_os16, import_node_path120, ALAN_CODE_APPROVALS_ENV, ALAN_CODE_DISABLED_TOOLS_ENV, ALAN_CODE_OPENCODE_PLAIN_ENV, OPENCODE_SESSION_PREFIX;
148934
148934
  var init_alan_code3 = __esm({
148935
148935
  "src/holder/drivers/alan-code.ts"() {
148936
148936
  "use strict";
@@ -148948,6 +148948,7 @@ var init_alan_code3 = __esm({
148948
148948
  ALAN_CODE_APPROVALS_ENV = "ALAN_CODE_APPROVALS";
148949
148949
  ALAN_CODE_DISABLED_TOOLS_ENV = "ALAN_CODE_DISABLED_TOOLS";
148950
148950
  ALAN_CODE_OPENCODE_PLAIN_ENV = "ALAN_CODE_OPENCODE_PLAIN";
148951
+ OPENCODE_SESSION_PREFIX = "ses";
148951
148952
  }
148952
148953
  });
148953
148954
 
@@ -155072,7 +155073,7 @@ var import_node_worker_threads2 = require("node:worker_threads");
155072
155073
  // package.json
155073
155074
  var package_default = {
155074
155075
  name: "@alan-ai-hq/agent-manager",
155075
- version: "0.1.196",
155076
+ version: "0.1.197",
155076
155077
  private: true,
155077
155078
  type: "module",
155078
155079
  description: "Alan machine runtime (alan-agent): identity, link, reconciler, session holders, run log, uploader, local API",
package/alan-holder.cjs CHANGED
@@ -128878,7 +128878,7 @@ function createAlanCodeOpenCodeDriver(options) {
128878
128878
  skippedMcpEnvKeys: planned.skippedMcpEnvKeys
128879
128879
  };
128880
128880
  },
128881
- canResume: () => true,
128881
+ canResume: (_planned, resumeId) => resumeId.startsWith(OPENCODE_SESSION_PREFIX),
128882
128882
  open: open7,
128883
128883
  turnInput: async (spec, inputs, contextPrefix) => {
128884
128884
  const { prompt, ...turn } = openCodeTurnInput(spec, {
@@ -128907,7 +128907,7 @@ function createAlanCodeOpenCodeDriver(options) {
128907
128907
  }
128908
128908
  );
128909
128909
  }
128910
- var import_node_os10, import_node_path62, ALAN_CODE_APPROVALS_ENV, ALAN_CODE_DISABLED_TOOLS_ENV, ALAN_CODE_OPENCODE_PLAIN_ENV;
128910
+ var import_node_os10, import_node_path62, ALAN_CODE_APPROVALS_ENV, ALAN_CODE_DISABLED_TOOLS_ENV, ALAN_CODE_OPENCODE_PLAIN_ENV, OPENCODE_SESSION_PREFIX;
128911
128911
  var init_alan_code3 = __esm({
128912
128912
  "src/holder/drivers/alan-code.ts"() {
128913
128913
  "use strict";
@@ -128925,6 +128925,7 @@ var init_alan_code3 = __esm({
128925
128925
  ALAN_CODE_APPROVALS_ENV = "ALAN_CODE_APPROVALS";
128926
128926
  ALAN_CODE_DISABLED_TOOLS_ENV = "ALAN_CODE_DISABLED_TOOLS";
128927
128927
  ALAN_CODE_OPENCODE_PLAIN_ENV = "ALAN_CODE_OPENCODE_PLAIN";
128928
+ OPENCODE_SESSION_PREFIX = "ses";
128928
128929
  }
128929
128930
  });
128930
128931
 
@@ -134794,7 +134795,7 @@ async function runHolder({
134794
134795
  // package.json
134795
134796
  var package_default = {
134796
134797
  name: "@alan-ai-hq/agent-manager",
134797
- version: "0.1.196",
134798
+ version: "0.1.197",
134798
134799
  private: true,
134799
134800
  type: "module",
134800
134801
  description: "Alan machine runtime (alan-agent): identity, link, reconciler, session holders, run log, uploader, local API",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alan-ai-hq/agent-manager-darwin-x64",
3
- "version": "0.1.196",
3
+ "version": "0.1.197",
4
4
  "description": "Alan machine runtime (alan-agent) for one platform: the official Node.js binary, the runtime bundle and its launcher. Installed by @alan-ai-hq/agent-manager.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://tryalan.ai",