-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodules.php
More file actions
584 lines (582 loc) · 19.2 KB
/
modules.php
File metadata and controls
584 lines (582 loc) · 19.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
<?php
declare(strict_types=1);
return [
'Aegis' => [
'package' => 'phalanx-php/aegis',
'description' => 'Managed async for PHP 8.4+ on Swoole',
'type' => 'library',
'namespace' => 'Phalanx\\',
'smokeClass' => 'Phalanx\\Runtime\\RuntimePolicy',
'testNamespace' => 'Phalanx\\Aegis\\Tests\\',
'requires' => [
'php' => '^8.4',
'ext-swoole' => '^6.0',
'phalanx-php/themis' => '^0.6',
'symfony/process' => '^7.0 || ^8.0',
'symfony/uid' => '^7.0 || ^8.0',
],
'devRequires' => [
'phalanx-php/archon' => '^0.6',
'phalanx-php/stoa' => '^0.6',
'phalanx-php/hydra' => '^0.6',
'swoole/ide-helper' => '^6.0',
'phpstan/phpstan' => '^2.0',
'phpunit/phpunit' => '^13.0',
'rector/rector' => '^2.0',
'slevomat/coding-standard' => '^8.15',
'squizlabs/php_codesniffer' => '^3.10 || ^4.0',
],
'bins' => [
'bin/regenerate-accessors',
'bin/check-accessors-in-sync',
],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'async',
'concurrency',
'coroutines',
'swoole',
'supervisor',
'parallel',
'structured-concurrency',
],
'suggests' => [
'phalanx-php/styx' => 'Reactive stream primitives (Emitter, ScopedStream, Channel)',
'phalanx-php/archon' => 'CLI application framework',
'phalanx-php/stoa' => 'HTTP server framework',
'phalanx-php/hydra' => 'Worker process parallelism',
'spatie/backtrace' => 'Enhanced stack traces',
'symfony/runtime' => 'For symfony/runtime integration',
'symfony/dotenv' => 'For .env file support',
],
'allowPlugins' => [
'dealerdirect/phpcodesniffer-composer-installer' => true,
],
'sortPackages' => true,
'devClassmap' => [
'tests/Support/Fixtures/',
],
],
'Archon' => [
'package' => 'phalanx-php/archon',
'description' => 'CLI application framework for Phalanx',
'type' => 'library',
'namespace' => 'Phalanx\\Archon\\',
'smokeClass' => 'Phalanx\\Archon\\Application\\Archon',
'testNamespace' => 'Phalanx\\Archon\\Tests\\',
'requires' => [
'php' => '^8.4',
'phalanx-php/aegis' => '^0.6',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'cli',
'console',
'async',
'phalanx',
],
'suggests' => [
'symfony/runtime' => 'For Symfony Runtime integration via Archon::starting()',
'phalanx-php/styx' => 'For streaming data through console commands',
'phalanx-php/hydra' => 'For worker process parallelism in CLI tasks',
],
'bundles' => [
'Phalanx\\Archon\\Testing\\ArchonTestableBundle',
],
],
'Argos' => [
'package' => 'phalanx-php/argos',
'description' => 'Network discovery, probing, and device management for Phalanx',
'type' => 'library',
'namespace' => 'Phalanx\\Argos\\',
'smokeClass' => 'Phalanx\\Argos\\NetworkConfig',
'testNamespace' => 'Phalanx\\Argos\\Tests\\',
'requires' => [
'php' => '^8.4',
'ext-swoole' => '*',
'phalanx-php/aegis' => '^0.6',
'mlocati/ip-lib' => '^1.22',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'network',
'discovery',
'mdns',
'ssdp',
'wol',
'ping',
'scan',
'async',
'swoole',
],
'suggests' => [],
],
'Athena' => [
'package' => 'phalanx-php/athena',
'description' => 'Agent activity runtime for Phalanx - supervised turns, effects, grants, hooks, and Panoply invocation loops',
'type' => 'library',
'namespace' => 'Phalanx\\Athena\\',
'smokeClass' => 'Phalanx\\Athena\\Athena',
'testNamespace' => 'Phalanx\\Athena\\Tests\\',
'requires' => [
'php' => '^8.4',
'phalanx-php/aegis' => '^0.6',
'phalanx-php/iris' => '^0.6',
'phalanx-php/panoply' => '^0.6',
'phalanx-php/styx' => '^0.6',
'phalanx-php/surreal' => '^0.6',
'symfony/uid' => '^7.0 || ^8.0',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'ai',
'agent',
'llm',
'activity',
'effects',
'grants',
'panoply',
'streaming',
'tools',
'async',
],
'suggests' => [
'phalanx-php/archon' => 'CLI agent commands via Archon command lifecycle',
'phalanx-php/hermes' => 'Real-time agent sessions over WebSocket',
'phalanx-php/theatron' => 'Theatron Collab workspace rendering for agent work and review state',
],
],
'Cli' => [
'package' => 'phalanx-php/cli',
'description' => 'Phalanx CLI: doctor, Swoole installer using PIE, and project scaffolding',
'type' => 'library',
'namespace' => 'Phalanx\\Cli\\',
'smokeClass' => 'Phalanx\\Cli\\PhalanxApplication',
'testNamespace' => 'Phalanx\\Cli\\Tests\\',
'requires' => [
'php' => '^8.4',
'symfony/console' => '^7.4 || ^8.0',
'symfony/process' => '^7.4 || ^8.0',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [
'bin/phalanx',
],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'cli',
'phalanx',
'swoole',
'installer',
'doctor',
],
'suggests' => [],
],
'Enigma' => [
'package' => 'phalanx-php/enigma',
'description' => 'Non-blocking SSH command execution, file transfer, and tunnel management as Phalanx tasks',
'type' => 'library',
'namespace' => 'Phalanx\\Enigma\\',
'smokeClass' => 'Phalanx\\Enigma\\SshConfig',
'testNamespace' => 'Phalanx\\Enigma\\Tests\\',
'requires' => [
'php' => '^8.4',
'phalanx-php/aegis' => '^0.6',
'phalanx-php/grammata' => '^0.6',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [],
'suggests' => [],
],
'Grammata' => [
'package' => 'phalanx-php/grammata',
'description' => 'Async-aware filesystem operations for Phalanx',
'type' => 'library',
'namespace' => 'Phalanx\\Grammata\\',
'smokeClass' => 'Phalanx\\Grammata\\Grammata',
'testNamespace' => 'Phalanx\\Grammata\\Tests\\',
'requires' => [
'php' => '^8.4',
'phalanx-php/aegis' => '^0.6',
'phalanx-php/styx' => '^0.6',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'filesystem',
'async',
'file',
'stream',
'swoole',
],
'suggests' => [
'phalanx-php/hydra' => 'Use for application-owned slow-storage offload when filesystem work should run in workers',
],
],
'Hermes' => [
'package' => 'phalanx-php/hermes',
'description' => 'Native WebSocket server and client for Phalanx',
'type' => 'library',
'namespace' => 'Phalanx\\Hermes\\',
'smokeClass' => 'Phalanx\\Hermes\\Hermes',
'testNamespace' => 'Phalanx\\Hermes\\Tests\\',
'testNamespaces' => [
'Phalanx\\Hermes\\Tests\\' => 'tests/',
'Phalanx\\Hermes\\Client\\Tests\\' => 'tests/Client/',
],
'requires' => [
'php' => '^8.4',
'ext-swoole' => '^6.0',
'phalanx-php/aegis' => '^0.6',
'phalanx-php/stoa' => '^0.6',
'phalanx-php/styx' => '^0.6',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'websocket',
'ws',
'client',
'server',
'swoole',
],
'suggests' => [],
],
'Hydra' => [
'package' => 'phalanx-php/hydra',
'description' => 'Worker process parallelism for Phalanx',
'type' => 'library',
'namespace' => 'Phalanx\\Hydra\\',
'smokeClass' => 'Phalanx\\Hydra\\Hydra',
'testNamespace' => 'Phalanx\\Hydra\\Tests\\',
'requires' => [
'php' => '^8.4',
'phalanx-php/aegis' => '^0.6',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [
'bin/phalanx-worker',
],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'parallel',
'worker',
'process',
'ipc',
'swoole',
],
'suggests' => [],
],
'Iris' => [
'package' => 'phalanx-php/iris',
'description' => 'Outbound HTTP client for Phalanx',
'type' => 'library',
'namespace' => 'Phalanx\\Iris\\',
'smokeClass' => 'Phalanx\\Iris\\Iris',
'testNamespace' => 'Phalanx\\Iris\\Tests\\',
'requires' => [
'php' => '^8.4',
'ext-swoole' => '^6.0',
'phalanx-php/aegis' => '^0.6',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'http',
'client',
'outbound',
'swoole',
],
'suggests' => [],
],
'PHPStan' => [
'package' => 'phalanx-php/phpstan',
'description' => 'PHPStan safety rules for Phalanx concurrent and parallel PHP',
'type' => 'phpstan-extension',
'namespace' => 'Phalanx\\PHPStan\\',
'smokeClass' => 'Phalanx\\PHPStan\\Support\\PathPolicy',
'testNamespace' => 'Phalanx\\PHPStan\\Tests\\',
'requires' => [
'php' => '^8.4',
'phpstan/phpstan' => '^2.0',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'phpstan',
'phalanx',
'swoole',
'static-analysis',
'async',
],
'suggests' => [],
'phpstanIncludes' => [
'extension.neon',
],
'sortPackages' => true,
],
'Panoply' => [
'package' => 'phalanx-php/panoply',
'description' => 'Agent abstraction for PHP 8.4+: contracts, provider/transport adapters, conversation parsers, vendor HomeDirs',
'type' => 'library',
'namespace' => 'Phalanx\\Panoply\\',
'smokeClass' => 'Phalanx\\Panoply\\Agent',
'testNamespace' => 'Phalanx\\Panoply\\Tests\\',
'requires' => [
'php' => '^8.4',
'symfony/uid' => '^7.0 || ^8.0',
'symfony/yaml' => '^7.0 || ^8.0',
],
'devRequires' => [
'swoole/ide-helper' => '^6.0',
'phalanx-php/aegis' => '^0.6',
'phalanx-php/iris' => '^0.6',
'phpstan/phpstan' => '^2.0',
'phpunit/phpunit' => '^13.0',
'rector/rector' => '^2.0',
'slevomat/coding-standard' => '^8.15',
'squizlabs/php_codesniffer' => '^3.10 || ^4.0',
'php-collective/toml' => '^0.1.3',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'agents',
'llm',
'anthropic',
'openai',
'gemini',
'ollama',
'agent-abstraction',
'conversation-parser',
'swoole',
],
'suggests' => [
'phalanx-php/aegis' => 'Required for the Aegis Runtime adapter; enables scope-bound cancellation and cleanup',
'phalanx-php/athena' => 'Required for the Athena Provider adapter; bridges Athena activity output to Panoply cues',
'phalanx-php/iris' => 'Required for the Iris Transport adapter; Swoole-native streaming HTTP',
'phalanx-php/grammata' => 'Required for HomeDir parsers; managed file I/O with FilePool',
'phalanx-php/archon' => 'Required for the panoply:agents:scan Archon command',
'ext-sqlite3' => 'Required for Codex HomeDir sqlite-backed history',
'ext-swoole' => 'Required for the Iris transport and Aegis runtime',
'php-collective/toml' => 'Required for reading Codex config.toml settings; without it Settings operates in no-op mode and asString/asInt/etc. throw',
],
'allowPlugins' => [
'dealerdirect/phpcodesniffer-composer-installer' => true,
],
'sortPackages' => true,
],
'Skopos' => [
'package' => 'phalanx-php/skopos',
'description' => 'Dev server orchestrator with process management, output multiplexing, and file watching',
'type' => 'library',
'namespace' => 'Phalanx\\Skopos\\',
'smokeClass' => 'Phalanx\\Skopos\\Skopos',
'testNamespace' => 'Phalanx\\Skopos\\Tests\\',
'requires' => [
'php' => '^8.4',
'ext-swoole' => '^6.0',
'phalanx-php/aegis' => '^0.6',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [
'bin/skopos',
],
'branchAlias' => '0.6.x-dev',
'keywords' => [],
'suggests' => [],
],
'Stoa' => [
'package' => 'phalanx-php/stoa',
'description' => 'HTTP server framework for Phalanx',
'type' => 'library',
'namespace' => 'Phalanx\\Stoa\\',
'smokeClass' => 'Phalanx\\Stoa\\Stoa',
'testNamespace' => 'Phalanx\\Stoa\\Tests\\',
'requires' => [
'php' => '^8.4',
'guzzlehttp/psr7' => '^2.0',
'nikic/fast-route' => '^2.0',
'ext-swoole' => '^6.0',
'phalanx-php/aegis' => '^0.6',
],
'devRequires' => [
'phalanx-php/iris' => '^0.6',
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'http',
'server',
'routing',
'async',
'fastroute',
'swoole',
],
'suggests' => [
'symfony/runtime' => 'For Symfony Runtime integration via Stoa::starting()',
'phalanx-php/hydra' => 'For worker process parallelism in request handlers',
],
'bundles' => [
'Phalanx\\Stoa\\Testing\\StoaTestableBundle',
],
],
'Styx' => [
'package' => 'phalanx-php/styx',
'description' => 'Reactive stream primitives for Phalanx',
'type' => 'library',
'namespace' => 'Phalanx\\Styx\\',
'smokeClass' => 'Phalanx\\Styx\\Styx',
'testNamespace' => 'Phalanx\\Styx\\Tests\\',
'requires' => [
'php' => '^8.4',
'ext-swoole' => '^6.0',
'phalanx-php/aegis' => '^0.6',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'reactive',
'stream',
'channel',
'emitter',
'backpressure',
'async',
'swoole',
],
'suggests' => [],
],
'Surreal' => [
'package' => 'phalanx-php/surreal',
'description' => 'SurrealDB RPC and live-query client for Phalanx using Iris, Hermes, and Aegis runtime supervision',
'type' => 'library',
'namespace' => 'Phalanx\\Surreal\\',
'smokeClass' => 'Phalanx\\Surreal\\Surreal',
'testNamespace' => 'Phalanx\\Surreal\\Tests\\',
'requires' => [
'php' => '^8.4',
'phalanx-php/aegis' => '^0.6',
'phalanx-php/hermes' => '^0.6',
'phalanx-php/iris' => '^0.6',
'phalanx-php/themis' => '^0.6',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'surrealdb',
'phalanx',
'aegis',
'iris',
'http',
'rpc',
],
'suggests' => [],
],
'Themis' => [
'package' => 'phalanx-php/themis',
'description' => 'Config hydration and environment validation primitives for Phalanx',
'type' => 'library',
'namespace' => 'Phalanx\\Themis\\',
'smokeClass' => 'Phalanx\\Themis\\ConfigFactory',
'testNamespace' => 'Phalanx\\Themis\\Tests\\',
'requires' => [
'php' => '^8.4',
],
'devRequires' => [
'phpunit/phpunit' => '^13.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'keywords' => [
'config',
'env',
'hydration',
'validation',
],
'suggests' => [],
],
'Theatron' => [
'package' => 'phalanx-php/theatron',
'description' => 'Terminal UI and agent collaboration framework for Phalanx PHP',
'type' => 'library',
'namespace' => 'Phalanx\\Theatron\\',
'smokeClass' => 'Phalanx\\Theatron\\Theatron',
'testNamespace' => 'Phalanx\\Theatron\\Tests\\',
'requires' => [
'php' => '^8.4',
'ext-swoole' => '^6.0',
'ext-pcntl' => '*',
'ext-mbstring' => '*',
'phalanx-php/aegis' => '^0.6',
'phalanx-php/athena' => '^0.6',
'phalanx-php/grammata' => '^0.6',
'phalanx-php/panoply' => '^0.6',
],
'conflicts' => [
'phalanx-php/grammata' => '<0.6.3',
],
'devRequires' => [
'slevomat/coding-standard' => '*',
'squizlabs/php_codesniffer' => '*',
'rector/rector' => '^2.4',
'rector/swiss-knife' => '^2.3',
'phpunit/phpunit' => '^13.1',
'phpstan/phpstan' => '^2.0',
],
'bins' => [],
'branchAlias' => '0.6.x-dev',
'autoloadFiles' => [
'src/Tui/Kit/functions.php',
],
'keywords' => [
'agent-collab',
'terminal-ui',
'theatron',
],
'suggests' => [],
'allowPlugins' => [
'dealerdirect/phpcodesniffer-composer-installer' => true,
],
],
];