Skip to content

Commit 9bfb15c

Browse files
committed
feat: move all packages to MIT
1 parent ef9ae71 commit 9bfb15c

330 files changed

Lines changed: 1610 additions & 12550 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,3 @@ NEXT_PUBLIC_COCKPIT_INGEST_HOST=
2727
# Production: https://examples.threadplane.ai
2828
# Leave empty in dev — wildcard '*' is used.
2929
NEXT_PUBLIC_COCKPIT_IFRAME_ORIGIN=
30-
31-
# Stripe — see scripts/stripe/sync-products.ts and src/app/api/checkout/session/route.ts
32-
STRIPE_SECRET_KEY=sk_test_…

.github/workflows/aimock-drift.yml

Lines changed: 0 additions & 89 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
if: github.event_name == 'push' || needs.ci-scope.outputs.library == 'true'
8383
runs-on: ubuntu-latest
8484
env:
85-
LIBS: chat,langgraph,ag-ui,render,a2ui,licensing,telemetry
85+
LIBS: chat,langgraph,ag-ui,render,a2ui,telemetry
8686
steps:
8787
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8888
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
@@ -91,7 +91,8 @@ jobs:
9191
cache: npm
9292
- run: npm ci
9393
- run: npx nx run-many -t lint --projects=$LIBS
94-
- run: npx nx run-many -t test --projects=$LIBS --coverage
94+
- run: npx nx test langgraph --coverage --maxWorkers=2 --reporter=default
95+
- run: npx nx run-many -t test --projects=chat,ag-ui,render,a2ui,telemetry --coverage --parallel=1 --maxWorkers=2
9596
- run: npx nx run-many -t build --projects=$LIBS --configuration=production
9697
- run: node scripts/verify-release-versions.mjs
9798
- name: DX-coverage — public dev-facing functions must have a JSDoc summary
@@ -970,12 +971,6 @@ jobs:
970971
run: |
971972
npx --yes @railway/cli@4 up --service ag-ui-demo --detach
972973
973-
# Minting service deploys via Vercel's git integration on every push to main
974-
# (configured in the Vercel project's git settings, not here). The previous
975-
# manual `vercel deploy` step doubled the rootDirectory path and was always
976-
# failing despite production being healthy. Dropped; rely on Vercel for the
977-
# deploy itself.
978-
979974
production-smoke:
980975
name: Production smoke
981976
needs: [deploy, demo-deploy]

.github/workflows/publish.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
contents: read
2929
id-token: write # required for npm trusted publishing + provenance
3030
env:
31-
NPM_PUBLISHABLE_PROJECTS: chat,langgraph,ag-ui,render,a2ui,licensing,telemetry
31+
NPM_PUBLISHABLE_PROJECTS: chat,langgraph,ag-ui,render,a2ui,telemetry
3232
steps:
3333
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3434
# Node 24 ships npm 11+ which fully implements npm trusted publishing
@@ -52,16 +52,8 @@ jobs:
5252
run: npm install -g npm@11.17.0
5353

5454
- name: Lint, test, build publishable projects
55-
env:
56-
CACHEPLANE_LICENSE_PUBLIC_KEY: ${{ secrets.CACHEPLANE_LICENSE_PUBLIC_KEY }}
5755
run: npx nx run-many -t lint,test,build --projects=$NPM_PUBLISHABLE_PROJECTS --skip-nx-cache
5856

59-
- name: Patch install telemetry into publishable manifests
60-
run: node libs/telemetry/scripts/apply-install-telemetry.mjs dist/libs/chat dist/libs/langgraph dist/libs/ag-ui dist/libs/render dist/libs/a2ui dist/libs/licensing
61-
62-
- name: Verify install telemetry in publishable manifests
63-
run: node libs/telemetry/scripts/verify-install-telemetry.mjs dist/libs/chat dist/libs/langgraph dist/libs/ag-ui dist/libs/render dist/libs/a2ui dist/libs/licensing dist/libs/telemetry
64-
6557
- name: Verify atomic release versions
6658
run: node scripts/verify-release-versions.mjs --tag "$RELEASE_TAG"
6759
env:

.github/workflows/release-provenance.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
hashes: ${{ steps.hash.outputs.hashes }}
3434
tag: ${{ steps.tag.outputs.tag }}
3535
env:
36-
NPM_PUBLISHABLE_PROJECTS: chat,langgraph,ag-ui,render,a2ui,licensing,telemetry
36+
NPM_PUBLISHABLE_PROJECTS: chat,langgraph,ag-ui,render,a2ui,telemetry
3737
steps:
3838
- name: Resolve target tag
3939
id: tag
@@ -47,13 +47,11 @@ jobs:
4747
cache: npm
4848
- run: npm ci
4949
- name: Build publishable projects
50-
env:
51-
CACHEPLANE_LICENSE_PUBLIC_KEY: ${{ secrets.CACHEPLANE_LICENSE_PUBLIC_KEY }}
5250
run: npx nx run-many -t build --projects="$NPM_PUBLISHABLE_PROJECTS" --skip-nx-cache
5351
- name: Pack tarballs
5452
run: |
5553
mkdir -p release-artifacts
56-
for p in chat langgraph ag-ui render a2ui licensing telemetry; do
54+
for p in chat langgraph ag-ui render a2ui telemetry; do
5755
npm pack "dist/libs/$p" --pack-destination release-artifacts
5856
done
5957
- name: Generate subject hashes

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ deployments/*/deps/
5959
!deployments/ag-ui-dev/deps/
6060
!deployments/ag-ui-dev/deps/**
6161

62-
# Generated license public key (produced by libs/licensing/scripts/generate-public-key.mjs)
63-
libs/licensing/src/lib/license-public-key.generated.ts
64-
6562
# superpowers brainstorming output
6663
.superpowers/
6764
# TypeScript incremental build caches (any project)

COMMERCIAL.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,11 @@ npm ci
3131

3232
`npm ci` installs strictly from `package-lock.json` and never rewrites it, so it
3333
is safe on any platform (regenerating the lockfile is not — see the note below).
34-
It also runs `postinstall`, which generates files that are gitignored and
35-
therefore absent from every fresh checkout.
36-
37-
Four failure signatures come from skipping it. They look unrelated but share one
34+
Three failure signatures come from skipping it. They look unrelated but share one
3835
cause, and each is fixed by the install above:
3936

4037
| Symptom | Why inheritance doesn't cover it |
4138
| --- | --- |
42-
| `Failed to resolve import "./license-public-key.generated.js"` | Generated by `postinstall` and gitignored, so it exists in no fresh checkout. |
4339
| `Cannot find module 'posthog-node'` when building `website` | Installed only into `apps/website/node_modules`, never hoisted. The walk up from the worktree's `apps/website/` never passes through the main checkout's. |
4440
| `Could not resolve "node_modules/katex/dist/katex.min.css"` | Referenced by literal path from the workspace root, not by module resolution — so there is no upward walk to inherit through. |
4541
| `Next.js inferred your workspace root, but it may not be correct` when building `cockpit` | Turbopack resolves its own workspace root and will not compile outside it. |

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,12 @@ All packages are published at version `0.0.47` under a patch-only `0.0.x` releas
127127

128128
| Package | Purpose | License |
129129
|---|---|---|
130-
| `@threadplane/chat` | Drop-in agent chat UI for Angular: headless primitives and opinionated compositions (`<chat>`, popup, sidebar, interrupts, GenUI) | PolyForm Noncommercial + Commercial (dual) |
130+
| `@threadplane/chat` | Drop-in agent chat UI for Angular: headless primitives and opinionated compositions (`<chat>`, popup, sidebar, interrupts, GenUI) | MIT |
131131
| `@threadplane/langgraph` | LangGraph adapter; `provideAgent()`/`injectAgent()` exposes a LangGraph run as Angular Signals | MIT |
132132
| `@threadplane/ag-ui` | AG-UI adapter; bridges any `@ag-ui/client`-compatible backend into the chat surface | MIT |
133133
| `@threadplane/render` | `@json-render/core`-backed Angular engine that renders JSON specs to components (powers GenUI) | MIT |
134134
| `@threadplane/a2ui` | A2UI protocol types, streaming parser, and dynamic-value resolver; pure TypeScript, no Angular dependency | MIT |
135-
| `@threadplane/licensing` | Browser-safe Ed25519 license-token verification and evaluation (backs the chat commercial check) | MIT |
136-
| `@threadplane/telemetry` | Transparent, opt-out anonymous usage telemetry (node + browser) | MIT |
135+
| `@threadplane/telemetry` | Explicit Node and opt-in browser telemetry helpers | MIT |
137136

138137
---
139138

@@ -168,6 +167,4 @@ The runtime-neutral `Agent` contract is the stability boundary between adapters
168167

169168
## License
170169

171-
Most published libraries in this repository (`@threadplane/render`, `@threadplane/langgraph`, `@threadplane/ag-ui`, `@threadplane/a2ui`, `@threadplane/licensing`, `@threadplane/telemetry`) are released under the **MIT License** — free for any use, including commercial, with attribution.
172-
173-
**`@threadplane/chat`** is the exception. It is dual-licensed under **PolyForm Noncommercial 1.0.0** for free noncommercial use, or a **Threadplane Commercial license** for production use inside a for-profit context. See [`libs/chat/LICENSE.md`](./libs/chat/LICENSE.md), [`libs/chat/COMMERCIAL-USE.md`](./libs/chat/COMMERCIAL-USE.md), [`COMMERCIAL.md`](./COMMERCIAL.md), and [threadplane.ai/docs/licensing](https://threadplane.ai/docs/licensing) for details.
170+
Every published package in this repository is released under the **MIT License** — free for commercial and noncommercial use, modification, and redistribution with the required notice.

apps/minting-service/.env.example

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)