Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: align package license metadata with the Apache-2.0 LICENSE (#9250)

Akarshan Biswas579dbda760da
diff --git a/adk/python/pyproject.toml b/adk/python/pyproject.toml
index 7d5ad25ba..5270c6a89 100644
--- a/adk/python/pyproject.toml
+++ b/adk/python/pyproject.toml
@@ -8,14 +8,14 @@ version = "0.1.0"
description = "Python client for the Jan agent runtime: sessions, streamed turns, and host tools over `jan cli agent rpc`"
readme = "README.md"
requires-python = ">=3.11"
-license = { text = "AGPL-3.0" }
+license = { text = "Apache-2.0" }
authors = [{ name = "Jan", email = "[email protected]" }]
keywords = ["jan", "agent", "adk", "json-rpc"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
- "License :: OSI Approved :: GNU Affero General Public License v3",
+ "License :: OSI Approved :: Apache Software License",
]
# No dependencies on purpose: the runtime is a process, the channel is JSON, and
# a host that has to install a tree to embed an agent will not.
diff --git a/core/package.json b/core/package.json
index df9302210..d3278c14a 100644
--- a/core/package.json
+++ b/core/package.json
@@ -7,7 +7,7 @@
"core"
],
"homepage": "https://jan.ai",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"main": "dist/index.js",
"typings": "dist/types/index.d.ts",
"files": [
diff --git a/extensions/assistant-extension/package.json b/extensions/assistant-extension/package.json
index 84f6096f5..c36123692 100644
--- a/extensions/assistant-extension/package.json
+++ b/extensions/assistant-extension/package.json
@@ -6,7 +6,7 @@
"main": "dist/index.js",
"node": "dist/node/index.js",
"author": "Jan <[email protected]>",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"scripts": {
"build": "rolldown -c rolldown.config.mjs",
"build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install",
diff --git a/extensions/conversational-extension/package.json b/extensions/conversational-extension/package.json
index 0f54e1827..ba32adfc3 100644
--- a/extensions/conversational-extension/package.json
+++ b/extensions/conversational-extension/package.json
@@ -5,7 +5,7 @@
"description": "Enables conversations and state persistence via your file system.",
"main": "dist/index.js",
"author": "Jan <[email protected]>",
- "license": "MIT",
+ "license": "Apache-2.0",
"scripts": {
"build": "rolldown -c rolldown.config.mjs",
"build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install",
diff --git a/extensions/download-extension/package.json b/extensions/download-extension/package.json
index ea6517d46..a8db05bb0 100644
--- a/extensions/download-extension/package.json
+++ b/extensions/download-extension/package.json
@@ -5,7 +5,7 @@
"description": "Download and manage files and AI models in Jan.",
"main": "dist/index.js",
"author": "Jan <[email protected]>",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"scripts": {
"test": "vitest run",
"build": "rolldown -c rolldown.config.mjs",
diff --git a/extensions/llamacpp-extension/package.json b/extensions/llamacpp-extension/package.json
index 19352ee98..116bae55b 100644
--- a/extensions/llamacpp-extension/package.json
+++ b/extensions/llamacpp-extension/package.json
@@ -7,7 +7,7 @@
"module": "dist/module.js",
"engine": "llama.cpp",
"author": "Jan <[email protected]>",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"scripts": {
"build": "rolldown -c rolldown.config.mjs",
"build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install",
diff --git a/extensions/mlx-extension/package.json b/extensions/mlx-extension/package.json
index f0f872aed..d05a6fc1c 100644
--- a/extensions/mlx-extension/package.json
+++ b/extensions/mlx-extension/package.json
@@ -7,7 +7,7 @@
"module": "dist/module.js",
"engine": "mlx",
"author": "Jan <[email protected]>",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"scripts": {
"build": "rolldown -c rolldown.config.mjs",
"build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install",
diff --git a/extensions/rag-extension/package.json b/extensions/rag-extension/package.json
index a02f7946c..317dba2a4 100644
--- a/extensions/rag-extension/package.json
+++ b/extensions/rag-extension/package.json
@@ -6,7 +6,7 @@
"main": "dist/index.js",
"module": "dist/module.js",
"author": "Jan <[email protected]>",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"scripts": {
"build": "rolldown -c rolldown.config.mjs",
"build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install",
diff --git a/extensions/vector-db-extension/package.json b/extensions/vector-db-extension/package.json
index ea24a75a7..d5774ff0b 100644
--- a/extensions/vector-db-extension/package.json
+++ b/extensions/vector-db-extension/package.json
@@ -6,7 +6,7 @@
"main": "dist/index.js",
"module": "dist/module.js",
"author": "Jan <[email protected]>",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"scripts": {
"build": "rolldown -c rolldown.config.mjs",
"build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install",
diff --git a/packages/adk/package.json b/packages/adk/package.json
index 74b623527..491b73604 100644
--- a/packages/adk/package.json
+++ b/packages/adk/package.json
@@ -9,7 +9,7 @@
"json-rpc"
],
"homepage": "https://jan.ai",
- "license": "AGPL-3.0",
+ "license": "Apache-2.0",
"author": "Jan <[email protected]>",
"type": "module",
"main": "src/index.js",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 01ebad39c..8fb280f15 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -3,7 +3,7 @@ name = "Jan"
version = "0.8.5"
description = "Use offline LLMs with your own data. Run open source models like Llama2 or Falcon on your internal computers/servers."
authors = ["Jan <[email protected]>"]
-license = "MIT"
+license = "Apache-2.0"
repository = "https://github.com/janhq/jan"
edition = "2021"
# 1.88 is the floor: `agent-client-protocol` (the experimental `jan acp`
diff --git a/src-tauri/jan-cli/Cargo.toml b/src-tauri/jan-cli/Cargo.toml
index b6d8c311a..06544657b 100644
--- a/src-tauri/jan-cli/Cargo.toml
+++ b/src-tauri/jan-cli/Cargo.toml
@@ -3,7 +3,7 @@ name = "jan-cli"
version = "0.8.5"
description = "Headless CLI for Jan: chat with remote AI models in an interactive agent console."
authors = ["Jan <[email protected]>"]
-license = "MIT"
+license = "Apache-2.0"
repository = "https://github.com/janhq/jan"
edition = "2021"
# Matches ../Cargo.toml: `agent-client-protocol` (behind `jan acp`) needs 1.88.
diff --git a/src-tauri/plugins/tauri-plugin-agent-tools/Cargo.toml b/src-tauri/plugins/tauri-plugin-agent-tools/Cargo.toml
index c469df1a1..7fdd17542 100644
--- a/src-tauri/plugins/tauri-plugin-agent-tools/Cargo.toml
+++ b/src-tauri/plugins/tauri-plugin-agent-tools/Cargo.toml
@@ -3,7 +3,7 @@ name = "tauri-plugin-agent-tools"
version = "0.8.3"
authors = ["Jan <[email protected]>"]
description = "Built-in agent toolset (filesystem, shell, skills, memory, web) shared by the Jan desktop app and the headless jan CLI"
-license = "MIT"
+license = "Apache-2.0"
repository = "https://github.com/janhq/jan"
edition = "2021"
rust-version = "1.77.2"
diff --git a/src-tauri/plugins/tauri-plugin-hardware/Cargo.toml b/src-tauri/plugins/tauri-plugin-hardware/Cargo.toml
index 3f907ac6f..5e5353952 100644
--- a/src-tauri/plugins/tauri-plugin-hardware/Cargo.toml
+++ b/src-tauri/plugins/tauri-plugin-hardware/Cargo.toml
@@ -3,7 +3,7 @@ name = "tauri-plugin-hardware"
version = "0.8.3"
authors = ["Jan <[email protected]>"]
description = "Tauri plugin for hardware information and GPU monitoring"
-license = "MIT"
+license = "Apache-2.0"
repository = "https://github.com/janhq/jan"
edition = "2021"
rust-version = "1.77.2"
diff --git a/src-tauri/plugins/tauri-plugin-llamacpp/Cargo.toml b/src-tauri/plugins/tauri-plugin-llamacpp/Cargo.toml
index 61b639f7a..8af7bebd5 100644
--- a/src-tauri/plugins/tauri-plugin-llamacpp/Cargo.toml
+++ b/src-tauri/plugins/tauri-plugin-llamacpp/Cargo.toml
@@ -3,7 +3,7 @@ name = "tauri-plugin-llamacpp"
version = "0.5.0"
authors = ["Jan <[email protected]>"]
description = "Tauri plugin for managing Jan LlamaCpp server processes and model loading"
-license = "MIT"
+license = "Apache-2.0"
repository = "https://github.com/janhq/jan"
edition = "2021"
rust-version = "1.77.2"
diff --git a/src-tauri/plugins/tauri-plugin-mlx/Cargo.toml b/src-tauri/plugins/tauri-plugin-mlx/Cargo.toml
index eafe35bcd..02dcb22d4 100644
--- a/src-tauri/plugins/tauri-plugin-mlx/Cargo.toml
+++ b/src-tauri/plugins/tauri-plugin-mlx/Cargo.toml
@@ -3,7 +3,7 @@ name = "tauri-plugin-mlx"
version = "0.8.3"
authors = ["Jan <[email protected]>"]
description = "Tauri plugin for managing MLX-Swift server processes and model loading on Apple Silicon"
-license = "MIT"
+license = "Apache-2.0"
repository = "https://github.com/janhq/jan"
edition = "2021"
rust-version = "1.77.2"
diff --git a/src-tauri/plugins/tauri-plugin-rag/Cargo.toml b/src-tauri/plugins/tauri-plugin-rag/Cargo.toml
index dd07524b6..462773492 100644
--- a/src-tauri/plugins/tauri-plugin-rag/Cargo.toml
+++ b/src-tauri/plugins/tauri-plugin-rag/Cargo.toml
@@ -3,7 +3,7 @@ name = "tauri-plugin-rag"
version = "0.1.0"
authors = ["Jan <[email protected]>"]
description = "Tauri plugin for RAG utilities (document parsing, types)"
-license = "MIT"
+license = "Apache-2.0"
repository = "https://github.com/janhq/jan"
edition = "2021"
rust-version = "1.77.2"
diff --git a/src-tauri/plugins/tauri-plugin-vector-db/Cargo.toml b/src-tauri/plugins/tauri-plugin-vector-db/Cargo.toml
index cfc774433..18b301753 100644
--- a/src-tauri/plugins/tauri-plugin-vector-db/Cargo.toml
+++ b/src-tauri/plugins/tauri-plugin-vector-db/Cargo.toml
@@ -3,7 +3,7 @@ name = "tauri-plugin-vector-db"
version = "0.1.0"
authors = ["Jan <[email protected]>"]
description = "Tauri plugin for vector storage and similarity search"
-license = "MIT"
+license = "Apache-2.0"
repository = "https://github.com/janhq/jan"
edition = "2021"
rust-version = "1.77.2"
diff --git a/src-tauri/plugins/tauri-plugin-websearch/Cargo.toml b/src-tauri/plugins/tauri-plugin-websearch/Cargo.toml
index a8cf1cefe..b59420e05 100644
--- a/src-tauri/plugins/tauri-plugin-websearch/Cargo.toml
+++ b/src-tauri/plugins/tauri-plugin-websearch/Cargo.toml
@@ -3,7 +3,7 @@ name = "tauri-plugin-websearch"
version = "0.8.3"
authors = ["Jan <[email protected]>"]
description = "Tauri plugin providing native, provider-neutral web_search / web_fetch tools (Exa backend by default)"
-license = "MIT"
+license = "Apache-2.0"
repository = "https://github.com/janhq/jan"
edition = "2021"
rust-version = "1.77.2"