@copilotkit/sqlite-runner 0.0.0-main-20260403195251 → 0.0.0-main-20260407163127
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/CHANGELOG.md +4 -2
- package/package.json +5 -5
- package/vitest.config.mjs +1 -0
- package/dist/index.d.ts +0 -2
- package/dist/sqlite-runner.d.ts +0 -29
- package/dist/sqlite-runner.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @copilotkit/sqlite-runner
|
|
2
2
|
|
|
3
|
-
## 0.0.0-main-
|
|
3
|
+
## 0.0.0-main-20260407163127
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -13,8 +13,10 @@
|
|
|
13
13
|
- Updated dependencies [8aafcbe]
|
|
14
14
|
- Updated dependencies [52a9322]
|
|
15
15
|
- Updated dependencies [1ceb963]
|
|
16
|
+
- Updated dependencies [9a6ee39]
|
|
16
17
|
- Updated dependencies [1ceb963]
|
|
17
|
-
|
|
18
|
+
- Updated dependencies [5289791]
|
|
19
|
+
- @copilotkit/runtime@0.0.0-main-20260407163127
|
|
18
20
|
|
|
19
21
|
## 1.55.0-next.8
|
|
20
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/sqlite-runner",
|
|
3
|
-
"version": "0.0.0-main-
|
|
3
|
+
"version": "0.0.0-main-20260407163127",
|
|
4
4
|
"description": "SQLite-backed agent runner for CopilotKit2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@ag-ui/client": "0.0.
|
|
20
|
+
"@ag-ui/client": "0.0.51",
|
|
21
21
|
"rxjs": "7.8.1",
|
|
22
|
-
"@copilotkit/runtime": "0.0.0-main-
|
|
22
|
+
"@copilotkit/runtime": "0.0.0-main-20260407163127"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/better-sqlite3": "^7.6.13",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"tsdown": "^0.20.3",
|
|
29
29
|
"typescript": "5.8.2",
|
|
30
30
|
"vitest": "^3.0.5",
|
|
31
|
-
"@copilotkit/typescript-config": "0.0.0-main-
|
|
31
|
+
"@copilotkit/typescript-config": "0.0.0-main-20260407163127"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"better-sqlite3": "^12.2.0"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"node": ">=18"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
|
-
"build": "tsdown
|
|
45
|
+
"build": "tsdown",
|
|
46
46
|
"dev": "tsdown --watch",
|
|
47
47
|
"check-types": "tsc --noEmit",
|
|
48
48
|
"test": "vitest run",
|
package/vitest.config.mjs
CHANGED
|
@@ -9,6 +9,7 @@ export default defineConfig({
|
|
|
9
9
|
environment: "node",
|
|
10
10
|
globals: true,
|
|
11
11
|
include: ["src/**/__tests__/**/*.{test,spec}.ts"],
|
|
12
|
+
exclude: ["**/node_modules/**", "**/integration/bun/**"],
|
|
12
13
|
reporters: [["default", { summary: false }]],
|
|
13
14
|
silent: true,
|
|
14
15
|
coverage: {
|
package/dist/index.d.ts
DELETED
package/dist/sqlite-runner.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AgentRunner, AgentRunnerConnectRequest, AgentRunnerIsRunningRequest, AgentRunnerRunRequest, AgentRunnerStopRequest } from "@copilotkit/runtime/v2";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { BaseEvent } from "@ag-ui/client";
|
|
4
|
-
|
|
5
|
-
//#region src/sqlite-runner.d.ts
|
|
6
|
-
interface SqliteAgentRunnerOptions {
|
|
7
|
-
dbPath?: string;
|
|
8
|
-
}
|
|
9
|
-
declare class SqliteAgentRunner extends AgentRunner {
|
|
10
|
-
private db;
|
|
11
|
-
constructor(options?: SqliteAgentRunnerOptions);
|
|
12
|
-
private initializeSchema;
|
|
13
|
-
private storeRun;
|
|
14
|
-
private getHistoricRuns;
|
|
15
|
-
private getLatestRunId;
|
|
16
|
-
private setRunState;
|
|
17
|
-
private getRunState;
|
|
18
|
-
run(request: AgentRunnerRunRequest): Observable<BaseEvent>;
|
|
19
|
-
connect(request: AgentRunnerConnectRequest): Observable<BaseEvent>;
|
|
20
|
-
isRunning(request: AgentRunnerIsRunningRequest): Promise<boolean>;
|
|
21
|
-
stop(request: AgentRunnerStopRequest): Promise<boolean | undefined>;
|
|
22
|
-
/**
|
|
23
|
-
* Close the database connection (for cleanup)
|
|
24
|
-
*/
|
|
25
|
-
close(): void;
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
export { SqliteAgentRunner, SqliteAgentRunnerOptions };
|
|
29
|
-
//# sourceMappingURL=sqlite-runner.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sqlite-runner.d.cts","names":[],"sources":["../src/sqlite-runner.ts"],"mappings":";;;;;UAgCiB,wBAAA;EACf,MAAA;AAAA;AAAA,cAcW,iBAAA,SAA0B,WAAA;EAAA,QAC7B,EAAA;cAEI,OAAA,GAAS,wBAAA;EAAA,QAqBb,gBAAA;EAAA,QAuDA,QAAA;EAAA,QA0BA,eAAA;EAAA,QAgCA,cAAA;EAAA,QAYA,WAAA;EAAA,QAYA,WAAA;EAiBR,GAAA,CAAI,OAAA,EAAS,qBAAA,GAAwB,UAAA,CAAW,SAAA;EAgMhD,OAAA,CAAQ,OAAA,EAAS,yBAAA,GAA4B,UAAA,CAAW,SAAA;EAuDxD,SAAA,CAAU,OAAA,EAAS,2BAAA,GAA8B,OAAA;EAKjD,IAAA,CAAK,OAAA,EAAS,sBAAA,GAAyB,OAAA;EA5DM;;;EA8F7C,KAAA,CAAA;AAAA"}
|