diff --git a/.github/workflows/sdk-typescript.yml b/.github/workflows/sdk-typescript.yml index aba9b02..baa75b4 100644 --- a/.github/workflows/sdk-typescript.yml +++ b/.github/workflows/sdk-typescript.yml @@ -139,7 +139,9 @@ jobs: run: | dir=npm/${{ matrix.npm }} install -m 0755 "$RUNNER_TEMP/isb/isb" "$dir/bin/isb" - cp LICENSE "$dir/" + # The platform package carries the isb binary, which is under + # EXA-SL-1.0 (the repo root LICENSE), not the SDK's MIT. + cp "$GITHUB_WORKSPACE/LICENSE" "$dir/" mkdir -p "$RUNNER_TEMP/npm" (cd "$dir" && bun pm pack --destination "$RUNNER_TEMP/npm") tar -tvzf "$RUNNER_TEMP"/npm/*.tgz diff --git a/Cargo.lock b/Cargo.lock index 9dc1777..7f5be42 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1329,7 +1329,7 @@ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "isb" -version = "3.6.0" +version = "4.0.0" dependencies = [ "age", "clap", @@ -1352,7 +1352,7 @@ dependencies = [ [[package]] name = "isb-apps" -version = "3.6.0" +version = "4.0.0" dependencies = [ "age", "base64 0.23.1", @@ -1376,7 +1376,7 @@ dependencies = [ [[package]] name = "isb-core" -version = "3.6.0" +version = "4.0.0" dependencies = [ "age", "base64 0.23.1", @@ -1403,7 +1403,7 @@ dependencies = [ [[package]] name = "isb-daemon" -version = "3.6.0" +version = "4.0.0" dependencies = [ "age", "httparse", @@ -1423,7 +1423,7 @@ dependencies = [ [[package]] name = "isb-egress" -version = "3.6.0" +version = "4.0.0" dependencies = [ "base64 0.23.1", "httparse", @@ -1436,7 +1436,7 @@ dependencies = [ [[package]] name = "isb-server" -version = "3.6.0" +version = "4.0.0" dependencies = [ "argon2", "base64 0.23.1", @@ -1459,7 +1459,7 @@ dependencies = [ [[package]] name = "isb-tui" -version = "3.6.0" +version = "4.0.0" dependencies = [ "isb-core", "libc", diff --git a/Cargo.toml b/Cargo.toml index ff55b1c..770a228 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,20 +55,20 @@ members = ["crates/*"] default-members = [".", "crates/*"] [workspace.package] -version = "3.6.0" +version = "4.0.0" edition = "2024" rust-version = "1.87" -license = "MIT" +license = "LicenseRef-EXA-SL-1.0" repository = "https://github.com/execution-associates/isb" homepage = "https://github.com/execution-associates/isb" [workspace.dependencies] -isb-core = { path = "crates/isb-core", version = "=3.6.0" } -isb-server = { path = "crates/isb-server", version = "=3.6.0" } -isb-apps = { path = "crates/isb-apps", version = "=3.6.0" } -isb-daemon = { path = "crates/isb-daemon", version = "=3.6.0" } -isb-tui = { path = "crates/isb-tui", version = "=3.6.0" } -isb-egress = { path = "crates/isb-egress", version = "=3.6.0" } +isb-core = { path = "crates/isb-core", version = "=4.0.0" } +isb-server = { path = "crates/isb-server", version = "=4.0.0" } +isb-apps = { path = "crates/isb-apps", version = "=4.0.0" } +isb-daemon = { path = "crates/isb-daemon", version = "=4.0.0" } +isb-tui = { path = "crates/isb-tui", version = "=4.0.0" } +isb-egress = { path = "crates/isb-egress", version = "=4.0.0" } serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/LICENSE b/LICENSE index c1ddf64..3cf551d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,232 @@ -MIT License - -Copyright (c) 2026 Execution Associates - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +# Execution Associates Source License, Version 1.0 + +## Abbreviation + +EXA-SL-1.0, Apache 2.0 Future License + +## Notice + +Required Notice: Copyright 2026 Execution Associates (https://executionassociates.com) + +## Summary + +This summary is not part of the terms below and does not change them. + +You may use, copy, change and share the software for free, for any purpose, +unless your company had 10,000,000 USD or more in Annual Revenue, or you use the +software to offer a product that competes with it. A company at or over that +line needs a commercial license from us. Two years after we release each +version, that version also becomes available to everyone under the Apache +License, Version 2.0, with neither limit. + +## Acceptance + +In order to get any license under these terms, you must agree to them as both +strict obligations and conditions to all your licenses. + +## Copyright License + +The licensor grants you a copyright license for the software to do everything +you might do with the software that would otherwise infringe the licensor's +copyright in it for any permitted purpose. However, you may only distribute the +software according to [Distribution License](#distribution-license) and make +changes or new works based on the software according to +[Changes and New Works License](#changes-and-new-works-license). + +## Distribution License + +The licensor grants you an additional copyright license to distribute copies of +the software. Your license to distribute covers distributing the software with +changes and new works permitted by +[Changes and New Works License](#changes-and-new-works-license). + +## Notices + +You must ensure that anyone who gets a copy of any part of the software from +you also gets a copy of these terms or the URL for them below, as well as +copies of any plain-text lines beginning with `Required Notice:` that the +licensor provided with the software. + +These terms apply to all copies, changes and new works based on the software, +until the date in [Future License](#future-license) for the version they are +based on. + + + +## Changes and New Works License + +The licensor grants you an additional copyright license to make changes and new +works based on the software for any permitted purpose. + +## Patent License + +The licensor grants you a patent license for the software that covers patent +claims the licensor can license, or becomes able to license, that you would +infringe by using the software for a permitted purpose. + +## Permitted Purpose + +Any purpose is a permitted purpose, except the two below. The purposes listed +in [Always Permitted](#always-permitted) are permitted even when the second +applies. + +1. providing to others any product that competes with the software (see + [Noncompete](#noncompete)); and + +2. any use for the benefit of a Large Company (see + [Revenue Limit](#revenue-limit)), unless that company holds a commercial + license for the software from the licensor. + +## Noncompete + +Providing to others any product that competes with the software is never a +permitted purpose under these terms, whatever the size of your company. + +## Competition + +If you use this software to market a product as a substitute for the +functionality or value of the software, it competes with the software. A +product also competes with the software if it substitutes for any other product +or service the licensor offers using the software that exists on the date the +licensor makes this version of the software available. A product may compete +regardless how it is designed or deployed. For example, a product may compete +even if it provides its functionality via any kind of interface (including +services, libraries or plug-ins), even if it is ported to a different platform +or programming language, and even if it is provided free of charge. + +## Revenue Limit + +Use of the software for the benefit of your company is a permitted purpose only +if your company is not a Large Company. + +Your company is a **Large Company** if its Annual Revenue was 10,000,000 USD or +more, or the equivalent in other currencies, at any time in the prior twelve +months. + +**Annual Revenue** is the greater of: + +1. your company's total gross revenue, from all sources, in its most recently + completed fiscal year; and + +2. your company's annual recurring revenue at that time, being its monthly + recurring revenue from subscriptions, contracts and other recurring + arrangements, multiplied by twelve. + +Annual Revenue is counted across your company as a whole, including every +organization in it under the definition of **your company** below. + +A Large Company may get a commercial license by contacting the licensor at +https://executionassociates.com. Use by a Large Company without one is not +covered by your licenses, and the licensor may treat it as a violation under +[Violations](#violations). + +If your company becomes a Large Company, your use of the software for its +benefit may continue for 32 days after it first does so while you seek a +commercial license. + +## Always Permitted + +Whatever the size of your company, these are always permitted purposes, so long +as they do not compete with the software: + +1. use by an individual for personal, non-commercial purposes; + +2. non-commercial education; + +3. non-commercial research; + +4. evaluating the software, for up to 32 consecutive days; and + +5. professional services you provide to a licensee who is using the software + for a permitted purpose. + +## Fair Use + +You may have "fair use" rights for the software under the law. These terms do +not limit them. + +## No Other Rights + +These terms do not allow you to sublicense or transfer any of your licenses to +anyone else, or prevent the licensor from granting licenses to anyone else. +These terms do not imply any other licenses. + +## Patent Defense + +If you make any written claim that the software infringes or contributes to +infringement of any patent, your patent license for the software granted under +these terms ends immediately. If your company makes such a claim, your patent +license ends immediately for work on behalf of your company. + +## Violations + +The first time you are notified in writing that you have violated any of these +terms, or done anything with the software not covered by your licenses, your +licenses can nonetheless continue if you come into full compliance with these +terms, and take practical steps to correct past violations, within 32 days of +receiving notice. Otherwise, all your licenses end immediately. + +## No Liability + +***As far as the law allows, the software comes as is, without any warranty or +condition, and the licensor will not be liable to you for any damages arising +out of these terms or the use or nature of the software, under any kind of +legal claim.*** + +## Trademarks + +Except for displaying the notices required above and identifying the licensor +as the origin of the software, these terms give you no right to use the +licensor's trademarks, trade names, service marks or product names, including +"isb" and "Execution Associates". + +## Definitions + +The **licensor** is Execution Associates, the entity offering these terms, and +the **software** is each version of the software the licensor makes available +under these terms, as indicated by its inclusion of these terms with the +software. + +A **product** can be a good or service, or a combination of them. + +**You** refers to the individual or entity agreeing to these terms. + +**Your company** is any legal entity, sole proprietorship, or other kind of +organization that you work for, plus all organizations that have control over, +are under the control of, or are under common control with that organization. +**Control** means ownership of substantially all the assets of an entity, or +the power to direct its management and policies by vote, contract, or +otherwise. Control can be direct or indirect. + +**Your licenses** are all the licenses granted to you for the software under +these terms. + +**Use** means anything you do with the software requiring one of your licenses. + +## Future License + +The licensor hereby irrevocably grants you an additional license to use each +version of the software under the Apache License, Version 2.0, effective on the +second anniversary of the date the licensor makes that version available. On or +after that date, you may use that version under the Apache License, Version +2.0, in which case the Noncompete and the Revenue Limit above do not apply to +that use, and the following will apply: + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + +## Attribution + +These terms are adapted from the PolyForm Perimeter License 1.0.1 +(https://polyformproject.org/licenses/perimeter/1.0.1), the PolyForm Small +Business License 1.0.0 and the Functional Source License, Version 1.1, ALv2 +Future License (https://fsl.software). diff --git a/README.md b/README.md index 4f1be14..571ea7a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![PyPI](https://img.shields.io/pypi/v/isb-sdk.svg)](https://pypi.org/project/isb-sdk/) [![npm](https://img.shields.io/npm/v/@execution-associates/isb.svg)](https://www.npmjs.com/package/@execution-associates/isb) [![CI](https://github.com/execution-associates/isb/actions/workflows/ci.yml/badge.svg)](https://github.com/execution-associates/isb/actions/workflows/ci.yml) -[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) +[![License: EXA-SL-1.0](https://img.shields.io/badge/license-EXA--SL--1.0-blue.svg)](LICENSE) **Sandboxes you can describe, on your own Linux machine.** Write down the containers or VMs you want in a small YAML file, or in Python, TypeScript or @@ -165,4 +165,18 @@ $ isb app create web --project shop --image docker:traefik/whoami -p 127.0.0.1:8 ## License -[MIT](LICENSE) +isb is source-available under the +[Execution Associates Source License 1.0](LICENSE) (EXA-SL-1.0). In short: + +- **Free to use, change and share** for individuals and for companies under + 10M USD in annual revenue (gross revenue or ARR, counted with affiliates). +- **Companies at 10M USD or more need a commercial license** from + [Execution Associates](https://executionassociates.com). +- **No competing products**: you may not use isb to offer a product that + substitutes for it. +- **Every version becomes Apache 2.0** two years after its release, with + neither limit. + +The [LICENSE](LICENSE) is what binds; this summary is not. The Python and +TypeScript SDKs in `sdk/` are MIT; the isb binary their platform packages +bundle is EXA-SL-1.0. diff --git a/deny.toml b/deny.toml index a5feb81..6ad7eae 100644 --- a/deny.toml +++ b/deny.toml @@ -27,6 +27,8 @@ ignore = [ [licenses] allow = [ + # isb's own crates (LICENSE) + "LicenseRef-EXA-SL-1.0", "MIT", "Apache-2.0", "Apache-2.0 WITH LLVM-exception", diff --git a/docs/reference/rpc.md b/docs/reference/rpc.md index 5920bf8..dcc192d 100644 --- a/docs/reference/rpc.md +++ b/docs/reference/rpc.md @@ -19,7 +19,7 @@ it; relative paths resolve against that directory. When it starts, the server writes one hello line: ```json -{"isb": "3.6.0", "protocol": 1} +{"isb": "4.0.0", "protocol": 1} ``` A client checks `protocol` and refuses versions it does not know. @@ -205,7 +205,7 @@ All take `files` (default `./isb.yaml` plus `./isb.override.yaml` if present), ## Example session ```text -<- {"isb":"3.6.0","protocol":1} +<- {"isb":"4.0.0","protocol":1} -> {"id":1,"method":"sandbox.ensure","params":{"spec":{"name":"web","image":"dev-base","cpus":2}}} <- {"id":1,"event":"progress","data":"web: creating from dev-base"} <- {"id":1,"event":"progress","data":"web: starting"} diff --git a/sdk/python/LICENSE-isb-binary b/sdk/python/LICENSE-isb-binary new file mode 100644 index 0000000..3cf551d --- /dev/null +++ b/sdk/python/LICENSE-isb-binary @@ -0,0 +1,232 @@ +# Execution Associates Source License, Version 1.0 + +## Abbreviation + +EXA-SL-1.0, Apache 2.0 Future License + +## Notice + +Required Notice: Copyright 2026 Execution Associates (https://executionassociates.com) + +## Summary + +This summary is not part of the terms below and does not change them. + +You may use, copy, change and share the software for free, for any purpose, +unless your company had 10,000,000 USD or more in Annual Revenue, or you use the +software to offer a product that competes with it. A company at or over that +line needs a commercial license from us. Two years after we release each +version, that version also becomes available to everyone under the Apache +License, Version 2.0, with neither limit. + +## Acceptance + +In order to get any license under these terms, you must agree to them as both +strict obligations and conditions to all your licenses. + +## Copyright License + +The licensor grants you a copyright license for the software to do everything +you might do with the software that would otherwise infringe the licensor's +copyright in it for any permitted purpose. However, you may only distribute the +software according to [Distribution License](#distribution-license) and make +changes or new works based on the software according to +[Changes and New Works License](#changes-and-new-works-license). + +## Distribution License + +The licensor grants you an additional copyright license to distribute copies of +the software. Your license to distribute covers distributing the software with +changes and new works permitted by +[Changes and New Works License](#changes-and-new-works-license). + +## Notices + +You must ensure that anyone who gets a copy of any part of the software from +you also gets a copy of these terms or the URL for them below, as well as +copies of any plain-text lines beginning with `Required Notice:` that the +licensor provided with the software. + +These terms apply to all copies, changes and new works based on the software, +until the date in [Future License](#future-license) for the version they are +based on. + + + +## Changes and New Works License + +The licensor grants you an additional copyright license to make changes and new +works based on the software for any permitted purpose. + +## Patent License + +The licensor grants you a patent license for the software that covers patent +claims the licensor can license, or becomes able to license, that you would +infringe by using the software for a permitted purpose. + +## Permitted Purpose + +Any purpose is a permitted purpose, except the two below. The purposes listed +in [Always Permitted](#always-permitted) are permitted even when the second +applies. + +1. providing to others any product that competes with the software (see + [Noncompete](#noncompete)); and + +2. any use for the benefit of a Large Company (see + [Revenue Limit](#revenue-limit)), unless that company holds a commercial + license for the software from the licensor. + +## Noncompete + +Providing to others any product that competes with the software is never a +permitted purpose under these terms, whatever the size of your company. + +## Competition + +If you use this software to market a product as a substitute for the +functionality or value of the software, it competes with the software. A +product also competes with the software if it substitutes for any other product +or service the licensor offers using the software that exists on the date the +licensor makes this version of the software available. A product may compete +regardless how it is designed or deployed. For example, a product may compete +even if it provides its functionality via any kind of interface (including +services, libraries or plug-ins), even if it is ported to a different platform +or programming language, and even if it is provided free of charge. + +## Revenue Limit + +Use of the software for the benefit of your company is a permitted purpose only +if your company is not a Large Company. + +Your company is a **Large Company** if its Annual Revenue was 10,000,000 USD or +more, or the equivalent in other currencies, at any time in the prior twelve +months. + +**Annual Revenue** is the greater of: + +1. your company's total gross revenue, from all sources, in its most recently + completed fiscal year; and + +2. your company's annual recurring revenue at that time, being its monthly + recurring revenue from subscriptions, contracts and other recurring + arrangements, multiplied by twelve. + +Annual Revenue is counted across your company as a whole, including every +organization in it under the definition of **your company** below. + +A Large Company may get a commercial license by contacting the licensor at +https://executionassociates.com. Use by a Large Company without one is not +covered by your licenses, and the licensor may treat it as a violation under +[Violations](#violations). + +If your company becomes a Large Company, your use of the software for its +benefit may continue for 32 days after it first does so while you seek a +commercial license. + +## Always Permitted + +Whatever the size of your company, these are always permitted purposes, so long +as they do not compete with the software: + +1. use by an individual for personal, non-commercial purposes; + +2. non-commercial education; + +3. non-commercial research; + +4. evaluating the software, for up to 32 consecutive days; and + +5. professional services you provide to a licensee who is using the software + for a permitted purpose. + +## Fair Use + +You may have "fair use" rights for the software under the law. These terms do +not limit them. + +## No Other Rights + +These terms do not allow you to sublicense or transfer any of your licenses to +anyone else, or prevent the licensor from granting licenses to anyone else. +These terms do not imply any other licenses. + +## Patent Defense + +If you make any written claim that the software infringes or contributes to +infringement of any patent, your patent license for the software granted under +these terms ends immediately. If your company makes such a claim, your patent +license ends immediately for work on behalf of your company. + +## Violations + +The first time you are notified in writing that you have violated any of these +terms, or done anything with the software not covered by your licenses, your +licenses can nonetheless continue if you come into full compliance with these +terms, and take practical steps to correct past violations, within 32 days of +receiving notice. Otherwise, all your licenses end immediately. + +## No Liability + +***As far as the law allows, the software comes as is, without any warranty or +condition, and the licensor will not be liable to you for any damages arising +out of these terms or the use or nature of the software, under any kind of +legal claim.*** + +## Trademarks + +Except for displaying the notices required above and identifying the licensor +as the origin of the software, these terms give you no right to use the +licensor's trademarks, trade names, service marks or product names, including +"isb" and "Execution Associates". + +## Definitions + +The **licensor** is Execution Associates, the entity offering these terms, and +the **software** is each version of the software the licensor makes available +under these terms, as indicated by its inclusion of these terms with the +software. + +A **product** can be a good or service, or a combination of them. + +**You** refers to the individual or entity agreeing to these terms. + +**Your company** is any legal entity, sole proprietorship, or other kind of +organization that you work for, plus all organizations that have control over, +are under the control of, or are under common control with that organization. +**Control** means ownership of substantially all the assets of an entity, or +the power to direct its management and policies by vote, contract, or +otherwise. Control can be direct or indirect. + +**Your licenses** are all the licenses granted to you for the software under +these terms. + +**Use** means anything you do with the software requiring one of your licenses. + +## Future License + +The licensor hereby irrevocably grants you an additional license to use each +version of the software under the Apache License, Version 2.0, effective on the +second anniversary of the date the licensor makes that version available. On or +after that date, you may use that version under the Apache License, Version +2.0, in which case the Noncompete and the Revenue Limit above do not apply to +that use, and the following will apply: + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + +## Attribution + +These terms are adapted from the PolyForm Perimeter License 1.0.1 +(https://polyformproject.org/licenses/perimeter/1.0.1), the PolyForm Small +Business License 1.0.0 and the Functional Source License, Version 1.1, ALv2 +Future License (https://fsl.software). diff --git a/sdk/python/README.md b/sdk/python/README.md index 3ced339..c427a82 100644 --- a/sdk/python/README.md +++ b/sdk/python/README.md @@ -321,4 +321,6 @@ uv build --wheel # platform wheel with the binary ## License -MIT +The SDK is MIT. + +The platform wheels bundle the isb binary (`isb/_bin/isb`), which is under the [Execution Associates Source License 1.0](https://github.com/execution-associates/isb/blob/main/LICENSE) (EXA-SL-1.0), in `LICENSE-isb-binary`. diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.toml index 6a3888d..0f5e609 100644 --- a/sdk/python/pyproject.toml +++ b/sdk/python/pyproject.toml @@ -4,11 +4,13 @@ build-backend = "hatchling.build" [project] name = "isb-sdk" -version = "3.6.0" +version = "4.0.0" description = "Python SDK for isb: declarative incus sandboxes (containers and VMs)" readme = "README.md" -license = "MIT" -license-files = ["LICENSE"] +license = "MIT AND LicenseRef-EXA-SL-1.0" +# The SDK is MIT (LICENSE); the isb binary a platform wheel bundles at +# isb/_bin/isb is EXA-SL-1.0 (LICENSE-isb-binary). +license-files = ["LICENSE", "LICENSE-isb-binary"] requires-python = ">=3.10" authors = [{ name = "Stephan Fitzpatrick", email = "stephan@orangecountyai.com" }] keywords = ["incus", "sandbox", "containers", "virtual-machines", "lxc"] @@ -45,7 +47,7 @@ exclude = ["src/isb/_bin"] path = "hatch_build.py" [tool.hatch.build.targets.sdist] -include = ["src/isb", "tests", "scripts", "hatch_build.py", "README.md", "LICENSE"] +include = ["src/isb", "tests", "scripts", "hatch_build.py", "README.md", "LICENSE", "LICENSE-isb-binary"] exclude = ["src/isb/_bin"] [tool.ruff] diff --git a/sdk/python/src/isb/__init__.py b/sdk/python/src/isb/__init__.py index 3a12225..e53b999 100644 --- a/sdk/python/src/isb/__init__.py +++ b/sdk/python/src/isb/__init__.py @@ -62,7 +62,7 @@ async def main(): from ._util import Duration from .volumes import Volumes -__version__ = "3.6.0" +__version__ = "4.0.0" __all__ = [ "PROTOCOL", diff --git a/sdk/python/tests/test_unit.py b/sdk/python/tests/test_unit.py index a58a4e6..80b414f 100644 --- a/sdk/python/tests/test_unit.py +++ b/sdk/python/tests/test_unit.py @@ -222,7 +222,7 @@ async def test_death_fails_pending_requests(self) -> None: path = fake_server( self.tmp.name, """\ - echo '{"isb":"3.6.0","protocol":1}' + echo '{"isb":"4.0.0","protocol":1}' read line echo "boom" >&2 exit 3 @@ -243,7 +243,7 @@ async def test_close_fails_pending(self) -> None: path = fake_server( self.tmp.name, """\ - echo '{"isb":"3.6.0","protocol":1}' + echo '{"isb":"4.0.0","protocol":1}' cat >/dev/null """, ) @@ -261,7 +261,7 @@ async def test_events_and_out_of_order_replies(self) -> None: path = fake_server( self.tmp.name, """\ - echo '{"isb":"3.6.0","protocol":1}' + echo '{"isb":"4.0.0","protocol":1}' read a read b echo 'not json' diff --git a/sdk/python/uv.lock b/sdk/python/uv.lock index fc2ab4a..83f2d6c 100644 --- a/sdk/python/uv.lock +++ b/sdk/python/uv.lock @@ -72,7 +72,7 @@ wheels = [ [[package]] name = "isb-sdk" -version = "3.6.0" +version = "4.0.0" source = { editable = "." } [package.dev-dependencies] diff --git a/sdk/typescript/README.md b/sdk/typescript/README.md index 723a6ae..04fe1c9 100644 --- a/sdk/typescript/README.md +++ b/sdk/typescript/README.md @@ -303,4 +303,6 @@ create is named `isb-test-ts--...` and is removed afterwards, pass or fail. ## License -MIT +The SDK is MIT. + +The platform packages it installs (`@execution-associates/isb-linux-x64`, `@execution-associates/isb-linux-arm64`) carry the isb binary, which is under the [Execution Associates Source License 1.0](https://github.com/execution-associates/isb/blob/main/LICENSE) (EXA-SL-1.0). diff --git a/sdk/typescript/bun.lock b/sdk/typescript/bun.lock index 8ee2dd0..e2679e9 100644 --- a/sdk/typescript/bun.lock +++ b/sdk/typescript/bun.lock @@ -12,8 +12,8 @@ "typescript": "^5.9.0", }, "optionalDependencies": { - "@execution-associates/isb-linux-arm64": "3.6.0", - "@execution-associates/isb-linux-x64": "3.6.0", + "@execution-associates/isb-linux-arm64": "4.0.0", + "@execution-associates/isb-linux-x64": "4.0.0", }, }, }, diff --git a/sdk/typescript/npm/linux-arm64/package.json b/sdk/typescript/npm/linux-arm64/package.json index b823985..d898532 100644 --- a/sdk/typescript/npm/linux-arm64/package.json +++ b/sdk/typescript/npm/linux-arm64/package.json @@ -1,8 +1,8 @@ { "name": "@execution-associates/isb-linux-arm64", - "version": "3.6.0", + "version": "4.0.0", "description": "The static isb binary for Linux arm64 (aarch64-unknown-linux-musl), used by @execution-associates/isb", - "license": "MIT", + "license": "SEE LICENSE IN LICENSE", "repository": { "type": "git", "url": "git+https://github.com/execution-associates/isb.git", diff --git a/sdk/typescript/npm/linux-x64/package.json b/sdk/typescript/npm/linux-x64/package.json index cf4ae61..37e552f 100644 --- a/sdk/typescript/npm/linux-x64/package.json +++ b/sdk/typescript/npm/linux-x64/package.json @@ -1,8 +1,8 @@ { "name": "@execution-associates/isb-linux-x64", - "version": "3.6.0", + "version": "4.0.0", "description": "The static isb binary for Linux x64 (x86_64-unknown-linux-musl), used by @execution-associates/isb", - "license": "MIT", + "license": "SEE LICENSE IN LICENSE", "repository": { "type": "git", "url": "git+https://github.com/execution-associates/isb.git", diff --git a/sdk/typescript/package.json b/sdk/typescript/package.json index 89ddb3c..b17b409 100644 --- a/sdk/typescript/package.json +++ b/sdk/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@execution-associates/isb", - "version": "3.6.0", + "version": "4.0.0", "description": "TypeScript SDK for isb: declarative incus sandboxes (containers and VMs)", "license": "MIT", "type": "module", @@ -51,8 +51,8 @@ "prepack": "bun run build" }, "optionalDependencies": { - "@execution-associates/isb-linux-arm64": "3.6.0", - "@execution-associates/isb-linux-x64": "3.6.0" + "@execution-associates/isb-linux-arm64": "4.0.0", + "@execution-associates/isb-linux-x64": "4.0.0" }, "devDependencies": { "@biomejs/biome": "^2.2.0", diff --git a/web/package.json b/web/package.json index 3630339..bf96e30 100644 --- a/web/package.json +++ b/web/package.json @@ -3,7 +3,7 @@ "private": true, "version": "0.0.0", "type": "module", - "license": "MIT", + "license": "SEE LICENSE IN LICENSE", "scripts": { "dev": "vite", "build": "tsc -b && vite build",