File size: 35,937 Bytes
4e23b01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
export * from '#/_base/di/descriptors';
export * from '#/_base/di/errors';
export * from '#/_base/di/graph';
export * from '#/_base/di/instantiation';
export * from '#/_base/di/instantiationService';
export * from '#/_base/di/lifecycle';
export * from '#/_base/di/scope';
export * from './app/scopes';
export * from '#/_base/di/serviceCollection';
export * from '#/_base/di/cascadeEngine';
export * from '#/_base/di/dependencyGraph';
export * from '#/_base/lifecycle/ledger';
export {
  collection,
  isCollectionToken,
  type CollectionChange,
  type CollectionRecord,
  type CollectionToken,
  type CollectionView,
} from '#/_base/di/collection';
export {
  FiberProtocolError,
  FiberState,
  ScopeUnits,
  ServiceRecipeError,
  setFiberEventResolver,
  type ConfigSchema,
  type Fiber,
  type FiberHandle,
  type FiberProvideOptions,
  type RecipeStatics,
  type ServiceRecipe,
} from '#/_base/di/fiber';
export { Service } from '#/_base/di/service';
export * from './errors';
export * from './events';
export * from '#/runtime/runtime';
export * from '#/runtime/runtimeRegistry';
export * from '#/runtime/runtimeWorkspaceView';
export * from '#/runtime/runtimeProvider';
export * from '#/runtime/runtimeUnitHost';
export * from '#/runtime/localRuntime';
export * from '#/runtime/standaloneRuntime';
export * from '#/program/program';
export * from '#/workspace/workspaceInstance/workspaceInstance';
export * from '#/workspace/workspaceInstance/workspaceInstanceManager';
export * from '#/workspace/workspaceInstance/workspaceInstanceManagerService';
export * from '#/agent/runtimeBinding/runtimeBinding';
export * from '#/agent/runtimeBinding/runtimeBindingService';
export * from '#/agent/runtimeBinding/agentRuntime';
export * from '#/app/sessionManager/sessionManager';
export * from '#/app/sessionManager/sessionManagerService';

export * from '#/_base/log/log';
export * from '#/_base/log/logConfig';
export * from '#/_base/log/formatter';
export * from '#/_base/log/fileLog';
export * from '#/_base/log/logService';
export * from '#/wire/wire';
export * from '#/wire/wireService';
export * from '#/wire/journal';
export * from '#/wire/tree/index';
export * from '#/wire/record';
export * from '#/wire/migration/migration';
export * from '#/session/sessionLog/sessionLogService';
export * from '#/app/telemetry/telemetry';
export * from '#/app/telemetry/context';
export * from '#/app/telemetry/events';
export * from '#/app/telemetry/telemetryService';
export * from '#/app/telemetry/consoleAppender';
export * from '#/app/telemetry/cloudAppender';
export * from '#/app/bootstrap/bootstrap';
export * from '#/app/bootstrap/bootstrapService';
export * from '#/os/interface/hostClock';
export * from '#/os/interface/hostEnvironment';
export * from '#/os/interface/hostFileSystem';
export * from '#/os/interface/hostProcess';
export * from '#/os/interface/terminal';
export * from '#/os/interface/terminalErrors';
export * from '#/os/backends/node-local/hostClockService';
export * from '#/os/backends/node-local/hostEnvironmentService';
export * from '#/os/backends/node-local/hostFsService';
export * from '#/os/backends/node-local/hostProcessService';
export * from '#/os/backends/node-local/hostTerminalService';
export * from '#/agent/tools/os/bash/bash';
import '#/agent/tools/os/bash/bashTool';
export * from '#/agent/tools/os/glob/glob';
import '#/agent/tools/os/glob/globTool';
export * from '#/agent/tools/os/grep/grep';
import '#/agent/tools/os/grep/grepTool';
export * from '#/agent/tools/os/read/read';
import '#/agent/tools/os/read/readTool';
export * from '#/agent/tools/os/write/write';
import '#/agent/tools/os/write/writeTool';
export * from '#/os/interface/terminal';
export * from '#/os/interface/terminalErrors';
export * from '#/os/backends/node-local/hostTerminalService';
export * from '#/session/terminal/terminalService';
export * from '#/app/task/task';
import '#/app/task/taskService';
export { TaskService } from '#/app/task/taskService';
import '#/app/event/eventBusService';
import '#/app/event/eventService';
import '#/app/event/fiberEventResolver';
export { IEventBus } from '#/app/event/eventBus';
export { IEventService } from '#/app/event/event';
export * from '#/app/event/errors';
export * from '#/app/event/event2';
export * from '#/state/errors';
export * from '#/state/state';
export * from '#/state/stateContribution';
export * from '#/state/agentModel';
export * from '#/state/eventDispatcher';
import '#/state/eventDispatcherService';
export * from '#/_base/state/stateRegistry';
export * from '#/_base/contribution/registry';
export * from '#/app/state/appState';
import '#/app/state/appStateService';
export * from '#/workspace/state/workspaceState';
import '#/workspace/state/workspaceStateService';
export * from '#/session/state/sessionState';
import '#/session/state/sessionStateService';
export * from '#/agent/state/agentState';
import '#/agent/state/agentStateService';
export * from '#/llm-adapter/contract/capability';
export * from '#/llm-adapter/contract/errors';
export {
  createAssistantMessage,
  createToolMessage,
  createUserMessage,
  isToolDeclarationOnlyMessage,
  mergeInPlace,
  type Message,
} from '#/llm-adapter/contract/message';
export {
  extractText,
  getTextContent,
  isContentPart,
  isToolCall,
  isToolCallPart,
  type AudioURLPart,
  type ContentPart,
  type ImageURLPart,
  type Role,
  type StreamedMessagePart,
  type TextPart,
  type ThinkPart,
  type ToolCall,
  type ToolCallPart,
  type VideoURLPart,
} from '#human/llm/message';
export type { ToolDescription as Tool } from '#human/llm/message';
export { addUsage, emptyUsage, grandTotal, inputTotal, type TokenUsage } from '#human/llm/usage';
export type { FinishReason } from '#human/llm/finish-reason';
export type {
  JsonObjectResponseFormat,
  JsonSchemaObject,
  JsonSchemaResponseFormat,
  ResponseFormat,
} from '#human/llm/response-format';
export type { ThinkingEffort, ThinkingRequestOptions } from '#human/llm/thinking';
export type { VideoUploadInput } from '#human/llm/media/upload';
export type { ToolCallIdPolicy } from '#human/llm/requester/requester';
export type { SamplingOptions } from '#/llm-adapter/model/model-requester';
export * from '#/llm-adapter/contract/request-trace';
export type { KimiThinkingConfig } from '#human/llm-kimi/trait';

export * from '#/app/sessionIndex/sessionIndex';
export * from '#/app/sessionIndex/sessionIndexService';
export * from '#/app/sessionIndex/sessionIndexMirrorService';
export * from '#/session/sessionMetadata/sessionMetadata';
export * from '#/session/sessionMetadata/sessionMetadataService';
export * from '#/session/sessionMetadata/promptMetadata';
export * from '#/session/sessionActivity/sessionActivity';
export * from '#/session/sessionActivity/sessionActivityService';
export * from '#/session/sessionActivity/sessionOutcomeMirror';
export * from '#/session/sessionActivity/sessionOutcomeMirrorService';
export * from '#/session/sessionTitle/agentTitlePromptSource';
import '#/session/sessionTitle/agentTitlePromptSourceService';
export * from '#/session/sessionTitle/sessionTitle';
export * from '#/session/sessionTitle/sessionTitleService';
export * from '#/session/sessionToolPolicy/sessionToolPolicy';
export * from '#/session/sessionToolPolicy/sessionToolPolicyService';
export * from '#/app/config/config';
export * from '#/app/config/configEvents';
export type { ConfigChangedEvent } from '#/app/config/configEvents';
export * from '#/app/config/configService';
export * from '#/app/config/configSectionContributions';
import '#/app/kosongConfig/configSection';
export * from '#/llm-adapter/provider/provider';
export * from '#/llm-adapter/provider/provider-service';
export * from '#/llm-adapter/provider/provider-definition';
export * from '#/llm-adapter/protocol/protocolAdapterRegistry';
import '#/features/skill/catalog/configSection';
import '#/app/agentIdentity/configSection';
export * from '#/app/agentIdentity/configSection';
export * from '#/app/agentIdentity/agentIdentity';
export * from '#/app/agentIdentity/agentIdentityService';
import '#/llm-adapter/protocol/errors';
export * from '#/llm-adapter/protocol/errors';
export * from '#/llm-adapter/protocol/protocol';
export * from '#/llm-adapter/protocol/protocol-base';
import '#/app/kosongConfig/envOverlay';
export * from '#/llm-adapter/model/completion-budget';
export * from '#/llm-adapter/model/host-request-headers';
export * from '#/llm-adapter/model/model';
export * from '#/llm-adapter/model/model.types';
export * from '#/llm-adapter/model/model-service';
export * from '#/llm-adapter/model/thinking';
export * from '#/llm-adapter/model/catalog';
export * from '#/llm-adapter/model/catalog-service';
export * from '#/llm-adapter/model/model-requester';
import '#/llm-adapter/model/errors';
export {
  MODEL_CATALOG_SECTION,
  ModelCatalogConfigSchema,
  type ModelCatalogConfig,
} from '#/app/kosongConfig/configSection';
export * from '#/app/kosongConfig/kosongConfig';
export * from '#/app/kosongConfig/kosongConfigService';
export * from '#/llm-adapter/model/model-oauth';
export * from '#/app/kosongConfig/oauthTokenAdapter';
export * from '#/app/kosongConfig/hostRequestHeadersAdapter';
export * from '#/app/kosongConfig/discovery';
export * from '#/app/kosongConfig/discoveryService';
export * from '#/app/kosongConfig/errors';
export * from '#/app/kosongConfig/modelsDevImport';
export * from '#/app/kosongConfig/modelsDevImportService';
export * from '#/app/kosongConfig/modelsDevUpstream';
export * from '#/app/kosongConfig/modelsDev';
export * from '#/app/agentProfileCatalog/agentProfileCatalog';
export * from '#/app/agentProfileCatalog/agentProfileContribution';
export * from '#/app/agentProfileCatalog/agentProfileRegistry';
export * from '#/app/agentProfileCatalog/agentProfileRegistryService';
export * from '#/app/agentProfileCatalog/builtinAgentProfileLoader';
export * from '#/app/agentProfileCatalog/builtinAgentProfileLoaderService';
export * from '#/app/agentProfileCatalog/profile-shared';
export * from '#/app/agentProfileCatalog/promptPrefix';
export {
  registerAgentProfile,
  getAgentProfileContributions,
  _clearAgentProfileContributionsForTests,
} from '#/app/agentProfileCatalog/contribution';
export * from '#/workspace/workspaceAgentProfileLoader/configSection';
export { parseAgentFileText } from '#/workspace/workspaceAgentProfileLoader/internal/agentFile';
export { resolveAgentPath } from '#/workspace/workspaceAgentProfileLoader/internal/paths';
export * from '#/workspace/workspaceAgentProfileLoader/userAgentProfileLoader';
export * from '#/workspace/workspaceAgentProfileLoader/userAgentProfileLoaderService';
export * from '#/app/plugin/types';
export * from '#/app/plugin/commands';
export * from '#/app/plugin/manifest';
export * from '#/app/plugin/store';
export * from '#/app/plugin/source';
export * from '#/app/plugin/github-resolver';
export * from '#/app/plugin/archive';
export * from '#/app/plugin/manager';
export * from '#/app/plugin/marketplace';
export * from '#/app/plugin/plugin';
export * from '#/app/plugin/pluginEvents';
export * from '#/app/plugin/pluginService';
export * from '#/app/capability/capability';
export * from '#/app/capability/capabilityEvents';
export * from '#/app/capability/capabilityService';
export * from '#/app/capability/errors';
export * from '#/app/capability/types';
export * from '#/app/feature/featureManager';
export * from '#/app/feature/featureServiceContribution';
import '#/app/feature/featureManagerService';
export * from '#/features/feature';
export * from '#/features/featureAssembly';
export * from '#/features/featureRegistry';
import '#/features/featureAssemblyService';
export * from '#/agent/command/agentCommand';
export * from '#/agent/command/commandContribution';
import '#/agent/command/agentCommandService';
export * from '#/debug/index';
export * from '#/workspace/workspaceAgentProfileLoader/pluginAgentProfileLoader';
export * from '#/workspace/workspaceAgentProfileLoader/pluginAgentProfileLoaderService';

export type { SkillSource } from '#/features/skill/catalog/types';
export * from '#/features/skill/tools/skill';
export * from '#/features/skill/skill';
export * from '#/features/skill/skillService';
import '#/features/skill/skillFeature';
export * from '#/features/skill/catalog/types';
export * from '#/features/skill/catalog/configSection';
export * from '#/features/skill/catalog/parser';
export * from '#/features/skill/catalog/registry';
export * from '#/features/skill/catalog/errors';
export * from '#/features/skill/catalog/skillDiscovery';
export * from '#/features/skill/catalog/inMemorySkillDiscovery';
export * from '#/features/skill/catalog/skillSource';
export * from '#/features/skill/catalog/skillRoots';
export * from '#/features/skill/catalog/builtin/builtin';
export * from '#/features/skill/catalog/builtinSkillSource';
export * from '#/features/skill/catalog/userFileSkillSource';
export * from '#/features/skill/session/skillCatalog';
export * from '#/features/skill/session/skillCatalogData';
export * from '#/features/skill/session/skillCatalogService';
export * from '#/session/sessionAgentProfileCatalog/sessionAgentProfileCatalog';
export * from '#/session/sessionAgentProfileCatalog/agentProfileCatalogSeed';
export * from '#/session/sessionAgentProfileCatalog/sessionAgentProfileCatalogService';
export * from '#/session/sessionInstructions/instructionsProvider';
export * from '#/session/workspaceInfo/workspaceInfo';
export * from '#/workspace/workspaceDirs/workspaceDirs';
export * from '#/workspace/workspaceDirs/workspaceDirsService';
export * from '#/features/skill/workspace/workspaceSkillCatalog';
export * from '#/features/skill/workspace/workspaceSkillCatalogService';
export * from '#/features/skill/workspace/extraFileSkillSource';
export * from '#/features/skill/workspace/explicitFileSkillSource';
export * from '#/features/skill/workspace/rootFileSkillSource';
export * from '#/features/skill/workspace/pluginSkillSource';
export * from '#/workspace/workspaceAgentProfileLoader/workspaceAgentProfileLoader';
export * from '#/workspace/workspaceAgentProfileLoader/workspaceAgentProfileLoaderService';
export * from '#/workspace/workspaceAgentProfileLoader/extraAgentProfileLoader';
export * from '#/workspace/workspaceAgentProfileLoader/extraAgentProfileLoaderService';
export * from '#/workspace/workspaceAgentProfileLoader/explicitAgentProfileLoader';
export * from '#/workspace/workspaceAgentProfileLoader/explicitAgentProfileLoaderService';
export * from '#/workspace/workspaceInstructions/workspaceInstructions';
export * from '#/workspace/workspaceInstructions/workspaceInstructionsService';
export * from '#/agent/permissionGate/permissionGate';
export * from '#/agent/permissionGate/permissionGateService';
export * from '#/agent/toolApproval/toolApproval';
export * from '#/agent/toolApproval/toolApprovalService';
import '#/app/flag/flag';
import '#/app/flag/flagRegistry';
import '#/app/flag/flagRegistryService';
import '#/app/flag/flagService';
export * from '#/app/flag/flagRegistry';
export * from '#/app/flag/flagRegistryService';
export * from '#/app/flag/flag';
export * from '#/app/flag/flagService';

export * from '#/agent/modeMutex/modeMutex';
import '#/agent/modeMutex/modeMutexService';
export * from '#/features/btw/btw';
export * from '#/features/btw/btwService';
import '#/features/btw/btwFeature';
import '#/features/plan/profile/plan';
export * from '#/features/plan/tools/enter-plan-mode/enter-plan-mode';
import '#/features/plan/tools/enter-plan-mode/enterPlanModeTool';
export * from '#/features/plan/tools/exit-plan-mode/exit-plan-mode';
import '#/features/plan/tools/exit-plan-mode/exitPlanModeTool';
export * from '#/features/plan/configSection';
export * from '#/features/plan/plan';
export * from '#/features/plan/planOps';
export * from '#/features/plan/planService';
import '#/features/dateChange/dateChangeFeature';
import '#/features/plan/planFeature';
export * from '#/features/fileHistory/fileHistory';
export * from '#/features/fileHistory/fileHistoryOps';
export * from '#/features/fileHistory/fileHistoryService';
import '#/features/fileHistory/fileHistoryFeature';
export * from '#/features/externalHooks/configSection';
export * from '#/features/externalHooks/app/externalHooksRunner';
export * from '#/features/externalHooks/app/externalHooksRunnerService';
export * from '#/features/externalHooks/session/sessionExternalHooks';
export * from '#/features/externalHooks/session/sessionExternalHooksService';
export * from '#/features/externalHooks/agent/agentExternalHooks';
export * from '#/features/externalHooks/agent/agentExternalHooksService';
import '#/features/externalHooks/externalHooksFeature';
export * from '#/features/debugEvents/debugEvents';
export * from '#/features/debugEvents/debugEventsService';
import '#/features/debugEvents/debugEventsFeature';
export * from '#/features/swarm/configSection';
export * from '#/features/swarm/agent/swarm';
export * from '#/features/swarm/agent/swarmService';
export * from '#/features/swarm/session/sessionSwarm';
export * from '#/features/swarm/session/sessionSwarmService';
export * from '#/features/swarm/tools/agent-swarm/agent-swarm';
import '#/features/swarm/tools/agent-swarm/agentSwarmTool';
import '#/features/swarm/swarmFeature';
export * from '#/features/goal/tools/create-goal/create-goal';
import '#/features/goal/tools/create-goal/createGoalTool';
export * from '#/features/goal/tools/get-goal/get-goal';
import '#/features/goal/tools/get-goal/getGoalTool';
export * from '#/features/goal/tools/set-goal-budget/set-goal-budget';
import '#/features/goal/tools/set-goal-budget/setGoalBudgetTool';
export * from '#/features/goal/tools/update-goal/update-goal';
import '#/features/goal/tools/update-goal/updateGoalTool';
export * from '#/features/goal/goalDeadlineScheduler';
export * from '#/features/goal/goal';
export * from '#/features/goal/goalService';
export * from '#/features/goal/goalOps';
export * from '#/features/goal/types';
import '#/features/goal/goalFeature';
export * from '#/features/tower/flag';
export * from '#/features/tower/tower';
export * from '#/features/tower/towerFeature';
export * from '#/features/tower/towerService';
export * from '#/features/tower/towerRateLimit';
export * from '#/features/tower/towerRateLimitService';
export * from '#/features/tower/tools/init/init';
export * from '#/features/tower/tools/plan/plan';
export * from '#/features/tower/tools/spawn/spawn';
export * from '#/features/tower/tools/merge/merge';
export * from '#/features/tower/tools/teardown/teardown';
export * from '#/features/tower/tools/send/send';
export * from '#/features/tower/tools/inbox/inbox';
export * from '#/features/tower/tools/finding/finding';
export * from '#/features/tower/tools/review/review';
export * from '#/features/tower/tools/mission/mission';
export * from '#/features/tower/tools/status/status';
import '#/features/tower/flag';
import '#/features/tower/towerFeature';
export * from '#/agent/usage/usage';
export * from '#/agent/usage/cacheProbe';
export * from '#/agent/usage/cacheProbeService';
export * from '#/session/usage/sessionUsage';
export * from '#/session/usage/usageAgentModel';
export * from '#/session/usage/sessionUsageService';
import '#/features/usage/usageFeature';
export * from '#/agent/toolDedupe/toolDedupe';
export * from '#/agent/toolDedupe/toolDedupeService';
export * from '#/agent/agentsMdReminder/agentsMdReminder';
export * from '#/agent/agentsMdReminder/agentsMdReminderService';
import '#/agent/toolSelect/flag';
export * from '#/agent/tools/select-tools/select-tools';
import '#/agent/tools/select-tools/selectToolsTool';
export * from '#/agent/toolSelect/dynamicTools';
export * from '#/agent/toolSelect/toolSelect';
export * from '#/agent/toolSelect/toolSelectService';
export * from '#/agent/toolSelect/toolSelectAnnouncements';
export * from '#/agent/toolSelect/toolSelectAnnouncementsService';
export * from '#/agent/toolSelect/toolSelectSchemas';
export * from '#/agent/toolSelect/toolSelectSchemasService';
import '#/agent/toolPolicy/configSection';
export * from '#/agent/toolPolicy/configSection';
export * from '#/agent/toolPolicy/evaluate';
export * from '#/agent/toolPolicy/toolPolicy';
export * from '#/agent/toolPolicy/toolPolicyService';

import '#/agent/task/configSection';
export {
  resolveAgentTaskConfig,
  resolvePrintBackgroundMode,
  type AgentTaskConfig,
  type PrintBackgroundMode,
} from '#/agent/task/configSection';
export * from '#/agent/task/printDefaults';
export * from '#/agent/tools/task/task-list/task-list';
import '#/agent/tools/task/task-list/taskListTool';
export * from '#/agent/tools/task/task-output/task-output';
import '#/agent/tools/task/task-output/taskOutputTool';
export * from '#/agent/tools/task/task-stop/task-stop';
import '#/agent/tools/task/task-stop/taskStopTool';
export * from '#/agent/tools/task/task-wait/task-wait';
import '#/agent/tools/task/task-wait/taskWaitTool';
export * from '#/agent/task/task';
export * from '#/agent/task/taskOps';
export * from '#/agent/task/taskService';
import '#/features/cron/configSection';
export * from '#/features/cron/cronTask';
export * from '#/features/cron/configSection';
export * from '#/features/cron/cronService';
export * from '#/features/cron/cronOps';
export type { CronFiredEvent } from '#/features/cron/cronOps';
import '#/features/cron/cronFeature';
export * from '#/features/cron/tools/cron-create/cron-create';
export * from '#/features/cron/tools/cron-list/cron-list';
export * from '#/features/cron/tools/cron-delete/cron-delete';

import '#/session/agentLifecycle/profile/profiles';
export * from '#/session/agentLifecycle/agentLifecycle';
export * from '#/session/agentLifecycle/agentLifecycleService';
export * from '#/session/agentLifecycle/mainAgent';
export * from '#/session/mcp/sessionMcpHandle';
import '#/app/mcpConfig/configSection';
export {
  MCP_SECTION,
  McpSectionSchema,
  type McpSection,
} from '#/app/mcpConfig/configSection';
export * from '#/app/mcpConfig/oauthStore';
export { IMcpConfigStore } from '#/app/mcpConfig/configStore';
import '#/app/mcpConfig/configStore';
export { IMcpOAuthService } from '#/app/mcpConfig/oauthService';
import '#/app/mcpConfig/oauthService';
export * from '#/app/mcpRegistry/mcpRegistry';
import '#/app/mcpRegistry/mcpRegistryService';
export * from '#/app/mcpManagement/mcpManagement';
import '#/app/mcpManagement/mcpManagementService';
export * from '#/workspace/workspaceMcpConfig/workspaceMcpConfig';
export * from '#/workspace/workspaceMcpConfig/workspaceMcpConfigService';
export * from '#/workspace/workspaceMcp/workspaceMcp';
export * from '#/workspace/workspaceMcp/workspaceMcpService';
export * from '#/session/subagent/subagent';
export * from '#/session/subagent/subagentService';
export * from '#/session/subagent/spawn';
import '#/session/subagent/flag';
export * from '#/session/subagent/subagentModelsValidation';
import '#/session/subagent/subagentModelsValidationService';
export * from '#/agent/tools/agent/subagent-task';
export { AGENT_RUN_PROMPT_ORIGIN } from '#/session/subagent/runAgentTurn';
export * from '#/session/subagent/mirrorAgentRun';
export * from '#/session/subagent/subagentScopeCache';
import '#/session/subagent/subagentScopeCacheService';
import '#/session/subagent/configSection';
export * from '#/agent/tools/agent/agent';
import '#/agent/tools/agent/agentTool';
export * from '#/app/sessionManager/sessionLookup';
export * from '#/workspace/workspaceContext/workspaceContext';
export * from '#/workspace/sessionLifecycle/sessionLifecycle';
export * from '#/workspace/sessionLifecycle/sessionLifecycleEvents';
export * from '#/workspace/sessionLifecycle/sessionLifecycleService';
export * from '#/workspace/sessionLifecycle/coldSessionArchive';
export * from '#/workspace/sessionLifecycle/internal/addressing';
import '#/app/sessionExport/errors';
export * from '#/app/sessionExport/sessionExport';
export * from '#/app/sessionExport/sessionExportService';
export * from '#/app/sessionExport/manifest';
export * from '#/app/sessionExport/wire-scan';
export * from '#/app/sessionExport/zip';
export * from '#/app/sessionLegacy/sessionLegacy';
export * from '#/app/sessionLegacy/sessionLegacyService';
export * from '#/human/interaction/interaction';
export * from '#/human/interaction/facade';
export * from '#/agent/interaction/interactionOps';
export * from '#/session/sessionContext/sessionContext';

export * from '#/agent/interaction/question';
export {
  type ApprovalDecision,
  type ApprovalRequest as SessionApprovalRequest,
  type ApprovalResponse as SessionApprovalResponse,
} from '#/agent/interaction/approval';
export * from '#/agent/tools/ask-user-question/ask-user-question';
import '#/agent/tools/ask-user-question/askUserQuestionTool';
export * from '#/app/gateway/gateway';
export * from '#/app/gateway/gatewayService';

export * from '#/session/workspaceContext/workspaceContext';
export * from '#/session/workspaceContext/workspaceContextService';
export * from '#/app/projectLocalConfig/projectLocalConfig';
export * from '#/app/workspace/workspace';
export * from '#/app/workspace/workspaceService';
export * from '#/app/workspace/workspaceAlias';
export * from '#/app/workspace/workspaceEvents';
export * from '#/app/workspace/workspacePersistence';
export * from '#/app/workspace/fileWorkspacePersistence';
export * from '#/app/workspaceAliases/workspaceAliases';
import '#/app/workspaceAliases/workspaceAliasesService';
export * from '#/app/workspaceSessions/workspaceSessions';
import '#/app/workspaceSessions/workspaceSessionsService';
import '#/app/git/gitService';
export * from '#/app/bashParser/bashParser';
import '#/app/bashParser/bashParserService';
export * from '#/workspace/workspaceFs/internal/errors';
export * from '#/workspace/workspaceFs/fs';
export * from '#/workspace/workspaceFs/fsService';
export * from '#/session/agentLifecycle/profile/gitContext';
export * from '#/workspace/workspaceFs/internal/rgLocator';
export * from '#/workspace/workspaceFs/internal/runRg';
export * from '#/workspace/workspaceGit/workspaceGit';
export * from '#/workspace/workspaceGit/workspaceGitService';
export * from '#/session/sessionToolPolicyGate/sessionToolPolicyGate';
export * from '#/session/sessionToolPolicyGate/sessionToolPolicyGateService';
export * from '#/workspace/workspaceTrust/workspaceTrust';
export * from '#/workspace/workspaceTrust/workspaceTrustService';
export * from '#/app/hostFolderBrowser/hostFolderBrowser';
export * from '#/app/hostFolderBrowser/hostFolderBrowserService';
export * from '#/persistence/interface/storage';
export * from '#/persistence/interface/appendLogStore';
export * from '#/persistence/interface/atomicDocumentStore';
export * from '#/persistence/interface/queryStore';
export * from '#/persistence/interface/blobStore';
export * from '#/persistence/backends/node-fs/fileStorageService';
export * from '#/persistence/backends/node-fs/appendLogStore';
export * from '#/persistence/backends/node-fs/atomicDocumentStore';
export * from '#/persistence/backends/node-fs/blobStoreService';
export * from '#/persistence/backends/node-fs/projectLocalConfigService';
export * from '#/persistence/configSection';
import '#/persistence/configSection';
export * from '#/persistence/backends/minidb/miniDbQueryStore';
export * from '#/persistence/backends/memory/inMemoryStorageService';
export * from '#/agent/tools/web-search/web-search';
import '#/agent/tools/web-search/webSearchTool';
export * from '#/app/auth/auth';
export * from '#/app/auth/authService';
export * from '#/app/auth/configSection';
export * from '#/app/auth/webSearch/webSearch';
export * from '#/app/auth/webSearch/webSearchService';
export * from '#/app/auth/webSearch/providers/moonshot-web-search';
export * from '#/app/authLegacy/authLegacy';
export * from '#/app/authLegacy/authLegacyService';
export * from '#/app/file/fileService';
export * from '#/app/file/fileServiceImpl';
export {
  buildImageCompressionCaption,
  compressBase64ForModel,
  compressImageForModel,
  gateImageFormatParts,
  IMAGE_BYTE_BUDGET,
  MAX_IMAGE_DECODE_BYTES,
  MAX_IMAGE_EDGE_PX,
  READ_IMAGE_BYTE_BUDGET,
  resolveMaxImageEdgePx,
  resolveReadImageByteBudget,
} from '#/agent/media/image-compress';
export { providerImagePolicy, type ProviderImagePolicy } from '#human/llm/media/image-formats';
export {
  buildImageConversionGuidance,
  buildUnsupportedImageNotice,
  decodeBase64Prefix,
  isModelAcceptedImageMime,
  normalizeImageMime,
  parseImageDataUrl,
  resolveEffectiveImageMime,
  unsupportedImageMimeFromUrl,
} from '#/agent/media/image-format-policy';
export {
  persistOriginalImage,
  sessionMediaOriginalsDir,
} from '#/agent/media/image-originals';
export * from '#/app/edit/fileEdit';
export * from '#/app/edit/fileEditService';
export * from '#/app/edit/editService';
export * from '#/app/edit/textModel';
export * from '#/agent/tools/edit/edit';
import '#/agent/tools/edit/editTool';
export * from '#/agent/tools/fetch-url/fetch-url';
import '#/agent/tools/fetch-url/fetchUrlTool';
export * from '#/app/web/web';
export * from '#/app/web/webService';
export * from '#/app/web/providers/local-fetch-url';
export * from '#/app/web/providers/moonshot-fetch-url';

export * from '#/agent/blob/agentBlobService';
export * from '#/agent/blob/agentBlobServiceImpl';
export * from '#/agent/contextMemory/contextMemory';
export * from '#/agent/contextMemory/contextMemoryService';
export * from '#/agent/contextMemory/contextOps';
export * from '#/agent/contextMemory/compactionHandoff';
export * from '#/agent/contextMemory/conversationUndoParticipants';
export * from '#/agent/contextMemory/conversationTime';
export * from '#/agent/contextMemory/loopEventFold';
export * from '#/agent/contextMemory/messageId';
export * from '#/agent/contextMemory/contextTranscript';
export * from '#/agent/contextMemory/types';
export * from '#/features/reminder/reminderService';
export * from '#/features/reminder/systemReminder';
export * from '#/features/reminder/types';
import '#/features/reminder/reminderFeature';
export * from '#/features/dateChange/dateChange';
export * from '#/features/dateChange/dateChangeService';
export * from '#/agent/contextProjector/contextProjector';
export * from '#/agent/contextProjector/contextProjectorService';
export * from '#/agent/contextProjector/mediaProjection';
export * from '#/agent/tokenCounting/tokenCounting';
export * from '#/agent/tokenCounting/tokenCountingOps';
export * from '#/session/tokenCounting/sessionTokenCounting';
export * from '#/session/tokenCounting/tokenCountingAgentModel';
export * from '#/session/tokenCounting/sessionTokenCountingService';
import '#/features/tokenCounting/tokenCountingFeature';
export * from '#/agent/plugin/agentPlugin';
export * from '#/agent/plugin/agentPluginOps';
export * from '#/agent/plugin/agentPluginService';
export * from '#/agent/fullCompaction/strategy';
export * from '#/agent/fullCompaction/fullCompaction';
export * from '#/agent/fullCompaction/fullCompactionService';
export * from '#/agent/fullCompaction/compactionOps';
export * from '#/agent/fullCompaction/types';
export * from '#/agent/fullCompaction/contextRecovery';
export * from '#/agent/fullCompaction/compactionInstruction';
export * from '#/agent/llmRequester/llmRequester';
export * from '#/agent/llmRequester/llmRequesterService';
export * from '#/agent/llmRequester/llmRequestOps';
export * from '#/_base/utils/promise';
export * from '#/_base/utils/retry';
export * from '#/_base/utils/timer';
import '#/agent/loop/configSection';
export * from '#/agent/loop/loop';
export * from '#/agent/loop/loopService';
export * from '#/agent/loop/promptChannel';
export * from '#/agent/interruptionReminder/interruptionReminder';
export * from '#/agent/interruptionReminder/interruptionReminderService';
export * from '#/agent/interruptionReminder/interruptionReminderOps';
export * from '#/agent/mcp/mcp';
export * from '#/agent/mcp/mcpService';
export * from '#/agent/mcp/mcpDiscoveryOps';
export * from '#/mcpCore/config-schema';
export * from '#/agent/media/mediaTools';
export * from '#/agent/media/mediaToolsRegistrar';
export * from '#/agent/media/registerMediaTools';
export {
  buildDaemonFileUrl,
  buildMediaPathTag,
  daemonFileRefFromPart,
  mediaExtensionForMime,
  matchSingleMediaPathTag,
  parseDaemonFileUrl,
} from '#/agent/media/mediaRef';
export type { DaemonFileRef, MediaKind } from '#/agent/media/mediaRef';
export * from '#/agent/media/sessionMediaStore';
import '#/agent/media/sessionMediaStoreService';
export * from '#/agent/media/kimiFileUrl';
export * from '#/agent/media/videoUpload';
export * from '#/agent/media/mediaResolver';
export * from '#/agent/media/mediaResolverService';
import '#/agent/media/configSection';
export * from '#/agent/media/imageConfigBridge';
import '#/agent/permissionMode/configSection';
export * from '#/agent/permissionMode/permissionMode';
export * from '#/agent/permissionMode/permissionModeService';
export * from '#/agent/permissionPolicy/permissionPolicy';
export * from '#/agent/permissionPolicy/permissionPolicyService';
export * from '#/agent/permissionPolicy/types';
import '#/agent/permissionRules/configSection';
export * from '#/agent/permissionRules/permissionRules';
export * from '#/agent/permissionRules/matchesRule';
export * from '#/agent/permissionRules/permissionRulesService';
export * from '#/agent/pluginCommand/pluginCommand';
export * from '#/agent/pluginCommand/pluginCommandService';
export * from '#/agent/profile/profile';
export * from '#/agent/profile/profileService';
export * from '#/agent/profile/context';
export * from '#/agent/prompt/promptEvents';
export * from '#/agent/prompt/promptMetadataText';
export * from '#/agent/replayBuilder/types';
export * from '#/agent/replayBuilder/fold';
export { type SessionSummary } from '#/app/sessionIndex/sessionIndex';
export * from '#/agent/undo/undo';
export * from '#/agent/undo/undoService';
export * from '#/agent/shellCommand/shellCommand';
export * from '#/agent/shellCommand/shellCommandService';
export * from '#/agent/agentContext/agentContext';
export * from '#/agent/agentContext/agentSpace';
export * from '#/agent/scopeContext/scopeContext';
export * from '#/features/sessionInit/sessionInit';
export * from '#/features/sessionInit/sessionInitService';
export * from '#/features/sessionInit/profile/init';
import '#/features/sessionInit/sessionInitFeature';
export * from '#/features/todo/todoItem';
export * from '#/features/todo/todoListReminder';
export * from '#/features/todo/todoService';
export * from '#/features/todo/tools/todo-list/todo-list';
import '#/features/todo/todoFeature';
export * from '#/features/notify/flag';
export * from '#/features/notify/notifyUserAvailability';
export * from '#/features/notify/tools/notify-user/notify-user';
import '#/features/notify/notifyFeature';
export * from '#/tool/toolContract';
export * from '#/agent/toolExecutor/toolHooks';
export * from '#/agent/toolExecutor/toolExecutor';
export * from '#/agent/toolExecutor/toolExecutorService';
export * from '#/agent/toolResultTruncation/toolResultTruncation';
import '#/agent/toolResultTruncation/toolResultTruncationService';
import '#/agent/toolActivation/toolActivationService';
import '#/agent/toolRegistry/toolContribution';
import '#/agent/toolRegistry/toolRegistry';
import '#/agent/toolRegistry/toolRegistryService';
export { IAgentToolActivationService } from '#/agent/toolActivation/toolActivation';
export { IAgentToolRegistryService } from '#/agent/toolRegistry/toolRegistry';
export { registerAgentToolService, AgentToolContribution } from '#/agent/toolRegistry/toolContribution';
export type { AgentToolContributionOptions } from '#/agent/toolRegistry/toolContribution';
export * from '#/agent/userTool/userTool';
export * from '#/agent/userTool/userToolOps';
export * from '#/agent/userTool/userToolService';