@apilift/cli 1.0.2
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/LICENSE +13 -0
- package/dist/apilift-capture-server.js +20330 -0
- package/dist/apilift-collector.js +130701 -0
- package/dist/apilift-native-host.js +31522 -0
- package/dist/apilift-register-native-host.js +123 -0
- package/dist/apilift-session-audit.js +161955 -0
- package/dist/apilift.js +35605 -0
- package/dist/plugin/.claude-plugin/plugin.json +8 -0
- package/dist/plugin/.codex-plugin/plugin.json +24 -0
- package/dist/plugin/skills/setup/SKILL.md +10 -0
- package/package.json +51 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "apilift",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Set up Apilift and use authenticated app interfaces.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Apilift"
|
|
7
|
+
},
|
|
8
|
+
"homepage": "https://apilift.dev",
|
|
9
|
+
"skills": "./skills/",
|
|
10
|
+
"interface": {
|
|
11
|
+
"displayName": "Apilift",
|
|
12
|
+
"shortDescription": "Link and check Apilift",
|
|
13
|
+
"longDescription": "Set up Apilift for this agent and check installation readiness.",
|
|
14
|
+
"developerName": "Apilift",
|
|
15
|
+
"category": "Developer Tools",
|
|
16
|
+
"capabilities": [
|
|
17
|
+
"Instructions"
|
|
18
|
+
],
|
|
19
|
+
"websiteURL": "https://apilift.dev",
|
|
20
|
+
"defaultPrompt": [
|
|
21
|
+
"Run apilift setup and follow its returned steps."
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: apilift-setup
|
|
3
|
+
description: Link Apilift to this agent and check installation readiness.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Start with Apilift
|
|
7
|
+
|
|
8
|
+
Run `apilift` and follow the commands it prints. If it reports that linking is needed, run `apilift setup` and follow its returned step. Only a person can sign in, enter a one-time link code, provision a credential, or complete browser login. Use `apilift doctor` when setup or a selected app reports an installation problem.
|
|
9
|
+
|
|
10
|
+
Keep the user's authorized outcome as the completion condition. Use a first-party CLI, SDK, MCP server, or documented API when it already covers the work. Do not copy credential values into commands, definitions, files, or messages. Do not repeat a possibly dispatched mutation after lost output; follow the exact recovery command and inspect app state through an authorized read. If the runtime lacks a stable agent identity, put the same root `--session <worker-label>` before every command in this worker's session; independent workers need different labels.
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@apilift/cli",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"apilift": "./dist/apilift.js",
|
|
8
|
+
"apilift-native-host": "./dist/apilift-native-host.js",
|
|
9
|
+
"apilift-register-native-host": "./dist/apilift-register-native-host.js",
|
|
10
|
+
"apilift-session-audit": "./dist/apilift-session-audit.js"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./dist/apilift.js"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@napi-rs/keyring": "2.1.0",
|
|
20
|
+
"@pydantic/genai-prices": "0.1.8",
|
|
21
|
+
"ajv": "8.20.0",
|
|
22
|
+
"ajv-formats": "3.0.1",
|
|
23
|
+
"gpt-tokenizer": "4.0.0",
|
|
24
|
+
"jsonc-parser": "3.3.1",
|
|
25
|
+
"tinyexec": "1.3.1"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@apilift/core": "0.0.0",
|
|
29
|
+
"@apilift/protocol": "0.0.0",
|
|
30
|
+
"@types/node": "24.13.6",
|
|
31
|
+
"esbuild": "0.25.12",
|
|
32
|
+
"postgres": "3.4.9",
|
|
33
|
+
"typescript": "6.0.3",
|
|
34
|
+
"vitest": "4.1.11"
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=24.16.0 <27"
|
|
38
|
+
},
|
|
39
|
+
"gitHead": "f28f2bd36c6f602412ee98b9c4c6f0a6df3be525",
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/egor-sergeev/apilift.git",
|
|
43
|
+
"directory": "apps/cli"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"build": "node scripts/build.mjs",
|
|
47
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
48
|
+
"test": "vitest run --project component",
|
|
49
|
+
"test:database": "vitest run --project database"
|
|
50
|
+
}
|
|
51
|
+
}
|