docks-kit 0.20.2 → 0.20.3
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/AGENTS.md +1 -0
- package/README.md +1 -0
- package/cli/docs/flags.md +5 -2
- package/cli/docs/omp-models.md +15 -2
- package/cli/src/commands/omp.ts +33 -2
- package/cli/src/engine-native/ompFastMode.ts +56 -0
- package/cli/src/generated/sotPayload.ts +3 -3
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -87,6 +87,7 @@ omp SoT notes:
|
|
|
87
87
|
- The omp CLI is upstream-owned and self-updating through `omp update`. Sync never installs or upgrades the CLI.
|
|
88
88
|
- `docks-kit omp [--model <selector>|--pick] [args...]` starts one interactive omp session with every model role set to one free model and every retry chain empty. Higher-precedence model selection can replace those overlay values. It renders the overlay to `~/.cache/docks-kit/omp-free-<model>-<digest>.yml` (mode 0600) and passes it through omp's repeatable `--config` flag. `ompOverlay.ts overlayFileName` gives each model its own file, because omp can re-read the overlay during a live session and a second launcher on another model must not rewrite it. Deployed `~/.omp/agent/` files stay untouched, so the next plain `omp` run uses the paid configuration again. Remaining arguments forward verbatim to omp.
|
|
89
89
|
- The session model persists per machine in `~/.docks-kit/kit.db` (table `omp_session`), next to the harness selection. The default is `opencode-zen/muse-spark-1.3-contributor-free` at `xhigh`. `ompOverlay.ts ladderCeiling, advisorLevelFor` derive both levels from the ladder of the chosen model for the `--model` path, and `ompOverlay.ts planEffortChoice` drives the `--pick` wizard, which asks whether every role shares one level and otherwise takes one level for the main roles and one for the advisor from that model's own ladder. Levels never come from a fixed list: free ladders are not uniform, three free models publish no `medium`, and two publish no ladder, which the overlay renders as bare selectors. The picker lists only zero-cost catalog models.
|
|
90
|
+
- `docks-kit omp --fast` toggles `tier.openai` in the deployed `~/.omp/agent/config.yml` between `priority` (omp's `/fast on` tier for OpenAI and OpenAI-Codex models) and `none`, prints the change, and exits. `ompFastMode.ts toggleOpenAiFast` edits only that key. `SoT/.omp/config.yml` does not declare `tier.openai`, so the additive merge keeps the toggled value across sync. There is no Ultrafast flag: omp ignores `ultrafast` for a Codex model whose catalog `serviceTiers` omits it, and the current GPT models omit it.
|
|
90
91
|
|
|
91
92
|
For per-tool SoT layouts (`SoT/.claude/`, `SoT/.codex/`, `SoT/.omp/`), see the matching SoT directory.
|
|
92
93
|
|
package/README.md
CHANGED
|
@@ -49,6 +49,7 @@ docks-kit update [--no-sync] self-update the kit (autodetects
|
|
|
49
49
|
docks-kit model <claude|codex> [value] get/set the DEPLOYED model (TTY picker)
|
|
50
50
|
docks-kit models [claude|codex|omp] [--refresh] live catalogs for enabled harnesses (`--json`)
|
|
51
51
|
docks-kit omp [--model <m>|--pick] [args...] one omp session on a free model, nothing deployed changes
|
|
52
|
+
docks-kit omp --fast toggle omp fast mode for OpenAI/Codex models, then exit
|
|
52
53
|
docks-kit toolchain [check|ensure <tool>|outdated|upgrade] verified-version floors for external tools
|
|
53
54
|
docks-kit status [--json] deployed-vs-SoT drift + toolchain + counts
|
|
54
55
|
docks-kit plugins list [--json] enabledPlugins tri-state vs installed
|
package/cli/docs/flags.md
CHANGED
|
@@ -58,16 +58,19 @@ ignored with a warning; Claude modifiers never touch Codex config and vice versa
|
|
|
58
58
|
|------|--------|
|
|
59
59
|
| `--model <selector>` | Session model for this run and later runs; rejected unless the live catalog reports zero input and output cost; recorded in `~/.docks-kit/kit.db` (table `omp_session`) |
|
|
60
60
|
| `--pick` | Interactive picker over free catalog models; records the choice the same way |
|
|
61
|
+
| `--fast` | Toggle `tier.openai` between `priority` and `none` in the deployed `~/.omp/agent/config.yml`, print the change, and exit; the same tier omp's `/fast on` selects for OpenAI and Codex models |
|
|
61
62
|
|
|
62
63
|
Remaining arguments forward verbatim to omp after the launcher flags.
|
|
63
64
|
`docks-kit omp -p "..."` runs one prompt. `docks-kit omp --continue` resumes
|
|
64
65
|
the previous session. A bare `docks-kit omp` opens an interactive session.
|
|
65
|
-
The launcher changes no deployed file and never invokes `sync
|
|
66
|
+
The launcher changes no deployed file and never invokes `sync`, except for
|
|
67
|
+
`--fast`, which changes only `tier.openai` and launches nothing. `--fast` over
|
|
68
|
+
`ultrafast` selects `priority`.
|
|
66
69
|
The boundary opens at the first token that is neither a declared launcher
|
|
67
70
|
flag nor a declared global flag. Declared flags stay with docks-kit and
|
|
68
71
|
never reach omp:
|
|
69
72
|
|
|
70
|
-
- `--model`, `--pick`
|
|
73
|
+
- `--model`, `--pick`, `--fast`
|
|
71
74
|
- `--help`, `--version`, `--log-level`, `--wizard`, `--completions`
|
|
72
75
|
|
|
73
76
|
The same names on omp stay reachable behind an explicit delimiter. Use
|
package/cli/docs/omp-models.md
CHANGED
|
@@ -412,8 +412,9 @@ through omp's repeatable `--config` flag. Each model gets its own file,
|
|
|
412
412
|
because omp can re-read the overlay during a live session, and a second
|
|
413
413
|
launcher on another model must not rewrite that file. The name sanitizes the
|
|
414
414
|
selector for the file system and appends a digest of the exact selector, so
|
|
415
|
-
two selectors that differ only in separator characters stay apart.
|
|
416
|
-
|
|
415
|
+
two selectors that differ only in separator characters stay apart. A session
|
|
416
|
+
launch never reads or writes `~/.omp/agent/config.yml` or `models.yml`; only
|
|
417
|
+
`--fast`, below, edits `config.yml`. It
|
|
417
418
|
never touches the SoT. The next plain `omp` run uses the paid configuration
|
|
418
419
|
again.
|
|
419
420
|
|
|
@@ -501,6 +502,18 @@ are derived from the catalog row of the chosen model, and under `--pick` the
|
|
|
501
502
|
user chooses them from the ladder that same row publishes. Refresh the
|
|
502
503
|
recorded default and the ladder counts in these docs in the same commit.
|
|
503
504
|
|
|
505
|
+
## OpenAI fast mode (`docks-kit omp --fast`)
|
|
506
|
+
|
|
507
|
+
`docks-kit omp --fast` toggles `tier.openai` in the deployed
|
|
508
|
+
`~/.omp/agent/config.yml` between `priority` and `none`, prints the old and new
|
|
509
|
+
values, and exits without starting a session. `priority` is the tier omp's
|
|
510
|
+
`/fast on` selects for OpenAI and OpenAI-Codex models. `--fast` over
|
|
511
|
+
`ultrafast` selects `priority`. The kit ships no Ultrafast toggle: omp honors
|
|
512
|
+
`ultrafast` for a Codex model only when its catalog `serviceTiers` lists it,
|
|
513
|
+
and the omp 18.4.9 catalog lists none for GPT-6.1 Sol, Astra, or Luna. The SoT
|
|
514
|
+
does not declare `tier.openai`, so the additive sync merge keeps the toggled
|
|
515
|
+
value. New sessions read it; a running session changes through `/fast`.
|
|
516
|
+
|
|
504
517
|
## Maintenance
|
|
505
518
|
|
|
506
519
|
- Refresh each per-level row from the metric table of
|
package/cli/src/commands/omp.ts
CHANGED
|
@@ -21,6 +21,8 @@ import {
|
|
|
21
21
|
renderFreeOverlay,
|
|
22
22
|
type CatalogModel,
|
|
23
23
|
} from "../engine-native/ompOverlay";
|
|
24
|
+
import { FAST_ON_TIER, toggleDeployedOpenAiFast } from "../engine-native/ompFastMode";
|
|
25
|
+
import { ompPaths } from "../engine-native/ompPaths";
|
|
24
26
|
|
|
25
27
|
const model = Flag.String("model").pipe(
|
|
26
28
|
Flag.withDescription("Free model selector to use and remember for omp sessions"),
|
|
@@ -30,6 +32,12 @@ const pick = Flag.Boolean("pick").pipe(
|
|
|
30
32
|
Flag.withDescription("Choose the free model interactively"),
|
|
31
33
|
Flag.withDefault(false),
|
|
32
34
|
);
|
|
35
|
+
const fast = Flag.Boolean("fast").pipe(
|
|
36
|
+
Flag.withDescription(
|
|
37
|
+
"Toggle fast mode (tier.openai priority/none) for OpenAI and Codex models in the deployed omp config, then exit",
|
|
38
|
+
),
|
|
39
|
+
Flag.withDefault(false),
|
|
40
|
+
);
|
|
33
41
|
const args: Argument.Argument<ReadonlyArray<string>> = Argument.String("args").pipe(
|
|
34
42
|
Argument.withDescription("Arguments forwarded verbatim to omp"),
|
|
35
43
|
Argument.variadic(),
|
|
@@ -163,12 +171,35 @@ const pickLevels = (catalogModel: CatalogModel) =>
|
|
|
163
171
|
return { thinking, advisorThinking };
|
|
164
172
|
});
|
|
165
173
|
|
|
166
|
-
export const ompCommand = Command.make("omp", { model, pick, args }, (config) =>
|
|
174
|
+
export const ompCommand = Command.make("omp", { model, pick, fast, args }, (config) =>
|
|
167
175
|
Effect.gen(function* () {
|
|
168
176
|
if (Option.isSome(config.model) && config.pick) {
|
|
169
177
|
return yield* bail("Pass either --model <selector> or --pick, not both");
|
|
170
178
|
}
|
|
171
179
|
|
|
180
|
+
if (config.fast) {
|
|
181
|
+
if (Option.isSome(config.model) || config.pick || config.args.length > 0) {
|
|
182
|
+
return yield* bail("--fast toggles fast mode and exits; pass it alone");
|
|
183
|
+
}
|
|
184
|
+
const configPath = p(
|
|
185
|
+
ompPaths({ home: engineHome(process.env), env: process.env, platform: process.platform })
|
|
186
|
+
.agentDir,
|
|
187
|
+
"config.yml",
|
|
188
|
+
);
|
|
189
|
+
const toggle = yield* Effect.try({
|
|
190
|
+
try: () => toggleDeployedOpenAiFast(configPath),
|
|
191
|
+
catch: (error) => (error instanceof Error ? error.message : String(error)),
|
|
192
|
+
}).pipe(Effect.catch((message) => bail(message)));
|
|
193
|
+
const state = toggle.next === FAST_ON_TIER ? "ON" : "OFF";
|
|
194
|
+
yield* Console.log(
|
|
195
|
+
`omp fast mode ${state} for OpenAI/Codex models: tier.openai ${toggle.previous} -> ${toggle.next} in ${configPath}`,
|
|
196
|
+
);
|
|
197
|
+
yield* Console.log(
|
|
198
|
+
"New omp sessions use it; in a running session, use /fast on|off or restart omp.",
|
|
199
|
+
);
|
|
200
|
+
return;
|
|
201
|
+
}
|
|
202
|
+
|
|
172
203
|
const omp = yield* Effect.sync(() => which("omp"));
|
|
173
204
|
if (omp === "") {
|
|
174
205
|
return yield* bail("omp not found on PATH; install omp, then retry", 1);
|
|
@@ -274,6 +305,6 @@ export const ompCommand = Command.make("omp", { model, pick, args }, (config) =>
|
|
|
274
305
|
}),
|
|
275
306
|
).pipe(
|
|
276
307
|
Command.withDescription(
|
|
277
|
-
"Start omp with every model role overridden to the remembered free model for this run only (no deployed configuration is changed; --model or --pick remembers a new free default).",
|
|
308
|
+
"Start omp with every model role overridden to the remembered free model for this run only (no deployed configuration is changed; --model or --pick remembers a new free default). --fast instead toggles OpenAI/Codex fast mode in the deployed omp config and exits.",
|
|
278
309
|
),
|
|
279
310
|
);
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `docks-kit omp --fast` toggles omp's OpenAI service tier in the deployed
|
|
3
|
+
* config.yml. `tier.openai: priority` is what omp's `/fast on` selects for
|
|
4
|
+
* OpenAI and OpenAI-Codex models; `none` omits `service_tier`. The SoT does not
|
|
5
|
+
* declare `tier.openai`, so the additive sync merge keeps the toggled value.
|
|
6
|
+
*/
|
|
7
|
+
import { chmodSync, existsSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
8
|
+
import { isMap, parseDocument } from "yaml";
|
|
9
|
+
|
|
10
|
+
export const FAST_ON_TIER = "priority";
|
|
11
|
+
export const FAST_OFF_TIER = "none";
|
|
12
|
+
|
|
13
|
+
export interface FastToggle {
|
|
14
|
+
/** The deployed `tier.openai` value before the toggle; omp's default `none` when unset. */
|
|
15
|
+
readonly previous: string;
|
|
16
|
+
readonly next: typeof FAST_ON_TIER | typeof FAST_OFF_TIER;
|
|
17
|
+
readonly text: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Pure toggle over config.yml text; edits only `tier.openai`. Only `priority`
|
|
22
|
+
* counts as on, so any other tier, `ultrafast` included, switches to plain fast.
|
|
23
|
+
*/
|
|
24
|
+
export function toggleOpenAiFast(configText: string): FastToggle {
|
|
25
|
+
const doc = parseDocument(configText);
|
|
26
|
+
const parseError = doc.errors[0];
|
|
27
|
+
if (parseError !== undefined) {
|
|
28
|
+
throw new Error(`Invalid omp config.yml YAML: ${parseError.message}`);
|
|
29
|
+
}
|
|
30
|
+
if (doc.contents !== null && !isMap(doc.contents)) {
|
|
31
|
+
throw new Error("omp config.yml root must be a mapping");
|
|
32
|
+
}
|
|
33
|
+
const tier = doc.get("tier", true);
|
|
34
|
+
if (tier !== undefined && tier !== null && !isMap(tier)) {
|
|
35
|
+
throw new Error("omp config.yml key 'tier' must be a mapping");
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const current = doc.getIn(["tier", "openai"]);
|
|
39
|
+
const previous = typeof current === "string" && current !== "" ? current : FAST_OFF_TIER;
|
|
40
|
+
const next = previous === FAST_ON_TIER ? FAST_OFF_TIER : FAST_ON_TIER;
|
|
41
|
+
doc.setIn(["tier", "openai"], next);
|
|
42
|
+
return { previous, next, text: doc.toString() };
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** Toggle `tier.openai` in the deployed config.yml with an atomic 0600 write. */
|
|
46
|
+
export function toggleDeployedOpenAiFast(configPath: string): FastToggle {
|
|
47
|
+
if (!existsSync(configPath)) {
|
|
48
|
+
throw new Error(`${configPath} does not exist; run 'docks-kit sync omp' first`);
|
|
49
|
+
}
|
|
50
|
+
const toggle = toggleOpenAiFast(readFileSync(configPath, "utf8"));
|
|
51
|
+
const temporary = `${configPath}.tmp`;
|
|
52
|
+
writeFileSync(temporary, toggle.text, { mode: 0o600 });
|
|
53
|
+
chmodSync(temporary, 0o600);
|
|
54
|
+
renameSync(temporary, configPath);
|
|
55
|
+
return toggle;
|
|
56
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by cli/scripts/generate-sot-payload.ts. DO NOT EDIT.
|
|
2
2
|
// Edit SoT/, notification.mp3, or package.json, then run: bun cli/scripts/generate-sot-payload.ts
|
|
3
3
|
|
|
4
|
-
export const GENERATED_PACKAGE_VERSION = "0.20.
|
|
4
|
+
export const GENERATED_PACKAGE_VERSION = "0.20.3"
|
|
5
5
|
|
|
6
6
|
export const GENERATED_PAYLOAD_TEXT = {
|
|
7
7
|
"SoT/.agents/skills.txt": "# Universal AI-agent skill manifest intentionally empty.\n# Global skill discovery is opt-in: add one <owner>/<repo> slug per line.\n# EngineNative ignores comments and blank lines.\n",
|
|
@@ -18,7 +18,7 @@ export const GENERATED_PAYLOAD_TEXT = {
|
|
|
18
18
|
"SoT/.codex/plugins/marketplace.json": "{\n \"name\": \"docks\",\n \"interface\": {\n \"displayName\": \"DocksDocks\"\n },\n \"plugins\": [\n {\n \"name\": \"docks\",\n \"source\": {\n \"source\": \"git-subdir\",\n \"url\": \"https://github.com/DocksDocks/docks.git\",\n \"path\": \"./plugins/docks\",\n \"ref\": \"main\"\n },\n \"policy\": {\n \"installation\": \"AVAILABLE\",\n \"authentication\": \"ON_INSTALL\"\n },\n \"category\": \"Productivity\"\n },\n {\n \"name\": \"plan-lifecycle\",\n \"source\": {\n \"source\": \"git-subdir\",\n \"url\": \"https://github.com/DocksDocks/docks.git\",\n \"path\": \"./plugins/plan-lifecycle\",\n \"ref\": \"main\"\n },\n \"policy\": {\n \"installation\": \"AVAILABLE\",\n \"authentication\": \"ON_INSTALL\"\n },\n \"category\": \"Productivity\"\n }\n ]\n}\n",
|
|
19
19
|
"SoT/.codex/rules/docks.rules": "prefix_rule(pattern=[\"pwd\"], decision=\"allow\")\nprefix_rule(pattern=[\"ls\"], decision=\"allow\")\nprefix_rule(pattern=[\"cat\"], decision=\"allow\")\nprefix_rule(pattern=[\"head\"], decision=\"allow\")\nprefix_rule(pattern=[\"tail\"], decision=\"allow\")\nprefix_rule(pattern=[\"wc\"], decision=\"allow\")\nprefix_rule(pattern=[\"nl\"], decision=\"allow\")\nprefix_rule(pattern=[\"grep\"], decision=\"allow\")\nprefix_rule(pattern=[\"sort\"], decision=\"allow\")\nprefix_rule(pattern=[\"uniq\"], decision=\"allow\")\nprefix_rule(pattern=[\"diff\"], decision=\"allow\")\nprefix_rule(pattern=[\"which\"], decision=\"allow\")\nprefix_rule(pattern=[\"date\"], decision=\"allow\")\nprefix_rule(pattern=[\"basename\"], decision=\"allow\")\nprefix_rule(pattern=[\"dirname\"], decision=\"allow\")\nprefix_rule(pattern=[\"realpath\"], decision=\"allow\")\nprefix_rule(pattern=[\"readlink\"], decision=\"allow\")\nprefix_rule(pattern=[\"jq\"], decision=\"allow\")\nprefix_rule(pattern=[\"tree\"], decision=\"allow\")\nprefix_rule(pattern=[\"cut\"], decision=\"allow\")\nprefix_rule(pattern=[\"tr\"], decision=\"allow\")\nprefix_rule(pattern=[\"echo\"], decision=\"allow\")\nprefix_rule(pattern=[\"printf\"], decision=\"allow\")\nprefix_rule(pattern=[\"printenv\"], decision=\"allow\")\nprefix_rule(pattern=[\"uname\"], decision=\"allow\")\nprefix_rule(pattern=[\"file\"], decision=\"allow\")\nprefix_rule(pattern=[\"stat\"], decision=\"allow\")\nprefix_rule(pattern=[\"du\"], decision=\"allow\")\nprefix_rule(pattern=[\"id\"], decision=\"allow\")\nprefix_rule(pattern=[\"whoami\"], decision=\"allow\")\n\nprefix_rule(pattern=[\"git\", \"status\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"diff\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"log\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"show\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"blame\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"rev-parse\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"ls-files\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"grep\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"ls-tree\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"branch\", \"--show-current\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"branch\", \"-vv\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"mv\"], decision=\"allow\")\n\nprefix_rule(pattern=[\"gh\", \"pr\", \"view\"], decision=\"allow\")\nprefix_rule(pattern=[\"gh\", \"pr\", \"list\"], decision=\"allow\")\nprefix_rule(pattern=[\"gh\", \"pr\", \"diff\"], decision=\"allow\")\nprefix_rule(pattern=[\"gh\", \"pr\", \"status\"], decision=\"allow\")\nprefix_rule(pattern=[\"gh\", \"pr\", \"checks\"], decision=\"allow\")\n\nprefix_rule(pattern=[\"docker\", \"ps\"], decision=\"allow\")\n\nprefix_rule(pattern=[\"git\", \"push\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"reset\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"clean\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"merge\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"rebase\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"checkout\"], decision=\"prompt\")\n\nprefix_rule(pattern=[\"rm\"], decision=\"prompt\")\nprefix_rule(pattern=[\"mv\"], decision=\"prompt\")\nprefix_rule(pattern=[\"chmod\"], decision=\"prompt\")\nprefix_rule(pattern=[\"chown\"], decision=\"prompt\")\nprefix_rule(pattern=[\"kill\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pkill\"], decision=\"prompt\")\n\nprefix_rule(pattern=[\"npm\", \"install\"], decision=\"prompt\")\nprefix_rule(pattern=[\"npm\", \"uninstall\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pnpm\", \"add\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pnpm\", \"remove\"], decision=\"prompt\")\nprefix_rule(pattern=[\"yarn\", \"add\"], decision=\"prompt\")\nprefix_rule(pattern=[\"yarn\", \"remove\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pip\", \"install\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pip\", \"uninstall\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pip3\", \"install\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pip3\", \"uninstall\"], decision=\"prompt\")\n\nprefix_rule(pattern=[\"docker\", \"run\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"rm\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"stop\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"volume\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"system\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"compose\", \"up\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"compose\", \"down\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"compose\", \"rm\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"compose\", \"stop\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker-compose\", \"up\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker-compose\", \"down\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker-compose\", \"rm\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker-compose\", \"stop\"], decision=\"prompt\")\n\n# `tail -f`/`--follow` never returns and hangs the agent (bare `tail` stays allowed above).\nprefix_rule(pattern=[\"tail\", \"-f\"], decision=\"prompt\")\nprefix_rule(pattern=[\"tail\", \"--follow\"], decision=\"prompt\")\n# rg and `sed -n` are prompt, NOT allow: argv-prefix matching cannot gate their\n# code-exec forms (rg --pre=CMD or a reordered --pre; sed -n 'e CMD' / -ni) while a\n# shorter allow prefix would auto-approve the whole command.\nprefix_rule(pattern=[\"rg\"], decision=\"prompt\")\nprefix_rule(pattern=[\"sed\", \"-n\"], decision=\"prompt\")\nprefix_rule(pattern=[\"find\"], decision=\"prompt\")\nprefix_rule(pattern=[\"sed\", \"-i\"], decision=\"prompt\")\nprefix_rule(pattern=[\"sed\", \"--in-place\"], decision=\"prompt\")\nprefix_rule(pattern=[\"awk\"], decision=\"prompt\")\nprefix_rule(pattern=[\"xargs\"], decision=\"prompt\")\nprefix_rule(pattern=[\"tee\"], decision=\"prompt\")\nprefix_rule(pattern=[\"curl\"], decision=\"prompt\")\nprefix_rule(pattern=[\"env\"], decision=\"prompt\")\n\nprefix_rule(pattern=[\"sudo\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"eval\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"mkfs\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"dd\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"git\", \"push\", \"--force\", \"origin\", \"main\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"git\", \"push\", \"--force\", \"origin\", \"master\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"git\", \"push\", \"-f\", \"origin\", \"main\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"git\", \"push\", \"-f\", \"origin\", \"master\"], decision=\"forbidden\")\n",
|
|
20
20
|
"SoT/.omp/AGENTS.md": "# Global OMP guidance\n\n- Verify unfamiliar or version-sensitive APIs and configuration against current official documentation before implementation.\n- When the user asks for an assessment rather than a change, report findings without editing.\n- For Docks plan reviews, cross-company review is standing-authorized; host security policy still applies.\n- Please remove all mannered prose.\n\n## Asking me things\n\nA question typed in prose is just text I may or may not act on. The `ask` tool renders a\nblocking picker, waits indefinitely (`ask.timeout = 0`), and records my answer in the\ntranscript. If you actually need an answer, it MUST go through `ask`.\n\nMUST use `ask` before:\n- Anything irreversible or destructive: deleting/overwriting files or data you did not create,\n force-push, history rewrite, dropping tables, running migrations, mass rename, touching\n secrets/credentials, or publishing outward (release, upstream PR, issue, comment).\n- Two or more viable approaches whose tradeoffs are mine to own: schema/API/protocol shape,\n adding a dependency, or establishing a convention this repo does not already have.\n- A fact only I hold: intended semantics of an ambiguous requirement, which of several\n conflicting existing patterns is canonical, or which environment/account/target to use.\n- A request that contradicts the repo: surface the conflict and let me resolve it; never\n silently pick one side.\n\nIf `ask` is not registered — subagent, headless, or `-p` print runs, where `hasUI` is false —\nthe MUST above cannot be satisfied: do not fabricate the call and do not stall on it. Take the\nconservative reversible option and put the question, plus the assumption you made, in your\nfinal report so whoever spawned you can decide.\n\nNEVER use `ask` for:\n- Permission to begin, or to confirm scope already stated in the request.\n- Anything a tool, grep, or doc can answer — go read it.\n- A cheap reversible choice — take the conservative option and say which you took.\n- Something already answered earlier in the conversation.\n\nBatch every open question into one `ask` call with multiple questions; do not serialize\nround trips. Being overruled ends the discussion — execute my call without relitigating.\n\n## Output Standard\n\nApply Simplified Technical English to all agent text. This includes responses, messages,\ndocumentation, comments, and interface text.\n\nReply in the language I use, and apply every rule below to that language.\n\nA rule that names English grammar applies only to English. The contraction ban is one\nsuch rule. In another language, follow the normal grammar of that language. Portuguese,\nSpanish, French, Italian, and German merge a preposition with an article, and that merge\nis required, not optional.\n\nTreat the word limits as approximate outside English. Some languages need more words to\ncarry the same content.\n\n- Use the simplest precise technical term.\n- Use each term consistently.\n- Expand an abbreviation at its first occurrence.\n- Explain a technical term when I ask for an explanation.\n- Write complete and grammatically correct sentences.\n- Use active voice and identify the actor.\n- Use the imperative form for instructions.\n- Put only one action in each instruction sentence.\n- Put a necessary condition before its instruction.\n- Use simple verb tenses.\n- Do not use contractions, idioms, or slang. Avoid humor and rhetorical questions.\n- Keep procedural sentences to 20 words or fewer.\n- Keep descriptive sentences to 25 words or fewer.\n- Keep each paragraph to one topic and six sentences or fewer.\n- Do not use more than three nouns together.\n- Use vertical lists for complex information.\n- Put a warning or caution before a related hazardous instruction.\n\n### Naming\n\n- Say what the thing does before you name it. Put the technical term after the plain\n description, once, in parentheses.\n- Do not use a technical term as the only name for something you just introduced.\n- Prefer the short common word. Use \"use\", not \"utilize\". Use \"set up\", not \"provision\".\n- Do not explain by metaphor alone. A metaphor may follow a literal statement.\n",
|
|
21
|
-
"SoT/.omp/config.yml": "statusLine:\n compactThinkingLevel: false\n\ndefaultThinkingLevel: high\n\ncycleOrder:\n - smol\n - default\n - slow\n - fable\n - astra\n\ntier:\n
|
|
21
|
+
"SoT/.omp/config.yml": "statusLine:\n compactThinkingLevel: false\n\ndefaultThinkingLevel: high\n\ncycleOrder:\n - smol\n - default\n - slow\n - fable\n - astra\n\ntier:\n anthropic: none\n\nadvisor:\n enabled: true\n syncBacklog: \"1\"\n\ngithub:\n enabled: true\n\nfind:\n enabled: true\n\ntask:\n eager: always\n showResolvedModelBadge: true\n softRequestBudget: 200\n softRequestBudgetNotice: true\n batch: true\n enableLsp: true\n enableEffort: true\n maxEffort: max\n maxConcurrency: 16\n maxRecursionDepth: 2\n maxRuntimeMs: 3600000\n agentModelOverrides:\n reviewer: \"@task\"\n security-reviewer: \"@task\"\n code-reviewer: \"@task\"\n plan-reviewer: \"@task\"\n\nmodelRoles:\n smol: openai-codex/gpt-6-luna:medium\n advisor: anthropic/claude-opus-5-5:medium\n designer: anthropic/claude-opus-5-5:high\n plan: anthropic/claude-opus-5-5:xhigh\n commit: openai-codex/gpt-6-luna:medium\n task: openai-codex/gpt-6.1-sol:high\n vision: anthropic/claude-opus-5-5:medium\n tiny: openai-codex/gpt-6-luna:low\n default: anthropic/claude-opus-5-5:high\n slow: anthropic/claude-opus-5-5:xhigh\n fable: anthropic/claude-fable-5-1:medium\n switch_fable: anthropic/claude-fable-5-1:medium\n astra: openai-codex/gpt-6-astra:xhigh\n web: web/firecrawl\n\nmodelTags:\n fable:\n name: Fable 5.1\n switch_fable:\n name: Fable switch default\n hidden: true\n astra:\n name: GPT-6 Astra\n\ndisplay:\n showTokenUsage: true\n\nproviders:\n anthropic:\n serverSideFallback: false\n fetch: auto\n webSearchTimeoutSeconds: 30\n\nretry:\n usageAwareFallback: true\n fallbackChains:\n default:\n - openai-codex/gpt-6.1-sol:high\n advisor: []\n task:\n - anthropic/claude-opus-5-5:high\n vision:\n - openai-codex/gpt-6.1-sol:medium\n smol:\n - anthropic/claude-opus-5-5:low\n tiny:\n - anthropic/claude-opus-5-5:low\n commit:\n - anthropic/claude-opus-5-5:medium\n switch_fable: []\n fable:\n - openai-codex/gpt-6-astra:xhigh\n astra:\n - anthropic/claude-fable-5-1:medium\n web:\n - web/exa\n - web/perplexity\n - openai-codex/gpt-6-luna\n - web/parallel\n - web/zai\n - web/tinyfish\n - web/jina\n - web/kagi\n - web/tavily\n - web/brave\n - web/kimi\n - web/synthetic\n - web/ollama\n - web/searxng\n - web/startpage\n - web/duckduckgo\n - web/ecosia\n - web/google\n - web/mojeek\n - web/public\n\nincludeWorkspaceTree: false\n\nbranchSummary:\n enabled: true\n\ncommands:\n enableOpencodeProject: false\n enableOpencodeUser: false\n\nskills:\n enableClaudeUser: false\n enableCodexUser: false\n enableAgentsUser: true\n\nsteeringMode: all\n\ndev:\n autoqa: false\n autoqaConsent: denied\n\ncompaction:\n thresholdTokens: -1\n idleEnabled: true\n handoffSaveToDisk: true\n\ndoubleEscapeAction: tree\ntextVerbosity: low\n\nfeatures:\n unexpectedStopDetection: smart\n\ncodexResets:\n autoRedeem: \"no\"\n\nstartup:\n quiet: true\n\ntools:\n approvalMode: yolo\n",
|
|
22
22
|
"SoT/.omp/intercom.json": "{\n \"brokerCommand\": \"bun\",\n \"brokerArgs\": []\n}\n",
|
|
23
23
|
"SoT/.omp/mcp.json": "{\n \"$schema\": \"https://raw.githubusercontent.com/can1357/oh-my-pi/main/packages/coding-agent/src/config/mcp-schema.json\",\n \"disabledServers\": [\n \"chrome-devtools\",\n \"context7:context7\",\n \"openaiDeveloperDocs\"\n ]\n}\n",
|
|
24
24
|
"SoT/.omp/models.yml": "providers:\n openai-codex:\n modelOverrides:\n gpt-6-astra:\n thinking:\n mode: effort\n efforts:\n - low\n - medium\n - high\n - xhigh\n - max\n defaultLevel: xhigh\n"
|
|
@@ -50,4 +50,4 @@ export const GENERATED_PAYLOAD_PATHS = [
|
|
|
50
50
|
"notification.mp3"
|
|
51
51
|
] as const
|
|
52
52
|
|
|
53
|
-
export const GENERATED_PAYLOAD_HASH = "
|
|
53
|
+
export const GENERATED_PAYLOAD_HASH = "e1660dc1c24ca4a73511b08d3f780c5ee5ae398b91d0a74d770615eaa3619eb4"
|
package/package.json
CHANGED