@damian87/omp 0.7.0 → 0.9.2
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/.github/skills/slack/SKILL.md +82 -0
- package/README.md +61 -34
- package/catalog/capabilities.json +46 -0
- package/catalog/skills-general.json +26 -0
- package/dist/src/cli.js +365 -3
- package/dist/src/cli.js.map +1 -1
- package/dist/src/copilot/version.js +10 -0
- package/dist/src/copilot/version.js.map +1 -1
- package/dist/src/env/dotenv.d.ts +41 -0
- package/dist/src/env/dotenv.js +112 -0
- package/dist/src/env/dotenv.js.map +1 -0
- package/dist/src/env/init.d.ts +56 -0
- package/dist/src/env/init.js +294 -0
- package/dist/src/env/init.js.map +1 -0
- package/dist/src/gateway/connector.d.ts +37 -0
- package/dist/src/gateway/connector.js +12 -0
- package/dist/src/gateway/connector.js.map +1 -0
- package/dist/src/gateway/connectors/slack.d.ts +69 -0
- package/dist/src/gateway/connectors/slack.js +159 -0
- package/dist/src/gateway/connectors/slack.js.map +1 -0
- package/dist/src/gateway/notify.d.ts +35 -0
- package/dist/src/gateway/notify.js +261 -0
- package/dist/src/gateway/notify.js.map +1 -0
- package/dist/src/gateway/registry.d.ts +29 -0
- package/dist/src/gateway/registry.js +37 -0
- package/dist/src/gateway/registry.js.map +1 -0
- package/dist/src/gateway/runtime.d.ts +58 -0
- package/dist/src/gateway/runtime.js +105 -0
- package/dist/src/gateway/runtime.js.map +1 -0
- package/dist/src/gateway/target-parser.d.ts +76 -0
- package/dist/src/gateway/target-parser.js +105 -0
- package/dist/src/gateway/target-parser.js.map +1 -0
- package/dist/src/jira.js +2 -14
- package/dist/src/jira.js.map +1 -1
- package/dist/src/schedule/commands.js +1 -0
- package/dist/src/schedule/commands.js.map +1 -1
- package/dist/src/schedule/runner.d.ts +9 -0
- package/dist/src/schedule/runner.js +31 -1
- package/dist/src/schedule/runner.js.map +1 -1
- package/dist/src/schedule/types.d.ts +9 -0
- package/dist/src/slack/config.d.ts +32 -0
- package/dist/src/slack/config.js +52 -0
- package/dist/src/slack/config.js.map +1 -0
- package/dist/src/slack/handler.d.ts +48 -0
- package/dist/src/slack/handler.js +68 -0
- package/dist/src/slack/handler.js.map +1 -0
- package/dist/src/slack/serve.d.ts +8 -0
- package/dist/src/slack/serve.js +7 -0
- package/dist/src/slack/serve.js.map +1 -0
- package/dist/src/team/tmux.d.ts +1 -0
- package/dist/src/team/tmux.js +9 -0
- package/dist/src/team/tmux.js.map +1 -1
- package/docs/slack-setup.md +177 -0
- package/package.json +13 -4
- package/plugin.json +12 -4
- package/scripts/lib/version-check.mjs +3 -0
- package/dist/src/mcp/server.d.ts +0 -10
- package/dist/src/mcp/server.js +0 -44
- package/dist/src/mcp/server.js.map +0 -1
- package/dist/src/mcp/tools/daily-log.d.ts +0 -2
- package/dist/src/mcp/tools/daily-log.js +0 -148
- package/dist/src/mcp/tools/daily-log.js.map +0 -1
- package/dist/src/mcp/tools/index.d.ts +0 -9
- package/dist/src/mcp/tools/index.js +0 -15
- package/dist/src/mcp/tools/index.js.map +0 -1
- package/dist/src/mcp/tools/notepad.d.ts +0 -2
- package/dist/src/mcp/tools/notepad.js +0 -135
- package/dist/src/mcp/tools/notepad.js.map +0 -1
- package/dist/src/mcp/tools/project-memory.d.ts +0 -2
- package/dist/src/mcp/tools/project-memory.js +0 -91
- package/dist/src/mcp/tools/project-memory.js.map +0 -1
- package/dist/src/mcp/tools/shared-memory.d.ts +0 -2
- package/dist/src/mcp/tools/shared-memory.js +0 -148
- package/dist/src/mcp/tools/shared-memory.js.map +0 -1
- package/dist/src/mcp/tools/state.d.ts +0 -2
- package/dist/src/mcp/tools/state.js +0 -107
- package/dist/src/mcp/tools/state.js.map +0 -1
- package/dist/src/mcp/tools/trace.d.ts +0 -10
- package/dist/src/mcp/tools/trace.js +0 -102
- package/dist/src/mcp/tools/trace.js.map +0 -1
- package/dist/src/mcp/types.d.ts +0 -29
- package/dist/src/mcp/types.js +0 -7
- package/dist/src/mcp/types.js.map +0 -1
- package/dist/test/catalog.test.d.ts +0 -1
- package/dist/test/catalog.test.js +0 -21
- package/dist/test/catalog.test.js.map +0 -1
- package/dist/test/jira.test.d.ts +0 -1
- package/dist/test/jira.test.js +0 -26
- package/dist/test/jira.test.js.map +0 -1
- package/dist/test/lint.test.d.ts +0 -1
- package/dist/test/lint.test.js +0 -9
- package/dist/test/lint.test.js.map +0 -1
- package/dist/test/sync.test.d.ts +0 -1
- package/dist/test/sync.test.js +0 -15
- package/dist/test/sync.test.js.map +0 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: slack
|
|
3
|
+
description: Post an outbound Slack notification — ONLY when the user types the explicit `/slack` slash command. Never auto-trigger from natural-language phrases like "tell Slack" or "notify me on Slack"; those go to the regular chat. One-way (publish only); the v0.8.0 gateway bridge still handles bidirectional DM chat.
|
|
4
|
+
argument-hint: "<message> [--target slack:C…|D…|G…|U…]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /slack — outbound Slack notification
|
|
8
|
+
|
|
9
|
+
Post a single message to Slack and exit. **No conversation; no listener.** The
|
|
10
|
+
v0.8.0 chat bridge (`omp gateway serve` + `@omp-copilot` DM) handles bidirectional
|
|
11
|
+
chat; this skill is for one-shot publishes.
|
|
12
|
+
|
|
13
|
+
## Activation rules (read first)
|
|
14
|
+
|
|
15
|
+
- **Activate ONLY** when the user typed the literal slash command `/slack` (with or
|
|
16
|
+
without arguments). Never auto-activate from natural-language phrases like "tell
|
|
17
|
+
Slack X", "ping me on Slack", "notify me on Slack" — those are conversational.
|
|
18
|
+
- **Confirm the destination before posting**, every time:
|
|
19
|
+
- If `--target` is present, echo it back: "Sending to `slack:<ID>` — confirm? (y/N)"
|
|
20
|
+
- If `--target` is absent AND `SLACK_HOME_CHANNEL` is a channel (`C…`/`G…`):
|
|
21
|
+
treat as a potential broadcast. Ask: "Post to default channel `<id>` (a channel,
|
|
22
|
+
not a DM)? (y/N)" — only proceed on explicit `y`.
|
|
23
|
+
- If `SLACK_HOME_CHANNEL` is a user (`U…`) or DM (`D…`), proceed without
|
|
24
|
+
confirmation — the user already configured a personal default.
|
|
25
|
+
- If the user types just `/slack` with no message, ask: *"What should I send and where?"*.
|
|
26
|
+
|
|
27
|
+
## Contract
|
|
28
|
+
|
|
29
|
+
- Default target = `SLACK_HOME_CHANNEL` from `~/.omp/.env` (set via `omp env init`).
|
|
30
|
+
- Explicit target = `--target slack:<ID>` (ID = `C…`/`G…`/`D…`/`U…`).
|
|
31
|
+
- `U…` targets are auto-resolved to a DM channel (`conversations.open`) before posting.
|
|
32
|
+
- Stateless: each invocation is a fresh REST call to `chat.postMessage`. No daemon. No socket.
|
|
33
|
+
|
|
34
|
+
## When invoked
|
|
35
|
+
|
|
36
|
+
Follow the **Activation rules** above. After confirmation passes, post the message.
|
|
37
|
+
|
|
38
|
+
## How
|
|
39
|
+
|
|
40
|
+
Run via the omp CLI:
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
omp gateway notify --text "<message>" [--target slack:<ID>] [--thread-ts <ts>]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
That's the only command this skill drives. The flags map 1:1 to user intent:
|
|
47
|
+
|
|
48
|
+
- No flags after `--text`: post to `SLACK_HOME_CHANNEL`.
|
|
49
|
+
- `--target slack:C0BOQV5434G`: explicit channel.
|
|
50
|
+
- `--target slack:U0123ABCD`: explicit user (auto-DM).
|
|
51
|
+
- `--target slack:C0…:1700.000123` or `--thread-ts 1700.000123`: pin to a thread.
|
|
52
|
+
|
|
53
|
+
## Output handling
|
|
54
|
+
|
|
55
|
+
The CLI returns a structured result:
|
|
56
|
+
|
|
57
|
+
- Success: `posted to <channel> (ts=<ts>[, opened IM])` — relay that.
|
|
58
|
+
- Failure: `notify failed [<CODE>]: <reason>` — surface the code + reason so the user
|
|
59
|
+
can act. Common codes:
|
|
60
|
+
- `MISSING_TOKEN` — run `omp env init` to set `SLACK_BOT_TOKEN`.
|
|
61
|
+
- `MISSING_TARGET` — pass `--target` or run `omp env init` to set `SLACK_HOME_CHANNEL`.
|
|
62
|
+
- `BAD_TARGET` / `BAD_HOME_CHANNEL` — the ID is malformed; show the user the expected shape.
|
|
63
|
+
- `OPEN_FAILED` (user-id targets) — bot can't DM that user (likely missing `im:write` scope or user outside workspace).
|
|
64
|
+
- `POST_FAILED` — Slack returned `ok: false`; the reason field has Slack's own error name (`channel_not_found`, `not_in_channel`, etc.).
|
|
65
|
+
- `RATE_LIMITED` / `TIMEOUT` / `NETWORK_ERROR` — transient; try again.
|
|
66
|
+
|
|
67
|
+
## Boundaries
|
|
68
|
+
|
|
69
|
+
- This skill **never** waits for a reply. For interactive chat, the user opens Slack and DMs `@omp-copilot` (handled by `omp gateway serve`).
|
|
70
|
+
- This skill **never** stores state. There is no routing table, no per-session registration.
|
|
71
|
+
- This skill **does not** start the v0.8.0 inbound bridge. Daemons stay out of scope.
|
|
72
|
+
|
|
73
|
+
## Example exchanges
|
|
74
|
+
|
|
75
|
+
User: `/slack the migration just finished cleanly`
|
|
76
|
+
Tool call: `omp gateway notify --text "the migration just finished cleanly"`
|
|
77
|
+
|
|
78
|
+
User: `/slack tell #releases the build is green --target slack:C0RELEASE9`
|
|
79
|
+
Tool call: `omp gateway notify --text "the build is green" --target slack:C0RELEASE9`
|
|
80
|
+
|
|
81
|
+
User: `/slack ping U0123ABCD with "deploy needs review"`
|
|
82
|
+
Tool call: `omp gateway notify --text "deploy needs review" --target slack:U0123ABCD`
|
package/README.md
CHANGED
|
@@ -53,7 +53,8 @@ That's it.
|
|
|
53
53
|
- **Team-first orchestration** — parallel tmux panes, each running an independent agent session
|
|
54
54
|
- **Bare-flag bypass** — `omp --madmax` injects `--yolo` so non-interactive runs never block on a permission prompt
|
|
55
55
|
- **Persistent execution** — Ralph, UltraQA, and Ultrawork keep going until the goal is verified
|
|
56
|
-
- **
|
|
56
|
+
- **File-state coordination** — workers swap typed messages over an outbox/inbox cursor with atomic `O_EXCL` task locks; no broker or daemon to babysit
|
|
57
|
+
- **Chat bridge** — `omp gateway` runs long-lived chat connectors (Slack today, more next) so you can DM Copilot from anywhere
|
|
57
58
|
- **Lifecycle hooks** — `SessionStart`, `UserPromptSubmit`, `PreToolUse`, `PostToolUse`, `SessionEnd`, `Error`
|
|
58
59
|
- **Doctor included** — `omp doctor` verifies plugin manifest, skills discovery, hooks, and the underlying `copilot` CLI in one shot
|
|
59
60
|
|
|
@@ -76,14 +77,14 @@ That's it.
|
|
|
76
77
|
### Intelligent Orchestration
|
|
77
78
|
|
|
78
79
|
- **7 specialized agents** — planner, architect, executor, verifier, code-reviewer, designer, researcher (all `--agent <name>` compatible with Copilot CLI)
|
|
79
|
-
- **
|
|
80
|
+
- **22 in-session skills** auto-discovered from `.github/skills/`
|
|
80
81
|
- **Smart pipeline routing** — `/research-codebase` → `/ralplan` → `/team` / `/ralph` / `/ultrawork` → `/code-review` → `/ultraqa`
|
|
81
82
|
|
|
82
83
|
### Developer Experience
|
|
83
84
|
|
|
84
|
-
- **
|
|
85
|
+
- **Context & history as CLI subcommands** — `omp state` (key-value with TTL), `omp project-memory` (notes + directives), `omp trace` (per-session timeline + summary), `omp goal` / `omp memory sync` (managed repo context), `omp daily-log`
|
|
85
86
|
- **Lightweight Copilot context** — managed instructions keep only the repo goal plus on-demand memory commands; set `OMP_DISABLE_INSTRUCTIONS_MEMORY=1` to skip writing the managed block entirely
|
|
86
|
-
- **File-state coordination** — outbox JSONL + byte cursor, atomic `O_EXCL` task locks, optimistic CAS on claim
|
|
87
|
+
- **File-state worker coordination** — outbox JSONL + byte cursor, atomic `O_EXCL` task locks, optimistic CAS on claim
|
|
87
88
|
- **Idle nudge** — content-based pane idle detection that pokes stuck workers
|
|
88
89
|
- **Mode-state loops** — single source of truth per loop (Ralph/Ultrawork/UltraQA state files)
|
|
89
90
|
|
|
@@ -115,6 +116,8 @@ These run **inside a Copilot CLI session** after the plugin is installed.
|
|
|
115
116
|
| `/caveman` | Ultra-compressed communication mode | `/caveman` |
|
|
116
117
|
| `/worktree` | Git worktree-based parallel branch work | `/worktree` |
|
|
117
118
|
| `/schedule` | Durable local cron job — re-runs a prompt on a schedule, survives reboot | `/schedule "check the PR every 15 min"` |
|
|
119
|
+
| `/goal` | Set/read the repo-level goal injected into the managed Copilot context | `/goal "ship v1.0 of the billing flow"` |
|
|
120
|
+
| `/daily-log` | Per-day goal + work log surfaced at the start of new sessions | `/daily-log "ratelimit refactor landed"` |
|
|
118
121
|
|
|
119
122
|
---
|
|
120
123
|
|
|
@@ -192,12 +195,25 @@ omp ralph start "<task>" [--max-iterations N]
|
|
|
192
195
|
omp ultrawork start "<objective>" [--task-count N]
|
|
193
196
|
omp ultraqa start "<goal>" [--max-cycles N]
|
|
194
197
|
omp council "<question>" [--models a,b,c] [--context @file] [--json] # multi-model council
|
|
195
|
-
omp
|
|
198
|
+
omp comms status | send | recv | ask # drive a running copilot tmux session
|
|
199
|
+
omp gateway serve [--only slack] # run chat connectors (today: slack)
|
|
200
|
+
omp gateway status [--json] # per-connector readiness (no sockets)
|
|
201
|
+
omp gateway notify --text "<msg>" [--target slack:C…|G…|D…|U… [:thread_ts]] [--thread-ts <ts>] [--json]
|
|
202
|
+
# one-shot outbound Slack post; falls back to SLACK_HOME_CHANNEL
|
|
203
|
+
omp slack serve # deprecated alias of `gateway serve --only slack`
|
|
204
|
+
omp slack doctor [--json] # deprecated alias of `gateway status --only slack`
|
|
205
|
+
omp env init [--force] # write ~/.omp/.env (interactive Slack token setup)
|
|
206
|
+
omp schedule add --id <id> --cron "*/15 * * * *" --prompt "<text>" [--allow-all-tools] [--cwd <dir>] [--model <m>] [--timeout <ms>] [--max-runs N] [--ttl-hours H] [--notify-target slack:U0123ABCD] [--dry-run]
|
|
196
207
|
omp schedule list # registered jobs + OS-install status
|
|
197
208
|
omp schedule status <id> # last run + result summary
|
|
198
209
|
omp schedule run-now <id> # trigger one run immediately
|
|
199
210
|
omp schedule remove <id> # uninstall the OS entry + delete the job
|
|
200
|
-
omp
|
|
211
|
+
omp goal set "<objective>" | read [--json]
|
|
212
|
+
omp memory sync [--json] # render goal + directives into copilot-instructions.md
|
|
213
|
+
omp daily-log set-goal "<text>" | add "<text>" | read [--days N] | prune [--keep-days N] [--json]
|
|
214
|
+
omp state write <key> <val> [--ttl <s>] | read | delete | status <key> | list | cleanup [--json]
|
|
215
|
+
omp project-memory read [<id>] | index | add-note "<title>" [--body "<text>"] | add-directive "<rule>" [--json]
|
|
216
|
+
omp trace timeline [<sessionId>] [--limit N] | summary [<sessionId>] | add <sessionId> <event> [<json>] [--json]
|
|
201
217
|
omp catalog list | validate | capability <id>
|
|
202
218
|
omp jira render <plan-file>
|
|
203
219
|
omp jira apply <key-or-plan> --comment|--update|--transition|--link
|
|
@@ -208,6 +224,7 @@ Environment overrides:
|
|
|
208
224
|
- `OMP_PLUGIN_ROOT` — path to the plugin checkout (with `OMC_PLUGIN_ROOT` accepted for back-compat)
|
|
209
225
|
- `OMP_COPILOT_BIN` — alternate `copilot` binary
|
|
210
226
|
- `OMP_BIN` — absolute path to the `omp` wrapper written into OS-scheduler entries (overrides `which omp`)
|
|
227
|
+
- `OMP_SKIP_USER_ENV` — when `1`, skip auto-loading `~/.omp/.env` (useful for hermetic CI runs)
|
|
211
228
|
|
|
212
229
|
**Scheduled jobs** register a durable per-job entry with the OS scheduler (macOS launchd,
|
|
213
230
|
Linux systemd-user timers, or a managed `crontab` block as a cross-platform fallback) that
|
|
@@ -219,47 +236,56 @@ run results are surfaced automatically at the start of new Copilot sessions. Alw
|
|
|
219
236
|
`omp schedule remove`, never delete `.omp/state/schedule/` by hand, so the OS entry is
|
|
220
237
|
uninstalled cleanly.
|
|
221
238
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
## Roadmap
|
|
225
|
-
|
|
226
|
-
omp is intentionally small today and growing in vertical slices.
|
|
227
|
-
|
|
228
|
-
### v0.2 — Notification gateways
|
|
229
|
-
|
|
230
|
-
Telegram, Discord, Slack, and generic webhook integration so long-running modes can ping you when they finish, fail, or stall. Tag with `--telegram` / `--discord` / `--slack` per invocation; configure once with `omp notify add`.
|
|
239
|
+
### Chat bridge: drive Copilot from Slack
|
|
231
240
|
|
|
232
|
-
|
|
241
|
+
`omp gateway` runs long-lived chat connectors that forward messages into a running
|
|
242
|
+
Copilot CLI session (via tmux) and post replies back. Today's connector is `slack`
|
|
243
|
+
(WebSocket Socket Mode — no public URL needed); the runtime is generic so future
|
|
244
|
+
connectors (Telegram, Discord, webhooks) drop in as one file each.
|
|
233
245
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
One command to consult an alternate provider CLI (`claude`, `codex`, `gemini`) and save the response as a markdown artifact under `.omp/artifacts/ask/`. Same surface in-session via `/ask`.
|
|
246
|
+
```bash
|
|
247
|
+
# 1. a Copilot tmux session is running (any `omp-<digits>` name)
|
|
248
|
+
tmux new-session -d -s omp-9999
|
|
239
249
|
|
|
240
|
-
|
|
250
|
+
# 2. interactive setup — explains where to grab each token and writes
|
|
251
|
+
# ~/.omp/.env (chmod 600). Re-runnable; masks existing values.
|
|
252
|
+
# `omp` auto-loads ~/.omp/.env every invocation; shell exports still win.
|
|
253
|
+
omp env init
|
|
241
254
|
|
|
242
|
-
|
|
255
|
+
# 3. preflight, then run
|
|
256
|
+
omp gateway status # ready=true means tokens + session look good
|
|
257
|
+
omp gateway serve # blocks; ^C stops cleanly
|
|
258
|
+
```
|
|
243
259
|
|
|
244
|
-
|
|
260
|
+
Full Slack-app setup (manifest + scopes) lives in [`docs/slack-setup.md`](docs/slack-setup.md).
|
|
245
261
|
|
|
246
|
-
|
|
262
|
+
---
|
|
247
263
|
|
|
248
|
-
|
|
264
|
+
## Roadmap
|
|
249
265
|
|
|
250
|
-
|
|
266
|
+
omp grows in vertical slices. Items aren't pinned to specific semver versions — they land when they're ready.
|
|
251
267
|
|
|
252
|
-
###
|
|
268
|
+
### Already shipped
|
|
253
269
|
|
|
254
|
-
|
|
270
|
+
- **Scheduled tasks** (v0.6.0) — durable local cron: `omp schedule add --id pr-watch --cron "*/15 * * * *" --prompt "…"` plus `/schedule` in-session. Each job registers an OS-scheduler entry (launchd / systemd-user / crontab fallback) that fires a fresh agent session, survives reboot, locks out overlap, and surfaces results at the next session start.
|
|
271
|
+
- **Chat bridge — Slack inbound** (v0.8.0) — `omp gateway` runs long-lived chat connectors that forward messages into a running Copilot tmux session and post replies back. Slack is the first connector (Socket Mode, no public URL). `omp env init` walks you through one-time token setup; tokens live in `~/.omp/.env` (auto-loaded on every invocation). See [`docs/slack-setup.md`](docs/slack-setup.md).
|
|
272
|
+
- **Slack outbound — `omp gateway notify`** — stateless REST `chat.postMessage` from any process (cron `--notify-target`, in-session `/slack <message>`, ad-hoc `omp gateway notify --text "..."`). Default destination from `SLACK_HOME_CHANNEL`; explicit `--target slack:C…/G…/D…/U…` overrides; `U…` auto-resolves to a DM via `conversations.open`.
|
|
273
|
+
- **Weighted-consensus council** — multi-model council with role weights + minority report. Via `omp council` or `/weighted-consensus`.
|
|
274
|
+
- **Suggest** — `omp suggest "<task>"` recommends a slash-skill workflow without launching one.
|
|
255
275
|
|
|
256
|
-
###
|
|
276
|
+
### Up next
|
|
257
277
|
|
|
258
|
-
|
|
278
|
+
- **More chat connectors** — Telegram, Discord, generic webhook on the same `omp gateway` runtime. One file per connector.
|
|
279
|
+
- **Outbound notifications** — long-running modes ping you when they finish, fail, or stall (`omp notify add` + per-invocation `--telegram`/`--discord`/`--slack` tags).
|
|
280
|
+
- **Checkpoints + rollback** — auto-snapshot the working tree before any tool-driven file edit; `omp rollback [id]` reverts a checkpoint. Safety net for autonomous loops.
|
|
281
|
+
- **Browser tool** — web search / page extraction / full automation (navigate, click, type, screenshot) for research skills that need fresh data instead of training-cutoff guesses.
|
|
259
282
|
|
|
260
|
-
###
|
|
283
|
+
### Later
|
|
261
284
|
|
|
262
|
-
|
|
285
|
+
- **HUD-lite statusline** — live orchestration metrics in the terminal: active mode, current task, worker count, tokens, cache hit rate, last error.
|
|
286
|
+
- **Provider routing** — fine-grained per-task provider selection: sorting, whitelists, priority ordering, cost-aware fallback. For mixed pipelines that want Opus for planning and Haiku for grunt work without manual model switching.
|
|
287
|
+
- **Skill learning** — extract repeating patterns from session transcripts into reusable skill files with strict quality gates. Auto-injects into context when relevant triggers fire.
|
|
288
|
+
- **Pre-built agent templates** — one-shot deployable templates for common workflows (research, security audit, design-system migration, content automation). `omp template add <name>` drops a curated skill + agent pair into your project.
|
|
263
289
|
|
|
264
290
|
---
|
|
265
291
|
|
|
@@ -269,6 +295,7 @@ One-shot deployable templates for common workflows: research, security audit, de
|
|
|
269
295
|
- [Copilot distribution](docs/copilot-distribution.md) — project/user skill installs and the case against GitHub App Extensions
|
|
270
296
|
- [Jira adapter](docs/jira.md) — configuration discovery, safe operations, dry-runs, fallback payloads
|
|
271
297
|
- [Self-evolve](docs/self-evolve.md) — extracting reusable skills from session transcripts
|
|
298
|
+
- [Slack setup](docs/slack-setup.md) — Slack app manifest, scopes, Socket-Mode token, `omp gateway serve`
|
|
272
299
|
|
|
273
300
|
## Layout
|
|
274
301
|
|
|
@@ -277,7 +304,7 @@ One-shot deployable templates for common workflows: research, security audit, de
|
|
|
277
304
|
.github/skills/<name>/SKILL.md # in-session slash skills
|
|
278
305
|
hooks/hooks.json # lifecycle hook manifest
|
|
279
306
|
scripts/*.mjs # hook implementations
|
|
280
|
-
src/ # omp CLI,
|
|
307
|
+
src/ # omp CLI, team runtime, gateway/comms, schedule, mode-state loops
|
|
281
308
|
```
|
|
282
309
|
|
|
283
310
|
Skills follow the [Copilot agent-skills docs](https://docs.github.com/en/copilot) — project skills live in `.github/skills/` and are invoked with `/skill-name`.
|
|
@@ -862,6 +862,52 @@
|
|
|
862
862
|
"notes": "Use /weighted-consensus from .github/skills/weighted-consensus/SKILL.md."
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"id": "slack",
|
|
868
|
+
"name": "slack",
|
|
869
|
+
"title": "Slack Notification",
|
|
870
|
+
"category": "notify",
|
|
871
|
+
"summary": "Post an outbound Slack notification from inside a Copilot session.",
|
|
872
|
+
"notes": "Thin in-session wrapper over `omp gateway notify`. Stateless REST call. v0.8.0 inbound chat bridge unchanged.",
|
|
873
|
+
"defaultCommand": "slack",
|
|
874
|
+
"phase1": true,
|
|
875
|
+
"sourceSkill": "slack",
|
|
876
|
+
"providers": {
|
|
877
|
+
"copilot": "supported"
|
|
878
|
+
},
|
|
879
|
+
"support": {
|
|
880
|
+
"copilot": "native"
|
|
881
|
+
},
|
|
882
|
+
"providerSupport": {
|
|
883
|
+
"copilot": {
|
|
884
|
+
"state": "native",
|
|
885
|
+
"notes": "Use /slack from .github/skills/slack/SKILL.md."
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"id": "notify.slack",
|
|
891
|
+
"name": "notify.slack",
|
|
892
|
+
"title": "Slack Notification",
|
|
893
|
+
"category": "notify",
|
|
894
|
+
"summary": "Alias capability id for `slack`.",
|
|
895
|
+
"notes": "Same skill as `slack`.",
|
|
896
|
+
"defaultCommand": "slack",
|
|
897
|
+
"phase1": true,
|
|
898
|
+
"sourceSkill": "slack",
|
|
899
|
+
"providers": {
|
|
900
|
+
"copilot": "supported"
|
|
901
|
+
},
|
|
902
|
+
"support": {
|
|
903
|
+
"copilot": "native"
|
|
904
|
+
},
|
|
905
|
+
"providerSupport": {
|
|
906
|
+
"copilot": {
|
|
907
|
+
"state": "native",
|
|
908
|
+
"notes": "Use /slack from .github/skills/slack/SKILL.md."
|
|
909
|
+
}
|
|
910
|
+
}
|
|
865
911
|
}
|
|
866
912
|
]
|
|
867
913
|
}
|
|
@@ -502,6 +502,32 @@
|
|
|
502
502
|
},
|
|
503
503
|
"projection": "project-skill",
|
|
504
504
|
"phase1": true
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "slack",
|
|
508
|
+
"capabilityId": "slack",
|
|
509
|
+
"capabilityIds": [
|
|
510
|
+
"slack",
|
|
511
|
+
"notify.slack"
|
|
512
|
+
],
|
|
513
|
+
"source": ".github/skills/slack/SKILL.md",
|
|
514
|
+
"sourcePath": ".github/skills/slack/SKILL.md",
|
|
515
|
+
"canonicalPath": ".github/skills/slack/SKILL.md",
|
|
516
|
+
"description": "Post an outbound Slack notification from inside a Copilot session.",
|
|
517
|
+
"summary": "Post an outbound Slack notification from inside a Copilot session.",
|
|
518
|
+
"support": "project-skill",
|
|
519
|
+
"aliases": [],
|
|
520
|
+
"slashCommands": [
|
|
521
|
+
"slack"
|
|
522
|
+
],
|
|
523
|
+
"projections": {
|
|
524
|
+
"copilot": {
|
|
525
|
+
"command": "/slack",
|
|
526
|
+
"state": "supported"
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
"projection": "project-skill",
|
|
530
|
+
"phase1": true
|
|
505
531
|
}
|
|
506
532
|
]
|
|
507
533
|
}
|