@mono-agent/agent-app 0.13.0 → 0.15.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 +164 -37
- package/dist/adapter-send-tools-main.js +0 -1
- package/dist/adapter-send-tools-main.js.map +1 -1
- package/dist/adapter-send-tools.d.ts +8 -5
- package/dist/adapter-send-tools.d.ts.map +1 -1
- package/dist/adapter-send-tools.js +133 -287
- package/dist/adapter-send-tools.js.map +1 -1
- package/dist/app-config.d.ts.map +1 -1
- package/dist/app-config.js +3 -0
- package/dist/app-config.js.map +1 -1
- package/dist/app-controller-channels.d.ts +41 -7
- package/dist/app-controller-channels.d.ts.map +1 -1
- package/dist/app-controller-channels.js +4 -4
- package/dist/app-controller-channels.js.map +1 -1
- package/dist/app-controller-continuation.d.ts +43 -11
- package/dist/app-controller-continuation.d.ts.map +1 -1
- package/dist/app-controller-continuation.js +1 -5
- package/dist/app-controller-continuation.js.map +1 -1
- package/dist/app-controller-lifecycle.d.ts +34 -5
- package/dist/app-controller-lifecycle.d.ts.map +1 -1
- package/dist/app-controller-lifecycle.js.map +1 -1
- package/dist/app-controller-maintenance.d.ts +46 -8
- package/dist/app-controller-maintenance.d.ts.map +1 -1
- package/dist/app-controller-maintenance.js +64 -1
- package/dist/app-controller-maintenance.js.map +1 -1
- package/dist/app-controller-memory-health.d.ts +39 -10
- package/dist/app-controller-memory-health.d.ts.map +1 -1
- package/dist/app-controller-memory-health.js.map +1 -1
- package/dist/app-controller-memory.d.ts +27 -5
- package/dist/app-controller-memory.d.ts.map +1 -1
- package/dist/app-controller-memory.js +0 -1
- package/dist/app-controller-memory.js.map +1 -1
- package/dist/app-controller-responder.d.ts +53 -7
- package/dist/app-controller-responder.d.ts.map +1 -1
- package/dist/app-controller-responder.js +5 -5
- package/dist/app-controller-responder.js.map +1 -1
- package/dist/app-controller-traceability.d.ts +63 -14
- package/dist/app-controller-traceability.d.ts.map +1 -1
- package/dist/app-controller-traceability.js.map +1 -1
- package/dist/app-controller-types.d.ts +63 -0
- package/dist/app-controller-types.d.ts.map +1 -0
- package/dist/app-controller-types.js +2 -0
- package/dist/app-controller-types.js.map +1 -0
- package/dist/app-controller-utils.d.ts +1 -1
- package/dist/app-controller-utils.d.ts.map +1 -1
- package/dist/app-controller-utils.js +1 -1
- package/dist/app-controller-utils.js.map +1 -1
- package/dist/app-controller.d.ts +5 -62
- package/dist/app-controller.d.ts.map +1 -1
- package/dist/app-controller.js +0 -6
- package/dist/app-controller.js.map +1 -1
- package/dist/background-environment.d.ts +1 -0
- package/dist/background-environment.d.ts.map +1 -1
- package/dist/background-environment.js +1 -0
- package/dist/background-environment.js.map +1 -1
- package/dist/background-lifecycle-utils.d.ts +27 -0
- package/dist/background-lifecycle-utils.d.ts.map +1 -0
- package/dist/background-lifecycle-utils.js +69 -0
- package/dist/background-lifecycle-utils.js.map +1 -0
- package/dist/background-log-maintenance.d.ts +6 -0
- package/dist/background-log-maintenance.d.ts.map +1 -0
- package/dist/background-log-maintenance.js +185 -0
- package/dist/background-log-maintenance.js.map +1 -0
- package/dist/background-runtime.d.ts +13 -2
- package/dist/background-runtime.d.ts.map +1 -1
- package/dist/background-runtime.js +27 -3
- package/dist/background-runtime.js.map +1 -1
- package/dist/background.d.ts +28 -5
- package/dist/background.d.ts.map +1 -1
- package/dist/background.js +229 -297
- package/dist/background.js.map +1 -1
- package/dist/channel-drivers/cron.js +8 -1
- package/dist/channel-drivers/cron.js.map +1 -1
- package/dist/channel-drivers/native-notify.d.ts +2 -0
- package/dist/channel-drivers/native-notify.d.ts.map +1 -1
- package/dist/channel-drivers/native-notify.js +14 -2
- package/dist/channel-drivers/native-notify.js.map +1 -1
- package/dist/channel-drivers/slack.d.ts.map +1 -1
- package/dist/channel-drivers/slack.js +49 -0
- package/dist/channel-drivers/slack.js.map +1 -1
- package/dist/channel-drivers/telegram.d.ts.map +1 -1
- package/dist/channel-drivers/telegram.js +7 -18
- package/dist/channel-drivers/telegram.js.map +1 -1
- package/dist/channel-drivers/tui.d.ts.map +1 -1
- package/dist/channel-drivers/tui.js +8 -0
- package/dist/channel-drivers/tui.js.map +1 -1
- package/dist/channel-plugins.d.ts +2 -11
- package/dist/channel-plugins.d.ts.map +1 -1
- package/dist/channel-plugins.js +63 -60
- package/dist/channel-plugins.js.map +1 -1
- package/dist/channel-status-display.js +2 -6
- package/dist/channel-status-display.js.map +1 -1
- package/dist/channels.d.ts +5 -6
- package/dist/channels.d.ts.map +1 -1
- package/dist/channels.js +7 -5
- package/dist/channels.js.map +1 -1
- package/dist/cli-args.d.ts +8 -2
- package/dist/cli-args.d.ts.map +1 -1
- package/dist/cli-args.js +98 -27
- package/dist/cli-args.js.map +1 -1
- package/dist/cli-background-command.d.ts.map +1 -1
- package/dist/cli-background-command.js +90 -15
- package/dist/cli-background-command.js.map +1 -1
- package/dist/cli-commands.d.ts.map +1 -1
- package/dist/cli-commands.js +0 -14
- package/dist/cli-commands.js.map +1 -1
- package/dist/cli-help.d.ts.map +1 -1
- package/dist/cli-help.js +1 -7
- package/dist/cli-help.js.map +1 -1
- package/dist/cli-runs-command.d.ts +0 -3
- package/dist/cli-runs-command.d.ts.map +1 -1
- package/dist/cli-runs-command.js +1 -5
- package/dist/cli-runs-command.js.map +1 -1
- package/dist/cli-validate-config-command.d.ts.map +1 -1
- package/dist/cli-validate-config-command.js +12 -8
- package/dist/cli-validate-config-command.js.map +1 -1
- package/dist/config-reference.d.ts +4 -1
- package/dist/config-reference.d.ts.map +1 -1
- package/dist/config-reference.js +245 -69
- package/dist/config-reference.js.map +1 -1
- package/dist/configured-agent.d.ts +2 -8
- package/dist/configured-agent.d.ts.map +1 -1
- package/dist/configured-agent.js +3 -25
- package/dist/configured-agent.js.map +1 -1
- package/dist/consumer-contract.d.ts.map +1 -1
- package/dist/consumer-contract.js +2 -4
- package/dist/consumer-contract.js.map +1 -1
- package/dist/doctor-observability.d.ts +7 -0
- package/dist/doctor-observability.d.ts.map +1 -0
- package/dist/doctor-observability.js +80 -0
- package/dist/doctor-observability.js.map +1 -0
- package/dist/doctor-types.d.ts +17 -0
- package/dist/doctor-types.d.ts.map +1 -0
- package/dist/doctor-types.js +2 -0
- package/dist/doctor-types.js.map +1 -0
- package/dist/doctor.d.ts +2 -12
- package/dist/doctor.d.ts.map +1 -1
- package/dist/doctor.js +8 -108
- package/dist/doctor.js.map +1 -1
- package/dist/first-run-readiness.d.ts +1 -1
- package/dist/first-run-readiness.d.ts.map +1 -1
- package/dist/first-run-readiness.js +1 -1
- package/dist/first-run-readiness.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/interaction-bridge.d.ts +5 -22
- package/dist/interaction-bridge.d.ts.map +1 -1
- package/dist/interaction-bridge.js +251 -141
- package/dist/interaction-bridge.js.map +1 -1
- package/dist/launchd.d.ts +33 -1
- package/dist/launchd.d.ts.map +1 -1
- package/dist/launchd.js +129 -2
- package/dist/launchd.js.map +1 -1
- package/dist/managed-web-logs.d.ts +16 -0
- package/dist/managed-web-logs.d.ts.map +1 -0
- package/dist/managed-web-logs.js +153 -0
- package/dist/managed-web-logs.js.map +1 -0
- package/dist/modules/catalog.js +1 -1
- package/dist/modules/catalog.js.map +1 -1
- package/dist/modules/known-tools.d.ts +1 -1
- package/dist/modules/known-tools.d.ts.map +1 -1
- package/dist/modules/known-tools.js +0 -3
- package/dist/modules/known-tools.js.map +1 -1
- package/dist/posted-reply-history.d.ts.map +1 -1
- package/dist/posted-reply-history.js +3 -0
- package/dist/posted-reply-history.js.map +1 -1
- package/dist/run-history.d.ts +6 -2
- package/dist/run-history.d.ts.map +1 -1
- package/dist/run-history.js +476 -96
- package/dist/run-history.js.map +1 -1
- package/dist/ui.js +1 -1
- package/dist/ui.js.map +1 -1
- package/dist/web-command.d.ts +4 -1
- package/dist/web-command.d.ts.map +1 -1
- package/dist/web-command.js +31 -1
- package/dist/web-command.js.map +1 -1
- package/dist/wizard/prompts.d.ts.map +1 -1
- package/dist/wizard/prompts.js +3 -4
- package/dist/wizard/prompts.js.map +1 -1
- package/dist/wizard/run.js +3 -3
- package/dist/wizard/run.js.map +1 -1
- package/package.json +16 -16
- package/schema/mono-agent.config.schema.json +282 -164
- package/skills/mono-agent-composer/SKILL.md +5 -5
- package/skills/mono-agent-composer/references/config-blueprint.md +6 -13
- package/skills/mono-agent-composer/references/discovery-questions.md +1 -1
- package/skills/mono-agent-composer/references/feature-coverage.md +7 -8
- package/skills/mono-agent-composer/references/package-map.md +5 -6
- package/skills/mono-agent-composer/references/playbooks.md +3 -3
- package/skills/mono-agent-composer/references/validation.md +21 -1
|
@@ -637,6 +637,18 @@
|
|
|
637
637
|
"default": "0 */2 * * *"
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
|
+
},
|
|
641
|
+
"reflection": {
|
|
642
|
+
"type": "object",
|
|
643
|
+
"deprecated": true,
|
|
644
|
+
"additionalProperties": true,
|
|
645
|
+
"description": "Removed memory.reflection settings are tolerated only to emit a migration warning."
|
|
646
|
+
},
|
|
647
|
+
"migration": {
|
|
648
|
+
"type": "object",
|
|
649
|
+
"deprecated": true,
|
|
650
|
+
"additionalProperties": true,
|
|
651
|
+
"description": "Removed memory.migration settings are tolerated only to emit a migration warning."
|
|
640
652
|
}
|
|
641
653
|
},
|
|
642
654
|
"allOf": [
|
|
@@ -1132,14 +1144,41 @@
|
|
|
1132
1144
|
"additionalProperties": false,
|
|
1133
1145
|
"properties": {
|
|
1134
1146
|
"exporters": {
|
|
1135
|
-
"description": "Configures exporters for the observability section.",
|
|
1136
|
-
"examples": [
|
|
1137
|
-
[]
|
|
1138
|
-
],
|
|
1139
1147
|
"type": "array",
|
|
1148
|
+
"maxItems": 1,
|
|
1140
1149
|
"items": {
|
|
1141
1150
|
"type": "object",
|
|
1142
|
-
"additionalProperties":
|
|
1151
|
+
"additionalProperties": false,
|
|
1152
|
+
"properties": {
|
|
1153
|
+
"type": {
|
|
1154
|
+
"const": "phoenix"
|
|
1155
|
+
},
|
|
1156
|
+
"endpoint": {
|
|
1157
|
+
"type": "string"
|
|
1158
|
+
},
|
|
1159
|
+
"headers": {
|
|
1160
|
+
"type": "object",
|
|
1161
|
+
"additionalProperties": {
|
|
1162
|
+
"type": "string",
|
|
1163
|
+
"minLength": 1
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
"includeSensitiveData": {
|
|
1167
|
+
"type": "boolean"
|
|
1168
|
+
},
|
|
1169
|
+
"contentPatternRedaction": {
|
|
1170
|
+
"type": "boolean"
|
|
1171
|
+
},
|
|
1172
|
+
"timeoutMs": {
|
|
1173
|
+
"type": "integer",
|
|
1174
|
+
"minimum": 1,
|
|
1175
|
+
"maximum": 60000
|
|
1176
|
+
},
|
|
1177
|
+
"projectName": {
|
|
1178
|
+
"type": "string",
|
|
1179
|
+
"minLength": 1
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1143
1182
|
}
|
|
1144
1183
|
}
|
|
1145
1184
|
}
|
|
@@ -1199,14 +1238,77 @@
|
|
|
1199
1238
|
}
|
|
1200
1239
|
},
|
|
1201
1240
|
"local": {
|
|
1202
|
-
"description": "Configures local for the providers section.",
|
|
1203
|
-
"examples": [
|
|
1204
|
-
[]
|
|
1205
|
-
],
|
|
1206
1241
|
"type": "array",
|
|
1207
1242
|
"items": {
|
|
1208
1243
|
"type": "object",
|
|
1209
|
-
"additionalProperties":
|
|
1244
|
+
"additionalProperties": false,
|
|
1245
|
+
"required": [
|
|
1246
|
+
"id",
|
|
1247
|
+
"type"
|
|
1248
|
+
],
|
|
1249
|
+
"properties": {
|
|
1250
|
+
"id": {
|
|
1251
|
+
"type": "string",
|
|
1252
|
+
"minLength": 1
|
|
1253
|
+
},
|
|
1254
|
+
"type": {
|
|
1255
|
+
"enum": [
|
|
1256
|
+
"ollama",
|
|
1257
|
+
"lmstudio",
|
|
1258
|
+
"openai_compat"
|
|
1259
|
+
]
|
|
1260
|
+
},
|
|
1261
|
+
"baseUrl": {
|
|
1262
|
+
"type": "string"
|
|
1263
|
+
},
|
|
1264
|
+
"enabled": {
|
|
1265
|
+
"type": "boolean"
|
|
1266
|
+
},
|
|
1267
|
+
"trustPublicUrl": {
|
|
1268
|
+
"type": "boolean"
|
|
1269
|
+
},
|
|
1270
|
+
"apiKey": {
|
|
1271
|
+
"type": "string"
|
|
1272
|
+
},
|
|
1273
|
+
"apiKeyEnv": {
|
|
1274
|
+
"type": "string"
|
|
1275
|
+
},
|
|
1276
|
+
"models": {
|
|
1277
|
+
"type": "array",
|
|
1278
|
+
"items": {
|
|
1279
|
+
"type": "object",
|
|
1280
|
+
"additionalProperties": false,
|
|
1281
|
+
"required": [
|
|
1282
|
+
"name"
|
|
1283
|
+
],
|
|
1284
|
+
"properties": {
|
|
1285
|
+
"name": {
|
|
1286
|
+
"type": "string",
|
|
1287
|
+
"minLength": 1
|
|
1288
|
+
},
|
|
1289
|
+
"alias": {
|
|
1290
|
+
"type": "string",
|
|
1291
|
+
"minLength": 1
|
|
1292
|
+
},
|
|
1293
|
+
"displayName": {
|
|
1294
|
+
"type": "string",
|
|
1295
|
+
"minLength": 1
|
|
1296
|
+
},
|
|
1297
|
+
"enabled": {
|
|
1298
|
+
"type": "boolean"
|
|
1299
|
+
},
|
|
1300
|
+
"capabilities": {
|
|
1301
|
+
"type": "object",
|
|
1302
|
+
"additionalProperties": true
|
|
1303
|
+
},
|
|
1304
|
+
"pricing": {
|
|
1305
|
+
"type": "object",
|
|
1306
|
+
"additionalProperties": true
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1210
1312
|
}
|
|
1211
1313
|
}
|
|
1212
1314
|
}
|
|
@@ -1220,7 +1322,7 @@
|
|
|
1220
1322
|
"additionalProperties": false,
|
|
1221
1323
|
"properties": {
|
|
1222
1324
|
"host": {
|
|
1223
|
-
"description": "
|
|
1325
|
+
"description": "Bind host for the app-owned AskUser/tool-progress bridge. Defaults to loopback; keep it local because non-loopback values are not rejected.",
|
|
1224
1326
|
"examples": [
|
|
1225
1327
|
"127.0.0.1"
|
|
1226
1328
|
],
|
|
@@ -1242,7 +1344,7 @@
|
|
|
1242
1344
|
"additionalProperties": false,
|
|
1243
1345
|
"properties": {
|
|
1244
1346
|
"timeoutMs": {
|
|
1245
|
-
"description": "Maximum wait for one AskUser
|
|
1347
|
+
"description": "Maximum wait for one AskUser interaction (one to five questions).",
|
|
1246
1348
|
"examples": [
|
|
1247
1349
|
600000
|
|
1248
1350
|
],
|
|
@@ -1498,20 +1600,10 @@
|
|
|
1498
1600
|
"additionalProperties": false,
|
|
1499
1601
|
"properties": {
|
|
1500
1602
|
"jobs": {
|
|
1501
|
-
"description": "Inline scheduled jobs. Folder-based cron jobs still merge from cron.dir.",
|
|
1502
|
-
"examples": [
|
|
1503
|
-
[
|
|
1504
|
-
{
|
|
1505
|
-
"id": "daily",
|
|
1506
|
-
"expression": "0 8 * * *",
|
|
1507
|
-
"prompt": "Summarize the overnight queue."
|
|
1508
|
-
}
|
|
1509
|
-
]
|
|
1510
|
-
],
|
|
1511
1603
|
"type": "array",
|
|
1512
1604
|
"items": {
|
|
1513
1605
|
"type": "object",
|
|
1514
|
-
"additionalProperties":
|
|
1606
|
+
"additionalProperties": false,
|
|
1515
1607
|
"required": [
|
|
1516
1608
|
"id",
|
|
1517
1609
|
"expression",
|
|
@@ -1519,44 +1611,53 @@
|
|
|
1519
1611
|
],
|
|
1520
1612
|
"properties": {
|
|
1521
1613
|
"id": {
|
|
1522
|
-
"type": "string"
|
|
1614
|
+
"type": "string",
|
|
1615
|
+
"minLength": 1
|
|
1523
1616
|
},
|
|
1524
1617
|
"enabled": {
|
|
1525
1618
|
"type": "boolean"
|
|
1526
1619
|
},
|
|
1527
1620
|
"expression": {
|
|
1528
|
-
"type": "string"
|
|
1621
|
+
"type": "string",
|
|
1622
|
+
"minLength": 1
|
|
1529
1623
|
},
|
|
1530
1624
|
"timezone": {
|
|
1531
|
-
"type": "string"
|
|
1625
|
+
"type": "string",
|
|
1626
|
+
"minLength": 1
|
|
1532
1627
|
},
|
|
1533
1628
|
"prompt": {
|
|
1534
|
-
"type": "string"
|
|
1629
|
+
"type": "string",
|
|
1630
|
+
"minLength": 1
|
|
1535
1631
|
},
|
|
1536
1632
|
"conversationId": {
|
|
1537
|
-
"type": "string"
|
|
1633
|
+
"type": "string",
|
|
1634
|
+
"minLength": 1
|
|
1538
1635
|
},
|
|
1539
1636
|
"maxRunMs": {
|
|
1540
|
-
"type": "integer"
|
|
1637
|
+
"type": "integer",
|
|
1638
|
+
"minimum": 1
|
|
1541
1639
|
},
|
|
1542
1640
|
"notify": {
|
|
1543
1641
|
"type": "boolean"
|
|
1544
1642
|
},
|
|
1545
1643
|
"notifyConversationId": {
|
|
1546
|
-
"type": "string"
|
|
1644
|
+
"type": "string",
|
|
1645
|
+
"minLength": 1
|
|
1547
1646
|
},
|
|
1548
1647
|
"notifyFailureCooldownHours": {
|
|
1549
|
-
"type": "integer"
|
|
1648
|
+
"type": "integer",
|
|
1649
|
+
"minimum": 1
|
|
1550
1650
|
},
|
|
1551
1651
|
"model": {
|
|
1552
|
-
"type": "string"
|
|
1652
|
+
"type": "string",
|
|
1653
|
+
"minLength": 1
|
|
1553
1654
|
},
|
|
1554
1655
|
"effort": {
|
|
1555
|
-
"type": "string"
|
|
1656
|
+
"type": "string",
|
|
1657
|
+
"minLength": 1
|
|
1556
1658
|
}
|
|
1557
1659
|
}
|
|
1558
|
-
}
|
|
1559
|
-
"default": []
|
|
1660
|
+
}
|
|
1560
1661
|
},
|
|
1561
1662
|
"enabled": {
|
|
1562
1663
|
"description": "Enables the cron capability.",
|
|
@@ -1647,29 +1748,21 @@
|
|
|
1647
1748
|
"additionalProperties": false,
|
|
1648
1749
|
"properties": {
|
|
1649
1750
|
"endpoints": {
|
|
1650
|
-
"description": "Named webhook endpoints with per-endpoint prompt, model/effort, and maxRunMs overrides.",
|
|
1651
|
-
"examples": [
|
|
1652
|
-
[
|
|
1653
|
-
{
|
|
1654
|
-
"name": "triage",
|
|
1655
|
-
"path": "/webhook/triage",
|
|
1656
|
-
"prompt": "Triage this payload."
|
|
1657
|
-
}
|
|
1658
|
-
]
|
|
1659
|
-
],
|
|
1660
1751
|
"type": "array",
|
|
1661
1752
|
"items": {
|
|
1662
1753
|
"type": "object",
|
|
1663
|
-
"additionalProperties":
|
|
1754
|
+
"additionalProperties": false,
|
|
1664
1755
|
"required": [
|
|
1665
1756
|
"path"
|
|
1666
1757
|
],
|
|
1667
1758
|
"properties": {
|
|
1668
1759
|
"name": {
|
|
1669
|
-
"type": "string"
|
|
1760
|
+
"type": "string",
|
|
1761
|
+
"minLength": 1
|
|
1670
1762
|
},
|
|
1671
1763
|
"path": {
|
|
1672
|
-
"type": "string"
|
|
1764
|
+
"type": "string",
|
|
1765
|
+
"minLength": 1
|
|
1673
1766
|
},
|
|
1674
1767
|
"mode": {
|
|
1675
1768
|
"enum": [
|
|
@@ -1681,19 +1774,23 @@
|
|
|
1681
1774
|
"type": "boolean"
|
|
1682
1775
|
},
|
|
1683
1776
|
"prompt": {
|
|
1684
|
-
"type": "string"
|
|
1777
|
+
"type": "string",
|
|
1778
|
+
"minLength": 1
|
|
1685
1779
|
},
|
|
1686
1780
|
"notify": {
|
|
1687
1781
|
"type": "boolean"
|
|
1688
1782
|
},
|
|
1689
1783
|
"notifyConversationId": {
|
|
1690
|
-
"type": "string"
|
|
1784
|
+
"type": "string",
|
|
1785
|
+
"minLength": 1
|
|
1691
1786
|
},
|
|
1692
1787
|
"model": {
|
|
1693
|
-
"type": "string"
|
|
1788
|
+
"type": "string",
|
|
1789
|
+
"minLength": 1
|
|
1694
1790
|
},
|
|
1695
1791
|
"effort": {
|
|
1696
|
-
"type": "string"
|
|
1792
|
+
"type": "string",
|
|
1793
|
+
"minLength": 1
|
|
1697
1794
|
},
|
|
1698
1795
|
"maxRunMs": {
|
|
1699
1796
|
"type": "integer",
|
|
@@ -1701,8 +1798,7 @@
|
|
|
1701
1798
|
"maximum": 86400000
|
|
1702
1799
|
}
|
|
1703
1800
|
}
|
|
1704
|
-
}
|
|
1705
|
-
"default": []
|
|
1801
|
+
}
|
|
1706
1802
|
},
|
|
1707
1803
|
"enabled": {
|
|
1708
1804
|
"description": "Enables the webhook capability.",
|
|
@@ -1831,41 +1927,86 @@
|
|
|
1831
1927
|
"additionalProperties": false,
|
|
1832
1928
|
"properties": {
|
|
1833
1929
|
"shortcuts": {
|
|
1834
|
-
"description": "JSON-only global/message Slack shortcut bindings; there is no environment-variable form.",
|
|
1835
|
-
"examples": [
|
|
1836
|
-
[
|
|
1837
|
-
{
|
|
1838
|
-
"callbackId": "triage",
|
|
1839
|
-
"prompt": "Prepare the daily support triage checklist.",
|
|
1840
|
-
"channelId": "C0123"
|
|
1841
|
-
}
|
|
1842
|
-
]
|
|
1843
|
-
],
|
|
1844
1930
|
"type": "array",
|
|
1845
1931
|
"items": {
|
|
1846
1932
|
"type": "object",
|
|
1847
|
-
"additionalProperties":
|
|
1848
|
-
|
|
1849
|
-
|
|
1933
|
+
"additionalProperties": false,
|
|
1934
|
+
"required": [
|
|
1935
|
+
"callbackId",
|
|
1936
|
+
"prompt"
|
|
1937
|
+
],
|
|
1938
|
+
"properties": {
|
|
1939
|
+
"callbackId": {
|
|
1940
|
+
"type": "string",
|
|
1941
|
+
"minLength": 1
|
|
1942
|
+
},
|
|
1943
|
+
"prompt": {
|
|
1944
|
+
"type": "string",
|
|
1945
|
+
"minLength": 1
|
|
1946
|
+
},
|
|
1947
|
+
"channelId": {
|
|
1948
|
+
"type": "string",
|
|
1949
|
+
"minLength": 1
|
|
1950
|
+
},
|
|
1951
|
+
"ackText": {
|
|
1952
|
+
"type": "string",
|
|
1953
|
+
"minLength": 1
|
|
1954
|
+
},
|
|
1955
|
+
"threadReply": {
|
|
1956
|
+
"type": "boolean"
|
|
1957
|
+
}
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1850
1960
|
},
|
|
1851
1961
|
"homeTab": {
|
|
1852
|
-
"
|
|
1853
|
-
"
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
"
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1962
|
+
"type": "object",
|
|
1963
|
+
"additionalProperties": false,
|
|
1964
|
+
"properties": {
|
|
1965
|
+
"enabled": {
|
|
1966
|
+
"type": "boolean"
|
|
1967
|
+
},
|
|
1968
|
+
"headerText": {
|
|
1969
|
+
"type": "string",
|
|
1970
|
+
"minLength": 1
|
|
1971
|
+
},
|
|
1972
|
+
"buttons": {
|
|
1973
|
+
"type": "array",
|
|
1974
|
+
"items": {
|
|
1975
|
+
"type": "object",
|
|
1976
|
+
"additionalProperties": false,
|
|
1977
|
+
"required": [
|
|
1978
|
+
"actionId",
|
|
1979
|
+
"label",
|
|
1980
|
+
"prompt"
|
|
1981
|
+
],
|
|
1982
|
+
"properties": {
|
|
1983
|
+
"actionId": {
|
|
1984
|
+
"type": "string",
|
|
1985
|
+
"minLength": 1
|
|
1986
|
+
},
|
|
1987
|
+
"label": {
|
|
1988
|
+
"type": "string",
|
|
1989
|
+
"minLength": 1
|
|
1990
|
+
},
|
|
1991
|
+
"prompt": {
|
|
1992
|
+
"type": "string",
|
|
1993
|
+
"minLength": 1
|
|
1994
|
+
},
|
|
1995
|
+
"channelId": {
|
|
1996
|
+
"type": "string",
|
|
1997
|
+
"minLength": 1
|
|
1998
|
+
},
|
|
1999
|
+
"ackText": {
|
|
2000
|
+
"type": "string",
|
|
2001
|
+
"minLength": 1
|
|
2002
|
+
},
|
|
2003
|
+
"threadReply": {
|
|
2004
|
+
"type": "boolean"
|
|
2005
|
+
}
|
|
1863
2006
|
}
|
|
1864
|
-
|
|
2007
|
+
}
|
|
1865
2008
|
}
|
|
1866
|
-
|
|
1867
|
-
"type": "object",
|
|
1868
|
-
"additionalProperties": true
|
|
2009
|
+
}
|
|
1869
2010
|
},
|
|
1870
2011
|
"enabled": {
|
|
1871
2012
|
"description": "Enables the slack capability.",
|
|
@@ -1996,45 +2137,75 @@
|
|
|
1996
2137
|
"additionalProperties": false,
|
|
1997
2138
|
"properties": {
|
|
1998
2139
|
"commands": {
|
|
1999
|
-
"description": "Telegram command definitions handled by the Telegram adapter.",
|
|
2000
|
-
"examples": [
|
|
2001
|
-
[
|
|
2002
|
-
{
|
|
2003
|
-
"command": "status",
|
|
2004
|
-
"prompt": "Report current status."
|
|
2005
|
-
}
|
|
2006
|
-
]
|
|
2007
|
-
],
|
|
2008
2140
|
"type": "array",
|
|
2009
2141
|
"items": {
|
|
2010
2142
|
"type": "object",
|
|
2011
|
-
"additionalProperties":
|
|
2012
|
-
|
|
2013
|
-
|
|
2143
|
+
"additionalProperties": false,
|
|
2144
|
+
"required": [
|
|
2145
|
+
"command",
|
|
2146
|
+
"description"
|
|
2147
|
+
],
|
|
2148
|
+
"properties": {
|
|
2149
|
+
"command": {
|
|
2150
|
+
"type": "string",
|
|
2151
|
+
"pattern": "^[a-z0-9_]{1,32}$"
|
|
2152
|
+
},
|
|
2153
|
+
"description": {
|
|
2154
|
+
"type": "string",
|
|
2155
|
+
"minLength": 1,
|
|
2156
|
+
"maxLength": 256
|
|
2157
|
+
},
|
|
2158
|
+
"prompt": {
|
|
2159
|
+
"type": "string",
|
|
2160
|
+
"minLength": 1
|
|
2161
|
+
}
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2014
2164
|
},
|
|
2015
2165
|
"reactions": {
|
|
2016
|
-
"
|
|
2017
|
-
"examples": [
|
|
2166
|
+
"oneOf": [
|
|
2018
2167
|
{
|
|
2019
|
-
"
|
|
2020
|
-
|
|
2021
|
-
|
|
2168
|
+
"type": "boolean"
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
"type": "object",
|
|
2172
|
+
"additionalProperties": false,
|
|
2173
|
+
"properties": {
|
|
2174
|
+
"working": {
|
|
2175
|
+
"type": "boolean"
|
|
2176
|
+
},
|
|
2177
|
+
"done": {
|
|
2178
|
+
"type": "boolean"
|
|
2179
|
+
},
|
|
2180
|
+
"error": {
|
|
2181
|
+
"type": "boolean"
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2022
2184
|
}
|
|
2023
|
-
]
|
|
2024
|
-
"type": "object",
|
|
2025
|
-
"additionalProperties": true
|
|
2185
|
+
]
|
|
2026
2186
|
},
|
|
2027
2187
|
"quietHours": {
|
|
2028
|
-
"description": "Quiet-hours rules for Telegram notifications.",
|
|
2029
|
-
"examples": [
|
|
2030
|
-
{
|
|
2031
|
-
"timezone": "Europe/Amsterdam",
|
|
2032
|
-
"start": "22:00",
|
|
2033
|
-
"end": "07:00"
|
|
2034
|
-
}
|
|
2035
|
-
],
|
|
2036
2188
|
"type": "object",
|
|
2037
|
-
"additionalProperties":
|
|
2189
|
+
"additionalProperties": false,
|
|
2190
|
+
"required": [
|
|
2191
|
+
"start",
|
|
2192
|
+
"end",
|
|
2193
|
+
"timezone"
|
|
2194
|
+
],
|
|
2195
|
+
"properties": {
|
|
2196
|
+
"start": {
|
|
2197
|
+
"type": "string",
|
|
2198
|
+
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
|
|
2199
|
+
},
|
|
2200
|
+
"end": {
|
|
2201
|
+
"type": "string",
|
|
2202
|
+
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
|
|
2203
|
+
},
|
|
2204
|
+
"timezone": {
|
|
2205
|
+
"type": "string",
|
|
2206
|
+
"minLength": 1
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2038
2209
|
},
|
|
2039
2210
|
"sendTools": {
|
|
2040
2211
|
"type": "object",
|
|
@@ -2300,59 +2471,6 @@
|
|
|
2300
2471
|
"type": "string"
|
|
2301
2472
|
}
|
|
2302
2473
|
}
|
|
2303
|
-
},
|
|
2304
|
-
"live": {
|
|
2305
|
-
"type": "object",
|
|
2306
|
-
"additionalProperties": false,
|
|
2307
|
-
"properties": {
|
|
2308
|
-
"enabled": {
|
|
2309
|
-
"description": "Enables the live capability.",
|
|
2310
|
-
"examples": [
|
|
2311
|
-
true
|
|
2312
|
-
],
|
|
2313
|
-
"type": "boolean",
|
|
2314
|
-
"default": true
|
|
2315
|
-
},
|
|
2316
|
-
"host": {
|
|
2317
|
-
"description": "Configures host for the live section.",
|
|
2318
|
-
"examples": [
|
|
2319
|
-
"127.0.0.1"
|
|
2320
|
-
],
|
|
2321
|
-
"type": "string",
|
|
2322
|
-
"default": "127.0.0.1"
|
|
2323
|
-
},
|
|
2324
|
-
"port": {
|
|
2325
|
-
"description": "Configures port for the live section.",
|
|
2326
|
-
"examples": [
|
|
2327
|
-
0
|
|
2328
|
-
],
|
|
2329
|
-
"type": "integer",
|
|
2330
|
-
"default": 0
|
|
2331
|
-
},
|
|
2332
|
-
"basePath": {
|
|
2333
|
-
"description": "Configures basePath for the live section.",
|
|
2334
|
-
"examples": [
|
|
2335
|
-
"/live"
|
|
2336
|
-
],
|
|
2337
|
-
"type": "string",
|
|
2338
|
-
"default": "/live"
|
|
2339
|
-
},
|
|
2340
|
-
"allowNonLoopback": {
|
|
2341
|
-
"description": "Configures allowNonLoopback for the live section.",
|
|
2342
|
-
"examples": [
|
|
2343
|
-
true
|
|
2344
|
-
],
|
|
2345
|
-
"type": "boolean",
|
|
2346
|
-
"default": false
|
|
2347
|
-
},
|
|
2348
|
-
"apiKey": {
|
|
2349
|
-
"description": "Secret value for live.apiKey; prefer the env override.",
|
|
2350
|
-
"examples": [
|
|
2351
|
-
"example"
|
|
2352
|
-
],
|
|
2353
|
-
"type": "string"
|
|
2354
|
-
}
|
|
2355
|
-
}
|
|
2356
2474
|
}
|
|
2357
2475
|
}
|
|
2358
2476
|
}
|
|
@@ -9,7 +9,7 @@ Construct a working mono-agent in the user's current folder — empty or already
|
|
|
9
9
|
|
|
10
10
|
## Authoritative Sources — Search, Then References, Never Package Source
|
|
11
11
|
|
|
12
|
-
When the `
|
|
12
|
+
When the `mono_agent_docs` MCP tool is available, use it **before** opening files or following website links. Its version-matched offline corpus contains the canonical public documentation plus the `references/*.md` bundled beside this skill. Start with `{"action":"search","query":"...","scope":"composer"}` for "can it do X?", "what is the key for Y?", and "how is Z configured?"; use `scope: "all"` for broader conceptual or troubleshooting questions. Search excerpts are a map, not the complete answer: call `{"action":"read","target":"<readTarget>"}` on the best result, follow the returned `internalLinks` with `action: "read"`, and use exact `previousTarget` / `nextTarget` actions when a long section continues. Composer-scoped content has the same authority as the bundled references.
|
|
13
13
|
|
|
14
14
|
The bundled `references/*.md` remain the source of truth and the fallback when the MCP tool is unavailable. They are maintained in lockstep with the framework and are **complete for configuration and capabilities**. If the tool's `docsVersion` differs from the installed `mono-agent` version, use search for general context but verify version-specific config and CLI details against these local references. Reformulate a weak search once before falling back; never compensate by grepping package source.
|
|
15
15
|
|
|
@@ -17,13 +17,13 @@ Do **not** read or grep the `@mono-agent` TypeScript/package source — `package
|
|
|
17
17
|
|
|
18
18
|
- `references/feature-coverage.md` is the **exhaustive** map of every feature to a `config` key, `cli` flag, `auto` behavior, or `code`-only escape hatch. If a capability is listed `config`/`cli`, use that key/flag verbatim. If it is **not in the table, or is marked `code`**, it is not reachable through `mono-agent.config.json` — say so plainly and name the escape hatch. Absence from the table means "not configurable," never "go check the source."
|
|
19
19
|
- The real exception: if the user is **modifying the framework itself** (changing `@mono-agent` package code), that is framework development, not composing an agent — outside this skill. Only then is reading `packages/*/src` correct.
|
|
20
|
-
- The published docs site (<https://mono-agent-docs.vercel.app/>) is the human-facing companion. Do not browse it just to discover links: `
|
|
20
|
+
- The published docs site (<https://mono-agent-docs.vercel.app/>) is the human-facing companion. Do not browse it just to discover links: `mono_agent_docs` searches, expands, and resolves internal links offline, and the bundled references work when the tool is absent.
|
|
21
21
|
|
|
22
22
|
**Red flags — STOP, you are about to grep source you should not:**
|
|
23
23
|
|
|
24
24
|
| Thought | Reality |
|
|
25
25
|
| --- | --- |
|
|
26
|
-
| "Let me browse the docs navigation until I find the right page." | Search `
|
|
26
|
+
| "Let me browse the docs navigation until I find the right page." | Search with `mono_agent_docs`, read the best `readTarget`, then follow its structured `internalLinks`. |
|
|
27
27
|
| "Let me verify the key name against the source." | The references give the exact key. Trust them; don't re-derive from source. |
|
|
28
28
|
| "The references might be incomplete — I'll double-check `packages/.../src`." | `feature-coverage.md` is exhaustive for config/CLI. Not in it = not configurable. |
|
|
29
29
|
| "I'll confirm the docs and source agree." | You are composing an agent, not auditing the framework. The references are the contract. |
|
|
@@ -31,7 +31,7 @@ Do **not** read or grep the `@mono-agent` TypeScript/package source — `package
|
|
|
31
31
|
|
|
32
32
|
## Operating Rules
|
|
33
33
|
|
|
34
|
-
- Answer capability/config questions
|
|
34
|
+
- Answer capability/config questions through `mono_agent_docs`: search with `scope: "composer"`, read the best target, and continue through structured links/windows as needed. Fall back to the bundled `references/*.md` (authoritative and complete) — never grep or read the `@mono-agent` package source to compose an agent. See "Authoritative Sources" above.
|
|
35
35
|
|
|
36
36
|
- The deliverable is a folder that works: `mono-agent.config.json` + `IDENTITY.md` (+ optional `skills/`, `mcp.json`), validated and started — not a tutorial.
|
|
37
37
|
- Start by discovering the intended agent product, not by naming packages.
|
|
@@ -105,7 +105,7 @@ Config-first covers one responder served over any combination of the seven chann
|
|
|
105
105
|
- `references/package-map.md` — which package owns what, for programmatic composition and troubleshooting.
|
|
106
106
|
- `references/validation.md` — validation commands and per-channel smoke tests; read before claiming the agent works.
|
|
107
107
|
|
|
108
|
-
`
|
|
108
|
+
`mono_agent_docs` is the primary discovery and reading interface when present; its composer-scoped results are built from these same versioned references. Always progress from `action: "search"` to `action: "read"` before concluding from a short hit, and use the response's exact navigation actions rather than inventing chunk or page locations. The bundled `references/*` files remain authoritative and self-sufficient when the tool is absent or version-mismatched, so use them rather than package source or a remote site. The published documentation site at <https://mono-agent-docs.vercel.app/> is the human-facing companion, not an AI retrieval dependency.
|
|
109
109
|
|
|
110
110
|
## Done Criteria
|
|
111
111
|
|