playcademy 0.28.1-beta.13 → 0.28.1-beta.15

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/bucket.d.ts CHANGED
@@ -138,6 +138,19 @@ interface DashboardThemeConfig {
138
138
  /** Secondary/accent color as a hex string, e.g. '#ffd166' */
139
139
  secondary?: string;
140
140
  }
141
+ /**
142
+ * Child-catalog contract generation (see @playcademy/sdk/contracts).
143
+ * The extractor is a repo-local script (run with the CLI's runtime) that
144
+ * prints `{ generatedFrom, deliveries }` as JSON on stdout; the CLI
145
+ * validates, stamps the contract fields, and writes
146
+ * `.playcademy/catalog.json` deterministically. The document carries no
147
+ * app identity — consuming repos assign the namespace key from sync
148
+ * provenance.
149
+ */
150
+ interface CatalogConfig {
151
+ /** Path to the extractor script, relative to the config file. */
152
+ extractor: string;
153
+ }
141
154
  /**
142
155
  * Unified Playcademy configuration
143
156
  * Used for playcademy.config.{js,json}
@@ -170,6 +183,8 @@ interface PlaycademyConfig {
170
183
  dashboard?: DashboardConfig | boolean;
171
184
  /** Integrations (database, custom routes, external services) */
172
185
  integrations?: IntegrationsConfig;
186
+ /** Child-catalog contract generation (`playcademy catalog`) */
187
+ catalog?: CatalogConfig;
173
188
  }
174
189
 
175
190
  /**
package/dist/bucket.js CHANGED
@@ -44,7 +44,7 @@ var GAME_API_ROUTES_DIRECTORY = join2(GAME_SERVER_ROOT_DIRECTORY, "api");
44
44
  // ../better-auth/package.json
45
45
  var package_default = {
46
46
  name: "@playcademy/better-auth",
47
- version: "0.0.21-beta.13",
47
+ version: "0.0.21-beta.15",
48
48
  type: "module",
49
49
  exports: {
50
50
  "./server": {
package/dist/cli.js CHANGED
@@ -514,7 +514,10 @@ function nestColor(content, color2) {
514
514
  function customTransform(text) {
515
515
  let result = text;
516
516
  result = result.replace(/<<([^>]+)>>/g, (_, url) => blueBright(underline(url)));
517
- result = result.replace(/<([^>]+)>/g, (_, inner) => blueBright(`<${inner}>`));
517
+ result = result.replace(
518
+ /<([^>]+)>/g,
519
+ (match, inner) => blueBright(/[./]/.test(inner) ? inner : match)
520
+ );
518
521
  result = result.replace(/`([^`]+)`/g, (_, code) => nestColor(code, greenBright));
519
522
  return result;
520
523
  }
@@ -1207,7 +1210,7 @@ var SAMPLE_BUCKET_FILENAME = "bucket.ts";
1207
1210
  // ../better-auth/package.json
1208
1211
  var package_default = {
1209
1212
  name: "@playcademy/better-auth",
1210
- version: "0.0.21-beta.13",
1213
+ version: "0.0.21-beta.15",
1211
1214
  type: "module",
1212
1215
  exports: {
1213
1216
  "./server": {
@@ -3041,7 +3044,7 @@ import { existsSync as existsSync11, mkdirSync as mkdirSync5, readFileSync as re
3041
3044
  import { join as join13 } from "node:path";
3042
3045
 
3043
3046
  // src/version.ts
3044
- var cliVersion = false ? "0.0.0-dev" : "0.28.1-beta.13";
3047
+ var cliVersion = false ? "0.0.0-dev" : "0.28.1-beta.15";
3045
3048
 
3046
3049
  // src/lib/init/database.ts
3047
3050
  var drizzleConfigTemplate = loadTemplateString("database/drizzle-config.ts");
package/dist/constants.js CHANGED
@@ -21,7 +21,7 @@ var SAMPLE_BUCKET_FILENAME = "bucket.ts";
21
21
  // ../better-auth/package.json
22
22
  var package_default = {
23
23
  name: "@playcademy/better-auth",
24
- version: "0.0.21-beta.13",
24
+ version: "0.0.21-beta.15",
25
25
  type: "module",
26
26
  exports: {
27
27
  "./server": {
package/dist/db.js CHANGED
@@ -2335,7 +2335,7 @@ var GAME_API_ROUTES_DIRECTORY = join2(GAME_SERVER_ROOT_DIRECTORY, "api");
2335
2335
  // ../better-auth/package.json
2336
2336
  var package_default = {
2337
2337
  name: "@playcademy/better-auth",
2338
- version: "0.0.21-beta.13",
2338
+ version: "0.0.21-beta.15",
2339
2339
  type: "module",
2340
2340
  exports: {
2341
2341
  "./server": {
@@ -2817,7 +2817,10 @@ function nestColor(content, color2) {
2817
2817
  function customTransform(text) {
2818
2818
  let result = text;
2819
2819
  result = result.replace(/<<([^>]+)>>/g, (_, url) => blueBright(underline(url)));
2820
- result = result.replace(/<([^>]+)>/g, (_, inner) => blueBright(`<${inner}>`));
2820
+ result = result.replace(
2821
+ /<([^>]+)>/g,
2822
+ (match, inner) => blueBright(/[./]/.test(inner) ? inner : match)
2823
+ );
2821
2824
  result = result.replace(/`([^`]+)`/g, (_, code) => nestColor(code, greenBright));
2822
2825
  return result;
2823
2826
  }
package/dist/index.d.ts CHANGED
@@ -479,6 +479,19 @@ interface DashboardThemeConfig {
479
479
  /** Secondary/accent color as a hex string, e.g. '#ffd166' */
480
480
  secondary?: string;
481
481
  }
482
+ /**
483
+ * Child-catalog contract generation (see @playcademy/sdk/contracts).
484
+ * The extractor is a repo-local script (run with the CLI's runtime) that
485
+ * prints `{ generatedFrom, deliveries }` as JSON on stdout; the CLI
486
+ * validates, stamps the contract fields, and writes
487
+ * `.playcademy/catalog.json` deterministically. The document carries no
488
+ * app identity — consuming repos assign the namespace key from sync
489
+ * provenance.
490
+ */
491
+ interface CatalogConfig {
492
+ /** Path to the extractor script, relative to the config file. */
493
+ extractor: string;
494
+ }
482
495
  /**
483
496
  * Unified Playcademy configuration
484
497
  * Used for playcademy.config.{js,json}
@@ -511,6 +524,8 @@ interface PlaycademyConfig {
511
524
  dashboard?: DashboardConfig | boolean;
512
525
  /** Integrations (database, custom routes, external services) */
513
526
  integrations?: IntegrationsConfig;
527
+ /** Child-catalog contract generation (`playcademy catalog`) */
528
+ catalog?: CatalogConfig;
514
529
  }
515
530
 
516
531
  /**