@songsid/agend 2.3.2-beta.14 → 2.3.2-beta.15
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/dist/backend/codex-session-lookup.d.ts +15 -0
- package/dist/backend/codex-session-lookup.js +58 -0
- package/dist/backend/codex-session-lookup.js.map +1 -1
- package/dist/backend/codex.js +15 -4
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/kiro-classic-archive.d.ts +5 -0
- package/dist/backend/kiro-classic-archive.js +132 -7
- package/dist/backend/kiro-classic-archive.js.map +1 -1
- package/dist/backend/kiro-identity.d.ts +2 -0
- package/dist/backend/kiro-identity.js +4 -0
- package/dist/backend/kiro-identity.js.map +1 -1
- package/dist/backend/kiro-reconcile-store.d.ts +27 -0
- package/dist/backend/kiro-reconcile-store.js +344 -0
- package/dist/backend/kiro-reconcile-store.js.map +1 -0
- package/dist/backend/kiro-v2-store-worker.js +12 -3
- package/dist/backend/kiro-v2-store-worker.js.map +1 -1
- package/dist/backend/kiro-v2-store.d.ts +11 -0
- package/dist/backend/kiro-v2-store.js.map +1 -1
- package/dist/channel/mcp-tools.js +3 -1
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/cli.js +17 -4
- package/dist/cli.js.map +1 -1
- package/dist/fleet-manager.d.ts +9 -1
- package/dist/fleet-manager.js +94 -8
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-instance.d.ts +24 -0
- package/dist/general-instance.js +53 -0
- package/dist/general-instance.js.map +1 -1
- package/dist/general-knowledge/skills/web-appearance/SKILL.canvas-worker-off.md +2 -0
- package/dist/general-knowledge/skills/web-appearance/SKILL.md +2 -0
- package/dist/general-knowledge/skills/web-dashboard/SKILL.canvas-worker-off.md +6 -4
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +6 -4
- package/dist/kiro-reconcile.d.ts +21 -0
- package/dist/kiro-reconcile.js +80 -0
- package/dist/kiro-reconcile.js.map +1 -0
- package/dist/kiro-tui-forensic.d.ts +7 -0
- package/dist/kiro-tui-forensic.js +17 -3
- package/dist/kiro-tui-forensic.js.map +1 -1
- package/dist/locale.js +20 -0
- package/dist/locale.js.map +1 -1
- package/dist/log-service.js +1 -1
- package/dist/log-service.js.map +1 -1
- package/dist/office-share-page.d.ts +3 -1
- package/dist/office-share-page.js +7 -2
- package/dist/office-share-page.js.map +1 -1
- package/dist/office-share-service.d.ts +4 -3
- package/dist/office-share-service.js +6 -6
- package/dist/office-share-service.js.map +1 -1
- package/dist/office-share.d.ts +17 -6
- package/dist/office-share.js +28 -11
- package/dist/office-share.js.map +1 -1
- package/dist/outbound-handlers.js +20 -1
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +6 -0
- package/dist/outbound-schemas.js +6 -0
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/quickstart-api.d.ts +25 -1
- package/dist/quickstart-api.js +53 -6
- package/dist/quickstart-api.js.map +1 -1
- package/dist/service-installer.d.ts +13 -0
- package/dist/service-installer.js +15 -0
- package/dist/service-installer.js.map +1 -1
- package/dist/service-owner.d.ts +25 -0
- package/dist/service-owner.js +43 -2
- package/dist/service-owner.js.map +1 -1
- package/dist/setup-form.js +17 -3
- package/dist/setup-form.js.map +1 -1
- package/dist/setup-i18n.js +2 -0
- package/dist/setup-i18n.js.map +1 -1
- package/dist/tool-permissions.js +1 -0
- package/dist/tool-permissions.js.map +1 -1
- package/dist/ui/fleet-office-layout.js +14 -6
- package/dist/ui/fleet-office-pack.d.ts +4 -0
- package/dist/ui/fleet-office-pack.js +15 -5
- package/dist/ui/fleet-office-store.js +18 -3
- package/dist/ui/fleet-office-view.js +8 -0
- package/dist/ui/fleet-office-zones.js +10 -2
- package/dist/ui/fleet-office.js +36 -4
- package/dist/ui/office-share-dialog.js +31 -7
- package/dist/ui/panel-log.js +2 -2
- package/dist/ui/settings-strings.js +2 -0
- package/dist/ui/settings-wizard.js +15 -4
- package/dist/ui/shared/app.css +6 -0
- package/dist/ui/shared/setup-host-text.js +2 -0
- package/dist/web-api.js +74 -4
- package/dist/web-api.js.map +1 -1
- package/dist/web-office-pack-tools.d.ts +10 -1
- package/dist/web-office-pack-tools.js +36 -5
- package/dist/web-office-pack-tools.js.map +1 -1
- package/dist/web-office-skins.js +6 -0
- package/dist/web-office-skins.js.map +1 -1
- package/dist/web-office-store.d.ts +22 -3
- package/dist/web-office-store.js +44 -8
- package/dist/web-office-store.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -25,7 +25,7 @@ import { homedir, totalmem, freemem, userInfo } from "node:os";
|
|
|
25
25
|
import { fileURLToPath } from "node:url";
|
|
26
26
|
import { spawnSync, execSync, execFileSync } from "node:child_process";
|
|
27
27
|
import { spawn } from "./child-process.js";
|
|
28
|
-
import { getAgendHome, getTmuxSocketName, isDefaultAgendHome } from "./paths.js";
|
|
28
|
+
import { getAgendHome, getTmuxSocketName, isDefaultAgendHome, realDefaultAgendHome } from "./paths.js";
|
|
29
29
|
import { hasPausedMarker } from "./pause-marker.js";
|
|
30
30
|
import { COMPLETION_SHELLS, completionScript } from "./completion.js";
|
|
31
31
|
import { getUpdateSelector, isExactVersion, isUnrequestedDowngrade, lookupTargetVersion, reportUpdateRestart, shouldSkipUpdate, runningFleetPredatesInstall, fleetProvenStopped, readFleetPidEvidence, pidAlive, processStartMs, } from "./update-check.js";
|
|
@@ -34,7 +34,7 @@ import { describeSignalSource, forceAllowed, gateFleetControl, recordInstanceCon
|
|
|
34
34
|
import { FLEET_STOP_TIMEOUT_MS, stopDetachedOwner, systemdStopTimeoutMs, detachedProcessStart, detachedProcessExited } from "./fleet-stop-budget.js";
|
|
35
35
|
import { acquireFleetLock, isFleetStartCommandLine, readProcessCommandLine, releaseProcessFleetLock, setProcessFleetLock } from "./fleet-lock.js";
|
|
36
36
|
import { limitFleetCoreDumps } from "./coredump-filter.js";
|
|
37
|
-
import { SYSTEMD_RESTART_TIMEOUT_MS, getServicePath, getSystemServicePath } from "./service-installer.js";
|
|
37
|
+
import { SYSTEMD_RESTART_TIMEOUT_MS, getServicePath, getSystemServicePath, serviceDefinitionHome } from "./service-installer.js";
|
|
38
38
|
import { withFsPlanLock } from "./service-plan.js";
|
|
39
39
|
import { selectSystemdRestartTarget, SYSTEMD_RESTART_INDETERMINATE_EXIT_CODE, } from "./service-restart-selection.js";
|
|
40
40
|
import { loadRawFleetConfig } from "./config.js";
|
|
@@ -45,7 +45,7 @@ import { DeliveryStatusArgs } from "./outbound-schemas.js";
|
|
|
45
45
|
import { requestCpuProfile } from "./profile-control.js";
|
|
46
46
|
import { requestSettingsConfirmation } from "./settings-control.js";
|
|
47
47
|
import { canonicalCliEntry, selfCommand } from "./cli-entry.js";
|
|
48
|
-
import { DIRECT_FLEET_START_ENV, redirectsToService, startedByServiceManager } from "./service-owner.js";
|
|
48
|
+
import { DIRECT_FLEET_START_ENV, redirectsToService, serviceRunsHome, startedByServiceManager } from "./service-owner.js";
|
|
49
49
|
import { handOff, shouldHandOff } from "./launchd-handoff.js";
|
|
50
50
|
/** Prefix tmux args with -L when socket isolation is active. */
|
|
51
51
|
function tmuxArgs(args) {
|
|
@@ -2142,9 +2142,22 @@ function redirectToService(command, extra, directMarker) {
|
|
|
2142
2142
|
catch { /* not Linux */ }
|
|
2143
2143
|
const byServiceManager = startedByServiceManager({ platform: process.platform, env: process.env, ownCgroup, ppid: process.ppid, launchdLabel: "com.agend.fleet" });
|
|
2144
2144
|
const installed = getSystemServicePath() ?? getServicePath();
|
|
2145
|
-
|
|
2145
|
+
// #2741: only a service of this AgEnD home takes the start or stop over.
|
|
2146
|
+
let definition = null;
|
|
2147
|
+
try {
|
|
2148
|
+
if (installed)
|
|
2149
|
+
definition = readFileSync(installed, "utf-8");
|
|
2150
|
+
}
|
|
2151
|
+
catch { /* unreadable: as before */ }
|
|
2152
|
+
const told = definition === null ? null : serviceDefinitionHome(definition);
|
|
2153
|
+
const sameHome = serviceRunsHome({ serviceHome: told?.known ? told.home : null,
|
|
2154
|
+
defaultHome: realDefaultAgendHome(), ownHome: getAgendHome(), definitionRead: !!told?.known });
|
|
2155
|
+
if (!redirectsToService({ command, directMarker, byServiceManager, installedServicePath: installed, sameHome }))
|
|
2146
2156
|
return false;
|
|
2147
2157
|
console.error(t("cli.service_redirect", String(installed), [command, ...extra].join(" ")));
|
|
2158
|
+
// #2741: a unit waiting for READY that hands over exits before it — say so, with the way out, never silently.
|
|
2159
|
+
if (process.env.NOTIFY_SOCKET)
|
|
2160
|
+
console.error(t("cli.service_redirect_notify"));
|
|
2148
2161
|
const self = selfCommand([command, ...extra]);
|
|
2149
2162
|
const result = spawnSync(self.command, self.args, { stdio: "inherit" });
|
|
2150
2163
|
process.exit(result.status ?? 1);
|