omp-superagent 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/DESIGN.md +21 -14
  2. package/README.ko.md +33 -15
  3. package/README.md +35 -14
  4. package/THIRD_PARTY_NOTICES.md +3 -3
  5. package/config.example.json +2 -1
  6. package/docs/OPERATIONS.md +232 -74
  7. package/docs/design/execution.md +54 -10
  8. package/docs/design/messaging.md +177 -43
  9. package/docs/discord-voice.md +8 -4
  10. package/docs/releases/0.1.8.md +21 -0
  11. package/gateway/bin/omp-gateway-darwin-arm64 +0 -0
  12. package/gateway/bin/omp-gateway-darwin-x64 +0 -0
  13. package/gateway/bin/omp-gateway-linux-arm64 +0 -0
  14. package/gateway/bin/omp-gateway-linux-x64 +0 -0
  15. package/host-owner/bin/omp-host-owner-darwin-arm64 +0 -0
  16. package/host-owner/bin/omp-host-owner-darwin-x64 +0 -0
  17. package/host-owner/bin/omp-host-owner-linux-arm64 +0 -0
  18. package/host-owner/bin/omp-host-owner-linux-x64 +0 -0
  19. package/package.json +8 -8
  20. package/scripts/ci.ts +3 -3
  21. package/scripts/test-omp.sh +2 -1
  22. package/src/cli.ts +3 -0
  23. package/src/config.ts +5 -0
  24. package/src/contracts.ts +26 -5
  25. package/src/cron-jobs.ts +443 -19
  26. package/src/cron-pr-intake.ts +257 -0
  27. package/src/discord-markdown.ts +350 -123
  28. package/src/extension.ts +9 -1
  29. package/src/head-quota.ts +80 -0
  30. package/src/head-recovery.ts +40 -1
  31. package/src/host-extension.ts +120 -4
  32. package/src/host-protocol.ts +11 -0
  33. package/src/host-sdk-helper.ts +105 -10
  34. package/src/host.ts +111 -29
  35. package/src/installed-omp.ts +116 -4
  36. package/src/managed-ulw.ts +137 -24
  37. package/src/messenger-command-catalog.json +1 -1
  38. package/src/native-presets.ts +32 -5
  39. package/src/omp-usage.ts +254 -36
  40. package/src/pr-github.ts +4 -2
  41. package/src/pr-intake-automation.ts +316 -0
  42. package/src/pr-intake-comment.ts +226 -0
  43. package/src/pr-intake-fix.ts +233 -0
  44. package/src/pr-intake-github.ts +480 -0
  45. package/src/pr-intake-material.ts +230 -0
  46. package/src/pr-intake-mode.ts +59 -0
  47. package/src/pr-intake-review.ts +397 -0
  48. package/src/pr-intake-tree.ts +69 -0
  49. package/src/pr-intake-work.ts +29 -0
  50. package/src/runtime.ts +1504 -192
  51. package/src/store.ts +249 -49
  52. package/src/topic-history.ts +30 -17
package/DESIGN.md CHANGED
@@ -4,9 +4,10 @@ Superagent connects one OMP head to Discord, Telegram, and Slack. The head can
4
4
  work directly or delegate to independent native OMP sessions called **lanes**.
5
5
  The Gateway keeps the messenger connection and durable intake alive without
6
6
  running a model. All configured messenger owners are the **same trusted operator**.
7
- Ordinary owner work stays in the native session bound to its topic. Otherwise,
8
- HEAD takes ordinary requests to answer directly or verify a workspace and assign
9
- work. Explicit placement and historical lookup remain controller paths.
7
+ Ordinary owner work stays in the native session bound to its topic. Unbound
8
+ ordinary requests go to the shared HEAD model to answer directly or verify a
9
+ workspace and assign work. Explicit placement, historical lookup and
10
+ code-handled controls do not require a shared-model turn to route.
10
11
  In a [bound Discord work thread](docs/design/messaging.md#topic-routing-and-controls),
11
12
  historical continuation and its replies stay there unless the operator explicitly
12
13
  asks to split. Separately,
@@ -19,7 +20,7 @@ or lanes. This is not a multitenant service or an OS sandbox.
19
20
  - [Execution and coordination](docs/design/execution.md): lanes, native Host lifecycle,
20
21
  models, workflows, managed integration, monitoring, and the board.
21
22
  - [Setup and operations](docs/OPERATIONS.md): configuration, commands, and recovery procedures.
22
- - [Release records](docs/releases/0.1.0.md#verification-records): dated evidence and its limits.
23
+ - [Versioned release records](docs/releases/): dated evidence and its limits.
23
24
 
24
25
  <picture>
25
26
  <source media="(prefers-color-scheme: dark)" srcset="assets/architecture-dark.svg">
@@ -36,7 +37,7 @@ or lanes. This is not a multitenant service or an OS sandbox.
36
37
  | CLI and setup | Configuration, credentials, doctor, start/status/stop and one-shot macOS registration. | [CLI](src/cli.ts), [config](src/config.ts), [setup](src/setup.ts), [credentials](src/credentials.ts), [autostart](src/autostart.ts) |
37
38
  | Gateway | One Rust process authenticates the configured adapters, admits intake durably, proxies scoped messenger effects and supervises exactly one head. It never connects to lane RPC or decides work. | [Gateway](gateway/src/main.rs), [server](gateway/src/server.rs), [ingress ledger](gateway/src/store.rs), [client](src/gateway-client.ts), [adapter hub](gateway/src/adapter.rs) |
38
39
  | Head | Its controller owns intake, placement, approvals and delivery. The shared model handles ordinary unbound requests, explicit `/head` work and manager coordination, not ordinary bound-topic prompts or their answers. | [Head extension](src/extension.ts), [runtime](src/runtime.ts), [coordination store](src/store.ts) |
39
- | Lane | Runs its assigned work in its own native session with its own cwd, model and context; reports to the head, not directly to a messenger. | [Lane extension](src/lane-extension.ts), [lane reporting](src/lane-report.ts), [role instructions](skills/lane/SKILL.md) |
40
+ | Lane | Runs work in its own native session with its own cwd, model and context. Topic answers go through the controller outbox without a shared-model synthesis turn; manager handoffs report to the head. Neither sends directly to a messenger. | [Lane extension](src/lane-extension.ts), [lane reporting](src/lane-report.ts), [role instructions](skills/lane/SKILL.md) |
40
41
  | Host | One installed OMP process owns each managed root session. A detached Rust process owns its stdin/stdout and private reconnectable socket; it does not run inference, tools, or supervision policy. | [Host client](src/host.ts), [stdio owner](host-owner/src/main.rs), [SDK helper](src/host-sdk-helper.ts), [native lifecycle extension](src/host-extension.ts) |
41
42
  | Board | An informational log in `coordination.sqlite` shared by registered head/lane sessions in the same instance. Not a command, approval, or delivery bus. | [Board](src/board.ts), [board extension](src/board-extension.ts) |
42
43
 
@@ -165,26 +166,32 @@ lifecycle control, not a model turn. It can be admitted while the head is busy:
165
166
 
166
167
  ## Stock OMP and verification scope
167
168
 
168
- The [package manifest](package.json) pins the published SDK to **19.0.0**, with
169
- upstream [v19.0.0 source](https://github.com/can1357/oh-my-pi/commit/57771ae562b9345e0579bceb2d68d585e3e6927e).
169
+ The [package manifest](package.json) pins the published SDK to **19.1.1**, with
170
+ upstream [v19.1.1 source](https://github.com/can1357/oh-my-pi/commit/31ffee513f27a01bba7d4dfbe12bae239cdc646a).
170
171
  That pin is not a CLI version allowlist. [CLI inspection](src/installed-omp.ts)
171
172
  checks CLI identity, public `rpc-ui`, resume, extension and model flags, and the
172
- advertised process interface. Host initialization checks the real RPC/extension
173
+ advertised process interface. A process reuses an inspection only while the
174
+ configured executable's resolved regular file (path, device, inode, size, mtime,
175
+ ctime), its resolved shebang interpreter and the inspected loader environment
176
+ are unchanged. Failures are never reused. Host initialization checks the real RPC/extension
173
177
  surface. Do not patch or build OMP, use the in-tree SDK as the CLI, or use a
174
178
  runtime wrapper in place of the native CLI.
175
179
 
176
180
  [CI](https://github.com/dbc-hbin/omp-superagent/actions/workflows/ci.yml)
177
- runs the SDK-matched official CLI on Linux and macOS. OMP 18 can still be tested
178
- locally with `bash scripts/test-omp.sh <release-tag>`. `bun run test:ci` uses the installed
181
+ uses the SDK-matched official CLI for the baseline tests on Linux x64 and macOS
182
+ ARM64. Separate jobs build and verify installation of the npm payload on Linux
183
+ and macOS on both architectures; see the [packaging procedure](docs/OPERATIONS.md#소스npm-릴리즈).
184
+ OMP 18 can still be tested locally with `bash scripts/test-omp.sh <release-tag>`.
185
+ `bun run test:ci` uses the installed
179
186
  CLI; `bun run test:baseline` downloads and verifies the SDK-matched official binary.
180
187
  The [weekly/manual compatibility workflow](https://github.com/dbc-hbin/omp-superagent/actions/workflows/omp-compatibility.yml)
181
188
  checks the latest upstream release without falling back or changing SDK pins.
182
189
  These local fixtures cover native RPC/Host, Gateway and setup surfaces; they do not
183
190
  prove live messenger accounts, provider requests or costs, or login/reboot behavior.
184
- Treat CI configuration as a test matrix, not a test result. For example, the
185
- [v0.1.3 tag run](https://github.com/dbc-hbin/omp-superagent/actions/runs/44695941397)
186
- passed the configured stock CLI checks for that release. See the [release
187
- notes](docs/releases/0.1.3.md) and historical records for their respective scopes.
191
+ Treat CI configuration as a test matrix, not a test result. Use the Actions
192
+ run for the exact commit or tag for results. Past evidence, such as the
193
+ [v0.1.3 tag run](https://github.com/dbc-hbin/omp-superagent/actions/runs/44695941397),
194
+ applies only to that release's configured checks, not to the current SDK baseline.
188
195
 
189
196
  Same-process native TUI/herdr attachment to managed RPC Hosts is **unsupported**.
190
197
  Native session discovery and ordinary resume are not attachment or a grant of
package/README.ko.md CHANGED
@@ -82,7 +82,8 @@
82
82
  </picture>
83
83
 
84
84
  Gateway는 메신저 연결·수신 장부·헤드 수명을 관리하는 데몬입니다. 작업을 판단하고 레인을 지시하는 주체는 헤드입니다.
85
- 헤드 런타임이 승인과 전송을 관리하되, 연결된 레인의 진행·답변은 전역 모델을 거치지 않습니다.
85
+ 헤드 런타임이 승인과 전송을 관리합니다. 연결된 주제의 일반 후속 요청은 해당 레인이 처리하며,
86
+ 전역 모델을 거치지 않고 답변을 전달합니다.
86
87
 
87
88
  [구조도 Mermaid 원본](assets/architecture.mmd)
88
89
 
@@ -103,7 +104,7 @@ OS 샌드박스가 아닙니다. 자세한 내용은 [설계(영문)](DESIGN.md)
103
104
  ## 배포 형태
104
105
 
105
106
  [npm 패키지](https://www.npmjs.com/package/omp-superagent)를 Bun 또는 npm으로 설치하거나
106
- [GitHub Release](https://github.com/dbc-hbin/omp-superagent/releases/tag/v0.1.7)의 소스·npm tarball을 받으세요.
107
+ [GitHub Release](https://github.com/dbc-hbin/omp-superagent/releases/tag/v0.1.8)의 소스·npm tarball을 받으세요.
107
108
  실행에는 Bun이 필요하며 독립 실행 바이너리는 아닙니다. 설치 시 관리형 의존성을 준비합니다.
108
109
  Host를 실행하려면 별도로 설치한 OMP가 필요하며, 이 프로젝트가 패치하거나 빌드하지 않습니다.
109
110
 
@@ -111,14 +112,13 @@ Host를 실행하려면 별도로 설치한 OMP가 필요하며, 이 프로젝
111
112
 
112
113
  현재 소스는 Git, **Bun >= 1.4.4**, 로컬 Unix socket을 사용합니다. 패키지 설치에는 OMP가
113
114
  필요 없습니다. Host를 실행할 때는 별도로 설치한 OMP의 기능을 검사하며, 버전 범위로 제한하지
114
- 않습니다. CI 기준판은 **OMP 19.0.0**이며, **18.20.3과 18.22.2**는 이전 릴리스에서 검증했습니다.
115
+ 않습니다. CI 기준판은 **OMP 19.1.1**이며, **18.20.3과 18.22.2**는 이전 릴리스에서 검증했습니다.
115
116
  Windows는 지원하지 않습니다.
116
117
 
117
118
  <details>
118
119
  <summary><strong>SDK 고정 버전과 CI 재현</strong></summary>
119
120
 
120
- SDK는 **19.0.0**으로 유지하며 upstream 커밋은
121
- [`57771ae562b9345e0579bceb2d68d585e3e6927e`](https://github.com/can1357/oh-my-pi/commit/57771ae562b9345e0579bceb2d68d585e3e6927e)입니다.
121
+ SDK는 [upstream `v19.1.1` 커밋](https://github.com/can1357/oh-my-pi/commit/31ffee513f27a01bba7d4dfbe12bae239cdc646a)에 맞춰 고정합니다.
122
122
  `bun run test:ci`는 현재 설치된 OMP를 검사합니다. CI 기준판을 재현하려면 `bun run test:baseline`을
123
123
  사용하세요. OMP 18은 수동 검사만 제공합니다. `bash scripts/test-omp.sh v18.22.2` 또는 `v18.20.3`을
124
124
  지정하면 해당 공식 바이너리를 검증한 뒤 같은 회귀를 로컬에서 실행합니다.
@@ -140,7 +140,7 @@ OMP 19 데몬은 이전 브로커의 서비스를 인수하지 않습니다.
140
140
  OMP 자체를 설치하려면 [공식 설치 안내](https://github.com/can1357/oh-my-pi#install)를 참고하세요.
141
141
 
142
142
  ```sh
143
- bun add --global --trust omp-superagent@0.1.7
143
+ bun add --global --trust omp-superagent@0.1.8
144
144
  omp-sa --help
145
145
  ```
146
146
 
@@ -153,7 +153,7 @@ omp-sa --help
153
153
  Bun이 `PATH`에 있다면 npm으로도 설치할 수 있습니다.
154
154
 
155
155
  ```sh
156
- npm install --global omp-superagent@0.1.7
156
+ npm install --global omp-superagent@0.1.8
157
157
  ```
158
158
 
159
159
  postinstall이 필수 관리형 omp-superkit 통합을 준비하므로 설치 스크립트를 생략하지 마세요.
@@ -317,9 +317,13 @@ SSH가 끊겨도 Host 자체는 종료되지 않습니다. Host가 종료된 뒤
317
317
 
318
318
  ## 사용 방법
319
319
 
320
- - `디스코드 봇 온라인 상태 유지해 줘`, `owner/repo#35 CI가 통과하면 알려줘`, `이 작업이 멈추거나 끝나면 알려줘`처럼 요청하세요. 같은 대화에서 상태를 묻거나 감시만 중지할 수 있습니다. 감시가 PR 병합이나 작업 중지를 허가하지는 않습니다. Discord 온라인 표시를 꺼도 메시지는 계속 받습니다.
321
- - 이미 연결된 작업 스레드나 주제에서는 저장소 이름이나 명령 없이 후속 메시지를 보내면 그 작업을 이어갑니다.
322
- - 그 밖에서는 요청을 그대로 보내세요. 저장소 이름을 안다면 `client-ui에서 로그인 오류 봐줘`처럼 적어도 됩니다.
320
+ - `discord.requireAddressing`을 켜면(기본값은 꺼짐), 허용된 서버의 부모 채널이나 이 봇이 만들지
321
+ 않은 스레드에서는 이 봇을 멘션하거나 같은 대화에서 이 봇이 보낸 메시지에 답장해야 운영자의
322
+ 일반 메시지가 접수됩니다. 이 봇이 만든 스레드에서는 멘션·답장이 필요 없고, 운영자 DM과 앱 명령은 그대로입니다.
323
+ - 일반 후속 요청은 같은 대화에 보내세요. 연결된 작업 스레드에서는 해당 레인으로, 헤드가 처리하는
324
+ 대화나 `/head 요청`은 HEAD로 갑니다. `/steer` 없이도 조건을 충족하면 다음 OMP steering 경계에서
325
+ 실행 중인 작업에 반영하고, 유휴 상태라면 새 턴을 시작합니다. 일시정지·승인·불확실한 효과에 대한 보류는 유지합니다.
326
+ - 새 요청은 그대로 보내세요. 저장소 이름을 안다면 `client-ui에서 로그인 오류 봐줘`처럼 적어도 됩니다.
323
327
  HEAD는 저장소가 필요 없는 질문에는 직접 답하고, 작업에는 요청과 해당 대화의 문맥을 바탕으로 실제
324
328
  작업 디렉터리를 찾아 확인한 뒤 배정합니다. 중요한 모호함이 남을 때만 구체적으로 묻습니다.
325
329
  기본 저장소나 마지막으로 활동한 채팅을 기준으로 삼지 않습니다. 아직 연결되지 않은 Discord
@@ -333,12 +337,26 @@ SSH가 끊겨도 Host 자체는 종료되지 않습니다. Host가 종료된 뒤
333
337
  바꾸며 기존 레인·전역 기본값은 유지합니다. `/head`로 헤드 모델 변경을 요청하면
334
338
  해당 턴이 끝난 뒤 적용합니다. 전역 프리셋 저장은 명시적 `--global`이 필요합니다.
335
339
  Slack 일반 메시지 명령은 `!`를 씁니다.
336
- - `/usage`는 순정 OMP가 보고한 제공자별 계정 한도와 리셋 시각을 모델 호출 없이 보여줍니다.
340
+ - `/usage`는 OMP가 조회한 기본·확장 제공자의 계정별 한도와 리셋 시각을 마스킹된 계정 이름과 함께 보여줍니다. 모델은 호출하지 않습니다.
341
+ - `/usage reset`은 계정별 보유 리셋권을 보여줍니다. 계정을 고르고 **Confirm**을 누르면 지금 쓸 수
342
+ 있는 리셋권 한 개를 사용합니다. 계정 지정 리셋을 지원하는 순정 OMP가 필요합니다.
343
+ 이와 별개로, 도구 실행이나 부분 응답 없이 Codex 한도 초과가 확인된 경우 HEAD는 새 사용량 보고에서
344
+ 회복을 확인한 뒤 후속 대기 요청을 처리합니다. 리셋권을 쓰거나 실패한 요청을 완료 처리·재실행하지 않습니다.
337
345
  - 결과 파일을 받으려면 운영자 요청 첫 줄에 `attach: 보고서/결과.pdf`처럼 작업 디렉터리 상대 경로를 적으세요.
338
346
  - 단체방·서버에서는 [제한 그룹 모드](docs/OPERATIONS.md#단체방서버-권한-분리)로 허용된 사용자에게 요청 접수, 도구 없는 채팅 또는 worktree 편집을 열 수 있습니다. 운영자 세션 권한은 주지 않습니다.
339
347
  - `/head 2시간마다 CI 상태를 요약해서 여기로 보내줘`라고 요청하거나
340
- `/cron add "every 2h" CI 상태를 요약해줘`로 직접 등록하고,
341
- `/cron list`로 확인합니다. [예약 작업 명령](docs/OPERATIONS.md#예약-작업-cron)으로 수정·중지·재개·즉시 실행·삭제할 수 있습니다.
348
+ `/cron add "every 2h" CI 상태를 요약해줘`로 직접 등록한 뒤, 같은 대화에서
349
+ [`/cron`](docs/OPERATIONS.md#예약-작업-cron)으로 관리합니다. 예약 프롬프트에는 HEAD의
350
+ 일반 승인 규칙이 적용되며, 직접 셸 예약(`/cron add shell`)은 비활성화되어 있습니다.
351
+ - `디스코드 봇 온라인 상태 유지해 줘`, `owner/repo#35 CI가 통과하면 알려줘`,
352
+ `이 작업이 멈추거나 끝나면 알려줘`처럼 요청하세요. 같은 대화에서 상태를 묻거나 감시를 중지할 수
353
+ 있습니다. 감시는 알림만 보냅니다. PR을 변경하거나 작업을 중지하지 않으며, Discord 온라인 표시를
354
+ 꺼도 메시지는 계속 받습니다.
355
+ - [외부 PR 자동화](docs/OPERATIONS.md#새-외부-pr-검토-cron-pr-add)는 감시와 별개입니다.
356
+ 허용된 Discord 서버의 부모 채널에서 `/cron pr-add`로 본인의 `gh` 인증 계정이 소유한
357
+ 저장소를 명시적으로 등록합니다. 신규 등록은 기본적으로 무인 리뷰와 GitHub 코멘트만 남깁니다.
358
+ 수정 커밋이나 병합을 자동화하려면 `/cron pr-mode`로 상위 모드를 선택해야 하며,
359
+ 병합에는 독립 승인·필수 CI·브랜치 보호 규칙 충족이 필요합니다.
342
360
  - `/stop`은 연결 레인을 일시정지하고 `/resume`은 재개를 허가합니다. 승인·취소·도구 제외와
343
361
  불확실한 효과에 대한 보류는 유지합니다. 진척 보고·복구가 작업 완료의 검증이나 외부 효과의
344
362
  취소를 뜻하지 않으며, 저장된 goal은 crash replay나 로드되지 않은 상태의 실행을 보장하지 않습니다.
@@ -387,7 +405,7 @@ bun run test:ci
387
405
  오프라인 native/PTY 범위·필요 도구·로컬 패키징과 게시 경계는
388
406
  [개발자 검증·소스 릴리즈 절차](docs/OPERATIONS.md#6-개발자-검증)를 참고하세요.
389
407
  [현재 CI](https://github.com/dbc-hbin/omp-superagent/blob/main/.github/workflows/ci.yml)는
390
- 순정 OMP 19.0.0을 검사 대상에 포함합니다.
408
+ 고정된 SDK와 같은 버전의 순정 CLI를 검사합니다.
391
409
  [과거 실행 기록](docs/releases/0.1.0.md#verification-records)은 기록된 버전과 시나리오에만 적용됩니다.
392
410
  오프라인 CI는 실계정 접속이나 운영 준비 완료를 보증하지 않습니다.
393
411
 
@@ -400,7 +418,7 @@ bun run test:ci
400
418
  | [실행과 조율(영문)](docs/design/execution.md) | 레인·native Host 수명·모델·workflow·관리형 통합·모니터링·게시판. |
401
419
  | [운영 가이드](docs/OPERATIONS.md) | 설치·설정·명령·복구 절차. |
402
420
  | [Discord 음성채팅](docs/discord-voice.md) | Codex 구독 음성 또는 별도 과금되는 API 음성 선택. |
403
- | 릴리즈 | [릴리즈 노트](docs/releases/0.1.7.md) 및 [과거 검증 기록](docs/releases/0.1.0.md#verification-records). |
421
+ | 릴리즈 | [릴리즈 노트](docs/releases/0.1.8.md) 및 [과거 검증 기록](docs/releases/0.1.0.md#verification-records). |
404
422
 
405
423
  [oh-my-pi](https://github.com/can1357/oh-my-pi)를 기반으로 하며, workflow에는 [omp-superkit](https://github.com/dbc-hbin/omp-superkit)을 사용합니다.
406
424
 
package/README.md CHANGED
@@ -91,7 +91,7 @@
91
91
  </picture>
92
92
 
93
93
  The **Gateway** owns messenger connections and the head's lifecycle. The **head** owns
94
- lane control, approvals and delivery. A topic's **lane** handles its own follow-ups;
94
+ lane control, approvals and delivery. A bound topic's **lane** handles its ordinary follow-ups;
95
95
  the controller returns its replies without a global model turn.
96
96
 
97
97
  [Mermaid source](assets/architecture.mmd)
@@ -114,7 +114,7 @@ service or an OS sandbox; see [Design](DESIGN.md).
114
114
 
115
115
  Install from [npm](https://www.npmjs.com/package/omp-superagent) or use the source
116
116
  and npm tarballs from the
117
- [GitHub Release](https://github.com/dbc-hbin/omp-superagent/releases/tag/v0.1.7).
117
+ [GitHub Release](https://github.com/dbc-hbin/omp-superagent/releases/tag/v0.1.8).
118
118
  Install with Bun or npm below. Bun is still required at runtime; this is not a
119
119
  standalone binary. Installation prepares the managed dependencies. Running a Host
120
120
  requires a separately installed OMP; this project neither patches nor builds it.
@@ -123,7 +123,7 @@ requires a separately installed OMP; this project neither patches nor builds it.
123
123
 
124
124
  This checkout requires Git, **Bun >= 1.4.4**, and local Unix sockets. Installing the
125
125
  package does not require OMP. To run a Host, install stock OMP separately; the
126
- CLI checks capabilities, not a version range. CI tests **OMP 19.0.0**;
126
+ CLI checks capabilities, not a version range. CI tests **OMP 19.1.1**;
127
127
  **18.20.3 and 18.22.2** were tested in earlier releases.
128
128
  Windows is unsupported.
129
129
  Configure `command` with the installed OMP executable followed by native CLI flags;
@@ -132,8 +132,7 @@ runtime/script wrappers are unsupported.
132
132
  <details>
133
133
  <summary><strong>SDK pin and CI reproduction</strong></summary>
134
134
 
135
- The SDK stays pinned to **19.0.0**, from upstream `v19.0.0` commit
136
- [`57771ae562b9345e0579bceb2d68d585e3e6927e`](https://github.com/can1357/oh-my-pi/commit/57771ae562b9345e0579bceb2d68d585e3e6927e).
135
+ The SDK is pinned to the [upstream `v19.1.1` commit](https://github.com/can1357/oh-my-pi/commit/31ffee513f27a01bba7d4dfbe12bae239cdc646a).
137
136
  `bun run test:ci` tests the installed OMP. Use `bun run test:baseline` to reproduce
138
137
  the SDK-matched CI check. OMP 18 is manual only: `bash scripts/test-omp.sh v18.22.2`
139
138
  (or `v18.20.3`) verifies the release binary and runs the same suite locally.
@@ -157,7 +156,7 @@ To install OMP separately, see the
157
156
  [upstream instructions](https://github.com/can1357/oh-my-pi#install).
158
157
 
159
158
  ```sh
160
- bun add --global --trust omp-superagent@0.1.7
159
+ bun add --global --trust omp-superagent@0.1.8
161
160
  omp-sa --help
162
161
  ```
163
162
 
@@ -170,7 +169,7 @@ Ensure `bun pm bin --global` is on `PATH`.
170
169
  Alternatively, with Bun on `PATH`:
171
170
 
172
171
  ```sh
173
- npm install --global omp-superagent@0.1.7
172
+ npm install --global omp-superagent@0.1.8
174
173
  ```
175
174
 
176
175
  Keep lifecycle scripts enabled for the managed omp-superkit integration.
@@ -347,10 +346,15 @@ worker. That is not a stop command for an already running lane.
347
346
 
348
347
  ## Working from chat
349
348
 
350
- - Ask “keep the Discord bot online”, “watch `owner/repo#35` and tell me when CI passes”, or “let me know when this lane stalls or finishes”. Ask for status or stop the watch in the same conversation. A watch does not authorize a merge or stop the work. Discord presence controls only the bot's indicator, not its ability to receive messages.
351
- - Send follow-ups in the existing work thread or topic to continue its task. No repository
352
- name or command is needed.
353
- - Elsewhere, send the request itself, even if it names a repository. HEAD answers questions
349
+ - With `discord.requireAddressing` enabled (off by default), ordinary owner messages in
350
+ allowed server parent channels and threads this bot did not create must mention this
351
+ bot or reply to one of its messages in the same conversation. Threads this bot created
352
+ do not require a mention or reply; owner DMs and app commands are unaffected.
353
+ - Send ordinary follow-ups in the same conversation. They go to the bound lane in a work
354
+ thread and to HEAD in a head conversation or with `/head <request>`. No `/steer` is
355
+ needed: eligible follow-ups steer an active run at an OMP steering boundary, or start
356
+ a new turn if idle. Pause, approval, and uncertain-effect holds still apply.
357
+ - For a new request, send the request itself, even if it names a repository. HEAD answers questions
354
358
  that need no workspace directly. For “check login in client-ui,” it uses your request and
355
359
  its conversation context to find and verify the workspace before assigning work. It asks a
356
360
  focused question only if a material ambiguity remains; it does not use a default repository
@@ -372,11 +376,28 @@ worker. That is not a stop command for an already running lane.
372
376
  idle head session, not existing lanes or global defaults. You can also ask the head
373
377
  with `/head` to switch its own model after that turn. Global preset changes
374
378
  require explicit `--global`. Slack's message commands use `!`.
375
- - `/usage` shows provider account quotas and reset times reported by stock OMP, without a model turn.
379
+ - `/usage` shows masked account names, quotas, and reset times for built-in and extension-provided usage sources reported by stock OMP, without a model turn.
380
+ - `/usage reset` shows saved reset tickets by account. Select an account and choose **Confirm**
381
+ to spend one available ticket; this requires stock OMP with account-targeted reset support.
382
+ Separately, after a proven Codex quota rejection with no tool calls or partial answer,
383
+ HEAD releases later queued requests when fresh usage evidence confirms recovery. It does
384
+ not spend a ticket, mark the failed request complete, or replay it.
376
385
  - To receive a generated file, start an owner request with `attach: path/to/result.pdf` (relative to the work directory).
377
386
  - For a shared server or room, [configure restricted group access](docs/OPERATIONS.md#단체방서버-권한-분리) for request intake, tool-free chat or scoped worktree edits. These rooms cannot operate the owner session.
378
387
  - Ask `/head` to summarize CI every two hours, or use `/cron add "every 2h" Summarize CI`, and
379
388
  manage it from the same chat with [`/cron`](docs/OPERATIONS.md#예약-작업-cron).
389
+ Scheduled prompts use HEAD's normal approval rules; direct shell schedules
390
+ (`/cron add shell`) are disabled.
391
+ - Ask “keep the Discord bot online”, “watch `owner/repo#35` and tell me when CI passes”,
392
+ or “let me know when this lane stalls or finishes”. Ask for status or stop the watch
393
+ in the same conversation. Watches only notify; they do not act on PRs or stop work.
394
+ Discord presence changes the bot's indicator, not message intake.
395
+ - [External PR automation](docs/OPERATIONS.md#새-외부-pr-검토-cron-pr-add) is separate:
396
+ explicitly enroll a repository owned by your authenticated `gh` account with
397
+ `/cron pr-add` from an allowed Discord server parent channel. New enrollments default to
398
+ unattended review and a GitHub comment only. For automatic fix commits or merges, choose
399
+ a higher mode with `/cron pr-mode`; merges still require independent approval, required
400
+ CI, and branch protection checks.
380
401
  - `/stop` pauses the bound lane; `/resume` authorizes continuation. Approvals,
381
402
  cancellations, tool exclusions, and uncertain-effect holds remain binding.
382
403
  Neither progress reports nor recovery prove task completion or undo external effects.
@@ -428,7 +449,7 @@ bun run test:ci
428
449
  See [developer verification and source release steps](docs/OPERATIONS.md#6-개발자-검증)
429
450
  for offline native/PTY coverage, prerequisites, and local packaging/publication boundaries.
430
451
  The [current CI matrix](https://github.com/dbc-hbin/omp-superagent/blob/main/.github/workflows/ci.yml)
431
- includes stock OMP 19.0.0.
452
+ uses the stock CLI matching the pinned SDK.
432
453
  [Historical results](docs/releases/0.1.0.md#verification-records) apply only to the
433
454
  recorded versions and scenarios. Offline CI does not verify live accounts or production readiness.
434
455
 
@@ -441,7 +462,7 @@ recorded versions and scenarios. Offline CI does not verify live accounts or pro
441
462
  | [Execution and coordination](docs/design/execution.md) | lanes, native Host lifecycle, models, workflows, managed integration, monitoring, and the board. |
442
463
  | [Operations guide](docs/OPERATIONS.md) | platform setup, commands, and recovery. |
443
464
  | [Voice configuration guide](docs/discord-voice.md) | Codex subscription voice or the separately billed API. |
444
- | Releases | [Release notes](docs/releases/0.1.7.md) and [historical verification records](docs/releases/0.1.0.md#verification-records). |
465
+ | Releases | [Release notes](docs/releases/0.1.8.md) and [historical verification records](docs/releases/0.1.0.md#verification-records). |
445
466
 
446
467
  Built on [oh-my-pi](https://github.com/can1357/oh-my-pi), with
447
468
  [omp-superkit](https://github.com/dbc-hbin/omp-superkit) workflow integration.
@@ -406,12 +406,12 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
406
406
 
407
407
  ## OMP: installed runtime and published SDK
408
408
 
409
- - SDK/API baseline: [can1357/oh-my-pi v19.0.0](https://github.com/can1357/oh-my-pi/tree/57771ae562b9345e0579bceb2d68d585e3e6927e).
409
+ - SDK/API baseline: [can1357/oh-my-pi v19.1.1](https://github.com/can1357/oh-my-pi/tree/31ffee513f27a01bba7d4dfbe12bae239cdc646a).
410
410
  - The operator installs OMP separately. This repository does not patch, build,
411
411
  or redistribute an OMP executable. Local native tests discover that installed
412
412
  runtime by default. CI verifies OMP release binaries against their checksum
413
- manifests; PR and release runs cover OMP 18.22.2 and the SDK-matched release,
414
- and also check OMP 18.20.3 on Ubuntu.
413
+ manifests. PR and release runs use the SDK-matched CLI on Linux and macOS;
414
+ OMP 18 checks are manual.
415
415
  - `src/host-broker-services.ts` implements a read-only subset of the
416
416
  [stock OMP 18.22.2 launch broker protocol](https://github.com/can1357/oh-my-pi/tree/e1ae2cc998efd1ca151b46ebefc0e0dab6c23c63/packages/coding-agent/src/launch).
417
417
  It uses the published native IPC and lock primitives without copying the broker
@@ -11,7 +11,8 @@
11
11
  "ownerId": "REPLACE_WITH_OWNER_USER_ID",
12
12
  "allowedGuildIds": ["REPLACE_WITH_GUILD_ID"],
13
13
  "allowedChannelIds": ["REPLACE_WITH_PARENT_CHANNEL_ID"],
14
- "requireAddressing": false
14
+ "requireAddressing": false,
15
+ "editProgressInPlace": false
15
16
  },
16
17
  "telegram": {
17
18
  "tokenEnv": "TELEGRAM_BOT_TOKEN",