automate-it 0.3.0 → 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/ait.mjs +11 -7
- package/package.json +1 -1
package/ait.mjs
CHANGED
|
@@ -125,10 +125,13 @@ Folders:
|
|
|
125
125
|
folder inside it
|
|
126
126
|
|
|
127
127
|
Composing posts:
|
|
128
|
-
ait
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
128
|
+
ait limits [--platform <p>] Text limits for every platform, or one.
|
|
129
|
+
[--text <draft>] With --text, returns the draft's length
|
|
130
|
+
under that platform's counting rule and
|
|
131
|
+
whether it fits. Platforms count
|
|
132
|
+
differently: X counts a URL as 23 and
|
|
133
|
+
emoji as 2, Threads counts emoji as
|
|
134
|
+
UTF-8 bytes, Bluesky counts graphemes.
|
|
132
135
|
ait shorten <url> [--title <t>] Shorten a link for a post
|
|
133
136
|
|
|
134
137
|
All workspace commands accept --workspace <id>.`;
|
|
@@ -396,7 +399,7 @@ export async function runCommand(argv, opts = {}) {
|
|
|
396
399
|
"whoami",
|
|
397
400
|
"upload-url",
|
|
398
401
|
"integrations",
|
|
399
|
-
"
|
|
402
|
+
"limits",
|
|
400
403
|
"shorten",
|
|
401
404
|
]);
|
|
402
405
|
const command = SINGLE_WORD_COMMANDS.has(resource)
|
|
@@ -730,10 +733,11 @@ export async function runCommand(argv, opts = {}) {
|
|
|
730
733
|
return callTool(ctx, "list_integrations", { workspaceId });
|
|
731
734
|
}
|
|
732
735
|
|
|
733
|
-
case "
|
|
736
|
+
case "limits": {
|
|
734
737
|
const workspaceId = await resolveWorkspace(ctx, flags);
|
|
735
|
-
return callTool(ctx, "
|
|
738
|
+
return callTool(ctx, "get_platform_limit", {
|
|
736
739
|
workspaceId,
|
|
740
|
+
...(flags.platform !== undefined ? { platform: flags.platform } : {}),
|
|
737
741
|
...(flags.text !== undefined ? { text: flags.text } : {}),
|
|
738
742
|
});
|
|
739
743
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "automate-it",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "CLI for Automate It — AI agents create content tasks, submit them through a human review gate, and publish everywhere. Speaks the Automate It MCP server; zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|