create-avocado-site 0.11.8 → 0.12.0

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/index.js CHANGED
@@ -118,6 +118,25 @@ async function bootstrapDemo(cwd, dirName, config) {
118
118
  * The keyed variant read "Chat is enabled — OPENAI_API_KEY is in
119
119
  * .env.local when you want to edit by chat."
120
120
  */
121
+ /*
122
+ * Said at the start and again here, because the banner is what stays on
123
+ * screen while the servers boot and is the last thing read before the
124
+ * browser opens. A preview that only announces itself once, eight lines
125
+ * earlier, has not really announced itself.
126
+ */
127
+ ` Avocado Studio is a research preview \u2014 expect rough edges,`,
128
+ ` and please tell us about them.`,
129
+ ``,
130
+ /*
131
+ * The demo's job is to make somebody want this on their own site, and
132
+ * until now nothing in the terminal said where that starts. `/sites` is
133
+ * the decision page — three paths with the recommended one first — rather
134
+ * than the Next.js wiring guide, which is the right page only once the
135
+ * decision is made.
136
+ */
137
+ ` Want this on your own site?`,
138
+ ` https://docs.avocadostudio.dev/sites`,
139
+ ``,
121
140
  ...(config.apiKey
122
141
  ? [` Chat is enabled \u2014 ${config.apiKey.variable} is in .env.local.`]
123
142
  : [
package/dist/prompts.d.ts CHANGED
@@ -5,7 +5,7 @@ import type { ScaffoldConfig } from "./types.js";
5
5
  * Shared so both entry paths use it. The directory-argument path had no intro
6
6
  * at all — it went straight from an `npx` line to a demand for a secret.
7
7
  */
8
- export declare const AVOCADO_INTRO = "\uD83E\uDD51 Avocado Studio";
8
+ export declare const AVOCADO_INTRO = "\uD83E\uDD51 Avocado Studio \u2014 research preview";
9
9
  /** A directory name turned into something the orchestrator will accept as a site id. */
10
10
  export declare function toSiteId(name: string): string;
11
11
  /**
package/dist/prompts.js CHANGED
@@ -9,7 +9,7 @@ import { findFreePort } from "./ports.js";
9
9
  * Shared so both entry paths use it. The directory-argument path had no intro
10
10
  * at all — it went straight from an `npx` line to a demand for a secret.
11
11
  */
12
- export const AVOCADO_INTRO = "\u{1F951} Avocado Studio";
12
+ export const AVOCADO_INTRO = "\u{1F951} Avocado Studio \u2014 research preview";
13
13
  /** A directory name turned into something the orchestrator will accept as a site id. */
14
14
  export function toSiteId(name) {
15
15
  const cleaned = name.replace(/[^a-zA-Z0-9_-]+/g, "-").replace(/^-+|-+$/g, "");
@@ -66,7 +66,9 @@ export async function promptForApiKey() {
66
66
  */
67
67
  p.note("Chat needs a model. Everything else works without one \u2014 the preview,\n" +
68
68
  "click-to-select, the property panel and publishing.\n\n" +
69
- "Accepted: ANTHROPIC_API_KEY \u00b7 OPENAI_API_KEY \u00b7 GOOGLE_GENAI_API_KEY\n" +
69
+ " ANTHROPIC_API_KEY \u2190 recommended, the best-tested planner\n" +
70
+ " OPENAI_API_KEY also does image generation\n" +
71
+ " GOOGLE_GENAI_API_KEY also does image generation\n\n" +
70
72
  "The right variable is picked from the key itself.", "Optional \u2014 enable chat now");
71
73
  const key = await p.password({
72
74
  message: "Paste a key, or press Enter to skip",
@@ -17,7 +17,7 @@
17
17
  * `@avocadostudio-ai/orchestrator-core`, already pinned there; naming it again
18
18
  * here is how a project ends up with two.
19
19
  */
20
- export declare const AVOCADO = "0.11.8";
20
+ export declare const AVOCADO = "0.12.0";
21
21
  /**
22
22
  * Next 15.5.15 rather than 16, because that is the version every example app
23
23
  * and the demo site in this repository build and test against. The SDK
package/dist/versions.js CHANGED
@@ -17,7 +17,7 @@
17
17
  * `@avocadostudio-ai/orchestrator-core`, already pinned there; naming it again
18
18
  * here is how a project ends up with two.
19
19
  */
20
- export const AVOCADO = "0.11.8";
20
+ export const AVOCADO = "0.12.0";
21
21
  /**
22
22
  * Next 15.5.15 rather than 16, because that is the version every example app
23
23
  * and the demo site in this repository build and test against. The SDK
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-avocado-site",
3
- "version": "0.11.8",
3
+ "version": "0.12.0",
4
4
  "description": "Bootstrap a runnable Avocado Studio demo site, or wire Avocado into an existing Next.js project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -34,8 +34,8 @@
34
34
  "@types/node": "^22.13.10",
35
35
  "tsx": "^4.19.0",
36
36
  "typescript": "^5.7.3",
37
- "@avocadostudio-ai/site-sdk": "0.11.8",
38
- "@avocadostudio-ai/shared": "0.11.8"
37
+ "@avocadostudio-ai/shared": "0.12.0",
38
+ "@avocadostudio-ai/site-sdk": "0.12.0"
39
39
  },
40
40
  "license": "Apache-2.0",
41
41
  "homepage": "https://docs.avocadostudio.dev",