sparkecoder 0.1.142 → 0.1.143
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/dist/agent/index.d.ts +3 -3
- package/dist/agent/index.js +105 -19
- package/dist/agent/index.js.map +1 -1
- package/dist/cli.js +109 -23
- package/dist/cli.js.map +1 -1
- package/dist/db/index.d.ts +2 -2
- package/dist/{index-Cl_eUatM.d.ts → index-BAsQWqZj.d.ts} +96 -96
- package/dist/index.d.ts +5 -5
- package/dist/index.js +109 -23
- package/dist/index.js.map +1 -1
- package/dist/{schema-BSz4MzhJ.d.ts → schema-Dz-wABVY.d.ts} +3 -3
- package/dist/{search-DOzC4ojH.d.ts → search-CVVfuBPZ.d.ts} +4 -4
- package/dist/server/index.js +109 -23
- package/dist/server/index.js.map +1 -1
- package/dist/tools/index.d.ts +3 -3
- package/package.json +1 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/web/.next/build-manifest.json +2 -2
- package/web/.next/standalone/web/.next/prerender-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/standalone/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.html +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/agents.html +1 -1
- package/web/.next/standalone/web/.next/server/app/agents.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/agents.segments/!KG1haW4p/agents/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/agents.segments/!KG1haW4p/agents.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/agents.segments/!KG1haW4p.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/agents.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/agents.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/agents.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/agents.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/installation.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs/installation/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs/installation.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/skills.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs/skills/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs/skills.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/tools.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs/tools/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs/tools.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.html +1 -1
- package/web/.next/standalone/web/.next/server/app/index.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/!KG1haW4p/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/!KG1haW4p.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/settings.html +1 -1
- package/web/.next/standalone/web/.next/server/app/settings.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/settings.segments/!KG1haW4p/settings/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/settings.segments/!KG1haW4p/settings.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/settings.segments/!KG1haW4p.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/settings.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/settings.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/pages/404.html +1 -1
- package/web/.next/standalone/web/.next/server/pages/500.html +2 -2
- package/web/.next/standalone/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/server-reference-manifest.json +1 -1
- package/web/.next/standalone/web/runtime-config.json +2 -2
- package/web/.next/standalone/web/src/app/(main)/settings/page.tsx +1 -1
- /package/web/.next/standalone/web/.next/static/{EH_lLivb0xQQlTlBqPnCj → static/ySf1FIgV1p24IEJCK27zG}/_buildManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{EH_lLivb0xQQlTlBqPnCj → static/ySf1FIgV1p24IEJCK27zG}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/standalone/web/.next/static/{EH_lLivb0xQQlTlBqPnCj → static/ySf1FIgV1p24IEJCK27zG}/_ssgManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{static/EH_lLivb0xQQlTlBqPnCj → ySf1FIgV1p24IEJCK27zG}/_buildManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{static/EH_lLivb0xQQlTlBqPnCj → ySf1FIgV1p24IEJCK27zG}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/standalone/web/.next/static/{static/EH_lLivb0xQQlTlBqPnCj → ySf1FIgV1p24IEJCK27zG}/_ssgManifest.js +0 -0
- /package/web/.next/static/{EH_lLivb0xQQlTlBqPnCj → ySf1FIgV1p24IEJCK27zG}/_buildManifest.js +0 -0
- /package/web/.next/static/{EH_lLivb0xQQlTlBqPnCj → ySf1FIgV1p24IEJCK27zG}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{EH_lLivb0xQQlTlBqPnCj → ySf1FIgV1p24IEJCK27zG}/_ssgManifest.js +0 -0
package/dist/db/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Checkpoint, F as FileBackup, M as ModelMessage, a as Message, S as Session, L as LoadedSkill, T as TodoItem, b as ToolExecution, A as ActiveStream, I as IndexStatusRecord, c as IndexedChunk, d as SubagentExecution, e as SubagentStep, f as Terminal } from '../schema-
|
|
2
|
-
export { N as NewActiveStream, g as NewCheckpoint, h as NewFileBackup, i as NewIndexStatusRecord, j as NewIndexedChunk, k as NewMessage, l as NewSession, m as NewSubagentExecution, n as NewTerminal, o as NewTodoItem, p as NewToolExecution, q as SessionConfig, r as TaskConfig, s as TaskMcpServerSummary, t as TaskSkillSummary, U as UserContentPart, u as UserFilePart, v as UserImagePart, w as UserModelMessage, x as UserTextPart } from '../schema-
|
|
1
|
+
import { C as Checkpoint, F as FileBackup, M as ModelMessage, a as Message, S as Session, L as LoadedSkill, T as TodoItem, b as ToolExecution, A as ActiveStream, I as IndexStatusRecord, c as IndexedChunk, d as SubagentExecution, e as SubagentStep, f as Terminal } from '../schema-Dz-wABVY.js';
|
|
2
|
+
export { N as NewActiveStream, g as NewCheckpoint, h as NewFileBackup, i as NewIndexStatusRecord, j as NewIndexedChunk, k as NewMessage, l as NewSession, m as NewSubagentExecution, n as NewTerminal, o as NewTodoItem, p as NewToolExecution, q as SessionConfig, r as TaskConfig, s as TaskMcpServerSummary, t as TaskSkillSummary, U as UserContentPart, u as UserFilePart, v as UserImagePart, w as UserModelMessage, x as UserTextPart } from '../schema-Dz-wABVY.js';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ModelMessage, streamText } from 'ai';
|
|
2
|
-
import { S as Session, b as ToolExecution, r as TaskConfig } from './schema-
|
|
2
|
+
import { S as Session, b as ToolExecution, r as TaskConfig } from './schema-Dz-wABVY.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { B as BashToolProgress, W as WriteFileProgress, S as SearchToolProgress } from './search-
|
|
4
|
+
import { B as BashToolProgress, W as WriteFileProgress, S as SearchToolProgress } from './search-CVVfuBPZ.js';
|
|
5
5
|
|
|
6
6
|
declare const ToolApprovalConfigSchema: z.ZodObject<{
|
|
7
7
|
bash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -39,25 +39,25 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
39
39
|
iterations: z.ZodOptional<z.ZodNumber>;
|
|
40
40
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
status: "
|
|
42
|
+
status: "running" | "completed" | "failed";
|
|
43
43
|
enabled: boolean;
|
|
44
44
|
outputSchema: Record<string, unknown>;
|
|
45
|
-
error?: string | undefined;
|
|
46
|
-
maxIterations?: number | undefined;
|
|
47
45
|
webhookUrl?: string | undefined;
|
|
48
|
-
|
|
46
|
+
maxIterations?: number | undefined;
|
|
49
47
|
result?: unknown;
|
|
48
|
+
error?: string | undefined;
|
|
50
49
|
iterations?: number | undefined;
|
|
50
|
+
parentTaskId?: string | undefined;
|
|
51
51
|
}, {
|
|
52
|
-
status: "
|
|
52
|
+
status: "running" | "completed" | "failed";
|
|
53
53
|
enabled: boolean;
|
|
54
54
|
outputSchema: Record<string, unknown>;
|
|
55
|
-
error?: string | undefined;
|
|
56
|
-
maxIterations?: number | undefined;
|
|
57
55
|
webhookUrl?: string | undefined;
|
|
58
|
-
|
|
56
|
+
maxIterations?: number | undefined;
|
|
59
57
|
result?: unknown;
|
|
58
|
+
error?: string | undefined;
|
|
60
59
|
iterations?: number | undefined;
|
|
60
|
+
parentTaskId?: string | undefined;
|
|
61
61
|
}>>;
|
|
62
62
|
role: z.ZodOptional<z.ZodEnum<["orchestrator", "worker", "chat"]>>;
|
|
63
63
|
personality: z.ZodOptional<z.ZodString>;
|
|
@@ -88,17 +88,17 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
88
88
|
enabled: boolean;
|
|
89
89
|
id: string;
|
|
90
90
|
name: string;
|
|
91
|
-
createdAt: string;
|
|
92
|
-
prompt: string;
|
|
93
91
|
cron: string;
|
|
92
|
+
prompt: string;
|
|
93
|
+
createdAt: string;
|
|
94
94
|
replyChannel?: string | undefined;
|
|
95
95
|
lastFiredAt?: string | undefined;
|
|
96
96
|
}, {
|
|
97
97
|
id: string;
|
|
98
98
|
name: string;
|
|
99
|
-
createdAt: string;
|
|
100
|
-
prompt: string;
|
|
101
99
|
cron: string;
|
|
100
|
+
prompt: string;
|
|
101
|
+
createdAt: string;
|
|
102
102
|
enabled?: boolean | undefined;
|
|
103
103
|
replyChannel?: string | undefined;
|
|
104
104
|
lastFiredAt?: string | undefined;
|
|
@@ -113,19 +113,19 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
113
113
|
lastHitAt: z.ZodOptional<z.ZodString>;
|
|
114
114
|
createdAt: z.ZodString;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
token: string;
|
|
117
116
|
id: string;
|
|
118
117
|
name: string;
|
|
119
118
|
createdAt: string;
|
|
119
|
+
token: string;
|
|
120
120
|
wake: "now" | "next";
|
|
121
121
|
hitCount: number;
|
|
122
122
|
template?: string | undefined;
|
|
123
123
|
lastHitAt?: string | undefined;
|
|
124
124
|
}, {
|
|
125
|
-
token: string;
|
|
126
125
|
id: string;
|
|
127
126
|
name: string;
|
|
128
127
|
createdAt: string;
|
|
128
|
+
token: string;
|
|
129
129
|
wake?: "now" | "next" | undefined;
|
|
130
130
|
template?: string | undefined;
|
|
131
131
|
hitCount?: number | undefined;
|
|
@@ -135,90 +135,90 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
135
135
|
maxContextChars: number;
|
|
136
136
|
toolApprovals?: Record<string, boolean> | undefined;
|
|
137
137
|
approvalWebhook?: string | undefined;
|
|
138
|
-
|
|
139
|
-
token: string;
|
|
140
|
-
id: string;
|
|
141
|
-
name: string;
|
|
142
|
-
createdAt: string;
|
|
143
|
-
wake: "now" | "next";
|
|
144
|
-
hitCount: number;
|
|
145
|
-
template?: string | undefined;
|
|
146
|
-
lastHitAt?: string | undefined;
|
|
147
|
-
}[] | undefined;
|
|
148
|
-
slack?: {
|
|
149
|
-
channel?: string | undefined;
|
|
150
|
-
threadTs?: string | undefined;
|
|
151
|
-
teamId?: string | undefined;
|
|
152
|
-
} | undefined;
|
|
138
|
+
skillsDirectory?: string | undefined;
|
|
153
139
|
task?: {
|
|
154
|
-
status: "
|
|
140
|
+
status: "running" | "completed" | "failed";
|
|
155
141
|
enabled: boolean;
|
|
156
142
|
outputSchema: Record<string, unknown>;
|
|
157
|
-
error?: string | undefined;
|
|
158
|
-
maxIterations?: number | undefined;
|
|
159
143
|
webhookUrl?: string | undefined;
|
|
160
|
-
|
|
144
|
+
maxIterations?: number | undefined;
|
|
161
145
|
result?: unknown;
|
|
146
|
+
error?: string | undefined;
|
|
162
147
|
iterations?: number | undefined;
|
|
148
|
+
parentTaskId?: string | undefined;
|
|
163
149
|
} | undefined;
|
|
164
|
-
skillsDirectory?: string | undefined;
|
|
165
150
|
role?: "orchestrator" | "worker" | "chat" | undefined;
|
|
166
151
|
personality?: string | undefined;
|
|
167
152
|
orchestratorSessionId?: string | undefined;
|
|
153
|
+
slack?: {
|
|
154
|
+
channel?: string | undefined;
|
|
155
|
+
threadTs?: string | undefined;
|
|
156
|
+
teamId?: string | undefined;
|
|
157
|
+
} | undefined;
|
|
168
158
|
schedules?: {
|
|
169
159
|
enabled: boolean;
|
|
170
160
|
id: string;
|
|
171
161
|
name: string;
|
|
172
|
-
createdAt: string;
|
|
173
|
-
prompt: string;
|
|
174
162
|
cron: string;
|
|
163
|
+
prompt: string;
|
|
164
|
+
createdAt: string;
|
|
175
165
|
replyChannel?: string | undefined;
|
|
176
166
|
lastFiredAt?: string | undefined;
|
|
177
167
|
}[] | undefined;
|
|
178
|
-
}, {
|
|
179
|
-
toolApprovals?: Record<string, boolean> | undefined;
|
|
180
|
-
approvalWebhook?: string | undefined;
|
|
181
168
|
webhooks?: {
|
|
182
|
-
token: string;
|
|
183
169
|
id: string;
|
|
184
170
|
name: string;
|
|
185
171
|
createdAt: string;
|
|
186
|
-
|
|
172
|
+
token: string;
|
|
173
|
+
wake: "now" | "next";
|
|
174
|
+
hitCount: number;
|
|
187
175
|
template?: string | undefined;
|
|
188
|
-
hitCount?: number | undefined;
|
|
189
176
|
lastHitAt?: string | undefined;
|
|
190
177
|
}[] | undefined;
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
178
|
+
}, {
|
|
179
|
+
toolApprovals?: Record<string, boolean> | undefined;
|
|
180
|
+
approvalWebhook?: string | undefined;
|
|
181
|
+
skillsDirectory?: string | undefined;
|
|
182
|
+
maxContextChars?: number | undefined;
|
|
196
183
|
task?: {
|
|
197
|
-
status: "
|
|
184
|
+
status: "running" | "completed" | "failed";
|
|
198
185
|
enabled: boolean;
|
|
199
186
|
outputSchema: Record<string, unknown>;
|
|
200
|
-
error?: string | undefined;
|
|
201
|
-
maxIterations?: number | undefined;
|
|
202
187
|
webhookUrl?: string | undefined;
|
|
203
|
-
|
|
188
|
+
maxIterations?: number | undefined;
|
|
204
189
|
result?: unknown;
|
|
190
|
+
error?: string | undefined;
|
|
205
191
|
iterations?: number | undefined;
|
|
192
|
+
parentTaskId?: string | undefined;
|
|
206
193
|
} | undefined;
|
|
207
|
-
skillsDirectory?: string | undefined;
|
|
208
|
-
maxContextChars?: number | undefined;
|
|
209
194
|
role?: "orchestrator" | "worker" | "chat" | undefined;
|
|
210
195
|
personality?: string | undefined;
|
|
211
196
|
orchestratorSessionId?: string | undefined;
|
|
197
|
+
slack?: {
|
|
198
|
+
channel?: string | undefined;
|
|
199
|
+
threadTs?: string | undefined;
|
|
200
|
+
teamId?: string | undefined;
|
|
201
|
+
} | undefined;
|
|
212
202
|
schedules?: {
|
|
213
203
|
id: string;
|
|
214
204
|
name: string;
|
|
215
|
-
createdAt: string;
|
|
216
|
-
prompt: string;
|
|
217
205
|
cron: string;
|
|
206
|
+
prompt: string;
|
|
207
|
+
createdAt: string;
|
|
218
208
|
enabled?: boolean | undefined;
|
|
219
209
|
replyChannel?: string | undefined;
|
|
220
210
|
lastFiredAt?: string | undefined;
|
|
221
211
|
}[] | undefined;
|
|
212
|
+
webhooks?: {
|
|
213
|
+
id: string;
|
|
214
|
+
name: string;
|
|
215
|
+
createdAt: string;
|
|
216
|
+
token: string;
|
|
217
|
+
wake?: "now" | "next" | undefined;
|
|
218
|
+
template?: string | undefined;
|
|
219
|
+
hitCount?: number | undefined;
|
|
220
|
+
lastHitAt?: string | undefined;
|
|
221
|
+
}[] | undefined;
|
|
222
222
|
}>;
|
|
223
223
|
declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
224
224
|
defaultModel: z.ZodDefault<z.ZodString>;
|
|
@@ -397,12 +397,12 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
397
397
|
enabled: boolean;
|
|
398
398
|
id: string;
|
|
399
399
|
name: string;
|
|
400
|
-
transport: "http" | "sse" | "stdio";
|
|
401
400
|
createdAt: string;
|
|
401
|
+
transport: "http" | "sse" | "stdio";
|
|
402
|
+
args?: string[] | undefined;
|
|
402
403
|
url?: string | undefined;
|
|
403
404
|
headers?: Record<string, string> | undefined;
|
|
404
405
|
command?: string | undefined;
|
|
405
|
-
args?: string[] | undefined;
|
|
406
406
|
oauth?: {
|
|
407
407
|
authorizationUrl?: string | undefined;
|
|
408
408
|
tokenUrl?: string | undefined;
|
|
@@ -415,13 +415,13 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
415
415
|
}, {
|
|
416
416
|
id: string;
|
|
417
417
|
name: string;
|
|
418
|
-
transport: "http" | "sse" | "stdio";
|
|
419
418
|
createdAt: string;
|
|
419
|
+
transport: "http" | "sse" | "stdio";
|
|
420
420
|
enabled?: boolean | undefined;
|
|
421
|
+
args?: string[] | undefined;
|
|
421
422
|
url?: string | undefined;
|
|
422
423
|
headers?: Record<string, string> | undefined;
|
|
423
424
|
command?: string | undefined;
|
|
424
|
-
args?: string[] | undefined;
|
|
425
425
|
oauth?: {
|
|
426
426
|
authorizationUrl?: string | undefined;
|
|
427
427
|
tokenUrl?: string | undefined;
|
|
@@ -437,12 +437,12 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
437
437
|
enabled: boolean;
|
|
438
438
|
id: string;
|
|
439
439
|
name: string;
|
|
440
|
-
transport: "http" | "sse" | "stdio";
|
|
441
440
|
createdAt: string;
|
|
441
|
+
transport: "http" | "sse" | "stdio";
|
|
442
|
+
args?: string[] | undefined;
|
|
442
443
|
url?: string | undefined;
|
|
443
444
|
headers?: Record<string, string> | undefined;
|
|
444
445
|
command?: string | undefined;
|
|
445
|
-
args?: string[] | undefined;
|
|
446
446
|
oauth?: {
|
|
447
447
|
authorizationUrl?: string | undefined;
|
|
448
448
|
tokenUrl?: string | undefined;
|
|
@@ -457,13 +457,13 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
457
457
|
servers?: {
|
|
458
458
|
id: string;
|
|
459
459
|
name: string;
|
|
460
|
-
transport: "http" | "sse" | "stdio";
|
|
461
460
|
createdAt: string;
|
|
461
|
+
transport: "http" | "sse" | "stdio";
|
|
462
462
|
enabled?: boolean | undefined;
|
|
463
|
+
args?: string[] | undefined;
|
|
463
464
|
url?: string | undefined;
|
|
464
465
|
headers?: Record<string, string> | undefined;
|
|
465
466
|
command?: string | undefined;
|
|
466
|
-
args?: string[] | undefined;
|
|
467
467
|
oauth?: {
|
|
468
468
|
authorizationUrl?: string | undefined;
|
|
469
469
|
tokenUrl?: string | undefined;
|
|
@@ -506,7 +506,6 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
506
506
|
allowedEmails?: string[] | undefined;
|
|
507
507
|
}>>;
|
|
508
508
|
}, "strip", z.ZodTypeAny, {
|
|
509
|
-
defaultModel: string;
|
|
510
509
|
toolApprovals: {
|
|
511
510
|
bash: boolean;
|
|
512
511
|
write_file: boolean;
|
|
@@ -514,6 +513,7 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
514
513
|
load_skill: boolean;
|
|
515
514
|
todo: boolean;
|
|
516
515
|
};
|
|
516
|
+
defaultModel: string;
|
|
517
517
|
skills: {
|
|
518
518
|
directory: string;
|
|
519
519
|
additionalDirectories: string[];
|
|
@@ -533,11 +533,21 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
533
533
|
intervalHours: number;
|
|
534
534
|
};
|
|
535
535
|
databasePath: string;
|
|
536
|
-
workingDirectory?: string | undefined;
|
|
537
536
|
approvalWebhook?: string | undefined;
|
|
537
|
+
slack?: {
|
|
538
|
+
botToken?: string | undefined;
|
|
539
|
+
signingSecret?: string | undefined;
|
|
540
|
+
defaultOrchestratorName?: string | undefined;
|
|
541
|
+
allowedUsers?: string[] | undefined;
|
|
542
|
+
allowedChannels?: string[] | undefined;
|
|
543
|
+
allowDmsFromAnyone?: boolean | undefined;
|
|
544
|
+
deniedReplyEnabled?: boolean | undefined;
|
|
545
|
+
deniedReplyTemplate?: string | undefined;
|
|
546
|
+
} | undefined;
|
|
538
547
|
webhooks?: {
|
|
539
548
|
token?: string | undefined;
|
|
540
549
|
} | undefined;
|
|
550
|
+
workingDirectory?: string | undefined;
|
|
541
551
|
remoteServer?: {
|
|
542
552
|
url?: string | undefined;
|
|
543
553
|
authKey?: string | undefined;
|
|
@@ -550,27 +560,17 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
550
560
|
httpUrl?: string | undefined;
|
|
551
561
|
namespace?: string | undefined;
|
|
552
562
|
} | undefined;
|
|
553
|
-
slack?: {
|
|
554
|
-
botToken?: string | undefined;
|
|
555
|
-
signingSecret?: string | undefined;
|
|
556
|
-
defaultOrchestratorName?: string | undefined;
|
|
557
|
-
allowedUsers?: string[] | undefined;
|
|
558
|
-
allowedChannels?: string[] | undefined;
|
|
559
|
-
allowDmsFromAnyone?: boolean | undefined;
|
|
560
|
-
deniedReplyEnabled?: boolean | undefined;
|
|
561
|
-
deniedReplyTemplate?: string | undefined;
|
|
562
|
-
} | undefined;
|
|
563
563
|
mcp?: {
|
|
564
564
|
servers?: {
|
|
565
565
|
enabled: boolean;
|
|
566
566
|
id: string;
|
|
567
567
|
name: string;
|
|
568
|
-
transport: "http" | "sse" | "stdio";
|
|
569
568
|
createdAt: string;
|
|
569
|
+
transport: "http" | "sse" | "stdio";
|
|
570
|
+
args?: string[] | undefined;
|
|
570
571
|
url?: string | undefined;
|
|
571
572
|
headers?: Record<string, string> | undefined;
|
|
572
573
|
command?: string | undefined;
|
|
573
|
-
args?: string[] | undefined;
|
|
574
574
|
oauth?: {
|
|
575
575
|
authorizationUrl?: string | undefined;
|
|
576
576
|
tokenUrl?: string | undefined;
|
|
@@ -591,8 +591,6 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
591
591
|
allowedEmails?: string[] | undefined;
|
|
592
592
|
} | undefined;
|
|
593
593
|
}, {
|
|
594
|
-
defaultModel?: string | undefined;
|
|
595
|
-
workingDirectory?: string | undefined;
|
|
596
594
|
toolApprovals?: {
|
|
597
595
|
bash?: boolean | undefined;
|
|
598
596
|
write_file?: boolean | undefined;
|
|
@@ -601,6 +599,21 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
601
599
|
todo?: boolean | undefined;
|
|
602
600
|
} | undefined;
|
|
603
601
|
approvalWebhook?: string | undefined;
|
|
602
|
+
slack?: {
|
|
603
|
+
botToken?: string | undefined;
|
|
604
|
+
signingSecret?: string | undefined;
|
|
605
|
+
defaultOrchestratorName?: string | undefined;
|
|
606
|
+
allowedUsers?: string[] | undefined;
|
|
607
|
+
allowedChannels?: string[] | undefined;
|
|
608
|
+
allowDmsFromAnyone?: boolean | undefined;
|
|
609
|
+
deniedReplyEnabled?: boolean | undefined;
|
|
610
|
+
deniedReplyTemplate?: string | undefined;
|
|
611
|
+
} | undefined;
|
|
612
|
+
webhooks?: {
|
|
613
|
+
token?: string | undefined;
|
|
614
|
+
} | undefined;
|
|
615
|
+
workingDirectory?: string | undefined;
|
|
616
|
+
defaultModel?: string | undefined;
|
|
604
617
|
skills?: {
|
|
605
618
|
directory?: string | undefined;
|
|
606
619
|
additionalDirectories?: string[] | undefined;
|
|
@@ -615,9 +628,6 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
615
628
|
host?: string | undefined;
|
|
616
629
|
publicUrl?: string | undefined;
|
|
617
630
|
} | undefined;
|
|
618
|
-
webhooks?: {
|
|
619
|
-
token?: string | undefined;
|
|
620
|
-
} | undefined;
|
|
621
631
|
autoUpdate?: {
|
|
622
632
|
enabled?: boolean | undefined;
|
|
623
633
|
intervalHours?: number | undefined;
|
|
@@ -635,27 +645,17 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
635
645
|
include?: string[] | undefined;
|
|
636
646
|
exclude?: string[] | undefined;
|
|
637
647
|
} | undefined;
|
|
638
|
-
slack?: {
|
|
639
|
-
botToken?: string | undefined;
|
|
640
|
-
signingSecret?: string | undefined;
|
|
641
|
-
defaultOrchestratorName?: string | undefined;
|
|
642
|
-
allowedUsers?: string[] | undefined;
|
|
643
|
-
allowedChannels?: string[] | undefined;
|
|
644
|
-
allowDmsFromAnyone?: boolean | undefined;
|
|
645
|
-
deniedReplyEnabled?: boolean | undefined;
|
|
646
|
-
deniedReplyTemplate?: string | undefined;
|
|
647
|
-
} | undefined;
|
|
648
648
|
mcp?: {
|
|
649
649
|
servers?: {
|
|
650
650
|
id: string;
|
|
651
651
|
name: string;
|
|
652
|
-
transport: "http" | "sse" | "stdio";
|
|
653
652
|
createdAt: string;
|
|
653
|
+
transport: "http" | "sse" | "stdio";
|
|
654
654
|
enabled?: boolean | undefined;
|
|
655
|
+
args?: string[] | undefined;
|
|
655
656
|
url?: string | undefined;
|
|
656
657
|
headers?: Record<string, string> | undefined;
|
|
657
658
|
command?: string | undefined;
|
|
658
|
-
args?: string[] | undefined;
|
|
659
659
|
oauth?: {
|
|
660
660
|
authorizationUrl?: string | undefined;
|
|
661
661
|
tokenUrl?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { R as ResolvedConfig } from './index-
|
|
2
|
-
export { A as Agent, a as AgentOptions, b as AgentRunOptions, c as AgentStreamResult, S as SparkcoderConfig, T as ToolApprovalConfig } from './index-
|
|
1
|
+
import { R as ResolvedConfig } from './index-BAsQWqZj.js';
|
|
2
|
+
export { A as Agent, a as AgentOptions, b as AgentRunOptions, c as AgentStreamResult, S as SparkcoderConfig, T as ToolApprovalConfig } from './index-BAsQWqZj.js';
|
|
3
3
|
export { ServerOptions, createApp, startServer, stopServer } from './server/index.js';
|
|
4
4
|
export { checkpointQueries, closeDatabase, fileBackupQueries, getDb, initDatabase, messageQueries, sessionQueries, skillQueries, todoQueries, toolExecutionQueries } from './db/index.js';
|
|
5
|
-
import { F as FileBackup, C as Checkpoint } from './schema-
|
|
6
|
-
export { a as Message, M as ModelMessage, S as Session, q as SessionConfig, f as Terminal, T as TodoItem, b as ToolExecution } from './schema-
|
|
5
|
+
import { F as FileBackup, C as Checkpoint } from './schema-Dz-wABVY.js';
|
|
6
|
+
export { a as Message, M as ModelMessage, S as Session, q as SessionConfig, f as Terminal, T as TodoItem, b as ToolExecution } from './schema-Dz-wABVY.js';
|
|
7
7
|
export { createLoadSkillTool, createReadFileTool, createTodoTool, createTools } from './tools/index.js';
|
|
8
|
-
export { c as createBashTool, a as createWriteFileTool } from './search-
|
|
8
|
+
export { c as createBashTool, a as createWriteFileTool } from './search-CVVfuBPZ.js';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'hono/types';
|