@agentchatme/codex 0.0.15 → 0.0.17
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/daemon-main.js +9 -4
- package/dist/daemon-main.js.map +1 -1
- package/dist/index.js +402 -104
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/daemon-main.js
CHANGED
|
@@ -3726,7 +3726,7 @@ var init_wrapper = __esm({
|
|
|
3726
3726
|
import { parseArgs } from "util";
|
|
3727
3727
|
import * as path7 from "path";
|
|
3728
3728
|
|
|
3729
|
-
// node_modules/.pnpm/@agentchatme+agent-core@0.0.
|
|
3729
|
+
// node_modules/.pnpm/@agentchatme+agent-core@0.0.13/node_modules/@agentchatme/agent-core/dist/chunk-NEGTEBFK.js
|
|
3730
3730
|
import * as fs from "fs";
|
|
3731
3731
|
import * as path from "path";
|
|
3732
3732
|
import * as fs2 from "fs";
|
|
@@ -7963,7 +7963,7 @@ function idle(home) {
|
|
|
7963
7963
|
}
|
|
7964
7964
|
}
|
|
7965
7965
|
|
|
7966
|
-
// node_modules/.pnpm/@agentchatme+agent-core@0.0.
|
|
7966
|
+
// node_modules/.pnpm/@agentchatme+agent-core@0.0.13/node_modules/@agentchatme/agent-core/dist/daemon-entry.js
|
|
7967
7967
|
init_wrapper();
|
|
7968
7968
|
import { EventEmitter } from "events";
|
|
7969
7969
|
import * as path2 from "path";
|
|
@@ -8471,7 +8471,7 @@ async function runDaemon(opts) {
|
|
|
8471
8471
|
import * as fs5 from "fs";
|
|
8472
8472
|
import { spawn, spawnSync } from "child_process";
|
|
8473
8473
|
|
|
8474
|
-
// node_modules/.pnpm/@agentchatme+agent-core@0.0.
|
|
8474
|
+
// node_modules/.pnpm/@agentchatme+agent-core@0.0.13/node_modules/@agentchatme/agent-core/dist/index.js
|
|
8475
8475
|
var SESSION_TTL_MS = 48 * 60 * 60 * 1e3;
|
|
8476
8476
|
var SessionStateSchema = external_exports.object({
|
|
8477
8477
|
continuations: external_exports.number().int().min(0),
|
|
@@ -8489,7 +8489,12 @@ var StateSchema = external_exports.object({
|
|
|
8489
8489
|
// Machine-wide timestamp of the last registration offer injected by the
|
|
8490
8490
|
// session-start hook. Keeps the unregistered-plugin nag to once a day
|
|
8491
8491
|
// instead of once per session.
|
|
8492
|
-
last_offer_at: external_exports.string().optional()
|
|
8492
|
+
last_offer_at: external_exports.string().optional(),
|
|
8493
|
+
// Set when the user has said "not now" to setting up a handle. Unlike the
|
|
8494
|
+
// cooldown above this is PERMANENT until they change their mind, because the
|
|
8495
|
+
// prompt that needs suppressing lives in the always-loaded instruction file
|
|
8496
|
+
// and would otherwise be re-read — and re-acted on — every single session.
|
|
8497
|
+
offer_declined_at: external_exports.string().optional()
|
|
8493
8498
|
});
|
|
8494
8499
|
var OFFER_COOLDOWN_MS = 24 * 60 * 60 * 1e3;
|
|
8495
8500
|
var SEC = 1e3;
|