@integrity-labs/agt-cli 0.24.8 → 0.24.9

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 CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  success,
27
27
  table,
28
28
  warn
29
- } from "../chunk-XW27YIEU.js";
29
+ } from "../chunk-67PAZ3I4.js";
30
30
  import {
31
31
  CHANNEL_REGISTRY,
32
32
  DEPLOYMENT_TEMPLATES,
@@ -52,7 +52,7 @@ import {
52
52
  renderTemplate,
53
53
  resolveChannels,
54
54
  serializeManifestForSlackCli
55
- } from "../chunk-53TCAGCM.js";
55
+ } from "../chunk-354Z63L7.js";
56
56
 
57
57
  // src/bin/agt.ts
58
58
  import { join as join10 } from "path";
@@ -3736,7 +3736,7 @@ import { execFileSync, execSync } from "child_process";
3736
3736
  import { existsSync as existsSync5, realpathSync } from "fs";
3737
3737
  import chalk17 from "chalk";
3738
3738
  import ora15 from "ora";
3739
- var cliVersion = true ? "0.24.8" : "dev";
3739
+ var cliVersion = true ? "0.24.9" : "dev";
3740
3740
  async function fetchLatestVersion() {
3741
3741
  const host2 = getHost();
3742
3742
  if (!host2) return null;
@@ -4268,7 +4268,7 @@ function handleError(err) {
4268
4268
  }
4269
4269
 
4270
4270
  // src/bin/agt.ts
4271
- var cliVersion2 = true ? "0.24.8" : "dev";
4271
+ var cliVersion2 = true ? "0.24.9" : "dev";
4272
4272
  var program = new Command();
4273
4273
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
4274
4274
  program.hook("preAction", (thisCommand) => {
@@ -362,6 +362,42 @@ function getFramework(id) {
362
362
  return adapter;
363
363
  }
364
364
 
365
+ // ../../packages/core/dist/types/kanban.js
366
+ function formatActorId(kind, id) {
367
+ return `${kind}:${id}`;
368
+ }
369
+ function isSelfCompletion(event) {
370
+ return event.last_actor_id === formatActorId("agent", event.agent_id);
371
+ }
372
+ function classifyActor(lastActorId, selfAgentId) {
373
+ if (!lastActorId)
374
+ return "unknown";
375
+ if (lastActorId === formatActorId("agent", selfAgentId))
376
+ return "self";
377
+ if (lastActorId.startsWith("user:"))
378
+ return "user";
379
+ if (lastActorId.startsWith("agent:"))
380
+ return "other";
381
+ return "unknown";
382
+ }
383
+
384
+ // ../../packages/core/dist/types/models.js
385
+ var DEFAULT_MODELS = {
386
+ primary: "openrouter/anthropic/claude-opus-4-6",
387
+ secondary: "openrouter/google/gemini-3.1-flash-lite-preview",
388
+ tertiary: "openrouter/openai/gpt-5.4-nano"
389
+ };
390
+
391
+ // ../../packages/core/dist/types/plugin.js
392
+ var HITL_TIER_ORDER = [
393
+ "read",
394
+ "write",
395
+ "write_high_risk",
396
+ "write_destructive",
397
+ "admin"
398
+ ];
399
+ var HITL_TIER_RANK = Object.freeze(Object.fromEntries(HITL_TIER_ORDER.map((tier, i) => [tier, i])));
400
+
365
401
  // ../../packages/core/dist/channels/registry.js
366
402
  var CHANNEL_REGISTRY = [
367
403
  { id: "slack", name: "Slack", securityTier: "standard", e2eEncrypted: false, auditTrail: true, publicExposureRisk: "Low" },
@@ -1011,31 +1047,6 @@ var KANBAN_LOOP_COMMAND = "/loop 5m kanban_list \u2014 follow Kanban Work Policy
1011
1047
  // ../../packages/core/dist/loops/kanban-check.js
1012
1048
  var KANBAN_CHECK_COMMAND = "kanban_list \u2014 pick up any actionable items if you are free.";
1013
1049
 
1014
- // ../../packages/core/dist/types/models.js
1015
- var DEFAULT_MODELS = {
1016
- primary: "openrouter/anthropic/claude-opus-4-6",
1017
- secondary: "openrouter/google/gemini-3.1-flash-lite-preview",
1018
- tertiary: "openrouter/openai/gpt-5.4-nano"
1019
- };
1020
-
1021
- // ../../packages/core/dist/types/kanban.js
1022
- function formatActorId(kind, id) {
1023
- return `${kind}:${id}`;
1024
- }
1025
- function isSelfCompletion(event) {
1026
- return event.last_actor_id === formatActorId("agent", event.agent_id);
1027
- }
1028
-
1029
- // ../../packages/core/dist/types/plugin.js
1030
- var HITL_TIER_ORDER = [
1031
- "read",
1032
- "write",
1033
- "write_high_risk",
1034
- "write_destructive",
1035
- "admin"
1036
- ];
1037
- var HITL_TIER_RANK = Object.freeze(Object.fromEntries(HITL_TIER_ORDER.map((tier, i) => [tier, i])));
1038
-
1039
1050
  // ../../packages/core/dist/schemas/validators.js
1040
1051
  import Ajv2020 from "ajv/dist/2020.js";
1041
1052
  import addFormats from "ajv-formats";
@@ -3358,6 +3369,7 @@ export {
3358
3369
  getAllChannelIds,
3359
3370
  formatActorId,
3360
3371
  isSelfCompletion,
3372
+ classifyActor,
3361
3373
  resolveChannels,
3362
3374
  SLACK_SCOPE_CATEGORY_LABELS,
3363
3375
  getDefaultSlackScopes,
@@ -3386,4 +3398,4 @@ export {
3386
3398
  KANBAN_LOOP_COMMAND,
3387
3399
  KANBAN_CHECK_COMMAND
3388
3400
  };
3389
- //# sourceMappingURL=chunk-53TCAGCM.js.map
3401
+ //# sourceMappingURL=chunk-354Z63L7.js.map