@cursor/sdk 1.2.0 → 1.3.1
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/bundled/index.js +556 -341
- package/dist/bundled/sqlite.js +20 -20
- package/dist/cjs/305.js +211 -0
- package/dist/cjs/agent/options.d.ts +13 -0
- package/dist/cjs/agent/options.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/local-executor.d.ts +1 -0
- package/dist/cjs/local-executor.d.ts.map +1 -1
- package/dist/cjs/options.d.ts +13 -0
- package/dist/cjs/options.d.ts.map +1 -1
- package/dist/cjs/platform.d.ts +1 -0
- package/dist/cjs/platform.d.ts.map +1 -1
- package/dist/cjs/sdk-statsig.d.ts +8 -0
- package/dist/cjs/sdk-statsig.d.ts.map +1 -1
- package/dist/cjs/sqlite.js +1 -1
- package/dist/esm/305.js +211 -0
- package/dist/esm/agent/options.d.ts +13 -0
- package/dist/esm/agent/options.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/local-executor.d.ts +1 -0
- package/dist/esm/local-executor.d.ts.map +1 -1
- package/dist/esm/options.d.ts +13 -0
- package/dist/esm/options.d.ts.map +1 -1
- package/dist/esm/platform.d.ts +1 -0
- package/dist/esm/platform.d.ts.map +1 -1
- package/dist/esm/sdk-statsig.d.ts +8 -0
- package/dist/esm/sdk-statsig.d.ts.map +1 -1
- package/dist/esm/sqlite.js +1 -1
- package/package.json +6 -6
- package/dist/cjs/336.js +0 -1
- package/dist/esm/336.js +0 -1
package/dist/esm/sqlite.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as t from"@bufbuild/protobuf";import*as r from"node:async_hooks";import*as e from"node:crypto";import*as s from"node:fs";import*as n from"node:fs/promises";import*as o from"node:path";import*as i from"zod/v4";import{homedir as a}from"node:os";var u,l,c,m,d,p,f,h={"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/index.js"(t,r,e){var s=this&&this.__createBinding||(Object.create?function(t,r,e,s){void 0===s&&(s=e);var n=Object.getOwnPropertyDescriptor(r,e);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,s,n)}:function(t,r,e,s){void 0===s&&(s=e),t[s]=r[e]}),n=this&&this.__exportStar||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||s(r,t,e)};Object.defineProperty(r,"__esModule",{value:!0}),r.throwError=r.range=r.race=r.partition=r.onErrorResumeNext=r.of=r.merge=r.interval=r.iif=r.generate=r.fromEventPattern=r.fromEvent=r.forkJoin=r.defer=r.connectable=r.concat=r.combineLatest=r.bindNodeCallback=r.bindCallback=r.TimeoutError=r.SequenceError=r.NotFoundError=r.EmptyError=r.ArgumentOutOfRangeError=r.firstValueFrom=r.lastValueFrom=r.identity=r.noop=r.pipe=r.rx=r.Scheduler=r.VirtualAction=r.VirtualTimeScheduler=r.animationFrameScheduler=r.queueScheduler=r.asyncScheduler=r.asapScheduler=r.AsyncSubject=r.ReplaySubject=r.BehaviorSubject=r.Subject=r.animationFrames=r.isObservable=r.UnsubscriptionError=r.operate=r.Subscriber=r.Subscription=r.config=r.from=r.Observable=void 0,r.max=r.materialize=r.mapTo=r.map=r.last=r.isEmpty=r.ignoreElements=r.groupBy=r.first=r.findIndex=r.find=r.finalize=r.filter=r.expand=r.exhaustMap=r.exhaustAll=r.every=r.endWith=r.elementAt=r.distinctUntilKeyChanged=r.distinctUntilChanged=r.distinct=r.dematerialize=r.delayWhen=r.delay=r.defaultIfEmpty=r.debounceTime=r.debounce=r.count=r.connect=r.concatWith=r.concatMapTo=r.concatMap=r.concatAll=r.combineLatestWith=r.combineLatestAll=r.catchError=r.bufferWhen=r.bufferToggle=r.bufferTime=r.bufferCount=r.buffer=r.auditTime=r.audit=r.NEVER=r.EMPTY=r.scheduled=r.zip=r.using=r.timer=void 0,r.windowWhen=r.windowToggle=r.windowTime=r.windowCount=r.window=r.toArray=r.timestamp=r.timeoutWith=r.timeout=r.timeInterval=r.throwIfEmpty=r.throttleTime=r.throttle=r.tap=r.takeWhile=r.takeUntil=r.takeLast=r.take=r.switchScan=r.switchMapTo=r.switchMap=r.switchAll=r.subscribeOn=r.startWith=r.skipWhile=r.skipUntil=r.skipLast=r.skip=r.single=r.shareReplay=r.share=r.sequenceEqual=r.scan=r.sampleTime=r.sample=r.retryWhen=r.retry=r.repeatWhen=r.repeat=r.reduce=r.raceWith=r.pairwise=r.onErrorResumeNextWith=r.observeOn=r.min=r.mergeWith=r.mergeScan=r.mergeMapTo=r.mergeMap=r.mergeAll=void 0,r.zipWith=r.zipAll=r.withLatestFrom=void 0;var o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");Object.defineProperty(r,"Observable",{enumerable:!0,get:function(){return o.Observable}}),Object.defineProperty(r,"from",{enumerable:!0,get:function(){return o.from}}),Object.defineProperty(r,"config",{enumerable:!0,get:function(){return o.config}}),Object.defineProperty(r,"Subscription",{enumerable:!0,get:function(){return o.Subscription}}),Object.defineProperty(r,"Subscriber",{enumerable:!0,get:function(){return o.Subscriber}}),Object.defineProperty(r,"operate",{enumerable:!0,get:function(){return o.operate}}),Object.defineProperty(r,"UnsubscriptionError",{enumerable:!0,get:function(){return o.UnsubscriptionError}}),Object.defineProperty(r,"isObservable",{enumerable:!0,get:function(){return o.isObservable}});var i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/dom/animationFrames.js");Object.defineProperty(r,"animationFrames",{enumerable:!0,get:function(){return i.animationFrames}});var a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");Object.defineProperty(r,"Subject",{enumerable:!0,get:function(){return a.Subject}});var u=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/BehaviorSubject.js");Object.defineProperty(r,"BehaviorSubject",{enumerable:!0,get:function(){return u.BehaviorSubject}});var l=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/ReplaySubject.js");Object.defineProperty(r,"ReplaySubject",{enumerable:!0,get:function(){return l.ReplaySubject}});var c=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/AsyncSubject.js");Object.defineProperty(r,"AsyncSubject",{enumerable:!0,get:function(){return c.AsyncSubject}});var m=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/asap.js");Object.defineProperty(r,"asapScheduler",{enumerable:!0,get:function(){return m.asapScheduler}});var d=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js");Object.defineProperty(r,"asyncScheduler",{enumerable:!0,get:function(){return d.asyncScheduler}});var p=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/queue.js");Object.defineProperty(r,"queueScheduler",{enumerable:!0,get:function(){return p.queueScheduler}});var f=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/animationFrame.js");Object.defineProperty(r,"animationFrameScheduler",{enumerable:!0,get:function(){return f.animationFrameScheduler}});var h=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/VirtualTimeScheduler.js");Object.defineProperty(r,"VirtualTimeScheduler",{enumerable:!0,get:function(){return h.VirtualTimeScheduler}}),Object.defineProperty(r,"VirtualAction",{enumerable:!0,get:function(){return h.VirtualAction}});var _=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Scheduler.js");Object.defineProperty(r,"Scheduler",{enumerable:!0,get:function(){return _.Scheduler}});var g=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/rx.js");Object.defineProperty(r,"rx",{enumerable:!0,get:function(){return g.rx}});var j=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/pipe.js");Object.defineProperty(r,"pipe",{enumerable:!0,get:function(){return j.pipe}});var b=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");Object.defineProperty(r,"noop",{enumerable:!0,get:function(){return b.noop}});var y=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");Object.defineProperty(r,"identity",{enumerable:!0,get:function(){return y.identity}});var w=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/lastValueFrom.js");Object.defineProperty(r,"lastValueFrom",{enumerable:!0,get:function(){return w.lastValueFrom}});var x=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/firstValueFrom.js");Object.defineProperty(r,"firstValueFrom",{enumerable:!0,get:function(){return x.firstValueFrom}});var J=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/ArgumentOutOfRangeError.js");Object.defineProperty(r,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return J.ArgumentOutOfRangeError}});var S=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");Object.defineProperty(r,"EmptyError",{enumerable:!0,get:function(){return S.EmptyError}});var v=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/NotFoundError.js");Object.defineProperty(r,"NotFoundError",{enumerable:!0,get:function(){return v.NotFoundError}});var B=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/SequenceError.js");Object.defineProperty(r,"SequenceError",{enumerable:!0,get:function(){return B.SequenceError}});var q=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeout.js");Object.defineProperty(r,"TimeoutError",{enumerable:!0,get:function(){return q.TimeoutError}});var P=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindCallback.js");Object.defineProperty(r,"bindCallback",{enumerable:!0,get:function(){return P.bindCallback}});var O=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindNodeCallback.js");Object.defineProperty(r,"bindNodeCallback",{enumerable:!0,get:function(){return O.bindNodeCallback}});var I=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js");Object.defineProperty(r,"combineLatest",{enumerable:!0,get:function(){return I.combineLatest}});var E=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/concat.js");Object.defineProperty(r,"concat",{enumerable:!0,get:function(){return E.concat}});var A=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/connectable.js");Object.defineProperty(r,"connectable",{enumerable:!0,get:function(){return A.connectable}});var k=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/defer.js");Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return k.defer}});var $=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/forkJoin.js");Object.defineProperty(r,"forkJoin",{enumerable:!0,get:function(){return $.forkJoin}});var T=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromEvent.js");Object.defineProperty(r,"fromEvent",{enumerable:!0,get:function(){return T.fromEvent}});var C=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromEventPattern.js");Object.defineProperty(r,"fromEventPattern",{enumerable:!0,get:function(){return C.fromEventPattern}});var R=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/generate.js");Object.defineProperty(r,"generate",{enumerable:!0,get:function(){return R.generate}});var M=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/iif.js");Object.defineProperty(r,"iif",{enumerable:!0,get:function(){return M.iif}});var U=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/interval.js");Object.defineProperty(r,"interval",{enumerable:!0,get:function(){return U.interval}});var N=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/merge.js");Object.defineProperty(r,"merge",{enumerable:!0,get:function(){return N.merge}});var L=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/of.js");Object.defineProperty(r,"of",{enumerable:!0,get:function(){return L.of}});var D=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/onErrorResumeNext.js");Object.defineProperty(r,"onErrorResumeNext",{enumerable:!0,get:function(){return D.onErrorResumeNext}});var F=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/partition.js");Object.defineProperty(r,"partition",{enumerable:!0,get:function(){return F.partition}});var W=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/race.js");Object.defineProperty(r,"race",{enumerable:!0,get:function(){return W.race}});var z=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/range.js");Object.defineProperty(r,"range",{enumerable:!0,get:function(){return z.range}});var G=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/throwError.js");Object.defineProperty(r,"throwError",{enumerable:!0,get:function(){return G.throwError}});var H=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");Object.defineProperty(r,"timer",{enumerable:!0,get:function(){return H.timer}});var V=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/using.js");Object.defineProperty(r,"using",{enumerable:!0,get:function(){return V.using}});var K=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/zip.js");Object.defineProperty(r,"zip",{enumerable:!0,get:function(){return K.zip}});var Q=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js");Object.defineProperty(r,"scheduled",{enumerable:!0,get:function(){return Q.scheduled}});var Y=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js");Object.defineProperty(r,"EMPTY",{enumerable:!0,get:function(){return Y.EMPTY}});var X=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/never.js");Object.defineProperty(r,"NEVER",{enumerable:!0,get:function(){return X.NEVER}}),n(e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/types.js"),r);var Z=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/audit.js");Object.defineProperty(r,"audit",{enumerable:!0,get:function(){return Z.audit}});var tt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/auditTime.js");Object.defineProperty(r,"auditTime",{enumerable:!0,get:function(){return tt.auditTime}});var rt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/buffer.js");Object.defineProperty(r,"buffer",{enumerable:!0,get:function(){return rt.buffer}});var et=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferCount.js");Object.defineProperty(r,"bufferCount",{enumerable:!0,get:function(){return et.bufferCount}});var st=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferTime.js");Object.defineProperty(r,"bufferTime",{enumerable:!0,get:function(){return st.bufferTime}});var nt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferToggle.js");Object.defineProperty(r,"bufferToggle",{enumerable:!0,get:function(){return nt.bufferToggle}});var ot=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferWhen.js");Object.defineProperty(r,"bufferWhen",{enumerable:!0,get:function(){return ot.bufferWhen}});var it=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/catchError.js");Object.defineProperty(r,"catchError",{enumerable:!0,get:function(){return it.catchError}});var at=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/combineLatestAll.js");Object.defineProperty(r,"combineLatestAll",{enumerable:!0,get:function(){return at.combineLatestAll}});var ut=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/combineLatestWith.js");Object.defineProperty(r,"combineLatestWith",{enumerable:!0,get:function(){return ut.combineLatestWith}});var lt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatAll.js");Object.defineProperty(r,"concatAll",{enumerable:!0,get:function(){return lt.concatAll}});var ct=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatMap.js");Object.defineProperty(r,"concatMap",{enumerable:!0,get:function(){return ct.concatMap}});var mt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatMapTo.js");Object.defineProperty(r,"concatMapTo",{enumerable:!0,get:function(){return mt.concatMapTo}});var dt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatWith.js");Object.defineProperty(r,"concatWith",{enumerable:!0,get:function(){return dt.concatWith}});var pt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/connect.js");Object.defineProperty(r,"connect",{enumerable:!0,get:function(){return pt.connect}});var ft=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/count.js");Object.defineProperty(r,"count",{enumerable:!0,get:function(){return ft.count}});var ht=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/debounce.js");Object.defineProperty(r,"debounce",{enumerable:!0,get:function(){return ht.debounce}});var _t=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/debounceTime.js");Object.defineProperty(r,"debounceTime",{enumerable:!0,get:function(){return _t.debounceTime}});var gt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/defaultIfEmpty.js");Object.defineProperty(r,"defaultIfEmpty",{enumerable:!0,get:function(){return gt.defaultIfEmpty}});var jt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/delay.js");Object.defineProperty(r,"delay",{enumerable:!0,get:function(){return jt.delay}});var bt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/delayWhen.js");Object.defineProperty(r,"delayWhen",{enumerable:!0,get:function(){return bt.delayWhen}});var yt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/dematerialize.js");Object.defineProperty(r,"dematerialize",{enumerable:!0,get:function(){return yt.dematerialize}});var wt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinct.js");Object.defineProperty(r,"distinct",{enumerable:!0,get:function(){return wt.distinct}});var xt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js");Object.defineProperty(r,"distinctUntilChanged",{enumerable:!0,get:function(){return xt.distinctUntilChanged}});var Jt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilKeyChanged.js");Object.defineProperty(r,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Jt.distinctUntilKeyChanged}});var St=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/elementAt.js");Object.defineProperty(r,"elementAt",{enumerable:!0,get:function(){return St.elementAt}});var vt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/endWith.js");Object.defineProperty(r,"endWith",{enumerable:!0,get:function(){return vt.endWith}});var Bt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/every.js");Object.defineProperty(r,"every",{enumerable:!0,get:function(){return Bt.every}});var qt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/exhaustAll.js");Object.defineProperty(r,"exhaustAll",{enumerable:!0,get:function(){return qt.exhaustAll}});var Pt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/exhaustMap.js");Object.defineProperty(r,"exhaustMap",{enumerable:!0,get:function(){return Pt.exhaustMap}});var Ot=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/expand.js");Object.defineProperty(r,"expand",{enumerable:!0,get:function(){return Ot.expand}});var It=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/filter.js");Object.defineProperty(r,"filter",{enumerable:!0,get:function(){return It.filter}});var Et=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/finalize.js");Object.defineProperty(r,"finalize",{enumerable:!0,get:function(){return Et.finalize}});var At=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/find.js");Object.defineProperty(r,"find",{enumerable:!0,get:function(){return At.find}});var kt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/findIndex.js");Object.defineProperty(r,"findIndex",{enumerable:!0,get:function(){return kt.findIndex}});var $t=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/first.js");Object.defineProperty(r,"first",{enumerable:!0,get:function(){return $t.first}});var Tt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/groupBy.js");Object.defineProperty(r,"groupBy",{enumerable:!0,get:function(){return Tt.groupBy}});var Ct=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/ignoreElements.js");Object.defineProperty(r,"ignoreElements",{enumerable:!0,get:function(){return Ct.ignoreElements}});var Rt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/isEmpty.js");Object.defineProperty(r,"isEmpty",{enumerable:!0,get:function(){return Rt.isEmpty}});var Mt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/last.js");Object.defineProperty(r,"last",{enumerable:!0,get:function(){return Mt.last}});var Ut=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js");Object.defineProperty(r,"map",{enumerable:!0,get:function(){return Ut.map}});var Nt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mapTo.js");Object.defineProperty(r,"mapTo",{enumerable:!0,get:function(){return Nt.mapTo}});var Lt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/materialize.js");Object.defineProperty(r,"materialize",{enumerable:!0,get:function(){return Lt.materialize}});var Dt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/max.js");Object.defineProperty(r,"max",{enumerable:!0,get:function(){return Dt.max}});var Ft=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js");Object.defineProperty(r,"mergeAll",{enumerable:!0,get:function(){return Ft.mergeAll}});var Wt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js");Object.defineProperty(r,"mergeMap",{enumerable:!0,get:function(){return Wt.mergeMap}});var zt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMapTo.js");Object.defineProperty(r,"mergeMapTo",{enumerable:!0,get:function(){return zt.mergeMapTo}});var Gt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeScan.js");Object.defineProperty(r,"mergeScan",{enumerable:!0,get:function(){return Gt.mergeScan}});var Ht=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeWith.js");Object.defineProperty(r,"mergeWith",{enumerable:!0,get:function(){return Ht.mergeWith}});var Vt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/min.js");Object.defineProperty(r,"min",{enumerable:!0,get:function(){return Vt.min}});var Kt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/observeOn.js");Object.defineProperty(r,"observeOn",{enumerable:!0,get:function(){return Kt.observeOn}});var Qt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/onErrorResumeNextWith.js");Object.defineProperty(r,"onErrorResumeNextWith",{enumerable:!0,get:function(){return Qt.onErrorResumeNextWith}});var Yt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/pairwise.js");Object.defineProperty(r,"pairwise",{enumerable:!0,get:function(){return Yt.pairwise}});var Xt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/raceWith.js");Object.defineProperty(r,"raceWith",{enumerable:!0,get:function(){return Xt.raceWith}});var Zt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js");Object.defineProperty(r,"reduce",{enumerable:!0,get:function(){return Zt.reduce}});var tr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/repeat.js");Object.defineProperty(r,"repeat",{enumerable:!0,get:function(){return tr.repeat}});var rr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/repeatWhen.js");Object.defineProperty(r,"repeatWhen",{enumerable:!0,get:function(){return rr.repeatWhen}});var er=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/retry.js");Object.defineProperty(r,"retry",{enumerable:!0,get:function(){return er.retry}});var sr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/retryWhen.js");Object.defineProperty(r,"retryWhen",{enumerable:!0,get:function(){return sr.retryWhen}});var nr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sample.js");Object.defineProperty(r,"sample",{enumerable:!0,get:function(){return nr.sample}});var or=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sampleTime.js");Object.defineProperty(r,"sampleTime",{enumerable:!0,get:function(){return or.sampleTime}});var ir=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/scan.js");Object.defineProperty(r,"scan",{enumerable:!0,get:function(){return ir.scan}});var ar=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sequenceEqual.js");Object.defineProperty(r,"sequenceEqual",{enumerable:!0,get:function(){return ar.sequenceEqual}});var ur=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/share.js");Object.defineProperty(r,"share",{enumerable:!0,get:function(){return ur.share}});var lr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/shareReplay.js");Object.defineProperty(r,"shareReplay",{enumerable:!0,get:function(){return lr.shareReplay}});var cr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/single.js");Object.defineProperty(r,"single",{enumerable:!0,get:function(){return cr.single}});var mr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skip.js");Object.defineProperty(r,"skip",{enumerable:!0,get:function(){return mr.skip}});var dr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipLast.js");Object.defineProperty(r,"skipLast",{enumerable:!0,get:function(){return dr.skipLast}});var pr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipUntil.js");Object.defineProperty(r,"skipUntil",{enumerable:!0,get:function(){return pr.skipUntil}});var fr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipWhile.js");Object.defineProperty(r,"skipWhile",{enumerable:!0,get:function(){return fr.skipWhile}});var hr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/startWith.js");Object.defineProperty(r,"startWith",{enumerable:!0,get:function(){return hr.startWith}});var _r=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/subscribeOn.js");Object.defineProperty(r,"subscribeOn",{enumerable:!0,get:function(){return _r.subscribeOn}});var gr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchAll.js");Object.defineProperty(r,"switchAll",{enumerable:!0,get:function(){return gr.switchAll}});var jr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js");Object.defineProperty(r,"switchMap",{enumerable:!0,get:function(){return jr.switchMap}});var br=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js");Object.defineProperty(r,"switchMapTo",{enumerable:!0,get:function(){return br.switchMapTo}});var yr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchScan.js");Object.defineProperty(r,"switchScan",{enumerable:!0,get:function(){return yr.switchScan}});var wr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/take.js");Object.defineProperty(r,"take",{enumerable:!0,get:function(){return wr.take}});var xr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeLast.js");Object.defineProperty(r,"takeLast",{enumerable:!0,get:function(){return xr.takeLast}});var Jr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeUntil.js");Object.defineProperty(r,"takeUntil",{enumerable:!0,get:function(){return Jr.takeUntil}});var Sr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeWhile.js");Object.defineProperty(r,"takeWhile",{enumerable:!0,get:function(){return Sr.takeWhile}});var vr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/tap.js");Object.defineProperty(r,"tap",{enumerable:!0,get:function(){return vr.tap}});var Br=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throttle.js");Object.defineProperty(r,"throttle",{enumerable:!0,get:function(){return Br.throttle}});var qr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throttleTime.js");Object.defineProperty(r,"throttleTime",{enumerable:!0,get:function(){return qr.throttleTime}});var Pr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throwIfEmpty.js");Object.defineProperty(r,"throwIfEmpty",{enumerable:!0,get:function(){return Pr.throwIfEmpty}});var Or=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeInterval.js");Object.defineProperty(r,"timeInterval",{enumerable:!0,get:function(){return Or.timeInterval}});var Ir=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeout.js");Object.defineProperty(r,"timeout",{enumerable:!0,get:function(){return Ir.timeout}});var Er=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeoutWith.js");Object.defineProperty(r,"timeoutWith",{enumerable:!0,get:function(){return Er.timeoutWith}});var Ar=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timestamp.js");Object.defineProperty(r,"timestamp",{enumerable:!0,get:function(){return Ar.timestamp}});var kr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/toArray.js");Object.defineProperty(r,"toArray",{enumerable:!0,get:function(){return kr.toArray}});var $r=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/window.js");Object.defineProperty(r,"window",{enumerable:!0,get:function(){return $r.window}});var Tr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowCount.js");Object.defineProperty(r,"windowCount",{enumerable:!0,get:function(){return Tr.windowCount}});var Cr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowTime.js");Object.defineProperty(r,"windowTime",{enumerable:!0,get:function(){return Cr.windowTime}});var Rr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowToggle.js");Object.defineProperty(r,"windowToggle",{enumerable:!0,get:function(){return Rr.windowToggle}});var Mr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowWhen.js");Object.defineProperty(r,"windowWhen",{enumerable:!0,get:function(){return Mr.windowWhen}});var Ur=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js");Object.defineProperty(r,"withLatestFrom",{enumerable:!0,get:function(){return Ur.withLatestFrom}});var Nr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/zipAll.js");Object.defineProperty(r,"zipAll",{enumerable:!0,get:function(){return Nr.zipAll}});var Lr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/zipWith.js");Object.defineProperty(r,"zipWith",{enumerable:!0,get:function(){return Lr.zipWith}})},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/AsyncSubject.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncSubject=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");class n extends s.Subject{_value=null;_hasValue=!1;_isComplete=!1;_checkFinalizedStatuses(t){const{hasError:r,_hasValue:e,_value:s,thrownError:n,_closed:o,_isComplete:i}=this;r?t.error(n):(o||i)&&(e&&t.next(s),t.complete())}next(t){this._closed||(this._value=t,this._hasValue=!0)}complete(){const{_hasValue:t,_value:r,_isComplete:e}=this;e||(this._isComplete=!0,t&&super.next(r),super.complete())}}r.AsyncSubject=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/BehaviorSubject.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.BehaviorSubject=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");class n extends s.Subject{_value;constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const r=super._subscribe(t);return!r.closed&&t.next(this._value),r}getValue(){const{hasError:t,thrownError:r,_value:e}=this;if(t)throw r;return e}next(t){super.next(this._value=t)}}r.BehaviorSubject=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Notification.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.observeNotification=void 0,r.observeNotification=function(t,r){const{kind:e,value:s,error:n}=t;if("string"!=typeof e)throw new TypeError('Invalid notification, missing "kind"');"N"===e?r.next?.(s):"E"===e?r.error?.(n):r.complete?.()}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createNotification=r.nextNotification=r.errorNotification=r.COMPLETE_NOTIFICATION=r.isObservable=r.isArrayLike=r.isPromise=r.readableStreamLikeToAsyncGenerator=r.isFunction=r.getObservableInputType=r.ObservableInputType=r.subscribeToArray=r.fromPromise=r.fromArrayLike=r.from=r.reportUnhandledError=r.Observable=r.operate=r.config=r.Subscriber=r.Subscription=r.UnsubscriptionError=void 0;class e extends Error{errors;constructor(t){super(t?`${t.length} errors occurred during unsubscription:\n${t.map(((t,r)=>`${r+1}) ${t.toString()}`)).join("\n ")}`:""),this.errors=t,this.name="UnsubscriptionError"}}r.UnsubscriptionError=e;class s{initialTeardown;static EMPTY=(()=>{const t=new s;return t.closed=!0,t})();closed=!1;_finalizers=null;constructor(t){this.initialTeardown=t}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{initialTeardown:r}=this;if(y(r))try{r()}catch(r){t=r instanceof e?r.errors:[r]}const{_finalizers:s}=this;if(s){this._finalizers=null;for(const r of s)try{n(r)}catch(r){t=t??[],r instanceof e?t.push(...r.errors):t.push(r)}}if(t)throw new e(t)}}add(t){t&&t!==this&&(this.closed?n(t):(t&&"add"in t&&t.add((()=>{this.remove(t)})),this._finalizers??=new Set,this._finalizers.add(t)))}remove(t){this._finalizers?.delete(t)}}function n(t){y(t)?t():t.unsubscribe()}r.Subscription=s,"symbol"==typeof Symbol.dispose&&(s.prototype[Symbol.dispose]=s.prototype.unsubscribe);class o extends s{isStopped=!1;destination;_nextOverride=null;_errorOverride=null;_completeOverride=null;_onFinalize=null;constructor(t,r){var e,s;super(),this.destination=t instanceof o?t:new l(!(e=t)||y(e)?{next:e??void 0}:e),this._nextOverride=r?.next??null,this._errorOverride=r?.error??null,this._completeOverride=r?.complete??null,this._onFinalize=r?.finalize??null,this._next=this._nextOverride?i:this._next,this._error=this._errorOverride?a:this._error,this._complete=this._completeOverride?u:this._complete,(s=t)&&y(s.unsubscribe)&&y(s.add)&&t.add(this)}next(t){this.isStopped?c(v(t),this):this._next(t)}error(t){this.isStopped?c(S(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?c(r.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this._onFinalize?.())}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}function i(t){try{this._nextOverride(t)}catch(t){this.destination.error(t)}}function a(t){try{this._errorOverride(t)}catch(t){this.destination.error(t)}finally{this.unsubscribe()}}function u(){try{this._completeOverride()}catch(t){this.destination.error(t)}finally{this.unsubscribe()}}r.Subscriber=o,r.config={onUnhandledError:null,onStoppedNotification:null};class l{partialObserver;constructor(t){this.partialObserver=t}next(t){const{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(t){p(t)}}error(t){const{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(t){p(t)}else p(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(t){p(t)}}}function c(t,e){const{onStoppedNotification:s}=r.config;s&&setTimeout((()=>s(t,e)))}r.operate=function({destination:t,...r}){return new o(t,r)};class m{constructor(t){t&&(this._subscribe=t)}subscribe(t){const r=t instanceof o?t:new o(t);return r.add(this._trySubscribe(r)),r}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t){return new Promise(((r,e)=>{const s=new o({next:r=>{try{t(r)}catch(t){e(t),s.unsubscribe()}},error:e,complete:r});this.subscribe(s)}))}_subscribe(t){}[Symbol.observable??"@@observable"](){return this}pipe(...t){return t.reduce(d,this)}[Symbol.asyncIterator](){let t,r,e=!1,s=!1;const n=[],o=[],i=t=>{for(e=!0,r=t;o.length;){const[r,e]=o.shift();e(t)}},a=()=>{for(s=!0;o.length;){const[t]=o.shift();t({value:void 0,done:!0})}};return{next:()=>(t||(t=this.subscribe({next:t=>{if(o.length){const[r]=o.shift();r({value:t,done:!1})}else n.push(t)},error:i,complete:a})),n.length?Promise.resolve({value:n.shift(),done:!1}):s?Promise.resolve({value:void 0,done:!0}):e?Promise.reject(r):new Promise(((t,r)=>{o.push([t,r])}))),throw:r=>(t?.unsubscribe(),i(r),Promise.reject(r)),return:()=>(t?.unsubscribe(),a(),Promise.resolve({value:void 0,done:!0})),[Symbol.asyncIterator](){return this}}}}function d(t,r){return r(t)}function p(t){setTimeout((()=>{const{onUnhandledError:e}=r.config;if(!e)throw t;e(t)}))}function f(t){return new m((r=>{g(t,r)}))}function h(t){return new m((r=>{t.then((t=>{r.closed||(r.next(t),r.complete())}),(t=>r.error(t))).then(null,p)}))}function _(t){return new m((r=>{(async function(t,r){for await(const e of t)if(r.next(e),r.closed)return;r.complete()})(t,r).catch((t=>r.error(t)))}))}function g(t,r){const e=t.length;for(let s=0;s<e;s++){if(r.closed)return;r.next(t[s])}r.complete()}var j;function b(t){if(t instanceof m)return j.Own;if(function(t){return y(t[Symbol.observable??"@@observable"])}(t))return j.InteropObservable;if(J(t))return j.ArrayLike;if(x(t))return j.Promise;if(r=t,Symbol.asyncIterator&&y(r?.[Symbol.asyncIterator]))return j.AsyncIterable;var r;if(function(t){return y(t?.[Symbol.iterator])}(t))return j.Iterable;if(function(t){return y(t?.getReader)}(t))return j.ReadableStreamLike;throw new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function y(t){return"function"==typeof t}async function*w(t){const r=t.getReader();try{for(;;){const{value:t,done:e}=await r.read();if(e)return;yield t}}finally{r.releaseLock()}}function x(t){return y(t?.then)}function J(t){return t&&"number"==typeof t.length&&!y(t)}function S(t){return B("E",void 0,t)}function v(t){return B("N",t,void 0)}function B(t,r,e){return{kind:t,value:r,error:e}}r.Observable=m,r.reportUnhandledError=p,r.from=function(t){switch(b(t)){case j.Own:return t;case j.InteropObservable:return e=t,new m((t=>{const r=e[Symbol.observable??"@@observable"]();if(y(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));case j.ArrayLike:return f(t);case j.Promise:return h(t);case j.AsyncIterable:return _(t);case j.Iterable:return r=t,new m((t=>{for(const e of r)if(t.next(e),t.closed)return;t.complete()}));case j.ReadableStreamLike:return _(w(t))}var r,e},r.fromArrayLike=f,r.fromPromise=h,r.subscribeToArray=g,function(t){t[t.Own=0]="Own",t[t.InteropObservable=1]="InteropObservable",t[t.ArrayLike=2]="ArrayLike",t[t.Promise=3]="Promise",t[t.AsyncIterable=4]="AsyncIterable",t[t.Iterable=5]="Iterable",t[t.ReadableStreamLike=6]="ReadableStreamLike"}(j=r.ObservableInputType||(r.ObservableInputType={})),r.getObservableInputType=b,r.isFunction=y,r.readableStreamLikeToAsyncGenerator=w,r.isPromise=x,r.isArrayLike=J,r.isObservable=function(t){return!!t&&(t instanceof m||y(t.lift)&&y(t.subscribe))},r.COMPLETE_NOTIFICATION=B("C",void 0,void 0),r.errorNotification=S,r.nextNotification=v,r.createNotification=B},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/ReplaySubject.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.ReplaySubject=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/dateTimestampProvider.js");class o extends s.Subject{_bufferSize;_windowTime;_timestampProvider;_buffer=[];_infiniteTimeWindow=!0;constructor(t=1/0,r=1/0,e=n.dateTimestampProvider){super(),this._bufferSize=t,this._windowTime=r,this._timestampProvider=e,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,r)}next(t){const{_closed:r,_buffer:e,_infiniteTimeWindow:s,_timestampProvider:n,_windowTime:o}=this;r||(e.push(t),!s&&e.push(n.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._trimBuffer();const r=this._innerSubscribe(t),{_infiniteTimeWindow:e,_buffer:s}=this,n=s.slice();for(let r=0;r<n.length&&!t.closed;r+=e?1:2)t.next(n[r]);return this._checkFinalizedStatuses(t),r}_trimBuffer(){const{_bufferSize:t,_timestampProvider:r,_buffer:e,_infiniteTimeWindow:s}=this,n=(s?1:2)*t;if(t<1/0&&n<e.length&&e.splice(0,e.length-n),!s){const t=r.now();let s=0;for(let r=1;r<e.length&&e[r]<=t;r+=2)s=r;s&&e.splice(0,s+1)}}}r.ReplaySubject=o},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Scheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.Scheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/dateTimestampProvider.js");class n{schedulerActionCtor;static now=s.dateTimestampProvider.now;constructor(t,r=n.now){this.schedulerActionCtor=t,this.now=r}now;schedule(t,r=0,e){return new this.schedulerActionCtor(this,t).schedule(e,r)}}r.Scheduler=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.Subject=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");class n extends s.Observable{_closed=!1;get closed(){return this._closed}_observerCounter=0;currentObservers=new Map;observerSnapshot;get observers(){return this.observerSnapshot??=Array.from(this.currentObservers.values())}hasError=!1;thrownError=null;constructor(){super()}_clearObservers(){this.currentObservers.clear(),this.observerSnapshot=void 0}next(t){if(!this._closed){const{observers:r}=this,e=r.length;for(let s=0;s<e;s++)r[s].next(t)}}error(t){if(!this._closed){this.hasError=this._closed=!0,this.thrownError=t;const{observers:r}=this,e=r.length;for(let s=0;s<e;s++)r[s].error(t);this._clearObservers()}}complete(){if(!this._closed){this._closed=!0;const{observers:t}=this,r=t.length;for(let e=0;e<r;e++)t[e].complete();this._clearObservers()}}unsubscribe(){this._closed=!0,this._clearObservers()}get observed(){return this.currentObservers.size>0}_subscribe(t){return this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){if(this.hasError||this._closed)return s.Subscription.EMPTY;const{currentObservers:r}=this,e=this._observerCounter++;return r.set(e,t),this.observerSnapshot=void 0,t.add((()=>{r.delete(e),this.observerSnapshot=void 0})),t}_checkFinalizedStatuses(t){const{hasError:r,thrownError:e,_closed:s}=this;r?t.error(e):s&&t.complete()}asObservable(){return new s.Observable((t=>this.subscribe(t)))}}r.Subject=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/firstValueFrom.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.firstValueFrom=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");r.firstValueFrom=function(t,r){const e="object"==typeof r;return new Promise(((o,i)=>{const a=new s.Subscriber({next:t=>{o(t),a.unsubscribe()},error:i,complete:()=>{e?o(r.defaultValue):i(new n.EmptyError)}});t.subscribe(a)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/lastValueFrom.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.lastValueFrom=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");r.lastValueFrom=function(t,r){const e="object"==typeof r;return new Promise(((n,o)=>{let i,a=!1;t.subscribe({next:t=>{i=t,a=!0},error:o,complete:()=>{a?n(i):e?n(r.defaultValue):o(new s.EmptyError)}})}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindCallback.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bindCallback=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindCallbackInternals.js");r.bindCallback=function(t,r,e){return(0,s.bindCallbackInternals)(!1,t,r,e)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindCallbackInternals.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bindCallbackInternals=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isScheduler.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/AsyncSubject.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js");r.bindCallbackInternals=function t(r,e,u,l){if(u){if(!(0,s.isScheduler)(u))return function(...s){return(0,o.mapOneOrManyArgs)(u)(t(r,e,l).apply(this,s))};l=u}return l?function(...s){return(0,a.scheduled)(t(r,e).apply(this,s),l)}:function(...t){const s=new i.AsyncSubject;let o=!0;return new n.Observable((n=>{const i=s.subscribe(n);if(o){o=!1;let n=!1,i=!1;e.apply(this,[...t,(...t)=>{if(r){const r=t.shift();if(null!=r)return void s.error(r)}s.next(1<t.length?t:t[0]),i=!0,n&&s.complete()}]),i&&s.complete(),n=!0}return i}))}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindNodeCallback.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bindNodeCallback=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindCallbackInternals.js");r.bindNodeCallback=function(t,r,e){return(0,s.bindCallbackInternals)(!0,t,r,e)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestInit=r.combineLatest=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsArgArrayOrObject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/createObject.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js");function u(t,r=o.identity){return e=>{const{length:n}=t,o=new Array(n);let i=n,a=n;for(let u=0;u<n;u++){const n=(0,s.from)(t[u]);let l=!1;n.subscribe((0,s.operate)({destination:e,next:t=>{o[u]=t,l||(l=!0,a--),a||e.next(r(Array.from(o)))},complete:()=>{--i||e.complete()}}))}}}r.combineLatest=function(t,r){const e=(0,n.arrayOrObject)(t);if(!e)throw new TypeError("sources must be an array or object");const{args:l,keys:c}=e;return 0===l.length?a.EMPTY:new s.Observable(u(l,c?t=>(0,i.createObject)(c,t):r?t=>r(...t):o.identity))},r.combineLatestInit=u},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/concat.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.concat=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatAll.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js");r.concat=function(...t){const r=(0,o.popScheduler)(t);return(0,n.concatAll)()(r?(0,i.scheduled)(t,r):(0,s.from)(t))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/connectable.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.connectable=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/defer.js"),i={connector:()=>new s.Subject,resetOnDisconnect:!0};r.connectable=function(t,r=i){let e=null;const{connector:s,resetOnDisconnect:a=!0}=r;let u=s();const l=new n.Observable((t=>u.subscribe(t)));return l.connect=()=>(e&&!e.closed||(e=(0,o.defer)((()=>t)).subscribe(u),a&&e.add((()=>u=s()))),e),l}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/defer.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.defer=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.defer=function(t){return new s.Observable((r=>{(0,s.from)(t()).subscribe(r)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/dom/animationFrames.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrames=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/performanceTimestampProvider.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/animationFrameProvider.js");function i(t){return new s.Observable((r=>{const e=t||n.performanceTimestampProvider,s=e.now();let i=0;const a=()=>{r.closed||(i=o.animationFrameProvider.requestAnimationFrame((n=>{i=0;const o=e.now();r.next({timestamp:t?o:n,elapsed:o-s}),a()})))};return a(),()=>{i&&o.animationFrameProvider.cancelAnimationFrame(i)}}))}r.animationFrames=function(t){return t?i(t):a};const a=i()},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.EMPTY=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.EMPTY=new s.Observable((t=>t.complete()))},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/forkJoin.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.forkJoin=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsArgArrayOrObject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/createObject.js"),u=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");r.forkJoin=function(...t){const r=(0,o.popResultSelector)(t),{args:e,keys:l}=(0,n.argsArgArrayOrObject)(t),c=new s.Observable((t=>{const{length:r}=e;if(!r)return void t.complete();const n=new Array(r);let o=r,i=r;for(let c=0;c<r;c++){let r=!1;(0,s.from)(e[c]).subscribe((0,s.operate)({destination:t,next:t=>{r||(r=!0,i--),n[c]=t},complete:()=>o--,finalize:()=>{o&&r||(0===i?(t.next(l?(0,a.createObject)(l,n):n),t.complete()):t.error(new u.EmptyError))}}))}}));return r?(0,i.mapOneOrManyArgs)(r)(c):c}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromEvent.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.fromEvent=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"),o=["addListener","removeListener"],i=["addEventListener","removeEventListener"],a=["on","off"];function u(t,r,e,s,n){const[u,d]=m(p=e)?i:l(p)?o:c(p)?a:[];var p;if(!u||!d)throw new TypeError("Invalid event target");e[u](s,t,n),r.add((()=>e[d](s,t,n)))}function l(t){return(0,s.isFunction)(t.addListener)&&(0,s.isFunction)(t.removeListener)}function c(t){return(0,s.isFunction)(t.on)&&(0,s.isFunction)(t.off)}function m(t){return(0,s.isFunction)(t.addEventListener)&&(0,s.isFunction)(t.removeEventListener)}r.fromEvent=function t(r,e,o,i){if((0,s.isFunction)(o)&&(i=o,o=void 0),i)return(0,n.mapOneOrManyArgs)(i)(t(r,e,o));const a=l(r)||c(r)||m(r);if(!a&&!(0,s.isArrayLike)(r))throw new TypeError("Invalid event target");return new s.Observable((t=>{const s=(...r)=>t.next(1<r.length?r:r[0]);if(a)u(s,t,r,e,o);else for(let n=0;n<r.length&&!t.closed;n++){const i=r[n];u(s,t,i,e,o)}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromEventPattern.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.fromEventPattern=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js");r.fromEventPattern=function t(r,e,o){return o?(0,n.mapOneOrManyArgs)(o)(t(r,e)):new s.Observable((t=>{const n=(...r)=>t.next(1===r.length?r[0]:r),o=r(n);return(0,s.isFunction)(e)?()=>e(n,o):void 0}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromSubscribable.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.fromSubscribable=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.fromSubscribable=function(t){return new s.Observable((r=>t.subscribe(r)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/generate.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.generate=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isScheduler.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/defer.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleIterable.js");r.generate=function(t,r,e,a,u){let l,c;function*m(){for(let t=c;!r||r(t);t=e(t))yield l(t)}return 1===arguments.length?({initialState:c,condition:r,iterate:e,resultSelector:l=s.identity,scheduler:u}=t):(c=t,!a||(0,n.isScheduler)(a)?(l=s.identity,u=a):l=a),(0,o.defer)(u?()=>(0,i.scheduleIterable)(m(),u):m)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/iif.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.iif=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/defer.js");r.iif=function(t,r,e){return(0,s.defer)((()=>t()?r:e))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/interval.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.interval=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.interval=function(t=0,r=s.asyncScheduler){return t<0&&(t=0),(0,n.timer)(t,t,r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/merge.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.merge=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js");r.merge=function(...t){const r=(0,i.popScheduler)(t),e=(0,i.popNumber)(t,1/0),u=t;return u.length?1===u.length?(0,s.from)(u[0]):(0,n.mergeAll)(e)(r?(0,a.scheduled)(u,r):(0,s.from)(u)):o.EMPTY}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/never.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.NEVER=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.NEVER=new s.Observable(n.noop)},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/of.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.of=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.of=function(...t){return(0,s.fromArrayLike)(t)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/onErrorResumeNext.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.onErrorResumeNext=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.onErrorResumeNext=function(...t){const r=(0,n.argsOrArgArray)(t);return new s.Observable((t=>{let e=0;const n=()=>{if(e<r.length){let i;try{i=(0,s.from)(r[e++])}catch(t){return void n()}const a=(0,s.operate)({destination:t,error:o.noop,complete:o.noop});i.subscribe(a),a.add(n)}else t.complete()};n()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/partition.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.partition=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/not.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/filter.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.partition=function(t,r,e){return[(0,n.filter)(r,e)((0,o.from)(t)),(0,n.filter)((0,s.not)(r,e))((0,o.from)(t))]}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/race.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.raceInit=r.race=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js");function o(t){return r=>{let e=[];for(let n=0;e&&!r.closed&&n<t.length;n++)e.push((0,s.from)(t[n]).subscribe((0,s.operate)({destination:r,next:t=>{if(e){for(let t=0;t<e.length;t++)t!==n&&e[t].unsubscribe();e=null}r.next(t)}})))}}r.race=function(...t){return 1===(t=(0,n.argsOrArgArray)(t)).length?(0,s.from)(t[0]):new s.Observable(o(t))},r.raceInit=o},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/range.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.range=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.range=function(t,r,e){if(null==r&&(r=t,t=0),r<=0)return n.EMPTY;const i=r+t;return new s.Observable(e?r=>{let s=t;const n=()=>{s<i?(r.next(s++),r.closed||(0,o.executeSchedule)(r,e,n)):r.complete()};(0,o.executeSchedule)(r,e,n)}:r=>{let e=t;for(;e<i&&!r.closed;)r.next(e++);r.complete()})}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/throwError.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.throwError=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.throwError=function(t){return new s.Observable((r=>{r.error(t())}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.timer=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isScheduler.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isDate.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.timer=function(t=0,r,e=n.asyncScheduler){let u=-1;return null!=r&&((0,o.isScheduler)(r)?e=r:u=r),new s.Observable((r=>{let s=(0,i.isValidDate)(t)?+t-e.now():t;s<0&&(s=0);let n=0;return(0,a.executeSchedule)(r,e,(()=>{r.next(n++),0<=u?(0,a.executeSchedule)(r,e,(()=>{r.next(n++)}),u,!0):r.complete()}),s)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/using.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.using=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js");r.using=function(t,r){return new s.Observable((e=>{const o=t(),i=r(o);return(i?(0,s.from)(i):n.EMPTY).subscribe(e),()=>{o&&o.unsubscribe()}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/zip.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.zip=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js");r.zip=function(...t){const r=(0,i.popResultSelector)(t),e=(0,n.argsOrArgArray)(t);return e.length?new s.Observable((t=>{let n=e.map((()=>[])),o=e.map((()=>!1));t.add((()=>{n=o=null}));for(let i=0;!t.closed&&i<e.length;i++)(0,s.from)(e[i]).subscribe((0,s.operate)({destination:t,next:e=>{if(n[i].push(e),n.every((t=>t.length))){const e=n.map((t=>t.shift()));t.next(r?r(...e):e),n.some(((t,r)=>!t.length&&o[r]))&&t.complete()}},complete:()=>{o[i]=!0,!n[i].length&&t.complete()}}));return()=>{n=o=null}})):o.EMPTY}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/audit.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.audit=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.audit=function(t){return r=>new s.Observable((e=>{let n=!1,o=null,i=null,a=!1;const u=()=>{if(i?.unsubscribe(),i=null,n){n=!1;const t=o;o=null,e.next(t)}a&&e.complete()},l=()=>{i=null,a&&e.complete()};r.subscribe((0,s.operate)({destination:e,next:r=>{n=!0,o=r,i||(0,s.from)(t(r)).subscribe(i=(0,s.operate)({destination:e,next:u,complete:l}))},complete:()=>{a=!0,(!n||!i||i.closed)&&e.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/auditTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.auditTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/audit.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.auditTime=function(t,r=s.asyncScheduler){return(0,n.audit)((()=>(0,o.timer)(t,r)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/buffer.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.buffer=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.buffer=function(t){return r=>new s.Observable((e=>{let o=[];return(0,s.from)(t).subscribe((0,s.operate)({destination:e,next:()=>{const t=o;o=[],e.next(t)},complete:n.noop})),r.subscribe((0,s.operate)({destination:e,next:t=>o.push(t),complete:()=>{e.next(o),e.complete()}})),()=>{o=null}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferCount.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bufferCount=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js");r.bufferCount=function(t,r=null){return r=r??t,e=>new s.Observable((o=>{let i=[],a=0;e.subscribe((0,s.operate)({destination:o,next:e=>{let s=null;a++%r==0&&i.push([]);for(const r of i)r.push(e),t<=r.length&&(s=s??[],s.push(r));if(s)for(const t of s)(0,n.arrRemove)(i,t),o.next(t)},complete:()=>{for(const t of i)o.next(t);o.complete()},finalize:()=>{i=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bufferTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.bufferTime=function(t,...r){const e=(0,i.popScheduler)(r)??o.asyncScheduler,u=r[0]??null,l=r[1]||1/0;return r=>new s.Observable((o=>{let i=[],c=!1;const m=t=>{const{buffer:r,subs:e}=t;e.unsubscribe(),(0,n.arrRemove)(i,t),o.next(r),c&&d()},d=()=>{if(i){const r=new s.Subscription;o.add(r);const n={buffer:[],subs:r};i.push(n),(0,a.executeSchedule)(r,e,(()=>m(n)),t)}};null!==u&&u>=0?(0,a.executeSchedule)(o,e,d,u,!0):c=!0,d();const p=(0,s.operate)({destination:o,next:t=>{const r=i.slice();for(const e of r){const{buffer:r}=e;r.push(t),l<=r.length&&m(e)}},complete:()=>{for(;i?.length;)o.next(i.shift().buffer);p?.unsubscribe(),o.complete(),o.unsubscribe()},finalize:()=>i=null});r.subscribe(p)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferToggle.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bufferToggle=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js");r.bufferToggle=function(t,r){return e=>new s.Observable((i=>{const a=[];(0,s.from)(t).subscribe((0,s.operate)({destination:i,next:t=>{const e=[];a.push(e);const u=new s.Subscription;u.add((0,s.from)(r(t)).subscribe((0,s.operate)({destination:i,next:()=>{(0,o.arrRemove)(a,e),i.next(e),u.unsubscribe()},complete:n.noop})))},complete:n.noop})),e.subscribe((0,s.operate)({destination:i,next:t=>{for(const r of a)r.push(t)},complete:()=>{for(;a.length>0;)i.next(a.shift());i.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferWhen.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bufferWhen=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.bufferWhen=function(t){return r=>new s.Observable((e=>{let o=null,i=null;const a=()=>{i?.unsubscribe();const r=o;o=[],r&&e.next(r),(0,s.from)(t()).subscribe(i=(0,s.operate)({destination:e,next:a,complete:n.noop}))};a(),r.subscribe((0,s.operate)({destination:e,next:t=>o?.push(t),complete:()=>{o&&e.next(o),e.complete()},finalize:()=>o=i=null}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/catchError.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.catchError=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.catchError=function t(r){return e=>new s.Observable((n=>{let o,i=null,a=!1;i=e.subscribe((0,s.operate)({destination:n,error:u=>{o=(0,s.from)(r(u,t(r)(e))),i?(i.unsubscribe(),i=null,o.subscribe(n)):a=!0}})),a&&(i.unsubscribe(),i=null,o.subscribe(n))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/combineLatestAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/joinAllInternals.js");r.combineLatestAll=function(t){return(0,n.joinAllInternals)(s.combineLatest,t)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/combineLatestWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.combineLatestWith=function(...t){return r=>new n.Observable((e=>(0,s.combineLatestInit)([r,...t])(e)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.concatAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js");r.concatAll=function(){return(0,s.mergeAll)(1)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatMap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.concatMap=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js");r.concatMap=function(t){return(0,s.mergeMap)(t,1)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatMapTo.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.concatMapTo=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatMap.js");r.concatMapTo=function(t){return(0,s.concatMap)((()=>t))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.concatWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatAll.js");r.concatWith=function(...t){return r=>new s.Observable((e=>{(0,n.concatAll)()((0,s.from)([r,...t])).subscribe(e)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/connect.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.connect=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromSubscribable.js"),i={connector:()=>new n.Subject};r.connect=function(t,r=i){const{connector:e}=r;return r=>new s.Observable((n=>{const i=e();(0,s.from)(t((0,o.fromSubscribable)(i))).subscribe(n),n.add(r.subscribe(i))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/count.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.count=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js");r.count=function(t){return(0,s.reduce)(((r,e,s)=>!t||t(e,s)?r+1:r),0)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/debounce.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.debounce=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.debounce=function(t){return r=>new s.Observable((e=>{let o=!1,i=null,a=null;const u=()=>{if(a?.unsubscribe(),a=null,o){o=!1;const t=i;i=null,e.next(t)}};r.subscribe((0,s.operate)({destination:e,next:r=>{a?.unsubscribe(),o=!0,i=r,a=(0,s.operate)({destination:e,next:u,complete:n.noop}),(0,s.from)(t(r)).subscribe(a)},complete:()=>{u(),e.complete()},finalize:()=>{i=a=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/debounceTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.debounceTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.debounceTime=function(t,r=s.asyncScheduler){return e=>new n.Observable((s=>{let i,a;e.subscribe((0,n.operate)({destination:s,next:e=>{i=e,a?.unsubscribe(),a=(0,o.executeSchedule)(s,r,(()=>{a=void 0;const t=i;i=null,s.next(t)}),t)},complete:()=>{a&&s.next(i),s.complete()},finalize:()=>{i=a=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/defaultIfEmpty.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.defaultIfEmpty=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.defaultIfEmpty=function(t){return r=>new s.Observable((e=>{let n=!1;r.subscribe((0,s.operate)({destination:e,next:t=>{n=!0,e.next(t)},complete:()=>{n||e.next(t),e.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/delay.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.delay=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/delayWhen.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.delay=function(t,r=s.asyncScheduler){const e=(0,o.timer)(t,r);return(0,n.delayWhen)((()=>e))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/delayWhen.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.delayWhen=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/concat.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/take.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/ignoreElements.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/rx.js"),u=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js");r.delayWhen=function t(r,e){return e?i=>(0,s.concat)((0,a.rx)(e,(0,n.take)(1),(0,o.ignoreElements)()),(0,a.rx)(i,t(r))):(0,i.mergeMap)(((t,e)=>(0,a.rx)(r(t,e),(0,n.take)(1),(0,u.map)((()=>t)))))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/dematerialize.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.dematerialize=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Notification.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.dematerialize=function(){return t=>new n.Observable((r=>{t.subscribe((0,n.operate)({destination:r,next:t=>(0,s.observeNotification)(t,r)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinct.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.distinct=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.distinct=function(t,r){return e=>new s.Observable((o=>{const i=new Set;e.subscribe((0,s.operate)({destination:o,next:r=>{const e=t?t(r):r;i.has(e)||(i.add(e),o.next(r))}})),r&&(0,s.from)(r).subscribe((0,s.operate)({destination:o,next:()=>i.clear(),complete:n.noop}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.distinctUntilChanged=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");function o(t,r){return t===r}r.distinctUntilChanged=function(t,r=s.identity){return t=t??o,e=>new n.Observable((s=>{let o,i=!0;e.subscribe((0,n.operate)({destination:s,next:e=>{const n=r(e);!i&&t(o,n)||(i=!1,o=n,s.next(e))}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilKeyChanged.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.distinctUntilKeyChanged=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js");r.distinctUntilKeyChanged=function(t,r){return(0,s.distinctUntilChanged)(((e,s)=>r?r(e[t],s[t]):e[t]===s[t]))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/elementAt.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.elementAt=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/ArgumentOutOfRangeError.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.elementAt=function(t,r){if(t<0)throw new s.ArgumentOutOfRangeError;const e=arguments.length>=2;return o=>new n.Observable((i=>{let a=0;const u=(0,n.operate)({destination:i,next:r=>{a++===t&&(u.unsubscribe(),i.next(r),i.complete())},complete:()=>{e?(i.next(r),i.complete()):i.error(new s.ArgumentOutOfRangeError)}});o.subscribe(u)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/endWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.endWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.endWith=function(...t){return r=>new s.Observable((e=>{r.subscribe((0,s.operate)({destination:e,complete:()=>{(0,s.subscribeToArray)(t,e)}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/every.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.every=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.every=function(t,r){return e=>new s.Observable((n=>{let o=0;e.subscribe((0,s.operate)({destination:n,next:s=>{t.call(r,s,o++,e)||(n.next(!1),n.complete())},complete:()=>{n.next(!0),n.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/exhaustAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.exhaustAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/exhaustMap.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");r.exhaustAll=function(){return(0,s.exhaustMap)(n.identity)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/exhaustMap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.exhaustMap=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.exhaustMap=function(t){return r=>new s.Observable((e=>{let n=0,o=null,i=!1;r.subscribe((0,s.operate)({destination:e,next:r=>{o||(o=(0,s.operate)({destination:e,complete:()=>{o=null,i&&e.complete()}}),(0,s.from)(t(r,n++)).subscribe(o))},complete:()=>{i=!0,!o&&e.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/expand.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.expand=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js");r.expand=function(t,r=1/0,e){return r=(r||0)<1?1/0:r,o=>new s.Observable((s=>(0,n.mergeInternals)(o,s,t,r,void 0,!0,e)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/filter.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.filter=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.filter=function(t,r){return e=>new s.Observable((n=>{let o=0;e.subscribe((0,s.operate)({destination:n,next:e=>t.call(r,e,o++)&&n.next(e)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/finalize.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.finalize=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.finalize=function(t){return r=>new s.Observable((e=>{r.subscribe(e),e.add(t)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/find.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.createFind=r.find=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");function n(t,r,e,n){const o="index"===r;let i=0;e.subscribe((0,s.operate)({destination:n,next:r=>{const s=i++;t(r,s,e)&&(n.next(o?s:r),n.complete())},complete:()=>{n.next(o?-1:void 0),n.complete()}}))}r.find=function(t){return r=>new s.Observable((e=>n(t,"value",r,e)))},r.createFind=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/findIndex.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.findIndex=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/find.js");r.findIndex=function(t){return r=>new s.Observable((e=>(0,n.createFind)(t,"index",r,e)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/first.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.first=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");r.first=function(t,r){const e=arguments.length>=2;return o=>new s.Observable((i=>{let a=0;const u=(0,s.operate)({destination:i,next:r=>{(!t||t(r,a++,o))&&(u.unsubscribe(),i.next(r),i.complete())},complete:()=>{e?(i.next(r),i.complete()):i.error(new n.EmptyError)}});o.subscribe(u)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/groupBy.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.groupBy=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");r.groupBy=function(t,r,e,o){return i=>new s.Observable((a=>{let u;r&&"function"!=typeof r?({duration:e,element:u,connector:o}=r):u=r;const l=new Map,c=t=>{l.forEach(t),t(a)},m=t=>c((r=>r.error(t))),d=(0,s.operate)({destination:a,next:r=>{try{const i=t(r);let c=l.get(i);if(!c){l.set(i,c=o?o():new n.Subject);const t=function(t,r){const e=new s.Observable((t=>r.subscribe(t)));return e.key=t,e}(i,c);if(a.next(t),e){const r=(0,s.operate)({destination:c,next:()=>{c.complete(),r?.unsubscribe()},finalize:()=>l.delete(i)});d.add((0,s.from)(e(t)).subscribe(r))}}c.next(u?u(r):r)}catch(t){m(t)}},error:m,complete:()=>c((t=>t.complete())),finalize:()=>l.clear()});i.subscribe(d)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/ignoreElements.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.ignoreElements=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.ignoreElements=function(){return t=>new s.Observable((r=>{t.subscribe((0,s.operate)({destination:r,next:n.noop}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/isEmpty.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.isEmpty=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.isEmpty=function(){return t=>new s.Observable((r=>{t.subscribe((0,s.operate)({destination:r,next:()=>{r.next(!1),r.complete()},complete:()=>{r.next(!0),r.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/joinAllInternals.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.joinAllInternals=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/pipe.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/toArray.js");r.joinAllInternals=function(t,r){return(0,o.pipe)((0,a.toArray)(),(0,i.mergeMap)((r=>t(r))),r?(0,n.mapOneOrManyArgs)(r):s.identity)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/last.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.last=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");r.last=function(t,r){const e=arguments.length>=2;return o=>new s.Observable((i=>{let a,u=0,l=!1;o.subscribe((0,s.operate)({destination:i,next(r){t&&!t(r,u++,o)||(l=!0,a=r)},complete(){l?(i.next(a),i.complete()):e?(i.next(r),i.complete()):i.error(new n.EmptyError)}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.map=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.map=function(t){return r=>new s.Observable((e=>{let n=0;r.subscribe((0,s.operate)({destination:e,next:r=>{e.next(t(r,n++))}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mapTo.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mapTo=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js");r.mapTo=function(t){return(0,s.map)((()=>t))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/materialize.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.materialize=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.materialize=function(){return t=>new s.Observable((r=>{t.subscribe((0,s.operate)({destination:r,next:t=>{r.next((0,s.nextNotification)(t))},error:t=>{r.next((0,s.errorNotification)(t)),r.complete()},complete:()=>{r.next(s.COMPLETE_NOTIFICATION),r.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/max.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.max=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.max=function(t){return(0,s.reduce)((0,n.isFunction)(t)?(r,e)=>t(r,e)>0?r:e:(t,r)=>t>r?t:r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");r.mergeAll=function(t=1/0){return(0,s.mergeMap)(n.identity,t)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeInternals=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.mergeInternals=function(t,r,e,o,i,a,u,l){const c=[];let m=0,d=0,p=!1;const f=()=>{!p||c.length||m||r.complete()},h=t=>m<o?_(t):c.push(t),_=t=>{a&&r.next(t),m++;let l=!1;(0,s.from)(e(t,d++)).subscribe((0,s.operate)({destination:r,next:t=>{i?.(t),a?h(t):r.next(t)},complete:()=>{l=!0},finalize:()=>{if(l)try{for(m--;c.length&&m<o;){const t=c.shift();u?(0,n.executeSchedule)(r,u,(()=>_(t))):_(t)}f()}catch(t){r.error(t)}}}))};return t.subscribe((0,s.operate)({destination:r,next:h,complete:()=>{p=!0,f()}})),()=>{l?.()}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMap=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js");r.mergeMap=function(t,r=1/0){return e=>new s.Observable((s=>(0,n.mergeInternals)(e,s,t,r)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMapTo.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMapTo=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js");r.mergeMapTo=function(t,r){return(0,s.mergeMap)((()=>t),r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeScan.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeScan=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js");r.mergeScan=function(t,r,e=1/0){return o=>new s.Observable((s=>{let i=r;return(0,n.mergeInternals)(o,s,((r,e)=>t(i,r,e)),e,(t=>{i=t}),!1,void 0,(()=>i=null))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js");r.mergeWith=function(...t){return r=>new s.Observable((e=>{(0,n.mergeAll)()((0,s.from)([r,...t])).subscribe(e)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/min.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.min=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.min=function(t){return(0,s.reduce)((0,n.isFunction)(t)?(r,e)=>t(r,e)<0?r:e:(t,r)=>t<r?t:r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/observeOn.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.observeOn=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.observeOn=function(t,r=0){return e=>new n.Observable((o=>{e.subscribe((0,n.operate)({destination:o,next:e=>(0,s.executeSchedule)(o,t,(()=>o.next(e)),r),error:e=>(0,s.executeSchedule)(o,t,(()=>o.error(e)),r),complete:()=>(0,s.executeSchedule)(o,t,(()=>o.complete()),r)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/onErrorResumeNextWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.onErrorResumeNextWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/onErrorResumeNext.js");r.onErrorResumeNextWith=function(...t){const r=(0,s.argsOrArgArray)(t);return t=>(0,n.onErrorResumeNext)(t,...r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/pairwise.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.pairwise=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.pairwise=function(){return t=>new s.Observable((r=>{let e,n=!1;t.subscribe((0,s.operate)({destination:r,next:t=>{const s=e;e=t,n&&r.next([s,t]),n=!0}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/raceWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.raceWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/race.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");r.raceWith=function(...t){return t.length?r=>new n.Observable((e=>{(0,s.raceInit)([r,...t])(e)})):o.identity}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.reduce=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/scanInternals.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.reduce=function(t,r){const e=arguments.length>=2;return o=>new n.Observable((n=>(0,s.scanInternals)(t,r,e,!1,!0,o,n)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/repeat.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.repeat=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.repeat=function(t){let r,e=1/0;return null!=t&&("object"==typeof t?({count:e=1/0,delay:r}=t):e=t),e<=0?()=>n.EMPTY:t=>new s.Observable((n=>{let i,a=0;const u=()=>{if(i?.unsubscribe(),i=null,null!=r){const t="number"==typeof r?(0,o.timer)(r):(0,s.from)(r(a)),e=(0,s.operate)({destination:n,next:()=>{e.unsubscribe(),l()}});t.subscribe(e)}else l()},l=()=>{let r=!1;i=t.subscribe((0,s.operate)({destination:n,complete:()=>{++a<e?i?u():r=!0:n.complete()}})),r&&u()};l()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/repeatWhen.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.repeatWhen=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");r.repeatWhen=function(t){return r=>new s.Observable((e=>{let o,i,a=!1,u=!1,l=!1;const c=()=>l&&u&&(e.complete(),!0),m=()=>{l=!1,o=r.subscribe((0,s.operate)({destination:e,complete:()=>{l=!0,!c()&&(i||(i=new n.Subject,(0,s.from)(t(i)).subscribe((0,s.operate)({destination:e,next:()=>{o?m():a=!0},complete:()=>{u=!0,c()}}))),i).next()}})),a&&(o.unsubscribe(),o=null,a=!1,m())};m()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/retry.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.retry=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.retry=function(t=1/0){let r;r=t&&"object"==typeof t?t:{count:t};const{count:e=1/0,delay:i,resetOnSuccess:a=!1}=r;return e<=0?n.identity:t=>new s.Observable((r=>{let n,u=0;const l=()=>{let c=!1;n=t.subscribe((0,s.operate)({destination:r,next:t=>{a&&(u=0),r.next(t)},error:t=>{if(u++<e){const e=()=>{n?(n.unsubscribe(),n=null,l()):c=!0};if(null!=i){const n="number"==typeof i?(0,o.timer)(i):(0,s.from)(i(t,u)),a=(0,s.operate)({destination:r,next:()=>{a.unsubscribe(),e()},complete:()=>{r.complete()}});n.subscribe(a)}else e()}else r.error(t)}})),c&&(n.unsubscribe(),n=null,l())};l()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/retryWhen.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.retryWhen=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");r.retryWhen=function(t){return r=>new s.Observable((e=>{let o,i,a=!1;const u=()=>{o=r.subscribe((0,s.operate)({destination:e,error:r=>{i||(i=new n.Subject,(0,s.from)(t(i)).subscribe((0,s.operate)({destination:e,next:()=>o?u():a=!0}))),i&&i.next(r)}})),a&&(o.unsubscribe(),o=null,a=!1,u())};u()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sample.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.sample=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.sample=function(t){return r=>new s.Observable((e=>{let o=!1,i=null;r.subscribe((0,s.operate)({destination:e,next:t=>{o=!0,i=t}})),(0,s.from)(t).subscribe((0,s.operate)({destination:e,next:()=>{if(o){o=!1;const t=i;i=null,e.next(t)}},complete:n.noop}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sampleTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.sampleTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sample.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/interval.js");r.sampleTime=function(t,r=s.asyncScheduler){return(0,n.sample)((0,o.interval)(t,r))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/scan.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scan=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/scanInternals.js");r.scan=function(t,r){const e=arguments.length>=2;return o=>new s.Observable((s=>(0,n.scanInternals)(t,r,e,!0,!1,o,s)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/scanInternals.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scanInternals=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.scanInternals=function(t,r,e,n,o,i,a){let u=e,l=r,c=0;i.subscribe((0,s.operate)({destination:a,next:r=>{const e=c++;l=u?t(l,r,e):(u=!0,r),n&&a.next(l)},complete:o?()=>{u&&a.next(l),a.complete()}:void 0}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sequenceEqual.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.sequenceEqual=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.sequenceEqual=function(t,r=(t,r)=>t===r){return e=>new s.Observable((n=>{const o={buffer:[],complete:!1},i={buffer:[],complete:!1},a=t=>{n.next(t),n.complete()},u=(t,e)=>{const o=(0,s.operate)({destination:n,next:s=>{const{buffer:n,complete:o}=e;0===n.length?o?a(!1):t.buffer.push(s):!r(s,n.shift())&&a(!1)},complete:()=>{t.complete=!0;const{complete:r,buffer:s}=e;r&&a(0===s.length),o?.unsubscribe()}});return o};e.subscribe(u(o,i)),(0,s.from)(t).subscribe(u(i,o))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/share.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.share=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");function o(t,r,...e){if(!0===r)return void t();if(!1===r)return;const n=new s.Subscriber({next:()=>{n.unsubscribe(),t()}});return(0,s.from)(r(...e)).subscribe(n)}r.share=function(t={}){const{connector:r=()=>new n.Subject,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:a=!0}=t;return t=>{let n,u,l,c=0,m=!1,d=!1;const p=()=>{u?.unsubscribe(),u=void 0},f=()=>{p(),n=l=void 0,m=d=!1},h=()=>{const t=n;f(),t?.unsubscribe()};return new s.Observable((_=>{c++,d||m||p();const g=l=l??r();_.add((()=>{c--,0!==c||d||m||(u=o(h,a))})),g.subscribe(_),!n&&c>0&&(n=new s.Subscriber({next:t=>g.next(t),error:t=>{d=!0,p(),u=o(f,e,t),g.error(t)},complete:()=>{m=!0,p(),u=o(f,i),g.complete()}}),(0,s.from)(t).subscribe(n))}))}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/shareReplay.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.shareReplay=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/ReplaySubject.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/share.js");r.shareReplay=function(t,r,e){let o,i=!1;return t&&"object"==typeof t?({bufferSize:o=1/0,windowTime:r=1/0,refCount:i=!1,scheduler:e}=t):o=t??1/0,(0,n.share)({connector:()=>new s.ReplaySubject(o,r,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/single.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.single=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/SequenceError.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/NotFoundError.js");r.single=function(t){return r=>new s.Observable((e=>{let a,u=!1,l=!1,c=0;r.subscribe((0,s.operate)({destination:e,next:s=>{l=!0,t&&!t(s,c++,r)||(u&&e.error(new o.SequenceError("Too many matching values")),u=!0,a=s)},complete:()=>{u?(e.next(a),e.complete()):e.error(l?new i.NotFoundError("No matching values"):new n.EmptyError)}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skip.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.skip=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/filter.js");r.skip=function(t){return(0,s.filter)(((r,e)=>t<=e))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipLast.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.skipLast=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.skipLast=function(t){return t<=0?s.identity:r=>new n.Observable((e=>{let s=new Array(t),o=0;return r.subscribe((0,n.operate)({destination:e,next:r=>{const n=o++;if(n<t)s[n]=r;else{const o=n%t,i=s[o];s[o]=r,e.next(i)}}})),()=>{s=null}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipUntil.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.skipUntil=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.skipUntil=function(t){return r=>new s.Observable((e=>{let o=!1;const i=(0,s.operate)({destination:e,next:()=>{i?.unsubscribe(),o=!0},complete:n.noop});(0,s.from)(t).subscribe(i),r.subscribe((0,s.operate)({destination:e,next:t=>o&&e.next(t)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipWhile.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.skipWhile=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.skipWhile=function(t){return r=>new s.Observable((e=>{let n=!1,o=0;r.subscribe((0,s.operate)({destination:e,next:r=>(n||(n=!t(r,o++)))&&e.next(r)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/startWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.startWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.startWith=function(...t){return r=>new s.Observable((e=>{(0,s.subscribeToArray)(t,(0,s.operate)({destination:e,complete:()=>r.subscribe(e)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/subscribeOn.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.subscribeOn=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.subscribeOn=function(t,r=0){return e=>new s.Observable((s=>{s.add(t.schedule((()=>e.subscribe(s)),r))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.switchAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");r.switchAll=function(){return(0,s.switchMap)(n.identity)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.switchMap=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.switchMap=function(t){return r=>new s.Observable((e=>{let n=null,o=0,i=!1;const a=()=>i&&!n&&e.complete();r.subscribe((0,s.operate)({destination:e,next:r=>{n?.unsubscribe();const i=o++;(0,s.from)(t(r,i)).subscribe(n=(0,s.operate)({destination:e,complete:()=>{n=null,a()}}))},complete:()=>{i=!0,a()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.switchMapTo=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js");r.switchMapTo=function(t){return(0,s.switchMap)((()=>t))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchScan.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.switchScan=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.switchScan=function(t,r){return e=>new n.Observable((o=>{let i=r;return(0,s.switchMap)(((r,e)=>t(i,r,e)))(e).subscribe((0,n.operate)({destination:o,next:t=>{i=t,o.next(t)}})),()=>{i=null}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/take.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.take=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.take=function(t){return t<=0?()=>s.EMPTY:r=>new n.Observable((e=>{let s=0;const o=(0,n.operate)({destination:e,next:r=>{++s<t?e.next(r):(o.unsubscribe(),e.next(r),e.complete())}});r.subscribe(o)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeLast.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.takeLast=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.takeLast=function(t){return t<=0?()=>s.EMPTY:r=>new n.Observable((e=>{let s=new Array(t),o=0;r.subscribe((0,n.operate)({destination:e,next:r=>{s[o++%t]=r},complete:()=>{const r=t<=o?o:0,n=Math.min(t,o);for(let o=0;o<n;o++)e.next(s[(r+o)%t]);e.complete()},finalize:()=>{s=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeUntil.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.takeUntil=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.takeUntil=function(t){return r=>new s.Observable((e=>{(0,s.from)(t).subscribe((0,s.operate)({destination:e,next:()=>e.complete(),complete:n.noop})),!e.closed&&r.subscribe(e)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeWhile.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.takeWhile=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.takeWhile=function(t,r=!1){return e=>new s.Observable((n=>{let o=0;const i=(0,s.operate)({destination:n,next:e=>{t(e,o++)?n.next(e):(i.unsubscribe(),r&&n.next(e),n.complete())}});e.subscribe(i)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/tap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.tap=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");r.tap=function(t){const r=(0,s.isFunction)(t)?{next:t}:t;return r?t=>new s.Observable((e=>{r.subscribe?.();let n=!0;t.subscribe((0,s.operate)({destination:e,next:t=>{r.next?.(t),e.next(t)},error:t=>{n=!1,r.error?.(t),e.error(t)},complete:()=>{n=!1,r.complete?.(),e.complete()},finalize:()=>{n&&r.unsubscribe?.(),r.finalize?.()}}))})):n.identity}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throttle.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.throttle=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.throttle=function(t,r){return e=>new s.Observable((n=>{const{leading:o=!0,trailing:i=!1}=r??{};let a=!1,u=null,l=null,c=!1;const m=()=>{l?.unsubscribe(),l=null,i&&(f(),c&&n.complete())},d=()=>{l=null,c&&n.complete()},p=r=>l=(0,s.from)(t(r)).subscribe((0,s.operate)({destination:n,next:m,complete:d})),f=()=>{if(a){a=!1;const t=u;u=null,n.next(t),!c&&p(t)}};e.subscribe((0,s.operate)({destination:n,next:t=>{a=!0,u=t,(!l||l.closed)&&(o?f():p(t))},complete:()=>{c=!0,(!(i&&a&&l)||l.closed)&&n.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throttleTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.throttleTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throttle.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.throttleTime=function(t,r=s.asyncScheduler,e){const i=(0,o.timer)(t,r);return(0,n.throttle)((()=>i),e)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throwIfEmpty.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.throwIfEmpty=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");function o(){return new s.EmptyError}r.throwIfEmpty=function(t=o){return r=>new n.Observable((e=>{let s=!1;r.subscribe((0,n.operate)({destination:e,next:t=>{s=!0,e.next(t)},complete:()=>s?e.complete():e.error(t())}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeInterval.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.TimeInterval=r.timeInterval=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.timeInterval=function(t=s.asyncScheduler){return r=>new n.Observable((e=>{let s=t.now();r.subscribe((0,n.operate)({destination:e,next:r=>{const n=t.now(),i=n-s;s=n,e.next(new o(r,i))}}))}))};class o{value;interval;constructor(t,r){this.value=t,this.interval=r}}r.TimeInterval=o},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeout.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.timeout=r.TimeoutError=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isDate.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");class a extends Error{info;constructor(t=null){super("Timeout has occurred"),this.info=t,this.name="TimeoutError"}}function u(t){throw new a(t)}r.TimeoutError=a,r.timeout=function(t,r){const{first:e,each:a,with:l=u,scheduler:c=r??s.asyncScheduler,meta:m=null}=(0,n.isValidDate)(t)?{first:t}:"number"==typeof t?{each:t}:t;if(null==e&&null==a)throw new TypeError("No timeout provided.");return t=>new o.Observable((r=>{let s,n,u=null,d=0;const p=t=>{n=(0,i.executeSchedule)(r,c,(()=>{try{s.unsubscribe(),(0,o.from)(l({meta:m,lastValue:u,seen:d})).subscribe(r)}catch(t){r.error(t)}}),t)};s=t.subscribe((0,o.operate)({destination:r,next:t=>{n?.unsubscribe(),d++,r.next(u=t),a>0&&p(a)},finalize:()=>{n?.unsubscribe(),u=null}})),!d&&p(null!=e?"number"==typeof e?e:+e-c.now():a)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeoutWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.timeoutWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isDate.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeout.js");r.timeoutWith=function(t,r,e){let i,a,u;if(e=e??s.asyncScheduler,(0,n.isValidDate)(t)?i=t:"number"==typeof t&&(a=t),!r)throw new TypeError("No observable provided to switch to");if(u=()=>r,null==i&&null==a)throw new TypeError("No timeout provided.");return(0,o.timeout)({first:i,each:a,scheduler:e,with:u})}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timestamp.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.timestamp=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/dateTimestampProvider.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js");r.timestamp=function(t=s.dateTimestampProvider){return(0,n.map)((r=>({value:r,timestamp:t.now()})))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/toArray.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.toArray=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=(t,r)=>(t.push(r),t);r.toArray=function(){return t=>new n.Observable((r=>{(0,s.reduce)(o,[])(t).subscribe(r)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/window.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.window=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.window=function(t){return r=>new s.Observable((e=>{let i=new n.Subject;e.next(i.asObservable());const a=t=>{i.error(t),e.error(t)};return r.subscribe((0,s.operate)({destination:e,next:t=>i?.next(t),complete:()=>{i.complete(),e.complete()},error:a})),(0,s.from)(t).subscribe((0,s.operate)({destination:e,next:()=>{i.complete(),e.next(i=new n.Subject)},complete:o.noop,error:a})),()=>{i?.unsubscribe(),i=null}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowCount.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.windowCount=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");r.windowCount=function(t,r=0){const e=r>0?r:t;return r=>new s.Observable((o=>{let i=[new n.Subject],a=[],u=0;o.next(i[0].asObservable()),r.subscribe((0,s.operate)({destination:o,next:r=>{for(const t of i)t.next(r);const s=u-t+1;if(s>=0&&s%e==0&&i.shift().complete(),++u%e==0){const t=new n.Subject;i.push(t),o.next(t.asObservable())}},error:t=>{for(;i.length>0;)i.shift().error(t);o.error(t)},complete:()=>{for(;i.length>0;)i.shift().complete();o.complete()},finalize:()=>{a=null,i=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.windowTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"),u=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.windowTime=function(t,...r){const e=(0,a.popScheduler)(r)??n.asyncScheduler,l=r[0]??null,c=r[1]||1/0;return r=>new o.Observable((n=>{let a=[],m=!1;const d=t=>{const{window:r,subs:e}=t;r.complete(),e.unsubscribe(),(0,i.arrRemove)(a,t),m&&p()},p=()=>{if(a){const r=new o.Subscription;n.add(r);const i=new s.Subject,l={window:i,subs:r,seen:0};a.push(l),n.next(i.asObservable()),(0,u.executeSchedule)(r,e,(()=>d(l)),t)}};null!==l&&l>=0?(0,u.executeSchedule)(n,e,p,l,!0):m=!0,p();const f=t=>a.slice().forEach(t),h=t=>{f((({window:r})=>t(r))),t(n),n.unsubscribe()};return r.subscribe((0,o.operate)({destination:n,next:t=>{f((r=>{r.window.next(t),c<=++r.seen&&d(r)}))},error:t=>h((r=>r.error(t))),complete:()=>h((t=>t.complete()))})),()=>{a=null}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowToggle.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.windowToggle=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js");r.windowToggle=function(t,r){return e=>new s.Observable((a=>{const u=[],l=t=>{for(;0<u.length;)u.shift().error(t);a.error(t)};(0,s.from)(t).subscribe((0,s.operate)({destination:a,next:t=>{const e=new n.Subject;u.push(e);const c=new s.Subscription;let m;try{m=(0,s.from)(r(t))}catch(t){return void l(t)}a.next(e),c.add(m.subscribe((0,s.operate)({destination:a,next:()=>{(0,i.arrRemove)(u,e),e.complete(),c.unsubscribe()},error:l,complete:o.noop})))},complete:o.noop})),e.subscribe((0,s.operate)({destination:a,next:t=>{const r=u.slice();for(const e of r)e.next(t)},error:l,complete:()=>{for(;0<u.length;)u.shift().complete();a.complete()},finalize:()=>{for(;0<u.length;)u.shift().unsubscribe()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowWhen.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.windowWhen=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.windowWhen=function(t){return r=>new s.Observable((e=>{let i,a;const u=t=>{i.error(t),e.error(t)},l=()=>{let r;a?.unsubscribe(),i?.complete(),i=new n.Subject,e.next(i.asObservable());try{r=(0,s.from)(t())}catch(t){return void u(t)}r.subscribe(a=(0,s.operate)({destination:e,next:l,error:u,complete:o.noop}))};l(),r.subscribe((0,s.operate)({destination:e,next:t=>i.next(t),error:u,complete:()=>{i.complete(),e.complete()},finalize:()=>{a?.unsubscribe(),i=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.withLatestFrom=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js");r.withLatestFrom=function(...t){const r=(0,i.popResultSelector)(t);return e=>new s.Observable((i=>{const a=t.length,u=new Array(a);let l=t.map((()=>!1)),c=!1;for(let r=0;r<a;r++)(0,s.from)(t[r]).subscribe((0,s.operate)({destination:i,next:t=>{u[r]=t,c||l[r]||(l[r]=!0,(c=l.every(n.identity))&&(l=null))},complete:o.noop}));e.subscribe((0,s.operate)({destination:i,next:t=>{if(c){const e=[t,...u];i.next(r?r(...e):e)}}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/zipAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.zipAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/zip.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/joinAllInternals.js");r.zipAll=function(t){return(0,n.joinAllInternals)(s.zip,t)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/zipWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.zipWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/zip.js");r.zipWith=function(...t){return r=>new s.Observable((e=>{(0,n.zip)(r,...t).subscribe(e)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleArray.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleArray=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.scheduleArray=function(t,r){return new s.Observable((e=>{let s=0;const o=()=>{s===t.length?e.complete():(e.next(t[s++]),(0,n.executeSchedule)(e,r,o))};return(0,n.executeSchedule)(e,r,o)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleAsyncIterable.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleAsyncIterable=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.scheduleAsyncIterable=function(t,r){if(!t)throw new Error("Iterable cannot be null");return new s.Observable((e=>{(0,n.executeSchedule)(e,r,(()=>{const s=t[Symbol.asyncIterator]();(0,n.executeSchedule)(e,r,(()=>{s.next().then((t=>{t.done?e.complete():e.next(t.value)}))}),0,!0)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleIterable.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleIterable=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/symbol/iterator.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.scheduleIterable=function(t,r){return new s.Observable((e=>{let i;return(0,o.executeSchedule)(e,r,(()=>{i=t[n.iterator](),(0,o.executeSchedule)(e,r,(()=>{let t,r;try{({value:t,done:r}=i.next())}catch(t){return void e.error(t)}r?e.complete():e.next(t)}),0,!0)})),()=>(0,s.isFunction)(i?.return)&&i.return()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleObservable.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleObservable=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/observeOn.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/subscribeOn.js");r.scheduleObservable=function(t,r){return(0,s.from)(t).pipe((0,o.subscribeOn)(r),(0,n.observeOn)(r))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/schedulePromise.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.schedulePromise=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/observeOn.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/subscribeOn.js");r.schedulePromise=function(t,r){return(0,s.from)(t).pipe((0,o.subscribeOn)(r),(0,n.observeOn)(r))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleReadableStreamLike.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleReadableStreamLike=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleAsyncIterable.js");r.scheduleReadableStreamLike=function(t,r){return(0,n.scheduleAsyncIterable)((0,s.readableStreamLikeToAsyncGenerator)(t),r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduled=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleObservable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/schedulePromise.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleArray.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleIterable.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleAsyncIterable.js"),u=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),l=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleReadableStreamLike.js");r.scheduled=function(t,r){switch((0,u.getObservableInputType)(t)){case u.ObservableInputType.Own:case u.ObservableInputType.InteropObservable:return(0,s.scheduleObservable)(t,r);case u.ObservableInputType.Promise:return(0,n.schedulePromise)(t,r);case u.ObservableInputType.ArrayLike:return(0,o.scheduleArray)(t,r);case u.ObservableInputType.Iterable:return(0,i.scheduleIterable)(t,r);case u.ObservableInputType.AsyncIterable:return(0,a.scheduleAsyncIterable)(t,r);case u.ObservableInputType.ReadableStreamLike:return(0,l.scheduleReadableStreamLike)(t,r)}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/Action.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.Action=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");class n extends s.Subscription{constructor(t,r){super()}schedule(t,r=0){return this}}r.Action=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameAction.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AnimationFrameAction=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/animationFrameProvider.js");class o extends s.AsyncAction{scheduler;work;constructor(t,r){super(t,r),this.scheduler=t,this.work=r}requestAsyncId(t,r,e=0){return null!==e&&e>0?super.requestAsyncId(t,r,e):(t.actions.push(this),t._scheduled||(t._scheduled=n.animationFrameProvider.requestAnimationFrame((()=>t.flush(void 0)))))}recycleAsyncId(t,r,e=0){if(null!=e?e>0:this.delay>0)return super.recycleAsyncId(t,r,e);const{actions:s}=t;null!=r&&s[s.length-1]?.id!==r&&(n.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)}}r.AnimationFrameAction=o},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AnimationFrameScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js");class n extends s.AsyncScheduler{flush(t){this._active=!0;const r=this._scheduled;this._scheduled=void 0;const{actions:e}=this;let s;t=t||e.shift();do{if(s=t.execute(t.state,t.delay))break}while((t=e[0])&&t.id===r&&e.shift());if(this._active=!1,s){for(;(t=e[0])&&t.id===r&&e.shift();)t.unsubscribe();throw s}}}r.AnimationFrameScheduler=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsapAction.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AsapAction=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/immediateProvider.js");class o extends s.AsyncAction{scheduler;work;constructor(t,r){super(t,r),this.scheduler=t,this.work=r}requestAsyncId(t,r,e=0){return null!==e&&e>0?super.requestAsyncId(t,r,e):(t.actions.push(this),t._scheduled||(t._scheduled=n.immediateProvider.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,r,e=0){if(null!=e?e>0:this.delay>0)return super.recycleAsyncId(t,r,e);const{actions:s}=t;null!=r&&s[s.length-1]?.id!==r&&(n.immediateProvider.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))}}r.AsapAction=o},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsapScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AsapScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js");class n extends s.AsyncScheduler{flush(t){this._active=!0;const r=this._scheduled;this._scheduled=void 0;const{actions:e}=this;let s;t=t||e.shift();do{if(s=t.execute(t.state,t.delay))break}while((t=e[0])&&t.id===r&&e.shift());if(this._active=!1,s){for(;(t=e[0])&&t.id===r&&e.shift();)t.unsubscribe();throw s}}}r.AsapScheduler=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncAction=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/Action.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/intervalProvider.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js");class i extends s.Action{scheduler;work;id;state;delay;pending=!1;constructor(t,r){super(t,r),this.scheduler=t,this.work=r}schedule(t,r=0){if(this.closed)return this;this.state=t;const e=this.id,s=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(s,e,r)),this.pending=!0,this.delay=r,this.id=this.id??this.requestAsyncId(s,this.id,r),this}requestAsyncId(t,r,e=0){return n.intervalProvider.setInterval(t.flush.bind(t,this),e)}recycleAsyncId(t,r,e=0){if(null!=e&&this.delay===e&&!1===this.pending)return r;null!=r&&n.intervalProvider.clearInterval(r)}execute(t,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const e=this._execute(t,r);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,r){let e,s=!1;try{this.work(t)}catch(t){s=!0,e=t||new Error("Scheduled action threw falsy error")}if(s)return this.unsubscribe(),e}unsubscribe(){if(!this.closed){const{id:t,scheduler:r}=this,{actions:e}=r;this.work=this.state=this.scheduler=null,this.pending=!1,(0,o.arrRemove)(e,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,super.unsubscribe()}}}r.AsyncAction=i},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Scheduler.js");class n extends s.Scheduler{actions=[];_active=!1;_scheduled;constructor(t,r=s.Scheduler.now){super(t,r)}flush(t){const{actions:r}=this;if(this._active)return void r.push(t);let e;this._active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=r.shift());if(this._active=!1,e){for(;t=r.shift();)t.unsubscribe();throw e}}}r.AsyncScheduler=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/QueueAction.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.QueueAction=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js");class n extends s.AsyncAction{scheduler;work;constructor(t,r){super(t,r),this.scheduler=t,this.work=r}schedule(t,r=0){return r>0?super.schedule(t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)}execute(t,r){return r>0||this.closed?super.execute(t,r):this._execute(t,r)}requestAsyncId(t,r,e=0){return null!=e&&e>0||null==e&&this.delay>0?super.requestAsyncId(t,r,e):(t.flush(this),0)}}r.QueueAction=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/QueueScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.QueueScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js");class n extends s.AsyncScheduler{}r.QueueScheduler=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/VirtualTimeScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.VirtualAction=r.VirtualTimeScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js");class i extends o.AsyncScheduler{maxFrames;static frameTimeFactor=10;frame=0;index=-1;constructor(t=a,r=1/0){super(t,(()=>this.frame)),this.maxFrames=r}flush(){const{actions:t,maxFrames:r}=this;let e,s;for(;(s=t[0])&&s.delay<=r&&(t.shift(),this.frame=s.delay,!(e=s.execute(s.state,s.delay))););if(e){for(;s=t.shift();)s.unsubscribe();throw e}}}r.VirtualTimeScheduler=i;class a extends s.AsyncAction{scheduler;work;index;active=!0;constructor(t,r,e=(t.index+=1)){super(t,r),this.scheduler=t,this.work=r,this.index=e,this.index=t.index=e}schedule(t,r=0){if(Number.isFinite(r)){if(!this.id)return super.schedule(t,r);this.active=!1;const e=new a(this.scheduler,this.work);return this.add(e),e.schedule(t,r)}return n.Subscription.EMPTY}requestAsyncId(t,r,e=0){this.delay=t.frame+e;const{actions:s}=t;return s.push(this),s.sort(a.sortActions),1}recycleAsyncId(t,r,e=0){}_execute(t,r){if(!0===this.active)return super._execute(t,r)}static sortActions(t,r){return t.delay===r.delay?t.index===r.index?0:t.index>r.index?1:-1:t.delay>r.delay?1:-1}}r.VirtualAction=a},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/animationFrame.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrameScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameScheduler.js");r.animationFrameScheduler=new n.AnimationFrameScheduler(s.AnimationFrameAction)},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/animationFrameProvider.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrameProvider=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.animationFrameProvider={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:o}=r.animationFrameProvider;o&&(e=o.requestAnimationFrame,n=o.cancelAnimationFrame);const i=e((r=>{n=void 0,t(r)}));return new s.Subscription((()=>n?.(i)))},requestAnimationFrame(...t){const{delegate:e}=r.animationFrameProvider;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:e}=r.animationFrameProvider;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/asap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.asapScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsapAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsapScheduler.js");r.asapScheduler=new n.AsapScheduler(s.AsapAction)},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.asyncScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js");r.asyncScheduler=new n.AsyncScheduler(s.AsyncAction)},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/dateTimestampProvider.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.dateTimestampProvider=void 0,r.dateTimestampProvider={now:()=>(r.dateTimestampProvider.delegate||Date).now(),delegate:void 0}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/immediateProvider.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.immediateProvider=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/Immediate.js"),{setImmediate:n,clearImmediate:o}=s.Immediate;r.immediateProvider={setImmediate(...t){const{delegate:e}=r.immediateProvider;return(e?.setImmediate||n)(...t)},clearImmediate(t){const{delegate:e}=r.immediateProvider;return(e?.clearImmediate||o)(t)},delegate:void 0}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/intervalProvider.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.intervalProvider=void 0,r.intervalProvider={setInterval(t,e,...s){const{delegate:n}=r.intervalProvider;return n?.setInterval?n.setInterval(t,e,...s):setInterval(t,e,...s)},clearInterval(t){const{delegate:e}=r.intervalProvider;return(e?.clearInterval||clearInterval)(t)},delegate:void 0}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/performanceTimestampProvider.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.performanceTimestampProvider=void 0,r.performanceTimestampProvider={now:()=>(r.performanceTimestampProvider.delegate||performance).now(),delegate:void 0}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/queue.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.queueScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/QueueAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/QueueScheduler.js");r.queueScheduler=new n.QueueScheduler(s.QueueAction)},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/symbol/iterator.js"(t,r){function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(r,"__esModule",{value:!0}),r.iterator=r.getSymbolIterator=void 0,r.getSymbolIterator=e,r.iterator=e()},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/types.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0})},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/ArgumentOutOfRangeError.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ArgumentOutOfRangeError=void 0;class e extends Error{constructor(){super("argument out of range"),this.name="ArgumentOutOfRangeError"}}r.ArgumentOutOfRangeError=e},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EmptyError=void 0;class e extends Error{constructor(){super("no elements in sequence"),this.name="EmptyError"}}r.EmptyError=e},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/Immediate.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TestTools=r.Immediate=void 0;let e,s=1;const n={};function o(t){return t in n&&(delete n[t],!0)}r.Immediate={setImmediate(t){const r=s++;return n[r]=!0,e||(e=Promise.resolve()),e.then((()=>o(r)&&t())),r},clearImmediate(t){o(t)}},r.TestTools={pending:()=>Object.keys(n).length}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/NotFoundError.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.NotFoundError=void 0;class e extends Error{constructor(t){super(t),this.name="NotFoundError"}}r.NotFoundError=e},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/SequenceError.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SequenceError=void 0;class e extends Error{constructor(t){super(t),this.name="SequenceError"}}r.SequenceError=e},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.popNumber=r.popScheduler=r.popResultSelector=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isScheduler.js");function o(t){return t[t.length-1]}r.popResultSelector=function(t){return(0,s.isFunction)(o(t))?t.pop():void 0},r.popScheduler=function(t){return(0,n.isScheduler)(o(t))?t.pop():void 0},r.popNumber=function(t,r){return"number"==typeof o(t)?t.pop():r}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsArgArrayOrObject.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.arrayOrObject=r.argsArgArrayOrObject=void 0;const{isArray:e}=Array,{getPrototypeOf:s,prototype:n,keys:o}=Object;function i(t){if(e(t))return{args:t,keys:null};if((r=t)&&"object"==typeof r&&s(r)===n){const r=o(t);return{args:r.map((r=>t[r])),keys:r}}var r;return null}r.argsArgArrayOrObject=function(t){if(1===t.length){const r=i(t[0]);if(r)return r}return{args:t,keys:null}},r.arrayOrObject=i},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.argsOrArgArray=void 0;const{isArray:e}=Array;r.argsOrArgArray=function(t){return 1===t.length&&e(t[0])?t[0]:t}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.arrRemove=void 0,r.arrRemove=function(t,r){if(t){const e=t.indexOf(r);0<=e&&t.splice(e,1)}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/createObject.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createObject=void 0,r.createObject=function(t,r){return t.reduce(((t,e,s)=>(t[e]=r[s],t)),{})}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.executeSchedule=void 0,r.executeSchedule=function(t,r,e,s=0,n=!1){if(!t.closed){const o=r.schedule((function(){e(),n?t.add(this.schedule(null,s)):this.unsubscribe()}),s);if(t.add(o),!n)return o}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.identity=void 0,r.identity=function(t){return t}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isDate.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isValidDate=void 0,r.isValidDate=function(t){return t instanceof Date&&!isNaN(t)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.isScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.isScheduler=function(t){return t&&(0,s.isFunction)(t.schedule)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mapOneOrManyArgs=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js"),{isArray:n}=Array;r.mapOneOrManyArgs=function(t){return(0,s.map)((r=>function(t,r){return n(r)?t(...r):t(r)}(t,r)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.noop=void 0,r.noop=function(){}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/not.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.not=void 0,r.not=function(t,r){return(e,s)=>!t.call(r,e,s)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/pipe.js"(t,r){function e(t,r){return r(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.pipe=void 0,r.pipe=function(...t){return 1===t.length?t[0]:r=>t.reduce(e,r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/rx.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.rx=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");function n(t,r){return r(t)}r.rx=function(t,...r){return r.reduce(n,(0,s.from)(t))}},"bun:sqlite"(t){t.exports=import("bun:sqlite")},"node:sqlite"(t){t.exports=import("node:sqlite")},"@bufbuild/protobuf"(r,e,s){var n,o;r.exports=(n={Message:()=>t.Message,Struct:()=>t.Struct,Timestamp:()=>t.Timestamp,Value:()=>t.Value,proto3:()=>t.proto3,protoInt64:()=>t.protoInt64},o={},s.d(o,n),o)},"node:async_hooks"(t,e,s){var n,o;t.exports=(n={AsyncLocalStorage:()=>r.AsyncLocalStorage},o={},s.d(o,n),o)},"node:crypto?8af2"(t,r,s){var n,o;t.exports=(n={createHash:()=>e.createHash,randomUUID:()=>e.randomUUID},o={},s.d(o,n),o)},"node:fs"(t,r,e){var n,o;t.exports=(n={chmodSync:()=>s.chmodSync,closeSync:()=>s.closeSync,existsSync:()=>s.existsSync,mkdirSync:()=>s.mkdirSync,openSync:()=>s.openSync,readSync:()=>s.readSync,renameSync:()=>s.renameSync,rmSync:()=>s.rmSync},o={},e.d(o,n),o)},"node:fs/promises"(t,r,e){var s,o;t.exports=(s={rm:()=>n.rm},o={},e.d(o,s),o)},"node:path"(t,r,e){var s,n;t.exports=(s={basename:()=>o.basename,dirname:()=>o.dirname,join:()=>o.join,win32:()=>o.win32},n={},e.d(n,s),n)},"zod/v4"(t,r,e){var s,n;t.exports=(s={boolean:()=>i.boolean,custom:()=>i.custom,enum:()=>i.enum,number:()=>i.number,object:()=>i.object,string:()=>i.string},n={},e.d(n,s),n)},"../agent-kv/dist/index.js"(t,r,e){e.d(r,{aY:()=>E,pH:()=>U,aD:()=>h,sh:()=>q,nj:()=>p});var s=e("../proto/dist/generated/agent/v1/agent_pb.js"),n=e("../proto/dist/generated/agent/v1/todo_tool_pb.js"),o=e("../utils/dist/disposable.js"),i=e("zod/v4"),a=e("../metrics/dist/index.js");const u=new TextDecoder,l=new TextEncoder,c=new class{serialize(t){return l.encode(t)}deserialize(t){return u.decode(t)}getBlobType(){return{kind:"string"}}};class m{constructor(t){this.proto=t}serialize(t){return t.toBinary()}deserialize(t){return this.proto.fromBinary(t)}getBlobType(){return{kind:"proto",typeName:this.proto.typeName}}}const d=Array.from({length:256},((t,r)=>r.toString(16).padStart(2,"0")));function p(t){if("undefined"!=typeof Buffer)return Buffer.from(t).toString("hex");let r="";for(let e=0;e<t.length;e++)r+=d[t[e]];return r}const f=/^[0-9a-f]*$/;function h(t){const r=t.trim().toLowerCase();if(r.length%2!=0)throw new Error("Invalid hex string length");if(r.length>=64&&"undefined"!=typeof Buffer){const t=function(t){if(f.test(t))try{const r=new Uint8Array(t.length/2);if(Buffer.from(r.buffer,r.byteOffset,r.byteLength).write(t,"hex")===r.length)return r}catch{}}(r);if(void 0!==t)return t}const e=new Uint8Array(r.length/2);for(let t=0;t<r.length;t+=2)e[t/2]=parseInt(r.slice(t,t+2),16);return e}function _(t){const r=t.buffer;return r instanceof ArrayBuffer?new Uint8Array(r,t.byteOffset,t.byteLength):new Uint8Array(t)}(0,a.v5)("agent_kv.in_memory.get_blob.duration_ms",{description:"Duration of InMemoryBlobStore getBlob operations in milliseconds"}),(0,a.v5)("agent_kv.in_memory.set_blob.duration_ms",{description:"Duration of InMemoryBlobStore setBlob operations in milliseconds"});var g=e("../context/dist/logger.js"),j=e("../utils/dist/promise-extras.js");const b=(0,g.h)("@anysphere/agent-kv:subagent-states"),y=(0,a.Pu)("agent_kv.subagent_state_ref.missing_blob",{description:"Subagent state refs whose blob was missing, counted per read until a checkpoint rewrites the ref. fallback=inline kept the entry saved beside the ref (usually a transcript-free summary), dropped omitted the subagent, superseded kept a newer in-memory state.",labelNames:["reader","fallback"]});function w(t,r){b.warn(t,"Subagent state ref blob not found; restoring without its transcript",r),y.increment(t,1,{reader:r.reader,fallback:r.fallback})}const x=["default","plan","debug","search"],J=["allowlist","unrestricted","auto-review"],S=/^[0-9a-f]+$/;function v(){const t=new Uint8Array(32);return crypto.getRandomValues(t),p(t)}let B=null;const q=t=>({agentId:t??crypto.randomUUID(),latestRootBlobId:new Uint8Array,name:"New Agent",mode:"default",isRunEverything:!1,approvalMode:void 0,createdAt:Date.now(),lastUsedModel:void 0,lastDebugServerPort:void 0,currentPlanUri:void 0,subagentInfo:void 0,blobEncryptionKey:v()}),P=new Set(x),O=new Set(J);function I(t,r){const e=function(t){return"object"==typeof t&&null!==t}(t)&&r in t?t[r]:void 0;return"string"==typeof e&&e.length>0?e:void 0}class E{serialize(t){const r=p(t.latestRootBlobId);return c.serialize(JSON.stringify({...t,latestRootBlobId:r}))}deserialize(t){const r=JSON.parse(c.deserialize(t)),e=q(r.agentId),s="string"==typeof r.latestRootBlobId?h(r.latestRootBlobId):e.latestRootBlobId;let n=!0===r.isRunEverything,o=r.mode;"auto-run"===o&&(o="default",n=!0);const a="string"==typeof o&&(u=o,P.has(u))?o:"default";var u;const l=r.approvalMode,m="string"==typeof l&&function(t){return O.has(t)}(l)?l:void 0,d=function(t){if(!t||"object"!=typeof t)return;const r=I(t,"parentAgentId"),e=I(t,"rootParentAgentId"),s=I(t,"toolCallId"),n=I(t,"typeName");return void 0!==r&&void 0!==e&&void 0!==s&&void 0!==n?{parentAgentId:r,rootParentAgentId:e,toolCallId:s,typeName:n}:void 0}(r.subagentInfo),p=function(t){return"string"==typeof t&&64===t.length&&S.test(t)}(r.blobEncryptionKey)?r.blobEncryptionKey:e.blobEncryptionKey;return(null===B&&(B=i.object({agentId:i.string(),latestRootBlobId:i.custom((t=>t instanceof Uint8Array),{error:"Expected Uint8Array"}),name:i.string(),createdAt:i.number(),mode:i.enum(x),isRunEverything:i.boolean(),approvalMode:i.enum(J).optional(),lastUsedModel:i.string().optional(),lastDebugServerPort:i.number().int().positive().optional(),currentPlanUri:i.string().optional(),subagentInfo:i.object({parentAgentId:i.string().min(1),rootParentAgentId:i.string().min(1),toolCallId:i.string().min(1),typeName:i.string().min(1)}).optional(),blobEncryptionKey:i.string().optional()})),B).parse({...e,...r,mode:a,isRunEverything:n,approvalMode:m,latestRootBlobId:s,subagentInfo:d,blobEncryptionKey:p})}getBlobType(){return{kind:"json"}}}const A=new m(n.kW),k=new m(s.RGk),$=new m(s.kJk),T=new m(s.cmU),C=new m(s.KRq),R=new m(s.oIR),M=new m(s.qKL);class U{constructor(t,r,e={}){this.blobStore=t,this.metadataStore=r,this.serde=new m(s.Y9z),this.conversationStateStructure=new s.Y9z,this.fixedRootBlobId=e.fixedRootBlobId}subscribeToMetadata(t,r){return this.metadataStore.subscribe(t,(()=>{r(this.metadataStore.get(t))}))}setMetadata(t,r){this.metadataStore.set(t,r)}getMetadata(t){return this.metadataStore.get(t)}getId(){return this.getMetadata("agentId")}getBlobStore(){return this.blobStore}getConversationStateStructure(){return this.conversationStateStructure}async getLastRequestIdFromConversation(t){const r=this.conversationStateStructure.turns;if(0===r.length)return null;for(let e=r.length-1;e>=0;e--){const s=r[e],n=await this.blobStore.getBlob(t,s);if(!n)continue;const o=T.deserialize(n);if("agentConversationTurn"===o.turn.case)return o.turn.value.requestId??null}return null}async getFullConversation(t){return this.deserializeConversationStateStructure(t,this.conversationStateStructure)}async deserializeConversationStateStructure(t,r){return async function(t,r,e){const n=new s.ljj,o=[],i=r.turns;for(const r of i){const n=await e.getBlob(t,r);if(!n)continue;const i=T.deserialize(n);let a;switch(i.turn.case){case"agentConversationTurn":{const r=i.turn.value,n=await e.getBlob(t,r.userMessage);if(!n)continue;const o=k.deserialize(n),u=[];for(const s of r.steps){const r=await e.getBlob(t,s);if(r){const t=$.deserialize(r);u.push(t)}}const l=new s.i9c({userMessage:o,steps:u});a=new s.j97({turn:{case:"agentConversationTurn",value:l}});break}case"shellConversationTurn":{const r=i.turn.value,n=await e.getBlob(t,r.shellCommand);if(!n)continue;const o=R.deserialize(n),u=await e.getBlob(t,r.shellOutput);if(!u)continue;const l=M.deserialize(u),c=new s.tms({shellCommand:o,shellOutput:l});a=new s.j97({turn:{case:"shellConversationTurn",value:c}});break}}a&&o.push(a)}n.turns=o;const a=[];for(const s of r.todos){const r=await e.getBlob(t,s);if(r){const t=A.deserialize(r);a.push(t)}}if(n.todos=a,r.summary){const s=await e.getBlob(t,r.summary);if(s){const t=C.deserialize(s);n.summary=t}}return n}(t,r,this.blobStore)}async getFullConversationWithSubagents(t){const r=this.conversationStateStructure,e=await this.deserializeConversationStateStructure(t,r),n={},o=await async function(t,r,e){const n={...r.subagentStates??{}},o=Object.entries(r.subagentStateRefs??{});if(0===o.length)return n;const i=await(0,j.PH)(o,(async([r,n])=>{const o=await e.getBlob(t,n);if(void 0===o)return{kind:"missing",subagentId:r,blobIdHex:p(n)};try{return{kind:"loaded",subagentId:r,state:s.aK_.fromBinary(o)}}catch(t){return{kind:"failed",error:t}}}),{max:8}),a=i.find((t=>"failed"===t.kind));if(void 0!==a&&"failed"===a.kind)throw a.error;for(const r of i)if("loaded"===r.kind)n[r.subagentId]=r.state;else if("missing"===r.kind){const e=void 0!==n[r.subagentId];w(t,{reader:"resolve",fallback:e?"inline":"dropped",subagentId:r.subagentId,blobIdHex:r.blobIdHex})}return n}(t,r,this.blobStore);for(const[r,e]of Object.entries(o))if(e.conversationState){const s=await this.deserializeConversationStateStructure(t,e.conversationState);n[r]={conversationState:s,createdTimestampMs:e.createdTimestampMs,lastUsedTimestampMs:e.lastUsedTimestampMs,subagentType:e.subagentType}}return{conversationState:e,subagentStates:n}}getLatestCheckpoint(){return this.getConversationStateStructure()}async handleCheckpoint(t,r){const e=this.serde.serialize(r),s=this.fixedRootBlobId??await async function(t){const r=await crypto.subtle.digest("SHA-256",_(t));return new Uint8Array(r)}(e);await this.blobStore.setBlob(t,s,e),this.setMetadata("latestRootBlobId",s),this.conversationStateStructure=r}async resetFromDb(t){await this.tryResetFromDb(t)}async tryResetFromDb(t){try{const r=this.getMetadata("latestRootBlobId");if(!r||0===r.length)return this.conversationStateStructure=new s.Y9z,!1;const e=await this.blobStore.getBlob(t,r);if(!e)return this.conversationStateStructure=new s.Y9z,!1;const n=this.serde.deserialize(e);return this.conversationStateStructure=n,!0}catch(t){return this.conversationStateStructure=new s.Y9z,!1}}async dispose(){this.blobStore instanceof o.j&&await this.blobStore.dispose()}}(0,e("../context/dist/core.js").cF)(Symbol("blob-read-kind"),void 0),Error,"function"==typeof SuppressedError&&SuppressedError,(0,g.h)("@anysphere/agent-kv"),(0,a.v5)("agent_kv.cached.get_blob.duration_ms",{description:"Duration of CachedBlobStore getBlob operations in milliseconds"}),(0,a.v5)("agent_kv.cached.set_blob.duration_ms",{description:"Duration of CachedBlobStore setBlob operations in milliseconds"}),(0,a.v5)("agent_kv.cached.flush.duration_ms",{description:"Duration of CachedBlobStore flush operations in milliseconds"}),(0,a.v5)("agent_kv.cached.cache_bytes",{description:"Resident bytes held in the CachedBlobStore in-memory cache, sampled on flush"}),(0,a.Pu)("agent_kv.cached.get_blob.results",{description:"Number of CachedBlobStore getBlob operations by cache result type",labelNames:["cache_type"]}),(0,a.Pu)("agent_kv.nearby.decrypt_errors",{description:"Number of nearby blob reads that found ciphertext but failed to decrypt it (wrong encryption key)"});const N=(0,a.Pu)("agent_kv.nearby.decrypt_fallback_success",{description:"Number of nearby blob reads where the primary encryption key failed but the fallback key decrypted the blob"}),L=(0,a.v5)("agent_kv.encrypted.get_blob.duration_ms",{description:"Duration of EncryptedBlobStore getBlob operations in milliseconds"}),D=(0,a.v5)("agent_kv.encrypted.set_blob.duration_ms",{description:"Duration of EncryptedBlobStore setBlob operations in milliseconds"});class F extends Error{constructor(t){super("Failed to decrypt nearby blob (encryption key mismatch)",{cause:t}),this.name="NearbyBlobDecryptError"}}class W{constructor(t,r,e=null){this.blobStore=t,this.encryptionKeyStr=r,this.fallbackDecryptKeyStr=e}static async deriveKey(t){const r=(new TextEncoder).encode(t),e=await crypto.subtle.digest("SHA-256",r);return crypto.subtle.importKey("raw",e,{name:W.ALGORITHM,length:256},!0,["encrypt","decrypt"])}async getEncryptionKey(){return void 0===this.encryptionKey&&(this.encryptionKey=await W.deriveKey(this.encryptionKeyStr)),this.encryptionKey}async getFallbackDecryptKey(){return null===this.fallbackDecryptKeyStr?null:(void 0===this.fallbackDecryptKey&&(this.fallbackDecryptKey=await W.deriveKey(this.fallbackDecryptKeyStr)),this.fallbackDecryptKey)}async getBlob(t,r){const e=performance.now();try{const e=await this.blobStore.getBlob(t,r);if(void 0===e)return;const s=e.slice(0,W.IV_LENGTH),n=e.slice(W.IV_LENGTH);let o;try{o=await crypto.subtle.decrypt({name:W.ALGORITHM,iv:s},await this.getEncryptionKey(),n)}catch(r){const e=await this.getFallbackDecryptKey();if(null===e)throw new F(r);try{o=await crypto.subtle.decrypt({name:W.ALGORITHM,iv:s},e,n),N.increment(t,1)}catch{throw new F(r)}}return new Uint8Array(o)}finally{const r=performance.now()-e;L.histogram(t,r)}}async encryptBlob(t){const r=crypto.getRandomValues(new Uint8Array(W.IV_LENGTH)),e=await crypto.subtle.encrypt({name:W.ALGORITHM,iv:r},await this.getEncryptionKey(),_(t)),s=new Uint8Array(r.length+e.byteLength);return s.set(r,0),s.set(new Uint8Array(e),r.length),s}async setBlob(t,r,e){const s=performance.now();try{const s=await this.encryptBlob(e);await this.blobStore.setBlob(t,r,s)}finally{const r=performance.now()-s;D.histogram(t,r)}}async setBlobLocallyOnly(t,r,e){const s=performance.now();try{const s=await this.encryptBlob(e);await this.blobStore.setBlobLocallyOnly(t,r,s)}finally{const r=performance.now()-s;D.histogram(t,r)}}async flush(t){return await this.blobStore.flush(t)}}W.ALGORITHM="AES-GCM",W.IV_LENGTH=12,"function"==typeof SuppressedError&&SuppressedError,(0,g.h)("ControlledKvManager"),(0,a.v5)("agent_kv.controlled.get_blob.duration_ms",{description:"Duration of ControlledKvManager getBlob operations in milliseconds"}),(0,a.v5)("agent_kv.controlled.set_blob.duration_ms",{description:"Duration of ControlledKvManager setBlob operations in milliseconds"}),"function"==typeof SuppressedError&&SuppressedError,(0,g.h)("@anysphere/agent-kv"),(0,a.v5)("agent_kv.writethrough.get_blob.duration_ms",{description:"Duration of WritethroughBlobStore getBlob operations in milliseconds"}),(0,a.v5)("agent_kv.writethrough.set_blob.duration_ms",{description:"Duration of WritethroughBlobStore setBlob operations in milliseconds"}),(0,a.v5)("agent_kv.writethrough.flush.duration_ms",{description:"Duration of WritethroughBlobStore flush operations in milliseconds"}),Symbol.for("anysphere.blobMetadataCallback"),(0,g.h)("@anysphere/agent-kv:reference"),(0,a.Pu)("agent_kv.lazy_reference.cache_miss",{description:"Number of large or slow LazyReference cache misses that require loading and deserializing a blob",labelNames:["blob_type"]}),(0,a.v5)("agent_kv.lazy_reference.deserialize_bytes",{description:"Blob byte size loaded on a large or slow LazyReference deserialize cache miss",labelNames:["blob_type"]}),(0,a.v5)("agent_kv.lazy_reference.deserialize_ms",{description:"Time spent deserializing a blob on a large or slow LazyReference cache miss",labelNames:["blob_type"]}),"function"==typeof SuppressedError&&SuppressedError,(0,g.h)("RetryBlobStore"),(0,a.Pu)("agent_kv.retry.retries",{description:"Number of RetryBlobStore retry attempts (one per re-issued operation, not counting the first try)",labelNames:["operation","outcome"]}),(0,a.v5)("agent_kv.retry.get_blob.duration_ms",{description:"Duration of RetryBlobStore getBlob operations in milliseconds"}),(0,a.v5)("agent_kv.retry.set_blob.duration_ms",{description:"Duration of RetryBlobStore setBlob operations in milliseconds"}),(0,a.v5)("agent_kv.retry.set_blob_locally_only.duration_ms",{description:"Duration of RetryBlobStore setBlobLocallyOnly operations in milliseconds"}),(0,a.v5)("agent_kv.retry.flush.duration_ms",{description:"Duration of RetryBlobStore flush operations in milliseconds"})},"../context/dist/core.js"(t,r,e){function s(t,r){return{symbol:t,defaultValue:r}}function n(t){const r=new AbortController;if(t.aborted)return r.abort(t.reason),{signal:r.signal,abort(t){r.abort(t)},unlink(){}};const e=()=>r.abort(t.reason);return t.addEventListener("abort",e,{once:!0}),{signal:r.signal,abort(s){t.removeEventListener("abort",e),r.abort(s)},unlink(){t.removeEventListener("abort",e)}}}e.d(r,{cF:()=>s,q6:()=>i});class o{constructor(t,r,e,s){this.parent=t,this.values=e||new Map,this.name=s,this.signal=r||(t?t.signal:(new AbortController).signal)}get canceled(){return this.signal.aborted}get reason(){return this.signal.reason}get(t){return this.values.has(t.symbol)?this.values.get(t.symbol):this.parent?this.parent.get(t):t.defaultValue}with(t,r){const e=new Map(this.values);return e.set(t.symbol,r),new o(this,void 0,e)}withCancel(){const t=n(this.signal);return[new o(this,t.signal),r=>t.abort(r)]}withUnlinkableCancel(){const t=n(this.signal);return[new o(this,t.signal),r=>t.abort(r),()=>t.unlink()]}withTimeout(t){const r=n(this.signal),e=new o(this,r.signal),s=setTimeout((()=>{r.abort(new Error("context deadline exceeded"))}),t);return r.signal.addEventListener("abort",(()=>{clearTimeout(s)}),{once:!0}),e}withDeadline(t){const r=t.getTime()-Date.now();if(r<=0){const t=n(this.signal);return t.abort(new Error("context deadline exceeded")),new o(this,t.signal)}return this.withTimeout(r)}withTimeoutAndCancel(t){const[r,e]=this.withCancel();return[r.withTimeout(t),e]}withName(t){return new o(this,void 0,void 0,t)}withDetached(){return new o(this,(new AbortController).signal)}getParent(){return this.parent}getPath(){const t=[];let r=this;for(;r;)r.name&&t.unshift(r.name),r=r.getParent();return t}}function i(){return new o}},"../context/dist/logger.js"(t,r,e){e.d(r,{h:()=>d});var s=e("../context/dist/core.js");function n(t){return"object"==typeof t&&null!==t&&"getPath"in t&&"function"==typeof t.getPath}function o(t){return"object"==typeof t&&null!==t&&("message"in t||"stack"in t||"name"in t||"cause"in t)}function i(t,r,e,s,n,l){const c=function(t,r,e,s){if(!r.inlineSerializer)return t;try{const n=r.inlineSerializer(t,{path:e,depth:s});return void 0===n?t:n}catch{return t}}(t,r,l,s);if(function(t){return"object"==typeof t&&null!==t&&"kind"in t&&"summary"===t.kind&&"summary"in t&&"string"==typeof t.summary}(c))return e.dim(`<${c.summary}>`);if(null===(t=c))return e.gray("null");if(void 0===t)return e.gray("undefined");if("string"==typeof t){const s=function(t,r){return t.length<=r?t:`${t.slice(0,r)}...`}(t,r.maxStringLength);return e.green(JSON.stringify(s))}if("number"==typeof t)return e.yellow(String(t));if("boolean"==typeof t)return e.magenta(String(t));if("bigint"==typeof t)return e.yellow(`${t}n`);if("symbol"==typeof t)return e.cyan(t.toString());if("function"==typeof t){const r=t.name?` ${t.name}`:"";return e.dim(`[Function${r}]`)}if(t instanceof Date){const r=Number.isNaN(t.getTime())?"Invalid Date":t.toISOString();return e.green(r)}if(t instanceof RegExp)return e.cyan(t.toString());if(o(t))return a(t,r,e,s,n,l);if(Array.isArray(t))return u(t,r,e,s,n,l);if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return e.dim(`ArrayBuffer(${t.byteLength})`);if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(t)){const r=t,s=r.constructor?.name??"TypedArray";return e.dim(`${s}(${r.byteLength})`)}return t instanceof Map?function(t,r,e,s,n,o){if(s>=r.maxDepth)return e.dim(`Map(${t.size})`);if(n.has(t))return e.dim("[Circular]");n.add(t);const a=Array.from(t.entries()),u=Math.min(a.length,r.maxEntries),l=a.slice(0,u).map((([t,a])=>{const u=i(t,r,e,s+1,n,o.concat("<key>")),l=i(a,r,e,s+1,n,o.concat(String(t)));return`${u} ${e.dim("=>")} ${l}`}));a.length>u&&l.push(e.dim(`... ${a.length-u} more`));const c=e.dim(", "),m=`${e.dim("Map{")}${l.join(c)}${e.dim("}")}`;return n.delete(t),m}(t,r,e,s,n,l):t instanceof Set?u(Array.from(t.values()),r,e,s,n,l):"object"==typeof t?function(t,r,e,s,n,o){if(s>=r.maxDepth){const r=t?.constructor?.name??"Object";return e.dim(`[${r}]`)}if(n.has(t))return e.dim("[Circular]");n.add(t);const a=Object.entries(t);if(0===a.length){const r=e.dim("{}");return n.delete(t),r}const u=Math.min(a.length,r.maxEntries),l=a.slice(0,u).map((([t,a])=>{const u=i(a,r,e,s+1,n,o.concat(t));return`${e.cyan(t)}: ${u}`}));a.length>u&&l.push(e.dim(`... ${a.length-u} more`));const c=e.dim(", "),m=`${e.dim("{")}${l.join(c)}${e.dim("}")}`;return n.delete(t),m}(t,r,e,s,n,l):e.dim(`[${typeof t}]`)}function a(t,r,e,s,n,o){if(n.has(t))return e.dim("[Circular]");n.add(t);const a="string"==typeof t.name?t.name:"Error",u="string"==typeof t.message?t.message:"",l=u?`${a}: ${u}`:a;let c=e.red(l);if("cause"in t&&void 0!==t.cause){const a=i(t.cause,r,e,s+1,n,o.concat("cause"));c=`${c} ${e.dim("cause=")}${a}`}return n.delete(t),c}function u(t,r,e,s,n,o){if(s>=r.maxDepth)return e.dim(`[Array(${t.length})]`);if(n.has(t))return e.dim("[Circular]");if(n.add(t),0===t.length){const r=e.dim("[]");return n.delete(t),r}const a=Math.min(t.length,r.maxArrayLength),u=t.slice(0,a).map(((t,a)=>i(t,r,e,s+1,n,o.concat(a))));t.length>a&&u.push(e.dim(`... ${t.length-a} more`));const l=e.dim(", "),c=`${e.dim("[")}${u.join(l)}${e.dim("]")}`;return n.delete(t),c}let l=function(t={}){const r=function(t){return{indent:" ".repeat(t.indent??2),maxDepth:t.maxDepth??6,maxEntries:t.maxEntries??50,maxArrayLength:t.maxArrayLength??40,maxStringLength:t.maxStringLength??200,includeTimestamp:t.includeTimestamp??!0,includeContextPath:t.includeContextPath??!0,inlineSerializer:t.inlineSerializer}}(t),e=function(t){const r=r=>e=>t?`[${r.join(";")}m${e}[0m`:e,e=r([2]),s=r([90]),n=r([31]),o=r([32]),i=r([33]),a=r([34]),u=r([35]),l=r([36]),c=r([1]),m=r([1,31]);return{dim:e,gray:s,red:n,green:o,yellow:i,blue:a,magenta:u,cyan:l,bold:c,level:(t,r)=>{switch(t){case"debug":return u(r);case"info":return a(r);case"warn":return i(r);case"error":return m(r);default:return t}}}}(function(t){if("boolean"==typeof t)return t;if("undefined"==typeof process)return!1;const r=process.env??{};if("NO_COLOR"in r)return!1;if("dumb"===r.TERM)return!1;const e=r.FORCE_COLOR;return"1"===e||"true"===e||"0"!==e&&(process.stdout?.isTTY??!1)}(t.useColors)),s=t.console??console;return{log:(t,u)=>{const l=[];r.includeTimestamp&&l.push(e.dim(u.timestamp.toISOString().slice(11,23)));const c=u.level.toUpperCase().padEnd(5);l.push(e.level(u.level,c));const m="error"===u.level?e.bold(u.message):u.message;if(l.push(m),r.includeContextPath&&n(u.context)){const t=u.context.getPath();t.length>0&&l.push(e.dim(`ctx=${t.join("/")}`))}const d=new WeakSet;if(!n(u.context)&&u.context&&Object.keys(u.context).length>0){const t=i(u.context,r,e,0,d,["context"]);l.push(`${e.dim("context=")}${t}`)}if(u.metadata&&Object.keys(u.metadata).length>0){const t=i(u.metadata,r,e,0,d,["metadata"]);l.push(`${e.dim("meta=")}${t}`)}const p=[l.join(" ")];if(void 0!==u.error){const t=o(u.error)?a(u.error,r,e,0,d,["error"]):i(u.error,r,e,0,d,["error"]);if(p[0]=`${p[0]} ${e.dim("error=")}${t}`,o(u.error)&&"string"==typeof u.error.stack){const t=u.error.stack.split("\n").slice(1);for(const s of t){const t=s.trim();t&&p.push(`${r.indent}${e.dim(t)}`)}}}const f=p.join("\n");switch(u.level){case"debug":case"info":s.log(f);break;case"warn":s.warn(f);break;case"error":s.error(f);break;default:{const t=u.level;throw new Error(`Unhandled log level: ${String(t)}`)}}}}}();const c={log:(t,r)=>l.log(t,r)},m=(0,s.cF)(Symbol("loggerBackend"),c);function d(t){function r(r,e){const s=new Date,n=function(t){return t.get(m)}(r);n.log(r,{...e,timestamp:s,logger:t})}return{debug:(t,e,s)=>{r(t,{level:"debug",message:e,context:t,metadata:s})},info:(t,e,s)=>{r(t,{level:"info",message:e,context:t,metadata:s})},warn:(t,e,s)=>{r(t,{level:"warn",message:e,context:t,metadata:s})},error:(t,e,s,n)=>{r(t,{level:"error",message:e,context:t,error:s,metadata:n})}}}},"../metrics/dist/index.js"(t,r,e){e.d(r,{Pu:()=>o,v5:()=>i});const s=(0,e("../context/dist/core.js").cF)(Symbol("metricsBackend"),{record:()=>{},increment:()=>{},gauge:()=>{},histogram:()=>{}});function n(t){return t.get(s)}function o(t,r){const e={name:t,type:"counter",description:r?.description,labelNames:r?.labelNames};return{increment:(t,r,s)=>{n(t).increment(t,e,r??1,s)},record:(t,r,s)=>{n(t).record(t,e,r,s)}}}function i(t,r){const e={name:t,type:"histogram",description:r?.description,labelNames:r?.labelNames};return{histogram:(t,r,s)=>{n(t).histogram(t,e,r,s)},record:(t,r,s)=>{n(t).record(t,e,r,s)}}}},"../proto/dist/generated/agent/v1/agent_pb.js"(t,r,e){e.d(r,{i9c:()=>Ji,ljj:()=>Ni,Y9z:()=>Gi,kJk:()=>Qo,KRq:()=>Pi,j97:()=>ji,cmU:()=>xi,oIR:()=>_i,tms:()=>Bi,qKL:()=>gi,aK_:()=>Fi,RGk:()=>ci});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/subagents_pb.js"),o=e("../proto/dist/generated/agent/v1/shell_exec_pb.js"),i=e("../proto/dist/runtime/compact.js");class a extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class u extends a{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["ShellToolCall|1 args #0|2 result #1|3 description 9?",o.a,o.W4]}}var l=e("../proto/dist/generated/agent/v1/delete_exec_pb.js");class c extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class m extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["DeleteToolCall|1 args #0|2 result #1",l.dn,l.Pi]}}class d extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class p extends d{constructor(t){super(),this.globPattern="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["GlobToolArgs|1 target_directory 9?|2 glob_pattern 9"]}}class f extends d{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["GlobToolResult|1 success #0 result|2 error #1 result",_,h]}}class h extends d{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["GlobToolError|1 error 9"]}}class _ extends d{constructor(t){super(),this.pattern="",this.path="",this.files=[],this.totalFiles=0,this.clientTruncated=!1,this.ripgrepTruncated=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["GlobToolSuccess|1 pattern 9|2 path 9|3 files 9*|4 total_files 5|5 client_truncated 8|6 ripgrep_truncated 8"]}}class g extends d{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["GlobToolCall|1 args #0|2 result #1",p,f]}}var j=e("../proto/dist/generated/agent/v1/grep_exec_pb.js");class b extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class y extends b{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["GrepToolCall|1 args #0|2 result #1",j.Qj,j.Ud]}}var w=e("../proto/dist/generated/agent/v1/cursor_rules_pb.js");class x extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class J extends x{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["ReadToolCall|1 args #0|2 result #1",S,v]}}class S extends x{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["ReadToolArgs|1 path 9|2 offset 5?|3 limit 5?|5 include_line_numbers 8?"]}}class v extends x{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["ReadToolResult|1 success #0 result|2 error #1 result",q,P]}}class B extends x{constructor(t){super(),this.startLine=0,this.endLine=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["ReadRange|1 start_line 13|2 end_line 13"]}}class q extends x{constructor(t){super(),this.output={case:void 0},this.isEmpty=!1,this.exceededLimit=!1,this.totalLines=0,this.fileSize=0,this.path="",this.relatedCursorRulePaths=[],this.relatedCursorRules=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["ReadToolSuccess|1 content 9 output|6 data 12 output|9 data_blob_id 12 output|10 content_blob_id 12 output|2 is_empty 8|3 exceeded_limit 8|4 total_lines 13|5 file_size 13|7 path 9|8 read_range #0?|11 include_line_numbers 8?|12 related_cursor_rule_paths 9*|13 related_cursor_rules #1*",B,w.DX]}}class P extends x{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["ReadToolError|1 error_message 9"]}}var O=e("../proto/dist/generated/agent/v1/todo_tool_pb.js");class I extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class E extends I{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new E).fromBinary(t,r)}static fromJson(t,r){return(new E).fromJson(t,r)}static fromJsonString(t,r){return(new E).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(E,t,r)}static $(){return["EditArgs|1 path 9|6 stream_content 9?"]}}class A extends I{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new A).fromBinary(t,r)}static fromJson(t,r){return(new A).fromJson(t,r)}static fromJsonString(t,r){return(new A).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(A,t,r)}static $(){return["EditResult|1 success #0 result|2 file_not_found #1 result|3 read_permission_denied #2 result|4 write_permission_denied #3 result|6 rejected #4 result|7 error #5 result",k,$,T,C,R,M]}}class k extends I{constructor(t){super(),this.path="",this.afterFullFileContent="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new k).fromBinary(t,r)}static fromJson(t,r){return(new k).fromJson(t,r)}static fromJsonString(t,r){return(new k).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(k,t,r)}static $(){return["EditSuccess|1 path 9|3 lines_added 5?|4 lines_removed 5?|5 diff_string 9?|6 before_full_file_content 9?|7 after_full_file_content 9|8 message 9?"]}}class $ extends I{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $).fromBinary(t,r)}static fromJson(t,r){return(new $).fromJson(t,r)}static fromJsonString(t,r){return(new $).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($,t,r)}static $(){return["EditFileNotFound|1 path 9"]}}class T extends I{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new T).fromBinary(t,r)}static fromJson(t,r){return(new T).fromJson(t,r)}static fromJsonString(t,r){return(new T).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(T,t,r)}static $(){return["EditReadPermissionDenied|1 path 9"]}}class C extends I{constructor(t){super(),this.path="",this.error="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new C).fromBinary(t,r)}static fromJson(t,r){return(new C).fromJson(t,r)}static fromJsonString(t,r){return(new C).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(C,t,r)}static $(){return["EditWritePermissionDenied|1 path 9|2 error 9|3 is_readonly 8"]}}class R extends I{constructor(t){super(),this.path="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new R).fromBinary(t,r)}static fromJson(t,r){return(new R).fromJson(t,r)}static fromJsonString(t,r){return(new R).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(R,t,r)}static $(){return["EditRejected|1 path 9|2 reason 9"]}}class M extends I{constructor(t){super(),this.path="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new M).fromBinary(t,r)}static fromJson(t,r){return(new M).fromJson(t,r)}static fromJsonString(t,r){return(new M).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(M,t,r)}static $(){return["EditError|1 path 9|2 error 9|5 model_visible_error 9?"]}}class U extends I{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new U).fromBinary(t,r)}static fromJson(t,r){return(new U).fromJson(t,r)}static fromJsonString(t,r){return(new U).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(U,t,r)}static $(){return["EditToolCall|1 args #0|2 result #1",E,A]}}var N=e("../proto/dist/generated/agent/v1/ls_exec_pb.js");class L extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class D extends L{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new D).fromBinary(t,r)}static fromJson(t,r){return(new D).fromJson(t,r)}static fromJsonString(t,r){return(new D).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(D,t,r)}static $(){return["LsToolCall|1 args #0|2 result #1",N.xe,N.fv]}}var F=e("../proto/dist/generated/agent/v1/diagnostics_exec_pb.js"),W=e("../proto/dist/generated/agent/v1/utils_pb.js");class z extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class G extends z{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new G).fromBinary(t,r)}static fromJson(t,r){return(new G).fromJson(t,r)}static fromJsonString(t,r){return(new G).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(G,t,r)}static $(){return["ReadLintsToolCall|1 args #0|2 result #1",H,V]}}class H extends z{constructor(t){super(),this.paths=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new H).fromBinary(t,r)}static fromJson(t,r){return(new H).fromJson(t,r)}static fromJsonString(t,r){return(new H).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(H,t,r)}static $(){return["ReadLintsToolArgs|1 paths 9*"]}}class V extends z{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new V).fromBinary(t,r)}static fromJson(t,r){return(new V).fromJson(t,r)}static fromJsonString(t,r){return(new V).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(V,t,r)}static $(){return["ReadLintsToolResult|1 success #0 result|2 error #1 result",K,Z]}}class K extends z{constructor(t){super(),this.fileDiagnostics=[],this.totalFiles=0,this.totalDiagnostics=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new K).fromBinary(t,r)}static fromJson(t,r){return(new K).fromJson(t,r)}static fromJsonString(t,r){return(new K).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(K,t,r)}static $(){return["ReadLintsToolSuccess|1 file_diagnostics #0*|2 total_files 5|3 total_diagnostics 5",Q]}}class Q extends z{constructor(t){super(),this.path="",this.diagnostics=[],this.diagnosticsCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Q).fromBinary(t,r)}static fromJson(t,r){return(new Q).fromJson(t,r)}static fromJsonString(t,r){return(new Q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Q,t,r)}static $(){return["FileDiagnostics|1 path 9|2 diagnostics #0*|3 diagnostics_count 5",Y]}}class Y extends z{constructor(t){super(),this.severity=F.h_.UNSPECIFIED,this.message="",this.source="",this.code="",this.isStale=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Y).fromBinary(t,r)}static fromJson(t,r){return(new Y).fromJson(t,r)}static fromJsonString(t,r){return(new Y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Y,t,r)}static $(){return["DiagnosticItem|1 severity #0|2 range #1|3 message 9|4 source 9|5 code 9|6 is_stale 8",F.h_,X]}}class X extends z{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new X).fromBinary(t,r)}static fromJson(t,r){return(new X).fromJson(t,r)}static fromJsonString(t,r){return(new X).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(X,t,r)}static $(){return["DiagnosticRange|1 start #0|2 end #0",W.yX]}}class Z extends z{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Z).fromBinary(t,r)}static fromJson(t,r){return(new Z).fromJson(t,r)}static fromJsonString(t,r){return(new Z).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Z,t,r)}static $(){return["ReadLintsToolError|1 error_message 9"]}}var tt=e("../proto/dist/generated/agent/v1/mcp_exec_pb.js");class rt extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class et extends rt{constructor(t){super(),this.error="",this.readToolDefReminder="",this.systemReminders=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new et).fromBinary(t,r)}static fromJson(t,r){return(new et).fromJson(t,r)}static fromJsonString(t,r){return(new et).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(et,t,r)}static $(){return["McpToolError|1 error 9|2 read_tool_def_reminder 9|3 system_reminders #0*",tt.Kp]}}class st extends rt{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new st).fromBinary(t,r)}static fromJson(t,r){return(new st).fromJson(t,r)}static fromJsonString(t,r){return(new st).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(st,t,r)}static $(){return["McpToolResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 permission_denied #3 result",tt.QW,et,tt.xo,tt.HQ]}}class nt extends rt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new nt).fromBinary(t,r)}static fromJson(t,r){return(new nt).fromJson(t,r)}static fromJsonString(t,r){return(new nt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(nt,t,r)}static $(){return["McpToolCall|1 args #0|2 result #1|3 description 9?",tt.E_,st]}}var ot=e("../proto/dist/generated/aiserver/v1/repository_pb.js");class it extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class at extends it{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new at).fromBinary(t,r)}static fromJson(t,r){return(new at).fromJson(t,r)}static fromJsonString(t,r){return(new at).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(at,t,r)}static $(){return["SemSearchToolCall|1 args #0|2 result #1",ut,lt]}}class ut extends it{constructor(t){super(),this.query="",this.targetDirectories=[],this.explanation="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ut).fromBinary(t,r)}static fromJson(t,r){return(new ut).fromJson(t,r)}static fromJsonString(t,r){return(new ut).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ut,t,r)}static $(){return["SemSearchToolArgs|1 query 9|2 target_directories 9*|3 explanation 9"]}}class lt extends it{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new lt).fromBinary(t,r)}static fromJson(t,r){return(new lt).fromJson(t,r)}static fromJsonString(t,r){return(new lt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(lt,t,r)}static $(){return["SemSearchToolResult|1 success #0 result|2 error #1 result",ct,mt]}}class ct extends it{constructor(t){super(),this.results="",this.codeResults=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ct).fromBinary(t,r)}static fromJson(t,r){return(new ct).fromJson(t,r)}static fromJsonString(t,r){return(new ct).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ct,t,r)}static $(){return["SemSearchToolSuccess|1 results 9|2 code_results #0*",ot.PT]}}class mt extends it{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mt).fromBinary(t,r)}static fromJson(t,r){return(new mt).fromJson(t,r)}static fromJsonString(t,r){return(new mt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mt,t,r)}static $(){return["SemSearchToolError|1 error_message 9"]}}var dt=e("../proto/dist/generated/agent/v1/create_plan_tool_pb.js"),pt=e("../proto/dist/generated/agent/v1/web_search_tool_pb.js");class ft extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class ht extends ft{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ht).fromBinary(t,r)}static fromJson(t,r){return(new ht).fromJson(t,r)}static fromJsonString(t,r){return(new ht).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ht,t,r)}static $(){return["ListMcpResourcesToolCall|1 args #0|2 result #1",tt.kj,tt.kP]}}class _t extends ft{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _t).fromBinary(t,r)}static fromJson(t,r){return(new _t).fromJson(t,r)}static fromJsonString(t,r){return(new _t).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_t,t,r)}static $(){return["ReadMcpResourceToolCall|1 args #0|2 result #1",tt.DI,tt.ZD]}}var gt=e("../proto/dist/generated/agent/v1/apply_agent_diff_tool_pb.js"),jt=e("../proto/dist/generated/agent/v1/ask_question_tool_pb.js"),bt=e("../proto/dist/generated/agent/v1/fetch_exec_pb.js");class yt extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class wt extends yt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new wt).fromBinary(t,r)}static fromJson(t,r){return(new wt).fromJson(t,r)}static fromJsonString(t,r){return(new wt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(wt,t,r)}static $(){return["FetchToolCall|1 args #0|2 result #1",bt.UM,bt.uN]}}var xt=e("../proto/dist/generated/agent/v1/switch_mode_tool_pb.js"),Jt=e("../proto/dist/generated/agent/v1/generate_image_tool_pb.js"),St=e("../proto/dist/generated/agent/v1/record_screen_exec_pb.js");class vt extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Bt extends vt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Bt).fromBinary(t,r)}static fromJson(t,r){return(new Bt).fromJson(t,r)}static fromJsonString(t,r){return(new Bt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Bt,t,r)}static $(){return["RecordScreenToolCall|1 args #0|2 result #1",St.zH,St.Tj]}}var qt=e("../proto/dist/generated/agent/v1/computer_use_tool_pb.js"),Pt=e("../proto/dist/generated/agent/v1/background_shell_exec_pb.js");class Ot extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class It extends Ot{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new It).fromBinary(t,r)}static fromJson(t,r){return(new It).fromJson(t,r)}static fromJsonString(t,r){return(new It).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(It,t,r)}static $(){return["WriteShellStdinToolCall|1 args #0|2 result #1",Pt.LL,Pt.nt]}}class Et extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class At extends Et{constructor(t){super(),this.unexpectedActionOutcomes="",this.relevantInstructions="",this.scenarioAnalysis="",this.criticalSynthesis="",this.nextSteps="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new At).fromBinary(t,r)}static fromJson(t,r){return(new At).fromJson(t,r)}static fromJsonString(t,r){return(new At).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(At,t,r)}static $(){return["ReflectArgs|1 unexpected_action_outcomes 9|2 relevant_instructions 9|3 scenario_analysis 9|4 critical_synthesis 9|5 next_steps 9|6 tool_call_id 9"]}}class kt extends Et{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new kt).fromBinary(t,r)}static fromJson(t,r){return(new kt).fromJson(t,r)}static fromJsonString(t,r){return(new kt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(kt,t,r)}static $(){return["ReflectResult|1 success #0 result|2 error #1 result",$t,Tt]}}class $t extends Et{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $t).fromBinary(t,r)}static fromJson(t,r){return(new $t).fromJson(t,r)}static fromJsonString(t,r){return(new $t).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($t,t,r)}static $(){return["ReflectSuccess"]}}class Tt extends Et{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Tt).fromBinary(t,r)}static fromJson(t,r){return(new Tt).fromJson(t,r)}static fromJsonString(t,r){return(new Tt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Tt,t,r)}static $(){return["ReflectError|1 error 9"]}}class Ct extends Et{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ct).fromBinary(t,r)}static fromJson(t,r){return(new Ct).fromJson(t,r)}static fromJsonString(t,r){return(new Ct).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ct,t,r)}static $(){return["ReflectToolCall|1 args #0|2 result #1",At,kt]}}var Rt=e("../proto/dist/generated/agent/v1/setup_vm_environment_tool_pb.js");class Mt extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Ut extends Mt{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ut).fromBinary(t,r)}static fromJson(t,r){return(new Ut).fromJson(t,r)}static fromJsonString(t,r){return(new Ut).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ut,t,r)}static $(){return["StartGrindExecutionArgs|1 explanation 9?|2 tool_call_id 9"]}}class Nt extends Mt{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Nt).fromBinary(t,r)}static fromJson(t,r){return(new Nt).fromJson(t,r)}static fromJsonString(t,r){return(new Nt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Nt,t,r)}static $(){return["StartGrindExecutionResult|1 success #0 result|2 error #1 result",Lt,Dt]}}class Lt extends Mt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Lt).fromBinary(t,r)}static fromJson(t,r){return(new Lt).fromJson(t,r)}static fromJsonString(t,r){return(new Lt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Lt,t,r)}static $(){return["StartGrindExecutionSuccess"]}}class Dt extends Mt{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Dt).fromBinary(t,r)}static fromJson(t,r){return(new Dt).fromJson(t,r)}static fromJsonString(t,r){return(new Dt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Dt,t,r)}static $(){return["StartGrindExecutionError|1 error 9"]}}class Ft extends Mt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ft).fromBinary(t,r)}static fromJson(t,r){return(new Ft).fromJson(t,r)}static fromJsonString(t,r){return(new Ft).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ft,t,r)}static $(){return["StartGrindExecutionToolCall|1 args #0|2 result #1",Ut,Nt]}}class Wt extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class zt extends Wt{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zt).fromBinary(t,r)}static fromJson(t,r){return(new zt).fromJson(t,r)}static fromJsonString(t,r){return(new zt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zt,t,r)}static $(){return["StartGrindPlanningArgs|1 explanation 9?|2 tool_call_id 9"]}}class Gt extends Wt{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Gt).fromBinary(t,r)}static fromJson(t,r){return(new Gt).fromJson(t,r)}static fromJsonString(t,r){return(new Gt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Gt,t,r)}static $(){return["StartGrindPlanningResult|1 success #0 result|2 error #1 result",Ht,Vt]}}class Ht extends Wt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ht).fromBinary(t,r)}static fromJson(t,r){return(new Ht).fromJson(t,r)}static fromJsonString(t,r){return(new Ht).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ht,t,r)}static $(){return["StartGrindPlanningSuccess"]}}class Vt extends Wt{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vt).fromBinary(t,r)}static fromJson(t,r){return(new Vt).fromJson(t,r)}static fromJsonString(t,r){return(new Vt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vt,t,r)}static $(){return["StartGrindPlanningError|1 error 9"]}}class Kt extends Wt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Kt).fromBinary(t,r)}static fromJson(t,r){return(new Kt).fromJson(t,r)}static fromJsonString(t,r){return(new Kt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Kt,t,r)}static $(){return["StartGrindPlanningToolCall|1 args #0|2 result #1",zt,Gt]}}var Qt=e("../proto/dist/generated/agent/v1/web_fetch_tool_pb.js"),Yt=e("../proto/dist/generated/agent/v1/report_bugfix_results_tool_pb.js"),Xt=e("../proto/dist/generated/agent/v1/ai_attribution_tool_pb.js"),Zt=e("../proto/dist/generated/agent/v1/pr_management_tool_pb.js"),tr=e("../proto/dist/generated/agent/v1/mcp_auth_tool_pb.js");class rr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class er extends rr{constructor(t){super(),this.taskId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new er).fromBinary(t,r)}static fromJson(t,r){return(new er).fromJson(t,r)}static fromJsonString(t,r){return(new er).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(er,t,r)}static $(){return["AwaitArgs|1 task_id 9|2 block_until_ms 13?|3 regex 9?"]}}class sr extends rr{constructor(t){super(),this.taskId="",this.runtimeMs=s.protoInt64.zero,this.outputFilePath="",this.outputLength=s.protoInt64.zero,this.regexRequested=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new sr).fromBinary(t,r)}static fromJson(t,r){return(new sr).fromJson(t,r)}static fromJsonString(t,r){return(new sr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(sr,t,r)}static $(){return["AwaitTaskComplete|1 task_id 9|2 runtime_ms 4|3 output_file_path 9|4 output_length 4|5 regex_requested 8|6 regex_match 9?|7 exit_code 17?|8 wake_reason 9?"]}}class nr extends rr{constructor(t){super(),this.taskId="",this.runtimeMs=s.protoInt64.zero,this.outputFilePath="",this.outputLength=s.protoInt64.zero,this.regexRequested=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new nr).fromBinary(t,r)}static fromJson(t,r){return(new nr).fromJson(t,r)}static fromJsonString(t,r){return(new nr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(nr,t,r)}static $(){return["AwaitTaskStillRunning|1 task_id 9|2 runtime_ms 4|3 output_file_path 9|4 output_length 4|5 regex_requested 8|6 regex_match 9?|7 wake_reason 9?"]}}class or extends rr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new or).fromBinary(t,r)}static fromJson(t,r){return(new or).fromJson(t,r)}static fromJsonString(t,r){return(new or).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(or,t,r)}static $(){return["AwaitError|1 error 9"]}}class ir extends rr{constructor(t){super(),this.awaitResult={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ir).fromBinary(t,r)}static fromJson(t,r){return(new ir).fromJson(t,r)}static fromJsonString(t,r){return(new ir).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ir,t,r)}static $(){return["AwaitSuccess|1 complete #0 await_result|2 still_running #1 await_result",sr,nr]}}class ar extends rr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ar).fromBinary(t,r)}static fromJson(t,r){return(new ar).fromJson(t,r)}static fromJsonString(t,r){return(new ar).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ar,t,r)}static $(){return["AwaitResult|1 complete #0 result|2 still_running #1 result|3 error #2 result|4 success #3 result",sr,nr,or,ir]}}class ur extends rr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ur).fromBinary(t,r)}static fromJson(t,r){return(new ur).fromJson(t,r)}static fromJsonString(t,r){return(new ur).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ur,t,r)}static $(){return["AwaitToolCall|1 args #0|2 result #1",er,ar]}}class lr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class cr extends lr{constructor(t){super(),this.filePath="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new cr).fromBinary(t,r)}static fromJson(t,r){return(new cr).fromJson(t,r)}static fromJsonString(t,r){return(new cr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(cr,t,r)}static $(){return["BlameByFilePathArgs|1 file_path 9|2 start_line 5?|3 end_line 5?"]}}class mr extends lr{constructor(t){super(),this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mr).fromBinary(t,r)}static fromJson(t,r){return(new mr).fromJson(t,r)}static fromJsonString(t,r){return(new mr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mr,t,r)}static $(){return["BlameByFilePathSuccess|1 content 9"]}}class dr extends lr{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new dr).fromBinary(t,r)}static fromJson(t,r){return(new dr).fromJson(t,r)}static fromJsonString(t,r){return(new dr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(dr,t,r)}static $(){return["BlameByFilePathError|1 error_message 9"]}}class pr extends lr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new pr).fromBinary(t,r)}static fromJson(t,r){return(new pr).fromJson(t,r)}static fromJsonString(t,r){return(new pr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(pr,t,r)}static $(){return["BlameByFilePathResult|1 success #0 result|2 error #1 result",mr,dr]}}class fr extends lr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new fr).fromBinary(t,r)}static fromJson(t,r){return(new fr).fromJson(t,r)}static fromJsonString(t,r){return(new fr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(fr,t,r)}static $(){return["BlameByFilePathToolCall|1 args #0|2 result #1",cr,pr]}}class hr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class _r extends hr{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _r).fromBinary(t,r)}static fromJson(t,r){return(new _r).fromJson(t,r)}static fromJsonString(t,r){return(new _r).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_r,t,r)}static $(){return["GetMcpToolsArgs|1 server 9?|2 tool_name 9?|3 pattern 9?|4 tool_call_id 9"]}}class gr extends hr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new gr).fromBinary(t,r)}static fromJson(t,r){return(new gr).fromJson(t,r)}static fromJsonString(t,r){return(new gr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(gr,t,r)}static $(){return["GetMcpToolsAgentResult|1 success #0 result|2 error #1 result",jr,br]}}class jr extends hr{constructor(t){super(),this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new jr).fromBinary(t,r)}static fromJson(t,r){return(new jr).fromJson(t,r)}static fromJsonString(t,r){return(new jr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(jr,t,r)}static $(){return["GetMcpToolsSuccess|1 content 9|2 output_file_path 9?"]}}class br extends hr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new br).fromBinary(t,r)}static fromJson(t,r){return(new br).fromJson(t,r)}static fromJsonString(t,r){return(new br).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(br,t,r)}static $(){return["GetMcpToolsError|1 error 9"]}}class yr extends hr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new yr).fromBinary(t,r)}static fromJson(t,r){return(new yr).fromJson(t,r)}static fromJsonString(t,r){return(new yr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(yr,t,r)}static $(){return["GetMcpToolsToolCall|1 args #0|2 result #1",_r,gr]}}class wr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class xr extends wr{constructor(t){super(),this.title="",this.file="",this.startLine=0,this.endLine=0,this.description="",this.severity="",this.category="",this.rationale="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new xr).fromBinary(t,r)}static fromJson(t,r){return(new xr).fromJson(t,r)}static fromJsonString(t,r){return(new xr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(xr,t,r)}static $(){return["ReportBugArgs|1 title 9|2 file 9|3 start_line 5|4 end_line 5|5 description 9|6 severity 9|7 category 9|8 rationale 9"]}}class Jr extends wr{constructor(t){super(),this.output="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Jr).fromBinary(t,r)}static fromJson(t,r){return(new Jr).fromJson(t,r)}static fromJsonString(t,r){return(new Jr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Jr,t,r)}static $(){return["ReportBugSuccess|1 output 9"]}}class Sr extends wr{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Sr).fromBinary(t,r)}static fromJson(t,r){return(new Sr).fromJson(t,r)}static fromJsonString(t,r){return(new Sr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Sr,t,r)}static $(){return["ReportBugError|1 error_message 9"]}}class vr extends wr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new vr).fromBinary(t,r)}static fromJson(t,r){return(new vr).fromJson(t,r)}static fromJsonString(t,r){return(new vr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(vr,t,r)}static $(){return["ReportBugResult|1 success #0 result|2 error #1 result",Jr,Sr]}}class Br extends wr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Br).fromBinary(t,r)}static fromJson(t,r){return(new Br).fromJson(t,r)}static fromJsonString(t,r){return(new Br).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Br,t,r)}static $(){return["ReportBugToolCall|1 args #0|2 result #1",xr,vr]}}class qr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Pr extends qr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Pr).fromBinary(t,r)}static fromJson(t,r){return(new Pr).fromJson(t,r)}static fromJsonString(t,r){return(new Pr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Pr,t,r)}static $(){return["CommunicateUpdateArgs|1 current_step 9?|3 final_summary 9?|4 completed_subtitle 9?"]}}class Or extends qr{constructor(t){super(),this.currentStep="",this.messageIndex=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Or).fromBinary(t,r)}static fromJson(t,r){return(new Or).fromJson(t,r)}static fromJsonString(t,r){return(new Or).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Or,t,r)}static $(){return["CommunicateUpdateSuccess|1 current_step 9|3 message_index 13"]}}class Ir extends qr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ir).fromBinary(t,r)}static fromJson(t,r){return(new Ir).fromJson(t,r)}static fromJsonString(t,r){return(new Ir).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ir,t,r)}static $(){return["CommunicateUpdateError|1 error 9"]}}class Er extends qr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Er).fromBinary(t,r)}static fromJson(t,r){return(new Er).fromJson(t,r)}static fromJsonString(t,r){return(new Er).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Er,t,r)}static $(){return["CommunicateUpdateResult|1 success #0 result|2 error #1 result",Or,Ir]}}class Ar extends qr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ar).fromBinary(t,r)}static fromJson(t,r){return(new Ar).fromJson(t,r)}static fromJsonString(t,r){return(new Ar).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ar,t,r)}static $(){return["CommunicateUpdateToolCall|1 args #0|2 result #1",Pr,Er]}}class kr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class $r extends kr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $r).fromBinary(t,r)}static fromJson(t,r){return(new $r).fromJson(t,r)}static fromJsonString(t,r){return(new $r).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($r,t,r)}static $(){return["SendFinalSummaryArgs|1 final_summary 9?"]}}class Tr extends kr{constructor(t){super(),this.finalSummary="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Tr).fromBinary(t,r)}static fromJson(t,r){return(new Tr).fromJson(t,r)}static fromJsonString(t,r){return(new Tr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Tr,t,r)}static $(){return["SendFinalSummarySuccess|1 final_summary 9"]}}class Cr extends kr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Cr).fromBinary(t,r)}static fromJson(t,r){return(new Cr).fromJson(t,r)}static fromJsonString(t,r){return(new Cr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Cr,t,r)}static $(){return["SendFinalSummaryError|1 error 9"]}}class Rr extends kr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Rr).fromBinary(t,r)}static fromJson(t,r){return(new Rr).fromJson(t,r)}static fromJsonString(t,r){return(new Rr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Rr,t,r)}static $(){return["SendFinalSummaryResult|1 success #0 result|2 error #1 result",Tr,Cr]}}class Mr extends kr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Mr).fromBinary(t,r)}static fromJson(t,r){return(new Mr).fromJson(t,r)}static fromJsonString(t,r){return(new Mr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Mr,t,r)}static $(){return["SendFinalSummaryToolCall|1 args #0|2 result #1",$r,Rr]}}var Ur=e("../proto/dist/generated/agent/v1/replace_env_tool_pb.js");class Nr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Lr extends Nr{constructor(t){super(),this.toolCallId="",this.prUrl="",this.addLabels=[],this.removeLabels=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Lr).fromBinary(t,r)}static fromJson(t,r){return(new Lr).fromJson(t,r)}static fromJsonString(t,r){return(new Lr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Lr,t,r)}static $(){return["EditPrLabelsArgs|1 tool_call_id 9|2 pr_url 9|4 add_labels 9*|5 remove_labels 9*"]}}class Dr extends Nr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Dr).fromBinary(t,r)}static fromJson(t,r){return(new Dr).fromJson(t,r)}static fromJsonString(t,r){return(new Dr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Dr,t,r)}static $(){return["EditPrLabelsResult|1 success #0 result|2 error #1 result",Fr,Wr]}}class Fr extends Nr{constructor(t){super(),this.prUrl="",this.prNumber=0,this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fr).fromBinary(t,r)}static fromJson(t,r){return(new Fr).fromJson(t,r)}static fromJsonString(t,r){return(new Fr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fr,t,r)}static $(){return["EditPrLabelsSuccess|1 pr_url 9|2 pr_number 5|3 message 9"]}}class Wr extends Nr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Wr).fromBinary(t,r)}static fromJson(t,r){return(new Wr).fromJson(t,r)}static fromJsonString(t,r){return(new Wr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Wr,t,r)}static $(){return["EditPrLabelsError|1 error 9"]}}class zr extends Nr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zr).fromBinary(t,r)}static fromJson(t,r){return(new zr).fromJson(t,r)}static fromJsonString(t,r){return(new zr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zr,t,r)}static $(){return["EditPrLabelsToolCall|1 args #0|2 result #1",Lr,Dr]}}class Gr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Hr extends Gr{constructor(t){super(),this.checkName="",this.tldr="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Hr).fromBinary(t,r)}static fromJson(t,r){return(new Hr).fromJson(t,r)}static fromJsonString(t,r){return(new Hr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Hr,t,r)}static $(){return["RecordCiInvestigationFinding|1 check_name 9|2 details_url 9?|3 tldr 9|4 root_cause 9?|5 failing_signal 9?|6 suggested_next_step 9?|7 diff_relation 9?|8 diff_relation_evidence 9?|9 flake_assessment 9?|10 flake_evidence 9?|11 rerun_available 8?|12 rerun_evidence 9?|13 recommended_action 9?|14 recommended_action_evidence 9?|15 confidence 9?"]}}class Vr extends Gr{constructor(t){super(),this.summary="",this.themes=[],this.checkKeys=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vr).fromBinary(t,r)}static fromJson(t,r){return(new Vr).fromJson(t,r)}static fromJsonString(t,r){return(new Vr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vr,t,r)}static $(){return["RecordCiInvestigationOverall|1 summary 9|2 themes 9*|3 recommended_action 9?|4 recommended_action_evidence 9?|5 check_keys 9*"]}}class Kr extends Gr{constructor(t){super(),this.findings=[],this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Kr).fromBinary(t,r)}static fromJson(t,r){return(new Kr).fromJson(t,r)}static fromJsonString(t,r){return(new Kr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Kr,t,r)}static $(){return["RecordCiInvestigationFindingsArgs|1 findings #0*|2 overall #1?|3 tool_call_id 9",Hr,Vr]}}class Qr extends Gr{constructor(t){super(),this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qr).fromBinary(t,r)}static fromJson(t,r){return(new Qr).fromJson(t,r)}static fromJsonString(t,r){return(new Qr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qr,t,r)}static $(){return["RecordCiInvestigationFindingsSuccess|1 message 9"]}}class Yr extends Gr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Yr).fromBinary(t,r)}static fromJson(t,r){return(new Yr).fromJson(t,r)}static fromJsonString(t,r){return(new Yr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Yr,t,r)}static $(){return["RecordCiInvestigationFindingsError|1 error 9"]}}class Xr extends Gr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xr).fromBinary(t,r)}static fromJson(t,r){return(new Xr).fromJson(t,r)}static fromJsonString(t,r){return(new Xr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xr,t,r)}static $(){return["RecordCiInvestigationFindingsResult|1 success #0 result|2 error #1 result",Qr,Yr]}}class Zr extends Gr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Zr).fromBinary(t,r)}static fromJson(t,r){return(new Zr).fromJson(t,r)}static fromJsonString(t,r){return(new Zr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Zr,t,r)}static $(){return["RecordCiInvestigationFindingsToolCall|1 args #0|2 result #1",Kr,Xr]}}class te extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class re extends te{constructor(t){super(),this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new re).fromBinary(t,r)}static fromJson(t,r){return(new re).fromJson(t,r)}static fromJsonString(t,r){return(new re).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(re,t,r)}static $(){return["SendMessageText|1 content 9"]}}class ee extends te{constructor(t){super(),this.url="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ee).fromBinary(t,r)}static fromJson(t,r){return(new ee).fromJson(t,r)}static fromJsonString(t,r){return(new ee).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ee,t,r)}static $(){return["SendMessageAttachment|1 url 9|2 alt 9?"]}}class se extends te{constructor(t){super(),this.message={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new se).fromBinary(t,r)}static fromJson(t,r){return(new se).fromJson(t,r)}static fromJsonString(t,r){return(new se).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(se,t,r)}static $(){return["SendMessageArgs|1 text #0 message|2 attachment #1 message|3 reply_to 9?|4 replace_previous_message 8?",re,ee]}}class ne extends te{constructor(t){super(),this.timestamp=s.protoInt64.zero,this.messageId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ne).fromBinary(t,r)}static fromJson(t,r){return(new ne).fromJson(t,r)}static fromJsonString(t,r){return(new ne).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ne,t,r)}static $(){return["SendMessageSuccess|1 timestamp 4|2 message_id 9"]}}class oe extends te{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new oe).fromBinary(t,r)}static fromJson(t,r){return(new oe).fromJson(t,r)}static fromJsonString(t,r){return(new oe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(oe,t,r)}static $(){return["SendMessageError|1 error 9"]}}class ie extends te{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ie).fromBinary(t,r)}static fromJson(t,r){return(new ie).fromJson(t,r)}static fromJsonString(t,r){return(new ie).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ie,t,r)}static $(){return["SendMessageResult|1 success #0 result|2 error #1 result",ne,oe]}}class ae extends te{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ae).fromBinary(t,r)}static fromJson(t,r){return(new ae).fromJson(t,r)}static fromJsonString(t,r){return(new ae).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ae,t,r)}static $(){return["SendMessageToolCall|1 args #0|2 result #1",se,ie]}}class ue extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class le extends ue{constructor(t){super(),this.bcIds=[],this.sources=[],this.statuses=[],this.includeTeamWide=!1,this.includeArchived=!1,this.includeTranscript=!1,this.activeSince="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new le).fromBinary(t,r)}static fromJson(t,r){return(new le).fromJson(t,r)}static fromJsonString(t,r){return(new le).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(le,t,r)}static $(){return["FetchCloudAgentDataArgs|4 bc_ids 9*|6 sources 9*|7 statuses 9*|8 include_team_wide 8|9 include_archived 8|10 limit 5?|12 include_transcript 8|13 active_since 9"]}}class ce extends ue{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ce).fromBinary(t,r)}static fromJson(t,r){return(new ce).fromJson(t,r)}static fromJsonString(t,r){return(new ce).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ce,t,r)}static $(){return["FetchCloudAgentDataResult|1 success #0 result|2 error #1 result",me,de]}}class me extends ue{constructor(t){super(),this.summary="",this.agentCount=0,this.writtenPaths=[],this.unavailableBcIds=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new me).fromBinary(t,r)}static fromJson(t,r){return(new me).fromJson(t,r)}static fromJsonString(t,r){return(new me).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(me,t,r)}static $(){return["FetchCloudAgentDataSuccess|1 summary 9|2 agent_count 5|3 written_paths 9*|4 unavailable_bc_ids 9*"]}}class de extends ue{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new de).fromBinary(t,r)}static fromJson(t,r){return(new de).fromJson(t,r)}static fromJsonString(t,r){return(new de).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(de,t,r)}static $(){return["FetchCloudAgentDataError|1 error 9"]}}class pe extends ue{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new pe).fromBinary(t,r)}static fromJson(t,r){return(new pe).fromJson(t,r)}static fromJsonString(t,r){return(new pe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(pe,t,r)}static $(){return["FetchCloudAgentDataToolCall|1 args #0|2 result #1",le,ce]}}class fe extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class he extends fe{constructor(t){super(),this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new he).fromBinary(t,r)}static fromJson(t,r){return(new he).fromJson(t,r)}static fromJsonString(t,r){return(new he).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(he,t,r)}static $(){return["SendToUserArgs|1 message 9"]}}class _e extends fe{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _e).fromBinary(t,r)}static fromJson(t,r){return(new _e).fromJson(t,r)}static fromJsonString(t,r){return(new _e).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_e,t,r)}static $(){return["SendToUserSuccess"]}}class ge extends fe{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ge).fromBinary(t,r)}static fromJson(t,r){return(new ge).fromJson(t,r)}static fromJsonString(t,r){return(new ge).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ge,t,r)}static $(){return["SendToUserError|1 error 9"]}}class je extends fe{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new je).fromBinary(t,r)}static fromJson(t,r){return(new je).fromJson(t,r)}static fromJsonString(t,r){return(new je).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(je,t,r)}static $(){return["SendToUserResult|1 success #0 result|2 error #1 result",_e,ge]}}class be extends fe{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new be).fromBinary(t,r)}static fromJson(t,r){return(new be).fromJson(t,r)}static fromJsonString(t,r){return(new be).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(be,t,r)}static $(){return["SendToUserToolCall|1 args #0|2 result #1",he,je]}}var ye=e("../proto/dist/generated/agent/v1/connect_scm_tool_pb.js"),we=e("../proto/dist/generated/agent/v1/conversation_search_exec_pb.js");class xe extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Je extends xe{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Je).fromBinary(t,r)}static fromJson(t,r){return(new Je).fromJson(t,r)}static fromJsonString(t,r){return(new Je).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Je,t,r)}static $(){return["SearchConversationsToolCall|1 args #0|2 result #1",we.$m,we.pT]}}const Se="agent.v1.";class ve extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return Se}}var Be=(0,i.QT)(s.proto3,Se,"GoalStatus",[[0,"UNSPECIFIED"],[1,"ACTIVE"],[2,"PAUSED"],[3,"COMPLETE"],[4,"CLEARED"]],1);class qe extends ve{constructor(t){super(),this.objective="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new qe).fromBinary(t,r)}static fromJson(t,r){return(new qe).fromJson(t,r)}static fromJsonString(t,r){return(new qe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(qe,t,r)}static $(){return["CreateGoalArgs|1 objective 9"]}}class Pe extends ve{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Pe).fromBinary(t,r)}static fromJson(t,r){return(new Pe).fromJson(t,r)}static fromJsonString(t,r){return(new Pe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Pe,t,r)}static $(){return["CreateGoalSuccess"]}}class Oe extends ve{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Oe).fromBinary(t,r)}static fromJson(t,r){return(new Oe).fromJson(t,r)}static fromJsonString(t,r){return(new Oe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Oe,t,r)}static $(){return["GoalError|1 error 9"]}}class Ie extends ve{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ie).fromBinary(t,r)}static fromJson(t,r){return(new Ie).fromJson(t,r)}static fromJsonString(t,r){return(new Ie).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ie,t,r)}static $(){return["CreateGoalResult|1 success #0 result|2 error #1 result",Pe,Oe]}}class Ee extends ve{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ee).fromBinary(t,r)}static fromJson(t,r){return(new Ee).fromJson(t,r)}static fromJsonString(t,r){return(new Ee).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ee,t,r)}static $(){return["CreateGoalToolCall|1 args #0|2 result #1",qe,Ie]}}class Ae extends ve{constructor(t){super(),this.status=Be.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ae).fromBinary(t,r)}static fromJson(t,r){return(new Ae).fromJson(t,r)}static fromJsonString(t,r){return(new Ae).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ae,t,r)}static $(){return["UpdateGoalArgs|1 status #0",Be]}}class ke extends ve{constructor(t){super(),this.status=Be.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ke).fromBinary(t,r)}static fromJson(t,r){return(new ke).fromJson(t,r)}static fromJsonString(t,r){return(new ke).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ke,t,r)}static $(){return["UpdateGoalSuccess|1 status #0",Be]}}class $e extends ve{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $e).fromBinary(t,r)}static fromJson(t,r){return(new $e).fromJson(t,r)}static fromJsonString(t,r){return(new $e).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($e,t,r)}static $(){return["UpdateGoalResult|1 success #0 result|2 error #1 result",ke,Oe]}}class Te extends ve{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Te).fromBinary(t,r)}static fromJson(t,r){return(new Te).fromJson(t,r)}static fromJsonString(t,r){return(new Te).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Te,t,r)}static $(){return["UpdateGoalToolCall|1 args #0|2 result #1",Ae,$e]}}const Ce="agent.v1.";class Re extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return Ce}}var Me=(0,i.QT)(s.proto3,Ce,"CreateAgentPlacementApprovalState",[[0,"UNSPECIFIED"],[1,"REQUIRED"],[2,"DENIED"]],1);class Ue extends Re{constructor(t){super(),this.toolCallId="",this.agentIds=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ue).fromBinary(t,r)}static fromJson(t,r){return(new Ue).fromJson(t,r)}static fromJsonString(t,r){return(new Ue).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ue,t,r)}static $(){return["GetAgentStatusArgs|1 tool_call_id 9|2 agent_ids 9*"]}}class Ne extends Re{constructor(t){super(),this.bcId="",this.name="",this.lifecycle="",this.turnInFlight=!1,this.lastTerminalTurnStatus="",this.prUrl="",this.lastActivityAtMs=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ne).fromBinary(t,r)}static fromJson(t,r){return(new Ne).fromJson(t,r)}static fromJsonString(t,r){return(new Ne).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ne,t,r)}static $(){return["GetAgentStatusWorker|1 bc_id 9|2 name 9|3 lifecycle 9|4 turn_in_flight 8|5 last_terminal_turn_status 9|6 pr_url 9|7 last_activity_at_ms 4"]}}class Le extends Re{constructor(t){super(),this.workers=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Le).fromBinary(t,r)}static fromJson(t,r){return(new Le).fromJson(t,r)}static fromJsonString(t,r){return(new Le).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Le,t,r)}static $(){return["GetAgentStatusSuccess|1 workers #0*|2 message 9",Ne]}}class De extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new De).fromBinary(t,r)}static fromJson(t,r){return(new De).fromJson(t,r)}static fromJsonString(t,r){return(new De).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(De,t,r)}static $(){return["GetAgentStatusError|1 error 9"]}}class Fe extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fe).fromBinary(t,r)}static fromJson(t,r){return(new Fe).fromJson(t,r)}static fromJsonString(t,r){return(new Fe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fe,t,r)}static $(){return["GetAgentStatusResult|1 success #0 result|2 error #1 result",Le,De]}}class We extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new We).fromBinary(t,r)}static fromJson(t,r){return(new We).fromJson(t,r)}static fromJsonString(t,r){return(new We).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(We,t,r)}static $(){return["GetAgentStatusToolCall|1 args #0|2 result #1",Ue,Fe]}}class ze extends Re{constructor(t){super(),this.toolCallId="",this.agentId="",this.message="",this.delivery="",this.title="",this.trackedTaskKeys=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ze).fromBinary(t,r)}static fromJson(t,r){return(new ze).fromJson(t,r)}static fromJsonString(t,r){return(new ze).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ze,t,r)}static $(){return["SendToAgentArgs|1 tool_call_id 9|2 agent_id 9|3 message 9|4 delivery 9|5 title 9|6 model 9?|7 tracked_task_keys 9*"]}}class Ge extends Re{constructor(t){super(),this.workerBcId="",this.deliveredAs="",this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ge).fromBinary(t,r)}static fromJson(t,r){return(new Ge).fromJson(t,r)}static fromJsonString(t,r){return(new Ge).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ge,t,r)}static $(){return["SendToAgentSuccess|1 worker_bc_id 9|2 delivered_as 9|3 message 9|4 recipient #0?",He]}}class He extends Re{constructor(t){super(),this.kind=Ve.UNSPECIFIED,this.id="",this.displayName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new He).fromBinary(t,r)}static fromJson(t,r){return(new He).fromJson(t,r)}static fromJsonString(t,r){return(new He).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(He,t,r)}static $(){return["SendToAgentRecipient|1 kind #0|2 id 9|3 display_name 9",Ve]}}var Ve=(0,i.QT)(s.proto3,Ce,"SendToAgentRecipient.Kind",[[0,"UNSPECIFIED"],[1,"MAIN_BOT"],[2,"PROJECT_SESSION"]],1);class Ke extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ke).fromBinary(t,r)}static fromJson(t,r){return(new Ke).fromJson(t,r)}static fromJsonString(t,r){return(new Ke).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ke,t,r)}static $(){return["SendToAgentError|1 error 9"]}}class Qe extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qe).fromBinary(t,r)}static fromJson(t,r){return(new Qe).fromJson(t,r)}static fromJsonString(t,r){return(new Qe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qe,t,r)}static $(){return["SendToAgentResult|1 success #0 result|2 error #1 result",Ge,Ke]}}class Ye extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ye).fromBinary(t,r)}static fromJson(t,r){return(new Ye).fromJson(t,r)}static fromJsonString(t,r){return(new Ye).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ye,t,r)}static $(){return["SendToAgentToolCall|1 args #0|2 result #1",ze,Qe]}}class Xe extends Re{constructor(t){super(),this.toolCallId="",this.agentId="",this.mode="",this.maxTurns=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xe).fromBinary(t,r)}static fromJson(t,r){return(new Xe).fromJson(t,r)}static fromJsonString(t,r){return(new Xe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xe,t,r)}static $(){return["ReadAgentTranscriptArgs|1 tool_call_id 9|2 agent_id 9|3 mode 9|4 max_turns 13"]}}class Ze extends Re{constructor(t){super(),this.transcript="",this.truncated=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ze).fromBinary(t,r)}static fromJson(t,r){return(new Ze).fromJson(t,r)}static fromJsonString(t,r){return(new Ze).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ze,t,r)}static $(){return["ReadAgentTranscriptSuccess|1 transcript 9|2 truncated 8"]}}class ts extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ts).fromBinary(t,r)}static fromJson(t,r){return(new ts).fromJson(t,r)}static fromJsonString(t,r){return(new ts).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ts,t,r)}static $(){return["ReadAgentTranscriptError|1 error 9"]}}class rs extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new rs).fromBinary(t,r)}static fromJson(t,r){return(new rs).fromJson(t,r)}static fromJsonString(t,r){return(new rs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(rs,t,r)}static $(){return["ReadAgentTranscriptResult|1 success #0 result|2 error #1 result",Ze,ts]}}class es extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new es).fromBinary(t,r)}static fromJson(t,r){return(new es).fromJson(t,r)}static fromJsonString(t,r){return(new es).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(es,t,r)}static $(){return["ReadAgentTranscriptToolCall|1 args #0|2 result #1",Xe,rs]}}class ss extends Re{constructor(t){super(),this.toolCallId="",this.prompt="",this.labels={},this.trackedTaskKeys=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ss).fromBinary(t,r)}static fromJson(t,r){return(new ss).fromJson(t,r)}static fromJsonString(t,r){return(new ss).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ss,t,r)}static $(){return["CreateAgentArgs|1 tool_call_id 9|2 prompt 9|3 name 9?|4 model 9?|5 base_branch 9?|6 machine_type 9?|7 worker_id 9?|8 pool 9?|9 labels 9,9|10 environment_build_id 9?|11 environment_id 9?|12 repo_url 9?|13 tracked_task_keys 9*|14 fork_from 9?|15 fork_turns 13?"]}}class ns extends Re{constructor(t){super(),this.agentId="",this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ns).fromBinary(t,r)}static fromJson(t,r){return(new ns).fromJson(t,r)}static fromJsonString(t,r){return(new ns).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ns,t,r)}static $(){return["CreateAgentSuccess|1 agent_id 9|2 message 9"]}}class os extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new os).fromBinary(t,r)}static fromJson(t,r){return(new os).fromJson(t,r)}static fromJsonString(t,r){return(new os).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(os,t,r)}static $(){return["CreateAgentError|1 error 9|2 placement_approval_state #0?",Me]}}class is extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new is).fromBinary(t,r)}static fromJson(t,r){return(new is).fromJson(t,r)}static fromJsonString(t,r){return(new is).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(is,t,r)}static $(){return["CreateAgentResult|1 success #0 result|2 error #1 result",ns,os]}}class as extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new as).fromBinary(t,r)}static fromJson(t,r){return(new as).fromJson(t,r)}static fromJsonString(t,r){return(new as).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(as,t,r)}static $(){return["CreateAgentToolCall|1 args #0|2 result #1",ss,is]}}class us extends Re{constructor(t){super(),this.toolCallId="",this.prompt="",this.labels={},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new us).fromBinary(t,r)}static fromJson(t,r){return(new us).fromJson(t,r)}static fromJsonString(t,r){return(new us).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(us,t,r)}static $(){return["CreateProjectArgs|1 tool_call_id 9|2 prompt 9|3 name 9?|4 model 9?|5 base_branch 9?|6 machine_type 9?|7 worker_id 9?|8 pool 9?|9 labels 9,9|10 environment_build_id 9?|11 environment_id 9?|12 repo_url 9?"]}}class ls extends Re{constructor(t){super(),this.agentId="",this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ls).fromBinary(t,r)}static fromJson(t,r){return(new ls).fromJson(t,r)}static fromJsonString(t,r){return(new ls).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ls,t,r)}static $(){return["CreateProjectSuccess|1 agent_id 9|2 message 9"]}}class cs extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new cs).fromBinary(t,r)}static fromJson(t,r){return(new cs).fromJson(t,r)}static fromJsonString(t,r){return(new cs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(cs,t,r)}static $(){return["CreateProjectError|1 error 9|2 placement_approval_state #0?",Me]}}class ms extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ms).fromBinary(t,r)}static fromJson(t,r){return(new ms).fromJson(t,r)}static fromJsonString(t,r){return(new ms).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ms,t,r)}static $(){return["CreateProjectResult|1 success #0 result|2 error #1 result",ls,cs]}}class ds extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ds).fromBinary(t,r)}static fromJson(t,r){return(new ds).fromJson(t,r)}static fromJsonString(t,r){return(new ds).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ds,t,r)}static $(){return["CreateProjectToolCall|1 args #0|2 result #1",us,ms]}}class ps extends Re{constructor(t){super(),this.toolCallId="",this.agentId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ps).fromBinary(t,r)}static fromJson(t,r){return(new ps).fromJson(t,r)}static fromJsonString(t,r){return(new ps).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ps,t,r)}static $(){return["StartProjectUpdatesArgs|1 tool_call_id 9|2 agent_id 9"]}}class fs extends Re{constructor(t){super(),this.agentId="",this.untilMs=s.protoInt64.zero,this.wasOn=!1,this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new fs).fromBinary(t,r)}static fromJson(t,r){return(new fs).fromJson(t,r)}static fromJsonString(t,r){return(new fs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(fs,t,r)}static $(){return["StartProjectUpdatesSuccess|1 agent_id 9|2 until_ms 3|3 was_on 8|4 message 9"]}}class hs extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new hs).fromBinary(t,r)}static fromJson(t,r){return(new hs).fromJson(t,r)}static fromJsonString(t,r){return(new hs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(hs,t,r)}static $(){return["StartProjectUpdatesError|1 error 9"]}}class _s extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _s).fromBinary(t,r)}static fromJson(t,r){return(new _s).fromJson(t,r)}static fromJsonString(t,r){return(new _s).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_s,t,r)}static $(){return["StartProjectUpdatesResult|1 success #0 result|2 error #1 result",fs,hs]}}class gs extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new gs).fromBinary(t,r)}static fromJson(t,r){return(new gs).fromJson(t,r)}static fromJsonString(t,r){return(new gs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(gs,t,r)}static $(){return["StartProjectUpdatesToolCall|1 args #0|2 result #1",ps,_s]}}class js extends Re{constructor(t){super(),this.toolCallId="",this.agentId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new js).fromBinary(t,r)}static fromJson(t,r){return(new js).fromJson(t,r)}static fromJsonString(t,r){return(new js).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(js,t,r)}static $(){return["StopProjectUpdatesArgs|1 tool_call_id 9|2 agent_id 9"]}}class bs extends Re{constructor(t){super(),this.agentId="",this.wasOn=!1,this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new bs).fromBinary(t,r)}static fromJson(t,r){return(new bs).fromJson(t,r)}static fromJsonString(t,r){return(new bs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(bs,t,r)}static $(){return["StopProjectUpdatesSuccess|1 agent_id 9|2 was_on 8|3 message 9"]}}class ys extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ys).fromBinary(t,r)}static fromJson(t,r){return(new ys).fromJson(t,r)}static fromJsonString(t,r){return(new ys).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ys,t,r)}static $(){return["StopProjectUpdatesError|1 error 9"]}}class ws extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ws).fromBinary(t,r)}static fromJson(t,r){return(new ws).fromJson(t,r)}static fromJsonString(t,r){return(new ws).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ws,t,r)}static $(){return["StopProjectUpdatesResult|1 success #0 result|2 error #1 result",bs,ys]}}class xs extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new xs).fromBinary(t,r)}static fromJson(t,r){return(new xs).fromJson(t,r)}static fromJsonString(t,r){return(new xs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(xs,t,r)}static $(){return["StopProjectUpdatesToolCall|1 args #0|2 result #1",js,ws]}}class Js extends Re{constructor(t){super(),this.toolCallId="",this.agentId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Js).fromBinary(t,r)}static fromJson(t,r){return(new Js).fromJson(t,r)}static fromJsonString(t,r){return(new Js).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Js,t,r)}static $(){return["StopAgentArgs|1 tool_call_id 9|2 agent_id 9"]}}class Ss extends Re{constructor(t){super(),this.workerBcId="",this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ss).fromBinary(t,r)}static fromJson(t,r){return(new Ss).fromJson(t,r)}static fromJsonString(t,r){return(new Ss).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ss,t,r)}static $(){return["StopAgentSuccess|1 worker_bc_id 9|2 message 9"]}}class vs extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new vs).fromBinary(t,r)}static fromJson(t,r){return(new vs).fromJson(t,r)}static fromJsonString(t,r){return(new vs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(vs,t,r)}static $(){return["StopAgentError|1 error 9"]}}class Bs extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Bs).fromBinary(t,r)}static fromJson(t,r){return(new Bs).fromJson(t,r)}static fromJsonString(t,r){return(new Bs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Bs,t,r)}static $(){return["StopAgentResult|1 success #0 result|2 error #1 result",Ss,vs]}}class qs extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new qs).fromBinary(t,r)}static fromJson(t,r){return(new qs).fromJson(t,r)}static fromJsonString(t,r){return(new qs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(qs,t,r)}static $(){return["StopAgentToolCall|1 args #0|2 result #1",Js,Bs]}}class Ps extends Re{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ps).fromBinary(t,r)}static fromJson(t,r){return(new Ps).fromJson(t,r)}static fromJsonString(t,r){return(new Ps).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ps,t,r)}static $(){return["TrackedTaskDocumentInput|1 path 9|2 label 9?"]}}class Os extends Re{constructor(t){super(),this.url="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Os).fromBinary(t,r)}static fromJson(t,r){return(new Os).fromJson(t,r)}static fromJsonString(t,r){return(new Os).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Os,t,r)}static $(){return["TrackedTaskUrlInput|1 url 9|2 label 9?"]}}class Is extends Re{constructor(t){super(),this.target={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Is).fromBinary(t,r)}static fromJson(t,r){return(new Is).fromJson(t,r)}static fromJsonString(t,r){return(new Is).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Is,t,r)}static $(){return["TrackedTaskLinkInput|1 agent_id 9 target|2 pr_url 9 target|3 document #0 target|4 url #1 target",Ps,Os]}}class Es extends Re{constructor(t){super(),this.url="",this.openedByAgentId="",this.countsForCompletion=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Es).fromBinary(t,r)}static fromJson(t,r){return(new Es).fromJson(t,r)}static fromJsonString(t,r){return(new Es).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Es,t,r)}static $(){return["TrackedTaskPrLinkView|1 url 9|2 opened_by_agent_id 9|3 counts_for_completion 8"]}}class As extends Re{constructor(t){super(),this.target={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new As).fromBinary(t,r)}static fromJson(t,r){return(new As).fromJson(t,r)}static fromJsonString(t,r){return(new As).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(As,t,r)}static $(){return["TrackedTaskLinkView|1 agent_id 9 target|2 pr #0 target|3 document #1 target|4 url #2 target",Es,Ps,Os]}}class ks extends Re{constructor(t){super(),this.key="",this.title="",this.statusId="",this.statusLabel="",this.owner="",this.parentKey="",this.links=[],this.updatedAtMs=s.protoInt64.zero,this.ownerSessionId="",this.version=s.protoInt64.zero,this.tag="",this.internalNotes="",this.tags=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ks).fromBinary(t,r)}static fromJson(t,r){return(new ks).fromJson(t,r)}static fromJsonString(t,r){return(new ks).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ks,t,r)}static $(){return["TrackedTaskView|1 key 9|2 title 9|3 status_id 9|4 status_label 9|5 owner 9|6 parent_key 9|7 links #0*|8 updated_at_ms 4|9 owner_session_id 9|10 version 4|11 tag 9|12 internal_notes 9|13 tags 9*",As]}}class $s extends Re{constructor(t){super(),this.id="",this.label="",this.category="",this.taskCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $s).fromBinary(t,r)}static fromJson(t,r){return(new $s).fromJson(t,r)}static fromJsonString(t,r){return(new $s).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($s,t,r)}static $(){return["TrackedTaskStatusView|1 id 9|2 label 9|3 category 9|4 task_count 13"]}}class Ts extends Re{constructor(t){super(),this.id="",this.label="",this.color="",this.taskCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ts).fromBinary(t,r)}static fromJson(t,r){return(new Ts).fromJson(t,r)}static fromJsonString(t,r){return(new Ts).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ts,t,r)}static $(){return["TrackedTaskTagView|1 id 9|2 label 9|3 color 9|4 task_count 13"]}}class Cs extends Re{constructor(t){super(),this.name="",this.sessionId="",this.isYou=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Cs).fromBinary(t,r)}static fromJson(t,r){return(new Cs).fromJson(t,r)}static fromJsonString(t,r){return(new Cs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Cs,t,r)}static $(){return["TrackedTaskMemberView|1 name 9|2 session_id 9|3 is_you 8"]}}class Rs extends Re{constructor(t){super(),this.toolCallId="",this.keys=[],this.statusCategories=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Rs).fromBinary(t,r)}static fromJson(t,r){return(new Rs).fromJson(t,r)}static fromJsonString(t,r){return(new Rs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Rs,t,r)}static $(){return["ListTrackedTasksArgs|1 tool_call_id 9|2 keys 9*|3 status_categories 9*|4 owner 9?|5 linked_agent_id 9?|6 cursor 9?"]}}class Ms extends Re{constructor(t){super(),this.tasks=[],this.statuses=[],this.members=[],this.olderClosedCount=0,this.truncated=!1,this.matchingCount=0,this.message="",this.tags=[],this.nextCursor="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ms).fromBinary(t,r)}static fromJson(t,r){return(new Ms).fromJson(t,r)}static fromJsonString(t,r){return(new Ms).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ms,t,r)}static $(){return["ListTrackedTasksSuccess|1 tasks #0*|2 statuses #1*|3 members #2*|4 older_closed_count 13|5 truncated 8|6 matching_count 13|7 message 9|8 tags #3*|9 next_cursor 9",ks,$s,Cs,Ts]}}class Us extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Us).fromBinary(t,r)}static fromJson(t,r){return(new Us).fromJson(t,r)}static fromJsonString(t,r){return(new Us).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Us,t,r)}static $(){return["ListTrackedTasksError|1 error 9"]}}class Ns extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ns).fromBinary(t,r)}static fromJson(t,r){return(new Ns).fromJson(t,r)}static fromJsonString(t,r){return(new Ns).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ns,t,r)}static $(){return["ListTrackedTasksResult|1 success #0 result|2 error #1 result",Ms,Us]}}class Ls extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ls).fromBinary(t,r)}static fromJson(t,r){return(new Ls).fromJson(t,r)}static fromJsonString(t,r){return(new Ls).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ls,t,r)}static $(){return["ListTrackedTasksToolCall|1 args #0|2 result #1",Rs,Ns]}}class Ds extends Re{constructor(t){super(),this.title="",this.links=[],this.tags=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ds).fromBinary(t,r)}static fromJson(t,r){return(new Ds).fromJson(t,r)}static fromJsonString(t,r){return(new Ds).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ds,t,r)}static $(){return["NewTrackedTask|1 client_ref 9?|2 title 9|3 status 9?|4 owner 9?|5 parent 9?|6 links #0*|7 tag 9?|8 internal_notes 9?|9 tags 9*",Is]}}class Fs extends Re{constructor(t){super(),this.toolCallId="",this.tasks=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fs).fromBinary(t,r)}static fromJson(t,r){return(new Fs).fromJson(t,r)}static fromJsonString(t,r){return(new Fs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fs,t,r)}static $(){return["CreateTrackedTasksArgs|1 tool_call_id 9|2 tasks #0*",Ds]}}class Ws extends Re{constructor(t){super(),this.clientRef="",this.key="",this.version=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ws).fromBinary(t,r)}static fromJson(t,r){return(new Ws).fromJson(t,r)}static fromJsonString(t,r){return(new Ws).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ws,t,r)}static $(){return["TrackedTaskCreated|1 client_ref 9|2 key 9|3 version 4"]}}class zs extends Re{constructor(t){super(),this.created=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zs).fromBinary(t,r)}static fromJson(t,r){return(new zs).fromJson(t,r)}static fromJsonString(t,r){return(new zs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zs,t,r)}static $(){return["CreateTrackedTasksSuccess|1 created #0*|2 message 9",Ws]}}class Gs extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Gs).fromBinary(t,r)}static fromJson(t,r){return(new Gs).fromJson(t,r)}static fromJsonString(t,r){return(new Gs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Gs,t,r)}static $(){return["CreateTrackedTasksError|1 error 9"]}}class Hs extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Hs).fromBinary(t,r)}static fromJson(t,r){return(new Hs).fromJson(t,r)}static fromJsonString(t,r){return(new Hs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Hs,t,r)}static $(){return["CreateTrackedTasksResult|1 success #0 result|2 error #1 result",zs,Gs]}}class Vs extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vs).fromBinary(t,r)}static fromJson(t,r){return(new Vs).fromJson(t,r)}static fromJsonString(t,r){return(new Vs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vs,t,r)}static $(){return["CreateTrackedTasksToolCall|1 args #0|2 result #1",Fs,Hs]}}class Ks extends Re{constructor(t){super(),this.anchor={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ks).fromBinary(t,r)}static fromJson(t,r){return(new Ks).fromJson(t,r)}static fromJsonString(t,r){return(new Ks).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ks,t,r)}static $(){return["TrackedTaskPosition|1 before_key 9 anchor|2 after_key 9 anchor"]}}class Qs extends Re{constructor(t){super(),this.key="",this.addLinks=[],this.removeLinks=[],this.version=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qs).fromBinary(t,r)}static fromJson(t,r){return(new Qs).fromJson(t,r)}static fromJsonString(t,r){return(new Qs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qs,t,r)}static $(){return["TrackedTaskUpdate|1 key 9|2 title 9?|3 status 9?|4 owner 9?|5 parent 9?|6 position #0?|7 add_links #1*|8 remove_links #1*|9 version 4|10 tag 9?|11 internal_notes 9?|12 tags #2?",Ks,Is,Ys]}}class Ys extends Re{constructor(t){super(),this.ids=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ys).fromBinary(t,r)}static fromJson(t,r){return(new Ys).fromJson(t,r)}static fromJsonString(t,r){return(new Ys).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ys,t,r)}static $(){return["TrackedTaskTagIds|1 ids 9*"]}}class Xs extends Re{constructor(t){super(),this.toolCallId="",this.updates=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xs).fromBinary(t,r)}static fromJson(t,r){return(new Xs).fromJson(t,r)}static fromJsonString(t,r){return(new Xs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xs,t,r)}static $(){return["UpdateTrackedTasksArgs|1 tool_call_id 9|2 updates #0*",Qs]}}class Zs extends Re{constructor(t){super(),this.key="",this.field="",this.currentValue="",this.changedBy="",this.changedAtMs=s.protoInt64.zero,this.currentVersion=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Zs).fromBinary(t,r)}static fromJson(t,r){return(new Zs).fromJson(t,r)}static fromJsonString(t,r){return(new Zs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Zs,t,r)}static $(){return["TrackedTaskConflict|1 key 9|2 field 9|3 current_value 9|4 changed_by 9|5 changed_at_ms 4|6 current_version 4"]}}class tn extends Re{constructor(t){super(),this.key="",this.version=s.protoInt64.zero,this.title="",this.statusLabel="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new tn).fromBinary(t,r)}static fromJson(t,r){return(new tn).fromJson(t,r)}static fromJsonString(t,r){return(new tn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(tn,t,r)}static $(){return["TrackedTaskUpdated|1 key 9|2 version 4|3 title 9|4 status_label 9"]}}class rn extends Re{constructor(t){super(),this.updated=[],this.conflicts=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new rn).fromBinary(t,r)}static fromJson(t,r){return(new rn).fromJson(t,r)}static fromJsonString(t,r){return(new rn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(rn,t,r)}static $(){return["UpdateTrackedTasksSuccess|1 updated #0*|2 conflicts #1*|3 message 9",tn,Zs]}}class en extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new en).fromBinary(t,r)}static fromJson(t,r){return(new en).fromJson(t,r)}static fromJsonString(t,r){return(new en).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(en,t,r)}static $(){return["UpdateTrackedTasksError|1 error 9"]}}class sn extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new sn).fromBinary(t,r)}static fromJson(t,r){return(new sn).fromJson(t,r)}static fromJsonString(t,r){return(new sn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(sn,t,r)}static $(){return["UpdateTrackedTasksResult|1 success #0 result|2 error #1 result",rn,en]}}class nn extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new nn).fromBinary(t,r)}static fromJson(t,r){return(new nn).fromJson(t,r)}static fromJsonString(t,r){return(new nn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(nn,t,r)}static $(){return["UpdateTrackedTasksToolCall|1 args #0|2 result #1",Xs,sn]}}class on extends Re{constructor(t){super(),this.toolCallId="",this.keys=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new on).fromBinary(t,r)}static fromJson(t,r){return(new on).fromJson(t,r)}static fromJsonString(t,r){return(new on).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(on,t,r)}static $(){return["DeleteTrackedTasksArgs|1 tool_call_id 9|2 keys 9*"]}}class an extends Re{constructor(t){super(),this.deletedKeys=[],this.unparentedKeys=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new an).fromBinary(t,r)}static fromJson(t,r){return(new an).fromJson(t,r)}static fromJsonString(t,r){return(new an).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(an,t,r)}static $(){return["DeleteTrackedTasksSuccess|1 deleted_keys 9*|2 unparented_keys 9*|3 message 9"]}}class un extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new un).fromBinary(t,r)}static fromJson(t,r){return(new un).fromJson(t,r)}static fromJsonString(t,r){return(new un).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(un,t,r)}static $(){return["DeleteTrackedTasksError|1 error 9"]}}class ln extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ln).fromBinary(t,r)}static fromJson(t,r){return(new ln).fromJson(t,r)}static fromJsonString(t,r){return(new ln).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ln,t,r)}static $(){return["DeleteTrackedTasksResult|1 success #0 result|2 error #1 result",an,un]}}class cn extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new cn).fromBinary(t,r)}static fromJson(t,r){return(new cn).fromJson(t,r)}static fromJsonString(t,r){return(new cn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(cn,t,r)}static $(){return["DeleteTrackedTasksToolCall|1 args #0|2 result #1",on,ln]}}class mn extends Re{constructor(t){super(),this.label="",this.category="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mn).fromBinary(t,r)}static fromJson(t,r){return(new mn).fromJson(t,r)}static fromJsonString(t,r){return(new mn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mn,t,r)}static $(){return["TrackedTaskStatusInput|1 id 9?|2 label 9|3 icon 9?|4 category 9"]}}class dn extends Re{constructor(t){super(),this.toolCallId="",this.statuses=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new dn).fromBinary(t,r)}static fromJson(t,r){return(new dn).fromJson(t,r)}static fromJsonString(t,r){return(new dn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(dn,t,r)}static $(){return["UpdateTrackedTaskStatusesArgs|1 tool_call_id 9|2 statuses #0*",mn]}}class pn extends Re{constructor(t){super(),this.statuses=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new pn).fromBinary(t,r)}static fromJson(t,r){return(new pn).fromJson(t,r)}static fromJsonString(t,r){return(new pn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(pn,t,r)}static $(){return["UpdateTrackedTaskStatusesSuccess|1 statuses #0*|2 message 9",$s]}}class fn extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new fn).fromBinary(t,r)}static fromJson(t,r){return(new fn).fromJson(t,r)}static fromJsonString(t,r){return(new fn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(fn,t,r)}static $(){return["UpdateTrackedTaskStatusesError|1 error 9"]}}class hn extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new hn).fromBinary(t,r)}static fromJson(t,r){return(new hn).fromJson(t,r)}static fromJsonString(t,r){return(new hn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(hn,t,r)}static $(){return["UpdateTrackedTaskStatusesResult|1 success #0 result|2 error #1 result",pn,fn]}}class _n extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _n).fromBinary(t,r)}static fromJson(t,r){return(new _n).fromJson(t,r)}static fromJsonString(t,r){return(new _n).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_n,t,r)}static $(){return["UpdateTrackedTaskStatusesToolCall|1 args #0|2 result #1",dn,hn]}}class gn extends Re{constructor(t){super(),this.label="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new gn).fromBinary(t,r)}static fromJson(t,r){return(new gn).fromJson(t,r)}static fromJsonString(t,r){return(new gn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(gn,t,r)}static $(){return["TrackedTaskTagInput|1 id 9?|2 label 9|3 color 9?"]}}class jn extends Re{constructor(t){super(),this.toolCallId="",this.tags=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new jn).fromBinary(t,r)}static fromJson(t,r){return(new jn).fromJson(t,r)}static fromJsonString(t,r){return(new jn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(jn,t,r)}static $(){return["UpdateTrackedTaskTagsArgs|1 tool_call_id 9|2 tags #0*",gn]}}class bn extends Re{constructor(t){super(),this.tags=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new bn).fromBinary(t,r)}static fromJson(t,r){return(new bn).fromJson(t,r)}static fromJsonString(t,r){return(new bn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(bn,t,r)}static $(){return["UpdateTrackedTaskTagsSuccess|1 tags #0*|2 message 9",Ts]}}class yn extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new yn).fromBinary(t,r)}static fromJson(t,r){return(new yn).fromJson(t,r)}static fromJsonString(t,r){return(new yn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(yn,t,r)}static $(){return["UpdateTrackedTaskTagsError|1 error 9"]}}class wn extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new wn).fromBinary(t,r)}static fromJson(t,r){return(new wn).fromJson(t,r)}static fromJsonString(t,r){return(new wn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(wn,t,r)}static $(){return["UpdateTrackedTaskTagsResult|1 success #0 result|2 error #1 result",bn,yn]}}class xn extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new xn).fromBinary(t,r)}static fromJson(t,r){return(new xn).fromJson(t,r)}static fromJsonString(t,r){return(new xn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(xn,t,r)}static $(){return["UpdateTrackedTaskTagsToolCall|1 args #0|2 result #1",jn,wn]}}const Jn="agent.v1.";class Sn extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return Jn}}var vn=(0,i.QT)(s.proto3,Jn,"WriteCanvasFailReason",[[0,"UNSPECIFIED"],[1,"TYPECHECK_FAILED"],[2,"COMPILE_FAILED"],[3,"TOO_LARGE"],[4,"UNAVAILABLE"],[5,"NOT_FOUND"],[6,"REFUSED"]],1),Bn=(0,i.QT)(s.proto3,Jn,"ReadCanvasFailReason",[[0,"UNSPECIFIED"],[1,"NOT_FOUND"],[2,"UNAVAILABLE"],[3,"REFUSED"],[4,"INVALID_REFERENCE"]],1);class qn extends Sn{constructor(t){super(),this.line=0,this.character=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new qn).fromBinary(t,r)}static fromJson(t,r){return(new qn).fromJson(t,r)}static fromJsonString(t,r){return(new qn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(qn,t,r)}static $(){return["CloudCanvasToolDiagnosticPosition|1 line 5|2 character 5"]}}class Pn extends Sn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Pn).fromBinary(t,r)}static fromJson(t,r){return(new Pn).fromJson(t,r)}static fromJsonString(t,r){return(new Pn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Pn,t,r)}static $(){return["CloudCanvasToolDiagnosticRange|1 start #0|2 end #0",qn]}}class On extends Sn{constructor(t){super(),this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new On).fromBinary(t,r)}static fromJson(t,r){return(new On).fromJson(t,r)}static fromJsonString(t,r){return(new On).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(On,t,r)}static $(){return["CloudCanvasToolDiagnostic|1 message 9|2 code 9?|3 severity 5?|4 range #0?",Pn]}}class In extends Sn{constructor(t){super(),this.contents="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new In).fromBinary(t,r)}static fromJson(t,r){return(new In).fromJson(t,r)}static fromJsonString(t,r){return(new In).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(In,t,r)}static $(){return["WriteCanvasArgs|1 contents 9|2 canvas_id 9?|3 title 9?"]}}class En extends Sn{constructor(t){super(),this.canvasId="",this.url="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new En).fromBinary(t,r)}static fromJson(t,r){return(new En).fromJson(t,r)}static fromJsonString(t,r){return(new En).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(En,t,r)}static $(){return["WriteCanvasSuccess|1 canvas_id 9|2 title 9?|3 url 9|4 page_url 9?"]}}class An extends Sn{constructor(t){super(),this.reason=vn.UNSPECIFIED,this.diagnostics=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new An).fromBinary(t,r)}static fromJson(t,r){return(new An).fromJson(t,r)}static fromJsonString(t,r){return(new An).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(An,t,r)}static $(){return["WriteCanvasFailure|1 reason #0|2 diagnostics #1*|3 detail 9?",vn,On]}}class kn extends Sn{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new kn).fromBinary(t,r)}static fromJson(t,r){return(new kn).fromJson(t,r)}static fromJsonString(t,r){return(new kn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(kn,t,r)}static $(){return["WriteCanvasResult|1 success #0 result|2 failure #1 result",En,An]}}class $n extends Sn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $n).fromBinary(t,r)}static fromJson(t,r){return(new $n).fromJson(t,r)}static fromJsonString(t,r){return(new $n).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($n,t,r)}static $(){return["WriteCanvasToolCall|1 args #0|2 result #1",In,kn]}}class Tn extends Sn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Tn).fromBinary(t,r)}static fromJson(t,r){return(new Tn).fromJson(t,r)}static fromJsonString(t,r){return(new Tn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Tn,t,r)}static $(){return["ReadCanvasArgs|1 canvas_id 9?|2 url 9?"]}}class Cn extends Sn{constructor(t){super(),this.canvasId="",this.url="",this.source="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Cn).fromBinary(t,r)}static fromJson(t,r){return(new Cn).fromJson(t,r)}static fromJsonString(t,r){return(new Cn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Cn,t,r)}static $(){return["ReadCanvasSuccess|1 canvas_id 9|2 title 9?|3 url 9|4 source 9"]}}class Rn extends Sn{constructor(t){super(),this.reason=Bn.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Rn).fromBinary(t,r)}static fromJson(t,r){return(new Rn).fromJson(t,r)}static fromJsonString(t,r){return(new Rn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Rn,t,r)}static $(){return["ReadCanvasFailure|1 reason #0|2 detail 9?",Bn]}}class Mn extends Sn{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Mn).fromBinary(t,r)}static fromJson(t,r){return(new Mn).fromJson(t,r)}static fromJsonString(t,r){return(new Mn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Mn,t,r)}static $(){return["ReadCanvasResult|1 success #0 result|2 failure #1 result",Cn,Rn]}}class Un extends Sn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Un).fromBinary(t,r)}static fromJson(t,r){return(new Un).fromJson(t,r)}static fromJsonString(t,r){return(new Un).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Un,t,r)}static $(){return["ReadCanvasToolCall|1 args #0|2 result #1",Tn,Mn]}}class Nn extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Ln extends Nn{constructor(t){super(),this.prompt="",this.referenceImagePaths=[],this.keyframes=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ln).fromBinary(t,r)}static fromJson(t,r){return(new Ln).fromJson(t,r)}static fromJsonString(t,r){return(new Ln).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ln,t,r)}static $(){return["GenerateVideoArgs|1 prompt 9|2 file_path 9?|3 image_path 9?|4 reference_image_paths 9*|5 duration_seconds 13?|6 aspect_ratio 9?|7 resolution 9?|8 last_frame_path 9?|9 keyframes #0*",Dn]}}class Dn extends Nn{constructor(t){super(),this.imagePath="",this.timestampSeconds=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Dn).fromBinary(t,r)}static fromJson(t,r){return(new Dn).fromJson(t,r)}static fromJsonString(t,r){return(new Dn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Dn,t,r)}static $(){return["GenerateVideoKeyframe|1 image_path 9|2 timestamp_seconds 1"]}}class Fn extends Nn{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fn).fromBinary(t,r)}static fromJson(t,r){return(new Fn).fromJson(t,r)}static fromJsonString(t,r){return(new Fn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fn,t,r)}static $(){return["GenerateVideoResult|1 success #0 result|2 error #1 result",Wn,zn]}}class Wn extends Nn{constructor(t){super(),this.filePath="",this.durationSeconds=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Wn).fromBinary(t,r)}static fromJson(t,r){return(new Wn).fromJson(t,r)}static fromJsonString(t,r){return(new Wn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Wn,t,r)}static $(){return["GenerateVideoSuccess|1 file_path 9|2 duration_seconds 13"]}}class zn extends Nn{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zn).fromBinary(t,r)}static fromJson(t,r){return(new zn).fromJson(t,r)}static fromJsonString(t,r){return(new zn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zn,t,r)}static $(){return["GenerateVideoError|1 error 9"]}}class Gn extends Nn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Gn).fromBinary(t,r)}static fromJson(t,r){return(new Gn).fromJson(t,r)}static fromJsonString(t,r){return(new Gn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Gn,t,r)}static $(){return["GenerateVideoToolCall|1 args #0|2 result #1",Ln,Fn]}}class Hn extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Vn extends Hn{constructor(t){super(),this.query="",this.allowedXHandles=[],this.excludedXHandles=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vn).fromBinary(t,r)}static fromJson(t,r){return(new Vn).fromJson(t,r)}static fromJsonString(t,r){return(new Vn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vn,t,r)}static $(){return["XSearchArgs|1 query 9|2 from_date 9?|3 to_date 9?|4 allowed_x_handles 9*|5 excluded_x_handles 9*"]}}class Kn extends Hn{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Kn).fromBinary(t,r)}static fromJson(t,r){return(new Kn).fromJson(t,r)}static fromJsonString(t,r){return(new Kn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Kn,t,r)}static $(){return["XSearchResult|1 success #0 result|2 error #1 result|3 rejected #2 result",Qn,Xn,Zn]}}class Qn extends Hn{constructor(t){super(),this.answer="",this.citations=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qn).fromBinary(t,r)}static fromJson(t,r){return(new Qn).fromJson(t,r)}static fromJsonString(t,r){return(new Qn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qn,t,r)}static $(){return["XSearchSuccess|1 answer 9|2 citations #0*",Yn]}}class Yn extends Hn{constructor(t){super(),this.url="",this.title="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Yn).fromBinary(t,r)}static fromJson(t,r){return(new Yn).fromJson(t,r)}static fromJsonString(t,r){return(new Yn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Yn,t,r)}static $(){return["XSearchCitation|1 url 9|2 title 9"]}}class Xn extends Hn{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xn).fromBinary(t,r)}static fromJson(t,r){return(new Xn).fromJson(t,r)}static fromJsonString(t,r){return(new Xn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xn,t,r)}static $(){return["XSearchError|1 error 9"]}}class Zn extends Hn{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Zn).fromBinary(t,r)}static fromJson(t,r){return(new Zn).fromJson(t,r)}static fromJsonString(t,r){return(new Zn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Zn,t,r)}static $(){return["XSearchRejected|1 reason 9"]}}class to extends Hn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new to).fromBinary(t,r)}static fromJson(t,r){return(new to).fromJson(t,r)}static fromJsonString(t,r){return(new to).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(to,t,r)}static $(){return["XSearchToolCall|1 args #0|2 result #1",Vn,Kn]}}class ro extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class eo extends ro{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new eo).fromBinary(t,r)}static fromJson(t,r){return(new eo).fromJson(t,r)}static fromJsonString(t,r){return(new eo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(eo,t,r)}static $(){return["GetPrCodeTourArgs|1 tool_call_id 9|2 revision_id 9?|3 section_id 9?|4 head_sha 9?|5 pr_url 9?"]}}class so extends ro{constructor(t){super(),this.revisionId="",this.status="",this.headSha="",this.feedback="",this.updatedAtMs=s.protoInt64.zero,this.isCurrent=!1,this.markdown="",this.source="",this.prUrl="",this.editedByBcId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new so).fromBinary(t,r)}static fromJson(t,r){return(new so).fromJson(t,r)}static fromJsonString(t,r){return(new so).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(so,t,r)}static $(){return["PrCodeTourRevisionSnapshot|1 revision_id 9|2 status 9|3 head_sha 9|4 feedback 9|5 updated_at_ms 3|6 is_current 8|7 markdown 9|8 source 9|9 pr_url 9|10 edited_by_bc_id 9"]}}class no extends ro{constructor(t){super(),this.revisions=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new no).fromBinary(t,r)}static fromJson(t,r){return(new no).fromJson(t,r)}static fromJsonString(t,r){return(new no).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(no,t,r)}static $(){return["GetPrCodeTourSuccess|1 revisions #0*|2 section_id 9?",so]}}class oo extends ro{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new oo).fromBinary(t,r)}static fromJson(t,r){return(new oo).fromJson(t,r)}static fromJsonString(t,r){return(new oo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(oo,t,r)}static $(){return["GetPrCodeTourError|1 error 9"]}}class io extends ro{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new io).fromBinary(t,r)}static fromJson(t,r){return(new io).fromJson(t,r)}static fromJsonString(t,r){return(new io).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(io,t,r)}static $(){return["GetPrCodeTourResult|1 success #0 result|2 error #1 result",no,oo]}}class ao extends ro{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ao).fromBinary(t,r)}static fromJson(t,r){return(new ao).fromJson(t,r)}static fromJsonString(t,r){return(new ao).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ao,t,r)}static $(){return["GetPrCodeTourToolCall|1 args #0|2 result #1",eo,io]}}const uo="agent.v1.";class lo extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return uo}}var co=(0,i.QT)(s.proto3,uo,"UpdatePrCodeTourExecutionMode",[[0,"UNSPECIFIED"],[1,"SERVER_SCHEDULED"],[2,"CLIENT_REQUIRED"],[3,"SKIPPED"],[4,"EDITED"]],1);class mo extends lo{constructor(t){super(),this.feedback="",this.toolCallId="",this.scopeCommitHashes=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mo).fromBinary(t,r)}static fromJson(t,r){return(new mo).fromJson(t,r)}static fromJsonString(t,r){return(new mo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mo,t,r)}static $(){return["UpdatePrCodeTourArgs|1 feedback 9|2 tool_call_id 9|3 base_sha 9?|4 head_sha 9?|5 source_revision_id 9?|6 revision_id 9?|7 markdown 9?|8 heading 9?|9 artifact_path 9?|10 artifact_alt 9?|11 scope_commit_hashes 9*|12 explicit_user_prompt 9?|13 pr_url 9?"]}}class po extends lo{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new po).fromBinary(t,r)}static fromJson(t,r){return(new po).fromJson(t,r)}static fromJsonString(t,r){return(new po).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(po,t,r)}static $(){return["UpdatePrCodeTourResult|1 success #0 result|2 error #1 result",fo,ho]}}class fo extends lo{constructor(t){super(),this.revisionId="",this.message="",this.executionMode=co.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new fo).fromBinary(t,r)}static fromJson(t,r){return(new fo).fromJson(t,r)}static fromJsonString(t,r){return(new fo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(fo,t,r)}static $(){return["UpdatePrCodeTourSuccess|1 revision_id 9|2 message 9|3 execution_mode #0",co]}}class ho extends lo{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ho).fromBinary(t,r)}static fromJson(t,r){return(new ho).fromJson(t,r)}static fromJsonString(t,r){return(new ho).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ho,t,r)}static $(){return["UpdatePrCodeTourError|1 error 9"]}}class _o extends lo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _o).fromBinary(t,r)}static fromJson(t,r){return(new _o).fromJson(t,r)}static fromJsonString(t,r){return(new _o).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_o,t,r)}static $(){return["UpdatePrCodeTourToolCall|1 args #0|2 result #1",mo,po]}}var go=e("../proto/dist/generated/agent/v1/hook_additional_context_pb.js"),jo=(e("../proto/dist/generated/agent/v1/request_context_exec_pb.js"),e("../proto/dist/generated/agent/v1/selected_context_pb.js"));e("../proto/dist/generated/agent/v1/requested_model_pb.js"),e("../proto/dist/generated/agent/v1/mcp_pb.js"),e("../proto/dist/generated/agent/v1/system_prompt_pb.js");const bo="agent.v1.";class yo extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return bo}}var wo=(0,i.QT)(s.proto3,bo,"AgentMode",[[0,"UNSPECIFIED"],[1,"AGENT"],[2,"ASK"],[3,"PLAN"],[4,"DEBUG"],[5,"TRIAGE"],[7,"MULTITASK"],[8,"CUSTOM"]],1),xo=(s.proto3,s.proto3,s.proto3,(0,i.QT)(s.proto3,bo,"SubagentRunStatus",[[0,"UNSPECIFIED"],[1,"RUNNING"],[2,"BACKGROUNDED"],[3,"SUCCESS"],[4,"ERROR"],[5,"ABORTED"]],1)),Jo=(0,i.QT)(s.proto3,bo,"SubagentDispatchTool",[[0,"UNSPECIFIED"],[1,"TASK"],[2,"CREATE_AGENT"],[3,"SEND_TO_AGENT"],[4,"CREATE_PROJECT"]],1),So=(0,i.QT)(s.proto3,bo,"CustomModeSource",[[0,"UNSPECIFIED"],[1,"AGENT_SKILL"],[2,"PLUGIN_SKILL"],[3,"REPO_SKILL"],[4,"MANAGED_SKILL"]],1),vo=(0,i.QT)(s.proto3,bo,"SimulatedMsgReason",[[0,"UNSPECIFIED"],[1,"PLAN_EXECUTION"],[2,"COMMIT_REMINDER"],[3,"BACKGROUND_TASK_COMPLETION"],[4,"DIFF_TAB_COMMIT"],[5,"DIFF_TAB_COMMIT_AND_PUSH"],[6,"DIFF_TAB_PUSH"],[7,"DIFF_TAB_CREATE_PR"],[8,"DIFF_TAB_FIX_MERGE_CONFLICTS"],[9,"USER_SENT_TO_SUBAGENT"],[10,"USER_INTERRUPTED_SUBAGENT"],[11,"USER_QUEUED_TO_SUBAGENT"],[12,"BABYSIT_PR_IN_CLOUD"],[13,"CI_PANEL_INVESTIGATE_FAILURE"],[14,"MULTITASK"],[15,"BUILD_IN_PARALLEL"],[16,"MULTITASK_SPLIT_PRS"],[17,"APPLY_LOCALLY"],[18,"CHECKOUT_BRANCH"],[19,"DIFF_TAB_UPDATE_BRANCH"],[20,"PR_TAB_BUGBOT_FIX"],[22,"RUN_BUGBOT_REVIEW"],[23,"RUN_SECURITY_REVIEW"],[24,"FSD_APPLY_FINDING"],[25,"FSD_UNDO_FINDING"],[26,"FSD_START"],[27,"FSD_PR_INTERRUPT"],[28,"SUBSCRIPTION"],[29,"DIFF_TAB_CREATE_BRANCH"],[30,"AGENT_STORE_CONFLICT"],[31,"GOAL_CONTINUATION"],[32,"PROJECT_KICKOFF"],[33,"MARKDOWN_PROMPT_BUTTON"],[34,"USER_QUICK_ACTION"],[35,"INTERACTION_RESPONSE"]],1),Bo=(0,i.QT)(s.proto3,bo,"SubscriptionSource",[[0,"UNSPECIFIED"],[1,"SLACK"],[2,"GITHUB"],[3,"LINEAR"],[4,"ORIGIN"],[5,"FACTORY"]],1),qo=(0,i.QT)(s.proto3,bo,"ReplyAudience",[[0,"UNSPECIFIED"],[1,"USER"],[2,"AGENT"]],1);s.proto3,s.proto3,s.proto3,s.proto3,s.proto3;class Po extends yo{constructor(t){super(),this.description="",this.prompt="",this.attachments=[],this.mode=n.FL.UNSPECIFIED,this.respondingToMessageIds=[],this.environment=n.dU.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Po).fromBinary(t,r)}static fromJson(t,r){return(new Po).fromJson(t,r)}static fromJsonString(t,r){return(new Po).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Po,t,r)}static $(){return["TaskArgs|1 description 9|2 prompt 9|3 subagent_type #0|4 model 9?|5 resume 9?|6 agent_id 9?|7 attachments 9*|8 mode #1|9 responding_to_message_ids 9*|10 environment #2|11 machine #3?",n._L,n.FL,n.dU,Oo]}}class Oo extends yo{constructor(t){super(),this.machine={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Oo).fromBinary(t,r)}static fromJson(t,r){return(new Oo).fromJson(t,r)}static fromJsonString(t,r){return(new Oo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Oo,t,r)}static $(){return["TargetMachine|1 same_machine #0 machine|2 new_cloud_vm #1 machine|3 self_hosted_worker #2 machine|4 self_hosted_pool #3 machine",Io,Eo,Ao,ko]}}class Io extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Io).fromBinary(t,r)}static fromJson(t,r){return(new Io).fromJson(t,r)}static fromJsonString(t,r){return(new Io).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Io,t,r)}static $(){return["SameMachineTarget"]}}class Eo extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Eo).fromBinary(t,r)}static fromJson(t,r){return(new Eo).fromJson(t,r)}static fromJsonString(t,r){return(new Eo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Eo,t,r)}static $(){return["NewCloudVmTarget|1 environment_build_id 9?|2 base_branch 9?"]}}class Ao extends yo{constructor(t){super(),this.workerId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ao).fromBinary(t,r)}static fromJson(t,r){return(new Ao).fromJson(t,r)}static fromJsonString(t,r){return(new Ao).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ao,t,r)}static $(){return["SelfHostedWorkerTarget|1 worker_id 9"]}}class ko extends yo{constructor(t){super(),this.labels=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ko).fromBinary(t,r)}static fromJson(t,r){return(new ko).fromJson(t,r)}static fromJsonString(t,r){return(new ko).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ko,t,r)}static $(){return["SelfHostedPoolTarget|1 pool 9?|2 labels #0*",$o]}}class $o extends yo{constructor(t){super(),this.key="",this.value="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $o).fromBinary(t,r)}static fromJson(t,r){return(new $o).fromJson(t,r)}static fromJsonString(t,r){return(new $o).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($o,t,r)}static $(){return["SelfHostedWorkerLabel|1 key 9|2 value 9"]}}class To extends yo{constructor(t){super(),this.conversationSteps=[],this.isBackground=!1,this.backgroundReason=n.qL.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new To).fromBinary(t,r)}static fromJson(t,r){return(new To).fromJson(t,r)}static fromJsonString(t,r){return(new To).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(To,t,r)}static $(){return["TaskSuccess|1 conversation_steps #0*|2 agent_id 9?|3 is_background 8|4 duration_ms 4?|5 result_suffix 9?|6 background_reason #1|7 transcript_path 9?",Qo,n.qL]}}class Co extends yo{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Co).fromBinary(t,r)}static fromJson(t,r){return(new Co).fromJson(t,r)}static fromJsonString(t,r){return(new Co).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Co,t,r)}static $(){return["TaskError|1 error 9"]}}class Ro extends yo{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ro).fromBinary(t,r)}static fromJson(t,r){return(new Ro).fromJson(t,r)}static fromJsonString(t,r){return(new Ro).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ro,t,r)}static $(){return["TaskResult|1 success #0 result|2 error #1 result",To,Co]}}class Mo extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Mo).fromBinary(t,r)}static fromJson(t,r){return(new Mo).fromJson(t,r)}static fromJsonString(t,r){return(new Mo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Mo,t,r)}static $(){return["TaskToolCall|1 args #0|2 result #1|3 cloud_agent_bc_id 9?",Po,Ro]}}class Uo extends yo{constructor(t){super(),this.path="",this.branchName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Uo).fromBinary(t,r)}static fromJson(t,r){return(new Uo).fromJson(t,r)}static fromJsonString(t,r){return(new Uo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Uo,t,r)}static $(){return["SetActiveBranchArgs|1 path 9|2 branch_name 9"]}}class No extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new No).fromBinary(t,r)}static fromJson(t,r){return(new No).fromJson(t,r)}static fromJsonString(t,r){return(new No).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(No,t,r)}static $(){return["SetActiveBranchSuccess"]}}class Lo extends yo{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Lo).fromBinary(t,r)}static fromJson(t,r){return(new Lo).fromJson(t,r)}static fromJsonString(t,r){return(new Lo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Lo,t,r)}static $(){return["SetActiveBranchError|1 error 9"]}}class Do extends yo{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Do).fromBinary(t,r)}static fromJson(t,r){return(new Do).fromJson(t,r)}static fromJsonString(t,r){return(new Do).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Do,t,r)}static $(){return["SetActiveBranchResult|1 success #0 result|2 error #1 result",No,Lo]}}class Fo extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fo).fromBinary(t,r)}static fromJson(t,r){return(new Fo).fromJson(t,r)}static fromJsonString(t,r){return(new Fo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fo,t,r)}static $(){return["SetActiveBranchToolCall|1 args #0|2 result #1",Uo,Do]}}class Wo extends yo{constructor(t){super(),this.tool={case:void 0},this.hookAdditionalContexts=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Wo).fromBinary(t,r)}static fromJson(t,r){return(new Wo).fromJson(t,r)}static fromJsonString(t,r){return(new Wo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Wo,t,r)}static $(){return["ToolCall|1 shell_tool_call #0 tool|3 delete_tool_call #1 tool|4 glob_tool_call #2 tool|5 grep_tool_call #3 tool|8 read_tool_call #4 tool|9 update_todos_tool_call #5 tool|10 read_todos_tool_call #6 tool|12 edit_tool_call #7 tool|13 ls_tool_call #8 tool|14 read_lints_tool_call #9 tool|15 mcp_tool_call #10 tool|16 sem_search_tool_call #11 tool|17 create_plan_tool_call #12 tool|18 web_search_tool_call #13 tool|19 task_tool_call #14 tool|20 list_mcp_resources_tool_call #15 tool|21 read_mcp_resource_tool_call #16 tool|22 apply_agent_diff_tool_call #17 tool|23 ask_question_tool_call #18 tool|24 fetch_tool_call #19 tool|25 switch_mode_tool_call #20 tool|28 generate_image_tool_call #21 tool|29 record_screen_tool_call #22 tool|30 computer_use_tool_call #23 tool|31 write_shell_stdin_tool_call #24 tool|32 reflect_tool_call #25 tool|33 setup_vm_environment_tool_call #26 tool|34 truncated_tool_call #27 tool|35 start_grind_execution_tool_call #28 tool|36 start_grind_planning_tool_call #29 tool|37 web_fetch_tool_call #30 tool|38 report_bugfix_results_tool_call #31 tool|39 ai_attribution_tool_call #32 tool|40 pr_management_tool_call #33 tool|41 mcp_auth_tool_call #34 tool|42 await_tool_call #35 tool|43 blame_by_file_path_tool_call #36 tool|44 get_mcp_tools_tool_call #37 tool|45 report_bug_tool_call #38 tool|46 set_active_branch_tool_call #39 tool|48 communicate_update_tool_call #40 tool|49 send_final_summary_tool_call #41 tool|51 replace_env_tool_call #42 tool|52 edit_pr_labels_tool_call #43 tool|53 record_ci_investigation_findings_tool_call #44 tool|55 send_message_tool_call #45 tool|56 fetch_cloud_agent_data_tool_call #46 tool|58 send_to_user_tool_call #47 tool|68 connect_scm_tool_call #48 tool|69 search_conversations_tool_call #49 tool|70 create_goal_tool_call #50 tool|71 update_goal_tool_call #51 tool|73 get_agent_status_tool_call #52 tool|74 send_to_agent_tool_call #53 tool|75 read_agent_transcript_tool_call #54 tool|76 create_agent_tool_call #55 tool|77 stop_agent_tool_call #56 tool|79 write_canvas_tool_call #57 tool|80 read_canvas_tool_call #58 tool|81 generate_video_tool_call #59 tool|82 x_search_tool_call #60 tool|83 get_origin_pr_code_tour_tool_call #61 tool|84 update_origin_pr_code_tour_tool_call #62 tool|85 list_tracked_tasks_tool_call #63 tool|86 create_tracked_tasks_tool_call #64 tool|87 update_tracked_tasks_tool_call #65 tool|88 delete_tracked_tasks_tool_call #66 tool|89 update_tracked_task_statuses_tool_call #67 tool|90 create_project_tool_call #68 tool|91 update_tracked_task_tags_tool_call #69 tool|93 stop_project_updates_tool_call #70 tool|94 start_project_updates_tool_call #71 tool|54 hook_additional_contexts #72*|57 tool_call_id 9?|59 started_at_ms 4?|60 completed_at_ms 4?",u,m,g,y,J,O.bk,O.AJ,U,D,G,nt,at,dt.Ih,pt.pn,Mo,ht,_t,gt.JU,jt.OU,wt,xt.Cs,Jt.r9,Bt,qt.t8,It,Ct,Rt.MU,Ko,Ft,Kt,Qt.fd,Yt.U_,Xt.ex,Zt.AU,tr.NX,ur,fr,yr,Br,Fo,Ar,Mr,Ur.us,zr,Zr,ae,pe,be,ye.iO,Je,Ee,Te,We,Ye,es,as,qs,$n,Un,Gn,to,ao,_o,Ls,Vs,nn,cn,_n,ds,xn,xs,gs,go.C]}}class zo extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zo).fromBinary(t,r)}static fromJson(t,r){return(new zo).fromJson(t,r)}static fromJsonString(t,r){return(new zo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zo,t,r)}static $(){return["TruncatedToolCallArgs"]}}class Go extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Go).fromBinary(t,r)}static fromJson(t,r){return(new Go).fromJson(t,r)}static fromJsonString(t,r){return(new Go).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Go,t,r)}static $(){return["TruncatedToolCallSuccess"]}}class Ho extends yo{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ho).fromBinary(t,r)}static fromJson(t,r){return(new Ho).fromJson(t,r)}static fromJsonString(t,r){return(new Ho).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ho,t,r)}static $(){return["TruncatedToolCallError|1 error 9"]}}class Vo extends yo{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vo).fromBinary(t,r)}static fromJson(t,r){return(new Vo).fromJson(t,r)}static fromJsonString(t,r){return(new Vo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vo,t,r)}static $(){return["TruncatedToolCallResult|1 success #0 result|2 error #1 result",Go,Ho]}}class Ko extends yo{constructor(t){super(),this.originalStepBlobId=new Uint8Array(0),this.originalStepSizeBytes=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ko).fromBinary(t,r)}static fromJson(t,r){return(new Ko).fromJson(t,r)}static fromJsonString(t,r){return(new Ko).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ko,t,r)}static $(){return["TruncatedToolCall|1 original_step_blob_id 12|2 args #0|3 result #1|4 original_step_size_bytes 13|5 preview #2",zo,Vo,Wo]}}class Qo extends yo{constructor(t){super(),this.message={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qo).fromBinary(t,r)}static fromJson(t,r){return(new Qo).fromJson(t,r)}static fromJsonString(t,r){return(new Qo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qo,t,r)}static $(){return["ConversationStep|1 assistant_message #0 message|2 tool_call #1 message|3 thinking_message #2 message",fi,Wo,hi]}}class Yo extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Yo).fromBinary(t,r)}static fromJson(t,r){return(new Yo).fromJson(t,r)}static fromJsonString(t,r){return(new Yo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Yo,t,r)}static $(){return["TriggeringUserInfo|1 auth_id 9?|2 user_id 5?|3 followup_id 9?"]}}class Xo extends yo{constructor(t){super(),this.parentToolCallId="",this.environment=n.dU.UNSPECIFIED,this.status=xo.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xo).fromBinary(t,r)}static fromJson(t,r){return(new Xo).fromJson(t,r)}static fromJsonString(t,r){return(new Xo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xo,t,r)}static $(){return["SubagentRunState|1 parent_tool_call_id 9|2 subagent_id 9?|3 environment #0|4 status #1|5 title 9?|6 detail 9?|7 transcript_path 9?|8 output_path 9?|9 completed_timestamp_ms 4?|10 completion_reason #2?",n.dU,xo,n.U6]}}class Zo extends yo{constructor(t){super(),this.stepIndex=0,this.toolCallId="",this.tool=Jo.UNSPECIFIED,this.backgrounded=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Zo).fromBinary(t,r)}static fromJson(t,r){return(new Zo).fromJson(t,r)}static fromJsonString(t,r){return(new Zo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Zo,t,r)}static $(){return["SubagentDispatchStep|1 step_index 13|2 tool_call_id 9|3 tool #0|4 backgrounded 8",Jo]}}class ti extends yo{constructor(t){super(),this.id="",this.label="",this.source=So.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ti).fromBinary(t,r)}static fromJson(t,r){return(new ti).fromJson(t,r)}static fromJsonString(t,r){return(new ti).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ti,t,r)}static $(){return["SubmittedCustomMode|1 id 9|2 label 9|5 source #0|6 source_path 9?|7 source_hash 9?|10 managed_skill_id 9?|11 plugin_id 9?|12 plugin_snapshot_token 9?",So]}}class ri extends yo{constructor(t){super(),this.id="",this.label="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ri).fromBinary(t,r)}static fromJson(t,r){return(new ri).fromJson(t,r)}static fromJsonString(t,r){return(new ri).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ri,t,r)}static $(){return["SubmittedExitedCustomMode|1 id 9|2 label 9"]}}class ei extends yo{constructor(t){super(),this.nextMode=wo.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ei).fromBinary(t,r)}static fromJson(t,r){return(new ei).fromJson(t,r)}static fromJsonString(t,r){return(new ei).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ei,t,r)}static $(){return["CustomModeExitIntent|1 next_mode #0|2 exited_mode #1",wo,ri]}}class si extends yo{constructor(t){super(),this.intent={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new si).fromBinary(t,r)}static fromJson(t,r){return(new si).fromJson(t,r)}static fromJsonString(t,r){return(new si).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(si,t,r)}static $(){return["CustomModeIntent|1 enter #0 intent|2 exit #1 intent",ti,ei]}}class ni extends yo{constructor(t){super(),this.interactionId="",this.skippedQuestionIds=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ni).fromBinary(t,r)}static fromJson(t,r){return(new ni).fromJson(t,r)}static fromJsonString(t,r){return(new ni).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ni,t,r)}static $(){return["InteractionResponseMetadata|1 interaction_id 9|2 response #0?|3 skipped_question_ids 9*",Qi]}}class oi extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new oi).fromBinary(t,r)}static fromJson(t,r){return(new oi).fromJson(t,r)}static fromJsonString(t,r){return(new oi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(oi,t,r)}static $(){return["SubscriptionEventDisplay|1 display_label 9?|2 resource_url 9?|3 subscription_id 9?"]}}class ii extends yo{constructor(t){super(),this.planId="",this.planTitle="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ii).fromBinary(t,r)}static fromJson(t,r){return(new ii).fromJson(t,r)}static fromJsonString(t,r){return(new ii).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ii,t,r)}static $(){return["ExecutePlanInfo|1 plan_id 9|2 plan_title 9"]}}class ai extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ai).fromBinary(t,r)}static fromJson(t,r){return(new ai).fromJson(t,r)}static fromJsonString(t,r){return(new ai).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ai,t,r)}static $(){return["ProjectDetails|1 name 9?|2 subagent #0?|3 side_chat #1?|4 init_description 9?",ui,li]}}class ui extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ui).fromBinary(t,r)}static fromJson(t,r){return(new ui).fromJson(t,r)}static fromJsonString(t,r){return(new ui).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ui,t,r)}static $(){return["ProjectSubagentDetails|2 store_dir 9?"]}}class li extends yo{constructor(t){super(),this.storeDir="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new li).fromBinary(t,r)}static fromJson(t,r){return(new li).fromJson(t,r)}static fromJsonString(t,r){return(new li).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(li,t,r)}static $(){return["ProjectSideChatDetails|1 store_dir 9"]}}class ci extends yo{constructor(t){super(),this.text="",this.messageId="",this.mode=wo.UNSPECIFIED,this.conversationStateBlobId=new Uint8Array(0),this.hookAdditionalContexts=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ci).fromBinary(t,r)}static fromJson(t,r){return(new ci).fromJson(t,r)}static fromJsonString(t,r){return(new ci).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ci,t,r)}static $(){return["UserMessage|1 text 9|2 message_id 9|3 selected_context #0?|4 mode #1|5 is_simulated_msg 8?|6 best_of_n_group_id 9?|7 try_use_best_of_n_promotion 8?|8 rich_text 9?|9 simulated_msg_reason #2?|10 conversation_state_blob_id 12|11 subagent_system_reminder 9?|13 triggering_user_info #3?|14 execute_plan_info #4?|15 simulated_message_metadata #5?|16 prompt_reference_id 9?|17 thread_id 9?|18 text_blob_id 12?|19 rich_text_blob_id 12?|21 hook_additional_contexts #6*|22 custom_mode_intent #7?|23 project_details #8?|24 turn_steer 8?|25 started_at_ms 4?|26 completed_at_ms 4?|27 sent_by_agent_id 9?|28 sent_by_voice_call 8?|29 sender #9?|30 forked_context 9?|31 reply_to 9?|32 reply_audience #10?|33 reply_to_tool_call_id 9?|34 during_voice_call 8?|35 inherits_voice_call 8?|36 voice_calls_read_utterances 8?|37 summarized_tool_call_id 9?|38 sender_time_zone 9?",jo.xv,wo,vo,Yo,ii,mi,go.C,si,ai,di,qo]}}class mi extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mi).fromBinary(t,r)}static fromJson(t,r){return(new mi).fromJson(t,r)}static fromJsonString(t,r){return(new mi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mi,t,r)}static $(){return["UserMessage.SimulatedMessageMetadata|1 title 9?|2 task_id 9?|3 fsd_finding_action 9?|4 url 9?|5 subscription_source #0?|6 subscription_event_display #1?|7 interaction_response #2?|8 tool_call_id 9?",Bo,oi,ni]}}class di extends yo{constructor(t){super(),this.kind=pi.UNSPECIFIED,this.id="",this.displayName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new di).fromBinary(t,r)}static fromJson(t,r){return(new di).fromJson(t,r)}static fromJsonString(t,r){return(new di).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(di,t,r)}static $(){return["MessageSender|1 kind #0|2 id 9|3 display_name 9",pi]}}var pi=(0,i.QT)(s.proto3,bo,"MessageSender.Kind",[[0,"UNSPECIFIED"],[1,"AGENT"],[2,"VOICE_CALL"],[3,"MAIN_BOT"],[4,"PROJECT"],[5,"PROJECT_SLACK"]],1);class fi extends yo{constructor(t){super(),this.text="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new fi).fromBinary(t,r)}static fromJson(t,r){return(new fi).fromJson(t,r)}static fromJsonString(t,r){return(new fi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(fi,t,r)}static $(){return["AssistantMessage|1 text 9|2 started_at_ms 4?|3 completed_at_ms 4?"]}}class hi extends yo{constructor(t){super(),this.text="",this.durationMs=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new hi).fromBinary(t,r)}static fromJson(t,r){return(new hi).fromJson(t,r)}static fromJsonString(t,r){return(new hi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(hi,t,r)}static $(){return["ThinkingMessage|1 text 9|2 duration_ms 13|3 started_at_ms 4?|4 completed_at_ms 4?"]}}class _i extends yo{constructor(t){super(),this.command="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _i).fromBinary(t,r)}static fromJson(t,r){return(new _i).fromJson(t,r)}static fromJsonString(t,r){return(new _i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_i,t,r)}static $(){return["ShellCommand|1 command 9"]}}class gi extends yo{constructor(t){super(),this.stdout="",this.stderr="",this.exitCode=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new gi).fromBinary(t,r)}static fromJson(t,r){return(new gi).fromJson(t,r)}static fromJsonString(t,r){return(new gi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(gi,t,r)}static $(){return["ShellOutput|1 stdout 9|2 stderr 9|3 exit_code 5"]}}class ji extends yo{constructor(t){super(),this.turn={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ji).fromBinary(t,r)}static fromJson(t,r){return(new ji).fromJson(t,r)}static fromJsonString(t,r){return(new ji).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ji,t,r)}static $(){return["ConversationTurn|1 agent_conversation_turn #0 turn|2 shell_conversation_turn #1 turn",Ji,Bi]}}class bi extends yo{constructor(t){super(),this.plan="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new bi).fromBinary(t,r)}static fromJson(t,r){return(new bi).fromJson(t,r)}static fromJsonString(t,r){return(new bi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(bi,t,r)}static $(){return["ConversationPlan|1 plan 9"]}}class yi extends yo{constructor(t){super(),this.id="",this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new yi).fromBinary(t,r)}static fromJson(t,r){return(new yi).fromJson(t,r)}static fromJsonString(t,r){return(new yi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(yi,t,r)}static $(){return["PlanRegistryEntry|1 id 9|2 path 9"]}}class wi extends yo{constructor(t){super(),this.conversationId="",this.goalId="",this.objective="",this.status=Be.UNSPECIFIED,this.idleContinuationsWithoutToolCalls=0,this.continuationCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new wi).fromBinary(t,r)}static fromJson(t,r){return(new wi).fromJson(t,r)}static fromJsonString(t,r){return(new wi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(wi,t,r)}static $(){return["GoalState|1 conversation_id 9|2 goal_id 9|3 objective 9|4 status #0|5 idle_continuations_without_tool_calls 13|6 active_duration_ms 4?|7 last_accrued_at_ms 4?|8 continuation_count 13|9 agent_session_id 9?|11 context_tokens_added 3?",Be]}}class xi extends yo{constructor(t){super(),this.turn={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new xi).fromBinary(t,r)}static fromJson(t,r){return(new xi).fromJson(t,r)}static fromJsonString(t,r){return(new xi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(xi,t,r)}static $(){return["ConversationTurnStructure|1 agent_conversation_turn #0 turn|2 shell_conversation_turn #1 turn",Si,qi]}}class Ji extends yo{constructor(t){super(),this.steps=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ji).fromBinary(t,r)}static fromJson(t,r){return(new Ji).fromJson(t,r)}static fromJsonString(t,r){return(new Ji).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ji,t,r)}static $(){return["AgentConversationTurn|1 user_message #0|2 steps #1*|3 request_id 9?",ci,Qo]}}class Si extends yo{constructor(t){super(),this.userMessage=new Uint8Array(0),this.steps=[],this.sendMessageStepIndices=[],this.subagentDispatchSteps=[],this.dynamicToolNames=[],this.longReasoningReminderExposureLogged=!1,this.assistantTextStepIndices=[],this.appSecretsRequestStepIndices=[],this.preferenceChangeStepIndices=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Si).fromBinary(t,r)}static fromJson(t,r){return(new Si).fromJson(t,r)}static fromJsonString(t,r){return(new Si).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Si,t,r)}static $(){return["AgentConversationTurnStructure|1 user_message 12|2 steps 12*|3 request_id 9?|4 encrypted_model 9?|5 dynamic_tool_count 13?|6 send_message_step_indices 13*|7 routed_model_display_name 9?|8 subagent_dispatch_steps #0*|9 dynamic_tool_names 9*|10 user_message_id 9?|11 long_reasoning_reminder #1?|12 long_reasoning_reminder_exposure_logged 8|13 assistant_text_step_indices 13*|14 assistant_text_steps_recorded 8?|15 app_secrets_request_step_indices 13*|16 preference_change_step_indices 13*",Zo,vi]}}class vi extends yo{constructor(t){super(),this.remainingDelayCalls=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new vi).fromBinary(t,r)}static fromJson(t,r){return(new vi).fromJson(t,r)}static fromJsonString(t,r){return(new vi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(vi,t,r)}static $(){return["LongReasoningReminderState|1 remaining_delay_calls 13"]}}class Bi extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Bi).fromBinary(t,r)}static fromJson(t,r){return(new Bi).fromJson(t,r)}static fromJsonString(t,r){return(new Bi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Bi,t,r)}static $(){return["ShellConversationTurn|1 shell_command #0|2 shell_output #1",_i,gi]}}class qi extends yo{constructor(t){super(),this.shellCommand=new Uint8Array(0),this.shellOutput=new Uint8Array(0),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new qi).fromBinary(t,r)}static fromJson(t,r){return(new qi).fromJson(t,r)}static fromJsonString(t,r){return(new qi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(qi,t,r)}static $(){return["ShellConversationTurnStructure|1 shell_command 12|2 shell_output 12"]}}class Pi extends yo{constructor(t){super(),this.summary="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Pi).fromBinary(t,r)}static fromJson(t,r){return(new Pi).fromJson(t,r)}static fromJsonString(t,r){return(new Pi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Pi,t,r)}static $(){return["ConversationSummary|1 summary 9"]}}class Oi extends yo{constructor(t){super(),this.summarizedMessages=[],this.summary="",this.windowTail=0,this.summaryMessage=new Uint8Array(0),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Oi).fromBinary(t,r)}static fromJson(t,r){return(new Oi).fromJson(t,r)}static fromJsonString(t,r){return(new Oi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Oi,t,r)}static $(){return["ConversationSummaryArchive|1 summarized_messages 12*|2 summary 9|3 window_tail 13|4 summary_message 12"]}}class Ii extends yo{constructor(t){super(),this.id="",this.label="",this.estimatedTokens=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ii).fromBinary(t,r)}static fromJson(t,r){return(new Ii).fromJson(t,r)}static fromJsonString(t,r){return(new Ii).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ii,t,r)}static $(){return["PromptTokenBreakdownCategory|1 id 9|2 label 9|3 estimated_tokens 13|4 character_count 13?"]}}class Ei extends yo{constructor(t){super(),this.totalUsedTokens=0,this.maxTokens=0,this.categories=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ei).fromBinary(t,r)}static fromJson(t,r){return(new Ei).fromJson(t,r)}static fromJsonString(t,r){return(new Ei).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ei,t,r)}static $(){return["PromptTokenBreakdownSnapshot|1 total_used_tokens 13|2 max_tokens 13|3 categories #0*",Ii]}}class Ai extends yo{constructor(t){super(),this.sourceType="",this.messageIndex=0,this.contentPath="",this.startOffset=0,this.endOffset=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ai).fromBinary(t,r)}static fromJson(t,r){return(new Ai).fromJson(t,r)}static fromJsonString(t,r){return(new Ai).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ai,t,r)}static $(){return["PromptContextSourceRef|1 source_type 9|3 message_index 13|4 content_path 9|5 start_offset 13|6 end_offset 13"]}}class ki extends yo{constructor(t){super(),this.id="",this.kind="",this.label="",this.categoryId="",this.estimatedTokens=0,this.characterCount=0,this.contentAvailable=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ki).fromBinary(t,r)}static fromJson(t,r){return(new ki).fromJson(t,r)}static fromJsonString(t,r){return(new ki).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ki,t,r)}static $(){return["PromptContextNode|1 id 9|2 parent_id 9?|3 kind 9|4 label 9|5 category_id 9|6 estimated_tokens 13|7 character_count 13|9 content_available 8|11 source #0?|12 inline_content 9?",Ai]}}class $i extends yo{constructor(t){super(),this.schemaVersion=0,this.nodes=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $i).fromBinary(t,r)}static fromJson(t,r){return(new $i).fromJson(t,r)}static fromJsonString(t,r){return(new $i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($i,t,r)}static $(){return["PromptContextUsageTree|1 schema_version 13|2 nodes #0*",ki]}}class Ti extends yo{constructor(t){super(),this.usedTokens=0,this.maxTokens=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ti).fromBinary(t,r)}static fromJson(t,r){return(new Ti).fromJson(t,r)}static fromJsonString(t,r){return(new Ti).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ti,t,r)}static $(){return["ConversationTokenDetails|1 used_tokens 13|2 max_tokens 13|3 breakdown #0?|4 prompt_context_usage_tree #1?",Ei,$i]}}class Ci extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ci).fromBinary(t,r)}static fromJson(t,r){return(new Ci).fromJson(t,r)}static fromJsonString(t,r){return(new Ci).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ci,t,r)}static $(){return["FileState|1 content 9?|2 initial_content 9?"]}}class Ri extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ri).fromBinary(t,r)}static fromJson(t,r){return(new Ri).fromJson(t,r)}static fromJsonString(t,r){return(new Ri).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ri,t,r)}static $(){return["FileStateStructure|1 content 12?|2 initial_content 12?"]}}class Mi extends yo{constructor(t){super(),this.durationMs=s.protoInt64.zero,this.timestampMs=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Mi).fromBinary(t,r)}static fromJson(t,r){return(new Mi).fromJson(t,r)}static fromJsonString(t,r){return(new Mi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Mi,t,r)}static $(){return["StepTiming|1 duration_ms 4|2 timestamp_ms 4"]}}class Ui extends yo{constructor(t){super(),this.completedTurnCountCapped=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ui).fromBinary(t,r)}static fromJson(t,r){return(new Ui).fromJson(t,r)}static fromJsonString(t,r){return(new Ui).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ui,t,r)}static $(){return["TurnTelemetryState|1 completed_turn_count_capped 13|2 last_completed_turn_timestamp_ms 4?"]}}class Ni extends yo{constructor(t){super(),this.rootPromptMessagesJson=[],this.turns=[],this.todos=[],this.pendingToolCalls=[],this.fileStates={},this.summaryArchives=[],this.plans={},this.communicateUpdateHistory=[],this.communicateUpdateStatesByParentToolCallId={},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ni).fromBinary(t,r)}static fromJson(t,r){return(new Ni).fromJson(t,r)}static fromJsonString(t,r){return(new Ni).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ni,t,r)}static $(){return["ConversationState|1 root_prompt_messages_json 9*|8 turns #0*|3 todos #1*|4 pending_tool_calls 9*|5 token_details #2|6 summary #3?|7 plan #4?|9 summary_archive #5?|10 file_states 9,#6|11 summary_archives #5*|12 plans 9,#7|13 communicate_update_history #8*|14 communicate_update_final_summary 9?|15 communicate_update_completed_subtitle 9?|16 communicate_update_states_by_parent_tool_call_id 9,#9",ji,O.kW,Ti,Pi,bi,Oi,Ci,yi,Li,Di]}}class Li extends yo{constructor(t){super(),this.step="",this.messageIndex=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Li).fromBinary(t,r)}static fromJson(t,r){return(new Li).fromJson(t,r)}static fromJsonString(t,r){return(new Li).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Li,t,r)}static $(){return["CommunicateUpdateHistoryEntry|1 step 9|3 message_index 13"]}}class Di extends yo{constructor(t){super(),this.history=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Di).fromBinary(t,r)}static fromJson(t,r){return(new Di).fromJson(t,r)}static fromJsonString(t,r){return(new Di).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Di,t,r)}static $(){return["CommunicateUpdateTurnState|1 history #0*|2 final_summary 9?|3 completed_subtitle 9?",Li]}}class Fi extends yo{constructor(t){super(),this.createdTimestampMs=s.protoInt64.zero,this.lastUsedTimestampMs=s.protoInt64.zero,this.environment=n.dU.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fi).fromBinary(t,r)}static fromJson(t,r){return(new Fi).fromJson(t,r)}static fromJsonString(t,r){return(new Fi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fi,t,r)}static $(){return["SubagentPersistedState|1 conversation_state #0|2 created_timestamp_ms 4|3 last_used_timestamp_ms 4|4 subagent_type #1|5 model_id 9?|6 environment #2|7 cloud_subagent #3?|8 first_class_bc_id 9?|9 cloud_requested_environment_build_id 9?|10 machine #4?",Gi,n._L,n.dU,Wi,Oo]}}class Wi extends yo{constructor(t){super(),this.bcId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Wi).fromBinary(t,r)}static fromJson(t,r){return(new Wi).fromJson(t,r)}static fromJsonString(t,r){return(new Wi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Wi,t,r)}static $(){return["CloudSubagentReference|1 bc_id 9|2 transcript_path 9?"]}}class zi extends yo{constructor(t){super(),this.repoPath="",this.branchName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zi).fromBinary(t,r)}static fromJson(t,r){return(new zi).fromJson(t,r)}static fromJsonString(t,r){return(new zi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zi,t,r)}static $(){return["TrackedGitRepo|1 repo_path 9|2 branch_name 9"]}}class Gi extends yo{constructor(t){super(),this.rootPromptMessagesJson=[],this.turns=[],this.todos=[],this.pendingToolCalls=[],this.previousWorkspaceUris=[],this.fileStates={},this.fileStatesV2={},this.summaryArchives=[],this.turnTimings=[],this.subagentStates={},this.selfSummaryCount=0,this.readPaths=[],this.plans={},this.trackedGitRepoBranches=[],this.communicateUpdateHistory=[],this.subagentThreads={},this.communicateUpdateStatesByParentToolCallId={},this.subagentRunsByParentToolCallId={},this.subagentStateRefs={},this.completedAskQuestionToolCallIds=[],this.durableSkillBlocks=[],this.recentUserMessageIds=[],this.mentionedAgentIds=[],this.voiceCallUtterances=[],this.voiceCallTimeTaskIds=[],this.writesVoiceCallUtterances=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Gi).fromBinary(t,r)}static fromJson(t,r){return(new Gi).fromJson(t,r)}static fromJsonString(t,r){return(new Gi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Gi,t,r)}static $(){return["ConversationStateStructure|1 root_prompt_messages_json 12*|8 turns 12*|3 todos 12*|4 pending_tool_calls 9*|5 token_details #0|6 summary 12?|7 plan 12?|9 previous_workspace_uris 9*|10 mode #1?|11 summary_archive 12?|12 file_states 9,12|15 file_states_v2 9,#2|13 summary_archives 12*|14 turn_timings #3*|16 subagent_states 9,#4|17 self_summary_count 13|18 read_paths 9*|19 active_branch_name 9?|20 plans 9,#5|21 tracked_git_repo_branches #6*|22 agent_type 9?|23 communicate_update_history #7*|24 subagent_threads 9,9|25 communicate_update_final_summary 9?|28 communicate_update_completed_subtitle 9?|29 communicate_update_states_by_parent_tool_call_id 9,#8|30 subagent_runs_by_parent_tool_call_id 9,#9|26 conversation_started_timestamp_ms 4?|27 conversation_started_time_zone 9?|31 subagent_state_refs 9,12|32 goal_state #10?|33 is_root_project_conversation 8?|34 completed_ask_question_tool_call_ids 9*|35 durable_skill_blocks 9*|36 durable_custom_mode_id 9?|37 message_count_at_last_compaction 13?|38 recent_user_message_ids 9*|39 recent_user_message_ids_older_turn_count 13?|40 turn_telemetry #11?|42 mentioned_agent_ids 9*|43 voice_call_utterances #12*|44 voice_call_pending_answer #13?|45 voice_call_time_task_ids 9*|46 writes_voice_call_utterances 8|47 voice_calls_read_utterances 8?|49 user_time_zone 9?|50 project_coordinator_system_section 9?",Ti,wo,Ri,Mi,Fi,yi,zi,Li,Di,Xo,wi,Ui,Hi,Ki]}}class Hi extends yo{constructor(t){super(),this.id="",this.kind=Vi.UNSPECIFIED,this.text="",this.answersMessageIds=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Hi).fromBinary(t,r)}static fromJson(t,r){return(new Hi).fromJson(t,r)}static fromJsonString(t,r){return(new Hi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Hi,t,r)}static $(){return["VoiceCallUtterance|1 id 9|2 kind #0|3 text 9|4 answers_message_ids 9*",Vi]}}var Vi=(0,i.QT)(s.proto3,bo,"VoiceCallUtterance.Kind",[[0,"UNSPECIFIED"],[1,"SEND"],[2,"TERMINAL"]],1);class Ki extends yo{constructor(t){super(),this.messageIds=[],this.readsUtterances=!1,this.endedOnSend=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ki).fromBinary(t,r)}static fromJson(t,r){return(new Ki).fromJson(t,r)}static fromJsonString(t,r){return(new Ki).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ki,t,r)}static $(){return["VoiceCallPendingAnswer|1 message_ids 9*|2 reads_utterances 8|3 ended_on_send 8"]}}class Qi extends yo{constructor(t){super(),this.id=0,this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qi).fromBinary(t,r)}static fromJson(t,r){return(new Qi).fromJson(t,r)}static fromJsonString(t,r){return(new Qi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qi,t,r)}static $(){return["InteractionResponse|1 id 13|2 web_search_request_response #0 result|3 ask_question_interaction_response #1 result|4 switch_mode_request_response #2 result|7 create_plan_request_response #3 result|8 setup_vm_environment_result #4 result|9 web_fetch_request_response #5 result|10 pr_management_result #6 result|11 mcp_auth_request_response #7 result|12 generate_image_request_response #8 result|13 replace_env_result #9 result|14 connect_scm_request_response #10 result",pt.lI,Yi,xt.w$,dt.gz,Rt.r$,Qt.fS,Zt.HL,tr.h,Jt.vW,Ur.dV,ye.qG]}}class Yi extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Yi).fromBinary(t,r)}static fromJson(t,r){return(new Yi).fromJson(t,r)}static fromJsonString(t,r){return(new Yi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Yi,t,r)}static $(){return["AskQuestionInteractionResponse|1 result #0",jt.tz]}}},"../proto/dist/generated/agent/v1/agent_skills_pb.js"(t,r,e){e.d(r,{N:()=>i});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.fullPath="",this.content="",this.description="",this.environments=[],this.disabledEnvironments=[],this.disableModelInvocation=!1,this.globs=[],this.scopedTo=[],this.argumentHint="",this.disableUserInvocation=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["AgentSkill|1 full_path 9|2 content 9|3 description 9|4 parse_error 9?|5 environments 9*|6 disabled_environments 9*|7 git_remote_origin 9?|8 disable_model_invocation 8|9 plugin 9?|10 marketplace 9?|11 plugin_id 9?|12 marketplace_id 9?|13 globs 9*|14 scoped_to 9*|15 argument_hint 9|16 disable_user_invocation 8"]}}},"../proto/dist/generated/agent/v1/ai_attribution_tool_pb.js"(t,r,e){e.d(r,{ex:()=>m});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/utils_pb.js"),o=e("../proto/dist/runtime/compact.js");class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class a extends i{constructor(t){super(),this.filePaths=[],this.commitHashes=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["AiAttributionArgs|5 file_paths 9*|2 start_line 5?|3 end_line 5?|6 commit_hashes 9*|7 output_mode 9?|9 max_commits 5?|10 include_line_ranges 8?"]}}class u extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["AiAttributionResult|1 success #0 result|2 error #1 result",l,c]}}class l extends i{constructor(t){super(),this.attributionText="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["AiAttributionSuccess|1 attribution_text 9|2 output_location #0?",n.pV]}}class c extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["AiAttributionError|1 error 9"]}}class m extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["AiAttributionToolCall|1 args #0|2 result #1",a,u]}}},"../proto/dist/generated/agent/v1/apply_agent_diff_tool_pb.js"(t,r,e){e.d(r,{JU:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}class a extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["ApplyAgentDiffToolCall|1 args #0|2 result #1",u,l]}}class u extends i{constructor(t){super(),this.agentId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["ApplyAgentDiffArgs|1 agent_id 9"]}}class l extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["ApplyAgentDiffResult|1 success #0 result|2 error #1 result",c,p]}}class c extends i{constructor(t){super(),this.appliedChanges=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["ApplyAgentDiffSuccess|1 applied_changes #0*",m]}}class m extends i{constructor(t){super(),this.path="",this.changeType=d.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["AppliedAgentChange|1 path 9|2 change_type #0|3 before_content 9?|4 after_content 9?|5 error 9?|6 message_for_model 9?",d]}}var d=(0,n.QT)(s.proto3,o,"AppliedAgentChange.ChangeType",[[0,"UNSPECIFIED"],[1,"CREATED"],[2,"MODIFIED"],[3,"DELETED"]],1);class p extends i{constructor(t){super(),this.error="",this.appliedChanges=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["ApplyAgentDiffError|1 error 9|2 applied_changes #0*",m]}}},"../proto/dist/generated/agent/v1/ask_question_tool_pb.js"(t,r,e){e.d(r,{OU:()=>i,ju:()=>a,tz:()=>m});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["AskQuestionToolCall|1 args #0|2 result #1",a,m]}}class a extends o{constructor(t){super(),this.title="",this.questions=[],this.runAsync=!1,this.asyncOriginalToolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["AskQuestionArgs|1 title 9|2 questions #0*|5 run_async 8|6 async_original_tool_call_id 9",u]}}class u extends o{constructor(t){super(),this.id="",this.prompt="",this.options=[],this.allowMultiple=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["AskQuestionArgs.Question|1 id 9|2 prompt 9|3 options #0*|4 allow_multiple 8|5 prompt_markdown 9?",l]}}class l extends o{constructor(t){super(),this.id="",this.label="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["AskQuestionArgs.Option|1 id 9|2 label 9"]}}class c extends o{constructor(t){super(),this.interactionId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["AskQuestionAsync|1 interaction_id 9"]}}class m extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["AskQuestionResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 async #3 result",d,f,h,c]}}class d extends o{constructor(t){super(),this.answers=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["AskQuestionSuccess|1 answers #0*",p]}}class p extends o{constructor(t){super(),this.questionId="",this.selectedOptionIds=[],this.freeformText="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["AskQuestionSuccess.Answer|1 question_id 9|2 selected_option_ids 9*|3 freeform_text 9"]}}class f extends o{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["AskQuestionError|1 error_message 9"]}}class h extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["AskQuestionRejected|1 reason 9"]}}},"../proto/dist/generated/agent/v1/background_shell_exec_pb.js"(t,r,e){e.d(r,{LL:()=>i,nt:()=>a});var s=e("@bufbuild/protobuf"),n=(e("../proto/dist/generated/agent/v1/shell_exec_pb.js"),e("../proto/dist/generated/agent/v1/sandbox_pb.js"),e("../proto/dist/generated/agent/v1/utils_pb.js"),e("../proto/dist/runtime/compact.js"));class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.shellId=0,this.chars="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["WriteShellStdinArgs|1 shell_id 13|2 chars 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["WriteShellStdinResult|1 success #0 result|2 error #1 result",u,l]}}class u extends o{constructor(t){super(),this.shellId=0,this.terminalFileLengthBeforeInputWritten=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["WriteShellStdinSuccess|1 shell_id 13|2 terminal_file_length_before_input_written 13"]}}class l extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["WriteShellStdinError|1 error 9"]}}},"../proto/dist/generated/agent/v1/computer_use_tool_pb.js"(t,r,e){e.d(r,{t8:()=>E});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"MouseButton",[[0,"UNSPECIFIED"],[1,"LEFT"],[2,"RIGHT"],[3,"MIDDLE"],[4,"BACK"],[5,"FORWARD"]],1),u=(0,n.QT)(s.proto3,o,"ScrollDirection",[[0,"UNSPECIFIED"],[1,"UP"],[2,"DOWN"],[3,"LEFT"],[4,"RIGHT"]],1),l=(0,n.QT)(s.proto3,o,"KeyStroke",[[0,"UNSPECIFIED"],[1,"TAP"],[2,"DOWN"],[3,"UP"]],1),c=(0,n.QT)(s.proto3,o,"ComputerUseDriver",[[0,"UNSPECIFIED"],[1,"XDOTOOL"],[2,"NATIVE_X11"]],1);class m extends i{constructor(t){super(),this.x=0,this.y=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["Coordinate|1 x 5|2 y 5"]}}class d extends i{constructor(t){super(),this.toolCallId="",this.actions=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ComputerUseArgs|1 tool_call_id 9|2 actions #0*|3 description 9?|4 bind_unmapped_characters 8?|5 desktop_lease_actor_id 9?|6 screenshot_settle_ms 5?|10 native_x11_driver #1?|11 mark_monitor_busy 8?|9 full_resolution_screenshot 8?|12 capture_name_prefix 9?|13 omit_inline_screenshot 8?",f,p]}}class p extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["NativeX11Driver|1 typing_delay_ms 5?|2 allow_fallback 8?"]}}class f extends i{constructor(t){super(),this.action={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ComputerUseAction|1 mouse_move #0 action|2 click #1 action|3 mouse_down #2 action|4 mouse_up #3 action|5 drag #4 action|6 scroll #5 action|7 type #6 action|8 key #7 action|9 wait #8 action|10 screenshot #9 action|11 cursor_position #10 action",h,_,g,j,b,y,w,x,J,S,v]}}class h extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["MouseMoveAction|1 coordinate #0",m]}}class _ extends i{constructor(t){super(),this.button=a.UNSPECIFIED,this.count=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["ClickAction|1 coordinate #0?|2 button #1|3 count 5|4 modifier_keys 9?",m,a]}}class g extends i{constructor(t){super(),this.button=a.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["MouseDownAction|1 button #0",a]}}class j extends i{constructor(t){super(),this.button=a.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["MouseUpAction|1 button #0",a]}}class b extends i{constructor(t){super(),this.path=[],this.button=a.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["DragAction|1 path #0*|2 button #1|3 modifier_keys 9?",m,a]}}class y extends i{constructor(t){super(),this.direction=u.UNSPECIFIED,this.amount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["ScrollAction|1 coordinate #0?|2 direction #1|3 amount 5|4 modifier_keys 9?",m,u]}}class w extends i{constructor(t){super(),this.text="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["TypeAction|1 text 9"]}}class x extends i{constructor(t){super(),this.key="",this.stroke=l.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["KeyAction|1 key 9|2 hold_duration_ms 5?|3 stroke #0",l]}}class J extends i{constructor(t){super(),this.durationMs=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["WaitAction|1 duration_ms 5"]}}class S extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["ScreenshotAction"]}}class v extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["CursorPositionAction"]}}class B extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["ComputerUseResult|1 success #0 result|2 error #1 result",q,I]}}class q extends i{constructor(t){super(),this.actionCount=0,this.durationMs=0,this.typing=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["ComputerUseSuccess|1 action_count 5|2 duration_ms 5|3 screenshot 9?|4 log 9?|5 screenshot_path 9?|6 cursor_position #0?|7 settle_ms 5?|9 driver #1?|10 monitor_busy_marked 8?|11 full_resolution_screenshot #2?|12 typing #3*",m,c,P,O]}}class P extends i{constructor(t){super(),this.path="",this.sha256="",this.sizeBytes=0,this.width=0,this.height=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["ComputerUseFullResolutionScreenshot|1 path 9|2 sha256 9|3 size_bytes 13|4 width 5|5 height 5"]}}class O extends i{constructor(t){super(),this.method="",this.chars=0,this.atoms=0,this.typedAtoms=0,this.aborted=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new O).fromBinary(t,r)}static fromJson(t,r){return(new O).fromJson(t,r)}static fromJsonString(t,r){return(new O).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(O,t,r)}static $(){return["ComputerUseTyping|1 method 9|2 chars 5|3 atoms 5|4 typed_atoms 5|5 aborted 8|6 check 9?|7 verified 5?|8 unchecked 9?|9 landing 9?"]}}class I extends i{constructor(t){super(),this.error="",this.actionCount=0,this.durationMs=0,this.typing=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new I).fromBinary(t,r)}static fromJson(t,r){return(new I).fromJson(t,r)}static fromJsonString(t,r){return(new I).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(I,t,r)}static $(){return["ComputerUseError|1 error 9|2 action_count 5|3 duration_ms 5|4 log 9?|5 screenshot 9?|6 screenshot_path 9?|7 driver #0?|8 monitor_busy_marked 8?|9 typing #1*",c,O]}}class E extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new E).fromBinary(t,r)}static fromJson(t,r){return(new E).fromJson(t,r)}static fromJsonString(t,r){return(new E).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(E,t,r)}static $(){return["ComputerUseToolCall|1 args #0|2 result #1",d,B]}}},"../proto/dist/generated/agent/v1/connect_scm_tool_pb.js"(t,r,e){e.d(r,{$1:()=>g,iO:()=>_,qG:()=>j});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.toolCallId="",this.target={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["ConnectScmArgs|1 tool_call_id 9|2 github #0 target|3 gitlab #1 target|4 bitbucket #2 target|5 azure_devops #3 target|6 reconnect 8?|7 repo_url 9?|8 instance_host 9?",c,a,u,l]}}class a extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["ConnectScmGitlab|1 instance_id 9?"]}}class u extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["ConnectScmBitbucket|1 instance_id 9?"]}}class l extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["ConnectScmAzureDevops"]}}class c extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["ConnectScmGithub|1 repository #0|2 ghe_application 9?",m]}}class m extends o{constructor(t){super(),this.owner="",this.repo="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["ConnectScmGithubRepository|1 owner 9|2 repo 9"]}}class d extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ConnectScmResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 scm_target 9?",p,f,h]}}class p extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["ConnectScmSuccess"]}}class f extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ConnectScmError|1 error 9"]}}class h extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["ConnectScmRejected|1 reason 9"]}}class _ extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["ConnectScmToolCall|1 args #0|2 result #1",i,d]}}class g extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["ConnectScmRequestQuery|1 args #0",i]}}class j extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["ConnectScmRequestResponse|1 approved #0 result|2 rejected #1 result|3 failed #2 result",b,y,w]}}class b extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["ConnectScmRequestResponse.Approved|1 scm_target 9?"]}}class y extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["ConnectScmRequestResponse.Rejected|1 reason 9|2 recorded_args #0?",i]}}class w extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["ConnectScmRequestResponse.Failed|1 error 9"]}}},"../proto/dist/generated/agent/v1/conversation_search_exec_pb.js"(t,r,e){e.d(r,{$m:()=>u,pT:()=>l});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"ConversationSearchSource",[[0,"UNSPECIFIED"],[1,"LOCAL"],[2,"CLOUD_CACHE"]],1);class u extends i{constructor(t){super(),this.query="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["ConversationSearchArgs|1 query 9|2 tool_call_id 9|3 limit 5?"]}}class l extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["ConversationSearchResult|1 success #0 result|2 error #1 result",c,d]}}class c extends i{constructor(t){super(),this.hits=[],this.truncated=!1,this.partial=!1,this.rebuilding=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["ConversationSearchSuccess|1 hits #0*|2 truncated 8|3 partial 8|4 rebuilding 8",m]}}class m extends i{constructor(t){super(),this.conversationId="",this.title="",this.source=a.UNSPECIFIED,this.updatedAtMs=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["ConversationSearchHit|1 conversation_id 9|2 title 9|3 source #0|4 updated_at_ms 3|5 snippet 9?",a]}}class d extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ConversationSearchError|1 error 9"]}}},"../proto/dist/generated/agent/v1/create_plan_tool_pb.js"(t,r,e){e.d(r,{Ih:()=>a,gz:()=>f,vR:()=>p});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/todo_tool_pb.js"),o=e("../proto/dist/runtime/compact.js");class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class a extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["CreatePlanToolCall|1 args #0|2 result #1",l,c]}}class u extends i{constructor(t){super(),this.name="",this.todos=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["Phase|1 name 9|2 todos #0*",n.kW]}}class l extends i{constructor(t){super(),this.plan="",this.todos=[],this.overview="",this.name="",this.isProject=!1,this.phases=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["CreatePlanArgs|1 plan 9|2 todos #0*|3 overview 9|4 name 9|5 is_project 8|6 phases #1*",n.kW,u]}}class c extends i{constructor(t){super(),this.result={case:void 0},this.planUri="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["CreatePlanResult|1 success #0 result|2 error #1 result|3 plan_uri 9",m,d]}}class m extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["CreatePlanSuccess"]}}class d extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["CreatePlanError|1 error 9"]}}class p extends i{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["CreatePlanRequestQuery|1 args #0|2 tool_call_id 9",l]}}class f extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["CreatePlanRequestResponse|1 result #0",c]}}},"../proto/dist/generated/agent/v1/cursor_rules_pb.js"(t,r,e){e.d(r,{DX:()=>p});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"CursorRuleSource",[[0,"UNSPECIFIED"],[1,"TEAM"],[2,"USER"]],1);class u extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["CursorRuleTypeGlobal"]}}class l extends i{constructor(t){super(),this.globs=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["CursorRuleTypeFileGlobs|1 globs 9*"]}}class c extends i{constructor(t){super(),this.description="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["CursorRuleTypeAgentFetched|1 description 9"]}}class m extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["CursorRuleTypeManuallyAttached"]}}class d extends i{constructor(t){super(),this.type={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["CursorRuleType|1 global #0 type|2 file_globbed #1 type|3 agent_fetched #2 type|4 manually_attached #3 type",u,l,c,m]}}class p extends i{constructor(t){super(),this.fullPath="",this.content="",this.source=a.UNSPECIFIED,this.environments=[],this.disabledEnvironments=[],this.scopedTo=[],this.frontmatter="",this.warnings=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["CursorRule|1 full_path 9|2 content 9|3 type #0|4 source #1|5 git_remote_origin 9?|6 parse_error 9?|7 environments 9*|8 disabled_environments 9*|9 plugin 9?|10 marketplace 9?|11 plugin_id 9?|12 marketplace_id 9?|13 scoped_to 9*|14 frontmatter 9|15 is_required 8?|16 warnings 9*|17 body_omitted 8?",d,a]}}},"../proto/dist/generated/agent/v1/delete_exec_pb.js"(t,r,e){e.d(r,{Pi:()=>a,dn:()=>i});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.path="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["DeleteArgs|1 path 9|2 tool_call_id 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["DeleteResult|1 success #0 result|2 file_not_found #1 result|3 not_file #2 result|4 permission_denied #3 result|5 file_busy #4 result|6 rejected #5 result|7 error #6 result",u,l,c,m,d,p,f]}}class u extends o{constructor(t){super(),this.path="",this.deletedFile="",this.fileSize=s.protoInt64.zero,this.prevContent="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["DeleteSuccess|1 path 9|2 deleted_file 9|3 file_size 3|4 prev_content 9"]}}class l extends o{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["DeleteFileNotFound|1 path 9"]}}class c extends o{constructor(t){super(),this.path="",this.actualType="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["DeleteNotFile|1 path 9|2 actual_type 9"]}}class m extends o{constructor(t){super(),this.path="",this.clientVisibleError="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["DeletePermissionDenied|1 path 9|2 client_visible_error 9|3 is_readonly 8"]}}class d extends o{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["DeleteFileBusy|1 path 9"]}}class p extends o{constructor(t){super(),this.path="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["DeleteRejected|1 path 9|2 reason 9"]}}class f extends o{constructor(t){super(),this.path="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["DeleteError|1 path 9|2 error 9"]}}},"../proto/dist/generated/agent/v1/diagnostics_exec_pb.js"(t,r,e){e.d(r,{h_:()=>o});var s=e("@bufbuild/protobuf"),n=(e("../proto/dist/generated/agent/v1/utils_pb.js"),e("../proto/dist/runtime/compact.js"));n.HL;var o=(0,n.QT)(s.proto3,"agent.v1.","DiagnosticSeverity",[[0,"UNSPECIFIED"],[1,"ERROR"],[2,"WARNING"],[3,"INFORMATION"],[4,"HINT"]],1)},"../proto/dist/generated/agent/v1/fetch_exec_pb.js"(t,r,e){e.d(r,{UM:()=>i,uN:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.url="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["FetchArgs|1 url 9|2 tool_call_id 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["FetchResult|1 success #0 result|2 error #1 result",u,l]}}class u extends o{constructor(t){super(),this.url="",this.content="",this.statusCode=0,this.contentType="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["FetchSuccess|1 url 9|2 content 9|3 status_code 5|4 content_type 9"]}}class l extends o{constructor(t){super(),this.url="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["FetchError|1 url 9|2 error 9"]}}},"../proto/dist/generated/agent/v1/generate_image_tool_pb.js"(t,r,e){e.d(r,{Uj:()=>m,r9:()=>c,vW:()=>d});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.description="",this.referenceImagePaths=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["GenerateImageArgs|1 description 9|2 file_path 9?|5 reference_image_paths 9*|6 aspect_ratio 9?"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["GenerateImageResult|1 success #0 result|2 error #1 result",u,l]}}class u extends o{constructor(t){super(),this.filePath="",this.imageData="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["GenerateImageSuccess|1 file_path 9|2 image_data 9"]}}class l extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["GenerateImageError|1 error 9"]}}class c extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["GenerateImageToolCall|1 args #0|2 result #1",i,a]}}class m extends o{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["GenerateImageRequestQuery|1 args #0|2 tool_call_id 9",i]}}class d extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["GenerateImageRequestResponse|1 approved #0 result|2 rejected #1 result",p,f]}}class p extends o{constructor(t){super(),this.description="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["GenerateImageRequestResponse.Approved|1 description 9"]}}class f extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["GenerateImageRequestResponse.Rejected|1 reason 9"]}}},"../proto/dist/generated/agent/v1/grep_exec_pb.js"(t,r,e){e.d(r,{Qj:()=>a,Ud:()=>u});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/sandbox_pb.js"),o=e("../proto/dist/runtime/compact.js");class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class a extends i{constructor(t){super(),this.pattern="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["GrepArgs|1 pattern 9|2 path 9?|3 glob 9?|4 output_mode 9?|5 context_before 5?|6 context_after 5?|7 context 5?|8 case_insensitive 8?|9 type 9?|10 head_limit 5?|11 multiline 8?|12 sort 9?|13 sort_ascending 8?|14 tool_call_id 9|15 sandbox_policy #0?|16 offset 5?",n.Mw]}}class u extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["GrepResult|1 success #0 result|2 error #1 result",c,l]}}class l extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["GrepError|1 error 9"]}}class c extends i{constructor(t){super(),this.pattern="",this.path="",this.outputMode="",this.workspaceResults={},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["GrepSuccess|1 pattern 9|2 path 9|3 output_mode 9|4 workspace_results 9,#0|5 active_editor_result #0?",m]}}class m extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["GrepUnionResult|1 count #0 result|2 files #1 result|3 content #2 result",d,f,h]}}class d extends i{constructor(t){super(),this.counts=[],this.totalFiles=0,this.totalMatches=0,this.clientTruncated=!1,this.ripgrepTruncated=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["GrepCountResult|1 counts #0*|2 total_files 5|3 total_matches 5|4 client_truncated 8|5 ripgrep_truncated 8|6 head_limit_applied 5?|7 offset_applied 5?",p]}}class p extends i{constructor(t){super(),this.file="",this.count=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["GrepFileCount|1 file 9|2 count 5"]}}class f extends i{constructor(t){super(),this.files=[],this.totalFiles=0,this.clientTruncated=!1,this.ripgrepTruncated=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["GrepFilesResult|1 files 9*|2 total_files 5|3 client_truncated 8|4 ripgrep_truncated 8|5 head_limit_applied 5?|6 offset_applied 5?"]}}class h extends i{constructor(t){super(),this.matches=[],this.totalLines=0,this.totalMatchedLines=0,this.clientTruncated=!1,this.ripgrepTruncated=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["GrepContentResult|1 matches #0*|2 total_lines 5|3 total_matched_lines 5|4 client_truncated 8|5 ripgrep_truncated 8|6 head_limit_applied 5?|7 offset_applied 5?",_]}}class _ extends i{constructor(t){super(),this.file="",this.matches=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["GrepFileMatch|1 file 9|2 matches #0*",g]}}class g extends i{constructor(t){super(),this.lineNumber=0,this.content="",this.contentTruncated=!1,this.isContextLine=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["GrepContentMatch|1 line_number 5|2 content 9|3 content_truncated 8|4 is_context_line 8"]}}},"../proto/dist/generated/agent/v1/hook_additional_context_pb.js"(t,r,e){e.d(r,{C:()=>i});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.hookEventName="",this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["HookAdditionalContext|1 hook_event_name 9|2 content 9"]}}},"../proto/dist/generated/agent/v1/ls_exec_pb.js"(t,r,e){e.d(r,{fv:()=>u,vq:()=>c,xe:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/sandbox_pb.js"),o=e("../proto/dist/runtime/compact.js");class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class a extends i{constructor(t){super(),this.path="",this.ignore=[],this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["LsArgs|1 path 9|2 ignore 9*|3 tool_call_id 9|4 sandbox_policy #0?|5 timeout_ms 13?",n.Mw]}}class u extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["LsResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 timeout #3 result",l,d,p,f]}}class l extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["LsSuccess|1 directory_tree_root #0",c]}}class c extends i{constructor(t){super(),this.absPath="",this.childrenDirs=[],this.childrenFiles=[],this.childrenWereProcessed=!1,this.fullSubtreeExtensionCounts={},this.numFiles=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["LsDirectoryTreeNode|1 abs_path 9|2 children_dirs #0*|3 children_files #1*|4 children_were_processed 8|5 full_subtree_extension_counts 9,5|6 num_files 5",c,m]}}class m extends i{constructor(t){super(),this.name="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["LsDirectoryTreeNode.File|1 name 9|2 terminal_metadata #0?",h]}}class d extends i{constructor(t){super(),this.path="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["LsError|1 path 9|2 error 9"]}}class p extends i{constructor(t){super(),this.path="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["LsRejected|1 path 9|2 reason 9"]}}class f extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["LsTimeout|1 directory_tree_root #0",c]}}class h extends i{constructor(t){super(),this.lastCommands=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["TerminalMetadata|1 cwd 9?|2 last_commands #0*|3 last_modified_ms 3?|4 current_command #0?",_]}}class _ extends i{constructor(t){super(),this.command="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["TerminalMetadata.Command|1 command 9|2 exit_code 5?|3 timestamp_ms 3?|4 duration_ms 3?"]}}},"../proto/dist/generated/agent/v1/mcp_auth_tool_pb.js"(t,r,e){e.d(r,{NX:()=>m,h:()=>p,uL:()=>d});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.serverIdentifier="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["McpAuthArgs|1 server_identifier 9|2 tool_call_id 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["McpAuthResult|1 success #0 result|2 error #1 result|3 rejected #2 result",u,l,c]}}class u extends o{constructor(t){super(),this.serverIdentifier="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["McpAuthSuccess|1 server_identifier 9"]}}class l extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["McpAuthError|1 error 9"]}}class c extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["McpAuthRejected|1 reason 9"]}}class m extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["McpAuthToolCall|1 args #0|2 result #1",i,a]}}class d extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["McpAuthRequestQuery|1 args #0",i]}}class p extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["McpAuthRequestResponse|1 approved #0 result|2 rejected #1 result",f,h]}}class f extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["McpAuthRequestResponse.Approved"]}}class h extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["McpAuthRequestResponse.Rejected|1 reason 9"]}}},"../proto/dist/generated/agent/v1/mcp_exec_pb.js"(t,r,e){e.d(r,{DI:()=>x,E_:()=>a,HQ:()=>h,Kp:()=>d,QW:()=>p,ZD:()=>J,kP:()=>g,kj:()=>_,xo:()=>f});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/utils_pb.js"),o=(e("../proto/dist/generated/agent/v1/mcp_pb.js"),e("../proto/dist/runtime/compact.js"));class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}s.proto3,s.proto3;class a extends i{constructor(t){super(),this.name="",this.args={},this.toolCallId="",this.providerIdentifier="",this.toolName="",this.smartModeApprovalOnly=!1,this.skipApproval=!1,this.serverIdentifier="",this.symbolicPathArguments=[],this.argumentsRepaired=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["McpArgs|1 name 9|2 args 9,#0|3 tool_call_id 9|4 provider_identifier 9|5 tool_name 9|6 smart_mode_approval #1?|7 smart_mode_approval_only 8|8 skip_approval 8|9 server_identifier 9|10 symbolic_path_arguments #2*|11 arguments_repaired 8",s.Value,n.UC,u]}}class u extends i{constructor(t){super(),this.path="",this.sha256="",this.sizeBytes=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["McpSymbolicPathArgument|1 path 9|2 sha256 9|3 size_bytes 3"]}}class l extends i{constructor(t){super(),this.text="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["McpTextContent|1 text 9|2 output_location #0?",n.pV]}}class c extends i{constructor(t){super(),this.data=new Uint8Array(0),this.mimeType="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["McpImageContent|1 data 12|2 mime_type 9"]}}class m extends i{constructor(t){super(),this.content={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["McpToolResultContentItem|1 text #0 content|2 image #1 content",l,c]}}class d extends i{constructor(t){super(),this.body="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["SystemReminder|1 body 9"]}}class p extends i{constructor(t){super(),this.content=[],this.isError=!1,this.systemReminders=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["McpSuccess|1 content #0*|2 is_error 8|3 structured_content #1|4 system_reminders #2*|5 result_meta #1",m,s.Struct,d]}}s.proto3;class f extends i{constructor(t){super(),this.reason="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["McpRejected|1 reason 9|2 is_readonly 8"]}}class h extends i{constructor(t){super(),this.error="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["McpPermissionDenied|1 error 9|2 is_readonly 8"]}}class _ extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["ListMcpResourcesExecArgs|1 server 9?"]}}class g extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["ListMcpResourcesExecResult|1 success #0 result|2 error #1 result|3 rejected #2 result",b,y,w]}}class j extends i{constructor(t){super(),this.uri="",this.server="",this.annotations={},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["ListMcpResourcesExecResult.McpResource|1 uri 9|2 name 9?|3 description 9?|4 mime_type 9?|5 server 9|6 annotations 9,9"]}}class b extends i{constructor(t){super(),this.resources=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["ListMcpResourcesSuccess|1 resources #0*",j]}}class y extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["ListMcpResourcesError|1 error 9"]}}class w extends i{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["ListMcpResourcesRejected|1 reason 9"]}}class x extends i{constructor(t){super(),this.server="",this.uri="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["ReadMcpResourceExecArgs|1 server 9|2 uri 9|3 download_path 9?|4 tool_call_id 9|5 smart_mode_approval #0?",n.UC]}}class J extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["ReadMcpResourceExecResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 not_found #3 result",S,v,B,q]}}class S extends i{constructor(t){super(),this.uri="",this.content={case:void 0},this.annotations={},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["ReadMcpResourceSuccess|1 uri 9|2 name 9?|3 description 9?|4 mime_type 9?|5 text 9 content|6 blob 12 content|7 annotations 9,9|8 download_path 9?|9 output_location #0?|10 meta_json 9?",n.pV]}}class v extends i{constructor(t){super(),this.uri="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["ReadMcpResourceError|1 uri 9|2 error 9"]}}class B extends i{constructor(t){super(),this.uri="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["ReadMcpResourceRejected|1 uri 9|2 reason 9"]}}class q extends i{constructor(t){super(),this.uri="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["ReadMcpResourceNotFound|1 uri 9"]}}},"../proto/dist/generated/agent/v1/mcp_pb.js"(t,r,e){e.d(r,{I0:()=>u,Is:()=>m,Or:()=>a,U_:()=>d,gd:()=>i});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.name="",this.providerIdentifier="",this.toolName="",this.description="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["McpToolDefinition|1 name 9|4 provider_identifier 9|5 tool_name 9|2 description 9|3 input_schema #0|6 input_schema_json 9?|7 output_schema_json 9?|8 annotations_json 9?|9 meta_json 9?",s.Value]}}class a extends o{constructor(t){super(),this.mcpTools=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["McpTools|1 mcp_tools #0*",i]}}class u extends o{constructor(t){super(),this.serverName="",this.instructions="",this.serverIdentifier="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["McpInstructions|1 server_name 9|2 instructions 9|3 server_identifier 9"]}}class l extends o{constructor(t){super(),this.serverName="",this.serverIdentifier="",this.tools=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["McpDescriptor|1 server_name 9|2 server_identifier 9|3 folder_path 9?|4 server_use_instructions 9?|5 tools #0*|7 plugin 9?|8 marketplace 9?|9 plugin_db_id 9?|10 marketplace_id 9?|11 account_label 9?",c]}}class c extends o{constructor(t){super(),this.toolName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["McpToolDescriptor|1 tool_name 9|2 definition_path 9?|3 description 9?|4 input_schema #0?|5 input_schema_json 9?|6 annotations_json 9?",s.Value]}}class m extends o{constructor(t){super(),this.enabled=!1,this.workspaceProjectDir="",this.mcpDescriptors=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["McpFileSystemOptions|1 enabled 8|2 workspace_project_dir 9|3 mcp_descriptors #0*",l]}}class d extends o{constructor(t){super(),this.enabled=!1,this.mcpDescriptors=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["McpMetaToolOptions|1 enabled 8|2 mcp_descriptors #0*",l]}}},"../proto/dist/generated/agent/v1/pr_management_tool_pb.js"(t,r,e){e.d(r,{AU:()=>q,DY:()=>P,HL:()=>y});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"MergePrMode",[[0,"UNSPECIFIED"],[1,"MERGE"],[2,"AUTO"],[3,"DISABLE_AUTO"]],1),u=(0,n.QT)(s.proto3,o,"MergePrMethod",[[0,"UNSPECIFIED"],[1,"MERGE"],[2,"SQUASH"]],1),l=(0,n.QT)(s.proto3,o,"PullRequestStatus",[[0,"UNSPECIFIED"],[1,"OPEN"],[2,"CLOSED"]],1);class c extends i{constructor(t){super(),this.toolCallId="",this.action={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["PrManagementArgs|1 tool_call_id 9|2 create_pr #0 action|3 update_pr #1 action|4 post_comment #2 action|5 resolve_comment #3 action|6 get_ci_status #4 action|7 set_pr_status #5 action|8 merge_pr #6 action|9 list_prs #7 action|10 get_pr #8 action",m,d,p,f,h,_,g,j,b]}}class m extends i{constructor(t){super(),this.title="",this.body="",this.branchName="",this.addLabels=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["CreatePrAction|1 title 9|2 body 9|3 base_branch 9?|4 draft 8?|5 branch_name 9|6 add_labels 9*|7 repo_url 9?|8 skip_branch_prefix_check 8?|9 stack_on_pr_number 3?"]}}class d extends i{constructor(t){super(),this.addLabels=[],this.removeLabels=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["UpdatePrAction|1 pr_url 9?|2 title 9?|3 body 9?|4 base_branch 9?|5 branch_name 9?|6 add_labels 9*|7 remove_labels 9*|8 repo_url 9?|9 stack_on_pr_number 3?|10 clear_stack 8?|11 draft 8?"]}}class p extends i{constructor(t){super(),this.body="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["PostCommentAction|1 pr_url 9?|2 branch_name 9?|3 body 9|4 repo_url 9?|5 in_reply_to 3?|6 path 9?|7 line 5?|8 start_line 5?|9 side 9?|10 reply_to_reference 9?"]}}class f extends i{constructor(t){super(),this.commentId=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ResolveCommentAction|1 pr_url 9?|2 branch_name 9?|3 comment_id 3|4 repo_url 9?|5 comment_reference 9?"]}}class h extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["GetCiStatusAction|1 pr_url 9?|2 branch_name 9?|3 repo_url 9?"]}}class _ extends i{constructor(t){super(),this.status=l.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["SetPrStatusAction|1 pr_url 9?|2 branch_name 9?|3 repo_url 9?|4 status #0",l]}}class g extends i{constructor(t){super(),this.mode=a.UNSPECIFIED,this.method=u.UNSPECIFIED,this.expectedMemberHeadShas={},this.downstack=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["MergePrAction|1 pr_url 9?|2 branch_name 9?|3 repo_url 9?|4 mode #0|5 method #1|6 expected_head_sha 9?|7 expected_member_head_shas 9,9|8 downstack 8",a,u]}}class j extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["ListPrsArgs|1 limit 5?"]}}class b extends i{constructor(t){super(),this.prUrl="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["GetPrArgs|1 pr_url 9"]}}class y extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["PrManagementResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 registered #3 result|5 needs_confirmation #4 result|6 read #5 result",x,J,S,v,B,w]}}class w extends i{constructor(t){super(),this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["PrManagementRead|1 message 9"]}}class x extends i{constructor(t){super(),this.prUrl="",this.prNumber=0,this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["PrManagementSuccess|1 pr_url 9|2 pr_number 5|3 message 9"]}}class J extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["PrManagementError|1 error 9"]}}class S extends i{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["PrManagementRejected|1 reason 9"]}}class v extends i{constructor(t){super(),this.message="",this.title="",this.body="",this.branchName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["PrManagementRegistered|1 message 9|2 title 9|3 body 9|4 base_branch 9?|5 draft 8?|6 branch_name 9"]}}class B extends i{constructor(t){super(),this.message="",this.discoveredPrUrl="",this.discoveredPrNumber=0,this.discoveredPrTitle="",this.branchName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["PrManagementNeedsConfirmation|1 message 9|2 discovered_pr_url 9|3 discovered_pr_number 5|4 discovered_pr_title 9|5 branch_name 9"]}}class q extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["PrManagementToolCall|1 args #0|2 result #1",c,y]}}class P extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["PrManagementRequestQuery|1 args #0",c]}}},"../proto/dist/generated/agent/v1/record_screen_exec_pb.js"(t,r,e){e.d(r,{Tj:()=>c,zH:()=>l});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"RecordingMode",[[0,"UNSPECIFIED"],[1,"START_RECORDING"],[2,"SAVE_RECORDING"],[3,"DISCARD_RECORDING"]],1),u=(0,n.QT)(s.proto3,o,"RequestedFilePathRejectedReason",[[0,"UNSPECIFIED"],[1,"SLASHES_NOT_ALLOWED"]],1);class l extends i{constructor(t){super(),this.mode=a.UNSPECIFIED,this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["RecordScreenArgs|1 mode #0|2 tool_call_id 9|3 save_as_filename 9?",a]}}class c extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["RecordScreenResult|1 start_success #0 result|2 save_success #1 result|3 discard_success #2 result|4 failure #3 result",m,d,p,f]}}class m extends i{constructor(t){super(),this.wasPriorRecordingCancelled=!1,this.wasSaveAsFilenameIgnored=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["RecordScreenStartSuccess|1 was_prior_recording_cancelled 8|2 was_save_as_filename_ignored 8"]}}class d extends i{constructor(t){super(),this.path="",this.recordingDurationMs=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["RecordScreenSaveSuccess|1 path 9|2 recording_duration_ms 3|3 requested_file_path_rejected_reason #0?",u]}}class p extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["RecordScreenDiscardSuccess"]}}class f extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["RecordScreenFailure|1 error 9"]}}},"../proto/dist/generated/agent/v1/replace_env_tool_pb.js"(t,r,e){e.d(r,{TO:()=>c,dV:()=>p,km:()=>h,us:()=>f});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"ReplaceEnvMode",[[0,"UNSPECIFIED"],[1,"CUSTOM"],[2,"CLEAN_SLATE"],[3,"DEFAULT"]],1);class u extends i{constructor(t){super(),this.repoUrl="",this.ref="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["RepoCheckoutRefOverride|1 repo_url 9|2 ref 9"]}}class l extends i{constructor(t){super(),this.installScript="",this.dockerfileContents="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["ReplaceEnvConfig|1 install_script 9|2 dockerfile_contents 9"]}}class c extends i{constructor(t){super(),this.mode=a.UNSPECIFIED,this.checkoutRefOverrides=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["ReplaceEnvArgs|1 config #0|2 mode #1|3 checkout_ref_overrides #2*",l,a,u]}}class m extends i{constructor(t){super(),this.setupLogs="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["ReplaceEnvSuccess|1 setup_logs 9"]}}class d extends i{constructor(t){super(),this.errorMessage="",this.setupLogs="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ReplaceEnvFailure|1 error_message 9|2 setup_logs 9"]}}class p extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["ReplaceEnvResult|1 success #0 result|2 failure #1 result",m,d]}}class f extends i{constructor(t){super(),this.associatedPodKey="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ReplaceEnvToolCall|1 args #0|2 result #1|3 associated_pod_key 9",c,p]}}class h extends i{constructor(t){super(),this.associatedPodKey="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["ReplaceEnvToolCallDelta|1 associated_pod_key 9"]}}},"../proto/dist/generated/agent/v1/report_bugfix_results_tool_pb.js"(t,r,e){e.d(r,{U_:()=>p});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"BugfixVerdict",[[0,"UNSPECIFIED"],[1,"FIXED"],[2,"FALSE_POSITIVE"],[3,"COULD_NOT_FIX"],[4,"RESOLVED_BY_OTHER_FIX"]],1);class u extends i{constructor(t){super(),this.bugId="",this.bugTitle="",this.verdict=a.UNSPECIFIED,this.explanation="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["BugfixResultItem|1 bug_id 9|2 bug_title 9|3 verdict #0|4 explanation 9|5 severity 9?",a]}}class l extends i{constructor(t){super(),this.summary="",this.results=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["ReportBugfixResultsArgs|1 summary 9|2 results #0*",u]}}class c extends i{constructor(t){super(),this.results=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["ReportBugfixResultsSuccess|1 results #0*",u]}}class m extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["ReportBugfixResultsError|1 error 9"]}}class d extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ReportBugfixResultsResult|1 success #0 result|2 error #1 result",c,m]}}class p extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["ReportBugfixResultsToolCall|1 args #0|2 result #1",l,d]}}},"../proto/dist/generated/agent/v1/request_context_exec_pb.js"(t,r,e){e.d(r,{bb:()=>I,sG:()=>E,uw:()=>v});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");n.HL;var o=(0,n.QT)(s.proto3,"agent.v1.","PackageType",[[0,"UNSPECIFIED"],[1,"CURSOR_PROJECT"],[2,"CURSOR_PERSONAL"],[3,"CLAUDE_SKILL"],[4,"CLAUDE_PLUGIN"]],1),i=e("../proto/dist/generated/agent/v1/cursor_rules_pb.js");class a extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class u extends a{constructor(t){super(),this.relativeWorkspacePath="",this.remoteUrls=[],this.remoteNames=[],this.repoName="",this.repoOwner="",this.isTracked=!1,this.isLocal=!1,this.workspaceUri="",this.pathEncryptionKey="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["RepositoryIndexingInfo|1 relative_workspace_path 9|2 remote_urls 9*|3 remote_names 9*|4 repo_name 9|5 repo_owner 9|6 is_tracked 8|7 is_local 8|8 orthogonal_transform_seed 1?|9 workspace_uri 9|10 path_encryption_key 9"]}}var l=e("../proto/dist/generated/agent/v1/mcp_pb.js"),c=e("../proto/dist/generated/agent/v1/ls_exec_pb.js"),m=e("../proto/dist/generated/agent/v1/subagents_pb.js"),d=e("../proto/dist/generated/agent/v1/agent_skills_pb.js"),p=e("../proto/dist/generated/agent/v1/system_prompt_pb.js");const f="agent.v1.";class h extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return f}}var _=(0,n.QT)(s.proto3,f,"ComputerUseDesktopPlatform",[[0,"UNSPECIFIED"],[1,"LINUX"],[2,"MACOS"],[3,"WINDOWS"]],1),g=(0,n.QT)(s.proto3,f,"MountedAgentStoreKind",[[0,"UNSPECIFIED"],[1,"SELF"],[2,"PEER"],[3,"SHARE"],[4,"PRINCIPAL"]],1);class j extends h{constructor(t){super(),this.path="",this.status="",this.branchName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["GitRepoInfo|1 path 9|2 status 9|3 branch_name 9|4 remote_url 9?|5 previous_branch_is_ancestor 8?|6 is_origin_backed 8?"]}}class b extends h{constructor(t){super(),this.osVersion="",this.workspacePaths=[],this.shell="",this.sandboxEnabled=!1,this.terminalsFolder="",this.agentSharedNotesFolder="",this.agentConversationNotesFolder="",this.timeZone="",this.projectFolder="",this.agentTranscriptsFolder="",this.sandboxNetworkExplicitAllowlist=[],this.mountedAgentStores=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["RequestContextEnv|1 os_version 9|2 workspace_paths 9*|3 shell 9|5 sandbox_enabled 8|7 terminals_folder 9|8 agent_shared_notes_folder 9|9 agent_conversation_notes_folder 9|10 time_zone 9|11 project_folder 9|12 agent_transcripts_folder 9|13 artifacts_folder 9?|14 sandbox_supported 8?|16 sandbox_network_has_defaults 8?|17 sandbox_network_explicit_allowlist 9*|18 secret_redaction_enabled 8?|19 computer_use_supported 8?|20 is_working_dir_home_dir 8?|21 process_working_directory 9?|22 smart_mode_classifier_auto_mode_enabled 8?|23 dev_force_next_smart_mode_classifier_block_token 9?|24 dev_delay_next_smart_mode_classifier_token 9?|25 mounted_agent_stores #0*|26 user_agent_store_web_context #1?|27 dev_mock_prompt_time #2?|28 agent_store_dynamic_mount_enabled 8?|29 computer_use_desktop #3?",w,x,s.Timestamp,y]}}class y extends h{constructor(t){super(),this.platform=_.UNSPECIFIED,this.canvasWidth=0,this.canvasHeight=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["ComputerUseDesktop|1 platform #0|2 canvas_width 5|3 canvas_height 5",_]}}class w extends h{constructor(t){super(),this.path="",this.kind=g.UNSPECIFIED,this.readOnly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["MountedAgentStore|1 path 9|2 kind #0|3 alias 9?|4 read_only 8|5 inherited_from_path 9?",g]}}class x extends h{constructor(t){super(),this.storeId="",this.portalBaseUrl="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["UserAgentStoreWebContext|1 store_id 9|2 portal_base_url 9"]}}class J extends h{constructor(t){super(),this.logPath="",this.serverEndpoint="",this.sessionId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["DebugModeConfig|1 log_path 9|2 server_endpoint 9|3 session_id 9"]}}class S extends h{constructor(t){super(),this.name="",this.description="",this.folderPath="",this.enabled=!1,this.readmeFilePath="",this.packageType=o.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["SkillDescriptor|1 name 9|2 description 9|3 folder_path 9|4 enabled 8|5 parse_error 9?|6 readme_file_path 9|7 package_type #0",o]}}class v extends h{constructor(t){super(),this.skillDescriptors=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["SkillOptions|1 skill_descriptors #0*",S]}}class B extends h{constructor(t){super(),this.configuredSteps=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["HooksConfigInfo|1 configured_steps 9*"]}}class q extends h{constructor(t){super(),this.allowInstructions=[],this.blockInstructions=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["PermissionsAutoRunInstructions|1 allow_instructions 9*|2 block_instructions 9*"]}}class P extends h{constructor(t){super(),this.startLineNumber=0,this.endLineNumberExclusive=0,this.beforeContextLines=[],this.removedLines=[],this.addedLines=[],this.afterContextLines=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["PrecomputedHumanChangeRenderedDiff|1 start_line_number 5|2 end_line_number_exclusive 5|3 before_context_lines 9*|4 removed_lines 9*|5 added_lines 9*|6 after_context_lines 9*"]}}class O extends h{constructor(t){super(),this.path="",this.renderedDiffs=[],this.isNewFile=!1,this.isDeletedFile=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new O).fromBinary(t,r)}static fromJson(t,r){return(new O).fromJson(t,r)}static fromJsonString(t,r){return(new O).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(O,t,r)}static $(){return["PrecomputedHumanChange|1 path 9|2 rendered_diffs #0*|3 is_new_file 8|4 is_deleted_file 8",P]}}class I extends h{constructor(t){super(),this.rules=[],this.repositoryInfo=[],this.tools=[],this.gitRepos=[],this.projectLayouts=[],this.mcpInstructions=[],this.fileContents={},this.customSubagents=[],this.agentSkills=[],this.precomputedHumanChanges=[],this.nonFileRules=[],this.disabledTeamRules=[],this.adminCommandDenylist=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new I).fromBinary(t,r)}static fromJson(t,r){return(new I).fromJson(t,r)}static fromJsonString(t,r){return(new I).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(I,t,r)}static $(){return["RequestContext|2 rules #0*|4 env #1|6 repository_info #2*|7 tools #3*|8 conversation_notes_listing 9?|9 shared_notes_listing 9?|11 git_repos #4*|13 project_layouts #5*|14 mcp_instructions #6*|15 debug_mode_config #7?|16 cloud_rule 9?|17 web_search_enabled 8?|18 skill_options #8?|19 repository_info_should_query_prod 8?|20 file_contents 9,9|21 user_intent_summary 9?|22 custom_subagents #9*|23 mcp_file_system_options #10?|24 web_fetch_enabled 8?|25 hooks_additional_context 9?|26 commit_attribution_message 9?|27 pr_attribution_message 9?|28 hooks_config #11?|29 agent_skills #12*|30 precomputed_human_changes #13*|31 recently_added_plugin #14?|32 supports_mcp_auth 8?|33 git_repo_info_complete 8?|34 mcp_meta_tool_options #15?|35 read_lints_enabled 8?|36 mcp_info_complete 8?|37 non_file_rules #0*|38 matched_installed_plugin #16?|39 rules_info_complete 8?|40 env_info_complete 8?|41 repository_info_complete 8?|42 custom_subagents_info_complete 8?|43 agent_skills_info_complete 8?|44 mcp_file_system_info_complete 8?|45 git_status_info_complete 8?|46 user_permissions_auto_run #17?|47 project_permissions_auto_run #17?|48 admin_permissions_auto_run #17?|49 disabled_team_rules 9*|50 search_conversations_enabled 8?|51 send_message_enabled 8?|52 admin_command_denylist 9*|53 system_prompt_override #18?",i.DX,b,u,l.gd,j,c.vq,l.I0,J,v,m.zz,l.Is,B,d.N,O,A,l.U_,$,q,p.$]}}class E extends h{constructor(t){super(),this.rulesBlobId=new Uint8Array(0),this.rulesByteLength=0,this.skillsBlobId=new Uint8Array(0),this.skillsByteLength=0,this.subagentsBlobId=new Uint8Array(0),this.subagentsByteLength=0,this.mcpsBlobId=new Uint8Array(0),this.mcpsByteLength=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new E).fromBinary(t,r)}static fromJson(t,r){return(new E).fromJson(t,r)}static fromJsonString(t,r){return(new E).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(E,t,r)}static $(){return["RequestContextPartReferences|1 rules_blob_id 12|2 rules_byte_length 13|3 skills_blob_id 12|4 skills_byte_length 13|5 subagents_blob_id 12|6 subagents_byte_length 13|7 mcps_blob_id 12|8 mcps_byte_length 13|9 dynamic_context #0",I]}}class A extends h{constructor(t){super(),this.displayName="",this.description="",this.skills=[],this.subagents=[],this.hooks=[],this.rules=[],this.commands=[],this.mcpServers=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new A).fromBinary(t,r)}static fromJson(t,r){return(new A).fromJson(t,r)}static fromJsonString(t,r){return(new A).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(A,t,r)}static $(){return["RecentlyAddedPlugin|1 display_name 9|2 description 9|3 skills #0*|4 subagents #0*|5 hooks #0*|6 rules #0*|7 commands #0*|8 mcp_servers 9*",k]}}class k extends h{constructor(t){super(),this.name="",this.description="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new k).fromBinary(t,r)}static fromJson(t,r){return(new k).fromJson(t,r)}static fromJsonString(t,r){return(new k).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(k,t,r)}static $(){return["RecentlyAddedPlugin.CapabilityDescriptor|1 name 9|2 description 9"]}}class $ extends h{constructor(t){super(),this.displayName="",this.description="",this.matchedKeyword="",this.skills=[],this.subagents=[],this.hooks=[],this.rules=[],this.commands=[],this.mcpServers=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $).fromBinary(t,r)}static fromJson(t,r){return(new $).fromJson(t,r)}static fromJsonString(t,r){return(new $).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($,t,r)}static $(){return["MatchedInstalledPlugin|1 display_name 9|2 description 9|3 matched_keyword 9|4 skills #0*|5 subagents #0*|6 hooks #0*|7 rules #0*|8 commands #0*|9 mcp_servers 9*",k]}}},"../proto/dist/generated/agent/v1/requested_model_pb.js"(t,r,e){e.d(r,{G0:()=>i,G4:()=>l,R4:()=>u,SR:()=>c,ih:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.apiKey="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["ApiKeyCredentials|1 api_key 9|2 base_url 9?"]}}class a extends o{constructor(t){super(),this.apiKey="",this.baseUrl="",this.deployment="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["AzureCredentials|1 api_key 9|2 base_url 9|3 deployment 9"]}}class u extends o{constructor(t){super(),this.accessKey="",this.secretKey="",this.region="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["BedrockCredentials|1 access_key 9|2 secret_key 9|3 region 9|4 session_token 9?"]}}class l extends o{constructor(t){super(),this.modelId="",this.maxMode=!1,this.parameters=[],this.credentials={case:void 0},this.builtInModel=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["RequestedModel|1 model_id 9|2 max_mode 8|3 parameters #0*|4 api_key_credentials #1 credentials|5 azure_credentials #2 credentials|6 bedrock_credentials #3 credentials|7 built_in_model 8",c,i,a,u]}}class c extends o{constructor(t){super(),this.id="",this.value="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["RequestedModel.ModelParameterValue|1 id 9|2 value 9"]}}},"../proto/dist/generated/agent/v1/sandbox_pb.js"(t,r,e){e.d(r,{Mw:()=>c});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}class a extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["NetworkPolicyLoggingConfig|1 decision_log_path 9?|2 log_format 9?"]}}class u extends i{constructor(t){super(),this.deny=[],this.allow=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["NetworkPolicy|1 version 13?|2 default_action #0?|3 deny 9*|4 allow 9*|5 logging #1?",l,a]}}var l=(0,n.QT)(s.proto3,o,"NetworkPolicy.DefaultAction",[[0,"UNSPECIFIED"],[1,"ALLOW"],[2,"DENY"]],1);class c extends i{constructor(t){super(),this.type=m.UNSPECIFIED,this.additionalReadwritePaths=[],this.additionalReadonlyPaths=[],this.readBoundary=d.UNSPECIFIED,this.additionalReadPaths=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["SandboxPolicy|1 type #0|2 network_access 8?|3 additional_readwrite_paths 9*|4 additional_readonly_paths 9*|5 debug_output_dir 9?|7 disable_tmp_write 8?|8 allowlist_escalated 8?|9 enable_shared_build_cache 8?|10 network_policy #1?|11 network_policy_strict 8?|12 capture_denies 8?|13 skip_statsig_defaults 8?|14 read_boundary #2|15 additional_read_paths 9*|16 allow_user_override_read_paths 8?",m,u,d]}}var m=(0,n.QT)(s.proto3,o,"SandboxPolicy.Type",[[0,"UNSPECIFIED"],[1,"INSECURE_NONE"],[2,"WORKSPACE_READWRITE"],[3,"WORKSPACE_READONLY"]],1),d=(0,n.QT)(s.proto3,o,"SandboxPolicy.ReadBoundaryMode",[[0,"UNSPECIFIED"],[1,"SYSTEM"],[2,"WORKSPACE"]],1)},"../proto/dist/generated/agent/v1/selected_context_pb.js"(t,r,e){e.d(r,{xv:()=>et});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/utils_pb.js"),o=e("../proto/dist/generated/agent/v1/ls_exec_pb.js"),i=e("../proto/dist/generated/agent/v1/cursor_rules_pb.js"),a=e("../proto/dist/generated/agent/v1/agent_skills_pb.js"),u=e("../proto/dist/runtime/compact.js");const l="agent.v1.";class c extends u.HL{static get runtime(){return(0,u.kU)(this,"runtime",s.proto3)}static $p(){return l}}var m=(0,u.QT)(s.proto3,l,"SelectedPluginCapabilityType",[[0,"UNSPECIFIED"],[1,"COMMAND"],[2,"SKILL"],[3,"SUBAGENT"]],1);class d extends c{constructor(t){super(),this.dataOrBlobId={case:void 0},this.uuid="",this.path="",this.mimeType="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["SelectedImage|1 blob_id 12 data_or_blob_id|8 data 12 data_or_blob_id|9 blob_id_with_data #0 data_or_blob_id|10 prompt_upload_ref #1 data_or_blob_id|2 uuid 9|3 path 9|4 dimension #2|7 mime_type 9",p,h,f]}}class p extends c{constructor(t){super(),this.blobId=new Uint8Array(0),this.data=new Uint8Array(0),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["SelectedImage.BlobIdWithData|1 blob_id 12|2 data 12"]}}class f extends c{constructor(t){super(),this.width=0,this.height=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["SelectedImage.Dimension|1 width 5|2 height 5"]}}class h extends c{constructor(t){super(),this.uploadId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["PromptUploadRef|1 upload_id 9"]}}class _ extends c{constructor(t){super(),this.dataOrBlobId={case:void 0},this.uuid="",this.filename="",this.mimeType="",this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["SelectedDocument|1 blob_id 12 data_or_blob_id|8 data 12 data_or_blob_id|9 blob_id_with_data #0 data_or_blob_id|10 prompt_upload_ref #1 data_or_blob_id|2 uuid 9|3 filename 9|4 mime_type 9|7 path 9",g,h]}}class g extends c{constructor(t){super(),this.blobId=new Uint8Array(0),this.data=new Uint8Array(0),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["SelectedDocument.BlobIdWithData|1 blob_id 12|2 data 12"]}}class j extends c{constructor(t){super(),this.dataOrBlobId={case:void 0},this.uuid="",this.path="",this.mimeType="",this.filename="",this.materializeToFilesystem=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["SelectedVideo|1 blob_id 12 data_or_blob_id|8 data 12 data_or_blob_id|9 blob_id_with_data #0 data_or_blob_id|11 signed_url #1 data_or_blob_id|13 prompt_upload_ref #2 data_or_blob_id|2 uuid 9|3 path 9|4 fps 2?|7 mime_type 9|10 filename 9|12 materialize_to_filesystem 8",b,y,h]}}class b extends c{constructor(t){super(),this.blobId=new Uint8Array(0),this.data=new Uint8Array(0),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["SelectedVideo.BlobIdWithData|1 blob_id 12|2 data 12"]}}class y extends c{constructor(t){super(),this.url="",this.key="",this.expiresAtUnixMs=s.protoInt64.zero,this.refreshAfterUnixMs=s.protoInt64.zero,this.conversationId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["SelectedVideo.SignedUrl|1 url 9|2 key 9|3 expires_at_unix_ms 3|4 refresh_after_unix_ms 3|5 conversation_id 9"]}}class w extends c{constructor(t){super(),this.dataOrBlobId={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["ExtraContextEntry|1 data 9 data_or_blob_id|2 blob_id 12 data_or_blob_id"]}}class x extends c{constructor(t){super(),this.content="",this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["SelectedFile|1 content 9|2 path 9|3 relative_path 9?"]}}class J extends c{constructor(t){super(),this.content="",this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["SelectedCodeSelection|1 content 9|2 path 9|3 relative_path 9?|4 range #0",n.Q6]}}class S extends c{constructor(t){super(),this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["SelectedTerminal|1 content 9|2 title 9?|3 path 9?"]}}class v extends c{constructor(t){super(),this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["SelectedTerminalSelection|1 content 9|2 title 9?|3 path 9?|4 range #0",n.Q6]}}class B extends c{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["SelectedFolder|1 path 9|2 relative_path 9?|3 directory_tree #0",o.vq]}}class q extends c{constructor(t){super(),this.url="",this.uuid="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["SelectedExternalLink|1 url 9|2 uuid 9|3 pdf_content 9?|4 is_pdf 8?|5 filename 9?|6 blob_id 12?"]}}class P extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["SelectedCursorRule|1 rule #0",i.DX]}}class O extends c{constructor(t){super(),this.content="",this.fullContentLengthCharCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new O).fromBinary(t,r)}static fromJson(t,r){return(new O).fromJson(t,r)}static fromJsonString(t,r){return(new O).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(O,t,r)}static $(){return["SelectedGitDiff|1 content 9|2 full_content_length_char_count 5"]}}class I extends c{constructor(t){super(),this.content="",this.fullContentLengthCharCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new I).fromBinary(t,r)}static fromJson(t,r){return(new I).fromJson(t,r)}static fromJsonString(t,r){return(new I).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(I,t,r)}static $(){return["SelectedGitDiffFromBranchToMain|1 content 9|2 full_content_length_char_count 5"]}}class E extends c{constructor(t){super(),this.sha="",this.message="",this.diff="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new E).fromBinary(t,r)}static fromJson(t,r){return(new E).fromJson(t,r)}static fromJsonString(t,r){return(new E).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(E,t,r)}static $(){return["SelectedGitCommit|1 sha 9|2 message 9|3 description 9?|4 diff 9"]}}class A extends c{constructor(t){super(),this.number=0,this.url="",this.folderPath="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new A).fromBinary(t,r)}static fromJson(t,r){return(new A).fromJson(t,r)}static fromJsonString(t,r){return(new A).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(A,t,r)}static $(){return["SelectedPullRequest|1 number 5|2 url 9|3 title 9?|4 folder_path 9|5 summary_json 9?|6 description 9?|7 blob_id 12?"]}}class k extends c{constructor(t){super(),this.prUrl="",this.filePath="",this.startLine=0,this.endLine=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new k).fromBinary(t,r)}static fromJson(t,r){return(new k).fromJson(t,r)}static fromJsonString(t,r){return(new k).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(k,t,r)}static $(){return["SelectedGitPRDiffSelection|1 pr_url 9|2 file_path 9|3 start_line 5|4 end_line 5|5 diff_content 9?|6 blob_id 12?"]}}class $ extends c{constructor(t){super(),this.pluginId="",this.capabilityType=m.UNSPECIFIED,this.sourcePath="",this.snapshotToken="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $).fromBinary(t,r)}static fromJson(t,r){return(new $).fromJson(t,r)}static fromJsonString(t,r){return(new $).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($,t,r)}static $(){return["SelectedPluginCapabilityRef|1 plugin_id 9|2 capability_type #0|3 source_path 9|4 snapshot_token 9|5 resolved_commit_sha 9?",m]}}class T extends c{constructor(t){super(),this.name="",this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new T).fromBinary(t,r)}static fromJson(t,r){return(new T).fromJson(t,r)}static fromJsonString(t,r){return(new T).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(T,t,r)}static $(){return["SelectedCursorCommand|1 name 9|2 content 9|3 plugin_capability #0?|4 full_path 9?|5 display_name 9?",$]}}class C extends c{constructor(t){super(),this.docId="",this.name="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new C).fromBinary(t,r)}static fromJson(t,r){return(new C).fromJson(t,r)}static fromJsonString(t,r){return(new C).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(C,t,r)}static $(){return["SelectedDocumentation|1 doc_id 9|2 name 9"]}}class R extends c{constructor(t){super(),this.agentId="",this.name="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new R).fromBinary(t,r)}static fromJson(t,r){return(new R).fromJson(t,r)}static fromJsonString(t,r){return(new R).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(R,t,r)}static $(){return["SelectedPastChat|1 agent_id 9|2 name 9"]}}class M extends c{constructor(t){super(),this.name="",this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new M).fromBinary(t,r)}static fromJson(t,r){return(new M).fromJson(t,r)}static fromJsonString(t,r){return(new M).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(M,t,r)}static $(){return["RecentAgent|1 name 9|2 path 9|3 overview 9?"]}}class U extends c{constructor(t){super(),this.recentAgents=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new U).fromBinary(t,r)}static fromJson(t,r){return(new U).fromJson(t,r)}static fromJsonString(t,r){return(new U).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(U,t,r)}static $(){return["RecentAgentsContext|1 recent_agents #0*",M]}}class N extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new N).fromBinary(t,r)}static fromJson(t,r){return(new N).fromJson(t,r)}static fromJsonString(t,r){return(new N).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(N,t,r)}static $(){return["CallFrame|1 function_name 9?|2 url 9?|3 line_number 5?|4 column_number 5?"]}}class L extends c{constructor(t){super(),this.callFrames=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new L).fromBinary(t,r)}static fromJson(t,r){return(new L).fromJson(t,r)}static fromJsonString(t,r){return(new L).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(L,t,r)}static $(){return["StackTrace|1 call_frames #0*|2 raw_stack_trace 9?",N]}}class D extends c{constructor(t){super(),this.message="",this.timestamp=0,this.level="",this.clientName="",this.sessionId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new D).fromBinary(t,r)}static fromJson(t,r){return(new D).fromJson(t,r)}static fromJsonString(t,r){return(new D).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(D,t,r)}static $(){return["SelectedConsoleLog|1 message 9|2 timestamp 1|3 level 9|4 client_name 9|5 session_id 9|6 stack_trace #0?|7 object_data_json 9?",L]}}class F extends c{constructor(t){super(),this.element="",this.xpath="",this.textContent="",this.extra="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new F).fromBinary(t,r)}static fromJson(t,r){return(new F).fromJson(t,r)}static fromJsonString(t,r){return(new F).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(F,t,r)}static $(){return["SelectedUIElement|1 element 9|2 xpath 9|3 text_content 9|4 extra 9|5 component 9?|6 component_props_json 9?"]}}class W extends c{constructor(t){super(),this.name="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new W).fromBinary(t,r)}static fromJson(t,r){return(new W).fromJson(t,r)}static fromJsonString(t,r){return(new W).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(W,t,r)}static $(){return["SelectedSubagent|1 name 9"]}}class z extends c{constructor(t){super(),this.browserId="",this.url="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new z).fromBinary(t,r)}static fromJson(t,r){return(new z).fromJson(t,r)}static fromJsonString(t,r){return(new z).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(z,t,r)}static $(){return["SelectedBrowser|1 browser_id 9|2 url 9|3 page_title 9?"]}}class G extends c{constructor(t){super(),this.filesToCommit=[],this.filesToExcludeFromCommit=[],this.shouldStageAllChanges=!1,this.filesToCommitWithStatus=[],this.filesToExcludeFromCommitWithStatus=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new G).fromBinary(t,r)}static fromJson(t,r){return(new G).fromJson(t,r)}static fromJsonString(t,r){return(new G).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(G,t,r)}static $(){return["SelectedAgenticGitActionCommitParams|1 files_to_commit 9*|2 files_to_exclude_from_commit 9*|3 should_stage_all_changes 8|4 create_pr_draft 8?|5 files_to_commit_with_status #0*|6 files_to_exclude_from_commit_with_status #0*",V]}}class H extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new H).fromBinary(t,r)}static fromJson(t,r){return(new H).fromJson(t,r)}static fromJsonString(t,r){return(new H).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(H,t,r)}static $(){return["SelectedAgenticGitActionCreateBranchParams"]}}class V extends c{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new V).fromBinary(t,r)}static fromJson(t,r){return(new V).fromJson(t,r)}static fromJsonString(t,r){return(new V).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(V,t,r)}static $(){return["SelectedAgenticGitFileWithStatus|1 path 9|2 status 9?"]}}class K extends c{constructor(t){super(),this.filesToPush=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new K).fromBinary(t,r)}static fromJson(t,r){return(new K).fromJson(t,r)}static fromJsonString(t,r){return(new K).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(K,t,r)}static $(){return["SelectedAgenticGitActionPushParams|1 files_to_push 9*|2 create_pr_draft 8?"]}}class Q extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Q).fromBinary(t,r)}static fromJson(t,r){return(new Q).fromJson(t,r)}static fromJsonString(t,r){return(new Q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Q,t,r)}static $(){return["SelectedAgenticGitActionFixMergeConflictsParams|1 base_branch 9?|2 pr_url 9?"]}}class Y extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Y).fromBinary(t,r)}static fromJson(t,r){return(new Y).fromJson(t,r)}static fromJsonString(t,r){return(new Y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Y,t,r)}static $(){return["SelectedAgenticGitActionBabysitPrInCloudParams|1 base_branch 9?"]}}class X extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new X).fromBinary(t,r)}static fromJson(t,r){return(new X).fromJson(t,r)}static fromJsonString(t,r){return(new X).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(X,t,r)}static $(){return["SelectedAgenticGitActionUpdateBranchParams|1 base_branch 9?"]}}class Z extends c{constructor(t){super(),this.remoteBranch="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Z).fromBinary(t,r)}static fromJson(t,r){return(new Z).fromJson(t,r)}static fromJsonString(t,r){return(new Z).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Z,t,r)}static $(){return["SelectedAgenticGitActionPullLocallyParams|1 remote_branch 9"]}}class tt extends c{constructor(t){super(),this.params={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new tt).fromBinary(t,r)}static fromJson(t,r){return(new tt).fromJson(t,r)}static fromJsonString(t,r){return(new tt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(tt,t,r)}static $(){return["SelectedAgenticGitAction|2 commit_params #0 params|6 commit_and_push_params #0 params|3 push_params #1 params|7 create_pr_params #1 params|8 create_pr_with_changes_params #0 params|4 fix_merge_conflicts_params #2 params|11 babysit_pr_in_cloud_params #3 params|14 apply_locally_params #4 params|15 checkout_branch_params #4 params|12 create_branch_and_commit_params #0 params|13 create_branch_commit_and_push_params #0 params|16 update_branch_params #5 params|17 create_branch_params #6 params|5 branch_context #7?|9 path_to_template_file 9?|10 path_to_template_dir 9?",G,K,Q,Y,Z,X,H,rt]}}class rt extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new rt).fromBinary(t,r)}static fromJson(t,r){return(new rt).fromJson(t,r)}static fromJsonString(t,r){return(new rt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(rt,t,r)}static $(){return["SelectedGitBranchContext|1 current_branch 9?|2 base_branch 9?|3 agent_branch_prefix 9?"]}}class et extends c{constructor(t){super(),this.selectedImages=[],this.extraContext=[],this.extraContextEntries=[],this.files=[],this.codeSelections=[],this.terminals=[],this.terminalSelections=[],this.folders=[],this.externalLinks=[],this.cursorRules=[],this.cursorCommands=[],this.documentations=[],this.uiElements=[],this.consoleLogs=[],this.gitCommits=[],this.pastChats=[],this.gitPrDiffSelections=[],this.selectedPullRequests=[],this.selectedSubagents=[],this.selectedVideos=[],this.selectedBrowsers=[],this.selectedDocuments=[],this.selectedSkills=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new et).fromBinary(t,r)}static fromJson(t,r){return(new et).fromJson(t,r)}static fromJsonString(t,r){return(new et).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(et,t,r)}static $(){return["SelectedContext|1 selected_images #0*|2 invocation_context #1?|3 extra_context 9*|16 extra_context_entries #2*|4 files #3*|5 code_selections #4*|6 terminals #5*|7 terminal_selections #6*|8 folders #7*|9 external_links #8*|10 cursor_rules #9*|18 git_diff #10?|11 git_diff_from_branch_to_main #11?|12 cursor_commands #12*|13 documentations #13*|14 ui_elements #14*|15 console_logs #15*|17 git_commits #16*|19 past_chats #17*|20 git_pr_diff_selections #18*|21 selected_pull_requests #19*|22 selected_subagents #20*|23 selected_videos #21*|24 selected_browsers #22*|25 selected_documents #23*|26 selected_skills #24*|27 recent_agents_context #25?|34 selected_agentic_git_action #26?",d,st,w,x,J,S,v,B,q,P,O,I,T,C,F,D,E,R,k,A,W,j,z,_,a.N,U,tt]}}class st extends c{constructor(t){super(),this.data={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new st).fromBinary(t,r)}static fromJson(t,r){return(new st).fromJson(t,r)}static fromJsonString(t,r){return(new st).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(st,t,r)}static $(){return["InvocationContext|1 slack_thread #0 data|2 github_pr #1 data|3 ide_state #2 data|4 microsoft_teams_thread #3 data|10 blob_id 12 data",nt,it,ut,ot]}}class nt extends c{constructor(t){super(),this.thread="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new nt).fromBinary(t,r)}static fromJson(t,r){return(new nt).fromJson(t,r)}static fromJsonString(t,r){return(new nt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(nt,t,r)}static $(){return["InvocationContext.SlackThread|1 thread 9|2 channel_name 9?|3 channel_purpose 9?|4 channel_topic 9?|5 sender_name 9?|6 sender_id 9?|7 sender_type 9?|8 is_directly_addressed 8?|9 message_permalink 9?"]}}class ot extends c{constructor(t){super(),this.thread="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ot).fromBinary(t,r)}static fromJson(t,r){return(new ot).fromJson(t,r)}static fromJsonString(t,r){return(new ot).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ot,t,r)}static $(){return["InvocationContext.MicrosoftTeamsThread|1 thread 9|2 channel_name 9?|3 team_name 9?|4 channel_description 9?|5 team_description 9?"]}}class it extends c{constructor(t){super(),this.title="",this.description="",this.comments="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new it).fromBinary(t,r)}static fromJson(t,r){return(new it).fromJson(t,r)}static fromJsonString(t,r){return(new it).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(it,t,r)}static $(){return["InvocationContext.GithubPR|1 title 9|2 description 9|3 comments 9|4 ci_failures 9?|5 code_tour_view #0?",at]}}class at extends c{constructor(t){super(),this.headSha="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new at).fromBinary(t,r)}static fromJson(t,r){return(new at).fromJson(t,r)}static fromJsonString(t,r){return(new at).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(at,t,r)}static $(){return["InvocationContext.GithubPR.CodeTourView|1 head_sha 9|2 current_revision_id 9?|3 visible_section_id 9?|4 visible_step_id 9?|5 path_scope_prefix 9?"]}}class ut extends c{constructor(t){super(),this.visibleFiles=[],this.recentlyViewedFiles=[],this.currentlyViewedPrs=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ut).fromBinary(t,r)}static fromJson(t,r){return(new ut).fromJson(t,r)}static fromJsonString(t,r){return(new ut).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ut,t,r)}static $(){return["InvocationContext.IdeState|1 visible_files #0*|2 recently_viewed_files #0*|3 currently_viewed_prs #1*",lt,mt]}}class lt extends c{constructor(t){super(),this.path="",this.totalLines=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new lt).fromBinary(t,r)}static fromJson(t,r){return(new lt).fromJson(t,r)}static fromJsonString(t,r){return(new lt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(lt,t,r)}static $(){return["InvocationContext.IdeState.File|1 path 9|2 relative_path 9?|3 cursor_position #0?|4 total_lines 5|5 active_command 9?",ct]}}class ct extends c{constructor(t){super(),this.line=0,this.text="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ct).fromBinary(t,r)}static fromJson(t,r){return(new ct).fromJson(t,r)}static fromJsonString(t,r){return(new ct).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ct,t,r)}static $(){return["InvocationContext.IdeState.File.CursorPosition|1 line 5|2 text 9"]}}class mt extends c{constructor(t){super(),this.number=0,this.url="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mt).fromBinary(t,r)}static fromJson(t,r){return(new mt).fromJson(t,r)}static fromJsonString(t,r){return(new mt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mt,t,r)}static $(){return["InvocationContext.IdeState.ViewedPullRequest|1 number 5|2 url 9|3 title 9?|4 folder_path 9?|5 summary_json 9?|6 description 9?"]}}},"../proto/dist/generated/agent/v1/setup_vm_environment_tool_pb.js"(t,r,e){e.d(r,{BI:()=>i,MU:()=>l,r$:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.installCommand="",this.startCommand="",this.dockerfileContents="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["SetupVmEnvironmentArgs|2 install_command 9|3 start_command 9|4 dockerfile_contents 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["SetupVmEnvironmentResult|1 success #0 result",u]}}class u extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["SetupVmEnvironmentSuccess"]}}class l extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["SetupVmEnvironmentToolCall|1 args #0|2 result #1",i,a]}}},"../proto/dist/generated/agent/v1/shell_exec_pb.js"(t,r,e){e.d(r,{$F:()=>b,Db:()=>q,E4:()=>_,HO:()=>d,In:()=>y,W4:()=>J,a:()=>x,jn:()=>T,o0:()=>B,pZ:()=>$,rI:()=>I,tD:()=>O,vb:()=>P});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/sandbox_pb.js"),o=e("../proto/dist/generated/agent/v1/utils_pb.js"),i=(e("../proto/dist/generated/agent/v1/hook_additional_context_pb.js"),e("../proto/dist/runtime/compact.js"));const a="agent.v1.";class u extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return a}}var l=(0,i.QT)(s.proto3,a,"TimeoutBehavior",[[0,"UNSPECIFIED"],[1,"CANCEL"],[2,"BACKGROUND"]],1),c=(0,i.QT)(s.proto3,a,"ShellBackgroundReason",[[0,"UNSPECIFIED"],[1,"TIMEOUT"],[2,"USER_REQUEST"]],1),m=(s.proto3,(0,i.QT)(s.proto3,a,"ShellAbortReason",[[0,"UNSPECIFIED"],[1,"USER_ABORT"],[2,"TIMEOUT"]],1));class d extends u{constructor(t){super(),this.parsingFailed=!1,this.executableCommands=[],this.hasRedirects=!1,this.hasCommandSubstitution=!1,this.redirects=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ShellCommandParsingResult|1 parsing_failed 8|2 executable_commands #0*|3 has_redirects 8|4 has_command_substitution 8|5 all_redirects_are_dev_null 8?|6 redirects #1*",f,h]}}class p extends u{constructor(t){super(),this.type="",this.value="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["ShellCommandParsingResult.ExecutableCommandArg|1 type 9|2 value 9"]}}class f extends u{constructor(t){super(),this.name="",this.args=[],this.fullText="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ShellCommandParsingResult.ExecutableCommand|1 name 9|2 args #0*|3 full_text 9",p]}}class h extends u{constructor(t){super(),this.operator="",this.destinationFds=[],this.targetNodeType="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["ShellCommandParsingResult.Redirect|1 operator 9|2 destination_fds 13*|3 target_node_type 9|4 target_text 9?"]}}class _ extends u{constructor(t){super(),this.commands=[],this.suggestedSandboxMode=g.UNSPECIFIED,this.classificationFailed=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["CommandClassifierResult|1 commands #0*|2 suggested_sandbox_mode #1|3 classification_failed 8",j,g]}}var g=(0,i.QT)(s.proto3,a,"CommandClassifierResult.SuggestedSandboxMode",[[0,"UNSPECIFIED"],[1,"SANDBOX"],[2,"NO_SANDBOX"],[3,"UNDETERMINED"]],1);class j extends u{constructor(t){super(),this.name="",this.arguments=[],this.subcommandTokens=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["CommandClassifierResult.ClassifiedCommand|1 name 9|2 arguments 9*|3 suggested_allowlist_entry 9?|4 subcommand_tokens 9*"]}}class b extends u{constructor(t){super(),this.pattern="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["ShellOutputNotificationConfig|1 pattern 9|2 reason 9|3 debounce 1?|4 notification_limit 5?"]}}class y extends u{constructor(t){super(),this.kind=w.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["ShellHookApprovalRequirement|1 kind #0|2 reason 9?",w]}}var w=(0,i.QT)(s.proto3,a,"ShellHookApprovalRequirement.Kind",[[0,"UNSPECIFIED"],[1,"FORCE_PROMPT"]],1);class x extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.timeout=0,this.toolCallId="",this.simpleCommands=[],this.hasInputRedirect=!1,this.hasOutputRedirect=!1,this.isBackground=!1,this.skipApproval=!1,this.timeoutBehavior=l.UNSPECIFIED,this.closeStdin=!1,this.adminCommandDenylist=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["ShellArgs|1 command 9|2 working_directory 9|3 timeout 5|4 tool_call_id 9|5 simple_commands 9*|6 has_input_redirect 8|7 has_output_redirect 8|8 parsing_result #0|9 requested_sandbox_policy #1?|10 file_output_threshold_bytes 4?|11 is_background 8|12 skip_approval 8|13 timeout_behavior #2|14 hard_timeout 5?|15 description 9?|16 classifier_result #3?|17 close_stdin 8|18 output_notification #4?|19 smart_mode_approval #5?|20 hook_approval_requirement #6?|21 conversation_id 9?|22 admin_command_denylist 9*|23 request_id 9?|24 secret_scope_id 9?",d,n.Mw,l,_,b,o.UC,y]}}class J extends u{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["ShellResult|1 success #0 result|2 failure #1 result|3 timeout #2 result|4 rejected #3 result|5 spawn_error #4 result|7 permission_denied #5 result|101 sandbox_policy #6?|102 is_background 8?|103 terminals_folder 9?|104 pid 13?",E,A,k,$,C,T,n.Mw]}}class S extends u{constructor(t){super(),this.kind=v.UNSPECIFIED,this.memoryLimitBytes=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["ShellOomKill|1 kind #0|2 memory_limit_bytes 4",v]}}var v=(0,i.QT)(s.proto3,a,"ShellOomKill.Kind",[[0,"UNSPECIFIED"],[1,"COMMAND_KILLED"],[2,"COMMAND_FAILED"],[3,"UNCONFIRMED"]],1);class B extends u{constructor(t){super(),this.data="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["ShellStreamStdout|1 data 9"]}}class q extends u{constructor(t){super(),this.data="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["ShellStreamStderr|1 data 9"]}}class P extends u{constructor(t){super(),this.code=0,this.cwd="",this.aborted=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["ShellStreamExit|1 code 13|2 cwd 9|3 output_location #0?|4 aborted 8|5 abort_reason #1?|6 local_execution_time_ms 5?|7 oom_kill #2?",o.pV,m,S]}}class O extends u{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new O).fromBinary(t,r)}static fromJson(t,r){return(new O).fromJson(t,r)}static fromJsonString(t,r){return(new O).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(O,t,r)}static $(){return["ShellStreamStart|1 sandbox_policy #0?|2 command 9?",n.Mw]}}class I extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.sandboxPolicyType="",this.reason="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new I).fromBinary(t,r)}static fromJson(t,r){return(new I).fromJson(t,r)}static fromJsonString(t,r){return(new I).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(I,t,r)}static $(){return["ShellSandboxUnsupported|1 command 9|2 working_directory 9|3 sandbox_policy_type 9|4 reason 9|5 is_readonly 8"]}}class E extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.exitCode=0,this.signal="",this.stdout="",this.stderr="",this.executionTime=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new E).fromBinary(t,r)}static fromJson(t,r){return(new E).fromJson(t,r)}static fromJsonString(t,r){return(new E).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(E,t,r)}static $(){return["ShellSuccess|1 command 9|2 working_directory 9|3 exit_code 5|4 signal 9|5 stdout 9|6 stderr 9|7 execution_time 5|8 output_location #0?|9 shell_id 13?|10 interleaved_output 9?|11 pid 13?|12 ms_to_wait 5?|13 local_execution_time_ms 5?|14 background_reason #1?|15 output_head 9?|16 output_tail 9?|17 elided_chars 13?",o.pV,c]}}class A extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.exitCode=0,this.signal="",this.stdout="",this.stderr="",this.executionTime=0,this.aborted=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new A).fromBinary(t,r)}static fromJson(t,r){return(new A).fromJson(t,r)}static fromJsonString(t,r){return(new A).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(A,t,r)}static $(){return["ShellFailure|1 command 9|2 working_directory 9|3 exit_code 5|4 signal 9|5 stdout 9|6 stderr 9|7 execution_time 5|8 output_location #0?|9 interleaved_output 9?|10 abort_reason #1?|11 aborted 8|12 local_execution_time_ms 5?|13 output_head 9?|14 output_tail 9?|15 elided_chars 13?|16 oom_kill #2?",o.pV,m,S]}}class k extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.timeoutMs=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new k).fromBinary(t,r)}static fromJson(t,r){return(new k).fromJson(t,r)}static fromJsonString(t,r){return(new k).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(k,t,r)}static $(){return["ShellTimeout|1 command 9|2 working_directory 9|3 timeout_ms 5"]}}class $ extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.reason="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $).fromBinary(t,r)}static fromJson(t,r){return(new $).fromJson(t,r)}static fromJsonString(t,r){return(new $).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($,t,r)}static $(){return["ShellRejected|1 command 9|2 working_directory 9|3 reason 9|4 is_readonly 8"]}}class T extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.error="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new T).fromBinary(t,r)}static fromJson(t,r){return(new T).fromJson(t,r)}static fromJsonString(t,r){return(new T).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(T,t,r)}static $(){return["ShellPermissionDenied|1 command 9|2 working_directory 9|3 error 9|4 is_readonly 8"]}}class C extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new C).fromBinary(t,r)}static fromJson(t,r){return(new C).fromJson(t,r)}static fromJsonString(t,r){return(new C).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(C,t,r)}static $(){return["ShellSpawnError|1 command 9|2 working_directory 9|3 error 9"]}}},"../proto/dist/generated/agent/v1/subagents_pb.js"(t,r,e){e.d(r,{FL:()=>m,OT:()=>B,U6:()=>c,_L:()=>d,dU:()=>u,qL:()=>l,zz:()=>v});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"CustomSubagentPermissionMode",[[0,"UNSPECIFIED"],[1,"DEFAULT"],[2,"READONLY"],[3,"AGENT_ONLY"]],1),u=(0,n.QT)(s.proto3,o,"SubagentExecutionEnvironment",[[0,"UNSPECIFIED"],[1,"LOCAL"],[2,"CLOUD"]],1),l=(0,n.QT)(s.proto3,o,"SubagentBackgroundReason",[[0,"UNSPECIFIED"],[1,"AGENT_REQUEST"],[2,"USER_REQUEST"],[3,"QUEUED_FOLLOW_UP"]],1),c=(0,n.QT)(s.proto3,o,"BackgroundTaskCompletionReason",[[0,"UNSPECIFIED"],[1,"TASK_FINISHED"],[2,"TASK_PROGRESS"],[3,"WORKER_REPARENTED"],[4,"WORKER_MESSAGE"],[5,"WORKER_NEEDS_ATTENTION"],[6,"PROJECT_SESSION_MESSAGE"]],1),m=(0,n.QT)(s.proto3,o,"TaskMode",[[0,"UNSPECIFIED"],[1,"AGENT"],[2,"PLAN"]],1);class d extends i{constructor(t){super(),this.type={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["SubagentType|1 unspecified #0 type|2 computer_use #1 type|3 custom #2 type|4 explore #3 type|5 media_review #4 type|6 bash #5 type|7 browser_use #6 type|8 shell #7 type|9 vm_setup_helper #8 type|10 debug #9 type|11 cursor_guide #10 type|12 watch_video #11 type",p,f,S,h,_,g,b,j,y,w,x,J]}}class p extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["SubagentTypeUnspecified"]}}class f extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["SubagentTypeComputerUse"]}}class h extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["SubagentTypeExplore"]}}class _ extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["SubagentTypeMediaReview"]}}class g extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["SubagentTypeBash"]}}class j extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["SubagentTypeShell"]}}class b extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["SubagentTypeBrowserUse"]}}class y extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["SubagentTypeVmSetupHelper"]}}class w extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["SubagentTypeDebug"]}}class x extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["SubagentTypeCursorGuide"]}}class J extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["SubagentTypeWatchVideo"]}}class S extends i{constructor(t){super(),this.name="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["SubagentTypeCustom|1 name 9"]}}class v extends i{constructor(t){super(),this.fullPath="",this.name="",this.description="",this.tools=[],this.model="",this.prompt="",this.permissionMode=a.UNSPECIFIED,this.isBackground=!1,this.forceDefaultModel=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["CustomSubagent|1 full_path 9|2 name 9|3 description 9|4 tools 9*|5 model 9|6 prompt 9|7 permission_mode #0|8 is_background 8|9 plugin 9?|10 marketplace 9?|11 plugin_id 9?|12 marketplace_id 9?|13 force_default_model 8|14 source 9?",a]}}class B extends i{constructor(t){super(),this.request="",this.messageId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["VoiceCallNotes|1 request 9|2 message_id 9"]}}},"../proto/dist/generated/agent/v1/switch_mode_tool_pb.js"(t,r,e){e.d(r,{Cs:()=>m,Nc:()=>d,w$:()=>p});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.targetModeId="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["SwitchModeArgs|1 target_mode_id 9|2 explanation 9?|3 tool_call_id 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["SwitchModeResult|1 success #0 result|2 error #1 result|3 rejected #2 result",u,l,c]}}class u extends o{constructor(t){super(),this.fromModeId="",this.toModeId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["SwitchModeSuccess|1 from_mode_id 9|2 to_mode_id 9"]}}class l extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["SwitchModeError|1 error 9"]}}class c extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["SwitchModeRejected|1 reason 9"]}}class m extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["SwitchModeToolCall|1 args #0|2 result #1",i,a]}}class d extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["SwitchModeRequestQuery|1 args #0",i]}}class p extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["SwitchModeRequestResponse|1 approved #0 result|2 rejected #1 result",f,h]}}class f extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["SwitchModeRequestResponse.Approved"]}}class h extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["SwitchModeRequestResponse.Rejected|1 reason 9"]}}},"../proto/dist/generated/agent/v1/system_prompt_pb.js"(t,r,e){e.d(r,{$:()=>i});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.spec={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["SystemPromptSpec|1 replace 9 spec|2 append 9 spec"]}}},"../proto/dist/generated/agent/v1/todo_tool_pb.js"(t,r,e){e.d(r,{AJ:()=>f,bk:()=>l,kW:()=>u});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"TodoStatus",[[0,"UNSPECIFIED"],[1,"PENDING"],[2,"IN_PROGRESS"],[3,"COMPLETED"],[4,"CANCELLED"]],1);class u extends i{constructor(t){super(),this.id="",this.content="",this.status=a.UNSPECIFIED,this.createdAt=s.protoInt64.zero,this.updatedAt=s.protoInt64.zero,this.dependencies=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["TodoItem|1 id 9|2 content 9|3 status #0|4 created_at 3|5 updated_at 3|6 dependencies 9*",a]}}class l extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["UpdateTodosToolCall|1 args #0|2 result #1",c,m]}}class c extends i{constructor(t){super(),this.todos=[],this.merge=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["UpdateTodosArgs|1 todos #0*|2 merge 8",u]}}class m extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["UpdateTodosResult|1 success #0 result|2 error #1 result",d,p]}}class d extends i{constructor(t){super(),this.todos=[],this.totalCount=0,this.wasMerge=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["UpdateTodosSuccess|1 todos #0*|2 total_count 5|3 was_merge 8",u]}}class p extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["UpdateTodosError|1 error 9"]}}class f extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ReadTodosToolCall|1 args #0|2 result #1",h,_]}}class h extends i{constructor(t){super(),this.statusFilter=[],this.idFilter=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["ReadTodosArgs|1 status_filter #0*|2 id_filter 9*",a]}}class _ extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["ReadTodosResult|1 success #0 result|2 error #1 result",g,j]}}class g extends i{constructor(t){super(),this.todos=[],this.totalCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["ReadTodosSuccess|1 todos #0*|2 total_count 5",u]}}class j extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["ReadTodosError|1 error 9"]}}},"../proto/dist/generated/agent/v1/utils_pb.js"(t,r,e){e.d(r,{Q6:()=>i,UC:()=>l,pV:()=>u,yX:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["Range|1 start #0|2 end #0",a]}}class a extends o{constructor(t){super(),this.line=0,this.column=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["Position|1 line 13|2 column 13"]}}class u extends o{constructor(t){super(),this.filePath="",this.sizeBytes=s.protoInt64.zero,this.lineCount=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["OutputLocation|1 file_path 9|2 size_bytes 3|3 line_count 3"]}}class l extends o{constructor(t){super(),this.requestId="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["SmartModeApproval|1 request_id 9|2 reason 9"]}}},"../proto/dist/generated/agent/v1/web_fetch_tool_pb.js"(t,r,e){e.d(r,{Un:()=>p,fS:()=>f,fd:()=>d});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/utils_pb.js"),o=e("../proto/dist/runtime/compact.js");class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class a extends i{constructor(t){super(),this.url="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["WebFetchArgs|1 url 9|2 tool_call_id 9"]}}class u extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["WebFetchResult|1 success #0 result|2 error #1 result|3 rejected #2 result",l,c,m]}}class l extends i{constructor(t){super(),this.url="",this.markdown="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["WebFetchSuccess|1 url 9|2 markdown 9|3 output_location #0?",n.pV]}}class c extends i{constructor(t){super(),this.url="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["WebFetchError|1 url 9|2 error 9"]}}class m extends i{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["WebFetchRejected|1 reason 9"]}}class d extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["WebFetchToolCall|1 args #0|2 result #1",a,u]}}class p extends i{constructor(t){super(),this.skipApproval=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["WebFetchRequestQuery|1 args #0|2 skip_approval 8|3 smart_mode_approval #1",a,n.UC]}}class f extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["WebFetchRequestResponse|1 approved #0 result|2 rejected #1 result",h,_]}}class h extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["WebFetchRequestResponse.Approved"]}}class _ extends i{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["WebFetchRequestResponse.Rejected|1 reason 9"]}}},"../proto/dist/generated/agent/v1/web_search_tool_pb.js"(t,r,e){e.d(r,{KL:()=>p,lI:()=>f,pn:()=>d});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.searchTerm="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["WebSearchArgs|1 search_term 9|2 tool_call_id 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["WebSearchResult|1 success #0 result|2 error #1 result|3 rejected #2 result",u,l,c]}}class u extends o{constructor(t){super(),this.references=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["WebSearchSuccess|1 references #0*",m]}}class l extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["WebSearchError|1 error 9"]}}class c extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["WebSearchRejected|1 reason 9"]}}class m extends o{constructor(t){super(),this.title="",this.url="",this.chunk="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["WebSearchReference|1 title 9|2 url 9|3 chunk 9"]}}class d extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["WebSearchToolCall|1 args #0|2 result #1",i,a]}}class p extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["WebSearchRequestQuery|1 args #0",i]}}class f extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["WebSearchRequestResponse|1 approved #0 result|2 rejected #1 result",h,_]}}class h extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["WebSearchRequestResponse.Approved"]}}class _ extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["WebSearchRequestResponse.Rejected|1 reason 9"]}}},"../proto/dist/generated/aiserver/v1/repository_pb.js"(t,r,e){e.d(r,{PT:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/aiserver/v1/utils_pb.js"),o=e("../proto/dist/runtime/compact.js");o.HL,s.proto3;class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"aiserver.v1."}}s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3;class a extends i{constructor(t){super(),this.score=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["CodeResult|1 code_block #0|2 score 2",n.NG]}}s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3},"../proto/dist/generated/aiserver/v1/utils_pb.js"(t,r,e){e.d(r,{Gm:()=>b,NG:()=>d,Nj:()=>a,ZH:()=>_,_u:()=>l,d7:()=>m});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="aiserver.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}s.proto3;var a=(0,n.QT)(s.proto3,o,"EmbeddingModel",[[0,"UNSPECIFIED"],[1,"VOYAGE_CODE_2"],[2,"TEXT_EMBEDDINGS_LARGE_3"],[3,"QWEN_1_5B_CUSTOM"],[4,"MOCK_CHUNKER_ERROR"],[5,"QWEN_1_5B_0618_CUSTOM"],[6,"QWEN_1_5B_0618_FP8_MM_CUSTOM"]],1);class u extends i{constructor(t){super(),this.line=0,this.column=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["CursorPosition|1 line 5|2 column 5"]}}s.proto3,s.proto3;class l extends i{constructor(t){super(),this.startLineNumber=0,this.startColumn=0,this.endLineNumberInclusive=0,this.endColumn=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["SimpleRange|1 start_line_number 5|2 start_column 5|3 end_line_number_inclusive 5|4 end_column 5"]}}class c extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["CursorRange|1 start_position #0|2 end_position #0",u]}}class m extends i{constructor(t){super(),this.text="",this.lineNumber=0,this.isSignature=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["DetailedLine|1 text 9|2 line_number 2|3 is_signature 8"]}}class d extends i{constructor(t){super(),this.relativeWorkspacePath="",this.contents="",this.detailedLines=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["CodeBlock|1 relative_workspace_path 9|2 file_contents 9?|9 file_contents_length 5?|3 range #0|4 contents 9|5 signatures #1|6 override_contents 9?|7 original_contents 9?|8 detailed_lines #2*|10 file_git_context #3",c,p,m,h]}}class p extends i{constructor(t){super(),this.ranges=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["CodeBlock.Signatures|1 ranges #0*",c]}}class f extends i{constructor(t){super(),this.commit="",this.author="",this.date="",this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["GitCommit|1 commit 9|2 author 9|3 date 9|4 message 9"]}}class h extends i{constructor(t){super(),this.commits=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["FileGit|1 commits #0*",f]}}class _ extends i{constructor(t){super(),this.relativeWorkspacePath="",this.contents="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["File|1 relative_workspace_path 9|2 contents 9|3 file_git_context #0",h]}}s.proto3;class g extends i{constructor(t){super(),this.apiKey="",this.baseUrl="",this.deployment="",this.useAzure=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["AzureState|1 api_key 9|2 base_url 9|3 deployment 9|4 use_azure 8"]}}class j extends i{constructor(t){super(),this.accessKey="",this.secretKey="",this.region="",this.useBedrock=!1,this.sessionToken="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["BedrockState|1 access_key 9|2 secret_key 9|3 region 9|4 use_bedrock 8|5 session_token 9"]}}class b extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["ModelDetails|1 model_name 9?|2 api_key 9?|3 enable_ghost_mode 8?|4 azure_state #0?|5 enable_slow_pool 8?|6 openai_api_base_url 9?|7 bedrock_state #1?|8 max_mode 8?",g,j]}}s.proto3,s.proto3,s.proto3,s.proto3,s.proto3},"../proto/dist/runtime/compact.js"(t,r,e){e.d(r,{HL:()=>u,QT:()=>c,kU:()=>o});var s=e("@bufbuild/protobuf");const n={};function o(t,r,e){return Object.defineProperty(t,r,{value:e,writable:!0,enumerable:!0,configurable:!0}),e}function i(t,r,e){if("#"!==e.charAt(0))return{kind:"scalar",T:Number(e)};const s=r[Number(e.slice(1))];return"function"==typeof s?{kind:"message",T:s}:{kind:"enum",T:t.getEnumType(s)}}function a(t){return"?"===t?{opt:!0}:"*"===t?{repeated:!0}:void 0===t?n:{oneof:t}}class u extends s.Message{static get typeName(){const t=l(this);return o(t,"typeName",t.$p()+function(t){const r=t[0],e=r.indexOf("|");return-1===e?r:r.slice(0,e)}(t.$()))}static get fields(){const t=l(this),r=t.$(),e=t.runtime;return o(t,"fields",e.util.newFieldList((()=>function(t,r){const[e,...s]=r,n=e.split("|"),o=[];for(let r=1;r<n.length;r++){const e=n[r].split(" ");let u;const l=e[e.length-1];void 0!==l&&"="===l.charAt(0)&&(u=l.slice(1),e.pop());const c=Number(e[0]),m=e[1];let d=e[2],p=e[3];const f=d.charAt(d.length-1);"?"!==f&&"*"!==f||(p=f,d=d.slice(0,-1));const h=d.indexOf(",");if(-1!==h){const r={no:c,name:m,kind:"map",K:Number(d.slice(0,h)),V:i(t,s,d.slice(h+1))};void 0!==u&&(r.jsonName=u),o.push(r);continue}const _=Object.assign({no:c,name:m},i(t,s,d),a(p));void 0!==u&&(_.jsonName=u),o.push(_)}return o}(e,r))))}}function l(t){if(!function(t){return"$"in t&&"function"==typeof t.$&&"$p"in t&&"function"==typeof t.$p}(t))throw new TypeError(`${t.name} has no compact message descriptor`);return t}function c(t,r,e,s,n){const o=e.slice(e.lastIndexOf(".")+1);let i,a;if(1===n){const t=function(t){return(t.charAt(0)+t.slice(1).replace(/[A-Z]/g,(t=>"_"+t))).toUpperCase()+"_"}(o);a=s.map((t=>t[1])),i=a.map((r=>t+r))}else i=s.map((t=>t[1])),a=void 0===n?function(t,r){const e=(t.charAt(0)+t.slice(1).replace(/[A-Z]/g,(t=>"_"+t))).toLowerCase()+"_",s=[];for(const t of r){if(!t.toLowerCase().startsWith(e))return r.slice();const n=t.slice(e.length);if(""===n||/^[0-9]/.test(n))return r.slice();s.push(n)}return s}(o,i):n;const u={},l=[];for(let t=0;t<s.length;t++){const r=s[t][0];u[a[t]]=r,u[r]=a[t],l.push({no:r,name:i[t]})}return t.util.setEnumType(u,r+e,l),u}},"../utils/dist/disposable.js"(t,r,e){e.d(r,{j:()=>s});class s{}},"../utils/dist/promise-extras.js"(t,r,e){e.d(r,{PH:()=>n});var s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/index.js");async function n(t,r,e){const{max:n=4}=e??{},o=(0,s.from)(t.map(((t,r)=>r))).pipe((0,s.map)((e=>(0,s.defer)((()=>(0,s.from)(r(t[e])).pipe((0,s.map)((t=>({idx:e,v:t})))))))),(0,s.mergeAll)(n),(0,s.reduce)(((t,r)=>(t[r.idx]=r.v,t)),[]));return(0,s.firstValueFrom)(o)}Error}},_={};function g(t){var r=_[t];if(void 0!==r)return r.exports;var e=_[t]={exports:{}};return h[t].call(e.exports,e,e.exports,g),e.exports}g.m=h,u="function"==typeof Symbol,l=u?Symbol("webpack queues"):"__webpack_queues__",c=u?Symbol("webpack exports"):"__webpack_exports__",m=u?Symbol("webpack error"):"__webpack_error__",d=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},g.a=(t,r,e)=>{var s;e&&((s=[]).d=-1);var n,o,i,a=new Set,u=t.exports,p=new Promise(((t,r)=>{i=r,o=t}));p[c]=u,p[l]=t=>(s&&t(s),a.forEach(t),p.catch((t=>{}))),t.exports=p,r((t=>{var r;n=(t=>t.map((t=>{if(null!==t&&"object"==typeof t){if(t[l])return t;if(t.then){var r=[];r.d=0,t.then((t=>{e[c]=t,d(r)}),(t=>{e[m]=t,d(r)}));var e={};return e[l]=t=>t(r),e}}var s={};return s[l]=t=>{},s[c]=t,s})))(t);var e=()=>n.map((t=>{if(t[m])throw t[m];return t[c]})),o=new Promise((t=>{(r=()=>t(e)).r=0;var o=t=>t!==s&&!a.has(t)&&(a.add(t),t&&!t.d&&(r.r++,t.push(r)));n.map((t=>t[l](o)))}));return r.r?o:e()}),(t=>(t?i(p[m]=t):o(u),d(s)))),s&&s.d<0&&(s.d=0)},g.d=(t,r)=>{for(var e in r)g.o(r,e)&&!g.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},g.f={},g.e=t=>Promise.all(Object.keys(g.f).reduce(((r,e)=>(g.f[e](t,r),r)),[])),g.u=t=>t+".js",g.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),g.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},p={279:0},f=t=>{var r,e,{__webpack_esm_ids__:s,__webpack_esm_modules__:n,__webpack_esm_runtime__:o}=t,i=0;for(r in n)g.o(n,r)&&(g.m[r]=n[r]);for(o&&o(g);i<s.length;i++)e=s[i],g.o(p,e)&&p[e]&&p[e][0](),p[s[i]]=0},g.f.j=(t,r)=>{var e=g.o(p,t)?p[t]:void 0;if(0!==e)if(e)r.push(e[1]);else{var s=import("./"+g.u(t)).then(f,(r=>{throw 0!==p[t]&&(p[t]=void 0),r}));s=Promise.race([s,new Promise((r=>e=p[t]=[r]))]),r.push(e[1]=s)}};var j=g("../agent-kv/dist/index.js"),b=g("../context/dist/core.js");function y(t){return{agentId:t.agentId,cwd:t.workspaceRef,status:B(t.status),activeRunId:t.activeRunId??null,latestCheckpoint:t.latestCheckpointRef?S(t.latestCheckpointRef):null,name:t.name??null,createdAt:t.createdAt.getTime(),updatedAt:t.updatedAt.getTime(),sdkMetadata:t.metadata}}function w(t){const r=t.finishedAt?.getTime()??t.cancelledAt?.getTime()??t.expiredAt?.getTime()??null;return{runId:t.runId,requestId:t.requestId??null,agentId:t.agentId,turnNumber:t.turnNumber,status:P(t.status),model:t.model??null,result:t.result??null,error:t.errorCode??null,usageRef:t.usageRef??null,usage:t.usage??null,createdAt:t.createdAt.getTime(),updatedAt:t.updatedAt.getTime(),startedAt:t.startedAt?.getTime()??null,endedAt:r,startCheckpointRef:t.startCheckpointRef?S(t.startCheckpointRef):null,latestCheckpointRef:t.latestCheckpointRef?S(t.latestCheckpointRef):null}}function x(t){return{agentId:t.agentId,workspaceRef:t.cwd,status:q(t.status),activeRunId:t.activeRunId??null,latestCheckpointRef:t.latestCheckpoint?v(t.latestCheckpoint):null,name:t.name??null,createdAt:new Date(t.createdAt),updatedAt:new Date(t.updatedAt),metadata:t.sdkMetadata??{}}}function J(t){const r=function(t){switch(t){case"queued":return"QUEUED";case"running":return"RUNNING";case"finished":return"FINISHED";case"error":return"ERROR";case"cancelled":return"CANCELLED";case"expired":return"EXPIRED";default:throw new Error("unexpected local run status")}}(t.status),e=t.endedAt?new Date(t.endedAt):null;return{runId:t.runId,requestId:t.requestId??null,agentId:t.agentId,turnNumber:t.turnNumber,status:r,model:t.model??null,startCheckpointRef:t.startCheckpointRef?v(t.startCheckpointRef):null,latestCheckpointRef:t.latestCheckpointRef?v(t.latestCheckpointRef):null,errorCode:t.error??null,result:t.result??null,usageRef:t.usageRef??null,usage:t.usage??null,createdAt:new Date(t.createdAt),updatedAt:new Date(t.updatedAt),startedAt:t.startedAt?new Date(t.startedAt):null,finishedAt:"FINISHED"===r?e:null,cancelledAt:"CANCELLED"===r?e:null,expiredAt:"EXPIRED"===r?e:null}}function S(t){return{schemaVersion:1,rootBlobId:t.blobId}}function v(t){return{blobId:t.rootBlobId,storeKind:"local-agent-store"}}function B(t){switch(t){case"IDLE":return"idle";case"RUNNING":return"running";case"ERROR":return"error";case"ARCHIVED":return"archived";default:throw new Error("unexpected agent lifecycle status")}}function q(t){switch(t){case"idle":return"IDLE";case"running":return"RUNNING";case"error":return"ERROR";case"archived":return"ARCHIVED";default:throw new Error("unexpected local agent status")}}function P(t){switch(t){case"QUEUED":return"queued";case"CREATING":case"RUNNING":return"running";case"FINISHED":return"finished";case"ERROR":return"error";case"CANCELLED":return"cancelled";case"EXPIRED":return"expired";default:throw new Error("unexpected run lifecycle status")}}function O(t,r){return!((r?.agentIds?.length||r?.blobIds?.length)&&(r.agentIds?.length&&!r.agentIds.includes(t.agentId)||r.blobIds?.length&&!r.blobIds.includes(t.blobId)))}function I(t,r){return!((r?.agentIds?.length||r?.runIds?.length)&&(r.agentIds?.length&&!r.agentIds.includes(t.agentId)||r.runIds?.length&&!r.runIds.includes(t.runId)))}function E(t,r){return r.updatedAt!==t.updatedAt?r.updatedAt-t.updatedAt:r.agentId.localeCompare(t.agentId)}function A(t,r){return t.turnNumber!==r.turnNumber?t.turnNumber-r.turnNumber:t.runId.localeCompare(r.runId)}function k(t){return Buffer.from(JSON.stringify(t),"utf8").toString("base64url")}function $(t){try{const r=JSON.parse(Buffer.from(t,"base64url").toString("utf8"));if(function(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}(r))return r}catch{}throw new Error("Invalid list cursor")}var T=g("node:crypto?8af2"),C=g("node:fs"),R=g("node:path");function M(t){return{runId:t.runId,seq:t.seq,offset:t.offset,eventType:t.eventType,payload:t.payload??null,payloadRef:t.payloadRef??null,idempotencyKey:t.idempotencyKey??null,createdAt:t.createdAt.getTime()}}async function U(t){return(await t.listAllAgentRecords()).map((t=>t.agentId))}async function N(t,r){return(await t.runStore.listAllRunRecords([r])).map((t=>t.runId))}class L{static async open(t){const r=t.stateRoot??function(t){const r=(0,R.join)(function(t,...r){if(!function(t){return/^[A-Za-z]:[\\/]/.test(t)||t.startsWith("\\\\")||t.startsWith("//")}(t))return[t.replace(/\/+$/,""),...r].join("/");const e=t.replace(/\//g,"\\").replace(/\\+$/,""),s=r.map((t=>t.replace(/\//g,"\\")));return 0===e.length?["","",...s].join("\\"):[e,...s].join("\\")}(a(),".cursor","projects",t.replace(/[^a-zA-Z0-9]/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")),"sdk-agent-store"),e=(0,R.join)(r,(0,T.createHash)("sha256").update(t).digest("hex"));if((0,C.existsSync)(e))return e;const s=function(t){try{return(0,T.createHash)("md5").update(t).digest("hex")}catch(t){if(function(t){return t instanceof Error&&("ERR_OSSL_EVP_UNSUPPORTED"===t.code||"Digest method not supported"===t.message)}(t))return;throw t}}(t);if(void 0===s)return e;const n=(0,R.join)(r,s);if(!(0,C.existsSync)(n))return e;try{return(0,C.renameSync)(n,e),e}catch{return(0,C.existsSync)(n)?n:e}}(t.workspaceRef),{createDefaultLocalAgentStores:e}=await g.e(19).then(g.bind(g,"../cursor-sdk-local-runtime/dist/run-store/default-local-agent-stores.js")),s=await e({stateRoot:r,workspaceRef:t.workspaceRef}),n=s.store,o=s.eventStore,i=s.checkpointStore;if("object"!=typeof(u=n)||null===u||!("upsertAgentRecord"in u)||"function"!=typeof u.upsertAgentRecord||!("listAllAgentRecords"in u)||"function"!=typeof u.listAllAgentRecords)throw new Error("SqliteLocalAgentStore requires SqliteAgentRunStore from local runtime");var u;if(!function(t){return"object"==typeof t&&null!==t&&"appendRunEvent"in t&&"function"==typeof t.appendRunEvent}(o))throw new Error("SqliteLocalAgentStore requires SqliteRunEventStore from local runtime");if(!function(t){return"object"==typeof t&&null!==t&&"listCheckpointBlobIds"in t&&"function"==typeof t.listCheckpointBlobIds&&"getBlobStore"in t&&"function"==typeof t.getBlobStore}(i))throw new Error("SqliteLocalAgentStore requires LocalAgentCheckpointStore from local runtime");return new L({stateRoot:r,workspaceRef:t.workspaceRef,runStore:n,checkpointStore:i,eventStore:o})}constructor(t){var r,e;this.stateRoot=t.stateRoot,this.workspaceRef=t.workspaceRef,this.deps={runStore:t.runStore,checkpointStore:t.checkpointStore,eventStore:t.eventStore},this.agents=(r=this.deps,{get:async({agentId:t})=>{const e=await r.runStore.getAgent(t);return e?y(e):null},create:async({agent:t})=>{if(await r.runStore.getAgent(t.agentId))throw new Error(`Agent ${t.agentId} already exists`);await r.runStore.upsertAgentRecord(x(t));const e=await r.runStore.getAgent(t.agentId);if(!e)throw new Error(`Failed to create agent ${t.agentId}`);return y(e)},update:async({agent:t})=>{if(!await r.runStore.getAgent(t.agentId))throw new Error(`Agent ${t.agentId} not found`);await r.runStore.upsertAgentRecord(x(t));const e=await r.runStore.getAgent(t.agentId);if(!e)throw new Error(`Failed to update agent ${t.agentId}`);return y(e)},delete:async({filter:t})=>{const e=(await r.runStore.listAllAgentRecords()).map(y).filter((r=>function(t,r){return!r?.agentIds?.length&&void 0===r?.cwd||!(r.agentIds?.length&&!r.agentIds.includes(t.agentId))&&(void 0===r.cwd||t.cwd===r.cwd)}(r,t)));if(0===e.length)throw new Error("No agents matched delete filter");for(const t of e){const e=await N(r,t.agentId);for(const t of e)await r.eventStore.deleteRunEvents({runId:t});await r.checkpointStore.deleteAgent(t.agentId),await r.runStore.deleteAgent(t.agentId)}},list:async t=>function(t,r){const e=[...void 0===r?.cwd?t:t.filter((t=>t.cwd===r.cwd))].sort(E),s=r?.limit??50;let n=e;if(r?.cursor){const t=function(t){const r=$(t);if("number"!=typeof r.updatedAt||"string"!=typeof r.agentId)throw new Error("Invalid agent list cursor");return{updatedAt:r.updatedAt,agentId:r.agentId}}(r.cursor);n=e.filter((r=>function(t,r){return t.updatedAt<r.updatedAt||!(t.updatedAt>r.updatedAt)&&t.agentId<r.agentId}(r,t)))}const o=n.slice(0,s),i=o.at(-1);return{items:o.map((t=>structuredClone(t))),...n.length>s&&i?{nextCursor:k({updatedAt:i.updatedAt,agentId:i.agentId})}:{}}}((await r.runStore.listAllAgentRecords()).map(y),t?.filter)}),this.checkpoints=function(t){const r=(0,b.q6)();return{get:async({agentId:e,blobId:s})=>{const n=await t.checkpointStore.getBlobStore(e),o=await n.getBlob(r,(0,j.aD)(s));return o?function(t){const r=new Uint8Array(t.length);return r.set(t),r}(o):null},create:async({agentId:e,blobId:s,data:n})=>{const o=await t.checkpointStore.getBlobStore(e);if(await o.getBlob(r,(0,j.aD)(s)))throw new Error(`Checkpoint blob ${s} already exists for agent ${e}`);await o.setBlob(r,(0,j.aD)(s),n)},update:async({agentId:e,blobId:s,data:n})=>{const o=await t.checkpointStore.getBlobStore(e);if(!await o.getBlob(r,(0,j.aD)(s)))throw new Error(`Checkpoint blob ${s} not found for agent ${e}`);await o.setBlob(r,(0,j.aD)(s),n)},delete:async r=>{const e=r.filter.agentIds&&r.filter.agentIds.length>0?r.filter.agentIds:await U(t.runStore),s=r.filter.blobIds;for(const r of e)if(s?.length){const e=await t.checkpointStore.getBlobStore(r);if("object"!=typeof(n=e)||null===n||!("deleteBlob"in n)||"function"!=typeof n.deleteBlob)throw new Error("SqliteLocalAgentStore requires a sqlite blob store");for(const t of s)await e.deleteBlob(t)}else await t.checkpointStore.deleteAgent(r);var n},list:async r=>{const e=r?.filter,s=e?.agentIds&&e.agentIds.length>0?e.agentIds:await U(t.runStore),n=[];for(const r of s){const s=await t.checkpointStore.listCheckpointBlobIds(r);for(const t of s)O({agentId:r,blobId:t},e)&&n.push(t)}return function(t,r){const e=[...t].sort(((t,r)=>t.localeCompare(r))),s=r?.limit??50;let n=e;r?.cursor&&(n=e.filter((t=>t>r.cursor)));const o=n.slice(0,s),i=o.at(-1);return{items:o,...n.length>s&&i?{nextCursor:i}:{}}}(n,e)}}}(this.deps),this.runs=function(t){return{get:async({agentId:r,runId:e})=>{const s=await t.runStore.getRun(r,e);return s?w(s):null},create:async({run:r})=>{if(await t.runStore.getRun(r.agentId,r.runId))throw new Error(`Run ${r.runId} already exists for agent ${r.agentId}`);await t.runStore.upsertRunRecord(J(r));const e=await t.runStore.getRun(r.agentId,r.runId);if(!e)throw new Error(`Failed to create run ${r.runId} for agent ${r.agentId}`);return w(e)},update:async({run:r})=>{if(!await t.runStore.getRun(r.agentId,r.runId))throw new Error(`Run ${r.runId} not found for agent ${r.agentId}`);await t.runStore.upsertRunRecord(J(r));const e=await t.runStore.getRun(r.agentId,r.runId);if(!e)throw new Error(`Failed to update run ${r.runId} for agent ${r.agentId}`);return w(e)},delete:async r=>{const e=r.filter,s=e?.agentIds&&e.agentIds.length>0?e.agentIds:void 0,n=(await t.runStore.listAllRunRecords(s)).map(w).filter((t=>I(t,e)));if(0!==n.length){for(const r of n)await t.eventStore.deleteRunEvents({runId:r.runId});await t.runStore.deleteRunRecordsByKeys(n.map((t=>({agentId:t.agentId,runId:t.runId}))))}},list:async r=>{const e=r?.filter;return function(t,r){const e=[...t].sort(A),s=r?.limit??50;let n=e;if(r?.cursor){const t=function(t){const r=$(t);if("number"!=typeof r.turnNumber||"string"!=typeof r.runId)throw new Error("Invalid run list cursor");return{turnNumber:r.turnNumber,runId:r.runId}}(r.cursor);n=e.filter((r=>function(t,r){return t.turnNumber>r.turnNumber||!(t.turnNumber<r.turnNumber)&&t.runId>r.runId}(r,t)))}const o=n.slice(0,s),i=o.at(-1);return{items:o.map((t=>structuredClone(t))),...n.length>s&&i?{nextCursor:k({turnNumber:i.turnNumber,runId:i.runId})}:{}}}((await t.runStore.listAllRunRecords(e?.agentIds)).map(w).filter((t=>I(t,e))),e)}}}(this.deps),this.runEvents=(e=t.eventStore,{append:async t=>M(await e.appendRunEvent({runId:t.runId,eventType:t.eventType,payload:t.payload,payloadRef:t.payloadRef,idempotencyKey:t.idempotencyKey})),list:async t=>{const r=await e.listRunEvents({runId:t.runId,afterOffset:t.afterOffset??void 0,limit:t.limit});return{items:r.events.map(M),...void 0!==r.nextOffset?{nextOffset:r.nextOffset}:{}}},delete:async t=>{const r=t.filter.runIds??[];for(const t of r)await e.deleteRunEvents({runId:t})}})}async dispose(){await Promise.all([this.deps.runStore.dispose(),this.deps.eventStore.dispose(),this.deps.checkpointStore.dispose()])}}export{L as SqliteLocalAgentStore};
|
|
1
|
+
import*as t from"@bufbuild/protobuf";import*as r from"node:async_hooks";import*as e from"node:crypto";import*as s from"node:fs";import*as n from"node:fs/promises";import*as o from"node:path";import*as i from"zod/v4";import{homedir as a}from"node:os";var u,l,c,m,d,p,f,h={"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/index.js"(t,r,e){var s=this&&this.__createBinding||(Object.create?function(t,r,e,s){void 0===s&&(s=e);var n=Object.getOwnPropertyDescriptor(r,e);n&&!("get"in n?!r.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return r[e]}}),Object.defineProperty(t,s,n)}:function(t,r,e,s){void 0===s&&(s=e),t[s]=r[e]}),n=this&&this.__exportStar||function(t,r){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(r,e)||s(r,t,e)};Object.defineProperty(r,"__esModule",{value:!0}),r.throwError=r.range=r.race=r.partition=r.onErrorResumeNext=r.of=r.merge=r.interval=r.iif=r.generate=r.fromEventPattern=r.fromEvent=r.forkJoin=r.defer=r.connectable=r.concat=r.combineLatest=r.bindNodeCallback=r.bindCallback=r.TimeoutError=r.SequenceError=r.NotFoundError=r.EmptyError=r.ArgumentOutOfRangeError=r.firstValueFrom=r.lastValueFrom=r.identity=r.noop=r.pipe=r.rx=r.Scheduler=r.VirtualAction=r.VirtualTimeScheduler=r.animationFrameScheduler=r.queueScheduler=r.asyncScheduler=r.asapScheduler=r.AsyncSubject=r.ReplaySubject=r.BehaviorSubject=r.Subject=r.animationFrames=r.isObservable=r.UnsubscriptionError=r.operate=r.Subscriber=r.Subscription=r.config=r.from=r.Observable=void 0,r.max=r.materialize=r.mapTo=r.map=r.last=r.isEmpty=r.ignoreElements=r.groupBy=r.first=r.findIndex=r.find=r.finalize=r.filter=r.expand=r.exhaustMap=r.exhaustAll=r.every=r.endWith=r.elementAt=r.distinctUntilKeyChanged=r.distinctUntilChanged=r.distinct=r.dematerialize=r.delayWhen=r.delay=r.defaultIfEmpty=r.debounceTime=r.debounce=r.count=r.connect=r.concatWith=r.concatMapTo=r.concatMap=r.concatAll=r.combineLatestWith=r.combineLatestAll=r.catchError=r.bufferWhen=r.bufferToggle=r.bufferTime=r.bufferCount=r.buffer=r.auditTime=r.audit=r.NEVER=r.EMPTY=r.scheduled=r.zip=r.using=r.timer=void 0,r.windowWhen=r.windowToggle=r.windowTime=r.windowCount=r.window=r.toArray=r.timestamp=r.timeoutWith=r.timeout=r.timeInterval=r.throwIfEmpty=r.throttleTime=r.throttle=r.tap=r.takeWhile=r.takeUntil=r.takeLast=r.take=r.switchScan=r.switchMapTo=r.switchMap=r.switchAll=r.subscribeOn=r.startWith=r.skipWhile=r.skipUntil=r.skipLast=r.skip=r.single=r.shareReplay=r.share=r.sequenceEqual=r.scan=r.sampleTime=r.sample=r.retryWhen=r.retry=r.repeatWhen=r.repeat=r.reduce=r.raceWith=r.pairwise=r.onErrorResumeNextWith=r.observeOn=r.min=r.mergeWith=r.mergeScan=r.mergeMapTo=r.mergeMap=r.mergeAll=void 0,r.zipWith=r.zipAll=r.withLatestFrom=void 0;var o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");Object.defineProperty(r,"Observable",{enumerable:!0,get:function(){return o.Observable}}),Object.defineProperty(r,"from",{enumerable:!0,get:function(){return o.from}}),Object.defineProperty(r,"config",{enumerable:!0,get:function(){return o.config}}),Object.defineProperty(r,"Subscription",{enumerable:!0,get:function(){return o.Subscription}}),Object.defineProperty(r,"Subscriber",{enumerable:!0,get:function(){return o.Subscriber}}),Object.defineProperty(r,"operate",{enumerable:!0,get:function(){return o.operate}}),Object.defineProperty(r,"UnsubscriptionError",{enumerable:!0,get:function(){return o.UnsubscriptionError}}),Object.defineProperty(r,"isObservable",{enumerable:!0,get:function(){return o.isObservable}});var i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/dom/animationFrames.js");Object.defineProperty(r,"animationFrames",{enumerable:!0,get:function(){return i.animationFrames}});var a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");Object.defineProperty(r,"Subject",{enumerable:!0,get:function(){return a.Subject}});var u=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/BehaviorSubject.js");Object.defineProperty(r,"BehaviorSubject",{enumerable:!0,get:function(){return u.BehaviorSubject}});var l=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/ReplaySubject.js");Object.defineProperty(r,"ReplaySubject",{enumerable:!0,get:function(){return l.ReplaySubject}});var c=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/AsyncSubject.js");Object.defineProperty(r,"AsyncSubject",{enumerable:!0,get:function(){return c.AsyncSubject}});var m=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/asap.js");Object.defineProperty(r,"asapScheduler",{enumerable:!0,get:function(){return m.asapScheduler}});var d=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js");Object.defineProperty(r,"asyncScheduler",{enumerable:!0,get:function(){return d.asyncScheduler}});var p=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/queue.js");Object.defineProperty(r,"queueScheduler",{enumerable:!0,get:function(){return p.queueScheduler}});var f=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/animationFrame.js");Object.defineProperty(r,"animationFrameScheduler",{enumerable:!0,get:function(){return f.animationFrameScheduler}});var h=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/VirtualTimeScheduler.js");Object.defineProperty(r,"VirtualTimeScheduler",{enumerable:!0,get:function(){return h.VirtualTimeScheduler}}),Object.defineProperty(r,"VirtualAction",{enumerable:!0,get:function(){return h.VirtualAction}});var _=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Scheduler.js");Object.defineProperty(r,"Scheduler",{enumerable:!0,get:function(){return _.Scheduler}});var g=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/rx.js");Object.defineProperty(r,"rx",{enumerable:!0,get:function(){return g.rx}});var j=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/pipe.js");Object.defineProperty(r,"pipe",{enumerable:!0,get:function(){return j.pipe}});var b=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");Object.defineProperty(r,"noop",{enumerable:!0,get:function(){return b.noop}});var y=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");Object.defineProperty(r,"identity",{enumerable:!0,get:function(){return y.identity}});var w=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/lastValueFrom.js");Object.defineProperty(r,"lastValueFrom",{enumerable:!0,get:function(){return w.lastValueFrom}});var x=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/firstValueFrom.js");Object.defineProperty(r,"firstValueFrom",{enumerable:!0,get:function(){return x.firstValueFrom}});var J=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/ArgumentOutOfRangeError.js");Object.defineProperty(r,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return J.ArgumentOutOfRangeError}});var S=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");Object.defineProperty(r,"EmptyError",{enumerable:!0,get:function(){return S.EmptyError}});var v=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/NotFoundError.js");Object.defineProperty(r,"NotFoundError",{enumerable:!0,get:function(){return v.NotFoundError}});var B=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/SequenceError.js");Object.defineProperty(r,"SequenceError",{enumerable:!0,get:function(){return B.SequenceError}});var q=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeout.js");Object.defineProperty(r,"TimeoutError",{enumerable:!0,get:function(){return q.TimeoutError}});var P=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindCallback.js");Object.defineProperty(r,"bindCallback",{enumerable:!0,get:function(){return P.bindCallback}});var I=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindNodeCallback.js");Object.defineProperty(r,"bindNodeCallback",{enumerable:!0,get:function(){return I.bindNodeCallback}});var O=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js");Object.defineProperty(r,"combineLatest",{enumerable:!0,get:function(){return O.combineLatest}});var E=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/concat.js");Object.defineProperty(r,"concat",{enumerable:!0,get:function(){return E.concat}});var A=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/connectable.js");Object.defineProperty(r,"connectable",{enumerable:!0,get:function(){return A.connectable}});var $=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/defer.js");Object.defineProperty(r,"defer",{enumerable:!0,get:function(){return $.defer}});var k=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/forkJoin.js");Object.defineProperty(r,"forkJoin",{enumerable:!0,get:function(){return k.forkJoin}});var T=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromEvent.js");Object.defineProperty(r,"fromEvent",{enumerable:!0,get:function(){return T.fromEvent}});var C=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromEventPattern.js");Object.defineProperty(r,"fromEventPattern",{enumerable:!0,get:function(){return C.fromEventPattern}});var R=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/generate.js");Object.defineProperty(r,"generate",{enumerable:!0,get:function(){return R.generate}});var M=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/iif.js");Object.defineProperty(r,"iif",{enumerable:!0,get:function(){return M.iif}});var U=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/interval.js");Object.defineProperty(r,"interval",{enumerable:!0,get:function(){return U.interval}});var N=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/merge.js");Object.defineProperty(r,"merge",{enumerable:!0,get:function(){return N.merge}});var L=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/of.js");Object.defineProperty(r,"of",{enumerable:!0,get:function(){return L.of}});var D=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/onErrorResumeNext.js");Object.defineProperty(r,"onErrorResumeNext",{enumerable:!0,get:function(){return D.onErrorResumeNext}});var F=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/partition.js");Object.defineProperty(r,"partition",{enumerable:!0,get:function(){return F.partition}});var W=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/race.js");Object.defineProperty(r,"race",{enumerable:!0,get:function(){return W.race}});var z=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/range.js");Object.defineProperty(r,"range",{enumerable:!0,get:function(){return z.range}});var G=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/throwError.js");Object.defineProperty(r,"throwError",{enumerable:!0,get:function(){return G.throwError}});var H=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");Object.defineProperty(r,"timer",{enumerable:!0,get:function(){return H.timer}});var V=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/using.js");Object.defineProperty(r,"using",{enumerable:!0,get:function(){return V.using}});var K=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/zip.js");Object.defineProperty(r,"zip",{enumerable:!0,get:function(){return K.zip}});var Q=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js");Object.defineProperty(r,"scheduled",{enumerable:!0,get:function(){return Q.scheduled}});var Y=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js");Object.defineProperty(r,"EMPTY",{enumerable:!0,get:function(){return Y.EMPTY}});var X=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/never.js");Object.defineProperty(r,"NEVER",{enumerable:!0,get:function(){return X.NEVER}}),n(e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/types.js"),r);var Z=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/audit.js");Object.defineProperty(r,"audit",{enumerable:!0,get:function(){return Z.audit}});var tt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/auditTime.js");Object.defineProperty(r,"auditTime",{enumerable:!0,get:function(){return tt.auditTime}});var rt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/buffer.js");Object.defineProperty(r,"buffer",{enumerable:!0,get:function(){return rt.buffer}});var et=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferCount.js");Object.defineProperty(r,"bufferCount",{enumerable:!0,get:function(){return et.bufferCount}});var st=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferTime.js");Object.defineProperty(r,"bufferTime",{enumerable:!0,get:function(){return st.bufferTime}});var nt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferToggle.js");Object.defineProperty(r,"bufferToggle",{enumerable:!0,get:function(){return nt.bufferToggle}});var ot=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferWhen.js");Object.defineProperty(r,"bufferWhen",{enumerable:!0,get:function(){return ot.bufferWhen}});var it=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/catchError.js");Object.defineProperty(r,"catchError",{enumerable:!0,get:function(){return it.catchError}});var at=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/combineLatestAll.js");Object.defineProperty(r,"combineLatestAll",{enumerable:!0,get:function(){return at.combineLatestAll}});var ut=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/combineLatestWith.js");Object.defineProperty(r,"combineLatestWith",{enumerable:!0,get:function(){return ut.combineLatestWith}});var lt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatAll.js");Object.defineProperty(r,"concatAll",{enumerable:!0,get:function(){return lt.concatAll}});var ct=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatMap.js");Object.defineProperty(r,"concatMap",{enumerable:!0,get:function(){return ct.concatMap}});var mt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatMapTo.js");Object.defineProperty(r,"concatMapTo",{enumerable:!0,get:function(){return mt.concatMapTo}});var dt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatWith.js");Object.defineProperty(r,"concatWith",{enumerable:!0,get:function(){return dt.concatWith}});var pt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/connect.js");Object.defineProperty(r,"connect",{enumerable:!0,get:function(){return pt.connect}});var ft=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/count.js");Object.defineProperty(r,"count",{enumerable:!0,get:function(){return ft.count}});var ht=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/debounce.js");Object.defineProperty(r,"debounce",{enumerable:!0,get:function(){return ht.debounce}});var _t=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/debounceTime.js");Object.defineProperty(r,"debounceTime",{enumerable:!0,get:function(){return _t.debounceTime}});var gt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/defaultIfEmpty.js");Object.defineProperty(r,"defaultIfEmpty",{enumerable:!0,get:function(){return gt.defaultIfEmpty}});var jt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/delay.js");Object.defineProperty(r,"delay",{enumerable:!0,get:function(){return jt.delay}});var bt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/delayWhen.js");Object.defineProperty(r,"delayWhen",{enumerable:!0,get:function(){return bt.delayWhen}});var yt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/dematerialize.js");Object.defineProperty(r,"dematerialize",{enumerable:!0,get:function(){return yt.dematerialize}});var wt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinct.js");Object.defineProperty(r,"distinct",{enumerable:!0,get:function(){return wt.distinct}});var xt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js");Object.defineProperty(r,"distinctUntilChanged",{enumerable:!0,get:function(){return xt.distinctUntilChanged}});var Jt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilKeyChanged.js");Object.defineProperty(r,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Jt.distinctUntilKeyChanged}});var St=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/elementAt.js");Object.defineProperty(r,"elementAt",{enumerable:!0,get:function(){return St.elementAt}});var vt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/endWith.js");Object.defineProperty(r,"endWith",{enumerable:!0,get:function(){return vt.endWith}});var Bt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/every.js");Object.defineProperty(r,"every",{enumerable:!0,get:function(){return Bt.every}});var qt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/exhaustAll.js");Object.defineProperty(r,"exhaustAll",{enumerable:!0,get:function(){return qt.exhaustAll}});var Pt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/exhaustMap.js");Object.defineProperty(r,"exhaustMap",{enumerable:!0,get:function(){return Pt.exhaustMap}});var It=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/expand.js");Object.defineProperty(r,"expand",{enumerable:!0,get:function(){return It.expand}});var Ot=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/filter.js");Object.defineProperty(r,"filter",{enumerable:!0,get:function(){return Ot.filter}});var Et=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/finalize.js");Object.defineProperty(r,"finalize",{enumerable:!0,get:function(){return Et.finalize}});var At=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/find.js");Object.defineProperty(r,"find",{enumerable:!0,get:function(){return At.find}});var $t=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/findIndex.js");Object.defineProperty(r,"findIndex",{enumerable:!0,get:function(){return $t.findIndex}});var kt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/first.js");Object.defineProperty(r,"first",{enumerable:!0,get:function(){return kt.first}});var Tt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/groupBy.js");Object.defineProperty(r,"groupBy",{enumerable:!0,get:function(){return Tt.groupBy}});var Ct=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/ignoreElements.js");Object.defineProperty(r,"ignoreElements",{enumerable:!0,get:function(){return Ct.ignoreElements}});var Rt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/isEmpty.js");Object.defineProperty(r,"isEmpty",{enumerable:!0,get:function(){return Rt.isEmpty}});var Mt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/last.js");Object.defineProperty(r,"last",{enumerable:!0,get:function(){return Mt.last}});var Ut=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js");Object.defineProperty(r,"map",{enumerable:!0,get:function(){return Ut.map}});var Nt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mapTo.js");Object.defineProperty(r,"mapTo",{enumerable:!0,get:function(){return Nt.mapTo}});var Lt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/materialize.js");Object.defineProperty(r,"materialize",{enumerable:!0,get:function(){return Lt.materialize}});var Dt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/max.js");Object.defineProperty(r,"max",{enumerable:!0,get:function(){return Dt.max}});var Ft=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js");Object.defineProperty(r,"mergeAll",{enumerable:!0,get:function(){return Ft.mergeAll}});var Wt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js");Object.defineProperty(r,"mergeMap",{enumerable:!0,get:function(){return Wt.mergeMap}});var zt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMapTo.js");Object.defineProperty(r,"mergeMapTo",{enumerable:!0,get:function(){return zt.mergeMapTo}});var Gt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeScan.js");Object.defineProperty(r,"mergeScan",{enumerable:!0,get:function(){return Gt.mergeScan}});var Ht=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeWith.js");Object.defineProperty(r,"mergeWith",{enumerable:!0,get:function(){return Ht.mergeWith}});var Vt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/min.js");Object.defineProperty(r,"min",{enumerable:!0,get:function(){return Vt.min}});var Kt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/observeOn.js");Object.defineProperty(r,"observeOn",{enumerable:!0,get:function(){return Kt.observeOn}});var Qt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/onErrorResumeNextWith.js");Object.defineProperty(r,"onErrorResumeNextWith",{enumerable:!0,get:function(){return Qt.onErrorResumeNextWith}});var Yt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/pairwise.js");Object.defineProperty(r,"pairwise",{enumerable:!0,get:function(){return Yt.pairwise}});var Xt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/raceWith.js");Object.defineProperty(r,"raceWith",{enumerable:!0,get:function(){return Xt.raceWith}});var Zt=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js");Object.defineProperty(r,"reduce",{enumerable:!0,get:function(){return Zt.reduce}});var tr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/repeat.js");Object.defineProperty(r,"repeat",{enumerable:!0,get:function(){return tr.repeat}});var rr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/repeatWhen.js");Object.defineProperty(r,"repeatWhen",{enumerable:!0,get:function(){return rr.repeatWhen}});var er=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/retry.js");Object.defineProperty(r,"retry",{enumerable:!0,get:function(){return er.retry}});var sr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/retryWhen.js");Object.defineProperty(r,"retryWhen",{enumerable:!0,get:function(){return sr.retryWhen}});var nr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sample.js");Object.defineProperty(r,"sample",{enumerable:!0,get:function(){return nr.sample}});var or=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sampleTime.js");Object.defineProperty(r,"sampleTime",{enumerable:!0,get:function(){return or.sampleTime}});var ir=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/scan.js");Object.defineProperty(r,"scan",{enumerable:!0,get:function(){return ir.scan}});var ar=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sequenceEqual.js");Object.defineProperty(r,"sequenceEqual",{enumerable:!0,get:function(){return ar.sequenceEqual}});var ur=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/share.js");Object.defineProperty(r,"share",{enumerable:!0,get:function(){return ur.share}});var lr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/shareReplay.js");Object.defineProperty(r,"shareReplay",{enumerable:!0,get:function(){return lr.shareReplay}});var cr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/single.js");Object.defineProperty(r,"single",{enumerable:!0,get:function(){return cr.single}});var mr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skip.js");Object.defineProperty(r,"skip",{enumerable:!0,get:function(){return mr.skip}});var dr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipLast.js");Object.defineProperty(r,"skipLast",{enumerable:!0,get:function(){return dr.skipLast}});var pr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipUntil.js");Object.defineProperty(r,"skipUntil",{enumerable:!0,get:function(){return pr.skipUntil}});var fr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipWhile.js");Object.defineProperty(r,"skipWhile",{enumerable:!0,get:function(){return fr.skipWhile}});var hr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/startWith.js");Object.defineProperty(r,"startWith",{enumerable:!0,get:function(){return hr.startWith}});var _r=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/subscribeOn.js");Object.defineProperty(r,"subscribeOn",{enumerable:!0,get:function(){return _r.subscribeOn}});var gr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchAll.js");Object.defineProperty(r,"switchAll",{enumerable:!0,get:function(){return gr.switchAll}});var jr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js");Object.defineProperty(r,"switchMap",{enumerable:!0,get:function(){return jr.switchMap}});var br=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js");Object.defineProperty(r,"switchMapTo",{enumerable:!0,get:function(){return br.switchMapTo}});var yr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchScan.js");Object.defineProperty(r,"switchScan",{enumerable:!0,get:function(){return yr.switchScan}});var wr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/take.js");Object.defineProperty(r,"take",{enumerable:!0,get:function(){return wr.take}});var xr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeLast.js");Object.defineProperty(r,"takeLast",{enumerable:!0,get:function(){return xr.takeLast}});var Jr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeUntil.js");Object.defineProperty(r,"takeUntil",{enumerable:!0,get:function(){return Jr.takeUntil}});var Sr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeWhile.js");Object.defineProperty(r,"takeWhile",{enumerable:!0,get:function(){return Sr.takeWhile}});var vr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/tap.js");Object.defineProperty(r,"tap",{enumerable:!0,get:function(){return vr.tap}});var Br=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throttle.js");Object.defineProperty(r,"throttle",{enumerable:!0,get:function(){return Br.throttle}});var qr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throttleTime.js");Object.defineProperty(r,"throttleTime",{enumerable:!0,get:function(){return qr.throttleTime}});var Pr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throwIfEmpty.js");Object.defineProperty(r,"throwIfEmpty",{enumerable:!0,get:function(){return Pr.throwIfEmpty}});var Ir=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeInterval.js");Object.defineProperty(r,"timeInterval",{enumerable:!0,get:function(){return Ir.timeInterval}});var Or=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeout.js");Object.defineProperty(r,"timeout",{enumerable:!0,get:function(){return Or.timeout}});var Er=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeoutWith.js");Object.defineProperty(r,"timeoutWith",{enumerable:!0,get:function(){return Er.timeoutWith}});var Ar=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timestamp.js");Object.defineProperty(r,"timestamp",{enumerable:!0,get:function(){return Ar.timestamp}});var $r=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/toArray.js");Object.defineProperty(r,"toArray",{enumerable:!0,get:function(){return $r.toArray}});var kr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/window.js");Object.defineProperty(r,"window",{enumerable:!0,get:function(){return kr.window}});var Tr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowCount.js");Object.defineProperty(r,"windowCount",{enumerable:!0,get:function(){return Tr.windowCount}});var Cr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowTime.js");Object.defineProperty(r,"windowTime",{enumerable:!0,get:function(){return Cr.windowTime}});var Rr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowToggle.js");Object.defineProperty(r,"windowToggle",{enumerable:!0,get:function(){return Rr.windowToggle}});var Mr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowWhen.js");Object.defineProperty(r,"windowWhen",{enumerable:!0,get:function(){return Mr.windowWhen}});var Ur=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js");Object.defineProperty(r,"withLatestFrom",{enumerable:!0,get:function(){return Ur.withLatestFrom}});var Nr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/zipAll.js");Object.defineProperty(r,"zipAll",{enumerable:!0,get:function(){return Nr.zipAll}});var Lr=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/zipWith.js");Object.defineProperty(r,"zipWith",{enumerable:!0,get:function(){return Lr.zipWith}})},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/AsyncSubject.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncSubject=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");class n extends s.Subject{_value=null;_hasValue=!1;_isComplete=!1;_checkFinalizedStatuses(t){const{hasError:r,_hasValue:e,_value:s,thrownError:n,_closed:o,_isComplete:i}=this;r?t.error(n):(o||i)&&(e&&t.next(s),t.complete())}next(t){this._closed||(this._value=t,this._hasValue=!0)}complete(){const{_hasValue:t,_value:r,_isComplete:e}=this;e||(this._isComplete=!0,t&&super.next(r),super.complete())}}r.AsyncSubject=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/BehaviorSubject.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.BehaviorSubject=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");class n extends s.Subject{_value;constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const r=super._subscribe(t);return!r.closed&&t.next(this._value),r}getValue(){const{hasError:t,thrownError:r,_value:e}=this;if(t)throw r;return e}next(t){super.next(this._value=t)}}r.BehaviorSubject=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Notification.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.observeNotification=void 0,r.observeNotification=function(t,r){const{kind:e,value:s,error:n}=t;if("string"!=typeof e)throw new TypeError('Invalid notification, missing "kind"');"N"===e?r.next?.(s):"E"===e?r.error?.(n):r.complete?.()}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createNotification=r.nextNotification=r.errorNotification=r.COMPLETE_NOTIFICATION=r.isObservable=r.isArrayLike=r.isPromise=r.readableStreamLikeToAsyncGenerator=r.isFunction=r.getObservableInputType=r.ObservableInputType=r.subscribeToArray=r.fromPromise=r.fromArrayLike=r.from=r.reportUnhandledError=r.Observable=r.operate=r.config=r.Subscriber=r.Subscription=r.UnsubscriptionError=void 0;class e extends Error{errors;constructor(t){super(t?`${t.length} errors occurred during unsubscription:\n${t.map(((t,r)=>`${r+1}) ${t.toString()}`)).join("\n ")}`:""),this.errors=t,this.name="UnsubscriptionError"}}r.UnsubscriptionError=e;class s{initialTeardown;static EMPTY=(()=>{const t=new s;return t.closed=!0,t})();closed=!1;_finalizers=null;constructor(t){this.initialTeardown=t}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{initialTeardown:r}=this;if(y(r))try{r()}catch(r){t=r instanceof e?r.errors:[r]}const{_finalizers:s}=this;if(s){this._finalizers=null;for(const r of s)try{n(r)}catch(r){t=t??[],r instanceof e?t.push(...r.errors):t.push(r)}}if(t)throw new e(t)}}add(t){t&&t!==this&&(this.closed?n(t):(t&&"add"in t&&t.add((()=>{this.remove(t)})),this._finalizers??=new Set,this._finalizers.add(t)))}remove(t){this._finalizers?.delete(t)}}function n(t){y(t)?t():t.unsubscribe()}r.Subscription=s,"symbol"==typeof Symbol.dispose&&(s.prototype[Symbol.dispose]=s.prototype.unsubscribe);class o extends s{isStopped=!1;destination;_nextOverride=null;_errorOverride=null;_completeOverride=null;_onFinalize=null;constructor(t,r){var e,s;super(),this.destination=t instanceof o?t:new l(!(e=t)||y(e)?{next:e??void 0}:e),this._nextOverride=r?.next??null,this._errorOverride=r?.error??null,this._completeOverride=r?.complete??null,this._onFinalize=r?.finalize??null,this._next=this._nextOverride?i:this._next,this._error=this._errorOverride?a:this._error,this._complete=this._completeOverride?u:this._complete,(s=t)&&y(s.unsubscribe)&&y(s.add)&&t.add(this)}next(t){this.isStopped?c(v(t),this):this._next(t)}error(t){this.isStopped?c(S(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?c(r.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this._onFinalize?.())}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}function i(t){try{this._nextOverride(t)}catch(t){this.destination.error(t)}}function a(t){try{this._errorOverride(t)}catch(t){this.destination.error(t)}finally{this.unsubscribe()}}function u(){try{this._completeOverride()}catch(t){this.destination.error(t)}finally{this.unsubscribe()}}r.Subscriber=o,r.config={onUnhandledError:null,onStoppedNotification:null};class l{partialObserver;constructor(t){this.partialObserver=t}next(t){const{partialObserver:r}=this;if(r.next)try{r.next(t)}catch(t){p(t)}}error(t){const{partialObserver:r}=this;if(r.error)try{r.error(t)}catch(t){p(t)}else p(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(t){p(t)}}}function c(t,e){const{onStoppedNotification:s}=r.config;s&&setTimeout((()=>s(t,e)))}r.operate=function({destination:t,...r}){return new o(t,r)};class m{constructor(t){t&&(this._subscribe=t)}subscribe(t){const r=t instanceof o?t:new o(t);return r.add(this._trySubscribe(r)),r}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t){return new Promise(((r,e)=>{const s=new o({next:r=>{try{t(r)}catch(t){e(t),s.unsubscribe()}},error:e,complete:r});this.subscribe(s)}))}_subscribe(t){}[Symbol.observable??"@@observable"](){return this}pipe(...t){return t.reduce(d,this)}[Symbol.asyncIterator](){let t,r,e=!1,s=!1;const n=[],o=[],i=t=>{for(e=!0,r=t;o.length;){const[r,e]=o.shift();e(t)}},a=()=>{for(s=!0;o.length;){const[t]=o.shift();t({value:void 0,done:!0})}};return{next:()=>(t||(t=this.subscribe({next:t=>{if(o.length){const[r]=o.shift();r({value:t,done:!1})}else n.push(t)},error:i,complete:a})),n.length?Promise.resolve({value:n.shift(),done:!1}):s?Promise.resolve({value:void 0,done:!0}):e?Promise.reject(r):new Promise(((t,r)=>{o.push([t,r])}))),throw:r=>(t?.unsubscribe(),i(r),Promise.reject(r)),return:()=>(t?.unsubscribe(),a(),Promise.resolve({value:void 0,done:!0})),[Symbol.asyncIterator](){return this}}}}function d(t,r){return r(t)}function p(t){setTimeout((()=>{const{onUnhandledError:e}=r.config;if(!e)throw t;e(t)}))}function f(t){return new m((r=>{g(t,r)}))}function h(t){return new m((r=>{t.then((t=>{r.closed||(r.next(t),r.complete())}),(t=>r.error(t))).then(null,p)}))}function _(t){return new m((r=>{(async function(t,r){for await(const e of t)if(r.next(e),r.closed)return;r.complete()})(t,r).catch((t=>r.error(t)))}))}function g(t,r){const e=t.length;for(let s=0;s<e;s++){if(r.closed)return;r.next(t[s])}r.complete()}var j;function b(t){if(t instanceof m)return j.Own;if(function(t){return y(t[Symbol.observable??"@@observable"])}(t))return j.InteropObservable;if(J(t))return j.ArrayLike;if(x(t))return j.Promise;if(r=t,Symbol.asyncIterator&&y(r?.[Symbol.asyncIterator]))return j.AsyncIterable;var r;if(function(t){return y(t?.[Symbol.iterator])}(t))return j.Iterable;if(function(t){return y(t?.getReader)}(t))return j.ReadableStreamLike;throw new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function y(t){return"function"==typeof t}async function*w(t){const r=t.getReader();try{for(;;){const{value:t,done:e}=await r.read();if(e)return;yield t}}finally{r.releaseLock()}}function x(t){return y(t?.then)}function J(t){return t&&"number"==typeof t.length&&!y(t)}function S(t){return B("E",void 0,t)}function v(t){return B("N",t,void 0)}function B(t,r,e){return{kind:t,value:r,error:e}}r.Observable=m,r.reportUnhandledError=p,r.from=function(t){switch(b(t)){case j.Own:return t;case j.InteropObservable:return e=t,new m((t=>{const r=e[Symbol.observable??"@@observable"]();if(y(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));case j.ArrayLike:return f(t);case j.Promise:return h(t);case j.AsyncIterable:return _(t);case j.Iterable:return r=t,new m((t=>{for(const e of r)if(t.next(e),t.closed)return;t.complete()}));case j.ReadableStreamLike:return _(w(t))}var r,e},r.fromArrayLike=f,r.fromPromise=h,r.subscribeToArray=g,function(t){t[t.Own=0]="Own",t[t.InteropObservable=1]="InteropObservable",t[t.ArrayLike=2]="ArrayLike",t[t.Promise=3]="Promise",t[t.AsyncIterable=4]="AsyncIterable",t[t.Iterable=5]="Iterable",t[t.ReadableStreamLike=6]="ReadableStreamLike"}(j=r.ObservableInputType||(r.ObservableInputType={})),r.getObservableInputType=b,r.isFunction=y,r.readableStreamLikeToAsyncGenerator=w,r.isPromise=x,r.isArrayLike=J,r.isObservable=function(t){return!!t&&(t instanceof m||y(t.lift)&&y(t.subscribe))},r.COMPLETE_NOTIFICATION=B("C",void 0,void 0),r.errorNotification=S,r.nextNotification=v,r.createNotification=B},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/ReplaySubject.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.ReplaySubject=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/dateTimestampProvider.js");class o extends s.Subject{_bufferSize;_windowTime;_timestampProvider;_buffer=[];_infiniteTimeWindow=!0;constructor(t=1/0,r=1/0,e=n.dateTimestampProvider){super(),this._bufferSize=t,this._windowTime=r,this._timestampProvider=e,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,r)}next(t){const{_closed:r,_buffer:e,_infiniteTimeWindow:s,_timestampProvider:n,_windowTime:o}=this;r||(e.push(t),!s&&e.push(n.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._trimBuffer();const r=this._innerSubscribe(t),{_infiniteTimeWindow:e,_buffer:s}=this,n=s.slice();for(let r=0;r<n.length&&!t.closed;r+=e?1:2)t.next(n[r]);return this._checkFinalizedStatuses(t),r}_trimBuffer(){const{_bufferSize:t,_timestampProvider:r,_buffer:e,_infiniteTimeWindow:s}=this,n=(s?1:2)*t;if(t<1/0&&n<e.length&&e.splice(0,e.length-n),!s){const t=r.now();let s=0;for(let r=1;r<e.length&&e[r]<=t;r+=2)s=r;s&&e.splice(0,s+1)}}}r.ReplaySubject=o},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Scheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.Scheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/dateTimestampProvider.js");class n{schedulerActionCtor;static now=s.dateTimestampProvider.now;constructor(t,r=n.now){this.schedulerActionCtor=t,this.now=r}now;schedule(t,r=0,e){return new this.schedulerActionCtor(this,t).schedule(e,r)}}r.Scheduler=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.Subject=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");class n extends s.Observable{_closed=!1;get closed(){return this._closed}_observerCounter=0;currentObservers=new Map;observerSnapshot;get observers(){return this.observerSnapshot??=Array.from(this.currentObservers.values())}hasError=!1;thrownError=null;constructor(){super()}_clearObservers(){this.currentObservers.clear(),this.observerSnapshot=void 0}next(t){if(!this._closed){const{observers:r}=this,e=r.length;for(let s=0;s<e;s++)r[s].next(t)}}error(t){if(!this._closed){this.hasError=this._closed=!0,this.thrownError=t;const{observers:r}=this,e=r.length;for(let s=0;s<e;s++)r[s].error(t);this._clearObservers()}}complete(){if(!this._closed){this._closed=!0;const{observers:t}=this,r=t.length;for(let e=0;e<r;e++)t[e].complete();this._clearObservers()}}unsubscribe(){this._closed=!0,this._clearObservers()}get observed(){return this.currentObservers.size>0}_subscribe(t){return this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){if(this.hasError||this._closed)return s.Subscription.EMPTY;const{currentObservers:r}=this,e=this._observerCounter++;return r.set(e,t),this.observerSnapshot=void 0,t.add((()=>{r.delete(e),this.observerSnapshot=void 0})),t}_checkFinalizedStatuses(t){const{hasError:r,thrownError:e,_closed:s}=this;r?t.error(e):s&&t.complete()}asObservable(){return new s.Observable((t=>this.subscribe(t)))}}r.Subject=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/firstValueFrom.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.firstValueFrom=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");r.firstValueFrom=function(t,r){const e="object"==typeof r;return new Promise(((o,i)=>{const a=new s.Subscriber({next:t=>{o(t),a.unsubscribe()},error:i,complete:()=>{e?o(r.defaultValue):i(new n.EmptyError)}});t.subscribe(a)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/lastValueFrom.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.lastValueFrom=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");r.lastValueFrom=function(t,r){const e="object"==typeof r;return new Promise(((n,o)=>{let i,a=!1;t.subscribe({next:t=>{i=t,a=!0},error:o,complete:()=>{a?n(i):e?n(r.defaultValue):o(new s.EmptyError)}})}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindCallback.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bindCallback=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindCallbackInternals.js");r.bindCallback=function(t,r,e){return(0,s.bindCallbackInternals)(!1,t,r,e)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindCallbackInternals.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bindCallbackInternals=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isScheduler.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/AsyncSubject.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js");r.bindCallbackInternals=function t(r,e,u,l){if(u){if(!(0,s.isScheduler)(u))return function(...s){return(0,o.mapOneOrManyArgs)(u)(t(r,e,l).apply(this,s))};l=u}return l?function(...s){return(0,a.scheduled)(t(r,e).apply(this,s),l)}:function(...t){const s=new i.AsyncSubject;let o=!0;return new n.Observable((n=>{const i=s.subscribe(n);if(o){o=!1;let n=!1,i=!1;e.apply(this,[...t,(...t)=>{if(r){const r=t.shift();if(null!=r)return void s.error(r)}s.next(1<t.length?t:t[0]),i=!0,n&&s.complete()}]),i&&s.complete(),n=!0}return i}))}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindNodeCallback.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bindNodeCallback=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/bindCallbackInternals.js");r.bindNodeCallback=function(t,r,e){return(0,s.bindCallbackInternals)(!0,t,r,e)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestInit=r.combineLatest=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsArgArrayOrObject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/createObject.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js");function u(t,r=o.identity){return e=>{const{length:n}=t,o=new Array(n);let i=n,a=n;for(let u=0;u<n;u++){const n=(0,s.from)(t[u]);let l=!1;n.subscribe((0,s.operate)({destination:e,next:t=>{o[u]=t,l||(l=!0,a--),a||e.next(r(Array.from(o)))},complete:()=>{--i||e.complete()}}))}}}r.combineLatest=function(t,r){const e=(0,n.arrayOrObject)(t);if(!e)throw new TypeError("sources must be an array or object");const{args:l,keys:c}=e;return 0===l.length?a.EMPTY:new s.Observable(u(l,c?t=>(0,i.createObject)(c,t):r?t=>r(...t):o.identity))},r.combineLatestInit=u},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/concat.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.concat=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatAll.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js");r.concat=function(...t){const r=(0,o.popScheduler)(t);return(0,n.concatAll)()(r?(0,i.scheduled)(t,r):(0,s.from)(t))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/connectable.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.connectable=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/defer.js"),i={connector:()=>new s.Subject,resetOnDisconnect:!0};r.connectable=function(t,r=i){let e=null;const{connector:s,resetOnDisconnect:a=!0}=r;let u=s();const l=new n.Observable((t=>u.subscribe(t)));return l.connect=()=>(e&&!e.closed||(e=(0,o.defer)((()=>t)).subscribe(u),a&&e.add((()=>u=s()))),e),l}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/defer.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.defer=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.defer=function(t){return new s.Observable((r=>{(0,s.from)(t()).subscribe(r)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/dom/animationFrames.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrames=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/performanceTimestampProvider.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/animationFrameProvider.js");function i(t){return new s.Observable((r=>{const e=t||n.performanceTimestampProvider,s=e.now();let i=0;const a=()=>{r.closed||(i=o.animationFrameProvider.requestAnimationFrame((n=>{i=0;const o=e.now();r.next({timestamp:t?o:n,elapsed:o-s}),a()})))};return a(),()=>{i&&o.animationFrameProvider.cancelAnimationFrame(i)}}))}r.animationFrames=function(t){return t?i(t):a};const a=i()},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.EMPTY=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.EMPTY=new s.Observable((t=>t.complete()))},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/forkJoin.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.forkJoin=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsArgArrayOrObject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/createObject.js"),u=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");r.forkJoin=function(...t){const r=(0,o.popResultSelector)(t),{args:e,keys:l}=(0,n.argsArgArrayOrObject)(t),c=new s.Observable((t=>{const{length:r}=e;if(!r)return void t.complete();const n=new Array(r);let o=r,i=r;for(let c=0;c<r;c++){let r=!1;(0,s.from)(e[c]).subscribe((0,s.operate)({destination:t,next:t=>{r||(r=!0,i--),n[c]=t},complete:()=>o--,finalize:()=>{o&&r||(0===i?(t.next(l?(0,a.createObject)(l,n):n),t.complete()):t.error(new u.EmptyError))}}))}}));return r?(0,i.mapOneOrManyArgs)(r)(c):c}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromEvent.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.fromEvent=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"),o=["addListener","removeListener"],i=["addEventListener","removeEventListener"],a=["on","off"];function u(t,r,e,s,n){const[u,d]=m(p=e)?i:l(p)?o:c(p)?a:[];var p;if(!u||!d)throw new TypeError("Invalid event target");e[u](s,t,n),r.add((()=>e[d](s,t,n)))}function l(t){return(0,s.isFunction)(t.addListener)&&(0,s.isFunction)(t.removeListener)}function c(t){return(0,s.isFunction)(t.on)&&(0,s.isFunction)(t.off)}function m(t){return(0,s.isFunction)(t.addEventListener)&&(0,s.isFunction)(t.removeEventListener)}r.fromEvent=function t(r,e,o,i){if((0,s.isFunction)(o)&&(i=o,o=void 0),i)return(0,n.mapOneOrManyArgs)(i)(t(r,e,o));const a=l(r)||c(r)||m(r);if(!a&&!(0,s.isArrayLike)(r))throw new TypeError("Invalid event target");return new s.Observable((t=>{const s=(...r)=>t.next(1<r.length?r:r[0]);if(a)u(s,t,r,e,o);else for(let n=0;n<r.length&&!t.closed;n++){const i=r[n];u(s,t,i,e,o)}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromEventPattern.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.fromEventPattern=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js");r.fromEventPattern=function t(r,e,o){return o?(0,n.mapOneOrManyArgs)(o)(t(r,e)):new s.Observable((t=>{const n=(...r)=>t.next(1===r.length?r[0]:r),o=r(n);return(0,s.isFunction)(e)?()=>e(n,o):void 0}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromSubscribable.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.fromSubscribable=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.fromSubscribable=function(t){return new s.Observable((r=>t.subscribe(r)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/generate.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.generate=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isScheduler.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/defer.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleIterable.js");r.generate=function(t,r,e,a,u){let l,c;function*m(){for(let t=c;!r||r(t);t=e(t))yield l(t)}return 1===arguments.length?({initialState:c,condition:r,iterate:e,resultSelector:l=s.identity,scheduler:u}=t):(c=t,!a||(0,n.isScheduler)(a)?(l=s.identity,u=a):l=a),(0,o.defer)(u?()=>(0,i.scheduleIterable)(m(),u):m)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/iif.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.iif=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/defer.js");r.iif=function(t,r,e){return(0,s.defer)((()=>t()?r:e))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/interval.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.interval=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.interval=function(t=0,r=s.asyncScheduler){return t<0&&(t=0),(0,n.timer)(t,t,r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/merge.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.merge=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js");r.merge=function(...t){const r=(0,i.popScheduler)(t),e=(0,i.popNumber)(t,1/0),u=t;return u.length?1===u.length?(0,s.from)(u[0]):(0,n.mergeAll)(e)(r?(0,a.scheduled)(u,r):(0,s.from)(u)):o.EMPTY}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/never.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.NEVER=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.NEVER=new s.Observable(n.noop)},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/of.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.of=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.of=function(...t){return(0,s.fromArrayLike)(t)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/onErrorResumeNext.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.onErrorResumeNext=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.onErrorResumeNext=function(...t){const r=(0,n.argsOrArgArray)(t);return new s.Observable((t=>{let e=0;const n=()=>{if(e<r.length){let i;try{i=(0,s.from)(r[e++])}catch(t){return void n()}const a=(0,s.operate)({destination:t,error:o.noop,complete:o.noop});i.subscribe(a),a.add(n)}else t.complete()};n()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/partition.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.partition=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/not.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/filter.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.partition=function(t,r,e){return[(0,n.filter)(r,e)((0,o.from)(t)),(0,n.filter)((0,s.not)(r,e))((0,o.from)(t))]}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/race.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.raceInit=r.race=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js");function o(t){return r=>{let e=[];for(let n=0;e&&!r.closed&&n<t.length;n++)e.push((0,s.from)(t[n]).subscribe((0,s.operate)({destination:r,next:t=>{if(e){for(let t=0;t<e.length;t++)t!==n&&e[t].unsubscribe();e=null}r.next(t)}})))}}r.race=function(...t){return 1===(t=(0,n.argsOrArgArray)(t)).length?(0,s.from)(t[0]):new s.Observable(o(t))},r.raceInit=o},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/range.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.range=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.range=function(t,r,e){if(null==r&&(r=t,t=0),r<=0)return n.EMPTY;const i=r+t;return new s.Observable(e?r=>{let s=t;const n=()=>{s<i?(r.next(s++),r.closed||(0,o.executeSchedule)(r,e,n)):r.complete()};(0,o.executeSchedule)(r,e,n)}:r=>{let e=t;for(;e<i&&!r.closed;)r.next(e++);r.complete()})}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/throwError.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.throwError=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.throwError=function(t){return new s.Observable((r=>{r.error(t())}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.timer=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isScheduler.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isDate.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.timer=function(t=0,r,e=n.asyncScheduler){let u=-1;return null!=r&&((0,o.isScheduler)(r)?e=r:u=r),new s.Observable((r=>{let s=(0,i.isValidDate)(t)?+t-e.now():t;s<0&&(s=0);let n=0;return(0,a.executeSchedule)(r,e,(()=>{r.next(n++),0<=u?(0,a.executeSchedule)(r,e,(()=>{r.next(n++)}),u,!0):r.complete()}),s)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/using.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.using=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js");r.using=function(t,r){return new s.Observable((e=>{const o=t(),i=r(o);return(i?(0,s.from)(i):n.EMPTY).subscribe(e),()=>{o&&o.unsubscribe()}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/zip.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.zip=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js");r.zip=function(...t){const r=(0,i.popResultSelector)(t),e=(0,n.argsOrArgArray)(t);return e.length?new s.Observable((t=>{let n=e.map((()=>[])),o=e.map((()=>!1));t.add((()=>{n=o=null}));for(let i=0;!t.closed&&i<e.length;i++)(0,s.from)(e[i]).subscribe((0,s.operate)({destination:t,next:e=>{if(n[i].push(e),n.every((t=>t.length))){const e=n.map((t=>t.shift()));t.next(r?r(...e):e),n.some(((t,r)=>!t.length&&o[r]))&&t.complete()}},complete:()=>{o[i]=!0,!n[i].length&&t.complete()}}));return()=>{n=o=null}})):o.EMPTY}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/audit.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.audit=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.audit=function(t){return r=>new s.Observable((e=>{let n=!1,o=null,i=null,a=!1;const u=()=>{if(i?.unsubscribe(),i=null,n){n=!1;const t=o;o=null,e.next(t)}a&&e.complete()},l=()=>{i=null,a&&e.complete()};r.subscribe((0,s.operate)({destination:e,next:r=>{n=!0,o=r,i||(0,s.from)(t(r)).subscribe(i=(0,s.operate)({destination:e,next:u,complete:l}))},complete:()=>{a=!0,(!n||!i||i.closed)&&e.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/auditTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.auditTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/audit.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.auditTime=function(t,r=s.asyncScheduler){return(0,n.audit)((()=>(0,o.timer)(t,r)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/buffer.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.buffer=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.buffer=function(t){return r=>new s.Observable((e=>{let o=[];return(0,s.from)(t).subscribe((0,s.operate)({destination:e,next:()=>{const t=o;o=[],e.next(t)},complete:n.noop})),r.subscribe((0,s.operate)({destination:e,next:t=>o.push(t),complete:()=>{e.next(o),e.complete()}})),()=>{o=null}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferCount.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bufferCount=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js");r.bufferCount=function(t,r=null){return r=r??t,e=>new s.Observable((o=>{let i=[],a=0;e.subscribe((0,s.operate)({destination:o,next:e=>{let s=null;a++%r==0&&i.push([]);for(const r of i)r.push(e),t<=r.length&&(s=s??[],s.push(r));if(s)for(const t of s)(0,n.arrRemove)(i,t),o.next(t)},complete:()=>{for(const t of i)o.next(t);o.complete()},finalize:()=>{i=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bufferTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.bufferTime=function(t,...r){const e=(0,i.popScheduler)(r)??o.asyncScheduler,u=r[0]??null,l=r[1]||1/0;return r=>new s.Observable((o=>{let i=[],c=!1;const m=t=>{const{buffer:r,subs:e}=t;e.unsubscribe(),(0,n.arrRemove)(i,t),o.next(r),c&&d()},d=()=>{if(i){const r=new s.Subscription;o.add(r);const n={buffer:[],subs:r};i.push(n),(0,a.executeSchedule)(r,e,(()=>m(n)),t)}};null!==u&&u>=0?(0,a.executeSchedule)(o,e,d,u,!0):c=!0,d();const p=(0,s.operate)({destination:o,next:t=>{const r=i.slice();for(const e of r){const{buffer:r}=e;r.push(t),l<=r.length&&m(e)}},complete:()=>{for(;i?.length;)o.next(i.shift().buffer);p?.unsubscribe(),o.complete(),o.unsubscribe()},finalize:()=>i=null});r.subscribe(p)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferToggle.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bufferToggle=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js");r.bufferToggle=function(t,r){return e=>new s.Observable((i=>{const a=[];(0,s.from)(t).subscribe((0,s.operate)({destination:i,next:t=>{const e=[];a.push(e);const u=new s.Subscription;u.add((0,s.from)(r(t)).subscribe((0,s.operate)({destination:i,next:()=>{(0,o.arrRemove)(a,e),i.next(e),u.unsubscribe()},complete:n.noop})))},complete:n.noop})),e.subscribe((0,s.operate)({destination:i,next:t=>{for(const r of a)r.push(t)},complete:()=>{for(;a.length>0;)i.next(a.shift());i.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/bufferWhen.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.bufferWhen=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.bufferWhen=function(t){return r=>new s.Observable((e=>{let o=null,i=null;const a=()=>{i?.unsubscribe();const r=o;o=[],r&&e.next(r),(0,s.from)(t()).subscribe(i=(0,s.operate)({destination:e,next:a,complete:n.noop}))};a(),r.subscribe((0,s.operate)({destination:e,next:t=>o?.push(t),complete:()=>{o&&e.next(o),e.complete()},finalize:()=>o=i=null}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/catchError.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.catchError=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.catchError=function t(r){return e=>new s.Observable((n=>{let o,i=null,a=!1;i=e.subscribe((0,s.operate)({destination:n,error:u=>{o=(0,s.from)(r(u,t(r)(e))),i?(i.unsubscribe(),i=null,o.subscribe(n)):a=!0}})),a&&(i.unsubscribe(),i=null,o.subscribe(n))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/combineLatestAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/joinAllInternals.js");r.combineLatestAll=function(t){return(0,n.joinAllInternals)(s.combineLatest,t)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/combineLatestWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.combineLatestWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/combineLatest.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.combineLatestWith=function(...t){return r=>new n.Observable((e=>(0,s.combineLatestInit)([r,...t])(e)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.concatAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js");r.concatAll=function(){return(0,s.mergeAll)(1)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatMap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.concatMap=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js");r.concatMap=function(t){return(0,s.mergeMap)(t,1)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatMapTo.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.concatMapTo=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatMap.js");r.concatMapTo=function(t){return(0,s.concatMap)((()=>t))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.concatWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/concatAll.js");r.concatWith=function(...t){return r=>new s.Observable((e=>{(0,n.concatAll)()((0,s.from)([r,...t])).subscribe(e)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/connect.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.connect=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/fromSubscribable.js"),i={connector:()=>new n.Subject};r.connect=function(t,r=i){const{connector:e}=r;return r=>new s.Observable((n=>{const i=e();(0,s.from)(t((0,o.fromSubscribable)(i))).subscribe(n),n.add(r.subscribe(i))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/count.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.count=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js");r.count=function(t){return(0,s.reduce)(((r,e,s)=>!t||t(e,s)?r+1:r),0)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/debounce.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.debounce=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.debounce=function(t){return r=>new s.Observable((e=>{let o=!1,i=null,a=null;const u=()=>{if(a?.unsubscribe(),a=null,o){o=!1;const t=i;i=null,e.next(t)}};r.subscribe((0,s.operate)({destination:e,next:r=>{a?.unsubscribe(),o=!0,i=r,a=(0,s.operate)({destination:e,next:u,complete:n.noop}),(0,s.from)(t(r)).subscribe(a)},complete:()=>{u(),e.complete()},finalize:()=>{i=a=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/debounceTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.debounceTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.debounceTime=function(t,r=s.asyncScheduler){return e=>new n.Observable((s=>{let i,a;e.subscribe((0,n.operate)({destination:s,next:e=>{i=e,a?.unsubscribe(),a=(0,o.executeSchedule)(s,r,(()=>{a=void 0;const t=i;i=null,s.next(t)}),t)},complete:()=>{a&&s.next(i),s.complete()},finalize:()=>{i=a=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/defaultIfEmpty.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.defaultIfEmpty=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.defaultIfEmpty=function(t){return r=>new s.Observable((e=>{let n=!1;r.subscribe((0,s.operate)({destination:e,next:t=>{n=!0,e.next(t)},complete:()=>{n||e.next(t),e.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/delay.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.delay=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/delayWhen.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.delay=function(t,r=s.asyncScheduler){const e=(0,o.timer)(t,r);return(0,n.delayWhen)((()=>e))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/delayWhen.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.delayWhen=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/concat.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/take.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/ignoreElements.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/rx.js"),u=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js");r.delayWhen=function t(r,e){return e?i=>(0,s.concat)((0,a.rx)(e,(0,n.take)(1),(0,o.ignoreElements)()),(0,a.rx)(i,t(r))):(0,i.mergeMap)(((t,e)=>(0,a.rx)(r(t,e),(0,n.take)(1),(0,u.map)((()=>t)))))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/dematerialize.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.dematerialize=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Notification.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.dematerialize=function(){return t=>new n.Observable((r=>{t.subscribe((0,n.operate)({destination:r,next:t=>(0,s.observeNotification)(t,r)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinct.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.distinct=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.distinct=function(t,r){return e=>new s.Observable((o=>{const i=new Set;e.subscribe((0,s.operate)({destination:o,next:r=>{const e=t?t(r):r;i.has(e)||(i.add(e),o.next(r))}})),r&&(0,s.from)(r).subscribe((0,s.operate)({destination:o,next:()=>i.clear(),complete:n.noop}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.distinctUntilChanged=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");function o(t,r){return t===r}r.distinctUntilChanged=function(t,r=s.identity){return t=t??o,e=>new n.Observable((s=>{let o,i=!0;e.subscribe((0,n.operate)({destination:s,next:e=>{const n=r(e);!i&&t(o,n)||(i=!1,o=n,s.next(e))}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilKeyChanged.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.distinctUntilKeyChanged=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js");r.distinctUntilKeyChanged=function(t,r){return(0,s.distinctUntilChanged)(((e,s)=>r?r(e[t],s[t]):e[t]===s[t]))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/elementAt.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.elementAt=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/ArgumentOutOfRangeError.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.elementAt=function(t,r){if(t<0)throw new s.ArgumentOutOfRangeError;const e=arguments.length>=2;return o=>new n.Observable((i=>{let a=0;const u=(0,n.operate)({destination:i,next:r=>{a++===t&&(u.unsubscribe(),i.next(r),i.complete())},complete:()=>{e?(i.next(r),i.complete()):i.error(new s.ArgumentOutOfRangeError)}});o.subscribe(u)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/endWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.endWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.endWith=function(...t){return r=>new s.Observable((e=>{r.subscribe((0,s.operate)({destination:e,complete:()=>{(0,s.subscribeToArray)(t,e)}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/every.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.every=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.every=function(t,r){return e=>new s.Observable((n=>{let o=0;e.subscribe((0,s.operate)({destination:n,next:s=>{t.call(r,s,o++,e)||(n.next(!1),n.complete())},complete:()=>{n.next(!0),n.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/exhaustAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.exhaustAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/exhaustMap.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");r.exhaustAll=function(){return(0,s.exhaustMap)(n.identity)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/exhaustMap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.exhaustMap=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.exhaustMap=function(t){return r=>new s.Observable((e=>{let n=0,o=null,i=!1;r.subscribe((0,s.operate)({destination:e,next:r=>{o||(o=(0,s.operate)({destination:e,complete:()=>{o=null,i&&e.complete()}}),(0,s.from)(t(r,n++)).subscribe(o))},complete:()=>{i=!0,!o&&e.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/expand.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.expand=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js");r.expand=function(t,r=1/0,e){return r=(r||0)<1?1/0:r,o=>new s.Observable((s=>(0,n.mergeInternals)(o,s,t,r,void 0,!0,e)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/filter.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.filter=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.filter=function(t,r){return e=>new s.Observable((n=>{let o=0;e.subscribe((0,s.operate)({destination:n,next:e=>t.call(r,e,o++)&&n.next(e)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/finalize.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.finalize=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.finalize=function(t){return r=>new s.Observable((e=>{r.subscribe(e),e.add(t)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/find.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.createFind=r.find=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");function n(t,r,e,n){const o="index"===r;let i=0;e.subscribe((0,s.operate)({destination:n,next:r=>{const s=i++;t(r,s,e)&&(n.next(o?s:r),n.complete())},complete:()=>{n.next(o?-1:void 0),n.complete()}}))}r.find=function(t){return r=>new s.Observable((e=>n(t,"value",r,e)))},r.createFind=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/findIndex.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.findIndex=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/find.js");r.findIndex=function(t){return r=>new s.Observable((e=>(0,n.createFind)(t,"index",r,e)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/first.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.first=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");r.first=function(t,r){const e=arguments.length>=2;return o=>new s.Observable((i=>{let a=0;const u=(0,s.operate)({destination:i,next:r=>{(!t||t(r,a++,o))&&(u.unsubscribe(),i.next(r),i.complete())},complete:()=>{e?(i.next(r),i.complete()):i.error(new n.EmptyError)}});o.subscribe(u)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/groupBy.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.groupBy=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");r.groupBy=function(t,r,e,o){return i=>new s.Observable((a=>{let u;r&&"function"!=typeof r?({duration:e,element:u,connector:o}=r):u=r;const l=new Map,c=t=>{l.forEach(t),t(a)},m=t=>c((r=>r.error(t))),d=(0,s.operate)({destination:a,next:r=>{try{const i=t(r);let c=l.get(i);if(!c){l.set(i,c=o?o():new n.Subject);const t=function(t,r){const e=new s.Observable((t=>r.subscribe(t)));return e.key=t,e}(i,c);if(a.next(t),e){const r=(0,s.operate)({destination:c,next:()=>{c.complete(),r?.unsubscribe()},finalize:()=>l.delete(i)});d.add((0,s.from)(e(t)).subscribe(r))}}c.next(u?u(r):r)}catch(t){m(t)}},error:m,complete:()=>c((t=>t.complete())),finalize:()=>l.clear()});i.subscribe(d)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/ignoreElements.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.ignoreElements=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.ignoreElements=function(){return t=>new s.Observable((r=>{t.subscribe((0,s.operate)({destination:r,next:n.noop}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/isEmpty.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.isEmpty=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.isEmpty=function(){return t=>new s.Observable((r=>{t.subscribe((0,s.operate)({destination:r,next:()=>{r.next(!1),r.complete()},complete:()=>{r.next(!0),r.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/joinAllInternals.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.joinAllInternals=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/pipe.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/toArray.js");r.joinAllInternals=function(t,r){return(0,o.pipe)((0,a.toArray)(),(0,i.mergeMap)((r=>t(r))),r?(0,n.mapOneOrManyArgs)(r):s.identity)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/last.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.last=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js");r.last=function(t,r){const e=arguments.length>=2;return o=>new s.Observable((i=>{let a,u=0,l=!1;o.subscribe((0,s.operate)({destination:i,next(r){t&&!t(r,u++,o)||(l=!0,a=r)},complete(){l?(i.next(a),i.complete()):e?(i.next(r),i.complete()):i.error(new n.EmptyError)}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.map=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.map=function(t){return r=>new s.Observable((e=>{let n=0;r.subscribe((0,s.operate)({destination:e,next:r=>{e.next(t(r,n++))}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mapTo.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mapTo=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js");r.mapTo=function(t){return(0,s.map)((()=>t))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/materialize.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.materialize=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.materialize=function(){return t=>new s.Observable((r=>{t.subscribe((0,s.operate)({destination:r,next:t=>{r.next((0,s.nextNotification)(t))},error:t=>{r.next((0,s.errorNotification)(t)),r.complete()},complete:()=>{r.next(s.COMPLETE_NOTIFICATION),r.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/max.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.max=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.max=function(t){return(0,s.reduce)((0,n.isFunction)(t)?(r,e)=>t(r,e)>0?r:e:(t,r)=>t>r?t:r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");r.mergeAll=function(t=1/0){return(0,s.mergeMap)(n.identity,t)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeInternals=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.mergeInternals=function(t,r,e,o,i,a,u,l){const c=[];let m=0,d=0,p=!1;const f=()=>{!p||c.length||m||r.complete()},h=t=>m<o?_(t):c.push(t),_=t=>{a&&r.next(t),m++;let l=!1;(0,s.from)(e(t,d++)).subscribe((0,s.operate)({destination:r,next:t=>{i?.(t),a?h(t):r.next(t)},complete:()=>{l=!0},finalize:()=>{if(l)try{for(m--;c.length&&m<o;){const t=c.shift();u?(0,n.executeSchedule)(r,u,(()=>_(t))):_(t)}f()}catch(t){r.error(t)}}}))};return t.subscribe((0,s.operate)({destination:r,next:h,complete:()=>{p=!0,f()}})),()=>{l?.()}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMap=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js");r.mergeMap=function(t,r=1/0){return e=>new s.Observable((s=>(0,n.mergeInternals)(e,s,t,r)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMapTo.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeMapTo=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeMap.js");r.mergeMapTo=function(t,r){return(0,s.mergeMap)((()=>t),r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeScan.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeScan=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js");r.mergeScan=function(t,r,e=1/0){return o=>new s.Observable((s=>{let i=r;return(0,n.mergeInternals)(o,s,((r,e)=>t(i,r,e)),e,(t=>{i=t}),!1,void 0,(()=>i=null))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mergeWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/mergeAll.js");r.mergeWith=function(...t){return r=>new s.Observable((e=>{(0,n.mergeAll)()((0,s.from)([r,...t])).subscribe(e)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/min.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.min=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.min=function(t){return(0,s.reduce)((0,n.isFunction)(t)?(r,e)=>t(r,e)<0?r:e:(t,r)=>t<r?t:r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/observeOn.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.observeOn=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.observeOn=function(t,r=0){return e=>new n.Observable((o=>{e.subscribe((0,n.operate)({destination:o,next:e=>(0,s.executeSchedule)(o,t,(()=>o.next(e)),r),error:e=>(0,s.executeSchedule)(o,t,(()=>o.error(e)),r),complete:()=>(0,s.executeSchedule)(o,t,(()=>o.complete()),r)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/onErrorResumeNextWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.onErrorResumeNextWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/onErrorResumeNext.js");r.onErrorResumeNextWith=function(...t){const r=(0,s.argsOrArgArray)(t);return t=>(0,n.onErrorResumeNext)(t,...r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/pairwise.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.pairwise=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.pairwise=function(){return t=>new s.Observable((r=>{let e,n=!1;t.subscribe((0,s.operate)({destination:r,next:t=>{const s=e;e=t,n&&r.next([s,t]),n=!0}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/raceWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.raceWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/race.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");r.raceWith=function(...t){return t.length?r=>new n.Observable((e=>{(0,s.raceInit)([r,...t])(e)})):o.identity}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.reduce=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/scanInternals.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.reduce=function(t,r){const e=arguments.length>=2;return o=>new n.Observable((n=>(0,s.scanInternals)(t,r,e,!1,!0,o,n)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/repeat.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.repeat=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.repeat=function(t){let r,e=1/0;return null!=t&&("object"==typeof t?({count:e=1/0,delay:r}=t):e=t),e<=0?()=>n.EMPTY:t=>new s.Observable((n=>{let i,a=0;const u=()=>{if(i?.unsubscribe(),i=null,null!=r){const t="number"==typeof r?(0,o.timer)(r):(0,s.from)(r(a)),e=(0,s.operate)({destination:n,next:()=>{e.unsubscribe(),l()}});t.subscribe(e)}else l()},l=()=>{let r=!1;i=t.subscribe((0,s.operate)({destination:n,complete:()=>{++a<e?i?u():r=!0:n.complete()}})),r&&u()};l()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/repeatWhen.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.repeatWhen=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");r.repeatWhen=function(t){return r=>new s.Observable((e=>{let o,i,a=!1,u=!1,l=!1;const c=()=>l&&u&&(e.complete(),!0),m=()=>{l=!1,o=r.subscribe((0,s.operate)({destination:e,complete:()=>{l=!0,!c()&&(i||(i=new n.Subject,(0,s.from)(t(i)).subscribe((0,s.operate)({destination:e,next:()=>{o?m():a=!0},complete:()=>{u=!0,c()}}))),i).next()}})),a&&(o.unsubscribe(),o=null,a=!1,m())};m()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/retry.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.retry=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.retry=function(t=1/0){let r;r=t&&"object"==typeof t?t:{count:t};const{count:e=1/0,delay:i,resetOnSuccess:a=!1}=r;return e<=0?n.identity:t=>new s.Observable((r=>{let n,u=0;const l=()=>{let c=!1;n=t.subscribe((0,s.operate)({destination:r,next:t=>{a&&(u=0),r.next(t)},error:t=>{if(u++<e){const e=()=>{n?(n.unsubscribe(),n=null,l()):c=!0};if(null!=i){const n="number"==typeof i?(0,o.timer)(i):(0,s.from)(i(t,u)),a=(0,s.operate)({destination:r,next:()=>{a.unsubscribe(),e()},complete:()=>{r.complete()}});n.subscribe(a)}else e()}else r.error(t)}})),c&&(n.unsubscribe(),n=null,l())};l()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/retryWhen.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.retryWhen=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");r.retryWhen=function(t){return r=>new s.Observable((e=>{let o,i,a=!1;const u=()=>{o=r.subscribe((0,s.operate)({destination:e,error:r=>{i||(i=new n.Subject,(0,s.from)(t(i)).subscribe((0,s.operate)({destination:e,next:()=>o?u():a=!0}))),i&&i.next(r)}})),a&&(o.unsubscribe(),o=null,a=!1,u())};u()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sample.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.sample=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.sample=function(t){return r=>new s.Observable((e=>{let o=!1,i=null;r.subscribe((0,s.operate)({destination:e,next:t=>{o=!0,i=t}})),(0,s.from)(t).subscribe((0,s.operate)({destination:e,next:()=>{if(o){o=!1;const t=i;i=null,e.next(t)}},complete:n.noop}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sampleTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.sampleTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sample.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/interval.js");r.sampleTime=function(t,r=s.asyncScheduler){return(0,n.sample)((0,o.interval)(t,r))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/scan.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scan=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/scanInternals.js");r.scan=function(t,r){const e=arguments.length>=2;return o=>new s.Observable((s=>(0,n.scanInternals)(t,r,e,!0,!1,o,s)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/scanInternals.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scanInternals=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.scanInternals=function(t,r,e,n,o,i,a){let u=e,l=r,c=0;i.subscribe((0,s.operate)({destination:a,next:r=>{const e=c++;l=u?t(l,r,e):(u=!0,r),n&&a.next(l)},complete:o?()=>{u&&a.next(l),a.complete()}:void 0}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/sequenceEqual.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.sequenceEqual=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.sequenceEqual=function(t,r=(t,r)=>t===r){return e=>new s.Observable((n=>{const o={buffer:[],complete:!1},i={buffer:[],complete:!1},a=t=>{n.next(t),n.complete()},u=(t,e)=>{const o=(0,s.operate)({destination:n,next:s=>{const{buffer:n,complete:o}=e;0===n.length?o?a(!1):t.buffer.push(s):!r(s,n.shift())&&a(!1)},complete:()=>{t.complete=!0;const{complete:r,buffer:s}=e;r&&a(0===s.length),o?.unsubscribe()}});return o};e.subscribe(u(o,i)),(0,s.from)(t).subscribe(u(i,o))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/share.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.share=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");function o(t,r,...e){if(!0===r)return void t();if(!1===r)return;const n=new s.Subscriber({next:()=>{n.unsubscribe(),t()}});return(0,s.from)(r(...e)).subscribe(n)}r.share=function(t={}){const{connector:r=()=>new n.Subject,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:a=!0}=t;return t=>{let n,u,l,c=0,m=!1,d=!1;const p=()=>{u?.unsubscribe(),u=void 0},f=()=>{p(),n=l=void 0,m=d=!1},h=()=>{const t=n;f(),t?.unsubscribe()};return new s.Observable((_=>{c++,d||m||p();const g=l=l??r();_.add((()=>{c--,0!==c||d||m||(u=o(h,a))})),g.subscribe(_),!n&&c>0&&(n=new s.Subscriber({next:t=>g.next(t),error:t=>{d=!0,p(),u=o(f,e,t),g.error(t)},complete:()=>{m=!0,p(),u=o(f,i),g.complete()}}),(0,s.from)(t).subscribe(n))}))}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/shareReplay.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.shareReplay=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/ReplaySubject.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/share.js");r.shareReplay=function(t,r,e){let o,i=!1;return t&&"object"==typeof t?({bufferSize:o=1/0,windowTime:r=1/0,refCount:i=!1,scheduler:e}=t):o=t??1/0,(0,n.share)({connector:()=>new s.ReplaySubject(o,r,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/single.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.single=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/SequenceError.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/NotFoundError.js");r.single=function(t){return r=>new s.Observable((e=>{let a,u=!1,l=!1,c=0;r.subscribe((0,s.operate)({destination:e,next:s=>{l=!0,t&&!t(s,c++,r)||(u&&e.error(new o.SequenceError("Too many matching values")),u=!0,a=s)},complete:()=>{u?(e.next(a),e.complete()):e.error(l?new i.NotFoundError("No matching values"):new n.EmptyError)}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skip.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.skip=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/filter.js");r.skip=function(t){return(0,s.filter)(((r,e)=>t<=e))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipLast.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.skipLast=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.skipLast=function(t){return t<=0?s.identity:r=>new n.Observable((e=>{let s=new Array(t),o=0;return r.subscribe((0,n.operate)({destination:e,next:r=>{const n=o++;if(n<t)s[n]=r;else{const o=n%t,i=s[o];s[o]=r,e.next(i)}}})),()=>{s=null}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipUntil.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.skipUntil=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.skipUntil=function(t){return r=>new s.Observable((e=>{let o=!1;const i=(0,s.operate)({destination:e,next:()=>{i?.unsubscribe(),o=!0},complete:n.noop});(0,s.from)(t).subscribe(i),r.subscribe((0,s.operate)({destination:e,next:t=>o&&e.next(t)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/skipWhile.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.skipWhile=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.skipWhile=function(t){return r=>new s.Observable((e=>{let n=!1,o=0;r.subscribe((0,s.operate)({destination:e,next:r=>(n||(n=!t(r,o++)))&&e.next(r)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/startWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.startWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.startWith=function(...t){return r=>new s.Observable((e=>{(0,s.subscribeToArray)(t,(0,s.operate)({destination:e,complete:()=>r.subscribe(e)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/subscribeOn.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.subscribeOn=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.subscribeOn=function(t,r=0){return e=>new s.Observable((s=>{s.add(t.schedule((()=>e.subscribe(s)),r))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.switchAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");r.switchAll=function(){return(0,s.switchMap)(n.identity)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.switchMap=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.switchMap=function(t){return r=>new s.Observable((e=>{let n=null,o=0,i=!1;const a=()=>i&&!n&&e.complete();r.subscribe((0,s.operate)({destination:e,next:r=>{n?.unsubscribe();const i=o++;(0,s.from)(t(r,i)).subscribe(n=(0,s.operate)({destination:e,complete:()=>{n=null,a()}}))},complete:()=>{i=!0,a()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMapTo.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.switchMapTo=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js");r.switchMapTo=function(t){return(0,s.switchMap)((()=>t))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchScan.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.switchScan=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.switchScan=function(t,r){return e=>new n.Observable((o=>{let i=r;return(0,s.switchMap)(((r,e)=>t(i,r,e)))(e).subscribe((0,n.operate)({destination:o,next:t=>{i=t,o.next(t)}})),()=>{i=null}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/take.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.take=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.take=function(t){return t<=0?()=>s.EMPTY:r=>new n.Observable((e=>{let s=0;const o=(0,n.operate)({destination:e,next:r=>{++s<t?e.next(r):(o.unsubscribe(),e.next(r),e.complete())}});r.subscribe(o)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeLast.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.takeLast=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/empty.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.takeLast=function(t){return t<=0?()=>s.EMPTY:r=>new n.Observable((e=>{let s=new Array(t),o=0;r.subscribe((0,n.operate)({destination:e,next:r=>{s[o++%t]=r},complete:()=>{const r=t<=o?o:0,n=Math.min(t,o);for(let o=0;o<n;o++)e.next(s[(r+o)%t]);e.complete()},finalize:()=>{s=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeUntil.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.takeUntil=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.takeUntil=function(t){return r=>new s.Observable((e=>{(0,s.from)(t).subscribe((0,s.operate)({destination:e,next:()=>e.complete(),complete:n.noop})),!e.closed&&r.subscribe(e)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/takeWhile.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.takeWhile=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.takeWhile=function(t,r=!1){return e=>new s.Observable((n=>{let o=0;const i=(0,s.operate)({destination:n,next:e=>{t(e,o++)?n.next(e):(i.unsubscribe(),r&&n.next(e),n.complete())}});e.subscribe(i)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/tap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.tap=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js");r.tap=function(t){const r=(0,s.isFunction)(t)?{next:t}:t;return r?t=>new s.Observable((e=>{r.subscribe?.();let n=!0;t.subscribe((0,s.operate)({destination:e,next:t=>{r.next?.(t),e.next(t)},error:t=>{n=!1,r.error?.(t),e.error(t)},complete:()=>{n=!1,r.complete?.(),e.complete()},finalize:()=>{n&&r.unsubscribe?.(),r.finalize?.()}}))})):n.identity}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throttle.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.throttle=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.throttle=function(t,r){return e=>new s.Observable((n=>{const{leading:o=!0,trailing:i=!1}=r??{};let a=!1,u=null,l=null,c=!1;const m=()=>{l?.unsubscribe(),l=null,i&&(f(),c&&n.complete())},d=()=>{l=null,c&&n.complete()},p=r=>l=(0,s.from)(t(r)).subscribe((0,s.operate)({destination:n,next:m,complete:d})),f=()=>{if(a){a=!1;const t=u;u=null,n.next(t),!c&&p(t)}};e.subscribe((0,s.operate)({destination:n,next:t=>{a=!0,u=t,(!l||l.closed)&&(o?f():p(t))},complete:()=>{c=!0,(!(i&&a&&l)||l.closed)&&n.complete()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throttleTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.throttleTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throttle.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/timer.js");r.throttleTime=function(t,r=s.asyncScheduler,e){const i=(0,o.timer)(t,r);return(0,n.throttle)((()=>i),e)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/throwIfEmpty.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.throwIfEmpty=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");function o(){return new s.EmptyError}r.throwIfEmpty=function(t=o){return r=>new n.Observable((e=>{let s=!1;r.subscribe((0,n.operate)({destination:e,next:t=>{s=!0,e.next(t)},complete:()=>s?e.complete():e.error(t())}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeInterval.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.TimeInterval=r.timeInterval=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.timeInterval=function(t=s.asyncScheduler){return r=>new n.Observable((e=>{let s=t.now();r.subscribe((0,n.operate)({destination:e,next:r=>{const n=t.now(),i=n-s;s=n,e.next(new o(r,i))}}))}))};class o{value;interval;constructor(t,r){this.value=t,this.interval=r}}r.TimeInterval=o},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeout.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.timeout=r.TimeoutError=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isDate.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");class a extends Error{info;constructor(t=null){super("Timeout has occurred"),this.info=t,this.name="TimeoutError"}}function u(t){throw new a(t)}r.TimeoutError=a,r.timeout=function(t,r){const{first:e,each:a,with:l=u,scheduler:c=r??s.asyncScheduler,meta:m=null}=(0,n.isValidDate)(t)?{first:t}:"number"==typeof t?{each:t}:t;if(null==e&&null==a)throw new TypeError("No timeout provided.");return t=>new o.Observable((r=>{let s,n,u=null,d=0;const p=t=>{n=(0,i.executeSchedule)(r,c,(()=>{try{s.unsubscribe(),(0,o.from)(l({meta:m,lastValue:u,seen:d})).subscribe(r)}catch(t){r.error(t)}}),t)};s=t.subscribe((0,o.operate)({destination:r,next:t=>{n?.unsubscribe(),d++,r.next(u=t),a>0&&p(a)},finalize:()=>{n?.unsubscribe(),u=null}})),!d&&p(null!=e?"number"==typeof e?e:+e-c.now():a)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeoutWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.timeoutWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isDate.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timeout.js");r.timeoutWith=function(t,r,e){let i,a,u;if(e=e??s.asyncScheduler,(0,n.isValidDate)(t)?i=t:"number"==typeof t&&(a=t),!r)throw new TypeError("No observable provided to switch to");if(u=()=>r,null==i&&null==a)throw new TypeError("No timeout provided.");return(0,o.timeout)({first:i,each:a,scheduler:e,with:u})}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/timestamp.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.timestamp=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/dateTimestampProvider.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js");r.timestamp=function(t=s.dateTimestampProvider){return(0,n.map)((r=>({value:r,timestamp:t.now()})))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/toArray.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.toArray=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/reduce.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=(t,r)=>(t.push(r),t);r.toArray=function(){return t=>new n.Observable((r=>{(0,s.reduce)(o,[])(t).subscribe(r)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/window.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.window=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.window=function(t){return r=>new s.Observable((e=>{let i=new n.Subject;e.next(i.asObservable());const a=t=>{i.error(t),e.error(t)};return r.subscribe((0,s.operate)({destination:e,next:t=>i?.next(t),complete:()=>{i.complete(),e.complete()},error:a})),(0,s.from)(t).subscribe((0,s.operate)({destination:e,next:()=>{i.complete(),e.next(i=new n.Subject)},complete:o.noop,error:a})),()=>{i?.unsubscribe(),i=null}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowCount.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.windowCount=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js");r.windowCount=function(t,r=0){const e=r>0?r:t;return r=>new s.Observable((o=>{let i=[new n.Subject],a=[],u=0;o.next(i[0].asObservable()),r.subscribe((0,s.operate)({destination:o,next:r=>{for(const t of i)t.next(r);const s=u-t+1;if(s>=0&&s%e==0&&i.shift().complete(),++u%e==0){const t=new n.Subject;i.push(t),o.next(t.asObservable())}},error:t=>{for(;i.length>0;)i.shift().error(t);o.error(t)},complete:()=>{for(;i.length>0;)i.shift().complete();o.complete()},finalize:()=>{a=null,i=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowTime.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.windowTime=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"),u=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.windowTime=function(t,...r){const e=(0,a.popScheduler)(r)??n.asyncScheduler,l=r[0]??null,c=r[1]||1/0;return r=>new o.Observable((n=>{let a=[],m=!1;const d=t=>{const{window:r,subs:e}=t;r.complete(),e.unsubscribe(),(0,i.arrRemove)(a,t),m&&p()},p=()=>{if(a){const r=new o.Subscription;n.add(r);const i=new s.Subject,l={window:i,subs:r,seen:0};a.push(l),n.next(i.asObservable()),(0,u.executeSchedule)(r,e,(()=>d(l)),t)}};null!==l&&l>=0?(0,u.executeSchedule)(n,e,p,l,!0):m=!0,p();const f=t=>a.slice().forEach(t),h=t=>{f((({window:r})=>t(r))),t(n),n.unsubscribe()};return r.subscribe((0,o.operate)({destination:n,next:t=>{f((r=>{r.window.next(t),c<=++r.seen&&d(r)}))},error:t=>h((r=>r.error(t))),complete:()=>h((t=>t.complete()))})),()=>{a=null}}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowToggle.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.windowToggle=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js");r.windowToggle=function(t,r){return e=>new s.Observable((a=>{const u=[],l=t=>{for(;0<u.length;)u.shift().error(t);a.error(t)};(0,s.from)(t).subscribe((0,s.operate)({destination:a,next:t=>{const e=new n.Subject;u.push(e);const c=new s.Subscription;let m;try{m=(0,s.from)(r(t))}catch(t){return void l(t)}a.next(e),c.add(m.subscribe((0,s.operate)({destination:a,next:()=>{(0,i.arrRemove)(u,e),e.complete(),c.unsubscribe()},error:l,complete:o.noop})))},complete:o.noop})),e.subscribe((0,s.operate)({destination:a,next:t=>{const r=u.slice();for(const e of r)e.next(t)},error:l,complete:()=>{for(;0<u.length;)u.shift().complete();a.complete()},finalize:()=>{for(;0<u.length;)u.shift().unsubscribe()}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/windowWhen.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.windowWhen=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Subject.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js");r.windowWhen=function(t){return r=>new s.Observable((e=>{let i,a;const u=t=>{i.error(t),e.error(t)},l=()=>{let r;a?.unsubscribe(),i?.complete(),i=new n.Subject,e.next(i.asObservable());try{r=(0,s.from)(t())}catch(t){return void u(t)}r.subscribe(a=(0,s.operate)({destination:e,next:l,error:u,complete:o.noop}))};l(),r.subscribe((0,s.operate)({destination:e,next:t=>i.next(t),error:u,complete:()=>{i.complete(),e.complete()},finalize:()=>{a?.unsubscribe(),i=null}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/withLatestFrom.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.withLatestFrom=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js");r.withLatestFrom=function(...t){const r=(0,i.popResultSelector)(t);return e=>new s.Observable((i=>{const a=t.length,u=new Array(a);let l=t.map((()=>!1)),c=!1;for(let r=0;r<a;r++)(0,s.from)(t[r]).subscribe((0,s.operate)({destination:i,next:t=>{u[r]=t,c||l[r]||(l[r]=!0,(c=l.every(n.identity))&&(l=null))},complete:o.noop}));e.subscribe((0,s.operate)({destination:i,next:t=>{if(c){const e=[t,...u];i.next(r?r(...e):e)}}}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/zipAll.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.zipAll=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/zip.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/joinAllInternals.js");r.zipAll=function(t){return(0,n.joinAllInternals)(s.zip,t)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/zipWith.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.zipWith=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/observable/zip.js");r.zipWith=function(...t){return r=>new s.Observable((e=>{(0,n.zip)(r,...t).subscribe(e)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleArray.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleArray=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.scheduleArray=function(t,r){return new s.Observable((e=>{let s=0;const o=()=>{s===t.length?e.complete():(e.next(t[s++]),(0,n.executeSchedule)(e,r,o))};return(0,n.executeSchedule)(e,r,o)}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleAsyncIterable.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleAsyncIterable=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.scheduleAsyncIterable=function(t,r){if(!t)throw new Error("Iterable cannot be null");return new s.Observable((e=>{(0,n.executeSchedule)(e,r,(()=>{const s=t[Symbol.asyncIterator]();(0,n.executeSchedule)(e,r,(()=>{s.next().then((t=>{t.done?e.complete():e.next(t.value)}))}),0,!0)}))}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleIterable.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleIterable=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/symbol/iterator.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js");r.scheduleIterable=function(t,r){return new s.Observable((e=>{let i;return(0,o.executeSchedule)(e,r,(()=>{i=t[n.iterator](),(0,o.executeSchedule)(e,r,(()=>{let t,r;try{({value:t,done:r}=i.next())}catch(t){return void e.error(t)}r?e.complete():e.next(t)}),0,!0)})),()=>(0,s.isFunction)(i?.return)&&i.return()}))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleObservable.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleObservable=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/observeOn.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/subscribeOn.js");r.scheduleObservable=function(t,r){return(0,s.from)(t).pipe((0,o.subscribeOn)(r),(0,n.observeOn)(r))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/schedulePromise.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.schedulePromise=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/observeOn.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/subscribeOn.js");r.schedulePromise=function(t,r){return(0,s.from)(t).pipe((0,o.subscribeOn)(r),(0,n.observeOn)(r))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleReadableStreamLike.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduleReadableStreamLike=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleAsyncIterable.js");r.scheduleReadableStreamLike=function(t,r){return(0,n.scheduleAsyncIterable)((0,s.readableStreamLikeToAsyncGenerator)(t),r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.scheduled=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleObservable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/schedulePromise.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleArray.js"),i=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleIterable.js"),a=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleAsyncIterable.js"),u=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),l=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduled/scheduleReadableStreamLike.js");r.scheduled=function(t,r){switch((0,u.getObservableInputType)(t)){case u.ObservableInputType.Own:case u.ObservableInputType.InteropObservable:return(0,s.scheduleObservable)(t,r);case u.ObservableInputType.Promise:return(0,n.schedulePromise)(t,r);case u.ObservableInputType.ArrayLike:return(0,o.scheduleArray)(t,r);case u.ObservableInputType.Iterable:return(0,i.scheduleIterable)(t,r);case u.ObservableInputType.AsyncIterable:return(0,a.scheduleAsyncIterable)(t,r);case u.ObservableInputType.ReadableStreamLike:return(0,l.scheduleReadableStreamLike)(t,r)}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/Action.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.Action=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");class n extends s.Subscription{constructor(t,r){super()}schedule(t,r=0){return this}}r.Action=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameAction.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AnimationFrameAction=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/animationFrameProvider.js");class o extends s.AsyncAction{scheduler;work;constructor(t,r){super(t,r),this.scheduler=t,this.work=r}requestAsyncId(t,r,e=0){return null!==e&&e>0?super.requestAsyncId(t,r,e):(t.actions.push(this),t._scheduled||(t._scheduled=n.animationFrameProvider.requestAnimationFrame((()=>t.flush(void 0)))))}recycleAsyncId(t,r,e=0){if(null!=e?e>0:this.delay>0)return super.recycleAsyncId(t,r,e);const{actions:s}=t;null!=r&&s[s.length-1]?.id!==r&&(n.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)}}r.AnimationFrameAction=o},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AnimationFrameScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js");class n extends s.AsyncScheduler{flush(t){this._active=!0;const r=this._scheduled;this._scheduled=void 0;const{actions:e}=this;let s;t=t||e.shift();do{if(s=t.execute(t.state,t.delay))break}while((t=e[0])&&t.id===r&&e.shift());if(this._active=!1,s){for(;(t=e[0])&&t.id===r&&e.shift();)t.unsubscribe();throw s}}}r.AnimationFrameScheduler=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsapAction.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AsapAction=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/immediateProvider.js");class o extends s.AsyncAction{scheduler;work;constructor(t,r){super(t,r),this.scheduler=t,this.work=r}requestAsyncId(t,r,e=0){return null!==e&&e>0?super.requestAsyncId(t,r,e):(t.actions.push(this),t._scheduled||(t._scheduled=n.immediateProvider.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,r,e=0){if(null!=e?e>0:this.delay>0)return super.recycleAsyncId(t,r,e);const{actions:s}=t;null!=r&&s[s.length-1]?.id!==r&&(n.immediateProvider.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))}}r.AsapAction=o},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsapScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AsapScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js");class n extends s.AsyncScheduler{flush(t){this._active=!0;const r=this._scheduled;this._scheduled=void 0;const{actions:e}=this;let s;t=t||e.shift();do{if(s=t.execute(t.state,t.delay))break}while((t=e[0])&&t.id===r&&e.shift());if(this._active=!1,s){for(;(t=e[0])&&t.id===r&&e.shift();)t.unsubscribe();throw s}}}r.AsapScheduler=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncAction=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/Action.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/intervalProvider.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js");class i extends s.Action{scheduler;work;id;state;delay;pending=!1;constructor(t,r){super(t,r),this.scheduler=t,this.work=r}schedule(t,r=0){if(this.closed)return this;this.state=t;const e=this.id,s=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(s,e,r)),this.pending=!0,this.delay=r,this.id=this.id??this.requestAsyncId(s,this.id,r),this}requestAsyncId(t,r,e=0){return n.intervalProvider.setInterval(t.flush.bind(t,this),e)}recycleAsyncId(t,r,e=0){if(null!=e&&this.delay===e&&!1===this.pending)return r;null!=r&&n.intervalProvider.clearInterval(r)}execute(t,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const e=this._execute(t,r);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,r){let e,s=!1;try{this.work(t)}catch(t){s=!0,e=t||new Error("Scheduled action threw falsy error")}if(s)return this.unsubscribe(),e}unsubscribe(){if(!this.closed){const{id:t,scheduler:r}=this,{actions:e}=r;this.work=this.state=this.scheduler=null,this.pending=!1,(0,o.arrRemove)(e,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,super.unsubscribe()}}}r.AsyncAction=i},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.AsyncScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Scheduler.js");class n extends s.Scheduler{actions=[];_active=!1;_scheduled;constructor(t,r=s.Scheduler.now){super(t,r)}flush(t){const{actions:r}=this;if(this._active)return void r.push(t);let e;this._active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=r.shift());if(this._active=!1,e){for(;t=r.shift();)t.unsubscribe();throw e}}}r.AsyncScheduler=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/QueueAction.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.QueueAction=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js");class n extends s.AsyncAction{scheduler;work;constructor(t,r){super(t,r),this.scheduler=t,this.work=r}schedule(t,r=0){return r>0?super.schedule(t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)}execute(t,r){return r>0||this.closed?super.execute(t,r):this._execute(t,r)}requestAsyncId(t,r,e=0){return null!=e&&e>0||null==e&&this.delay>0?super.requestAsyncId(t,r,e):(t.flush(this),0)}}r.QueueAction=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/QueueScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.QueueScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js");class n extends s.AsyncScheduler{}r.QueueScheduler=n},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/VirtualTimeScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.VirtualAction=r.VirtualTimeScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),o=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js");class i extends o.AsyncScheduler{maxFrames;static frameTimeFactor=10;frame=0;index=-1;constructor(t=a,r=1/0){super(t,(()=>this.frame)),this.maxFrames=r}flush(){const{actions:t,maxFrames:r}=this;let e,s;for(;(s=t[0])&&s.delay<=r&&(t.shift(),this.frame=s.delay,!(e=s.execute(s.state,s.delay))););if(e){for(;s=t.shift();)s.unsubscribe();throw e}}}r.VirtualTimeScheduler=i;class a extends s.AsyncAction{scheduler;work;index;active=!0;constructor(t,r,e=(t.index+=1)){super(t,r),this.scheduler=t,this.work=r,this.index=e,this.index=t.index=e}schedule(t,r=0){if(Number.isFinite(r)){if(!this.id)return super.schedule(t,r);this.active=!1;const e=new a(this.scheduler,this.work);return this.add(e),e.schedule(t,r)}return n.Subscription.EMPTY}requestAsyncId(t,r,e=0){this.delay=t.frame+e;const{actions:s}=t;return s.push(this),s.sort(a.sortActions),1}recycleAsyncId(t,r,e=0){}_execute(t,r){if(!0===this.active)return super._execute(t,r)}static sortActions(t,r){return t.delay===r.delay?t.index===r.index?0:t.index>r.index?1:-1:t.delay>r.delay?1:-1}}r.VirtualAction=a},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/animationFrame.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrameScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AnimationFrameScheduler.js");r.animationFrameScheduler=new n.AnimationFrameScheduler(s.AnimationFrameAction)},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/animationFrameProvider.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.animationFrameProvider=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.animationFrameProvider={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:o}=r.animationFrameProvider;o&&(e=o.requestAnimationFrame,n=o.cancelAnimationFrame);const i=e((r=>{n=void 0,t(r)}));return new s.Subscription((()=>n?.(i)))},requestAnimationFrame(...t){const{delegate:e}=r.animationFrameProvider;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:e}=r.animationFrameProvider;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/asap.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.asapScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsapAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsapScheduler.js");r.asapScheduler=new n.AsapScheduler(s.AsapAction)},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/async.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.asyncScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js");r.asyncScheduler=new n.AsyncScheduler(s.AsyncAction)},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/dateTimestampProvider.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.dateTimestampProvider=void 0,r.dateTimestampProvider={now:()=>(r.dateTimestampProvider.delegate||Date).now(),delegate:void 0}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/immediateProvider.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.immediateProvider=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/Immediate.js"),{setImmediate:n,clearImmediate:o}=s.Immediate;r.immediateProvider={setImmediate(...t){const{delegate:e}=r.immediateProvider;return(e?.setImmediate||n)(...t)},clearImmediate(t){const{delegate:e}=r.immediateProvider;return(e?.clearImmediate||o)(t)},delegate:void 0}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/intervalProvider.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.intervalProvider=void 0,r.intervalProvider={setInterval(t,e,...s){const{delegate:n}=r.intervalProvider;return n?.setInterval?n.setInterval(t,e,...s):setInterval(t,e,...s)},clearInterval(t){const{delegate:e}=r.intervalProvider;return(e?.clearInterval||clearInterval)(t)},delegate:void 0}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/performanceTimestampProvider.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.performanceTimestampProvider=void 0,r.performanceTimestampProvider={now:()=>(r.performanceTimestampProvider.delegate||performance).now(),delegate:void 0}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/queue.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.queueScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/QueueAction.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/scheduler/QueueScheduler.js");r.queueScheduler=new n.QueueScheduler(s.QueueAction)},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/symbol/iterator.js"(t,r){function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(r,"__esModule",{value:!0}),r.iterator=r.getSymbolIterator=void 0,r.getSymbolIterator=e,r.iterator=e()},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/types.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0})},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/ArgumentOutOfRangeError.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ArgumentOutOfRangeError=void 0;class e extends Error{constructor(){super("argument out of range"),this.name="ArgumentOutOfRangeError"}}r.ArgumentOutOfRangeError=e},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/EmptyError.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EmptyError=void 0;class e extends Error{constructor(){super("no elements in sequence"),this.name="EmptyError"}}r.EmptyError=e},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/Immediate.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.TestTools=r.Immediate=void 0;let e,s=1;const n={};function o(t){return t in n&&(delete n[t],!0)}r.Immediate={setImmediate(t){const r=s++;return n[r]=!0,e||(e=Promise.resolve()),e.then((()=>o(r)&&t())),r},clearImmediate(t){o(t)}},r.TestTools={pending:()=>Object.keys(n).length}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/NotFoundError.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.NotFoundError=void 0;class e extends Error{constructor(t){super(t),this.name="NotFoundError"}}r.NotFoundError=e},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/SequenceError.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.SequenceError=void 0;class e extends Error{constructor(t){super(t),this.name="SequenceError"}}r.SequenceError=e},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/args.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.popNumber=r.popScheduler=r.popResultSelector=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js"),n=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isScheduler.js");function o(t){return t[t.length-1]}r.popResultSelector=function(t){return(0,s.isFunction)(o(t))?t.pop():void 0},r.popScheduler=function(t){return(0,n.isScheduler)(o(t))?t.pop():void 0},r.popNumber=function(t,r){return"number"==typeof o(t)?t.pop():r}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsArgArrayOrObject.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.arrayOrObject=r.argsArgArrayOrObject=void 0;const{isArray:e}=Array,{getPrototypeOf:s,prototype:n,keys:o}=Object;function i(t){if(e(t))return{args:t,keys:null};if((r=t)&&"object"==typeof r&&s(r)===n){const r=o(t);return{args:r.map((r=>t[r])),keys:r}}var r;return null}r.argsArgArrayOrObject=function(t){if(1===t.length){const r=i(t[0]);if(r)return r}return{args:t,keys:null}},r.arrayOrObject=i},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/argsOrArgArray.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.argsOrArgArray=void 0;const{isArray:e}=Array;r.argsOrArgArray=function(t){return 1===t.length&&e(t[0])?t[0]:t}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/arrRemove.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.arrRemove=void 0,r.arrRemove=function(t,r){if(t){const e=t.indexOf(r);0<=e&&t.splice(e,1)}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/createObject.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.createObject=void 0,r.createObject=function(t,r){return t.reduce(((t,e,s)=>(t[e]=r[s],t)),{})}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.executeSchedule=void 0,r.executeSchedule=function(t,r,e,s=0,n=!1){if(!t.closed){const o=r.schedule((function(){e(),n?t.add(this.schedule(null,s)):this.unsubscribe()}),s);if(t.add(o),!n)return o}}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/identity.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.identity=void 0,r.identity=function(t){return t}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isDate.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isValidDate=void 0,r.isValidDate=function(t){return t instanceof Date&&!isNaN(t)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/isScheduler.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.isScheduler=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");r.isScheduler=function(t){return t&&(0,s.isFunction)(t.schedule)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/mapOneOrManyArgs.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.mapOneOrManyArgs=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/operators/map.js"),{isArray:n}=Array;r.mapOneOrManyArgs=function(t){return(0,s.map)((r=>function(t,r){return n(r)?t(...r):t(r)}(t,r)))}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/noop.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.noop=void 0,r.noop=function(){}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/not.js"(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.not=void 0,r.not=function(t,r){return(e,s)=>!t.call(r,e,s)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/pipe.js"(t,r){function e(t,r){return r(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.pipe=void 0,r.pipe=function(...t){return 1===t.length?t[0]:r=>t.reduce(e,r)}},"../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/util/rx.js"(t,r,e){Object.defineProperty(r,"__esModule",{value:!0}),r.rx=void 0;const s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/internal/Observable.js");function n(t,r){return r(t)}r.rx=function(t,...r){return r.reduce(n,(0,s.from)(t))}},"bun:sqlite"(t){t.exports=import("bun:sqlite")},"node:sqlite"(t){t.exports=import("node:sqlite")},"@bufbuild/protobuf"(r,e,s){var n,o;r.exports=(n={Message:()=>t.Message,Struct:()=>t.Struct,Timestamp:()=>t.Timestamp,Value:()=>t.Value,proto3:()=>t.proto3,protoInt64:()=>t.protoInt64},o={},s.d(o,n),o)},"node:async_hooks"(t,e,s){var n,o;t.exports=(n={AsyncLocalStorage:()=>r.AsyncLocalStorage},o={},s.d(o,n),o)},"node:crypto?8af2"(t,r,s){var n,o;t.exports=(n={createHash:()=>e.createHash,randomUUID:()=>e.randomUUID},o={},s.d(o,n),o)},"node:fs"(t,r,e){var n,o;t.exports=(n={chmodSync:()=>s.chmodSync,closeSync:()=>s.closeSync,existsSync:()=>s.existsSync,mkdirSync:()=>s.mkdirSync,openSync:()=>s.openSync,readSync:()=>s.readSync,renameSync:()=>s.renameSync,rmSync:()=>s.rmSync},o={},e.d(o,n),o)},"node:fs/promises"(t,r,e){var s,o;t.exports=(s={rm:()=>n.rm},o={},e.d(o,s),o)},"node:path"(t,r,e){var s,n;t.exports=(s={basename:()=>o.basename,dirname:()=>o.dirname,join:()=>o.join,win32:()=>o.win32},n={},e.d(n,s),n)},"zod/v4"(t,r,e){var s,n;t.exports=(s={boolean:()=>i.boolean,custom:()=>i.custom,enum:()=>i.enum,number:()=>i.number,object:()=>i.object,string:()=>i.string},n={},e.d(n,s),n)},"../agent-kv/dist/index.js"(t,r,e){e.d(r,{aY:()=>E,pH:()=>U,aD:()=>h,sh:()=>q,nj:()=>p});var s=e("../proto/dist/generated/agent/v1/agent_pb.js"),n=e("../proto/dist/generated/agent/v1/todo_tool_pb.js"),o=e("../utils/dist/disposable.js"),i=e("zod/v4"),a=e("../metrics/dist/index.js");const u=new TextDecoder,l=new TextEncoder,c=new class{serialize(t){return l.encode(t)}deserialize(t){return u.decode(t)}getBlobType(){return{kind:"string"}}};class m{constructor(t){this.proto=t}serialize(t){return t.toBinary()}deserialize(t){return this.proto.fromBinary(t)}getBlobType(){return{kind:"proto",typeName:this.proto.typeName}}}const d=Array.from({length:256},((t,r)=>r.toString(16).padStart(2,"0")));function p(t){if("undefined"!=typeof Buffer)return Buffer.from(t).toString("hex");let r="";for(let e=0;e<t.length;e++)r+=d[t[e]];return r}const f=/^[0-9a-f]*$/;function h(t){const r=t.trim().toLowerCase();if(r.length%2!=0)throw new Error("Invalid hex string length");if(r.length>=64&&"undefined"!=typeof Buffer){const t=function(t){if(f.test(t))try{const r=new Uint8Array(t.length/2);if(Buffer.from(r.buffer,r.byteOffset,r.byteLength).write(t,"hex")===r.length)return r}catch{}}(r);if(void 0!==t)return t}const e=new Uint8Array(r.length/2);for(let t=0;t<r.length;t+=2)e[t/2]=parseInt(r.slice(t,t+2),16);return e}function _(t){const r=t.buffer;return r instanceof ArrayBuffer?new Uint8Array(r,t.byteOffset,t.byteLength):new Uint8Array(t)}(0,a.v5)("agent_kv.in_memory.get_blob.duration_ms",{description:"Duration of InMemoryBlobStore getBlob operations in milliseconds"}),(0,a.v5)("agent_kv.in_memory.set_blob.duration_ms",{description:"Duration of InMemoryBlobStore setBlob operations in milliseconds"});var g=e("../context/dist/logger.js"),j=e("../utils/dist/promise-extras.js");const b=(0,g.h)("@anysphere/agent-kv:subagent-states"),y=(0,a.Pu)("agent_kv.subagent_state_ref.missing_blob",{description:"Subagent state refs whose blob was missing, counted per read until a checkpoint rewrites the ref. fallback=inline kept the entry saved beside the ref (usually a transcript-free summary), dropped omitted the subagent, superseded kept a newer in-memory state.",labelNames:["reader","fallback"]});function w(t,r){b.warn(t,"Subagent state ref blob not found; restoring without its transcript",r),y.increment(t,1,{reader:r.reader,fallback:r.fallback})}const x=["default","plan","debug","search"],J=["allowlist","unrestricted","auto-review"],S=/^[0-9a-f]+$/;function v(){const t=new Uint8Array(32);return crypto.getRandomValues(t),p(t)}let B=null;const q=t=>({agentId:t??crypto.randomUUID(),latestRootBlobId:new Uint8Array,name:"New Agent",mode:"default",isRunEverything:!1,approvalMode:void 0,createdAt:Date.now(),lastUsedModel:void 0,lastDebugServerPort:void 0,currentPlanUri:void 0,subagentInfo:void 0,blobEncryptionKey:v()}),P=new Set(x),I=new Set(J);function O(t,r){const e=function(t){return"object"==typeof t&&null!==t}(t)&&r in t?t[r]:void 0;return"string"==typeof e&&e.length>0?e:void 0}class E{serialize(t){const r=p(t.latestRootBlobId);return c.serialize(JSON.stringify({...t,latestRootBlobId:r}))}deserialize(t){const r=JSON.parse(c.deserialize(t)),e=q(r.agentId),s="string"==typeof r.latestRootBlobId?h(r.latestRootBlobId):e.latestRootBlobId;let n=!0===r.isRunEverything,o=r.mode;"auto-run"===o&&(o="default",n=!0);const a="string"==typeof o&&(u=o,P.has(u))?o:"default";var u;const l=r.approvalMode,m="string"==typeof l&&function(t){return I.has(t)}(l)?l:void 0,d=function(t){if(!t||"object"!=typeof t)return;const r=O(t,"parentAgentId"),e=O(t,"rootParentAgentId"),s=O(t,"toolCallId"),n=O(t,"typeName");return void 0!==r&&void 0!==e&&void 0!==s&&void 0!==n?{parentAgentId:r,rootParentAgentId:e,toolCallId:s,typeName:n}:void 0}(r.subagentInfo),p=function(t){return"string"==typeof t&&64===t.length&&S.test(t)}(r.blobEncryptionKey)?r.blobEncryptionKey:e.blobEncryptionKey;return(null===B&&(B=i.object({agentId:i.string(),latestRootBlobId:i.custom((t=>t instanceof Uint8Array),{error:"Expected Uint8Array"}),name:i.string(),createdAt:i.number(),mode:i.enum(x),isRunEverything:i.boolean(),approvalMode:i.enum(J).optional(),lastUsedModel:i.string().optional(),lastDebugServerPort:i.number().int().positive().optional(),currentPlanUri:i.string().optional(),subagentInfo:i.object({parentAgentId:i.string().min(1),rootParentAgentId:i.string().min(1),toolCallId:i.string().min(1),typeName:i.string().min(1)}).optional(),blobEncryptionKey:i.string().optional()})),B).parse({...e,...r,mode:a,isRunEverything:n,approvalMode:m,latestRootBlobId:s,subagentInfo:d,blobEncryptionKey:p})}getBlobType(){return{kind:"json"}}}const A=new m(n.kW),$=new m(s.RGk),k=new m(s.kJk),T=new m(s.cmU),C=new m(s.KRq),R=new m(s.oIR),M=new m(s.qKL);class U{constructor(t,r,e={}){this.blobStore=t,this.metadataStore=r,this.serde=new m(s.Y9z),this.conversationStateStructure=new s.Y9z,this.fixedRootBlobId=e.fixedRootBlobId}subscribeToMetadata(t,r){return this.metadataStore.subscribe(t,(()=>{r(this.metadataStore.get(t))}))}setMetadata(t,r){this.metadataStore.set(t,r)}getMetadata(t){return this.metadataStore.get(t)}getId(){return this.getMetadata("agentId")}getBlobStore(){return this.blobStore}getConversationStateStructure(){return this.conversationStateStructure}async getLastRequestIdFromConversation(t){const r=this.conversationStateStructure.turns;if(0===r.length)return null;for(let e=r.length-1;e>=0;e--){const s=r[e],n=await this.blobStore.getBlob(t,s);if(!n)continue;const o=T.deserialize(n);if("agentConversationTurn"===o.turn.case)return o.turn.value.requestId??null}return null}async getFullConversation(t){return this.deserializeConversationStateStructure(t,this.conversationStateStructure)}async deserializeConversationStateStructure(t,r){return async function(t,r,e){const n=new s.ljj,o=[],i=r.turns;for(const r of i){const n=await e.getBlob(t,r);if(!n)continue;const i=T.deserialize(n);let a;switch(i.turn.case){case"agentConversationTurn":{const r=i.turn.value,n=await e.getBlob(t,r.userMessage);if(!n)continue;const o=$.deserialize(n),u=[];for(const s of r.steps){const r=await e.getBlob(t,s);if(r){const t=k.deserialize(r);u.push(t)}}const l=new s.i9c({userMessage:o,steps:u});a=new s.j97({turn:{case:"agentConversationTurn",value:l}});break}case"shellConversationTurn":{const r=i.turn.value,n=await e.getBlob(t,r.shellCommand);if(!n)continue;const o=R.deserialize(n),u=await e.getBlob(t,r.shellOutput);if(!u)continue;const l=M.deserialize(u),c=new s.tms({shellCommand:o,shellOutput:l});a=new s.j97({turn:{case:"shellConversationTurn",value:c}});break}}a&&o.push(a)}n.turns=o;const a=[];for(const s of r.todos){const r=await e.getBlob(t,s);if(r){const t=A.deserialize(r);a.push(t)}}if(n.todos=a,r.summary){const s=await e.getBlob(t,r.summary);if(s){const t=C.deserialize(s);n.summary=t}}return n}(t,r,this.blobStore)}async getFullConversationWithSubagents(t){const r=this.conversationStateStructure,e=await this.deserializeConversationStateStructure(t,r),n={},o=await async function(t,r,e){const n={...r.subagentStates??{}},o=Object.entries(r.subagentStateRefs??{});if(0===o.length)return n;const i=await(0,j.PH)(o,(async([r,n])=>{const o=await e.getBlob(t,n);if(void 0===o)return{kind:"missing",subagentId:r,blobIdHex:p(n)};try{return{kind:"loaded",subagentId:r,state:s.aK_.fromBinary(o)}}catch(t){return{kind:"failed",error:t}}}),{max:8}),a=i.find((t=>"failed"===t.kind));if(void 0!==a&&"failed"===a.kind)throw a.error;for(const r of i)if("loaded"===r.kind)n[r.subagentId]=r.state;else if("missing"===r.kind){const e=void 0!==n[r.subagentId];w(t,{reader:"resolve",fallback:e?"inline":"dropped",subagentId:r.subagentId,blobIdHex:r.blobIdHex})}return n}(t,r,this.blobStore);for(const[r,e]of Object.entries(o))if(e.conversationState){const s=await this.deserializeConversationStateStructure(t,e.conversationState);n[r]={conversationState:s,createdTimestampMs:e.createdTimestampMs,lastUsedTimestampMs:e.lastUsedTimestampMs,subagentType:e.subagentType}}return{conversationState:e,subagentStates:n}}getLatestCheckpoint(){return this.getConversationStateStructure()}async handleCheckpoint(t,r){const e=this.serde.serialize(r),s=this.fixedRootBlobId??await async function(t){const r=await crypto.subtle.digest("SHA-256",_(t));return new Uint8Array(r)}(e);await this.blobStore.setBlob(t,s,e),this.setMetadata("latestRootBlobId",s),this.conversationStateStructure=r}async resetFromDb(t){await this.tryResetFromDb(t)}async tryResetFromDb(t){try{const r=this.getMetadata("latestRootBlobId");if(!r||0===r.length)return this.conversationStateStructure=new s.Y9z,!1;const e=await this.blobStore.getBlob(t,r);if(!e)return this.conversationStateStructure=new s.Y9z,!1;const n=this.serde.deserialize(e);return this.conversationStateStructure=n,!0}catch(t){return this.conversationStateStructure=new s.Y9z,!1}}async dispose(){this.blobStore instanceof o.j&&await this.blobStore.dispose()}}(0,e("../context/dist/core.js").cF)(Symbol("blob-read-kind"),void 0),Error,"function"==typeof SuppressedError&&SuppressedError,(0,g.h)("@anysphere/agent-kv"),(0,a.v5)("agent_kv.cached.get_blob.duration_ms",{description:"Duration of CachedBlobStore getBlob operations in milliseconds"}),(0,a.v5)("agent_kv.cached.set_blob.duration_ms",{description:"Duration of CachedBlobStore setBlob operations in milliseconds"}),(0,a.v5)("agent_kv.cached.flush.duration_ms",{description:"Duration of CachedBlobStore flush operations in milliseconds"}),(0,a.v5)("agent_kv.cached.cache_bytes",{description:"Resident bytes held in the CachedBlobStore in-memory cache, sampled on flush"}),(0,a.Pu)("agent_kv.cached.get_blob.results",{description:"Number of CachedBlobStore getBlob operations by cache result type",labelNames:["cache_type"]}),(0,a.Pu)("agent_kv.nearby.decrypt_errors",{description:"Number of nearby blob reads that found ciphertext but failed to decrypt it (wrong encryption key)"});const N=(0,a.Pu)("agent_kv.nearby.decrypt_fallback_success",{description:"Number of nearby blob reads where the primary encryption key failed but the fallback key decrypted the blob"}),L=(0,a.v5)("agent_kv.encrypted.get_blob.duration_ms",{description:"Duration of EncryptedBlobStore getBlob operations in milliseconds"}),D=(0,a.v5)("agent_kv.encrypted.set_blob.duration_ms",{description:"Duration of EncryptedBlobStore setBlob operations in milliseconds"});class F extends Error{constructor(t){super("Failed to decrypt nearby blob (encryption key mismatch)",{cause:t}),this.name="NearbyBlobDecryptError"}}class W{constructor(t,r,e=null){this.blobStore=t,this.encryptionKeyStr=r,this.fallbackDecryptKeyStr=e}static async deriveKey(t){const r=(new TextEncoder).encode(t),e=await crypto.subtle.digest("SHA-256",r);return crypto.subtle.importKey("raw",e,{name:W.ALGORITHM,length:256},!0,["encrypt","decrypt"])}async getEncryptionKey(){return void 0===this.encryptionKey&&(this.encryptionKey=await W.deriveKey(this.encryptionKeyStr)),this.encryptionKey}async getFallbackDecryptKey(){return null===this.fallbackDecryptKeyStr?null:(void 0===this.fallbackDecryptKey&&(this.fallbackDecryptKey=await W.deriveKey(this.fallbackDecryptKeyStr)),this.fallbackDecryptKey)}async getBlob(t,r){const e=performance.now();try{const e=await this.blobStore.getBlob(t,r);if(void 0===e)return;const s=e.slice(0,W.IV_LENGTH),n=e.slice(W.IV_LENGTH);let o;try{o=await crypto.subtle.decrypt({name:W.ALGORITHM,iv:s},await this.getEncryptionKey(),n)}catch(r){const e=await this.getFallbackDecryptKey();if(null===e)throw new F(r);try{o=await crypto.subtle.decrypt({name:W.ALGORITHM,iv:s},e,n),N.increment(t,1)}catch{throw new F(r)}}return new Uint8Array(o)}finally{const r=performance.now()-e;L.histogram(t,r)}}async encryptBlob(t){const r=crypto.getRandomValues(new Uint8Array(W.IV_LENGTH)),e=await crypto.subtle.encrypt({name:W.ALGORITHM,iv:r},await this.getEncryptionKey(),_(t)),s=new Uint8Array(r.length+e.byteLength);return s.set(r,0),s.set(new Uint8Array(e),r.length),s}async setBlob(t,r,e){const s=performance.now();try{const s=await this.encryptBlob(e);await this.blobStore.setBlob(t,r,s)}finally{const r=performance.now()-s;D.histogram(t,r)}}async setBlobLocallyOnly(t,r,e){const s=performance.now();try{const s=await this.encryptBlob(e);await this.blobStore.setBlobLocallyOnly(t,r,s)}finally{const r=performance.now()-s;D.histogram(t,r)}}async flush(t){return await this.blobStore.flush(t)}}W.ALGORITHM="AES-GCM",W.IV_LENGTH=12,"function"==typeof SuppressedError&&SuppressedError,(0,g.h)("ControlledKvManager"),(0,a.v5)("agent_kv.controlled.get_blob.duration_ms",{description:"Duration of ControlledKvManager getBlob operations in milliseconds"}),(0,a.v5)("agent_kv.controlled.set_blob.duration_ms",{description:"Duration of ControlledKvManager setBlob operations in milliseconds"}),"function"==typeof SuppressedError&&SuppressedError,(0,g.h)("@anysphere/agent-kv"),(0,a.v5)("agent_kv.writethrough.get_blob.duration_ms",{description:"Duration of WritethroughBlobStore getBlob operations in milliseconds"}),(0,a.v5)("agent_kv.writethrough.set_blob.duration_ms",{description:"Duration of WritethroughBlobStore setBlob operations in milliseconds"}),(0,a.v5)("agent_kv.writethrough.flush.duration_ms",{description:"Duration of WritethroughBlobStore flush operations in milliseconds"}),Symbol.for("anysphere.blobMetadataCallback"),(0,g.h)("@anysphere/agent-kv:reference"),(0,a.Pu)("agent_kv.lazy_reference.cache_miss",{description:"Number of large or slow LazyReference cache misses that require loading and deserializing a blob",labelNames:["blob_type"]}),(0,a.v5)("agent_kv.lazy_reference.deserialize_bytes",{description:"Blob byte size loaded on a large or slow LazyReference deserialize cache miss",labelNames:["blob_type"]}),(0,a.v5)("agent_kv.lazy_reference.deserialize_ms",{description:"Time spent deserializing a blob on a large or slow LazyReference cache miss",labelNames:["blob_type"]}),"function"==typeof SuppressedError&&SuppressedError,(0,g.h)("RetryBlobStore"),(0,a.Pu)("agent_kv.retry.retries",{description:"Number of RetryBlobStore retry attempts (one per re-issued operation, not counting the first try)",labelNames:["operation","outcome"]}),(0,a.v5)("agent_kv.retry.get_blob.duration_ms",{description:"Duration of RetryBlobStore getBlob operations in milliseconds"}),(0,a.v5)("agent_kv.retry.set_blob.duration_ms",{description:"Duration of RetryBlobStore setBlob operations in milliseconds"}),(0,a.v5)("agent_kv.retry.set_blob_locally_only.duration_ms",{description:"Duration of RetryBlobStore setBlobLocallyOnly operations in milliseconds"}),(0,a.v5)("agent_kv.retry.flush.duration_ms",{description:"Duration of RetryBlobStore flush operations in milliseconds"})},"../context/dist/core.js"(t,r,e){function s(t,r){return{symbol:t,defaultValue:r}}function n(t){const r=new AbortController;if(t.aborted)return r.abort(t.reason),{signal:r.signal,abort(t){r.abort(t)},unlink(){}};const e=()=>r.abort(t.reason);return t.addEventListener("abort",e,{once:!0}),{signal:r.signal,abort(s){t.removeEventListener("abort",e),r.abort(s)},unlink(){t.removeEventListener("abort",e)}}}e.d(r,{cF:()=>s,q6:()=>i});class o{constructor(t,r,e,s){this.parent=t,this.values=e||new Map,this.name=s,this.signal=r||(t?t.signal:(new AbortController).signal)}get canceled(){return this.signal.aborted}get reason(){return this.signal.reason}get(t){return this.values.has(t.symbol)?this.values.get(t.symbol):this.parent?this.parent.get(t):t.defaultValue}with(t,r){const e=new Map(this.values);return e.set(t.symbol,r),new o(this,void 0,e)}withCancel(){const t=n(this.signal);return[new o(this,t.signal),r=>t.abort(r)]}withUnlinkableCancel(){const t=n(this.signal);return[new o(this,t.signal),r=>t.abort(r),()=>t.unlink()]}withTimeout(t){const r=n(this.signal),e=new o(this,r.signal),s=setTimeout((()=>{r.abort(new Error("context deadline exceeded"))}),t);return r.signal.addEventListener("abort",(()=>{clearTimeout(s)}),{once:!0}),e}withDeadline(t){const r=t.getTime()-Date.now();if(r<=0){const t=n(this.signal);return t.abort(new Error("context deadline exceeded")),new o(this,t.signal)}return this.withTimeout(r)}withTimeoutAndCancel(t){const[r,e]=this.withCancel();return[r.withTimeout(t),e]}withName(t){return new o(this,void 0,void 0,t)}withDetached(){return new o(this,(new AbortController).signal)}getParent(){return this.parent}getPath(){const t=[];let r=this;for(;r;)r.name&&t.unshift(r.name),r=r.getParent();return t}}function i(){return new o}},"../context/dist/logger.js"(t,r,e){e.d(r,{h:()=>d});var s=e("../context/dist/core.js");function n(t){return"object"==typeof t&&null!==t&&"getPath"in t&&"function"==typeof t.getPath}function o(t){return"object"==typeof t&&null!==t&&("message"in t||"stack"in t||"name"in t||"cause"in t)}function i(t,r,e,s,n,l){const c=function(t,r,e,s){if(!r.inlineSerializer)return t;try{const n=r.inlineSerializer(t,{path:e,depth:s});return void 0===n?t:n}catch{return t}}(t,r,l,s);if(function(t){return"object"==typeof t&&null!==t&&"kind"in t&&"summary"===t.kind&&"summary"in t&&"string"==typeof t.summary}(c))return e.dim(`<${c.summary}>`);if(null===(t=c))return e.gray("null");if(void 0===t)return e.gray("undefined");if("string"==typeof t){const s=function(t,r){return t.length<=r?t:`${t.slice(0,r)}...`}(t,r.maxStringLength);return e.green(JSON.stringify(s))}if("number"==typeof t)return e.yellow(String(t));if("boolean"==typeof t)return e.magenta(String(t));if("bigint"==typeof t)return e.yellow(`${t}n`);if("symbol"==typeof t)return e.cyan(t.toString());if("function"==typeof t){const r=t.name?` ${t.name}`:"";return e.dim(`[Function${r}]`)}if(t instanceof Date){const r=Number.isNaN(t.getTime())?"Invalid Date":t.toISOString();return e.green(r)}if(t instanceof RegExp)return e.cyan(t.toString());if(o(t))return a(t,r,e,s,n,l);if(Array.isArray(t))return u(t,r,e,s,n,l);if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return e.dim(`ArrayBuffer(${t.byteLength})`);if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(t)){const r=t,s=r.constructor?.name??"TypedArray";return e.dim(`${s}(${r.byteLength})`)}return t instanceof Map?function(t,r,e,s,n,o){if(s>=r.maxDepth)return e.dim(`Map(${t.size})`);if(n.has(t))return e.dim("[Circular]");n.add(t);const a=Array.from(t.entries()),u=Math.min(a.length,r.maxEntries),l=a.slice(0,u).map((([t,a])=>{const u=i(t,r,e,s+1,n,o.concat("<key>")),l=i(a,r,e,s+1,n,o.concat(String(t)));return`${u} ${e.dim("=>")} ${l}`}));a.length>u&&l.push(e.dim(`... ${a.length-u} more`));const c=e.dim(", "),m=`${e.dim("Map{")}${l.join(c)}${e.dim("}")}`;return n.delete(t),m}(t,r,e,s,n,l):t instanceof Set?u(Array.from(t.values()),r,e,s,n,l):"object"==typeof t?function(t,r,e,s,n,o){if(s>=r.maxDepth){const r=t?.constructor?.name??"Object";return e.dim(`[${r}]`)}if(n.has(t))return e.dim("[Circular]");n.add(t);const a=Object.entries(t);if(0===a.length){const r=e.dim("{}");return n.delete(t),r}const u=Math.min(a.length,r.maxEntries),l=a.slice(0,u).map((([t,a])=>{const u=i(a,r,e,s+1,n,o.concat(t));return`${e.cyan(t)}: ${u}`}));a.length>u&&l.push(e.dim(`... ${a.length-u} more`));const c=e.dim(", "),m=`${e.dim("{")}${l.join(c)}${e.dim("}")}`;return n.delete(t),m}(t,r,e,s,n,l):e.dim(`[${typeof t}]`)}function a(t,r,e,s,n,o){if(n.has(t))return e.dim("[Circular]");n.add(t);const a="string"==typeof t.name?t.name:"Error",u="string"==typeof t.message?t.message:"",l=u?`${a}: ${u}`:a;let c=e.red(l);if("cause"in t&&void 0!==t.cause){const a=i(t.cause,r,e,s+1,n,o.concat("cause"));c=`${c} ${e.dim("cause=")}${a}`}return n.delete(t),c}function u(t,r,e,s,n,o){if(s>=r.maxDepth)return e.dim(`[Array(${t.length})]`);if(n.has(t))return e.dim("[Circular]");if(n.add(t),0===t.length){const r=e.dim("[]");return n.delete(t),r}const a=Math.min(t.length,r.maxArrayLength),u=t.slice(0,a).map(((t,a)=>i(t,r,e,s+1,n,o.concat(a))));t.length>a&&u.push(e.dim(`... ${t.length-a} more`));const l=e.dim(", "),c=`${e.dim("[")}${u.join(l)}${e.dim("]")}`;return n.delete(t),c}let l=function(t={}){const r=function(t){return{indent:" ".repeat(t.indent??2),maxDepth:t.maxDepth??6,maxEntries:t.maxEntries??50,maxArrayLength:t.maxArrayLength??40,maxStringLength:t.maxStringLength??200,includeTimestamp:t.includeTimestamp??!0,includeContextPath:t.includeContextPath??!0,inlineSerializer:t.inlineSerializer}}(t),e=function(t){const r=r=>e=>t?`[${r.join(";")}m${e}[0m`:e,e=r([2]),s=r([90]),n=r([31]),o=r([32]),i=r([33]),a=r([34]),u=r([35]),l=r([36]),c=r([1]),m=r([1,31]);return{dim:e,gray:s,red:n,green:o,yellow:i,blue:a,magenta:u,cyan:l,bold:c,level:(t,r)=>{switch(t){case"debug":return u(r);case"info":return a(r);case"warn":return i(r);case"error":return m(r);default:return t}}}}(function(t){if("boolean"==typeof t)return t;if("undefined"==typeof process)return!1;const r=process.env??{};if("NO_COLOR"in r)return!1;if("dumb"===r.TERM)return!1;const e=r.FORCE_COLOR;return"1"===e||"true"===e||"0"!==e&&(process.stdout?.isTTY??!1)}(t.useColors)),s=t.console??console;return{log:(t,u)=>{const l=[];r.includeTimestamp&&l.push(e.dim(u.timestamp.toISOString().slice(11,23)));const c=u.level.toUpperCase().padEnd(5);l.push(e.level(u.level,c));const m="error"===u.level?e.bold(u.message):u.message;if(l.push(m),r.includeContextPath&&n(u.context)){const t=u.context.getPath();t.length>0&&l.push(e.dim(`ctx=${t.join("/")}`))}const d=new WeakSet;if(!n(u.context)&&u.context&&Object.keys(u.context).length>0){const t=i(u.context,r,e,0,d,["context"]);l.push(`${e.dim("context=")}${t}`)}if(u.metadata&&Object.keys(u.metadata).length>0){const t=i(u.metadata,r,e,0,d,["metadata"]);l.push(`${e.dim("meta=")}${t}`)}const p=[l.join(" ")];if(void 0!==u.error){const t=o(u.error)?a(u.error,r,e,0,d,["error"]):i(u.error,r,e,0,d,["error"]);if(p[0]=`${p[0]} ${e.dim("error=")}${t}`,o(u.error)&&"string"==typeof u.error.stack){const t=u.error.stack.split("\n").slice(1);for(const s of t){const t=s.trim();t&&p.push(`${r.indent}${e.dim(t)}`)}}}const f=p.join("\n");switch(u.level){case"debug":case"info":s.log(f);break;case"warn":s.warn(f);break;case"error":s.error(f);break;default:{const t=u.level;throw new Error(`Unhandled log level: ${String(t)}`)}}}}}();const c={log:(t,r)=>l.log(t,r)},m=(0,s.cF)(Symbol("loggerBackend"),c);function d(t){function r(r,e){const s=new Date,n=function(t){return t.get(m)}(r);n.log(r,{...e,timestamp:s,logger:t})}return{debug:(t,e,s)=>{r(t,{level:"debug",message:e,context:t,metadata:s})},info:(t,e,s)=>{r(t,{level:"info",message:e,context:t,metadata:s})},warn:(t,e,s)=>{r(t,{level:"warn",message:e,context:t,metadata:s})},error:(t,e,s,n)=>{r(t,{level:"error",message:e,context:t,error:s,metadata:n})}}}},"../metrics/dist/index.js"(t,r,e){e.d(r,{Pu:()=>o,v5:()=>i});const s=(0,e("../context/dist/core.js").cF)(Symbol("metricsBackend"),{record:()=>{},increment:()=>{},gauge:()=>{},histogram:()=>{}});function n(t){return t.get(s)}function o(t,r){const e={name:t,type:"counter",description:r?.description,labelNames:r?.labelNames};return{increment:(t,r,s)=>{n(t).increment(t,e,r??1,s)},record:(t,r,s)=>{n(t).record(t,e,r,s)}}}function i(t,r){const e={name:t,type:"histogram",description:r?.description,labelNames:r?.labelNames};return{histogram:(t,r,s)=>{n(t).histogram(t,e,r,s)},record:(t,r,s)=>{n(t).record(t,e,r,s)}}}},"../proto/dist/generated/agent/v1/agent_pb.js"(t,r,e){e.d(r,{i9c:()=>vi,ljj:()=>Fi,Y9z:()=>Ki,kJk:()=>Xo,KRq:()=>Oi,j97:()=>yi,cmU:()=>Si,oIR:()=>ji,tms:()=>Pi,qKL:()=>bi,aK_:()=>Gi,RGk:()=>di});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/subagents_pb.js"),o=e("../proto/dist/generated/agent/v1/shell_exec_pb.js"),i=e("../proto/dist/runtime/compact.js");class a extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class u extends a{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["ShellToolCall|1 args #0|2 result #1|3 description 9?",o.a,o.W4]}}var l=e("../proto/dist/generated/agent/v1/delete_exec_pb.js");class c extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class m extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["DeleteToolCall|1 args #0|2 result #1",l.dn,l.Pi]}}class d extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class p extends d{constructor(t){super(),this.globPattern="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["GlobToolArgs|1 target_directory 9?|2 glob_pattern 9"]}}class f extends d{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["GlobToolResult|1 success #0 result|2 error #1 result",_,h]}}class h extends d{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["GlobToolError|1 error 9"]}}class _ extends d{constructor(t){super(),this.pattern="",this.path="",this.files=[],this.totalFiles=0,this.clientTruncated=!1,this.ripgrepTruncated=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["GlobToolSuccess|1 pattern 9|2 path 9|3 files 9*|4 total_files 5|5 client_truncated 8|6 ripgrep_truncated 8"]}}class g extends d{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["GlobToolCall|1 args #0|2 result #1",p,f]}}var j=e("../proto/dist/generated/agent/v1/grep_exec_pb.js");class b extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class y extends b{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["GrepToolCall|1 args #0|2 result #1",j.Qj,j.Ud]}}var w=e("../proto/dist/generated/agent/v1/cursor_rules_pb.js");class x extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class J extends x{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["ReadToolCall|1 args #0|2 result #1",S,v]}}class S extends x{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["ReadToolArgs|1 path 9|2 offset 5?|3 limit 5?|5 include_line_numbers 8?"]}}class v extends x{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["ReadToolResult|1 success #0 result|2 error #1 result",q,P]}}class B extends x{constructor(t){super(),this.startLine=0,this.endLine=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["ReadRange|1 start_line 13|2 end_line 13"]}}class q extends x{constructor(t){super(),this.output={case:void 0},this.isEmpty=!1,this.exceededLimit=!1,this.totalLines=0,this.fileSize=0,this.path="",this.relatedCursorRulePaths=[],this.relatedCursorRules=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["ReadToolSuccess|1 content 9 output|6 data 12 output|9 data_blob_id 12 output|10 content_blob_id 12 output|2 is_empty 8|3 exceeded_limit 8|4 total_lines 13|5 file_size 13|7 path 9|8 read_range #0?|11 include_line_numbers 8?|12 related_cursor_rule_paths 9*|13 related_cursor_rules #1*",B,w.DX]}}class P extends x{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["ReadToolError|1 error_message 9"]}}var I=e("../proto/dist/generated/agent/v1/todo_tool_pb.js");class O extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class E extends O{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new E).fromBinary(t,r)}static fromJson(t,r){return(new E).fromJson(t,r)}static fromJsonString(t,r){return(new E).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(E,t,r)}static $(){return["EditArgs|1 path 9|6 stream_content 9?"]}}class A extends O{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new A).fromBinary(t,r)}static fromJson(t,r){return(new A).fromJson(t,r)}static fromJsonString(t,r){return(new A).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(A,t,r)}static $(){return["EditResult|1 success #0 result|2 file_not_found #1 result|3 read_permission_denied #2 result|4 write_permission_denied #3 result|6 rejected #4 result|7 error #5 result",$,k,T,C,R,M]}}class $ extends O{constructor(t){super(),this.path="",this.afterFullFileContent="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $).fromBinary(t,r)}static fromJson(t,r){return(new $).fromJson(t,r)}static fromJsonString(t,r){return(new $).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($,t,r)}static $(){return["EditSuccess|1 path 9|3 lines_added 5?|4 lines_removed 5?|5 diff_string 9?|6 before_full_file_content 9?|7 after_full_file_content 9|8 message 9?"]}}class k extends O{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new k).fromBinary(t,r)}static fromJson(t,r){return(new k).fromJson(t,r)}static fromJsonString(t,r){return(new k).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(k,t,r)}static $(){return["EditFileNotFound|1 path 9"]}}class T extends O{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new T).fromBinary(t,r)}static fromJson(t,r){return(new T).fromJson(t,r)}static fromJsonString(t,r){return(new T).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(T,t,r)}static $(){return["EditReadPermissionDenied|1 path 9"]}}class C extends O{constructor(t){super(),this.path="",this.error="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new C).fromBinary(t,r)}static fromJson(t,r){return(new C).fromJson(t,r)}static fromJsonString(t,r){return(new C).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(C,t,r)}static $(){return["EditWritePermissionDenied|1 path 9|2 error 9|3 is_readonly 8"]}}class R extends O{constructor(t){super(),this.path="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new R).fromBinary(t,r)}static fromJson(t,r){return(new R).fromJson(t,r)}static fromJsonString(t,r){return(new R).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(R,t,r)}static $(){return["EditRejected|1 path 9|2 reason 9"]}}class M extends O{constructor(t){super(),this.path="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new M).fromBinary(t,r)}static fromJson(t,r){return(new M).fromJson(t,r)}static fromJsonString(t,r){return(new M).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(M,t,r)}static $(){return["EditError|1 path 9|2 error 9|5 model_visible_error 9?"]}}class U extends O{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new U).fromBinary(t,r)}static fromJson(t,r){return(new U).fromJson(t,r)}static fromJsonString(t,r){return(new U).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(U,t,r)}static $(){return["EditToolCall|1 args #0|2 result #1",E,A]}}var N=e("../proto/dist/generated/agent/v1/ls_exec_pb.js");class L extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class D extends L{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new D).fromBinary(t,r)}static fromJson(t,r){return(new D).fromJson(t,r)}static fromJsonString(t,r){return(new D).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(D,t,r)}static $(){return["LsToolCall|1 args #0|2 result #1",N.xe,N.fv]}}var F=e("../proto/dist/generated/agent/v1/diagnostics_exec_pb.js"),W=e("../proto/dist/generated/agent/v1/utils_pb.js");class z extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class G extends z{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new G).fromBinary(t,r)}static fromJson(t,r){return(new G).fromJson(t,r)}static fromJsonString(t,r){return(new G).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(G,t,r)}static $(){return["ReadLintsToolCall|1 args #0|2 result #1",H,V]}}class H extends z{constructor(t){super(),this.paths=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new H).fromBinary(t,r)}static fromJson(t,r){return(new H).fromJson(t,r)}static fromJsonString(t,r){return(new H).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(H,t,r)}static $(){return["ReadLintsToolArgs|1 paths 9*"]}}class V extends z{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new V).fromBinary(t,r)}static fromJson(t,r){return(new V).fromJson(t,r)}static fromJsonString(t,r){return(new V).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(V,t,r)}static $(){return["ReadLintsToolResult|1 success #0 result|2 error #1 result",K,Z]}}class K extends z{constructor(t){super(),this.fileDiagnostics=[],this.totalFiles=0,this.totalDiagnostics=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new K).fromBinary(t,r)}static fromJson(t,r){return(new K).fromJson(t,r)}static fromJsonString(t,r){return(new K).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(K,t,r)}static $(){return["ReadLintsToolSuccess|1 file_diagnostics #0*|2 total_files 5|3 total_diagnostics 5",Q]}}class Q extends z{constructor(t){super(),this.path="",this.diagnostics=[],this.diagnosticsCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Q).fromBinary(t,r)}static fromJson(t,r){return(new Q).fromJson(t,r)}static fromJsonString(t,r){return(new Q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Q,t,r)}static $(){return["FileDiagnostics|1 path 9|2 diagnostics #0*|3 diagnostics_count 5",Y]}}class Y extends z{constructor(t){super(),this.severity=F.h_.UNSPECIFIED,this.message="",this.source="",this.code="",this.isStale=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Y).fromBinary(t,r)}static fromJson(t,r){return(new Y).fromJson(t,r)}static fromJsonString(t,r){return(new Y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Y,t,r)}static $(){return["DiagnosticItem|1 severity #0|2 range #1|3 message 9|4 source 9|5 code 9|6 is_stale 8",F.h_,X]}}class X extends z{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new X).fromBinary(t,r)}static fromJson(t,r){return(new X).fromJson(t,r)}static fromJsonString(t,r){return(new X).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(X,t,r)}static $(){return["DiagnosticRange|1 start #0|2 end #0",W.yX]}}class Z extends z{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Z).fromBinary(t,r)}static fromJson(t,r){return(new Z).fromJson(t,r)}static fromJsonString(t,r){return(new Z).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Z,t,r)}static $(){return["ReadLintsToolError|1 error_message 9"]}}var tt=e("../proto/dist/generated/agent/v1/mcp_exec_pb.js");class rt extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class et extends rt{constructor(t){super(),this.error="",this.readToolDefReminder="",this.systemReminders=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new et).fromBinary(t,r)}static fromJson(t,r){return(new et).fromJson(t,r)}static fromJsonString(t,r){return(new et).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(et,t,r)}static $(){return["McpToolError|1 error 9|2 read_tool_def_reminder 9|3 system_reminders #0*",tt.Kp]}}class st extends rt{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new st).fromBinary(t,r)}static fromJson(t,r){return(new st).fromJson(t,r)}static fromJsonString(t,r){return(new st).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(st,t,r)}static $(){return["McpToolResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 permission_denied #3 result",tt.QW,et,tt.xo,tt.HQ]}}class nt extends rt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new nt).fromBinary(t,r)}static fromJson(t,r){return(new nt).fromJson(t,r)}static fromJsonString(t,r){return(new nt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(nt,t,r)}static $(){return["McpToolCall|1 args #0|2 result #1|3 description 9?",tt.E_,st]}}var ot=e("../proto/dist/generated/aiserver/v1/repository_pb.js");class it extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class at extends it{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new at).fromBinary(t,r)}static fromJson(t,r){return(new at).fromJson(t,r)}static fromJsonString(t,r){return(new at).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(at,t,r)}static $(){return["SemSearchToolCall|1 args #0|2 result #1",ut,lt]}}class ut extends it{constructor(t){super(),this.query="",this.targetDirectories=[],this.explanation="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ut).fromBinary(t,r)}static fromJson(t,r){return(new ut).fromJson(t,r)}static fromJsonString(t,r){return(new ut).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ut,t,r)}static $(){return["SemSearchToolArgs|1 query 9|2 target_directories 9*|3 explanation 9"]}}class lt extends it{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new lt).fromBinary(t,r)}static fromJson(t,r){return(new lt).fromJson(t,r)}static fromJsonString(t,r){return(new lt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(lt,t,r)}static $(){return["SemSearchToolResult|1 success #0 result|2 error #1 result",ct,mt]}}class ct extends it{constructor(t){super(),this.results="",this.codeResults=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ct).fromBinary(t,r)}static fromJson(t,r){return(new ct).fromJson(t,r)}static fromJsonString(t,r){return(new ct).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ct,t,r)}static $(){return["SemSearchToolSuccess|1 results 9|2 code_results #0*",ot.PT]}}class mt extends it{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mt).fromBinary(t,r)}static fromJson(t,r){return(new mt).fromJson(t,r)}static fromJsonString(t,r){return(new mt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mt,t,r)}static $(){return["SemSearchToolError|1 error_message 9"]}}var dt=e("../proto/dist/generated/agent/v1/create_plan_tool_pb.js"),pt=e("../proto/dist/generated/agent/v1/web_search_tool_pb.js");class ft extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class ht extends ft{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ht).fromBinary(t,r)}static fromJson(t,r){return(new ht).fromJson(t,r)}static fromJsonString(t,r){return(new ht).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ht,t,r)}static $(){return["ListMcpResourcesToolCall|1 args #0|2 result #1",tt.kj,tt.kP]}}class _t extends ft{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _t).fromBinary(t,r)}static fromJson(t,r){return(new _t).fromJson(t,r)}static fromJsonString(t,r){return(new _t).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_t,t,r)}static $(){return["ReadMcpResourceToolCall|1 args #0|2 result #1",tt.DI,tt.ZD]}}var gt=e("../proto/dist/generated/agent/v1/apply_agent_diff_tool_pb.js"),jt=e("../proto/dist/generated/agent/v1/ask_question_tool_pb.js"),bt=e("../proto/dist/generated/agent/v1/fetch_exec_pb.js");class yt extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class wt extends yt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new wt).fromBinary(t,r)}static fromJson(t,r){return(new wt).fromJson(t,r)}static fromJsonString(t,r){return(new wt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(wt,t,r)}static $(){return["FetchToolCall|1 args #0|2 result #1",bt.UM,bt.uN]}}var xt=e("../proto/dist/generated/agent/v1/switch_mode_tool_pb.js"),Jt=e("../proto/dist/generated/agent/v1/generate_image_tool_pb.js"),St=e("../proto/dist/generated/agent/v1/record_screen_exec_pb.js");class vt extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Bt extends vt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Bt).fromBinary(t,r)}static fromJson(t,r){return(new Bt).fromJson(t,r)}static fromJsonString(t,r){return(new Bt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Bt,t,r)}static $(){return["RecordScreenToolCall|1 args #0|2 result #1",St.zH,St.Tj]}}var qt=e("../proto/dist/generated/agent/v1/computer_use_tool_pb.js"),Pt=e("../proto/dist/generated/agent/v1/background_shell_exec_pb.js");class It extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Ot extends It{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ot).fromBinary(t,r)}static fromJson(t,r){return(new Ot).fromJson(t,r)}static fromJsonString(t,r){return(new Ot).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ot,t,r)}static $(){return["WriteShellStdinToolCall|1 args #0|2 result #1",Pt.LL,Pt.nt]}}class Et extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class At extends Et{constructor(t){super(),this.unexpectedActionOutcomes="",this.relevantInstructions="",this.scenarioAnalysis="",this.criticalSynthesis="",this.nextSteps="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new At).fromBinary(t,r)}static fromJson(t,r){return(new At).fromJson(t,r)}static fromJsonString(t,r){return(new At).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(At,t,r)}static $(){return["ReflectArgs|1 unexpected_action_outcomes 9|2 relevant_instructions 9|3 scenario_analysis 9|4 critical_synthesis 9|5 next_steps 9|6 tool_call_id 9"]}}class $t extends Et{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $t).fromBinary(t,r)}static fromJson(t,r){return(new $t).fromJson(t,r)}static fromJsonString(t,r){return(new $t).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($t,t,r)}static $(){return["ReflectResult|1 success #0 result|2 error #1 result",kt,Tt]}}class kt extends Et{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new kt).fromBinary(t,r)}static fromJson(t,r){return(new kt).fromJson(t,r)}static fromJsonString(t,r){return(new kt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(kt,t,r)}static $(){return["ReflectSuccess"]}}class Tt extends Et{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Tt).fromBinary(t,r)}static fromJson(t,r){return(new Tt).fromJson(t,r)}static fromJsonString(t,r){return(new Tt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Tt,t,r)}static $(){return["ReflectError|1 error 9"]}}class Ct extends Et{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ct).fromBinary(t,r)}static fromJson(t,r){return(new Ct).fromJson(t,r)}static fromJsonString(t,r){return(new Ct).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ct,t,r)}static $(){return["ReflectToolCall|1 args #0|2 result #1",At,$t]}}var Rt=e("../proto/dist/generated/agent/v1/setup_vm_environment_tool_pb.js");class Mt extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Ut extends Mt{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ut).fromBinary(t,r)}static fromJson(t,r){return(new Ut).fromJson(t,r)}static fromJsonString(t,r){return(new Ut).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ut,t,r)}static $(){return["StartGrindExecutionArgs|1 explanation 9?|2 tool_call_id 9"]}}class Nt extends Mt{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Nt).fromBinary(t,r)}static fromJson(t,r){return(new Nt).fromJson(t,r)}static fromJsonString(t,r){return(new Nt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Nt,t,r)}static $(){return["StartGrindExecutionResult|1 success #0 result|2 error #1 result",Lt,Dt]}}class Lt extends Mt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Lt).fromBinary(t,r)}static fromJson(t,r){return(new Lt).fromJson(t,r)}static fromJsonString(t,r){return(new Lt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Lt,t,r)}static $(){return["StartGrindExecutionSuccess"]}}class Dt extends Mt{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Dt).fromBinary(t,r)}static fromJson(t,r){return(new Dt).fromJson(t,r)}static fromJsonString(t,r){return(new Dt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Dt,t,r)}static $(){return["StartGrindExecutionError|1 error 9"]}}class Ft extends Mt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ft).fromBinary(t,r)}static fromJson(t,r){return(new Ft).fromJson(t,r)}static fromJsonString(t,r){return(new Ft).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ft,t,r)}static $(){return["StartGrindExecutionToolCall|1 args #0|2 result #1",Ut,Nt]}}class Wt extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class zt extends Wt{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zt).fromBinary(t,r)}static fromJson(t,r){return(new zt).fromJson(t,r)}static fromJsonString(t,r){return(new zt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zt,t,r)}static $(){return["StartGrindPlanningArgs|1 explanation 9?|2 tool_call_id 9"]}}class Gt extends Wt{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Gt).fromBinary(t,r)}static fromJson(t,r){return(new Gt).fromJson(t,r)}static fromJsonString(t,r){return(new Gt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Gt,t,r)}static $(){return["StartGrindPlanningResult|1 success #0 result|2 error #1 result",Ht,Vt]}}class Ht extends Wt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ht).fromBinary(t,r)}static fromJson(t,r){return(new Ht).fromJson(t,r)}static fromJsonString(t,r){return(new Ht).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ht,t,r)}static $(){return["StartGrindPlanningSuccess"]}}class Vt extends Wt{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vt).fromBinary(t,r)}static fromJson(t,r){return(new Vt).fromJson(t,r)}static fromJsonString(t,r){return(new Vt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vt,t,r)}static $(){return["StartGrindPlanningError|1 error 9"]}}class Kt extends Wt{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Kt).fromBinary(t,r)}static fromJson(t,r){return(new Kt).fromJson(t,r)}static fromJsonString(t,r){return(new Kt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Kt,t,r)}static $(){return["StartGrindPlanningToolCall|1 args #0|2 result #1",zt,Gt]}}var Qt=e("../proto/dist/generated/agent/v1/web_fetch_tool_pb.js"),Yt=e("../proto/dist/generated/agent/v1/report_bugfix_results_tool_pb.js"),Xt=e("../proto/dist/generated/agent/v1/ai_attribution_tool_pb.js"),Zt=e("../proto/dist/generated/agent/v1/pr_management_tool_pb.js"),tr=e("../proto/dist/generated/agent/v1/mcp_auth_tool_pb.js");class rr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class er extends rr{constructor(t){super(),this.taskId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new er).fromBinary(t,r)}static fromJson(t,r){return(new er).fromJson(t,r)}static fromJsonString(t,r){return(new er).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(er,t,r)}static $(){return["AwaitArgs|1 task_id 9|2 block_until_ms 13?|3 regex 9?"]}}class sr extends rr{constructor(t){super(),this.taskId="",this.runtimeMs=s.protoInt64.zero,this.outputFilePath="",this.outputLength=s.protoInt64.zero,this.regexRequested=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new sr).fromBinary(t,r)}static fromJson(t,r){return(new sr).fromJson(t,r)}static fromJsonString(t,r){return(new sr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(sr,t,r)}static $(){return["AwaitTaskComplete|1 task_id 9|2 runtime_ms 4|3 output_file_path 9|4 output_length 4|5 regex_requested 8|6 regex_match 9?|7 exit_code 17?|8 wake_reason 9?"]}}class nr extends rr{constructor(t){super(),this.taskId="",this.runtimeMs=s.protoInt64.zero,this.outputFilePath="",this.outputLength=s.protoInt64.zero,this.regexRequested=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new nr).fromBinary(t,r)}static fromJson(t,r){return(new nr).fromJson(t,r)}static fromJsonString(t,r){return(new nr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(nr,t,r)}static $(){return["AwaitTaskStillRunning|1 task_id 9|2 runtime_ms 4|3 output_file_path 9|4 output_length 4|5 regex_requested 8|6 regex_match 9?|7 wake_reason 9?"]}}class or extends rr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new or).fromBinary(t,r)}static fromJson(t,r){return(new or).fromJson(t,r)}static fromJsonString(t,r){return(new or).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(or,t,r)}static $(){return["AwaitError|1 error 9"]}}class ir extends rr{constructor(t){super(),this.awaitResult={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ir).fromBinary(t,r)}static fromJson(t,r){return(new ir).fromJson(t,r)}static fromJsonString(t,r){return(new ir).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ir,t,r)}static $(){return["AwaitSuccess|1 complete #0 await_result|2 still_running #1 await_result",sr,nr]}}class ar extends rr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ar).fromBinary(t,r)}static fromJson(t,r){return(new ar).fromJson(t,r)}static fromJsonString(t,r){return(new ar).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ar,t,r)}static $(){return["AwaitResult|1 complete #0 result|2 still_running #1 result|3 error #2 result|4 success #3 result",sr,nr,or,ir]}}class ur extends rr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ur).fromBinary(t,r)}static fromJson(t,r){return(new ur).fromJson(t,r)}static fromJsonString(t,r){return(new ur).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ur,t,r)}static $(){return["AwaitToolCall|1 args #0|2 result #1",er,ar]}}class lr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class cr extends lr{constructor(t){super(),this.filePath="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new cr).fromBinary(t,r)}static fromJson(t,r){return(new cr).fromJson(t,r)}static fromJsonString(t,r){return(new cr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(cr,t,r)}static $(){return["BlameByFilePathArgs|1 file_path 9|2 start_line 5?|3 end_line 5?"]}}class mr extends lr{constructor(t){super(),this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mr).fromBinary(t,r)}static fromJson(t,r){return(new mr).fromJson(t,r)}static fromJsonString(t,r){return(new mr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mr,t,r)}static $(){return["BlameByFilePathSuccess|1 content 9"]}}class dr extends lr{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new dr).fromBinary(t,r)}static fromJson(t,r){return(new dr).fromJson(t,r)}static fromJsonString(t,r){return(new dr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(dr,t,r)}static $(){return["BlameByFilePathError|1 error_message 9"]}}class pr extends lr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new pr).fromBinary(t,r)}static fromJson(t,r){return(new pr).fromJson(t,r)}static fromJsonString(t,r){return(new pr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(pr,t,r)}static $(){return["BlameByFilePathResult|1 success #0 result|2 error #1 result",mr,dr]}}class fr extends lr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new fr).fromBinary(t,r)}static fromJson(t,r){return(new fr).fromJson(t,r)}static fromJsonString(t,r){return(new fr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(fr,t,r)}static $(){return["BlameByFilePathToolCall|1 args #0|2 result #1",cr,pr]}}class hr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class _r extends hr{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _r).fromBinary(t,r)}static fromJson(t,r){return(new _r).fromJson(t,r)}static fromJsonString(t,r){return(new _r).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_r,t,r)}static $(){return["GetMcpToolsArgs|1 server 9?|2 tool_name 9?|3 pattern 9?|4 tool_call_id 9"]}}class gr extends hr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new gr).fromBinary(t,r)}static fromJson(t,r){return(new gr).fromJson(t,r)}static fromJsonString(t,r){return(new gr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(gr,t,r)}static $(){return["GetMcpToolsAgentResult|1 success #0 result|2 error #1 result",jr,br]}}class jr extends hr{constructor(t){super(),this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new jr).fromBinary(t,r)}static fromJson(t,r){return(new jr).fromJson(t,r)}static fromJsonString(t,r){return(new jr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(jr,t,r)}static $(){return["GetMcpToolsSuccess|1 content 9|2 output_file_path 9?"]}}class br extends hr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new br).fromBinary(t,r)}static fromJson(t,r){return(new br).fromJson(t,r)}static fromJsonString(t,r){return(new br).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(br,t,r)}static $(){return["GetMcpToolsError|1 error 9"]}}class yr extends hr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new yr).fromBinary(t,r)}static fromJson(t,r){return(new yr).fromJson(t,r)}static fromJsonString(t,r){return(new yr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(yr,t,r)}static $(){return["GetMcpToolsToolCall|1 args #0|2 result #1",_r,gr]}}class wr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class xr extends wr{constructor(t){super(),this.title="",this.file="",this.startLine=0,this.endLine=0,this.description="",this.severity="",this.category="",this.rationale="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new xr).fromBinary(t,r)}static fromJson(t,r){return(new xr).fromJson(t,r)}static fromJsonString(t,r){return(new xr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(xr,t,r)}static $(){return["ReportBugArgs|1 title 9|2 file 9|3 start_line 5|4 end_line 5|5 description 9|6 severity 9|7 category 9|8 rationale 9"]}}class Jr extends wr{constructor(t){super(),this.output="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Jr).fromBinary(t,r)}static fromJson(t,r){return(new Jr).fromJson(t,r)}static fromJsonString(t,r){return(new Jr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Jr,t,r)}static $(){return["ReportBugSuccess|1 output 9"]}}class Sr extends wr{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Sr).fromBinary(t,r)}static fromJson(t,r){return(new Sr).fromJson(t,r)}static fromJsonString(t,r){return(new Sr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Sr,t,r)}static $(){return["ReportBugError|1 error_message 9"]}}class vr extends wr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new vr).fromBinary(t,r)}static fromJson(t,r){return(new vr).fromJson(t,r)}static fromJsonString(t,r){return(new vr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(vr,t,r)}static $(){return["ReportBugResult|1 success #0 result|2 error #1 result",Jr,Sr]}}class Br extends wr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Br).fromBinary(t,r)}static fromJson(t,r){return(new Br).fromJson(t,r)}static fromJsonString(t,r){return(new Br).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Br,t,r)}static $(){return["ReportBugToolCall|1 args #0|2 result #1",xr,vr]}}class qr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Pr extends qr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Pr).fromBinary(t,r)}static fromJson(t,r){return(new Pr).fromJson(t,r)}static fromJsonString(t,r){return(new Pr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Pr,t,r)}static $(){return["CommunicateUpdateArgs|1 current_step 9?|3 final_summary 9?|4 completed_subtitle 9?"]}}class Ir extends qr{constructor(t){super(),this.currentStep="",this.messageIndex=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ir).fromBinary(t,r)}static fromJson(t,r){return(new Ir).fromJson(t,r)}static fromJsonString(t,r){return(new Ir).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ir,t,r)}static $(){return["CommunicateUpdateSuccess|1 current_step 9|3 message_index 13"]}}class Or extends qr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Or).fromBinary(t,r)}static fromJson(t,r){return(new Or).fromJson(t,r)}static fromJsonString(t,r){return(new Or).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Or,t,r)}static $(){return["CommunicateUpdateError|1 error 9"]}}class Er extends qr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Er).fromBinary(t,r)}static fromJson(t,r){return(new Er).fromJson(t,r)}static fromJsonString(t,r){return(new Er).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Er,t,r)}static $(){return["CommunicateUpdateResult|1 success #0 result|2 error #1 result",Ir,Or]}}class Ar extends qr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ar).fromBinary(t,r)}static fromJson(t,r){return(new Ar).fromJson(t,r)}static fromJsonString(t,r){return(new Ar).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ar,t,r)}static $(){return["CommunicateUpdateToolCall|1 args #0|2 result #1",Pr,Er]}}class $r extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class kr extends $r{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new kr).fromBinary(t,r)}static fromJson(t,r){return(new kr).fromJson(t,r)}static fromJsonString(t,r){return(new kr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(kr,t,r)}static $(){return["SendFinalSummaryArgs|1 final_summary 9?"]}}class Tr extends $r{constructor(t){super(),this.finalSummary="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Tr).fromBinary(t,r)}static fromJson(t,r){return(new Tr).fromJson(t,r)}static fromJsonString(t,r){return(new Tr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Tr,t,r)}static $(){return["SendFinalSummarySuccess|1 final_summary 9"]}}class Cr extends $r{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Cr).fromBinary(t,r)}static fromJson(t,r){return(new Cr).fromJson(t,r)}static fromJsonString(t,r){return(new Cr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Cr,t,r)}static $(){return["SendFinalSummaryError|1 error 9"]}}class Rr extends $r{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Rr).fromBinary(t,r)}static fromJson(t,r){return(new Rr).fromJson(t,r)}static fromJsonString(t,r){return(new Rr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Rr,t,r)}static $(){return["SendFinalSummaryResult|1 success #0 result|2 error #1 result",Tr,Cr]}}class Mr extends $r{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Mr).fromBinary(t,r)}static fromJson(t,r){return(new Mr).fromJson(t,r)}static fromJsonString(t,r){return(new Mr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Mr,t,r)}static $(){return["SendFinalSummaryToolCall|1 args #0|2 result #1",kr,Rr]}}var Ur=e("../proto/dist/generated/agent/v1/replace_env_tool_pb.js");class Nr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Lr extends Nr{constructor(t){super(),this.toolCallId="",this.prUrl="",this.addLabels=[],this.removeLabels=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Lr).fromBinary(t,r)}static fromJson(t,r){return(new Lr).fromJson(t,r)}static fromJsonString(t,r){return(new Lr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Lr,t,r)}static $(){return["EditPrLabelsArgs|1 tool_call_id 9|2 pr_url 9|4 add_labels 9*|5 remove_labels 9*"]}}class Dr extends Nr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Dr).fromBinary(t,r)}static fromJson(t,r){return(new Dr).fromJson(t,r)}static fromJsonString(t,r){return(new Dr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Dr,t,r)}static $(){return["EditPrLabelsResult|1 success #0 result|2 error #1 result",Fr,Wr]}}class Fr extends Nr{constructor(t){super(),this.prUrl="",this.prNumber=0,this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fr).fromBinary(t,r)}static fromJson(t,r){return(new Fr).fromJson(t,r)}static fromJsonString(t,r){return(new Fr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fr,t,r)}static $(){return["EditPrLabelsSuccess|1 pr_url 9|2 pr_number 5|3 message 9"]}}class Wr extends Nr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Wr).fromBinary(t,r)}static fromJson(t,r){return(new Wr).fromJson(t,r)}static fromJsonString(t,r){return(new Wr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Wr,t,r)}static $(){return["EditPrLabelsError|1 error 9"]}}class zr extends Nr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zr).fromBinary(t,r)}static fromJson(t,r){return(new zr).fromJson(t,r)}static fromJsonString(t,r){return(new zr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zr,t,r)}static $(){return["EditPrLabelsToolCall|1 args #0|2 result #1",Lr,Dr]}}class Gr extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Hr extends Gr{constructor(t){super(),this.checkName="",this.tldr="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Hr).fromBinary(t,r)}static fromJson(t,r){return(new Hr).fromJson(t,r)}static fromJsonString(t,r){return(new Hr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Hr,t,r)}static $(){return["RecordCiInvestigationFinding|1 check_name 9|2 details_url 9?|3 tldr 9|4 root_cause 9?|5 failing_signal 9?|6 suggested_next_step 9?|7 diff_relation 9?|8 diff_relation_evidence 9?|9 flake_assessment 9?|10 flake_evidence 9?|11 rerun_available 8?|12 rerun_evidence 9?|13 recommended_action 9?|14 recommended_action_evidence 9?|15 confidence 9?"]}}class Vr extends Gr{constructor(t){super(),this.summary="",this.themes=[],this.checkKeys=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vr).fromBinary(t,r)}static fromJson(t,r){return(new Vr).fromJson(t,r)}static fromJsonString(t,r){return(new Vr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vr,t,r)}static $(){return["RecordCiInvestigationOverall|1 summary 9|2 themes 9*|3 recommended_action 9?|4 recommended_action_evidence 9?|5 check_keys 9*"]}}class Kr extends Gr{constructor(t){super(),this.findings=[],this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Kr).fromBinary(t,r)}static fromJson(t,r){return(new Kr).fromJson(t,r)}static fromJsonString(t,r){return(new Kr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Kr,t,r)}static $(){return["RecordCiInvestigationFindingsArgs|1 findings #0*|2 overall #1?|3 tool_call_id 9",Hr,Vr]}}class Qr extends Gr{constructor(t){super(),this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qr).fromBinary(t,r)}static fromJson(t,r){return(new Qr).fromJson(t,r)}static fromJsonString(t,r){return(new Qr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qr,t,r)}static $(){return["RecordCiInvestigationFindingsSuccess|1 message 9"]}}class Yr extends Gr{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Yr).fromBinary(t,r)}static fromJson(t,r){return(new Yr).fromJson(t,r)}static fromJsonString(t,r){return(new Yr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Yr,t,r)}static $(){return["RecordCiInvestigationFindingsError|1 error 9"]}}class Xr extends Gr{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xr).fromBinary(t,r)}static fromJson(t,r){return(new Xr).fromJson(t,r)}static fromJsonString(t,r){return(new Xr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xr,t,r)}static $(){return["RecordCiInvestigationFindingsResult|1 success #0 result|2 error #1 result",Qr,Yr]}}class Zr extends Gr{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Zr).fromBinary(t,r)}static fromJson(t,r){return(new Zr).fromJson(t,r)}static fromJsonString(t,r){return(new Zr).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Zr,t,r)}static $(){return["RecordCiInvestigationFindingsToolCall|1 args #0|2 result #1",Kr,Xr]}}class te extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class re extends te{constructor(t){super(),this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new re).fromBinary(t,r)}static fromJson(t,r){return(new re).fromJson(t,r)}static fromJsonString(t,r){return(new re).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(re,t,r)}static $(){return["SendMessageText|1 content 9"]}}class ee extends te{constructor(t){super(),this.url="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ee).fromBinary(t,r)}static fromJson(t,r){return(new ee).fromJson(t,r)}static fromJsonString(t,r){return(new ee).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ee,t,r)}static $(){return["SendMessageAttachment|1 url 9|2 alt 9?"]}}class se extends te{constructor(t){super(),this.message={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new se).fromBinary(t,r)}static fromJson(t,r){return(new se).fromJson(t,r)}static fromJsonString(t,r){return(new se).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(se,t,r)}static $(){return["SendMessageArgs|1 text #0 message|2 attachment #1 message|3 reply_to 9?|4 replace_previous_message 8?",re,ee]}}class ne extends te{constructor(t){super(),this.timestamp=s.protoInt64.zero,this.messageId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ne).fromBinary(t,r)}static fromJson(t,r){return(new ne).fromJson(t,r)}static fromJsonString(t,r){return(new ne).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ne,t,r)}static $(){return["SendMessageSuccess|1 timestamp 4|2 message_id 9"]}}class oe extends te{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new oe).fromBinary(t,r)}static fromJson(t,r){return(new oe).fromJson(t,r)}static fromJsonString(t,r){return(new oe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(oe,t,r)}static $(){return["SendMessageError|1 error 9"]}}class ie extends te{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ie).fromBinary(t,r)}static fromJson(t,r){return(new ie).fromJson(t,r)}static fromJsonString(t,r){return(new ie).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ie,t,r)}static $(){return["SendMessageResult|1 success #0 result|2 error #1 result",ne,oe]}}class ae extends te{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ae).fromBinary(t,r)}static fromJson(t,r){return(new ae).fromJson(t,r)}static fromJsonString(t,r){return(new ae).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ae,t,r)}static $(){return["SendMessageToolCall|1 args #0|2 result #1",se,ie]}}class ue extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class le extends ue{constructor(t){super(),this.bcIds=[],this.sources=[],this.statuses=[],this.includeTeamWide=!1,this.includeArchived=!1,this.includeTranscript=!1,this.activeSince="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new le).fromBinary(t,r)}static fromJson(t,r){return(new le).fromJson(t,r)}static fromJsonString(t,r){return(new le).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(le,t,r)}static $(){return["FetchCloudAgentDataArgs|4 bc_ids 9*|6 sources 9*|7 statuses 9*|8 include_team_wide 8|9 include_archived 8|10 limit 5?|12 include_transcript 8|13 active_since 9"]}}class ce extends ue{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ce).fromBinary(t,r)}static fromJson(t,r){return(new ce).fromJson(t,r)}static fromJsonString(t,r){return(new ce).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ce,t,r)}static $(){return["FetchCloudAgentDataResult|1 success #0 result|2 error #1 result",me,de]}}class me extends ue{constructor(t){super(),this.summary="",this.agentCount=0,this.writtenPaths=[],this.unavailableBcIds=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new me).fromBinary(t,r)}static fromJson(t,r){return(new me).fromJson(t,r)}static fromJsonString(t,r){return(new me).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(me,t,r)}static $(){return["FetchCloudAgentDataSuccess|1 summary 9|2 agent_count 5|3 written_paths 9*|4 unavailable_bc_ids 9*"]}}class de extends ue{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new de).fromBinary(t,r)}static fromJson(t,r){return(new de).fromJson(t,r)}static fromJsonString(t,r){return(new de).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(de,t,r)}static $(){return["FetchCloudAgentDataError|1 error 9"]}}class pe extends ue{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new pe).fromBinary(t,r)}static fromJson(t,r){return(new pe).fromJson(t,r)}static fromJsonString(t,r){return(new pe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(pe,t,r)}static $(){return["FetchCloudAgentDataToolCall|1 args #0|2 result #1",le,ce]}}class fe extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class he extends fe{constructor(t){super(),this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new he).fromBinary(t,r)}static fromJson(t,r){return(new he).fromJson(t,r)}static fromJsonString(t,r){return(new he).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(he,t,r)}static $(){return["SendToUserArgs|1 message 9"]}}class _e extends fe{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _e).fromBinary(t,r)}static fromJson(t,r){return(new _e).fromJson(t,r)}static fromJsonString(t,r){return(new _e).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_e,t,r)}static $(){return["SendToUserSuccess"]}}class ge extends fe{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ge).fromBinary(t,r)}static fromJson(t,r){return(new ge).fromJson(t,r)}static fromJsonString(t,r){return(new ge).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ge,t,r)}static $(){return["SendToUserError|1 error 9"]}}class je extends fe{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new je).fromBinary(t,r)}static fromJson(t,r){return(new je).fromJson(t,r)}static fromJsonString(t,r){return(new je).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(je,t,r)}static $(){return["SendToUserResult|1 success #0 result|2 error #1 result",_e,ge]}}class be extends fe{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new be).fromBinary(t,r)}static fromJson(t,r){return(new be).fromJson(t,r)}static fromJsonString(t,r){return(new be).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(be,t,r)}static $(){return["SendToUserToolCall|1 args #0|2 result #1",he,je]}}var ye=e("../proto/dist/generated/agent/v1/connect_scm_tool_pb.js"),we=e("../proto/dist/generated/agent/v1/conversation_search_exec_pb.js");class xe extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Je extends xe{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Je).fromBinary(t,r)}static fromJson(t,r){return(new Je).fromJson(t,r)}static fromJsonString(t,r){return(new Je).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Je,t,r)}static $(){return["SearchConversationsToolCall|1 args #0|2 result #1",we.$m,we.pT]}}const Se="agent.v1.";class ve extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return Se}}var Be=(0,i.QT)(s.proto3,Se,"GoalStatus",[[0,"UNSPECIFIED"],[1,"ACTIVE"],[2,"PAUSED"],[3,"COMPLETE"],[4,"CLEARED"]],1);class qe extends ve{constructor(t){super(),this.objective="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new qe).fromBinary(t,r)}static fromJson(t,r){return(new qe).fromJson(t,r)}static fromJsonString(t,r){return(new qe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(qe,t,r)}static $(){return["CreateGoalArgs|1 objective 9"]}}class Pe extends ve{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Pe).fromBinary(t,r)}static fromJson(t,r){return(new Pe).fromJson(t,r)}static fromJsonString(t,r){return(new Pe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Pe,t,r)}static $(){return["CreateGoalSuccess"]}}class Ie extends ve{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ie).fromBinary(t,r)}static fromJson(t,r){return(new Ie).fromJson(t,r)}static fromJsonString(t,r){return(new Ie).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ie,t,r)}static $(){return["GoalError|1 error 9"]}}class Oe extends ve{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Oe).fromBinary(t,r)}static fromJson(t,r){return(new Oe).fromJson(t,r)}static fromJsonString(t,r){return(new Oe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Oe,t,r)}static $(){return["CreateGoalResult|1 success #0 result|2 error #1 result",Pe,Ie]}}class Ee extends ve{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ee).fromBinary(t,r)}static fromJson(t,r){return(new Ee).fromJson(t,r)}static fromJsonString(t,r){return(new Ee).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ee,t,r)}static $(){return["CreateGoalToolCall|1 args #0|2 result #1",qe,Oe]}}class Ae extends ve{constructor(t){super(),this.status=Be.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ae).fromBinary(t,r)}static fromJson(t,r){return(new Ae).fromJson(t,r)}static fromJsonString(t,r){return(new Ae).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ae,t,r)}static $(){return["UpdateGoalArgs|1 status #0",Be]}}class $e extends ve{constructor(t){super(),this.status=Be.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $e).fromBinary(t,r)}static fromJson(t,r){return(new $e).fromJson(t,r)}static fromJsonString(t,r){return(new $e).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($e,t,r)}static $(){return["UpdateGoalSuccess|1 status #0",Be]}}class ke extends ve{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ke).fromBinary(t,r)}static fromJson(t,r){return(new ke).fromJson(t,r)}static fromJsonString(t,r){return(new ke).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ke,t,r)}static $(){return["UpdateGoalResult|1 success #0 result|2 error #1 result",$e,Ie]}}class Te extends ve{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Te).fromBinary(t,r)}static fromJson(t,r){return(new Te).fromJson(t,r)}static fromJsonString(t,r){return(new Te).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Te,t,r)}static $(){return["UpdateGoalToolCall|1 args #0|2 result #1",Ae,ke]}}const Ce="agent.v1.";class Re extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return Ce}}var Me=(0,i.QT)(s.proto3,Ce,"CreateAgentPlacementApprovalState",[[0,"UNSPECIFIED"],[1,"REQUIRED"],[2,"DENIED"]],1);class Ue extends Re{constructor(t){super(),this.toolCallId="",this.agentIds=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ue).fromBinary(t,r)}static fromJson(t,r){return(new Ue).fromJson(t,r)}static fromJsonString(t,r){return(new Ue).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ue,t,r)}static $(){return["GetAgentStatusArgs|1 tool_call_id 9|2 agent_ids 9*"]}}class Ne extends Re{constructor(t){super(),this.bcId="",this.name="",this.lifecycle="",this.turnInFlight=!1,this.lastTerminalTurnStatus="",this.prUrl="",this.lastActivityAtMs=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ne).fromBinary(t,r)}static fromJson(t,r){return(new Ne).fromJson(t,r)}static fromJsonString(t,r){return(new Ne).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ne,t,r)}static $(){return["GetAgentStatusWorker|1 bc_id 9|2 name 9|3 lifecycle 9|4 turn_in_flight 8|5 last_terminal_turn_status 9|6 pr_url 9|7 last_activity_at_ms 4"]}}class Le extends Re{constructor(t){super(),this.workers=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Le).fromBinary(t,r)}static fromJson(t,r){return(new Le).fromJson(t,r)}static fromJsonString(t,r){return(new Le).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Le,t,r)}static $(){return["GetAgentStatusSuccess|1 workers #0*|2 message 9",Ne]}}class De extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new De).fromBinary(t,r)}static fromJson(t,r){return(new De).fromJson(t,r)}static fromJsonString(t,r){return(new De).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(De,t,r)}static $(){return["GetAgentStatusError|1 error 9"]}}class Fe extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fe).fromBinary(t,r)}static fromJson(t,r){return(new Fe).fromJson(t,r)}static fromJsonString(t,r){return(new Fe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fe,t,r)}static $(){return["GetAgentStatusResult|1 success #0 result|2 error #1 result",Le,De]}}class We extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new We).fromBinary(t,r)}static fromJson(t,r){return(new We).fromJson(t,r)}static fromJsonString(t,r){return(new We).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(We,t,r)}static $(){return["GetAgentStatusToolCall|1 args #0|2 result #1",Ue,Fe]}}class ze extends Re{constructor(t){super(),this.toolCallId="",this.agentId="",this.message="",this.delivery="",this.title="",this.trackedTaskKeys=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ze).fromBinary(t,r)}static fromJson(t,r){return(new ze).fromJson(t,r)}static fromJsonString(t,r){return(new ze).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ze,t,r)}static $(){return["SendToAgentArgs|1 tool_call_id 9|2 agent_id 9|3 message 9|4 delivery 9|5 title 9|6 model 9?|7 tracked_task_keys 9*"]}}class Ge extends Re{constructor(t){super(),this.workerBcId="",this.deliveredAs="",this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ge).fromBinary(t,r)}static fromJson(t,r){return(new Ge).fromJson(t,r)}static fromJsonString(t,r){return(new Ge).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ge,t,r)}static $(){return["SendToAgentSuccess|1 worker_bc_id 9|2 delivered_as 9|3 message 9|4 recipient #0?",He]}}class He extends Re{constructor(t){super(),this.kind=Ve.UNSPECIFIED,this.id="",this.displayName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new He).fromBinary(t,r)}static fromJson(t,r){return(new He).fromJson(t,r)}static fromJsonString(t,r){return(new He).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(He,t,r)}static $(){return["SendToAgentRecipient|1 kind #0|2 id 9|3 display_name 9",Ve]}}var Ve=(0,i.QT)(s.proto3,Ce,"SendToAgentRecipient.Kind",[[0,"UNSPECIFIED"],[1,"MAIN_BOT"],[2,"PROJECT_SESSION"]],1);class Ke extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ke).fromBinary(t,r)}static fromJson(t,r){return(new Ke).fromJson(t,r)}static fromJsonString(t,r){return(new Ke).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ke,t,r)}static $(){return["SendToAgentError|1 error 9"]}}class Qe extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qe).fromBinary(t,r)}static fromJson(t,r){return(new Qe).fromJson(t,r)}static fromJsonString(t,r){return(new Qe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qe,t,r)}static $(){return["SendToAgentResult|1 success #0 result|2 error #1 result",Ge,Ke]}}class Ye extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ye).fromBinary(t,r)}static fromJson(t,r){return(new Ye).fromJson(t,r)}static fromJsonString(t,r){return(new Ye).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ye,t,r)}static $(){return["SendToAgentToolCall|1 args #0|2 result #1",ze,Qe]}}class Xe extends Re{constructor(t){super(),this.toolCallId="",this.agentId="",this.mode="",this.maxTurns=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xe).fromBinary(t,r)}static fromJson(t,r){return(new Xe).fromJson(t,r)}static fromJsonString(t,r){return(new Xe).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xe,t,r)}static $(){return["ReadAgentTranscriptArgs|1 tool_call_id 9|2 agent_id 9|3 mode 9|4 max_turns 13"]}}class Ze extends Re{constructor(t){super(),this.transcript="",this.truncated=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ze).fromBinary(t,r)}static fromJson(t,r){return(new Ze).fromJson(t,r)}static fromJsonString(t,r){return(new Ze).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ze,t,r)}static $(){return["ReadAgentTranscriptSuccess|1 transcript 9|2 truncated 8"]}}class ts extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ts).fromBinary(t,r)}static fromJson(t,r){return(new ts).fromJson(t,r)}static fromJsonString(t,r){return(new ts).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ts,t,r)}static $(){return["ReadAgentTranscriptError|1 error 9"]}}class rs extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new rs).fromBinary(t,r)}static fromJson(t,r){return(new rs).fromJson(t,r)}static fromJsonString(t,r){return(new rs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(rs,t,r)}static $(){return["ReadAgentTranscriptResult|1 success #0 result|2 error #1 result",Ze,ts]}}class es extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new es).fromBinary(t,r)}static fromJson(t,r){return(new es).fromJson(t,r)}static fromJsonString(t,r){return(new es).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(es,t,r)}static $(){return["ReadAgentTranscriptToolCall|1 args #0|2 result #1",Xe,rs]}}class ss extends Re{constructor(t){super(),this.toolCallId="",this.prompt="",this.labels={},this.trackedTaskKeys=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ss).fromBinary(t,r)}static fromJson(t,r){return(new ss).fromJson(t,r)}static fromJsonString(t,r){return(new ss).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ss,t,r)}static $(){return["CreateAgentArgs|1 tool_call_id 9|2 prompt 9|3 name 9?|4 model 9?|5 base_branch 9?|6 machine_type 9?|7 worker_id 9?|8 pool 9?|9 labels 9,9|10 environment_build_id 9?|11 environment_id 9?|12 repo_url 9?|13 tracked_task_keys 9*|14 fork_from 9?|15 fork_turns 13?"]}}class ns extends Re{constructor(t){super(),this.agentId="",this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ns).fromBinary(t,r)}static fromJson(t,r){return(new ns).fromJson(t,r)}static fromJsonString(t,r){return(new ns).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ns,t,r)}static $(){return["CreateAgentSuccess|1 agent_id 9|2 message 9"]}}class os extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new os).fromBinary(t,r)}static fromJson(t,r){return(new os).fromJson(t,r)}static fromJsonString(t,r){return(new os).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(os,t,r)}static $(){return["CreateAgentError|1 error 9|2 placement_approval_state #0?",Me]}}class is extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new is).fromBinary(t,r)}static fromJson(t,r){return(new is).fromJson(t,r)}static fromJsonString(t,r){return(new is).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(is,t,r)}static $(){return["CreateAgentResult|1 success #0 result|2 error #1 result",ns,os]}}class as extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new as).fromBinary(t,r)}static fromJson(t,r){return(new as).fromJson(t,r)}static fromJsonString(t,r){return(new as).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(as,t,r)}static $(){return["CreateAgentToolCall|1 args #0|2 result #1",ss,is]}}class us extends Re{constructor(t){super(),this.toolCallId="",this.prompt="",this.labels={},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new us).fromBinary(t,r)}static fromJson(t,r){return(new us).fromJson(t,r)}static fromJsonString(t,r){return(new us).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(us,t,r)}static $(){return["CreateProjectArgs|1 tool_call_id 9|2 prompt 9|3 name 9?|4 model 9?|5 base_branch 9?|6 machine_type 9?|7 worker_id 9?|8 pool 9?|9 labels 9,9|10 environment_build_id 9?|11 environment_id 9?|12 repo_url 9?"]}}class ls extends Re{constructor(t){super(),this.agentId="",this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ls).fromBinary(t,r)}static fromJson(t,r){return(new ls).fromJson(t,r)}static fromJsonString(t,r){return(new ls).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ls,t,r)}static $(){return["CreateProjectSuccess|1 agent_id 9|2 message 9"]}}class cs extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new cs).fromBinary(t,r)}static fromJson(t,r){return(new cs).fromJson(t,r)}static fromJsonString(t,r){return(new cs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(cs,t,r)}static $(){return["CreateProjectError|1 error 9|2 placement_approval_state #0?",Me]}}class ms extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ms).fromBinary(t,r)}static fromJson(t,r){return(new ms).fromJson(t,r)}static fromJsonString(t,r){return(new ms).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ms,t,r)}static $(){return["CreateProjectResult|1 success #0 result|2 error #1 result",ls,cs]}}class ds extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ds).fromBinary(t,r)}static fromJson(t,r){return(new ds).fromJson(t,r)}static fromJsonString(t,r){return(new ds).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ds,t,r)}static $(){return["CreateProjectToolCall|1 args #0|2 result #1",us,ms]}}class ps extends Re{constructor(t){super(),this.toolCallId="",this.agentId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ps).fromBinary(t,r)}static fromJson(t,r){return(new ps).fromJson(t,r)}static fromJsonString(t,r){return(new ps).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ps,t,r)}static $(){return["StartProjectUpdatesArgs|1 tool_call_id 9|2 agent_id 9"]}}class fs extends Re{constructor(t){super(),this.agentId="",this.untilMs=s.protoInt64.zero,this.wasOn=!1,this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new fs).fromBinary(t,r)}static fromJson(t,r){return(new fs).fromJson(t,r)}static fromJsonString(t,r){return(new fs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(fs,t,r)}static $(){return["StartProjectUpdatesSuccess|1 agent_id 9|2 until_ms 3|3 was_on 8|4 message 9"]}}class hs extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new hs).fromBinary(t,r)}static fromJson(t,r){return(new hs).fromJson(t,r)}static fromJsonString(t,r){return(new hs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(hs,t,r)}static $(){return["StartProjectUpdatesError|1 error 9"]}}class _s extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _s).fromBinary(t,r)}static fromJson(t,r){return(new _s).fromJson(t,r)}static fromJsonString(t,r){return(new _s).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_s,t,r)}static $(){return["StartProjectUpdatesResult|1 success #0 result|2 error #1 result",fs,hs]}}class gs extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new gs).fromBinary(t,r)}static fromJson(t,r){return(new gs).fromJson(t,r)}static fromJsonString(t,r){return(new gs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(gs,t,r)}static $(){return["StartProjectUpdatesToolCall|1 args #0|2 result #1",ps,_s]}}class js extends Re{constructor(t){super(),this.toolCallId="",this.agentId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new js).fromBinary(t,r)}static fromJson(t,r){return(new js).fromJson(t,r)}static fromJsonString(t,r){return(new js).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(js,t,r)}static $(){return["StopProjectUpdatesArgs|1 tool_call_id 9|2 agent_id 9"]}}class bs extends Re{constructor(t){super(),this.agentId="",this.wasOn=!1,this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new bs).fromBinary(t,r)}static fromJson(t,r){return(new bs).fromJson(t,r)}static fromJsonString(t,r){return(new bs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(bs,t,r)}static $(){return["StopProjectUpdatesSuccess|1 agent_id 9|2 was_on 8|3 message 9"]}}class ys extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ys).fromBinary(t,r)}static fromJson(t,r){return(new ys).fromJson(t,r)}static fromJsonString(t,r){return(new ys).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ys,t,r)}static $(){return["StopProjectUpdatesError|1 error 9"]}}class ws extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ws).fromBinary(t,r)}static fromJson(t,r){return(new ws).fromJson(t,r)}static fromJsonString(t,r){return(new ws).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ws,t,r)}static $(){return["StopProjectUpdatesResult|1 success #0 result|2 error #1 result",bs,ys]}}class xs extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new xs).fromBinary(t,r)}static fromJson(t,r){return(new xs).fromJson(t,r)}static fromJsonString(t,r){return(new xs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(xs,t,r)}static $(){return["StopProjectUpdatesToolCall|1 args #0|2 result #1",js,ws]}}class Js extends Re{constructor(t){super(),this.toolCallId="",this.agentId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Js).fromBinary(t,r)}static fromJson(t,r){return(new Js).fromJson(t,r)}static fromJsonString(t,r){return(new Js).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Js,t,r)}static $(){return["StopAgentArgs|1 tool_call_id 9|2 agent_id 9"]}}class Ss extends Re{constructor(t){super(),this.workerBcId="",this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ss).fromBinary(t,r)}static fromJson(t,r){return(new Ss).fromJson(t,r)}static fromJsonString(t,r){return(new Ss).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ss,t,r)}static $(){return["StopAgentSuccess|1 worker_bc_id 9|2 message 9"]}}class vs extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new vs).fromBinary(t,r)}static fromJson(t,r){return(new vs).fromJson(t,r)}static fromJsonString(t,r){return(new vs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(vs,t,r)}static $(){return["StopAgentError|1 error 9"]}}class Bs extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Bs).fromBinary(t,r)}static fromJson(t,r){return(new Bs).fromJson(t,r)}static fromJsonString(t,r){return(new Bs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Bs,t,r)}static $(){return["StopAgentResult|1 success #0 result|2 error #1 result",Ss,vs]}}class qs extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new qs).fromBinary(t,r)}static fromJson(t,r){return(new qs).fromJson(t,r)}static fromJsonString(t,r){return(new qs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(qs,t,r)}static $(){return["StopAgentToolCall|1 args #0|2 result #1",Js,Bs]}}class Ps extends Re{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ps).fromBinary(t,r)}static fromJson(t,r){return(new Ps).fromJson(t,r)}static fromJsonString(t,r){return(new Ps).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ps,t,r)}static $(){return["TrackedTaskDocumentInput|1 path 9|2 label 9?"]}}class Is extends Re{constructor(t){super(),this.url="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Is).fromBinary(t,r)}static fromJson(t,r){return(new Is).fromJson(t,r)}static fromJsonString(t,r){return(new Is).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Is,t,r)}static $(){return["TrackedTaskUrlInput|1 url 9|2 label 9?"]}}class Os extends Re{constructor(t){super(),this.target={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Os).fromBinary(t,r)}static fromJson(t,r){return(new Os).fromJson(t,r)}static fromJsonString(t,r){return(new Os).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Os,t,r)}static $(){return["TrackedTaskLinkInput|1 agent_id 9 target|2 pr_url 9 target|3 document #0 target|4 url #1 target",Ps,Is]}}class Es extends Re{constructor(t){super(),this.url="",this.openedByAgentId="",this.countsForCompletion=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Es).fromBinary(t,r)}static fromJson(t,r){return(new Es).fromJson(t,r)}static fromJsonString(t,r){return(new Es).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Es,t,r)}static $(){return["TrackedTaskPrLinkView|1 url 9|2 opened_by_agent_id 9|3 counts_for_completion 8"]}}class As extends Re{constructor(t){super(),this.target={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new As).fromBinary(t,r)}static fromJson(t,r){return(new As).fromJson(t,r)}static fromJsonString(t,r){return(new As).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(As,t,r)}static $(){return["TrackedTaskLinkView|1 agent_id 9 target|2 pr #0 target|3 document #1 target|4 url #2 target",Es,Ps,Is]}}class $s extends Re{constructor(t){super(),this.key="",this.title="",this.statusId="",this.statusLabel="",this.owner="",this.parentKey="",this.links=[],this.updatedAtMs=s.protoInt64.zero,this.ownerSessionId="",this.version=s.protoInt64.zero,this.tag="",this.internalNotes="",this.tags=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $s).fromBinary(t,r)}static fromJson(t,r){return(new $s).fromJson(t,r)}static fromJsonString(t,r){return(new $s).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($s,t,r)}static $(){return["TrackedTaskView|1 key 9|2 title 9|3 status_id 9|4 status_label 9|5 owner 9|6 parent_key 9|7 links #0*|8 updated_at_ms 4|9 owner_session_id 9|10 version 4|11 tag 9|12 internal_notes 9|13 tags 9*",As]}}class ks extends Re{constructor(t){super(),this.id="",this.label="",this.category="",this.taskCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ks).fromBinary(t,r)}static fromJson(t,r){return(new ks).fromJson(t,r)}static fromJsonString(t,r){return(new ks).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ks,t,r)}static $(){return["TrackedTaskStatusView|1 id 9|2 label 9|3 category 9|4 task_count 13"]}}class Ts extends Re{constructor(t){super(),this.id="",this.label="",this.color="",this.taskCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ts).fromBinary(t,r)}static fromJson(t,r){return(new Ts).fromJson(t,r)}static fromJsonString(t,r){return(new Ts).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ts,t,r)}static $(){return["TrackedTaskTagView|1 id 9|2 label 9|3 color 9|4 task_count 13"]}}class Cs extends Re{constructor(t){super(),this.name="",this.sessionId="",this.isYou=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Cs).fromBinary(t,r)}static fromJson(t,r){return(new Cs).fromJson(t,r)}static fromJsonString(t,r){return(new Cs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Cs,t,r)}static $(){return["TrackedTaskMemberView|1 name 9|2 session_id 9|3 is_you 8"]}}class Rs extends Re{constructor(t){super(),this.toolCallId="",this.keys=[],this.statusCategories=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Rs).fromBinary(t,r)}static fromJson(t,r){return(new Rs).fromJson(t,r)}static fromJsonString(t,r){return(new Rs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Rs,t,r)}static $(){return["ListTrackedTasksArgs|1 tool_call_id 9|2 keys 9*|3 status_categories 9*|4 owner 9?|5 linked_agent_id 9?|6 cursor 9?"]}}class Ms extends Re{constructor(t){super(),this.tasks=[],this.statuses=[],this.members=[],this.olderClosedCount=0,this.truncated=!1,this.matchingCount=0,this.message="",this.tags=[],this.nextCursor="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ms).fromBinary(t,r)}static fromJson(t,r){return(new Ms).fromJson(t,r)}static fromJsonString(t,r){return(new Ms).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ms,t,r)}static $(){return["ListTrackedTasksSuccess|1 tasks #0*|2 statuses #1*|3 members #2*|4 older_closed_count 13|5 truncated 8|6 matching_count 13|7 message 9|8 tags #3*|9 next_cursor 9",$s,ks,Cs,Ts]}}class Us extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Us).fromBinary(t,r)}static fromJson(t,r){return(new Us).fromJson(t,r)}static fromJsonString(t,r){return(new Us).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Us,t,r)}static $(){return["ListTrackedTasksError|1 error 9"]}}class Ns extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ns).fromBinary(t,r)}static fromJson(t,r){return(new Ns).fromJson(t,r)}static fromJsonString(t,r){return(new Ns).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ns,t,r)}static $(){return["ListTrackedTasksResult|1 success #0 result|2 error #1 result",Ms,Us]}}class Ls extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ls).fromBinary(t,r)}static fromJson(t,r){return(new Ls).fromJson(t,r)}static fromJsonString(t,r){return(new Ls).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ls,t,r)}static $(){return["ListTrackedTasksToolCall|1 args #0|2 result #1",Rs,Ns]}}class Ds extends Re{constructor(t){super(),this.title="",this.links=[],this.tags=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ds).fromBinary(t,r)}static fromJson(t,r){return(new Ds).fromJson(t,r)}static fromJsonString(t,r){return(new Ds).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ds,t,r)}static $(){return["NewTrackedTask|1 client_ref 9?|2 title 9|3 status 9?|4 owner 9?|5 parent 9?|6 links #0*|7 tag 9?|8 internal_notes 9?|9 tags 9*",Os]}}class Fs extends Re{constructor(t){super(),this.toolCallId="",this.tasks=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fs).fromBinary(t,r)}static fromJson(t,r){return(new Fs).fromJson(t,r)}static fromJsonString(t,r){return(new Fs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fs,t,r)}static $(){return["CreateTrackedTasksArgs|1 tool_call_id 9|2 tasks #0*",Ds]}}class Ws extends Re{constructor(t){super(),this.clientRef="",this.key="",this.version=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ws).fromBinary(t,r)}static fromJson(t,r){return(new Ws).fromJson(t,r)}static fromJsonString(t,r){return(new Ws).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ws,t,r)}static $(){return["TrackedTaskCreated|1 client_ref 9|2 key 9|3 version 4"]}}class zs extends Re{constructor(t){super(),this.created=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zs).fromBinary(t,r)}static fromJson(t,r){return(new zs).fromJson(t,r)}static fromJsonString(t,r){return(new zs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zs,t,r)}static $(){return["CreateTrackedTasksSuccess|1 created #0*|2 message 9",Ws]}}class Gs extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Gs).fromBinary(t,r)}static fromJson(t,r){return(new Gs).fromJson(t,r)}static fromJsonString(t,r){return(new Gs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Gs,t,r)}static $(){return["CreateTrackedTasksError|1 error 9"]}}class Hs extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Hs).fromBinary(t,r)}static fromJson(t,r){return(new Hs).fromJson(t,r)}static fromJsonString(t,r){return(new Hs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Hs,t,r)}static $(){return["CreateTrackedTasksResult|1 success #0 result|2 error #1 result",zs,Gs]}}class Vs extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vs).fromBinary(t,r)}static fromJson(t,r){return(new Vs).fromJson(t,r)}static fromJsonString(t,r){return(new Vs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vs,t,r)}static $(){return["CreateTrackedTasksToolCall|1 args #0|2 result #1",Fs,Hs]}}class Ks extends Re{constructor(t){super(),this.anchor={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ks).fromBinary(t,r)}static fromJson(t,r){return(new Ks).fromJson(t,r)}static fromJsonString(t,r){return(new Ks).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ks,t,r)}static $(){return["TrackedTaskPosition|1 before_key 9 anchor|2 after_key 9 anchor"]}}class Qs extends Re{constructor(t){super(),this.key="",this.addLinks=[],this.removeLinks=[],this.version=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qs).fromBinary(t,r)}static fromJson(t,r){return(new Qs).fromJson(t,r)}static fromJsonString(t,r){return(new Qs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qs,t,r)}static $(){return["TrackedTaskUpdate|1 key 9|2 title 9?|3 status 9?|4 owner 9?|5 parent 9?|6 position #0?|7 add_links #1*|8 remove_links #1*|9 version 4|10 tag 9?|11 internal_notes 9?|12 tags #2?",Ks,Os,Ys]}}class Ys extends Re{constructor(t){super(),this.ids=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ys).fromBinary(t,r)}static fromJson(t,r){return(new Ys).fromJson(t,r)}static fromJsonString(t,r){return(new Ys).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ys,t,r)}static $(){return["TrackedTaskTagIds|1 ids 9*"]}}class Xs extends Re{constructor(t){super(),this.toolCallId="",this.updates=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xs).fromBinary(t,r)}static fromJson(t,r){return(new Xs).fromJson(t,r)}static fromJsonString(t,r){return(new Xs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xs,t,r)}static $(){return["UpdateTrackedTasksArgs|1 tool_call_id 9|2 updates #0*",Qs]}}class Zs extends Re{constructor(t){super(),this.key="",this.field="",this.currentValue="",this.changedBy="",this.changedAtMs=s.protoInt64.zero,this.currentVersion=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Zs).fromBinary(t,r)}static fromJson(t,r){return(new Zs).fromJson(t,r)}static fromJsonString(t,r){return(new Zs).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Zs,t,r)}static $(){return["TrackedTaskConflict|1 key 9|2 field 9|3 current_value 9|4 changed_by 9|5 changed_at_ms 4|6 current_version 4"]}}class tn extends Re{constructor(t){super(),this.key="",this.version=s.protoInt64.zero,this.title="",this.statusLabel="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new tn).fromBinary(t,r)}static fromJson(t,r){return(new tn).fromJson(t,r)}static fromJsonString(t,r){return(new tn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(tn,t,r)}static $(){return["TrackedTaskUpdated|1 key 9|2 version 4|3 title 9|4 status_label 9"]}}class rn extends Re{constructor(t){super(),this.updated=[],this.conflicts=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new rn).fromBinary(t,r)}static fromJson(t,r){return(new rn).fromJson(t,r)}static fromJsonString(t,r){return(new rn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(rn,t,r)}static $(){return["UpdateTrackedTasksSuccess|1 updated #0*|2 conflicts #1*|3 message 9",tn,Zs]}}class en extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new en).fromBinary(t,r)}static fromJson(t,r){return(new en).fromJson(t,r)}static fromJsonString(t,r){return(new en).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(en,t,r)}static $(){return["UpdateTrackedTasksError|1 error 9"]}}class sn extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new sn).fromBinary(t,r)}static fromJson(t,r){return(new sn).fromJson(t,r)}static fromJsonString(t,r){return(new sn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(sn,t,r)}static $(){return["UpdateTrackedTasksResult|1 success #0 result|2 error #1 result",rn,en]}}class nn extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new nn).fromBinary(t,r)}static fromJson(t,r){return(new nn).fromJson(t,r)}static fromJsonString(t,r){return(new nn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(nn,t,r)}static $(){return["UpdateTrackedTasksToolCall|1 args #0|2 result #1",Xs,sn]}}class on extends Re{constructor(t){super(),this.toolCallId="",this.keys=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new on).fromBinary(t,r)}static fromJson(t,r){return(new on).fromJson(t,r)}static fromJsonString(t,r){return(new on).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(on,t,r)}static $(){return["DeleteTrackedTasksArgs|1 tool_call_id 9|2 keys 9*"]}}class an extends Re{constructor(t){super(),this.deletedKeys=[],this.unparentedKeys=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new an).fromBinary(t,r)}static fromJson(t,r){return(new an).fromJson(t,r)}static fromJsonString(t,r){return(new an).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(an,t,r)}static $(){return["DeleteTrackedTasksSuccess|1 deleted_keys 9*|2 unparented_keys 9*|3 message 9"]}}class un extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new un).fromBinary(t,r)}static fromJson(t,r){return(new un).fromJson(t,r)}static fromJsonString(t,r){return(new un).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(un,t,r)}static $(){return["DeleteTrackedTasksError|1 error 9"]}}class ln extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ln).fromBinary(t,r)}static fromJson(t,r){return(new ln).fromJson(t,r)}static fromJsonString(t,r){return(new ln).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ln,t,r)}static $(){return["DeleteTrackedTasksResult|1 success #0 result|2 error #1 result",an,un]}}class cn extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new cn).fromBinary(t,r)}static fromJson(t,r){return(new cn).fromJson(t,r)}static fromJsonString(t,r){return(new cn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(cn,t,r)}static $(){return["DeleteTrackedTasksToolCall|1 args #0|2 result #1",on,ln]}}class mn extends Re{constructor(t){super(),this.label="",this.category="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mn).fromBinary(t,r)}static fromJson(t,r){return(new mn).fromJson(t,r)}static fromJsonString(t,r){return(new mn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mn,t,r)}static $(){return["TrackedTaskStatusInput|1 id 9?|2 label 9|3 icon 9?|4 category 9"]}}class dn extends Re{constructor(t){super(),this.toolCallId="",this.statuses=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new dn).fromBinary(t,r)}static fromJson(t,r){return(new dn).fromJson(t,r)}static fromJsonString(t,r){return(new dn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(dn,t,r)}static $(){return["UpdateTrackedTaskStatusesArgs|1 tool_call_id 9|2 statuses #0*",mn]}}class pn extends Re{constructor(t){super(),this.statuses=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new pn).fromBinary(t,r)}static fromJson(t,r){return(new pn).fromJson(t,r)}static fromJsonString(t,r){return(new pn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(pn,t,r)}static $(){return["UpdateTrackedTaskStatusesSuccess|1 statuses #0*|2 message 9",ks]}}class fn extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new fn).fromBinary(t,r)}static fromJson(t,r){return(new fn).fromJson(t,r)}static fromJsonString(t,r){return(new fn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(fn,t,r)}static $(){return["UpdateTrackedTaskStatusesError|1 error 9"]}}class hn extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new hn).fromBinary(t,r)}static fromJson(t,r){return(new hn).fromJson(t,r)}static fromJsonString(t,r){return(new hn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(hn,t,r)}static $(){return["UpdateTrackedTaskStatusesResult|1 success #0 result|2 error #1 result",pn,fn]}}class _n extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _n).fromBinary(t,r)}static fromJson(t,r){return(new _n).fromJson(t,r)}static fromJsonString(t,r){return(new _n).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_n,t,r)}static $(){return["UpdateTrackedTaskStatusesToolCall|1 args #0|2 result #1",dn,hn]}}class gn extends Re{constructor(t){super(),this.label="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new gn).fromBinary(t,r)}static fromJson(t,r){return(new gn).fromJson(t,r)}static fromJsonString(t,r){return(new gn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(gn,t,r)}static $(){return["TrackedTaskTagInput|1 id 9?|2 label 9|3 color 9?"]}}class jn extends Re{constructor(t){super(),this.toolCallId="",this.tags=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new jn).fromBinary(t,r)}static fromJson(t,r){return(new jn).fromJson(t,r)}static fromJsonString(t,r){return(new jn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(jn,t,r)}static $(){return["UpdateTrackedTaskTagsArgs|1 tool_call_id 9|2 tags #0*",gn]}}class bn extends Re{constructor(t){super(),this.tags=[],this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new bn).fromBinary(t,r)}static fromJson(t,r){return(new bn).fromJson(t,r)}static fromJsonString(t,r){return(new bn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(bn,t,r)}static $(){return["UpdateTrackedTaskTagsSuccess|1 tags #0*|2 message 9",Ts]}}class yn extends Re{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new yn).fromBinary(t,r)}static fromJson(t,r){return(new yn).fromJson(t,r)}static fromJsonString(t,r){return(new yn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(yn,t,r)}static $(){return["UpdateTrackedTaskTagsError|1 error 9"]}}class wn extends Re{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new wn).fromBinary(t,r)}static fromJson(t,r){return(new wn).fromJson(t,r)}static fromJsonString(t,r){return(new wn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(wn,t,r)}static $(){return["UpdateTrackedTaskTagsResult|1 success #0 result|2 error #1 result",bn,yn]}}class xn extends Re{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new xn).fromBinary(t,r)}static fromJson(t,r){return(new xn).fromJson(t,r)}static fromJsonString(t,r){return(new xn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(xn,t,r)}static $(){return["UpdateTrackedTaskTagsToolCall|1 args #0|2 result #1",jn,wn]}}const Jn="agent.v1.";class Sn extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return Jn}}var vn=(0,i.QT)(s.proto3,Jn,"WriteCanvasFailReason",[[0,"UNSPECIFIED"],[1,"TYPECHECK_FAILED"],[2,"COMPILE_FAILED"],[3,"TOO_LARGE"],[4,"UNAVAILABLE"],[5,"NOT_FOUND"],[6,"REFUSED"]],1),Bn=(0,i.QT)(s.proto3,Jn,"ReadCanvasFailReason",[[0,"UNSPECIFIED"],[1,"NOT_FOUND"],[2,"UNAVAILABLE"],[3,"REFUSED"],[4,"INVALID_REFERENCE"]],1);class qn extends Sn{constructor(t){super(),this.line=0,this.character=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new qn).fromBinary(t,r)}static fromJson(t,r){return(new qn).fromJson(t,r)}static fromJsonString(t,r){return(new qn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(qn,t,r)}static $(){return["CloudCanvasToolDiagnosticPosition|1 line 5|2 character 5"]}}class Pn extends Sn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Pn).fromBinary(t,r)}static fromJson(t,r){return(new Pn).fromJson(t,r)}static fromJsonString(t,r){return(new Pn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Pn,t,r)}static $(){return["CloudCanvasToolDiagnosticRange|1 start #0|2 end #0",qn]}}class In extends Sn{constructor(t){super(),this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new In).fromBinary(t,r)}static fromJson(t,r){return(new In).fromJson(t,r)}static fromJsonString(t,r){return(new In).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(In,t,r)}static $(){return["CloudCanvasToolDiagnostic|1 message 9|2 code 9?|3 severity 5?|4 range #0?",Pn]}}class On extends Sn{constructor(t){super(),this.contents="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new On).fromBinary(t,r)}static fromJson(t,r){return(new On).fromJson(t,r)}static fromJsonString(t,r){return(new On).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(On,t,r)}static $(){return["WriteCanvasArgs|1 contents 9|2 canvas_id 9?|3 title 9?"]}}class En extends Sn{constructor(t){super(),this.canvasId="",this.url="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new En).fromBinary(t,r)}static fromJson(t,r){return(new En).fromJson(t,r)}static fromJsonString(t,r){return(new En).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(En,t,r)}static $(){return["WriteCanvasSuccess|1 canvas_id 9|2 title 9?|3 url 9|4 page_url 9?|5 audience_notice 9?"]}}class An extends Sn{constructor(t){super(),this.reason=vn.UNSPECIFIED,this.diagnostics=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new An).fromBinary(t,r)}static fromJson(t,r){return(new An).fromJson(t,r)}static fromJsonString(t,r){return(new An).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(An,t,r)}static $(){return["WriteCanvasFailure|1 reason #0|2 diagnostics #1*|3 detail 9?",vn,In]}}class $n extends Sn{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $n).fromBinary(t,r)}static fromJson(t,r){return(new $n).fromJson(t,r)}static fromJsonString(t,r){return(new $n).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($n,t,r)}static $(){return["WriteCanvasResult|1 success #0 result|2 failure #1 result",En,An]}}class kn extends Sn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new kn).fromBinary(t,r)}static fromJson(t,r){return(new kn).fromJson(t,r)}static fromJsonString(t,r){return(new kn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(kn,t,r)}static $(){return["WriteCanvasToolCall|1 args #0|2 result #1",On,$n]}}class Tn extends Sn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Tn).fromBinary(t,r)}static fromJson(t,r){return(new Tn).fromJson(t,r)}static fromJsonString(t,r){return(new Tn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Tn,t,r)}static $(){return["ReadCanvasArgs|1 canvas_id 9?|2 url 9?"]}}class Cn extends Sn{constructor(t){super(),this.canvasId="",this.url="",this.source="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Cn).fromBinary(t,r)}static fromJson(t,r){return(new Cn).fromJson(t,r)}static fromJsonString(t,r){return(new Cn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Cn,t,r)}static $(){return["ReadCanvasSuccess|1 canvas_id 9|2 title 9?|3 url 9|4 source 9"]}}class Rn extends Sn{constructor(t){super(),this.reason=Bn.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Rn).fromBinary(t,r)}static fromJson(t,r){return(new Rn).fromJson(t,r)}static fromJsonString(t,r){return(new Rn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Rn,t,r)}static $(){return["ReadCanvasFailure|1 reason #0|2 detail 9?",Bn]}}class Mn extends Sn{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Mn).fromBinary(t,r)}static fromJson(t,r){return(new Mn).fromJson(t,r)}static fromJsonString(t,r){return(new Mn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Mn,t,r)}static $(){return["ReadCanvasResult|1 success #0 result|2 failure #1 result",Cn,Rn]}}class Un extends Sn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Un).fromBinary(t,r)}static fromJson(t,r){return(new Un).fromJson(t,r)}static fromJsonString(t,r){return(new Un).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Un,t,r)}static $(){return["ReadCanvasToolCall|1 args #0|2 result #1",Tn,Mn]}}class Nn extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Ln extends Nn{constructor(t){super(),this.prompt="",this.referenceImagePaths=[],this.keyframes=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ln).fromBinary(t,r)}static fromJson(t,r){return(new Ln).fromJson(t,r)}static fromJsonString(t,r){return(new Ln).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ln,t,r)}static $(){return["GenerateVideoArgs|1 prompt 9|2 file_path 9?|3 image_path 9?|4 reference_image_paths 9*|5 duration_seconds 13?|6 aspect_ratio 9?|7 resolution 9?|8 last_frame_path 9?|9 keyframes #0*",Dn]}}class Dn extends Nn{constructor(t){super(),this.imagePath="",this.timestampSeconds=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Dn).fromBinary(t,r)}static fromJson(t,r){return(new Dn).fromJson(t,r)}static fromJsonString(t,r){return(new Dn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Dn,t,r)}static $(){return["GenerateVideoKeyframe|1 image_path 9|2 timestamp_seconds 1"]}}class Fn extends Nn{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fn).fromBinary(t,r)}static fromJson(t,r){return(new Fn).fromJson(t,r)}static fromJsonString(t,r){return(new Fn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fn,t,r)}static $(){return["GenerateVideoResult|1 success #0 result|2 error #1 result",Wn,zn]}}class Wn extends Nn{constructor(t){super(),this.filePath="",this.durationSeconds=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Wn).fromBinary(t,r)}static fromJson(t,r){return(new Wn).fromJson(t,r)}static fromJsonString(t,r){return(new Wn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Wn,t,r)}static $(){return["GenerateVideoSuccess|1 file_path 9|2 duration_seconds 13"]}}class zn extends Nn{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zn).fromBinary(t,r)}static fromJson(t,r){return(new zn).fromJson(t,r)}static fromJsonString(t,r){return(new zn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zn,t,r)}static $(){return["GenerateVideoError|1 error 9"]}}class Gn extends Nn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Gn).fromBinary(t,r)}static fromJson(t,r){return(new Gn).fromJson(t,r)}static fromJsonString(t,r){return(new Gn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Gn,t,r)}static $(){return["GenerateVideoToolCall|1 args #0|2 result #1",Ln,Fn]}}class Hn extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class Vn extends Hn{constructor(t){super(),this.query="",this.allowedXHandles=[],this.excludedXHandles=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vn).fromBinary(t,r)}static fromJson(t,r){return(new Vn).fromJson(t,r)}static fromJsonString(t,r){return(new Vn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vn,t,r)}static $(){return["XSearchArgs|1 query 9|2 from_date 9?|3 to_date 9?|4 allowed_x_handles 9*|5 excluded_x_handles 9*"]}}class Kn extends Hn{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Kn).fromBinary(t,r)}static fromJson(t,r){return(new Kn).fromJson(t,r)}static fromJsonString(t,r){return(new Kn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Kn,t,r)}static $(){return["XSearchResult|1 success #0 result|2 error #1 result|3 rejected #2 result",Qn,Xn,Zn]}}class Qn extends Hn{constructor(t){super(),this.answer="",this.citations=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qn).fromBinary(t,r)}static fromJson(t,r){return(new Qn).fromJson(t,r)}static fromJsonString(t,r){return(new Qn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qn,t,r)}static $(){return["XSearchSuccess|1 answer 9|2 citations #0*",Yn]}}class Yn extends Hn{constructor(t){super(),this.url="",this.title="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Yn).fromBinary(t,r)}static fromJson(t,r){return(new Yn).fromJson(t,r)}static fromJsonString(t,r){return(new Yn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Yn,t,r)}static $(){return["XSearchCitation|1 url 9|2 title 9"]}}class Xn extends Hn{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xn).fromBinary(t,r)}static fromJson(t,r){return(new Xn).fromJson(t,r)}static fromJsonString(t,r){return(new Xn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xn,t,r)}static $(){return["XSearchError|1 error 9"]}}class Zn extends Hn{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Zn).fromBinary(t,r)}static fromJson(t,r){return(new Zn).fromJson(t,r)}static fromJsonString(t,r){return(new Zn).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Zn,t,r)}static $(){return["XSearchRejected|1 reason 9"]}}class to extends Hn{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new to).fromBinary(t,r)}static fromJson(t,r){return(new to).fromJson(t,r)}static fromJsonString(t,r){return(new to).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(to,t,r)}static $(){return["XSearchToolCall|1 args #0|2 result #1",Vn,Kn]}}class ro extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class eo extends ro{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new eo).fromBinary(t,r)}static fromJson(t,r){return(new eo).fromJson(t,r)}static fromJsonString(t,r){return(new eo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(eo,t,r)}static $(){return["GetPrCodeTourArgs|1 tool_call_id 9|2 revision_id 9?|3 section_id 9?|4 head_sha 9?|5 pr_url 9?"]}}class so extends ro{constructor(t){super(),this.revisionId="",this.status="",this.headSha="",this.feedback="",this.updatedAtMs=s.protoInt64.zero,this.isCurrent=!1,this.markdown="",this.source="",this.prUrl="",this.editedByBcId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new so).fromBinary(t,r)}static fromJson(t,r){return(new so).fromJson(t,r)}static fromJsonString(t,r){return(new so).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(so,t,r)}static $(){return["PrCodeTourRevisionSnapshot|1 revision_id 9|2 status 9|3 head_sha 9|4 feedback 9|5 updated_at_ms 3|6 is_current 8|7 markdown 9|8 source 9|9 pr_url 9|10 edited_by_bc_id 9"]}}class no extends ro{constructor(t){super(),this.revisions=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new no).fromBinary(t,r)}static fromJson(t,r){return(new no).fromJson(t,r)}static fromJsonString(t,r){return(new no).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(no,t,r)}static $(){return["GetPrCodeTourSuccess|1 revisions #0*|2 section_id 9?",so]}}class oo extends ro{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new oo).fromBinary(t,r)}static fromJson(t,r){return(new oo).fromJson(t,r)}static fromJsonString(t,r){return(new oo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(oo,t,r)}static $(){return["GetPrCodeTourError|1 error 9"]}}class io extends ro{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new io).fromBinary(t,r)}static fromJson(t,r){return(new io).fromJson(t,r)}static fromJsonString(t,r){return(new io).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(io,t,r)}static $(){return["GetPrCodeTourResult|1 success #0 result|2 error #1 result",no,oo]}}class ao extends ro{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ao).fromBinary(t,r)}static fromJson(t,r){return(new ao).fromJson(t,r)}static fromJsonString(t,r){return(new ao).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ao,t,r)}static $(){return["GetPrCodeTourToolCall|1 args #0|2 result #1",eo,io]}}const uo="agent.v1.";class lo extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return uo}}var co=(0,i.QT)(s.proto3,uo,"UpdatePrCodeTourExecutionMode",[[0,"UNSPECIFIED"],[1,"SERVER_SCHEDULED"],[2,"CLIENT_REQUIRED"],[3,"SKIPPED"],[4,"EDITED"]],1);class mo extends lo{constructor(t){super(),this.feedback="",this.toolCallId="",this.scopeCommitHashes=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mo).fromBinary(t,r)}static fromJson(t,r){return(new mo).fromJson(t,r)}static fromJsonString(t,r){return(new mo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mo,t,r)}static $(){return["UpdatePrCodeTourArgs|1 feedback 9|2 tool_call_id 9|3 base_sha 9?|4 head_sha 9?|5 source_revision_id 9?|6 revision_id 9?|7 markdown 9?|8 heading 9?|9 artifact_path 9?|10 artifact_alt 9?|11 scope_commit_hashes 9*|12 explicit_user_prompt 9?|13 pr_url 9?"]}}class po extends lo{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new po).fromBinary(t,r)}static fromJson(t,r){return(new po).fromJson(t,r)}static fromJsonString(t,r){return(new po).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(po,t,r)}static $(){return["UpdatePrCodeTourResult|1 success #0 result|2 error #1 result",fo,ho]}}class fo extends lo{constructor(t){super(),this.revisionId="",this.message="",this.executionMode=co.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new fo).fromBinary(t,r)}static fromJson(t,r){return(new fo).fromJson(t,r)}static fromJsonString(t,r){return(new fo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(fo,t,r)}static $(){return["UpdatePrCodeTourSuccess|1 revision_id 9|2 message 9|3 execution_mode #0",co]}}class ho extends lo{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ho).fromBinary(t,r)}static fromJson(t,r){return(new ho).fromJson(t,r)}static fromJsonString(t,r){return(new ho).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ho,t,r)}static $(){return["UpdatePrCodeTourError|1 error 9"]}}class _o extends lo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _o).fromBinary(t,r)}static fromJson(t,r){return(new _o).fromJson(t,r)}static fromJsonString(t,r){return(new _o).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_o,t,r)}static $(){return["UpdatePrCodeTourToolCall|1 args #0|2 result #1",mo,po]}}var go=e("../proto/dist/generated/agent/v1/hook_additional_context_pb.js"),jo=(e("../proto/dist/generated/agent/v1/request_context_exec_pb.js"),e("../proto/dist/generated/agent/v1/selected_context_pb.js"));e("../proto/dist/generated/agent/v1/requested_model_pb.js"),e("../proto/dist/generated/agent/v1/mcp_pb.js"),e("../proto/dist/generated/agent/v1/system_prompt_pb.js");const bo="agent.v1.";class yo extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return bo}}var wo=(0,i.QT)(s.proto3,bo,"AgentMode",[[0,"UNSPECIFIED"],[1,"AGENT"],[2,"ASK"],[3,"PLAN"],[4,"DEBUG"],[5,"TRIAGE"],[7,"MULTITASK"],[8,"CUSTOM"]],1),xo=(s.proto3,s.proto3,s.proto3,(0,i.QT)(s.proto3,bo,"SubagentRunStatus",[[0,"UNSPECIFIED"],[1,"RUNNING"],[2,"BACKGROUNDED"],[3,"SUCCESS"],[4,"ERROR"],[5,"ABORTED"]],1)),Jo=(0,i.QT)(s.proto3,bo,"SubagentDispatchTool",[[0,"UNSPECIFIED"],[1,"TASK"],[2,"CREATE_AGENT"],[3,"SEND_TO_AGENT"],[4,"CREATE_PROJECT"]],1),So=(0,i.QT)(s.proto3,bo,"CustomModeSource",[[0,"UNSPECIFIED"],[1,"AGENT_SKILL"],[2,"PLUGIN_SKILL"],[3,"REPO_SKILL"],[4,"MANAGED_SKILL"]],1),vo=(0,i.QT)(s.proto3,bo,"SimulatedMsgReason",[[0,"UNSPECIFIED"],[1,"PLAN_EXECUTION"],[2,"COMMIT_REMINDER"],[3,"BACKGROUND_TASK_COMPLETION"],[4,"DIFF_TAB_COMMIT"],[5,"DIFF_TAB_COMMIT_AND_PUSH"],[6,"DIFF_TAB_PUSH"],[7,"DIFF_TAB_CREATE_PR"],[8,"DIFF_TAB_FIX_MERGE_CONFLICTS"],[9,"USER_SENT_TO_SUBAGENT"],[10,"USER_INTERRUPTED_SUBAGENT"],[11,"USER_QUEUED_TO_SUBAGENT"],[12,"BABYSIT_PR_IN_CLOUD"],[13,"CI_PANEL_INVESTIGATE_FAILURE"],[14,"MULTITASK"],[15,"BUILD_IN_PARALLEL"],[16,"MULTITASK_SPLIT_PRS"],[17,"APPLY_LOCALLY"],[18,"CHECKOUT_BRANCH"],[19,"DIFF_TAB_UPDATE_BRANCH"],[20,"PR_TAB_BUGBOT_FIX"],[22,"RUN_BUGBOT_REVIEW"],[23,"RUN_SECURITY_REVIEW"],[24,"FSD_APPLY_FINDING"],[25,"FSD_UNDO_FINDING"],[26,"FSD_START"],[27,"FSD_PR_INTERRUPT"],[28,"SUBSCRIPTION"],[29,"DIFF_TAB_CREATE_BRANCH"],[30,"AGENT_STORE_CONFLICT"],[31,"GOAL_CONTINUATION"],[32,"PROJECT_KICKOFF"],[33,"MARKDOWN_PROMPT_BUTTON"],[34,"USER_QUICK_ACTION"],[35,"INTERACTION_RESPONSE"]],1),Bo=(0,i.QT)(s.proto3,bo,"SubscriptionSource",[[0,"UNSPECIFIED"],[1,"SLACK"],[2,"GITHUB"],[3,"LINEAR"],[4,"ORIGIN"],[5,"FACTORY"]],1),qo=(0,i.QT)(s.proto3,bo,"ReplyAudience",[[0,"UNSPECIFIED"],[1,"USER"],[2,"AGENT"]],1),Po=(0,i.QT)(s.proto3,bo,"TurnRunStatus",[[0,"UNSPECIFIED"],[1,"RUNNING"],[2,"COMPLETED"],[3,"FAILED"],[4,"INTERRUPTED"]],1),Io=(0,i.QT)(s.proto3,bo,"TurnInterruptReason",[[0,"UNSPECIFIED"],[1,"CANCELLED"],[2,"MAX_STEPS"]],1);s.proto3,s.proto3,s.proto3,s.proto3,s.proto3;class Oo extends yo{constructor(t){super(),this.description="",this.prompt="",this.attachments=[],this.mode=n.FL.UNSPECIFIED,this.respondingToMessageIds=[],this.environment=n.dU.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Oo).fromBinary(t,r)}static fromJson(t,r){return(new Oo).fromJson(t,r)}static fromJsonString(t,r){return(new Oo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Oo,t,r)}static $(){return["TaskArgs|1 description 9|2 prompt 9|3 subagent_type #0|4 model 9?|5 resume 9?|6 agent_id 9?|7 attachments 9*|8 mode #1|9 responding_to_message_ids 9*|10 environment #2|11 machine #3?",n._L,n.FL,n.dU,Eo]}}class Eo extends yo{constructor(t){super(),this.machine={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Eo).fromBinary(t,r)}static fromJson(t,r){return(new Eo).fromJson(t,r)}static fromJsonString(t,r){return(new Eo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Eo,t,r)}static $(){return["TargetMachine|1 same_machine #0 machine|2 new_cloud_vm #1 machine|3 self_hosted_worker #2 machine|4 self_hosted_pool #3 machine",Ao,$o,ko,To]}}class Ao extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ao).fromBinary(t,r)}static fromJson(t,r){return(new Ao).fromJson(t,r)}static fromJsonString(t,r){return(new Ao).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ao,t,r)}static $(){return["SameMachineTarget"]}}class $o extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $o).fromBinary(t,r)}static fromJson(t,r){return(new $o).fromJson(t,r)}static fromJsonString(t,r){return(new $o).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($o,t,r)}static $(){return["NewCloudVmTarget|1 environment_build_id 9?|2 base_branch 9?"]}}class ko extends yo{constructor(t){super(),this.workerId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ko).fromBinary(t,r)}static fromJson(t,r){return(new ko).fromJson(t,r)}static fromJsonString(t,r){return(new ko).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ko,t,r)}static $(){return["SelfHostedWorkerTarget|1 worker_id 9"]}}class To extends yo{constructor(t){super(),this.labels=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new To).fromBinary(t,r)}static fromJson(t,r){return(new To).fromJson(t,r)}static fromJsonString(t,r){return(new To).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(To,t,r)}static $(){return["SelfHostedPoolTarget|1 pool 9?|2 labels #0*",Co]}}class Co extends yo{constructor(t){super(),this.key="",this.value="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Co).fromBinary(t,r)}static fromJson(t,r){return(new Co).fromJson(t,r)}static fromJsonString(t,r){return(new Co).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Co,t,r)}static $(){return["SelfHostedWorkerLabel|1 key 9|2 value 9"]}}class Ro extends yo{constructor(t){super(),this.conversationSteps=[],this.isBackground=!1,this.backgroundReason=n.qL.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ro).fromBinary(t,r)}static fromJson(t,r){return(new Ro).fromJson(t,r)}static fromJsonString(t,r){return(new Ro).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ro,t,r)}static $(){return["TaskSuccess|1 conversation_steps #0*|2 agent_id 9?|3 is_background 8|4 duration_ms 4?|5 result_suffix 9?|6 background_reason #1|7 transcript_path 9?",Xo,n.qL]}}class Mo extends yo{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Mo).fromBinary(t,r)}static fromJson(t,r){return(new Mo).fromJson(t,r)}static fromJsonString(t,r){return(new Mo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Mo,t,r)}static $(){return["TaskError|1 error 9"]}}class Uo extends yo{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Uo).fromBinary(t,r)}static fromJson(t,r){return(new Uo).fromJson(t,r)}static fromJsonString(t,r){return(new Uo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Uo,t,r)}static $(){return["TaskResult|1 success #0 result|2 error #1 result",Ro,Mo]}}class No extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new No).fromBinary(t,r)}static fromJson(t,r){return(new No).fromJson(t,r)}static fromJsonString(t,r){return(new No).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(No,t,r)}static $(){return["TaskToolCall|1 args #0|2 result #1|3 cloud_agent_bc_id 9?",Oo,Uo]}}class Lo extends yo{constructor(t){super(),this.path="",this.branchName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Lo).fromBinary(t,r)}static fromJson(t,r){return(new Lo).fromJson(t,r)}static fromJsonString(t,r){return(new Lo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Lo,t,r)}static $(){return["SetActiveBranchArgs|1 path 9|2 branch_name 9"]}}class Do extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Do).fromBinary(t,r)}static fromJson(t,r){return(new Do).fromJson(t,r)}static fromJsonString(t,r){return(new Do).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Do,t,r)}static $(){return["SetActiveBranchSuccess"]}}class Fo extends yo{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fo).fromBinary(t,r)}static fromJson(t,r){return(new Fo).fromJson(t,r)}static fromJsonString(t,r){return(new Fo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fo,t,r)}static $(){return["SetActiveBranchError|1 error 9"]}}class Wo extends yo{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Wo).fromBinary(t,r)}static fromJson(t,r){return(new Wo).fromJson(t,r)}static fromJsonString(t,r){return(new Wo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Wo,t,r)}static $(){return["SetActiveBranchResult|1 success #0 result|2 error #1 result",Do,Fo]}}class zo extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zo).fromBinary(t,r)}static fromJson(t,r){return(new zo).fromJson(t,r)}static fromJsonString(t,r){return(new zo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zo,t,r)}static $(){return["SetActiveBranchToolCall|1 args #0|2 result #1",Lo,Wo]}}class Go extends yo{constructor(t){super(),this.tool={case:void 0},this.hookAdditionalContexts=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Go).fromBinary(t,r)}static fromJson(t,r){return(new Go).fromJson(t,r)}static fromJsonString(t,r){return(new Go).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Go,t,r)}static $(){return["ToolCall|1 shell_tool_call #0 tool|3 delete_tool_call #1 tool|4 glob_tool_call #2 tool|5 grep_tool_call #3 tool|8 read_tool_call #4 tool|9 update_todos_tool_call #5 tool|10 read_todos_tool_call #6 tool|12 edit_tool_call #7 tool|13 ls_tool_call #8 tool|14 read_lints_tool_call #9 tool|15 mcp_tool_call #10 tool|16 sem_search_tool_call #11 tool|17 create_plan_tool_call #12 tool|18 web_search_tool_call #13 tool|19 task_tool_call #14 tool|20 list_mcp_resources_tool_call #15 tool|21 read_mcp_resource_tool_call #16 tool|22 apply_agent_diff_tool_call #17 tool|23 ask_question_tool_call #18 tool|24 fetch_tool_call #19 tool|25 switch_mode_tool_call #20 tool|28 generate_image_tool_call #21 tool|29 record_screen_tool_call #22 tool|30 computer_use_tool_call #23 tool|31 write_shell_stdin_tool_call #24 tool|32 reflect_tool_call #25 tool|33 setup_vm_environment_tool_call #26 tool|34 truncated_tool_call #27 tool|35 start_grind_execution_tool_call #28 tool|36 start_grind_planning_tool_call #29 tool|37 web_fetch_tool_call #30 tool|38 report_bugfix_results_tool_call #31 tool|39 ai_attribution_tool_call #32 tool|40 pr_management_tool_call #33 tool|41 mcp_auth_tool_call #34 tool|42 await_tool_call #35 tool|43 blame_by_file_path_tool_call #36 tool|44 get_mcp_tools_tool_call #37 tool|45 report_bug_tool_call #38 tool|46 set_active_branch_tool_call #39 tool|48 communicate_update_tool_call #40 tool|49 send_final_summary_tool_call #41 tool|51 replace_env_tool_call #42 tool|52 edit_pr_labels_tool_call #43 tool|53 record_ci_investigation_findings_tool_call #44 tool|55 send_message_tool_call #45 tool|56 fetch_cloud_agent_data_tool_call #46 tool|58 send_to_user_tool_call #47 tool|68 connect_scm_tool_call #48 tool|69 search_conversations_tool_call #49 tool|70 create_goal_tool_call #50 tool|71 update_goal_tool_call #51 tool|73 get_agent_status_tool_call #52 tool|74 send_to_agent_tool_call #53 tool|75 read_agent_transcript_tool_call #54 tool|76 create_agent_tool_call #55 tool|77 stop_agent_tool_call #56 tool|79 write_canvas_tool_call #57 tool|80 read_canvas_tool_call #58 tool|81 generate_video_tool_call #59 tool|82 x_search_tool_call #60 tool|83 get_origin_pr_code_tour_tool_call #61 tool|84 update_origin_pr_code_tour_tool_call #62 tool|85 list_tracked_tasks_tool_call #63 tool|86 create_tracked_tasks_tool_call #64 tool|87 update_tracked_tasks_tool_call #65 tool|88 delete_tracked_tasks_tool_call #66 tool|89 update_tracked_task_statuses_tool_call #67 tool|90 create_project_tool_call #68 tool|91 update_tracked_task_tags_tool_call #69 tool|93 stop_project_updates_tool_call #70 tool|94 start_project_updates_tool_call #71 tool|54 hook_additional_contexts #72*|57 tool_call_id 9?|59 started_at_ms 4?|60 completed_at_ms 4?",u,m,g,y,J,I.bk,I.AJ,U,D,G,nt,at,dt.Ih,pt.pn,No,ht,_t,gt.JU,jt.OU,wt,xt.Cs,Jt.r9,Bt,qt.t8,Ot,Ct,Rt.MU,Yo,Ft,Kt,Qt.fd,Yt.U_,Xt.ex,Zt.AU,tr.NX,ur,fr,yr,Br,zo,Ar,Mr,Ur.us,zr,Zr,ae,pe,be,ye.iO,Je,Ee,Te,We,Ye,es,as,qs,kn,Un,Gn,to,ao,_o,Ls,Vs,nn,cn,_n,ds,xn,xs,gs,go.C]}}class Ho extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ho).fromBinary(t,r)}static fromJson(t,r){return(new Ho).fromJson(t,r)}static fromJsonString(t,r){return(new Ho).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ho,t,r)}static $(){return["TruncatedToolCallArgs"]}}class Vo extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vo).fromBinary(t,r)}static fromJson(t,r){return(new Vo).fromJson(t,r)}static fromJsonString(t,r){return(new Vo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vo,t,r)}static $(){return["TruncatedToolCallSuccess"]}}class Ko extends yo{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ko).fromBinary(t,r)}static fromJson(t,r){return(new Ko).fromJson(t,r)}static fromJsonString(t,r){return(new Ko).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ko,t,r)}static $(){return["TruncatedToolCallError|1 error 9"]}}class Qo extends yo{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qo).fromBinary(t,r)}static fromJson(t,r){return(new Qo).fromJson(t,r)}static fromJsonString(t,r){return(new Qo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qo,t,r)}static $(){return["TruncatedToolCallResult|1 success #0 result|2 error #1 result",Vo,Ko]}}class Yo extends yo{constructor(t){super(),this.originalStepBlobId=new Uint8Array(0),this.originalStepSizeBytes=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Yo).fromBinary(t,r)}static fromJson(t,r){return(new Yo).fromJson(t,r)}static fromJsonString(t,r){return(new Yo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Yo,t,r)}static $(){return["TruncatedToolCall|1 original_step_blob_id 12|2 args #0|3 result #1|4 original_step_size_bytes 13|5 preview #2",Ho,Qo,Go]}}class Xo extends yo{constructor(t){super(),this.message={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xo).fromBinary(t,r)}static fromJson(t,r){return(new Xo).fromJson(t,r)}static fromJsonString(t,r){return(new Xo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xo,t,r)}static $(){return["ConversationStep|1 assistant_message #0 message|2 tool_call #1 message|3 thinking_message #2 message",_i,Go,gi]}}class Zo extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Zo).fromBinary(t,r)}static fromJson(t,r){return(new Zo).fromJson(t,r)}static fromJsonString(t,r){return(new Zo).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Zo,t,r)}static $(){return["TriggeringUserInfo|1 auth_id 9?|2 user_id 5?|3 followup_id 9?"]}}class ti extends yo{constructor(t){super(),this.parentToolCallId="",this.environment=n.dU.UNSPECIFIED,this.status=xo.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ti).fromBinary(t,r)}static fromJson(t,r){return(new ti).fromJson(t,r)}static fromJsonString(t,r){return(new ti).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ti,t,r)}static $(){return["SubagentRunState|1 parent_tool_call_id 9|2 subagent_id 9?|3 environment #0|4 status #1|5 title 9?|6 detail 9?|7 transcript_path 9?|8 output_path 9?|9 completed_timestamp_ms 4?|10 completion_reason #2?",n.dU,xo,n.U6]}}class ri extends yo{constructor(t){super(),this.stepIndex=0,this.toolCallId="",this.tool=Jo.UNSPECIFIED,this.backgrounded=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ri).fromBinary(t,r)}static fromJson(t,r){return(new ri).fromJson(t,r)}static fromJsonString(t,r){return(new ri).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ri,t,r)}static $(){return["SubagentDispatchStep|1 step_index 13|2 tool_call_id 9|3 tool #0|4 backgrounded 8",Jo]}}class ei extends yo{constructor(t){super(),this.id="",this.label="",this.source=So.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ei).fromBinary(t,r)}static fromJson(t,r){return(new ei).fromJson(t,r)}static fromJsonString(t,r){return(new ei).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ei,t,r)}static $(){return["SubmittedCustomMode|1 id 9|2 label 9|5 source #0|6 source_path 9?|7 source_hash 9?|10 managed_skill_id 9?|11 plugin_id 9?|12 plugin_snapshot_token 9?",So]}}class si extends yo{constructor(t){super(),this.id="",this.label="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new si).fromBinary(t,r)}static fromJson(t,r){return(new si).fromJson(t,r)}static fromJsonString(t,r){return(new si).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(si,t,r)}static $(){return["SubmittedExitedCustomMode|1 id 9|2 label 9"]}}class ni extends yo{constructor(t){super(),this.nextMode=wo.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ni).fromBinary(t,r)}static fromJson(t,r){return(new ni).fromJson(t,r)}static fromJsonString(t,r){return(new ni).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ni,t,r)}static $(){return["CustomModeExitIntent|1 next_mode #0|2 exited_mode #1",wo,si]}}class oi extends yo{constructor(t){super(),this.intent={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new oi).fromBinary(t,r)}static fromJson(t,r){return(new oi).fromJson(t,r)}static fromJsonString(t,r){return(new oi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(oi,t,r)}static $(){return["CustomModeIntent|1 enter #0 intent|2 exit #1 intent",ei,ni]}}class ii extends yo{constructor(t){super(),this.interactionId="",this.skippedQuestionIds=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ii).fromBinary(t,r)}static fromJson(t,r){return(new ii).fromJson(t,r)}static fromJsonString(t,r){return(new ii).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ii,t,r)}static $(){return["InteractionResponseMetadata|1 interaction_id 9|2 response #0?|3 skipped_question_ids 9*",Zi]}}class ai extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ai).fromBinary(t,r)}static fromJson(t,r){return(new ai).fromJson(t,r)}static fromJsonString(t,r){return(new ai).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ai,t,r)}static $(){return["SubscriptionEventDisplay|1 display_label 9?|2 resource_url 9?|3 subscription_id 9?"]}}class ui extends yo{constructor(t){super(),this.planId="",this.planTitle="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ui).fromBinary(t,r)}static fromJson(t,r){return(new ui).fromJson(t,r)}static fromJsonString(t,r){return(new ui).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ui,t,r)}static $(){return["ExecutePlanInfo|1 plan_id 9|2 plan_title 9"]}}class li extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new li).fromBinary(t,r)}static fromJson(t,r){return(new li).fromJson(t,r)}static fromJsonString(t,r){return(new li).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(li,t,r)}static $(){return["ProjectDetails|1 name 9?|2 subagent #0?|3 side_chat #1?|4 init_description 9?",ci,mi]}}class ci extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ci).fromBinary(t,r)}static fromJson(t,r){return(new ci).fromJson(t,r)}static fromJsonString(t,r){return(new ci).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ci,t,r)}static $(){return["ProjectSubagentDetails|2 store_dir 9?"]}}class mi extends yo{constructor(t){super(),this.storeDir="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mi).fromBinary(t,r)}static fromJson(t,r){return(new mi).fromJson(t,r)}static fromJsonString(t,r){return(new mi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mi,t,r)}static $(){return["ProjectSideChatDetails|1 store_dir 9"]}}class di extends yo{constructor(t){super(),this.text="",this.messageId="",this.mode=wo.UNSPECIFIED,this.conversationStateBlobId=new Uint8Array(0),this.hookAdditionalContexts=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new di).fromBinary(t,r)}static fromJson(t,r){return(new di).fromJson(t,r)}static fromJsonString(t,r){return(new di).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(di,t,r)}static $(){return["UserMessage|1 text 9|2 message_id 9|3 selected_context #0?|4 mode #1|5 is_simulated_msg 8?|6 best_of_n_group_id 9?|7 try_use_best_of_n_promotion 8?|8 rich_text 9?|9 simulated_msg_reason #2?|10 conversation_state_blob_id 12|11 subagent_system_reminder 9?|13 triggering_user_info #3?|14 execute_plan_info #4?|15 simulated_message_metadata #5?|16 prompt_reference_id 9?|17 thread_id 9?|18 text_blob_id 12?|19 rich_text_blob_id 12?|21 hook_additional_contexts #6*|22 custom_mode_intent #7?|23 project_details #8?|24 turn_steer 8?|25 started_at_ms 4?|26 completed_at_ms 4?|27 sent_by_agent_id 9?|28 sent_by_voice_call 8?|29 sender #9?|30 forked_context 9?|31 reply_to 9?|32 reply_audience #10?|33 reply_to_tool_call_id 9?|34 during_voice_call 8?|35 inherits_voice_call 8?|36 voice_calls_read_utterances 8?|37 summarized_tool_call_id 9?|38 sender_time_zone 9?",jo.xv,wo,vo,Zo,ui,pi,go.C,oi,li,fi,qo]}}class pi extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new pi).fromBinary(t,r)}static fromJson(t,r){return(new pi).fromJson(t,r)}static fromJsonString(t,r){return(new pi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(pi,t,r)}static $(){return["UserMessage.SimulatedMessageMetadata|1 title 9?|2 task_id 9?|3 fsd_finding_action 9?|4 url 9?|5 subscription_source #0?|6 subscription_event_display #1?|7 interaction_response #2?|8 tool_call_id 9?",Bo,ai,ii]}}class fi extends yo{constructor(t){super(),this.kind=hi.UNSPECIFIED,this.id="",this.displayName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new fi).fromBinary(t,r)}static fromJson(t,r){return(new fi).fromJson(t,r)}static fromJsonString(t,r){return(new fi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(fi,t,r)}static $(){return["MessageSender|1 kind #0|2 id 9|3 display_name 9",hi]}}var hi=(0,i.QT)(s.proto3,bo,"MessageSender.Kind",[[0,"UNSPECIFIED"],[1,"AGENT"],[2,"VOICE_CALL"],[3,"MAIN_BOT"],[4,"PROJECT"],[5,"PROJECT_SLACK"]],1);class _i extends yo{constructor(t){super(),this.text="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _i).fromBinary(t,r)}static fromJson(t,r){return(new _i).fromJson(t,r)}static fromJsonString(t,r){return(new _i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_i,t,r)}static $(){return["AssistantMessage|1 text 9|2 started_at_ms 4?|3 completed_at_ms 4?"]}}class gi extends yo{constructor(t){super(),this.text="",this.durationMs=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new gi).fromBinary(t,r)}static fromJson(t,r){return(new gi).fromJson(t,r)}static fromJsonString(t,r){return(new gi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(gi,t,r)}static $(){return["ThinkingMessage|1 text 9|2 duration_ms 13|3 started_at_ms 4?|4 completed_at_ms 4?"]}}class ji extends yo{constructor(t){super(),this.command="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ji).fromBinary(t,r)}static fromJson(t,r){return(new ji).fromJson(t,r)}static fromJsonString(t,r){return(new ji).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ji,t,r)}static $(){return["ShellCommand|1 command 9"]}}class bi extends yo{constructor(t){super(),this.stdout="",this.stderr="",this.exitCode=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new bi).fromBinary(t,r)}static fromJson(t,r){return(new bi).fromJson(t,r)}static fromJsonString(t,r){return(new bi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(bi,t,r)}static $(){return["ShellOutput|1 stdout 9|2 stderr 9|3 exit_code 5"]}}class yi extends yo{constructor(t){super(),this.turn={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new yi).fromBinary(t,r)}static fromJson(t,r){return(new yi).fromJson(t,r)}static fromJsonString(t,r){return(new yi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(yi,t,r)}static $(){return["ConversationTurn|1 agent_conversation_turn #0 turn|2 shell_conversation_turn #1 turn",vi,Pi]}}class wi extends yo{constructor(t){super(),this.plan="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new wi).fromBinary(t,r)}static fromJson(t,r){return(new wi).fromJson(t,r)}static fromJsonString(t,r){return(new wi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(wi,t,r)}static $(){return["ConversationPlan|1 plan 9"]}}class xi extends yo{constructor(t){super(),this.id="",this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new xi).fromBinary(t,r)}static fromJson(t,r){return(new xi).fromJson(t,r)}static fromJsonString(t,r){return(new xi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(xi,t,r)}static $(){return["PlanRegistryEntry|1 id 9|2 path 9"]}}class Ji extends yo{constructor(t){super(),this.conversationId="",this.goalId="",this.objective="",this.status=Be.UNSPECIFIED,this.idleContinuationsWithoutToolCalls=0,this.continuationCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ji).fromBinary(t,r)}static fromJson(t,r){return(new Ji).fromJson(t,r)}static fromJsonString(t,r){return(new Ji).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ji,t,r)}static $(){return["GoalState|1 conversation_id 9|2 goal_id 9|3 objective 9|4 status #0|5 idle_continuations_without_tool_calls 13|6 active_duration_ms 4?|7 last_accrued_at_ms 4?|8 continuation_count 13|9 agent_session_id 9?|11 context_tokens_added 3?",Be]}}class Si extends yo{constructor(t){super(),this.turn={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Si).fromBinary(t,r)}static fromJson(t,r){return(new Si).fromJson(t,r)}static fromJsonString(t,r){return(new Si).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Si,t,r)}static $(){return["ConversationTurnStructure|1 agent_conversation_turn #0 turn|2 shell_conversation_turn #1 turn",Bi,Ii]}}class vi extends yo{constructor(t){super(),this.steps=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new vi).fromBinary(t,r)}static fromJson(t,r){return(new vi).fromJson(t,r)}static fromJsonString(t,r){return(new vi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(vi,t,r)}static $(){return["AgentConversationTurn|1 user_message #0|2 steps #1*|3 request_id 9?",di,Xo]}}class Bi extends yo{constructor(t){super(),this.userMessage=new Uint8Array(0),this.steps=[],this.sendMessageStepIndices=[],this.subagentDispatchSteps=[],this.dynamicToolNames=[],this.longReasoningReminderExposureLogged=!1,this.assistantTextStepIndices=[],this.appSecretsRequestStepIndices=[],this.preferenceChangeStepIndices=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Bi).fromBinary(t,r)}static fromJson(t,r){return(new Bi).fromJson(t,r)}static fromJsonString(t,r){return(new Bi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Bi,t,r)}static $(){return["AgentConversationTurnStructure|1 user_message 12|2 steps 12*|3 request_id 9?|4 encrypted_model 9?|5 dynamic_tool_count 13?|6 send_message_step_indices 13*|7 routed_model_display_name 9?|8 subagent_dispatch_steps #0*|9 dynamic_tool_names 9*|10 user_message_id 9?|11 long_reasoning_reminder #1?|12 long_reasoning_reminder_exposure_logged 8|13 assistant_text_step_indices 13*|14 assistant_text_steps_recorded 8?|15 app_secrets_request_step_indices 13*|16 preference_change_step_indices 13*|17 run #2?",ri,qi,Di]}}class qi extends yo{constructor(t){super(),this.remainingDelayCalls=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new qi).fromBinary(t,r)}static fromJson(t,r){return(new qi).fromJson(t,r)}static fromJsonString(t,r){return(new qi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(qi,t,r)}static $(){return["LongReasoningReminderState|1 remaining_delay_calls 13"]}}class Pi extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Pi).fromBinary(t,r)}static fromJson(t,r){return(new Pi).fromJson(t,r)}static fromJsonString(t,r){return(new Pi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Pi,t,r)}static $(){return["ShellConversationTurn|1 shell_command #0|2 shell_output #1",ji,bi]}}class Ii extends yo{constructor(t){super(),this.shellCommand=new Uint8Array(0),this.shellOutput=new Uint8Array(0),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ii).fromBinary(t,r)}static fromJson(t,r){return(new Ii).fromJson(t,r)}static fromJsonString(t,r){return(new Ii).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ii,t,r)}static $(){return["ShellConversationTurnStructure|1 shell_command 12|2 shell_output 12"]}}class Oi extends yo{constructor(t){super(),this.summary="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Oi).fromBinary(t,r)}static fromJson(t,r){return(new Oi).fromJson(t,r)}static fromJsonString(t,r){return(new Oi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Oi,t,r)}static $(){return["ConversationSummary|1 summary 9"]}}class Ei extends yo{constructor(t){super(),this.summarizedMessages=[],this.summary="",this.windowTail=0,this.summaryMessage=new Uint8Array(0),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ei).fromBinary(t,r)}static fromJson(t,r){return(new Ei).fromJson(t,r)}static fromJsonString(t,r){return(new Ei).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ei,t,r)}static $(){return["ConversationSummaryArchive|1 summarized_messages 12*|2 summary 9|3 window_tail 13|4 summary_message 12"]}}class Ai extends yo{constructor(t){super(),this.id="",this.label="",this.estimatedTokens=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ai).fromBinary(t,r)}static fromJson(t,r){return(new Ai).fromJson(t,r)}static fromJsonString(t,r){return(new Ai).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ai,t,r)}static $(){return["PromptTokenBreakdownCategory|1 id 9|2 label 9|3 estimated_tokens 13|4 character_count 13?"]}}class $i extends yo{constructor(t){super(),this.totalUsedTokens=0,this.maxTokens=0,this.categories=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $i).fromBinary(t,r)}static fromJson(t,r){return(new $i).fromJson(t,r)}static fromJsonString(t,r){return(new $i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($i,t,r)}static $(){return["PromptTokenBreakdownSnapshot|1 total_used_tokens 13|2 max_tokens 13|3 categories #0*",Ai]}}class ki extends yo{constructor(t){super(),this.sourceType="",this.messageIndex=0,this.contentPath="",this.startOffset=0,this.endOffset=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ki).fromBinary(t,r)}static fromJson(t,r){return(new ki).fromJson(t,r)}static fromJsonString(t,r){return(new ki).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ki,t,r)}static $(){return["PromptContextSourceRef|1 source_type 9|3 message_index 13|4 content_path 9|5 start_offset 13|6 end_offset 13"]}}class Ti extends yo{constructor(t){super(),this.id="",this.kind="",this.label="",this.categoryId="",this.estimatedTokens=0,this.characterCount=0,this.contentAvailable=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ti).fromBinary(t,r)}static fromJson(t,r){return(new Ti).fromJson(t,r)}static fromJsonString(t,r){return(new Ti).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ti,t,r)}static $(){return["PromptContextNode|1 id 9|2 parent_id 9?|3 kind 9|4 label 9|5 category_id 9|6 estimated_tokens 13|7 character_count 13|9 content_available 8|11 source #0?|12 inline_content 9?",ki]}}class Ci extends yo{constructor(t){super(),this.schemaVersion=0,this.nodes=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ci).fromBinary(t,r)}static fromJson(t,r){return(new Ci).fromJson(t,r)}static fromJsonString(t,r){return(new Ci).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ci,t,r)}static $(){return["PromptContextUsageTree|1 schema_version 13|2 nodes #0*",Ti]}}class Ri extends yo{constructor(t){super(),this.usedTokens=0,this.maxTokens=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ri).fromBinary(t,r)}static fromJson(t,r){return(new Ri).fromJson(t,r)}static fromJsonString(t,r){return(new Ri).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ri,t,r)}static $(){return["ConversationTokenDetails|1 used_tokens 13|2 max_tokens 13|3 breakdown #0?|4 prompt_context_usage_tree #1?",$i,Ci]}}class Mi extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Mi).fromBinary(t,r)}static fromJson(t,r){return(new Mi).fromJson(t,r)}static fromJsonString(t,r){return(new Mi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Mi,t,r)}static $(){return["FileState|1 content 9?|2 initial_content 9?"]}}class Ui extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ui).fromBinary(t,r)}static fromJson(t,r){return(new Ui).fromJson(t,r)}static fromJsonString(t,r){return(new Ui).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ui,t,r)}static $(){return["FileStateStructure|1 content 12?|2 initial_content 12?"]}}class Ni extends yo{constructor(t){super(),this.durationMs=s.protoInt64.zero,this.timestampMs=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ni).fromBinary(t,r)}static fromJson(t,r){return(new Ni).fromJson(t,r)}static fromJsonString(t,r){return(new Ni).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ni,t,r)}static $(){return["StepTiming|1 duration_ms 4|2 timestamp_ms 4"]}}class Li extends yo{constructor(t){super(),this.completedTurnCountCapped=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Li).fromBinary(t,r)}static fromJson(t,r){return(new Li).fromJson(t,r)}static fromJsonString(t,r){return(new Li).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Li,t,r)}static $(){return["TurnTelemetryState|1 completed_turn_count_capped 13|2 last_completed_turn_timestamp_ms 4?"]}}class Di extends yo{constructor(t){super(),this.runId="",this.status=Po.UNSPECIFIED,this.startedAtMs=s.protoInt64.zero,this.attemptCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Di).fromBinary(t,r)}static fromJson(t,r){return(new Di).fromJson(t,r)}static fromJsonString(t,r){return(new Di).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Di,t,r)}static $(){return["TurnRunRecord|1 run_id 9|2 status #0|3 started_at_ms 4|4 finished_at_ms 4?|5 attempt_count 13|6 interrupt_reason #1?",Po,Io]}}class Fi extends yo{constructor(t){super(),this.rootPromptMessagesJson=[],this.turns=[],this.todos=[],this.pendingToolCalls=[],this.fileStates={},this.summaryArchives=[],this.plans={},this.communicateUpdateHistory=[],this.communicateUpdateStatesByParentToolCallId={},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Fi).fromBinary(t,r)}static fromJson(t,r){return(new Fi).fromJson(t,r)}static fromJsonString(t,r){return(new Fi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Fi,t,r)}static $(){return["ConversationState|1 root_prompt_messages_json 9*|8 turns #0*|3 todos #1*|4 pending_tool_calls 9*|5 token_details #2|6 summary #3?|7 plan #4?|9 summary_archive #5?|10 file_states 9,#6|11 summary_archives #5*|12 plans 9,#7|13 communicate_update_history #8*|14 communicate_update_final_summary 9?|15 communicate_update_completed_subtitle 9?|16 communicate_update_states_by_parent_tool_call_id 9,#9",yi,I.kW,Ri,Oi,wi,Ei,Mi,xi,Wi,zi]}}class Wi extends yo{constructor(t){super(),this.step="",this.messageIndex=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Wi).fromBinary(t,r)}static fromJson(t,r){return(new Wi).fromJson(t,r)}static fromJsonString(t,r){return(new Wi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Wi,t,r)}static $(){return["CommunicateUpdateHistoryEntry|1 step 9|3 message_index 13"]}}class zi extends yo{constructor(t){super(),this.history=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new zi).fromBinary(t,r)}static fromJson(t,r){return(new zi).fromJson(t,r)}static fromJsonString(t,r){return(new zi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(zi,t,r)}static $(){return["CommunicateUpdateTurnState|1 history #0*|2 final_summary 9?|3 completed_subtitle 9?",Wi]}}class Gi extends yo{constructor(t){super(),this.createdTimestampMs=s.protoInt64.zero,this.lastUsedTimestampMs=s.protoInt64.zero,this.environment=n.dU.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Gi).fromBinary(t,r)}static fromJson(t,r){return(new Gi).fromJson(t,r)}static fromJsonString(t,r){return(new Gi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Gi,t,r)}static $(){return["SubagentPersistedState|1 conversation_state #0|2 created_timestamp_ms 4|3 last_used_timestamp_ms 4|4 subagent_type #1|5 model_id 9?|6 environment #2|7 cloud_subagent #3?|8 first_class_bc_id 9?|9 cloud_requested_environment_build_id 9?|10 machine #4?",Ki,n._L,n.dU,Hi,Eo]}}class Hi extends yo{constructor(t){super(),this.bcId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Hi).fromBinary(t,r)}static fromJson(t,r){return(new Hi).fromJson(t,r)}static fromJsonString(t,r){return(new Hi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Hi,t,r)}static $(){return["CloudSubagentReference|1 bc_id 9|2 transcript_path 9?"]}}class Vi extends yo{constructor(t){super(),this.repoPath="",this.branchName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Vi).fromBinary(t,r)}static fromJson(t,r){return(new Vi).fromJson(t,r)}static fromJsonString(t,r){return(new Vi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Vi,t,r)}static $(){return["TrackedGitRepo|1 repo_path 9|2 branch_name 9"]}}class Ki extends yo{constructor(t){super(),this.rootPromptMessagesJson=[],this.turns=[],this.todos=[],this.pendingToolCalls=[],this.previousWorkspaceUris=[],this.fileStates={},this.fileStatesV2={},this.summaryArchives=[],this.turnTimings=[],this.subagentStates={},this.selfSummaryCount=0,this.readPaths=[],this.plans={},this.trackedGitRepoBranches=[],this.communicateUpdateHistory=[],this.subagentThreads={},this.communicateUpdateStatesByParentToolCallId={},this.subagentRunsByParentToolCallId={},this.subagentStateRefs={},this.completedAskQuestionToolCallIds=[],this.durableSkillBlocks=[],this.recentUserMessageIds=[],this.mentionedAgentIds=[],this.voiceCallUtterances=[],this.voiceCallTimeTaskIds=[],this.writesVoiceCallUtterances=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Ki).fromBinary(t,r)}static fromJson(t,r){return(new Ki).fromJson(t,r)}static fromJsonString(t,r){return(new Ki).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Ki,t,r)}static $(){return["ConversationStateStructure|1 root_prompt_messages_json 12*|8 turns 12*|3 todos 12*|4 pending_tool_calls 9*|5 token_details #0|6 summary 12?|7 plan 12?|9 previous_workspace_uris 9*|10 mode #1?|11 summary_archive 12?|12 file_states 9,12|15 file_states_v2 9,#2|13 summary_archives 12*|14 turn_timings #3*|16 subagent_states 9,#4|17 self_summary_count 13|18 read_paths 9*|19 active_branch_name 9?|20 plans 9,#5|21 tracked_git_repo_branches #6*|22 agent_type 9?|23 communicate_update_history #7*|24 subagent_threads 9,9|25 communicate_update_final_summary 9?|28 communicate_update_completed_subtitle 9?|29 communicate_update_states_by_parent_tool_call_id 9,#8|30 subagent_runs_by_parent_tool_call_id 9,#9|26 conversation_started_timestamp_ms 4?|27 conversation_started_time_zone 9?|31 subagent_state_refs 9,12|32 goal_state #10?|33 is_root_project_conversation 8?|34 completed_ask_question_tool_call_ids 9*|35 durable_skill_blocks 9*|36 durable_custom_mode_id 9?|37 message_count_at_last_compaction 13?|38 recent_user_message_ids 9*|39 recent_user_message_ids_older_turn_count 13?|40 turn_telemetry #11?|42 mentioned_agent_ids 9*|43 voice_call_utterances #12*|44 voice_call_pending_answer #13?|45 voice_call_time_task_ids 9*|46 writes_voice_call_utterances 8|47 voice_calls_read_utterances 8?|49 user_time_zone 9?|50 project_coordinator_system_section 9?|51 project_coordinator_system_section_communication_rules 8?|52 last_run #14?",Ri,wo,Ui,Ni,Gi,xi,Vi,Wi,zi,ti,Ji,Li,Qi,Xi,Di]}}class Qi extends yo{constructor(t){super(),this.id="",this.kind=Yi.UNSPECIFIED,this.text="",this.answersMessageIds=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Qi).fromBinary(t,r)}static fromJson(t,r){return(new Qi).fromJson(t,r)}static fromJsonString(t,r){return(new Qi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Qi,t,r)}static $(){return["VoiceCallUtterance|1 id 9|2 kind #0|3 text 9|4 answers_message_ids 9*",Yi]}}var Yi=(0,i.QT)(s.proto3,bo,"VoiceCallUtterance.Kind",[[0,"UNSPECIFIED"],[1,"SEND"],[2,"TERMINAL"]],1);class Xi extends yo{constructor(t){super(),this.messageIds=[],this.readsUtterances=!1,this.endedOnSend=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Xi).fromBinary(t,r)}static fromJson(t,r){return(new Xi).fromJson(t,r)}static fromJsonString(t,r){return(new Xi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Xi,t,r)}static $(){return["VoiceCallPendingAnswer|1 message_ids 9*|2 reads_utterances 8|3 ended_on_send 8"]}}class Zi extends yo{constructor(t){super(),this.id=0,this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Zi).fromBinary(t,r)}static fromJson(t,r){return(new Zi).fromJson(t,r)}static fromJsonString(t,r){return(new Zi).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Zi,t,r)}static $(){return["InteractionResponse|1 id 13|2 web_search_request_response #0 result|3 ask_question_interaction_response #1 result|4 switch_mode_request_response #2 result|7 create_plan_request_response #3 result|8 setup_vm_environment_result #4 result|9 web_fetch_request_response #5 result|10 pr_management_result #6 result|11 mcp_auth_request_response #7 result|12 generate_image_request_response #8 result|13 replace_env_result #9 result|14 connect_scm_request_response #10 result",pt.lI,ta,xt.w$,dt.gz,Rt.r$,Qt.fS,Zt.HL,tr.h,Jt.vW,Ur.dV,ye.qG]}}class ta extends yo{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ta).fromBinary(t,r)}static fromJson(t,r){return(new ta).fromJson(t,r)}static fromJsonString(t,r){return(new ta).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ta,t,r)}static $(){return["AskQuestionInteractionResponse|1 result #0",jt.tz]}}},"../proto/dist/generated/agent/v1/agent_skills_pb.js"(t,r,e){e.d(r,{N:()=>i});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.fullPath="",this.content="",this.description="",this.environments=[],this.disabledEnvironments=[],this.disableModelInvocation=!1,this.globs=[],this.scopedTo=[],this.argumentHint="",this.disableUserInvocation=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["AgentSkill|1 full_path 9|2 content 9|3 description 9|4 parse_error 9?|5 environments 9*|6 disabled_environments 9*|7 git_remote_origin 9?|8 disable_model_invocation 8|9 plugin 9?|10 marketplace 9?|11 plugin_id 9?|12 marketplace_id 9?|13 globs 9*|14 scoped_to 9*|15 argument_hint 9|16 disable_user_invocation 8"]}}},"../proto/dist/generated/agent/v1/ai_attribution_tool_pb.js"(t,r,e){e.d(r,{ex:()=>m});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/utils_pb.js"),o=e("../proto/dist/runtime/compact.js");class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class a extends i{constructor(t){super(),this.filePaths=[],this.commitHashes=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["AiAttributionArgs|5 file_paths 9*|2 start_line 5?|3 end_line 5?|6 commit_hashes 9*|7 output_mode 9?|9 max_commits 5?|10 include_line_ranges 8?"]}}class u extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["AiAttributionResult|1 success #0 result|2 error #1 result",l,c]}}class l extends i{constructor(t){super(),this.attributionText="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["AiAttributionSuccess|1 attribution_text 9|2 output_location #0?",n.pV]}}class c extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["AiAttributionError|1 error 9"]}}class m extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["AiAttributionToolCall|1 args #0|2 result #1",a,u]}}},"../proto/dist/generated/agent/v1/apply_agent_diff_tool_pb.js"(t,r,e){e.d(r,{JU:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}class a extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["ApplyAgentDiffToolCall|1 args #0|2 result #1",u,l]}}class u extends i{constructor(t){super(),this.agentId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["ApplyAgentDiffArgs|1 agent_id 9"]}}class l extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["ApplyAgentDiffResult|1 success #0 result|2 error #1 result",c,p]}}class c extends i{constructor(t){super(),this.appliedChanges=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["ApplyAgentDiffSuccess|1 applied_changes #0*",m]}}class m extends i{constructor(t){super(),this.path="",this.changeType=d.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["AppliedAgentChange|1 path 9|2 change_type #0|3 before_content 9?|4 after_content 9?|5 error 9?|6 message_for_model 9?",d]}}var d=(0,n.QT)(s.proto3,o,"AppliedAgentChange.ChangeType",[[0,"UNSPECIFIED"],[1,"CREATED"],[2,"MODIFIED"],[3,"DELETED"]],1);class p extends i{constructor(t){super(),this.error="",this.appliedChanges=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["ApplyAgentDiffError|1 error 9|2 applied_changes #0*",m]}}},"../proto/dist/generated/agent/v1/ask_question_tool_pb.js"(t,r,e){e.d(r,{OU:()=>i,ju:()=>a,tz:()=>m});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["AskQuestionToolCall|1 args #0|2 result #1",a,m]}}class a extends o{constructor(t){super(),this.title="",this.questions=[],this.runAsync=!1,this.asyncOriginalToolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["AskQuestionArgs|1 title 9|2 questions #0*|5 run_async 8|6 async_original_tool_call_id 9",u]}}class u extends o{constructor(t){super(),this.id="",this.prompt="",this.options=[],this.allowMultiple=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["AskQuestionArgs.Question|1 id 9|2 prompt 9|3 options #0*|4 allow_multiple 8|5 prompt_markdown 9?",l]}}class l extends o{constructor(t){super(),this.id="",this.label="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["AskQuestionArgs.Option|1 id 9|2 label 9"]}}class c extends o{constructor(t){super(),this.interactionId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["AskQuestionAsync|1 interaction_id 9"]}}class m extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["AskQuestionResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 async #3 result",d,f,h,c]}}class d extends o{constructor(t){super(),this.answers=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["AskQuestionSuccess|1 answers #0*",p]}}class p extends o{constructor(t){super(),this.questionId="",this.selectedOptionIds=[],this.freeformText="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["AskQuestionSuccess.Answer|1 question_id 9|2 selected_option_ids 9*|3 freeform_text 9"]}}class f extends o{constructor(t){super(),this.errorMessage="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["AskQuestionError|1 error_message 9"]}}class h extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["AskQuestionRejected|1 reason 9"]}}},"../proto/dist/generated/agent/v1/background_shell_exec_pb.js"(t,r,e){e.d(r,{LL:()=>i,nt:()=>a});var s=e("@bufbuild/protobuf"),n=(e("../proto/dist/generated/agent/v1/shell_exec_pb.js"),e("../proto/dist/generated/agent/v1/sandbox_pb.js"),e("../proto/dist/generated/agent/v1/utils_pb.js"),e("../proto/dist/runtime/compact.js"));class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.shellId=0,this.chars="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["WriteShellStdinArgs|1 shell_id 13|2 chars 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["WriteShellStdinResult|1 success #0 result|2 error #1 result",u,l]}}class u extends o{constructor(t){super(),this.shellId=0,this.terminalFileLengthBeforeInputWritten=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["WriteShellStdinSuccess|1 shell_id 13|2 terminal_file_length_before_input_written 13"]}}class l extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["WriteShellStdinError|1 error 9"]}}},"../proto/dist/generated/agent/v1/computer_use_tool_pb.js"(t,r,e){e.d(r,{t8:()=>E});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"MouseButton",[[0,"UNSPECIFIED"],[1,"LEFT"],[2,"RIGHT"],[3,"MIDDLE"],[4,"BACK"],[5,"FORWARD"]],1),u=(0,n.QT)(s.proto3,o,"ScrollDirection",[[0,"UNSPECIFIED"],[1,"UP"],[2,"DOWN"],[3,"LEFT"],[4,"RIGHT"]],1),l=(0,n.QT)(s.proto3,o,"KeyStroke",[[0,"UNSPECIFIED"],[1,"TAP"],[2,"DOWN"],[3,"UP"]],1),c=(0,n.QT)(s.proto3,o,"ComputerUseDriver",[[0,"UNSPECIFIED"],[1,"XDOTOOL"],[2,"NATIVE_X11"]],1);class m extends i{constructor(t){super(),this.x=0,this.y=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["Coordinate|1 x 5|2 y 5"]}}class d extends i{constructor(t){super(),this.toolCallId="",this.actions=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ComputerUseArgs|1 tool_call_id 9|2 actions #0*|3 description 9?|4 bind_unmapped_characters 8?|5 desktop_lease_actor_id 9?|6 screenshot_settle_ms 5?|10 native_x11_driver #1?|11 mark_monitor_busy 8?|9 full_resolution_screenshot 8?|12 capture_name_prefix 9?|13 omit_inline_screenshot 8?",f,p]}}class p extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["NativeX11Driver|1 typing_delay_ms 5?|2 allow_fallback 8?"]}}class f extends i{constructor(t){super(),this.action={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ComputerUseAction|1 mouse_move #0 action|2 click #1 action|3 mouse_down #2 action|4 mouse_up #3 action|5 drag #4 action|6 scroll #5 action|7 type #6 action|8 key #7 action|9 wait #8 action|10 screenshot #9 action|11 cursor_position #10 action",h,_,g,j,b,y,w,x,J,S,v]}}class h extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["MouseMoveAction|1 coordinate #0",m]}}class _ extends i{constructor(t){super(),this.button=a.UNSPECIFIED,this.count=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["ClickAction|1 coordinate #0?|2 button #1|3 count 5|4 modifier_keys 9?",m,a]}}class g extends i{constructor(t){super(),this.button=a.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["MouseDownAction|1 button #0",a]}}class j extends i{constructor(t){super(),this.button=a.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["MouseUpAction|1 button #0",a]}}class b extends i{constructor(t){super(),this.path=[],this.button=a.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["DragAction|1 path #0*|2 button #1|3 modifier_keys 9?",m,a]}}class y extends i{constructor(t){super(),this.direction=u.UNSPECIFIED,this.amount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["ScrollAction|1 coordinate #0?|2 direction #1|3 amount 5|4 modifier_keys 9?",m,u]}}class w extends i{constructor(t){super(),this.text="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["TypeAction|1 text 9"]}}class x extends i{constructor(t){super(),this.key="",this.stroke=l.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["KeyAction|1 key 9|2 hold_duration_ms 5?|3 stroke #0",l]}}class J extends i{constructor(t){super(),this.durationMs=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["WaitAction|1 duration_ms 5"]}}class S extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["ScreenshotAction"]}}class v extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["CursorPositionAction"]}}class B extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["ComputerUseResult|1 success #0 result|2 error #1 result",q,O]}}class q extends i{constructor(t){super(),this.actionCount=0,this.durationMs=0,this.typing=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["ComputerUseSuccess|1 action_count 5|2 duration_ms 5|3 screenshot 9?|4 log 9?|5 screenshot_path 9?|6 cursor_position #0?|7 settle_ms 5?|9 driver #1?|10 monitor_busy_marked 8?|11 full_resolution_screenshot #2?|12 typing #3*",m,c,P,I]}}class P extends i{constructor(t){super(),this.path="",this.sha256="",this.sizeBytes=0,this.width=0,this.height=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["ComputerUseFullResolutionScreenshot|1 path 9|2 sha256 9|3 size_bytes 13|4 width 5|5 height 5"]}}class I extends i{constructor(t){super(),this.method="",this.chars=0,this.atoms=0,this.typedAtoms=0,this.aborted=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new I).fromBinary(t,r)}static fromJson(t,r){return(new I).fromJson(t,r)}static fromJsonString(t,r){return(new I).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(I,t,r)}static $(){return["ComputerUseTyping|1 method 9|2 chars 5|3 atoms 5|4 typed_atoms 5|5 aborted 8|6 check 9?|7 verified 5?|8 unchecked 9?|9 landing 9?"]}}class O extends i{constructor(t){super(),this.error="",this.actionCount=0,this.durationMs=0,this.typing=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new O).fromBinary(t,r)}static fromJson(t,r){return(new O).fromJson(t,r)}static fromJsonString(t,r){return(new O).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(O,t,r)}static $(){return["ComputerUseError|1 error 9|2 action_count 5|3 duration_ms 5|4 log 9?|5 screenshot 9?|6 screenshot_path 9?|7 driver #0?|8 monitor_busy_marked 8?|9 typing #1*",c,I]}}class E extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new E).fromBinary(t,r)}static fromJson(t,r){return(new E).fromJson(t,r)}static fromJsonString(t,r){return(new E).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(E,t,r)}static $(){return["ComputerUseToolCall|1 args #0|2 result #1",d,B]}}},"../proto/dist/generated/agent/v1/connect_scm_tool_pb.js"(t,r,e){e.d(r,{$1:()=>g,iO:()=>_,qG:()=>j});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.toolCallId="",this.target={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["ConnectScmArgs|1 tool_call_id 9|2 github #0 target|3 gitlab #1 target|4 bitbucket #2 target|5 azure_devops #3 target|6 reconnect 8?|7 repo_url 9?|8 instance_host 9?",c,a,u,l]}}class a extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["ConnectScmGitlab|1 instance_id 9?"]}}class u extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["ConnectScmBitbucket|1 instance_id 9?"]}}class l extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["ConnectScmAzureDevops"]}}class c extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["ConnectScmGithub|1 repository #0|2 ghe_application 9?",m]}}class m extends o{constructor(t){super(),this.owner="",this.repo="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["ConnectScmGithubRepository|1 owner 9|2 repo 9"]}}class d extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ConnectScmResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 scm_target 9?",p,f,h]}}class p extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["ConnectScmSuccess"]}}class f extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ConnectScmError|1 error 9"]}}class h extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["ConnectScmRejected|1 reason 9"]}}class _ extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["ConnectScmToolCall|1 args #0|2 result #1",i,d]}}class g extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["ConnectScmRequestQuery|1 args #0",i]}}class j extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["ConnectScmRequestResponse|1 approved #0 result|2 rejected #1 result|3 failed #2 result",b,y,w]}}class b extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["ConnectScmRequestResponse.Approved|1 scm_target 9?"]}}class y extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["ConnectScmRequestResponse.Rejected|1 reason 9|2 recorded_args #0?",i]}}class w extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["ConnectScmRequestResponse.Failed|1 error 9"]}}},"../proto/dist/generated/agent/v1/conversation_search_exec_pb.js"(t,r,e){e.d(r,{$m:()=>u,pT:()=>l});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"ConversationSearchSource",[[0,"UNSPECIFIED"],[1,"LOCAL"],[2,"CLOUD_CACHE"]],1);class u extends i{constructor(t){super(),this.query="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["ConversationSearchArgs|1 query 9|2 tool_call_id 9|3 limit 5?"]}}class l extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["ConversationSearchResult|1 success #0 result|2 error #1 result",c,d]}}class c extends i{constructor(t){super(),this.hits=[],this.truncated=!1,this.partial=!1,this.rebuilding=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["ConversationSearchSuccess|1 hits #0*|2 truncated 8|3 partial 8|4 rebuilding 8",m]}}class m extends i{constructor(t){super(),this.conversationId="",this.title="",this.source=a.UNSPECIFIED,this.updatedAtMs=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["ConversationSearchHit|1 conversation_id 9|2 title 9|3 source #0|4 updated_at_ms 3|5 snippet 9?",a]}}class d extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ConversationSearchError|1 error 9"]}}},"../proto/dist/generated/agent/v1/create_plan_tool_pb.js"(t,r,e){e.d(r,{Ih:()=>a,gz:()=>f,vR:()=>p});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/todo_tool_pb.js"),o=e("../proto/dist/runtime/compact.js");class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class a extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["CreatePlanToolCall|1 args #0|2 result #1",l,c]}}class u extends i{constructor(t){super(),this.name="",this.todos=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["Phase|1 name 9|2 todos #0*",n.kW]}}class l extends i{constructor(t){super(),this.plan="",this.todos=[],this.overview="",this.name="",this.isProject=!1,this.phases=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["CreatePlanArgs|1 plan 9|2 todos #0*|3 overview 9|4 name 9|5 is_project 8|6 phases #1*",n.kW,u]}}class c extends i{constructor(t){super(),this.result={case:void 0},this.planUri="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["CreatePlanResult|1 success #0 result|2 error #1 result|3 plan_uri 9",m,d]}}class m extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["CreatePlanSuccess"]}}class d extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["CreatePlanError|1 error 9"]}}class p extends i{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["CreatePlanRequestQuery|1 args #0|2 tool_call_id 9",l]}}class f extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["CreatePlanRequestResponse|1 result #0",c]}}},"../proto/dist/generated/agent/v1/cursor_rules_pb.js"(t,r,e){e.d(r,{DX:()=>p});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"CursorRuleSource",[[0,"UNSPECIFIED"],[1,"TEAM"],[2,"USER"]],1);class u extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["CursorRuleTypeGlobal"]}}class l extends i{constructor(t){super(),this.globs=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["CursorRuleTypeFileGlobs|1 globs 9*"]}}class c extends i{constructor(t){super(),this.description="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["CursorRuleTypeAgentFetched|1 description 9"]}}class m extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["CursorRuleTypeManuallyAttached"]}}class d extends i{constructor(t){super(),this.type={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["CursorRuleType|1 global #0 type|2 file_globbed #1 type|3 agent_fetched #2 type|4 manually_attached #3 type",u,l,c,m]}}class p extends i{constructor(t){super(),this.fullPath="",this.content="",this.source=a.UNSPECIFIED,this.environments=[],this.disabledEnvironments=[],this.scopedTo=[],this.frontmatter="",this.warnings=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["CursorRule|1 full_path 9|2 content 9|3 type #0|4 source #1|5 git_remote_origin 9?|6 parse_error 9?|7 environments 9*|8 disabled_environments 9*|9 plugin 9?|10 marketplace 9?|11 plugin_id 9?|12 marketplace_id 9?|13 scoped_to 9*|14 frontmatter 9|15 is_required 8?|16 warnings 9*|17 body_omitted 8?",d,a]}}},"../proto/dist/generated/agent/v1/delete_exec_pb.js"(t,r,e){e.d(r,{Pi:()=>a,dn:()=>i});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.path="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["DeleteArgs|1 path 9|2 tool_call_id 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["DeleteResult|1 success #0 result|2 file_not_found #1 result|3 not_file #2 result|4 permission_denied #3 result|5 file_busy #4 result|6 rejected #5 result|7 error #6 result",u,l,c,m,d,p,f]}}class u extends o{constructor(t){super(),this.path="",this.deletedFile="",this.fileSize=s.protoInt64.zero,this.prevContent="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["DeleteSuccess|1 path 9|2 deleted_file 9|3 file_size 3|4 prev_content 9"]}}class l extends o{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["DeleteFileNotFound|1 path 9"]}}class c extends o{constructor(t){super(),this.path="",this.actualType="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["DeleteNotFile|1 path 9|2 actual_type 9"]}}class m extends o{constructor(t){super(),this.path="",this.clientVisibleError="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["DeletePermissionDenied|1 path 9|2 client_visible_error 9|3 is_readonly 8"]}}class d extends o{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["DeleteFileBusy|1 path 9"]}}class p extends o{constructor(t){super(),this.path="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["DeleteRejected|1 path 9|2 reason 9"]}}class f extends o{constructor(t){super(),this.path="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["DeleteError|1 path 9|2 error 9"]}}},"../proto/dist/generated/agent/v1/diagnostics_exec_pb.js"(t,r,e){e.d(r,{h_:()=>o});var s=e("@bufbuild/protobuf"),n=(e("../proto/dist/generated/agent/v1/utils_pb.js"),e("../proto/dist/runtime/compact.js"));n.HL;var o=(0,n.QT)(s.proto3,"agent.v1.","DiagnosticSeverity",[[0,"UNSPECIFIED"],[1,"ERROR"],[2,"WARNING"],[3,"INFORMATION"],[4,"HINT"]],1)},"../proto/dist/generated/agent/v1/fetch_exec_pb.js"(t,r,e){e.d(r,{UM:()=>i,uN:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.url="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["FetchArgs|1 url 9|2 tool_call_id 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["FetchResult|1 success #0 result|2 error #1 result",u,l]}}class u extends o{constructor(t){super(),this.url="",this.content="",this.statusCode=0,this.contentType="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["FetchSuccess|1 url 9|2 content 9|3 status_code 5|4 content_type 9"]}}class l extends o{constructor(t){super(),this.url="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["FetchError|1 url 9|2 error 9"]}}},"../proto/dist/generated/agent/v1/generate_image_tool_pb.js"(t,r,e){e.d(r,{Uj:()=>m,r9:()=>c,vW:()=>d});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.description="",this.referenceImagePaths=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["GenerateImageArgs|1 description 9|2 file_path 9?|5 reference_image_paths 9*|6 aspect_ratio 9?"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["GenerateImageResult|1 success #0 result|2 error #1 result",u,l]}}class u extends o{constructor(t){super(),this.filePath="",this.imageData="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["GenerateImageSuccess|1 file_path 9|2 image_data 9"]}}class l extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["GenerateImageError|1 error 9"]}}class c extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["GenerateImageToolCall|1 args #0|2 result #1",i,a]}}class m extends o{constructor(t){super(),this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["GenerateImageRequestQuery|1 args #0|2 tool_call_id 9",i]}}class d extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["GenerateImageRequestResponse|1 approved #0 result|2 rejected #1 result",p,f]}}class p extends o{constructor(t){super(),this.description="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["GenerateImageRequestResponse.Approved|1 description 9"]}}class f extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["GenerateImageRequestResponse.Rejected|1 reason 9"]}}},"../proto/dist/generated/agent/v1/grep_exec_pb.js"(t,r,e){e.d(r,{Qj:()=>a,Ud:()=>u});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/sandbox_pb.js"),o=e("../proto/dist/runtime/compact.js");class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class a extends i{constructor(t){super(),this.pattern="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["GrepArgs|1 pattern 9|2 path 9?|3 glob 9?|4 output_mode 9?|5 context_before 5?|6 context_after 5?|7 context 5?|8 case_insensitive 8?|9 type 9?|10 head_limit 5?|11 multiline 8?|12 sort 9?|13 sort_ascending 8?|14 tool_call_id 9|15 sandbox_policy #0?|16 offset 5?",n.Mw]}}class u extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["GrepResult|1 success #0 result|2 error #1 result",c,l]}}class l extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["GrepError|1 error 9"]}}class c extends i{constructor(t){super(),this.pattern="",this.path="",this.outputMode="",this.workspaceResults={},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["GrepSuccess|1 pattern 9|2 path 9|3 output_mode 9|4 workspace_results 9,#0|5 active_editor_result #0?",m]}}class m extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["GrepUnionResult|1 count #0 result|2 files #1 result|3 content #2 result",d,f,h]}}class d extends i{constructor(t){super(),this.counts=[],this.totalFiles=0,this.totalMatches=0,this.clientTruncated=!1,this.ripgrepTruncated=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["GrepCountResult|1 counts #0*|2 total_files 5|3 total_matches 5|4 client_truncated 8|5 ripgrep_truncated 8|6 head_limit_applied 5?|7 offset_applied 5?",p]}}class p extends i{constructor(t){super(),this.file="",this.count=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["GrepFileCount|1 file 9|2 count 5"]}}class f extends i{constructor(t){super(),this.files=[],this.totalFiles=0,this.clientTruncated=!1,this.ripgrepTruncated=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["GrepFilesResult|1 files 9*|2 total_files 5|3 client_truncated 8|4 ripgrep_truncated 8|5 head_limit_applied 5?|6 offset_applied 5?"]}}class h extends i{constructor(t){super(),this.matches=[],this.totalLines=0,this.totalMatchedLines=0,this.clientTruncated=!1,this.ripgrepTruncated=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["GrepContentResult|1 matches #0*|2 total_lines 5|3 total_matched_lines 5|4 client_truncated 8|5 ripgrep_truncated 8|6 head_limit_applied 5?|7 offset_applied 5?",_]}}class _ extends i{constructor(t){super(),this.file="",this.matches=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["GrepFileMatch|1 file 9|2 matches #0*",g]}}class g extends i{constructor(t){super(),this.lineNumber=0,this.content="",this.contentTruncated=!1,this.isContextLine=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["GrepContentMatch|1 line_number 5|2 content 9|3 content_truncated 8|4 is_context_line 8"]}}},"../proto/dist/generated/agent/v1/hook_additional_context_pb.js"(t,r,e){e.d(r,{C:()=>i});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.hookEventName="",this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["HookAdditionalContext|1 hook_event_name 9|2 content 9"]}}},"../proto/dist/generated/agent/v1/ls_exec_pb.js"(t,r,e){e.d(r,{fv:()=>u,vq:()=>c,xe:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/sandbox_pb.js"),o=e("../proto/dist/runtime/compact.js");class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class a extends i{constructor(t){super(),this.path="",this.ignore=[],this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["LsArgs|1 path 9|2 ignore 9*|3 tool_call_id 9|4 sandbox_policy #0?|5 timeout_ms 13?",n.Mw]}}class u extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["LsResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 timeout #3 result",l,d,p,f]}}class l extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["LsSuccess|1 directory_tree_root #0",c]}}class c extends i{constructor(t){super(),this.absPath="",this.childrenDirs=[],this.childrenFiles=[],this.childrenWereProcessed=!1,this.fullSubtreeExtensionCounts={},this.numFiles=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["LsDirectoryTreeNode|1 abs_path 9|2 children_dirs #0*|3 children_files #1*|4 children_were_processed 8|5 full_subtree_extension_counts 9,5|6 num_files 5",c,m]}}class m extends i{constructor(t){super(),this.name="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["LsDirectoryTreeNode.File|1 name 9|2 terminal_metadata #0?",h]}}class d extends i{constructor(t){super(),this.path="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["LsError|1 path 9|2 error 9"]}}class p extends i{constructor(t){super(),this.path="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["LsRejected|1 path 9|2 reason 9"]}}class f extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["LsTimeout|1 directory_tree_root #0",c]}}class h extends i{constructor(t){super(),this.lastCommands=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["TerminalMetadata|1 cwd 9?|2 last_commands #0*|3 last_modified_ms 3?|4 current_command #0?",_]}}class _ extends i{constructor(t){super(),this.command="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["TerminalMetadata.Command|1 command 9|2 exit_code 5?|3 timestamp_ms 3?|4 duration_ms 3?"]}}},"../proto/dist/generated/agent/v1/mcp_auth_tool_pb.js"(t,r,e){e.d(r,{NX:()=>m,h:()=>p,uL:()=>d});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.serverIdentifier="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["McpAuthArgs|1 server_identifier 9|2 tool_call_id 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["McpAuthResult|1 success #0 result|2 error #1 result|3 rejected #2 result",u,l,c]}}class u extends o{constructor(t){super(),this.serverIdentifier="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["McpAuthSuccess|1 server_identifier 9"]}}class l extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["McpAuthError|1 error 9"]}}class c extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["McpAuthRejected|1 reason 9"]}}class m extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["McpAuthToolCall|1 args #0|2 result #1",i,a]}}class d extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["McpAuthRequestQuery|1 args #0",i]}}class p extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["McpAuthRequestResponse|1 approved #0 result|2 rejected #1 result",f,h]}}class f extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["McpAuthRequestResponse.Approved"]}}class h extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["McpAuthRequestResponse.Rejected|1 reason 9"]}}},"../proto/dist/generated/agent/v1/mcp_exec_pb.js"(t,r,e){e.d(r,{DI:()=>x,E_:()=>a,HQ:()=>h,Kp:()=>d,QW:()=>p,ZD:()=>J,kP:()=>g,kj:()=>_,xo:()=>f});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/utils_pb.js"),o=(e("../proto/dist/generated/agent/v1/mcp_pb.js"),e("../proto/dist/runtime/compact.js"));class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}s.proto3,s.proto3;class a extends i{constructor(t){super(),this.name="",this.args={},this.toolCallId="",this.providerIdentifier="",this.toolName="",this.smartModeApprovalOnly=!1,this.skipApproval=!1,this.serverIdentifier="",this.symbolicPathArguments=[],this.argumentsRepaired=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["McpArgs|1 name 9|2 args 9,#0|3 tool_call_id 9|4 provider_identifier 9|5 tool_name 9|6 smart_mode_approval #1?|7 smart_mode_approval_only 8|8 skip_approval 8|9 server_identifier 9|10 symbolic_path_arguments #2*|11 arguments_repaired 8",s.Value,n.UC,u]}}class u extends i{constructor(t){super(),this.path="",this.sha256="",this.sizeBytes=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["McpSymbolicPathArgument|1 path 9|2 sha256 9|3 size_bytes 3"]}}class l extends i{constructor(t){super(),this.text="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["McpTextContent|1 text 9|2 output_location #0?",n.pV]}}class c extends i{constructor(t){super(),this.data=new Uint8Array(0),this.mimeType="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["McpImageContent|1 data 12|2 mime_type 9"]}}class m extends i{constructor(t){super(),this.content={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["McpToolResultContentItem|1 text #0 content|2 image #1 content",l,c]}}class d extends i{constructor(t){super(),this.body="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["SystemReminder|1 body 9"]}}class p extends i{constructor(t){super(),this.content=[],this.isError=!1,this.systemReminders=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["McpSuccess|1 content #0*|2 is_error 8|3 structured_content #1|4 system_reminders #2*|5 result_meta #1",m,s.Struct,d]}}s.proto3;class f extends i{constructor(t){super(),this.reason="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["McpRejected|1 reason 9|2 is_readonly 8"]}}class h extends i{constructor(t){super(),this.error="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["McpPermissionDenied|1 error 9|2 is_readonly 8"]}}class _ extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["ListMcpResourcesExecArgs|1 server 9?"]}}class g extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["ListMcpResourcesExecResult|1 success #0 result|2 error #1 result|3 rejected #2 result",b,y,w]}}class j extends i{constructor(t){super(),this.uri="",this.server="",this.annotations={},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["ListMcpResourcesExecResult.McpResource|1 uri 9|2 name 9?|3 description 9?|4 mime_type 9?|5 server 9|6 annotations 9,9"]}}class b extends i{constructor(t){super(),this.resources=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["ListMcpResourcesSuccess|1 resources #0*",j]}}class y extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["ListMcpResourcesError|1 error 9"]}}class w extends i{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["ListMcpResourcesRejected|1 reason 9"]}}class x extends i{constructor(t){super(),this.server="",this.uri="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["ReadMcpResourceExecArgs|1 server 9|2 uri 9|3 download_path 9?|4 tool_call_id 9|5 smart_mode_approval #0?",n.UC]}}class J extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["ReadMcpResourceExecResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 not_found #3 result",S,v,B,q]}}class S extends i{constructor(t){super(),this.uri="",this.content={case:void 0},this.annotations={},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["ReadMcpResourceSuccess|1 uri 9|2 name 9?|3 description 9?|4 mime_type 9?|5 text 9 content|6 blob 12 content|7 annotations 9,9|8 download_path 9?|9 output_location #0?|10 meta_json 9?",n.pV]}}class v extends i{constructor(t){super(),this.uri="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["ReadMcpResourceError|1 uri 9|2 error 9"]}}class B extends i{constructor(t){super(),this.uri="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["ReadMcpResourceRejected|1 uri 9|2 reason 9"]}}class q extends i{constructor(t){super(),this.uri="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["ReadMcpResourceNotFound|1 uri 9"]}}},"../proto/dist/generated/agent/v1/mcp_pb.js"(t,r,e){e.d(r,{I0:()=>u,Is:()=>m,Or:()=>a,U_:()=>d,gd:()=>i});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.name="",this.providerIdentifier="",this.toolName="",this.description="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["McpToolDefinition|1 name 9|4 provider_identifier 9|5 tool_name 9|2 description 9|3 input_schema #0|6 input_schema_json 9?|7 output_schema_json 9?|8 annotations_json 9?|9 meta_json 9?",s.Value]}}class a extends o{constructor(t){super(),this.mcpTools=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["McpTools|1 mcp_tools #0*",i]}}class u extends o{constructor(t){super(),this.serverName="",this.instructions="",this.serverIdentifier="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["McpInstructions|1 server_name 9|2 instructions 9|3 server_identifier 9"]}}class l extends o{constructor(t){super(),this.serverName="",this.serverIdentifier="",this.tools=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["McpDescriptor|1 server_name 9|2 server_identifier 9|3 folder_path 9?|4 server_use_instructions 9?|5 tools #0*|7 plugin 9?|8 marketplace 9?|9 plugin_db_id 9?|10 marketplace_id 9?|11 account_label 9?",c]}}class c extends o{constructor(t){super(),this.toolName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["McpToolDescriptor|1 tool_name 9|2 definition_path 9?|3 description 9?|4 input_schema #0?|5 input_schema_json 9?|6 annotations_json 9?",s.Value]}}class m extends o{constructor(t){super(),this.enabled=!1,this.workspaceProjectDir="",this.mcpDescriptors=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["McpFileSystemOptions|1 enabled 8|2 workspace_project_dir 9|3 mcp_descriptors #0*",l]}}class d extends o{constructor(t){super(),this.enabled=!1,this.mcpDescriptors=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["McpMetaToolOptions|1 enabled 8|2 mcp_descriptors #0*",l]}}},"../proto/dist/generated/agent/v1/pr_management_tool_pb.js"(t,r,e){e.d(r,{AU:()=>q,DY:()=>P,HL:()=>y});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"MergePrMode",[[0,"UNSPECIFIED"],[1,"MERGE"],[2,"AUTO"],[3,"DISABLE_AUTO"]],1),u=(0,n.QT)(s.proto3,o,"MergePrMethod",[[0,"UNSPECIFIED"],[1,"MERGE"],[2,"SQUASH"]],1),l=(0,n.QT)(s.proto3,o,"PullRequestStatus",[[0,"UNSPECIFIED"],[1,"OPEN"],[2,"CLOSED"]],1);class c extends i{constructor(t){super(),this.toolCallId="",this.action={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["PrManagementArgs|1 tool_call_id 9|2 create_pr #0 action|3 update_pr #1 action|4 post_comment #2 action|5 resolve_comment #3 action|6 get_ci_status #4 action|7 set_pr_status #5 action|8 merge_pr #6 action|9 list_prs #7 action|10 get_pr #8 action",m,d,p,f,h,_,g,j,b]}}class m extends i{constructor(t){super(),this.title="",this.body="",this.branchName="",this.addLabels=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["CreatePrAction|1 title 9|2 body 9|3 base_branch 9?|4 draft 8?|5 branch_name 9|6 add_labels 9*|7 repo_url 9?|8 skip_branch_prefix_check 8?|9 stack_on_pr_number 3?"]}}class d extends i{constructor(t){super(),this.addLabels=[],this.removeLabels=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["UpdatePrAction|1 pr_url 9?|2 title 9?|3 body 9?|4 base_branch 9?|5 branch_name 9?|6 add_labels 9*|7 remove_labels 9*|8 repo_url 9?|9 stack_on_pr_number 3?|10 clear_stack 8?|11 draft 8?"]}}class p extends i{constructor(t){super(),this.body="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["PostCommentAction|1 pr_url 9?|2 branch_name 9?|3 body 9|4 repo_url 9?|5 in_reply_to 3?|6 path 9?|7 line 5?|8 start_line 5?|9 side 9?|10 reply_to_reference 9?"]}}class f extends i{constructor(t){super(),this.commentId=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ResolveCommentAction|1 pr_url 9?|2 branch_name 9?|3 comment_id 3|4 repo_url 9?|5 comment_reference 9?"]}}class h extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["GetCiStatusAction|1 pr_url 9?|2 branch_name 9?|3 repo_url 9?"]}}class _ extends i{constructor(t){super(),this.status=l.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["SetPrStatusAction|1 pr_url 9?|2 branch_name 9?|3 repo_url 9?|4 status #0",l]}}class g extends i{constructor(t){super(),this.mode=a.UNSPECIFIED,this.method=u.UNSPECIFIED,this.expectedMemberHeadShas={},this.downstack=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["MergePrAction|1 pr_url 9?|2 branch_name 9?|3 repo_url 9?|4 mode #0|5 method #1|6 expected_head_sha 9?|7 expected_member_head_shas 9,9|8 downstack 8",a,u]}}class j extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["ListPrsArgs|1 limit 5?"]}}class b extends i{constructor(t){super(),this.prUrl="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["GetPrArgs|1 pr_url 9"]}}class y extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["PrManagementResult|1 success #0 result|2 error #1 result|3 rejected #2 result|4 registered #3 result|5 needs_confirmation #4 result|6 read #5 result",x,J,S,v,B,w]}}class w extends i{constructor(t){super(),this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["PrManagementRead|1 message 9"]}}class x extends i{constructor(t){super(),this.prUrl="",this.prNumber=0,this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["PrManagementSuccess|1 pr_url 9|2 pr_number 5|3 message 9"]}}class J extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["PrManagementError|1 error 9"]}}class S extends i{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["PrManagementRejected|1 reason 9"]}}class v extends i{constructor(t){super(),this.message="",this.title="",this.body="",this.branchName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["PrManagementRegistered|1 message 9|2 title 9|3 body 9|4 base_branch 9?|5 draft 8?|6 branch_name 9"]}}class B extends i{constructor(t){super(),this.message="",this.discoveredPrUrl="",this.discoveredPrNumber=0,this.discoveredPrTitle="",this.branchName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["PrManagementNeedsConfirmation|1 message 9|2 discovered_pr_url 9|3 discovered_pr_number 5|4 discovered_pr_title 9|5 branch_name 9"]}}class q extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["PrManagementToolCall|1 args #0|2 result #1",c,y]}}class P extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["PrManagementRequestQuery|1 args #0",c]}}},"../proto/dist/generated/agent/v1/record_screen_exec_pb.js"(t,r,e){e.d(r,{Tj:()=>c,zH:()=>l});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"RecordingMode",[[0,"UNSPECIFIED"],[1,"START_RECORDING"],[2,"SAVE_RECORDING"],[3,"DISCARD_RECORDING"]],1),u=(0,n.QT)(s.proto3,o,"RequestedFilePathRejectedReason",[[0,"UNSPECIFIED"],[1,"SLASHES_NOT_ALLOWED"]],1);class l extends i{constructor(t){super(),this.mode=a.UNSPECIFIED,this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["RecordScreenArgs|1 mode #0|2 tool_call_id 9|3 save_as_filename 9?",a]}}class c extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["RecordScreenResult|1 start_success #0 result|2 save_success #1 result|3 discard_success #2 result|4 failure #3 result",m,d,p,f]}}class m extends i{constructor(t){super(),this.wasPriorRecordingCancelled=!1,this.wasSaveAsFilenameIgnored=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["RecordScreenStartSuccess|1 was_prior_recording_cancelled 8|2 was_save_as_filename_ignored 8"]}}class d extends i{constructor(t){super(),this.path="",this.recordingDurationMs=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["RecordScreenSaveSuccess|1 path 9|2 recording_duration_ms 3|3 requested_file_path_rejected_reason #0?",u]}}class p extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["RecordScreenDiscardSuccess"]}}class f extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["RecordScreenFailure|1 error 9"]}}},"../proto/dist/generated/agent/v1/replace_env_tool_pb.js"(t,r,e){e.d(r,{TO:()=>c,dV:()=>p,km:()=>h,us:()=>f});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"ReplaceEnvMode",[[0,"UNSPECIFIED"],[1,"CUSTOM"],[2,"CLEAN_SLATE"],[3,"DEFAULT"]],1);class u extends i{constructor(t){super(),this.repoUrl="",this.ref="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["RepoCheckoutRefOverride|1 repo_url 9|2 ref 9"]}}class l extends i{constructor(t){super(),this.installScript="",this.dockerfileContents="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["ReplaceEnvConfig|1 install_script 9|2 dockerfile_contents 9"]}}class c extends i{constructor(t){super(),this.mode=a.UNSPECIFIED,this.checkoutRefOverrides=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["ReplaceEnvArgs|1 config #0|2 mode #1|3 checkout_ref_overrides #2*",l,a,u]}}class m extends i{constructor(t){super(),this.setupLogs="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["ReplaceEnvSuccess|1 setup_logs 9"]}}class d extends i{constructor(t){super(),this.errorMessage="",this.setupLogs="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ReplaceEnvFailure|1 error_message 9|2 setup_logs 9"]}}class p extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["ReplaceEnvResult|1 success #0 result|2 failure #1 result",m,d]}}class f extends i{constructor(t){super(),this.associatedPodKey="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ReplaceEnvToolCall|1 args #0|2 result #1|3 associated_pod_key 9",c,p]}}class h extends i{constructor(t){super(),this.associatedPodKey="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["ReplaceEnvToolCallDelta|1 associated_pod_key 9"]}}},"../proto/dist/generated/agent/v1/report_bugfix_results_tool_pb.js"(t,r,e){e.d(r,{U_:()=>p});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"BugfixVerdict",[[0,"UNSPECIFIED"],[1,"FIXED"],[2,"FALSE_POSITIVE"],[3,"COULD_NOT_FIX"],[4,"RESOLVED_BY_OTHER_FIX"]],1);class u extends i{constructor(t){super(),this.bugId="",this.bugTitle="",this.verdict=a.UNSPECIFIED,this.explanation="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["BugfixResultItem|1 bug_id 9|2 bug_title 9|3 verdict #0|4 explanation 9|5 severity 9?",a]}}class l extends i{constructor(t){super(),this.summary="",this.results=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["ReportBugfixResultsArgs|1 summary 9|2 results #0*",u]}}class c extends i{constructor(t){super(),this.results=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["ReportBugfixResultsSuccess|1 results #0*",u]}}class m extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["ReportBugfixResultsError|1 error 9"]}}class d extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ReportBugfixResultsResult|1 success #0 result|2 error #1 result",c,m]}}class p extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["ReportBugfixResultsToolCall|1 args #0|2 result #1",l,d]}}},"../proto/dist/generated/agent/v1/request_context_exec_pb.js"(t,r,e){e.d(r,{bb:()=>O,sG:()=>E,uw:()=>v});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");n.HL;var o=(0,n.QT)(s.proto3,"agent.v1.","PackageType",[[0,"UNSPECIFIED"],[1,"CURSOR_PROJECT"],[2,"CURSOR_PERSONAL"],[3,"CLAUDE_SKILL"],[4,"CLAUDE_PLUGIN"]],1),i=e("../proto/dist/generated/agent/v1/cursor_rules_pb.js");class a extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class u extends a{constructor(t){super(),this.relativeWorkspacePath="",this.remoteUrls=[],this.remoteNames=[],this.repoName="",this.repoOwner="",this.isTracked=!1,this.isLocal=!1,this.workspaceUri="",this.pathEncryptionKey="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["RepositoryIndexingInfo|1 relative_workspace_path 9|2 remote_urls 9*|3 remote_names 9*|4 repo_name 9|5 repo_owner 9|6 is_tracked 8|7 is_local 8|8 orthogonal_transform_seed 1?|9 workspace_uri 9|10 path_encryption_key 9"]}}var l=e("../proto/dist/generated/agent/v1/mcp_pb.js"),c=e("../proto/dist/generated/agent/v1/ls_exec_pb.js"),m=e("../proto/dist/generated/agent/v1/subagents_pb.js"),d=e("../proto/dist/generated/agent/v1/agent_skills_pb.js"),p=e("../proto/dist/generated/agent/v1/system_prompt_pb.js");const f="agent.v1.";class h extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return f}}var _=(0,n.QT)(s.proto3,f,"ComputerUseDesktopPlatform",[[0,"UNSPECIFIED"],[1,"LINUX"],[2,"MACOS"],[3,"WINDOWS"]],1),g=(0,n.QT)(s.proto3,f,"MountedAgentStoreKind",[[0,"UNSPECIFIED"],[1,"SELF"],[2,"PEER"],[3,"SHARE"],[4,"PRINCIPAL"]],1);class j extends h{constructor(t){super(),this.path="",this.status="",this.branchName="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["GitRepoInfo|1 path 9|2 status 9|3 branch_name 9|4 remote_url 9?|5 previous_branch_is_ancestor 8?|6 is_origin_backed 8?"]}}class b extends h{constructor(t){super(),this.osVersion="",this.workspacePaths=[],this.shell="",this.sandboxEnabled=!1,this.terminalsFolder="",this.agentSharedNotesFolder="",this.agentConversationNotesFolder="",this.timeZone="",this.projectFolder="",this.agentTranscriptsFolder="",this.sandboxNetworkExplicitAllowlist=[],this.mountedAgentStores=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["RequestContextEnv|1 os_version 9|2 workspace_paths 9*|3 shell 9|5 sandbox_enabled 8|7 terminals_folder 9|8 agent_shared_notes_folder 9|9 agent_conversation_notes_folder 9|10 time_zone 9|11 project_folder 9|12 agent_transcripts_folder 9|13 artifacts_folder 9?|14 sandbox_supported 8?|16 sandbox_network_has_defaults 8?|17 sandbox_network_explicit_allowlist 9*|18 secret_redaction_enabled 8?|19 computer_use_supported 8?|20 is_working_dir_home_dir 8?|21 process_working_directory 9?|22 smart_mode_classifier_auto_mode_enabled 8?|23 dev_force_next_smart_mode_classifier_block_token 9?|24 dev_delay_next_smart_mode_classifier_token 9?|25 mounted_agent_stores #0*|26 user_agent_store_web_context #1?|27 dev_mock_prompt_time #2?|28 agent_store_dynamic_mount_enabled 8?|29 computer_use_desktop #3?",w,x,s.Timestamp,y]}}class y extends h{constructor(t){super(),this.platform=_.UNSPECIFIED,this.canvasWidth=0,this.canvasHeight=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["ComputerUseDesktop|1 platform #0|2 canvas_width 5|3 canvas_height 5",_]}}class w extends h{constructor(t){super(),this.path="",this.kind=g.UNSPECIFIED,this.readOnly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["MountedAgentStore|1 path 9|2 kind #0|3 alias 9?|4 read_only 8|5 inherited_from_path 9?",g]}}class x extends h{constructor(t){super(),this.storeId="",this.portalBaseUrl="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["UserAgentStoreWebContext|1 store_id 9|2 portal_base_url 9"]}}class J extends h{constructor(t){super(),this.logPath="",this.serverEndpoint="",this.sessionId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["DebugModeConfig|1 log_path 9|2 server_endpoint 9|3 session_id 9"]}}class S extends h{constructor(t){super(),this.name="",this.description="",this.folderPath="",this.enabled=!1,this.readmeFilePath="",this.packageType=o.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["SkillDescriptor|1 name 9|2 description 9|3 folder_path 9|4 enabled 8|5 parse_error 9?|6 readme_file_path 9|7 package_type #0",o]}}class v extends h{constructor(t){super(),this.skillDescriptors=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["SkillOptions|1 skill_descriptors #0*",S]}}class B extends h{constructor(t){super(),this.configuredSteps=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["HooksConfigInfo|1 configured_steps 9*"]}}class q extends h{constructor(t){super(),this.allowInstructions=[],this.blockInstructions=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["PermissionsAutoRunInstructions|1 allow_instructions 9*|2 block_instructions 9*"]}}class P extends h{constructor(t){super(),this.startLineNumber=0,this.endLineNumberExclusive=0,this.beforeContextLines=[],this.removedLines=[],this.addedLines=[],this.afterContextLines=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["PrecomputedHumanChangeRenderedDiff|1 start_line_number 5|2 end_line_number_exclusive 5|3 before_context_lines 9*|4 removed_lines 9*|5 added_lines 9*|6 after_context_lines 9*"]}}class I extends h{constructor(t){super(),this.path="",this.renderedDiffs=[],this.isNewFile=!1,this.isDeletedFile=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new I).fromBinary(t,r)}static fromJson(t,r){return(new I).fromJson(t,r)}static fromJsonString(t,r){return(new I).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(I,t,r)}static $(){return["PrecomputedHumanChange|1 path 9|2 rendered_diffs #0*|3 is_new_file 8|4 is_deleted_file 8",P]}}class O extends h{constructor(t){super(),this.rules=[],this.repositoryInfo=[],this.tools=[],this.gitRepos=[],this.projectLayouts=[],this.mcpInstructions=[],this.fileContents={},this.customSubagents=[],this.agentSkills=[],this.precomputedHumanChanges=[],this.nonFileRules=[],this.disabledTeamRules=[],this.adminCommandDenylist=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new O).fromBinary(t,r)}static fromJson(t,r){return(new O).fromJson(t,r)}static fromJsonString(t,r){return(new O).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(O,t,r)}static $(){return["RequestContext|2 rules #0*|4 env #1|6 repository_info #2*|7 tools #3*|8 conversation_notes_listing 9?|9 shared_notes_listing 9?|11 git_repos #4*|13 project_layouts #5*|14 mcp_instructions #6*|15 debug_mode_config #7?|16 cloud_rule 9?|17 web_search_enabled 8?|18 skill_options #8?|19 repository_info_should_query_prod 8?|20 file_contents 9,9|21 user_intent_summary 9?|22 custom_subagents #9*|23 mcp_file_system_options #10?|24 web_fetch_enabled 8?|25 hooks_additional_context 9?|26 commit_attribution_message 9?|27 pr_attribution_message 9?|28 hooks_config #11?|29 agent_skills #12*|30 precomputed_human_changes #13*|31 recently_added_plugin #14?|32 supports_mcp_auth 8?|33 git_repo_info_complete 8?|34 mcp_meta_tool_options #15?|35 read_lints_enabled 8?|36 mcp_info_complete 8?|37 non_file_rules #0*|38 matched_installed_plugin #16?|39 rules_info_complete 8?|40 env_info_complete 8?|41 repository_info_complete 8?|42 custom_subagents_info_complete 8?|43 agent_skills_info_complete 8?|44 mcp_file_system_info_complete 8?|45 git_status_info_complete 8?|46 user_permissions_auto_run #17?|47 project_permissions_auto_run #17?|48 admin_permissions_auto_run #17?|49 disabled_team_rules 9*|50 search_conversations_enabled 8?|51 send_message_enabled 8?|52 admin_command_denylist 9*|53 system_prompt_override #18?",i.DX,b,u,l.gd,j,c.vq,l.I0,J,v,m.zz,l.Is,B,d.N,I,A,l.U_,k,q,p.$]}}class E extends h{constructor(t){super(),this.rulesBlobId=new Uint8Array(0),this.rulesByteLength=0,this.skillsBlobId=new Uint8Array(0),this.skillsByteLength=0,this.subagentsBlobId=new Uint8Array(0),this.subagentsByteLength=0,this.mcpsBlobId=new Uint8Array(0),this.mcpsByteLength=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new E).fromBinary(t,r)}static fromJson(t,r){return(new E).fromJson(t,r)}static fromJsonString(t,r){return(new E).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(E,t,r)}static $(){return["RequestContextPartReferences|1 rules_blob_id 12|2 rules_byte_length 13|3 skills_blob_id 12|4 skills_byte_length 13|5 subagents_blob_id 12|6 subagents_byte_length 13|7 mcps_blob_id 12|8 mcps_byte_length 13|9 dynamic_context #0",O]}}class A extends h{constructor(t){super(),this.displayName="",this.description="",this.skills=[],this.subagents=[],this.hooks=[],this.rules=[],this.commands=[],this.mcpServers=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new A).fromBinary(t,r)}static fromJson(t,r){return(new A).fromJson(t,r)}static fromJsonString(t,r){return(new A).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(A,t,r)}static $(){return["RecentlyAddedPlugin|1 display_name 9|2 description 9|3 skills #0*|4 subagents #0*|5 hooks #0*|6 rules #0*|7 commands #0*|8 mcp_servers 9*",$]}}class $ extends h{constructor(t){super(),this.name="",this.description="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $).fromBinary(t,r)}static fromJson(t,r){return(new $).fromJson(t,r)}static fromJsonString(t,r){return(new $).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($,t,r)}static $(){return["RecentlyAddedPlugin.CapabilityDescriptor|1 name 9|2 description 9"]}}class k extends h{constructor(t){super(),this.displayName="",this.description="",this.matchedKeyword="",this.skills=[],this.subagents=[],this.hooks=[],this.rules=[],this.commands=[],this.mcpServers=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new k).fromBinary(t,r)}static fromJson(t,r){return(new k).fromJson(t,r)}static fromJsonString(t,r){return(new k).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(k,t,r)}static $(){return["MatchedInstalledPlugin|1 display_name 9|2 description 9|3 matched_keyword 9|4 skills #0*|5 subagents #0*|6 hooks #0*|7 rules #0*|8 commands #0*|9 mcp_servers 9*",$]}}},"../proto/dist/generated/agent/v1/requested_model_pb.js"(t,r,e){e.d(r,{G0:()=>i,G4:()=>l,R4:()=>u,SR:()=>c,ih:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.apiKey="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["ApiKeyCredentials|1 api_key 9|2 base_url 9?"]}}class a extends o{constructor(t){super(),this.apiKey="",this.baseUrl="",this.deployment="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["AzureCredentials|1 api_key 9|2 base_url 9|3 deployment 9"]}}class u extends o{constructor(t){super(),this.accessKey="",this.secretKey="",this.region="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["BedrockCredentials|1 access_key 9|2 secret_key 9|3 region 9|4 session_token 9?"]}}class l extends o{constructor(t){super(),this.modelId="",this.maxMode=!1,this.parameters=[],this.credentials={case:void 0},this.builtInModel=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["RequestedModel|1 model_id 9|2 max_mode 8|3 parameters #0*|4 api_key_credentials #1 credentials|5 azure_credentials #2 credentials|6 bedrock_credentials #3 credentials|7 built_in_model 8",c,i,a,u]}}class c extends o{constructor(t){super(),this.id="",this.value="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["RequestedModel.ModelParameterValue|1 id 9|2 value 9"]}}},"../proto/dist/generated/agent/v1/sandbox_pb.js"(t,r,e){e.d(r,{Mw:()=>c});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}class a extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["NetworkPolicyLoggingConfig|1 decision_log_path 9?|2 log_format 9?"]}}class u extends i{constructor(t){super(),this.deny=[],this.allow=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["NetworkPolicy|1 version 13?|2 default_action #0?|3 deny 9*|4 allow 9*|5 logging #1?",l,a]}}var l=(0,n.QT)(s.proto3,o,"NetworkPolicy.DefaultAction",[[0,"UNSPECIFIED"],[1,"ALLOW"],[2,"DENY"]],1);class c extends i{constructor(t){super(),this.type=m.UNSPECIFIED,this.additionalReadwritePaths=[],this.additionalReadonlyPaths=[],this.readBoundary=d.UNSPECIFIED,this.additionalReadPaths=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["SandboxPolicy|1 type #0|2 network_access 8?|3 additional_readwrite_paths 9*|4 additional_readonly_paths 9*|5 debug_output_dir 9?|7 disable_tmp_write 8?|8 allowlist_escalated 8?|9 enable_shared_build_cache 8?|10 network_policy #1?|11 network_policy_strict 8?|12 capture_denies 8?|13 skip_statsig_defaults 8?|14 read_boundary #2|15 additional_read_paths 9*|16 allow_user_override_read_paths 8?",m,u,d]}}var m=(0,n.QT)(s.proto3,o,"SandboxPolicy.Type",[[0,"UNSPECIFIED"],[1,"INSECURE_NONE"],[2,"WORKSPACE_READWRITE"],[3,"WORKSPACE_READONLY"]],1),d=(0,n.QT)(s.proto3,o,"SandboxPolicy.ReadBoundaryMode",[[0,"UNSPECIFIED"],[1,"SYSTEM"],[2,"WORKSPACE"]],1)},"../proto/dist/generated/agent/v1/selected_context_pb.js"(t,r,e){e.d(r,{xv:()=>et});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/utils_pb.js"),o=e("../proto/dist/generated/agent/v1/ls_exec_pb.js"),i=e("../proto/dist/generated/agent/v1/cursor_rules_pb.js"),a=e("../proto/dist/generated/agent/v1/agent_skills_pb.js"),u=e("../proto/dist/runtime/compact.js");const l="agent.v1.";class c extends u.HL{static get runtime(){return(0,u.kU)(this,"runtime",s.proto3)}static $p(){return l}}var m=(0,u.QT)(s.proto3,l,"SelectedPluginCapabilityType",[[0,"UNSPECIFIED"],[1,"COMMAND"],[2,"SKILL"],[3,"SUBAGENT"]],1);class d extends c{constructor(t){super(),this.dataOrBlobId={case:void 0},this.uuid="",this.path="",this.mimeType="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["SelectedImage|1 blob_id 12 data_or_blob_id|8 data 12 data_or_blob_id|9 blob_id_with_data #0 data_or_blob_id|10 prompt_upload_ref #1 data_or_blob_id|2 uuid 9|3 path 9|4 dimension #2|7 mime_type 9",p,h,f]}}class p extends c{constructor(t){super(),this.blobId=new Uint8Array(0),this.data=new Uint8Array(0),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["SelectedImage.BlobIdWithData|1 blob_id 12|2 data 12"]}}class f extends c{constructor(t){super(),this.width=0,this.height=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["SelectedImage.Dimension|1 width 5|2 height 5"]}}class h extends c{constructor(t){super(),this.uploadId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["PromptUploadRef|1 upload_id 9"]}}class _ extends c{constructor(t){super(),this.dataOrBlobId={case:void 0},this.uuid="",this.filename="",this.mimeType="",this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["SelectedDocument|1 blob_id 12 data_or_blob_id|8 data 12 data_or_blob_id|9 blob_id_with_data #0 data_or_blob_id|10 prompt_upload_ref #1 data_or_blob_id|2 uuid 9|3 filename 9|4 mime_type 9|7 path 9",g,h]}}class g extends c{constructor(t){super(),this.blobId=new Uint8Array(0),this.data=new Uint8Array(0),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["SelectedDocument.BlobIdWithData|1 blob_id 12|2 data 12"]}}class j extends c{constructor(t){super(),this.dataOrBlobId={case:void 0},this.uuid="",this.path="",this.mimeType="",this.filename="",this.materializeToFilesystem=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["SelectedVideo|1 blob_id 12 data_or_blob_id|8 data 12 data_or_blob_id|9 blob_id_with_data #0 data_or_blob_id|11 signed_url #1 data_or_blob_id|13 prompt_upload_ref #2 data_or_blob_id|2 uuid 9|3 path 9|4 fps 2?|7 mime_type 9|10 filename 9|12 materialize_to_filesystem 8",b,y,h]}}class b extends c{constructor(t){super(),this.blobId=new Uint8Array(0),this.data=new Uint8Array(0),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["SelectedVideo.BlobIdWithData|1 blob_id 12|2 data 12"]}}class y extends c{constructor(t){super(),this.url="",this.key="",this.expiresAtUnixMs=s.protoInt64.zero,this.refreshAfterUnixMs=s.protoInt64.zero,this.conversationId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["SelectedVideo.SignedUrl|1 url 9|2 key 9|3 expires_at_unix_ms 3|4 refresh_after_unix_ms 3|5 conversation_id 9"]}}class w extends c{constructor(t){super(),this.dataOrBlobId={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["ExtraContextEntry|1 data 9 data_or_blob_id|2 blob_id 12 data_or_blob_id"]}}class x extends c{constructor(t){super(),this.content="",this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["SelectedFile|1 content 9|2 path 9|3 relative_path 9?"]}}class J extends c{constructor(t){super(),this.content="",this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["SelectedCodeSelection|1 content 9|2 path 9|3 relative_path 9?|4 range #0",n.Q6]}}class S extends c{constructor(t){super(),this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["SelectedTerminal|1 content 9|2 title 9?|3 path 9?"]}}class v extends c{constructor(t){super(),this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["SelectedTerminalSelection|1 content 9|2 title 9?|3 path 9?|4 range #0",n.Q6]}}class B extends c{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["SelectedFolder|1 path 9|2 relative_path 9?|3 directory_tree #0",o.vq]}}class q extends c{constructor(t){super(),this.url="",this.uuid="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["SelectedExternalLink|1 url 9|2 uuid 9|3 pdf_content 9?|4 is_pdf 8?|5 filename 9?|6 blob_id 12?"]}}class P extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["SelectedCursorRule|1 rule #0",i.DX]}}class I extends c{constructor(t){super(),this.content="",this.fullContentLengthCharCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new I).fromBinary(t,r)}static fromJson(t,r){return(new I).fromJson(t,r)}static fromJsonString(t,r){return(new I).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(I,t,r)}static $(){return["SelectedGitDiff|1 content 9|2 full_content_length_char_count 5"]}}class O extends c{constructor(t){super(),this.content="",this.fullContentLengthCharCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new O).fromBinary(t,r)}static fromJson(t,r){return(new O).fromJson(t,r)}static fromJsonString(t,r){return(new O).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(O,t,r)}static $(){return["SelectedGitDiffFromBranchToMain|1 content 9|2 full_content_length_char_count 5"]}}class E extends c{constructor(t){super(),this.sha="",this.message="",this.diff="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new E).fromBinary(t,r)}static fromJson(t,r){return(new E).fromJson(t,r)}static fromJsonString(t,r){return(new E).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(E,t,r)}static $(){return["SelectedGitCommit|1 sha 9|2 message 9|3 description 9?|4 diff 9"]}}class A extends c{constructor(t){super(),this.number=0,this.url="",this.folderPath="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new A).fromBinary(t,r)}static fromJson(t,r){return(new A).fromJson(t,r)}static fromJsonString(t,r){return(new A).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(A,t,r)}static $(){return["SelectedPullRequest|1 number 5|2 url 9|3 title 9?|4 folder_path 9|5 summary_json 9?|6 description 9?|7 blob_id 12?"]}}class $ extends c{constructor(t){super(),this.prUrl="",this.filePath="",this.startLine=0,this.endLine=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $).fromBinary(t,r)}static fromJson(t,r){return(new $).fromJson(t,r)}static fromJsonString(t,r){return(new $).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($,t,r)}static $(){return["SelectedGitPRDiffSelection|1 pr_url 9|2 file_path 9|3 start_line 5|4 end_line 5|5 diff_content 9?|6 blob_id 12?"]}}class k extends c{constructor(t){super(),this.pluginId="",this.capabilityType=m.UNSPECIFIED,this.sourcePath="",this.snapshotToken="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new k).fromBinary(t,r)}static fromJson(t,r){return(new k).fromJson(t,r)}static fromJsonString(t,r){return(new k).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(k,t,r)}static $(){return["SelectedPluginCapabilityRef|1 plugin_id 9|2 capability_type #0|3 source_path 9|4 snapshot_token 9|5 resolved_commit_sha 9?",m]}}class T extends c{constructor(t){super(),this.name="",this.content="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new T).fromBinary(t,r)}static fromJson(t,r){return(new T).fromJson(t,r)}static fromJsonString(t,r){return(new T).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(T,t,r)}static $(){return["SelectedCursorCommand|1 name 9|2 content 9|3 plugin_capability #0?|4 full_path 9?|5 display_name 9?",k]}}class C extends c{constructor(t){super(),this.docId="",this.name="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new C).fromBinary(t,r)}static fromJson(t,r){return(new C).fromJson(t,r)}static fromJsonString(t,r){return(new C).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(C,t,r)}static $(){return["SelectedDocumentation|1 doc_id 9|2 name 9"]}}class R extends c{constructor(t){super(),this.agentId="",this.name="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new R).fromBinary(t,r)}static fromJson(t,r){return(new R).fromJson(t,r)}static fromJsonString(t,r){return(new R).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(R,t,r)}static $(){return["SelectedPastChat|1 agent_id 9|2 name 9"]}}class M extends c{constructor(t){super(),this.name="",this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new M).fromBinary(t,r)}static fromJson(t,r){return(new M).fromJson(t,r)}static fromJsonString(t,r){return(new M).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(M,t,r)}static $(){return["RecentAgent|1 name 9|2 path 9|3 overview 9?"]}}class U extends c{constructor(t){super(),this.recentAgents=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new U).fromBinary(t,r)}static fromJson(t,r){return(new U).fromJson(t,r)}static fromJsonString(t,r){return(new U).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(U,t,r)}static $(){return["RecentAgentsContext|1 recent_agents #0*",M]}}class N extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new N).fromBinary(t,r)}static fromJson(t,r){return(new N).fromJson(t,r)}static fromJsonString(t,r){return(new N).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(N,t,r)}static $(){return["CallFrame|1 function_name 9?|2 url 9?|3 line_number 5?|4 column_number 5?"]}}class L extends c{constructor(t){super(),this.callFrames=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new L).fromBinary(t,r)}static fromJson(t,r){return(new L).fromJson(t,r)}static fromJsonString(t,r){return(new L).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(L,t,r)}static $(){return["StackTrace|1 call_frames #0*|2 raw_stack_trace 9?",N]}}class D extends c{constructor(t){super(),this.message="",this.timestamp=0,this.level="",this.clientName="",this.sessionId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new D).fromBinary(t,r)}static fromJson(t,r){return(new D).fromJson(t,r)}static fromJsonString(t,r){return(new D).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(D,t,r)}static $(){return["SelectedConsoleLog|1 message 9|2 timestamp 1|3 level 9|4 client_name 9|5 session_id 9|6 stack_trace #0?|7 object_data_json 9?",L]}}class F extends c{constructor(t){super(),this.element="",this.xpath="",this.textContent="",this.extra="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new F).fromBinary(t,r)}static fromJson(t,r){return(new F).fromJson(t,r)}static fromJsonString(t,r){return(new F).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(F,t,r)}static $(){return["SelectedUIElement|1 element 9|2 xpath 9|3 text_content 9|4 extra 9|5 component 9?|6 component_props_json 9?"]}}class W extends c{constructor(t){super(),this.name="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new W).fromBinary(t,r)}static fromJson(t,r){return(new W).fromJson(t,r)}static fromJsonString(t,r){return(new W).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(W,t,r)}static $(){return["SelectedSubagent|1 name 9"]}}class z extends c{constructor(t){super(),this.browserId="",this.url="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new z).fromBinary(t,r)}static fromJson(t,r){return(new z).fromJson(t,r)}static fromJsonString(t,r){return(new z).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(z,t,r)}static $(){return["SelectedBrowser|1 browser_id 9|2 url 9|3 page_title 9?"]}}class G extends c{constructor(t){super(),this.filesToCommit=[],this.filesToExcludeFromCommit=[],this.shouldStageAllChanges=!1,this.filesToCommitWithStatus=[],this.filesToExcludeFromCommitWithStatus=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new G).fromBinary(t,r)}static fromJson(t,r){return(new G).fromJson(t,r)}static fromJsonString(t,r){return(new G).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(G,t,r)}static $(){return["SelectedAgenticGitActionCommitParams|1 files_to_commit 9*|2 files_to_exclude_from_commit 9*|3 should_stage_all_changes 8|4 create_pr_draft 8?|5 files_to_commit_with_status #0*|6 files_to_exclude_from_commit_with_status #0*",V]}}class H extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new H).fromBinary(t,r)}static fromJson(t,r){return(new H).fromJson(t,r)}static fromJsonString(t,r){return(new H).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(H,t,r)}static $(){return["SelectedAgenticGitActionCreateBranchParams"]}}class V extends c{constructor(t){super(),this.path="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new V).fromBinary(t,r)}static fromJson(t,r){return(new V).fromJson(t,r)}static fromJsonString(t,r){return(new V).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(V,t,r)}static $(){return["SelectedAgenticGitFileWithStatus|1 path 9|2 status 9?"]}}class K extends c{constructor(t){super(),this.filesToPush=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new K).fromBinary(t,r)}static fromJson(t,r){return(new K).fromJson(t,r)}static fromJsonString(t,r){return(new K).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(K,t,r)}static $(){return["SelectedAgenticGitActionPushParams|1 files_to_push 9*|2 create_pr_draft 8?"]}}class Q extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Q).fromBinary(t,r)}static fromJson(t,r){return(new Q).fromJson(t,r)}static fromJsonString(t,r){return(new Q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Q,t,r)}static $(){return["SelectedAgenticGitActionFixMergeConflictsParams|1 base_branch 9?|2 pr_url 9?"]}}class Y extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Y).fromBinary(t,r)}static fromJson(t,r){return(new Y).fromJson(t,r)}static fromJsonString(t,r){return(new Y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Y,t,r)}static $(){return["SelectedAgenticGitActionBabysitPrInCloudParams|1 base_branch 9?"]}}class X extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new X).fromBinary(t,r)}static fromJson(t,r){return(new X).fromJson(t,r)}static fromJsonString(t,r){return(new X).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(X,t,r)}static $(){return["SelectedAgenticGitActionUpdateBranchParams|1 base_branch 9?"]}}class Z extends c{constructor(t){super(),this.remoteBranch="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new Z).fromBinary(t,r)}static fromJson(t,r){return(new Z).fromJson(t,r)}static fromJsonString(t,r){return(new Z).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(Z,t,r)}static $(){return["SelectedAgenticGitActionPullLocallyParams|1 remote_branch 9"]}}class tt extends c{constructor(t){super(),this.params={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new tt).fromBinary(t,r)}static fromJson(t,r){return(new tt).fromJson(t,r)}static fromJsonString(t,r){return(new tt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(tt,t,r)}static $(){return["SelectedAgenticGitAction|2 commit_params #0 params|6 commit_and_push_params #0 params|3 push_params #1 params|7 create_pr_params #1 params|8 create_pr_with_changes_params #0 params|4 fix_merge_conflicts_params #2 params|11 babysit_pr_in_cloud_params #3 params|14 apply_locally_params #4 params|15 checkout_branch_params #4 params|12 create_branch_and_commit_params #0 params|13 create_branch_commit_and_push_params #0 params|16 update_branch_params #5 params|17 create_branch_params #6 params|5 branch_context #7?|9 path_to_template_file 9?|10 path_to_template_dir 9?",G,K,Q,Y,Z,X,H,rt]}}class rt extends c{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new rt).fromBinary(t,r)}static fromJson(t,r){return(new rt).fromJson(t,r)}static fromJsonString(t,r){return(new rt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(rt,t,r)}static $(){return["SelectedGitBranchContext|1 current_branch 9?|2 base_branch 9?|3 agent_branch_prefix 9?"]}}class et extends c{constructor(t){super(),this.selectedImages=[],this.extraContext=[],this.extraContextEntries=[],this.files=[],this.codeSelections=[],this.terminals=[],this.terminalSelections=[],this.folders=[],this.externalLinks=[],this.cursorRules=[],this.cursorCommands=[],this.documentations=[],this.uiElements=[],this.consoleLogs=[],this.gitCommits=[],this.pastChats=[],this.gitPrDiffSelections=[],this.selectedPullRequests=[],this.selectedSubagents=[],this.selectedVideos=[],this.selectedBrowsers=[],this.selectedDocuments=[],this.selectedSkills=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new et).fromBinary(t,r)}static fromJson(t,r){return(new et).fromJson(t,r)}static fromJsonString(t,r){return(new et).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(et,t,r)}static $(){return["SelectedContext|1 selected_images #0*|2 invocation_context #1?|3 extra_context 9*|16 extra_context_entries #2*|4 files #3*|5 code_selections #4*|6 terminals #5*|7 terminal_selections #6*|8 folders #7*|9 external_links #8*|10 cursor_rules #9*|18 git_diff #10?|11 git_diff_from_branch_to_main #11?|12 cursor_commands #12*|13 documentations #13*|14 ui_elements #14*|15 console_logs #15*|17 git_commits #16*|19 past_chats #17*|20 git_pr_diff_selections #18*|21 selected_pull_requests #19*|22 selected_subagents #20*|23 selected_videos #21*|24 selected_browsers #22*|25 selected_documents #23*|26 selected_skills #24*|27 recent_agents_context #25?|34 selected_agentic_git_action #26?",d,st,w,x,J,S,v,B,q,P,I,O,T,C,F,D,E,R,$,A,W,j,z,_,a.N,U,tt]}}class st extends c{constructor(t){super(),this.data={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new st).fromBinary(t,r)}static fromJson(t,r){return(new st).fromJson(t,r)}static fromJsonString(t,r){return(new st).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(st,t,r)}static $(){return["InvocationContext|1 slack_thread #0 data|2 github_pr #1 data|3 ide_state #2 data|4 microsoft_teams_thread #3 data|10 blob_id 12 data",nt,it,ut,ot]}}class nt extends c{constructor(t){super(),this.thread="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new nt).fromBinary(t,r)}static fromJson(t,r){return(new nt).fromJson(t,r)}static fromJsonString(t,r){return(new nt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(nt,t,r)}static $(){return["InvocationContext.SlackThread|1 thread 9|2 channel_name 9?|3 channel_purpose 9?|4 channel_topic 9?|5 sender_name 9?|6 sender_id 9?|7 sender_type 9?|8 is_directly_addressed 8?|9 message_permalink 9?"]}}class ot extends c{constructor(t){super(),this.thread="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ot).fromBinary(t,r)}static fromJson(t,r){return(new ot).fromJson(t,r)}static fromJsonString(t,r){return(new ot).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ot,t,r)}static $(){return["InvocationContext.MicrosoftTeamsThread|1 thread 9|2 channel_name 9?|3 team_name 9?|4 channel_description 9?|5 team_description 9?"]}}class it extends c{constructor(t){super(),this.title="",this.description="",this.comments="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new it).fromBinary(t,r)}static fromJson(t,r){return(new it).fromJson(t,r)}static fromJsonString(t,r){return(new it).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(it,t,r)}static $(){return["InvocationContext.GithubPR|1 title 9|2 description 9|3 comments 9|4 ci_failures 9?|5 code_tour_view #0?",at]}}class at extends c{constructor(t){super(),this.headSha="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new at).fromBinary(t,r)}static fromJson(t,r){return(new at).fromJson(t,r)}static fromJsonString(t,r){return(new at).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(at,t,r)}static $(){return["InvocationContext.GithubPR.CodeTourView|1 head_sha 9|2 current_revision_id 9?|3 visible_section_id 9?|4 visible_step_id 9?|5 path_scope_prefix 9?"]}}class ut extends c{constructor(t){super(),this.visibleFiles=[],this.recentlyViewedFiles=[],this.currentlyViewedPrs=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ut).fromBinary(t,r)}static fromJson(t,r){return(new ut).fromJson(t,r)}static fromJsonString(t,r){return(new ut).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ut,t,r)}static $(){return["InvocationContext.IdeState|1 visible_files #0*|2 recently_viewed_files #0*|3 currently_viewed_prs #1*",lt,mt]}}class lt extends c{constructor(t){super(),this.path="",this.totalLines=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new lt).fromBinary(t,r)}static fromJson(t,r){return(new lt).fromJson(t,r)}static fromJsonString(t,r){return(new lt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(lt,t,r)}static $(){return["InvocationContext.IdeState.File|1 path 9|2 relative_path 9?|3 cursor_position #0?|4 total_lines 5|5 active_command 9?",ct]}}class ct extends c{constructor(t){super(),this.line=0,this.text="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new ct).fromBinary(t,r)}static fromJson(t,r){return(new ct).fromJson(t,r)}static fromJsonString(t,r){return(new ct).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(ct,t,r)}static $(){return["InvocationContext.IdeState.File.CursorPosition|1 line 5|2 text 9"]}}class mt extends c{constructor(t){super(),this.number=0,this.url="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new mt).fromBinary(t,r)}static fromJson(t,r){return(new mt).fromJson(t,r)}static fromJsonString(t,r){return(new mt).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(mt,t,r)}static $(){return["InvocationContext.IdeState.ViewedPullRequest|1 number 5|2 url 9|3 title 9?|4 folder_path 9?|5 summary_json 9?|6 description 9?"]}}},"../proto/dist/generated/agent/v1/setup_vm_environment_tool_pb.js"(t,r,e){e.d(r,{BI:()=>i,MU:()=>l,r$:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.installCommand="",this.startCommand="",this.dockerfileContents="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["SetupVmEnvironmentArgs|2 install_command 9|3 start_command 9|4 dockerfile_contents 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["SetupVmEnvironmentResult|1 success #0 result",u]}}class u extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["SetupVmEnvironmentSuccess"]}}class l extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["SetupVmEnvironmentToolCall|1 args #0|2 result #1",i,a]}}},"../proto/dist/generated/agent/v1/shell_exec_pb.js"(t,r,e){e.d(r,{$F:()=>b,Db:()=>q,E4:()=>_,HO:()=>d,In:()=>y,W4:()=>J,a:()=>x,jn:()=>T,o0:()=>B,pZ:()=>k,rI:()=>O,tD:()=>I,vb:()=>P});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/sandbox_pb.js"),o=e("../proto/dist/generated/agent/v1/utils_pb.js"),i=(e("../proto/dist/generated/agent/v1/hook_additional_context_pb.js"),e("../proto/dist/runtime/compact.js"));const a="agent.v1.";class u extends i.HL{static get runtime(){return(0,i.kU)(this,"runtime",s.proto3)}static $p(){return a}}var l=(0,i.QT)(s.proto3,a,"TimeoutBehavior",[[0,"UNSPECIFIED"],[1,"CANCEL"],[2,"BACKGROUND"]],1),c=(0,i.QT)(s.proto3,a,"ShellBackgroundReason",[[0,"UNSPECIFIED"],[1,"TIMEOUT"],[2,"USER_REQUEST"]],1),m=(s.proto3,(0,i.QT)(s.proto3,a,"ShellAbortReason",[[0,"UNSPECIFIED"],[1,"USER_ABORT"],[2,"TIMEOUT"]],1));class d extends u{constructor(t){super(),this.parsingFailed=!1,this.executableCommands=[],this.hasRedirects=!1,this.hasCommandSubstitution=!1,this.redirects=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["ShellCommandParsingResult|1 parsing_failed 8|2 executable_commands #0*|3 has_redirects 8|4 has_command_substitution 8|5 all_redirects_are_dev_null 8?|6 redirects #1*",f,h]}}class p extends u{constructor(t){super(),this.type="",this.value="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["ShellCommandParsingResult.ExecutableCommandArg|1 type 9|2 value 9"]}}class f extends u{constructor(t){super(),this.name="",this.args=[],this.fullText="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ShellCommandParsingResult.ExecutableCommand|1 name 9|2 args #0*|3 full_text 9",p]}}class h extends u{constructor(t){super(),this.operator="",this.destinationFds=[],this.targetNodeType="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["ShellCommandParsingResult.Redirect|1 operator 9|2 destination_fds 13*|3 target_node_type 9|4 target_text 9?"]}}class _ extends u{constructor(t){super(),this.commands=[],this.suggestedSandboxMode=g.UNSPECIFIED,this.classificationFailed=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["CommandClassifierResult|1 commands #0*|2 suggested_sandbox_mode #1|3 classification_failed 8",j,g]}}var g=(0,i.QT)(s.proto3,a,"CommandClassifierResult.SuggestedSandboxMode",[[0,"UNSPECIFIED"],[1,"SANDBOX"],[2,"NO_SANDBOX"],[3,"UNDETERMINED"]],1);class j extends u{constructor(t){super(),this.name="",this.arguments=[],this.subcommandTokens=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["CommandClassifierResult.ClassifiedCommand|1 name 9|2 arguments 9*|3 suggested_allowlist_entry 9?|4 subcommand_tokens 9*"]}}class b extends u{constructor(t){super(),this.pattern="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["ShellOutputNotificationConfig|1 pattern 9|2 reason 9|3 debounce 1?|4 notification_limit 5?"]}}class y extends u{constructor(t){super(),this.kind=w.UNSPECIFIED,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["ShellHookApprovalRequirement|1 kind #0|2 reason 9?",w]}}var w=(0,i.QT)(s.proto3,a,"ShellHookApprovalRequirement.Kind",[[0,"UNSPECIFIED"],[1,"FORCE_PROMPT"]],1);class x extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.timeout=0,this.toolCallId="",this.simpleCommands=[],this.hasInputRedirect=!1,this.hasOutputRedirect=!1,this.isBackground=!1,this.skipApproval=!1,this.timeoutBehavior=l.UNSPECIFIED,this.closeStdin=!1,this.adminCommandDenylist=[],this.smartModeClassifierAllowed=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["ShellArgs|1 command 9|2 working_directory 9|3 timeout 5|4 tool_call_id 9|5 simple_commands 9*|6 has_input_redirect 8|7 has_output_redirect 8|8 parsing_result #0|9 requested_sandbox_policy #1?|10 file_output_threshold_bytes 4?|11 is_background 8|12 skip_approval 8|13 timeout_behavior #2|14 hard_timeout 5?|15 description 9?|16 classifier_result #3?|17 close_stdin 8|18 output_notification #4?|19 smart_mode_approval #5?|20 hook_approval_requirement #6?|21 conversation_id 9?|22 admin_command_denylist 9*|23 request_id 9?|24 secret_scope_id 9?|25 smart_mode_classifier_allowed 8",d,n.Mw,l,_,b,o.UC,y]}}class J extends u{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["ShellResult|1 success #0 result|2 failure #1 result|3 timeout #2 result|4 rejected #3 result|5 spawn_error #4 result|7 permission_denied #5 result|101 sandbox_policy #6?|102 is_background 8?|103 terminals_folder 9?|104 pid 13?",E,A,$,k,C,T,n.Mw]}}class S extends u{constructor(t){super(),this.kind=v.UNSPECIFIED,this.memoryLimitBytes=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["ShellOomKill|1 kind #0|2 memory_limit_bytes 4",v]}}var v=(0,i.QT)(s.proto3,a,"ShellOomKill.Kind",[[0,"UNSPECIFIED"],[1,"COMMAND_KILLED"],[2,"COMMAND_FAILED"],[3,"UNCONFIRMED"]],1);class B extends u{constructor(t){super(),this.data="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["ShellStreamStdout|1 data 9"]}}class q extends u{constructor(t){super(),this.data="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new q).fromBinary(t,r)}static fromJson(t,r){return(new q).fromJson(t,r)}static fromJsonString(t,r){return(new q).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(q,t,r)}static $(){return["ShellStreamStderr|1 data 9"]}}class P extends u{constructor(t){super(),this.code=0,this.cwd="",this.aborted=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new P).fromBinary(t,r)}static fromJson(t,r){return(new P).fromJson(t,r)}static fromJsonString(t,r){return(new P).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(P,t,r)}static $(){return["ShellStreamExit|1 code 13|2 cwd 9|3 output_location #0?|4 aborted 8|5 abort_reason #1?|6 local_execution_time_ms 5?|7 oom_kill #2?",o.pV,m,S]}}class I extends u{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new I).fromBinary(t,r)}static fromJson(t,r){return(new I).fromJson(t,r)}static fromJsonString(t,r){return(new I).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(I,t,r)}static $(){return["ShellStreamStart|1 sandbox_policy #0?|2 command 9?",n.Mw]}}class O extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.sandboxPolicyType="",this.reason="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new O).fromBinary(t,r)}static fromJson(t,r){return(new O).fromJson(t,r)}static fromJsonString(t,r){return(new O).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(O,t,r)}static $(){return["ShellSandboxUnsupported|1 command 9|2 working_directory 9|3 sandbox_policy_type 9|4 reason 9|5 is_readonly 8"]}}class E extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.exitCode=0,this.signal="",this.stdout="",this.stderr="",this.executionTime=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new E).fromBinary(t,r)}static fromJson(t,r){return(new E).fromJson(t,r)}static fromJsonString(t,r){return(new E).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(E,t,r)}static $(){return["ShellSuccess|1 command 9|2 working_directory 9|3 exit_code 5|4 signal 9|5 stdout 9|6 stderr 9|7 execution_time 5|8 output_location #0?|9 shell_id 13?|10 interleaved_output 9?|11 pid 13?|12 ms_to_wait 5?|13 local_execution_time_ms 5?|14 background_reason #1?|15 output_head 9?|16 output_tail 9?|17 elided_chars 13?",o.pV,c]}}class A extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.exitCode=0,this.signal="",this.stdout="",this.stderr="",this.executionTime=0,this.aborted=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new A).fromBinary(t,r)}static fromJson(t,r){return(new A).fromJson(t,r)}static fromJsonString(t,r){return(new A).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(A,t,r)}static $(){return["ShellFailure|1 command 9|2 working_directory 9|3 exit_code 5|4 signal 9|5 stdout 9|6 stderr 9|7 execution_time 5|8 output_location #0?|9 interleaved_output 9?|10 abort_reason #1?|11 aborted 8|12 local_execution_time_ms 5?|13 output_head 9?|14 output_tail 9?|15 elided_chars 13?|16 oom_kill #2?",o.pV,m,S]}}class $ extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.timeoutMs=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new $).fromBinary(t,r)}static fromJson(t,r){return(new $).fromJson(t,r)}static fromJsonString(t,r){return(new $).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals($,t,r)}static $(){return["ShellTimeout|1 command 9|2 working_directory 9|3 timeout_ms 5"]}}class k extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.reason="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new k).fromBinary(t,r)}static fromJson(t,r){return(new k).fromJson(t,r)}static fromJsonString(t,r){return(new k).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(k,t,r)}static $(){return["ShellRejected|1 command 9|2 working_directory 9|3 reason 9|4 is_readonly 8"]}}class T extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.error="",this.isReadonly=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new T).fromBinary(t,r)}static fromJson(t,r){return(new T).fromJson(t,r)}static fromJsonString(t,r){return(new T).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(T,t,r)}static $(){return["ShellPermissionDenied|1 command 9|2 working_directory 9|3 error 9|4 is_readonly 8"]}}class C extends u{constructor(t){super(),this.command="",this.workingDirectory="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new C).fromBinary(t,r)}static fromJson(t,r){return(new C).fromJson(t,r)}static fromJsonString(t,r){return(new C).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(C,t,r)}static $(){return["ShellSpawnError|1 command 9|2 working_directory 9|3 error 9"]}}},"../proto/dist/generated/agent/v1/subagents_pb.js"(t,r,e){e.d(r,{FL:()=>m,OT:()=>B,U6:()=>c,_L:()=>d,dU:()=>u,qL:()=>l,zz:()=>v});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"CustomSubagentPermissionMode",[[0,"UNSPECIFIED"],[1,"DEFAULT"],[2,"READONLY"],[3,"AGENT_ONLY"]],1),u=(0,n.QT)(s.proto3,o,"SubagentExecutionEnvironment",[[0,"UNSPECIFIED"],[1,"LOCAL"],[2,"CLOUD"]],1),l=(0,n.QT)(s.proto3,o,"SubagentBackgroundReason",[[0,"UNSPECIFIED"],[1,"AGENT_REQUEST"],[2,"USER_REQUEST"],[3,"QUEUED_FOLLOW_UP"]],1),c=(0,n.QT)(s.proto3,o,"BackgroundTaskCompletionReason",[[0,"UNSPECIFIED"],[1,"TASK_FINISHED"],[2,"TASK_PROGRESS"],[3,"WORKER_REPARENTED"],[4,"WORKER_MESSAGE"],[5,"WORKER_NEEDS_ATTENTION"],[6,"PROJECT_SESSION_MESSAGE"]],1),m=(0,n.QT)(s.proto3,o,"TaskMode",[[0,"UNSPECIFIED"],[1,"AGENT"],[2,"PLAN"]],1);class d extends i{constructor(t){super(),this.type={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["SubagentType|1 unspecified #0 type|2 computer_use #1 type|3 custom #2 type|4 explore #3 type|5 media_review #4 type|6 bash #5 type|7 browser_use #6 type|8 shell #7 type|9 vm_setup_helper #8 type|10 debug #9 type|11 cursor_guide #10 type|12 watch_video #11 type",p,f,S,h,_,g,b,j,y,w,x,J]}}class p extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["SubagentTypeUnspecified"]}}class f extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["SubagentTypeComputerUse"]}}class h extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["SubagentTypeExplore"]}}class _ extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["SubagentTypeMediaReview"]}}class g extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["SubagentTypeBash"]}}class j extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["SubagentTypeShell"]}}class b extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["SubagentTypeBrowserUse"]}}class y extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new y).fromBinary(t,r)}static fromJson(t,r){return(new y).fromJson(t,r)}static fromJsonString(t,r){return(new y).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(y,t,r)}static $(){return["SubagentTypeVmSetupHelper"]}}class w extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new w).fromBinary(t,r)}static fromJson(t,r){return(new w).fromJson(t,r)}static fromJsonString(t,r){return(new w).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(w,t,r)}static $(){return["SubagentTypeDebug"]}}class x extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new x).fromBinary(t,r)}static fromJson(t,r){return(new x).fromJson(t,r)}static fromJsonString(t,r){return(new x).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(x,t,r)}static $(){return["SubagentTypeCursorGuide"]}}class J extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new J).fromBinary(t,r)}static fromJson(t,r){return(new J).fromJson(t,r)}static fromJsonString(t,r){return(new J).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(J,t,r)}static $(){return["SubagentTypeWatchVideo"]}}class S extends i{constructor(t){super(),this.name="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new S).fromBinary(t,r)}static fromJson(t,r){return(new S).fromJson(t,r)}static fromJsonString(t,r){return(new S).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(S,t,r)}static $(){return["SubagentTypeCustom|1 name 9"]}}class v extends i{constructor(t){super(),this.fullPath="",this.name="",this.description="",this.tools=[],this.model="",this.prompt="",this.permissionMode=a.UNSPECIFIED,this.isBackground=!1,this.forceDefaultModel=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new v).fromBinary(t,r)}static fromJson(t,r){return(new v).fromJson(t,r)}static fromJsonString(t,r){return(new v).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(v,t,r)}static $(){return["CustomSubagent|1 full_path 9|2 name 9|3 description 9|4 tools 9*|5 model 9|6 prompt 9|7 permission_mode #0|8 is_background 8|9 plugin 9?|10 marketplace 9?|11 plugin_id 9?|12 marketplace_id 9?|13 force_default_model 8|14 source 9?",a]}}class B extends i{constructor(t){super(),this.request="",this.messageId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new B).fromBinary(t,r)}static fromJson(t,r){return(new B).fromJson(t,r)}static fromJsonString(t,r){return(new B).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(B,t,r)}static $(){return["VoiceCallNotes|1 request 9|2 message_id 9"]}}},"../proto/dist/generated/agent/v1/switch_mode_tool_pb.js"(t,r,e){e.d(r,{Cs:()=>m,Nc:()=>d,w$:()=>p});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.targetModeId="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["SwitchModeArgs|1 target_mode_id 9|2 explanation 9?|3 tool_call_id 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["SwitchModeResult|1 success #0 result|2 error #1 result|3 rejected #2 result",u,l,c]}}class u extends o{constructor(t){super(),this.fromModeId="",this.toModeId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["SwitchModeSuccess|1 from_mode_id 9|2 to_mode_id 9"]}}class l extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["SwitchModeError|1 error 9"]}}class c extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["SwitchModeRejected|1 reason 9"]}}class m extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["SwitchModeToolCall|1 args #0|2 result #1",i,a]}}class d extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["SwitchModeRequestQuery|1 args #0",i]}}class p extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["SwitchModeRequestResponse|1 approved #0 result|2 rejected #1 result",f,h]}}class f extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["SwitchModeRequestResponse.Approved"]}}class h extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["SwitchModeRequestResponse.Rejected|1 reason 9"]}}},"../proto/dist/generated/agent/v1/system_prompt_pb.js"(t,r,e){e.d(r,{$:()=>i});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.spec={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["SystemPromptSpec|1 replace 9 spec|2 append 9 spec"]}}},"../proto/dist/generated/agent/v1/todo_tool_pb.js"(t,r,e){e.d(r,{AJ:()=>f,bk:()=>l,kW:()=>u});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="agent.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}var a=(0,n.QT)(s.proto3,o,"TodoStatus",[[0,"UNSPECIFIED"],[1,"PENDING"],[2,"IN_PROGRESS"],[3,"COMPLETED"],[4,"CANCELLED"]],1);class u extends i{constructor(t){super(),this.id="",this.content="",this.status=a.UNSPECIFIED,this.createdAt=s.protoInt64.zero,this.updatedAt=s.protoInt64.zero,this.dependencies=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["TodoItem|1 id 9|2 content 9|3 status #0|4 created_at 3|5 updated_at 3|6 dependencies 9*",a]}}class l extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["UpdateTodosToolCall|1 args #0|2 result #1",c,m]}}class c extends i{constructor(t){super(),this.todos=[],this.merge=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["UpdateTodosArgs|1 todos #0*|2 merge 8",u]}}class m extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["UpdateTodosResult|1 success #0 result|2 error #1 result",d,p]}}class d extends i{constructor(t){super(),this.todos=[],this.totalCount=0,this.wasMerge=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["UpdateTodosSuccess|1 todos #0*|2 total_count 5|3 was_merge 8",u]}}class p extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["UpdateTodosError|1 error 9"]}}class f extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["ReadTodosToolCall|1 args #0|2 result #1",h,_]}}class h extends i{constructor(t){super(),this.statusFilter=[],this.idFilter=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["ReadTodosArgs|1 status_filter #0*|2 id_filter 9*",a]}}class _ extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["ReadTodosResult|1 success #0 result|2 error #1 result",g,j]}}class g extends i{constructor(t){super(),this.todos=[],this.totalCount=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["ReadTodosSuccess|1 todos #0*|2 total_count 5",u]}}class j extends i{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["ReadTodosError|1 error 9"]}}},"../proto/dist/generated/agent/v1/utils_pb.js"(t,r,e){e.d(r,{Q6:()=>i,UC:()=>l,pV:()=>u,yX:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["Range|1 start #0|2 end #0",a]}}class a extends o{constructor(t){super(),this.line=0,this.column=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["Position|1 line 13|2 column 13"]}}class u extends o{constructor(t){super(),this.filePath="",this.sizeBytes=s.protoInt64.zero,this.lineCount=s.protoInt64.zero,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["OutputLocation|1 file_path 9|2 size_bytes 3|3 line_count 3"]}}class l extends o{constructor(t){super(),this.requestId="",this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["SmartModeApproval|1 request_id 9|2 reason 9"]}}},"../proto/dist/generated/agent/v1/web_fetch_tool_pb.js"(t,r,e){e.d(r,{Un:()=>p,fS:()=>f,fd:()=>d});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/agent/v1/utils_pb.js"),o=e("../proto/dist/runtime/compact.js");class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class a extends i{constructor(t){super(),this.url="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["WebFetchArgs|1 url 9|2 tool_call_id 9"]}}class u extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["WebFetchResult|1 success #0 result|2 error #1 result|3 rejected #2 result",l,c,m]}}class l extends i{constructor(t){super(),this.url="",this.markdown="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["WebFetchSuccess|1 url 9|2 markdown 9|3 output_location #0?",n.pV]}}class c extends i{constructor(t){super(),this.url="",this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["WebFetchError|1 url 9|2 error 9"]}}class m extends i{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["WebFetchRejected|1 reason 9"]}}class d extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["WebFetchToolCall|1 args #0|2 result #1",a,u]}}class p extends i{constructor(t){super(),this.skipApproval=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["WebFetchRequestQuery|1 args #0|2 skip_approval 8|3 smart_mode_approval #1",a,n.UC]}}class f extends i{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["WebFetchRequestResponse|1 approved #0 result|2 rejected #1 result",h,_]}}class h extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["WebFetchRequestResponse.Approved"]}}class _ extends i{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["WebFetchRequestResponse.Rejected|1 reason 9"]}}},"../proto/dist/generated/agent/v1/web_search_tool_pb.js"(t,r,e){e.d(r,{KL:()=>p,lI:()=>f,pn:()=>d});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");class o extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return"agent.v1."}}class i extends o{constructor(t){super(),this.searchTerm="",this.toolCallId="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new i).fromBinary(t,r)}static fromJson(t,r){return(new i).fromJson(t,r)}static fromJsonString(t,r){return(new i).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(i,t,r)}static $(){return["WebSearchArgs|1 search_term 9|2 tool_call_id 9"]}}class a extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["WebSearchResult|1 success #0 result|2 error #1 result|3 rejected #2 result",u,l,c]}}class u extends o{constructor(t){super(),this.references=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["WebSearchSuccess|1 references #0*",m]}}class l extends o{constructor(t){super(),this.error="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["WebSearchError|1 error 9"]}}class c extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["WebSearchRejected|1 reason 9"]}}class m extends o{constructor(t){super(),this.title="",this.url="",this.chunk="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["WebSearchReference|1 title 9|2 url 9|3 chunk 9"]}}class d extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["WebSearchToolCall|1 args #0|2 result #1",i,a]}}class p extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["WebSearchRequestQuery|1 args #0",i]}}class f extends o{constructor(t){super(),this.result={case:void 0},s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["WebSearchRequestResponse|1 approved #0 result|2 rejected #1 result",h,_]}}class h extends o{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["WebSearchRequestResponse.Approved"]}}class _ extends o{constructor(t){super(),this.reason="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["WebSearchRequestResponse.Rejected|1 reason 9"]}}},"../proto/dist/generated/aiserver/v1/repository_pb.js"(t,r,e){e.d(r,{PT:()=>a});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/generated/aiserver/v1/utils_pb.js"),o=e("../proto/dist/runtime/compact.js");o.HL,s.proto3;class i extends o.HL{static get runtime(){return(0,o.kU)(this,"runtime",s.proto3)}static $p(){return"aiserver.v1."}}s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3;class a extends i{constructor(t){super(),this.score=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new a).fromBinary(t,r)}static fromJson(t,r){return(new a).fromJson(t,r)}static fromJsonString(t,r){return(new a).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(a,t,r)}static $(){return["CodeResult|1 code_block #0|2 score 2",n.NG]}}s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3,s.proto3},"../proto/dist/generated/aiserver/v1/utils_pb.js"(t,r,e){e.d(r,{Gm:()=>b,NG:()=>d,Nj:()=>a,ZH:()=>_,_u:()=>l,d7:()=>m});var s=e("@bufbuild/protobuf"),n=e("../proto/dist/runtime/compact.js");const o="aiserver.v1.";class i extends n.HL{static get runtime(){return(0,n.kU)(this,"runtime",s.proto3)}static $p(){return o}}s.proto3;var a=(0,n.QT)(s.proto3,o,"EmbeddingModel",[[0,"UNSPECIFIED"],[1,"VOYAGE_CODE_2"],[2,"TEXT_EMBEDDINGS_LARGE_3"],[3,"QWEN_1_5B_CUSTOM"],[4,"MOCK_CHUNKER_ERROR"],[5,"QWEN_1_5B_0618_CUSTOM"],[6,"QWEN_1_5B_0618_FP8_MM_CUSTOM"]],1);class u extends i{constructor(t){super(),this.line=0,this.column=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new u).fromBinary(t,r)}static fromJson(t,r){return(new u).fromJson(t,r)}static fromJsonString(t,r){return(new u).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(u,t,r)}static $(){return["CursorPosition|1 line 5|2 column 5"]}}s.proto3,s.proto3;class l extends i{constructor(t){super(),this.startLineNumber=0,this.startColumn=0,this.endLineNumberInclusive=0,this.endColumn=0,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new l).fromBinary(t,r)}static fromJson(t,r){return(new l).fromJson(t,r)}static fromJsonString(t,r){return(new l).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(l,t,r)}static $(){return["SimpleRange|1 start_line_number 5|2 start_column 5|3 end_line_number_inclusive 5|4 end_column 5"]}}class c extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new c).fromBinary(t,r)}static fromJson(t,r){return(new c).fromJson(t,r)}static fromJsonString(t,r){return(new c).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(c,t,r)}static $(){return["CursorRange|1 start_position #0|2 end_position #0",u]}}class m extends i{constructor(t){super(),this.text="",this.lineNumber=0,this.isSignature=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new m).fromBinary(t,r)}static fromJson(t,r){return(new m).fromJson(t,r)}static fromJsonString(t,r){return(new m).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(m,t,r)}static $(){return["DetailedLine|1 text 9|2 line_number 2|3 is_signature 8"]}}class d extends i{constructor(t){super(),this.relativeWorkspacePath="",this.contents="",this.detailedLines=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new d).fromBinary(t,r)}static fromJson(t,r){return(new d).fromJson(t,r)}static fromJsonString(t,r){return(new d).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(d,t,r)}static $(){return["CodeBlock|1 relative_workspace_path 9|2 file_contents 9?|9 file_contents_length 5?|3 range #0|4 contents 9|5 signatures #1|6 override_contents 9?|7 original_contents 9?|8 detailed_lines #2*|10 file_git_context #3",c,p,m,h]}}class p extends i{constructor(t){super(),this.ranges=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new p).fromBinary(t,r)}static fromJson(t,r){return(new p).fromJson(t,r)}static fromJsonString(t,r){return(new p).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(p,t,r)}static $(){return["CodeBlock.Signatures|1 ranges #0*",c]}}class f extends i{constructor(t){super(),this.commit="",this.author="",this.date="",this.message="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new f).fromBinary(t,r)}static fromJson(t,r){return(new f).fromJson(t,r)}static fromJsonString(t,r){return(new f).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(f,t,r)}static $(){return["GitCommit|1 commit 9|2 author 9|3 date 9|4 message 9"]}}class h extends i{constructor(t){super(),this.commits=[],s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new h).fromBinary(t,r)}static fromJson(t,r){return(new h).fromJson(t,r)}static fromJsonString(t,r){return(new h).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(h,t,r)}static $(){return["FileGit|1 commits #0*",f]}}class _ extends i{constructor(t){super(),this.relativeWorkspacePath="",this.contents="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new _).fromBinary(t,r)}static fromJson(t,r){return(new _).fromJson(t,r)}static fromJsonString(t,r){return(new _).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(_,t,r)}static $(){return["File|1 relative_workspace_path 9|2 contents 9|3 file_git_context #0",h]}}s.proto3;class g extends i{constructor(t){super(),this.apiKey="",this.baseUrl="",this.deployment="",this.useAzure=!1,s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new g).fromBinary(t,r)}static fromJson(t,r){return(new g).fromJson(t,r)}static fromJsonString(t,r){return(new g).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(g,t,r)}static $(){return["AzureState|1 api_key 9|2 base_url 9|3 deployment 9|4 use_azure 8"]}}class j extends i{constructor(t){super(),this.accessKey="",this.secretKey="",this.region="",this.useBedrock=!1,this.sessionToken="",s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new j).fromBinary(t,r)}static fromJson(t,r){return(new j).fromJson(t,r)}static fromJsonString(t,r){return(new j).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(j,t,r)}static $(){return["BedrockState|1 access_key 9|2 secret_key 9|3 region 9|4 use_bedrock 8|5 session_token 9"]}}class b extends i{constructor(t){super(),s.proto3.util.initPartial(t,this)}static fromBinary(t,r){return(new b).fromBinary(t,r)}static fromJson(t,r){return(new b).fromJson(t,r)}static fromJsonString(t,r){return(new b).fromJsonString(t,r)}static equals(t,r){return s.proto3.util.equals(b,t,r)}static $(){return["ModelDetails|1 model_name 9?|2 api_key 9?|3 enable_ghost_mode 8?|4 azure_state #0?|5 enable_slow_pool 8?|6 openai_api_base_url 9?|7 bedrock_state #1?|8 max_mode 8?",g,j]}}s.proto3,s.proto3,s.proto3,s.proto3,s.proto3},"../proto/dist/runtime/compact.js"(t,r,e){e.d(r,{HL:()=>u,QT:()=>c,kU:()=>o});var s=e("@bufbuild/protobuf");const n={};function o(t,r,e){return Object.defineProperty(t,r,{value:e,writable:!0,enumerable:!0,configurable:!0}),e}function i(t,r,e){if("#"!==e.charAt(0))return{kind:"scalar",T:Number(e)};const s=r[Number(e.slice(1))];return"function"==typeof s?{kind:"message",T:s}:{kind:"enum",T:t.getEnumType(s)}}function a(t){return"?"===t?{opt:!0}:"*"===t?{repeated:!0}:void 0===t?n:{oneof:t}}class u extends s.Message{static get typeName(){const t=l(this);return o(t,"typeName",t.$p()+function(t){const r=t[0],e=r.indexOf("|");return-1===e?r:r.slice(0,e)}(t.$()))}static get fields(){const t=l(this),r=t.$(),e=t.runtime;return o(t,"fields",e.util.newFieldList((()=>function(t,r){const[e,...s]=r,n=e.split("|"),o=[];for(let r=1;r<n.length;r++){const e=n[r].split(" ");let u;const l=e[e.length-1];void 0!==l&&"="===l.charAt(0)&&(u=l.slice(1),e.pop());const c=Number(e[0]),m=e[1];let d=e[2],p=e[3];const f=d.charAt(d.length-1);"?"!==f&&"*"!==f||(p=f,d=d.slice(0,-1));const h=d.indexOf(",");if(-1!==h){const r={no:c,name:m,kind:"map",K:Number(d.slice(0,h)),V:i(t,s,d.slice(h+1))};void 0!==u&&(r.jsonName=u),o.push(r);continue}const _=Object.assign({no:c,name:m},i(t,s,d),a(p));void 0!==u&&(_.jsonName=u),o.push(_)}return o}(e,r))))}}function l(t){if(!function(t){return"$"in t&&"function"==typeof t.$&&"$p"in t&&"function"==typeof t.$p}(t))throw new TypeError(`${t.name} has no compact message descriptor`);return t}function c(t,r,e,s,n){const o=e.slice(e.lastIndexOf(".")+1);let i,a;if(1===n){const t=function(t){return(t.charAt(0)+t.slice(1).replace(/[A-Z]/g,(t=>"_"+t))).toUpperCase()+"_"}(o);a=s.map((t=>t[1])),i=a.map((r=>t+r))}else i=s.map((t=>t[1])),a=void 0===n?function(t,r){const e=(t.charAt(0)+t.slice(1).replace(/[A-Z]/g,(t=>"_"+t))).toLowerCase()+"_",s=[];for(const t of r){if(!t.toLowerCase().startsWith(e))return r.slice();const n=t.slice(e.length);if(""===n||/^[0-9]/.test(n))return r.slice();s.push(n)}return s}(o,i):n;const u={},l=[];for(let t=0;t<s.length;t++){const r=s[t][0];u[a[t]]=r,u[r]=a[t],l.push({no:r,name:i[t]})}return t.util.setEnumType(u,r+e,l),u}},"../utils/dist/disposable.js"(t,r,e){e.d(r,{j:()=>s});class s{}},"../utils/dist/promise-extras.js"(t,r,e){e.d(r,{PH:()=>n});var s=e("../../node_modules/.pnpm/rxjs@8.0.0-alpha.14/node_modules/rxjs/dist/cjs/index.js");async function n(t,r,e){const{max:n=4}=e??{},o=(0,s.from)(t.map(((t,r)=>r))).pipe((0,s.map)((e=>(0,s.defer)((()=>(0,s.from)(r(t[e])).pipe((0,s.map)((t=>({idx:e,v:t})))))))),(0,s.mergeAll)(n),(0,s.reduce)(((t,r)=>(t[r.idx]=r.v,t)),[]));return(0,s.firstValueFrom)(o)}Error}},_={};function g(t){var r=_[t];if(void 0!==r)return r.exports;var e=_[t]={exports:{}};return h[t].call(e.exports,e,e.exports,g),e.exports}g.m=h,u="function"==typeof Symbol,l=u?Symbol("webpack queues"):"__webpack_queues__",c=u?Symbol("webpack exports"):"__webpack_exports__",m=u?Symbol("webpack error"):"__webpack_error__",d=t=>{t&&t.d<1&&(t.d=1,t.forEach((t=>t.r--)),t.forEach((t=>t.r--?t.r++:t())))},g.a=(t,r,e)=>{var s;e&&((s=[]).d=-1);var n,o,i,a=new Set,u=t.exports,p=new Promise(((t,r)=>{i=r,o=t}));p[c]=u,p[l]=t=>(s&&t(s),a.forEach(t),p.catch((t=>{}))),t.exports=p,r((t=>{var r;n=(t=>t.map((t=>{if(null!==t&&"object"==typeof t){if(t[l])return t;if(t.then){var r=[];r.d=0,t.then((t=>{e[c]=t,d(r)}),(t=>{e[m]=t,d(r)}));var e={};return e[l]=t=>t(r),e}}var s={};return s[l]=t=>{},s[c]=t,s})))(t);var e=()=>n.map((t=>{if(t[m])throw t[m];return t[c]})),o=new Promise((t=>{(r=()=>t(e)).r=0;var o=t=>t!==s&&!a.has(t)&&(a.add(t),t&&!t.d&&(r.r++,t.push(r)));n.map((t=>t[l](o)))}));return r.r?o:e()}),(t=>(t?i(p[m]=t):o(u),d(s)))),s&&s.d<0&&(s.d=0)},g.d=(t,r)=>{for(var e in r)g.o(r,e)&&!g.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},g.f={},g.e=t=>Promise.all(Object.keys(g.f).reduce(((r,e)=>(g.f[e](t,r),r)),[])),g.u=t=>t+".js",g.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),g.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},p={279:0},f=t=>{var r,e,{__webpack_esm_ids__:s,__webpack_esm_modules__:n,__webpack_esm_runtime__:o}=t,i=0;for(r in n)g.o(n,r)&&(g.m[r]=n[r]);for(o&&o(g);i<s.length;i++)e=s[i],g.o(p,e)&&p[e]&&p[e][0](),p[s[i]]=0},g.f.j=(t,r)=>{var e=g.o(p,t)?p[t]:void 0;if(0!==e)if(e)r.push(e[1]);else{var s=import("./"+g.u(t)).then(f,(r=>{throw 0!==p[t]&&(p[t]=void 0),r}));s=Promise.race([s,new Promise((r=>e=p[t]=[r]))]),r.push(e[1]=s)}};var j=g("../agent-kv/dist/index.js"),b=g("../context/dist/core.js");function y(t){return{agentId:t.agentId,cwd:t.workspaceRef,status:B(t.status),activeRunId:t.activeRunId??null,latestCheckpoint:t.latestCheckpointRef?S(t.latestCheckpointRef):null,name:t.name??null,createdAt:t.createdAt.getTime(),updatedAt:t.updatedAt.getTime(),sdkMetadata:t.metadata}}function w(t){const r=t.finishedAt?.getTime()??t.cancelledAt?.getTime()??t.expiredAt?.getTime()??null;return{runId:t.runId,requestId:t.requestId??null,agentId:t.agentId,turnNumber:t.turnNumber,status:P(t.status),model:t.model??null,result:t.result??null,error:t.errorCode??null,usageRef:t.usageRef??null,usage:t.usage??null,createdAt:t.createdAt.getTime(),updatedAt:t.updatedAt.getTime(),startedAt:t.startedAt?.getTime()??null,endedAt:r,startCheckpointRef:t.startCheckpointRef?S(t.startCheckpointRef):null,latestCheckpointRef:t.latestCheckpointRef?S(t.latestCheckpointRef):null}}function x(t){return{agentId:t.agentId,workspaceRef:t.cwd,status:q(t.status),activeRunId:t.activeRunId??null,latestCheckpointRef:t.latestCheckpoint?v(t.latestCheckpoint):null,name:t.name??null,createdAt:new Date(t.createdAt),updatedAt:new Date(t.updatedAt),metadata:t.sdkMetadata??{}}}function J(t){const r=function(t){switch(t){case"queued":return"QUEUED";case"running":return"RUNNING";case"finished":return"FINISHED";case"error":return"ERROR";case"cancelled":return"CANCELLED";case"expired":return"EXPIRED";default:throw new Error("unexpected local run status")}}(t.status),e=t.endedAt?new Date(t.endedAt):null;return{runId:t.runId,requestId:t.requestId??null,agentId:t.agentId,turnNumber:t.turnNumber,status:r,model:t.model??null,startCheckpointRef:t.startCheckpointRef?v(t.startCheckpointRef):null,latestCheckpointRef:t.latestCheckpointRef?v(t.latestCheckpointRef):null,errorCode:t.error??null,result:t.result??null,usageRef:t.usageRef??null,usage:t.usage??null,createdAt:new Date(t.createdAt),updatedAt:new Date(t.updatedAt),startedAt:t.startedAt?new Date(t.startedAt):null,finishedAt:"FINISHED"===r?e:null,cancelledAt:"CANCELLED"===r?e:null,expiredAt:"EXPIRED"===r?e:null}}function S(t){return{schemaVersion:1,rootBlobId:t.blobId}}function v(t){return{blobId:t.rootBlobId,storeKind:"local-agent-store"}}function B(t){switch(t){case"IDLE":return"idle";case"RUNNING":return"running";case"ERROR":return"error";case"ARCHIVED":return"archived";default:throw new Error("unexpected agent lifecycle status")}}function q(t){switch(t){case"idle":return"IDLE";case"running":return"RUNNING";case"error":return"ERROR";case"archived":return"ARCHIVED";default:throw new Error("unexpected local agent status")}}function P(t){switch(t){case"QUEUED":return"queued";case"CREATING":case"RUNNING":return"running";case"FINISHED":return"finished";case"ERROR":return"error";case"CANCELLED":return"cancelled";case"EXPIRED":return"expired";default:throw new Error("unexpected run lifecycle status")}}function I(t,r){return!((r?.agentIds?.length||r?.blobIds?.length)&&(r.agentIds?.length&&!r.agentIds.includes(t.agentId)||r.blobIds?.length&&!r.blobIds.includes(t.blobId)))}function O(t,r){return!((r?.agentIds?.length||r?.runIds?.length)&&(r.agentIds?.length&&!r.agentIds.includes(t.agentId)||r.runIds?.length&&!r.runIds.includes(t.runId)))}function E(t,r){return r.updatedAt!==t.updatedAt?r.updatedAt-t.updatedAt:r.agentId.localeCompare(t.agentId)}function A(t,r){return t.turnNumber!==r.turnNumber?t.turnNumber-r.turnNumber:t.runId.localeCompare(r.runId)}function $(t){return Buffer.from(JSON.stringify(t),"utf8").toString("base64url")}function k(t){try{const r=JSON.parse(Buffer.from(t,"base64url").toString("utf8"));if(function(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}(r))return r}catch{}throw new Error("Invalid list cursor")}var T=g("node:crypto?8af2"),C=g("node:fs"),R=g("node:path");function M(t){return{runId:t.runId,seq:t.seq,offset:t.offset,eventType:t.eventType,payload:t.payload??null,payloadRef:t.payloadRef??null,idempotencyKey:t.idempotencyKey??null,createdAt:t.createdAt.getTime()}}async function U(t){return(await t.listAllAgentRecords()).map((t=>t.agentId))}async function N(t,r){return(await t.runStore.listAllRunRecords([r])).map((t=>t.runId))}class L{static async open(t){const r=t.stateRoot??function(t){const r=(0,R.join)(function(t,...r){if(!function(t){return/^[A-Za-z]:[\\/]/.test(t)||t.startsWith("\\\\")||t.startsWith("//")}(t))return[t.replace(/\/+$/,""),...r].join("/");const e=t.replace(/\//g,"\\").replace(/\\+$/,""),s=r.map((t=>t.replace(/\//g,"\\")));return 0===e.length?["","",...s].join("\\"):[e,...s].join("\\")}(a(),".cursor","projects",t.replace(/[^a-zA-Z0-9]/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")),"sdk-agent-store"),e=(0,R.join)(r,(0,T.createHash)("sha256").update(t).digest("hex"));if((0,C.existsSync)(e))return e;const s=function(t){try{return(0,T.createHash)("md5").update(t).digest("hex")}catch(t){if(function(t){return t instanceof Error&&("ERR_OSSL_EVP_UNSUPPORTED"===t.code||"Digest method not supported"===t.message)}(t))return;throw t}}(t);if(void 0===s)return e;const n=(0,R.join)(r,s);if(!(0,C.existsSync)(n))return e;try{return(0,C.renameSync)(n,e),e}catch{return(0,C.existsSync)(n)?n:e}}(t.workspaceRef),{createDefaultLocalAgentStores:e}=await g.e(19).then(g.bind(g,"../cursor-sdk-local-runtime/dist/run-store/default-local-agent-stores.js")),s=await e({stateRoot:r,workspaceRef:t.workspaceRef}),n=s.store,o=s.eventStore,i=s.checkpointStore;if("object"!=typeof(u=n)||null===u||!("upsertAgentRecord"in u)||"function"!=typeof u.upsertAgentRecord||!("listAllAgentRecords"in u)||"function"!=typeof u.listAllAgentRecords)throw new Error("SqliteLocalAgentStore requires SqliteAgentRunStore from local runtime");var u;if(!function(t){return"object"==typeof t&&null!==t&&"appendRunEvent"in t&&"function"==typeof t.appendRunEvent}(o))throw new Error("SqliteLocalAgentStore requires SqliteRunEventStore from local runtime");if(!function(t){return"object"==typeof t&&null!==t&&"listCheckpointBlobIds"in t&&"function"==typeof t.listCheckpointBlobIds&&"getBlobStore"in t&&"function"==typeof t.getBlobStore}(i))throw new Error("SqliteLocalAgentStore requires LocalAgentCheckpointStore from local runtime");return new L({stateRoot:r,workspaceRef:t.workspaceRef,runStore:n,checkpointStore:i,eventStore:o})}constructor(t){var r,e;this.stateRoot=t.stateRoot,this.workspaceRef=t.workspaceRef,this.deps={runStore:t.runStore,checkpointStore:t.checkpointStore,eventStore:t.eventStore},this.agents=(r=this.deps,{get:async({agentId:t})=>{const e=await r.runStore.getAgent(t);return e?y(e):null},create:async({agent:t})=>{if(await r.runStore.getAgent(t.agentId))throw new Error(`Agent ${t.agentId} already exists`);await r.runStore.upsertAgentRecord(x(t));const e=await r.runStore.getAgent(t.agentId);if(!e)throw new Error(`Failed to create agent ${t.agentId}`);return y(e)},update:async({agent:t})=>{if(!await r.runStore.getAgent(t.agentId))throw new Error(`Agent ${t.agentId} not found`);await r.runStore.upsertAgentRecord(x(t));const e=await r.runStore.getAgent(t.agentId);if(!e)throw new Error(`Failed to update agent ${t.agentId}`);return y(e)},delete:async({filter:t})=>{const e=(await r.runStore.listAllAgentRecords()).map(y).filter((r=>function(t,r){return!r?.agentIds?.length&&void 0===r?.cwd||!(r.agentIds?.length&&!r.agentIds.includes(t.agentId))&&(void 0===r.cwd||t.cwd===r.cwd)}(r,t)));if(0===e.length)throw new Error("No agents matched delete filter");for(const t of e){const e=await N(r,t.agentId);for(const t of e)await r.eventStore.deleteRunEvents({runId:t});await r.checkpointStore.deleteAgent(t.agentId),await r.runStore.deleteAgent(t.agentId)}},list:async t=>function(t,r){const e=[...void 0===r?.cwd?t:t.filter((t=>t.cwd===r.cwd))].sort(E),s=r?.limit??50;let n=e;if(r?.cursor){const t=function(t){const r=k(t);if("number"!=typeof r.updatedAt||"string"!=typeof r.agentId)throw new Error("Invalid agent list cursor");return{updatedAt:r.updatedAt,agentId:r.agentId}}(r.cursor);n=e.filter((r=>function(t,r){return t.updatedAt<r.updatedAt||!(t.updatedAt>r.updatedAt)&&t.agentId<r.agentId}(r,t)))}const o=n.slice(0,s),i=o.at(-1);return{items:o.map((t=>structuredClone(t))),...n.length>s&&i?{nextCursor:$({updatedAt:i.updatedAt,agentId:i.agentId})}:{}}}((await r.runStore.listAllAgentRecords()).map(y),t?.filter)}),this.checkpoints=function(t){const r=(0,b.q6)();return{get:async({agentId:e,blobId:s})=>{const n=await t.checkpointStore.getBlobStore(e),o=await n.getBlob(r,(0,j.aD)(s));return o?function(t){const r=new Uint8Array(t.length);return r.set(t),r}(o):null},create:async({agentId:e,blobId:s,data:n})=>{const o=await t.checkpointStore.getBlobStore(e);if(await o.getBlob(r,(0,j.aD)(s)))throw new Error(`Checkpoint blob ${s} already exists for agent ${e}`);await o.setBlob(r,(0,j.aD)(s),n)},update:async({agentId:e,blobId:s,data:n})=>{const o=await t.checkpointStore.getBlobStore(e);if(!await o.getBlob(r,(0,j.aD)(s)))throw new Error(`Checkpoint blob ${s} not found for agent ${e}`);await o.setBlob(r,(0,j.aD)(s),n)},delete:async r=>{const e=r.filter.agentIds&&r.filter.agentIds.length>0?r.filter.agentIds:await U(t.runStore),s=r.filter.blobIds;for(const r of e)if(s?.length){const e=await t.checkpointStore.getBlobStore(r);if("object"!=typeof(n=e)||null===n||!("deleteBlob"in n)||"function"!=typeof n.deleteBlob)throw new Error("SqliteLocalAgentStore requires a sqlite blob store");for(const t of s)await e.deleteBlob(t)}else await t.checkpointStore.deleteAgent(r);var n},list:async r=>{const e=r?.filter,s=e?.agentIds&&e.agentIds.length>0?e.agentIds:await U(t.runStore),n=[];for(const r of s){const s=await t.checkpointStore.listCheckpointBlobIds(r);for(const t of s)I({agentId:r,blobId:t},e)&&n.push(t)}return function(t,r){const e=[...t].sort(((t,r)=>t.localeCompare(r))),s=r?.limit??50;let n=e;r?.cursor&&(n=e.filter((t=>t>r.cursor)));const o=n.slice(0,s),i=o.at(-1);return{items:o,...n.length>s&&i?{nextCursor:i}:{}}}(n,e)}}}(this.deps),this.runs=function(t){return{get:async({agentId:r,runId:e})=>{const s=await t.runStore.getRun(r,e);return s?w(s):null},create:async({run:r})=>{if(await t.runStore.getRun(r.agentId,r.runId))throw new Error(`Run ${r.runId} already exists for agent ${r.agentId}`);await t.runStore.upsertRunRecord(J(r));const e=await t.runStore.getRun(r.agentId,r.runId);if(!e)throw new Error(`Failed to create run ${r.runId} for agent ${r.agentId}`);return w(e)},update:async({run:r})=>{if(!await t.runStore.getRun(r.agentId,r.runId))throw new Error(`Run ${r.runId} not found for agent ${r.agentId}`);await t.runStore.upsertRunRecord(J(r));const e=await t.runStore.getRun(r.agentId,r.runId);if(!e)throw new Error(`Failed to update run ${r.runId} for agent ${r.agentId}`);return w(e)},delete:async r=>{const e=r.filter,s=e?.agentIds&&e.agentIds.length>0?e.agentIds:void 0,n=(await t.runStore.listAllRunRecords(s)).map(w).filter((t=>O(t,e)));if(0!==n.length){for(const r of n)await t.eventStore.deleteRunEvents({runId:r.runId});await t.runStore.deleteRunRecordsByKeys(n.map((t=>({agentId:t.agentId,runId:t.runId}))))}},list:async r=>{const e=r?.filter;return function(t,r){const e=[...t].sort(A),s=r?.limit??50;let n=e;if(r?.cursor){const t=function(t){const r=k(t);if("number"!=typeof r.turnNumber||"string"!=typeof r.runId)throw new Error("Invalid run list cursor");return{turnNumber:r.turnNumber,runId:r.runId}}(r.cursor);n=e.filter((r=>function(t,r){return t.turnNumber>r.turnNumber||!(t.turnNumber<r.turnNumber)&&t.runId>r.runId}(r,t)))}const o=n.slice(0,s),i=o.at(-1);return{items:o.map((t=>structuredClone(t))),...n.length>s&&i?{nextCursor:$({turnNumber:i.turnNumber,runId:i.runId})}:{}}}((await t.runStore.listAllRunRecords(e?.agentIds)).map(w).filter((t=>O(t,e))),e)}}}(this.deps),this.runEvents=(e=t.eventStore,{append:async t=>M(await e.appendRunEvent({runId:t.runId,eventType:t.eventType,payload:t.payload,payloadRef:t.payloadRef,idempotencyKey:t.idempotencyKey})),list:async t=>{const r=await e.listRunEvents({runId:t.runId,afterOffset:t.afterOffset??void 0,limit:t.limit});return{items:r.events.map(M),...void 0!==r.nextOffset?{nextOffset:r.nextOffset}:{}}},delete:async t=>{const r=t.filter.runIds??[];for(const t of r)await e.deleteRunEvents({runId:t})}})}async dispose(){await Promise.all([this.deps.runStore.dispose(),this.deps.eventStore.dispose(),this.deps.checkpointStore.dispose()])}}export{L as SqliteLocalAgentStore};
|