narrarium-engine 0.1.16 → 0.1.20

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 (81) hide show
  1. package/README.md +35 -4
  2. package/dist/ai/config.d.ts +91 -0
  3. package/dist/ai/config.d.ts.map +1 -1
  4. package/dist/ai/config.js +150 -0
  5. package/dist/ai/config.js.map +1 -1
  6. package/dist/ai/fetch-client.d.ts +39 -4
  7. package/dist/ai/fetch-client.d.ts.map +1 -1
  8. package/dist/ai/fetch-client.js +276 -123
  9. package/dist/ai/fetch-client.js.map +1 -1
  10. package/dist/ai/memory.d.ts +34 -0
  11. package/dist/ai/memory.d.ts.map +1 -0
  12. package/dist/ai/memory.js +27 -0
  13. package/dist/ai/memory.js.map +1 -0
  14. package/dist/ai/provider-error.d.ts +50 -0
  15. package/dist/ai/provider-error.d.ts.map +1 -0
  16. package/dist/ai/provider-error.js +197 -0
  17. package/dist/ai/provider-error.js.map +1 -0
  18. package/dist/ai/redact.js +1 -1
  19. package/dist/ai/redact.js.map +1 -1
  20. package/dist/ai/request.d.ts +98 -9
  21. package/dist/ai/request.d.ts.map +1 -1
  22. package/dist/ai/request.js +153 -23
  23. package/dist/ai/request.js.map +1 -1
  24. package/dist/ai/responses.d.ts +106 -0
  25. package/dist/ai/responses.d.ts.map +1 -0
  26. package/dist/ai/responses.js +226 -0
  27. package/dist/ai/responses.js.map +1 -0
  28. package/dist/ai/router.d.ts +28 -4
  29. package/dist/ai/router.d.ts.map +1 -1
  30. package/dist/ai/router.js +57 -23
  31. package/dist/ai/router.js.map +1 -1
  32. package/dist/ai/routing.d.ts +14 -4
  33. package/dist/ai/routing.d.ts.map +1 -1
  34. package/dist/ai/routing.js +88 -16
  35. package/dist/ai/routing.js.map +1 -1
  36. package/dist/ai/types.d.ts +77 -2
  37. package/dist/ai/types.d.ts.map +1 -1
  38. package/dist/ai/types.js +6 -2
  39. package/dist/ai/types.js.map +1 -1
  40. package/dist/autopilot/attempt.d.ts +11 -0
  41. package/dist/autopilot/attempt.d.ts.map +1 -0
  42. package/dist/autopilot/attempt.js +53 -0
  43. package/dist/autopilot/attempt.js.map +1 -0
  44. package/dist/autopilot/calls/recorder.d.ts +1 -0
  45. package/dist/autopilot/calls/recorder.d.ts.map +1 -1
  46. package/dist/autopilot/calls/recorder.js +16 -1
  47. package/dist/autopilot/calls/recorder.js.map +1 -1
  48. package/dist/autopilot/calls/run-calls.d.ts +8 -0
  49. package/dist/autopilot/calls/run-calls.d.ts.map +1 -1
  50. package/dist/autopilot/calls/run-calls.js +56 -4
  51. package/dist/autopilot/calls/run-calls.js.map +1 -1
  52. package/dist/autopilot/calls/types.d.ts +29 -6
  53. package/dist/autopilot/calls/types.d.ts.map +1 -1
  54. package/dist/autopilot/calls/types.js +2 -2
  55. package/dist/autopilot/calls/types.js.map +1 -1
  56. package/dist/autopilot/errors.d.ts.map +1 -1
  57. package/dist/autopilot/errors.js +111 -1
  58. package/dist/autopilot/errors.js.map +1 -1
  59. package/dist/autopilot/live.d.ts +11 -1
  60. package/dist/autopilot/live.d.ts.map +1 -1
  61. package/dist/autopilot/live.js +17 -2
  62. package/dist/autopilot/live.js.map +1 -1
  63. package/dist/autopilot/runner.d.ts +5 -0
  64. package/dist/autopilot/runner.d.ts.map +1 -1
  65. package/dist/autopilot/runner.js +40 -1
  66. package/dist/autopilot/runner.js.map +1 -1
  67. package/dist/autopilot/session.d.ts +8 -0
  68. package/dist/autopilot/session.d.ts.map +1 -1
  69. package/dist/autopilot/session.js +10 -2
  70. package/dist/autopilot/session.js.map +1 -1
  71. package/dist/autopilot/types.d.ts +94 -7
  72. package/dist/autopilot/types.d.ts.map +1 -1
  73. package/dist/autopilot/types.js +2 -0
  74. package/dist/autopilot/types.js.map +1 -1
  75. package/dist/index.d.ts +3 -0
  76. package/dist/index.d.ts.map +1 -1
  77. package/dist/index.js +3 -0
  78. package/dist/index.js.map +1 -1
  79. package/dist/version.d.ts +1 -1
  80. package/dist/version.js +1 -1
  81. package/package.json +1 -1
@@ -1,6 +1,8 @@
1
1
  import type { AiPricingConfig, AiRuntimeConfig, AiStreamMode } from "./config.js";
2
- import { type AiReasoningEffort } from "./request.js";
3
- import { type AiMessage, type AiPort, type AiTimeoutPhase, type AiTransportDiagnostics, type AiUsage } from "./types.js";
2
+ import type { AiModelLearning, AiModelMemory } from "./memory.js";
3
+ import { type AiErrorBody } from "./provider-error.js";
4
+ import { type AiAttemptThinking, type AiReasoningEffort, type AiThinkingWhy } from "./request.js";
5
+ import { type AiMessage, type AiPort, type AiRouteStep, type AiTimeoutPhase, type AiTransportDiagnostics, type AiUsage } from "./types.js";
4
6
  export { DEFAULT_REQUEST_TIMEOUT_MS, MIN_REQUEST_TIMEOUT_MS, TOTAL_REQUEST_CAP_MS } from "./deadlines.js";
5
7
  /**
6
8
  * Raw bytes of a stream include the JSON envelope of every piece (a few hundred bytes for a few characters), so a long reasoning phase is
@@ -30,18 +32,30 @@ export interface FetchAiAttempt {
30
32
  provider: string;
31
33
  model: string;
32
34
  integrationId: string;
35
+ /** The integration's name as the author wrote it (cleaned of credentials): what a panel calls the one that is asked. */
36
+ integrationName: string;
33
37
  /** Position of the candidate in the route's order: 0 is the primary. */
34
38
  index: number;
39
+ /** How many candidates the route has as written, the ones this call leaves out included (`index` is the place of this one in it). */
40
+ candidates: number;
41
+ /** Which request of this call this is, from 1: every request counts, the ones that failed before it too. */
42
+ attempt: number;
43
+ /** The most requests this call can make: the candidates of the route that its plan did not leave out. */
44
+ attempts: number;
35
45
  /** Identifies this attempt: the `onAttemptEnd` call that closes it carries the same id. */
36
46
  attemptId: string;
37
47
  /** The messages actually sent, as copies: a model without tools gets the JSON instruction in the system prompt, and a conversation (`AiRequest.messages`) is reported whole, with its roles and parts. */
38
48
  messages: FetchAiMessage[];
39
49
  /** The output token limit sent, when there is one. */
40
50
  maxOutputTokens?: number;
51
+ /** The API version this request carries, for a provider that has one (Azure OpenAI's `api-version`, or `v1`): the model's own, else its integration's (`effectiveApiVersion`). */
52
+ apiVersion?: string;
53
+ /** The request is made through the Responses API (absent: Chat Completions). */
54
+ protocol?: "responses";
41
55
  stream: boolean;
42
56
  /** The structured reply is requested as a forced function call. */
43
57
  tools: boolean;
44
- /** The origin and path every request of this integration starts with (never a key). */
58
+ /** The origin and path every request of this integration starts with, or, for a model with an address of its own, that address without its query (never a key). */
45
59
  endpoint: string | null;
46
60
  /** How long the provider has to begin answering (`timeouts.startMs`). */
47
61
  timeoutMs: number;
@@ -52,7 +66,11 @@ export interface FetchAiAttempt {
52
66
  /** "Tools only" was in force for this call: `false` only when the configuration turned it off. */
53
67
  toolsOnly: boolean;
54
68
  /** The thinking level the request carries: as `reasoning_effort`, or as the chat-template argument when `reasoningParameter` says so. Absent when none is sent (`automatic` sends nothing). */
55
- thinking?: AiReasoningEffort;
69
+ thinking?: AiReasoningEffort | "none";
70
+ /** What the request does of the thinking level in three words: the level that is sent, `automatic` (none chosen: the model decides) or `not-sent` (a level is chosen and the model does not take it). */
71
+ thinkingMode: AiAttemptThinking;
72
+ /** Why a level that was chosen is not sent, when this request is what decided it: `tools`, the request carries function tools and the model refuses a level with them (set, or learned). Absent otherwise. */
73
+ thinkingWhy?: AiThinkingWhy;
56
74
  /** Where the level went, when it went in the chat-template argument (`chat_template_kwargs.reasoning_strength`, the model's "Thinking parameter"). Absent: it went as `reasoning_effort`, or no level was sent. */
57
75
  reasoningParameter?: "chat_template_kwargs.reasoning_strength";
58
76
  /**
@@ -63,6 +81,12 @@ export interface FetchAiAttempt {
63
81
  model: string;
64
82
  reason: "no-tool-calls";
65
83
  }>;
84
+ /**
85
+ * Every candidate of the route that this call does not ask, each with its place in the route and why (see `AiRouteStep`): the targets that cannot be called, the fallbacks the
86
+ * privacy policy keeps back, the models whose context window cannot hold the prompt, the ones the routing limits cut, and the models "Tools only" skips. What is known when this attempt is sent
87
+ * (a fallback that the author did not acknowledge is added to the attempts after it). Absent when nothing was left out.
88
+ */
89
+ leftOut?: AiRouteStep[];
66
90
  /**
67
91
  * What this attempt does not do that the configuration asked, because of what the model declares or says: a thinking level that is not sent to a
68
92
  * model that does not reason or whose thinking parameter is `none`, a stream that is not asked of a model that does not stream. In English, for a debug panel; absent when there is nothing to say.
@@ -91,6 +115,8 @@ export interface FetchAiAttemptEnd {
91
115
  text?: string;
92
116
  /** Why the attempt failed: the provider's message, already cleaned of credentials. */
93
117
  error?: string;
118
+ /** What the provider answered when it refused the request, in its own words: the status and the message, type, param and code of its error (see `AiErrorBody`). Absent for a failure that is not an answer. */
119
+ errorBody?: AiErrorBody;
94
120
  failureKind?: "timeout" | "cancelled" | "provider";
95
121
  status?: number;
96
122
  retryAfterMs?: number;
@@ -153,6 +179,15 @@ export interface FetchAiOptions {
153
179
  onAttempt?: (attempt: FetchAiAttempt) => void;
154
180
  /** An attempt ended, whether it worked or not: for costs and debug panels. Never breaks the call. */
155
181
  onAttemptEnd?: (end: FetchAiAttemptEnd) => void;
182
+ /** What this client's host remembers of its models between calls (see `AiModelMemory`); a call may bring its own (`AiRequest.memory`), which wins. */
183
+ memory?: AiModelMemory;
184
+ /** A call of this client learned something about a model (see `AiModelLearning`): said once, when it is learned. Never breaks the call. */
185
+ onLearned?: (learning: AiModelLearning) => void;
186
+ /**
187
+ * Whether the host is ending (a browser page that is being reloaded or closed). A request that fails while it is true failed because its host went away, not because its provider did: the
188
+ * attempt is closed as cancelled and the call ends with that failure, and the next candidate is not asked (it would be sent the whole prompt, and billed, by a host that is no longer there).
189
+ */
190
+ interrupted?: () => boolean;
156
191
  /**
157
192
  * With `fallbackDisclosure.requireAcknowledgement`, asked before content goes to a fallback in another account than
158
193
  * the one it went to so far. Return `true` to allow it; anything else, or a host without this hook, keeps the content
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-client.d.ts","sourceRoot":"","sources":["../../src/ai/fetch-client.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGlF,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