@symerian/symi 2.1.9 → 2.1.10

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.
Files changed (75) hide show
  1. package/dist/{accounts-tNElYrCH.js → accounts-CRksecBH.js} +14 -14
  2. package/dist/{accounts-qtxJ-6em.js → accounts-K_r7OhcD.js} +1 -1
  3. package/dist/{accounts-CWktKM8a.js → accounts-q7Sc1Tpi.js} +1 -1
  4. package/dist/{active-listener-C9r8ZB9m.js → active-listener-DXU1iEiq.js} +1 -1
  5. package/dist/{agent-scope-BxoUQqgM.js → agent-scope-BkCGKhZd.js} +3 -3
  6. package/dist/{audio-preflight-BZIRAXlv.js → audio-preflight-BbZjr38h.js} +29 -29
  7. package/dist/{bindings-B7Ke6LJi.js → bindings-Bv-cp2U5.js} +2 -2
  8. package/dist/build-info.json +3 -3
  9. package/dist/bundled/boot-md/handler.js +53 -53
  10. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  11. package/dist/bundled/command-logger/handler.js +1 -1
  12. package/dist/bundled/session-memory/handler.js +53 -53
  13. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  14. package/dist/{channel-activity-CsM_hJ_s.js → channel-activity-IwGy5fjY.js} +1 -1
  15. package/dist/{chrome-791kNCCB.js → chrome-B4c8SEkN.js} +13 -13
  16. package/dist/{chunk-BW5f05BR.js → chunk-CxYL-OXO.js} +1 -1
  17. package/dist/{command-format-BaxDnULz.js → command-format-HKbBegfJ.js} +1 -1
  18. package/dist/{commands-registry-BCRa0DAp.js → commands-registry-BqkqVEHA.js} +4 -4
  19. package/dist/{config-CfZ-oKwR.js → config-BrAFSU6Z.js} +17 -17
  20. package/dist/control-ui/index.html +1 -1
  21. package/dist/control-ui/js/models.js +1 -1
  22. package/dist/{deliver-CrlXl9KD.js → deliver-CfiME1St.js} +20 -20
  23. package/dist/{diagnostic-CI0kRQkt.js → diagnostic-CINBNBQX.js} +1 -1
  24. package/dist/{frontmatter-C_bv_0P8.js → frontmatter-wVHII0KO.js} +4 -4
  25. package/dist/{gemini-auth-DzFcFvHV.js → gemini-auth-BwRMlWJH.js} +1 -1
  26. package/dist/{github-copilot-token-C_qUP7p5.js → github-copilot-token-DJqsJ2-r.js} +7 -7
  27. package/dist/{image-ycxQmhff.js → image-DEVMOUEF.js} +4 -4
  28. package/dist/{image-ops-CvJzsyvE.js → image-ops-Lmflb2E9.js} +1 -1
  29. package/dist/{ir-DccrnjsE.js → ir-CuuCOLHL.js} +4 -4
  30. package/dist/llm-slug-generator.js +53 -53
  31. package/dist/{local-roots-DMwIh5cS.js → local-roots-C0y1zqg5.js} +5 -5
  32. package/dist/{login-DMnQmqbM.js → login-C-iEZ7-d.js} +7 -7
  33. package/dist/{login-qr-Dbb1xG4s.js → login-qr-Z0tp3m4b.js} +12 -12
  34. package/dist/{manager-M83fJMDC.js → manager-BlH-kIAA.js} +13 -13
  35. package/dist/{manifest-registry-D0IQ3WuX.js → manifest-registry-DetgyAnG.js} +19 -19
  36. package/dist/{markdown-tables-iMQQZu4Q.js → markdown-tables-C4L0emuC.js} +1 -1
  37. package/dist/{message-channel-Dz5lr5b0.js → message-channel-Bzd90Fg1.js} +1 -1
  38. package/dist/{model-auth-64S8o7s-.js → model-auth-DbMOVgB3.js} +9 -9
  39. package/dist/{outbound-DEjQvzWk.js → outbound-CsCk7-X6.js} +7 -7
  40. package/dist/{outbound-attachment-DjNDa3zn.js → outbound-attachment-DTzYlChD.js} +2 -2
  41. package/dist/{paths-DLyHUt31.js → paths-Cb87-LzP.js} +1 -1
  42. package/dist/{paths-Cce4PUkG.js → paths-CySxpNhH.js} +5 -5
  43. package/dist/{pi-auth-json-wQxiCgzR.js → pi-auth-json-Cog6KWQ0.js} +8 -8
  44. package/dist/{pi-embedded-helpers-DoTustDz.js → pi-embedded-helpers-DwUUGl8K.js} +52 -52
  45. package/dist/{pi-embedded-AKhKHxb6.js → pi-embedded-l6fnSeuU.js} +160 -160
  46. package/dist/{plugins-DQYI3Fr-.js → plugins-D1_FhsCG.js} +9 -9
  47. package/dist/{pw-ai-DIVguI36.js → pw-ai-BIGSU-k2.js} +11 -11
  48. package/dist/{qmd-manager-QHUP-_em.js → qmd-manager-jPsEJprD.js} +7 -7
  49. package/dist/{registry-CK4e9hn8.js → registry-Cgbuhd6U.js} +19 -19
  50. package/dist/{replies-Cj2HD2yn.js → replies-CjfQWlpL.js} +3 -3
  51. package/dist/{reply-prefix-XlyuyChD.js → reply-prefix-NvPdveXK.js} +1 -1
  52. package/dist/{resolve-route-CZ-1eqw0.js → resolve-route-BoOTtfRC.js} +4 -4
  53. package/dist/{retry-Cly39XZB.js → retry-CZ13t_sq.js} +1 -1
  54. package/dist/{runner-Cw5KZrjx.js → runner-Dl0eiBve.js} +9 -9
  55. package/dist/{send-BxrNk2KH.js → send-3jM0m9vc.js} +7 -7
  56. package/dist/{send-QC5kvnW3.js → send-BDVMssZq.js} +6 -6
  57. package/dist/{send-D0WfDllx.js → send-CQxYqAP8.js} +10 -10
  58. package/dist/{send-Ct3wqNP6.js → send-DJ537kMF.js} +6 -6
  59. package/dist/{send-G-E0gOCC.js → send-DZCl3x0a.js} +18 -18
  60. package/dist/{session-BK0E3EZe.js → session-BgWKJ33t.js} +8 -8
  61. package/dist/{skill-commands-DCDG7ki5.js → skill-commands-BtMC57oh.js} +9 -9
  62. package/dist/{skills-BFekKL7i.js → skills-8Qi9zQz0.js} +21 -21
  63. package/dist/{sqlite-DRbx2dhW.js → sqlite-ReocE89T.js} +4 -4
  64. package/dist/{store-C0wvOkae.js → store-CsOqrZPF.js} +2 -2
  65. package/dist/{subsystem-Bs9YvKLa.js → subsystem-LRKKAgQx.js} +1 -1
  66. package/dist/{tables-DuZspiBu.js → tables-Du3x5E08.js} +1 -1
  67. package/dist/{target-errors-Be1SwYlW.js → target-errors-DUTv7Hgk.js} +2 -2
  68. package/dist/{thinking-CdlENGRW.js → thinking-DwjHOBvM.js} +5 -5
  69. package/dist/{tokens-H1H1LiSQ.js → tokens-CXvgek4j.js} +1 -1
  70. package/dist/{tool-images-DXB7tqWi.js → tool-images-DA9V4mO7.js} +2 -2
  71. package/dist/{tool-loop-detection-Cs8_HCsx.js → tool-loop-detection-43NkVgks.js} +3 -3
  72. package/dist/{web-Kz-ZuUjq.js → web-Cbjmu3ex.js} +57 -57
  73. package/dist/{whatsapp-actions-CHVuR8Yp.js → whatsapp-actions-CmlTTSUG.js} +23 -23
  74. package/dist/{workspace-wAaHI8-5.js → workspace-CFIJ53-f.js} +6 -6
  75. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-CK4e9hn8.js";
2
- import { f as normalizeSkillFilter } from "./agent-scope-BxoUQqgM.js";
3
- import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
4
- import { h as resolveSymiPackageRootSync } from "./workspace-wAaHI8-5.js";
5
- import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-D0IQ3WuX.js";
6
- import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-C_bv_0P8.js";
1
+ import { I as resolveUserPath, S as CONFIG_DIR } from "./registry-Cgbuhd6U.js";
2
+ import { f as normalizeSkillFilter } from "./agent-scope-BkCGKhZd.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-LRKKAgQx.js";
4
+ import { h as resolveSymiPackageRootSync } from "./workspace-CFIJ53-f.js";
5
+ import { c as resolveMemorySlotDecision, d as isDangerousHostEnvVarName, o as normalizePluginsConfig, s as resolveEnableState, t as loadPluginManifestRegistry } from "./manifest-registry-DetgyAnG.js";
6
+ import { a as resolveSymiManifestBlock, c as resolveSymiManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseSymiManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveSymiManifestInstall, p as resolveRuntimePlatform, r as parseFrontmatterBool, s as resolveSymiManifestOs, t as getFrontmatterString, u as evaluateRuntimeRequires } from "./frontmatter-wVHII0KO.js";
7
7
  import fs from "node:fs/promises";
8
8
  import os from "node:os";
9
9
  import path from "node:path";
10
- import fs$1 from "node:fs";
10
+ import fsSync from "node:fs";
11
11
  import { fileURLToPath } from "node:url";
12
12
  import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
13
13
 
@@ -424,13 +424,13 @@ function shortPath(value) {
424
424
  //#region src/agents/skills/bundled-dir.ts
425
425
  function looksLikeSkillsDir(dir) {
426
426
  try {
427
- const entries = fs$1.readdirSync(dir, { withFileTypes: true });
427
+ const entries = fsSync.readdirSync(dir, { withFileTypes: true });
428
428
  for (const entry of entries) {
429
429
  if (entry.name.startsWith(".")) continue;
430
430
  const fullPath = path.join(dir, entry.name);
431
431
  if (entry.isFile() && entry.name.endsWith(".md")) return true;
432
432
  if (entry.isDirectory()) {
433
- if (fs$1.existsSync(path.join(fullPath, "SKILL.md"))) return true;
433
+ if (fsSync.existsSync(path.join(fullPath, "SKILL.md"))) return true;
434
434
  }
435
435
  }
436
436
  } catch {
@@ -445,7 +445,7 @@ function resolveBundledSkillsDir(opts = {}) {
445
445
  const execPath = opts.execPath ?? process.execPath;
446
446
  const execDir = path.dirname(execPath);
447
447
  const sibling = path.join(execDir, "skills");
448
- if (fs$1.existsSync(sibling)) return sibling;
448
+ if (fsSync.existsSync(sibling)) return sibling;
449
449
  } catch {}
450
450
  try {
451
451
  const moduleUrl = opts.moduleUrl ?? import.meta.url;
@@ -501,7 +501,7 @@ function resolvePluginSkillDirs(params) {
501
501
  const trimmed = raw.trim();
502
502
  if (!trimmed) continue;
503
503
  const candidate = path.resolve(record.rootDir, trimmed);
504
- if (!fs$1.existsSync(candidate)) {
504
+ if (!fsSync.existsSync(candidate)) {
505
505
  log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
506
506
  continue;
507
507
  }
@@ -528,7 +528,7 @@ async function serializeByKey(key, task) {
528
528
 
529
529
  //#endregion
530
530
  //#region src/agents/skills/workspace.ts
531
- const fsp = fs$1.promises;
531
+ const fsp = fsSync.promises;
532
532
  const skillsLogger = createSubsystemLogger("skills");
533
533
  const skillCommandDebugOnce = /* @__PURE__ */ new Set();
534
534
  /**
@@ -605,7 +605,7 @@ function resolveSkillsLimits(config) {
605
605
  }
606
606
  function listChildDirectories(dir) {
607
607
  try {
608
- const entries = fs$1.readdirSync(dir, { withFileTypes: true });
608
+ const entries = fsSync.readdirSync(dir, { withFileTypes: true });
609
609
  const dirs = [];
610
610
  for (const entry of entries) {
611
611
  if (entry.name.startsWith(".")) continue;
@@ -616,7 +616,7 @@ function listChildDirectories(dir) {
616
616
  continue;
617
617
  }
618
618
  if (entry.isSymbolicLink()) try {
619
- if (fs$1.statSync(fullPath).isDirectory()) dirs.push(entry.name);
619
+ if (fsSync.statSync(fullPath).isDirectory()) dirs.push(entry.name);
620
620
  } catch {}
621
621
  }
622
622
  return dirs;
@@ -627,7 +627,7 @@ function listChildDirectories(dir) {
627
627
  function resolveNestedSkillsRoot(dir, opts) {
628
628
  const nested = path.join(dir, "skills");
629
629
  try {
630
- if (!fs$1.existsSync(nested) || !fs$1.statSync(nested).isDirectory()) return { baseDir: dir };
630
+ if (!fsSync.existsSync(nested) || !fsSync.statSync(nested).isDirectory()) return { baseDir: dir };
631
631
  } catch {
632
632
  return { baseDir: dir };
633
633
  }
@@ -636,7 +636,7 @@ function resolveNestedSkillsRoot(dir, opts) {
636
636
  const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
637
637
  for (const name of toScan) {
638
638
  const skillMd = path.join(nested, name, "SKILL.md");
639
- if (fs$1.existsSync(skillMd)) return {
639
+ if (fsSync.existsSync(skillMd)) return {
640
640
  baseDir: nested,
641
641
  note: `Detected nested skills root at ${nested}`
642
642
  };
@@ -656,9 +656,9 @@ function loadSkillEntries(workspaceDir, opts) {
656
656
  const loadSkills = (params) => {
657
657
  const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
658
658
  const rootSkillMd = path.join(baseDir, "SKILL.md");
659
- if (fs$1.existsSync(rootSkillMd)) {
659
+ if (fsSync.existsSync(rootSkillMd)) {
660
660
  try {
661
- const size = fs$1.statSync(rootSkillMd).size;
661
+ const size = fsSync.statSync(rootSkillMd).size;
662
662
  if (size > limits.maxSkillFileBytes) {
663
663
  skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
664
664
  dir: baseDir,
@@ -697,9 +697,9 @@ function loadSkillEntries(workspaceDir, opts) {
697
697
  for (const name of limitedChildren) {
698
698
  const skillDir = path.join(baseDir, name);
699
699
  const skillMd = path.join(skillDir, "SKILL.md");
700
- if (!fs$1.existsSync(skillMd)) continue;
700
+ if (!fsSync.existsSync(skillMd)) continue;
701
701
  try {
702
- const size = fs$1.statSync(skillMd).size;
702
+ const size = fsSync.statSync(skillMd).size;
703
703
  if (size > limits.maxSkillFileBytes) {
704
704
  skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
705
705
  skill: name,
@@ -767,7 +767,7 @@ function loadSkillEntries(workspaceDir, opts) {
767
767
  return Array.from(merged.values()).map((skill) => {
768
768
  let frontmatter = {};
769
769
  try {
770
- frontmatter = parseFrontmatter(fs$1.readFileSync(skill.filePath, "utf-8"));
770
+ frontmatter = parseFrontmatter(fsSync.readFileSync(skill.filePath, "utf-8"));
771
771
  } catch {}
772
772
  return {
773
773
  skill,
@@ -1,10 +1,10 @@
1
- import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
1
+ import { t as createSubsystemLogger } from "./subsystem-LRKKAgQx.js";
2
2
  import { t as redactSensitiveText } from "./redact-jSxx6Ep2.js";
3
- import { o as resolveSessionTranscriptsDirForAgent } from "./paths-DLyHUt31.js";
3
+ import { o as resolveSessionTranscriptsDirForAgent } from "./paths-Cb87-LzP.js";
4
4
  import { createRequire } from "node:module";
5
5
  import fs from "node:fs/promises";
6
6
  import path from "node:path";
7
- import fs$1 from "node:fs";
7
+ import fsSync from "node:fs";
8
8
  import crypto from "node:crypto";
9
9
 
10
10
  //#region src/memory/fs-utils.ts
@@ -71,7 +71,7 @@ async function runTasksWithConcurrency(params) {
71
71
  //#region src/memory/internal.ts
72
72
  function ensureDir(dir) {
73
73
  try {
74
- fs$1.mkdirSync(dir, { recursive: true });
74
+ fsSync.mkdirSync(dir, { recursive: true });
75
75
  } catch {}
76
76
  return dir;
77
77
  }
@@ -1,5 +1,5 @@
1
- import { P as resolveConfigDir } from "./registry-CK4e9hn8.js";
2
- import { d as detectMime, f as extensionForMime } from "./image-ops-CvJzsyvE.js";
1
+ import { P as resolveConfigDir } from "./registry-Cgbuhd6U.js";
2
+ import { d as detectMime, f as extensionForMime } from "./image-ops-Lmflb2E9.js";
3
3
  import fs from "node:fs/promises";
4
4
  import path from "node:path";
5
5
  import crypto from "node:crypto";
@@ -1,4 +1,4 @@
1
- import { at as isFileLogLevelEnabled, ct as levelToMinLevel, lt as normalizeLogLevel, n as CHAT_CHANNEL_ORDER, q as isVerbose, rt as getChildLogger, st as loggingState, ut as readLoggingConfig } from "./registry-CK4e9hn8.js";
1
+ import { at as isFileLogLevelEnabled, ct as levelToMinLevel, lt as normalizeLogLevel, n as CHAT_CHANNEL_ORDER, q as isVerbose, rt as getChildLogger, st as loggingState, ut as readLoggingConfig } from "./registry-Cgbuhd6U.js";
2
2
  import { Chalk } from "chalk";
3
3
 
4
4
  //#region src/terminal/progress-line.ts
@@ -1,4 +1,4 @@
1
- import { r as markdownToIRWithMeta } from "./ir-DccrnjsE.js";
1
+ import { r as markdownToIRWithMeta } from "./ir-CuuCOLHL.js";
2
2
  import { t as renderMarkdownWithMarkers } from "./render-CDCvpfhh.js";
3
3
 
4
4
  //#region src/markdown/tables.ts
@@ -1,5 +1,5 @@
1
- import { d as detectMime } from "./image-ops-CvJzsyvE.js";
2
- import { r as sanitizeToolResultImages } from "./tool-images-DXB7tqWi.js";
1
+ import { d as detectMime } from "./image-ops-Lmflb2E9.js";
2
+ import { r as sanitizeToolResultImages } from "./tool-images-DA9V4mO7.js";
3
3
  import fs from "node:fs/promises";
4
4
 
5
5
  //#region src/agents/tools/common.ts
@@ -1,9 +1,9 @@
1
1
  import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
2
- import { D as escapeRegExp, M as normalizeE164, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-CK4e9hn8.js";
3
- import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-DQYI3Fr-.js";
4
- import { t as resolveWhatsAppAccount } from "./accounts-tNElYrCH.js";
5
- import { n as resolveSignalAccount } from "./accounts-CWktKM8a.js";
6
- import { t as resolveIMessageAccount } from "./accounts-qtxJ-6em.js";
2
+ import { D as escapeRegExp, M as normalizeE164, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-Cgbuhd6U.js";
3
+ import { _ as resolveDiscordAccount, a as normalizeWhatsAppTarget, d as resolveSlackAccount, f as resolveSlackReplyToMode, l as resolveTelegramAccount } from "./plugins-D1_FhsCG.js";
4
+ import { t as resolveWhatsAppAccount } from "./accounts-CRksecBH.js";
5
+ import { n as resolveSignalAccount } from "./accounts-q7Sc1Tpi.js";
6
+ import { t as resolveIMessageAccount } from "./accounts-K_r7OhcD.js";
7
7
 
8
8
  //#region src/shared/string-normalization.ts
9
9
  function normalizeStringEntries(list) {
@@ -1,4 +1,4 @@
1
- import { D as escapeRegExp } from "./registry-CK4e9hn8.js";
1
+ import { D as escapeRegExp } from "./registry-Cgbuhd6U.js";
2
2
 
3
3
  //#region src/auto-reply/tokens.ts
4
4
  const SYMIPULSE_TOKEN = "SYMIPULSE_OK";
@@ -1,5 +1,5 @@
1
- import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
2
- import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CvJzsyvE.js";
1
+ import { t as createSubsystemLogger } from "./subsystem-LRKKAgQx.js";
2
+ import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-Lmflb2E9.js";
3
3
 
4
4
  //#region src/agents/image-sanitization.ts
5
5
  const DEFAULT_IMAGE_MAX_DIMENSION_PX = 1200;
@@ -1,6 +1,6 @@
1
- import "./paths-Cce4PUkG.js";
2
- import { W as isPlainObject } from "./registry-CK4e9hn8.js";
3
- import { t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
1
+ import "./paths-CySxpNhH.js";
2
+ import { W as isPlainObject } from "./registry-Cgbuhd6U.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-LRKKAgQx.js";
4
4
  import { createHash } from "node:crypto";
5
5
 
6
6
  //#region src/agents/tool-loop-detection.ts
@@ -1,71 +1,71 @@
1
- import "./paths-Cce4PUkG.js";
1
+ import "./paths-CySxpNhH.js";
2
2
  import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-BCzIW1Y2.js";
3
- import { A as isSelfChatMode, B as sleep, C as clamp, F as resolveJidToE164, H as toWhatsappJid, J as logVerbose, M as normalizeE164, Z as shouldLogVerbose, j as jidToE164, rt as getChildLogger } from "./registry-CK4e9hn8.js";
4
- import "./agent-scope-BxoUQqgM.js";
5
- import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
6
- import "./workspace-wAaHI8-5.js";
7
- import "./tokens-H1H1LiSQ.js";
8
- import { C as resolveEnvelopeFormatOptions, D as normalizeMentionText, E as buildMentionRegexes, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as parseActivationCommand, b as createInboundDebouncer, c as DEFAULT_GROUP_HISTORY_LIMIT, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as normalizeGroupActivation, h as getReplyFromConfig, l as buildHistoryContextFromEntries, m as createDedupeCache, n as computeBackoff, o as buildPairingReply, r as sleepWithAbort, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as formatDurationPrecise, w as hasControlCommand, x as resolveInboundDebounceMs, y as enqueueSystemEvent } from "./pi-embedded-AKhKHxb6.js";
9
- import "./plugins-DQYI3Fr-.js";
10
- import { i as logWebSelfId, l as readWebSelfId, n as WA_WEB_AUTH_DIR, p as webAuthExists, r as getWebAuthAgeMs, s as pickWebChannel, t as resolveWhatsAppAccount } from "./accounts-tNElYrCH.js";
3
+ import { A as isSelfChatMode, B as sleep, C as clamp, F as resolveJidToE164, H as toWhatsappJid, J as logVerbose, M as normalizeE164, Z as shouldLogVerbose, j as jidToE164, rt as getChildLogger } from "./registry-Cgbuhd6U.js";
4
+ import "./agent-scope-BkCGKhZd.js";
5
+ import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-LRKKAgQx.js";
6
+ import "./workspace-CFIJ53-f.js";
7
+ import "./tokens-CXvgek4j.js";
8
+ import { C as resolveEnvelopeFormatOptions, D as normalizeMentionText, E as buildMentionRegexes, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as parseActivationCommand, b as createInboundDebouncer, c as DEFAULT_GROUP_HISTORY_LIMIT, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as normalizeGroupActivation, h as getReplyFromConfig, l as buildHistoryContextFromEntries, m as createDedupeCache, n as computeBackoff, o as buildPairingReply, r as sleepWithAbort, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as formatDurationPrecise, w as hasControlCommand, x as resolveInboundDebounceMs, y as enqueueSystemEvent } from "./pi-embedded-l6fnSeuU.js";
9
+ import "./plugins-D1_FhsCG.js";
10
+ import { i as logWebSelfId, l as readWebSelfId, n as WA_WEB_AUTH_DIR, p as webAuthExists, r as getWebAuthAgeMs, s as pickWebChannel, t as resolveWhatsAppAccount } from "./accounts-CRksecBH.js";
11
11
  import "./boolean-B8-BqKGQ.js";
12
- import { t as formatCliCommand } from "./command-format-BaxDnULz.js";
13
- import "./bindings-B7Ke6LJi.js";
14
- import "./send-Ct3wqNP6.js";
15
- import "./send-D0WfDllx.js";
16
- import "./deliver-CrlXl9KD.js";
17
- import "./diagnostic-CI0kRQkt.js";
12
+ import { t as formatCliCommand } from "./command-format-HKbBegfJ.js";
13
+ import "./bindings-Bv-cp2U5.js";
14
+ import "./send-DJ537kMF.js";
15
+ import "./send-CQxYqAP8.js";
16
+ import "./deliver-CfiME1St.js";
17
+ import "./diagnostic-CINBNBQX.js";
18
18
  import "./diagnostic-session-state-Bxo4UHOL.js";
19
- import "./accounts-CWktKM8a.js";
20
- import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocationContext, X as upsertChannelPairingRequest } from "./send-G-E0gOCC.js";
21
- import "./image-ops-CvJzsyvE.js";
22
- import "./model-auth-64S8o7s-.js";
23
- import "./github-copilot-token-C_qUP7p5.js";
19
+ import "./accounts-q7Sc1Tpi.js";
20
+ import { G as formatLocationText, J as readChannelAllowFromStore, K as toLocationContext, X as upsertChannelPairingRequest } from "./send-DZCl3x0a.js";
21
+ import "./image-ops-Lmflb2E9.js";
22
+ import "./model-auth-DbMOVgB3.js";
23
+ import "./github-copilot-token-DJqsJ2-r.js";
24
24
  import "./pi-model-discovery-DaNAekda.js";
25
- import "./message-channel-Dz5lr5b0.js";
26
- import { Ct as resolveGroupSessionKey, G as updateLastRoute, H as loadSessionStore, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-DoTustDz.js";
27
- import { n as loadConfig } from "./config-CfZ-oKwR.js";
28
- import "./manifest-registry-D0IQ3WuX.js";
29
- import "./chrome-791kNCCB.js";
30
- import "./frontmatter-C_bv_0P8.js";
31
- import "./skills-BFekKL7i.js";
25
+ import "./message-channel-Bzd90Fg1.js";
26
+ import { Ct as resolveGroupSessionKey, G as updateLastRoute, H as loadSessionStore, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound } from "./pi-embedded-helpers-DwUUGl8K.js";
27
+ import { n as loadConfig } from "./config-BrAFSU6Z.js";
28
+ import "./manifest-registry-DetgyAnG.js";
29
+ import "./chrome-B4c8SEkN.js";
30
+ import "./frontmatter-wVHII0KO.js";
31
+ import "./skills-8Qi9zQz0.js";
32
32
  import "./redact-jSxx6Ep2.js";
33
33
  import "./errors-BoQgnc8X.js";
34
34
  import "./ssrf-BTMDZjHT.js";
35
- import { r as saveMediaBuffer } from "./store-C0wvOkae.js";
36
- import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-CdlENGRW.js";
37
- import "./accounts-qtxJ-6em.js";
38
- import { s as resolveStorePath } from "./paths-DLyHUt31.js";
39
- import "./tool-images-DXB7tqWi.js";
40
- import "./image-ycxQmhff.js";
41
- import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-XlyuyChD.js";
42
- import "./manager-M83fJMDC.js";
43
- import "./gemini-auth-DzFcFvHV.js";
44
- import "./sqlite-DRbx2dhW.js";
45
- import "./retry-Cly39XZB.js";
46
- import "./target-errors-Be1SwYlW.js";
47
- import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-BW5f05BR.js";
48
- import { n as resolveMarkdownTableMode } from "./markdown-tables-iMQQZu4Q.js";
49
- import { t as getAgentScopedMediaLocalRoots } from "./local-roots-DMwIh5cS.js";
50
- import { a as loadWebMedia } from "./ir-DccrnjsE.js";
35
+ import { r as saveMediaBuffer } from "./store-CsOqrZPF.js";
36
+ import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-DwjHOBvM.js";
37
+ import "./accounts-K_r7OhcD.js";
38
+ import { s as resolveStorePath } from "./paths-Cb87-LzP.js";
39
+ import "./tool-images-DA9V4mO7.js";
40
+ import "./image-DEVMOUEF.js";
41
+ import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, t as createReplyPrefixOptions } from "./reply-prefix-NvPdveXK.js";
42
+ import "./manager-BlH-kIAA.js";
43
+ import "./gemini-auth-BwRMlWJH.js";
44
+ import "./sqlite-ReocE89T.js";
45
+ import "./retry-CZ13t_sq.js";
46
+ import "./target-errors-DUTv7Hgk.js";
47
+ import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-CxYL-OXO.js";
48
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-C4L0emuC.js";
49
+ import { t as getAgentScopedMediaLocalRoots } from "./local-roots-C0y1zqg5.js";
50
+ import { a as loadWebMedia } from "./ir-CuuCOLHL.js";
51
51
  import "./render-CDCvpfhh.js";
52
- import "./commands-registry-BCRa0DAp.js";
53
- import "./skill-commands-DCDG7ki5.js";
52
+ import "./commands-registry-BqkqVEHA.js";
53
+ import "./skill-commands-BtMC57oh.js";
54
54
  import { t as finalizeInboundContext } from "./inbound-context-BlHX0H3E.js";
55
- import { p as registerUnhandledRejectionHandler } from "./runner-Cw5KZrjx.js";
55
+ import { p as registerUnhandledRejectionHandler } from "./runner-Dl0eiBve.js";
56
56
  import "./fetch-Bso4i15F.js";
57
- import { n as recordChannelActivity } from "./channel-activity-CsM_hJ_s.js";
58
- import { t as convertMarkdownTables } from "./tables-DuZspiBu.js";
59
- import "./send-QC5kvnW3.js";
60
- import "./outbound-attachment-DjNDa3zn.js";
61
- import "./send-BxrNk2KH.js";
62
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-CZ-1eqw0.js";
57
+ import { n as recordChannelActivity } from "./channel-activity-IwGy5fjY.js";
58
+ import { t as convertMarkdownTables } from "./tables-Du3x5E08.js";
59
+ import "./send-BDVMssZq.js";
60
+ import "./outbound-attachment-DTzYlChD.js";
61
+ import "./send-3jM0m9vc.js";
62
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BoOTtfRC.js";
63
63
  import "./proxy-CBJ1upuz.js";
64
- import "./replies-Cj2HD2yn.js";
65
- import { r as setActiveWebListener } from "./active-listener-C9r8ZB9m.js";
66
- import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-DEjQvzWk.js";
67
- import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BK0E3EZe.js";
68
- import { t as loginWeb } from "./login-DMnQmqbM.js";
64
+ import "./replies-CjfQWlpL.js";
65
+ import { r as setActiveWebListener } from "./active-listener-DXU1iEiq.js";
66
+ import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-CsCk7-X6.js";
67
+ import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BgWKJ33t.js";
68
+ import { t as loginWeb } from "./login-C-iEZ7-d.js";
69
69
  import { randomUUID } from "node:crypto";
70
70
  import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
71
71
 
@@ -1,29 +1,29 @@
1
- import "./paths-Cce4PUkG.js";
2
- import "./registry-CK4e9hn8.js";
3
- import "./agent-scope-BxoUQqgM.js";
4
- import "./subsystem-Bs9YvKLa.js";
5
- import "./workspace-wAaHI8-5.js";
6
- import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-DQYI3Fr-.js";
7
- import { t as resolveWhatsAppAccount } from "./accounts-tNElYrCH.js";
1
+ import "./paths-CySxpNhH.js";
2
+ import "./registry-Cgbuhd6U.js";
3
+ import "./agent-scope-BkCGKhZd.js";
4
+ import "./subsystem-LRKKAgQx.js";
5
+ import "./workspace-CFIJ53-f.js";
6
+ import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-D1_FhsCG.js";
7
+ import { t as resolveWhatsAppAccount } from "./accounts-CRksecBH.js";
8
8
  import "./boolean-B8-BqKGQ.js";
9
- import "./command-format-BaxDnULz.js";
10
- import "./bindings-B7Ke6LJi.js";
11
- import "./image-ops-CvJzsyvE.js";
12
- import "./model-auth-64S8o7s-.js";
13
- import "./github-copilot-token-C_qUP7p5.js";
14
- import "./message-channel-Dz5lr5b0.js";
15
- import "./config-CfZ-oKwR.js";
16
- import "./manifest-registry-D0IQ3WuX.js";
9
+ import "./command-format-HKbBegfJ.js";
10
+ import "./bindings-Bv-cp2U5.js";
11
+ import "./image-ops-Lmflb2E9.js";
12
+ import "./model-auth-DbMOVgB3.js";
13
+ import "./github-copilot-token-DJqsJ2-r.js";
14
+ import "./message-channel-Bzd90Fg1.js";
15
+ import "./config-BrAFSU6Z.js";
16
+ import "./manifest-registry-DetgyAnG.js";
17
17
  import "./ssrf-BTMDZjHT.js";
18
- import "./tool-images-DXB7tqWi.js";
19
- import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-Be1SwYlW.js";
20
- import "./chunk-BW5f05BR.js";
21
- import "./markdown-tables-iMQQZu4Q.js";
22
- import "./local-roots-DMwIh5cS.js";
23
- import "./ir-DccrnjsE.js";
18
+ import "./tool-images-DA9V4mO7.js";
19
+ import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam, n as missingTargetError } from "./target-errors-DUTv7Hgk.js";
20
+ import "./chunk-CxYL-OXO.js";
21
+ import "./markdown-tables-C4L0emuC.js";
22
+ import "./local-roots-C0y1zqg5.js";
23
+ import "./ir-CuuCOLHL.js";
24
24
  import "./render-CDCvpfhh.js";
25
- import "./tables-DuZspiBu.js";
26
- import { r as sendReactionWhatsApp } from "./outbound-DEjQvzWk.js";
25
+ import "./tables-Du3x5E08.js";
26
+ import { r as sendReactionWhatsApp } from "./outbound-CsCk7-X6.js";
27
27
 
28
28
  //#region src/whatsapp/resolve-outbound-target.ts
29
29
  function resolveWhatsAppOutboundTarget(params) {
@@ -1,11 +1,11 @@
1
- import { u as resolveRequiredHomeDir } from "./paths-Cce4PUkG.js";
1
+ import { u as resolveRequiredHomeDir } from "./paths-CySxpNhH.js";
2
2
  import { _ as isCronSessionKey, v as isSubagentSessionKey } from "./session-key-BCzIW1Y2.js";
3
- import { $ as warn, G as danger, I as resolveUserPath, K as info, N as pathExists, Y as logVerboseConsole, Z as shouldLogVerbose, it as getLogger } from "./registry-CK4e9hn8.js";
4
- import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Bs9YvKLa.js";
3
+ import { $ as warn, G as danger, I as resolveUserPath, K as info, N as pathExists, Y as logVerboseConsole, Z as shouldLogVerbose, it as getLogger } from "./registry-Cgbuhd6U.js";
4
+ import { r as defaultRuntime, t as createSubsystemLogger } from "./subsystem-LRKKAgQx.js";
5
5
  import fs from "node:fs/promises";
6
6
  import os from "node:os";
7
7
  import path from "node:path";
8
- import fs$1 from "node:fs";
8
+ import fsSync from "node:fs";
9
9
  import { execFile, spawn } from "node:child_process";
10
10
  import { promisify } from "node:util";
11
11
  import { fileURLToPath } from "node:url";
@@ -289,7 +289,7 @@ async function readPackageName(dir) {
289
289
  }
290
290
  function readPackageNameSync(dir) {
291
291
  try {
292
- const raw = fs$1.readFileSync(path.join(dir, "package.json"), "utf-8");
292
+ const raw = fsSync.readFileSync(path.join(dir, "package.json"), "utf-8");
293
293
  const parsed = JSON.parse(raw);
294
294
  return typeof parsed.name === "string" ? parsed.name : null;
295
295
  } catch {
@@ -323,7 +323,7 @@ function candidateDirsFromArgv1(argv1) {
323
323
  const normalized = path.resolve(argv1);
324
324
  const candidates = [path.dirname(normalized)];
325
325
  try {
326
- const resolved = fs$1.realpathSync(normalized);
326
+ const resolved = fsSync.realpathSync(normalized);
327
327
  if (resolved !== normalized) candidates.push(path.dirname(resolved));
328
328
  } catch {}
329
329
  const parts = normalized.split(path.sep);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symerian/symi",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
4
4
  "description": "Multi-channel AI gateway with extensible messaging integrations",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/jaysteelmind/symi#readme",