@mono-agent/agent-app 0.6.2 → 0.8.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.
- package/README.md +210 -19
- package/dist/adapter-send-proxy.d.ts +18 -0
- package/dist/adapter-send-proxy.d.ts.map +1 -0
- package/dist/adapter-send-proxy.js +229 -0
- package/dist/adapter-send-proxy.js.map +1 -0
- package/dist/adapter-send-tools-main.js +62 -4
- package/dist/adapter-send-tools-main.js.map +1 -1
- package/dist/adapter-send-tools.d.ts +33 -6
- package/dist/adapter-send-tools.d.ts.map +1 -1
- package/dist/adapter-send-tools.js +485 -87
- package/dist/adapter-send-tools.js.map +1 -1
- package/dist/app-config.d.ts.map +1 -1
- package/dist/app-config.js +8 -0
- package/dist/app-config.js.map +1 -1
- package/dist/app.d.ts +2 -0
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +528 -135
- package/dist/app.js.map +1 -1
- package/dist/broadcast-recorder.d.ts.map +1 -1
- package/dist/broadcast-recorder.js +24 -2
- package/dist/broadcast-recorder.js.map +1 -1
- package/dist/channels.d.ts.map +1 -1
- package/dist/channels.js +16 -6
- package/dist/channels.js.map +1 -1
- package/dist/cli.d.ts +76 -4
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +2102 -102
- package/dist/cli.js.map +1 -1
- package/dist/config-reference.d.ts.map +1 -1
- package/dist/config-reference.js +195 -6
- package/dist/config-reference.js.map +1 -1
- package/dist/configuration-proposal-main.d.ts +3 -0
- package/dist/configuration-proposal-main.d.ts.map +1 -0
- package/dist/configuration-proposal-main.js +13 -0
- package/dist/configuration-proposal-main.js.map +1 -0
- package/dist/configuration-proposal-tool.d.ts +26 -0
- package/dist/configuration-proposal-tool.d.ts.map +1 -0
- package/dist/configuration-proposal-tool.js +139 -0
- package/dist/configuration-proposal-tool.js.map +1 -0
- package/dist/configured-agent.d.ts +12 -0
- package/dist/configured-agent.d.ts.map +1 -1
- package/dist/configured-agent.js +150 -18
- package/dist/configured-agent.js.map +1 -1
- package/dist/consumer-contract.d.ts +3 -0
- package/dist/consumer-contract.d.ts.map +1 -1
- package/dist/consumer-contract.js +44 -1
- package/dist/consumer-contract.js.map +1 -1
- package/dist/doctor.d.ts +27 -5
- package/dist/doctor.d.ts.map +1 -1
- package/dist/doctor.js +1197 -101
- package/dist/doctor.js.map +1 -1
- package/dist/first-run-managed-memory.d.ts +39 -0
- package/dist/first-run-managed-memory.d.ts.map +1 -0
- package/dist/first-run-managed-memory.js +521 -0
- package/dist/first-run-managed-memory.js.map +1 -0
- package/dist/first-run-readiness.d.ts +111 -0
- package/dist/first-run-readiness.d.ts.map +1 -0
- package/dist/first-run-readiness.js +757 -0
- package/dist/first-run-readiness.js.map +1 -0
- package/dist/index.d.ts +8 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +88 -3
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +1212 -23
- package/dist/init.js.map +1 -1
- package/dist/interaction-bridge.d.ts +25 -1
- package/dist/interaction-bridge.d.ts.map +1 -1
- package/dist/interaction-bridge.js +281 -19
- package/dist/interaction-bridge.js.map +1 -1
- package/dist/local-configuration.d.ts +56 -0
- package/dist/local-configuration.d.ts.map +1 -0
- package/dist/local-configuration.js +914 -0
- package/dist/local-configuration.js.map +1 -0
- package/dist/memory-command.d.ts +4 -0
- package/dist/memory-command.d.ts.map +1 -1
- package/dist/memory-command.js +751 -27
- package/dist/memory-command.js.map +1 -1
- package/dist/memory-recall.d.ts +38 -10
- package/dist/memory-recall.d.ts.map +1 -1
- package/dist/memory-recall.js +82 -25
- package/dist/memory-recall.js.map +1 -1
- package/dist/memory-retrieval.d.ts +66 -0
- package/dist/memory-retrieval.d.ts.map +1 -0
- package/dist/memory-retrieval.js +332 -0
- package/dist/memory-retrieval.js.map +1 -0
- package/dist/modules/base.d.ts +6 -5
- package/dist/modules/base.d.ts.map +1 -1
- package/dist/modules/base.js +11 -7
- package/dist/modules/base.js.map +1 -1
- package/dist/modules/catalog.d.ts.map +1 -1
- package/dist/modules/catalog.js +54 -20
- package/dist/modules/catalog.js.map +1 -1
- package/dist/modules/index.d.ts +2 -2
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +1 -1
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/known-tools.d.ts +3 -0
- package/dist/modules/known-tools.d.ts.map +1 -1
- package/dist/modules/known-tools.js +11 -1
- package/dist/modules/known-tools.js.map +1 -1
- package/dist/modules/types.d.ts +20 -6
- package/dist/modules/types.d.ts.map +1 -1
- package/dist/modules/types.js.map +1 -1
- package/dist/package-version.d.ts +3 -0
- package/dist/package-version.d.ts.map +1 -0
- package/dist/package-version.js +14 -0
- package/dist/package-version.js.map +1 -0
- package/dist/pi-auth-store-inspection.d.ts +21 -0
- package/dist/pi-auth-store-inspection.d.ts.map +1 -0
- package/dist/pi-auth-store-inspection.js +120 -0
- package/dist/pi-auth-store-inspection.js.map +1 -0
- package/dist/pi-oauth-login-main.d.ts +3 -0
- package/dist/pi-oauth-login-main.d.ts.map +1 -0
- package/dist/pi-oauth-login-main.js +14 -0
- package/dist/pi-oauth-login-main.js.map +1 -0
- package/dist/pi-oauth-login.d.ts +22 -0
- package/dist/pi-oauth-login.d.ts.map +1 -0
- package/dist/pi-oauth-login.js +79 -0
- package/dist/pi-oauth-login.js.map +1 -0
- package/dist/project-skills.d.ts +40 -0
- package/dist/project-skills.d.ts.map +1 -0
- package/dist/project-skills.js +573 -0
- package/dist/project-skills.js.map +1 -0
- package/dist/provider-setup.d.ts +117 -2
- package/dist/provider-setup.d.ts.map +1 -1
- package/dist/provider-setup.js +1505 -49
- package/dist/provider-setup.js.map +1 -1
- package/dist/readiness-probe-worker.d.ts +12 -0
- package/dist/readiness-probe-worker.d.ts.map +1 -0
- package/dist/readiness-probe-worker.js +276 -0
- package/dist/readiness-probe-worker.js.map +1 -0
- package/dist/readiness-probe.d.ts +100 -0
- package/dist/readiness-probe.d.ts.map +1 -0
- package/dist/readiness-probe.js +780 -0
- package/dist/readiness-probe.js.map +1 -0
- package/dist/request-model-override.d.ts +43 -1
- package/dist/request-model-override.d.ts.map +1 -1
- package/dist/request-model-override.js +178 -19
- package/dist/request-model-override.js.map +1 -1
- package/dist/run-history.d.ts +32 -0
- package/dist/run-history.d.ts.map +1 -0
- package/dist/run-history.js +859 -0
- package/dist/run-history.js.map +1 -0
- package/dist/runs-health.d.ts.map +1 -1
- package/dist/runs-health.js +12 -4
- package/dist/runs-health.js.map +1 -1
- package/dist/runtime-option-extensions.d.ts +14 -0
- package/dist/runtime-option-extensions.d.ts.map +1 -0
- package/dist/runtime-option-extensions.js +98 -0
- package/dist/runtime-option-extensions.js.map +1 -0
- package/dist/runtime-routes.d.ts +9 -0
- package/dist/runtime-routes.d.ts.map +1 -0
- package/dist/runtime-routes.js +13 -0
- package/dist/runtime-routes.js.map +1 -0
- package/dist/sandbox-manager.d.ts +69 -0
- package/dist/sandbox-manager.d.ts.map +1 -0
- package/dist/sandbox-manager.js +856 -0
- package/dist/sandbox-manager.js.map +1 -0
- package/dist/supermemory-plugin.d.ts +54 -0
- package/dist/supermemory-plugin.d.ts.map +1 -0
- package/dist/supermemory-plugin.js +136 -0
- package/dist/supermemory-plugin.js.map +1 -0
- package/dist/tui-command.d.ts +15 -0
- package/dist/tui-command.d.ts.map +1 -1
- package/dist/tui-command.js +46 -6
- package/dist/tui-command.js.map +1 -1
- package/dist/web-command.d.ts +8 -0
- package/dist/web-command.d.ts.map +1 -1
- package/dist/web-command.js +174 -17
- package/dist/web-command.js.map +1 -1
- package/dist/wizard/answers.d.ts +31 -4
- package/dist/wizard/answers.d.ts.map +1 -1
- package/dist/wizard/answers.js +145 -16
- package/dist/wizard/answers.js.map +1 -1
- package/dist/wizard/from-flags.d.ts +7 -0
- package/dist/wizard/from-flags.d.ts.map +1 -1
- package/dist/wizard/from-flags.js +36 -2
- package/dist/wizard/from-flags.js.map +1 -1
- package/dist/wizard/index.d.ts +4 -4
- package/dist/wizard/index.d.ts.map +1 -1
- package/dist/wizard/index.js +2 -2
- package/dist/wizard/index.js.map +1 -1
- package/dist/wizard/model-discovery.d.ts +33 -2
- package/dist/wizard/model-discovery.d.ts.map +1 -1
- package/dist/wizard/model-discovery.js +826 -108
- package/dist/wizard/model-discovery.js.map +1 -1
- package/dist/wizard/presets.d.ts +1 -1
- package/dist/wizard/presets.d.ts.map +1 -1
- package/dist/wizard/presets.js +7 -12
- package/dist/wizard/presets.js.map +1 -1
- package/dist/wizard/prompts.d.ts +56 -9
- package/dist/wizard/prompts.d.ts.map +1 -1
- package/dist/wizard/prompts.js +172 -20
- package/dist/wizard/prompts.js.map +1 -1
- package/dist/wizard/run.d.ts +59 -3
- package/dist/wizard/run.d.ts.map +1 -1
- package/dist/wizard/run.js +1133 -191
- package/dist/wizard/run.js.map +1 -1
- package/package.json +21 -16
- package/resources/srt/package-lock.json +66 -0
- package/resources/srt/package.json +9 -0
- package/schema/mono-agent.config.schema.json +381 -17
- package/skills/mono-agent-composer/SKILL.md +4 -4
- package/skills/mono-agent-composer/references/config-blueprint.md +5 -4
- package/skills/mono-agent-composer/references/discovery-questions.md +8 -8
- package/skills/mono-agent-composer/references/feature-coverage.md +8 -6
- package/skills/mono-agent-composer/references/package-map.md +1 -1
- package/skills/mono-agent-composer/references/playbooks.md +8 -7
- package/skills/mono-agent-composer/references/validation.md +1 -1
|
@@ -12,6 +12,22 @@
|
|
|
12
12
|
"$schema": {
|
|
13
13
|
"type": "string"
|
|
14
14
|
},
|
|
15
|
+
"agent": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"additionalProperties": false,
|
|
18
|
+
"properties": {
|
|
19
|
+
"name": {
|
|
20
|
+
"description": "Public display identity used for trace labels and default A2A metadata; never used in paths or service ids.",
|
|
21
|
+
"examples": [
|
|
22
|
+
"Research Partner"
|
|
23
|
+
],
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 1,
|
|
26
|
+
"maxLength": 80,
|
|
27
|
+
"pattern": "^[^\\u0000-\\u001f\\u007f]+$"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
15
31
|
"runtime": {
|
|
16
32
|
"type": "object",
|
|
17
33
|
"additionalProperties": false,
|
|
@@ -19,12 +35,12 @@
|
|
|
19
35
|
"model": {
|
|
20
36
|
"description": "Configures model for the runtime section.",
|
|
21
37
|
"examples": [
|
|
22
|
-
"
|
|
38
|
+
"codex:gpt-5.6-terra"
|
|
23
39
|
],
|
|
24
40
|
"type": "string"
|
|
25
41
|
},
|
|
26
42
|
"fallbackModels": {
|
|
27
|
-
"description": "
|
|
43
|
+
"description": "Legacy fallback list whose routes inherit runtime.effort. Prefer runtime.fallbacks for new configs.",
|
|
28
44
|
"examples": [
|
|
29
45
|
[
|
|
30
46
|
"pi:ollama:gemma4:31b"
|
|
@@ -33,7 +49,62 @@
|
|
|
33
49
|
"type": "array",
|
|
34
50
|
"items": {
|
|
35
51
|
"type": "string"
|
|
36
|
-
}
|
|
52
|
+
},
|
|
53
|
+
"default": []
|
|
54
|
+
},
|
|
55
|
+
"fallbacks": {
|
|
56
|
+
"description": "Canonical ordered fallback routes. Omitted per-route effort means that provider's default.",
|
|
57
|
+
"examples": [
|
|
58
|
+
[
|
|
59
|
+
{
|
|
60
|
+
"model": "codex:gpt-5.6-sol"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"model": "pi:openai-codex:gpt-5.6-terra",
|
|
64
|
+
"effort": "high"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
],
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"additionalProperties": false,
|
|
72
|
+
"required": [
|
|
73
|
+
"model"
|
|
74
|
+
],
|
|
75
|
+
"properties": {
|
|
76
|
+
"model": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"minLength": 1
|
|
79
|
+
},
|
|
80
|
+
"effort": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"enum": [
|
|
83
|
+
"none",
|
|
84
|
+
"minimal",
|
|
85
|
+
"low",
|
|
86
|
+
"medium",
|
|
87
|
+
"high",
|
|
88
|
+
"xhigh",
|
|
89
|
+
"max",
|
|
90
|
+
"ultra"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"default": []
|
|
96
|
+
},
|
|
97
|
+
"routeSafety": {
|
|
98
|
+
"description": "Uniform preserves one shared safety contract; per-route-native uses and reports each provider's explicit contract.",
|
|
99
|
+
"examples": [
|
|
100
|
+
"per-route-native"
|
|
101
|
+
],
|
|
102
|
+
"type": "string",
|
|
103
|
+
"default": "uniform",
|
|
104
|
+
"enum": [
|
|
105
|
+
"uniform",
|
|
106
|
+
"per-route-native"
|
|
107
|
+
]
|
|
37
108
|
},
|
|
38
109
|
"executionMode": {
|
|
39
110
|
"description": "Configures executionMode for the runtime section.",
|
|
@@ -48,7 +119,17 @@
|
|
|
48
119
|
"examples": [
|
|
49
120
|
"medium"
|
|
50
121
|
],
|
|
51
|
-
"type": "string"
|
|
122
|
+
"type": "string",
|
|
123
|
+
"enum": [
|
|
124
|
+
"none",
|
|
125
|
+
"minimal",
|
|
126
|
+
"low",
|
|
127
|
+
"medium",
|
|
128
|
+
"high",
|
|
129
|
+
"xhigh",
|
|
130
|
+
"max",
|
|
131
|
+
"ultra"
|
|
132
|
+
]
|
|
52
133
|
},
|
|
53
134
|
"permissionMode": {
|
|
54
135
|
"description": "Configures permissionMode for the runtime section.",
|
|
@@ -219,14 +300,24 @@
|
|
|
219
300
|
"bujo"
|
|
220
301
|
],
|
|
221
302
|
"type": "string",
|
|
222
|
-
"default": "bujo"
|
|
303
|
+
"default": "bujo",
|
|
304
|
+
"enum": [
|
|
305
|
+
"bujo",
|
|
306
|
+
"supermemory"
|
|
307
|
+
]
|
|
223
308
|
},
|
|
224
309
|
"mode": {
|
|
225
310
|
"description": "Configures mode for the memory section.",
|
|
226
311
|
"examples": [
|
|
227
312
|
"journal"
|
|
228
313
|
],
|
|
229
|
-
"type": "string"
|
|
314
|
+
"type": "string",
|
|
315
|
+
"default": "lite",
|
|
316
|
+
"enum": [
|
|
317
|
+
"lite",
|
|
318
|
+
"journal",
|
|
319
|
+
"bujo"
|
|
320
|
+
]
|
|
230
321
|
},
|
|
231
322
|
"path": {
|
|
232
323
|
"description": "Configures path for the memory section.",
|
|
@@ -246,10 +337,15 @@
|
|
|
246
337
|
"writeMode": {
|
|
247
338
|
"description": "Configures writeMode for the memory section.",
|
|
248
339
|
"examples": [
|
|
249
|
-
"
|
|
340
|
+
"disabled"
|
|
250
341
|
],
|
|
251
342
|
"type": "string",
|
|
252
|
-
"default": "
|
|
343
|
+
"default": "disabled",
|
|
344
|
+
"enum": [
|
|
345
|
+
"disabled",
|
|
346
|
+
"append-host-summary",
|
|
347
|
+
"capture"
|
|
348
|
+
]
|
|
253
349
|
},
|
|
254
350
|
"supermemory": {
|
|
255
351
|
"type": "object",
|
|
@@ -310,12 +406,16 @@
|
|
|
310
406
|
"examples": [
|
|
311
407
|
"ollama"
|
|
312
408
|
],
|
|
313
|
-
"type": "string"
|
|
409
|
+
"type": "string",
|
|
410
|
+
"enum": [
|
|
411
|
+
"ollama",
|
|
412
|
+
"openai"
|
|
413
|
+
]
|
|
314
414
|
},
|
|
315
415
|
"model": {
|
|
316
416
|
"description": "Configures embeddings.model for the memory section.",
|
|
317
417
|
"examples": [
|
|
318
|
-
"nomic-embed-text"
|
|
418
|
+
"nomic-embed-text:v1.5"
|
|
319
419
|
],
|
|
320
420
|
"type": "string"
|
|
321
421
|
},
|
|
@@ -388,12 +488,16 @@
|
|
|
388
488
|
"examples": [
|
|
389
489
|
"agent-host"
|
|
390
490
|
],
|
|
391
|
-
"type": "string"
|
|
491
|
+
"type": "string",
|
|
492
|
+
"enum": [
|
|
493
|
+
"ollama",
|
|
494
|
+
"agent-host"
|
|
495
|
+
]
|
|
392
496
|
},
|
|
393
497
|
"model": {
|
|
394
498
|
"description": "Configures llm.model for the memory section.",
|
|
395
499
|
"examples": [
|
|
396
|
-
"pi:openai-codex:gpt-5.
|
|
500
|
+
"pi:openai-codex:gpt-5.6-terra"
|
|
397
501
|
],
|
|
398
502
|
"type": "string"
|
|
399
503
|
},
|
|
@@ -438,7 +542,8 @@
|
|
|
438
542
|
"examples": [
|
|
439
543
|
true
|
|
440
544
|
],
|
|
441
|
-
"type": "boolean"
|
|
545
|
+
"type": "boolean",
|
|
546
|
+
"default": true
|
|
442
547
|
}
|
|
443
548
|
}
|
|
444
549
|
},
|
|
@@ -464,7 +569,178 @@
|
|
|
464
569
|
}
|
|
465
570
|
}
|
|
466
571
|
}
|
|
467
|
-
}
|
|
572
|
+
},
|
|
573
|
+
"allOf": [
|
|
574
|
+
{
|
|
575
|
+
"if": {
|
|
576
|
+
"properties": {
|
|
577
|
+
"backend": {
|
|
578
|
+
"const": "bujo"
|
|
579
|
+
},
|
|
580
|
+
"mode": {
|
|
581
|
+
"const": "lite"
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"then": {
|
|
586
|
+
"not": {
|
|
587
|
+
"anyOf": [
|
|
588
|
+
{
|
|
589
|
+
"properties": {
|
|
590
|
+
"embeddings": {}
|
|
591
|
+
},
|
|
592
|
+
"required": [
|
|
593
|
+
"embeddings"
|
|
594
|
+
]
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"properties": {
|
|
598
|
+
"llm": {}
|
|
599
|
+
},
|
|
600
|
+
"required": [
|
|
601
|
+
"llm"
|
|
602
|
+
]
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"properties": {
|
|
606
|
+
"consolidation": {}
|
|
607
|
+
},
|
|
608
|
+
"required": [
|
|
609
|
+
"consolidation"
|
|
610
|
+
]
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"properties": {
|
|
614
|
+
"writeMode": {
|
|
615
|
+
"const": "capture"
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
"required": [
|
|
619
|
+
"writeMode"
|
|
620
|
+
]
|
|
621
|
+
}
|
|
622
|
+
]
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"if": {
|
|
628
|
+
"properties": {
|
|
629
|
+
"backend": {
|
|
630
|
+
"const": "bujo"
|
|
631
|
+
},
|
|
632
|
+
"mode": {
|
|
633
|
+
"const": "journal"
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
"required": [
|
|
637
|
+
"mode"
|
|
638
|
+
]
|
|
639
|
+
},
|
|
640
|
+
"then": {
|
|
641
|
+
"required": [
|
|
642
|
+
"embeddings"
|
|
643
|
+
],
|
|
644
|
+
"properties": {
|
|
645
|
+
"embeddings": {
|
|
646
|
+
"type": "object",
|
|
647
|
+
"minProperties": 1
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"not": {
|
|
651
|
+
"anyOf": [
|
|
652
|
+
{
|
|
653
|
+
"properties": {
|
|
654
|
+
"llm": {}
|
|
655
|
+
},
|
|
656
|
+
"required": [
|
|
657
|
+
"llm"
|
|
658
|
+
]
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"properties": {
|
|
662
|
+
"consolidation": {}
|
|
663
|
+
},
|
|
664
|
+
"required": [
|
|
665
|
+
"consolidation"
|
|
666
|
+
]
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"properties": {
|
|
670
|
+
"writeMode": {
|
|
671
|
+
"const": "capture"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"required": [
|
|
675
|
+
"writeMode"
|
|
676
|
+
]
|
|
677
|
+
}
|
|
678
|
+
]
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"if": {
|
|
684
|
+
"properties": {
|
|
685
|
+
"backend": {
|
|
686
|
+
"const": "bujo"
|
|
687
|
+
},
|
|
688
|
+
"mode": {
|
|
689
|
+
"const": "bujo"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"required": [
|
|
693
|
+
"mode"
|
|
694
|
+
]
|
|
695
|
+
},
|
|
696
|
+
"then": {
|
|
697
|
+
"required": [
|
|
698
|
+
"embeddings",
|
|
699
|
+
"llm"
|
|
700
|
+
],
|
|
701
|
+
"properties": {
|
|
702
|
+
"embeddings": {
|
|
703
|
+
"type": "object",
|
|
704
|
+
"minProperties": 1
|
|
705
|
+
},
|
|
706
|
+
"llm": {
|
|
707
|
+
"type": "object",
|
|
708
|
+
"properties": {
|
|
709
|
+
"model": {}
|
|
710
|
+
},
|
|
711
|
+
"required": [
|
|
712
|
+
"model"
|
|
713
|
+
]
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"if": {
|
|
720
|
+
"properties": {
|
|
721
|
+
"backend": {
|
|
722
|
+
"const": "bujo"
|
|
723
|
+
},
|
|
724
|
+
"writeMode": {
|
|
725
|
+
"const": "capture"
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
"required": [
|
|
729
|
+
"writeMode"
|
|
730
|
+
]
|
|
731
|
+
},
|
|
732
|
+
"then": {
|
|
733
|
+
"properties": {
|
|
734
|
+
"mode": {
|
|
735
|
+
"const": "bujo"
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
"required": [
|
|
739
|
+
"mode"
|
|
740
|
+
]
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
]
|
|
468
744
|
},
|
|
469
745
|
"tools": {
|
|
470
746
|
"type": "object",
|
|
@@ -507,6 +783,21 @@
|
|
|
507
783
|
],
|
|
508
784
|
"type": "string"
|
|
509
785
|
},
|
|
786
|
+
"mcpRequestContextServers": {
|
|
787
|
+
"description": "Configured stdio MCP server names that receive trusted per-request conversation, run, output-directory, and scoped progress context.",
|
|
788
|
+
"examples": [
|
|
789
|
+
[
|
|
790
|
+
"transcribe"
|
|
791
|
+
]
|
|
792
|
+
],
|
|
793
|
+
"type": "array",
|
|
794
|
+
"items": {
|
|
795
|
+
"type": "string",
|
|
796
|
+
"minLength": 1
|
|
797
|
+
},
|
|
798
|
+
"default": [],
|
|
799
|
+
"uniqueItems": true
|
|
800
|
+
},
|
|
510
801
|
"mcpCallTimeoutMs": {
|
|
511
802
|
"description": "Configures mcpCallTimeoutMs for the tools section.",
|
|
512
803
|
"examples": [
|
|
@@ -534,7 +825,11 @@
|
|
|
534
825
|
"examples": [
|
|
535
826
|
"native"
|
|
536
827
|
],
|
|
537
|
-
"type": "string"
|
|
828
|
+
"type": "string",
|
|
829
|
+
"enum": [
|
|
830
|
+
"native",
|
|
831
|
+
"off"
|
|
832
|
+
]
|
|
538
833
|
},
|
|
539
834
|
"network": {
|
|
540
835
|
"type": "object",
|
|
@@ -546,7 +841,12 @@
|
|
|
546
841
|
"none"
|
|
547
842
|
],
|
|
548
843
|
"type": "string",
|
|
549
|
-
"default": "none"
|
|
844
|
+
"default": "none",
|
|
845
|
+
"enum": [
|
|
846
|
+
"none",
|
|
847
|
+
"localhost",
|
|
848
|
+
"allowlist"
|
|
849
|
+
]
|
|
550
850
|
},
|
|
551
851
|
"allowlist": {
|
|
552
852
|
"description": "Configures network.allowlist for the sandbox section.",
|
|
@@ -604,7 +904,11 @@
|
|
|
604
904
|
"fail-closed"
|
|
605
905
|
],
|
|
606
906
|
"type": "string",
|
|
607
|
-
"default": "fail-closed"
|
|
907
|
+
"default": "fail-closed",
|
|
908
|
+
"enum": [
|
|
909
|
+
"fail-closed",
|
|
910
|
+
"unsafe-host-process"
|
|
911
|
+
]
|
|
608
912
|
},
|
|
609
913
|
"unsafeAllowHostProcess": {
|
|
610
914
|
"description": "Configures unsafeAllowHostProcess for the sandbox section.",
|
|
@@ -1426,6 +1730,32 @@
|
|
|
1426
1730
|
"type": "object",
|
|
1427
1731
|
"additionalProperties": true
|
|
1428
1732
|
},
|
|
1733
|
+
"sendTools": {
|
|
1734
|
+
"type": "object",
|
|
1735
|
+
"additionalProperties": false,
|
|
1736
|
+
"properties": {
|
|
1737
|
+
"scope": {
|
|
1738
|
+
"description": "Bind Telegram send tools to the chat that produced the current run.",
|
|
1739
|
+
"examples": [
|
|
1740
|
+
"producing-conversation"
|
|
1741
|
+
],
|
|
1742
|
+
"type": "string",
|
|
1743
|
+
"enum": [
|
|
1744
|
+
"producing-conversation"
|
|
1745
|
+
]
|
|
1746
|
+
},
|
|
1747
|
+
"pathScope": {
|
|
1748
|
+
"description": "Confine Telegram path uploads to the current run output directory.",
|
|
1749
|
+
"examples": [
|
|
1750
|
+
"run-output"
|
|
1751
|
+
],
|
|
1752
|
+
"type": "string",
|
|
1753
|
+
"enum": [
|
|
1754
|
+
"run-output"
|
|
1755
|
+
]
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1429
1759
|
"enabled": {
|
|
1430
1760
|
"description": "Enables the telegram capability.",
|
|
1431
1761
|
"examples": [
|
|
@@ -1514,6 +1844,40 @@
|
|
|
1514
1844
|
"type": "integer"
|
|
1515
1845
|
}
|
|
1516
1846
|
}
|
|
1847
|
+
},
|
|
1848
|
+
"transcription": {
|
|
1849
|
+
"type": "object",
|
|
1850
|
+
"additionalProperties": false,
|
|
1851
|
+
"properties": {
|
|
1852
|
+
"endpoint": {
|
|
1853
|
+
"description": "Configures transcription.endpoint for the telegram section.",
|
|
1854
|
+
"examples": [
|
|
1855
|
+
"example"
|
|
1856
|
+
],
|
|
1857
|
+
"type": "string"
|
|
1858
|
+
},
|
|
1859
|
+
"model": {
|
|
1860
|
+
"description": "Configures transcription.model for the telegram section.",
|
|
1861
|
+
"examples": [
|
|
1862
|
+
"example"
|
|
1863
|
+
],
|
|
1864
|
+
"type": "string"
|
|
1865
|
+
},
|
|
1866
|
+
"language": {
|
|
1867
|
+
"description": "Configures transcription.language for the telegram section.",
|
|
1868
|
+
"examples": [
|
|
1869
|
+
"example"
|
|
1870
|
+
],
|
|
1871
|
+
"type": "string"
|
|
1872
|
+
},
|
|
1873
|
+
"timeoutMs": {
|
|
1874
|
+
"description": "Configures transcription.timeoutMs for the telegram section.",
|
|
1875
|
+
"examples": [
|
|
1876
|
+
1
|
|
1877
|
+
],
|
|
1878
|
+
"type": "integer"
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1517
1881
|
}
|
|
1518
1882
|
}
|
|
1519
1883
|
},
|
|
@@ -46,7 +46,7 @@ The `mono-agent` CLI ships with `@mono-agent/agent-app` on npm:
|
|
|
46
46
|
npm install -g @mono-agent/agent-app # or: npx @mono-agent/agent-app …
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
To run an unreleased build instead, use a clone of the mono-agent workspace with Node
|
|
49
|
+
To run an unreleased build instead, use a clone of the mono-agent workspace with Node 22.19.0+ and pnpm 10 or newer already installed:
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
52
|
git clone <mono-agent-repo> ~/mono-agent && cd ~/mono-agent
|
|
@@ -59,7 +59,7 @@ Everything below runs in the user's agent folder, not the workspace.
|
|
|
59
59
|
|
|
60
60
|
## Composition Flow
|
|
61
61
|
|
|
62
|
-
1. **Discover.** Read `references/discovery-questions.md` and resolve: runtime model + backup models, channels, identity/knowledge, skills, tools/MCP, memory strategy, sandbox, observability, and the acceptance smoke test. Then run `mono-agent presets list` (and `mono-agent presets show <id>`) for a saved answer-set matching the user's intent; `references/playbooks.md` is the prose companion. If a preset fits, use it as the starting shape. The
|
|
62
|
+
1. **Discover.** Read `references/discovery-questions.md` and resolve: runtime model + backup models, channels, identity/knowledge, skills, tools/MCP, memory strategy, sandbox, observability, and the acceptance smoke test. Then run `mono-agent presets list` (and `mono-agent presets show <id>`) for a saved answer-set matching the user's intent; `references/playbooks.md` is the prose companion. If a preset fits, use it as the starting shape. The five core presets are `starter`, `telegram-assistant`, `slack-bot`, `local-private`, and `code-sandbox`; optional plugins such as Supermemory ship their own setup skill. Shapes with no core preset (an OpenAI-API gateway, cron digest, A2A provider, Phoenix-observed, Supermemory, or a full multi-channel build) are hand-assembled from the capability modules and playbooks.
|
|
63
63
|
2. **Scaffold.** In the user's folder, prefer the preset path when one fits — scaffold non-interactively with `--yes` (the composer is not the interactive `init` wizard):
|
|
64
64
|
|
|
65
65
|
```bash
|
|
@@ -67,8 +67,8 @@ Everything below runs in the user's agent folder, not the workspace.
|
|
|
67
67
|
mono-agent init --model <ref> [--fallback-models <csv>] [--effort <level>] [--auth] [--memory lite|journal|bujo] # bare scaffold
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
Either writes a `mono-agent.config.json` (with `tools.allowedTools` pre-filled from the selected capabilities' recommended tools), an `IDENTITY.md` that references any knowledge files already present, and `.mono-agent/` working directories (presets also emit a `.env.example` and any extra files). `--effort` writes `runtime.effort
|
|
71
|
-
3. **Configure.** Edit `mono-agent.config.json` to match the discovery answers. Read `references/config-blueprint.md` for the full annotated config shape: every channel section, skills, MCP, memory, sandbox, and fallback models. Run `mono-agent config` to see the resolved configuration field-by-field with each value tagged `env` / `json` / `default` — the fastest way to confirm a value came from where you intended.
|
|
70
|
+
Either writes a `mono-agent.config.json` (with `tools.allowedTools` pre-filled from the selected capabilities' recommended tools), an `IDENTITY.md` that references any knowledge files already present, the managed project-local `mono-agent-configure` and `mono-agent-memory` skills, and `.mono-agent/` working directories (presets also emit a `.env.example` and any extra files). `--effort` writes `runtime.effort` on supporting providers (do not use it with direct `opencode:*` SDK 1.x); `--auth` opts in to provider setup before writing files; `--dry-run` previews without writing or launching auth/preflight commands. Existing scaffold/config files are never overwritten; reviewed secret setup is the deliberate exception that can transactionally replace `.env` and update `.gitignore`.
|
|
71
|
+
3. **Configure.** Edit `mono-agent.config.json` to match the discovery answers. Preserve the generated `mono-agent-configure` and `mono-agent-memory` selections when appending other skills, and do not auto-select this full authoring-oriented composer inside the generated agent. Read `references/config-blueprint.md` for the full annotated config shape: every channel section, skills, MCP, memory, sandbox, and fallback models. Run `mono-agent config` to see the resolved configuration field-by-field with each value tagged `env` / `json` / `default` — the fastest way to confirm a value came from where you intended.
|
|
72
72
|
4. **Validate.**
|
|
73
73
|
|
|
74
74
|
```bash
|
|
@@ -35,7 +35,7 @@ my-agent/
|
|
|
35
35
|
"model": "claude:claude-sonnet-4-6", // claude:* | codex:* | pi:<provider>:<model>
|
|
36
36
|
"fallbackModels": ["pi:ollama:gemma4:31b"],
|
|
37
37
|
"executionMode": "sdk", // sdk | cli (default inferred from model)
|
|
38
|
-
"effort": "medium", // none|low|medium|high|xhigh|max
|
|
38
|
+
"effort": "medium", // none|low|medium|high|xhigh|max; omit for direct opencode:*
|
|
39
39
|
"permissionMode": "default", // default|plan|acceptEdits|bypassPermissions (CLI backends)
|
|
40
40
|
"maxTurns": 0, // 0 or omitted means unlimited; 1-100 caps turns
|
|
41
41
|
"workspace": ".",
|
|
@@ -110,7 +110,9 @@ my-agent/
|
|
|
110
110
|
"mcpConfigPath": "./mcp.json" // stdio/sse/http servers; inlined for SDK runtimes
|
|
111
111
|
},
|
|
112
112
|
|
|
113
|
-
// Sandbox for runtime commands.
|
|
113
|
+
// Sandbox for Pi-owned runtime commands. Direct Codex uses its own sandbox;
|
|
114
|
+
// Claude/direct OpenCode cannot enforce these exact srt scopes. All reject
|
|
115
|
+
// this block (pi:opencode-go:* remains a Pi route).
|
|
114
116
|
"sandbox": {
|
|
115
117
|
"mode": "native", // native (srt-wrapped) | off
|
|
116
118
|
"network": { "mode": "none", "allowlist": [] }, // none|localhost|allowlist|all; *.suffix wildcards
|
|
@@ -187,8 +189,7 @@ my-agent/
|
|
|
187
189
|
"port": 4040,
|
|
188
190
|
"basePath": "/v1", // serves /v1/models + /v1/chat/completions (SSE)
|
|
189
191
|
"allowNonLoopback": false,
|
|
190
|
-
"modelId": "my-agent"
|
|
191
|
-
"apiKey": "..." // optional bearer required from clients
|
|
192
|
+
"modelId": "my-agent" // model id advertised to API clients
|
|
192
193
|
},
|
|
193
194
|
|
|
194
195
|
// Telegram & Slack deliver only the FINAL answer by default (no streamed
|
|
@@ -10,15 +10,15 @@ Question:
|
|
|
10
10
|
Which model should drive the agent, and should any backups take over when the provider fails?
|
|
11
11
|
|
|
12
12
|
1. `claude:<model>` through SDK or CLI mode
|
|
13
|
-
2. `
|
|
14
|
-
3. `codex:<model>` through
|
|
13
|
+
2. `codex:<model>` through CLI mode (the default direct Codex path)
|
|
14
|
+
3. `pi:openai-codex:<model>` through SDK mode (a selectable Pi alternative when Pi auth is configured)
|
|
15
15
|
4. `pi:<provider>:<model>` through SDK mode (OpenAI, Copilot, OpenRouter, OpenCode-through-Pi, local Ollama, LM Studio, ...)
|
|
16
16
|
5. A custom MonoRuntimeLike supplied programmatically (escape hatch)
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
Fills: `runtime.model`, `runtime.fallbackModels` (ordered backup references tried on retryable provider failures), `runtime.executionMode` (usually inferred), `runtime.effort`, `runtime.maxTurns`.
|
|
19
|
+
Fills: `runtime.model`, `runtime.fallbackModels` (ordered backup references tried on retryable provider failures), `runtime.executionMode` (usually inferred), `runtime.effort`, `runtime.maxTurns`. Keep a direct `codex:*` chain all-direct. Pi, Claude, and direct OpenCode may mix only with `sandbox` omitted/off; if native mono-agent sandboxing is selected, every primary/fallback/trigger model must stay on Pi (`pi:opencode-go:*` is Pi). Direct `opencode:*` is advanced scaffold/config-only, requires exact allow-all plus an explicit native `permissionMode`, and must omit `runtime.effort` under SDK 1.x.
|
|
20
20
|
|
|
21
|
-
The interactive `mono-agent init` wizard discovers Pi OpenAI-Codex auth, OpenCode models, Ollama models, and LM Studio's local server best-effort. It
|
|
21
|
+
The interactive `mono-agent init` wizard discovers Pi OpenAI-Codex auth, OpenCode models, Ollama models, and LM Studio's local server best-effort. It defaults to direct `codex:gpt-5.6-terra` and presents both `pi:openai-codex:gpt-5.6-terra` and `pi:openai-codex:gpt-5.6-sol` as concrete selectable candidates. Direct `codex:gpt-5.6-sol` is also selectable; direct GPT-5.6 routes require Codex CLI 0.144.0 or newer. The wizard maps discovered OpenCode options to `pi:opencode-go:<model>` for setup/preflight, and auto-adds local provider modules when a primary or fallback model uses `pi:ollama:*` or `pi:lmstudio:*`. Recover missing Pi OAuth with `mono-agent auth login <provider>` (and `--pi-auth-path` when required). Direct `opencode:<provider>:<model>` refs are supported only as hand-authored runtime backend config; do not present them as a first-class composer or init wizard selection. For local models also fill `providers.local` (e.g. an Ollama or LM Studio base URL plus model capabilities). Follow-up only if needed: continuous provider session per conversation (`runtime.session.mode: "continuous"`, default) versus stateless per-message.
|
|
22
22
|
|
|
23
23
|
## 2. Channels Of Communication
|
|
24
24
|
|
|
@@ -148,8 +148,8 @@ is **auto-scheduled in-app** — no external cron or launchd setup needed.
|
|
|
148
148
|
- Ask: which chat LLM provider/model for LLM pipelines?
|
|
149
149
|
- Ollama: local model string such as `qwen3.6:latest`; pull it first with
|
|
150
150
|
`ollama pull qwen3.6:latest`.
|
|
151
|
-
- agent-host: SDK runtime model reference such as `pi:openai-codex:gpt-5.
|
|
152
|
-
`executionMode: "sdk"`. Do not use CLI-backed refs such as `codex:gpt-5.
|
|
151
|
+
- agent-host: SDK runtime model reference such as `pi:openai-codex:gpt-5.6-terra` with
|
|
152
|
+
`executionMode: "sdk"`. Do not use CLI-backed refs such as `codex:gpt-5.6-terra`; they are
|
|
153
153
|
rejected for memory LLMs until runtimes can enforce no external actions.
|
|
154
154
|
- Ask: should per-turn intelligent capture be enabled (`writeMode: "capture"`), or only
|
|
155
155
|
deterministic rapid-log summaries (`append-host-summary`) plus scheduled consolidation?
|
|
@@ -180,7 +180,7 @@ For an agent-host memory LLM, write the `llm` block as:
|
|
|
180
180
|
```jsonc
|
|
181
181
|
"llm": {
|
|
182
182
|
"provider": "agent-host",
|
|
183
|
-
"model": "pi:openai-codex:gpt-5.
|
|
183
|
+
"model": "pi:openai-codex:gpt-5.6-terra",
|
|
184
184
|
"executionMode": "sdk"
|
|
185
185
|
}
|
|
186
186
|
```
|
|
@@ -209,7 +209,7 @@ See `docs/memory/index.md` for the full tier table, config shapes, and CLI subco
|
|
|
209
209
|
Question:
|
|
210
210
|
|
|
211
211
|
```text
|
|
212
|
-
Should runtime commands run inside
|
|
212
|
+
Should Pi-owned runtime commands run inside the native mono-agent sandbox? Direct Codex uses its own native sandbox and rejects this block; Claude and direct OpenCode reject it because their provider-owned tools cannot enforce the exact `srt` scopes.
|
|
213
213
|
|
|
214
214
|
1. No sandbox for the first pass
|
|
215
215
|
2. Native sandbox, no network (fail closed)
|