happy-imou-cloud 2.1.37 → 2.1.38
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/{BaseReasoningProcessor-Do2r_eVW.cjs → BaseReasoningProcessor-e3WcqGAZ.cjs} +2 -2
- package/dist/{BaseReasoningProcessor-CotgApeZ.mjs → BaseReasoningProcessor-wTpEeecw.mjs} +2 -2
- package/dist/{ProviderSelectionHandler-CywTx_Df.cjs → ProviderSelectionHandler-C9BjSS3M.cjs} +2 -2
- package/dist/{ProviderSelectionHandler-CCsorkyV.mjs → ProviderSelectionHandler-HSpF64um.mjs} +2 -2
- package/dist/{api-CexMNqai.cjs → api-CbDy385l.cjs} +1 -1
- package/dist/{api-CMJhY7of.mjs → api-FwOO5yvL.mjs} +1 -1
- package/dist/{command-C2YB2hE-.mjs → command-D8dRpb8C.mjs} +2 -2
- package/dist/{command-Ct7Eeo2F.cjs → command-DIwit8GZ.cjs} +2 -2
- package/dist/{index-CQ2Yq72y.cjs → index-B-RcfyFb.cjs} +10 -10
- package/dist/{index-4t8rMnvz.mjs → index-DxyhhizE.mjs} +7 -7
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- 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/{registerKillSessionHandler-CLFQ8bQP.mjs → registerKillSessionHandler-BKUa-9cX.mjs} +246 -10
- package/dist/{registerKillSessionHandler-C1PIogKI.cjs → registerKillSessionHandler-CoYWZpXs.cjs} +249 -9
- package/dist/{runClaude-L4G4BbIJ.cjs → runClaude-CUhIl2_Q.cjs} +58 -20
- package/dist/{runClaude-BiFuU4AP.mjs → runClaude-CeuQr9rp.mjs} +58 -20
- package/dist/{runCodex-CaUoS6E4.cjs → runCodex-B56mNb9m.cjs} +58 -10
- package/dist/{runCodex-C0wjgp2b.mjs → runCodex-CKHSREhN.mjs} +58 -10
- package/dist/{runGemini-DxQX5VhV.mjs → runGemini-CQIufP_l.mjs} +79 -11
- package/dist/{runGemini-DhYi_crP.cjs → runGemini-DibV-eJ4.cjs} +79 -11
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var persistence = require('./api-
|
|
3
|
+
var index = require('./index-B-RcfyFb.cjs');
|
|
4
|
+
var persistence = require('./api-CbDy385l.cjs');
|
|
5
5
|
var node_events = require('node:events');
|
|
6
6
|
var node_crypto = require('node:crypto');
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as createSessionMetadata, p as publishSessionRegistration } from './index-
|
|
2
|
-
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-
|
|
1
|
+
import { a as createSessionMetadata, p as publishSessionRegistration } from './index-DxyhhizE.mjs';
|
|
2
|
+
import { s as startOfflineReconnection, c as configuration, i as isAuthenticationRequiredError, l as logger } from './api-FwOO5yvL.mjs';
|
|
3
3
|
import { EventEmitter } from 'node:events';
|
|
4
4
|
import { randomUUID } from 'node:crypto';
|
|
5
5
|
|
package/dist/{ProviderSelectionHandler-CywTx_Df.cjs → ProviderSelectionHandler-C9BjSS3M.cjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var persistence = require('./api-
|
|
4
|
-
var registerKillSessionHandler = require('./registerKillSessionHandler-
|
|
3
|
+
var persistence = require('./api-CbDy385l.cjs');
|
|
4
|
+
var registerKillSessionHandler = require('./registerKillSessionHandler-CoYWZpXs.cjs');
|
|
5
5
|
|
|
6
6
|
async function runModeLoop(opts) {
|
|
7
7
|
let currentMode = opts.startingMode;
|
package/dist/{ProviderSelectionHandler-CCsorkyV.mjs → ProviderSelectionHandler-HSpF64um.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as logger } from './api-
|
|
2
|
-
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-
|
|
1
|
+
import { l as logger } from './api-FwOO5yvL.mjs';
|
|
2
|
+
import { g as getPendingInteractionTimeoutMs, I as INTERACTION_SUPERSEDED_ERROR, a as INTERACTION_TIMED_OUT_ERROR } from './registerKillSessionHandler-BKUa-9cX.mjs';
|
|
3
3
|
|
|
4
4
|
async function runModeLoop(opts) {
|
|
5
5
|
let currentMode = opts.startingMode;
|
|
@@ -38,7 +38,7 @@ function _interopNamespaceDefault(e) {
|
|
|
38
38
|
var z__namespace = /*#__PURE__*/_interopNamespaceDefault(z);
|
|
39
39
|
|
|
40
40
|
var name = "happy-imou-cloud";
|
|
41
|
-
var version = "2.1.
|
|
41
|
+
var version = "2.1.38";
|
|
42
42
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
|
|
43
43
|
var author = "long.zhu";
|
|
44
44
|
var license = "MIT";
|
|
@@ -18,7 +18,7 @@ import { spawn } from 'node:child_process';
|
|
|
18
18
|
import { Expo } from 'expo-server-sdk';
|
|
19
19
|
|
|
20
20
|
var name = "happy-imou-cloud";
|
|
21
|
-
var version = "2.1.
|
|
21
|
+
var version = "2.1.38";
|
|
22
22
|
var description = "hicloud - Imou 企业定制版。关键是 happy!移动端远程 AI 编程工具,支持 Claude Code、Codex 和 Gemini CLI";
|
|
23
23
|
var author = "long.zhu";
|
|
24
24
|
var license = "MIT";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as createDefaultRuntimeShell } from './index-
|
|
1
|
+
import { c as createDefaultRuntimeShell } from './index-DxyhhizE.mjs';
|
|
2
2
|
import 'chalk';
|
|
3
|
-
import './api-
|
|
3
|
+
import './api-FwOO5yvL.mjs';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import 'node:fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chalk = require('chalk');
|
|
4
|
-
var persistence = require('./api-
|
|
4
|
+
var persistence = require('./api-CbDy385l.cjs');
|
|
5
5
|
var z = require('zod');
|
|
6
6
|
var fs$2 = require('fs/promises');
|
|
7
7
|
var os$1 = require('os');
|
|
@@ -72,7 +72,7 @@ async function openBrowser(url) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
75
|
+
const require$1 = node_module.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-B-RcfyFb.cjs', document.baseURI).href)));
|
|
76
76
|
const QRCode = require$1("qrcode-terminal/vendor/QRCode");
|
|
77
77
|
const QRErrorCorrectLevel = require$1("qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel");
|
|
78
78
|
const pendingTempFiles = /* @__PURE__ */ new Set();
|
|
@@ -637,7 +637,7 @@ function setupCleanupHandlers() {
|
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
const __dirname$2 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
640
|
+
const __dirname$2 = path$1.dirname(url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-B-RcfyFb.cjs', document.baseURI).href))));
|
|
641
641
|
function projectPath() {
|
|
642
642
|
const path = path$1.resolve(__dirname$2, "..");
|
|
643
643
|
return path;
|
|
@@ -10412,7 +10412,7 @@ class AbortError extends Error {
|
|
|
10412
10412
|
}
|
|
10413
10413
|
}
|
|
10414
10414
|
|
|
10415
|
-
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-
|
|
10415
|
+
const __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-B-RcfyFb.cjs', document.baseURI).href)));
|
|
10416
10416
|
const __dirname$1 = path.join(__filename$1, "..");
|
|
10417
10417
|
function getGlobalClaudeVersion() {
|
|
10418
10418
|
try {
|
|
@@ -11737,14 +11737,14 @@ var launch = /*#__PURE__*/Object.freeze({
|
|
|
11737
11737
|
const unifiedProviderExecutors = {
|
|
11738
11738
|
claude: async (opts) => {
|
|
11739
11739
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
11740
|
-
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-
|
|
11740
|
+
const { runClaude } = await Promise.resolve().then(function () { return require('./runClaude-CUhIl2_Q.cjs'); });
|
|
11741
11741
|
await runClaude(opts.credentials, {
|
|
11742
11742
|
...claudeOptions,
|
|
11743
11743
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
11744
11744
|
});
|
|
11745
11745
|
},
|
|
11746
11746
|
codex: async (opts) => {
|
|
11747
|
-
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-
|
|
11747
|
+
const { runCodex } = await Promise.resolve().then(function () { return require('./runCodex-B56mNb9m.cjs'); });
|
|
11748
11748
|
await runCodex({
|
|
11749
11749
|
credentials: opts.credentials,
|
|
11750
11750
|
startedBy: opts.startedBy,
|
|
@@ -11753,7 +11753,7 @@ const unifiedProviderExecutors = {
|
|
|
11753
11753
|
});
|
|
11754
11754
|
},
|
|
11755
11755
|
gemini: async (opts) => {
|
|
11756
|
-
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-
|
|
11756
|
+
const { runGemini } = await Promise.resolve().then(function () { return require('./runGemini-DibV-eJ4.cjs'); });
|
|
11757
11757
|
await runGemini({
|
|
11758
11758
|
credentials: opts.credentials,
|
|
11759
11759
|
startedBy: opts.startedBy
|
|
@@ -11836,7 +11836,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
11836
11836
|
return;
|
|
11837
11837
|
} else if (subcommand === "runtime") {
|
|
11838
11838
|
if (args[1] === "providers") {
|
|
11839
|
-
const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-
|
|
11839
|
+
const { renderRuntimeProviders } = await Promise.resolve().then(function () { return require('./command-DIwit8GZ.cjs'); });
|
|
11840
11840
|
console.log(renderRuntimeProviders());
|
|
11841
11841
|
return;
|
|
11842
11842
|
}
|
|
@@ -12042,8 +12042,8 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12042
12042
|
const projectId = args[3];
|
|
12043
12043
|
try {
|
|
12044
12044
|
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
|
|
12045
|
-
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-
|
|
12046
|
-
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-
|
|
12045
|
+
const { readCredentials: readCredentials2 } = await Promise.resolve().then(function () { return require('./api-CbDy385l.cjs'); }).then(function (n) { return n.persistence; });
|
|
12046
|
+
const { ApiClient: ApiClient2 } = await Promise.resolve().then(function () { return require('./api-CbDy385l.cjs'); }).then(function (n) { return n.api; });
|
|
12047
12047
|
let userEmail = void 0;
|
|
12048
12048
|
try {
|
|
12049
12049
|
const credentials = await readCredentials2();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import{createRequire as _pkgrollCR}from"node:module";const require=_pkgrollCR(import.meta.url);import chalk from 'chalk';
|
|
2
|
-
import { l as logger, m as encodeBase64, c as configuration, n as readCredentials, o as ensureSigningCredentials, r as readSettings, u as updateSettings, q as encodeBase64Url, j as delay, t as buildClientHeaders, v as decodeBase64, w as writeCredentialsLegacy, x as writeCredentialsDataKey, y as readDaemonState, z as HAPPY_CLOUD_DAEMON_PORT, B as clearDaemonState, C as packageJson, i as isAuthenticationRequiredError, D as acquireDaemonLock, E as writeDaemonState, A as ApiClient, F as releaseDaemonLock, G as validateProfileForAgent, I as getProfileEnvironmentVariables, J as clearCredentials, K as clearMachineId, L as readHappyOrgDispatchTruthSnapshot, M as processHappyOrgRepoRequests, N as HappyOrgTurnReportSchema, O as recordHappyOrgTurnReport, P as MessageContentSchema, Q as buildSocketAuth, R as encrypt, H as HeadTailPreviewBuffer, S as getLatestDaemonLog } from './api-
|
|
2
|
+
import { l as logger, m as encodeBase64, c as configuration, n as readCredentials, o as ensureSigningCredentials, r as readSettings, u as updateSettings, q as encodeBase64Url, j as delay, t as buildClientHeaders, v as decodeBase64, w as writeCredentialsLegacy, x as writeCredentialsDataKey, y as readDaemonState, z as HAPPY_CLOUD_DAEMON_PORT, B as clearDaemonState, C as packageJson, i as isAuthenticationRequiredError, D as acquireDaemonLock, E as writeDaemonState, A as ApiClient, F as releaseDaemonLock, G as validateProfileForAgent, I as getProfileEnvironmentVariables, J as clearCredentials, K as clearMachineId, L as readHappyOrgDispatchTruthSnapshot, M as processHappyOrgRepoRequests, N as HappyOrgTurnReportSchema, O as recordHappyOrgTurnReport, P as MessageContentSchema, Q as buildSocketAuth, R as encrypt, H as HeadTailPreviewBuffer, S as getLatestDaemonLog } from './api-FwOO5yvL.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import fs, { writeFile as writeFile$1, rename, unlink as unlink$1 } from 'fs/promises';
|
|
5
5
|
import os$1, { homedir } from 'os';
|
|
@@ -11715,14 +11715,14 @@ var launch = /*#__PURE__*/Object.freeze({
|
|
|
11715
11715
|
const unifiedProviderExecutors = {
|
|
11716
11716
|
claude: async (opts) => {
|
|
11717
11717
|
const claudeOptions = opts.claudeOptions ?? {};
|
|
11718
|
-
const { runClaude } = await import('./runClaude-
|
|
11718
|
+
const { runClaude } = await import('./runClaude-CeuQr9rp.mjs');
|
|
11719
11719
|
await runClaude(opts.credentials, {
|
|
11720
11720
|
...claudeOptions,
|
|
11721
11721
|
startingMode: claudeOptions.startingMode ?? (claudeOptions.startedBy === "daemon" ? "remote" : void 0)
|
|
11722
11722
|
});
|
|
11723
11723
|
},
|
|
11724
11724
|
codex: async (opts) => {
|
|
11725
|
-
const { runCodex } = await import('./runCodex-
|
|
11725
|
+
const { runCodex } = await import('./runCodex-CKHSREhN.mjs');
|
|
11726
11726
|
await runCodex({
|
|
11727
11727
|
credentials: opts.credentials,
|
|
11728
11728
|
startedBy: opts.startedBy,
|
|
@@ -11731,7 +11731,7 @@ const unifiedProviderExecutors = {
|
|
|
11731
11731
|
});
|
|
11732
11732
|
},
|
|
11733
11733
|
gemini: async (opts) => {
|
|
11734
|
-
const { runGemini } = await import('./runGemini-
|
|
11734
|
+
const { runGemini } = await import('./runGemini-CQIufP_l.mjs');
|
|
11735
11735
|
await runGemini({
|
|
11736
11736
|
credentials: opts.credentials,
|
|
11737
11737
|
startedBy: opts.startedBy
|
|
@@ -11814,7 +11814,7 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
11814
11814
|
return;
|
|
11815
11815
|
} else if (subcommand === "runtime") {
|
|
11816
11816
|
if (args[1] === "providers") {
|
|
11817
|
-
const { renderRuntimeProviders } = await import('./command-
|
|
11817
|
+
const { renderRuntimeProviders } = await import('./command-D8dRpb8C.mjs');
|
|
11818
11818
|
console.log(renderRuntimeProviders());
|
|
11819
11819
|
return;
|
|
11820
11820
|
}
|
|
@@ -12020,8 +12020,8 @@ function shouldRunMainClaudeFlow(opts) {
|
|
|
12020
12020
|
const projectId = args[3];
|
|
12021
12021
|
try {
|
|
12022
12022
|
const { saveGoogleCloudProjectToConfig } = await Promise.resolve().then(function () { return config; });
|
|
12023
|
-
const { readCredentials: readCredentials2 } = await import('./api-
|
|
12024
|
-
const { ApiClient: ApiClient2 } = await import('./api-
|
|
12023
|
+
const { readCredentials: readCredentials2 } = await import('./api-FwOO5yvL.mjs').then(function (n) { return n.T; });
|
|
12024
|
+
const { ApiClient: ApiClient2 } = await import('./api-FwOO5yvL.mjs').then(function (n) { return n.U; });
|
|
12025
12025
|
let userEmail = void 0;
|
|
12026
12026
|
try {
|
|
12027
12027
|
const credentials = await readCredentials2();
|
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('chalk');
|
|
4
|
-
require('./api-
|
|
4
|
+
require('./api-CbDy385l.cjs');
|
|
5
5
|
require('zod');
|
|
6
|
-
require('./index-
|
|
6
|
+
require('./index-B-RcfyFb.cjs');
|
|
7
7
|
require('node:child_process');
|
|
8
8
|
require('node:fs');
|
|
9
9
|
require('cross-spawn');
|
package/dist/index.mjs
CHANGED
package/dist/lib.cjs
CHANGED
package/dist/lib.d.cts
CHANGED
|
@@ -1194,19 +1194,19 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1194
1194
|
flavor?: string | null | undefined;
|
|
1195
1195
|
}>>>;
|
|
1196
1196
|
}, "strip", z.ZodTypeAny, {
|
|
1197
|
-
id: string;
|
|
1198
1197
|
t: "new-session";
|
|
1198
|
+
id: string;
|
|
1199
1199
|
seq: number;
|
|
1200
1200
|
metadata: string;
|
|
1201
1201
|
metadataVersion: number;
|
|
1202
1202
|
agentState: string | null;
|
|
1203
1203
|
agentStateVersion: number;
|
|
1204
|
-
createdAt?: number | undefined;
|
|
1205
|
-
updatedAt?: number | undefined;
|
|
1206
1204
|
title?: string | null | undefined;
|
|
1207
1205
|
dataEncryptionKey?: string | null | undefined;
|
|
1208
1206
|
active?: boolean | undefined;
|
|
1209
1207
|
activeAt?: number | undefined;
|
|
1208
|
+
createdAt?: number | undefined;
|
|
1209
|
+
updatedAt?: number | undefined;
|
|
1210
1210
|
sessionIndex?: {
|
|
1211
1211
|
machineId?: string | null | undefined;
|
|
1212
1212
|
hostPid?: number | null | undefined;
|
|
@@ -1215,19 +1215,19 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1215
1215
|
flavor?: string | null | undefined;
|
|
1216
1216
|
} | null | undefined;
|
|
1217
1217
|
}, {
|
|
1218
|
-
id: string;
|
|
1219
1218
|
t: "new-session";
|
|
1219
|
+
id: string;
|
|
1220
1220
|
seq: number;
|
|
1221
1221
|
metadata: string;
|
|
1222
1222
|
metadataVersion: number;
|
|
1223
1223
|
agentState: string | null;
|
|
1224
1224
|
agentStateVersion: number;
|
|
1225
|
-
createdAt?: number | undefined;
|
|
1226
|
-
updatedAt?: number | undefined;
|
|
1227
1225
|
title?: string | null | undefined;
|
|
1228
1226
|
dataEncryptionKey?: string | null | undefined;
|
|
1229
1227
|
active?: boolean | undefined;
|
|
1230
1228
|
activeAt?: number | undefined;
|
|
1229
|
+
createdAt?: number | undefined;
|
|
1230
|
+
updatedAt?: number | undefined;
|
|
1231
1231
|
sessionIndex?: {
|
|
1232
1232
|
machineId?: string | null | undefined;
|
|
1233
1233
|
hostPid?: number | null | undefined;
|
|
@@ -1472,22 +1472,22 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1472
1472
|
createdAt: z.ZodNumber;
|
|
1473
1473
|
}, "strip", z.ZodTypeAny, {
|
|
1474
1474
|
id: string;
|
|
1475
|
-
createdAt: number;
|
|
1476
1475
|
seq: number;
|
|
1476
|
+
createdAt: number;
|
|
1477
1477
|
body: {
|
|
1478
|
-
id: string;
|
|
1479
1478
|
t: "new-session";
|
|
1479
|
+
id: string;
|
|
1480
1480
|
seq: number;
|
|
1481
1481
|
metadata: string;
|
|
1482
1482
|
metadataVersion: number;
|
|
1483
1483
|
agentState: string | null;
|
|
1484
1484
|
agentStateVersion: number;
|
|
1485
|
-
createdAt?: number | undefined;
|
|
1486
|
-
updatedAt?: number | undefined;
|
|
1487
1485
|
title?: string | null | undefined;
|
|
1488
1486
|
dataEncryptionKey?: string | null | undefined;
|
|
1489
1487
|
active?: boolean | undefined;
|
|
1490
1488
|
activeAt?: number | undefined;
|
|
1489
|
+
createdAt?: number | undefined;
|
|
1490
|
+
updatedAt?: number | undefined;
|
|
1491
1491
|
sessionIndex?: {
|
|
1492
1492
|
machineId?: string | null | undefined;
|
|
1493
1493
|
hostPid?: number | null | undefined;
|
|
@@ -1551,22 +1551,22 @@ declare const UpdateSchema: z.ZodObject<{
|
|
|
1551
1551
|
};
|
|
1552
1552
|
}, {
|
|
1553
1553
|
id: string;
|
|
1554
|
-
createdAt: number;
|
|
1555
1554
|
seq: number;
|
|
1555
|
+
createdAt: number;
|
|
1556
1556
|
body: {
|
|
1557
|
-
id: string;
|
|
1558
1557
|
t: "new-session";
|
|
1558
|
+
id: string;
|
|
1559
1559
|
seq: number;
|
|
1560
1560
|
metadata: string;
|
|
1561
1561
|
metadataVersion: number;
|
|
1562
1562
|
agentState: string | null;
|
|
1563
1563
|
agentStateVersion: number;
|
|
1564
|
-
createdAt?: number | undefined;
|
|
1565
|
-
updatedAt?: number | undefined;
|
|
1566
1564
|
title?: string | null | undefined;
|
|
1567
1565
|
dataEncryptionKey?: string | null | undefined;
|
|
1568
1566
|
active?: boolean | undefined;
|
|
1569
1567
|
activeAt?: number | undefined;
|
|
1568
|
+
createdAt?: number | undefined;
|
|
1569
|
+
updatedAt?: number | undefined;
|
|
1570
1570
|
sessionIndex?: {
|
|
1571
1571
|
machineId?: string | null | undefined;
|
|
1572
1572
|
hostPid?: number | null | undefined;
|
|
@@ -1755,8 +1755,6 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1755
1755
|
}, "strip", z.ZodTypeAny, {
|
|
1756
1756
|
id: string;
|
|
1757
1757
|
lastChangeSeq: number;
|
|
1758
|
-
createdAt?: number | undefined;
|
|
1759
|
-
updatedAt?: number | undefined;
|
|
1760
1758
|
title?: string | null | undefined;
|
|
1761
1759
|
metadata?: string | undefined;
|
|
1762
1760
|
metadataVersion?: number | undefined;
|
|
@@ -1765,14 +1763,14 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1765
1763
|
dataEncryptionKey?: string | null | undefined;
|
|
1766
1764
|
active?: boolean | undefined;
|
|
1767
1765
|
activeAt?: number | undefined;
|
|
1766
|
+
createdAt?: number | undefined;
|
|
1767
|
+
updatedAt?: number | undefined;
|
|
1768
1768
|
pendingCount?: number | undefined;
|
|
1769
1769
|
pendingVersion?: number | undefined;
|
|
1770
1770
|
deleted?: boolean | undefined;
|
|
1771
1771
|
}, {
|
|
1772
1772
|
id: string;
|
|
1773
1773
|
lastChangeSeq: number;
|
|
1774
|
-
createdAt?: number | undefined;
|
|
1775
|
-
updatedAt?: number | undefined;
|
|
1776
1774
|
title?: string | null | undefined;
|
|
1777
1775
|
metadata?: string | undefined;
|
|
1778
1776
|
metadataVersion?: number | undefined;
|
|
@@ -1781,6 +1779,8 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1781
1779
|
dataEncryptionKey?: string | null | undefined;
|
|
1782
1780
|
active?: boolean | undefined;
|
|
1783
1781
|
activeAt?: number | undefined;
|
|
1782
|
+
createdAt?: number | undefined;
|
|
1783
|
+
updatedAt?: number | undefined;
|
|
1784
1784
|
pendingCount?: number | undefined;
|
|
1785
1785
|
pendingVersion?: number | undefined;
|
|
1786
1786
|
deleted?: boolean | undefined;
|
|
@@ -1820,9 +1820,9 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1820
1820
|
p: string;
|
|
1821
1821
|
};
|
|
1822
1822
|
id: string;
|
|
1823
|
+
seq: number;
|
|
1823
1824
|
createdAt: number;
|
|
1824
1825
|
updatedAt: number;
|
|
1825
|
-
seq: number;
|
|
1826
1826
|
localId: string | null;
|
|
1827
1827
|
}, {
|
|
1828
1828
|
content: {
|
|
@@ -1833,9 +1833,9 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1833
1833
|
p: string;
|
|
1834
1834
|
};
|
|
1835
1835
|
id: string;
|
|
1836
|
+
seq: number;
|
|
1836
1837
|
createdAt: number;
|
|
1837
1838
|
updatedAt: number;
|
|
1838
|
-
seq: number;
|
|
1839
1839
|
localId: string | null;
|
|
1840
1840
|
}>, "many">;
|
|
1841
1841
|
truncated: z.ZodBoolean;
|
|
@@ -1850,9 +1850,9 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1850
1850
|
p: string;
|
|
1851
1851
|
};
|
|
1852
1852
|
id: string;
|
|
1853
|
+
seq: number;
|
|
1853
1854
|
createdAt: number;
|
|
1854
1855
|
updatedAt: number;
|
|
1855
|
-
seq: number;
|
|
1856
1856
|
localId: string | null;
|
|
1857
1857
|
}[];
|
|
1858
1858
|
truncated: boolean;
|
|
@@ -1867,9 +1867,9 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1867
1867
|
p: string;
|
|
1868
1868
|
};
|
|
1869
1869
|
id: string;
|
|
1870
|
+
seq: number;
|
|
1870
1871
|
createdAt: number;
|
|
1871
1872
|
updatedAt: number;
|
|
1872
|
-
seq: number;
|
|
1873
1873
|
localId: string | null;
|
|
1874
1874
|
}[];
|
|
1875
1875
|
truncated: boolean;
|
|
@@ -1888,8 +1888,6 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1888
1888
|
session: {
|
|
1889
1889
|
id: string;
|
|
1890
1890
|
lastChangeSeq: number;
|
|
1891
|
-
createdAt?: number | undefined;
|
|
1892
|
-
updatedAt?: number | undefined;
|
|
1893
1891
|
title?: string | null | undefined;
|
|
1894
1892
|
metadata?: string | undefined;
|
|
1895
1893
|
metadataVersion?: number | undefined;
|
|
@@ -1898,6 +1896,8 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1898
1896
|
dataEncryptionKey?: string | null | undefined;
|
|
1899
1897
|
active?: boolean | undefined;
|
|
1900
1898
|
activeAt?: number | undefined;
|
|
1899
|
+
createdAt?: number | undefined;
|
|
1900
|
+
updatedAt?: number | undefined;
|
|
1901
1901
|
pendingCount?: number | undefined;
|
|
1902
1902
|
pendingVersion?: number | undefined;
|
|
1903
1903
|
deleted?: boolean | undefined;
|
|
@@ -1912,9 +1912,9 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1912
1912
|
p: string;
|
|
1913
1913
|
};
|
|
1914
1914
|
id: string;
|
|
1915
|
+
seq: number;
|
|
1915
1916
|
createdAt: number;
|
|
1916
1917
|
updatedAt: number;
|
|
1917
|
-
seq: number;
|
|
1918
1918
|
localId: string | null;
|
|
1919
1919
|
}[];
|
|
1920
1920
|
truncated: boolean;
|
|
@@ -1933,8 +1933,6 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1933
1933
|
session: {
|
|
1934
1934
|
id: string;
|
|
1935
1935
|
lastChangeSeq: number;
|
|
1936
|
-
createdAt?: number | undefined;
|
|
1937
|
-
updatedAt?: number | undefined;
|
|
1938
1936
|
title?: string | null | undefined;
|
|
1939
1937
|
metadata?: string | undefined;
|
|
1940
1938
|
metadataVersion?: number | undefined;
|
|
@@ -1943,6 +1941,8 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1943
1941
|
dataEncryptionKey?: string | null | undefined;
|
|
1944
1942
|
active?: boolean | undefined;
|
|
1945
1943
|
activeAt?: number | undefined;
|
|
1944
|
+
createdAt?: number | undefined;
|
|
1945
|
+
updatedAt?: number | undefined;
|
|
1946
1946
|
pendingCount?: number | undefined;
|
|
1947
1947
|
pendingVersion?: number | undefined;
|
|
1948
1948
|
deleted?: boolean | undefined;
|
|
@@ -1957,9 +1957,9 @@ declare const ProtocolV3SessionSnapshotResponseSchema: z.ZodObject<{
|
|
|
1957
1957
|
p: string;
|
|
1958
1958
|
};
|
|
1959
1959
|
id: string;
|
|
1960
|
+
seq: number;
|
|
1960
1961
|
createdAt: number;
|
|
1961
1962
|
updatedAt: number;
|
|
1962
|
-
seq: number;
|
|
1963
1963
|
localId: string | null;
|
|
1964
1964
|
}[];
|
|
1965
1965
|
truncated: boolean;
|
|
@@ -2075,8 +2075,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
2075
2075
|
}, "strip", z.ZodTypeAny, {
|
|
2076
2076
|
id: string;
|
|
2077
2077
|
lastChangeSeq: number;
|
|
2078
|
-
createdAt?: number | undefined;
|
|
2079
|
-
updatedAt?: number | undefined;
|
|
2080
2078
|
title?: string | null | undefined;
|
|
2081
2079
|
metadata?: string | undefined;
|
|
2082
2080
|
metadataVersion?: number | undefined;
|
|
@@ -2085,14 +2083,14 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
2085
2083
|
dataEncryptionKey?: string | null | undefined;
|
|
2086
2084
|
active?: boolean | undefined;
|
|
2087
2085
|
activeAt?: number | undefined;
|
|
2086
|
+
createdAt?: number | undefined;
|
|
2087
|
+
updatedAt?: number | undefined;
|
|
2088
2088
|
pendingCount?: number | undefined;
|
|
2089
2089
|
pendingVersion?: number | undefined;
|
|
2090
2090
|
deleted?: boolean | undefined;
|
|
2091
2091
|
}, {
|
|
2092
2092
|
id: string;
|
|
2093
2093
|
lastChangeSeq: number;
|
|
2094
|
-
createdAt?: number | undefined;
|
|
2095
|
-
updatedAt?: number | undefined;
|
|
2096
2094
|
title?: string | null | undefined;
|
|
2097
2095
|
metadata?: string | undefined;
|
|
2098
2096
|
metadataVersion?: number | undefined;
|
|
@@ -2101,6 +2099,8 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
2101
2099
|
dataEncryptionKey?: string | null | undefined;
|
|
2102
2100
|
active?: boolean | undefined;
|
|
2103
2101
|
activeAt?: number | undefined;
|
|
2102
|
+
createdAt?: number | undefined;
|
|
2103
|
+
updatedAt?: number | undefined;
|
|
2104
2104
|
pendingCount?: number | undefined;
|
|
2105
2105
|
pendingVersion?: number | undefined;
|
|
2106
2106
|
deleted?: boolean | undefined;
|
|
@@ -2147,8 +2147,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
2147
2147
|
session: {
|
|
2148
2148
|
id: string;
|
|
2149
2149
|
lastChangeSeq: number;
|
|
2150
|
-
createdAt?: number | undefined;
|
|
2151
|
-
updatedAt?: number | undefined;
|
|
2152
2150
|
title?: string | null | undefined;
|
|
2153
2151
|
metadata?: string | undefined;
|
|
2154
2152
|
metadataVersion?: number | undefined;
|
|
@@ -2157,6 +2155,8 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
2157
2155
|
dataEncryptionKey?: string | null | undefined;
|
|
2158
2156
|
active?: boolean | undefined;
|
|
2159
2157
|
activeAt?: number | undefined;
|
|
2158
|
+
createdAt?: number | undefined;
|
|
2159
|
+
updatedAt?: number | undefined;
|
|
2160
2160
|
pendingCount?: number | undefined;
|
|
2161
2161
|
pendingVersion?: number | undefined;
|
|
2162
2162
|
deleted?: boolean | undefined;
|
|
@@ -2185,8 +2185,6 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
2185
2185
|
session: {
|
|
2186
2186
|
id: string;
|
|
2187
2187
|
lastChangeSeq: number;
|
|
2188
|
-
createdAt?: number | undefined;
|
|
2189
|
-
updatedAt?: number | undefined;
|
|
2190
2188
|
title?: string | null | undefined;
|
|
2191
2189
|
metadata?: string | undefined;
|
|
2192
2190
|
metadataVersion?: number | undefined;
|
|
@@ -2195,6 +2193,8 @@ declare const ProtocolV3SessionChangesResponseSchema: z.ZodObject<{
|
|
|
2195
2193
|
dataEncryptionKey?: string | null | undefined;
|
|
2196
2194
|
active?: boolean | undefined;
|
|
2197
2195
|
activeAt?: number | undefined;
|
|
2196
|
+
createdAt?: number | undefined;
|
|
2197
|
+
updatedAt?: number | undefined;
|
|
2198
2198
|
pendingCount?: number | undefined;
|
|
2199
2199
|
pendingVersion?: number | undefined;
|
|
2200
2200
|
deleted?: boolean | undefined;
|