@agentic-surfaces/cli 0.1.28 → 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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -106,6 +106,7 @@ function launchUi(opts) {
106
106
  onRun: opts.onRun,
107
107
  cache: opts.cache,
108
108
  pause: opts.pause,
109
+ planUsage: opts.planUsage,
109
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}`;
@@ -177,6 +178,7 @@ 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 },
182
184
  atlassianSite: pc?.atlassianSite,
@@ -275,6 +277,7 @@ export async function run(argv) {
275
277
  onRun: (name, payload) => runWorkflowFn(name, payload),
276
278
  cache: services.cache,
277
279
  pause,
280
+ planUsage: () => services.agent.getPlanUsage?.() ?? Promise.resolve(null),
278
281
  dryRun: pc?.dryRun,
279
282
  agentDefaults: { model: pc?.agent?.model, effort: pc?.agent?.effort },
280
283
  atlassianSite: pc?.atlassianSite,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentic-surfaces/cli",
3
- "version": "0.1.28",
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.28",
26
- "@agentic-surfaces/agent": "0.1.28",
27
- "@agentic-surfaces/server": "0.1.28"
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",