@codetelemetry/mcp 0.3.14 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -1
- package/dist/src/client/bin.js +8 -1
- package/dist/src/client/bootstrap.d.ts +28 -0
- package/dist/src/client/bootstrap.js +585 -0
- package/dist/src/client/bootstrapGitHub.d.ts +21 -0
- package/dist/src/client/bootstrapGitHub.js +157 -0
- package/dist/src/client/cli.js +58 -0
- package/dist/src/client/graderArtifact.js +2 -2
- package/dist/src/client/index.d.ts +2 -0
- package/dist/src/client/index.js +2 -0
- package/dist/src/client/repositoryHook.d.ts +1 -0
- package/dist/src/client/repositoryHook.js +31 -0
- package/dist/src/client/workspaces.d.ts +44 -0
- package/dist/src/client/workspaces.js +366 -0
- package/dist/src/mcpServer.js +1 -1
- package/dist/src/session.d.ts +1 -1
- package/dist/src/tools.d.ts +4 -0
- package/dist/src/tools.js +24 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/workspaceRuntime.d.ts +5 -0
- package/dist/src/workspaceRuntime.js +187 -0
- package/package.json +1 -1
- package/tool-manifest.json +126 -3
package/tool-manifest.json
CHANGED
|
@@ -1,9 +1,132 @@
|
|
|
1
1
|
{
|
|
2
2
|
"serverName": "codetelemetry",
|
|
3
|
-
"serverVersion": "0.
|
|
4
|
-
"registryHash": "
|
|
5
|
-
"toolCount":
|
|
3
|
+
"serverVersion": "0.4.0",
|
|
4
|
+
"registryHash": "6bfd22de2c81f7a7ef817af42b2c9f741dcbb085de4d79fc661d291b065dd3a0",
|
|
5
|
+
"toolCount": 30,
|
|
6
6
|
"tools": [
|
|
7
|
+
{
|
|
8
|
+
"name": "bootstrap_workspace",
|
|
9
|
+
"title": "Create or resume a workspace setup",
|
|
10
|
+
"description": "Create/select an organization and finish repository-scoped setup using a persistent named context. The first call returns one browser approval URL; later calls with the same name resume the saved plan, verify funding and ingestion, optionally save/publish selected Grader checks and write Terraform. No credits or seats are purchased. Pass organizationName to create or organizationId to select. Existing contexts need neither. Each call is bounded; pending steps are explicit. Secrets stay local; unrelated global configurations are unchanged.",
|
|
11
|
+
"inputSchema": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"additionalProperties": false,
|
|
14
|
+
"required": [
|
|
15
|
+
"name"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"name": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$"
|
|
21
|
+
},
|
|
22
|
+
"repositoryPath": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"maxLength": 4096
|
|
25
|
+
},
|
|
26
|
+
"offset": {
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"minimum": 0,
|
|
29
|
+
"maximum": 63
|
|
30
|
+
},
|
|
31
|
+
"limit": {
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"minimum": 1,
|
|
34
|
+
"maximum": 10
|
|
35
|
+
},
|
|
36
|
+
"organizationName": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"minLength": 1,
|
|
39
|
+
"maxLength": 60
|
|
40
|
+
},
|
|
41
|
+
"organizationId": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"maxLength": 128
|
|
44
|
+
},
|
|
45
|
+
"client": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"enum": [
|
|
48
|
+
"claude",
|
|
49
|
+
"codex"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"configPath": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"maxLength": 4096
|
|
55
|
+
},
|
|
56
|
+
"features": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"maxLength": 4000
|
|
59
|
+
},
|
|
60
|
+
"checks": {
|
|
61
|
+
"type": "array",
|
|
62
|
+
"maxItems": 30,
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "object"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"publish": {
|
|
68
|
+
"type": "boolean"
|
|
69
|
+
},
|
|
70
|
+
"terraform": {
|
|
71
|
+
"type": "boolean"
|
|
72
|
+
},
|
|
73
|
+
"githubRepository": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"maxLength": 200
|
|
76
|
+
},
|
|
77
|
+
"reauthorize": {
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"description": "Replace an expired or revoked credential after fresh approval, preserving this exact account and organization."
|
|
80
|
+
},
|
|
81
|
+
"enrich": {
|
|
82
|
+
"type": "boolean"
|
|
83
|
+
},
|
|
84
|
+
"repositoryObservation": {
|
|
85
|
+
"type": "boolean"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "workspace_context",
|
|
92
|
+
"title": "Manage persistent workspace contexts",
|
|
93
|
+
"description": "List, save or select a named CodeTelemetry workspace. Credentials stay in private local storage and survive MCP restarts. Repository bindings contain only verified account/organization metadata. Save the currently authenticated key, or use an existing context; repositoryPath binds that repository without changing global telemetry. A conflicting binding requires explicit removal before switching.",
|
|
94
|
+
"inputSchema": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"required": [
|
|
98
|
+
"action"
|
|
99
|
+
],
|
|
100
|
+
"properties": {
|
|
101
|
+
"action": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"enum": [
|
|
104
|
+
"list",
|
|
105
|
+
"save",
|
|
106
|
+
"use"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"name": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$"
|
|
112
|
+
},
|
|
113
|
+
"repositoryPath": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"maxLength": 4096
|
|
116
|
+
},
|
|
117
|
+
"offset": {
|
|
118
|
+
"type": "integer",
|
|
119
|
+
"minimum": 0,
|
|
120
|
+
"maximum": 63
|
|
121
|
+
},
|
|
122
|
+
"limit": {
|
|
123
|
+
"type": "integer",
|
|
124
|
+
"minimum": 1,
|
|
125
|
+
"maximum": 10
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
7
130
|
{
|
|
8
131
|
"name": "authenticate",
|
|
9
132
|
"title": "Authenticate (device code)",
|