summrise-agent 1.2.474 → 1.2.476

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/bin/summrise.js CHANGED
@@ -2166,6 +2166,20 @@ const commands = {
2166
2166
  else {
2167
2167
  console.log("setup: no tunnel configured (local mode). Enable later with `summrise tunnel install <hostname>`.");
2168
2168
  }
2169
+ // START THE AGENT, BECAUSE `setup` IS WHERE AN OPERATOR EXPECTS THE THING TO BE RUNNING.
2170
+ // MEASURED 2026-09-27, ON A FRESH WINDOWS MACHINE: the documented journey was
2171
+ // `setup` -> `start` -> `desktop`, and the operator asked why it takes several commands.
2172
+ // `setup` already registers AND starts SummriseDesktop above; the AGENT task was the one
2173
+ // left to a separate command, and nothing about that split was useful to the person typing
2174
+ // it. `summrise start` remains for a stopped agent -- this removes the step from the
2175
+ // install, not the command.
2176
+ const agentRun = svc("Run");
2177
+ if (agentRun && agentRun.status === 0) {
2178
+ console.log("setup: SummriseAgent started");
2179
+ }
2180
+ else {
2181
+ console.log(`setup: WARNING -- could not start SummriseAgent (status ${agentRun ? agentRun.status : "spawn error"}); run: summrise start`);
2182
+ }
2169
2183
  },
2170
2184
  // ── monitor ────────────────────────────────────────────────────────────
2171
2185
  // The device's reachability instrument, in the terminal the operator already
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "summrise-agent",
3
- "version": "1.2.474",
3
+ "version": "1.2.476",
4
4
  "description": "Summrise Agent — Windows device MCP server (terminal/SSH/serial) + panel. Self-hosted npm distribution.",
5
5
  "//build": "唯一构建路径:在本目录执行 npm run build。它是自包含的:经 npm exec 按需拉取 typescript@5,无需预装任何 node_modules(干净检出可跑;旧脚本引用 ../summrise-desktop-electron/node_modules/.bin/tsc,干净检出必 ENOENT)。必须用 npm exec --package … -- tsc 的形式:npx 会吃掉传给 tsc 的 -p/--outDir 等参数(round-435:npx 写法从未真正跑通过)。先编 electron TS(--noCheck 纯 emit,与 release.yml 一致)同步两处 src/*.js,再编 src/summrise.ts 到 bin/summrise.js 并校验 round-298 标记(弱 oracle,只证某次构建发生,新鲜性由 publish-release.sh 的 tsc 重编 + cmp 门保证)。",
6
6
  "bin": {
Binary file