loki-mode 11.116.0 → 11.118.0
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/SKILL.md +2 -2
- package/VERSION +1 -1
- package/autonomy/run.sh +3 -2
- package/dashboard/__init__.py +1 -1
- package/docs/CLI-REFERENCE.md +1 -1
- package/docs/INSTALLATION.md +1 -1
- package/docs/environment-variables.md +3 -3
- package/loki-ts/dist/loki.js +1692 -1681
- package/loki-ts/package.json +1 -1
- package/mcp/__init__.py +1 -1
- package/package.json +3 -3
- package/packages/control-plane/dist/ask-tools-server.js +154 -75
- package/packages/control-plane/dist/server.js +13011 -12639
- package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
- package/web-app/dist/assets/{AdminPage-B5dlG5el.js → AdminPage-BtuzdN89.js} +1 -1
- package/web-app/dist/assets/{Avatar-Bab2uElK.js → Avatar-BwBfcyIF.js} +1 -1
- package/web-app/dist/assets/{Badge-BSjZ0T8J.js → Badge-BWLdbxp_.js} +1 -1
- package/web-app/dist/assets/{Button-CWOAU3Ws.js → Button-CoMbyHzi.js} +1 -1
- package/web-app/dist/assets/{CockpitPage-Bvpo6mDF.js → CockpitPage-YjkyVyyL.js} +1 -1
- package/web-app/dist/assets/{ComparePage-BvzhShe2.js → ComparePage-B9KagLRL.js} +1 -1
- package/web-app/dist/assets/{ErrorBoundary-CYxxoxoW.js → ErrorBoundary-BYO4y7E0.js} +1 -1
- package/web-app/dist/assets/{EvidenceReceiptPanel-BD0RsrHu.js → EvidenceReceiptPanel-DVUvl0w-.js} +1 -1
- package/web-app/dist/assets/{GitHubIssuesPanel-CaRetFLU.js → GitHubIssuesPanel-BDRtfsLE.js} +1 -1
- package/web-app/dist/assets/{GitHubPRsPanel-BC6Iffcb.js → GitHubPRsPanel-D9-6vARP.js} +1 -1
- package/web-app/dist/assets/{HomePage-D1IjGD40.js → HomePage-DCF_pSzR.js} +2 -2
- package/web-app/dist/assets/{LoginPage-DnDOZ3Il.js → LoginPage-FX5dxxN8.js} +1 -1
- package/web-app/dist/assets/{MagicPage-Dx4WfAVu.js → MagicPage-QxzQwLZ4.js} +1 -1
- package/web-app/dist/assets/{MetricsPage-DmpkRAXC.js → MetricsPage-COkcfv9w.js} +1 -1
- package/web-app/dist/assets/{NotFoundPage-DDYC654O.js → NotFoundPage-BJEnV8za.js} +1 -1
- package/web-app/dist/assets/{ProjectPage-5dyFZ7dM.js → ProjectPage-DnAxyT07.js} +3 -3
- package/web-app/dist/assets/{ProjectsPage-DGtZ1RW0.js → ProjectsPage-aBr_0ftX.js} +1 -1
- package/web-app/dist/assets/{SettingsPage-B1sIWqaV.js → SettingsPage-9tm0t6Uh.js} +1 -1
- package/web-app/dist/assets/{ShowcasePage-C2Duj0oT.js → ShowcasePage-BVBKdLrD.js} +1 -1
- package/web-app/dist/assets/{SystemSettingsPage-QZg4JOWh.js → SystemSettingsPage-J2dlv6av.js} +1 -1
- package/web-app/dist/assets/{TeamsPage-BHpvKiOI.js → TeamsPage-5YR_NBhW.js} +1 -1
- package/web-app/dist/assets/{TemplatesPage-D3b1K5Dw.js → TemplatesPage-DI9j-G-n.js} +1 -1
- package/web-app/dist/assets/{TerminalOutput-dld3b0of.js → TerminalOutput-sW01Zj_3.js} +1 -1
- package/web-app/dist/assets/{activity-B4ylAQDl.js → activity-CXw8XLai.js} +1 -1
- package/web-app/dist/assets/{bell-Bls9OEWN.js → bell-uA0VaWBY.js} +1 -1
- package/web-app/dist/assets/{bot-QyeML0Oe.js → bot-Mps7NkoP.js} +1 -1
- package/web-app/dist/assets/{check-C-plZ5CV.js → check-Cv9nOO7U.js} +1 -1
- package/web-app/dist/assets/{chevron-left-d57cmm31.js → chevron-left-BysTm-Lm.js} +1 -1
- package/web-app/dist/assets/{circle-alert-Bl4z_Nls.js → circle-alert-C33BBswH.js} +1 -1
- package/web-app/dist/assets/{clock-Dc9IIh_7.js → clock-CnOCK_Pm.js} +1 -1
- package/web-app/dist/assets/{cloud-BPhq0qv3.js → cloud-yB0ia_AG.js} +1 -1
- package/web-app/dist/assets/{code-xml-D5e42YHJ.js → code-xml-BqelZPuc.js} +1 -1
- package/web-app/dist/assets/{database-CrHsz_4f.js → database-gKIy-X2S.js} +1 -1
- package/web-app/dist/assets/{dollar-sign-CkwMnrxY.js → dollar-sign-CxZ8xKIn.js} +1 -1
- package/web-app/dist/assets/{file-code-corner-BqLzM26v.js → file-code-corner-DZDMKKUt.js} +1 -1
- package/web-app/dist/assets/{file-plus-B4hum1Tf.js → file-plus-tkZNe3Xg.js} +1 -1
- package/web-app/dist/assets/{globe-BIEBiEDm.js → globe-hNY_9GOh.js} +1 -1
- package/web-app/dist/assets/{hammer-LttQI71F.js → hammer-b1qhDpob.js} +1 -1
- package/web-app/dist/assets/{index-CFZIL1az.js → index-WkaMYFrY.js} +3 -3
- package/web-app/dist/assets/{layers-BpcHvHZ0.js → layers-BZzU-0zK.js} +1 -1
- package/web-app/dist/assets/{loader-circle-BvdWWTj3.js → loader-circle-DEQot4mR.js} +1 -1
- package/web-app/dist/assets/{lock-Cchd7ncO.js → lock-Cr8vbGhG.js} +1 -1
- package/web-app/dist/assets/{package-DxSPNuaj.js → package-ZSds42EN.js} +1 -1
- package/web-app/dist/assets/{plus-rGqbAdmh.js → plus-BbwFaraJ.js} +1 -1
- package/web-app/dist/assets/{refresh-cw-Bkixpik7.js → refresh-cw-DloXfNDd.js} +1 -1
- package/web-app/dist/assets/{rotate-ccw-Bvmzfrud.js → rotate-ccw-Br5vIbGi.js} +1 -1
- package/web-app/dist/assets/{scroll-text-DqDYjQF3.js → scroll-text-DQz7F_hu.js} +1 -1
- package/web-app/dist/assets/{server-pGWmzQrW.js → server-Bimwb8De.js} +1 -1
- package/web-app/dist/assets/{shield-alert-D2SBqTl5.js → shield-alert-B6cRVIiO.js} +1 -1
- package/web-app/dist/assets/{thumbs-up-Bh9of3Mt.js → thumbs-up-BrzciVwO.js} +1 -1
- package/web-app/dist/assets/{trash-2-BejzTz1b.js → trash-2-VudF4XlT.js} +1 -1
- package/web-app/dist/assets/{trending-down-hqukNoxZ.js → trending-down-2ETgwctn.js} +1 -1
- package/web-app/dist/assets/{trending-up-CA33tCdP.js → trending-up-CSafaC4Z.js} +1 -1
- package/web-app/dist/assets/{upload-gJzN5kEi.js → upload-CVCXHFlG.js} +1 -1
- package/web-app/dist/assets/{usePolling-C9Ikxf2V.js → usePolling-EDCFd0In.js} +1 -1
- package/web-app/dist/assets/{user-YHfELT0L.js → user-BmXYi71A.js} +1 -1
- package/web-app/dist/index.html +1 -1
package/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: loki-mode
|
|
|
3
3
|
description: Runs an autonomous software factory that knows what it is supposed to deliver and proves it did, with a signed receipt. Use when the user says Loki Mode or asks to build, fix or verify software autonomously.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Loki Mode v11.
|
|
6
|
+
# Loki Mode v11.118.0
|
|
7
7
|
|
|
8
8
|
**Current entry points (Loki 10 engine):** `loki "<task>"`, `loki owner/repo#N` and `loki quick "<task>"` run the Loki 10 engine and end with a signed receipt (`loki verify`). `loki backlog owner/repo --all` runs many issues in parallel. Guide: `docs/v10/GUIDE.md`. The skill instructions below, and `loki start`, describe the previous bash loop. PRD-file starts (`loki start ./prd.md`) and the opencode provider still run on it until FC38-SWEEP ports them; the legacy-engine command and the LOKI_ENGINE switch remain removed. Prefer `loki owner/repo#N` for issues.
|
|
9
9
|
|
|
@@ -473,4 +473,4 @@ Implemented, planned and deprecated items, with the version each landed in: `CHA
|
|
|
473
473
|
|
|
474
474
|
---
|
|
475
475
|
|
|
476
|
-
**v11.
|
|
476
|
+
**v11.118.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.
|
|
1
|
+
11.118.0
|
package/autonomy/run.sh
CHANGED
|
@@ -20717,8 +20717,9 @@ pricing = {
|
|
|
20717
20717
|
'gpt-5.6-terra': {'input': 2.00, 'output': 12.00},
|
|
20718
20718
|
'gpt-5.6-luna': {'input': 0.20, 'output': 1.20},
|
|
20719
20719
|
}
|
|
20720
|
-
# The literal rows above are the fallback
|
|
20721
|
-
#
|
|
20720
|
+
# Legacy bash loop only (the engine never runs this function). The literal rows above are the fallback for a
|
|
20721
|
+
# missing loki-ts/data/model-pricing.json, kept so this gate never prices records at zero; the file is the
|
|
20722
|
+
# one source the TS engine imports, and its rows override these by key.
|
|
20722
20723
|
try:
|
|
20723
20724
|
with open('${SCRIPT_DIR}/../loki-ts/data/model-pricing.json') as pf:
|
|
20724
20725
|
for k, v in json.load(pf)['pricing'].items():
|
package/dashboard/__init__.py
CHANGED
package/docs/CLI-REFERENCE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CLI reference
|
|
2
2
|
|
|
3
|
-
Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.
|
|
3
|
+
Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.118.0. Do not edit by hand.
|
|
4
4
|
Hidden and legacy-only commands are omitted; see `docs/CLI-INVENTORY.md` for the full inventory.
|
|
5
5
|
|
|
6
6
|
| Command | Description |
|
package/docs/INSTALLATION.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Loki Mode, by [Autonomi](https://www.autonomi.dev/), turns a spec or an issue into a verified pull request with a receipt you can check. This page covers installing it, a first run, and the options around it.
|
|
4
4
|
|
|
5
|
-
**Version:** v11.
|
|
5
|
+
**Version:** v11.118.0
|
|
6
6
|
|
|
7
7
|
**Engine note:** `loki start` is the primary command. `loki start`, `loki "<task>"`, `loki owner/repo#N` and `loki quick` all run the Loki 10 engine, whatever the flag order or input form (PRD file, issue ref, task or one-word brief). The previous loop runs only on `--engine legacy`, `LOKI_ENGINE=legacy`, or for one call when a flag Loki 10 cannot honor is present. See the [user guide](v10/GUIDE.md) and the [5-minute quickstart](QUICKSTART.md).
|
|
8
8
|
|
|
@@ -50,7 +50,7 @@ interact and why hitting one is a failure rather than a success.
|
|
|
50
50
|
| `LOKI_ENGINE` | unset | `legacy` forces the previous loop; the `--engine` flag wins over it. |
|
|
51
51
|
| `LOKI_SUMMARY_JSON` | unset | `1` prints the end-of-run summary as one JSON line on the previous loop. |
|
|
52
52
|
| `LOKI_TIER` | `oss` | **Not a model setting.** The open-core licensing seam. Leave it unset. |
|
|
53
|
-
| `LOKI_E10_STABLE_PREFIX` | on |
|
|
53
|
+
| `LOKI_E10_STABLE_PREFIX` | on | Applies only when `LOKI_E10_PREFIX` is not `lean` (lean is the default for claude sessions and replaces the preset outright): engine10 sessions then send the `claude_code` preset with `excludeDynamicSections: true`, so the system prompt is byte-identical across stages and runs and hits the prompt cache. `0` restores the previous preset. |
|
|
54
54
|
| `LOKI_E10_INSTALL` | on | Up-front dependency install at intake. `0` disables it (same as `verify.install_deps: false` in loki.yaml); the run then reports the missing dependencies as NOT PROVEN. When on, each package whose dependencies are absent is installed once per run before the baseline, using the lockfile-frozen form when the package has a lockfile: `npm ci`, `pnpm install --frozen-lockfile`, `yarn install --immutable` (Yarn Berry) or `--frozen-lockfile`, `bun install --frozen-lockfile`, `uv sync --locked`, `poetry install` (already lock-honoring, kept as written), `pipenv install --deploy`, `cargo fetch --locked`, `BUNDLE_FROZEN=true bundle install`, `composer install`. These never rewrite the lockfile. A lockfile governs a package only when it sits in the package directory, or in an ancestor that declares a workspace containing it (package.json `workspaces`, pnpm-workspace.yaml, Cargo `[workspace]`, uv `tool.uv.workspace`); a standalone sub-project beside a root lockfile keeps its own install command. The install command is rewritten only if it is simple enough to reason about without a shell parser; otherwise it is left as written and recorded `locked: false`: a `||` anywhere (lock_note "fallback masks install failure"); any character outside letters, digits, space, tab and `_./=:@+,%~-` besides the separators `&&`, `;` and newline, or anything before the first install other than `cd <path>`, `export VAR=value` or plain VAR=value assignments, or any assignment to PATH, NODE_OPTIONS, BASH_ENV or ENV (lock_note "unparsed shell construct"); and an install followed by a `;` or newline command, which would mask its failure (lock_note "later command masks install failure"), so after the install only `&&` is allowed. If the locked install fails (for example the lockfile is out of sync with the manifest), the run reports NOT PROVEN with the real error and does not retry with a mutating install. With no lockfile, or no matching rule, the project's own install command runs and the receipt records `locked: false`. The project's own install scripts (for example npm postinstall) run just as they do for a developer, so disable the install for a repo you do not trust. |
|
|
55
55
|
| `verify.test_command` (loki.yaml, not an env var) | unset | The repo's committed test command for a Maven, Gradle, .NET or plain-javac repo, e.g. `verify:` then ` test_command: ./mvnw -B -pl app test`. Verify runs it instead of the detected `mvn`, `gradle` or `dotnet` invocation; its output must still carry the build tool's own test summary or the check is NOT PROVEN, never a pass. Changing loki.yaml in a run caps the verdict. Without it, Loki detects pom.xml, build.gradle(.kts), gradlew, mvnw, *.sln and *.csproj and uses the repo wrapper when present. |
|
|
56
56
|
| `LOKI_REPO_BASELINE` | unset | `0` skips the intake repo profile and baseline test run. |
|
|
@@ -153,8 +153,8 @@ with no gain in pass rate. Set each to `1` to turn it on.
|
|
|
153
153
|
| Variable | Default | Effect |
|
|
154
154
|
|---|---|---|
|
|
155
155
|
| `LOKI_REVIEW_DEFAULT` | off | With no reviewer configured, a medium risk run asks its own CLI for one code review before seal. Off, the receipt lists "one reviewer" as not proven. A high risk run gets that review by default either way, and a configured reviewer (`review:` in loki.yaml, `LOKI_REVIEW_PROVIDER`, a reviewer agent) always runs. |
|
|
156
|
-
| `LOKI_PR_LESSONS` | off | Adds lessons from earlier runs and merged PRs to the implement brief. Lessons are recorded either way. |
|
|
157
|
-
| `LOKI_WORKED_EXAMPLE` | off | Adds
|
|
156
|
+
| `LOKI_PR_LESSONS` | off | Adds lessons from earlier runs and merged PRs to the implement brief: only a failing check, a restored test edit or a spec conflict on a file this run will touch, one line each, at most 400 bytes. Each run's injected lessons are recorded in `.loki/runs/<id>/lessons-injected.json`. Lessons are recorded either way, including checks that blocked a session stop. |
|
|
157
|
+
| `LOKI_WORKED_EXAMPLE` | off | Adds an earlier VERIFIED run as a short worked example to the implement brief, only when the new task is a near-duplicate of it. |
|
|
158
158
|
| `LOKI_E10_ALREADY_DONE_CHECK` | off | Runs the separate already-done confirmation on a direct task too. Issue tasks always get it; on a direct task the implement session reports already-done itself. |
|
|
159
159
|
|
|
160
160
|
### Verification depth (risk tier)
|