flavor-code 1.2.15 → 1.2.16
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/{app-3KW2FTVJ.js → app-7ZCJ3UOI.js} +1 -1
- package/dist/auth/store.d.ts +7 -0
- package/dist/{chunk-5TG3E2EJ.js → chunk-5SRARNAC.js} +79 -5
- package/dist/{chunk-BKARQJQZ.js → chunk-PGS3M32Y.js} +1 -1
- package/dist/cli.js +3 -3
- package/dist/desktop/main.js +90 -6
- package/dist/desktop/preload.cjs +2 -0
- package/dist/desktop-renderer/assets/index-BmXr_vX3.js +151 -0
- package/dist/desktop-renderer/assets/{index-CPxt3vFY.css → index-DEL8gXBO.css} +1 -1
- package/dist/desktop-renderer/index.html +2 -2
- package/dist/sdk/index.js +2 -2
- package/dist/tools/shell.d.ts +11 -0
- package/dist/ui/commands.d.ts +1 -1
- package/dist/ui/session.d.ts +1 -0
- package/package.json +1 -1
- package/dist/desktop-renderer/assets/index-BCJjMvbX.js +0 -151
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<meta name="color-scheme" content="light" />
|
|
7
7
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self' http://127.0.0.1:* http://localhost:* ws://127.0.0.1:* ws://localhost:*; frame-src http://127.0.0.1:* http://localhost:*" />
|
|
8
8
|
<title>Flavor Code</title>
|
|
9
|
-
<script type="module" crossorigin src="./assets/index-
|
|
10
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
9
|
+
<script type="module" crossorigin src="./assets/index-BmXr_vX3.js"></script>
|
|
10
|
+
<link rel="stylesheet" crossorigin href="./assets/index-DEL8gXBO.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
13
13
|
<div id="root"></div>
|
package/dist/sdk/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
FlavorRpcServer,
|
|
5
5
|
TraceRecordSchema,
|
|
6
6
|
TraceRecorder
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-PGS3M32Y.js";
|
|
8
8
|
import {
|
|
9
9
|
AgentMessageQueue,
|
|
10
10
|
DockerExecutionEnvironment,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
WorkspaceCheckpointStore,
|
|
14
14
|
buildDockerInvocation,
|
|
15
15
|
createProductionRuntime
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-5SRARNAC.js";
|
|
17
17
|
import "../chunk-IG4Z23CL.js";
|
|
18
18
|
import "../chunk-RQTYHUMK.js";
|
|
19
19
|
import "../chunk-S32JRDZK.js";
|
package/dist/tools/shell.d.ts
CHANGED
|
@@ -55,6 +55,17 @@ export declare function normalizeShellCommand(input: {
|
|
|
55
55
|
command: string;
|
|
56
56
|
args: string[];
|
|
57
57
|
};
|
|
58
|
+
type WindowsShellKind = "pwsh" | "powershell" | "cmd";
|
|
59
|
+
/**
|
|
60
|
+
* Build the command line handed to cmd.exe via `spawn(shell: true)` on Windows.
|
|
61
|
+
* `commandLine` is the pre-quoted line used directly for the cmd.exe fallback.
|
|
62
|
+
*
|
|
63
|
+
* For PowerShell we do not pass the raw line through cmd: `-EncodedCommand`
|
|
64
|
+
* (UTF-16LE base64) carries the script untouched, so arguments with spaces,
|
|
65
|
+
* quotes or `&` reach the child program exactly as given. `chcp 65001` keeps
|
|
66
|
+
* the console code page UTF-8 so redirected pipes decode consistently.
|
|
67
|
+
*/
|
|
68
|
+
export declare function buildWindowsCommandLine(kind: WindowsShellKind, commandLine: string, command: string, args: readonly string[]): string;
|
|
58
69
|
export declare function createShellTool(workspace: string, options?: ShellToolOptions): ShellTool;
|
|
59
70
|
export declare function executeShell(root: string, input: z.infer<typeof ShellInput>, cancellation: AbortSignal, maxBytes: number, onOutput?: (stream: "stdout" | "stderr", text: string) => void): Promise<ShellResult>;
|
|
60
71
|
export {};
|
package/dist/ui/commands.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const MVP_COMMANDS: readonly ["model", "init", "config", "login", "permissions", "skills", "plugins", "hooks", "tasks", "finish", "compact", "clear", "help", "exit", "audit", "usage", "loop", "goal", "evolve", "mcp", "commit", "review", "ide", "memory", "remember", "forget", "forget-cold", "checkpoint", "tree", "rewind", "unrevert", "fork", "pals", "chat", "co-work"];
|
|
1
|
+
export declare const MVP_COMMANDS: readonly ["model", "init", "config", "login", "logout", "permissions", "skills", "plugins", "hooks", "tasks", "finish", "compact", "clear", "help", "exit", "audit", "usage", "loop", "goal", "evolve", "mcp", "commit", "review", "ide", "memory", "remember", "forget", "forget-cold", "checkpoint", "tree", "rewind", "unrevert", "fork", "pals", "chat", "co-work"];
|
|
2
2
|
export declare const COMMAND_DESCRIPTIONS: Record<(typeof MVP_COMMANDS)[number], string>;
|
|
3
3
|
export type PermissionCommandMode = PermissionMode;
|
|
4
4
|
export type ModelRole = "main" | "subagent";
|
package/dist/ui/session.d.ts
CHANGED