@ycodium-ai/plugin-conversation 0.2.2938 → 0.2.2944
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/README.md +5 -7
- package/assets/ui.js +340 -66
- package/dist/index.js +1316 -1
- package/locales/en.json +97 -2
- package/locales/zh-CN.json +97 -2
- package/package.json +36 -9
package/locales/en.json
CHANGED
|
@@ -69,8 +69,9 @@
|
|
|
69
69
|
"trajectory": {
|
|
70
70
|
"toggleChat": "Chat",
|
|
71
71
|
"toggleTrajectory": "Trajectory",
|
|
72
|
-
"
|
|
73
|
-
"
|
|
72
|
+
"toggleMap": "Map",
|
|
73
|
+
"toggleLabel": "Switch between chat, trajectory, and the thread map",
|
|
74
|
+
"commandToggle": "Toggle chat, trajectory, and the thread map",
|
|
74
75
|
"filterLabel": "Filter by type",
|
|
75
76
|
"filterAll": "All types",
|
|
76
77
|
"followLatest": "Follow latest",
|
|
@@ -304,6 +305,7 @@
|
|
|
304
305
|
"sectionUnavailable": {
|
|
305
306
|
"chat": "The conversation could not be displayed",
|
|
306
307
|
"trajectory": "The trajectory could not be displayed",
|
|
308
|
+
"map": "The thread map could not be displayed",
|
|
307
309
|
"queue": "Queued messages could not be displayed",
|
|
308
310
|
"composer": "The message box could not be displayed"
|
|
309
311
|
},
|
|
@@ -355,6 +357,7 @@
|
|
|
355
357
|
"calls_one": "{{count}} call",
|
|
356
358
|
"calls_other": "{{count}} calls",
|
|
357
359
|
"cancelled": "{{count}} cancelled",
|
|
360
|
+
"declaredStarted": "{{title}} started",
|
|
358
361
|
"exitCode": "Exit code {{code}}",
|
|
359
362
|
"failed": "{{count}} failed",
|
|
360
363
|
"interrupted": "Stopped",
|
|
@@ -811,5 +814,97 @@
|
|
|
811
814
|
"agent": "Start turn"
|
|
812
815
|
},
|
|
813
816
|
"cancel": "Cancel"
|
|
817
|
+
},
|
|
818
|
+
"map": {
|
|
819
|
+
"title": "Thread map",
|
|
820
|
+
"close": "Close map",
|
|
821
|
+
"locate": "Locate current thread",
|
|
822
|
+
"tidy": "Reset layout",
|
|
823
|
+
"zoomIn": "Zoom in",
|
|
824
|
+
"zoomOut": "Zoom out",
|
|
825
|
+
"fit": "Fit",
|
|
826
|
+
"zoom": "Zoom {{percent}}%",
|
|
827
|
+
"empty": "No threads on the map yet",
|
|
828
|
+
"emptyHint": "Start one from a project, or turn automatic projection back on in settings.",
|
|
829
|
+
"loading": "Loading the map",
|
|
830
|
+
"archived": "Archived",
|
|
831
|
+
"running": "Running",
|
|
832
|
+
"projectAll": "All projects",
|
|
833
|
+
"ungrouped": "No project",
|
|
834
|
+
"sessions_one": "{{count}} thread",
|
|
835
|
+
"sessions_other": "{{count}} threads",
|
|
836
|
+
"noMachine": "Connect a machine to use the thread map",
|
|
837
|
+
"search": "Search threads",
|
|
838
|
+
"new": "New thread",
|
|
839
|
+
"undo": "Undo",
|
|
840
|
+
"hiddenNotice": "Hid {{title}}",
|
|
841
|
+
"pan": "Pan the map"
|
|
842
|
+
},
|
|
843
|
+
"card": {
|
|
844
|
+
"continue": "Follow up",
|
|
845
|
+
"branch": "Fork",
|
|
846
|
+
"open": "Open thread",
|
|
847
|
+
"hide": "Hide from map",
|
|
848
|
+
"collapse": "Collapse following cards",
|
|
849
|
+
"expand": "Expand following cards",
|
|
850
|
+
"you": "You",
|
|
851
|
+
"agent": "Agent",
|
|
852
|
+
"truncated": "Shortened",
|
|
853
|
+
"walkedBack": "Forked from the previous user message",
|
|
854
|
+
"empty": "No messages yet",
|
|
855
|
+
"tool": {
|
|
856
|
+
"running": "Running",
|
|
857
|
+
"completed": "Done",
|
|
858
|
+
"failed": "Failed",
|
|
859
|
+
"declined": "Declined",
|
|
860
|
+
"stopped": "Stopped",
|
|
861
|
+
"unknown": "Unknown"
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"draft": {
|
|
865
|
+
"new": "New thread",
|
|
866
|
+
"continue": "Follow up",
|
|
867
|
+
"branch": "Fork from this answer",
|
|
868
|
+
"placeholder": "Write the next message",
|
|
869
|
+
"send": "Send",
|
|
870
|
+
"sending": "Sending",
|
|
871
|
+
"cancel": "Cancel",
|
|
872
|
+
"quote": "Quote selection",
|
|
873
|
+
"phrases": "Quick phrases",
|
|
874
|
+
"addPhrase": "Add phrase",
|
|
875
|
+
"phrasePlaceholder": "Phrase",
|
|
876
|
+
"empty": "Write a message first",
|
|
877
|
+
"missingProject": "Pick a project",
|
|
878
|
+
"missingThread": "That thread is gone",
|
|
879
|
+
"noUser": "No user message to fork from",
|
|
880
|
+
"failed": "Could not send",
|
|
881
|
+
"sent": "Sent"
|
|
882
|
+
},
|
|
883
|
+
"detail": {
|
|
884
|
+
"title": "Transcript",
|
|
885
|
+
"load": "Read more",
|
|
886
|
+
"omitted_one": "{{count}} earlier message stays in the thread",
|
|
887
|
+
"omitted_other": "{{count}} earlier messages stay in the thread",
|
|
888
|
+
"truncated": "This message is shortened here",
|
|
889
|
+
"open": "Open the full thread",
|
|
890
|
+
"empty": "Select a card",
|
|
891
|
+
"hostScroll": "Opening the thread starts at the conversation. It does not jump to this card."
|
|
892
|
+
},
|
|
893
|
+
"settings": {
|
|
894
|
+
"title": "Thread map",
|
|
895
|
+
"auto": "Show new threads on the map",
|
|
896
|
+
"autoHint": "When this is off, threads you have not seen yet stay hidden.",
|
|
897
|
+
"heading": "Map heading",
|
|
898
|
+
"headingPlaceholder": "Leave empty to use project titles",
|
|
899
|
+
"archived": "Show archived threads",
|
|
900
|
+
"hidden": "Hidden from the map",
|
|
901
|
+
"hiddenUntitled": "Untitled thread",
|
|
902
|
+
"restore": "Show on map",
|
|
903
|
+
"noneHidden": "Nothing is hidden",
|
|
904
|
+
"save": "Save"
|
|
905
|
+
},
|
|
906
|
+
"anchor": {
|
|
907
|
+
"label": "Fork anchor",
|
|
908
|
+
"none": "Follow the real fork"
|
|
814
909
|
}
|
|
815
910
|
}
|
package/locales/zh-CN.json
CHANGED
|
@@ -69,8 +69,9 @@
|
|
|
69
69
|
"trajectory": {
|
|
70
70
|
"toggleChat": "聊天",
|
|
71
71
|
"toggleTrajectory": "轨迹",
|
|
72
|
-
"
|
|
73
|
-
"
|
|
72
|
+
"toggleMap": "地图",
|
|
73
|
+
"toggleLabel": "在聊天、轨迹和会话地图之间切换",
|
|
74
|
+
"commandToggle": "切换聊天、轨迹和会话地图",
|
|
74
75
|
"filterLabel": "按类型筛选",
|
|
75
76
|
"filterAll": "所有类型",
|
|
76
77
|
"followLatest": "跟随最新内容",
|
|
@@ -304,6 +305,7 @@
|
|
|
304
305
|
"sectionUnavailable": {
|
|
305
306
|
"chat": "无法显示对话内容",
|
|
306
307
|
"trajectory": "无法显示轨迹",
|
|
308
|
+
"map": "无法显示会话地图",
|
|
307
309
|
"queue": "无法显示排队的消息",
|
|
308
310
|
"composer": "无法显示输入框"
|
|
309
311
|
},
|
|
@@ -355,6 +357,7 @@
|
|
|
355
357
|
"calls_one": "{{count}} 次调用",
|
|
356
358
|
"calls_other": "{{count}} 次调用",
|
|
357
359
|
"cancelled": "{{count}} 个已取消",
|
|
360
|
+
"declaredStarted": "{{title}}已开始",
|
|
358
361
|
"exitCode": "退出代码 {{code}}",
|
|
359
362
|
"failed": "{{count}} 个失败",
|
|
360
363
|
"interrupted": "已停止",
|
|
@@ -811,5 +814,97 @@
|
|
|
811
814
|
"agent": "开始这一轮"
|
|
812
815
|
},
|
|
813
816
|
"cancel": "取消"
|
|
817
|
+
},
|
|
818
|
+
"map": {
|
|
819
|
+
"title": "会话地图",
|
|
820
|
+
"close": "关闭地图",
|
|
821
|
+
"locate": "定位当前会话",
|
|
822
|
+
"tidy": "恢复自动布局",
|
|
823
|
+
"zoomIn": "放大",
|
|
824
|
+
"zoomOut": "缩小",
|
|
825
|
+
"fit": "适配",
|
|
826
|
+
"zoom": "缩放 {{percent}}%",
|
|
827
|
+
"empty": "地图上还没有会话",
|
|
828
|
+
"emptyHint": "从一个项目开一条,或在设置里重新打开自动投影。",
|
|
829
|
+
"loading": "正在加载地图",
|
|
830
|
+
"archived": "已归档",
|
|
831
|
+
"running": "进行中",
|
|
832
|
+
"projectAll": "全部项目",
|
|
833
|
+
"ungrouped": "未归入项目",
|
|
834
|
+
"sessions_one": "{{count}} 条会话",
|
|
835
|
+
"sessions_other": "{{count}} 条会话",
|
|
836
|
+
"noMachine": "先连上一台机器,再打开会话地图",
|
|
837
|
+
"search": "搜索会话",
|
|
838
|
+
"new": "新会话",
|
|
839
|
+
"undo": "撤销",
|
|
840
|
+
"hiddenNotice": "已藏起「{{title}}」",
|
|
841
|
+
"pan": "平移地图"
|
|
842
|
+
},
|
|
843
|
+
"card": {
|
|
844
|
+
"continue": "追问",
|
|
845
|
+
"branch": "分叉",
|
|
846
|
+
"open": "打开会话",
|
|
847
|
+
"hide": "从地图藏起",
|
|
848
|
+
"collapse": "折叠后续卡片",
|
|
849
|
+
"expand": "展开后续卡片",
|
|
850
|
+
"you": "你",
|
|
851
|
+
"agent": "Agent",
|
|
852
|
+
"truncated": "已缩短",
|
|
853
|
+
"walkedBack": "已改从前面的用户消息分叉",
|
|
854
|
+
"empty": "还没有消息",
|
|
855
|
+
"tool": {
|
|
856
|
+
"running": "进行中",
|
|
857
|
+
"completed": "已完成",
|
|
858
|
+
"failed": "失败",
|
|
859
|
+
"declined": "已拒绝",
|
|
860
|
+
"stopped": "已停止",
|
|
861
|
+
"unknown": "未知"
|
|
862
|
+
}
|
|
863
|
+
},
|
|
864
|
+
"draft": {
|
|
865
|
+
"new": "新会话",
|
|
866
|
+
"continue": "追问",
|
|
867
|
+
"branch": "从这条回答分叉",
|
|
868
|
+
"placeholder": "写下一条消息",
|
|
869
|
+
"send": "发送",
|
|
870
|
+
"sending": "发送中",
|
|
871
|
+
"cancel": "取消",
|
|
872
|
+
"quote": "引用选中文字",
|
|
873
|
+
"phrases": "快捷短语",
|
|
874
|
+
"addPhrase": "添加短语",
|
|
875
|
+
"phrasePlaceholder": "短语",
|
|
876
|
+
"empty": "先写一条消息",
|
|
877
|
+
"missingProject": "先选一个项目",
|
|
878
|
+
"missingThread": "这条会话已经不在了",
|
|
879
|
+
"noUser": "前面没有可以分叉的用户消息",
|
|
880
|
+
"failed": "没发出去",
|
|
881
|
+
"sent": "已发送"
|
|
882
|
+
},
|
|
883
|
+
"detail": {
|
|
884
|
+
"title": "会话正文",
|
|
885
|
+
"load": "读取更多",
|
|
886
|
+
"omitted_one": "更早的 {{count}} 条仍在会话里",
|
|
887
|
+
"omitted_other": "更早的 {{count}} 条仍在会话里",
|
|
888
|
+
"truncated": "这条在这里被缩短了",
|
|
889
|
+
"open": "打开完整会话",
|
|
890
|
+
"empty": "选一张卡片",
|
|
891
|
+
"hostScroll": "打开会话后从对话开头看起,不会自动跳到这张卡片。"
|
|
892
|
+
},
|
|
893
|
+
"settings": {
|
|
894
|
+
"title": "会话地图",
|
|
895
|
+
"auto": "新会话出现在地图上",
|
|
896
|
+
"autoHint": "关掉之后,还没见过的会话会先藏起来。",
|
|
897
|
+
"heading": "地图标题",
|
|
898
|
+
"headingPlaceholder": "留空则用项目标题",
|
|
899
|
+
"archived": "显示已归档的会话",
|
|
900
|
+
"hidden": "从地图藏起的卡片",
|
|
901
|
+
"hiddenUntitled": "未命名会话",
|
|
902
|
+
"restore": "放回地图",
|
|
903
|
+
"noneHidden": "没有藏起的卡片",
|
|
904
|
+
"save": "保存"
|
|
905
|
+
},
|
|
906
|
+
"anchor": {
|
|
907
|
+
"label": "分叉锚点",
|
|
908
|
+
"none": "按真实分叉连接"
|
|
814
909
|
}
|
|
815
910
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/plugin-conversation",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "The conversation surface: chat and
|
|
3
|
+
"version": "0.2.2944",
|
|
4
|
+
"description": "The conversation surface: chat, trajectory, and session map, the input card, the queue, and turn navigation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chat",
|
|
7
7
|
"conversation",
|
|
@@ -41,20 +41,47 @@
|
|
|
41
41
|
"tailwindcss": "^4.0.0",
|
|
42
42
|
"typescript": "~6.0.3",
|
|
43
43
|
"vite-plus": "0.2.2",
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"ycodium-workspace-path": "0.0.0"
|
|
47
|
-
"ycodium-composer-tokens": "0.0.0"
|
|
44
|
+
"@ycodium-ai/plugin-api": "0.2.2944",
|
|
45
|
+
"ycodium-composer-tokens": "0.0.0",
|
|
46
|
+
"ycodium-workspace-path": "0.0.0"
|
|
48
47
|
},
|
|
49
48
|
"ycodium": {
|
|
50
49
|
"plugin": "./dist/index.js",
|
|
51
50
|
"displayName": "Conversation",
|
|
52
|
-
"description": "The conversation surface: chat and
|
|
51
|
+
"description": "The conversation surface: chat, trajectory, and session map, the input card, the queue, and turn navigation.",
|
|
53
52
|
"icon": "messageCircle",
|
|
54
|
-
"permissions": [
|
|
53
|
+
"permissions": [
|
|
54
|
+
{
|
|
55
|
+
"kind": "sessionProjection"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"kind": "threads.user"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"kind": "commands.dispatch",
|
|
62
|
+
"commands": [
|
|
63
|
+
"thread.create",
|
|
64
|
+
"thread.turn.start",
|
|
65
|
+
"thread.fork"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"kind": "ui.seats",
|
|
70
|
+
"seats": [
|
|
71
|
+
"settings.section"
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
],
|
|
55
75
|
"ui": {
|
|
56
76
|
"assets": "./assets",
|
|
57
|
-
"entry": "ui.js"
|
|
77
|
+
"entry": "ui.js",
|
|
78
|
+
"pages": [
|
|
79
|
+
{
|
|
80
|
+
"id": "session-map",
|
|
81
|
+
"titleKey": "map.title",
|
|
82
|
+
"icon": "waypoints"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
58
85
|
}
|
|
59
86
|
},
|
|
60
87
|
"scripts": {
|