@omnifyjp/omnify 5.2.3 → 5.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.
@@ -67,6 +67,10 @@
67
67
  "$ref": "#/definitions/AuditConfig",
68
68
  "description": "Audit columns (created_by_id / updated_by_id / deleted_by_id) and audit-log history table feature (issue #94)"
69
69
  },
70
+ "workflow": {
71
+ "$ref": "#/definitions/WorkflowConfig",
72
+ "description": "Plan/debug state backend selection. Default 'local' writes plans/ and debugs/ folders; future backends (github, wiki, ...) plug in via internal/workflow.Backend without touching skills."
73
+ },
70
74
  "verbose": {
71
75
  "type": "boolean",
72
76
  "default": false,
@@ -105,6 +109,34 @@
105
109
  }
106
110
  }
107
111
  },
112
+ "WorkflowConfig": {
113
+ "type": "object",
114
+ "additionalProperties": true,
115
+ "properties": {
116
+ "backend": {
117
+ "type": "string",
118
+ "default": "local",
119
+ "description": "Backend kind: 'local' (default) writes to plans/ and debugs/ folders. Future values (github, wiki, ...) supported by newer omnify versions; older binaries fall back to local with a warning rather than crashing."
120
+ },
121
+ "local": {
122
+ "type": "object",
123
+ "additionalProperties": false,
124
+ "description": "LocalBackend overrides — only consulted when backend is 'local' or omitted.",
125
+ "properties": {
126
+ "plansDir": {
127
+ "type": "string",
128
+ "default": "plans",
129
+ "description": "Directory holding plan-NNN/ subdirectories, relative to project root."
130
+ },
131
+ "debugsDir": {
132
+ "type": "string",
133
+ "default": "debugs",
134
+ "description": "Directory holding debug-NNN/ subdirectories, relative to project root."
135
+ }
136
+ }
137
+ }
138
+ }
139
+ },
108
140
  "AuditConfig": {
109
141
  "type": "object",
110
142
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnifyjp/omnify",
3
- "version": "5.2.3",
3
+ "version": "5.3.0",
4
4
  "description": "Schema-driven code generation for Laravel, TypeScript, and SQL",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -36,10 +36,10 @@
36
36
  "zod": "^3.24.0"
37
37
  },
38
38
  "optionalDependencies": {
39
- "@omnifyjp/omnify-darwin-arm64": "5.2.3",
40
- "@omnifyjp/omnify-darwin-x64": "5.2.3",
41
- "@omnifyjp/omnify-linux-x64": "5.2.3",
42
- "@omnifyjp/omnify-linux-arm64": "5.2.3",
43
- "@omnifyjp/omnify-win32-x64": "5.2.3"
39
+ "@omnifyjp/omnify-darwin-arm64": "5.3.0",
40
+ "@omnifyjp/omnify-darwin-x64": "5.3.0",
41
+ "@omnifyjp/omnify-linux-x64": "5.3.0",
42
+ "@omnifyjp/omnify-linux-arm64": "5.3.0",
43
+ "@omnifyjp/omnify-win32-x64": "5.3.0"
44
44
  }
45
45
  }
package/types/config.d.ts CHANGED
@@ -150,6 +150,37 @@ export interface AuditConfig {
150
150
  logQueue?: string;
151
151
  }
152
152
 
153
+ /**
154
+ * Plan/debug workflow backend selection. Default 'local' writes
155
+ * `plans/plan-NNN/` and `debugs/debug-NNN/` folders in the repo —
156
+ * matches the historical omnify-plan / omnify-debug skill output
157
+ * byte-for-byte. Future backends (GitHub issues, internal wiki,
158
+ * Notion, ...) plug in via `internal/workflow.Backend` without
159
+ * changes to skills, status command, or MCP tools.
160
+ *
161
+ * Long-form `.md` content (DESIGN/TESTS/NOTES, SYMPTOMS/INVESTIGATION/FIX)
162
+ * always lives in the repository regardless of backend; only metadata
163
+ * + task checklist routes through the chosen backend. This keeps git
164
+ * as the source of truth for design content (atomic with code commits,
165
+ * no size limits) while letting team coordination move to whichever
166
+ * tool fits.
167
+ */
168
+ export interface WorkflowConfig {
169
+ /**
170
+ * Backend kind. Open enum: `local` is built-in; future values are
171
+ * accepted by newer omnify versions, ignored (with warning) by
172
+ * older binaries — your config doesn't crash old CLIs.
173
+ */
174
+ backend?: 'local' | (string & {});
175
+ /** LocalBackend overrides — only consulted when backend is 'local' or omitted. */
176
+ local?: {
177
+ /** Directory holding `plan-NNN/` subdirectories. Default 'plans'. */
178
+ plansDir?: string;
179
+ /** Directory holding `debug-NNN/` subdirectories. Default 'debugs'. */
180
+ debugsDir?: string;
181
+ };
182
+ }
183
+
153
184
  /** External schema package configuration. */
154
185
  export interface PackageConfig {
155
186
  /** Path to package root (short form: auto-discovers omnify.yaml inside). */
@@ -208,6 +239,8 @@ export interface OmnifyConfig {
208
239
  codegen?: CodegenConfig;
209
240
  /** Audit columns + audit-log history table feature (issue #94). */
210
241
  audit?: AuditConfig;
242
+ /** Plan/debug workflow backend (default 'local'). */
243
+ workflow?: WorkflowConfig;
211
244
  /** Package mode: stable deterministic timestamps for all Laravel migrations. Issue #60. */
212
245
  package?: boolean;
213
246
  /** Enable verbose output during generation. */