Skip to content

UI: Update connections UIs - #108

Merged
steipete merged 3 commits into
openclaw:mainfrom
thewilloftheshadow:shadow/ui-connection-update
Jan 2, 2026
Merged

steipete merged 3 commits into
openclaw:mainfrom
thewilloftheshadow:shadow/ui-connection-update

Conversation

@thewilloftheshadow

Copy link
Copy Markdown
Member

This PR adds UIs for the new connections: Discord, Signal, and iMessage. Exactly matches the existing connection nodes, just adds more

@steipete

steipete commented Jan 2, 2026

Copy link
Copy Markdown
Contributor

thank you, on it!

@steipete
steipete merged commit 4541bb2 into openclaw:main Jan 2, 2026
dgarson referenced this pull request in dgarson/clawdbot Feb 7, 2026
Memory: add shared OpenAI embeddings rate limiter
joshp123 pushed a commit to joshp123/clawdis that referenced this pull request Feb 11, 2026
…nection-update

UI: Update connections UIs
slathrop referenced this pull request in slathrop/openclaw-js Feb 11, 2026
- vitest.live.config.js and vitest.e2e.config.js now extend root config
- Inherits testTimeout (120s), resolve.alias, pool, setupFiles, excludes
- package.json description updated for multi-channel AI gateway
- Removed unused src/utils/time-format.js (replaced by format-time/)
- Updated TUI to import formatRelativeTimestamp from format-time/
slathrop referenced this pull request in slathrop/openclaw-js Feb 11, 2026
Tasks completed: 2/2
- Port commit #108 (vitest standalone configs)
- Port commit #121 (OPENCLAW_HOME for all path resolution)

SUMMARY: .planning/phases/13-paths-config-refactoring/13-08-SUMMARY.md
dalefrieswthat pushed a commit to dalefrieswthat/openclaw that referenced this pull request Feb 25, 2026
* feat: scaffold deterministic replay framework

* feat(replay): add manifest schema validation helpers

* feat(sessions): add replay session manifest types and serialization helpers

Add session-level replay manifest types distinct from the replay bundle
format in src/replay/types.ts (Nate's work in PR openclaw#92).

- ReplaySessionManifest: session metadata for replay-capable sessions
- ReplaySessionEvent: session-level events in the replay lifecycle
- ReplaySessionEventLog: collection of session events
- Serialization helpers: parse/serialize functions
- Factory functions: createReplaySessionId, createReplaySessionManifest, createReplaySessionEvent
- exportSessionManifest stub: placeholder for future storage integration

Add 43 focused tests covering:
- Schema validation for all types
- Serialization round-trips
- Factory function behavior
- Edge cases and error handling

* feat(replay): parse replay events and normalize recording categories

* feat(sessions): add replay session manifest types and serialization helpers (openclaw#98)

Add session-level replay manifest types distinct from the replay bundle
format in src/replay/types.ts (Nate's work in PR openclaw#92).

- ReplaySessionManifest: session metadata for replay-capable sessions
- ReplaySessionEvent: session-level events in the replay lifecycle
- ReplaySessionEventLog: collection of session events
- Serialization helpers: parse/serialize functions
- Factory functions: createReplaySessionId, createReplaySessionManifest, createReplaySessionEvent
- exportSessionManifest stub: placeholder for future storage integration

Add 43 focused tests covering:
- Schema validation for all types
- Serialization round-trips
- Factory function behavior
- Edge cases and error handling

* docs: add deterministic replay architecture and TDD plan (openclaw#108)

* feat: scaffold deterministic replay framework

* feat(replay): add manifest schema validation helpers

* feat(sessions): add replay session manifest types and serialization helpers

Add session-level replay manifest types distinct from the replay bundle
format in src/replay/types.ts (Nate's work in PR openclaw#92).

- ReplaySessionManifest: session metadata for replay-capable sessions
- ReplaySessionEvent: session-level events in the replay lifecycle
- ReplaySessionEventLog: collection of session events
- Serialization helpers: parse/serialize functions
- Factory functions: createReplaySessionId, createReplaySessionManifest, createReplaySessionEvent
- exportSessionManifest stub: placeholder for future storage integration

Add 43 focused tests covering:
- Schema validation for all types
- Serialization round-trips
- Factory function behavior
- Edge cases and error handling

* feat(replay): parse replay events and normalize recording categories

* feat(sessions): add replay session manifest types and serialization helpers (openclaw#98)

Add session-level replay manifest types distinct from the replay bundle
format in src/replay/types.ts (Nate's work in PR openclaw#92).

- ReplaySessionManifest: session metadata for replay-capable sessions
- ReplaySessionEvent: session-level events in the replay lifecycle
- ReplaySessionEventLog: collection of session events
- Serialization helpers: parse/serialize functions
- Factory functions: createReplaySessionId, createReplaySessionManifest, createReplaySessionEvent
- exportSessionManifest stub: placeholder for future storage integration

Add 43 focused tests covering:
- Schema validation for all types
- Serialization round-trips
- Factory function behavior
- Edge cases and error handling

* docs: add deterministic replay architecture and TDD plan (openclaw#108)

* Replay: harden recorder and deterministic clock edge cases (openclaw#182)
github-actions Bot pushed a commit to Piboonsak/openclaw_github that referenced this pull request Mar 10, 2026
CyberSpencer added a commit to CyberSpencer/openclaw that referenced this pull request Mar 19, 2026
…b_actions/actions/setup-java-5

chore(deps): bump actions/setup-java from 4 to 5
@csuzngjh

Copy link
Copy Markdown

最新调查进展(2026-03-25)

关键发现:Trust Score 不是问题

检查 源码(第 7632-7636 行)权限表:

Tier Points allowSubagentSpawn
Seed(当前) 0 false
Sprout 50 false
Sapling 200 true ✅
Tree 500 true

Trust Score 30/100 = Seed tier → allowSubagentSpawn = false
修改为 200 分后 = Sapling tier → allowSubagentSpawn = true

但问题仍然存在,说明不只是权限问题。


pd_run_worker 调用链路分析

输入:

pd_run_worker(
  agentType="diagnostician",
  task="分析 pain ID 563b3d9b 的根因",
  runInBackground=true
)

执行流程(bundle.js):

  1. ✅ 被调用
  2. ✅ → "diagnostician"
  3. ✅ → ["auditor", "diagnostician", "explorer", ...]
  4. ✅ "diagnostician" 在列表中
  5. ✅ → 成功(diagnostician.md 存在)
  6. ⚠️ → task 内容含关键词时返回 true
    • 触发词:"session", "subagent", "sessions_send", "peer agent" 等
    • 返回 true → 直接输出工具描述(不是 embedded 错误)
  7. ⚠️ → 始终返回 false

两种错误输出

情况 A(task 不含触发词):

情况 B(task 含 "session"/"subagent" 等词):


关键源码

isSubagentRuntimeAvailable(subagent-probe.js):

export function isSubagentRuntimeAvailable(subagent) {
    if (!subagent) return false;
    try {
        const runFn = subagent.run;
        if (typeof runFn !== "function") return false;
        // Gateway: runFn.constructor.name === "AsyncFunction"
        // Embedded: runFn 是普通 Function,调用时同步 throw
        return runFn.constructor?.name === "AsyncFunction";
    } catch {
        return false;
    }
}

bundler.js 第 7681 行(createUnavailableSubagentRuntime):

function createUnavailableSubagentRuntime() {
    const unavailable = () => {
        throw new Error("Plugin runtime subagent methods are only available during a gateway request.");
    };
    return { run: unavailable, waitForRun: unavailable, ... };
}

sessions_spawn vs pd_run_worker 对比

操作 结果 说明
✅ 成功 创建了 subagent session
❌ embedded mode api.runtime.subagent 绑定失败

结论:Gateway 的 subagent runtime 功能正常,但主会话的 plugin api.runtime.subagent 没有正确绑定。


待确认

  1. Gateway 进程中 是否真的传入?
  2. 主会话的 plugin 运行时是否在 Gateway 启动后才初始化?
  3. 是否有日志可以查看 Gateway 如何初始化 plugin runtime?

建议下一步

在 Gateway 进程添加 debug 日志,确认 传递链路。

lovewanwan pushed a commit to lovewanwan/openclaw that referenced this pull request Apr 28, 2026
…nection-update

UI: Update connections UIs
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 9, 2026
…nection-update

UI: Update connections UIs
zqchris added a commit to zqchris/openclaw that referenced this pull request May 22, 2026
…y AppleScript

OpenClaw's iMessage outbound `send` JSON-RPC call did not pass the
`transport` parameter to `imsg`, so `imsg` fell through to its legacy
default — AppleScript via the Messages.app event loop. On macOS
deployments where Messages.app stops responding to AppleEvents (observed
on Tahoe 26.3 after Messages.app was force-relaunched without the imsg
bridge dylib being re-injected via `imsg launch`), the AppleScript path
stalls for the full 120-second AppleEvent timeout and returns -1712.
OpenClaw's RPC timeout fires earlier and surfaces as
`imsg rpc timeout (send)` to the agent, causing message-loss with no
useful diagnostic.

`imsg` 0.8.1 (PR openclaw#108) added an explicit `transport` parameter accepting
`"auto"`, `"bridge"`, or `"applescript"`. Pass `transport: "auto"` by
default so the IMCore private-API bridge is preferred whenever it is
available, with AppleScript reserved as the explicit fallback. Operators
can override per account via
`channels.imessage.accounts.<id>.transport`.

This is the OpenClaw side of the workaround described in
openclaw#84329. It does not require an `imsg` upgrade —
0.8.1 already accepts the parameter.

- src/config/types.imessage.ts: add `transport` field on IMessageAccountConfig
- src/config/zod-schema.providers-core.ts: validate transport enum
- extensions/imessage/src/send.ts: resolve transport from opts/account/default
  and include it in the JSON-RPC `send` params
- extensions/imessage/src/send.test.ts: cover default + per-account override

Upstream PR candidate (refs openclaw#84329).
zqchris added a commit to zqchris/openclaw that referenced this pull request May 27, 2026
…y AppleScript

OpenClaw's iMessage outbound `send` JSON-RPC call did not pass the
`transport` parameter to `imsg`, so `imsg` fell through to its legacy
default — AppleScript via the Messages.app event loop. On macOS
deployments where Messages.app stops responding to AppleEvents (observed
on Tahoe 26.3 after Messages.app was force-relaunched without the imsg
bridge dylib being re-injected via `imsg launch`), the AppleScript path
stalls for the full 120-second AppleEvent timeout and returns -1712.
OpenClaw's RPC timeout fires earlier and surfaces as
`imsg rpc timeout (send)` to the agent, causing message-loss with no
useful diagnostic.

`imsg` 0.8.1 (PR openclaw#108) added an explicit `transport` parameter accepting
`"auto"`, `"bridge"`, or `"applescript"`. Pass `transport: "auto"` by
default so the IMCore private-API bridge is preferred whenever it is
available, with AppleScript reserved as the explicit fallback. Operators
can override per account via
`channels.imessage.accounts.<id>.transport`.

This is the OpenClaw side of the workaround described in
openclaw#84329. It does not require an `imsg` upgrade —
0.8.1 already accepts the parameter.

- src/config/types.imessage.ts: add `transport` field on IMessageAccountConfig
- src/config/zod-schema.providers-core.ts: validate transport enum
- extensions/imessage/src/send.ts: resolve transport from opts/account/default
  and include it in the JSON-RPC `send` params
- extensions/imessage/src/send.test.ts: cover default + per-account override

Upstream PR candidate (refs openclaw#84329).
zqchris added a commit to zqchris/openclaw that referenced this pull request May 28, 2026
…y AppleScript

OpenClaw's iMessage outbound `send` JSON-RPC call did not pass the
`transport` parameter to `imsg`, so `imsg` fell through to its legacy
default — AppleScript via the Messages.app event loop. On macOS
deployments where Messages.app stops responding to AppleEvents (observed
on Tahoe 26.3 after Messages.app was force-relaunched without the imsg
bridge dylib being re-injected via `imsg launch`), the AppleScript path
stalls for the full 120-second AppleEvent timeout and returns -1712.
OpenClaw's RPC timeout fires earlier and surfaces as
`imsg rpc timeout (send)` to the agent, causing message-loss with no
useful diagnostic.

`imsg` 0.8.1 (PR openclaw#108) added an explicit `transport` parameter accepting
`"auto"`, `"bridge"`, or `"applescript"`. Pass `transport: "auto"` by
default so the IMCore private-API bridge is preferred whenever it is
available, with AppleScript reserved as the explicit fallback. Operators
can override per account via
`channels.imessage.accounts.<id>.transport`.

This is the OpenClaw side of the workaround described in
openclaw#84329. It does not require an `imsg` upgrade —
0.8.1 already accepts the parameter.

- src/config/types.imessage.ts: add `transport` field on IMessageAccountConfig
- src/config/zod-schema.providers-core.ts: validate transport enum
- extensions/imessage/src/send.ts: resolve transport from opts/account/default
  and include it in the JSON-RPC `send` params
- extensions/imessage/src/send.test.ts: cover default + per-account override

Upstream PR candidate (refs openclaw#84329).
zqchris added a commit to zqchris/openclaw that referenced this pull request May 31, 2026
…y AppleScript

OpenClaw's iMessage outbound `send` JSON-RPC call did not pass the
`transport` parameter to `imsg`, so `imsg` fell through to its legacy
default — AppleScript via the Messages.app event loop. On macOS
deployments where Messages.app stops responding to AppleEvents (observed
on Tahoe 26.3 after Messages.app was force-relaunched without the imsg
bridge dylib being re-injected via `imsg launch`), the AppleScript path
stalls for the full 120-second AppleEvent timeout and returns -1712.
OpenClaw's RPC timeout fires earlier and surfaces as
`imsg rpc timeout (send)` to the agent, causing message-loss with no
useful diagnostic.

`imsg` 0.8.1 (PR openclaw#108) added an explicit `transport` parameter accepting
`"auto"`, `"bridge"`, or `"applescript"`. Pass `transport: "auto"` by
default so the IMCore private-API bridge is preferred whenever it is
available, with AppleScript reserved as the explicit fallback. Operators
can override per account via
`channels.imessage.accounts.<id>.transport`.

This is the OpenClaw side of the workaround described in
openclaw#84329. It does not require an `imsg` upgrade —
0.8.1 already accepts the parameter.

- src/config/types.imessage.ts: add `transport` field on IMessageAccountConfig
- src/config/zod-schema.providers-core.ts: validate transport enum
- extensions/imessage/src/send.ts: resolve transport from opts/account/default
  and include it in the JSON-RPC `send` params
- extensions/imessage/src/send.test.ts: cover default + per-account override

Upstream PR candidate (refs openclaw#84329).
cryptolir referenced this pull request in cryptolir/openclaw Jun 2, 2026
…ssion (#52)

Records the 2026-06-01/02 session: save_user_section gateway tool (PR #49),
appUserId passthrough (dashboard #108/#110), reader endpoint (#107), life-only
deploy to v2026.06.01.1, AGENTS.md update, security remediation (key rotation
+ history scrub), and prod validation results.

Co-authored-by: Liran Peretz <[email protected]>
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
zqchris added a commit to zqchris/openclaw that referenced this pull request Jun 4, 2026
…y AppleScript

OpenClaw's iMessage outbound `send` JSON-RPC call did not pass the
`transport` parameter to `imsg`, so `imsg` fell through to its legacy
default — AppleScript via the Messages.app event loop. On macOS
deployments where Messages.app stops responding to AppleEvents (observed
on Tahoe 26.3 after Messages.app was force-relaunched without the imsg
bridge dylib being re-injected via `imsg launch`), the AppleScript path
stalls for the full 120-second AppleEvent timeout and returns -1712.
OpenClaw's RPC timeout fires earlier and surfaces as
`imsg rpc timeout (send)` to the agent, causing message-loss with no
useful diagnostic.

`imsg` 0.8.1 (PR openclaw#108) added an explicit `transport` parameter accepting
`"auto"`, `"bridge"`, or `"applescript"`. Pass `transport: "auto"` by
default so the IMCore private-API bridge is preferred whenever it is
available, with AppleScript reserved as the explicit fallback. Operators
can override per account via
`channels.imessage.accounts.<id>.transport`.

This is the OpenClaw side of the workaround described in
openclaw#84329. It does not require an `imsg` upgrade —
0.8.1 already accepts the parameter.

- src/config/types.imessage.ts: add `transport` field on IMessageAccountConfig
- src/config/zod-schema.providers-core.ts: validate transport enum
- extensions/imessage/src/send.ts: resolve transport from opts/account/default
  and include it in the JSON-RPC `send` params
- extensions/imessage/src/send.test.ts: cover default + per-account override

Upstream PR candidate (refs openclaw#84329).
zqchris added a commit to zqchris/openclaw that referenced this pull request Jun 10, 2026
…y AppleScript

OpenClaw's iMessage outbound `send` JSON-RPC call did not pass the
`transport` parameter to `imsg`, so `imsg` fell through to its legacy
default — AppleScript via the Messages.app event loop. On macOS
deployments where Messages.app stops responding to AppleEvents (observed
on Tahoe 26.3 after Messages.app was force-relaunched without the imsg
bridge dylib being re-injected via `imsg launch`), the AppleScript path
stalls for the full 120-second AppleEvent timeout and returns -1712.
OpenClaw's RPC timeout fires earlier and surfaces as
`imsg rpc timeout (send)` to the agent, causing message-loss with no
useful diagnostic.

`imsg` 0.8.1 (PR openclaw#108) added an explicit `transport` parameter accepting
`"auto"`, `"bridge"`, or `"applescript"`. Pass `transport: "auto"` by
default so the IMCore private-API bridge is preferred whenever it is
available, with AppleScript reserved as the explicit fallback. Operators
can override per account via
`channels.imessage.accounts.<id>.transport`.

This is the OpenClaw side of the workaround described in
openclaw#84329. It does not require an `imsg` upgrade —
0.8.1 already accepts the parameter.

- src/config/types.imessage.ts: add `transport` field on IMessageAccountConfig
- src/config/zod-schema.providers-core.ts: validate transport enum
- extensions/imessage/src/send.ts: resolve transport from opts/account/default
  and include it in the JSON-RPC `send` params
- extensions/imessage/src/send.test.ts: cover default + per-account override

Upstream PR candidate (refs openclaw#84329).
zqchris added a commit to zqchris/openclaw that referenced this pull request Jun 12, 2026
…y AppleScript

OpenClaw's iMessage outbound `send` JSON-RPC call did not pass the
`transport` parameter to `imsg`, so `imsg` fell through to its legacy
default — AppleScript via the Messages.app event loop. On macOS
deployments where Messages.app stops responding to AppleEvents (observed
on Tahoe 26.3 after Messages.app was force-relaunched without the imsg
bridge dylib being re-injected via `imsg launch`), the AppleScript path
stalls for the full 120-second AppleEvent timeout and returns -1712.
OpenClaw's RPC timeout fires earlier and surfaces as
`imsg rpc timeout (send)` to the agent, causing message-loss with no
useful diagnostic.

`imsg` 0.8.1 (PR openclaw#108) added an explicit `transport` parameter accepting
`"auto"`, `"bridge"`, or `"applescript"`. Pass `transport: "auto"` by
default so the IMCore private-API bridge is preferred whenever it is
available, with AppleScript reserved as the explicit fallback. Operators
can override per account via
`channels.imessage.accounts.<id>.transport`.

This is the OpenClaw side of the workaround described in
openclaw#84329. It does not require an `imsg` upgrade —
0.8.1 already accepts the parameter.

- src/config/types.imessage.ts: add `transport` field on IMessageAccountConfig
- src/config/zod-schema.providers-core.ts: validate transport enum
- extensions/imessage/src/send.ts: resolve transport from opts/account/default
  and include it in the JSON-RPC `send` params
- extensions/imessage/src/send.test.ts: cover default + per-account override

Upstream PR candidate (refs openclaw#84329).
zqchris added a commit to zqchris/openclaw that referenced this pull request Jun 17, 2026
…y AppleScript

OpenClaw's iMessage outbound `send` JSON-RPC call did not pass the
`transport` parameter to `imsg`, so `imsg` fell through to its legacy
default — AppleScript via the Messages.app event loop. On macOS
deployments where Messages.app stops responding to AppleEvents (observed
on Tahoe 26.3 after Messages.app was force-relaunched without the imsg
bridge dylib being re-injected via `imsg launch`), the AppleScript path
stalls for the full 120-second AppleEvent timeout and returns -1712.
OpenClaw's RPC timeout fires earlier and surfaces as
`imsg rpc timeout (send)` to the agent, causing message-loss with no
useful diagnostic.

`imsg` 0.8.1 (PR openclaw#108) added an explicit `transport` parameter accepting
`"auto"`, `"bridge"`, or `"applescript"`. Pass `transport: "auto"` by
default so the IMCore private-API bridge is preferred whenever it is
available, with AppleScript reserved as the explicit fallback. Operators
can override per account via
`channels.imessage.accounts.<id>.transport`.

This is the OpenClaw side of the workaround described in
openclaw#84329. It does not require an `imsg` upgrade —
0.8.1 already accepts the parameter.

- src/config/types.imessage.ts: add `transport` field on IMessageAccountConfig
- src/config/zod-schema.providers-core.ts: validate transport enum
- extensions/imessage/src/send.ts: resolve transport from opts/account/default
  and include it in the JSON-RPC `send` params
- extensions/imessage/src/send.test.ts: cover default + per-account override

Upstream PR candidate (refs openclaw#84329).
muneebhashone pushed a commit to muneebhashone/clawdbot that referenced this pull request Aug 25, 2026
…nection-update

UI: Update connections UIs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants