agentfootprint 7.28.0 → 8.1.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 (241) hide show
  1. package/AGENTS.md +23 -18
  2. package/README.md +41 -12
  3. package/ai-instructions/claude-code/SKILL.md +3 -3
  4. package/ai-instructions/clinerules +2 -2
  5. package/ai-instructions/copilot-instructions.md +2 -2
  6. package/ai-instructions/cursor/agentfootprint.md +2 -2
  7. package/ai-instructions/kiro/agentfootprint.md +2 -2
  8. package/ai-instructions/windsurfrules +2 -2
  9. package/dist/adapters/llm/OllamaProvider.js +628 -0
  10. package/dist/adapters/llm/OllamaProvider.js.map +1 -0
  11. package/dist/adapters/llm/OpenAIProvider.js +12 -21
  12. package/dist/adapters/llm/OpenAIProvider.js.map +1 -1
  13. package/dist/adapters/llm/createProvider.js +35 -6
  14. package/dist/adapters/llm/createProvider.js.map +1 -1
  15. package/dist/core/agent/AgentBuilder.js +45 -11
  16. package/dist/core/agent/AgentBuilder.js.map +1 -1
  17. package/dist/core/agent/watch.js +39 -0
  18. package/dist/core/agent/watch.js.map +1 -0
  19. package/dist/core/agent/window/errors.js +4 -3
  20. package/dist/core/agent/window/errors.js.map +1 -1
  21. package/dist/core/agent/window/strategies/slidingWindow.js +2 -2
  22. package/dist/debug/finders.js +4 -0
  23. package/dist/debug/finders.js.map +1 -1
  24. package/dist/debug.js +4 -0
  25. package/dist/debug.js.map +1 -1
  26. package/dist/doors/context.js +34 -0
  27. package/dist/doors/context.js.map +1 -0
  28. package/dist/doors/hosting.js +32 -0
  29. package/dist/doors/hosting.js.map +1 -0
  30. package/dist/doors/memory.js +36 -0
  31. package/dist/doors/memory.js.map +1 -0
  32. package/dist/doors/observe.js +52 -0
  33. package/dist/doors/observe.js.map +1 -0
  34. package/dist/doors/providers.js +43 -0
  35. package/dist/doors/providers.js.map +1 -0
  36. package/dist/doors/resilience.js +61 -0
  37. package/dist/doors/resilience.js.map +1 -0
  38. package/dist/doors/security.js +39 -0
  39. package/dist/doors/security.js.map +1 -0
  40. package/dist/embedders/index.js.map +1 -1
  41. package/dist/esm/adapters/llm/OllamaProvider.d.ts +182 -0
  42. package/dist/esm/adapters/llm/OllamaProvider.js +622 -0
  43. package/dist/esm/adapters/llm/OllamaProvider.js.map +1 -0
  44. package/dist/esm/adapters/llm/OpenAIProvider.d.ts +0 -12
  45. package/dist/esm/adapters/llm/OpenAIProvider.js +11 -19
  46. package/dist/esm/adapters/llm/OpenAIProvider.js.map +1 -1
  47. package/dist/esm/adapters/llm/createProvider.d.ts +25 -8
  48. package/dist/esm/adapters/llm/createProvider.js +35 -6
  49. package/dist/esm/adapters/llm/createProvider.js.map +1 -1
  50. package/dist/esm/core/agent/AgentBuilder.d.ts +37 -7
  51. package/dist/esm/core/agent/AgentBuilder.js +45 -11
  52. package/dist/esm/core/agent/AgentBuilder.js.map +1 -1
  53. package/dist/esm/core/agent/watch.d.ts +59 -0
  54. package/dist/esm/core/agent/watch.js +38 -0
  55. package/dist/esm/core/agent/watch.js.map +1 -0
  56. package/dist/esm/core/agent/window/errors.js +4 -3
  57. package/dist/esm/core/agent/window/errors.js.map +1 -1
  58. package/dist/esm/core/agent/window/strategies/slidingWindow.d.ts +2 -2
  59. package/dist/esm/core/agent/window/strategies/slidingWindow.js +2 -2
  60. package/dist/esm/debug/finders.d.ts +4 -0
  61. package/dist/esm/debug/finders.js +4 -0
  62. package/dist/esm/debug/finders.js.map +1 -1
  63. package/dist/esm/debug.d.ts +4 -0
  64. package/dist/esm/debug.js +4 -0
  65. package/dist/esm/debug.js.map +1 -1
  66. package/dist/esm/doors/context.d.ts +17 -0
  67. package/dist/esm/doors/context.js +18 -0
  68. package/dist/esm/doors/context.js.map +1 -0
  69. package/dist/esm/doors/hosting.d.ts +15 -0
  70. package/dist/esm/doors/hosting.js +16 -0
  71. package/dist/esm/doors/hosting.js.map +1 -0
  72. package/dist/esm/doors/memory.d.ts +19 -0
  73. package/dist/esm/doors/memory.js +20 -0
  74. package/dist/esm/doors/memory.js.map +1 -0
  75. package/dist/esm/doors/observe.d.ts +35 -0
  76. package/dist/esm/doors/observe.js +36 -0
  77. package/dist/esm/doors/observe.js.map +1 -0
  78. package/dist/esm/doors/providers.d.ts +26 -0
  79. package/dist/esm/doors/providers.js +27 -0
  80. package/dist/esm/doors/providers.js.map +1 -0
  81. package/dist/esm/doors/resilience.d.ts +37 -0
  82. package/dist/esm/doors/resilience.js +39 -0
  83. package/dist/esm/doors/resilience.js.map +1 -0
  84. package/dist/esm/doors/security.d.ts +22 -0
  85. package/dist/esm/doors/security.js +23 -0
  86. package/dist/esm/doors/security.js.map +1 -0
  87. package/dist/esm/embedders/index.d.ts +4 -0
  88. package/dist/esm/embedders/index.js.map +1 -1
  89. package/dist/esm/hosting-providers.d.ts +4 -0
  90. package/dist/esm/hosting-providers.js +4 -0
  91. package/dist/esm/hosting-providers.js.map +1 -1
  92. package/dist/esm/identity.d.ts +4 -0
  93. package/dist/esm/identity.js +4 -0
  94. package/dist/esm/identity.js.map +1 -1
  95. package/dist/esm/index.d.ts +1 -0
  96. package/dist/esm/index.js.map +1 -1
  97. package/dist/esm/injection-engine.d.ts +4 -0
  98. package/dist/esm/injection-engine.js +4 -0
  99. package/dist/esm/injection-engine.js.map +1 -1
  100. package/dist/esm/llm-providers.d.ts +4 -0
  101. package/dist/esm/llm-providers.js +4 -0
  102. package/dist/esm/llm-providers.js.map +1 -1
  103. package/dist/esm/locales/index.d.ts +4 -0
  104. package/dist/esm/locales/index.js +4 -0
  105. package/dist/esm/locales/index.js.map +1 -1
  106. package/dist/esm/memory-providers.d.ts +4 -0
  107. package/dist/esm/memory-providers.js +4 -0
  108. package/dist/esm/memory-providers.js.map +1 -1
  109. package/dist/esm/observability/contextError/finders/index.d.ts +4 -0
  110. package/dist/esm/observability/contextError/finders/index.js.map +1 -1
  111. package/dist/esm/observability-providers.d.ts +4 -0
  112. package/dist/esm/observability-providers.js +4 -0
  113. package/dist/esm/observability-providers.js.map +1 -1
  114. package/dist/esm/providers.d.ts +13 -5
  115. package/dist/esm/providers.js +13 -5
  116. package/dist/esm/providers.js.map +1 -1
  117. package/dist/esm/reliability/index.d.ts +8 -0
  118. package/dist/esm/reliability/index.js +8 -0
  119. package/dist/esm/reliability/index.js.map +1 -1
  120. package/dist/esm/status.d.ts +4 -0
  121. package/dist/esm/status.js +4 -0
  122. package/dist/esm/status.js.map +1 -1
  123. package/dist/esm/strategies/index.d.ts +4 -0
  124. package/dist/esm/strategies/index.js +4 -0
  125. package/dist/esm/strategies/index.js.map +1 -1
  126. package/dist/esm/stream.d.ts +4 -0
  127. package/dist/esm/stream.js +4 -0
  128. package/dist/esm/stream.js.map +1 -1
  129. package/dist/esm/thinking/OllamaThinkingHandler.d.ts +60 -0
  130. package/dist/esm/thinking/OllamaThinkingHandler.js +107 -0
  131. package/dist/esm/thinking/OllamaThinkingHandler.js.map +1 -0
  132. package/dist/esm/thinking/index.d.ts +5 -0
  133. package/dist/esm/thinking/index.js +5 -0
  134. package/dist/esm/thinking/index.js.map +1 -1
  135. package/dist/esm/thinking/registry.js +2 -0
  136. package/dist/esm/thinking/registry.js.map +1 -1
  137. package/dist/esm/tool-providers/index.d.ts +4 -0
  138. package/dist/esm/tool-providers/index.js +4 -0
  139. package/dist/esm/tool-providers/index.js.map +1 -1
  140. package/dist/hosting-providers.js +4 -0
  141. package/dist/hosting-providers.js.map +1 -1
  142. package/dist/identity.js +4 -0
  143. package/dist/identity.js.map +1 -1
  144. package/dist/index.js.map +1 -1
  145. package/dist/injection-engine.js +4 -0
  146. package/dist/injection-engine.js.map +1 -1
  147. package/dist/llm-providers.js +4 -0
  148. package/dist/llm-providers.js.map +1 -1
  149. package/dist/locales/index.js +4 -0
  150. package/dist/locales/index.js.map +1 -1
  151. package/dist/memory-providers.js +4 -0
  152. package/dist/memory-providers.js.map +1 -1
  153. package/dist/observability/contextError/finders/index.js.map +1 -1
  154. package/dist/observability-providers.js +4 -0
  155. package/dist/observability-providers.js.map +1 -1
  156. package/dist/providers.js +16 -6
  157. package/dist/providers.js.map +1 -1
  158. package/dist/reliability/index.js +8 -0
  159. package/dist/reliability/index.js.map +1 -1
  160. package/dist/status.js +4 -0
  161. package/dist/status.js.map +1 -1
  162. package/dist/strategies/index.js +4 -0
  163. package/dist/strategies/index.js.map +1 -1
  164. package/dist/stream.js +4 -0
  165. package/dist/stream.js.map +1 -1
  166. package/dist/thinking/OllamaThinkingHandler.js +111 -0
  167. package/dist/thinking/OllamaThinkingHandler.js.map +1 -0
  168. package/dist/thinking/index.js +8 -1
  169. package/dist/thinking/index.js.map +1 -1
  170. package/dist/thinking/registry.js +2 -0
  171. package/dist/thinking/registry.js.map +1 -1
  172. package/dist/tool-providers/index.js +4 -0
  173. package/dist/tool-providers/index.js.map +1 -1
  174. package/dist/types/adapters/llm/OllamaProvider.d.ts +183 -0
  175. package/dist/types/adapters/llm/OllamaProvider.d.ts.map +1 -0
  176. package/dist/types/adapters/llm/OpenAIProvider.d.ts +0 -12
  177. package/dist/types/adapters/llm/OpenAIProvider.d.ts.map +1 -1
  178. package/dist/types/adapters/llm/createProvider.d.ts +25 -8
  179. package/dist/types/adapters/llm/createProvider.d.ts.map +1 -1
  180. package/dist/types/core/agent/AgentBuilder.d.ts +37 -7
  181. package/dist/types/core/agent/AgentBuilder.d.ts.map +1 -1
  182. package/dist/types/core/agent/watch.d.ts +60 -0
  183. package/dist/types/core/agent/watch.d.ts.map +1 -0
  184. package/dist/types/core/agent/window/errors.d.ts.map +1 -1
  185. package/dist/types/core/agent/window/strategies/slidingWindow.d.ts +2 -2
  186. package/dist/types/debug/finders.d.ts +4 -0
  187. package/dist/types/debug/finders.d.ts.map +1 -1
  188. package/dist/types/debug.d.ts +4 -0
  189. package/dist/types/debug.d.ts.map +1 -1
  190. package/dist/types/doors/context.d.ts +18 -0
  191. package/dist/types/doors/context.d.ts.map +1 -0
  192. package/dist/types/doors/hosting.d.ts +16 -0
  193. package/dist/types/doors/hosting.d.ts.map +1 -0
  194. package/dist/types/doors/memory.d.ts +20 -0
  195. package/dist/types/doors/memory.d.ts.map +1 -0
  196. package/dist/types/doors/observe.d.ts +36 -0
  197. package/dist/types/doors/observe.d.ts.map +1 -0
  198. package/dist/types/doors/providers.d.ts +27 -0
  199. package/dist/types/doors/providers.d.ts.map +1 -0
  200. package/dist/types/doors/resilience.d.ts +38 -0
  201. package/dist/types/doors/resilience.d.ts.map +1 -0
  202. package/dist/types/doors/security.d.ts +23 -0
  203. package/dist/types/doors/security.d.ts.map +1 -0
  204. package/dist/types/embedders/index.d.ts +4 -0
  205. package/dist/types/embedders/index.d.ts.map +1 -1
  206. package/dist/types/hosting-providers.d.ts +4 -0
  207. package/dist/types/hosting-providers.d.ts.map +1 -1
  208. package/dist/types/identity.d.ts +4 -0
  209. package/dist/types/identity.d.ts.map +1 -1
  210. package/dist/types/index.d.ts +1 -0
  211. package/dist/types/index.d.ts.map +1 -1
  212. package/dist/types/injection-engine.d.ts +4 -0
  213. package/dist/types/injection-engine.d.ts.map +1 -1
  214. package/dist/types/llm-providers.d.ts +4 -0
  215. package/dist/types/llm-providers.d.ts.map +1 -1
  216. package/dist/types/locales/index.d.ts +4 -0
  217. package/dist/types/locales/index.d.ts.map +1 -1
  218. package/dist/types/memory-providers.d.ts +4 -0
  219. package/dist/types/memory-providers.d.ts.map +1 -1
  220. package/dist/types/observability/contextError/finders/index.d.ts +4 -0
  221. package/dist/types/observability/contextError/finders/index.d.ts.map +1 -1
  222. package/dist/types/observability-providers.d.ts +4 -0
  223. package/dist/types/observability-providers.d.ts.map +1 -1
  224. package/dist/types/providers.d.ts +13 -5
  225. package/dist/types/providers.d.ts.map +1 -1
  226. package/dist/types/reliability/index.d.ts +8 -0
  227. package/dist/types/reliability/index.d.ts.map +1 -1
  228. package/dist/types/status.d.ts +4 -0
  229. package/dist/types/status.d.ts.map +1 -1
  230. package/dist/types/strategies/index.d.ts +4 -0
  231. package/dist/types/strategies/index.d.ts.map +1 -1
  232. package/dist/types/stream.d.ts +4 -0
  233. package/dist/types/stream.d.ts.map +1 -1
  234. package/dist/types/thinking/OllamaThinkingHandler.d.ts +61 -0
  235. package/dist/types/thinking/OllamaThinkingHandler.d.ts.map +1 -0
  236. package/dist/types/thinking/index.d.ts +5 -0
  237. package/dist/types/thinking/index.d.ts.map +1 -1
  238. package/dist/types/thinking/registry.d.ts.map +1 -1
  239. package/dist/types/tool-providers/index.d.ts +4 -0
  240. package/dist/types/tool-providers/index.d.ts.map +1 -1
  241. package/package.json +184 -155
@@ -0,0 +1,36 @@
1
+ /**
2
+ * agentfootprint/observe — everything that watches.
3
+ *
4
+ * One door for the whole watching story, which used to be nine:
5
+ *
6
+ * • Recorders — the Tier 1/2/3 observers, `recordRun`, the
7
+ * offline `Trace`, the context ledger.
8
+ * • Diagnosis — influence scoring, trace toolpack, context-bisect,
9
+ * tool lint, and the pluggable context-error finders.
10
+ * • Vendor sinks — AgentCore / CloudWatch / X-Ray / OTel strategies,
11
+ * plus the tamper-evident audit export.
12
+ * • Strategy ports — the observability / cost / live-status / lens
13
+ * interfaces and their `attach*` helpers.
14
+ * • Delivery — `toSSE` and friends, for streaming a run to a
15
+ * browser.
16
+ * • Status + words — the chat-bubble state machine AND the message
17
+ * catalogs it renders with. The logic and the prose
18
+ * are one story, so they are one door.
19
+ *
20
+ * The typed event stream those observers consume is its own door,
21
+ * `agentfootprint/events` — it is the wire vocabulary, not a watching tool.
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * import { recordRun, toolChoiceRecorder, selectStatus } from 'agentfootprint/observe';
26
+ * ```
27
+ */
28
+ export * from '../observe.js';
29
+ export * from '../observability-providers.js';
30
+ export * from '../strategies/index.js';
31
+ export * from '../stream.js';
32
+ export * from '../status.js';
33
+ export * from '../debug.js';
34
+ export * from '../debug/finders.js';
35
+ export * from '../locales/index.js';
36
+ //# sourceMappingURL=observe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../../src/doors/observe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * agentfootprint/providers — everything you plug a backend into.
3
+ *
4
+ * One door for every "here is the thing that actually does the work":
5
+ *
6
+ * • LLM providers — `mock`, `anthropic`, `openai`, `bedrock`, the
7
+ * browser variants, `createProvider`, and the
8
+ * `LLMProvider` port you implement for your own.
9
+ * • Embedders — `openaiEmbedder`, `localEmbedder`, `staticEmbedder`.
10
+ * • Tool providers — `staticTools`, `gatedTools`, `skillScopedTools`,
11
+ * plus the MCP client/server bridge.
12
+ * • Thinking handlers — per-vendor parsing of extended-thinking blocks,
13
+ * which is a provider concern wearing another hat.
14
+ *
15
+ * Each vendor SDK is lazy-required, so importing this door loads no vendor
16
+ * code — only calling a factory does.
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * import { anthropic, staticTools, openaiEmbedder } from 'agentfootprint/providers';
21
+ * ```
22
+ */
23
+ export * from '../llm-providers.js';
24
+ export * from '../embedders/index.js';
25
+ export * from '../tool-providers/index.js';
26
+ export * from '../thinking/index.js';
27
+ //# sourceMappingURL=providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../../src/doors/providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * agentfootprint/resilience — what happens when the call fails.
3
+ *
4
+ * Both halves of staying up, behind one name:
5
+ *
6
+ * • Provider decorators — `withRetry`, `withFallback`, `fallbackProvider`,
7
+ * `withCircuitBreaker`. Each preserves the `LLMProvider` interface, so
8
+ * they stack freely around any provider.
9
+ * • The rules engine — `.reliability({ postDecide: [...] })`'s typed rule
10
+ * shapes, the fail-fast error, the pure breaker state machine, and the
11
+ * schema-retry helpers.
12
+ *
13
+ * ## One name that exists twice, said out loud
14
+ *
15
+ * `CircuitOpenError` is TWO different classes: the decorator throws one
16
+ * (`src/resilience/withCircuitBreaker.ts`), the reliability gate throws
17
+ * another (`src/reliability/CircuitBreaker.ts`), and they differ in
18
+ * constructor and in `instanceof`. This door carries the DECORATOR's — the
19
+ * one a consumer catches, since it is the one that escapes a provider call.
20
+ *
21
+ * The gate's stays reachable at `agentfootprint/reliability` for all of 8.x.
22
+ * If you `instanceof`-check the error thrown by the reliability gate, keep
23
+ * importing it from there. Merging them would have changed the message text
24
+ * on one path, and this release changes packaging only.
25
+ *
26
+ * `CircuitState` also exists twice, but the two are byte-identical
27
+ * (`'closed' | 'open' | 'half-open'`), so the one re-exported here satisfies
28
+ * both and no consumer can tell the difference.
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * import { withRetry, withFallback, type ReliabilityRule } from 'agentfootprint/resilience';
33
+ * ```
34
+ */
35
+ export * from '../resilience/index.js';
36
+ export type { BreakerState, CircuitBreakerConfig, OutputSchemaValidator, ReliabilityConfig, ReliabilityDecision, ReliabilityFallbackFn, ReliabilityProvider, ReliabilityRule, ReliabilityScope, } from '../reliability/index.js';
37
+ export { defaultStuckLoopRule, initialBreakerState, lastNValidationErrorsMatch, ReliabilityFailFastError, ValidationFailure, } from '../reliability/index.js';
38
+ //# sourceMappingURL=resilience.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resilience.d.ts","sourceRoot":"","sources":["../../../src/doors/resilience.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAIH,cAAc,wBAAwB,CAAC;AAKvC,YAAY,EACV,YAAY,EACZ,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * agentfootprint/security — who may do what, and with whose credentials.
3
+ *
4
+ * Two halves of the same question:
5
+ *
6
+ * • Authorization — `PermissionPolicy`, `PolicyHaltError`, the
7
+ * `PermissionChecker` port, the remote `agentCorePolicy` engine, and
8
+ * thinking-block redaction.
9
+ * • Identity — the `CredentialProvider` port, the credential kinds
10
+ * (`bearer`, `apiKey`, `basic`, `headers`), `staticTokens`,
11
+ * `withCredentialRetry`, and `agentCoreIdentity`.
12
+ *
13
+ * A vended credential is a secret: use it locally inside a tool's `execute`
14
+ * and never write it to tracked scope.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * import { PermissionPolicy, agentCoreIdentity } from 'agentfootprint/security';
19
+ * ```
20
+ */
21
+ export * from '../security/index.js';
22
+ export * from '../identity.js';
23
+ //# sourceMappingURL=security.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../../src/doors/security.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
@@ -32,6 +32,10 @@
32
32
  * Same mechanism as the `client` option on the store adapters (RedisStore,
33
33
  * AgentCoreStore): the library states the surface it needs, the host owns the
34
34
  * construction. Nothing changes for Node callers who pass nothing.
35
+ *
36
+ * @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
37
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
38
+ * here is the same symbol on the new door, not a copy.
35
39
  */
36
40
  export type { Embedder } from '../memory/embedding/types.js';
37
41
  import type { Embedder } from '../memory/embedding/types.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/embedders/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,YAAY,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAM7D,MAAM,WAAW,qBAAqB;IACpC,2CAA2C;IAC3C,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,yCAAyC;IACzC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,gEAAgE;IAChE,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAkBD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAAC,OAAO,GAAE,qBAA0B,GAAG,QAAQ,CA6C5E;AAMD;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAClC,wDAAwD;IACxD,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC5F,mEAAmE;IACnE,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,kEAAkE;IAClE,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,+CAA+C;IAC/C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,0EAA0E;IAC1E,QAAQ,CAAC,KAAK,CAAC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;CAC5B;AAED,MAAM,WAAW,qBAAqB;IACpC,wEAAwE;IACxE,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,sEAAsE;IACtE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAKD,wBAAgB,cAAc,CAAC,OAAO,GAAE,qBAA0B,GAAG,QAAQ,CA2D5E"}
@@ -50,6 +50,10 @@
50
50
  * sessions: agentCoreSessions({ store: 'session-storage' }),
51
51
  * });
52
52
  * process.on('SIGTERM', () => void handle.close());
53
+ *
54
+ * @deprecated Since 8.0.0 — import from `agentfootprint/hosting` instead.
55
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
56
+ * here is the same symbol on the new door, not a copy.
53
57
  */
54
58
  export { agentCoreRuntimeHost, agentCoreRuntimeWire, readAgentCoreConversation, agentCoreSessions, DEFAULT_SESSION_STORAGE_PATH, } from './adapters/hosting/agentcore.js';
55
59
  export type { AgentCoreRuntimeHostOptions, AgentCoreSessionsOptions, AgentCoreSessionStore, AgentCoreFileSessionsOptions, AgentCoreMemorySessionsOptions, AgentCoreSessionClientLike, AgentCoreSessionEvent, BedrockAgentCoreSessionSdkModule, } from './adapters/hosting/agentcore.js';
@@ -1 +1 @@
1
- {"version":3,"file":"hosting-providers.d.ts","sourceRoot":"","sources":["../../src/hosting-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAEH,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,iBAAiB,EACjB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,EAC5B,8BAA8B,EAC9B,0BAA0B,EAC1B,qBAAqB,EACrB,gCAAgC,GACjC,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"hosting-providers.d.ts","sourceRoot":"","sources":["../../src/hosting-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AAEH,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,iBAAiB,EACjB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,EAC5B,8BAA8B,EAC9B,0BAA0B,EAC1B,qBAAqB,EACrB,gCAAgC,GACjC,MAAM,iCAAiC,CAAC"}
@@ -22,6 +22,10 @@
22
22
  * callGitHub({ headers: r.credential.toHeaders() }); // universal applicator
23
23
  * }
24
24
  * ```
25
+ *
26
+ * @deprecated Since 8.0.0 — import from `agentfootprint/security` instead.
27
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
28
+ * here is the same symbol on the new door, not a copy.
25
29
  */
26
30
  export type { Credential, CredentialProvider, CredentialRequest, CredentialResult, CredentialIssued, CredentialAuthorizationRequired, CredentialNeed, } from './identity/types.js';
27
31
  export { isCredentialIssued, unconfiguredCredentialProvider } from './identity/types.js';
@@ -1 +1 @@
1
- {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../src/identity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,YAAY,EACV,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,+BAA+B,EAC/B,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,OAAO,EACP,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACpF,OAAO,EACL,mBAAmB,EACnB,KAAK,0BAA0B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,GAC5B,MAAM,kCAAkC,CAAC"}
1
+ {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../src/identity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,YAAY,EACV,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,+BAA+B,EAC/B,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,OAAO,EACP,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACpF,OAAO,EACL,mBAAmB,EACnB,KAAK,0BAA0B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,GAC5B,MAAM,kCAAkC,CAAC"}
@@ -21,6 +21,7 @@ export { pauseHere, askHuman, isPauseRequest, isPaused, isCheckInPause, isAskPau
21
21
  export { allow, ask, deny, MessageDeniedError, type AllowOutcome, type AskOutcome, type AskPayload, type DenyOutcome, type MessageDeniedContext, type MessageMiddleware, type MessageMiddlewareContext, type MessageOutcome, type MiddlewareDecision, type ToolCallMiddleware, type ToolMiddleware, type ToolMiddlewareContext, type ToolOutcome, type ToolResultContext, type ToolResultMiddleware, type ToolResultOutcome, } from './core/agent/middleware/index.js';
22
22
  export { LOOP_MOMENTS, actKeyFor, type ActKey, type LoopMoment } from './core/agent/moments.js';
23
23
  export { ACT_KEYS, type ActOptions } from './core/agent/act.js';
24
+ export type { Watcher } from './core/agent/watch.js';
24
25
  export { checkInApproved, checkInDeclined, isCheckInDecision, lexicalDriverScorer, standardEvidenceAssembler, minimalEvidenceAssembler, type CheckInRequest, type CheckInEvidence, type CheckInContextFrame, type CheckInDriver, type CheckInTrail, type CheckInDecision, type CheckInDecisionInput, type CheckInDemand, type CheckInPredicateContext, type CheckInScorer, type CheckInScoreInput, type CheckInAssembler, type CheckInAssemblerInput, type EvidencePreset, type CheckInBuilderOptions, } from './core/checkin.js';
25
26
  export type { AttributionUnit } from './lib/influence-core/types.js';
26
27
  export { CheckInRecorder, type CheckInRequestRecord, type CheckInDecisionRecord, type CheckInStats, } from './recorders/core/CheckInRecorder.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,OAAO,8CAA8C,CAAC;AACtD,OAAO,2CAA2C,CAAC;AACnD,OAAO,4CAA4C,CAAC;AAOpD,YAAY,EAEV,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,YAAY,EAEZ,UAAU,EACV,SAAS,EACT,WAAW,EACX,UAAU,EACV,UAAU,EAEV,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,cAAc,EACd,gBAAgB,EAEhB,SAAS,EAET,eAAe,EACf,eAAe,GAChB,MAAM,aAAa,CAAC;AAGrB,cAAc,qBAAqB,CAAC;AAIpC,OAAO,EACL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,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,KAAK,EACL,KAAK,EACL,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,WAAW,GACjB,MAAM,sBAAsB,CAAC;AAkB9B,OAAO,EACL,eAAe,EACf,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,GACrB,MAAM,kCAAkC,CAAC;AAS1C,cAAc,qBAAqB,CAAC;AAWpC,OAAO,EACL,SAAS,EACT,KAAK,gBAAgB,EACrB,cAAc,EACd,KAAK,qBAAqB,EAC1B,KAAK,WAAW,GACjB,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,OAAO,8CAA8C,CAAC;AACtD,OAAO,2CAA2C,CAAC;AACnD,OAAO,4CAA4C,CAAC;AAOpD,YAAY,EAEV,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,YAAY,EAEZ,UAAU,EACV,SAAS,EACT,WAAW,EACX,UAAU,EACV,UAAU,EAEV,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACd,cAAc,EACd,gBAAgB,EAEhB,SAAS,EAET,eAAe,EACf,eAAe,GAChB,MAAM,aAAa,CAAC;AAGrB,cAAc,qBAAqB,CAAC;AAIpC,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,KAAK,YAAY,EAKjB,SAAS,EACT,KAAK,SAAS,EAKd,YAAY,EACZ,KAAK,SAAS,EACd,KAAK,aAAa,GACnB,MAAM,kBAAkB,CAAC;AAM1B,OAAO,EACL,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,eAAe,GACrB,MAA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EAC1B,KAAK,eAAe,GACrB,MAAM,kCAAkC,CAAC;AAS1C,cAAc,qBAAqB,CAAC;AAWpC,OAAO,EACL,SAAS,EACT,KAAK,gBAAgB,EACrB,cAAc,EACd,KAAK,qBAAqB,EAC1B,KAAK,WAAW,GACjB,MAAM,oBAAoB,CAAC"}
@@ -1,5 +1,9 @@
1
1
  /**
2
2
  * agentfootprint/injection-engine — public re-export for the InjectionEngine subsystem.
3
+ *
4
+ * @deprecated Since 8.0.0 — import from `agentfootprint/context` instead.
5
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
6
+ * here is the same symbol on the new door, not a copy.
3
7
  */
4
8
  export * from './lib/injection-engine/index.js';
5
9
  //# sourceMappingURL=injection-engine.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"injection-engine.d.ts","sourceRoot":"","sources":["../../src/injection-engine.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"injection-engine.d.ts","sourceRoot":"","sources":["../../src/injection-engine.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iCAAiC,CAAC"}
@@ -22,6 +22,10 @@
22
22
  *
23
23
  * @example
24
24
  * import { mock, AnthropicProvider } from 'agentfootprint/llm-providers';
25
+ *
26
+ * @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
27
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
28
+ * here is the same symbol on the new door, not a copy.
25
29
  */
26
30
  export * from './providers.js';
27
31
  //# sourceMappingURL=llm-providers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"llm-providers.d.ts","sourceRoot":"","sources":["../../src/llm-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"llm-providers.d.ts","sourceRoot":"","sources":["../../src/llm-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,cAAc,gBAAgB,CAAC"}
@@ -58,6 +58,10 @@
58
58
  * const myCatalog = composeMessages(defaultCommentaryMessages, customOverrides);
59
59
  * validateMessages(myCatalog, Object.keys(defaultCommentaryMessages));
60
60
  * // throws on first missing OR empty key — fail-fast at boot
61
+ *
62
+ * @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
63
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
64
+ * here is the same symbol on the new door, not a copy.
61
65
  */
62
66
  import { defaultStatusTemplates } from '../recorders/observability/status/statusTemplates.js';
63
67
  export type { CommentaryTemplates as MessageCatalog } from '../recorders/observability/commentary/commentaryTemplates.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/locales/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAGH,OAAO,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAE9F,YAAY,EAAE,mBAAmB,IAAI,cAAc,EAAE,MAAM,8DAA8D,CAAC;AAE1H;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,kCAA6B,CAAC;AAEpE;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,kCAAyB,CAAC;AAE9D;;;;;GAKG;AACH,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,YAAY,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AAE5F;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EACxE,QAAQ,EAAE,CAAC,EACX,SAAS,GAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAM,GAC/C,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CA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ACtC;;;OAGG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EACzC,YAAY,EAAE,SAAS,MAAM,EAAE,EAC/B,IAAI,GAAE,uBAAuB,GAAG,MAAW,GAC1C,IAAI,CAwBN"}
@@ -31,6 +31,10 @@
31
31
  *
32
32
  * @example
33
33
  * import { RedisStore, AgentCoreStore } from 'agentfootprint/memory-providers';
34
+ *
35
+ * @deprecated Since 8.0.0 — import from `agentfootprint/memory` instead.
36
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
37
+ * here is the same symbol on the new door, not a copy.
34
38
  */
35
39
  export { RedisStore, type RedisStoreOptions, type RedisLikeClient, type RedisLikePipeline, } from './adapters/memory/redis.js';
36
40
  export { AgentCoreStore, UnreadableMemoryEntryError, type AgentCoreStoreOptions, type AgentCoreLikeClient, type AgentCoreEvent, type AgentCoreMemoryRecord, } from './adapters/memory/agentcore.js';
@@ -1 +1 @@
1
- {"version":3,"file":"memory-providers.d.ts","sourceRoot":"","sources":["../../src/memory-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAKH,OAAO,EACL,UAAU,EACV,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,GAC3B,MAAM,gCAAgC,CAAC;AAIxC,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,GACzB,MAAM,yCAAyC,CAAC"}
1
+ {"version":3,"file":"memory-providers.d.ts","sourceRoot":"","sources":["../../src/memory-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAKH,OAAO,EACL,UAAU,EACV,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,GAC3B,MAAM,gCAAgC,CAAC;AAIxC,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,GACzB,MAAM,yCAAyC,CAAC"}
@@ -12,6 +12,10 @@
12
12
  * Tree-shakeable: one finder = one file = one named export. Importing one finder does
13
13
  * not pull the others (or the heavy ablation path behind removeAndRetry). This barrel
14
14
  * is re-export-only — no runtime code, no registry.
15
+ *
16
+ * @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
17
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
18
+ * here is the same symbol on the new door, not a copy.
15
19
  */
16
20
  export type { ContextPiece, Evidence, Finder, FinderMeta, FindInput, FindResult, Granularity, ScoredSuspect, StepInput, } from './types.js';
17
21
  export { rankSuspects } from './rankSuspects.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/observability/contextError/finders/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,YAAY,EACV,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,UAAU,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,aAAa,EACb,SAAS,GACV,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/observability/contextError/finders/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,YAAY,EACV,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,UAAU,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,aAAa,EACb,SAAS,GACV,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -37,6 +37,10 @@
37
37
  * and `otelObservability` covers the Datadog use case. We'll ship a
38
38
  * dedicated `dd-trace`-based adapter only if real-world feedback
39
39
  * demands the native Datadog APM client.
40
+ *
41
+ * @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
42
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
43
+ * here is the same symbol on the new door, not a copy.
40
44
  */
41
45
  export { agentcoreObservability, type AgentcoreObservabilityOptions, } from './adapters/observability/agentcore.js';
42
46
  export { cloudwatchObservability, type CloudwatchObservabilityOptions, } from './adapters/observability/cloudwatch.js';
@@ -1 +1 @@
1
- {"version":3,"file":"observability-providers.d.ts","sourceRoot":"","sources":["../../src/observability-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAEH,OAAO,EACL,sBAAsB,EACtB,KAAK,6BAA6B,GACnC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,uBAAuB,EACvB,KAAK,8BAA8B,GACpC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,GACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,kBAAkB,GACxB,MAAM,kCAAkC,CAAC;AAI1C,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,eAAe,EACf,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAChB,KAAK,iBAAiB,GACvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"observability-providers.d.ts","sourceRoot":"","sources":["../../src/observability-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,EACL,sBAAsB,EACtB,KAAK,6BAA6B,GACnC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,uBAAuB,EACvB,KAAK,8BAA8B,GACpC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,GACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,kBAAkB,GACxB,MAAM,kCAAkC,CAAC;AAI1C,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,EACxB,eAAe,EACf,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAChB,KAAK,iBAAiB,GACvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -14,18 +14,26 @@
14
14
  *
15
15
  * What's here today:
16
16
  * • `mock` / `MockProvider` — deterministic + realistic-mode mock
17
+ * • `ollama` / `OllamaProvider` — local models, free, no API key
17
18
  * • `anthropic` / `AnthropicProvider` — real provider (Claude)
18
19
  * • `openai` / `OpenAIProvider` — real provider (GPT)
20
+ * • `bedrock`, `azureOpenai`, and the `browser*` variants
21
+ *
22
+ * The ladder these are FOR: `mock()` while you shape the logic →
23
+ * `ollama('<model>')` for a real model that costs nothing and needs no
24
+ * key → a paid API in production. The agent code above them does not
25
+ * change between the three; that is the whole point of the port.
19
26
  *
20
27
  * Bring your own (BYO):
21
- * For Bedrock / Ollama / Cohere / on-prem / fine-tuned models,
22
- * implement the `LLMProvider` interface (see `LLMProvider` exported
23
- * from the main barrel) — `complete()` is required, `stream()` is
24
- * optional. The `MockProvider` source is the canonical reference.
28
+ * For Cohere / on-prem / fine-tuned models, implement the
29
+ * `LLMProvider` interface (see `LLMProvider` exported from the main
30
+ * barrel) — `complete()` is required, `stream()` is optional. The
31
+ * `MockProvider` source is the canonical reference.
25
32
  */
26
33
  export { MockProvider, mock, type MockProviderOptions, type MockReply, type LatencyMs, } from './adapters/llm/MockProvider.js';
27
34
  export { anthropic, AnthropicProvider, type AnthropicProviderOptions, } from './adapters/llm/AnthropicProvider.js';
28
- export { openai, OpenAIProvider, ollama, azureOpenai, type OpenAIProviderOptions, type AzureOpenAIProviderOptions, } from './adapters/llm/OpenAIProvider.js';
35
+ export { openai, OpenAIProvider, azureOpenai, type OpenAIProviderOptions, type AzureOpenAIProviderOptions, } from './adapters/llm/OpenAIProvider.js';
36
+ export { ollama, OllamaProvider, OllamaUnavailableError, type OllamaProviderOptions, type ThinkLevel, } from './adapters/llm/OllamaProvider.js';
29
37
  export { bedrock, BedrockProvider, type BedrockProviderOptions, } from './adapters/llm/BedrockProvider.js';
30
38
  export { browserAnthropic, BrowserAnthropicProvider, type BrowserAnthropicProviderOptions, } from './adapters/llm/BrowserAnthropicProvider.js';
31
39
  export { browserOpenai, BrowserOpenAIProvider, type BrowserOpenAIProviderOptions, browserAzureOpenai, BrowserAzureOpenAIProvider, type BrowserAzureOpenAIProviderOptions, } from './adapters/llm/BrowserOpenAIProvider.js';
@@ -1 +1 @@
1
- {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../src/providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EACL,YAAY,EACZ,IAAI,EACJ,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,GACf,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,SAAS,EACT,iBAAiB,EACjB,KAAK,wBAAwB,GAC9B,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,MAAM,EACN,cAAc,EACd,MAAM,EACN,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,GAChC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACL,OAAO,EACP,eAAe,EACf,KAAK,sBAAsB,GAC5B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,KAAK,+BAA+B,GACrC,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EACL,aAAa,EACb,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,kBAAkB,EAClB,0BAA0B,EAC1B,KAAK,iCAAiC,GACvC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACL,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,QAAQ,EACR,UAAU,EACV,aAAa,EAIb,YAAY,EACZ,gBAAgB,GACjB,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../src/providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,EACL,YAAY,EACZ,IAAI,EACJ,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,SAAS,GACf,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,SAAS,EACT,iBAAiB,EACjB,KAAK,wBAAwB,GAC9B,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,MAAM,EACN,cAAc,EACd,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,GAChC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACL,MAAM,EACN,cAAc,EACd,sBAAsB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,GAChB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACL,OAAO,EACP,eAAe,EACf,KAAK,sBAAsB,GAC5B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,KAAK,+BAA+B,GACrC,MAAM,4CAA4C,CAAC;AAEpD,OAAO,EACL,aAAa,EACb,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,kBAAkB,EAClB,0BAA0B,EAC1B,KAAK,iCAAiC,GACvC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACL,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,qBAAqB,GAC3B,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,QAAQ,EACR,UAAU,EACV,aAAa,EAIb,YAAY,EACZ,gBAAgB,GACjB,MAAM,qBAAqB,CAAC"}
@@ -27,6 +27,14 @@
27
27
  * }
28
28
  * }
29
29
  * ```
30
+ *
31
+ * `CircuitOpenError` is the one name that does NOT move: the gate throws a
32
+ * different class than the provider decorator does, so this path stays the
33
+ * only home for it. Everything else here is also on the new door.
34
+ *
35
+ * @deprecated Since 8.0.0 — import from `agentfootprint/resilience` instead.
36
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
37
+ * here is the same symbol on the new door, not a copy.
30
38
  */
31
39
  export type { CircuitBreakerConfig, ReliabilityConfig, ReliabilityDecision, ReliabilityFallbackFn, ReliabilityProvider, ReliabilityRule, ReliabilityScope, } from './types.js';
32
40
  export { ReliabilityFailFastError } from './types.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/reliability/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAKtD,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,8CAA8C,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/reliability/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAKtD,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,8CAA8C,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC"}
@@ -50,6 +50,10 @@
50
50
  * └──────────┘
51
51
  *
52
52
  * (null) run done / between calls → bubble hidden
53
+ *
54
+ * @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
55
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
56
+ * here is the same symbol on the new door, not a copy.
53
57
  */
54
58
  export { selectStatus, renderStatusLine, type StatusState, type StatusKind, type StatusTemplates, type StatusContext, } from './recorders/observability/status/statusTemplates.js';
55
59
  //# sourceMappingURL=status.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAKH,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,qDAAqD,CAAC"}
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/status.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AAKH,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,qDAAqD,CAAC"}
@@ -29,6 +29,10 @@
29
29
  * so consumers who never call a particular factory don't have to
30
30
  * install that SDK. Peer-deps are declared in package.json with
31
31
  * `peerDependenciesMeta.{name}.optional = true`.
32
+ *
33
+ * @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
34
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
35
+ * here is the same symbol on the new door, not a copy.
32
36
  */
33
37
  export * from './types.js';
34
38
  export * from './defaults/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/strategies/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACjG,OAAO,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,wBAAwB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,GAC7B,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/strategies/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACjG,OAAO,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,wBAAwB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,GAC7B,MAAM,aAAa,CAAC"}
@@ -7,6 +7,10 @@
7
7
  * framework that accepts an async iterable response body
8
8
  * (Fetch Response, Express res.write, Hono streaming, etc.).
9
9
  * Emits: N/A — observes only.
10
+ *
11
+ * @deprecated Since 8.0.0 — import from `agentfootprint/observe` instead.
12
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
13
+ * here is the same symbol on the new door, not a copy.
10
14
  */
11
15
  import type { AgentfootprintEvent } from './events/registry.js';
12
16
  import type { RunnerBase } from './core/RunnerBase.js';
@@ -1 +1 @@
1
- {"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../src/stream.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,OAAO,CAAC;IAC1D;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,MAAM,CAAC;IAC5D;;;;OAIG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;GAGG;AACH,wBAAuB,KAAK,CAAC,GAAG,EAAE,IAAI,EACpC,MAAM,EAAE,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,EAC7B,OAAO,GAAE,YAAiB,GACzB,aAAa,CAAC,MAAM,CAAC,CA4EvB;AAED;;;GAGG;AACH,qBAAa,YAAY,CAAC,GAAG,GAAG,OAAO,EAAE,IAAI,GAAG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AC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBADP,MAAM,EAAE,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,EAC7B,OAAO,GAAE,YAAiB;IAG7C,8DAA8D;IAC9D,MAAM,IAAI,aAAa,CAAC,MAAM,CAAC;CAGhC;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,CAMrE"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * OllamaThinkingHandler — normalizes a local reasoning model's thinking
3
+ * into the framework's `ThinkingBlock[]` contract.
4
+ *
5
+ * Local reasoning models (deepseek-r1, qwen3, gpt-oss, …) reason in the
6
+ * open, and where that reasoning LANDS depends on how they were asked:
7
+ *
8
+ * 1. ASKED (`ollama('qwen3', { think: true })`, or the agent's
9
+ * `.thinking({ budget })`) — Ollama lifts the reasoning out of the
10
+ * answer into `message.thinking`. The adapter forwards it as
11
+ * `{ kind: 'field', thinking }`. This is the good path.
12
+ *
13
+ * 2. NOT ASKED — the same model writes `<think>…</think>` straight into
14
+ * the answer text. The adapter recognizes the shape and forwards the
15
+ * whole answer as `{ kind: 'inline', content }`.
16
+ *
17
+ * **The library recognizes the inline shape; it never rewrites the
18
+ * answer.** Blocks produced from case 2 describe text that is STILL
19
+ * present, verbatim, in `LLMResponse.content` — because silently editing
20
+ * a model's answer is a meaning change, and that is the application's
21
+ * decision to make, not this library's. If you want the reasoning out of
22
+ * the answer, ask for it: turn `think` on, and the model stops putting it
23
+ * there.
24
+ *
25
+ * **No signature** — nothing on this wire is signed, so there is no
26
+ * round-trip integrity invariant (unlike Anthropic). `signature` stays
27
+ * undefined.
28
+ *
29
+ * **No `summary` flag** — this is raw reasoning, not a structured summary
30
+ * (unlike OpenAI's `reasoning_summary`).
31
+ *
32
+ * **`parseChunk`** — the adapter already emits `LLMChunk.thinkingDelta`
33
+ * directly while streaming (Ollama sends `message.thinking` deltas frame
34
+ * by frame), so the framework does not need this to see live reasoning.
35
+ * It is implemented anyway for consumers driving the handler themselves.
36
+ */
37
+ import type { ThinkingHandler } from './types.js';
38
+ /**
39
+ * What `OllamaProvider` puts on `LLMResponse.rawThinking`.
40
+ *
41
+ * Tagged rather than a bare string so the handler never has to GUESS which
42
+ * of the two situations it is looking at — and so a consumer reading the
43
+ * raw value can tell whether the reasoning is also sitting in the answer.
44
+ */
45
+ export type OllamaRawThinking = {
46
+ readonly kind: 'field';
47
+ readonly thinking: string;
48
+ } | {
49
+ readonly kind: 'inline';
50
+ readonly content: string;
51
+ };
52
+ /**
53
+ * Pull the reasoning out of text that carries `<think>` tags.
54
+ *
55
+ * All tag PARSING lives here, in the handler — the adapter only notices
56
+ * that a `<think` substring is present and tags the payload accordingly.
57
+ * Exported so a consumer driving normalization by hand can reuse it.
58
+ */
59
+ export declare function extractInlineThinking(text: string): readonly string[];
60
+ export declare const ollamaThinkingHandler: ThinkingHandler;
61
+ //# sourceMappingURL=OllamaThinkingHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OllamaThinkingHandler.d.ts","sourceRoot":"","sources":["../../../src/thinking/OllamaThinkingHandler.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,KAAK,EAAiB,eAAe,EAAE,MAAM,YAAY,CAAC;AAEjE;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GACzB;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GACrD;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAK1D;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAUrE;AAMD,eAAO,MAAM,qBAAqB,EAAE,eAkCnC,CAAC"}
@@ -43,10 +43,15 @@
43
43
  * framework — emit `agentfootprint.agent.thinking_parse_failed`, drop
44
44
  * the blocks, continue. Same graceful pattern as v2.11.6
45
45
  * `tools.discovery_failed`.
46
+ *
47
+ * @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
48
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
49
+ * here is the same symbol on the new door, not a copy.
46
50
  */
47
51
  export type { ThinkingBlock, ThinkingHandler } from './types.js';
48
52
  export { mockThinkingHandler, mockAnthropicRaw, mockOpenAIRaw } from './MockThinkingHandler.js';
49
53
  export { anthropicThinkingHandler } from './AnthropicThinkingHandler.js';
50
54
  export { openAIThinkingHandler } from './OpenAIThinkingHandler.js';
55
+ export { ollamaThinkingHandler, extractInlineThinking, type OllamaRawThinking, } from './OllamaThinkingHandler.js';
51
56
  export { SHIPPED_THINKING_HANDLERS, findThinkingHandler } from './registry.js';
52
57
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/thinking/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEhG,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/thinking/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAEH,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEhG,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,KAAK,iBAAiB,GACvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/thinking/registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,SAAS,eAAe,EAI/D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAKrF"}
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/thinking/registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,SAAS,eAAe,EAK/D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAKrF"}
@@ -42,6 +42,10 @@
42
42
  * const slack = await mcpClient({ transport: ... });
43
43
  * const slackTools = await slack.tools();
44
44
  * const provider = gatedTools(staticTools(slackTools), (name) => allowed(name));
45
+ *
46
+ * @deprecated Since 8.0.0 — import from `agentfootprint/providers` instead.
47
+ * This path keeps working for all of 8.x and is removed in 9.0.0. Every name
48
+ * here is the same symbol on the new door, not a copy.
45
49
  */
46
50
  export { staticTools } from './staticTools.js';
47
51
  export { gatedTools } from './gatedTools.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tool-providers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAKvF,OAAO,EACL,SAAS,EACT,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,YAAY,GACb,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tool-providers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAKvF,OAAO,EACL,SAAS,EACT,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,YAAY,GACb,MAAM,qBAAqB,CAAC"}