@ductape/sdk 0.1.110 → 0.1.113
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/features/feature-executor.d.ts +9 -0
- package/dist/features/feature-executor.js +224 -70
- package/dist/features/feature-executor.js.map +1 -1
- package/dist/features/features.service.d.ts +5 -0
- package/dist/features/features.service.js +49 -7
- package/dist/features/features.service.js.map +1 -1
- package/dist/features/index.d.ts +2 -1
- package/dist/features/index.js +3 -1
- package/dist/features/index.js.map +1 -1
- package/dist/features/types/features.types.d.ts +9 -0
- package/dist/features/types/features.types.js.map +1 -1
- package/dist/functions/functions.runtime.d.ts +25 -0
- package/dist/functions/functions.runtime.js +254 -0
- package/dist/functions/functions.runtime.js.map +1 -0
- package/dist/functions/http-handler.d.ts +17 -0
- package/dist/functions/http-handler.js +51 -0
- package/dist/functions/http-handler.js.map +1 -0
- package/dist/functions/index.d.ts +3 -0
- package/dist/functions/index.js +20 -0
- package/dist/functions/index.js.map +1 -0
- package/dist/functions/types.d.ts +94 -0
- package/dist/functions/types.js +15 -0
- package/dist/functions/types.js.map +1 -0
- package/dist/graph/graphs.service.d.ts +1 -1
- package/dist/graph/graphs.service.js +73 -43
- package/dist/graph/graphs.service.js.map +1 -1
- package/dist/graph/types/traversal.interface.d.ts +2 -0
- package/dist/index.d.ts +16 -1
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/dist/processor/services/processor.service.d.ts +6 -0
- package/dist/processor/services/processor.service.js +8 -13
- package/dist/processor/services/processor.service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/productsBuilder.types.d.ts +3 -0
- package/dist/types/productsBuilder.types.js +2 -0
- package/dist/types/productsBuilder.types.js.map +1 -1
- package/dist/vector/vector-database.service.d.ts +2 -0
- package/dist/vector/vector-database.service.js +21 -12
- package/dist/vector/vector-database.service.js.map +1 -1
- package/package.json +1 -1
|
@@ -29,6 +29,8 @@ export declare class FeatureExecutor {
|
|
|
29
29
|
private state;
|
|
30
30
|
private feature;
|
|
31
31
|
private productId;
|
|
32
|
+
/** Session supplied to the feature; inherited by every nested operation. */
|
|
33
|
+
private readonly inheritedSession?;
|
|
32
34
|
/** Pending signals waiting to be resolved */
|
|
33
35
|
private pendingSignals;
|
|
34
36
|
/** Signal polling interval (ms) */
|
|
@@ -48,6 +50,7 @@ export declare class FeatureExecutor {
|
|
|
48
50
|
private graphConnectionUsed;
|
|
49
51
|
/** Pre-fetched bootstrap data per step tag (feature batch prefetch). */
|
|
50
52
|
private stepBootstrapCache;
|
|
53
|
+
private functionInvocations;
|
|
51
54
|
constructor(config: IFeatureServiceConfig & {
|
|
52
55
|
access_key: string;
|
|
53
56
|
}, feature: IProductFeature, options: IExecuteFeatureOptions, private_key: string, sessionLogFields?: {
|
|
@@ -55,6 +58,10 @@ export declare class FeatureExecutor {
|
|
|
55
58
|
session_id?: string;
|
|
56
59
|
session_tag?: string;
|
|
57
60
|
}, preInitializedBuilder?: ProductBuilder);
|
|
61
|
+
/** Debug-only structured execution trace. Payloads are recursively redacted. */
|
|
62
|
+
private trace;
|
|
63
|
+
/** Brokers expose the same session as separate tag/token fields. */
|
|
64
|
+
private inheritedBrokerSession;
|
|
58
65
|
/**
|
|
59
66
|
* Get auth payload for API calls
|
|
60
67
|
*/
|
|
@@ -138,6 +145,8 @@ export declare class FeatureExecutor {
|
|
|
138
145
|
* Execute a vector step (query, upsert, deleteVectors, or custom action via execute).
|
|
139
146
|
*/
|
|
140
147
|
private executeVectorStep;
|
|
148
|
+
/** Execute a portable application function through a local handler or signed HTTP transport. */
|
|
149
|
+
private executeFunctionStep;
|
|
141
150
|
/**
|
|
142
151
|
* Execute a quota step
|
|
143
152
|
*/
|