agentel 0.2.4 → 0.2.5

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.
@@ -21,6 +21,11 @@ const PARSER_VERSION_SUFFIXES = {
21
21
  "devin-cli-history": 0,
22
22
  "gemini-cli-history": 0,
23
23
  "cline-task-history": 0,
24
+ "opencode-cli-history": 0,
25
+ "opencode-cli-sqlite-history": 0,
26
+ "opencode-desktop-history": 0,
27
+ "opencode-desktop-sqlite-history": 0,
28
+ "opencode-web-sqlite-history": 0,
24
29
  "opencode-history": 0,
25
30
  "opencode-sqlite-history": 0,
26
31
  "aider-chat-history": 0,
package/src/search.js CHANGED
@@ -1105,7 +1105,10 @@ function normalizeProviderFilter(value) {
1105
1105
  codex_desktop: { provider: "codex", sourceType: "codex-desktop-history", sourceTypes: ["codex-desktop-history"] },
1106
1106
  cursor: { provider: "cursor" },
1107
1107
  cline: { provider: "cline", sourceType: "cline-task-history", sourceTypes: ["cline-task-history"] },
1108
- opencode: { provider: "opencode", sourceTypes: ["opencode-history", "opencode-sqlite-history"] },
1108
+ opencode: { provider: "opencode", sourceTypes: ["opencode-cli-history", "opencode-cli-sqlite-history", "opencode-desktop-history", "opencode-desktop-sqlite-history", "opencode-web-sqlite-history", "opencode-history", "opencode-sqlite-history"] },
1109
+ opencode_cli: { provider: "opencode", sourceType: "opencode-cli-history", sourceTypes: ["opencode-cli-history", "opencode-cli-sqlite-history"] },
1110
+ opencode_desktop: { provider: "opencode", sourceType: "opencode-desktop-history", sourceTypes: ["opencode-desktop-history", "opencode-desktop-sqlite-history"] },
1111
+ opencode_web: { provider: "opencode", sourceType: "opencode-web-sqlite-history", sourceTypes: ["opencode-web-sqlite-history"] },
1109
1112
  aider: { provider: "aider", sourceType: "aider-chat-history", sourceTypes: ["aider-chat-history"] },
1110
1113
  devin: { provider: "devin" },
1111
1114
  devin_cli: { provider: "devin", sourceType: "devin-cli-history", sourceTypes: ["devin-cli-history"] },
package/src/sources.js CHANGED
@@ -37,7 +37,9 @@ const SOURCE_GROUPS = [
37
37
  sources: [
38
38
  { source: "cursor", provider: "cursor", label: "Cursor" },
39
39
  { source: "cline", provider: "cline", sourceType: "cline-task-history", label: "Cline" },
40
- { source: "opencode", provider: "opencode", sourceType: "opencode-history", label: "OpenCode" },
40
+ { source: "opencode-cli", provider: "opencode", sourceType: "opencode-cli-history", label: "OpenCode CLI" },
41
+ { source: "opencode-desktop", provider: "opencode", sourceType: "opencode-desktop-history", label: "OpenCode Desktop" },
42
+ { source: "opencode-web", provider: "opencode", sourceType: "opencode-web-sqlite-history", label: "OpenCode Web" },
41
43
  { source: "aider", provider: "aider", sourceType: "aider-chat-history", label: "Aider" }
42
44
  ]
43
45
  }
@@ -61,7 +63,9 @@ const IMPORT_SOURCE_ORDER = [
61
63
  "devin-cli",
62
64
  "cursor",
63
65
  "cline",
64
- "opencode",
66
+ "opencode-cli",
67
+ "opencode-desktop",
68
+ "opencode-web",
65
69
  "aider"
66
70
  ];
67
71
 
@@ -72,7 +76,7 @@ function enabledImportSources(sources) {
72
76
  }
73
77
 
74
78
  function sourceLabel(source) {
75
- return HISTORY_PROVIDER_OPTIONS.find((item) => item.source === source)?.label || source;
79
+ return HISTORY_PROVIDER_OPTIONS.find((item) => item.source === source)?.label || { opencode: "OpenCode" }[source] || source;
76
80
  }
77
81
 
78
82
  module.exports = {