@andrewting19/oracle 0.11.0 → 0.11.1

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.
@@ -1402,6 +1402,19 @@ async function runRemoteBrowserMode(promptText, attachments, config, logger, opt
1402
1402
  }
1403
1403
  }
1404
1404
  stopThinkingMonitor?.();
1405
+ // Capture the final conversation URL (chatgpt.com/c/<id>) for follow-up support.
1406
+ try {
1407
+ const { result: hrefResult } = await Runtime.evaluate({
1408
+ expression: "location.href",
1409
+ returnByValue: true,
1410
+ });
1411
+ if (typeof hrefResult?.value === "string" && hrefResult.value.includes("/c/")) {
1412
+ lastUrl = hrefResult.value;
1413
+ }
1414
+ }
1415
+ catch {
1416
+ // ignore — keep whatever lastUrl we have
1417
+ }
1405
1418
  const durationMs = Date.now() - startedAt;
1406
1419
  const answerChars = answerText.length;
1407
1420
  const answerTokens = estimateTokenCount(answerMarkdown);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrewting19/oracle",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "CLI wrapper around OpenAI Responses API with GPT-5.4 Pro, GPT-5.4, GPT-5.2, GPT-5.1, and GPT-5.1 Codex high reasoning modes.",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/steipete/oracle#readme",