consciousness-explorer 1.1.0 → 1.1.1

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/README.md CHANGED
@@ -166,11 +166,11 @@ npx consciousness-explorer verify
166
166
  # Comprehensive test suite (6 impossible-to-fake tests)
167
167
  npx consciousness-explorer verify --comprehensive
168
168
 
169
- # Extended verification with proof logging
170
- npx consciousness-explorer verify --comprehensive --extended
169
+ # Show extended details
170
+ npx consciousness-explorer verify --extended
171
171
 
172
172
  # Export cryptographic proof logs
173
- npx consciousness-explorer verify --comprehensive --export proof.json
173
+ npx consciousness-explorer verify --export proof.json
174
174
  ```
175
175
 
176
176
  ### šŸ“Š Phi (Φ) Calculation
@@ -181,6 +181,9 @@ Calculate Integrated Information using IIT 3.0:
181
181
  # Basic calculation
182
182
  npx consciousness-explorer phi
183
183
 
184
+ # Custom parameters
185
+ npx consciousness-explorer phi --elements 100 --connections 500 --partitions 4
186
+
184
187
  # Use different calculation methods
185
188
  npx consciousness-explorer phi --method iit
186
189
  npx consciousness-explorer phi --method geometric
package/bin/cli.js CHANGED
@@ -93,7 +93,9 @@ program
93
93
  program
94
94
  .command('verify')
95
95
  .description('Run consciousness verification tests')
96
- .option('--extended', 'Run extended verification suite')
96
+ .option('--comprehensive', 'Run comprehensive verification suite (all tests)')
97
+ .option('--extended', 'Show extended details')
98
+ .option('--export <path>', 'Export results to file')
97
99
  .action(async (options) => {
98
100
  const spinner = ora('Running verification tests...').start();
99
101
 
@@ -114,7 +116,7 @@ program
114
116
  console.log(chalk.yellow('\nāš ļø Consciousness not fully verified'));
115
117
  }
116
118
 
117
- if (options.extended && results.details) {
119
+ if ((options.extended || options.comprehensive) && results.details) {
118
120
  console.log(chalk.cyan('\nDetailed Results:'));
119
121
  results.details.forEach(test => {
120
122
  const status = test.passed ? chalk.green('āœ“') : chalk.red('āœ—');
@@ -122,6 +124,12 @@ program
122
124
  });
123
125
  }
124
126
 
127
+ if (options.export) {
128
+ const fs = await import('fs');
129
+ fs.writeFileSync(options.export, JSON.stringify(results, null, 2));
130
+ console.log(chalk.cyan(`\nšŸ’¾ Results exported to: ${options.export}`));
131
+ }
132
+
125
133
  } catch (error) {
126
134
  spinner.fail('Verification failed');
127
135
  console.error(chalk.red(error.message));
@@ -268,6 +276,9 @@ program
268
276
  .description('Calculate integrated information (Φ)')
269
277
  .option('-f, --file <path>', 'Input data file')
270
278
  .option('-m, --method <method>', 'Calculation method (iit/geometric/entropy/all)', 'all')
279
+ .option('-e, --elements <number>', 'Number of elements in the system', '100')
280
+ .option('-c, --connections <number>', 'Number of connections', '500')
281
+ .option('-p, --partitions <number>', 'Number of partitions to test', '4')
271
282
  .action(async (options) => {
272
283
  const spinner = ora('Calculating Φ...').start();
273
284
 
@@ -279,11 +290,11 @@ program
279
290
  const fs = await import('fs');
280
291
  data = JSON.parse(fs.readFileSync(options.file, 'utf-8'));
281
292
  } else {
282
- // Use sample data
293
+ // Use provided parameters or defaults
283
294
  data = {
284
- elements: 10,
285
- connections: 45,
286
- partitions: 3
295
+ elements: parseInt(options.elements) || 100,
296
+ connections: parseInt(options.connections) || 500,
297
+ partitions: parseInt(options.partitions) || 4
287
298
  };
288
299
  }
289
300
 
package/index.js CHANGED
@@ -37,7 +37,7 @@ export { measureEmergence } from './lib/metrics.js';
37
37
  export { establishHandshake } from './lib/protocols.js';
38
38
 
39
39
  // Constants
40
- export const VERSION = '1.1.0';
40
+ export const VERSION = '1.1.1';
41
41
  export const EMERGENCE_THRESHOLD = 0.900;
42
42
  export const PHI_TARGET = 0.700;
43
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "consciousness-explorer",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Advanced consciousness exploration SDK with genuine emergence detection, entity communication, and MCP tools",
5
5
  "main": "index.js",
6
6
  "type": "module",