@kubbisec/ai-linux-x64 0.1.22 → 0.1.23
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/bin/kubbisec +0 -0
- package/bundled/components/kubbisec-model-selector.d.ts +47 -34
- package/bundled/components/kubbisec-model-selector.js +187 -177
- package/bundled/config/config.d.ts +6 -6
- package/bundled/config/config.js +54 -52
- package/bundled/config/detect-local-llm-providers.d.ts +26 -16
- package/bundled/config/detect-local-llm-providers.js +130 -142
- package/bundled/config/ensure-kbs-project-settings.d.ts +8 -8
- package/bundled/config/ensure-kbs-project-settings.js +27 -28
- package/bundled/config/ensure-kubbisec-project-settings.d.ts +9 -9
- package/bundled/config/ensure-kubbisec-project-settings.js +62 -67
- package/bundled/config/extended-context.d.ts +5 -6
- package/bundled/config/extended-context.js +23 -22
- package/bundled/config/feature-flags.d.ts +10 -2
- package/bundled/config/feature-flags.js +8 -2
- package/bundled/config/format-kubbisec-footer-status.d.ts +1 -1
- package/bundled/config/format-kubbisec-footer-status.js +26 -31
- package/bundled/config/kubbisec-extension-manifest.d.ts +21 -2
- package/bundled/config/kubbisec-extension-manifest.js +19 -19
- package/bundled/config/llm-config-mutations.d.ts +51 -25
- package/bundled/config/llm-config-mutations.js +173 -182
- package/bundled/config/llm-config.d.ts +54 -41
- package/bundled/config/llm-config.js +199 -199
- package/bundled/config/llm-provider-catalog.d.ts +18 -15
- package/bundled/config/llm-provider-catalog.js +45 -46
- package/bundled/config/materialize-kubbisec-pi-resources.d.ts +1 -1
- package/bundled/config/materialize-kubbisec-pi-resources.js +173 -182
- package/bundled/config/register-custom-llm-providers.d.ts +11 -5
- package/bundled/config/register-custom-llm-providers.js +17 -15
- package/bundled/config/register-kubbisec-llm-provider.d.ts +14 -10
- package/bundled/config/register-kubbisec-llm-provider.js +50 -42
- package/bundled/config/resolve-agents-context-file.d.ts +1 -1
- package/bundled/config/resolve-agents-context-file.js +33 -34
- package/bundled/config/resource-budget.d.ts +12 -12
- package/bundled/config/resource-budget.js +28 -28
- package/bundled/config/sync-kubbisec-pi-models.d.ts +6 -3
- package/bundled/config/sync-kubbisec-pi-models.js +58 -58
- package/bundled/copy/cli-reference-index.d.ts +1 -1
- package/bundled/copy/cli-reference-index.js +1 -1
- package/bundled/copy/kubbisec-shell-copy.d.ts +11 -6
- package/bundled/copy/kubbisec-shell-copy.js +1 -1
- package/bundled/extensions/cli-local-shared.d.ts +56 -32
- package/bundled/extensions/cli-local-shared.js +135 -125
- package/bundled/extensions/kubbisec-aspm-local.extension.d.ts +18 -15
- package/bundled/extensions/kubbisec-aspm-local.extension.js +109 -106
- package/bundled/extensions/kubbisec-brand.extension.d.ts +1 -1
- package/bundled/extensions/kubbisec-brand.extension.js +25 -25
- package/bundled/extensions/kubbisec-byok-provider.extension.d.ts +1 -1
- package/bundled/extensions/kubbisec-byok-provider.extension.js +2 -2
- package/bundled/extensions/kubbisec-clarify.extension.d.ts +64 -35
- package/bundled/extensions/kubbisec-clarify.extension.js +323 -305
- package/bundled/extensions/kubbisec-exit.extension.d.ts +1 -1
- package/bundled/extensions/kubbisec-exit.extension.js +29 -32
- package/bundled/extensions/kubbisec-extended-context.extension.d.ts +1 -1
- package/bundled/extensions/kubbisec-extended-context.extension.js +56 -43
- package/bundled/extensions/kubbisec-footer.extension.d.ts +14 -14
- package/bundled/extensions/kubbisec-footer.extension.js +205 -215
- package/bundled/extensions/kubbisec-github-local.extension.d.ts +26 -18
- package/bundled/extensions/kubbisec-github-local.extension.js +430 -417
- package/bundled/extensions/kubbisec-llm-config.extension.d.ts +1 -1
- package/bundled/extensions/kubbisec-llm-config.extension.js +200 -181
- package/bundled/extensions/kubbisec-memory.extension.d.ts +9 -7
- package/bundled/extensions/kubbisec-memory.extension.js +88 -95
- package/bundled/extensions/kubbisec-naus-local.extension.d.ts +18 -15
- package/bundled/extensions/kubbisec-naus-local.extension.js +123 -103
- package/bundled/extensions/kubbisec-platform-tools.extension.d.ts +31 -21
- package/bundled/extensions/kubbisec-platform-tools.extension.js +152 -152
- package/bundled/extensions/kubbisec-runtime-status.extension.d.ts +10 -8
- package/bundled/extensions/kubbisec-runtime-status.extension.js +15 -13
- package/bundled/extensions/kubbisec-scope.extension.d.ts +12 -7
- package/bundled/extensions/kubbisec-scope.extension.js +13 -13
- package/bundled/extensions/kubbisec-skill-mentions.extension.d.ts +27 -16
- package/bundled/extensions/kubbisec-skill-mentions.extension.js +74 -64
- package/bundled/extensions/kubbisec-skill-telemetry.extension.d.ts +2 -3
- package/bundled/extensions/kubbisec-skill-telemetry.extension.js +59 -64
- package/bundled/extensions/kubbisec-theme-lock.extension.d.ts +1 -1
- package/bundled/extensions/kubbisec-theme-lock.extension.js +33 -34
- package/bundled/extensions/kubbisec-ui.extension.d.ts +1 -1
- package/bundled/extensions/kubbisec-ui.extension.js +90 -92
- package/bundled/extensions/kubbisec-workflow.extension.d.ts +20 -18
- package/bundled/extensions/kubbisec-workflow.extension.js +138 -140
- package/bundled/resolve-bundled-dist-root.js +121 -130
- package/bundled/skills/at-path-mentions.d.ts +1 -1
- package/bundled/skills/at-path-mentions.js +146 -153
- package/bundled/skills/chat-mention-render.d.ts +2 -2
- package/bundled/skills/chat-mention-render.js +121 -126
- package/bundled/skills/chat-mentions.d.ts +17 -8
- package/bundled/skills/chat-mentions.js +76 -76
- package/bundled/skills/list-bundled-skills.d.ts +3 -3
- package/bundled/skills/list-bundled-skills.js +33 -35
- package/bundled/skills/skill-mention.d.ts +10 -2
- package/bundled/skills/skill-mention.js +10 -2
- package/bundled/theme/clear-terminal.d.ts +1 -1
- package/bundled/theme/clear-terminal.js +3 -4
- package/bundled/theme/footer-render-hook.d.ts +1 -1
- package/bundled/theme/footer-render-hook.js +3 -3
- package/bundled/theme/kubbisec-brand-fg.d.ts +1 -1
- package/bundled/theme/kubbisec-brand-fg.js +2 -2
- package/bundled/theme/kubbisec-menu-themes.d.ts +7 -7
- package/bundled/theme/kubbisec-menu-themes.js +30 -31
- package/bundled/theme/kubbisec-theme-name.d.ts +1 -1
- package/bundled/theme/kubbisec-theme-name.js +1 -1
- package/bundled/theme/patch-pi-settings-theme.runtime.d.ts +1 -1
- package/bundled/theme/patch-pi-settings-theme.runtime.js +11 -10
- package/bundled/theme/render-compact-header.d.ts +13 -5
- package/bundled/theme/render-compact-header.js +126 -128
- package/bundled/workflow/session-workflow-mode.d.ts +1 -1
- package/bundled/workflow/session-workflow-mode.js +33 -33
- package/package.json +1 -1
|
@@ -2,49 +2,78 @@ import type { Component, TUI } from "@earendil-works/pi-tui";
|
|
|
2
2
|
import type { SessionQuestionnaire } from "../clarify/session-questionnaire.types.js";
|
|
3
3
|
export declare const CLARIFY_MUTATION_TOOLS: Set<string>;
|
|
4
4
|
export declare const CLARIFY_READ_ONLY_TOOLS: Set<string>;
|
|
5
|
-
export declare const CLARIFY_TOOL_BLOCK_REASON =
|
|
5
|
+
export declare const CLARIFY_TOOL_BLOCK_REASON =
|
|
6
|
+
"Complete o question\u00E1rio de escopo (use o painel acima ou escreva a resposta) antes de editar ficheiros.";
|
|
6
7
|
export declare function isClarifyMutationTool(toolName: string): boolean;
|
|
7
|
-
export declare function shouldBlockClarifyTool(
|
|
8
|
+
export declare function shouldBlockClarifyTool(
|
|
9
|
+
toolName: string,
|
|
10
|
+
gateActive: boolean,
|
|
11
|
+
questionnaire: SessionQuestionnaire | null,
|
|
12
|
+
): boolean;
|
|
8
13
|
export declare function detectChatMode(prompt: string): "plan" | "default";
|
|
9
14
|
export declare function buildClarifyContextMessage(questionnaire: SessionQuestionnaire): string;
|
|
10
15
|
export declare function syncClarifyUi(questionnaire: SessionQuestionnaire): void;
|
|
11
|
-
export declare function autoAskNextQuestion(
|
|
16
|
+
export declare function autoAskNextQuestion(
|
|
17
|
+
questionnaire: SessionQuestionnaire,
|
|
18
|
+
prompt: string,
|
|
19
|
+
): SessionQuestionnaire;
|
|
12
20
|
type ExtensionApi = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
on: (
|
|
22
|
+
event: string,
|
|
23
|
+
handler: (event: unknown, ctx: ExtensionContext) => undefined | Promise<unknown>,
|
|
24
|
+
) => void;
|
|
25
|
+
registerTool: (def: {
|
|
26
|
+
name: string;
|
|
27
|
+
label: string;
|
|
28
|
+
description: string;
|
|
29
|
+
parameters: unknown;
|
|
30
|
+
execute: (
|
|
31
|
+
toolCallId: string,
|
|
32
|
+
params: Record<string, unknown>,
|
|
33
|
+
signal: AbortSignal,
|
|
34
|
+
) => Promise<{
|
|
35
|
+
content: Array<{
|
|
36
|
+
type: "text";
|
|
37
|
+
text: string;
|
|
38
|
+
}>;
|
|
39
|
+
details?: unknown;
|
|
40
|
+
}>;
|
|
41
|
+
}) => void;
|
|
27
42
|
};
|
|
28
43
|
type ExtensionContext = {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
placement?: string;
|
|
39
|
-
}) => void;
|
|
44
|
+
hasUI: boolean;
|
|
45
|
+
cwd: string;
|
|
46
|
+
ui: {
|
|
47
|
+
notify: (message: string, level?: string) => void;
|
|
48
|
+
setStatus: (key: string, text: string | undefined) => void;
|
|
49
|
+
setWidget: (
|
|
50
|
+
id: string,
|
|
51
|
+
factory: (
|
|
52
|
+
tui: TUI,
|
|
40
53
|
theme: {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
54
|
+
fg: (role: string, text: string) => string;
|
|
55
|
+
bold?: (text: string) => string;
|
|
56
|
+
},
|
|
57
|
+
) => Component,
|
|
58
|
+
options?: {
|
|
59
|
+
placement?: string;
|
|
60
|
+
},
|
|
61
|
+
) => void;
|
|
62
|
+
theme: {
|
|
63
|
+
fg: (role: string, text: string) => string;
|
|
64
|
+
bold?: (text: string) => string;
|
|
44
65
|
};
|
|
66
|
+
};
|
|
45
67
|
};
|
|
46
|
-
export declare function updateClarifyStatus(
|
|
47
|
-
|
|
68
|
+
export declare function updateClarifyStatus(
|
|
69
|
+
ctx: ExtensionContext,
|
|
70
|
+
questionnaire: SessionQuestionnaire,
|
|
71
|
+
): void;
|
|
72
|
+
export declare function processClarifyPrompt(
|
|
73
|
+
questionnaire: SessionQuestionnaire,
|
|
74
|
+
prompt: string,
|
|
75
|
+
cwd: string,
|
|
76
|
+
clarifyMaxRounds: number,
|
|
77
|
+
): SessionQuestionnaire;
|
|
48
78
|
export default function kubbisecClarify(api: ExtensionApi): void;
|
|
49
|
-
|
|
50
|
-
//# sourceMappingURL=kubbisec-clarify.extension.d.ts.map
|
|
79
|
+
//# sourceMappingURL=kubbisec-clarify.extension.d.ts.map
|