@promptscript/cli 1.14.2 → 1.16.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/README.md CHANGED
@@ -87,7 +87,7 @@ CLAUDE.md
87
87
  ```promptscript
88
88
  @meta {
89
89
  id: "checkout-service"
90
- syntax: "1.4.0"
90
+ syntax: "1.5.0"
91
91
  }
92
92
 
93
93
  @identity {
@@ -98,6 +98,7 @@ CLAUDE.md
98
98
  }
99
99
 
100
100
  @standards {
101
+ @header "Engineering Standards"
101
102
  code: ["Use strict TypeScript", "Test every business rule"]
102
103
  }
103
104
 
@@ -171,7 +172,7 @@ CLAUDE.md
171
172
 
172
173
  ```yaml
173
174
  id: checkout-service
174
- syntax: '1.4.0'
175
+ syntax: '1.5.0'
175
176
 
176
177
  input:
177
178
  entry: .promptscript/project.prs
@@ -261,15 +262,20 @@ Remote imports are recorded in `promptscript.lock` with commit and SHA-256 integ
261
262
  @inherit @company/platform
262
263
  @use @team/backend
263
264
 
265
+ @override standards.testing {
266
+ ["Use Vitest", "Require 95% coverage"]
267
+ }
268
+
264
269
  @extend standards {
265
- testing!: ["Use Vitest", "Require 95% coverage"]
270
+ testing: ["Run integration tests in CI"]
266
271
  }
267
272
  ```
268
273
 
269
274
  - Inherit organization, team, and project layers.
270
275
  - Compose local files, Markdown skills, aliases, and direct Git imports.
271
- - Extend selected paths with deterministic merges, explicit replacement, negation, and sealed
272
- properties.
276
+ - Extend selected paths with deterministic merges, negation, and sealed properties.
277
+ - Replace complete existing blocks or nested values with `@override`.
278
+ - Customize generated section titles with `@header`.
273
279
  - Pass typed parameters to reusable templates.
274
280
  - Enforce layer boundaries, protected properties, and registry allowlists with policies.
275
281
  - Inspect skill provenance with `prs inspect <skill>`.
@@ -323,6 +329,11 @@ generates a migration prompt and installs the PromptScript skill. Existing sourc
323
329
  remain untouched, and existing PromptScript configuration is preserved byte-for-byte. Static output is isolated under
324
330
  `.promptscript/migrated/`; no detected candidates means no writes.
325
331
 
332
+ Projects upgrading from PromptScript 1.15 should preview syntax changes with
333
+ `prs upgrade --dry-run`, then run `prs validate --strict`. Factory targets also
334
+ preview legacy hook migration through `prs compile --dry-run`; use
335
+ `--no-migrate-factory-hooks` only when migration must remain manual.
336
+
326
337
  Preview before writing:
327
338
 
328
339
  ```bash
@@ -388,6 +399,7 @@ for syntax highlighting, bracket matching, code folding, and file icons.
388
399
  - [Language Reference](https://getpromptscript.dev/reference/language/)
389
400
  - [Configuration Reference](https://getpromptscript.dev/reference/config/)
390
401
  - [Target Matrix](https://getpromptscript.dev/reference/formatters/)
402
+ - [Upgrade 1.15 to 1.16](https://getpromptscript.dev/guides/upgrade-1-15-to-1-16/)
391
403
  - [Enterprise Guide](https://getpromptscript.dev/guides/enterprise/)
392
404
  - [Playground](https://getpromptscript.dev/playground/)
393
405