@solidactions/cli 3.37.0 → 3.38.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": 1,
3
3
  "cli_name": "solidactions",
4
- "cli_version": "3.37.0",
4
+ "cli_version": "3.38.0",
5
5
  "global_options": [
6
6
  {
7
7
  "flags": "-V, --version",
@@ -28,9 +28,9 @@ exports.EXAMPLES_REF = void 0;
28
28
  * users. If solidactions-examples ever starts publishing tags in step with the
29
29
  * SDK, replace this with a derivation the way sdk-version.ts does.
30
30
  *
31
- * Currently: the merged solidactions-examples mainline that includes the
32
- * functions skill (`content/skills/solidactions-functions.md`), the
33
- * `function-echo` example and the preview rule (cli#249). It also still
31
+ * Currently: the merged solidactions-examples mainline of wave cli-agent-docs
32
+ * (examples PR #37: manifest v3.37.0, function extras, source of truth, app
33
+ * pages, preview fallback; cli#251, cli#253). It also still
34
34
  * includes ex#34 "workspace-database + Drizzle example", which is what makes
35
35
  * `ai examples` able to install workspace-database-drizzle (the runnable
36
36
  * connect + drizzle-kit-migration example #140 exists to point people at).
@@ -38,4 +38,4 @@ exports.EXAMPLES_REF = void 0;
38
38
  * repin EXAMPLES_REF to the examples repo's merged mainline SHA and verify the
39
39
  * exact ref during the release ritual.
40
40
  */
41
- exports.EXAMPLES_REF = '0dd65bab7724b104e8bb21396f9397012f45a82c';
41
+ exports.EXAMPLES_REF = '24134f376885fd02c2633c1253b691524ee6a58e';
@@ -30,6 +30,7 @@ function listCodeFunctions(config) {
30
30
  ...(fn.mcp_tool_name === undefined ? {} : { mcp_tool_name: fn.mcp_tool_name }),
31
31
  ...(fn.timeout === undefined ? {} : { timeout: fn.timeout }),
32
32
  ...(fn.confirm === undefined ? {} : { confirm: fn.confirm }),
33
+ ...(fn.confirm_text === undefined ? {} : { confirm_text: fn.confirm_text }),
33
34
  ...(fn.input_schema === undefined ? {} : { input_schema: fn.input_schema }),
34
35
  };
35
36
  });
@@ -159,6 +159,11 @@ function validateItems(config, sourceDir) {
159
159
  if (webhookAuth !== undefined && (typeof webhookAuth !== 'string' || !WEBHOOK_AUTHS.includes(webhookAuth))) {
160
160
  errors.push({ entry: entryLabel, field: 'webhook_auth', message: `${entryLabel}.webhook_auth: webhook_auth must be one of hmac, basic, header, none (got ${JSON.stringify(webhookAuth)}).` });
161
161
  }
162
+ const confirmText = entry.confirm_text;
163
+ if (confirmText !== undefined && (typeof confirmText !== 'string' || [...confirmText].length > 255)) {
164
+ const got = typeof confirmText === 'string' ? `${[...confirmText].length} characters` : JSON.stringify(confirmText);
165
+ errors.push({ entry: entryLabel, field: 'confirm_text', message: `${entryLabel}.confirm_text: confirm_text must be a string of at most 255 characters (got ${got}).` });
166
+ }
162
167
  });
163
168
  return errors;
164
169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidactions/cli",
3
- "version": "3.37.0",
3
+ "version": "3.38.0",
4
4
  "description": "SolidActions CLI - Deploy and manage workflow automation",
5
5
  "main": "dist/index.js",
6
6
  "bin": {