diff --git a/LICENSE b/LICENSE index c702001..bcc7aae 100644 --- a/LICENSE +++ b/LICENSE @@ -1,16 +1,28 @@ -MIT License +Constructive License -Copyright (c) 2026 Constructive +Copyright (c) 2026 Interweb, Inc. +Generated by Constructive (https://constructive.io) -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: +You own the application code generated for you. You may use, modify, deploy, +and distribute it freely, including for commercial use. -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +Restrictions: + +- You may not use this code to offer a service whose primary purpose is to + provide database provisioning, schema generation, security policy + compilation, cloud functions, or AI infrastructure to third parties, + except under a separate commercial agreement with Interweb, Inc. +- You may not sell, license, or distribute the exported code, in whole or + substantial part, as a standalone product or library. +- You may not repackage the framework components generated by Constructive + (as defined in the full license) as your own developer platform or toolchain + for third-party builders. + +Generated TypeScript clients and SDKs may be distributed under their own +applicable open-source licenses, as indicated in the LICENSE files included +with those packages. + +Full license terms: https://constructive.io/legal/license/v1.0 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, diff --git a/README.md b/README.md index 69ed015..d294784 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,16 @@ # constructive-functions +

+ +

+ +

+ + + + +

+ Functions playground for Constructive — a workspace for building, testing, and deploying serverless HTTP functions backed by a Postgres-backed job queue. Functions are authored in `functions//` (a `handler.ts` plus a `handler.json` manifest), generated into runnable workspace packages by `pnpm generate`, and dispatched by the job service in `job/service/`. Templates live in `templates/` (`node-graphql` and `python` are supported today). diff --git a/package.json b/package.json index 2ee865c..9d3b522 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "type": "git", "url": "https://github.com/constructive-io/constructive-functions" }, - "license": "MIT", + "license": "SEE LICENSE IN LICENSE", "engines": { "node": ">=22.0.0" }, diff --git a/packages/fn-app/package.json b/packages/fn-app/package.json index f04ddf1..07028f5 100644 --- a/packages/fn-app/package.json +++ b/packages/fn-app/package.json @@ -3,7 +3,7 @@ "version": "1.6.0", "description": "Express app factory for Knative job functions with callback handling.", "author": "Constructive ", - "license": "MIT", + "license": "SEE LICENSE IN LICENSE", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ diff --git a/packages/fn-cli/package.json b/packages/fn-cli/package.json index 78aad25..1fdeed1 100644 --- a/packages/fn-cli/package.json +++ b/packages/fn-cli/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "description": "Thin command-line wrapper for the Constructive Functions toolkit. Exposes the `fn` executable.", "author": "Constructive ", - "license": "MIT", + "license": "SEE LICENSE IN LICENSE", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { diff --git a/packages/fn-client/package.json b/packages/fn-client/package.json index 119fc27..f39e0ae 100644 --- a/packages/fn-client/package.json +++ b/packages/fn-client/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "description": "Programmatic client for the Constructive Functions toolkit. Wraps fn-generator with config loading, manifest readers, and child-process orchestration for local dev.", "author": "Constructive ", - "license": "MIT", + "license": "SEE LICENSE IN LICENSE", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ diff --git a/packages/fn-generator/package.json b/packages/fn-generator/package.json index 456e2fa..16637e9 100644 --- a/packages/fn-generator/package.json +++ b/packages/fn-generator/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "description": "Programmatic generator for Constructive Functions: walks handler.json manifests and stamps out Dockerfiles, k8s YAML, configmaps, and Skaffold profiles. Pure functions; file I/O at the boundary.", "author": "Constructive ", - "license": "MIT", + "license": "SEE LICENSE IN LICENSE", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ diff --git a/packages/fn-runtime/package.json b/packages/fn-runtime/package.json index 929e4d8..5220b1e 100644 --- a/packages/fn-runtime/package.json +++ b/packages/fn-runtime/package.json @@ -3,7 +3,7 @@ "version": "1.2.0", "description": "Runtime for Constructive functions — wraps a handler in an Express app with GraphQL client, logging, and job callback support.", "author": "Constructive ", - "license": "MIT", + "license": "SEE LICENSE IN LICENSE", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ diff --git a/packages/fn-types/package.json b/packages/fn-types/package.json index aad42ba..6a1daf3 100644 --- a/packages/fn-types/package.json +++ b/packages/fn-types/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "description": "Source-of-truth TypeScript types for the Constructive Functions toolkit: handler manifests, FnConfig, runtime context, registry.", "author": "Constructive ", - "license": "MIT", + "license": "SEE LICENSE IN LICENSE", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [