@promptscript/cli 1.2.0 → 1.3.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/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.3.0](https://github.com/mrwogu/promptscript/compare/v1.2.0...v1.3.0) (2026-03-11)
9
+
10
+
11
+ ### Features
12
+
13
+ * **formatters:** add mixed models support per agent/droid ([939f75a](https://github.com/mrwogu/promptscript/commit/939f75ac4d8beb2e823007826c2e266ab5c7380b))
14
+
8
15
  ## [1.2.0](https://github.com/mrwogu/promptscript/compare/v1.1.0...v1.2.0) (2026-03-11)
9
16
 
10
17
 
package/index.js CHANGED
@@ -4129,6 +4129,7 @@ var GitHubFormatter = class extends BaseFormatter {
4129
4129
  description,
4130
4130
  tools: this.parseToolsArray(obj["tools"]),
4131
4131
  model: obj["model"] ? this.valueToString(obj["model"]) : void 0,
4132
+ specModel: obj["specModel"] ? this.valueToString(obj["specModel"]) : void 0,
4132
4133
  handoffs: handoffs.length > 0 ? handoffs : void 0,
4133
4134
  content: obj["content"] ? this.valueToString(obj["content"]) : ""
4134
4135
  });
@@ -4220,6 +4221,10 @@ var GitHubFormatter = class extends BaseFormatter {
4220
4221
  if (mappedModel) {
4221
4222
  lines.push(`model: ${mappedModel}`);
4222
4223
  }
4224
+ const mappedSpecModel = this.mapModelName(config.specModel);
4225
+ if (mappedSpecModel) {
4226
+ lines.push(`specModel: ${mappedSpecModel}`);
4227
+ }
4223
4228
  if (config.handoffs && config.handoffs.length > 0) {
4224
4229
  lines.push(...this.renderHandoffsYaml(config.handoffs));
4225
4230
  }
@@ -6635,6 +6640,8 @@ var FactoryFormatter = class extends MarkdownInstructionFormatter {
6635
6640
  content: obj["content"] ? this.valueToString(obj["content"]) : "",
6636
6641
  model: obj["model"] ? this.valueToString(obj["model"]) : void 0,
6637
6642
  reasoningEffort: this.parseReasoningEffort(obj["reasoningEffort"]),
6643
+ specModel: obj["specModel"] ? this.valueToString(obj["specModel"]) : void 0,
6644
+ specReasoningEffort: this.parseReasoningEffort(obj["specReasoningEffort"]),
6638
6645
  tools: this.parseDroidTools(obj["tools"])
6639
6646
  });
6640
6647
  }
@@ -6655,6 +6662,12 @@ var FactoryFormatter = class extends MarkdownInstructionFormatter {
6655
6662
  if (droidConfig.reasoningEffort) {
6656
6663
  lines.push(`reasoningEffort: ${droidConfig.reasoningEffort}`);
6657
6664
  }
6665
+ if (droidConfig.specModel) {
6666
+ lines.push(`specModel: ${droidConfig.specModel}`);
6667
+ }
6668
+ if (droidConfig.specReasoningEffort) {
6669
+ lines.push(`specReasoningEffort: ${droidConfig.specReasoningEffort}`);
6670
+ }
6658
6671
  if (droidConfig.tools) {
6659
6672
  if (typeof droidConfig.tools === "string") {
6660
6673
  lines.push(`tools: ${droidConfig.tools}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptscript/cli",
3
- "version": "1.2.0",
3
+ "version": "1.3.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",
@@ -230,6 +230,10 @@ Custom subagent definitions. Compiles to `.claude/agents/` for Claude Code,
230
230
  }
231
231
  ```
232
232
 
233
+ Supports mixed models per agent: `specModel` sets a different model for
234
+ Specification/planning mode (GitHub, Factory), `specReasoningEffort` sets reasoning
235
+ effort for the spec model (Factory only, values: "low", "medium", "high").
236
+
233
237
  Factory AI droids support additional properties: `model` (any model ID or "inherit"),
234
238
  `reasoningEffort` ("low", "medium", "high"), and `tools` (category name like "read-only"
235
239
  or array of tool IDs).