chirpie 1.0.18 → 1.0.20
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/index.js +4 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -93,7 +93,7 @@ var loginCommand = new Command2("login").description("Authenticate with your Chi
|
|
|
93
93
|
});
|
|
94
94
|
if (!key || returnedState !== state) {
|
|
95
95
|
res.end("<html><body><h2>Authorization failed.</h2><p>State mismatch or missing key. Please try again.</p></body></html>");
|
|
96
|
-
error("Authorization failed
|
|
96
|
+
error("Authorization failed: state mismatch");
|
|
97
97
|
server.close();
|
|
98
98
|
process.exit(1);
|
|
99
99
|
}
|
|
@@ -594,7 +594,7 @@ xKeysCommand.command("status").description("Show whether your own X developer ap
|
|
|
594
594
|
if (opts.json) {
|
|
595
595
|
json(status);
|
|
596
596
|
} else if (!status.configured) {
|
|
597
|
-
info("No X developer app configured
|
|
597
|
+
info("No X developer app configured. X accounts connect through Chirpie's app.");
|
|
598
598
|
info(`Callback URI to register when you add one: ${status.redirect_uri}`);
|
|
599
599
|
} else {
|
|
600
600
|
success(
|
|
@@ -692,7 +692,7 @@ keysCommand.command("create").description("Create a new API key").option("-n, --
|
|
|
692
692
|
if (opts.json) {
|
|
693
693
|
json(key);
|
|
694
694
|
} else {
|
|
695
|
-
success("API key created. Save it
|
|
695
|
+
success("API key created. Save it now; you won't see it again.");
|
|
696
696
|
console.log(`
|
|
697
697
|
${key.key}
|
|
698
698
|
`);
|
|
@@ -716,7 +716,7 @@ keysCommand.command("revoke <id>").description("Revoke an API key").action(async
|
|
|
716
716
|
// src/index.ts
|
|
717
717
|
var require2 = createRequire(import.meta.url);
|
|
718
718
|
var { version } = require2("../package.json");
|
|
719
|
-
var program = new Command9().name("chirpie").description("Chirpie
|
|
719
|
+
var program = new Command9().name("chirpie").description("Chirpie: the social media layer for AI agents").version(version);
|
|
720
720
|
program.addCommand(loginCommand);
|
|
721
721
|
program.addCommand(logoutCommand);
|
|
722
722
|
program.addCommand(authCommand);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chirpie",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Chirpie CLI
|
|
3
|
+
"version": "1.0.20",
|
|
4
|
+
"description": "Chirpie CLI: post to social media from the command line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/Firefloco/chirpie",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
],
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@chirpie/sdk": "^1.0.
|
|
47
|
+
"@chirpie/sdk": "^1.0.18",
|
|
48
48
|
"commander": "^13"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|