@vess-id/ai-identity 0.14.0 → 0.15.0

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 (29) hide show
  1. package/dist/index.d.mts +5640 -53
  2. package/dist/index.js +927 -11
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.mjs +926 -11
  5. package/dist/index.mjs.map +1 -1
  6. package/dist/registry/__tests__/action-input-validator.spec.d.ts +10 -0
  7. package/dist/registry/__tests__/action-input-validator.spec.d.ts.map +1 -0
  8. package/dist/registry/__tests__/action-registry-inbox.spec.d.ts +9 -0
  9. package/dist/registry/__tests__/action-registry-inbox.spec.d.ts.map +1 -0
  10. package/dist/registry/__tests__/action-registry-scheduling.spec.d.ts +13 -0
  11. package/dist/registry/__tests__/action-registry-scheduling.spec.d.ts.map +1 -0
  12. package/dist/registry/__tests__/guidance-examples.spec.d.ts +2 -0
  13. package/dist/registry/__tests__/guidance-examples.spec.d.ts.map +1 -0
  14. package/dist/registry/action-input-validator.d.ts +19 -0
  15. package/dist/registry/action-input-validator.d.ts.map +1 -0
  16. package/dist/registry/action-registry-json.d.ts +5578 -45
  17. package/dist/registry/action-registry-json.d.ts.map +1 -1
  18. package/dist/registry/action-summary.d.ts.map +1 -1
  19. package/dist/registry/index.d.ts +2 -0
  20. package/dist/registry/index.d.ts.map +1 -1
  21. package/dist/registry/providers.d.ts +1 -1
  22. package/dist/registry/providers.d.ts.map +1 -1
  23. package/dist/registry/resource-types.d.ts +7 -0
  24. package/dist/registry/resource-types.d.ts.map +1 -1
  25. package/dist/types/connector-plugin.d.ts +21 -0
  26. package/dist/types/connector-plugin.d.ts.map +1 -1
  27. package/dist/types/grant.d.ts +7 -0
  28. package/dist/types/grant.d.ts.map +1 -1
  29. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Tests for validateActionInput — lightweight registry-schema validation of
3
+ * tool-call parameters, run at the callTool entry point (before approval / VC
4
+ * gates) so malformed AI calls fail fast with self-correcting diagnostics
5
+ * instead of minting an approval request that later fails on invoke.
6
+ *
7
+ * Task 20: 承認リクエスト発行前のパラメータ形状検証.
8
+ */
9
+ export {};
10
+ //# sourceMappingURL=action-input-validator.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-input-validator.spec.d.ts","sourceRoot":"","sources":["../../../src/registry/__tests__/action-input-validator.spec.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Tests for the Agent Inbox actions registered in ACTION_REGISTRY.
3
+ *
4
+ * The 5 inbox.* actions back the Agent Inbox MCP tools so they can be
5
+ * exposed and Cedar-evaluated. Risk levels are part of the security contract
6
+ * (inbox.send sends a task request to another person → high).
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=action-registry-inbox.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-registry-inbox.spec.d.ts","sourceRoot":"","sources":["../../../src/registry/__tests__/action-registry-inbox.spec.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Tests for the scheduling.request façade action in ACTION_REGISTRY.
3
+ *
4
+ * scheduling.request is a meeting-time negotiation façade over inbox.send.
5
+ * Candidate slots are computed LLM-side; the server only validates. The
6
+ * action is internal (no external OAuth), so it carries the single nominal
7
+ * base scope `inbox`. Its tool name is auto-derived from the first action
8
+ * segment ('scheduling').
9
+ *
10
+ * Spec: docs/specs/2026-06-10-inbox-intent-routing-design.md §2.1
11
+ */
12
+ export {};
13
+ //# sourceMappingURL=action-registry-scheduling.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-registry-scheduling.spec.d.ts","sourceRoot":"","sources":["../../../src/registry/__tests__/action-registry-scheduling.spec.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=guidance-examples.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guidance-examples.spec.d.ts","sourceRoot":"","sources":["../../../src/registry/__tests__/guidance-examples.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ export type ValidateActionInputResult = {
2
+ valid: true;
3
+ } | {
4
+ valid: false;
5
+ errors: string[];
6
+ };
7
+ /**
8
+ * Validate `params` against the registry input_schema for `action`.
9
+ *
10
+ * Returns `{ valid: true }` for actions absent from the registry or lacking an
11
+ * input_schema. For known actions, performs a shallow check:
12
+ * a. required-key presence,
13
+ * b. unknown top-level keys (only when schema is additionalProperties:false),
14
+ * c. flat enum membership,
15
+ * d. naive top-level type checks.
16
+ * Deep `items` validation is intentionally skipped (server is authority).
17
+ */
18
+ export declare function validateActionInput(action: string, params: Record<string, unknown>): ValidateActionInputResult;
19
+ //# sourceMappingURL=action-input-validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-input-validator.d.ts","sourceRoot":"","sources":["../../src/registry/action-input-validator.ts"],"names":[],"mappings":"AA2BA,MAAM,MAAM,yBAAyB,GACjC;IAAE,KAAK,EAAE,IAAI,CAAA;CAAE,GACf;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAAA;AA0EtC;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,yBAAyB,CAoG3B"}