@xmtp/convos-cli 0.1.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/LICENSE +21 -0
- package/README.md +572 -0
- package/bin/dev.js +4 -0
- package/bin/run.js +4 -0
- package/dist/baseCommand.d.ts +46 -0
- package/dist/baseCommand.js +171 -0
- package/dist/commands/agent/serve.d.ts +67 -0
- package/dist/commands/agent/serve.js +662 -0
- package/dist/commands/conversation/add-members.d.ts +19 -0
- package/dist/commands/conversation/add-members.js +39 -0
- package/dist/commands/conversation/consent-state.d.ts +18 -0
- package/dist/commands/conversation/consent-state.js +24 -0
- package/dist/commands/conversation/download-attachment.d.ts +28 -0
- package/dist/commands/conversation/download-attachment.js +164 -0
- package/dist/commands/conversation/explode.d.ts +24 -0
- package/dist/commands/conversation/explode.js +156 -0
- package/dist/commands/conversation/info.d.ts +22 -0
- package/dist/commands/conversation/info.js +79 -0
- package/dist/commands/conversation/invite.d.ts +26 -0
- package/dist/commands/conversation/invite.js +137 -0
- package/dist/commands/conversation/lock.d.ts +24 -0
- package/dist/commands/conversation/lock.js +98 -0
- package/dist/commands/conversation/members.d.ts +22 -0
- package/dist/commands/conversation/members.js +39 -0
- package/dist/commands/conversation/messages.d.ts +31 -0
- package/dist/commands/conversation/messages.js +141 -0
- package/dist/commands/conversation/permissions.d.ts +18 -0
- package/dist/commands/conversation/permissions.js +33 -0
- package/dist/commands/conversation/profiles.d.ts +22 -0
- package/dist/commands/conversation/profiles.js +80 -0
- package/dist/commands/conversation/remove-members.d.ts +19 -0
- package/dist/commands/conversation/remove-members.js +36 -0
- package/dist/commands/conversation/send-attachment.d.ts +30 -0
- package/dist/commands/conversation/send-attachment.js +187 -0
- package/dist/commands/conversation/send-reaction.d.ts +21 -0
- package/dist/commands/conversation/send-reaction.js +38 -0
- package/dist/commands/conversation/send-remote-attachment.d.ts +30 -0
- package/dist/commands/conversation/send-remote-attachment.js +96 -0
- package/dist/commands/conversation/send-reply.d.ts +32 -0
- package/dist/commands/conversation/send-reply.js +170 -0
- package/dist/commands/conversation/send-text.d.ts +24 -0
- package/dist/commands/conversation/send-text.js +64 -0
- package/dist/commands/conversation/stream.d.ts +24 -0
- package/dist/commands/conversation/stream.js +81 -0
- package/dist/commands/conversation/sync.d.ts +18 -0
- package/dist/commands/conversation/sync.js +25 -0
- package/dist/commands/conversation/update-consent.d.ts +19 -0
- package/dist/commands/conversation/update-consent.js +35 -0
- package/dist/commands/conversation/update-description.d.ts +19 -0
- package/dist/commands/conversation/update-description.js +28 -0
- package/dist/commands/conversation/update-name.d.ts +19 -0
- package/dist/commands/conversation/update-name.js +29 -0
- package/dist/commands/conversation/update-profile.d.ts +24 -0
- package/dist/commands/conversation/update-profile.js +97 -0
- package/dist/commands/conversations/create.d.ts +26 -0
- package/dist/commands/conversations/create.js +165 -0
- package/dist/commands/conversations/join.d.ts +27 -0
- package/dist/commands/conversations/join.js +232 -0
- package/dist/commands/conversations/list.d.ts +20 -0
- package/dist/commands/conversations/list.js +109 -0
- package/dist/commands/conversations/process-join-requests.d.ts +26 -0
- package/dist/commands/conversations/process-join-requests.js +261 -0
- package/dist/commands/conversations/sync.d.ts +19 -0
- package/dist/commands/conversations/sync.js +50 -0
- package/dist/commands/identity/create.d.ts +21 -0
- package/dist/commands/identity/create.js +56 -0
- package/dist/commands/identity/info.d.ts +22 -0
- package/dist/commands/identity/info.js +63 -0
- package/dist/commands/identity/list.d.ts +19 -0
- package/dist/commands/identity/list.js +59 -0
- package/dist/commands/identity/remove.d.ts +23 -0
- package/dist/commands/identity/remove.js +51 -0
- package/dist/commands/init.d.ts +16 -0
- package/dist/commands/init.js +91 -0
- package/dist/commands/reset.d.ts +17 -0
- package/dist/commands/reset.js +93 -0
- package/dist/help.d.ts +4 -0
- package/dist/help.js +31 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +15 -0
- package/dist/utils/client.d.ts +8 -0
- package/dist/utils/client.js +58 -0
- package/dist/utils/config.d.ts +15 -0
- package/dist/utils/config.js +1 -0
- package/dist/utils/identities.d.ts +49 -0
- package/dist/utils/identities.js +92 -0
- package/dist/utils/invite.d.ts +70 -0
- package/dist/utils/invite.js +339 -0
- package/dist/utils/metadata.d.ts +39 -0
- package/dist/utils/metadata.js +180 -0
- package/dist/utils/mime.d.ts +2 -0
- package/dist/utils/mime.js +42 -0
- package/dist/utils/random.d.ts +5 -0
- package/dist/utils/random.js +19 -0
- package/dist/utils/upload.d.ts +14 -0
- package/dist/utils/upload.js +51 -0
- package/dist/utils/xmtp.d.ts +45 -0
- package/dist/utils/xmtp.js +298 -0
- package/oclif.manifest.json +5562 -0
- package/package.json +124 -0
- package/skills/convos-cli/SKILL.md +588 -0
package/package.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xmtp/convos-cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A command-line interface for Convos — privacy-focused messaging built on XMTP",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"convos",
|
|
7
|
+
"xmtp",
|
|
8
|
+
"messaging",
|
|
9
|
+
"privacy",
|
|
10
|
+
"ephemeral",
|
|
11
|
+
"per-conversation-identity"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/xmtplabs/convos-cli",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/xmtplabs/convos-cli/issues"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/xmtplabs/convos-cli.git"
|
|
20
|
+
},
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"author": "XMTP Labs <eng@xmtp.com>",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"default": "./dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./utils/*": {
|
|
30
|
+
"types": "./dist/utils/*.d.ts",
|
|
31
|
+
"default": "./dist/utils/*.js"
|
|
32
|
+
},
|
|
33
|
+
"./baseCommand": {
|
|
34
|
+
"types": "./dist/baseCommand.d.ts",
|
|
35
|
+
"default": "./dist/baseCommand.js"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"main": "dist/index.js",
|
|
39
|
+
"types": "dist/index.d.ts",
|
|
40
|
+
"bin": {
|
|
41
|
+
"convos": "./bin/run.js"
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"bin",
|
|
45
|
+
"dist",
|
|
46
|
+
"skills",
|
|
47
|
+
"oclif.manifest.json",
|
|
48
|
+
"README.md",
|
|
49
|
+
"LICENSE"
|
|
50
|
+
],
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|
|
53
|
+
"dev": "tsx bin/dev.js",
|
|
54
|
+
"prepack": "npm run build && npx oclif manifest",
|
|
55
|
+
"start": "tsx bin/run.js",
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"test:watch": "vitest",
|
|
58
|
+
"typecheck": "tsc --noEmit"
|
|
59
|
+
},
|
|
60
|
+
"oclif": {
|
|
61
|
+
"bin": "convos",
|
|
62
|
+
"commands": "./dist/commands",
|
|
63
|
+
"dirname": "convos",
|
|
64
|
+
"helpClass": "./dist/help",
|
|
65
|
+
"plugins": [
|
|
66
|
+
"@oclif/plugin-autocomplete",
|
|
67
|
+
"@oclif/plugin-help",
|
|
68
|
+
"@oclif/plugin-not-found",
|
|
69
|
+
"@oclif/plugin-warn-if-update-available"
|
|
70
|
+
],
|
|
71
|
+
"topicSeparator": " ",
|
|
72
|
+
"topics": {
|
|
73
|
+
"agent": {
|
|
74
|
+
"description": "Agent mode — long-running sessions with streaming I/O"
|
|
75
|
+
},
|
|
76
|
+
"identity": {
|
|
77
|
+
"description": "Manage per-conversation identities (inboxes)"
|
|
78
|
+
},
|
|
79
|
+
"conversation": {
|
|
80
|
+
"description": "Interact with a specific conversation"
|
|
81
|
+
},
|
|
82
|
+
"conversations": {
|
|
83
|
+
"description": "List, create, and stream conversations"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"warn-if-update-available": {
|
|
87
|
+
"frequency": 1,
|
|
88
|
+
"frequencyUnit": "days",
|
|
89
|
+
"message": "<%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>.",
|
|
90
|
+
"timeoutInDays": 7
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"dependencies": {
|
|
94
|
+
"@noble/curves": "^2.0.1",
|
|
95
|
+
"@oclif/core": "^4.8.0",
|
|
96
|
+
"@oclif/plugin-autocomplete": "^3.2.40",
|
|
97
|
+
"@oclif/plugin-help": "^6.2.37",
|
|
98
|
+
"@oclif/plugin-not-found": "^3.2.74",
|
|
99
|
+
"@oclif/plugin-warn-if-update-available": "^3.1.55",
|
|
100
|
+
"@xmtp/content-type-remote-attachment": "^2.0.4",
|
|
101
|
+
"@xmtp/node-sdk": "5.3.0",
|
|
102
|
+
"protobufjs": "^8.0.0",
|
|
103
|
+
"qrcode": "^1.5.4",
|
|
104
|
+
"qrcode-terminal": "^0.12.0",
|
|
105
|
+
"viem": "^2.44.4"
|
|
106
|
+
},
|
|
107
|
+
"devDependencies": {
|
|
108
|
+
"@types/node": "^24.10.9",
|
|
109
|
+
"@types/qrcode": "^1.5.6",
|
|
110
|
+
"@types/qrcode-terminal": "^0.12.2",
|
|
111
|
+
"execa": "^9.6.1",
|
|
112
|
+
"oclif": "^4.22.70",
|
|
113
|
+
"tsx": "^4.21.0",
|
|
114
|
+
"typescript": "^5.9.3",
|
|
115
|
+
"vitest": "^4.0.18"
|
|
116
|
+
},
|
|
117
|
+
"engines": {
|
|
118
|
+
"node": ">=22"
|
|
119
|
+
},
|
|
120
|
+
"publishConfig": {
|
|
121
|
+
"access": "public",
|
|
122
|
+
"registry": "https://registry.npmjs.org/"
|
|
123
|
+
}
|
|
124
|
+
}
|