portego-upload 0.1.1 → 0.1.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.
- package/dist/portego-upload.js +25 -1
- package/package.json +1 -1
package/dist/portego-upload.js
CHANGED
|
@@ -33947,6 +33947,30 @@ class StdioServerTransport {
|
|
|
33947
33947
|
});
|
|
33948
33948
|
}
|
|
33949
33949
|
}
|
|
33950
|
+
// tools/portego-upload/package.json
|
|
33951
|
+
var package_default = {
|
|
33952
|
+
name: "portego-upload",
|
|
33953
|
+
version: "0.1.2",
|
|
33954
|
+
description: "A local MCP server and command that uploads an HTML file to a Portego deployment without the file passing through the conversation.",
|
|
33955
|
+
license: "Apache-2.0",
|
|
33956
|
+
repository: {
|
|
33957
|
+
type: "git",
|
|
33958
|
+
url: "git+https://github.com/laguna-engineering/portego.git",
|
|
33959
|
+
directory: "tools/portego-upload"
|
|
33960
|
+
},
|
|
33961
|
+
type: "module",
|
|
33962
|
+
bin: {
|
|
33963
|
+
"portego-upload": "dist/portego-upload.js"
|
|
33964
|
+
},
|
|
33965
|
+
files: [
|
|
33966
|
+
"dist",
|
|
33967
|
+
"claude-code.json"
|
|
33968
|
+
],
|
|
33969
|
+
engines: {
|
|
33970
|
+
node: ">=20"
|
|
33971
|
+
}
|
|
33972
|
+
};
|
|
33973
|
+
|
|
33950
33974
|
// tools/portego-upload/store.ts
|
|
33951
33975
|
function normalizeOrigin(origin) {
|
|
33952
33976
|
return origin.replace(/\/+$/, "");
|
|
@@ -34231,7 +34255,7 @@ async function upload(options) {
|
|
|
34231
34255
|
};
|
|
34232
34256
|
}
|
|
34233
34257
|
async function serve() {
|
|
34234
|
-
const server = new McpServer({ name: "portego-upload", version:
|
|
34258
|
+
const server = new McpServer({ name: "portego-upload", version: package_default.version }, {
|
|
34235
34259
|
instructions: "When a tool says the user is not signed in, call sign_in and tell the user to approve " + "the request in the browser that opens, then repeat the call. When a tool says no " + "deployment is set, only the user can fix it: give them the command from the message."
|
|
34236
34260
|
});
|
|
34237
34261
|
server.registerTool("sign_in", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "portego-upload",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "A local MCP server and command that uploads an HTML file to a Portego deployment without the file passing through the conversation.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|