create-loopengine 0.1.65 → 0.1.66

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-loopengine",
3
- "version": "0.1.65",
3
+ "version": "0.1.66",
4
4
  "description": "Scaffold a new loopengine agent project — a runnable HTTP server with one example agent, in your own repo.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -3098,7 +3098,11 @@ const server = createServer(async (req, res) => {
3098
3098
  // The Settings section's Upgrade button (web/upgrade-admin.ts).
3099
3099
  if (req.method === 'GET' && pathname === '/config/upgrade') {
3100
3100
  res.writeHead(200, { 'content-type': 'application/json', 'cache-control': 'no-store' }).end(
3101
- JSON.stringify({ ...(await describeUpgrade()), canUpgrade: secretsProtected, restartsItself: exitOnCodeChange }),
3101
+ JSON.stringify({
3102
+ ...(await describeUpgrade(undefined, { refresh: new URL(req.url ?? '/', 'http://localhost').searchParams.get('refresh') === '1' })),
3103
+ canUpgrade: secretsProtected,
3104
+ restartsItself: exitOnCodeChange,
3105
+ }),
3102
3106
  )
3103
3107
  return
3104
3108
  }
@@ -9,7 +9,7 @@
9
9
  "cli": "tsx adapters/cli.ts"
10
10
  },
11
11
  "dependencies": {
12
- "loopengine": "^0.1.81",
12
+ "loopengine": "^0.1.82",
13
13
  "actauth": "^0.0.12",
14
14
  "tsx": "^4.19.0",
15
15
  "typescript": "^5.7.0"