@agentic-surfaces/cli 0.1.27 → 0.1.29
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 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -106,7 +106,8 @@ function launchUi(opts) {
|
|
|
106
106
|
onRun: opts.onRun,
|
|
107
107
|
cache: opts.cache,
|
|
108
108
|
pause: opts.pause,
|
|
109
|
-
|
|
109
|
+
planUsage: opts.planUsage,
|
|
110
|
+
config: { dryRun: opts.dryRun, agent: opts.agentDefaults, version: VERSION, atlassianSite: opts.atlassianSite },
|
|
110
111
|
});
|
|
111
112
|
const url = `http://127.0.0.1:${p}`;
|
|
112
113
|
openBrowser(url);
|
|
@@ -177,8 +178,10 @@ export async function run(argv) {
|
|
|
177
178
|
onRun: (name, payload) => runWorkflowFn(name, payload),
|
|
178
179
|
cache: services.cache,
|
|
179
180
|
pause,
|
|
181
|
+
planUsage: () => services.agent.getPlanUsage?.() ?? Promise.resolve(null),
|
|
180
182
|
dryRun: pc?.dryRun,
|
|
181
183
|
agentDefaults: { model: pc?.agent?.model, effort: pc?.agent?.effort },
|
|
184
|
+
atlassianSite: pc?.atlassianSite,
|
|
182
185
|
});
|
|
183
186
|
console.log(`\n▶ agentic-surfaces ${VERSION} — ${url}`);
|
|
184
187
|
console.log(` project: ${dir} · ${allWorkflows.size} workflow(s) · Ctrl-C to exit`);
|
|
@@ -222,6 +225,7 @@ export async function run(argv) {
|
|
|
222
225
|
cache: services.cache,
|
|
223
226
|
dryRun: pc?.dryRun,
|
|
224
227
|
agentDefaults: { model: pc?.agent?.model, effort: pc?.agent?.effort },
|
|
228
|
+
atlassianSite: pc?.atlassianSite,
|
|
225
229
|
}) : undefined;
|
|
226
230
|
// A run error must NOT tear down the --ui server: the failure is already
|
|
227
231
|
// streamed to the dashboard (the failed node + run), so keep serving so it
|
|
@@ -273,8 +277,10 @@ export async function run(argv) {
|
|
|
273
277
|
onRun: (name, payload) => runWorkflowFn(name, payload),
|
|
274
278
|
cache: services.cache,
|
|
275
279
|
pause,
|
|
280
|
+
planUsage: () => services.agent.getPlanUsage?.() ?? Promise.resolve(null),
|
|
276
281
|
dryRun: pc?.dryRun,
|
|
277
282
|
agentDefaults: { model: pc?.agent?.model, effort: pc?.agent?.effort },
|
|
283
|
+
atlassianSite: pc?.atlassianSite,
|
|
278
284
|
});
|
|
279
285
|
console.log(`▶ agentic-surfaces ${VERSION} — ${url}`);
|
|
280
286
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentic-surfaces/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@agentic-surfaces/core": "0.1.
|
|
26
|
-
"@agentic-surfaces/agent": "0.1.
|
|
27
|
-
"@agentic-surfaces/server": "0.1.
|
|
25
|
+
"@agentic-surfaces/core": "0.1.29",
|
|
26
|
+
"@agentic-surfaces/agent": "0.1.29",
|
|
27
|
+
"@agentic-surfaces/server": "0.1.29"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|