agent-contracts-runtime 0.36.6 → 0.36.8

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 (39) hide show
  1. package/cli-contract.yaml +76 -0
  2. package/dist/adapters/adk-sdk.d.ts +2 -2
  3. package/dist/adapters/adk-sdk.js +1 -1
  4. package/dist/adapters/claude-agent-sdk.d.ts +2 -2
  5. package/dist/adapters/mock.d.ts +1 -1
  6. package/dist/adapters/openai-agents-sdk.d.ts +2 -2
  7. package/dist/agent-runtime.bundle.mjs +584 -403
  8. package/dist/agent-runtime.bundle.mjs.map +4 -4
  9. package/dist/bound-resolver-K4UHLXN6.js +17 -0
  10. package/dist/bound-resolver-K4UHLXN6.js.map +1 -0
  11. package/dist/{chunk-FFCXUPYA.js → chunk-5UGCLWDM.js} +68 -281
  12. package/dist/chunk-5UGCLWDM.js.map +1 -0
  13. package/dist/chunk-D2QTXQB2.js +266 -0
  14. package/dist/chunk-D2QTXQB2.js.map +1 -0
  15. package/dist/chunk-LTZA6QWC.js +296 -0
  16. package/dist/chunk-LTZA6QWC.js.map +1 -0
  17. package/dist/{chunk-JDXRLHY3.js → chunk-MGRZBGQL.js} +20 -1
  18. package/dist/chunk-MGRZBGQL.js.map +1 -0
  19. package/dist/chunk-MWZXU25C.js +171 -0
  20. package/dist/chunk-MWZXU25C.js.map +1 -0
  21. package/dist/chunk-VOBS62OH.js +323 -0
  22. package/dist/chunk-VOBS62OH.js.map +1 -0
  23. package/dist/cli/index.js +95 -16
  24. package/dist/cli/index.js.map +1 -1
  25. package/dist/context-B_bekYiE.d.ts +106 -0
  26. package/dist/dsl-context-LACANPO4.js +13 -0
  27. package/dist/dsl-context-LACANPO4.js.map +1 -0
  28. package/dist/generator/index.d.ts +17 -106
  29. package/dist/generator/index.js +5 -3
  30. package/dist/{guardrail-hooks-B1_vgkE5.d.ts → guardrail-hooks-C8G5NGsj.d.ts} +8 -1
  31. package/dist/index.d.ts +80 -5
  32. package/dist/index.js +26 -9
  33. package/dist/{task-runner-C1bAy5k9.d.ts → task-runner-Bo37lS9q.d.ts} +5 -0
  34. package/docs/cli-reference.md +160 -0
  35. package/package.json +7 -2
  36. package/dist/chunk-FFCXUPYA.js.map +0 -1
  37. package/dist/chunk-JDXRLHY3.js.map +0 -1
  38. package/dist/chunk-KQOZCJK6.js +0 -593
  39. package/dist/chunk-KQOZCJK6.js.map +0 -1
package/cli-contract.yaml CHANGED
@@ -694,6 +694,59 @@ command_sets:
694
694
  idempotent: true
695
695
  sideEffects: []
696
696
 
697
+ # -----------------------------------------------------------------------
698
+ # navigation-index
699
+ # -----------------------------------------------------------------------
700
+ navigation-index:
701
+ summary: Build artifact navigation index from resolved DSL.
702
+ description: |
703
+ Resolves the embedded DSL (merged with project overlay if configured),
704
+ applies artifact binding, and builds a navigation index showing
705
+ artifact-to-tool-to-agent mappings.
706
+
707
+ The output is a JSON/YAML structure suitable for IDE integration,
708
+ routing rules, and artifact coverage analysis.
709
+ options:
710
+ - name: format
711
+ aliases: [F]
712
+ description: Output format.
713
+ schema:
714
+ type: string
715
+ enum: [json, yaml]
716
+ default: json
717
+
718
+ - name: artifact
719
+ description: Filter output to a single artifact by ID.
720
+ schema:
721
+ type: string
722
+
723
+ - name: output
724
+ aliases: [o]
725
+ description: Write output to a file instead of stdout.
726
+ schema:
727
+ type: string
728
+ file:
729
+ mode: write
730
+
731
+ exits:
732
+ "0":
733
+ description: Navigation index built successfully.
734
+ stdout:
735
+ format: json
736
+ schema:
737
+ $ref: "#/components/schemas/NavigationIndexResult"
738
+
739
+ "1":
740
+ description: Failed to build navigation index.
741
+ stderr:
742
+ format: text
743
+
744
+ x-agent:
745
+ riskLevel: low
746
+ requiresConfirmation: false
747
+ idempotent: true
748
+ sideEffects: []
749
+
697
750
 
698
751
  # =============================================================================
699
752
  # Components
@@ -958,6 +1011,29 @@ components:
958
1011
  type: string
959
1012
  description: Human-readable detail.
960
1013
 
1014
+ # -------------------------------------------------------------------------
1015
+ # navigation-index
1016
+ # -------------------------------------------------------------------------
1017
+ NavigationIndexResult:
1018
+ type: object
1019
+ required: [version, generated_at, system, artifacts]
1020
+ properties:
1021
+ version:
1022
+ type: string
1023
+ generated_at:
1024
+ type: string
1025
+ system:
1026
+ type: object
1027
+ required: [id, name]
1028
+ properties:
1029
+ id:
1030
+ type: string
1031
+ name:
1032
+ type: string
1033
+ artifacts:
1034
+ type: object
1035
+ additionalProperties: true
1036
+
961
1037
  # -------------------------------------------------------------------------
962
1038
  # Canonical agent result schemas (AgentAuditResult sub-types)
963
1039
  # -------------------------------------------------------------------------
@@ -1,5 +1,5 @@
1
- import { S as SdkAdapter, C as CacheConfig, A as AdapterSendOptions, a as AgentExecutionRequest, M as MemoryRef } from '../task-runner-C1bAy5k9.js';
2
- import { G as GuardrailHooks } from '../guardrail-hooks-B1_vgkE5.js';
1
+ import { S as SdkAdapter, C as CacheConfig, A as AdapterSendOptions, a as AgentExecutionRequest, M as MemoryRef } from '../task-runner-Bo37lS9q.js';
2
+ import { G as GuardrailHooks } from '../guardrail-hooks-C8G5NGsj.js';
3
3
  import 'zod';
4
4
 
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getBlockingViolations
3
- } from "../chunk-JDXRLHY3.js";
3
+ } from "../chunk-MGRZBGQL.js";
4
4
 
5
5
  // src/adapters/adk-sdk.ts
6
6
  function sanitizeAgentName(name) {
@@ -1,5 +1,5 @@
1
- import { S as SdkAdapter, C as CacheConfig, A as AdapterSendOptions, a as AgentExecutionRequest, M as MemoryRef } from '../task-runner-C1bAy5k9.js';
2
- import { G as GuardrailHooks } from '../guardrail-hooks-B1_vgkE5.js';
1
+ import { S as SdkAdapter, C as CacheConfig, A as AdapterSendOptions, a as AgentExecutionRequest, M as MemoryRef } from '../task-runner-Bo37lS9q.js';
2
+ import { G as GuardrailHooks } from '../guardrail-hooks-C8G5NGsj.js';
3
3
  import 'zod';
4
4
 
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { S as SdkAdapter, A as AdapterSendOptions, M as MemoryRef } from '../task-runner-C1bAy5k9.js';
1
+ import { S as SdkAdapter, A as AdapterSendOptions, M as MemoryRef } from '../task-runner-Bo37lS9q.js';
2
2
  import 'zod';
3
3
 
4
4
  declare class MockAdapter implements SdkAdapter {
@@ -1,5 +1,5 @@
1
- import { S as SdkAdapter, C as CacheConfig, A as AdapterSendOptions, a as AgentExecutionRequest, M as MemoryRef } from '../task-runner-C1bAy5k9.js';
2
- import { G as GuardrailHooks } from '../guardrail-hooks-B1_vgkE5.js';
1
+ import { S as SdkAdapter, C as CacheConfig, A as AdapterSendOptions, a as AgentExecutionRequest, M as MemoryRef } from '../task-runner-Bo37lS9q.js';
2
+ import { G as GuardrailHooks } from '../guardrail-hooks-C8G5NGsj.js';
3
3
  import 'zod';
4
4
 
5
5
  /**