@copilotkit/sqlite-runner 0.0.0-fix-license-verifier-client-bundle-20260402220111 → 0.0.0-main-20260403195251

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @copilotkit/sqlite-runner
2
2
 
3
- ## 0.0.0-fix-license-verifier-client-bundle-20260402220111
3
+ ## 0.0.0-main-20260403195251
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -11,10 +11,10 @@
11
11
  - Updated dependencies [1ceb963]
12
12
  - Updated dependencies [1ceb963]
13
13
  - Updated dependencies [8aafcbe]
14
- - Updated dependencies [e7507fd]
14
+ - Updated dependencies [52a9322]
15
15
  - Updated dependencies [1ceb963]
16
16
  - Updated dependencies [1ceb963]
17
- - @copilotkit/runtime@0.0.0-fix-license-verifier-client-bundle-20260402220111
17
+ - @copilotkit/runtime@0.0.0-main-20260403195251
18
18
 
19
19
  ## 1.55.0-next.8
20
20
 
@@ -0,0 +1,2 @@
1
+ import { SqliteAgentRunner, SqliteAgentRunnerOptions } from "./sqlite-runner.cjs";
2
+ export { SqliteAgentRunner, SqliteAgentRunnerOptions };
@@ -0,0 +1,29 @@
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
@@ -0,0 +1 @@
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkit/sqlite-runner",
3
- "version": "0.0.0-fix-license-verifier-client-bundle-20260402220111",
3
+ "version": "0.0.0-main-20260403195251",
4
4
  "description": "SQLite-backed agent runner for CopilotKit2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@ag-ui/client": "0.0.48",
21
21
  "rxjs": "7.8.1",
22
- "@copilotkit/runtime": "0.0.0-fix-license-verifier-client-bundle-20260402220111"
22
+ "@copilotkit/runtime": "0.0.0-main-20260403195251"
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-fix-license-verifier-client-bundle-20260402220111"
31
+ "@copilotkit/typescript-config": "0.0.0-main-20260403195251"
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 && node ../../scripts/copy-dts.mjs",
46
46
  "dev": "tsdown --watch",
47
47
  "check-types": "tsc --noEmit",
48
48
  "test": "vitest run",