@tangle-network/agent-interface 0.44.0 → 0.46.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 (91) hide show
  1. package/README.md +1 -1
  2. package/dist/agent-candidate-code-schema.d.ts +1 -0
  3. package/dist/agent-candidate-execution-plan-schema.d.ts +8 -6
  4. package/dist/agent-candidate-profile-schema.d.ts +3 -2
  5. package/dist/agent-candidate-promotion-schema.d.ts +59 -42
  6. package/dist/agent-candidate-receipt-schema.d.ts +5 -4
  7. package/dist/agent-candidate-schema-common.js +1 -1
  8. package/dist/agent-candidate-schema.d.ts +4 -2
  9. package/dist/agent-execution-preparation.d.ts +27 -26
  10. package/dist/agent-profile.d.ts +10 -3
  11. package/dist/agent-profile.js +45 -22
  12. package/dist/backend-message.d.ts +14 -0
  13. package/dist/backend-message.js +1 -0
  14. package/dist/contract-limits.d.ts +26 -0
  15. package/dist/contract-limits.js +175 -0
  16. package/dist/environment-exact-process.d.ts +161 -0
  17. package/dist/environment-exact-process.js +1 -0
  18. package/dist/environment-profile-capabilities.d.ts +26 -0
  19. package/dist/environment-profile-capabilities.js +34 -0
  20. package/dist/environment-provider.d.ts +3 -730
  21. package/dist/environment-provider.js +3 -245
  22. package/dist/environment-requests.d.ts +70 -0
  23. package/dist/environment-requests.js +1 -0
  24. package/dist/environment-runtime.d.ts +834 -0
  25. package/dist/environment-runtime.js +228 -0
  26. package/dist/execution-types.d.ts +47 -0
  27. package/dist/execution-types.js +1 -0
  28. package/dist/harness-capabilities.js +5 -0
  29. package/dist/harness.d.ts +6 -1
  30. package/dist/harness.js +1 -0
  31. package/dist/host-services.d.ts +91 -0
  32. package/dist/host-services.js +1 -0
  33. package/dist/index.d.ts +10 -617
  34. package/dist/index.js +10 -125
  35. package/dist/interaction-answer-validation.d.ts +13 -0
  36. package/dist/interaction-answer-validation.js +149 -0
  37. package/dist/interaction-data.d.ts +22 -0
  38. package/dist/interaction-data.js +46 -0
  39. package/dist/interaction-envelope.d.ts +258 -0
  40. package/dist/interaction-envelope.js +245 -0
  41. package/dist/interaction-fields.d.ts +130 -0
  42. package/dist/interaction-fields.js +227 -0
  43. package/dist/interaction-permissions.d.ts +28 -0
  44. package/dist/interaction-permissions.js +57 -0
  45. package/dist/interaction-resolution-validation.d.ts +9 -0
  46. package/dist/interaction-resolution-validation.js +50 -0
  47. package/dist/interaction-response-validation.d.ts +17 -0
  48. package/dist/interaction-response-validation.js +102 -0
  49. package/dist/interaction.d.ts +6 -397
  50. package/dist/interaction.js +6 -603
  51. package/dist/mcp.d.ts +38 -0
  52. package/dist/mcp.js +1 -0
  53. package/dist/parts.d.ts +104 -0
  54. package/dist/parts.js +55 -0
  55. package/dist/portable-context-base.d.ts +82 -0
  56. package/dist/portable-context-base.js +63 -0
  57. package/dist/portable-context-continuation.d.ts +168 -0
  58. package/dist/portable-context-continuation.js +194 -0
  59. package/dist/portable-context-plan-request.d.ts +86 -0
  60. package/dist/portable-context-plan-request.js +102 -0
  61. package/dist/portable-context-plan.d.ts +229 -0
  62. package/dist/portable-context-plan.js +241 -0
  63. package/dist/portable-context-shared.d.ts +36 -0
  64. package/dist/portable-context-shared.js +46 -0
  65. package/dist/portable-context-transfer.d.ts +319 -0
  66. package/dist/portable-context-transfer.js +206 -0
  67. package/dist/portable-context.d.ts +5 -753
  68. package/dist/portable-context.js +5 -754
  69. package/dist/profile-diff.js +56 -47
  70. package/dist/profile-schema.d.ts +1 -0
  71. package/dist/provider-adapter.d.ts +45 -0
  72. package/dist/provider-adapter.js +1 -0
  73. package/dist/provider-config.d.ts +58 -0
  74. package/dist/provider-config.js +42 -0
  75. package/dist/runtime-control.d.ts +87 -10
  76. package/dist/runtime-control.js +159 -38
  77. package/dist/stream-events.d.ts +55 -0
  78. package/dist/stream-events.js +1 -0
  79. package/dist/workspace-branching-shared.d.ts +7 -0
  80. package/dist/workspace-branching-shared.js +20 -0
  81. package/dist/workspace-branching.d.ts +4 -254
  82. package/dist/workspace-branching.js +4 -400
  83. package/dist/workspace-checkpoint.d.ts +99 -0
  84. package/dist/workspace-checkpoint.js +169 -0
  85. package/dist/workspace-cleanup.d.ts +85 -0
  86. package/dist/workspace-cleanup.js +156 -0
  87. package/dist/workspace-confidentiality.d.ts +59 -0
  88. package/dist/workspace-confidentiality.js +123 -0
  89. package/dist/workspace-fork.d.ts +182 -0
  90. package/dist/workspace-fork.js +267 -0
  91. package/package.json +1 -1
@@ -0,0 +1,26 @@
1
+ import { z } from "zod";
2
+ export declare const AgentProfileCapabilitiesSchema: z.ZodObject<{
3
+ namedProfiles: z.ZodBoolean;
4
+ systemPrompt: z.ZodObject<{
5
+ replace: z.ZodBoolean;
6
+ append: z.ZodBoolean;
7
+ }, z.core.$strict>;
8
+ instructions: z.ZodBoolean;
9
+ tools: z.ZodBoolean;
10
+ permissions: z.ZodBoolean;
11
+ mcp: z.ZodBoolean;
12
+ subagents: z.ZodBoolean;
13
+ resources: z.ZodObject<{
14
+ files: z.ZodBoolean;
15
+ instructions: z.ZodBoolean;
16
+ tools: z.ZodOptional<z.ZodBoolean>;
17
+ skills: z.ZodOptional<z.ZodBoolean>;
18
+ agents: z.ZodOptional<z.ZodBoolean>;
19
+ commands: z.ZodOptional<z.ZodBoolean>;
20
+ }, z.core.$strict>;
21
+ hooks: z.ZodOptional<z.ZodBoolean>;
22
+ modes: z.ZodOptional<z.ZodBoolean>;
23
+ runtimeUpdate: z.ZodBoolean;
24
+ validation: z.ZodBoolean;
25
+ extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
26
+ }, z.core.$strict>;
@@ -0,0 +1,34 @@
1
+ import { z } from "zod";
2
+ import { boundedIdentifierSchema, CONTRACT_MAX_ARRAY_LENGTH, } from "./contract-limits.js";
3
+ export const AgentProfileCapabilitiesSchema = z.strictObject({
4
+ namedProfiles: z.boolean(),
5
+ /*
6
+ * Replacement and addition are independent provider capabilities. Require
7
+ * both declarations so an omitted bit cannot be mistaken for support.
8
+ */
9
+ systemPrompt: z.strictObject({
10
+ replace: z.boolean(),
11
+ append: z.boolean(),
12
+ }),
13
+ instructions: z.boolean(),
14
+ tools: z.boolean(),
15
+ permissions: z.boolean(),
16
+ mcp: z.boolean(),
17
+ subagents: z.boolean(),
18
+ resources: z.strictObject({
19
+ files: z.boolean(),
20
+ instructions: z.boolean(),
21
+ tools: z.boolean().optional(),
22
+ skills: z.boolean().optional(),
23
+ agents: z.boolean().optional(),
24
+ commands: z.boolean().optional(),
25
+ }),
26
+ hooks: z.boolean().optional(),
27
+ modes: z.boolean().optional(),
28
+ runtimeUpdate: z.boolean(),
29
+ validation: z.boolean(),
30
+ extensions: z
31
+ .array(boundedIdentifierSchema)
32
+ .max(CONTRACT_MAX_ARRAY_LENGTH)
33
+ .optional(),
34
+ });