@codeam/shared 2.76.15 → 2.76.16

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.d.mts CHANGED
@@ -1890,6 +1890,12 @@ interface StartTaskPayload {
1890
1890
  }>;
1891
1891
  /** Internal runtime id. Present + ≠ active agent → the runner swaps before running. */
1892
1892
  agentId?: string;
1893
+ /**
1894
+ * The app's device locale (BCP-47, e.g. `es-CO`, `id-ID`). Optional — older
1895
+ * apps omit it. The CLI tells the agent to reply in that language on its
1896
+ * first turn, so the user doesn't spend a task stating it.
1897
+ */
1898
+ locale?: string;
1893
1899
  }
1894
1900
  /**
1895
1901
  * `result` of a `start_task` acked `failed` (POST /api/commands/result).
@@ -2141,7 +2147,16 @@ interface StarterPrompt {
2141
2147
  label: string;
2142
2148
  prompt: string;
2143
2149
  }
2144
- /** Composer starters for an empty scratch Box session (D12/§4.3). */
2150
+ /**
2151
+ * Composer starters for an empty scratch Box session (D12/§4.3).
2152
+ *
2153
+ * Every starter must BUILD something on its first turn and end with the
2154
+ * preview open: on FREE each send is one of 3 daily tasks, and a starter that
2155
+ * only asks a question or lists ideas spends one with nothing to show
2156
+ * (replays 2026-10-05: "give me three quick ideas" → ideas + "Which one?"
2157
+ * (shokhanahmadi61); "ask me the business name first" → "I'll need a business
2158
+ * name" (deepak.namdeo81)). Ask for details AFTER the first build, not before.
2159
+ */
2145
2160
  declare const SCRATCH_STARTER_PROMPTS: readonly StarterPrompt[];
2146
2161
  declare const SCRATCH_ZIP_FREE_LIMIT_BYTES = 104857600;
2147
2162
  declare const SCRATCH_ZIP_WIFI_HINT_BYTES = 209715200;
package/dist/index.d.ts CHANGED
@@ -1890,6 +1890,12 @@ interface StartTaskPayload {
1890
1890
  }>;
1891
1891
  /** Internal runtime id. Present + ≠ active agent → the runner swaps before running. */
1892
1892
  agentId?: string;
1893
+ /**
1894
+ * The app's device locale (BCP-47, e.g. `es-CO`, `id-ID`). Optional — older
1895
+ * apps omit it. The CLI tells the agent to reply in that language on its
1896
+ * first turn, so the user doesn't spend a task stating it.
1897
+ */
1898
+ locale?: string;
1893
1899
  }
1894
1900
  /**
1895
1901
  * `result` of a `start_task` acked `failed` (POST /api/commands/result).
@@ -2141,7 +2147,16 @@ interface StarterPrompt {
2141
2147
  label: string;
2142
2148
  prompt: string;
2143
2149
  }
2144
- /** Composer starters for an empty scratch Box session (D12/§4.3). */
2150
+ /**
2151
+ * Composer starters for an empty scratch Box session (D12/§4.3).
2152
+ *
2153
+ * Every starter must BUILD something on its first turn and end with the
2154
+ * preview open: on FREE each send is one of 3 daily tasks, and a starter that
2155
+ * only asks a question or lists ideas spends one with nothing to show
2156
+ * (replays 2026-10-05: "give me three quick ideas" → ideas + "Which one?"
2157
+ * (shokhanahmadi61); "ask me the business name first" → "I'll need a business
2158
+ * name" (deepak.namdeo81)). Ask for details AFTER the first build, not before.
2159
+ */
2145
2160
  declare const SCRATCH_STARTER_PROMPTS: readonly StarterPrompt[];
2146
2161
  declare const SCRATCH_ZIP_FREE_LIMIT_BYTES = 104857600;
2147
2162
  declare const SCRATCH_ZIP_WIFI_HINT_BYTES = 209715200;
package/dist/index.js CHANGED
@@ -3208,7 +3208,7 @@ function orderDeployChoices(githubLinked) {
3208
3208
  var SCRATCH_STARTER_PROMPTS = [
3209
3209
  {
3210
3210
  label: "Landing page",
3211
- prompt: "Build a simple, good-looking landing page for my business. Ask me the business name first, then build it and open the preview."
3211
+ prompt: "Build a simple, good-looking landing page for a business, using a placeholder business name I can change later. Build it and open the preview."
3212
3212
  },
3213
3213
  {
3214
3214
  label: "To-do app",
@@ -3219,8 +3219,8 @@ var SCRATCH_STARTER_PROMPTS = [
3219
3219
  prompt: "Build a small game that runs in the browser, then open the preview."
3220
3220
  },
3221
3221
  {
3222
- label: "What can you do?",
3223
- prompt: "What could you build for me in this workspace? Give me three quick ideas."
3222
+ label: "Surprise me",
3223
+ prompt: "Pick one small, useful app you can build quickly, build it right away without asking me first, then open the preview and tell me what I can change."
3224
3224
  }
3225
3225
  ];
3226
3226
  var SCRATCH_ZIP_FREE_LIMIT_BYTES = 104857600;