@codelia/config-loader 0.1.85 → 0.1.89

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/index.cjs CHANGED
@@ -32,8 +32,10 @@ var index_exports = {};
32
32
  __export(index_exports, {
33
33
  appendPermissionAllowRule: () => appendPermissionAllowRule,
34
34
  appendPermissionAllowRules: () => appendPermissionAllowRules,
35
+ isValidUpdateChannel: () => import_config.isValidUpdateChannel,
35
36
  loadConfig: () => loadConfig,
36
37
  loadMcpServers: () => loadMcpServers,
38
+ parseUpdateMode: () => import_config.parseUpdateMode,
37
39
  removeMcpServerConfig: () => removeMcpServerConfig,
38
40
  removePermissionRules: () => removePermissionRules,
39
41
  setMcpServerEnabled: () => setMcpServerEnabled,
@@ -340,8 +342,10 @@ var removePermissionRules = async (configPath, kind, rule) => {
340
342
  0 && (module.exports = {
341
343
  appendPermissionAllowRule,
342
344
  appendPermissionAllowRules,
345
+ isValidUpdateChannel,
343
346
  loadConfig,
344
347
  loadMcpServers,
348
+ parseUpdateMode,
345
349
  removeMcpServerConfig,
346
350
  removePermissionRules,
347
351
  setMcpServerEnabled,
package/dist/index.d.cts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as _codelia_config from '@codelia/config';
2
2
  import { PermissionRule, CodeliaConfig, McpServerConfig, ModelConfig, TuiConfig } from '@codelia/config';
3
+ export { UpdateConfig, UpdateMode, isValidUpdateChannel, parseUpdateMode } from '@codelia/config';
3
4
 
4
5
  declare const loadConfig: (configPath: string) => Promise<CodeliaConfig | null>;
5
6
  declare const updateModelConfig: (configPath: string, model: ModelConfig) => Promise<CodeliaConfig>;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as _codelia_config from '@codelia/config';
2
2
  import { PermissionRule, CodeliaConfig, McpServerConfig, ModelConfig, TuiConfig } from '@codelia/config';
3
+ export { UpdateConfig, UpdateMode, isValidUpdateChannel, parseUpdateMode } from '@codelia/config';
3
4
 
4
5
  declare const loadConfig: (configPath: string) => Promise<CodeliaConfig | null>;
5
6
  declare const updateModelConfig: (configPath: string, model: ModelConfig) => Promise<CodeliaConfig>;
package/dist/index.js CHANGED
@@ -3,8 +3,10 @@ import { mkdir, readFile, writeFile } from "fs/promises";
3
3
  import path from "path";
4
4
  import {
5
5
  CONFIG_VERSION,
6
+ isValidUpdateChannel,
6
7
  normalizePermissionRule,
7
- parseConfig
8
+ parseConfig,
9
+ parseUpdateMode
8
10
  } from "@codelia/config";
9
11
  import { cosmiconfig } from "cosmiconfig";
10
12
  var MODULE_NAME = "codelia";
@@ -298,8 +300,10 @@ var removePermissionRules = async (configPath, kind, rule) => {
298
300
  export {
299
301
  appendPermissionAllowRule,
300
302
  appendPermissionAllowRules,
303
+ isValidUpdateChannel,
301
304
  loadConfig,
302
305
  loadMcpServers,
306
+ parseUpdateMode,
303
307
  removeMcpServerConfig,
304
308
  removePermissionRules,
305
309
  setMcpServerEnabled,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codelia/config-loader",
3
- "version": "0.1.85",
3
+ "version": "0.1.89",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "files": [
@@ -21,7 +21,7 @@
21
21
  "typecheck": "tsc --noEmit"
22
22
  },
23
23
  "dependencies": {
24
- "@codelia/config": "0.1.85",
24
+ "@codelia/config": "0.1.89",
25
25
  "cosmiconfig": "^9.0.0"
26
26
  },
27
27
  "publishConfig": {