@codyswann/lisa 2.147.6 → 2.148.0

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 (81) hide show
  1. package/dist/migrations/ensure-jest-rn-mock-accessibility-manager.d.ts +38 -0
  2. package/dist/migrations/ensure-jest-rn-mock-accessibility-manager.d.ts.map +1 -0
  3. package/dist/migrations/ensure-jest-rn-mock-accessibility-manager.js +110 -0
  4. package/dist/migrations/ensure-jest-rn-mock-accessibility-manager.js.map +1 -0
  5. package/dist/migrations/index.d.ts +1 -0
  6. package/dist/migrations/index.d.ts.map +1 -1
  7. package/dist/migrations/index.js +3 -0
  8. package/dist/migrations/index.js.map +1 -1
  9. package/expo/copy-overwrite/knip.json +1 -0
  10. package/expo/package-lisa/package.lisa.json +0 -2
  11. package/package.json +1 -1
  12. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  13. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  14. package/plugins/lisa-agy/plugin.json +1 -1
  15. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  16. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  17. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  18. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  22. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  24. package/plugins/lisa-expo-agy/plugin.json +1 -1
  25. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  29. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  30. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  34. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  35. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  36. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  39. package/plugins/lisa-openclaw/skills/lisa-openclaw-connect-repo-topic/SKILL.md +13 -5
  40. package/plugins/lisa-openclaw/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +6 -0
  41. package/plugins/lisa-openclaw/skills/lisa-openclaw-connect-staff/references/platform-routing.md +5 -0
  42. package/plugins/lisa-openclaw/skills/lisa-openclaw-setup/SKILL.md +3 -0
  43. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  44. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-repo-topic/SKILL.md +13 -5
  45. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +6 -0
  46. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-staff/references/platform-routing.md +5 -0
  47. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-setup/SKILL.md +3 -0
  48. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-repo-topic/SKILL.md +13 -5
  50. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +6 -0
  51. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-staff/references/platform-routing.md +5 -0
  52. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-setup/SKILL.md +3 -0
  53. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-repo-topic/SKILL.md +13 -5
  55. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +6 -0
  56. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-staff/references/platform-routing.md +5 -0
  57. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-setup/SKILL.md +3 -0
  58. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  60. package/plugins/lisa-rails-agy/plugin.json +1 -1
  61. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  65. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  66. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  69. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  70. package/plugins/lisa-wiki/scripts/ingest_slack_channel.py +2 -2
  71. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  72. package/plugins/lisa-wiki-agy/scripts/ingest_slack_channel.py +2 -2
  73. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-wiki-copilot/scripts/ingest_slack_channel.py +2 -2
  75. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-wiki-cursor/scripts/ingest_slack_channel.py +2 -2
  77. package/plugins/src/openclaw/skills/lisa-openclaw-connect-repo-topic/SKILL.md +13 -5
  78. package/plugins/src/openclaw/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +6 -0
  79. package/plugins/src/openclaw/skills/lisa-openclaw-connect-staff/references/platform-routing.md +5 -0
  80. package/plugins/src/openclaw/skills/lisa-openclaw-setup/SKILL.md +3 -0
  81. package/plugins/src/wiki/scripts/ingest_slack_channel.py +2 -2
@@ -0,0 +1,38 @@
1
+ import type { Migration, MigrationContext, MigrationResult } from "./migration.interface.js";
2
+ /**
3
+ * Migration: add the RN 0.85 `AccessibilityManager` TurboModule mock to an
4
+ * existing project's `jest.config.react-native-mock.js`.
5
+ *
6
+ * That file is create-only, so Lisa never overwrites it once a project has been
7
+ * scaffolded. Projects created before the AccessibilityManager mock was added to
8
+ * the template therefore keep a stale copy. After the Expo SDK 56 / React Native
9
+ * 0.85 upgrade, `AccessibilityInfo` eagerly reads the `AccessibilityManager`
10
+ * TurboModule; without the mock it resolves to null and every test suite that
11
+ * touches accessibility crashes the Jest worker with
12
+ * "NativeAccessibilityManagerIOS is not available".
13
+ *
14
+ * Idempotent and conservative: only acts on Expo projects whose mock file exists,
15
+ * still exposes the `module.exports = {` registry anchor, and does not already
16
+ * define `AccessibilityManager`. The block is inserted as the first registry
17
+ * entry so it is unaffected by any project-specific module mocks that follow.
18
+ */
19
+ export declare class EnsureJestRnMockAccessibilityManagerMigration implements Migration {
20
+ readonly name = "ensure-jest-rn-mock-accessibility-manager";
21
+ readonly description = "Add the RN 0.85 AccessibilityManager TurboModule mock to jest.config.react-native-mock.js";
22
+ /**
23
+ * Applies to Expo projects whose create-only mock file exists, exposes the
24
+ * registry anchor, and does not already define the AccessibilityManager mock.
25
+ * @param ctx - Migration context
26
+ * @returns True when the mock is missing and can be safely inserted
27
+ */
28
+ applies(ctx: MigrationContext): Promise<boolean>;
29
+ /**
30
+ * Insert the AccessibilityManager mock block immediately after the
31
+ * `module.exports = {` anchor. Re-checks the marker so the operation is
32
+ * idempotent even if `applies` and `apply` are called out of step.
33
+ * @param ctx - Migration context
34
+ * @returns Result describing the action taken
35
+ */
36
+ apply(ctx: MigrationContext): Promise<MigrationResult>;
37
+ }
38
+ //# sourceMappingURL=ensure-jest-rn-mock-accessibility-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensure-jest-rn-mock-accessibility-manager.d.ts","sourceRoot":"","sources":["../../src/migrations/ensure-jest-rn-mock-accessibility-manager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAuClC;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,6CAA8C,YAAW,SAAS;IAC7E,QAAQ,CAAC,IAAI,+CAA+C;IAC5D,QAAQ,CAAC,WAAW,+FAC0E;IAE9F;;;;;OAKG;IACG,OAAO,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IAYtD;;;;;;OAMG;IACG,KAAK,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CAqC7D"}
@@ -0,0 +1,110 @@
1
+ import * as path from "node:path";
2
+ import * as fse from "fs-extra";
3
+ const MOCK_FILE = "jest.config.react-native-mock.js";
4
+ /** Anchor marking the start of the mocked TurboModule registry object */
5
+ const ANCHOR = "module.exports = {\n";
6
+ /** Presence of this key means the AccessibilityManager mock is already wired */
7
+ const MARKER = "AccessibilityManager:";
8
+ /**
9
+ * The AccessibilityManager TurboModule mock block, inserted as the first entry
10
+ * of the mocked module registry. Kept byte-for-byte in sync with the
11
+ * `expo/create-only/jest.config.react-native-mock.js` template.
12
+ */
13
+ const ACCESSIBILITY_MANAGER_BLOCK = ` // SDK 56 / RN 0.85: AccessibilityInfo eagerly reads the AccessibilityManager
14
+ // TurboModule. Without a mock the module resolves to null and AccessibilityInfo
15
+ // methods reject with "NativeAccessibilityManagerIOS is not available", which
16
+ // the unhandledRejection handler escalates into a Jest worker crash that takes
17
+ // down every suite touching accessibility.
18
+ AccessibilityManager: {
19
+ getCurrentBoldTextState: onSuccess => onSuccess(false),
20
+ getCurrentGrayscaleState: onSuccess => onSuccess(false),
21
+ getCurrentInvertColorsState: onSuccess => onSuccess(false),
22
+ getCurrentReduceMotionState: onSuccess => onSuccess(false),
23
+ getCurrentDarkerSystemColorsState: onSuccess => onSuccess(false),
24
+ getCurrentPrefersCrossFadeTransitionsState: onSuccess => onSuccess(false),
25
+ getCurrentReduceTransparencyState: onSuccess => onSuccess(false),
26
+ getCurrentVoiceOverState: onSuccess => onSuccess(false),
27
+ setAccessibilityContentSizeMultipliers: () => {},
28
+ setAccessibilityFocus: () => {},
29
+ announceForAccessibility: () => {},
30
+ announceForAccessibilityWithOptions: () => {},
31
+ addListener: () => {},
32
+ removeListeners: () => {},
33
+ getConstants: () => ({}),
34
+ },
35
+ `;
36
+ /**
37
+ * Migration: add the RN 0.85 `AccessibilityManager` TurboModule mock to an
38
+ * existing project's `jest.config.react-native-mock.js`.
39
+ *
40
+ * That file is create-only, so Lisa never overwrites it once a project has been
41
+ * scaffolded. Projects created before the AccessibilityManager mock was added to
42
+ * the template therefore keep a stale copy. After the Expo SDK 56 / React Native
43
+ * 0.85 upgrade, `AccessibilityInfo` eagerly reads the `AccessibilityManager`
44
+ * TurboModule; without the mock it resolves to null and every test suite that
45
+ * touches accessibility crashes the Jest worker with
46
+ * "NativeAccessibilityManagerIOS is not available".
47
+ *
48
+ * Idempotent and conservative: only acts on Expo projects whose mock file exists,
49
+ * still exposes the `module.exports = {` registry anchor, and does not already
50
+ * define `AccessibilityManager`. The block is inserted as the first registry
51
+ * entry so it is unaffected by any project-specific module mocks that follow.
52
+ */
53
+ export class EnsureJestRnMockAccessibilityManagerMigration {
54
+ name = "ensure-jest-rn-mock-accessibility-manager";
55
+ description = "Add the RN 0.85 AccessibilityManager TurboModule mock to jest.config.react-native-mock.js";
56
+ /**
57
+ * Applies to Expo projects whose create-only mock file exists, exposes the
58
+ * registry anchor, and does not already define the AccessibilityManager mock.
59
+ * @param ctx - Migration context
60
+ * @returns True when the mock is missing and can be safely inserted
61
+ */
62
+ async applies(ctx) {
63
+ if (!ctx.detectedTypes.includes("expo")) {
64
+ return false;
65
+ }
66
+ const mockPath = path.join(ctx.projectDir, MOCK_FILE);
67
+ if (!(await fse.pathExists(mockPath))) {
68
+ return false;
69
+ }
70
+ const content = await fse.readFile(mockPath, "utf8");
71
+ return content.includes(ANCHOR) && !content.includes(MARKER);
72
+ }
73
+ /**
74
+ * Insert the AccessibilityManager mock block immediately after the
75
+ * `module.exports = {` anchor. Re-checks the marker so the operation is
76
+ * idempotent even if `applies` and `apply` are called out of step.
77
+ * @param ctx - Migration context
78
+ * @returns Result describing the action taken
79
+ */
80
+ async apply(ctx) {
81
+ const mockPath = path.join(ctx.projectDir, MOCK_FILE);
82
+ if (!(await fse.pathExists(mockPath))) {
83
+ return { name: this.name, action: "noop" };
84
+ }
85
+ const content = await fse.readFile(mockPath, "utf8");
86
+ if (content.includes(MARKER) || !content.includes(ANCHOR)) {
87
+ return { name: this.name, action: "noop" };
88
+ }
89
+ const updated = content.replace(ANCHOR, ANCHOR + ACCESSIBILITY_MANAGER_BLOCK);
90
+ const message = `Added AccessibilityManager TurboModule mock to ${MOCK_FILE}`;
91
+ if (ctx.dryRun) {
92
+ ctx.logger.dry(`Would add AccessibilityManager mock to ${MOCK_FILE}`);
93
+ return {
94
+ name: this.name,
95
+ action: "applied",
96
+ changedFiles: [MOCK_FILE],
97
+ message,
98
+ };
99
+ }
100
+ await fse.writeFile(mockPath, updated);
101
+ ctx.logger.success(message);
102
+ return {
103
+ name: this.name,
104
+ action: "applied",
105
+ changedFiles: [MOCK_FILE],
106
+ message,
107
+ };
108
+ }
109
+ }
110
+ //# sourceMappingURL=ensure-jest-rn-mock-accessibility-manager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ensure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from "./migration.interface.js";
2
2
  export type { Migration, MigrationAction, MigrationContext, MigrationResult, } from "./migration.interface.js";
3
3
  export { EnsureAuditIgnoreLocalExclusionsMigration } from "./ensure-audit-ignore-local-exclusions.js";
4
+ export { EnsureJestRnMockAccessibilityManagerMigration } from "./ensure-jest-rn-mock-accessibility-manager.js";
4
5
  export { EnsureLisaPostinstallMigration } from "./ensure-lisa-postinstall.js";
5
6
  export { EnsureTsconfigLocalFilesFallbackMigration } from "./ensure-tsconfig-local-files-fallback.js";
6
7
  export { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAE3F;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;IAElD;;;OAGG;gBACS,UAAU,CAAC,EAAE,SAAS,SAAS,EAAE;IAS7C;;;OAGG;IACH,MAAM,IAAI,SAAS,SAAS,EAAE;IAI9B;;;;OAIG;IACG,mBAAmB,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ/D;;;;OAIG;IACG,MAAM,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,SAAS,eAAe,EAAE,CAAC;CAazE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,iBAAiB,CAE3D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAE3F;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;IAElD;;;OAGG;gBACS,UAAU,CAAC,EAAE,SAAS,SAAS,EAAE;IAU7C;;;OAGG;IACH,MAAM,IAAI,SAAS,SAAS,EAAE;IAI9B;;;;OAIG;IACG,mBAAmB,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ/D;;;;OAIG;IACG,MAAM,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,SAAS,eAAe,EAAE,CAAC;CAazE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,iBAAiB,CAE3D"}
@@ -1,8 +1,10 @@
1
1
  import { EnsureAuditIgnoreLocalExclusionsMigration } from "./ensure-audit-ignore-local-exclusions.js";
2
+ import { EnsureJestRnMockAccessibilityManagerMigration } from "./ensure-jest-rn-mock-accessibility-manager.js";
2
3
  import { EnsureLisaPostinstallMigration } from "./ensure-lisa-postinstall.js";
3
4
  import { EnsureTsconfigLocalFilesFallbackMigration } from "./ensure-tsconfig-local-files-fallback.js";
4
5
  import { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
5
6
  export { EnsureAuditIgnoreLocalExclusionsMigration } from "./ensure-audit-ignore-local-exclusions.js";
7
+ export { EnsureJestRnMockAccessibilityManagerMigration } from "./ensure-jest-rn-mock-accessibility-manager.js";
6
8
  export { EnsureLisaPostinstallMigration } from "./ensure-lisa-postinstall.js";
7
9
  export { EnsureTsconfigLocalFilesFallbackMigration } from "./ensure-tsconfig-local-files-fallback.js";
8
10
  export { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
@@ -20,6 +22,7 @@ export class MigrationRegistry {
20
22
  new EnsureTsconfigLocalIncludesMigration(),
21
23
  new EnsureTsconfigLocalFilesFallbackMigration(),
22
24
  new EnsureAuditIgnoreLocalExclusionsMigration(),
25
+ new EnsureJestRnMockAccessibilityManagerMigration(),
23
26
  new EnsureLisaPostinstallMigration(),
24
27
  ];
25
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAa3F,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAE3F;;GAEG;AACH,MAAM,OAAO,iBAAiB;IACX,UAAU,CAAuB;IAElD;;;OAGG;IACH,YAAY,UAAiC;QAC3C,IAAI,CAAC,UA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AS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,MAAM,SAAS,GAAG,MAAM,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YAC/C,IAAI,CAAC,SAAS,EAAE,CAAC;gBACf,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;gBAC1D,SAAS;YACX,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC1C,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvB,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,UAAU,uBAAuB;IACrC,OAAO,IAAI,iBAAiB,EAAE,CAAC;AACjC,CAAC"}
@@ -118,6 +118,7 @@
118
118
  "react-hook-form",
119
119
  "react-native-element-dropdown",
120
120
  "react-native-keyboard-controller",
121
+ "react-native-worklets",
121
122
  "tailwind-variants",
122
123
  "tar",
123
124
  "text-encoding-polyfill",
@@ -119,8 +119,6 @@
119
119
  "@legendapp/motion": "^2.4.0",
120
120
  "@react-native-async-storage/async-storage": "2.2.0",
121
121
  "@react-native-masked-view/masked-view": "^0.3.2",
122
- "@react-navigation/drawer": "^7.5.0",
123
- "@react-navigation/elements": "^1.3.31",
124
122
  "@sentry/react-native": "~7.11.0",
125
123
  "@shopify/flash-list": "2.0.2",
126
124
  "@shopify/react-native-skia": "2.6.2",
package/package.json CHANGED
@@ -84,7 +84,7 @@
84
84
  "lodash": ">=4.18.1"
85
85
  },
86
86
  "name": "@codyswann/lisa",
87
- "version": "2.147.6",
87
+ "version": "2.148.0",
88
88
  "description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
89
89
  "main": "dist/index.js",
90
90
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "AWS CDK-specific Lisa plugin.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Expo and React Native-specific skills, agents, rules, and MCP servers.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Harper/Fabric-specific Lisa rules for TypeScript component apps.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "NestJS-specific skills and migration write-protection hooks.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -110,6 +110,11 @@ root-only route can validate while the actual bot still ignores the topic-level
110
110
  `agentId`, and prompt. When in doubt, mirror the route under the owning account and keep any existing
111
111
  root group route only as a fallback/documentation shape.
112
112
 
113
+ Account-scoped topic `agentId` routes also require an OpenClaw runtime that treats the topic agent as
114
+ an explicit group route for non-default Telegram accounts. If the self-test logs
115
+ `drop non-default account requires explicit binding`, update or rebuild OpenClaw before adding config
116
+ workarounds; do not create persistent ACP bindings solely to bypass that guard.
117
+
113
118
  Keep allowlist policy, and add `allowFrom` only when membership must be narrower than the group.
114
119
  Leave the topic-level `requireMention = false` (the default) so the agent activates on any message —
115
120
  the topic is bound 1:1 to this dispatcher, so an @mention carries no routing information and is pure
@@ -137,11 +142,14 @@ Then from the target topic, send a plain message with **no** @mention (the defau
137
142
  `requireMention = false` means the agent must activate without one) asking for an exact-token reply
138
143
  with **no** file changes, commits, PRs, or merges, e.g. `reply with exactly TELEGRAM-ROUTE-OK`.
139
144
  Confirm the visible reply, that the dispatcher spawned the worker, and that the worker ran in the
140
- intended repo. If the topic was deliberately left at `requireMention = true`, mention the bot instead
141
- (`<bot-handle> reply with exactly TELEGRAM-ROUTE-OK`) and additionally confirm that an un-mentioned
142
- message is **ignored**. For folder-scoped topics, also send a request that implies but doesn't name a
143
- repo and confirm the dispatcher asks for confirmation before proceeding. Do **not** treat `openclaw agent --agent
144
- <id> ...` as proof a topic route works use the visible topic reply.
145
+ intended repo. If there is no dispatcher session, inspect `/tmp/openclaw/openclaw-YYYY-MM-DD.log`;
146
+ `drop non-default account requires explicit binding` means the OpenClaw runtime is too old for
147
+ account-scoped topic-agent routing. If the topic was deliberately left at `requireMention = true`,
148
+ mention the bot instead (`<bot-handle> reply with exactly TELEGRAM-ROUTE-OK`) and additionally
149
+ confirm that an un-mentioned message is **ignored**. For folder-scoped topics, also send a request
150
+ that implies but doesn't name a repo and confirm the dispatcher asks for confirmation before
151
+ proceeding. Do **not** treat `openclaw agent --agent <id> ...` as proof a topic route works — use the
152
+ visible topic reply.
145
153
 
146
154
  ## Output standard
147
155
 
@@ -75,6 +75,12 @@ Use `channels.telegram.groups` for a single-account Telegram setup. If
75
75
  `channels.telegram.accounts.<account-id>.groups.<group-id>`. Account-scoped Telegram configs do not
76
76
  inherit root `channels.telegram.groups` routes.
77
77
 
78
+ Account-scoped topic `agentId` routes require an OpenClaw runtime that treats the topic agent as an
79
+ explicit group route for non-default Telegram accounts. If a real topic self-test is delivered to the
80
+ bot but the logs show `drop non-default account requires explicit binding`, update or rebuild
81
+ OpenClaw. Do not add a persistent ACP binding as a workaround; the configured topic `agentId` is the
82
+ intended route.
83
+
78
84
  ### Single-account route
79
85
 
80
86
  ```json5
@@ -19,6 +19,11 @@ Use `channels.telegram.groups` for a single-account Telegram setup. If the OpenC
19
19
  `channels.telegram.accounts.<account-id>.groups.<telegram-supergroup-id>`; account-scoped Telegram
20
20
  configs do not inherit root group routes.
21
21
 
22
+ Account-scoped topic `agentId` routes require an OpenClaw runtime that treats the topic agent as an
23
+ explicit group route for non-default Telegram accounts. If a real Telegram topic test reaches the bot
24
+ but logs `drop non-default account requires explicit binding`, update or rebuild OpenClaw before
25
+ adding config workarounds; the topic `agentId` is the intended route.
26
+
22
27
  ### Single-account route
23
28
 
24
29
  ```json5
@@ -83,6 +83,9 @@ loudly, do not silently proceed) if any is missing:
83
83
  root (Slack channel + root `thread_ts`; Telegram supergroup + forum topic + root `message_id`), and
84
84
  replies in that thread continue the same session, so concurrent threads don't share short-term
85
85
  context.
86
+ - **Account-scoped Telegram topic agents** — in multi-account Telegram configs,
87
+ `channels.telegram.accounts.<account-id>.groups.<group-id>.topics.<topic-id>.agentId` routes group
88
+ messages as an explicit topic route instead of dropping them as a non-default account fallback.
86
89
  - **`NO_REPLY` sentinel** — after an agent sends a message with the platform message tool, returning
87
90
  exactly `NO_REPLY` as its assistant final prevents the gateway from posting a duplicate loose
88
91
  message.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -110,6 +110,11 @@ root-only route can validate while the actual bot still ignores the topic-level
110
110
  `agentId`, and prompt. When in doubt, mirror the route under the owning account and keep any existing
111
111
  root group route only as a fallback/documentation shape.
112
112
 
113
+ Account-scoped topic `agentId` routes also require an OpenClaw runtime that treats the topic agent as
114
+ an explicit group route for non-default Telegram accounts. If the self-test logs
115
+ `drop non-default account requires explicit binding`, update or rebuild OpenClaw before adding config
116
+ workarounds; do not create persistent ACP bindings solely to bypass that guard.
117
+
113
118
  Keep allowlist policy, and add `allowFrom` only when membership must be narrower than the group.
114
119
  Leave the topic-level `requireMention = false` (the default) so the agent activates on any message —
115
120
  the topic is bound 1:1 to this dispatcher, so an @mention carries no routing information and is pure
@@ -137,11 +142,14 @@ Then from the target topic, send a plain message with **no** @mention (the defau
137
142
  `requireMention = false` means the agent must activate without one) asking for an exact-token reply
138
143
  with **no** file changes, commits, PRs, or merges, e.g. `reply with exactly TELEGRAM-ROUTE-OK`.
139
144
  Confirm the visible reply, that the dispatcher spawned the worker, and that the worker ran in the
140
- intended repo. If the topic was deliberately left at `requireMention = true`, mention the bot instead
141
- (`<bot-handle> reply with exactly TELEGRAM-ROUTE-OK`) and additionally confirm that an un-mentioned
142
- message is **ignored**. For folder-scoped topics, also send a request that implies but doesn't name a
143
- repo and confirm the dispatcher asks for confirmation before proceeding. Do **not** treat `openclaw agent --agent
144
- <id> ...` as proof a topic route works use the visible topic reply.
145
+ intended repo. If there is no dispatcher session, inspect `/tmp/openclaw/openclaw-YYYY-MM-DD.log`;
146
+ `drop non-default account requires explicit binding` means the OpenClaw runtime is too old for
147
+ account-scoped topic-agent routing. If the topic was deliberately left at `requireMention = true`,
148
+ mention the bot instead (`<bot-handle> reply with exactly TELEGRAM-ROUTE-OK`) and additionally
149
+ confirm that an un-mentioned message is **ignored**. For folder-scoped topics, also send a request
150
+ that implies but doesn't name a repo and confirm the dispatcher asks for confirmation before
151
+ proceeding. Do **not** treat `openclaw agent --agent <id> ...` as proof a topic route works — use the
152
+ visible topic reply.
145
153
 
146
154
  ## Output standard
147
155
 
@@ -75,6 +75,12 @@ Use `channels.telegram.groups` for a single-account Telegram setup. If
75
75
  `channels.telegram.accounts.<account-id>.groups.<group-id>`. Account-scoped Telegram configs do not
76
76
  inherit root `channels.telegram.groups` routes.
77
77
 
78
+ Account-scoped topic `agentId` routes require an OpenClaw runtime that treats the topic agent as an
79
+ explicit group route for non-default Telegram accounts. If a real topic self-test is delivered to the
80
+ bot but the logs show `drop non-default account requires explicit binding`, update or rebuild
81
+ OpenClaw. Do not add a persistent ACP binding as a workaround; the configured topic `agentId` is the
82
+ intended route.
83
+
78
84
  ### Single-account route
79
85
 
80
86
  ```json5
@@ -19,6 +19,11 @@ Use `channels.telegram.groups` for a single-account Telegram setup. If the OpenC
19
19
  `channels.telegram.accounts.<account-id>.groups.<telegram-supergroup-id>`; account-scoped Telegram
20
20
  configs do not inherit root group routes.
21
21
 
22
+ Account-scoped topic `agentId` routes require an OpenClaw runtime that treats the topic agent as an
23
+ explicit group route for non-default Telegram accounts. If a real Telegram topic test reaches the bot
24
+ but logs `drop non-default account requires explicit binding`, update or rebuild OpenClaw before
25
+ adding config workarounds; the topic `agentId` is the intended route.
26
+
22
27
  ### Single-account route
23
28
 
24
29
  ```json5
@@ -83,6 +83,9 @@ loudly, do not silently proceed) if any is missing:
83
83
  root (Slack channel + root `thread_ts`; Telegram supergroup + forum topic + root `message_id`), and
84
84
  replies in that thread continue the same session, so concurrent threads don't share short-term
85
85
  context.
86
+ - **Account-scoped Telegram topic agents** — in multi-account Telegram configs,
87
+ `channels.telegram.accounts.<account-id>.groups.<group-id>.topics.<topic-id>.agentId` routes group
88
+ messages as an explicit topic route instead of dropping them as a non-default account fallback.
86
89
  - **`NO_REPLY` sentinel** — after an agent sends a message with the platform message tool, returning
87
90
  exactly `NO_REPLY` as its assistant final prevents the gateway from posting a duplicate loose
88
91
  message.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -110,6 +110,11 @@ root-only route can validate while the actual bot still ignores the topic-level
110
110
  `agentId`, and prompt. When in doubt, mirror the route under the owning account and keep any existing
111
111
  root group route only as a fallback/documentation shape.
112
112
 
113
+ Account-scoped topic `agentId` routes also require an OpenClaw runtime that treats the topic agent as
114
+ an explicit group route for non-default Telegram accounts. If the self-test logs
115
+ `drop non-default account requires explicit binding`, update or rebuild OpenClaw before adding config
116
+ workarounds; do not create persistent ACP bindings solely to bypass that guard.
117
+
113
118
  Keep allowlist policy, and add `allowFrom` only when membership must be narrower than the group.
114
119
  Leave the topic-level `requireMention = false` (the default) so the agent activates on any message —
115
120
  the topic is bound 1:1 to this dispatcher, so an @mention carries no routing information and is pure
@@ -137,11 +142,14 @@ Then from the target topic, send a plain message with **no** @mention (the defau
137
142
  `requireMention = false` means the agent must activate without one) asking for an exact-token reply
138
143
  with **no** file changes, commits, PRs, or merges, e.g. `reply with exactly TELEGRAM-ROUTE-OK`.
139
144
  Confirm the visible reply, that the dispatcher spawned the worker, and that the worker ran in the
140
- intended repo. If the topic was deliberately left at `requireMention = true`, mention the bot instead
141
- (`<bot-handle> reply with exactly TELEGRAM-ROUTE-OK`) and additionally confirm that an un-mentioned
142
- message is **ignored**. For folder-scoped topics, also send a request that implies but doesn't name a
143
- repo and confirm the dispatcher asks for confirmation before proceeding. Do **not** treat `openclaw agent --agent
144
- <id> ...` as proof a topic route works use the visible topic reply.
145
+ intended repo. If there is no dispatcher session, inspect `/tmp/openclaw/openclaw-YYYY-MM-DD.log`;
146
+ `drop non-default account requires explicit binding` means the OpenClaw runtime is too old for
147
+ account-scoped topic-agent routing. If the topic was deliberately left at `requireMention = true`,
148
+ mention the bot instead (`<bot-handle> reply with exactly TELEGRAM-ROUTE-OK`) and additionally
149
+ confirm that an un-mentioned message is **ignored**. For folder-scoped topics, also send a request
150
+ that implies but doesn't name a repo and confirm the dispatcher asks for confirmation before
151
+ proceeding. Do **not** treat `openclaw agent --agent <id> ...` as proof a topic route works — use the
152
+ visible topic reply.
145
153
 
146
154
  ## Output standard
147
155
 
@@ -75,6 +75,12 @@ Use `channels.telegram.groups` for a single-account Telegram setup. If
75
75
  `channels.telegram.accounts.<account-id>.groups.<group-id>`. Account-scoped Telegram configs do not
76
76
  inherit root `channels.telegram.groups` routes.
77
77
 
78
+ Account-scoped topic `agentId` routes require an OpenClaw runtime that treats the topic agent as an
79
+ explicit group route for non-default Telegram accounts. If a real topic self-test is delivered to the
80
+ bot but the logs show `drop non-default account requires explicit binding`, update or rebuild
81
+ OpenClaw. Do not add a persistent ACP binding as a workaround; the configured topic `agentId` is the
82
+ intended route.
83
+
78
84
  ### Single-account route
79
85
 
80
86
  ```json5
@@ -19,6 +19,11 @@ Use `channels.telegram.groups` for a single-account Telegram setup. If the OpenC
19
19
  `channels.telegram.accounts.<account-id>.groups.<telegram-supergroup-id>`; account-scoped Telegram
20
20
  configs do not inherit root group routes.
21
21
 
22
+ Account-scoped topic `agentId` routes require an OpenClaw runtime that treats the topic agent as an
23
+ explicit group route for non-default Telegram accounts. If a real Telegram topic test reaches the bot
24
+ but logs `drop non-default account requires explicit binding`, update or rebuild OpenClaw before
25
+ adding config workarounds; the topic `agentId` is the intended route.
26
+
22
27
  ### Single-account route
23
28
 
24
29
  ```json5
@@ -83,6 +83,9 @@ loudly, do not silently proceed) if any is missing:
83
83
  root (Slack channel + root `thread_ts`; Telegram supergroup + forum topic + root `message_id`), and
84
84
  replies in that thread continue the same session, so concurrent threads don't share short-term
85
85
  context.
86
+ - **Account-scoped Telegram topic agents** — in multi-account Telegram configs,
87
+ `channels.telegram.accounts.<account-id>.groups.<group-id>.topics.<topic-id>.agentId` routes group
88
+ messages as an explicit topic route instead of dropping them as a non-default account fallback.
86
89
  - **`NO_REPLY` sentinel** — after an agent sends a message with the platform message tool, returning
87
90
  exactly `NO_REPLY` as its assistant final prevents the gateway from posting a duplicate loose
88
91
  message.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -110,6 +110,11 @@ root-only route can validate while the actual bot still ignores the topic-level
110
110
  `agentId`, and prompt. When in doubt, mirror the route under the owning account and keep any existing
111
111
  root group route only as a fallback/documentation shape.
112
112
 
113
+ Account-scoped topic `agentId` routes also require an OpenClaw runtime that treats the topic agent as
114
+ an explicit group route for non-default Telegram accounts. If the self-test logs
115
+ `drop non-default account requires explicit binding`, update or rebuild OpenClaw before adding config
116
+ workarounds; do not create persistent ACP bindings solely to bypass that guard.
117
+
113
118
  Keep allowlist policy, and add `allowFrom` only when membership must be narrower than the group.
114
119
  Leave the topic-level `requireMention = false` (the default) so the agent activates on any message —
115
120
  the topic is bound 1:1 to this dispatcher, so an @mention carries no routing information and is pure
@@ -137,11 +142,14 @@ Then from the target topic, send a plain message with **no** @mention (the defau
137
142
  `requireMention = false` means the agent must activate without one) asking for an exact-token reply
138
143
  with **no** file changes, commits, PRs, or merges, e.g. `reply with exactly TELEGRAM-ROUTE-OK`.
139
144
  Confirm the visible reply, that the dispatcher spawned the worker, and that the worker ran in the
140
- intended repo. If the topic was deliberately left at `requireMention = true`, mention the bot instead
141
- (`<bot-handle> reply with exactly TELEGRAM-ROUTE-OK`) and additionally confirm that an un-mentioned
142
- message is **ignored**. For folder-scoped topics, also send a request that implies but doesn't name a
143
- repo and confirm the dispatcher asks for confirmation before proceeding. Do **not** treat `openclaw agent --agent
144
- <id> ...` as proof a topic route works use the visible topic reply.
145
+ intended repo. If there is no dispatcher session, inspect `/tmp/openclaw/openclaw-YYYY-MM-DD.log`;
146
+ `drop non-default account requires explicit binding` means the OpenClaw runtime is too old for
147
+ account-scoped topic-agent routing. If the topic was deliberately left at `requireMention = true`,
148
+ mention the bot instead (`<bot-handle> reply with exactly TELEGRAM-ROUTE-OK`) and additionally
149
+ confirm that an un-mentioned message is **ignored**. For folder-scoped topics, also send a request
150
+ that implies but doesn't name a repo and confirm the dispatcher asks for confirmation before
151
+ proceeding. Do **not** treat `openclaw agent --agent <id> ...` as proof a topic route works — use the
152
+ visible topic reply.
145
153
 
146
154
  ## Output standard
147
155
 
@@ -75,6 +75,12 @@ Use `channels.telegram.groups` for a single-account Telegram setup. If
75
75
  `channels.telegram.accounts.<account-id>.groups.<group-id>`. Account-scoped Telegram configs do not
76
76
  inherit root `channels.telegram.groups` routes.
77
77
 
78
+ Account-scoped topic `agentId` routes require an OpenClaw runtime that treats the topic agent as an
79
+ explicit group route for non-default Telegram accounts. If a real topic self-test is delivered to the
80
+ bot but the logs show `drop non-default account requires explicit binding`, update or rebuild
81
+ OpenClaw. Do not add a persistent ACP binding as a workaround; the configured topic `agentId` is the
82
+ intended route.
83
+
78
84
  ### Single-account route
79
85
 
80
86
  ```json5
@@ -19,6 +19,11 @@ Use `channels.telegram.groups` for a single-account Telegram setup. If the OpenC
19
19
  `channels.telegram.accounts.<account-id>.groups.<telegram-supergroup-id>`; account-scoped Telegram
20
20
  configs do not inherit root group routes.
21
21
 
22
+ Account-scoped topic `agentId` routes require an OpenClaw runtime that treats the topic agent as an
23
+ explicit group route for non-default Telegram accounts. If a real Telegram topic test reaches the bot
24
+ but logs `drop non-default account requires explicit binding`, update or rebuild OpenClaw before
25
+ adding config workarounds; the topic `agentId` is the intended route.
26
+
22
27
  ### Single-account route
23
28
 
24
29
  ```json5
@@ -83,6 +83,9 @@ loudly, do not silently proceed) if any is missing:
83
83
  root (Slack channel + root `thread_ts`; Telegram supergroup + forum topic + root `message_id`), and
84
84
  replies in that thread continue the same session, so concurrent threads don't share short-term
85
85
  context.
86
+ - **Account-scoped Telegram topic agents** — in multi-account Telegram configs,
87
+ `channels.telegram.accounts.<account-id>.groups.<group-id>.topics.<topic-id>.agentId` routes group
88
+ messages as an explicit topic route instead of dropping them as a non-default account fallback.
86
89
  - **`NO_REPLY` sentinel** — after an agent sends a message with the platform message tool, returning
87
90
  exactly `NO_REPLY` as its assistant final prevents the gateway from posting a duplicate loose
88
91
  message.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Ruby on Rails-specific skills and hooks for RuboCop and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -57,12 +57,12 @@ TOKEN_PATTERNS = [
57
57
 
58
58
 
59
59
  def utc_now() -> dt.datetime:
60
- return dt.datetime.now(dt.UTC).replace(microsecond=0)
60
+ return dt.datetime.now(dt.timezone.utc).replace(microsecond=0)
61
61
 
62
62
 
63
63
  def iso_from_ts(ts: str) -> str:
64
64
  seconds = float(ts)
65
- return dt.datetime.fromtimestamp(seconds, dt.UTC).replace(microsecond=0).isoformat().replace("+00:00", "Z")
65
+ return dt.datetime.fromtimestamp(seconds, dt.timezone.utc).replace(microsecond=0).isoformat().replace("+00:00", "Z")
66
66
 
67
67
 
68
68
  def ts_from_input(value: str | None) -> str | None:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -57,12 +57,12 @@ TOKEN_PATTERNS = [
57
57
 
58
58
 
59
59
  def utc_now() -> dt.datetime:
60
- return dt.datetime.now(dt.UTC).replace(microsecond=0)
60
+ return dt.datetime.now(dt.timezone.utc).replace(microsecond=0)
61
61
 
62
62
 
63
63
  def iso_from_ts(ts: str) -> str:
64
64
  seconds = float(ts)
65
- return dt.datetime.fromtimestamp(seconds, dt.UTC).replace(microsecond=0).isoformat().replace("+00:00", "Z")
65
+ return dt.datetime.fromtimestamp(seconds, dt.timezone.utc).replace(microsecond=0).isoformat().replace("+00:00", "Z")
66
66
 
67
67
 
68
68
  def ts_from_input(value: str | None) -> str | None:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -57,12 +57,12 @@ TOKEN_PATTERNS = [
57
57
 
58
58
 
59
59
  def utc_now() -> dt.datetime:
60
- return dt.datetime.now(dt.UTC).replace(microsecond=0)
60
+ return dt.datetime.now(dt.timezone.utc).replace(microsecond=0)
61
61
 
62
62
 
63
63
  def iso_from_ts(ts: str) -> str:
64
64
  seconds = float(ts)
65
- return dt.datetime.fromtimestamp(seconds, dt.UTC).replace(microsecond=0).isoformat().replace("+00:00", "Z")
65
+ return dt.datetime.fromtimestamp(seconds, dt.timezone.utc).replace(microsecond=0).isoformat().replace("+00:00", "Z")
66
66
 
67
67
 
68
68
  def ts_from_input(value: str | None) -> str | None:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.147.6",
3
+ "version": "2.148.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -57,12 +57,12 @@ TOKEN_PATTERNS = [
57
57
 
58
58
 
59
59
  def utc_now() -> dt.datetime:
60
- return dt.datetime.now(dt.UTC).replace(microsecond=0)
60
+ return dt.datetime.now(dt.timezone.utc).replace(microsecond=0)
61
61
 
62
62
 
63
63
  def iso_from_ts(ts: str) -> str:
64
64
  seconds = float(ts)
65
- return dt.datetime.fromtimestamp(seconds, dt.UTC).replace(microsecond=0).isoformat().replace("+00:00", "Z")
65
+ return dt.datetime.fromtimestamp(seconds, dt.timezone.utc).replace(microsecond=0).isoformat().replace("+00:00", "Z")
66
66
 
67
67
 
68
68
  def ts_from_input(value: str | None) -> str | None:
@@ -110,6 +110,11 @@ root-only route can validate while the actual bot still ignores the topic-level
110
110
  `agentId`, and prompt. When in doubt, mirror the route under the owning account and keep any existing
111
111
  root group route only as a fallback/documentation shape.
112
112
 
113
+ Account-scoped topic `agentId` routes also require an OpenClaw runtime that treats the topic agent as
114
+ an explicit group route for non-default Telegram accounts. If the self-test logs
115
+ `drop non-default account requires explicit binding`, update or rebuild OpenClaw before adding config
116
+ workarounds; do not create persistent ACP bindings solely to bypass that guard.
117
+
113
118
  Keep allowlist policy, and add `allowFrom` only when membership must be narrower than the group.
114
119
  Leave the topic-level `requireMention = false` (the default) so the agent activates on any message —
115
120
  the topic is bound 1:1 to this dispatcher, so an @mention carries no routing information and is pure
@@ -137,11 +142,14 @@ Then from the target topic, send a plain message with **no** @mention (the defau
137
142
  `requireMention = false` means the agent must activate without one) asking for an exact-token reply
138
143
  with **no** file changes, commits, PRs, or merges, e.g. `reply with exactly TELEGRAM-ROUTE-OK`.
139
144
  Confirm the visible reply, that the dispatcher spawned the worker, and that the worker ran in the
140
- intended repo. If the topic was deliberately left at `requireMention = true`, mention the bot instead
141
- (`<bot-handle> reply with exactly TELEGRAM-ROUTE-OK`) and additionally confirm that an un-mentioned
142
- message is **ignored**. For folder-scoped topics, also send a request that implies but doesn't name a
143
- repo and confirm the dispatcher asks for confirmation before proceeding. Do **not** treat `openclaw agent --agent
144
- <id> ...` as proof a topic route works use the visible topic reply.
145
+ intended repo. If there is no dispatcher session, inspect `/tmp/openclaw/openclaw-YYYY-MM-DD.log`;
146
+ `drop non-default account requires explicit binding` means the OpenClaw runtime is too old for
147
+ account-scoped topic-agent routing. If the topic was deliberately left at `requireMention = true`,
148
+ mention the bot instead (`<bot-handle> reply with exactly TELEGRAM-ROUTE-OK`) and additionally
149
+ confirm that an un-mentioned message is **ignored**. For folder-scoped topics, also send a request
150
+ that implies but doesn't name a repo and confirm the dispatcher asks for confirmation before
151
+ proceeding. Do **not** treat `openclaw agent --agent <id> ...` as proof a topic route works — use the
152
+ visible topic reply.
145
153
 
146
154
  ## Output standard
147
155
 
@@ -75,6 +75,12 @@ Use `channels.telegram.groups` for a single-account Telegram setup. If
75
75
  `channels.telegram.accounts.<account-id>.groups.<group-id>`. Account-scoped Telegram configs do not
76
76
  inherit root `channels.telegram.groups` routes.
77
77
 
78
+ Account-scoped topic `agentId` routes require an OpenClaw runtime that treats the topic agent as an
79
+ explicit group route for non-default Telegram accounts. If a real topic self-test is delivered to the
80
+ bot but the logs show `drop non-default account requires explicit binding`, update or rebuild
81
+ OpenClaw. Do not add a persistent ACP binding as a workaround; the configured topic `agentId` is the
82
+ intended route.
83
+
78
84
  ### Single-account route
79
85
 
80
86
  ```json5
@@ -19,6 +19,11 @@ Use `channels.telegram.groups` for a single-account Telegram setup. If the OpenC
19
19
  `channels.telegram.accounts.<account-id>.groups.<telegram-supergroup-id>`; account-scoped Telegram
20
20
  configs do not inherit root group routes.
21
21
 
22
+ Account-scoped topic `agentId` routes require an OpenClaw runtime that treats the topic agent as an
23
+ explicit group route for non-default Telegram accounts. If a real Telegram topic test reaches the bot
24
+ but logs `drop non-default account requires explicit binding`, update or rebuild OpenClaw before
25
+ adding config workarounds; the topic `agentId` is the intended route.
26
+
22
27
  ### Single-account route
23
28
 
24
29
  ```json5
@@ -83,6 +83,9 @@ loudly, do not silently proceed) if any is missing:
83
83
  root (Slack channel + root `thread_ts`; Telegram supergroup + forum topic + root `message_id`), and
84
84
  replies in that thread continue the same session, so concurrent threads don't share short-term
85
85
  context.
86
+ - **Account-scoped Telegram topic agents** — in multi-account Telegram configs,
87
+ `channels.telegram.accounts.<account-id>.groups.<group-id>.topics.<topic-id>.agentId` routes group
88
+ messages as an explicit topic route instead of dropping them as a non-default account fallback.
86
89
  - **`NO_REPLY` sentinel** — after an agent sends a message with the platform message tool, returning
87
90
  exactly `NO_REPLY` as its assistant final prevents the gateway from posting a duplicate loose
88
91
  message.
@@ -57,12 +57,12 @@ TOKEN_PATTERNS = [
57
57
 
58
58
 
59
59
  def utc_now() -> dt.datetime:
60
- return dt.datetime.now(dt.UTC).replace(microsecond=0)
60
+ return dt.datetime.now(dt.timezone.utc).replace(microsecond=0)
61
61
 
62
62
 
63
63
  def iso_from_ts(ts: str) -> str:
64
64
  seconds = float(ts)
65
- return dt.datetime.fromtimestamp(seconds, dt.UTC).replace(microsecond=0).isoformat().replace("+00:00", "Z")
65
+ return dt.datetime.fromtimestamp(seconds, dt.timezone.utc).replace(microsecond=0).isoformat().replace("+00:00", "Z")
66
66
 
67
67
 
68
68
  def ts_from_input(value: str | None) -> str | None: