@lotics/cli 0.318.33 → 0.318.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/dist/src/cli.js CHANGED
@@ -1776,7 +1776,7 @@ async function saveSignedLinks(links, dir) {
1776
1776
  }
1777
1777
 
1778
1778
  // src/version.ts
1779
- var VERSION = "0.318.33";
1779
+ var VERSION = "0.318.34";
1780
1780
 
1781
1781
  // src/timezone.ts
1782
1782
  function machineTimezone() {
@@ -27210,7 +27210,7 @@ var writeSchema = external_exports.looseObject({
27210
27210
  app_id: external_exports.string().nullable(),
27211
27211
  version_id: external_exports.string().nullable(),
27212
27212
  outcome: external_exports.enum(["created", "updated", "unchanged", "refused"]),
27213
- address: external_exports.string().optional(),
27213
+ url: external_exports.string().optional(),
27214
27214
  permissions: external_exports.object({ granted: external_exports.array(external_exports.string()), removed: external_exports.array(external_exports.string()) }).optional(),
27215
27215
  notes: external_exports.array(findingSchema),
27216
27216
  findings: external_exports.array(findingSchema)
@@ -27332,7 +27332,7 @@ ${write2.permissions.removed.map((line) => ` ${line}`).join("\n")}`);
27332
27332
  }
27333
27333
  if (write2.app_id === null) fail("set_app wrote without naming the app it made \u2014 update the CLI: lotics upgrade");
27334
27334
  if (write2.version_id === null) fail(`set_app made ${write2.app_id} without naming its version \u2014 update the CLI: lotics upgrade`);
27335
- note(`Created ${write2.app_id}${write2.address === void 0 ? "" : ` at ${write2.address}`}. Recording it in ${sidecarPath(file2)}.`);
27335
+ note(`Created ${write2.app_id}${write2.url === void 0 ? "" : ` at ${write2.url}`}. Recording it in ${sidecarPath(file2)}.`);
27336
27336
  writeSidecar(file2, write2.app_id, write2.version_id);
27337
27337
  return { app_id: write2.app_id, outcome: write2.outcome, write: write2 };
27338
27338
  }
@@ -27559,7 +27559,8 @@ Delete these keys from package.json#lotics, then deploy again.`
27559
27559
  writeDeployedVersion(projectDir, result);
27560
27560
  note(`Deployed v${result.version_number} (${result.version_id})`);
27561
27561
  note(`Bundle size: ${(result.bundle_size_bytes / 1024).toFixed(1)} KB`);
27562
- if (result.origin !== void 0) note(`Address: ${result.origin}`);
27562
+ if (result.url !== void 0) note(`Opens at: ${result.url}`);
27563
+ if (result.public_url !== void 0) note(`Public link: ${result.public_url}`);
27563
27564
  return result;
27564
27565
  } finally {
27565
27566
  fs14.rmSync(tmpSource, { force: true });
@@ -442,8 +442,10 @@ export declare class LoticsClient {
442
442
  version_id: string;
443
443
  version_number: number;
444
444
  bundle_size_bytes: number;
445
- /** The origin this version is served from; composing it here would re-derive what the server owns. */
446
- origin?: string;
445
+ /** Where a signed-in person opens this version; composing it here would re-derive what the server owns. */
446
+ url?: string;
447
+ /** Where anyone opens it, while the app is shared publicly. */
448
+ public_url?: string;
447
449
  }>;
448
450
  downloadFile(url: string, outputPath: string): Promise<string>;
449
451
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.318.33",
3
+ "version": "0.318.34",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {