omp-fabric 1.25.19 → 1.25.21

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 (38) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/chunks/{chunk-QJKOPPW2.js → chunk-5CW2S6EB.js} +2 -2
  3. package/dist/chunks/{chunk-5SSQD7TW.js → chunk-7NWMFYD3.js} +73 -20
  4. package/dist/chunks/chunk-7NWMFYD3.js.map +7 -0
  5. package/dist/chunks/{chunk-WQUMHDOS.js → chunk-ESPCTYVX.js} +39 -1
  6. package/dist/chunks/chunk-ESPCTYVX.js.map +7 -0
  7. package/dist/chunks/{chunk-YNABLCR3.js → chunk-KW6EUFD2.js} +2 -2
  8. package/dist/chunks/{chunk-BD6FHI24.js → chunk-OLFP7R5J.js} +3 -3
  9. package/dist/chunks/{chunk-NPM24GG6.js → chunk-TDO2BRZM.js} +2 -2
  10. package/dist/chunks/{chunk-D55BFSFK.js → chunk-TRM76YFF.js} +6 -84
  11. package/dist/chunks/chunk-TRM76YFF.js.map +7 -0
  12. package/dist/compaction/hook.js +1 -1
  13. package/dist/core/token-math.d.ts +4 -22
  14. package/dist/core/token-math.d.ts.map +1 -1
  15. package/dist/core/truncation-marker.d.ts +8 -0
  16. package/dist/core/truncation-marker.d.ts.map +1 -0
  17. package/dist/fabric-exec-tool.d.ts.map +1 -1
  18. package/dist/fabric-runtime-state.js +7 -7
  19. package/dist/fabric-runtime-state.js.map +3 -3
  20. package/dist/index.js +15 -10
  21. package/dist/index.js.map +2 -2
  22. package/dist/providers/omp-tools-provider.d.ts +2 -1
  23. package/dist/providers/omp-tools-provider.d.ts.map +1 -1
  24. package/dist/residency/host.js +4 -4
  25. package/dist/residency/omp-entry.js +4 -4
  26. package/dist/ui/core-tool-render.d.ts.map +1 -1
  27. package/dist/ui/dashboard.js +2 -2
  28. package/dist/ui/fabric-render.d.ts.map +1 -1
  29. package/docs/architecture.md +6 -0
  30. package/docs/certification.md +1 -1
  31. package/package.json +8 -8
  32. package/dist/chunks/chunk-5SSQD7TW.js.map +0 -7
  33. package/dist/chunks/chunk-D55BFSFK.js.map +0 -7
  34. package/dist/chunks/chunk-WQUMHDOS.js.map +0 -7
  35. /package/dist/chunks/{chunk-QJKOPPW2.js.map → chunk-5CW2S6EB.js.map} +0 -0
  36. /package/dist/chunks/{chunk-YNABLCR3.js.map → chunk-KW6EUFD2.js.map} +0 -0
  37. /package/dist/chunks/{chunk-BD6FHI24.js.map → chunk-OLFP7R5J.js.map} +0 -0
  38. /package/dist/chunks/{chunk-NPM24GG6.js.map → chunk-TDO2BRZM.js.map} +0 -0
package/dist/index.js CHANGED
@@ -33,7 +33,7 @@ import {
33
33
  spinnerFrame,
34
34
  updateSpinner,
35
35
  wrapRowLimitFor
36
- } from "./chunks/chunk-5SSQD7TW.js";
36
+ } from "./chunks/chunk-7NWMFYD3.js";
37
37
  import {
38
38
  formatCost,
39
39
  formatDuration,
@@ -72,11 +72,12 @@ import {
72
72
  resolveFabricIdentity,
73
73
  settleInPlacePrewalk,
74
74
  streamedToolCallName
75
- } from "./chunks/chunk-BD6FHI24.js";
75
+ } from "./chunks/chunk-OLFP7R5J.js";
76
76
  import "./chunks/chunk-7VIQNUPS.js";
77
77
  import {
78
- AgentTranscriptReader
79
- } from "./chunks/chunk-WQUMHDOS.js";
78
+ AgentTranscriptReader,
79
+ splitTruncationNotice
80
+ } from "./chunks/chunk-ESPCTYVX.js";
80
81
  import "./chunks/chunk-DLXPTBPL.js";
81
82
  import {
82
83
  GUEST_TYPE_DECLARATIONS,
@@ -193,7 +194,7 @@ import {
193
194
  import {
194
195
  awaitPeerSettle,
195
196
  buildPeerCards
196
- } from "./chunks/chunk-QJKOPPW2.js";
197
+ } from "./chunks/chunk-5CW2S6EB.js";
197
198
  import {
198
199
  DEFAULT_FABRIC_CONFIG,
199
200
  boundModelOutput,
@@ -234,7 +235,7 @@ import {
234
235
  fabricExecTitleHintCached,
235
236
  normalizeRunDisplay,
236
237
  registerCompactionHook
237
- } from "./chunks/chunk-D55BFSFK.js";
238
+ } from "./chunks/chunk-TRM76YFF.js";
238
239
  import {
239
240
  fabricWriteBindings
240
241
  } from "./chunks/chunk-3J7BKUNG.js";
@@ -3288,18 +3289,22 @@ ${preview}` : ""}${hiddenHint}`,
3288
3289
  });
3289
3290
  if (core) return { body: core.lines.join(nl), hidden: core.hidden };
3290
3291
  if (coreToolRendererEnabled(audit, codePreviewSettings)) return null;
3291
- const body2 = nestedCallBody(audit);
3292
- if (!body2) return null;
3292
+ const rawBody = nestedCallBody(audit);
3293
+ if (!rawBody) return null;
3294
+ const notice = splitTruncationNotice(rawBody);
3295
+ const body2 = notice ? notice.text : rawBody;
3296
+ const badge = notice?.label;
3293
3297
  const bodyLines = safeTerminalText(body2).split(nl);
3294
3298
  while (bodyLines.length > 0) {
3295
3299
  const last = bodyLines[bodyLines.length - 1];
3296
3300
  if (last === void 0 || last.trim() === "") bodyLines.pop();
3297
3301
  else break;
3298
3302
  }
3299
- if (bodyLines.length === 0) return null;
3303
+ if (bodyLines.length === 0 && !badge) return null;
3300
3304
  const shown = bodyLines.slice(0, limit);
3305
+ const rendered = shown.map((line) => theme.fg("toolOutput", line || " ")).join(nl);
3301
3306
  return {
3302
- body: shown.map((line) => theme.fg("toolOutput", line || " ")).join(nl),
3307
+ body: badge ? `${rendered}${nl}${theme.fg("muted", `\u2570\u2500 ${badge}`)}` : rendered,
3303
3308
  hidden: bodyLines.length - shown.length
3304
3309
  };
3305
3310
  };