@promptscript/cli 1.12.0 → 1.13.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptscript/cli",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "CLI for PromptScript - standardize AI instructions across GitHub Copilot, Claude, Cursor and other AI tools",
5
5
  "keywords": [
6
6
  "cli",
@@ -45,12 +45,13 @@
45
45
  "chokidar": "^5.0.0",
46
46
  "commander": "^14.0.3",
47
47
  "ora": "^9.4.0",
48
+ "prettier": "^3.8.3",
48
49
  "yaml": "^2.9.0",
49
50
  "simple-git": "3.36.0",
50
51
  "fastify": "^5.8.5",
51
52
  "@fastify/cors": "^11.0.0",
52
53
  "@fastify/websocket": "^11.0.0",
53
- "ws": "^8.20.1",
54
+ "ws": "^8.21.0",
54
55
  "fast-glob": "^3.3.0"
55
56
  }
56
57
  }
@@ -65,6 +65,7 @@ A `.prs` file is made of blocks. Order doesn't matter except `@meta` should come
65
65
  @knowledge { ... } # Reference documentation
66
66
  @skills { ... } # Reusable skill definitions
67
67
  @agents { ... } # Subagent definitions
68
+ @examples { ... } # Few-shot input/output examples (syntax 1.2.0+)
68
69
  @params { ... } # Template parameters
69
70
  @guards { ... } # File globs and priorities
70
71
  @local { ... } # Private config (not committed)
@@ -193,6 +194,8 @@ executable prompt/command files for GitHub Copilot and Cursor:
193
194
  }
194
195
  ```
195
196
 
197
+ > `@commands` is a backwards-compatible alias for `@shortcuts` — prefer `@shortcuts` in new files.
198
+
196
199
  ### @skills
197
200
 
198
201
  Reusable skill definitions with metadata:
@@ -362,6 +365,45 @@ Factory AI droids support additional properties: `model` (any model ID or "inher
362
365
  `reasoningEffort` ("low", "medium", "high"), and `tools` (category name like "read-only"
363
366
  or array of tool IDs).
364
367
 
368
+ ### @examples
369
+
370
+ Structured few-shot examples for AI assistants (requires syntax `1.2.0`):
371
+
372
+ ```
373
+ @meta {
374
+ id: "commit-style"
375
+ syntax: "1.2.0"
376
+ }
377
+
378
+ @examples {
379
+ feat-commit: {
380
+ description: "Feature commit with scope"
381
+ input: "Added user authentication with JWT tokens"
382
+ output: "feat(auth): add JWT-based user authentication"
383
+ }
384
+ }
385
+ ```
386
+
387
+ Each entry is a named example with `input` and `output` (both required),
388
+ plus optional `description`. Multi-line content uses triple-quoted strings.
389
+
390
+ Examples can also be attached to skills via the `examples` property:
391
+
392
+ ```
393
+ @skills {
394
+ commit: {
395
+ description: "Create conventional commits"
396
+ examples: {
397
+ basic: {
398
+ input: "Added dark mode toggle"
399
+ output: "feat(settings): add dark mode toggle"
400
+ }
401
+ }
402
+ content: (triple-quoted text)
403
+ }
404
+ }
405
+ ```
406
+
365
407
  ### @knowledge
366
408
 
367
409
  Reference documentation as triple-quoted text. Used for command references,
@@ -443,6 +485,46 @@ Merge rules:
443
485
  - Objects: deep merged (target wins on conflicts)
444
486
  - Arrays: unique concatenation
445
487
 
488
+ ### Block Filtering
489
+
490
+ Control which blocks are imported using the reserved `only` and `exclude` parameters:
491
+
492
+ ```
493
+ @use ./shared-config(only: ["skills", "context"])
494
+ @use ./shared-config(exclude: ["knowledge"])
495
+ @use ./shared-config(exclude: ["knowledge"], mode: "strict")
496
+ ```
497
+
498
+ Rules:
499
+
500
+ - `only` and `exclude` are mutually exclusive — using both is a validation error (PS021)
501
+ - Values are block type names: `identity`, `context`, `standards`, `knowledge`, `skills`, `shortcuts`, `agents`, etc.
502
+ - Block filtering does not apply to `@inherit` directives
503
+
504
+ ### Markdown Imports
505
+
506
+ Import skills directly from `.md` files (v1.8+). No external tools needed:
507
+
508
+ ```
509
+ @use ./skills/frontend-design.md
510
+ @use ./shared/commit.md as commit
511
+ @use github.com/anthropics/skills/commit@1.0.0
512
+ @use github.com/repo/skills/gitnexus # directory → SKILL.md
513
+ ```
514
+
515
+ Content detection: PromptScript blocks in `.md` are parsed as a `.prs` fragment;
516
+ YAML frontmatter with `name`/`description` is loaded as a skill definition;
517
+ otherwise content is treated as free-form knowledge.
518
+
519
+ CLI management:
520
+
521
+ ```
522
+ prs skills add github.com/anthropics/skills/commit@1.0.0
523
+ prs skills remove commit
524
+ prs skills list
525
+ prs skills update
526
+ ```
527
+
446
528
  ### @extend (modify imported blocks)
447
529
 
448
530
  Requires an aliased @use:
@@ -651,13 +733,55 @@ registries:
651
733
  oss:
652
734
  url: github.com/prscrpt/community-registry
653
735
  ref: v2
736
+ policies:
737
+ - name: adjacent-layers-only
738
+ kind: layer-boundary
739
+ severity: error
740
+ layers: ['@core', '@team', '@project']
741
+ maxDistance: 1
654
742
  ```
655
743
 
656
744
  ### Lockfile: `promptscript.lock`
657
745
 
658
746
  When remote imports are used, `prs compile` automatically generates a lockfile
659
- recording the exact resolved commit for each dependency. This enables reproducible
660
- builds across machines and CI. Commit `promptscript.lock` to version control.
747
+ recording the exact resolved commit for each dependency. Integrity hashes
748
+ (SHA-256) are included for registry references to detect tampering or drift.
749
+ This enables reproducible builds across machines and CI. Commit `promptscript.lock`
750
+ to version control.
751
+
752
+ Use `--ignore-hashes` on `prs compile` or `prs validate` to skip integrity
753
+ hash verification when needed.
754
+
755
+ ### Policy Engine
756
+
757
+ Define organizational policies in `promptscript.yaml` to validate skill extensions:
758
+
759
+ ```yaml
760
+ policies:
761
+ - name: adjacent-layers-only
762
+ kind: layer-boundary
763
+ description: 'Only adjacent layers can extend each other'
764
+ severity: error
765
+ layers: ['@core', '@team', '@project']
766
+ maxDistance: 1
767
+
768
+ - name: protect-content
769
+ kind: property-protection
770
+ description: 'Content override requires explicit approval'
771
+ severity: warning
772
+ properties: ['content', 'description']
773
+
774
+ - name: approved-registries
775
+ kind: registry-allowlist
776
+ description: 'Extensions must come from approved registries'
777
+ severity: error
778
+ allowed: ['@core', '@team']
779
+ ```
780
+
781
+ Policy kinds: `layer-boundary` (controls layer distance), `property-protection`
782
+ (prevents overriding specific properties), `registry-allowlist` (restricts extension sources).
783
+ Severity: `error` (fails validation) or `warning` (reported only).
784
+ Skip with `--skip-policies` during development (never in CI).
661
785
 
662
786
  ## Syntax Version Validation
663
787
 
@@ -669,16 +793,28 @@ The `syntax` field in `@meta` declares the PromptScript language version (semver
669
793
  | ------- | ----------------------------------------------------------------------------------------------------------------------- |
670
794
  | `1.0.0` | Core blocks (identity, context, standards, restrictions, knowledge, shortcuts, commands, guards, params, skills, local) |
671
795
  | `1.1.0` | Adds `@agents` (plus internal `@workflows`, `@prompts` - not user-facing) |
796
+ | `1.2.0` | Adds `@examples` (few-shot input/output pairs) |
797
+
798
+ ### Block Version Requirements
799
+
800
+ | Block | Minimum Syntax Version |
801
+ | ----------- | ---------------------- |
802
+ | `@agents` | `1.1.0` |
803
+ | `@examples` | `1.2.0` |
804
+
805
+ All other built-in blocks are available from `1.0.0`.
672
806
 
673
807
  ### Validation Rules
674
808
 
675
809
  - **PS018 (`syntax-version-compat`)**: warns when blocks used in a file require a higher syntax version than declared. For example, `@agents` with `syntax: "1.0.0"` triggers PS018. Suggestion: run `prs validate --fix`.
676
810
  - **PS019 (`unknown-block-name`)**: warns when a block name is not a known PromptScript type, with fuzzy-match suggestions for typos.
811
+ - **PS021 (`use-block-filter`)**: errors when `only` and `exclude` are both specified in `@use` parameters.
677
812
  - **PS025 (`valid-skill-references`)**: errors when a `references` entry points to a file with a disallowed extension or a path that cannot be resolved.
678
813
  - **PS026 (`safe-reference-content`)**: warns when a referenced file contains potentially sensitive content (e.g., secrets, credentials).
679
814
  - **PS027 (`valid-skill-composition`)**: warns about conflicting phase names or excessive phases in composed skills.
680
815
  - **PS028 (`valid-append-negation`)**: warns when negation prefix `!` appears in base skill definitions (only effective in `@extend`).
681
816
  - **PS029 (`valid-sealed-property`)**: warns when `sealed` contains non-replace-strategy property names.
817
+ - **PS030 (`policy-compliance`)**: validates skill extensions against organizational policies defined in `promptscript.yaml`.
682
818
 
683
819
  ### Fixing Syntax Versions
684
820
 
@@ -701,11 +837,24 @@ prs migrate --static # Non-interactive static import
701
837
  prs migrate --llm # Generate AI-assisted migration prompt
702
838
  prs compile # Compile to all targets
703
839
  prs compile --watch # Watch mode
840
+ prs compile --ignore-hashes # Skip integrity hash verification
841
+ prs build <name> # Compile a named build profile
704
842
  prs validate --strict # Validate syntax
705
843
  prs validate --fix # Auto-fix syntax version declarations
844
+ prs validate --skip-policies # Skip policy engine evaluation
706
845
  prs upgrade # Upgrade all .prs files to latest syntax version
707
846
  prs import CLAUDE.md # Import existing AI instructions
708
847
  prs import --dry-run # Preview import conversion
848
+ prs inspect <skill> # Show skill composition provenance
849
+ prs inspect <skill> --layers # Show layer-level breakdown
850
+ prs hooks install # Install auto-compilation hooks for AI tools
851
+ prs hooks install claude # Install hooks for a specific tool
852
+ prs skills add <source> # Add a remote skill (@use + lock update + SKILL.md validation)
853
+ prs skills add <source> --strict # Treat validation warnings as errors
854
+ prs skills add <source> --skip-validation # Bypass Agent Skills spec checks (not recommended)
855
+ prs skills remove <name> # Remove a skill (@use line + lock entry)
856
+ prs skills list # List all imported skills
857
+ prs skills update # Re-resolve markdown-imported skills (re-validates + re-hashes)
709
858
  prs pull # Update registry
710
859
  prs diff --target claude # Show compilation diff
711
860
  prs lock # Generate/update promptscript.lock
@@ -721,7 +870,7 @@ prs registry add <alias> <url> # Add a registry alias
721
870
 
722
871
  ## Output Targets
723
872
 
724
- 38 supported targets. Key examples:
873
+ 38+ supported targets. Key examples:
725
874
 
726
875
  | Target | Main File | Skills |
727
876
  | ----------- | ------------------------------- | -------------------------------------------------- |
@@ -748,6 +897,22 @@ For detailed information about each formatter's output paths, supported features
748
897
  - **Dedicated pages exist for:** Claude Code, GitHub Copilot, Cursor, Antigravity, Factory AI, Gemini CLI, OpenCode
749
898
  - **All 37 formatters indexed at:** `docs/reference/formatters/index.md` with output paths, tier, and feature flags
750
899
 
900
+ ### Auto-Compilation Hooks
901
+
902
+ Instead of running `prs compile --watch` manually, install hooks so your AI tool
903
+ triggers compilation automatically when you edit `.prs` files:
904
+
905
+ ```
906
+ prs hooks install # Auto-detect and install for all detected tools
907
+ prs hooks install claude # Install for a specific tool
908
+ prs hooks install --all # Install for all supported tools
909
+ ```
910
+
911
+ Hooks also protect generated files from direct edits — when an AI agent tries
912
+ to edit a compiled output (e.g., CLAUDE.md), the write is blocked with a message
913
+ pointing to the source `.prs` file. Supported tools: Claude Code, Factory AI,
914
+ Cursor, Windsurf, Cline, GitHub Copilot, Gemini CLI.
915
+
751
916
  ## Project Organization
752
917
 
753
918
  Typical modular structure:
@@ -775,6 +940,8 @@ The entry file uses `@use ./context`, `@use ./standards`, etc. to compose them.
775
940
  in a parent file that defines `params` in `@meta`, with values passed by the child
776
941
  via `@inherit ./parent(key: value)` or `@use ./fragment(key: value)`. They are NOT
777
942
  set from `promptscript.yaml` or CLI flags
943
+ 8. Using `@examples` with `syntax: "1.0.0"` or `"1.1.0"` - `@examples` requires
944
+ syntax version `1.2.0`. Run `prs validate --fix` to auto-upgrade
778
945
 
779
946
  ## Migrating Existing AI Instructions to PromptScript
780
947
 
package/src/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../../../packages/cli/src/cli.ts"],"names":[],"mappings":";AAsSA;;;GAGG;AACH,wBAAgB,GAAG,CAAC,IAAI,GAAE,MAAM,EAAiB,GAAG,IAAI,CAEvD"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../../../packages/cli/src/cli.ts"],"names":[],"mappings":";AA0SA;;;GAGG;AACH,wBAAgB,GAAG,CAAC,IAAI,GAAE,MAAM,EAAiB,GAAG,IAAI,CAEvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../../../../packages/cli/src/commands/compile.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAiBlD,OAAO,EAAE,KAAK,WAAW,EAAyB,MAAM,gBAAgB,CAAC;AAkazE;;GAEG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,cAAc,EACvB,QAAQ,GAAE,WAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC,CA2Kf"}
1
+ {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../../../../packages/cli/src/commands/compile.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAkBlD,OAAO,EAAE,KAAK,WAAW,EAAyB,MAAM,gBAAgB,CAAC;AAkazE;;GAEG;AACH,wBAAsB,cAAc,CAClC,OAAO,EAAE,cAAc,EACvB,QAAQ,GAAE,WAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC,CA4Kf"}
@@ -1 +1 @@
1
- {"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../../../packages/cli/src/commands/skills.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAe9F;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAiB1D;AA+LD;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,CAwFf;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAwDf;AAED;;;;GAIG;AACH,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAgCvD;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,IAAI,CAAC,CA+Ff"}
1
+ {"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../../../packages/cli/src/commands/skills.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAsB9F;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAiB1D;AA+TD;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,IAAI,CAAC,CAkJf;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAwDf;AAED;;;;GAIG;AACH,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAgCvD;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,IAAI,CAAC,CA+Hf"}
@@ -1,2 +1,3 @@
1
1
  export { findPrettierConfig, loadPrettierConfig, resolvePrettierOptions, PRETTIER_CONFIG_FILES, } from './loader.js';
2
+ export { postFormatWithPrettier } from './post-format.js';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/cli/src/prettier/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/cli/src/prettier/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { FormatterOutput } from '@promptscript/compiler';
2
+ import type { Logger } from '@promptscript/core';
3
+ /**
4
+ * Run Prettier (using the project's own configuration) over every markdown
5
+ * output produced by the formatters, mutating the outputs map in place.
6
+ *
7
+ * Why: PromptScript formatters emit best-effort markdown, but they can't
8
+ * perfectly anticipate every Prettier rule (table alignment, prose wrapping,
9
+ * list-continuation indentation, trailing whitespace). Running Prettier as a
10
+ * post-process guarantees every generated `.md` file already conforms to the
11
+ * project's `.prettierrc` and so survives `nx format:check` / pre-commit hooks.
12
+ *
13
+ * The project's `.prettierignore` is intentionally NOT consulted here — these
14
+ * files are owned by PromptScript and should always be normalised, even if a
15
+ * user ignores them from manual prettier runs.
16
+ *
17
+ * @param outputs - Outputs from the compiler (mutated in place)
18
+ * @param projectRoot - Project root used both for resolving Prettier configs
19
+ * and to give each file a realistic absolute path
20
+ * @param logger - Logger used for verbose / debug diagnostics
21
+ */
22
+ export declare function postFormatWithPrettier(outputs: Map<string, FormatterOutput>, projectRoot: string, logger: Logger): Promise<void>;
23
+ //# sourceMappingURL=post-format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-format.d.ts","sourceRoot":"","sources":["../../../../../packages/cli/src/prettier/post-format.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AASjD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,EACrC,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAuCf"}
package/src/types.d.ts CHANGED
@@ -227,6 +227,10 @@ export interface SkillsAddOptions {
227
227
  file?: string;
228
228
  /** Preview changes without writing */
229
229
  dryRun?: boolean;
230
+ /** Skip post-clone SKILL.md frontmatter validation (not recommended) */
231
+ skipValidation?: boolean;
232
+ /** Treat validation warnings as errors */
233
+ strict?: boolean;
230
234
  }
231
235
  /**
232
236
  * Options for the skills remove subcommand.
@@ -241,6 +245,10 @@ export interface SkillsRemoveOptions {
241
245
  export interface SkillsUpdateOptions {
242
246
  /** Preview changes without writing */
243
247
  dryRun?: boolean;
248
+ /** Skip post-clone SKILL.md frontmatter validation (not recommended) */
249
+ skipValidation?: boolean;
250
+ /** Treat validation warnings as errors */
251
+ strict?: boolean;
244
252
  }
245
253
  /**
246
254
  * Options for the inspect command.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/cli/src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,qBAAqB;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,iDAAiD;IACjD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iCAAiC;IACjC,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wDAAwD;IACxD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sEAAsE;IACtE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qCAAqC;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yDAAyD;IACzD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAC;IACp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ClB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,sDAAsD;IACtD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oBAAoB;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/cli/src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,qBAAqB;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,iDAAiD;IACjD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iCAAiC;IACjC,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wDAAwD;IACxD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sEAAsE;IACtE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qCAAqC;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yDAAyD;IACzD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wEAAwE;IACxE,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,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