@jelou/cli 1.39.0 → 1.40.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.
Files changed (1) hide show
  1. package/package.json +18 -26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jelou/cli",
3
- "version": "1.39.0",
3
+ "version": "1.40.0",
4
4
  "description": "Build AI agents on the Jelou platform — from your terminal or your AI editor.",
5
5
  "author": "Jelou Inc. (https://jelou.ai)",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -23,11 +23,11 @@
23
23
  "THIRD_PARTY_NOTICES.md"
24
24
  ],
25
25
  "optionalDependencies": {
26
- "@jelou/cli-darwin-arm64": "1.39.0",
27
- "@jelou/cli-darwin-x64": "1.39.0",
28
- "@jelou/cli-linux-x64": "1.39.0",
29
- "@jelou/cli-linux-arm64": "1.39.0",
30
- "@jelou/cli-win32-x64": "1.39.0"
26
+ "@jelou/cli-darwin-arm64": "1.40.0",
27
+ "@jelou/cli-darwin-x64": "1.40.0",
28
+ "@jelou/cli-linux-x64": "1.40.0",
29
+ "@jelou/cli-linux-arm64": "1.40.0",
30
+ "@jelou/cli-win32-x64": "1.40.0"
31
31
  },
32
32
  "keywords": [
33
33
  "jelou",
@@ -56,47 +56,39 @@
56
56
  "access": "public"
57
57
  },
58
58
  "jelou": {
59
- "minVersion": "1.39.0",
59
+ "minVersion": "1.40.0",
60
60
  "release_notes": {
61
- "version": "1.39.0",
62
- "date": "2026-05-27",
63
- "headline": "Workflow files now use `workflowName` / `workflowDefault` / `workflowDescription` / `workflowConfiguration` — the rename finishes the migration started years ago when `workflowId` replaced the legacy top-level key, and your existing files keep working unchanged.",
61
+ "version": "1.40.0",
62
+ "date": "2026-05-28",
63
+ "headline": "AI model references in `AI_TASK` nodes now use the canonical `provider/model` form (`openai/gpt-4.1`, `anthropic/claude-sonnet-4-6`) — the form Studio actually writes when you pick a model. `jelou push` auto-expands bare names on the way out, so older workflows keep working unchanged.",
64
64
  "highlights": [
65
65
  {
66
66
  "type": "improved",
67
- "text": "Workflow files in `workflows/<slug>.<channel>.json` now use `workflowName`, `workflowDescription`, `workflowDefault`, `workflowConfiguration`. Existing files keyed under `skillName`/etc. keep working your next `jelou pull` rewrites them to the new keys. Hashes are recognized under both forms during the transition; you should not see a single spurious \"modified\" or `LOCKFILE_DRIFT` after upgrading."
67
+ "text": "`jelou push` auto-expands bare AI model names to canonical `provider/model` form before validation. A workflow with `model: \"gpt-4.1\"` is rewritten on disk to `model: \"openai/gpt-4.1\"`; the JSON envelope reports the change under `meta.model_expansions`. Studio writes the canonical form, so this brings on-disk files in line with what the platform expects."
68
68
  },
69
69
  {
70
70
  "type": "improved",
71
- "text": "`jelou workflow list` and `jelou workflow skill <id>` now show the `default` flag per workflow (in both human and `--json` output)."
71
+ "text": "`jelou models validate <id>` accepts either bare or canonical form; the response carries both the original `input` and the resolved canonical `model` so agents don't have to parse the message string."
72
72
  },
73
73
  {
74
74
  "type": "improved",
75
- "text": "`jelou push --json` now surfaces `meta.lockfile_refreshed[]` so agents see when a silent hash-format migration happened on their lockfile."
75
+ "text": "`jelou push --dry-run` no longer writes anything to disk during the model-expansion pass — the preview now correctly reports what would change without changing it. `meta.model_expansions` appears in the dry-run envelope too."
76
76
  },
77
77
  {
78
78
  "type": "improved",
79
- "text": "`jelou workflow validate` and `jelou push` now warn on AI_TASK authoring gaps missing or uncommon `instructions_lang`, missing `splitMessages: true`, and `messageHistory.count` outside the 1–15 range. Warnings only; never block push."
79
+ "text": "Push refuses cleanly with `AI_MODEL_AMBIGUOUS` (exit 2) when a bare model name is served by multiple providers (e.g. `gpt-4o` lives under both `openai` and `azure`); the error lists the qualified candidates so the fix is one edit away."
80
80
  },
81
81
  {
82
82
  "type": "improved",
83
- "text": "The bundled `jelou-build-workflow` skill now documents the seven recommended AI_TASK settings (`instructions_lang`, `canRemind`, `splitMessages`, `pdfDocumentSupport`, `readImageUrlWithCaption`, `expiration`, `messageHistory`) with semantics and defaults."
83
+ "text": "`jelou push` model validation now covers AI_TASK nodes that only set `fallbackModel.model` (previously these silently skipped the catalog check); typo'd bare names now also produce useful \"did you mean\" suggestions."
84
84
  },
85
85
  {
86
- "type": "fixed",
87
- "text": "`jelou push` now refuses when more than one local workflow asserts `workflowDefault: true` the server enforces one default per project, so pushing two would silently produce a lie after dispatch. The error hint walks you through the safest recovery and explicitly warns against `jelou pull` if you have other un-pushed work."
88
- },
89
- {
90
- "type": "fixed",
91
- "text": "`jelou push --dry-run` no longer silently mutates the lockfile on disk when a legacy-form hash refresh would have triggered."
92
- },
93
- {
94
- "type": "fixed",
95
- "text": "Several read paths (`pull`, `status`, `incoming accept-local`, `incoming accept-server`, `incoming diff`) now tolerate stored hashes recorded under the previous canonical form, so an in-flight incoming artifact captured pre-upgrade no longer trips spurious `NEW_REMOTE_DRIFT`."
86
+ "type": "improved",
87
+ "text": "The bundled `jelou-build-workflow` skill emits canonical-form models in every example, including the e-commerce specialist."
96
88
  },
97
89
  {
98
90
  "type": "heads_up",
99
- "text": "`minVersion` floor raised to `1.39.0`. CLIs below this surface the soft \"Update available\" prompt on next invocation (and `below_floor: true` on the agent-mode envelope). Nothing is blocked — the CLI still runs either way. The floor bump exists because every read path that compares a stored hash needs the upgrade-compat awareness; older CLIs would see phantom drift errors against lockfiles updated by 1.39.0."
91
+ "text": "`minVersion` floor raised to `1.40.0`. CLIs below this surface the soft \"Update available\" prompt on next invocation (and `below_floor: true` on the agent-mode envelope). Nothing is blocked — the CLI still runs either way. The floor bump exists because workflows pushed by 1.40.0+ carry the canonical `provider/model` form on disk, which older CLIs flag as unknown until they auto-strip the prefix back to bare on the next push."
100
92
  }
101
93
  ]
102
94
  }