@shawnowen/comet-mcp 2.4.1 → 2.4.2

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.
Files changed (46) hide show
  1. package/README.md +12 -1
  2. package/dist/binding-reaper.d.ts +46 -0
  3. package/dist/binding-reaper.js +73 -0
  4. package/dist/http-server.js +121 -0
  5. package/dist/index.js +310 -6
  6. package/dist/project-config.d.ts +46 -0
  7. package/dist/project-config.js +166 -0
  8. package/dist/tab-groups.d.ts +21 -1
  9. package/dist/tab-groups.js +184 -0
  10. package/dist/window-bindings.d.ts +48 -0
  11. package/dist/window-bindings.js +85 -0
  12. package/extension/background.js +38 -17
  13. package/extension/manifest.json +16 -1
  14. package/extension/perplexity-capability-manifest.json +1181 -0
  15. package/extension/perplexity-capability-manifest.schema.json +142 -0
  16. package/extension/session-logic.js +696 -25
  17. package/extension/session-manager.html +13 -1
  18. package/extension/sidepanel.css +21 -6
  19. package/extension/sidepanel.js +598 -68
  20. package/package.json +1 -1
  21. package/dist/discovery/capability-entry.d.ts +0 -215
  22. package/dist/discovery/capability-entry.js +0 -13
  23. package/dist/discovery/description-template.d.ts +0 -40
  24. package/dist/discovery/description-template.js +0 -61
  25. package/dist/discovery/golden-queries.fixture.d.ts +0 -22
  26. package/dist/discovery/golden-queries.fixture.js +0 -137
  27. package/dist/discovery/mcp-source.d.ts +0 -38
  28. package/dist/discovery/mcp-source.js +0 -70
  29. package/dist/discovery/metadata-completeness.d.ts +0 -48
  30. package/dist/discovery/metadata-completeness.js +0 -83
  31. package/dist/discovery/registry.d.ts +0 -35
  32. package/dist/discovery/registry.js +0 -35
  33. package/dist/discovery/safety.d.ts +0 -44
  34. package/dist/discovery/safety.js +0 -59
  35. package/dist/discovery/schema-validator.d.ts +0 -36
  36. package/dist/discovery/schema-validator.js +0 -257
  37. package/dist/discovery/source-error.d.ts +0 -47
  38. package/dist/discovery/source-error.js +0 -95
  39. package/dist/discovery/tool-meta.d.ts +0 -41
  40. package/dist/discovery/tool-meta.js +0 -229
  41. package/dist/discovery/virtual-tools.d.ts +0 -20
  42. package/dist/discovery/virtual-tools.js +0 -69
  43. package/dist/task-thread-aggregator.d.ts +0 -34
  44. package/dist/task-thread-aggregator.js +0 -480
  45. package/dist/task-thread-canonical.d.ts +0 -142
  46. package/dist/task-thread-canonical.js +0 -116
@@ -0,0 +1,142 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://equa.cc/schemas/perplexity-capability-manifest.schema.json",
4
+ "title": "Perplexity Capability Manifest",
5
+ "type": "object",
6
+ "required": [
7
+ "schemaVersion",
8
+ "spec",
9
+ "lastVerified",
10
+ "guaranteeModel",
11
+ "sources",
12
+ "scoreCriteria",
13
+ "criteriaProfiles",
14
+ "groups",
15
+ "capabilities"
16
+ ],
17
+ "properties": {
18
+ "schemaVersion": { "type": "string" },
19
+ "spec": { "type": "string", "pattern": "^\\d{3}-[a-z0-9-]+$" },
20
+ "lastVerified": { "type": "string", "format": "date" },
21
+ "guaranteeModel": { "type": "string", "minLength": 20 },
22
+ "sources": {
23
+ "type": "array",
24
+ "minItems": 1,
25
+ "items": {
26
+ "type": "object",
27
+ "required": ["id", "title", "url"],
28
+ "properties": {
29
+ "id": { "type": "string" },
30
+ "title": { "type": "string" },
31
+ "url": { "type": "string", "format": "uri" }
32
+ }
33
+ }
34
+ },
35
+ "scoreCriteria": {
36
+ "type": "array",
37
+ "prefixItems": [
38
+ { "const": "endToEnd" },
39
+ { "const": "stableHook" },
40
+ { "const": "readableResult" },
41
+ { "const": "multiWindowSafe" },
42
+ { "const": "lifecycleTracked" },
43
+ { "const": "manifestContract" },
44
+ { "const": "testCoverage" },
45
+ { "const": "documented" },
46
+ { "const": "retryable" },
47
+ { "const": "fallbackReady" }
48
+ ],
49
+ "minItems": 10,
50
+ "maxItems": 10
51
+ },
52
+ "criteriaProfiles": {
53
+ "type": "object",
54
+ "additionalProperties": {
55
+ "type": "object",
56
+ "required": [
57
+ "endToEnd",
58
+ "stableHook",
59
+ "readableResult",
60
+ "multiWindowSafe",
61
+ "lifecycleTracked",
62
+ "manifestContract",
63
+ "testCoverage",
64
+ "documented",
65
+ "retryable",
66
+ "fallbackReady"
67
+ ],
68
+ "additionalProperties": false,
69
+ "properties": {
70
+ "endToEnd": { "type": "boolean" },
71
+ "stableHook": { "type": "boolean" },
72
+ "readableResult": { "type": "boolean" },
73
+ "multiWindowSafe": { "type": "boolean" },
74
+ "lifecycleTracked": { "type": "boolean" },
75
+ "manifestContract": { "type": "boolean" },
76
+ "testCoverage": { "type": "boolean" },
77
+ "documented": { "type": "boolean" },
78
+ "retryable": { "type": "boolean" },
79
+ "fallbackReady": { "type": "boolean" }
80
+ }
81
+ }
82
+ },
83
+ "groups": {
84
+ "type": "array",
85
+ "minItems": 10,
86
+ "items": {
87
+ "type": "object",
88
+ "required": ["id", "name", "objective"],
89
+ "properties": {
90
+ "id": { "type": "string", "pattern": "^[A-J]$" },
91
+ "name": { "type": "string" },
92
+ "objective": { "type": "string" }
93
+ }
94
+ }
95
+ },
96
+ "capabilities": {
97
+ "type": "array",
98
+ "minItems": 55,
99
+ "items": {
100
+ "type": "object",
101
+ "required": [
102
+ "id",
103
+ "group",
104
+ "name",
105
+ "nativeSurface",
106
+ "nativeHook",
107
+ "controlAdapter",
108
+ "responseReader",
109
+ "permission",
110
+ "status",
111
+ "criteriaProfile",
112
+ "evidence",
113
+ "fallbacks",
114
+ "nextStep"
115
+ ],
116
+ "properties": {
117
+ "id": { "type": "string", "pattern": "^[A-J][0-9]+$" },
118
+ "group": { "type": "string", "pattern": "^[A-J]$" },
119
+ "name": { "type": "string" },
120
+ "nativeSurface": { "type": "string" },
121
+ "nativeHook": { "type": "string" },
122
+ "controlAdapter": { "type": "string" },
123
+ "responseReader": { "type": "string" },
124
+ "permission": { "type": "string" },
125
+ "status": {
126
+ "enum": [
127
+ "controlled",
128
+ "planned",
129
+ "setup_required",
130
+ "blocked_by_vendor",
131
+ "out_of_scope_private_data"
132
+ ]
133
+ },
134
+ "criteriaProfile": { "type": "string" },
135
+ "evidence": { "type": "array", "minItems": 1, "items": { "type": "string" } },
136
+ "fallbacks": { "type": "array", "minItems": 1, "items": { "type": "string" } },
137
+ "nextStep": { "type": "string" }
138
+ }
139
+ }
140
+ }
141
+ }
142
+ }