@agent-link/agent 0.1.329 → 0.1.330
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/backends/types.js +2 -2
- package/dist/backends/types.js.map +1 -1
- package/dist/claude.js +3 -2
- package/dist/claude.js.map +1 -1
- package/dist/codex.js +44 -4
- package/dist/codex.js.map +1 -1
- package/dist/connection.js +8 -0
- package/dist/connection.js.map +1 -1
- package/dist/copilot.js +41 -8
- package/dist/copilot.js.map +1 -1
- package/dist/runtime-info.d.ts +9 -0
- package/dist/runtime-info.js +13 -0
- package/dist/runtime-info.js.map +1 -0
- package/dist/runtime-release.d.ts +3 -0
- package/dist/runtime-release.js +17 -1
- package/dist/runtime-release.js.map +1 -1
- package/dist/web-upgrade.d.ts +1 -0
- package/dist/web-upgrade.js +20 -4
- package/dist/web-upgrade.js.map +1 -1
- package/dist/yeaft.js +23 -3
- package/dist/yeaft.js.map +1 -1
- package/package.json +1 -1
package/dist/connection.js
CHANGED
|
@@ -46,6 +46,7 @@ import { initEntraTimers, startEntraRetryTimer, stopEntraRetryTimer, scheduleEnt
|
|
|
46
46
|
import { initScheduler, getRunningExecutions, } from './scheduler.js';
|
|
47
47
|
import { handleWebUpgradeMessage } from './web-upgrade.js';
|
|
48
48
|
import { refreshRuntimeLaunchSpecDeviceName } from './upgrade-launch-spec.js';
|
|
49
|
+
import { getAgentRuntimeInfo } from './runtime-info.js';
|
|
49
50
|
let tunnelHandler = null;
|
|
50
51
|
let terminalManager = null;
|
|
51
52
|
const RECONNECT_BASE_DELAY = 1000;
|
|
@@ -718,6 +719,7 @@ export function getConnectionStatus() {
|
|
|
718
719
|
}
|
|
719
720
|
function buildWsUrl(config) {
|
|
720
721
|
const base = config.server.replace(/\/$/, '');
|
|
722
|
+
const runtimeInfo = getAgentRuntimeInfo();
|
|
721
723
|
const params = new URLSearchParams({
|
|
722
724
|
type: 'agent',
|
|
723
725
|
id: config.name,
|
|
@@ -728,6 +730,12 @@ function buildWsUrl(config) {
|
|
|
728
730
|
deviceNameEditing: '1',
|
|
729
731
|
version: pkg.version,
|
|
730
732
|
qacRequestIds: '1',
|
|
733
|
+
nodeVersion: runtimeInfo.nodeVersion,
|
|
734
|
+
nodeMajor: String(runtimeInfo.nodeMajor),
|
|
735
|
+
nodeAbi: runtimeInfo.nodeAbi,
|
|
736
|
+
platform: runtimeInfo.platform,
|
|
737
|
+
arch: runtimeInfo.arch,
|
|
738
|
+
versionStoreAdopted: runtimeInfo.versionStoreAdopted ? '1' : '0',
|
|
731
739
|
});
|
|
732
740
|
// On reconnect, send previous sessionId so the URL stays valid
|
|
733
741
|
if (state.sessionId) {
|