@ycodium-ai/plugin-conversation 0.2.3166 → 0.2.3168

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/dist/index.js CHANGED
@@ -1264,7 +1264,7 @@ async function createSession(ctx, projectId, text2, refresh) {
1264
1264
  if (trimmed.length === 0) return { ok: false, code: "empty" };
1265
1265
  const project = await projectOrNull(ctx.projects, projectId);
1266
1266
  if (project === null) return { ok: false, code: "missing-project" };
1267
- const selection = await ctx.providers.resolveSelection({ base: project.defaultModelSelection });
1267
+ const selection = await ctx.providers.selection.resolve({ base: project.defaultModelSelection });
1268
1268
  const threadId = NodeCrypto.randomUUID();
1269
1269
  const [create, start] = createCommands({
1270
1270
  projectId,
@@ -1360,7 +1360,7 @@ function abort(signal) {
1360
1360
  // src/index.ts
1361
1361
  var index_default = definePlugin({
1362
1362
  id: "conversation",
1363
- apiVersion: 15,
1363
+ apiVersion: 16,
1364
1364
  activate(ctx) {
1365
1365
  activateSessionMap(ctx);
1366
1366
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-conversation",
3
- "version": "0.2.3166",
3
+ "version": "0.2.3168",
4
4
  "description": "The conversation surface: chat, trajectory, and session map, the input card, the queue, and turn navigation.",
5
5
  "keywords": [
6
6
  "chat",
@@ -41,10 +41,10 @@
41
41
  "tailwindcss": "^4.0.0",
42
42
  "typescript": "~6.0.3",
43
43
  "vite-plus": "0.2.2",
44
- "@ycodium-ai/plugin-api": "0.2.3166",
44
+ "@ycodium-ai/plugin-api": "0.2.3168",
45
45
  "ycodium-system-text": "0.0.0",
46
- "ycodium-workspace-path": "0.0.0",
47
- "ycodium-composer-tokens": "0.0.0"
46
+ "ycodium-composer-tokens": "0.0.0",
47
+ "ycodium-workspace-path": "0.0.0"
48
48
  },
49
49
  "ycodium": {
50
50
  "plugin": "./dist/index.js",