abtars 0.3.4-alpha.2 → 0.3.4-alpha.4
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/bundle/{_registry.generated-RC6PEH6Z.js → _registry.generated-NTYSLLKQ.js} +5 -5
- package/bundle/abmind-lazy-7Z44NODV.js +23 -0
- package/bundle/abtars-cli.js +5 -5
- package/bundle/abtars.js +25 -25
- package/bundle/{agent-registry-GU7ABOK5.js → agent-registry-GVPWTW77.js} +3 -3
- package/bundle/{bootstrap-POWWTU6I.js → bootstrap-IXSBJZHN.js} +2 -2
- package/bundle/{chunk-3CACHBDI.js → chunk-4JXC3WTP.js} +4 -4
- package/bundle/{chunk-5HDSQFT6.js → chunk-5WCURRN3.js} +16 -18
- package/bundle/chunk-5WCURRN3.js.map +7 -0
- package/bundle/{chunk-B6ZN6COK.js → chunk-AW2FTHQO.js} +4 -4
- package/bundle/{chunk-Q32H6VPU.js → chunk-DM22Z3EJ.js} +8 -8
- package/bundle/{chunk-BFDBGESM.js → chunk-DO3A52JX.js} +7 -7
- package/bundle/{chunk-ZKJOFASV.js → chunk-FALOOWB5.js} +3 -3
- package/bundle/{chunk-UUIHL65U.js → chunk-IKUZPMVA.js} +7 -2
- package/bundle/{chunk-UUIHL65U.js.map → chunk-IKUZPMVA.js.map} +2 -2
- package/bundle/{chunk-LME23AA2.js → chunk-JQRHSGEA.js} +3 -3
- package/bundle/{chunk-OLAURO5G.js → chunk-LGP6TYFI.js} +2 -2
- package/bundle/{chunk-S5GD5EJ5.js → chunk-MTTROAAW.js} +2 -2
- package/bundle/{chunk-LUW62WGO.js → chunk-QTNVZ4EW.js} +1 -1
- package/bundle/{chunk-HMKVL7AX.js → chunk-YS47BYOJ.js} +13 -13
- package/bundle/{chunk-RIHQ37U5.js → chunk-ZXTNCV5J.js} +5 -5
- package/bundle/{commands-EWA4HNCM.js → commands-CFJML6XV.js} +4 -4
- package/bundle/{context-5P7IYYU2.js → context-2RJHC2LE.js} +2 -2
- package/bundle/{delegation-tools-P2SCNL23.js → delegation-tools-O7WLLYVP.js} +3 -3
- package/bundle/{deploy-YYUCGGP3.js → deploy-C2EYONHC.js} +2 -2
- package/bundle/{direct-api-transport-WQ6HA5OX.js → direct-api-transport-PA3QR37C.js} +5 -5
- package/bundle/{discord-adapter-4TTETYDI.js → discord-adapter-AAY6RVVS.js} +4 -4
- package/bundle/{doctor-probes-VDWFJKUB.js → doctor-probes-4FAM4PTN.js} +2 -2
- package/bundle/{heartbeat-tier3-55T2HUNE.js → heartbeat-tier3-5YOVJT2Z.js} +8 -8
- package/bundle/{install-4MXBYIUG.js → install-C2WDC4WT.js} +1 -1
- package/bundle/{message-pipeline-KSONH4MT.js → message-pipeline-ACTOBZDO.js} +4 -4
- package/bundle/meta.json +1263 -1230
- package/bundle/{phase-transport-2BRWACDF.js → phase-transport-2LEJGF2I.js} +4 -4
- package/bundle/{sleep-SRCSXY6T.js → sleep-36XS6MHJ.js} +3 -3
- package/bundle/{subagent-runtime-3UJB4HUB.js → subagent-runtime-QHFOQFUS.js} +2 -2
- package/bundle/{telegram-adapter-7G773NII.js → telegram-adapter-7TZN3BEX.js} +5 -5
- package/bundle/{tool-registry-J6TE3I2T.js → tool-registry-Q74FWBEG.js} +5 -5
- package/bundle/{update-424ZZQQ6.js → update-JBTTDVDD.js} +3 -3
- package/bundle/update-JBTTDVDD.js.map +7 -0
- package/package.json +1 -1
- package/scripts/abtars-watchdog.service +1 -1
- package/templates/skills/twitterX/SKILL.md +9 -0
- package/templates/skills/twitterX/scripts/abtars-tweet.js +10 -10
- package/bundle/chunk-5HDSQFT6.js.map +0 -7
- /package/bundle/{_registry.generated-RC6PEH6Z.js.map → _registry.generated-NTYSLLKQ.js.map} +0 -0
- /package/bundle/{agent-registry-GU7ABOK5.js.map → abmind-lazy-7Z44NODV.js.map} +0 -0
- /package/bundle/{commands-EWA4HNCM.js.map → agent-registry-GVPWTW77.js.map} +0 -0
- /package/bundle/{bootstrap-POWWTU6I.js.map → bootstrap-IXSBJZHN.js.map} +0 -0
- /package/bundle/{chunk-3CACHBDI.js.map → chunk-4JXC3WTP.js.map} +0 -0
- /package/bundle/{chunk-B6ZN6COK.js.map → chunk-AW2FTHQO.js.map} +0 -0
- /package/bundle/{chunk-Q32H6VPU.js.map → chunk-DM22Z3EJ.js.map} +0 -0
- /package/bundle/{chunk-BFDBGESM.js.map → chunk-DO3A52JX.js.map} +0 -0
- /package/bundle/{chunk-ZKJOFASV.js.map → chunk-FALOOWB5.js.map} +0 -0
- /package/bundle/{chunk-LME23AA2.js.map → chunk-JQRHSGEA.js.map} +0 -0
- /package/bundle/{chunk-OLAURO5G.js.map → chunk-LGP6TYFI.js.map} +0 -0
- /package/bundle/{chunk-S5GD5EJ5.js.map → chunk-MTTROAAW.js.map} +0 -0
- /package/bundle/{chunk-LUW62WGO.js.map → chunk-QTNVZ4EW.js.map} +0 -0
- /package/bundle/{chunk-HMKVL7AX.js.map → chunk-YS47BYOJ.js.map} +0 -0
- /package/bundle/{chunk-RIHQ37U5.js.map → chunk-ZXTNCV5J.js.map} +0 -0
- /package/bundle/{delegation-tools-P2SCNL23.js.map → commands-CFJML6XV.js.map} +0 -0
- /package/bundle/{context-5P7IYYU2.js.map → context-2RJHC2LE.js.map} +0 -0
- /package/bundle/{deploy-YYUCGGP3.js.map → delegation-tools-O7WLLYVP.js.map} +0 -0
- /package/bundle/{doctor-probes-VDWFJKUB.js.map → deploy-C2EYONHC.js.map} +0 -0
- /package/bundle/{direct-api-transport-WQ6HA5OX.js.map → direct-api-transport-PA3QR37C.js.map} +0 -0
- /package/bundle/{discord-adapter-4TTETYDI.js.map → discord-adapter-AAY6RVVS.js.map} +0 -0
- /package/bundle/{message-pipeline-KSONH4MT.js.map → doctor-probes-4FAM4PTN.js.map} +0 -0
- /package/bundle/{heartbeat-tier3-55T2HUNE.js.map → heartbeat-tier3-5YOVJT2Z.js.map} +0 -0
- /package/bundle/{install-4MXBYIUG.js.map → install-C2WDC4WT.js.map} +0 -0
- /package/bundle/{phase-transport-2BRWACDF.js.map → message-pipeline-ACTOBZDO.js.map} +0 -0
- /package/bundle/{sleep-SRCSXY6T.js.map → phase-transport-2LEJGF2I.js.map} +0 -0
- /package/bundle/{subagent-runtime-3UJB4HUB.js.map → sleep-36XS6MHJ.js.map} +0 -0
- /package/bundle/{tool-registry-J6TE3I2T.js.map → subagent-runtime-QHFOQFUS.js.map} +0 -0
- /package/bundle/{telegram-adapter-7G773NII.js.map → telegram-adapter-7TZN3BEX.js.map} +0 -0
- /package/bundle/{update-424ZZQQ6.js.map → tool-registry-Q74FWBEG.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/utils/abmind-lazy.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Lazy abmind loader \u2014 pre-loaded once at boot, then available synchronously.\n * ALL runtime access to abmind goes through here.\n *\n * If abmind is not installed, or is below the supported contract version\n * (#1243), abmind() returns null and the bridge runs without persistent\n * memory (nullMemory). A below-floor abmind is rejected loudly \u2014 never a\n * silent contract break that would quietly drop memory mid-session.\n */\nimport { createRequire } from \"node:module\";\nimport { readFileSync } from \"node:fs\";\nimport { logDebug, logError, logWarn } from \"../components/logger.js\";\n\ntype AbmindModule = typeof import(\"abmind\");\n\n/**\n * Minimum abmind version that provides the supported contract surface\n * (abmind SUPPORTED-SURFACE.md, #1243). Below this \u2192 memory disabled loudly.\n * Bump only when abtars starts relying on newer surface.\n */\nexport const ABMIND_MIN: readonly [number, number, number] = [0, 3, 0];\n\nlet _mod: AbmindModule | null = null;\nlet _loaded = false;\n\n/** Reset cache \u2014 called on in-process restart. */\nexport function resetAbmindCache(): void {\n _mod = null;\n _loaded = false;\n}\n\n/** Parse the leading major.minor.patch from a semver string (ignores pre-release/build). */\nexport function parseSemver(v: string): [number, number, number] | null {\n const m = /^(\\d+)\\.(\\d+)\\.(\\d+)/.exec(v);\n return m ? [Number(m[1]), Number(m[2]), Number(m[3])] : null;\n}\n\nfunction lt(a: readonly [number, number, number], b: readonly [number, number, number]): boolean {\n return a[0] !== b[0] ? a[0] < b[0] : a[1] !== b[1] ? a[1] < b[1] : a[2] < b[2];\n}\n\n/** True iff `version` is at least ABMIND_MIN (the supported contract floor). */\nexport function isSupportedVersion(version: string): boolean {\n const p = parseSemver(version);\n return !!p && !lt(p, ABMIND_MIN);\n}\n\n/** Read the version of the resolvable abmind package, or null if not resolvable. */\nfunction readResolvedAbmindVersion(): string | null {\n try {\n const req = createRequire(import.meta.url);\n const pkgPath = req.resolve(\"abmind/package.json\");\n return (JSON.parse(readFileSync(pkgPath, \"utf-8\")).version as string) ?? null;\n } catch {\n return null;\n }\n}\n\n/** Call once at boot (phase-memory). Caches the module. Returns null if unavailable or below-floor. */\nexport async function loadAbmind(): Promise<AbmindModule | null> {\n if (_loaded) return _mod;\n _loaded = true;\n\n let mod: AbmindModule | null = null;\n try {\n
|
|
5
|
-
"mappings": ";;;;;;;;;;AAWA;AAFA,SAAS,qBAAqB;AAC9B,SAAS,oBAAoB;AAUtB,IAAM,aAAgD,CAAC,GAAG,GAAG,CAAC;AAErE,IAAI,OAA4B;AAChC,IAAI,UAAU;AAGP,SAAS,mBAAyB;AACvC,SAAO;AACP,YAAU;AACZ;AAGO,SAAS,YAAY,GAA4C;AACtE,QAAM,IAAI,uBAAuB,KAAK,CAAC;AACvC,SAAO,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI;AAC1D;AAEA,SAAS,GAAG,GAAsC,GAA+C;AAC/F,SAAO,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC;AAC/E;AAGO,SAAS,mBAAmB,SAA0B;AAC3D,QAAM,IAAI,YAAY,OAAO;AAC7B,SAAO,CAAC,CAAC,KAAK,CAAC,GAAG,GAAG,UAAU;AACjC;AAGA,SAAS,4BAA2C;AAClD,MAAI;AACF,UAAM,MAAM,cAAc,YAAY,GAAG;AACzC,UAAM,UAAU,IAAI,QAAQ,qBAAqB;AACjD,WAAQ,KAAK,MAAM,aAAa,SAAS,OAAO,CAAC,EAAE,WAAsB;AAAA,EAC3E,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAGA,eAAsB,aAA2C;AAC/D,MAAI,QAAS,QAAO;AACpB,YAAU;AAEV,MAAI,MAA2B;AAC/B,MAAI;AACF,UAAM,MAAM,
|
|
4
|
+
"sourcesContent": ["/**\n * Lazy abmind loader \u2014 pre-loaded once at boot, then available synchronously.\n * ALL runtime access to abmind goes through here.\n *\n * If abmind is not installed, or is below the supported contract version\n * (#1243), abmind() returns null and the bridge runs without persistent\n * memory (nullMemory). A below-floor abmind is rejected loudly \u2014 never a\n * silent contract break that would quietly drop memory mid-session.\n */\nimport { createRequire } from \"node:module\";\nimport { readFileSync } from \"node:fs\";\nimport { logDebug, logError, logWarn } from \"../components/logger.js\";\n\ntype AbmindModule = typeof import(\"abmind\");\n\n/**\n * Minimum abmind version that provides the supported contract surface\n * (abmind SUPPORTED-SURFACE.md, #1243). Below this \u2192 memory disabled loudly.\n * Bump only when abtars starts relying on newer surface.\n */\nexport const ABMIND_MIN: readonly [number, number, number] = [0, 3, 0];\n\nlet _mod: AbmindModule | null = null;\nlet _loaded = false;\n\n/** Reset cache \u2014 called on in-process restart. */\nexport function resetAbmindCache(): void {\n _mod = null;\n _loaded = false;\n}\n\n/** Parse the leading major.minor.patch from a semver string (ignores pre-release/build). */\nexport function parseSemver(v: string): [number, number, number] | null {\n const m = /^(\\d+)\\.(\\d+)\\.(\\d+)/.exec(v);\n return m ? [Number(m[1]), Number(m[2]), Number(m[3])] : null;\n}\n\nfunction lt(a: readonly [number, number, number], b: readonly [number, number, number]): boolean {\n return a[0] !== b[0] ? a[0] < b[0] : a[1] !== b[1] ? a[1] < b[1] : a[2] < b[2];\n}\n\n/** True iff `version` is at least ABMIND_MIN (the supported contract floor). */\nexport function isSupportedVersion(version: string): boolean {\n const p = parseSemver(version);\n return !!p && !lt(p, ABMIND_MIN);\n}\n\n/** Read the version of the resolvable abmind package, or null if not resolvable. */\nfunction readResolvedAbmindVersion(): string | null {\n try {\n const req = createRequire(import.meta.url);\n const pkgPath = req.resolve(\"abmind/package.json\");\n return (JSON.parse(readFileSync(pkgPath, \"utf-8\")).version as string) ?? null;\n } catch {\n return null;\n }\n}\n\n/** Call once at boot (phase-memory). Caches the module. Returns null if unavailable or below-floor. */\nexport async function loadAbmind(): Promise<AbmindModule | null> {\n if (_loaded) return _mod;\n _loaded = true;\n\n let mod: AbmindModule | null = null;\n try {\n const req = createRequire(import.meta.url);\n const resolvedPath = req.resolve(\"abmind\");\n mod = await import(resolvedPath);\n } catch {\n mod = null;\n }\n if (!mod) {\n logWarn(\"boot\", \"abmind not installed \u2014 running without persistent memory\");\n _mod = null;\n return null;\n }\n\n const ver = readResolvedAbmindVersion();\n if (!ver || !isSupportedVersion(ver)) {\n logError(\n \"boot\",\n `abmind@${ver ?? \"?\"} is below the supported floor ${ABMIND_MIN.join(\".\")} \u2014 memory disabled to avoid a silent contract break. Upgrade: npm install -g abmind@latest`,\n );\n _mod = null;\n return null;\n }\n\n logDebug(\"boot\", `memory: enabled via abmind@${ver}`);\n _mod = mod;\n return _mod;\n}\n\n/** Synchronous access after loadAbmind() has been called. Returns null if unavailable. */\nexport function abmind(): AbmindModule | null {\n return _mod;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;AAWA;AAFA,SAAS,qBAAqB;AAC9B,SAAS,oBAAoB;AAUtB,IAAM,aAAgD,CAAC,GAAG,GAAG,CAAC;AAErE,IAAI,OAA4B;AAChC,IAAI,UAAU;AAGP,SAAS,mBAAyB;AACvC,SAAO;AACP,YAAU;AACZ;AAGO,SAAS,YAAY,GAA4C;AACtE,QAAM,IAAI,uBAAuB,KAAK,CAAC;AACvC,SAAO,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI;AAC1D;AAEA,SAAS,GAAG,GAAsC,GAA+C;AAC/F,SAAO,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC;AAC/E;AAGO,SAAS,mBAAmB,SAA0B;AAC3D,QAAM,IAAI,YAAY,OAAO;AAC7B,SAAO,CAAC,CAAC,KAAK,CAAC,GAAG,GAAG,UAAU;AACjC;AAGA,SAAS,4BAA2C;AAClD,MAAI;AACF,UAAM,MAAM,cAAc,YAAY,GAAG;AACzC,UAAM,UAAU,IAAI,QAAQ,qBAAqB;AACjD,WAAQ,KAAK,MAAM,aAAa,SAAS,OAAO,CAAC,EAAE,WAAsB;AAAA,EAC3E,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAGA,eAAsB,aAA2C;AAC/D,MAAI,QAAS,QAAO;AACpB,YAAU;AAEV,MAAI,MAA2B;AAC/B,MAAI;AACF,UAAM,MAAM,cAAc,YAAY,GAAG;AACzC,UAAM,eAAe,IAAI,QAAQ,QAAQ;AACzC,UAAM,MAAM,OAAO;AAAA,EACrB,QAAQ;AACN,UAAM;AAAA,EACR;AACA,MAAI,CAAC,KAAK;AACR,YAAQ,QAAQ,+DAA0D;AAC1E,WAAO;AACP,WAAO;AAAA,EACT;AAEA,QAAM,MAAM,0BAA0B;AACtC,MAAI,CAAC,OAAO,CAAC,mBAAmB,GAAG,GAAG;AACpC;AAAA,MACE;AAAA,MACA,UAAU,OAAO,GAAG,iCAAiC,WAAW,KAAK,GAAG,CAAC;AAAA,IAC3E;AACA,WAAO;AACP,WAAO;AAAA,EACT;AAEA,WAAS,QAAQ,8BAA8B,GAAG,EAAE;AACpD,SAAO;AACP,SAAO;AACT;AAGO,SAAS,SAA8B;AAC5C,SAAO;AACT;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
|
|
3
3
|
import {
|
|
4
4
|
deploy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MTTROAAW.js";
|
|
6
6
|
import {
|
|
7
7
|
printBanner
|
|
8
8
|
} from "./chunk-YDY6QVWJ.js";
|
|
@@ -27,11 +27,11 @@ Usage: abtars update --dev [dir] | --alpha | --stable
|
|
|
27
27
|
if (opts.localDir) {
|
|
28
28
|
return deploy({ source: opts.source, localDir: opts.localDir, skipFreshness: opts.skipFreshness });
|
|
29
29
|
}
|
|
30
|
-
const { bootstrap } = await import("./bootstrap-
|
|
30
|
+
const { bootstrap } = await import("./bootstrap-IXSBJZHN.js");
|
|
31
31
|
return bootstrap({ channel: opts.source });
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export {
|
|
35
35
|
update
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-JQRHSGEA.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-YRSMGJFP.js";
|
|
7
7
|
import {
|
|
8
8
|
abmind
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IKUZPMVA.js";
|
|
10
10
|
import {
|
|
11
11
|
init_bridge_lock_transport,
|
|
12
12
|
readAndClearForceSleep,
|
|
@@ -235,4 +235,4 @@ export {
|
|
|
235
235
|
register,
|
|
236
236
|
sleep_exports
|
|
237
237
|
};
|
|
238
|
-
//# sourceMappingURL=chunk-
|
|
238
|
+
//# sourceMappingURL=chunk-LGP6TYFI.js.map
|
|
@@ -508,7 +508,7 @@ async function deployActivation(args) {
|
|
|
508
508
|
}
|
|
509
509
|
async function refresh(paths, repoRoot) {
|
|
510
510
|
await mkdir3(paths.bin, { recursive: true });
|
|
511
|
-
const { writeWrapper } = await import("./install-
|
|
511
|
+
const { writeWrapper } = await import("./install-C2WDC4WT.js");
|
|
512
512
|
const { loadManifest } = await import("./install-manifest-5PPWMD2W.js");
|
|
513
513
|
const installManifest = loadManifest(paths.app);
|
|
514
514
|
for (const name of installManifest.cliWrappers) {
|
|
@@ -595,4 +595,4 @@ export {
|
|
|
595
595
|
deploy,
|
|
596
596
|
deployActivationCli
|
|
597
597
|
};
|
|
598
|
-
//# sourceMappingURL=chunk-
|
|
598
|
+
//# sourceMappingURL=chunk-MTTROAAW.js.map
|
|
@@ -17783,4 +17783,4 @@ export {
|
|
|
17783
17783
|
ModelNotFoundError,
|
|
17784
17784
|
AcpTransport
|
|
17785
17785
|
};
|
|
17786
|
-
//# sourceMappingURL=chunk-
|
|
17786
|
+
//# sourceMappingURL=chunk-QTNVZ4EW.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
|
|
3
3
|
import {
|
|
4
4
|
setIdleCompactReset
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DO3A52JX.js";
|
|
6
6
|
import {
|
|
7
7
|
updateCtxStart
|
|
8
8
|
} from "./chunk-JQDJPUHM.js";
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
loadTransport,
|
|
14
14
|
resolveAgent
|
|
15
15
|
} from "./chunk-WYHGNI56.js";
|
|
16
|
-
import {
|
|
17
|
-
abmind
|
|
18
|
-
} from "./chunk-UUIHL65U.js";
|
|
19
16
|
import {
|
|
20
17
|
init_spin,
|
|
21
18
|
spin
|
|
22
19
|
} from "./chunk-AO32N2VB.js";
|
|
20
|
+
import {
|
|
21
|
+
abmind
|
|
22
|
+
} from "./chunk-IKUZPMVA.js";
|
|
23
23
|
import {
|
|
24
24
|
init_bridge_lock_transport,
|
|
25
25
|
readBridgeLockField,
|
|
@@ -272,7 +272,7 @@ function createAgeCheckTask(deps) {
|
|
|
272
272
|
if (!isDailyCycleDue(deps)) return;
|
|
273
273
|
logInfo("age-check", `\u{1F634} BED_TIME (${deps.sleepHour}:${String(deps.sleepMinute).padStart(2, "0")}) \u2014 spawning Dreamy`);
|
|
274
274
|
try {
|
|
275
|
-
import("./doctor-probes-
|
|
275
|
+
import("./doctor-probes-4FAM4PTN.js").then((m) => m.runFixes()).catch(() => {
|
|
276
276
|
});
|
|
277
277
|
} catch (err) {
|
|
278
278
|
logAndSwallow("heartbeat_tasks", "op", err);
|
|
@@ -1048,7 +1048,7 @@ Exception: fixing JSON structural corruption (invalid syntax, parse errors) is a
|
|
|
1048
1048
|
A single task failure is NOT grounds for config changes. Investigate root cause, report findings.`;
|
|
1049
1049
|
void (async () => {
|
|
1050
1050
|
try {
|
|
1051
|
-
const { SubagentRuntime } = await import("./subagent-runtime-
|
|
1051
|
+
const { SubagentRuntime } = await import("./subagent-runtime-QHFOQFUS.js");
|
|
1052
1052
|
const runtime = new SubagentRuntime();
|
|
1053
1053
|
await runtime.complete("coding", msg, { sessionType: "S" });
|
|
1054
1054
|
await runtime.shutdown();
|
|
@@ -1072,7 +1072,7 @@ Resume with: /task resume <id>`;
|
|
|
1072
1072
|
ctx.cronQueue = cronQueue;
|
|
1073
1073
|
const cronCallback = (_chatId, _message, _result, _dodFiles) => {
|
|
1074
1074
|
};
|
|
1075
|
-
const { setEnqueueCron } = await import("./tool-registry-
|
|
1075
|
+
const { setEnqueueCron } = await import("./tool-registry-Q74FWBEG.js");
|
|
1076
1076
|
const enqueueCron = (id, manual) => {
|
|
1077
1077
|
try {
|
|
1078
1078
|
const entry = readEntry(id);
|
|
@@ -1135,7 +1135,7 @@ Resume with: /task resume <id>`;
|
|
|
1135
1135
|
selfHealerTask: null,
|
|
1136
1136
|
hailMary: ctx.hailMary,
|
|
1137
1137
|
rebuildTransport: async () => {
|
|
1138
|
-
const { rebuildTransport } = await import("./phase-transport-
|
|
1138
|
+
const { rebuildTransport } = await import("./phase-transport-2LEJGF2I.js");
|
|
1139
1139
|
await rebuildTransport(ctx);
|
|
1140
1140
|
},
|
|
1141
1141
|
phaseHealth: ctx.phaseHealth,
|
|
@@ -1154,7 +1154,7 @@ Resume with: /task resume <id>`;
|
|
|
1154
1154
|
}
|
|
1155
1155
|
};
|
|
1156
1156
|
ctx.pipelineDeps = pipelineDeps;
|
|
1157
|
-
const { handleInboundMessage } = await import("./message-pipeline-
|
|
1157
|
+
const { handleInboundMessage } = await import("./message-pipeline-ACTOBZDO.js");
|
|
1158
1158
|
if (ctx.telegramAdapter) {
|
|
1159
1159
|
ctx.telegramAdapter.setMessageHandler({ pipeline: pipelineDeps, conversationBuffer: ctx.conversationBuffer, transport, memory: ctx.memory, sessionManager: ctx.sessionManager, actionGate: ctx.actionGate });
|
|
1160
1160
|
logInfo("boot", "Telegram: full pipeline wired");
|
|
@@ -1180,7 +1180,7 @@ Resume with: /task resume <id>`;
|
|
|
1180
1180
|
if (ctx.telegramAdapter) {
|
|
1181
1181
|
const mainChatId = config.mainChatId;
|
|
1182
1182
|
if (mainChatId) {
|
|
1183
|
-
const { setSendDocument } = await import("./tool-registry-
|
|
1183
|
+
const { setSendDocument } = await import("./tool-registry-Q74FWBEG.js");
|
|
1184
1184
|
setSendDocument((path, caption) => ctx.telegramAdapter.sendDocument(String(mainChatId), path, caption));
|
|
1185
1185
|
if (ctx.actionGate) {
|
|
1186
1186
|
const api = ctx.telegramAdapter.api;
|
|
@@ -1197,14 +1197,14 @@ Resume with: /task resume <id>`;
|
|
|
1197
1197
|
}
|
|
1198
1198
|
const ircAdapter = ctx.platformAdapters.get("irc");
|
|
1199
1199
|
if (ircAdapter) {
|
|
1200
|
-
const { setIrcSend } = await import("./tool-registry-
|
|
1200
|
+
const { setIrcSend } = await import("./tool-registry-Q74FWBEG.js");
|
|
1201
1201
|
setIrcSend((channel, message) => {
|
|
1202
1202
|
ircAdapter.sendMessage(channel, message);
|
|
1203
1203
|
});
|
|
1204
1204
|
}
|
|
1205
1205
|
const { initChannelSync } = await import("./kanban-channel-IJ52OMNA.js");
|
|
1206
1206
|
initChannelSync();
|
|
1207
|
-
const { registerTier3Tasks } = await import("./heartbeat-tier3-
|
|
1207
|
+
const { registerTier3Tasks } = await import("./heartbeat-tier3-5YOVJT2Z.js");
|
|
1208
1208
|
await registerTier3Tasks(ctx);
|
|
1209
1209
|
return "ran";
|
|
1210
1210
|
}
|
|
@@ -1230,4 +1230,4 @@ export {
|
|
|
1230
1230
|
phasePipelineDeps,
|
|
1231
1231
|
createCronCallback
|
|
1232
1232
|
};
|
|
1233
|
-
//# sourceMappingURL=chunk-
|
|
1233
|
+
//# sourceMappingURL=chunk-YS47BYOJ.js.map
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
|
|
3
|
-
import {
|
|
4
|
-
abmind
|
|
5
|
-
} from "./chunk-UUIHL65U.js";
|
|
6
3
|
import {
|
|
7
4
|
getDelegationTools
|
|
8
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AW2FTHQO.js";
|
|
9
6
|
import {
|
|
10
7
|
guardrails_exports,
|
|
11
8
|
init_guardrails
|
|
@@ -29,6 +26,9 @@ import {
|
|
|
29
26
|
checkPath,
|
|
30
27
|
checkTool
|
|
31
28
|
} from "./chunk-WBTJ2E62.js";
|
|
29
|
+
import {
|
|
30
|
+
abmind
|
|
31
|
+
} from "./chunk-IKUZPMVA.js";
|
|
32
32
|
import {
|
|
33
33
|
bumpRead,
|
|
34
34
|
setProvenance
|
|
@@ -1243,4 +1243,4 @@ export {
|
|
|
1243
1243
|
getToolSchemas,
|
|
1244
1244
|
executeToolCall
|
|
1245
1245
|
};
|
|
1246
|
-
//# sourceMappingURL=chunk-
|
|
1246
|
+
//# sourceMappingURL=chunk-ZXTNCV5J.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
registerCommand,
|
|
7
7
|
triggerNewSession,
|
|
8
8
|
triggerResetSession
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DO3A52JX.js";
|
|
10
10
|
import "./chunk-63A7ZRIH.js";
|
|
11
11
|
import "./chunk-OKAQICWY.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-UUIHL65U.js";
|
|
12
|
+
import "./chunk-QTNVZ4EW.js";
|
|
14
13
|
import "./chunk-NRUSRJXR.js";
|
|
15
14
|
import "./chunk-YWZPKBO6.js";
|
|
15
|
+
import "./chunk-IKUZPMVA.js";
|
|
16
16
|
import "./chunk-EFJVUJBE.js";
|
|
17
17
|
import "./chunk-ZV4IWKDJ.js";
|
|
18
18
|
import "./chunk-Y76VUJSF.js";
|
|
@@ -35,4 +35,4 @@ export {
|
|
|
35
35
|
triggerNewSession,
|
|
36
36
|
triggerResetSession
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=commands-
|
|
38
|
+
//# sourceMappingURL=commands-CFJML6XV.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
|
|
3
3
|
import {
|
|
4
4
|
abmind
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IKUZPMVA.js";
|
|
6
6
|
import "./chunk-GWILHZPT.js";
|
|
7
7
|
import "./chunk-GALQBVKO.js";
|
|
8
8
|
import "./chunk-O7KQG6ME.js";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
createContextOrchestrator,
|
|
74
74
|
createSummarizeFn
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=context-
|
|
76
|
+
//# sourceMappingURL=context-2RJHC2LE.js.map
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
setDelegationDeps,
|
|
10
10
|
spawnSessionTool,
|
|
11
11
|
terminateSessionTool
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-AO32N2VB.js";
|
|
12
|
+
} from "./chunk-AW2FTHQO.js";
|
|
14
13
|
import "./chunk-MV6CJFWR.js";
|
|
14
|
+
import "./chunk-AO32N2VB.js";
|
|
15
15
|
import "./chunk-AFREM7FX.js";
|
|
16
16
|
import "./chunk-ZV4IWKDJ.js";
|
|
17
17
|
import "./chunk-Y76VUJSF.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
spawnSessionTool,
|
|
35
35
|
terminateSessionTool
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=delegation-tools-
|
|
37
|
+
//# sourceMappingURL=delegation-tools-O7WLLYVP.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
deploy,
|
|
5
5
|
deployActivationCli,
|
|
6
6
|
syncSrcRepos
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MTTROAAW.js";
|
|
8
8
|
import "./chunk-5NY2YULC.js";
|
|
9
9
|
import "./chunk-O7KQG6ME.js";
|
|
10
10
|
import "./chunk-7K2YZTLD.js";
|
|
@@ -13,4 +13,4 @@ export {
|
|
|
13
13
|
deployActivationCli,
|
|
14
14
|
syncSrcRepos
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=deploy-
|
|
16
|
+
//# sourceMappingURL=deploy-C2EYONHC.js.map
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
executeToolCall,
|
|
11
11
|
getToolSchemas
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-ZXTNCV5J.js";
|
|
13
|
+
import "./chunk-AW2FTHQO.js";
|
|
14
|
+
import "./chunk-MV6CJFWR.js";
|
|
15
15
|
import "./chunk-URQPDCK5.js";
|
|
16
16
|
import "./chunk-VOLAZHA2.js";
|
|
17
17
|
import "./chunk-PROPYS3P.js";
|
|
18
18
|
import "./chunk-AO32N2VB.js";
|
|
19
19
|
import "./chunk-WBTJ2E62.js";
|
|
20
|
+
import "./chunk-IKUZPMVA.js";
|
|
20
21
|
import "./chunk-TEFZ4JA4.js";
|
|
21
|
-
import "./chunk-MV6CJFWR.js";
|
|
22
22
|
import "./chunk-KTYGKPYM.js";
|
|
23
23
|
import "./chunk-5GCLBUBS.js";
|
|
24
24
|
import "./chunk-AFREM7FX.js";
|
|
@@ -937,4 +937,4 @@ ${summary}`);
|
|
|
937
937
|
export {
|
|
938
938
|
DirectApiTransport
|
|
939
939
|
};
|
|
940
|
-
//# sourceMappingURL=direct-api-transport-
|
|
940
|
+
//# sourceMappingURL=direct-api-transport-PA3QR37C.js.map
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
} from "./chunk-HFOCNYEO.js";
|
|
14
14
|
import {
|
|
15
15
|
handleInboundMessage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DO3A52JX.js";
|
|
17
17
|
import "./chunk-63A7ZRIH.js";
|
|
18
18
|
import "./chunk-OKAQICWY.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-UUIHL65U.js";
|
|
19
|
+
import "./chunk-QTNVZ4EW.js";
|
|
21
20
|
import "./chunk-NRUSRJXR.js";
|
|
22
21
|
import "./chunk-YWZPKBO6.js";
|
|
22
|
+
import "./chunk-IKUZPMVA.js";
|
|
23
23
|
import "./chunk-EFJVUJBE.js";
|
|
24
24
|
import {
|
|
25
25
|
init_user_registry,
|
|
@@ -622,4 +622,4 @@ export {
|
|
|
622
622
|
DISCORD_CAPABILITIES,
|
|
623
623
|
DiscordAdapter
|
|
624
624
|
};
|
|
625
|
-
//# sourceMappingURL=discord-adapter-
|
|
625
|
+
//# sourceMappingURL=discord-adapter-AAY6RVVS.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
renderJson,
|
|
6
6
|
runAllProbes,
|
|
7
7
|
runFixes
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5WCURRN3.js";
|
|
9
9
|
import "./chunk-GALQBVKO.js";
|
|
10
10
|
import "./chunk-O7KQG6ME.js";
|
|
11
11
|
import "./chunk-7K2YZTLD.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
runAllProbes,
|
|
16
16
|
runFixes
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=doctor-probes-
|
|
18
|
+
//# sourceMappingURL=doctor-probes-4FAM4PTN.js.map
|
|
@@ -17,24 +17,24 @@ import {
|
|
|
17
17
|
createMetricsTask,
|
|
18
18
|
createUserSessionExpiryTask,
|
|
19
19
|
readPendingReminders
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-YS47BYOJ.js";
|
|
21
|
+
import "./chunk-DO3A52JX.js";
|
|
22
22
|
import "./chunk-63A7ZRIH.js";
|
|
23
|
+
import "./chunk-OKAQICWY.js";
|
|
23
24
|
import "./chunk-JQDJPUHM.js";
|
|
24
25
|
import "./chunk-ZAA7B5BN.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-QTNVZ4EW.js";
|
|
27
|
+
import "./chunk-NRUSRJXR.js";
|
|
27
28
|
import "./chunk-WYHGNI56.js";
|
|
28
29
|
import {
|
|
29
30
|
readEnvWithDefault
|
|
30
31
|
} from "./chunk-YRSMGJFP.js";
|
|
31
|
-
import "./chunk-UUIHL65U.js";
|
|
32
|
-
import "./chunk-NRUSRJXR.js";
|
|
33
32
|
import {
|
|
34
33
|
init_spin,
|
|
35
34
|
spin_exports
|
|
36
35
|
} from "./chunk-AO32N2VB.js";
|
|
37
36
|
import "./chunk-YWZPKBO6.js";
|
|
37
|
+
import "./chunk-IKUZPMVA.js";
|
|
38
38
|
import "./chunk-EFJVUJBE.js";
|
|
39
39
|
import "./chunk-AFREM7FX.js";
|
|
40
40
|
import {
|
|
@@ -543,7 +543,7 @@ ${String(meta.message ?? "").slice(0, 200)}`);
|
|
|
543
543
|
}
|
|
544
544
|
ctx.selfHealerTask = selfHealerTask;
|
|
545
545
|
pipelineDeps.selfHealerTask = selfHealerTask;
|
|
546
|
-
const { registerCommand } = await import("./commands-
|
|
546
|
+
const { registerCommand } = await import("./commands-CFJML6XV.js");
|
|
547
547
|
for (const [name, handler] of capabilities.commands) {
|
|
548
548
|
registerCommand(name, handler);
|
|
549
549
|
}
|
|
@@ -559,4 +559,4 @@ ${String(meta.message ?? "").slice(0, 200)}`);
|
|
|
559
559
|
export {
|
|
560
560
|
registerTier3Tasks
|
|
561
561
|
};
|
|
562
|
-
//# sourceMappingURL=heartbeat-tier3-
|
|
562
|
+
//# sourceMappingURL=heartbeat-tier3-5YOVJT2Z.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
resetAndPrepare,
|
|
7
7
|
resetIdleCompactFlag,
|
|
8
8
|
setIdleCompactReset
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DO3A52JX.js";
|
|
10
10
|
import "./chunk-63A7ZRIH.js";
|
|
11
11
|
import "./chunk-OKAQICWY.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-UUIHL65U.js";
|
|
12
|
+
import "./chunk-QTNVZ4EW.js";
|
|
14
13
|
import "./chunk-NRUSRJXR.js";
|
|
15
14
|
import "./chunk-YWZPKBO6.js";
|
|
15
|
+
import "./chunk-IKUZPMVA.js";
|
|
16
16
|
import "./chunk-EFJVUJBE.js";
|
|
17
17
|
import "./chunk-ZV4IWKDJ.js";
|
|
18
18
|
import "./chunk-Y76VUJSF.js";
|
|
@@ -35,4 +35,4 @@ export {
|
|
|
35
35
|
resetIdleCompactFlag,
|
|
36
36
|
setIdleCompactReset
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=message-pipeline-
|
|
38
|
+
//# sourceMappingURL=message-pipeline-ACTOBZDO.js.map
|