@integrity-labs/agt-cli 0.27.142 → 0.27.143
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/agt.js +4 -4
- package/dist/{chunk-IDDSO7Q5.js → chunk-BQCBWYT3.js} +2 -2
- package/dist/{chunk-OI33LV54.js → chunk-IKJYJYPI.js} +11 -5
- package/dist/chunk-IKJYJYPI.js.map +1 -0
- package/dist/{chunk-WCXA7EEP.js → chunk-ZXIGQDOP.js} +23 -1
- package/dist/chunk-ZXIGQDOP.js.map +1 -0
- package/dist/{claude-pair-runtime-ZLYTTNUY.js → claude-pair-runtime-Z2WAQRSW.js} +2 -2
- package/dist/lib/manager-worker.js +22 -10
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-SOCMTNFC.js → persistent-session-255IRT6T.js} +3 -3
- package/dist/{responsiveness-probe-USWGCI4C.js → responsiveness-probe-Q35EEOHM.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-OI33LV54.js.map +0 -1
- package/dist/chunk-WCXA7EEP.js.map +0 -1
- /package/dist/{chunk-IDDSO7Q5.js.map → chunk-BQCBWYT3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ZLYTTNUY.js.map → claude-pair-runtime-Z2WAQRSW.js.map} +0 -0
- /package/dist/{persistent-session-SOCMTNFC.js.map → persistent-session-255IRT6T.js.map} +0 -0
- /package/dist/{responsiveness-probe-USWGCI4C.js.map → responsiveness-probe-Q35EEOHM.js.map} +0 -0
|
@@ -409,6 +409,26 @@ function getFramework(id) {
|
|
|
409
409
|
return adapter;
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
+
// ../../packages/core/dist/provisioning/avatar-env.js
|
|
413
|
+
var MAX_AVATAR_ENV_URL_BYTES = 8192;
|
|
414
|
+
function utf8ByteLength(value) {
|
|
415
|
+
return new TextEncoder().encode(value).length;
|
|
416
|
+
}
|
|
417
|
+
function resolveAvatarEnvUrl(raw) {
|
|
418
|
+
const trimmed = typeof raw === "string" ? raw.trim() : "";
|
|
419
|
+
if (trimmed === "") {
|
|
420
|
+
return { url: null, skipReason: "empty" };
|
|
421
|
+
}
|
|
422
|
+
if (/^data:/i.test(trimmed)) {
|
|
423
|
+
return { url: null, skipReason: "data-uri", bytes: utf8ByteLength(trimmed) };
|
|
424
|
+
}
|
|
425
|
+
const bytes = utf8ByteLength(trimmed);
|
|
426
|
+
if (bytes > MAX_AVATAR_ENV_URL_BYTES) {
|
|
427
|
+
return { url: null, skipReason: "too-large", bytes };
|
|
428
|
+
}
|
|
429
|
+
return { url: trimmed };
|
|
430
|
+
}
|
|
431
|
+
|
|
412
432
|
// ../../packages/core/dist/types/kanban.js
|
|
413
433
|
function formatActorId(kind, id) {
|
|
414
434
|
return `${kind}:${id}`;
|
|
@@ -4707,6 +4727,8 @@ export {
|
|
|
4707
4727
|
CHANNEL_REGISTRY,
|
|
4708
4728
|
getChannel,
|
|
4709
4729
|
getAllChannelIds,
|
|
4730
|
+
MAX_AVATAR_ENV_URL_BYTES,
|
|
4731
|
+
resolveAvatarEnvUrl,
|
|
4710
4732
|
OAUTH_PROVIDERS,
|
|
4711
4733
|
formatActorId,
|
|
4712
4734
|
isSelfCompletion,
|
|
@@ -4744,4 +4766,4 @@ export {
|
|
|
4744
4766
|
attributeTranscriptUsageByRun,
|
|
4745
4767
|
KANBAN_CHECK_COMMAND
|
|
4746
4768
|
};
|
|
4747
|
-
//# sourceMappingURL=chunk-
|
|
4769
|
+
//# sourceMappingURL=chunk-ZXIGQDOP.js.map
|