copilotkit 0.0.3 → 0.0.5

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.
Files changed (44) hide show
  1. package/README.md +40 -2
  2. package/bin/dev.cmd +3 -0
  3. package/bin/dev.js +8 -0
  4. package/bin/run.cmd +3 -0
  5. package/bin/run.js +5 -0
  6. package/dist/commands/base-command.d.ts +11 -0
  7. package/dist/commands/base-command.js +70 -0
  8. package/dist/commands/base-command.js.map +1 -0
  9. package/dist/commands/dev.d.ts +25 -0
  10. package/dist/commands/dev.js +591 -0
  11. package/dist/commands/dev.js.map +1 -0
  12. package/dist/commands/login.d.ts +13 -0
  13. package/dist/commands/login.js +306 -0
  14. package/dist/commands/login.js.map +1 -0
  15. package/dist/commands/logout.d.ts +13 -0
  16. package/dist/commands/logout.js +309 -0
  17. package/dist/commands/logout.js.map +1 -0
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.js +6 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/services/analytics.service.d.ts +25 -0
  22. package/dist/services/analytics.service.js +75 -0
  23. package/dist/services/analytics.service.js.map +1 -0
  24. package/dist/services/auth.service.d.ts +23 -0
  25. package/dist/services/auth.service.js +226 -0
  26. package/dist/services/auth.service.js.map +1 -0
  27. package/dist/services/events.d.ts +31 -0
  28. package/dist/services/events.js +1 -0
  29. package/dist/services/events.js.map +1 -0
  30. package/dist/services/tunnel.service.d.ts +15 -0
  31. package/dist/services/tunnel.service.js +17 -0
  32. package/dist/services/tunnel.service.js.map +1 -0
  33. package/dist/utils/detect-endpoint-type.utils.d.ts +13 -0
  34. package/dist/utils/detect-endpoint-type.utils.js +117 -0
  35. package/dist/utils/detect-endpoint-type.utils.js.map +1 -0
  36. package/dist/utils/trpc.d.ts +4 -0
  37. package/dist/utils/trpc.js +25 -0
  38. package/dist/utils/trpc.js.map +1 -0
  39. package/dist/utils/version.d.ts +3 -0
  40. package/dist/utils/version.js +6 -0
  41. package/dist/utils/version.js.map +1 -0
  42. package/oclif.manifest.json +106 -0
  43. package/package.json +90 -84
  44. package/LICENSE +0 -13
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/detect-endpoint-type.utils.ts"],"sourcesContent":["import { TRPCError } from \"@trpc/server\";\nimport { z } from \"zod\";\n\nexport enum RemoteEndpointType {\n LangGraphPlatform = 'LangGraphPlatform',\n CopilotKit = 'CopilotKit',\n Invalid = 'Invalid',\n}\n\nconst removeTrailingSlash = (url: string) => url.replace(/\\/$/, '');\n\nexport const getHumanReadableEndpointType = (type: RemoteEndpointType) => {\n switch (type) {\n case RemoteEndpointType.LangGraphPlatform:\n return 'LangGraph Platform';\n case RemoteEndpointType.CopilotKit:\n return 'CopilotKit';\n default:\n return 'Invalid';\n }\n}\n\nexport async function detectRemoteEndpointType(url: string): Promise<{\n url: string;\n type: RemoteEndpointType;\n humanReadableType: string;\n}> {\n\n const promises = [\n isLangGraphPlatformEndpoint(url),\n isCopilotKitEndpoint(url),\n ];\n\n if (!url.endsWith('/copilotkit')) {\n promises.push(isCopilotKitEndpoint(`${removeTrailingSlash(url)}/copilotkit`));\n }\n\n const results = await Promise.all(promises);\n\n // LangGraph Platform\n if (results[0]) {\n return {\n url,\n type: RemoteEndpointType.LangGraphPlatform,\n humanReadableType: 'LangGraph Platform',\n }\n }\n\n // CopilotKit\n if (results[1]) {\n return {\n url,\n type: RemoteEndpointType.CopilotKit,\n humanReadableType: 'CopilotKit',\n }\n }\n\n // CopilotKit with appended /copilotkit\n if (results[2]) {\n return {\n url: `${removeTrailingSlash(url)}/copilotkit`,\n type: RemoteEndpointType.CopilotKit,\n humanReadableType: 'CopilotKit',\n }\n }\n\n return {\n url,\n type: RemoteEndpointType.Invalid,\n humanReadableType: 'Invalid',\n };\n}\n\nasync function isLangGraphPlatformEndpoint(url: string, retries: number = 0): Promise<boolean> {\n let response\n\n try {\n response = await fetch(`${url}/assistants/search`, {\n method: 'POST',\n\n body: JSON.stringify({\n metadata: {},\n limit: 99,\n offset: 0,\n }),\n });\n } catch (error) {\n return false;\n }\n\n if (!response.ok) {\n if (response.status === 502) {\n if (retries < 3) {\n console.log(\"RETRYING LGC\", retries + 1);\n return isLangGraphPlatformEndpoint(url, retries + 1);\n }\n }\n\n if (response.status === 403) {\n return true;\n }\n\n return false;\n }\n\n const data = await response.json();\n\n if (data[0].assistant_id) {\n return true;\n }\n\n return false;\n}\n\nasync function isCopilotKitEndpoint(url: string, retries: number = 0): Promise<boolean> {\n let response\n\n try {\n response = await fetch(`${url}/info`, {\n method: \"POST\",\n body: JSON.stringify({}),\n });\n } catch (error) {\n return false;\n }\n\n if (!response.ok) {\n if (response.status === 502) {\n if (retries < 3) {\n console.log(\"RETRYING CK\", retries + 1);\n return isCopilotKitEndpoint(url, retries + 1);\n }\n }\n\n return false;\n }\n\n const data = await response.json();\n\n if (data.agents && data.actions) {\n return true;\n }\n\n return false;\n}"],"mappings":";AAGO,IAAK,qBAAL,kBAAKA,wBAAL;AACL,EAAAA,oBAAA,uBAAoB;AACpB,EAAAA,oBAAA,gBAAa;AACb,EAAAA,oBAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;AAMZ,IAAM,sBAAsB,CAAC,QAAgB,IAAI,QAAQ,OAAO,EAAE;AAE3D,IAAM,+BAA+B,CAAC,SAA6B;AACxE,UAAQ,MAAM;AAAA,IACZ,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAEA,eAAsB,yBAAyB,KAI5C;AAED,QAAM,WAAW;AAAA,IACf,4BAA4B,GAAG;AAAA,IAC/B,qBAAqB,GAAG;AAAA,EAC1B;AAEA,MAAI,CAAC,IAAI,SAAS,aAAa,GAAG;AAChC,aAAS,KAAK,qBAAqB,GAAG,oBAAoB,GAAG,CAAC,aAAa,CAAC;AAAA,EAC9E;AAEA,QAAM,UAAU,MAAM,QAAQ,IAAI,QAAQ;AAG1C,MAAI,QAAQ,CAAC,GAAG;AACd,WAAO;AAAA,MACL;AAAA,MACA,MAAM;AAAA,MACN,mBAAmB;AAAA,IACrB;AAAA,EACF;AAGA,MAAI,QAAQ,CAAC,GAAG;AACd,WAAO;AAAA,MACL;AAAA,MACA,MAAM;AAAA,MACN,mBAAmB;AAAA,IACrB;AAAA,EACF;AAGA,MAAI,QAAQ,CAAC,GAAG;AACd,WAAO;AAAA,MACL,KAAK,GAAG,oBAAoB,GAAG,CAAC;AAAA,MAChC,MAAM;AAAA,MACN,mBAAmB;AAAA,IACrB;AAAA,EACF;AAEA,SAAO;AAAA,IACL;AAAA,IACA,MAAM;AAAA,IACN,mBAAmB;AAAA,EACrB;AACF;AAEA,eAAe,4BAA4B,KAAa,UAAkB,GAAqB;AAC7F,MAAI;AAEJ,MAAI;AACF,eAAW,MAAM,MAAM,GAAG,GAAG,sBAAsB;AAAA,MACjD,QAAQ;AAAA,MAER,MAAM,KAAK,UAAU;AAAA,QACnB,UAAU,CAAC;AAAA,QACX,OAAO;AAAA,QACP,QAAQ;AAAA,MACV,CAAC;AAAA,IACH,CAAC;AAAA,EACH,SAAS,OAAO;AACd,WAAO;AAAA,EACT;AAEA,MAAI,CAAC,SAAS,IAAI;AAChB,QAAI,SAAS,WAAW,KAAK;AAC3B,UAAI,UAAU,GAAG;AACf,gBAAQ,IAAI,gBAAgB,UAAU,CAAC;AACvC,eAAO,4BAA4B,KAAK,UAAU,CAAC;AAAA,MACrD;AAAA,IACF;AAEA,QAAI,SAAS,WAAW,KAAK;AAC3B,aAAO;AAAA,IACT;AAEA,WAAO;AAAA,EACT;AAEA,QAAM,OAAO,MAAM,SAAS,KAAK;AAEjC,MAAI,KAAK,CAAC,EAAE,cAAc;AACxB,WAAO;AAAA,EACT;AAEA,SAAO;AACT;AAEA,eAAe,qBAAqB,KAAa,UAAkB,GAAqB;AACtF,MAAI;AAEJ,MAAI;AACF,eAAW,MAAM,MAAM,GAAG,GAAG,SAAS;AAAA,MACpC,QAAQ;AAAA,MACR,MAAM,KAAK,UAAU,CAAC,CAAC;AAAA,IACzB,CAAC;AAAA,EACH,SAAS,OAAO;AACd,WAAO;AAAA,EACT;AAEA,MAAI,CAAC,SAAS,IAAI;AAChB,QAAI,SAAS,WAAW,KAAK;AAC3B,UAAI,UAAU,GAAG;AACf,gBAAQ,IAAI,eAAe,UAAU,CAAC;AACtC,eAAO,qBAAqB,KAAK,UAAU,CAAC;AAAA,MAC9C;AAAA,IACF;AAEA,WAAO;AAAA,EACT;AAEA,QAAM,OAAO,MAAM,SAAS,KAAK;AAEjC,MAAI,KAAK,UAAU,KAAK,SAAS;AAC/B,WAAO;AAAA,EACT;AAEA,SAAO;AACT;","names":["RemoteEndpointType"]}
@@ -0,0 +1,4 @@
1
+ declare const COPILOT_CLOUD_BASE_URL: string;
2
+ declare function createTRPCClient(cliToken: string): any;
3
+
4
+ export { COPILOT_CLOUD_BASE_URL, createTRPCClient };
@@ -0,0 +1,25 @@
1
+ // src/utils/trpc.ts
2
+ import { createTRPCClient as createTRPClient_, unstable_httpBatchStreamLink } from "@trpc/client";
3
+ import superjson from "superjson";
4
+ var COPILOT_CLOUD_BASE_URL = process.env.COPILOT_CLOUD_BASE_URL || "https://cloud.copilotkit.ai";
5
+ function createTRPCClient(cliToken) {
6
+ return createTRPClient_({
7
+ links: [
8
+ unstable_httpBatchStreamLink({
9
+ transformer: superjson,
10
+ url: `${COPILOT_CLOUD_BASE_URL}/api/trpc-cli`,
11
+ headers: () => {
12
+ const headers = new Headers();
13
+ headers.set("x-trpc-source", "cli");
14
+ headers.set("x-cli-token", cliToken);
15
+ return headers;
16
+ }
17
+ })
18
+ ]
19
+ });
20
+ }
21
+ export {
22
+ COPILOT_CLOUD_BASE_URL,
23
+ createTRPCClient
24
+ };
25
+ //# sourceMappingURL=trpc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/trpc.ts"],"sourcesContent":["import {createTRPCClient as createTRPClient_, unstable_httpBatchStreamLink} from '@trpc/client'\nimport type {CLIRouter} from '@repo/trpc-cli'\nimport superjson from 'superjson'\n\nexport const COPILOT_CLOUD_BASE_URL = process.env.COPILOT_CLOUD_BASE_URL || 'https://cloud.copilotkit.ai'\n\nexport function createTRPCClient(cliToken: string) {\n return createTRPClient_<CLIRouter>({\n links: [\n unstable_httpBatchStreamLink({\n transformer: superjson,\n url: `${COPILOT_CLOUD_BASE_URL}/api/trpc-cli`,\n headers: () => {\n const headers = new Headers()\n headers.set('x-trpc-source', 'cli')\n headers.set('x-cli-token', cliToken)\n return headers\n },\n }),\n ],\n })\n}\n"],"mappings":";AAAA,SAAQ,oBAAoB,kBAAkB,oCAAmC;AAEjF,OAAO,eAAe;AAEf,IAAM,yBAAyB,QAAQ,IAAI,0BAA0B;AAErE,SAAS,iBAAiB,UAAkB;AACjD,SAAO,iBAA4B;AAAA,IACjC,OAAO;AAAA,MACL,6BAA6B;AAAA,QAC3B,aAAa;AAAA,QACb,KAAK,GAAG,sBAAsB;AAAA,QAC9B,SAAS,MAAM;AACb,gBAAM,UAAU,IAAI,QAAQ;AAC5B,kBAAQ,IAAI,iBAAiB,KAAK;AAClC,kBAAQ,IAAI,eAAe,QAAQ;AACnC,iBAAO;AAAA,QACT;AAAA,MACF,CAAC;AAAA,IACH;AAAA,EACF,CAAC;AACH;","names":[]}
@@ -0,0 +1,3 @@
1
+ declare const LIB_VERSION = "0.0.5";
2
+
3
+ export { LIB_VERSION };
@@ -0,0 +1,6 @@
1
+ // src/utils/version.ts
2
+ var LIB_VERSION = "0.0.5";
3
+ export {
4
+ LIB_VERSION
5
+ };
6
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/version.ts"],"sourcesContent":["// This is auto generated!\nexport const LIB_VERSION = \"0.0.5\";\n"],"mappings":";AACO,IAAM,cAAc;","names":[]}
@@ -0,0 +1,106 @@
1
+ {
2
+ "commands": {
3
+ "base-command": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "flags": {},
7
+ "hasDynamicHelp": false,
8
+ "hiddenAliases": [],
9
+ "id": "base-command",
10
+ "pluginAlias": "copilotkit",
11
+ "pluginName": "copilotkit",
12
+ "pluginType": "core",
13
+ "strict": true,
14
+ "enableJsonFlag": false,
15
+ "isESM": true,
16
+ "relativePath": [
17
+ "dist",
18
+ "commands",
19
+ "base-command.js"
20
+ ]
21
+ },
22
+ "dev": {
23
+ "aliases": [],
24
+ "args": {},
25
+ "description": "describe the command here",
26
+ "examples": [
27
+ "<%= config.bin %> <%= command.id %>"
28
+ ],
29
+ "flags": {
30
+ "port": {
31
+ "description": "port",
32
+ "name": "port",
33
+ "required": true,
34
+ "hasDynamicHelp": false,
35
+ "multiple": false,
36
+ "type": "option"
37
+ },
38
+ "project": {
39
+ "description": "project",
40
+ "name": "project",
41
+ "hasDynamicHelp": false,
42
+ "multiple": false,
43
+ "type": "option"
44
+ }
45
+ },
46
+ "hasDynamicHelp": false,
47
+ "hiddenAliases": [],
48
+ "id": "dev",
49
+ "pluginAlias": "copilotkit",
50
+ "pluginName": "copilotkit",
51
+ "pluginType": "core",
52
+ "strict": true,
53
+ "isESM": true,
54
+ "relativePath": [
55
+ "dist",
56
+ "commands",
57
+ "dev.js"
58
+ ]
59
+ },
60
+ "login": {
61
+ "aliases": [],
62
+ "args": {},
63
+ "description": "Authenticate with Copilot Cloud",
64
+ "examples": [
65
+ "<%= config.bin %> login"
66
+ ],
67
+ "flags": {},
68
+ "hasDynamicHelp": false,
69
+ "hiddenAliases": [],
70
+ "id": "login",
71
+ "pluginAlias": "copilotkit",
72
+ "pluginName": "copilotkit",
73
+ "pluginType": "core",
74
+ "strict": true,
75
+ "isESM": true,
76
+ "relativePath": [
77
+ "dist",
78
+ "commands",
79
+ "login.js"
80
+ ]
81
+ },
82
+ "logout": {
83
+ "aliases": [],
84
+ "args": {},
85
+ "description": "Authenticate with Copilot Cloud",
86
+ "examples": [
87
+ "<%= config.bin %> logout"
88
+ ],
89
+ "flags": {},
90
+ "hasDynamicHelp": false,
91
+ "hiddenAliases": [],
92
+ "id": "logout",
93
+ "pluginAlias": "copilotkit",
94
+ "pluginName": "copilotkit",
95
+ "pluginType": "core",
96
+ "strict": true,
97
+ "isESM": true,
98
+ "relativePath": [
99
+ "dist",
100
+ "commands",
101
+ "logout.js"
102
+ ]
103
+ }
104
+ },
105
+ "version": "0.0.5"
106
+ }
package/package.json CHANGED
@@ -1,98 +1,104 @@
1
1
  {
2
2
  "name": "copilotkit",
3
- "version": "0.0.3",
4
- "license": "Apache-2.0",
5
- "sideEffects": false,
6
- "main": "./dist/index.js",
7
- "module": "./dist/index.mjs",
8
- "types": "./dist/index.d.ts",
9
- "files": [
10
- "dist/**/*",
11
- "react/dist/**/*",
12
- "svelte/dist/**/*",
13
- "vue/dist/**/*"
14
- ],
15
- "exports": {
16
- "./package.json": "./package.json",
17
- ".": {
18
- "types": "./dist/index.d.ts",
19
- "import": "./dist/index.mjs",
20
- "module": "./dist/index.mjs",
21
- "require": "./dist/index.js"
22
- },
23
- "./react": {
24
- "types": "./react/dist/index.d.ts",
25
- "import": "./react/dist/index.mjs",
26
- "module": "./react/dist/index.mjs",
27
- "require": "./react/dist/index.js"
28
- },
29
- "./svelte": {
30
- "types": "./svelte/dist/index.d.ts",
31
- "import": "./svelte/dist/index.mjs",
32
- "module": "./svelte/dist/index.mjs",
33
- "require": "./svelte/dist/index.js"
34
- },
35
- "./vue": {
36
- "types": "./vue/dist/index.d.ts",
37
- "import": "./vue/dist/index.mjs",
38
- "module": "./vue/dist/index.mjs",
39
- "require": "./vue/dist/index.js"
40
- }
3
+ "description": "CopilotKit CLI",
4
+ "version": "0.0.5",
5
+ "author": "CopilotKit",
6
+ "bin": {
7
+ "copilotkit": "./bin/run.js",
8
+ "cpk": "./bin/run.js"
41
9
  },
42
- "jest": {
43
- "preset": "ts-jest",
44
- "testEnvironment": "node"
10
+ "bugs": "https://github.com/copilotkit/cli/issues",
11
+ "scripts": {
12
+ "clean": "shx rm -rf dist",
13
+ "extract-version": "node -p \"'// This is auto generated!\\nexport const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/utils/version.ts",
14
+ "prebuild": "pnpm run clean && pnpm run extract-version",
15
+ "build": "tsup",
16
+ "lint": "echo oops",
17
+ "generate-manifest": "oclif manifest",
18
+ "preparez": "pnpm run build && pnpm run generate-manifest",
19
+ "prepublishOnly": "pnpm run build && pnpm run generate-manifest",
20
+ "test": "mocha --forbid-only --reporter spec \"test/**/*.test.ts\"",
21
+ "version": "oclif readme && git add README.md",
22
+ "validate": "node validate-package.js"
45
23
  },
46
24
  "dependencies": {
47
- "eventsource-parser": "1.0.0",
48
- "nanoid": "^3.3.6",
49
- "sswr": "^1.10.0",
50
- "swr": "2.1.5",
51
- "swrv": "1.0.3"
25
+ "@oclif/core": "^4.2.0",
26
+ "@paralleldrive/cuid2": "^2.2.2",
27
+ "@segment/analytics-node": "^2.1.2",
28
+ "@sentry/node": "^7.116.0",
29
+ "@trpc/client": "^11.0.0-rc.666",
30
+ "@trpc/server": "^11.0.0-rc.666",
31
+ "ansis": "^3.3.2",
32
+ "axios": "^1.7.8",
33
+ "chalk": "^5.3.0",
34
+ "conf": "^13.1.0",
35
+ "cors": "^2.8.5",
36
+ "express": "^4.21.2",
37
+ "get-port": "^7.1.0",
38
+ "inquirer": "^12.3.0",
39
+ "localtunnel": "^2.0.2",
40
+ "open": "^10.1.0",
41
+ "ora": "^8.1.1",
42
+ "superjson": "^2.2.1",
43
+ "zod": "^3.22.4"
52
44
  },
53
45
  "devDependencies": {
54
- "@edge-runtime/jest-environment": "1.1.0-beta.31",
55
- "@types/jest": "29.2.0",
56
- "@types/node": "^17.0.12",
57
- "@types/react": "^18.2.0",
58
- "@types/react-dom": "^18.2.0",
59
- "eslint": "^7.32.0",
60
- "jest": "29.2.1",
61
- "ts-jest": "29.0.3",
62
- "tsup": "^6.7.0",
63
- "typescript": "^4.5.3",
64
- "@recursivelyai/copilotkit-tsconfig": "0.0.0",
65
- "eslint-config-recursivelyai-copilotkit": "0.0.0"
46
+ "@oclif/prettier-config": "^0.2.1",
47
+ "@oclif/test": "^4",
48
+ "@types/chai": "^4.3.20",
49
+ "@types/cors": "^2.8.17",
50
+ "@types/express": "^5.0.0",
51
+ "@types/localtunnel": "^2.0.4",
52
+ "@types/mocha": "^10",
53
+ "@types/node": "^18",
54
+ "@types/sinon": "^17.0.3",
55
+ "@types/sinon-chai": "^4.0.0",
56
+ "chai": "^4",
57
+ "eslint": "^8",
58
+ "eslint-config-oclif": "^5",
59
+ "eslint-config-oclif-typescript": "^3",
60
+ "eslint-config-prettier": "^9",
61
+ "mocha": "^10",
62
+ "oclif": "^4",
63
+ "shx": "^0.3.3",
64
+ "sinon": "^19.0.2",
65
+ "sinon-chai": "^4.0.0",
66
+ "ts-node": "^10",
67
+ "tsup": "^8.0.2",
68
+ "typescript": "^5"
66
69
  },
67
- "peerDependencies": {
68
- "react": "^18.0.0",
69
- "svelte": "^3.29.0",
70
- "vue": "^3.3.4"
70
+ "engines": {
71
+ "node": ">=18.0.0"
71
72
  },
72
- "peerDependenciesMeta": {
73
- "react": {
74
- "optional": true
75
- },
76
- "svelte": {
77
- "optional": true
78
- },
79
- "vue": {
80
- "optional": true
73
+ "files": [
74
+ "/bin",
75
+ "/dist",
76
+ "/oclif.manifest.json"
77
+ ],
78
+ "homepage": "https://github.com/copilotkit/cli",
79
+ "keywords": [
80
+ "oclif"
81
+ ],
82
+ "license": "MIT",
83
+ "main": "dist/index.js",
84
+ "type": "module",
85
+ "oclif": {
86
+ "bin": "copilotkit",
87
+ "dirname": "copilotkit",
88
+ "commands": "./dist/commands",
89
+ "topicSeparator": " ",
90
+ "topics": {
91
+ "tunnel": {
92
+ "description": "Create a local tunnel to expose your agent to the internet"
93
+ },
94
+ "login": {
95
+ "description": "Authenticate with Copilot Cloud"
96
+ }
81
97
  }
82
98
  },
83
- "engines": {
84
- "node": ">=14.6"
85
- },
99
+ "repository": "https://github.com/copilotkit/cli",
100
+ "types": "dist/index.d.ts",
86
101
  "publishConfig": {
87
102
  "access": "public"
88
- },
89
- "scripts": {
90
- "build": "tsup",
91
- "clean": "rm -rf dist && rm -rf react/dist && rm -rf svelte/dist && rm -rf vue/dist",
92
- "dev": "tsup --watch",
93
- "lint": "eslint \"./**/*.ts*\"",
94
- "type-check": "tsc --noEmit",
95
- "prettier-check": "prettier --check \"./**/*.ts*\"",
96
- "test": "jest --forceExit --env @edge-runtime/jest-environment .test.ts && jest --forceExit --env node .test.ts"
97
103
  }
98
- }
104
+ }
package/LICENSE DELETED
@@ -1,13 +0,0 @@
1
- Copyright 2023 Recursively.ai
2
-
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
-
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
-
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.