@code-sentinel-cli/code-sentinel-cli 3.0.8 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin.js CHANGED
@@ -2383,11 +2383,11 @@ var definedBuildValue = (value, fallback) => typeof value === "string" && value.
2383
2383
  var getCliBuildMetadata = (version2) => ({
2384
2384
  version: version2,
2385
2385
  gitSha: definedBuildValue(
2386
- "64891c9cc7b6" ,
2386
+ "ffa3a8c96cca" ,
2387
2387
  "unknown"
2388
2388
  ),
2389
2389
  buildTimestamp: definedBuildValue(
2390
- "2026-08-12T03:47:00.089Z" ,
2390
+ "2026-08-12T08:09:49.865Z" ,
2391
2391
  "unknown"
2392
2392
  ),
2393
2393
  configSchemaRange: definedBuildValue(
@@ -13886,7 +13886,7 @@ var withAiApiKey = (config, credential, apiKey) => {
13886
13886
  };
13887
13887
  };
13888
13888
  var OLLAMA_DEFAULT_BASE = "http://localhost:11434";
13889
- var NETMIND_DEFAULT_BASE = "https://example.invalid/netmind/v1";
13889
+ var NETMIND_DEFAULT_BASE = "https://netmind.viettel.vn/gateway/v1";
13890
13890
  var OPENCODE_GO_DEFAULT_BASE = "https://opencode.ai/zen/go/v1";
13891
13891
  var stripTrailingSlash = (s) => s.replace(/\/+$/, "");
13892
13892
  var buildLanguageModel = (config, modelOverride) => {
@@ -23530,7 +23530,7 @@ var codeReviewConfigObjectSchema = external_exports.object({
23530
23530
  * default until M3 passes the repository's finding-quality gate.
23531
23531
  */
23532
23532
  viettelNetmind: external_exports.object({
23533
- baseUrl: external_exports.string().url().default("https://example.invalid/netmind/v1"),
23533
+ baseUrl: external_exports.string().url().default("https://netmind.viettel.vn/gateway/v1"),
23534
23534
  apiKey: external_exports.string().optional(),
23535
23535
  // Model access is team-scoped; `/models` is the source of truth.
23536
23536
  // M2.7 is the measured fast option but under-detected per-module
@@ -23538,7 +23538,7 @@ var codeReviewConfigObjectSchema = external_exports.object({
23538
23538
  // remains opt-in until the same gate has measured its recall.
23539
23539
  model: external_exports.string().default("zai-org/GLM-4.7-cc")
23540
23540
  }).default({
23541
- baseUrl: "https://example.invalid/netmind/v1",
23541
+ baseUrl: "https://netmind.viettel.vn/gateway/v1",
23542
23542
  model: "zai-org/GLM-4.7-cc"
23543
23543
  }),
23544
23544
  opencodeGo: external_exports.object({
@@ -23579,7 +23579,7 @@ var codeReviewConfigObjectSchema = external_exports.object({
23579
23579
  gemini: { model: "gemini-2.0-flash" },
23580
23580
  groq: { model: "llama-3.3-70b-versatile" },
23581
23581
  viettelNetmind: {
23582
- baseUrl: "https://example.invalid/netmind/v1",
23582
+ baseUrl: "https://netmind.viettel.vn/gateway/v1",
23583
23583
  apiKey: "",
23584
23584
  model: "zai-org/GLM-4.7-cc"
23585
23585
  },
@@ -23885,7 +23885,7 @@ var codeReviewConfigObjectSchema = external_exports.object({
23885
23885
  * `${ENV_VAR}` interpolation for the token so secrets stay out of the file.
23886
23886
  */
23887
23887
  dashboard: external_exports.object({
23888
- /** Base URL of the @code-sentinel/server instance, e.g. `https://example.invalid/code-sentinel-dashboard`. */
23888
+ /** Base URL of the @code-sentinel/server instance, e.g. `https://codesentinel.vtscloud.vn`. */
23889
23889
  serverUrl: external_exports.string().url().optional(),
23890
23890
  /** Project-scoped bearer token for `POST /api/runs`. */
23891
23891
  token: external_exports.string().optional(),
@@ -24308,7 +24308,7 @@ var pathMatchesAnyGlob = (path, patterns) => {
24308
24308
  };
24309
24309
 
24310
24310
  // src/config/dashboard-defaults.ts
24311
- var DEFAULT_DASHBOARD_SERVER_URL = "https://example.invalid/code-sentinel-dashboard";
24311
+ var DEFAULT_DASHBOARD_SERVER_URL = "https://codesentinel.vtscloud.vn";
24312
24312
  var getDefaultDashboardServerUrl = () => process.env.CODE_SENTINEL_DASHBOARD_URL?.trim() || DEFAULT_DASHBOARD_SERVER_URL;
24313
24313
 
24314
24314
  // src/commands/push.command.ts
@@ -31676,7 +31676,7 @@ var runInit = async (options = {}) => {
31676
31676
  ai: {
31677
31677
  provider: "viettel-netmind",
31678
31678
  viettelNetmind: {
31679
- baseUrl: "https://example.invalid/netmind/v1",
31679
+ baseUrl: "https://netmind.viettel.vn/gateway/v1",
31680
31680
  apiKey: "",
31681
31681
  model: "zai-org/GLM-4.7-cc"
31682
31682
  }
@@ -32901,7 +32901,7 @@ var runReviewFortify = async (options) => {
32901
32901
  contextPack,
32902
32902
  "",
32903
32903
  "Y\xCAU C\u1EA6U:",
32904
- "H\xE3y tr\u1EA3 l\u1EDDi b\u1EB1ng TI\u1EBENG VI\u1EC6T. \u0110\u01B0a ra h\u01B0\u1EDBng d\u1EABn s\u1EEDa l\u1ED7i (Remediation Advice) ng\u1EAFn g\u1ECDn trong 1-2 c\xE2u, m\xF4 t\u1EA3 ch\xEDnh x\xE1c c\xE1ch kh\u1EAFc ph\u1EE5c tr\u1EF1c ti\u1EBFp cho \u0111o\u1EA1n m\xE3 ngu\u1ED3n n\xE0y."
32904
+ "H\xE3y tr\u1EA3 l\u1EDDi b\u1EB1ng TI\u1EBENG VI\u1EC6T. \u0110\u01B0a ra h\u01B0\u1EDBng d\u1EABn s\u1EEDa l\u1ED7i (Remediation Advice) ng\u1EAFn g\u1ECDn, m\xF4 t\u1EA3 ch\xEDnh x\xE1c c\xE1ch kh\u1EAFc ph\u1EE5c tr\u1EF1c ti\u1EBFp cho \u0111o\u1EA1n m\xE3 ngu\u1ED3n n\xE0y. Xin h\xE3y k\xE8m theo m\xE3 ngu\u1ED3n (code snippet) g\u1EE3i \xFD \u0111\u1EC3 s\u1EEDa l\u1ED7i n\u1EBFu c\xF3 th\u1EC3."
32905
32905
  ].join("\n");
32906
32906
  try {
32907
32907
  console.log(
@@ -34632,7 +34632,7 @@ var providerDefaults = {
34632
34632
  },
34633
34633
  "viettel-netmind": {
34634
34634
  model: "zai-org/GLM-4.7-cc",
34635
- baseUrl: "https://example.invalid/netmind/v1",
34635
+ baseUrl: "https://netmind.viettel.vn/gateway/v1",
34636
34636
  apiKeyEnv: "LLM_API_KEY",
34637
34637
  needsApiKey: true,
34638
34638
  needsBaseUrl: true
package/dist/index.d.ts CHANGED
@@ -999,7 +999,7 @@ declare const codeReviewConfigSchema: z.ZodEffects<z.ZodObject<{
999
999
  * `${ENV_VAR}` interpolation for the token so secrets stay out of the file.
1000
1000
  */
1001
1001
  dashboard: z.ZodDefault<z.ZodObject<{
1002
- /** Base URL of the @code-sentinel/server instance, e.g. `https://example.invalid/code-sentinel-dashboard`. */
1002
+ /** Base URL of the @code-sentinel/server instance, e.g. `https://codesentinel.vtscloud.vn`. */
1003
1003
  serverUrl: z.ZodOptional<z.ZodString>;
1004
1004
  /** Project-scoped bearer token for `POST /api/runs`. */
1005
1005
  token: z.ZodOptional<z.ZodString>;
package/dist/index.js CHANGED
@@ -2383,11 +2383,11 @@ var definedBuildValue = (value, fallback) => typeof value === "string" && value.
2383
2383
  var getCliBuildMetadata = (version2) => ({
2384
2384
  version: version2,
2385
2385
  gitSha: definedBuildValue(
2386
- "64891c9cc7b6" ,
2386
+ "ffa3a8c96cca" ,
2387
2387
  "unknown"
2388
2388
  ),
2389
2389
  buildTimestamp: definedBuildValue(
2390
- "2026-08-12T03:47:00.089Z" ,
2390
+ "2026-08-12T08:09:49.865Z" ,
2391
2391
  "unknown"
2392
2392
  ),
2393
2393
  configSchemaRange: definedBuildValue(
@@ -13916,7 +13916,7 @@ var withAiApiKey = (config, credential, apiKey) => {
13916
13916
  };
13917
13917
  };
13918
13918
  var OLLAMA_DEFAULT_BASE = "http://localhost:11434";
13919
- var NETMIND_DEFAULT_BASE = "https://example.invalid/netmind/v1";
13919
+ var NETMIND_DEFAULT_BASE = "https://netmind.viettel.vn/gateway/v1";
13920
13920
  var OPENCODE_GO_DEFAULT_BASE = "https://opencode.ai/zen/go/v1";
13921
13921
  var stripTrailingSlash = (s) => s.replace(/\/+$/, "");
13922
13922
  var buildLanguageModel = (config, modelOverride) => {
@@ -23560,7 +23560,7 @@ var codeReviewConfigObjectSchema = external_exports.object({
23560
23560
  * default until M3 passes the repository's finding-quality gate.
23561
23561
  */
23562
23562
  viettelNetmind: external_exports.object({
23563
- baseUrl: external_exports.string().url().default("https://example.invalid/netmind/v1"),
23563
+ baseUrl: external_exports.string().url().default("https://netmind.viettel.vn/gateway/v1"),
23564
23564
  apiKey: external_exports.string().optional(),
23565
23565
  // Model access is team-scoped; `/models` is the source of truth.
23566
23566
  // M2.7 is the measured fast option but under-detected per-module
@@ -23568,7 +23568,7 @@ var codeReviewConfigObjectSchema = external_exports.object({
23568
23568
  // remains opt-in until the same gate has measured its recall.
23569
23569
  model: external_exports.string().default("zai-org/GLM-4.7-cc")
23570
23570
  }).default({
23571
- baseUrl: "https://example.invalid/netmind/v1",
23571
+ baseUrl: "https://netmind.viettel.vn/gateway/v1",
23572
23572
  model: "zai-org/GLM-4.7-cc"
23573
23573
  }),
23574
23574
  opencodeGo: external_exports.object({
@@ -23609,7 +23609,7 @@ var codeReviewConfigObjectSchema = external_exports.object({
23609
23609
  gemini: { model: "gemini-2.0-flash" },
23610
23610
  groq: { model: "llama-3.3-70b-versatile" },
23611
23611
  viettelNetmind: {
23612
- baseUrl: "https://example.invalid/netmind/v1",
23612
+ baseUrl: "https://netmind.viettel.vn/gateway/v1",
23613
23613
  apiKey: "",
23614
23614
  model: "zai-org/GLM-4.7-cc"
23615
23615
  },
@@ -23915,7 +23915,7 @@ var codeReviewConfigObjectSchema = external_exports.object({
23915
23915
  * `${ENV_VAR}` interpolation for the token so secrets stay out of the file.
23916
23916
  */
23917
23917
  dashboard: external_exports.object({
23918
- /** Base URL of the @code-sentinel/server instance, e.g. `https://example.invalid/code-sentinel-dashboard`. */
23918
+ /** Base URL of the @code-sentinel/server instance, e.g. `https://codesentinel.vtscloud.vn`. */
23919
23919
  serverUrl: external_exports.string().url().optional(),
23920
23920
  /** Project-scoped bearer token for `POST /api/runs`. */
23921
23921
  token: external_exports.string().optional(),
@@ -24338,7 +24338,7 @@ var pathMatchesAnyGlob = (path, patterns) => {
24338
24338
  };
24339
24339
 
24340
24340
  // src/config/dashboard-defaults.ts
24341
- var DEFAULT_DASHBOARD_SERVER_URL = "https://example.invalid/code-sentinel-dashboard";
24341
+ var DEFAULT_DASHBOARD_SERVER_URL = "https://codesentinel.vtscloud.vn";
24342
24342
  var getDefaultDashboardServerUrl = () => process.env.CODE_SENTINEL_DASHBOARD_URL?.trim() || DEFAULT_DASHBOARD_SERVER_URL;
24343
24343
 
24344
24344
  // src/commands/push.command.ts
@@ -31706,7 +31706,7 @@ var runInit = async (options = {}) => {
31706
31706
  ai: {
31707
31707
  provider: "viettel-netmind",
31708
31708
  viettelNetmind: {
31709
- baseUrl: "https://example.invalid/netmind/v1",
31709
+ baseUrl: "https://netmind.viettel.vn/gateway/v1",
31710
31710
  apiKey: "",
31711
31711
  model: "zai-org/GLM-4.7-cc"
31712
31712
  }
@@ -32931,7 +32931,7 @@ var runReviewFortify = async (options) => {
32931
32931
  contextPack,
32932
32932
  "",
32933
32933
  "Y\xCAU C\u1EA6U:",
32934
- "H\xE3y tr\u1EA3 l\u1EDDi b\u1EB1ng TI\u1EBENG VI\u1EC6T. \u0110\u01B0a ra h\u01B0\u1EDBng d\u1EABn s\u1EEDa l\u1ED7i (Remediation Advice) ng\u1EAFn g\u1ECDn trong 1-2 c\xE2u, m\xF4 t\u1EA3 ch\xEDnh x\xE1c c\xE1ch kh\u1EAFc ph\u1EE5c tr\u1EF1c ti\u1EBFp cho \u0111o\u1EA1n m\xE3 ngu\u1ED3n n\xE0y."
32934
+ "H\xE3y tr\u1EA3 l\u1EDDi b\u1EB1ng TI\u1EBENG VI\u1EC6T. \u0110\u01B0a ra h\u01B0\u1EDBng d\u1EABn s\u1EEDa l\u1ED7i (Remediation Advice) ng\u1EAFn g\u1ECDn, m\xF4 t\u1EA3 ch\xEDnh x\xE1c c\xE1ch kh\u1EAFc ph\u1EE5c tr\u1EF1c ti\u1EBFp cho \u0111o\u1EA1n m\xE3 ngu\u1ED3n n\xE0y. Xin h\xE3y k\xE8m theo m\xE3 ngu\u1ED3n (code snippet) g\u1EE3i \xFD \u0111\u1EC3 s\u1EEDa l\u1ED7i n\u1EBFu c\xF3 th\u1EC3."
32935
32935
  ].join("\n");
32936
32936
  try {
32937
32937
  console.log(
@@ -34662,7 +34662,7 @@ var providerDefaults = {
34662
34662
  },
34663
34663
  "viettel-netmind": {
34664
34664
  model: "zai-org/GLM-4.7-cc",
34665
- baseUrl: "https://example.invalid/netmind/v1",
34665
+ baseUrl: "https://netmind.viettel.vn/gateway/v1",
34666
34666
  apiKeyEnv: "LLM_API_KEY",
34667
34667
  needsApiKey: true,
34668
34668
  needsBaseUrl: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-sentinel-cli/code-sentinel-cli",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "AI-assisted code review CLI for Angular, Spring Boot, and Flutter projects.",