@sepveneto/dnde-agent 0.1.14 → 0.1.16
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/agent/core/sdk.d.ts +6 -1
- package/dist/agent/core/sdk.d.ts.map +1 -1
- package/dist/agent/flowAgent.d.ts +1 -1
- package/dist/{agent-DFFzZMYh.js → agent-JES391Lz.js} +1 -1
- package/dist/composables/useFile.d.ts +1 -1
- package/dist/composables/useFile.d.ts.map +1 -1
- package/dist/{index-DlejrnFV.js → index-gtAUVnBf.js} +2253 -2249
- package/dist/index.d.ts +13 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -19
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,27 +7,27 @@ export declare const MpdAgent: import("vue").DefineComponent<Record<string, unkn
|
|
|
7
7
|
* 就不会各自打包一份 `vue`,从而保证组件定义与 `defineCustomElement` 用的是同一个实例。
|
|
8
8
|
*/
|
|
9
9
|
export declare function createAgentElement(): VueElementConstructor;
|
|
10
|
-
export { Agent, MemorySession, Runner, run, tool, } from '@openai/agents';
|
|
11
|
-
export type { FunctionTool, RunContext, RunResult, Session, Tool, } from '@openai/agents';
|
|
12
|
-
export { configureModel, getModel, getModelConfig, getModelName, runAgent, runAgentStreamed, setMockClient, } from './agent/core/sdk';
|
|
13
|
-
export type { ModelConfig, RunAgentOptions } from './agent/core/sdk';
|
|
14
|
-
export type { AppContext, ToolApprovalHandler, ToolApprovalRequest, } from './agent/context';
|
|
15
10
|
export type { Capability, CapabilityContext, CapabilityDefinition, CapabilitySchema, ToolApprovalOptions, } from './agent/capability';
|
|
16
11
|
export { createCapabilityTool, defineCapability, invokeCapability, } from './agent/capability';
|
|
12
|
+
export { createCapabilityAgent } from './agent/capabilityAgent';
|
|
17
13
|
export { clearCapabilities, getRegisteredCapabilities, getRegisteredCapabilityTools, listCapabilities, registerCapability, unregisterCapability, } from './agent/capabilityRegistry';
|
|
18
|
-
export type {
|
|
19
|
-
export {
|
|
20
|
-
export type {
|
|
21
|
-
export {
|
|
14
|
+
export type { AppContext, ToolApprovalHandler, ToolApprovalRequest, } from './agent/context';
|
|
15
|
+
export { configureModel, getModel, getModelConfig, getModelName, resolveServiceURL, runAgent, runAgentStreamed, setMockClient, } from './agent/core/sdk';
|
|
16
|
+
export type { ModelConfig, RunAgentOptions } from './agent/core/sdk';
|
|
17
|
+
export { createEditAgent } from './agent/editAgent';
|
|
18
|
+
export type { StructuredExtractOptions } from './agent/extract';
|
|
19
|
+
export { parseJson, structuredExtract } from './agent/extract';
|
|
22
20
|
export type { FlowClassification, FlowType } from './agent/flowAgent';
|
|
23
21
|
export { createFlowAgent, flowOutputSchema } from './agent/flowAgent';
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
22
|
+
export type { AddComponentIR, DeleteComponentIR, EditIR, LayoutIR, LayoutWidgetItem, MoveComponentIR, NormalizedElement, NormalizedElementItem, NormalizedElements, UpdateComponentIR, } from './agent/ir';
|
|
23
|
+
export { editIrSchema, layoutIrSchema } from './agent/ir';
|
|
26
24
|
export type { LayoutWidgetDescriptor } from './agent/layout';
|
|
27
25
|
export { createLayoutAgent, generateLayoutIR } from './agent/layout';
|
|
28
26
|
export type { AgentRuntimeEvent, AgentRuntimeHooks, AgentRuntimeOptions, AgentRuntimeResult, } from './agent/runtime';
|
|
29
27
|
export { AgentRuntime, createAgentRuntime } from './agent/runtime';
|
|
30
|
-
export type { StructuredExtractOptions } from './agent/extract';
|
|
31
|
-
export { parseJson, structuredExtract } from './agent/extract';
|
|
32
28
|
export * from './agent/utils/helper';
|
|
29
|
+
export type { StepResult, Workflow, WorkflowContext, WorkflowDefinition, WorkflowEvent, WorkflowRunOptions, WorkflowRunResult, WorkflowStatus, WorkflowStep, } from './agent/workflow';
|
|
30
|
+
export { defineWorkflow, WorkflowRuntime } from './agent/workflow';
|
|
31
|
+
export { Agent, MemorySession, run, Runner, tool, } from '@openai/agents';
|
|
32
|
+
export type { FunctionTool, RunContext, RunResult, Session, Tool, } from '@openai/agents';
|
|
33
33
|
//# 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,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,KAAK,CAAA;AAIhD,eAAO,MAAM,QAAQ,sFAAU,CAAA;AAE/B;;;;;GAKG;AACH,wBAAgB,kBAAkB,IAAI,qBAAqB,CAE1D;AAGD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,KAAK,CAAA;AAIhD,eAAO,MAAM,QAAQ,sFAAU,CAAA;AAE/B;;;;;GAKG;AACH,wBAAgB,kBAAkB,IAAI,qBAAqB,CAE1D;AAGD,YAAY,EACV,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EACL,iBAAiB,EACjB,yBAAyB,EACzB,4BAA4B,EAC5B,gBAAgB,EAChB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,4BAA4B,CAAA;AAGnC,YAAY,EACV,UAAU,EACV,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,iBAAiB,CAAA;AAGxB,OAAO,EACL,cAAc,EACd,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,QAAQ,EACR,gBAAgB,EAChB,aAAa,GACd,MAAM,kBAAkB,CAAA;AACzB,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA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CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as t,
|
|
1
|
+
import { c as t, W as s, _ as i, g as r, a0 as n, Z as o, q as l, B as g, a1 as c, h as u, X as p, m as d, j as m, K as y, O as A, T as C, k as b, Y as R, Q as f, P as M, V as S, D as k, E as h, F as v, u as w, v as E, l as I, R as L, x, L as T, y as W, G as F, $ as J, H as N, I as O, J as j, N as q, t as z, z as B } from "./index-gtAUVnBf.js";
|
|
2
2
|
export {
|
|
3
3
|
t as Agent,
|
|
4
4
|
s as AgentRuntime,
|
|
@@ -17,25 +17,26 @@ export {
|
|
|
17
17
|
A as createFlowAgent,
|
|
18
18
|
C as createLayoutAgent,
|
|
19
19
|
b as defineCapability,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
R as defineWorkflow,
|
|
21
|
+
f as editIrSchema,
|
|
22
22
|
M as flowOutputSchema,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
S as generateLayoutIR,
|
|
24
|
+
k as getModel,
|
|
25
25
|
h as getModelConfig,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
v as getModelName,
|
|
27
|
+
w as getRegisteredCapabilities,
|
|
28
|
+
E as getRegisteredCapabilityTools,
|
|
29
|
+
I as invokeCapability,
|
|
30
30
|
L as layoutIrSchema,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
F as
|
|
35
|
-
J as
|
|
36
|
-
N as
|
|
37
|
-
O as
|
|
38
|
-
j as
|
|
39
|
-
q as
|
|
40
|
-
z as
|
|
31
|
+
x as listCapabilities,
|
|
32
|
+
T as parseJson,
|
|
33
|
+
W as registerCapability,
|
|
34
|
+
F as resolveServiceURL,
|
|
35
|
+
J as run,
|
|
36
|
+
N as runAgent,
|
|
37
|
+
O as runAgentStreamed,
|
|
38
|
+
j as setMockClient,
|
|
39
|
+
q as structuredExtract,
|
|
40
|
+
z as tool,
|
|
41
|
+
B as unregisterCapability
|
|
41
42
|
};
|