omp-superagent 0.1.15 → 0.1.17

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.
@@ -152,6 +152,13 @@ commands. Pass `jevify` or one of the six names above and a nonempty reason in t
152
152
  `workflow: {name, reason}` argument to `lane_start` or `lane_message`. Legacy ULW invocations
153
153
  are supported only in the original user request, not as new structured selections.
154
154
 
155
+ Send `/head /superstack <task>` as message text to enable Superstack for the
156
+ shared HEAD's current branch and route the task using the managed skill.
157
+ `/head /superstack` and `/head /superstack off` wait for that Host to become fully
158
+ idle, then enable or disable the mode without starting work.
159
+ It is not a lane workflow or a registered messenger command. An older running
160
+ Host may not have the command; it keeps its launch-time Superkit revision until replaced.
161
+
155
162
  Existing source, provenance, and deduplication behavior is preserved. Workflow selection
156
163
  is a serialized dispatch, not steering while execution is underway. For a SUPER workflow,
157
164
  record why it is more useful than a lighter option and read the selected skill. Invocation
@@ -318,9 +325,9 @@ bun --no-env-file "$PROBE" capture gateway "$GATEWAY_SOCKET" > "$EVIDENCE_DIR/ga
318
325
  `gateway: null`, or a failed probe. Do not wake a sleeping HEAD for evidence.
319
326
  - Do not run `stop` or `start` for an instance or lane already confirmed intentionally
320
327
  stopped. Use the known prior stop/exit and machine process inventory to establish
321
- this; a missing socket, saved state, or an unrelated receipt is not proof. An absent
322
- or unconfirmed owner, an in-progress wake/rotation, or a failed capture is a reason to
323
- resolve ownership before replacing files, not to mark it stopped or force a start.
328
+ this; a missing socket, saved state, or an unrelated receipt is not proof. If
329
+ capture fails for a previously running instance, follow the recovery path below
330
+ before attempting any replacement.
324
331
 
325
332
  For each affected resident lane, take `id`, `socketPath` and `sessionId` from the
326
333
  corresponding `lanes[]` entry and confirm `placement.target`. On the physical machine
@@ -350,6 +357,33 @@ HEADs, or cannot prove their ownership, leave that installation intact. A HEAD-o
350
357
  update does not replace worker files or require stopping lanes on unchanged
351
358
  installations.
352
359
 
360
+ #### Recover an unreachable Gateway before upgrading
361
+
362
+ An unreachable `gateway.sock` can outlive a crash. The last
363
+ `main.sock.exit.json` may describe an older Host that used the **same** session ID
364
+ and journal. It does not prove the exit of a later PID. Do not manufacture a
365
+ receipt or use that older one to authorize an update.
366
+
367
+ 1. Keep the old installation in place. Establish that the instance was running
368
+ before the incident, was not intentionally stopped, and that no other launch
369
+ or maintenance is in progress. Match the configured state directory to the
370
+ process inventory, including the native HEAD and adapter owner. For a dead
371
+ instance, take a private backup of the state directory before recovery,
372
+ including `coordination.sqlite` and any SQLite sidecars, the session journals,
373
+ and existing receipts. Unix socket files are not needed in the backup.
374
+ 2. Use the **old** CLI with the same account and config to run
375
+ `"$OLD_OMP_SA" start --config "$CONFIG"` once. This is recovery, not proof of
376
+ a clean exit. The native launcher checks recorded dead PIDs and socket
377
+ identities before reclaiming stale endpoints. It does not make a live or
378
+ unverified owner, PID reuse, or a pending restart handoff safe to override.
379
+ If it refuses, or HEAD cannot be identified, keep the old installation and
380
+ backup; do not delete sockets, edit ownership records, or force another start.
381
+ 3. Verify transport, intake, and HEAD readiness and compare the resumed native
382
+ session ID and journal path with the pre-crash records. Do not resubmit
383
+ uncertain inputs. Take a **new** status and physical-socket capture of the
384
+ recovered owners, re-inventory resident lanes, then follow the normal stop
385
+ procedure. Only the recovered owners' verified exit permits replacement.
386
+
353
387
  #### Stop, verify, and replace
354
388
 
355
389
  For a **local** lane, use the private status saved from its managing instance and
@@ -1122,6 +1156,8 @@ completed. Do not add a separate preset block to this configuration file.
1122
1156
  | `discord` | Optional block. If present, `tokenEnv`, `ownerId`, `allowedGuildIds`, and `allowedChannelIds` are all required. |
1123
1157
  | `discord.requireAddressing` | Optional boolean, default `false`. With `true`, in parent channels of allowed servers and threads not created by this bot, only ordinary messages from the owner with an actual mention of this bot or a reply to a message it sent are accepted. |
1124
1158
  | `discord.editProgressInPlace` | Optional boolean, default `false`. With `true`, intermediate progress updates for a Discord request edit one `⏳` status message in place instead of posting new messages. |
1159
+ | `discord.allowCrossChannelThreads` | Optional boolean, default `false`. With `true`, HEAD can explicitly select a different eligible parent in the same Discord bot account, owner, and guild via `lane_start`. |
1160
+ | `discord.crossChannelThreadScope` | Optional `"allowlist"` (default) or `"guild"`. Only applies when `allowCrossChannelThreads` is `true`. Guild scope allows eligible parents outside `allowedChannelIds` in the same allowed server. It does not change request, command, or history authorization. |
1125
1161
  | `telegram` | Optional block. If present, `tokenEnv`, `ownerId`, and `allowedChatIds` are all required. Keep the minus sign on group chat IDs. |
1126
1162
  | `slack` | Optional block. If present, `botTokenEnv`, `appTokenEnv`, `ownerId`, `teamId`, and `allowedChannelIds` are all required. |
1127
1163
  | `groupRooms` | Optional list. Enables the group modes below only for the specified rooms and users. Even the operator has only ordinary group permissions in those rooms. Defaults to an empty list. |
@@ -1380,6 +1416,18 @@ asks you to specify the task with `/new` in the same thread and does not create
1380
1416
  Edited messages, quotes, and attachments do not count as instructions to create a thread.
1381
1417
  The plain-text split instruction does not apply in Discord DMs or on other platforms. The Gateway
1382
1418
  does not use an LLM for classification or execute lanes.
1419
+ A new Discord thread uses the source conversation's parent by default. `/new` and plain
1420
+ split directives keep that parent. When the operator enables `discord.allowCrossChannelThreads`,
1421
+ HEAD can explicitly select another parent via `lane_start` for an authorized owner request.
1422
+ An ordinary request in an unbound thread stays there. The default `"allowlist"` scope requires
1423
+ the destination in `allowedChannelIds`. Explicit `"guild"` scope also permits an unlisted parent
1424
+ in the same trusted guild, with the same bot account and owner. Restricted `groupRooms` remain
1425
+ ineligible. The bot needs permission to create and post in that thread; `thread_inspect`
1426
+ can verify required forum or media tags. Failure does not choose a different parent.
1427
+ The source receives one notice identifying the channel and thread. Work output stays in the
1428
+ thread; HEAD's own acknowledgments are separate. Unlisted threads do not accept requests
1429
+ or commands or enable history reads. Continue work and answer approvals from the original
1430
+ allowed conversation. This setting does not change Discord permissions.
1383
1431
 
1384
1432
  | Platform | Automatic topic creation |
1385
1433
  | --- | --- |
@@ -2200,7 +2248,17 @@ the repository by Git origin, not folder name; local edits and ignored files are
2200
2248
  not synchronized. Start with a clean, committed source tree. The worker reserves
2201
2249
  its checkout for one resident lane; it does not fetch, switch branches, or discard
2202
2250
  edits. Follow-ups stay on the same worker and native session; disconnecting SSH
2203
- does not stop that Host. A cold reopen is held if the checkout has changed.
2251
+ does not stop that Host. After a verified release, a lane can reopen its same
2252
+ session in its recorded worker checkout after ordinary file edits. The original
2253
+ Git revision and checkout identity must still match. Earlier lanes without a
2254
+ recorded physical checkout identity still need the clean checkout check.
2255
+
2256
+ If a worker leaves an untrusted journal, the next scoped probe, placement check,
2257
+ or open can release the checkout only after verifying the exact process exits
2258
+ and that no public socket remains. For a previously attached lane, this also
2259
+ requires proof that guarded shutdown confirmed no native work remained. The old
2260
+ lane stays held for inspection; its journal and permissions are unchanged.
2261
+ Missing proof is not permission to remove a stale-looking checkout claim.
2204
2262
  Chat replies and approval cards use the original route; messenger file transfer
2205
2263
  is not provided across SSH.
2206
2264
  Remote lanes require the normal stock OMP command without extra head-side flags:
@@ -126,6 +126,13 @@ HEAD가 저장소와 작업 범위를 판단하는 데 참고하며, 메모를
126
126
  `lane_start`/`lane_message`의 실제 `workflow: {name, reason}`에는 `jevify` 또는 위 여섯 이름
127
127
  중 하나와 비어 있지 않은 이유를 전달한다. 기존 ULW 호출은 원본 사용자 요청에서만 호환되며,
128
128
  새 구조화 선택에는 쓰지 않는다.
129
+
130
+ 메신저에서 `/head /superstack <작업>`을 보내면 공유 HEAD의 현재 브랜치에서 모드를 켜고
131
+ 관리형 Superkit 스킬로 작업의 처리 방식을 고른다. `/head /superstack`과
132
+ `/head /superstack off`는 Host가 완전히 유휴 상태가 된 뒤 작업 시작 없이 모드를 켜거나 끈다.
133
+ 레인 워크플로 선택값이나 별도로
134
+ 등록된 메신저 명령은 아니다. 실행 중인 구버전 Host는 교체 전까지 시작 시 선택한 Superkit을 쓴다.
135
+
129
136
  기존 source/provenance·dedupe를 유지하며 workflow 선택은 실행 중 steering이 아닌 직렬
130
137
  dispatch다. SUPER 워크플로는 더 가벼운 대안보다 유용한 이유를 남기고 선택한 스킬을 읽는다.
131
138
  호출 이름과 스킬 ID는 다르다. 예를 들어 `super-run`은 `skill://ulw-execute`를 읽는다.
@@ -265,9 +272,8 @@ bun --no-env-file "$PROBE" capture gateway "$GATEWAY_SOCKET" > "$EVIDENCE_DIR/ga
265
272
  증거를 얻으려고 절전 중인 HEAD를 깨우지 않는다.
266
273
  - 의도적으로 이미 중지됐음이 확인된 인스턴스나 레인에는 `stop`도 `start`도 실행하지 않는다.
267
274
  이전 정상 종료 증거와 머신의 프로세스 목록을 대조한다. 소켓 부재·저장된 상태·다른 종료
268
- 영수증으로는 충분하지 않다. 소유자가 보이지 않거나 확인되지 않거나, HEAD 복귀·교체가 진행
269
- 중이거나, 수집에 실패하면 소유 상태를 먼저 확인한다. 중지된 것으로 간주하거나 강제로
270
- 시작하지 않는다.
275
+ 영수증으로는 충분하지 않다. 이전에 실행 중이던 인스턴스의 수집에 실패했다면 파일을
276
+ 교체하기 전에 아래 복구 절차를 따른다.
271
277
 
272
278
  교체할 설치본을 쓰는 각 상주 레인은 해당 `lanes[]` 항목의 `id`, `socketPath`, `sessionId`를
273
279
  확인하고 `placement.target`을 확인한다. 소켓이 있는 실제 머신에서 현재 소유권을 기록한다.
@@ -294,6 +300,28 @@ bun --no-env-file "$PROBE" capture host "$LANE_SOCKET" "$LANE_SESSION" --worker
294
300
  설치본을 그대로 둔다. HEAD 쪽만 업데이트할 때는 바꾸지 않는 설치본의 파일을 교체하거나 그
295
301
  레인을 중지할 필요가 없다.
296
302
 
303
+ #### 응답하지 않는 Gateway부터 복구
304
+
305
+ 비정상 종료 뒤에는 `gateway.sock`이 남아 있어도 응답하지 않을 수 있다. 마지막
306
+ `main.sock.exit.json`이 **같은** 세션 ID와 저널 경로를 가리키더라도 PID가 다르면 이전
307
+ Host의 영수증이다. 기존 영수증을 재사용하거나 새로 만들어 업데이트를 정당화하지 않는다.
308
+
309
+ 1. 기존 설치를 유지한다. 장애 전 실행 중이었으며 의도적으로 중지된 인스턴스가 아닌지,
310
+ 다른 시작이나 점검이 진행 중이지 않은지 확인한다. 설정의 상태 디렉터리를 실제 프로세스
311
+ 목록과 대조하며 native HEAD와 어댑터 소유 프로세스도 확인한다. 모두 종료된
312
+ 인스턴스는 복구 전에 상태 디렉터리를 비공개로 백업한다. `coordination.sqlite`와 함께
313
+ 있는 SQLite 보조 파일, 세션 저널, 기존 영수증을 보존한다. Unix 소켓은 백업할 필요가 없다.
314
+ 2. **구버전** CLI에 동일 계정과 설정을 사용해 `"$OLD_OMP_SA" start --config "$CONFIG"`를
315
+ 한 번 실행한다. 이는 정상 종료 확인이 아니라 장애 복구다. 네이티브 실행기는 기록된 PID의
316
+ 부재와 소켓 식별자를 대조한 뒤 남은 소켓을 정리한다. 살아 있거나 확인되지 않은 소유자,
317
+ PID 재사용, 대기 중인 재시작 인계를 우회하지 않는다. 시작이 거부되거나 HEAD 소유권을
318
+ 확인할 수 없다면 기존 설치와 백업을 유지한다. 소켓을 지우거나 소유권 기록을 편집하거나
319
+ 강제로 다시 시작하지 않는다.
320
+ 3. 전송·접수·HEAD 준비 상태와 복구된 세션 ID·저널 경로가 장애 전 기록과 일치하는지 확인한다.
321
+ 결과가 불확실한 입력을 다시 보내지 않는다. 복구된 실제 소켓에서 상태와 소유권을 **새로**
322
+ 수집하고 상주 레인을 다시 확인한 뒤 아래 중지 절차를 따른다. 복구한 프로세스의 정상 종료가
323
+ 검증된 뒤에만 설치를 교체한다.
324
+
297
325
  #### 중지·검증·교체
298
326
 
299
327
  **로컬 레인**은 관리 인스턴스에서 비공개로 저장한 상태 파일과 해당 Host의 수집 파일을 함께
@@ -947,6 +975,8 @@ high/middle/low는 명시적 `start`의 전용 초기 설정 턴에서 기존
947
975
  | `discord` | 선택 블록. 존재하면 `tokenEnv`, `ownerId`, `allowedGuildIds`, `allowedChannelIds` 모두 필수. |
948
976
  | `discord.requireAddressing` | 선택 불리언, 기본값 `false`. `true`이면 허용된 서버의 부모 채널과 이 봇이 만들지 않은 스레드에서 이 봇의 실제 멘션 또는 이 봇이 보낸 메시지에 대한 답장이 포함된 소유자의 일반 메시지만 접수한다. |
949
977
  | `discord.editProgressInPlace` | 선택 불리언, 기본값 `false`. `true`이면 Discord에서 한 요청의 중간 진행 보고를 새 메시지로 쌓지 않고 하나의 `⏳` 상태 메시지로 제자리 수정한다. |
978
+ | `discord.allowCrossChannelThreads` | 선택 불리언, 기본값 `false`. `true`이면 헤드가 `lane_start`로 인계할 때 같은 봇 계정·소유자·서버의 다른 적격 채널을 새 작업 스레드의 부모로 명시할 수 있다. |
979
+ | `discord.crossChannelThreadScope` | 선택 항목. 기본값 `"allowlist"`, 또는 `"guild"`. `allowCrossChannelThreads`가 `true`일 때만 적용된다. `"guild"`는 같은 허용 서버에서 `allowedChannelIds`에 없는 적격 채널까지 배치 대상으로 허용한다. 요청·명령 접수와 기록 조회 권한은 바뀌지 않는다. |
950
980
  | `telegram` | 선택 블록. 존재하면 `tokenEnv`, `ownerId`, `allowedChatIds` 모두 필수. 그룹 chat ID의 음수 부호를 보존한다. |
951
981
  | `slack` | 선택 블록. 존재하면 `botTokenEnv`, `appTokenEnv`, `ownerId`, `teamId`, `allowedChannelIds` 모두 필수. |
952
982
  | `groupRooms` | 선택 목록. 등록한 방과 사용자에게만 아래 그룹 모드를 열며, 해당 방에서는 운영자도 일반 그룹 권한만 갖는다. 기본값은 빈 목록이다. |
@@ -1166,6 +1196,17 @@ HEAD 답변에서 저장한 리비전을 확인한다. 설정은 재시작 후
1166
1196
  `이건 따로 빼줘`처럼 작업을 특정하지 않으면 같은 스레드에서 `/new`로 작업을 명시해 달라고
1167
1197
  안내하고 새 스레드를 만들지 않는다. 수정 메시지·인용·첨부는 새 스레드 지시가 아니다.
1168
1198
  이 평문 분리 지시는 Discord DM이나 다른 플랫폼에는 적용되지 않는다. Gateway는 LLM 분류나 lane 실행을 하지 않는다.
1199
+ 새 Discord 스레드는 기본적으로 원래 대화의 부모 채널에 만든다. `/new`와 평문 분리
1200
+ 지시는 계속 그 부모를 쓴다. 운영자가 `discord.allowCrossChannelThreads`를 켜면 HEAD가
1201
+ 허용된 소유자 요청을 `lane_start`로 인계하면서 다른 부모를 명시할 수 있다. 연결되지 않은
1202
+ 스레드의 일반 요청은 그 스레드에 남는다. 기본 `"allowlist"` 범위는 `allowedChannelIds`에
1203
+ 있는 채널만 대상으로 삼는다. `"guild"` 범위는 같은 허용 서버·봇 계정·소유자에 한해
1204
+ 목록에 없는 적격 채널도 대상으로 삼는다. `groupRooms`로 제한된 방은 제외하며, 봇이
1205
+ 스레드를 만들고 메시지를 보낼 권한을 실제로 가져야 한다. forum/media 필수 태그는
1206
+ `thread_inspect`로 확인한다. 실패하면 다른 채널로 대체하지 않는다.
1207
+ 원래 대화에는 채널과 스레드를 알리는 배치 안내 한 건을 보낸다. 작업 출력은 새 스레드로
1208
+ 보내고 HEAD 자체 확인은 별개다. 목록에 없는 스레드는 요청·명령 접수나 기록 조회에
1209
+ 사용하지 않는다. 후속 지시와 승인은 원래 허용된 대화에서 한다. Discord 권한은 바꾸지 않는다.
1169
1210
 
1170
1211
  | 플랫폼 | 자동 주제 생성 |
1171
1212
  | --- | --- |
@@ -23,18 +23,52 @@ the worker launches the stock Host and owns its Unix socket, processes and nativ
23
23
  journal. An SSH disconnect is client detach, not cancellation, an exit receipt,
24
24
  or authority to reassign work. Open and attachment are separate from sending
25
25
  the first input. A pending or ambiguous launch must be reconciled on that
26
- worker, never retried on another machine. Remote PIDs and session paths do not
27
- identify local processes or files. See [worker enrollment](../OPERATIONS.en.md#add-a-remote-worker).
26
+ worker, never retried on another machine. If an already attached lane loses
27
+ only its connection, a verified clean exit for that exact generation and
28
+ session clears the connection hold. Reconnection itself never launches a
29
+ Host; new input can reopen the existing session through the ordinary queue.
30
+ The loss of transport and an earlier uncertain input are separate holds.
31
+ A verified exit can clear the transport hold without settling the input or
32
+ releasing its effects. Exact owner resolution then needs no second reconnect
33
+ command; no prior admission or approval is replayed.
34
+ Remote PIDs and session paths do not identify local processes or files.
35
+ See [worker enrollment](../OPERATIONS.en.md#add-a-remote-worker).
36
+
37
+ New worker journals retain stock OMP file modes in a newly created private
38
+ lane directory. The worker records the directory's identity in its private
39
+ ledger before session preparation and verifies it on attach and across
40
+ generations. An existing directory without that provenance keeps the original
41
+ file-permission checks; old journals are not automatically adopted.
28
42
 
29
43
  When several workers qualify, placement accounts for both reported free slots
30
44
  and head assignments waiting to start. Concurrent admissions reserve their
31
45
  selection before the next admission decides, without serializing SSH probes.
32
46
  On the target, a failure before native session preparation releases the slot;
33
47
  after preparation begins, an uncertain attempt keeps its reservation.
48
+ Worker inventory with a verified workspace, probes and new opens reconcile
49
+ existing reservations on demand. If the journal cannot be trusted, an attempt
50
+ that never admitted a remote attachment can release its checkout using a
51
+ matching private native exit receipt or the Rust owner's record of reaping
52
+ its own stock child. For a previously attached attempt, that record must also
53
+ confirm the exact session acknowledged guarded shutdown with no native owned
54
+ work outstanding. Both processes must be gone and no public socket may remain.
55
+ Checkout-only retirement restores capacity without granting session or
56
+ clean-exit proof. It fences reopening the original journal and does not repair
57
+ its permissions or delete any work. An attempt without sufficient proof stays
58
+ held, including an attached worker that crashed without a shutdown acknowledgement.
34
59
  An absent socket alone cannot resolve a pending open: an SSH request may
35
60
  still arrive. Explicit close or resume can seal that generation on the worker
36
61
  before proceeding. A later open for the sealed generation is refused.
37
62
 
63
+ A first placement still matches the exact clean commit on both machines.
64
+ An already released lane may reopen the same verified native session in its
65
+ original physical worker checkout even after ordinary file edits there. The
66
+ worker attests the same enrolled root, Git metadata directory, subdirectory,
67
+ origin and revision; checkout leases and startup restrictions still apply.
68
+ Older bindings with no recorded physical identity keep the clean preflight.
69
+ This does not transfer edits, adopt another checkout or substitute a new
70
+ session if the original cannot be verified.
71
+
38
72
  Only an operator-approved head checkout may use a default worker implicitly;
39
73
  Git origin and commit identify compatible contents, not permission to send a
40
74
  task. Worker verification must not execute checkout-configured Git filters.
@@ -602,6 +636,25 @@ keyword interpretation; keep generated metadata fenced. Selection is
602
636
  serialized, not injected as steering. A conflict or missing advertised
603
637
  capability does not silently downgrade a selected SUPER request to ordinary work.
604
638
 
639
+ HEAD supports native Superstack as a separate branch-local mode, based on
640
+ [omp-superkit `12d19ec96eb44e87acec9492269cbe638392cbef`](https://github.com/dbc-hbin/omp-superkit/tree/12d19ec96eb44e87acec9492269cbe638392cbef).
641
+ For an original owner request routed to HEAD, a leading `/superstack` or
642
+ `superstack` is pinned at admission before checking the native Host's command
643
+ advertisement at dispatch. Discord's physically written text must corroborate
644
+ the selector. Telegram must corroborate it independently of the arguments,
645
+ which may contain protected formatting. Redaction cannot turn a task into a
646
+ toggle. Existing receipts without a selection stay ordinary across replay.
647
+ It is not a messenger control, a lane `workflow` value, or a native goal.
648
+ The native task prefix is followed immediately by the original route envelope,
649
+ so later task prose cannot establish background job ownership. A pending
650
+ selection fences later HEAD prompts and steers. Bare enable and exact `off`
651
+ wait for full native idle and carry no task or envelope. A matching native
652
+ no-model receipt and current-branch journal state confirm the toggle; verified
653
+ non-application cancels, and unavailable evidence holds later work without
654
+ replay. Native flags still govern whether the policy is applied; edits, quoted
655
+ text and reports do not select it. An older Host without the command holds the
656
+ explicit request instead of running it as ordinary work.
657
+
605
658
  SUPER's commands and defaults are based on
606
659
  [omp-superkit `c11a6e4e185f9c31f484a05a13528ef724337bc1`](https://github.com/dbc-hbin/omp-superkit/tree/c11a6e4e185f9c31f484a05a13528ef724337bc1).
607
660
  [Revision `e8825367bed06985ccb1ee1e635dce850e22bbb9`](https://github.com/dbc-hbin/omp-superkit/tree/e8825367bed06985ccb1ee1e635dce850e22bbb9)
@@ -390,12 +390,26 @@ See the [operations guide](../OPERATIONS.en.md#4-commands-and-daily-use) for com
390
390
  quotes. They apply only to original owner messages in physical Discord work
391
391
  threads, not edits, quoted text or attachments. DM and other adapters retain
392
392
  their existing topic behavior.
393
+ - `/new` and plain split directives keep the source parent. With operator opt-in,
394
+ HEAD may select a different native parent for an original authorized owner
395
+ request via `lane_start`. The default `"allowlist"` scope requires the
396
+ destination in `allowedChannelIds`; opt-in `"guild"` scope also permits an
397
+ eligible unlisted parent in the same allowed guild, bot account and owner.
398
+ Restricted `groupRooms` do not qualify. The Gateway verifies actual Discord
399
+ parent identity, capability and permissions before creation. It does not
400
+ add ACLs or fall back after refusal or uncertain creation. An unlisted
401
+ destination is authorized only for the exact confirmed native work thread.
402
+ The grant permits work delivery, not text or command intake or history
403
+ recovery; approvals remain on the original allowed route. The source receives
404
+ one placement notice; progress and final work reports use the work thread.
393
405
  - `/head <request>` explicitly addresses the shared coordination model (Slack:
394
406
  `!head` or `/superagent-head`). Manager handoffs keep HEAD's review path.
395
- When HEAD explicitly uses `lane_message` to continue an existing physical
396
- Discord work thread from its exact authorized guild parent, the controller
397
- records that thread as the handoff's progress and final report route. It
398
- does not change the original input or borrow its parent message as a thread
407
+ When HEAD selects an existing physical Discord work thread from its exact
408
+ authorized guild parent, that thread is the handoff's progress and final
409
+ report route. An opening `lane_start` requires its confirmed kickoff in
410
+ that thread; an explicit `lane_message` pins the route on admission.
411
+ This applies equally to local and enrolled SSH lanes. It does not
412
+ change the original input or borrow its parent message as a thread
399
413
  reply. Replays preserve the recorded destination and do not send a parent
400
414
  copy. Native approvals during HEAD's review still use the original parent
401
415
  route, not the report's destination. Other routes, logical topics and
@@ -420,12 +434,14 @@ See the [operations guide](../OPERATIONS.en.md#4-commands-and-daily-use) for com
420
434
  - Ordinary follow-ups default to native `steer` when their destination has an
421
435
  eligible active run: unbound requests and ordinary `/head` text go to HEAD;
422
436
  ordinary replies in a bound work thread go to its lane without `lane_message`.
437
+ This includes a lane on an enrolled SSH worker.
423
438
  If a follow-up arrives before the native start event, that event rechecks
424
- pending inputs. An idle destination receives a new prompt.
439
+ pending inputs. An idle destination receives a new prompt in the same native
440
+ session after its ownership and readiness are verified.
425
441
  Match the full route including account, authority, thread and topic. A bound
426
442
  reply can join a manager run initiated elsewhere only if its verified delivery
427
443
  route is this exact thread. When steering another manager handoff into or from
428
- a parent-origin thread follow-up, both source conversations and report routes
444
+ a parent-origin thread handoff, both source conversations and report routes
429
445
  must match. A manager handoff keeps its HEAD review mode, with the verified
430
446
  reply route fixed for the joined run, including logical topics backed by native
431
447
  threads. Keep each source and native receipt distinct
@@ -536,7 +552,11 @@ there is no provider fallback or mutation of local quota counters.
536
552
  Thread capability comes from the authenticated adapter. Permission or network
537
553
  failure is not permission to fall back to another destination. Preserve the
538
554
  original binding when creating a sibling topic and journal creation intent before
539
- the remote effect. Discord `thread_inspect` reads actual thread and parent policy;
555
+ the remote effect. An opted-in cross-channel parent is journaled as the requested
556
+ destination, and only the exact thread the adapter recorded for that parent
557
+ reconciles an uncertain creation; a source-parent thread or another thread in
558
+ the destination channel is not evidence of that attempt. Discord
559
+ `thread_inspect` reads actual thread and parent policy;
540
560
  `lane_thread_update` uses the original user source, checks the route and
541
561
  permissions, then reads back title, tags or archived state. Exact tag IDs and
542
562
  required/moderated tag policy apply. Archiving a thread does not pause its lane,
@@ -0,0 +1,9 @@
1
+ # omp-superagent 0.1.16
2
+
3
+ - HEAD supports `/head /superstack <task>` on a Host with a compatible managed omp-superkit revision. `/head /superstack` and `/head /superstack off` wait for the Host to become idle, then change the current HEAD branch without starting work. Command selection is pinned at admission, and HEAD confirms a toggle only after reading back the native branch state. Superstack does not create a goal or become a lane workflow.
4
+ - Discord can place new lane threads in a different eligible parent in the same guild when `discord.allowCrossChannelThreads` is enabled. Placement stays in the source parent by default. The optional `discord.crossChannelThreadScope` defaults to `"allowlist"`; `"guild"` permits eligible unlisted destinations without granting them request, command, approval, or history access.
5
+ - Discord adds the configured owner to bot-created work threads. Scoped work-thread continuations and approvals stay bound to their original authorized routes.
6
+
7
+ **Before upgrading**, follow the [upgrade procedure](https://github.com/dbc-hbin/omp-superagent/blob/v0.1.16/docs/OPERATIONS.en.md#update-an-existing-installation) ([한국어](https://github.com/dbc-hbin/omp-superagent/blob/v0.1.16/docs/OPERATIONS.md#기존-설치-업데이트)). Use the old installation to stop affected resident lanes and Gateway/HEAD and verify their exits. `stop main` alone does not stop independent lanes. Keep the original config and journals, install `omp-superagent@0.1.16`, and restart only previously running Gateways.
8
+
9
+ [Changes since 0.1.15](https://github.com/dbc-hbin/omp-superagent/compare/v0.1.15...v0.1.16)
@@ -0,0 +1,10 @@
1
+ # omp-superagent 0.1.17
2
+
3
+ - Ordinary owner replies in an existing Discord work thread can reach its active local or SSH worker lane directly, without a HEAD model turn. Approvals and explicit manager handoffs still follow their original routes. [#74](https://github.com/dbc-hbin/omp-superagent/pull/74)
4
+ - After a verified clean exit clears a remote lane's connection hold, a new thread message can reopen the same native session on the same worker. Ordinary edits in the original verified checkout no longer prevent that reopen. Previously admitted input, approvals and uncertain effects are not replayed. [#72](https://github.com/dbc-hbin/omp-superagent/pull/72)
5
+ - New remote lane journals keep stock OMP's file modes inside a worker-verified private directory. Older unverified journals are not automatically adopted. A worker with an untrusted journal can release its checkout and capacity only with sufficient proof of process exit and, for a previously attached lane, guarded shutdown with no native owned work outstanding. Releasing the checkout does not make the journal resumable. [#72](https://github.com/dbc-hbin/omp-superagent/pull/72) · [#75](https://github.com/dbc-hbin/omp-superagent/pull/75)
6
+ - A remote Host owner exits unsuccessfully if it cannot verify persistence after reaping its native child, rather than keeping the socket open indefinitely. This is not proof of a clean exit and does not authorize session resume. [#73](https://github.com/dbc-hbin/omp-superagent/pull/73)
7
+
8
+ **Before upgrading**, follow the [upgrade procedure](https://github.com/dbc-hbin/omp-superagent/blob/v0.1.17/docs/OPERATIONS.en.md#update-an-existing-installation) ([한국어](https://github.com/dbc-hbin/omp-superagent/blob/v0.1.17/docs/OPERATIONS.md#기존-설치-업데이트)). Use the old installation to stop affected resident lanes and Gateway/HEAD and verify their exits. If an old Gateway is unreachable, recover it with the old installation first; a receipt for an earlier PID does not authorize replacement. Keep the original config and journals, install `omp-superagent@0.1.17`, and restart only previously running Gateways.
9
+
10
+ [Changes since 0.1.16](https://github.com/dbc-hbin/omp-superagent/compare/v0.1.16...v0.1.17)
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omp-superagent",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "One messenger-connected OMP head with independent work sessions",
5
5
  "license": "MIT",
6
6
  "author": "dbc-hbin",
@@ -27,6 +27,13 @@ work, send a separate update, or grant scope or execution authority.
27
27
 
28
28
  ## Decide before dispatch
29
29
 
30
+ - Honor an original owner's explicit `/superstack` selection on HEAD. When the
31
+ native Host applies [Superstack](skill://superstack), use it to choose the
32
+ smallest method for the current request. It is independent of SUPER and
33
+ applies to this HEAD branch, not to delegated lanes. A skill read, quoted
34
+ command, or mention does not change that setting; never synthesize a toggle
35
+ or forward it as a lane `workflow` choice. Existing authority, routing,
36
+ pause, and approval rules still apply.
30
37
  - Answer repo-free conversation and questions directly. For unbound repository
31
38
  work, use the original request, scoped context, and any advisory lane,
32
39
  workspace, or session coordinates to find and verify the workspace before
@@ -129,14 +129,28 @@ controls Host capacity.
129
129
  contract and name one owner and verification boundary. Checkout separation is not
130
130
  permission to merge, delete a checkout, or touch another lane's uncommitted work.
131
131
  - Keep the original route by default. For work from an unbound Discord thread,
132
- place any new lane in that exact thread, not its parent or a sibling.
132
+ place any new lane in that exact thread, not its parent or a sibling. A source
133
+ in a guild parent channel can also explicitly request alternate placement.
133
134
  For an explicitly requested split from a Discord thread, use the exact
134
135
  authorized parent `destination` with `threadId:null` and no `topicId` to
135
- create a sibling, never a channel or nested thread. Only use an existing
136
- destination when its exact platform/account/authority/guild/channel/thread/topic
136
+ create a sibling thread, never a bare channel destination or nested thread.
137
+ That parent is normally the source thread's own parent. If the operator has
138
+ enabled `discord.allowCrossChannelThreads`, HEAD may choose an eligible
139
+ alternate parent explicitly in `lane_start` for an authorized owner request.
140
+ The `"allowlist"` scope requires an allowed channel; the additional opt-in
141
+ `"guild"` scope can use an unlisted parent in the same trusted guild,
142
+ authenticated bot account and owner. Never select a restricted `groupRooms`
143
+ channel, assume bot permissions, or fall back to another parent. `/new` and
144
+ ordinary split directives still use the source parent. An unlisted thread
145
+ receives work outputs, not messages to the agent; approvals and follow-up
146
+ instructions stay in the original allowed conversation.
147
+ Only use an existing destination when its exact platform/account/authority/guild/channel/thread/topic
137
148
  identity is observed and authorized. DMs without native support use honest
138
149
  logical topics. Never fabricate a thread ID, interaction source message, or Slack
139
- timestamp. Reconcile ambiguous creation before any new thread attempt.
150
+ timestamp. Reconcile ambiguous creation before any new thread attempt. For a
151
+ bot-created thread, the gateway attempts to add the configured owner as a
152
+ member so the thread appears in that owner's Discord channel list; a failed
153
+ add does not prevent thread creation or routing.
140
154
  - For Discord forum/media creation, use `thread_inspect` and observed tag IDs in
141
155
  `lane_start.appliedTags`; respect required tags. For explicit changes to an
142
156
  existing managed Discord thread, use `lane_thread_update` with original source
@@ -188,6 +202,12 @@ necessity, current state/artifact owner, stop and permission limits in the brief
188
202
  or message, not new API fields. Head selection is permitted for the already
189
203
  entrusted objective, not permission to expand it or impersonate the user.
190
204
 
205
+ - **`/superstack`:** HEAD's native branch-local routing policy, not a lane
206
+ workflow. `/head /superstack <task>` routes that task using the installed
207
+ `skill://superstack` policy. `/head /superstack` and `/head /superstack off`
208
+ change the branch setting without starting or resuming work. Follow the
209
+ actual injected policy; do not submit the command yourself. If the Host
210
+ lacks support, do not claim it ran or treat a skill read as activation.
191
211
  - **`jevify`:** Many homogeneous items, a frozen independent classification rubric,
192
212
  and a material context/reading benefit. Prefer deterministic search for exact
193
213
  rules, direct reading for small sets, contextual reasoning for interdependent
@@ -11,6 +11,8 @@ export interface DiscordConfig {
11
11
  allowedChannelIds: string[];
12
12
  readonly requireAddressing?: boolean;
13
13
  readonly editProgressInPlace?: boolean;
14
+ readonly allowCrossChannelThreads?: boolean;
15
+ readonly crossChannelThreadScope?: "allowlist" | "guild";
14
16
  voice?: DiscordVoiceConfig;
15
17
  }
16
18
 
@@ -244,6 +246,12 @@ export function parseConfig(value: unknown, path: string): Config {
244
246
  const editProgressInPlace = discord?.editProgressInPlace;
245
247
  if (editProgressInPlace !== undefined && typeof editProgressInPlace !== "boolean")
246
248
  throw new Error("discord.editProgressInPlace must be a boolean");
249
+ const allowCrossChannelThreads = discord?.allowCrossChannelThreads;
250
+ if (allowCrossChannelThreads !== undefined && typeof allowCrossChannelThreads !== "boolean")
251
+ throw new Error("discord.allowCrossChannelThreads must be a boolean");
252
+ const crossChannelThreadScope = discord?.crossChannelThreadScope;
253
+ if (crossChannelThreadScope !== undefined && crossChannelThreadScope !== "allowlist" && crossChannelThreadScope !== "guild")
254
+ throw new Error("discord.crossChannelThreadScope must be allowlist or guild");
247
255
  if (raw.remoteMemorySync !== undefined && typeof raw.remoteMemorySync !== "boolean")
248
256
  throw new Error("remoteMemorySync must be a boolean");
249
257
  const voice = discord?.voice === undefined ? undefined : record(discord.voice, "discord.voice");
@@ -298,6 +306,8 @@ export function parseConfig(value: unknown, path: string): Config {
298
306
  allowedChannelIds: discordChannels,
299
307
  requireAddressing: requireAddressing ?? false,
300
308
  editProgressInPlace: editProgressInPlace ?? false,
309
+ allowCrossChannelThreads: allowCrossChannelThreads ?? false,
310
+ crossChannelThreadScope: crossChannelThreadScope ?? "allowlist",
301
311
  ...(voiceConfig ? { voice: voiceConfig } : {}),
302
312
  } } : {}),
303
313
  ...(telegram ? { telegram: {
package/src/contracts.ts CHANGED
@@ -421,7 +421,9 @@ export interface StorePort {
421
421
  laneRecoveryScope(reportId: string): LaneRecoveryScope | null;
422
422
  /** Original parent route for a redirected report or a handoff derived from that report. */
423
423
  reportApprovalSource(id: string): InputRecord | null;
424
- /** Manager handoff's verified reply route, pinned for a parent-origin thread follow-up or a joined bound reply. */
424
+ /** Exact existing Discord reply thread for a handoff by its authorized parent, if verified. */
425
+ parentThreadReply(input: InputRecord, source: InputRecord): Route | null;
426
+ /** Manager handoff's verified reply route, pinned for a parent-origin thread handoff or a joined bound reply. */
425
427
  laneReplyRoute(input: InputRecord, source: InputRecord): Route;
426
428
  /** Exact original owner and authorized delivery route for a topic-owned lane input. */
427
429
  topicDelivery(id: string): { readonly source: InputRecord; readonly route: Route; readonly outputSourceId: string } | null;
@@ -474,6 +476,7 @@ export interface StorePort {
474
476
  /** Reopen the verified lane and submit its goal resume together, without admitting a prompt. */
475
477
  submitGoalResume(input: Inbound, target: string, sourceId: string, owner: {
476
478
  requestId: string; generation: number; sessionId: string; sessionFile: string; cursor: string | null; goalId?: string;
479
+ scopedWorkOwnerId?: string;
477
480
  }, priorWorkState?: Lane["workState"]): InputRecord;
478
481
  /** Nonterminal native assistant observation; never settles or dispatches its owner. */
479
482
  progress(id: string, generation: number, sessionId: string, eventId: string, text: string, editInPlace?: boolean): boolean;
@@ -622,10 +625,10 @@ export interface Messenger {
622
625
  showApproval(approval: Approval): Promise<string>;
623
626
  dismissApproval(approval: Approval): Promise<void>;
624
627
  /** Read-only authenticated capability probe; false is unsupported, not a failed creation. */
625
- canCreateThread?(route: Route, appliedTags?: readonly string[]): Promise<boolean>;
626
- createThread(route: Route, title: string, sourceMessageId?: string, appliedTags?: readonly string[]): Promise<Route>;
628
+ canCreateThread?(route: Route, appliedTags?: readonly string[], placementSource?: Route): Promise<boolean>;
629
+ createThread(route: Route, title: string, sourceMessageId?: string, appliedTags?: readonly string[], placementSource?: Route): Promise<Route>;
627
630
  /** Optional native thread management; unsupported transports must not simulate it. */
628
- inspectThread?(route: Route): Promise<ThreadInfo>;
631
+ inspectThread?(route: Route, placementSource?: Route): Promise<ThreadInfo>;
629
632
  updateThread?(route: Route, update: ThreadUpdate): Promise<ThreadInfo>;
630
633
  inspectDiscordContext?(route: Route): Promise<DiscordContext>;
631
634
  discordPurpose?(request: DiscordPurposeRequest): Promise<readonly DiscordPurposeNote[]>;
package/src/extension.ts CHANGED
@@ -89,6 +89,13 @@ const laneModelSelection = {
89
89
  modelReason: Type.String({ minLength: 1 }),
90
90
  } as const;
91
91
  const threadTagsSchema = Type.Array(Type.String({ pattern: "^[0-9]{1,20}$" }), { maxItems: 5, uniqueItems: true });
92
+ const laneRouteSchema = Type.Object({
93
+ platform: Type.Union([Type.Literal("discord"), Type.Literal("telegram"), Type.Literal("slack"), Type.Literal("kakao")]),
94
+ accountId: Type.String(), authorityId: Type.String(),
95
+ guildId: Type.Union([Type.String(), Type.Null()]), channelId: Type.String(),
96
+ threadId: Type.Union([Type.String(), Type.Null()]),
97
+ topicId: Type.Optional(Type.String()),
98
+ });
92
99
  const threadTitleSchema = Type.String({ minLength: 1, maxLength: 100, pattern: "\\S" });
93
100
  const threadChangeFields = {
94
101
  title: Type.Optional(threadTitleSchema),
@@ -356,7 +363,7 @@ export default function superagentExtension(pi: ExtensionAPI): void {
356
363
  });
357
364
  pi.registerTool({
358
365
  name: "lane_start", label: "Start independent work", loadMode: "essential", approval: "exec",
359
- description: "Bind an independent topic to its own OMP session at an explicit cwd. By default create a supported native thread/topic, or reuse the source's existing binding; unsupported private chats use a logical topic. For a clearly new topic inside an existing thread, supply its same authorized parent as destination with threadId:null and no topicId to create a sibling. An existing independent destination binds directly. Do not ask the user to run /new merely to create a topic. Consult lane_models and native judge; choose exactly one model {provider,id} or native preset name, with concise modelReason. The resolved model and full preset snapshot persist; retries/global edits do not retarget the lane. Optional workflow {name,reason} is explicit head selection within the user's authorized objective, never inferred from brief/report prose. It binds to this source/handoff; conflicting retries reject. Native capability/permissions own activation; selecting SUPER through RPC does not create a goal. Returns queued identity, not completion. Small main work stays direct. sourceId is the original trusted request ID.",
366
+ description: "Bind an independent topic to its own OMP session at an explicit cwd. By default create a supported native thread/topic, or reuse the source's existing binding; unsupported private chats use a logical topic. For a clearly new topic inside an existing thread, supply an authorized parent as destination with threadId:null and no topicId to create a sibling. Use the source parent unless discord.allowCrossChannelThreads is enabled. In the same Discord guild, the default scope allows listed parents; explicit guild scope additionally permits a supported parent that the bot can use. Out-of-list placements do not accept new requests there. An existing independent destination binds directly only under the ordinary route policy. Do not ask the user to run /new merely to create a topic. Consult lane_models and native judge; choose exactly one model {provider,id} or native preset name, with concise modelReason. The resolved model and full preset snapshot persist; retries/global edits do not retarget the lane. Optional workflow {name,reason} is explicit head selection within the user's authorized objective, never inferred from brief/report prose. It binds to this source/handoff; conflicting retries reject. Native capability/permissions own activation; selecting SUPER through RPC does not create a goal. Returns queued identity, not completion. Small main work stays direct. sourceId is the original trusted request ID.",
360
367
  parameters: Type.Object({
361
368
  sourceId: Type.String(), title: Type.String(), cwd: Type.String(),
362
369
  kickoff: Type.String({ minLength: 1, description: "A concise message in the user's language stating the concrete approach. Delivered in the work topic before native lane execution; failed or uncertain delivery holds execution." }),
@@ -372,13 +379,7 @@ export default function superagentExtension(pi: ExtensionAPI): void {
372
379
  description: "Execution location for new work at the verified local cwd. Omit for local or an eligible operator-configured default. Remote, platform, or worker requires an approved paired worker and a clean committed Git checkout, with no local fallback. A bound worker can hold execution until ready. Local opts out and cannot be combined with platform or worker.",
373
380
  })),
374
381
  appliedTags: Type.Optional(threadTagsSchema),
375
- destination: Type.Optional(Type.Object({
376
- platform: Type.Union([Type.Literal("discord"), Type.Literal("telegram"), Type.Literal("slack"), Type.Literal("kakao")]),
377
- accountId: Type.String(), authorityId: Type.String(),
378
- guildId: Type.Union([Type.String(), Type.Null()]), channelId: Type.String(),
379
- threadId: Type.Union([Type.String(), Type.Null()]),
380
- topicId: Type.Optional(Type.String()),
381
- })),
382
+ destination: Type.Optional(laneRouteSchema),
382
383
  }),
383
384
  async execute(_id, params, _signal, _onUpdate, ctx) { return result(await requireRuntime(ctx).startLane(params)); },
384
385
  });
@@ -416,12 +417,13 @@ export default function superagentExtension(pi: ExtensionAPI): void {
416
417
  });
417
418
  pi.registerTool({
418
419
  name: "thread_inspect", label: "Inspect Discord forum or thread", approval: "read",
419
- description: "Read the original user source's Discord guild channel/thread, or an explicitly selected managed lane's thread. Returns available tag IDs, required-tag policy, applied tags, title and archive state. Use before selecting appliedTags for lane_start. This never creates a topic or changes lane state.",
420
+ description: "Read the original user source's Discord guild channel/thread, an explicitly selected managed lane's thread, or an eligible alternate guild parent (destination with threadId:null and no topicId, instead of laneId). Returns available tag IDs, required-tag policy, applied tags, title and archive state. Use before selecting appliedTags for lane_start. This never creates a topic, changes lane state, or reads message history.",
420
421
  parameters: Type.Object({
421
422
  sourceId: Type.String({ minLength: 1 }), laneId: Type.Optional(Type.String({ minLength: 1 })),
423
+ destination: Type.Optional(laneRouteSchema),
422
424
  }, { additionalProperties: false }),
423
425
  async execute(_id, params, _signal, _onUpdate, ctx) {
424
- return result(await requireRuntime(ctx).inspectThread(params.sourceId, params.laneId));
426
+ return result(await requireRuntime(ctx).inspectThread(params.sourceId, params.laneId, params.destination));
425
427
  },
426
428
  });
427
429
  pi.registerTool({
@@ -225,14 +225,21 @@ class GatewayMessenger implements GatewayHeadMessenger {
225
225
  }
226
226
  showApproval(approval: Approval): Promise<string> { return this.effect("showApproval", [approval]); }
227
227
  dismissApproval(approval: Approval): Promise<void> { return this.effect("dismissApproval", [approval]); }
228
- canCreateThread(route: Route, appliedTags?: readonly string[]): Promise<boolean> {
228
+ canCreateThread(route: Route, appliedTags?: readonly string[], placementSource?: Route): Promise<boolean> {
229
+ if (placementSource) return this.effect("canCreateThread", [route, appliedTags ?? null, placementSource]);
229
230
  return this.effect("canCreateThread", appliedTags === undefined ? [route] : [route, appliedTags]);
230
231
  }
231
- createThread(route: Route, title: string, sourceMessageId?: string, appliedTags?: readonly string[]): Promise<Route> {
232
+ createThread(route: Route, title: string, sourceMessageId?: string, appliedTags?: readonly string[], placementSource?: Route): Promise<Route> {
233
+ if (placementSource) {
234
+ if (sourceMessageId !== undefined) throw new Error("Cross-channel threads cannot use a source message");
235
+ return this.effect("createThread", [route, title, null, appliedTags ?? null, placementSource]);
236
+ }
232
237
  return this.effect("createThread", appliedTags !== undefined ? [route, title, sourceMessageId ?? null, appliedTags]
233
238
  : sourceMessageId !== undefined ? [route, title, sourceMessageId] : [route, title]);
234
239
  }
235
- inspectThread(route: Route): Promise<ThreadInfo> { return this.effect("inspectThread", [route]); }
240
+ inspectThread(route: Route, placementSource?: Route): Promise<ThreadInfo> {
241
+ return this.effect("inspectThread", placementSource ? [route, placementSource] : [route]);
242
+ }
236
243
  updateThread(route: Route, update: ThreadUpdate): Promise<ThreadInfo> { return this.effect("updateThread", [route, update]); }
237
244
  inspectDiscordContext(route: Route): Promise<DiscordContext> { return this.effect("inspectDiscordContext", [route]); }
238
245
  messengerPresence(request: MessengerPresenceRequest): Promise<DiscordPresenceStatus> {