@agentchatme/agent-core 0.7.0 → 0.7.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.
- package/README.md +12 -8
- package/dist/{chunk-PTKQIKCI.js → chunk-4PCDVXAR.js} +3 -3
- package/dist/{chunk-PTKQIKCI.js.map → chunk-4PCDVXAR.js.map} +1 -1
- package/dist/{chunk-C2ARQLZ7.js → chunk-5KMQ23O6.js} +11 -7
- package/dist/chunk-5KMQ23O6.js.map +1 -0
- package/dist/{chunk-NYSMAN4N.js → chunk-AQTRC7G4.js} +21 -3
- package/dist/{chunk-NYSMAN4N.js.map → chunk-AQTRC7G4.js.map} +1 -1
- package/dist/daemon-entry.d.ts +3 -3
- package/dist/daemon-entry.js +6 -5
- package/dist/daemon-entry.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +20 -8
- package/dist/index.js.map +1 -1
- package/dist/presets.d.ts +65 -19
- package/dist/presets.js +66 -9
- package/dist/presets.js.map +1 -1
- package/dist/{runner-BjCgl4bV.d.ts → runner-BLvFalN4.d.ts} +17 -5
- package/dist/{served-manual-RAIaRcr2.d.ts → served-manual-Bg-y_MEy.d.ts} +19 -2
- package/package.json +1 -1
- package/dist/chunk-C2ARQLZ7.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
FAILED_CYCLE_OUTCOMES,
|
|
7
7
|
HEARTBEAT_FILE,
|
|
8
8
|
INTEGRATION_STATUS_FILE,
|
|
9
|
+
INTEGRATION_STATUS_STALE_MS,
|
|
9
10
|
LEASE_RENEW_MS,
|
|
10
11
|
LEASE_STALE_MS,
|
|
11
12
|
LEGACY_STATUS_FILE,
|
|
@@ -58,7 +59,9 @@ import {
|
|
|
58
59
|
identityLineOf,
|
|
59
60
|
idle,
|
|
60
61
|
integrationStatusAge,
|
|
62
|
+
integrationStatusFresh,
|
|
61
63
|
integrationStatusPath,
|
|
64
|
+
integrationStatusStaleFor,
|
|
62
65
|
isRunnerFactory,
|
|
63
66
|
leaseHolder,
|
|
64
67
|
loadTexts,
|
|
@@ -91,7 +94,7 @@ import {
|
|
|
91
94
|
writeCredentials,
|
|
92
95
|
writeIntegrationStatus,
|
|
93
96
|
writePending
|
|
94
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-AQTRC7G4.js";
|
|
95
98
|
import {
|
|
96
99
|
HOSTED_MCP_PATH,
|
|
97
100
|
PROBE_KILL_WAIT_MS,
|
|
@@ -99,7 +102,7 @@ import {
|
|
|
99
102
|
hostedMcpUrl,
|
|
100
103
|
probeHostedMcp,
|
|
101
104
|
runProbe
|
|
102
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-4PCDVXAR.js";
|
|
103
106
|
import {
|
|
104
107
|
DEFAULT_RUN_BUDGET_MS,
|
|
105
108
|
DEFAULT_RUN_PROFILE,
|
|
@@ -130,7 +133,7 @@ import {
|
|
|
130
133
|
spawnCommand,
|
|
131
134
|
spawnCommandSync,
|
|
132
135
|
workdirExposesHome
|
|
133
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-5KMQ23O6.js";
|
|
134
137
|
|
|
135
138
|
// src/integration/tray.ts
|
|
136
139
|
import { INBOX_TRAY_MAX_LIMIT } from "agentchatme";
|
|
@@ -1133,11 +1136,17 @@ The key was not saved.`);
|
|
|
1133
1136
|
if (paused !== null) {
|
|
1134
1137
|
checks.push({ name: "could-not-process", verdict: "WARN", detail: paused.replace(/^could not process: /, "") });
|
|
1135
1138
|
} else if (lastCheck !== null && runtimeCheckFailingNow(integration)) {
|
|
1136
|
-
checks.push(
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1139
|
+
checks.push(
|
|
1140
|
+
integrationStatusFresh(integration) ? {
|
|
1141
|
+
name: "could-not-process",
|
|
1142
|
+
verdict: "WARN",
|
|
1143
|
+
detail: `the runtime check failed (${lastCheck.detail ?? "no detail"}; ${lastCheck.at}): while it fails, a conversation whose run fails is not reported, its card stays on the tray and the server wakes the agent again`
|
|
1144
|
+
} : {
|
|
1145
|
+
name: "could-not-process",
|
|
1146
|
+
verdict: "WARN",
|
|
1147
|
+
detail: `the daemon has not written its status for ${integrationStatusStaleFor(integration)} \u2014 it may be down (a running daemon rewrites it every 30 s); the runtime check that failed at ${lastCheck.at} says nothing about now`
|
|
1148
|
+
}
|
|
1149
|
+
);
|
|
1141
1150
|
} else if (counts !== null) {
|
|
1142
1151
|
checks.push({ name: "could-not-process", verdict: "PASS", detail: counts.replace(/^could not process: /, "") });
|
|
1143
1152
|
}
|
|
@@ -1830,6 +1839,7 @@ export {
|
|
|
1830
1839
|
INTEGRATION_ENV_LEGACY,
|
|
1831
1840
|
INTEGRATION_ENV_LEGACY_REMOVAL,
|
|
1832
1841
|
INTEGRATION_STATUS_FILE,
|
|
1842
|
+
INTEGRATION_STATUS_STALE_MS,
|
|
1833
1843
|
LEASE_RENEW_MS,
|
|
1834
1844
|
LEASE_STALE_MS,
|
|
1835
1845
|
LEGACY_STATUS_FILE,
|
|
@@ -1904,7 +1914,9 @@ export {
|
|
|
1904
1914
|
integrationDisabled,
|
|
1905
1915
|
integrationDisabledBy,
|
|
1906
1916
|
integrationStatusAge,
|
|
1917
|
+
integrationStatusFresh,
|
|
1907
1918
|
integrationStatusPath,
|
|
1919
|
+
integrationStatusStaleFor,
|
|
1908
1920
|
isRunProfile,
|
|
1909
1921
|
isRunnerFactory,
|
|
1910
1922
|
launchdPlist,
|