@tapcue/extension-sdk 0.1.0 → 0.1.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 +0 -28
- package/package.json +1 -13
package/README.md
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# @tapcue/extension-sdk
|
|
2
|
-
|
|
3
|
-
The API a [Tapcue](https://tapcue.io) extension is written against: the types for commands,
|
|
4
|
-
scopes, and views, the capability surface an extension may ask for, and `validateManifest` —
|
|
5
|
-
the manifest rules themselves, as code.
|
|
6
|
-
|
|
7
|
-
```ts
|
|
8
|
-
import { defineExtension, defineScope } from "@tapcue/extension-sdk";
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## It ships as TypeScript source
|
|
12
|
-
|
|
13
|
-
`exports` points at `src/*.ts`, not at compiled JavaScript, and that is deliberate rather than
|
|
14
|
-
an oversight. `validateManifest` is the executable specification of what a manifest may say —
|
|
15
|
-
the Rust installer and the Swift shell are both required to reject exactly what it rejects. A
|
|
16
|
-
compiled copy would make "the same rules everywhere" a claim about a build step instead of a
|
|
17
|
-
fact about a file.
|
|
18
|
-
|
|
19
|
-
Nothing consumes this package at runtime. `tapcue extension build` bundles it into your
|
|
20
|
-
extension with esbuild, and your editor and `tsc` read the same source for types. If you reach
|
|
21
|
-
for it with a toolchain that does not transpile dependencies, it will not work — that is the
|
|
22
|
-
trade this package makes.
|
|
23
|
-
|
|
24
|
-
## Documentation
|
|
25
|
-
|
|
26
|
-
The extension model, the permission system, and the package format are documented at
|
|
27
|
-
[docs.tapcue.io](https://docs.tapcue.io). `@tapcue/extension-cli` builds, packs, and verifies
|
|
28
|
-
what you write here.
|
package/package.json
CHANGED
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tapcue/extension-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "The Tapcue extension API: types, helpers, and the manifest validator that is the executable spec",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/tapcue/tapcue.git",
|
|
10
|
-
"directory": "packages/extension-sdk"
|
|
11
|
-
},
|
|
12
|
-
"homepage": "https://docs.tapcue.io",
|
|
13
|
-
"keywords": [
|
|
14
|
-
"tapcue",
|
|
15
|
-
"extension",
|
|
16
|
-
"launcher",
|
|
17
|
-
"sdk"
|
|
18
|
-
],
|
|
19
7
|
"files": [
|
|
20
8
|
"src"
|
|
21
9
|
],
|