@agentic-surfaces/cli 0.1.18 → 0.1.19
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.js +7 -3
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -84,6 +84,7 @@ function launchUi(opts) {
|
|
|
84
84
|
workflows: [...opts.workflows.values()],
|
|
85
85
|
agents: [...opts.agents.values()],
|
|
86
86
|
onRun: opts.onRun,
|
|
87
|
+
cache: opts.cache,
|
|
87
88
|
config: { dryRun: opts.dryRun, agent: opts.agentDefaults, version: VERSION },
|
|
88
89
|
});
|
|
89
90
|
const url = `http://127.0.0.1:${p}`;
|
|
@@ -149,7 +150,8 @@ export async function run(argv) {
|
|
|
149
150
|
sched.start();
|
|
150
151
|
const url = launchUi({
|
|
151
152
|
observer, workflows: allWorkflows, agents,
|
|
152
|
-
onRun: (name) => runWorkflowFn(name,
|
|
153
|
+
onRun: (name, payload) => runWorkflowFn(name, payload),
|
|
154
|
+
cache: services.cache,
|
|
153
155
|
dryRun: pc?.dryRun,
|
|
154
156
|
agentDefaults: { model: pc?.agent?.model, effort: pc?.agent?.effort },
|
|
155
157
|
});
|
|
@@ -190,7 +192,8 @@ export async function run(argv) {
|
|
|
190
192
|
const servicesWithRunner = { ...services, agents, runWorkflow: runWorkflowFn };
|
|
191
193
|
const url = ui ? launchUi({
|
|
192
194
|
observer: observer, workflows: allWorkflows, agents,
|
|
193
|
-
onRun: (name) => runWorkflowFn(name,
|
|
195
|
+
onRun: (name, payload) => runWorkflowFn(name, payload),
|
|
196
|
+
cache: services.cache,
|
|
194
197
|
dryRun: pc?.dryRun,
|
|
195
198
|
agentDefaults: { model: pc?.agent?.model, effort: pc?.agent?.effort },
|
|
196
199
|
}) : undefined;
|
|
@@ -240,7 +243,8 @@ export async function run(argv) {
|
|
|
240
243
|
if (ui) {
|
|
241
244
|
const url = launchUi({
|
|
242
245
|
observer: observer, workflows: allWorkflows, agents,
|
|
243
|
-
onRun: (name) => runWorkflowFn(name,
|
|
246
|
+
onRun: (name, payload) => runWorkflowFn(name, payload),
|
|
247
|
+
cache: services.cache,
|
|
244
248
|
dryRun: pc?.dryRun,
|
|
245
249
|
agentDefaults: { model: pc?.agent?.model, effort: pc?.agent?.effort },
|
|
246
250
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentic-surfaces/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@agentic-surfaces/
|
|
25
|
-
"@agentic-surfaces/
|
|
26
|
-
"@agentic-surfaces/
|
|
24
|
+
"@agentic-surfaces/core": "0.1.19",
|
|
25
|
+
"@agentic-surfaces/agent": "0.1.19",
|
|
26
|
+
"@agentic-surfaces/server": "0.1.19"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "tsc -b",
|