@ycodium-ai/plugin-conversation 0.2.3166 → 0.2.3176
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/assets/ui.js +61 -76
- package/dist/index.js +2 -2
- package/locales/en.json +1 -2
- package/locales/zh-CN.json +1 -2
- package/package.json +4 -4
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.
|
|
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:
|
|
1363
|
+
apiVersion: 16,
|
|
1364
1364
|
activate(ctx) {
|
|
1365
1365
|
activateSessionMap(ctx);
|
|
1366
1366
|
}
|
package/locales/en.json
CHANGED
|
@@ -333,8 +333,7 @@
|
|
|
333
333
|
"outputTokens": "Output tokens",
|
|
334
334
|
"outputTokenCount_one": "{{value}} token",
|
|
335
335
|
"outputTokenCount_other": "{{value}} tokens",
|
|
336
|
-
"
|
|
337
|
-
"pinnedTurnHeaderShowMore": "Show more",
|
|
336
|
+
"pinnedTurnHeaderJump": "Jump to the start of this turn",
|
|
338
337
|
"workingTime": "Working time {{duration}}",
|
|
339
338
|
"loadingEarlier": "Loading earlier turns…",
|
|
340
339
|
"loadLater": "Load later turns",
|
package/locales/zh-CN.json
CHANGED
|
@@ -333,8 +333,7 @@
|
|
|
333
333
|
"outputTokens": "输出 token",
|
|
334
334
|
"outputTokenCount_one": "{{value}} token",
|
|
335
335
|
"outputTokenCount_other": "{{value}} token",
|
|
336
|
-
"
|
|
337
|
-
"pinnedTurnHeaderShowMore": "展开",
|
|
336
|
+
"pinnedTurnHeaderJump": "跳到这一轮开头",
|
|
338
337
|
"workingTime": "工作时长 {{duration}}",
|
|
339
338
|
"loadingEarlier": "正在加载更早的轮次…",
|
|
340
339
|
"loadLater": "加载更晚的轮次",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-conversation",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3176",
|
|
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.
|
|
44
|
+
"@ycodium-ai/plugin-api": "0.2.0",
|
|
45
|
+
"ycodium-composer-tokens": "0.0.0",
|
|
45
46
|
"ycodium-system-text": "0.0.0",
|
|
46
|
-
"ycodium-workspace-path": "0.0.0"
|
|
47
|
-
"ycodium-composer-tokens": "0.0.0"
|
|
47
|
+
"ycodium-workspace-path": "0.0.0"
|
|
48
48
|
},
|
|
49
49
|
"ycodium": {
|
|
50
50
|
"plugin": "./dist/index.js",
|