@sleep2agi/agent-network 2.3.0-preview.163 → 2.3.0-preview.165
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +2 -2
- package/dist/src/client.js +1 -1
- package/dist/src/codex-copresence-rpc.d.ts +1 -0
- package/dist/src/daemon-codex-inventory.d.ts +32 -2
- package/dist/src/daemon-provider-account-custody.d.ts +28 -0
- package/dist/src/daemon-provider-account-readback.d.ts +3 -0
- package/dist/src/daemon-provider-application.d.ts +2 -0
- package/dist/src/daemon-provider-store.d.ts +32 -0
- package/dist/src/node-server.js +8 -8
- package/dist/src/opencode-agent-node-pair.d.ts +6 -6
- package/dist/src/provider-application-contract.d.ts +1 -0
- package/package.json +1 -1
package/dist/src/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x4ea5e8=a0_0x10fd;(function(_0xca7b96,_0xd533d0){const _0x156c39=a0_0x10fd,_0x5e3948=_0xca7b96();while(!![]){try{const _0x3f3e07=-parseInt(_0x156c39(0x186))/0x1+-parseInt(_0x156c39(0x172))/0x2+-parseInt(_0x156c39(0x10e))/0x3*(parseInt(_0x156c39(0x15d))/0x4)+-parseInt(_0x156c39(0x120))/0x5+-parseInt(_0x156c39(0x135))/0x6+-parseInt(_0x156c39(0x141))/0x7*(parseInt(_0x156c39(0x17a))/0x8)+-parseInt(_0x156c39(0x106))/0x9*(-parseInt(_0x156c39(0x159))/0xa);if(_0x3f3e07===_0xd533d0)break;else _0x5e3948['push'](_0x5e3948['shift']());}catch(_0x19f051){_0x5e3948['push'](_0x5e3948['shift']());}}}(a0_0x4acd,0xc4061));import{EventEmitter as a0_0x3f2ca8}from'events';import{hostname as a0_0x37101a}from'os';var K=/(?:atok|ntok|utok|ghp|github_pat)_[A-Za-z0-9_-]+|Bearer\s+\S+/gi,L=(_0x778806,_0x2dce13)=>(_0x778806??_0x2dce13)[a0_0x4ea5e8(0x147)](/[\r\n\x00-\x1f\x7f]/g,'\x20')[a0_0x4ea5e8(0x10f)](0x0,0xf0);function a0_0x10fd(_0x10449d,_0x58eb82){_0x10449d=_0x10449d-0x106;const _0x4acd85=a0_0x4acd();let _0x10fd74=_0x4acd85[_0x10449d];return _0x10fd74;}function N(_0x2c9522){const _0x4dc4d9=a0_0x4ea5e8;return(_0x2c9522 instanceof Error?_0x2c9522['message']:String(_0x2c9522??_0x4dc4d9(0x166)))[_0x4dc4d9(0x147)](K,_0x4dc4d9(0x140))[_0x4dc4d9(0x147)](/[\r\n\x00-\x1f\x7f]/g,'\x20')[_0x4dc4d9(0x10f)](0x0,0xf0);}function O(_0x4d2138,_0x5082d6=process.env.ANET_TASK_TRACE_FORMAT===a0_0x4ea5e8(0x16d)){const _0x374e50=a0_0x4ea5e8;if(_0x5082d6)return JSON[_0x374e50(0x183)](_0x4d2138);let _0x480f93=L(_0x4d2138[_0x374e50(0x16e)],_0x374e50(0x17d)),_0x3b0083=L(_0x4d2138[_0x374e50(0x109)],_0x374e50(0x12a)),_0x5b4aa3=_0x4d2138[_0x374e50(0x17b)]?_0x374e50(0x173)+_0x4d2138[_0x374e50(0x17b)]+':'+(_0x4d2138[_0x374e50(0x10b)]??''):'';return _0x374e50(0x180)+_0x4d2138[_0x374e50(0x149)]+_0x374e50(0x11f)+L(_0x4d2138['from_alias'],_0x374e50(0x13a))+_0x374e50(0x122)+L(_0x4d2138['to_alias'],_0x374e50(0x13a))+'\x20task_id='+_0x3b0083+_0x374e50(0x12f)+_0x480f93+_0x374e50(0x188)+L(_0x4d2138['network_id'],_0x374e50(0x13a))+_0x374e50(0x108)+_0x4d2138['transport']+_0x374e50(0x148)+_0x4d2138[_0x374e50(0x13d)]+_0x374e50(0x14d)+_0x4d2138[_0x374e50(0x162)]+_0x5b4aa3;}function U(_0x5efb49){const _0x4b490d=a0_0x4ea5e8;return{'event':{'sending':_0x4b490d(0x11a),'delivered':_0x4b490d(0x10d),'failed':_0x4b490d(0x119),'acked':'task.ack','started':_0x4b490d(0x144),'replied':_0x4b490d(0x161),'expired':_0x4b490d(0x116)}[_0x5efb49['status']],..._0x5efb49};}function j(_0x5407d1){const _0x2f4a27=a0_0x4ea5e8;let _0x1cbf77=_0x5407d1?.[_0x2f4a27(0x109)]||_0x5407d1?.[_0x2f4a27(0x155)]||_0x5407d1?.['id'];if(_0x1cbf77)return String(_0x1cbf77);let _0x393e6f=_0x5407d1?.['content']?.[0x0]?.[_0x2f4a27(0x15b)];if(typeof _0x393e6f!=='string')return null;try{let _0x5237f2=JSON[_0x2f4a27(0x13b)](_0x393e6f);return _0x5237f2?.[_0x2f4a27(0x109)]||_0x5237f2?.[_0x2f4a27(0x155)]||_0x5237f2?.['id']||null;}catch{return null;}}async function X(_0x90e488,_0x259b22){const _0x538e5e=a0_0x4ea5e8;let _0x28ed6e=_0x259b22['now']??Date['now'],_0x1d03d6=_0x28ed6e(),_0x1ca68a=(_0x155091,_0x2a8d50,_0x1202bf,_0x75ed1c)=>{const _0x338135=a0_0x10fd;_0x259b22[_0x338135(0x179)](O(U({'from_alias':_0x90e488[_0x338135(0x129)],'to_alias':_0x90e488[_0x338135(0x174)],'task_id':_0x2a8d50,'parent_task_id':_0x90e488['parentTaskId'],'network_id':_0x90e488['networkId'],'transport':_0x90e488['transport'],'status':_0x155091,'duration_ms':_0x28ed6e()-_0x1d03d6,'lifecycle_tracking':_0x90e488[_0x338135(0x145)],..._0x1202bf!==void 0x0?{'error_code':_0x75ed1c||_0x338135(0x163),'error_message':N(_0x1202bf)}:{}})));};_0x1ca68a(_0x538e5e(0x17e),null);try{let _0xbb97ff=await _0x259b22[_0x538e5e(0x112)](),_0x49bf7a=j(_0xbb97ff);if(_0x49bf7a)_0x1ca68a(_0x538e5e(0x171),_0x49bf7a);else{if(_0xbb97ff?.['ok']===!0x1||_0xbb97ff?.['error'])_0x1ca68a(_0x538e5e(0x17c),_0x49bf7a,_0xbb97ff?.[_0x538e5e(0x15a)]||_0x538e5e(0x11d),_0x538e5e(0x12d));else _0x1ca68a(_0x538e5e(0x17c),null,'CommHub\x20response\x20omitted\x20task_id','missing_task_id');}return _0xbb97ff;}catch(_0x53b4c1){throw _0x1ca68a('failed',null,_0x53b4c1,_0x538e5e(0x163)),_0x53b4c1;}}async function Y(_0x10a92d,_0xa9b59f){const _0xc52706=a0_0x4ea5e8;return X({'fromAlias':_0x10a92d[_0xc52706(0x129)],'toAlias':_0x10a92d['alias'],'parentTaskId':_0x10a92d[_0xc52706(0x13e)]||null,'networkId':_0x10a92d[_0xc52706(0x157)]||null,'transport':_0xc52706(0x14c),'lifecycleTracking':_0xc52706(0x16f)},_0xa9b59f);}function a0_0x4acd(){const _0x429074=['getAllStatus','toTimeString','s...','sleep','1178400PWRcGI','server','idle','toString','signal','<unknown>','parse','token','duration_ms','parentTaskId','name','[REDACTED]','146615DDHNzC','abort','url','task.started','lifecycleTracking','message','replace','\x20duration_ms=','status','Authorization','sdk','mcp_http','\x20lifecycle=','text/event-stream','send_reply','reconnectDelay','inbox\x20error:\x20','processInbox','disconnected','broadcast','message_id','SSE\x20connected','networkId','split','3256460hVZDYO','error','text','read','12abkKhf','sdk-','tools/call','content','task.replied','lifecycle_tracking','send_failed','2.0','/events/','unknown\x20error','sseAbort','connectSSE','AbortError','POST','application/json,\x20text/event-stream','SSE\x20reconnecting\x20in\x20','json','parent_task_id','not_tracked','pop','delivered','930836BrfCIZ','\x20error=','toAlias','alias','report_status','Bearer\x20','body','log','136otRAOC','error_code','failed','<missing>','sending','cwd','[commhub:task]\x20','decode','call','stringify','SSE\x20error:\x20','reply','1118154XLHBcm',']\x20[commhub:','\x20network_id=','running','126uAXuKU','messages','\x20transport=','task_id','result','error_message','catch','task.send.delivered','514011XfCbZm','slice','application/json','/mcp','send','task','getReader','SSE\x20failed:\x20','task.expired','heartbeatInterval','connected','task.send.failed','task.send.start','heartbeatTimer','completed','CommHub\x20rejected\x20task','type','\x20from=','5530415fnvTAG','data:\x20','\x20to=','emit','agent','ack_inbox','registered','connect','resumeId','fromAlias','<pending>','now','min','send_rejected','get_inbox','\x20parent_task_id=','match'];a0_0x4acd=function(){return _0x429074;};return a0_0x4acd();}class $ extends a0_0x3f2ca8{[a0_0x4ea5e8(0x143)];[a0_0x4ea5e8(0x175)];[a0_0x4ea5e8(0x13c)];[a0_0x4ea5e8(0x124)];['resumeId'];['heartbeatInterval'];[a0_0x4ea5e8(0x150)];['heartbeatTimer'];[a0_0x4ea5e8(0x167)];[a0_0x4ea5e8(0x189)]=!0x1;constructor(_0x251fdc){const _0x52d4f5=a0_0x4ea5e8;super();if(this['url']=_0x251fdc[_0x52d4f5(0x143)]['replace'](/\/$/,''),this['alias']=_0x251fdc[_0x52d4f5(0x175)],this[_0x52d4f5(0x13c)]=_0x251fdc[_0x52d4f5(0x13c)],this[_0x52d4f5(0x124)]=_0x251fdc[_0x52d4f5(0x124)]||_0x52d4f5(0x14b),this[_0x52d4f5(0x128)]=_0x52d4f5(0x15e)+_0x251fdc[_0x52d4f5(0x175)]+'-'+Date[_0x52d4f5(0x12b)]()[_0x52d4f5(0x138)](0x24),this[_0x52d4f5(0x117)]=_0x251fdc[_0x52d4f5(0x117)]??0x2bf20,this['reconnectDelay']=_0x251fdc[_0x52d4f5(0x150)]??0xbb8,_0x251fdc['autoConnect']!==!0x1)this[_0x52d4f5(0x127)]();}['log'](_0x55072b){const _0x251d51=a0_0x4ea5e8;console['log']('['+new Date()[_0x251d51(0x132)]()[_0x251d51(0x10f)](0x0,0x8)+_0x251d51(0x187)+this[_0x251d51(0x175)]+']\x20'+_0x55072b);}async[a0_0x4ea5e8(0x182)](_0x36da4e,_0x3d3062){const _0x3c4a57=a0_0x4ea5e8;let _0xf6a61d={'Content-Type':_0x3c4a57(0x110),'Accept':_0x3c4a57(0x16b)};if(this['token'])_0xf6a61d[_0x3c4a57(0x14a)]='Bearer\x20'+this[_0x3c4a57(0x13c)];let _0x5a2082=await(await fetch(this[_0x3c4a57(0x143)]+_0x3c4a57(0x111),{'method':_0x3c4a57(0x16a),'headers':_0xf6a61d,'body':JSON[_0x3c4a57(0x183)]({'jsonrpc':_0x3c4a57(0x164),'id':Date[_0x3c4a57(0x12b)](),'method':_0x3c4a57(0x15f),'params':{'name':_0x36da4e,'arguments':_0x3d3062}})}))[_0x3c4a57(0x15b)](),_0x514dc9=_0x5a2082[_0x3c4a57(0x130)](/data: (.+)/),_0x33e4c4=_0x514dc9?JSON[_0x3c4a57(0x13b)](_0x514dc9[0x1]):JSON[_0x3c4a57(0x13b)](_0x5a2082),_0x4a2c01=_0x33e4c4?.[_0x3c4a57(0x10a)]?.[_0x3c4a57(0x160)]?.[0x0]?.[_0x3c4a57(0x15b)];return _0x4a2c01?JSON[_0x3c4a57(0x13b)](_0x4a2c01):_0x33e4c4;}async[a0_0x4ea5e8(0x127)](){const _0xee57e3=a0_0x4ea5e8;if(this[_0xee57e3(0x189)])return;this['running']=!0x0,await this['status']('idle'),this[_0xee57e3(0x179)](_0xee57e3(0x126)),this[_0xee57e3(0x11b)]=setInterval(()=>{const _0x4f2859=_0xee57e3;this[_0x4f2859(0x149)](_0x4f2859(0x137))[_0x4f2859(0x10c)](_0x4bc727=>this[_0x4f2859(0x179)]('heartbeat\x20failed:\x20'+_0x4bc727['message']));},this[_0xee57e3(0x117)]),this[_0xee57e3(0x168)]();}async['disconnect'](){const _0x39dfad=a0_0x4ea5e8;if(this[_0x39dfad(0x189)]=!0x1,this['sseAbort']?.[_0x39dfad(0x142)](),this['heartbeatTimer'])clearInterval(this[_0x39dfad(0x11b)]);await this['status']('offline')[_0x39dfad(0x10c)](()=>{}),this['log'](_0x39dfad(0x153));}async[a0_0x4ea5e8(0x112)](_0xca7721,_0x3450aa,_0x415f2a='normal'){const _0x456798=a0_0x4ea5e8;return Y({'alias':_0xca7721,'fromAlias':this[_0x456798(0x175)]},{'log':_0x359816=>console[_0x456798(0x179)](_0x359816),'send':()=>this[_0x456798(0x182)]('send_task',{'alias':_0xca7721,'task':_0x3450aa,'priority':_0x415f2a,'from_session':this['alias']})});}async[a0_0x4ea5e8(0x146)](_0x1e2941,_0x4412f3){const _0x2b4134=a0_0x4ea5e8;return this[_0x2b4134(0x182)]('send_message',{'alias':_0x1e2941,'message':_0x4412f3,'from_session':this[_0x2b4134(0x175)]});}async[a0_0x4ea5e8(0x185)](_0x8f8d6b,_0x42af85,_0x338d96=a0_0x4ea5e8(0x11c)){const _0x5357fa=a0_0x4ea5e8;return this[_0x5357fa(0x182)](_0x5357fa(0x14f),{'in_reply_to':_0x8f8d6b,'text':_0x42af85,'status':_0x338d96});}async['status'](_0x300086,_0x1cb685){const _0x55f6f5=a0_0x4ea5e8;return this[_0x55f6f5(0x182)](_0x55f6f5(0x176),{'resume_id':this[_0x55f6f5(0x128)],'alias':this[_0x55f6f5(0x175)],'status':_0x300086,'server':a0_0x37101a(),'hostname':a0_0x37101a(),'agent':this[_0x55f6f5(0x124)],'project_dir':process[_0x55f6f5(0x17f)](),..._0x1cb685});}async[a0_0x4ea5e8(0x131)](){return this['call']('get_all_status',{});}async[a0_0x4ea5e8(0x154)](_0x10162f,_0x66ffdb){const _0x4997e3=a0_0x4ea5e8;return this[_0x4997e3(0x182)](_0x4997e3(0x154),{'message':_0x10162f,'filter_server':_0x66ffdb?.[_0x4997e3(0x136)],'filter_status':_0x66ffdb?.[_0x4997e3(0x149)]});}async['connectSSE'](){const _0x305ef1=a0_0x4ea5e8;let _0x2c2dd7=encodeURIComponent(this[_0x305ef1(0x175)]),_0x2e0c5e=this[_0x305ef1(0x143)]+_0x305ef1(0x165)+_0x2c2dd7,_0x5066f4=this[_0x305ef1(0x150)];while(this[_0x305ef1(0x189)]){try{this[_0x305ef1(0x167)]=new AbortController();let _0x2a1f92={'Accept':_0x305ef1(0x14e)};if(this[_0x305ef1(0x13c)])_0x2a1f92[_0x305ef1(0x14a)]=_0x305ef1(0x177)+this['token'];let _0x2771fc=await fetch(_0x2e0c5e,{'headers':_0x2a1f92,'signal':this[_0x305ef1(0x167)][_0x305ef1(0x139)]});if(!_0x2771fc['ok']||!_0x2771fc[_0x305ef1(0x178)]){this['log'](_0x305ef1(0x115)+_0x2771fc['status']),await this['sleep'](_0x5066f4),_0x5066f4=Math['min'](_0x5066f4*1.5,0xea60);continue;}_0x5066f4=this['reconnectDelay'];let _0x3837c0=_0x2771fc[_0x305ef1(0x178)][_0x305ef1(0x114)](),_0x3774e5=new TextDecoder(),_0xb91975='';while(this[_0x305ef1(0x189)]){let {done:_0x58b9ed,value:_0x44598f}=await _0x3837c0[_0x305ef1(0x15c)]();if(_0x58b9ed)break;_0xb91975+=_0x3774e5[_0x305ef1(0x181)](_0x44598f,{'stream':!0x0});let _0x1b84c0=_0xb91975[_0x305ef1(0x158)]('\x0a');_0xb91975=_0x1b84c0[_0x305ef1(0x170)]()||'';for(let _0x5e44b4 of _0x1b84c0){if(!_0x5e44b4['startsWith'](_0x305ef1(0x121)))continue;try{let _0x10820a=JSON['parse'](_0x5e44b4[_0x305ef1(0x10f)](0x6));if(_0x10820a[_0x305ef1(0x11e)]===_0x305ef1(0x118)){this[_0x305ef1(0x179)](_0x305ef1(0x156)),this[_0x305ef1(0x123)](_0x305ef1(0x118));continue;}if(_0x10820a[_0x305ef1(0x11e)]==='new_task'||_0x10820a[_0x305ef1(0x11e)]==='new_message'||_0x10820a[_0x305ef1(0x11e)]==='broadcast')await this[_0x305ef1(0x152)]();}catch{}}}}catch(_0x3b3c83){if(_0x3b3c83[_0x305ef1(0x13f)]===_0x305ef1(0x169))break;this[_0x305ef1(0x123)](_0x305ef1(0x15a),_0x3b3c83),this[_0x305ef1(0x179)](_0x305ef1(0x184)+_0x3b3c83['message']);}if(this['running'])this['emit'](_0x305ef1(0x153)),this[_0x305ef1(0x179)](_0x305ef1(0x16c)+_0x5066f4/0x3e8+_0x305ef1(0x133)),await this[_0x305ef1(0x134)](_0x5066f4),_0x5066f4=Math[_0x305ef1(0x12c)](_0x5066f4*1.5,0xea60);}}async[a0_0x4ea5e8(0x152)](){const _0x24aafd=a0_0x4ea5e8;try{let _0x1ef60c=(await this[_0x24aafd(0x182)](_0x24aafd(0x12e),{'alias':this[_0x24aafd(0x175)],'limit':0xa}))?.[_0x24aafd(0x107)]||[];for(let _0x165b08 of _0x1ef60c)await this[_0x24aafd(0x182)](_0x24aafd(0x125),{'alias':this[_0x24aafd(0x175)],'message_id':_0x165b08['id']}),this[_0x24aafd(0x179)]('←\x20'+_0x165b08['from_session']+':\x20'+_0x165b08[_0x24aafd(0x160)][_0x24aafd(0x10f)](0x0,0x3c)),this[_0x24aafd(0x123)](_0x24aafd(0x113),_0x165b08),this['emit'](_0x24aafd(0x146),_0x165b08);}catch(_0x5c27ab){this[_0x24aafd(0x179)](_0x24aafd(0x151)+_0x5c27ab[_0x24aafd(0x146)]);}}[a0_0x4ea5e8(0x134)](_0x18d099){return new Promise(_0x202a9e=>setTimeout(_0x202a9e,_0x18d099));}}var F=$;export{F as default,$ as CommHub};
|
|
1
|
+
const a0_0x2c82ce=a0_0x2207;(function(_0x55ec80,_0x5aafb8){const _0x40febc=a0_0x2207,_0x5838b0=_0x55ec80();while(!![]){try{const _0x5917d4=-parseInt(_0x40febc(0x120))/0x1*(-parseInt(_0x40febc(0x10c))/0x2)+-parseInt(_0x40febc(0x11d))/0x3*(parseInt(_0x40febc(0x154))/0x4)+-parseInt(_0x40febc(0x171))/0x5*(-parseInt(_0x40febc(0x146))/0x6)+parseInt(_0x40febc(0x14c))/0x7+-parseInt(_0x40febc(0x166))/0x8*(-parseInt(_0x40febc(0x174))/0x9)+-parseInt(_0x40febc(0x13f))/0xa+parseInt(_0x40febc(0x170))/0xb*(-parseInt(_0x40febc(0x145))/0xc);if(_0x5917d4===_0x5aafb8)break;else _0x5838b0['push'](_0x5838b0['shift']());}catch(_0x564951){_0x5838b0['push'](_0x5838b0['shift']());}}}(a0_0x6803,0x9a076));import{EventEmitter as a0_0x52b4f9}from'events';import{hostname as a0_0x31dd76}from'os';var K=/(?:atok|ntok|utok|ghp|github_pat)_[A-Za-z0-9_-]+|Bearer\s+\S+/gi,L=(_0x13a04f,_0x4978d7)=>(_0x13a04f??_0x4978d7)['replace'](/[\r\n\x00-\x1f\x7f]/g,'\x20')[a0_0x2c82ce(0x134)](0x0,0xf0);function N(_0x9c2f4a){const _0x3d27cd=a0_0x2c82ce;return(_0x9c2f4a instanceof Error?_0x9c2f4a['message']:String(_0x9c2f4a??_0x3d27cd(0x180)))['replace'](K,'[REDACTED]')['replace'](/[\r\n\x00-\x1f\x7f]/g,'\x20')[_0x3d27cd(0x134)](0x0,0xf0);}function O(_0x7c58,_0x51f86a=process.env.ANET_TASK_TRACE_FORMAT==='json'){const _0x19f8bc=a0_0x2c82ce;if(_0x51f86a)return JSON[_0x19f8bc(0x162)](_0x7c58);let _0x60f5f4=L(_0x7c58['parent_task_id'],_0x19f8bc(0x12f)),_0x59a726=L(_0x7c58['task_id'],'<pending>'),_0x4f6688=_0x7c58['error_code']?_0x19f8bc(0x15f)+_0x7c58[_0x19f8bc(0x157)]+':'+(_0x7c58['error_message']??''):'';return'[commhub:task]\x20'+_0x7c58[_0x19f8bc(0x15e)]+_0x19f8bc(0x14e)+L(_0x7c58['from_alias'],_0x19f8bc(0x187))+'\x20to='+L(_0x7c58[_0x19f8bc(0x12c)],_0x19f8bc(0x187))+_0x19f8bc(0x136)+_0x59a726+_0x19f8bc(0x189)+_0x60f5f4+_0x19f8bc(0x179)+L(_0x7c58[_0x19f8bc(0x156)],_0x19f8bc(0x187))+_0x19f8bc(0x13e)+_0x7c58['transport']+'\x20duration_ms='+_0x7c58['duration_ms']+_0x19f8bc(0x17b)+_0x7c58['lifecycle_tracking']+_0x4f6688;}function U(_0x5ab22e){const _0x57f796=a0_0x2c82ce;return{'event':{'sending':_0x57f796(0x128),'delivered':_0x57f796(0x175),'failed':'task.send.failed','acked':_0x57f796(0x130),'started':'task.started','replied':_0x57f796(0x151),'expired':'task.expired'}[_0x5ab22e[_0x57f796(0x15e)]],..._0x5ab22e};}function j(_0x34e828){const _0x49895a=a0_0x2c82ce;let _0x1efc74=_0x34e828?.[_0x49895a(0x159)]||_0x34e828?.[_0x49895a(0x112)]||_0x34e828?.['id'];if(_0x1efc74)return String(_0x1efc74);let _0xcbe0e9=_0x34e828?.[_0x49895a(0x14f)]?.[0x0]?.[_0x49895a(0x169)];if(typeof _0xcbe0e9!==_0x49895a(0x143))return null;try{let _0x23bcd7=JSON[_0x49895a(0x11e)](_0xcbe0e9);return _0x23bcd7?.[_0x49895a(0x159)]||_0x23bcd7?.[_0x49895a(0x112)]||_0x23bcd7?.['id']||null;}catch{return null;}}function a0_0x6803(){const _0x4570f5=['split','network_id','error_code','parentTaskId','task_id','url','fromAlias','cwd','disconnected','status','\x20error=','POST','toString','stringify','SSE\x20connected','getReader','autoConnect','37704HzcgzV','server','match','text','result','log','heartbeat\x20failed:\x20','toTimeString','startsWith','running','27085355yDhRXi','15rybCSi','missing_task_id',']\x20[commhub:','2178aBwFiX','task.send.delivered','not_tracked','SSE\x20reconnecting\x20in\x20','AbortError','\x20network_id=','failed','\x20lifecycle=','/events/','replace','new_message','sleep','unknown\x20error','call','transport','Bearer\x20','sdk','s...','2.0','<unknown>','offline','\x20parent_task_id=','name','resumeId','13276ETUbEP','from_session','get_inbox','sdk-','reply','delivered','message_id','emit','Authorization','toAlias','idle','connectSSE','mcp_http','body','CommHub\x20response\x20omitted\x20task_id','send_task','agent','3gHUAFd','parse','token','145DgrxsC','sseAbort','messages','report_status','broadcast','application/json','ack_inbox','send_reply','task.send.start','task','connect','heartbeatTimer','to_alias','inbox\x20error:\x20','networkId','<missing>','task.ack','getAllStatus','registered','catch','slice','lifecycleTracking','\x20task_id=','tools/call','reconnectDelay','alias','min','CommHub\x20rejected\x20task','heartbeatInterval','now','\x20transport=','6091640oqfwbH','send_failed','message','error','string','connected','12CYEAPF','1096380tsoTgx','disconnect','send','get_all_status','data:\x20','processInbox','8023190QEvfJr','application/json,\x20text/event-stream','\x20from=','content','type','task.replied','text/event-stream','normal','380180zmVZJJ'];a0_0x6803=function(){return _0x4570f5;};return a0_0x6803();}async function X(_0x3bae77,_0x30d6b6){const _0x1ba7fe=a0_0x2c82ce;let _0x39c38c=_0x30d6b6[_0x1ba7fe(0x13d)]??Date[_0x1ba7fe(0x13d)],_0x2b7b41=_0x39c38c(),_0x417c2b=(_0x5bf20c,_0x27a226,_0x3e4cf0,_0x406697)=>{const _0x101e4c=_0x1ba7fe;_0x30d6b6['log'](O(U({'from_alias':_0x3bae77[_0x101e4c(0x15b)],'to_alias':_0x3bae77[_0x101e4c(0x115)],'task_id':_0x27a226,'parent_task_id':_0x3bae77[_0x101e4c(0x158)],'network_id':_0x3bae77['networkId'],'transport':_0x3bae77[_0x101e4c(0x182)],'status':_0x5bf20c,'duration_ms':_0x39c38c()-_0x2b7b41,'lifecycle_tracking':_0x3bae77[_0x101e4c(0x135)],..._0x3e4cf0!==void 0x0?{'error_code':_0x406697||_0x101e4c(0x140),'error_message':N(_0x3e4cf0)}:{}})));};_0x417c2b('sending',null);try{let _0x34f4ef=await _0x30d6b6[_0x1ba7fe(0x148)](),_0x5b3b01=j(_0x34f4ef);if(_0x5b3b01)_0x417c2b(_0x1ba7fe(0x111),_0x5b3b01);else{if(_0x34f4ef?.['ok']===!0x1||_0x34f4ef?.[_0x1ba7fe(0x142)])_0x417c2b(_0x1ba7fe(0x17a),_0x5b3b01,_0x34f4ef?.[_0x1ba7fe(0x142)]||_0x1ba7fe(0x13b),'send_rejected');else _0x417c2b(_0x1ba7fe(0x17a),null,_0x1ba7fe(0x11a),_0x1ba7fe(0x172));}return _0x34f4ef;}catch(_0x2242df){throw _0x417c2b('failed',null,_0x2242df,_0x1ba7fe(0x140)),_0x2242df;}}async function Y(_0x2f9d69,_0x50bb3c){const _0x604ccc=a0_0x2c82ce;return X({'fromAlias':_0x2f9d69[_0x604ccc(0x15b)],'toAlias':_0x2f9d69[_0x604ccc(0x139)],'parentTaskId':_0x2f9d69[_0x604ccc(0x158)]||null,'networkId':_0x2f9d69[_0x604ccc(0x12e)]||null,'transport':_0x604ccc(0x118),'lifecycleTracking':_0x604ccc(0x176)},_0x50bb3c);}function a0_0x2207(_0x3d6d8a,_0x2b1048){_0x3d6d8a=_0x3d6d8a-0x10b;const _0x68038c=a0_0x6803();let _0x220745=_0x68038c[_0x3d6d8a];return _0x220745;}class $ extends a0_0x52b4f9{['url'];[a0_0x2c82ce(0x139)];['token'];['agent'];[a0_0x2c82ce(0x10b)];[a0_0x2c82ce(0x13c)];[a0_0x2c82ce(0x138)];[a0_0x2c82ce(0x12b)];[a0_0x2c82ce(0x121)];[a0_0x2c82ce(0x16f)]=!0x1;constructor(_0x116b64){const _0x50bf08=a0_0x2c82ce;super();if(this[_0x50bf08(0x15a)]=_0x116b64[_0x50bf08(0x15a)][_0x50bf08(0x17d)](/\/$/,''),this[_0x50bf08(0x139)]=_0x116b64[_0x50bf08(0x139)],this[_0x50bf08(0x11f)]=_0x116b64[_0x50bf08(0x11f)],this[_0x50bf08(0x11c)]=_0x116b64[_0x50bf08(0x11c)]||_0x50bf08(0x184),this[_0x50bf08(0x10b)]=_0x50bf08(0x10f)+_0x116b64[_0x50bf08(0x139)]+'-'+Date['now']()[_0x50bf08(0x161)](0x24),this['heartbeatInterval']=_0x116b64[_0x50bf08(0x13c)]??0x2bf20,this[_0x50bf08(0x138)]=_0x116b64[_0x50bf08(0x138)]??0xbb8,_0x116b64[_0x50bf08(0x165)]!==!0x1)this[_0x50bf08(0x12a)]();}[a0_0x2c82ce(0x16b)](_0x2ee1ed){const _0x2e2f5e=a0_0x2c82ce;console[_0x2e2f5e(0x16b)]('['+new Date()[_0x2e2f5e(0x16d)]()['slice'](0x0,0x8)+_0x2e2f5e(0x173)+this['alias']+']\x20'+_0x2ee1ed);}async['call'](_0x5b5de4,_0x410de9){const _0xb10d45=a0_0x2c82ce;let _0x4c3d1a={'Content-Type':_0xb10d45(0x125),'Accept':_0xb10d45(0x14d)};if(this[_0xb10d45(0x11f)])_0x4c3d1a[_0xb10d45(0x114)]=_0xb10d45(0x183)+this['token'];let _0x3f6a29=await(await fetch(this[_0xb10d45(0x15a)]+'/mcp',{'method':_0xb10d45(0x160),'headers':_0x4c3d1a,'body':JSON[_0xb10d45(0x162)]({'jsonrpc':_0xb10d45(0x186),'id':Date[_0xb10d45(0x13d)](),'method':_0xb10d45(0x137),'params':{'name':_0x5b5de4,'arguments':_0x410de9}})}))[_0xb10d45(0x169)](),_0x25afbe=_0x3f6a29[_0xb10d45(0x168)](/data: (.+)/),_0x164848=_0x25afbe?JSON[_0xb10d45(0x11e)](_0x25afbe[0x1]):JSON['parse'](_0x3f6a29),_0x53ba25=_0x164848?.[_0xb10d45(0x16a)]?.['content']?.[0x0]?.['text'];return _0x53ba25?JSON[_0xb10d45(0x11e)](_0x53ba25):_0x164848;}async[a0_0x2c82ce(0x12a)](){const _0x48d81e=a0_0x2c82ce;if(this['running'])return;this['running']=!0x0,await this['status'](_0x48d81e(0x116)),this['log'](_0x48d81e(0x132)),this[_0x48d81e(0x12b)]=setInterval(()=>{const _0x2b965e=_0x48d81e;this['status'](_0x2b965e(0x116))[_0x2b965e(0x133)](_0x15ac62=>this[_0x2b965e(0x16b)](_0x2b965e(0x16c)+_0x15ac62[_0x2b965e(0x141)]));},this[_0x48d81e(0x13c)]),this[_0x48d81e(0x117)]();}async[a0_0x2c82ce(0x147)](){const _0x534699=a0_0x2c82ce;if(this['running']=!0x1,this['sseAbort']?.['abort'](),this[_0x534699(0x12b)])clearInterval(this['heartbeatTimer']);await this[_0x534699(0x15e)](_0x534699(0x188))[_0x534699(0x133)](()=>{}),this['log'](_0x534699(0x15d));}async[a0_0x2c82ce(0x148)](_0xcdf594,_0x226aa7,_0x90d6b4=a0_0x2c82ce(0x153)){const _0x4ecafb=a0_0x2c82ce;return Y({'alias':_0xcdf594,'fromAlias':this[_0x4ecafb(0x139)]},{'log':_0x438bda=>console[_0x4ecafb(0x16b)](_0x438bda),'send':()=>this[_0x4ecafb(0x181)](_0x4ecafb(0x11b),{'alias':_0xcdf594,'task':_0x226aa7,'priority':_0x90d6b4,'from_session':this['alias']})});}async[a0_0x2c82ce(0x141)](_0x3d9ee1,_0x400323){return this['call']('send_message',{'alias':_0x3d9ee1,'message':_0x400323,'from_session':this['alias']});}async[a0_0x2c82ce(0x110)](_0x31f816,_0x3d2495,_0x4a403b='completed'){const _0x2970e3=a0_0x2c82ce;return this[_0x2970e3(0x181)](_0x2970e3(0x127),{'in_reply_to':_0x31f816,'text':_0x3d2495,'status':_0x4a403b});}async[a0_0x2c82ce(0x15e)](_0x17cf14,_0x3b90db){const _0x584923=a0_0x2c82ce;return this[_0x584923(0x181)](_0x584923(0x123),{'resume_id':this['resumeId'],'alias':this[_0x584923(0x139)],'status':_0x17cf14,'server':a0_0x31dd76(),'hostname':a0_0x31dd76(),'agent':this[_0x584923(0x11c)],'project_dir':process[_0x584923(0x15c)](),..._0x3b90db});}async[a0_0x2c82ce(0x131)](){const _0x1e5673=a0_0x2c82ce;return this[_0x1e5673(0x181)](_0x1e5673(0x149),{});}async[a0_0x2c82ce(0x124)](_0x567b86,_0xb8bd79){const _0x10f891=a0_0x2c82ce;return this['call']('broadcast',{'message':_0x567b86,'filter_server':_0xb8bd79?.[_0x10f891(0x167)],'filter_status':_0xb8bd79?.[_0x10f891(0x15e)]});}async[a0_0x2c82ce(0x117)](){const _0x56ecaa=a0_0x2c82ce;let _0x523709=encodeURIComponent(this['alias']),_0x554093=this['url']+_0x56ecaa(0x17c)+_0x523709,_0x409a15=this[_0x56ecaa(0x138)];while(this['running']){try{this[_0x56ecaa(0x121)]=new AbortController();let _0x468f56={'Accept':_0x56ecaa(0x152)};if(this['token'])_0x468f56['Authorization']=_0x56ecaa(0x183)+this['token'];let _0x5d3e1b=await fetch(_0x554093,{'headers':_0x468f56,'signal':this['sseAbort']['signal']});if(!_0x5d3e1b['ok']||!_0x5d3e1b[_0x56ecaa(0x119)]){this[_0x56ecaa(0x16b)]('SSE\x20failed:\x20'+_0x5d3e1b['status']),await this['sleep'](_0x409a15),_0x409a15=Math['min'](_0x409a15*1.5,0xea60);continue;}_0x409a15=this[_0x56ecaa(0x138)];let _0x1c5a76=_0x5d3e1b['body'][_0x56ecaa(0x164)](),_0x308ab1=new TextDecoder(),_0x381597='';while(this['running']){let {done:_0x3e2a01,value:_0x130c9c}=await _0x1c5a76['read']();if(_0x3e2a01)break;_0x381597+=_0x308ab1['decode'](_0x130c9c,{'stream':!0x0});let _0x2aeafe=_0x381597[_0x56ecaa(0x155)]('\x0a');_0x381597=_0x2aeafe['pop']()||'';for(let _0x1de552 of _0x2aeafe){if(!_0x1de552[_0x56ecaa(0x16e)](_0x56ecaa(0x14a)))continue;try{let _0x4c6355=JSON[_0x56ecaa(0x11e)](_0x1de552[_0x56ecaa(0x134)](0x6));if(_0x4c6355[_0x56ecaa(0x150)]==='connected'){this['log'](_0x56ecaa(0x163)),this['emit'](_0x56ecaa(0x144));continue;}if(_0x4c6355[_0x56ecaa(0x150)]==='new_task'||_0x4c6355[_0x56ecaa(0x150)]===_0x56ecaa(0x17e)||_0x4c6355[_0x56ecaa(0x150)]===_0x56ecaa(0x124))await this['processInbox']();}catch{}}}}catch(_0x145d8b){if(_0x145d8b[_0x56ecaa(0x18a)]===_0x56ecaa(0x178))break;this[_0x56ecaa(0x113)](_0x56ecaa(0x142),_0x145d8b),this[_0x56ecaa(0x16b)]('SSE\x20error:\x20'+_0x145d8b[_0x56ecaa(0x141)]);}if(this['running'])this['emit'](_0x56ecaa(0x15d)),this[_0x56ecaa(0x16b)](_0x56ecaa(0x177)+_0x409a15/0x3e8+_0x56ecaa(0x185)),await this[_0x56ecaa(0x17f)](_0x409a15),_0x409a15=Math[_0x56ecaa(0x13a)](_0x409a15*1.5,0xea60);}}async[a0_0x2c82ce(0x14b)](){const _0xfecb54=a0_0x2c82ce;try{let _0x381530=(await this[_0xfecb54(0x181)](_0xfecb54(0x10e),{'alias':this[_0xfecb54(0x139)],'limit':0xa}))?.[_0xfecb54(0x122)]||[];for(let _0x44ddc1 of _0x381530)await this[_0xfecb54(0x181)](_0xfecb54(0x126),{'alias':this[_0xfecb54(0x139)],'message_id':_0x44ddc1['id']}),this[_0xfecb54(0x16b)]('←\x20'+_0x44ddc1[_0xfecb54(0x10d)]+':\x20'+_0x44ddc1[_0xfecb54(0x14f)][_0xfecb54(0x134)](0x0,0x3c)),this[_0xfecb54(0x113)](_0xfecb54(0x129),_0x44ddc1),this['emit'](_0xfecb54(0x141),_0x44ddc1);}catch(_0x539151){this[_0xfecb54(0x16b)](_0xfecb54(0x12d)+_0x539151['message']);}}['sleep'](_0x4d10d7){return new Promise(_0x582f0d=>setTimeout(_0x582f0d,_0x4d10d7));}}var F=$;export{F as default,$ as CommHub};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type CodexRecoveryVerification } from "./codex-copresence-recovery";
|
|
2
2
|
export declare const SAFE_CODEX_THREAD_ID: RegExp;
|
|
3
|
+
export declare function defaultWebSocketCtor(maxPayload: number): Promise<any>;
|
|
3
4
|
/** Minimal JSON-RPC client used only while bringing up a co-presence app-server. */
|
|
4
5
|
export declare function createCodexCopresenceThread(ws: string, timeoutMs: number, resumeThreadId?: string, model?: string,
|
|
5
6
|
/** forkFirst (board #738): `thread/fork` the recorded thread, then resume the NEW thread. */
|
|
@@ -2,11 +2,41 @@
|
|
|
2
2
|
export declare function resolveDaemonProviderTarget(nodesDir: string, target: {
|
|
3
3
|
node_id: string;
|
|
4
4
|
alias: string;
|
|
5
|
-
}, networkId: string): {
|
|
5
|
+
}, networkId: string, readOnly?: boolean): {
|
|
6
6
|
dir: string;
|
|
7
7
|
config: Record<string, any>;
|
|
8
8
|
};
|
|
9
|
-
export declare function scanDaemonCodex(nodesDir: string, targets: unknown, networkId: string, hostHome?: string): {
|
|
9
|
+
export declare function scanDaemonCodex(nodesDir: string, targets: unknown, networkId: string, hostHome?: string, discoverLocal?: boolean): {
|
|
10
|
+
observed_at: number;
|
|
11
|
+
scope: string;
|
|
12
|
+
rows: ({
|
|
13
|
+
status: string;
|
|
14
|
+
node_id: any;
|
|
15
|
+
alias: any;
|
|
16
|
+
} | {
|
|
17
|
+
node_configured_model: string | null;
|
|
18
|
+
config_revision: string | null;
|
|
19
|
+
config_status: string;
|
|
20
|
+
configured_provider: string | null;
|
|
21
|
+
configured_model: string | null;
|
|
22
|
+
provider_ids: string[];
|
|
23
|
+
auth_kind: string;
|
|
24
|
+
credential_status: string;
|
|
25
|
+
account_fingerprint: string | null;
|
|
26
|
+
verification: string;
|
|
27
|
+
effective_state: string;
|
|
28
|
+
status: string;
|
|
29
|
+
runtime: string | null;
|
|
30
|
+
home_ref: string;
|
|
31
|
+
home_source: string;
|
|
32
|
+
node_id: any;
|
|
33
|
+
alias: any;
|
|
34
|
+
})[];
|
|
35
|
+
} | {
|
|
36
|
+
local_discovery: {
|
|
37
|
+
status: string;
|
|
38
|
+
rows: any[];
|
|
39
|
+
};
|
|
10
40
|
observed_at: number;
|
|
11
41
|
scope: string;
|
|
12
42
|
rows: ({
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DaemonProviderStore } from './daemon-provider-store';
|
|
2
|
+
export declare function chatgptCredentialFingerprint(raw: string): string;
|
|
3
|
+
export declare class ProviderAccountCustody {
|
|
4
|
+
private nodeId;
|
|
5
|
+
private authPath;
|
|
6
|
+
private readAuth;
|
|
7
|
+
private previous?;
|
|
8
|
+
private selected?;
|
|
9
|
+
private before;
|
|
10
|
+
private next;
|
|
11
|
+
private installed;
|
|
12
|
+
private prepared;
|
|
13
|
+
constructor(store: DaemonProviderStore, nodeId: string, authPath: string, previousId: string | undefined, selectedId: string | undefined, readAuth: () => string | null);
|
|
14
|
+
get fingerprint(): string | undefined;
|
|
15
|
+
get previousFingerprint(): string | undefined;
|
|
16
|
+
get accountId(): string | undefined;
|
|
17
|
+
/** Capture AFTER verified stop: Codex may have refreshed auth since preflight. */
|
|
18
|
+
prepare(): {
|
|
19
|
+
previous_id: string | null;
|
|
20
|
+
selected_id: string | null;
|
|
21
|
+
before_auth: string | null;
|
|
22
|
+
};
|
|
23
|
+
private park;
|
|
24
|
+
install(): void;
|
|
25
|
+
/** No saved copy is used for an active account. Preserve refreshed credentials
|
|
26
|
+
* before restoring the old login, including a failed same-account model edit. */
|
|
27
|
+
rollback(): void;
|
|
28
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Read only the exact owned node's loopback app-server. No logout/login or
|
|
2
|
+
* token refresh request, and no account details are returned to the Hub. */
|
|
3
|
+
export declare function verifyChatgptAppserver(endpoint: string, timeoutMs?: number, webSocketCtor?: any): Promise<void>;
|
|
@@ -13,6 +13,7 @@ export type ProviderApplicationRequest = {
|
|
|
13
13
|
providerId: string;
|
|
14
14
|
authId: string;
|
|
15
15
|
model: string;
|
|
16
|
+
accountId?: string;
|
|
16
17
|
confirmRestart: true;
|
|
17
18
|
};
|
|
18
19
|
export type ProviderActivation = {
|
|
@@ -25,6 +26,7 @@ export type ProviderApplicationLifecycle = {
|
|
|
25
26
|
preflight?: () => Promise<void>;
|
|
26
27
|
stopVerified: () => Promise<void>;
|
|
27
28
|
activate: (expected: ProviderActivation) => Promise<ProviderActivation>;
|
|
29
|
+
verifyChatgpt?: () => Promise<void>;
|
|
28
30
|
restore: () => Promise<void>;
|
|
29
31
|
};
|
|
30
32
|
/** Stop → private writes → verified activation. A crash leaves an explicit
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
export type ProviderAuthKind = "chatgpt" | "api_key";
|
|
2
|
+
export type ApplicationProfile = {
|
|
3
|
+
providerId: string;
|
|
4
|
+
authId: string;
|
|
5
|
+
model: string;
|
|
6
|
+
} & ({
|
|
7
|
+
kind: 'api_key';
|
|
8
|
+
baseUrl: string;
|
|
9
|
+
key: string;
|
|
10
|
+
} | {
|
|
11
|
+
kind: 'chatgpt';
|
|
12
|
+
accountId: string;
|
|
13
|
+
});
|
|
2
14
|
export declare class DaemonProviderError extends Error {
|
|
3
15
|
readonly code: string;
|
|
4
16
|
constructor(code: string);
|
|
5
17
|
}
|
|
18
|
+
export declare function readPrivateJson(path: string): unknown;
|
|
6
19
|
export declare class DaemonProviderStore {
|
|
7
20
|
private readonly root;
|
|
8
21
|
private readonly scope;
|
|
@@ -23,6 +36,7 @@ export declare class DaemonProviderStore {
|
|
|
23
36
|
credential_present: boolean;
|
|
24
37
|
verification: "not_checked";
|
|
25
38
|
application: "not_applied";
|
|
39
|
+
account_id?: string | undefined;
|
|
26
40
|
baseUrl?: string | undefined;
|
|
27
41
|
id: string;
|
|
28
42
|
kind: ProviderAuthKind;
|
|
@@ -33,6 +47,17 @@ export declare class DaemonProviderStore {
|
|
|
33
47
|
network_id: string;
|
|
34
48
|
daemon_node_id: string;
|
|
35
49
|
};
|
|
50
|
+
/** Presence only, never entitlement. Resolve an opaque saved-login ID solely
|
|
51
|
+
* inside this daemon's owned directory; callers cannot supply a credential path. */
|
|
52
|
+
private savedAccountPresent;
|
|
53
|
+
/** Local-only resolver. Never serialize this credential directory into a receipt. */
|
|
54
|
+
savedAccountHome(id: string): string | null;
|
|
55
|
+
/** Internal daemon bootstrap; this private path must never enter Hub replies. */
|
|
56
|
+
prepareLoginDirectory(): {
|
|
57
|
+
root: string;
|
|
58
|
+
network_id: string;
|
|
59
|
+
daemon_node_id: string;
|
|
60
|
+
};
|
|
36
61
|
/** Local application lease. Secrets stay inside the daemon callback, never in list/scan. */
|
|
37
62
|
withApiKey<T>(selection: {
|
|
38
63
|
revision: number;
|
|
@@ -46,6 +71,12 @@ export declare class DaemonProviderStore {
|
|
|
46
71
|
baseUrl: string;
|
|
47
72
|
key: string;
|
|
48
73
|
}) => Promise<T>): Promise<T>;
|
|
74
|
+
withApplicationProfile<T>(selection: {
|
|
75
|
+
revision: number;
|
|
76
|
+
providerId: string;
|
|
77
|
+
authId: string;
|
|
78
|
+
model: string;
|
|
79
|
+
}, apply: (profile: ApplicationProfile) => Promise<T>): Promise<T>;
|
|
49
80
|
upsert(value: unknown, expectedRevision: number, requestId?: string): {
|
|
50
81
|
revision: number;
|
|
51
82
|
source: "daemon";
|
|
@@ -59,6 +90,7 @@ export declare class DaemonProviderStore {
|
|
|
59
90
|
credential_present: boolean;
|
|
60
91
|
verification: "not_checked";
|
|
61
92
|
application: "not_applied";
|
|
93
|
+
account_id?: string | undefined;
|
|
62
94
|
baseUrl?: string | undefined;
|
|
63
95
|
id: string;
|
|
64
96
|
kind: ProviderAuthKind;
|