@pulsarinteractive/geniustasker 0.1.0-beta.17 → 0.1.0-beta.19
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/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/docs/CHATGPT.md +7 -0
- package/docs/CLI.md +32 -1
- package/docs/DOCUMENTATION_SYNC.md +8 -0
- package/docs/INTEGRATIONS.md +8 -4
- package/docs/MEMORY.md +90 -8
- package/docs/PLANNING.md +2 -1
- package/docs/STORAGE.md +32 -0
- package/docs/WORKFLOWS.md +8 -0
- package/examples/codex.toml +1 -1
- package/examples/mcp.json +1 -1
- package/mcp.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/remote/tool-catalog.json +1014 -11
- package/remote/workflows.json +208 -5
- package/skills/geniustasker/SKILL.md +16 -0
- package/skills/geniustasker-documentation/SKILL.md +5 -0
- package/skills/geniustasker-media/SKILL.md +10 -1
- package/skills/geniustasker-memory/SKILL.md +38 -5
- package/skills/geniustasker-planning/SKILL.md +12 -0
- package/src/archive.d.mts +1 -0
- package/src/archive.mjs +96 -0
- package/src/attachment-upload.mjs +203 -0
- package/src/cli.mjs +109 -0
- package/src/client.mjs +6 -0
- package/src/command-catalog.mjs +35 -14
- package/src/command-input-schemas.mjs +102 -0
- package/src/documentation-sync.mjs +23 -2
- package/src/mcp.mjs +83 -3
- package/src/memory-editorial.d.mts +5 -0
- package/src/memory-editorial.mjs +216 -0
- package/src/memory-history.mjs +45 -0
- package/src/memory-read-pages.d.mts +4 -0
- package/src/memory-read-pages.mjs +221 -0
- package/src/ticket-storage.mjs +67 -0
- package/src/transport.mjs +21 -3
package/remote/tool-catalog.json
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
{
|
|
67
67
|
"name": "tasker_resources",
|
|
68
68
|
"title": "Read records",
|
|
69
|
-
"description": "Read a bounded page or exact record before modifying it. Preserve epoch/revision. Never crawl all collections. Use personal scope only for the connected owner; revoked access is unavailable. Prefer the permission-specific read tools for new calls.",
|
|
69
|
+
"description": "Read a bounded page or exact record before modifying it. Preserve epoch/revision. Never crawl all collections. Use personal scope only for the connected owner; revoked access is unavailable. Prefer the permission-specific read tools for new calls. Archived task data also requires history:read. Prefer tasker_archive_query for archive search and filters.",
|
|
70
70
|
"inputSchema": {
|
|
71
71
|
"type": "object",
|
|
72
72
|
"properties": {
|
|
@@ -302,6 +302,482 @@
|
|
|
302
302
|
"scopes": ["memory:read"],
|
|
303
303
|
"route": "memory/markdown"
|
|
304
304
|
},
|
|
305
|
+
{
|
|
306
|
+
"name": "tasker_archive_query",
|
|
307
|
+
"title": "Search archived tasks",
|
|
308
|
+
"description": "Read one bounded page of archived tasks in a single project, optionally filtering by text, archive date, status, impact or assignee. All reads require the specific history:read permission. Follow next even after an empty page and reuse all original filters.",
|
|
309
|
+
"inputSchema": {
|
|
310
|
+
"type": "object",
|
|
311
|
+
"properties": {
|
|
312
|
+
"scope": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"pattern": "^project:[a-zA-Z0-9_-]{1,128}$",
|
|
315
|
+
"maxLength": 136
|
|
316
|
+
},
|
|
317
|
+
"limit": {
|
|
318
|
+
"type": "integer",
|
|
319
|
+
"minimum": 1,
|
|
320
|
+
"maximum": 100
|
|
321
|
+
},
|
|
322
|
+
"query": {
|
|
323
|
+
"type": "string",
|
|
324
|
+
"maxLength": 256
|
|
325
|
+
},
|
|
326
|
+
"statuses": {
|
|
327
|
+
"type": "array",
|
|
328
|
+
"uniqueItems": true,
|
|
329
|
+
"maxItems": 4,
|
|
330
|
+
"items": {
|
|
331
|
+
"type": "string",
|
|
332
|
+
"enum": ["New", "InProgress", "Paused", "Done"]
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"importance": {
|
|
336
|
+
"type": "array",
|
|
337
|
+
"uniqueItems": true,
|
|
338
|
+
"maxItems": 4,
|
|
339
|
+
"items": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"enum": ["Minor", "Normal", "Important", "Critical"]
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"assignees": {
|
|
345
|
+
"type": "array",
|
|
346
|
+
"maxItems": 100,
|
|
347
|
+
"uniqueItems": true,
|
|
348
|
+
"items": {
|
|
349
|
+
"type": "string",
|
|
350
|
+
"minLength": 1,
|
|
351
|
+
"maxLength": 128
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
"archivedFrom": {
|
|
355
|
+
"type": "string",
|
|
356
|
+
"format": "date-time",
|
|
357
|
+
"maxLength": 40
|
|
358
|
+
},
|
|
359
|
+
"archivedUntil": {
|
|
360
|
+
"type": "string",
|
|
361
|
+
"format": "date-time",
|
|
362
|
+
"maxLength": 40
|
|
363
|
+
},
|
|
364
|
+
"sort": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"enum": ["Rank", "DueDate", "Priority", "Newest"]
|
|
367
|
+
},
|
|
368
|
+
"sharedFilterId": {
|
|
369
|
+
"type": "string",
|
|
370
|
+
"minLength": 1,
|
|
371
|
+
"maxLength": 128
|
|
372
|
+
},
|
|
373
|
+
"column": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"minLength": 1,
|
|
376
|
+
"maxLength": 128
|
|
377
|
+
},
|
|
378
|
+
"continuation": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"minLength": 1,
|
|
381
|
+
"maxLength": 8192
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"required": ["scope"],
|
|
385
|
+
"additionalProperties": false
|
|
386
|
+
},
|
|
387
|
+
"scopes": ["tasks:read", "history:read"],
|
|
388
|
+
"route": "tasks/archive/query",
|
|
389
|
+
"method": "POST"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "tasker_archive_detail",
|
|
393
|
+
"title": "Read an archived task",
|
|
394
|
+
"description": "Read one archived task by ID under current task and historical access. No other project or active queue is scanned.",
|
|
395
|
+
"inputSchema": {
|
|
396
|
+
"type": "object",
|
|
397
|
+
"properties": {
|
|
398
|
+
"scope": {
|
|
399
|
+
"type": "string",
|
|
400
|
+
"pattern": "^project:[a-zA-Z0-9_-]{1,128}$",
|
|
401
|
+
"maxLength": 136
|
|
402
|
+
},
|
|
403
|
+
"id": {
|
|
404
|
+
"type": "string",
|
|
405
|
+
"minLength": 1,
|
|
406
|
+
"maxLength": 128
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"required": ["scope", "id"],
|
|
410
|
+
"additionalProperties": false
|
|
411
|
+
},
|
|
412
|
+
"scopes": ["tasks:read", "history:read"],
|
|
413
|
+
"route": "tasks/archive/detail"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "tasker_archive_comments",
|
|
417
|
+
"title": "Read comments of an archived task",
|
|
418
|
+
"description": "Read one bounded page of an archived task’s authorized comments. Follow the opaque nextAfter cursor only for the same task and project.",
|
|
419
|
+
"inputSchema": {
|
|
420
|
+
"type": "object",
|
|
421
|
+
"properties": {
|
|
422
|
+
"scope": {
|
|
423
|
+
"type": "string",
|
|
424
|
+
"pattern": "^project:[a-zA-Z0-9_-]{1,128}$",
|
|
425
|
+
"maxLength": 136
|
|
426
|
+
},
|
|
427
|
+
"id": {
|
|
428
|
+
"type": "string",
|
|
429
|
+
"minLength": 1,
|
|
430
|
+
"maxLength": 128
|
|
431
|
+
},
|
|
432
|
+
"after": {
|
|
433
|
+
"type": "string",
|
|
434
|
+
"minLength": 1,
|
|
435
|
+
"maxLength": 4096
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
"required": ["scope", "id"],
|
|
439
|
+
"additionalProperties": false
|
|
440
|
+
},
|
|
441
|
+
"scopes": ["tasks:read", "history:read"],
|
|
442
|
+
"route": "tasks/archive/comments"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "tasker_project_documentation",
|
|
446
|
+
"title": "Read project documentation settings",
|
|
447
|
+
"description": "Read the project’s current documentation policy, revision and authorized Memory destination. A hidden destination stays undisclosed. Read before reviewing or configuring the policy. Linking a project grants no new Memory access.",
|
|
448
|
+
"inputSchema": {
|
|
449
|
+
"type": "object",
|
|
450
|
+
"properties": {
|
|
451
|
+
"scope": {
|
|
452
|
+
"type": "string",
|
|
453
|
+
"pattern": "^project:[a-zA-Z0-9_-]{1,128}$",
|
|
454
|
+
"maxLength": 136
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"required": ["scope"],
|
|
458
|
+
"additionalProperties": false
|
|
459
|
+
},
|
|
460
|
+
"scopes": ["projects:read"],
|
|
461
|
+
"route": "project/documentation"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "tasker_memory_review",
|
|
465
|
+
"title": "Evaluate a documentation change",
|
|
466
|
+
"description": "Check the project’s current documentation policy and recommend one next action after real work. Supply durable evidence and candidate IDs from an authorized search. The review only reads scoped records, never writes a note or changes the project. Its result cannot authorize a mutation.",
|
|
467
|
+
"inputSchema": {
|
|
468
|
+
"type": "object",
|
|
469
|
+
"properties": {
|
|
470
|
+
"scope": {
|
|
471
|
+
"type": "string",
|
|
472
|
+
"pattern": "^project:[a-zA-Z0-9_-]{1,128}$",
|
|
473
|
+
"maxLength": 136
|
|
474
|
+
},
|
|
475
|
+
"domain": {
|
|
476
|
+
"type": "string",
|
|
477
|
+
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
|
|
478
|
+
"maxLength": 64
|
|
479
|
+
},
|
|
480
|
+
"change": {
|
|
481
|
+
"type": "string",
|
|
482
|
+
"enum": [
|
|
483
|
+
"feature",
|
|
484
|
+
"decision",
|
|
485
|
+
"procedure",
|
|
486
|
+
"limitation",
|
|
487
|
+
"proposal",
|
|
488
|
+
"routine",
|
|
489
|
+
"uncertain"
|
|
490
|
+
]
|
|
491
|
+
},
|
|
492
|
+
"sources": {
|
|
493
|
+
"type": "array",
|
|
494
|
+
"maxItems": 4,
|
|
495
|
+
"items": {
|
|
496
|
+
"type": "object",
|
|
497
|
+
"properties": {
|
|
498
|
+
"kind": {
|
|
499
|
+
"type": "string",
|
|
500
|
+
"enum": [
|
|
501
|
+
"tested-release",
|
|
502
|
+
"verified-behavior",
|
|
503
|
+
"approved-decision",
|
|
504
|
+
"verified-procedure",
|
|
505
|
+
"task-status",
|
|
506
|
+
"proposal"
|
|
507
|
+
]
|
|
508
|
+
},
|
|
509
|
+
"reference": {
|
|
510
|
+
"type": "string",
|
|
511
|
+
"minLength": 1,
|
|
512
|
+
"maxLength": 256
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
"required": ["kind", "reference"],
|
|
516
|
+
"additionalProperties": false
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"candidates": {
|
|
520
|
+
"type": "array",
|
|
521
|
+
"maxItems": 5,
|
|
522
|
+
"items": {
|
|
523
|
+
"type": "object",
|
|
524
|
+
"properties": {
|
|
525
|
+
"pageId": {
|
|
526
|
+
"type": "string",
|
|
527
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
528
|
+
"maxLength": 128
|
|
529
|
+
},
|
|
530
|
+
"revision": {
|
|
531
|
+
"type": "string",
|
|
532
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
533
|
+
"maxLength": 32
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"required": ["pageId", "revision"],
|
|
537
|
+
"additionalProperties": false
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"existingFactMatches": {
|
|
541
|
+
"type": "boolean",
|
|
542
|
+
"description": "True only after reading the current section and verifying it already covers this change."
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"required": ["scope", "domain", "change", "sources", "candidates"],
|
|
546
|
+
"additionalProperties": false
|
|
547
|
+
},
|
|
548
|
+
"scopes": ["projects:read"],
|
|
549
|
+
"route": "memory/review"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "tasker_memory_template",
|
|
553
|
+
"title": "Preview a starting note",
|
|
554
|
+
"description": "Choose an optional page from a software/product, game, music or free-form template. Omit page for the available choices; select its key for a localized draft outline. This consists of static suggestions and never creates a note.",
|
|
555
|
+
"inputSchema": {
|
|
556
|
+
"type": "object",
|
|
557
|
+
"properties": {
|
|
558
|
+
"family": {
|
|
559
|
+
"type": "string",
|
|
560
|
+
"enum": ["product", "game", "music", "freeform"]
|
|
561
|
+
},
|
|
562
|
+
"page": {
|
|
563
|
+
"type": "string",
|
|
564
|
+
"pattern": "^[a-z-]{1,32}$",
|
|
565
|
+
"maxLength": 32
|
|
566
|
+
},
|
|
567
|
+
"language": {
|
|
568
|
+
"type": "string",
|
|
569
|
+
"enum": ["en", "fr"]
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
"required": ["family", "language"],
|
|
573
|
+
"additionalProperties": false
|
|
574
|
+
},
|
|
575
|
+
"scopes": [],
|
|
576
|
+
"route": "memory/template"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "tasker_memory_read_pages",
|
|
580
|
+
"title": "Read selected Memory sections",
|
|
581
|
+
"description": "Compare up to five different pages in one authorized Memory. Each page costs one ordinary read. Select outlines or specific block IDs. Use the page cursor and revision with the same selector, epoch and checkpoint to continue. A partial batch covers only the returned material. Read tasker_workflow topic memory-reading for ten-page comparisons and large libraries. Use atRevision for an explicitly selected retained historical version.",
|
|
582
|
+
"inputSchema": {
|
|
583
|
+
"type": "object",
|
|
584
|
+
"properties": {
|
|
585
|
+
"scope": {
|
|
586
|
+
"type": "string",
|
|
587
|
+
"pattern": "^memory:[a-zA-Z0-9_-]{1,128}$",
|
|
588
|
+
"maxLength": 135
|
|
589
|
+
},
|
|
590
|
+
"epoch": {
|
|
591
|
+
"type": "string",
|
|
592
|
+
"minLength": 1,
|
|
593
|
+
"maxLength": 128
|
|
594
|
+
},
|
|
595
|
+
"checkpoint": {
|
|
596
|
+
"type": "string",
|
|
597
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
598
|
+
"maxLength": 32
|
|
599
|
+
},
|
|
600
|
+
"pages": {
|
|
601
|
+
"type": "array",
|
|
602
|
+
"minItems": 1,
|
|
603
|
+
"maxItems": 5,
|
|
604
|
+
"items": {
|
|
605
|
+
"type": "object",
|
|
606
|
+
"properties": {
|
|
607
|
+
"pageId": {
|
|
608
|
+
"type": "string",
|
|
609
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
610
|
+
"maxLength": 128
|
|
611
|
+
},
|
|
612
|
+
"mode": {
|
|
613
|
+
"type": "string",
|
|
614
|
+
"enum": ["outline", "blocks"]
|
|
615
|
+
},
|
|
616
|
+
"blockIds": {
|
|
617
|
+
"type": "array",
|
|
618
|
+
"minItems": 1,
|
|
619
|
+
"maxItems": 64,
|
|
620
|
+
"uniqueItems": true,
|
|
621
|
+
"items": {
|
|
622
|
+
"type": "string",
|
|
623
|
+
"pattern": "^[a-zA-Z0-9_-]{1,80}$",
|
|
624
|
+
"maxLength": 80
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
"knownRevision": {
|
|
628
|
+
"type": "string",
|
|
629
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
630
|
+
"maxLength": 16
|
|
631
|
+
},
|
|
632
|
+
"revision": {
|
|
633
|
+
"type": "string",
|
|
634
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
635
|
+
"maxLength": 16
|
|
636
|
+
},
|
|
637
|
+
"cursor": {
|
|
638
|
+
"type": "string",
|
|
639
|
+
"minLength": 1,
|
|
640
|
+
"maxLength": 2048
|
|
641
|
+
},
|
|
642
|
+
"atRevision": {
|
|
643
|
+
"type": "string",
|
|
644
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
645
|
+
"maxLength": 16,
|
|
646
|
+
"description": "Read this retained historical revision with current access. Omit for live content."
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"required": ["pageId", "mode"],
|
|
650
|
+
"additionalProperties": false
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"required": ["scope", "pages"],
|
|
655
|
+
"additionalProperties": false
|
|
656
|
+
},
|
|
657
|
+
"scopes": ["memory:read"],
|
|
658
|
+
"route": "memory/read-pages"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "tasker_memory_history",
|
|
662
|
+
"title": "Read Memory note history",
|
|
663
|
+
"description": "Read one bounded page of retained revisions for a currently accessible note. Continue using nextBeforeRevision in the same Memory and note. See workflow memory-history.",
|
|
664
|
+
"inputSchema": {
|
|
665
|
+
"type": "object",
|
|
666
|
+
"properties": {
|
|
667
|
+
"scope": {
|
|
668
|
+
"type": "string",
|
|
669
|
+
"pattern": "^memory:[a-zA-Z0-9_-]{1,128}$",
|
|
670
|
+
"maxLength": 135
|
|
671
|
+
},
|
|
672
|
+
"pageId": {
|
|
673
|
+
"type": "string",
|
|
674
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
675
|
+
"maxLength": 128
|
|
676
|
+
},
|
|
677
|
+
"beforeRevision": {
|
|
678
|
+
"type": "string",
|
|
679
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
680
|
+
"maxLength": 16
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
"required": ["scope", "pageId"],
|
|
684
|
+
"additionalProperties": false
|
|
685
|
+
},
|
|
686
|
+
"scopes": ["memory:read"],
|
|
687
|
+
"route": "memory/history"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "tasker_memory_diff",
|
|
691
|
+
"title": "Compare Memory revisions",
|
|
692
|
+
"description": "Compare two retained note revisions. Omitting toRevision compares with the current revision. The result contains bounded excerpts of changed fields and blocks.",
|
|
693
|
+
"inputSchema": {
|
|
694
|
+
"type": "object",
|
|
695
|
+
"properties": {
|
|
696
|
+
"scope": {
|
|
697
|
+
"type": "string",
|
|
698
|
+
"pattern": "^memory:[a-zA-Z0-9_-]{1,128}$",
|
|
699
|
+
"maxLength": 135
|
|
700
|
+
},
|
|
701
|
+
"pageId": {
|
|
702
|
+
"type": "string",
|
|
703
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
704
|
+
"maxLength": 128
|
|
705
|
+
},
|
|
706
|
+
"fromRevision": {
|
|
707
|
+
"type": "string",
|
|
708
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
709
|
+
"maxLength": 16
|
|
710
|
+
},
|
|
711
|
+
"toRevision": {
|
|
712
|
+
"type": "string",
|
|
713
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
714
|
+
"maxLength": 16
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
"required": ["scope", "pageId", "fromRevision"],
|
|
718
|
+
"additionalProperties": false
|
|
719
|
+
},
|
|
720
|
+
"scopes": ["memory:read"],
|
|
721
|
+
"route": "memory/diff"
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "tasker_memory_restore",
|
|
725
|
+
"title": "Restore note content",
|
|
726
|
+
"description": "Restore one selected note revision only after the user requests it and reviews its effect. Preserve the complete immutable payload for retries. Current access and placement are retained. A stale expectedRevision requires a new comparison.",
|
|
727
|
+
"inputSchema": {
|
|
728
|
+
"type": "object",
|
|
729
|
+
"properties": {
|
|
730
|
+
"scope": {
|
|
731
|
+
"type": "string",
|
|
732
|
+
"pattern": "^memory:[a-zA-Z0-9_-]{1,128}$",
|
|
733
|
+
"maxLength": 135
|
|
734
|
+
},
|
|
735
|
+
"pageId": {
|
|
736
|
+
"type": "string",
|
|
737
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
738
|
+
"maxLength": 128
|
|
739
|
+
},
|
|
740
|
+
"revision": {
|
|
741
|
+
"type": "string",
|
|
742
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
743
|
+
"maxLength": 16
|
|
744
|
+
},
|
|
745
|
+
"expectedRevision": {
|
|
746
|
+
"type": "string",
|
|
747
|
+
"pattern": "^(0|[1-9][0-9]*)$",
|
|
748
|
+
"maxLength": 16
|
|
749
|
+
},
|
|
750
|
+
"operationId": {
|
|
751
|
+
"type": "string",
|
|
752
|
+
"format": "uuid"
|
|
753
|
+
},
|
|
754
|
+
"epoch": {
|
|
755
|
+
"type": "string",
|
|
756
|
+
"minLength": 1,
|
|
757
|
+
"maxLength": 128
|
|
758
|
+
},
|
|
759
|
+
"issuedAt": {
|
|
760
|
+
"type": "integer",
|
|
761
|
+
"minimum": 1,
|
|
762
|
+
"maximum": 9007199254740991
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
"required": [
|
|
766
|
+
"scope",
|
|
767
|
+
"pageId",
|
|
768
|
+
"revision",
|
|
769
|
+
"expectedRevision",
|
|
770
|
+
"operationId",
|
|
771
|
+
"epoch",
|
|
772
|
+
"issuedAt"
|
|
773
|
+
],
|
|
774
|
+
"additionalProperties": false
|
|
775
|
+
},
|
|
776
|
+
"scopes": ["memory:write"],
|
|
777
|
+
"route": "memory/restore",
|
|
778
|
+
"write": true,
|
|
779
|
+
"destructive": true
|
|
780
|
+
},
|
|
305
781
|
{
|
|
306
782
|
"name": "tasker_command_help",
|
|
307
783
|
"title": "Explain an edit",
|
|
@@ -336,7 +812,6 @@
|
|
|
336
812
|
"goal.update",
|
|
337
813
|
"intent.change",
|
|
338
814
|
"memory.create",
|
|
339
|
-
"memory.delete",
|
|
340
815
|
"memory.edge.create",
|
|
341
816
|
"memory.edge.delete",
|
|
342
817
|
"memory.edge.update",
|
|
@@ -345,6 +820,7 @@
|
|
|
345
820
|
"memory.node.update",
|
|
346
821
|
"memory.page.create",
|
|
347
822
|
"memory.page.delete",
|
|
823
|
+
"memory.page.restore",
|
|
348
824
|
"memory.page.update",
|
|
349
825
|
"memory.update",
|
|
350
826
|
"metric.correct",
|
|
@@ -356,9 +832,9 @@
|
|
|
356
832
|
"metric.record",
|
|
357
833
|
"metric.update",
|
|
358
834
|
"metric.void",
|
|
835
|
+
"project.configureDocumentation",
|
|
359
836
|
"project.configureInstructions",
|
|
360
837
|
"project.create",
|
|
361
|
-
"project.delete",
|
|
362
838
|
"project.features",
|
|
363
839
|
"project.update",
|
|
364
840
|
"protocol.apply",
|
|
@@ -389,6 +865,7 @@
|
|
|
389
865
|
"tag.update",
|
|
390
866
|
"task.archive",
|
|
391
867
|
"task.create",
|
|
868
|
+
"task.delete",
|
|
392
869
|
"task.lock",
|
|
393
870
|
"task.pause",
|
|
394
871
|
"task.report",
|
|
@@ -443,7 +920,6 @@
|
|
|
443
920
|
"goal.update",
|
|
444
921
|
"intent.change",
|
|
445
922
|
"memory.create",
|
|
446
|
-
"memory.delete",
|
|
447
923
|
"memory.edge.create",
|
|
448
924
|
"memory.edge.delete",
|
|
449
925
|
"memory.edge.update",
|
|
@@ -452,6 +928,7 @@
|
|
|
452
928
|
"memory.node.update",
|
|
453
929
|
"memory.page.create",
|
|
454
930
|
"memory.page.delete",
|
|
931
|
+
"memory.page.restore",
|
|
455
932
|
"memory.page.update",
|
|
456
933
|
"memory.update",
|
|
457
934
|
"metric.correct",
|
|
@@ -463,9 +940,9 @@
|
|
|
463
940
|
"metric.record",
|
|
464
941
|
"metric.update",
|
|
465
942
|
"metric.void",
|
|
943
|
+
"project.configureDocumentation",
|
|
466
944
|
"project.configureInstructions",
|
|
467
945
|
"project.create",
|
|
468
|
-
"project.delete",
|
|
469
946
|
"project.features",
|
|
470
947
|
"project.update",
|
|
471
948
|
"protocol.apply",
|
|
@@ -496,6 +973,7 @@
|
|
|
496
973
|
"tag.update",
|
|
497
974
|
"task.archive",
|
|
498
975
|
"task.create",
|
|
976
|
+
"task.delete",
|
|
499
977
|
"task.lock",
|
|
500
978
|
"task.pause",
|
|
501
979
|
"task.report",
|
|
@@ -590,7 +1068,6 @@
|
|
|
590
1068
|
"goal.update",
|
|
591
1069
|
"intent.change",
|
|
592
1070
|
"memory.create",
|
|
593
|
-
"memory.delete",
|
|
594
1071
|
"memory.edge.create",
|
|
595
1072
|
"memory.edge.delete",
|
|
596
1073
|
"memory.edge.update",
|
|
@@ -599,6 +1076,7 @@
|
|
|
599
1076
|
"memory.node.update",
|
|
600
1077
|
"memory.page.create",
|
|
601
1078
|
"memory.page.delete",
|
|
1079
|
+
"memory.page.restore",
|
|
602
1080
|
"memory.page.update",
|
|
603
1081
|
"memory.update",
|
|
604
1082
|
"metric.correct",
|
|
@@ -610,9 +1088,9 @@
|
|
|
610
1088
|
"metric.record",
|
|
611
1089
|
"metric.update",
|
|
612
1090
|
"metric.void",
|
|
1091
|
+
"project.configureDocumentation",
|
|
613
1092
|
"project.configureInstructions",
|
|
614
1093
|
"project.create",
|
|
615
|
-
"project.delete",
|
|
616
1094
|
"project.features",
|
|
617
1095
|
"project.update",
|
|
618
1096
|
"protocol.apply",
|
|
@@ -643,6 +1121,7 @@
|
|
|
643
1121
|
"tag.update",
|
|
644
1122
|
"task.archive",
|
|
645
1123
|
"task.create",
|
|
1124
|
+
"task.delete",
|
|
646
1125
|
"task.lock",
|
|
647
1126
|
"task.pause",
|
|
648
1127
|
"task.report",
|
|
@@ -929,7 +1408,6 @@
|
|
|
929
1408
|
"type": "string",
|
|
930
1409
|
"enum": [
|
|
931
1410
|
"memory.create",
|
|
932
|
-
"memory.delete",
|
|
933
1411
|
"memory.edge.create",
|
|
934
1412
|
"memory.edge.delete",
|
|
935
1413
|
"memory.edge.update",
|
|
@@ -938,6 +1416,7 @@
|
|
|
938
1416
|
"memory.node.update",
|
|
939
1417
|
"memory.page.create",
|
|
940
1418
|
"memory.page.delete",
|
|
1419
|
+
"memory.page.restore",
|
|
941
1420
|
"memory.page.update",
|
|
942
1421
|
"memory.update"
|
|
943
1422
|
]
|
|
@@ -1371,7 +1850,7 @@
|
|
|
1371
1850
|
{
|
|
1372
1851
|
"name": "tasker_read_tasks",
|
|
1373
1852
|
"title": "Read tasks records",
|
|
1374
|
-
"description": "Read one authorized page or exact record from the listed tasks collections. Preserve epoch/revision and follow nextAfter only when needed. This tool cannot change data. Existing resource access and quotas apply.",
|
|
1853
|
+
"description": "Read one authorized page or exact record from the listed tasks collections. Preserve epoch/revision and follow nextAfter only when needed. This tool cannot change data. Existing resource access and quotas apply. Archived task data also requires history:read. Prefer tasker_archive_query for archive search and filters.",
|
|
1375
1854
|
"inputSchema": {
|
|
1376
1855
|
"type": "object",
|
|
1377
1856
|
"properties": {
|
|
@@ -1465,9 +1944,9 @@
|
|
|
1465
1944
|
"kind": {
|
|
1466
1945
|
"type": "string",
|
|
1467
1946
|
"enum": [
|
|
1947
|
+
"project.configureDocumentation",
|
|
1468
1948
|
"project.configureInstructions",
|
|
1469
1949
|
"project.create",
|
|
1470
|
-
"project.delete",
|
|
1471
1950
|
"project.features",
|
|
1472
1951
|
"project.update"
|
|
1473
1952
|
]
|
|
@@ -1542,7 +2021,13 @@
|
|
|
1542
2021
|
"metrics",
|
|
1543
2022
|
"intents",
|
|
1544
2023
|
"feedback",
|
|
1545
|
-
"checklist"
|
|
2024
|
+
"checklist",
|
|
2025
|
+
"memory-editorial",
|
|
2026
|
+
"memory-reading",
|
|
2027
|
+
"memory-templates",
|
|
2028
|
+
"memory-history",
|
|
2029
|
+
"archives",
|
|
2030
|
+
"storage"
|
|
1546
2031
|
]
|
|
1547
2032
|
}
|
|
1548
2033
|
},
|
|
@@ -2398,5 +2883,523 @@
|
|
|
2398
2883
|
"route": "changes",
|
|
2399
2884
|
"write": false,
|
|
2400
2885
|
"destructive": false
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
"name": "tasker_storage_project",
|
|
2889
|
+
"title": "Read project storage totals",
|
|
2890
|
+
"description": "Read totals for one authorized project. Requires current task and historical access. Partial coverage is not an exact inventory.",
|
|
2891
|
+
"inputSchema": {
|
|
2892
|
+
"type": "object",
|
|
2893
|
+
"properties": {
|
|
2894
|
+
"scope": {
|
|
2895
|
+
"type": "string",
|
|
2896
|
+
"maxLength": 160
|
|
2897
|
+
}
|
|
2898
|
+
},
|
|
2899
|
+
"required": ["scope"],
|
|
2900
|
+
"additionalProperties": false
|
|
2901
|
+
},
|
|
2902
|
+
"scopes": ["storage:read", "tasks:read"],
|
|
2903
|
+
"route": "storage/project",
|
|
2904
|
+
"write": false,
|
|
2905
|
+
"destructive": false
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"name": "tasker_storage_tickets",
|
|
2909
|
+
"title": "Find tickets by storage",
|
|
2910
|
+
"description": "Find one bounded page of tickets by storage and state. Use state=active without historical access. Preserve the filters on continuation.",
|
|
2911
|
+
"inputSchema": {
|
|
2912
|
+
"type": "object",
|
|
2913
|
+
"properties": {
|
|
2914
|
+
"scope": {
|
|
2915
|
+
"type": "string",
|
|
2916
|
+
"maxLength": 160
|
|
2917
|
+
},
|
|
2918
|
+
"state": {
|
|
2919
|
+
"type": "string",
|
|
2920
|
+
"maxLength": 160
|
|
2921
|
+
},
|
|
2922
|
+
"minBytes": {
|
|
2923
|
+
"type": "integer",
|
|
2924
|
+
"minimum": 0
|
|
2925
|
+
},
|
|
2926
|
+
"after": {
|
|
2927
|
+
"type": "string",
|
|
2928
|
+
"maxLength": 2048
|
|
2929
|
+
},
|
|
2930
|
+
"limit": {
|
|
2931
|
+
"type": "integer",
|
|
2932
|
+
"minimum": 1,
|
|
2933
|
+
"maximum": 50
|
|
2934
|
+
}
|
|
2935
|
+
},
|
|
2936
|
+
"required": ["scope"],
|
|
2937
|
+
"additionalProperties": false
|
|
2938
|
+
},
|
|
2939
|
+
"scopes": ["storage:read", "tasks:read"],
|
|
2940
|
+
"route": "storage/tickets",
|
|
2941
|
+
"write": false,
|
|
2942
|
+
"destructive": false
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"name": "tasker_storage_files",
|
|
2946
|
+
"title": "Find ticket attachments",
|
|
2947
|
+
"description": "Read one bounded page of attachment metadata by ticket, type, dates or bytes. Protected or shared bytes may remain after unlinking.",
|
|
2948
|
+
"inputSchema": {
|
|
2949
|
+
"type": "object",
|
|
2950
|
+
"properties": {
|
|
2951
|
+
"scope": {
|
|
2952
|
+
"type": "string",
|
|
2953
|
+
"maxLength": 160
|
|
2954
|
+
},
|
|
2955
|
+
"taskId": {
|
|
2956
|
+
"type": "string",
|
|
2957
|
+
"maxLength": 160
|
|
2958
|
+
},
|
|
2959
|
+
"type": {
|
|
2960
|
+
"type": "string",
|
|
2961
|
+
"maxLength": 160
|
|
2962
|
+
},
|
|
2963
|
+
"state": {
|
|
2964
|
+
"type": "string",
|
|
2965
|
+
"maxLength": 160
|
|
2966
|
+
},
|
|
2967
|
+
"minBytes": {
|
|
2968
|
+
"type": "integer",
|
|
2969
|
+
"minimum": 0
|
|
2970
|
+
},
|
|
2971
|
+
"from": {
|
|
2972
|
+
"type": "string",
|
|
2973
|
+
"maxLength": 160
|
|
2974
|
+
},
|
|
2975
|
+
"until": {
|
|
2976
|
+
"type": "string",
|
|
2977
|
+
"maxLength": 160
|
|
2978
|
+
},
|
|
2979
|
+
"after": {
|
|
2980
|
+
"type": "string",
|
|
2981
|
+
"maxLength": 2048
|
|
2982
|
+
},
|
|
2983
|
+
"limit": {
|
|
2984
|
+
"type": "integer",
|
|
2985
|
+
"minimum": 1,
|
|
2986
|
+
"maximum": 50
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2989
|
+
"required": ["scope"],
|
|
2990
|
+
"additionalProperties": false
|
|
2991
|
+
},
|
|
2992
|
+
"scopes": ["storage:read", "tasks:read"],
|
|
2993
|
+
"route": "storage/files",
|
|
2994
|
+
"write": false,
|
|
2995
|
+
"destructive": false
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"name": "tasker_storage_selection",
|
|
2999
|
+
"title": "Estimate one selected item",
|
|
3000
|
+
"description": "Read the estimated logical, exclusive and protected bytes of exactly one selected ticket or attachment. No changes are made.",
|
|
3001
|
+
"inputSchema": {
|
|
3002
|
+
"type": "object",
|
|
3003
|
+
"required": ["scope"],
|
|
3004
|
+
"properties": {
|
|
3005
|
+
"attachmentIds": {
|
|
3006
|
+
"type": "array",
|
|
3007
|
+
"minItems": 1,
|
|
3008
|
+
"maxItems": 1,
|
|
3009
|
+
"items": {
|
|
3010
|
+
"type": "string"
|
|
3011
|
+
}
|
|
3012
|
+
},
|
|
3013
|
+
"cursor": {
|
|
3014
|
+
"type": "string"
|
|
3015
|
+
},
|
|
3016
|
+
"scope": {
|
|
3017
|
+
"type": "string"
|
|
3018
|
+
},
|
|
3019
|
+
"taskIds": {
|
|
3020
|
+
"type": "array",
|
|
3021
|
+
"minItems": 1,
|
|
3022
|
+
"maxItems": 1,
|
|
3023
|
+
"items": {
|
|
3024
|
+
"type": "string"
|
|
3025
|
+
}
|
|
3026
|
+
}
|
|
3027
|
+
},
|
|
3028
|
+
"additionalProperties": false
|
|
3029
|
+
},
|
|
3030
|
+
"scopes": ["storage:read", "tasks:read"],
|
|
3031
|
+
"route": "storage/selection",
|
|
3032
|
+
"method": "POST",
|
|
3033
|
+
"write": false,
|
|
3034
|
+
"destructive": false
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"name": "tasker_storage_analyze",
|
|
3038
|
+
"title": "Continue a bounded storage analysis",
|
|
3039
|
+
"description": "Process one bounded storage index page for an authorized project. Keep nextCursor for the next explicit request.",
|
|
3040
|
+
"inputSchema": {
|
|
3041
|
+
"type": "object",
|
|
3042
|
+
"required": ["scope"],
|
|
3043
|
+
"properties": {
|
|
3044
|
+
"cursor": {
|
|
3045
|
+
"type": "string"
|
|
3046
|
+
},
|
|
3047
|
+
"scope": {
|
|
3048
|
+
"type": "string"
|
|
3049
|
+
}
|
|
3050
|
+
},
|
|
3051
|
+
"additionalProperties": false
|
|
3052
|
+
},
|
|
3053
|
+
"scopes": ["storage:read", "tasks:read"],
|
|
3054
|
+
"route": "storage/analyze",
|
|
3055
|
+
"method": "POST",
|
|
3056
|
+
"write": false,
|
|
3057
|
+
"destructive": false
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"name": "tasker_attachment_preview",
|
|
3061
|
+
"title": "Preview attachment change",
|
|
3062
|
+
"description": "Inspect one requested add, replace or remove. Get epoch, revision and archival state. The matching attachment permission is checked. Read the storage workflow first.",
|
|
3063
|
+
"inputSchema": {
|
|
3064
|
+
"type": "object",
|
|
3065
|
+
"required": ["action", "attachmentId", "scope", "taskId"],
|
|
3066
|
+
"properties": {
|
|
3067
|
+
"action": {
|
|
3068
|
+
"oneOf": [
|
|
3069
|
+
{
|
|
3070
|
+
"type": "string",
|
|
3071
|
+
"enum": ["add"]
|
|
3072
|
+
},
|
|
3073
|
+
{
|
|
3074
|
+
"type": "string",
|
|
3075
|
+
"enum": ["replace"]
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
"type": "string",
|
|
3079
|
+
"enum": ["remove"]
|
|
3080
|
+
}
|
|
3081
|
+
]
|
|
3082
|
+
},
|
|
3083
|
+
"attachmentId": {
|
|
3084
|
+
"type": "string"
|
|
3085
|
+
},
|
|
3086
|
+
"scope": {
|
|
3087
|
+
"type": "string",
|
|
3088
|
+
"minLength": 9,
|
|
3089
|
+
"maxLength": 136,
|
|
3090
|
+
"pattern": "^project:[A-Za-z0-9_-]+$"
|
|
3091
|
+
},
|
|
3092
|
+
"taskId": {
|
|
3093
|
+
"type": "string",
|
|
3094
|
+
"minLength": 1,
|
|
3095
|
+
"maxLength": 128
|
|
3096
|
+
}
|
|
3097
|
+
},
|
|
3098
|
+
"additionalProperties": false
|
|
3099
|
+
},
|
|
3100
|
+
"scopes": ["tasks:read"],
|
|
3101
|
+
"route": "storage/attachments/preview",
|
|
3102
|
+
"method": "POST",
|
|
3103
|
+
"write": false,
|
|
3104
|
+
"destructive": false
|
|
3105
|
+
},
|
|
3106
|
+
{
|
|
3107
|
+
"name": "tasker_attachment_add",
|
|
3108
|
+
"title": "Add one attachment",
|
|
3109
|
+
"description": "Link one privately uploaded original to this task after preview. Use the bound asset ID. Reuse the same operation ID and time on retry.",
|
|
3110
|
+
"inputSchema": {
|
|
3111
|
+
"type": "object",
|
|
3112
|
+
"required": [
|
|
3113
|
+
"action",
|
|
3114
|
+
"attachmentId",
|
|
3115
|
+
"epoch",
|
|
3116
|
+
"expectedRevision",
|
|
3117
|
+
"issuedAt",
|
|
3118
|
+
"operationId",
|
|
3119
|
+
"scope",
|
|
3120
|
+
"taskId"
|
|
3121
|
+
],
|
|
3122
|
+
"properties": {
|
|
3123
|
+
"action": {
|
|
3124
|
+
"const": "add",
|
|
3125
|
+
"type": "string"
|
|
3126
|
+
},
|
|
3127
|
+
"assetId": {
|
|
3128
|
+
"anyOf": [
|
|
3129
|
+
{
|
|
3130
|
+
"type": "string"
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
"type": "null"
|
|
3134
|
+
}
|
|
3135
|
+
]
|
|
3136
|
+
},
|
|
3137
|
+
"attachmentId": {
|
|
3138
|
+
"type": "string"
|
|
3139
|
+
},
|
|
3140
|
+
"epoch": {
|
|
3141
|
+
"type": "string",
|
|
3142
|
+
"minLength": 1,
|
|
3143
|
+
"maxLength": 128
|
|
3144
|
+
},
|
|
3145
|
+
"expectedRevision": {
|
|
3146
|
+
"anyOf": [
|
|
3147
|
+
{
|
|
3148
|
+
"type": "string"
|
|
3149
|
+
},
|
|
3150
|
+
{
|
|
3151
|
+
"type": "null"
|
|
3152
|
+
}
|
|
3153
|
+
]
|
|
3154
|
+
},
|
|
3155
|
+
"issuedAt": {
|
|
3156
|
+
"type": "integer",
|
|
3157
|
+
"minimum": 0,
|
|
3158
|
+
"maximum": 9007199254740991
|
|
3159
|
+
},
|
|
3160
|
+
"operationId": {
|
|
3161
|
+
"type": "string"
|
|
3162
|
+
},
|
|
3163
|
+
"scope": {
|
|
3164
|
+
"type": "string",
|
|
3165
|
+
"minLength": 9,
|
|
3166
|
+
"maxLength": 136,
|
|
3167
|
+
"pattern": "^project:[A-Za-z0-9_-]+$"
|
|
3168
|
+
},
|
|
3169
|
+
"taskId": {
|
|
3170
|
+
"type": "string",
|
|
3171
|
+
"minLength": 1,
|
|
3172
|
+
"maxLength": 128
|
|
3173
|
+
}
|
|
3174
|
+
},
|
|
3175
|
+
"additionalProperties": false
|
|
3176
|
+
},
|
|
3177
|
+
"scopes": ["tasks:read", "attachments:add"],
|
|
3178
|
+
"route": "storage/attachments/add",
|
|
3179
|
+
"method": "POST",
|
|
3180
|
+
"write": true,
|
|
3181
|
+
"destructive": false
|
|
3182
|
+
},
|
|
3183
|
+
{
|
|
3184
|
+
"name": "tasker_attachment_replace",
|
|
3185
|
+
"title": "Replace one attachment",
|
|
3186
|
+
"description": "Replace exactly one original after explicit selection and preview. Upload the replacement first. Preserve the prior attachment on failed upload or revision conflict.",
|
|
3187
|
+
"inputSchema": {
|
|
3188
|
+
"type": "object",
|
|
3189
|
+
"required": [
|
|
3190
|
+
"action",
|
|
3191
|
+
"attachmentId",
|
|
3192
|
+
"epoch",
|
|
3193
|
+
"expectedRevision",
|
|
3194
|
+
"issuedAt",
|
|
3195
|
+
"operationId",
|
|
3196
|
+
"scope",
|
|
3197
|
+
"taskId"
|
|
3198
|
+
],
|
|
3199
|
+
"properties": {
|
|
3200
|
+
"action": {
|
|
3201
|
+
"const": "replace",
|
|
3202
|
+
"type": "string"
|
|
3203
|
+
},
|
|
3204
|
+
"assetId": {
|
|
3205
|
+
"anyOf": [
|
|
3206
|
+
{
|
|
3207
|
+
"type": "string"
|
|
3208
|
+
},
|
|
3209
|
+
{
|
|
3210
|
+
"type": "null"
|
|
3211
|
+
}
|
|
3212
|
+
]
|
|
3213
|
+
},
|
|
3214
|
+
"attachmentId": {
|
|
3215
|
+
"type": "string"
|
|
3216
|
+
},
|
|
3217
|
+
"epoch": {
|
|
3218
|
+
"type": "string",
|
|
3219
|
+
"minLength": 1,
|
|
3220
|
+
"maxLength": 128
|
|
3221
|
+
},
|
|
3222
|
+
"expectedRevision": {
|
|
3223
|
+
"anyOf": [
|
|
3224
|
+
{
|
|
3225
|
+
"type": "string"
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
"type": "null"
|
|
3229
|
+
}
|
|
3230
|
+
]
|
|
3231
|
+
},
|
|
3232
|
+
"issuedAt": {
|
|
3233
|
+
"type": "integer",
|
|
3234
|
+
"minimum": 0,
|
|
3235
|
+
"maximum": 9007199254740991
|
|
3236
|
+
},
|
|
3237
|
+
"operationId": {
|
|
3238
|
+
"type": "string"
|
|
3239
|
+
},
|
|
3240
|
+
"scope": {
|
|
3241
|
+
"type": "string",
|
|
3242
|
+
"minLength": 9,
|
|
3243
|
+
"maxLength": 136,
|
|
3244
|
+
"pattern": "^project:[A-Za-z0-9_-]+$"
|
|
3245
|
+
},
|
|
3246
|
+
"taskId": {
|
|
3247
|
+
"type": "string",
|
|
3248
|
+
"minLength": 1,
|
|
3249
|
+
"maxLength": 128
|
|
3250
|
+
}
|
|
3251
|
+
},
|
|
3252
|
+
"additionalProperties": false
|
|
3253
|
+
},
|
|
3254
|
+
"scopes": ["tasks:read", "attachments:replace"],
|
|
3255
|
+
"route": "storage/attachments/replace",
|
|
3256
|
+
"method": "POST",
|
|
3257
|
+
"write": true,
|
|
3258
|
+
"destructive": true
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
"name": "tasker_attachment_remove",
|
|
3262
|
+
"title": "Remove one attachment",
|
|
3263
|
+
"description": "Unlink exactly one selected attachment after preview and user intent. A removal cannot be batched. Report actual releasedBytes and pendingRelease from the receipt.",
|
|
3264
|
+
"inputSchema": {
|
|
3265
|
+
"type": "object",
|
|
3266
|
+
"required": [
|
|
3267
|
+
"action",
|
|
3268
|
+
"attachmentId",
|
|
3269
|
+
"epoch",
|
|
3270
|
+
"expectedRevision",
|
|
3271
|
+
"issuedAt",
|
|
3272
|
+
"operationId",
|
|
3273
|
+
"scope",
|
|
3274
|
+
"taskId"
|
|
3275
|
+
],
|
|
3276
|
+
"properties": {
|
|
3277
|
+
"action": {
|
|
3278
|
+
"const": "remove",
|
|
3279
|
+
"type": "string"
|
|
3280
|
+
},
|
|
3281
|
+
"assetId": {
|
|
3282
|
+
"anyOf": [
|
|
3283
|
+
{
|
|
3284
|
+
"type": "string"
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
"type": "null"
|
|
3288
|
+
}
|
|
3289
|
+
]
|
|
3290
|
+
},
|
|
3291
|
+
"attachmentId": {
|
|
3292
|
+
"type": "string"
|
|
3293
|
+
},
|
|
3294
|
+
"epoch": {
|
|
3295
|
+
"type": "string",
|
|
3296
|
+
"minLength": 1,
|
|
3297
|
+
"maxLength": 128
|
|
3298
|
+
},
|
|
3299
|
+
"expectedRevision": {
|
|
3300
|
+
"anyOf": [
|
|
3301
|
+
{
|
|
3302
|
+
"type": "string"
|
|
3303
|
+
},
|
|
3304
|
+
{
|
|
3305
|
+
"type": "null"
|
|
3306
|
+
}
|
|
3307
|
+
]
|
|
3308
|
+
},
|
|
3309
|
+
"issuedAt": {
|
|
3310
|
+
"type": "integer",
|
|
3311
|
+
"minimum": 0,
|
|
3312
|
+
"maximum": 9007199254740991
|
|
3313
|
+
},
|
|
3314
|
+
"operationId": {
|
|
3315
|
+
"type": "string"
|
|
3316
|
+
},
|
|
3317
|
+
"scope": {
|
|
3318
|
+
"type": "string",
|
|
3319
|
+
"minLength": 9,
|
|
3320
|
+
"maxLength": 136,
|
|
3321
|
+
"pattern": "^project:[A-Za-z0-9_-]+$"
|
|
3322
|
+
},
|
|
3323
|
+
"taskId": {
|
|
3324
|
+
"type": "string",
|
|
3325
|
+
"minLength": 1,
|
|
3326
|
+
"maxLength": 128
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
"additionalProperties": false
|
|
3330
|
+
},
|
|
3331
|
+
"scopes": ["tasks:read", "attachments:remove"],
|
|
3332
|
+
"route": "storage/attachments/remove",
|
|
3333
|
+
"method": "POST",
|
|
3334
|
+
"write": true,
|
|
3335
|
+
"destructive": true
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
"name": "tasker_edit_task_deletion",
|
|
3339
|
+
"title": "Delete one selected task",
|
|
3340
|
+
"description": "Delete exactly one identified task with its current revision and tasks:delete. For archived tasks also require history:read. Inspect the item and storage estimate first. Return its deletion receipt. Never loop over children to bypass owner-only project removal.",
|
|
3341
|
+
"inputSchema": {
|
|
3342
|
+
"type": "object",
|
|
3343
|
+
"properties": {
|
|
3344
|
+
"operationId": {
|
|
3345
|
+
"type": "string",
|
|
3346
|
+
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
|
|
3347
|
+
},
|
|
3348
|
+
"issuedAt": {
|
|
3349
|
+
"type": "integer",
|
|
3350
|
+
"minimum": 0
|
|
3351
|
+
},
|
|
3352
|
+
"kind": {
|
|
3353
|
+
"type": "string",
|
|
3354
|
+
"enum": ["task.delete"]
|
|
3355
|
+
},
|
|
3356
|
+
"scope": {
|
|
3357
|
+
"type": "string",
|
|
3358
|
+
"minLength": 1,
|
|
3359
|
+
"maxLength": 256
|
|
3360
|
+
},
|
|
3361
|
+
"id": {
|
|
3362
|
+
"type": "string",
|
|
3363
|
+
"minLength": 1,
|
|
3364
|
+
"maxLength": 128
|
|
3365
|
+
},
|
|
3366
|
+
"epoch": {
|
|
3367
|
+
"type": "string",
|
|
3368
|
+
"minLength": 1,
|
|
3369
|
+
"maxLength": 128
|
|
3370
|
+
},
|
|
3371
|
+
"expectedRevision": {
|
|
3372
|
+
"anyOf": [
|
|
3373
|
+
{
|
|
3374
|
+
"type": "string",
|
|
3375
|
+
"minLength": 1,
|
|
3376
|
+
"maxLength": 32
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"type": "null"
|
|
3380
|
+
}
|
|
3381
|
+
]
|
|
3382
|
+
},
|
|
3383
|
+
"data": {
|
|
3384
|
+
"type": "object",
|
|
3385
|
+
"maxProperties": 40
|
|
3386
|
+
}
|
|
3387
|
+
},
|
|
3388
|
+
"required": [
|
|
3389
|
+
"operationId",
|
|
3390
|
+
"issuedAt",
|
|
3391
|
+
"kind",
|
|
3392
|
+
"scope",
|
|
3393
|
+
"id",
|
|
3394
|
+
"epoch",
|
|
3395
|
+
"expectedRevision",
|
|
3396
|
+
"data"
|
|
3397
|
+
],
|
|
3398
|
+
"additionalProperties": false
|
|
3399
|
+
},
|
|
3400
|
+
"scopes": ["tasks:delete"],
|
|
3401
|
+
"route": "commands",
|
|
3402
|
+
"write": true,
|
|
3403
|
+
"destructive": true
|
|
2401
3404
|
}
|
|
2402
3405
|
]
|