@pellux/goodvibes-contracts 1.8.0 → 1.10.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/artifacts/operator-contract.json +3856 -467
- package/artifacts/operator-openapi.json +1897 -10
- package/artifacts/python/homeassistant_operator_client.py +2 -2
- package/dist/core-verbs.d.ts.map +1 -1
- package/dist/core-verbs.js +33 -0
- package/dist/generated/foundation-client-types.d.ts +689 -61
- package/dist/generated/foundation-client-types.d.ts.map +1 -1
- package/dist/generated/foundation-metadata.d.ts +2 -2
- package/dist/generated/foundation-metadata.js +2 -2
- package/dist/generated/mock-daemon-fixtures.d.ts.map +1 -1
- package/dist/generated/mock-daemon-fixtures.js +792 -3
- package/dist/generated/operator-contract.d.ts.map +1 -1
- package/dist/generated/operator-contract.js +3856 -467
- package/dist/generated/operator-method-ids.d.ts +1 -1
- package/dist/generated/operator-method-ids.d.ts.map +1 -1
- package/dist/generated/operator-method-ids.js +29 -0
- package/dist/generated/webui-facade.d.ts +2 -2
- package/dist/generated/webui-facade.d.ts.map +1 -1
- package/dist/generated/webui-facade.js +869 -6
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"product": {
|
|
4
4
|
"id": "goodvibes",
|
|
5
5
|
"surface": "operator",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.10.0"
|
|
7
7
|
},
|
|
8
8
|
"auth": {
|
|
9
9
|
"modes": [
|
|
@@ -524,6 +524,182 @@
|
|
|
524
524
|
},
|
|
525
525
|
"invokable": true
|
|
526
526
|
},
|
|
527
|
+
{
|
|
528
|
+
"id": "acp.agents.list",
|
|
529
|
+
"title": "List Installed Third-Party Coding Agents",
|
|
530
|
+
"description": "READ-ONLY discovery of installed ACP-capable third-party coding agents (Claude Code, Codex CLI, opencode): existence checks over $PATH and known install directories — no process is ever executed, no registration ceremony. Returns only what is present (id, title, resolved binary path, ACP launch args); absence is a quiet empty list, never a nag.",
|
|
531
|
+
"category": "acp",
|
|
532
|
+
"source": "builtin",
|
|
533
|
+
"access": "authenticated",
|
|
534
|
+
"transport": [
|
|
535
|
+
"ws"
|
|
536
|
+
],
|
|
537
|
+
"scopes": [
|
|
538
|
+
"read:fleet"
|
|
539
|
+
],
|
|
540
|
+
"outputSchema": {
|
|
541
|
+
"type": "object",
|
|
542
|
+
"properties": {
|
|
543
|
+
"agents": {
|
|
544
|
+
"type": "array",
|
|
545
|
+
"items": {
|
|
546
|
+
"type": "object",
|
|
547
|
+
"properties": {
|
|
548
|
+
"id": {
|
|
549
|
+
"type": "string"
|
|
550
|
+
},
|
|
551
|
+
"title": {
|
|
552
|
+
"type": "string"
|
|
553
|
+
},
|
|
554
|
+
"binaryPath": {
|
|
555
|
+
"type": "string"
|
|
556
|
+
},
|
|
557
|
+
"args": {
|
|
558
|
+
"type": "array",
|
|
559
|
+
"items": {
|
|
560
|
+
"type": "string"
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
"required": [
|
|
565
|
+
"id",
|
|
566
|
+
"title",
|
|
567
|
+
"binaryPath",
|
|
568
|
+
"args"
|
|
569
|
+
],
|
|
570
|
+
"additionalProperties": false
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
"required": [
|
|
575
|
+
"agents"
|
|
576
|
+
],
|
|
577
|
+
"additionalProperties": false
|
|
578
|
+
},
|
|
579
|
+
"invokable": true
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"id": "acp.sessions.create",
|
|
583
|
+
"title": "Spawn a Third-Party Coding Agent Session",
|
|
584
|
+
"description": "Spawn a discovered third-party agent into a working directory as a hosted daemon session in ONE act: the binary is launched in ACP stdio mode, the handshake and session creation run under a bound timeout, and the result is the hosted record — which appears as a steerable/stoppable fleet row (kind acp-agent) whose permission asks classify as waiting-on-human. A binary that fails the handshake returns the SAME record with state \"failed\" and a structured error (which binary, which stage, what happened) — an honest outcome, never a hung row and never a bare string. An optional initial prompt starts the first turn.",
|
|
585
|
+
"category": "acp",
|
|
586
|
+
"source": "builtin",
|
|
587
|
+
"access": "authenticated",
|
|
588
|
+
"transport": [
|
|
589
|
+
"ws"
|
|
590
|
+
],
|
|
591
|
+
"scopes": [
|
|
592
|
+
"write:fleet"
|
|
593
|
+
],
|
|
594
|
+
"inputSchema": {
|
|
595
|
+
"type": "object",
|
|
596
|
+
"properties": {
|
|
597
|
+
"agentId": {
|
|
598
|
+
"type": "string"
|
|
599
|
+
},
|
|
600
|
+
"cwd": {
|
|
601
|
+
"type": "string"
|
|
602
|
+
},
|
|
603
|
+
"title": {
|
|
604
|
+
"type": "string"
|
|
605
|
+
},
|
|
606
|
+
"prompt": {
|
|
607
|
+
"type": "string"
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
"required": [
|
|
611
|
+
"agentId",
|
|
612
|
+
"cwd"
|
|
613
|
+
],
|
|
614
|
+
"additionalProperties": false
|
|
615
|
+
},
|
|
616
|
+
"outputSchema": {
|
|
617
|
+
"type": "object",
|
|
618
|
+
"properties": {
|
|
619
|
+
"hosted": {
|
|
620
|
+
"type": "object",
|
|
621
|
+
"properties": {
|
|
622
|
+
"id": {
|
|
623
|
+
"type": "string"
|
|
624
|
+
},
|
|
625
|
+
"agentId": {
|
|
626
|
+
"type": "string"
|
|
627
|
+
},
|
|
628
|
+
"title": {
|
|
629
|
+
"type": "string"
|
|
630
|
+
},
|
|
631
|
+
"binaryPath": {
|
|
632
|
+
"type": "string"
|
|
633
|
+
},
|
|
634
|
+
"cwd": {
|
|
635
|
+
"type": "string"
|
|
636
|
+
},
|
|
637
|
+
"state": {
|
|
638
|
+
"type": "string"
|
|
639
|
+
},
|
|
640
|
+
"startedAt": {
|
|
641
|
+
"type": "number"
|
|
642
|
+
},
|
|
643
|
+
"completedAt": {
|
|
644
|
+
"type": "number"
|
|
645
|
+
},
|
|
646
|
+
"sessionId": {
|
|
647
|
+
"type": "string"
|
|
648
|
+
},
|
|
649
|
+
"progress": {
|
|
650
|
+
"type": "string"
|
|
651
|
+
},
|
|
652
|
+
"pendingPermission": {
|
|
653
|
+
"type": "string"
|
|
654
|
+
},
|
|
655
|
+
"error": {
|
|
656
|
+
"type": "object",
|
|
657
|
+
"properties": {
|
|
658
|
+
"binary": {
|
|
659
|
+
"type": "string"
|
|
660
|
+
},
|
|
661
|
+
"stage": {
|
|
662
|
+
"type": "string"
|
|
663
|
+
},
|
|
664
|
+
"message": {
|
|
665
|
+
"type": "string"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"required": [
|
|
669
|
+
"binary",
|
|
670
|
+
"stage",
|
|
671
|
+
"message"
|
|
672
|
+
],
|
|
673
|
+
"additionalProperties": false
|
|
674
|
+
},
|
|
675
|
+
"promptCount": {
|
|
676
|
+
"type": "number"
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
"required": [
|
|
680
|
+
"id",
|
|
681
|
+
"agentId",
|
|
682
|
+
"title",
|
|
683
|
+
"binaryPath",
|
|
684
|
+
"cwd",
|
|
685
|
+
"state",
|
|
686
|
+
"startedAt",
|
|
687
|
+
"promptCount"
|
|
688
|
+
],
|
|
689
|
+
"additionalProperties": false
|
|
690
|
+
},
|
|
691
|
+
"started": {
|
|
692
|
+
"type": "boolean"
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
"required": [
|
|
696
|
+
"hosted",
|
|
697
|
+
"started"
|
|
698
|
+
],
|
|
699
|
+
"additionalProperties": false
|
|
700
|
+
},
|
|
701
|
+
"invokable": true
|
|
702
|
+
},
|
|
527
703
|
{
|
|
528
704
|
"id": "approvals.approve",
|
|
529
705
|
"title": "Approve Approval",
|
|
@@ -4134,7 +4310,8 @@
|
|
|
4134
4310
|
"running",
|
|
4135
4311
|
"completed",
|
|
4136
4312
|
"failed",
|
|
4137
|
-
"cancelled"
|
|
4313
|
+
"cancelled",
|
|
4314
|
+
"missed"
|
|
4138
4315
|
]
|
|
4139
4316
|
},
|
|
4140
4317
|
"agentId": {
|
|
@@ -8992,7 +9169,8 @@
|
|
|
8992
9169
|
"running",
|
|
8993
9170
|
"completed",
|
|
8994
9171
|
"failed",
|
|
8995
|
-
"cancelled"
|
|
9172
|
+
"cancelled",
|
|
9173
|
+
"missed"
|
|
8996
9174
|
]
|
|
8997
9175
|
},
|
|
8998
9176
|
"agentId": {
|
|
@@ -9982,7 +10160,8 @@
|
|
|
9982
10160
|
"running",
|
|
9983
10161
|
"completed",
|
|
9984
10162
|
"failed",
|
|
9985
|
-
"cancelled"
|
|
10163
|
+
"cancelled",
|
|
10164
|
+
"missed"
|
|
9986
10165
|
]
|
|
9987
10166
|
},
|
|
9988
10167
|
"agentId": {
|
|
@@ -11013,7 +11192,7 @@
|
|
|
11013
11192
|
{
|
|
11014
11193
|
"id": "automation.runs.list",
|
|
11015
11194
|
"title": "List Automation Runs",
|
|
11016
|
-
"description": "Return automation run history. Without ?limit/?cursor returns { runs: [...] } (backward compatible). With ?limit=N (1–500, default 100) and optional ?cursor=<opaque> returns a PaginatedResponse envelope { items, hasMore, nextCursor? }. Invalid cursors return HTTP 400.",
|
|
11195
|
+
"description": "Return automation run history. Without ?limit/?cursor returns { runs: [...] } (backward compatible). With ?limit=N (1–500, default 100) and optional ?cursor=<opaque> returns a PaginatedResponse envelope { items, hasMore, nextCursor? }. Invalid cursors return HTTP 400. Optional ?since=<epoch-ms> returns only runs active on or after that time (by queuedAt, or endedAt when set) — the host-side source an away-digest reads to report the failed, missed, completed, and delivered runs since the operator was last present.",
|
|
11017
11196
|
"category": "automation",
|
|
11018
11197
|
"source": "builtin",
|
|
11019
11198
|
"access": "authenticated",
|
|
@@ -11036,6 +11215,9 @@
|
|
|
11036
11215
|
},
|
|
11037
11216
|
"cursor": {
|
|
11038
11217
|
"type": "string"
|
|
11218
|
+
},
|
|
11219
|
+
"since": {
|
|
11220
|
+
"type": "number"
|
|
11039
11221
|
}
|
|
11040
11222
|
},
|
|
11041
11223
|
"additionalProperties": false
|
|
@@ -11073,7 +11255,8 @@
|
|
|
11073
11255
|
"running",
|
|
11074
11256
|
"completed",
|
|
11075
11257
|
"failed",
|
|
11076
|
-
"cancelled"
|
|
11258
|
+
"cancelled",
|
|
11259
|
+
"missed"
|
|
11077
11260
|
]
|
|
11078
11261
|
},
|
|
11079
11262
|
"agentId": {
|
|
@@ -12064,7 +12247,8 @@
|
|
|
12064
12247
|
"running",
|
|
12065
12248
|
"completed",
|
|
12066
12249
|
"failed",
|
|
12067
|
-
"cancelled"
|
|
12250
|
+
"cancelled",
|
|
12251
|
+
"missed"
|
|
12068
12252
|
]
|
|
12069
12253
|
},
|
|
12070
12254
|
"agentId": {
|
|
@@ -15142,7 +15326,8 @@
|
|
|
15142
15326
|
"running",
|
|
15143
15327
|
"completed",
|
|
15144
15328
|
"failed",
|
|
15145
|
-
"cancelled"
|
|
15329
|
+
"cancelled",
|
|
15330
|
+
"missed"
|
|
15146
15331
|
]
|
|
15147
15332
|
},
|
|
15148
15333
|
"agentId": {
|
|
@@ -29658,6 +29843,8 @@
|
|
|
29658
29843
|
"workstream",
|
|
29659
29844
|
"phase",
|
|
29660
29845
|
"work-item",
|
|
29846
|
+
"acp-agent",
|
|
29847
|
+
"observed-external",
|
|
29661
29848
|
"code-index"
|
|
29662
29849
|
]
|
|
29663
29850
|
},
|
|
@@ -29835,7 +30022,9 @@
|
|
|
29835
30022
|
"type": "string",
|
|
29836
30023
|
"enum": [
|
|
29837
30024
|
"approval",
|
|
29838
|
-
"input"
|
|
30025
|
+
"input",
|
|
30026
|
+
"pick",
|
|
30027
|
+
"conflict"
|
|
29839
30028
|
]
|
|
29840
30029
|
},
|
|
29841
30030
|
"detail": {
|
|
@@ -29858,6 +30047,133 @@
|
|
|
29858
30047
|
}
|
|
29859
30048
|
},
|
|
29860
30049
|
"additionalProperties": false
|
|
30050
|
+
},
|
|
30051
|
+
"review": {
|
|
30052
|
+
"type": "object",
|
|
30053
|
+
"properties": {
|
|
30054
|
+
"score": {
|
|
30055
|
+
"type": "number"
|
|
30056
|
+
},
|
|
30057
|
+
"passed": {
|
|
30058
|
+
"type": "boolean"
|
|
30059
|
+
},
|
|
30060
|
+
"cycles": {
|
|
30061
|
+
"type": "number"
|
|
30062
|
+
},
|
|
30063
|
+
"checklist": {
|
|
30064
|
+
"type": "array",
|
|
30065
|
+
"items": {
|
|
30066
|
+
"type": "object",
|
|
30067
|
+
"properties": {
|
|
30068
|
+
"item": {
|
|
30069
|
+
"type": "string"
|
|
30070
|
+
},
|
|
30071
|
+
"verified": {
|
|
30072
|
+
"type": "boolean"
|
|
30073
|
+
},
|
|
30074
|
+
"evidence": {
|
|
30075
|
+
"type": "string"
|
|
30076
|
+
},
|
|
30077
|
+
"howExercised": {
|
|
30078
|
+
"type": "string"
|
|
30079
|
+
}
|
|
30080
|
+
},
|
|
30081
|
+
"required": [
|
|
30082
|
+
"item",
|
|
30083
|
+
"verified",
|
|
30084
|
+
"evidence"
|
|
30085
|
+
],
|
|
30086
|
+
"additionalProperties": false
|
|
30087
|
+
}
|
|
30088
|
+
}
|
|
30089
|
+
},
|
|
30090
|
+
"required": [
|
|
30091
|
+
"score",
|
|
30092
|
+
"passed",
|
|
30093
|
+
"cycles",
|
|
30094
|
+
"checklist"
|
|
30095
|
+
],
|
|
30096
|
+
"additionalProperties": false
|
|
30097
|
+
},
|
|
30098
|
+
"observed": {
|
|
30099
|
+
"type": "object",
|
|
30100
|
+
"properties": {
|
|
30101
|
+
"externalKind": {
|
|
30102
|
+
"type": "string",
|
|
30103
|
+
"enum": [
|
|
30104
|
+
"claude-code",
|
|
30105
|
+
"codex",
|
|
30106
|
+
"opencode",
|
|
30107
|
+
"unknown"
|
|
30108
|
+
]
|
|
30109
|
+
},
|
|
30110
|
+
"pid": {
|
|
30111
|
+
"type": "number"
|
|
30112
|
+
},
|
|
30113
|
+
"cwd": {
|
|
30114
|
+
"type": "string"
|
|
30115
|
+
},
|
|
30116
|
+
"liveness": {
|
|
30117
|
+
"type": "object",
|
|
30118
|
+
"properties": {
|
|
30119
|
+
"state": {
|
|
30120
|
+
"type": "string",
|
|
30121
|
+
"enum": [
|
|
30122
|
+
"active",
|
|
30123
|
+
"quiet"
|
|
30124
|
+
]
|
|
30125
|
+
},
|
|
30126
|
+
"cpuSeconds": {
|
|
30127
|
+
"type": "number"
|
|
30128
|
+
},
|
|
30129
|
+
"detail": {
|
|
30130
|
+
"type": "string"
|
|
30131
|
+
}
|
|
30132
|
+
},
|
|
30133
|
+
"required": [
|
|
30134
|
+
"state",
|
|
30135
|
+
"cpuSeconds",
|
|
30136
|
+
"detail"
|
|
30137
|
+
],
|
|
30138
|
+
"additionalProperties": false
|
|
30139
|
+
},
|
|
30140
|
+
"steer": {
|
|
30141
|
+
"type": "object",
|
|
30142
|
+
"properties": {
|
|
30143
|
+
"kind": {
|
|
30144
|
+
"type": "string",
|
|
30145
|
+
"enum": [
|
|
30146
|
+
"tmux",
|
|
30147
|
+
"none"
|
|
30148
|
+
]
|
|
30149
|
+
},
|
|
30150
|
+
"paneId": {
|
|
30151
|
+
"type": "string"
|
|
30152
|
+
},
|
|
30153
|
+
"tty": {
|
|
30154
|
+
"type": "string"
|
|
30155
|
+
},
|
|
30156
|
+
"reason": {
|
|
30157
|
+
"type": "string"
|
|
30158
|
+
}
|
|
30159
|
+
},
|
|
30160
|
+
"required": [
|
|
30161
|
+
"kind"
|
|
30162
|
+
],
|
|
30163
|
+
"additionalProperties": false
|
|
30164
|
+
},
|
|
30165
|
+
"steerDrillInOnly": {
|
|
30166
|
+
"type": "boolean"
|
|
30167
|
+
}
|
|
30168
|
+
},
|
|
30169
|
+
"required": [
|
|
30170
|
+
"externalKind",
|
|
30171
|
+
"pid",
|
|
30172
|
+
"liveness",
|
|
30173
|
+
"steer",
|
|
30174
|
+
"steerDrillInOnly"
|
|
30175
|
+
],
|
|
30176
|
+
"additionalProperties": false
|
|
29861
30177
|
}
|
|
29862
30178
|
},
|
|
29863
30179
|
"required": [
|
|
@@ -30289,6 +30605,9 @@
|
|
|
30289
30605
|
},
|
|
30290
30606
|
"winnerItemId": {
|
|
30291
30607
|
"type": "string"
|
|
30608
|
+
},
|
|
30609
|
+
"confirm": {
|
|
30610
|
+
"type": "boolean"
|
|
30292
30611
|
}
|
|
30293
30612
|
},
|
|
30294
30613
|
"required": [
|
|
@@ -30300,6 +30619,9 @@
|
|
|
30300
30619
|
"outputSchema": {
|
|
30301
30620
|
"type": "object",
|
|
30302
30621
|
"properties": {
|
|
30622
|
+
"applied": {
|
|
30623
|
+
"type": "boolean"
|
|
30624
|
+
},
|
|
30303
30625
|
"groupId": {
|
|
30304
30626
|
"type": "string"
|
|
30305
30627
|
},
|
|
@@ -30314,13 +30636,263 @@
|
|
|
30314
30636
|
},
|
|
30315
30637
|
"auto": {
|
|
30316
30638
|
"type": "boolean"
|
|
30639
|
+
},
|
|
30640
|
+
"requiresConfirm": {
|
|
30641
|
+
"type": "boolean"
|
|
30642
|
+
},
|
|
30643
|
+
"group": {
|
|
30644
|
+
"type": "object",
|
|
30645
|
+
"properties": {
|
|
30646
|
+
"groupId": {
|
|
30647
|
+
"type": "string"
|
|
30648
|
+
},
|
|
30649
|
+
"workstreamId": {
|
|
30650
|
+
"type": "string"
|
|
30651
|
+
},
|
|
30652
|
+
"sourceTitle": {
|
|
30653
|
+
"type": "string"
|
|
30654
|
+
},
|
|
30655
|
+
"ready": {
|
|
30656
|
+
"type": "boolean"
|
|
30657
|
+
},
|
|
30658
|
+
"candidates": {
|
|
30659
|
+
"type": "array",
|
|
30660
|
+
"items": {
|
|
30661
|
+
"type": "object",
|
|
30662
|
+
"properties": {
|
|
30663
|
+
"itemId": {
|
|
30664
|
+
"type": "string"
|
|
30665
|
+
},
|
|
30666
|
+
"attemptIndex": {
|
|
30667
|
+
"type": "number"
|
|
30668
|
+
},
|
|
30669
|
+
"state": {
|
|
30670
|
+
"type": "string",
|
|
30671
|
+
"enum": [
|
|
30672
|
+
"held-merge",
|
|
30673
|
+
"failed"
|
|
30674
|
+
]
|
|
30675
|
+
},
|
|
30676
|
+
"title": {
|
|
30677
|
+
"type": "string"
|
|
30678
|
+
},
|
|
30679
|
+
"worktreePath": {
|
|
30680
|
+
"anyOf": [
|
|
30681
|
+
{
|
|
30682
|
+
"type": "string"
|
|
30683
|
+
},
|
|
30684
|
+
{
|
|
30685
|
+
"type": "null"
|
|
30686
|
+
}
|
|
30687
|
+
]
|
|
30688
|
+
},
|
|
30689
|
+
"branch": {
|
|
30690
|
+
"anyOf": [
|
|
30691
|
+
{
|
|
30692
|
+
"type": "string"
|
|
30693
|
+
},
|
|
30694
|
+
{
|
|
30695
|
+
"type": "null"
|
|
30696
|
+
}
|
|
30697
|
+
]
|
|
30698
|
+
},
|
|
30699
|
+
"usage": {
|
|
30700
|
+
"type": "object",
|
|
30701
|
+
"properties": {
|
|
30702
|
+
"inputTokens": {
|
|
30703
|
+
"type": "number"
|
|
30704
|
+
},
|
|
30705
|
+
"outputTokens": {
|
|
30706
|
+
"type": "number"
|
|
30707
|
+
},
|
|
30708
|
+
"cacheReadTokens": {
|
|
30709
|
+
"type": "number"
|
|
30710
|
+
},
|
|
30711
|
+
"cacheWriteTokens": {
|
|
30712
|
+
"type": "number"
|
|
30713
|
+
},
|
|
30714
|
+
"reasoningTokens": {
|
|
30715
|
+
"type": "number"
|
|
30716
|
+
},
|
|
30717
|
+
"llmCallCount": {
|
|
30718
|
+
"type": "number"
|
|
30719
|
+
},
|
|
30720
|
+
"turnCount": {
|
|
30721
|
+
"type": "number"
|
|
30722
|
+
},
|
|
30723
|
+
"toolCallCount": {
|
|
30724
|
+
"type": "number"
|
|
30725
|
+
},
|
|
30726
|
+
"costUsd": {
|
|
30727
|
+
"anyOf": [
|
|
30728
|
+
{
|
|
30729
|
+
"type": "number"
|
|
30730
|
+
},
|
|
30731
|
+
{
|
|
30732
|
+
"type": "null"
|
|
30733
|
+
}
|
|
30734
|
+
]
|
|
30735
|
+
},
|
|
30736
|
+
"costState": {
|
|
30737
|
+
"type": "string",
|
|
30738
|
+
"enum": [
|
|
30739
|
+
"priced",
|
|
30740
|
+
"unpriced",
|
|
30741
|
+
"estimated"
|
|
30742
|
+
]
|
|
30743
|
+
},
|
|
30744
|
+
"costSource": {
|
|
30745
|
+
"type": "string",
|
|
30746
|
+
"enum": [
|
|
30747
|
+
"user",
|
|
30748
|
+
"provider",
|
|
30749
|
+
"catalog",
|
|
30750
|
+
"mixed"
|
|
30751
|
+
]
|
|
30752
|
+
},
|
|
30753
|
+
"pricingAsOf": {
|
|
30754
|
+
"type": "string"
|
|
30755
|
+
}
|
|
30756
|
+
},
|
|
30757
|
+
"required": [
|
|
30758
|
+
"inputTokens",
|
|
30759
|
+
"outputTokens",
|
|
30760
|
+
"cacheReadTokens",
|
|
30761
|
+
"cacheWriteTokens",
|
|
30762
|
+
"llmCallCount",
|
|
30763
|
+
"turnCount",
|
|
30764
|
+
"toolCallCount",
|
|
30765
|
+
"costUsd",
|
|
30766
|
+
"costState"
|
|
30767
|
+
],
|
|
30768
|
+
"additionalProperties": false
|
|
30769
|
+
},
|
|
30770
|
+
"failureReason": {
|
|
30771
|
+
"anyOf": [
|
|
30772
|
+
{
|
|
30773
|
+
"type": "string"
|
|
30774
|
+
},
|
|
30775
|
+
{
|
|
30776
|
+
"type": "null"
|
|
30777
|
+
}
|
|
30778
|
+
]
|
|
30779
|
+
},
|
|
30780
|
+
"diff": {
|
|
30781
|
+
"anyOf": [
|
|
30782
|
+
{
|
|
30783
|
+
"type": "object",
|
|
30784
|
+
"properties": {
|
|
30785
|
+
"files": {
|
|
30786
|
+
"type": "array",
|
|
30787
|
+
"items": {
|
|
30788
|
+
"type": "string"
|
|
30789
|
+
}
|
|
30790
|
+
},
|
|
30791
|
+
"unifiedDiff": {
|
|
30792
|
+
"type": "string"
|
|
30793
|
+
},
|
|
30794
|
+
"stat": {
|
|
30795
|
+
"type": "string"
|
|
30796
|
+
}
|
|
30797
|
+
},
|
|
30798
|
+
"required": [
|
|
30799
|
+
"files",
|
|
30800
|
+
"unifiedDiff",
|
|
30801
|
+
"stat"
|
|
30802
|
+
],
|
|
30803
|
+
"additionalProperties": false
|
|
30804
|
+
},
|
|
30805
|
+
{
|
|
30806
|
+
"type": "null"
|
|
30807
|
+
}
|
|
30808
|
+
]
|
|
30809
|
+
}
|
|
30810
|
+
},
|
|
30811
|
+
"required": [
|
|
30812
|
+
"itemId",
|
|
30813
|
+
"attemptIndex",
|
|
30814
|
+
"state",
|
|
30815
|
+
"title",
|
|
30816
|
+
"worktreePath",
|
|
30817
|
+
"branch",
|
|
30818
|
+
"usage",
|
|
30819
|
+
"failureReason",
|
|
30820
|
+
"diff"
|
|
30821
|
+
],
|
|
30822
|
+
"additionalProperties": false
|
|
30823
|
+
}
|
|
30824
|
+
},
|
|
30825
|
+
"autoAccept": {
|
|
30826
|
+
"type": "boolean"
|
|
30827
|
+
},
|
|
30828
|
+
"judgment": {
|
|
30829
|
+
"anyOf": [
|
|
30830
|
+
{
|
|
30831
|
+
"type": "object",
|
|
30832
|
+
"properties": {
|
|
30833
|
+
"proposedWinnerItemId": {
|
|
30834
|
+
"anyOf": [
|
|
30835
|
+
{
|
|
30836
|
+
"type": "string"
|
|
30837
|
+
},
|
|
30838
|
+
{
|
|
30839
|
+
"type": "null"
|
|
30840
|
+
}
|
|
30841
|
+
]
|
|
30842
|
+
},
|
|
30843
|
+
"reasons": {
|
|
30844
|
+
"type": "array",
|
|
30845
|
+
"items": {
|
|
30846
|
+
"type": "string"
|
|
30847
|
+
}
|
|
30848
|
+
},
|
|
30849
|
+
"model": {
|
|
30850
|
+
"anyOf": [
|
|
30851
|
+
{
|
|
30852
|
+
"type": "string"
|
|
30853
|
+
},
|
|
30854
|
+
{
|
|
30855
|
+
"type": "null"
|
|
30856
|
+
}
|
|
30857
|
+
]
|
|
30858
|
+
},
|
|
30859
|
+
"scoredBy": {
|
|
30860
|
+
"type": "string",
|
|
30861
|
+
"enum": [
|
|
30862
|
+
"model"
|
|
30863
|
+
]
|
|
30864
|
+
}
|
|
30865
|
+
},
|
|
30866
|
+
"required": [
|
|
30867
|
+
"proposedWinnerItemId",
|
|
30868
|
+
"reasons",
|
|
30869
|
+
"model",
|
|
30870
|
+
"scoredBy"
|
|
30871
|
+
],
|
|
30872
|
+
"additionalProperties": false
|
|
30873
|
+
},
|
|
30874
|
+
{
|
|
30875
|
+
"type": "null"
|
|
30876
|
+
}
|
|
30877
|
+
]
|
|
30878
|
+
}
|
|
30879
|
+
},
|
|
30880
|
+
"required": [
|
|
30881
|
+
"groupId",
|
|
30882
|
+
"workstreamId",
|
|
30883
|
+
"sourceTitle",
|
|
30884
|
+
"ready",
|
|
30885
|
+
"candidates",
|
|
30886
|
+
"autoAccept",
|
|
30887
|
+
"judgment"
|
|
30888
|
+
],
|
|
30889
|
+
"additionalProperties": false
|
|
30317
30890
|
}
|
|
30318
30891
|
},
|
|
30319
30892
|
"required": [
|
|
30893
|
+
"applied",
|
|
30320
30894
|
"groupId",
|
|
30321
|
-
"winnerItemId"
|
|
30322
|
-
"loserItemIds",
|
|
30323
|
-
"auto"
|
|
30895
|
+
"winnerItemId"
|
|
30324
30896
|
],
|
|
30325
30897
|
"additionalProperties": false
|
|
30326
30898
|
},
|
|
@@ -30328,9 +30900,9 @@
|
|
|
30328
30900
|
"invokable": true
|
|
30329
30901
|
},
|
|
30330
30902
|
{
|
|
30331
|
-
"id": "fleet.list",
|
|
30332
|
-
"title": "List
|
|
30333
|
-
"description": "
|
|
30903
|
+
"id": "fleet.conflicts.list",
|
|
30904
|
+
"title": "List Merge-Conflict Rows",
|
|
30905
|
+
"description": "Return every work item whose integration merge CONFLICTED and is waiting on a human: the kept worktree path, item branch, the STRUCTURED conflicting-file list, and the resolution session id once one was spawned. Optionally filtered to one workstream. Read-only.",
|
|
30334
30906
|
"category": "fleet",
|
|
30335
30907
|
"source": "builtin",
|
|
30336
30908
|
"access": "authenticated",
|
|
@@ -30343,22 +30915,7 @@
|
|
|
30343
30915
|
"inputSchema": {
|
|
30344
30916
|
"type": "object",
|
|
30345
30917
|
"properties": {
|
|
30346
|
-
"
|
|
30347
|
-
"type": "array",
|
|
30348
|
-
"items": {
|
|
30349
|
-
"type": "string"
|
|
30350
|
-
}
|
|
30351
|
-
},
|
|
30352
|
-
"states": {
|
|
30353
|
-
"type": "array",
|
|
30354
|
-
"items": {
|
|
30355
|
-
"type": "string"
|
|
30356
|
-
}
|
|
30357
|
-
},
|
|
30358
|
-
"limit": {
|
|
30359
|
-
"type": "number"
|
|
30360
|
-
},
|
|
30361
|
-
"cursor": {
|
|
30918
|
+
"workstreamId": {
|
|
30362
30919
|
"type": "string"
|
|
30363
30920
|
}
|
|
30364
30921
|
},
|
|
@@ -30367,59 +30924,365 @@
|
|
|
30367
30924
|
"outputSchema": {
|
|
30368
30925
|
"type": "object",
|
|
30369
30926
|
"properties": {
|
|
30370
|
-
"
|
|
30927
|
+
"conflicts": {
|
|
30371
30928
|
"type": "array",
|
|
30372
30929
|
"items": {
|
|
30373
30930
|
"type": "object",
|
|
30374
30931
|
"properties": {
|
|
30375
|
-
"
|
|
30932
|
+
"workstreamId": {
|
|
30376
30933
|
"type": "string"
|
|
30377
30934
|
},
|
|
30378
|
-
"
|
|
30379
|
-
"type": "string"
|
|
30380
|
-
"enum": [
|
|
30381
|
-
"agent",
|
|
30382
|
-
"wrfc-chain",
|
|
30383
|
-
"wrfc-subtask",
|
|
30384
|
-
"workflow",
|
|
30385
|
-
"trigger",
|
|
30386
|
-
"schedule",
|
|
30387
|
-
"watcher",
|
|
30388
|
-
"background-process",
|
|
30389
|
-
"workstream",
|
|
30390
|
-
"phase",
|
|
30391
|
-
"work-item",
|
|
30392
|
-
"code-index"
|
|
30393
|
-
]
|
|
30935
|
+
"itemId": {
|
|
30936
|
+
"type": "string"
|
|
30394
30937
|
},
|
|
30395
|
-
"
|
|
30938
|
+
"title": {
|
|
30396
30939
|
"type": "string"
|
|
30397
30940
|
},
|
|
30398
|
-
"
|
|
30941
|
+
"worktreePath": {
|
|
30399
30942
|
"type": "string"
|
|
30400
30943
|
},
|
|
30401
|
-
"
|
|
30944
|
+
"branch": {
|
|
30402
30945
|
"type": "string"
|
|
30403
30946
|
},
|
|
30404
|
-
"
|
|
30405
|
-
"type": "
|
|
30406
|
-
"
|
|
30407
|
-
"
|
|
30408
|
-
|
|
30409
|
-
"awaiting-approval",
|
|
30410
|
-
"streaming",
|
|
30411
|
-
"stalled",
|
|
30412
|
-
"retrying",
|
|
30413
|
-
"done",
|
|
30414
|
-
"failed",
|
|
30415
|
-
"killed",
|
|
30416
|
-
"interrupted",
|
|
30417
|
-
"idle",
|
|
30418
|
-
"queued",
|
|
30419
|
-
"paused"
|
|
30420
|
-
]
|
|
30947
|
+
"files": {
|
|
30948
|
+
"type": "array",
|
|
30949
|
+
"items": {
|
|
30950
|
+
"type": "string"
|
|
30951
|
+
}
|
|
30421
30952
|
},
|
|
30422
|
-
"
|
|
30953
|
+
"resolutionSessionId": {
|
|
30954
|
+
"type": "string"
|
|
30955
|
+
}
|
|
30956
|
+
},
|
|
30957
|
+
"required": [
|
|
30958
|
+
"workstreamId",
|
|
30959
|
+
"itemId",
|
|
30960
|
+
"title",
|
|
30961
|
+
"worktreePath",
|
|
30962
|
+
"files"
|
|
30963
|
+
],
|
|
30964
|
+
"additionalProperties": false
|
|
30965
|
+
}
|
|
30966
|
+
}
|
|
30967
|
+
},
|
|
30968
|
+
"required": [
|
|
30969
|
+
"conflicts"
|
|
30970
|
+
],
|
|
30971
|
+
"additionalProperties": false
|
|
30972
|
+
},
|
|
30973
|
+
"invokable": true
|
|
30974
|
+
},
|
|
30975
|
+
{
|
|
30976
|
+
"id": "fleet.conflicts.resolve",
|
|
30977
|
+
"title": "Spawn a Conflict-Resolution Session",
|
|
30978
|
+
"description": "The conflict row's one action: spawn a resolution session INSIDE the kept worktree, seeded with the structured conflict list and tree path (the same seeded-session machinery as the CI fix flow), and stamp the REAL session id back onto the item. When the resolution lands and the re-merge succeeds, the kept tree is reclaimed automatically. An item with no unresolved conflict is an honest 409.",
|
|
30979
|
+
"category": "fleet",
|
|
30980
|
+
"source": "builtin",
|
|
30981
|
+
"access": "authenticated",
|
|
30982
|
+
"transport": [
|
|
30983
|
+
"ws"
|
|
30984
|
+
],
|
|
30985
|
+
"scopes": [
|
|
30986
|
+
"write:fleet"
|
|
30987
|
+
],
|
|
30988
|
+
"inputSchema": {
|
|
30989
|
+
"type": "object",
|
|
30990
|
+
"properties": {
|
|
30991
|
+
"itemId": {
|
|
30992
|
+
"type": "string"
|
|
30993
|
+
}
|
|
30994
|
+
},
|
|
30995
|
+
"required": [
|
|
30996
|
+
"itemId"
|
|
30997
|
+
],
|
|
30998
|
+
"additionalProperties": false
|
|
30999
|
+
},
|
|
31000
|
+
"outputSchema": {
|
|
31001
|
+
"type": "object",
|
|
31002
|
+
"properties": {
|
|
31003
|
+
"itemId": {
|
|
31004
|
+
"type": "string"
|
|
31005
|
+
},
|
|
31006
|
+
"sessionId": {
|
|
31007
|
+
"type": "string"
|
|
31008
|
+
},
|
|
31009
|
+
"worktreePath": {
|
|
31010
|
+
"type": "string"
|
|
31011
|
+
},
|
|
31012
|
+
"files": {
|
|
31013
|
+
"type": "array",
|
|
31014
|
+
"items": {
|
|
31015
|
+
"type": "string"
|
|
31016
|
+
}
|
|
31017
|
+
}
|
|
31018
|
+
},
|
|
31019
|
+
"required": [
|
|
31020
|
+
"itemId",
|
|
31021
|
+
"sessionId",
|
|
31022
|
+
"worktreePath",
|
|
31023
|
+
"files"
|
|
31024
|
+
],
|
|
31025
|
+
"additionalProperties": false
|
|
31026
|
+
},
|
|
31027
|
+
"invokable": true
|
|
31028
|
+
},
|
|
31029
|
+
{
|
|
31030
|
+
"id": "fleet.graph.get",
|
|
31031
|
+
"title": "Get Workstream Task Graph",
|
|
31032
|
+
"description": "The dependency-graph view of one workstream: nodes (id, title, state, cluster, files, merge state, blocked reason, orphaned flag, deepest-remaining-path depth, stalled tell, agent), edges (from depends on to), and the elastic-pool state (ready/running counts, at-cap, cap key + size, any spawn refusal). Surfaces render the task graph under the chain from this — the fleet/observability idiom. 404 when the workstream is unknown to this daemon.",
|
|
31033
|
+
"category": "fleet",
|
|
31034
|
+
"source": "builtin",
|
|
31035
|
+
"access": "authenticated",
|
|
31036
|
+
"transport": [
|
|
31037
|
+
"http",
|
|
31038
|
+
"ws"
|
|
31039
|
+
],
|
|
31040
|
+
"scopes": [
|
|
31041
|
+
"read:fleet"
|
|
31042
|
+
],
|
|
31043
|
+
"http": {
|
|
31044
|
+
"method": "GET",
|
|
31045
|
+
"path": "/api/fleet/workstreams/{workstreamId}/graph"
|
|
31046
|
+
},
|
|
31047
|
+
"inputSchema": {
|
|
31048
|
+
"type": "object",
|
|
31049
|
+
"properties": {
|
|
31050
|
+
"workstreamId": {
|
|
31051
|
+
"type": "string"
|
|
31052
|
+
}
|
|
31053
|
+
},
|
|
31054
|
+
"required": [
|
|
31055
|
+
"workstreamId"
|
|
31056
|
+
],
|
|
31057
|
+
"additionalProperties": false
|
|
31058
|
+
},
|
|
31059
|
+
"outputSchema": {
|
|
31060
|
+
"type": "object",
|
|
31061
|
+
"properties": {
|
|
31062
|
+
"workstreamId": {
|
|
31063
|
+
"type": "string"
|
|
31064
|
+
},
|
|
31065
|
+
"title": {
|
|
31066
|
+
"type": "string"
|
|
31067
|
+
},
|
|
31068
|
+
"nodes": {
|
|
31069
|
+
"type": "array",
|
|
31070
|
+
"items": {
|
|
31071
|
+
"type": "object",
|
|
31072
|
+
"properties": {
|
|
31073
|
+
"id": {
|
|
31074
|
+
"type": "string"
|
|
31075
|
+
},
|
|
31076
|
+
"title": {
|
|
31077
|
+
"type": "string"
|
|
31078
|
+
},
|
|
31079
|
+
"state": {
|
|
31080
|
+
"type": "string"
|
|
31081
|
+
},
|
|
31082
|
+
"cluster": {
|
|
31083
|
+
"type": "string"
|
|
31084
|
+
},
|
|
31085
|
+
"files": {
|
|
31086
|
+
"type": "array",
|
|
31087
|
+
"items": {
|
|
31088
|
+
"type": "string"
|
|
31089
|
+
}
|
|
31090
|
+
},
|
|
31091
|
+
"mergeState": {
|
|
31092
|
+
"type": "string"
|
|
31093
|
+
},
|
|
31094
|
+
"blockedReason": {
|
|
31095
|
+
"type": "string"
|
|
31096
|
+
},
|
|
31097
|
+
"orphaned": {
|
|
31098
|
+
"type": "boolean"
|
|
31099
|
+
},
|
|
31100
|
+
"remainingDepth": {
|
|
31101
|
+
"type": "number"
|
|
31102
|
+
},
|
|
31103
|
+
"stalled": {
|
|
31104
|
+
"type": "boolean"
|
|
31105
|
+
},
|
|
31106
|
+
"agentId": {
|
|
31107
|
+
"type": "string"
|
|
31108
|
+
}
|
|
31109
|
+
},
|
|
31110
|
+
"required": [
|
|
31111
|
+
"id",
|
|
31112
|
+
"title",
|
|
31113
|
+
"state",
|
|
31114
|
+
"files",
|
|
31115
|
+
"orphaned",
|
|
31116
|
+
"remainingDepth",
|
|
31117
|
+
"stalled"
|
|
31118
|
+
],
|
|
31119
|
+
"additionalProperties": false
|
|
31120
|
+
}
|
|
31121
|
+
},
|
|
31122
|
+
"edges": {
|
|
31123
|
+
"type": "array",
|
|
31124
|
+
"items": {
|
|
31125
|
+
"type": "object",
|
|
31126
|
+
"properties": {
|
|
31127
|
+
"from": {
|
|
31128
|
+
"type": "string"
|
|
31129
|
+
},
|
|
31130
|
+
"to": {
|
|
31131
|
+
"type": "string"
|
|
31132
|
+
}
|
|
31133
|
+
},
|
|
31134
|
+
"required": [
|
|
31135
|
+
"from",
|
|
31136
|
+
"to"
|
|
31137
|
+
],
|
|
31138
|
+
"additionalProperties": false
|
|
31139
|
+
}
|
|
31140
|
+
},
|
|
31141
|
+
"pool": {
|
|
31142
|
+
"anyOf": [
|
|
31143
|
+
{
|
|
31144
|
+
"type": "object",
|
|
31145
|
+
"properties": {
|
|
31146
|
+
"ready": {
|
|
31147
|
+
"type": "number"
|
|
31148
|
+
},
|
|
31149
|
+
"running": {
|
|
31150
|
+
"type": "number"
|
|
31151
|
+
},
|
|
31152
|
+
"atCap": {
|
|
31153
|
+
"type": "boolean"
|
|
31154
|
+
},
|
|
31155
|
+
"capKey": {
|
|
31156
|
+
"type": "string"
|
|
31157
|
+
},
|
|
31158
|
+
"maxSize": {
|
|
31159
|
+
"type": "number"
|
|
31160
|
+
},
|
|
31161
|
+
"refusal": {
|
|
31162
|
+
"type": "string"
|
|
31163
|
+
}
|
|
31164
|
+
},
|
|
31165
|
+
"required": [
|
|
31166
|
+
"ready",
|
|
31167
|
+
"running",
|
|
31168
|
+
"atCap",
|
|
31169
|
+
"capKey",
|
|
31170
|
+
"maxSize"
|
|
31171
|
+
],
|
|
31172
|
+
"additionalProperties": false
|
|
31173
|
+
},
|
|
31174
|
+
{
|
|
31175
|
+
"type": "null"
|
|
31176
|
+
}
|
|
31177
|
+
]
|
|
31178
|
+
}
|
|
31179
|
+
},
|
|
31180
|
+
"required": [
|
|
31181
|
+
"workstreamId",
|
|
31182
|
+
"title",
|
|
31183
|
+
"nodes",
|
|
31184
|
+
"edges",
|
|
31185
|
+
"pool"
|
|
31186
|
+
],
|
|
31187
|
+
"additionalProperties": false
|
|
31188
|
+
},
|
|
31189
|
+
"invokable": true
|
|
31190
|
+
},
|
|
31191
|
+
{
|
|
31192
|
+
"id": "fleet.list",
|
|
31193
|
+
"title": "List Fleet Processes",
|
|
31194
|
+
"description": "Paginated, filtered (kinds/states) query over the live process registry. Cursor pagination returns disjoint pages that union to the full matching set at query time.",
|
|
31195
|
+
"category": "fleet",
|
|
31196
|
+
"source": "builtin",
|
|
31197
|
+
"access": "authenticated",
|
|
31198
|
+
"transport": [
|
|
31199
|
+
"ws"
|
|
31200
|
+
],
|
|
31201
|
+
"scopes": [
|
|
31202
|
+
"read:fleet"
|
|
31203
|
+
],
|
|
31204
|
+
"inputSchema": {
|
|
31205
|
+
"type": "object",
|
|
31206
|
+
"properties": {
|
|
31207
|
+
"kinds": {
|
|
31208
|
+
"type": "array",
|
|
31209
|
+
"items": {
|
|
31210
|
+
"type": "string"
|
|
31211
|
+
}
|
|
31212
|
+
},
|
|
31213
|
+
"states": {
|
|
31214
|
+
"type": "array",
|
|
31215
|
+
"items": {
|
|
31216
|
+
"type": "string"
|
|
31217
|
+
}
|
|
31218
|
+
},
|
|
31219
|
+
"limit": {
|
|
31220
|
+
"type": "number"
|
|
31221
|
+
},
|
|
31222
|
+
"cursor": {
|
|
31223
|
+
"type": "string"
|
|
31224
|
+
}
|
|
31225
|
+
},
|
|
31226
|
+
"additionalProperties": false
|
|
31227
|
+
},
|
|
31228
|
+
"outputSchema": {
|
|
31229
|
+
"type": "object",
|
|
31230
|
+
"properties": {
|
|
31231
|
+
"items": {
|
|
31232
|
+
"type": "array",
|
|
31233
|
+
"items": {
|
|
31234
|
+
"type": "object",
|
|
31235
|
+
"properties": {
|
|
31236
|
+
"id": {
|
|
31237
|
+
"type": "string"
|
|
31238
|
+
},
|
|
31239
|
+
"kind": {
|
|
31240
|
+
"type": "string",
|
|
31241
|
+
"enum": [
|
|
31242
|
+
"agent",
|
|
31243
|
+
"wrfc-chain",
|
|
31244
|
+
"wrfc-subtask",
|
|
31245
|
+
"workflow",
|
|
31246
|
+
"trigger",
|
|
31247
|
+
"schedule",
|
|
31248
|
+
"watcher",
|
|
31249
|
+
"background-process",
|
|
31250
|
+
"workstream",
|
|
31251
|
+
"phase",
|
|
31252
|
+
"work-item",
|
|
31253
|
+
"acp-agent",
|
|
31254
|
+
"observed-external",
|
|
31255
|
+
"code-index"
|
|
31256
|
+
]
|
|
31257
|
+
},
|
|
31258
|
+
"parentId": {
|
|
31259
|
+
"type": "string"
|
|
31260
|
+
},
|
|
31261
|
+
"label": {
|
|
31262
|
+
"type": "string"
|
|
31263
|
+
},
|
|
31264
|
+
"task": {
|
|
31265
|
+
"type": "string"
|
|
31266
|
+
},
|
|
31267
|
+
"state": {
|
|
31268
|
+
"type": "string",
|
|
31269
|
+
"enum": [
|
|
31270
|
+
"thinking",
|
|
31271
|
+
"executing-tool",
|
|
31272
|
+
"awaiting-approval",
|
|
31273
|
+
"streaming",
|
|
31274
|
+
"stalled",
|
|
31275
|
+
"retrying",
|
|
31276
|
+
"done",
|
|
31277
|
+
"failed",
|
|
31278
|
+
"killed",
|
|
31279
|
+
"interrupted",
|
|
31280
|
+
"idle",
|
|
31281
|
+
"queued",
|
|
31282
|
+
"paused"
|
|
31283
|
+
]
|
|
31284
|
+
},
|
|
31285
|
+
"startedAt": {
|
|
30423
31286
|
"type": "number"
|
|
30424
31287
|
},
|
|
30425
31288
|
"completedAt": {
|
|
@@ -30566,7 +31429,9 @@
|
|
|
30566
31429
|
"type": "string",
|
|
30567
31430
|
"enum": [
|
|
30568
31431
|
"approval",
|
|
30569
|
-
"input"
|
|
31432
|
+
"input",
|
|
31433
|
+
"pick",
|
|
31434
|
+
"conflict"
|
|
30570
31435
|
]
|
|
30571
31436
|
},
|
|
30572
31437
|
"detail": {
|
|
@@ -30589,6 +31454,133 @@
|
|
|
30589
31454
|
}
|
|
30590
31455
|
},
|
|
30591
31456
|
"additionalProperties": false
|
|
31457
|
+
},
|
|
31458
|
+
"review": {
|
|
31459
|
+
"type": "object",
|
|
31460
|
+
"properties": {
|
|
31461
|
+
"score": {
|
|
31462
|
+
"type": "number"
|
|
31463
|
+
},
|
|
31464
|
+
"passed": {
|
|
31465
|
+
"type": "boolean"
|
|
31466
|
+
},
|
|
31467
|
+
"cycles": {
|
|
31468
|
+
"type": "number"
|
|
31469
|
+
},
|
|
31470
|
+
"checklist": {
|
|
31471
|
+
"type": "array",
|
|
31472
|
+
"items": {
|
|
31473
|
+
"type": "object",
|
|
31474
|
+
"properties": {
|
|
31475
|
+
"item": {
|
|
31476
|
+
"type": "string"
|
|
31477
|
+
},
|
|
31478
|
+
"verified": {
|
|
31479
|
+
"type": "boolean"
|
|
31480
|
+
},
|
|
31481
|
+
"evidence": {
|
|
31482
|
+
"type": "string"
|
|
31483
|
+
},
|
|
31484
|
+
"howExercised": {
|
|
31485
|
+
"type": "string"
|
|
31486
|
+
}
|
|
31487
|
+
},
|
|
31488
|
+
"required": [
|
|
31489
|
+
"item",
|
|
31490
|
+
"verified",
|
|
31491
|
+
"evidence"
|
|
31492
|
+
],
|
|
31493
|
+
"additionalProperties": false
|
|
31494
|
+
}
|
|
31495
|
+
}
|
|
31496
|
+
},
|
|
31497
|
+
"required": [
|
|
31498
|
+
"score",
|
|
31499
|
+
"passed",
|
|
31500
|
+
"cycles",
|
|
31501
|
+
"checklist"
|
|
31502
|
+
],
|
|
31503
|
+
"additionalProperties": false
|
|
31504
|
+
},
|
|
31505
|
+
"observed": {
|
|
31506
|
+
"type": "object",
|
|
31507
|
+
"properties": {
|
|
31508
|
+
"externalKind": {
|
|
31509
|
+
"type": "string",
|
|
31510
|
+
"enum": [
|
|
31511
|
+
"claude-code",
|
|
31512
|
+
"codex",
|
|
31513
|
+
"opencode",
|
|
31514
|
+
"unknown"
|
|
31515
|
+
]
|
|
31516
|
+
},
|
|
31517
|
+
"pid": {
|
|
31518
|
+
"type": "number"
|
|
31519
|
+
},
|
|
31520
|
+
"cwd": {
|
|
31521
|
+
"type": "string"
|
|
31522
|
+
},
|
|
31523
|
+
"liveness": {
|
|
31524
|
+
"type": "object",
|
|
31525
|
+
"properties": {
|
|
31526
|
+
"state": {
|
|
31527
|
+
"type": "string",
|
|
31528
|
+
"enum": [
|
|
31529
|
+
"active",
|
|
31530
|
+
"quiet"
|
|
31531
|
+
]
|
|
31532
|
+
},
|
|
31533
|
+
"cpuSeconds": {
|
|
31534
|
+
"type": "number"
|
|
31535
|
+
},
|
|
31536
|
+
"detail": {
|
|
31537
|
+
"type": "string"
|
|
31538
|
+
}
|
|
31539
|
+
},
|
|
31540
|
+
"required": [
|
|
31541
|
+
"state",
|
|
31542
|
+
"cpuSeconds",
|
|
31543
|
+
"detail"
|
|
31544
|
+
],
|
|
31545
|
+
"additionalProperties": false
|
|
31546
|
+
},
|
|
31547
|
+
"steer": {
|
|
31548
|
+
"type": "object",
|
|
31549
|
+
"properties": {
|
|
31550
|
+
"kind": {
|
|
31551
|
+
"type": "string",
|
|
31552
|
+
"enum": [
|
|
31553
|
+
"tmux",
|
|
31554
|
+
"none"
|
|
31555
|
+
]
|
|
31556
|
+
},
|
|
31557
|
+
"paneId": {
|
|
31558
|
+
"type": "string"
|
|
31559
|
+
},
|
|
31560
|
+
"tty": {
|
|
31561
|
+
"type": "string"
|
|
31562
|
+
},
|
|
31563
|
+
"reason": {
|
|
31564
|
+
"type": "string"
|
|
31565
|
+
}
|
|
31566
|
+
},
|
|
31567
|
+
"required": [
|
|
31568
|
+
"kind"
|
|
31569
|
+
],
|
|
31570
|
+
"additionalProperties": false
|
|
31571
|
+
},
|
|
31572
|
+
"steerDrillInOnly": {
|
|
31573
|
+
"type": "boolean"
|
|
31574
|
+
}
|
|
31575
|
+
},
|
|
31576
|
+
"required": [
|
|
31577
|
+
"externalKind",
|
|
31578
|
+
"pid",
|
|
31579
|
+
"liveness",
|
|
31580
|
+
"steer",
|
|
31581
|
+
"steerDrillInOnly"
|
|
31582
|
+
],
|
|
31583
|
+
"additionalProperties": false
|
|
30592
31584
|
}
|
|
30593
31585
|
},
|
|
30594
31586
|
"required": [
|
|
@@ -30622,6 +31614,55 @@
|
|
|
30622
31614
|
},
|
|
30623
31615
|
"invokable": true
|
|
30624
31616
|
},
|
|
31617
|
+
{
|
|
31618
|
+
"id": "fleet.observed.steer",
|
|
31619
|
+
"title": "Steer an Observed Foreign Agent",
|
|
31620
|
+
"description": "Drill-in steer of an externally-launched coding-agent session goodvibes only OBSERVES (a Claude Code / Codex process it did not spawn or host). The steer rides the foreign session's own control channel — for a tmux-hosted session, the exact three-send recipe (message text, then two Enters) targeted at its pane. queued:false with an honest reason when the row exposes no channel (no controlling terminal / no tmux pane) or a send fails. STOP is never offered on an observed row — observing and steering is not owning the lifecycle. Weighted as a drill-in capability (see the node's observed.steerDrillInOnly), never a bulk affordance.",
|
|
31621
|
+
"category": "fleet",
|
|
31622
|
+
"source": "builtin",
|
|
31623
|
+
"access": "authenticated",
|
|
31624
|
+
"transport": [
|
|
31625
|
+
"ws"
|
|
31626
|
+
],
|
|
31627
|
+
"scopes": [
|
|
31628
|
+
"write:fleet"
|
|
31629
|
+
],
|
|
31630
|
+
"inputSchema": {
|
|
31631
|
+
"type": "object",
|
|
31632
|
+
"properties": {
|
|
31633
|
+
"id": {
|
|
31634
|
+
"type": "string"
|
|
31635
|
+
},
|
|
31636
|
+
"text": {
|
|
31637
|
+
"type": "string"
|
|
31638
|
+
}
|
|
31639
|
+
},
|
|
31640
|
+
"required": [
|
|
31641
|
+
"id",
|
|
31642
|
+
"text"
|
|
31643
|
+
],
|
|
31644
|
+
"additionalProperties": false
|
|
31645
|
+
},
|
|
31646
|
+
"outputSchema": {
|
|
31647
|
+
"type": "object",
|
|
31648
|
+
"properties": {
|
|
31649
|
+
"queued": {
|
|
31650
|
+
"type": "boolean"
|
|
31651
|
+
},
|
|
31652
|
+
"messageId": {
|
|
31653
|
+
"type": "string"
|
|
31654
|
+
},
|
|
31655
|
+
"reason": {
|
|
31656
|
+
"type": "string"
|
|
31657
|
+
}
|
|
31658
|
+
},
|
|
31659
|
+
"required": [
|
|
31660
|
+
"queued"
|
|
31661
|
+
],
|
|
31662
|
+
"additionalProperties": false
|
|
31663
|
+
},
|
|
31664
|
+
"invokable": true
|
|
31665
|
+
},
|
|
30625
31666
|
{
|
|
30626
31667
|
"id": "fleet.snapshot",
|
|
30627
31668
|
"title": "Fleet Snapshot",
|
|
@@ -30668,6 +31709,8 @@
|
|
|
30668
31709
|
"workstream",
|
|
30669
31710
|
"phase",
|
|
30670
31711
|
"work-item",
|
|
31712
|
+
"acp-agent",
|
|
31713
|
+
"observed-external",
|
|
30671
31714
|
"code-index"
|
|
30672
31715
|
]
|
|
30673
31716
|
},
|
|
@@ -30845,7 +31888,9 @@
|
|
|
30845
31888
|
"type": "string",
|
|
30846
31889
|
"enum": [
|
|
30847
31890
|
"approval",
|
|
30848
|
-
"input"
|
|
31891
|
+
"input",
|
|
31892
|
+
"pick",
|
|
31893
|
+
"conflict"
|
|
30849
31894
|
]
|
|
30850
31895
|
},
|
|
30851
31896
|
"detail": {
|
|
@@ -30868,6 +31913,133 @@
|
|
|
30868
31913
|
}
|
|
30869
31914
|
},
|
|
30870
31915
|
"additionalProperties": false
|
|
31916
|
+
},
|
|
31917
|
+
"review": {
|
|
31918
|
+
"type": "object",
|
|
31919
|
+
"properties": {
|
|
31920
|
+
"score": {
|
|
31921
|
+
"type": "number"
|
|
31922
|
+
},
|
|
31923
|
+
"passed": {
|
|
31924
|
+
"type": "boolean"
|
|
31925
|
+
},
|
|
31926
|
+
"cycles": {
|
|
31927
|
+
"type": "number"
|
|
31928
|
+
},
|
|
31929
|
+
"checklist": {
|
|
31930
|
+
"type": "array",
|
|
31931
|
+
"items": {
|
|
31932
|
+
"type": "object",
|
|
31933
|
+
"properties": {
|
|
31934
|
+
"item": {
|
|
31935
|
+
"type": "string"
|
|
31936
|
+
},
|
|
31937
|
+
"verified": {
|
|
31938
|
+
"type": "boolean"
|
|
31939
|
+
},
|
|
31940
|
+
"evidence": {
|
|
31941
|
+
"type": "string"
|
|
31942
|
+
},
|
|
31943
|
+
"howExercised": {
|
|
31944
|
+
"type": "string"
|
|
31945
|
+
}
|
|
31946
|
+
},
|
|
31947
|
+
"required": [
|
|
31948
|
+
"item",
|
|
31949
|
+
"verified",
|
|
31950
|
+
"evidence"
|
|
31951
|
+
],
|
|
31952
|
+
"additionalProperties": false
|
|
31953
|
+
}
|
|
31954
|
+
}
|
|
31955
|
+
},
|
|
31956
|
+
"required": [
|
|
31957
|
+
"score",
|
|
31958
|
+
"passed",
|
|
31959
|
+
"cycles",
|
|
31960
|
+
"checklist"
|
|
31961
|
+
],
|
|
31962
|
+
"additionalProperties": false
|
|
31963
|
+
},
|
|
31964
|
+
"observed": {
|
|
31965
|
+
"type": "object",
|
|
31966
|
+
"properties": {
|
|
31967
|
+
"externalKind": {
|
|
31968
|
+
"type": "string",
|
|
31969
|
+
"enum": [
|
|
31970
|
+
"claude-code",
|
|
31971
|
+
"codex",
|
|
31972
|
+
"opencode",
|
|
31973
|
+
"unknown"
|
|
31974
|
+
]
|
|
31975
|
+
},
|
|
31976
|
+
"pid": {
|
|
31977
|
+
"type": "number"
|
|
31978
|
+
},
|
|
31979
|
+
"cwd": {
|
|
31980
|
+
"type": "string"
|
|
31981
|
+
},
|
|
31982
|
+
"liveness": {
|
|
31983
|
+
"type": "object",
|
|
31984
|
+
"properties": {
|
|
31985
|
+
"state": {
|
|
31986
|
+
"type": "string",
|
|
31987
|
+
"enum": [
|
|
31988
|
+
"active",
|
|
31989
|
+
"quiet"
|
|
31990
|
+
]
|
|
31991
|
+
},
|
|
31992
|
+
"cpuSeconds": {
|
|
31993
|
+
"type": "number"
|
|
31994
|
+
},
|
|
31995
|
+
"detail": {
|
|
31996
|
+
"type": "string"
|
|
31997
|
+
}
|
|
31998
|
+
},
|
|
31999
|
+
"required": [
|
|
32000
|
+
"state",
|
|
32001
|
+
"cpuSeconds",
|
|
32002
|
+
"detail"
|
|
32003
|
+
],
|
|
32004
|
+
"additionalProperties": false
|
|
32005
|
+
},
|
|
32006
|
+
"steer": {
|
|
32007
|
+
"type": "object",
|
|
32008
|
+
"properties": {
|
|
32009
|
+
"kind": {
|
|
32010
|
+
"type": "string",
|
|
32011
|
+
"enum": [
|
|
32012
|
+
"tmux",
|
|
32013
|
+
"none"
|
|
32014
|
+
]
|
|
32015
|
+
},
|
|
32016
|
+
"paneId": {
|
|
32017
|
+
"type": "string"
|
|
32018
|
+
},
|
|
32019
|
+
"tty": {
|
|
32020
|
+
"type": "string"
|
|
32021
|
+
},
|
|
32022
|
+
"reason": {
|
|
32023
|
+
"type": "string"
|
|
32024
|
+
}
|
|
32025
|
+
},
|
|
32026
|
+
"required": [
|
|
32027
|
+
"kind"
|
|
32028
|
+
],
|
|
32029
|
+
"additionalProperties": false
|
|
32030
|
+
},
|
|
32031
|
+
"steerDrillInOnly": {
|
|
32032
|
+
"type": "boolean"
|
|
32033
|
+
}
|
|
32034
|
+
},
|
|
32035
|
+
"required": [
|
|
32036
|
+
"externalKind",
|
|
32037
|
+
"pid",
|
|
32038
|
+
"liveness",
|
|
32039
|
+
"steer",
|
|
32040
|
+
"steerDrillInOnly"
|
|
32041
|
+
],
|
|
32042
|
+
"additionalProperties": false
|
|
30871
32043
|
}
|
|
30872
32044
|
},
|
|
30873
32045
|
"required": [
|
|
@@ -31249,6 +32421,867 @@
|
|
|
31249
32421
|
},
|
|
31250
32422
|
"invokable": true
|
|
31251
32423
|
},
|
|
32424
|
+
{
|
|
32425
|
+
"id": "ops.memory.get",
|
|
32426
|
+
"title": "Get Memory Governance State",
|
|
32427
|
+
"description": "The MemoryGovernor snapshot: the current memory-pressure tier and budget, resident set size and heap, per-cache footprints the governor can shrink, which deferrable background jobs are paused, and the leak-tripwire state. Read-only observability so operators can see the daemon shedding memory before it approaches OOM.",
|
|
32428
|
+
"category": "health",
|
|
32429
|
+
"source": "builtin",
|
|
32430
|
+
"access": "authenticated",
|
|
32431
|
+
"transport": [
|
|
32432
|
+
"http",
|
|
32433
|
+
"ws"
|
|
32434
|
+
],
|
|
32435
|
+
"scopes": [
|
|
32436
|
+
"read:health"
|
|
32437
|
+
],
|
|
32438
|
+
"http": {
|
|
32439
|
+
"method": "GET",
|
|
32440
|
+
"path": "/api/ops/memory"
|
|
32441
|
+
},
|
|
32442
|
+
"inputSchema": {
|
|
32443
|
+
"type": "object",
|
|
32444
|
+
"properties": {},
|
|
32445
|
+
"additionalProperties": false
|
|
32446
|
+
},
|
|
32447
|
+
"outputSchema": {
|
|
32448
|
+
"type": "object",
|
|
32449
|
+
"properties": {
|
|
32450
|
+
"tier": {
|
|
32451
|
+
"type": "string",
|
|
32452
|
+
"enum": [
|
|
32453
|
+
"normal",
|
|
32454
|
+
"elevated",
|
|
32455
|
+
"high",
|
|
32456
|
+
"critical"
|
|
32457
|
+
]
|
|
32458
|
+
},
|
|
32459
|
+
"budgetMb": {
|
|
32460
|
+
"type": "number"
|
|
32461
|
+
},
|
|
32462
|
+
"rssMb": {
|
|
32463
|
+
"type": "number"
|
|
32464
|
+
},
|
|
32465
|
+
"heapUsedMb": {
|
|
32466
|
+
"type": "number"
|
|
32467
|
+
},
|
|
32468
|
+
"heapTotalMb": {
|
|
32469
|
+
"type": "number"
|
|
32470
|
+
},
|
|
32471
|
+
"usedPct": {
|
|
32472
|
+
"type": "number"
|
|
32473
|
+
},
|
|
32474
|
+
"refusingExpensiveWork": {
|
|
32475
|
+
"type": "boolean"
|
|
32476
|
+
},
|
|
32477
|
+
"caches": {
|
|
32478
|
+
"type": "array",
|
|
32479
|
+
"items": {
|
|
32480
|
+
"type": "object",
|
|
32481
|
+
"properties": {
|
|
32482
|
+
"id": {
|
|
32483
|
+
"type": "string"
|
|
32484
|
+
},
|
|
32485
|
+
"name": {
|
|
32486
|
+
"type": "string"
|
|
32487
|
+
},
|
|
32488
|
+
"entries": {
|
|
32489
|
+
"type": "number"
|
|
32490
|
+
},
|
|
32491
|
+
"estimatedBytes": {
|
|
32492
|
+
"type": "number"
|
|
32493
|
+
}
|
|
32494
|
+
},
|
|
32495
|
+
"required": [
|
|
32496
|
+
"id",
|
|
32497
|
+
"name",
|
|
32498
|
+
"entries"
|
|
32499
|
+
],
|
|
32500
|
+
"additionalProperties": false
|
|
32501
|
+
}
|
|
32502
|
+
},
|
|
32503
|
+
"pausedJobs": {
|
|
32504
|
+
"type": "array",
|
|
32505
|
+
"items": {
|
|
32506
|
+
"type": "string"
|
|
32507
|
+
}
|
|
32508
|
+
},
|
|
32509
|
+
"tripwire": {
|
|
32510
|
+
"type": "object",
|
|
32511
|
+
"properties": {
|
|
32512
|
+
"armed": {
|
|
32513
|
+
"type": "boolean"
|
|
32514
|
+
},
|
|
32515
|
+
"sustainedSec": {
|
|
32516
|
+
"type": "number"
|
|
32517
|
+
},
|
|
32518
|
+
"rateMbPerSec": {
|
|
32519
|
+
"type": "number"
|
|
32520
|
+
}
|
|
32521
|
+
},
|
|
32522
|
+
"required": [
|
|
32523
|
+
"armed",
|
|
32524
|
+
"sustainedSec",
|
|
32525
|
+
"rateMbPerSec"
|
|
32526
|
+
],
|
|
32527
|
+
"additionalProperties": false
|
|
32528
|
+
},
|
|
32529
|
+
"thresholds": {
|
|
32530
|
+
"type": "object",
|
|
32531
|
+
"properties": {
|
|
32532
|
+
"elevatedPct": {
|
|
32533
|
+
"type": "number"
|
|
32534
|
+
},
|
|
32535
|
+
"highPct": {
|
|
32536
|
+
"type": "number"
|
|
32537
|
+
},
|
|
32538
|
+
"criticalPct": {
|
|
32539
|
+
"type": "number"
|
|
32540
|
+
}
|
|
32541
|
+
},
|
|
32542
|
+
"required": [
|
|
32543
|
+
"elevatedPct",
|
|
32544
|
+
"highPct",
|
|
32545
|
+
"criticalPct"
|
|
32546
|
+
],
|
|
32547
|
+
"additionalProperties": false
|
|
32548
|
+
}
|
|
32549
|
+
},
|
|
32550
|
+
"required": [
|
|
32551
|
+
"tier",
|
|
32552
|
+
"budgetMb",
|
|
32553
|
+
"rssMb",
|
|
32554
|
+
"heapUsedMb",
|
|
32555
|
+
"usedPct",
|
|
32556
|
+
"refusingExpensiveWork",
|
|
32557
|
+
"caches",
|
|
32558
|
+
"pausedJobs",
|
|
32559
|
+
"tripwire",
|
|
32560
|
+
"thresholds"
|
|
32561
|
+
],
|
|
32562
|
+
"additionalProperties": false
|
|
32563
|
+
},
|
|
32564
|
+
"invokable": true
|
|
32565
|
+
},
|
|
32566
|
+
{
|
|
32567
|
+
"id": "power.keepAwake.set",
|
|
32568
|
+
"title": "Set the Owner Keep-Awake Toggle",
|
|
32569
|
+
"description": "Turn the owner keep-awake toggle on or off: a daemon-held sleep inhibitor INDEPENDENT of work state, surviving surface closes, persisted as power.keepAwake. Covers idle + sleep + lid-switch classes where grantable; the returned state names any refused class honestly. No timers, no AC-only sub-options — the always-visible chip is the safety mechanism. Emits runtime.ops OPS_POWER_STATE_CHANGED so every attached surface updates its chip.",
|
|
32570
|
+
"category": "health",
|
|
32571
|
+
"source": "builtin",
|
|
32572
|
+
"access": "authenticated",
|
|
32573
|
+
"transport": [
|
|
32574
|
+
"http",
|
|
32575
|
+
"ws"
|
|
32576
|
+
],
|
|
32577
|
+
"scopes": [
|
|
32578
|
+
"write:config"
|
|
32579
|
+
],
|
|
32580
|
+
"http": {
|
|
32581
|
+
"method": "POST",
|
|
32582
|
+
"path": "/api/power/keep-awake"
|
|
32583
|
+
},
|
|
32584
|
+
"events": [
|
|
32585
|
+
"runtime.ops"
|
|
32586
|
+
],
|
|
32587
|
+
"inputSchema": {
|
|
32588
|
+
"type": "object",
|
|
32589
|
+
"properties": {
|
|
32590
|
+
"enabled": {
|
|
32591
|
+
"type": "boolean"
|
|
32592
|
+
}
|
|
32593
|
+
},
|
|
32594
|
+
"required": [
|
|
32595
|
+
"enabled"
|
|
32596
|
+
],
|
|
32597
|
+
"additionalProperties": false
|
|
32598
|
+
},
|
|
32599
|
+
"outputSchema": {
|
|
32600
|
+
"type": "object",
|
|
32601
|
+
"properties": {
|
|
32602
|
+
"platform": {
|
|
32603
|
+
"type": "string"
|
|
32604
|
+
},
|
|
32605
|
+
"work": {
|
|
32606
|
+
"type": "object",
|
|
32607
|
+
"properties": {
|
|
32608
|
+
"held": {
|
|
32609
|
+
"type": "boolean"
|
|
32610
|
+
},
|
|
32611
|
+
"grantedClasses": {
|
|
32612
|
+
"type": "array",
|
|
32613
|
+
"items": {
|
|
32614
|
+
"type": "string",
|
|
32615
|
+
"enum": [
|
|
32616
|
+
"handle-lid-switch",
|
|
32617
|
+
"idle",
|
|
32618
|
+
"sleep"
|
|
32619
|
+
]
|
|
32620
|
+
}
|
|
32621
|
+
},
|
|
32622
|
+
"deniedClasses": {
|
|
32623
|
+
"type": "array",
|
|
32624
|
+
"items": {
|
|
32625
|
+
"type": "string",
|
|
32626
|
+
"enum": [
|
|
32627
|
+
"handle-lid-switch",
|
|
32628
|
+
"idle",
|
|
32629
|
+
"sleep"
|
|
32630
|
+
]
|
|
32631
|
+
}
|
|
32632
|
+
},
|
|
32633
|
+
"reasons": {
|
|
32634
|
+
"type": "array",
|
|
32635
|
+
"items": {
|
|
32636
|
+
"type": "string"
|
|
32637
|
+
}
|
|
32638
|
+
},
|
|
32639
|
+
"heldSince": {
|
|
32640
|
+
"anyOf": [
|
|
32641
|
+
{
|
|
32642
|
+
"type": "number"
|
|
32643
|
+
},
|
|
32644
|
+
{
|
|
32645
|
+
"type": "null"
|
|
32646
|
+
}
|
|
32647
|
+
]
|
|
32648
|
+
},
|
|
32649
|
+
"capMinutes": {
|
|
32650
|
+
"type": "number"
|
|
32651
|
+
},
|
|
32652
|
+
"capExpiresAt": {
|
|
32653
|
+
"anyOf": [
|
|
32654
|
+
{
|
|
32655
|
+
"type": "number"
|
|
32656
|
+
},
|
|
32657
|
+
{
|
|
32658
|
+
"type": "null"
|
|
32659
|
+
}
|
|
32660
|
+
]
|
|
32661
|
+
},
|
|
32662
|
+
"capExpired": {
|
|
32663
|
+
"type": "boolean"
|
|
32664
|
+
}
|
|
32665
|
+
},
|
|
32666
|
+
"required": [
|
|
32667
|
+
"held",
|
|
32668
|
+
"grantedClasses",
|
|
32669
|
+
"deniedClasses",
|
|
32670
|
+
"reasons",
|
|
32671
|
+
"heldSince",
|
|
32672
|
+
"capMinutes",
|
|
32673
|
+
"capExpiresAt",
|
|
32674
|
+
"capExpired"
|
|
32675
|
+
],
|
|
32676
|
+
"additionalProperties": false
|
|
32677
|
+
},
|
|
32678
|
+
"keepAwake": {
|
|
32679
|
+
"type": "object",
|
|
32680
|
+
"properties": {
|
|
32681
|
+
"enabled": {
|
|
32682
|
+
"type": "boolean"
|
|
32683
|
+
},
|
|
32684
|
+
"held": {
|
|
32685
|
+
"type": "boolean"
|
|
32686
|
+
},
|
|
32687
|
+
"grantedClasses": {
|
|
32688
|
+
"type": "array",
|
|
32689
|
+
"items": {
|
|
32690
|
+
"type": "string",
|
|
32691
|
+
"enum": [
|
|
32692
|
+
"handle-lid-switch",
|
|
32693
|
+
"idle",
|
|
32694
|
+
"sleep"
|
|
32695
|
+
]
|
|
32696
|
+
}
|
|
32697
|
+
},
|
|
32698
|
+
"deniedClasses": {
|
|
32699
|
+
"type": "array",
|
|
32700
|
+
"items": {
|
|
32701
|
+
"type": "string",
|
|
32702
|
+
"enum": [
|
|
32703
|
+
"handle-lid-switch",
|
|
32704
|
+
"idle",
|
|
32705
|
+
"sleep"
|
|
32706
|
+
]
|
|
32707
|
+
}
|
|
32708
|
+
},
|
|
32709
|
+
"note": {
|
|
32710
|
+
"anyOf": [
|
|
32711
|
+
{
|
|
32712
|
+
"type": "string"
|
|
32713
|
+
},
|
|
32714
|
+
{
|
|
32715
|
+
"type": "null"
|
|
32716
|
+
}
|
|
32717
|
+
]
|
|
32718
|
+
}
|
|
32719
|
+
},
|
|
32720
|
+
"required": [
|
|
32721
|
+
"enabled",
|
|
32722
|
+
"held",
|
|
32723
|
+
"grantedClasses",
|
|
32724
|
+
"deniedClasses",
|
|
32725
|
+
"note"
|
|
32726
|
+
],
|
|
32727
|
+
"additionalProperties": false
|
|
32728
|
+
}
|
|
32729
|
+
},
|
|
32730
|
+
"required": [
|
|
32731
|
+
"platform",
|
|
32732
|
+
"work",
|
|
32733
|
+
"keepAwake"
|
|
32734
|
+
],
|
|
32735
|
+
"additionalProperties": false
|
|
32736
|
+
},
|
|
32737
|
+
"invokable": true
|
|
32738
|
+
},
|
|
32739
|
+
{
|
|
32740
|
+
"id": "power.status.get",
|
|
32741
|
+
"title": "Get Sleep-Ownership State",
|
|
32742
|
+
"description": "The host sleep-ownership state: whether the automatic work inhibitor is held (and the live \"held because X\" reasons, cap, and expiry), and the owner keep-awake toggle with the classes the OS actually granted vs refused — a refused lid-switch block is stated honestly (\"idle sleep blocked; lid-close suspend is controlled by your OS here\"), never papered over. Surfaces render the always-visible \"sleep disabled\" chip from this state and the runtime.ops OPS_POWER_STATE_CHANGED event.",
|
|
32743
|
+
"category": "health",
|
|
32744
|
+
"source": "builtin",
|
|
32745
|
+
"access": "authenticated",
|
|
32746
|
+
"transport": [
|
|
32747
|
+
"http",
|
|
32748
|
+
"ws"
|
|
32749
|
+
],
|
|
32750
|
+
"scopes": [
|
|
32751
|
+
"read:health"
|
|
32752
|
+
],
|
|
32753
|
+
"http": {
|
|
32754
|
+
"method": "GET",
|
|
32755
|
+
"path": "/api/power/status"
|
|
32756
|
+
},
|
|
32757
|
+
"inputSchema": {
|
|
32758
|
+
"type": "object",
|
|
32759
|
+
"properties": {},
|
|
32760
|
+
"additionalProperties": false
|
|
32761
|
+
},
|
|
32762
|
+
"outputSchema": {
|
|
32763
|
+
"type": "object",
|
|
32764
|
+
"properties": {
|
|
32765
|
+
"platform": {
|
|
32766
|
+
"type": "string"
|
|
32767
|
+
},
|
|
32768
|
+
"work": {
|
|
32769
|
+
"type": "object",
|
|
32770
|
+
"properties": {
|
|
32771
|
+
"held": {
|
|
32772
|
+
"type": "boolean"
|
|
32773
|
+
},
|
|
32774
|
+
"grantedClasses": {
|
|
32775
|
+
"type": "array",
|
|
32776
|
+
"items": {
|
|
32777
|
+
"type": "string",
|
|
32778
|
+
"enum": [
|
|
32779
|
+
"handle-lid-switch",
|
|
32780
|
+
"idle",
|
|
32781
|
+
"sleep"
|
|
32782
|
+
]
|
|
32783
|
+
}
|
|
32784
|
+
},
|
|
32785
|
+
"deniedClasses": {
|
|
32786
|
+
"type": "array",
|
|
32787
|
+
"items": {
|
|
32788
|
+
"type": "string",
|
|
32789
|
+
"enum": [
|
|
32790
|
+
"handle-lid-switch",
|
|
32791
|
+
"idle",
|
|
32792
|
+
"sleep"
|
|
32793
|
+
]
|
|
32794
|
+
}
|
|
32795
|
+
},
|
|
32796
|
+
"reasons": {
|
|
32797
|
+
"type": "array",
|
|
32798
|
+
"items": {
|
|
32799
|
+
"type": "string"
|
|
32800
|
+
}
|
|
32801
|
+
},
|
|
32802
|
+
"heldSince": {
|
|
32803
|
+
"anyOf": [
|
|
32804
|
+
{
|
|
32805
|
+
"type": "number"
|
|
32806
|
+
},
|
|
32807
|
+
{
|
|
32808
|
+
"type": "null"
|
|
32809
|
+
}
|
|
32810
|
+
]
|
|
32811
|
+
},
|
|
32812
|
+
"capMinutes": {
|
|
32813
|
+
"type": "number"
|
|
32814
|
+
},
|
|
32815
|
+
"capExpiresAt": {
|
|
32816
|
+
"anyOf": [
|
|
32817
|
+
{
|
|
32818
|
+
"type": "number"
|
|
32819
|
+
},
|
|
32820
|
+
{
|
|
32821
|
+
"type": "null"
|
|
32822
|
+
}
|
|
32823
|
+
]
|
|
32824
|
+
},
|
|
32825
|
+
"capExpired": {
|
|
32826
|
+
"type": "boolean"
|
|
32827
|
+
}
|
|
32828
|
+
},
|
|
32829
|
+
"required": [
|
|
32830
|
+
"held",
|
|
32831
|
+
"grantedClasses",
|
|
32832
|
+
"deniedClasses",
|
|
32833
|
+
"reasons",
|
|
32834
|
+
"heldSince",
|
|
32835
|
+
"capMinutes",
|
|
32836
|
+
"capExpiresAt",
|
|
32837
|
+
"capExpired"
|
|
32838
|
+
],
|
|
32839
|
+
"additionalProperties": false
|
|
32840
|
+
},
|
|
32841
|
+
"keepAwake": {
|
|
32842
|
+
"type": "object",
|
|
32843
|
+
"properties": {
|
|
32844
|
+
"enabled": {
|
|
32845
|
+
"type": "boolean"
|
|
32846
|
+
},
|
|
32847
|
+
"held": {
|
|
32848
|
+
"type": "boolean"
|
|
32849
|
+
},
|
|
32850
|
+
"grantedClasses": {
|
|
32851
|
+
"type": "array",
|
|
32852
|
+
"items": {
|
|
32853
|
+
"type": "string",
|
|
32854
|
+
"enum": [
|
|
32855
|
+
"handle-lid-switch",
|
|
32856
|
+
"idle",
|
|
32857
|
+
"sleep"
|
|
32858
|
+
]
|
|
32859
|
+
}
|
|
32860
|
+
},
|
|
32861
|
+
"deniedClasses": {
|
|
32862
|
+
"type": "array",
|
|
32863
|
+
"items": {
|
|
32864
|
+
"type": "string",
|
|
32865
|
+
"enum": [
|
|
32866
|
+
"handle-lid-switch",
|
|
32867
|
+
"idle",
|
|
32868
|
+
"sleep"
|
|
32869
|
+
]
|
|
32870
|
+
}
|
|
32871
|
+
},
|
|
32872
|
+
"note": {
|
|
32873
|
+
"anyOf": [
|
|
32874
|
+
{
|
|
32875
|
+
"type": "string"
|
|
32876
|
+
},
|
|
32877
|
+
{
|
|
32878
|
+
"type": "null"
|
|
32879
|
+
}
|
|
32880
|
+
]
|
|
32881
|
+
}
|
|
32882
|
+
},
|
|
32883
|
+
"required": [
|
|
32884
|
+
"enabled",
|
|
32885
|
+
"held",
|
|
32886
|
+
"grantedClasses",
|
|
32887
|
+
"deniedClasses",
|
|
32888
|
+
"note"
|
|
32889
|
+
],
|
|
32890
|
+
"additionalProperties": false
|
|
32891
|
+
}
|
|
32892
|
+
},
|
|
32893
|
+
"required": [
|
|
32894
|
+
"platform",
|
|
32895
|
+
"work",
|
|
32896
|
+
"keepAwake"
|
|
32897
|
+
],
|
|
32898
|
+
"additionalProperties": false
|
|
32899
|
+
},
|
|
32900
|
+
"invokable": true
|
|
32901
|
+
},
|
|
32902
|
+
{
|
|
32903
|
+
"id": "voice.local.install",
|
|
32904
|
+
"title": "Install the Managed Local-Voice Runtime",
|
|
32905
|
+
"description": "One-act setup: download + checksum-verify the piper TTS engine, a default voice, and (where a pinned goodvibes-built bundle exists) the whisper.cpp STT engine with its default model into the goodvibes-managed directory, then point the voice.local.* config keys at the managed install — never overwriting a key you already set to a custom value (skipped keys are reported). After this, local TTS works with zero further configuration. Downloads only when you ask; a failed or checksum-mismatched download keeps nothing.",
|
|
32906
|
+
"category": "health",
|
|
32907
|
+
"source": "builtin",
|
|
32908
|
+
"access": "authenticated",
|
|
32909
|
+
"transport": [
|
|
32910
|
+
"http",
|
|
32911
|
+
"ws"
|
|
32912
|
+
],
|
|
32913
|
+
"scopes": [
|
|
32914
|
+
"write:config"
|
|
32915
|
+
],
|
|
32916
|
+
"http": {
|
|
32917
|
+
"method": "POST",
|
|
32918
|
+
"path": "/api/voice/local/install"
|
|
32919
|
+
},
|
|
32920
|
+
"inputSchema": {
|
|
32921
|
+
"type": "object",
|
|
32922
|
+
"properties": {},
|
|
32923
|
+
"additionalProperties": false
|
|
32924
|
+
},
|
|
32925
|
+
"outputSchema": {
|
|
32926
|
+
"type": "object",
|
|
32927
|
+
"properties": {
|
|
32928
|
+
"provisioned": {
|
|
32929
|
+
"type": "boolean"
|
|
32930
|
+
},
|
|
32931
|
+
"platform": {
|
|
32932
|
+
"anyOf": [
|
|
32933
|
+
{
|
|
32934
|
+
"type": "string"
|
|
32935
|
+
},
|
|
32936
|
+
{
|
|
32937
|
+
"type": "null"
|
|
32938
|
+
}
|
|
32939
|
+
]
|
|
32940
|
+
},
|
|
32941
|
+
"tts": {
|
|
32942
|
+
"type": "object",
|
|
32943
|
+
"properties": {
|
|
32944
|
+
"engine": {
|
|
32945
|
+
"type": "string"
|
|
32946
|
+
},
|
|
32947
|
+
"state": {
|
|
32948
|
+
"type": "string",
|
|
32949
|
+
"enum": [
|
|
32950
|
+
"provisioned",
|
|
32951
|
+
"unsupported-platform",
|
|
32952
|
+
"download-failed",
|
|
32953
|
+
"checksum-mismatch"
|
|
32954
|
+
]
|
|
32955
|
+
},
|
|
32956
|
+
"binaryPath": {
|
|
32957
|
+
"type": "string"
|
|
32958
|
+
},
|
|
32959
|
+
"modelPath": {
|
|
32960
|
+
"type": "string"
|
|
32961
|
+
},
|
|
32962
|
+
"reason": {
|
|
32963
|
+
"type": "string"
|
|
32964
|
+
}
|
|
32965
|
+
},
|
|
32966
|
+
"required": [
|
|
32967
|
+
"engine",
|
|
32968
|
+
"state"
|
|
32969
|
+
],
|
|
32970
|
+
"additionalProperties": false
|
|
32971
|
+
},
|
|
32972
|
+
"stt": {
|
|
32973
|
+
"type": "object",
|
|
32974
|
+
"properties": {
|
|
32975
|
+
"engine": {
|
|
32976
|
+
"type": "string"
|
|
32977
|
+
},
|
|
32978
|
+
"state": {
|
|
32979
|
+
"type": "string",
|
|
32980
|
+
"enum": [
|
|
32981
|
+
"provisioned",
|
|
32982
|
+
"unsupported-platform",
|
|
32983
|
+
"download-failed",
|
|
32984
|
+
"checksum-mismatch",
|
|
32985
|
+
"bundle-unavailable",
|
|
32986
|
+
"sideload-mismatch"
|
|
32987
|
+
]
|
|
32988
|
+
},
|
|
32989
|
+
"binaryPath": {
|
|
32990
|
+
"type": "string"
|
|
32991
|
+
},
|
|
32992
|
+
"modelPath": {
|
|
32993
|
+
"type": "string"
|
|
32994
|
+
},
|
|
32995
|
+
"reason": {
|
|
32996
|
+
"type": "string"
|
|
32997
|
+
}
|
|
32998
|
+
},
|
|
32999
|
+
"required": [
|
|
33000
|
+
"engine",
|
|
33001
|
+
"state"
|
|
33002
|
+
],
|
|
33003
|
+
"additionalProperties": false
|
|
33004
|
+
},
|
|
33005
|
+
"components": {
|
|
33006
|
+
"type": "array",
|
|
33007
|
+
"items": {
|
|
33008
|
+
"type": "object",
|
|
33009
|
+
"properties": {
|
|
33010
|
+
"id": {
|
|
33011
|
+
"type": "string"
|
|
33012
|
+
},
|
|
33013
|
+
"state": {
|
|
33014
|
+
"type": "string",
|
|
33015
|
+
"enum": [
|
|
33016
|
+
"installed",
|
|
33017
|
+
"skipped",
|
|
33018
|
+
"failed"
|
|
33019
|
+
]
|
|
33020
|
+
},
|
|
33021
|
+
"bytes": {
|
|
33022
|
+
"type": "number"
|
|
33023
|
+
},
|
|
33024
|
+
"error": {
|
|
33025
|
+
"type": "string"
|
|
33026
|
+
}
|
|
33027
|
+
},
|
|
33028
|
+
"required": [
|
|
33029
|
+
"id",
|
|
33030
|
+
"state"
|
|
33031
|
+
],
|
|
33032
|
+
"additionalProperties": false
|
|
33033
|
+
}
|
|
33034
|
+
},
|
|
33035
|
+
"configured": {
|
|
33036
|
+
"type": "object",
|
|
33037
|
+
"properties": {
|
|
33038
|
+
"set": {
|
|
33039
|
+
"type": "array",
|
|
33040
|
+
"items": {
|
|
33041
|
+
"type": "object",
|
|
33042
|
+
"properties": {
|
|
33043
|
+
"key": {
|
|
33044
|
+
"type": "string"
|
|
33045
|
+
},
|
|
33046
|
+
"value": {
|
|
33047
|
+
"type": "string"
|
|
33048
|
+
}
|
|
33049
|
+
},
|
|
33050
|
+
"required": [
|
|
33051
|
+
"key",
|
|
33052
|
+
"value"
|
|
33053
|
+
],
|
|
33054
|
+
"additionalProperties": false
|
|
33055
|
+
}
|
|
33056
|
+
},
|
|
33057
|
+
"skipped": {
|
|
33058
|
+
"type": "array",
|
|
33059
|
+
"items": {
|
|
33060
|
+
"type": "object",
|
|
33061
|
+
"properties": {
|
|
33062
|
+
"key": {
|
|
33063
|
+
"type": "string"
|
|
33064
|
+
},
|
|
33065
|
+
"reason": {
|
|
33066
|
+
"type": "string"
|
|
33067
|
+
}
|
|
33068
|
+
},
|
|
33069
|
+
"required": [
|
|
33070
|
+
"key",
|
|
33071
|
+
"reason"
|
|
33072
|
+
],
|
|
33073
|
+
"additionalProperties": false
|
|
33074
|
+
}
|
|
33075
|
+
}
|
|
33076
|
+
},
|
|
33077
|
+
"required": [
|
|
33078
|
+
"set",
|
|
33079
|
+
"skipped"
|
|
33080
|
+
],
|
|
33081
|
+
"additionalProperties": false
|
|
33082
|
+
}
|
|
33083
|
+
},
|
|
33084
|
+
"required": [
|
|
33085
|
+
"provisioned",
|
|
33086
|
+
"platform",
|
|
33087
|
+
"tts",
|
|
33088
|
+
"stt",
|
|
33089
|
+
"components",
|
|
33090
|
+
"configured"
|
|
33091
|
+
],
|
|
33092
|
+
"additionalProperties": false
|
|
33093
|
+
},
|
|
33094
|
+
"invokable": true
|
|
33095
|
+
},
|
|
33096
|
+
{
|
|
33097
|
+
"id": "voice.local.status",
|
|
33098
|
+
"title": "Get Managed Local-Voice Runtime State",
|
|
33099
|
+
"description": "Whether the managed local voice runtime (piper TTS + a default voice) is installed: not-provisioned (with a size-labeled offer), partial, provisioned, or unsupported-platform. STT (whisper.cpp) reports its own managed state: goodvibes builds and pins the whisper.cpp bundle per platform (no official prebuilt exists; provisioning never compiles on your machine), so where a pinned bundle exists STT provisions like TTS, and elsewhere it reports unsupported honestly. While a voice.local.install run is active, the response also carries installInProgress — the live per-component progress (phase, byte sizes where known) of that run — so surfaces poll this read during the install to render real progress; the section is absent when no install is running. Read-only.",
|
|
33100
|
+
"category": "health",
|
|
33101
|
+
"source": "builtin",
|
|
33102
|
+
"access": "authenticated",
|
|
33103
|
+
"transport": [
|
|
33104
|
+
"http",
|
|
33105
|
+
"ws"
|
|
33106
|
+
],
|
|
33107
|
+
"scopes": [
|
|
33108
|
+
"read:health"
|
|
33109
|
+
],
|
|
33110
|
+
"http": {
|
|
33111
|
+
"method": "GET",
|
|
33112
|
+
"path": "/api/voice/local/status"
|
|
33113
|
+
},
|
|
33114
|
+
"inputSchema": {
|
|
33115
|
+
"type": "object",
|
|
33116
|
+
"properties": {},
|
|
33117
|
+
"additionalProperties": false
|
|
33118
|
+
},
|
|
33119
|
+
"outputSchema": {
|
|
33120
|
+
"type": "object",
|
|
33121
|
+
"properties": {
|
|
33122
|
+
"platform": {
|
|
33123
|
+
"anyOf": [
|
|
33124
|
+
{
|
|
33125
|
+
"type": "string"
|
|
33126
|
+
},
|
|
33127
|
+
{
|
|
33128
|
+
"type": "null"
|
|
33129
|
+
}
|
|
33130
|
+
]
|
|
33131
|
+
},
|
|
33132
|
+
"state": {
|
|
33133
|
+
"type": "string",
|
|
33134
|
+
"enum": [
|
|
33135
|
+
"not-provisioned",
|
|
33136
|
+
"partial",
|
|
33137
|
+
"provisioned",
|
|
33138
|
+
"unsupported-platform"
|
|
33139
|
+
]
|
|
33140
|
+
},
|
|
33141
|
+
"tts": {
|
|
33142
|
+
"type": "object",
|
|
33143
|
+
"properties": {
|
|
33144
|
+
"engine": {
|
|
33145
|
+
"type": "string"
|
|
33146
|
+
},
|
|
33147
|
+
"binaryPresent": {
|
|
33148
|
+
"type": "boolean"
|
|
33149
|
+
},
|
|
33150
|
+
"voicePresent": {
|
|
33151
|
+
"type": "boolean"
|
|
33152
|
+
},
|
|
33153
|
+
"binaryPath": {
|
|
33154
|
+
"type": "string"
|
|
33155
|
+
},
|
|
33156
|
+
"modelPath": {
|
|
33157
|
+
"type": "string"
|
|
33158
|
+
}
|
|
33159
|
+
},
|
|
33160
|
+
"required": [
|
|
33161
|
+
"engine",
|
|
33162
|
+
"binaryPresent",
|
|
33163
|
+
"voicePresent",
|
|
33164
|
+
"binaryPath",
|
|
33165
|
+
"modelPath"
|
|
33166
|
+
],
|
|
33167
|
+
"additionalProperties": false
|
|
33168
|
+
},
|
|
33169
|
+
"stt": {
|
|
33170
|
+
"type": "object",
|
|
33171
|
+
"properties": {
|
|
33172
|
+
"engine": {
|
|
33173
|
+
"type": "string"
|
|
33174
|
+
},
|
|
33175
|
+
"supported": {
|
|
33176
|
+
"type": "boolean"
|
|
33177
|
+
},
|
|
33178
|
+
"state": {
|
|
33179
|
+
"type": "string",
|
|
33180
|
+
"enum": [
|
|
33181
|
+
"not-provisioned",
|
|
33182
|
+
"partial",
|
|
33183
|
+
"provisioned",
|
|
33184
|
+
"unsupported-platform"
|
|
33185
|
+
]
|
|
33186
|
+
},
|
|
33187
|
+
"binaryPresent": {
|
|
33188
|
+
"type": "boolean"
|
|
33189
|
+
},
|
|
33190
|
+
"modelPresent": {
|
|
33191
|
+
"type": "boolean"
|
|
33192
|
+
},
|
|
33193
|
+
"binaryPath": {
|
|
33194
|
+
"type": "string"
|
|
33195
|
+
},
|
|
33196
|
+
"modelPath": {
|
|
33197
|
+
"type": "string"
|
|
33198
|
+
},
|
|
33199
|
+
"reason": {
|
|
33200
|
+
"type": "string"
|
|
33201
|
+
}
|
|
33202
|
+
},
|
|
33203
|
+
"required": [
|
|
33204
|
+
"engine",
|
|
33205
|
+
"supported",
|
|
33206
|
+
"state",
|
|
33207
|
+
"binaryPresent",
|
|
33208
|
+
"modelPresent",
|
|
33209
|
+
"binaryPath",
|
|
33210
|
+
"modelPath"
|
|
33211
|
+
],
|
|
33212
|
+
"additionalProperties": false
|
|
33213
|
+
},
|
|
33214
|
+
"offerBytes": {
|
|
33215
|
+
"anyOf": [
|
|
33216
|
+
{
|
|
33217
|
+
"type": "number"
|
|
33218
|
+
},
|
|
33219
|
+
{
|
|
33220
|
+
"type": "null"
|
|
33221
|
+
}
|
|
33222
|
+
]
|
|
33223
|
+
},
|
|
33224
|
+
"installInProgress": {
|
|
33225
|
+
"type": "object",
|
|
33226
|
+
"properties": {
|
|
33227
|
+
"startedAt": {
|
|
33228
|
+
"type": "number"
|
|
33229
|
+
},
|
|
33230
|
+
"components": {
|
|
33231
|
+
"type": "array",
|
|
33232
|
+
"items": {
|
|
33233
|
+
"type": "object",
|
|
33234
|
+
"properties": {
|
|
33235
|
+
"component": {
|
|
33236
|
+
"type": "string"
|
|
33237
|
+
},
|
|
33238
|
+
"phase": {
|
|
33239
|
+
"type": "string",
|
|
33240
|
+
"enum": [
|
|
33241
|
+
"skip",
|
|
33242
|
+
"download",
|
|
33243
|
+
"verify",
|
|
33244
|
+
"extract",
|
|
33245
|
+
"done",
|
|
33246
|
+
"error"
|
|
33247
|
+
]
|
|
33248
|
+
},
|
|
33249
|
+
"message": {
|
|
33250
|
+
"type": "string"
|
|
33251
|
+
},
|
|
33252
|
+
"bytesTotal": {
|
|
33253
|
+
"type": "number"
|
|
33254
|
+
},
|
|
33255
|
+
"bytesDone": {
|
|
33256
|
+
"type": "number"
|
|
33257
|
+
}
|
|
33258
|
+
},
|
|
33259
|
+
"required": [
|
|
33260
|
+
"component",
|
|
33261
|
+
"phase"
|
|
33262
|
+
],
|
|
33263
|
+
"additionalProperties": false
|
|
33264
|
+
}
|
|
33265
|
+
}
|
|
33266
|
+
},
|
|
33267
|
+
"required": [
|
|
33268
|
+
"startedAt",
|
|
33269
|
+
"components"
|
|
33270
|
+
],
|
|
33271
|
+
"additionalProperties": false
|
|
33272
|
+
}
|
|
33273
|
+
},
|
|
33274
|
+
"required": [
|
|
33275
|
+
"platform",
|
|
33276
|
+
"state",
|
|
33277
|
+
"tts",
|
|
33278
|
+
"stt",
|
|
33279
|
+
"offerBytes"
|
|
33280
|
+
],
|
|
33281
|
+
"additionalProperties": false
|
|
33282
|
+
},
|
|
33283
|
+
"invokable": true
|
|
33284
|
+
},
|
|
31252
33285
|
{
|
|
31253
33286
|
"id": "intelligence.snapshot",
|
|
31254
33287
|
"title": "Intelligence Snapshot",
|
|
@@ -60952,186 +62985,358 @@
|
|
|
60952
62985
|
}
|
|
60953
62986
|
},
|
|
60954
62987
|
"required": [
|
|
60955
|
-
"id",
|
|
60956
|
-
"kind",
|
|
60957
|
-
"artifact",
|
|
60958
|
-
"providerIds",
|
|
60959
|
-
"labels",
|
|
60960
|
-
"entities",
|
|
60961
|
-
"segments",
|
|
62988
|
+
"id",
|
|
62989
|
+
"kind",
|
|
62990
|
+
"artifact",
|
|
62991
|
+
"providerIds",
|
|
62992
|
+
"labels",
|
|
62993
|
+
"entities",
|
|
62994
|
+
"segments",
|
|
62995
|
+
"metadata"
|
|
62996
|
+
],
|
|
62997
|
+
"additionalProperties": false
|
|
62998
|
+
},
|
|
62999
|
+
"sessionId": {
|
|
63000
|
+
"type": "string"
|
|
63001
|
+
},
|
|
63002
|
+
"title": {
|
|
63003
|
+
"type": "string"
|
|
63004
|
+
},
|
|
63005
|
+
"tags": {
|
|
63006
|
+
"type": "array",
|
|
63007
|
+
"items": {
|
|
63008
|
+
"type": "string"
|
|
63009
|
+
}
|
|
63010
|
+
},
|
|
63011
|
+
"folderPath": {
|
|
63012
|
+
"type": "string"
|
|
63013
|
+
},
|
|
63014
|
+
"metadata": {
|
|
63015
|
+
"type": "object",
|
|
63016
|
+
"additionalProperties": {
|
|
63017
|
+
"anyOf": [
|
|
63018
|
+
{
|
|
63019
|
+
"type": "string"
|
|
63020
|
+
},
|
|
63021
|
+
{
|
|
63022
|
+
"type": "number"
|
|
63023
|
+
},
|
|
63024
|
+
{
|
|
63025
|
+
"type": "boolean"
|
|
63026
|
+
},
|
|
63027
|
+
{
|
|
63028
|
+
"type": "null"
|
|
63029
|
+
},
|
|
63030
|
+
{
|
|
63031
|
+
"type": "object",
|
|
63032
|
+
"additionalProperties": {}
|
|
63033
|
+
},
|
|
63034
|
+
{
|
|
63035
|
+
"type": "array",
|
|
63036
|
+
"items": {}
|
|
63037
|
+
}
|
|
63038
|
+
]
|
|
63039
|
+
}
|
|
63040
|
+
}
|
|
63041
|
+
},
|
|
63042
|
+
"required": [
|
|
63043
|
+
"analysis"
|
|
63044
|
+
],
|
|
63045
|
+
"additionalProperties": true
|
|
63046
|
+
},
|
|
63047
|
+
"outputSchema": {
|
|
63048
|
+
"type": "object",
|
|
63049
|
+
"properties": {
|
|
63050
|
+
"writeback": {
|
|
63051
|
+
"type": "object",
|
|
63052
|
+
"properties": {
|
|
63053
|
+
"analysisArtifact": {
|
|
63054
|
+
"type": "object",
|
|
63055
|
+
"properties": {
|
|
63056
|
+
"id": {
|
|
63057
|
+
"type": "string"
|
|
63058
|
+
},
|
|
63059
|
+
"kind": {
|
|
63060
|
+
"type": "string"
|
|
63061
|
+
},
|
|
63062
|
+
"mimeType": {
|
|
63063
|
+
"type": "string"
|
|
63064
|
+
},
|
|
63065
|
+
"filename": {
|
|
63066
|
+
"type": "string"
|
|
63067
|
+
},
|
|
63068
|
+
"sizeBytes": {
|
|
63069
|
+
"type": "number"
|
|
63070
|
+
},
|
|
63071
|
+
"sha256": {
|
|
63072
|
+
"type": "string"
|
|
63073
|
+
},
|
|
63074
|
+
"createdAt": {
|
|
63075
|
+
"type": "number"
|
|
63076
|
+
},
|
|
63077
|
+
"expiresAt": {
|
|
63078
|
+
"type": "number"
|
|
63079
|
+
},
|
|
63080
|
+
"sourceUri": {
|
|
63081
|
+
"type": "string"
|
|
63082
|
+
},
|
|
63083
|
+
"acquisitionMode": {
|
|
63084
|
+
"type": "string"
|
|
63085
|
+
},
|
|
63086
|
+
"fetchMode": {
|
|
63087
|
+
"type": "string"
|
|
63088
|
+
},
|
|
63089
|
+
"metadata": {
|
|
63090
|
+
"type": "object",
|
|
63091
|
+
"additionalProperties": {
|
|
63092
|
+
"anyOf": [
|
|
63093
|
+
{
|
|
63094
|
+
"type": "string"
|
|
63095
|
+
},
|
|
63096
|
+
{
|
|
63097
|
+
"type": "number"
|
|
63098
|
+
},
|
|
63099
|
+
{
|
|
63100
|
+
"type": "boolean"
|
|
63101
|
+
},
|
|
63102
|
+
{
|
|
63103
|
+
"type": "null"
|
|
63104
|
+
},
|
|
63105
|
+
{
|
|
63106
|
+
"type": "object",
|
|
63107
|
+
"additionalProperties": {}
|
|
63108
|
+
},
|
|
63109
|
+
{
|
|
63110
|
+
"type": "array",
|
|
63111
|
+
"items": {}
|
|
63112
|
+
}
|
|
63113
|
+
]
|
|
63114
|
+
}
|
|
63115
|
+
}
|
|
63116
|
+
},
|
|
63117
|
+
"required": [
|
|
63118
|
+
"id",
|
|
63119
|
+
"kind",
|
|
63120
|
+
"mimeType",
|
|
63121
|
+
"sizeBytes",
|
|
63122
|
+
"sha256",
|
|
63123
|
+
"createdAt",
|
|
63124
|
+
"metadata"
|
|
63125
|
+
],
|
|
63126
|
+
"additionalProperties": true
|
|
63127
|
+
},
|
|
63128
|
+
"knowledgeSourceId": {
|
|
63129
|
+
"type": "string"
|
|
63130
|
+
},
|
|
63131
|
+
"metadata": {
|
|
63132
|
+
"type": "object",
|
|
63133
|
+
"additionalProperties": {
|
|
63134
|
+
"anyOf": [
|
|
63135
|
+
{
|
|
63136
|
+
"type": "string"
|
|
63137
|
+
},
|
|
63138
|
+
{
|
|
63139
|
+
"type": "number"
|
|
63140
|
+
},
|
|
63141
|
+
{
|
|
63142
|
+
"type": "boolean"
|
|
63143
|
+
},
|
|
63144
|
+
{
|
|
63145
|
+
"type": "null"
|
|
63146
|
+
},
|
|
63147
|
+
{
|
|
63148
|
+
"type": "object",
|
|
63149
|
+
"additionalProperties": {}
|
|
63150
|
+
},
|
|
63151
|
+
{
|
|
63152
|
+
"type": "array",
|
|
63153
|
+
"items": {}
|
|
63154
|
+
}
|
|
63155
|
+
]
|
|
63156
|
+
}
|
|
63157
|
+
}
|
|
63158
|
+
},
|
|
63159
|
+
"required": [
|
|
63160
|
+
"analysisArtifact",
|
|
60962
63161
|
"metadata"
|
|
60963
63162
|
],
|
|
60964
63163
|
"additionalProperties": false
|
|
60965
|
-
}
|
|
60966
|
-
|
|
60967
|
-
|
|
60968
|
-
|
|
60969
|
-
|
|
60970
|
-
|
|
60971
|
-
|
|
60972
|
-
|
|
63164
|
+
}
|
|
63165
|
+
},
|
|
63166
|
+
"required": [
|
|
63167
|
+
"writeback"
|
|
63168
|
+
],
|
|
63169
|
+
"additionalProperties": false
|
|
63170
|
+
},
|
|
63171
|
+
"invokable": true
|
|
63172
|
+
},
|
|
63173
|
+
{
|
|
63174
|
+
"id": "memory.consolidation.receipts",
|
|
63175
|
+
"title": "Memory Consolidation Receipts",
|
|
63176
|
+
"description": "Return the retained memory-consolidation run receipts (what each idle/scheduled pass scanned, merged, archived, decayed) and the pending judgment PROPOSALS they carry (contradictions, cross-scope duplicates) — the records a proposal references are already marked into the review queue, and a human resolves them through the confirmation-gated review route. A runtime without the consolidation scheduler answers an honest 501.",
|
|
63177
|
+
"category": "memory",
|
|
63178
|
+
"source": "builtin",
|
|
63179
|
+
"access": "authenticated",
|
|
63180
|
+
"transport": [
|
|
63181
|
+
"http",
|
|
63182
|
+
"ws"
|
|
63183
|
+
],
|
|
63184
|
+
"scopes": [
|
|
63185
|
+
"read:memory"
|
|
63186
|
+
],
|
|
63187
|
+
"http": {
|
|
63188
|
+
"method": "GET",
|
|
63189
|
+
"path": "/api/memory/consolidation/receipts"
|
|
63190
|
+
},
|
|
63191
|
+
"inputSchema": {
|
|
63192
|
+
"type": "object",
|
|
63193
|
+
"properties": {},
|
|
63194
|
+
"additionalProperties": false
|
|
63195
|
+
},
|
|
63196
|
+
"outputSchema": {
|
|
63197
|
+
"type": "object",
|
|
63198
|
+
"properties": {
|
|
63199
|
+
"receipts": {
|
|
60973
63200
|
"type": "array",
|
|
60974
63201
|
"items": {
|
|
60975
|
-
"type": "
|
|
60976
|
-
|
|
60977
|
-
|
|
60978
|
-
"folderPath": {
|
|
60979
|
-
"type": "string"
|
|
60980
|
-
},
|
|
60981
|
-
"metadata": {
|
|
60982
|
-
"type": "object",
|
|
60983
|
-
"additionalProperties": {
|
|
60984
|
-
"anyOf": [
|
|
60985
|
-
{
|
|
63202
|
+
"type": "object",
|
|
63203
|
+
"properties": {
|
|
63204
|
+
"runId": {
|
|
60986
63205
|
"type": "string"
|
|
60987
63206
|
},
|
|
60988
|
-
{
|
|
60989
|
-
"type": "
|
|
63207
|
+
"ranAt": {
|
|
63208
|
+
"type": "string"
|
|
60990
63209
|
},
|
|
60991
|
-
{
|
|
63210
|
+
"trigger": {
|
|
63211
|
+
"type": "string"
|
|
63212
|
+
},
|
|
63213
|
+
"idle": {
|
|
60992
63214
|
"type": "boolean"
|
|
60993
63215
|
},
|
|
60994
|
-
{
|
|
60995
|
-
"type": "
|
|
63216
|
+
"scanned": {
|
|
63217
|
+
"type": "number"
|
|
60996
63218
|
},
|
|
60997
|
-
{
|
|
60998
|
-
"type": "
|
|
60999
|
-
"
|
|
63219
|
+
"merged": {
|
|
63220
|
+
"type": "array",
|
|
63221
|
+
"items": {
|
|
63222
|
+
"type": "object",
|
|
63223
|
+
"properties": {},
|
|
63224
|
+
"additionalProperties": true
|
|
63225
|
+
}
|
|
61000
63226
|
},
|
|
61001
|
-
{
|
|
63227
|
+
"archived": {
|
|
61002
63228
|
"type": "array",
|
|
61003
|
-
"items": {
|
|
61004
|
-
}
|
|
61005
|
-
]
|
|
61006
|
-
}
|
|
61007
|
-
}
|
|
61008
|
-
},
|
|
61009
|
-
"required": [
|
|
61010
|
-
"analysis"
|
|
61011
|
-
],
|
|
61012
|
-
"additionalProperties": true
|
|
61013
|
-
},
|
|
61014
|
-
"outputSchema": {
|
|
61015
|
-
"type": "object",
|
|
61016
|
-
"properties": {
|
|
61017
|
-
"writeback": {
|
|
61018
|
-
"type": "object",
|
|
61019
|
-
"properties": {
|
|
61020
|
-
"analysisArtifact": {
|
|
61021
|
-
"type": "object",
|
|
61022
|
-
"properties": {
|
|
61023
|
-
"id": {
|
|
61024
|
-
"type": "string"
|
|
61025
|
-
},
|
|
61026
|
-
"kind": {
|
|
61027
|
-
"type": "string"
|
|
61028
|
-
},
|
|
61029
|
-
"mimeType": {
|
|
61030
|
-
"type": "string"
|
|
61031
|
-
},
|
|
61032
|
-
"filename": {
|
|
61033
|
-
"type": "string"
|
|
61034
|
-
},
|
|
61035
|
-
"sizeBytes": {
|
|
61036
|
-
"type": "number"
|
|
61037
|
-
},
|
|
61038
|
-
"sha256": {
|
|
61039
|
-
"type": "string"
|
|
61040
|
-
},
|
|
61041
|
-
"createdAt": {
|
|
61042
|
-
"type": "number"
|
|
61043
|
-
},
|
|
61044
|
-
"expiresAt": {
|
|
61045
|
-
"type": "number"
|
|
61046
|
-
},
|
|
61047
|
-
"sourceUri": {
|
|
61048
|
-
"type": "string"
|
|
61049
|
-
},
|
|
61050
|
-
"acquisitionMode": {
|
|
61051
|
-
"type": "string"
|
|
61052
|
-
},
|
|
61053
|
-
"fetchMode": {
|
|
61054
|
-
"type": "string"
|
|
61055
|
-
},
|
|
61056
|
-
"metadata": {
|
|
63229
|
+
"items": {
|
|
61057
63230
|
"type": "object",
|
|
61058
|
-
"
|
|
61059
|
-
|
|
61060
|
-
|
|
63231
|
+
"properties": {},
|
|
63232
|
+
"additionalProperties": true
|
|
63233
|
+
}
|
|
63234
|
+
},
|
|
63235
|
+
"decayed": {
|
|
63236
|
+
"type": "array",
|
|
63237
|
+
"items": {
|
|
63238
|
+
"type": "object",
|
|
63239
|
+
"properties": {},
|
|
63240
|
+
"additionalProperties": true
|
|
63241
|
+
}
|
|
63242
|
+
},
|
|
63243
|
+
"proposed": {
|
|
63244
|
+
"type": "array",
|
|
63245
|
+
"items": {
|
|
63246
|
+
"type": "object",
|
|
63247
|
+
"properties": {
|
|
63248
|
+
"kind": {
|
|
63249
|
+
"type": "string",
|
|
63250
|
+
"enum": [
|
|
63251
|
+
"contradiction",
|
|
63252
|
+
"cross-scope-duplicate",
|
|
63253
|
+
"stale-delete"
|
|
63254
|
+
]
|
|
63255
|
+
},
|
|
63256
|
+
"ids": {
|
|
63257
|
+
"type": "array",
|
|
63258
|
+
"items": {
|
|
61061
63259
|
"type": "string"
|
|
61062
|
-
},
|
|
61063
|
-
{
|
|
61064
|
-
"type": "number"
|
|
61065
|
-
},
|
|
61066
|
-
{
|
|
61067
|
-
"type": "boolean"
|
|
61068
|
-
},
|
|
61069
|
-
{
|
|
61070
|
-
"type": "null"
|
|
61071
|
-
},
|
|
61072
|
-
{
|
|
61073
|
-
"type": "object",
|
|
61074
|
-
"additionalProperties": {}
|
|
61075
|
-
},
|
|
61076
|
-
{
|
|
61077
|
-
"type": "array",
|
|
61078
|
-
"items": {}
|
|
61079
63260
|
}
|
|
61080
|
-
|
|
61081
|
-
|
|
63261
|
+
},
|
|
63262
|
+
"route": {
|
|
63263
|
+
"type": "string"
|
|
63264
|
+
},
|
|
63265
|
+
"reason": {
|
|
63266
|
+
"type": "string"
|
|
63267
|
+
}
|
|
63268
|
+
},
|
|
63269
|
+
"required": [
|
|
63270
|
+
"kind",
|
|
63271
|
+
"ids",
|
|
63272
|
+
"route",
|
|
63273
|
+
"reason"
|
|
63274
|
+
],
|
|
63275
|
+
"additionalProperties": false
|
|
61082
63276
|
}
|
|
61083
63277
|
},
|
|
61084
|
-
"
|
|
61085
|
-
"
|
|
61086
|
-
|
|
61087
|
-
|
|
61088
|
-
"
|
|
61089
|
-
|
|
61090
|
-
"createdAt",
|
|
61091
|
-
"metadata"
|
|
61092
|
-
],
|
|
61093
|
-
"additionalProperties": true
|
|
61094
|
-
},
|
|
61095
|
-
"knowledgeSourceId": {
|
|
61096
|
-
"type": "string"
|
|
63278
|
+
"usageSignalAvailable": {
|
|
63279
|
+
"type": "boolean"
|
|
63280
|
+
},
|
|
63281
|
+
"note": {
|
|
63282
|
+
"type": "string"
|
|
63283
|
+
}
|
|
61097
63284
|
},
|
|
61098
|
-
"
|
|
61099
|
-
"
|
|
61100
|
-
"
|
|
61101
|
-
|
|
61102
|
-
|
|
61103
|
-
|
|
61104
|
-
|
|
61105
|
-
|
|
61106
|
-
|
|
61107
|
-
|
|
61108
|
-
|
|
61109
|
-
|
|
61110
|
-
|
|
61111
|
-
|
|
61112
|
-
|
|
61113
|
-
|
|
61114
|
-
|
|
61115
|
-
|
|
61116
|
-
|
|
61117
|
-
|
|
61118
|
-
|
|
61119
|
-
|
|
61120
|
-
|
|
61121
|
-
|
|
63285
|
+
"required": [
|
|
63286
|
+
"runId",
|
|
63287
|
+
"ranAt",
|
|
63288
|
+
"trigger",
|
|
63289
|
+
"idle",
|
|
63290
|
+
"scanned",
|
|
63291
|
+
"merged",
|
|
63292
|
+
"archived",
|
|
63293
|
+
"decayed",
|
|
63294
|
+
"proposed",
|
|
63295
|
+
"usageSignalAvailable",
|
|
63296
|
+
"note"
|
|
63297
|
+
],
|
|
63298
|
+
"additionalProperties": false
|
|
63299
|
+
}
|
|
63300
|
+
},
|
|
63301
|
+
"pendingProposals": {
|
|
63302
|
+
"type": "array",
|
|
63303
|
+
"items": {
|
|
63304
|
+
"type": "object",
|
|
63305
|
+
"properties": {
|
|
63306
|
+
"kind": {
|
|
63307
|
+
"type": "string",
|
|
63308
|
+
"enum": [
|
|
63309
|
+
"contradiction",
|
|
63310
|
+
"cross-scope-duplicate",
|
|
63311
|
+
"stale-delete"
|
|
61122
63312
|
]
|
|
63313
|
+
},
|
|
63314
|
+
"ids": {
|
|
63315
|
+
"type": "array",
|
|
63316
|
+
"items": {
|
|
63317
|
+
"type": "string"
|
|
63318
|
+
}
|
|
63319
|
+
},
|
|
63320
|
+
"route": {
|
|
63321
|
+
"type": "string"
|
|
63322
|
+
},
|
|
63323
|
+
"reason": {
|
|
63324
|
+
"type": "string"
|
|
61123
63325
|
}
|
|
61124
|
-
}
|
|
61125
|
-
|
|
61126
|
-
|
|
61127
|
-
|
|
61128
|
-
|
|
61129
|
-
|
|
61130
|
-
|
|
63326
|
+
},
|
|
63327
|
+
"required": [
|
|
63328
|
+
"kind",
|
|
63329
|
+
"ids",
|
|
63330
|
+
"route",
|
|
63331
|
+
"reason"
|
|
63332
|
+
],
|
|
63333
|
+
"additionalProperties": false
|
|
63334
|
+
}
|
|
61131
63335
|
}
|
|
61132
63336
|
},
|
|
61133
63337
|
"required": [
|
|
61134
|
-
"
|
|
63338
|
+
"receipts",
|
|
63339
|
+
"pendingProposals"
|
|
61135
63340
|
],
|
|
61136
63341
|
"additionalProperties": false
|
|
61137
63342
|
},
|
|
@@ -63672,15 +65877,185 @@
|
|
|
63672
65877
|
}
|
|
63673
65878
|
]
|
|
63674
65879
|
},
|
|
63675
|
-
"validUntil": {
|
|
63676
|
-
"anyOf": [
|
|
63677
|
-
{
|
|
63678
|
-
"type": "number"
|
|
63679
|
-
},
|
|
63680
|
-
{
|
|
63681
|
-
"type": "null"
|
|
63682
|
-
}
|
|
63683
|
-
]
|
|
65880
|
+
"validUntil": {
|
|
65881
|
+
"anyOf": [
|
|
65882
|
+
{
|
|
65883
|
+
"type": "number"
|
|
65884
|
+
},
|
|
65885
|
+
{
|
|
65886
|
+
"type": "null"
|
|
65887
|
+
}
|
|
65888
|
+
]
|
|
65889
|
+
}
|
|
65890
|
+
},
|
|
65891
|
+
"required": [
|
|
65892
|
+
"id"
|
|
65893
|
+
],
|
|
65894
|
+
"additionalProperties": true
|
|
65895
|
+
},
|
|
65896
|
+
"outputSchema": {
|
|
65897
|
+
"type": "object",
|
|
65898
|
+
"properties": {
|
|
65899
|
+
"record": {
|
|
65900
|
+
"type": "object",
|
|
65901
|
+
"properties": {
|
|
65902
|
+
"id": {
|
|
65903
|
+
"type": "string"
|
|
65904
|
+
},
|
|
65905
|
+
"scope": {
|
|
65906
|
+
"type": "string",
|
|
65907
|
+
"enum": [
|
|
65908
|
+
"session",
|
|
65909
|
+
"project",
|
|
65910
|
+
"team"
|
|
65911
|
+
]
|
|
65912
|
+
},
|
|
65913
|
+
"cls": {
|
|
65914
|
+
"type": "string",
|
|
65915
|
+
"enum": [
|
|
65916
|
+
"decision",
|
|
65917
|
+
"constraint",
|
|
65918
|
+
"incident",
|
|
65919
|
+
"pattern",
|
|
65920
|
+
"fact",
|
|
65921
|
+
"risk",
|
|
65922
|
+
"runbook",
|
|
65923
|
+
"architecture",
|
|
65924
|
+
"ownership"
|
|
65925
|
+
]
|
|
65926
|
+
},
|
|
65927
|
+
"summary": {
|
|
65928
|
+
"type": "string"
|
|
65929
|
+
},
|
|
65930
|
+
"detail": {
|
|
65931
|
+
"type": "string"
|
|
65932
|
+
},
|
|
65933
|
+
"tags": {
|
|
65934
|
+
"type": "array",
|
|
65935
|
+
"items": {
|
|
65936
|
+
"type": "string"
|
|
65937
|
+
}
|
|
65938
|
+
},
|
|
65939
|
+
"provenance": {
|
|
65940
|
+
"type": "array",
|
|
65941
|
+
"items": {
|
|
65942
|
+
"type": "object",
|
|
65943
|
+
"properties": {
|
|
65944
|
+
"kind": {
|
|
65945
|
+
"type": "string",
|
|
65946
|
+
"enum": [
|
|
65947
|
+
"session",
|
|
65948
|
+
"turn",
|
|
65949
|
+
"task",
|
|
65950
|
+
"event",
|
|
65951
|
+
"file"
|
|
65952
|
+
]
|
|
65953
|
+
},
|
|
65954
|
+
"ref": {
|
|
65955
|
+
"type": "string"
|
|
65956
|
+
},
|
|
65957
|
+
"label": {
|
|
65958
|
+
"type": "string"
|
|
65959
|
+
}
|
|
65960
|
+
},
|
|
65961
|
+
"required": [
|
|
65962
|
+
"kind",
|
|
65963
|
+
"ref"
|
|
65964
|
+
],
|
|
65965
|
+
"additionalProperties": false
|
|
65966
|
+
}
|
|
65967
|
+
},
|
|
65968
|
+
"reviewState": {
|
|
65969
|
+
"type": "string",
|
|
65970
|
+
"enum": [
|
|
65971
|
+
"fresh",
|
|
65972
|
+
"reviewed",
|
|
65973
|
+
"stale",
|
|
65974
|
+
"contradicted"
|
|
65975
|
+
]
|
|
65976
|
+
},
|
|
65977
|
+
"confidence": {
|
|
65978
|
+
"type": "number"
|
|
65979
|
+
},
|
|
65980
|
+
"reviewedAt": {
|
|
65981
|
+
"type": "number"
|
|
65982
|
+
},
|
|
65983
|
+
"reviewedBy": {
|
|
65984
|
+
"type": "string"
|
|
65985
|
+
},
|
|
65986
|
+
"staleReason": {
|
|
65987
|
+
"type": "string"
|
|
65988
|
+
},
|
|
65989
|
+
"createdAt": {
|
|
65990
|
+
"type": "number"
|
|
65991
|
+
},
|
|
65992
|
+
"updatedAt": {
|
|
65993
|
+
"type": "number"
|
|
65994
|
+
}
|
|
65995
|
+
},
|
|
65996
|
+
"required": [
|
|
65997
|
+
"id",
|
|
65998
|
+
"scope",
|
|
65999
|
+
"cls",
|
|
66000
|
+
"summary",
|
|
66001
|
+
"tags",
|
|
66002
|
+
"provenance",
|
|
66003
|
+
"reviewState",
|
|
66004
|
+
"confidence",
|
|
66005
|
+
"createdAt",
|
|
66006
|
+
"updatedAt"
|
|
66007
|
+
],
|
|
66008
|
+
"additionalProperties": true
|
|
66009
|
+
}
|
|
66010
|
+
},
|
|
66011
|
+
"required": [
|
|
66012
|
+
"record"
|
|
66013
|
+
],
|
|
66014
|
+
"additionalProperties": false
|
|
66015
|
+
},
|
|
66016
|
+
"invokable": true
|
|
66017
|
+
},
|
|
66018
|
+
{
|
|
66019
|
+
"id": "memory.records.update-review",
|
|
66020
|
+
"title": "Update Memory Record Review",
|
|
66021
|
+
"description": "Update a record's review signal (reviewState, confidence, reviewer, staleReason) in the canonical store. Marking a record stale or contradicted flags it so the recall-honesty contract will never inject it into a prompt again regardless of confidence. Returns 404 when no record with that id exists.",
|
|
66022
|
+
"category": "memory",
|
|
66023
|
+
"source": "builtin",
|
|
66024
|
+
"access": "authenticated",
|
|
66025
|
+
"transport": [
|
|
66026
|
+
"http",
|
|
66027
|
+
"ws"
|
|
66028
|
+
],
|
|
66029
|
+
"scopes": [
|
|
66030
|
+
"write:memory"
|
|
66031
|
+
],
|
|
66032
|
+
"http": {
|
|
66033
|
+
"method": "POST",
|
|
66034
|
+
"path": "/api/memory/records/{id}/review"
|
|
66035
|
+
},
|
|
66036
|
+
"inputSchema": {
|
|
66037
|
+
"type": "object",
|
|
66038
|
+
"properties": {
|
|
66039
|
+
"id": {
|
|
66040
|
+
"type": "string"
|
|
66041
|
+
},
|
|
66042
|
+
"state": {
|
|
66043
|
+
"type": "string",
|
|
66044
|
+
"enum": [
|
|
66045
|
+
"fresh",
|
|
66046
|
+
"reviewed",
|
|
66047
|
+
"stale",
|
|
66048
|
+
"contradicted"
|
|
66049
|
+
]
|
|
66050
|
+
},
|
|
66051
|
+
"confidence": {
|
|
66052
|
+
"type": "number"
|
|
66053
|
+
},
|
|
66054
|
+
"reviewedBy": {
|
|
66055
|
+
"type": "string"
|
|
66056
|
+
},
|
|
66057
|
+
"staleReason": {
|
|
66058
|
+
"type": "string"
|
|
63684
66059
|
}
|
|
63685
66060
|
},
|
|
63686
66061
|
"required": [
|
|
@@ -63811,9 +66186,9 @@
|
|
|
63811
66186
|
"invokable": true
|
|
63812
66187
|
},
|
|
63813
66188
|
{
|
|
63814
|
-
"id": "memory.
|
|
63815
|
-
"title": "
|
|
63816
|
-
"description": "
|
|
66189
|
+
"id": "memory.review-queue",
|
|
66190
|
+
"title": "Memory Review Queue",
|
|
66191
|
+
"description": "Return memory records prioritised for review. Accepts optional limit (?limit=N) and scope filter (?scope=session|project|team). A scope query parameter that is present but not one of the three valid values returns 400.",
|
|
63817
66192
|
"category": "memory",
|
|
63818
66193
|
"source": "builtin",
|
|
63819
66194
|
"access": "authenticated",
|
|
@@ -63822,379 +66197,846 @@
|
|
|
63822
66197
|
"ws"
|
|
63823
66198
|
],
|
|
63824
66199
|
"scopes": [
|
|
63825
|
-
"
|
|
66200
|
+
"read:memory"
|
|
63826
66201
|
],
|
|
63827
66202
|
"http": {
|
|
63828
|
-
"method": "
|
|
63829
|
-
"path": "/api/memory/
|
|
66203
|
+
"method": "GET",
|
|
66204
|
+
"path": "/api/memory/review-queue"
|
|
63830
66205
|
},
|
|
63831
66206
|
"inputSchema": {
|
|
63832
66207
|
"type": "object",
|
|
63833
66208
|
"properties": {
|
|
63834
|
-
"
|
|
63835
|
-
"type": "
|
|
66209
|
+
"limit": {
|
|
66210
|
+
"type": "number"
|
|
63836
66211
|
},
|
|
63837
|
-
"
|
|
66212
|
+
"scope": {
|
|
63838
66213
|
"type": "string",
|
|
63839
66214
|
"enum": [
|
|
63840
|
-
"
|
|
63841
|
-
"
|
|
63842
|
-
"
|
|
63843
|
-
"contradicted"
|
|
66215
|
+
"session",
|
|
66216
|
+
"project",
|
|
66217
|
+
"team"
|
|
63844
66218
|
]
|
|
63845
|
-
}
|
|
63846
|
-
|
|
63847
|
-
|
|
63848
|
-
|
|
63849
|
-
|
|
63850
|
-
|
|
63851
|
-
|
|
63852
|
-
"
|
|
63853
|
-
"type": "
|
|
66219
|
+
}
|
|
66220
|
+
},
|
|
66221
|
+
"additionalProperties": false
|
|
66222
|
+
},
|
|
66223
|
+
"outputSchema": {
|
|
66224
|
+
"type": "object",
|
|
66225
|
+
"properties": {
|
|
66226
|
+
"records": {
|
|
66227
|
+
"type": "array",
|
|
66228
|
+
"items": {
|
|
66229
|
+
"type": "object",
|
|
66230
|
+
"properties": {},
|
|
66231
|
+
"additionalProperties": true
|
|
66232
|
+
}
|
|
63854
66233
|
}
|
|
63855
66234
|
},
|
|
63856
66235
|
"required": [
|
|
63857
|
-
"
|
|
66236
|
+
"records"
|
|
63858
66237
|
],
|
|
63859
|
-
"additionalProperties":
|
|
66238
|
+
"additionalProperties": false
|
|
66239
|
+
},
|
|
66240
|
+
"invokable": true
|
|
66241
|
+
},
|
|
66242
|
+
{
|
|
66243
|
+
"id": "memory.vector.rebuild",
|
|
66244
|
+
"title": "Rebuild Memory Vector Index",
|
|
66245
|
+
"description": "Rebuild the sqlite-vec vector index.",
|
|
66246
|
+
"category": "memory",
|
|
66247
|
+
"source": "builtin",
|
|
66248
|
+
"access": "admin",
|
|
66249
|
+
"transport": [
|
|
66250
|
+
"http",
|
|
66251
|
+
"ws"
|
|
66252
|
+
],
|
|
66253
|
+
"scopes": [
|
|
66254
|
+
"write:memory"
|
|
66255
|
+
],
|
|
66256
|
+
"http": {
|
|
66257
|
+
"method": "POST",
|
|
66258
|
+
"path": "/api/memory/vector/rebuild"
|
|
66259
|
+
},
|
|
66260
|
+
"inputSchema": {
|
|
66261
|
+
"type": "object",
|
|
66262
|
+
"properties": {},
|
|
66263
|
+
"additionalProperties": false
|
|
63860
66264
|
},
|
|
63861
66265
|
"outputSchema": {
|
|
63862
66266
|
"type": "object",
|
|
63863
66267
|
"properties": {
|
|
63864
|
-
"
|
|
66268
|
+
"vector": {
|
|
63865
66269
|
"type": "object",
|
|
63866
66270
|
"properties": {
|
|
63867
|
-
"
|
|
63868
|
-
"type": "string"
|
|
63869
|
-
},
|
|
63870
|
-
"scope": {
|
|
66271
|
+
"backend": {
|
|
63871
66272
|
"type": "string",
|
|
63872
66273
|
"enum": [
|
|
63873
|
-
"
|
|
63874
|
-
"project",
|
|
63875
|
-
"team"
|
|
66274
|
+
"sqlite-vec"
|
|
63876
66275
|
]
|
|
63877
66276
|
},
|
|
63878
|
-
"
|
|
66277
|
+
"enabled": {
|
|
66278
|
+
"type": "boolean"
|
|
66279
|
+
},
|
|
66280
|
+
"available": {
|
|
66281
|
+
"type": "boolean"
|
|
66282
|
+
},
|
|
66283
|
+
"path": {
|
|
66284
|
+
"type": "string"
|
|
66285
|
+
},
|
|
66286
|
+
"dimensions": {
|
|
66287
|
+
"type": "number"
|
|
66288
|
+
},
|
|
66289
|
+
"indexedRecords": {
|
|
66290
|
+
"type": "number"
|
|
66291
|
+
},
|
|
66292
|
+
"embeddingProviderId": {
|
|
66293
|
+
"type": "string"
|
|
66294
|
+
},
|
|
66295
|
+
"embeddingProviderLabel": {
|
|
66296
|
+
"type": "string"
|
|
66297
|
+
},
|
|
66298
|
+
"error": {
|
|
66299
|
+
"type": "string"
|
|
66300
|
+
},
|
|
66301
|
+
"platformLimitReason": {
|
|
66302
|
+
"type": "string"
|
|
66303
|
+
}
|
|
66304
|
+
},
|
|
66305
|
+
"required": [
|
|
66306
|
+
"backend",
|
|
66307
|
+
"enabled",
|
|
66308
|
+
"available",
|
|
66309
|
+
"path",
|
|
66310
|
+
"dimensions",
|
|
66311
|
+
"indexedRecords",
|
|
66312
|
+
"embeddingProviderId",
|
|
66313
|
+
"embeddingProviderLabel"
|
|
66314
|
+
],
|
|
66315
|
+
"additionalProperties": true
|
|
66316
|
+
}
|
|
66317
|
+
},
|
|
66318
|
+
"required": [
|
|
66319
|
+
"vector"
|
|
66320
|
+
],
|
|
66321
|
+
"additionalProperties": false
|
|
66322
|
+
},
|
|
66323
|
+
"invokable": true
|
|
66324
|
+
},
|
|
66325
|
+
{
|
|
66326
|
+
"id": "memory.vector.stats",
|
|
66327
|
+
"title": "Memory Vector Stats",
|
|
66328
|
+
"description": "Return the current sqlite-vec vector-store posture.",
|
|
66329
|
+
"category": "memory",
|
|
66330
|
+
"source": "builtin",
|
|
66331
|
+
"access": "authenticated",
|
|
66332
|
+
"transport": [
|
|
66333
|
+
"http",
|
|
66334
|
+
"ws"
|
|
66335
|
+
],
|
|
66336
|
+
"scopes": [
|
|
66337
|
+
"read:memory"
|
|
66338
|
+
],
|
|
66339
|
+
"http": {
|
|
66340
|
+
"method": "GET",
|
|
66341
|
+
"path": "/api/memory/vector"
|
|
66342
|
+
},
|
|
66343
|
+
"inputSchema": {
|
|
66344
|
+
"type": "object",
|
|
66345
|
+
"properties": {},
|
|
66346
|
+
"additionalProperties": false
|
|
66347
|
+
},
|
|
66348
|
+
"outputSchema": {
|
|
66349
|
+
"type": "object",
|
|
66350
|
+
"properties": {
|
|
66351
|
+
"vector": {
|
|
66352
|
+
"type": "object",
|
|
66353
|
+
"properties": {
|
|
66354
|
+
"backend": {
|
|
63879
66355
|
"type": "string",
|
|
63880
66356
|
"enum": [
|
|
63881
|
-
"
|
|
63882
|
-
"constraint",
|
|
63883
|
-
"incident",
|
|
63884
|
-
"pattern",
|
|
63885
|
-
"fact",
|
|
63886
|
-
"risk",
|
|
63887
|
-
"runbook",
|
|
63888
|
-
"architecture",
|
|
63889
|
-
"ownership"
|
|
66357
|
+
"sqlite-vec"
|
|
63890
66358
|
]
|
|
63891
66359
|
},
|
|
63892
|
-
"
|
|
66360
|
+
"enabled": {
|
|
66361
|
+
"type": "boolean"
|
|
66362
|
+
},
|
|
66363
|
+
"available": {
|
|
66364
|
+
"type": "boolean"
|
|
66365
|
+
},
|
|
66366
|
+
"path": {
|
|
63893
66367
|
"type": "string"
|
|
63894
66368
|
},
|
|
63895
|
-
"
|
|
66369
|
+
"dimensions": {
|
|
66370
|
+
"type": "number"
|
|
66371
|
+
},
|
|
66372
|
+
"indexedRecords": {
|
|
66373
|
+
"type": "number"
|
|
66374
|
+
},
|
|
66375
|
+
"embeddingProviderId": {
|
|
63896
66376
|
"type": "string"
|
|
63897
66377
|
},
|
|
63898
|
-
"
|
|
63899
|
-
"type": "
|
|
63900
|
-
|
|
66378
|
+
"embeddingProviderLabel": {
|
|
66379
|
+
"type": "string"
|
|
66380
|
+
},
|
|
66381
|
+
"error": {
|
|
66382
|
+
"type": "string"
|
|
66383
|
+
},
|
|
66384
|
+
"platformLimitReason": {
|
|
66385
|
+
"type": "string"
|
|
66386
|
+
}
|
|
66387
|
+
},
|
|
66388
|
+
"required": [
|
|
66389
|
+
"backend",
|
|
66390
|
+
"enabled",
|
|
66391
|
+
"available",
|
|
66392
|
+
"path",
|
|
66393
|
+
"dimensions",
|
|
66394
|
+
"indexedRecords",
|
|
66395
|
+
"embeddingProviderId",
|
|
66396
|
+
"embeddingProviderLabel"
|
|
66397
|
+
],
|
|
66398
|
+
"additionalProperties": true
|
|
66399
|
+
}
|
|
66400
|
+
},
|
|
66401
|
+
"required": [
|
|
66402
|
+
"vector"
|
|
66403
|
+
],
|
|
66404
|
+
"additionalProperties": false
|
|
66405
|
+
},
|
|
66406
|
+
"invokable": true
|
|
66407
|
+
},
|
|
66408
|
+
{
|
|
66409
|
+
"id": "pairing.handoff.complete",
|
|
66410
|
+
"title": "Complete Pairing Hand-off",
|
|
66411
|
+
"description": "Apply the surface's per-offer decisions in ONE pass: an accepted notifications offer registers the browser push subscription (endpoint + keys, optional deviceId), an accepted passkey offer registers the WebAuthn credential, an accepted relay offer is acknowledged. Each offer returns an honest per-offer result (completed / declined / unavailable / failed); an omitted or false offer is reported as declined, never silently half-applied.",
|
|
66412
|
+
"category": "pairing",
|
|
66413
|
+
"source": "builtin",
|
|
66414
|
+
"access": "authenticated",
|
|
66415
|
+
"transport": [
|
|
66416
|
+
"ws"
|
|
66417
|
+
],
|
|
66418
|
+
"scopes": [
|
|
66419
|
+
"write:control-plane"
|
|
66420
|
+
],
|
|
66421
|
+
"inputSchema": {
|
|
66422
|
+
"type": "object",
|
|
66423
|
+
"properties": {
|
|
66424
|
+
"accept": {
|
|
66425
|
+
"type": "object",
|
|
66426
|
+
"properties": {
|
|
66427
|
+
"notifications": {
|
|
66428
|
+
"type": "object",
|
|
66429
|
+
"properties": {
|
|
66430
|
+
"endpoint": {
|
|
66431
|
+
"type": "string"
|
|
66432
|
+
},
|
|
66433
|
+
"keys": {
|
|
66434
|
+
"type": "object",
|
|
66435
|
+
"properties": {
|
|
66436
|
+
"p256dh": {
|
|
66437
|
+
"type": "string"
|
|
66438
|
+
},
|
|
66439
|
+
"auth": {
|
|
66440
|
+
"type": "string"
|
|
66441
|
+
}
|
|
66442
|
+
},
|
|
66443
|
+
"required": [
|
|
66444
|
+
"p256dh",
|
|
66445
|
+
"auth"
|
|
66446
|
+
],
|
|
66447
|
+
"additionalProperties": false
|
|
66448
|
+
},
|
|
66449
|
+
"deviceId": {
|
|
66450
|
+
"type": "string"
|
|
66451
|
+
}
|
|
66452
|
+
},
|
|
66453
|
+
"required": [
|
|
66454
|
+
"endpoint",
|
|
66455
|
+
"keys"
|
|
66456
|
+
],
|
|
66457
|
+
"additionalProperties": false
|
|
66458
|
+
},
|
|
66459
|
+
"relay": {
|
|
66460
|
+
"type": "boolean"
|
|
66461
|
+
},
|
|
66462
|
+
"passkey": {
|
|
66463
|
+
"type": "object",
|
|
66464
|
+
"properties": {
|
|
66465
|
+
"rpId": {
|
|
66466
|
+
"type": "string"
|
|
66467
|
+
},
|
|
66468
|
+
"origin": {
|
|
66469
|
+
"type": "string"
|
|
66470
|
+
},
|
|
66471
|
+
"credentialId": {
|
|
66472
|
+
"type": "string"
|
|
66473
|
+
},
|
|
66474
|
+
"publicKeyCose": {
|
|
66475
|
+
"type": "string"
|
|
66476
|
+
}
|
|
66477
|
+
},
|
|
66478
|
+
"required": [
|
|
66479
|
+
"rpId",
|
|
66480
|
+
"origin",
|
|
66481
|
+
"credentialId",
|
|
66482
|
+
"publicKeyCose"
|
|
66483
|
+
],
|
|
66484
|
+
"additionalProperties": false
|
|
66485
|
+
}
|
|
66486
|
+
},
|
|
66487
|
+
"additionalProperties": false
|
|
66488
|
+
}
|
|
66489
|
+
},
|
|
66490
|
+
"additionalProperties": false
|
|
66491
|
+
},
|
|
66492
|
+
"outputSchema": {
|
|
66493
|
+
"type": "object",
|
|
66494
|
+
"properties": {
|
|
66495
|
+
"results": {
|
|
66496
|
+
"type": "array",
|
|
66497
|
+
"items": {
|
|
66498
|
+
"type": "object",
|
|
66499
|
+
"properties": {
|
|
66500
|
+
"kind": {
|
|
66501
|
+
"type": "string"
|
|
66502
|
+
},
|
|
66503
|
+
"status": {
|
|
66504
|
+
"type": "string"
|
|
66505
|
+
},
|
|
66506
|
+
"detail": {
|
|
63901
66507
|
"type": "string"
|
|
63902
66508
|
}
|
|
63903
66509
|
},
|
|
63904
|
-
"
|
|
66510
|
+
"required": [
|
|
66511
|
+
"kind",
|
|
66512
|
+
"status"
|
|
66513
|
+
],
|
|
66514
|
+
"additionalProperties": false
|
|
66515
|
+
}
|
|
66516
|
+
}
|
|
66517
|
+
},
|
|
66518
|
+
"required": [
|
|
66519
|
+
"results"
|
|
66520
|
+
],
|
|
66521
|
+
"additionalProperties": false
|
|
66522
|
+
},
|
|
66523
|
+
"invokable": true
|
|
66524
|
+
},
|
|
66525
|
+
{
|
|
66526
|
+
"id": "pairing.handoff.create",
|
|
66527
|
+
"title": "Create Pairing Hand-off",
|
|
66528
|
+
"description": "Mint a per-device token AND assemble the set-up OFFER SET this daemon can satisfy (notifications — carrying the VAPID public key; relay; passkey step-up), so a freshly-paired surface can complete them in one pass. Returns the offer set, the `#pair=<token>` deep-link fragment (the exact URL-fragment shape the web app consumes — token in `pair=`, offers in `offers=`), a full deep link when a web origin is configured, and that origin's honest TLS/capability POSTURE: the one plain-http-on-LAN notice line (stated here, never a nag) plus per-capability availability labels so surfaces render \"needs https — available via tailscale\" instead of dead buttons. The token secret is returned exactly once. Each offer is independently declinable at completion.",
|
|
66529
|
+
"category": "pairing",
|
|
66530
|
+
"source": "builtin",
|
|
66531
|
+
"access": "authenticated",
|
|
66532
|
+
"transport": [
|
|
66533
|
+
"ws"
|
|
66534
|
+
],
|
|
66535
|
+
"scopes": [
|
|
66536
|
+
"write:control-plane"
|
|
66537
|
+
],
|
|
66538
|
+
"inputSchema": {
|
|
66539
|
+
"type": "object",
|
|
66540
|
+
"properties": {
|
|
66541
|
+
"name": {
|
|
66542
|
+
"type": "string"
|
|
66543
|
+
},
|
|
66544
|
+
"offers": {
|
|
66545
|
+
"type": "array",
|
|
66546
|
+
"items": {
|
|
66547
|
+
"type": "string"
|
|
66548
|
+
}
|
|
66549
|
+
}
|
|
66550
|
+
},
|
|
66551
|
+
"required": [
|
|
66552
|
+
"name"
|
|
66553
|
+
],
|
|
66554
|
+
"additionalProperties": false
|
|
66555
|
+
},
|
|
66556
|
+
"outputSchema": {
|
|
66557
|
+
"type": "object",
|
|
66558
|
+
"properties": {
|
|
66559
|
+
"token": {
|
|
66560
|
+
"type": "object",
|
|
66561
|
+
"properties": {
|
|
66562
|
+
"id": {
|
|
66563
|
+
"type": "string"
|
|
66564
|
+
},
|
|
66565
|
+
"name": {
|
|
66566
|
+
"type": "string"
|
|
66567
|
+
},
|
|
66568
|
+
"token": {
|
|
66569
|
+
"type": "string"
|
|
66570
|
+
},
|
|
66571
|
+
"createdAt": {
|
|
66572
|
+
"type": "number"
|
|
66573
|
+
}
|
|
66574
|
+
},
|
|
66575
|
+
"required": [
|
|
66576
|
+
"id",
|
|
66577
|
+
"name",
|
|
66578
|
+
"token",
|
|
66579
|
+
"createdAt"
|
|
66580
|
+
],
|
|
66581
|
+
"additionalProperties": false
|
|
66582
|
+
},
|
|
66583
|
+
"offers": {
|
|
66584
|
+
"type": "array",
|
|
66585
|
+
"items": {
|
|
66586
|
+
"type": "object",
|
|
66587
|
+
"properties": {
|
|
66588
|
+
"kind": {
|
|
66589
|
+
"type": "string"
|
|
66590
|
+
},
|
|
66591
|
+
"available": {
|
|
66592
|
+
"type": "boolean"
|
|
66593
|
+
},
|
|
66594
|
+
"vapidPublicKey": {
|
|
66595
|
+
"type": "string"
|
|
66596
|
+
}
|
|
66597
|
+
},
|
|
66598
|
+
"required": [
|
|
66599
|
+
"kind",
|
|
66600
|
+
"available"
|
|
66601
|
+
],
|
|
66602
|
+
"additionalProperties": false
|
|
66603
|
+
}
|
|
66604
|
+
},
|
|
66605
|
+
"fragment": {
|
|
66606
|
+
"type": "string"
|
|
66607
|
+
},
|
|
66608
|
+
"deepLink": {
|
|
66609
|
+
"type": "string"
|
|
66610
|
+
},
|
|
66611
|
+
"posture": {
|
|
66612
|
+
"type": "object",
|
|
66613
|
+
"properties": {
|
|
66614
|
+
"origin": {
|
|
66615
|
+
"type": "string"
|
|
66616
|
+
},
|
|
66617
|
+
"scheme": {
|
|
66618
|
+
"type": "string"
|
|
66619
|
+
},
|
|
66620
|
+
"privateNetwork": {
|
|
66621
|
+
"type": "boolean"
|
|
66622
|
+
},
|
|
66623
|
+
"secureContext": {
|
|
66624
|
+
"type": "boolean"
|
|
66625
|
+
},
|
|
66626
|
+
"notice": {
|
|
66627
|
+
"type": "string"
|
|
66628
|
+
},
|
|
66629
|
+
"capabilities": {
|
|
63905
66630
|
"type": "array",
|
|
63906
66631
|
"items": {
|
|
63907
66632
|
"type": "object",
|
|
63908
66633
|
"properties": {
|
|
63909
|
-
"
|
|
63910
|
-
"type": "string",
|
|
63911
|
-
"enum": [
|
|
63912
|
-
"session",
|
|
63913
|
-
"turn",
|
|
63914
|
-
"task",
|
|
63915
|
-
"event",
|
|
63916
|
-
"file"
|
|
63917
|
-
]
|
|
63918
|
-
},
|
|
63919
|
-
"ref": {
|
|
66634
|
+
"capability": {
|
|
63920
66635
|
"type": "string"
|
|
63921
66636
|
},
|
|
63922
|
-
"
|
|
66637
|
+
"available": {
|
|
66638
|
+
"type": "boolean"
|
|
66639
|
+
},
|
|
66640
|
+
"reason": {
|
|
63923
66641
|
"type": "string"
|
|
63924
66642
|
}
|
|
63925
66643
|
},
|
|
63926
66644
|
"required": [
|
|
63927
|
-
"
|
|
63928
|
-
"
|
|
66645
|
+
"capability",
|
|
66646
|
+
"available"
|
|
63929
66647
|
],
|
|
63930
66648
|
"additionalProperties": false
|
|
63931
66649
|
}
|
|
66650
|
+
}
|
|
66651
|
+
},
|
|
66652
|
+
"required": [
|
|
66653
|
+
"origin",
|
|
66654
|
+
"scheme",
|
|
66655
|
+
"privateNetwork",
|
|
66656
|
+
"secureContext",
|
|
66657
|
+
"capabilities"
|
|
66658
|
+
],
|
|
66659
|
+
"additionalProperties": false
|
|
66660
|
+
}
|
|
66661
|
+
},
|
|
66662
|
+
"required": [
|
|
66663
|
+
"token",
|
|
66664
|
+
"offers",
|
|
66665
|
+
"fragment"
|
|
66666
|
+
],
|
|
66667
|
+
"additionalProperties": false
|
|
66668
|
+
},
|
|
66669
|
+
"invokable": true
|
|
66670
|
+
},
|
|
66671
|
+
{
|
|
66672
|
+
"id": "pairing.posture.get",
|
|
66673
|
+
"title": "Get Origin TLS/Capability Posture",
|
|
66674
|
+
"description": "The honest TLS/capability posture of a web origin — pass your surface's current origin (or omit it to read the configured web origin). Plain http on a private-network origin (LAN IP, .local, localhost) is a supported posture reported with its ONE notice line; browser-gated capabilities (service worker/PWA install, push, microphone) are each labeled available or \"needs https — available via tailscale\" so surfaces render labels instead of dead buttons. Localhost keeps all three. The daemon never mints certificates.",
|
|
66675
|
+
"category": "pairing",
|
|
66676
|
+
"source": "builtin",
|
|
66677
|
+
"access": "authenticated",
|
|
66678
|
+
"transport": [
|
|
66679
|
+
"ws"
|
|
66680
|
+
],
|
|
66681
|
+
"scopes": [
|
|
66682
|
+
"read:control-plane"
|
|
66683
|
+
],
|
|
66684
|
+
"inputSchema": {
|
|
66685
|
+
"type": "object",
|
|
66686
|
+
"properties": {
|
|
66687
|
+
"origin": {
|
|
66688
|
+
"type": "string"
|
|
66689
|
+
}
|
|
66690
|
+
},
|
|
66691
|
+
"additionalProperties": false
|
|
66692
|
+
},
|
|
66693
|
+
"outputSchema": {
|
|
66694
|
+
"type": "object",
|
|
66695
|
+
"properties": {
|
|
66696
|
+
"posture": {
|
|
66697
|
+
"type": "object",
|
|
66698
|
+
"properties": {
|
|
66699
|
+
"origin": {
|
|
66700
|
+
"type": "string"
|
|
63932
66701
|
},
|
|
63933
|
-
"
|
|
63934
|
-
"type": "string"
|
|
63935
|
-
"enum": [
|
|
63936
|
-
"fresh",
|
|
63937
|
-
"reviewed",
|
|
63938
|
-
"stale",
|
|
63939
|
-
"contradicted"
|
|
63940
|
-
]
|
|
66702
|
+
"scheme": {
|
|
66703
|
+
"type": "string"
|
|
63941
66704
|
},
|
|
63942
|
-
"
|
|
63943
|
-
"type": "
|
|
66705
|
+
"privateNetwork": {
|
|
66706
|
+
"type": "boolean"
|
|
63944
66707
|
},
|
|
63945
|
-
"
|
|
63946
|
-
"type": "
|
|
66708
|
+
"secureContext": {
|
|
66709
|
+
"type": "boolean"
|
|
66710
|
+
},
|
|
66711
|
+
"notice": {
|
|
66712
|
+
"type": "string"
|
|
66713
|
+
},
|
|
66714
|
+
"capabilities": {
|
|
66715
|
+
"type": "array",
|
|
66716
|
+
"items": {
|
|
66717
|
+
"type": "object",
|
|
66718
|
+
"properties": {
|
|
66719
|
+
"capability": {
|
|
66720
|
+
"type": "string"
|
|
66721
|
+
},
|
|
66722
|
+
"available": {
|
|
66723
|
+
"type": "boolean"
|
|
66724
|
+
},
|
|
66725
|
+
"reason": {
|
|
66726
|
+
"type": "string"
|
|
66727
|
+
}
|
|
66728
|
+
},
|
|
66729
|
+
"required": [
|
|
66730
|
+
"capability",
|
|
66731
|
+
"available"
|
|
66732
|
+
],
|
|
66733
|
+
"additionalProperties": false
|
|
66734
|
+
}
|
|
66735
|
+
}
|
|
66736
|
+
},
|
|
66737
|
+
"required": [
|
|
66738
|
+
"origin",
|
|
66739
|
+
"scheme",
|
|
66740
|
+
"privateNetwork",
|
|
66741
|
+
"secureContext",
|
|
66742
|
+
"capabilities"
|
|
66743
|
+
],
|
|
66744
|
+
"additionalProperties": false
|
|
66745
|
+
}
|
|
66746
|
+
},
|
|
66747
|
+
"required": [
|
|
66748
|
+
"posture"
|
|
66749
|
+
],
|
|
66750
|
+
"additionalProperties": false
|
|
66751
|
+
},
|
|
66752
|
+
"invokable": true
|
|
66753
|
+
},
|
|
66754
|
+
{
|
|
66755
|
+
"id": "pairing.tokens.create",
|
|
66756
|
+
"title": "Mint Paired Device Token",
|
|
66757
|
+
"description": "Mint a new named per-device operator token and return its plaintext secret EXACTLY ONCE (for a QR / pairing hand-off). Only a hash is persisted; the secret is never listed or returned again. The name is user-visible and editable.",
|
|
66758
|
+
"category": "pairing",
|
|
66759
|
+
"source": "builtin",
|
|
66760
|
+
"access": "authenticated",
|
|
66761
|
+
"transport": [
|
|
66762
|
+
"ws"
|
|
66763
|
+
],
|
|
66764
|
+
"scopes": [
|
|
66765
|
+
"write:control-plane"
|
|
66766
|
+
],
|
|
66767
|
+
"inputSchema": {
|
|
66768
|
+
"type": "object",
|
|
66769
|
+
"properties": {
|
|
66770
|
+
"name": {
|
|
66771
|
+
"type": "string"
|
|
66772
|
+
}
|
|
66773
|
+
},
|
|
66774
|
+
"required": [
|
|
66775
|
+
"name"
|
|
66776
|
+
],
|
|
66777
|
+
"additionalProperties": false
|
|
66778
|
+
},
|
|
66779
|
+
"outputSchema": {
|
|
66780
|
+
"type": "object",
|
|
66781
|
+
"properties": {
|
|
66782
|
+
"token": {
|
|
66783
|
+
"type": "object",
|
|
66784
|
+
"properties": {
|
|
66785
|
+
"id": {
|
|
66786
|
+
"type": "string"
|
|
63947
66787
|
},
|
|
63948
|
-
"
|
|
66788
|
+
"name": {
|
|
63949
66789
|
"type": "string"
|
|
63950
66790
|
},
|
|
63951
|
-
"
|
|
66791
|
+
"token": {
|
|
63952
66792
|
"type": "string"
|
|
63953
66793
|
},
|
|
63954
66794
|
"createdAt": {
|
|
63955
66795
|
"type": "number"
|
|
63956
|
-
},
|
|
63957
|
-
"updatedAt": {
|
|
63958
|
-
"type": "number"
|
|
63959
66796
|
}
|
|
63960
66797
|
},
|
|
63961
66798
|
"required": [
|
|
63962
66799
|
"id",
|
|
63963
|
-
"
|
|
63964
|
-
"
|
|
63965
|
-
"
|
|
63966
|
-
"tags",
|
|
63967
|
-
"provenance",
|
|
63968
|
-
"reviewState",
|
|
63969
|
-
"confidence",
|
|
63970
|
-
"createdAt",
|
|
63971
|
-
"updatedAt"
|
|
66800
|
+
"name",
|
|
66801
|
+
"token",
|
|
66802
|
+
"createdAt"
|
|
63972
66803
|
],
|
|
63973
|
-
"additionalProperties":
|
|
66804
|
+
"additionalProperties": false
|
|
63974
66805
|
}
|
|
63975
66806
|
},
|
|
63976
66807
|
"required": [
|
|
63977
|
-
"
|
|
66808
|
+
"token"
|
|
63978
66809
|
],
|
|
63979
66810
|
"additionalProperties": false
|
|
63980
66811
|
},
|
|
63981
66812
|
"invokable": true
|
|
63982
66813
|
},
|
|
63983
66814
|
{
|
|
63984
|
-
"id": "
|
|
63985
|
-
"title": "
|
|
63986
|
-
"description": "
|
|
63987
|
-
"category": "
|
|
66815
|
+
"id": "pairing.tokens.delete",
|
|
66816
|
+
"title": "Revoke Paired Device Token",
|
|
66817
|
+
"description": "Revoke (permanently delete) one paired device token. Revocation is immediate: the token fails the very next request with a 401, and every OTHER paired device keeps working. An unknown id is a 404 PAIRING_TOKEN_NOT_FOUND, never a 200-noop.",
|
|
66818
|
+
"category": "pairing",
|
|
63988
66819
|
"source": "builtin",
|
|
63989
66820
|
"access": "authenticated",
|
|
63990
66821
|
"transport": [
|
|
63991
|
-
"http",
|
|
63992
66822
|
"ws"
|
|
63993
66823
|
],
|
|
63994
66824
|
"scopes": [
|
|
63995
|
-
"
|
|
66825
|
+
"write:control-plane"
|
|
63996
66826
|
],
|
|
63997
|
-
"http": {
|
|
63998
|
-
"method": "GET",
|
|
63999
|
-
"path": "/api/memory/review-queue"
|
|
64000
|
-
},
|
|
64001
66827
|
"inputSchema": {
|
|
64002
66828
|
"type": "object",
|
|
64003
66829
|
"properties": {
|
|
64004
|
-
"
|
|
64005
|
-
"type": "
|
|
66830
|
+
"id": {
|
|
66831
|
+
"type": "string"
|
|
66832
|
+
}
|
|
66833
|
+
},
|
|
66834
|
+
"required": [
|
|
66835
|
+
"id"
|
|
66836
|
+
],
|
|
66837
|
+
"additionalProperties": false
|
|
66838
|
+
},
|
|
66839
|
+
"outputSchema": {
|
|
66840
|
+
"type": "object",
|
|
66841
|
+
"properties": {
|
|
66842
|
+
"id": {
|
|
66843
|
+
"type": "string"
|
|
64006
66844
|
},
|
|
64007
|
-
"
|
|
64008
|
-
"type": "
|
|
64009
|
-
"enum": [
|
|
64010
|
-
"session",
|
|
64011
|
-
"project",
|
|
64012
|
-
"team"
|
|
64013
|
-
]
|
|
66845
|
+
"revoked": {
|
|
66846
|
+
"type": "boolean"
|
|
64014
66847
|
}
|
|
64015
66848
|
},
|
|
66849
|
+
"required": [
|
|
66850
|
+
"id",
|
|
66851
|
+
"revoked"
|
|
66852
|
+
],
|
|
64016
66853
|
"additionalProperties": false
|
|
64017
66854
|
},
|
|
66855
|
+
"invokable": true
|
|
66856
|
+
},
|
|
66857
|
+
{
|
|
66858
|
+
"id": "pairing.tokens.list",
|
|
66859
|
+
"title": "List Paired Device Tokens",
|
|
66860
|
+
"description": "List the per-pairing operator tokens (paired devices/browsers) as redacted views: id, user-visible name, created timestamp, and last-seen timestamp. The token secret is never stored in listable form and is never returned.",
|
|
66861
|
+
"category": "pairing",
|
|
66862
|
+
"source": "builtin",
|
|
66863
|
+
"access": "authenticated",
|
|
66864
|
+
"transport": [
|
|
66865
|
+
"ws"
|
|
66866
|
+
],
|
|
66867
|
+
"scopes": [
|
|
66868
|
+
"read:control-plane"
|
|
66869
|
+
],
|
|
64018
66870
|
"outputSchema": {
|
|
64019
66871
|
"type": "object",
|
|
64020
66872
|
"properties": {
|
|
64021
|
-
"
|
|
66873
|
+
"tokens": {
|
|
64022
66874
|
"type": "array",
|
|
64023
66875
|
"items": {
|
|
64024
66876
|
"type": "object",
|
|
64025
|
-
"properties": {
|
|
64026
|
-
|
|
66877
|
+
"properties": {
|
|
66878
|
+
"id": {
|
|
66879
|
+
"type": "string"
|
|
66880
|
+
},
|
|
66881
|
+
"name": {
|
|
66882
|
+
"type": "string"
|
|
66883
|
+
},
|
|
66884
|
+
"createdAt": {
|
|
66885
|
+
"type": "number"
|
|
66886
|
+
},
|
|
66887
|
+
"lastSeenAt": {
|
|
66888
|
+
"type": "number"
|
|
66889
|
+
}
|
|
66890
|
+
},
|
|
66891
|
+
"required": [
|
|
66892
|
+
"id",
|
|
66893
|
+
"name",
|
|
66894
|
+
"createdAt"
|
|
66895
|
+
],
|
|
66896
|
+
"additionalProperties": false
|
|
64027
66897
|
}
|
|
66898
|
+
},
|
|
66899
|
+
"legacySharedRevoked": {
|
|
66900
|
+
"type": "boolean"
|
|
64028
66901
|
}
|
|
64029
66902
|
},
|
|
64030
66903
|
"required": [
|
|
64031
|
-
"
|
|
66904
|
+
"tokens",
|
|
66905
|
+
"legacySharedRevoked"
|
|
64032
66906
|
],
|
|
64033
66907
|
"additionalProperties": false
|
|
64034
66908
|
},
|
|
64035
66909
|
"invokable": true
|
|
64036
66910
|
},
|
|
64037
66911
|
{
|
|
64038
|
-
"id": "
|
|
64039
|
-
"title": "
|
|
64040
|
-
"description": "
|
|
64041
|
-
"category": "
|
|
66912
|
+
"id": "pairing.tokens.migrate",
|
|
66913
|
+
"title": "Migrate Off The Shared Token",
|
|
66914
|
+
"description": "A client currently authenticated with the legacy single shared token mints its OWN named per-device token and receives the plaintext secret once — the honest migration path. This does NOT revoke the shared token; that is a separate explicit step (pairing.tokens.revokeShared).",
|
|
66915
|
+
"category": "pairing",
|
|
64042
66916
|
"source": "builtin",
|
|
64043
|
-
"access": "
|
|
66917
|
+
"access": "authenticated",
|
|
64044
66918
|
"transport": [
|
|
64045
|
-
"http",
|
|
64046
66919
|
"ws"
|
|
64047
66920
|
],
|
|
64048
66921
|
"scopes": [
|
|
64049
|
-
"write:
|
|
66922
|
+
"write:control-plane"
|
|
64050
66923
|
],
|
|
64051
|
-
"http": {
|
|
64052
|
-
"method": "POST",
|
|
64053
|
-
"path": "/api/memory/vector/rebuild"
|
|
64054
|
-
},
|
|
64055
66924
|
"inputSchema": {
|
|
64056
66925
|
"type": "object",
|
|
64057
|
-
"properties": {
|
|
66926
|
+
"properties": {
|
|
66927
|
+
"name": {
|
|
66928
|
+
"type": "string"
|
|
66929
|
+
}
|
|
66930
|
+
},
|
|
66931
|
+
"required": [
|
|
66932
|
+
"name"
|
|
66933
|
+
],
|
|
64058
66934
|
"additionalProperties": false
|
|
64059
66935
|
},
|
|
64060
66936
|
"outputSchema": {
|
|
64061
66937
|
"type": "object",
|
|
64062
66938
|
"properties": {
|
|
64063
|
-
"
|
|
66939
|
+
"token": {
|
|
64064
66940
|
"type": "object",
|
|
64065
66941
|
"properties": {
|
|
64066
|
-
"
|
|
64067
|
-
"type": "string",
|
|
64068
|
-
"enum": [
|
|
64069
|
-
"sqlite-vec"
|
|
64070
|
-
]
|
|
64071
|
-
},
|
|
64072
|
-
"enabled": {
|
|
64073
|
-
"type": "boolean"
|
|
64074
|
-
},
|
|
64075
|
-
"available": {
|
|
64076
|
-
"type": "boolean"
|
|
64077
|
-
},
|
|
64078
|
-
"path": {
|
|
64079
|
-
"type": "string"
|
|
64080
|
-
},
|
|
64081
|
-
"dimensions": {
|
|
64082
|
-
"type": "number"
|
|
64083
|
-
},
|
|
64084
|
-
"indexedRecords": {
|
|
64085
|
-
"type": "number"
|
|
64086
|
-
},
|
|
64087
|
-
"embeddingProviderId": {
|
|
66942
|
+
"id": {
|
|
64088
66943
|
"type": "string"
|
|
64089
66944
|
},
|
|
64090
|
-
"
|
|
66945
|
+
"name": {
|
|
64091
66946
|
"type": "string"
|
|
64092
66947
|
},
|
|
64093
|
-
"
|
|
66948
|
+
"token": {
|
|
64094
66949
|
"type": "string"
|
|
64095
66950
|
},
|
|
64096
|
-
"
|
|
64097
|
-
"type": "
|
|
66951
|
+
"createdAt": {
|
|
66952
|
+
"type": "number"
|
|
64098
66953
|
}
|
|
64099
66954
|
},
|
|
64100
66955
|
"required": [
|
|
64101
|
-
"
|
|
64102
|
-
"
|
|
64103
|
-
"
|
|
64104
|
-
"
|
|
64105
|
-
"dimensions",
|
|
64106
|
-
"indexedRecords",
|
|
64107
|
-
"embeddingProviderId",
|
|
64108
|
-
"embeddingProviderLabel"
|
|
66956
|
+
"id",
|
|
66957
|
+
"name",
|
|
66958
|
+
"token",
|
|
66959
|
+
"createdAt"
|
|
64109
66960
|
],
|
|
64110
|
-
"additionalProperties":
|
|
66961
|
+
"additionalProperties": false
|
|
64111
66962
|
}
|
|
64112
66963
|
},
|
|
64113
66964
|
"required": [
|
|
64114
|
-
"
|
|
66965
|
+
"token"
|
|
64115
66966
|
],
|
|
64116
66967
|
"additionalProperties": false
|
|
64117
66968
|
},
|
|
64118
66969
|
"invokable": true
|
|
64119
66970
|
},
|
|
64120
66971
|
{
|
|
64121
|
-
"id": "
|
|
64122
|
-
"title": "
|
|
64123
|
-
"description": "
|
|
64124
|
-
"category": "
|
|
66972
|
+
"id": "pairing.tokens.rename",
|
|
66973
|
+
"title": "Rename Paired Device Token",
|
|
66974
|
+
"description": "Change the user-visible name of a paired device token. An unknown id is a 404 PAIRING_TOKEN_NOT_FOUND.",
|
|
66975
|
+
"category": "pairing",
|
|
64125
66976
|
"source": "builtin",
|
|
64126
66977
|
"access": "authenticated",
|
|
64127
66978
|
"transport": [
|
|
64128
|
-
"http",
|
|
64129
66979
|
"ws"
|
|
64130
66980
|
],
|
|
64131
66981
|
"scopes": [
|
|
64132
|
-
"
|
|
66982
|
+
"write:control-plane"
|
|
64133
66983
|
],
|
|
64134
|
-
"http": {
|
|
64135
|
-
"method": "GET",
|
|
64136
|
-
"path": "/api/memory/vector"
|
|
64137
|
-
},
|
|
64138
66984
|
"inputSchema": {
|
|
64139
66985
|
"type": "object",
|
|
64140
|
-
"properties": {
|
|
66986
|
+
"properties": {
|
|
66987
|
+
"id": {
|
|
66988
|
+
"type": "string"
|
|
66989
|
+
},
|
|
66990
|
+
"name": {
|
|
66991
|
+
"type": "string"
|
|
66992
|
+
}
|
|
66993
|
+
},
|
|
66994
|
+
"required": [
|
|
66995
|
+
"id",
|
|
66996
|
+
"name"
|
|
66997
|
+
],
|
|
64141
66998
|
"additionalProperties": false
|
|
64142
66999
|
},
|
|
64143
67000
|
"outputSchema": {
|
|
64144
67001
|
"type": "object",
|
|
64145
67002
|
"properties": {
|
|
64146
|
-
"
|
|
64147
|
-
"type": "
|
|
64148
|
-
|
|
64149
|
-
|
|
64150
|
-
|
|
64151
|
-
"enum": [
|
|
64152
|
-
"sqlite-vec"
|
|
64153
|
-
]
|
|
64154
|
-
},
|
|
64155
|
-
"enabled": {
|
|
64156
|
-
"type": "boolean"
|
|
64157
|
-
},
|
|
64158
|
-
"available": {
|
|
64159
|
-
"type": "boolean"
|
|
64160
|
-
},
|
|
64161
|
-
"path": {
|
|
64162
|
-
"type": "string"
|
|
64163
|
-
},
|
|
64164
|
-
"dimensions": {
|
|
64165
|
-
"type": "number"
|
|
64166
|
-
},
|
|
64167
|
-
"indexedRecords": {
|
|
64168
|
-
"type": "number"
|
|
64169
|
-
},
|
|
64170
|
-
"embeddingProviderId": {
|
|
64171
|
-
"type": "string"
|
|
64172
|
-
},
|
|
64173
|
-
"embeddingProviderLabel": {
|
|
64174
|
-
"type": "string"
|
|
64175
|
-
},
|
|
64176
|
-
"error": {
|
|
64177
|
-
"type": "string"
|
|
64178
|
-
},
|
|
64179
|
-
"platformLimitReason": {
|
|
64180
|
-
"type": "string"
|
|
64181
|
-
}
|
|
64182
|
-
},
|
|
64183
|
-
"required": [
|
|
64184
|
-
"backend",
|
|
64185
|
-
"enabled",
|
|
64186
|
-
"available",
|
|
64187
|
-
"path",
|
|
64188
|
-
"dimensions",
|
|
64189
|
-
"indexedRecords",
|
|
64190
|
-
"embeddingProviderId",
|
|
64191
|
-
"embeddingProviderLabel"
|
|
64192
|
-
],
|
|
64193
|
-
"additionalProperties": true
|
|
67003
|
+
"id": {
|
|
67004
|
+
"type": "string"
|
|
67005
|
+
},
|
|
67006
|
+
"renamed": {
|
|
67007
|
+
"type": "boolean"
|
|
64194
67008
|
}
|
|
64195
67009
|
},
|
|
64196
67010
|
"required": [
|
|
64197
|
-
"
|
|
67011
|
+
"id",
|
|
67012
|
+
"renamed"
|
|
67013
|
+
],
|
|
67014
|
+
"additionalProperties": false
|
|
67015
|
+
},
|
|
67016
|
+
"invokable": true
|
|
67017
|
+
},
|
|
67018
|
+
{
|
|
67019
|
+
"id": "pairing.tokens.revokeShared",
|
|
67020
|
+
"title": "Revoke The Legacy Shared Token",
|
|
67021
|
+
"description": "Turn off the legacy single shared operator token. After this, only per-device pairing tokens (and user sessions) authenticate; the shared token stops working immediately. Idempotent.",
|
|
67022
|
+
"category": "pairing",
|
|
67023
|
+
"source": "builtin",
|
|
67024
|
+
"access": "authenticated",
|
|
67025
|
+
"transport": [
|
|
67026
|
+
"ws"
|
|
67027
|
+
],
|
|
67028
|
+
"scopes": [
|
|
67029
|
+
"write:control-plane"
|
|
67030
|
+
],
|
|
67031
|
+
"outputSchema": {
|
|
67032
|
+
"type": "object",
|
|
67033
|
+
"properties": {
|
|
67034
|
+
"legacySharedRevoked": {
|
|
67035
|
+
"type": "boolean"
|
|
67036
|
+
}
|
|
67037
|
+
},
|
|
67038
|
+
"required": [
|
|
67039
|
+
"legacySharedRevoked"
|
|
64198
67040
|
],
|
|
64199
67041
|
"additionalProperties": false
|
|
64200
67042
|
},
|
|
@@ -66119,7 +68961,7 @@
|
|
|
66119
68961
|
{
|
|
66120
68962
|
"id": "push.subscriptions.create",
|
|
66121
68963
|
"title": "Register Web Push Subscription",
|
|
66122
|
-
"description": "Store a browser Push subscription (endpoint capability URL + p256dh/auth keys) for the authenticated operator so the daemon can deliver notifications to that device.
|
|
68964
|
+
"description": "Store a browser Push subscription (endpoint capability URL + p256dh/auth keys) for the authenticated operator so the daemon can deliver notifications to that device. When a stable deviceId is supplied the record reconciles on that device identity — a browser whose push endpoint rotated re-registers the same deviceId with a new endpoint and heals the one record in place rather than piling up a stale duplicate; without a deviceId it reconciles on the raw endpoint (legacy). The stored endpoint and keys are never returned over the wire; the response is the redacted subscription view.",
|
|
66123
68965
|
"category": "push",
|
|
66124
68966
|
"source": "builtin",
|
|
66125
68967
|
"access": "authenticated",
|
|
@@ -66150,6 +68992,9 @@
|
|
|
66150
68992
|
"auth"
|
|
66151
68993
|
],
|
|
66152
68994
|
"additionalProperties": false
|
|
68995
|
+
},
|
|
68996
|
+
"deviceId": {
|
|
68997
|
+
"type": "string"
|
|
66153
68998
|
}
|
|
66154
68999
|
},
|
|
66155
69000
|
"required": [
|
|
@@ -66170,6 +69015,9 @@
|
|
|
66170
69015
|
"principalId": {
|
|
66171
69016
|
"type": "string"
|
|
66172
69017
|
},
|
|
69018
|
+
"deviceId": {
|
|
69019
|
+
"type": "string"
|
|
69020
|
+
},
|
|
66173
69021
|
"endpointOrigin": {
|
|
66174
69022
|
"type": "string"
|
|
66175
69023
|
},
|
|
@@ -66184,6 +69032,9 @@
|
|
|
66184
69032
|
},
|
|
66185
69033
|
"lastOutcome": {
|
|
66186
69034
|
"type": "string"
|
|
69035
|
+
},
|
|
69036
|
+
"consecutiveFailures": {
|
|
69037
|
+
"type": "number"
|
|
66187
69038
|
}
|
|
66188
69039
|
},
|
|
66189
69040
|
"required": [
|
|
@@ -66273,6 +69124,9 @@
|
|
|
66273
69124
|
"principalId": {
|
|
66274
69125
|
"type": "string"
|
|
66275
69126
|
},
|
|
69127
|
+
"deviceId": {
|
|
69128
|
+
"type": "string"
|
|
69129
|
+
},
|
|
66276
69130
|
"endpointOrigin": {
|
|
66277
69131
|
"type": "string"
|
|
66278
69132
|
},
|
|
@@ -66287,6 +69141,9 @@
|
|
|
66287
69141
|
},
|
|
66288
69142
|
"lastOutcome": {
|
|
66289
69143
|
"type": "string"
|
|
69144
|
+
},
|
|
69145
|
+
"consecutiveFailures": {
|
|
69146
|
+
"type": "number"
|
|
66290
69147
|
}
|
|
66291
69148
|
},
|
|
66292
69149
|
"required": [
|
|
@@ -66307,6 +69164,107 @@
|
|
|
66307
69164
|
},
|
|
66308
69165
|
"invokable": true
|
|
66309
69166
|
},
|
|
69167
|
+
{
|
|
69168
|
+
"id": "push.subscriptions.reconcile",
|
|
69169
|
+
"title": "Reconcile Web Push Subscription",
|
|
69170
|
+
"description": "Reconcile-on-open: the client presents its device identity (deviceId) and its CURRENT endpoint + p256dh/auth keys, and the daemon heals the record for that device in place — updating a stale endpoint the daemon had been holding — then reports what drifted (created / endpoint-updated / keys-updated / unchanged) so the client learns whether the daemon was out of date. A live reconcile also clears the bounded-retry failure counter. The stored endpoint and keys are never returned; the response is the redacted subscription view plus the drift discriminant.",
|
|
69171
|
+
"category": "push",
|
|
69172
|
+
"source": "builtin",
|
|
69173
|
+
"access": "authenticated",
|
|
69174
|
+
"transport": [
|
|
69175
|
+
"ws"
|
|
69176
|
+
],
|
|
69177
|
+
"scopes": [
|
|
69178
|
+
"write:push"
|
|
69179
|
+
],
|
|
69180
|
+
"inputSchema": {
|
|
69181
|
+
"type": "object",
|
|
69182
|
+
"properties": {
|
|
69183
|
+
"deviceId": {
|
|
69184
|
+
"type": "string"
|
|
69185
|
+
},
|
|
69186
|
+
"endpoint": {
|
|
69187
|
+
"type": "string"
|
|
69188
|
+
},
|
|
69189
|
+
"keys": {
|
|
69190
|
+
"type": "object",
|
|
69191
|
+
"properties": {
|
|
69192
|
+
"p256dh": {
|
|
69193
|
+
"type": "string"
|
|
69194
|
+
},
|
|
69195
|
+
"auth": {
|
|
69196
|
+
"type": "string"
|
|
69197
|
+
}
|
|
69198
|
+
},
|
|
69199
|
+
"required": [
|
|
69200
|
+
"p256dh",
|
|
69201
|
+
"auth"
|
|
69202
|
+
],
|
|
69203
|
+
"additionalProperties": false
|
|
69204
|
+
}
|
|
69205
|
+
},
|
|
69206
|
+
"required": [
|
|
69207
|
+
"deviceId",
|
|
69208
|
+
"endpoint",
|
|
69209
|
+
"keys"
|
|
69210
|
+
],
|
|
69211
|
+
"additionalProperties": false
|
|
69212
|
+
},
|
|
69213
|
+
"outputSchema": {
|
|
69214
|
+
"type": "object",
|
|
69215
|
+
"properties": {
|
|
69216
|
+
"subscription": {
|
|
69217
|
+
"type": "object",
|
|
69218
|
+
"properties": {
|
|
69219
|
+
"id": {
|
|
69220
|
+
"type": "string"
|
|
69221
|
+
},
|
|
69222
|
+
"principalId": {
|
|
69223
|
+
"type": "string"
|
|
69224
|
+
},
|
|
69225
|
+
"deviceId": {
|
|
69226
|
+
"type": "string"
|
|
69227
|
+
},
|
|
69228
|
+
"endpointOrigin": {
|
|
69229
|
+
"type": "string"
|
|
69230
|
+
},
|
|
69231
|
+
"endpointHash": {
|
|
69232
|
+
"type": "string"
|
|
69233
|
+
},
|
|
69234
|
+
"createdAt": {
|
|
69235
|
+
"type": "number"
|
|
69236
|
+
},
|
|
69237
|
+
"lastDeliveryAt": {
|
|
69238
|
+
"type": "number"
|
|
69239
|
+
},
|
|
69240
|
+
"lastOutcome": {
|
|
69241
|
+
"type": "string"
|
|
69242
|
+
},
|
|
69243
|
+
"consecutiveFailures": {
|
|
69244
|
+
"type": "number"
|
|
69245
|
+
}
|
|
69246
|
+
},
|
|
69247
|
+
"required": [
|
|
69248
|
+
"id",
|
|
69249
|
+
"principalId",
|
|
69250
|
+
"endpointOrigin",
|
|
69251
|
+
"endpointHash",
|
|
69252
|
+
"createdAt"
|
|
69253
|
+
],
|
|
69254
|
+
"additionalProperties": false
|
|
69255
|
+
},
|
|
69256
|
+
"drift": {
|
|
69257
|
+
"type": "string"
|
|
69258
|
+
}
|
|
69259
|
+
},
|
|
69260
|
+
"required": [
|
|
69261
|
+
"subscription",
|
|
69262
|
+
"drift"
|
|
69263
|
+
],
|
|
69264
|
+
"additionalProperties": false
|
|
69265
|
+
},
|
|
69266
|
+
"invokable": true
|
|
69267
|
+
},
|
|
66310
69268
|
{
|
|
66311
69269
|
"id": "push.subscriptions.verify",
|
|
66312
69270
|
"title": "Send Test Web Push",
|
|
@@ -70448,6 +73406,129 @@
|
|
|
70448
73406
|
},
|
|
70449
73407
|
"invokable": true
|
|
70450
73408
|
},
|
|
73409
|
+
{
|
|
73410
|
+
"id": "tailscale.get",
|
|
73411
|
+
"title": "Detect Tailscale Environment",
|
|
73412
|
+
"description": "READ-ONLY detection of a usable tailscale environment: binary present, logged-in status, MagicDNS name, and the https URL `tailscale serve` would yield. Never invokes a state-changing tailscale command. Where tailscale is absent the result says so once — surfaces offer the auto-wire affordance only when this reports a usable environment; nothing nags. Includes the most recent serve receipt, if any.",
|
|
73413
|
+
"category": "remote-access",
|
|
73414
|
+
"source": "builtin",
|
|
73415
|
+
"access": "authenticated",
|
|
73416
|
+
"transport": [
|
|
73417
|
+
"ws"
|
|
73418
|
+
],
|
|
73419
|
+
"scopes": [
|
|
73420
|
+
"read:control-plane"
|
|
73421
|
+
],
|
|
73422
|
+
"outputSchema": {
|
|
73423
|
+
"type": "object",
|
|
73424
|
+
"properties": {
|
|
73425
|
+
"available": {
|
|
73426
|
+
"type": "boolean"
|
|
73427
|
+
},
|
|
73428
|
+
"loggedIn": {
|
|
73429
|
+
"type": "boolean"
|
|
73430
|
+
},
|
|
73431
|
+
"magicDnsName": {
|
|
73432
|
+
"type": "string"
|
|
73433
|
+
},
|
|
73434
|
+
"httpsUrl": {
|
|
73435
|
+
"type": "string"
|
|
73436
|
+
},
|
|
73437
|
+
"detail": {
|
|
73438
|
+
"type": "string"
|
|
73439
|
+
},
|
|
73440
|
+
"lastServe": {
|
|
73441
|
+
"type": "object",
|
|
73442
|
+
"properties": {
|
|
73443
|
+
"at": {
|
|
73444
|
+
"type": "number"
|
|
73445
|
+
},
|
|
73446
|
+
"command": {
|
|
73447
|
+
"type": "string"
|
|
73448
|
+
},
|
|
73449
|
+
"ok": {
|
|
73450
|
+
"type": "boolean"
|
|
73451
|
+
},
|
|
73452
|
+
"url": {
|
|
73453
|
+
"type": "string"
|
|
73454
|
+
},
|
|
73455
|
+
"detail": {
|
|
73456
|
+
"type": "string"
|
|
73457
|
+
}
|
|
73458
|
+
},
|
|
73459
|
+
"required": [
|
|
73460
|
+
"at",
|
|
73461
|
+
"command",
|
|
73462
|
+
"ok",
|
|
73463
|
+
"detail"
|
|
73464
|
+
],
|
|
73465
|
+
"additionalProperties": false
|
|
73466
|
+
}
|
|
73467
|
+
},
|
|
73468
|
+
"required": [
|
|
73469
|
+
"available",
|
|
73470
|
+
"loggedIn",
|
|
73471
|
+
"detail"
|
|
73472
|
+
],
|
|
73473
|
+
"additionalProperties": false
|
|
73474
|
+
},
|
|
73475
|
+
"invokable": true
|
|
73476
|
+
},
|
|
73477
|
+
{
|
|
73478
|
+
"id": "tailscale.serve.run",
|
|
73479
|
+
"title": "Set Up Tailscale Serve For The Daemon",
|
|
73480
|
+
"description": "The one-action https affordance: run `tailscale serve --bg <web port>` so tailscale fronts the daemon's web surface at its https MagicDNS URL. This is the ONLY state-changing tailscale command the daemon ever runs, and only from this explicit user-initiated verb. The attempt is recorded with an honest receipt either way; on success web.publicBaseUrl is updated to the https URL from the same resolution. The daemon never mints certificates — TLS is terminated by tailscale.",
|
|
73481
|
+
"category": "remote-access",
|
|
73482
|
+
"source": "builtin",
|
|
73483
|
+
"access": "authenticated",
|
|
73484
|
+
"transport": [
|
|
73485
|
+
"ws"
|
|
73486
|
+
],
|
|
73487
|
+
"scopes": [
|
|
73488
|
+
"write:control-plane"
|
|
73489
|
+
],
|
|
73490
|
+
"outputSchema": {
|
|
73491
|
+
"type": "object",
|
|
73492
|
+
"properties": {
|
|
73493
|
+
"receipt": {
|
|
73494
|
+
"type": "object",
|
|
73495
|
+
"properties": {
|
|
73496
|
+
"at": {
|
|
73497
|
+
"type": "number"
|
|
73498
|
+
},
|
|
73499
|
+
"command": {
|
|
73500
|
+
"type": "string"
|
|
73501
|
+
},
|
|
73502
|
+
"ok": {
|
|
73503
|
+
"type": "boolean"
|
|
73504
|
+
},
|
|
73505
|
+
"url": {
|
|
73506
|
+
"type": "string"
|
|
73507
|
+
},
|
|
73508
|
+
"detail": {
|
|
73509
|
+
"type": "string"
|
|
73510
|
+
}
|
|
73511
|
+
},
|
|
73512
|
+
"required": [
|
|
73513
|
+
"at",
|
|
73514
|
+
"command",
|
|
73515
|
+
"ok",
|
|
73516
|
+
"detail"
|
|
73517
|
+
],
|
|
73518
|
+
"additionalProperties": false
|
|
73519
|
+
},
|
|
73520
|
+
"publicBaseUrlUpdated": {
|
|
73521
|
+
"type": "boolean"
|
|
73522
|
+
}
|
|
73523
|
+
},
|
|
73524
|
+
"required": [
|
|
73525
|
+
"receipt",
|
|
73526
|
+
"publicBaseUrlUpdated"
|
|
73527
|
+
],
|
|
73528
|
+
"additionalProperties": false
|
|
73529
|
+
},
|
|
73530
|
+
"invokable": true
|
|
73531
|
+
},
|
|
70451
73532
|
{
|
|
70452
73533
|
"id": "review.snapshot",
|
|
70453
73534
|
"title": "Review Snapshot",
|
|
@@ -77851,6 +80932,196 @@
|
|
|
77851
80932
|
},
|
|
77852
80933
|
"invokable": true
|
|
77853
80934
|
},
|
|
80935
|
+
{
|
|
80936
|
+
"id": "sessions.queuedMessages.delete",
|
|
80937
|
+
"title": "Delete a Queued Mid-Turn Message",
|
|
80938
|
+
"description": "Remove a message still waiting in the mid-turn queue so it is never delivered. A message already delivered to the model cannot be removed — deleting it is a 404 MESSAGE_NOT_QUEUED. Only the daemon's live local runtime session is controllable; any other session id is a 404 SESSION_NOT_LOCAL.",
|
|
80939
|
+
"category": "sessions",
|
|
80940
|
+
"source": "builtin",
|
|
80941
|
+
"access": "authenticated",
|
|
80942
|
+
"transport": [
|
|
80943
|
+
"http",
|
|
80944
|
+
"ws"
|
|
80945
|
+
],
|
|
80946
|
+
"scopes": [
|
|
80947
|
+
"write:sessions"
|
|
80948
|
+
],
|
|
80949
|
+
"http": {
|
|
80950
|
+
"method": "DELETE",
|
|
80951
|
+
"path": "/api/sessions/{sessionId}/queued-messages/{messageId}"
|
|
80952
|
+
},
|
|
80953
|
+
"events": [
|
|
80954
|
+
"runtime.session"
|
|
80955
|
+
],
|
|
80956
|
+
"inputSchema": {
|
|
80957
|
+
"type": "object",
|
|
80958
|
+
"properties": {
|
|
80959
|
+
"sessionId": {
|
|
80960
|
+
"type": "string"
|
|
80961
|
+
},
|
|
80962
|
+
"messageId": {
|
|
80963
|
+
"type": "string"
|
|
80964
|
+
}
|
|
80965
|
+
},
|
|
80966
|
+
"required": [
|
|
80967
|
+
"sessionId",
|
|
80968
|
+
"messageId"
|
|
80969
|
+
],
|
|
80970
|
+
"additionalProperties": false
|
|
80971
|
+
},
|
|
80972
|
+
"outputSchema": {
|
|
80973
|
+
"type": "object",
|
|
80974
|
+
"properties": {
|
|
80975
|
+
"sessionId": {
|
|
80976
|
+
"type": "string"
|
|
80977
|
+
},
|
|
80978
|
+
"id": {
|
|
80979
|
+
"type": "string"
|
|
80980
|
+
},
|
|
80981
|
+
"deleted": {
|
|
80982
|
+
"type": "boolean"
|
|
80983
|
+
}
|
|
80984
|
+
},
|
|
80985
|
+
"required": [
|
|
80986
|
+
"sessionId",
|
|
80987
|
+
"id",
|
|
80988
|
+
"deleted"
|
|
80989
|
+
],
|
|
80990
|
+
"additionalProperties": false
|
|
80991
|
+
},
|
|
80992
|
+
"invokable": true
|
|
80993
|
+
},
|
|
80994
|
+
{
|
|
80995
|
+
"id": "sessions.queuedMessages.edit",
|
|
80996
|
+
"title": "Edit a Queued Mid-Turn Message",
|
|
80997
|
+
"description": "Replace the text of a message still waiting in the mid-turn queue. A message already delivered to the model is immutable — editing it is a 404 MESSAGE_NOT_QUEUED. Editing replaces any multimodal content with the new plain text. Only the daemon's live local runtime session is controllable; any other session id is a 404 SESSION_NOT_LOCAL.",
|
|
80998
|
+
"category": "sessions",
|
|
80999
|
+
"source": "builtin",
|
|
81000
|
+
"access": "authenticated",
|
|
81001
|
+
"transport": [
|
|
81002
|
+
"http",
|
|
81003
|
+
"ws"
|
|
81004
|
+
],
|
|
81005
|
+
"scopes": [
|
|
81006
|
+
"write:sessions"
|
|
81007
|
+
],
|
|
81008
|
+
"http": {
|
|
81009
|
+
"method": "POST",
|
|
81010
|
+
"path": "/api/sessions/{sessionId}/queued-messages/{messageId}"
|
|
81011
|
+
},
|
|
81012
|
+
"events": [
|
|
81013
|
+
"runtime.session"
|
|
81014
|
+
],
|
|
81015
|
+
"inputSchema": {
|
|
81016
|
+
"type": "object",
|
|
81017
|
+
"properties": {
|
|
81018
|
+
"sessionId": {
|
|
81019
|
+
"type": "string"
|
|
81020
|
+
},
|
|
81021
|
+
"messageId": {
|
|
81022
|
+
"type": "string"
|
|
81023
|
+
},
|
|
81024
|
+
"text": {
|
|
81025
|
+
"type": "string"
|
|
81026
|
+
}
|
|
81027
|
+
},
|
|
81028
|
+
"required": [
|
|
81029
|
+
"sessionId",
|
|
81030
|
+
"messageId",
|
|
81031
|
+
"text"
|
|
81032
|
+
],
|
|
81033
|
+
"additionalProperties": false
|
|
81034
|
+
},
|
|
81035
|
+
"outputSchema": {
|
|
81036
|
+
"type": "object",
|
|
81037
|
+
"properties": {
|
|
81038
|
+
"sessionId": {
|
|
81039
|
+
"type": "string"
|
|
81040
|
+
},
|
|
81041
|
+
"id": {
|
|
81042
|
+
"type": "string"
|
|
81043
|
+
},
|
|
81044
|
+
"text": {
|
|
81045
|
+
"type": "string"
|
|
81046
|
+
}
|
|
81047
|
+
},
|
|
81048
|
+
"required": [
|
|
81049
|
+
"sessionId",
|
|
81050
|
+
"id",
|
|
81051
|
+
"text"
|
|
81052
|
+
],
|
|
81053
|
+
"additionalProperties": false
|
|
81054
|
+
},
|
|
81055
|
+
"invokable": true
|
|
81056
|
+
},
|
|
81057
|
+
{
|
|
81058
|
+
"id": "sessions.queuedMessages.list",
|
|
81059
|
+
"title": "List Queued Mid-Turn Messages",
|
|
81060
|
+
"description": "List the messages queued behind the current turn (submitted while the model was thinking), in delivery order. Queued messages remain editable and deletable until they are delivered; a delivered message no longer appears here. Only the daemon's live local runtime session is resolvable; any other session id is a 404 SESSION_NOT_LOCAL.",
|
|
81061
|
+
"category": "sessions",
|
|
81062
|
+
"source": "builtin",
|
|
81063
|
+
"access": "authenticated",
|
|
81064
|
+
"transport": [
|
|
81065
|
+
"http",
|
|
81066
|
+
"ws"
|
|
81067
|
+
],
|
|
81068
|
+
"scopes": [
|
|
81069
|
+
"read:sessions"
|
|
81070
|
+
],
|
|
81071
|
+
"http": {
|
|
81072
|
+
"method": "GET",
|
|
81073
|
+
"path": "/api/sessions/{sessionId}/queued-messages"
|
|
81074
|
+
},
|
|
81075
|
+
"inputSchema": {
|
|
81076
|
+
"type": "object",
|
|
81077
|
+
"properties": {
|
|
81078
|
+
"sessionId": {
|
|
81079
|
+
"type": "string"
|
|
81080
|
+
}
|
|
81081
|
+
},
|
|
81082
|
+
"required": [
|
|
81083
|
+
"sessionId"
|
|
81084
|
+
],
|
|
81085
|
+
"additionalProperties": false
|
|
81086
|
+
},
|
|
81087
|
+
"outputSchema": {
|
|
81088
|
+
"type": "object",
|
|
81089
|
+
"properties": {
|
|
81090
|
+
"sessionId": {
|
|
81091
|
+
"type": "string"
|
|
81092
|
+
},
|
|
81093
|
+
"messages": {
|
|
81094
|
+
"type": "array",
|
|
81095
|
+
"items": {
|
|
81096
|
+
"type": "object",
|
|
81097
|
+
"properties": {
|
|
81098
|
+
"id": {
|
|
81099
|
+
"type": "string"
|
|
81100
|
+
},
|
|
81101
|
+
"queuedAt": {
|
|
81102
|
+
"type": "number"
|
|
81103
|
+
},
|
|
81104
|
+
"text": {
|
|
81105
|
+
"type": "string"
|
|
81106
|
+
}
|
|
81107
|
+
},
|
|
81108
|
+
"required": [
|
|
81109
|
+
"id",
|
|
81110
|
+
"queuedAt",
|
|
81111
|
+
"text"
|
|
81112
|
+
],
|
|
81113
|
+
"additionalProperties": false
|
|
81114
|
+
}
|
|
81115
|
+
}
|
|
81116
|
+
},
|
|
81117
|
+
"required": [
|
|
81118
|
+
"sessionId",
|
|
81119
|
+
"messages"
|
|
81120
|
+
],
|
|
81121
|
+
"additionalProperties": false
|
|
81122
|
+
},
|
|
81123
|
+
"invokable": true
|
|
81124
|
+
},
|
|
77854
81125
|
{
|
|
77855
81126
|
"id": "sessions.register",
|
|
77856
81127
|
"title": "Register Shared Session",
|
|
@@ -77886,7 +81157,8 @@
|
|
|
77886
81157
|
"webui",
|
|
77887
81158
|
"companion-task",
|
|
77888
81159
|
"companion-chat",
|
|
77889
|
-
"automation"
|
|
81160
|
+
"automation",
|
|
81161
|
+
"acp"
|
|
77890
81162
|
]
|
|
77891
81163
|
},
|
|
77892
81164
|
"project": {
|
|
@@ -79140,6 +82412,65 @@
|
|
|
79140
82412
|
},
|
|
79141
82413
|
"invokable": true
|
|
79142
82414
|
},
|
|
82415
|
+
{
|
|
82416
|
+
"id": "sessions.toolCalls.cancel",
|
|
82417
|
+
"title": "Cancel One In-Flight Tool Call",
|
|
82418
|
+
"description": "Cancel a single running tool call by its callId, leaving the turn and any other running calls untouched. The cancelled call settles as a structured \"cancelled by user\" tool result the model adapts to in the same turn — distinct from a whole-turn interrupt. Only the daemon's live local runtime session is controllable; any other session id is a 404 SESSION_NOT_LOCAL, and an unknown or already-settled callId is a 404 TOOL_CALL_NOT_RUNNING.",
|
|
82419
|
+
"category": "sessions",
|
|
82420
|
+
"source": "builtin",
|
|
82421
|
+
"access": "authenticated",
|
|
82422
|
+
"transport": [
|
|
82423
|
+
"http",
|
|
82424
|
+
"ws"
|
|
82425
|
+
],
|
|
82426
|
+
"scopes": [
|
|
82427
|
+
"write:sessions"
|
|
82428
|
+
],
|
|
82429
|
+
"http": {
|
|
82430
|
+
"method": "POST",
|
|
82431
|
+
"path": "/api/sessions/{sessionId}/tool-calls/{callId}/cancel"
|
|
82432
|
+
},
|
|
82433
|
+
"events": [
|
|
82434
|
+
"runtime.tools"
|
|
82435
|
+
],
|
|
82436
|
+
"inputSchema": {
|
|
82437
|
+
"type": "object",
|
|
82438
|
+
"properties": {
|
|
82439
|
+
"sessionId": {
|
|
82440
|
+
"type": "string"
|
|
82441
|
+
},
|
|
82442
|
+
"callId": {
|
|
82443
|
+
"type": "string"
|
|
82444
|
+
}
|
|
82445
|
+
},
|
|
82446
|
+
"required": [
|
|
82447
|
+
"sessionId",
|
|
82448
|
+
"callId"
|
|
82449
|
+
],
|
|
82450
|
+
"additionalProperties": false
|
|
82451
|
+
},
|
|
82452
|
+
"outputSchema": {
|
|
82453
|
+
"type": "object",
|
|
82454
|
+
"properties": {
|
|
82455
|
+
"sessionId": {
|
|
82456
|
+
"type": "string"
|
|
82457
|
+
},
|
|
82458
|
+
"callId": {
|
|
82459
|
+
"type": "string"
|
|
82460
|
+
},
|
|
82461
|
+
"cancelled": {
|
|
82462
|
+
"type": "boolean"
|
|
82463
|
+
}
|
|
82464
|
+
},
|
|
82465
|
+
"required": [
|
|
82466
|
+
"sessionId",
|
|
82467
|
+
"callId",
|
|
82468
|
+
"cancelled"
|
|
82469
|
+
],
|
|
82470
|
+
"additionalProperties": false
|
|
82471
|
+
},
|
|
82472
|
+
"invokable": true
|
|
82473
|
+
},
|
|
79143
82474
|
{
|
|
79144
82475
|
"id": "security.settings",
|
|
79145
82476
|
"title": "Security Settings Report",
|
|
@@ -86805,6 +90136,64 @@
|
|
|
86805
90136
|
},
|
|
86806
90137
|
"invokable": true
|
|
86807
90138
|
},
|
|
90139
|
+
{
|
|
90140
|
+
"id": "worktrees.discard",
|
|
90141
|
+
"title": "Discard a Worktree",
|
|
90142
|
+
"description": "Remove a worktree per the eviction-preserving rules: any uncommitted state is first committed onto the worktree's branch (a preservation failure REFUSES the removal rather than losing work), the directory is removed, and the branch is KEPT. Returns an honest receipt (ok, branch kept, preservation commit, detail) either way.",
|
|
90143
|
+
"category": "worktrees",
|
|
90144
|
+
"source": "builtin",
|
|
90145
|
+
"access": "authenticated",
|
|
90146
|
+
"transport": [
|
|
90147
|
+
"ws"
|
|
90148
|
+
],
|
|
90149
|
+
"scopes": [
|
|
90150
|
+
"write:worktrees"
|
|
90151
|
+
],
|
|
90152
|
+
"inputSchema": {
|
|
90153
|
+
"type": "object",
|
|
90154
|
+
"properties": {
|
|
90155
|
+
"path": {
|
|
90156
|
+
"type": "string"
|
|
90157
|
+
}
|
|
90158
|
+
},
|
|
90159
|
+
"required": [
|
|
90160
|
+
"path"
|
|
90161
|
+
],
|
|
90162
|
+
"additionalProperties": false
|
|
90163
|
+
},
|
|
90164
|
+
"outputSchema": {
|
|
90165
|
+
"type": "object",
|
|
90166
|
+
"properties": {
|
|
90167
|
+
"path": {
|
|
90168
|
+
"type": "string"
|
|
90169
|
+
},
|
|
90170
|
+
"ok": {
|
|
90171
|
+
"type": "boolean"
|
|
90172
|
+
},
|
|
90173
|
+
"branch": {
|
|
90174
|
+
"type": "string"
|
|
90175
|
+
},
|
|
90176
|
+
"preservedCommit": {
|
|
90177
|
+
"type": "string"
|
|
90178
|
+
},
|
|
90179
|
+
"discardedAt": {
|
|
90180
|
+
"type": "number"
|
|
90181
|
+
},
|
|
90182
|
+
"detail": {
|
|
90183
|
+
"type": "string"
|
|
90184
|
+
}
|
|
90185
|
+
},
|
|
90186
|
+
"required": [
|
|
90187
|
+
"path",
|
|
90188
|
+
"ok",
|
|
90189
|
+
"discardedAt",
|
|
90190
|
+
"detail"
|
|
90191
|
+
],
|
|
90192
|
+
"additionalProperties": false
|
|
90193
|
+
},
|
|
90194
|
+
"dangerous": true,
|
|
90195
|
+
"invokable": true
|
|
90196
|
+
},
|
|
86808
90197
|
{
|
|
86809
90198
|
"id": "worktrees.setup.run",
|
|
86810
90199
|
"title": "Re-run Worktree Setup",
|
|
@@ -88680,10 +92069,10 @@
|
|
|
88680
92069
|
}
|
|
88681
92070
|
],
|
|
88682
92071
|
"schemaCoverage": {
|
|
88683
|
-
"methods":
|
|
88684
|
-
"typedInputs":
|
|
92072
|
+
"methods": 415,
|
|
92073
|
+
"typedInputs": 415,
|
|
88685
92074
|
"genericInputs": 0,
|
|
88686
|
-
"typedOutputs":
|
|
92075
|
+
"typedOutputs": 415,
|
|
88687
92076
|
"genericOutputs": 0
|
|
88688
92077
|
},
|
|
88689
92078
|
"eventCoverage": {
|
|
@@ -88692,10 +92081,10 @@
|
|
|
88692
92081
|
"withWireEvents": 32
|
|
88693
92082
|
},
|
|
88694
92083
|
"validationCoverage": {
|
|
88695
|
-
"methods":
|
|
88696
|
-
"validated":
|
|
92084
|
+
"methods": 415,
|
|
92085
|
+
"validated": 408,
|
|
88697
92086
|
"skippedGeneric": 0,
|
|
88698
|
-
"skippedUntyped":
|
|
92087
|
+
"skippedUntyped": 7
|
|
88699
92088
|
}
|
|
88700
92089
|
},
|
|
88701
92090
|
"peer": {
|