Skip to content

Commit 9cfe674

Browse files
authored
Merge branch 'main' into fix/controlui-reconnect-inflight-90755
2 parents 1731908 + 7e12a33 commit 9cfe674

493 files changed

Lines changed: 39616 additions & 9547 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,8 @@ jobs:
13581358
- check_name: check-additional-boundaries-bcd
13591359
group: boundaries
13601360
boundary_shard: 2/4,3/4,4/4
1361+
- check_name: check-session-accessor-boundary
1362+
group: session-accessor-boundary
13611363
- check_name: check-additional-extension-channels
13621364
group: extension-channels
13631365
- check_name: check-additional-extension-bundled
@@ -1504,6 +1506,15 @@ jobs:
15041506
boundaries)
15051507
node scripts/run-additional-boundary-checks.mjs
15061508
;;
1509+
session-accessor-boundary)
1510+
if [ ! -f scripts/check-session-accessor-boundary.mjs ]; then
1511+
echo "[skip] session accessor boundary check is not present in this checkout"
1512+
elif ! node -e 'const pkg = require("./package.json"); process.exit(pkg.scripts?.["lint:tmp:session-accessor-boundary"] ? 0 : 1);'; then
1513+
echo "[skip] session accessor boundary script is not present in package.json"
1514+
else
1515+
run_check "lint:tmp:session-accessor-boundary" pnpm run lint:tmp:session-accessor-boundary
1516+
fi
1517+
;;
15071518
extension-channels)
15081519
run_check "lint:extensions:channels" pnpm run lint:extensions:channels
15091520
;;

‎.github/workflows/full-release-validation.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ jobs:
783783
fi
784784
785785
args=(
786-
-f ref="$TARGET_SHA"
786+
-f ref="$TARGET_REF"
787787
-f expected_sha="$TARGET_SHA"
788788
-f provider="$PROVIDER"
789789
-f mode="$MODE"

‎.github/workflows/mantis-telegram-live.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,6 @@ jobs:
379379
OPENCLAW_QA_CONVEX_SECRET_CI: ${{ secrets.OPENCLAW_QA_CONVEX_SECRET_CI }}
380380
OPENCLAW_QA_CREDENTIAL_ACQUIRE_TIMEOUT_MS: "1800000"
381381
OPENCLAW_QA_REDACT_PUBLIC_METADATA: "1"
382-
OPENCLAW_QA_TELEGRAM_CAPTURE_CONTENT: "1"
383382
CRABBOX_COORDINATOR: ${{ secrets.CRABBOX_COORDINATOR }}
384383
CRABBOX_COORDINATOR_TOKEN: ${{ secrets.CRABBOX_COORDINATOR_TOKEN }}
385384
OPENCLAW_QA_MANTIS_CRABBOX_COORDINATOR: ${{ secrets.OPENCLAW_QA_MANTIS_CRABBOX_COORDINATOR }}

‎.github/workflows/npm-telegram-beta-e2e.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ jobs:
220220
OPENCLAW_QA_CONVEX_SECRET_CI: ${{ secrets.OPENCLAW_QA_CONVEX_SECRET_CI }}
221221
OPENCLAW_QA_CREDENTIAL_ACQUIRE_TIMEOUT_MS: "1800000"
222222
OPENCLAW_QA_REDACT_PUBLIC_METADATA: "1"
223-
OPENCLAW_QA_TELEGRAM_CAPTURE_CONTENT: "1"
224223
INPUT_SCENARIO: ${{ inputs.scenario }}
225224
PACKAGE_ARTIFACT_NAME: ${{ inputs.package_artifact_name || '' }}
226225
run: |

‎.github/workflows/openclaw-release-checks.yml‎

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ jobs:
11811181
runtime_tool_coverage_release_checks:
11821182
name: Enforce QA Lab runtime tool coverage
11831183
needs: [resolve_target, qa_lab_runtime_parity_release_checks]
1184-
if: always() && contains(fromJSON('["all","qa","qa-parity"]'), needs.resolve_target.outputs.rerun_group)
1184+
if: contains(fromJSON('["all","qa","qa-parity"]'), needs.resolve_target.outputs.rerun_group)
11851185
runs-on: ubuntu-24.04
11861186
timeout-minutes: 15
11871187
permissions:
@@ -1204,13 +1204,35 @@ jobs:
12041204
node-version: ${{ env.NODE_VERSION }}
12051205
install-bun: "true"
12061206

1207+
- name: Download runtime parity status
1208+
uses: actions/download-artifact@v8
1209+
with:
1210+
name: release-check-status-qa-runtime-parity-${{ needs.resolve_target.outputs.revision }}
1211+
path: .artifacts/release-check-status/
1212+
1213+
- name: Verify runtime parity producer status
1214+
id: verify_runtime_parity_status
1215+
shell: bash
1216+
run: |
1217+
set -euo pipefail
1218+
status_path=".artifacts/release-check-status/qa_lab_runtime_parity_release_checks.env"
1219+
status="$(sed -n 's/^status=//p' "$status_path" | tail -n 1)"
1220+
if [[ "$status" != "success" ]]; then
1221+
echo "Runtime parity producer status is ${status:-missing}; skipping coverage artifact consumer."
1222+
echo "ready=false" >> "$GITHUB_OUTPUT"
1223+
exit 0
1224+
fi
1225+
echo "ready=true" >> "$GITHUB_OUTPUT"
1226+
12071227
- name: Download runtime parity artifacts
1228+
if: steps.verify_runtime_parity_status.outputs.ready == 'true'
12081229
uses: actions/download-artifact@v8
12091230
with:
12101231
name: release-qa-runtime-parity-${{ needs.resolve_target.outputs.revision }}
12111232
path: .artifacts/qa-e2e/
12121233

12131234
- name: Enforce standard runtime tool coverage
1235+
if: steps.verify_runtime_parity_status.outputs.ready == 'true'
12141236
run: |
12151237
set -euo pipefail
12161238
pnpm openclaw qa coverage \
@@ -1412,7 +1434,6 @@ jobs:
14121434
OPENCLAW_QA_CONVEX_SECRET_CI: ${{ secrets.OPENCLAW_QA_CONVEX_SECRET_CI }}
14131435
OPENCLAW_QA_CREDENTIAL_ACQUIRE_TIMEOUT_MS: "1800000"
14141436
OPENCLAW_QA_REDACT_PUBLIC_METADATA: "1"
1415-
OPENCLAW_QA_TELEGRAM_CAPTURE_CONTENT: "1"
14161437
run: |
14171438
set -euo pipefail
14181439

‎.github/workflows/qa-live-transports-convex.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,6 @@ jobs:
532532
OPENCLAW_QA_CONVEX_SECRET_CI: ${{ secrets.OPENCLAW_QA_CONVEX_SECRET_CI }}
533533
OPENCLAW_QA_CREDENTIAL_ACQUIRE_TIMEOUT_MS: "1800000"
534534
OPENCLAW_QA_REDACT_PUBLIC_METADATA: "1"
535-
OPENCLAW_QA_TELEGRAM_CAPTURE_CONTENT: "1"
536535
INPUT_SCENARIO: ${{ github.event_name == 'workflow_dispatch' && inputs.scenario || '' }}
537536
run: |
538537
set -euo pipefail

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Docs: https://docs.openclaw.ai
2525

2626
- Channels and delivery: preserve account-scoped DM channel send policy, rich Telegram final replies, rich Telegram tables and lists, Telegram thread-create CLI remapping, Slack outbound `message_sent` hooks, contributed message-tool schema optionality, same-channel generated media completions, and channel chunking around surrogate pairs and Infinity limits. (#92788, #92679, #89421, #89943, #91137, #91246, #92735) Thanks @yetval, @obviyus, @spacegeologist, @rishitamrakar, @lundog, @TurboTheTurtle, and @yhterrance.
2727
- Discord: give generated auto-thread titles a 60-second timeout and 4,096-token reasoning-model output budget, clamped to the selected model output cap. (#64734) Thanks @hanamizuki.
28-
- Agent, cron, and Gateway runtime: mark active main sessions before restart shutdown aborts, pause yielded subagent runs whose terminal also signals abort, preserve yielded media completions, de-duplicate main-session heartbeat events, expose session identity in runtime prompts, reject unknown OpenAI agent selectors, keep generated media completions in WebChat, and require admin privileges for HTTP session/model override surfaces. (#91357, #92631, #92146, #91287, #92468, #92510, #91246, #92651, #92646) Thanks @ooiuuii, @openperf, @IWhatsskill, @ZengWen-DT, @zhangguiping-xydt, and @TurboTheTurtle.
28+
- Agent, cron, and Gateway runtime: mark active main sessions before restart shutdown aborts, pause yielded subagent runs whose terminal also signals abort, preserve yielded media completions, de-duplicate main-session heartbeat events, expose session identity in runtime prompts, reject unknown OpenAI agent selectors, keep generated media completions and slash-command block replies in WebChat, and require admin privileges for HTTP session/model override surfaces. (#91357, #92631, #92146, #91287, #92468, #92510, #91246, #92651, #92646) Thanks @ooiuuii, @openperf, @IWhatsskill, @ZengWen-DT, @zhangguiping-xydt, and @TurboTheTurtle.
2929
- Providers and model replay: preserve storeless OpenAI Responses replay compatibility, avoid eager tool streaming for Claude 4.5 in Copilot, honor profile auth for SecretRef model entries, bound model browsing, strip provider prefixes where runtimes need bare IDs, and surface nested embedding fetch failures. (#90706, #75393, #90686, #92247, #92627, #91218, #92628) Thanks @snowzlm, @Kailigithub, @rohitjavvadi, @samson910022, @liuhao1024, @bymle, and @mushuiyu886.
3030
- Memory, state, diagnostics, and config: split header-too-large embedding batches, keep QMD memory search enabled in transient mode, avoid SQLite WAL on NFS volumes, preserve recovery scheduling outside stuck-session warning backoff, and keep shell environment fallbacks contained in config write tests. (#92650, #92618, #92639, #91247, #92752) Thanks @mushuiyu886, @TurboTheTurtle, @849261680, and @gnanam1990.
3131
- UI/mobile/TUI: preserve dashboard session parent lineage, WebChat backscroll, reset soft command args, sidebar session picker interactivity, collapsed workspace files, resolved `/model` confirmation refs, and stale foreground iOS Gateway reconnects. (#90658, #92622, #91353, #92705, #92779, #92773, #92552) Thanks @luoyanglang, @TurboTheTurtle, @zhouhe-xydt, @NianJiuZst, @shakkernerd, @NarahariRaghava, and @Solvely-Colin.

‎apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift‎

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2074,6 +2074,204 @@ public struct SessionsCompactionRestoreResult: Codable, Sendable {
20742074
}
20752075
}
20762076

2077+
public struct SessionFileBrowserEntry: Codable, Sendable {
2078+
public let path: String
2079+
public let name: String
2080+
public let kind: AnyCodable
2081+
public let sessionkind: SessionFileRelevance?
2082+
public let size: Int?
2083+
public let updatedatms: Int?
2084+
2085+
public init(
2086+
path: String,
2087+
name: String,
2088+
kind: AnyCodable,
2089+
sessionkind: SessionFileRelevance?,
2090+
size: Int?,
2091+
updatedatms: Int?)
2092+
{
2093+
self.path = path
2094+
self.name = name
2095+
self.kind = kind
2096+
self.sessionkind = sessionkind
2097+
self.size = size
2098+
self.updatedatms = updatedatms
2099+
}
2100+
2101+
private enum CodingKeys: String, CodingKey {
2102+
case path
2103+
case name
2104+
case kind
2105+
case sessionkind = "sessionKind"
2106+
case size
2107+
case updatedatms = "updatedAtMs"
2108+
}
2109+
}
2110+
2111+
public struct SessionFileBrowserResult: Codable, Sendable {
2112+
public let path: String
2113+
public let parentpath: String?
2114+
public let search: String?
2115+
public let entries: [SessionFileBrowserEntry]
2116+
public let truncated: Bool?
2117+
2118+
public init(
2119+
path: String,
2120+
parentpath: String?,
2121+
search: String?,
2122+
entries: [SessionFileBrowserEntry],
2123+
truncated: Bool?)
2124+
{
2125+
self.path = path
2126+
self.parentpath = parentpath
2127+
self.search = search
2128+
self.entries = entries
2129+
self.truncated = truncated
2130+
}
2131+
2132+
private enum CodingKeys: String, CodingKey {
2133+
case path
2134+
case parentpath = "parentPath"
2135+
case search
2136+
case entries
2137+
case truncated
2138+
}
2139+
}
2140+
2141+
public struct SessionFileEntry: Codable, Sendable {
2142+
public let path: String
2143+
public let name: String
2144+
public let kind: SessionFileKind
2145+
public let missing: Bool
2146+
public let size: Int?
2147+
public let updatedatms: Int?
2148+
public let content: String?
2149+
2150+
public init(
2151+
path: String,
2152+
name: String,
2153+
kind: SessionFileKind,
2154+
missing: Bool,
2155+
size: Int?,
2156+
updatedatms: Int?,
2157+
content: String?)
2158+
{
2159+
self.path = path
2160+
self.name = name
2161+
self.kind = kind
2162+
self.missing = missing
2163+
self.size = size
2164+
self.updatedatms = updatedatms
2165+
self.content = content
2166+
}
2167+
2168+
private enum CodingKeys: String, CodingKey {
2169+
case path
2170+
case name
2171+
case kind
2172+
case missing
2173+
case size
2174+
case updatedatms = "updatedAtMs"
2175+
case content
2176+
}
2177+
}
2178+
2179+
public struct SessionsFilesListParams: Codable, Sendable {
2180+
public let sessionkey: String
2181+
public let agentid: String?
2182+
public let path: String?
2183+
public let search: String?
2184+
2185+
public init(
2186+
sessionkey: String,
2187+
agentid: String? = nil,
2188+
path: String?,
2189+
search: String?)
2190+
{
2191+
self.sessionkey = sessionkey
2192+
self.agentid = agentid
2193+
self.path = path
2194+
self.search = search
2195+
}
2196+
2197+
private enum CodingKeys: String, CodingKey {
2198+
case sessionkey = "sessionKey"
2199+
case agentid = "agentId"
2200+
case path
2201+
case search
2202+
}
2203+
}
2204+
2205+
public struct SessionsFilesListResult: Codable, Sendable {
2206+
public let sessionkey: String
2207+
public let root: String?
2208+
public let files: [SessionFileEntry]
2209+
public let browser: SessionFileBrowserResult?
2210+
2211+
public init(
2212+
sessionkey: String,
2213+
root: String?,
2214+
files: [SessionFileEntry],
2215+
browser: SessionFileBrowserResult?)
2216+
{
2217+
self.sessionkey = sessionkey
2218+
self.root = root
2219+
self.files = files
2220+
self.browser = browser
2221+
}
2222+
2223+
private enum CodingKeys: String, CodingKey {
2224+
case sessionkey = "sessionKey"
2225+
case root
2226+
case files
2227+
case browser
2228+
}
2229+
}
2230+
2231+
public struct SessionsFilesGetParams: Codable, Sendable {
2232+
public let sessionkey: String
2233+
public let path: String
2234+
public let agentid: String?
2235+
2236+
public init(
2237+
sessionkey: String,
2238+
path: String,
2239+
agentid: String? = nil)
2240+
{
2241+
self.sessionkey = sessionkey
2242+
self.path = path
2243+
self.agentid = agentid
2244+
}
2245+
2246+
private enum CodingKeys: String, CodingKey {
2247+
case sessionkey = "sessionKey"
2248+
case path
2249+
case agentid = "agentId"
2250+
}
2251+
}
2252+
2253+
public struct SessionsFilesGetResult: Codable, Sendable {
2254+
public let sessionkey: String
2255+
public let root: String?
2256+
public let file: SessionFileEntry
2257+
2258+
public init(
2259+
sessionkey: String,
2260+
root: String?,
2261+
file: SessionFileEntry)
2262+
{
2263+
self.sessionkey = sessionkey
2264+
self.root = root
2265+
self.file = file
2266+
}
2267+
2268+
private enum CodingKeys: String, CodingKey {
2269+
case sessionkey = "sessionKey"
2270+
case root
2271+
case file
2272+
}
2273+
}
2274+
20772275
public struct SessionsCreateParams: Codable, Sendable {
20782276
public let key: String?
20792277
public let agentid: String?
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
b5887d8c887a53a997dc4c5220f6b9d5adffbddb58e4b25ae0d20ca06850d0ca config-baseline.json
1+
0485ba902d2afd89d2c41cde7180d0cec2900b2db6804b9f97d42b7d85cd3af5 config-baseline.json
22
72bb80be618406f3337eaa2560d2559a35e49bd29576de8dd4a3aec1a6a94d92 config-baseline.core.json
33
1218f5555541b61bd5ddcac6441f15061b44789e2471d4ffecbe3059777c55c1 config-baseline.channel.json
4-
b0dec5acfe60557e728e5ad03cc36d19d2432d51f755656c97846afa7fbe374a config-baseline.plugin.json
4+
a14ac4261e98403d1a7e047070e6f151938444e27382b860315bd0c74fda4861 config-baseline.plugin.json
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ab2a32b037be61953ad32d2498468bc812b0794ba6135530cefd1c8326d69de8 plugin-sdk-api-baseline.json
2-
2c7bca3b46e0edd08ed445a241bb0a80b77635bf82825d5201ce41a8759c0e56 plugin-sdk-api-baseline.jsonl
1+
b121079a0912b3051a9fc319a675ef920da9db23364ca0c0ccd3c9f0a05a3a49 plugin-sdk-api-baseline.json
2+
61a0108da670e0f44ba4b861c002eb6eaa5cf63e392d4e7e7de42044cbe7d115 plugin-sdk-api-baseline.jsonl

0 commit comments

Comments
 (0)