@super-one/cli 0.62.0-alpha → 0.62.1-alpha

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.
Files changed (3) hide show
  1. package/MANIFEST.json +2 -2
  2. package/lib/cli.mjs +365 -309
  3. package/package.json +1 -1
package/MANIFEST.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@super-one/cli",
3
- "version": "0.62.0-alpha",
3
+ "version": "0.62.1-alpha",
4
4
  "kind": "npm",
5
5
  "minNodeMajor": 20,
6
- "builtAt": "2026-09-05T01:27:17.679Z"
6
+ "builtAt": "2026-09-05T11:16:43.350Z"
7
7
  }
package/lib/cli.mjs CHANGED
@@ -16,11 +16,20 @@ var __require = /* @__PURE__ */ ((x2) => typeof require !== "undefined" ? requir
16
16
  if (typeof require !== "undefined") return require.apply(this, arguments);
17
17
  throw Error('Dynamic require of "' + x2 + '" is not supported');
18
18
  });
19
- var __esm = (fn, res) => function __init() {
20
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
19
+ var __esm = (fn, res, err) => function __init() {
20
+ if (err) throw err[0];
21
+ try {
22
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
23
+ } catch (e) {
24
+ throw err = [e], e;
25
+ }
21
26
  };
22
27
  var __commonJS = (cb, mod) => function __require2() {
23
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
28
+ try {
29
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
30
+ } catch (e) {
31
+ throw mod = 0, e;
32
+ }
24
33
  };
25
34
  var __export = (target, all) => {
26
35
  for (var name in all)
@@ -3919,10 +3928,10 @@ var require_constants = __commonJS({
3919
3928
  EMPTY_BUFFER: Buffer.alloc(0),
3920
3929
  GUID: "258EAFA5-E914-47DA-95CA-C5AB0DC85B11",
3921
3930
  hasBlob,
3922
- kForOnEventAttribute: Symbol("kIsForOnEventAttribute"),
3923
- kListener: Symbol("kListener"),
3924
- kStatusCode: Symbol("status-code"),
3925
- kWebSocket: Symbol("websocket"),
3931
+ kForOnEventAttribute: /* @__PURE__ */ Symbol("kIsForOnEventAttribute"),
3932
+ kListener: /* @__PURE__ */ Symbol("kListener"),
3933
+ kStatusCode: /* @__PURE__ */ Symbol("status-code"),
3934
+ kWebSocket: /* @__PURE__ */ Symbol("websocket"),
3926
3935
  NOOP: () => {
3927
3936
  }
3928
3937
  };
@@ -4220,8 +4229,8 @@ var require_buffer_util = __commonJS({
4220
4229
  var require_limiter = __commonJS({
4221
4230
  "../../node_modules/ws/lib/limiter.js"(exports, module) {
4222
4231
  "use strict";
4223
- var kDone = Symbol("kDone");
4224
- var kRun = Symbol("kRun");
4232
+ var kDone = /* @__PURE__ */ Symbol("kDone");
4233
+ var kRun = /* @__PURE__ */ Symbol("kRun");
4225
4234
  var Limiter = class {
4226
4235
  /**
4227
4236
  * Creates a new `Limiter`.
@@ -4276,11 +4285,11 @@ var require_permessage_deflate = __commonJS({
4276
4285
  var { kStatusCode } = require_constants();
4277
4286
  var FastBuffer = Buffer[Symbol.species];
4278
4287
  var TRAILER = Buffer.from([0, 0, 255, 255]);
4279
- var kPerMessageDeflate = Symbol("permessage-deflate");
4280
- var kTotalLength = Symbol("total-length");
4281
- var kCallback = Symbol("callback");
4282
- var kBuffers = Symbol("buffers");
4283
- var kError = Symbol("error");
4288
+ var kPerMessageDeflate = /* @__PURE__ */ Symbol("permessage-deflate");
4289
+ var kTotalLength = /* @__PURE__ */ Symbol("total-length");
4290
+ var kCallback = /* @__PURE__ */ Symbol("callback");
4291
+ var kBuffers = /* @__PURE__ */ Symbol("buffers");
4292
+ var kError = /* @__PURE__ */ Symbol("error");
4284
4293
  var zlibLimiter;
4285
4294
  var PerMessageDeflate2 = class {
4286
4295
  /**
@@ -5535,7 +5544,7 @@ var require_sender = __commonJS({
5535
5544
  var { EMPTY_BUFFER, kWebSocket, NOOP } = require_constants();
5536
5545
  var { isBlob, isValidStatusCode } = require_validation();
5537
5546
  var { mask: applyMask, toBuffer } = require_buffer_util();
5538
- var kByteLength = Symbol("kByteLength");
5547
+ var kByteLength = /* @__PURE__ */ Symbol("kByteLength");
5539
5548
  var maskBuffer = Buffer.alloc(4);
5540
5549
  var RANDOM_POOL_SIZE = 8 * 1024;
5541
5550
  var randomPool;
@@ -6020,14 +6029,14 @@ var require_event_target = __commonJS({
6020
6029
  "../../node_modules/ws/lib/event-target.js"(exports, module) {
6021
6030
  "use strict";
6022
6031
  var { kForOnEventAttribute, kListener } = require_constants();
6023
- var kCode = Symbol("kCode");
6024
- var kData = Symbol("kData");
6025
- var kError = Symbol("kError");
6026
- var kMessage = Symbol("kMessage");
6027
- var kReason = Symbol("kReason");
6028
- var kTarget = Symbol("kTarget");
6029
- var kType = Symbol("kType");
6030
- var kWasClean = Symbol("kWasClean");
6032
+ var kCode = /* @__PURE__ */ Symbol("kCode");
6033
+ var kData = /* @__PURE__ */ Symbol("kData");
6034
+ var kError = /* @__PURE__ */ Symbol("kError");
6035
+ var kMessage = /* @__PURE__ */ Symbol("kMessage");
6036
+ var kReason = /* @__PURE__ */ Symbol("kReason");
6037
+ var kTarget = /* @__PURE__ */ Symbol("kTarget");
6038
+ var kType = /* @__PURE__ */ Symbol("kType");
6039
+ var kWasClean = /* @__PURE__ */ Symbol("kWasClean");
6031
6040
  var Event3 = class {
6032
6041
  /**
6033
6042
  * Create a new `Event`.
@@ -6429,7 +6438,7 @@ var require_websocket = __commonJS({
6429
6438
  } = require_event_target();
6430
6439
  var { format, parse: parse4 } = require_extension();
6431
6440
  var { toBuffer } = require_buffer_util();
6432
- var kAborted = Symbol("kAborted");
6441
+ var kAborted = /* @__PURE__ */ Symbol("kAborted");
6433
6442
  var protocolVersions = [8, 13];
6434
6443
  var readyStates = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"];
6435
6444
  var subprotocolRegex = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
@@ -11263,13 +11272,13 @@ var init_mcp_config_codex = __esm({
11263
11272
  var require_identity = __commonJS({
11264
11273
  "../../node_modules/yaml/dist/nodes/identity.js"(exports) {
11265
11274
  "use strict";
11266
- var ALIAS = Symbol.for("yaml.alias");
11267
- var DOC = Symbol.for("yaml.document");
11268
- var MAP = Symbol.for("yaml.map");
11269
- var PAIR = Symbol.for("yaml.pair");
11270
- var SCALAR = Symbol.for("yaml.scalar");
11271
- var SEQ = Symbol.for("yaml.seq");
11272
- var NODE_TYPE = Symbol.for("yaml.node.type");
11275
+ var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
11276
+ var DOC = /* @__PURE__ */ Symbol.for("yaml.document");
11277
+ var MAP = /* @__PURE__ */ Symbol.for("yaml.map");
11278
+ var PAIR = /* @__PURE__ */ Symbol.for("yaml.pair");
11279
+ var SCALAR = /* @__PURE__ */ Symbol.for("yaml.scalar");
11280
+ var SEQ = /* @__PURE__ */ Symbol.for("yaml.seq");
11281
+ var NODE_TYPE = /* @__PURE__ */ Symbol.for("yaml.node.type");
11273
11282
  var isAlias = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === ALIAS;
11274
11283
  var isDocument = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === DOC;
11275
11284
  var isMap2 = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === MAP;
@@ -11321,9 +11330,9 @@ var require_visit = __commonJS({
11321
11330
  "../../node_modules/yaml/dist/visit.js"(exports) {
11322
11331
  "use strict";
11323
11332
  var identity = require_identity();
11324
- var BREAK = Symbol("break visit");
11325
- var SKIP = Symbol("skip children");
11326
- var REMOVE = Symbol("remove node");
11333
+ var BREAK = /* @__PURE__ */ Symbol("break visit");
11334
+ var SKIP = /* @__PURE__ */ Symbol("skip children");
11335
+ var REMOVE = /* @__PURE__ */ Symbol("remove node");
11327
11336
  function visit(node, visitor) {
11328
11337
  const visitor_ = initVisitor(visitor);
11329
11338
  if (identity.isDocument(node)) {
@@ -16783,9 +16792,9 @@ var require_cst_stringify = __commonJS({
16783
16792
  var require_cst_visit = __commonJS({
16784
16793
  "../../node_modules/yaml/dist/parse/cst-visit.js"(exports) {
16785
16794
  "use strict";
16786
- var BREAK = Symbol("break visit");
16787
- var SKIP = Symbol("skip children");
16788
- var REMOVE = Symbol("remove item");
16795
+ var BREAK = /* @__PURE__ */ Symbol("break visit");
16796
+ var SKIP = /* @__PURE__ */ Symbol("skip children");
16797
+ var REMOVE = /* @__PURE__ */ Symbol("remove item");
16789
16798
  function visit(cst, visitor) {
16790
16799
  if ("type" in cst && cst.type === "document")
16791
16800
  cst = { start: cst.start, value: cst.value };
@@ -23430,6 +23439,7 @@ var init_claude_live_session = __esm({
23430
23439
  const q2 = queryFn({ prompt: this.bridge, options });
23431
23440
  this.iterationDone = this.iterate(q2);
23432
23441
  }
23442
+ opts;
23433
23443
  bridge = new MessageBridge();
23434
23444
  pending = [];
23435
23445
  active = null;
@@ -25692,6 +25702,11 @@ var init_session_runtime = __esm({
25692
25702
  }
25693
25703
  }
25694
25704
  }
25705
+ store;
25706
+ events;
25707
+ leases;
25708
+ environmentId;
25709
+ turnRunner;
25695
25710
  aborts = /* @__PURE__ */ new Map();
25696
25711
  live = /* @__PURE__ */ new Map();
25697
25712
  /** In-flight turn promises (including runner cleanup / process kill). */
@@ -27447,6 +27462,8 @@ var init_event_log = __esm({
27447
27462
  this.db = db;
27448
27463
  this.environmentId = environmentId;
27449
27464
  }
27465
+ db;
27466
+ environmentId;
27450
27467
  append(input) {
27451
27468
  const eventId = randomUUID5();
27452
27469
  const timestamp = Date.now();
@@ -31512,7 +31529,7 @@ var init_core = __esm({
31512
31529
  NEVER = /* @__PURE__ */ Object.freeze({
31513
31530
  status: "aborted"
31514
31531
  });
31515
- $brand = Symbol("zod_brand");
31532
+ $brand = /* @__PURE__ */ Symbol("zod_brand");
31516
31533
  $ZodAsyncError = class extends Error {
31517
31534
  constructor() {
31518
31535
  super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
@@ -41681,8 +41698,8 @@ function registry() {
41681
41698
  var _a2, $output, $input, $ZodRegistry, globalRegistry;
41682
41699
  var init_registries = __esm({
41683
41700
  "../../node_modules/zod/v4/core/registries.js"() {
41684
- $output = Symbol("ZodOutput");
41685
- $input = Symbol("ZodInput");
41701
+ $output = /* @__PURE__ */ Symbol("ZodOutput");
41702
+ $input = /* @__PURE__ */ Symbol("ZodInput");
41686
41703
  $ZodRegistry = class {
41687
41704
  constructor() {
41688
41705
  this._map = /* @__PURE__ */ new WeakMap();
@@ -46601,12 +46618,12 @@ var skippedItem;
46601
46618
  var init_schema_deserialize = __esm({
46602
46619
  "../../node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js"() {
46603
46620
  init_v4();
46604
- skippedItem = Symbol("skippedItem");
46621
+ skippedItem = /* @__PURE__ */ Symbol("skippedItem");
46605
46622
  }
46606
46623
  });
46607
46624
 
46608
46625
  // ../../node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js
46609
- var zRequestId, zSessionId, zWriteTextFileRequest, zReadTextFileRequest, zToolCallId, zToolKind, zToolCallStatus, zRole, zAnnotations, zTextContent, zImageContent, zAudioContent, zResourceLink, zTextResourceContents, zBlobResourceContents, zEmbeddedResourceResource, zEmbeddedResource, zContentBlock, zContent, zDiff, zTerminalId, zTerminal, zToolCallContent, zToolCallLocation, zToolCallUpdate, zPermissionOptionId, zPermissionOptionKind, zPermissionOption, zRequestPermissionRequest, zEnvVariable, zCreateTerminalRequest, zTerminalOutputRequest, zReleaseTerminalRequest, zWaitForTerminalExitRequest, zKillTerminalRequest, zElicitationSessionScope, zElicitationRequestScope, zElicitationSchemaType, zStringFormat, zEnumOption, zStringPropertySchema, zNumberPropertySchema, zIntegerPropertySchema, zBooleanPropertySchema, zStringMultiSelectItems, zTitledMultiSelectItems, zMultiSelectItems, zMultiSelectPropertySchema, zElicitationPropertySchema, zElicitationSchema, zElicitationFormMode, zElicitationId, zElicitationUrlMode, zCreateElicitationRequest, zMcpServerAcpId, zConnectMcpRequest, zMcpConnectionId, zMessageMcpRequest, zDisconnectMcpRequest, zExtRequest, zAgentRequest, zProtocolVersion, zPromptCapabilities, zMcpCapabilities, zSessionListCapabilities, zSessionDeleteCapabilities, zSessionAdditionalDirectoriesCapabilities, zSessionForkCapabilities, zSessionResumeCapabilities, zSessionCloseCapabilities, zSessionCapabilities, zLogoutCapabilities, zAgentAuthCapabilities, zProvidersCapabilities, zNesDocumentDidOpenCapabilities, zTextDocumentSyncKind, zNesDocumentDidChangeCapabilities, zNesDocumentDidCloseCapabilities, zNesDocumentDidSaveCapabilities, zNesDocumentDidFocusCapabilities, zNesDocumentEventCapabilities, zNesEventCapabilities, zNesRecentFilesCapabilities, zNesRelatedSnippetsCapabilities, zNesEditHistoryCapabilities, zNesUserActionsCapabilities, zNesOpenFilesCapabilities, zNesDiagnosticsCapabilities, zNesContextCapabilities, zNesCapabilities, zPositionEncodingKind, zAgentCapabilities, zAuthMethodId, zAuthEnvVar, zAuthMethodEnvVar, zAuthMethodTerminal, zAuthMethodAgent, zAuthMethod, zImplementation, zInitializeResponse, zAuthenticateResponse, zProviderId, zLlmProtocol, zProviderCurrentConfig, zProviderInfo, zListProvidersResponse, zSetProviderResponse, zDisableProviderResponse, zLogoutResponse, zSessionModeId, zSessionMode, zSessionModeState, zSessionConfigId, zSessionConfigOptionCategory, zSessionConfigValueId, zSessionConfigSelectOption, zSessionConfigGroupId, zSessionConfigSelectGroup, zSessionConfigSelectOptions, zSessionConfigSelect, zSessionConfigBoolean, zSessionConfigOption, zNewSessionResponse, zLoadSessionResponse, zSessionInfo, zListSessionsResponse, zDeleteSessionResponse, zForkSessionResponse, zResumeSessionResponse, zCloseSessionResponse, zSetSessionModeResponse, zSetSessionConfigOptionResponse, zStopReason, zUsage, zPromptResponse, zStartNesResponse, zNesSuggestionId, zPosition, zRange, zNesTextEdit, zNesEditSuggestion, zNesJumpSuggestion, zNesRenameSuggestion, zNesSearchAndReplaceSuggestion, zNesSuggestion, zSuggestNesResponse, zCloseNesResponse, zExtResponse, zMessageMcpResponse, zErrorCode, zError, zAgentResponse, zMessageId, zContentChunk, zToolCall, zPlanEntryPriority, zPlanEntryStatus, zPlanEntry, zPlan, zPlanId, zPlanItems, zPlanFile, zPlanMarkdown, zPlanUpdateContent, zPlanUpdate, zPlanRemoved, zUnstructuredCommandInput, zAvailableCommandInput, zAvailableCommand, zAvailableCommandsUpdate, zCurrentModeUpdate, zConfigOptionUpdate, zSessionInfoUpdate, zCost, zUsageUpdate, zSessionUpdate, zSessionNotification, zCompleteElicitationNotification, zMessageMcpNotification, zExtNotification, zAgentNotification, zFileSystemCapabilities, zBooleanConfigOptionCapabilities, zSessionConfigOptionsCapabilities, zClientSessionCapabilities, zPlanCapabilities, zAuthCapabilities, zElicitationFormCapabilities, zElicitationUrlCapabilities, zElicitationCapabilities, zNesJumpCapabilities, zNesRenameCapabilities, zNesSearchAndReplaceCapabilities, zClientNesCapabilities, zClientCapabilities, zInitializeRequest, zAuthenticateRequest, zListProvidersRequest, zSetProviderRequest, zDisableProviderRequest, zLogoutRequest, zHttpHeader, zMcpServerHttp, zMcpServerSse, zMcpServerAcp, zMcpServerStdio, zMcpServer, zNewSessionRequest, zLoadSessionRequest, zListSessionsRequest, zDeleteSessionRequest, zForkSessionRequest, zResumeSessionRequest, zCloseSessionRequest, zSetSessionModeRequest, zSetSessionConfigOptionRequest, zPromptRequest, zWorkspaceFolder, zNesRepository, zStartNesRequest, zNesTriggerKind, zNesRecentFile, zNesExcerpt, zNesRelatedSnippet, zNesEditHistoryEntry, zNesUserAction, zNesOpenFile, zNesDiagnosticSeverity, zNesDiagnostic, zNesSuggestContext, zSuggestNesRequest, zCloseNesRequest, zClientRequest, zWriteTextFileResponse, zReadTextFileResponse, zSelectedPermissionOutcome, zRequestPermissionOutcome, zRequestPermissionResponse, zCreateTerminalResponse, zTerminalExitStatus, zTerminalOutputResponse, zReleaseTerminalResponse, zWaitForTerminalExitResponse, zKillTerminalResponse, zElicitationContentValue, zElicitationAcceptAction, zCreateElicitationResponse, zConnectMcpResponse, zDisconnectMcpResponse, zClientResponse, zCancelNotification, zDidOpenDocumentNotification, zTextDocumentContentChangeEvent, zDidChangeDocumentNotification, zDidCloseDocumentNotification, zDidSaveDocumentNotification, zDidFocusDocumentNotification, zAcceptNesNotification, zNesRejectReason, zRejectNesNotification, zClientNotification, zCancelRequestNotification;
46626
+ var zRequestId, zSessionId, zWriteTextFileRequest, zReadTextFileRequest, zToolCallId, zToolKind, zToolCallStatus, zRole, zAnnotations, zTextContent, zImageContent, zAudioContent, zResourceLink, zTextResourceContents, zBlobResourceContents, zEmbeddedResourceResource, zEmbeddedResource, zContentBlock, zContent, zDiff, zTerminalId, zTerminal, zToolCallContent, zToolCallLocation, zToolCallUpdate, zPermissionOptionId, zPermissionOptionKind, zPermissionOption, zRequestPermissionRequest, zEnvVariable, zCreateTerminalRequest, zTerminalOutputRequest, zReleaseTerminalRequest, zWaitForTerminalExitRequest, zKillTerminalRequest, zElicitationSessionScope, zElicitationRequestScope, zElicitationSchemaType, zStringFormat, zEnumOption, zStringPropertySchema, zNumberPropertySchema, zIntegerPropertySchema, zBooleanPropertySchema, zStringMultiSelectItems, zTitledMultiSelectItems, zMultiSelectItems, zMultiSelectPropertySchema, zElicitationPropertySchema, zElicitationSchema, zElicitationFormMode, zElicitationId, zElicitationUrlMode, zCreateElicitationRequest, zMcpServerAcpId, zConnectMcpRequest, zMcpConnectionId, zMessageMcpRequest, zDisconnectMcpRequest, zExtRequest, zAgentRequest, zProtocolVersion, zPromptCapabilities, zMcpCapabilities, zSessionListCapabilities, zSessionDeleteCapabilities, zSessionAdditionalDirectoriesCapabilities, zSessionForkCapabilities, zSessionResumeCapabilities, zSessionCloseCapabilities, zSessionCapabilities, zLogoutCapabilities, zAgentAuthCapabilities, zProvidersCapabilities, zNesDocumentDidOpenCapabilities, zTextDocumentSyncKind, zNesDocumentDidChangeCapabilities, zNesDocumentDidCloseCapabilities, zNesDocumentDidSaveCapabilities, zNesDocumentDidFocusCapabilities, zNesDocumentEventCapabilities, zNesEventCapabilities, zNesRecentFilesCapabilities, zNesRelatedSnippetsCapabilities, zNesEditHistoryCapabilities, zNesUserActionsCapabilities, zNesOpenFilesCapabilities, zNesDiagnosticsCapabilities, zNesContextCapabilities, zNesCapabilities, zPositionEncodingKind, zAgentCapabilities, zAuthMethodId, zAuthMethodTerminal, zAuthMethodAgent, zAuthMethod, zImplementation, zInitializeResponse, zAuthenticateResponse, zProviderId, zLlmProtocol, zProviderCurrentConfig, zProviderInfo, zListProvidersResponse, zSetProviderResponse, zDisableProviderResponse, zLogoutResponse, zSessionModeId, zSessionMode, zSessionModeState, zSessionConfigId, zSessionConfigOptionCategory, zSessionConfigValueId, zSessionConfigSelectOption, zSessionConfigGroupId, zSessionConfigSelectGroup, zSessionConfigSelectOptions, zSessionConfigSelect, zSessionConfigBoolean, zSessionConfigOption, zNewSessionResponse, zLoadSessionResponse, zSessionInfo, zListSessionsResponse, zDeleteSessionResponse, zForkSessionResponse, zResumeSessionResponse, zCloseSessionResponse, zSetSessionModeResponse, zSetSessionConfigOptionResponse, zStopReason, zUsage, zPromptResponse, zStartNesResponse, zNesSuggestionId, zPosition, zRange, zNesTextEdit, zNesEditSuggestion, zNesJumpSuggestion, zNesRenameSuggestion, zNesSearchAndReplaceSuggestion, zNesSuggestion, zSuggestNesResponse, zCloseNesResponse, zExtResponse, zMessageMcpResponse, zErrorCode, zError, zAgentResponse, zMessageId, zContentChunk, zToolCall, zPlanEntryPriority, zPlanEntryStatus, zPlanEntry, zPlan, zPlanId, zPlanItems, zPlanFile, zPlanMarkdown, zPlanUpdateContent, zPlanUpdate, zPlanRemoved, zUnstructuredCommandInput, zAvailableCommandInput, zAvailableCommand, zAvailableCommandsUpdate, zCurrentModeUpdate, zConfigOptionUpdate, zSessionInfoUpdate, zCost, zUsageUpdate, zCompactionId, zCompactionStatus, zCompactionUpdate, zCompactionSummaryChunk, zSessionUpdate, zSessionNotification, zCompleteElicitationNotification, zMessageMcpNotification, zExtNotification, zAgentNotification, zFileSystemCapabilities, zCompactionCapabilities, zBooleanConfigOptionCapabilities, zSessionConfigOptionsCapabilities, zClientSessionCapabilities, zPlanCapabilities, zAuthCapabilities, zElicitationFormCapabilities, zElicitationUrlCapabilities, zElicitationCapabilities, zNesJumpCapabilities, zNesRenameCapabilities, zNesSearchAndReplaceCapabilities, zClientNesCapabilities, zClientCapabilities, zInitializeRequest, zAuthenticateRequest, zListProvidersRequest, zSetProviderRequest, zDisableProviderRequest, zLogoutRequest, zHttpHeader, zMcpServerHttp, zMcpServerSse, zMcpServerAcp, zMcpServerStdio, zMcpServer, zNewSessionRequest, zLoadSessionRequest, zListSessionsRequest, zDeleteSessionRequest, zForkSessionRequest, zResumeSessionRequest, zCloseSessionRequest, zSetSessionModeRequest, zSetSessionConfigOptionRequest, zPromptRequest, zWorkspaceFolder, zNesRepository, zStartNesRequest, zNesTriggerKind, zNesRecentFile, zNesExcerpt, zNesRelatedSnippet, zNesEditHistoryEntry, zNesUserAction, zNesOpenFile, zNesDiagnosticSeverity, zNesDiagnostic, zNesSuggestContext, zSuggestNesRequest, zCloseNesRequest, zClientRequest, zWriteTextFileResponse, zReadTextFileResponse, zSelectedPermissionOutcome, zRequestPermissionOutcome, zRequestPermissionResponse, zCreateTerminalResponse, zTerminalExitStatus, zTerminalOutputResponse, zReleaseTerminalResponse, zWaitForTerminalExitResponse, zKillTerminalResponse, zElicitationContentValue, zElicitationAcceptAction, zCreateElicitationResponse, zConnectMcpResponse, zDisconnectMcpResponse, zClientResponse, zCancelNotification, zDidOpenDocumentNotification, zTextDocumentContentChangeEvent, zDidChangeDocumentNotification, zDidCloseDocumentNotification, zDidSaveDocumentNotification, zDidFocusDocumentNotification, zAcceptNesNotification, zNesRejectReason, zRejectNesNotification, zClientNotification, zCancelRequestNotification;
46610
46627
  var init_zod_gen = __esm({
46611
46628
  "../../node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js"() {
46612
46629
  init_schema_deserialize();
@@ -47146,21 +47163,6 @@ var init_zod_gen = __esm({
47146
47163
  _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47147
47164
  });
47148
47165
  zAuthMethodId = string2();
47149
- zAuthEnvVar = object({
47150
- name: string2(),
47151
- label: defaultOnError(string2().nullish(), () => void 0),
47152
- secret: defaultOnError(boolean2().optional().default(true), () => true),
47153
- optional: defaultOnError(boolean2().optional().default(false), () => false),
47154
- _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47155
- });
47156
- zAuthMethodEnvVar = object({
47157
- id: zAuthMethodId,
47158
- name: string2(),
47159
- description: defaultOnError(string2().nullish(), () => void 0),
47160
- vars: requiredDefaultOnError(vecSkipError(zAuthEnvVar), () => []),
47161
- link: defaultOnError(string2().nullish(), () => void 0),
47162
- _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47163
- });
47164
47166
  zAuthMethodTerminal = object({
47165
47167
  id: zAuthMethodId,
47166
47168
  name: string2(),
@@ -47176,9 +47178,6 @@ var init_zod_gen = __esm({
47176
47178
  _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47177
47179
  });
47178
47180
  zAuthMethod = union([
47179
- zAuthMethodEnvVar.and(object({
47180
- type: literal("env_var")
47181
- })),
47182
47181
  zAuthMethodTerminal.and(object({
47183
47182
  type: literal("terminal")
47184
47183
  })),
@@ -47629,6 +47628,26 @@ var init_zod_gen = __esm({
47629
47628
  cost: defaultOnError(zCost.nullish(), () => void 0),
47630
47629
  _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47631
47630
  });
47631
+ zCompactionId = string2();
47632
+ zCompactionStatus = union([
47633
+ literal("in_progress"),
47634
+ literal("completed"),
47635
+ literal("failed"),
47636
+ literal("cancelled"),
47637
+ string2()
47638
+ ]);
47639
+ zCompactionUpdate = object({
47640
+ compactionId: zCompactionId,
47641
+ status: zCompactionStatus,
47642
+ summary: defaultOnError(vecSkipError(zContentBlock).nullish(), () => void 0),
47643
+ error: defaultOnError(string2().nullish(), () => void 0),
47644
+ _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47645
+ });
47646
+ zCompactionSummaryChunk = object({
47647
+ compactionId: zCompactionId,
47648
+ content: zContentBlock,
47649
+ _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47650
+ });
47632
47651
  zSessionUpdate = union([
47633
47652
  zContentChunk.and(object({
47634
47653
  sessionUpdate: literal("user_message_chunk")
@@ -47668,6 +47687,12 @@ var init_zod_gen = __esm({
47668
47687
  })),
47669
47688
  zUsageUpdate.and(object({
47670
47689
  sessionUpdate: literal("usage_update")
47690
+ })),
47691
+ zCompactionUpdate.and(object({
47692
+ sessionUpdate: literal("compaction_update")
47693
+ })),
47694
+ zCompactionSummaryChunk.and(object({
47695
+ sessionUpdate: literal("compaction_summary_chunk")
47671
47696
  }))
47672
47697
  ]);
47673
47698
  zSessionNotification = object({
@@ -47700,6 +47725,7 @@ var init_zod_gen = __esm({
47700
47725
  writeTextFile: defaultOnError(boolean2().optional().default(false), () => false),
47701
47726
  _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47702
47727
  });
47728
+ zCompactionCapabilities = record(string2(), unknown());
47703
47729
  zBooleanConfigOptionCapabilities = object({
47704
47730
  _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47705
47731
  });
@@ -47708,6 +47734,7 @@ var init_zod_gen = __esm({
47708
47734
  _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47709
47735
  });
47710
47736
  zClientSessionCapabilities = object({
47737
+ compaction: defaultOnError(zCompactionCapabilities.nullish(), () => void 0),
47711
47738
  configOptions: defaultOnError(zSessionConfigOptionsCapabilities.nullish(), () => void 0),
47712
47739
  _meta: defaultOnError(record(string2(), unknown()).nullish(), () => void 0)
47713
47740
  });
@@ -48329,7 +48356,14 @@ function isAbortError(error51) {
48329
48356
  const maybeAbortError = error51;
48330
48357
  return maybeAbortError.name === "AbortError" || maybeAbortError.code === "ABORT_ERR";
48331
48358
  }
48332
- var CANCEL_REQUEST_METHOD, Handled, RequestResponder, HandlerRegistration, ConnectionContext, Connection, ConnectionBuilder, RequestError;
48359
+ function protocolErrorResponse(error51) {
48360
+ return {
48361
+ jsonrpc: "2.0",
48362
+ id: null,
48363
+ error: error51.toErrorResponse()
48364
+ };
48365
+ }
48366
+ var CANCEL_REQUEST_METHOD, Handled, RequestResponder, requestBatchSizes, HandlerRegistration, ConnectionContext, Connection, ConnectionBuilder, RequestError;
48333
48367
  var init_jsonrpc = __esm({
48334
48368
  "../../node_modules/@agentclientprotocol/sdk/dist/jsonrpc.js"() {
48335
48369
  CANCEL_REQUEST_METHOD = "$/cancel_request";
@@ -48391,6 +48425,7 @@ var init_jsonrpc = __esm({
48391
48425
  });
48392
48426
  }
48393
48427
  };
48428
+ requestBatchSizes = /* @__PURE__ */ new WeakMap();
48394
48429
  HandlerRegistration = class {
48395
48430
  disposeHandler;
48396
48431
  active = true;
@@ -48741,9 +48776,6 @@ var init_jsonrpc = __esm({
48741
48776
  if (done) {
48742
48777
  break;
48743
48778
  }
48744
- if (!message) {
48745
- continue;
48746
- }
48747
48779
  this.receiveWireMessage(message);
48748
48780
  }
48749
48781
  } finally {
@@ -48767,19 +48799,16 @@ var init_jsonrpc = __esm({
48767
48799
  this.receiveBatch(message);
48768
48800
  return;
48769
48801
  }
48770
- if (!isRecord(message)) {
48771
- console.error("Invalid message", { message });
48802
+ if (!isRequestMessage(message) && !isNotificationMessage(message) && !isResponseShapedMessage(message)) {
48803
+ void this.sendWireMessage(protocolErrorResponse(RequestError.invalidRequest(message))).catch(() => {
48804
+ });
48772
48805
  return;
48773
48806
  }
48774
48807
  this.receiveMessage(message);
48775
48808
  }
48776
48809
  receiveBatch(batch) {
48777
48810
  if (batch.length === 0) {
48778
- void this.sendWireMessage({
48779
- jsonrpc: "2.0",
48780
- id: null,
48781
- error: RequestError.invalidRequest(batch).toErrorResponse()
48782
- }).catch(() => {
48811
+ void this.sendWireMessage(protocolErrorResponse(RequestError.invalidRequest(batch))).catch(() => {
48783
48812
  });
48784
48813
  return;
48785
48814
  }
@@ -48809,15 +48838,11 @@ var init_jsonrpc = __esm({
48809
48838
  continue;
48810
48839
  }
48811
48840
  if (!isRequestMessage(message) && !isNotificationMessage(message)) {
48812
- void collectResponse({
48813
- jsonrpc: "2.0",
48814
- id: null,
48815
- error: RequestError.invalidRequest(message).toErrorResponse()
48816
- }).catch(() => {
48841
+ void collectResponse(protocolErrorResponse(RequestError.invalidRequest(message))).catch(() => {
48817
48842
  });
48818
48843
  continue;
48819
48844
  }
48820
- const processing = this.receiveMessage(message, isRequestMessage(message) ? collectResponse : void 0);
48845
+ const processing = this.receiveMessage(message, isRequestMessage(message) ? collectResponse : void 0, batch.length);
48821
48846
  if (isNotificationMessage(message)) {
48822
48847
  void processing.finally(() => {
48823
48848
  remainingNotifications -= 1;
@@ -48826,7 +48851,7 @@ var init_jsonrpc = __esm({
48826
48851
  }
48827
48852
  }
48828
48853
  }
48829
- receiveMessage(message, sendResponse) {
48854
+ receiveMessage(message, sendResponse, batchSize) {
48830
48855
  if (this.abortController.signal.aborted) {
48831
48856
  return Promise.resolve();
48832
48857
  }
@@ -48838,7 +48863,7 @@ var init_jsonrpc = __esm({
48838
48863
  if (!("id" in message)) {
48839
48864
  this.handleProtocolNotification(message);
48840
48865
  }
48841
- return this.processIncomingMessage(this.toIncomingMessage(message, sendResponse)).catch((error51) => this.close(error51));
48866
+ return this.processIncomingMessage(this.toIncomingMessage(message, sendResponse, batchSize)).catch((error51) => this.close(error51));
48842
48867
  } else if ("id" in message) {
48843
48868
  this.handleResponse(message);
48844
48869
  } else {
@@ -48888,7 +48913,7 @@ var init_jsonrpc = __esm({
48888
48913
  }
48889
48914
  }
48890
48915
  }
48891
- toIncomingMessage(message, sendResponse) {
48916
+ toIncomingMessage(message, sendResponse, batchSize) {
48892
48917
  if ("id" in message) {
48893
48918
  const abortController = new AbortController();
48894
48919
  this.incomingRequests.set(message.id, abortController);
@@ -48897,20 +48922,24 @@ var init_jsonrpc = __esm({
48897
48922
  this.incomingRequests.delete(message.id);
48898
48923
  }
48899
48924
  };
48925
+ const responder = new RequestResponder(message.id, (result) => {
48926
+ const response = {
48927
+ jsonrpc: "2.0",
48928
+ id: message.id,
48929
+ ...result
48930
+ };
48931
+ return sendResponse ? sendResponse(response) : this.sendWireMessage(response);
48932
+ }, abortController.signal, finishRequest);
48933
+ if (batchSize !== void 0) {
48934
+ requestBatchSizes.set(responder, batchSize);
48935
+ }
48900
48936
  return {
48901
48937
  kind: "request",
48902
48938
  method: message.method,
48903
48939
  params: message.params,
48904
48940
  raw: message,
48905
48941
  signal: abortController.signal,
48906
- responder: new RequestResponder(message.id, (result) => {
48907
- const response = {
48908
- jsonrpc: "2.0",
48909
- id: message.id,
48910
- ...result
48911
- };
48912
- return sendResponse ? sendResponse(response) : this.sendWireMessage(response);
48913
- }, abortController.signal, finishRequest)
48942
+ responder
48914
48943
  };
48915
48944
  }
48916
48945
  return {
@@ -49199,22 +49228,40 @@ function ndJsonStream(output, input) {
49199
49228
  const textDecoder2 = new TextDecoder();
49200
49229
  let cancelled = false;
49201
49230
  let inputReader;
49231
+ let outputWrite = Promise.resolve();
49232
+ const writeJson = (message) => {
49233
+ const content = JSON.stringify(message) + "\n";
49234
+ const write = outputWrite.then(async () => {
49235
+ const writer = output.getWriter();
49236
+ try {
49237
+ await writer.write(textEncoder.encode(content));
49238
+ } finally {
49239
+ writer.releaseLock();
49240
+ }
49241
+ });
49242
+ outputWrite = write.catch(() => {
49243
+ });
49244
+ return write;
49245
+ };
49202
49246
  const readable = new ReadableStream({
49203
49247
  async start(controller) {
49204
49248
  const lines = new LineBuffer();
49205
- const enqueueLine = (lineBytes) => {
49249
+ const enqueueLine = async (lineBytes) => {
49206
49250
  const trimmedLine = textDecoder2.decode(lineBytes).trim();
49207
- if (trimmedLine) {
49208
- try {
49209
- const message = JSON.parse(trimmedLine);
49210
- if (isRecord(message) || Array.isArray(message)) {
49211
- controller.enqueue(message);
49212
- } else {
49213
- console.warn("Skipping JSON line that is not an object:", trimmedLine);
49214
- }
49215
- } catch (err) {
49216
- console.error("Failed to parse JSON message:", trimmedLine, err);
49217
- }
49251
+ if (!trimmedLine) {
49252
+ return;
49253
+ }
49254
+ let message;
49255
+ try {
49256
+ message = JSON.parse(trimmedLine);
49257
+ } catch {
49258
+ await writeJson(protocolErrorResponse(RequestError.parseError()));
49259
+ return;
49260
+ }
49261
+ if (isRecord(message) || Array.isArray(message)) {
49262
+ controller.enqueue(message);
49263
+ } else {
49264
+ await writeJson(protocolErrorResponse(RequestError.invalidRequest(message)));
49218
49265
  }
49219
49266
  };
49220
49267
  const reader = input.getReader();
@@ -49232,7 +49279,7 @@ function ndJsonStream(output, input) {
49232
49279
  continue;
49233
49280
  }
49234
49281
  for (const line of lines.push(value)) {
49235
- enqueueLine(line);
49282
+ await enqueueLine(line);
49236
49283
  if (cancelled) {
49237
49284
  return;
49238
49285
  }
@@ -49243,7 +49290,7 @@ function ndJsonStream(output, input) {
49243
49290
  }
49244
49291
  const lastLine = lines.flush();
49245
49292
  if (lastLine) {
49246
- enqueueLine(lastLine);
49293
+ await enqueueLine(lastLine);
49247
49294
  }
49248
49295
  } catch (err) {
49249
49296
  if (cancelled) {
@@ -49268,14 +49315,8 @@ function ndJsonStream(output, input) {
49268
49315
  }
49269
49316
  });
49270
49317
  const writable = new WritableStream({
49271
- async write(message) {
49272
- const content = JSON.stringify(message) + "\n";
49273
- const writer = output.getWriter();
49274
- try {
49275
- await writer.write(textEncoder.encode(content));
49276
- } finally {
49277
- writer.releaseLock();
49278
- }
49318
+ write(message) {
49319
+ return writeJson(message);
49279
49320
  }
49280
49321
  });
49281
49322
  return { readable, writable };
@@ -49508,7 +49549,7 @@ var init_acp = __esm({
49508
49549
  cancelRequest: PROTOCOL_METHODS.cancel_request
49509
49550
  }
49510
49551
  };
49511
- startActiveSession = Symbol("startActiveSession");
49552
+ startActiveSession = /* @__PURE__ */ Symbol("startActiveSession");
49512
49553
  AcpContext = class {
49513
49554
  cx;
49514
49555
  currentRequestId;
@@ -49944,11 +49985,11 @@ var init_acp = __esm({
49944
49985
  releaseTerminal: requestSpec(CLIENT_METHODS.terminal_release, zReleaseTerminalRequest, emptyObjectResponse),
49945
49986
  waitForTerminalExit: requestSpec(CLIENT_METHODS.terminal_wait_for_exit, zWaitForTerminalExitRequest),
49946
49987
  killTerminal: requestSpec(CLIENT_METHODS.terminal_kill, zKillTerminalRequest, emptyObjectResponse),
49947
- unstable_createElicitation: requestSpec(CLIENT_METHODS.elicitation_create, zCreateElicitationRequest)
49988
+ createElicitation: requestSpec(CLIENT_METHODS.elicitation_create, zCreateElicitationRequest)
49948
49989
  };
49949
49990
  clientNotificationSpecs = {
49950
49991
  sessionUpdate: notificationSpec(CLIENT_METHODS.session_update, zSessionNotification),
49951
- unstable_completeElicitation: notificationSpec(CLIENT_METHODS.elicitation_complete, zCompleteElicitationNotification)
49992
+ completeElicitation: notificationSpec(CLIENT_METHODS.elicitation_complete, zCompleteElicitationNotification)
49952
49993
  };
49953
49994
  agentRequestSpecsByMethod = specsByMethod(agentRequestSpecs);
49954
49995
  agentNotificationSpecsByMethod = specsByMethod(agentNotificationSpecs);
@@ -49987,9 +50028,9 @@ var init_acp = __esm({
49987
50028
  }
49988
50029
  };
49989
50030
  sessionUpdateRouters = /* @__PURE__ */ new WeakMap();
49990
- appBuilder = Symbol("appBuilder");
49991
- runAgentConnectHandlers = Symbol("runAgentConnectHandlers");
49992
- runClientConnectHandlers = Symbol("runClientConnectHandlers");
50031
+ appBuilder = /* @__PURE__ */ Symbol("appBuilder");
50032
+ runAgentConnectHandlers = /* @__PURE__ */ Symbol("runAgentConnectHandlers");
50033
+ runClientConnectHandlers = /* @__PURE__ */ Symbol("runClientConnectHandlers");
49993
50034
  stableConnectionOptions = { allowBatches: false };
49994
50035
  AgentApp = class {
49995
50036
  builder = Connection.builder();
@@ -55070,7 +55111,7 @@ var init_sdk_gen = __esm({
55070
55111
  /**
55071
55112
  * Upgrade opencode
55072
55113
  *
55073
- * Upgrade opencode to the specified version or latest if not specified.
55114
+ * Upgrade opencode to the specified version.
55074
55115
  */
55075
55116
  upgrade(parameters, options) {
55076
55117
  const params = buildClientParams([parameters], [{ args: [{ in: "body", key: "target" }] }]);
@@ -62985,6 +63026,7 @@ var init_codex_admin_service = __esm({
62985
63026
  constructor(opts) {
62986
63027
  this.opts = opts;
62987
63028
  }
63029
+ opts;
62988
63030
  getProjectAuth(projectId) {
62989
63031
  let auth = projectAuthById.get(projectId);
62990
63032
  if (!auth) {
@@ -70367,8 +70409,8 @@ import { fileURLToPath } from "node:url";
70367
70409
  function resolveCliReleaseVersion() {
70368
70410
  const fromEnv = process.env.SUPERONE_CLI_VERSION?.trim();
70369
70411
  if (fromEnv) return fromEnv;
70370
- if ("0.62.0-alpha".trim()) {
70371
- return "0.62.0-alpha".trim();
70412
+ if ("0.62.1-alpha".trim()) {
70413
+ return "0.62.1-alpha".trim();
70372
70414
  }
70373
70415
  const fromDist = readDistManifestVersion();
70374
70416
  if (fromDist) return fromDist;
@@ -70640,6 +70682,8 @@ var AuthService = class {
70640
70682
  this.identity = identity;
70641
70683
  this.hashKey = Buffer.from(sha256Hex(identity.privateKeyPem), "hex");
70642
70684
  }
70685
+ db;
70686
+ identity;
70643
70687
  hashKey;
70644
70688
  /** Called when a client session is revoked so the server can close sockets. */
70645
70689
  onRevoke = null;
@@ -76775,6 +76819,7 @@ var HarnessManager = class {
76775
76819
  this.ensureRows();
76776
76820
  this.clearSimulatedContamination();
76777
76821
  }
76822
+ db;
76778
76823
  /**
76779
76824
  * When true, list/get/ready behave as if every harness is enabled+ready.
76780
76825
  * Never persisted — only for contract/CI simulated runners.
@@ -78102,37 +78147,37 @@ var Ds = typeof process == "object" && process ? process : { stdout: null, stder
78102
78147
  var Wr = (s4) => !!s4 && typeof s4 == "object" && (s4 instanceof A || s4 instanceof Cs || Gr(s4) || Zr(s4));
78103
78148
  var Gr = (s4) => !!s4 && typeof s4 == "object" && s4 instanceof Di && typeof s4.pipe == "function" && s4.pipe !== Cs.Writable.prototype.pipe;
78104
78149
  var Zr = (s4) => !!s4 && typeof s4 == "object" && s4 instanceof Di && typeof s4.write == "function" && typeof s4.end == "function";
78105
- var Q = Symbol("EOF");
78106
- var J = Symbol("maybeEmitEnd");
78107
- var nt = Symbol("emittedEnd");
78108
- var De = Symbol("emittingEnd");
78109
- var qt = Symbol("emittedError");
78110
- var Ne = Symbol("closed");
78111
- var Ns = Symbol("read");
78112
- var Ae = Symbol("flush");
78113
- var As = Symbol("flushChunk");
78114
- var z2 = Symbol("encoding");
78115
- var Mt = Symbol("decoder");
78116
- var g = Symbol("flowing");
78117
- var Qt = Symbol("paused");
78118
- var Bt = Symbol("resume");
78119
- var b = Symbol("buffer");
78120
- var N = Symbol("pipes");
78121
- var _ = Symbol("bufferLength");
78122
- var bi = Symbol("bufferPush");
78123
- var Ie = Symbol("bufferShift");
78124
- var L = Symbol("objectMode");
78125
- var S = Symbol("destroyed");
78126
- var _i = Symbol("error");
78127
- var Oi = Symbol("emitData");
78128
- var Is = Symbol("emitEnd");
78129
- var Ti = Symbol("emitEnd2");
78130
- var Z = Symbol("async");
78131
- var xi = Symbol("abort");
78132
- var Ce = Symbol("aborted");
78133
- var Jt = Symbol("signal");
78134
- var Rt = Symbol("dataListeners");
78135
- var C = Symbol("discarded");
78150
+ var Q = /* @__PURE__ */ Symbol("EOF");
78151
+ var J = /* @__PURE__ */ Symbol("maybeEmitEnd");
78152
+ var nt = /* @__PURE__ */ Symbol("emittedEnd");
78153
+ var De = /* @__PURE__ */ Symbol("emittingEnd");
78154
+ var qt = /* @__PURE__ */ Symbol("emittedError");
78155
+ var Ne = /* @__PURE__ */ Symbol("closed");
78156
+ var Ns = /* @__PURE__ */ Symbol("read");
78157
+ var Ae = /* @__PURE__ */ Symbol("flush");
78158
+ var As = /* @__PURE__ */ Symbol("flushChunk");
78159
+ var z2 = /* @__PURE__ */ Symbol("encoding");
78160
+ var Mt = /* @__PURE__ */ Symbol("decoder");
78161
+ var g = /* @__PURE__ */ Symbol("flowing");
78162
+ var Qt = /* @__PURE__ */ Symbol("paused");
78163
+ var Bt = /* @__PURE__ */ Symbol("resume");
78164
+ var b = /* @__PURE__ */ Symbol("buffer");
78165
+ var N = /* @__PURE__ */ Symbol("pipes");
78166
+ var _ = /* @__PURE__ */ Symbol("bufferLength");
78167
+ var bi = /* @__PURE__ */ Symbol("bufferPush");
78168
+ var Ie = /* @__PURE__ */ Symbol("bufferShift");
78169
+ var L = /* @__PURE__ */ Symbol("objectMode");
78170
+ var S = /* @__PURE__ */ Symbol("destroyed");
78171
+ var _i = /* @__PURE__ */ Symbol("error");
78172
+ var Oi = /* @__PURE__ */ Symbol("emitData");
78173
+ var Is = /* @__PURE__ */ Symbol("emitEnd");
78174
+ var Ti = /* @__PURE__ */ Symbol("emitEnd2");
78175
+ var Z = /* @__PURE__ */ Symbol("async");
78176
+ var xi = /* @__PURE__ */ Symbol("abort");
78177
+ var Ce = /* @__PURE__ */ Symbol("aborted");
78178
+ var Jt = /* @__PURE__ */ Symbol("signal");
78179
+ var Rt = /* @__PURE__ */ Symbol("dataListeners");
78180
+ var C = /* @__PURE__ */ Symbol("discarded");
78136
78181
  var jt = (s4) => Promise.resolve().then(s4);
78137
78182
  var Yr = (s4) => s4();
78138
78183
  var Kr = (s4) => s4 === "end" || s4 === "finish" || s4 === "prefinish";
@@ -78438,34 +78483,34 @@ var A = class extends Di {
78438
78483
  }
78439
78484
  };
78440
78485
  var Jr = I.writev;
78441
- var ht = Symbol("_autoClose");
78442
- var H = Symbol("_close");
78443
- var te = Symbol("_ended");
78444
- var m = Symbol("_fd");
78445
- var Ni = Symbol("_finished");
78446
- var tt = Symbol("_flags");
78447
- var Ai = Symbol("_flush");
78448
- var ki = Symbol("_handleChunk");
78449
- var vi = Symbol("_makeBuf");
78450
- var ie = Symbol("_mode");
78451
- var ke = Symbol("_needDrain");
78452
- var Ut = Symbol("_onerror");
78453
- var Ht = Symbol("_onopen");
78454
- var Ii = Symbol("_onread");
78455
- var Pt = Symbol("_onwrite");
78456
- var at = Symbol("_open");
78457
- var U = Symbol("_path");
78458
- var ot = Symbol("_pos");
78459
- var Y = Symbol("_queue");
78460
- var zt = Symbol("_read");
78461
- var Ci = Symbol("_readSize");
78462
- var j = Symbol("_reading");
78463
- var ee = Symbol("_remain");
78464
- var Fi = Symbol("_size");
78465
- var ve = Symbol("_write");
78466
- var gt = Symbol("_writing");
78467
- var Me = Symbol("_defaultFlag");
78468
- var bt = Symbol("_errored");
78486
+ var ht = /* @__PURE__ */ Symbol("_autoClose");
78487
+ var H = /* @__PURE__ */ Symbol("_close");
78488
+ var te = /* @__PURE__ */ Symbol("_ended");
78489
+ var m = /* @__PURE__ */ Symbol("_fd");
78490
+ var Ni = /* @__PURE__ */ Symbol("_finished");
78491
+ var tt = /* @__PURE__ */ Symbol("_flags");
78492
+ var Ai = /* @__PURE__ */ Symbol("_flush");
78493
+ var ki = /* @__PURE__ */ Symbol("_handleChunk");
78494
+ var vi = /* @__PURE__ */ Symbol("_makeBuf");
78495
+ var ie = /* @__PURE__ */ Symbol("_mode");
78496
+ var ke = /* @__PURE__ */ Symbol("_needDrain");
78497
+ var Ut = /* @__PURE__ */ Symbol("_onerror");
78498
+ var Ht = /* @__PURE__ */ Symbol("_onopen");
78499
+ var Ii = /* @__PURE__ */ Symbol("_onread");
78500
+ var Pt = /* @__PURE__ */ Symbol("_onwrite");
78501
+ var at = /* @__PURE__ */ Symbol("_open");
78502
+ var U = /* @__PURE__ */ Symbol("_path");
78503
+ var ot = /* @__PURE__ */ Symbol("_pos");
78504
+ var Y = /* @__PURE__ */ Symbol("_queue");
78505
+ var zt = /* @__PURE__ */ Symbol("_read");
78506
+ var Ci = /* @__PURE__ */ Symbol("_readSize");
78507
+ var j = /* @__PURE__ */ Symbol("_reading");
78508
+ var ee = /* @__PURE__ */ Symbol("_remain");
78509
+ var Fi = /* @__PURE__ */ Symbol("_size");
78510
+ var ve = /* @__PURE__ */ Symbol("_write");
78511
+ var gt = /* @__PURE__ */ Symbol("_writing");
78512
+ var Me = /* @__PURE__ */ Symbol("_defaultFlag");
78513
+ var bt = /* @__PURE__ */ Symbol("_errored");
78469
78514
  var _t = class extends A {
78470
78515
  [bt] = false;
78471
78516
  [m];
@@ -78716,7 +78761,7 @@ var Bi = zs?.writable === true || zs?.set !== void 0 ? (s4) => {
78716
78761
  Ot.concat = s4 ? nn : rn;
78717
78762
  } : (s4) => {
78718
78763
  };
78719
- var Tt = Symbol("_superWrite");
78764
+ var Tt = /* @__PURE__ */ Symbol("_superWrite");
78720
78765
  var Gt = class extends Error {
78721
78766
  code;
78722
78767
  errno;
@@ -78727,7 +78772,7 @@ var Gt = class extends Error {
78727
78772
  return "ZlibError";
78728
78773
  }
78729
78774
  };
78730
- var Pi = Symbol("flushFlag");
78775
+ var Pi = /* @__PURE__ */ Symbol("flushFlag");
78731
78776
  var re = class extends A {
78732
78777
  #t = false;
78733
78778
  #i = false;
@@ -79168,40 +79213,40 @@ var Nn = 1024 * 1024;
79168
79213
  var Xi = Buffer.from([31, 139]);
79169
79214
  var qi = Buffer.from([40, 181, 47, 253]);
79170
79215
  var An = Math.max(Xi.length, qi.length);
79171
- var B = Symbol("state");
79172
- var Nt = Symbol("writeEntry");
79173
- var it = Symbol("readEntry");
79174
- var Zi = Symbol("nextEntry");
79175
- var Zs = Symbol("processEntry");
79176
- var V = Symbol("extendedHeader");
79177
- var he = Symbol("globalExtendedHeader");
79178
- var dt = Symbol("meta");
79179
- var Ys = Symbol("emitMeta");
79180
- var p = Symbol("buffer");
79181
- var st = Symbol("queue");
79182
- var ut = Symbol("ended");
79183
- var Yi = Symbol("emittedEnd");
79184
- var At = Symbol("emit");
79185
- var w = Symbol("unzip");
79186
- var Xe = Symbol("consumeChunk");
79187
- var qe = Symbol("consumeChunkSub");
79188
- var Ki = Symbol("consumeBody");
79189
- var Ks = Symbol("consumeMeta");
79190
- var Vs = Symbol("consumeHeader");
79191
- var ae = Symbol("consuming");
79192
- var Vi = Symbol("bufferConcat");
79193
- var Qe = Symbol("maybeEnd");
79194
- var Yt = Symbol("writing");
79195
- var $ = Symbol("aborted");
79196
- var Je = Symbol("onDone");
79197
- var It = Symbol("sawValidEntry");
79198
- var je = Symbol("sawNullBlock");
79199
- var ti = Symbol("sawEOF");
79200
- var $s = Symbol("closeStream");
79216
+ var B = /* @__PURE__ */ Symbol("state");
79217
+ var Nt = /* @__PURE__ */ Symbol("writeEntry");
79218
+ var it = /* @__PURE__ */ Symbol("readEntry");
79219
+ var Zi = /* @__PURE__ */ Symbol("nextEntry");
79220
+ var Zs = /* @__PURE__ */ Symbol("processEntry");
79221
+ var V = /* @__PURE__ */ Symbol("extendedHeader");
79222
+ var he = /* @__PURE__ */ Symbol("globalExtendedHeader");
79223
+ var dt = /* @__PURE__ */ Symbol("meta");
79224
+ var Ys = /* @__PURE__ */ Symbol("emitMeta");
79225
+ var p = /* @__PURE__ */ Symbol("buffer");
79226
+ var st = /* @__PURE__ */ Symbol("queue");
79227
+ var ut = /* @__PURE__ */ Symbol("ended");
79228
+ var Yi = /* @__PURE__ */ Symbol("emittedEnd");
79229
+ var At = /* @__PURE__ */ Symbol("emit");
79230
+ var w = /* @__PURE__ */ Symbol("unzip");
79231
+ var Xe = /* @__PURE__ */ Symbol("consumeChunk");
79232
+ var qe = /* @__PURE__ */ Symbol("consumeChunkSub");
79233
+ var Ki = /* @__PURE__ */ Symbol("consumeBody");
79234
+ var Ks = /* @__PURE__ */ Symbol("consumeMeta");
79235
+ var Vs = /* @__PURE__ */ Symbol("consumeHeader");
79236
+ var ae = /* @__PURE__ */ Symbol("consuming");
79237
+ var Vi = /* @__PURE__ */ Symbol("bufferConcat");
79238
+ var Qe = /* @__PURE__ */ Symbol("maybeEnd");
79239
+ var Yt = /* @__PURE__ */ Symbol("writing");
79240
+ var $ = /* @__PURE__ */ Symbol("aborted");
79241
+ var Je = /* @__PURE__ */ Symbol("onDone");
79242
+ var It = /* @__PURE__ */ Symbol("sawValidEntry");
79243
+ var je = /* @__PURE__ */ Symbol("sawNullBlock");
79244
+ var ti = /* @__PURE__ */ Symbol("sawEOF");
79245
+ var $s = /* @__PURE__ */ Symbol("closeStream");
79201
79246
  var In = 1e3;
79202
- var le = Symbol("compressedBytesRead");
79203
- var $i = Symbol("decompressedBytesRead");
79204
- var Xs = Symbol("checkDecompressionRatio");
79247
+ var le = /* @__PURE__ */ Symbol("compressedBytesRead");
79248
+ var $i = /* @__PURE__ */ Symbol("decompressedBytesRead");
79249
+ var Xs = /* @__PURE__ */ Symbol("checkDecompressionRatio");
79205
79250
  var Cn = () => true;
79206
79251
  var rt = class extends Dn {
79207
79252
  file;
@@ -79518,24 +79563,24 @@ var ts = (s4) => ei.reduce((t, e) => t.split(e).join(Un.get(e)), s4);
79518
79563
  var Qs = (s4) => ji.reduce((t, e) => t.split(e).join(Hn.get(e)), s4);
79519
79564
  var rr = (s4, t) => t ? (s4 = f(s4).replace(/^\.(\/|$)/, ""), mt(t) + "/" + s4) : f(s4);
79520
79565
  var Wn = 16 * 1024 * 1024;
79521
- var tr = Symbol("process");
79522
- var er = Symbol("file");
79523
- var ir = Symbol("directory");
79524
- var is = Symbol("symlink");
79525
- var sr = Symbol("hardlink");
79526
- var fe = Symbol("header");
79527
- var ii = Symbol("read");
79528
- var ss = Symbol("lstat");
79529
- var si = Symbol("onlstat");
79530
- var rs = Symbol("onread");
79531
- var ns = Symbol("onreadlink");
79532
- var os = Symbol("openfile");
79533
- var hs = Symbol("onopenfile");
79534
- var pt = Symbol("close");
79535
- var ri = Symbol("mode");
79536
- var as = Symbol("awaitDrain");
79537
- var es = Symbol("ondrain");
79538
- var q = Symbol("prefix");
79566
+ var tr = /* @__PURE__ */ Symbol("process");
79567
+ var er = /* @__PURE__ */ Symbol("file");
79568
+ var ir = /* @__PURE__ */ Symbol("directory");
79569
+ var is = /* @__PURE__ */ Symbol("symlink");
79570
+ var sr = /* @__PURE__ */ Symbol("hardlink");
79571
+ var fe = /* @__PURE__ */ Symbol("header");
79572
+ var ii = /* @__PURE__ */ Symbol("read");
79573
+ var ss = /* @__PURE__ */ Symbol("lstat");
79574
+ var si = /* @__PURE__ */ Symbol("onlstat");
79575
+ var rs = /* @__PURE__ */ Symbol("onread");
79576
+ var ns = /* @__PURE__ */ Symbol("onreadlink");
79577
+ var os = /* @__PURE__ */ Symbol("openfile");
79578
+ var hs = /* @__PURE__ */ Symbol("onopenfile");
79579
+ var pt = /* @__PURE__ */ Symbol("close");
79580
+ var ri = /* @__PURE__ */ Symbol("mode");
79581
+ var as = /* @__PURE__ */ Symbol("awaitDrain");
79582
+ var es = /* @__PURE__ */ Symbol("ondrain");
79583
+ var q = /* @__PURE__ */ Symbol("prefix");
79539
79584
  var de = class extends A {
79540
79585
  path;
79541
79586
  portable;
@@ -79976,27 +80021,27 @@ var pi = class {
79976
80021
  }
79977
80022
  };
79978
80023
  var nr = Buffer.alloc(1024);
79979
- var li = Symbol("onStat");
79980
- var me = Symbol("ended");
79981
- var W = Symbol("queue");
79982
- var pe = Symbol("pendingLinks");
79983
- var Et = Symbol("current");
79984
- var Ft = Symbol("process");
79985
- var Ee = Symbol("processing");
79986
- var ai = Symbol("processJob");
79987
- var G = Symbol("jobs");
79988
- var ls = Symbol("jobDone");
79989
- var ci = Symbol("addFSEntry");
79990
- var or = Symbol("addTarEntry");
79991
- var ds = Symbol("stat");
79992
- var us = Symbol("readdir");
79993
- var fi = Symbol("onreaddir");
79994
- var di = Symbol("pipe");
79995
- var hr = Symbol("entry");
79996
- var cs = Symbol("entryOpt");
79997
- var ui = Symbol("writeEntryClass");
79998
- var lr = Symbol("write");
79999
- var fs = Symbol("ondrain");
80024
+ var li = /* @__PURE__ */ Symbol("onStat");
80025
+ var me = /* @__PURE__ */ Symbol("ended");
80026
+ var W = /* @__PURE__ */ Symbol("queue");
80027
+ var pe = /* @__PURE__ */ Symbol("pendingLinks");
80028
+ var Et = /* @__PURE__ */ Symbol("current");
80029
+ var Ft = /* @__PURE__ */ Symbol("process");
80030
+ var Ee = /* @__PURE__ */ Symbol("processing");
80031
+ var ai = /* @__PURE__ */ Symbol("processJob");
80032
+ var G = /* @__PURE__ */ Symbol("jobs");
80033
+ var ls = /* @__PURE__ */ Symbol("jobDone");
80034
+ var ci = /* @__PURE__ */ Symbol("addFSEntry");
80035
+ var or = /* @__PURE__ */ Symbol("addTarEntry");
80036
+ var ds = /* @__PURE__ */ Symbol("stat");
80037
+ var us = /* @__PURE__ */ Symbol("readdir");
80038
+ var fi = /* @__PURE__ */ Symbol("onreaddir");
80039
+ var di = /* @__PURE__ */ Symbol("pipe");
80040
+ var hr = /* @__PURE__ */ Symbol("entry");
80041
+ var cs = /* @__PURE__ */ Symbol("entryOpt");
80042
+ var ui = /* @__PURE__ */ Symbol("writeEntryClass");
80043
+ var lr = /* @__PURE__ */ Symbol("write");
80044
+ var fs = /* @__PURE__ */ Symbol("ondrain");
80000
80045
  var wt = class extends A {
80001
80046
  sync = false;
80002
80047
  opt;
@@ -80466,32 +80511,32 @@ var yi = class {
80466
80511
  }
80467
80512
  };
80468
80513
  var Lr = () => process.umask();
80469
- var Dr = Symbol("onEntry");
80470
- var _s = Symbol("checkFs");
80471
- var Nr = Symbol("checkFs2");
80472
- var Os = Symbol("isReusable");
80473
- var P = Symbol("makeFs");
80474
- var Ts = Symbol("file");
80475
- var xs = Symbol("directory");
80476
- var gi = Symbol("link");
80477
- var Ar = Symbol("symlink");
80478
- var Ir = Symbol("hardlink");
80479
- var Re = Symbol("ensureNoSymlink");
80480
- var Cr = Symbol("unsupported");
80481
- var Fr = Symbol("checkPath");
80482
- var Rs = Symbol("stripAbsolutePath");
80483
- var yt = Symbol("mkdir");
80484
- var O = Symbol("onError");
80485
- var Ri = Symbol("pending");
80486
- var kr = Symbol("pend");
80487
- var $t = Symbol("unpend");
80488
- var gs = Symbol("ended");
80489
- var bs = Symbol("maybeClose");
80490
- var Ls = Symbol("skip");
80491
- var ge = Symbol("doChown");
80492
- var be = Symbol("uid");
80493
- var _e = Symbol("gid");
80494
- var Oe = Symbol("checkedCwd");
80514
+ var Dr = /* @__PURE__ */ Symbol("onEntry");
80515
+ var _s = /* @__PURE__ */ Symbol("checkFs");
80516
+ var Nr = /* @__PURE__ */ Symbol("checkFs2");
80517
+ var Os = /* @__PURE__ */ Symbol("isReusable");
80518
+ var P = /* @__PURE__ */ Symbol("makeFs");
80519
+ var Ts = /* @__PURE__ */ Symbol("file");
80520
+ var xs = /* @__PURE__ */ Symbol("directory");
80521
+ var gi = /* @__PURE__ */ Symbol("link");
80522
+ var Ar = /* @__PURE__ */ Symbol("symlink");
80523
+ var Ir = /* @__PURE__ */ Symbol("hardlink");
80524
+ var Re = /* @__PURE__ */ Symbol("ensureNoSymlink");
80525
+ var Cr = /* @__PURE__ */ Symbol("unsupported");
80526
+ var Fr = /* @__PURE__ */ Symbol("checkPath");
80527
+ var Rs = /* @__PURE__ */ Symbol("stripAbsolutePath");
80528
+ var yt = /* @__PURE__ */ Symbol("mkdir");
80529
+ var O = /* @__PURE__ */ Symbol("onError");
80530
+ var Ri = /* @__PURE__ */ Symbol("pending");
80531
+ var kr = /* @__PURE__ */ Symbol("pend");
80532
+ var $t = /* @__PURE__ */ Symbol("unpend");
80533
+ var gs = /* @__PURE__ */ Symbol("ended");
80534
+ var bs = /* @__PURE__ */ Symbol("maybeClose");
80535
+ var Ls = /* @__PURE__ */ Symbol("skip");
80536
+ var ge = /* @__PURE__ */ Symbol("doChown");
80537
+ var be = /* @__PURE__ */ Symbol("uid");
80538
+ var _e = /* @__PURE__ */ Symbol("gid");
80539
+ var Oe = /* @__PURE__ */ Symbol("checkedCwd");
80495
80540
  var fo = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
80496
80541
  var Te = fo === "win32";
80497
80542
  var uo = 1024;
@@ -82042,6 +82087,7 @@ var NodeTerminalManager = class {
82042
82087
  constructor(db) {
82043
82088
  this.db = db;
82044
82089
  }
82090
+ db;
82045
82091
  byId = /* @__PURE__ */ new Map();
82046
82092
  create(opts) {
82047
82093
  if (!existsSync34(opts.cwd)) {
@@ -82225,6 +82271,7 @@ var ProjectRegistry = class {
82225
82271
  constructor(db) {
82226
82272
  this.db = db;
82227
82273
  }
82274
+ db;
82228
82275
  list() {
82229
82276
  const rows = this.db.prepare(
82230
82277
  `SELECT project_id, path, name, repo_identity, opened_at, last_active_at, extra_dirs_json FROM projects ORDER BY last_active_at DESC`
@@ -82424,6 +82471,7 @@ var WorkspaceFsService = class {
82424
82471
  constructor(projects) {
82425
82472
  this.projects = projects;
82426
82473
  }
82474
+ projects;
82427
82475
  projectRoot(projectId) {
82428
82476
  const p3 = this.projects.get(projectId);
82429
82477
  if (!p3) throw Object.assign(new Error("project not found"), { code: "not_found" });
@@ -82916,6 +82964,7 @@ var WorkspaceGitService = class {
82916
82964
  constructor(projects) {
82917
82965
  this.projects = projects;
82918
82966
  }
82967
+ projects;
82919
82968
  root(projectId) {
82920
82969
  const p3 = this.projects.get(projectId);
82921
82970
  if (!p3) throw Object.assign(new Error("project not found"), { code: "not_found" });
@@ -83320,6 +83369,7 @@ var ControlLeaseService = class {
83320
83369
  this.db = db;
83321
83370
  this.leaseEpoch = randomUUID9();
83322
83371
  }
83372
+ db;
83323
83373
  leaseEpoch;
83324
83374
  get epoch() {
83325
83375
  return this.leaseEpoch;
@@ -83551,6 +83601,7 @@ var CollaborationService = class {
83551
83601
  constructor(deps) {
83552
83602
  this.deps = deps;
83553
83603
  }
83604
+ deps;
83554
83605
  /** Agent profiles from session_providers (+ ready-harness fallback). */
83555
83606
  listProfiles() {
83556
83607
  const { harnesses, providers, sessions, sessionProviders } = this.deps;
@@ -84668,6 +84719,7 @@ var WorkspaceWatchService = class {
84668
84719
  constructor(projects) {
84669
84720
  this.projects = projects;
84670
84721
  }
84722
+ projects;
84671
84723
  watchers = /* @__PURE__ */ new Map();
84672
84724
  ownerByWatch = /* @__PURE__ */ new Map();
84673
84725
  cancelByWatch = /* @__PURE__ */ new Map();
@@ -84769,6 +84821,8 @@ var WorkspaceTailWatchService = class {
84769
84821
  this.projects = projects;
84770
84822
  this.fs = fs2;
84771
84823
  }
84824
+ projects;
84825
+ fs;
84772
84826
  entries = /* @__PURE__ */ new Map();
84773
84827
  start(projectId, relativePath, opts) {
84774
84828
  const project = this.projects.get(projectId);
@@ -84962,6 +85016,7 @@ var IdempotencyService = class {
84962
85016
  constructor(db) {
84963
85017
  this.db = db;
84964
85018
  }
85019
+ db;
84965
85020
  inflight = /* @__PURE__ */ new Map();
84966
85021
  payloadHash(payload) {
84967
85022
  return createHash10("sha256").update(JSON.stringify(payload ?? null)).digest("hex");
@@ -85082,6 +85137,7 @@ var ProviderStore = class {
85082
85137
  this.db = db;
85083
85138
  this.crypto = createNodeSecretCrypto(secretKeyPath);
85084
85139
  }
85140
+ db;
85085
85141
  crypto;
85086
85142
  listCredentials() {
85087
85143
  return this.db.prepare("SELECT * FROM provider_credentials ORDER BY sort_order, created_at").all().map((row) => this.rowToCredential(row)).map((c) => this.maskCredential(c));
@@ -85475,7 +85531,7 @@ var RequestHeaders = class {
85475
85531
  return this.entries();
85476
85532
  }
85477
85533
  };
85478
- Object.defineProperty(RequestHeaders.prototype, Symbol.for("nodejs.util.inspect.custom"), { value: function(depth, options, inspectFn) {
85534
+ Object.defineProperty(RequestHeaders.prototype, /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom"), { value: function(depth, options, inspectFn) {
85479
85535
  return `Headers (lightweight) ${inspectFn(Object.fromEntries(this), {
85480
85536
  ...options,
85481
85537
  depth: depth == null ? null : depth - 1
@@ -85515,7 +85571,7 @@ var Request$1 = class extends GlobalRequest {
85515
85571
  super(input, options);
85516
85572
  }
85517
85573
  };
85518
- var wrapBodyStream = Symbol("wrapBodyStream");
85574
+ var wrapBodyStream = /* @__PURE__ */ Symbol("wrapBodyStream");
85519
85575
  var byteExactEncodings = /* @__PURE__ */ new Set([
85520
85576
  "latin1",
85521
85577
  "binary",
@@ -85524,8 +85580,8 @@ var byteExactEncodings = /* @__PURE__ */ new Set([
85524
85580
  "base64url"
85525
85581
  ]);
85526
85582
  var isByteExactEncoding = (encoding) => encoding === null || byteExactEncodings.has(encoding);
85527
- var bodyBufferedBeforeDisconnectKey = Symbol("bodyBufferedBeforeDisconnect");
85528
- var bodyBufferedLengthBeforeDisconnectKey = Symbol("bodyBufferedLengthBeforeDisconnect");
85583
+ var bodyBufferedBeforeDisconnectKey = /* @__PURE__ */ Symbol("bodyBufferedBeforeDisconnect");
85584
+ var bodyBufferedLengthBeforeDisconnectKey = /* @__PURE__ */ Symbol("bodyBufferedLengthBeforeDisconnect");
85529
85585
  var toBufferChunk = (chunk, encoding) => Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk, encoding ?? "utf8");
85530
85586
  var isRecoverableDisconnectedIncoming = (incoming) => !(incoming instanceof Http2ServerRequest) && !!incoming.complete && !!incoming.readableAborted && typeof incoming.read === "function" && isByteExactEncoding(incoming.readableEncoding);
85531
85587
  var recordBodyBufferedBeforeDisconnect = (incoming) => {
@@ -85610,20 +85666,20 @@ var newRequestFromIncoming = (method, url2, headers, incoming, abortController)
85610
85666
  }
85611
85667
  return new Request$1(url2, init);
85612
85668
  };
85613
- var getRequestCache = Symbol("getRequestCache");
85614
- var requestCache = Symbol("requestCache");
85615
- var incomingKey = Symbol("incomingKey");
85616
- var urlKey = Symbol("urlKey");
85617
- var methodKey = Symbol("methodKey");
85618
- var headersKey = Symbol("headersKey");
85619
- var abortControllerKey = Symbol("abortControllerKey");
85620
- var getAbortController = Symbol("getAbortController");
85621
- var abortRequest = Symbol("abortRequest");
85622
- var bodyBufferKey = Symbol("bodyBuffer");
85623
- var bodyReadPromiseKey = Symbol("bodyReadPromise");
85624
- var bodyConsumedDirectlyKey = Symbol("bodyConsumedDirectly");
85625
- var bodyLockReaderKey = Symbol("bodyLockReader");
85626
- var abortReasonKey = Symbol("abortReason");
85669
+ var getRequestCache = /* @__PURE__ */ Symbol("getRequestCache");
85670
+ var requestCache = /* @__PURE__ */ Symbol("requestCache");
85671
+ var incomingKey = /* @__PURE__ */ Symbol("incomingKey");
85672
+ var urlKey = /* @__PURE__ */ Symbol("urlKey");
85673
+ var methodKey = /* @__PURE__ */ Symbol("methodKey");
85674
+ var headersKey = /* @__PURE__ */ Symbol("headersKey");
85675
+ var abortControllerKey = /* @__PURE__ */ Symbol("abortControllerKey");
85676
+ var getAbortController = /* @__PURE__ */ Symbol("getAbortController");
85677
+ var abortRequest = /* @__PURE__ */ Symbol("abortRequest");
85678
+ var bodyBufferKey = /* @__PURE__ */ Symbol("bodyBuffer");
85679
+ var bodyReadPromiseKey = /* @__PURE__ */ Symbol("bodyReadPromise");
85680
+ var bodyConsumedDirectlyKey = /* @__PURE__ */ Symbol("bodyConsumedDirectly");
85681
+ var bodyLockReaderKey = /* @__PURE__ */ Symbol("bodyLockReader");
85682
+ var abortReasonKey = /* @__PURE__ */ Symbol("abortReason");
85627
85683
  var newBodyUnusableError = () => {
85628
85684
  return /* @__PURE__ */ new TypeError("Body is unusable");
85629
85685
  };
@@ -85888,7 +85944,7 @@ Object.defineProperty(requestPrototype, "json", { value: function() {
85888
85944
  if (this[bodyConsumedDirectlyKey]) return rejectBodyUnusable();
85889
85945
  return this.text().then(JSON.parse);
85890
85946
  } });
85891
- Object.defineProperty(requestPrototype, Symbol.for("nodejs.util.inspect.custom"), { value: function(depth, options, inspectFn) {
85947
+ Object.defineProperty(requestPrototype, /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom"), { value: function(depth, options, inspectFn) {
85892
85948
  return `Request (lightweight) ${inspectFn({
85893
85949
  method: this.method,
85894
85950
  url: this.url,
@@ -85930,9 +85986,9 @@ var newRequest = (incoming, defaultHostname) => {
85930
85986
  return req;
85931
85987
  };
85932
85988
  var defaultContentType = "text/plain; charset=UTF-8";
85933
- var responseCache = Symbol("responseCache");
85934
- var getResponseCache = Symbol("getResponseCache");
85935
- var cacheKey = Symbol("cache");
85989
+ var responseCache = /* @__PURE__ */ Symbol("responseCache");
85990
+ var getResponseCache = /* @__PURE__ */ Symbol("getResponseCache");
85991
+ var cacheKey = /* @__PURE__ */ Symbol("cache");
85936
85992
  var GlobalResponse = global.Response;
85937
85993
  var Response$1 = class Response$12 {
85938
85994
  #body;
@@ -86007,7 +86063,7 @@ var Response$1 = class Response$12 {
86007
86063
  return this[getResponseCache]()[k3]();
86008
86064
  } });
86009
86065
  });
86010
- Object.defineProperty(Response$1.prototype, Symbol.for("nodejs.util.inspect.custom"), { value: function(depth, options, inspectFn) {
86066
+ Object.defineProperty(Response$1.prototype, /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom"), { value: function(depth, options, inspectFn) {
86011
86067
  return `Response (lightweight) ${inspectFn({
86012
86068
  status: this.status,
86013
86069
  headers: this.headers,
@@ -86111,8 +86167,8 @@ var buildOutgoingHttpHeaders = (headers, defaultContentType2) => {
86111
86167
  if (defaultContentType2) res["content-type"] ??= defaultContentType2;
86112
86168
  return res;
86113
86169
  };
86114
- var outgoingEnded = Symbol("outgoingEnded");
86115
- var incomingDraining = Symbol("incomingDraining");
86170
+ var outgoingEnded = /* @__PURE__ */ Symbol("outgoingEnded");
86171
+ var incomingDraining = /* @__PURE__ */ Symbol("incomingDraining");
86116
86172
  var DRAIN_TIMEOUT_MS = 500;
86117
86173
  var MAX_DRAIN_BYTES = 64 * 1024 * 1024;
86118
86174
  var drainIncoming = (incoming) => {
@@ -86397,9 +86453,9 @@ var ErrorEvent = globalThis.ErrorEvent ?? class extends Event {
86397
86453
  return this.#eventInitDict.error ?? null;
86398
86454
  }
86399
86455
  };
86400
- var generateConnectionSymbol = () => Symbol("connection");
86401
- var CONNECTION_SYMBOL_KEY = Symbol("CONNECTION_SYMBOL_KEY");
86402
- var WAIT_FOR_WEBSOCKET_SYMBOL = Symbol("WAIT_FOR_WEBSOCKET_SYMBOL");
86456
+ var generateConnectionSymbol = () => /* @__PURE__ */ Symbol("connection");
86457
+ var CONNECTION_SYMBOL_KEY = /* @__PURE__ */ Symbol("CONNECTION_SYMBOL_KEY");
86458
+ var WAIT_FOR_WEBSOCKET_SYMBOL = /* @__PURE__ */ Symbol("WAIT_FOR_WEBSOCKET_SYMBOL");
86403
86459
  var upgradeWebSocket = defineWebSocketHelper(async (c, events, options) => {
86404
86460
  if (c.req.header("upgrade")?.toLowerCase() !== "websocket") return;
86405
86461
  const env = c.env;
@@ -92587,7 +92643,6 @@ ZodNaN2.create = (params) => {
92587
92643
  ...processCreateParams(params)
92588
92644
  });
92589
92645
  };
92590
- var BRAND = Symbol("zod_brand");
92591
92646
  var ZodBranded = class extends ZodType2 {
92592
92647
  _parse(input) {
92593
92648
  const { ctx } = this._processInputParams(input);
@@ -92980,7 +93035,7 @@ function isTerminal2(status) {
92980
93035
  }
92981
93036
 
92982
93037
  // ../../node_modules/zod-to-json-schema/dist/esm/Options.js
92983
- var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
93038
+ var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
92984
93039
  var defaultOptions = {
92985
93040
  name: void 0,
92986
93041
  $refStrategy: "root",
@@ -95947,7 +96002,7 @@ var Server = class extends Protocol {
95947
96002
  };
95948
96003
 
95949
96004
  // ../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
95950
- var COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
96005
+ var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
95951
96006
  function isCompletable(schema) {
95952
96007
  return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
95953
96008
  }
@@ -98183,6 +98238,7 @@ var AutomationService = class {
98183
98238
  error: (...args) => console.error("[AutomationService]", ...args)
98184
98239
  };
98185
98240
  }
98241
+ deps;
98186
98242
  pollInterval = null;
98187
98243
  stopped = true;
98188
98244
  runningAutomations = /* @__PURE__ */ new Set();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@super-one/cli",
3
- "version": "0.62.0-alpha",
3
+ "version": "0.62.1-alpha",
4
4
  "description": "SuperOne headless node CLI — remote execution environment (RPC, workspaces, sessions).",
5
5
  "type": "module",
6
6
  "license": "BUSL-1.1",