@united-workforce/cli 0.2.1-rc.8 → 0.2.1-rc.9
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../src/commands/prompt.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kCAAkC,EAClC,sBAAsB,EACtB,kCAAkC,EACnC,MAAM,wBAAwB,CAAC;AAyBhC,OAAO,EACL,kCAAkC,IAAI,0BAA0B,EAChE,sBAAsB,IAAI,cAAc,EACxC,kCAAkC,IAAI,0BAA0B,GACjE,CAAC;AAQF,wBAAgB,aAAa,IAAI,aAAa,CAAC,MAAM,CAAC,CAErD;AAED,wBAAgB,kBAAkB,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../src/commands/prompt.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kCAAkC,EAClC,sBAAsB,EACtB,kCAAkC,EACnC,MAAM,wBAAwB,CAAC;AAyBhC,OAAO,EACL,kCAAkC,IAAI,0BAA0B,EAChE,sBAAsB,IAAI,cAAc,EACxC,kCAAkC,IAAI,0BAA0B,GACjE,CAAC;AAQF,wBAAgB,aAAa,IAAI,aAAa,CAAC,MAAM,CAAC,CAErD;AAED,wBAAgB,kBAAkB,IAAI,MAAM,CAyR3C"}
|
package/dist/commands/prompt.js
CHANGED
|
@@ -186,6 +186,8 @@ Each command outputs a complete SKILL.md with YAML frontmatter. Use your agent f
|
|
|
186
186
|
|
|
187
187
|
Verify skills are installed by listing them (e.g. \`skills_list()\`) and confirming all three appear.
|
|
188
188
|
|
|
189
|
+
**⚠ After saving all skills, start a new session** so the agent loads the updated skill content. Skills saved in the current session are not active until the next session.
|
|
190
|
+
|
|
189
191
|
### Step 4 — Verify end-to-end
|
|
190
192
|
|
|
191
193
|
Create a minimal workflow file to test your setup:
|
|
@@ -262,6 +264,8 @@ uwf prompt workflow-authoring # → update skill "uwf-workflow-authoring"
|
|
|
262
264
|
uwf prompt adapter-developing # → update skill "uwf-adapter-developing"
|
|
263
265
|
\`\`\`
|
|
264
266
|
|
|
267
|
+
**⚠ After updating skills, start a new session** to load the new skill content.
|
|
268
|
+
|
|
265
269
|
### Step 3 — Migrate workflow YAML files (if needed)
|
|
266
270
|
|
|
267
271
|
Check the changelog for breaking changes. Known migrations:
|
|
@@ -280,6 +284,17 @@ Check the changelog for breaking changes. Known migrations:
|
|
|
280
284
|
|
|
281
285
|
Update all \`.workflow/\` and \`.workflows/\` YAML files in your projects. \`uwf workflow add\` will reject files with the old \`_\` syntax.
|
|
282
286
|
|
|
287
|
+
- **v0.2.1**: \`$status: { enum: [value] }\` → \`$status: { const: "value" }\`. The validator no longer accepts \`enum\` for \`$status\`. Update all workflow YAML files:
|
|
288
|
+
\`\`\`yaml
|
|
289
|
+
# Before (v0.2.0)
|
|
290
|
+
$status: { enum: [done] }
|
|
291
|
+
$status: { type: string, enum: ["ready", "failed"] }
|
|
292
|
+
|
|
293
|
+
# After (v0.2.1+)
|
|
294
|
+
$status: { const: "done" }
|
|
295
|
+
# For multi-exit, use oneOf with const (unchanged)
|
|
296
|
+
\`\`\`
|
|
297
|
+
|
|
283
298
|
### Step 4 — Verify
|
|
284
299
|
|
|
285
300
|
\`\`\`bash
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../src/commands/prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,kCAAkC,EAClC,sBAAsB,EACtB,kCAAkC,GACnC,MAAM,wBAAwB,CAAC;AAEhC,yEAAyE;AACzE,2FAA2F;AAC3F,SAAS,eAAe;IACtB,IA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C9E,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,sBAAsB,EAAE;IACnD,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,kCAAkC,EAAE;IAC5E,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,kCAAkC,EAAE;CAC7E,CAAC;AAEF,MAAM,UAAU,aAAa;IAC3B,OAAO,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,kBAAkB;IAChC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwE+B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAyIlB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsE3C,CAAC;AACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@united-workforce/cli",
|
|
3
|
-
"version": "0.2.1-rc.
|
|
3
|
+
"version": "0.2.1-rc.9",
|
|
4
4
|
"files": [
|
|
5
5
|
"src",
|
|
6
6
|
"dist",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"dotenv": "^16.6.1",
|
|
18
18
|
"mustache": "^4.2.0",
|
|
19
19
|
"yaml": "^2.8.4",
|
|
20
|
-
"@united-workforce/
|
|
21
|
-
"@united-workforce/util": "^0.1.
|
|
22
|
-
"@united-workforce/
|
|
20
|
+
"@united-workforce/util": "^0.1.2",
|
|
21
|
+
"@united-workforce/util-agent": "^0.1.0",
|
|
22
|
+
"@united-workforce/protocol": "^0.1.0"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
package/src/commands/prompt.ts
CHANGED
|
@@ -201,6 +201,8 @@ Each command outputs a complete SKILL.md with YAML frontmatter. Use your agent f
|
|
|
201
201
|
|
|
202
202
|
Verify skills are installed by listing them (e.g. \`skills_list()\`) and confirming all three appear.
|
|
203
203
|
|
|
204
|
+
**⚠ After saving all skills, start a new session** so the agent loads the updated skill content. Skills saved in the current session are not active until the next session.
|
|
205
|
+
|
|
204
206
|
### Step 4 — Verify end-to-end
|
|
205
207
|
|
|
206
208
|
Create a minimal workflow file to test your setup:
|
|
@@ -277,6 +279,8 @@ uwf prompt workflow-authoring # → update skill "uwf-workflow-authoring"
|
|
|
277
279
|
uwf prompt adapter-developing # → update skill "uwf-adapter-developing"
|
|
278
280
|
\`\`\`
|
|
279
281
|
|
|
282
|
+
**⚠ After updating skills, start a new session** to load the new skill content.
|
|
283
|
+
|
|
280
284
|
### Step 3 — Migrate workflow YAML files (if needed)
|
|
281
285
|
|
|
282
286
|
Check the changelog for breaking changes. Known migrations:
|
|
@@ -295,6 +299,17 @@ Check the changelog for breaking changes. Known migrations:
|
|
|
295
299
|
|
|
296
300
|
Update all \`.workflow/\` and \`.workflows/\` YAML files in your projects. \`uwf workflow add\` will reject files with the old \`_\` syntax.
|
|
297
301
|
|
|
302
|
+
- **v0.2.1**: \`$status: { enum: [value] }\` → \`$status: { const: "value" }\`. The validator no longer accepts \`enum\` for \`$status\`. Update all workflow YAML files:
|
|
303
|
+
\`\`\`yaml
|
|
304
|
+
# Before (v0.2.0)
|
|
305
|
+
$status: { enum: [done] }
|
|
306
|
+
$status: { type: string, enum: ["ready", "failed"] }
|
|
307
|
+
|
|
308
|
+
# After (v0.2.1+)
|
|
309
|
+
$status: { const: "done" }
|
|
310
|
+
# For multi-exit, use oneOf with const (unchanged)
|
|
311
|
+
\`\`\`
|
|
312
|
+
|
|
298
313
|
### Step 4 — Verify
|
|
299
314
|
|
|
300
315
|
\`\`\`bash
|