@entrydesk/cli 1.28.0 → 1.28.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/{agents-7AT2F2OW.js → agents-LIJMWOZ2.js} +1 -1
- package/dist/{chunk-CMZ3SNUK.js → chunk-CPWV7GSV.js} +8 -8
- package/dist/index.js +1 -1
- package/dist/{meeting-XNOB42V4.js → meeting-QUGQQKHK.js} +1 -1
- package/dist/{skills-5PXBXD7R.js → skills-QBUDOMP6.js} +1 -1
- package/dist/{task-H3H6IWN6.js → task-2WCICBUY.js} +47 -47
- package/dist/{update-Q3JWQRDM.js → update-2PWS4QYE.js} +1 -1
- package/dist/{version-IV2RAOLX.js → version-4X7PCXOW.js} +1 -1
- package/dist/{workflow-FRNB3A6E.js → workflow-RCAZOUFB.js} +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as l}from"./chunk-W3YAQBZV.js";import"./chunk-KBW7PPBV.js";import{spawn as f}from"child_process";var a="@entrydesk/cli";function g(){return"1.28.
|
|
2
|
+
import{t as l}from"./chunk-W3YAQBZV.js";import"./chunk-KBW7PPBV.js";import{spawn as f}from"child_process";var a="@entrydesk/cli";function g(){return"1.28.1"}function d(n){let e=/^v?(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/u.exec(n.trim());return e?{nums:[Number(e[1]),Number(e[2]),Number(e[3])],prerelease:e[4]??null}:null}function h(n,e){if(n===e)return 0;if(n===null)return 1;if(e===null)return-1;let t=n.split("."),i=e.split("."),r=Math.min(t.length,i.length);for(let s=0;s<r;s++){let u=t[s],o=i[s];if(u!==o){let c=/^\d+$/u.test(u),p=/^\d+$/u.test(o);return c&&p?Number(u)<Number(o)?-1:1:c?-1:p?1:u<o?-1:1}}return t.length===i.length?0:t.length<i.length?-1:1}function y(n,e){let t=d(n),i=d(e);if(!t||!i)return t?1:i?-1:0;for(let r=0;r<3;r++)if(t.nums[r]!==i.nums[r])return t.nums[r]<i.nums[r]?-1:1;return h(t.prerelease,i.prerelease)}function $(){return process.platform==="win32"?"npm.cmd":"npm"}function m(n,{inheritOutput:e}){return new Promise((t,i)=>{let r=f($(),n,{stdio:e?["ignore","inherit","inherit"]:["ignore","pipe","pipe"]}),s="",u="";r.stdout?.on("data",o=>{s+=String(o)}),r.stderr?.on("data",o=>{u+=String(o)}),r.once("error",i),r.once("close",o=>{t({exitCode:o??1,stdout:s,stderr:u})})})}async function w(){let n;try{n=await m(["view",a,"version"],{inheritOutput:!1})}catch(t){throw new l("Failed to run npm \u2014 is npm installed and on your PATH?",1,t instanceof Error?t:void 0)}let e=n.stdout.trim();if(n.exitCode!==0||!e)throw new l(`Failed to look up the latest ${a} version from the npm registry.${n.stderr?`
|
|
3
3
|
${n.stderr.trim()}`:""}`);if(!d(e))throw new l(`Unexpected version from the npm registry: ${JSON.stringify(e)}`);return e}async function _(n){let e=g(),t=await w(),i=y(e,t),r=i>=0;if(n.check||r){n.json?console.log(JSON.stringify({current:e,latest:t,upToDate:r,updated:!1})):i>0?console.log(`entrydesk ${e} is newer than the latest published version (${t}). Nothing to do.`):console.log(r?`entrydesk ${e} is already the latest version.`:`Update available: ${e} \u2192 ${t}. Run \`entrydesk update\` to install.`);return}n.json||console.log(`Updating entrydesk ${e} \u2192 ${t} ...`);let s=await m(["install","-g",`${a}@${t}`],{inheritOutput:!n.json});if(s.exitCode!==0){let u=s.stderr?`
|
|
4
4
|
${s.stderr.trim()}`:"";throw new l(`npm install failed (exit code ${s.exitCode}). You can update manually with \`npm install -g ${a}@latest\`.`+u,s.exitCode)}n.json?console.log(JSON.stringify({current:e,latest:t,upToDate:r,updated:!0})):console.log(`entrydesk updated to ${t}.`)}export{_ as runUpdate};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import"./chunk-KBW7PPBV.js";function n(){console.log("entrydesk 1.28.
|
|
2
|
+
import"./chunk-KBW7PPBV.js";function n(){console.log("entrydesk 1.28.1")}export{n as printVersion};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{c as u}from"./chunk-
|
|
2
|
+
import{c as u}from"./chunk-CPWV7GSV.js";import"./chunk-NOSHH4TO.js";import{g as p,s as g,u as k}from"./chunk-W3YAQBZV.js";import"./chunk-KBW7PPBV.js";import{readFileSync as I}from"fs";var m=262144,R=new Set(["completed","failed","cancelled"]);function f(){console.log(`
|
|
3
3
|
Usage: entrydesk workflow [list|get|create|update|run|runs|run-get|share] [options]
|
|
4
4
|
|
|
5
5
|
Commands:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entrydesk/cli",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.1",
|
|
4
4
|
"description": "EntryDesk CLI - Interact with EntryDesk from your terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"@types/react": "^19.2.17",
|
|
31
31
|
"@vitest/coverage-v8": "^4.1.6",
|
|
32
32
|
"happy-dom": "^20.8.9",
|
|
33
|
-
"oxlint": "^1.
|
|
33
|
+
"oxlint": "^1.75.0",
|
|
34
34
|
"strip-ansi": "^7.1.2",
|
|
35
35
|
"tsup": "^8.5.0",
|
|
36
36
|
"typescript": "^7.0.2",
|
|
37
37
|
"vitest": "^4.1.6",
|
|
38
38
|
"@entrydesk/shared": "^0.0.0",
|
|
39
|
-
"@gntc/
|
|
40
|
-
"@gntc/
|
|
39
|
+
"@gntc/ci": "^0.0.0",
|
|
40
|
+
"@gntc/utils": "^0.0.0"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
43
|
"keytar": "^7.9.0"
|