phibelle-kit 1.0.3 → 1.0.5

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.
@@ -9,6 +9,7 @@ import { unpackageScene } from "../lib/scene-packaging.js";
9
9
  import { createScriptWatcher } from "../lib/script-watcher.js";
10
10
  import { runFirstUpdateSetup } from "../lib/first-run-setup.js";
11
11
  import { toErrorMessage } from "../lib/utils.js";
12
+ import { BASE_URL } from "../lib/public-env.js";
12
13
  function createWatchCallbacks() {
13
14
  return {
14
15
  onPushed: (file) => console.log(chalk.green(" ✓ Pushed " + file + " to Convex")),
@@ -24,8 +25,7 @@ export async function watchSceneCommand(sceneId) {
24
25
  console.log();
25
26
  console.log(chalk.bold.cyan(" 👀 Watching scene updates..."));
26
27
  console.log(chalk.gray(` Scene ID: ${sceneId}`));
27
- console.log(chalk.gray(" Press Ctrl+C to stop"));
28
- console.log();
28
+ console.log(chalk.white(" Scene link: ") + chalk.cyan(`${BASE_URL}/editor?sceneId=${sceneId}`));
29
29
  let previousUpdatedAt = null;
30
30
  let isFirstUpdate = true;
31
31
  let scriptWatcher = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phibelle-kit",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "CLI tool for interacting with the Phibelle engine",
5
5
  "type": "module",
6
6
  "bin": {
@@ -10,6 +10,7 @@ import { createScriptWatcher, type ScriptWatcher } from "../lib/script-watcher.j
10
10
  import { runFirstUpdateSetup } from "../lib/first-run-setup.js";
11
11
  import { toErrorMessage } from "../lib/utils.js";
12
12
  import type { Scene } from "../lib/types.js";
13
+ import { BASE_URL } from "../lib/public-env.js";
13
14
 
14
15
  function createWatchCallbacks() {
15
16
  return {
@@ -29,8 +30,7 @@ export async function watchSceneCommand(sceneId: string) {
29
30
  console.log();
30
31
  console.log(chalk.bold.cyan(" 👀 Watching scene updates..."));
31
32
  console.log(chalk.gray(` Scene ID: ${sceneId}`));
32
- console.log(chalk.gray(" Press Ctrl+C to stop"));
33
- console.log();
33
+ console.log(chalk.white(" Scene link: ") + chalk.cyan(`${BASE_URL}/editor?sceneId=${sceneId}`));
34
34
 
35
35
  let previousUpdatedAt: number | null = null;
36
36
  let isFirstUpdate = true;