cursorconnect 0.1.11 → 0.1.12
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/bridge-runtime/connector-version.json +1 -1
- package/bridge-runtime/dist/agent-title-match.d.ts +4 -0
- package/bridge-runtime/dist/agent-title-match.js +61 -1
- package/bridge-runtime/dist/cdp-bridge.js +2 -1
- package/bridge-runtime/dist/chat-sync.js +3 -0
- package/bridge-runtime/dist/command-executor.d.ts +2 -0
- package/bridge-runtime/dist/command-executor.js +85 -56
- package/bridge-runtime/dist/composer-images.js +23 -6
- package/bridge-runtime/dist/cursor-window-kind.d.ts +10 -0
- package/bridge-runtime/dist/cursor-window-kind.js +10 -0
- package/bridge-runtime/dist/dom-extractor.d.ts +1 -1
- package/bridge-runtime/dist/dom-extractor.js +0 -1
- package/bridge-runtime/dist/editor-chat-list.d.ts +6 -0
- package/bridge-runtime/dist/editor-chat-list.js +79 -0
- package/bridge-runtime/dist/editor-list-sync.d.ts +3 -0
- package/bridge-runtime/dist/editor-list-sync.js +11 -0
- package/bridge-runtime/dist/editor-tab-focus-dom.d.ts +8 -0
- package/bridge-runtime/dist/editor-tab-focus-dom.js +80 -0
- package/bridge-runtime/dist/extract-page.d.ts +1 -1
- package/bridge-runtime/dist/extract-page.js +177 -30
- package/bridge-runtime/dist/generation-stop-dom.d.ts +5 -0
- package/bridge-runtime/dist/generation-stop-dom.js +67 -0
- package/bridge-runtime/dist/index.js +2 -0
- package/bridge-runtime/dist/queue-remove-dom.d.ts +11 -0
- package/bridge-runtime/dist/queue-remove-dom.js +88 -0
- package/bridge-runtime/dist/relay-upstream.js +2 -0
- package/bridge-runtime/dist/relay.js +35 -15
- package/bridge-runtime/dist/state-manager.d.ts +1 -1
- package/bridge-runtime/dist/types.d.ts +14 -0
- package/bridge-runtime/dist/window-monitor.js +6 -0
- package/bridge-runtime/selectors.json +8 -1
- package/package.json +1 -1
- package/version-policy.json +5 -5
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CdpClient } from './cdp-client.js';
|
|
2
|
+
import { windowKindFromTitle } from './cursor-window-kind.js';
|
|
2
3
|
import { extractPageState } from './extract-page.js';
|
|
3
4
|
/**
|
|
4
5
|
* Home window: continuous poll via main CDPBridge.
|
|
@@ -45,6 +46,8 @@ export class WindowMonitor {
|
|
|
45
46
|
messageCount: st.messages.length,
|
|
46
47
|
lastPreview: last?.text?.slice(0, 80),
|
|
47
48
|
agentStatus: st.agentStatus,
|
|
49
|
+
agentWorking: st.agentWorking,
|
|
50
|
+
tabs: st.tabs,
|
|
48
51
|
pendingApprovals: st.pendingApprovals?.length ?? 0,
|
|
49
52
|
updatedAt: Date.now(),
|
|
50
53
|
});
|
|
@@ -73,10 +76,13 @@ export class WindowMonitor {
|
|
|
73
76
|
return {
|
|
74
77
|
windowId,
|
|
75
78
|
title,
|
|
79
|
+
kind: windowKindFromTitle(title),
|
|
80
|
+
tabs: partial.tabs ?? [],
|
|
76
81
|
activeComposerId: partial.activeComposerId,
|
|
77
82
|
messageCount: partial.messages.length,
|
|
78
83
|
lastPreview: last?.text?.slice(0, 80),
|
|
79
84
|
agentStatus: partial.agentStatus,
|
|
85
|
+
agentWorking: partial.agentWorking,
|
|
80
86
|
pendingApprovals: partial.pendingApprovals?.length ?? 0,
|
|
81
87
|
updatedAt: Date.now(),
|
|
82
88
|
};
|
|
@@ -30,6 +30,11 @@
|
|
|
30
30
|
".glass-sidebar-agent-list-container li.ui-sidebar-menu-item > div.glass-sidebar-agent-menu-btn"
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
|
+
"editorAuxiliaryTabList": {
|
|
34
|
+
"strategies": [
|
|
35
|
+
"#workbench\\.parts\\.auxiliarybar div.tab[role=\"tab\"]"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
33
38
|
"newChatButton": {
|
|
34
39
|
"strategies": [
|
|
35
40
|
"[data-command-id='composer.createNewComposerTab']",
|
|
@@ -67,7 +72,9 @@
|
|
|
67
72
|
"button.ui-prompt-input-submit-button[data-state=\"stop\"]",
|
|
68
73
|
"button[aria-label=\"Stop generation\"]",
|
|
69
74
|
"button.ui-prompt-input-submit-button[aria-label=\"Stop generation\"]",
|
|
70
|
-
"button[data-state=\"stop\"]"
|
|
75
|
+
"button[data-state=\"stop\"]",
|
|
76
|
+
".composer-button-area .anysphere-icon-button:has(.codicon-debug-stop)",
|
|
77
|
+
".send-with-mode .anysphere-icon-button:has(.codicon-debug-stop)"
|
|
71
78
|
]
|
|
72
79
|
}
|
|
73
80
|
}
|
package/package.json
CHANGED
package/version-policy.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"minCliVersion": "0.1.
|
|
3
|
-
"minAppVersion": "0.
|
|
4
|
-
"latestCliVersion": "0.1.
|
|
5
|
-
"latestAppVersion": "0.
|
|
2
|
+
"minCliVersion": "0.1.12",
|
|
3
|
+
"minAppVersion": "0.3.2",
|
|
4
|
+
"latestCliVersion": "0.1.12",
|
|
5
|
+
"latestAppVersion": "0.3.2",
|
|
6
6
|
"updateCliCommand": "npm install -g cursorconnect@latest",
|
|
7
|
-
"updateAppHint": "Обновите CursorConnect в App Store
|
|
7
|
+
"updateAppHint": "Обновите CursorConnect в TestFlight / App Store до версии 0.3.2 или новее."
|
|
8
8
|
}
|