@frontera-sdk/cli 1.50.32 → 1.50.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontera-sdk/cli",
3
- "version": "1.50.32",
3
+ "version": "1.50.34",
4
4
  "description": "The frontera CLI — scaffold, pull, save and deploy Frontera apps and automations.",
5
5
  "keywords": [
6
6
  "frontera",
@@ -39,14 +39,14 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@anthropic-ai/claude-agent-sdk": "^0.3.251",
42
- "@frontera-sdk/functions": "1.50.32",
43
- "@frontera-sdk/core": "1.50.32",
42
+ "@frontera-sdk/functions": "1.50.34",
43
+ "@frontera-sdk/core": "1.50.34",
44
44
  "ai": "^6.0.116",
45
45
  "gray-matter": "^4.0.3",
46
46
  "yaml": "^2.9.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@frontera-sdk/forge-contracts": "1.50.32",
49
+ "@frontera-sdk/forge-contracts": "1.50.34",
50
50
  "@types/bun": "^1.3.14",
51
51
  "typescript": "^5.9.3"
52
52
  }
@@ -155,6 +155,8 @@ export class AppsApi {
155
155
  * which is the only side that knows the platform origin. */
156
156
  previewUrl?: string
157
157
  liveUrl?: string
158
+ /** The App's own address, present when promoted and an administrator set one. */
159
+ addressUrl?: string
158
160
  }>(
159
161
  `/v1/platform-apps/${appId}/versions`,
160
162
  form,
@@ -192,6 +192,7 @@ export const appDeploy: Command = {
192
192
  : ` open it: ${res.previewUrl}`,
193
193
  )
194
194
  }
195
+ if (res.addressUrl) ctx.output.note(` address: ${res.addressUrl}`)
195
196
 
196
197
  return {
197
198
  data: {
@@ -201,6 +202,7 @@ export const appDeploy: Command = {
201
202
  promoted: res.promoted,
202
203
  ...(res.previewUrl ? { previewUrl: res.previewUrl } : {}),
203
204
  ...(res.liveUrl && res.promoted ? { liveUrl: res.liveUrl } : {}),
205
+ ...(res.addressUrl ? { addressUrl: res.addressUrl } : {}),
204
206
  // In `data` as well as in the note: an agent reads the JSON, and this
205
207
  // is the fact it most needs to carry into what it tells the user.
206
208
  rendered: renderEvidence.rendered,
@@ -216,7 +218,8 @@ export const appDeploy: Command = {
216
218
  // Not "use `frontera app promote`". That read as "invisible until you
217
219
  // promote", which is false and is what sent an agent asking to publish
218
220
  // an unreviewed build to everyone.
219
- (res.previewUrl ? `\n\nOpen it: ${res.previewUrl}` : ''),
221
+ (res.previewUrl ? `\n\nOpen it: ${res.previewUrl}` : '') +
222
+ (res.addressUrl ? `\nAddress: ${res.addressUrl}` : ''),
220
223
  }
221
224
  },
222
225
  }