@nymbalhq/platform 1.6.0 → 1.8.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.
- package/dist/{chunk-KH3BABMV.js → chunk-VMUBZ5ET.js} +714 -118
- package/dist/chunk-VMUBZ5ET.js.map +1 -0
- package/dist/db/schema/index.d.ts +4 -4
- package/dist/index.d.ts +127 -9
- package/dist/index.js +553 -88
- package/dist/index.js.map +1 -1
- package/dist/{register-XP5XVAXM.js → register-IEIKFGAW.js} +2 -2
- package/package.json +5 -5
- package/dist/chunk-KH3BABMV.js.map +0 -1
- /package/dist/{register-XP5XVAXM.js.map → register-IEIKFGAW.js.map} +0 -0
|
@@ -2035,7 +2035,7 @@ declare const orderAccessKeys$1: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
2035
2035
|
tableName: "order_access_keys";
|
|
2036
2036
|
dataType: "string";
|
|
2037
2037
|
columnType: "SQLiteText";
|
|
2038
|
-
data: "
|
|
2038
|
+
data: "email" | "checkout";
|
|
2039
2039
|
driverParam: string;
|
|
2040
2040
|
notNull: true;
|
|
2041
2041
|
hasDefault: false;
|
|
@@ -6171,7 +6171,7 @@ declare const schema$1: {
|
|
|
6171
6171
|
tableName: "order_access_keys";
|
|
6172
6172
|
dataType: "string";
|
|
6173
6173
|
columnType: "SQLiteText";
|
|
6174
|
-
data: "
|
|
6174
|
+
data: "email" | "checkout";
|
|
6175
6175
|
driverParam: string;
|
|
6176
6176
|
notNull: true;
|
|
6177
6177
|
hasDefault: false;
|
|
@@ -10343,7 +10343,7 @@ declare const orderAccessKeys: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
10343
10343
|
tableName: "order_access_keys";
|
|
10344
10344
|
dataType: "string";
|
|
10345
10345
|
columnType: "PgText";
|
|
10346
|
-
data: "
|
|
10346
|
+
data: "email" | "checkout";
|
|
10347
10347
|
driverParam: string;
|
|
10348
10348
|
notNull: true;
|
|
10349
10349
|
hasDefault: false;
|
|
@@ -14131,7 +14131,7 @@ declare const schema: {
|
|
|
14131
14131
|
tableName: "order_access_keys";
|
|
14132
14132
|
dataType: "string";
|
|
14133
14133
|
columnType: "PgText";
|
|
14134
|
-
data: "
|
|
14134
|
+
data: "email" | "checkout";
|
|
14135
14135
|
driverParam: string;
|
|
14136
14136
|
notNull: true;
|
|
14137
14137
|
hasDefault: false;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NymbalConfig } from '@nymbalhq/config';
|
|
1
|
+
import { NymbalConfig, CustomerField, AssistantMaskField } from '@nymbalhq/config';
|
|
2
2
|
export { secureCookies } from '@nymbalhq/config';
|
|
3
|
-
import { Logger, DocumentStoreAdapter, EventBusAdapter, MediaStorage, Product, ProductStatus, ProductType, ProductMedia, Variant, VariantDimensions, VariantOption, VariantStatus, Category, Customer, Role, CustomerAddress, Order, OrderStatus, Address, OrderLineItem, CaptureMethod, OrderSource, OrderHistoryEntry, OrderRefundStatus, OrderRefund, InventoryReservation, StockAdjustmentReason, StockAdjustment, Review, ReviewModerationStatus, NymbalEvent, Cart, AuditSubject, AuditActor, AuditOutcome, AuditEntry, AlertKind, AlertStatus, ProposalStatus, ProposalDecider, ProposalView, HealthReport, PutOptions, QueryParams, QueryResult, EventHandler, SubscriptionConfig, Subscription, NymbalEnvironment, NymbalEventType, NymbalEventMap, RequestAuth, AdapterSetting, CommerceSlotAdapters, SecurityAdapter, AiAdapter, PaymentsAdapter, CartSource, EmailAdapter, ProductSnapshot, CartItem, StockStatus, PaymentIntent, CheckoutPayment, SearchParams, SearchResult, SearchAdapter, OrderPayment, Refund, RecentViewer, ReviewsAdapter, Caller, ToolResult, ProposalPage, CommerceSlot, HttpAdapter, ToolSurface, RequestContext, ResponseEnvelope, RouteHandler, ToolDefinition, JsonSchemaObject, AssistantFrame, ResolvedNetwork, AgentSurfaces, AgentSurfaceUrls, AgentSurfaceAdapter, HealthStatus, SecurityNetwork, OriginLockRule, Slot, ProviderPackageModule, RateLimitAction, AnalyticsAdapter, ShippingAdapter, TaxAdapter } from '@nymbalhq/types';
|
|
3
|
+
import { Logger, DocumentStoreAdapter, EventBusAdapter, MediaStorage, Product, ProductStatus, ProductType, ProductMedia, Variant, VariantDimensions, VariantOption, VariantStatus, Category, Customer, Role, CustomerAddress, Order, OrderStatus, Address, OrderLineItem, CaptureMethod, OrderSource, OrderHistoryEntry, OrderRefundStatus, OrderRefund, InventoryReservation, StockAdjustmentReason, StockAdjustment, Review, ReviewModerationStatus, NymbalEvent, Cart, AuditSubject, AuditActor, AuditOutcome, AuditEntry, AlertKind, AlertStatus, ProposalStatus, ProposalDecider, ProposalView, HealthReport, PutOptions, QueryParams, QueryResult, EventHandler, SubscriptionConfig, Subscription, NymbalEnvironment, NymbalEventType, NymbalEventMap, RequestAuth, AdapterSetting, CommerceSlotAdapters, SecurityAdapter, AiAdapter, PaymentsAdapter, CartSource, EmailAdapter, ProductSnapshot, CartItem, StockStatus, PaymentIntent, CheckoutPayment, SearchParams, SearchResult, SearchAdapter, OrderPayment, Refund, RecentViewer, ReviewsAdapter, Caller, ToolResult, ProposalPage, CommerceSlot, HttpAdapter, ToolSurface, RequestContext, ResponseEnvelope, RouteHandler, ToolDefinition, JsonSchemaObject, AssistantFrame, ResolvedNetwork, AgentSurfaces, ChatUsage, AgentSurfaceUrls, AgentSurfaceAdapter, HealthStatus, SecurityNetwork, OriginLockRule, Slot, ProviderPackageModule, RateLimitAction, AnalyticsAdapter, ShippingAdapter, TaxAdapter } from '@nymbalhq/types';
|
|
4
4
|
export { MediaStorage, buildSecurityHeaders, isValidCorrelationId } from '@nymbalhq/types';
|
|
5
5
|
import BetterSqlite3 from 'better-sqlite3';
|
|
6
6
|
import pg from 'pg';
|
|
@@ -422,6 +422,27 @@ interface AgentTotals {
|
|
|
422
422
|
/** At most `top` sources: revenue descending, then count descending, then source ascending. */
|
|
423
423
|
bySource: AgentSourceTotals[];
|
|
424
424
|
}
|
|
425
|
+
/** The admin order list's filters, each run in the query. */
|
|
426
|
+
interface OrderListFilter {
|
|
427
|
+
status?: OrderStatus;
|
|
428
|
+
/**
|
|
429
|
+
* ISO instants in any form the route admits (a date, seconds without milliseconds, an offset), compared as instants:
|
|
430
|
+
* createdAt >= from, createdAt <= to.
|
|
431
|
+
*/
|
|
432
|
+
from?: string;
|
|
433
|
+
to?: string;
|
|
434
|
+
/** The customerId or the email holds it, case-insensitive, every character literal (% and _ are not wildcards). */
|
|
435
|
+
customer?: string;
|
|
436
|
+
/** The orderNumber or the email holds it, case-insensitive, every character literal. */
|
|
437
|
+
q?: string;
|
|
438
|
+
/**
|
|
439
|
+
* The shipping postalCode, upper-cased without spaces (U+0020 only), starts with this upper-cased without spaces,
|
|
440
|
+
* every character literal; a missing or empty shipping postalCode matches nothing.
|
|
441
|
+
*/
|
|
442
|
+
postcode?: string;
|
|
443
|
+
/** The shipping country equals this, case-insensitive; a missing or empty shipping country matches nothing. */
|
|
444
|
+
country?: string;
|
|
445
|
+
}
|
|
425
446
|
interface OrderInsert {
|
|
426
447
|
id: string;
|
|
427
448
|
orderNumber: string;
|
|
@@ -478,11 +499,13 @@ interface OrderRepository extends StoreRepository {
|
|
|
478
499
|
totalsByCustomer(tx: ReadTx, customerId: string): Promise<CustomerOrderTotals>;
|
|
479
500
|
/** The `agent:` orders created at or after `since`, any status, and the `top` agents among them. */
|
|
480
501
|
agentTotals(tx: ReadTx, since: Date, top: number): Promise<AgentTotals>;
|
|
481
|
-
|
|
482
|
-
|
|
502
|
+
/** The orders the filter matches, createdAt descending, then sequence descending. */
|
|
503
|
+
list(tx: ReadTx, opts?: OrderListFilter & {
|
|
483
504
|
limit?: number;
|
|
484
505
|
offset?: number;
|
|
485
506
|
}): Promise<Order[]>;
|
|
507
|
+
/** How many orders the filter matches. */
|
|
508
|
+
count(tx: ReadTx, filter?: OrderListFilter): Promise<number>;
|
|
486
509
|
/** Rows by id after `page.after`: a walk over the table that a concurrent write cannot make skip a row. */
|
|
487
510
|
listPage(tx: ReadTx, page: KeysetPage): Promise<Order[]>;
|
|
488
511
|
insert(tx: Tx, o: OrderInsert): Promise<void>;
|
|
@@ -2031,10 +2054,26 @@ interface RouteSchema {
|
|
|
2031
2054
|
*/
|
|
2032
2055
|
handles?: Record<string, string>;
|
|
2033
2056
|
/**
|
|
2034
|
-
* The customer fields a
|
|
2057
|
+
* The customer fields a route's answer can carry. The assistant sends a tool's result to the AI provider as it is, so
|
|
2035
2058
|
* `agents.assistant.customerData: false` leaves every marked route off the assistant, and the docs list them.
|
|
2036
2059
|
*/
|
|
2037
2060
|
personal?: readonly PersonalField[];
|
|
2061
|
+
/**
|
|
2062
|
+
* The command removes, hides for good or reverses a record (a delete, an archive, a cancellation, a refund): the
|
|
2063
|
+
* admin's assistant runs at most MAX_DESTRUCTIVE_PER_TURN of them in one turn.
|
|
2064
|
+
*/
|
|
2065
|
+
destructive?: true;
|
|
2066
|
+
/** Kept from one agent surface while the others keep the tool: `assistant: false` is not offered to Ask. */
|
|
2067
|
+
agents?: {
|
|
2068
|
+
assistant?: false;
|
|
2069
|
+
};
|
|
2070
|
+
/**
|
|
2071
|
+
* The admin's assistant sends each of the answer's `items` to the model as this record's summary
|
|
2072
|
+
* (`assistant/summary.ts`); every other reader gets the items whole.
|
|
2073
|
+
*/
|
|
2074
|
+
summary?: 'order' | 'product';
|
|
2075
|
+
/** The answer names orders or customers the admin's assistant shows a card of, read by the admin from the store. */
|
|
2076
|
+
record?: 'order' | 'customer';
|
|
2038
2077
|
}
|
|
2039
2078
|
/** A customer field a route's answer can carry. */
|
|
2040
2079
|
type PersonalField = 'email' | 'phone' | 'address';
|
|
@@ -2084,6 +2123,8 @@ interface InvokerDeps {
|
|
|
2084
2123
|
proposals: Pick<ProposalService, 'propose' | 'run'>;
|
|
2085
2124
|
policy: Policy;
|
|
2086
2125
|
logger: Logger;
|
|
2126
|
+
/** The customer fields an admin-scope tool's result never carries to the caller; [] sends them. */
|
|
2127
|
+
withhold: readonly CustomerField[];
|
|
2087
2128
|
}
|
|
2088
2129
|
/** The tool surface, and how a stored proposal is run through its route (for the proposal service, not for agents). */
|
|
2089
2130
|
interface Invoker extends ToolSurface {
|
|
@@ -2097,6 +2138,19 @@ interface Invoker extends ToolSurface {
|
|
|
2097
2138
|
*/
|
|
2098
2139
|
declare function createInvoker(deps: InvokerDeps): Invoker;
|
|
2099
2140
|
|
|
2141
|
+
/**
|
|
2142
|
+
* Reversible masking of a customer's details for one assistant turn: the AI provider reads `[email-1]` where a tool
|
|
2143
|
+
* result held an email, and each placeholder is turned back into its value before a tool runs and before the admin
|
|
2144
|
+
* sees the answer. The table lives in the turn's memory only.
|
|
2145
|
+
*/
|
|
2146
|
+
type MaskField = AssistantMaskField;
|
|
2147
|
+
/** A revealed value's place in a text: UTF-16 offsets, `end` exclusive. */
|
|
2148
|
+
interface RevealedSpan {
|
|
2149
|
+
start: number;
|
|
2150
|
+
end: number;
|
|
2151
|
+
kind: MaskField;
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2100
2154
|
/** The agent name every tool call, proposal and audit entry of the assistant carries. */
|
|
2101
2155
|
declare const ASSISTANT_AGENT = "nymbal-assistant";
|
|
2102
2156
|
interface AssistantDeps {
|
|
@@ -2105,11 +2159,14 @@ interface AssistantDeps {
|
|
|
2105
2159
|
tools: ToolSurface;
|
|
2106
2160
|
proposals: Pick<ProposalService, 'get'>;
|
|
2107
2161
|
logger: Logger;
|
|
2108
|
-
/** The store's name and
|
|
2162
|
+
/** The store's name, currency and IANA time zone, for the model's instructions. */
|
|
2109
2163
|
store?: {
|
|
2110
2164
|
name: string;
|
|
2111
2165
|
currency: string;
|
|
2166
|
+
timezone: string;
|
|
2112
2167
|
};
|
|
2168
|
+
/** The clock the turn's date is read from, once at its start; `Date.now` when absent. */
|
|
2169
|
+
now?: () => number;
|
|
2113
2170
|
limits?: {
|
|
2114
2171
|
maxSteps?: number;
|
|
2115
2172
|
turnMs?: number;
|
|
@@ -2117,6 +2174,8 @@ interface AssistantDeps {
|
|
|
2117
2174
|
};
|
|
2118
2175
|
/** `agents.assistant.customerData`: false leaves out every tool whose answer carries a customer's details. */
|
|
2119
2176
|
customerData?: boolean;
|
|
2177
|
+
/** `agents.assistant.mask`: the customer fields the provider reads as placeholders; absent or [] masks nothing. */
|
|
2178
|
+
mask?: readonly MaskField[];
|
|
2120
2179
|
}
|
|
2121
2180
|
interface AssistantTurn {
|
|
2122
2181
|
/** The turn's id, the prefix of each call's correlation id; one is minted when absent. */
|
|
@@ -2127,6 +2186,7 @@ interface AssistantTurn {
|
|
|
2127
2186
|
messages: Array<{
|
|
2128
2187
|
role: 'user' | 'assistant';
|
|
2129
2188
|
content: string;
|
|
2189
|
+
revealed?: RevealedSpan[];
|
|
2130
2190
|
}>;
|
|
2131
2191
|
/** The admin route the panel was opened on, e.g. `/products/ceramic-mug`. */
|
|
2132
2192
|
page?: string;
|
|
@@ -2142,7 +2202,8 @@ declare function streamOf(ai: AiAdapter): Stream;
|
|
|
2142
2202
|
* One assistant turn: the model is called with the store's tools, each tool it asks for runs through the tool surface
|
|
2143
2203
|
* as the admin, and its result goes back to it, until it answers without calls. `emit` receives every frame; the turn
|
|
2144
2204
|
* ends with one `done` or one `error` frame, or with none when `signal` aborts (the merchant has gone). It is bounded by
|
|
2145
|
-
* `maxSteps` model requests, `turnMs`, ten calls per reply, ten writes and 64 000 characters
|
|
2205
|
+
* `maxSteps` model requests, `turnMs`, ten calls per reply, ten writes, three of them destructive, and 64 000 characters
|
|
2206
|
+
* of results; a reply its length limit cut ends the turn with `assistant.answer_cut`. Each call
|
|
2146
2207
|
* carries its own correlation id, `<turnId>.<n>`, and logs one line without its arguments or result.
|
|
2147
2208
|
*/
|
|
2148
2209
|
declare function runAssistantTurn(deps: AssistantDeps, turn: AssistantTurn, emit: (frame: AssistantFrame) => void, signal?: AbortSignal): Promise<void>;
|
|
@@ -2206,6 +2267,10 @@ interface GoldenOrder {
|
|
|
2206
2267
|
id: string;
|
|
2207
2268
|
orderNumber: string;
|
|
2208
2269
|
email: string;
|
|
2270
|
+
/** The full name on the order's shipping address. */
|
|
2271
|
+
name: string;
|
|
2272
|
+
/** The full name of the order's customer account; null for a guest order. */
|
|
2273
|
+
account: string | null;
|
|
2209
2274
|
capturedMinor: number;
|
|
2210
2275
|
refundedMinor: number;
|
|
2211
2276
|
}
|
|
@@ -2252,6 +2317,16 @@ declare const GOLDEN_QUESTIONS: readonly GoldenQuestion[];
|
|
|
2252
2317
|
*/
|
|
2253
2318
|
declare function goldenStore(app: NymbalApp): Promise<void>;
|
|
2254
2319
|
|
|
2320
|
+
/** One call the model made, as the store's tools received it. */
|
|
2321
|
+
interface GoldenCall {
|
|
2322
|
+
name: string;
|
|
2323
|
+
/** `command` for any write (a session write too); `unknown` for a name the store's tools lack. */
|
|
2324
|
+
kind: 'read' | 'command' | 'unknown';
|
|
2325
|
+
/** The arguments the tools received, placeholders revealed; null for a call that never reached them. */
|
|
2326
|
+
args: Record<string, unknown> | null;
|
|
2327
|
+
/** `ok`, `proposed`, `applied`, or the error code. */
|
|
2328
|
+
outcome: string;
|
|
2329
|
+
}
|
|
2255
2330
|
interface GoldenResult {
|
|
2256
2331
|
id: string;
|
|
2257
2332
|
/** The question as asked, its order numbers filled in. */
|
|
@@ -2264,12 +2339,39 @@ interface GoldenResult {
|
|
|
2264
2339
|
/** The ids of the proposals the turn made. */
|
|
2265
2340
|
proposals: string[];
|
|
2266
2341
|
answer: string;
|
|
2342
|
+
/** Every call, in order, with its kind, arguments and outcome. */
|
|
2343
|
+
trace: GoldenCall[];
|
|
2267
2344
|
}
|
|
2345
|
+
/** The tokens of every request a run made, as the provider reported them; the cache counts are 0 where it gave none. */
|
|
2346
|
+
type GoldenUsage = Required<ChatUsage>;
|
|
2268
2347
|
interface GoldenReport {
|
|
2269
2348
|
passed: number;
|
|
2270
2349
|
total: number;
|
|
2271
2350
|
results: GoldenResult[];
|
|
2351
|
+
/** The models the provider said answered, in the order first met. */
|
|
2352
|
+
models: string[];
|
|
2353
|
+
usage: GoldenUsage;
|
|
2354
|
+
}
|
|
2355
|
+
/** Several runs of the golden set, each question judged by majority. */
|
|
2356
|
+
interface GoldenTally {
|
|
2357
|
+
runs: number;
|
|
2358
|
+
/** The questions that are `ok`. */
|
|
2359
|
+
passed: number;
|
|
2360
|
+
total: number;
|
|
2361
|
+
/** In the first report's order: how many runs passed each, and whether more than half did. */
|
|
2362
|
+
questions: Array<{
|
|
2363
|
+
id: string;
|
|
2364
|
+
passed: number;
|
|
2365
|
+
ok: boolean;
|
|
2366
|
+
}>;
|
|
2367
|
+
}
|
|
2368
|
+
/** The AI provider refused a question's turn in a way no later question would escape: the run stops there. */
|
|
2369
|
+
declare class GoldenAdapterError extends Error {
|
|
2370
|
+
readonly question: string;
|
|
2371
|
+
readonly code: string;
|
|
2372
|
+
constructor(question: string, code: string, message: string);
|
|
2272
2373
|
}
|
|
2374
|
+
declare function tallyGolden(reports: readonly GoldenReport[]): GoldenTally;
|
|
2273
2375
|
interface RunGoldenOptions {
|
|
2274
2376
|
/** Question ids to run; all of them when omitted. */
|
|
2275
2377
|
only?: string[];
|
|
@@ -2281,6 +2383,22 @@ interface RunGoldenOptions {
|
|
|
2281
2383
|
*/
|
|
2282
2384
|
declare function runGolden(app: NymbalApp, opts?: RunGoldenOptions): Promise<GoldenReport>;
|
|
2283
2385
|
|
|
2386
|
+
/** A record of the last real eval run, as `nymbal eval assistant --stamp` writes it. */
|
|
2387
|
+
interface AssistantEvalStamp {
|
|
2388
|
+
hash: string;
|
|
2389
|
+
/** `pending` until a run against a real provider records one. */
|
|
2390
|
+
provider: string;
|
|
2391
|
+
model: string | null;
|
|
2392
|
+
runs: number | null;
|
|
2393
|
+
passed: number | null;
|
|
2394
|
+
total: number | null;
|
|
2395
|
+
threshold: number | null;
|
|
2396
|
+
/** The day of the run, `YYYY-MM-DD`. */
|
|
2397
|
+
date: string | null;
|
|
2398
|
+
}
|
|
2399
|
+
/** The hash of `assistantEvalInput`, as the stamp records it. */
|
|
2400
|
+
declare function assistantEvalHash(surface: Pick<ToolSurface, 'list'>): string;
|
|
2401
|
+
|
|
2284
2402
|
/** The Universal Commerce Protocol release this store speaks. */
|
|
2285
2403
|
declare const UCP_VERSION = "2026-08-25";
|
|
2286
2404
|
/**
|
|
@@ -2817,5 +2935,5 @@ interface LocalFsMediaStorageOptions {
|
|
|
2817
2935
|
declare const LOCAL_FS_MEDIA_CAPABILITIES: readonly string[];
|
|
2818
2936
|
declare function createLocalFsMediaStorage(options: LocalFsMediaStorageOptions): MediaStorage;
|
|
2819
2937
|
|
|
2820
|
-
export { ALERT_CONFIRMATION_INTERVAL_MS, ASSISTANT_AGENT, CATCH_UP_MARGIN_MS, CSRF_COOKIE, CSRF_HEADER, GOLDEN_QUESTIONS, InMemoryDocumentStore, InProcessEventBus, LOCAL_FS_MEDIA_CAPABILITIES, PROVIDER_REFUND_REASON, READ_MODELS, READ_MODEL_NAMES, REDIS_DEFAULTS, REFRESH_REUSE_WINDOW_MS, REVIEW_VERIFYING_STATUSES, RateLimiter, RebuildError, RouteTable, SECRETS_KEY_ENV, SECRETS_KEY_OLD_ENV, UCP_VERSION, actorOf, agentNameOf, agentReadiness, appendAuditEntry, audit, auditEntriesInOrder, auditedCommand, buildAdapters, buildRepositories, buildServices, checkAdapterModule, confirmationDue, createAlertService, createAlertSubscriptionRepository, createApp, createAuditEntryRepository, createAuthService, createCartCatalogue, createCartRepository, createCartService, createCategoryRepository, createCategoryService, createCheckoutService, createCommandStore, createCustomerRepository, createCustomerService, createEmailSuppressionRepository, createEventBuilder, createEventLogRepository, createEventPublisher, createImportRemovalService, createInventoryReservationRepository, createInventoryService, createInvoker, createCategoryRepository$1 as createLegacyCategoryRepository, createProductRepository$1 as createLegacyProductRepository, createLocalFsMediaStorage, createLogger, createMiddlewareSecurityAdapter, createNativeAnalyticsAdapter, createNativeEmailAdapter, createNativeReviewsAdapter, createNativeSearchAdapter, createNativeShippingAdapter, createNativeStubPaymentsAdapter, createNativeTaxAdapter, createOrderAccessKeyRepository, createOrderHistoryRepository, createOrderRefundRepository, createOrderRepository, createOrderSequenceRepository, createOrderService, createOrderShipmentRepository, createPlatform, createProcessedEventRepository, createProductCategoryRepository, createProductRepository, createProductService, createProposalRepository, createProposalService, createRecentlyViewedService, createRefreshTokenRepository, createRefundService, createRelay, createReviewRepository, createReviewService, createSearchService, createSettingsRepository, createStockAdjustmentRepository, createUcpSurface, createVariantRepository, currentActor, currentCorrelationId, declaredSettings, decodeProposalCursor, decrypt, diagnose, diffReadModel, emailDelivers, encodeProposalCursor, encodeSearchCursor, encrypt, fillFromSettings, findAppliedByKey, goldenStore, importAdapterModule, installLine, isLoopbackHost, isMissingSettingsTable, isSellable, jsonSchemaOf, keyId, keyProblem, listAuditEntries, migrationState, missingPackage, newAlertToken, newCorrelationId, openReadModels, orderPayment, parseDurationToMs, policyOf, proposalView, rawClients, readSecretsKey, rebuild, recordingAdapter, refreshRefunded, registerAdminStaticRoute, registerAlertHandler, registerAlertRoutes, registerAllRoutes, registerHandlers, resolveAuthSecret, resolveChoice, resolvePrimitives, routeSchemas, runAsActor, runAssistantTurn, runGolden, runMigrations, runSeed, runWithCorrelation, sanitizeDescription, scrub, seedCategories, seedProducts, settingAad, settlementOf, sqliteFile, startCartAbandonmentSweeper, startEventRetentionSweeper, startInventoryReservationSweeper, startRefreshTokenSweeper, streamOf, toolName, toolsOf, ucpProfile, withIdempotency };
|
|
2821
|
-
export type { AbandonedCart, AbandonedWindow, Actor, AdapterRegistry, AgentSourceTotals, AgentTotals, AlertConfirmed, AlertService, AlertSubscribeInput, AlertSubscription, AlertSubscriptionPatch, AlertSubscriptionRepository, AlertSubscriptionRequest, AppliedEntry, AssistantDeps, AssistantTurn, AttachHttpOptions, AuditCursor, AuditEntryInsert, AuditEntryRepository, AuditFilter, AuditQuery, AuthSecret, AuthService, AuthTokens, BeginCheckoutInput, BeginCheckoutResult, BuildAdaptersDeps, BuildServicesDeps, CapabilitiesReport, CapabilitySlot, CapturedPayment, CartCatalogue, CartRepository, CartService, CatchUpFailure, CategoryCreateInput, CategoryInsert, CategoryRepository, CategoryService, CategoryUpdate, CategoryUpdateInput, CheckoutService, Choice, CollectionDiff, CommandStore, CommandStoreOptions, CommerceAdapters, CreateAlertServiceDeps, CreateAppOptions, CreateAuthServiceDeps, CreateCartServiceDeps, CreateCheckoutServiceDeps, CreateInventoryServiceDeps, CreateLoggerOptions, CreateOrderServiceDeps, CreatePlatformOptions, CreateProductServiceDeps, CreatePublisherOptions, CreateRefundServiceDeps, CreateRelayOptions, CustomerInsert, CustomerJwtPayload, CustomerNote, CustomerOrderTotals, CustomerRepository, CustomerService, CustomerUpdate, CustomerWithHash, DiagnoseOptions, DiagnosisCheck, DiagnosisReport, DiagnosisStatus, EmailSuppressionInput, EmailSuppressionReason, EmailSuppressionRepository, EncryptedValue, EventArchiveWriter, EventBuilderContext, EventLogFilter, EventLogRepository, EventPublisher, EventRetentionSweeperDeps, Executed, FinalizeResult, GoldenFact, GoldenKind, GoldenQuestion, GoldenReport, GoldenResult, IdempotencyOptions, ImportCustomerInput, ImportRemovalService, ImportRemovalServiceDeps, InMemoryDocumentStoreOptions, InProcessEventBusOptions, InjectedAdapters, InventoryReservationRepository, InventoryService, Invoker, InvokerDeps, KeysetPage, CategoryInsert$1 as LegacyCategoryInsert, CategoryRow as LegacyCategoryRow, ProductInsert$1 as LegacyProductInsert, ProductRow as LegacyProductRow, LocalFsMediaStorageOptions, LoggedEvent, MakeEventOptions, ManualPayments, MigrateOptions, MigrationState, NativeEmailAdapterConfig, NymbalApp, OpenReadModelsOptions, OrderAccessKeyInsert, OrderAccessKeyPurpose, OrderAccessKeyRepository, OrderCapture, OrderCreateDraftInput, OrderHistoryInsert, OrderHistoryRepository, OrderImportInput, OrderInsert, OrderKeyState, OrderRefundInsert, OrderRefundRepository, OrderRepository, OrderSequenceRepository, OrderService, OrderShipmentInput, OrderShipmentRepository, Platform, PlatformConnectionOptions, Policy, PostgresClient, Primitives, ProcessedEventRepository, ProductCategoryRepository, ProductCreateInput, ProductInsert, ProductRepository, ProductService, ProductUpdate, ProductUpdateInput, ProfileUpdate, Proposal, ProposalCursor, ProposalDecision, ProposalInsert, ProposalQuery, ProposalRecord, ProposalRepository, ProposalService, ProposalServiceDeps, ProposalSettlement, PublishOptions, RawClients, ReadModel, ReadModelDiff, ReadModelName, ReadTx, RebuildDeps, RebuildReport, RebuildReportEntry, RecentlyViewedService, RecentlyViewedServiceDeps, RefreshTokenInsert, RefreshTokenRepository, RefreshTokenRow, RefreshTokenSweeperDeps, RefundInput, RefundResult, RefundService, RegisterAlertHandlerDeps, RegisterAlertRoutesDeps, RegisterAllRoutesDeps, RegisterHandlersDeps, RegisterInput, Relay, RemovalOutcome, Repositories, ReservationInsert, ReserveStockResult, Resolution, ResolvePrimitivesOptions, ReviewInsert, ReviewKey, ReviewRepository, ReviewService, ReviewServiceDeps, ReviewSubmitInput, RouteSchema, RunGoldenOptions, SearchService, SecretsKey, SeedCategory, SeedDeps, SeedProduct, SeedResult, ServiceRegistry, SettingRow, SettingSource, SettingValue, SettingsRepository, Settlement, SlotCapabilities, SqliteClient, StockAdjustmentInsert, StockAdjustmentRepository, StoreActivity, StoreRepository, StoredCipher, SweeperHandle, Tx, UcpSurfaceDeps, VariantInsert, VariantPriceInput, VariantRepository, VariantUpdate };
|
|
2938
|
+
export { ALERT_CONFIRMATION_INTERVAL_MS, ASSISTANT_AGENT, CATCH_UP_MARGIN_MS, CSRF_COOKIE, CSRF_HEADER, GOLDEN_QUESTIONS, GoldenAdapterError, InMemoryDocumentStore, InProcessEventBus, LOCAL_FS_MEDIA_CAPABILITIES, PROVIDER_REFUND_REASON, READ_MODELS, READ_MODEL_NAMES, REDIS_DEFAULTS, REFRESH_REUSE_WINDOW_MS, REVIEW_VERIFYING_STATUSES, RateLimiter, RebuildError, RouteTable, SECRETS_KEY_ENV, SECRETS_KEY_OLD_ENV, UCP_VERSION, actorOf, agentNameOf, agentReadiness, appendAuditEntry, assistantEvalHash, audit, auditEntriesInOrder, auditedCommand, buildAdapters, buildRepositories, buildServices, checkAdapterModule, confirmationDue, createAlertService, createAlertSubscriptionRepository, createApp, createAuditEntryRepository, createAuthService, createCartCatalogue, createCartRepository, createCartService, createCategoryRepository, createCategoryService, createCheckoutService, createCommandStore, createCustomerRepository, createCustomerService, createEmailSuppressionRepository, createEventBuilder, createEventLogRepository, createEventPublisher, createImportRemovalService, createInventoryReservationRepository, createInventoryService, createInvoker, createCategoryRepository$1 as createLegacyCategoryRepository, createProductRepository$1 as createLegacyProductRepository, createLocalFsMediaStorage, createLogger, createMiddlewareSecurityAdapter, createNativeAnalyticsAdapter, createNativeEmailAdapter, createNativeReviewsAdapter, createNativeSearchAdapter, createNativeShippingAdapter, createNativeStubPaymentsAdapter, createNativeTaxAdapter, createOrderAccessKeyRepository, createOrderHistoryRepository, createOrderRefundRepository, createOrderRepository, createOrderSequenceRepository, createOrderService, createOrderShipmentRepository, createPlatform, createProcessedEventRepository, createProductCategoryRepository, createProductRepository, createProductService, createProposalRepository, createProposalService, createRecentlyViewedService, createRefreshTokenRepository, createRefundService, createRelay, createReviewRepository, createReviewService, createSearchService, createSettingsRepository, createStockAdjustmentRepository, createUcpSurface, createVariantRepository, currentActor, currentCorrelationId, declaredSettings, decodeProposalCursor, decrypt, diagnose, diffReadModel, emailDelivers, encodeProposalCursor, encodeSearchCursor, encrypt, fillFromSettings, findAppliedByKey, goldenStore, importAdapterModule, installLine, isLoopbackHost, isMissingSettingsTable, isSellable, jsonSchemaOf, keyId, keyProblem, listAuditEntries, migrationState, missingPackage, newAlertToken, newCorrelationId, openReadModels, orderPayment, parseDurationToMs, policyOf, proposalView, rawClients, readSecretsKey, rebuild, recordingAdapter, refreshRefunded, registerAdminStaticRoute, registerAlertHandler, registerAlertRoutes, registerAllRoutes, registerHandlers, resolveAuthSecret, resolveChoice, resolvePrimitives, routeSchemas, runAsActor, runAssistantTurn, runGolden, runMigrations, runSeed, runWithCorrelation, sanitizeDescription, scrub, seedCategories, seedProducts, settingAad, settlementOf, sqliteFile, startCartAbandonmentSweeper, startEventRetentionSweeper, startInventoryReservationSweeper, startRefreshTokenSweeper, streamOf, tallyGolden, toolName, toolsOf, ucpProfile, withIdempotency };
|
|
2939
|
+
export type { AbandonedCart, AbandonedWindow, Actor, AdapterRegistry, AgentSourceTotals, AgentTotals, AlertConfirmed, AlertService, AlertSubscribeInput, AlertSubscription, AlertSubscriptionPatch, AlertSubscriptionRepository, AlertSubscriptionRequest, AppliedEntry, AssistantDeps, AssistantEvalStamp, AssistantTurn, AttachHttpOptions, AuditCursor, AuditEntryInsert, AuditEntryRepository, AuditFilter, AuditQuery, AuthSecret, AuthService, AuthTokens, BeginCheckoutInput, BeginCheckoutResult, BuildAdaptersDeps, BuildServicesDeps, CapabilitiesReport, CapabilitySlot, CapturedPayment, CartCatalogue, CartRepository, CartService, CatchUpFailure, CategoryCreateInput, CategoryInsert, CategoryRepository, CategoryService, CategoryUpdate, CategoryUpdateInput, CheckoutService, Choice, CollectionDiff, CommandStore, CommandStoreOptions, CommerceAdapters, CreateAlertServiceDeps, CreateAppOptions, CreateAuthServiceDeps, CreateCartServiceDeps, CreateCheckoutServiceDeps, CreateInventoryServiceDeps, CreateLoggerOptions, CreateOrderServiceDeps, CreatePlatformOptions, CreateProductServiceDeps, CreatePublisherOptions, CreateRefundServiceDeps, CreateRelayOptions, CustomerInsert, CustomerJwtPayload, CustomerNote, CustomerOrderTotals, CustomerRepository, CustomerService, CustomerUpdate, CustomerWithHash, DiagnoseOptions, DiagnosisCheck, DiagnosisReport, DiagnosisStatus, EmailSuppressionInput, EmailSuppressionReason, EmailSuppressionRepository, EncryptedValue, EventArchiveWriter, EventBuilderContext, EventLogFilter, EventLogRepository, EventPublisher, EventRetentionSweeperDeps, Executed, FinalizeResult, GoldenCall, GoldenFact, GoldenKind, GoldenQuestion, GoldenReport, GoldenResult, GoldenTally, GoldenUsage, IdempotencyOptions, ImportCustomerInput, ImportRemovalService, ImportRemovalServiceDeps, InMemoryDocumentStoreOptions, InProcessEventBusOptions, InjectedAdapters, InventoryReservationRepository, InventoryService, Invoker, InvokerDeps, KeysetPage, CategoryInsert$1 as LegacyCategoryInsert, CategoryRow as LegacyCategoryRow, ProductInsert$1 as LegacyProductInsert, ProductRow as LegacyProductRow, LocalFsMediaStorageOptions, LoggedEvent, MakeEventOptions, ManualPayments, MigrateOptions, MigrationState, NativeEmailAdapterConfig, NymbalApp, OpenReadModelsOptions, OrderAccessKeyInsert, OrderAccessKeyPurpose, OrderAccessKeyRepository, OrderCapture, OrderCreateDraftInput, OrderHistoryInsert, OrderHistoryRepository, OrderImportInput, OrderInsert, OrderKeyState, OrderListFilter, OrderRefundInsert, OrderRefundRepository, OrderRepository, OrderSequenceRepository, OrderService, OrderShipmentInput, OrderShipmentRepository, Platform, PlatformConnectionOptions, Policy, PostgresClient, Primitives, ProcessedEventRepository, ProductCategoryRepository, ProductCreateInput, ProductInsert, ProductRepository, ProductService, ProductUpdate, ProductUpdateInput, ProfileUpdate, Proposal, ProposalCursor, ProposalDecision, ProposalInsert, ProposalQuery, ProposalRecord, ProposalRepository, ProposalService, ProposalServiceDeps, ProposalSettlement, PublishOptions, RawClients, ReadModel, ReadModelDiff, ReadModelName, ReadTx, RebuildDeps, RebuildReport, RebuildReportEntry, RecentlyViewedService, RecentlyViewedServiceDeps, RefreshTokenInsert, RefreshTokenRepository, RefreshTokenRow, RefreshTokenSweeperDeps, RefundInput, RefundResult, RefundService, RegisterAlertHandlerDeps, RegisterAlertRoutesDeps, RegisterAllRoutesDeps, RegisterHandlersDeps, RegisterInput, Relay, RemovalOutcome, Repositories, ReservationInsert, ReserveStockResult, Resolution, ResolvePrimitivesOptions, ReviewInsert, ReviewKey, ReviewRepository, ReviewService, ReviewServiceDeps, ReviewSubmitInput, RouteSchema, RunGoldenOptions, SearchService, SecretsKey, SeedCategory, SeedDeps, SeedProduct, SeedResult, ServiceRegistry, SettingRow, SettingSource, SettingValue, SettingsRepository, Settlement, SlotCapabilities, SqliteClient, StockAdjustmentInsert, StockAdjustmentRepository, StoreActivity, StoreRepository, StoredCipher, SweeperHandle, Tx, UcpSurfaceDeps, VariantInsert, VariantPriceInput, VariantRepository, VariantUpdate };
|