@productlobster/plob 0.1.5 → 0.1.6
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 +1 -1
- package/dist/cli.js +2 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -102,7 +102,7 @@ local filesystem: this does not defend against another process replacing parent
|
|
|
102
102
|
directories during extraction, and exclusive creation may not be reliable on
|
|
103
103
|
every network filesystem.
|
|
104
104
|
|
|
105
|
-
`plob upload` attaches one file to the selected workspace. Use the workspace `id` from `plob workspaces`, not the display name. The connection must include the `write:upload` scope. Supported extensions: `.pdf`, `.docx`, `.txt`, `.md`, `.markdown`, `.png`, `.jpg`, `.jpeg`, and `.webp`; files must be non-empty and at most 10 MB.
|
|
105
|
+
`plob upload` attaches one file to the selected workspace. Use the workspace `id` from `plob workspaces`, not the display name. The connection must include the `write:upload` scope. Supported extensions: `.pdf`, `.docx`, `.txt`, `.md`, `.markdown`, `.csv`, `.png`, `.jpg`, `.jpeg`, and `.webp`; files must be non-empty and at most 10 MB.
|
|
106
106
|
|
|
107
107
|
```bash
|
|
108
108
|
plob --workspace 550e8400-e29b-41d4-a716-446655440000 upload --file ./research.md
|
package/dist/cli.js
CHANGED
|
@@ -23226,6 +23226,7 @@ import path3 from "path";
|
|
|
23226
23226
|
var MAX_UPLOAD_FILE_SIZE_BYTES = 25 * 1024 * 1024;
|
|
23227
23227
|
var DOCUMENT_UPLOAD_FIELD_NAME = "files";
|
|
23228
23228
|
var MIME_TYPES_BY_EXTENSION = /* @__PURE__ */ new Map([
|
|
23229
|
+
[".csv", "text/csv"],
|
|
23229
23230
|
[
|
|
23230
23231
|
".docx",
|
|
23231
23232
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
@@ -23449,7 +23450,7 @@ async function prepareUploadFile(filePath) {
|
|
|
23449
23450
|
const mimeType = MIME_TYPES_BY_EXTENSION.get(extension);
|
|
23450
23451
|
if (!mimeType) {
|
|
23451
23452
|
return {
|
|
23452
|
-
message: "Unsupported file extension. Supported extensions: .pdf, .docx, .txt, .md, .markdown, .png, .jpg, .jpeg, .webp."
|
|
23453
|
+
message: "Unsupported file extension. Supported extensions: .pdf, .docx, .txt, .md, .markdown, .csv, .png, .jpg, .jpeg, .webp."
|
|
23453
23454
|
};
|
|
23454
23455
|
}
|
|
23455
23456
|
const bytes = await readFile2(normalizedPath);
|
package/dist/index.js
CHANGED
|
@@ -23225,6 +23225,7 @@ import path3 from "path";
|
|
|
23225
23225
|
var MAX_UPLOAD_FILE_SIZE_BYTES = 25 * 1024 * 1024;
|
|
23226
23226
|
var DOCUMENT_UPLOAD_FIELD_NAME = "files";
|
|
23227
23227
|
var MIME_TYPES_BY_EXTENSION = /* @__PURE__ */ new Map([
|
|
23228
|
+
[".csv", "text/csv"],
|
|
23228
23229
|
[
|
|
23229
23230
|
".docx",
|
|
23230
23231
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
@@ -23448,7 +23449,7 @@ async function prepareUploadFile(filePath) {
|
|
|
23448
23449
|
const mimeType = MIME_TYPES_BY_EXTENSION.get(extension);
|
|
23449
23450
|
if (!mimeType) {
|
|
23450
23451
|
return {
|
|
23451
|
-
message: "Unsupported file extension. Supported extensions: .pdf, .docx, .txt, .md, .markdown, .png, .jpg, .jpeg, .webp."
|
|
23452
|
+
message: "Unsupported file extension. Supported extensions: .pdf, .docx, .txt, .md, .markdown, .csv, .png, .jpg, .jpeg, .webp."
|
|
23452
23453
|
};
|
|
23453
23454
|
}
|
|
23454
23455
|
const bytes = await readFile2(normalizedPath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@productlobster/plob",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "ProductLobster command-line tool — run PM analyses, manage workspaces, read run output, and upload documents from your terminal. A thin MCP client for the ProductLobster agentic surface.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "ProductLobster",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"typecheck": "tsc --noEmit"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
54
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
55
55
|
"@napi-rs/keyring": "^1.3.0",
|
|
56
56
|
"commander": "^14.0.3"
|
|
57
57
|
},
|