@lightcone-ai/daemon 0.9.47 → 0.9.48

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.
@@ -35,12 +35,13 @@ export class XhsAdapter {
35
35
  async checkLoginStatus() {
36
36
  // Navigate to publish page — if redirected away, session is expired
37
37
  await this._cdp.send('Page.navigate', { url: 'https://creator.xiaohongshu.com/publish/publish' });
38
- await sleep(4000);
38
+ await sleep(5000);
39
39
  const result = await this._cdp.send('Runtime.evaluate', {
40
40
  expression: 'window.location.href',
41
41
  returnByValue: true,
42
42
  });
43
43
  const url = result.result?.value ?? '';
44
+ console.error(`[XhsAdapter] checkLoginStatus url=${url}`);
44
45
  return url.includes('creator.xiaohongshu.com/publish/publish');
45
46
  }
46
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightcone-ai/daemon",
3
- "version": "0.9.47",
3
+ "version": "0.9.48",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {