shortcutkit 0.5.1 → 0.6.1
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 +5 -4
- package/dist/generated/actions.d.ts +9838 -3484
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1759 -286
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ files you are using.
|
|
|
28
28
|
|
|
29
29
|
- **Every built-in action, typed.** `actions.*` lists all 434 identifiers, with each action's
|
|
30
30
|
name, description, summary, output and parameter keys as hover documentation.
|
|
31
|
-
- **Apple's apps too.** 1,
|
|
31
|
+
- **Apple's apps too.** 1,441 App Intents actions from 77 Apple apps and system components,
|
|
32
32
|
Create Reminder, Create Note, Send Message, the System Settings toggles, under the keys the
|
|
33
33
|
Shortcuts app itself assigns them: `actions.reminders_create_reminder`. Enumeration cases are
|
|
34
34
|
typed, and the `AppIntentDescriptor` the file needs is added for you.
|
|
@@ -37,7 +37,8 @@ files you are using.
|
|
|
37
37
|
Any plain value slot also accepts an attachment, because that is how Shortcuts works.
|
|
38
38
|
- **Value helpers that match the engine's serialization.** `ref()` to another action's output,
|
|
39
39
|
`variable()`, `shortcutInput()`, `clipboard()`, `currentDate()`, `ask()`, `text()` for
|
|
40
|
-
strings with embedded references, and `picker()` for variable-picker parameters.
|
|
40
|
+
strings with embedded references, and `picker()` for variable-picker parameters. A bare
|
|
41
|
+
`ref()` given to a text parameter is wrapped into the token string the engine writes.
|
|
41
42
|
- **Control flow.** `if()` / `otherwise()` / `endIf()`, `repeatEach()` / `endRepeatEach()`,
|
|
42
43
|
`repeatCount()` / `endRepeatCount()` and `chooseFromMenu()` / `menuItem()` / `endMenu()`
|
|
43
44
|
manage the grouping identifiers for you.
|
|
@@ -60,7 +61,7 @@ manager, whose actions are defined in that language.
|
|
|
60
61
|
|
|
61
62
|
shortcutkit is a library, not a language. You write TypeScript or Python you already know, and
|
|
62
63
|
the action catalogue comes from the Shortcuts engine rather than from a maintainer. All 434
|
|
63
|
-
built-in actions and 1,
|
|
64
|
+
built-in actions and 1,441 Apple App Intents are covered today, and the next macOS update is
|
|
64
65
|
one `bun run extract` away.
|
|
65
66
|
|
|
66
67
|
## Installation
|
|
@@ -165,7 +166,7 @@ python -m shortcutkit demo out.shortcut
|
|
|
165
166
|
to end, every field.
|
|
166
167
|
- [`docs/builtin-actions-reference.md`](docs/builtin-actions-reference.md): all 434 built-in
|
|
167
168
|
actions with their parameters.
|
|
168
|
-
- [`docs/apple-app-intents-reference.md`](docs/apple-app-intents-reference.md): the 1,
|
|
169
|
+
- [`docs/apple-app-intents-reference.md`](docs/apple-app-intents-reference.md): the 1,441 App
|
|
169
170
|
Intents actions of Apple's apps, by app, with parameter kinds and enumeration cases.
|
|
170
171
|
- [`docs/parameter-encodings.md`](docs/parameter-encodings.md): how each parameter class is
|
|
171
172
|
serialized.
|