@osovv/vv-opencode 0.35.1 → 0.35.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.
@@ -13,10 +13,28 @@ type ProviderObjectPatchPreset = {
13
13
  type PatchPreset = ProviderBaseUrlPatchPreset | ProviderObjectPatchPreset;
14
14
  declare const PATCH_PROVIDER_PRESETS: {
15
15
  readonly "stepfun-ai": {
16
- readonly kind: "provider-base-url";
16
+ readonly kind: "provider-object";
17
17
  readonly providerID: "stepfun";
18
- readonly baseURL: "https://api.stepfun.ai/v1";
19
- readonly summary: "provider.stepfun.options.baseURL=https://api.stepfun.ai/v1";
18
+ readonly value: {
19
+ readonly options: {
20
+ readonly baseURL: "https://api.stepfun.ai/v1";
21
+ };
22
+ readonly models: {
23
+ readonly "step-3.7-flash": {
24
+ readonly name: "Step 3.7 Flash";
25
+ readonly limit: {
26
+ readonly context: 256000;
27
+ readonly input: 256000;
28
+ readonly output: 256000;
29
+ };
30
+ readonly modalities: {
31
+ readonly input: readonly ["text", "image"];
32
+ readonly output: readonly ["text"];
33
+ };
34
+ };
35
+ };
36
+ };
37
+ readonly summary: "provider.stepfun.models.step-3.7-flash patched + baseURL";
20
38
  };
21
39
  readonly zai: {
22
40
  readonly kind: "provider-object";
@@ -33,6 +33,25 @@ const ZAI_CODING_PLAN_PATCH = {
33
33
  },
34
34
  },
35
35
  };
36
+ const STEPFUN_PATCH = {
37
+ options: {
38
+ baseURL: "https://api.stepfun.ai/v1",
39
+ },
40
+ models: {
41
+ "step-3.7-flash": {
42
+ name: "Step 3.7 Flash",
43
+ limit: {
44
+ context: 256000,
45
+ input: 256000,
46
+ output: 256000,
47
+ },
48
+ modalities: {
49
+ input: ["text", "image"],
50
+ output: ["text"],
51
+ },
52
+ },
53
+ },
54
+ };
36
55
  const OPENAI_PATCH = {
37
56
  models: {
38
57
  "vv-gpt-5.4-xhigh": {
@@ -59,10 +78,10 @@ const OPENAI_PATCH = {
59
78
  };
60
79
  const PATCH_PROVIDER_PRESETS = {
61
80
  "stepfun-ai": {
62
- kind: "provider-base-url",
81
+ kind: "provider-object",
63
82
  providerID: "stepfun",
64
- baseURL: "https://api.stepfun.ai/v1",
65
- summary: "provider.stepfun.options.baseURL=https://api.stepfun.ai/v1",
83
+ value: STEPFUN_PATCH,
84
+ summary: "provider.stepfun.models.step-3.7-flash patched + baseURL",
66
85
  },
67
86
  zai: {
68
87
  kind: "provider-object",
@@ -1 +1 @@
1
- {"version":3,"file":"patch-provider.js","sourceRoot":"","sources":["../../src/commands/patch-provider.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,iBAAiB;AACjB,wBAAwB;AACxB,kDAAkD;AAClD,mLAAmL;AACnL,0CAA0C;AAC1C,gDAAgD;AAChD,kBAAkB;AAClB,sBAAsB;AACtB,sBAAsB;AACtB,EAAE;AACF,mBAAmB;AACnB,yDAAyD;AACzD,+FAA+F;AAC/F,8EAA8E;AAC9E,mGAAmG;AACnG,iBAAiB;AACjB,EAAE;AACF,uBAAuB;AACvB,oGAAoG;AACpG,qBAAqB;AAErB,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAkB5B,MAAM,qBAAqB,GAAG;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE;YACd,oBAAoB,EAAE;gBACpB,KAAK,EAAE;oBACL,OAAO,EAAE,MAAM;oBACf,MAAM,EAAE,KAAK;iBACd;aACF;SACF;KACF;CACyC,CAAC;AAE7C,MAAM,YAAY,GAAG;IACnB,MAAM,EAAE;QACN,kBAAkB,EAAE;YAClB,IAAI,EAAE,kBAAkB;YACxB,EAAE,EAAE,SAAS;YACb,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE;gBACP,eAAe,EAAE,OAAO;gBACxB,gBAAgB,EAAE,MAAM;gBACxB,OAAO,EAAE,CAAC,6B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GAAG,MAAM,wBAAwB,CAAC,UAAU,EAAE;YACpE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE;YAClB,SAAS;SACV,CAAC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,GAAG,mBAAmB,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC,OAAO,GAAG,CAAC,CAAC;IACpE,CAAC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"patch-provider.js","sourceRoot":"","sources":["../../src/commands/patch-provider.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,iBAAiB;AACjB,wBAAwB;AACxB,kDAAkD;AAClD,mLAAmL;AACnL,0CAA0C;AAC1C,gDAAgD;AAChD,kBAAkB;AAClB,sBAAsB;AACtB,sBAAsB;AACtB,EAAE;AACF,mBAAmB;AACnB,yDAAyD;AACzD,+FAA+F;AAC/F,8EAA8E;AAC9E,mGAAmG;AACnG,iBAAiB;AACjB,EAAE;AACF,uBAAuB;AACvB,oGAAoG;AACpG,qBAAqB;AAErB,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAkB5B,MAAM,qBAAqB,GAAG;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE;YACd,oBAAoB,EAAE;gBACpB,KAAK,EAAE;oBACL,OAAO,EAAE,MAAM;oBACf,MAAM,EAAE,KAAK;iBACd;aACF;SACF;KACF;CACyC,CAAC;AAE7C,MAAM,aAAa,GAAG;IACpB,OAAO,EAAE;QACP,OAAO,EAAE,2BAA2B;KACrC;IACD,MAAM,EAAE;QACN,gBAAgB,EAAE;YAChB,IAAI,EAAE,gBAAgB;YACtB,KAAK,EAAE;gBACL,OAAO,EAAE,MAAM;gBACf,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,MAAM;aACf;YACD,UAAU,EAAE;gBACV,KAAK,EAAE,CAAC,MAAM,EAAE,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AChB,MAAM,UAAU,GAAG,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;QACtE,MAAM,SAAS,GAAG,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAC1F,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,wBAAwB,CAAC,UAAU,EAAE;YACpE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE;YAClB,SAAS;SACV,CAAC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,GAAG,mBAAmB,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC,OAAO,GAAG,CAAC,CAAC;IACpE,CAAC;CACF,CAAC,CAAC"}
@@ -39,7 +39,7 @@ export declare const BUILTIN_VVOC_PRESET_REGISTRY: {
39
39
  readonly description: "Personal osovv role assignments (deepseek + stepfun + minimax).";
40
40
  readonly agents: {
41
41
  readonly default: "deepseek/deepseek-v4-flash";
42
- readonly fast: "stepfun/step-3.5-flash";
42
+ readonly fast: "stepfun/step-3.7-flash";
43
43
  readonly smart: "deepseek/deepseek-v4-pro";
44
44
  readonly vision: "minimax-coding-plan/MiniMax-M2.7";
45
45
  };
@@ -60,7 +60,7 @@ export const BUILTIN_VVOC_PRESET_REGISTRY = {
60
60
  description: "Personal osovv role assignments (deepseek + stepfun + minimax).",
61
61
  agents: {
62
62
  default: "deepseek/deepseek-v4-flash",
63
- fast: "stepfun/step-3.5-flash",
63
+ fast: "stepfun/step-3.7-flash",
64
64
  smart: "deepseek/deepseek-v4-pro",
65
65
  vision: "minimax-coding-plan/MiniMax-M2.7",
66
66
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovv/vv-opencode",
3
- "version": "0.35.1",
3
+ "version": "0.35.4",
4
4
  "description": "Portable OpenCode workflow plugins, explicit memory, and CLI tooling.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://cdn.jsdelivr.net/npm/@osovv/vv-opencode@0.35.1/schemas/vvoc/v3.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@osovv/vv-opencode@0.35.4/schemas/vvoc/v3.json",
4
4
  "title": "vvoc config",
5
5
  "description": "Canonical vvoc configuration document.",
6
6
  "type": "object",
@@ -145,12 +145,36 @@ Run the acceptance criteria. For each criterion:
145
145
  - Does the test pass?
146
146
  - Did the implementer miss any edge cases?
147
147
 
148
- If all criteria pass → close.
148
+ If all criteria pass → proceed to commit.
149
149
  If criteria fail → re-dispatch implementer with specific failure details.
150
150
  </step>
151
151
 
152
+ <step name="commit">
153
+ After all acceptance criteria pass, commit the task's changes to git.
154
+ All changed files (new, modified, deleted) from the task must be committed together.
155
+
156
+ Derive a business task identifier from (in priority order):
157
+ 1. Branch name — extract ticket/issue reference (e.g. `feat/JIRA-123-description` → `JIRA-123`)
158
+ 2. Spec title from `.vvoc/specs/` — if a spec exists for this feature, use its title
159
+ 3. Plan title from plan.xml — use the plan's summary or overarching feature name
160
+ 4. Ask the user explicitly — if no identifier is derivable, ask the user what business context to include
161
+
162
+ Match the commit message style to the repository's existing convention.
163
+ Inspect the last 10 commits with `git log --oneline -10` and replicate the pattern.
164
+ Typical modern repos use conventional commits: `type(scope): description` or `type: description`.
165
+
166
+ Format: `&lt;business-ref&gt; &lt;type&gt;(&lt;scope&gt;): &lt;task title&gt;`
167
+ e.g. `JIRA-123 feat(catalog): implement product search endpoint`
168
+ If no business identifier is available, omit it: `fix(scope): task title`
169
+
170
+ Do NOT include internal T-NNN task IDs in commit messages — these are workflow-local identifiers.
171
+
172
+ If git is not available or the working directory is not a git repository, skip with a warning.
173
+ If the commit fails (e.g. nothing to commit, hook rejection), report the failure and stop. Do not silently proceed.
174
+ </step>
175
+
152
176
  <step name="close">
153
- Mark the task complete in TodoWrite. Close the work item with work_item_close.
177
+ The task's changes are already committed. Mark the task complete in TodoWrite. Close the work item with work_item_close.
154
178
  If all tasks are done → proceed to completion.
155
179
  Otherwise → move to the next task in dependency order.
156
180
  </step>