claudekit-cli 3.41.3 → 3.41.4-dev.10
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/README.md +12 -0
- package/dist/index.js +32372 -28954
- package/dist/ui/assets/core-B8a0kdWx.js +1 -0
- package/dist/ui/assets/event-BR0sBAas.js +1 -0
- package/dist/ui/assets/index-Bnd1bUG3.js +1 -0
- package/dist/ui/assets/index-DxBGb68M.js +261 -0
- package/dist/ui/assets/index-oW0QypIz.css +1 -0
- package/dist/ui/index.html +2 -2
- package/package.json +6 -1
- package/dist/ui/assets/index-BzNW50gy.js +0 -249
- package/dist/ui/assets/index-QUag--Eo.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function s(t,e,i,r){if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?r:i==="a"?r.call(t):r?r.value:e.get(t)}function h(t,e,i,r,c){if(typeof e=="function"?t!==e||!0:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return e.set(t,i),i}var a,n,o,l,_;const f="__TAURI_TO_IPC_KEY__";function u(t,e=!1){return window.__TAURI_INTERNALS__.transformCallback(t,e)}class w{constructor(e){a.set(this,void 0),n.set(this,0),o.set(this,[]),l.set(this,void 0),h(this,a,e||(()=>{})),this.id=u(i=>{const r=i.index;if("end"in i){r==s(this,n,"f")?this.cleanupCallback():h(this,l,r);return}const c=i.message;if(r==s(this,n,"f")){for(s(this,a,"f").call(this,c),h(this,n,s(this,n,"f")+1);s(this,n,"f")in s(this,o,"f");){const d=s(this,o,"f")[s(this,n,"f")];s(this,a,"f").call(this,d),delete s(this,o,"f")[s(this,n,"f")],h(this,n,s(this,n,"f")+1)}s(this,n,"f")===s(this,l,"f")&&this.cleanupCallback()}else s(this,o,"f")[r]=c})}cleanupCallback(){window.__TAURI_INTERNALS__.unregisterCallback(this.id)}set onmessage(e){h(this,a,e)}get onmessage(){return s(this,a,"f")}[(a=new WeakMap,n=new WeakMap,o=new WeakMap,l=new WeakMap,f)](){return`__CHANNEL__:${this.id}`}toJSON(){return this[f]()}}async function p(t,e={},i){return window.__TAURI_INTERNALS__.invoke(t,e,i)}class C{get rid(){return s(this,_,"f")}constructor(e){_.set(this,void 0),h(this,_,e)}async close(){return p("plugin:resources|close",{rid:this.rid})}}_=new WeakMap;export{w as C,C as R,p as i,u as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as r,t as c}from"./core-B8a0kdWx.js";var i;(function(e){e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_CREATED="tauri://window-created",e.WEBVIEW_CREATED="tauri://webview-created",e.DRAG_ENTER="tauri://drag-enter",e.DRAG_OVER="tauri://drag-over",e.DRAG_DROP="tauri://drag-drop",e.DRAG_LEAVE="tauri://drag-leave"})(i||(i={}));async function _(e,a){window.__TAURI_EVENT_PLUGIN_INTERNALS__.unregisterListener(e,a),await r("plugin:event|unlisten",{event:e,eventId:a})}async function d(e,a,t){var n;const l=typeof t?.target=="string"?{kind:"AnyLabel",label:t.target}:(n=t?.target)!==null&&n!==void 0?n:{kind:"Any"};return r("plugin:event|listen",{event:e,target:l,handler:c(a)}).then(u=>async()=>_(e,u))}async function o(e,a,t){return d(e,n=>{_(e,n.id),a(n)},t)}async function W(e,a){await r("plugin:event|emit",{event:e,payload:a})}async function s(e,a,t){await r("plugin:event|emit_to",{target:typeof e=="string"?{kind:"AnyLabel",label:e}:e,event:a,payload:t})}export{i as TauriEvent,W as emit,s as emitTo,d as listen,o as once};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{R as t,C as r,i as a}from"./core-B8a0kdWx.js";class l extends t{constructor(e){super(e.rid),this.available=!0,this.currentVersion=e.currentVersion,this.version=e.version,this.date=e.date,this.body=e.body,this.rawJson=e.rawJson}async download(e,s){i(s);const d=new r;e&&(d.onmessage=e);const o=await a("plugin:updater|download",{onEvent:d,rid:this.rid,...s});this.downloadedBytes=new t(o)}async install(){if(!this.downloadedBytes)throw new Error("Update.install called before Update.download");await a("plugin:updater|install",{updateRid:this.rid,bytesRid:this.downloadedBytes.rid}),this.downloadedBytes=void 0}async downloadAndInstall(e,s){i(s);const d=new r;e&&(d.onmessage=e),await a("plugin:updater|download_and_install",{onEvent:d,rid:this.rid,...s})}async close(){await this.downloadedBytes?.close(),await super.close()}}async function w(n){i(n);const e=await a("plugin:updater|check",{...n});return e?new l(e):null}function i(n){n?.headers&&(n.headers=Array.from(new Headers(n.headers).entries()))}export{l as Update,w as check};
|