loki-mode 11.117.0 → 11.118.1

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.
Files changed (71) hide show
  1. package/SKILL.md +2 -2
  2. package/VERSION +1 -1
  3. package/autonomy/run.sh +3 -2
  4. package/dashboard/__init__.py +1 -1
  5. package/docs/CLI-REFERENCE.md +1 -1
  6. package/docs/INSTALLATION.md +1 -1
  7. package/docs/environment-variables.md +1 -1
  8. package/loki-ts/dist/loki.js +1677 -1672
  9. package/loki-ts/package.json +1 -1
  10. package/mcp/__init__.py +1 -1
  11. package/package.json +3 -3
  12. package/packages/control-plane/dist/ask-tools-server.js +154 -75
  13. package/packages/control-plane/dist/server.js +12675 -12400
  14. package/plugins/loki-mode/.claude-plugin/plugin.json +1 -1
  15. package/web-app/dist/assets/{AdminPage-Bc4JTUwm.js → AdminPage-Dl95kEpz.js} +1 -1
  16. package/web-app/dist/assets/{Avatar-K4kJL5k5.js → Avatar-CoMNZyZc.js} +1 -1
  17. package/web-app/dist/assets/{Badge-Dil2YtS8.js → Badge-DQ_maQj6.js} +1 -1
  18. package/web-app/dist/assets/{Button-QLl0SRQ1.js → Button-xAjqoDGo.js} +1 -1
  19. package/web-app/dist/assets/{CockpitPage-KgSJGizd.js → CockpitPage-DLS-kNOJ.js} +1 -1
  20. package/web-app/dist/assets/{ComparePage-CBWLGY5N.js → ComparePage-xWlmnGaY.js} +1 -1
  21. package/web-app/dist/assets/{ErrorBoundary-DYZuM2py.js → ErrorBoundary-BRbWbU8C.js} +1 -1
  22. package/web-app/dist/assets/{EvidenceReceiptPanel-ryyKe5lk.js → EvidenceReceiptPanel-CNbbIGm3.js} +1 -1
  23. package/web-app/dist/assets/{GitHubIssuesPanel-DKq183AS.js → GitHubIssuesPanel-DTjOTX07.js} +1 -1
  24. package/web-app/dist/assets/{GitHubPRsPanel-B-Hw8Wm9.js → GitHubPRsPanel-B7OVy1iJ.js} +1 -1
  25. package/web-app/dist/assets/{HomePage-CX65iaxF.js → HomePage-CETALbO9.js} +2 -2
  26. package/web-app/dist/assets/{LoginPage-DYD1syxL.js → LoginPage-DwPyh-M5.js} +1 -1
  27. package/web-app/dist/assets/{MagicPage-qJoOnNQl.js → MagicPage-CmLl1poT.js} +1 -1
  28. package/web-app/dist/assets/{MetricsPage-Cr2ODHhI.js → MetricsPage-CWQVihAs.js} +1 -1
  29. package/web-app/dist/assets/{NotFoundPage-DNIAsw_P.js → NotFoundPage-D5c8BBZa.js} +1 -1
  30. package/web-app/dist/assets/{ProjectPage-D32BDSVH.js → ProjectPage-DUbvjiAF.js} +3 -3
  31. package/web-app/dist/assets/{ProjectsPage-CBFh2qMN.js → ProjectsPage-bBUlPEjC.js} +1 -1
  32. package/web-app/dist/assets/{SettingsPage-BjI96CPt.js → SettingsPage-BpHpvLOi.js} +1 -1
  33. package/web-app/dist/assets/{ShowcasePage-CLvklXhv.js → ShowcasePage-BCSWtWpO.js} +1 -1
  34. package/web-app/dist/assets/{SystemSettingsPage-D7ZZZgO5.js → SystemSettingsPage-CZMC1YjJ.js} +1 -1
  35. package/web-app/dist/assets/{TeamsPage-CHNqQKrg.js → TeamsPage-wNI7lC4g.js} +1 -1
  36. package/web-app/dist/assets/{TemplatesPage-CwztBjvx.js → TemplatesPage-BUXLMzDk.js} +1 -1
  37. package/web-app/dist/assets/{TerminalOutput-Cx8g31my.js → TerminalOutput-Ci-OwQtT.js} +1 -1
  38. package/web-app/dist/assets/{activity-XbljwJFG.js → activity-DrY_CBEj.js} +1 -1
  39. package/web-app/dist/assets/{bell-CPl5TzwU.js → bell-zizLC58S.js} +1 -1
  40. package/web-app/dist/assets/{bot-IQqrlD7W.js → bot-DEypgLT2.js} +1 -1
  41. package/web-app/dist/assets/{check-ChsDuV7y.js → check-gY52vWg_.js} +1 -1
  42. package/web-app/dist/assets/{chevron-left-8TcKpN2H.js → chevron-left-DoDaUPzk.js} +1 -1
  43. package/web-app/dist/assets/{circle-alert-DOxsPPDp.js → circle-alert-Cfu5G_0b.js} +1 -1
  44. package/web-app/dist/assets/{clock-Tmrse7ZF.js → clock-De708wI0.js} +1 -1
  45. package/web-app/dist/assets/{cloud-BkPLwE5Q.js → cloud-EGwYhSkv.js} +1 -1
  46. package/web-app/dist/assets/{code-xml-Cy24hmSE.js → code-xml-BJXvBR7V.js} +1 -1
  47. package/web-app/dist/assets/{database-CmG4lC8k.js → database-D4yAsGes.js} +1 -1
  48. package/web-app/dist/assets/{dollar-sign-CSaksK36.js → dollar-sign-BUAWk_hv.js} +1 -1
  49. package/web-app/dist/assets/{file-code-corner-DZ8TbEAQ.js → file-code-corner-DbVIY5Ui.js} +1 -1
  50. package/web-app/dist/assets/{file-plus-CQLAx-pF.js → file-plus-TuU3vx6q.js} +1 -1
  51. package/web-app/dist/assets/{globe-DXVnQ7-d.js → globe-Cf3pzF10.js} +1 -1
  52. package/web-app/dist/assets/{hammer-CGNnrU6w.js → hammer-CkFR5FA_.js} +1 -1
  53. package/web-app/dist/assets/{index-CzOmjSHd.js → index-BOitSoSC.js} +3 -3
  54. package/web-app/dist/assets/{layers-CFzz5Csu.js → layers-CaH8k11R.js} +1 -1
  55. package/web-app/dist/assets/{loader-circle-CBZzpym9.js → loader-circle-CS4D1KEz.js} +1 -1
  56. package/web-app/dist/assets/{lock-CnomE5nD.js → lock-6XzWbWxF.js} +1 -1
  57. package/web-app/dist/assets/{package-3fBwQJue.js → package-BOuSIjSw.js} +1 -1
  58. package/web-app/dist/assets/{plus-BcT9r2Ea.js → plus-B3x53Byn.js} +1 -1
  59. package/web-app/dist/assets/{refresh-cw-C64hdWIf.js → refresh-cw-x8YMlGSU.js} +1 -1
  60. package/web-app/dist/assets/{rotate-ccw-D0FXHLXl.js → rotate-ccw-C783lZy1.js} +1 -1
  61. package/web-app/dist/assets/{scroll-text-BVHExHRd.js → scroll-text-CUyhyoYB.js} +1 -1
  62. package/web-app/dist/assets/{server-BlORU_Yr.js → server-BgM5H1lS.js} +1 -1
  63. package/web-app/dist/assets/{shield-alert-C1MY8-SP.js → shield-alert-PhlB-cgX.js} +1 -1
  64. package/web-app/dist/assets/{thumbs-up-BmkFX2m2.js → thumbs-up-BMv6-FAl.js} +1 -1
  65. package/web-app/dist/assets/{trash-2-DrvLXM72.js → trash-2-cwv6_KMs.js} +1 -1
  66. package/web-app/dist/assets/{trending-down-BpmKsKRs.js → trending-down-fh1-jf_B.js} +1 -1
  67. package/web-app/dist/assets/{trending-up-C5IbihPG.js → trending-up-CBhpOjo8.js} +1 -1
  68. package/web-app/dist/assets/{upload-LMaCrhHe.js → upload-B6OTSfOn.js} +1 -1
  69. package/web-app/dist/assets/{usePolling-1MWCOy35.js → usePolling-EItfhxee.js} +1 -1
  70. package/web-app/dist/assets/{user-DJ6S-_pt.js → user-BW393wzp.js} +1 -1
  71. 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.117.0
6
+ # Loki Mode v11.118.1
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.117.0 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
476
+ **v11.118.1 | [Autonomi](https://www.autonomi.dev/) flagship product | core skill**
package/VERSION CHANGED
@@ -1 +1 @@
1
- 11.117.0
1
+ 11.118.1
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 only. loki-ts/data/model-pricing.json is
20721
- # the single source the TS gate reads; its rows override these by key.
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():
@@ -7,6 +7,6 @@ Modules:
7
7
  control: Session control helpers (status, atomic writes, origin check)
8
8
  """
9
9
 
10
- __version__ = "11.117.0"
10
+ __version__ = "11.118.1"
11
11
 
12
12
  __all__ = ["__version__"]
@@ -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.117.0. Do not edit by hand.
3
+ Generated from `loki-ts/src/cli/registry.ts` by `scripts/generate-stale-zero.sh` for v11.118.1. 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 |
@@ -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.117.0
5
+ **Version:** v11.118.1
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 | Engine10 sessions 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. `LOKI_E10_PREFIX=lean` still wins when set. |
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. |