@tangle-network/agent-runtime 0.156.0 → 0.157.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 (80) hide show
  1. package/dist/{activation-B4fRz8QL.js → activation-CLicee7D.js} +3 -3
  2. package/dist/{activation-B4fRz8QL.js.map → activation-CLicee7D.js.map} +1 -1
  3. package/dist/agent.d.ts +2 -2
  4. package/dist/agent.js +2 -2
  5. package/dist/analyst-loop.d.ts +1 -1
  6. package/dist/{authoring-C4uCoDmO.js → authoring-rIDPzwYY.js} +2 -2
  7. package/dist/{authoring-C4uCoDmO.js.map → authoring-rIDPzwYY.js.map} +1 -1
  8. package/dist/candidate-execution/index.js +4 -4
  9. package/dist/{candidate-execution-Ic92NMl9.js → candidate-execution-izJj02pU.js} +4 -4
  10. package/dist/{candidate-execution-Ic92NMl9.js.map → candidate-execution-izJj02pU.js.map} +1 -1
  11. package/dist/conversation.d.ts +1 -1
  12. package/dist/durable.d.ts +11 -8
  13. package/dist/durable.js +2 -4
  14. package/dist/durable.js.map +1 -1
  15. package/dist/{environment-provider-Dz9JB-X_.js → environment-provider-Bn3652YU.js} +2 -2
  16. package/dist/{environment-provider-Dz9JB-X_.js.map → environment-provider-Bn3652YU.js.map} +1 -1
  17. package/dist/{environment-provider-C_QI6VCG.d.ts → environment-provider-BobKk46F.d.ts} +3 -3
  18. package/dist/environment-provider.d.ts +1 -1
  19. package/dist/environment-provider.js +1 -1
  20. package/dist/{graph-BibNm6a-.js → graph-mN5HXKys.js} +3 -3
  21. package/dist/{graph-BibNm6a-.js.map → graph-mN5HXKys.js.map} +1 -1
  22. package/dist/{improvement-cycle-g6RsxGbg.js → improvement-cycle-BEENaoCb.js} +11 -7
  23. package/dist/improvement-cycle-BEENaoCb.js.map +1 -0
  24. package/dist/{index-DPFUNEdU.d.ts → index-CLt9zpuD.d.ts} +3 -3
  25. package/dist/{index-BYGBIxtx.d.ts → index-DLnHBu3V.d.ts} +4 -4
  26. package/dist/{index-B2A_KtAZ.d.ts → index-DiLGPhai.d.ts} +10 -12
  27. package/dist/index.d.ts +9 -9
  28. package/dist/index.js +11 -11
  29. package/dist/intelligence.d.ts +7 -11
  30. package/dist/intelligence.js +6 -6
  31. package/dist/intelligence.js.map +1 -1
  32. package/dist/kernel.d.ts +7 -7
  33. package/dist/kernel.js +8 -8
  34. package/dist/{knowledge-DeP-wG8l.js → knowledge-HDCUV1kZ.js} +5 -5
  35. package/dist/{knowledge-DeP-wG8l.js.map → knowledge-HDCUV1kZ.js.map} +1 -1
  36. package/dist/knowledge.d.ts +1 -1
  37. package/dist/knowledge.js +1 -1
  38. package/dist/{loop-runner-bin-9VUQihh7.d.ts → loop-runner-bin-BsmAByJ1.d.ts} +3 -3
  39. package/dist/{loop-runner-bin-LvaprzUz.js → loop-runner-bin-jnF_gdWU.js} +3 -3
  40. package/dist/{loop-runner-bin-LvaprzUz.js.map → loop-runner-bin-jnF_gdWU.js.map} +1 -1
  41. package/dist/loop-runner-bin.d.ts +1 -1
  42. package/dist/loop-runner-bin.js +1 -1
  43. package/dist/mcp/bin.js +3 -3
  44. package/dist/mcp/index.d.ts +6 -6
  45. package/dist/mcp/index.js +5 -5
  46. package/dist/mcp/index.js.map +1 -1
  47. package/dist/{openai-tools-CkSQJppW.js → openai-tools-D1VQ5e9p.js} +2 -2
  48. package/dist/{openai-tools-CkSQJppW.js.map → openai-tools-D1VQ5e9p.js.map} +1 -1
  49. package/dist/{openai-tools-z-whdYNC.d.ts → openai-tools-wkxQ2aEw.d.ts} +2 -2
  50. package/dist/{prepare-DcMjMdj-.js → prepare-VLGnSyav.js} +2 -2
  51. package/dist/{prepare-DcMjMdj-.js.map → prepare-VLGnSyav.js.map} +1 -1
  52. package/dist/primeintellect/index.d.ts +1 -1
  53. package/dist/profiles.d.ts +2 -166
  54. package/dist/{protected-model-port-BzUkspPP.js → protected-model-port-CcCH0Uji.js} +2 -2
  55. package/dist/{protected-model-port-BzUkspPP.js.map → protected-model-port-CcCH0Uji.js.map} +1 -1
  56. package/dist/{redact-BT7-mX8G.d.ts → redact-0AK8JmHW.d.ts} +13 -10
  57. package/dist/researcher-BMFFPwKb.js.map +1 -1
  58. package/dist/{runtime-DuueBLeO.d.ts → runtime-BzY66cd6.d.ts} +4 -4
  59. package/dist/{runtime-D-NDRp4y.js → runtime-DVU0WZUA.js} +8 -8
  60. package/dist/{runtime-D-NDRp4y.js.map → runtime-DVU0WZUA.js.map} +1 -1
  61. package/dist/{spawn-journal-duo0EkOp.js → spawn-journal-oewq1g2h.js} +1 -4
  62. package/dist/{spawn-journal-duo0EkOp.js.map → spawn-journal-oewq1g2h.js.map} +1 -1
  63. package/dist/{stream-agent-turn-BbcwWw_J.d.ts → stream-agent-turn-jaaFaSXM.d.ts} +3 -3
  64. package/dist/{structural-rollout-B1TocSdq.js → structural-rollout-Cj58xALQ.js} +3 -3
  65. package/dist/{structural-rollout-B1TocSdq.js.map → structural-rollout-Cj58xALQ.js.map} +1 -1
  66. package/dist/substrate-AJoT4HIz.d.ts +284 -0
  67. package/dist/{supervise-BVE0XAJa.js → supervise-CqwjiXlX.js} +3 -3
  68. package/dist/{supervise-BVE0XAJa.js.map → supervise-CqwjiXlX.js.map} +1 -1
  69. package/dist/{supervisor-BmXD0WCJ.js → supervisor-ZlQy5Fwl.js} +6 -33
  70. package/dist/supervisor-ZlQy5Fwl.js.map +1 -0
  71. package/dist/testing.d.ts +2 -2
  72. package/dist/testing.js +12 -12
  73. package/dist/{types-Cz5mCGlY.d.ts → types-BBXdSns1.d.ts} +8 -8
  74. package/dist/{types-DeX8ibLc.d.ts → types-DpdfZoQ3.d.ts} +6 -3
  75. package/dist/{workspace-archive-bugA3OwU.js → workspace-archive-BptlGCEU.js} +2 -2
  76. package/dist/{workspace-archive-bugA3OwU.js.map → workspace-archive-BptlGCEU.js.map} +1 -1
  77. package/package.json +3 -3
  78. package/dist/improvement-cycle-g6RsxGbg.js.map +0 -1
  79. package/dist/substrate-BcnuSHXm.d.ts +0 -117
  80. package/dist/supervisor-BmXD0WCJ.js.map +0 -1
@@ -1,117 +0,0 @@
1
- //#region src/profiles/coder.d.ts
2
- /**
3
- *
4
- * `CoderTask` + `coderTaskToPrompt` — the per-task DATA + pure formatter for code-modification tasks
5
- * (§1.5: the system authors profiles; there is no hardcoded coder profile constant). A domain
6
- * customizes the worker by authoring its own `AgentProfile` and handing it to a leaf executor
7
- * (`createWorktreeCliExecutor`) or a fanout (`worktreeFanout`); "is it delivered" is a
8
- * `DeliverableSpec` (`patchDelivered`), not a bundled validator. This formatter renders a `CoderTask`
9
- * into the per-task instruction that profile receives.
10
- *
11
- * @experimental
12
- */
13
- /** @experimental The per-task inputs `coderTaskToPrompt` renders + the worktree gate enforces. */
14
- interface CoderTask {
15
- /** What the agent must accomplish. Free-form prose. */
16
- goal: string;
17
- /** Absolute path inside the sandbox where the repo lives. */
18
- repoRoot: string;
19
- /** Default `main`. The branch the agent diffs against. */
20
- baseBranch?: string;
21
- /** Default `pnpm test --run`. */
22
- testCmd?: string;
23
- /** Default `pnpm typecheck`. */
24
- typecheckCmd?: string;
25
- /** Files the agent may inspect for context. Surfaced verbatim in the prompt. */
26
- contextFiles?: string[];
27
- /**
28
- * Paths the agent must not touch. The mechanical gate hard-fails on any match.
29
- * Use glob-free literal path prefixes for unambiguous enforcement.
30
- */
31
- forbiddenPaths?: string[];
32
- /** Default 400. Hard cap; the gate hard-fails when exceeded. */
33
- maxDiffLines?: number;
34
- }
35
- /** Render a `CoderTask` into the per-task instruction handed to the coder profile. @experimental */
36
- declare function coderTaskToPrompt(task: CoderTask): string;
37
- //#endregion
38
- //#region src/profiles/ui-auditor/substrate.d.ts
39
- /**
40
- *
41
- * UI audit finding shapes — the unit of evidence a contributor can act on.
42
- *
43
- * A finding describes a single, actionable UI problem: lens, severity,
44
- * route, observation, impact, suggested fix, and screenshot evidence.
45
- * Findings are produced by the auditor profile, persisted by the issue
46
- * writer as self-contained GitHub-issue Markdown, and surfaced over MCP.
47
- *
48
- * The shapes are deliberately constraining — the validator + writer
49
- * hard-fail on missing screenshot evidence, missing lens, missing title.
50
- *
51
- * @experimental
52
- */
53
- /**
54
- * Canonical audit lenses. Each lens scopes a finding to a single class of
55
- * problem so a single audit pass can iterate them without pile-on findings
56
- * under a generic label.
57
- */
58
- type UiLens = 'consistency' | 'hierarchy' | 'layout' | 'ux-flow' | 'duplication' | 'accessibility' | 'responsive' | 'states' | 'content' | 'interaction' | 'performance-perceived' | 'other';
59
- /** Frozen tuple of lenses for validation + iteration. */
60
- declare const UI_LENSES: readonly UiLens[];
61
- /**
62
- * Severity scale.
63
- * - `critical` — blocks a core task or is an accessibility blocker.
64
- * - `high` — confusing, broken-looking, or noticeable friction.
65
- * - `med` — visible polish issue, would be caught in code review.
66
- * - `low` — nitpick worth fixing eventually.
67
- */
68
- type UiFindingSeverity = 'low' | 'med' | 'high' | 'critical';
69
- /** Frozen severity tuple, ordered worst → least bad for sort/report. */
70
- declare const UI_FINDING_SEVERITIES: readonly UiFindingSeverity[];
71
- /** Pointer to a screenshot referenced by a finding (workspace-relative path). */
72
- interface UiFindingScreenshot {
73
- path: string;
74
- viewport?: string;
75
- label?: string;
76
- }
77
- /**
78
- * A single UI audit finding — the unit of work a contributor can act on.
79
- *
80
- * Every field except the documented optionals is required. The auditor
81
- * validator + writer hard-fail on missing screenshot evidence, missing
82
- * lens, missing title, etc.
83
- */
84
- interface UiFinding {
85
- /** Monotonic id assigned by the writer when persisting. Optional in-transit. */
86
- id?: number;
87
- title: string;
88
- lens: UiLens;
89
- severity: UiFindingSeverity;
90
- /** Logical route the finding was observed on (e.g. `home`, `checkout-step-2`). */
91
- route: string;
92
- /** Fully qualified URL the finding was observed at. */
93
- url?: string;
94
- /** Viewport string the offending capture was taken at (e.g. `1280x800`). */
95
- viewport?: string;
96
- /** CSS selector pinning the offending element, when one can be identified. */
97
- selector?: string;
98
- /** 1–3 sentences describing what the screenshot shows that is wrong. */
99
- observation: string;
100
- /** Who is affected and how. */
101
- impact: string;
102
- /** A specific change a contributor could apply without asking back. */
103
- suggestedFix: string;
104
- /** Optional explicit reproduction steps. Writer synthesizes from route/url/selector when omitted. */
105
- reproSteps?: string;
106
- /** Free-form tags. */
107
- tags?: readonly string[];
108
- /** Screenshot references — must be non-empty for actionable findings. */
109
- screenshots: readonly UiFindingScreenshot[];
110
- /** Cross-references to similar findings already on file, by id. */
111
- similarTo?: readonly number[];
112
- /** ISO-8601 creation timestamp set by the writer when persisted. */
113
- createdAt?: string;
114
- }
115
- //#endregion
116
- export { UiFindingSeverity as a, coderTaskToPrompt as c, UiFindingScreenshot as i, UI_LENSES as n, UiLens as o, UiFinding as r, CoderTask as s, UI_FINDING_SEVERITIES as t };
117
- //# sourceMappingURL=substrate-BcnuSHXm.d.ts.map