@ycodium-ai/plugin-conversation 0.2.3158 → 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/assets/ui.js +66 -59
- package/dist/index.js +2 -2
- package/locales/en.json +4 -2
- package/locales/zh-CN.json +4 -2
- package/package.json +3 -3
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
|
@@ -162,7 +162,8 @@
|
|
|
162
162
|
"reasonApproval": "waiting for your approval",
|
|
163
163
|
"reasonUserInput": "waiting for your answer",
|
|
164
164
|
"reasonModel": "waiting on the model",
|
|
165
|
-
"interrupt": "
|
|
165
|
+
"interrupt": "Stop",
|
|
166
|
+
"stopping": "Stopping…",
|
|
166
167
|
"interruptHint": "Stop this turn"
|
|
167
168
|
},
|
|
168
169
|
"common": {
|
|
@@ -516,7 +517,8 @@
|
|
|
516
517
|
"sendMessage": "Send message",
|
|
517
518
|
"sendingAriaLabel": "Sending",
|
|
518
519
|
"sendingButtonLabel": "Sending...",
|
|
519
|
-
"stopGeneration": "Stop
|
|
520
|
+
"stopGeneration": "Stop",
|
|
521
|
+
"stopping": "Stopping…",
|
|
520
522
|
"submit": "Submit",
|
|
521
523
|
"submitAnswer": "Submit answer",
|
|
522
524
|
"submitAnswers": "Submit answers",
|
package/locales/zh-CN.json
CHANGED
|
@@ -162,7 +162,8 @@
|
|
|
162
162
|
"reasonApproval": "等待你的批准",
|
|
163
163
|
"reasonUserInput": "等待你的回答",
|
|
164
164
|
"reasonModel": "等待模型响应",
|
|
165
|
-
"interrupt": "
|
|
165
|
+
"interrupt": "停止",
|
|
166
|
+
"stopping": "正在停止…",
|
|
166
167
|
"interruptHint": "停止此轮次"
|
|
167
168
|
},
|
|
168
169
|
"common": {
|
|
@@ -516,7 +517,8 @@
|
|
|
516
517
|
"sendMessage": "发送消息",
|
|
517
518
|
"sendingAriaLabel": "正在发送",
|
|
518
519
|
"sendingButtonLabel": "正在发送...",
|
|
519
|
-
"stopGeneration": "
|
|
520
|
+
"stopGeneration": "停止",
|
|
521
|
+
"stopping": "正在停止…",
|
|
520
522
|
"submit": "提交",
|
|
521
523
|
"submitAnswer": "提交答案",
|
|
522
524
|
"submitAnswers": "提交答案",
|
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.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,9 +41,9 @@
|
|
|
41
41
|
"tailwindcss": "^4.0.0",
|
|
42
42
|
"typescript": "~6.0.3",
|
|
43
43
|
"vite-plus": "0.2.2",
|
|
44
|
-
"ycodium-
|
|
45
|
-
"@ycodium-ai/plugin-api": "0.2.3158",
|
|
44
|
+
"@ycodium-ai/plugin-api": "0.2.3168",
|
|
46
45
|
"ycodium-system-text": "0.0.0",
|
|
46
|
+
"ycodium-composer-tokens": "0.0.0",
|
|
47
47
|
"ycodium-workspace-path": "0.0.0"
|
|
48
48
|
},
|
|
49
49
|
"ycodium": {
|