omp-fabric 1.18.3 → 1.19.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/chunks/{chunk-N5DHCLLX.js → chunk-4J65SMNI.js} +4 -4
  3. package/dist/chunks/{chunk-T5ZA5YRU.js → chunk-52JBWP2C.js} +2 -2
  4. package/dist/chunks/{chunk-7OAFYAJC.js → chunk-5BFEXYPV.js} +3 -3
  5. package/dist/chunks/{chunk-6QBPSZJ5.js → chunk-BPMSLBX4.js} +2 -2
  6. package/dist/chunks/{chunk-C5JMLDIM.js → chunk-DC3KUZQ5.js} +2 -2
  7. package/dist/chunks/{chunk-BMIE4PIL.js → chunk-DTG3DYVC.js} +3 -3
  8. package/dist/chunks/{chunk-GIBZGL4G.js → chunk-HKRSGUUQ.js} +2 -2
  9. package/dist/chunks/{chunk-FX3XLQYI.js → chunk-MQSRZC2O.js} +2 -2
  10. package/dist/chunks/{chunk-2LGLDM34.js → chunk-R4EFMCIY.js} +5 -3
  11. package/dist/chunks/{chunk-2LGLDM34.js.map → chunk-R4EFMCIY.js.map} +2 -2
  12. package/dist/chunks/{chunk-2KEWFW56.js → chunk-SDZXNTBF.js} +2 -2
  13. package/dist/chunks/{chunk-X3XY6SAU.js → chunk-SRC6ERTE.js} +4 -4
  14. package/dist/chunks/{chunk-RBA54WC7.js → chunk-X2SKPWJA.js} +1 -1
  15. package/dist/chunks/{chunk-RBA54WC7.js.map → chunk-X2SKPWJA.js.map} +1 -1
  16. package/dist/chunks/{chunk-4HQDSTHN.js → chunk-YBNCEX5E.js} +2 -2
  17. package/dist/chunks/{chunk-VYB7ROEH.js → chunk-YE3CSYYB.js} +3 -3
  18. package/dist/chunks/{chunk-WMB6QCWX.js → chunk-Z5YXOMNU.js} +2 -2
  19. package/dist/chunks/{chunk-6N4XGAZY.js → chunk-ZFMSJLQE.js} +6 -2
  20. package/dist/chunks/{chunk-6N4XGAZY.js.map → chunk-ZFMSJLQE.js.map} +2 -2
  21. package/dist/compaction/hook.js +4 -4
  22. package/dist/compaction/lcm-runtime.js +5 -5
  23. package/dist/core/action-registry.d.ts.map +1 -1
  24. package/dist/core/action-registry.js +4 -4
  25. package/dist/core/omp-tools.d.ts +3 -0
  26. package/dist/core/omp-tools.d.ts.map +1 -1
  27. package/dist/core/system-guidance.d.ts +1 -1
  28. package/dist/core/system-guidance.d.ts.map +1 -1
  29. package/dist/core/tool-ownership.d.ts +2 -0
  30. package/dist/core/tool-ownership.d.ts.map +1 -1
  31. package/dist/entropy/index.js +6 -6
  32. package/dist/fabric-runtime-state.d.ts +2 -0
  33. package/dist/fabric-runtime-state.d.ts.map +1 -1
  34. package/dist/fabric-runtime-state.js +38 -23
  35. package/dist/fabric-runtime-state.js.map +3 -3
  36. package/dist/fabric-state.d.ts +1 -0
  37. package/dist/fabric-state.d.ts.map +1 -1
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +38 -18
  40. package/dist/index.js.map +2 -2
  41. package/dist/memory/discovery.js +5 -5
  42. package/dist/memory/normalize.js +4 -4
  43. package/dist/memory/search.js +5 -5
  44. package/dist/protocol.d.ts +2 -0
  45. package/dist/protocol.d.ts.map +1 -1
  46. package/dist/protocol.js +1 -1
  47. package/dist/providers/memory-provider.js +7 -7
  48. package/dist/providers/omp-tools-provider.d.ts +5 -2
  49. package/dist/providers/omp-tools-provider.d.ts.map +1 -1
  50. package/dist/residency/host.js +8 -8
  51. package/dist/residency/omp-entry.js +8 -8
  52. package/dist/runtime/core-override-guest-types.js +1 -1
  53. package/dist/runtime/node-process-runtime.js +1 -1
  54. package/dist/ui/settings.js +3 -3
  55. package/dist/ui/settings.js.map +2 -2
  56. package/docs/configuration.md +3 -1
  57. package/package.json +1 -1
  58. package/skills/fabric-advisor/SKILL.md +1 -1
  59. package/skills/fabric-ambient/SKILL.md +1 -1
  60. /package/dist/chunks/{chunk-N5DHCLLX.js.map → chunk-4J65SMNI.js.map} +0 -0
  61. /package/dist/chunks/{chunk-T5ZA5YRU.js.map → chunk-52JBWP2C.js.map} +0 -0
  62. /package/dist/chunks/{chunk-7OAFYAJC.js.map → chunk-5BFEXYPV.js.map} +0 -0
  63. /package/dist/chunks/{chunk-6QBPSZJ5.js.map → chunk-BPMSLBX4.js.map} +0 -0
  64. /package/dist/chunks/{chunk-C5JMLDIM.js.map → chunk-DC3KUZQ5.js.map} +0 -0
  65. /package/dist/chunks/{chunk-BMIE4PIL.js.map → chunk-DTG3DYVC.js.map} +0 -0
  66. /package/dist/chunks/{chunk-GIBZGL4G.js.map → chunk-HKRSGUUQ.js.map} +0 -0
  67. /package/dist/chunks/{chunk-FX3XLQYI.js.map → chunk-MQSRZC2O.js.map} +0 -0
  68. /package/dist/chunks/{chunk-2KEWFW56.js.map → chunk-SDZXNTBF.js.map} +0 -0
  69. /package/dist/chunks/{chunk-X3XY6SAU.js.map → chunk-SRC6ERTE.js.map} +0 -0
  70. /package/dist/chunks/{chunk-4HQDSTHN.js.map → chunk-YBNCEX5E.js.map} +0 -0
  71. /package/dist/chunks/{chunk-VYB7ROEH.js.map → chunk-YE3CSYYB.js.map} +0 -0
  72. /package/dist/chunks/{chunk-WMB6QCWX.js.map → chunk-Z5YXOMNU.js.map} +0 -0
@@ -275,7 +275,9 @@ OMP core calls reject when the native tool reports an error. Successful `bash`,
275
275
 
276
276
  `fullCodeMode: true` is the default. Fabric takes OMP's native core tools out of the model-facing set and exposes their implementations through `fabric_exec`; `omp.read()` and the other `omp.*` core calls route through the host adapter.
277
277
 
278
- Fabric records which native core tools were active before it takes ownership. Switching to orchestration-only mode or unloading Fabric restores that selection. Fabric applies full-mode ownership only when the session initializes or the mode changes. It never resets an explicitly selected active tool set from input, agent-start, turn-end, or settled lifecycle hooks. The system prompt carries the full-mode execution rule.
278
+ Fabric reaches only the core tools OMP itself has active. A tool disabled in OMP is unavailable through `omp.*` as well: discovery omits it and a call to it fails. `capture.excludeTools` is a different mechanism. It hides a tool from the model and leaves it callable through `omp.*`. Turning a core tool off while full code mode is already active applies to the next session: Fabric has removed that name from the active set, so the change is invisible to it and the tool stays reachable through `omp.*` until the session ends.
279
+
280
+ Fabric records which native core tools were active before it takes ownership. Switching to orchestration-only mode or unloading Fabric restores that selection. A core tool re-enabled while full code mode is active stays hidden for that session and is not added to the restored selection. Fabric applies full-mode ownership only when the session initializes or the mode changes. It never resets an explicitly selected active tool set from input, agent-start, turn-end, or settled lifecycle hooks. The system prompt carries the full-mode execution rule.
279
281
 
280
282
  OMP core shows its model-visible skill catalog only while the native `read` tool is active. Full code mode restores the same catalog from OMP's structured skill registry and changes only the loader instruction, so `omp.read` runs inside `fabric_exec`. Native core tools stay hidden. Packaged skills mark cross-document paths with `<skill-dir>`. Fabric replaces that marker inline from OMP's expanded skill `location` or the actual `SKILL.md` read path. It never matches skill names or enumerates directories. Ordinary document reads stay unchanged. When an expanded skill invokes another installed skill, Fabric adds an exact name-to-path resolution hint for that turn, and the delegated `SKILL.md` loads before task work.
281
283
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omp-fabric",
3
- "version": "1.18.3",
3
+ "version": "1.19.0",
4
4
  "description": "A programmable tool and agent runtime for Oh My Pi (OMP)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@ Hard pointer: read `<skill-dir>/../fabric-ambient/references/setup.md` completel
17
17
  - `strings.instructions`: the prompt below, with the requested focus appended
18
18
 
19
19
  ```text
20
- You are an ambient peer advisor for the main coding agent. Review the supplied parent-session event and recent transcript as an outside observer, not a second executor. Focus on correctness, missed user constraints, risky assumptions, edge cases, and cheaper paths to the requested outcome. Inspect the workspace with read-only tools only when evidence is needed.
20
+ You are an ambient peer advisor for the main coding agent. Review the supplied parent-session event and recent transcript as an outside observer, not a second executor. Focus on correctness, missed user constraints, risky assumptions, edge cases, and cheaper paths to the requested outcome. Inspect the workspace with read-only tools only when evidence is needed. Never prescribe a tool to the main agent without transcript evidence that it is callable there. Under full code mode the main agent by default reaches OMP's file tools only as `omp.edit` / `omp.write` inside `fabric_exec`, so an escaping failure in a shell or Node script argues for `omp.edit`, never against `fabric_exec`.
21
21
 
22
22
  Prefer silence. Return {"action":"silent"} when work is on track. Return {"action":"message","message":"..."} only for one concrete, material observation that could prevent wasted work or a defect while there is still time to act. Cite the evidence and recommendation tersely as advice, not an order. Do not repeat advice visible in the transcript or raise minor style preferences unless the user required them.
23
23
  ```
@@ -34,7 +34,7 @@ Review the supplied event and recent transcript as an outside observer. Return {
34
34
  Use `name=advisor`, `events=["turn_end"]`, and `triggerTurn=false`. Append any requested focus to:
35
35
 
36
36
  ```text
37
- You are an ambient peer advisor reviewing the main coding agent. Focus on correctness, missed constraints, risky assumptions, and cheaper paths. Inspect with read-only tools only when needed. Return {"action":"silent"} when work is on track; otherwise return {"action":"message","message":"..."} for one concrete, material observation. Cite evidence and a terse recommendation as advice, not an order. Do not repeat visible advice.
37
+ You are an ambient peer advisor reviewing the main coding agent. Focus on correctness, missed constraints, risky assumptions, and cheaper paths. Inspect with read-only tools only when needed. Never prescribe a tool without transcript evidence it is callable in the main session; under full code mode its file tools are by default `omp.edit`/`omp.write` inside `fabric_exec`. Return {"action":"silent"} when work is on track; otherwise return {"action":"message","message":"..."} for one concrete, material observation. Cite evidence and a terse recommendation as advice, not an order. Do not repeat visible advice.
38
38
  ```
39
39
 
40
40
  The supervisor can wake an idle session; the per-turn advisor must not.