From f41db930e5a6736a63f87394a01a5c68b7754ddd Mon Sep 17 00:00:00 2001 From: Nikhil Sinha Date: Mon, 5 Jan 2026 17:02:37 +1100 Subject: [PATCH 1/2] chore: license object current: change license from string `AGPL-3.0-only` to object ``` "license": { "name": "Parseable OSS", "version": "v1", "plan": "OSS", "deploymentInfo": "Managed" } ``` --- src/handlers/http/about.rs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/handlers/http/about.rs b/src/handlers/http/about.rs index b4089ad19..b41a8fcd3 100644 --- a/src/handlers/http/about.rs +++ b/src/handlers/http/about.rs @@ -83,6 +83,19 @@ pub async fn about() -> Json { let ms_clarity_tag = &PARSEABLE.options.ms_clarity_tag; + let license_name = "Parseable OSS"; + let license_version = "v1"; + let plan = "OSS"; + let deployment_info = "Managed"; + let license_info = { + json!({ + "name": license_name, + "version": license_version, + "plan": plan, + "deploymentInfo": deployment_info, + }) + }; + Json(json!({ "version": current_version, "uiVersion": ui_version, @@ -93,7 +106,7 @@ pub async fn about() -> Json { "llmActive": is_llm_active, "llmProvider": llm_provider, "oidcActive": is_oidc_active, - "license": "AGPL-3.0-only", + "license": license_info, "mode": mode, "staging": staging, "hotTier": hot_tier_details, From 9b203a468fb298545aed782beb29b3618c7f9d28 Mon Sep 17 00:00:00 2001 From: Nikhil Sinha Date: Mon, 5 Jan 2026 17:24:10 +1100 Subject: [PATCH 2/2] updated license name and inline values --- src/handlers/http/about.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/handlers/http/about.rs b/src/handlers/http/about.rs index b41a8fcd3..816f9de3e 100644 --- a/src/handlers/http/about.rs +++ b/src/handlers/http/about.rs @@ -83,16 +83,12 @@ pub async fn about() -> Json { let ms_clarity_tag = &PARSEABLE.options.ms_clarity_tag; - let license_name = "Parseable OSS"; - let license_version = "v1"; - let plan = "OSS"; - let deployment_info = "Managed"; let license_info = { json!({ - "name": license_name, - "version": license_version, - "plan": plan, - "deploymentInfo": deployment_info, + "name": "AGPL-3.0-only", + "version": "v1", + "plan": "OSS", + "deploymentInfo": "Managed", }) };