@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.
- package/dist/migrations/ensure-jest-rn-mock-accessibility-manager.d.ts +38 -0
- package/dist/migrations/ensure-jest-rn-mock-accessibility-manager.d.ts.map +1 -0
- package/dist/migrations/ensure-jest-rn-mock-accessibility-manager.js +110 -0
- package/dist/migrations/ensure-jest-rn-mock-accessibility-manager.js.map +1 -0
- package/dist/migrations/index.d.ts +1 -0
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +3 -0
- package/dist/migrations/index.js.map +1 -1
- package/expo/copy-overwrite/knip.json +1 -0
- package/expo/package-lisa/package.lisa.json +0 -2
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/skills/lisa-openclaw-connect-repo-topic/SKILL.md +13 -5
- package/plugins/lisa-openclaw/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +6 -0
- package/plugins/lisa-openclaw/skills/lisa-openclaw-connect-staff/references/platform-routing.md +5 -0
- package/plugins/lisa-openclaw/skills/lisa-openclaw-setup/SKILL.md +3 -0
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-repo-topic/SKILL.md +13 -5
- package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +6 -0
- package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-staff/references/platform-routing.md +5 -0
- package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-setup/SKILL.md +3 -0
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-repo-topic/SKILL.md +13 -5
- package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +6 -0
- package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-staff/references/platform-routing.md +5 -0
- package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-setup/SKILL.md +3 -0
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-repo-topic/SKILL.md +13 -5
- package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +6 -0
- package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-staff/references/platform-routing.md +5 -0
- package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-setup/SKILL.md +3 -0
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/scripts/ingest_slack_channel.py +2 -2
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/scripts/ingest_slack_channel.py +2 -2
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/scripts/ingest_slack_channel.py +2 -2
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/scripts/ingest_slack_channel.py +2 -2
- package/plugins/src/openclaw/skills/lisa-openclaw-connect-repo-topic/SKILL.md +13 -5
- package/plugins/src/openclaw/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +6 -0
- package/plugins/src/openclaw/skills/lisa-openclaw-connect-staff/references/platform-routing.md +5 -0
- package/plugins/src/openclaw/skills/lisa-openclaw-setup/SKILL.md +3 -0
- 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-jest-rn-mock-accessibility-manager.js","sourceRoot":"","sources":["../../src/migrations/ensure-jest-rn-mock-accessibility-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAOhC,MAAM,SAAS,GAAG,kCAAkC,CAAC;AAErD,yEAAyE;AACzE,MAAM,MAAM,GAAG,sBAAsB,CAAC;AAEtC,gFAAgF;AAChF,MAAM,MAAM,GAAG,uBAAuB,CAAC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,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YAC1D,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAC7C,CAAC;QAED,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAC7B,MAAM,EACN,MAAM,GAAG,2BAA2B,CACrC,CAAC;QACF,MAAM,OAAO,GAAG,kDAAkD,SAAS,EAAE,CAAC;QAE9E,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;YACf,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,0CAA0C,SAAS,EAAE,CAAC,CAAC;YACtE,OAAO;gBACL,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,MAAM,EAAE,SAAS;gBACjB,YAAY,EAAE,CAAC,SAAS,CAAC;gBACzB,OAAO;aACR,CAAC;QACJ,CAAC;QAED,MAAM,GAAG,CAAC,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACvC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,SAAS;YACjB,YAAY,EAAE,CAAC,SAAS,CAAC;YACzB,OAAO;SACR,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Migration, MigrationContext, MigrationResult } 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":"
|
|
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"}
|
package/dist/migrations/index.js
CHANGED
|
@@ -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;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AAC,mBAAmB,CAAC,GAAqB;QAC7C,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,IAAI,SAAS,CAAC,gBAAgB,EAAE,CAAC;gBAC/B,MAAM,SAAS,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,MAAM,CAAC,GAAqB;QAChC,MAAM,OAAO,GAAsB,EAAE,CAAC;QACtC,KAAK,MAAM,SAAS,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"}
|
|
@@ -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.
|
|
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-openclaw",
|
|
3
|
-
"version": "2.
|
|
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.
|
|
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
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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
|
package/plugins/lisa-openclaw/skills/lisa-openclaw-connect-staff/references/platform-routing.md
CHANGED
|
@@ -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.
|
|
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
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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
|
package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-staff/references/platform-routing.md
CHANGED
|
@@ -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.
|
|
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
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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.
|
|
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
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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.
|
|
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.
|
|
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:
|
|
@@ -57,12 +57,12 @@ TOKEN_PATTERNS = [
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
def utc_now() -> dt.datetime:
|
|
60
|
-
return dt.datetime.now(dt.
|
|
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.
|
|
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:
|
|
@@ -57,12 +57,12 @@ TOKEN_PATTERNS = [
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
def utc_now() -> dt.datetime:
|
|
60
|
-
return dt.datetime.now(dt.
|
|
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.
|
|
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:
|
|
@@ -57,12 +57,12 @@ TOKEN_PATTERNS = [
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
def utc_now() -> dt.datetime:
|
|
60
|
-
return dt.datetime.now(dt.
|
|
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.
|
|
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
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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
|
|
package/plugins/src/openclaw/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md
CHANGED
|
@@ -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
|
package/plugins/src/openclaw/skills/lisa-openclaw-connect-staff/references/platform-routing.md
CHANGED
|
@@ -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.
|
|
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.
|
|
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:
|