@ycodium-ai/agent-acp 0.2.4486 → 0.2.4688

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 +6 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ var __export = (target, all) => {
8
8
  import { definePlugin } from "@ycodium-ai/plugin-api";
9
9
 
10
10
  // ../../packages/plugin-api/src/version.ts
11
- var PLUGIN_API_VERSION = 119;
11
+ var PLUGIN_API_VERSION = 128;
12
12
 
13
13
  // src/acpInstance.ts
14
14
  import * as NodeOS3 from "node:os";
@@ -28730,6 +28730,7 @@ var ACP_CARD = {
28730
28730
  type: "string",
28731
28731
  "x-ycodium-form": {
28732
28732
  titleKey: "form.homePath.title",
28733
+ machineLocal: true,
28733
28734
  descriptionKey: "form.homePath.description",
28734
28735
  placeholderKey: "form.homePath.placeholder"
28735
28736
  }
@@ -29049,8 +29050,8 @@ function acpRuntimeModeAutoApproves(runtimeMode, toolKind) {
29049
29050
  return false;
29050
29051
  }
29051
29052
  }
29052
- function acpSessionModeToApply(requestedNativeModeId, startedModeId) {
29053
- return requestedNativeModeId !== void 0 && requestedNativeModeId !== startedModeId ? requestedNativeModeId : void 0;
29053
+ function acpSessionModeToApply(requestedNativeModeId, startedModeId, isResuming) {
29054
+ return requestedNativeModeId !== void 0 && (isResuming || requestedNativeModeId !== startedModeId) ? requestedNativeModeId : void 0;
29054
29055
  }
29055
29056
 
29056
29057
  // src/acpInstance.ts
@@ -29248,7 +29249,8 @@ var createAcpInstance = (config2, host) => {
29248
29249
  const started = await raceStartAbort(executor.start(), signal);
29249
29250
  const modeToApply = acpSessionModeToApply(
29250
29251
  input2.nativeModeId,
29251
- acpCurrentModeId(started.sessionSetupResult)
29252
+ acpCurrentModeId(started.sessionSetupResult),
29253
+ resume !== void 0
29252
29254
  );
29253
29255
  if (modeToApply !== void 0) {
29254
29256
  await raceStartAbort(executor.setNativeMode(modeToApply), signal);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-acp",
3
- "version": "0.2.4486",
3
+ "version": "0.2.4688",
4
4
  "description": "Generic ACP executor: user-supplied CLI over Agent Client Protocol stdio.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -21,8 +21,8 @@
21
21
  "@types/node": "24.12.4",
22
22
  "esbuild": "0.28.1",
23
23
  "vite-plus": "0.2.2",
24
- "@ycodium-ai/plugin-api": "0.2.4486",
25
- "ycodium-acp-executor": "0.2.0",
24
+ "@ycodium-ai/plugin-api": "0.2.4688",
25
+ "ycodium-acp-executor": "0.2.4688",
26
26
  "ycodium-executor-testing": "0.0.0"
27
27
  },
28
28
  "ycodium": {