@itphx/synth-shared 0.7.3 → 0.8.3
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/config/defaults.d.ts +0 -1
- package/dist/config/defaults.js +44 -1
- package/dist/config/index.d.ts +0 -1
- package/dist/config/index.js +0 -1
- package/dist/config/loader.d.ts +2 -1
- package/dist/config/loader.js +10 -6
- package/dist/config/merge.d.ts +0 -1
- package/dist/config/merge.js +0 -1
- package/dist/config/resolve.d.ts +35 -7
- package/dist/config/resolve.js +98 -19
- package/dist/config/types.d.ts +711 -79
- package/dist/config/types.js +138 -2
- package/dist/i18n/index.d.ts +1 -2
- package/dist/i18n/index.js +116 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/interfaces/index.d.ts +0 -1
- package/dist/interfaces/index.js +0 -1
- package/dist/model-metadata.d.ts +0 -1
- package/dist/model-metadata.js +0 -1
- package/dist/protocols/index.d.ts +0 -1
- package/dist/protocols/index.js +0 -1
- package/dist/schemas/index.d.ts +558 -25
- package/dist/schemas/index.js +244 -8
- package/dist/skills/frontmatter.d.ts +20 -0
- package/dist/skills/frontmatter.js +69 -0
- package/dist/types/commands.d.ts +127 -0
- package/dist/types/commands.js +10 -0
- package/dist/types/index.d.ts +137 -13
- package/dist/types/index.js +68 -6
- package/dist/types/permission.d.ts +5 -5
- package/dist/types/permission.js +0 -1
- package/dist/types/skills.d.ts +135 -0
- package/dist/types/skills.js +17 -0
- package/dist/types/tools.d.ts +0 -1
- package/dist/types/tools.js +0 -1
- package/dist/utils/glob.d.ts +0 -1
- package/dist/utils/glob.js +0 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +2 -1
- package/dist/utils/workspace.d.ts +13 -0
- package/dist/utils/workspace.js +34 -0
- package/dist/version.d.ts +1 -2
- package/dist/version.js +1 -2
- package/package.json +2 -2
- package/dist/config/defaults.d.ts.map +0 -1
- package/dist/config/defaults.js.map +0 -1
- package/dist/config/defaults.test.d.ts +0 -2
- package/dist/config/defaults.test.d.ts.map +0 -1
- package/dist/config/defaults.test.js +0 -66
- package/dist/config/defaults.test.js.map +0 -1
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/index.js.map +0 -1
- package/dist/config/loader.d.ts.map +0 -1
- package/dist/config/loader.js.map +0 -1
- package/dist/config/loader.test.d.ts +0 -2
- package/dist/config/loader.test.d.ts.map +0 -1
- package/dist/config/loader.test.js +0 -43
- package/dist/config/loader.test.js.map +0 -1
- package/dist/config/merge.d.ts.map +0 -1
- package/dist/config/merge.js.map +0 -1
- package/dist/config/merge.test.d.ts +0 -2
- package/dist/config/merge.test.d.ts.map +0 -1
- package/dist/config/merge.test.js +0 -49
- package/dist/config/merge.test.js.map +0 -1
- package/dist/config/resolve.d.ts.map +0 -1
- package/dist/config/resolve.js.map +0 -1
- package/dist/config/resolve.test.d.ts +0 -2
- package/dist/config/resolve.test.d.ts.map +0 -1
- package/dist/config/resolve.test.js +0 -81
- package/dist/config/resolve.test.js.map +0 -1
- package/dist/config/types.d.ts.map +0 -1
- package/dist/config/types.js.map +0 -1
- package/dist/config/types.test.d.ts +0 -2
- package/dist/config/types.test.d.ts.map +0 -1
- package/dist/config/types.test.js +0 -63
- package/dist/config/types.test.js.map +0 -1
- package/dist/i18n/index.d.ts.map +0 -1
- package/dist/i18n/index.js.map +0 -1
- package/dist/i18n/index.test.d.ts +0 -2
- package/dist/i18n/index.test.d.ts.map +0 -1
- package/dist/i18n/index.test.js +0 -41
- package/dist/i18n/index.test.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/index.js.map +0 -1
- package/dist/model-metadata.d.ts.map +0 -1
- package/dist/model-metadata.js.map +0 -1
- package/dist/model-metadata.test.d.ts +0 -2
- package/dist/model-metadata.test.d.ts.map +0 -1
- package/dist/model-metadata.test.js +0 -53
- package/dist/model-metadata.test.js.map +0 -1
- package/dist/protocols/index.d.ts.map +0 -1
- package/dist/protocols/index.js.map +0 -1
- package/dist/schemas/index.d.ts.map +0 -1
- package/dist/schemas/index.js.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/types/permission.d.ts.map +0 -1
- package/dist/types/permission.js.map +0 -1
- package/dist/types/tools.d.ts.map +0 -1
- package/dist/types/tools.js.map +0 -1
- package/dist/utils/glob.d.ts.map +0 -1
- package/dist/utils/glob.js.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/index.test.d.ts +0 -2
- package/dist/utils/index.test.d.ts.map +0 -1
- package/dist/utils/index.test.js +0 -150
- package/dist/utils/index.test.js.map +0 -1
- package/dist/version.d.ts.map +0 -1
- package/dist/version.js.map +0 -1
package/dist/config/types.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { permissionConfigSchema } from '../types/permission.js';
|
|
3
3
|
import { createToolsDisabledSchema } from '../schemas/index.js';
|
|
4
|
-
import { TOOLS_POLICIES, MCP_NETWORK_POLICY_MODES, DEFAULT_MCP_PRIVATE_CIDRS, DEFAULT_MCP_NETWORK_POLICY, DEFAULT_LLM_GATEWAY_RATE_LIMIT, } from '../types/index.js';
|
|
4
|
+
import { TOOLS_POLICIES, MCP_NETWORK_POLICY_MODES, COMMAND_CONFLICT_MODES, DEFAULT_MCP_PRIVATE_CIDRS, DEFAULT_MCP_NETWORK_POLICY, DEFAULT_LLM_GATEWAY_RATE_LIMIT, ToolCapability, } from '../types/index.js';
|
|
5
|
+
const toolCapabilityValues = Object.values(ToolCapability);
|
|
5
6
|
// --- SynthConfig: единый конфиг для всех компонентов ---
|
|
6
7
|
export const serverConfigSchema = z.object({
|
|
7
8
|
host: z.string().default('0.0.0.0'),
|
|
@@ -14,6 +15,12 @@ export const storageConfigSchema = z.object({
|
|
|
14
15
|
workspacesRoot: z.string().default(''),
|
|
15
16
|
/** Рабочий каталог по умолчанию для сессий без проекта. Резолвится от dataDir: {dataDir}/workspaces/default. */
|
|
16
17
|
defaultWorkspace: z.string().default(''),
|
|
18
|
+
/**
|
|
19
|
+
* AD-075: политика для абсолютного `project.workspace` вне `workspacesRoot`
|
|
20
|
+
* (`confirm` — подтверждение, `deny` — запрет). `''` — не задано (эффективно
|
|
21
|
+
* `confirm`), читать через `resolveWorkspaceOutsideRootPolicy`.
|
|
22
|
+
*/
|
|
23
|
+
workspaceOutsideRoot: z.enum(['confirm', 'deny']).or(z.literal('')).default(''),
|
|
17
24
|
});
|
|
18
25
|
export const authConfigSchema = z.object({
|
|
19
26
|
debugMode: z.boolean().default(false),
|
|
@@ -102,7 +109,16 @@ export const mcpServerConfigSchema = z.object({
|
|
|
102
109
|
env: z.record(z.string(), z.string()).optional(),
|
|
103
110
|
url: z.string().optional(),
|
|
104
111
|
headers: z.record(z.string(), z.string()).optional(),
|
|
112
|
+
/**
|
|
113
|
+
* Сид системного мастер-флага записи реестра при первичном создании из config
|
|
114
|
+
* (`seedFromConfig`); в резолвинге/подключении не участвует — после создания
|
|
115
|
+
* мастер-флаг живёт только в `McpRegistryEntry.enabled`.
|
|
116
|
+
*/
|
|
105
117
|
enabled: z.boolean().optional(),
|
|
118
|
+
/**
|
|
119
|
+
* Сид «включён по умолчанию для НОВЫХ ПРОЕКТОВ» (`project.enabled`/
|
|
120
|
+
* `project.defaultOn`), снимок на момент создания проекта.
|
|
121
|
+
*/
|
|
106
122
|
enabledByDefault: z.boolean().optional(),
|
|
107
123
|
timeout: z.number().int().min(1).optional(),
|
|
108
124
|
connectTimeout: z.number().int().min(1).optional(),
|
|
@@ -142,6 +158,118 @@ export const toolsConfigSchema = z.object({
|
|
|
142
158
|
/** AD-071 §2.6: instance-wide отключение инструментов (admin). */
|
|
143
159
|
disabled: toolsDisabledConfigSchema.default({}),
|
|
144
160
|
});
|
|
161
|
+
// --- Скиллы (AD-046) ---
|
|
162
|
+
/**
|
|
163
|
+
* AD-046 §4.2/§4.4/§7.4: конфигурация механизма скиллов.
|
|
164
|
+
* `paths` — дополнительные пользовательские каталоги; `trustedProjectDirs` —
|
|
165
|
+
* доверенные проектные каталоги (бинарный trust); `inlineShell` — выключатель
|
|
166
|
+
* `!`cmd`` в шаблонных командах (по умолчанию выключено).
|
|
167
|
+
*
|
|
168
|
+
* `urls` — внешние удалённые каталоги (opencode-совместимый `index.json`):
|
|
169
|
+
* **только read-only индексация** — скачиваются в `{dataDir}/skills-cache/urls`,
|
|
170
|
+
* видны в реестре/диагностике, но `trusted: false` (в каталог для модели не
|
|
171
|
+
* попадают, тело не грузится). Установка/доверие/подписи/`lock.json` — AD-068.
|
|
172
|
+
*
|
|
173
|
+
* Внешние локальные каталоги совместимости (`.opencode`, `.claude`, `.agents`,
|
|
174
|
+
* `~/.config/opencode`) подключаются как read-only discovery в core (AD-046 §4.2).
|
|
175
|
+
*/
|
|
176
|
+
export const skillsConfigSchema = z.object({
|
|
177
|
+
paths: z.array(z.string()).default([]),
|
|
178
|
+
/** AD-046 §4.2/§4.3: удалённые каталоги — read-only индексация (`trusted: false`). */
|
|
179
|
+
urls: z.array(z.string()).default([]),
|
|
180
|
+
trustedProjectDirs: z.array(z.string()).default([]),
|
|
181
|
+
inlineShell: z.boolean().default(false),
|
|
182
|
+
/**
|
|
183
|
+
* AD-046 §3.2/§12: именованные группы тулов → capabilities. Используется
|
|
184
|
+
* для экспансии `metadata.synth.requires_toolsets` в проверку доступности
|
|
185
|
+
* скилла (union с `requires_capabilities`).
|
|
186
|
+
*/
|
|
187
|
+
toolsets: z.record(z.string(), z.array(z.enum(toolCapabilityValues))).default({}),
|
|
188
|
+
});
|
|
189
|
+
// --- Slash-команды (AD-046 §7) ---
|
|
190
|
+
/**
|
|
191
|
+
* AD-046 §7/§9.4: конфигурация slash-команд. `paths` — дополнительные каталоги
|
|
192
|
+
* шаблонных `.md`-команд; `bundlesPath` — подкаталог `{dataDir}` для YAML-бандлов;
|
|
193
|
+
* `conflict` — режим разрешения конфликтов имён (см. resolver).
|
|
194
|
+
*/
|
|
195
|
+
export const commandsConfigSchema = z.object({
|
|
196
|
+
paths: z.array(z.string()).default([]),
|
|
197
|
+
bundlesPath: z.string().default('skill-bundles'),
|
|
198
|
+
conflict: z
|
|
199
|
+
.object({
|
|
200
|
+
mode: z.enum(COMMAND_CONFLICT_MODES).default('bundle-wins'),
|
|
201
|
+
namespacePrefix: z.boolean().default(false),
|
|
202
|
+
})
|
|
203
|
+
.default({}),
|
|
204
|
+
maxArgumentsLength: z.number().int().min(1).default(10_000),
|
|
205
|
+
maxRenderedBytes: z.number().int().min(1).default(200_000),
|
|
206
|
+
});
|
|
207
|
+
// --- Проектные инструкции (AD-069) ---
|
|
208
|
+
/**
|
|
209
|
+
* AD-069 §3.4/§11: дополнительный источник проектных инструкций.
|
|
210
|
+
* `position` задаёт место в порядке: `before` — перед merged chain, `after` —
|
|
211
|
+
* после. `ttlSec` (только для URL) переопределяет `instructions.fetch.cacheTtlSec`.
|
|
212
|
+
*/
|
|
213
|
+
export const instructionSourceConfigSchema = z.object({
|
|
214
|
+
kind: z.enum(['path', 'url']),
|
|
215
|
+
value: z.string(),
|
|
216
|
+
position: z.enum(['before', 'after']).default('after'),
|
|
217
|
+
label: z.string().optional(),
|
|
218
|
+
ttlSec: z.number().int().min(0).optional(),
|
|
219
|
+
});
|
|
220
|
+
/**
|
|
221
|
+
* AD-069 §4: параметры lazy-догрузки подкаталогов (реализация — Фаза 2;
|
|
222
|
+
* схема заводится в Фазе 1).
|
|
223
|
+
*/
|
|
224
|
+
export const instructionsLazyConfigSchema = z.object({
|
|
225
|
+
enabled: z.boolean().default(true),
|
|
226
|
+
maxAncestors: z.number().int().min(0).default(5),
|
|
227
|
+
maxChars: z.number().int().min(1).default(8_000),
|
|
228
|
+
excludeDirs: z
|
|
229
|
+
.array(z.string())
|
|
230
|
+
.default(['node_modules', '.git', 'vendor', 'dist', 'build', '.next', 'coverage', 'tmp', '.cache']),
|
|
231
|
+
});
|
|
232
|
+
/**
|
|
233
|
+
* AD-069 §5.1/§9.1: параметры fetch URL-источников (без фонового таймера —
|
|
234
|
+
* загрузка при старте + TTL-кэш). Реализация fetch — Фаза 2.
|
|
235
|
+
*/
|
|
236
|
+
export const instructionsFetchConfigSchema = z.object({
|
|
237
|
+
timeoutMs: z.number().int().min(1).default(5_000),
|
|
238
|
+
cacheTtlSec: z.number().int().min(0).default(3_600),
|
|
239
|
+
maxBytes: z.number().int().min(1).default(262_144),
|
|
240
|
+
});
|
|
241
|
+
/**
|
|
242
|
+
* AD-069 §5.1/§9.1: конфигурация проектных инструкций (`AGENTS.md` и совместимые).
|
|
243
|
+
* Порядок: `sources` с `position: before` → merged chain (`git root → … → cwd`) →
|
|
244
|
+
* `sources` с `position: after`. Кап — динамический от окна модели.
|
|
245
|
+
*/
|
|
246
|
+
export const instructionsConfigSchema = z.object({
|
|
247
|
+
/** Глобальный тумблер автоматической загрузки проектных инструкций. */
|
|
248
|
+
enabled: z.boolean().default(true),
|
|
249
|
+
/** Читать `CLAUDE.md`, если нет основного кандидата (инвертированный disableClaudeCodePrompt). */
|
|
250
|
+
claudeCompat: z.boolean().default(true),
|
|
251
|
+
/** Deprecated `CONTEXT.md` (выключено по умолчанию). */
|
|
252
|
+
contextCompat: z.boolean().default(false),
|
|
253
|
+
/** Доля head при обрезке. */
|
|
254
|
+
headRatio: z.number().min(0).max(1).default(0.7),
|
|
255
|
+
/** Доля tail при обрезке. */
|
|
256
|
+
tailRatio: z.number().min(0).max(1).default(0.2),
|
|
257
|
+
/** Явный cap-override (перебивает расчёт от окна модели). */
|
|
258
|
+
maxChars: z.number().int().min(1).optional(),
|
|
259
|
+
/** Доля окна модели для динамического капа. */
|
|
260
|
+
windowRatio: z.number().min(0).max(1).default(0.06),
|
|
261
|
+
/** Нижняя граница динамического капа (floor). */
|
|
262
|
+
minChars: z.number().int().min(1).default(20_000),
|
|
263
|
+
/** Верхняя граница динамического капа (ceiling). */
|
|
264
|
+
maxCharsCeiling: z.number().int().min(1).default(500_000),
|
|
265
|
+
lazy: instructionsLazyConfigSchema.default({}),
|
|
266
|
+
fetch: instructionsFetchConfigSchema.default({}),
|
|
267
|
+
sources: z.array(instructionSourceConfigSchema).default([]),
|
|
268
|
+
/** Проекты (id), где автозагрузка выключена. */
|
|
269
|
+
excludeProjects: z.array(z.string()).default([]),
|
|
270
|
+
/** Не грузить инструкции внутри дерева исходников Synth (install-tree guard, Фаза 2). */
|
|
271
|
+
allowInstallTreeFallback: z.boolean().default(false),
|
|
272
|
+
});
|
|
145
273
|
// --- Security (IPI protection) ---
|
|
146
274
|
export const promptInjectionConfigSchema = z.object({
|
|
147
275
|
/** Глобальный выключатель защиты от Indirect Prompt Injection. */
|
|
@@ -158,6 +286,12 @@ export const protectedPathsConfigSchema = z.object({
|
|
|
158
286
|
export const securityConfigSchema = z.object({
|
|
159
287
|
promptInjection: promptInjectionConfigSchema.default({}),
|
|
160
288
|
protectedPaths: protectedPathsConfigSchema.default({}),
|
|
289
|
+
/**
|
|
290
|
+
* AD-076: мастер-ключ для шифрования секретов at-rest (SSH-ключи, AES-256-GCM).
|
|
291
|
+
* Приоритет — env `SYNTH_SECRET_KEY` (читать через `resolveSecretKey`).
|
|
292
|
+
* Пусто — core использует файл `{dataDir}/secrets/master.key`.
|
|
293
|
+
*/
|
|
294
|
+
secretKey: z.string().default(''),
|
|
161
295
|
});
|
|
162
296
|
// --- LLM Gateway (AD-036) ---
|
|
163
297
|
export const llmGatewayRateLimitConfigSchema = z.object({
|
|
@@ -280,6 +414,9 @@ export const synthConfigSchema = z.object({
|
|
|
280
414
|
summarization: summarizationConfigSchema.default({}),
|
|
281
415
|
mcp: mcpConfigSchema.default({}),
|
|
282
416
|
tools: toolsConfigSchema.default({}),
|
|
417
|
+
skills: skillsConfigSchema.default({}),
|
|
418
|
+
commands: commandsConfigSchema.default({}),
|
|
419
|
+
instructions: instructionsConfigSchema.default({}),
|
|
283
420
|
router: routerConfigSchema.default({}),
|
|
284
421
|
remote: remoteConfigSchema.default({}),
|
|
285
422
|
microFirst: microFirstConfigSchema.default({}),
|
|
@@ -287,4 +424,3 @@ export const synthConfigSchema = z.object({
|
|
|
287
424
|
permission: permissionConfigSchema.default({}),
|
|
288
425
|
security: securityConfigSchema.default({}),
|
|
289
426
|
});
|
|
290
|
-
//# sourceMappingURL=types.js.map
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -11,10 +11,9 @@
|
|
|
11
11
|
* - `ENGINE_MESSAGE_PARAMS` — для каждого ключа имена {param}-плейсхолдеров en-шаблона.
|
|
12
12
|
* - `extractParams` — утилита извлечения плейсхолдеров (без логики движка).
|
|
13
13
|
*/
|
|
14
|
-
export declare const ENGINE_MESSAGE_KEYS: readonly ["session.max_iterations", "session.stopped", "session.stopped_reason_denied", "session.denied_blocked", "session.empty_response", "session.dialog_title", "session.default_title", "session.reference_label", "session.reference_link", "session.retry_cancelled", "session.subtask_title", "task.stopped_by_user", "task.stopped_before_completion", "task.stopped_by_deny", "task.empty_response", "task.subagent_exec_error", "task.subagent_not_found", "task.subagent_not_allowed", "task.deps_unavailable", "task.subagent_exec_error_after_retries", "task.resume_marker", "task.resume_result", "task.resume_failed", "task.resume_aborted", "task.resume_session_not_found", "task.resume_no_parent", "task.resume_parent_not_found", "task.resume_locked", "task.resume_agent_not_found", "task.resume_provider_unavailable", "tool.args_error", "tool.exec_error", "tool.not_found", "tool.permission_denied_default", "tool.doom_loop", "tool.empty_output", "tool.output_truncated", "tool.shell_error", "tool.command_failed_default", "tool.aborted", "fs.file_written", "fs.file_edited", "fs.replace_not_found", "fs.replace_multiple", "fs.dir_created", "fs.file_deleted", "fsread.empty_directory", "fsread.no_files", "fsread.glob_error", "web.duckduckgo_blocked", "web.search_failed", "web.search_results", "web.fetch_args_url_required", "web.js_framework_warning", "web.low_content_warning", "web.content_truncated", "web.block_timeout", "web.block_error", "web.fetch_all_failed", "web.no_results", "web.search_error", "search.no_matches", "search.matches_truncated", "search.rg_not_installed", "search.error", "plan.enter_success", "plan.exit_success", "plan.session_manager_unavailable", "plan.enter_failed", "plan.exit_failed", "plan.project_store_unavailable", "plan.no_project", "plan.no_project_read", "plan.column_not_found", "plan.item_not_found", "plan.save_error", "plan.markdown_title", "plan.markdown_empty", "plan.markdown_column_empty", "plan.markdown_dependencies", "plan.default_column_backlog", "plan.default_column_todo", "plan.default_column_in_progress", "plan.default_column_done", "todo.save_error", "todo.read_error", "todo.list_empty", "todo.list", "todo.item_not_found", "todo.items_not_found", "todo.status_pending", "todo.status_in_progress", "todo.status_completed", "todo.status_cancelled", "todo.priority_high", "todo.priority_medium", "todo.priority_low", "project.deps_unavailable", "project.session_read_error", "project.session_not_found", "project.save_error", "project.created", "project.read_error", "project.not_found", "project.attached", "project.log_no_project", "project.log_save_error", "project.log_added", "project.log_empty", "project.log_list", "project.invariants_no_project", "project.invariants_empty", "project.invariants_saved", "project.invariants_save_error", "projectctx.info_title", "projectctx.info_id", "projectctx.info_workspace", "projectctx.info_description", "projectctx.not_found", "projectctx.missing", "projectctx.working_dir", "projectctx.no_plan_hint", "projectctx.git_section", "projectctx.repo_branch", "projectctx.repo_remote", "projectctx.repo_state", "projectctx.repo_state_dirty", "projectctx.repo_state_clean", "projectctx.repo_last_commit", "projectctx.repos_title", "projectctx.repo_not_found", "projectctx.repos_none", "projectctx.repos_found", "tool.classified", "reference.session_manager_unavailable", "reference.session_not_found", "reference.no_messages", "reference.session_title", "permission.yolo_auto_approved", "permission.plan_write_blocked", "permission.plan_source_mode", "permission.plan_source_strict", "permission.plan_shell_denied", "permission.mcp_unavailable", "permission.no_rules", "permission.rule_matched", "permission.rule_pattern_matched", "permission.rule_prefix_matched", "permission.rule_command_matched", "permission.ask_timeout", "permission.ask_no_subscribers", "permission.ask_denied", "shellguard.allow_default", "shellguard.deny_prefix", "shellguard.deny_path", "shellguard.ask_path", "shellguard.deny_dir", "protectedpaths.unresolvable", "protectedpaths.dynamic", "protectedpaths.allow_default", "security.warn_prefix", "security.injection_blocked", "gateway.input_blocked", "gateway.rate_limit_warning", "gateway.output_secrets_reason", "router.timeout", "router.network_error", "router.provider_not_found", "router.provider_unspecified", "router.escalation", "router.context_length_exceeded", "router.rate_limit_exceeded", "qc.min_length_ok", "qc.min_length_fail_detail", "qc.min_length_fail", "qc.constraint_empty", "qc.constraint_parse_error", "qc.constraint_ok", "qc.self_check_skipped", "qc.self_check_unparsed", "qc.self_check_low", "qc.self_check_low_reason", "qc.self_check_ok", "qc.self_check_error", "qc.all_passed", "micro.greeting", "micro.farewell", "micro.thanks", "micro.enum.yes", "micro.enum.no", "micro.enum.approve", "micro.enum.reject", "micro.enum.mode_plan", "micro.enum.mode_act", "micro.intent.question", "micro.intent.command", "micro.intent.review", "micro.intent.explain", "micro.intent.debug", "micro.intent.fix", "micro.intent.test"];
|
|
14
|
+
export declare const ENGINE_MESSAGE_KEYS: readonly ["session.max_iterations", "session.stopped", "session.stopped_reason_denied", "session.denied_blocked", "session.empty_response", "session.dialog_title", "session.default_title", "session.reference_label", "session.reference_link", "session.retry_cancelled", "session.subtask_title", "task.stopped_by_user", "task.stopped_before_completion", "task.stopped_by_deny", "task.empty_response", "task.subagent_exec_error", "task.subagent_not_found", "task.subagent_not_allowed", "task.deps_unavailable", "task.subagent_exec_error_after_retries", "task.resume_marker", "task.resume_result", "task.resume_failed", "task.resume_aborted", "task.resume_session_not_found", "task.resume_no_parent", "task.resume_parent_not_found", "task.resume_locked", "task.resume_agent_not_found", "task.resume_provider_unavailable", "tool.args_error", "tool.exec_error", "tool.not_found", "tool.permission_denied_default", "tool.doom_loop", "tool.empty_output", "tool.output_truncated", "tool.shell_error", "tool.command_failed_default", "tool.aborted", "tool.binary_missing", "fs.file_written", "fs.file_edited", "fs.replace_not_found", "fs.replace_multiple", "fs.dir_created", "fs.file_deleted", "fsread.empty_directory", "fsread.no_files", "fsread.glob_error", "web.duckduckgo_blocked", "web.search_failed", "web.search_results", "web.fetch_args_url_required", "web.js_framework_warning", "web.low_content_warning", "web.content_truncated", "web.block_timeout", "web.block_error", "web.fetch_all_failed", "web.no_results", "web.search_error", "search.no_matches", "search.matches_truncated", "search.rg_not_installed", "search.error", "plan.enter_success", "plan.exit_success", "plan.session_manager_unavailable", "plan.enter_failed", "plan.exit_failed", "plan.project_store_unavailable", "plan.no_project", "plan.no_project_read", "plan.column_not_found", "plan.item_not_found", "plan.save_error", "plan.markdown_title", "plan.markdown_empty", "plan.markdown_column_empty", "plan.markdown_dependencies", "plan.default_column_backlog", "plan.default_column_todo", "plan.default_column_in_progress", "plan.default_column_done", "todo.save_error", "todo.read_error", "todo.list_empty", "todo.list", "todo.item_not_found", "todo.items_not_found", "todo.status_pending", "todo.status_in_progress", "todo.status_completed", "todo.status_cancelled", "todo.priority_high", "todo.priority_medium", "todo.priority_low", "project.deps_unavailable", "project.session_read_error", "project.session_not_found", "project.save_error", "project.workspace_create_error", "project.created", "project.read_error", "project.not_found", "project.attached", "project.log_no_project", "project.log_save_error", "project.log_added", "project.log_empty", "project.log_list", "project.invariants_no_project", "project.invariants_empty", "project.invariants_saved", "project.invariants_save_error", "project.write_forbidden", "project.updated", "project.updated_ok", "project.invalid_icon", "project.invalid_color", "project.no_project", "project.workspace_set", "project.workspace_invalid", "project.workspace_denied", "project.workspace_confirm_required", "project.workspace_missing", "project.repo_cloned", "project.repo_initialized", "project.repo_registered", "project.repo_fetched", "project.repo_removed", "project.repo_not_found", "projectctx.info_title", "projectctx.info_id", "projectctx.info_workspace", "projectctx.info_description", "projectctx.not_found", "projectctx.missing", "projectctx.working_dir", "projectctx.no_plan_hint", "projectctx.git_section", "projectctx.repo_branch", "projectctx.repo_remote", "projectctx.repo_state", "projectctx.repo_state_dirty", "projectctx.repo_state_clean", "projectctx.repo_last_commit", "projectctx.repos_title", "projectctx.repo_not_found", "projectctx.repos_none", "projectctx.repos_found", "projectctx.repo_destination", "projectctx.repo_name", "projectctx.repo_url", "projectctx.repo_type", "projectctx.repo_default_branch", "projectctx.repo_ssh_key", "projectctx.repo_last_fetch", "tool.classified", "reference.session_manager_unavailable", "reference.session_not_found", "reference.no_messages", "reference.session_title", "permission.yolo_auto_approved", "permission.plan_write_blocked", "permission.plan_source_mode", "permission.plan_source_strict", "permission.plan_shell_denied", "permission.mcp_unavailable", "permission.dep_unavailable", "permission.no_rules", "permission.rule_matched", "permission.rule_pattern_matched", "permission.rule_prefix_matched", "permission.rule_command_matched", "permission.ask_timeout", "permission.ask_no_subscribers", "permission.ask_denied", "shellguard.allow_default", "shellguard.deny_prefix", "shellguard.deny_path", "shellguard.ask_path", "shellguard.deny_dir", "protectedpaths.unresolvable", "protectedpaths.dynamic", "protectedpaths.allow_default", "security.warn_prefix", "security.injection_blocked", "gateway.input_blocked", "gateway.rate_limit_warning", "gateway.output_secrets_reason", "router.timeout", "router.network_error", "router.provider_not_found", "router.provider_unspecified", "router.escalation", "router.context_length_exceeded", "router.rate_limit_exceeded", "qc.min_length_ok", "qc.min_length_fail_detail", "qc.min_length_fail", "qc.constraint_empty", "qc.constraint_parse_error", "qc.constraint_ok", "qc.self_check_skipped", "qc.self_check_unparsed", "qc.self_check_low", "qc.self_check_low_reason", "qc.self_check_ok", "qc.self_check_error", "qc.all_passed", "micro.greeting", "micro.farewell", "micro.thanks", "micro.enum.yes", "micro.enum.no", "micro.enum.approve", "micro.enum.reject", "micro.enum.mode_plan", "micro.enum.mode_act", "micro.intent.question", "micro.intent.command", "micro.intent.review", "micro.intent.explain", "micro.intent.debug", "micro.intent.fix", "micro.intent.test", "skill.args_error", "skill.not_found", "skill.untrusted", "skill.delegation", "skill.file_not_found", "skill.scope_disabled", "command.unknown", "command.denied", "command.unavailable", "command.help", "command.list_empty", "command.skills_empty", "command.summary_enqueued", "command.summary_unavailable", "command.inline_shell_disabled", "command.inline_shell_denied", "command.inline_shell_failed", "command.inline_shell_truncated", "command.inline_shell_unavailable", "sshkey.not_found", "sshkey.name_exists", "sshkey.encryption_unavailable", "sshkey.decrypt_failed", "sshkey.env_failed", "git.ssh_key_required", "git.repo_path_invalid", "git.repo_exists"];
|
|
15
15
|
export type EngineMessageKey = (typeof ENGINE_MESSAGE_KEYS)[number];
|
|
16
16
|
export declare const ENGINE_MESSAGE_PARAMS: Record<EngineMessageKey, readonly string[]>;
|
|
17
17
|
/** Достаёт имена {param}-плейсхолдеров из шаблона. Уникальные, в порядке появления. */
|
|
18
18
|
export declare function extractParams(template: string): string[];
|
|
19
19
|
export type { MessageI18n } from '../types/index.js';
|
|
20
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/i18n/index.js
CHANGED
|
@@ -52,6 +52,7 @@ export const ENGINE_MESSAGE_KEYS = [
|
|
|
52
52
|
'tool.shell_error',
|
|
53
53
|
'tool.command_failed_default',
|
|
54
54
|
'tool.aborted',
|
|
55
|
+
'tool.binary_missing',
|
|
55
56
|
'fs.file_written',
|
|
56
57
|
'fs.file_edited',
|
|
57
58
|
'fs.replace_not_found',
|
|
@@ -113,6 +114,7 @@ export const ENGINE_MESSAGE_KEYS = [
|
|
|
113
114
|
'project.session_read_error',
|
|
114
115
|
'project.session_not_found',
|
|
115
116
|
'project.save_error',
|
|
117
|
+
'project.workspace_create_error',
|
|
116
118
|
'project.created',
|
|
117
119
|
'project.read_error',
|
|
118
120
|
'project.not_found',
|
|
@@ -126,6 +128,23 @@ export const ENGINE_MESSAGE_KEYS = [
|
|
|
126
128
|
'project.invariants_empty',
|
|
127
129
|
'project.invariants_saved',
|
|
128
130
|
'project.invariants_save_error',
|
|
131
|
+
'project.write_forbidden',
|
|
132
|
+
'project.updated',
|
|
133
|
+
'project.updated_ok',
|
|
134
|
+
'project.invalid_icon',
|
|
135
|
+
'project.invalid_color',
|
|
136
|
+
'project.no_project',
|
|
137
|
+
'project.workspace_set',
|
|
138
|
+
'project.workspace_invalid',
|
|
139
|
+
'project.workspace_denied',
|
|
140
|
+
'project.workspace_confirm_required',
|
|
141
|
+
'project.workspace_missing',
|
|
142
|
+
'project.repo_cloned',
|
|
143
|
+
'project.repo_initialized',
|
|
144
|
+
'project.repo_registered',
|
|
145
|
+
'project.repo_fetched',
|
|
146
|
+
'project.repo_removed',
|
|
147
|
+
'project.repo_not_found',
|
|
129
148
|
'projectctx.info_title',
|
|
130
149
|
'projectctx.info_id',
|
|
131
150
|
'projectctx.info_workspace',
|
|
@@ -145,6 +164,13 @@ export const ENGINE_MESSAGE_KEYS = [
|
|
|
145
164
|
'projectctx.repo_not_found',
|
|
146
165
|
'projectctx.repos_none',
|
|
147
166
|
'projectctx.repos_found',
|
|
167
|
+
'projectctx.repo_destination',
|
|
168
|
+
'projectctx.repo_name',
|
|
169
|
+
'projectctx.repo_url',
|
|
170
|
+
'projectctx.repo_type',
|
|
171
|
+
'projectctx.repo_default_branch',
|
|
172
|
+
'projectctx.repo_ssh_key',
|
|
173
|
+
'projectctx.repo_last_fetch',
|
|
148
174
|
'tool.classified',
|
|
149
175
|
'reference.session_manager_unavailable',
|
|
150
176
|
'reference.session_not_found',
|
|
@@ -156,6 +182,7 @@ export const ENGINE_MESSAGE_KEYS = [
|
|
|
156
182
|
'permission.plan_source_strict',
|
|
157
183
|
'permission.plan_shell_denied',
|
|
158
184
|
'permission.mcp_unavailable',
|
|
185
|
+
'permission.dep_unavailable',
|
|
159
186
|
'permission.no_rules',
|
|
160
187
|
'permission.rule_matched',
|
|
161
188
|
'permission.rule_pattern_matched',
|
|
@@ -213,6 +240,37 @@ export const ENGINE_MESSAGE_KEYS = [
|
|
|
213
240
|
'micro.intent.debug',
|
|
214
241
|
'micro.intent.fix',
|
|
215
242
|
'micro.intent.test',
|
|
243
|
+
// --- Скиллы (AD-046) ---
|
|
244
|
+
'skill.args_error',
|
|
245
|
+
'skill.not_found',
|
|
246
|
+
'skill.untrusted',
|
|
247
|
+
'skill.delegation',
|
|
248
|
+
'skill.file_not_found',
|
|
249
|
+
'skill.scope_disabled',
|
|
250
|
+
// --- Slash-команды (AD-046 §7) ---
|
|
251
|
+
'command.unknown',
|
|
252
|
+
'command.denied',
|
|
253
|
+
'command.unavailable',
|
|
254
|
+
'command.help',
|
|
255
|
+
'command.list_empty',
|
|
256
|
+
'command.skills_empty',
|
|
257
|
+
'command.summary_enqueued',
|
|
258
|
+
'command.summary_unavailable',
|
|
259
|
+
// --- Inline shell (AD-046 §7.4) ---
|
|
260
|
+
'command.inline_shell_disabled',
|
|
261
|
+
'command.inline_shell_denied',
|
|
262
|
+
'command.inline_shell_failed',
|
|
263
|
+
'command.inline_shell_truncated',
|
|
264
|
+
'command.inline_shell_unavailable',
|
|
265
|
+
// --- Git-репозитории и SSH-ключи (AD-076) ---
|
|
266
|
+
'sshkey.not_found',
|
|
267
|
+
'sshkey.name_exists',
|
|
268
|
+
'sshkey.encryption_unavailable',
|
|
269
|
+
'sshkey.decrypt_failed',
|
|
270
|
+
'sshkey.env_failed',
|
|
271
|
+
'git.ssh_key_required',
|
|
272
|
+
'git.repo_path_invalid',
|
|
273
|
+
'git.repo_exists',
|
|
216
274
|
];
|
|
217
275
|
export const ENGINE_MESSAGE_PARAMS = {
|
|
218
276
|
'session.max_iterations': [],
|
|
@@ -255,6 +313,7 @@ export const ENGINE_MESSAGE_PARAMS = {
|
|
|
255
313
|
'tool.shell_error': ["message"],
|
|
256
314
|
'tool.command_failed_default': [],
|
|
257
315
|
'tool.aborted': [],
|
|
316
|
+
'tool.binary_missing': ["tool", "binary"],
|
|
258
317
|
'fs.file_written': ["path", "lines", "bytes"],
|
|
259
318
|
'fs.file_edited': ["path", "count"],
|
|
260
319
|
'fs.replace_not_found': ["path"],
|
|
@@ -316,6 +375,7 @@ export const ENGINE_MESSAGE_PARAMS = {
|
|
|
316
375
|
'project.session_read_error': [],
|
|
317
376
|
'project.session_not_found': [],
|
|
318
377
|
'project.save_error': ["error"],
|
|
378
|
+
'project.workspace_create_error': ["error"],
|
|
319
379
|
'project.created': ["name", "json"],
|
|
320
380
|
'project.read_error': [],
|
|
321
381
|
'project.not_found': ["id"],
|
|
@@ -329,6 +389,23 @@ export const ENGINE_MESSAGE_PARAMS = {
|
|
|
329
389
|
'project.invariants_empty': [],
|
|
330
390
|
'project.invariants_saved': [],
|
|
331
391
|
'project.invariants_save_error': ["error"],
|
|
392
|
+
'project.write_forbidden': [],
|
|
393
|
+
'project.updated': [],
|
|
394
|
+
'project.updated_ok': ["name"],
|
|
395
|
+
'project.invalid_icon': ["value", "allowed"],
|
|
396
|
+
'project.invalid_color': ["value", "allowed"],
|
|
397
|
+
'project.no_project': [],
|
|
398
|
+
'project.workspace_set': ["dir"],
|
|
399
|
+
'project.workspace_invalid': [],
|
|
400
|
+
'project.workspace_denied': [],
|
|
401
|
+
'project.workspace_confirm_required': [],
|
|
402
|
+
'project.workspace_missing': [],
|
|
403
|
+
'project.repo_cloned': ["path"],
|
|
404
|
+
'project.repo_initialized': ["path"],
|
|
405
|
+
'project.repo_registered': ["path"],
|
|
406
|
+
'project.repo_fetched': ["path"],
|
|
407
|
+
'project.repo_removed': ["path"],
|
|
408
|
+
'project.repo_not_found': ["path"],
|
|
332
409
|
'projectctx.info_title': ["name"],
|
|
333
410
|
'projectctx.info_id': ["id"],
|
|
334
411
|
'projectctx.info_workspace': ["dir"],
|
|
@@ -348,6 +425,13 @@ export const ENGINE_MESSAGE_PARAMS = {
|
|
|
348
425
|
'projectctx.repo_not_found': ["path"],
|
|
349
426
|
'projectctx.repos_none': ["dir"],
|
|
350
427
|
'projectctx.repos_found': ["dir"],
|
|
428
|
+
'projectctx.repo_destination': ["dir"],
|
|
429
|
+
'projectctx.repo_name': ["name"],
|
|
430
|
+
'projectctx.repo_url': ["url"],
|
|
431
|
+
'projectctx.repo_type': ["type"],
|
|
432
|
+
'projectctx.repo_default_branch': ["branch"],
|
|
433
|
+
'projectctx.repo_ssh_key': ["id"],
|
|
434
|
+
'projectctx.repo_last_fetch': ["time"],
|
|
351
435
|
'tool.classified': ["category"],
|
|
352
436
|
'reference.session_manager_unavailable': [],
|
|
353
437
|
'reference.session_not_found': ["id"],
|
|
@@ -359,6 +443,7 @@ export const ENGINE_MESSAGE_PARAMS = {
|
|
|
359
443
|
'permission.plan_source_strict': [],
|
|
360
444
|
'permission.plan_shell_denied': [],
|
|
361
445
|
'permission.mcp_unavailable': ["mode"],
|
|
446
|
+
'permission.dep_unavailable': ["binary"],
|
|
362
447
|
'permission.no_rules': ["tool"],
|
|
363
448
|
'permission.rule_matched': ["key", "action"],
|
|
364
449
|
'permission.rule_pattern_matched': ["key", "pattern", "action", "path"],
|
|
@@ -416,6 +501,37 @@ export const ENGINE_MESSAGE_PARAMS = {
|
|
|
416
501
|
'micro.intent.debug': [],
|
|
417
502
|
'micro.intent.fix': [],
|
|
418
503
|
'micro.intent.test': [],
|
|
504
|
+
// --- Скиллы (AD-046) ---
|
|
505
|
+
'skill.args_error': ["issues"],
|
|
506
|
+
'skill.not_found': ["name"],
|
|
507
|
+
'skill.untrusted': ["name"],
|
|
508
|
+
'skill.delegation': ["name", "capabilities", "agent"],
|
|
509
|
+
'skill.file_not_found': ["path"],
|
|
510
|
+
'skill.scope_disabled': ["name", "reason"],
|
|
511
|
+
// --- Slash-команды (AD-046 §7) ---
|
|
512
|
+
'command.unknown': ["name"],
|
|
513
|
+
'command.denied': ["name"],
|
|
514
|
+
'command.unavailable': ["name", "capabilities"],
|
|
515
|
+
'command.help': [],
|
|
516
|
+
'command.list_empty': [],
|
|
517
|
+
'command.skills_empty': [],
|
|
518
|
+
'command.summary_enqueued': [],
|
|
519
|
+
'command.summary_unavailable': [],
|
|
520
|
+
// --- Inline shell (AD-046 §7.4) ---
|
|
521
|
+
'command.inline_shell_disabled': [],
|
|
522
|
+
'command.inline_shell_denied': ["command", "reason"],
|
|
523
|
+
'command.inline_shell_failed': ["output"],
|
|
524
|
+
'command.inline_shell_truncated': ["limit"],
|
|
525
|
+
'command.inline_shell_unavailable': [],
|
|
526
|
+
// --- Git-репозитории и SSH-ключи (AD-076) ---
|
|
527
|
+
'sshkey.not_found': ["id"],
|
|
528
|
+
'sshkey.name_exists': ["name"],
|
|
529
|
+
'sshkey.encryption_unavailable': [],
|
|
530
|
+
'sshkey.decrypt_failed': ["id"],
|
|
531
|
+
'sshkey.env_failed': [],
|
|
532
|
+
'git.ssh_key_required': ["path"],
|
|
533
|
+
'git.repo_path_invalid': ["path"],
|
|
534
|
+
'git.repo_exists': ["path"],
|
|
419
535
|
};
|
|
420
536
|
/** Достаёт имена {param}-плейсхолдеров из шаблона. Уникальные, в порядке появления. */
|
|
421
537
|
export function extractParams(template) {
|
|
@@ -432,4 +548,3 @@ export function extractParams(template) {
|
|
|
432
548
|
}
|
|
433
549
|
return out;
|
|
434
550
|
}
|
|
435
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ export * from './interfaces/index.js';
|
|
|
5
5
|
export * from './schemas/index.js';
|
|
6
6
|
export * from './protocols/index.js';
|
|
7
7
|
export * from './utils/index.js';
|
|
8
|
+
export * from './skills/frontmatter.js';
|
|
8
9
|
export { SYNTH_VERSION } from './version.js';
|
|
9
10
|
export * from './model-metadata.js';
|
|
10
|
-
export { type SynthConfig, type ServerConfig, type StorageConfig, type AuthConfig as SynthAuthConfig, type LLMConfig, type CoreConfig, type RunnerConfig, type UIConfig, type I18nConfig, type LoggingConfig, type TsmConfig, type ContextConfigSchema, type SummarizationConfig, type McpServerConfig, type McpConfig, type ToolsDisabledConfig, toolsDisabledConfigSchema, type RouterConfig, type RouterContentConfig, type RouterEscalationConfig, type RouterCostConfig, type RouterSubagentConfig, type RemoteConfig, type MicroFirstConfig, type SecurityConfig, type PromptInjectionConfig, type ProtectedPathsConfig, type LLMGatewayConfig, type LLMGatewayRateLimitConfig, type LLMGatewayAuditConfig, } from './config/index.js';
|
|
11
|
+
export { type SynthConfig, type ServerConfig, type StorageConfig, type AuthConfig as SynthAuthConfig, type LLMConfig, type CoreConfig, type RunnerConfig, type UIConfig, type I18nConfig, type LoggingConfig, type TsmConfig, type ContextConfigSchema, type SummarizationConfig, type McpServerConfig, type McpConfig, type ToolsDisabledConfig, toolsDisabledConfigSchema, type SkillsConfig, skillsConfigSchema, type CommandsConfig, commandsConfigSchema, type InstructionsConfig, type InstructionsLazyConfig, type InstructionsFetchConfig, type InstructionSourceConfig, instructionsConfigSchema, instructionSourceConfigSchema, type RouterConfig, type RouterContentConfig, type RouterEscalationConfig, type RouterCostConfig, type RouterSubagentConfig, type RemoteConfig, type MicroFirstConfig, type SecurityConfig, type PromptInjectionConfig, type ProtectedPathsConfig, type LLMGatewayConfig, type LLMGatewayRateLimitConfig, type LLMGatewayAuditConfig, } from './config/index.js';
|
|
11
12
|
export { defaultConfig, loadConfig } from './config/index.js';
|
|
12
|
-
export { resolveDataDir, resolvePort, resolveWorkspacesRoot, resolveDefaultWorkspace, ensureDataDir, createDefaultConfig, resolveDeployMode, findConfigPath, defaultConfigPath, ensureConfigFile, ensureFirstRun } from './config/index.js';
|
|
13
|
+
export { resolveDataDir, resolvePort, resolveWorkspacesRoot, resolveDefaultWorkspace, resolveWorkspaceOutsideRootPolicy, resolveSecretKey, resolveHome, resolveProfilesPath, resolveCredentialsPath, ensureDataDir, createDefaultConfig, resolveDeployMode, findConfigPath, defaultConfigPath, ensureConfigFile, ensureFirstRun } from './config/index.js';
|
|
13
14
|
export type { DeployMode } from './config/index.js';
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -6,10 +6,10 @@ export * from './interfaces/index.js';
|
|
|
6
6
|
export * from './schemas/index.js';
|
|
7
7
|
export * from './protocols/index.js';
|
|
8
8
|
export * from './utils/index.js';
|
|
9
|
+
export * from './skills/frontmatter.js';
|
|
9
10
|
export { SYNTH_VERSION } from './version.js';
|
|
10
11
|
export * from './model-metadata.js';
|
|
11
12
|
// Конфигурация — выборочный экспорт (избегаем конфликта AuthConfig/TestUser)
|
|
12
|
-
export { toolsDisabledConfigSchema, } from './config/index.js';
|
|
13
|
+
export { toolsDisabledConfigSchema, skillsConfigSchema, commandsConfigSchema, instructionsConfigSchema, instructionSourceConfigSchema, } from './config/index.js';
|
|
13
14
|
export { defaultConfig, loadConfig } from './config/index.js';
|
|
14
|
-
export { resolveDataDir, resolvePort, resolveWorkspacesRoot, resolveDefaultWorkspace, ensureDataDir, createDefaultConfig, resolveDeployMode, findConfigPath, defaultConfigPath, ensureConfigFile, ensureFirstRun } from './config/index.js';
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
15
|
+
export { resolveDataDir, resolvePort, resolveWorkspacesRoot, resolveDefaultWorkspace, resolveWorkspaceOutsideRootPolicy, resolveSecretKey, resolveHome, resolveProfilesPath, resolveCredentialsPath, ensureDataDir, createDefaultConfig, resolveDeployMode, findConfigPath, defaultConfigPath, ensureConfigFile, ensureFirstRun } from './config/index.js';
|
package/dist/interfaces/index.js
CHANGED
package/dist/model-metadata.d.ts
CHANGED
package/dist/model-metadata.js
CHANGED
package/dist/protocols/index.js
CHANGED