codeam-cli 1.4.39 → 1.4.40
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 +9 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -116,7 +116,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
|
|
|
116
116
|
// package.json
|
|
117
117
|
var package_default = {
|
|
118
118
|
name: "codeam-cli",
|
|
119
|
-
version: "1.4.
|
|
119
|
+
version: "1.4.40",
|
|
120
120
|
description: "Remote control Claude Code from your mobile device",
|
|
121
121
|
main: "dist/index.js",
|
|
122
122
|
bin: {
|
|
@@ -1490,6 +1490,9 @@ var HistoryService = class {
|
|
|
1490
1490
|
setCurrentConversationId(id) {
|
|
1491
1491
|
this.currentConversationId = id;
|
|
1492
1492
|
}
|
|
1493
|
+
getCurrentConversationId() {
|
|
1494
|
+
return this.currentConversationId;
|
|
1495
|
+
}
|
|
1493
1496
|
/** Detect the active conversation by finding the most recently modified JSONL file */
|
|
1494
1497
|
detectCurrentConversation() {
|
|
1495
1498
|
const dir = this.projectDir;
|
|
@@ -2002,6 +2005,11 @@ except Exception:sys.exit(0)
|
|
|
2002
2005
|
historySvc.detectCurrentConversation();
|
|
2003
2006
|
historySvc.load().catch(() => {
|
|
2004
2007
|
});
|
|
2008
|
+
const currentId = historySvc.getCurrentConversationId();
|
|
2009
|
+
if (currentId) {
|
|
2010
|
+
historySvc.loadConversation(currentId).catch(() => {
|
|
2011
|
+
});
|
|
2012
|
+
}
|
|
2005
2013
|
}, 2e3);
|
|
2006
2014
|
setTimeout(() => {
|
|
2007
2015
|
fetchQuotaUsage();
|