snow-flow 1.3.3 → 1.3.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.
@@ -21,7 +21,7 @@ const ConfigSchema = zod_1.z.object({
21
21
  dataDir: zod_1.z.string().default(process.env.SNOW_FLOW_HOME || path_1.default.join(os_1.default.homedir(), '.snow-flow')),
22
22
  maxConcurrentOperations: zod_1.z.number().min(1).max(100).default(10),
23
23
  sessionTimeout: zod_1.z.number().min(300000).default(3600000), // 1 hour default
24
- }),
24
+ }).default({}),
25
25
  // Agent configuration
26
26
  agents: zod_1.z.object({
27
27
  queen: zod_1.z.object({
@@ -64,7 +64,7 @@ const ConfigSchema = zod_1.z.object({
64
64
  capabilities: zod_1.z.array(zod_1.z.string()).default(['unit-test', 'integration-test', 'performance-test']),
65
65
  }),
66
66
  }),
67
- }),
67
+ }).default({}),
68
68
  // Memory system configuration
69
69
  memory: zod_1.z.object({
70
70
  dbPath: zod_1.z.string().optional(),
@@ -88,7 +88,7 @@ const ConfigSchema = zod_1.z.object({
88
88
  interval: zod_1.z.number().min(3600000).default(86400000), // 24 hours
89
89
  retentionDays: zod_1.z.number().min(7).default(30),
90
90
  }),
91
- }),
91
+ }).default({}),
92
92
  // MCP server configuration
93
93
  mcp: zod_1.z.object({
94
94
  servers: zod_1.z.object({
@@ -128,7 +128,7 @@ const ConfigSchema = zod_1.z.object({
128
128
  required: zod_1.z.boolean().default(true),
129
129
  tokenExpiry: zod_1.z.number().min(3600000).default(86400000), // 24 hours
130
130
  }),
131
- }),
131
+ }).default({}),
132
132
  // ServiceNow connection settings
133
133
  servicenow: zod_1.z.object({
134
134
  instance: zod_1.z.string().optional(),
@@ -154,7 +154,7 @@ const ConfigSchema = zod_1.z.object({
154
154
  redirectPort: zod_1.z.number().min(3000).max(65535).default(3005),
155
155
  redirectPath: zod_1.z.string().default('/callback'),
156
156
  }),
157
- }),
157
+ }).default({}),
158
158
  // Monitoring configuration
159
159
  monitoring: zod_1.z.object({
160
160
  performance: zod_1.z.object({
@@ -179,7 +179,7 @@ const ConfigSchema = zod_1.z.object({
179
179
  webhookUrl: zod_1.z.string().url().optional(),
180
180
  severityThreshold: zod_1.z.enum(['info', 'warn', 'error']).default('warn'),
181
181
  }),
182
- }),
182
+ }).default({}),
183
183
  // Health check configuration
184
184
  health: zod_1.z.object({
185
185
  checks: zod_1.z.object({
@@ -193,7 +193,7 @@ const ConfigSchema = zod_1.z.object({
193
193
  memoryUsage: zod_1.z.number().min(100).default(1000), // MB
194
194
  queueSize: zod_1.z.number().min(10).default(100),
195
195
  }),
196
- }),
196
+ }).default({}),
197
197
  // Feature flags
198
198
  features: zod_1.z.object({
199
199
  autoPermissions: zod_1.z.boolean().default(false),
@@ -205,7 +205,7 @@ const ConfigSchema = zod_1.z.object({
205
205
  progressMonitoring: zod_1.z.boolean().default(true),
206
206
  neuralPatterns: zod_1.z.boolean().default(false),
207
207
  cognitiveAnalysis: zod_1.z.boolean().default(false),
208
- }),
208
+ }).default({}),
209
209
  });
210
210
  class SnowFlowConfig {
211
211
  constructor(overrides) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "ServiceNow Queen Agent - Hive-Mind Intelligence for ServiceNow Development inspired by claude-flow. Transform complex workflows into elegant one-command orchestration.",
5
5
  "main": "dist/index.js",
6
6
  "type": "commonjs",