@ycodium-ai/agent-fake 0.2.2488 → 0.2.2526

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 +5 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -21,7 +21,6 @@ var FAKE_CARD = {
21
21
  docsUrl: "",
22
22
  setupNote: "agent-fake.setupNote",
23
23
  defaultModel: "fake",
24
- defaultTextGenerationModel: "fake",
25
24
  customModelIdExample: "",
26
25
  modelSlugAliases: null,
27
26
  mcpTransports: null,
@@ -268,7 +267,11 @@ var createFakeInstance = (config, host) => {
268
267
  ...input.bindingGeneration === void 0 ? {} : { bindingGeneration: input.bindingGeneration }
269
268
  };
270
269
  threads.set(input.threadId, { session, turns: [] });
271
- emit("session.started", input.threadId, {});
270
+ emit(
271
+ "session.started",
272
+ input.threadId,
273
+ input.readOnlyDirectories === void 0 ? {} : { readOnlyDirectories: input.readOnlyDirectories }
274
+ );
272
275
  host.log.info("session started", { threadId: input.threadId });
273
276
  return session;
274
277
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/agent-fake",
3
- "version": "0.2.2488",
3
+ "version": "0.2.2526",
4
4
  "description": "Minimal fake executor for plugin authors and host orchestration tests.",
5
5
  "keywords": [
6
6
  "ycodium",
@@ -20,7 +20,7 @@
20
20
  "@types/node": "24.12.4",
21
21
  "esbuild": "0.28.1",
22
22
  "vite-plus": "0.2.2",
23
- "@ycodium-ai/plugin-api": "0.2.2488"
23
+ "@ycodium-ai/plugin-api": "0.2.2526"
24
24
  },
25
25
  "ycodium": {
26
26
  "plugin": "./dist/index.js",