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.
- package/DESIGN.md +21 -14
- package/README.ko.md +33 -15
- package/README.md +35 -14
- package/THIRD_PARTY_NOTICES.md +3 -3
- package/config.example.json +2 -1
- package/docs/OPERATIONS.md +232 -74
- package/docs/design/execution.md +54 -10
- package/docs/design/messaging.md +177 -43
- package/docs/discord-voice.md +8 -4
- 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 +8 -8
- package/scripts/ci.ts +3 -3
- package/scripts/test-omp.sh +2 -1
- package/src/cli.ts +3 -0
- package/src/config.ts +5 -0
- package/src/contracts.ts +26 -5
- 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 +9 -1
- package/src/head-quota.ts +80 -0
- package/src/head-recovery.ts +40 -1
- package/src/host-extension.ts +120 -4
- package/src/host-protocol.ts +11 -0
- package/src/host-sdk-helper.ts +105 -10
- package/src/host.ts +111 -29
- package/src/installed-omp.ts +116 -4
- package/src/managed-ulw.ts +137 -24
- package/src/messenger-command-catalog.json +1 -1
- package/src/native-presets.ts +32 -5
- package/src/omp-usage.ts +254 -36
- package/src/pr-github.ts +4 -2
- 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/runtime.ts +1504 -192
- package/src/store.ts +249 -49
- package/src/topic-history.ts +30 -17
package/docs/design/execution.md
CHANGED
|
@@ -60,12 +60,14 @@ references](../../skills/head/SKILL.md) for operating policy.
|
|
|
60
60
|
| `thread_inspect`, `lane_thread_update` and the `decision_*` tools | Use the [messaging and authority contract](messaging.md) for scope, original thread/approval identities and readback. |
|
|
61
61
|
|
|
62
62
|
Send only the original task, relevant evidence, constraints and acceptance
|
|
63
|
-
criteria to a lane; never copy the full head transcript.
|
|
64
|
-
with the exact observed head model,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
criteria to a lane; never copy the full head transcript. Controller-created
|
|
64
|
+
topics start with the exact observed head model, while explicit manager
|
|
65
|
+
handoffs use the model or preset selected at `lane_start`. Subsequent work
|
|
66
|
+
uses the topic's own saved model and session. Ordinary bound-topic work replies
|
|
67
|
+
in the operator's language through the controller outbox. Explicit manager
|
|
68
|
+
handoffs and their internal reports use English. No lane gains messenger
|
|
69
|
+
credentials. Distinguish dispatch acceptance, actual execution, native
|
|
70
|
+
settlement, verified acceptance criteria, and user delivery.
|
|
69
71
|
|
|
70
72
|
The [`lane_report` tool](../../src/lane-extension.ts) records evidence in the
|
|
71
73
|
native journal. It hashes selected files in bounded chunks, verifying their identity
|
|
@@ -106,7 +108,13 @@ file, or a lease alone. Release ownership and the slot only after actual native
|
|
|
106
108
|
exit; a shutdown ACK is not exit. Reload the same native session when authorized.
|
|
107
109
|
|
|
108
110
|
The resident Rust owner speaks the stock JSONL/v2 protocol. Bun and the published SDK still
|
|
109
|
-
prepare and publish the native session under its exact profile.
|
|
111
|
+
prepare and publish the native session under its exact profile. One short-lived
|
|
112
|
+
[SDK helper](../../src/host-sdk-helper.ts) per launch first reports the managed launch
|
|
113
|
+
composition from native discovery without creating or publishing a session; only after the launcher answers with
|
|
114
|
+
the manifest built from that composition does the same process prepare the session. A worker
|
|
115
|
+
persists its launch fence immediately before the manifest is sent, so a refusal or timeout
|
|
116
|
+
before then still releases the slot. Discovery and preparation have separate deadlines.
|
|
117
|
+
A descendant holding output open cannot extend those deadlines. The owner invokes short-lived
|
|
110
118
|
SDK helpers for operations that depend on stock semantics, including fitting a withdrawn
|
|
111
119
|
queue and verifying journal persistence after exit. On the private v2 interrupt channel,
|
|
112
120
|
queue restoration uses the SDK's reassembled-frame byte limit: this is the value of
|
|
@@ -215,7 +223,17 @@ Create only missing presets and verify native readback before ordinary work
|
|
|
215
223
|
starts. Invalid, tombstoned, shadowed or operator-edited entries are not
|
|
216
224
|
overwritten. Managed presets follow the native `slow`, `default`, and `smol`
|
|
217
225
|
roles respectively when their available selections change. Refresh only the
|
|
218
|
-
entries still under management; do not switch existing sessions.
|
|
226
|
+
entries still under management; do not switch existing sessions. Preset role
|
|
227
|
+
synchronization watches the configured native preset/role files, parent
|
|
228
|
+
directories (so replaced directories with new inodes rebind cleanly), and
|
|
229
|
+
every symlink hop (`fs.watch`, debounced), watches surviving ancestors for
|
|
230
|
+
uncreated directories, and reconciles once after installing watchers. On macOS
|
|
231
|
+
the maintenance tick also checks file metadata to recover changes missed during
|
|
232
|
+
FSEvents registration. Unchanged files do not trigger a preset reload. Errors
|
|
233
|
+
and explicit `"deferred"` outcomes get bounded backoff retries. Deferred work
|
|
234
|
+
continues at a slow interval after those retries so late model availability
|
|
235
|
+
can apply without another config edit. Slow periodic polling also stays
|
|
236
|
+
active whenever any source is uncovered or a watcher errors. These labels
|
|
219
237
|
are preset names, not custom roles or tested performance/cost tiers.
|
|
220
238
|
|
|
221
239
|
Each lane records a resolved model, selection reason, and the complete native
|
|
@@ -358,8 +376,34 @@ discarding custom commands or enabling disabled extensions.
|
|
|
358
376
|
approval authority. An unresolved run is not repeated; a head stop fence
|
|
359
377
|
requires explicit per-job resume. Pause and removal can cancel a queued
|
|
360
378
|
run, not interrupt submitted or uncertain work. Delivery uses the normal
|
|
361
|
-
head outbox.
|
|
362
|
-
|
|
379
|
+
head outbox. Direct shell schedules are disabled: an authenticated route and
|
|
380
|
+
scrubbed credentials are not a runtime capability boundary. Legacy shell
|
|
381
|
+
jobs remain inspectable and removable; pending runs are cancelled rather
|
|
382
|
+
than forwarded to a model, and queued shell output is not sent. Verify any
|
|
383
|
+
previously started legacy run on its original host before resolving it.
|
|
384
|
+
See the [operator reference](../OPERATIONS.md#예약-작업-cron) for syntax and controls.
|
|
385
|
+
- [Repository PR intake](../../src/cron-pr-intake.ts) is a typed cron job, not
|
|
386
|
+
an executable prompt. Only original configured-owner Discord guild parent
|
|
387
|
+
controls enroll a repository. Discovery pins the authenticated GitHub owner
|
|
388
|
+
and repository, filters old/self-authored PRs, and records each offer before
|
|
389
|
+
delivery. The separately authenticated registration/mode action sets a bounded
|
|
390
|
+
unattended ceiling: review/comment, safe fix, or protected merge. The confirmed
|
|
391
|
+
bot offer's Discord snowflake identifies the one thread for that PR. A
|
|
392
|
+
noninteractive controller receipt admits an exact SHA to a tool-less native
|
|
393
|
+
lane; it is not owner input and cannot serve as a source for manager tools.
|
|
394
|
+
No ordinary scheduled prompt, observed PR text or model answer grants authority.
|
|
395
|
+
Older discovery-only registrations remain manual until the owner opts in.
|
|
396
|
+
[Review control](../../src/pr-intake-review.ts) binds subsequent actions to
|
|
397
|
+
that lane, route, enrollment epoch, review input, delivered answer and SHA.
|
|
398
|
+
Static review uses a trusted workspace without a contributor checkout. Unlike
|
|
399
|
+
ordinary coding lanes, this restricted local Host must attest a tool-less
|
|
400
|
+
session on a supported native provider before the controller submits patch
|
|
401
|
+
data. It does not need manager, coordination, shell or editing tools. Fix
|
|
402
|
+
proposals and merge verdicts are data, not standing write authority. Each
|
|
403
|
+
effect checks the enrolled repository, original route and policy revision;
|
|
404
|
+
higher stages require an explicit policy or a fresh SHA-bound owner command.
|
|
405
|
+
An uncertain write permits read-only reconciliation, not resubmission. See [operator commands
|
|
406
|
+
and supported GitHub protections](../OPERATIONS.md#새-외부-pr-검토-cron-pr-add).
|
|
363
407
|
- [PR watch](../../src/pr-watch.ts) reads only explicitly registered GitHub PRs
|
|
364
408
|
through existing `gh` authentication and GETs. Establish a quiet baseline,
|
|
365
409
|
then record changed observations and their cursor together. Work only while
|
package/docs/design/messaging.md
CHANGED
|
@@ -24,14 +24,15 @@ topic is a binding key, not a fabricated conversation or thread ID.
|
|
|
24
24
|
| [Slack](../../gateway/src/slack.rs) | Socket Mode and the Web API, with bot/workspace and active human owner checks and actual channel membership. No group DMs or public HTTP endpoint. Known-route history is limited by cursors, scopes, membership, retention and rate limits. |
|
|
25
25
|
|
|
26
26
|
Set `discord.requireAddressing` to `true` to filter ordinary owner messages in
|
|
27
|
-
allowed Discord guild parent channels
|
|
28
|
-
catch-up. The default is `false`. A message
|
|
29
|
-
authenticated bot or be a verified reply in that
|
|
30
|
-
authored. Typing the bot's name, mentioning a
|
|
31
|
-
message without actually addressing the bot
|
|
32
|
-
Authorized
|
|
33
|
-
verified inline mentions of this bot are removed from
|
|
34
|
-
guild parent channels and threads, so a text command
|
|
27
|
+
allowed Discord guild parent channels and threads not created by this bot,
|
|
28
|
+
including message edits and history catch-up. The default is `false`. A message
|
|
29
|
+
must actually mention the authenticated bot or be a verified reply in that
|
|
30
|
+
conversation to a message it authored. Typing the bot's name, mentioning a
|
|
31
|
+
different bot, or copying a bot message without actually addressing the bot
|
|
32
|
+
does not count. Authorized threads that this bot created can continue without
|
|
33
|
+
addressing. When enabled, verified inline mentions of this bot are removed from
|
|
34
|
+
ordinary owner input in guild parent channels and threads, so a text command
|
|
35
|
+
still parses as a command.
|
|
35
36
|
The owner, guild and parent-channel checks still apply. Owner DMs, Discord
|
|
36
37
|
application commands, approval components and restricted group rooms retain
|
|
37
38
|
their existing policies.
|
|
@@ -138,6 +139,27 @@ barrier or selected priority owner controls (`/restart`, `/stop`, `/stop head`);
|
|
|
138
139
|
ordinary intake keeps its order. After the first approval barrier, a head outage
|
|
139
140
|
does not close Gateway admission. Reconnecting does not replay already submitted work.
|
|
140
141
|
|
|
142
|
+
The head receipt does not wait for a [historical topic search](#topic-routing-and-controls),
|
|
143
|
+
which may read large native journals. An input that needs one is appended to a
|
|
144
|
+
durable deferred-routing queue in the coordination store (`intake:deferred-routing`),
|
|
145
|
+
receipted, and then searched and admitted in the background. Until it is admitted,
|
|
146
|
+
later ordinary inputs of the same physical channel or DM (including its threads
|
|
147
|
+
and logical topics) queue behind it; other conversations are not held. A
|
|
148
|
+
redelivery of a queued input shares the store's immutable-payload and signed
|
|
149
|
+
attachment URL reconciliation. Fresh `/restart`, `/stop head`, and
|
|
150
|
+
`/stop <exact authorized lane-id>` bypass deferred waiting, including after
|
|
151
|
+
restart. A bare `/stop` bypasses failing admission only if it is not a reply and
|
|
152
|
+
comes from an already-bound physical Discord work thread. Bare DM and
|
|
153
|
+
reply-relative stops wait for earlier routing, rather than choosing today's
|
|
154
|
+
apparent target; edits cannot acquire priority. Global HEAD stops and
|
|
155
|
+
lane-specific stops snapshot receipt order across both queues. A later resume
|
|
156
|
+
waits for an older deferred stop of that exact lane without being cancelled by
|
|
157
|
+
it; other lanes' work is independent. A pending queued
|
|
158
|
+
choice fences the automatic history choice like an unreceipted Gateway event. A
|
|
159
|
+
failed admission stays first in its conversation and is retried with bounded
|
|
160
|
+
backoff; a permanent denial is dropped. The queue survives a restart and resumes
|
|
161
|
+
in order once intake is ready.
|
|
162
|
+
|
|
141
163
|
Telegram persists its per-bot offset after admission and acknowledges it with the
|
|
142
164
|
next `getUpdates`. There is no Bot API history fetch; recovery cannot exceed its
|
|
143
165
|
24-hour update retention. Omit the previous offset after 24 hours of inactivity,
|
|
@@ -158,6 +180,21 @@ remain held. Recovery cannot dispatch, answer approvals, run tools outside its
|
|
|
158
180
|
gate or repeat the original request. A later stop or manual resolution invalidates
|
|
159
181
|
older recovery work.
|
|
160
182
|
|
|
183
|
+
An exact, settled HEAD `openai-codex` quota refusal with no tool calls or
|
|
184
|
+
partial answer can also close as cancelled without a recovery model turn.
|
|
185
|
+
Only that hold arms a usage check on the existing controller wake, at most once
|
|
186
|
+
per OMP usage-cache interval. The current session and same model must have a
|
|
187
|
+
permitted, healthy credential in native OMP model health and a matching usage
|
|
188
|
+
report with measured headroom above its effective reserve after the failure.
|
|
189
|
+
The credential must also appear in any discovered account roster for the model.
|
|
190
|
+
Credit-funded overage, a reset timestamp, a stale report, missing account
|
|
191
|
+
attribution, or an uncertain effect is not proof. The controller rechecks the
|
|
192
|
+
exact native run journal, stop boundary and current request ownership before
|
|
193
|
+
closing the hold. This does
|
|
194
|
+
not spend a saved reset or retry the original input; later inputs keep their
|
|
195
|
+
durable order. The quota and credential contracts were checked against the
|
|
196
|
+
[pinned OMP SDK](../../DESIGN.md#stock-omp-and-verification-scope).
|
|
197
|
+
|
|
161
198
|
`/resolve [input-id]` (`!resolve` in Slack) manually closes an uncertain head
|
|
162
199
|
input as cancelled. A stalled lane exposes its exact input ID and queue blocker
|
|
163
200
|
through `/status` or `lane_inspect`. Only the operator in the bound topic can use
|
|
@@ -193,10 +230,11 @@ See the [operations guide](../OPERATIONS.md#4-명령과-일상-사용) for comma
|
|
|
193
230
|
recall results or journal excerpts. Matches do not dispatch work, authorize
|
|
194
231
|
approvals, or reopen a session. If recall is unavailable, direct journal
|
|
195
232
|
matches can still inform HEAD; a missing hint does not block ordinary chat.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
ambiguity remains. Native file and model
|
|
199
|
-
inert, unlike references in the current
|
|
233
|
+
Advisory lookup applies to new turns; a follow-up already eligible to steer
|
|
234
|
+
has a verified destination and does not wait for recall. HEAD verifies useful
|
|
235
|
+
leads or asks only if material ambiguity remains. Native file and model
|
|
236
|
+
references in historical data are inert, unlike references in the current
|
|
237
|
+
owner's task.
|
|
200
238
|
- Explicit `cwd: /absolute/path`, `/new` with a task, an exact reply to a placed
|
|
201
239
|
original or its delivered message with a verified workspace, and intentional
|
|
202
240
|
historical lookup use controller placement. Invalid explicit cwd is rejected,
|
|
@@ -272,12 +310,23 @@ See the [operations guide](../OPERATIONS.md#4-명령과-일상-사용) for comma
|
|
|
272
310
|
not rollback of effects. A DM edit whose original request was placed by HEAD
|
|
273
311
|
reuses that verified lane, even if a newer topic is now active. If placement
|
|
274
312
|
is still in progress or cannot be verified, the edit creates no topic.
|
|
275
|
-
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
313
|
+
- Ordinary follow-ups default to native `steer` when their destination has an
|
|
314
|
+
eligible active run: unbound requests and ordinary `/head` text go to HEAD;
|
|
315
|
+
ordinary replies in a bound work thread go to its lane without `lane_message`.
|
|
316
|
+
If a follow-up arrives before the native start event, that event rechecks
|
|
317
|
+
pending inputs. An idle destination receives a new prompt.
|
|
318
|
+
Match the full route including account, authority, thread and topic. A bound
|
|
319
|
+
reply can join the kickoff initiated elsewhere only if the existing verified
|
|
320
|
+
delivery route is this exact thread. A manager handoff keeps its HEAD review
|
|
321
|
+
mode, with the verified reply route fixed for the joined run, including logical
|
|
322
|
+
topics backed by native threads. Keep each source and native receipt distinct
|
|
323
|
+
and deliver one result for a jointly handled cohort. History lookup verifies
|
|
324
|
+
a joined reply's topic ownership and its own completed native receipt, not the
|
|
325
|
+
manager's instructions or completion.
|
|
326
|
+
Controls, internal reports and workflow selection do not join the run.
|
|
327
|
+
Pause, approval, compaction and uncertainty gates still apply. Durable intake
|
|
328
|
+
and RPC admission do not prove consumption: OMP consumes steers at native
|
|
329
|
+
boundaries, and a run can settle before a follow-up reaches such a boundary.
|
|
281
330
|
|
|
282
331
|
| Platform | Command and topic representation |
|
|
283
332
|
| --- | --- |
|
|
@@ -290,7 +339,7 @@ is a separate explicit apply, not a side effect of setup, doctor or start. Comma
|
|
|
290
339
|
intake must not wait for a model; Discord's ephemeral admission reply and Slack's
|
|
291
340
|
Socket Mode acknowledgement are not the actual command result.
|
|
292
341
|
|
|
293
|
-
The head sends model and
|
|
342
|
+
The head sends model, effort, and saved-reset menus through its normal outbox. The Gateway
|
|
294
343
|
renders native components and binds each click to the owner, exact sent card,
|
|
295
344
|
physical conversation, and displayed page. Navigation and cancellation only
|
|
296
345
|
edit the card. One final click admits an ordinary durable control receipt on
|
|
@@ -302,6 +351,33 @@ on the same route.
|
|
|
302
351
|
The interaction pattern was compared with [Hermes Agent at 242315ce](https://github.com/NousResearch/hermes-agent/blob/242315ce571cde721e717a544cf8ae6c343315cf/gateway/slash_commands_model.py#L516-L567);
|
|
303
352
|
the catalogue and mutation remain native OMP, and no upstream picker code is used.
|
|
304
353
|
|
|
354
|
+
`/usage reset` chooses an exact linked account from the configured OMP profile.
|
|
355
|
+
The first click only changes the displayed card revision; Confirm on that
|
|
356
|
+
revision is the only action that admits a reset request. Cancel closes the card
|
|
357
|
+
without admitting any request. The head checks the original sent card and live
|
|
358
|
+
availability, then persists the attempt before asking the installed CLI to
|
|
359
|
+
redeem one currently usable ticket on that account. The native CLI selects
|
|
360
|
+
the ticket; the chat card does not authorize or pin an individual grant.
|
|
361
|
+
Duplicate or interrupted attempts are never replayed. Native success is
|
|
362
|
+
recorded before checking the refreshed balance; a missing receipt never
|
|
363
|
+
implies the ticket was or was not spent. An uncertain attempt holds further
|
|
364
|
+
redemptions for a matching or indistinguishable provider account, even after
|
|
365
|
+
re-login changes the local row or adds identity fields. The operator must check
|
|
366
|
+
the balance and close the original hold with `/resolve` (`!resolve` in Slack).
|
|
367
|
+
Banked tickets that cannot currently be spent are reported separately from
|
|
368
|
+
the selectable accounts, without a Confirm action.
|
|
369
|
+
An admitted reset holds restart handoff until its outcome is durably recorded.
|
|
370
|
+
Account options show the native selector number and, when available, a short
|
|
371
|
+
masked account or organization hint; raw identities never enter the card.
|
|
372
|
+
Capability is checked against the configured binary's `omp usage --help`.
|
|
373
|
+
The adapter expects a read-only `usage reset --json` list and a separate
|
|
374
|
+
`usage reset <provider>/<credential id>` redemption. The
|
|
375
|
+
[OMP 19.0.0 CLI source](https://github.com/can1357/oh-my-pi/blob/57771ae562b9345e0579bceb2d68d585e3e6927e/packages/coding-agent/src/cli/usage-cli.ts)
|
|
376
|
+
and previously inspected 19.1.0 CLI are dated references for this command shape,
|
|
377
|
+
not the [current SDK baseline](../../DESIGN.md#stock-omp-and-verification-scope).
|
|
378
|
+
Older executables without the exact-target command show an unsupported state;
|
|
379
|
+
there is no provider fallback or mutation of local quota counters.
|
|
380
|
+
|
|
305
381
|
Thread capability comes from the authenticated adapter. Permission or network
|
|
306
382
|
failure is not permission to fall back to another destination. Preserve the
|
|
307
383
|
original binding when creating a sibling topic and journal creation intent before
|
|
@@ -311,19 +387,31 @@ permissions, then reads back title, tags or archived state. Exact tag IDs and
|
|
|
311
387
|
required/moderated tag policy apply. Archiving a thread does not pause its lane,
|
|
312
388
|
and reopening it does not resume it.
|
|
313
389
|
|
|
314
|
-
For a bound Discord work thread, an owned
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
390
|
+
For a bound Discord work thread, an owned run or queued lane input adds `⏳`
|
|
391
|
+
to the title. Outstanding inputs, approvals, or result delivery can keep that
|
|
392
|
+
marker. After the latest run succeeds and its final reply is confirmed sent,
|
|
393
|
+
the head automatically replaces it with `✅`. This marks the delivered request,
|
|
394
|
+
not independent verification of its acceptance criteria or closure of the lane.
|
|
395
|
+
Explicit `lane_close` completion also shows `✅`; pause and cancellation remove
|
|
396
|
+
the marker. A follow-up replaces the check with `⏳` again.
|
|
397
|
+
|
|
398
|
+
When startup recovery allows writes, the head reconciles managed work threads
|
|
399
|
+
from stored run and delivery receipts without launching unloaded lanes. It changes only the
|
|
400
|
+
prefix through the authorized thread API. Edits are best effort, require
|
|
401
|
+
Manage Threads, and skip archived threads. A confirmed Discord rate limit
|
|
402
|
+
defers reconciliation and rechecks current state before the next write;
|
|
403
|
+
an ambiguous write is not retried.
|
|
404
|
+
|
|
405
|
+
`/help`, `/status`, `/context` and `/usage` are code-handled reads with no model turn.
|
|
406
|
+
[`/usage`](../../src/omp-usage.ts) invokes the configured executable and
|
|
407
|
+
profile with `usage --json --redact`, so OMP discovers built-in and extension-provided
|
|
408
|
+
usage sources. Both usage and reset preserve explicit `--no-extensions`,
|
|
409
|
+
`--extension`, `--hook` and `--config` inputs from the configured launch command.
|
|
410
|
+
Neither subprocess receives the Gateway bearer or configured messenger credentials.
|
|
411
|
+
The reply includes safe OMP-masked account names when available, never full
|
|
412
|
+
email addresses, raw IDs, or raw responses. Unrecognized meter names use
|
|
413
|
+
numbered labels rather than publishing provider-controlled text.
|
|
414
|
+
Unknown quota is not zero or an estimate of this session's usage. `/compact` uses native
|
|
327
415
|
compaction and requires an idle eligible head; status and priority stop remain
|
|
328
416
|
available while it runs. `/stop` pauses the bound lane. In an unbound topic a
|
|
329
417
|
reply can select the exact pending placement or the running HEAD request on
|
|
@@ -407,9 +495,12 @@ approval.
|
|
|
407
495
|
not a second copy of the file.
|
|
408
496
|
- Long outputs use a single bounded text attachment where supported. Discord
|
|
409
497
|
first splits an over-limit reply at paragraph, line, then space boundaries
|
|
410
|
-
into at most five ordered messages
|
|
411
|
-
|
|
412
|
-
|
|
498
|
+
into at most five ordered messages of up to 2,000 UTF-16 units, closing and
|
|
499
|
+
reopening a code fence that crosses a boundary. Rendered table fields stay
|
|
500
|
+
whole across message boundaries; when a field cannot fit, the bounded text
|
|
501
|
+
attachment preserves its Markdown rather than cutting through it.
|
|
502
|
+
Only the first message replies to the original. Each part has its own nonce,
|
|
503
|
+
and the first message ID is the delivery receipt. For newly
|
|
413
504
|
completed multipart sends the Gateway also records later message IDs for scoped
|
|
414
505
|
reply lookup; partial or uncertain sends are not workspace evidence. The Gateway has
|
|
415
506
|
25 seconds for the whole Discord output, including destination lookup,
|
|
@@ -417,23 +508,66 @@ approval.
|
|
|
417
508
|
No new parts are posted after that deadline. An in-flight POST at expiry or
|
|
418
509
|
a failure after a visible part is uncertain; nothing is resent. Slack
|
|
419
510
|
uses upload URL → bytes → `files.completeUploadExternal`, not `files.upload`.
|
|
420
|
-
Telegram and Slack do not automatically retry remote mutations. Discord
|
|
421
|
-
pipe tables
|
|
422
|
-
|
|
511
|
+
Telegram and Slack do not automatically retry remote mutations. Discord renders
|
|
512
|
+
ordinary Markdown pipe tables at delivery as stacked list items, with the
|
|
513
|
+
column labels and each row's values on separate lines. This leaves links,
|
|
514
|
+
emphasis and inline code available to Discord's Markdown renderer and lets
|
|
515
|
+
prose wrap naturally. Existing code blocks and stored output are unchanged.
|
|
516
|
+
[Delivery classification](../../src/delivery.ts) distinguishes
|
|
423
517
|
definite rejection from uncertainty across the IPC boundary.
|
|
424
518
|
- Receipt/working reactions are best-effort decorations bound to the real
|
|
425
519
|
source message. They neither delay nor prove admission, execution or delivery.
|
|
426
520
|
Progress reports are coalesced before submission where safe; a final result
|
|
427
521
|
takes precedence over undelivered progress. Already started external sends
|
|
428
522
|
cannot be recalled.
|
|
523
|
+
- Pending outbox delivery runs concurrently across distinct physical routes
|
|
524
|
+
(platform, account, authority, guild, channel, thread) while preserving
|
|
525
|
+
strict sequence order within each physical route and never automatically
|
|
526
|
+
retrying uncertain sends. Routes wake as soon as outputs become pending
|
|
527
|
+
without waiting behind an unrelated command tail; restart checkpoints still
|
|
528
|
+
wait for all in-flight route deliveries to settle before lifecycle handoff.
|
|
529
|
+
- In-place editing of Discord progress reports is opt-in via
|
|
530
|
+
`discord.editProgressInPlace` (default `false`). By default, every progress
|
|
531
|
+
update and HEAD lane progress summary posts as an ordinary new message so
|
|
532
|
+
progress history stays visible. When enabled on Discord, nonterminal progress
|
|
533
|
+
for one request—including direct HEAD progress, direct topic progress, and
|
|
534
|
+
HEAD summaries of non-topic lane progress keyed by the original lane input—uses
|
|
535
|
+
a single `⏳` status message edited in place (`⏳\n` when the body begins
|
|
536
|
+
with a code fence so card fences remain intact). Each update stays its own
|
|
537
|
+
immutable output with `status: true`; initial long status messages use the
|
|
538
|
+
single-message text attachment fallback instead of splitting across multiple
|
|
539
|
+
posts so later edits replace that single message cleanly. When an update is
|
|
540
|
+
claimed for delivery, the controller fixes `editOf` to the physical message of
|
|
541
|
+
the stream's first confirmed post and persists it with the output, so a
|
|
542
|
+
redelivery edits that same message. An uncertain post never becomes an edit
|
|
543
|
+
target. A rejected edit fails only that update and is never reposted; it
|
|
544
|
+
releases the target so a later update posts a fresh status message. An
|
|
545
|
+
ambiguous edit stays uncertain. Final answers and lane completion reports are
|
|
546
|
+
still separate new messages. Telegram and Slack always post ordinary progress
|
|
547
|
+
messages; the Gateway rejects `editOf` and `status: true` outside Discord.
|
|
548
|
+
- Discord turns a fenced ```` ```card ```` [json-render](https://github.com/vercel-labs/json-render)
|
|
549
|
+
spec (`{"root", "elements"}`, root `Card`; `Card`, `Section`, `Text`,
|
|
550
|
+
`Fields`, `Field`, `Table`, `Divider`, `Image`) into an embed at delivery.
|
|
551
|
+
Table content becomes an aligned code block in the embed description. In a
|
|
552
|
+
guild or thread, only use embeds when the bot has verified Embed Links
|
|
553
|
+
permission at the parent channel; otherwise send the original fence as text.
|
|
554
|
+
An Image needs a valid HTTPS URL. A spec that is
|
|
555
|
+
invalid, uses another component, reuses an element or exceeds Discord's embed
|
|
556
|
+
limits stays verbatim as its code block, which is also what Telegram and Slack
|
|
557
|
+
show. The [Rust renderer](../../gateway/src/discord/embeds.rs) and
|
|
558
|
+
[`extractDiscordCards`](../../src/discord-markdown.ts) share one
|
|
559
|
+
[fixture](../../test/fixtures/discord-cards.json).
|
|
429
560
|
|
|
430
561
|
## Discord voice
|
|
431
562
|
|
|
432
563
|
[Discord voice](../../gateway/src/discord_voice.rs) is optional Gateway functionality,
|
|
433
564
|
separate from voice attachments or the head model. A fresh original owner
|
|
434
|
-
`/voice start` in the configured text channel
|
|
435
|
-
conversation in the configured voice
|
|
436
|
-
|
|
565
|
+
`/voice start` in the configured guild text channel outside a restricted group
|
|
566
|
+
room can open one bounded OpenAI Live conversation in the configured voice
|
|
567
|
+
channel. Use channel permissions to exclude other participants. Live voice
|
|
568
|
+
controls do not require a bot mention when `discord.requireAddressing` is
|
|
569
|
+
enabled; confirmation still requires the exact active draft reply. Edits,
|
|
570
|
+
catch-up and restart cannot open or resume a call.
|
|
437
571
|
|
|
438
572
|
In subscription mode the [Rust Gateway](../../gateway/src/discord_voice/subscription.rs)
|
|
439
573
|
uses the installed Codex CLI to verify the active subscriber, then sends audio via
|
|
@@ -451,8 +585,8 @@ cancels still-queued posts and invalidates unconfirmed drafts without waiting fo
|
|
|
451
585
|
ordinary intake; requests already transmitted cannot be recalled. Neither start
|
|
452
586
|
command submits or approves work. Only the owner's written
|
|
453
587
|
`/voice confirm` as a reply to the active draft enters normal durable head
|
|
454
|
-
intake; normal approval rules still apply.
|
|
455
|
-
text delivery, with no return path to Live. The Gateway stores no recordings
|
|
588
|
+
intake; normal routing and approval rules still apply. Replies stay in normal
|
|
589
|
+
Discord text delivery, with no return path to Live. The Gateway stores no recordings
|
|
456
590
|
or full voice transcript; drafts are visible in Discord and confirmed tasks and
|
|
457
591
|
replies use existing records.
|
|
458
592
|
See the [voice operations guide](../discord-voice.md) for setup, costs, and limits.
|
package/docs/discord-voice.md
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
## 준비
|
|
7
7
|
|
|
8
8
|
1. Discord 서버에 **봇과 소유자만 들어갈 수 있는 일반 음성 채널**과 작업 초안·답변용 텍스트 채널을 준비하세요.
|
|
9
|
-
서버는 `discord.allowedGuildIds`, 텍스트 채널은 `discord.allowedChannelIds`에 있어야
|
|
9
|
+
서버는 `discord.allowedGuildIds`, 텍스트 채널은 `discord.allowedChannelIds`에 있어야 하며
|
|
10
|
+
텍스트 채널은 제한 모드 `groupRooms`에 등록되지 않은 일반 운영자 채널이어야 합니다.
|
|
10
11
|
봇에는 음성 채널 보기·연결·발언, 텍스트 채널 보기·보내기·기록 읽기 권한이 필요합니다.
|
|
11
12
|
권한으로 제삼자의 입장을 제한하세요. 참여자 변경 통지는 실시간 접근 제어를 대신할 수 없습니다.
|
|
12
13
|
2. 기존 설정의 `discord` 안에 `voice` 객체를 추가하세요. **Codex 구독**을 쓰려면 아래처럼 설정합니다.
|
|
@@ -46,7 +47,8 @@
|
|
|
46
47
|
WebRTC 프로토콜을 쓰므로 Codex나 서비스 변경으로 호환성이 깨질 수 있습니다.
|
|
47
48
|
**API 모드:** `apiKeyEnv`가 가리키는 변수에 OpenAI 키를 설정하세요. Gateway의 환경 또는 기존 비공개 `FILE.env`를 사용하고,
|
|
48
49
|
JSON에 키를 넣지 마세요. Discord 토큰과는 다른 변수여야 합니다. Gateway는 해당 변수를 HEAD·레인 환경에서 제외합니다.
|
|
49
|
-
4.
|
|
50
|
+
4. [설치 가이드](OPERATIONS.md#1-로컬-준비--봇은-시작하지-않음)에 따라 npm 패키지를 설치하거나
|
|
51
|
+
소스 checkout에서 `bun install --frozen-lockfile`을 실행하세요.
|
|
50
52
|
Rust Gateway에 DAVE 및 Opus가 포함됩니다. 음성 연결은 소유자가 명시적으로 시작할 때만 열며 설치·진단 중에는 봇을 접속시키지 않습니다.
|
|
51
53
|
설정 변경은 다음 Gateway 시작에 반영됩니다.
|
|
52
54
|
|
|
@@ -65,7 +67,8 @@ API 키로 로그인한 Codex, 만료된 자격증명, 별도의 지역·전용
|
|
|
65
67
|
## 사용
|
|
66
68
|
|
|
67
69
|
- 소유자가 지정 음성 채널에 들어간 뒤 **지정 텍스트 채널**에 일반 메시지 `/voice start`를 보냅니다.
|
|
68
|
-
등록형 슬래시 명령이나 DM이 아닙니다.
|
|
70
|
+
등록형 슬래시 명령이나 DM이 아닙니다. `discord.requireAddressing`이 켜져 있어도 실시간
|
|
71
|
+
`/voice` 명령에는 봇 멘션이 필요하지 않습니다. 준비됐다는 알림 후 말하세요.
|
|
69
72
|
- 일반 대화는 Live가 음성으로 답합니다. 작업을 맡기려면 구독·API 모드 모두 **`/voice start` 대신
|
|
70
73
|
`/voice start work`로 새 통화를 시작**한 뒤 “헤드에게 작업을 맡겨줘”처럼 명확하게 말하세요.
|
|
71
74
|
이 시작 명령은 해당 통화에서 작업 초안을 **지정 텍스트 채널의 독자에게 공개**하는 허용이지 실행 승인이 아닙니다.
|
|
@@ -75,7 +78,8 @@ API 키로 로그인한 Codex, 만료된 자격증명, 별도의 지역·전용
|
|
|
75
78
|
**그 초안에 Discord 답장으로** `/voice confirm`을 보내야 기존 HEAD에 접수됩니다. 초안은 한 번에 하나만 유효하며,
|
|
76
79
|
게시 후 5분 또는 통화 종료 시 만료됩니다. 채널에 따로 쓰거나 음성으로 “승인”하는 것은 접수가 아니며,
|
|
77
80
|
위험한 작업은 기존 승인 절차를 거칩니다. 접수가 불확실하면 텍스트 요청 기록을 확인하고 자동으로 반복하지 마세요.
|
|
78
|
-
-
|
|
81
|
+
- 확인한 작업은 일반 텍스트 작업과 같은 라우팅·승인 규칙을 따르며 결과는 **Discord 텍스트로만** 받습니다.
|
|
82
|
+
결과나 작업 상태는 음성 모델에 전달하지 않습니다.
|
|
79
83
|
- `/voice work off`로 통화를 유지한 채 게시 허용을 철회하고 미확인 초안을 무효화할 수 있습니다.
|
|
80
84
|
이미 전송된 메시지는 회수할 수 없으며, 확인한 작업을 취소하지도 않습니다. 통화 도중 게시 허용을 켜거나
|
|
81
85
|
되돌릴 수 없습니다. 다시 작업을 맡기려면 통화를 종료하고 새 `/voice start work`로 시작하세요.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# omp-superagent 0.1.8
|
|
2
|
+
|
|
3
|
+
- **Follow up without `/steer`.** An ordinary owner reply can join the active HEAD or lane run in the same conversation at OMP's next steering boundary. A different thread does not interrupt it. History searches no longer delay the durable receipt; later messages stay ordered within their conversation. Replies to unrelated destinations can be delivered independently (#41, #45, #47).
|
|
4
|
+
- **Reset a specific account, or let the HEAD queue recover.** `/usage reset` lists available resets without spending one. Select an account and confirm to use one reset. Separately, after a verified Codex quota refusal with no tool calls or partial answer, fresh account and usage evidence can release the HEAD queue. This cancels the failed input rather than replaying it and never spends a reset (#36, #38).
|
|
5
|
+
- **Choose how far external PR intake can go.** Read-only PR watches are unchanged. An owner who enrolls a personal repository with `/cron pr-add` in an authorized Discord parent channel opts into tool-free static review and a GitHub comment. Fix commits and protected merges require a higher mode or a fresh command for the reviewed SHA. Older discovery-only registrations stay manual. Read the [PR intake guide](https://github.com/dbc-hbin/omp-superagent/blob/v0.1.8/docs/OPERATIONS.md#새-외부-pr-검토-cron-pr-add) before enrolling a private repository (#46).
|
|
6
|
+
- **Discord addressing and progress.** With `discord.requireAddressing` enabled, ordinary owner messages in threads created by someone else need a bot mention or a reply to the bot, just like shared parent channels. Bot-created threads and owner DMs keep their existing behavior. Set `discord.editProgressInPlace` to edit one progress message per request; the default keeps separate posts, and the final answer is always separate. Reports render tables as labeled rows, supported cards as embeds when permitted, and lane titles reflect the final state (#37, #39, #40, #48).
|
|
7
|
+
- **Scheduled shell commands are disabled.** Use `/cron add` for scheduled HEAD prompts with normal approval checks. Legacy direct-shell jobs can be inspected or removed but are not run, replayed as prompts, or allowed to send pending shell output. Check any previously started shell job on its original host before resolving it (#44).
|
|
8
|
+
- **OMP and Host startup.** CI and the published SDK now use stock OMP **19.1.1**. Hosts check the installed CLI's capabilities rather than requiring an exact version. Startup reuses unchanged CLI inspection and combines discovery with preparation. Preset changes are monitored without reloading unchanged settings, including when a watched configuration is replaced on macOS (#42, #43).
|
|
9
|
+
|
|
10
|
+
Thanks to [@gimso2x](https://github.com/gimso2x) and [@Momentum96](https://github.com/Momentum96) for contributions to this release.
|
|
11
|
+
|
|
12
|
+
## Install or upgrade
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
bun add --global --trust omp-superagent@0.1.8
|
|
16
|
+
omp-sa --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Alternatively, use `npm install --global omp-superagent@0.1.8` with Bun 1.4.4 or later on `PATH`. The npm package includes the native Host owner and Gateway for macOS and Linux on arm64 and x64. OMP is installed separately. Installing the package does not restart a running Gateway.
|
|
20
|
+
|
|
21
|
+
[Changes since 0.1.7](https://github.com/dbc-hbin/omp-superagent/compare/v0.1.7...v0.1.8) · [Operations guide](https://github.com/dbc-hbin/omp-superagent/blob/v0.1.8/docs/OPERATIONS.md)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "One messenger-connected OMP head with independent work sessions",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "dbc-hbin",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"build:native": "bun --no-env-file scripts/build-host-owner.ts",
|
|
35
35
|
"check": "tsc --noEmit",
|
|
36
36
|
"test": "bun run build:native && bun test --parallel=2 test",
|
|
37
|
-
"test:ci": "bun --no-env-file scripts/ci.ts",
|
|
37
|
+
"test:ci": "bun run build:native && bun --no-env-file scripts/ci.ts",
|
|
38
38
|
"test:baseline": "bash scripts/test-omp.sh",
|
|
39
39
|
"release": "bun --no-env-file scripts/release.ts",
|
|
40
40
|
"start": "bun --no-env-file src/cli.ts start",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"bun": ">=1.4.4"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@oh-my-pi/pi-ai": "19.
|
|
51
|
-
"@oh-my-pi/pi-catalog": "19.
|
|
52
|
-
"@oh-my-pi/pi-coding-agent": "19.
|
|
53
|
-
"@oh-my-pi/pi-natives": "19.
|
|
54
|
-
"@oh-my-pi/pi-tui": "19.
|
|
55
|
-
"@oh-my-pi/pi-utils": "19.
|
|
50
|
+
"@oh-my-pi/pi-ai": "19.1.1",
|
|
51
|
+
"@oh-my-pi/pi-catalog": "19.1.1",
|
|
52
|
+
"@oh-my-pi/pi-coding-agent": "19.1.1",
|
|
53
|
+
"@oh-my-pi/pi-natives": "19.1.1",
|
|
54
|
+
"@oh-my-pi/pi-tui": "19.1.1",
|
|
55
|
+
"@oh-my-pi/pi-utils": "19.1.1",
|
|
56
56
|
"@slack/web-api": "^8.3.0",
|
|
57
57
|
"@sinclair/typebox": "^0.34.41",
|
|
58
58
|
"abort-controller": "3.0.0",
|
package/scripts/ci.ts
CHANGED
|
@@ -28,9 +28,9 @@ console.log(`CI: Bun ${Bun.version}; ULW ${ulw}`);
|
|
|
28
28
|
const bun = [process.execPath, "--no-env-file"];
|
|
29
29
|
const commands = [
|
|
30
30
|
[...bun, "run", "check"],
|
|
31
|
-
[
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
["cargo", "test", "--locked", "--manifest-path", "host-owner/Cargo.toml"],
|
|
32
|
+
// Cargo's default test targets build the Gateway examples used by the Bun fixtures.
|
|
33
|
+
["cargo", "test", "--locked", "--manifest-path", "gateway/Cargo.toml"],
|
|
34
34
|
[...bun, "test", "--parallel=2", "test"],
|
|
35
35
|
];
|
|
36
36
|
for (const command of commands) {
|
package/scripts/test-omp.sh
CHANGED
|
@@ -40,4 +40,5 @@ if [[ $actual != "omp/${tag#v}" ]]; then
|
|
|
40
40
|
echo "OMP release $tag reported '$actual'; refusing to test a different version." >&2
|
|
41
41
|
exit 1
|
|
42
42
|
fi
|
|
43
|
-
|
|
43
|
+
# The frozen source install above already built and staged both native binaries.
|
|
44
|
+
PATH="$directory:$PATH" bun --no-env-file scripts/ci.ts
|
package/src/cli.ts
CHANGED
|
@@ -87,11 +87,14 @@ Owner controls in chat (not shell commands):
|
|
|
87
87
|
Send /help in Discord or Telegram. In Slack messages replace / with ! (e.g. !help, !status);
|
|
88
88
|
registered Slack commands use /superagent-* (e.g. /superagent-status).
|
|
89
89
|
/status, /context, /usage Inspect HEAD state, context or usage without starting a model turn.
|
|
90
|
+
/usage reset List saved reset tickets; choose an account then confirm to spend one.
|
|
90
91
|
/model [list|provider/id] Inspect or select the shared HEAD model; changes require an idle HEAD.
|
|
91
92
|
/model preset [list|NAME] Inspect or select a preset. Only NAME --global also saves future defaults.
|
|
92
93
|
/effort [LEVEL] Inspect or change HEAD thinking effort; existing lanes keep their settings.
|
|
93
94
|
/compact [instructions] Compact idle HEAD context, optionally with multiline instructions.
|
|
94
95
|
/cron [help] Schedule and manage one-time or recurring jobs in this conversation.
|
|
96
|
+
/cron pr-add "every 5m" OWNER/REPO Review newly opened external PRs and comment on GitHub (Discord guild parent).
|
|
97
|
+
/cron pr-mode JOB review|fix|merge Set the unattended ceiling: comment only, safe fix, or gated merge. Korean mode phrases also work.
|
|
95
98
|
/new [request], /main Start a topic or return to the main topic in the owner's DM.
|
|
96
99
|
/stop [head|LANE_ID] Stop work, not the service. Pause the bound lane, or reply to select a
|
|
97
100
|
pending placement or active request. Use /stop head for the global stop.
|
package/src/config.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface DiscordConfig {
|
|
|
10
10
|
allowedGuildIds: string[];
|
|
11
11
|
allowedChannelIds: string[];
|
|
12
12
|
readonly requireAddressing?: boolean;
|
|
13
|
+
readonly editProgressInPlace?: boolean;
|
|
13
14
|
voice?: DiscordVoiceConfig;
|
|
14
15
|
}
|
|
15
16
|
|
|
@@ -216,6 +217,9 @@ export function parseConfig(value: unknown, path: string): Config {
|
|
|
216
217
|
const requireAddressing = discord?.requireAddressing;
|
|
217
218
|
if (requireAddressing !== undefined && typeof requireAddressing !== "boolean")
|
|
218
219
|
throw new Error("discord.requireAddressing must be a boolean");
|
|
220
|
+
const editProgressInPlace = discord?.editProgressInPlace;
|
|
221
|
+
if (editProgressInPlace !== undefined && typeof editProgressInPlace !== "boolean")
|
|
222
|
+
throw new Error("discord.editProgressInPlace must be a boolean");
|
|
219
223
|
const voice = discord?.voice === undefined ? undefined : record(discord.voice, "discord.voice");
|
|
220
224
|
let voiceConfig: DiscordVoiceConfig | undefined;
|
|
221
225
|
if (voice) {
|
|
@@ -265,6 +269,7 @@ export function parseConfig(value: unknown, path: string): Config {
|
|
|
265
269
|
allowedGuildIds: ids(discord.allowedGuildIds, "discord.allowedGuildIds"),
|
|
266
270
|
allowedChannelIds: discordChannels,
|
|
267
271
|
requireAddressing: requireAddressing ?? false,
|
|
272
|
+
editProgressInPlace: editProgressInPlace ?? false,
|
|
268
273
|
...(voiceConfig ? { voice: voiceConfig } : {}),
|
|
269
274
|
} } : {}),
|
|
270
275
|
...(telegram ? { telegram: {
|