sparkecoder 0.1.115 → 0.1.117
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 +62 -0
- package/dist/agent/index.js.map +1 -1
- package/dist/cli.js +387 -108
- package/dist/cli.js.map +1 -1
- package/dist/db/index.d.ts +2 -2
- package/dist/{index-Biy5JTop.d.ts → index-Bi8Ek02A.d.ts} +104 -104
- package/dist/index.d.ts +5 -5
- package/dist/index.js +313 -64
- package/dist/index.js.map +1 -1
- package/dist/{schema-CYSKJZ3m.d.ts → schema-ecQSnCMz.d.ts} +3 -3
- package/dist/{search-CVVfuBPZ.d.ts → search-DOzC4ojH.d.ts} +4 -4
- package/dist/server/index.js +313 -64
- package/dist/server/index.js.map +1 -1
- package/dist/skills/default/computer-use.md +7 -0
- package/dist/skills/default/recording.md +5 -0
- package/dist/tools/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/skills/default/computer-use.md +7 -0
- package/src/skills/default/recording.md +5 -0
- 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/(main)/agents/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/(main)/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/(main)/session/[id]/page.js.nft.json +1 -1
- package/web/.next/standalone/web/.next/server/app/(main)/session/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page.js.nft.json +1 -1
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page_client-reference-manifest.js +1 -1
- 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/page_client-reference-manifest.js +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 +2 -2
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- 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 +2 -2
- 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 +2 -2
- package/web/.next/standalone/web/.next/server/app/agents.html +1 -1
- package/web/.next/standalone/web/.next/server/app/agents.rsc +2 -2
- 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 +2 -2
- 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 +2 -2
- package/web/.next/standalone/web/.next/server/app/agents.segments/_tree.segment.rsc +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/installation/page_client-reference-manifest.js +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 +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_full.segment.rsc +2 -2
- 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 +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_tree.segment.rsc +2 -2
- 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/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills/page_client-reference-manifest.js +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 +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_full.segment.rsc +2 -2
- 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 +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_tree.segment.rsc +2 -2
- 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/page_client-reference-manifest.js +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 +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_full.segment.rsc +2 -2
- 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 +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_tree.segment.rsc +2 -2
- 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 +2 -2
- package/web/.next/standalone/web/.next/server/app/docs.segments/_full.segment.rsc +2 -2
- 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 +2 -2
- package/web/.next/standalone/web/.next/server/app/docs.segments/_tree.segment.rsc +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/web/.next/standalone/web/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/web/.next/standalone/web/.next/server/app/settings.html +1 -1
- package/web/.next/standalone/web/.next/server/app/settings.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/settings.segments/!KG1haW4p/settings/__PAGE__.segment.rsc +2 -2
- 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 +3 -3
- 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 +2 -2
- package/web/.next/standalone/web/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_lucide-react_dist_esm_icons_7340c8b3._.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__f3e6443f._.js +15 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_41927ef5._.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_src_app_(main)_settings_page_tsx_eb320e07._.js +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/.next/static/chunks/2c3c1d478808e4e4.js +1 -0
- package/web/.next/standalone/web/.next/static/chunks/3b0501ec3249235f.js +7 -0
- package/web/.next/standalone/web/.next/static/chunks/44c575e006ddb992.js +13 -0
- package/web/.next/standalone/web/.next/static/chunks/9a3afb48c245fb2a.js +1 -0
- package/web/.next/standalone/web/.next/static/chunks/b3bc7244f3477729.css +1 -0
- package/web/.next/standalone/web/.next/static/static/chunks/2c3c1d478808e4e4.js +1 -0
- package/web/.next/standalone/web/.next/static/static/chunks/3b0501ec3249235f.js +7 -0
- package/web/.next/standalone/web/.next/static/static/chunks/44c575e006ddb992.js +13 -0
- package/web/.next/standalone/web/.next/static/static/chunks/9a3afb48c245fb2a.js +1 -0
- package/web/.next/standalone/web/.next/static/static/chunks/b3bc7244f3477729.css +1 -0
- package/web/.next/standalone/web/src/app/(main)/settings/page.tsx +255 -3
- package/web/.next/static/chunks/2c3c1d478808e4e4.js +1 -0
- package/web/.next/static/chunks/3b0501ec3249235f.js +7 -0
- package/web/.next/static/chunks/44c575e006ddb992.js +13 -0
- package/web/.next/static/chunks/9a3afb48c245fb2a.js +1 -0
- package/web/.next/static/chunks/b3bc7244f3477729.css +1 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_lucide-react_dist_esm_icons_50c2f239._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__6097da17._.js +0 -15
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_3b9a2423._.js +0 -3
- package/web/.next/standalone/web/.next/static/chunks/60359bdd369c0c72.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/a189cacf6d83cf0b.js +0 -13
- package/web/.next/standalone/web/.next/static/chunks/bef6931fdd8428c8.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/c1f73b3fa4353c31.css +0 -1
- package/web/.next/standalone/web/.next/static/chunks/fbdcbd65f9a38f4b.js +0 -7
- package/web/.next/standalone/web/.next/static/static/chunks/60359bdd369c0c72.js +0 -1
- package/web/.next/standalone/web/.next/static/static/chunks/a189cacf6d83cf0b.js +0 -13
- package/web/.next/standalone/web/.next/static/static/chunks/bef6931fdd8428c8.js +0 -1
- package/web/.next/standalone/web/.next/static/static/chunks/c1f73b3fa4353c31.css +0 -1
- package/web/.next/standalone/web/.next/static/static/chunks/fbdcbd65f9a38f4b.js +0 -7
- package/web/.next/static/chunks/60359bdd369c0c72.js +0 -1
- package/web/.next/static/chunks/a189cacf6d83cf0b.js +0 -13
- package/web/.next/static/chunks/bef6931fdd8428c8.js +0 -1
- package/web/.next/static/chunks/c1f73b3fa4353c31.css +0 -1
- package/web/.next/static/chunks/fbdcbd65f9a38f4b.js +0 -7
- /package/web/.next/standalone/web/.next/static/{pSGgtxBjN5_o0YHZgQzXm → static/vLqK4jK7EKdLCpQ-D6-qL}/_buildManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{pSGgtxBjN5_o0YHZgQzXm → static/vLqK4jK7EKdLCpQ-D6-qL}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/standalone/web/.next/static/{pSGgtxBjN5_o0YHZgQzXm → static/vLqK4jK7EKdLCpQ-D6-qL}/_ssgManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{static/pSGgtxBjN5_o0YHZgQzXm → vLqK4jK7EKdLCpQ-D6-qL}/_buildManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{static/pSGgtxBjN5_o0YHZgQzXm → vLqK4jK7EKdLCpQ-D6-qL}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/standalone/web/.next/static/{static/pSGgtxBjN5_o0YHZgQzXm → vLqK4jK7EKdLCpQ-D6-qL}/_ssgManifest.js +0 -0
- /package/web/.next/static/{pSGgtxBjN5_o0YHZgQzXm → vLqK4jK7EKdLCpQ-D6-qL}/_buildManifest.js +0 -0
- /package/web/.next/static/{pSGgtxBjN5_o0YHZgQzXm → vLqK4jK7EKdLCpQ-D6-qL}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{pSGgtxBjN5_o0YHZgQzXm → vLqK4jK7EKdLCpQ-D6-qL}/_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, U as UserContentPart, s as UserFilePart, t as UserImagePart, u as UserModelMessage, v 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-ecQSnCMz.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, U as UserContentPart, s as UserFilePart, t as UserImagePart, u as UserModelMessage, v as UserTextPart } from '../schema-ecQSnCMz.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-ecQSnCMz.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-DOzC4ojH.js';
|
|
5
5
|
|
|
6
6
|
declare const ToolApprovalConfigSchema: z.ZodObject<{
|
|
7
7
|
bash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -38,25 +38,25 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
38
38
|
iterations: z.ZodOptional<z.ZodNumber>;
|
|
39
39
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
status: "
|
|
41
|
+
status: "completed" | "failed" | "running";
|
|
42
42
|
enabled: boolean;
|
|
43
43
|
outputSchema: Record<string, unknown>;
|
|
44
|
-
|
|
44
|
+
error?: string | undefined;
|
|
45
45
|
maxIterations?: number | undefined;
|
|
46
|
+
webhookUrl?: string | undefined;
|
|
47
|
+
parentTaskId?: string | undefined;
|
|
46
48
|
result?: unknown;
|
|
47
|
-
error?: string | undefined;
|
|
48
49
|
iterations?: number | undefined;
|
|
49
|
-
parentTaskId?: string | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
status: "
|
|
51
|
+
status: "completed" | "failed" | "running";
|
|
52
52
|
enabled: boolean;
|
|
53
53
|
outputSchema: Record<string, unknown>;
|
|
54
|
-
|
|
54
|
+
error?: string | undefined;
|
|
55
55
|
maxIterations?: number | undefined;
|
|
56
|
+
webhookUrl?: string | undefined;
|
|
57
|
+
parentTaskId?: string | undefined;
|
|
56
58
|
result?: unknown;
|
|
57
|
-
error?: string | undefined;
|
|
58
59
|
iterations?: number | undefined;
|
|
59
|
-
parentTaskId?: string | undefined;
|
|
60
60
|
}>>;
|
|
61
61
|
computerUseEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
62
62
|
computerUseDisplayWidth: z.ZodOptional<z.ZodNumber>;
|
|
@@ -87,20 +87,20 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
87
87
|
lastFiredAt: z.ZodOptional<z.ZodString>;
|
|
88
88
|
createdAt: z.ZodString;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
|
-
enabled: boolean;
|
|
91
90
|
id: string;
|
|
92
91
|
name: string;
|
|
93
|
-
|
|
94
|
-
prompt: string;
|
|
92
|
+
enabled: boolean;
|
|
95
93
|
createdAt: string;
|
|
94
|
+
prompt: string;
|
|
95
|
+
cron: string;
|
|
96
96
|
replyChannel?: string | undefined;
|
|
97
97
|
lastFiredAt?: string | undefined;
|
|
98
98
|
}, {
|
|
99
99
|
id: string;
|
|
100
100
|
name: string;
|
|
101
|
-
cron: string;
|
|
102
|
-
prompt: string;
|
|
103
101
|
createdAt: string;
|
|
102
|
+
prompt: string;
|
|
103
|
+
cron: string;
|
|
104
104
|
enabled?: boolean | undefined;
|
|
105
105
|
replyChannel?: string | undefined;
|
|
106
106
|
lastFiredAt?: string | undefined;
|
|
@@ -115,19 +115,19 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
115
115
|
lastHitAt: z.ZodOptional<z.ZodString>;
|
|
116
116
|
createdAt: z.ZodString;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
token: string;
|
|
118
119
|
id: string;
|
|
119
120
|
name: string;
|
|
120
121
|
createdAt: string;
|
|
121
|
-
token: string;
|
|
122
122
|
wake: "now" | "next";
|
|
123
123
|
hitCount: number;
|
|
124
124
|
template?: string | undefined;
|
|
125
125
|
lastHitAt?: string | undefined;
|
|
126
126
|
}, {
|
|
127
|
+
token: string;
|
|
127
128
|
id: string;
|
|
128
129
|
name: string;
|
|
129
130
|
createdAt: string;
|
|
130
|
-
token: string;
|
|
131
131
|
wake?: "now" | "next" | undefined;
|
|
132
132
|
template?: string | undefined;
|
|
133
133
|
hitCount?: number | undefined;
|
|
@@ -137,96 +137,96 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
137
137
|
maxContextChars: number;
|
|
138
138
|
toolApprovals?: Record<string, boolean> | undefined;
|
|
139
139
|
approvalWebhook?: string | undefined;
|
|
140
|
-
|
|
140
|
+
webhooks?: {
|
|
141
|
+
token: string;
|
|
142
|
+
id: string;
|
|
143
|
+
name: string;
|
|
144
|
+
createdAt: string;
|
|
145
|
+
wake: "now" | "next";
|
|
146
|
+
hitCount: number;
|
|
147
|
+
template?: string | undefined;
|
|
148
|
+
lastHitAt?: string | undefined;
|
|
149
|
+
}[] | undefined;
|
|
150
|
+
slack?: {
|
|
151
|
+
channel?: string | undefined;
|
|
152
|
+
threadTs?: string | undefined;
|
|
153
|
+
teamId?: string | undefined;
|
|
154
|
+
} | undefined;
|
|
141
155
|
task?: {
|
|
142
|
-
status: "
|
|
156
|
+
status: "completed" | "failed" | "running";
|
|
143
157
|
enabled: boolean;
|
|
144
158
|
outputSchema: Record<string, unknown>;
|
|
145
|
-
|
|
159
|
+
error?: string | undefined;
|
|
146
160
|
maxIterations?: number | undefined;
|
|
161
|
+
webhookUrl?: string | undefined;
|
|
162
|
+
parentTaskId?: string | undefined;
|
|
147
163
|
result?: unknown;
|
|
148
|
-
error?: string | undefined;
|
|
149
164
|
iterations?: number | undefined;
|
|
150
|
-
parentTaskId?: string | undefined;
|
|
151
165
|
} | undefined;
|
|
166
|
+
skillsDirectory?: string | undefined;
|
|
152
167
|
computerUseEnabled?: boolean | undefined;
|
|
153
168
|
computerUseDisplayWidth?: number | undefined;
|
|
154
169
|
computerUseDisplayHeight?: number | undefined;
|
|
155
170
|
role?: "orchestrator" | "worker" | "chat" | undefined;
|
|
156
171
|
personality?: string | undefined;
|
|
157
172
|
orchestratorSessionId?: string | undefined;
|
|
158
|
-
slack?: {
|
|
159
|
-
channel?: string | undefined;
|
|
160
|
-
threadTs?: string | undefined;
|
|
161
|
-
teamId?: string | undefined;
|
|
162
|
-
} | undefined;
|
|
163
173
|
schedules?: {
|
|
164
|
-
enabled: boolean;
|
|
165
174
|
id: string;
|
|
166
175
|
name: string;
|
|
167
|
-
|
|
168
|
-
prompt: string;
|
|
176
|
+
enabled: boolean;
|
|
169
177
|
createdAt: string;
|
|
178
|
+
prompt: string;
|
|
179
|
+
cron: string;
|
|
170
180
|
replyChannel?: string | undefined;
|
|
171
181
|
lastFiredAt?: string | undefined;
|
|
172
182
|
}[] | undefined;
|
|
183
|
+
}, {
|
|
184
|
+
toolApprovals?: Record<string, boolean> | undefined;
|
|
185
|
+
approvalWebhook?: string | undefined;
|
|
173
186
|
webhooks?: {
|
|
187
|
+
token: string;
|
|
174
188
|
id: string;
|
|
175
189
|
name: string;
|
|
176
190
|
createdAt: string;
|
|
177
|
-
|
|
178
|
-
wake: "now" | "next";
|
|
179
|
-
hitCount: number;
|
|
191
|
+
wake?: "now" | "next" | undefined;
|
|
180
192
|
template?: string | undefined;
|
|
193
|
+
hitCount?: number | undefined;
|
|
181
194
|
lastHitAt?: string | undefined;
|
|
182
195
|
}[] | undefined;
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
196
|
+
slack?: {
|
|
197
|
+
channel?: string | undefined;
|
|
198
|
+
threadTs?: string | undefined;
|
|
199
|
+
teamId?: string | undefined;
|
|
200
|
+
} | undefined;
|
|
188
201
|
task?: {
|
|
189
|
-
status: "
|
|
202
|
+
status: "completed" | "failed" | "running";
|
|
190
203
|
enabled: boolean;
|
|
191
204
|
outputSchema: Record<string, unknown>;
|
|
192
|
-
|
|
205
|
+
error?: string | undefined;
|
|
193
206
|
maxIterations?: number | undefined;
|
|
207
|
+
webhookUrl?: string | undefined;
|
|
208
|
+
parentTaskId?: string | undefined;
|
|
194
209
|
result?: unknown;
|
|
195
|
-
error?: string | undefined;
|
|
196
210
|
iterations?: number | undefined;
|
|
197
|
-
parentTaskId?: string | undefined;
|
|
198
211
|
} | undefined;
|
|
212
|
+
skillsDirectory?: string | undefined;
|
|
213
|
+
maxContextChars?: number | undefined;
|
|
199
214
|
computerUseEnabled?: boolean | undefined;
|
|
200
215
|
computerUseDisplayWidth?: number | undefined;
|
|
201
216
|
computerUseDisplayHeight?: number | undefined;
|
|
202
217
|
role?: "orchestrator" | "worker" | "chat" | undefined;
|
|
203
218
|
personality?: string | undefined;
|
|
204
219
|
orchestratorSessionId?: string | undefined;
|
|
205
|
-
slack?: {
|
|
206
|
-
channel?: string | undefined;
|
|
207
|
-
threadTs?: string | undefined;
|
|
208
|
-
teamId?: string | undefined;
|
|
209
|
-
} | undefined;
|
|
210
220
|
schedules?: {
|
|
211
221
|
id: string;
|
|
212
222
|
name: string;
|
|
213
|
-
cron: string;
|
|
214
|
-
prompt: string;
|
|
215
223
|
createdAt: string;
|
|
224
|
+
prompt: string;
|
|
225
|
+
cron: string;
|
|
216
226
|
enabled?: boolean | undefined;
|
|
217
227
|
replyChannel?: string | undefined;
|
|
218
228
|
lastFiredAt?: string | undefined;
|
|
219
229
|
}[] | undefined;
|
|
220
|
-
webhooks?: {
|
|
221
|
-
id: string;
|
|
222
|
-
name: string;
|
|
223
|
-
createdAt: string;
|
|
224
|
-
token: string;
|
|
225
|
-
wake?: "now" | "next" | undefined;
|
|
226
|
-
template?: string | undefined;
|
|
227
|
-
hitCount?: number | undefined;
|
|
228
|
-
lastHitAt?: string | undefined;
|
|
229
|
-
}[] | undefined;
|
|
230
230
|
}>;
|
|
231
231
|
declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
232
232
|
defaultModel: z.ZodDefault<z.ZodString>;
|
|
@@ -392,15 +392,15 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
392
392
|
expiresAt?: string | undefined;
|
|
393
393
|
}>>;
|
|
394
394
|
}, "strip", z.ZodTypeAny, {
|
|
395
|
-
enabled: boolean;
|
|
396
395
|
id: string;
|
|
397
396
|
name: string;
|
|
398
|
-
createdAt: string;
|
|
399
397
|
transport: "http" | "sse" | "stdio";
|
|
400
|
-
|
|
398
|
+
enabled: boolean;
|
|
399
|
+
createdAt: string;
|
|
401
400
|
url?: string | undefined;
|
|
402
401
|
headers?: Record<string, string> | undefined;
|
|
403
402
|
command?: string | undefined;
|
|
403
|
+
args?: string[] | undefined;
|
|
404
404
|
oauth?: {
|
|
405
405
|
authorizationUrl?: string | undefined;
|
|
406
406
|
tokenUrl?: string | undefined;
|
|
@@ -413,13 +413,13 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
413
413
|
}, {
|
|
414
414
|
id: string;
|
|
415
415
|
name: string;
|
|
416
|
-
createdAt: string;
|
|
417
416
|
transport: "http" | "sse" | "stdio";
|
|
418
|
-
|
|
419
|
-
args?: string[] | undefined;
|
|
417
|
+
createdAt: string;
|
|
420
418
|
url?: string | undefined;
|
|
421
419
|
headers?: Record<string, string> | undefined;
|
|
422
420
|
command?: string | undefined;
|
|
421
|
+
args?: string[] | undefined;
|
|
422
|
+
enabled?: boolean | undefined;
|
|
423
423
|
oauth?: {
|
|
424
424
|
authorizationUrl?: string | undefined;
|
|
425
425
|
tokenUrl?: string | undefined;
|
|
@@ -432,15 +432,15 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
432
432
|
}>, "many">>>>;
|
|
433
433
|
}, "strip", z.ZodTypeAny, {
|
|
434
434
|
servers?: {
|
|
435
|
-
enabled: boolean;
|
|
436
435
|
id: string;
|
|
437
436
|
name: string;
|
|
438
|
-
createdAt: string;
|
|
439
437
|
transport: "http" | "sse" | "stdio";
|
|
440
|
-
|
|
438
|
+
enabled: boolean;
|
|
439
|
+
createdAt: string;
|
|
441
440
|
url?: string | undefined;
|
|
442
441
|
headers?: Record<string, string> | undefined;
|
|
443
442
|
command?: string | undefined;
|
|
443
|
+
args?: string[] | undefined;
|
|
444
444
|
oauth?: {
|
|
445
445
|
authorizationUrl?: string | undefined;
|
|
446
446
|
tokenUrl?: string | undefined;
|
|
@@ -455,13 +455,13 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
455
455
|
servers?: {
|
|
456
456
|
id: string;
|
|
457
457
|
name: string;
|
|
458
|
-
createdAt: string;
|
|
459
458
|
transport: "http" | "sse" | "stdio";
|
|
460
|
-
|
|
461
|
-
args?: string[] | undefined;
|
|
459
|
+
createdAt: string;
|
|
462
460
|
url?: string | undefined;
|
|
463
461
|
headers?: Record<string, string> | undefined;
|
|
464
462
|
command?: string | undefined;
|
|
463
|
+
args?: string[] | undefined;
|
|
464
|
+
enabled?: boolean | undefined;
|
|
465
465
|
oauth?: {
|
|
466
466
|
authorizationUrl?: string | undefined;
|
|
467
467
|
tokenUrl?: string | undefined;
|
|
@@ -504,6 +504,7 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
504
504
|
allowedEmails?: string[] | undefined;
|
|
505
505
|
}>>;
|
|
506
506
|
}, "strip", z.ZodTypeAny, {
|
|
507
|
+
defaultModel: string;
|
|
507
508
|
toolApprovals: {
|
|
508
509
|
bash: boolean;
|
|
509
510
|
write_file: boolean;
|
|
@@ -511,7 +512,6 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
511
512
|
load_skill: boolean;
|
|
512
513
|
todo: boolean;
|
|
513
514
|
};
|
|
514
|
-
defaultModel: string;
|
|
515
515
|
skills: {
|
|
516
516
|
directory: string;
|
|
517
517
|
additionalDirectories: string[];
|
|
@@ -527,21 +527,11 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
527
527
|
publicUrl?: string | undefined;
|
|
528
528
|
};
|
|
529
529
|
databasePath: string;
|
|
530
|
+
workingDirectory?: string | undefined;
|
|
530
531
|
approvalWebhook?: string | undefined;
|
|
531
|
-
slack?: {
|
|
532
|
-
botToken?: string | undefined;
|
|
533
|
-
signingSecret?: string | undefined;
|
|
534
|
-
defaultOrchestratorName?: string | undefined;
|
|
535
|
-
allowedUsers?: string[] | undefined;
|
|
536
|
-
allowedChannels?: string[] | undefined;
|
|
537
|
-
allowDmsFromAnyone?: boolean | undefined;
|
|
538
|
-
deniedReplyEnabled?: boolean | undefined;
|
|
539
|
-
deniedReplyTemplate?: string | undefined;
|
|
540
|
-
} | undefined;
|
|
541
532
|
webhooks?: {
|
|
542
533
|
token?: string | undefined;
|
|
543
534
|
} | undefined;
|
|
544
|
-
workingDirectory?: string | undefined;
|
|
545
535
|
remoteServer?: {
|
|
546
536
|
url?: string | undefined;
|
|
547
537
|
authKey?: string | undefined;
|
|
@@ -554,17 +544,27 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
554
544
|
httpUrl?: string | undefined;
|
|
555
545
|
namespace?: string | undefined;
|
|
556
546
|
} | undefined;
|
|
547
|
+
slack?: {
|
|
548
|
+
botToken?: string | undefined;
|
|
549
|
+
signingSecret?: string | undefined;
|
|
550
|
+
defaultOrchestratorName?: string | undefined;
|
|
551
|
+
allowedUsers?: string[] | undefined;
|
|
552
|
+
allowedChannels?: string[] | undefined;
|
|
553
|
+
allowDmsFromAnyone?: boolean | undefined;
|
|
554
|
+
deniedReplyEnabled?: boolean | undefined;
|
|
555
|
+
deniedReplyTemplate?: string | undefined;
|
|
556
|
+
} | undefined;
|
|
557
557
|
mcp?: {
|
|
558
558
|
servers?: {
|
|
559
|
-
enabled: boolean;
|
|
560
559
|
id: string;
|
|
561
560
|
name: string;
|
|
562
|
-
createdAt: string;
|
|
563
561
|
transport: "http" | "sse" | "stdio";
|
|
564
|
-
|
|
562
|
+
enabled: boolean;
|
|
563
|
+
createdAt: string;
|
|
565
564
|
url?: string | undefined;
|
|
566
565
|
headers?: Record<string, string> | undefined;
|
|
567
566
|
command?: string | undefined;
|
|
567
|
+
args?: string[] | undefined;
|
|
568
568
|
oauth?: {
|
|
569
569
|
authorizationUrl?: string | undefined;
|
|
570
570
|
tokenUrl?: string | undefined;
|
|
@@ -585,6 +585,8 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
585
585
|
allowedEmails?: string[] | undefined;
|
|
586
586
|
} | undefined;
|
|
587
587
|
}, {
|
|
588
|
+
defaultModel?: string | undefined;
|
|
589
|
+
workingDirectory?: string | undefined;
|
|
588
590
|
toolApprovals?: {
|
|
589
591
|
bash?: boolean | undefined;
|
|
590
592
|
write_file?: boolean | undefined;
|
|
@@ -593,21 +595,6 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
593
595
|
todo?: boolean | undefined;
|
|
594
596
|
} | undefined;
|
|
595
597
|
approvalWebhook?: string | undefined;
|
|
596
|
-
slack?: {
|
|
597
|
-
botToken?: string | undefined;
|
|
598
|
-
signingSecret?: string | undefined;
|
|
599
|
-
defaultOrchestratorName?: string | undefined;
|
|
600
|
-
allowedUsers?: string[] | undefined;
|
|
601
|
-
allowedChannels?: string[] | undefined;
|
|
602
|
-
allowDmsFromAnyone?: boolean | undefined;
|
|
603
|
-
deniedReplyEnabled?: boolean | undefined;
|
|
604
|
-
deniedReplyTemplate?: string | undefined;
|
|
605
|
-
} | undefined;
|
|
606
|
-
webhooks?: {
|
|
607
|
-
token?: string | undefined;
|
|
608
|
-
} | undefined;
|
|
609
|
-
workingDirectory?: string | undefined;
|
|
610
|
-
defaultModel?: string | undefined;
|
|
611
598
|
skills?: {
|
|
612
599
|
directory?: string | undefined;
|
|
613
600
|
additionalDirectories?: string[] | undefined;
|
|
@@ -622,6 +609,9 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
622
609
|
host?: string | undefined;
|
|
623
610
|
publicUrl?: string | undefined;
|
|
624
611
|
} | undefined;
|
|
612
|
+
webhooks?: {
|
|
613
|
+
token?: string | undefined;
|
|
614
|
+
} | undefined;
|
|
625
615
|
databasePath?: string | undefined;
|
|
626
616
|
remoteServer?: {
|
|
627
617
|
url?: string | undefined;
|
|
@@ -635,17 +625,27 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
635
625
|
include?: string[] | undefined;
|
|
636
626
|
exclude?: string[] | undefined;
|
|
637
627
|
} | undefined;
|
|
628
|
+
slack?: {
|
|
629
|
+
botToken?: string | undefined;
|
|
630
|
+
signingSecret?: string | undefined;
|
|
631
|
+
defaultOrchestratorName?: string | undefined;
|
|
632
|
+
allowedUsers?: string[] | undefined;
|
|
633
|
+
allowedChannels?: string[] | undefined;
|
|
634
|
+
allowDmsFromAnyone?: boolean | undefined;
|
|
635
|
+
deniedReplyEnabled?: boolean | undefined;
|
|
636
|
+
deniedReplyTemplate?: string | undefined;
|
|
637
|
+
} | undefined;
|
|
638
638
|
mcp?: {
|
|
639
639
|
servers?: {
|
|
640
640
|
id: string;
|
|
641
641
|
name: string;
|
|
642
|
-
createdAt: string;
|
|
643
642
|
transport: "http" | "sse" | "stdio";
|
|
644
|
-
|
|
645
|
-
args?: string[] | undefined;
|
|
643
|
+
createdAt: string;
|
|
646
644
|
url?: string | undefined;
|
|
647
645
|
headers?: Record<string, string> | undefined;
|
|
648
646
|
command?: string | undefined;
|
|
647
|
+
args?: string[] | undefined;
|
|
648
|
+
enabled?: boolean | undefined;
|
|
649
649
|
oauth?: {
|
|
650
650
|
authorizationUrl?: string | undefined;
|
|
651
651
|
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-Bi8Ek02A.js';
|
|
2
|
+
export { A as Agent, a as AgentOptions, b as AgentRunOptions, c as AgentStreamResult, S as SparkcoderConfig, T as ToolApprovalConfig } from './index-Bi8Ek02A.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-ecQSnCMz.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-ecQSnCMz.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-DOzC4ojH.js';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'hono/types';
|