@fevex/core 0.1.0-alpha.0 → 0.1.0-alpha.10
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/README.md +1110 -52
- package/dist/agents/index.d.mts +2 -23
- package/dist/agents/index.mjs +1 -1
- package/dist/artifacts/index.d.mts +2 -0
- package/dist/artifacts/index.mjs +2 -0
- package/dist/artifacts-gUzemET7.mjs +440 -0
- package/dist/channels/index.d.mts +2 -0
- package/dist/channels/index.mjs +192 -0
- package/dist/evals/index.d.mts +153 -0
- package/dist/evals/index.mjs +422 -0
- package/dist/fevex-_KOsOsB8.d.mts +129 -0
- package/dist/http/index.d.mts +150 -0
- package/dist/http/index.mjs +692 -0
- package/dist/index-26ilbzAs.d.mts +50 -0
- package/dist/index-B8EcvWeN.d.mts +103 -0
- package/dist/index-BEqYWean.d.mts +118 -0
- package/dist/index-Btth7rdL.d.mts +58 -0
- package/dist/index-CFzrvDQ0.d.mts +21 -0
- package/dist/index-CIHWc5V1.d.mts +116 -0
- package/dist/index-D7r0puBi.d.mts +64 -0
- package/dist/index-DHcfIfh-.d.mts +224 -0
- package/dist/index-DUhNa7IR.d.mts +73 -0
- package/dist/index-lCCFokc6.d.mts +617 -0
- package/dist/index.d.mts +39 -15
- package/dist/index.mjs +4962 -208
- package/dist/knowledge/index.d.mts +2 -0
- package/dist/knowledge/index.mjs +289 -0
- package/dist/model-stream-JQdHDDcj.mjs +131 -0
- package/dist/models/index.d.mts +2 -27
- package/dist/observability/index.d.mts +2 -0
- package/dist/observability/index.mjs +1 -0
- package/dist/policies/index.d.mts +2 -0
- package/dist/policies/index.mjs +6 -0
- package/dist/run-error-Cr17wPGH.mjs +23 -0
- package/dist/run-support-CmZ6Xo6H.mjs +162 -0
- package/dist/runtime/index.d.mts +2 -17
- package/dist/runtime/index.mjs +354 -1
- package/dist/sandbox/index.d.mts +2 -0
- package/dist/sandbox/index.mjs +147 -0
- package/dist/teams/index.d.mts +2 -0
- package/dist/teams/index.mjs +2 -0
- package/dist/teams-Ctz676G4.mjs +82 -0
- package/dist/testing/index.d.mts +40 -8
- package/dist/testing/index.mjs +668 -23
- package/dist/tools/index.d.mts +3 -31
- package/dist/tools/index.mjs +442 -2
- package/dist/types-CckDlhYo.d.mts +575 -0
- package/dist/workflows/index.d.mts +2 -0
- package/dist/workflows/index.mjs +6 -0
- package/package.json +43 -3
- package/dist/exact-definition-NHBBFlFR.d.mts +0 -4
- package/dist/index-D_RBJmVt.d.mts +0 -44
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
//#region src/core/index.d.ts
|
|
2
|
-
type JsonPrimitive = string | number | boolean | null;
|
|
3
|
-
type JsonObject = {
|
|
4
|
-
[key: string]: JsonValue;
|
|
5
|
-
};
|
|
6
|
-
type JsonValue = JsonPrimitive | JsonValue[] | JsonObject;
|
|
7
|
-
type RunId = string;
|
|
8
|
-
declare const SCHEMA_NOT_TRANSPORTABLE = "SCHEMA_NOT_TRANSPORTABLE";
|
|
9
|
-
interface ExecutionContext {
|
|
10
|
-
namespace?: string;
|
|
11
|
-
actor?: {
|
|
12
|
-
id: string;
|
|
13
|
-
type?: string;
|
|
14
|
-
};
|
|
15
|
-
attributes?: JsonObject;
|
|
16
|
-
prompt?: JsonObject;
|
|
17
|
-
}
|
|
18
|
-
type AgentMessageRole = 'system' | 'user' | 'assistant' | 'tool';
|
|
19
|
-
interface AgentMessage {
|
|
20
|
-
role: AgentMessageRole;
|
|
21
|
-
content: string;
|
|
22
|
-
name?: string;
|
|
23
|
-
toolCallId?: string;
|
|
24
|
-
toolCalls?: ToolCall[];
|
|
25
|
-
}
|
|
26
|
-
interface ToolSpec {
|
|
27
|
-
name: string;
|
|
28
|
-
description?: string;
|
|
29
|
-
inputSchema?: JsonObject;
|
|
30
|
-
}
|
|
31
|
-
interface ToolCall {
|
|
32
|
-
id: string;
|
|
33
|
-
name: string;
|
|
34
|
-
input: JsonValue;
|
|
35
|
-
}
|
|
36
|
-
type AgentEventType = 'run.started' | 'model.completed' | 'tool.completed' | 'tool.failed' | 'run.completed' | 'run.failed';
|
|
37
|
-
interface AgentEvent<TPayload extends JsonValue = JsonObject> {
|
|
38
|
-
type: AgentEventType;
|
|
39
|
-
runId: RunId;
|
|
40
|
-
timestamp: string;
|
|
41
|
-
payload?: TPayload;
|
|
42
|
-
}
|
|
43
|
-
//#endregion
|
|
44
|
-
export { ExecutionContext as a, JsonValue as c, ToolCall as d, ToolSpec as f, AgentMessageRole as i, RunId as l, AgentEventType as n, JsonObject as o, AgentMessage as r, JsonPrimitive as s, AgentEvent as t, SCHEMA_NOT_TRANSPORTABLE as u };
|