@aaac/runtime 0.3.0 → 0.3.2

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.
Files changed (35) hide show
  1. package/README.md +1 -1
  2. package/dist/adapters/claude-agent-sdk.d.ts +1 -1
  3. package/dist/adapters/claude-agent-sdk.js +1 -1
  4. package/dist/adapters/mock.d.ts +1 -1
  5. package/dist/adapters/openai-agents-sdk.d.ts +1 -1
  6. package/dist/adapters/openai-agents-sdk.js +2 -2
  7. package/dist/{chunk-EBMQHLXY.js → chunk-CRKN7CIO.js} +2 -2
  8. package/dist/{chunk-N2EA3TGS.js → chunk-DNSVEP4U.js} +2 -2
  9. package/dist/{chunk-BHTHXGA3.js → chunk-DUADHXC2.js} +4 -4
  10. package/dist/{chunk-KTVMMG33.js → chunk-DX3RJTWJ.js} +2 -17
  11. package/dist/{chunk-KTVMMG33.js.map → chunk-DX3RJTWJ.js.map} +1 -1
  12. package/dist/{chunk-GGBNVCPV.js → chunk-EYK4E3XE.js} +3 -3
  13. package/dist/{chunk-5ZDW4RP7.js → chunk-K5XDDJFK.js} +2 -2
  14. package/dist/{chunk-2SG3TBI3.js → chunk-QQTFYLUX.js} +2 -2
  15. package/dist/{chunk-EA4V5DVD.js → chunk-RIXKPQFC.js} +1 -2
  16. package/dist/{chunk-EA4V5DVD.js.map → chunk-RIXKPQFC.js.map} +1 -1
  17. package/dist/claude-bundles/full.js +370 -381
  18. package/dist/generator/index.js +2 -2
  19. package/dist/index.d.ts +4 -4
  20. package/dist/index.js +127 -136
  21. package/dist/index.js.map +1 -1
  22. package/dist/lib/claude-native/hooks-lite.js +4 -4
  23. package/dist/lib/claude-native/hooks-prompt.js +4 -4
  24. package/dist/lib/claude-native/index.js +7 -7
  25. package/dist/{task-runner-CgQx1KUq.d.ts → task-runner-Cpr-GTrl.d.ts} +4 -6
  26. package/package.json +8 -19
  27. package/dist/adapters/adk-sdk.d.ts +0 -139
  28. package/dist/adapters/adk-sdk.js +0 -312
  29. package/dist/adapters/adk-sdk.js.map +0 -1
  30. /package/dist/{chunk-EBMQHLXY.js.map → chunk-CRKN7CIO.js.map} +0 -0
  31. /package/dist/{chunk-N2EA3TGS.js.map → chunk-DNSVEP4U.js.map} +0 -0
  32. /package/dist/{chunk-BHTHXGA3.js.map → chunk-DUADHXC2.js.map} +0 -0
  33. /package/dist/{chunk-GGBNVCPV.js.map → chunk-EYK4E3XE.js.map} +0 -0
  34. /package/dist/{chunk-5ZDW4RP7.js.map → chunk-K5XDDJFK.js.map} +0 -0
  35. /package/dist/{chunk-2SG3TBI3.js.map → chunk-QQTFYLUX.js.map} +0 -0
package/dist/index.js CHANGED
@@ -1,24 +1,3 @@
1
- import {
2
- BoundResolver,
3
- DslValidationError,
4
- buildAgentRegistry,
5
- buildNavigationContext,
6
- buildPerAgentGuardrails,
7
- buildRegistriesFromDsl,
8
- deriveToolchainsForAgents,
9
- getEffectiveGuardrailIds,
10
- getGuardrailRulesForAgent,
11
- guardrailContextToRuleData,
12
- loadDslContext,
13
- resolveArtifacts,
14
- resolveGuardrailContext,
15
- resolveHandoffSchemas,
16
- resolveNavigationDsl,
17
- resolveNavigationSources
18
- } from "./chunk-N2EA3TGS.js";
19
- import {
20
- jsonSchemaToZod
21
- } from "./chunk-ET6TGQRT.js";
22
1
  import {
23
2
  AdapterError,
24
3
  adapterErrorKind,
@@ -46,20 +25,41 @@ import {
46
25
  isContextPack,
47
26
  renderContextPackPrompt,
48
27
  serializeObserverEmit
49
- } from "./chunk-KTVMMG33.js";
28
+ } from "./chunk-DX3RJTWJ.js";
29
+ import {
30
+ BoundResolver,
31
+ DslValidationError,
32
+ buildAgentRegistry,
33
+ buildNavigationContext,
34
+ buildPerAgentGuardrails,
35
+ buildRegistriesFromDsl,
36
+ deriveToolchainsForAgents,
37
+ getEffectiveGuardrailIds,
38
+ getGuardrailRulesForAgent,
39
+ guardrailContextToRuleData,
40
+ loadDslContext,
41
+ resolveArtifacts,
42
+ resolveGuardrailContext,
43
+ resolveHandoffSchemas,
44
+ resolveNavigationDsl,
45
+ resolveNavigationSources
46
+ } from "./chunk-DNSVEP4U.js";
47
+ import {
48
+ jsonSchemaToZod
49
+ } from "./chunk-ET6TGQRT.js";
50
50
  import {
51
51
  PROJECT_CONFIG_FILENAME,
52
52
  loadProjectConfig,
53
53
  loadWorkspaceMembers,
54
54
  readProjectManifest
55
- } from "./chunk-5ZDW4RP7.js";
55
+ } from "./chunk-K5XDDJFK.js";
56
56
  import {
57
57
  isNavigationIndex,
58
58
  renderNavigationIndexPrompt
59
59
  } from "./chunk-3CLWG72V.js";
60
60
  import {
61
61
  editProtection
62
- } from "./chunk-EBMQHLXY.js";
62
+ } from "./chunk-CRKN7CIO.js";
63
63
  import {
64
64
  UNRESOLVED_GUARDRAIL_ACTION,
65
65
  createGuardrailHooks,
@@ -69,16 +69,16 @@ import {
69
69
  hasBlockingViolation,
70
70
  toolTargetPath,
71
71
  toolWriteTarget
72
- } from "./chunk-EA4V5DVD.js";
72
+ } from "./chunk-RIXKPQFC.js";
73
73
  import {
74
74
  __commonJS,
75
75
  __require,
76
76
  __toESM
77
77
  } from "./chunk-BJ7B4R26.js";
78
78
 
79
- // node_modules/handlebars/dist/cjs/handlebars/utils.js
79
+ // ../../node_modules/handlebars/dist/cjs/handlebars/utils.js
80
80
  var require_utils = __commonJS({
81
- "node_modules/handlebars/dist/cjs/handlebars/utils.js"(exports) {
81
+ "../../node_modules/handlebars/dist/cjs/handlebars/utils.js"(exports) {
82
82
  "use strict";
83
83
  exports.__esModule = true;
84
84
  exports.extend = extend;
@@ -175,9 +175,9 @@ var require_utils = __commonJS({
175
175
  }
176
176
  });
177
177
 
178
- // node_modules/handlebars/dist/cjs/handlebars/exception.js
178
+ // ../../node_modules/handlebars/dist/cjs/handlebars/exception.js
179
179
  var require_exception = __commonJS({
180
- "node_modules/handlebars/dist/cjs/handlebars/exception.js"(exports, module) {
180
+ "../../node_modules/handlebars/dist/cjs/handlebars/exception.js"(exports, module) {
181
181
  "use strict";
182
182
  exports.__esModule = true;
183
183
  var errorProps = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
@@ -226,9 +226,9 @@ var require_exception = __commonJS({
226
226
  }
227
227
  });
228
228
 
229
- // node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
229
+ // ../../node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js
230
230
  var require_block_helper_missing = __commonJS({
231
- "node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js"(exports, module) {
231
+ "../../node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js"(exports, module) {
232
232
  "use strict";
233
233
  exports.__esModule = true;
234
234
  var _utils = require_utils();
@@ -262,9 +262,9 @@ var require_block_helper_missing = __commonJS({
262
262
  }
263
263
  });
264
264
 
265
- // node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
265
+ // ../../node_modules/handlebars/dist/cjs/handlebars/helpers/each.js
266
266
  var require_each = __commonJS({
267
- "node_modules/handlebars/dist/cjs/handlebars/helpers/each.js"(exports, module) {
267
+ "../../node_modules/handlebars/dist/cjs/handlebars/helpers/each.js"(exports, module) {
268
268
  "use strict";
269
269
  exports.__esModule = true;
270
270
  function _interopRequireDefault(obj) {
@@ -361,9 +361,9 @@ var require_each = __commonJS({
361
361
  }
362
362
  });
363
363
 
364
- // node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
364
+ // ../../node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js
365
365
  var require_helper_missing = __commonJS({
366
- "node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js"(exports, module) {
366
+ "../../node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js"(exports, module) {
367
367
  "use strict";
368
368
  exports.__esModule = true;
369
369
  function _interopRequireDefault(obj) {
@@ -384,9 +384,9 @@ var require_helper_missing = __commonJS({
384
384
  }
385
385
  });
386
386
 
387
- // node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
387
+ // ../../node_modules/handlebars/dist/cjs/handlebars/helpers/if.js
388
388
  var require_if = __commonJS({
389
- "node_modules/handlebars/dist/cjs/handlebars/helpers/if.js"(exports, module) {
389
+ "../../node_modules/handlebars/dist/cjs/handlebars/helpers/if.js"(exports, module) {
390
390
  "use strict";
391
391
  exports.__esModule = true;
392
392
  function _interopRequireDefault(obj) {
@@ -424,9 +424,9 @@ var require_if = __commonJS({
424
424
  }
425
425
  });
426
426
 
427
- // node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
427
+ // ../../node_modules/handlebars/dist/cjs/handlebars/helpers/log.js
428
428
  var require_log = __commonJS({
429
- "node_modules/handlebars/dist/cjs/handlebars/helpers/log.js"(exports, module) {
429
+ "../../node_modules/handlebars/dist/cjs/handlebars/helpers/log.js"(exports, module) {
430
430
  "use strict";
431
431
  exports.__esModule = true;
432
432
  exports["default"] = function(instance) {
@@ -449,9 +449,9 @@ var require_log = __commonJS({
449
449
  }
450
450
  });
451
451
 
452
- // node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
452
+ // ../../node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js
453
453
  var require_lookup = __commonJS({
454
- "node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js"(exports, module) {
454
+ "../../node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js"(exports, module) {
455
455
  "use strict";
456
456
  exports.__esModule = true;
457
457
  exports["default"] = function(instance) {
@@ -466,9 +466,9 @@ var require_lookup = __commonJS({
466
466
  }
467
467
  });
468
468
 
469
- // node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
469
+ // ../../node_modules/handlebars/dist/cjs/handlebars/helpers/with.js
470
470
  var require_with = __commonJS({
471
- "node_modules/handlebars/dist/cjs/handlebars/helpers/with.js"(exports, module) {
471
+ "../../node_modules/handlebars/dist/cjs/handlebars/helpers/with.js"(exports, module) {
472
472
  "use strict";
473
473
  exports.__esModule = true;
474
474
  function _interopRequireDefault(obj) {
@@ -505,9 +505,9 @@ var require_with = __commonJS({
505
505
  }
506
506
  });
507
507
 
508
- // node_modules/handlebars/dist/cjs/handlebars/helpers.js
508
+ // ../../node_modules/handlebars/dist/cjs/handlebars/helpers.js
509
509
  var require_helpers = __commonJS({
510
- "node_modules/handlebars/dist/cjs/handlebars/helpers.js"(exports) {
510
+ "../../node_modules/handlebars/dist/cjs/handlebars/helpers.js"(exports) {
511
511
  "use strict";
512
512
  exports.__esModule = true;
513
513
  exports.registerDefaultHelpers = registerDefaultHelpers;
@@ -549,9 +549,9 @@ var require_helpers = __commonJS({
549
549
  }
550
550
  });
551
551
 
552
- // node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
552
+ // ../../node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js
553
553
  var require_inline = __commonJS({
554
- "node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js"(exports, module) {
554
+ "../../node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js"(exports, module) {
555
555
  "use strict";
556
556
  exports.__esModule = true;
557
557
  var _utils = require_utils();
@@ -576,9 +576,9 @@ var require_inline = __commonJS({
576
576
  }
577
577
  });
578
578
 
579
- // node_modules/handlebars/dist/cjs/handlebars/decorators.js
579
+ // ../../node_modules/handlebars/dist/cjs/handlebars/decorators.js
580
580
  var require_decorators = __commonJS({
581
- "node_modules/handlebars/dist/cjs/handlebars/decorators.js"(exports) {
581
+ "../../node_modules/handlebars/dist/cjs/handlebars/decorators.js"(exports) {
582
582
  "use strict";
583
583
  exports.__esModule = true;
584
584
  exports.registerDefaultDecorators = registerDefaultDecorators;
@@ -593,9 +593,9 @@ var require_decorators = __commonJS({
593
593
  }
594
594
  });
595
595
 
596
- // node_modules/handlebars/dist/cjs/handlebars/logger.js
596
+ // ../../node_modules/handlebars/dist/cjs/handlebars/logger.js
597
597
  var require_logger = __commonJS({
598
- "node_modules/handlebars/dist/cjs/handlebars/logger.js"(exports, module) {
598
+ "../../node_modules/handlebars/dist/cjs/handlebars/logger.js"(exports, module) {
599
599
  "use strict";
600
600
  exports.__esModule = true;
601
601
  var _utils = require_utils();
@@ -634,9 +634,9 @@ var require_logger = __commonJS({
634
634
  }
635
635
  });
636
636
 
637
- // node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
637
+ // ../../node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
638
638
  var require_proto_access = __commonJS({
639
- "node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js"(exports) {
639
+ "../../node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js"(exports) {
640
640
  "use strict";
641
641
  exports.__esModule = true;
642
642
  exports.createProtoAccessControl = createProtoAccessControl;
@@ -706,9 +706,9 @@ var require_proto_access = __commonJS({
706
706
  }
707
707
  });
708
708
 
709
- // node_modules/handlebars/dist/cjs/handlebars/base.js
709
+ // ../../node_modules/handlebars/dist/cjs/handlebars/base.js
710
710
  var require_base = __commonJS({
711
- "node_modules/handlebars/dist/cjs/handlebars/base.js"(exports) {
711
+ "../../node_modules/handlebars/dist/cjs/handlebars/base.js"(exports) {
712
712
  "use strict";
713
713
  exports.__esModule = true;
714
714
  exports.HandlebarsEnvironment = HandlebarsEnvironment;
@@ -807,9 +807,9 @@ var require_base = __commonJS({
807
807
  }
808
808
  });
809
809
 
810
- // node_modules/handlebars/dist/cjs/handlebars/safe-string.js
810
+ // ../../node_modules/handlebars/dist/cjs/handlebars/safe-string.js
811
811
  var require_safe_string = __commonJS({
812
- "node_modules/handlebars/dist/cjs/handlebars/safe-string.js"(exports, module) {
812
+ "../../node_modules/handlebars/dist/cjs/handlebars/safe-string.js"(exports, module) {
813
813
  "use strict";
814
814
  exports.__esModule = true;
815
815
  function SafeString(string) {
@@ -823,9 +823,9 @@ var require_safe_string = __commonJS({
823
823
  }
824
824
  });
825
825
 
826
- // node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
826
+ // ../../node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js
827
827
  var require_wrapHelper = __commonJS({
828
- "node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js"(exports) {
828
+ "../../node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js"(exports) {
829
829
  "use strict";
830
830
  exports.__esModule = true;
831
831
  exports.wrapHelper = wrapHelper;
@@ -843,9 +843,9 @@ var require_wrapHelper = __commonJS({
843
843
  }
844
844
  });
845
845
 
846
- // node_modules/handlebars/dist/cjs/handlebars/runtime.js
846
+ // ../../node_modules/handlebars/dist/cjs/handlebars/runtime.js
847
847
  var require_runtime = __commonJS({
848
- "node_modules/handlebars/dist/cjs/handlebars/runtime.js"(exports) {
848
+ "../../node_modules/handlebars/dist/cjs/handlebars/runtime.js"(exports) {
849
849
  "use strict";
850
850
  exports.__esModule = true;
851
851
  exports.checkRevision = checkRevision;
@@ -1164,9 +1164,9 @@ var require_runtime = __commonJS({
1164
1164
  }
1165
1165
  });
1166
1166
 
1167
- // node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
1167
+ // ../../node_modules/handlebars/dist/cjs/handlebars/no-conflict.js
1168
1168
  var require_no_conflict = __commonJS({
1169
- "node_modules/handlebars/dist/cjs/handlebars/no-conflict.js"(exports, module) {
1169
+ "../../node_modules/handlebars/dist/cjs/handlebars/no-conflict.js"(exports, module) {
1170
1170
  "use strict";
1171
1171
  exports.__esModule = true;
1172
1172
  exports["default"] = function(Handlebars2) {
@@ -1190,9 +1190,9 @@ var require_no_conflict = __commonJS({
1190
1190
  }
1191
1191
  });
1192
1192
 
1193
- // node_modules/handlebars/dist/cjs/handlebars.runtime.js
1193
+ // ../../node_modules/handlebars/dist/cjs/handlebars.runtime.js
1194
1194
  var require_handlebars_runtime = __commonJS({
1195
- "node_modules/handlebars/dist/cjs/handlebars.runtime.js"(exports, module) {
1195
+ "../../node_modules/handlebars/dist/cjs/handlebars.runtime.js"(exports, module) {
1196
1196
  "use strict";
1197
1197
  exports.__esModule = true;
1198
1198
  function _interopRequireDefault(obj) {
@@ -1246,9 +1246,9 @@ var require_handlebars_runtime = __commonJS({
1246
1246
  }
1247
1247
  });
1248
1248
 
1249
- // node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
1249
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js
1250
1250
  var require_ast = __commonJS({
1251
- "node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js"(exports, module) {
1251
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js"(exports, module) {
1252
1252
  "use strict";
1253
1253
  exports.__esModule = true;
1254
1254
  var AST = {
@@ -1275,9 +1275,9 @@ var require_ast = __commonJS({
1275
1275
  }
1276
1276
  });
1277
1277
 
1278
- // node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
1278
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js
1279
1279
  var require_parser = __commonJS({
1280
- "node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js"(exports, module) {
1280
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js"(exports, module) {
1281
1281
  "use strict";
1282
1282
  exports.__esModule = true;
1283
1283
  var handlebars = (function() {
@@ -1985,9 +1985,9 @@ var require_parser = __commonJS({
1985
1985
  }
1986
1986
  });
1987
1987
 
1988
- // node_modules/handlebars/dist/cjs/handlebars/compiler/node-types.js
1988
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/node-types.js
1989
1989
  var require_node_types = __commonJS({
1990
- "node_modules/handlebars/dist/cjs/handlebars/compiler/node-types.js"(exports) {
1990
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/node-types.js"(exports) {
1991
1991
  "use strict";
1992
1992
  exports.__esModule = true;
1993
1993
  var NODE_TYPES = ["Program", "BlockStatement", "DecoratorBlock", "PartialStatement", "PartialBlockStatement", "Decorator", "MustacheStatement", "ContentStatement", "CommentStatement", "SubExpression", "PathExpression", "StringLiteral", "NumberLiteral", "BooleanLiteral", "UndefinedLiteral", "NullLiteral", "Hash", "HashPair"];
@@ -1995,9 +1995,9 @@ var require_node_types = __commonJS({
1995
1995
  }
1996
1996
  });
1997
1997
 
1998
- // node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
1998
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js
1999
1999
  var require_visitor = __commonJS({
2000
- "node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js"(exports, module) {
2000
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js"(exports, module) {
2001
2001
  "use strict";
2002
2002
  exports.__esModule = true;
2003
2003
  function _interopRequireDefault(obj) {
@@ -2121,9 +2121,9 @@ var require_visitor = __commonJS({
2121
2121
  }
2122
2122
  });
2123
2123
 
2124
- // node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
2124
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js
2125
2125
  var require_whitespace_control = __commonJS({
2126
- "node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js"(exports, module) {
2126
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js"(exports, module) {
2127
2127
  "use strict";
2128
2128
  exports.__esModule = true;
2129
2129
  function _interopRequireDefault(obj) {
@@ -2272,9 +2272,9 @@ var require_whitespace_control = __commonJS({
2272
2272
  }
2273
2273
  });
2274
2274
 
2275
- // node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
2275
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js
2276
2276
  var require_helpers2 = __commonJS({
2277
- "node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js"(exports) {
2277
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js"(exports) {
2278
2278
  "use strict";
2279
2279
  exports.__esModule = true;
2280
2280
  exports.SourceLocation = SourceLocation;
@@ -2460,9 +2460,9 @@ var require_helpers2 = __commonJS({
2460
2460
  }
2461
2461
  });
2462
2462
 
2463
- // node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
2463
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/base.js
2464
2464
  var require_base2 = __commonJS({
2465
- "node_modules/handlebars/dist/cjs/handlebars/compiler/base.js"(exports) {
2465
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/base.js"(exports) {
2466
2466
  "use strict";
2467
2467
  exports.__esModule = true;
2468
2468
  exports.parseWithoutProcessing = parseWithoutProcessing;
@@ -2513,9 +2513,9 @@ var require_base2 = __commonJS({
2513
2513
  }
2514
2514
  });
2515
2515
 
2516
- // node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
2516
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js
2517
2517
  var require_compiler = __commonJS({
2518
- "node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js"(exports) {
2518
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js"(exports) {
2519
2519
  "use strict";
2520
2520
  exports.__esModule = true;
2521
2521
  exports.Compiler = Compiler;
@@ -3002,9 +3002,9 @@ var require_compiler = __commonJS({
3002
3002
  }
3003
3003
  });
3004
3004
 
3005
- // node_modules/source-map/lib/base64.js
3005
+ // ../../node_modules/source-map/lib/base64.js
3006
3006
  var require_base64 = __commonJS({
3007
- "node_modules/source-map/lib/base64.js"(exports) {
3007
+ "../../node_modules/source-map/lib/base64.js"(exports) {
3008
3008
  "use strict";
3009
3009
  var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
3010
3010
  exports.encode = function(number) {
@@ -3044,9 +3044,9 @@ var require_base64 = __commonJS({
3044
3044
  }
3045
3045
  });
3046
3046
 
3047
- // node_modules/source-map/lib/base64-vlq.js
3047
+ // ../../node_modules/source-map/lib/base64-vlq.js
3048
3048
  var require_base64_vlq = __commonJS({
3049
- "node_modules/source-map/lib/base64-vlq.js"(exports) {
3049
+ "../../node_modules/source-map/lib/base64-vlq.js"(exports) {
3050
3050
  "use strict";
3051
3051
  var base64 = require_base64();
3052
3052
  var VLQ_BASE_SHIFT = 5;
@@ -3099,9 +3099,9 @@ var require_base64_vlq = __commonJS({
3099
3099
  }
3100
3100
  });
3101
3101
 
3102
- // node_modules/source-map/lib/util.js
3102
+ // ../../node_modules/source-map/lib/util.js
3103
3103
  var require_util = __commonJS({
3104
- "node_modules/source-map/lib/util.js"(exports) {
3104
+ "../../node_modules/source-map/lib/util.js"(exports) {
3105
3105
  "use strict";
3106
3106
  function getArg(aArgs, aName, aDefaultValue) {
3107
3107
  if (aName in aArgs) {
@@ -3401,9 +3401,9 @@ var require_util = __commonJS({
3401
3401
  }
3402
3402
  });
3403
3403
 
3404
- // node_modules/source-map/lib/array-set.js
3404
+ // ../../node_modules/source-map/lib/array-set.js
3405
3405
  var require_array_set = __commonJS({
3406
- "node_modules/source-map/lib/array-set.js"(exports) {
3406
+ "../../node_modules/source-map/lib/array-set.js"(exports) {
3407
3407
  "use strict";
3408
3408
  var util = require_util();
3409
3409
  var has = Object.prototype.hasOwnProperty;
@@ -3472,9 +3472,9 @@ var require_array_set = __commonJS({
3472
3472
  }
3473
3473
  });
3474
3474
 
3475
- // node_modules/source-map/lib/mapping-list.js
3475
+ // ../../node_modules/source-map/lib/mapping-list.js
3476
3476
  var require_mapping_list = __commonJS({
3477
- "node_modules/source-map/lib/mapping-list.js"(exports) {
3477
+ "../../node_modules/source-map/lib/mapping-list.js"(exports) {
3478
3478
  "use strict";
3479
3479
  var util = require_util();
3480
3480
  function generatedPositionAfter(mappingA, mappingB) {
@@ -3512,9 +3512,9 @@ var require_mapping_list = __commonJS({
3512
3512
  }
3513
3513
  });
3514
3514
 
3515
- // node_modules/source-map/lib/source-map-generator.js
3515
+ // ../../node_modules/source-map/lib/source-map-generator.js
3516
3516
  var require_source_map_generator = __commonJS({
3517
- "node_modules/source-map/lib/source-map-generator.js"(exports) {
3517
+ "../../node_modules/source-map/lib/source-map-generator.js"(exports) {
3518
3518
  "use strict";
3519
3519
  var base64VLQ = require_base64_vlq();
3520
3520
  var util = require_util();
@@ -3789,9 +3789,9 @@ var require_source_map_generator = __commonJS({
3789
3789
  }
3790
3790
  });
3791
3791
 
3792
- // node_modules/source-map/lib/binary-search.js
3792
+ // ../../node_modules/source-map/lib/binary-search.js
3793
3793
  var require_binary_search = __commonJS({
3794
- "node_modules/source-map/lib/binary-search.js"(exports) {
3794
+ "../../node_modules/source-map/lib/binary-search.js"(exports) {
3795
3795
  "use strict";
3796
3796
  exports.GREATEST_LOWER_BOUND = 1;
3797
3797
  exports.LEAST_UPPER_BOUND = 2;
@@ -3846,9 +3846,9 @@ var require_binary_search = __commonJS({
3846
3846
  }
3847
3847
  });
3848
3848
 
3849
- // node_modules/source-map/lib/quick-sort.js
3849
+ // ../../node_modules/source-map/lib/quick-sort.js
3850
3850
  var require_quick_sort = __commonJS({
3851
- "node_modules/source-map/lib/quick-sort.js"(exports) {
3851
+ "../../node_modules/source-map/lib/quick-sort.js"(exports) {
3852
3852
  "use strict";
3853
3853
  function swap(ary, x, y) {
3854
3854
  var temp = ary[x];
@@ -3882,9 +3882,9 @@ var require_quick_sort = __commonJS({
3882
3882
  }
3883
3883
  });
3884
3884
 
3885
- // node_modules/source-map/lib/source-map-consumer.js
3885
+ // ../../node_modules/source-map/lib/source-map-consumer.js
3886
3886
  var require_source_map_consumer = __commonJS({
3887
- "node_modules/source-map/lib/source-map-consumer.js"(exports) {
3887
+ "../../node_modules/source-map/lib/source-map-consumer.js"(exports) {
3888
3888
  "use strict";
3889
3889
  var util = require_util();
3890
3890
  var binarySearch = require_binary_search();
@@ -4484,9 +4484,9 @@ var require_source_map_consumer = __commonJS({
4484
4484
  }
4485
4485
  });
4486
4486
 
4487
- // node_modules/source-map/lib/source-node.js
4487
+ // ../../node_modules/source-map/lib/source-node.js
4488
4488
  var require_source_node = __commonJS({
4489
- "node_modules/source-map/lib/source-node.js"(exports) {
4489
+ "../../node_modules/source-map/lib/source-node.js"(exports) {
4490
4490
  "use strict";
4491
4491
  var SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
4492
4492
  var util = require_util();
@@ -4750,9 +4750,9 @@ var require_source_node = __commonJS({
4750
4750
  }
4751
4751
  });
4752
4752
 
4753
- // node_modules/source-map/source-map.js
4753
+ // ../../node_modules/source-map/source-map.js
4754
4754
  var require_source_map = __commonJS({
4755
- "node_modules/source-map/source-map.js"(exports) {
4755
+ "../../node_modules/source-map/source-map.js"(exports) {
4756
4756
  "use strict";
4757
4757
  exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
4758
4758
  exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
@@ -4760,9 +4760,9 @@ var require_source_map = __commonJS({
4760
4760
  }
4761
4761
  });
4762
4762
 
4763
- // node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
4763
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js
4764
4764
  var require_code_gen = __commonJS({
4765
- "node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js"(exports) {
4765
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js"(exports) {
4766
4766
  "use strict";
4767
4767
  exports.__esModule = true;
4768
4768
  exports.safeJsonLiteral = safeJsonLiteral;
@@ -4911,9 +4911,9 @@ var require_code_gen = __commonJS({
4911
4911
  }
4912
4912
  });
4913
4913
 
4914
- // node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
4914
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js
4915
4915
  var require_javascript_compiler = __commonJS({
4916
- "node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js"(exports, module) {
4916
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js"(exports, module) {
4917
4917
  "use strict";
4918
4918
  exports.__esModule = true;
4919
4919
  function _interopRequireDefault(obj) {
@@ -5833,9 +5833,9 @@ var require_javascript_compiler = __commonJS({
5833
5833
  }
5834
5834
  });
5835
5835
 
5836
- // node_modules/handlebars/dist/cjs/handlebars.js
5836
+ // ../../node_modules/handlebars/dist/cjs/handlebars.js
5837
5837
  var require_handlebars = __commonJS({
5838
- "node_modules/handlebars/dist/cjs/handlebars.js"(exports, module) {
5838
+ "../../node_modules/handlebars/dist/cjs/handlebars.js"(exports, module) {
5839
5839
  "use strict";
5840
5840
  exports.__esModule = true;
5841
5841
  function _interopRequireDefault(obj) {
@@ -5880,9 +5880,9 @@ var require_handlebars = __commonJS({
5880
5880
  }
5881
5881
  });
5882
5882
 
5883
- // node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
5883
+ // ../../node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js
5884
5884
  var require_printer = __commonJS({
5885
- "node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js"(exports) {
5885
+ "../../node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js"(exports) {
5886
5886
  "use strict";
5887
5887
  exports.__esModule = true;
5888
5888
  exports.print = print;
@@ -6026,9 +6026,9 @@ var require_printer = __commonJS({
6026
6026
  }
6027
6027
  });
6028
6028
 
6029
- // node_modules/handlebars/lib/index.js
6029
+ // ../../node_modules/handlebars/lib/index.js
6030
6030
  var require_lib = __commonJS({
6031
- "node_modules/handlebars/lib/index.js"(exports, module) {
6031
+ "../../node_modules/handlebars/lib/index.js"(exports, module) {
6032
6032
  "use strict";
6033
6033
  var handlebars = require_handlebars()["default"];
6034
6034
  var printer = require_printer();
@@ -6342,11 +6342,7 @@ var PRICING_TABLE = {
6342
6342
  "gpt-5.3-codex": { inputPerMillion: 2.5, outputPerMillion: 10 },
6343
6343
  "gpt-4.1": { inputPerMillion: 2, outputPerMillion: 8 },
6344
6344
  "gpt-4o": { inputPerMillion: 2.5, outputPerMillion: 10 },
6345
- "gpt-4o-mini": { inputPerMillion: 0.15, outputPerMillion: 0.6 },
6346
- // Google Gemini
6347
- "gemini-2.5-pro": { inputPerMillion: 1.25, outputPerMillion: 10 },
6348
- "gemini-2.5-flash": { inputPerMillion: 0.15, outputPerMillion: 0.6 },
6349
- "gemini-2.0-flash": { inputPerMillion: 0.1, outputPerMillion: 0.4 }
6345
+ "gpt-4o-mini": { inputPerMillion: 0.15, outputPerMillion: 0.6 }
6350
6346
  };
6351
6347
  function resolveModelPricing(model) {
6352
6348
  if (!model) return void 0;
@@ -8532,7 +8528,6 @@ function createRegistryFromSdkTools(tools) {
8532
8528
  // src/lib/adapter-factory.ts
8533
8529
  var ADAPTER_PACKAGES = {
8534
8530
  claude: "@anthropic-ai/claude-agent-sdk",
8535
- gemini: "@google/adk",
8536
8531
  openai: "@openai/agents"
8537
8532
  };
8538
8533
  async function createAdapter(name, options) {
@@ -8558,17 +8553,6 @@ async function createAdapter(name, options) {
8558
8553
  throwMissingPackageError("claude", err);
8559
8554
  }
8560
8555
  }
8561
- case "gemini": {
8562
- try {
8563
- const { AdkSdkAdapter } = await import("./adapters/adk-sdk.js");
8564
- return new AdkSdkAdapter({
8565
- guardrailHooks,
8566
- ...model ? { model } : {}
8567
- });
8568
- } catch (err) {
8569
- throwMissingPackageError("gemini", err);
8570
- }
8571
- }
8572
8556
  case "openai": {
8573
8557
  try {
8574
8558
  const { OpenAIAgentsSdkAdapter } = await import("./adapters/openai-agents-sdk.js");
@@ -8583,7 +8567,7 @@ async function createAdapter(name, options) {
8583
8567
  }
8584
8568
  default:
8585
8569
  throw new Error(
8586
- `Unknown adapter: "${name}". Available: mock, claude, openai, gemini`
8570
+ `Unknown adapter: "${name}". Available: mock, claude, openai`
8587
8571
  );
8588
8572
  }
8589
8573
  }
@@ -9447,7 +9431,7 @@ var ClaudeConfigSchema = z3.object({
9447
9431
  guard_command: z3.string().optional(),
9448
9432
  /**
9449
9433
  * The command that runs `syncClaude` for this project (e.g.
9450
- * "npx dev-team claude sync"). The CLAUDE.md block and the banner on every
9434
+ * "node bin/dev-team.mjs claude sync"). The CLAUDE.md block and the banner on every
9451
9435
  * generated subagent and workflow file name it as the way to regenerate
9452
9436
  * them. Without it they name `syncClaude` itself: the component id is not a
9453
9437
  * command, so nothing else here says which executable runs the sync. The
@@ -9457,7 +9441,7 @@ var ClaudeConfigSchema = z3.object({
9457
9441
  sync_command: z3.string().optional(),
9458
9442
  /**
9459
9443
  * The command that runs `checkClaude` for this project (e.g.
9460
- * "npx dev-team claude check"), named in the CLAUDE.md block as the drift
9444
+ * "node bin/dev-team.mjs claude check"), named in the CLAUDE.md block as the drift
9461
9445
  * check. Without it the block names `checkClaude` itself. The project
9462
9446
  * manifest's `bindings.claude.check_command` wins over it.
9463
9447
  */
@@ -9762,7 +9746,6 @@ function priorContextExpr(i, steps, deps) {
9762
9746
  return fragments.join(" + ");
9763
9747
  }
9764
9748
  function emitWorkflowInputOutputHelper(pad) {
9765
- const id = WORKFLOW_INPUT_STEP_ID;
9766
9749
  return [
9767
9750
  `${pad}const _wfInputOutput = (args) => {`,
9768
9751
  `${pad} if (args === undefined || args === null) return undefined`,
@@ -9778,7 +9761,7 @@ function emitWorkflowInputOutputHelper(pad) {
9778
9761
  `${pad} ? { user_request: userRequest, handoff: (h.version !== undefined ? { type: h.type, version: h.version, payload: h.payload } : { type: h.type, payload: h.payload }) }`,
9779
9762
  `${pad} : { user_request: userRequest }`,
9780
9763
  `${pad} }`,
9781
- `${pad} return { user_request: JSON.stringify(args, null, 2), handoff: { type: ${jsString(id)}, payload: args } }`,
9764
+ `${pad} return { user_request: JSON.stringify(args) }`,
9782
9765
  `${pad}}`
9783
9766
  ];
9784
9767
  }
@@ -10550,6 +10533,11 @@ function recomputeMarkerFromDisk(content) {
10550
10533
  function commandOf(hook) {
10551
10534
  return typeof hook.command === "string" ? hook.command : void 0;
10552
10535
  }
10536
+ function launcherOf(command) {
10537
+ const quoted = /^"([^"]*)"/.exec(command);
10538
+ if (quoted) return quoted[1];
10539
+ return command.split(/\s/, 1)[0];
10540
+ }
10553
10541
  function isGroup(entry) {
10554
10542
  return Array.isArray(entry.hooks);
10555
10543
  }
@@ -10597,7 +10585,10 @@ function managedCommandsByEvent(managed) {
10597
10585
  for (const [event, entries] of Object.entries(managed.hooks ?? {})) {
10598
10586
  const cmds = /* @__PURE__ */ new Set();
10599
10587
  for (const entry of entries) {
10600
- for (const c of commandsInEntry(entry)) cmds.add(c);
10588
+ for (const c of commandsInEntry(entry)) {
10589
+ cmds.add(c);
10590
+ cmds.add(launcherOf(c));
10591
+ }
10601
10592
  }
10602
10593
  byEvent.set(event, cmds);
10603
10594
  }