@spencerbeggs/claude-coordinator-core 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/index.d.ts +20 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# @spencerbeggs/claude-coordinator-core
|
|
2
2
|
|
|
3
|
+
> **This package is deprecated and no longer maintained.**
|
|
4
|
+
> Claude Code added [native support for cross-session messageing](https://code.claude.com/docs/en/cross-session-messaging) between agents in v2.1.224.
|
|
5
|
+
> This project was a fun experiment. Thank you to everyone who tried it out and provided feedback.
|
|
6
|
+
> No further releases, fixes or security patches will be published here.
|
|
7
|
+
|
|
3
8
|
Core schemas and TypeScript types for the Claude Coordinator system, providing
|
|
4
9
|
Zod-based validation and type-safe communication primitives.
|
|
5
10
|
|
package/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { z } from "zod";
|
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
declare const AgentRoleSchema: z.ZodEnum<{
|
|
8
|
+
export declare const AgentRoleSchema: z.ZodEnum<{
|
|
9
9
|
source: "source";
|
|
10
10
|
target: "target";
|
|
11
11
|
}>;
|
|
@@ -20,7 +20,7 @@ type AgentRole = z.infer<typeof AgentRoleSchema>;
|
|
|
20
20
|
*
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
|
-
declare const AgentSchema: z.ZodObject<{
|
|
23
|
+
export declare const AgentSchema: z.ZodObject<{
|
|
24
24
|
id: z.ZodString;
|
|
25
25
|
role: z.ZodEnum<{
|
|
26
26
|
source: "source";
|
|
@@ -41,7 +41,7 @@ type Agent = z.infer<typeof AgentSchema>;
|
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
declare const JoinInputSchema: z.ZodObject<{
|
|
44
|
+
export declare const JoinInputSchema: z.ZodObject<{
|
|
45
45
|
name: z.ZodString;
|
|
46
46
|
role: z.ZodEnum<{
|
|
47
47
|
source: "source";
|
|
@@ -60,7 +60,7 @@ type JoinInput = z.infer<typeof JoinInputSchema>;
|
|
|
60
60
|
*
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
|
-
declare const JoinResultSchema: z.ZodObject<{
|
|
63
|
+
export declare const JoinResultSchema: z.ZodObject<{
|
|
64
64
|
agent: z.ZodObject<{
|
|
65
65
|
id: z.ZodString;
|
|
66
66
|
role: z.ZodEnum<{
|
|
@@ -86,7 +86,7 @@ type JoinResult = z.infer<typeof JoinResultSchema>;
|
|
|
86
86
|
*
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
89
|
-
declare const ContextEntrySchema: z.ZodObject<{
|
|
89
|
+
export declare const ContextEntrySchema: z.ZodObject<{
|
|
90
90
|
id: z.ZodString;
|
|
91
91
|
key: z.ZodString;
|
|
92
92
|
value: z.ZodString;
|
|
@@ -106,7 +106,7 @@ type ContextEntry = z.infer<typeof ContextEntrySchema>;
|
|
|
106
106
|
*
|
|
107
107
|
* @public
|
|
108
108
|
*/
|
|
109
|
-
declare const ShareContextInputSchema: z.ZodObject<{
|
|
109
|
+
export declare const ShareContextInputSchema: z.ZodObject<{
|
|
110
110
|
key: z.ZodString;
|
|
111
111
|
value: z.ZodString;
|
|
112
112
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -122,7 +122,7 @@ type ShareContextInput = z.infer<typeof ShareContextInputSchema>;
|
|
|
122
122
|
*
|
|
123
123
|
* @public
|
|
124
124
|
*/
|
|
125
|
-
declare const GetContextInputSchema: z.ZodObject<{
|
|
125
|
+
export declare const GetContextInputSchema: z.ZodObject<{
|
|
126
126
|
key: z.ZodString;
|
|
127
127
|
}, z.core.$strip>;
|
|
128
128
|
/**
|
|
@@ -136,7 +136,7 @@ type GetContextInput = z.infer<typeof GetContextInputSchema>;
|
|
|
136
136
|
*
|
|
137
137
|
* @public
|
|
138
138
|
*/
|
|
139
|
-
declare const ListContextInputSchema: z.ZodObject<{
|
|
139
|
+
export declare const ListContextInputSchema: z.ZodObject<{
|
|
140
140
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
141
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
142
142
|
}, z.core.$strip>;
|
|
@@ -153,7 +153,7 @@ type ListContextInput = z.infer<typeof ListContextInputSchema>;
|
|
|
153
153
|
*
|
|
154
154
|
* @public
|
|
155
155
|
*/
|
|
156
|
-
declare const DecisionSchema: z.ZodObject<{
|
|
156
|
+
export declare const DecisionSchema: z.ZodObject<{
|
|
157
157
|
id: z.ZodString;
|
|
158
158
|
decision: z.ZodString;
|
|
159
159
|
rationale: z.ZodOptional<z.ZodString>;
|
|
@@ -171,7 +171,7 @@ type Decision = z.infer<typeof DecisionSchema>;
|
|
|
171
171
|
*
|
|
172
172
|
* @public
|
|
173
173
|
*/
|
|
174
|
-
declare const LogDecisionInputSchema: z.ZodObject<{
|
|
174
|
+
export declare const LogDecisionInputSchema: z.ZodObject<{
|
|
175
175
|
decision: z.ZodString;
|
|
176
176
|
rationale: z.ZodOptional<z.ZodString>;
|
|
177
177
|
}, z.core.$strip>;
|
|
@@ -188,7 +188,7 @@ type LogDecisionInput = z.infer<typeof LogDecisionInputSchema>;
|
|
|
188
188
|
*
|
|
189
189
|
* @public
|
|
190
190
|
*/
|
|
191
|
-
declare const QuestionStatusSchema: z.ZodEnum<{
|
|
191
|
+
export declare const QuestionStatusSchema: z.ZodEnum<{
|
|
192
192
|
answered: "answered";
|
|
193
193
|
pending: "pending";
|
|
194
194
|
}>;
|
|
@@ -203,7 +203,7 @@ type QuestionStatus = z.infer<typeof QuestionStatusSchema>;
|
|
|
203
203
|
*
|
|
204
204
|
* @public
|
|
205
205
|
*/
|
|
206
|
-
declare const QuestionSchema: z.ZodObject<{
|
|
206
|
+
export declare const QuestionSchema: z.ZodObject<{
|
|
207
207
|
id: z.ZodString;
|
|
208
208
|
question: z.ZodString;
|
|
209
209
|
from: z.ZodString;
|
|
@@ -228,7 +228,7 @@ type Question = z.infer<typeof QuestionSchema>;
|
|
|
228
228
|
*
|
|
229
229
|
* @public
|
|
230
230
|
*/
|
|
231
|
-
declare const AskInputSchema: z.ZodObject<{
|
|
231
|
+
export declare const AskInputSchema: z.ZodObject<{
|
|
232
232
|
question: z.ZodString;
|
|
233
233
|
to: z.ZodOptional<z.ZodString>;
|
|
234
234
|
}, z.core.$strip>;
|
|
@@ -243,7 +243,7 @@ type AskInput = z.infer<typeof AskInputSchema>;
|
|
|
243
243
|
*
|
|
244
244
|
* @public
|
|
245
245
|
*/
|
|
246
|
-
declare const AnswerInputSchema: z.ZodObject<{
|
|
246
|
+
export declare const AnswerInputSchema: z.ZodObject<{
|
|
247
247
|
questionId: z.ZodString;
|
|
248
248
|
answer: z.ZodString;
|
|
249
249
|
}, z.core.$strip>;
|
|
@@ -258,7 +258,7 @@ type AnswerInput = z.infer<typeof AnswerInputSchema>;
|
|
|
258
258
|
*
|
|
259
259
|
* @public
|
|
260
260
|
*/
|
|
261
|
-
declare const QuestionEventSchema: z.ZodObject<{
|
|
261
|
+
export declare const QuestionEventSchema: z.ZodObject<{
|
|
262
262
|
type: z.ZodLiteral<"question">;
|
|
263
263
|
question: z.ZodObject<{
|
|
264
264
|
id: z.ZodString;
|
|
@@ -286,7 +286,7 @@ type QuestionEvent = z.infer<typeof QuestionEventSchema>;
|
|
|
286
286
|
*
|
|
287
287
|
* @public
|
|
288
288
|
*/
|
|
289
|
-
declare const AnswerEventSchema: z.ZodObject<{
|
|
289
|
+
export declare const AnswerEventSchema: z.ZodObject<{
|
|
290
290
|
type: z.ZodLiteral<"answer">;
|
|
291
291
|
question: z.ZodObject<{
|
|
292
292
|
id: z.ZodString;
|
|
@@ -316,19 +316,19 @@ type AnswerEvent = z.infer<typeof AnswerEventSchema>;
|
|
|
316
316
|
*
|
|
317
317
|
* @public
|
|
318
318
|
*/
|
|
319
|
-
declare const DEFAULT_PORT: number;
|
|
319
|
+
export declare const DEFAULT_PORT: number;
|
|
320
320
|
/**
|
|
321
321
|
* Default host for the coordinator WebSocket server
|
|
322
322
|
*
|
|
323
323
|
* @public
|
|
324
324
|
*/
|
|
325
|
-
declare const DEFAULT_HOST: string;
|
|
325
|
+
export declare const DEFAULT_HOST: string;
|
|
326
326
|
/**
|
|
327
327
|
* Default WebSocket URL for the coordinator server
|
|
328
328
|
*
|
|
329
329
|
* @public
|
|
330
330
|
*/
|
|
331
|
-
declare const DEFAULT_URL: string;
|
|
331
|
+
export declare const DEFAULT_URL: string;
|
|
332
332
|
//#endregion
|
|
333
|
-
export {
|
|
333
|
+
export type { Agent, AgentRole, AnswerEvent, AnswerInput, AskInput, ContextEntry, Decision, GetContextInput, JoinInput, JoinResult, ListContextInput, LogDecisionInput, Question, QuestionEvent, QuestionStatus, ShareContextInput };
|
|
334
334
|
//# sourceMappingURL=index.d.ts.map
|