@whyshu/argent-engine 0.8.0-rc.13 → 0.8.0-rc.14
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/MANIFEST.json +2 -2
- package/engine/VERSION +1 -1
- package/engine/scripts/appointment_grab.py +12 -5
- package/engine/version.mjs +1 -1
- package/package.json +1 -1
package/MANIFEST.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"package": "@whyshu/argent-engine",
|
|
4
4
|
"files": {
|
|
5
|
-
"VERSION": "
|
|
5
|
+
"VERSION": "f6b29e1320531f7ce9ba32cbb9aef8e5f91bb375427b79c58e8eac8d784a324f",
|
|
6
6
|
"agents/catalog.json": "5356a812f2554dfd3115370363d4c3f787a82c9e5928a85d05b2a07c9e4b324d",
|
|
7
7
|
"configs/_aliases.proposed.json": "3a59edf80563bcc20d410d488decad6fd787bd3de9489321367b0783904cd3e5",
|
|
8
8
|
"configs/_migration-plan.proposed.json": "dd9f90b0b9b2f217dd23367a618402e57997d44f7fddcfa88a7cadf52e056c0d",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"scripts/appointment-create.mjs": "3448966cebc767160cb151a27ccf2b6f6439c80f970f769621058871f95433cc",
|
|
58
58
|
"scripts/appointment-stop.mjs": "2e0a965346d33ef8683da5473c48df7f4e66ee8a3167526ee6b568e1adf5c91d",
|
|
59
59
|
"scripts/appointment-worker.mjs": "e79486eab2b902d351a75885258f2a74b871b29c0e83fccedd9eccc6029b2bdd",
|
|
60
|
-
"scripts/appointment_grab.py": "
|
|
60
|
+
"scripts/appointment_grab.py": "592baf4599a55f801393166253fe4fcde63e0393fc41b5a0bc7888b0749593a7",
|
|
61
61
|
"scripts/archive/feishu-bridge.js": "e6714c72022892d0c527d1fc9ae0f8ff99f9ab3bd0363329979b423246684885",
|
|
62
62
|
"scripts/argent-agents.mjs": "73f4a058df2cd6d62b285ea48a5e32881db678b63007d1ac2f218005cb28c18d",
|
|
63
63
|
"scripts/argent-capabilities.mjs": "7186d7c19f733d987a7afe2355dd7d788333a15c0f80811c4cde4e7a32584c4e",
|
package/engine/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.0-rc.
|
|
1
|
+
0.8.0-rc.14
|
|
@@ -475,11 +475,18 @@ def _close_appointment_tab_via_cdp(orch) -> int:
|
|
|
475
475
|
try: orch._log(' ⚠️ 同步清理:未发现 appointment-v2 标签页')
|
|
476
476
|
except Exception: pass
|
|
477
477
|
return 0
|
|
478
|
-
#
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
478
|
+
# 只有预约页是窗口里最后一个页面时才开占位页;用户/店铺已有其它标签 → 直接关(不制造空页)
|
|
479
|
+
others = [
|
|
480
|
+
t for t in targets
|
|
481
|
+
if t not in appt and str(t.get('type') or '') == 'page'
|
|
482
|
+
and not str(t.get('url') or '').startswith('about:')
|
|
483
|
+
and 'chrome-extension://' not in str(t.get('url') or '')
|
|
484
|
+
]
|
|
485
|
+
if not others:
|
|
486
|
+
try: _http_sync(f'{endpoint}/json/new?about:blank', method='PUT')
|
|
487
|
+
except Exception:
|
|
488
|
+
try: _http_sync(f'{endpoint}/json/new?about:blank')
|
|
489
|
+
except Exception: pass
|
|
483
490
|
for t in appt:
|
|
484
491
|
tid = str(t.get('id') or '')
|
|
485
492
|
if not tid: continue
|
package/engine/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "0.8.0-rc.
|
|
1
|
+
export const VERSION = "0.8.0-rc.14"
|