nolo-cli 0.243.0-alpha.2 → 0.243.0-alpha.4
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/{_executeModel-OO3WNJZJ.js → _executeModel-EKTVBHP5.js} +25 -25
- package/{action-4V2UISXC.js → action-R2EIXR7I.js} +3 -3
- package/{addContentAction-5MZDMGI6.js → addContentAction-W6JVLQ6H.js} +6 -6
- package/{addDialogAgentAction-ONVFHUOL.js → addDialogAgentAction-LVNKMXKZ.js} +5 -5
- package/{agentDeleteCommand-XLYICAHH.js → agentDeleteCommand-PLATQ4WQ.js} +22 -22
- package/{agentEmailCommands-Q4LFOXQC.js → agentEmailCommands-3ZLROASQ.js} +23 -23
- package/{agentMachineCommands-7QQM6RU6.js → agentMachineCommands-DW2HS6KZ.js} +1 -1
- package/{agentRecordCommands-FXP672SS.js → agentRecordCommands-NAYFUYXR.js} +23 -23
- package/{agentRunCommand-FGEYVKIG.js → agentRunCommand-DFNC6HMT.js} +23 -23
- package/{agentSlice-R6BN2FOL.js → agentSlice-UTV4ZFTX.js} +6 -6
- package/{chunk-YO4DCVD2.js → chunk-2IPR4PBB.js} +1 -1
- package/{chunk-GKZHJD7O.js → chunk-2QXYFYLP.js} +2 -2
- package/{chunk-U3PDJ6EI.js → chunk-5BVGJKIA.js} +10 -10
- package/{chunk-DEOPZE4S.js → chunk-5VVP7DW3.js} +1 -1
- package/{chunk-G3SJCNHX.js → chunk-76HAJUOJ.js} +1 -1
- package/{chunk-TRN54YTP.js → chunk-AVSZ6PBM.js} +2 -2
- package/{chunk-ONXCCILE.js → chunk-AZUPMHRN.js} +19 -19
- package/{chunk-OPZBKP4X.js → chunk-BW6QATP2.js} +5 -5
- package/{chunk-GKZGOSZE.js → chunk-C2QLXFUP.js} +8 -8
- package/{chunk-SGI2FIGK.js → chunk-CJQBWHNM.js} +2 -2
- package/{chunk-ZGHHY2PV.js → chunk-FMYNIAI6.js} +1 -1
- package/{chunk-TCY22W2Y.js → chunk-HJHZVSTB.js} +3 -3
- package/{chunk-SSTQPNS5.js → chunk-I2NBEUPD.js} +8 -8
- package/{chunk-SEDJEJBH.js → chunk-IFWXH7LH.js} +1 -1
- package/{chunk-QE6U2BKG.js → chunk-IMDKBSUH.js} +2 -2
- package/{chunk-WIRH2ZLI.js → chunk-KMDHRVS7.js} +20 -1
- package/{chunk-3IQ5GP5Y.js → chunk-LC5CVWP2.js} +2 -2
- package/{chunk-7DVJO4J5.js → chunk-LPGHK4JN.js} +7 -7
- package/{chunk-AUBXID4I.js → chunk-MKOAAPH7.js} +5 -5
- package/{chunk-VTB6V4UF.js → chunk-PDAXMBLW.js} +6 -6
- package/{chunk-T3CUXNV4.js → chunk-QOURTDZL.js} +84 -5
- package/{chunk-WXZZQRAH.js → chunk-RXTZB2DH.js} +1 -1
- package/{chunk-YDTLGWBU.js → chunk-SESKIWB4.js} +1 -1
- package/{chunk-G3Y56RZA.js → chunk-TVUBURX7.js} +3 -3
- package/{chunk-FUG2L353.js → chunk-UDHBVOLK.js} +2 -2
- package/{chunk-7AI3MC6I.js → chunk-UL4PV44O.js} +1 -1
- package/{chunk-37NO3AYF.js → chunk-VSZWCZM6.js} +2 -2
- package/{chunk-AGQ6WAB2.js → chunk-W3FHUZEK.js} +6 -6
- package/{chunk-GRVQJNSR.js → chunk-XZKFM7KO.js} +22 -22
- package/{chunk-LCPP65AH.js → chunk-ZGEFT7GW.js} +4 -4
- package/{chunk-BRZFJQTW.js → chunk-ZJ5HDNS2.js} +5 -5
- package/{commandRegistry-GBAVYSJE.js → commandRegistry-FHMIUCZO.js} +15 -15
- package/{contentThunks-IRJERA32.js → contentThunks-3SB44C7X.js} +12 -12
- package/{createAgentAutomationAction-EKJMTIUX.js → createAgentAutomationAction-5HZTYLFU.js} +12 -12
- package/{createDialogAction-SI5EKEF6.js → createDialogAction-BEWLUGTZ.js} +13 -13
- package/{createPageAction-OAQ2Z73C.js → createPageAction-YQJNM7WK.js} +13 -13
- package/{dbSlice-JBLCCYKC.js → dbSlice-5MQ3ELID.js} +5 -5
- package/{deleteFile-KV5VTKAT.js → deleteFile-VCCHS72Y.js} +3 -3
- package/{dialogSlice-PRXHSZKA.js → dialogSlice-35ZHIKXV.js} +10 -10
- package/{docStore-ISD6RJ4Q.js → docStore-YAQ2NUEU.js} +6 -6
- package/{handleSendMessageAction-53ZRMHZI.js → handleSendMessageAction-TGD2MREV.js} +20 -20
- package/{hostCredentialCreate-CE7VH3QY.js → hostCredentialCreate-JOEH42E2.js} +23 -23
- package/index.js +3 -3
- package/{localRuntimeAdapter-HFSSPXSN.js → localRuntimeAdapter-LGCTOJKO.js} +22 -22
- package/{machineCommands-RD3VAUXS.js → machineCommands-UKDQ54ZP.js} +23 -23
- package/{machineWsRunDispatch-4F57JVF5.js → machineWsRunDispatch-VYB4BESM.js} +23 -23
- package/{memberThunks-TWB77UHJ.js → memberThunks-KC3WJGL3.js} +7 -7
- package/package.json +1 -1
- package/{projectArchive-NSWHU25G.js → projectArchive-KAR4AVYU.js} +13 -13
- package/{read-CO6HMH5W.js → read-T7VU2IMO.js} +3 -3
- package/{readDocTool-P4MDVRNW.js → readDocTool-BPQ3QJSD.js} +1 -1
- package/{readlineWorkspace-5DBAVNUP.js → readlineWorkspace-NO3Z5SRR.js} +26 -26
- package/{removeDialogAgentAction-D3R3QNPD.js → removeDialogAgentAction-FEUUVMYC.js} +7 -7
- package/{runAgentClientLoop-RJ7KEUWO.js → runAgentClientLoop-RKQUAOW5.js} +23 -23
- package/{setDialogExtraReferencesAction-VORDLM57.js → setDialogExtraReferencesAction-JSTQJPXL.js} +6 -6
- package/{setPrimaryDialogAgentAction-P5A65M32.js → setPrimaryDialogAgentAction-Z2BQE3IY.js} +7 -7
- package/{settingThunks-JGBSDOC6.js → settingThunks-C2YWCNYI.js} +5 -5
- package/{streamAgentChatTurn-FRPZ7DE2.js → streamAgentChatTurn-EY7XVVDV.js} +25 -25
- package/{switchDialogAgentAction-DMMWH5FG.js → switchDialogAgentAction-G7XVAOGH.js} +5 -5
- package/{tools-7JMKOJPW.js → tools-5MVR3NQI.js} +20 -20
- package/{updateDialogTitleAction-BQH24I5O.js → updateDialogTitleAction-4PLYOEJM.js} +12 -12
- package/{webapi-24RZDIIQ.js → webapi-QVV65DQF.js} +12 -13
|
@@ -8,38 +8,38 @@ import {
|
|
|
8
8
|
toolQueryFunc,
|
|
9
9
|
toolQueryFunctionSchema,
|
|
10
10
|
toolRegistry
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XZKFM7KO.js";
|
|
12
12
|
import "./chunk-HZN5VE32.js";
|
|
13
13
|
import "./chunk-AMWMV56B.js";
|
|
14
14
|
import "./chunk-MVOZ22RZ.js";
|
|
15
15
|
import "./chunk-WDWZPASX.js";
|
|
16
16
|
import "./chunk-SF4GMDZO.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-KMDHRVS7.js";
|
|
18
|
+
import "./chunk-I2NBEUPD.js";
|
|
19
19
|
import "./chunk-NF64D32W.js";
|
|
20
20
|
import "./chunk-6PXFEPHL.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-TVUBURX7.js";
|
|
22
22
|
import "./chunk-VF4K2QE6.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-SESKIWB4.js";
|
|
24
|
+
import "./chunk-IFWXH7LH.js";
|
|
25
|
+
import "./chunk-HJHZVSTB.js";
|
|
26
|
+
import "./chunk-C2QLXFUP.js";
|
|
27
|
+
import "./chunk-AZUPMHRN.js";
|
|
28
28
|
import "./chunk-TZXPT53C.js";
|
|
29
29
|
import "./chunk-BUDVRYES.js";
|
|
30
30
|
import "./chunk-523DITKR.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-W3FHUZEK.js";
|
|
32
|
+
import "./chunk-RXTZB2DH.js";
|
|
33
33
|
import "./chunk-BYXBJQAS.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-AVSZ6PBM.js";
|
|
35
35
|
import "./chunk-5RGU3J7P.js";
|
|
36
36
|
import "./chunk-UVLYNWIE.js";
|
|
37
37
|
import "./chunk-YNIYE47Z.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-CJQBWHNM.js";
|
|
39
39
|
import "./chunk-UAD2WT54.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-PDAXMBLW.js";
|
|
41
41
|
import "./chunk-3PVYUPXK.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-2IPR4PBB.js";
|
|
43
43
|
import "./chunk-HXER7YJF.js";
|
|
44
44
|
import "./chunk-OXFJWWOT.js";
|
|
45
45
|
import "./chunk-DXWGFL2Z.js";
|
|
@@ -49,12 +49,12 @@ import "./chunk-KQHEGELM.js";
|
|
|
49
49
|
import "./chunk-QYPE3TS3.js";
|
|
50
50
|
import "./chunk-U35UUM5K.js";
|
|
51
51
|
import "./chunk-RD3QLZQV.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-5VVP7DW3.js";
|
|
53
|
+
import "./chunk-FMYNIAI6.js";
|
|
54
54
|
import "./chunk-UEILX4EV.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-LC5CVWP2.js";
|
|
56
|
+
import "./chunk-76HAJUOJ.js";
|
|
57
|
+
import "./chunk-QOURTDZL.js";
|
|
58
58
|
import "./chunk-5PASH2MB.js";
|
|
59
59
|
import "./chunk-WBSJAIZP.js";
|
|
60
60
|
import "./chunk-QQ56R7KS.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-Z4PCXPUE.js";
|
|
4
4
|
import {
|
|
5
5
|
updateContentTitle
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-C2QLXFUP.js";
|
|
7
7
|
import {
|
|
8
8
|
isAssistantToolStub,
|
|
9
9
|
selectAllMsgs
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AZUPMHRN.js";
|
|
11
11
|
import "./chunk-TZXPT53C.js";
|
|
12
12
|
import {
|
|
13
13
|
require_format
|
|
@@ -18,34 +18,34 @@ import {
|
|
|
18
18
|
} from "./chunk-523DITKR.js";
|
|
19
19
|
import {
|
|
20
20
|
runLlm
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-W3FHUZEK.js";
|
|
22
|
+
import "./chunk-RXTZB2DH.js";
|
|
23
23
|
import "./chunk-BYXBJQAS.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-AVSZ6PBM.js";
|
|
25
25
|
import "./chunk-5RGU3J7P.js";
|
|
26
26
|
import "./chunk-UVLYNWIE.js";
|
|
27
27
|
import "./chunk-YNIYE47Z.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-CJQBWHNM.js";
|
|
29
29
|
import {
|
|
30
30
|
normalizeSpaceId
|
|
31
31
|
} from "./chunk-UAD2WT54.js";
|
|
32
32
|
import {
|
|
33
33
|
patch,
|
|
34
34
|
selectById
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PDAXMBLW.js";
|
|
36
36
|
import "./chunk-3PVYUPXK.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-2IPR4PBB.js";
|
|
38
38
|
import "./chunk-HXER7YJF.js";
|
|
39
39
|
import "./chunk-DXWGFL2Z.js";
|
|
40
40
|
import "./chunk-3L2WKC3W.js";
|
|
41
41
|
import "./chunk-QYPE3TS3.js";
|
|
42
42
|
import "./chunk-U35UUM5K.js";
|
|
43
43
|
import "./chunk-RD3QLZQV.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-5VVP7DW3.js";
|
|
45
|
+
import "./chunk-FMYNIAI6.js";
|
|
46
46
|
import "./chunk-UEILX4EV.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-76HAJUOJ.js";
|
|
48
|
+
import "./chunk-QOURTDZL.js";
|
|
49
49
|
import "./chunk-5PASH2MB.js";
|
|
50
50
|
import "./chunk-WBSJAIZP.js";
|
|
51
51
|
import "./chunk-QQ56R7KS.js";
|
|
@@ -314,6 +314,8 @@ var jwkMatchesOp = (entry, key, usage) => {
|
|
|
314
314
|
if (key.use !== expected)
|
|
315
315
|
throw new TypeError(`Invalid key for this operation, its "use" must be "${expected}" when present`);
|
|
316
316
|
}
|
|
317
|
+
if (key.kty === "AKP" && key.alg === void 0)
|
|
318
|
+
throw new TypeError('missing "alg" (Algorithm) Parameter value');
|
|
317
319
|
if (key.alg !== void 0 && key.alg !== alg)
|
|
318
320
|
throw new TypeError(`Invalid key for this operation, its "alg" must be "${alg}" when present`);
|
|
319
321
|
if (Array.isArray(key.key_ops)) {
|
|
@@ -1015,7 +1017,7 @@ async function decryptJWE(jwe, shared, key, token = shareJWE(jwe)) {
|
|
|
1015
1017
|
if (decompressionLimit === 0)
|
|
1016
1018
|
throw new JOSENotSupported('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');
|
|
1017
1019
|
plaintext = await decompress(plaintext, decompressionLimit).catch((cause) => {
|
|
1018
|
-
throw cause instanceof JWEInvalid ? cause : new JWEInvalid("Failed to decompress plaintext", { cause });
|
|
1020
|
+
throw cause instanceof JWEInvalid || cause instanceof JOSENotSupported ? cause : new JWEInvalid("Failed to decompress plaintext", { cause });
|
|
1019
1021
|
});
|
|
1020
1022
|
}
|
|
1021
1023
|
return {
|
|
@@ -1141,7 +1143,7 @@ async function encryptJWE(input, checked, key) {
|
|
|
1141
1143
|
const encodedProtectedHeader = protectedHeader ? encode2(JSON.stringify(protectedHeader)) : "", encodedAad = aad?.byteLength ? encode2(aad) : void 0, additionalAuthenticatedData = encode(encodedAad ? `${encodedProtectedHeader}.${encodedAad}` : encodedProtectedHeader);
|
|
1142
1144
|
let plaintext = inputPlaintext;
|
|
1143
1145
|
joseHeader.zip === "DEF" && (plaintext = await compress(plaintext).catch((cause) => {
|
|
1144
|
-
throw new JWEInvalid("Failed to compress plaintext", { cause });
|
|
1146
|
+
throw cause instanceof JOSENotSupported ? cause : new JWEInvalid("Failed to compress plaintext", { cause });
|
|
1145
1147
|
}));
|
|
1146
1148
|
let ciphertext, tag2, iv;
|
|
1147
1149
|
algEntry.mode === "integrated-encryption" ? [encryptedKey, ciphertext] = await algEntry.encrypt(cek, plaintext, additionalAuthenticatedData, protectedHeader, joseHeader, keyManagementParameters) : { ciphertext, tag: tag2, iv } = await encrypt(encEntry, plaintext, cek, inputIv, additionalAuthenticatedData);
|
|
@@ -1474,7 +1476,7 @@ function secs(str) {
|
|
|
1474
1476
|
const matched = REGEX.exec(str);
|
|
1475
1477
|
(!matched || matched[4] && matched[1]) && invalidDuration();
|
|
1476
1478
|
const value = parseFloat(matched[2]), durationSeconds = Math.round(value * multipliers[matched[3][0].toLowerCase()]);
|
|
1477
|
-
return Number.isFinite(durationSeconds) || invalidDuration(), matched[1] === "-" || matched[4] === "ago" ? -durationSeconds : durationSeconds;
|
|
1479
|
+
return Number.isFinite(durationSeconds) || invalidDuration(), matched[1] === "-" || matched[4]?.toLowerCase() === "ago" ? -durationSeconds : durationSeconds;
|
|
1478
1480
|
}
|
|
1479
1481
|
function validateInput(label, input) {
|
|
1480
1482
|
if (!Number.isFinite(input))
|
|
@@ -1845,15 +1847,12 @@ var EncryptJWT = class extends EncryptJWT_base {
|
|
|
1845
1847
|
return this.#replicateAudienceAsHeader = true, this;
|
|
1846
1848
|
}
|
|
1847
1849
|
async encrypt(key, options) {
|
|
1848
|
-
const plaintext = jwtClaimsSetBytes(this);
|
|
1849
|
-
this.#input[1] && (this.#replicateIssuerAsHeader || this.#replicateSubjectAsHeader || this.#replicateAudienceAsHeader) && (this.#input[1] = {
|
|
1850
|
-
...this.#input[1],
|
|
1851
|
-
iss: this.#replicateIssuerAsHeader ? jwtClaim(this, "iss") : void 0,
|
|
1852
|
-
sub: this.#replicateSubjectAsHeader ? jwtClaim(this, "sub") : void 0,
|
|
1853
|
-
aud: this.#replicateAudienceAsHeader ? jwtClaim(this, "aud") : void 0
|
|
1854
|
-
});
|
|
1855
1850
|
const input = [...this.#input];
|
|
1856
|
-
|
|
1851
|
+
if (input[0] = jwtClaimsSetBytes(this), input[1] && (this.#replicateIssuerAsHeader || this.#replicateSubjectAsHeader || this.#replicateAudienceAsHeader)) {
|
|
1852
|
+
const header = { ...input[1] };
|
|
1853
|
+
this.#replicateIssuerAsHeader && (header.iss = jwtClaim(this, "iss")), this.#replicateSubjectAsHeader && (header.sub = jwtClaim(this, "sub")), this.#replicateAudienceAsHeader && (header.aud = jwtClaim(this, "aud")), input[1] = header;
|
|
1854
|
+
}
|
|
1855
|
+
return compactJWE(await createJWE(input, key, options));
|
|
1857
1856
|
}
|
|
1858
1857
|
};
|
|
1859
1858
|
|
|
@@ -2171,7 +2170,7 @@ function isCloudflareWorkers() {
|
|
|
2171
2170
|
return typeof WebSocketPair < "u" || typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime < "u" && EdgeRuntime === "vercel";
|
|
2172
2171
|
}
|
|
2173
2172
|
var USER_AGENT;
|
|
2174
|
-
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.
|
|
2173
|
+
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.18");
|
|
2175
2174
|
var customFetch = /* @__PURE__ */ Symbol();
|
|
2176
2175
|
async function fetchJwks(url, headers, signal, fetchImpl = fetch) {
|
|
2177
2176
|
const response = await fetchImpl(url, {
|
|
@@ -2187,7 +2186,7 @@ async function fetchJwks(url, headers, signal, fetchImpl = fetch) {
|
|
|
2187
2186
|
try {
|
|
2188
2187
|
return await response.json();
|
|
2189
2188
|
} catch (cause) {
|
|
2190
|
-
throw new JOSEError("Failed to parse the JSON Web Key Set HTTP response as JSON", { cause });
|
|
2189
|
+
throw signal.aborted ? new JWKSTimeout(void 0, { cause }) : new JOSEError("Failed to parse the JSON Web Key Set HTTP response as JSON", { cause });
|
|
2191
2190
|
}
|
|
2192
2191
|
}
|
|
2193
2192
|
var jwksCache = /* @__PURE__ */ Symbol();
|