diff --git a/COMMERCIAL.md b/COMMERCIAL.md index bd108f6c1..d68b3dbf6 100644 --- a/COMMERCIAL.md +++ b/COMMERCIAL.md @@ -1,29 +1,12 @@ -# Commercial Licensing +# Licensing -`@cacheplane/langgraph` is source-available software dual-licensed under: +The libraries in this repository (`@cacheplane/langgraph`, `@cacheplane/chat`, and all related packages) are released under the **MIT License**. You are free to use, modify, and distribute them in any project — commercial or noncommercial — at no cost. See [`LICENSE`](./LICENSE). -- **PolyForm Noncommercial 1.0.0** — free for noncommercial use (see [`LICENSE`](./LICENSE)) -- **Angular Agent Framework Commercial License** — required for commercial use (see [`LICENSE-COMMERCIAL`](./LICENSE-COMMERCIAL)) +## Minting Service -## What requires a commercial license? +The cacheplane minting service (`apps/minting-service/`) is a proprietary internal service and is not covered by the MIT License. See `apps/minting-service/LICENSE` for its terms. -Any use in a for-profit product, service, or organization requires a paid commercial license. This includes: +## Questions -- Production applications at for-profit companies -- SaaS products or internal tools at revenue-generating organizations -- Consulting or client work where the software is deployed commercially - -## License tiers - -| Tier | Price | Scope | -|---|---|---| -| **Developer Seat** | $500 / seat / year | One developer, all environments, 12-month release lock | -| **App Deployment** | $2,000 / app (one-time) | One named application, all developers, perpetual for version | -| **Enterprise** | Custom | Volume licensing, priority support, custom contract | - -## Purchase or inquire - -- Website: https://cacheplane.ai/pricing +- Website: https://cacheplane.ai - Email: hello@cacheplane.ai - -See [`LICENSE-COMMERCIAL`](./LICENSE-COMMERCIAL) for the full commercial license terms. diff --git a/LICENSE b/LICENSE index d803f3f56..c1a0122f7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,144 +1,21 @@ -PolyForm Noncommercial License 1.0.0 - - +MIT License Copyright (c) 2026 Brian Love d/b/a cacheplane -## 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 and make changes or new works based on the -software according to 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. - -## 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 above, -as well as copies of any plain-text lines beginning -with `Required Notice:` that the licensor provided -with the software. For example: - -> Required Notice: Copyright (c) 2026 Brian Love d/b/a cacheplane - -## 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. - -## Noncommercial Purposes - -Any noncommercial purpose is a permitted purpose. - -## Personal Uses - -Personal use for research, experiment, and testing for -the benefit of public knowledge, personal study, private -entertainment, hobby projects, amateur pursuits, or religious -observance, without any anticipated commercial application, -is use for a noncommercial purpose. - -## Noncommercial Organizations - -Use in the scope of an organization with no substantial -commercial activity is use for a noncommercial purpose. -Substantial commercial activity does not include -providing software to an organization with substantial -commercial activity if the software is not itself -a commercial product. - -## Fair Use - -You may have "fair use" rights for the software under -the law. These terms do not limit them. - -## Free Trial - -Use to evaluate whether the software suits a particular -application for less than 32 consecutive calendar days, -on behalf of you or your organization, is use for a -noncommercial purpose. - -## 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 employer makes -such a claim, your patent license ends immediately for -work on behalf of your employer. - -## Violations - -The first time you are notified in writing that you -have violated any of these terms, and you stop your -violation within 30 days after your notification, your -license continues forever. Otherwise, your license -ends 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.*** - -## Definitions - -The **licensor** is the individual or entity offering -these terms, and the **software** is the software the -licensor makes available under these terms. - -**You** refers to the individual or entity agreeing -to these terms. - -**Your organization** 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 legal affairs. - -**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. - -**Trademark** means trademarks, service marks, and -similar rights. +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. diff --git a/README.md b/README.md index 719d4a5ea..e861a8431 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ npm version - License: PolyForm Noncommercial + Commercial + License: MIT Angular 20+ @@ -120,19 +120,6 @@ That's it. `chat.messages()` is an Angular Signal. Bind it directly in your temp --- -## Pricing - -| Tier | Price | Use Case | -|---|---|---| -| **Community** | Free | Noncommercial use — personal projects, academic, research, non-profit | -| **Developer Seat** | $500 / seat / year | Commercial use — 12-month release window locked at purchase | -| **Application Deployment** | $2,000 / app | One-time per application — covers dev, staging, and prod | -| **Enterprise** | Custom | Volume licensing, priority support, custom contract | - -[Full pricing details and license terms →](https://cacheplane.ai/pricing) - ---- - ## Documentation - [Getting Started](https://cacheplane.ai/docs/getting-started) @@ -145,9 +132,6 @@ That's it. `chat.messages()` is an Angular Signal. Bind it directly in your temp ## License -`@cacheplane/langgraph` is source-available software dual-licensed: - -- **PolyForm Noncommercial 1.0.0** — free for noncommercial use (personal projects, academic, research, non-profit internal tooling). See [`LICENSE`](./LICENSE). -- **Angular Agent Framework Commercial License** — required for any for-profit or revenue-generating use. See [`LICENSE-COMMERCIAL`](./LICENSE-COMMERCIAL) and [`COMMERCIAL.md`](./COMMERCIAL.md). +**MIT** — free for any use. See [`LICENSE`](./LICENSE). -This is **not** an open-source license. Commercial use — including use in a for-profit product, service, or organization — requires a paid commercial license. See [pricing](https://cacheplane.ai/pricing). +`@cacheplane/langgraph` and all libraries in this repository are released under the [MIT License](./LICENSE). You are free to use, modify, and distribute them in both commercial and noncommercial projects without restriction. diff --git a/LICENSE-COMMERCIAL b/apps/minting-service/LICENSE similarity index 85% rename from LICENSE-COMMERCIAL rename to apps/minting-service/LICENSE index 607038d65..a1fe3d1ad 100644 --- a/LICENSE-COMMERCIAL +++ b/apps/minting-service/LICENSE @@ -3,8 +3,13 @@ Commercial License Copyright (c) 2026 Brian Love d/b/a cacheplane. All rights reserved. This Commercial License ("License") governs commercial use of the -@cacheplane/langgraph software ("Software"). Use of the Software for -commercial purposes requires a valid license purchased from cacheplane. +cacheplane minting service ("Software"), located in apps/minting-service/ +of the angular-agent-framework repository. This License applies solely to +the minting service component and does not govern any other part of the +repository, which is released separately under the MIT License. + +Use of the Software for commercial purposes requires a valid license +purchased from cacheplane. --- LICENSE TIERS --- @@ -36,12 +41,12 @@ applications, in accordance with the scope of the purchased tier. Restrictions. You may not: (a) sublicense, sell, resell, or transfer the Software as a standalone - product or library; + product or service; (b) use the Software outside the scope of your purchased license tier; (c) remove or alter any copyright, trademark, or proprietary notices. No Redistribution. You may not distribute the Software or make it available -to third parties as a library, package, or SDK, whether modified or +to third parties as a service, package, or SDK, whether modified or unmodified, without a separate written agreement with cacheplane. Warranty Disclaimer. THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF diff --git a/apps/minting-service/package.json b/apps/minting-service/package.json index 35f92e80b..5f351daaa 100644 --- a/apps/minting-service/package.json +++ b/apps/minting-service/package.json @@ -2,6 +2,7 @@ "name": "@cacheplane/minting-service", "version": "0.0.1", "type": "module", + "license": "SEE LICENSE IN LICENSE", "private": true, "dependencies": { "drizzle-orm": "^0.45.2", diff --git a/apps/website/src/components/landing/FeatureStrip.tsx b/apps/website/src/components/landing/FeatureStrip.tsx index a60b82b27..ee75e9bbd 100644 --- a/apps/website/src/components/landing/FeatureStrip.tsx +++ b/apps/website/src/components/landing/FeatureStrip.tsx @@ -7,7 +7,7 @@ const FEATURES = [ { icon: '\uD83D\uDD17', title: 'Thread persistence', desc: 'MemorySaver-backed threads survive page refreshes via threadId signal and onThreadId callback.' }, { icon: '\uD83D\uDCD0', title: 'Angular Signals', desc: 'Every state slice is an Angular Signal. Works with OnPush, async pipe, and computed().' }, { icon: '\uD83E\uDDEA', title: 'MockAgentTransport', desc: 'Deterministic unit testing. Script event sequences and step through them in your specs.' }, - { icon: '\uD83C\uDFE2', title: 'Source-available licensing', desc: 'Free for noncommercial use under PolyForm Noncommercial 1.0.0. Commercial license at $500/seat/year or $2,000/app deployment.' }, + { icon: '\uD83C\uDFE2', title: 'MIT Licensed', desc: 'Free for any use — personal, commercial, or enterprise — under the MIT License. No restrictions.' }, ]; export function FeatureStrip() { diff --git a/apps/website/src/components/pricing/PricingGrid.tsx b/apps/website/src/components/pricing/PricingGrid.tsx index 7eb1a4dfc..0d5b78fdb 100644 --- a/apps/website/src/components/pricing/PricingGrid.tsx +++ b/apps/website/src/components/pricing/PricingGrid.tsx @@ -3,37 +3,19 @@ import { tokens } from '@cacheplane/design-tokens'; const PLANS = [ { - name: 'Community', + name: 'Open Source', price: 'Free', - period: 'noncommercial use', - features: ['PolyForm Noncommercial 1.0.0', 'Personal projects', 'Academic & research', 'Non-profit internal use'], + period: 'forever', + features: ['MIT License', 'All libraries', 'Commercial use welcome', 'Community support'], highlight: false, cta: 'Get Started', ctaHref: 'https://www.npmjs.com/package/@cacheplane/langgraph', }, - { - name: 'Developer Seat', - price: '$500', - period: '/seat/year', - features: ['Commercial use', '12-month license', 'Email support', 'All features'], - highlight: false, - cta: 'Buy License', - ctaHref: '#lead-form', - }, - { - name: 'App Deployment', - price: '$2,000', - period: '/app/year', - features: ['Per-application license', 'All environments covered', 'No seat limits', '12-month license term'], - highlight: false, - cta: 'Buy License', - ctaHref: '#lead-form', - }, { name: 'Enterprise', price: 'Custom', - period: 'volume licensing', - features: ['Volume licensing', 'Priority support', 'Custom contract'], + period: 'contact for details', + features: ['Priority support', 'SLA', 'Managed service (coming soon)', 'Custom contract'], highlight: true, cta: 'Contact Us', ctaHref: '#lead-form', diff --git a/apps/website/src/components/shared/Footer.tsx b/apps/website/src/components/shared/Footer.tsx index dcabcf124..3f6431bd4 100644 --- a/apps/website/src/components/shared/Footer.tsx +++ b/apps/website/src/components/shared/Footer.tsx @@ -220,11 +220,13 @@ export function Footer() { onMouseLeave={(e) => (e.currentTarget.style.color = tokens.colors.textSecondary)}> npm Package - (e.currentTarget.style.color = tokens.colors.accent)} onMouseLeave={(e) => (e.currentTarget.style.color = tokens.colors.textSecondary)}> - Commercial License - + MIT License + @@ -232,9 +234,9 @@ export function Footer() {
© {new Date().getFullYear()} Angular Agent Framework. All rights reserved. - PolyForm Noncommercial 1.0.0 · MIT License · (e.currentTarget.style.color = tokens.colors.accent)} - onMouseLeave={(e) => (e.currentTarget.style.color = tokens.colors.textMuted)}>Commercial License + onMouseLeave={(e) => (e.currentTarget.style.color = tokens.colors.textMuted)}>Pricing
diff --git a/cockpit/ag-ui/streaming/angular/package.json b/cockpit/ag-ui/streaming/angular/package.json index e286afb70..75c88791d 100644 --- a/cockpit/ag-ui/streaming/angular/package.json +++ b/cockpit/ag-ui/streaming/angular/package.json @@ -5,6 +5,6 @@ "@cacheplane/ag-ui": "^0.0.1", "@cacheplane/chat": "^0.0.1" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/ag-ui/streaming/angular/src/app/app.config.ts b/cockpit/ag-ui/streaming/angular/src/app/app.config.ts index 5be3c5f3d..4783883c9 100644 --- a/cockpit/ag-ui/streaming/angular/src/app/app.config.ts +++ b/cockpit/ag-ui/streaming/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideFakeAgUiAgent } from '@cacheplane/ag-ui'; diff --git a/cockpit/ag-ui/streaming/angular/src/app/streaming.component.ts b/cockpit/ag-ui/streaming/angular/src/app/streaming.component.ts index 92c805b7e..1ddbe780f 100644 --- a/cockpit/ag-ui/streaming/angular/src/app/streaming.component.ts +++ b/cockpit/ag-ui/streaming/angular/src/app/streaming.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, inject } from '@angular/core'; import { ChatComponent } from '@cacheplane/chat'; import { AG_UI_AGENT } from '@cacheplane/ag-ui'; diff --git a/cockpit/ag-ui/streaming/angular/src/main.ts b/cockpit/ag-ui/streaming/angular/src/main.ts index aed8e4d3e..468dd85fc 100644 --- a/cockpit/ag-ui/streaming/angular/src/main.ts +++ b/cockpit/ag-ui/streaming/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { StreamingComponent } from './app/streaming.component'; diff --git a/cockpit/chat/a2ui/angular/src/app/a2ui.component.ts b/cockpit/chat/a2ui/angular/src/app/a2ui.component.ts index 269046921..400bf855a 100644 --- a/cockpit/chat/a2ui/angular/src/app/a2ui.component.ts +++ b/cockpit/chat/a2ui/angular/src/app/a2ui.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; import { ChatComponent, a2uiBasicCatalog } from '@cacheplane/chat'; import { agent, toAgent } from '@cacheplane/langgraph'; diff --git a/cockpit/chat/a2ui/angular/src/app/app.config.ts b/cockpit/chat/a2ui/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/a2ui/angular/src/app/app.config.ts +++ b/cockpit/chat/a2ui/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/a2ui/angular/src/main.ts b/cockpit/chat/a2ui/angular/src/main.ts index 029228131..d8cb71b23 100644 --- a/cockpit/chat/a2ui/angular/src/main.ts +++ b/cockpit/chat/a2ui/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { A2uiComponent } from './app/a2ui.component'; diff --git a/cockpit/chat/debug/angular/package.json b/cockpit/chat/debug/angular/package.json index 00d483763..e21713044 100644 --- a/cockpit/chat/debug/angular/package.json +++ b/cockpit/chat/debug/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/debug/angular/src/app/app.config.ts b/cockpit/chat/debug/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/debug/angular/src/app/app.config.ts +++ b/cockpit/chat/debug/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/debug/angular/src/app/debug.component.ts b/cockpit/chat/debug/angular/src/app/debug.component.ts index 3dec822b9..0582a1286 100644 --- a/cockpit/chat/debug/angular/src/app/debug.component.ts +++ b/cockpit/chat/debug/angular/src/app/debug.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; import { ChatDebugComponent } from '@cacheplane/chat'; import { agent, toAgent } from '@cacheplane/langgraph'; diff --git a/cockpit/chat/debug/angular/src/main.ts b/cockpit/chat/debug/angular/src/main.ts index a3f444612..65bbaec57 100644 --- a/cockpit/chat/debug/angular/src/main.ts +++ b/cockpit/chat/debug/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { DebugPageComponent } from './app/debug.component'; diff --git a/cockpit/chat/debug/python/package.json b/cockpit/chat/debug/python/package.json index e7c3310d1..d32ec20c8 100644 --- a/cockpit/chat/debug/python/package.json +++ b/cockpit/chat/debug/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-chat-debug-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/generative-ui/angular/package.json b/cockpit/chat/generative-ui/angular/package.json index 9732a4949..94e9fdf7a 100644 --- a/cockpit/chat/generative-ui/angular/package.json +++ b/cockpit/chat/generative-ui/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/generative-ui/angular/src/app/app.config.ts b/cockpit/chat/generative-ui/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/generative-ui/angular/src/app/app.config.ts +++ b/cockpit/chat/generative-ui/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/generative-ui/angular/src/app/generative-ui.component.ts b/cockpit/chat/generative-ui/angular/src/app/generative-ui.component.ts index 85284ef1d..66de12e54 100644 --- a/cockpit/chat/generative-ui/angular/src/app/generative-ui.component.ts +++ b/cockpit/chat/generative-ui/angular/src/app/generative-ui.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; import { ChatComponent, views } from '@cacheplane/chat'; import { agent, toAgent } from '@cacheplane/langgraph'; diff --git a/cockpit/chat/generative-ui/angular/src/app/views/bar-chart.component.ts b/cockpit/chat/generative-ui/angular/src/app/views/bar-chart.component.ts index ddaaf860f..cd7e155ed 100644 --- a/cockpit/chat/generative-ui/angular/src/app/views/bar-chart.component.ts +++ b/cockpit/chat/generative-ui/angular/src/app/views/bar-chart.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input } from '@angular/core'; @Component({ diff --git a/cockpit/chat/generative-ui/angular/src/app/views/container.component.ts b/cockpit/chat/generative-ui/angular/src/app/views/container.component.ts index 40f3ef3b4..6ac5a098a 100644 --- a/cockpit/chat/generative-ui/angular/src/app/views/container.component.ts +++ b/cockpit/chat/generative-ui/angular/src/app/views/container.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input } from '@angular/core'; import type { Spec } from '@json-render/core'; import { RenderElementComponent } from '@cacheplane/render'; diff --git a/cockpit/chat/generative-ui/angular/src/app/views/dashboard-grid.component.ts b/cockpit/chat/generative-ui/angular/src/app/views/dashboard-grid.component.ts index d6b8c92c0..ef67bfce0 100644 --- a/cockpit/chat/generative-ui/angular/src/app/views/dashboard-grid.component.ts +++ b/cockpit/chat/generative-ui/angular/src/app/views/dashboard-grid.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; import type { Spec } from '@json-render/core'; import { RenderElementComponent } from '@cacheplane/render'; diff --git a/cockpit/chat/generative-ui/angular/src/app/views/data-grid.component.ts b/cockpit/chat/generative-ui/angular/src/app/views/data-grid.component.ts index af8222c9b..56d3d1a8e 100644 --- a/cockpit/chat/generative-ui/angular/src/app/views/data-grid.component.ts +++ b/cockpit/chat/generative-ui/angular/src/app/views/data-grid.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input } from '@angular/core'; @Component({ diff --git a/cockpit/chat/generative-ui/angular/src/app/views/line-chart.component.ts b/cockpit/chat/generative-ui/angular/src/app/views/line-chart.component.ts index 93127b6e2..19edcdaca 100644 --- a/cockpit/chat/generative-ui/angular/src/app/views/line-chart.component.ts +++ b/cockpit/chat/generative-ui/angular/src/app/views/line-chart.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input } from '@angular/core'; @Component({ diff --git a/cockpit/chat/generative-ui/angular/src/app/views/stat-card.component.ts b/cockpit/chat/generative-ui/angular/src/app/views/stat-card.component.ts index e865fc33b..a8815c01e 100644 --- a/cockpit/chat/generative-ui/angular/src/app/views/stat-card.component.ts +++ b/cockpit/chat/generative-ui/angular/src/app/views/stat-card.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input } from '@angular/core'; @Component({ diff --git a/cockpit/chat/generative-ui/angular/src/main.ts b/cockpit/chat/generative-ui/angular/src/main.ts index 862ebbc69..18405fa76 100644 --- a/cockpit/chat/generative-ui/angular/src/main.ts +++ b/cockpit/chat/generative-ui/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { GenerativeUiComponent } from './app/generative-ui.component'; diff --git a/cockpit/chat/generative-ui/python/package.json b/cockpit/chat/generative-ui/python/package.json index 5f1b15a20..1241e24e7 100644 --- a/cockpit/chat/generative-ui/python/package.json +++ b/cockpit/chat/generative-ui/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-chat-generative-ui-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/input/angular/package.json b/cockpit/chat/input/angular/package.json index dd5c76bf0..28cc0ff99 100644 --- a/cockpit/chat/input/angular/package.json +++ b/cockpit/chat/input/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/input/angular/src/app/app.config.ts b/cockpit/chat/input/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/input/angular/src/app/app.config.ts +++ b/cockpit/chat/input/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/input/angular/src/app/input.component.ts b/cockpit/chat/input/angular/src/app/input.component.ts index 3b4c5d6db..aabd51404 100644 --- a/cockpit/chat/input/angular/src/app/input.component.ts +++ b/cockpit/chat/input/angular/src/app/input.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed } from '@angular/core'; import { ChatInputComponent as ChatInputPrimitive } from '@cacheplane/chat'; import { ChatMessagesComponent } from '@cacheplane/chat'; diff --git a/cockpit/chat/input/angular/src/main.ts b/cockpit/chat/input/angular/src/main.ts index c923d9a0a..c9b5218c0 100644 --- a/cockpit/chat/input/angular/src/main.ts +++ b/cockpit/chat/input/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { InputComponent } from './app/input.component'; diff --git a/cockpit/chat/input/python/package.json b/cockpit/chat/input/python/package.json index 961ff7665..4b5fbbb7d 100644 --- a/cockpit/chat/input/python/package.json +++ b/cockpit/chat/input/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-chat-input-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/interrupts/angular/package.json b/cockpit/chat/interrupts/angular/package.json index 760f81248..6196303f2 100644 --- a/cockpit/chat/interrupts/angular/package.json +++ b/cockpit/chat/interrupts/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/interrupts/angular/src/app/app.config.ts b/cockpit/chat/interrupts/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/interrupts/angular/src/app/app.config.ts +++ b/cockpit/chat/interrupts/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/interrupts/angular/src/app/interrupts.component.ts b/cockpit/chat/interrupts/angular/src/app/interrupts.component.ts index 875f98cf2..8f407ad2e 100644 --- a/cockpit/chat/interrupts/angular/src/app/interrupts.component.ts +++ b/cockpit/chat/interrupts/angular/src/app/interrupts.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed } from '@angular/core'; import { JsonPipe } from '@angular/common'; import { ChatComponent, ChatInterruptPanelComponent } from '@cacheplane/chat'; diff --git a/cockpit/chat/interrupts/angular/src/main.ts b/cockpit/chat/interrupts/angular/src/main.ts index 16589a6b1..6d07c465c 100644 --- a/cockpit/chat/interrupts/angular/src/main.ts +++ b/cockpit/chat/interrupts/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { InterruptsComponent } from './app/interrupts.component'; diff --git a/cockpit/chat/interrupts/python/package.json b/cockpit/chat/interrupts/python/package.json index 8fd18bc7e..8c403ff98 100644 --- a/cockpit/chat/interrupts/python/package.json +++ b/cockpit/chat/interrupts/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-chat-interrupts-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/messages/angular/package.json b/cockpit/chat/messages/angular/package.json index 81435ab49..3abafd64f 100644 --- a/cockpit/chat/messages/angular/package.json +++ b/cockpit/chat/messages/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/messages/angular/src/app/app.config.ts b/cockpit/chat/messages/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/messages/angular/src/app/app.config.ts +++ b/cockpit/chat/messages/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/messages/angular/src/app/messages.component.ts b/cockpit/chat/messages/angular/src/app/messages.component.ts index 1152d5466..726a09052 100644 --- a/cockpit/chat/messages/angular/src/app/messages.component.ts +++ b/cockpit/chat/messages/angular/src/app/messages.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; import { ChatMessagesComponent, diff --git a/cockpit/chat/messages/angular/src/main.ts b/cockpit/chat/messages/angular/src/main.ts index 8c812b201..28dd3a3b7 100644 --- a/cockpit/chat/messages/angular/src/main.ts +++ b/cockpit/chat/messages/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { MessagesComponent } from './app/messages.component'; diff --git a/cockpit/chat/messages/python/package.json b/cockpit/chat/messages/python/package.json index 22ef15cbb..1ee8c21bc 100644 --- a/cockpit/chat/messages/python/package.json +++ b/cockpit/chat/messages/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-chat-messages-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/subagents/angular/package.json b/cockpit/chat/subagents/angular/package.json index 85b2b7b8e..b575623b6 100644 --- a/cockpit/chat/subagents/angular/package.json +++ b/cockpit/chat/subagents/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/subagents/angular/src/app/app.config.ts b/cockpit/chat/subagents/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/subagents/angular/src/app/app.config.ts +++ b/cockpit/chat/subagents/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/subagents/angular/src/app/subagents.component.ts b/cockpit/chat/subagents/angular/src/app/subagents.component.ts index ad753d203..bdc0637e2 100644 --- a/cockpit/chat/subagents/angular/src/app/subagents.component.ts +++ b/cockpit/chat/subagents/angular/src/app/subagents.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; import { ChatComponent, diff --git a/cockpit/chat/subagents/angular/src/main.ts b/cockpit/chat/subagents/angular/src/main.ts index 869cb2212..aba349fde 100644 --- a/cockpit/chat/subagents/angular/src/main.ts +++ b/cockpit/chat/subagents/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { SubagentsComponent } from './app/subagents.component'; diff --git a/cockpit/chat/subagents/python/package.json b/cockpit/chat/subagents/python/package.json index c55c54e0c..df0e381b2 100644 --- a/cockpit/chat/subagents/python/package.json +++ b/cockpit/chat/subagents/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-chat-subagents-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/theming/angular/package.json b/cockpit/chat/theming/angular/package.json index 29b8d0286..a6a6638df 100644 --- a/cockpit/chat/theming/angular/package.json +++ b/cockpit/chat/theming/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/theming/angular/src/app/app.config.ts b/cockpit/chat/theming/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/theming/angular/src/app/app.config.ts +++ b/cockpit/chat/theming/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/theming/angular/src/app/theming.component.ts b/cockpit/chat/theming/angular/src/app/theming.component.ts index 00b08645d..4373ab26c 100644 --- a/cockpit/chat/theming/angular/src/app/theming.component.ts +++ b/cockpit/chat/theming/angular/src/app/theming.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, signal } from '@angular/core'; import { TitleCasePipe } from '@angular/common'; import { ChatComponent } from '@cacheplane/chat'; diff --git a/cockpit/chat/theming/angular/src/main.ts b/cockpit/chat/theming/angular/src/main.ts index 0669011b9..cdf4417d5 100644 --- a/cockpit/chat/theming/angular/src/main.ts +++ b/cockpit/chat/theming/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { ThemingComponent } from './app/theming.component'; diff --git a/cockpit/chat/theming/python/package.json b/cockpit/chat/theming/python/package.json index 0bdcd1f02..ee5c543b8 100644 --- a/cockpit/chat/theming/python/package.json +++ b/cockpit/chat/theming/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-chat-theming-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/threads/angular/package.json b/cockpit/chat/threads/angular/package.json index 2c6126be5..8d4806226 100644 --- a/cockpit/chat/threads/angular/package.json +++ b/cockpit/chat/threads/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/threads/angular/src/app/app.config.ts b/cockpit/chat/threads/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/threads/angular/src/app/app.config.ts +++ b/cockpit/chat/threads/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/threads/angular/src/app/threads.component.ts b/cockpit/chat/threads/angular/src/app/threads.component.ts index 2e0232e37..e6efd6c77 100644 --- a/cockpit/chat/threads/angular/src/app/threads.component.ts +++ b/cockpit/chat/threads/angular/src/app/threads.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, signal } from '@angular/core'; import { ChatComponent, ChatThreadListComponent, type Thread } from '@cacheplane/chat'; import { agent, toAgent } from '@cacheplane/langgraph'; diff --git a/cockpit/chat/threads/angular/src/main.ts b/cockpit/chat/threads/angular/src/main.ts index e24b4705e..b53bb4280 100644 --- a/cockpit/chat/threads/angular/src/main.ts +++ b/cockpit/chat/threads/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { ThreadsComponent } from './app/threads.component'; diff --git a/cockpit/chat/threads/python/package.json b/cockpit/chat/threads/python/package.json index 04453c8c1..5c6f66824 100644 --- a/cockpit/chat/threads/python/package.json +++ b/cockpit/chat/threads/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-chat-threads-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/timeline/angular/package.json b/cockpit/chat/timeline/angular/package.json index 6bf6cb0a0..1245af5d1 100644 --- a/cockpit/chat/timeline/angular/package.json +++ b/cockpit/chat/timeline/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/timeline/angular/src/app/app.config.ts b/cockpit/chat/timeline/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/timeline/angular/src/app/app.config.ts +++ b/cockpit/chat/timeline/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/timeline/angular/src/app/timeline.component.ts b/cockpit/chat/timeline/angular/src/app/timeline.component.ts index 891a796cb..9b6b0e35c 100644 --- a/cockpit/chat/timeline/angular/src/app/timeline.component.ts +++ b/cockpit/chat/timeline/angular/src/app/timeline.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; import { ChatComponent, ChatTimelineSliderComponent } from '@cacheplane/chat'; import { ExampleChatLayoutComponent } from '@cacheplane/example-layouts'; diff --git a/cockpit/chat/timeline/angular/src/main.ts b/cockpit/chat/timeline/angular/src/main.ts index c454999eb..c8c9b6fb9 100644 --- a/cockpit/chat/timeline/angular/src/main.ts +++ b/cockpit/chat/timeline/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { TimelineComponent } from './app/timeline.component'; diff --git a/cockpit/chat/timeline/python/package.json b/cockpit/chat/timeline/python/package.json index 4a852e66b..b2096571e 100644 --- a/cockpit/chat/timeline/python/package.json +++ b/cockpit/chat/timeline/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-chat-timeline-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/tool-calls/angular/package.json b/cockpit/chat/tool-calls/angular/package.json index 77f0c5a40..467976b52 100644 --- a/cockpit/chat/tool-calls/angular/package.json +++ b/cockpit/chat/tool-calls/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/chat/tool-calls/angular/src/app/app.config.ts b/cockpit/chat/tool-calls/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/chat/tool-calls/angular/src/app/app.config.ts +++ b/cockpit/chat/tool-calls/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/chat/tool-calls/angular/src/app/tool-calls.component.ts b/cockpit/chat/tool-calls/angular/src/app/tool-calls.component.ts index 895d8ed22..d8aaebf5f 100644 --- a/cockpit/chat/tool-calls/angular/src/app/tool-calls.component.ts +++ b/cockpit/chat/tool-calls/angular/src/app/tool-calls.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; import { ChatComponent, diff --git a/cockpit/chat/tool-calls/angular/src/main.ts b/cockpit/chat/tool-calls/angular/src/main.ts index ecb623177..84784b9f0 100644 --- a/cockpit/chat/tool-calls/angular/src/main.ts +++ b/cockpit/chat/tool-calls/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { ToolCallsComponent } from './app/tool-calls.component'; diff --git a/cockpit/chat/tool-calls/python/package.json b/cockpit/chat/tool-calls/python/package.json index fb6e6bd39..f17b711f7 100644 --- a/cockpit/chat/tool-calls/python/package.json +++ b/cockpit/chat/tool-calls/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-chat-tool-calls-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/filesystem/angular/package.json b/cockpit/deep-agents/filesystem/angular/package.json index 09bc8f500..103e09040 100644 --- a/cockpit/deep-agents/filesystem/angular/package.json +++ b/cockpit/deep-agents/filesystem/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/filesystem/angular/src/app/app.config.ts b/cockpit/deep-agents/filesystem/angular/src/app/app.config.ts index 613fbaf16..bc07aa807 100644 --- a/cockpit/deep-agents/filesystem/angular/src/app/app.config.ts +++ b/cockpit/deep-agents/filesystem/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/deep-agents/filesystem/angular/src/main.ts b/cockpit/deep-agents/filesystem/angular/src/main.ts index 3ff5c10b4..2b7f10d2c 100644 --- a/cockpit/deep-agents/filesystem/angular/src/main.ts +++ b/cockpit/deep-agents/filesystem/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { FilesystemComponent } from './app/filesystem.component'; diff --git a/cockpit/deep-agents/filesystem/python/package.json b/cockpit/deep-agents/filesystem/python/package.json index e95225387..6404094fa 100644 --- a/cockpit/deep-agents/filesystem/python/package.json +++ b/cockpit/deep-agents/filesystem/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-deep-agents-filesystem-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/memory/angular/package.json b/cockpit/deep-agents/memory/angular/package.json index ba720f7c6..19d882c08 100644 --- a/cockpit/deep-agents/memory/angular/package.json +++ b/cockpit/deep-agents/memory/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/memory/angular/src/app/app.config.ts b/cockpit/deep-agents/memory/angular/src/app/app.config.ts index 613fbaf16..bc07aa807 100644 --- a/cockpit/deep-agents/memory/angular/src/app/app.config.ts +++ b/cockpit/deep-agents/memory/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/deep-agents/memory/angular/src/main.ts b/cockpit/deep-agents/memory/angular/src/main.ts index e53854a71..cacffc738 100644 --- a/cockpit/deep-agents/memory/angular/src/main.ts +++ b/cockpit/deep-agents/memory/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { MemoryComponent } from './app/memory.component'; diff --git a/cockpit/deep-agents/memory/python/package.json b/cockpit/deep-agents/memory/python/package.json index d0231ecbd..fc58bc32a 100644 --- a/cockpit/deep-agents/memory/python/package.json +++ b/cockpit/deep-agents/memory/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-deep-agents-memory-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/planning/angular/package.json b/cockpit/deep-agents/planning/angular/package.json index b314aa482..67023fdbe 100644 --- a/cockpit/deep-agents/planning/angular/package.json +++ b/cockpit/deep-agents/planning/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/planning/angular/src/app/app.config.ts b/cockpit/deep-agents/planning/angular/src/app/app.config.ts index 613fbaf16..bc07aa807 100644 --- a/cockpit/deep-agents/planning/angular/src/app/app.config.ts +++ b/cockpit/deep-agents/planning/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/deep-agents/planning/angular/src/main.ts b/cockpit/deep-agents/planning/angular/src/main.ts index 33851aef1..3731c9eef 100644 --- a/cockpit/deep-agents/planning/angular/src/main.ts +++ b/cockpit/deep-agents/planning/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { PlanningComponent } from './app/planning.component'; diff --git a/cockpit/deep-agents/planning/python/package.json b/cockpit/deep-agents/planning/python/package.json index 10aea6dd4..0f57af4ac 100644 --- a/cockpit/deep-agents/planning/python/package.json +++ b/cockpit/deep-agents/planning/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-deep-agents-planning-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/sandboxes/angular/package.json b/cockpit/deep-agents/sandboxes/angular/package.json index 353cc1e99..07c2e660a 100644 --- a/cockpit/deep-agents/sandboxes/angular/package.json +++ b/cockpit/deep-agents/sandboxes/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/sandboxes/angular/src/app/app.config.ts b/cockpit/deep-agents/sandboxes/angular/src/app/app.config.ts index 613fbaf16..bc07aa807 100644 --- a/cockpit/deep-agents/sandboxes/angular/src/app/app.config.ts +++ b/cockpit/deep-agents/sandboxes/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/deep-agents/sandboxes/angular/src/main.ts b/cockpit/deep-agents/sandboxes/angular/src/main.ts index 0175071cb..e508b1d43 100644 --- a/cockpit/deep-agents/sandboxes/angular/src/main.ts +++ b/cockpit/deep-agents/sandboxes/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { SandboxesComponent } from './app/sandboxes.component'; diff --git a/cockpit/deep-agents/sandboxes/python/package.json b/cockpit/deep-agents/sandboxes/python/package.json index d78b63597..f8bfa8b84 100644 --- a/cockpit/deep-agents/sandboxes/python/package.json +++ b/cockpit/deep-agents/sandboxes/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-deep-agents-sandboxes-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/skills/angular/package.json b/cockpit/deep-agents/skills/angular/package.json index 029394488..2d7ad87a9 100644 --- a/cockpit/deep-agents/skills/angular/package.json +++ b/cockpit/deep-agents/skills/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/skills/angular/src/app/app.config.ts b/cockpit/deep-agents/skills/angular/src/app/app.config.ts index 613fbaf16..bc07aa807 100644 --- a/cockpit/deep-agents/skills/angular/src/app/app.config.ts +++ b/cockpit/deep-agents/skills/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/deep-agents/skills/angular/src/main.ts b/cockpit/deep-agents/skills/angular/src/main.ts index 86bcf6de8..615138ade 100644 --- a/cockpit/deep-agents/skills/angular/src/main.ts +++ b/cockpit/deep-agents/skills/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { SkillsComponent } from './app/skills.component'; diff --git a/cockpit/deep-agents/skills/python/package.json b/cockpit/deep-agents/skills/python/package.json index 39b23d2f9..9085b3057 100644 --- a/cockpit/deep-agents/skills/python/package.json +++ b/cockpit/deep-agents/skills/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-deep-agents-skills-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/subagents/angular/package.json b/cockpit/deep-agents/subagents/angular/package.json index dc9760b37..8416252a2 100644 --- a/cockpit/deep-agents/subagents/angular/package.json +++ b/cockpit/deep-agents/subagents/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/deep-agents/subagents/angular/src/app/app.config.ts b/cockpit/deep-agents/subagents/angular/src/app/app.config.ts index 613fbaf16..bc07aa807 100644 --- a/cockpit/deep-agents/subagents/angular/src/app/app.config.ts +++ b/cockpit/deep-agents/subagents/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/deep-agents/subagents/angular/src/main.ts b/cockpit/deep-agents/subagents/angular/src/main.ts index 869cb2212..aba349fde 100644 --- a/cockpit/deep-agents/subagents/angular/src/main.ts +++ b/cockpit/deep-agents/subagents/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { SubagentsComponent } from './app/subagents.component'; diff --git a/cockpit/deep-agents/subagents/python/package.json b/cockpit/deep-agents/subagents/python/package.json index d5e904a97..b5070d2cc 100644 --- a/cockpit/deep-agents/subagents/python/package.json +++ b/cockpit/deep-agents/subagents/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-deep-agents-subagents-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/deployment-runtime/angular/package.json b/cockpit/langgraph/deployment-runtime/angular/package.json index f420ce687..40f7841fd 100644 --- a/cockpit/langgraph/deployment-runtime/angular/package.json +++ b/cockpit/langgraph/deployment-runtime/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/deployment-runtime/angular/src/app/app.config.ts b/cockpit/langgraph/deployment-runtime/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/langgraph/deployment-runtime/angular/src/app/app.config.ts +++ b/cockpit/langgraph/deployment-runtime/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/langgraph/deployment-runtime/angular/src/app/deployment-runtime.component.ts b/cockpit/langgraph/deployment-runtime/angular/src/app/deployment-runtime.component.ts index 6b89531ad..9ba189e68 100644 --- a/cockpit/langgraph/deployment-runtime/angular/src/app/deployment-runtime.component.ts +++ b/cockpit/langgraph/deployment-runtime/angular/src/app/deployment-runtime.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; import { ChatComponent } from '@cacheplane/chat'; import { agent, toAgent } from '@cacheplane/langgraph'; diff --git a/cockpit/langgraph/deployment-runtime/angular/src/main.ts b/cockpit/langgraph/deployment-runtime/angular/src/main.ts index 45a47e1ed..d54152b49 100644 --- a/cockpit/langgraph/deployment-runtime/angular/src/main.ts +++ b/cockpit/langgraph/deployment-runtime/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { DeploymentRuntimeComponent } from './app/deployment-runtime.component'; diff --git a/cockpit/langgraph/deployment-runtime/python/package.json b/cockpit/langgraph/deployment-runtime/python/package.json index 5da87069e..93bceb30d 100644 --- a/cockpit/langgraph/deployment-runtime/python/package.json +++ b/cockpit/langgraph/deployment-runtime/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-langgraph-deployment-runtime-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/durable-execution/angular/package.json b/cockpit/langgraph/durable-execution/angular/package.json index 795b7097c..5bac4c1b7 100644 --- a/cockpit/langgraph/durable-execution/angular/package.json +++ b/cockpit/langgraph/durable-execution/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/durable-execution/angular/src/app/app.config.ts b/cockpit/langgraph/durable-execution/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/langgraph/durable-execution/angular/src/app/app.config.ts +++ b/cockpit/langgraph/durable-execution/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/langgraph/durable-execution/angular/src/main.ts b/cockpit/langgraph/durable-execution/angular/src/main.ts index d309624fb..659eb68c3 100644 --- a/cockpit/langgraph/durable-execution/angular/src/main.ts +++ b/cockpit/langgraph/durable-execution/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { DurableExecutionComponent } from './app/durable-execution.component'; diff --git a/cockpit/langgraph/durable-execution/python/package.json b/cockpit/langgraph/durable-execution/python/package.json index 3948ead93..036775fc1 100644 --- a/cockpit/langgraph/durable-execution/python/package.json +++ b/cockpit/langgraph/durable-execution/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-langgraph-durable-execution-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/interrupts/angular/package.json b/cockpit/langgraph/interrupts/angular/package.json index 58f6e7d77..32f04608e 100644 --- a/cockpit/langgraph/interrupts/angular/package.json +++ b/cockpit/langgraph/interrupts/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/interrupts/angular/src/app/app.config.ts b/cockpit/langgraph/interrupts/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/langgraph/interrupts/angular/src/app/app.config.ts +++ b/cockpit/langgraph/interrupts/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/langgraph/interrupts/angular/src/app/interrupts.component.ts b/cockpit/langgraph/interrupts/angular/src/app/interrupts.component.ts index dbfe94329..0eda01638 100644 --- a/cockpit/langgraph/interrupts/angular/src/app/interrupts.component.ts +++ b/cockpit/langgraph/interrupts/angular/src/app/interrupts.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; import { ChatComponent, ChatInterruptPanelComponent, views, type InterruptAction } from '@cacheplane/chat'; import { agent, toAgent } from '@cacheplane/langgraph'; diff --git a/cockpit/langgraph/interrupts/angular/src/main.ts b/cockpit/langgraph/interrupts/angular/src/main.ts index 16589a6b1..6d07c465c 100644 --- a/cockpit/langgraph/interrupts/angular/src/main.ts +++ b/cockpit/langgraph/interrupts/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { InterruptsComponent } from './app/interrupts.component'; diff --git a/cockpit/langgraph/interrupts/python/package.json b/cockpit/langgraph/interrupts/python/package.json index cf21f9d03..216502dd0 100644 --- a/cockpit/langgraph/interrupts/python/package.json +++ b/cockpit/langgraph/interrupts/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-langgraph-interrupts-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/memory/angular/package.json b/cockpit/langgraph/memory/angular/package.json index 7ced7a76a..f1141b6df 100644 --- a/cockpit/langgraph/memory/angular/package.json +++ b/cockpit/langgraph/memory/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/memory/angular/src/app/app.config.ts b/cockpit/langgraph/memory/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/langgraph/memory/angular/src/app/app.config.ts +++ b/cockpit/langgraph/memory/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/langgraph/memory/angular/src/app/memory.component.ts b/cockpit/langgraph/memory/angular/src/app/memory.component.ts index fda65d53f..5dd5aaf62 100644 --- a/cockpit/langgraph/memory/angular/src/app/memory.component.ts +++ b/cockpit/langgraph/memory/angular/src/app/memory.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed } from '@angular/core'; import { ChatComponent } from '@cacheplane/chat'; import { agent, toAgent } from '@cacheplane/langgraph'; diff --git a/cockpit/langgraph/memory/angular/src/main.ts b/cockpit/langgraph/memory/angular/src/main.ts index e53854a71..cacffc738 100644 --- a/cockpit/langgraph/memory/angular/src/main.ts +++ b/cockpit/langgraph/memory/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { MemoryComponent } from './app/memory.component'; diff --git a/cockpit/langgraph/memory/python/package.json b/cockpit/langgraph/memory/python/package.json index c62fd6e94..00de5aca8 100644 --- a/cockpit/langgraph/memory/python/package.json +++ b/cockpit/langgraph/memory/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-langgraph-memory-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/persistence/angular/package.json b/cockpit/langgraph/persistence/angular/package.json index 2e6ba7579..485085e26 100644 --- a/cockpit/langgraph/persistence/angular/package.json +++ b/cockpit/langgraph/persistence/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/persistence/angular/src/app/app.config.ts b/cockpit/langgraph/persistence/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/langgraph/persistence/angular/src/app/app.config.ts +++ b/cockpit/langgraph/persistence/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/langgraph/persistence/angular/src/main.ts b/cockpit/langgraph/persistence/angular/src/main.ts index 0e464b52c..6c4c9bf72 100644 --- a/cockpit/langgraph/persistence/angular/src/main.ts +++ b/cockpit/langgraph/persistence/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { PersistenceComponent } from './app/persistence.component'; diff --git a/cockpit/langgraph/persistence/python/package.json b/cockpit/langgraph/persistence/python/package.json index 4c580c826..7d560f88c 100644 --- a/cockpit/langgraph/persistence/python/package.json +++ b/cockpit/langgraph/persistence/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-langgraph-persistence-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/streaming/angular/package.json b/cockpit/langgraph/streaming/angular/package.json index 01f1acf41..a751da87e 100644 --- a/cockpit/langgraph/streaming/angular/package.json +++ b/cockpit/langgraph/streaming/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/streaming/angular/src/app/app.config.ts b/cockpit/langgraph/streaming/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/langgraph/streaming/angular/src/app/app.config.ts +++ b/cockpit/langgraph/streaming/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/langgraph/streaming/angular/src/app/streaming.component.ts b/cockpit/langgraph/streaming/angular/src/app/streaming.component.ts index c6370953e..928464e3d 100644 --- a/cockpit/langgraph/streaming/angular/src/app/streaming.component.ts +++ b/cockpit/langgraph/streaming/angular/src/app/streaming.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; import { ChatComponent } from '@cacheplane/chat'; import { agent, toAgent } from '@cacheplane/langgraph'; diff --git a/cockpit/langgraph/streaming/angular/src/main.ts b/cockpit/langgraph/streaming/angular/src/main.ts index aed8e4d3e..468dd85fc 100644 --- a/cockpit/langgraph/streaming/angular/src/main.ts +++ b/cockpit/langgraph/streaming/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { StreamingComponent } from './app/streaming.component'; diff --git a/cockpit/langgraph/streaming/python/package.json b/cockpit/langgraph/streaming/python/package.json index c687c8665..95593eb69 100644 --- a/cockpit/langgraph/streaming/python/package.json +++ b/cockpit/langgraph/streaming/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-langgraph-streaming-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/subgraphs/angular/package.json b/cockpit/langgraph/subgraphs/angular/package.json index c42a54ce7..e831e9bc8 100644 --- a/cockpit/langgraph/subgraphs/angular/package.json +++ b/cockpit/langgraph/subgraphs/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/subgraphs/angular/src/app/app.config.ts b/cockpit/langgraph/subgraphs/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/langgraph/subgraphs/angular/src/app/app.config.ts +++ b/cockpit/langgraph/subgraphs/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/langgraph/subgraphs/angular/src/app/subgraphs.component.ts b/cockpit/langgraph/subgraphs/angular/src/app/subgraphs.component.ts index 9a4279ce1..dd3d51053 100644 --- a/cockpit/langgraph/subgraphs/angular/src/app/subgraphs.component.ts +++ b/cockpit/langgraph/subgraphs/angular/src/app/subgraphs.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed } from '@angular/core'; import { ChatComponent } from '@cacheplane/chat'; import { agent, toAgent } from '@cacheplane/langgraph'; diff --git a/cockpit/langgraph/subgraphs/angular/src/main.ts b/cockpit/langgraph/subgraphs/angular/src/main.ts index 2412a5fa0..e81565bf2 100644 --- a/cockpit/langgraph/subgraphs/angular/src/main.ts +++ b/cockpit/langgraph/subgraphs/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { SubgraphsComponent } from './app/subgraphs.component'; diff --git a/cockpit/langgraph/subgraphs/python/package.json b/cockpit/langgraph/subgraphs/python/package.json index cc52029c6..7073a112a 100644 --- a/cockpit/langgraph/subgraphs/python/package.json +++ b/cockpit/langgraph/subgraphs/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-langgraph-subgraphs-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/time-travel/angular/package.json b/cockpit/langgraph/time-travel/angular/package.json index 9cccaca3f..8b354970d 100644 --- a/cockpit/langgraph/time-travel/angular/package.json +++ b/cockpit/langgraph/time-travel/angular/package.json @@ -6,6 +6,6 @@ "@cacheplane/langgraph": "^0.0.1", "@langchain/langgraph-sdk": "^0.0.36" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/langgraph/time-travel/angular/src/app/app.config.ts b/cockpit/langgraph/time-travel/angular/src/app/app.config.ts index 3771b3b2f..0ef67aee5 100644 --- a/cockpit/langgraph/time-travel/angular/src/app/app.config.ts +++ b/cockpit/langgraph/time-travel/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideAgent } from '@cacheplane/langgraph'; import { provideChat } from '@cacheplane/chat'; diff --git a/cockpit/langgraph/time-travel/angular/src/main.ts b/cockpit/langgraph/time-travel/angular/src/main.ts index 336b5e7a4..abaceaa44 100644 --- a/cockpit/langgraph/time-travel/angular/src/main.ts +++ b/cockpit/langgraph/time-travel/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { TimeTravelComponent } from './app/time-travel.component'; diff --git a/cockpit/langgraph/time-travel/python/package.json b/cockpit/langgraph/time-travel/python/package.json index 9940aaa95..be7f8ffa7 100644 --- a/cockpit/langgraph/time-travel/python/package.json +++ b/cockpit/langgraph/time-travel/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-langgraph-time-travel-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/computed-functions/angular/package.json b/cockpit/render/computed-functions/angular/package.json index 35a715a8d..992067861 100644 --- a/cockpit/render/computed-functions/angular/package.json +++ b/cockpit/render/computed-functions/angular/package.json @@ -4,6 +4,6 @@ "peerDependencies": { "@cacheplane/render": "^0.0.1" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/computed-functions/angular/src/app/app.config.ts b/cockpit/render/computed-functions/angular/src/app/app.config.ts index fa452f8d8..5858f11c3 100644 --- a/cockpit/render/computed-functions/angular/src/app/app.config.ts +++ b/cockpit/render/computed-functions/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideRender } from '@cacheplane/render'; diff --git a/cockpit/render/computed-functions/angular/src/app/computed-functions.component.ts b/cockpit/render/computed-functions/angular/src/app/computed-functions.component.ts index 2e7c02a63..41f42895e 100644 --- a/cockpit/render/computed-functions/angular/src/app/computed-functions.component.ts +++ b/cockpit/render/computed-functions/angular/src/app/computed-functions.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input, OnDestroy, viewChild, ElementRef, effect } from '@angular/core'; import { RenderSpecComponent, diff --git a/cockpit/render/computed-functions/angular/src/app/specs.ts b/cockpit/render/computed-functions/angular/src/app/specs.ts index bb674d081..2049e89de 100644 --- a/cockpit/render/computed-functions/angular/src/app/specs.ts +++ b/cockpit/render/computed-functions/angular/src/app/specs.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { DemoSpec } from '../../../../spec-rendering/angular/src/app/specs'; export const COMPUTED_FUNCTIONS_SPECS: DemoSpec[] = [ diff --git a/cockpit/render/computed-functions/angular/src/environments/environment.development.ts b/cockpit/render/computed-functions/angular/src/environments/environment.development.ts index 8558a09ba..ad9360bbb 100644 --- a/cockpit/render/computed-functions/angular/src/environments/environment.development.ts +++ b/cockpit/render/computed-functions/angular/src/environments/environment.development.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: false }; diff --git a/cockpit/render/computed-functions/angular/src/environments/environment.ts b/cockpit/render/computed-functions/angular/src/environments/environment.ts index 6c1ae4083..59635e613 100644 --- a/cockpit/render/computed-functions/angular/src/environments/environment.ts +++ b/cockpit/render/computed-functions/angular/src/environments/environment.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: true }; diff --git a/cockpit/render/computed-functions/angular/src/main.ts b/cockpit/render/computed-functions/angular/src/main.ts index 80c2386ae..e31f2a627 100644 --- a/cockpit/render/computed-functions/angular/src/main.ts +++ b/cockpit/render/computed-functions/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { ComputedFunctionsComponent } from './app/computed-functions.component'; diff --git a/cockpit/render/computed-functions/python/package.json b/cockpit/render/computed-functions/python/package.json index ebef84171..0c2c2c8fd 100644 --- a/cockpit/render/computed-functions/python/package.json +++ b/cockpit/render/computed-functions/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-render-computed-functions-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/element-rendering/angular/package.json b/cockpit/render/element-rendering/angular/package.json index 2abc83f40..d2797ab64 100644 --- a/cockpit/render/element-rendering/angular/package.json +++ b/cockpit/render/element-rendering/angular/package.json @@ -4,6 +4,6 @@ "peerDependencies": { "@cacheplane/render": "^0.0.1" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/element-rendering/angular/src/app/app.config.ts b/cockpit/render/element-rendering/angular/src/app/app.config.ts index ee0fd6f31..ff94629d2 100644 --- a/cockpit/render/element-rendering/angular/src/app/app.config.ts +++ b/cockpit/render/element-rendering/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideRender } from '@cacheplane/render'; diff --git a/cockpit/render/element-rendering/angular/src/app/element-rendering.component.ts b/cockpit/render/element-rendering/angular/src/app/element-rendering.component.ts index f081b486b..a022758b3 100644 --- a/cockpit/render/element-rendering/angular/src/app/element-rendering.component.ts +++ b/cockpit/render/element-rendering/angular/src/app/element-rendering.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input, OnDestroy, viewChild, ElementRef, effect, signal } from '@angular/core'; import { RenderSpecComponent, diff --git a/cockpit/render/element-rendering/angular/src/app/specs.ts b/cockpit/render/element-rendering/angular/src/app/specs.ts index 6f09ce9b9..a382e1009 100644 --- a/cockpit/render/element-rendering/angular/src/app/specs.ts +++ b/cockpit/render/element-rendering/angular/src/app/specs.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { DemoSpec } from '../../../../spec-rendering/angular/src/app/specs'; export const ELEMENT_RENDERING_SPECS: DemoSpec[] = [ diff --git a/cockpit/render/element-rendering/angular/src/environments/environment.development.ts b/cockpit/render/element-rendering/angular/src/environments/environment.development.ts index 8558a09ba..ad9360bbb 100644 --- a/cockpit/render/element-rendering/angular/src/environments/environment.development.ts +++ b/cockpit/render/element-rendering/angular/src/environments/environment.development.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: false }; diff --git a/cockpit/render/element-rendering/angular/src/environments/environment.ts b/cockpit/render/element-rendering/angular/src/environments/environment.ts index 6c1ae4083..59635e613 100644 --- a/cockpit/render/element-rendering/angular/src/environments/environment.ts +++ b/cockpit/render/element-rendering/angular/src/environments/environment.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: true }; diff --git a/cockpit/render/element-rendering/angular/src/main.ts b/cockpit/render/element-rendering/angular/src/main.ts index 4606a6ac7..6a1356ed0 100644 --- a/cockpit/render/element-rendering/angular/src/main.ts +++ b/cockpit/render/element-rendering/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { ElementRenderingComponent } from './app/element-rendering.component'; diff --git a/cockpit/render/element-rendering/python/package.json b/cockpit/render/element-rendering/python/package.json index ac18b1737..859337662 100644 --- a/cockpit/render/element-rendering/python/package.json +++ b/cockpit/render/element-rendering/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-render-element-rendering-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/registry/angular/package.json b/cockpit/render/registry/angular/package.json index 630684ffc..e5acbaff0 100644 --- a/cockpit/render/registry/angular/package.json +++ b/cockpit/render/registry/angular/package.json @@ -4,6 +4,6 @@ "peerDependencies": { "@cacheplane/render": "^0.0.1" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/registry/angular/src/app/app.config.ts b/cockpit/render/registry/angular/src/app/app.config.ts index ee0fd6f31..ff94629d2 100644 --- a/cockpit/render/registry/angular/src/app/app.config.ts +++ b/cockpit/render/registry/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideRender } from '@cacheplane/render'; diff --git a/cockpit/render/registry/angular/src/app/registry.component.ts b/cockpit/render/registry/angular/src/app/registry.component.ts index 7781b0a10..e831046d3 100644 --- a/cockpit/render/registry/angular/src/app/registry.component.ts +++ b/cockpit/render/registry/angular/src/app/registry.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input, OnDestroy, viewChild, ElementRef, effect } from '@angular/core'; import { RenderSpecComponent, diff --git a/cockpit/render/registry/angular/src/app/specs.ts b/cockpit/render/registry/angular/src/app/specs.ts index d9aef552e..a531221d5 100644 --- a/cockpit/render/registry/angular/src/app/specs.ts +++ b/cockpit/render/registry/angular/src/app/specs.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { DemoSpec } from '../../../../spec-rendering/angular/src/app/specs'; export const REGISTRY_SPECS: DemoSpec[] = [ diff --git a/cockpit/render/registry/angular/src/environments/environment.development.ts b/cockpit/render/registry/angular/src/environments/environment.development.ts index 8558a09ba..ad9360bbb 100644 --- a/cockpit/render/registry/angular/src/environments/environment.development.ts +++ b/cockpit/render/registry/angular/src/environments/environment.development.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: false }; diff --git a/cockpit/render/registry/angular/src/environments/environment.ts b/cockpit/render/registry/angular/src/environments/environment.ts index 6c1ae4083..59635e613 100644 --- a/cockpit/render/registry/angular/src/environments/environment.ts +++ b/cockpit/render/registry/angular/src/environments/environment.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: true }; diff --git a/cockpit/render/registry/angular/src/main.ts b/cockpit/render/registry/angular/src/main.ts index 81544a19d..418bade6b 100644 --- a/cockpit/render/registry/angular/src/main.ts +++ b/cockpit/render/registry/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { RegistryComponent } from './app/registry.component'; diff --git a/cockpit/render/registry/python/package.json b/cockpit/render/registry/python/package.json index ca0d813b4..5c3efa877 100644 --- a/cockpit/render/registry/python/package.json +++ b/cockpit/render/registry/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-render-registry-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/repeat-loops/angular/package.json b/cockpit/render/repeat-loops/angular/package.json index 13da5861e..aa67e0bc6 100644 --- a/cockpit/render/repeat-loops/angular/package.json +++ b/cockpit/render/repeat-loops/angular/package.json @@ -4,6 +4,6 @@ "peerDependencies": { "@cacheplane/render": "^0.0.1" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/repeat-loops/angular/src/app/app.config.ts b/cockpit/render/repeat-loops/angular/src/app/app.config.ts index ee0fd6f31..ff94629d2 100644 --- a/cockpit/render/repeat-loops/angular/src/app/app.config.ts +++ b/cockpit/render/repeat-loops/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideRender } from '@cacheplane/render'; diff --git a/cockpit/render/repeat-loops/angular/src/app/repeat-loops.component.ts b/cockpit/render/repeat-loops/angular/src/app/repeat-loops.component.ts index ef49fa6a4..6c8c3a8ca 100644 --- a/cockpit/render/repeat-loops/angular/src/app/repeat-loops.component.ts +++ b/cockpit/render/repeat-loops/angular/src/app/repeat-loops.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input, OnDestroy, viewChild, ElementRef, effect } from '@angular/core'; import { RenderSpecComponent, diff --git a/cockpit/render/repeat-loops/angular/src/app/specs.ts b/cockpit/render/repeat-loops/angular/src/app/specs.ts index 124344737..d8c061b18 100644 --- a/cockpit/render/repeat-loops/angular/src/app/specs.ts +++ b/cockpit/render/repeat-loops/angular/src/app/specs.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { DemoSpec } from '../../../../spec-rendering/angular/src/app/specs'; export const REPEAT_LOOPS_SPECS: DemoSpec[] = [ diff --git a/cockpit/render/repeat-loops/angular/src/environments/environment.development.ts b/cockpit/render/repeat-loops/angular/src/environments/environment.development.ts index 8558a09ba..ad9360bbb 100644 --- a/cockpit/render/repeat-loops/angular/src/environments/environment.development.ts +++ b/cockpit/render/repeat-loops/angular/src/environments/environment.development.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: false }; diff --git a/cockpit/render/repeat-loops/angular/src/environments/environment.ts b/cockpit/render/repeat-loops/angular/src/environments/environment.ts index 6c1ae4083..59635e613 100644 --- a/cockpit/render/repeat-loops/angular/src/environments/environment.ts +++ b/cockpit/render/repeat-loops/angular/src/environments/environment.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: true }; diff --git a/cockpit/render/repeat-loops/angular/src/main.ts b/cockpit/render/repeat-loops/angular/src/main.ts index 0d2cac5f6..ea718807a 100644 --- a/cockpit/render/repeat-loops/angular/src/main.ts +++ b/cockpit/render/repeat-loops/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { RepeatLoopsComponent } from './app/repeat-loops.component'; diff --git a/cockpit/render/repeat-loops/python/package.json b/cockpit/render/repeat-loops/python/package.json index 7d659cab4..a6468b1fa 100644 --- a/cockpit/render/repeat-loops/python/package.json +++ b/cockpit/render/repeat-loops/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-render-repeat-loops-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/shared/streaming-simulator.ts b/cockpit/render/shared/streaming-simulator.ts index 90932fb89..45ed77908 100644 --- a/cockpit/render/shared/streaming-simulator.ts +++ b/cockpit/render/shared/streaming-simulator.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { signal, computed } from '@angular/core'; import { createPartialJsonParser, materialize } from '@cacheplane/partial-json'; import type { PartialJsonParser, ParseEvent } from '@cacheplane/partial-json'; diff --git a/cockpit/render/shared/streaming-timeline.component.ts b/cockpit/render/shared/streaming-timeline.component.ts index 7a8b58a26..ffb819c52 100644 --- a/cockpit/render/shared/streaming-timeline.component.ts +++ b/cockpit/render/shared/streaming-timeline.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, ElementRef, viewChild } from '@angular/core'; import { StreamingSimulator } from './streaming-simulator'; diff --git a/cockpit/render/spec-rendering/angular/package.json b/cockpit/render/spec-rendering/angular/package.json index 190ba5284..5eb70add1 100644 --- a/cockpit/render/spec-rendering/angular/package.json +++ b/cockpit/render/spec-rendering/angular/package.json @@ -4,6 +4,6 @@ "peerDependencies": { "@cacheplane/render": "^0.0.1" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/spec-rendering/angular/src/app/app.config.ts b/cockpit/render/spec-rendering/angular/src/app/app.config.ts index ee0fd6f31..ff94629d2 100644 --- a/cockpit/render/spec-rendering/angular/src/app/app.config.ts +++ b/cockpit/render/spec-rendering/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideRender } from '@cacheplane/render'; diff --git a/cockpit/render/spec-rendering/angular/src/app/spec-rendering.component.ts b/cockpit/render/spec-rendering/angular/src/app/spec-rendering.component.ts index 536d76a37..cda48f7f1 100644 --- a/cockpit/render/spec-rendering/angular/src/app/spec-rendering.component.ts +++ b/cockpit/render/spec-rendering/angular/src/app/spec-rendering.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input, OnDestroy, viewChild, ElementRef, effect } from '@angular/core'; import { RenderSpecComponent, diff --git a/cockpit/render/spec-rendering/angular/src/app/specs.ts b/cockpit/render/spec-rendering/angular/src/app/specs.ts index 35d81c981..0d17a4e36 100644 --- a/cockpit/render/spec-rendering/angular/src/app/specs.ts +++ b/cockpit/render/spec-rendering/angular/src/app/specs.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export interface DemoSpec { label: string; json: string; diff --git a/cockpit/render/spec-rendering/angular/src/environments/environment.development.ts b/cockpit/render/spec-rendering/angular/src/environments/environment.development.ts index 8558a09ba..ad9360bbb 100644 --- a/cockpit/render/spec-rendering/angular/src/environments/environment.development.ts +++ b/cockpit/render/spec-rendering/angular/src/environments/environment.development.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: false }; diff --git a/cockpit/render/spec-rendering/angular/src/environments/environment.ts b/cockpit/render/spec-rendering/angular/src/environments/environment.ts index 6c1ae4083..59635e613 100644 --- a/cockpit/render/spec-rendering/angular/src/environments/environment.ts +++ b/cockpit/render/spec-rendering/angular/src/environments/environment.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: true }; diff --git a/cockpit/render/spec-rendering/angular/src/main.ts b/cockpit/render/spec-rendering/angular/src/main.ts index 6c4c2a798..27d6a157e 100644 --- a/cockpit/render/spec-rendering/angular/src/main.ts +++ b/cockpit/render/spec-rendering/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { SpecRenderingComponent } from './app/spec-rendering.component'; diff --git a/cockpit/render/spec-rendering/python/package.json b/cockpit/render/spec-rendering/python/package.json index c68529d41..0d2ea14af 100644 --- a/cockpit/render/spec-rendering/python/package.json +++ b/cockpit/render/spec-rendering/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-render-spec-rendering-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/state-management/angular/package.json b/cockpit/render/state-management/angular/package.json index e95c8c521..9b152aded 100644 --- a/cockpit/render/state-management/angular/package.json +++ b/cockpit/render/state-management/angular/package.json @@ -4,6 +4,6 @@ "peerDependencies": { "@cacheplane/render": "^0.0.1" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/cockpit/render/state-management/angular/src/app/app.config.ts b/cockpit/render/state-management/angular/src/app/app.config.ts index ee0fd6f31..ff94629d2 100644 --- a/cockpit/render/state-management/angular/src/app/app.config.ts +++ b/cockpit/render/state-management/angular/src/app/app.config.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ApplicationConfig } from '@angular/core'; import { provideRender } from '@cacheplane/render'; diff --git a/cockpit/render/state-management/angular/src/app/specs.ts b/cockpit/render/state-management/angular/src/app/specs.ts index b86deb71c..924fb4a07 100644 --- a/cockpit/render/state-management/angular/src/app/specs.ts +++ b/cockpit/render/state-management/angular/src/app/specs.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { DemoSpec } from '../../../../spec-rendering/angular/src/app/specs'; export const STATE_MANAGEMENT_SPECS: DemoSpec[] = [ diff --git a/cockpit/render/state-management/angular/src/app/state-management.component.ts b/cockpit/render/state-management/angular/src/app/state-management.component.ts index ce864c2e4..9677f40df 100644 --- a/cockpit/render/state-management/angular/src/app/state-management.component.ts +++ b/cockpit/render/state-management/angular/src/app/state-management.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input, OnDestroy, viewChild, ElementRef, effect } from '@angular/core'; import { RenderSpecComponent, diff --git a/cockpit/render/state-management/angular/src/environments/environment.development.ts b/cockpit/render/state-management/angular/src/environments/environment.development.ts index 8558a09ba..ad9360bbb 100644 --- a/cockpit/render/state-management/angular/src/environments/environment.development.ts +++ b/cockpit/render/state-management/angular/src/environments/environment.development.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: false }; diff --git a/cockpit/render/state-management/angular/src/environments/environment.ts b/cockpit/render/state-management/angular/src/environments/environment.ts index 6c1ae4083..59635e613 100644 --- a/cockpit/render/state-management/angular/src/environments/environment.ts +++ b/cockpit/render/state-management/angular/src/environments/environment.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const environment = { production: true }; diff --git a/cockpit/render/state-management/angular/src/main.ts b/cockpit/render/state-management/angular/src/main.ts index 9a62a96f5..b45e7be04 100644 --- a/cockpit/render/state-management/angular/src/main.ts +++ b/cockpit/render/state-management/angular/src/main.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { StateManagementComponent } from './app/state-management.component'; diff --git a/cockpit/render/state-management/python/package.json b/cockpit/render/state-management/python/package.json index b39d0d942..2853001c1 100644 --- a/cockpit/render/state-management/python/package.json +++ b/cockpit/render/state-management/python/package.json @@ -1,6 +1,6 @@ { "name": "@cacheplane/cockpit-render-state-management-python", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "sideEffects": false } diff --git a/docs/superpowers/plans/2026-04-30-license-migration.md b/docs/superpowers/plans/2026-04-30-license-migration.md new file mode 100644 index 000000000..e03971896 --- /dev/null +++ b/docs/superpowers/plans/2026-04-30-license-migration.md @@ -0,0 +1,402 @@ +# License Migration Implementation Plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans. + +**Goal:** Switch all source-file SPDX headers, every public-facing `package.json` `license` field, and the root LICENSE file from `PolyForm-Noncommercial-1.0.0` to `MIT`. Preserve `apps/minting-service/` on its existing proprietary terms. Add `repository`/`homepage`/`bugs` metadata to publishable libs. + +**Architecture:** Bulk find/replace with a single exclusion path (`apps/minting-service/`). Then per-`package.json` metadata edits. Then root `LICENSE` rewrite + `LICENSE-COMMERCIAL` removal + `apps/minting-service/LICENSE` creation. README sweep for prose references. + +**Spec:** `docs/superpowers/specs/2026-04-30-license-migration-design.md` + +--- + +## File Structure Summary + +- **370 source files** under `libs/`, `packages/`, `apps/` (excluding `apps/minting-service/`), and `cockpit/` get their `SPDX-License-Identifier:` header rewritten. +- **77 `package.json` files** get `license` updated from `"PolyForm-Noncommercial-1.0.0"` to `"MIT"`. The publishable libs (`libs/*`, `packages/*`) additionally gain `repository`/`homepage`/`bugs` fields. +- **Root `LICENSE`** rewritten with MIT text. +- **Root `LICENSE-COMMERCIAL`** deleted. +- **`apps/minting-service/LICENSE`** created with proprietary terms (ported from the deleted root `LICENSE-COMMERCIAL`). +- **READMEs** swept for prose references to "PolyForm" or "commercial license required". + +--- + +### Task 1: Bulk SPDX header rewrite + +**Files:** all `*.ts` / `*.tsx` / `*.mts` / `*.cts` / `*.js` / `*.mjs` / `*.cjs` / `*.html` / `*.md` / `*.json` / `*.yaml` / `*.yml` files outside `apps/minting-service/` that contain the line `SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0`. + +- [ ] **Step 1: Audit before** + +```bash +rg -l "SPDX-License-Identifier:.*PolyForm-Noncommercial-1.0.0" \ + --glob '!apps/minting-service/**' \ + --glob '!package-lock.json' \ + --glob '!docs/superpowers/**' | wc -l +``` + +Expected output: **370** (matches the spec's count). If the count is different, re-audit and reconcile before proceeding. + +(`docs/superpowers/**` is excluded because spec/plan files reference the SPDX string in code blocks; rewriting them would corrupt historical docs.) + +- [ ] **Step 2: Bulk rewrite** + +```bash +rg -l "SPDX-License-Identifier:.*PolyForm-Noncommercial-1.0.0" \ + --glob '!apps/minting-service/**' \ + --glob '!package-lock.json' \ + --glob '!docs/superpowers/**' | \ + xargs sed -i '' 's|SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0|SPDX-License-Identifier: MIT|g' +``` + +(macOS-style `sed -i ''` — adjust to `sed -i` on Linux if running on a CI box.) + +- [ ] **Step 3: Audit after** + +```bash +echo "Files still referencing PolyForm SPDX outside minting-service:" +rg -l "SPDX-License-Identifier:.*PolyForm-Noncommercial-1.0.0" \ + --glob '!apps/minting-service/**' \ + --glob '!package-lock.json' \ + --glob '!docs/superpowers/**' | wc -l + +echo "Files inside minting-service preserved:" +rg -l "SPDX-License-Identifier:.*PolyForm-Noncommercial-1.0.0" apps/minting-service/ | wc -l +``` + +Expected: **0** outside, **~16** inside minting-service. + +If any "outside" files remain, they're probably in non-standard SPDX format (e.g., a comment without the colon or with extra whitespace). Inspect and rewrite individually. + +- [ ] **Step 4: Verify build still passes** + +```bash +npx nx run-many -t lint,build -p chat,langgraph,ag-ui --skip-nx-cache +``` + +Expected: PASS. If a license-header lint rule complains about MIT vs PolyForm consistency, update the rule (separate step in Task 4). + +--- + +### Task 2: Per-package.json metadata updates + +**Files:** every `package.json` outside `apps/minting-service/` and `node_modules/` that has `"license": "PolyForm-Noncommercial-1.0.0"`. + +The list (audited): root `package.json`, all 16 `libs/*/package.json`, `packages/mcp/package.json`, all `cockpit/**/package.json` (~60), and the relevant `apps/*/package.json` files (cockpit, website, demo, demo-e2e). + +#### Step 1: Bulk update `license` field + +```bash +rg -l '"license":[[:space:]]*"PolyForm-Noncommercial-1.0.0"' \ + --type json \ + --glob '!apps/minting-service/**' \ + --glob '!package-lock.json' | \ + xargs sed -i '' 's|"license":[[:space:]]*"PolyForm-Noncommercial-1.0.0"|"license": "MIT"|g' +``` + +- [ ] **Step 2: Verify** + +```bash +echo "Files with PolyForm license outside minting-service:" +rg -l '"license":[[:space:]]*"PolyForm-Noncommercial-1.0.0"' \ + --type json \ + --glob '!apps/minting-service/**' \ + --glob '!package-lock.json' | wc -l +``` + +Expected: **0**. + +#### Step 3: Add `repository`/`homepage`/`bugs` to publishable libs + +For each of these `package.json` files — only the publishable lib roots, NOT cockpit demos or apps: + +- `libs/chat/package.json` +- `libs/langgraph/package.json` +- `libs/ag-ui/package.json` +- `libs/render/package.json` +- `libs/a2ui/package.json` +- `libs/partial-json/package.json` +- `libs/licensing/package.json` +- `libs/cockpit-registry/package.json` +- `libs/cockpit-shell/package.json` +- `libs/cockpit-testing/package.json` +- `libs/cockpit-ui/package.json` +- `libs/cockpit-docs/package.json` +- `libs/db/package.json` +- `libs/design-tokens/package.json` +- `libs/example-layouts/package.json` +- `libs/ui-react/package.json` +- `packages/mcp/package.json` + +Add (the `directory` field is the relative path to the package within the monorepo): + +```json +"repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "" +}, +"homepage": "https://github.com/cacheplane/angular-agent-framework#readme", +"bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" +} +``` + +Per-file edits — for `libs/chat/package.json`: + +```json +{ + "name": "@cacheplane/chat", + "version": "0.0.1", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/chat" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, + "peerDependencies": { ... }, + ... +} +``` + +Apply analogously to all 17 publishable libs/packages, with `directory` updated to match. + +- [ ] **Step 4: Verify build** + +```bash +npx nx run-many -t lint,build -p chat,langgraph,ag-ui --skip-nx-cache +``` + +If `@nx/dependency-checks` flags any newly-added field, update the rule. Most likely it accepts `repository`/`homepage`/`bugs` silently. + +--- + +### Task 3: Root LICENSE files + +- [ ] **Step 1: Replace root `LICENSE` with MIT text** + +Write to `LICENSE`: + +``` +MIT License + +Copyright (c) 2026 Brian Love d/b/a cacheplane + +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. +``` + +- [ ] **Step 2: Move `LICENSE-COMMERCIAL` content to `apps/minting-service/LICENSE`** + +```bash +mv LICENSE-COMMERCIAL apps/minting-service/LICENSE +``` + +Then edit the new `apps/minting-service/LICENSE` to scope it specifically to the minting service. Replace any references to "the Software" or "the cacheplane framework" with "the cacheplane minting service" or similar specificity. + +If the existing `LICENSE-COMMERCIAL` has language that would also apply to broader components, restructure so the file applies only to `apps/minting-service/`. + +- [ ] **Step 3: Update `apps/minting-service/package.json`** + +Currently has `"license": "PolyForm-Noncommercial-1.0.0"`. Change to: + +```json +"license": "SEE LICENSE IN LICENSE", +"private": true +``` + +(Confirm `private: true` is set; if not, add it. The minting service should never be published.) + +- [ ] **Step 4: Verify** + +```bash +ls LICENSE LICENSE-COMMERCIAL apps/minting-service/LICENSE 2>&1 +cat LICENSE | head -3 +cat apps/minting-service/LICENSE | head -3 +``` + +Expected: root `LICENSE-COMMERCIAL` does NOT exist, `LICENSE` starts with "MIT License", `apps/minting-service/LICENSE` starts with the proprietary text. + +--- + +### Task 4: README sweep + +**Files:** every `README.md`, `CONTRIBUTING.md`, and any prose doc that mentions "PolyForm", "commercial license", "non-commercial", or "LICENSE-COMMERCIAL". + +- [ ] **Step 1: Find references** + +```bash +rg -l "PolyForm|commercial license|non-commercial|LICENSE-COMMERCIAL" \ + --glob '!apps/minting-service/**' \ + --glob '!package-lock.json' \ + --glob '!docs/superpowers/**' \ + --glob '!*.lock' \ + --glob '!CHANGELOG.md' +``` + +- [ ] **Step 2: Rewrite each** + +For each file in the result: +- Replace "PolyForm Noncommercial License 1.0.0" / "PolyForm-Noncommercial-1.0.0" with "MIT License" / "MIT". +- Replace "Commercial use requires a separate license" / similar with "Free for any use under the MIT License." (or equivalent positive phrasing). +- Remove any "Contact us for a commercial license" sections; replace with a link to the LICENSE file. +- Update the root `README.md` to make the MIT licensing visible at top (status badge or one-line note). + +- [ ] **Step 3: Verify** + +```bash +rg "PolyForm|LICENSE-COMMERCIAL" \ + --glob '!apps/minting-service/**' \ + --glob '!package-lock.json' \ + --glob '!docs/superpowers/**' \ + --glob '!*.lock' \ + --glob '!CHANGELOG.md' +``` + +Expected output: only references inside `apps/minting-service/` (which legitimately stays proprietary). Anything else needs follow-up. + +--- + +### Task 5: Lint rule sweep + +If any ESLint rule, license-checker config, or similar enforces the SPDX string consistency, update it. + +- [ ] **Step 1: Find license-related lint config** + +```bash +rg -l "PolyForm" .github/ eslint.config.mjs **/eslint.config.mjs 2>&1 +rg -l "license" eslint.config.mjs **/eslint.config.mjs 2>&1 | head -10 +``` + +- [ ] **Step 2: If any rule references "PolyForm-Noncommercial-1.0.0" specifically** + +Update the rule's expected license string to "MIT". Most likely such a rule exists in `eslint.config.mjs` at the workspace root or in a tooling config like `.licenserc.json`. + +- [ ] **Step 3: Run full lint suite** + +```bash +npx nx run-many -t lint -p chat,langgraph,ag-ui --skip-nx-cache 2>&1 | tail -10 +``` + +If a license-header rule complains about an MIT/PolyForm mismatch, fix the rule. + +--- + +### Task 6: Final verification + +- [ ] **Step 1: Full library lint/test/build sweep** + +```bash +npx nx run-many -t lint,test,build -p chat,langgraph,ag-ui,render,a2ui,partial-json,licensing,cockpit-registry,cockpit-shell,cockpit-testing,cockpit-ui,cockpit-docs,db,design-tokens,example-layouts,ui-react --skip-nx-cache 2>&1 | tail -10 +``` + +Expected: all PASS. + +- [ ] **Step 2: Affected app builds** + +```bash +npx nx affected -t build --base=origin/main 2>&1 | tail -10 +``` + +Expected: PASS. + +- [ ] **Step 3: Sanity grep** + +```bash +echo "PolyForm refs outside minting-service (should be 0):" +rg "PolyForm-Noncommercial" \ + --glob '!apps/minting-service/**' \ + --glob '!package-lock.json' \ + --glob '!docs/superpowers/**' \ + --glob '!CHANGELOG.md' | wc -l + +echo "MIT SPDX refs (should be ~370):" +rg -l "SPDX-License-Identifier: MIT" --glob '!node_modules/**' | wc -l +``` + +- [ ] **Step 4: Spot-check 3 random package.json files** + +```bash +for f in libs/chat/package.json libs/ag-ui/package.json packages/mcp/package.json; do + echo "=== $f ===" + jq '{name, version, license, repository, homepage, bugs}' "$f" +done +``` + +Each should show `"license": "MIT"` and complete `repository`/`homepage`/`bugs` blocks. + +- [ ] **Step 5: Push** + +```bash +git push -u origin feat/release-readiness +``` + +- [ ] **Step 6: Open PR** + +```bash +gh pr create --title "feat: relicense to MIT (selective; minting-service stays proprietary)" --body "$(cat <<'EOF' +## Summary +- Switches all source-file SPDX headers from PolyForm-Noncommercial-1.0.0 to MIT (370 files). +- Switches all 77 publishable \`package.json\` \`license\` fields to MIT. +- Adds \`repository\`/\`homepage\`/\`bugs\` metadata to the 17 publishable libraries. +- Replaces root \`LICENSE\` with MIT text. Moves \`LICENSE-COMMERCIAL\` content to \`apps/minting-service/LICENSE\` (re-scoped to that service). +- Sweeps READMEs / docs prose to remove "commercial license required" references. +- \`apps/minting-service/\` stays on its existing proprietary terms. + +## Motivation +Aligns with industry SDK norms (CopilotKit, LangChain, Vercel AI SDK all permissive). Removes adoption friction; commercial revenue path shifts to enterprise add-ons + potential managed service. + +## Test Plan +- [x] All 16 libs + 1 package + cockpit demos lint/test/build pass +- [x] No residual \`PolyForm\` references outside \`apps/minting-service/\` and historical docs +- [x] Spot-check three package.json files show MIT + complete metadata +- [ ] Manual review of \`LICENSE\` files to confirm wording + +## Reversibility +MIT is permanent for shipped code. Anyone who downloads a tagged commit retains MIT rights perpetually. Future releases can change license; past releases remain MIT. + +## Design + plan +- Spec: \`docs/superpowers/specs/2026-04-30-license-migration-design.md\` +- Plan: \`docs/superpowers/plans/2026-04-30-license-migration.md\` + +🤖 Generated with [Claude Code](https://claude.com/claude-code) +EOF +)" +``` + +--- + +## Out of Scope + +- Bumping `version` from `0.0.1` → anything else. +- Actually publishing to npm (the existing `.github/workflows/publish.yml` is stale and broken; fixing it is a separate work item). +- Adding a CHANGELOG. +- Adding a CONTRIBUTING guide or CLA. +- Changing `@cacheplane/licensing` runtime behavior (the lib stays as-is; its purpose just shifts conceptually). +- Updating the `apps/minting-service/` codebase (it stays proprietary, no source-file changes). + +--- + +## Risk + +- **Reversibility risk** (called out in the spec): MIT is permanent for any commit that ships under it. Mitigated by the fact that no public release exists yet (everything is `0.0.1`, never published). +- **`LICENSE-COMMERCIAL` content scoping** when moved to `apps/minting-service/LICENSE` — manual review needed to ensure the language doesn't reference "the framework" generically. The migration plan flags this in Task 3 Step 2. +- **Lint/build breakage from license-header rules** — if any tool enforces SPDX consistency, it'll need a one-line update. Caught in Task 5. diff --git a/docs/superpowers/specs/2026-04-30-license-migration-design.md b/docs/superpowers/specs/2026-04-30-license-migration-design.md new file mode 100644 index 000000000..8f950fa81 --- /dev/null +++ b/docs/superpowers/specs/2026-04-30-license-migration-design.md @@ -0,0 +1,158 @@ +# License Migration: PolyForm-Noncommercial → MIT (Selective) + +## Goal + +Migrate the user-facing libraries, demo apps, marketing site, and verification client from `PolyForm-Noncommercial-1.0.0` to `MIT`. Keep the entitlement-issuing minting service (`apps/minting-service/`) on its existing proprietary terms. Result: any developer can `npm install @cacheplane/chat` and use it commercially without a license fee, in line with industry SDK norms (CopilotKit, LangChain, Vercel AI SDK). + +## Motivation + +`PolyForm-Noncommercial-1.0.0` blocks commercial use without a separate paid license. This creates friction: + +- **Adoption:** anyone evaluating the library has to engage legal review before commercial use; many corps disqualify on first scan. +- **Ecosystem positioning:** SDK competitors (CopilotKit MIT, LangChain MIT, Vercel AI SDK Apache) are all permissively licensed. The non-commercial restriction signals "different category" rather than "alternative choice." +- **Community contribution:** non-OSI license discourages drive-by PRs and prevents inclusion in many corp tooling lists. + +Future revenue is planned via: +1. **Enterprise add-ons** — features kept private, sold separately. Not in this OSS repo. +2. **Managed service** (potential, future) — hosted runtime; entitlement managed via the existing minting service. + +The existing `@cacheplane/licensing` verification client and the `@cacheplane/minting-service` entitlement issuer are kept — repurposed from "license to use the OSS framework" to "entitlement to enterprise features and managed service tiers." + +## Final License Map + +### Libraries (`libs/*`) + +| Path | After | Notes | +|---|---|---| +| `libs/chat/` | **MIT** | user-facing SDK | +| `libs/langgraph/` | **MIT** | adapter | +| `libs/ag-ui/` | **MIT** | adapter | +| `libs/render/` | **MIT** | utility | +| `libs/a2ui/` | **MIT** | catalog | +| `libs/partial-json/` | **MIT** | utility | +| `libs/licensing/` | **MIT** | verification client; consumers must use it from MIT code | +| `libs/cockpit-registry/` | **MIT** | cockpit infra | +| `libs/cockpit-shell/` | **MIT** | cockpit infra | +| `libs/cockpit-testing/` | **MIT** | cockpit infra | +| `libs/cockpit-ui/` | **MIT** | cockpit infra | +| `libs/cockpit-docs/` | **MIT** | cockpit infra | +| `libs/db/` | **MIT** | shared utility | +| `libs/design-tokens/` | **MIT** | shared utility | +| `libs/example-layouts/` | **MIT** | shared example layouts | +| `libs/ui-react/` | **MIT** | shared utility | + +### External package (`packages/*`) + +| Path | After | Notes | +|---|---|---| +| `packages/mcp/` | **MIT** | MCP integration | + +### Apps + +| Path | After | Notes | +|---|---|---| +| `apps/cockpit/` | **MIT** | cockpit shell app | +| `apps/website/` | **MIT** | marketing/docs site | +| `apps/demo/`, `apps/demo-e2e/` | **MIT** | demo + e2e | +| `apps/minting-service/` | **PROPRIETARY** (stays as-is) | entitlement-issuing service; not on npm | + +### Cockpit per-feature demos + +All paths under `cockpit/**/package.json` (~60 packages spanning `cockpit/chat/`, `cockpit/langgraph/`, `cockpit/render/`, `cockpit/deep-agents/`, `cockpit/ag-ui/`): **MIT**. + +### Root files + +| Path | After | +|---|---| +| `LICENSE` (root) | **MIT** text | +| `LICENSE-COMMERCIAL` (root) | **deleted** | +| `apps/minting-service/LICENSE` | **created** with proprietary terms (port from current root `LICENSE-COMMERCIAL` with appropriate scoping) | + +## File-Level Changes + +### Root files + +- **`LICENSE`** — replace contents with the MIT License text (with copyright "Copyright (c) 2026 Brian Love d/b/a cacheplane"). +- **`LICENSE-COMMERCIAL`** — delete (no longer applicable; nothing is for-sale-licensed at the source level). +- **`README.md`** — update any reference from "PolyForm Noncommercial" / "commercial license required" to "MIT licensed". Link to the LICENSE file. + +### Per-package metadata (every `libs/*/package.json` and `cockpit/**/package.json` and relevant `apps/*/package.json`) + +- **`license`** field: `"PolyForm-Noncommercial-1.0.0"` → `"MIT"`. +- **`repository`** field: add `{ "type": "git", "url": "https://github.com/cacheplane/angular-agent-framework.git", "directory": "libs/" }` (or analogous path for cockpit/apps). +- **`homepage`** (optional addition): point to the website or repo `README`. +- **`bugs`** (optional addition): `{ "url": "https://github.com/cacheplane/angular-agent-framework/issues" }`. + +### `apps/minting-service/` + +- Add a `LICENSE` file in `apps/minting-service/` with proprietary terms (port content from current root `LICENSE-COMMERCIAL` with appropriate scoping). +- `apps/minting-service/package.json` — keep `license: "PolyForm-Noncommercial-1.0.0"` OR change to `"SEE LICENSE IN LICENSE"` (the npm convention for non-standard licenses). The latter is cleaner if the LICENSE we add isn't an SPDX-recognized identifier. +- `private: true` already (presumed, since it's a service). If not, add it — npm publish must be blocked. + +### Source-file SPDX headers + +Every source file currently has: +```ts +// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +``` + +Bulk-replace to: +```ts +// SPDX-License-Identifier: MIT +``` + +EXCEPT: files under `apps/minting-service/` keep the original SPDX header. + +Affected file count (re-audited): **370 source files** with the `SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0` header outside `apps/minting-service/`. Minting-service has ~16 such headers that are preserved. Plus **77 `package.json` files** with the `"license": "PolyForm-Noncommercial-1.0.0"` declaration outside minting-service (root + 76 lib/cockpit/app packages). + +## Migration Mechanics + +Mechanical bulk find/replace. Strategy: + +1. **First pass — minting-service exclusion guard.** Determine the exact set of files under `apps/minting-service/` so the bulk operation can exclude them. +2. **Bulk SPDX header replace.** Use `rg -l 'PolyForm-Noncommercial-1.0.0' --glob '!apps/minting-service/**'` to find affected files; apply the find/replace. +3. **Per-package.json edits.** Update `license`, add `repository`, `homepage`, `bugs` to each lib + cockpit + app package.json (except minting-service). +4. **Root `LICENSE` rewrite.** Replace with MIT text. +5. **`LICENSE-COMMERCIAL` deletion.** Remove the file. +6. **`apps/minting-service/LICENSE` creation.** Add proprietary terms. +7. **README sweep.** Find any prose references to the old license; rewrite. +8. **Build/lint verification.** Confirm no SPDX-related lint rules complain (some linters enforce SPDX consistency); confirm package.json metadata passes Nx's checks. + +## Repository Metadata + +The `repository` field is required for npm publish (omitting it generates a warning and may break some package indexers). + +Format used for the trio of user-facing libs: + +```json +"repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/chat" +} +``` + +`directory` is the npm convention for monorepo subpath publishing. + +## Out of Scope + +- **Versioning bump.** No `0.0.1` → `0.1.0` decision in this design. Stays at `0.0.1` until a separate release-readiness work item picks the first published version. +- **Actual `npm publish`.** This migration just changes the LICENSE; it does not ship to npm. +- **`@cacheplane/licensing` runtime behavior changes.** The library stays as-is; its purpose just shifts from "framework commercial-use gate" to "future enterprise-feature/managed-service entitlement gate." +- **Contributor License Agreement (CLA).** Common for projects accepting external contributions but not strictly required. Deferred until contribution velocity makes it worth setting up. +- **NOTICE file.** Required for Apache 2.0; not required for MIT. Skipped. +- **Patent grant.** MIT does not include an explicit patent grant. If there's IP exposure that warrants Apache 2.0 instead, that's a separate decision; this design proceeds with MIT. +- **Existing CI workflows for publish.** The stale `.github/workflows/publish.yml` (references nonexistent `nx test mcp` and project `agent`) needs to be fixed before any publish — that's deferred to a release-readiness implementation plan. + +## Risk + +- **Reversibility.** A switch from PolyForm-NC to MIT is **not reversible** for code already shipped. Anyone who downloads the MIT-licensed source has perpetual MIT rights to that snapshot. Future versions can change license again, but past releases stay MIT. +- **Contribution provenance.** All current commits are by you (Brian Love). No external contributors yet, so there's no need to retroactively re-license third-party contributions. +- **Forks and competitive use.** Under MIT, anyone — including a hyperscaler or a competitor — can fork and ship a managed service that competes with your future managed service. This is the trade-off: lower friction → broader adoption → less revenue protection on the source. The mitigation is to keep monetizable assets (enterprise add-ons, managed service runtime, brand) **outside** the MIT repository. +- **Existing commercial-license customers.** None today. If any existed, they'd need notice that the framework is now free; their contracts would need to convert to enterprise/support contracts. + +## When to Revisit + +- A managed-service offering is built and a competitor forks the OSS to host it themselves — at that point, consider Business Source License (BSL) or Elastic License v2 (ELv2) for *future* server-side components, NOT retroactively for the SDK. +- An external contributor pattern develops — adopt a CLA or DCO. +- An enterprise customer requires Apache 2.0 specifically (patent grant) — relicense MIT → Apache 2.0 is straightforward; any-license → Apache, less so. diff --git a/libs/a2ui/package.json b/libs/a2ui/package.json index 452a58550..aed13d0f0 100644 --- a/libs/a2ui/package.json +++ b/libs/a2ui/package.json @@ -1,6 +1,15 @@ { "name": "@cacheplane/a2ui", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/a2ui" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/a2ui/src/index.ts b/libs/a2ui/src/index.ts index 11dfeb424..7a84ecc90 100644 --- a/libs/a2ui/src/index.ts +++ b/libs/a2ui/src/index.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export type { A2uiTheme, A2uiPathRef, A2uiFunctionCall, DynamicValue, DynamicString, DynamicNumber, DynamicBoolean, DynamicStringList, diff --git a/libs/a2ui/src/lib/functions.spec.ts b/libs/a2ui/src/lib/functions.spec.ts index 3292fb28b..698fd5fa4 100644 --- a/libs/a2ui/src/lib/functions.spec.ts +++ b/libs/a2ui/src/lib/functions.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { executeFunction } from './functions'; diff --git a/libs/a2ui/src/lib/functions.ts b/libs/a2ui/src/lib/functions.ts index 37815e7d7..4df9e603d 100644 --- a/libs/a2ui/src/lib/functions.ts +++ b/libs/a2ui/src/lib/functions.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT type FnExecutor = (args: Record, model: Record) => unknown; diff --git a/libs/a2ui/src/lib/guards.spec.ts b/libs/a2ui/src/lib/guards.spec.ts index 5b5a4a943..f6f1defc1 100644 --- a/libs/a2ui/src/lib/guards.spec.ts +++ b/libs/a2ui/src/lib/guards.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { isPathRef, isFunctionCall } from './guards'; diff --git a/libs/a2ui/src/lib/guards.ts b/libs/a2ui/src/lib/guards.ts index 98ddab755..2c0bc5c8d 100644 --- a/libs/a2ui/src/lib/guards.ts +++ b/libs/a2ui/src/lib/guards.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { A2uiPathRef, A2uiFunctionCall } from './types'; /** Narrows an unknown value to A2uiPathRef — has `path` but not `call`. */ diff --git a/libs/a2ui/src/lib/parser.spec.ts b/libs/a2ui/src/lib/parser.spec.ts index 9e1cd29f7..77d439469 100644 --- a/libs/a2ui/src/lib/parser.spec.ts +++ b/libs/a2ui/src/lib/parser.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { createA2uiMessageParser } from './parser'; diff --git a/libs/a2ui/src/lib/parser.ts b/libs/a2ui/src/lib/parser.ts index b51bf858b..341a165ab 100644 --- a/libs/a2ui/src/lib/parser.ts +++ b/libs/a2ui/src/lib/parser.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { A2uiMessage } from './types'; const ENVELOPE_KEYS = ['createSurface', 'updateComponents', 'updateDataModel', 'deleteSurface'] as const; diff --git a/libs/a2ui/src/lib/pointer.spec.ts b/libs/a2ui/src/lib/pointer.spec.ts index 4bbec727c..99de887de 100644 --- a/libs/a2ui/src/lib/pointer.spec.ts +++ b/libs/a2ui/src/lib/pointer.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { getByPointer, setByPointer, deleteByPointer } from './pointer'; diff --git a/libs/a2ui/src/lib/pointer.ts b/libs/a2ui/src/lib/pointer.ts index e9b57e823..adbe53bb0 100644 --- a/libs/a2ui/src/lib/pointer.ts +++ b/libs/a2ui/src/lib/pointer.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT function parsePointer(pointer: string): string[] { if (!pointer || pointer === '/') return []; diff --git a/libs/a2ui/src/lib/resolve.spec.ts b/libs/a2ui/src/lib/resolve.spec.ts index c1f848b3e..05ceaa318 100644 --- a/libs/a2ui/src/lib/resolve.spec.ts +++ b/libs/a2ui/src/lib/resolve.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { resolveDynamic } from './resolve'; diff --git a/libs/a2ui/src/lib/resolve.ts b/libs/a2ui/src/lib/resolve.ts index d29da4275..e6cb97027 100644 --- a/libs/a2ui/src/lib/resolve.ts +++ b/libs/a2ui/src/lib/resolve.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { A2uiPathRef, A2uiFunctionCall } from './types'; import { getByPointer } from './pointer'; import { executeFunction } from './functions'; diff --git a/libs/a2ui/src/lib/types.ts b/libs/a2ui/src/lib/types.ts index cd2c694a0..7c3275c8e 100644 --- a/libs/a2ui/src/lib/types.ts +++ b/libs/a2ui/src/lib/types.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT // --- Theme --- diff --git a/libs/a2ui/src/lib/validate.spec.ts b/libs/a2ui/src/lib/validate.spec.ts index 2f19647a9..0d1b8209f 100644 --- a/libs/a2ui/src/lib/validate.spec.ts +++ b/libs/a2ui/src/lib/validate.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { evaluateCheckRules } from './validate'; import type { A2uiCheckRule } from './types'; diff --git a/libs/a2ui/src/lib/validate.ts b/libs/a2ui/src/lib/validate.ts index d9f4cdf25..26bfc411c 100644 --- a/libs/a2ui/src/lib/validate.ts +++ b/libs/a2ui/src/lib/validate.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { A2uiCheckRule } from './types'; import { resolveDynamic } from './resolve'; diff --git a/libs/ag-ui/package.json b/libs/ag-ui/package.json index e7a9b5b8e..960c815d1 100644 --- a/libs/ag-ui/package.json +++ b/libs/ag-ui/package.json @@ -9,6 +9,15 @@ "fast-json-patch": "*", "rxjs": "~7.8.0" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/ag-ui" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/ag-ui/src/lib/provide-ag-ui-agent.spec.ts b/libs/ag-ui/src/lib/provide-ag-ui-agent.spec.ts index d7e0d9cb5..bb165f7f5 100644 --- a/libs/ag-ui/src/lib/provide-ag-ui-agent.spec.ts +++ b/libs/ag-ui/src/lib/provide-ag-ui-agent.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { Observable } from 'rxjs'; import type { AbstractAgent, BaseEvent } from '@ag-ui/client'; diff --git a/libs/ag-ui/src/lib/provide-ag-ui-agent.ts b/libs/ag-ui/src/lib/provide-ag-ui-agent.ts index 8ef400537..29172928b 100644 --- a/libs/ag-ui/src/lib/provide-ag-ui-agent.ts +++ b/libs/ag-ui/src/lib/provide-ag-ui-agent.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { InjectionToken, inject, type Provider } from '@angular/core'; import { HttpAgent } from '@ag-ui/client'; import type { Agent } from '@cacheplane/chat'; diff --git a/libs/ag-ui/src/lib/reducer.spec.ts b/libs/ag-ui/src/lib/reducer.spec.ts index 6d6e4844b..de7adca08 100644 --- a/libs/ag-ui/src/lib/reducer.spec.ts +++ b/libs/ag-ui/src/lib/reducer.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal } from '@angular/core'; import { Subject } from 'rxjs'; diff --git a/libs/ag-ui/src/lib/reducer.ts b/libs/ag-ui/src/lib/reducer.ts index 1a9830822..9c595c84e 100644 --- a/libs/ag-ui/src/lib/reducer.ts +++ b/libs/ag-ui/src/lib/reducer.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT // @ag-ui/client@0.0.52 — EventType is a string enum with uppercase values. // Discriminator strings (e.g. 'RUN_STARTED') match EventType enum members // verbatim; the switch cases below use the string literals directly so this diff --git a/libs/ag-ui/src/lib/testing/fake-agent.spec.ts b/libs/ag-ui/src/lib/testing/fake-agent.spec.ts index 423086037..d512b16ba 100644 --- a/libs/ag-ui/src/lib/testing/fake-agent.spec.ts +++ b/libs/ag-ui/src/lib/testing/fake-agent.spec.ts @@ -1,5 +1,5 @@ // libs/ag-ui/src/lib/testing/fake-agent.spec.ts -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { toArray, lastValueFrom } from 'rxjs'; import { EventType, type RunAgentInput, type BaseEvent } from '@ag-ui/client'; diff --git a/libs/ag-ui/src/lib/testing/fake-agent.ts b/libs/ag-ui/src/lib/testing/fake-agent.ts index f1e5c029e..1cc636b5b 100644 --- a/libs/ag-ui/src/lib/testing/fake-agent.ts +++ b/libs/ag-ui/src/lib/testing/fake-agent.ts @@ -1,5 +1,5 @@ // libs/ag-ui/src/lib/testing/fake-agent.ts -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { AbstractAgent, EventType, diff --git a/libs/ag-ui/src/lib/testing/provide-fake-ag-ui-agent.spec.ts b/libs/ag-ui/src/lib/testing/provide-fake-ag-ui-agent.spec.ts index d80713381..518ececb8 100644 --- a/libs/ag-ui/src/lib/testing/provide-fake-ag-ui-agent.spec.ts +++ b/libs/ag-ui/src/lib/testing/provide-fake-ag-ui-agent.spec.ts @@ -1,5 +1,5 @@ // libs/ag-ui/src/lib/testing/provide-fake-ag-ui-agent.spec.ts -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { TestBed } from '@angular/core/testing'; import { AG_UI_AGENT } from '../provide-ag-ui-agent'; diff --git a/libs/ag-ui/src/lib/testing/provide-fake-ag-ui-agent.ts b/libs/ag-ui/src/lib/testing/provide-fake-ag-ui-agent.ts index 8cbab3ddc..6a04404ee 100644 --- a/libs/ag-ui/src/lib/testing/provide-fake-ag-ui-agent.ts +++ b/libs/ag-ui/src/lib/testing/provide-fake-ag-ui-agent.ts @@ -1,5 +1,5 @@ // libs/ag-ui/src/lib/testing/provide-fake-ag-ui-agent.ts -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { type Provider } from '@angular/core'; import { AG_UI_AGENT } from '../provide-ag-ui-agent'; import { toAgent } from '../to-agent'; diff --git a/libs/ag-ui/src/lib/to-agent.conformance.spec.ts b/libs/ag-ui/src/lib/to-agent.conformance.spec.ts index 93d0f2d15..9186ed5a7 100644 --- a/libs/ag-ui/src/lib/to-agent.conformance.spec.ts +++ b/libs/ag-ui/src/lib/to-agent.conformance.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Observable } from 'rxjs'; import type { AbstractAgent, BaseEvent } from '@ag-ui/client'; import type { RunAgentInput } from '@ag-ui/core'; diff --git a/libs/ag-ui/src/lib/to-agent.spec.ts b/libs/ag-ui/src/lib/to-agent.spec.ts index 3b9f51bff..5caaa5231 100644 --- a/libs/ag-ui/src/lib/to-agent.spec.ts +++ b/libs/ag-ui/src/lib/to-agent.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { Observable, Subject } from 'rxjs'; import type { AbstractAgent, BaseEvent } from '@ag-ui/client'; diff --git a/libs/ag-ui/src/lib/to-agent.ts b/libs/ag-ui/src/lib/to-agent.ts index 22de6434e..dde90d3db 100644 --- a/libs/ag-ui/src/lib/to-agent.ts +++ b/libs/ag-ui/src/lib/to-agent.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { signal } from '@angular/core'; import { Subject } from 'rxjs'; import type { AbstractAgent } from '@ag-ui/client'; diff --git a/libs/ag-ui/src/public-api.ts b/libs/ag-ui/src/public-api.ts index f5024f2c2..af7aded13 100644 --- a/libs/ag-ui/src/public-api.ts +++ b/libs/ag-ui/src/public-api.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export { toAgent } from './lib/to-agent'; export { provideAgUiAgent, AG_UI_AGENT, injectAgUiAgent } from './lib/provide-ag-ui-agent'; export type { AgUiAgentConfig } from './lib/provide-ag-ui-agent'; diff --git a/libs/chat/package.json b/libs/chat/package.json index d68552915..cdc987ad0 100644 --- a/libs/chat/package.json +++ b/libs/chat/package.json @@ -20,6 +20,15 @@ "optional": true } }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/chat" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/chat/src/lib/a2ui/build-action-message.spec.ts b/libs/chat/src/lib/a2ui/build-action-message.spec.ts index 5564232f4..420a8f7a8 100644 --- a/libs/chat/src/lib/a2ui/build-action-message.spec.ts +++ b/libs/chat/src/lib/a2ui/build-action-message.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import type { A2uiSurface, A2uiComponent } from '@cacheplane/a2ui'; import { buildA2uiActionMessage } from './build-action-message'; diff --git a/libs/chat/src/lib/a2ui/build-action-message.ts b/libs/chat/src/lib/a2ui/build-action-message.ts index 6a7749d98..26cf7b06a 100644 --- a/libs/chat/src/lib/a2ui/build-action-message.ts +++ b/libs/chat/src/lib/a2ui/build-action-message.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { A2uiSurface, A2uiActionMessage } from '@cacheplane/a2ui'; /** Builds a v0.9 A2uiActionMessage from handler params and the current surface. */ diff --git a/libs/chat/src/lib/a2ui/catalog/audio-player.component.ts b/libs/chat/src/lib/a2ui/catalog/audio-player.component.ts index 9534c8360..67ee1221c 100644 --- a/libs/chat/src/lib/a2ui/catalog/audio-player.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/audio-player.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; @Component({ diff --git a/libs/chat/src/lib/a2ui/catalog/button.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/button.component.spec.ts index 24dba240c..64e8de35b 100644 --- a/libs/chat/src/lib/a2ui/catalog/button.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/button.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { A2uiButtonComponent } from './button.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/button.component.ts b/libs/chat/src/lib/a2ui/catalog/button.component.ts index 3d22803eb..e68e8494c 100644 --- a/libs/chat/src/lib/a2ui/catalog/button.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/button.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, ChangeDetectionStrategy } from '@angular/core'; import type { A2uiValidationResult } from '@cacheplane/a2ui'; import { A2uiValidationErrorsComponent } from './validation-errors.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/card.component.ts b/libs/chat/src/lib/a2ui/catalog/card.component.ts index 04bd85a66..738618a2d 100644 --- a/libs/chat/src/lib/a2ui/catalog/card.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/card.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; import type { Spec } from '@json-render/core'; import { RenderElementComponent } from '@cacheplane/render'; diff --git a/libs/chat/src/lib/a2ui/catalog/check-box.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/check-box.component.spec.ts index 7fcfa4fc9..28fec355c 100644 --- a/libs/chat/src/lib/a2ui/catalog/check-box.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/check-box.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { emitBinding } from './emit-binding'; diff --git a/libs/chat/src/lib/a2ui/catalog/check-box.component.ts b/libs/chat/src/lib/a2ui/catalog/check-box.component.ts index 6510cc8d7..58f35b122 100644 --- a/libs/chat/src/lib/a2ui/catalog/check-box.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/check-box.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, ChangeDetectionStrategy } from '@angular/core'; import type { A2uiValidationResult } from '@cacheplane/a2ui'; import { A2uiValidationErrorsComponent } from './validation-errors.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/choice-picker.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/choice-picker.component.spec.ts index cf165bc97..2ff691a5c 100644 --- a/libs/chat/src/lib/a2ui/catalog/choice-picker.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/choice-picker.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { emitBinding } from './emit-binding'; diff --git a/libs/chat/src/lib/a2ui/catalog/choice-picker.component.ts b/libs/chat/src/lib/a2ui/catalog/choice-picker.component.ts index d2413a7b7..f0e48d6a6 100644 --- a/libs/chat/src/lib/a2ui/catalog/choice-picker.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/choice-picker.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, ChangeDetectionStrategy } from '@angular/core'; import type { A2uiValidationResult } from '@cacheplane/a2ui'; import { A2uiValidationErrorsComponent } from './validation-errors.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/column.component.ts b/libs/chat/src/lib/a2ui/catalog/column.component.ts index 230277434..9b7de189c 100644 --- a/libs/chat/src/lib/a2ui/catalog/column.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/column.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; import type { Spec } from '@json-render/core'; import { RenderElementComponent } from '@cacheplane/render'; diff --git a/libs/chat/src/lib/a2ui/catalog/date-time-input.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/date-time-input.component.spec.ts index 329cd58da..61630bc53 100644 --- a/libs/chat/src/lib/a2ui/catalog/date-time-input.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/date-time-input.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { emitBinding } from './emit-binding'; diff --git a/libs/chat/src/lib/a2ui/catalog/date-time-input.component.ts b/libs/chat/src/lib/a2ui/catalog/date-time-input.component.ts index 4cb04e2e1..4a821229c 100644 --- a/libs/chat/src/lib/a2ui/catalog/date-time-input.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/date-time-input.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, ChangeDetectionStrategy } from '@angular/core'; import type { A2uiValidationResult } from '@cacheplane/a2ui'; import { A2uiValidationErrorsComponent } from './validation-errors.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/divider.component.ts b/libs/chat/src/lib/a2ui/catalog/divider.component.ts index 5d6a97c48..83eb3d92c 100644 --- a/libs/chat/src/lib/a2ui/catalog/divider.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/divider.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component } from '@angular/core'; @Component({ diff --git a/libs/chat/src/lib/a2ui/catalog/emit-binding.spec.ts b/libs/chat/src/lib/a2ui/catalog/emit-binding.spec.ts index eba17f3ad..2ac2070e3 100644 --- a/libs/chat/src/lib/a2ui/catalog/emit-binding.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/emit-binding.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { emitBinding } from './emit-binding'; diff --git a/libs/chat/src/lib/a2ui/catalog/emit-binding.ts b/libs/chat/src/lib/a2ui/catalog/emit-binding.ts index 224f85bfb..7d9bc60ca 100644 --- a/libs/chat/src/lib/a2ui/catalog/emit-binding.ts +++ b/libs/chat/src/lib/a2ui/catalog/emit-binding.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT /** Emits a data model binding event if the prop has a binding path. */ export function emitBinding( diff --git a/libs/chat/src/lib/a2ui/catalog/icon.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/icon.component.spec.ts index 7c6598d65..93c560014 100644 --- a/libs/chat/src/lib/a2ui/catalog/icon.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/icon.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { A2uiIconComponent } from './icon.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/icon.component.ts b/libs/chat/src/lib/a2ui/catalog/icon.component.ts index 3f0ff378d..927fb3d8f 100644 --- a/libs/chat/src/lib/a2ui/catalog/icon.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/icon.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; @Component({ diff --git a/libs/chat/src/lib/a2ui/catalog/image.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/image.component.spec.ts index d58f53258..b0c8f4bd4 100644 --- a/libs/chat/src/lib/a2ui/catalog/image.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/image.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { A2uiImageComponent } from './image.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/image.component.ts b/libs/chat/src/lib/a2ui/catalog/image.component.ts index 362174c99..3b1c18bb7 100644 --- a/libs/chat/src/lib/a2ui/catalog/image.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/image.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; @Component({ diff --git a/libs/chat/src/lib/a2ui/catalog/index.ts b/libs/chat/src/lib/a2ui/catalog/index.ts index 58c6fa93a..53e392ed6 100644 --- a/libs/chat/src/lib/a2ui/catalog/index.ts +++ b/libs/chat/src/lib/a2ui/catalog/index.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { views, type ViewRegistry } from '@cacheplane/render'; import { A2uiAudioPlayerComponent } from './audio-player.component'; import { A2uiButtonComponent } from './button.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/list.component.ts b/libs/chat/src/lib/a2ui/catalog/list.component.ts index 400b20530..f418bbf39 100644 --- a/libs/chat/src/lib/a2ui/catalog/list.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/list.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; import type { Spec } from '@json-render/core'; import { RenderElementComponent } from '@cacheplane/render'; diff --git a/libs/chat/src/lib/a2ui/catalog/modal.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/modal.component.spec.ts index e9507cc2a..7865b6bc9 100644 --- a/libs/chat/src/lib/a2ui/catalog/modal.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/modal.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { emitBinding } from './emit-binding'; diff --git a/libs/chat/src/lib/a2ui/catalog/modal.component.ts b/libs/chat/src/lib/a2ui/catalog/modal.component.ts index c120f855c..5d6ccc3ec 100644 --- a/libs/chat/src/lib/a2ui/catalog/modal.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/modal.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; import type { Spec } from '@json-render/core'; import { RenderElementComponent } from '@cacheplane/render'; diff --git a/libs/chat/src/lib/a2ui/catalog/row.component.ts b/libs/chat/src/lib/a2ui/catalog/row.component.ts index fae088e69..486c60748 100644 --- a/libs/chat/src/lib/a2ui/catalog/row.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/row.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; import type { Spec } from '@json-render/core'; import { RenderElementComponent } from '@cacheplane/render'; diff --git a/libs/chat/src/lib/a2ui/catalog/slider.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/slider.component.spec.ts index 358b4b88a..0a64c8587 100644 --- a/libs/chat/src/lib/a2ui/catalog/slider.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/slider.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { emitBinding } from './emit-binding'; diff --git a/libs/chat/src/lib/a2ui/catalog/slider.component.ts b/libs/chat/src/lib/a2ui/catalog/slider.component.ts index 8a8325048..ac52fa0c2 100644 --- a/libs/chat/src/lib/a2ui/catalog/slider.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/slider.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, ChangeDetectionStrategy } from '@angular/core'; import type { A2uiValidationResult } from '@cacheplane/a2ui'; import { A2uiValidationErrorsComponent } from './validation-errors.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/tabs.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/tabs.component.spec.ts index b94cb5c33..c5fdca6ca 100644 --- a/libs/chat/src/lib/a2ui/catalog/tabs.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/tabs.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { emitBinding } from './emit-binding'; diff --git a/libs/chat/src/lib/a2ui/catalog/tabs.component.ts b/libs/chat/src/lib/a2ui/catalog/tabs.component.ts index c0503b2c6..8efcb0d30 100644 --- a/libs/chat/src/lib/a2ui/catalog/tabs.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/tabs.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, effect, input, signal } from '@angular/core'; import type { Spec } from '@json-render/core'; import { RenderElementComponent } from '@cacheplane/render'; diff --git a/libs/chat/src/lib/a2ui/catalog/text-field.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/text-field.component.spec.ts index 516b47eeb..ba47ea8dc 100644 --- a/libs/chat/src/lib/a2ui/catalog/text-field.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/text-field.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { emitBinding } from './emit-binding'; diff --git a/libs/chat/src/lib/a2ui/catalog/text-field.component.ts b/libs/chat/src/lib/a2ui/catalog/text-field.component.ts index 2f3c8bfe5..0555dff59 100644 --- a/libs/chat/src/lib/a2ui/catalog/text-field.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/text-field.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, ChangeDetectionStrategy } from '@angular/core'; import type { A2uiValidationResult } from '@cacheplane/a2ui'; import { A2uiValidationErrorsComponent } from './validation-errors.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/text.component.spec.ts b/libs/chat/src/lib/a2ui/catalog/text.component.spec.ts index 590588d24..675362e5b 100644 --- a/libs/chat/src/lib/a2ui/catalog/text.component.spec.ts +++ b/libs/chat/src/lib/a2ui/catalog/text.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { A2uiTextComponent } from './text.component'; diff --git a/libs/chat/src/lib/a2ui/catalog/text.component.ts b/libs/chat/src/lib/a2ui/catalog/text.component.ts index a730bab2c..dbc0ff743 100644 --- a/libs/chat/src/lib/a2ui/catalog/text.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/text.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; @Component({ diff --git a/libs/chat/src/lib/a2ui/catalog/validation-errors.component.ts b/libs/chat/src/lib/a2ui/catalog/validation-errors.component.ts index 6cf6449c1..bbcc53b83 100644 --- a/libs/chat/src/lib/a2ui/catalog/validation-errors.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/validation-errors.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, ChangeDetectionStrategy } from '@angular/core'; import type { A2uiValidationResult } from '@cacheplane/a2ui'; diff --git a/libs/chat/src/lib/a2ui/catalog/video.component.ts b/libs/chat/src/lib/a2ui/catalog/video.component.ts index ef001bbf7..29b37dc53 100644 --- a/libs/chat/src/lib/a2ui/catalog/video.component.ts +++ b/libs/chat/src/lib/a2ui/catalog/video.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input } from '@angular/core'; @Component({ diff --git a/libs/chat/src/lib/a2ui/surface-store.spec.ts b/libs/chat/src/lib/a2ui/surface-store.spec.ts index 39015bbdb..611991106 100644 --- a/libs/chat/src/lib/a2ui/surface-store.spec.ts +++ b/libs/chat/src/lib/a2ui/surface-store.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { TestBed } from '@angular/core/testing'; import { createA2uiSurfaceStore } from './surface-store'; diff --git a/libs/chat/src/lib/a2ui/surface-store.ts b/libs/chat/src/lib/a2ui/surface-store.ts index 1b3972dbd..5d5b77b57 100644 --- a/libs/chat/src/lib/a2ui/surface-store.ts +++ b/libs/chat/src/lib/a2ui/surface-store.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { computed, signal, type Signal } from '@angular/core'; import type { A2uiMessage, A2uiSurface } from '@cacheplane/a2ui'; import { setByPointer, deleteByPointer } from '@cacheplane/a2ui'; diff --git a/libs/chat/src/lib/a2ui/surface-to-spec.spec.ts b/libs/chat/src/lib/a2ui/surface-to-spec.spec.ts index 823242c6c..76cadefe3 100644 --- a/libs/chat/src/lib/a2ui/surface-to-spec.spec.ts +++ b/libs/chat/src/lib/a2ui/surface-to-spec.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import type { A2uiSurface, A2uiComponent } from '@cacheplane/a2ui'; import { surfaceToSpec } from './surface-to-spec'; diff --git a/libs/chat/src/lib/a2ui/surface-to-spec.ts b/libs/chat/src/lib/a2ui/surface-to-spec.ts index 986bad68f..16661bdc4 100644 --- a/libs/chat/src/lib/a2ui/surface-to-spec.ts +++ b/libs/chat/src/lib/a2ui/surface-to-spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { Spec, UIElement } from '@json-render/core'; import type { A2uiSurface, A2uiChildTemplate } from '@cacheplane/a2ui'; import { resolveDynamic, getByPointer, evaluateCheckRules, isPathRef } from '@cacheplane/a2ui'; diff --git a/libs/chat/src/lib/a2ui/surface.component.ts b/libs/chat/src/lib/a2ui/surface.component.ts index 77f56d576..f0211d9a8 100644 --- a/libs/chat/src/lib/a2ui/surface.component.ts +++ b/libs/chat/src/lib/a2ui/surface.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input, output, ChangeDetectionStrategy, } from '@angular/core'; diff --git a/libs/chat/src/lib/agent/agent-checkpoint.ts b/libs/chat/src/lib/agent/agent-checkpoint.ts index ff6d0ceea..ded86a2bb 100644 --- a/libs/chat/src/lib/agent/agent-checkpoint.ts +++ b/libs/chat/src/lib/agent/agent-checkpoint.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT /** * Runtime-neutral snapshot of a point in an agent's execution history. diff --git a/libs/chat/src/lib/agent/agent-event.spec.ts b/libs/chat/src/lib/agent/agent-event.spec.ts index d3fb8680c..199dd9395 100644 --- a/libs/chat/src/lib/agent/agent-event.spec.ts +++ b/libs/chat/src/lib/agent/agent-event.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import type { AgentEvent, diff --git a/libs/chat/src/lib/agent/agent-event.ts b/libs/chat/src/lib/agent/agent-event.ts index 314c14d3f..b7068478c 100644 --- a/libs/chat/src/lib/agent/agent-event.ts +++ b/libs/chat/src/lib/agent/agent-event.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT /** * Render-state-store sync event. Adapters emit this when the runtime diff --git a/libs/chat/src/lib/agent/agent-interrupt.ts b/libs/chat/src/lib/agent/agent-interrupt.ts index f95a7a11a..6102688e9 100644 --- a/libs/chat/src/lib/agent/agent-interrupt.ts +++ b/libs/chat/src/lib/agent/agent-interrupt.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export interface AgentInterrupt { /** Stable identifier for this interrupt instance. */ diff --git a/libs/chat/src/lib/agent/agent-status.ts b/libs/chat/src/lib/agent/agent-status.ts index 70c4a39d8..09b93c0f5 100644 --- a/libs/chat/src/lib/agent/agent-status.ts +++ b/libs/chat/src/lib/agent/agent-status.ts @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export type AgentStatus = 'idle' | 'running' | 'error'; diff --git a/libs/chat/src/lib/agent/agent-submit.ts b/libs/chat/src/lib/agent/agent-submit.ts index e9a8a82dc..55017ca5b 100644 --- a/libs/chat/src/lib/agent/agent-submit.ts +++ b/libs/chat/src/lib/agent/agent-submit.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { ContentBlock } from './content-block'; export interface AgentSubmitInput { diff --git a/libs/chat/src/lib/agent/agent-with-history.ts b/libs/chat/src/lib/agent/agent-with-history.ts index 685b2a567..dca742c20 100644 --- a/libs/chat/src/lib/agent/agent-with-history.ts +++ b/libs/chat/src/lib/agent/agent-with-history.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { Signal } from '@angular/core'; import type { Agent } from './agent'; import type { AgentCheckpoint } from './agent-checkpoint'; diff --git a/libs/chat/src/lib/agent/agent.spec.ts b/libs/chat/src/lib/agent/agent.spec.ts index fc58055db..5725dcb1a 100644 --- a/libs/chat/src/lib/agent/agent.spec.ts +++ b/libs/chat/src/lib/agent/agent.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { signal } from '@angular/core'; import type { Agent } from './agent'; diff --git a/libs/chat/src/lib/agent/agent.ts b/libs/chat/src/lib/agent/agent.ts index 11e4ecad4..8ca1d3a98 100644 --- a/libs/chat/src/lib/agent/agent.ts +++ b/libs/chat/src/lib/agent/agent.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { Signal } from '@angular/core'; import type { Observable } from 'rxjs'; import type { Message } from './message'; diff --git a/libs/chat/src/lib/agent/content-block.ts b/libs/chat/src/lib/agent/content-block.ts index 21ec97441..54ae2f8d0 100644 --- a/libs/chat/src/lib/agent/content-block.ts +++ b/libs/chat/src/lib/agent/content-block.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export type ContentBlock = | { type: 'text'; text: string } diff --git a/libs/chat/src/lib/agent/index.ts b/libs/chat/src/lib/agent/index.ts index b83e6742e..eb129d31d 100644 --- a/libs/chat/src/lib/agent/index.ts +++ b/libs/chat/src/lib/agent/index.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export type { Agent } from './agent'; export type { Message, Role } from './message'; export { isUserMessage, isAssistantMessage, isToolMessage, isSystemMessage } from './message'; diff --git a/libs/chat/src/lib/agent/message.spec.ts b/libs/chat/src/lib/agent/message.spec.ts index 0c575d6ac..b30f05ab8 100644 --- a/libs/chat/src/lib/agent/message.spec.ts +++ b/libs/chat/src/lib/agent/message.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { isUserMessage, isAssistantMessage, type Message } from './message'; describe('Message', () => { diff --git a/libs/chat/src/lib/agent/message.ts b/libs/chat/src/lib/agent/message.ts index 28e7a74d5..46f9f2e6d 100644 --- a/libs/chat/src/lib/agent/message.ts +++ b/libs/chat/src/lib/agent/message.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { ContentBlock } from './content-block'; export type Role = 'user' | 'assistant' | 'system' | 'tool'; diff --git a/libs/chat/src/lib/agent/subagent.ts b/libs/chat/src/lib/agent/subagent.ts index 123c01901..49852fc7e 100644 --- a/libs/chat/src/lib/agent/subagent.ts +++ b/libs/chat/src/lib/agent/subagent.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { Signal } from '@angular/core'; import type { Message } from './message'; diff --git a/libs/chat/src/lib/agent/tool-call.ts b/libs/chat/src/lib/agent/tool-call.ts index deaf93d01..92ea05a8b 100644 --- a/libs/chat/src/lib/agent/tool-call.ts +++ b/libs/chat/src/lib/agent/tool-call.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export type ToolCallStatus = 'pending' | 'running' | 'complete' | 'error'; diff --git a/libs/chat/src/lib/chat.types.ts b/libs/chat/src/lib/chat.types.ts index d7656edc2..8d9c64574 100644 --- a/libs/chat/src/lib/chat.types.ts +++ b/libs/chat/src/lib/chat.types.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { AngularRegistry } from '@cacheplane/render'; export interface ChatConfig { diff --git a/libs/chat/src/lib/compositions/chat-debug/chat-debug.component.spec.ts b/libs/chat/src/lib/compositions/chat-debug/chat-debug.component.spec.ts index bd69ef691..4aacb63cc 100644 --- a/libs/chat/src/lib/compositions/chat-debug/chat-debug.component.spec.ts +++ b/libs/chat/src/lib/compositions/chat-debug/chat-debug.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { computeStateDiff } from './state-diff'; import type { DiffEntry } from './state-diff'; diff --git a/libs/chat/src/lib/compositions/chat-debug/chat-debug.component.ts b/libs/chat/src/lib/compositions/chat-debug/chat-debug.component.ts index 5dcdc64e0..f21b2bba6 100644 --- a/libs/chat/src/lib/compositions/chat-debug/chat-debug.component.ts +++ b/libs/chat/src/lib/compositions/chat-debug/chat-debug.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/compositions/chat-debug/debug-checkpoint-card.component.ts b/libs/chat/src/lib/compositions/chat-debug/debug-checkpoint-card.component.ts index 1d341b71c..0238f79bb 100644 --- a/libs/chat/src/lib/compositions/chat-debug/debug-checkpoint-card.component.ts +++ b/libs/chat/src/lib/compositions/chat-debug/debug-checkpoint-card.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, diff --git a/libs/chat/src/lib/compositions/chat-debug/debug-controls.component.ts b/libs/chat/src/lib/compositions/chat-debug/debug-controls.component.ts index 8a01ef4fb..85a766663 100644 --- a/libs/chat/src/lib/compositions/chat-debug/debug-controls.component.ts +++ b/libs/chat/src/lib/compositions/chat-debug/debug-controls.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, diff --git a/libs/chat/src/lib/compositions/chat-debug/debug-detail.component.ts b/libs/chat/src/lib/compositions/chat-debug/debug-detail.component.ts index 27731f7ee..a69ea1d61 100644 --- a/libs/chat/src/lib/compositions/chat-debug/debug-detail.component.ts +++ b/libs/chat/src/lib/compositions/chat-debug/debug-detail.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, diff --git a/libs/chat/src/lib/compositions/chat-debug/debug-state-diff.component.ts b/libs/chat/src/lib/compositions/chat-debug/debug-state-diff.component.ts index 164f48771..ebd80b2c5 100644 --- a/libs/chat/src/lib/compositions/chat-debug/debug-state-diff.component.ts +++ b/libs/chat/src/lib/compositions/chat-debug/debug-state-diff.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/compositions/chat-debug/debug-state-inspector.component.ts b/libs/chat/src/lib/compositions/chat-debug/debug-state-inspector.component.ts index 0e1fd11bc..f706550ac 100644 --- a/libs/chat/src/lib/compositions/chat-debug/debug-state-inspector.component.ts +++ b/libs/chat/src/lib/compositions/chat-debug/debug-state-inspector.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, diff --git a/libs/chat/src/lib/compositions/chat-debug/debug-summary.component.ts b/libs/chat/src/lib/compositions/chat-debug/debug-summary.component.ts index 20b30b19b..d92f5122e 100644 --- a/libs/chat/src/lib/compositions/chat-debug/debug-summary.component.ts +++ b/libs/chat/src/lib/compositions/chat-debug/debug-summary.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/compositions/chat-debug/debug-timeline.component.ts b/libs/chat/src/lib/compositions/chat-debug/debug-timeline.component.ts index bdc2dda7a..db9121492 100644 --- a/libs/chat/src/lib/compositions/chat-debug/debug-timeline.component.ts +++ b/libs/chat/src/lib/compositions/chat-debug/debug-timeline.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, diff --git a/libs/chat/src/lib/compositions/chat-debug/debug-utils.ts b/libs/chat/src/lib/compositions/chat-debug/debug-utils.ts index 4bb5df762..66ca5a0ec 100644 --- a/libs/chat/src/lib/compositions/chat-debug/debug-utils.ts +++ b/libs/chat/src/lib/compositions/chat-debug/debug-utils.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { AgentCheckpoint } from '../../agent'; import type { DebugCheckpoint } from './debug-checkpoint-card.component'; diff --git a/libs/chat/src/lib/compositions/chat-debug/state-diff.ts b/libs/chat/src/lib/compositions/chat-debug/state-diff.ts index df33cb80f..c85a9aad9 100644 --- a/libs/chat/src/lib/compositions/chat-debug/state-diff.ts +++ b/libs/chat/src/lib/compositions/chat-debug/state-diff.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT /** * Represents a single entry in a state diff. diff --git a/libs/chat/src/lib/compositions/chat-interrupt-panel/chat-interrupt-panel.component.spec.ts b/libs/chat/src/lib/compositions/chat-interrupt-panel/chat-interrupt-panel.component.spec.ts index a62f821ad..5129316e9 100644 --- a/libs/chat/src/lib/compositions/chat-interrupt-panel/chat-interrupt-panel.component.spec.ts +++ b/libs/chat/src/lib/compositions/chat-interrupt-panel/chat-interrupt-panel.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal, computed } from '@angular/core'; import { getInterruptFromAgent, ChatInterruptPanelComponent } from './chat-interrupt-panel.component'; diff --git a/libs/chat/src/lib/compositions/chat-interrupt-panel/chat-interrupt-panel.component.ts b/libs/chat/src/lib/compositions/chat-interrupt-panel/chat-interrupt-panel.component.ts index edce747ba..d7a0d12f6 100644 --- a/libs/chat/src/lib/compositions/chat-interrupt-panel/chat-interrupt-panel.component.ts +++ b/libs/chat/src/lib/compositions/chat-interrupt-panel/chat-interrupt-panel.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/compositions/chat-subagent-card/chat-subagent-card.component.spec.ts b/libs/chat/src/lib/compositions/chat-subagent-card/chat-subagent-card.component.spec.ts index 4415ec703..c23fa67e2 100644 --- a/libs/chat/src/lib/compositions/chat-subagent-card/chat-subagent-card.component.spec.ts +++ b/libs/chat/src/lib/compositions/chat-subagent-card/chat-subagent-card.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { ChatSubagentCardComponent, statusColor } from './chat-subagent-card.component'; diff --git a/libs/chat/src/lib/compositions/chat-subagent-card/chat-subagent-card.component.ts b/libs/chat/src/lib/compositions/chat-subagent-card/chat-subagent-card.component.ts index 2a8908e5d..05b81a313 100644 --- a/libs/chat/src/lib/compositions/chat-subagent-card/chat-subagent-card.component.ts +++ b/libs/chat/src/lib/compositions/chat-subagent-card/chat-subagent-card.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/compositions/chat-timeline-slider/chat-timeline-slider.component.spec.ts b/libs/chat/src/lib/compositions/chat-timeline-slider/chat-timeline-slider.component.spec.ts index 0f5085326..2e9e5af5c 100644 --- a/libs/chat/src/lib/compositions/chat-timeline-slider/chat-timeline-slider.component.spec.ts +++ b/libs/chat/src/lib/compositions/chat-timeline-slider/chat-timeline-slider.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { TestBed } from '@angular/core/testing'; import { ChatTimelineSliderComponent } from './chat-timeline-slider.component'; diff --git a/libs/chat/src/lib/compositions/chat-timeline-slider/chat-timeline-slider.component.ts b/libs/chat/src/lib/compositions/chat-timeline-slider/chat-timeline-slider.component.ts index 3d2ca8748..c932bccb6 100644 --- a/libs/chat/src/lib/compositions/chat-timeline-slider/chat-timeline-slider.component.ts +++ b/libs/chat/src/lib/compositions/chat-timeline-slider/chat-timeline-slider.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, input, output, signal, ChangeDetectionStrategy, diff --git a/libs/chat/src/lib/compositions/chat-tool-call-card/chat-tool-call-card.component.spec.ts b/libs/chat/src/lib/compositions/chat-tool-call-card/chat-tool-call-card.component.spec.ts index c38d5a966..ef7b2f0cc 100644 --- a/libs/chat/src/lib/compositions/chat-tool-call-card/chat-tool-call-card.component.spec.ts +++ b/libs/chat/src/lib/compositions/chat-tool-call-card/chat-tool-call-card.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { ChatToolCallCardComponent } from './chat-tool-call-card.component'; import type { ToolCallInfo } from './chat-tool-call-card.component'; diff --git a/libs/chat/src/lib/compositions/chat-tool-call-card/chat-tool-call-card.component.ts b/libs/chat/src/lib/compositions/chat-tool-call-card/chat-tool-call-card.component.ts index 65ad1e008..e4c074612 100644 --- a/libs/chat/src/lib/compositions/chat-tool-call-card/chat-tool-call-card.component.ts +++ b/libs/chat/src/lib/compositions/chat-tool-call-card/chat-tool-call-card.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, diff --git a/libs/chat/src/lib/compositions/chat/chat-render-event.ts b/libs/chat/src/lib/compositions/chat/chat-render-event.ts index 2ca7fab87..a0cee332b 100644 --- a/libs/chat/src/lib/compositions/chat/chat-render-event.ts +++ b/libs/chat/src/lib/compositions/chat/chat-render-event.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { RenderEvent } from '@cacheplane/render'; export interface ChatRenderEvent { diff --git a/libs/chat/src/lib/compositions/chat/chat.component.spec.ts b/libs/chat/src/lib/compositions/chat/chat.component.spec.ts index 0a3eff660..b136aa015 100644 --- a/libs/chat/src/lib/compositions/chat/chat.component.spec.ts +++ b/libs/chat/src/lib/compositions/chat/chat.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { TestBed } from '@angular/core/testing'; import { Subject } from 'rxjs'; diff --git a/libs/chat/src/lib/compositions/chat/chat.component.ts b/libs/chat/src/lib/compositions/chat/chat.component.ts index 9381f9e76..2a277a290 100644 --- a/libs/chat/src/lib/compositions/chat/chat.component.ts +++ b/libs/chat/src/lib/compositions/chat/chat.component.ts @@ -1,5 +1,5 @@ // libs/chat/src/lib/compositions/chat/chat.component.ts -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, diff --git a/libs/chat/src/lib/compositions/shared/message-utils.ts b/libs/chat/src/lib/compositions/shared/message-utils.ts index 64f67bcca..773a4ae4a 100644 --- a/libs/chat/src/lib/compositions/shared/message-utils.ts +++ b/libs/chat/src/lib/compositions/shared/message-utils.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { BaseMessage } from '@langchain/core/messages'; /** diff --git a/libs/chat/src/lib/primitives/chat-error/chat-error.component.spec.ts b/libs/chat/src/lib/primitives/chat-error/chat-error.component.spec.ts index e2700af31..0ba0eee55 100644 --- a/libs/chat/src/lib/primitives/chat-error/chat-error.component.spec.ts +++ b/libs/chat/src/lib/primitives/chat-error/chat-error.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal, computed } from '@angular/core'; import { extractErrorMessage } from './chat-error.component'; diff --git a/libs/chat/src/lib/primitives/chat-error/chat-error.component.ts b/libs/chat/src/lib/primitives/chat-error/chat-error.component.ts index 71d006960..1d2700593 100644 --- a/libs/chat/src/lib/primitives/chat-error/chat-error.component.ts +++ b/libs/chat/src/lib/primitives/chat-error/chat-error.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/primitives/chat-generative-ui/chat-generative-ui.component.spec.ts b/libs/chat/src/lib/primitives/chat-generative-ui/chat-generative-ui.component.spec.ts index 53b2ca35c..86a01b205 100644 --- a/libs/chat/src/lib/primitives/chat-generative-ui/chat-generative-ui.component.spec.ts +++ b/libs/chat/src/lib/primitives/chat-generative-ui/chat-generative-ui.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal, computed } from '@angular/core'; import type { Spec } from '@json-render/core'; diff --git a/libs/chat/src/lib/primitives/chat-generative-ui/chat-generative-ui.component.ts b/libs/chat/src/lib/primitives/chat-generative-ui/chat-generative-ui.component.ts index 6a7bdab39..e4959003a 100644 --- a/libs/chat/src/lib/primitives/chat-generative-ui/chat-generative-ui.component.ts +++ b/libs/chat/src/lib/primitives/chat-generative-ui/chat-generative-ui.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, diff --git a/libs/chat/src/lib/primitives/chat-input/chat-input.component.spec.ts b/libs/chat/src/lib/primitives/chat-input/chat-input.component.spec.ts index 92aefc7a3..d997a8521 100644 --- a/libs/chat/src/lib/primitives/chat-input/chat-input.component.spec.ts +++ b/libs/chat/src/lib/primitives/chat-input/chat-input.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal, computed } from '@angular/core'; import { submitMessage } from './chat-input.component'; diff --git a/libs/chat/src/lib/primitives/chat-input/chat-input.component.ts b/libs/chat/src/lib/primitives/chat-input/chat-input.component.ts index fb0958e1f..cc32cc72e 100644 --- a/libs/chat/src/lib/primitives/chat-input/chat-input.component.ts +++ b/libs/chat/src/lib/primitives/chat-input/chat-input.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/primitives/chat-interrupt/chat-interrupt.component.spec.ts b/libs/chat/src/lib/primitives/chat-interrupt/chat-interrupt.component.spec.ts index 234b0fc5a..248a064f5 100644 --- a/libs/chat/src/lib/primitives/chat-interrupt/chat-interrupt.component.spec.ts +++ b/libs/chat/src/lib/primitives/chat-interrupt/chat-interrupt.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal, computed, type WritableSignal } from '@angular/core'; import { getInterrupt } from './chat-interrupt.component'; diff --git a/libs/chat/src/lib/primitives/chat-interrupt/chat-interrupt.component.ts b/libs/chat/src/lib/primitives/chat-interrupt/chat-interrupt.component.ts index 9c2e3f761..60c999536 100644 --- a/libs/chat/src/lib/primitives/chat-interrupt/chat-interrupt.component.ts +++ b/libs/chat/src/lib/primitives/chat-interrupt/chat-interrupt.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/primitives/chat-messages/chat-messages.component.spec.ts b/libs/chat/src/lib/primitives/chat-messages/chat-messages.component.spec.ts index 6c8f6ca25..2934edfdd 100644 --- a/libs/chat/src/lib/primitives/chat-messages/chat-messages.component.spec.ts +++ b/libs/chat/src/lib/primitives/chat-messages/chat-messages.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal } from '@angular/core'; import { getMessageType } from './chat-messages.component'; diff --git a/libs/chat/src/lib/primitives/chat-messages/chat-messages.component.ts b/libs/chat/src/lib/primitives/chat-messages/chat-messages.component.ts index fa7fac1ca..acd87be05 100644 --- a/libs/chat/src/lib/primitives/chat-messages/chat-messages.component.ts +++ b/libs/chat/src/lib/primitives/chat-messages/chat-messages.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/primitives/chat-messages/message-template.directive.ts b/libs/chat/src/lib/primitives/chat-messages/message-template.directive.ts index ec393e47b..f8104481f 100644 --- a/libs/chat/src/lib/primitives/chat-messages/message-template.directive.ts +++ b/libs/chat/src/lib/primitives/chat-messages/message-template.directive.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Directive, input, TemplateRef, inject } from '@angular/core'; import type { MessageTemplateType } from '../../chat.types'; diff --git a/libs/chat/src/lib/primitives/chat-subagents/chat-subagents.component.spec.ts b/libs/chat/src/lib/primitives/chat-subagents/chat-subagents.component.spec.ts index 3da1baf07..7b60787aa 100644 --- a/libs/chat/src/lib/primitives/chat-subagents/chat-subagents.component.spec.ts +++ b/libs/chat/src/lib/primitives/chat-subagents/chat-subagents.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal, computed, type WritableSignal } from '@angular/core'; import { activeSubagentsFromAgent } from './chat-subagents.component'; diff --git a/libs/chat/src/lib/primitives/chat-subagents/chat-subagents.component.ts b/libs/chat/src/lib/primitives/chat-subagents/chat-subagents.component.ts index e255f623f..f29ef49bf 100644 --- a/libs/chat/src/lib/primitives/chat-subagents/chat-subagents.component.ts +++ b/libs/chat/src/lib/primitives/chat-subagents/chat-subagents.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/primitives/chat-thread-list/chat-thread-list.component.spec.ts b/libs/chat/src/lib/primitives/chat-thread-list/chat-thread-list.component.spec.ts index d1415543a..6e86f76ce 100644 --- a/libs/chat/src/lib/primitives/chat-thread-list/chat-thread-list.component.spec.ts +++ b/libs/chat/src/lib/primitives/chat-thread-list/chat-thread-list.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal, computed } from '@angular/core'; import type { Thread } from './chat-thread-list.component'; diff --git a/libs/chat/src/lib/primitives/chat-thread-list/chat-thread-list.component.ts b/libs/chat/src/lib/primitives/chat-thread-list/chat-thread-list.component.ts index 4335e7332..35b1ef1ca 100644 --- a/libs/chat/src/lib/primitives/chat-thread-list/chat-thread-list.component.ts +++ b/libs/chat/src/lib/primitives/chat-thread-list/chat-thread-list.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, contentChild, diff --git a/libs/chat/src/lib/primitives/chat-timeline/chat-timeline.component.spec.ts b/libs/chat/src/lib/primitives/chat-timeline/chat-timeline.component.spec.ts index 056c5db54..47351c74e 100644 --- a/libs/chat/src/lib/primitives/chat-timeline/chat-timeline.component.spec.ts +++ b/libs/chat/src/lib/primitives/chat-timeline/chat-timeline.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal, computed } from '@angular/core'; import { mockAgent } from '../../testing/mock-agent'; diff --git a/libs/chat/src/lib/primitives/chat-timeline/chat-timeline.component.ts b/libs/chat/src/lib/primitives/chat-timeline/chat-timeline.component.ts index 5ee6caf1b..d94f64336 100644 --- a/libs/chat/src/lib/primitives/chat-timeline/chat-timeline.component.ts +++ b/libs/chat/src/lib/primitives/chat-timeline/chat-timeline.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, contentChild, input, output, TemplateRef, ChangeDetectionStrategy, diff --git a/libs/chat/src/lib/primitives/chat-tool-calls/chat-tool-calls.component.spec.ts b/libs/chat/src/lib/primitives/chat-tool-calls/chat-tool-calls.component.spec.ts index db2793f08..f485978d4 100644 --- a/libs/chat/src/lib/primitives/chat-tool-calls/chat-tool-calls.component.spec.ts +++ b/libs/chat/src/lib/primitives/chat-tool-calls/chat-tool-calls.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal, computed } from '@angular/core'; import { mockAgent } from '../../testing/mock-agent'; diff --git a/libs/chat/src/lib/primitives/chat-tool-calls/chat-tool-calls.component.ts b/libs/chat/src/lib/primitives/chat-tool-calls/chat-tool-calls.component.ts index 11494c264..9df6e9e70 100644 --- a/libs/chat/src/lib/primitives/chat-tool-calls/chat-tool-calls.component.ts +++ b/libs/chat/src/lib/primitives/chat-tool-calls/chat-tool-calls.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/primitives/chat-typing-indicator/chat-typing-indicator.component.spec.ts b/libs/chat/src/lib/primitives/chat-typing-indicator/chat-typing-indicator.component.spec.ts index 1daf38df1..2df5409a4 100644 --- a/libs/chat/src/lib/primitives/chat-typing-indicator/chat-typing-indicator.component.spec.ts +++ b/libs/chat/src/lib/primitives/chat-typing-indicator/chat-typing-indicator.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { signal, computed } from '@angular/core'; import { isTyping } from './chat-typing-indicator.component'; diff --git a/libs/chat/src/lib/primitives/chat-typing-indicator/chat-typing-indicator.component.ts b/libs/chat/src/lib/primitives/chat-typing-indicator/chat-typing-indicator.component.ts index 925256bb7..f4262603c 100644 --- a/libs/chat/src/lib/primitives/chat-typing-indicator/chat-typing-indicator.component.ts +++ b/libs/chat/src/lib/primitives/chat-typing-indicator/chat-typing-indicator.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, computed, diff --git a/libs/chat/src/lib/provide-chat.spec.ts b/libs/chat/src/lib/provide-chat.spec.ts index f2c71d7d3..b055b2484 100644 --- a/libs/chat/src/lib/provide-chat.spec.ts +++ b/libs/chat/src/lib/provide-chat.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { beforeEach, describe, it, expect, vi } from 'vitest'; import { TestBed } from '@angular/core/testing'; import { provideChat, CHAT_CONFIG } from './provide-chat'; diff --git a/libs/chat/src/lib/provide-chat.ts b/libs/chat/src/lib/provide-chat.ts index 2c710c734..2ee16c59a 100644 --- a/libs/chat/src/lib/provide-chat.ts +++ b/libs/chat/src/lib/provide-chat.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { InjectionToken, makeEnvironmentProviders } from '@angular/core'; import { runLicenseCheck, diff --git a/libs/chat/src/lib/streaming/content-classifier.spec.ts b/libs/chat/src/lib/streaming/content-classifier.spec.ts index 34fa58899..c239fd291 100644 --- a/libs/chat/src/lib/streaming/content-classifier.spec.ts +++ b/libs/chat/src/lib/streaming/content-classifier.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { TestBed } from '@angular/core/testing'; import type { Spec } from '@json-render/core'; diff --git a/libs/chat/src/lib/streaming/content-classifier.ts b/libs/chat/src/lib/streaming/content-classifier.ts index 1fc5cb4b0..6528d2033 100644 --- a/libs/chat/src/lib/streaming/content-classifier.ts +++ b/libs/chat/src/lib/streaming/content-classifier.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { signal, untracked, type Signal } from '@angular/core'; import type { Spec } from '@json-render/core'; import { createPartialJsonParser } from '@cacheplane/partial-json'; diff --git a/libs/chat/src/lib/streaming/parse-tree-store.spec.ts b/libs/chat/src/lib/streaming/parse-tree-store.spec.ts index 1df8f768b..1398662d7 100644 --- a/libs/chat/src/lib/streaming/parse-tree-store.spec.ts +++ b/libs/chat/src/lib/streaming/parse-tree-store.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { TestBed } from '@angular/core/testing'; import { createPartialJsonParser } from '@cacheplane/partial-json'; diff --git a/libs/chat/src/lib/streaming/parse-tree-store.ts b/libs/chat/src/lib/streaming/parse-tree-store.ts index db2fc71ae..ef669d665 100644 --- a/libs/chat/src/lib/streaming/parse-tree-store.ts +++ b/libs/chat/src/lib/streaming/parse-tree-store.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { signal, type Signal } from '@angular/core'; import type { Spec } from '@json-render/core'; import type { PartialJsonParser, JsonObjectNode } from '@cacheplane/partial-json'; diff --git a/libs/chat/src/lib/streaming/streaming-markdown.component.ts b/libs/chat/src/lib/streaming/streaming-markdown.component.ts index b775de388..45afbeabd 100644 --- a/libs/chat/src/lib/streaming/streaming-markdown.component.ts +++ b/libs/chat/src/lib/streaming/streaming-markdown.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Component, input, diff --git a/libs/chat/src/lib/streaming/streaming-markdown.spec.ts b/libs/chat/src/lib/streaming/streaming-markdown.spec.ts index 4ef62a007..cb46402da 100644 --- a/libs/chat/src/lib/streaming/streaming-markdown.spec.ts +++ b/libs/chat/src/lib/streaming/streaming-markdown.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, beforeEach } from 'vitest'; import { createStreamingMarkdownRenderer, diff --git a/libs/chat/src/lib/streaming/streaming-markdown.ts b/libs/chat/src/lib/streaming/streaming-markdown.ts index d1c3e3f7d..c7308323d 100644 --- a/libs/chat/src/lib/streaming/streaming-markdown.ts +++ b/libs/chat/src/lib/streaming/streaming-markdown.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export interface StreamingMarkdownRenderer { /** Push a text delta (not full content). Appends to the live DOM. */ diff --git a/libs/chat/src/lib/styles/chat-icons.ts b/libs/chat/src/lib/styles/chat-icons.ts index 18d6393fa..a3ce184ed 100644 --- a/libs/chat/src/lib/styles/chat-icons.ts +++ b/libs/chat/src/lib/styles/chat-icons.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT /** Chevron down (▼ replacement). 12x12, stroke-based. */ export const ICON_CHEVRON_DOWN = ``; diff --git a/libs/chat/src/lib/styles/chat-markdown.ts b/libs/chat/src/lib/styles/chat-markdown.ts index 80fd94c65..9dbd0d3a5 100644 --- a/libs/chat/src/lib/styles/chat-markdown.ts +++ b/libs/chat/src/lib/styles/chat-markdown.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { SecurityContext } from '@angular/core'; import type { DomSanitizer, SafeHtml } from '@angular/platform-browser'; diff --git a/libs/chat/src/lib/styles/chat-theme.ts b/libs/chat/src/lib/styles/chat-theme.ts index 66556251a..8da8ac6f2 100644 --- a/libs/chat/src/lib/styles/chat-theme.ts +++ b/libs/chat/src/lib/styles/chat-theme.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT const DARK = ` --chat-bg: #171717; diff --git a/libs/chat/src/lib/testing/agent-conformance.spec.ts b/libs/chat/src/lib/testing/agent-conformance.spec.ts index ae97fbcd9..f601b1189 100644 --- a/libs/chat/src/lib/testing/agent-conformance.spec.ts +++ b/libs/chat/src/lib/testing/agent-conformance.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { runAgentConformance } from './agent-conformance'; import { mockAgent } from './mock-agent'; diff --git a/libs/chat/src/lib/testing/agent-conformance.ts b/libs/chat/src/lib/testing/agent-conformance.ts index c43f4b368..410808ca8 100644 --- a/libs/chat/src/lib/testing/agent-conformance.ts +++ b/libs/chat/src/lib/testing/agent-conformance.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import type { Agent } from '../agent'; diff --git a/libs/chat/src/lib/testing/agent-with-history-conformance.ts b/libs/chat/src/lib/testing/agent-with-history-conformance.ts index b7124f21f..da5f4983e 100644 --- a/libs/chat/src/lib/testing/agent-with-history-conformance.ts +++ b/libs/chat/src/lib/testing/agent-with-history-conformance.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import type { AgentWithHistory, AgentCheckpoint } from '../agent'; import { runAgentConformance } from './agent-conformance'; diff --git a/libs/chat/src/lib/testing/mock-agent.spec.ts b/libs/chat/src/lib/testing/mock-agent.spec.ts index 9775cece4..52051dfde 100644 --- a/libs/chat/src/lib/testing/mock-agent.spec.ts +++ b/libs/chat/src/lib/testing/mock-agent.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { mockAgent } from './mock-agent'; import type { AgentWithHistory } from '../agent'; diff --git a/libs/chat/src/lib/testing/mock-agent.ts b/libs/chat/src/lib/testing/mock-agent.ts index 2452c9128..2b03d7fc4 100644 --- a/libs/chat/src/lib/testing/mock-agent.ts +++ b/libs/chat/src/lib/testing/mock-agent.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { signal, WritableSignal } from '@angular/core'; import { EMPTY, type Observable } from 'rxjs'; import type { diff --git a/libs/chat/src/public-api.ts b/libs/chat/src/public-api.ts index b1fd2c6a4..614ba5301 100644 --- a/libs/chat/src/public-api.ts +++ b/libs/chat/src/public-api.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT // Shared types export type { ChatConfig } from './lib/provide-chat'; diff --git a/libs/chat/src/test-setup.ts b/libs/chat/src/test-setup.ts index 17049f119..054534fcf 100644 --- a/libs/chat/src/test-setup.ts +++ b/libs/chat/src/test-setup.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { getTestBed } from '@angular/core/testing'; import { BrowserTestingModule, diff --git a/libs/cockpit-docs/package.json b/libs/cockpit-docs/package.json index 072ee5760..5a3cc0790 100644 --- a/libs/cockpit-docs/package.json +++ b/libs/cockpit-docs/package.json @@ -1,6 +1,15 @@ { "name": "@cacheplane/cockpit-docs", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/cockpit-docs" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/cockpit-registry/package.json b/libs/cockpit-registry/package.json index a5c2a8570..0dd90749c 100644 --- a/libs/cockpit-registry/package.json +++ b/libs/cockpit-registry/package.json @@ -1,6 +1,15 @@ { "name": "@cacheplane/cockpit-registry", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/cockpit-registry" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/cockpit-shell/package.json b/libs/cockpit-shell/package.json index fb95a2a4f..25d146ea1 100644 --- a/libs/cockpit-shell/package.json +++ b/libs/cockpit-shell/package.json @@ -1,6 +1,15 @@ { "name": "@cacheplane/cockpit-shell", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/cockpit-shell" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/cockpit-testing/package.json b/libs/cockpit-testing/package.json index 167bad7e2..6a6230159 100644 --- a/libs/cockpit-testing/package.json +++ b/libs/cockpit-testing/package.json @@ -1,6 +1,15 @@ { "name": "@cacheplane/cockpit-testing", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/cockpit-testing" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/cockpit-ui/package.json b/libs/cockpit-ui/package.json index 63cd205bf..1d7504038 100644 --- a/libs/cockpit-ui/package.json +++ b/libs/cockpit-ui/package.json @@ -1,6 +1,15 @@ { "name": "@cacheplane/cockpit-ui", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/cockpit-ui" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/db/package.json b/libs/db/package.json index 6d6cac0e2..6490d8a5c 100644 --- a/libs/db/package.json +++ b/libs/db/package.json @@ -1,7 +1,16 @@ { "name": "@cacheplane/db", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/db" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false, "publishConfig": { "access": "public", diff --git a/libs/db/src/index.ts b/libs/db/src/index.ts index 641df0234..3b9f3f8cf 100644 --- a/libs/db/src/index.ts +++ b/libs/db/src/index.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export { createDb } from './lib/client.js'; export type { Db } from './lib/client.js'; export * from './lib/schema/index.js'; diff --git a/libs/db/src/lib/client.spec.ts b/libs/db/src/lib/client.spec.ts index 9ac610d1d..639c3da28 100644 --- a/libs/db/src/lib/client.spec.ts +++ b/libs/db/src/lib/client.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { createDb } from './client.js'; describe('createDb', () => { diff --git a/libs/db/src/lib/client.ts b/libs/db/src/lib/client.ts index 13950310d..7bc72e898 100644 --- a/libs/db/src/lib/client.ts +++ b/libs/db/src/lib/client.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { drizzle } from 'drizzle-orm/postgres-js'; import postgres from 'postgres'; import * as schema from './schema/index.js'; diff --git a/libs/db/src/lib/queries/licenses.spec.ts b/libs/db/src/lib/queries/licenses.spec.ts index 917131fd6..380daa09b 100644 --- a/libs/db/src/lib/queries/licenses.spec.ts +++ b/libs/db/src/lib/queries/licenses.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { upsertLicense, getLicense, diff --git a/libs/db/src/lib/queries/licenses.ts b/libs/db/src/lib/queries/licenses.ts index 3fa915d77..f3164d419 100644 --- a/libs/db/src/lib/queries/licenses.ts +++ b/libs/db/src/lib/queries/licenses.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { eq, sql } from 'drizzle-orm'; import type { Db } from '../client.js'; import { licenses, type License, type NewLicense } from '../schema/licenses.js'; diff --git a/libs/db/src/lib/queries/processed-events.spec.ts b/libs/db/src/lib/queries/processed-events.spec.ts index 3da34fd84..7e92378f9 100644 --- a/libs/db/src/lib/queries/processed-events.spec.ts +++ b/libs/db/src/lib/queries/processed-events.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { markEventProcessed, deleteProcessedEvent } from './processed-events.js'; import { startTestDb, type TestDb } from './test-helpers.js'; diff --git a/libs/db/src/lib/queries/processed-events.ts b/libs/db/src/lib/queries/processed-events.ts index 910e3529f..a7dec5840 100644 --- a/libs/db/src/lib/queries/processed-events.ts +++ b/libs/db/src/lib/queries/processed-events.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { eq } from 'drizzle-orm'; import type { Db } from '../client.js'; import { processedEvents } from '../schema/processed-events.js'; diff --git a/libs/db/src/lib/queries/test-helpers.ts b/libs/db/src/lib/queries/test-helpers.ts index 1b87e200e..a0e81ac1a 100644 --- a/libs/db/src/lib/queries/test-helpers.ts +++ b/libs/db/src/lib/queries/test-helpers.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { PostgreSqlContainer, StartedPostgreSqlContainer } from '@testcontainers/postgresql'; import { drizzle } from 'drizzle-orm/postgres-js'; import postgres from 'postgres'; diff --git a/libs/db/src/lib/schema/index.ts b/libs/db/src/lib/schema/index.ts index 28916a88d..0b1906378 100644 --- a/libs/db/src/lib/schema/index.ts +++ b/libs/db/src/lib/schema/index.ts @@ -1,3 +1,3 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export * from './licenses.js'; export * from './processed-events.js'; diff --git a/libs/db/src/lib/schema/licenses.ts b/libs/db/src/lib/schema/licenses.ts index bdb74ae87..255a1c027 100644 --- a/libs/db/src/lib/schema/licenses.ts +++ b/libs/db/src/lib/schema/licenses.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { pgTable, uuid, text, integer, timestamp, index } from 'drizzle-orm/pg-core'; import { sql } from 'drizzle-orm'; diff --git a/libs/db/src/lib/schema/processed-events.ts b/libs/db/src/lib/schema/processed-events.ts index f67879ab1..df24ff534 100644 --- a/libs/db/src/lib/schema/processed-events.ts +++ b/libs/db/src/lib/schema/processed-events.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { pgTable, text, timestamp } from 'drizzle-orm/pg-core'; export const processedEvents = pgTable('processed_events', { diff --git a/libs/design-tokens/package.json b/libs/design-tokens/package.json index be0dc0696..d4586a9f1 100644 --- a/libs/design-tokens/package.json +++ b/libs/design-tokens/package.json @@ -1,6 +1,15 @@ { "name": "@cacheplane/design-tokens", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/design-tokens" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/example-layouts/package.json b/libs/example-layouts/package.json index a44559346..93f005ee3 100644 --- a/libs/example-layouts/package.json +++ b/libs/example-layouts/package.json @@ -5,6 +5,15 @@ "@angular/core": "^20.0.0 || ^21.0.0", "@angular/common": "^20.0.0 || ^21.0.0" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/example-layouts" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/langgraph/package.json b/libs/langgraph/package.json index a6eb6e897..e7687b7b3 100644 --- a/libs/langgraph/package.json +++ b/libs/langgraph/package.json @@ -9,6 +9,15 @@ "@langchain/langgraph-sdk": "^1.7.4", "rxjs": "~7.8.0" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/langgraph" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/langgraph/src/lib/agent.fn.ts b/libs/langgraph/src/lib/agent.fn.ts index 33704a4c3..2e75889c1 100644 --- a/libs/langgraph/src/lib/agent.fn.ts +++ b/libs/langgraph/src/lib/agent.fn.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { inject, DestroyRef, computed, isSignal, Signal, diff --git a/libs/langgraph/src/lib/agent.provider.spec.ts b/libs/langgraph/src/lib/agent.provider.spec.ts index d7a7d6cc4..4331d65eb 100644 --- a/libs/langgraph/src/lib/agent.provider.spec.ts +++ b/libs/langgraph/src/lib/agent.provider.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { beforeEach, describe, it, expect, vi } from 'vitest'; import { TestBed } from '@angular/core/testing'; import { provideAgent, AGENT_CONFIG } from './agent.provider'; diff --git a/libs/langgraph/src/lib/agent.provider.ts b/libs/langgraph/src/lib/agent.provider.ts index d3e8f37c3..6cd08421d 100644 --- a/libs/langgraph/src/lib/agent.provider.ts +++ b/libs/langgraph/src/lib/agent.provider.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { InjectionToken, Provider } from '@angular/core'; import { runLicenseCheck, diff --git a/libs/langgraph/src/lib/agent.types.ts b/libs/langgraph/src/lib/agent.types.ts index 2b2fd36a0..e163878cb 100644 --- a/libs/langgraph/src/lib/agent.types.ts +++ b/libs/langgraph/src/lib/agent.types.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Signal } from '@angular/core'; import type { ResourceStatus as NgResourceStatus } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; diff --git a/libs/langgraph/src/lib/internals/stream-manager.bridge.ts b/libs/langgraph/src/lib/internals/stream-manager.bridge.ts index b1e53d7e8..59f621c4e 100644 --- a/libs/langgraph/src/lib/internals/stream-manager.bridge.ts +++ b/libs/langgraph/src/lib/internals/stream-manager.bridge.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Observable, takeUntil } from 'rxjs'; import { ResourceStatus, diff --git a/libs/langgraph/src/lib/testing/mock-agent-ref.spec.ts b/libs/langgraph/src/lib/testing/mock-agent-ref.spec.ts index d6aee241f..ba2be1f87 100644 --- a/libs/langgraph/src/lib/testing/mock-agent-ref.spec.ts +++ b/libs/langgraph/src/lib/testing/mock-agent-ref.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { createMockAgentRef } from './mock-agent-ref'; import { ResourceStatus } from '../agent.types'; diff --git a/libs/langgraph/src/lib/testing/mock-agent-ref.ts b/libs/langgraph/src/lib/testing/mock-agent-ref.ts index cd0420e96..55ddad7d7 100644 --- a/libs/langgraph/src/lib/testing/mock-agent-ref.ts +++ b/libs/langgraph/src/lib/testing/mock-agent-ref.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { signal, WritableSignal } from '@angular/core'; import type { AgentRef, SubagentStreamRef, ResourceStatus as ResourceStatusType, Interrupt, ThreadState, SubmitOptions, CustomStreamEvent } from '../agent.types'; import type { ToolProgress, ToolCallWithResult } from '@langchain/langgraph-sdk'; diff --git a/libs/langgraph/src/lib/to-agent.conformance.spec.ts b/libs/langgraph/src/lib/to-agent.conformance.spec.ts index 45d982a5a..bf46390cc 100644 --- a/libs/langgraph/src/lib/to-agent.conformance.spec.ts +++ b/libs/langgraph/src/lib/to-agent.conformance.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { TestBed } from '@angular/core/testing'; import { runAgentConformance } from '@cacheplane/chat'; import { toAgent } from './to-agent'; diff --git a/libs/langgraph/src/lib/to-agent.spec.ts b/libs/langgraph/src/lib/to-agent.spec.ts index ffacd9ba2..773b0bc91 100644 --- a/libs/langgraph/src/lib/to-agent.spec.ts +++ b/libs/langgraph/src/lib/to-agent.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { signal } from '@angular/core'; import { TestBed } from '@angular/core/testing'; import { HumanMessage, AIMessage } from '@langchain/core/messages'; diff --git a/libs/langgraph/src/lib/to-agent.ts b/libs/langgraph/src/lib/to-agent.ts index b9c5d46cc..7343a6b34 100644 --- a/libs/langgraph/src/lib/to-agent.ts +++ b/libs/langgraph/src/lib/to-agent.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { computed, effect, Signal } from '@angular/core'; import { Subject, type Observable } from 'rxjs'; import type { BaseMessage } from '@langchain/core/messages'; diff --git a/libs/langgraph/src/lib/transport/fetch-stream.transport.ts b/libs/langgraph/src/lib/transport/fetch-stream.transport.ts index 92c680131..378a3bb21 100644 --- a/libs/langgraph/src/lib/transport/fetch-stream.transport.ts +++ b/libs/langgraph/src/lib/transport/fetch-stream.transport.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Client } from '@langchain/langgraph-sdk'; import { AgentTransport, StreamEvent } from '../agent.types'; diff --git a/libs/langgraph/src/lib/transport/mock-stream.transport.ts b/libs/langgraph/src/lib/transport/mock-stream.transport.ts index cd943dfcc..2c4f3fbad 100644 --- a/libs/langgraph/src/lib/transport/mock-stream.transport.ts +++ b/libs/langgraph/src/lib/transport/mock-stream.transport.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { AgentTransport, StreamEvent } from '../agent.types'; /** diff --git a/libs/langgraph/src/lib/transport/transport.interface.ts b/libs/langgraph/src/lib/transport/transport.interface.ts index 12e7b46c0..2d5f70ce7 100644 --- a/libs/langgraph/src/lib/transport/transport.interface.ts +++ b/libs/langgraph/src/lib/transport/transport.interface.ts @@ -1,2 +1,2 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export { AgentTransport, StreamEvent } from '../agent.types'; diff --git a/libs/langgraph/src/public-api.ts b/libs/langgraph/src/public-api.ts index 2a675a1fb..a88185df8 100644 --- a/libs/langgraph/src/public-api.ts +++ b/libs/langgraph/src/public-api.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT // Primary function export { agent } from './lib/agent.fn'; diff --git a/libs/licensing/package.json b/libs/licensing/package.json index 3002908e8..3f2e2038d 100644 --- a/libs/licensing/package.json +++ b/libs/licensing/package.json @@ -1,7 +1,16 @@ { "name": "@cacheplane/licensing", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/licensing" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false, "publishConfig": { "access": "public", diff --git a/libs/licensing/scripts/generate-public-key.mjs b/libs/licensing/scripts/generate-public-key.mjs index 5b1b6ed34..58120f461 100644 --- a/libs/licensing/scripts/generate-public-key.mjs +++ b/libs/licensing/scripts/generate-public-key.mjs @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT // Emits libs/licensing/src/lib/license-public-key.generated.ts with // the Ed25519 public key to use at runtime. // @@ -42,7 +42,7 @@ const hex = Buffer.from(keyBytes).toString('hex'); mkdirSync(LIB_SRC, { recursive: true }); writeFileSync( OUT, - `// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 + `// SPDX-License-Identifier: MIT // AUTOGENERATED by libs/licensing/scripts/generate-public-key.mjs — do not edit. // Source: ${source.origin} export const LICENSE_PUBLIC_KEY_HEX = '${hex}' as const; diff --git a/libs/licensing/src/index.ts b/libs/licensing/src/index.ts index a3382250e..5965d700e 100644 --- a/libs/licensing/src/index.ts +++ b/libs/licensing/src/index.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export type { LicenseClaims, LicenseTier } from './lib/license-token.js'; export type { VerifyResult, VerifyReason } from './lib/verify-license.js'; export { verifyLicense } from './lib/verify-license.js'; diff --git a/libs/licensing/src/lib/evaluate-license.spec.ts b/libs/licensing/src/lib/evaluate-license.spec.ts index 056fb88a6..4cae53871 100644 --- a/libs/licensing/src/lib/evaluate-license.spec.ts +++ b/libs/licensing/src/lib/evaluate-license.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { evaluateLicense } from './evaluate-license'; import type { LicenseClaims } from './license-token'; diff --git a/libs/licensing/src/lib/evaluate-license.ts b/libs/licensing/src/lib/evaluate-license.ts index d2f0fdffd..76c0443bf 100644 --- a/libs/licensing/src/lib/evaluate-license.ts +++ b/libs/licensing/src/lib/evaluate-license.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { LicenseClaims } from './license-token.js'; import type { VerifyResult } from './verify-license.js'; diff --git a/libs/licensing/src/lib/infer-noncommercial.spec.ts b/libs/licensing/src/lib/infer-noncommercial.spec.ts index 2f9361b8e..9857fa2e7 100644 --- a/libs/licensing/src/lib/infer-noncommercial.spec.ts +++ b/libs/licensing/src/lib/infer-noncommercial.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { afterEach, beforeEach, describe, it, expect } from 'vitest'; import { inferNoncommercial } from './infer-noncommercial.js'; diff --git a/libs/licensing/src/lib/infer-noncommercial.ts b/libs/licensing/src/lib/infer-noncommercial.ts index 4155b1dc9..7b28bdfb0 100644 --- a/libs/licensing/src/lib/infer-noncommercial.ts +++ b/libs/licensing/src/lib/infer-noncommercial.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT /** * Heuristic default for the `isNoncommercial` flag in `runLicenseCheck`. diff --git a/libs/licensing/src/lib/license-public-key.ts b/libs/licensing/src/lib/license-public-key.ts index 50c2d1861..1c3f64feb 100644 --- a/libs/licensing/src/lib/license-public-key.ts +++ b/libs/licensing/src/lib/license-public-key.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { LICENSE_PUBLIC_KEY_HEX } from './license-public-key.generated.js'; function hexToBytes(hex: string): Uint8Array { diff --git a/libs/licensing/src/lib/license-token.spec.ts b/libs/licensing/src/lib/license-token.spec.ts index 38fbd5e57..1f45c989f 100644 --- a/libs/licensing/src/lib/license-token.spec.ts +++ b/libs/licensing/src/lib/license-token.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { parseLicenseToken } from './license-token'; diff --git a/libs/licensing/src/lib/license-token.ts b/libs/licensing/src/lib/license-token.ts index 6a6486544..68912fd27 100644 --- a/libs/licensing/src/lib/license-token.ts +++ b/libs/licensing/src/lib/license-token.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT /** The tier a license grants. */ export type LicenseTier = 'developer-seat' | 'app-deployment' | 'enterprise'; diff --git a/libs/licensing/src/lib/nag.spec.ts b/libs/licensing/src/lib/nag.spec.ts index ce1a621b8..c33bb72c7 100644 --- a/libs/licensing/src/lib/nag.spec.ts +++ b/libs/licensing/src/lib/nag.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { afterEach, beforeEach, describe, it, expect, vi } from 'vitest'; import { emitNag, __resetNagStateForTests } from './nag'; diff --git a/libs/licensing/src/lib/nag.ts b/libs/licensing/src/lib/nag.ts index 6f4e07efa..d09189ff0 100644 --- a/libs/licensing/src/lib/nag.ts +++ b/libs/licensing/src/lib/nag.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { EvaluateResult } from './evaluate-license.js'; export interface EmitNagOptions { diff --git a/libs/licensing/src/lib/run-license-check.spec.ts b/libs/licensing/src/lib/run-license-check.spec.ts index fcefb3511..1bbe06dff 100644 --- a/libs/licensing/src/lib/run-license-check.spec.ts +++ b/libs/licensing/src/lib/run-license-check.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { afterEach, beforeEach, describe, it, expect, vi } from 'vitest'; import { runLicenseCheck, __resetRunLicenseCheckStateForTests } from './run-license-check'; import { __resetNagStateForTests } from './nag'; diff --git a/libs/licensing/src/lib/run-license-check.ts b/libs/licensing/src/lib/run-license-check.ts index 40a7e20f3..6423971bd 100644 --- a/libs/licensing/src/lib/run-license-check.ts +++ b/libs/licensing/src/lib/run-license-check.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { verifyLicense } from './verify-license.js'; import { evaluateLicense, type LicenseStatus } from './evaluate-license.js'; import { emitNag } from './nag.js'; diff --git a/libs/licensing/src/lib/sign-license.spec.ts b/libs/licensing/src/lib/sign-license.spec.ts index 2395d648c..b2d3892d8 100644 --- a/libs/licensing/src/lib/sign-license.spec.ts +++ b/libs/licensing/src/lib/sign-license.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import * as ed from '@noble/ed25519'; import { signLicense } from './sign-license.js'; import { verifyLicense } from './verify-license.js'; diff --git a/libs/licensing/src/lib/sign-license.ts b/libs/licensing/src/lib/sign-license.ts index 07dfee723..97d128e92 100644 --- a/libs/licensing/src/lib/sign-license.ts +++ b/libs/licensing/src/lib/sign-license.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import * as ed from '@noble/ed25519'; import type { LicenseClaims } from './license-token.js'; diff --git a/libs/licensing/src/lib/telemetry.spec.ts b/libs/licensing/src/lib/telemetry.spec.ts index 0884a9b43..55ebd44a3 100644 --- a/libs/licensing/src/lib/telemetry.spec.ts +++ b/libs/licensing/src/lib/telemetry.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { afterEach, beforeEach, describe, it, expect, vi } from 'vitest'; import { createTelemetryClient } from './telemetry'; diff --git a/libs/licensing/src/lib/telemetry.ts b/libs/licensing/src/lib/telemetry.ts index eabd59a70..d943740ab 100644 --- a/libs/licensing/src/lib/telemetry.ts +++ b/libs/licensing/src/lib/telemetry.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export interface TelemetryEvent { package: string; diff --git a/libs/licensing/src/lib/testing/fixtures.ts b/libs/licensing/src/lib/testing/fixtures.ts index 572499489..233405367 100644 --- a/libs/licensing/src/lib/testing/fixtures.ts +++ b/libs/licensing/src/lib/testing/fixtures.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT // Shared test fixtures: helper to produce signed tokens against a freshly // generated keypair. Not exported from the package's public index. import { signLicense } from '../sign-license'; diff --git a/libs/licensing/src/lib/testing/keypair.ts b/libs/licensing/src/lib/testing/keypair.ts index 834e7c725..12f2cc004 100644 --- a/libs/licensing/src/lib/testing/keypair.ts +++ b/libs/licensing/src/lib/testing/keypair.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT // TEST-ONLY utility: do not export from the package's public index. import * as ed from '@noble/ed25519'; diff --git a/libs/licensing/src/lib/verify-license.spec.ts b/libs/licensing/src/lib/verify-license.spec.ts index 0849a9f4f..020dd3af1 100644 --- a/libs/licensing/src/lib/verify-license.spec.ts +++ b/libs/licensing/src/lib/verify-license.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { beforeAll, describe, it, expect } from 'vitest'; import { verifyLicense } from './verify-license'; import { signLicense } from './sign-license'; diff --git a/libs/licensing/src/lib/verify-license.ts b/libs/licensing/src/lib/verify-license.ts index ff07fc5a5..565702ce0 100644 --- a/libs/licensing/src/lib/verify-license.ts +++ b/libs/licensing/src/lib/verify-license.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import * as ed from '@noble/ed25519'; import { parseLicenseToken, type LicenseClaims } from './license-token.js'; diff --git a/libs/licensing/src/testing.ts b/libs/licensing/src/testing.ts index 5bf26cfee..ce27ce08d 100644 --- a/libs/licensing/src/testing.ts +++ b/libs/licensing/src/testing.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT // Monorepo-internal test helpers. NOT part of the published package — // excluded from `tsconfig.lib.json` so nothing here ships in dist. // Downstream consumers cannot import `@cacheplane/licensing/testing`. diff --git a/libs/partial-json/package.json b/libs/partial-json/package.json index 1ead586fd..23dc0ea0b 100644 --- a/libs/partial-json/package.json +++ b/libs/partial-json/package.json @@ -1,6 +1,15 @@ { "name": "@cacheplane/partial-json", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/partial-json" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/partial-json/src/index.ts b/libs/partial-json/src/index.ts index 4f15afd08..119d2fa75 100644 --- a/libs/partial-json/src/index.ts +++ b/libs/partial-json/src/index.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export type { JsonNodeType, JsonNodeStatus, JsonNodeBase, JsonObjectNode, JsonArrayNode, JsonStringNode, diff --git a/libs/partial-json/src/lib/materialize.spec.ts b/libs/partial-json/src/lib/materialize.spec.ts index 7075ae9de..e0bb4e718 100644 --- a/libs/partial-json/src/lib/materialize.spec.ts +++ b/libs/partial-json/src/lib/materialize.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { createPartialJsonParser } from './parser'; import { materialize } from './materialize'; diff --git a/libs/partial-json/src/lib/materialize.ts b/libs/partial-json/src/lib/materialize.ts index dd3bda7c3..d42d73798 100644 --- a/libs/partial-json/src/lib/materialize.ts +++ b/libs/partial-json/src/lib/materialize.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { JsonNode, JsonObjectNode, JsonArrayNode } from './types'; /** diff --git a/libs/partial-json/src/lib/parser.spec.ts b/libs/partial-json/src/lib/parser.spec.ts index 63a33a8cc..7fb0afe02 100644 --- a/libs/partial-json/src/lib/parser.spec.ts +++ b/libs/partial-json/src/lib/parser.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { createPartialJsonParser } from './parser'; import type { diff --git a/libs/partial-json/src/lib/parser.ts b/libs/partial-json/src/lib/parser.ts index 8c91808e9..1f1c99f33 100644 --- a/libs/partial-json/src/lib/parser.ts +++ b/libs/partial-json/src/lib/parser.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { JsonNode, JsonObjectNode, diff --git a/libs/partial-json/src/lib/types.ts b/libs/partial-json/src/lib/types.ts index f49f7e0d3..8269d7794 100644 --- a/libs/partial-json/src/lib/types.ts +++ b/libs/partial-json/src/lib/types.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT /** Kinds of JSON values a node can represent. */ export type JsonNodeType = 'object' | 'array' | 'string' | 'number' | 'boolean' | 'null'; diff --git a/libs/render/package.json b/libs/render/package.json index 1c47e28d1..c7c31bc76 100644 --- a/libs/render/package.json +++ b/libs/render/package.json @@ -7,6 +7,15 @@ "@json-render/core": "^0.16.0", "@cacheplane/licensing": "^0.0.1" }, - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/render" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false } diff --git a/libs/render/src/lib/contexts/render-context.ts b/libs/render/src/lib/contexts/render-context.ts index 1a401a49b..d5e73b7d9 100644 --- a/libs/render/src/lib/contexts/render-context.ts +++ b/libs/render/src/lib/contexts/render-context.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { InjectionToken } from '@angular/core'; import type { StateStore, ComputedFunction } from '@json-render/core'; import type { AngularRegistry } from '../render.types'; diff --git a/libs/render/src/lib/contexts/repeat-scope.ts b/libs/render/src/lib/contexts/repeat-scope.ts index 34619c04b..999833fb8 100644 --- a/libs/render/src/lib/contexts/repeat-scope.ts +++ b/libs/render/src/lib/contexts/repeat-scope.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { InjectionToken } from '@angular/core'; export interface RepeatScope { diff --git a/libs/render/src/lib/define-angular-registry.spec.ts b/libs/render/src/lib/define-angular-registry.spec.ts index 85eb43b26..4bf0517e1 100644 --- a/libs/render/src/lib/define-angular-registry.spec.ts +++ b/libs/render/src/lib/define-angular-registry.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { Component } from '@angular/core'; import { defineAngularRegistry } from './define-angular-registry'; diff --git a/libs/render/src/lib/define-angular-registry.ts b/libs/render/src/lib/define-angular-registry.ts index 86d5f973f..9986e393b 100644 --- a/libs/render/src/lib/define-angular-registry.ts +++ b/libs/render/src/lib/define-angular-registry.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { AngularComponentRenderer, AngularRegistry } from './render.types'; export function defineAngularRegistry( diff --git a/libs/render/src/lib/internals/prop-signal.spec.ts b/libs/render/src/lib/internals/prop-signal.spec.ts index bcd820571..586a6b29f 100644 --- a/libs/render/src/lib/internals/prop-signal.spec.ts +++ b/libs/render/src/lib/internals/prop-signal.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { TestBed } from '@angular/core/testing'; import { createStateStore } from '@json-render/core'; diff --git a/libs/render/src/lib/internals/prop-signal.ts b/libs/render/src/lib/internals/prop-signal.ts index a301557a8..a2cc16c34 100644 --- a/libs/render/src/lib/internals/prop-signal.ts +++ b/libs/render/src/lib/internals/prop-signal.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import type { StateStore, ComputedFunction, PropResolutionContext } from '@json-render/core'; import type { RepeatScope } from '../contexts/repeat-scope'; diff --git a/libs/render/src/lib/provide-render.spec.ts b/libs/render/src/lib/provide-render.spec.ts index 6696bdff1..70ae1c747 100644 --- a/libs/render/src/lib/provide-render.spec.ts +++ b/libs/render/src/lib/provide-render.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { beforeEach, describe, it, expect, vi } from 'vitest'; import { TestBed } from '@angular/core/testing'; import { Component } from '@angular/core'; diff --git a/libs/render/src/lib/provide-render.ts b/libs/render/src/lib/provide-render.ts index 17813a79c..4de727549 100644 --- a/libs/render/src/lib/provide-render.ts +++ b/libs/render/src/lib/provide-render.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { InjectionToken, makeEnvironmentProviders } from '@angular/core'; import { runLicenseCheck, diff --git a/libs/render/src/lib/provide-views.ts b/libs/render/src/lib/provide-views.ts index e5b49f588..3e4ea4090 100644 --- a/libs/render/src/lib/provide-views.ts +++ b/libs/render/src/lib/provide-views.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { InjectionToken, makeEnvironmentProviders } from '@angular/core'; import type { ViewRegistry } from './views'; diff --git a/libs/render/src/lib/render-element.component.spec.ts b/libs/render/src/lib/render-element.component.spec.ts index 3b10de01b..660edeb01 100644 --- a/libs/render/src/lib/render-element.component.spec.ts +++ b/libs/render/src/lib/render-element.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { Component, input } from '@angular/core'; import { TestBed } from '@angular/core/testing'; diff --git a/libs/render/src/lib/render-element.component.ts b/libs/render/src/lib/render-element.component.ts index fb2f647a2..3f9ce5355 100644 --- a/libs/render/src/lib/render-element.component.ts +++ b/libs/render/src/lib/render-element.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ChangeDetectionStrategy, Component, diff --git a/libs/render/src/lib/render-event.spec.ts b/libs/render/src/lib/render-event.spec.ts index 96cdb9107..3008bef74 100644 --- a/libs/render/src/lib/render-event.spec.ts +++ b/libs/render/src/lib/render-event.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import type { RenderEvent, diff --git a/libs/render/src/lib/render-event.ts b/libs/render/src/lib/render-event.ts index 340f5aee0..36e05e0d0 100644 --- a/libs/render/src/lib/render-event.ts +++ b/libs/render/src/lib/render-event.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export interface RenderHandlerEvent { readonly type: 'handler'; diff --git a/libs/render/src/lib/render-spec.component.spec.ts b/libs/render/src/lib/render-spec.component.spec.ts index af912c9b3..1bc361627 100644 --- a/libs/render/src/lib/render-spec.component.spec.ts +++ b/libs/render/src/lib/render-spec.component.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect } from 'vitest'; import { Component, input } from '@angular/core'; import { TestBed } from '@angular/core/testing'; diff --git a/libs/render/src/lib/render-spec.component.ts b/libs/render/src/lib/render-spec.component.ts index 8073222cd..06b8a8085 100644 --- a/libs/render/src/lib/render-spec.component.ts +++ b/libs/render/src/lib/render-spec.component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { ChangeDetectionStrategy, Component, diff --git a/libs/render/src/lib/render.types.ts b/libs/render/src/lib/render.types.ts index 0dc1c88a2..52508c3ec 100644 --- a/libs/render/src/lib/render.types.ts +++ b/libs/render/src/lib/render.types.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Type } from '@angular/core'; import type { Spec, StateStore, ComputedFunction } from '@json-render/core'; diff --git a/libs/render/src/lib/signal-state-store.spec.ts b/libs/render/src/lib/signal-state-store.spec.ts index 2f48d91f8..16b737e9c 100644 --- a/libs/render/src/lib/signal-state-store.spec.ts +++ b/libs/render/src/lib/signal-state-store.spec.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { describe, it, expect, vi } from 'vitest'; import { TestBed } from '@angular/core/testing'; import { signalStateStore } from './signal-state-store'; diff --git a/libs/render/src/lib/signal-state-store.ts b/libs/render/src/lib/signal-state-store.ts index b6ea61009..ed1f9210f 100644 --- a/libs/render/src/lib/signal-state-store.ts +++ b/libs/render/src/lib/signal-state-store.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { signal } from '@angular/core'; import type { StateStore, StateModel } from '@json-render/core'; diff --git a/libs/render/src/lib/views.ts b/libs/render/src/lib/views.ts index 1d1d877a7..67d0e63d8 100644 --- a/libs/render/src/lib/views.ts +++ b/libs/render/src/lib/views.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Type } from '@angular/core'; import type { AngularRegistry } from './render.types'; import { defineAngularRegistry } from './define-angular-registry'; diff --git a/libs/render/src/public-api.ts b/libs/render/src/public-api.ts index d9d3ea37f..29f6d58b3 100644 --- a/libs/render/src/public-api.ts +++ b/libs/render/src/public-api.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT // Types export type { diff --git a/libs/render/src/test-setup.ts b/libs/render/src/test-setup.ts index 17049f119..054534fcf 100644 --- a/libs/render/src/test-setup.ts +++ b/libs/render/src/test-setup.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { getTestBed } from '@angular/core/testing'; import { BrowserTestingModule, diff --git a/libs/ui-react/package.json b/libs/ui-react/package.json index 9b2dacd50..9b2ac463f 100644 --- a/libs/ui-react/package.json +++ b/libs/ui-react/package.json @@ -1,7 +1,16 @@ { "name": "@cacheplane/ui-react", "version": "0.0.1", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "libs/ui-react" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "sideEffects": false, "peerDependencies": { "react": "^19.0.0", diff --git a/package.json b/package.json index 86cea6936..bafc26aeb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "stream-resource", "version": "0.0.0", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", "scripts": { "postinstall": "node libs/licensing/scripts/generate-public-key.mjs", "generate-agent-context": "npx tsx --tsconfig apps/website/tsconfig.json apps/website/scripts/generate-agent-context.ts", diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 65ba9bb63..cdccb643a 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -2,7 +2,16 @@ "name": "@cacheplane/langgraph-mcp", "version": "0.1.0", "description": "MCP server for the @cacheplane/langgraph library", - "license": "PolyForm-Noncommercial-1.0.0", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/cacheplane/angular-agent-framework.git", + "directory": "packages/mcp" + }, + "homepage": "https://github.com/cacheplane/angular-agent-framework#readme", + "bugs": { + "url": "https://github.com/cacheplane/angular-agent-framework/issues" + }, "main": "src/index.js", "bin": { "@cacheplane/langgraph-mcp": "src/index.js" }, "scripts": { diff --git a/packages/mcp/src/data/loader.ts b/packages/mcp/src/data/loader.ts index 79a960d7d..078362988 100644 --- a/packages/mcp/src/data/loader.ts +++ b/packages/mcp/src/data/loader.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import fs from 'fs'; import path from 'path'; diff --git a/packages/mcp/src/index.ts b/packages/mcp/src/index.ts index 353c5a4c6..6c217b6ac 100644 --- a/packages/mcp/src/index.ts +++ b/packages/mcp/src/index.ts @@ -1,5 +1,5 @@ #!/usr/bin/env node -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprotocol/sdk/types.js'; diff --git a/packages/mcp/src/tools/add-agent.ts b/packages/mcp/src/tools/add-agent.ts index 754c36bdc..788c0abfe 100644 --- a/packages/mcp/src/tools/add-agent.ts +++ b/packages/mcp/src/tools/add-agent.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import fs from 'fs'; export const addAgentTool = { diff --git a/packages/mcp/src/tools/get-api-reference.ts b/packages/mcp/src/tools/get-api-reference.ts index acc320bb1..678652eee 100644 --- a/packages/mcp/src/tools/get-api-reference.ts +++ b/packages/mcp/src/tools/get-api-reference.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { findSymbol, getAllSymbolNames } from '../data/loader.js'; export const getApiReferenceTool = { diff --git a/packages/mcp/src/tools/get-example.ts b/packages/mcp/src/tools/get-example.ts index 90f218905..b68f701dc 100644 --- a/packages/mcp/src/tools/get-example.ts +++ b/packages/mcp/src/tools/get-example.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT const EXAMPLES: Record = { 'basic-chat': `// Basic chat component with angular import { Component } from '@angular/core'; diff --git a/packages/mcp/src/tools/get-thread-persistence-pattern.ts b/packages/mcp/src/tools/get-thread-persistence-pattern.ts index a1a48ba56..3230482c4 100644 --- a/packages/mcp/src/tools/get-thread-persistence-pattern.ts +++ b/packages/mcp/src/tools/get-thread-persistence-pattern.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT const PATTERNS: Record = { localStorage: `// Thread persistence with localStorage threadId = signal(localStorage.getItem('chat-thread-id')); diff --git a/packages/mcp/src/tools/scaffold-chat-component.ts b/packages/mcp/src/tools/scaffold-chat-component.ts index 76d7f6e35..4b2256d20 100644 --- a/packages/mcp/src/tools/scaffold-chat-component.ts +++ b/packages/mcp/src/tools/scaffold-chat-component.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT export const scaffoldChatComponentTool = { name: 'scaffold_chat_component', description: 'Generate a complete Angular chat component using angular', diff --git a/packages/mcp/src/tools/search-docs.ts b/packages/mcp/src/tools/search-docs.ts index 8b7d868e0..858b71570 100644 --- a/packages/mcp/src/tools/search-docs.ts +++ b/packages/mcp/src/tools/search-docs.ts @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 +// SPDX-License-Identifier: MIT import { getApiDocs } from '../data/loader.js'; export const searchDocsTool = {