archgraph-argo 0.13.2 → 0.13.4

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 (2) hide show
  1. package/install-argo.ps1 +15 -1
  2. package/package.json +1 -1
package/install-argo.ps1 CHANGED
@@ -33,6 +33,16 @@ $ErrorActionPreference = 'Stop'
33
33
  $repoRoot = $PSScriptRoot
34
34
  $argoDir = Join-Path $repoRoot 'argo'
35
35
 
36
+ # OpenCode-only model-id remap. argo/agents/*.agent.md is a single source shared
37
+ # verbatim across Copilot / Cursor / OpenCode (and DSH presets), so the original
38
+ # model binding must stay untouched there. OpenCode's model registry does not
39
+ # resolve 'alibaba-cn/qwen3.7-plus'; only the OpenCode deployment artifact
40
+ # remaps that binding to the model id OpenCode knows ('qwen3.7-plus'). All other
41
+ # targets keep the shared source binding unchanged.
42
+ $OpenCodeModelRemap = @{
43
+ 'alibaba-cn/qwen3.7-plus' = 'qwen3.7-plus'
44
+ }
45
+
36
46
  function Copy-Tree {
37
47
  param([string]$Source, [string]$Destination)
38
48
  New-Item -ItemType Directory -Force -Path $Destination | Out-Null
@@ -90,7 +100,11 @@ function Convert-AgentFile {
90
100
  # argument-hint) which OpenCode rejects.
91
101
  $newFront = "---`r`n"
92
102
  if ($desc) { $newFront += "description: `"$($desc -replace '"','\"')`"`r`n" }
93
- if ($model) { $newFront += "model: `"$model`"`r`n" }
103
+ if ($model) {
104
+ $deployModel = $model
105
+ if ($OpenCodeModelRemap.ContainsKey($deployModel)) { $deployModel = $OpenCodeModelRemap[$deployModel] }
106
+ $newFront += "model: `"$deployModel`"`r`n"
107
+ }
94
108
  $newFront += "mode: all`r`n---`r`n"
95
109
  } else {
96
110
  # Cursor markdown agent: name + description + model; drop VS Code-only fields.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archgraph-argo",
3
- "version": "0.13.2",
3
+ "version": "0.13.4",
4
4
  "description": "Deploy the ArchGraph ARGO toolchain, skills, and rules (schema, scripts, argo-init skill, global rule) with one command.",
5
5
  "license": "MIT",
6
6
  "bin": {