@integrity-labs/agt-cli 0.28.1216 → 0.28.1217
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 +6 -6
- package/dist/{chunk-B5ZQQ7Z2.js → chunk-4EY3CUZB.js} +31 -1
- package/dist/chunk-4EY3CUZB.js.map +1 -0
- package/dist/{chunk-QHO44YUB.js → chunk-DYEJT36T.js} +2 -2
- package/dist/{chunk-QCQYDXYP.js → chunk-G4TOCXOT.js} +3 -3
- package/dist/{chunk-U63NF4FC.js → chunk-IGNZSNKB.js} +2 -2
- package/dist/{chunk-KZMARLWR.js → chunk-WIWPIZFN.js} +37 -12
- package/dist/{chunk-KZMARLWR.js.map → chunk-WIWPIZFN.js.map} +1 -1
- package/dist/{claude-code-updater-FTIWTIDK.js → claude-code-updater-WJIPTVFL.js} +3 -3
- package/dist/{claude-pair-runtime-M3QT5MWP.js → claude-pair-runtime-P3EO7NO3.js} +3 -3
- package/dist/lib/manager-worker.js +19 -19
- package/dist/mcp/direct-chat-channel.js +34 -18
- package/dist/mcp/index.js +34 -18
- package/dist/mcp/origami.js +34 -18
- package/dist/mcp/slack-channel.js +34 -18
- package/dist/mcp/telegram-channel.js +34 -18
- package/dist/{persistent-session-WEQTZT4Z.js → persistent-session-3QL5YBCS.js} +4 -4
- package/dist/{responsiveness-probe-LMBZ5JOK.js → responsiveness-probe-BCVBNGYY.js} +4 -4
- package/dist/{session-auth-dead-NRVMU7CE.js → session-auth-dead-YJH56AWH.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-B5ZQQ7Z2.js.map +0 -1
- /package/dist/{chunk-QHO44YUB.js.map → chunk-DYEJT36T.js.map} +0 -0
- /package/dist/{chunk-QCQYDXYP.js.map → chunk-G4TOCXOT.js.map} +0 -0
- /package/dist/{chunk-U63NF4FC.js.map → chunk-IGNZSNKB.js.map} +0 -0
- /package/dist/{claude-code-updater-FTIWTIDK.js.map → claude-code-updater-WJIPTVFL.js.map} +0 -0
- /package/dist/{claude-pair-runtime-M3QT5MWP.js.map → claude-pair-runtime-P3EO7NO3.js.map} +0 -0
- /package/dist/{persistent-session-WEQTZT4Z.js.map → persistent-session-3QL5YBCS.js.map} +0 -0
- /package/dist/{responsiveness-probe-LMBZ5JOK.js.map → responsiveness-probe-BCVBNGYY.js.map} +0 -0
- /package/dist/{session-auth-dead-NRVMU7CE.js.map → session-auth-dead-YJH56AWH.js.map} +0 -0
|
@@ -1105,11 +1105,11 @@ var require_util = __commonJS({
|
|
|
1105
1105
|
return false;
|
|
1106
1106
|
}
|
|
1107
1107
|
exports.schemaHasRules = schemaHasRules;
|
|
1108
|
-
function schemaHasRulesButRef(schema,
|
|
1108
|
+
function schemaHasRulesButRef(schema, RULES2) {
|
|
1109
1109
|
if (typeof schema == "boolean")
|
|
1110
1110
|
return !schema;
|
|
1111
1111
|
for (const key2 in schema)
|
|
1112
|
-
if (key2 !== "$ref" &&
|
|
1112
|
+
if (key2 !== "$ref" && RULES2.all[key2])
|
|
1113
1113
|
return true;
|
|
1114
1114
|
return false;
|
|
1115
1115
|
}
|
|
@@ -2503,17 +2503,17 @@ var require_validate = __commonJS({
|
|
|
2503
2503
|
}
|
|
2504
2504
|
function schemaKeywords(it, types, typeErrors, errsCount) {
|
|
2505
2505
|
const { gen, schema, data, allErrors, opts, self } = it;
|
|
2506
|
-
const { RULES } = self;
|
|
2507
|
-
if (schema.$ref && (opts.ignoreKeywordsWithRef || !(0, util_1.schemaHasRulesButRef)(schema,
|
|
2508
|
-
gen.block(() => keywordCode(it, "$ref",
|
|
2506
|
+
const { RULES: RULES2 } = self;
|
|
2507
|
+
if (schema.$ref && (opts.ignoreKeywordsWithRef || !(0, util_1.schemaHasRulesButRef)(schema, RULES2))) {
|
|
2508
|
+
gen.block(() => keywordCode(it, "$ref", RULES2.all.$ref.definition));
|
|
2509
2509
|
return;
|
|
2510
2510
|
}
|
|
2511
2511
|
if (!opts.jtd)
|
|
2512
2512
|
checkStrictTypes(it, types);
|
|
2513
2513
|
gen.block(() => {
|
|
2514
|
-
for (const group of
|
|
2514
|
+
for (const group of RULES2.rules)
|
|
2515
2515
|
groupKeywords(group);
|
|
2516
|
-
groupKeywords(
|
|
2516
|
+
groupKeywords(RULES2.post);
|
|
2517
2517
|
});
|
|
2518
2518
|
function groupKeywords(group) {
|
|
2519
2519
|
if (!(0, applicability_1.shouldUseGroup)(schema, group))
|
|
@@ -4215,10 +4215,10 @@ var require_core = __commonJS({
|
|
|
4215
4215
|
}
|
|
4216
4216
|
// Remove keyword
|
|
4217
4217
|
removeKeyword(keyword) {
|
|
4218
|
-
const { RULES } = this;
|
|
4219
|
-
delete
|
|
4220
|
-
delete
|
|
4221
|
-
for (const group of
|
|
4218
|
+
const { RULES: RULES2 } = this;
|
|
4219
|
+
delete RULES2.keywords[keyword];
|
|
4220
|
+
delete RULES2.all[keyword];
|
|
4221
|
+
for (const group of RULES2.rules) {
|
|
4222
4222
|
const i = group.rules.findIndex((rule) => rule.keyword === keyword);
|
|
4223
4223
|
if (i >= 0)
|
|
4224
4224
|
group.rules.splice(i, 1);
|
|
@@ -4386,9 +4386,9 @@ var require_core = __commonJS({
|
|
|
4386
4386
|
}
|
|
4387
4387
|
var KEYWORD_NAME = /^[a-z_$][a-z0-9_$:-]*$/i;
|
|
4388
4388
|
function checkKeyword(keyword, def) {
|
|
4389
|
-
const { RULES } = this;
|
|
4389
|
+
const { RULES: RULES2 } = this;
|
|
4390
4390
|
(0, util_1.eachItem)(keyword, (kwd) => {
|
|
4391
|
-
if (
|
|
4391
|
+
if (RULES2.keywords[kwd])
|
|
4392
4392
|
throw new Error(`Keyword ${kwd} is already defined`);
|
|
4393
4393
|
if (!KEYWORD_NAME.test(kwd))
|
|
4394
4394
|
throw new Error(`Keyword ${kwd} has invalid name`);
|
|
@@ -4404,13 +4404,13 @@ var require_core = __commonJS({
|
|
|
4404
4404
|
const post = definition === null || definition === void 0 ? void 0 : definition.post;
|
|
4405
4405
|
if (dataType && post)
|
|
4406
4406
|
throw new Error('keyword with "post" flag cannot have "type"');
|
|
4407
|
-
const { RULES } = this;
|
|
4408
|
-
let ruleGroup = post ?
|
|
4407
|
+
const { RULES: RULES2 } = this;
|
|
4408
|
+
let ruleGroup = post ? RULES2.post : RULES2.rules.find(({ type: t }) => t === dataType);
|
|
4409
4409
|
if (!ruleGroup) {
|
|
4410
4410
|
ruleGroup = { type: dataType, rules: [] };
|
|
4411
|
-
|
|
4411
|
+
RULES2.rules.push(ruleGroup);
|
|
4412
4412
|
}
|
|
4413
|
-
|
|
4413
|
+
RULES2.keywords[keyword] = true;
|
|
4414
4414
|
if (!definition)
|
|
4415
4415
|
return;
|
|
4416
4416
|
const rule = {
|
|
@@ -4425,7 +4425,7 @@ var require_core = __commonJS({
|
|
|
4425
4425
|
addBeforeRule.call(this, ruleGroup, rule, definition.before);
|
|
4426
4426
|
else
|
|
4427
4427
|
ruleGroup.rules.push(rule);
|
|
4428
|
-
|
|
4428
|
+
RULES2.all[keyword] = rule;
|
|
4429
4429
|
(_a = definition.implements) === null || _a === void 0 ? void 0 : _a.forEach((kwd) => this.addKeyword(kwd));
|
|
4430
4430
|
}
|
|
4431
4431
|
function addBeforeRule(ruleGroup, rule, before) {
|
|
@@ -37186,6 +37186,22 @@ var REMOTE_MCP_AUTH_ENV_KEYS = [
|
|
|
37186
37186
|
// ../core/dist/integrations/integration-broker/batch-card.js
|
|
37187
37187
|
init_slack_block_kit();
|
|
37188
37188
|
|
|
37189
|
+
// ../core/dist/integrations/byo-client-credentials.js
|
|
37190
|
+
var RULES = {
|
|
37191
|
+
"composio/metaads": {
|
|
37192
|
+
idLabel: "App ID",
|
|
37193
|
+
secretLabel: "App Secret",
|
|
37194
|
+
idPlaceholder: "Numbers only, e.g. 1234567890123456",
|
|
37195
|
+
secretPlaceholder: "Your Meta app's App Secret",
|
|
37196
|
+
// Meta App IDs are numeric (15-16 digits today). Bounded loosely so a
|
|
37197
|
+
// shorter legacy id still passes; anything with a letter, space or slash
|
|
37198
|
+
// is certainly not one.
|
|
37199
|
+
idPattern: /^[0-9]{5,20}$/,
|
|
37200
|
+
idFormatHint: 'A Meta App ID is numbers only. Find it on developers.facebook.com: open your app, then App settings > Basic, and copy "App ID" (not the app name or a token).'
|
|
37201
|
+
}
|
|
37202
|
+
};
|
|
37203
|
+
var BYO_CLIENT_CREDENTIAL_RULE_IDS = Object.keys(RULES);
|
|
37204
|
+
|
|
37189
37205
|
// ../core/dist/direct-chat/upload.js
|
|
37190
37206
|
var MB2 = 1024 * 1024;
|
|
37191
37207
|
var DIRECT_CHAT_UPLOAD_MAX_BYTES = 100 * MB2;
|
|
@@ -68,12 +68,12 @@ import {
|
|
|
68
68
|
writeDirectChatSessionState,
|
|
69
69
|
writeEgressAllowlist,
|
|
70
70
|
writePersistentClaudeWrapper
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-G4TOCXOT.js";
|
|
72
|
+
import "./chunk-IGNZSNKB.js";
|
|
73
73
|
import "./chunk-HYQ7VOC3.js";
|
|
74
74
|
import "./chunk-6HBXEJHO.js";
|
|
75
75
|
import "./chunk-XWVM4KPK.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-4EY3CUZB.js";
|
|
77
77
|
import "./chunk-AIUIMEUS.js";
|
|
78
78
|
import "./chunk-DGUM43GV.js";
|
|
79
79
|
export {
|
|
@@ -147,4 +147,4 @@ export {
|
|
|
147
147
|
writeEgressAllowlist,
|
|
148
148
|
writePersistentClaudeWrapper
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=persistent-session-
|
|
150
|
+
//# sourceMappingURL=persistent-session-3QL5YBCS.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-G4TOCXOT.js";
|
|
4
|
+
import "./chunk-IGNZSNKB.js";
|
|
5
5
|
import "./chunk-HYQ7VOC3.js";
|
|
6
6
|
import "./chunk-6HBXEJHO.js";
|
|
7
7
|
import "./chunk-XWVM4KPK.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-4EY3CUZB.js";
|
|
9
9
|
import "./chunk-AIUIMEUS.js";
|
|
10
10
|
import "./chunk-DGUM43GV.js";
|
|
11
11
|
|
|
@@ -804,4 +804,4 @@ export {
|
|
|
804
804
|
readAndResetSlackReplyBindingClassifications,
|
|
805
805
|
readAndResetSlackReplyTargetClassifications
|
|
806
806
|
};
|
|
807
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
807
|
+
//# sourceMappingURL=responsiveness-probe-BCVBNGYY.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-IGNZSNKB.js";
|
|
4
|
+
import "./chunk-4EY3CUZB.js";
|
|
5
5
|
import "./chunk-DGUM43GV.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/session-auth-dead.ts
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
decideSessionAuthState,
|
|
206
206
|
probeSessionAuth
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=session-auth-dead-
|
|
208
|
+
//# sourceMappingURL=session-auth-dead-YJH56AWH.js.map
|