@happyvertical/smrt-agents 0.60.14 → 0.60.15
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/AGENTS.md +24 -3
- package/agents/data-surface-discovery.md +4 -0
- package/dist/agent.d.ts +21 -4
- package/dist/agent.d.ts.map +1 -1
- package/dist/ai-config.d.ts +36 -0
- package/dist/ai-config.d.ts.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +228 -61
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +34 -1
- package/dist/schedule.d.ts +17 -1
- package/dist/schedule.d.ts.map +1 -1
- package/dist/smrt-knowledge.json +25 -7
- package/dist/smrt-knowledge.okf.md +2 -2
- package/dist/types.d.ts +17 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +13 -13
package/AGENTS.md
CHANGED
|
@@ -14,9 +14,14 @@ Agent framework for autonomous actors with inter-agent messaging, interest-based
|
|
|
14
14
|
`initialize()` → `validate()` → `run()` → `shutdown()`
|
|
15
15
|
|
|
16
16
|
- Extend `Agent` (which extends `SmrtObject`) and implement `run()`
|
|
17
|
-
- Status tracking: `idle → initializing → running → error/shutdown`
|
|
17
|
+
- Status tracking: `idle → initializing → running → error/skipped/shutdown`
|
|
18
18
|
- `execute()` runs the full lifecycle automatically
|
|
19
|
-
-
|
|
19
|
+
- `AI_UNAVAILABLE` (#4757): `execute()` ends the run `skipped`
|
|
20
|
+
(`runRecord` `{ reason, mode }`), never rethrown or retried; interests
|
|
21
|
+
stop; learning neither reinforces nor decays. Direct `run()` (jobs)
|
|
22
|
+
throws it, `retryable: false`. Agents read only the tenant's mode and
|
|
23
|
+
binding (`inferenceUserScope()` is `null`).
|
|
24
|
+
- Process signal handling is opt-in (`manageProcessSignals: true`), for single-agent processes
|
|
20
25
|
|
|
21
26
|
## DispatchBus — Inter-Agent Communication
|
|
22
27
|
|
|
@@ -57,6 +62,14 @@ async run() { for (const { type, data } of await this.interesting()) { ... } }
|
|
|
57
62
|
agents use `AgentOptions.personaId` as the durable config owner; legacy agents
|
|
58
63
|
use the saved Agent row id.
|
|
59
64
|
- **Merged**: `getMergedConfig('slotId')` — DB overrides file config
|
|
65
|
+
- **AI usage (#3077)**: `initialize()` wraps `options.ai` in `withAiUsage()`;
|
|
66
|
+
`resolveAgentAIOptions({ db })` attaches a recorder, so per-call `getAI()`
|
|
67
|
+
clients record for the run's tenant ([ai-usage](../core/agents/ai-usage.md)).
|
|
68
|
+
- **Inference bindings (#4756)**: without `apiKey`/`apiKeySecretName`,
|
|
69
|
+
`resolveAgentAIClientOptions()` takes the stored tenant binding (core
|
|
70
|
+
`resolveInferenceTarget({ appBindings: false, userId: null })`), tags on
|
|
71
|
+
usage rows; never a user's (options outlive the run) or an app tier
|
|
72
|
+
binding. `initialize()` re-resolves, so rotated keys are never kept.
|
|
60
73
|
- **UI slots**: `static uiSlots` declares admin panels (id, label, icon, order,
|
|
61
74
|
`scope`, optional versioned `settingsSchema`). Without a registered custom
|
|
62
75
|
component, `AgentSettingsForm` renders that schema.
|
|
@@ -301,7 +314,7 @@ consuming app, not just this package's.
|
|
|
301
314
|
| `src/agent.ts` | Base Agent class — lifecycle, dispatch, interests, config, opt-in learning trait, multi-instance identity |
|
|
302
315
|
| `src/execute-as-principal.ts` | `executeAsPrincipal` / `PrincipalRun` — run agent work as a persona's bound user (#1888) |
|
|
303
316
|
| `src/report-data-surface.ts` | Principal-bound report discovery, query, lifecycle, drilldown, and export tools (#2462) |
|
|
304
|
-
| `src/smrt-collection-data-surface.ts` | `createSmrtCollectionDataSurfaceDefinition()
|
|
317
|
+
| `src/smrt-collection-data-surface.ts` | `createSmrtCollectionDataSurfaceDefinition()`: registry-driven collection → `DataSurfaceDefinition` adapter ([contract](agents/data-surface-discovery.md#collection-adapter-2905)) |
|
|
305
318
|
| `src/delegation.ts` | `DelegationEnvelope` — immutable principal + bounded delegation depth (#1892) |
|
|
306
319
|
| `src/invoke-agent.ts` | `invoke-agent` tool, worker executor, completion-dispatch convention, transports (#1892) |
|
|
307
320
|
| `src/playbook-preflight.ts` | `playbooks.preflight` PrincipalTool — advisory per-step verdicts, never a grant (#2590) |
|
|
@@ -310,3 +323,11 @@ consuming app, not just this package's.
|
|
|
310
323
|
| `src/tenant-agent.ts` | TenantAgent — junction table, hierarchical resolution |
|
|
311
324
|
| `src/interests.ts` | Interest filter types and configuration |
|
|
312
325
|
| `src/config.ts` | File + DB config management, UI slots |
|
|
326
|
+
|
|
327
|
+
Protected schedules persist the public `ScheduleAdmissionPolicy` in
|
|
328
|
+
`methodArgs._scheduleAdmissionPolicy` (version, required integrity, queue, keyId).
|
|
329
|
+
Ordinary saves preserve it; trusted hosts use loaded-model
|
|
330
|
+
`reconfigureAdmissionPolicy(policyOrNull, { authorize })` for an explicitly
|
|
331
|
+
current-authorized change. See [durable required admission](../jobs/agents/scheduling.md#durable-required-admission-3346).
|
|
332
|
+
The owning write guard binds canonical stored JSON and composes with tenancy;
|
|
333
|
+
never set authorization from constructor options, request JSON or persisted args.
|
|
@@ -51,3 +51,7 @@ An alias beside its canonical key stays in place and fails as an unsupported
|
|
|
51
51
|
key; the error names the canonical key. Beside `request` at the top level an
|
|
52
52
|
alias is `DATA_QUERY_ARGUMENTS_UNEXPECTED` ("move limit inside request"). The
|
|
53
53
|
request schema's property descriptions name the aliases.
|
|
54
|
+
|
|
55
|
+
## Collection adapter (#2905)
|
|
56
|
+
|
|
57
|
+
`src/smrt-collection-data-surface.ts`: `createSmrtCollectionDataSurfaceDefinition()` — generic registry-driven `SmrtObject` collection to `DataSurfaceDefinition` adapter, with field-policy redaction (schema overrides included), class-aware tenant scope, DNF filter/scope lowering, deny-all short-circuit, query-bound opaque cursors, and offset/cursor paging; hydrated row values are serialized to JSON scalars at the adapter boundary — a `Date`/date-only/zoneless-UTC `datetime` becomes an ISO-8601 UTC instant, a `bigint` a safe number, and a non-scalar value on a scalar descriptor its JSON string — so a populated datetime column no longer fails the whole result; callers must keep `maxPageLimit` <= the collection's own row-limit cap (#2905, follow-up #2912, #2933)
|
package/dist/agent.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { type ConfigResolver, type DispatchBus, type DispatchMetadata, type Lear
|
|
|
3
3
|
import { type AgentAIOptions } from './ai-config.js';
|
|
4
4
|
import type { AgentWithInterestsOptions, InterestOptions, InterestResult, ObjectFilter } from './interests.js';
|
|
5
5
|
import { type AgentLearningDeclaration } from './learning.js';
|
|
6
|
-
import type { AgentStatusType } from './types.js';
|
|
6
|
+
import type { AgentRunRecord, AgentStatusType } from './types.js';
|
|
7
7
|
import type { AgentAdminRoute, AgentCreateEntry, AgentUISlots } from './ui.js';
|
|
8
8
|
/**
|
|
9
9
|
* Agent constructor options
|
|
@@ -103,6 +103,7 @@ export interface AgentOptions extends SmrtObjectOptions, AgentWithInterestsOptio
|
|
|
103
103
|
* ```
|
|
104
104
|
*/
|
|
105
105
|
export declare abstract class Agent extends SmrtObject {
|
|
106
|
+
#private;
|
|
106
107
|
/**
|
|
107
108
|
* Tenant ID for multi-tenant isolation
|
|
108
109
|
* Nullable to support both tenant-scoped and global agents
|
|
@@ -683,8 +684,6 @@ export declare abstract class Agent extends SmrtObject {
|
|
|
683
684
|
* Main agent logic
|
|
684
685
|
* Must be implemented by extending class
|
|
685
686
|
*
|
|
686
|
-
* Update this.lastRun.itemsProcessed to track work done
|
|
687
|
-
*
|
|
688
687
|
* @example
|
|
689
688
|
* ```typescript
|
|
690
689
|
* async run(): Promise<void> {
|
|
@@ -696,7 +695,6 @@ export declare abstract class Agent extends SmrtObject {
|
|
|
696
695
|
* processed++;
|
|
697
696
|
* }
|
|
698
697
|
*
|
|
699
|
-
* this.lastRun.itemsProcessed = processed;
|
|
700
698
|
* this.logger.info(`Processed ${processed} items`);
|
|
701
699
|
* }
|
|
702
700
|
* ```
|
|
@@ -734,6 +732,13 @@ export declare abstract class Agent extends SmrtObject {
|
|
|
734
732
|
* 2. Logs error
|
|
735
733
|
* 3. Re-throws error
|
|
736
734
|
*
|
|
735
|
+
* When AI is unavailable (`InferenceUnavailableError`, `AI_UNAVAILABLE`,
|
|
736
|
+
* #4757: mode `off`, nothing configured, ...) the run ends `skipped`
|
|
737
|
+
* instead: status `skipped`, {@link runRecord} carries the reason and
|
|
738
|
+
* mode, and nothing is thrown, so schedules and dispatch processing do not
|
|
739
|
+
* retry it. `run()` called directly (the background job path) still
|
|
740
|
+
* throws it; the jobs runner never retries it (`retryable: false`).
|
|
741
|
+
*
|
|
737
742
|
* @example
|
|
738
743
|
* ```typescript
|
|
739
744
|
* const agent = new MyAgent({ name: 'my-agent' });
|
|
@@ -747,6 +752,18 @@ export declare abstract class Agent extends SmrtObject {
|
|
|
747
752
|
* ```
|
|
748
753
|
*/
|
|
749
754
|
execute(): Promise<void>;
|
|
755
|
+
/**
|
|
756
|
+
* An agent's AI client outlives one user's request, so its tier calls and
|
|
757
|
+
* mode checks use only the tenant's stored binding and mode, never the
|
|
758
|
+
* ambient user's (#4756, #4757).
|
|
759
|
+
*/
|
|
760
|
+
protected inferenceUserScope(): null;
|
|
761
|
+
/**
|
|
762
|
+
* The outcome of the last {@link execute} on this instance: `completed`,
|
|
763
|
+
* `skipped` (AI unavailable, with `reason` and `mode`, #4757) or `error`.
|
|
764
|
+
* `null` before the first run. In memory only.
|
|
765
|
+
*/
|
|
766
|
+
get runRecord(): AgentRunRecord | null;
|
|
750
767
|
/**
|
|
751
768
|
* Query objects this agent is interested in
|
|
752
769
|
*
|
package/dist/agent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../src/agent.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EACL,KAAK,cAAc,EAEnB,KAAK,WAAW,EAChB,KAAK,gBAAgB,
|
|
1
|
+
{"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../src/agent.ts"],"names":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;;;OAkCG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IA+D9B;;;;OAIG;cACgB,kBAAkB,IAAI,IAAI;IAI7C;;;;OAIG;IACH,IAAI,SAAS,IAAI,cAAc,GAAG,IAAI,CAErC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACG,WAAW,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;IA0D9C;;;;;;OAMG;YACW,uBAAuB;IAoDrC;;OAEG;IACH,OAAO,CAAC,uBAAuB;IAM/B;;;;;OAKG;YACW,mBAAmB;IAoJjC;;OAEG;IACH,OAAO,CAAC,WAAW;CA4BpB"}
|
package/dist/ai-config.d.ts
CHANGED
|
@@ -21,7 +21,43 @@ interface ResolveAgentAIOptionsInput {
|
|
|
21
21
|
aiConfig: AgentAIOptions | undefined;
|
|
22
22
|
db: DatabaseInterface | null | undefined;
|
|
23
23
|
tenantId?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Record each call's usage into `_smrt_ai_usage` through the SMRT usage
|
|
26
|
+
* pipeline (`createAiUsageRecorder`, #3077). Defaults to `true` when `db`
|
|
27
|
+
* is given. Pass `false` when the caller wires usage itself, e.g. with
|
|
28
|
+
* `SmrtClass#withAiUsage()`.
|
|
29
|
+
*/
|
|
30
|
+
recordUsage?: boolean;
|
|
31
|
+
/** `class_name` for recorded usage rows (default `'Agent'`). */
|
|
32
|
+
className?: string;
|
|
24
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Resolve an agent's AI client options for the current tenant. Without an
|
|
36
|
+
* explicit `apiKey` or `apiKeySecretName`, a stored per-tenant inference
|
|
37
|
+
* binding (the registered resolver, #4756; never a user's) replaces the
|
|
38
|
+
* provider;
|
|
39
|
+
* otherwise the provider API key comes from smrt-secrets (with optional
|
|
40
|
+
* ancestor fallback). With a
|
|
41
|
+
* `db`, the returned `onUsage` also records each call through the SMRT usage
|
|
42
|
+
* pipeline, attributed to `tenantId` or else the ambient tenant at call time,
|
|
43
|
+
* so a per-call `getAI(options)` client is metered (#3077).
|
|
44
|
+
*/
|
|
25
45
|
export declare function resolveAgentAIOptions(input: ResolveAgentAIOptionsInput): Promise<AIClientOptions | undefined>;
|
|
46
|
+
/** {@link resolveAgentAIOptions} without the recorder. */
|
|
47
|
+
export interface ResolvedAgentAIConfig {
|
|
48
|
+
options: AIClientOptions | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Usage tags of a stored inference binding (`tierRequested`,
|
|
51
|
+
* `tierResolved`, `source`; #4756), for a caller that records usage itself.
|
|
52
|
+
*/
|
|
53
|
+
tags?: Record<string, string>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Resolve the client options without attaching a recorder: an explicit
|
|
57
|
+
* `apiKey`, else (no `apiKeySecretName`) a stored per-tenant inference
|
|
58
|
+
* binding (never a user's: the options are shared by every later run), else
|
|
59
|
+
* the named or provider-default tenant secret.
|
|
60
|
+
*/
|
|
61
|
+
export declare function resolveAgentAIClientOptions(input: ResolveAgentAIOptionsInput): Promise<ResolvedAgentAIConfig>;
|
|
26
62
|
export {};
|
|
27
63
|
//# sourceMappingURL=ai-config.d.ts.map
|
package/dist/ai-config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-config.d.ts","sourceRoot":"","sources":["../src/ai-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ai-config.d.ts","sourceRoot":"","sources":["../src/ai-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAUzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,WAAW,CAAC;AAEzD,MAAM,WAAW,cAAe,SAAQ,eAAe;IACrD;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,qBAAqB,CAAC;CAC9C;AAED,UAAU,0BAA0B;IAClC,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAC;IACrC,EAAE,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA0HD;;;;;;;;;;GAUG;AACH,wBAAsB,qBAAqB,CACzC,KAAK,EAAE,0BAA0B,GAChC,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAiBtC;AAED,0DAA0D;AAC1D,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,eAAe,GAAG,SAAS,CAAC;IACrC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED;;;;;GAKG;AACH,wBAAsB,2BAA2B,CAC/C,KAAK,EAAE,0BAA0B,GAChC,OAAO,CAAC,qBAAqB,CAAC,CA6DhC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ import './__smrt-register__.js';
|
|
|
68
68
|
export type { ConfigResolutionContext, ConfigResolver, ConfigResolverContext, LazyConfigSentinel, ResolveLazyConfigOptions, } from '@happyvertical/smrt-core';
|
|
69
69
|
export { createConfigResolverContext, getClassConfigResolvers, getConfigResolver, isLazyConfigSentinel, listConfigResolvers, preferPersisted, registerConfigResolver, resetConfigResolvers, resolveLazyConfig, unregisterConfigResolver, } from '@happyvertical/smrt-core';
|
|
70
70
|
export { Agent, type AgentOptions } from './agent.js';
|
|
71
|
-
export { type AgentAIOptions, type AgentAISecretFallback, resolveAgentAIOptions, } from './ai-config.js';
|
|
71
|
+
export { type AgentAIOptions, type AgentAISecretFallback, type ResolvedAgentAIConfig, resolveAgentAIClientOptions, resolveAgentAIOptions, } from './ai-config.js';
|
|
72
72
|
export { AgentConfig, AgentConfigCollection } from './config.js';
|
|
73
73
|
export { createDataSurfaceQueryFingerprint, createDataSurfaceTools, DATA_DISCOVER_FUNCTION_NAME, DATA_DISCOVER_TOOL_SLUG, DATA_INSPECT_FUNCTION_NAME, DATA_INSPECT_TOOL_SLUG, DATA_QUERY_FUNCTION_NAME, DATA_QUERY_TOOL_PARAMETERS, DATA_QUERY_TOOL_SLUG, type DataSurfaceAction, DataSurfaceActionDeniedError, type DataSurfaceAuditEntry, type DataSurfaceAuditSink, type DataSurfaceCatalogContext, DataSurfaceDeadlineError, type DataSurfaceDefinition, type DataSurfaceDenialReason, type DataSurfaceDeniedEntry, DataSurfaceDeniedError, type DataSurfaceDeniedSink, type DataSurfaceDiscoverDetail, type DataSurfaceExecutionContext, type DataSurfaceExecutor, type DataSurfaceExecutorResult, type DataSurfaceFailureEntry, type DataSurfaceFailureSink, type DataSurfaceField, type DataSurfaceFieldMetadata, type DataSurfacePrincipal, DataSurfaceQueryError, DataSurfaceRequestError, DataSurfaceResultOrderError, type DataSurfaceRowCountHint, type DataSurfaceSchema, type DataSurfaceSummary, type DataSurfaceToolsOptions, DEFAULT_DATA_SURFACE_DEADLINE_MS, MAX_DATA_SURFACE_DEADLINE_MS, MAX_DATA_SURFACE_ROW_COUNT_HINT_CHARS, MAX_DATA_SURFACE_SUMMARY_DESCRIPTION_CHARS, normalizeDataSurfaceRowCountHint, } from './data-surface.js';
|
|
74
74
|
export { assertPrincipalNotWidened, assertWithinDelegationDepth, DelegationDepthExceededError, type DelegationEnvelope, type DeriveDelegationEnvelopeOptions, deriveDelegationEnvelope, MAX_DELEGATION_DEPTH, PrincipalWideningError, type RequestedPrincipal, type RootDelegationEnvelopeOptions, rootDelegationEnvelope, } from './delegation.js';
|
|
@@ -82,10 +82,10 @@ export { AGENT_SCHEDULE_SLUG_BACKFILL, AGENT_SCHEDULE_TABLE, AgentScheduleSlugBa
|
|
|
82
82
|
export { AGENT_CONFIGS_TABLE, type AgentConfigKeyRow, planTenantAgentConfigKeyRepair, planTenantAgentConfigKeyRepairRows, type RawAgentConfigRow, type RawTenantAgentRow, repairTenantAgentConfigKeys, TENANT_AGENTS_TABLE, type TenantAgentConfigKeyLedgerEntry, type TenantAgentConfigKeyPlan, TenantAgentConfigKeyRepairError, type TenantAgentConfigKeyRepairOptions, type TenantAgentConfigKeyRepairReport, type TenantAgentConfigKeyRepairTotals, type TenantAgentKeyRow, } from './migrations/tenant-agent-config-keys.js';
|
|
83
83
|
export { type CreatePlaybookPreflightToolOptions, createPlaybookPreflightTool, filterPlaybooksByPreflight, PLAYBOOK_PREFLIGHT_FUNCTION_NAME, PLAYBOOK_PREFLIGHT_TOOL_SLUG, playbookStepCollection, playbookStepToolSlug, } from './playbook-preflight.js';
|
|
84
84
|
export { createReportDataSurfaceDefinition, createReportDataSurfaceTools, REPORT_DRILLDOWN_FUNCTION_NAME, REPORT_DRILLDOWN_TOOL_SLUG, REPORT_EXPORT_FUNCTION_NAME, REPORT_EXPORT_TOOL_SLUG, REPORT_QUERY_FUNCTION_NAME, REPORT_QUERY_TOOL_SLUG, REPORT_REFRESH_FUNCTION_NAME, REPORT_REFRESH_TOOL_SLUG, type ReportDataSurfaceAuditEntry, ReportDataSurfaceConfigurationError, type ReportDataSurfaceDefinition, type ReportDataSurfaceExportHost, type ReportDataSurfaceRefreshHost, type ReportDataSurfaceToolsOptions, type ReportDataSurfaceVisibleAck, type ReportDataSurfaceVisibleCommand, ReportDataSurfaceVisibleError, type ReportDataSurfaceVisibleHost, } from './report-data-surface.js';
|
|
85
|
-
export { AgentSchedule, AgentScheduleCollection, type ScheduleStatus, } from './schedule.js';
|
|
85
|
+
export { AgentSchedule, AgentScheduleCollection, type ScheduleAdmissionReconfiguration, type ScheduleStatus, } from './schedule.js';
|
|
86
86
|
export { assertIdFieldConditions, assertSmrtCollectionQuerySchema, buildDataQuerySchemaForClass, type CreateSmrtCollectionDataSurfaceOptions, clearSmrtCollectionQuerySchemaCache, createSmrtCollectionDataSurfaceDefinition, dataQueryOrderByTerms, executeSmrtCollectionQuery, ID_FIELD_FILTER_OPERATORS, NULL_TEST_FILTER_OPERATORS, nullableColumnFieldIds, type SmrtCollectionDataSurfaceAction, type SmrtCollectionQueryCollection, type SmrtCollectionQueryScope, uuidColumnFieldIds, } from './smrt-collection-data-surface.js';
|
|
87
87
|
export type { SummaryArticleImage, SummaryArticleOptions, SummaryArticleResult, } from './summary-article.js';
|
|
88
88
|
export { type ResolvedAgentAvailability, TenantAgent, TenantAgentCollection, type TenantAgentStatus, } from './tenant-agent.js';
|
|
89
|
-
export type { AgentStatusType } from './types.js';
|
|
89
|
+
export type { AgentRunRecord, AgentStatusType } from './types.js';
|
|
90
90
|
export { type AdminPanelBaseProps, type AgentAdminExport, type AgentAdminNavItem, type AgentAdminRootProps, type AgentAdminRoute, type AgentCreateEntry, type AgentCreateEntryAvailability, type AgentCreateEntryContext, type AgentCreateEntrySource, type AgentManifestInfo, type AgentRouteLoadContext, type AgentRouteLoadFn, type AgentUIComponentRegistry, AgentUIRegistry, type AgentUISlot, type AgentUISlots, type ComponentType, createUIRegistry, isAgentCreateEntryAvailable, type ResolvedAgentCreateEntry, resolveAgentCreateEntries, } from './ui.js';
|
|
91
91
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AAKH,OAAO,wBAAwB,CAAC;AAIhC,YAAY,EACV,uBAAuB,EACvB,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,2BAA2B,EAC3B,uBAAuB,EACvB,iBAA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