happy-imou-cloud 2.1.1 → 2.1.2
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/happy-cloud.mjs +21 -21
- package/compat/acp-sdk-schema/index.js +27 -27
- package/compat/acp-sdk-schema/types.gen.js +2 -2
- package/compat/acp-sdk-schema/zod.gen.js +1553 -1553
- package/compat/ink-build/components/Cursor.d.ts +83 -83
- package/compat/ink-build/components/Cursor.js +52 -52
- package/compat/ink-build/components/CursorContext.d.ts +11 -11
- package/compat/ink-build/components/CursorContext.js +7 -7
- package/compat/ink-build/components/ErrorBoundary.d.ts +18 -18
- package/compat/ink-build/components/ErrorBoundary.js +22 -22
- package/compat/ink-build/hooks/use-cursor.d.ts +12 -12
- package/compat/ink-build/hooks/use-cursor.js +28 -28
- package/dist/{BaseReasoningProcessor-Dn9FxfxU.mjs → BaseReasoningProcessor-BaOWkVcu.mjs} +3 -3
- package/dist/{BaseReasoningProcessor-CBMK-8Gi.cjs → BaseReasoningProcessor-CzvqwxuY.cjs} +3 -3
- package/dist/ProviderSelectionHandler-Q8pl7e-d.mjs +261 -0
- package/dist/ProviderSelectionHandler-wwbfeK_s.cjs +265 -0
- package/dist/{api-DBy5lPZw.mjs → api-Cxifhw5r.mjs} +3 -3
- package/dist/{api-DId_j3C2.cjs → api-DZimmN4C.cjs} +2 -2
- package/dist/{command-CeaBwYCW.mjs → command-B6LM3Nml.mjs} +3 -3
- package/dist/{command-DwfUpmId.cjs → command-RcCJI1jl.cjs} +3 -3
- package/dist/{index-CuuYSKiv.cjs → index-Cuvs0lFS.cjs} +168 -75
- package/dist/{index-66vjECEd.mjs → index-Des7I5WX.mjs} +165 -72
- package/dist/index.cjs +3 -3
- package/dist/index.mjs +3 -3
- package/dist/lib.cjs +1 -1
- package/dist/lib.d.cts +36 -36
- package/dist/lib.d.mts +36 -36
- package/dist/lib.mjs +1 -1
- package/dist/{persistence-BOWh1NER.mjs → persistence-6d4U4Sh8.mjs} +1 -1
- package/dist/{persistence-Dzr6sFwD.cjs → persistence-C8-MtdQK.cjs} +1 -1
- package/dist/{registerKillSessionHandler-D4_wpN18.mjs → registerKillSessionHandler-BFBkz_XT.mjs} +417 -5
- package/dist/{registerKillSessionHandler-Dg_iRBPm.cjs → registerKillSessionHandler-BapPCRmp.cjs} +419 -4
- package/dist/{runClaude-B74dHAnQ.mjs → runClaude-CPV5Uap2.mjs} +34 -5
- package/dist/{runClaude-oIFzkfuU.cjs → runClaude-DVnqKa1q.cjs} +37 -8
- package/dist/{runCodex-D_9CuL6M.cjs → runCodex-Bzsp8gFO.cjs} +29 -21
- package/dist/{runCodex-mLHjsgVj.mjs → runCodex-CwtLSTMJ.mjs} +26 -18
- package/dist/{runGemini-CcWGezMt.cjs → runGemini-6Dwyk_Km.cjs} +267 -82
- package/dist/{runGemini-BMiho2ab.mjs → runGemini-Bmoxehlh.mjs} +267 -82
- package/package.json +9 -9
- package/scripts/build.mjs +68 -68
- package/scripts/ensureAcpSdkCompat.mjs +170 -172
- package/scripts/release-smoke.mjs +38 -35
- package/dist/ProviderSelectionHandler-BuXk-8ji.cjs +0 -680
- package/dist/ProviderSelectionHandler-CMaQThYO.mjs +0 -673
package/bin/happy-cloud.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import { execFileSync } from 'child_process';
|
|
4
|
-
import { fileURLToPath } from 'url';
|
|
5
|
-
import { join, dirname } from 'path';
|
|
6
|
-
import { ensureAcpSdkCompat } from '../scripts/ensureAcpSdkCompat.mjs';
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { execFileSync } from 'child_process';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
import { join, dirname } from 'path';
|
|
6
|
+
import { ensureAcpSdkCompat } from '../scripts/ensureAcpSdkCompat.mjs';
|
|
7
7
|
|
|
8
8
|
// Check if we're already running with the flags
|
|
9
9
|
const hasNoWarnings = process.execArgv.includes('--no-warnings');
|
|
10
10
|
const hasNoDeprecation = process.execArgv.includes('--no-deprecation');
|
|
11
11
|
|
|
12
|
-
if (!hasNoWarnings || !hasNoDeprecation) {
|
|
13
|
-
// Get path to the actual CLI entrypoint
|
|
14
|
-
const projectRoot = dirname(dirname(fileURLToPath(import.meta.url)));
|
|
15
|
-
const entrypoint = join(projectRoot, 'dist', 'index.mjs');
|
|
16
|
-
|
|
17
|
-
ensureAcpSdkCompat();
|
|
18
|
-
|
|
19
|
-
// Execute the actual CLI directly with the correct flags
|
|
20
|
-
try {
|
|
12
|
+
if (!hasNoWarnings || !hasNoDeprecation) {
|
|
13
|
+
// Get path to the actual CLI entrypoint
|
|
14
|
+
const projectRoot = dirname(dirname(fileURLToPath(import.meta.url)));
|
|
15
|
+
const entrypoint = join(projectRoot, 'dist', 'index.mjs');
|
|
16
|
+
|
|
17
|
+
ensureAcpSdkCompat();
|
|
18
|
+
|
|
19
|
+
// Execute the actual CLI directly with the correct flags
|
|
20
|
+
try {
|
|
21
21
|
execFileSync(process.execPath, [
|
|
22
22
|
'--no-warnings',
|
|
23
23
|
'--no-deprecation',
|
|
@@ -31,9 +31,9 @@ if (!hasNoWarnings || !hasNoDeprecation) {
|
|
|
31
31
|
// execFileSync throws if the process exits with non-zero
|
|
32
32
|
process.exit(error.status || 1);
|
|
33
33
|
}
|
|
34
|
-
} else {
|
|
35
|
-
// We're running Node with the flags we wanted, import the CLI entrypoint
|
|
36
|
-
// module to avoid creating a new process.
|
|
37
|
-
ensureAcpSdkCompat();
|
|
38
|
-
import("../dist/index.mjs");
|
|
39
|
-
}
|
|
34
|
+
} else {
|
|
35
|
+
// We're running Node with the flags we wanted, import the CLI entrypoint
|
|
36
|
+
// module to avoid creating a new process.
|
|
37
|
+
ensureAcpSdkCompat();
|
|
38
|
+
import("../dist/index.mjs");
|
|
39
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export const AGENT_METHODS = {
|
|
3
|
-
authenticate: "authenticate",
|
|
4
|
-
initialize: "initialize",
|
|
5
|
-
session_cancel: "session/cancel",
|
|
6
|
-
session_fork: "session/fork",
|
|
7
|
-
session_list: "session/list",
|
|
8
|
-
session_load: "session/load",
|
|
9
|
-
session_new: "session/new",
|
|
10
|
-
session_prompt: "session/prompt",
|
|
11
|
-
session_resume: "session/resume",
|
|
12
|
-
session_set_config_option: "session/set_config_option",
|
|
13
|
-
session_set_mode: "session/set_mode",
|
|
14
|
-
session_set_model: "session/set_model",
|
|
15
|
-
};
|
|
16
|
-
export const CLIENT_METHODS = {
|
|
17
|
-
fs_read_text_file: "fs/read_text_file",
|
|
18
|
-
fs_write_text_file: "fs/write_text_file",
|
|
19
|
-
session_request_permission: "session/request_permission",
|
|
20
|
-
session_update: "session/update",
|
|
21
|
-
terminal_create: "terminal/create",
|
|
22
|
-
terminal_kill: "terminal/kill",
|
|
23
|
-
terminal_output: "terminal/output",
|
|
24
|
-
terminal_release: "terminal/release",
|
|
25
|
-
terminal_wait_for_exit: "terminal/wait_for_exit",
|
|
26
|
-
};
|
|
27
|
-
export const PROTOCOL_VERSION = 1;
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export const AGENT_METHODS = {
|
|
3
|
+
authenticate: "authenticate",
|
|
4
|
+
initialize: "initialize",
|
|
5
|
+
session_cancel: "session/cancel",
|
|
6
|
+
session_fork: "session/fork",
|
|
7
|
+
session_list: "session/list",
|
|
8
|
+
session_load: "session/load",
|
|
9
|
+
session_new: "session/new",
|
|
10
|
+
session_prompt: "session/prompt",
|
|
11
|
+
session_resume: "session/resume",
|
|
12
|
+
session_set_config_option: "session/set_config_option",
|
|
13
|
+
session_set_mode: "session/set_mode",
|
|
14
|
+
session_set_model: "session/set_model",
|
|
15
|
+
};
|
|
16
|
+
export const CLIENT_METHODS = {
|
|
17
|
+
fs_read_text_file: "fs/read_text_file",
|
|
18
|
+
fs_write_text_file: "fs/write_text_file",
|
|
19
|
+
session_request_permission: "session/request_permission",
|
|
20
|
+
session_update: "session/update",
|
|
21
|
+
terminal_create: "terminal/create",
|
|
22
|
+
terminal_kill: "terminal/kill",
|
|
23
|
+
terminal_output: "terminal/output",
|
|
24
|
+
terminal_release: "terminal/release",
|
|
25
|
+
terminal_wait_for_exit: "terminal/wait_for_exit",
|
|
26
|
+
};
|
|
27
|
+
export const PROTOCOL_VERSION = 1;
|
|
28
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export {};
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export {};
|
|
3
3
|
//# sourceMappingURL=types.gen.js.map
|