@yanlinglabs/winter-agent-sdk-darwin-arm64 0.0.5
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/LICENSE +21 -0
- package/README.md +56 -0
- package/bin/winter +0 -0
- package/package.json +36 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 yanlingLabs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# `@yanlinglabs/winter-agent-sdk-darwin-arm64`
|
|
2
|
+
|
|
3
|
+
The compiled `winter` runtime binary for macOS on Apple Silicon (`darwin`/`arm64`). This package
|
|
4
|
+
ships **no JavaScript API** — it is an `optionalDependency` of
|
|
5
|
+
[`@yanlinglabs/winter-agent-sdk`](https://github.com/yanlingLabs/winter-agent-sdk/tree/main/packages/sdk),
|
|
6
|
+
which spawns the binary this package installs and speaks to it over Winter's own protocol.
|
|
7
|
+
|
|
8
|
+
You do not import this package. Installing `@yanlinglabs/winter-agent-sdk` on a matching platform
|
|
9
|
+
pulls it in automatically; `resolveRuntimeExecutable` finds it by name and runs its `bin/winter`.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
This package is published to **two registries**, and which one you want depends on who you are. On
|
|
14
|
+
any platform other than `darwin`/`arm64`, a package manager that respects `os`/`cpu` skips it
|
|
15
|
+
entirely — installing it there is a no-op, not an error.
|
|
16
|
+
|
|
17
|
+
### From public npm (anyone)
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
npm install @yanlinglabs/winter-agent-sdk-darwin-arm64
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
You will not normally run this directly — `npm install @yanlinglabs/winter-agent-sdk` brings it in
|
|
24
|
+
as an optional dependency on a matching platform.
|
|
25
|
+
|
|
26
|
+
### From GitHub Packages (the `yanlingLabs` org)
|
|
27
|
+
|
|
28
|
+
GitHub Packages needs the scope pointed at it and an authenticated read, even for a public package.
|
|
29
|
+
In your project's `.npmrc`:
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
@yanlinglabs:registry=https://npm.pkg.github.com
|
|
33
|
+
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
…with `GITHUB_TOKEN` in the environment — a personal access token carrying `read:packages`, never a
|
|
37
|
+
literal in the file. Then `npm install @yanlinglabs/winter-agent-sdk-darwin-arm64` as usual.
|
|
38
|
+
|
|
39
|
+
**The published package contains COMPILED OUTPUT ONLY.** The tarball ships the compiled `winter`
|
|
40
|
+
binary under `bin/winter` — a single-file, dependency-free executable built with
|
|
41
|
+
`bun build --compile` from a path-neutral copy of the checkout (it embeds no developer's filesystem
|
|
42
|
+
path) — plus `README.md` and `LICENSE`. It does **not** ship any source: the TypeScript that
|
|
43
|
+
compiles into this binary lives at <https://github.com/yanlingLabs/winter-agent-sdk>
|
|
44
|
+
(`packages/runtime/`), which is where to read it, file an issue, or send a patch.
|
|
45
|
+
|
|
46
|
+
## What this package IS and IS NOT
|
|
47
|
+
|
|
48
|
+
- IS: a native binary, gated by `os`/`cpu` so it installs only where it can run.
|
|
49
|
+
- IS NOT: an importable module. It declares no `main`, no `types`, no `exports` — only a `bin` entry.
|
|
50
|
+
- IS NOT: built by this package itself. The binary is staged at publish time by this repository's own
|
|
51
|
+
CI (`scripts/build-runtime.ts --platform-package`, run on a macOS `arm64` runner) and never on your
|
|
52
|
+
machine.
|
|
53
|
+
|
|
54
|
+
## License
|
|
55
|
+
|
|
56
|
+
MIT — see [`LICENSE`](./LICENSE), which ships in the published tarball.
|
package/bin/winter
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@yanlinglabs/winter-agent-sdk-darwin-arm64",
|
|
3
|
+
"version": "0.0.5",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/yanlingLabs/winter-agent-sdk.git",
|
|
8
|
+
"directory": "packages/platform/darwin-arm64"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/yanlingLabs/winter-agent-sdk",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/yanlingLabs/winter-agent-sdk/issues"
|
|
13
|
+
},
|
|
14
|
+
"os": [
|
|
15
|
+
"darwin"
|
|
16
|
+
],
|
|
17
|
+
"cpu": [
|
|
18
|
+
"arm64"
|
|
19
|
+
],
|
|
20
|
+
"bin": {
|
|
21
|
+
"winter": "bin/winter"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"bin",
|
|
25
|
+
"README.md",
|
|
26
|
+
"LICENSE"
|
|
27
|
+
],
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"winter": {
|
|
32
|
+
"publish": {
|
|
33
|
+
"npm": true
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|