@pulsarinteractive/geniustasker 0.1.0-beta.13 → 0.1.0-beta.14

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.
@@ -1,5 +1,155 @@
1
1
  // Generated public command data schemas. Do not edit by hand.
2
2
  export default {
3
+ "intent.change": {
4
+ "type": "object",
5
+ "required": [
6
+ "decision",
7
+ "expectedIntentRevision",
8
+ "id",
9
+ "replaces",
10
+ "selection",
11
+ "sourceVersion"
12
+ ],
13
+ "properties": {
14
+ "decision": {
15
+ "oneOf": [
16
+ {
17
+ "type": "string",
18
+ "enum": [
19
+ "set"
20
+ ]
21
+ },
22
+ {
23
+ "type": "string",
24
+ "enum": [
25
+ "cancel"
26
+ ]
27
+ }
28
+ ]
29
+ },
30
+ "id": {
31
+ "type": "string"
32
+ },
33
+ "expectedIntentRevision": {
34
+ "anyOf": [
35
+ {
36
+ "type": "string",
37
+ "maxLength": 64
38
+ },
39
+ {
40
+ "type": "null"
41
+ }
42
+ ]
43
+ },
44
+ "selection": {
45
+ "anyOf": [
46
+ {
47
+ "type": "object",
48
+ "required": [
49
+ "endsAt",
50
+ "kind",
51
+ "objective",
52
+ "startsAt",
53
+ "taskIds"
54
+ ],
55
+ "properties": {
56
+ "endsAt": {
57
+ "type": "string"
58
+ },
59
+ "kind": {
60
+ "oneOf": [
61
+ {
62
+ "type": "string",
63
+ "enum": [
64
+ "focus"
65
+ ]
66
+ },
67
+ {
68
+ "type": "string",
69
+ "enum": [
70
+ "defer"
71
+ ]
72
+ }
73
+ ]
74
+ },
75
+ "objective": {
76
+ "oneOf": [
77
+ {
78
+ "type": "string",
79
+ "enum": [
80
+ "finish"
81
+ ]
82
+ },
83
+ {
84
+ "type": "string",
85
+ "enum": [
86
+ "unblock"
87
+ ]
88
+ },
89
+ {
90
+ "type": "string",
91
+ "enum": [
92
+ "consistency"
93
+ ]
94
+ },
95
+ {
96
+ "type": "string",
97
+ "enum": [
98
+ "pause"
99
+ ]
100
+ }
101
+ ]
102
+ },
103
+ "startsAt": {
104
+ "anyOf": [
105
+ {
106
+ "type": "string"
107
+ },
108
+ {
109
+ "type": "null"
110
+ }
111
+ ]
112
+ },
113
+ "taskIds": {
114
+ "type": "array",
115
+ "minItems": 1,
116
+ "maxItems": 20,
117
+ "uniqueItems": true,
118
+ "items": {
119
+ "type": "string"
120
+ }
121
+ }
122
+ },
123
+ "additionalProperties": false
124
+ },
125
+ {
126
+ "type": "null"
127
+ }
128
+ ]
129
+ },
130
+ "sourceVersion": {
131
+ "anyOf": [
132
+ {
133
+ "type": "string",
134
+ "maxLength": 64,
135
+ "pattern": "^[a-f0-9]{64}$"
136
+ },
137
+ {
138
+ "type": "null"
139
+ }
140
+ ]
141
+ },
142
+ "replaces": {
143
+ "type": "array",
144
+ "maxItems": 16,
145
+ "uniqueItems": true,
146
+ "items": {
147
+ "type": "string"
148
+ }
149
+ }
150
+ },
151
+ "additionalProperties": false
152
+ },
3
153
  "metric.correct": {
4
154
  "type": "object",
5
155
  "required": [
@@ -697,6 +847,18 @@ export default {
697
847
  }
698
848
  ]
699
849
  },
850
+ "estimateDays": {
851
+ "anyOf": [
852
+ {
853
+ "type": "number",
854
+ "minimum": 0.1,
855
+ "maximum": 60
856
+ },
857
+ {
858
+ "type": "null"
859
+ }
860
+ ]
861
+ },
700
862
  "importance": {
701
863
  "type": "string",
702
864
  "enum": [
@@ -999,6 +1161,26 @@ export default {
999
1161
  },
1000
1162
  "additionalProperties": false
1001
1163
  },
1164
+ "run.lock": {
1165
+ "type": "object",
1166
+ "required": [
1167
+ "reason",
1168
+ "taskRevision"
1169
+ ],
1170
+ "properties": {
1171
+ "taskRevision": {
1172
+ "type": "string",
1173
+ "minLength": 1,
1174
+ "maxLength": 40
1175
+ },
1176
+ "reason": {
1177
+ "type": "string",
1178
+ "minLength": 1,
1179
+ "maxLength": 500
1180
+ }
1181
+ },
1182
+ "additionalProperties": false
1183
+ },
1002
1184
  "run.patch": {
1003
1185
  "type": "object",
1004
1186
  "required": [
@@ -1017,5 +1199,433 @@ export default {
1017
1199
  }
1018
1200
  },
1019
1201
  "additionalProperties": false
1202
+ },
1203
+ "run.unlock": {
1204
+ "type": "object",
1205
+ "required": [
1206
+ "taskRevision"
1207
+ ],
1208
+ "properties": {
1209
+ "taskRevision": {
1210
+ "type": "string",
1211
+ "minLength": 1,
1212
+ "maxLength": 40
1213
+ }
1214
+ },
1215
+ "additionalProperties": false
1216
+ },
1217
+ "task.create": {
1218
+ "type": "object",
1219
+ "required": [
1220
+ "title"
1221
+ ],
1222
+ "properties": {
1223
+ "title": {
1224
+ "type": "string",
1225
+ "description": "Task title, 3 through 200 characters after server trimming. Required on creation.",
1226
+ "minLength": 3,
1227
+ "maxLength": 200
1228
+ },
1229
+ "description": {
1230
+ "anyOf": [
1231
+ {
1232
+ "type": "string",
1233
+ "description": "Optional short description, at most 600 characters. Omission preserves existing content on update; null clears it.",
1234
+ "maxLength": 600
1235
+ },
1236
+ {
1237
+ "type": "null"
1238
+ }
1239
+ ]
1240
+ },
1241
+ "importance": {
1242
+ "anyOf": [
1243
+ {
1244
+ "type": "string",
1245
+ "enum": [
1246
+ "Minor",
1247
+ "Normal",
1248
+ "Important",
1249
+ "Critical"
1250
+ ],
1251
+ "description": "Impact, independent of urgency or task type. New tasks default to Normal. Important/Critical require a useful importanceReason. An agent cannot replace a human-owned classification; null follows the existing Normal fallback."
1252
+ },
1253
+ {
1254
+ "type": "null"
1255
+ }
1256
+ ]
1257
+ },
1258
+ "importanceReason": {
1259
+ "anyOf": [
1260
+ {
1261
+ "type": "string",
1262
+ "description": "Explanation of impact, trimmed by the server, at most 400 characters. Important/Critical require a nonempty reason. Omission preserves the saved explanation; null or empty clears it subject to current importance rules.",
1263
+ "maxLength": 400
1264
+ },
1265
+ {
1266
+ "type": "null"
1267
+ }
1268
+ ]
1269
+ },
1270
+ "type": {
1271
+ "anyOf": [
1272
+ {
1273
+ "type": "string",
1274
+ "enum": [
1275
+ "Task",
1276
+ "Critical",
1277
+ "NewFeature",
1278
+ "Question"
1279
+ ],
1280
+ "description": "Task classification. New tasks default to Task. Critical here is a task type, not an importance estimate; null retains existing schema compatibility."
1281
+ },
1282
+ {
1283
+ "type": "null"
1284
+ }
1285
+ ]
1286
+ },
1287
+ "owner": {
1288
+ "anyOf": [
1289
+ {
1290
+ "type": "string",
1291
+ "description": "Existing approved project member user ID, or null for unassigned. The server may assign the creator when their task-edit rights are limited to owned tasks. Omission preserves the owner on update."
1292
+ },
1293
+ {
1294
+ "type": "null"
1295
+ }
1296
+ ]
1297
+ },
1298
+ "status": {
1299
+ "anyOf": [
1300
+ {
1301
+ "type": "string",
1302
+ "enum": [
1303
+ "New",
1304
+ "InProgress",
1305
+ "Done"
1306
+ ],
1307
+ "description": "Actual canonical progress: New means to do, InProgress means work has started, Done requires verified intended completion. New tasks default to New. Domain dependency, hierarchy and permission rules still apply. Null is accepted by the existing task schema but does not establish a known progress state. No Locked value belongs to this field."
1308
+ },
1309
+ {
1310
+ "type": "null"
1311
+ }
1312
+ ]
1313
+ },
1314
+ "enableDueDate": {
1315
+ "type": "boolean",
1316
+ "description": "Enable the separately supplied deadline. New tasks default to false; an effort estimate does not select or enable a deadline."
1317
+ },
1318
+ "dueDate": {
1319
+ "anyOf": [
1320
+ {
1321
+ "type": "string",
1322
+ "description": "Deadline as an ISO date-time, from 2000-01-01 inclusive to 2100-01-01 exclusive, or null to clear it. Supply an explicit timezone. Omission preserves the existing date."
1323
+ },
1324
+ {
1325
+ "type": "null"
1326
+ }
1327
+ ]
1328
+ },
1329
+ "estimateDays": {
1330
+ "anyOf": [
1331
+ {
1332
+ "type": "number",
1333
+ "description": "Approximate effort in working days: 0.1 is one tenth and 1 is one working day. Finite 0.1 through 60, or null for unknown. Not elapsed time, a deadline, or AI runtime. Omission preserves the current estimate; preserve human estimates unless revising them is authorized.",
1334
+ "minimum": 0.1,
1335
+ "maximum": 60
1336
+ },
1337
+ {
1338
+ "type": "null"
1339
+ }
1340
+ ]
1341
+ },
1342
+ "quantity": {
1343
+ "anyOf": [
1344
+ {
1345
+ "type": "number",
1346
+ "description": "Optional nonnegative task quantity, independent of working-day effort. Omission preserves the current quantity; null clears it.",
1347
+ "minimum": 0
1348
+ },
1349
+ {
1350
+ "type": "null"
1351
+ }
1352
+ ]
1353
+ },
1354
+ "quantityUnit": {
1355
+ "anyOf": [
1356
+ {
1357
+ "type": "string",
1358
+ "description": "Optional quantity unit, trimmed by the server, at most 20 characters. Omission preserves it; null clears it.",
1359
+ "maxLength": 20
1360
+ },
1361
+ {
1362
+ "type": "null"
1363
+ }
1364
+ ]
1365
+ },
1366
+ "autoArchive": {
1367
+ "type": "boolean",
1368
+ "description": "Whether completed tasks may be archived by the existing schedule. New tasks default to false. This does not complete or immediately archive a task."
1369
+ },
1370
+ "autoArchiveDays": {
1371
+ "type": "integer",
1372
+ "description": "Day component of the existing automatic archive delay, integer 0 through 31. New tasks default to 14.",
1373
+ "minimum": 0,
1374
+ "maximum": 31
1375
+ },
1376
+ "autoArchiveHours": {
1377
+ "type": "integer",
1378
+ "description": "Hour component of the existing automatic archive delay, integer 0 through 24. New tasks default to 0.",
1379
+ "minimum": 0,
1380
+ "maximum": 24
1381
+ },
1382
+ "dependencies": {
1383
+ "anyOf": [
1384
+ {
1385
+ "type": "array",
1386
+ "description": "Prerequisite task IDs from this project, at most 1000. Omission preserves the list; null or [] clears it. The server validates live references, self-links and cycles and removes duplicate IDs. Do not remove dependencies to bypass blocked work.",
1387
+ "maxItems": 1000,
1388
+ "items": {
1389
+ "type": "string"
1390
+ }
1391
+ },
1392
+ {
1393
+ "type": "null"
1394
+ }
1395
+ ]
1396
+ },
1397
+ "tags": {
1398
+ "anyOf": [
1399
+ {
1400
+ "type": "array",
1401
+ "description": "Existing project tag IDs, at most 50. Omission preserves the list; null or [] clears it. The server validates same-project references and removes duplicate IDs.",
1402
+ "maxItems": 50,
1403
+ "items": {
1404
+ "type": "string"
1405
+ }
1406
+ },
1407
+ {
1408
+ "type": "null"
1409
+ }
1410
+ ]
1411
+ }
1412
+ },
1413
+ "additionalProperties": false
1414
+ },
1415
+ "task.lock": {
1416
+ "type": "object",
1417
+ "required": [
1418
+ "reason"
1419
+ ],
1420
+ "properties": {
1421
+ "reason": {
1422
+ "type": "string",
1423
+ "minLength": 1,
1424
+ "maxLength": 500
1425
+ }
1426
+ },
1427
+ "additionalProperties": false
1428
+ },
1429
+ "task.unlock": {
1430
+ "type": "object",
1431
+ "properties": {},
1432
+ "additionalProperties": false,
1433
+ "required": []
1434
+ },
1435
+ "task.update": {
1436
+ "type": "object",
1437
+ "properties": {
1438
+ "title": {
1439
+ "type": "string",
1440
+ "description": "Replacement task title, 3 through 200 characters after server trimming. Omission preserves the saved title; null is not a valid title.",
1441
+ "minLength": 3,
1442
+ "maxLength": 200
1443
+ },
1444
+ "description": {
1445
+ "anyOf": [
1446
+ {
1447
+ "type": "string",
1448
+ "description": "Optional short description, at most 600 characters. Omission preserves existing content on update; null clears it.",
1449
+ "maxLength": 600
1450
+ },
1451
+ {
1452
+ "type": "null"
1453
+ }
1454
+ ]
1455
+ },
1456
+ "importance": {
1457
+ "anyOf": [
1458
+ {
1459
+ "type": "string",
1460
+ "enum": [
1461
+ "Minor",
1462
+ "Normal",
1463
+ "Important",
1464
+ "Critical"
1465
+ ],
1466
+ "description": "Impact, independent of urgency or task type. New tasks default to Normal. Important/Critical require a useful importanceReason. An agent cannot replace a human-owned classification; null follows the existing Normal fallback."
1467
+ },
1468
+ {
1469
+ "type": "null"
1470
+ }
1471
+ ]
1472
+ },
1473
+ "importanceReason": {
1474
+ "anyOf": [
1475
+ {
1476
+ "type": "string",
1477
+ "description": "Explanation of impact, trimmed by the server, at most 400 characters. Important/Critical require a nonempty reason. Omission preserves the saved explanation; null or empty clears it subject to current importance rules.",
1478
+ "maxLength": 400
1479
+ },
1480
+ {
1481
+ "type": "null"
1482
+ }
1483
+ ]
1484
+ },
1485
+ "type": {
1486
+ "anyOf": [
1487
+ {
1488
+ "type": "string",
1489
+ "enum": [
1490
+ "Task",
1491
+ "Critical",
1492
+ "NewFeature",
1493
+ "Question"
1494
+ ],
1495
+ "description": "Task classification. New tasks default to Task. Critical here is a task type, not an importance estimate; null retains existing schema compatibility."
1496
+ },
1497
+ {
1498
+ "type": "null"
1499
+ }
1500
+ ]
1501
+ },
1502
+ "owner": {
1503
+ "anyOf": [
1504
+ {
1505
+ "type": "string",
1506
+ "description": "Existing approved project member user ID, or null for unassigned. The server may assign the creator when their task-edit rights are limited to owned tasks. Omission preserves the owner on update."
1507
+ },
1508
+ {
1509
+ "type": "null"
1510
+ }
1511
+ ]
1512
+ },
1513
+ "status": {
1514
+ "anyOf": [
1515
+ {
1516
+ "type": "string",
1517
+ "enum": [
1518
+ "New",
1519
+ "InProgress",
1520
+ "Done"
1521
+ ],
1522
+ "description": "Actual canonical progress: New means to do, InProgress means work has started, Done requires verified intended completion. New tasks default to New. Domain dependency, hierarchy and permission rules still apply. Null is accepted by the existing task schema but does not establish a known progress state. No Locked value belongs to this field."
1523
+ },
1524
+ {
1525
+ "type": "null"
1526
+ }
1527
+ ]
1528
+ },
1529
+ "enableDueDate": {
1530
+ "type": "boolean",
1531
+ "description": "Enable the separately supplied deadline. New tasks default to false; an effort estimate does not select or enable a deadline."
1532
+ },
1533
+ "dueDate": {
1534
+ "anyOf": [
1535
+ {
1536
+ "type": "string",
1537
+ "description": "Deadline as an ISO date-time, from 2000-01-01 inclusive to 2100-01-01 exclusive, or null to clear it. Supply an explicit timezone. Omission preserves the existing date."
1538
+ },
1539
+ {
1540
+ "type": "null"
1541
+ }
1542
+ ]
1543
+ },
1544
+ "estimateDays": {
1545
+ "anyOf": [
1546
+ {
1547
+ "type": "number",
1548
+ "description": "Approximate effort in working days: 0.1 is one tenth and 1 is one working day. Finite 0.1 through 60, or null for unknown. Not elapsed time, a deadline, or AI runtime. Omission preserves the current estimate; preserve human estimates unless revising them is authorized.",
1549
+ "minimum": 0.1,
1550
+ "maximum": 60
1551
+ },
1552
+ {
1553
+ "type": "null"
1554
+ }
1555
+ ]
1556
+ },
1557
+ "quantity": {
1558
+ "anyOf": [
1559
+ {
1560
+ "type": "number",
1561
+ "description": "Optional nonnegative task quantity, independent of working-day effort. Omission preserves the current quantity; null clears it.",
1562
+ "minimum": 0
1563
+ },
1564
+ {
1565
+ "type": "null"
1566
+ }
1567
+ ]
1568
+ },
1569
+ "quantityUnit": {
1570
+ "anyOf": [
1571
+ {
1572
+ "type": "string",
1573
+ "description": "Optional quantity unit, trimmed by the server, at most 20 characters. Omission preserves it; null clears it.",
1574
+ "maxLength": 20
1575
+ },
1576
+ {
1577
+ "type": "null"
1578
+ }
1579
+ ]
1580
+ },
1581
+ "autoArchive": {
1582
+ "type": "boolean",
1583
+ "description": "Whether completed tasks may be archived by the existing schedule. New tasks default to false. This does not complete or immediately archive a task."
1584
+ },
1585
+ "autoArchiveDays": {
1586
+ "type": "integer",
1587
+ "description": "Day component of the existing automatic archive delay, integer 0 through 31. New tasks default to 14.",
1588
+ "minimum": 0,
1589
+ "maximum": 31
1590
+ },
1591
+ "autoArchiveHours": {
1592
+ "type": "integer",
1593
+ "description": "Hour component of the existing automatic archive delay, integer 0 through 24. New tasks default to 0.",
1594
+ "minimum": 0,
1595
+ "maximum": 24
1596
+ },
1597
+ "dependencies": {
1598
+ "anyOf": [
1599
+ {
1600
+ "type": "array",
1601
+ "description": "Prerequisite task IDs from this project, at most 1000. Omission preserves the list; null or [] clears it. The server validates live references, self-links and cycles and removes duplicate IDs. Do not remove dependencies to bypass blocked work.",
1602
+ "maxItems": 1000,
1603
+ "items": {
1604
+ "type": "string"
1605
+ }
1606
+ },
1607
+ {
1608
+ "type": "null"
1609
+ }
1610
+ ]
1611
+ },
1612
+ "tags": {
1613
+ "anyOf": [
1614
+ {
1615
+ "type": "array",
1616
+ "description": "Existing project tag IDs, at most 50. Omission preserves the list; null or [] clears it. The server validates same-project references and removes duplicate IDs.",
1617
+ "maxItems": 50,
1618
+ "items": {
1619
+ "type": "string"
1620
+ }
1621
+ },
1622
+ {
1623
+ "type": "null"
1624
+ }
1625
+ ]
1626
+ }
1627
+ },
1628
+ "additionalProperties": false,
1629
+ "required": []
1020
1630
  }
1021
1631
  };