@leuria/cli 0.1.0

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/index.js ADDED
@@ -0,0 +1,42 @@
1
+ import {
2
+ DEFAULT_PORT,
3
+ GrantStore,
4
+ VERSION,
5
+ WEBMCP_SERVER_NAME,
6
+ agentName,
7
+ buildSessionMeta,
8
+ checkSignIn,
9
+ createLogger,
10
+ decidePermission,
11
+ detectInstalledClis,
12
+ ensureAgent,
13
+ fetchRegistry,
14
+ getRegistryEntry,
15
+ installedAgent,
16
+ listAgents,
17
+ normalizeOrigin,
18
+ resolveAgentCommand,
19
+ signIn,
20
+ startEngine
21
+ } from "./chunk-BXSAYWR3.js";
22
+ export {
23
+ DEFAULT_PORT,
24
+ GrantStore,
25
+ VERSION,
26
+ WEBMCP_SERVER_NAME,
27
+ agentName,
28
+ buildSessionMeta,
29
+ checkSignIn,
30
+ createLogger,
31
+ decidePermission,
32
+ detectInstalledClis,
33
+ ensureAgent,
34
+ fetchRegistry,
35
+ getRegistryEntry,
36
+ installedAgent,
37
+ listAgents,
38
+ normalizeOrigin,
39
+ resolveAgentCommand,
40
+ signIn,
41
+ startEngine
42
+ };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@leuria/cli",
3
+ "version": "0.1.0",
4
+ "description": "Bring your own AI to the web: the Leuria engine. Lets websites you approve use the AI on your machine, through tools the page provides.",
5
+ "license": "Apache-2.0",
6
+ "type": "module",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/leur-ia/leuria.git",
10
+ "directory": "packages/engine"
11
+ },
12
+ "homepage": "https://leuria.dev",
13
+ "bin": {
14
+ "leuria": "./dist/cli.js"
15
+ },
16
+ "main": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js"
22
+ }
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "engines": {
28
+ "node": ">=22"
29
+ },
30
+ "dependencies": {
31
+ "@agentclientprotocol/sdk": "^1.5.0",
32
+ "ws": "^8.18.0"
33
+ },
34
+ "devDependencies": {
35
+ "@types/node": "^22.0.0",
36
+ "@types/ws": "^8.5.0",
37
+ "tsup": "^8.4.0",
38
+ "tsx": "^4.19.0",
39
+ "typescript": "^5.9.0",
40
+ "vitest": "^3.2.0"
41
+ },
42
+ "scripts": {
43
+ "build": "tsup",
44
+ "dev": "tsx watch src/cli.ts start",
45
+ "start": "tsx src/cli.ts start",
46
+ "check": "tsc --noEmit",
47
+ "test": "vitest run"
48
+ }
49
+ }