alink-cli 0.11.1 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { $ as make$66, A as withLoggerDisabled, At as matchStatus, B as limitsServices, Bt as post$1, C as update$2, Ct as setHeader, D as compression, Dt as uint8Array$1, Et as text$2, F as schemaHeaders, Ft as appendUrlParams, G as CloseEvent, Gt as setUrl, Ht as setBody, I as schemaSearchParams, It as bodyFormData, Jt as HttpClientErrorSchema, K as SocketError, Kt as DecodeError, L as toURL, Lt as bodyJson, M as ParsedSearchParams, O as cors$1, Ot as urlParams$1, P as schemaCookies, Pt as schemaBodyJson, Q as join$1, Rt as get$4, S as set$2, Sn as __commonJSMin, T as appendPreResponseHandler, Tt as stream, Ut as setHeader$1, Vt as prependUrl, Wt as setHeaders, X as makeWebSocket, Xt as isHttpClientError, Y as make$67, Yt as StatusCodeError, Z as awaitEmpty, Zt as empty$2, _ as get$3, _n as fromInput, _t as mergeCookies, a as layer$44, an as CurrentRedactedNames, b as makeUnsafe$3, bn as hasBody, cn as fromRecordUnsafe, d as HttpClient, dn as jsonUnsafe$1, en as set$3, et as run$4, f as TracerPropagationEnabled, g as transformResponse$1, gn as urlParams, gt as jsonUnsafe, h as retryTransient, hn as uint8Array, ht as isHttpServerResponse, j as HttpServerRequest, k as logger, kt as filterStatusOk, l as serve$1, ln as merge, lt as symbol$1, m as mapRequest, mn as text$1, mt as file, o as HttpServer, on as empty$3, ot as RouteNotFound, p as filterStatusOk$1, pt as empty$1, q as SocketErrorReason, qt as HttpClientError, r as Mime_default, rt as HttpServerError, sn as fromInput$1, t as layerWebSocketConstructor, tt as runtime, u as withLogAddress, un as isHttpBody, ut as toResponse, v as getAndSet, vn as schemaRecord, w as updateAndGet, wn as __require, wt as setHeaders$1, x as modify$2, xn as map$3, xt as schemaJson, y as make$64, yn as toRecord, yt as redirect, zt as make$65 } from "./NodeSocket-CLfrrutd.mjs";
4
- import { $ as decodeUnknownExit, $a as flatMap$1, $d as hasProperty, $l as format$1, $o as scopedWith, $s as TaggedError, $t as Union$1, $u as add$2, A as StructWithRest, Aa as asVoid, Ac as _await, Ai as make$76, An as encodeBase64, Ao as matchEffect, Ar as mapEffect$1, As as withSpan, At as suspend$1, B as Union, Ba as catchTags, Bc as succeed$4, Bi as offerUnsafe, Bn as now$1, Bo as provide$1, Br as provideService$1, Bs as forever$1, Bt as value, C as Number$1, Ca as andThen, Cc as forkUnsafe, Cd as map$6, Cl as CurrentLoggers$1, Cn as parseJson, Co as map$4, Cs as useSpan, Ct as isTrimmed, Cu as flatMapNullishOr, D as String$1, Da as annotateSpans, Dc as MinimumLogLevel, Dd as Number$2, Di as pipeTo, Dn as decodeBase64String, Do as match$2, Dr as make$75, Ds as withFiber$1, Dt as mutable, E as Record, Ea as annotateLogsScoped, Ec as provide$2, Ed as some, Ei as mapEffect$2, Er as isStream, Es as withErrorReporting, Et as makeFilter, Eu as isReadonlyArrayNonEmpty, Fi as failCause$3, Fl as reportCauseUnsafe, Fn as isGreaterThan$1, Fo as onInterrupt, Fr as onExit$1, Fs as snapshotUnsafe, Ft as toJsonSchemaDocument, G as annotateKey, Ga as currentParentSpan, Gc as isFailure, Gi as takeAll, Gl as ParentSpan, Gn as InvalidValue$1, Go as result, Gr as runFoldEffect, Gs as isDoneCause, Gt as toJsonSchemaMultiDocument, Gu as getOrUndefined$2, H as UnknownFromJsonString$1, Hc as fail$4, Hd as toJson, Hi as shutdown$1, Hn as toEpochMillis, Ho as provideService, Hr as runCollect, Hs as passthrough, Ht as toMultiDocumentOpenApi3_1, Hu as fail$1, I as URLFromString, Ia as catchFilter, Ic as isDeferred, Id as isEffect$1, In as isGreaterThanOrEqualTo$1, Io as option, Is as timer, It as toType, Iu as map$7, J as decodeEffect, Ja as ensuring, Ji as shutdown$2, Jl as make$78, Jn as Path, Jo as runForkWith, Js as Clock, K as brand, Ka as die, Kc as isSuccess, Kd as equals, Ki as unbounded$2, Kl as Tracer, Ko as retry, Kr as runForEach, Ks as parse$2, Kt as escapeToken, Ku as isFailure$1, L as Uint8Array$1, La as catchIf, Ld as withFiber, Li as make$79, Ln as isLessThan$1, Lo as orDie, Lr as pipeThroughChannel, Ls as update$3, Lt as withConstructorDefault, M as TaggedStruct, Ma as callback, Md as setStackTraceLimit, Mi as bounded, Mn as encodeHex, Mo as onError, Mr as merge$2, Ms as yieldNow, Mt as toCodecJson, Mu as reverse, N as TemplateLiteral, Na as catchCause, Nc as fail$3, Nd as Prototype, Ni as end, Nn as add$3, No as onExit, Ns as zipWith, Nt as toCodecJsonAST, Nu as sort, O as StringFromUriComponent, Oa as as, Oc as TracerEnabled, Od as make$73, On as decodeBase64Url, Oo as matchCauseEffect, Or as map$8, Ot as optional$3, Ou as map$5, Pa as catchDefect, Pc as failCause$2, Pd as PipeInspectableProto, Pn as formatIso, Ps as counter, Pt as toCodecStringTree, Q as decodeUnknownEffect, Qa as filterOrFail, Qc as StackTrace, Qd as compose$1, Ql as days, Qo as scoped, Qr as toAsyncIterable, Qs as TaggedClass, Qt as isSchemaError, Qu as Service$2, R as Undefined, Ra as catchReason, Rc as make$74, Rd as assignProperty, Ri as offer$1, Rl as sync$1, Rn as make$72, Ro as orElseSucceed, Rs as withAttributes, Rt as withDecodingDefault, S as NullOr, Sa as all, Sc as closeUnsafe, Sd as isSome, Si as filterArray, Sl as ConsoleRef, Sn as onSome, So as makeSpanScoped, Sr as fromQueue, Ss as updateContext, St as isSchema, Su as findLast, T as OptionFromNullOr, Ta as annotateLogs, Tc as makeUnsafe$8, Td as none, Tl as consolePretty$1, Tn as stringifyJson, To as mapError, Tr as groupedWithin, Ts as whileLoop, Tt as make$71, Tu as isArrayNonEmpty, U as Void, Ua as context, Uc as failCause$4, Ud as format, Ui as sliding$1, Ul as MinimumTraceLevel, Un as toUtc, Uo as raceFirst, Ur as runDrain, Us as spaced, Ut as apply, Uu as failVoid, V as Unknown, Va as catch_, Vc as die$1, Vd as NodeInspectSymbol, Vn as toDate, Vo as provideContext, Vr as run$5, Vt as VALID_OPEN_API_COMPONENTS_SCHEMAS_KEY_REGEXP, W as annotate$2, Wa as contextWith, Wc as interrupt$3, Wi as take$1, Wl as NativeSpan, Wn as Forbidden$1, Wo as repeat, Wr as runFold, Ws as catchDone, Wt as toRepresentations, Wu as getOrThrow, X as decodeSync, Xa as fail, Xi as subscribe, Xn as FileSystem, Xs as currentTimeNanos, Y as decodeExit, Ya as exit, Yc as void_$2, Yi as sliding, Yo as runPromiseWith, Ys as currentTimeMillis, Yu as succeed$2, Z as decodeTo, Za as failCause$1, Zc as NoSuchElementError, Zi as unbounded$1, Zo as scope, Zr as takeWhile, Zt as SchemaError, Zu as Reference, _c as unwrap, _d as fromUndefinedOr, _f as identity, _i as forEach$1, _l as map$9, _n as Transformation, _o as logDebug, _s as try_, _t as isMaxLength, _u as ensure, a as Class, aa as join$2, ac as effectContext, ad as getUnsafe$1, af as isTagged, al as findErrorOption, an as isLiteral, ao as forever, ar as debounce, as as succeedSome, at as encodeUnknownExit, b as NonEmptyString, ba as acquireUseRelease, bc as addFinalizerExit, bd as getOrUndefined, bi as mapInput, bl as squash, bn as transformOrFail, bo as logInfo, br as fromIterable$1, bs as uninterruptible, bt as isNonEmpty, bu as findFirst, c as Defect, ca as drop$1, cd as merge$1, cf as cast, ci as has, cl as hasInterrupts, cn as isOptional, co as forkScoped, cr as drain, cs as tap, ct as instanceOf, cu as minutes, d as ErrorClass, da as isEmpty$2, dc as provide, dd as exists, df as constTrue, dl as interruptors, dn as isVoid, do as ignore$1, ds as tapError, dt as isFinite, du as toMillis, ea as makeUnsafe$7, ec as taggedEnum, ed as empty$5, ef as isNotNull, el as combine$1, es as service, et as decodeUnknownOption, eu as fromInput$2, f as Exit, fa as size$2, fc as provideMerge, fd as filter, ff as constUndefined, fl as isCause, fn as resolveAt, fo as ignoreCause, fr as fail$5, fs as tapErrorTag, ft as isGreaterThan, g as Literals, gc as tap$1, gd as fromNullishOr, gi as drain$1, go as log$1, gr as fromAsyncIterable, gs as tryPromise, gt as isLessThanOrEqualTo, gu as empty$4, h as Literal, ha as PlatformError, hc as sync$2, hd as flatten, hf as dual, hn as toEncoded, ho as isEffect, hr as flatMap$2, ht as isLessThan, i as Cause, ic as effect, id as getOrUndefined$1, if as isString, ii as withSpan$1, in as isDeclaration, io as forEach, ir as concat, is as succeedNone, it as encodeUnknownEffect, j as TaggedErrorClass, ja as cached, jc as die$2, jd as getStackTraceLimit, ji as makeUnsafe$5, jl as fnUntraced$1, jn as encodeBase64Url, jo as never, jr as mapError$1, js as withTracerEnabled, jt as tag, ju as reduce, k as Struct, ka as asSome, kc as TracerTimingEnabled, ki as splitLines, kn as decodeBase64UrlString, kr as mapArrayEffect, ks as withParentSpan, kt as optionalKey, ku as match, l as Duration, la as empty$6, lc as launch, ld as omit, lf as compose, li as invalidate, ll as hasInterruptsOnly, ln as isSuspend, lo as fromResult, lr as empty$7, ls as tapCause, lt as is, lu as nanos, m as Int, mc as succeedContext, md as flatMap$3, mf as constant, mn as resolveIdentifier, mo as interruptible, mr as filter$2, ms as timeoutOption, mt as isInt, mu as allocate, n as ArraySchema, na as getCurrent, nc as build, nd as getOption, nf as isNullish, ni as transformPull, nn as getAST, no as fn, nr as catchCause$1, ns as sleep, nt as encodeEffect, nu as hours, o as DateTimeUtc, oa as runIn, oc as effectDiscard, od as make$69, on as isNull, oo as forkChild, or as decodeText, os as suspend, ot as fieldsAssign, ou as max, p as Finite, pa as toArray, pc as succeed$3, pd as firstSomeOf, pf as constVoid, pl as isFailReason, pn as resolveDescription, po as interrupt$1, pr as failCause$5, ps as timeout, pt as isGreaterThanOrEqualTo, pu as zero, q as declare, qc as match$3, qi as publish, ql as externalSpan, qn as makeFormatterDefault, qo as runFork, qr as runForEachArray, qs as round, qt as assign, qu as isSuccess$1, r as Boolean$1, ra as interrupt$4, rc as buildWithMemoMap, rd as getOrElse$1, rf as isObject$1, ri as unwrap$1, rl as fail$2, rn as getLastEncoding, ro as fnUntraced, rr as changes, rs as succeed$1, rt as encodeSync, s as DateTimeUtcFromString, sa as append$1, sc as empty$8, sd as makeUnsafe$4, si as get$6, sl as hasDies, sn as isObjects, so as forkIn, ss as sync, st as fromJsonString, su as millis, t as Any, ta as await_, tc as CurrentMemoMap, td as get$5, tf as isNotUndefined, to as flatten$1, tr as callback$1, ts as serviceOption, tt as encode$1, tu as fromInputUnsafe, u as DurationFromMillis, ua as head, uc as mergeAll, ud as contains, uf as constFalse, ui as make$70, ul as interrupt$2, un as isUnion, uo as gen, ur as encodeText, us as tapDefect, ut as isBetween, uu as seconds, v as Never, va as Transaction, vc as Scope, vd as getOrElse, vf as pipe, vl as pretty, vo as logError, vr as fromEffect, vs as tx, vt as isMaxProperties, vu as filter$1, w as Option, wa as annotateCurrentSpan, wc as make$77, wd as match$1, wi as fromTransform, wr as fromSubscription, ws as void_$1, wu as fromIterable, x as Null, xa as addFinalizer, xc as close, xd as isNone, xi as decodeText$1, xn as trim, xo as logWarning$1, xr as fromPubSub, xt as isPattern, xu as findFirstIndex, y as NonEmptyArray, ya as acquireRelease, yc as addFinalizer$1, yd as getOrNull, yf as pipeArguments, yl as prettyErrors, yn as transform$1, yo as logFatal, yr as fromEffectSchedule, ys as txRetry, yt as isMinLength, yu as filterMap, z as UndefinedOr, za as catchTag, zi as offerAll, zl as tracerLogger$1, zn as makeUnsafe$6, zo as promise, zr as provideContext$1, zs as addDelay, zt as make$68 } from "./Schema-B4KtKnpr.mjs";
5
- import { a as isQuitError, g as ChildProcessSpawner, h as make$80, i as Terminal$1, l as Crypto, n as layer$45, o as Stdio, r as QuitError, s as make$81, u as fromReadable } from "./NodeServices-BtcL7AtO.mjs";
6
- import { _ as withDefault$2, a as all$1, c as logLevel, d as option$1, f as port, g as url$1, i as TrueValues, l as map$10, m as string$4, n as FalseValues, o as boolean$3, p as schema$1, r as Record$1, s as int, t as Boolean$2, u as number } from "./Config-CxDW-52j.mjs";
7
- import { c as getOption$1, d as make$82, f as makeWith$1, l as invalidate$1, n as SqlClient, p as set$4, s as get$7, u as keys } from "./SqlClient-BQM_tAo_.mjs";
3
+ import { $ as make$66, A as withLoggerDisabled, At as matchStatus, B as limitsServices, Bt as post$1, C as update$2, Ct as setHeader, D as compression, Dt as uint8Array$1, Et as text$2, F as schemaHeaders, Ft as appendUrlParams, G as CloseEvent, Gt as setUrl, Ht as setBody, I as schemaSearchParams, It as bodyFormData, Jt as HttpClientErrorSchema, K as SocketError, Kt as DecodeError, L as toURL, Lt as bodyJson, M as ParsedSearchParams, O as cors$1, Ot as urlParams$1, P as schemaCookies, Pt as schemaBodyJson, Q as join$1, Rt as get$4, S as set$2, Sn as __commonJSMin, T as appendPreResponseHandler, Tt as stream, Ut as setHeader$1, Vt as prependUrl, Wt as setHeaders, X as makeWebSocket, Xt as isHttpClientError, Y as make$67, Yt as StatusCodeError, Z as awaitEmpty, Zt as empty$2, _ as get$3, _n as fromInput, _t as mergeCookies, a as layer$44, an as CurrentRedactedNames, b as makeUnsafe$3, bn as hasBody, cn as fromRecordUnsafe, d as HttpClient, dn as jsonUnsafe$1, en as set$3, et as run$4, f as TracerPropagationEnabled, g as transformResponse$1, gn as urlParams, gt as jsonUnsafe, h as retryTransient, hn as uint8Array, ht as isHttpServerResponse, j as HttpServerRequest, k as logger, kt as filterStatusOk, l as serve$1, ln as merge, lt as symbol$1, m as mapRequest, mn as text$1, mt as file, o as HttpServer, on as empty$3, ot as RouteNotFound, p as filterStatusOk$1, pt as empty$1, q as SocketErrorReason, qt as HttpClientError, r as Mime_default, rt as HttpServerError, sn as fromInput$1, t as layerWebSocketConstructor, tt as runtime, u as withLogAddress, un as isHttpBody, ut as toResponse, v as getAndSet, vn as schemaRecord, w as updateAndGet, wn as __require, wt as setHeaders$1, x as modify$2, xn as map$3, xt as schemaJson, y as make$64, yn as toRecord, yt as redirect, zt as make$65 } from "./NodeSocket-C7yHTDM1.mjs";
4
+ import { $ as decodeUnknownExit, $a as flatMap$1, $d as hasProperty, $l as format$1, $o as scopedWith, $s as TaggedError, $t as Union$1, $u as add$2, A as StructWithRest, Aa as asVoid, Ac as _await, Ai as make$76, An as encodeBase64, Ao as matchEffect, Ar as mapEffect$1, As as withSpan, At as suspend$1, B as Union, Ba as catchTags, Bc as succeed$4, Bi as offerUnsafe, Bn as now$1, Bo as provide$1, Br as provideService$1, Bs as forever$1, Bt as value, C as Number$1, Ca as andThen, Cc as forkUnsafe, Cd as map$6, Cl as CurrentLoggers$1, Cn as parseJson, Co as map$4, Cs as useSpan, Ct as isTrimmed, Cu as flatMapNullishOr, D as String$1, Da as annotateSpans, Dc as MinimumLogLevel, Dd as Number$2, Di as pipeTo, Dn as decodeBase64String, Do as match$2, Dr as make$75, Ds as withFiber$1, Dt as mutable, E as Record, Ea as annotateLogsScoped, Ec as provide$2, Ed as some, Ei as mapEffect$2, Er as isStream, Es as withErrorReporting, Et as makeFilter, Eu as isReadonlyArrayNonEmpty, Fi as failCause$3, Fl as reportCauseUnsafe, Fn as isGreaterThan$1, Fo as onInterrupt, Fr as onExit$1, Fs as snapshotUnsafe, Ft as toJsonSchemaDocument, G as annotateKey, Ga as currentParentSpan, Gc as isFailure, Gi as takeAll, Gl as ParentSpan, Gn as InvalidValue$1, Go as result, Gr as runFoldEffect, Gs as isDoneCause, Gt as toJsonSchemaMultiDocument, Gu as getOrUndefined$2, H as UnknownFromJsonString$1, Hc as fail$4, Hd as toJson, Hi as shutdown$1, Hn as toEpochMillis, Ho as provideService, Hr as runCollect, Hs as passthrough, Ht as toMultiDocumentOpenApi3_1, Hu as fail$1, I as URLFromString, Ia as catchFilter, Ic as isDeferred, Id as isEffect$1, In as isGreaterThanOrEqualTo$1, Io as option, Is as timer, It as toType, Iu as map$7, J as decodeEffect, Ja as ensuring, Ji as shutdown$2, Jl as make$78, Jn as Path, Jo as runForkWith, Js as Clock, K as brand, Ka as die, Kc as isSuccess, Kd as equals, Ki as unbounded$2, Kl as Tracer, Ko as retry, Kr as runForEach, Ks as parse$2, Kt as escapeToken, Ku as isFailure$1, L as Uint8Array$1, La as catchIf, Ld as withFiber, Li as make$79, Ln as isLessThan$1, Lo as orDie, Lr as pipeThroughChannel, Ls as update$3, Lt as withConstructorDefault, M as TaggedStruct, Ma as callback, Md as setStackTraceLimit, Mi as bounded, Mn as encodeHex, Mo as onError, Mr as merge$2, Ms as yieldNow, Mt as toCodecJson, Mu as reverse, N as TemplateLiteral, Na as catchCause, Nc as fail$3, Nd as Prototype, Ni as end, Nn as add$3, No as onExit, Ns as zipWith, Nt as toCodecJsonAST, Nu as sort, O as StringFromUriComponent, Oa as as, Oc as TracerEnabled, Od as make$73, On as decodeBase64Url, Oo as matchCauseEffect, Or as map$8, Ot as optional$3, Ou as map$5, Pa as catchDefect, Pc as failCause$2, Pd as PipeInspectableProto, Pn as formatIso, Ps as counter, Pt as toCodecStringTree, Q as decodeUnknownEffect, Qa as filterOrFail, Qc as StackTrace, Qd as compose$1, Ql as days, Qo as scoped, Qr as toAsyncIterable, Qs as TaggedClass, Qt as isSchemaError, Qu as Service$2, R as Undefined, Ra as catchReason, Rc as make$74, Rd as assignProperty, Ri as offer$1, Rl as sync$1, Rn as make$72, Ro as orElseSucceed, Rs as withAttributes, Rt as withDecodingDefault, S as NullOr, Sa as all, Sc as closeUnsafe, Sd as isSome, Si as filterArray, Sl as ConsoleRef, Sn as onSome, So as makeSpanScoped, Sr as fromQueue, Ss as updateContext, St as isSchema, Su as findLast, T as OptionFromNullOr, Ta as annotateLogs, Tc as makeUnsafe$8, Td as none, Tl as consolePretty$1, Tn as stringifyJson, To as mapError, Tr as groupedWithin, Ts as whileLoop, Tt as make$71, Tu as isArrayNonEmpty, U as Void, Ua as context, Uc as failCause$4, Ud as format, Ui as sliding$1, Ul as MinimumTraceLevel, Un as toUtc, Uo as raceFirst, Ur as runDrain, Us as spaced, Ut as apply, Uu as failVoid, V as Unknown, Va as catch_, Vc as die$1, Vd as NodeInspectSymbol, Vn as toDate, Vo as provideContext, Vr as run$5, Vt as VALID_OPEN_API_COMPONENTS_SCHEMAS_KEY_REGEXP, W as annotate$2, Wa as contextWith, Wc as interrupt$3, Wi as take$1, Wl as NativeSpan, Wn as Forbidden$1, Wo as repeat, Wr as runFold, Ws as catchDone, Wt as toRepresentations, Wu as getOrThrow, X as decodeSync, Xa as fail, Xi as subscribe, Xn as FileSystem, Xs as currentTimeNanos, Y as decodeExit, Ya as exit, Yc as void_$2, Yi as sliding, Yo as runPromiseWith, Ys as currentTimeMillis, Yu as succeed$2, Z as decodeTo, Za as failCause$1, Zc as NoSuchElementError, Zi as unbounded$1, Zo as scope, Zr as takeWhile, Zt as SchemaError, Zu as Reference, _c as unwrap, _d as fromUndefinedOr, _f as identity, _i as forEach$1, _l as map$9, _n as Transformation, _o as logDebug, _s as try_, _t as isMaxLength, _u as ensure, a as Class, aa as join$2, ac as effectContext, ad as getUnsafe$1, af as isTagged, al as findErrorOption, an as isLiteral, ao as forever, ar as debounce, as as succeedSome, at as encodeUnknownExit, b as NonEmptyString, ba as acquireUseRelease, bc as addFinalizerExit, bd as getOrUndefined, bi as mapInput, bl as squash, bn as transformOrFail, bo as logInfo, br as fromIterable$1, bs as uninterruptible, bt as isNonEmpty, bu as findFirst, c as Defect, ca as drop$1, cd as merge$1, cf as cast, ci as has, cl as hasInterrupts, cn as isOptional, co as forkScoped, cr as drain, cs as tap, ct as instanceOf, cu as minutes, d as ErrorClass, da as isEmpty$2, dc as provide, dd as exists, df as constTrue, dl as interruptors, dn as isVoid, do as ignore$1, ds as tapError, dt as isFinite, du as toMillis, ea as makeUnsafe$7, ec as taggedEnum, ed as empty$5, ef as isNotNull, el as combine$1, es as service, et as decodeUnknownOption, eu as fromInput$2, f as Exit, fa as size$2, fc as provideMerge, fd as filter, ff as constUndefined, fl as isCause, fn as resolveAt, fo as ignoreCause, fr as fail$5, fs as tapErrorTag, ft as isGreaterThan, g as Literals, gc as tap$1, gd as fromNullishOr, gi as drain$1, go as log$1, gr as fromAsyncIterable, gs as tryPromise, gt as isLessThanOrEqualTo, gu as empty$4, h as Literal, ha as PlatformError, hc as sync$2, hd as flatten, hf as dual, hn as toEncoded, ho as isEffect, hr as flatMap$2, ht as isLessThan, i as Cause, ic as effect, id as getOrUndefined$1, if as isString, ii as withSpan$1, in as isDeclaration, io as forEach, ir as concat, is as succeedNone, it as encodeUnknownEffect, j as TaggedErrorClass, ja as cached, jc as die$2, jd as getStackTraceLimit, ji as makeUnsafe$5, jl as fnUntraced$1, jn as encodeBase64Url, jo as never, jr as mapError$1, js as withTracerEnabled, jt as tag, ju as reduce, k as Struct, ka as asSome, kc as TracerTimingEnabled, ki as splitLines, kn as decodeBase64UrlString, kr as mapArrayEffect, ks as withParentSpan, kt as optionalKey, ku as match, l as Duration, la as empty$6, lc as launch, ld as omit, lf as compose, li as invalidate, ll as hasInterruptsOnly, ln as isSuspend, lo as fromResult, lr as empty$7, ls as tapCause, lt as is, lu as nanos, m as Int, mc as succeedContext, md as flatMap$3, mf as constant, mn as resolveIdentifier, mo as interruptible, mr as filter$2, ms as timeoutOption, mt as isInt, mu as allocate, n as ArraySchema, na as getCurrent, nc as build, nd as getOption, nf as isNullish, ni as transformPull, nn as getAST, no as fn, nr as catchCause$1, ns as sleep, nt as encodeEffect, nu as hours, o as DateTimeUtc, oa as runIn, oc as effectDiscard, od as make$69, on as isNull, oo as forkChild, or as decodeText, os as suspend, ot as fieldsAssign, ou as max, p as Finite, pa as toArray, pc as succeed$3, pd as firstSomeOf, pf as constVoid, pl as isFailReason, pn as resolveDescription, po as interrupt$1, pr as failCause$5, ps as timeout, pt as isGreaterThanOrEqualTo, pu as zero, q as declare, qc as match$3, qi as publish, ql as externalSpan, qn as makeFormatterDefault, qo as runFork, qr as runForEachArray, qs as round, qt as assign, qu as isSuccess$1, r as Boolean$1, ra as interrupt$4, rc as buildWithMemoMap, rd as getOrElse$1, rf as isObject$1, ri as unwrap$1, rl as fail$2, rn as getLastEncoding, ro as fnUntraced, rr as changes, rs as succeed$1, rt as encodeSync, s as DateTimeUtcFromString, sa as append$1, sc as empty$8, sd as makeUnsafe$4, si as get$6, sl as hasDies, sn as isObjects, so as forkIn, ss as sync, st as fromJsonString, su as millis, t as Any, ta as await_, tc as CurrentMemoMap, td as get$5, tf as isNotUndefined, to as flatten$1, tr as callback$1, ts as serviceOption, tt as encode$1, tu as fromInputUnsafe, u as DurationFromMillis, ua as head, uc as mergeAll, ud as contains, uf as constFalse, ui as make$70, ul as interrupt$2, un as isUnion, uo as gen, ur as encodeText, us as tapDefect, ut as isBetween, uu as seconds, v as Never, va as Transaction, vc as Scope, vd as getOrElse, vf as pipe, vl as pretty, vo as logError, vr as fromEffect, vs as tx, vt as isMaxProperties, vu as filter$1, w as Option, wa as annotateCurrentSpan, wc as make$77, wd as match$1, wi as fromTransform, wr as fromSubscription, ws as void_$1, wu as fromIterable, x as Null, xa as addFinalizer, xc as close, xd as isNone, xi as decodeText$1, xn as trim, xo as logWarning$1, xr as fromPubSub, xt as isPattern, xu as findFirstIndex, y as NonEmptyArray, ya as acquireRelease, yc as addFinalizer$1, yd as getOrNull, yf as pipeArguments, yl as prettyErrors, yn as transform$1, yo as logFatal, yr as fromEffectSchedule, ys as txRetry, yt as isMinLength, yu as filterMap, z as UndefinedOr, za as catchTag, zi as offerAll, zl as tracerLogger$1, zn as makeUnsafe$6, zo as promise, zr as provideContext$1, zs as addDelay, zt as make$68 } from "./Schema-CxqR6bXx.mjs";
5
+ import { a as isQuitError, g as ChildProcessSpawner, h as make$80, i as Terminal$1, l as Crypto, n as layer$45, o as Stdio, r as QuitError, s as make$81, u as fromReadable } from "./NodeServices-D5Lui-4t.mjs";
6
+ import { _ as withDefault$2, a as all$1, c as logLevel, d as option$1, f as port, g as url$1, i as TrueValues, l as map$10, m as string$4, n as FalseValues, o as boolean$3, p as schema$1, r as Record$1, s as int, t as Boolean$2, u as number } from "./Config-nQ0ig08n.mjs";
7
+ import { c as getOption$1, d as make$82, f as makeWith$1, l as invalidate$1, n as SqlClient, p as set$4, s as get$7, u as keys } from "./SqlClient-ePUtEqLJ.mjs";
8
8
  import * as NodeModule from "node:module";
9
9
  import * as NodeChildProcess from "node:child_process";
10
10
  import * as NodeCrypto from "node:crypto";
@@ -22,7 +22,7 @@ import { createRequire as createRequire$1 } from "module";
22
22
  import * as NodeFSP from "node:fs/promises";
23
23
  import { FileFinder } from "@ff-labs/fff-node";
24
24
  import { query } from "@anthropic-ai/claude-agent-sdk";
25
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/Runtime.js
25
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/Runtime.js
26
26
  /**
27
27
  * Helpers for turning an `Effect` program into a host application's main entry
28
28
  * point. This module is the low-level layer used by platform adapters to run a
@@ -306,7 +306,7 @@ const getErrorReported = (u) => {
306
306
  return true;
307
307
  };
308
308
  //#endregion
309
- //#region ../../node_modules/.pnpm/@effect+platform-node@4.0.0-beta.103_bufferutil@4.1.0_effect@4.0.0-beta.103_patch_hash=_7eec308fcf6351488fccaf9a0edac255/node_modules/@effect/platform-node/dist/NodeRuntime.js
309
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@effect+platform-node@4.0.0-beta.103_bufferutil@4.1.0_effect@4.0.0-beta.103_patch_hash=_7eec308fcf6351488fccaf9a0edac255/node_modules/@effect/platform-node/dist/NodeRuntime.js
310
310
  /**
311
311
  * Node.js process runner for Effect programs.
312
312
  *
@@ -358,7 +358,7 @@ const runMain = /* @__PURE__ */ makeRunMain(({ fiber, teardown }) => {
358
358
  process.on("SIGTERM", onSigint);
359
359
  });
360
360
  //#endregion
361
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/CliError.js
361
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/CliError.js
362
362
  /**
363
363
  * Defines structured errors for the unstable CLI parser and runner.
364
364
  *
@@ -830,7 +830,7 @@ var ShowHelp = class extends TaggedErrorClass(`${TypeId$17}/ShowHelp`)("ShowHelp
830
830
  }
831
831
  };
832
832
  //#endregion
833
- //#region ../../node_modules/.pnpm/ini@7.0.0/node_modules/ini/lib/ini.js
833
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/ini@7.0.0/node_modules/ini/lib/ini.js
834
834
  var require_ini = /* @__PURE__ */ __commonJSMin(((exports, module) => {
835
835
  const { hasOwnProperty } = Object.prototype;
836
836
  const encode = (obj, opt = {}) => {
@@ -987,7 +987,7 @@ var require_ini = /* @__PURE__ */ __commonJSMin(((exports, module) => {
987
987
  };
988
988
  }));
989
989
  //#endregion
990
- //#region ../../node_modules/.pnpm/toml@4.3.0/node_modules/toml/lib/parser.js
990
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/toml@4.3.0/node_modules/toml/lib/parser.js
991
991
  var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
992
992
  var peg$SyntaxError = class extends SyntaxError {
993
993
  constructor(message, expected, found, location) {
@@ -5068,7 +5068,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5068
5068
  };
5069
5069
  }));
5070
5070
  //#endregion
5071
- //#region ../../node_modules/.pnpm/toml@4.3.0/node_modules/toml/lib/compiler.js
5071
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/toml@4.3.0/node_modules/toml/lib/compiler.js
5072
5072
  var require_compiler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5073
5073
  function compile(nodes, inputText, options) {
5074
5074
  options = options || {};
@@ -5270,7 +5270,7 @@ var require_compiler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5270
5270
  module.exports = { compile };
5271
5271
  }));
5272
5272
  //#endregion
5273
- //#region ../../node_modules/.pnpm/toml@4.3.0/node_modules/toml/index.js
5273
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/toml@4.3.0/node_modules/toml/index.js
5274
5274
  var require_toml = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5275
5275
  var parser = require_parser();
5276
5276
  var compiler = require_compiler();
@@ -5530,7 +5530,7 @@ const getTypeName = (primitive) => {
5530
5530
  /** @internal */
5531
5531
  const getChoiceKeys = (primitive) => primitive._tag === "Choice" ? primitive.choiceKeys : void 0;
5532
5532
  //#endregion
5533
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/ansi.js
5533
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/ansi.js
5534
5534
  /**
5535
5535
  * Internal ANSI escape sequence helpers used by the unstable CLI rendering
5536
5536
  * implementation. This module centralizes the control codes for text styling,
@@ -5610,7 +5610,7 @@ const eraseLines = (rows) => {
5610
5610
  return command;
5611
5611
  };
5612
5612
  //#endregion
5613
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Prompt.js
5613
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Prompt.js
5614
5614
  /**
5615
5615
  * Builds interactive terminal prompts for CLI applications.
5616
5616
  *
@@ -7054,7 +7054,7 @@ const entriesToDisplay = (cursor, total, maxVisible) => {
7054
7054
  };
7055
7055
  };
7056
7056
  //#endregion
7057
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Param.js
7057
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Param.js
7058
7058
  const TypeId$15 = "~effect/cli/Param";
7059
7059
  /**
7060
7060
  * Defines the kind discriminator for positional argument parameters.
@@ -7783,7 +7783,7 @@ const getParamMetadata = (param) => {
7783
7783
  });
7784
7784
  };
7785
7785
  //#endregion
7786
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Argument.js
7786
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Argument.js
7787
7787
  /**
7788
7788
  * Creates a positional string argument.
7789
7789
  *
@@ -7854,7 +7854,7 @@ const withDescription$2 = /*#__PURE__*/ dual(2, (self, description) => withDescr
7854
7854
  */
7855
7855
  const withSchema$1 = /*#__PURE__*/ dual(2, (self, schema) => withSchema$2(self, schema));
7856
7856
  //#endregion
7857
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/Console.js
7857
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/Console.js
7858
7858
  /**
7859
7859
  * Context reference for the current console service in the Effect system, allowing access to the active console implementation from within the Effect context.
7860
7860
  *
@@ -7989,7 +7989,7 @@ const log = (...args) => consoleWith((console) => sync$1(() => {
7989
7989
  console.log(...args);
7990
7990
  }));
7991
7991
  //#endregion
7992
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/CliOutput.js
7992
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/CliOutput.js
7993
7993
  /**
7994
7994
  * Formats CLI help and errors as text.
7995
7995
  *
@@ -8237,7 +8237,7 @@ const formatHelpDocImpl = (doc, colors) => {
8237
8237
  return sections.join("\n");
8238
8238
  };
8239
8239
  //#endregion
8240
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
8240
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/completions/bash.js
8241
8241
  const escapeForBash = (s) => s.replace(/'/g, "'\\''");
8242
8242
  const sanitizeFunctionName = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
8243
8243
  const flagNamesForWordlist = (flag) => {
@@ -8388,7 +8388,7 @@ const generate$3 = (executableName, descriptor) => {
8388
8388
  return lines.join("\n");
8389
8389
  };
8390
8390
  //#endregion
8391
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
8391
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/completions/fish.js
8392
8392
  const escapeFishString = (s) => s.replace(/'/g, "\\'");
8393
8393
  /**
8394
8394
  * Build a Fish condition that checks the current subcommand context.
@@ -8527,7 +8527,7 @@ const generate$2 = (executableName, descriptor) => {
8527
8527
  return lines.join("\n");
8528
8528
  };
8529
8529
  //#endregion
8530
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
8530
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/completions/zsh.js
8531
8531
  const escapeZsh = (s) => s.replace(/\\/g, "\\\\").replace(/'/g, "'\\''").replace(/:/g, "\\:");
8532
8532
  const sanitize = (s) => s.replace(/[^a-zA-Z0-9_]/g, "_");
8533
8533
  /**
@@ -8664,7 +8664,7 @@ const generate$1 = (executableName, descriptor) => {
8664
8664
  return lines.join("\n");
8665
8665
  };
8666
8666
  //#endregion
8667
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Completions.js
8667
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Completions.js
8668
8668
  /**
8669
8669
  * The `Completions` module turns a plain description of an Effect CLI command
8670
8670
  * tree into shell completion scripts for Bash, Zsh, and Fish. It is the
@@ -8700,7 +8700,7 @@ const generate = (executableName, shell, descriptor) => {
8700
8700
  }
8701
8701
  };
8702
8702
  //#endregion
8703
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Flag.js
8703
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Flag.js
8704
8704
  /**
8705
8705
  * Creates a string flag that accepts text input.
8706
8706
  *
@@ -9005,7 +9005,7 @@ const map = /*#__PURE__*/ dual(2, (self, f) => map$1(self, f));
9005
9005
  */
9006
9006
  const withSchema = /*#__PURE__*/ dual(2, (self, schema) => withSchema$2(self, schema));
9007
9007
  //#endregion
9008
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/config.js
9008
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/config.js
9009
9009
  /**
9010
9010
  * Config Internal
9011
9011
  * ================
@@ -9124,7 +9124,7 @@ const reconstructTree = (tree, results) => {
9124
9124
  }
9125
9125
  };
9126
9126
  //#endregion
9127
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/command.js
9127
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/command.js
9128
9128
  /**
9129
9129
  * Command Implementation
9130
9130
  * ======================
@@ -9315,7 +9315,7 @@ const checkForDuplicateFlags = (parent, subcommands, options) => {
9315
9315
  }
9316
9316
  };
9317
9317
  //#endregion
9318
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/completions/descriptor.js
9318
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/completions/descriptor.js
9319
9319
  /**
9320
9320
  * CommandDescriptor — pure-data representation of a command tree for
9321
9321
  * shell completion generation.
@@ -9407,7 +9407,7 @@ const fromCommand = (cmd) => {
9407
9407
  };
9408
9408
  };
9409
9409
  //#endregion
9410
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/help.js
9410
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/help.js
9411
9411
  /**
9412
9412
  * Help Documentation
9413
9413
  * ================
@@ -9514,7 +9514,7 @@ const getHelpForCommandPath = (command, commandPath, builtIns) => gen(function*
9514
9514
  };
9515
9515
  });
9516
9516
  //#endregion
9517
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/GlobalFlag.js
9517
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/GlobalFlag.js
9518
9518
  /**
9519
9519
  * Global flags for Effect CLI command trees. Global flags are parsed outside a
9520
9520
  * single command's local flags and can apply to a command and its descendants.
@@ -9686,7 +9686,7 @@ const BuiltIns = [
9686
9686
  LogLevel
9687
9687
  ];
9688
9688
  //#endregion
9689
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/CliConfig.js
9689
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/CliConfig.js
9690
9690
  /**
9691
9691
  * Configuration for Effect CLI command execution.
9692
9692
  *
@@ -9713,7 +9713,7 @@ var CliConfig = class extends Reference("effect/unstable/cli/CliConfig", { defau
9713
9713
  */
9714
9714
  const defaults = { builtIns: BuiltIns };
9715
9715
  //#endregion
9716
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/lexer.js
9716
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/lexer.js
9717
9717
  /** @internal */
9718
9718
  function lex(argv) {
9719
9719
  const endIndex = argv.indexOf("--");
@@ -9772,7 +9772,7 @@ const lexTokens = (args) => {
9772
9772
  return tokens;
9773
9773
  };
9774
9774
  //#endregion
9775
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
9775
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/auto-suggest.js
9776
9776
  /**
9777
9777
  * Simple Levenshtein distance implementation (small N, no perf worries)
9778
9778
  */
@@ -9800,7 +9800,7 @@ const suggest = (input, candidates) => {
9800
9800
  return distances.filter(([d]) => d === minDistance).map(([, c]) => c);
9801
9801
  };
9802
9802
  //#endregion
9803
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/parser.js
9803
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/parser.js
9804
9804
  /**
9805
9805
  * Parsing Pipeline for CLI Commands
9806
9806
  * ==================================
@@ -10328,7 +10328,7 @@ const scanCommandLevel = (tokens, context) => {
10328
10328
  return toLeafResult(state);
10329
10329
  };
10330
10330
  //#endregion
10331
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/wizard.js
10331
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/internal/wizard.js
10332
10332
  const run$2 = /*#__PURE__*/ fnUntraced(function* (command, options) {
10333
10333
  const commandPath = options?.commandPath ?? [command.name];
10334
10334
  const selected = getCommandAtPath(command, commandPath);
@@ -10491,7 +10491,7 @@ const wrapCommand = (commandLine) => {
10491
10491
  };
10492
10492
  const formatShellArg = (arg) => /^[A-Za-z0-9_./:@%+=,-]+$/.test(arg) ? arg : `'${arg.replaceAll("'", `'"'"'`)}'`;
10493
10493
  //#endregion
10494
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Command.js
10494
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/cli/Command.js
10495
10495
  /**
10496
10496
  * Returns `true` if the provided value is a `Command`.
10497
10497
  *
@@ -11091,7 +11091,7 @@ const runWith = (command, config) => {
11091
11091
  }, catchFilter((error) => isCliError(error) && error._tag === "ShowHelp" ? succeed$2(error) : fail$1(error), (error) => andThen(showHelp(command, error), fail(error))), catchFilter((e) => isQuitError(e) ? succeed$2(e) : fail$1(e), (_) => interrupt$1));
11092
11092
  };
11093
11093
  //#endregion
11094
- //#region ../t3-shared/src/Net.ts
11094
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/Net.ts
11095
11095
  var NetError = class extends TaggedError("NetError") {};
11096
11096
  const isErrnoExceptionWithCode = (cause) => isObject$1(cause) && hasProperty(cause, "code") && isString(cause.code);
11097
11097
  const closeServer = (server) => {
@@ -11217,7 +11217,7 @@ const layer$43 = sync$2(NetService, make$62);
11217
11217
  //#region package.json
11218
11218
  var version = "0.0.31";
11219
11219
  //#endregion
11220
- //#region ../t3-contracts/src/baseSchemas.ts
11220
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/baseSchemas.ts
11221
11221
  const TrimmedString = String$1.pipe(decodeTo(String$1, transformOrFail({
11222
11222
  decode: (value) => succeed$1(value.trim()),
11223
11223
  encode: (value) => succeed$1(value.trim())
@@ -11268,7 +11268,7 @@ const RuntimeTaskId = makeEntityId("RuntimeTaskId");
11268
11268
  const ApprovalRequestId = makeEntityId("ApprovalRequestId");
11269
11269
  const CheckpointRef = makeEntityId("CheckpointRef");
11270
11270
  //#endregion
11271
- //#region ../t3-contracts/src/providerInstance.ts
11271
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/providerInstance.ts
11272
11272
  /**
11273
11273
  * Provider-instance contracts.
11274
11274
  *
@@ -11375,7 +11375,7 @@ Record(ProviderInstanceId, ProviderInstanceConfig);
11375
11375
  */
11376
11376
  const defaultInstanceIdForDriver = (driver) => ProviderInstanceId.make(driver);
11377
11377
  //#endregion
11378
- //#region ../t3-contracts/src/background.ts
11378
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/background.ts
11379
11379
  const BackgroundBooleanState = Literals([
11380
11380
  "true",
11381
11381
  "false",
@@ -11493,7 +11493,7 @@ const BackgroundPolicySnapshot = Struct({
11493
11493
  updatedAt: DateTimeUtc
11494
11494
  });
11495
11495
  //#endregion
11496
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiSchema.js
11496
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiSchema.js
11497
11497
  const statusCodeByLiteral = {
11498
11498
  Continue: 100,
11499
11499
  SwitchingProtocols: 101,
@@ -11673,7 +11673,7 @@ function getStatusError(self) {
11673
11673
  return resolveHttpApiStatus(self) ?? 500;
11674
11674
  }
11675
11675
  //#endregion
11676
- //#region ../t3-contracts/src/auth.ts
11676
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/auth.ts
11677
11677
  /**
11678
11678
  * Declares the server's overall authentication posture.
11679
11679
  *
@@ -12018,7 +12018,7 @@ Struct({
12018
12018
  threadId: ThreadId
12019
12019
  });
12020
12020
  //#endregion
12021
- //#region ../../node_modules/.pnpm/find-my-way-ts@0.1.6/node_modules/find-my-way-ts/dist/esm/QueryString.js
12021
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/find-my-way-ts@0.1.6/node_modules/find-my-way-ts/dist/esm/QueryString.js
12022
12022
  /**
12023
12023
  * @since 1.0.0
12024
12024
  */
@@ -12083,7 +12083,7 @@ function parse$1(input) {
12083
12083
  return result;
12084
12084
  }
12085
12085
  //#endregion
12086
- //#region ../../node_modules/.pnpm/find-my-way-ts@0.1.6/node_modules/find-my-way-ts/dist/esm/internal/router.js
12086
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/find-my-way-ts@0.1.6/node_modules/find-my-way-ts/dist/esm/internal/router.js
12087
12087
  const FULL_PATH_REGEXP = /^https?:\/\/.*?\//;
12088
12088
  const OPTIONAL_PARAM_REGEXP = /(\/:[^/()]*?)\?(\/?)/;
12089
12089
  /** @internal */
@@ -12598,7 +12598,7 @@ const httpMethods = [
12598
12598
  "UNSUBSCRIBE"
12599
12599
  ];
12600
12600
  //#endregion
12601
- //#region ../../node_modules/.pnpm/find-my-way-ts@0.1.6/node_modules/find-my-way-ts/dist/esm/index.js
12601
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/find-my-way-ts@0.1.6/node_modules/find-my-way-ts/dist/esm/index.js
12602
12602
  /**
12603
12603
  * @since 1.0.0
12604
12604
  */
@@ -12608,7 +12608,7 @@ const httpMethods = [
12608
12608
  */
12609
12609
  const make$60 = make$61;
12610
12610
  //#endregion
12611
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpRouter.js
12611
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/http/HttpRouter.js
12612
12612
  /**
12613
12613
  * Builds server-side routers for Effect HTTP applications.
12614
12614
  *
@@ -12999,7 +12999,7 @@ const serve = (appLayer, options) => {
12999
12999
  }).pipe(unwrap, provideMerge(appLayer), provide(RouterLayer), options?.disableListenLog ? identity : withLogAddress);
13000
13000
  };
13001
13001
  //#endregion
13002
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/internal/mediaType.js
13002
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/internal/mediaType.js
13003
13003
  /** @internal */
13004
13004
  function normalize(contentType) {
13005
13005
  const normalized = contentType.toLowerCase().trim();
@@ -13007,7 +13007,7 @@ function normalize(contentType) {
13007
13007
  return index === -1 ? normalized : normalized.slice(0, index).trim();
13008
13008
  }
13009
13009
  //#endregion
13010
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiEndpoint.js
13010
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiEndpoint.js
13011
13011
  /**
13012
13012
  * Defines endpoint declarations used inside an HTTP API group.
13013
13013
  *
@@ -13250,7 +13250,7 @@ const get$2 = /*#__PURE__*/ make$58("GET");
13250
13250
  const post = /*#__PURE__*/ make$58("POST");
13251
13251
  const del = /*#__PURE__*/ make$58("DELETE");
13252
13252
  //#endregion
13253
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApi.js
13253
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApi.js
13254
13254
  const TypeId$11 = "~effect/httpapi/HttpApi";
13255
13255
  const Proto$4 = {
13256
13256
  [TypeId$11]: TypeId$11,
@@ -13386,7 +13386,7 @@ const extractResponseContent = (schemas, getStatus) => {
13386
13386
  */
13387
13387
  var AdditionalSchemas = class extends Service$2()("effect/httpapi/HttpApi/AdditionalSchemas") {};
13388
13388
  //#endregion
13389
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiGroup.js
13389
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiGroup.js
13390
13390
  const TypeId$10 = "~effect/httpapi/HttpApiGroup";
13391
13391
  const Proto$3 = {
13392
13392
  [TypeId$10]: TypeId$10,
@@ -13469,7 +13469,7 @@ const make$56 = (identifier, options) => makeProto$2({
13469
13469
  annotations: empty$5()
13470
13470
  });
13471
13471
  //#endregion
13472
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiError.js
13472
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiError.js
13473
13473
  /**
13474
13474
  * Built-in error schemas for common HTTP API failure responses.
13475
13475
  *
@@ -13567,7 +13567,7 @@ var HttpApiSchemaError = class HttpApiSchemaError extends TaggedClass("HttpApiSc
13567
13567
  }
13568
13568
  };
13569
13569
  //#endregion
13570
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiMiddleware.js
13570
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiMiddleware.js
13571
13571
  /**
13572
13572
  * Declares middleware for schema-driven HTTP APIs.
13573
13573
  *
@@ -13767,7 +13767,7 @@ const MODEL_SLUG_ALIASES_BY_PROVIDER = {
13767
13767
  [JOYCODE_DRIVER_KIND]: {}
13768
13768
  };
13769
13769
  //#endregion
13770
- //#region ../t3-contracts/src/orchestration.ts
13770
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/orchestration.ts
13771
13771
  const ORCHESTRATION_WS_METHODS = {
13772
13772
  dispatchCommand: "orchestration.dispatchCommand",
13773
13773
  getWorkflowScript: "orchestration.getWorkflowScript",
@@ -15023,7 +15023,7 @@ var OrchestrationSearchThreadsError = class extends TaggedErrorClass()("Orchestr
15023
15023
  cause: optional$3(Defect())
15024
15024
  }) {};
15025
15025
  //#endregion
15026
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiSecurity.js
15026
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiSecurity.js
15027
15027
  /**
15028
15028
  * Defines security scheme declarations for declarative HTTP APIs.
15029
15029
  *
@@ -15076,7 +15076,7 @@ const annotate = /*#__PURE__*/ dual(3, (self, service, value) => Object.assign(O
15076
15076
  annotations: add$2(self.annotations, service, value)
15077
15077
  }));
15078
15078
  //#endregion
15079
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/OpenApi.js
15079
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/OpenApi.js
15080
15080
  /**
15081
15081
  * Generates OpenAPI 3.1 documents from declarative `HttpApi` contracts.
15082
15082
  *
@@ -15675,7 +15675,7 @@ const securitySchemeForComparison = (scheme) => {
15675
15675
  return scheme;
15676
15676
  };
15677
15677
  //#endregion
15678
- //#region ../t3-contracts/src/relay.ts
15678
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/relay.ts
15679
15679
  const RelayAgentAwarenessPlatform = Literal("ios");
15680
15680
  const RelayAgentAwarenessPhase = Literals([
15681
15681
  "starting",
@@ -16276,7 +16276,7 @@ const RelayServerGroup = make$56("server").add(post("publishAgentActivity", "/v1
16276
16276
  }).annotate(Summary, "Publish agent activity")).annotate(Description, "Environment-authenticated activity publication.").middleware(RelayEnvironmentAuth);
16277
16277
  make$57("RelayApi").add(RelayHealthGroup, RelayMetadataGroup, RelayMobileGroup, RelayClientGroup, RelayTokenGroup, RelayDpopClientGroup, RelayServerGroup).annotate(Title$1, "AgentLink Relay API").annotate(Version, "1.0.0").annotate(Description, "Control-plane API for linking T3 environments, connecting authorized clients, and publishing agent activity.");
16278
16278
  //#endregion
16279
- //#region ../t3-contracts/src/environmentHttp.ts
16279
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/environmentHttp.ts
16280
16280
  const OptionalBearerHeaders = Struct({
16281
16281
  authorization: optionalKey(String$1),
16282
16282
  dpop: optionalKey(String$1)
@@ -16556,7 +16556,7 @@ var EnvironmentConnectHttpApi = class extends make$56("connect").add(post("linkP
16556
16556
  })) {};
16557
16557
  var EnvironmentHttpApi = class extends make$57("environment").add(EnvironmentMetadataHttpApi).add(EnvironmentAuthHttpApi).add(EnvironmentOrchestrationHttpApi).add(EnvironmentConnectHttpApi) {};
16558
16558
  //#endregion
16559
- //#region ../t3-contracts/src/relayClient.ts
16559
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/relayClient.ts
16560
16560
  const RelayClientStatusSchema = Union([
16561
16561
  Struct({
16562
16562
  status: Literal("available"),
@@ -16609,7 +16609,7 @@ var RelayClientInstallFailedError = class extends TaggedErrorClass()("RelayClien
16609
16609
  message: String$1
16610
16610
  }) {};
16611
16611
  //#endregion
16612
- //#region ../t3-contracts/src/desktopBootstrap.ts
16612
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/desktopBootstrap.ts
16613
16613
  const DesktopBackendBootstrap = Struct({
16614
16614
  mode: Literal("desktop"),
16615
16615
  noBrowser: Boolean$1,
@@ -16626,7 +16626,7 @@ const DesktopBackendBootstrap = Struct({
16626
16626
  resourceMonitorPath: optionalKey(TrimmedNonEmptyString)
16627
16627
  });
16628
16628
  //#endregion
16629
- //#region ../t3-contracts/src/remoteAccess.ts
16629
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/remoteAccess.ts
16630
16630
  const AdvertisedEndpointProviderKind = Literals([
16631
16631
  "core",
16632
16632
  "private-network",
@@ -16678,7 +16678,7 @@ Struct({
16678
16678
  description: optional$3(TrimmedNonEmptyString)
16679
16679
  });
16680
16680
  //#endregion
16681
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/ChannelSchema.js
16681
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/ChannelSchema.js
16682
16682
  /**
16683
16683
  * Creates a channel that decodes non-empty chunks from the schema's encoded
16684
16684
  * representation into schema values.
@@ -16704,7 +16704,7 @@ const decode$3 = (schema) => () => {
16704
16704
  return fromTransform((upstream, _scope) => succeed$1(flatMap$1(upstream, (chunk) => decode(chunk))));
16705
16705
  };
16706
16706
  //#endregion
16707
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/PrimaryKey.js
16707
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/PrimaryKey.js
16708
16708
  /**
16709
16709
  * Defines the unique identifier used to identify objects that implement the `PrimaryKey` interface.
16710
16710
  *
@@ -16722,7 +16722,7 @@ const decode$3 = (schema) => () => {
16722
16722
  */
16723
16723
  const symbol = "~effect/interfaces/PrimaryKey";
16724
16724
  //#endregion
16725
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/LayerMap.js
16725
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/LayerMap.js
16726
16726
  /**
16727
16727
  * Caches scoped services selected by key and built from layers.
16728
16728
  *
@@ -16915,7 +16915,7 @@ const Service = () => (id, options) => {
16915
16915
  return TagClass;
16916
16916
  };
16917
16917
  //#endregion
16918
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/Logger.js
16918
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/Logger.js
16919
16919
  /**
16920
16920
  * Context reference containing the active loggers for the current fiber.
16921
16921
  *
@@ -17038,7 +17038,7 @@ const layer$41 = (loggers, options) => effect(CurrentLoggers, withFiber(fnUntrac
17038
17038
  return currentLoggers;
17039
17039
  })));
17040
17040
  //#endregion
17041
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/SynchronizedRef.js
17041
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/SynchronizedRef.js
17042
17042
  /**
17043
17043
  * Stores mutable state whose updates run one at a time.
17044
17044
  *
@@ -17136,7 +17136,7 @@ const modifyEffect = /*#__PURE__*/ dual(2, (self, f) => self.semaphore.withPermi
17136
17136
  });
17137
17137
  })));
17138
17138
  //#endregion
17139
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/TxRef.js
17139
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/TxRef.js
17140
17140
  /**
17141
17141
  * Transactional references for coordinating mutable state with Effect
17142
17142
  * transactions. A `TxRef` stores a current value, but reads and writes inside
@@ -17347,7 +17347,7 @@ const get$1 = (self) => modify$1(self, (current) => [current, current]);
17347
17347
  */
17348
17348
  const set$1 = /*#__PURE__*/ dual(2, (self, value) => update$1(self, () => value));
17349
17349
  //#endregion
17350
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/TxChunk.js
17350
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/TxChunk.js
17351
17351
  /**
17352
17352
  * Stores a `Chunk` inside transactional state.
17353
17353
  *
@@ -17671,7 +17671,7 @@ const isEmpty$1 = (self) => modify(self, (current) => [isEmpty$2(current), curre
17671
17671
  */
17672
17672
  const drop = /*#__PURE__*/ dual(2, (self, n) => update(self, (current) => drop$1(current, n)));
17673
17673
  //#endregion
17674
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/TxQueue.js
17674
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/TxQueue.js
17675
17675
  const EnqueueTypeId = "~effect/transactions/TxQueue/Enqueue";
17676
17676
  const DequeueTypeId = "~effect/transactions/TxQueue/Dequeue";
17677
17677
  const TypeId$3 = "~effect/transactions/TxQueue";
@@ -18028,7 +18028,7 @@ const shutdown = (self) => gen(function* () {
18028
18028
  return yield* interrupt(self);
18029
18029
  }).pipe(tx);
18030
18030
  //#endregion
18031
- //#region ../t3-contracts/src/preview.ts
18031
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/preview.ts
18032
18032
  /**
18033
18033
  * Preview - Schemas for the in-app browser preview surface.
18034
18034
  *
@@ -18250,7 +18250,7 @@ var PreviewInvalidUrlError = class extends TaggedErrorClass()("PreviewInvalidUrl
18250
18250
  };
18251
18251
  const PreviewError = Union([PreviewSessionLookupError, PreviewInvalidUrlError]);
18252
18252
  //#endregion
18253
- //#region ../t3-contracts/src/previewAutomation.ts
18253
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/previewAutomation.ts
18254
18254
  const BoundedUrl = String$1.check(isTrimmed()).check(isNonEmpty()).check(isMaxLength(2048));
18255
18255
  const URL_GUIDANCE = "Absolute http(s) URL or a schemeless host such as t3.chat or localhost:5173. Schemeless public hosts use https; loopback hosts use http.";
18256
18256
  const OptionalTimeoutMs = optional$3(Int.check(isGreaterThan(0)).check(isLessThanOrEqualTo(6e4)).annotate({ description: "Maximum wait in milliseconds. Defaults to 15000; maximum 60000." })).annotate({ description: "Maximum wait in milliseconds. Defaults to 15000; maximum 60000." });
@@ -18719,7 +18719,7 @@ Struct({
18719
18719
  environmentId: EnvironmentId
18720
18720
  });
18721
18721
  //#endregion
18722
- //#region ../t3-contracts/src/ipc.ts
18722
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/ipc.ts
18723
18723
  const ContextMenuItemSchema = Struct({
18724
18724
  id: String$1,
18725
18725
  label: String$1,
@@ -19106,7 +19106,7 @@ Struct({
19106
19106
  input: PreviewAutomationWaitForInput
19107
19107
  });
19108
19108
  //#endregion
19109
- //#region ../t3-contracts/src/terminal.ts
19109
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/terminal.ts
19110
19110
  const TrimmedNonEmptyStringSchema$2 = TrimmedNonEmptyString;
19111
19111
  const TerminalColsSchema = Int.check(isGreaterThanOrEqualTo(1)).check(isLessThanOrEqualTo(1e3));
19112
19112
  const TerminalRowsSchema = Int.check(isGreaterThanOrEqualTo(1)).check(isLessThanOrEqualTo(500));
@@ -19360,7 +19360,7 @@ const TerminalError = Union([
19360
19360
  TerminalResizeError
19361
19361
  ]);
19362
19362
  //#endregion
19363
- //#region ../t3-contracts/src/provider.ts
19363
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/provider.ts
19364
19364
  const ProviderSessionStatus = Literals([
19365
19365
  "connecting",
19366
19366
  "ready",
@@ -19442,7 +19442,7 @@ Struct({
19442
19442
  payload: optional$3(Unknown)
19443
19443
  });
19444
19444
  //#endregion
19445
- //#region ../t3-contracts/src/providerRuntime.ts
19445
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/providerRuntime.ts
19446
19446
  const TrimmedNonEmptyStringSchema$1 = TrimmedNonEmptyString;
19447
19447
  const UnknownRecordSchema = Record(String$1, Unknown);
19448
19448
  const RuntimeEventRaw = Struct({
@@ -20580,7 +20580,7 @@ const ExternalLauncherError = Union([
20580
20580
  ]);
20581
20581
  is(ExternalLauncherError);
20582
20582
  //#endregion
20583
- //#region ../t3-contracts/src/settings.ts
20583
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/settings.ts
20584
20584
  const TimestampFormat = Literals([
20585
20585
  "locale",
20586
20586
  "12-hour",
@@ -21417,7 +21417,7 @@ var ServerSelfUpdateError = class extends TaggedErrorClass()("ServerSelfUpdateEr
21417
21417
  }
21418
21418
  };
21419
21419
  //#endregion
21420
- //#region ../t3-contracts/src/vcs.ts
21420
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/vcs.ts
21421
21421
  const VcsDriverKind = Literals([
21422
21422
  "git",
21423
21423
  "jj",
@@ -21606,7 +21606,7 @@ const VcsError = Union([
21606
21606
  VcsUnsupportedOperationError
21607
21607
  ]);
21608
21608
  //#endregion
21609
- //#region ../t3-contracts/src/sourceControl.ts
21609
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/sourceControl.ts
21610
21610
  const SourceControlProviderKind = Literals([
21611
21611
  "github",
21612
21612
  "gitlab",
@@ -21745,7 +21745,7 @@ var SourceControlRepositoryError = class extends TaggedErrorClass()("SourceContr
21745
21745
  }
21746
21746
  };
21747
21747
  //#endregion
21748
- //#region ../t3-contracts/src/git.ts
21748
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/git.ts
21749
21749
  const TrimmedNonEmptyStringSchema = TrimmedNonEmptyString;
21750
21750
  const GIT_LIST_BRANCHES_MAX_LIMIT = 200;
21751
21751
  const GitStackedAction = Literals([
@@ -22093,7 +22093,7 @@ const GitActionProgressEvent = Union([
22093
22093
  })
22094
22094
  ]);
22095
22095
  //#endregion
22096
- //#region ../t3-contracts/src/t3ProjectFile.ts
22096
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/t3ProjectFile.ts
22097
22097
  /** File name of the checked-in T3 project file, resolved at the workspace root. */
22098
22098
  const T3_PROJECT_FILE_NAME = "t3.json";
22099
22099
  /** Public URL of the published JSON Schema for {@link T3ProjectFile}. */
@@ -22122,7 +22122,7 @@ const T3ProjectFile = Struct({
22122
22122
  description: "Checked-in project configuration for AgentLink (t3.json at the repository root)."
22123
22123
  });
22124
22124
  //#endregion
22125
- //#region ../t3-contracts/src/project.ts
22125
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/project.ts
22126
22126
  const PROJECT_SEARCH_ENTRIES_MAX_LIMIT = 200;
22127
22127
  const PROJECT_SEARCH_CONTENTS_MAX_LIMIT = 500;
22128
22128
  const PROJECT_WRITE_FILE_PATH_MAX_LENGTH = 512;
@@ -22303,7 +22303,7 @@ var ProjectWriteFileError = class extends TaggedErrorClass()("ProjectWriteFileEr
22303
22303
  }
22304
22304
  };
22305
22305
  //#endregion
22306
- //#region ../t3-contracts/src/filesystem.ts
22306
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/filesystem.ts
22307
22307
  const FILESYSTEM_PATH_MAX_LENGTH = 512;
22308
22308
  const FilesystemBrowseInput = Struct({
22309
22309
  partialPath: TrimmedNonEmptyString.check(isMaxLength(FILESYSTEM_PATH_MAX_LENGTH)),
@@ -22343,7 +22343,7 @@ var FilesystemBrowseError = class extends TaggedErrorClass()("FilesystemBrowseEr
22343
22343
  }
22344
22344
  };
22345
22345
  //#endregion
22346
- //#region ../t3-contracts/src/assets.ts
22346
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/assets.ts
22347
22347
  const ASSET_PATH_MAX_LENGTH = 1024;
22348
22348
  const AssetResource = Union([
22349
22349
  TaggedStruct("workspace-file", {
@@ -22463,7 +22463,7 @@ const AssetAccessError = Union([
22463
22463
  AssetSigningKeyLoadError
22464
22464
  ]);
22465
22465
  //#endregion
22466
- //#region ../t3-contracts/src/review.ts
22466
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/review.ts
22467
22467
  const ReviewDiffPreviewInput = Struct({
22468
22468
  cwd: TrimmedNonEmptyString,
22469
22469
  baseRef: optional$3(TrimmedNonEmptyString),
@@ -22828,7 +22828,7 @@ const ResourceTelemetryRetryResult = Struct({
22828
22828
  snapshot: ResourceTelemetrySnapshot
22829
22829
  });
22830
22830
  //#endregion
22831
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcSchema.js
22831
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcSchema.js
22832
22832
  /**
22833
22833
  * RPC schema markers and interruption annotations.
22834
22834
  *
@@ -22887,7 +22887,7 @@ var ClientAbort = class extends Service$2()("effect/rpc/RpcSchema/ClientAbort")
22887
22887
  }));
22888
22888
  };
22889
22889
  //#endregion
22890
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/Rpc.js
22890
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/Rpc.js
22891
22891
  const TypeId$2 = "~effect/rpc/Rpc";
22892
22892
  /**
22893
22893
  * Represents server-side metadata for the client associated with an RPC request.
@@ -23074,7 +23074,7 @@ const WrapperTypeId = "~effect/rpc/Rpc/Wrapper";
23074
23074
  */
23075
23075
  const isWrapper = (u) => WrapperTypeId in u;
23076
23076
  //#endregion
23077
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcGroup.js
23077
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcGroup.js
23078
23078
  const RpcGroupProto = {
23079
23079
  add(...rpcs) {
23080
23080
  const requests = new Map(this.requests);
@@ -23208,7 +23208,7 @@ const make$51 = (...rpcs) => makeProto({
23208
23208
  annotations: empty$5()
23209
23209
  });
23210
23210
  //#endregion
23211
- //#region ../t3-contracts/src/rpc.ts
23211
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-contracts/src/rpc.ts
23212
23212
  const WS_METHODS = {
23213
23213
  projectsList: "projects.list",
23214
23214
  projectsAdd: "projects.add",
@@ -23710,7 +23710,7 @@ const WsRpcGroup = make$51(WsServerProbeRpc, WsServerGetConfigRpc, WsServerRefre
23710
23710
  stream: true
23711
23711
  }), WsOrchestrationDispatchCommandRpc, WsOrchestrationGetWorkflowScriptRpc, WsOrchestrationGetTurnDiffRpc, WsOrchestrationGetFullThreadDiffRpc, WsOrchestrationSearchThreadsRpc, WsOrchestrationGetArchivedShellSnapshotRpc, WsOrchestrationSubscribeShellRpc, WsOrchestrationSubscribeThreadRpc);
23712
23712
  //#endregion
23713
- //#region ../t3-shared/src/oauthScope.ts
23713
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/oauthScope.ts
23714
23714
  const OAUTH_SCOPE_TOKEN = /^[\u0021\u0023-\u005b\u005d-\u007e]+$/u;
23715
23715
  var OAuthScopeEncodingError = class extends TaggedErrorClass()("OAuthScopeEncodingError", {
23716
23716
  scopes: ArraySchema(String$1),
@@ -23991,7 +23991,7 @@ const layer$39 = effect(EnvironmentAuthPolicy, gen(function* () {
23991
23991
  return EnvironmentAuthPolicy.of({ getDescriptor: () => succeed$1(descriptor).pipe(withSpan("EnvironmentAuthPolicy.getDescriptor")) });
23992
23992
  }));
23993
23993
  //#endregion
23994
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/sql/SqlSchema.js
23994
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/sql/SqlSchema.js
23995
23995
  /**
23996
23996
  * Wraps SQL execution callbacks with request encoding and result decoding.
23997
23997
  *
@@ -25518,7 +25518,7 @@ const layer$34 = effect(SessionStore, gen(function* () {
25518
25518
  });
25519
25519
  })).pipe(provideMerge(layer$35));
25520
25520
  //#endregion
25521
- //#region ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/cryptoNode.js
25521
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/cryptoNode.js
25522
25522
  /**
25523
25523
  * Internal webcrypto alias.
25524
25524
  * We prefer WebCrypto aka globalThis.crypto, which exists in node.js 16+.
@@ -25528,7 +25528,7 @@ const layer$34 = effect(SessionStore, gen(function* () {
25528
25528
  */
25529
25529
  const crypto = NodeCrypto && typeof NodeCrypto === "object" && "webcrypto" in NodeCrypto ? NodeCrypto.webcrypto : NodeCrypto && typeof NodeCrypto === "object" && "randomBytes" in NodeCrypto ? NodeCrypto : void 0;
25530
25530
  //#endregion
25531
- //#region ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/utils.js
25531
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/utils.js
25532
25532
  /**
25533
25533
  * Utilities for hex, bytes, CSPRNG.
25534
25534
  * @module
@@ -25628,7 +25628,7 @@ function randomBytes$1(bytesLength = 32) {
25628
25628
  throw new Error("crypto.getRandomValues must be defined");
25629
25629
  }
25630
25630
  //#endregion
25631
- //#region ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_md.js
25631
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_md.js
25632
25632
  /**
25633
25633
  * Internal Merkle-Damgard hash utils.
25634
25634
  * @module
@@ -25795,7 +25795,7 @@ const SHA512_IV = /* @__PURE__ */ Uint32Array.from([
25795
25795
  327033209
25796
25796
  ]);
25797
25797
  //#endregion
25798
- //#region ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_u64.js
25798
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_u64.js
25799
25799
  /**
25800
25800
  * Internal helpers for u64. BigUint64Array is too slow as per 2025, so we implement it using Uint32Array.
25801
25801
  * @todo re-check https://issues.chromium.org/issues/42212588
@@ -25843,7 +25843,7 @@ const add4H = (low, Ah, Bh, Ch, Dh) => Ah + Bh + Ch + Dh + (low / 2 ** 32 | 0) |
25843
25843
  const add5L = (Al, Bl, Cl, Dl, El) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0) + (El >>> 0);
25844
25844
  const add5H = (low, Ah, Bh, Ch, Dh, Eh) => Ah + Bh + Ch + Dh + Eh + (low / 2 ** 32 | 0) | 0;
25845
25845
  //#endregion
25846
- //#region ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.js
25846
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.js
25847
25847
  /**
25848
25848
  * SHA2 hash function. A.k.a. sha256, sha384, sha512, sha512_224, sha512_256.
25849
25849
  * SHA256 is the fastest hash implementable in JS, even faster than Blake3.
@@ -26245,7 +26245,7 @@ const sha512 = /* @__PURE__ */ createHasher(() => new SHA512());
26245
26245
  /** SHA2-384 hash function from RFC 4634. */
26246
26246
  const sha384 = /* @__PURE__ */ createHasher(() => new SHA384());
26247
26247
  //#endregion
26248
- //#region ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/hmac.js
26248
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/hmac.js
26249
26249
  /**
26250
26250
  * HMAC: RFC2104 message authentication code.
26251
26251
  * @module
@@ -26324,7 +26324,7 @@ var HMAC = class extends Hash {
26324
26324
  const hmac = (hash, key, message) => new HMAC(hash, key).update(message).digest();
26325
26325
  hmac.create = (hash, key) => new HMAC(hash, key);
26326
26326
  //#endregion
26327
- //#region ../../node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/abstract/utils.js
26327
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/abstract/utils.js
26328
26328
  /**
26329
26329
  * Hex, bytes and number utilities.
26330
26330
  * @module
@@ -26566,7 +26566,7 @@ function memoized(fn) {
26566
26566
  };
26567
26567
  }
26568
26568
  //#endregion
26569
- //#region ../../node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/abstract/modular.js
26569
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/abstract/modular.js
26570
26570
  /**
26571
26571
  * Utils for modular division and finite fields.
26572
26572
  * A finite field over 11 is integer number operations `mod 11`.
@@ -26877,7 +26877,7 @@ function mapHashToField(key, fieldOrder, isLE = false) {
26877
26877
  return isLE ? numberToBytesLE(reduced, fieldLen) : numberToBytesBE(reduced, fieldLen);
26878
26878
  }
26879
26879
  //#endregion
26880
- //#region ../../node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/abstract/curve.js
26880
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/abstract/curve.js
26881
26881
  /**
26882
26882
  * Methods for elliptic curve multiplication by scalars.
26883
26883
  * Contains wNAF, pippenger
@@ -27131,7 +27131,7 @@ function validateBasic(curve) {
27131
27131
  });
27132
27132
  }
27133
27133
  //#endregion
27134
- //#region ../../node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/abstract/weierstrass.js
27134
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/abstract/weierstrass.js
27135
27135
  /**
27136
27136
  * Short Weierstrass curve methods. The formula is: y² = x³ + ax + b.
27137
27137
  *
@@ -28033,7 +28033,7 @@ function weierstrass(curveDef) {
28033
28033
  };
28034
28034
  }
28035
28035
  //#endregion
28036
- //#region ../../node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/_shortw_utils.js
28036
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/_shortw_utils.js
28037
28037
  /**
28038
28038
  * Utilities for short weierstrass curves, combined with noble-hashes.
28039
28039
  * @module
@@ -28058,7 +28058,7 @@ function createCurve(curveDef, defHash) {
28058
28058
  };
28059
28059
  }
28060
28060
  //#endregion
28061
- //#region ../../node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/nist.js
28061
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/@noble+curves@1.9.1/node_modules/@noble/curves/esm/nist.js
28062
28062
  /**
28063
28063
  * Internal module for NIST P256, P384, P521 curves.
28064
28064
  * Do not use for now.
@@ -28108,7 +28108,7 @@ createCurve({
28108
28108
  ]
28109
28109
  }, sha512);
28110
28110
  //#endregion
28111
- //#region ../t3-shared/src/dpopCommon.ts
28111
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/dpopCommon.ts
28112
28112
  const DpopPublicJwk = Struct({
28113
28113
  kty: Literal("EC"),
28114
28114
  crv: Literal("P-256"),
@@ -28126,7 +28126,7 @@ function normalizeDpopHtu(url) {
28126
28126
  }
28127
28127
  }
28128
28128
  //#endregion
28129
- //#region ../t3-shared/src/relaySigning.ts
28129
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/relaySigning.ts
28130
28130
  function isRecord$3(value) {
28131
28131
  return typeof value === "object" && value !== null && !Array.isArray(value);
28132
28132
  }
@@ -28136,7 +28136,7 @@ function stableStringify(value) {
28136
28136
  return JSON.stringify(value) ?? "null";
28137
28137
  }
28138
28138
  //#endregion
28139
- //#region ../t3-shared/src/dpop.ts
28139
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/dpop.ts
28140
28140
  const DPOP_TYP = "dpop+jwt";
28141
28141
  const DPOP_ALG = "ES256";
28142
28142
  const DEFAULT_MAX_AGE_SECONDS = 300;
@@ -29980,7 +29980,7 @@ effectDiscard(runMigrations());
29980
29980
  //#region src/persistence/Layers/Sqlite.ts
29981
29981
  const defaultSqliteClientLoaders = {
29982
29982
  bun: () => import("@effect/sql-sqlite-bun/SqliteClient"),
29983
- node: () => import("./NodeSqliteClient-FfrElFAX.mjs")
29983
+ node: () => import("./NodeSqliteClient-S86HxjMf.mjs")
29984
29984
  };
29985
29985
  const makeRuntimeSqliteLayer = fn("makeRuntimeSqliteLayer")(function* (config) {
29986
29986
  const runtime = process.versions.bun !== void 0 ? "bun" : "node";
@@ -30518,7 +30518,7 @@ function formatSessionList(sessions, options) {
30518
30518
  ].join(newline)).join(`${newline}${newline}`) + newline;
30519
30519
  }
30520
30520
  //#endregion
30521
- //#region ../t3-shared/src/Struct.ts
30521
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/Struct.ts
30522
30522
  function deepMerge(current, patch) {
30523
30523
  if (!isObject$1(current) || !isObject$1(patch)) return patch;
30524
30524
  const next = { ...current };
@@ -30530,7 +30530,7 @@ function deepMerge(current, patch) {
30530
30530
  return next;
30531
30531
  }
30532
30532
  //#endregion
30533
- //#region ../t3-shared/src/schemaJson.ts
30533
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/schemaJson.ts
30534
30534
  const decodeJsonResult = (schema) => {
30535
30535
  const decode = decodeExit(fromJsonString(schema));
30536
30536
  return (input) => {
@@ -30609,7 +30609,7 @@ const fromJsonStringPretty = (schema) => fromJsonString(schema).pipe(encode$1({
30609
30609
  encode: prettyJsonString
30610
30610
  }));
30611
30611
  //#endregion
30612
- //#region ../t3-shared/src/model.ts
30612
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/model.ts
30613
30613
  const DEFAULT_PROVIDER_DRIVER_KIND = ProviderDriverKind.make("codex");
30614
30614
  function createModelCapabilities(input) {
30615
30615
  return { optionDescriptors: input.optionDescriptors.map(cloneDescriptor) };
@@ -30734,7 +30734,7 @@ function applyClaudePromptEffortPrefix(text, effort) {
30734
30734
  return `Ultrathink:\n${trimmed}`;
30735
30735
  }
30736
30736
  //#endregion
30737
- //#region ../t3-shared/src/backgroundActivitySettings.ts
30737
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/backgroundActivitySettings.ts
30738
30738
  const PRESET_SETTINGS = {
30739
30739
  performance: {
30740
30740
  profile: "performance",
@@ -30973,7 +30973,7 @@ function applyServerSettingsPatch(current, patch) {
30973
30973
  };
30974
30974
  }
30975
30975
  //#endregion
30976
- //#region ../t3-shared/src/hostProcess.ts
30976
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/hostProcess.ts
30977
30977
  const HostProcessPlatform = Reference("@t3tools/shared/hostProcess/HostProcessPlatform", { defaultValue: () => process.platform });
30978
30978
  const HostProcessArchitecture = Reference("@t3tools/shared/hostProcess/HostProcessArchitecture", { defaultValue: () => process.arch });
30979
30979
  const HostProcessHostname = Reference("@t3tools/shared/hostProcess/HostProcessHostname", { defaultValue: () => NodeOS.hostname() });
@@ -31130,7 +31130,7 @@ function resolveFdPath(fd, platform) {
31130
31130
  return `/dev/fd/${fd}`;
31131
31131
  }
31132
31132
  //#endregion
31133
- //#region ../t3-shared/src/shell.ts
31133
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/shell.ts
31134
31134
  const SHELL_ENV_NAME_PATTERN = /^[A-Z0-9_]+$/;
31135
31135
  const WINDOWS_PATH_DELIMITER = ";";
31136
31136
  const POSIX_PATH_DELIMITER = ":";
@@ -31897,7 +31897,7 @@ const sessionCommand = make$63("session").pipe(withDescription("Manage bearer se
31897
31897
  ]));
31898
31898
  const authCommand = make$63("auth").pipe(withDescription("Manage the local auth control plane for headless deployments."), withSubcommands([pairingCommand, sessionCommand]));
31899
31899
  //#endregion
31900
- //#region ../t3-shared/src/devHome.ts
31900
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/devHome.ts
31901
31901
  /**
31902
31902
  * Where development state lives, and how to keep it away from the shared
31903
31903
  * `~/.t3` that a user's installed T3 Code runs against.
@@ -32182,7 +32182,7 @@ const writeFileStringAtomically = (input) => scoped(gen(function* () {
32182
32182
  yield* fs.rename(tempPath, input.filePath);
32183
32183
  }));
32184
32184
  //#endregion
32185
- //#region ../t3-shared/src/qrCode.ts
32185
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/qrCode.ts
32186
32186
  var QrCode = class QrCode {
32187
32187
  static Ecc;
32188
32188
  static encodeText(text, ecl) {
@@ -33475,7 +33475,7 @@ const pairCommand = make$63("pair", {
33475
33475
  }));
33476
33476
  }).pipe(provide$1(layer$44))));
33477
33477
  //#endregion
33478
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/encoding/Sse.js
33478
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/encoding/Sse.js
33479
33479
  const SseErrorTypeId = "~effect/encoding/Sse/SseError";
33480
33480
  /**
33481
33481
  * Error reason raised when pending Server-Sent Events state exceeds the
@@ -33753,7 +33753,7 @@ const encoder$3 = { write(event) {
33753
33753
  }
33754
33754
  } };
33755
33755
  //#endregion
33756
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiClient.js
33756
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiClient.js
33757
33757
  /**
33758
33758
  * Builds HTTP clients from `HttpApi` declarations.
33759
33759
  *
@@ -34476,7 +34476,7 @@ function toProjectorDecodeError(eventType) {
34476
34476
  });
34477
34477
  }
34478
34478
  //#endregion
34479
- //#region ../t3-shared/src/path.ts
34479
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/path.ts
34480
34480
  function isWindowsDrivePath(value) {
34481
34481
  return /^[a-zA-Z]:([/\\]|$)/.test(value);
34482
34482
  }
@@ -38605,7 +38605,7 @@ function make$40() {
38605
38605
  }
38606
38606
  const layer$32 = effect(ThreadBackgroundLivenessService, sync(make$40));
38607
38607
  //#endregion
38608
- //#region ../t3-shared/src/sourceControl.ts
38608
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/sourceControl.ts
38609
38609
  function parseRemoteHost(remoteUrl) {
38610
38610
  const trimmed = remoteUrl.trim();
38611
38611
  if (trimmed.length === 0) return null;
@@ -40519,7 +40519,7 @@ const OrchestrationInfrastructureLayerLive = mergeAll(effect(ProjectionSnapshotQ
40519
40519
  })), mergeAll(OrchestrationEventStoreLive, OrchestrationCommandReceiptRepositoryLive), OrchestrationProjectionPipelineLive.pipe(provide(OrchestrationEventStoreLive))).pipe(provideMerge(layer$32));
40520
40520
  const OrchestrationLayerLive = mergeAll(OrchestrationInfrastructureLayerLive, OrchestrationEngineLive.pipe(provide(OrchestrationInfrastructureLayerLive)));
40521
40521
  //#endregion
40522
- //#region ../t3-shared/src/keybindings.ts
40522
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/keybindings.ts
40523
40523
  const DEFAULT_KEYBINDINGS = [
40524
40524
  {
40525
40525
  key: "mod+b",
@@ -43009,7 +43009,7 @@ function acquireDaemonLock(stateDir) {
43009
43009
  }
43010
43010
  }
43011
43011
  //#endregion
43012
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiBuilder.js
43012
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/httpapi/HttpApiBuilder.js
43013
43013
  /**
43014
43014
  * Registers an `HttpApi` with a `HttpRouter`.
43015
43015
  *
@@ -43413,7 +43413,7 @@ const subscribeBeforeSnapshotWithoutMutex = fn("subscribeBeforeSnapshotWithoutMu
43413
43413
  };
43414
43414
  });
43415
43415
  //#endregion
43416
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/encoding/Ndjson.js
43416
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/encoding/Ndjson.js
43417
43417
  /**
43418
43418
  * Encodes and decodes newline-delimited JSON streams in Effect channels.
43419
43419
  *
@@ -44038,7 +44038,7 @@ const layer$17 = effect(ResourceAttribution, fn("resourceTelemetry.resourceAttri
44038
44038
  });
44039
44039
  })());
44040
44040
  //#endregion
44041
- //#region ../t3-shared/src/devProxy.ts
44041
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/devProxy.ts
44042
44042
  /**
44043
44043
  * Backend paths the web dev server proxies in single-origin browser dev.
44044
44044
  *
@@ -44059,7 +44059,7 @@ function isDevProxiedPath(pathname) {
44059
44059
  return DEV_PROXIED_PATH_PREFIXES.some((prefix) => pathname === prefix || pathname.startsWith(`${prefix}/`));
44060
44060
  }
44061
44061
  //#endregion
44062
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/observability/OtlpExporter.js
44062
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/observability/OtlpExporter.js
44063
44063
  /**
44064
44064
  * Shared batch exporter for OTLP/HTTP observability modules.
44065
44065
  *
@@ -44196,7 +44196,7 @@ const make$25 = /*#__PURE__*/ fnUntraced(function* (options) {
44196
44196
  } };
44197
44197
  });
44198
44198
  //#endregion
44199
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/observability/OtlpResource.js
44199
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/observability/OtlpResource.js
44200
44200
  /**
44201
44201
  * Builds OTLP resource metadata shared by exported telemetry.
44202
44202
  *
@@ -44327,7 +44327,7 @@ const unknownToAttributeValue = (value) => {
44327
44327
  }
44328
44328
  };
44329
44329
  //#endregion
44330
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/observability/OtlpSerialization.js
44330
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/observability/OtlpSerialization.js
44331
44331
  /**
44332
44332
  * Serializes OTLP payloads into HTTP request bodies.
44333
44333
  *
@@ -44357,7 +44357,7 @@ const layerJson$1 = /*#__PURE__*/ succeed$3(OtlpSerialization, {
44357
44357
  logs: (logs) => jsonUnsafe$1(logs)
44358
44358
  });
44359
44359
  //#endregion
44360
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/observability/OtlpMetrics.js
44360
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/observability/OtlpMetrics.js
44361
44361
  /**
44362
44362
  * Exports Effect metrics over OTLP/HTTP.
44363
44363
  *
@@ -44752,7 +44752,7 @@ const EAggregationTemporality = {
44752
44752
  AGGREGATION_TEMPORALITY_CUMULATIVE: 2
44753
44753
  };
44754
44754
  //#endregion
44755
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/observability/OtlpTracer.js
44755
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/observability/OtlpTracer.js
44756
44756
  /**
44757
44757
  * Exports Effect tracing spans over OTLP/HTTP.
44758
44758
  *
@@ -44948,7 +44948,7 @@ const SpanKind = {
44948
44948
  };
44949
44949
  const constOtelStatusSuccess = { code: StatusCode.Ok };
44950
44950
  //#endregion
44951
- //#region ../t3-shared/src/logging.ts
44951
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/logging.ts
44952
44952
  var RotatingFileSinkConfigurationError = class extends TaggedErrorClass()("RotatingFileSinkConfigurationError", {
44953
44953
  option: Literals(["maxBytes", "maxFiles"]),
44954
44954
  received: Number$1,
@@ -45080,7 +45080,7 @@ var RotatingFileSink = class {
45080
45080
  }
45081
45081
  };
45082
45082
  //#endregion
45083
- //#region ../t3-shared/src/observability.ts
45083
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/observability.ts
45084
45084
  const FLUSH_BUFFER_THRESHOLD = 256;
45085
45085
  const textEncoder$2 = new TextEncoder();
45086
45086
  function isStructuralTag(value) {
@@ -45424,7 +45424,7 @@ function parseBigInt(input) {
45424
45424
  }
45425
45425
  }
45426
45426
  //#endregion
45427
- //#region ../t3-shared/src/filePreview.ts
45427
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/filePreview.ts
45428
45428
  const WORKSPACE_BROWSER_PREVIEW_EXTENSIONS = [
45429
45429
  ".htm",
45430
45430
  ".html",
@@ -45454,7 +45454,7 @@ function isWorkspacePreviewEntryPath(path) {
45454
45454
  return isWorkspaceBrowserPreviewPath(path) || isWorkspaceImagePreviewPath(path);
45455
45455
  }
45456
45456
  //#endregion
45457
- //#region ../t3-shared/src/projectFavicon.ts
45457
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/projectFavicon.ts
45458
45458
  const PROJECT_FAVICON_FALLBACK_MARKER = "project-favicon-missing";
45459
45459
  //#endregion
45460
45460
  //#region src/project/T3ProjectFileLoader.ts
@@ -46257,7 +46257,7 @@ const staticAndDevRouteLayer = add$1("GET", "*", gen(function* () {
46257
46257
  });
46258
46258
  }));
46259
46259
  //#endregion
46260
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/workers/Transferable.js
46260
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/workers/Transferable.js
46261
46261
  /**
46262
46262
  * Marks encoded worker message fields that should move through `postMessage` as
46263
46263
  * transfer-list entries.
@@ -46306,7 +46306,7 @@ const makeCollectorUnsafe = () => {
46306
46306
  });
46307
46307
  };
46308
46308
  //#endregion
46309
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/workers/WorkerError.js
46309
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/workers/WorkerError.js
46310
46310
  const TypeId$1 = "~effect/workers/WorkerError";
46311
46311
  /**
46312
46312
  * Worker error reason for failures while spawning or setting up a worker.
@@ -46370,7 +46370,7 @@ ErrorClass(TypeId$1)({
46370
46370
  reason: WorkerErrorReason
46371
46371
  });
46372
46372
  //#endregion
46373
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcClientError.js
46373
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcClientError.js
46374
46374
  /**
46375
46375
  * Client-side protocol failures reported by unstable RPC transports.
46376
46376
  *
@@ -46421,7 +46421,7 @@ var RpcClientError = class extends ErrorClass(TypeId)({
46421
46421
  }
46422
46422
  };
46423
46423
  //#endregion
46424
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcMessage.js
46424
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcMessage.js
46425
46425
  /**
46426
46426
  * Converts a bigint or string request id into the branded `RequestId` type.
46427
46427
  *
@@ -46449,7 +46449,7 @@ const ResponseDefectEncoded$1 = (input) => ({
46449
46449
  */
46450
46450
  const constPong = { _tag: "Pong" };
46451
46451
  //#endregion
46452
- //#region ../../node_modules/.pnpm/msgpackr@2.0.5/node_modules/msgpackr/unpack.js
46452
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/msgpackr@2.0.5/node_modules/msgpackr/unpack.js
46453
46453
  var decoder;
46454
46454
  try {
46455
46455
  decoder = new TextDecoder();
@@ -47428,7 +47428,7 @@ const FLOAT32_OPTIONS = {
47428
47428
  new Uint8Array((/* @__PURE__ */ new Float32Array(1)).buffer, 0, 4);
47429
47429
  Unpackr.SUPPORTS_STRUCT_HOOKS = true;
47430
47430
  //#endregion
47431
- //#region ../../node_modules/.pnpm/msgpackr@2.0.5/node_modules/msgpackr/pack.js
47431
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/msgpackr@2.0.5/node_modules/msgpackr/pack.js
47432
47432
  let textEncoder$1;
47433
47433
  try {
47434
47434
  textEncoder$1 = new TextEncoder();
@@ -48324,7 +48324,7 @@ defaultPackr.pack;
48324
48324
  defaultPackr.pack;
48325
48325
  const { NEVER, ALWAYS, DECIMAL_ROUND, DECIMAL_FIT } = FLOAT32_OPTIONS;
48326
48326
  //#endregion
48327
- //#region ../../node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/process.js
48327
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/process.js
48328
48328
  var require_process = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48329
48329
  const isLinux = () => process.platform === "linux";
48330
48330
  let report = null;
@@ -48345,7 +48345,7 @@ var require_process = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48345
48345
  };
48346
48346
  }));
48347
48347
  //#endregion
48348
- //#region ../../node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/filesystem.js
48348
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/filesystem.js
48349
48349
  var require_filesystem = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48350
48350
  const fs$1 = __require("fs");
48351
48351
  const LDD_PATH = "/usr/bin/ldd";
@@ -48390,7 +48390,7 @@ var require_filesystem = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48390
48390
  };
48391
48391
  }));
48392
48392
  //#endregion
48393
- //#region ../../node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/elf.js
48393
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/elf.js
48394
48394
  var require_elf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48395
48395
  const interpreterPath = (elf) => {
48396
48396
  if (elf.length < 64) return null;
@@ -48413,7 +48413,7 @@ var require_elf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48413
48413
  module.exports = { interpreterPath };
48414
48414
  }));
48415
48415
  //#endregion
48416
- //#region ../../node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/detect-libc.js
48416
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/detect-libc@2.1.2/node_modules/detect-libc/lib/detect-libc.js
48417
48417
  var require_detect_libc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48418
48418
  const childProcess = __require("child_process");
48419
48419
  const { isLinux, getReport } = require_process();
@@ -48646,7 +48646,7 @@ var require_detect_libc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48646
48646
  };
48647
48647
  }));
48648
48648
  //#endregion
48649
- //#region ../../node_modules/.pnpm/node-gyp-build-optional-packages@5.2.2/node_modules/node-gyp-build-optional-packages/node-gyp-build.js
48649
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/node-gyp-build-optional-packages@5.2.2/node_modules/node-gyp-build-optional-packages/node-gyp-build.js
48650
48650
  var require_node_gyp_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48651
48651
  var fs = __require("fs");
48652
48652
  var path = __require("path");
@@ -48823,19 +48823,19 @@ var require_node_gyp_build = /* @__PURE__ */ __commonJSMin(((exports, module) =>
48823
48823
  load.compareTuples = compareTuples;
48824
48824
  }));
48825
48825
  //#endregion
48826
- //#region ../../node_modules/.pnpm/node-gyp-build-optional-packages@5.2.2/node_modules/node-gyp-build-optional-packages/index.js
48826
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/node-gyp-build-optional-packages@5.2.2/node_modules/node-gyp-build-optional-packages/index.js
48827
48827
  var require_node_gyp_build_optional_packages = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48828
48828
  const runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : __require;
48829
48829
  if (typeof runtimeRequire.addon === "function") module.exports = runtimeRequire.addon.bind(runtimeRequire);
48830
48830
  else module.exports = require_node_gyp_build();
48831
48831
  }));
48832
48832
  //#endregion
48833
- //#region ../../node_modules/.pnpm/msgpackr-extract@3.0.4/node_modules/msgpackr-extract/index.js
48833
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/msgpackr-extract@3.0.4/node_modules/msgpackr-extract/index.js
48834
48834
  var require_msgpackr_extract = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48835
48835
  module.exports = require_node_gyp_build_optional_packages()(__dirname);
48836
48836
  }));
48837
48837
  //#endregion
48838
- //#region ../../node_modules/.pnpm/msgpackr@2.0.5/node_modules/msgpackr/node-index.js
48838
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/msgpackr@2.0.5/node_modules/msgpackr/node-index.js
48839
48839
  if (!(process.env.MSGPACKR_NATIVE_ACCELERATION_DISABLED !== void 0 && process.env.MSGPACKR_NATIVE_ACCELERATION_DISABLED.toLowerCase() === "true")) {
48840
48840
  let extractor;
48841
48841
  try {
@@ -48845,7 +48845,7 @@ if (!(process.env.MSGPACKR_NATIVE_ACCELERATION_DISABLED !== void 0 && process.en
48845
48845
  } catch (error) {}
48846
48846
  }
48847
48847
  //#endregion
48848
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcSerialization.js
48848
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcSerialization.js
48849
48849
  /**
48850
48850
  * Service that describes how RPC protocol messages are encoded and decoded,
48851
48851
  * including the content type and whether the serialization format provides
@@ -49149,7 +49149,7 @@ const jsonRpcInternalError = -32603;
49149
49149
  */
49150
49150
  const layerJson = /*#__PURE__*/ succeed$3(RpcSerialization)(json);
49151
49151
  //#endregion
49152
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/Utils.js
49152
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/Utils.js
49153
49153
  /**
49154
49154
  * Builds a service with a `run` method that buffers writes until `run` installs
49155
49155
  * a writer, replays buffered writes with their original contexts, and restores
@@ -49227,7 +49227,7 @@ const withRunClient = (f) => suspend(() => {
49227
49227
  }));
49228
49228
  });
49229
49229
  //#endregion
49230
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcClient.js
49230
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcClient.js
49231
49231
  let requestIdCounter = 0;
49232
49232
  /**
49233
49233
  * Creates an RPC client for an already-decoded message channel, returning the
@@ -49626,7 +49626,7 @@ var RequestHooks = class extends Service$2()("effect/rpc/RpcClient/RequestHooks"
49626
49626
  Service$2()("effect/rpc/RpcClient/ConnectionHooks");
49627
49627
  const decodeDefect = /*#__PURE__*/ decodeSync(/*#__PURE__*/ Defect());
49628
49628
  //#endregion
49629
- //#region ../../node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcServer.js
49629
+ //#region ../../../../../Users/chenbai/Projects/agentlink/node_modules/.pnpm/effect@4.0.0-beta.103_patch_hash=a18f963109656ddbeb2a99ca45f942ecf54830986259eb01ce6a970421c9c6a9/node_modules/effect/dist/unstable/rpc/RpcServer.js
49630
49630
  /**
49631
49631
  * Creates an RPC server for an already-decoded message channel, running
49632
49632
  * handlers for a group and sending decoded server responses through
@@ -50190,7 +50190,7 @@ const makeProviderMaintenanceCommandCoordinator = fn("makeProviderMaintenanceCom
50190
50190
  return { withCommandLock };
50191
50191
  });
50192
50192
  //#endregion
50193
- //#region ../t3-shared/src/semver.ts
50193
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/semver.ts
50194
50194
  const SEMVER_NUMBER_SEGMENT = /^\d+$/;
50195
50195
  function normalizeSemverVersion(version) {
50196
50196
  const [main, prerelease] = version.trim().split("-", 2);
@@ -51039,7 +51039,7 @@ const observeRpcStreamEffect = (method, effect, traceAttributes) => {
51039
51039
  return withRpcStreamTracing(method, instrumented, traceAttributes);
51040
51040
  };
51041
51041
  //#endregion
51042
- //#region ../t3-shared/src/searchRanking.ts
51042
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/searchRanking.ts
51043
51043
  function normalizeSearchQuery(input, options) {
51044
51044
  const trimmed = input.trim();
51045
51045
  if (!trimmed) return "";
@@ -53592,7 +53592,7 @@ const runHubTunnel = (config) => gen(function* () {
53592
53592
  }).pipe(tapDefect((cause) => logError("hub tunnel: worker defect", { cause: String(cause) })), catchCause((cause) => logError("hub tunnel: worker failed", { cause: String(cause) })));
53593
53593
  const layer$6 = (config) => effectDiscard(forkScoped(runHubTunnel(config)));
53594
53594
  //#endregion
53595
- //#region ../t3-shared/src/agentAwareness.ts
53595
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/agentAwareness.ts
53596
53596
  function buildAgentAwarenessDeepLink(input) {
53597
53597
  return `/threads/${encodeURIComponent(input.environmentId)}/${encodeURIComponent(input.threadId)}`;
53598
53598
  }
@@ -53645,7 +53645,7 @@ function detailForPhase(phase, thread) {
53645
53645
  if (phase === "running" && thread.session?.providerName) return `${thread.session.providerName} is active.`;
53646
53646
  }
53647
53647
  //#endregion
53648
- //#region ../t3-shared/src/DrainableWorker.ts
53648
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/DrainableWorker.ts
53649
53649
  /**
53650
53650
  * Create a drainable worker that processes items from an unbounded queue.
53651
53651
  *
@@ -56923,7 +56923,7 @@ const makeClaudeTextGeneration = fn("makeClaudeTextGeneration")(function* (claud
56923
56923
  };
56924
56924
  });
56925
56925
  //#endregion
56926
- //#region ../t3-shared/src/cliArgs.ts
56926
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/cliArgs.ts
56927
56927
  function tokenizeCliArgs(args) {
56928
56928
  const input = args?.trim();
56929
56929
  if (!input) return [];
@@ -60136,7 +60136,7 @@ const makeCodexTextGeneration = fn("makeCodexTextGeneration")(function* (codexCo
60136
60136
  };
60137
60137
  });
60138
60138
  //#endregion
60139
- //#region ../effect-codex-app-server/src/errors.ts
60139
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-codex-app-server/src/errors.ts
60140
60140
  const CodexAppServerRequestOperation = Literals([
60141
60141
  "decode-payload",
60142
60142
  "encode-payload",
@@ -60434,7 +60434,7 @@ const CodexAppServerError = Union([
60434
60434
  CodexAppServerInputStreamEndedError
60435
60435
  ]);
60436
60436
  //#endregion
60437
- //#region ../effect-codex-app-server/src/_generated/schema.gen.ts
60437
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-codex-app-server/src/_generated/schema.gen.ts
60438
60438
  const ApplyPatchApprovalParams__FileChange = Union([
60439
60439
  Struct({
60440
60440
  content: String$1,
@@ -77532,7 +77532,7 @@ const V2WindowsWorldWritableWarningNotification = Struct({
77532
77532
  samplePaths: ArraySchema(String$1)
77533
77533
  }).annotate({ title: "WindowsWorldWritableWarningNotification" });
77534
77534
  //#endregion
77535
- //#region ../effect-codex-app-server/src/_generated/meta.gen.ts
77535
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-codex-app-server/src/_generated/meta.gen.ts
77536
77536
  const SERVER_NOTIFICATION_METHODS = {
77537
77537
  error: "error",
77538
77538
  "thread/started": "thread/started",
@@ -77895,7 +77895,7 @@ const SERVER_NOTIFICATION_PARAMS = {
77895
77895
  "account/login/completed": V2AccountLoginCompletedNotification
77896
77896
  };
77897
77897
  //#endregion
77898
- //#region ../effect-codex-app-server/src/_internal/shared.ts
77898
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-codex-app-server/src/_internal/shared.ts
77899
77899
  const JsonRpcId$1 = Union([Number$1, String$1]);
77900
77900
  const JsonRpcError = Struct({
77901
77901
  code: Number$1,
@@ -77927,7 +77927,7 @@ const runHandler$1 = fnUntraced(function* (handler, payload, method) {
77927
77927
  return yield* handler(payload).pipe(mapError((error) => CodexAppServerRequestError.fromAppServerError(error, method)));
77928
77928
  });
77929
77929
  //#endregion
77930
- //#region ../effect-codex-app-server/src/protocol.ts
77930
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-codex-app-server/src/protocol.ts
77931
77931
  const isJsonRpcId = is(JsonRpcId$1);
77932
77932
  const isJsonRpcResponseEnvelope = is(JsonRpcResponseEnvelope);
77933
77933
  const isCodexAppServerError = is(CodexAppServerError);
@@ -78096,7 +78096,7 @@ const makeCodexAppServerPatchedProtocol = fn("makeCodexAppServerPatchedProtocol"
78096
78096
  };
78097
78097
  });
78098
78098
  //#endregion
78099
- //#region ../effect-codex-app-server/src/_internal/stdio.ts
78099
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-codex-app-server/src/_internal/stdio.ts
78100
78100
  const encoder$2 = new TextEncoder();
78101
78101
  const makeChildStdio$1 = (handle) => make$81({
78102
78102
  args: succeed$1([]),
@@ -78131,7 +78131,7 @@ const makeTerminationError$1 = (handle) => match$2(handle.exitCode, {
78131
78131
  })
78132
78132
  });
78133
78133
  //#endregion
78134
- //#region ../effect-codex-app-server/src/client.ts
78134
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-codex-app-server/src/client.ts
78135
78135
  var CodexAppServerClient = class extends Service$2()("effect-codex-app-server/client/CodexAppServerClient") {};
78136
78136
  const make$6 = fn("effect-codex-app-server/CodexAppServerClient.make")(function* (stdio, options = {}, terminationError) {
78137
78137
  const requestHandlers = /* @__PURE__ */ new Map();
@@ -81403,7 +81403,7 @@ const GeminiAcpAgent = {
81403
81403
  supportsSessionLoad: false
81404
81404
  };
81405
81405
  //#endregion
81406
- //#region ../effect-acp/src/_generated/schema.gen.ts
81406
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-acp/src/_generated/schema.gen.ts
81407
81407
  const AuthEnvVar = Struct({
81408
81408
  _meta: optionalKey(Union([Record(String$1, Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), Null])),
81409
81409
  label: optionalKey(Union([String$1.annotate({ description: "Human-readable label for this variable, displayed in client UI." }), Null])),
@@ -84329,7 +84329,7 @@ const WriteTextFileRequest = Struct({
84329
84329
  }).annotate({ description: "Request to write content to a text file.\n\nOnly available if the client supports the `fs.writeTextFile` capability." });
84330
84330
  const WriteTextFileResponse = Struct({ _meta: optionalKey(Union([Record(String$1, Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), Null])) }).annotate({ description: "Response to `fs/write_text_file`" });
84331
84331
  //#endregion
84332
- //#region ../effect-acp/src/errors.ts
84332
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-acp/src/errors.ts
84333
84333
  const AcpRequestOperation = Literals([
84334
84334
  "decode-extension-request-payload",
84335
84335
  "encode-extension-response",
@@ -84597,7 +84597,7 @@ const AcpError = Union([
84597
84597
  AcpInputStreamEndedError
84598
84598
  ]);
84599
84599
  //#endregion
84600
- //#region ../effect-acp/src/_generated/meta.gen.ts
84600
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-acp/src/_generated/meta.gen.ts
84601
84601
  const AGENT_METHODS = {
84602
84602
  authenticate: "authenticate",
84603
84603
  initialize: "initialize",
@@ -84628,7 +84628,7 @@ const CLIENT_METHODS = {
84628
84628
  terminal_wait_for_exit: "terminal/wait_for_exit"
84629
84629
  };
84630
84630
  //#endregion
84631
- //#region ../effect-acp/src/protocol.ts
84631
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-acp/src/protocol.ts
84632
84632
  const isAcpError = is(AcpError);
84633
84633
  const decodeSessionUpdate = decodeUnknownEffect(SessionNotification);
84634
84634
  const decodeElicitationComplete = decodeUnknownEffect(ElicitationCompleteNotification);
@@ -84881,7 +84881,7 @@ function isProtocolError(value) {
84881
84881
  return typeof value === "object" && value !== null && "code" in value && typeof value.code === "number" && "message" in value && typeof value.message === "string";
84882
84882
  }
84883
84883
  //#endregion
84884
- //#region ../effect-acp/src/rpc.ts
84884
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-acp/src/rpc.ts
84885
84885
  const InitializeRpc = make$52(AGENT_METHODS.initialize, {
84886
84886
  payload: InitializeRequest,
84887
84887
  success: InitializeResponse,
@@ -84990,7 +84990,7 @@ const KillTerminalRpc = make$52(CLIENT_METHODS.terminal_kill, {
84990
84990
  const AgentRpcs = make$51(InitializeRpc, AuthenticateRpc, LogoutRpc, NewSessionRpc, LoadSessionRpc, ListSessionsRpc, ForkSessionRpc, ResumeSessionRpc, CloseSessionRpc, PromptRpc, SetSessionModelRpc, SetSessionConfigOptionRpc);
84991
84991
  const ClientRpcs = make$51(ReadTextFileRpc, WriteTextFileRpc, RequestPermissionRpc, ElicitationRpc, CreateTerminalRpc, TerminalOutputRpc, ReleaseTerminalRpc, WaitForTerminalExitRpc, KillTerminalRpc);
84992
84992
  //#endregion
84993
- //#region ../effect-acp/src/_internal/shared.ts
84993
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-acp/src/_internal/shared.ts
84994
84994
  const isError = is(Error$1);
84995
84995
  const callRpc = (method, effect) => effect.pipe(catchIf(isError, (error) => fail(AcpRequestError.fromProtocolError(error, { method }))), catchTags({ RpcClientError: (cause) => fail(new AcpTransportError({
84996
84996
  operation: "call-rpc",
@@ -85011,7 +85011,7 @@ new TextEncoder();
85011
85011
  Union([Number$1, String$1]);
85012
85012
  ArraySchema(Unknown);
85013
85013
  //#endregion
85014
- //#region ../effect-acp/src/_internal/stdio.ts
85014
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-acp/src/_internal/stdio.ts
85015
85015
  const encoder = new TextEncoder();
85016
85016
  const makeChildStdio = (handle) => make$81({
85017
85017
  args: succeed$1([]),
@@ -85046,7 +85046,7 @@ const makeTerminationError = (handle) => match$2(handle.exitCode, {
85046
85046
  })
85047
85047
  });
85048
85048
  //#endregion
85049
- //#region ../effect-acp/src/client.ts
85049
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/effect-acp/src/client.ts
85050
85050
  var AcpClient = class extends Service$2()("effect-acp/client/AcpClient") {};
85051
85051
  const make$5 = fn("effect-acp/AcpClient.make")(function* (stdio, options = {}, terminationError) {
85052
85052
  const coreHandlers = {};
@@ -85351,7 +85351,7 @@ const registerLocalToolHandlers = (input) => gen(function* () {
85351
85351
  }));
85352
85352
  });
85353
85353
  //#endregion
85354
- //#region ../t3-shared/src/toolActivity.ts
85354
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/toolActivity.ts
85355
85355
  function asRecord(value) {
85356
85356
  return value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
85357
85357
  }
@@ -90831,7 +90831,7 @@ const layer = effect(PtyAdapter, fn("NodePtyAdapter.make")(function* (loadNodePt
90831
90831
  }) });
90832
90832
  })());
90833
90833
  //#endregion
90834
- //#region ../t3-shared/src/httpObservability.ts
90834
+ //#region ../../../../../Users/chenbai/Projects/agentlink/packages/t3-shared/src/httpObservability.ts
90835
90835
  const httpHeaderRedactionLayer = effect(CurrentRedactedNames, map$4(CurrentRedactedNames, (names) => [...names, "dpop"]));
90836
90836
  //#endregion
90837
90837
  //#region src/serverLogger.ts
@@ -90950,7 +90950,7 @@ const HttpServerLive = unwrap(gen(function* () {
90950
90950
  } }
90951
90951
  });
90952
90952
  else {
90953
- const [NodeHttpServer, NodeHttp] = yield* all([promise(() => import("./NodeHttpServer-D2VeYRw1.mjs")), promise(() => import("node:http"))]);
90953
+ const [NodeHttpServer, NodeHttp] = yield* all([promise(() => import("./NodeHttpServer-D8xOGdyN.mjs")), promise(() => import("node:http"))]);
90954
90954
  return NodeHttpServer.layer(NodeHttp.createServer, {
90955
90955
  host: config.host ?? "127.0.0.1",
90956
90956
  port: config.port,
@@ -90964,7 +90964,7 @@ const PlatformServicesLive = unwrap(gen(function* () {
90964
90964
  const { layer } = yield* promise(() => import("@effect/platform-bun/BunServices"));
90965
90965
  return layer;
90966
90966
  } else {
90967
- const { layer } = yield* promise(() => import("./NodeServices-BtcL7AtO.mjs").then((n) => n.t));
90967
+ const { layer } = yield* promise(() => import("./NodeServices-D5Lui-4t.mjs").then((n) => n.t));
90968
90968
  return layer;
90969
90969
  }
90970
90970
  }));