omp-superagent 0.1.6 → 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.
- package/DESIGN.md +36 -20
- package/README.ko.md +140 -33
- package/README.md +165 -41
- package/THIRD_PARTY_NOTICES.md +9 -7
- package/config.example.json +3 -1
- package/docs/OPERATIONS.md +395 -157
- package/docs/design/execution.md +156 -22
- package/docs/design/messaging.md +258 -52
- package/docs/discord-voice.md +8 -4
- package/docs/releases/0.1.7.md +25 -0
- package/docs/releases/0.1.8.md +21 -0
- package/gateway/bin/omp-gateway-darwin-arm64 +0 -0
- package/gateway/bin/omp-gateway-darwin-x64 +0 -0
- package/gateway/bin/omp-gateway-linux-arm64 +0 -0
- package/gateway/bin/omp-gateway-linux-x64 +0 -0
- package/host-owner/bin/omp-host-owner-darwin-arm64 +0 -0
- package/host-owner/bin/omp-host-owner-darwin-x64 +0 -0
- package/host-owner/bin/omp-host-owner-linux-arm64 +0 -0
- package/host-owner/bin/omp-host-owner-linux-x64 +0 -0
- package/package.json +9 -9
- package/scripts/ci.ts +4 -4
- package/scripts/test-omp.sh +2 -1
- package/skills/head/SKILL.md +26 -5
- package/skills/head/references/routing.md +68 -33
- package/skills/head/references/supervision.md +20 -4
- package/skills/lane/references/workflow.md +16 -7
- package/src/board.ts +5 -3
- package/src/cli.ts +161 -19
- package/src/config.ts +21 -1
- package/src/contracts.ts +63 -8
- package/src/cron-jobs.ts +443 -19
- package/src/cron-pr-intake.ts +257 -0
- package/src/discord-markdown.ts +350 -123
- package/src/extension.ts +78 -13
- package/src/gateway-client.ts +8 -2
- package/src/head-quota.ts +80 -0
- package/src/head-recovery.ts +40 -1
- package/src/host-extension.ts +122 -4
- package/src/host-inventory-manifest.ts +2 -2
- package/src/host-protocol.ts +11 -0
- package/src/host-sdk-helper.ts +121 -12
- package/src/host.ts +175 -57
- package/src/installed-omp.ts +116 -4
- package/src/lane-rows.ts +44 -4
- package/src/lane-watch.ts +339 -0
- package/src/managed-memory-helper.ts +13 -10
- package/src/managed-memory.ts +62 -27
- package/src/managed-ulw-probe.ts +75 -20
- package/src/managed-ulw.ts +174 -21
- package/src/messenger-command-catalog.json +2 -2
- package/src/native-launch-profile.ts +4 -2
- package/src/native-presets.ts +32 -5
- package/src/native-sessions.ts +3 -1
- package/src/native-settings.ts +47 -9
- package/src/observation-request.ts +23 -0
- package/src/omp-usage.ts +254 -36
- package/src/pr-github-schema.ts +5 -1
- package/src/pr-github.ts +68 -19
- package/src/pr-intake-automation.ts +316 -0
- package/src/pr-intake-comment.ts +226 -0
- package/src/pr-intake-fix.ts +233 -0
- package/src/pr-intake-github.ts +480 -0
- package/src/pr-intake-material.ts +230 -0
- package/src/pr-intake-mode.ts +59 -0
- package/src/pr-intake-review.ts +397 -0
- package/src/pr-intake-tree.ts +69 -0
- package/src/pr-intake-work.ts +29 -0
- package/src/pr-watch.ts +91 -32
- package/src/runtime.ts +2702 -391
- package/src/setup-judge.ts +1 -1
- package/src/setup.ts +12 -16
- package/src/store.ts +429 -86
- package/src/topic-history.ts +243 -47
- package/src/worker-checkout.ts +106 -0
- package/src/worker-destination.ts +10 -0
- package/src/worker-doctor.ts +66 -0
- package/src/worker-enrollment.ts +165 -0
- package/src/worker-host.ts +180 -0
- package/src/worker-ledger.ts +188 -0
- package/src/worker-placement.ts +78 -0
- package/src/worker-profile.ts +274 -0
- package/src/worker-registration.ts +288 -0
- package/src/worker-repository.ts +233 -0
- package/src/worker-request.ts +74 -0
- package/src/worker-service.ts +230 -0
- package/src/worker-stdio.ts +61 -0
- package/src/worker-trust.ts +36 -0
- package/src/worker-wire.ts +204 -0
- package/src/workflow.ts +81 -32
- package/src/setup-memory.ts +0 -21
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
|
|
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)
|
|
@@ -103,10 +103,10 @@ service or an OS sandbox; see [Design](DESIGN.md).
|
|
|
103
103
|
|
|
104
104
|
| Step | What it changes |
|
|
105
105
|
| --- | --- |
|
|
106
|
-
| [Install](#1-install) | Prepares dependencies and the managed
|
|
107
|
-
| [`setup`](#2-configure) | Writes `config.local.json` and the owner-only, plaintext `config.local.json.env` (`0600`).
|
|
108
|
-
| [`doctor`](#3-start) | Checks local configuration and effective
|
|
109
|
-
| [`start`](#3-start) |
|
|
106
|
+
| [Install](#1-install) | Prepares dependencies and the managed omp-superkit integration. Does not start a bot or replace OMP. |
|
|
107
|
+
| [`setup`](#2-configure) | Writes `config.local.json` and the owner-only, plaintext `config.local.json.env` (`0600`). The final save discloses any needed OMP global memory change and bot avatar updates. Starts no bot or model session. |
|
|
108
|
+
| [`doctor`](#3-start) | Checks local configuration and whether the effective OMP memory backend is enabled, without writing settings or logging into the messengers. |
|
|
109
|
+
| [`start`](#3-start) | Applies the native memory fallback if needed, then starts the detached Gateway and head and connects all configured messengers. |
|
|
110
110
|
| [Discord voice](docs/discord-voice.md) | Off by default. A rejected subscription call never switches to API billing. |
|
|
111
111
|
| [`/stop`](#working-from-chat) | Pauses the bound lane. Approvals, cancellations, tool exclusions, and uncertain-effect holds remain binding. |
|
|
112
112
|
|
|
@@ -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.
|
|
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,8 +123,8 @@ 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.
|
|
127
|
-
**
|
|
126
|
+
CLI checks capabilities, not a version range. CI tests **OMP 19.1.1**;
|
|
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;
|
|
130
130
|
runtime/script wrappers are unsupported.
|
|
@@ -132,11 +132,10 @@ runtime/script wrappers are unsupported.
|
|
|
132
132
|
<details>
|
|
133
133
|
<summary><strong>SDK pin and CI reproduction</strong></summary>
|
|
134
134
|
|
|
135
|
-
The SDK
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
(or `v18.20.3`) for OMP 18. Each verifies the release binary and runs the same suite.
|
|
135
|
+
The SDK is pinned to the [upstream `v19.1.1` commit](https://github.com/can1357/oh-my-pi/commit/31ffee513f27a01bba7d4dfbe12bae239cdc646a).
|
|
136
|
+
`bun run test:ci` tests the installed OMP. Use `bun run test:baseline` to reproduce
|
|
137
|
+
the SDK-matched CI check. OMP 18 is manual only: `bash scripts/test-omp.sh v18.22.2`
|
|
138
|
+
(or `v18.20.3`) verifies the release binary and runs the same suite locally.
|
|
140
139
|
The separate weekly/manual **OMP upstream compatibility** workflow tests the latest
|
|
141
140
|
published CLI without falling back to the baseline or blocking releases.
|
|
142
141
|
|
|
@@ -157,11 +156,11 @@ 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.
|
|
159
|
+
bun add --global --trust omp-superagent@0.1.8
|
|
161
160
|
omp-sa --help
|
|
162
161
|
```
|
|
163
162
|
|
|
164
|
-
`--trust` allows package lifecycle scripts, including preparation of the managed
|
|
163
|
+
`--trust` allows package lifecycle scripts, including preparation of the managed omp-superkit integration.
|
|
165
164
|
Ensure `bun pm bin --global` is on `PATH`.
|
|
166
165
|
|
|
167
166
|
<details>
|
|
@@ -170,10 +169,10 @@ 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.
|
|
172
|
+
npm install --global omp-superagent@0.1.8
|
|
174
173
|
```
|
|
175
174
|
|
|
176
|
-
Keep lifecycle scripts enabled for the managed
|
|
175
|
+
Keep lifecycle scripts enabled for the managed omp-superkit integration.
|
|
177
176
|
|
|
178
177
|
</details>
|
|
179
178
|
|
|
@@ -200,6 +199,9 @@ CLI with automatic `.env` loading disabled.
|
|
|
200
199
|
|
|
201
200
|
### 2. Configure
|
|
202
201
|
|
|
202
|
+
For optional remote execution, configure the head normally, then follow
|
|
203
|
+
[Add a remote worker](#add-a-remote-worker). The worker does **not** need a messenger setup.
|
|
204
|
+
|
|
203
205
|
Prepare your platform apps using the [operations guide](docs/OPERATIONS.md#2-플랫폼별-앱과-접근-범위),
|
|
204
206
|
then run:
|
|
205
207
|
|
|
@@ -218,12 +220,15 @@ credentials take precedence. Configure model authentication through OMP.
|
|
|
218
220
|
</td></tr></table>
|
|
219
221
|
|
|
220
222
|
Setup does not start a bot or model session. Its final save confirmation includes
|
|
221
|
-
replacing configured Discord/Telegram bot avatars with the mascot
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
223
|
+
replacing configured Discord/Telegram bot avatars with the mascot and discloses a
|
|
224
|
+
native memory change when needed. Managed head and lane workspaces accept any
|
|
225
|
+
supported effective OMP memory backend other than `off`. If the selected profile
|
|
226
|
+
is unconfigured or memory is off at the global layer, setup sets only that
|
|
227
|
+
profile's global `memory.backend` to `mnemopi` after the confirmed save. There is no
|
|
228
|
+
separate memory prompt. Project and launch overrides are not rewritten. If memory
|
|
229
|
+
is still disabled or cannot be verified, setup keeps the saved files and reports
|
|
230
|
+
incomplete. Setup recommends configuring a missing native judge role but does not
|
|
231
|
+
choose or call a model.
|
|
227
232
|
|
|
228
233
|
See [configuration and setup effects](docs/OPERATIONS.md#3-설정) for permissions,
|
|
229
234
|
memory behavior, alternative config paths, and manual configuration.
|
|
@@ -236,9 +241,11 @@ Check local configuration without logging into the messengers:
|
|
|
236
241
|
omp-sa doctor --config ./config.local.json
|
|
237
242
|
```
|
|
238
243
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
244
|
+
`doctor` reports a disabled or unverifiable backend without changing it. Gateway
|
|
245
|
+
start/restart and each managed Host launch apply the same default/global fallback
|
|
246
|
+
as setup, including for existing configurations. Each Host checks its own
|
|
247
|
+
workspace. Explicit disabled project or launch overrides still block startup.
|
|
248
|
+
Start the detached Gateway and head, connecting **all configured messengers**:
|
|
242
249
|
|
|
243
250
|
```sh
|
|
244
251
|
omp-sa start --config ./config.local.json
|
|
@@ -266,29 +273,131 @@ For status, shutdown, macOS login startup, and recovery, use the
|
|
|
266
273
|
[operations guide](docs/OPERATIONS.md). Login startup is a one-shot launch, not a
|
|
267
274
|
crash supervisor; Linux service installation is not provided.
|
|
268
275
|
|
|
276
|
+
## Add a remote worker
|
|
277
|
+
|
|
278
|
+
Use this when the head should open an ordinary lane on another machine, for example
|
|
279
|
+
when you say **“test this repository on Linux.”** Only the head needs messenger
|
|
280
|
+
credentials. Use a build with `omp-sa worker` on **both** machines (for an unreleased
|
|
281
|
+
checkout, use the source installation above, not an older npm release).
|
|
282
|
+
|
|
283
|
+
1. **On the worker:** install Git, Bun, stock OMP and `omp-superagent` as above.
|
|
284
|
+
Install the executables and `omp-superagent` outside the checkout you want to
|
|
285
|
+
enroll, in paths that other users cannot replace.
|
|
286
|
+
Configure the worker account's own OMP provider access (not a shell-command
|
|
287
|
+
API key or remote auth broker) and enable its native
|
|
288
|
+
memory backend (for example `omp config set memory.backend mnemopi` if none
|
|
289
|
+
is enabled). Prepare a dedicated clean clone of the same Git repository
|
|
290
|
+
**at the requested commit**. Enable **OpenSSH
|
|
291
|
+
server** for this account over your private network (e.g. a tailnet). The
|
|
292
|
+
endpoint must enforce OpenSSH `authorized_keys` forced commands; Tailscale
|
|
293
|
+
SSH's own login policy is not a substitute. No public port, second head,
|
|
294
|
+
`omp-sa setup` or `omp-sa start` is needed on the worker.
|
|
295
|
+
2. **On the head:** verify the worker's SSH host-key fingerprint with its operator
|
|
296
|
+
and trust it in the head account's `known_hosts`. Use a directly resolvable DNS
|
|
297
|
+
name/IP, not a nickname from `~/.ssh/config`. If Tailscale SSH handles port 22,
|
|
298
|
+
use a separate OpenSSH listener on the private network, pin its host key as
|
|
299
|
+
`[host]:port` in `known_hosts`, and use `dev@linux-box:port` in both `worker add`
|
|
300
|
+
calls. For the default SSH port:
|
|
301
|
+
```sh
|
|
302
|
+
omp-sa worker add dev@linux-box --config ./config.local.json
|
|
303
|
+
```
|
|
304
|
+
3. **On the worker, as `dev`:** run the `worker init` command printed in step 2.
|
|
305
|
+
Keep its generated **public** head key and replace the example repository path:
|
|
306
|
+
```sh
|
|
307
|
+
omp-sa worker init --head-key 'ssh-ed25519 …' --repo "$HOME/src/my-app"
|
|
308
|
+
```
|
|
309
|
+
This authorizes a dedicated forced-command key in that account's
|
|
310
|
+
`~/.ssh/authorized_keys`. Do not copy the head's private key, bot tokens or
|
|
311
|
+
configuration. Use a dedicated OS account if the worker should not have access
|
|
312
|
+
to your other files: an OMP lane runs tools as the worker user, not in a sandbox.
|
|
313
|
+
4. **Back on the head:** repeat the same `worker add` command. Enrollment is complete
|
|
314
|
+
when the head reports **`verified`**, not when it prints the initial pairing
|
|
315
|
+
instructions. To prefer this worker for one **specific head checkout**,
|
|
316
|
+
repeat `worker add` with `--default --local-repo /path/on/head/my-app`.
|
|
317
|
+
Omitting `--local-repo` uses the configured `headCwd`. Other checkouts with
|
|
318
|
+
the same Git origin do not inherit permission to send ordinary tasks there.
|
|
319
|
+
|
|
320
|
+
Use `omp-sa worker list --config ./config.local.json` to see verified enrollments
|
|
321
|
+
without contacting the workers. To check one now, run
|
|
322
|
+
`omp-sa worker doctor dev@linux-box --config ./config.local.json` using the exact
|
|
323
|
+
enrolled destination, including its port if specified. It checks the worker identity
|
|
324
|
+
and available slots. For a default worker it also verifies the current revision of
|
|
325
|
+
the approved head checkout. A blocked check exits nonzero; neither command starts a lane.
|
|
326
|
+
|
|
327
|
+
Now ask for a remote lane or name the required platform in chat. Superagent matches
|
|
328
|
+
the repository by Git origin, not folder name; local edits and ignored files are
|
|
329
|
+
not synchronized. Start with a clean, committed source tree. The worker reserves
|
|
330
|
+
its checkout for one resident lane; it does not fetch, switch branches, or discard
|
|
331
|
+
edits. Follow-ups stay on the same worker and native session; disconnecting SSH
|
|
332
|
+
does not stop that Host. A cold reopen is held if the checkout has changed.
|
|
333
|
+
Chat replies and approval cards use the original route; messenger file transfer
|
|
334
|
+
and access to the head's local SQLite board are not provided across SSH.
|
|
335
|
+
Remote lanes require the normal stock OMP command without extra head-side flags:
|
|
336
|
+
custom tool/profile/approval flags are never silently removed to run remotely.
|
|
337
|
+
Use a dedicated worker OMP profile without ambient plugins. Worker startup
|
|
338
|
+
rejects project execution configuration (such as `.omp/`, `.env` or Git filter
|
|
339
|
+
drivers), linked worktrees and submodules rather than loading or rewriting
|
|
340
|
+
them. An operator who needs a custom model extension can list its trusted,
|
|
341
|
+
absolute module path in a private `worker-extensions.json` array in the worker's
|
|
342
|
+
OMP agent directory (`0600`, outside enrolled checkouts).
|
|
343
|
+
Check `omp-sa status --config ./config.local.json` for the saved placement.
|
|
344
|
+
To revoke new SSH connections, remove **only this enrollment's key** on the
|
|
345
|
+
worker. That is not a stop command for an already running lane.
|
|
346
|
+
|
|
269
347
|
## Working from chat
|
|
270
348
|
|
|
271
|
-
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
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
|
|
358
|
+
that need no workspace directly. For “check login in client-ui,” it uses your request and
|
|
359
|
+
its conversation context to find and verify the workspace before assigning work. It asks a
|
|
360
|
+
focused question only if a material ambiguity remains; it does not use a default repository
|
|
361
|
+
or the last active chat. If you asked from an unbound Discord thread, HEAD keeps any
|
|
362
|
+
resulting work there unless you explicitly ask for a split.
|
|
363
|
+
- Use `cwd: /absolute/workspace` on the first line to specify a workspace, `/new <request>`
|
|
364
|
+
to start a separate topic, or reply directly to a placed task or its delivered message to reuse
|
|
365
|
+
its known workspace without copying its history.
|
|
366
|
+
- With active, searchable Mnemopi on the head, describe earlier work from any allowed
|
|
367
|
+
owner channel, e.g. “continue the login bug investigation from last week.” The
|
|
368
|
+
controller uses Mnemopi recall and verifies candidates against this instance's
|
|
369
|
+
eligible session journals. Other enabled memory backends can run managed sessions
|
|
370
|
+
but do not support this historical topic search.
|
|
277
371
|
A cross-channel continuation uses the matched workspace and relevant task evidence, not
|
|
278
372
|
the original channel binding, transcript or approvals. Choose by number if multiple tasks match.
|
|
279
|
-
- If the workspace is unclear, reply to the question with a known repository name or absolute
|
|
280
|
-
directory. An explicit `cwd: /absolute/workspace` on the first line still overrides inference.
|
|
281
373
|
- Use `/head <request>` for coordination or direct global work. Repositories and
|
|
282
374
|
topics keep independent lane context; voice metadata does not imply transcription.
|
|
283
375
|
- Use `/help` and `/status` for controls and state. `/model` and `/effort` manage the
|
|
284
376
|
idle head session, not existing lanes or global defaults. You can also ask the head
|
|
285
377
|
with `/head` to switch its own model after that turn. Global preset changes
|
|
286
378
|
require explicit `--global`. Slack's message commands use `!`.
|
|
287
|
-
- `/usage` shows
|
|
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.
|
|
288
385
|
- To receive a generated file, start an owner request with `attach: path/to/result.pdf` (relative to the work directory).
|
|
289
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.
|
|
290
387
|
- Ask `/head` to summarize CI every two hours, or use `/cron add "every 2h" Summarize CI`, and
|
|
291
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.
|
|
292
401
|
- `/stop` pauses the bound lane; `/resume` authorizes continuation. Approvals,
|
|
293
402
|
cancellations, tool exclusions, and uncertain-effect holds remain binding.
|
|
294
403
|
Neither progress reports nor recovery prove task completion or undo external effects.
|
|
@@ -310,11 +419,18 @@ See [commands, approvals, and everyday use](docs/OPERATIONS.md#4-명령과-일
|
|
|
310
419
|
for command registration, restart and recovery semantics, and platform differences.
|
|
311
420
|
Repository changes alone do not update a running service.
|
|
312
421
|
|
|
313
|
-
##
|
|
422
|
+
## SUPER workflows
|
|
314
423
|
|
|
315
|
-
[omp-superkit](https://github.com/dbc-hbin/omp-superkit) is installed and loaded as a managed integration
|
|
316
|
-
|
|
317
|
-
|
|
424
|
+
[omp-superkit](https://github.com/dbc-hbin/omp-superkit) is installed and loaded as a managed integration;
|
|
425
|
+
loading it does not activate a workflow. To request one in chat, begin the work request
|
|
426
|
+
with `super`, `super-plan`, `super-run`, `super-loop`, `super-research`, or `super-graph`.
|
|
427
|
+
These correspond to the upstream OMP commands `/super`, `/super-plan`, `/super-run`,
|
|
428
|
+
`/super-loop`, `/super-research`, and `/super-graph`, not messenger slash commands.
|
|
429
|
+
See the [workflow table](docs/design/execution.md#workflow-selection) for their purposes,
|
|
430
|
+
installed skill IDs, and exact upstream revision.
|
|
431
|
+
|
|
432
|
+
The head may select a workflow when the authorized task genuinely benefits from it.
|
|
433
|
+
Ordinary work can stay in a direct session, native task, or regular lane.
|
|
318
434
|
|
|
319
435
|
Updates apply to new Hosts, not running heads or lanes. See
|
|
320
436
|
[managed integration operations](docs/OPERATIONS.md#필수-관리형-omp-superkit-설치와-갱신)
|
|
@@ -333,7 +449,7 @@ bun run test:ci
|
|
|
333
449
|
See [developer verification and source release steps](docs/OPERATIONS.md#6-개발자-검증)
|
|
334
450
|
for offline native/PTY coverage, prerequisites, and local packaging/publication boundaries.
|
|
335
451
|
The [current CI matrix](https://github.com/dbc-hbin/omp-superagent/blob/main/.github/workflows/ci.yml)
|
|
336
|
-
|
|
452
|
+
uses the stock CLI matching the pinned SDK.
|
|
337
453
|
[Historical results](docs/releases/0.1.0.md#verification-records) apply only to the
|
|
338
454
|
recorded versions and scenarios. Offline CI does not verify live accounts or production readiness.
|
|
339
455
|
|
|
@@ -346,12 +462,20 @@ recorded versions and scenarios. Offline CI does not verify live accounts or pro
|
|
|
346
462
|
| [Execution and coordination](docs/design/execution.md) | lanes, native Host lifecycle, models, workflows, managed integration, monitoring, and the board. |
|
|
347
463
|
| [Operations guide](docs/OPERATIONS.md) | platform setup, commands, and recovery. |
|
|
348
464
|
| [Voice configuration guide](docs/discord-voice.md) | Codex subscription voice or the separately billed API. |
|
|
349
|
-
| Releases | [Release notes](docs/releases/0.1.
|
|
465
|
+
| Releases | [Release notes](docs/releases/0.1.8.md) and [historical verification records](docs/releases/0.1.0.md#verification-records). |
|
|
350
466
|
|
|
351
467
|
Built on [oh-my-pi](https://github.com/can1357/oh-my-pi), with
|
|
352
468
|
[omp-superkit](https://github.com/dbc-hbin/omp-superkit) workflow integration.
|
|
353
469
|
The mascot reimagines OMP's pi mark as a little superhero.
|
|
354
470
|
|
|
471
|
+
[Jay (@Momentum96)](https://github.com/Momentum96) contributed the original
|
|
472
|
+
[Discord addressing filter (#29)](https://github.com/dbc-hbin/omp-superagent/pull/29)
|
|
473
|
+
and proposed [remote lane parity (#30)](https://github.com/dbc-hbin/omp-superagent/pull/30),
|
|
474
|
+
[worker onboarding and diagnostics (#32)](https://github.com/dbc-hbin/omp-superagent/pull/32),
|
|
475
|
+
and [macOS GUI workers (#33)](https://github.com/dbc-hbin/omp-superagent/pull/33).
|
|
476
|
+
The enrolled SSH worker keeps its existing launch model; the diagnostics, custom SSH
|
|
477
|
+
port, and remote decision checks build on those proposals, not the GUI launcher.
|
|
478
|
+
|
|
355
479
|
## License
|
|
356
480
|
|
|
357
481
|
Project code is licensed under [MIT](LICENSE). Third-party components retain their
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -378,15 +378,17 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
378
378
|
OMP. Registration is distinct from Gateway readiness and does not establish
|
|
379
379
|
successful reboot or operational-account round-trip verification.
|
|
380
380
|
|
|
381
|
-
## Managed
|
|
381
|
+
## Managed omp-superkit: separately licensed package and bundled skills
|
|
382
382
|
|
|
383
383
|
- Source: [dbc-hbin/omp-superkit](https://github.com/dbc-hbin/omp-superkit) (formerly `omp-ulw`);
|
|
384
384
|
management configuration: `upstream/ulw.json`. Packages are prepared separately
|
|
385
385
|
under `.upstream/ulw/revisions/<revision>/package`; `active.json` identifies the
|
|
386
|
-
selected revision. The inspected snapshot was
|
|
386
|
+
selected revision. The previously inspected snapshot was
|
|
387
387
|
[`1625e0de2e4807f1cfdac19e6b54578af1329951`](https://github.com/dbc-hbin/omp-superkit/tree/1625e0de2e4807f1cfdac19e6b54578af1329951).
|
|
388
|
+
The current SUPER command and skill contract was inspected at
|
|
389
|
+
[`c11a6e4e185f9c31f484a05a13528ef724337bc1`](https://github.com/dbc-hbin/omp-superkit/tree/c11a6e4e185f9c31f484a05a13528ef724337bc1).
|
|
388
390
|
- This project's MIT license does not grant a license to that separate package or
|
|
389
|
-
override its per-file licenses and attribution.
|
|
391
|
+
override its per-file licenses and attribution. Neither inspected snapshot has a
|
|
390
392
|
root LICENSE or `package.json` license declaration; no blanket package license
|
|
391
393
|
is asserted here.
|
|
392
394
|
- Bundled `skills/{browser,coding-agent-sessions,ultimate-browsing}/LICENSE.md`
|
|
@@ -400,16 +402,16 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
400
402
|
(`Copyright (c) 2026 T3 Tools Inc.`).
|
|
401
403
|
- Consult the selected package's license and attribution files before using or
|
|
402
404
|
redistributing it. Preserve those files and applicable modification notices;
|
|
403
|
-
the Dori non-copy statements above do not imply that
|
|
405
|
+
the Dori non-copy statements above do not imply that omp-superkit's bundled skills are MIT.
|
|
404
406
|
|
|
405
407
|
## OMP: installed runtime and published SDK
|
|
406
408
|
|
|
407
|
-
- SDK/API baseline: [can1357/oh-my-pi v19.
|
|
409
|
+
- SDK/API baseline: [can1357/oh-my-pi v19.1.1](https://github.com/can1357/oh-my-pi/tree/31ffee513f27a01bba7d4dfbe12bae239cdc646a).
|
|
408
410
|
- The operator installs OMP separately. This repository does not patch, build,
|
|
409
411
|
or redistribute an OMP executable. Local native tests discover that installed
|
|
410
412
|
runtime by default. CI verifies OMP release binaries against their checksum
|
|
411
|
-
manifests
|
|
412
|
-
|
|
413
|
+
manifests. PR and release runs use the SDK-matched CLI on Linux and macOS;
|
|
414
|
+
OMP 18 checks are manual.
|
|
413
415
|
- `src/host-broker-services.ts` implements a read-only subset of the
|
|
414
416
|
[stock OMP 18.22.2 launch broker protocol](https://github.com/can1357/oh-my-pi/tree/e1ae2cc998efd1ca151b46ebefc0e0dab6c23c63/packages/coding-agent/src/launch).
|
|
415
417
|
It uses the published native IPC and lock primitives without copying the broker
|
package/config.example.json
CHANGED
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"tokenEnv": "DISCORD_BOT_TOKEN",
|
|
11
11
|
"ownerId": "REPLACE_WITH_OWNER_USER_ID",
|
|
12
12
|
"allowedGuildIds": ["REPLACE_WITH_GUILD_ID"],
|
|
13
|
-
"allowedChannelIds": ["REPLACE_WITH_PARENT_CHANNEL_ID"]
|
|
13
|
+
"allowedChannelIds": ["REPLACE_WITH_PARENT_CHANNEL_ID"],
|
|
14
|
+
"requireAddressing": false,
|
|
15
|
+
"editProgressInPlace": false
|
|
14
16
|
},
|
|
15
17
|
"telegram": {
|
|
16
18
|
"tokenEnv": "TELEGRAM_BOT_TOKEN",
|