@lineai/agent-platform-types 0.1.1 → 0.1.2

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.
@@ -0,0 +1,122 @@
1
+ import { z } from 'zod';
2
+ import { CollectionAccessSchema, ConnectedIntegrationSchema, ContextFileRefSchema, MemoryCardRefSchema, } from './capabilities.js';
3
+ /**
4
+ * Plugin schemas — these mirror the documents stored in Firestore at:
5
+ * organizations/{orgId}/projects/{projectId}/services/agent-platform/plugin/{section}
6
+ *
7
+ * Sections: defaults, skills, agents (subagents), mcp-servers, hooks.
8
+ *
9
+ * The line-ai console authors these documents; the agent-platform orchestrator
10
+ * loads them at task submission time and merges them into the resolved task
11
+ * definition that the runtime executes.
12
+ */
13
+ // ---------- API capabilities (mirror of runtime CapabilitiesSchema) ----------
14
+ export const PluginCapabilitiesSchema = z.object({
15
+ promptCaching: z.boolean().optional(),
16
+ extendedThinking: z
17
+ .object({
18
+ enabled: z.boolean(),
19
+ budgetTokens: z.number().min(1024),
20
+ })
21
+ .optional(),
22
+ extendedContext: z.boolean().optional(),
23
+ memory: z
24
+ .object({
25
+ enabled: z.boolean(),
26
+ backend: z.enum(['gcs', 'local']).default('gcs'),
27
+ directory: z.string().optional(),
28
+ })
29
+ .optional(),
30
+ });
31
+ // ---------- Defaults section ----------
32
+ export const PluginDefaultsSchema = z.object({
33
+ // Execution
34
+ model: z.string().optional(),
35
+ maxTurns: z.number().min(1).max(500).optional(),
36
+ timeoutSeconds: z.number().min(60).max(86400).optional(),
37
+ workingDir: z.string().optional(),
38
+ // System prompt
39
+ systemPromptRef: z.string().optional(),
40
+ persona: z.string().optional(),
41
+ constraints: z.array(z.string()).optional(),
42
+ // Tools
43
+ allowedTools: z.array(z.string()).optional(),
44
+ disabledTools: z.array(z.string()).optional(),
45
+ // SDK features
46
+ capabilities: PluginCapabilitiesSchema.optional(),
47
+ betas: z.array(z.string()).optional(),
48
+ // Capability resources (replaced — not merged — when task supplies its own)
49
+ integrations: z.array(ConnectedIntegrationSchema).optional(),
50
+ collections: z.array(CollectionAccessSchema).optional(),
51
+ contextFiles: z.array(ContextFileRefSchema).optional(),
52
+ memoryCards: z.array(MemoryCardRefSchema).optional(),
53
+ });
54
+ // ---------- Skills section ----------
55
+ export const SkillSchema = z.object({
56
+ id: z.string(),
57
+ name: z.string(),
58
+ description: z.string(),
59
+ body: z.string(),
60
+ allowedTools: z.array(z.string()).optional(),
61
+ });
62
+ export const PluginSkillsSchema = z.object({
63
+ items: z.array(SkillSchema).default([]),
64
+ });
65
+ // ---------- Subagents section ----------
66
+ export const SubagentModelChoiceSchema = z.enum([
67
+ 'inherit',
68
+ 'haiku',
69
+ 'sonnet',
70
+ 'opus',
71
+ ]);
72
+ export const PluginSubagentSchema = z.object({
73
+ id: z.string(),
74
+ name: z.string(),
75
+ description: z.string(),
76
+ prompt: z.string(),
77
+ tools: z.array(z.string()).optional(),
78
+ model: SubagentModelChoiceSchema.optional(),
79
+ // Skill IDs the subagent should have access to (resolved via .claude/skills/).
80
+ skills: z.array(z.string()).optional(),
81
+ // MCP server names (keys in the merged mcpServers catalog).
82
+ mcpServers: z.array(z.string()).optional(),
83
+ });
84
+ export const PluginAgentsSchema = z.object({
85
+ items: z.array(PluginSubagentSchema).default([]),
86
+ });
87
+ // ---------- MCP servers section ----------
88
+ export const PluginMcpServerEntrySchema = z.object({
89
+ type: z.literal('http'),
90
+ url: z.string().url(),
91
+ headers: z.record(z.string()).optional(),
92
+ });
93
+ export const PluginMcpServersSchema = z.object({
94
+ servers: z.record(PluginMcpServerEntrySchema).default({}),
95
+ });
96
+ // ---------- Hooks section (read-only, deferred) ----------
97
+ export const PluginHookSchema = z.object({
98
+ id: z.string(),
99
+ name: z.string(),
100
+ description: z.string(),
101
+ event: z.string(),
102
+ });
103
+ export const PluginHooksSchema = z.object({
104
+ items: z.array(PluginHookSchema).default([]),
105
+ });
106
+ // ---------- Full plugin snapshot ----------
107
+ export const PluginSnapshotSchema = z.object({
108
+ defaults: PluginDefaultsSchema.nullable().optional(),
109
+ skills: PluginSkillsSchema.nullable().optional(),
110
+ agents: PluginAgentsSchema.nullable().optional(),
111
+ 'mcp-servers': PluginMcpServersSchema.nullable().optional(),
112
+ hooks: PluginHooksSchema.nullable().optional(),
113
+ });
114
+ /** The Firestore section keys, in load order. */
115
+ export const PLUGIN_SECTIONS = [
116
+ 'defaults',
117
+ 'skills',
118
+ 'agents',
119
+ 'mcp-servers',
120
+ 'hooks',
121
+ ];
122
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAC1B,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;GASG;AAEH,gFAAgF;AAEhF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACrC,gBAAgB,EAAE,CAAC;SAChB,MAAM,CAAC;QACN,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;QACpB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;KACnC,CAAC;SACD,QAAQ,EAAE;IACb,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACvC,MAAM,EAAE,CAAC;SACN,MAAM,CAAC;QACN,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;QACpB,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;QAChD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACjC,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CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC7C,CAAC,CAAC;AAGH,6CAA6C;AAE7C,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,QAAQ,EAAE,oBAAoB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACpD,MAAM,EAAE,kBAAkB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAChD,MAAM,EAAE,kBAAkB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAChD,aAAa,EAAE,sBAAsB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3D,KAAK,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC;AAGH,iDAAiD;AACjD,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,UAAU;IACV,QAAQ;IACR,QAAQ;IACR,aAAa;IACb,OAAO;CACC,CAAC"}
@@ -582,3 +582,4 @@ export declare const TaskListResponseSchema: z.ZodObject<{
582
582
  nextPageToken?: string | undefined;
583
583
  }>;
584
584
  export type TaskListResponse = z.infer<typeof TaskListResponseSchema>;
585
+ //# sourceMappingURL=records.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"records.d.ts","sourceRoot":"","sources":["../src/records.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;GAOG;AAEH,eAAO,MAAM,gBAAgB,uEAM3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,eAAe,+CAA6C,CAAC;AAC1E,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY3B,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
3
+ * Persisted records returned by the agent platform API. These represent
4
+ * Firestore documents the orchestrator owns:
5
+ *
6
+ * organizations/{orgId}/projects/{projectId}/services/agent-platform/
7
+ * tasks/{taskId} ← TaskRecord
8
+ * tasks/{taskId}/runs/{runId} ← RunRecord
9
+ */
10
+ export const TaskStatusSchema = z.enum([
11
+ 'pending',
12
+ 'running',
13
+ 'succeeded',
14
+ 'failed',
15
+ 'cancelled',
16
+ ]);
17
+ export const RunStatusSchema = z.enum(['running', 'succeeded', 'failed']);
18
+ export const RunMetricsSchema = z.object({
19
+ turns: z.number(),
20
+ durationMs: z.number(),
21
+ tokens: z
22
+ .object({
23
+ input: z.number(),
24
+ output: z.number(),
25
+ cacheRead: z.number().optional(),
26
+ cacheCreation: z.number().optional(),
27
+ source: z.enum(['sdk', 'reconciled']),
28
+ })
29
+ .optional(),
30
+ });
31
+ export const RunRecordSchema = z.object({
32
+ id: z.string(),
33
+ taskId: z.string(),
34
+ status: RunStatusSchema,
35
+ sessionId: z.string().optional(),
36
+ jobName: z.string().optional(),
37
+ startedAt: z.string(),
38
+ completedAt: z.string().optional(),
39
+ result: z.string().optional(),
40
+ error: z.string().optional(),
41
+ artifacts: z.array(z.string()).default([]),
42
+ metrics: RunMetricsSchema,
43
+ });
44
+ export const TaskRecordSchema = z.object({
45
+ id: z.string(),
46
+ workflowId: z.string().optional(),
47
+ status: TaskStatusSchema,
48
+ createdAt: z.string(),
49
+ createdBy: z.string(),
50
+ idempotencyKey: z.string().optional(),
51
+ definition: z.record(z.unknown()),
52
+ callbackUrl: z.string().optional(),
53
+ orgId: z.string(),
54
+ projectId: z.string(),
55
+ });
56
+ export const TaskDetailResponseSchema = TaskRecordSchema.extend({
57
+ latestRun: RunRecordSchema.optional(),
58
+ runs: z.array(RunRecordSchema).optional(),
59
+ });
60
+ export const TaskListResponseSchema = z.object({
61
+ tasks: z.array(TaskRecordSchema),
62
+ nextPageToken: z.string().optional(),
63
+ });
64
+ //# sourceMappingURL=records.js.map
@@ -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BAAgB,CAAC;IAChC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC"}
@@ -107,18 +107,18 @@ export declare const TaskSubmissionDefinitionSchema: z.ZodObject<{
107
107
  useAllTools: z.ZodOptional<z.ZodBoolean>;
108
108
  toolSlugs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
109
109
  }, "strip", z.ZodTypeAny, {
110
+ name: string;
110
111
  status: string;
111
112
  slug: string;
112
113
  connectionPath: string;
113
- name: string;
114
114
  logo?: string | undefined;
115
115
  useAllTools?: boolean | undefined;
116
116
  toolSlugs?: string[] | undefined;
117
117
  }, {
118
+ name: string;
118
119
  status: string;
119
120
  slug: string;
120
121
  connectionPath: string;
121
- name: string;
122
122
  logo?: string | undefined;
123
123
  useAllTools?: boolean | undefined;
124
124
  toolSlugs?: string[] | undefined;
@@ -140,15 +140,15 @@ export declare const TaskSubmissionDefinitionSchema: z.ZodObject<{
140
140
  type: z.ZodString;
141
141
  gsUrl: z.ZodString;
142
142
  }, "strip", z.ZodTypeAny, {
143
+ name: string;
143
144
  type: string;
144
145
  size: number;
145
- name: string;
146
146
  id: string;
147
147
  gsUrl: string;
148
148
  }, {
149
+ name: string;
149
150
  type: string;
150
151
  size: number;
151
- name: string;
152
152
  id: string;
153
153
  gsUrl: string;
154
154
  }>, "many">>;
@@ -158,12 +158,12 @@ export declare const TaskSubmissionDefinitionSchema: z.ZodObject<{
158
158
  url: z.ZodString;
159
159
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
160
160
  }, "strip", z.ZodTypeAny, {
161
- url: string;
162
161
  type: "http";
162
+ url: string;
163
163
  headers?: Record<string, string> | undefined;
164
164
  }, {
165
- url: string;
166
165
  type: "http";
166
+ url: string;
167
167
  headers?: Record<string, string> | undefined;
168
168
  }>, z.ZodObject<{
169
169
  type: z.ZodEnum<["stdio", "http"]>;
@@ -195,10 +195,10 @@ export declare const TaskSubmissionDefinitionSchema: z.ZodObject<{
195
195
  id: string;
196
196
  instructions: string;
197
197
  integrations?: {
198
+ name: string;
198
199
  status: string;
199
200
  slug: string;
200
201
  connectionPath: string;
201
- name: string;
202
202
  logo?: string | undefined;
203
203
  useAllTools?: boolean | undefined;
204
204
  toolSlugs?: string[] | undefined;
@@ -208,16 +208,16 @@ export declare const TaskSubmissionDefinitionSchema: z.ZodObject<{
208
208
  access: ("create" | "list" | "read" | "update" | "delete")[];
209
209
  }[] | undefined;
210
210
  contextFiles?: {
211
+ name: string;
211
212
  type: string;
212
213
  size: number;
213
- name: string;
214
214
  id: string;
215
215
  gsUrl: string;
216
216
  }[] | undefined;
217
217
  memoryCards?: string[] | undefined;
218
218
  mcpServers?: Record<string, {
219
- url: string;
220
219
  type: "http";
220
+ url: string;
221
221
  headers?: Record<string, string> | undefined;
222
222
  } | {
223
223
  type: "http" | "stdio";
@@ -240,10 +240,10 @@ export declare const TaskSubmissionDefinitionSchema: z.ZodObject<{
240
240
  id: string;
241
241
  instructions: string;
242
242
  integrations?: {
243
+ name: string;
243
244
  status: string;
244
245
  slug: string;
245
246
  connectionPath: string;
246
- name: string;
247
247
  logo?: string | undefined;
248
248
  useAllTools?: boolean | undefined;
249
249
  toolSlugs?: string[] | undefined;
@@ -253,16 +253,16 @@ export declare const TaskSubmissionDefinitionSchema: z.ZodObject<{
253
253
  access: ("create" | "list" | "read" | "update" | "delete")[];
254
254
  }[] | undefined;
255
255
  contextFiles?: {
256
+ name: string;
256
257
  type: string;
257
258
  size: number;
258
- name: string;
259
259
  id: string;
260
260
  gsUrl: string;
261
261
  }[] | undefined;
262
262
  memoryCards?: string[] | undefined;
263
263
  mcpServers?: Record<string, {
264
- url: string;
265
264
  type: "http";
265
+ url: string;
266
266
  headers?: Record<string, string> | undefined;
267
267
  } | {
268
268
  type: "http" | "stdio";
@@ -335,18 +335,18 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
335
335
  useAllTools: z.ZodOptional<z.ZodBoolean>;
336
336
  toolSlugs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
337
337
  }, "strip", z.ZodTypeAny, {
338
+ name: string;
338
339
  status: string;
339
340
  slug: string;
340
341
  connectionPath: string;
341
- name: string;
342
342
  logo?: string | undefined;
343
343
  useAllTools?: boolean | undefined;
344
344
  toolSlugs?: string[] | undefined;
345
345
  }, {
346
+ name: string;
346
347
  status: string;
347
348
  slug: string;
348
349
  connectionPath: string;
349
- name: string;
350
350
  logo?: string | undefined;
351
351
  useAllTools?: boolean | undefined;
352
352
  toolSlugs?: string[] | undefined;
@@ -368,15 +368,15 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
368
368
  type: z.ZodString;
369
369
  gsUrl: z.ZodString;
370
370
  }, "strip", z.ZodTypeAny, {
371
+ name: string;
371
372
  type: string;
372
373
  size: number;
373
- name: string;
374
374
  id: string;
375
375
  gsUrl: string;
376
376
  }, {
377
+ name: string;
377
378
  type: string;
378
379
  size: number;
379
- name: string;
380
380
  id: string;
381
381
  gsUrl: string;
382
382
  }>, "many">>;
@@ -386,12 +386,12 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
386
386
  url: z.ZodString;
387
387
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
388
388
  }, "strip", z.ZodTypeAny, {
389
- url: string;
390
389
  type: "http";
390
+ url: string;
391
391
  headers?: Record<string, string> | undefined;
392
392
  }, {
393
- url: string;
394
393
  type: "http";
394
+ url: string;
395
395
  headers?: Record<string, string> | undefined;
396
396
  }>, z.ZodObject<{
397
397
  type: z.ZodEnum<["stdio", "http"]>;
@@ -423,10 +423,10 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
423
423
  id: string;
424
424
  instructions: string;
425
425
  integrations?: {
426
+ name: string;
426
427
  status: string;
427
428
  slug: string;
428
429
  connectionPath: string;
429
- name: string;
430
430
  logo?: string | undefined;
431
431
  useAllTools?: boolean | undefined;
432
432
  toolSlugs?: string[] | undefined;
@@ -436,16 +436,16 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
436
436
  access: ("create" | "list" | "read" | "update" | "delete")[];
437
437
  }[] | undefined;
438
438
  contextFiles?: {
439
+ name: string;
439
440
  type: string;
440
441
  size: number;
441
- name: string;
442
442
  id: string;
443
443
  gsUrl: string;
444
444
  }[] | undefined;
445
445
  memoryCards?: string[] | undefined;
446
446
  mcpServers?: Record<string, {
447
- url: string;
448
447
  type: "http";
448
+ url: string;
449
449
  headers?: Record<string, string> | undefined;
450
450
  } | {
451
451
  type: "http" | "stdio";
@@ -468,10 +468,10 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
468
468
  id: string;
469
469
  instructions: string;
470
470
  integrations?: {
471
+ name: string;
471
472
  status: string;
472
473
  slug: string;
473
474
  connectionPath: string;
474
- name: string;
475
475
  logo?: string | undefined;
476
476
  useAllTools?: boolean | undefined;
477
477
  toolSlugs?: string[] | undefined;
@@ -481,16 +481,16 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
481
481
  access: ("create" | "list" | "read" | "update" | "delete")[];
482
482
  }[] | undefined;
483
483
  contextFiles?: {
484
+ name: string;
484
485
  type: string;
485
486
  size: number;
486
- name: string;
487
487
  id: string;
488
488
  gsUrl: string;
489
489
  }[] | undefined;
490
490
  memoryCards?: string[] | undefined;
491
491
  mcpServers?: Record<string, {
492
- url: string;
493
492
  type: "http";
493
+ url: string;
494
494
  headers?: Record<string, string> | undefined;
495
495
  } | {
496
496
  type: "http" | "stdio";
@@ -547,10 +547,10 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
547
547
  id: string;
548
548
  instructions: string;
549
549
  integrations?: {
550
+ name: string;
550
551
  status: string;
551
552
  slug: string;
552
553
  connectionPath: string;
553
- name: string;
554
554
  logo?: string | undefined;
555
555
  useAllTools?: boolean | undefined;
556
556
  toolSlugs?: string[] | undefined;
@@ -560,16 +560,16 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
560
560
  access: ("create" | "list" | "read" | "update" | "delete")[];
561
561
  }[] | undefined;
562
562
  contextFiles?: {
563
+ name: string;
563
564
  type: string;
564
565
  size: number;
565
- name: string;
566
566
  id: string;
567
567
  gsUrl: string;
568
568
  }[] | undefined;
569
569
  memoryCards?: string[] | undefined;
570
570
  mcpServers?: Record<string, {
571
- url: string;
572
571
  type: "http";
572
+ url: string;
573
573
  headers?: Record<string, string> | undefined;
574
574
  } | {
575
575
  type: "http" | "stdio";
@@ -607,10 +607,10 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
607
607
  id: string;
608
608
  instructions: string;
609
609
  integrations?: {
610
+ name: string;
610
611
  status: string;
611
612
  slug: string;
612
613
  connectionPath: string;
613
- name: string;
614
614
  logo?: string | undefined;
615
615
  useAllTools?: boolean | undefined;
616
616
  toolSlugs?: string[] | undefined;
@@ -620,16 +620,16 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
620
620
  access: ("create" | "list" | "read" | "update" | "delete")[];
621
621
  }[] | undefined;
622
622
  contextFiles?: {
623
+ name: string;
623
624
  type: string;
624
625
  size: number;
625
- name: string;
626
626
  id: string;
627
627
  gsUrl: string;
628
628
  }[] | undefined;
629
629
  memoryCards?: string[] | undefined;
630
630
  mcpServers?: Record<string, {
631
- url: string;
632
631
  type: "http";
632
+ url: string;
633
633
  headers?: Record<string, string> | undefined;
634
634
  } | {
635
635
  type: "http" | "stdio";
@@ -667,10 +667,10 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
667
667
  id: string;
668
668
  instructions: string;
669
669
  integrations?: {
670
+ name: string;
670
671
  status: string;
671
672
  slug: string;
672
673
  connectionPath: string;
673
- name: string;
674
674
  logo?: string | undefined;
675
675
  useAllTools?: boolean | undefined;
676
676
  toolSlugs?: string[] | undefined;
@@ -680,16 +680,16 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
680
680
  access: ("create" | "list" | "read" | "update" | "delete")[];
681
681
  }[] | undefined;
682
682
  contextFiles?: {
683
+ name: string;
683
684
  type: string;
684
685
  size: number;
685
- name: string;
686
686
  id: string;
687
687
  gsUrl: string;
688
688
  }[] | undefined;
689
689
  memoryCards?: string[] | undefined;
690
690
  mcpServers?: Record<string, {
691
- url: string;
692
691
  type: "http";
692
+ url: string;
693
693
  headers?: Record<string, string> | undefined;
694
694
  } | {
695
695
  type: "http" | "stdio";
@@ -727,10 +727,10 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
727
727
  id: string;
728
728
  instructions: string;
729
729
  integrations?: {
730
+ name: string;
730
731
  status: string;
731
732
  slug: string;
732
733
  connectionPath: string;
733
- name: string;
734
734
  logo?: string | undefined;
735
735
  useAllTools?: boolean | undefined;
736
736
  toolSlugs?: string[] | undefined;
@@ -740,16 +740,16 @@ export declare const TaskSubmissionSchema: z.ZodEffects<z.ZodObject<{
740
740
  access: ("create" | "list" | "read" | "update" | "delete")[];
741
741
  }[] | undefined;
742
742
  contextFiles?: {
743
+ name: string;
743
744
  type: string;
744
745
  size: number;
745
- name: string;
746
746
  id: string;
747
747
  gsUrl: string;
748
748
  }[] | undefined;
749
749
  memoryCards?: string[] | undefined;
750
750
  mcpServers?: Record<string, {
751
- url: string;
752
751
  type: "http";
752
+ url: string;
753
753
  headers?: Record<string, string> | undefined;
754
754
  } | {
755
755
  type: "http" | "stdio";
@@ -876,14 +876,14 @@ export declare const ResolvedTaskDefinitionSchema: z.ZodObject<{
876
876
  body: z.ZodString;
877
877
  allowedTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
878
878
  }, "strip", z.ZodTypeAny, {
879
- description: string;
880
879
  name: string;
880
+ description: string;
881
881
  id: string;
882
882
  body: string;
883
883
  allowedTools?: string[] | undefined;
884
884
  }, {
885
- description: string;
886
885
  name: string;
886
+ description: string;
887
887
  id: string;
888
888
  body: string;
889
889
  allowedTools?: string[] | undefined;
@@ -938,18 +938,18 @@ export declare const ResolvedTaskDefinitionSchema: z.ZodObject<{
938
938
  useAllTools: z.ZodOptional<z.ZodBoolean>;
939
939
  toolSlugs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
940
940
  }, "strip", z.ZodTypeAny, {
941
+ name: string;
941
942
  status: string;
942
943
  slug: string;
943
944
  connectionPath: string;
944
- name: string;
945
945
  logo?: string | undefined;
946
946
  useAllTools?: boolean | undefined;
947
947
  toolSlugs?: string[] | undefined;
948
948
  }, {
949
+ name: string;
949
950
  status: string;
950
951
  slug: string;
951
952
  connectionPath: string;
952
- name: string;
953
953
  logo?: string | undefined;
954
954
  useAllTools?: boolean | undefined;
955
955
  toolSlugs?: string[] | undefined;
@@ -971,15 +971,15 @@ export declare const ResolvedTaskDefinitionSchema: z.ZodObject<{
971
971
  type: z.ZodString;
972
972
  gsUrl: z.ZodString;
973
973
  }, "strip", z.ZodTypeAny, {
974
+ name: string;
974
975
  type: string;
975
976
  size: number;
976
- name: string;
977
977
  id: string;
978
978
  gsUrl: string;
979
979
  }, {
980
+ name: string;
980
981
  type: string;
981
982
  size: number;
982
- name: string;
983
983
  id: string;
984
984
  gsUrl: string;
985
985
  }>, "many">>;
@@ -1155,10 +1155,10 @@ export declare const ResolvedTaskDefinitionSchema: z.ZodObject<{
1155
1155
  instructions: string;
1156
1156
  mode: "execute" | "codegen" | "review";
1157
1157
  integrations?: {
1158
+ name: string;
1158
1159
  status: string;
1159
1160
  slug: string;
1160
1161
  connectionPath: string;
1161
- name: string;
1162
1162
  logo?: string | undefined;
1163
1163
  useAllTools?: boolean | undefined;
1164
1164
  toolSlugs?: string[] | undefined;
@@ -1168,9 +1168,9 @@ export declare const ResolvedTaskDefinitionSchema: z.ZodObject<{
1168
1168
  access: ("create" | "list" | "read" | "update" | "delete")[];
1169
1169
  }[] | undefined;
1170
1170
  contextFiles?: {
1171
+ name: string;
1171
1172
  type: string;
1172
1173
  size: number;
1173
- name: string;
1174
1174
  id: string;
1175
1175
  gsUrl: string;
1176
1176
  }[] | undefined;
@@ -1195,8 +1195,8 @@ export declare const ResolvedTaskDefinitionSchema: z.ZodObject<{
1195
1195
  } | undefined;
1196
1196
  betas?: string[] | undefined;
1197
1197
  skills?: {
1198
- description: string;
1199
1198
  name: string;
1199
+ description: string;
1200
1200
  id: string;
1201
1201
  body: string;
1202
1202
  allowedTools?: string[] | undefined;
@@ -1262,10 +1262,10 @@ export declare const ResolvedTaskDefinitionSchema: z.ZodObject<{
1262
1262
  instructions: string;
1263
1263
  mode: "execute" | "codegen" | "review";
1264
1264
  integrations?: {
1265
+ name: string;
1265
1266
  status: string;
1266
1267
  slug: string;
1267
1268
  connectionPath: string;
1268
- name: string;
1269
1269
  logo?: string | undefined;
1270
1270
  useAllTools?: boolean | undefined;
1271
1271
  toolSlugs?: string[] | undefined;
@@ -1275,9 +1275,9 @@ export declare const ResolvedTaskDefinitionSchema: z.ZodObject<{
1275
1275
  access: ("create" | "list" | "read" | "update" | "delete")[];
1276
1276
  }[] | undefined;
1277
1277
  contextFiles?: {
1278
+ name: string;
1278
1279
  type: string;
1279
1280
  size: number;
1280
- name: string;
1281
1281
  id: string;
1282
1282
  gsUrl: string;
1283
1283
  }[] | undefined;
@@ -1302,8 +1302,8 @@ export declare const ResolvedTaskDefinitionSchema: z.ZodObject<{
1302
1302
  } | undefined;
1303
1303
  betas?: string[] | undefined;
1304
1304
  skills?: {
1305
- description: string;
1306
1305
  name: string;
1306
+ description: string;
1307
1307
  id: string;
1308
1308
  body: string;
1309
1309
  allowedTools?: string[] | undefined;
@@ -1383,3 +1383,4 @@ export declare const FALLBACK_DEFAULTS: {
1383
1383
  };
1384
1384
  };
1385
1385
  export type FallbackDefaults = typeof FALLBACK_DEFAULTS;
1386
+ //# sourceMappingURL=task.d.ts.map