@ghl-ai/aw 0.1.37-beta.81 → 0.1.37-beta.83
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.
|
@@ -1168,6 +1168,7 @@ export async function handlePreCompact(rawInput) {
|
|
|
1168
1168
|
environment: session.platform,
|
|
1169
1169
|
model: latestModel,
|
|
1170
1170
|
platform: session.platform,
|
|
1171
|
+
platform_version: session.platform_version || null,
|
|
1171
1172
|
project_hash: session.project_hash,
|
|
1172
1173
|
session_id: sessionId,
|
|
1173
1174
|
compaction_count: (session.compaction_count || 0) + 1,
|
|
@@ -1265,6 +1266,7 @@ export async function handleSessionEnd(rawInput) {
|
|
|
1265
1266
|
environment: session.platform,
|
|
1266
1267
|
model: latestModel,
|
|
1267
1268
|
platform: session.platform,
|
|
1269
|
+
platform_version: session.platform_version || null,
|
|
1268
1270
|
project_hash: session.project_hash,
|
|
1269
1271
|
session_id: sessionId,
|
|
1270
1272
|
session_duration_ms: sessionDuration ? Math.round(sessionDuration) : null,
|
package/integrate.mjs
CHANGED
|
@@ -502,6 +502,7 @@ export function installIdeHooks() {
|
|
|
502
502
|
try { awConfig = JSON.parse(readFileSync(awConfigPath, 'utf8')); } catch { /* overwrite */ }
|
|
503
503
|
}
|
|
504
504
|
const apiUrl = process.env.AW_API_URL
|
|
505
|
+
|| awConfig.api_url
|
|
505
506
|
|| 'https://services.leadconnectorhq.com/agentic-workspace';
|
|
506
507
|
awConfig.api_url = apiUrl;
|
|
507
508
|
awConfig.token_pricing = TOKEN_PRICING;
|