@limo-labs/deity 0.2.2 → 0.3.0-alpha.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/index.cjs +97 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +97 -11
- package/dist/index.js.map +1 -1
- package/dist/{jsx-dev-runtime-1R5Vpr7w.d.cts → jsx-dev-runtime-BQMsrQII.d.cts} +5 -1
- package/dist/{jsx-dev-runtime-1R5Vpr7w.d.ts → jsx-dev-runtime-BQMsrQII.d.ts} +5 -1
- package/dist/jsx-dev-runtime.d.cts +1 -1
- package/dist/jsx-dev-runtime.d.ts +1 -1
- package/dist/jsx-runtime.d.cts +1 -1
- package/dist/jsx-runtime.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1010,6 +1010,8 @@ interface AgentComponent<I = unknown, O = unknown> {
|
|
|
1010
1010
|
inputSchema: ZodSchema<I>;
|
|
1011
1011
|
/** Output validation schema */
|
|
1012
1012
|
outputSchema: ZodSchema<O>;
|
|
1013
|
+
/** Execution mode: 'llm' (default) requires LLM adapter, 'pure' skips LLM */
|
|
1014
|
+
mode?: 'llm' | 'pure';
|
|
1013
1015
|
/**
|
|
1014
1016
|
* Build prompt messages (declarative)
|
|
1015
1017
|
* Component declares what to send, runtime controls execution
|
|
@@ -1286,8 +1288,10 @@ interface AgentNode<I = unknown, O = unknown> extends ASTNode {
|
|
|
1286
1288
|
};
|
|
1287
1289
|
/** Optional tool definitions (static array) */
|
|
1288
1290
|
tools?: ToolSpec[];
|
|
1291
|
+
/** Execution mode: 'llm' (default) requires LLM adapter, 'pure' skips LLM */
|
|
1292
|
+
mode?: 'llm' | 'pure';
|
|
1289
1293
|
};
|
|
1290
|
-
/** Child nodes (Prompt is required,
|
|
1294
|
+
/** Child nodes (Prompt is required for 'llm' mode, optional for 'pure' mode) */
|
|
1291
1295
|
children: (PromptNode | ObserveNode | ResultNode | ValidateNode | RetryNode | ToolsNode)[];
|
|
1292
1296
|
}
|
|
1293
1297
|
/**
|
|
@@ -1010,6 +1010,8 @@ interface AgentComponent<I = unknown, O = unknown> {
|
|
|
1010
1010
|
inputSchema: ZodSchema<I>;
|
|
1011
1011
|
/** Output validation schema */
|
|
1012
1012
|
outputSchema: ZodSchema<O>;
|
|
1013
|
+
/** Execution mode: 'llm' (default) requires LLM adapter, 'pure' skips LLM */
|
|
1014
|
+
mode?: 'llm' | 'pure';
|
|
1013
1015
|
/**
|
|
1014
1016
|
* Build prompt messages (declarative)
|
|
1015
1017
|
* Component declares what to send, runtime controls execution
|
|
@@ -1286,8 +1288,10 @@ interface AgentNode<I = unknown, O = unknown> extends ASTNode {
|
|
|
1286
1288
|
};
|
|
1287
1289
|
/** Optional tool definitions (static array) */
|
|
1288
1290
|
tools?: ToolSpec[];
|
|
1291
|
+
/** Execution mode: 'llm' (default) requires LLM adapter, 'pure' skips LLM */
|
|
1292
|
+
mode?: 'llm' | 'pure';
|
|
1289
1293
|
};
|
|
1290
|
-
/** Child nodes (Prompt is required,
|
|
1294
|
+
/** Child nodes (Prompt is required for 'llm' mode, optional for 'pure' mode) */
|
|
1291
1295
|
children: (PromptNode | ObserveNode | ResultNode | ValidateNode | RetryNode | ToolsNode)[];
|
|
1292
1296
|
}
|
|
1293
1297
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { af as Fragment, J as JSXComponent, F as JSXElementType, H as JSXProps, ag as jsx, ag as jsxDEV, ah as jsxs } from './jsx-dev-runtime-
|
|
1
|
+
export { af as Fragment, J as JSXComponent, F as JSXElementType, H as JSXProps, ag as jsx, ag as jsxDEV, ah as jsxs } from './jsx-dev-runtime-BQMsrQII.cjs';
|
|
2
2
|
import 'zod';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { af as Fragment, J as JSXComponent, F as JSXElementType, H as JSXProps, ag as jsx, ag as jsxDEV, ah as jsxs } from './jsx-dev-runtime-
|
|
1
|
+
export { af as Fragment, J as JSXComponent, F as JSXElementType, H as JSXProps, ag as jsx, ag as jsxDEV, ah as jsxs } from './jsx-dev-runtime-BQMsrQII.js';
|
|
2
2
|
import 'zod';
|
package/dist/jsx-runtime.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { af as Fragment, J as JSXComponent, F as JSXElementType, H as JSXProps, ag as jsx, ag as jsxDEV, ah as jsxs } from './jsx-dev-runtime-
|
|
1
|
+
export { af as Fragment, J as JSXComponent, F as JSXElementType, H as JSXProps, ag as jsx, ag as jsxDEV, ah as jsxs } from './jsx-dev-runtime-BQMsrQII.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { af as Fragment, J as JSXComponent, F as JSXElementType, H as JSXProps, ag as jsx, ag as jsxDEV, ah as jsxs } from './jsx-dev-runtime-
|
|
1
|
+
export { af as Fragment, J as JSXComponent, F as JSXElementType, H as JSXProps, ag as jsx, ag as jsxDEV, ah as jsxs } from './jsx-dev-runtime-BQMsrQII.js';
|
|
2
2
|
import 'zod';
|