@myapihq/cli 2.4.1 → 2.4.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/commands/crm/companies.js +1 -5
- package/dist/commands/crm/contacts.js +1 -6
- package/dist/commands/domain-validation.test.d.ts +1 -0
- package/dist/commands/domain-validation.test.js +36 -0
- package/dist/commands/domain.d.ts +14 -0
- package/dist/commands/domain.js +20 -1
- package/dist/commands/funnel-validation.test.d.ts +1 -0
- package/dist/commands/funnel-validation.test.js +86 -0
- package/dist/commands/funnel.d.ts +12 -0
- package/dist/commands/funnel.js +59 -15
- package/dist/commands/payments.js +12 -2
- package/dist/commands/setup.d.ts +1 -0
- package/dist/commands/setup.js +51 -2
- package/dist/commands/skill-checksum.test.d.ts +1 -0
- package/dist/commands/skill-checksum.test.js +48 -0
- package/dist/config-envkey.test.d.ts +1 -0
- package/dist/config-envkey.test.js +145 -0
- package/dist/config.js +41 -5
- package/dist/errors.js +11 -0
- package/dist/index.js +6 -1
- package/dist/sdk-transport.test.d.ts +1 -0
- package/dist/sdk-transport.test.js +138 -0
- package/dist/sdk-version.test.d.ts +1 -0
- package/dist/sdk-version.test.js +24 -0
- package/dist/skills/my-api-hq/SKILL.md +1 -1
- package/dist/skills/my-api-hq/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-audience-api/README.md +40 -0
- package/dist/skills/my-audience-api/SKILL.md +139 -0
- package/dist/skills/my-audience-api/claude/.claude-plugin/plugin.json +7 -0
- package/dist/skills/my-audience-api/openapi/.gitkeep +0 -0
- package/dist/skills/my-auth-api/SKILL.md +1 -1
- package/dist/skills/my-auth-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-company-api/README.md +35 -0
- package/dist/skills/my-company-api/SKILL.md +110 -0
- package/dist/skills/my-company-api/claude/.claude-plugin/plugin.json +7 -0
- package/dist/skills/my-company-api/openapi/.gitkeep +0 -0
- package/dist/skills/my-container-api/README.md +34 -0
- package/dist/skills/my-container-api/SKILL.md +77 -0
- package/dist/skills/my-container-api/claude/.claude-plugin/plugin.json +7 -0
- package/dist/skills/my-container-api/openapi/.gitkeep +0 -0
- package/dist/skills/my-crm-api/SKILL.md +3 -3
- package/dist/skills/my-crm-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-database-api/SKILL.md +1 -1
- package/dist/skills/my-database-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-domain-api/SKILL.md +1 -1
- package/dist/skills/my-domain-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-email-api/SKILL.md +1 -1
- package/dist/skills/my-email-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-email-verify-api/SKILL.md +1 -1
- package/dist/skills/my-email-verify-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-function-api/SKILL.md +104 -0
- package/dist/skills/my-function-api/claude/.claude-plugin/plugin.json +7 -0
- package/dist/skills/my-funnel-api/SKILL.md +2 -2
- package/dist/skills/my-funnel-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-git-api/SKILL.md +1 -1
- package/dist/skills/my-git-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-image-api/SKILL.md +1 -1
- package/dist/skills/my-image-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-llm-api/SKILL.md +6 -11
- package/dist/skills/my-llm-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-payments-api/SKILL.md +85 -0
- package/dist/skills/my-payments-api/claude/.claude-plugin/plugin.json +7 -0
- package/dist/skills/my-people-api/README.md +35 -0
- package/dist/skills/my-people-api/SKILL.md +107 -0
- package/dist/skills/my-people-api/claude/.claude-plugin/plugin.json +7 -0
- package/dist/skills/my-people-api/openapi/.gitkeep +0 -0
- package/dist/skills/my-pixel-api/README.md +38 -0
- package/dist/skills/my-pixel-api/SKILL.md +90 -0
- package/dist/skills/my-pixel-api/claude/.claude-plugin/plugin.json +7 -0
- package/dist/skills/my-pixel-api/openapi/.gitkeep +0 -0
- package/dist/skills/my-queue-api/README.md +34 -0
- package/dist/skills/my-queue-api/SKILL.md +78 -0
- package/dist/skills/my-queue-api/claude/.claude-plugin/plugin.json +7 -0
- package/dist/skills/my-queue-api/openapi/.gitkeep +0 -0
- package/dist/skills/my-storage-api/SKILL.md +1 -1
- package/dist/skills/my-storage-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-task-api/README.md +36 -0
- package/dist/skills/my-task-api/SKILL.md +74 -0
- package/dist/skills/my-task-api/claude/.claude-plugin/plugin.json +7 -0
- package/dist/skills/my-task-api/openapi/.gitkeep +0 -0
- package/dist/skills/my-url-to/README.md +32 -0
- package/dist/skills/my-url-to/SKILL.md +55 -0
- package/dist/skills/my-url-to/claude/.claude-plugin/plugin.json +7 -0
- package/dist/skills/my-url-to/openapi/.gitkeep +0 -0
- package/dist/skills/my-webhook-api/SKILL.md +1 -1
- package/dist/skills/my-webhook-api/claude/.claude-plugin/plugin.json +1 -0
- package/dist/skills/my-workflow-api/SKILL.md +1 -1
- package/dist/skills/my-workflow-api/claude/.claude-plugin/plugin.json +1 -0
- package/package.json +8 -2
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# my-url-to
|
|
2
|
+
|
|
3
|
+
Stateful URL shortening and routing via myurlto.com. Shorten long URLs, track link activity, and give users compact shareable links.
|
|
4
|
+
|
|
5
|
+
## What it does
|
|
6
|
+
|
|
7
|
+
- Shorten any URL to a `myurlto.com` link
|
|
8
|
+
- Track clicks and link activity
|
|
9
|
+
- Manage and list links by organization
|
|
10
|
+
|
|
11
|
+
## Quickstart
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Shorten a URL
|
|
15
|
+
curl -sS -X POST https://myurlto.com/url/shorten \
|
|
16
|
+
-H "Authorization: Bearer $MYAPI_KEY" \
|
|
17
|
+
-H "Content-Type: application/json" \
|
|
18
|
+
-d '{"org_id": "<org_id>", "url": "https://example.com/very/long/path"}'
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Authentication
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
Authorization: Bearer <api_key>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Requires `org_id` from `my-api-hq`.
|
|
28
|
+
|
|
29
|
+
## Links
|
|
30
|
+
|
|
31
|
+
- [Full skill documentation (SKILL.md)](./SKILL.md)
|
|
32
|
+
- [MyUrlTo](https://myurlto.com)
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: my-url-to
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
description: >
|
|
5
|
+
Stateful URL shortening service. Generate compact `myurlto.com` redirect links to long URLs. Often invoked implicitly by other backend services for outbound links.
|
|
6
|
+
triggers: [shorten url, short link, url shortener, myurlto, redirect, short_code]
|
|
7
|
+
checksum: sha256-2b83a7774da020adc3e61e411ff63b7ced7d9f160d22eb0a9291b701ad0fcf73
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# MyURLToAPI
|
|
11
|
+
|
|
12
|
+
URL shortening: compact redirect URLs under `myurlto.com`.
|
|
13
|
+
|
|
14
|
+
## Capabilities
|
|
15
|
+
<!-- llm:start -->
|
|
16
|
+
Generates a short redirect URL for any long target. The short link 302-redirects to the original. Stateful — short codes are stable until explicitly deleted server-side.
|
|
17
|
+
|
|
18
|
+
Note: agents don't always need to call this explicitly. Internal MyAPI services (e.g. payment checkout flows) automatically shorten certain links before returning them. Only call `myapi url shorten` when a user or workflow specifically asks for a short link, or when generating a URL that will be displayed to users in a constrained surface (SMS, QR codes, etc.).
|
|
19
|
+
<!-- llm:end -->
|
|
20
|
+
|
|
21
|
+
## Commands
|
|
22
|
+
<!-- generated:start -->
|
|
23
|
+
| Command | What it does |
|
|
24
|
+
|---|---|
|
|
25
|
+
| `myapi url shorten <url>` | Generate a short redirect URL for a long target |
|
|
26
|
+
|
|
27
|
+
The redirect itself is public:
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
GET /{domain}/{code}
|
|
31
|
+
→ 302 Location: <original URL>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
No auth required to follow the redirect. Errors: `404` for unknown code or code longer than 16 chars.
|
|
35
|
+
<!-- generated:end -->
|
|
36
|
+
|
|
37
|
+
## Examples
|
|
38
|
+
<!-- llm:start -->
|
|
39
|
+
```bash
|
|
40
|
+
# Shorten
|
|
41
|
+
myapi url shorten "https://example.com/very/long/path?parameters=true"
|
|
42
|
+
# → { "short_code": "8f2a1b9c", "short_url": "https://myurlto.com/example.com/8f2a1b9c" }
|
|
43
|
+
|
|
44
|
+
# Use the short URL anywhere (resolves at the apex — NOT api.myurlto.com)
|
|
45
|
+
curl -L "https://myurlto.com/example.com/8f2a1b9c"
|
|
46
|
+
```
|
|
47
|
+
<!-- llm:end -->
|
|
48
|
+
|
|
49
|
+
## Notes
|
|
50
|
+
|
|
51
|
+
- The domain segment of the short URL is extracted from the target URL's root domain.
|
|
52
|
+
- Short codes are stable — once minted, they don't change.
|
|
53
|
+
- Required: a non-empty `url`. `400` if missing.
|
|
54
|
+
|
|
55
|
+
Run `myapi url --help` for flag reference.
|
|
File without changes
|
|
@@ -4,7 +4,7 @@ version: 1.0.0
|
|
|
4
4
|
description: >
|
|
5
5
|
Inbound webhook endpoints for non-funnel sources — Stripe, GitHub, custom services. Funnel forms use the my-funnel-api proxy.
|
|
6
6
|
triggers: [webhook, inbound, receiver, stripe events, github webhook, slack notification, delivery, payload, event ingest]
|
|
7
|
-
checksum: sha256-
|
|
7
|
+
checksum: sha256-13680a0decdbb5b49d9d80b52203eb68a43450f94477936252b54dfd2b3845bc
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# MyWebhookAPI
|
|
@@ -4,7 +4,7 @@ version: 1.0.0
|
|
|
4
4
|
description: >
|
|
5
5
|
Run actions when a webhook fires. Trigger emails, Slack notifications, or HTTP calls in response to inbound webhook deliveries — without writing a backend.
|
|
6
6
|
triggers: [workflow, automation, on webhook, send email on, slack notification, payload templating, drip, trigger, run]
|
|
7
|
-
checksum: sha256-
|
|
7
|
+
checksum: sha256-eddc70a8542c3cdfd01866f241ea283164e71fbe748426a13358d1c7ef635cb1
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# MyWorkflowAPI
|
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myapihq/cli",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.2",
|
|
5
5
|
"description": "MyAPI command-line interface",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/myapihq/myapi.git",
|
|
9
|
+
"directory": "packages/cli"
|
|
10
|
+
},
|
|
6
11
|
"type": "module",
|
|
7
12
|
"files": [
|
|
8
13
|
"dist"
|
|
@@ -28,11 +33,12 @@
|
|
|
28
33
|
"update-schema": "node scripts/update-schema.js",
|
|
29
34
|
"lint:changelog": "node ../../scripts/lint-changelog.js",
|
|
30
35
|
"lint:help-order": "node scripts/lint-help-order.js",
|
|
36
|
+
"lint:exposes": "node scripts/lint-exposes.js",
|
|
31
37
|
"lint:skills": "node scripts/copy-skills.js && node scripts/lint-skills.js",
|
|
32
38
|
"lint:skills:strict": "node scripts/copy-skills.js && node scripts/lint-skills.js --strict"
|
|
33
39
|
},
|
|
34
40
|
"dependencies": {
|
|
35
|
-
"@myapihq/sdk": "^2.4.
|
|
41
|
+
"@myapihq/sdk": "^2.4.2"
|
|
36
42
|
},
|
|
37
43
|
"devDependencies": {
|
|
38
44
|
"@types/node": "^25.6.0",
|