open-agents-ai 0.31.8 → 0.31.9

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17833,6 +17833,7 @@ async function handleUpdate(subcommand, ctx) {
17833
17833
  process.stdout.write(` ${c2.green("\u2714")} Installed v${info.latestVersion}. Reloading...
17834
17834
 
17835
17835
  `);
17836
+ ctx.contextSave?.();
17836
17837
  const hadActiveTask = ctx.savePendingTaskState?.() ?? false;
17837
17838
  const resumeFlag = hadActiveTask ? "1" : "update-only";
17838
17839
  const { execPath, argv } = process;
@@ -23119,7 +23120,10 @@ async function startInteractive(config, repoPath) {
23119
23120
  const pendingTask = loadPendingTask(repoRoot);
23120
23121
  if (pendingTask) {
23121
23122
  setTimeout(() => {
23123
+ const sessionCtx = buildContextRestorePrompt(repoRoot);
23122
23124
  const resumeContext = [
23125
+ sessionCtx ? `[SESSION CONTEXT RESTORED]
23126
+ ${sessionCtx}` : "",
23123
23127
  `[RESUMED AFTER UPDATE] Original task: ${pendingTask.prompt}`,
23124
23128
  pendingTask.progressSummary ? `Progress so far: ${pendingTask.progressSummary}` : "",
23125
23129
  pendingTask.filesModified.length > 0 ? `Files modified before update: ${pendingTask.filesModified.join(", ")}` : "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.31.8",
3
+ "version": "0.31.9",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",