@treeseed/sdk 0.13.0-rc.122 → 0.13.0-rc.124

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 (126) hide show
  1. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +1392 -974
  2. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +72 -27
  3. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +34 -34
  4. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
  5. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
  6. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +1 -0
  7. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
  8. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
  9. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +1 -3
  10. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +21 -15
  11. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
  12. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
  13. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +227 -66
  14. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
  15. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +214 -5
  16. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
  17. package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +47 -47
  18. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -0
  19. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
  20. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +434 -230
  21. package/dist/agent-capacity/contracts/support/execution-graph.js +20 -18
  22. package/dist/agent-capacity/contracts/support/financial-records.d.ts +2 -0
  23. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +286 -254
  24. package/dist/agent-capacity/validation/agent-definition-schema.js +22 -28
  25. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +1 -1
  26. package/dist/agent-capacity/validation/assignment-records.js +45 -0
  27. package/dist/capacity/agents/agent-capacity.d.ts +1 -0
  28. package/dist/capacity/agents/agent-capacity.js +1 -0
  29. package/dist/capacity-provider/capability-ontology.d.ts +102 -102
  30. package/dist/capacity-provider/client.d.ts +14 -7
  31. package/dist/capacity-provider/client.js +1 -4
  32. package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
  33. package/dist/capacity-provider/contracts/environment-profiles.d.ts +40 -40
  34. package/dist/capacity-provider/contracts/governance.d.ts +2 -17
  35. package/dist/capacity-provider/contracts/index.d.ts +2 -0
  36. package/dist/capacity-provider/contracts/index.js +2 -0
  37. package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
  38. package/dist/capacity-provider/environment-catalog.d.ts +22 -22
  39. package/dist/capacity-provider/environment-catalog.js +1 -1
  40. package/dist/capacity-provider/install-configuration.d.ts +4 -4
  41. package/dist/capacity-provider/sandbox-contracts.d.ts +54 -54
  42. package/dist/capacity-provider/source-workspace.d.ts +76 -76
  43. package/dist/capacity-provider/validation.d.ts +10 -2
  44. package/dist/capacity-provider/validation.js +52 -22
  45. package/dist/content/validation/agent-operational-content-schemas.d.ts +120 -118
  46. package/dist/content/validation/agent-operational-content-schemas.js +2 -0
  47. package/dist/content/validation/auxiliary-content-schemas.d.ts +92 -92
  48. package/dist/content/validation/content-model-schemas.d.ts +3155 -2512
  49. package/dist/content/validation/content-model-schemas.js +97 -87
  50. package/dist/content/validation/portable-content-data.d.ts +173 -168
  51. package/dist/content/validation/schema-constraints.d.ts +78 -0
  52. package/dist/content/validation/schema-constraints.js +149 -0
  53. package/dist/deployment/ai/storage.d.ts +20 -20
  54. package/dist/deployment/ai-hosting.d.ts +12 -12
  55. package/dist/deployment/ai-instance.d.ts +12 -12
  56. package/dist/deployment/ai-mode.d.ts +34 -34
  57. package/dist/deployment/hosted-topology-template.d.ts +25 -25
  58. package/dist/deployment/hosted-topology.d.ts +146 -146
  59. package/dist/deployment/postgres/transfer.d.ts +2 -2
  60. package/dist/deployment/schemas.d.ts +504 -504
  61. package/dist/development/schemas.d.ts +325 -325
  62. package/dist/graph/context-query-contracts.js +1 -1
  63. package/dist/guarantees/index.d.ts +26 -2
  64. package/dist/identity/contracts.js +6 -1
  65. package/dist/operator-contracts/canonical-command-tree.js +22 -8
  66. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +27 -27
  67. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +25 -25
  68. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +11 -9
  69. package/dist/operator-contracts/catalog/communication-operations.d.ts +108 -90
  70. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +33 -33
  71. package/dist/operator-contracts/catalog/inbox-operations.d.ts +27 -27
  72. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +4 -4
  73. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
  74. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +5 -5
  75. package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
  76. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
  77. package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
  78. package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
  79. package/dist/operator-contracts/catalog/workdays/selection-commands.js +7 -6
  80. package/dist/operator-contracts/communication/contracts.d.ts +340 -198
  81. package/dist/operator-contracts/communication/contracts.js +6 -1
  82. package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
  83. package/dist/operator-contracts/control-plane-operation.js +6 -0
  84. package/dist/operator-contracts/control-plane-operations.d.ts +469 -442
  85. package/dist/operator-contracts/control-plane-operations.js +26 -10
  86. package/dist/operator-contracts/inbox/contracts.d.ts +100 -100
  87. package/dist/operator-contracts/knowledge/contracts.d.ts +6 -6
  88. package/dist/operator-contracts/mcp.js +4 -3
  89. package/dist/operator-contracts/workday-lifecycle.d.ts +192 -2
  90. package/dist/operator-contracts/workday-lifecycle.js +108 -45
  91. package/dist/platform/agent-schema-verification.js +316 -33
  92. package/dist/platform/contracts.d.ts +72 -72
  93. package/dist/platform/schemas.d.ts +144 -36
  94. package/dist/platform/schemas.js +26 -0
  95. package/dist/platform/verification.js +4 -0
  96. package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
  97. package/dist/secrets-capability/secret-contracts.d.ts +2 -2
  98. package/dist/secrets-capability/shared-access.d.ts +1 -1
  99. package/dist/secrets-capability/shared-resources.d.ts +30 -30
  100. package/dist/security/encrypted-envelope.d.ts +6 -6
  101. package/dist/treedx/client.d.ts +4 -4
  102. package/dist/treedx/index.d.ts +1 -1
  103. package/dist/treedx/index.js +1 -0
  104. package/dist/treedx/types.d.ts +286 -0
  105. package/dist/treedx/types.js +44 -0
  106. package/dist/types/agents/agent-activity-profile.d.ts +1 -0
  107. package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
  108. package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
  109. package/guarantees/agent/golden/product.guarantee.yaml +12 -0
  110. package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
  111. package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
  112. package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
  113. package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
  114. package/package.json +10 -5
  115. package/tests/acceptance/golden-product.test.ts +205 -0
  116. package/tests/acceptance/golden-product.ts +404 -0
  117. package/tests/acceptance/product/base-red.ts +73 -0
  118. package/tests/acceptance/product/documentation-examples.ts +68 -0
  119. package/tests/acceptance/product/intent-runtime.ts +145 -0
  120. package/tests/acceptance/product/release-output.ts +160 -0
  121. package/tests/acceptance/product/research-artifact.ts +87 -0
  122. package/tests/acceptance/product/research-revision.ts +82 -0
  123. package/tests/acceptance/product/research-source.ts +91 -0
  124. package/tests/acceptance/product/test-chain.ts +192 -0
  125. package/treeseed.package.yaml +147 -0
  126. package/dist/.treeseed-build-complete.json +0 -1
@@ -1,4 +1,30 @@
1
1
  import { z, type ZodError } from 'zod';
2
+ export declare const agentClassSchema: z.ZodString;
3
+ export declare const permissionSetSchema: z.ZodObject<{
4
+ content: z.ZodObject<{
5
+ read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[], ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[]>;
6
+ write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[], ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[]>;
7
+ }, "strict", z.ZodTypeAny, {
8
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
10
+ }, {
11
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
12
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
13
+ }>;
14
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
15
+ }, "strict", z.ZodTypeAny, {
16
+ content: {
17
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
18
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
19
+ };
20
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
21
+ }, {
22
+ content: {
23
+ read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
24
+ write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
25
+ };
26
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
27
+ }>;
2
28
  export declare const activityProfileSchema: z.ZodObject<{
3
29
  handler: z.ZodString;
4
30
  dependsOn: z.ZodOptional<z.ZodEffects<z.ZodObject<{
@@ -28,19 +54,19 @@ export declare const activityProfileSchema: z.ZodObject<{
28
54
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
29
55
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
30
56
  }>;
31
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
57
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
32
58
  }, "strict", z.ZodTypeAny, {
33
59
  content: {
34
60
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
35
61
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
36
62
  };
37
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
63
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
38
64
  }, {
39
65
  content: {
40
66
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
41
67
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
42
68
  };
43
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
69
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
44
70
  }>;
45
71
  prompt: z.ZodObject<{
46
72
  system: z.ZodString;
@@ -55,14 +81,14 @@ export declare const activityProfileSchema: z.ZodObject<{
55
81
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
56
82
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
57
83
  }, "strict", z.ZodTypeAny, {
58
- handler: string;
59
84
  permissions: {
60
85
  content: {
61
86
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
62
87
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
63
88
  };
64
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
89
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
65
90
  };
91
+ handler: string;
66
92
  prompt: {
67
93
  system: string;
68
94
  instructions?: string[] | undefined;
@@ -74,14 +100,14 @@ export declare const activityProfileSchema: z.ZodObject<{
74
100
  additionalContext?: string[] | undefined;
75
101
  parameters?: Record<string, unknown> | undefined;
76
102
  }, {
77
- handler: string;
78
103
  permissions: {
79
104
  content: {
80
105
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
81
106
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
82
107
  };
83
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
108
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
84
109
  };
110
+ handler: string;
85
111
  prompt: {
86
112
  system: string;
87
113
  instructions?: string[] | undefined;
@@ -123,19 +149,19 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
123
149
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
124
150
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
125
151
  }>;
126
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
152
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
127
153
  }, "strict", z.ZodTypeAny, {
128
154
  content: {
129
155
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
130
156
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
131
157
  };
132
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
158
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
133
159
  }, {
134
160
  content: {
135
161
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
136
162
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
137
163
  };
138
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
164
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
139
165
  }>;
140
166
  prompt: z.ZodObject<{
141
167
  system: z.ZodString;
@@ -150,14 +176,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
150
176
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
151
177
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
152
178
  }, "strict", z.ZodTypeAny, {
153
- handler: string;
154
179
  permissions: {
155
180
  content: {
156
181
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
157
182
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
158
183
  };
159
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
184
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
160
185
  };
186
+ handler: string;
161
187
  prompt: {
162
188
  system: string;
163
189
  instructions?: string[] | undefined;
@@ -169,14 +195,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
169
195
  additionalContext?: string[] | undefined;
170
196
  parameters?: Record<string, unknown> | undefined;
171
197
  }, {
172
- handler: string;
173
198
  permissions: {
174
199
  content: {
175
200
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
176
201
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
177
202
  };
178
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
203
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
179
204
  };
205
+ handler: string;
180
206
  prompt: {
181
207
  system: string;
182
208
  instructions?: string[] | undefined;
@@ -217,19 +243,19 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
217
243
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
218
244
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
219
245
  }>;
220
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
246
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
221
247
  }, "strict", z.ZodTypeAny, {
222
248
  content: {
223
249
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
224
250
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
225
251
  };
226
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
252
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
227
253
  }, {
228
254
  content: {
229
255
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
230
256
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
231
257
  };
232
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
258
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
233
259
  }>;
234
260
  prompt: z.ZodObject<{
235
261
  system: z.ZodString;
@@ -244,14 +270,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
244
270
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
245
271
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
246
272
  }, "strict", z.ZodTypeAny, {
247
- handler: string;
248
273
  permissions: {
249
274
  content: {
250
275
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
251
276
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
252
277
  };
253
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
278
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
254
279
  };
280
+ handler: string;
255
281
  prompt: {
256
282
  system: string;
257
283
  instructions?: string[] | undefined;
@@ -263,14 +289,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
263
289
  additionalContext?: string[] | undefined;
264
290
  parameters?: Record<string, unknown> | undefined;
265
291
  }, {
266
- handler: string;
267
292
  permissions: {
268
293
  content: {
269
294
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
270
295
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
271
296
  };
272
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
297
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
273
298
  };
299
+ handler: string;
274
300
  prompt: {
275
301
  system: string;
276
302
  instructions?: string[] | undefined;
@@ -311,19 +337,19 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
311
337
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
312
338
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
313
339
  }>;
314
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
340
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
315
341
  }, "strict", z.ZodTypeAny, {
316
342
  content: {
317
343
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
318
344
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
319
345
  };
320
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
346
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
321
347
  }, {
322
348
  content: {
323
349
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
324
350
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
325
351
  };
326
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
352
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
327
353
  }>;
328
354
  prompt: z.ZodObject<{
329
355
  system: z.ZodString;
@@ -338,14 +364,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
338
364
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
339
365
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
340
366
  }, "strict", z.ZodTypeAny, {
341
- handler: string;
342
367
  permissions: {
343
368
  content: {
344
369
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
345
370
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
346
371
  };
347
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
372
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
348
373
  };
374
+ handler: string;
349
375
  prompt: {
350
376
  system: string;
351
377
  instructions?: string[] | undefined;
@@ -357,14 +383,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
357
383
  additionalContext?: string[] | undefined;
358
384
  parameters?: Record<string, unknown> | undefined;
359
385
  }, {
360
- handler: string;
361
386
  permissions: {
362
387
  content: {
363
388
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
364
389
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
365
390
  };
366
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
391
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
367
392
  };
393
+ handler: string;
368
394
  prompt: {
369
395
  system: string;
370
396
  instructions?: string[] | undefined;
@@ -405,19 +431,19 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
405
431
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
406
432
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
407
433
  }>;
408
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
434
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
409
435
  }, "strict", z.ZodTypeAny, {
410
436
  content: {
411
437
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
412
438
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
413
439
  };
414
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
440
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
415
441
  }, {
416
442
  content: {
417
443
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
418
444
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
419
445
  };
420
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
446
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
421
447
  }>;
422
448
  prompt: z.ZodObject<{
423
449
  system: z.ZodString;
@@ -432,14 +458,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
432
458
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
433
459
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
434
460
  }, "strict", z.ZodTypeAny, {
435
- handler: string;
436
461
  permissions: {
437
462
  content: {
438
463
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
439
464
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
440
465
  };
441
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
466
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
442
467
  };
468
+ handler: string;
443
469
  prompt: {
444
470
  system: string;
445
471
  instructions?: string[] | undefined;
@@ -451,14 +477,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
451
477
  additionalContext?: string[] | undefined;
452
478
  parameters?: Record<string, unknown> | undefined;
453
479
  }, {
454
- handler: string;
455
480
  permissions: {
456
481
  content: {
457
482
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
458
483
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
459
484
  };
460
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
485
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
461
486
  };
487
+ handler: string;
462
488
  prompt: {
463
489
  system: string;
464
490
  instructions?: string[] | undefined;
@@ -499,19 +525,19 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
499
525
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
500
526
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
501
527
  }>;
502
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
528
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
503
529
  }, "strict", z.ZodTypeAny, {
504
530
  content: {
505
531
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
506
532
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
507
533
  };
508
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
534
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
509
535
  }, {
510
536
  content: {
511
537
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
512
538
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
513
539
  };
514
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
540
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
515
541
  }>;
516
542
  prompt: z.ZodObject<{
517
543
  system: z.ZodString;
@@ -526,14 +552,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
526
552
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
527
553
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
528
554
  }, "strict", z.ZodTypeAny, {
529
- handler: string;
530
555
  permissions: {
531
556
  content: {
532
557
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
533
558
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
534
559
  };
535
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
560
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
536
561
  };
562
+ handler: string;
537
563
  prompt: {
538
564
  system: string;
539
565
  instructions?: string[] | undefined;
@@ -545,14 +571,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
545
571
  additionalContext?: string[] | undefined;
546
572
  parameters?: Record<string, unknown> | undefined;
547
573
  }, {
548
- handler: string;
549
574
  permissions: {
550
575
  content: {
551
576
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
552
577
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
553
578
  };
554
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
579
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
555
580
  };
581
+ handler: string;
556
582
  prompt: {
557
583
  system: string;
558
584
  instructions?: string[] | undefined;
@@ -593,19 +619,19 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
593
619
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
594
620
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
595
621
  }>;
596
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
622
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
597
623
  }, "strict", z.ZodTypeAny, {
598
624
  content: {
599
625
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
600
626
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
601
627
  };
602
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
628
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
603
629
  }, {
604
630
  content: {
605
631
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
606
632
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
607
633
  };
608
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
634
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
609
635
  }>;
610
636
  prompt: z.ZodObject<{
611
637
  system: z.ZodString;
@@ -620,14 +646,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
620
646
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
621
647
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
622
648
  }, "strict", z.ZodTypeAny, {
623
- handler: string;
624
649
  permissions: {
625
650
  content: {
626
651
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
627
652
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
628
653
  };
629
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
654
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
630
655
  };
656
+ handler: string;
631
657
  prompt: {
632
658
  system: string;
633
659
  instructions?: string[] | undefined;
@@ -639,14 +665,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
639
665
  additionalContext?: string[] | undefined;
640
666
  parameters?: Record<string, unknown> | undefined;
641
667
  }, {
642
- handler: string;
643
668
  permissions: {
644
669
  content: {
645
670
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
646
671
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
647
672
  };
648
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
673
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
649
674
  };
675
+ handler: string;
650
676
  prompt: {
651
677
  system: string;
652
678
  instructions?: string[] | undefined;
@@ -660,14 +686,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
660
686
  }>>;
661
687
  }, "strict", z.ZodTypeAny, {
662
688
  planning?: {
663
- handler: string;
664
689
  permissions: {
665
690
  content: {
666
691
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
667
692
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
668
693
  };
669
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
694
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
670
695
  };
696
+ handler: string;
671
697
  prompt: {
672
698
  system: string;
673
699
  instructions?: string[] | undefined;
@@ -680,14 +706,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
680
706
  parameters?: Record<string, unknown> | undefined;
681
707
  } | undefined;
682
708
  estimating?: {
683
- handler: string;
684
709
  permissions: {
685
710
  content: {
686
711
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
687
712
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
688
713
  };
689
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
714
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
690
715
  };
716
+ handler: string;
691
717
  prompt: {
692
718
  system: string;
693
719
  instructions?: string[] | undefined;
@@ -700,14 +726,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
700
726
  parameters?: Record<string, unknown> | undefined;
701
727
  } | undefined;
702
728
  acting?: {
703
- handler: string;
704
729
  permissions: {
705
730
  content: {
706
731
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
707
732
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
708
733
  };
709
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
734
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
710
735
  };
736
+ handler: string;
711
737
  prompt: {
712
738
  system: string;
713
739
  instructions?: string[] | undefined;
@@ -720,14 +746,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
720
746
  parameters?: Record<string, unknown> | undefined;
721
747
  } | undefined;
722
748
  reviewing?: {
723
- handler: string;
724
749
  permissions: {
725
750
  content: {
726
751
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
727
752
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
728
753
  };
729
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
754
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
730
755
  };
756
+ handler: string;
731
757
  prompt: {
732
758
  system: string;
733
759
  instructions?: string[] | undefined;
@@ -740,14 +766,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
740
766
  parameters?: Record<string, unknown> | undefined;
741
767
  } | undefined;
742
768
  reporting?: {
743
- handler: string;
744
769
  permissions: {
745
770
  content: {
746
771
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
747
772
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
748
773
  };
749
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
774
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
750
775
  };
776
+ handler: string;
751
777
  prompt: {
752
778
  system: string;
753
779
  instructions?: string[] | undefined;
@@ -760,14 +786,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
760
786
  parameters?: Record<string, unknown> | undefined;
761
787
  } | undefined;
762
788
  chat?: {
763
- handler: string;
764
789
  permissions: {
765
790
  content: {
766
791
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
767
792
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
768
793
  };
769
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
794
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
770
795
  };
796
+ handler: string;
771
797
  prompt: {
772
798
  system: string;
773
799
  instructions?: string[] | undefined;
@@ -781,14 +807,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
781
807
  } | undefined;
782
808
  }, {
783
809
  planning?: {
784
- handler: string;
785
810
  permissions: {
786
811
  content: {
787
812
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
788
813
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
789
814
  };
790
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
815
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
791
816
  };
817
+ handler: string;
792
818
  prompt: {
793
819
  system: string;
794
820
  instructions?: string[] | undefined;
@@ -801,14 +827,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
801
827
  parameters?: Record<string, unknown> | undefined;
802
828
  } | undefined;
803
829
  estimating?: {
804
- handler: string;
805
830
  permissions: {
806
831
  content: {
807
832
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
808
833
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
809
834
  };
810
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
835
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
811
836
  };
837
+ handler: string;
812
838
  prompt: {
813
839
  system: string;
814
840
  instructions?: string[] | undefined;
@@ -821,14 +847,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
821
847
  parameters?: Record<string, unknown> | undefined;
822
848
  } | undefined;
823
849
  acting?: {
824
- handler: string;
825
850
  permissions: {
826
851
  content: {
827
852
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
828
853
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
829
854
  };
830
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
855
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
831
856
  };
857
+ handler: string;
832
858
  prompt: {
833
859
  system: string;
834
860
  instructions?: string[] | undefined;
@@ -841,14 +867,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
841
867
  parameters?: Record<string, unknown> | undefined;
842
868
  } | undefined;
843
869
  reviewing?: {
844
- handler: string;
845
870
  permissions: {
846
871
  content: {
847
872
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
848
873
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
849
874
  };
850
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
875
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
851
876
  };
877
+ handler: string;
852
878
  prompt: {
853
879
  system: string;
854
880
  instructions?: string[] | undefined;
@@ -861,14 +887,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
861
887
  parameters?: Record<string, unknown> | undefined;
862
888
  } | undefined;
863
889
  reporting?: {
864
- handler: string;
865
890
  permissions: {
866
891
  content: {
867
892
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
868
893
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
869
894
  };
870
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
895
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
871
896
  };
897
+ handler: string;
872
898
  prompt: {
873
899
  system: string;
874
900
  instructions?: string[] | undefined;
@@ -881,14 +907,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
881
907
  parameters?: Record<string, unknown> | undefined;
882
908
  } | undefined;
883
909
  chat?: {
884
- handler: string;
885
910
  permissions: {
886
911
  content: {
887
912
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
888
913
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
889
914
  };
890
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
915
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
891
916
  };
917
+ handler: string;
892
918
  prompt: {
893
919
  system: string;
894
920
  instructions?: string[] | undefined;
@@ -902,14 +928,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
902
928
  } | undefined;
903
929
  }>, {
904
930
  planning?: {
905
- handler: string;
906
931
  permissions: {
907
932
  content: {
908
933
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
909
934
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
910
935
  };
911
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
936
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
912
937
  };
938
+ handler: string;
913
939
  prompt: {
914
940
  system: string;
915
941
  instructions?: string[] | undefined;
@@ -922,14 +948,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
922
948
  parameters?: Record<string, unknown> | undefined;
923
949
  } | undefined;
924
950
  estimating?: {
925
- handler: string;
926
951
  permissions: {
927
952
  content: {
928
953
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
929
954
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
930
955
  };
931
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
956
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
932
957
  };
958
+ handler: string;
933
959
  prompt: {
934
960
  system: string;
935
961
  instructions?: string[] | undefined;
@@ -942,14 +968,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
942
968
  parameters?: Record<string, unknown> | undefined;
943
969
  } | undefined;
944
970
  acting?: {
945
- handler: string;
946
971
  permissions: {
947
972
  content: {
948
973
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
949
974
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
950
975
  };
951
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
976
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
952
977
  };
978
+ handler: string;
953
979
  prompt: {
954
980
  system: string;
955
981
  instructions?: string[] | undefined;
@@ -962,14 +988,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
962
988
  parameters?: Record<string, unknown> | undefined;
963
989
  } | undefined;
964
990
  reviewing?: {
965
- handler: string;
966
991
  permissions: {
967
992
  content: {
968
993
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
969
994
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
970
995
  };
971
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
996
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
972
997
  };
998
+ handler: string;
973
999
  prompt: {
974
1000
  system: string;
975
1001
  instructions?: string[] | undefined;
@@ -982,14 +1008,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
982
1008
  parameters?: Record<string, unknown> | undefined;
983
1009
  } | undefined;
984
1010
  reporting?: {
985
- handler: string;
986
1011
  permissions: {
987
1012
  content: {
988
1013
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
989
1014
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
990
1015
  };
991
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1016
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
992
1017
  };
1018
+ handler: string;
993
1019
  prompt: {
994
1020
  system: string;
995
1021
  instructions?: string[] | undefined;
@@ -1002,14 +1028,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
1002
1028
  parameters?: Record<string, unknown> | undefined;
1003
1029
  } | undefined;
1004
1030
  chat?: {
1005
- handler: string;
1006
1031
  permissions: {
1007
1032
  content: {
1008
1033
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1009
1034
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1010
1035
  };
1011
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1036
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1012
1037
  };
1038
+ handler: string;
1013
1039
  prompt: {
1014
1040
  system: string;
1015
1041
  instructions?: string[] | undefined;
@@ -1023,14 +1049,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
1023
1049
  } | undefined;
1024
1050
  }, {
1025
1051
  planning?: {
1026
- handler: string;
1027
1052
  permissions: {
1028
1053
  content: {
1029
1054
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1030
1055
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1031
1056
  };
1032
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1057
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1033
1058
  };
1059
+ handler: string;
1034
1060
  prompt: {
1035
1061
  system: string;
1036
1062
  instructions?: string[] | undefined;
@@ -1043,14 +1069,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
1043
1069
  parameters?: Record<string, unknown> | undefined;
1044
1070
  } | undefined;
1045
1071
  estimating?: {
1046
- handler: string;
1047
1072
  permissions: {
1048
1073
  content: {
1049
1074
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1050
1075
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1051
1076
  };
1052
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1077
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1053
1078
  };
1079
+ handler: string;
1054
1080
  prompt: {
1055
1081
  system: string;
1056
1082
  instructions?: string[] | undefined;
@@ -1063,14 +1089,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
1063
1089
  parameters?: Record<string, unknown> | undefined;
1064
1090
  } | undefined;
1065
1091
  acting?: {
1066
- handler: string;
1067
1092
  permissions: {
1068
1093
  content: {
1069
1094
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1070
1095
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1071
1096
  };
1072
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1097
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1073
1098
  };
1099
+ handler: string;
1074
1100
  prompt: {
1075
1101
  system: string;
1076
1102
  instructions?: string[] | undefined;
@@ -1083,14 +1109,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
1083
1109
  parameters?: Record<string, unknown> | undefined;
1084
1110
  } | undefined;
1085
1111
  reviewing?: {
1086
- handler: string;
1087
1112
  permissions: {
1088
1113
  content: {
1089
1114
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1090
1115
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1091
1116
  };
1092
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1117
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1093
1118
  };
1119
+ handler: string;
1094
1120
  prompt: {
1095
1121
  system: string;
1096
1122
  instructions?: string[] | undefined;
@@ -1103,14 +1129,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
1103
1129
  parameters?: Record<string, unknown> | undefined;
1104
1130
  } | undefined;
1105
1131
  reporting?: {
1106
- handler: string;
1107
1132
  permissions: {
1108
1133
  content: {
1109
1134
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1110
1135
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1111
1136
  };
1112
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1137
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1113
1138
  };
1139
+ handler: string;
1114
1140
  prompt: {
1115
1141
  system: string;
1116
1142
  instructions?: string[] | undefined;
@@ -1123,14 +1149,14 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
1123
1149
  parameters?: Record<string, unknown> | undefined;
1124
1150
  } | undefined;
1125
1151
  chat?: {
1126
- handler: string;
1127
1152
  permissions: {
1128
1153
  content: {
1129
1154
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1130
1155
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1131
1156
  };
1132
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1157
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1133
1158
  };
1159
+ handler: string;
1134
1160
  prompt: {
1135
1161
  system: string;
1136
1162
  instructions?: string[] | undefined;
@@ -1148,11 +1174,12 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1148
1174
  id: z.ZodString;
1149
1175
  name: z.ZodString;
1150
1176
  agentClass: z.ZodString;
1177
+ groupIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1151
1178
  purpose: z.ZodString;
1152
1179
  responsibilities: z.ZodArray<z.ZodString, "many">;
1153
- capabilities: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, string[], string[]>;
1180
+ capabilities: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1154
1181
  context: z.ZodObject<{
1155
- include: z.ZodEffects<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>, string[], string[]>;
1182
+ include: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1156
1183
  }, "strict", z.ZodTypeAny, {
1157
1184
  include: string[];
1158
1185
  }, {
@@ -1188,19 +1215,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1188
1215
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1189
1216
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1190
1217
  }>;
1191
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
1218
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
1192
1219
  }, "strict", z.ZodTypeAny, {
1193
1220
  content: {
1194
1221
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1195
1222
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1196
1223
  };
1197
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1224
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1198
1225
  }, {
1199
1226
  content: {
1200
1227
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1201
1228
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1202
1229
  };
1203
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1230
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1204
1231
  }>;
1205
1232
  prompt: z.ZodObject<{
1206
1233
  system: z.ZodString;
@@ -1215,14 +1242,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1215
1242
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1216
1243
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1217
1244
  }, "strict", z.ZodTypeAny, {
1218
- handler: string;
1219
1245
  permissions: {
1220
1246
  content: {
1221
1247
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1222
1248
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1223
1249
  };
1224
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1250
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1225
1251
  };
1252
+ handler: string;
1226
1253
  prompt: {
1227
1254
  system: string;
1228
1255
  instructions?: string[] | undefined;
@@ -1234,14 +1261,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1234
1261
  additionalContext?: string[] | undefined;
1235
1262
  parameters?: Record<string, unknown> | undefined;
1236
1263
  }, {
1237
- handler: string;
1238
1264
  permissions: {
1239
1265
  content: {
1240
1266
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1241
1267
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1242
1268
  };
1243
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1269
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1244
1270
  };
1271
+ handler: string;
1245
1272
  prompt: {
1246
1273
  system: string;
1247
1274
  instructions?: string[] | undefined;
@@ -1282,19 +1309,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1282
1309
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1283
1310
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1284
1311
  }>;
1285
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
1312
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
1286
1313
  }, "strict", z.ZodTypeAny, {
1287
1314
  content: {
1288
1315
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1289
1316
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1290
1317
  };
1291
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1318
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1292
1319
  }, {
1293
1320
  content: {
1294
1321
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1295
1322
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1296
1323
  };
1297
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1324
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1298
1325
  }>;
1299
1326
  prompt: z.ZodObject<{
1300
1327
  system: z.ZodString;
@@ -1309,14 +1336,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1309
1336
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1310
1337
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1311
1338
  }, "strict", z.ZodTypeAny, {
1312
- handler: string;
1313
1339
  permissions: {
1314
1340
  content: {
1315
1341
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1316
1342
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1317
1343
  };
1318
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1344
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1319
1345
  };
1346
+ handler: string;
1320
1347
  prompt: {
1321
1348
  system: string;
1322
1349
  instructions?: string[] | undefined;
@@ -1328,14 +1355,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1328
1355
  additionalContext?: string[] | undefined;
1329
1356
  parameters?: Record<string, unknown> | undefined;
1330
1357
  }, {
1331
- handler: string;
1332
1358
  permissions: {
1333
1359
  content: {
1334
1360
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1335
1361
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1336
1362
  };
1337
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1363
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1338
1364
  };
1365
+ handler: string;
1339
1366
  prompt: {
1340
1367
  system: string;
1341
1368
  instructions?: string[] | undefined;
@@ -1376,19 +1403,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1376
1403
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1377
1404
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1378
1405
  }>;
1379
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
1406
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
1380
1407
  }, "strict", z.ZodTypeAny, {
1381
1408
  content: {
1382
1409
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1383
1410
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1384
1411
  };
1385
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1412
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1386
1413
  }, {
1387
1414
  content: {
1388
1415
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1389
1416
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1390
1417
  };
1391
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1418
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1392
1419
  }>;
1393
1420
  prompt: z.ZodObject<{
1394
1421
  system: z.ZodString;
@@ -1403,14 +1430,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1403
1430
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1404
1431
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1405
1432
  }, "strict", z.ZodTypeAny, {
1406
- handler: string;
1407
1433
  permissions: {
1408
1434
  content: {
1409
1435
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1410
1436
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1411
1437
  };
1412
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1438
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1413
1439
  };
1440
+ handler: string;
1414
1441
  prompt: {
1415
1442
  system: string;
1416
1443
  instructions?: string[] | undefined;
@@ -1422,14 +1449,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1422
1449
  additionalContext?: string[] | undefined;
1423
1450
  parameters?: Record<string, unknown> | undefined;
1424
1451
  }, {
1425
- handler: string;
1426
1452
  permissions: {
1427
1453
  content: {
1428
1454
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1429
1455
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1430
1456
  };
1431
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1457
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1432
1458
  };
1459
+ handler: string;
1433
1460
  prompt: {
1434
1461
  system: string;
1435
1462
  instructions?: string[] | undefined;
@@ -1470,19 +1497,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1470
1497
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1471
1498
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1472
1499
  }>;
1473
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
1500
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
1474
1501
  }, "strict", z.ZodTypeAny, {
1475
1502
  content: {
1476
1503
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1477
1504
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1478
1505
  };
1479
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1506
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1480
1507
  }, {
1481
1508
  content: {
1482
1509
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1483
1510
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1484
1511
  };
1485
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1512
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1486
1513
  }>;
1487
1514
  prompt: z.ZodObject<{
1488
1515
  system: z.ZodString;
@@ -1497,14 +1524,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1497
1524
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1498
1525
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1499
1526
  }, "strict", z.ZodTypeAny, {
1500
- handler: string;
1501
1527
  permissions: {
1502
1528
  content: {
1503
1529
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1504
1530
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1505
1531
  };
1506
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1532
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1507
1533
  };
1534
+ handler: string;
1508
1535
  prompt: {
1509
1536
  system: string;
1510
1537
  instructions?: string[] | undefined;
@@ -1516,14 +1543,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1516
1543
  additionalContext?: string[] | undefined;
1517
1544
  parameters?: Record<string, unknown> | undefined;
1518
1545
  }, {
1519
- handler: string;
1520
1546
  permissions: {
1521
1547
  content: {
1522
1548
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1523
1549
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1524
1550
  };
1525
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1551
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1526
1552
  };
1553
+ handler: string;
1527
1554
  prompt: {
1528
1555
  system: string;
1529
1556
  instructions?: string[] | undefined;
@@ -1564,19 +1591,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1564
1591
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1565
1592
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1566
1593
  }>;
1567
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
1594
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
1568
1595
  }, "strict", z.ZodTypeAny, {
1569
1596
  content: {
1570
1597
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1571
1598
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1572
1599
  };
1573
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1600
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1574
1601
  }, {
1575
1602
  content: {
1576
1603
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1577
1604
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1578
1605
  };
1579
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1606
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1580
1607
  }>;
1581
1608
  prompt: z.ZodObject<{
1582
1609
  system: z.ZodString;
@@ -1591,14 +1618,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1591
1618
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1592
1619
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1593
1620
  }, "strict", z.ZodTypeAny, {
1594
- handler: string;
1595
1621
  permissions: {
1596
1622
  content: {
1597
1623
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1598
1624
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1599
1625
  };
1600
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1626
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1601
1627
  };
1628
+ handler: string;
1602
1629
  prompt: {
1603
1630
  system: string;
1604
1631
  instructions?: string[] | undefined;
@@ -1610,14 +1637,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1610
1637
  additionalContext?: string[] | undefined;
1611
1638
  parameters?: Record<string, unknown> | undefined;
1612
1639
  }, {
1613
- handler: string;
1614
1640
  permissions: {
1615
1641
  content: {
1616
1642
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1617
1643
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1618
1644
  };
1619
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1645
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1620
1646
  };
1647
+ handler: string;
1621
1648
  prompt: {
1622
1649
  system: string;
1623
1650
  instructions?: string[] | undefined;
@@ -1658,19 +1685,19 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1658
1685
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1659
1686
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1660
1687
  }>;
1661
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("release" | "discussion" | "source.read" | "source.write" | "verification")[], ("release" | "discussion" | "source.read" | "source.write" | "verification")[]>;
1688
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
1662
1689
  }, "strict", z.ZodTypeAny, {
1663
1690
  content: {
1664
1691
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1665
1692
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1666
1693
  };
1667
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1694
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1668
1695
  }, {
1669
1696
  content: {
1670
1697
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1671
1698
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1672
1699
  };
1673
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1700
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1674
1701
  }>;
1675
1702
  prompt: z.ZodObject<{
1676
1703
  system: z.ZodString;
@@ -1685,14 +1712,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1685
1712
  additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
1686
1713
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1687
1714
  }, "strict", z.ZodTypeAny, {
1688
- handler: string;
1689
1715
  permissions: {
1690
1716
  content: {
1691
1717
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1692
1718
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1693
1719
  };
1694
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1720
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1695
1721
  };
1722
+ handler: string;
1696
1723
  prompt: {
1697
1724
  system: string;
1698
1725
  instructions?: string[] | undefined;
@@ -1704,14 +1731,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1704
1731
  additionalContext?: string[] | undefined;
1705
1732
  parameters?: Record<string, unknown> | undefined;
1706
1733
  }, {
1707
- handler: string;
1708
1734
  permissions: {
1709
1735
  content: {
1710
1736
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1711
1737
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1712
1738
  };
1713
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1739
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1714
1740
  };
1741
+ handler: string;
1715
1742
  prompt: {
1716
1743
  system: string;
1717
1744
  instructions?: string[] | undefined;
@@ -1725,14 +1752,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1725
1752
  }>>;
1726
1753
  }, "strict", z.ZodTypeAny, {
1727
1754
  planning?: {
1728
- handler: string;
1729
1755
  permissions: {
1730
1756
  content: {
1731
1757
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1732
1758
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1733
1759
  };
1734
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1760
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1735
1761
  };
1762
+ handler: string;
1736
1763
  prompt: {
1737
1764
  system: string;
1738
1765
  instructions?: string[] | undefined;
@@ -1745,14 +1772,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1745
1772
  parameters?: Record<string, unknown> | undefined;
1746
1773
  } | undefined;
1747
1774
  estimating?: {
1748
- handler: string;
1749
1775
  permissions: {
1750
1776
  content: {
1751
1777
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1752
1778
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1753
1779
  };
1754
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1780
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1755
1781
  };
1782
+ handler: string;
1756
1783
  prompt: {
1757
1784
  system: string;
1758
1785
  instructions?: string[] | undefined;
@@ -1765,14 +1792,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1765
1792
  parameters?: Record<string, unknown> | undefined;
1766
1793
  } | undefined;
1767
1794
  acting?: {
1768
- handler: string;
1769
1795
  permissions: {
1770
1796
  content: {
1771
1797
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1772
1798
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1773
1799
  };
1774
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1800
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1775
1801
  };
1802
+ handler: string;
1776
1803
  prompt: {
1777
1804
  system: string;
1778
1805
  instructions?: string[] | undefined;
@@ -1785,14 +1812,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1785
1812
  parameters?: Record<string, unknown> | undefined;
1786
1813
  } | undefined;
1787
1814
  reviewing?: {
1788
- handler: string;
1789
1815
  permissions: {
1790
1816
  content: {
1791
1817
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1792
1818
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1793
1819
  };
1794
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1820
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1795
1821
  };
1822
+ handler: string;
1796
1823
  prompt: {
1797
1824
  system: string;
1798
1825
  instructions?: string[] | undefined;
@@ -1805,14 +1832,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1805
1832
  parameters?: Record<string, unknown> | undefined;
1806
1833
  } | undefined;
1807
1834
  reporting?: {
1808
- handler: string;
1809
1835
  permissions: {
1810
1836
  content: {
1811
1837
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1812
1838
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1813
1839
  };
1814
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1840
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1815
1841
  };
1842
+ handler: string;
1816
1843
  prompt: {
1817
1844
  system: string;
1818
1845
  instructions?: string[] | undefined;
@@ -1825,14 +1852,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1825
1852
  parameters?: Record<string, unknown> | undefined;
1826
1853
  } | undefined;
1827
1854
  chat?: {
1828
- handler: string;
1829
1855
  permissions: {
1830
1856
  content: {
1831
1857
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1832
1858
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1833
1859
  };
1834
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1860
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1835
1861
  };
1862
+ handler: string;
1836
1863
  prompt: {
1837
1864
  system: string;
1838
1865
  instructions?: string[] | undefined;
@@ -1846,14 +1873,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1846
1873
  } | undefined;
1847
1874
  }, {
1848
1875
  planning?: {
1849
- handler: string;
1850
1876
  permissions: {
1851
1877
  content: {
1852
1878
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1853
1879
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1854
1880
  };
1855
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1881
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1856
1882
  };
1883
+ handler: string;
1857
1884
  prompt: {
1858
1885
  system: string;
1859
1886
  instructions?: string[] | undefined;
@@ -1866,14 +1893,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1866
1893
  parameters?: Record<string, unknown> | undefined;
1867
1894
  } | undefined;
1868
1895
  estimating?: {
1869
- handler: string;
1870
1896
  permissions: {
1871
1897
  content: {
1872
1898
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1873
1899
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1874
1900
  };
1875
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1901
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1876
1902
  };
1903
+ handler: string;
1877
1904
  prompt: {
1878
1905
  system: string;
1879
1906
  instructions?: string[] | undefined;
@@ -1886,14 +1913,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1886
1913
  parameters?: Record<string, unknown> | undefined;
1887
1914
  } | undefined;
1888
1915
  acting?: {
1889
- handler: string;
1890
1916
  permissions: {
1891
1917
  content: {
1892
1918
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1893
1919
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1894
1920
  };
1895
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1921
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1896
1922
  };
1923
+ handler: string;
1897
1924
  prompt: {
1898
1925
  system: string;
1899
1926
  instructions?: string[] | undefined;
@@ -1906,14 +1933,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1906
1933
  parameters?: Record<string, unknown> | undefined;
1907
1934
  } | undefined;
1908
1935
  reviewing?: {
1909
- handler: string;
1910
1936
  permissions: {
1911
1937
  content: {
1912
1938
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1913
1939
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1914
1940
  };
1915
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1941
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1916
1942
  };
1943
+ handler: string;
1917
1944
  prompt: {
1918
1945
  system: string;
1919
1946
  instructions?: string[] | undefined;
@@ -1926,14 +1953,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1926
1953
  parameters?: Record<string, unknown> | undefined;
1927
1954
  } | undefined;
1928
1955
  reporting?: {
1929
- handler: string;
1930
1956
  permissions: {
1931
1957
  content: {
1932
1958
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1933
1959
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1934
1960
  };
1935
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1961
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1936
1962
  };
1963
+ handler: string;
1937
1964
  prompt: {
1938
1965
  system: string;
1939
1966
  instructions?: string[] | undefined;
@@ -1946,14 +1973,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1946
1973
  parameters?: Record<string, unknown> | undefined;
1947
1974
  } | undefined;
1948
1975
  chat?: {
1949
- handler: string;
1950
1976
  permissions: {
1951
1977
  content: {
1952
1978
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1953
1979
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1954
1980
  };
1955
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
1981
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1956
1982
  };
1983
+ handler: string;
1957
1984
  prompt: {
1958
1985
  system: string;
1959
1986
  instructions?: string[] | undefined;
@@ -1967,14 +1994,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1967
1994
  } | undefined;
1968
1995
  }>, {
1969
1996
  planning?: {
1970
- handler: string;
1971
1997
  permissions: {
1972
1998
  content: {
1973
1999
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1974
2000
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1975
2001
  };
1976
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2002
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1977
2003
  };
2004
+ handler: string;
1978
2005
  prompt: {
1979
2006
  system: string;
1980
2007
  instructions?: string[] | undefined;
@@ -1987,14 +2014,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1987
2014
  parameters?: Record<string, unknown> | undefined;
1988
2015
  } | undefined;
1989
2016
  estimating?: {
1990
- handler: string;
1991
2017
  permissions: {
1992
2018
  content: {
1993
2019
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1994
2020
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
1995
2021
  };
1996
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2022
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
1997
2023
  };
2024
+ handler: string;
1998
2025
  prompt: {
1999
2026
  system: string;
2000
2027
  instructions?: string[] | undefined;
@@ -2007,14 +2034,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2007
2034
  parameters?: Record<string, unknown> | undefined;
2008
2035
  } | undefined;
2009
2036
  acting?: {
2010
- handler: string;
2011
2037
  permissions: {
2012
2038
  content: {
2013
2039
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2014
2040
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2015
2041
  };
2016
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2042
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2017
2043
  };
2044
+ handler: string;
2018
2045
  prompt: {
2019
2046
  system: string;
2020
2047
  instructions?: string[] | undefined;
@@ -2027,14 +2054,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2027
2054
  parameters?: Record<string, unknown> | undefined;
2028
2055
  } | undefined;
2029
2056
  reviewing?: {
2030
- handler: string;
2031
2057
  permissions: {
2032
2058
  content: {
2033
2059
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2034
2060
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2035
2061
  };
2036
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2062
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2037
2063
  };
2064
+ handler: string;
2038
2065
  prompt: {
2039
2066
  system: string;
2040
2067
  instructions?: string[] | undefined;
@@ -2047,14 +2074,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2047
2074
  parameters?: Record<string, unknown> | undefined;
2048
2075
  } | undefined;
2049
2076
  reporting?: {
2050
- handler: string;
2051
2077
  permissions: {
2052
2078
  content: {
2053
2079
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2054
2080
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2055
2081
  };
2056
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2082
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2057
2083
  };
2084
+ handler: string;
2058
2085
  prompt: {
2059
2086
  system: string;
2060
2087
  instructions?: string[] | undefined;
@@ -2067,14 +2094,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2067
2094
  parameters?: Record<string, unknown> | undefined;
2068
2095
  } | undefined;
2069
2096
  chat?: {
2070
- handler: string;
2071
2097
  permissions: {
2072
2098
  content: {
2073
2099
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2074
2100
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2075
2101
  };
2076
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2102
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2077
2103
  };
2104
+ handler: string;
2078
2105
  prompt: {
2079
2106
  system: string;
2080
2107
  instructions?: string[] | undefined;
@@ -2088,14 +2115,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2088
2115
  } | undefined;
2089
2116
  }, {
2090
2117
  planning?: {
2091
- handler: string;
2092
2118
  permissions: {
2093
2119
  content: {
2094
2120
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2095
2121
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2096
2122
  };
2097
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2123
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2098
2124
  };
2125
+ handler: string;
2099
2126
  prompt: {
2100
2127
  system: string;
2101
2128
  instructions?: string[] | undefined;
@@ -2108,14 +2135,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2108
2135
  parameters?: Record<string, unknown> | undefined;
2109
2136
  } | undefined;
2110
2137
  estimating?: {
2111
- handler: string;
2112
2138
  permissions: {
2113
2139
  content: {
2114
2140
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2115
2141
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2116
2142
  };
2117
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2143
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2118
2144
  };
2145
+ handler: string;
2119
2146
  prompt: {
2120
2147
  system: string;
2121
2148
  instructions?: string[] | undefined;
@@ -2128,14 +2155,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2128
2155
  parameters?: Record<string, unknown> | undefined;
2129
2156
  } | undefined;
2130
2157
  acting?: {
2131
- handler: string;
2132
2158
  permissions: {
2133
2159
  content: {
2134
2160
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2135
2161
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2136
2162
  };
2137
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2163
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2138
2164
  };
2165
+ handler: string;
2139
2166
  prompt: {
2140
2167
  system: string;
2141
2168
  instructions?: string[] | undefined;
@@ -2148,14 +2175,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2148
2175
  parameters?: Record<string, unknown> | undefined;
2149
2176
  } | undefined;
2150
2177
  reviewing?: {
2151
- handler: string;
2152
2178
  permissions: {
2153
2179
  content: {
2154
2180
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2155
2181
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2156
2182
  };
2157
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2183
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2158
2184
  };
2185
+ handler: string;
2159
2186
  prompt: {
2160
2187
  system: string;
2161
2188
  instructions?: string[] | undefined;
@@ -2168,14 +2195,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2168
2195
  parameters?: Record<string, unknown> | undefined;
2169
2196
  } | undefined;
2170
2197
  reporting?: {
2171
- handler: string;
2172
2198
  permissions: {
2173
2199
  content: {
2174
2200
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2175
2201
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2176
2202
  };
2177
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2203
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2178
2204
  };
2205
+ handler: string;
2179
2206
  prompt: {
2180
2207
  system: string;
2181
2208
  instructions?: string[] | undefined;
@@ -2188,14 +2215,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2188
2215
  parameters?: Record<string, unknown> | undefined;
2189
2216
  } | undefined;
2190
2217
  chat?: {
2191
- handler: string;
2192
2218
  permissions: {
2193
2219
  content: {
2194
2220
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2195
2221
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2196
2222
  };
2197
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2223
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2198
2224
  };
2225
+ handler: string;
2199
2226
  prompt: {
2200
2227
  system: string;
2201
2228
  instructions?: string[] | undefined;
@@ -2212,23 +2239,23 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2212
2239
  id: string;
2213
2240
  name: string;
2214
2241
  schemaVersion: "treeseed.agent/v1";
2215
- capabilities: string[];
2216
2242
  purpose: string;
2217
2243
  responsibilities: string[];
2218
2244
  agentClass: string;
2245
+ capabilities: string[];
2219
2246
  context: {
2220
2247
  include: string[];
2221
2248
  };
2222
2249
  activityProfiles: {
2223
2250
  planning?: {
2224
- handler: string;
2225
2251
  permissions: {
2226
2252
  content: {
2227
2253
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2228
2254
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2229
2255
  };
2230
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2256
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2231
2257
  };
2258
+ handler: string;
2232
2259
  prompt: {
2233
2260
  system: string;
2234
2261
  instructions?: string[] | undefined;
@@ -2241,14 +2268,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2241
2268
  parameters?: Record<string, unknown> | undefined;
2242
2269
  } | undefined;
2243
2270
  estimating?: {
2244
- handler: string;
2245
2271
  permissions: {
2246
2272
  content: {
2247
2273
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2248
2274
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2249
2275
  };
2250
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2276
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2251
2277
  };
2278
+ handler: string;
2252
2279
  prompt: {
2253
2280
  system: string;
2254
2281
  instructions?: string[] | undefined;
@@ -2261,14 +2288,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2261
2288
  parameters?: Record<string, unknown> | undefined;
2262
2289
  } | undefined;
2263
2290
  acting?: {
2264
- handler: string;
2265
2291
  permissions: {
2266
2292
  content: {
2267
2293
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2268
2294
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2269
2295
  };
2270
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2296
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2271
2297
  };
2298
+ handler: string;
2272
2299
  prompt: {
2273
2300
  system: string;
2274
2301
  instructions?: string[] | undefined;
@@ -2281,14 +2308,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2281
2308
  parameters?: Record<string, unknown> | undefined;
2282
2309
  } | undefined;
2283
2310
  reviewing?: {
2284
- handler: string;
2285
2311
  permissions: {
2286
2312
  content: {
2287
2313
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2288
2314
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2289
2315
  };
2290
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2316
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2291
2317
  };
2318
+ handler: string;
2292
2319
  prompt: {
2293
2320
  system: string;
2294
2321
  instructions?: string[] | undefined;
@@ -2301,14 +2328,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2301
2328
  parameters?: Record<string, unknown> | undefined;
2302
2329
  } | undefined;
2303
2330
  reporting?: {
2304
- handler: string;
2305
2331
  permissions: {
2306
2332
  content: {
2307
2333
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2308
2334
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2309
2335
  };
2310
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2336
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2311
2337
  };
2338
+ handler: string;
2312
2339
  prompt: {
2313
2340
  system: string;
2314
2341
  instructions?: string[] | undefined;
@@ -2321,14 +2348,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2321
2348
  parameters?: Record<string, unknown> | undefined;
2322
2349
  } | undefined;
2323
2350
  chat?: {
2324
- handler: string;
2325
2351
  permissions: {
2326
2352
  content: {
2327
2353
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2328
2354
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2329
2355
  };
2330
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2356
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2331
2357
  };
2358
+ handler: string;
2332
2359
  prompt: {
2333
2360
  system: string;
2334
2361
  instructions?: string[] | undefined;
@@ -2341,27 +2368,28 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2341
2368
  parameters?: Record<string, unknown> | undefined;
2342
2369
  } | undefined;
2343
2370
  };
2371
+ groupIds?: string[] | undefined;
2344
2372
  }, {
2345
2373
  id: string;
2346
2374
  name: string;
2347
2375
  schemaVersion: "treeseed.agent/v1";
2348
- capabilities: string[];
2349
2376
  purpose: string;
2350
2377
  responsibilities: string[];
2351
2378
  agentClass: string;
2379
+ capabilities: string[];
2352
2380
  context: {
2353
2381
  include: string[];
2354
2382
  };
2355
2383
  activityProfiles: {
2356
2384
  planning?: {
2357
- handler: string;
2358
2385
  permissions: {
2359
2386
  content: {
2360
2387
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2361
2388
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2362
2389
  };
2363
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2390
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2364
2391
  };
2392
+ handler: string;
2365
2393
  prompt: {
2366
2394
  system: string;
2367
2395
  instructions?: string[] | undefined;
@@ -2374,14 +2402,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2374
2402
  parameters?: Record<string, unknown> | undefined;
2375
2403
  } | undefined;
2376
2404
  estimating?: {
2377
- handler: string;
2378
2405
  permissions: {
2379
2406
  content: {
2380
2407
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2381
2408
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2382
2409
  };
2383
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2410
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2384
2411
  };
2412
+ handler: string;
2385
2413
  prompt: {
2386
2414
  system: string;
2387
2415
  instructions?: string[] | undefined;
@@ -2394,14 +2422,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2394
2422
  parameters?: Record<string, unknown> | undefined;
2395
2423
  } | undefined;
2396
2424
  acting?: {
2397
- handler: string;
2398
2425
  permissions: {
2399
2426
  content: {
2400
2427
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2401
2428
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2402
2429
  };
2403
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2430
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2404
2431
  };
2432
+ handler: string;
2405
2433
  prompt: {
2406
2434
  system: string;
2407
2435
  instructions?: string[] | undefined;
@@ -2414,14 +2442,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2414
2442
  parameters?: Record<string, unknown> | undefined;
2415
2443
  } | undefined;
2416
2444
  reviewing?: {
2417
- handler: string;
2418
2445
  permissions: {
2419
2446
  content: {
2420
2447
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2421
2448
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2422
2449
  };
2423
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2450
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2424
2451
  };
2452
+ handler: string;
2425
2453
  prompt: {
2426
2454
  system: string;
2427
2455
  instructions?: string[] | undefined;
@@ -2434,14 +2462,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2434
2462
  parameters?: Record<string, unknown> | undefined;
2435
2463
  } | undefined;
2436
2464
  reporting?: {
2437
- handler: string;
2438
2465
  permissions: {
2439
2466
  content: {
2440
2467
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2441
2468
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2442
2469
  };
2443
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2470
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2444
2471
  };
2472
+ handler: string;
2445
2473
  prompt: {
2446
2474
  system: string;
2447
2475
  instructions?: string[] | undefined;
@@ -2454,14 +2482,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2454
2482
  parameters?: Record<string, unknown> | undefined;
2455
2483
  } | undefined;
2456
2484
  chat?: {
2457
- handler: string;
2458
2485
  permissions: {
2459
2486
  content: {
2460
2487
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2461
2488
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2462
2489
  };
2463
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2490
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2464
2491
  };
2492
+ handler: string;
2465
2493
  prompt: {
2466
2494
  system: string;
2467
2495
  instructions?: string[] | undefined;
@@ -2474,27 +2502,28 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2474
2502
  parameters?: Record<string, unknown> | undefined;
2475
2503
  } | undefined;
2476
2504
  };
2505
+ groupIds?: string[] | undefined;
2477
2506
  }>, {
2478
2507
  id: string;
2479
2508
  name: string;
2480
2509
  schemaVersion: "treeseed.agent/v1";
2481
- capabilities: string[];
2482
2510
  purpose: string;
2483
2511
  responsibilities: string[];
2484
2512
  agentClass: string;
2513
+ capabilities: string[];
2485
2514
  context: {
2486
2515
  include: string[];
2487
2516
  };
2488
2517
  activityProfiles: {
2489
2518
  planning?: {
2490
- handler: string;
2491
2519
  permissions: {
2492
2520
  content: {
2493
2521
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2494
2522
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2495
2523
  };
2496
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2524
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2497
2525
  };
2526
+ handler: string;
2498
2527
  prompt: {
2499
2528
  system: string;
2500
2529
  instructions?: string[] | undefined;
@@ -2507,14 +2536,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2507
2536
  parameters?: Record<string, unknown> | undefined;
2508
2537
  } | undefined;
2509
2538
  estimating?: {
2510
- handler: string;
2511
2539
  permissions: {
2512
2540
  content: {
2513
2541
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2514
2542
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2515
2543
  };
2516
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2544
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2517
2545
  };
2546
+ handler: string;
2518
2547
  prompt: {
2519
2548
  system: string;
2520
2549
  instructions?: string[] | undefined;
@@ -2527,14 +2556,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2527
2556
  parameters?: Record<string, unknown> | undefined;
2528
2557
  } | undefined;
2529
2558
  acting?: {
2530
- handler: string;
2531
2559
  permissions: {
2532
2560
  content: {
2533
2561
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2534
2562
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2535
2563
  };
2536
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2564
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2537
2565
  };
2566
+ handler: string;
2538
2567
  prompt: {
2539
2568
  system: string;
2540
2569
  instructions?: string[] | undefined;
@@ -2547,14 +2576,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2547
2576
  parameters?: Record<string, unknown> | undefined;
2548
2577
  } | undefined;
2549
2578
  reviewing?: {
2550
- handler: string;
2551
2579
  permissions: {
2552
2580
  content: {
2553
2581
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2554
2582
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2555
2583
  };
2556
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2584
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2557
2585
  };
2586
+ handler: string;
2558
2587
  prompt: {
2559
2588
  system: string;
2560
2589
  instructions?: string[] | undefined;
@@ -2567,14 +2596,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2567
2596
  parameters?: Record<string, unknown> | undefined;
2568
2597
  } | undefined;
2569
2598
  reporting?: {
2570
- handler: string;
2571
2599
  permissions: {
2572
2600
  content: {
2573
2601
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2574
2602
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2575
2603
  };
2576
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2604
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2577
2605
  };
2606
+ handler: string;
2578
2607
  prompt: {
2579
2608
  system: string;
2580
2609
  instructions?: string[] | undefined;
@@ -2587,14 +2616,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2587
2616
  parameters?: Record<string, unknown> | undefined;
2588
2617
  } | undefined;
2589
2618
  chat?: {
2590
- handler: string;
2591
2619
  permissions: {
2592
2620
  content: {
2593
2621
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2594
2622
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2595
2623
  };
2596
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2624
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2597
2625
  };
2626
+ handler: string;
2598
2627
  prompt: {
2599
2628
  system: string;
2600
2629
  instructions?: string[] | undefined;
@@ -2607,27 +2636,28 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2607
2636
  parameters?: Record<string, unknown> | undefined;
2608
2637
  } | undefined;
2609
2638
  };
2639
+ groupIds?: string[] | undefined;
2610
2640
  }, {
2611
2641
  id: string;
2612
2642
  name: string;
2613
2643
  schemaVersion: "treeseed.agent/v1";
2614
- capabilities: string[];
2615
2644
  purpose: string;
2616
2645
  responsibilities: string[];
2617
2646
  agentClass: string;
2647
+ capabilities: string[];
2618
2648
  context: {
2619
2649
  include: string[];
2620
2650
  };
2621
2651
  activityProfiles: {
2622
2652
  planning?: {
2623
- handler: string;
2624
2653
  permissions: {
2625
2654
  content: {
2626
2655
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2627
2656
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2628
2657
  };
2629
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2658
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2630
2659
  };
2660
+ handler: string;
2631
2661
  prompt: {
2632
2662
  system: string;
2633
2663
  instructions?: string[] | undefined;
@@ -2640,14 +2670,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2640
2670
  parameters?: Record<string, unknown> | undefined;
2641
2671
  } | undefined;
2642
2672
  estimating?: {
2643
- handler: string;
2644
2673
  permissions: {
2645
2674
  content: {
2646
2675
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2647
2676
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2648
2677
  };
2649
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2678
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2650
2679
  };
2680
+ handler: string;
2651
2681
  prompt: {
2652
2682
  system: string;
2653
2683
  instructions?: string[] | undefined;
@@ -2660,14 +2690,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2660
2690
  parameters?: Record<string, unknown> | undefined;
2661
2691
  } | undefined;
2662
2692
  acting?: {
2663
- handler: string;
2664
2693
  permissions: {
2665
2694
  content: {
2666
2695
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2667
2696
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2668
2697
  };
2669
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2698
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2670
2699
  };
2700
+ handler: string;
2671
2701
  prompt: {
2672
2702
  system: string;
2673
2703
  instructions?: string[] | undefined;
@@ -2680,14 +2710,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2680
2710
  parameters?: Record<string, unknown> | undefined;
2681
2711
  } | undefined;
2682
2712
  reviewing?: {
2683
- handler: string;
2684
2713
  permissions: {
2685
2714
  content: {
2686
2715
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2687
2716
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2688
2717
  };
2689
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2718
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2690
2719
  };
2720
+ handler: string;
2691
2721
  prompt: {
2692
2722
  system: string;
2693
2723
  instructions?: string[] | undefined;
@@ -2700,14 +2730,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2700
2730
  parameters?: Record<string, unknown> | undefined;
2701
2731
  } | undefined;
2702
2732
  reporting?: {
2703
- handler: string;
2704
2733
  permissions: {
2705
2734
  content: {
2706
2735
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2707
2736
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2708
2737
  };
2709
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2738
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2710
2739
  };
2740
+ handler: string;
2711
2741
  prompt: {
2712
2742
  system: string;
2713
2743
  instructions?: string[] | undefined;
@@ -2720,14 +2750,14 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2720
2750
  parameters?: Record<string, unknown> | undefined;
2721
2751
  } | undefined;
2722
2752
  chat?: {
2723
- handler: string;
2724
2753
  permissions: {
2725
2754
  content: {
2726
2755
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2727
2756
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2728
2757
  };
2729
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2758
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2730
2759
  };
2760
+ handler: string;
2731
2761
  prompt: {
2732
2762
  system: string;
2733
2763
  instructions?: string[] | undefined;
@@ -2740,6 +2770,7 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2740
2770
  parameters?: Record<string, unknown> | undefined;
2741
2771
  } | undefined;
2742
2772
  };
2773
+ groupIds?: string[] | undefined;
2743
2774
  }>;
2744
2775
  export declare function diagnosticsFromZod(error: ZodError, prefix?: string): {
2745
2776
  code: string;
@@ -2753,23 +2784,23 @@ export declare function validateAgentDefinitionModel(value: unknown): {
2753
2784
  id: string;
2754
2785
  name: string;
2755
2786
  schemaVersion: "treeseed.agent/v1";
2756
- capabilities: string[];
2757
2787
  purpose: string;
2758
2788
  responsibilities: string[];
2759
2789
  agentClass: string;
2790
+ capabilities: string[];
2760
2791
  context: {
2761
2792
  include: string[];
2762
2793
  };
2763
2794
  activityProfiles: {
2764
2795
  planning?: {
2765
- handler: string;
2766
2796
  permissions: {
2767
2797
  content: {
2768
2798
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2769
2799
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2770
2800
  };
2771
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2801
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2772
2802
  };
2803
+ handler: string;
2773
2804
  prompt: {
2774
2805
  system: string;
2775
2806
  instructions?: string[] | undefined;
@@ -2782,14 +2813,14 @@ export declare function validateAgentDefinitionModel(value: unknown): {
2782
2813
  parameters?: Record<string, unknown> | undefined;
2783
2814
  } | undefined;
2784
2815
  estimating?: {
2785
- handler: string;
2786
2816
  permissions: {
2787
2817
  content: {
2788
2818
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2789
2819
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2790
2820
  };
2791
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2821
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2792
2822
  };
2823
+ handler: string;
2793
2824
  prompt: {
2794
2825
  system: string;
2795
2826
  instructions?: string[] | undefined;
@@ -2802,14 +2833,14 @@ export declare function validateAgentDefinitionModel(value: unknown): {
2802
2833
  parameters?: Record<string, unknown> | undefined;
2803
2834
  } | undefined;
2804
2835
  acting?: {
2805
- handler: string;
2806
2836
  permissions: {
2807
2837
  content: {
2808
2838
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2809
2839
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2810
2840
  };
2811
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2841
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2812
2842
  };
2843
+ handler: string;
2813
2844
  prompt: {
2814
2845
  system: string;
2815
2846
  instructions?: string[] | undefined;
@@ -2822,14 +2853,14 @@ export declare function validateAgentDefinitionModel(value: unknown): {
2822
2853
  parameters?: Record<string, unknown> | undefined;
2823
2854
  } | undefined;
2824
2855
  reviewing?: {
2825
- handler: string;
2826
2856
  permissions: {
2827
2857
  content: {
2828
2858
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2829
2859
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2830
2860
  };
2831
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2861
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2832
2862
  };
2863
+ handler: string;
2833
2864
  prompt: {
2834
2865
  system: string;
2835
2866
  instructions?: string[] | undefined;
@@ -2842,14 +2873,14 @@ export declare function validateAgentDefinitionModel(value: unknown): {
2842
2873
  parameters?: Record<string, unknown> | undefined;
2843
2874
  } | undefined;
2844
2875
  reporting?: {
2845
- handler: string;
2846
2876
  permissions: {
2847
2877
  content: {
2848
2878
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2849
2879
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2850
2880
  };
2851
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2881
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2852
2882
  };
2883
+ handler: string;
2853
2884
  prompt: {
2854
2885
  system: string;
2855
2886
  instructions?: string[] | undefined;
@@ -2862,14 +2893,14 @@ export declare function validateAgentDefinitionModel(value: unknown): {
2862
2893
  parameters?: Record<string, unknown> | undefined;
2863
2894
  } | undefined;
2864
2895
  chat?: {
2865
- handler: string;
2866
2896
  permissions: {
2867
2897
  content: {
2868
2898
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2869
2899
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2870
2900
  };
2871
- tools: ("release" | "discussion" | "source.read" | "source.write" | "verification")[];
2901
+ tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2872
2902
  };
2903
+ handler: string;
2873
2904
  prompt: {
2874
2905
  system: string;
2875
2906
  instructions?: string[] | undefined;
@@ -2882,6 +2913,7 @@ export declare function validateAgentDefinitionModel(value: unknown): {
2882
2913
  parameters?: Record<string, unknown> | undefined;
2883
2914
  } | undefined;
2884
2915
  };
2916
+ groupIds?: string[] | undefined;
2885
2917
  };
2886
2918
  } | {
2887
2919
  ok: boolean;