@apilift/cli 1.9.2 → 1.10.1
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/apilift-collector.js +226 -119
- package/dist/apilift-native-host.js +128 -68
- package/dist/apilift-session-audit.js +3 -0
- package/dist/apilift.js +1490 -1236
- package/dist/plugin/.claude-plugin/plugin.json +1 -1
- package/dist/plugin/.codex-plugin/plugin.json +1 -1
- package/dist/plugin/skills/discover/SKILL.md +3 -1
- package/dist/plugin/skills/use/SKILL.md +3 -1
- package/package.json +2 -2
|
@@ -5,6 +5,8 @@ description: Create or extend and publish a persistent Apilift interface for int
|
|
|
5
5
|
|
|
6
6
|
# Discover or extend an app
|
|
7
7
|
|
|
8
|
+
Report every distinct Apilift issue or limitation you encounter, including capture, drafting, publication, misleading instructions, failed recovery, and problems you work around. Report once, even when you recover, then continue safe work. Use `apilift feedback report --blocked "what cannot be completed" --repro "exact steps and conditions" --expected "needed behavior" --actual "observed behavior"`. For a specific action defect use `apilift feedback action <app> <entity.verb>` with the same four fields. Add `--comment "recovery or context"`, `--from <invocation-id>` when provided, and repeated `--attach <file>` for useful sanitized text evidence. Use short factual statements and retained evidence; do not guess a root cause, upload secrets or unrelated account data, or repeat a mutation to reproduce a failure. A failed submission retains its report: follow its retry command, continue independent safe work, and never report a feedback failure recursively.
|
|
9
|
+
|
|
8
10
|
For coverage plus a delivered result, start with the use skill. An author owns missing coverage; the consumer delivers from published actions. Interface-only requests may author directly. Follow the CLI's current responses and returned editable files. Continue yielded processes by their handle and retain their exit status; empty output is not permission to repeat an operation.
|
|
9
11
|
|
|
10
12
|
## Choose the next related slice
|
|
@@ -33,7 +35,7 @@ Read [metadata](references/metadata.md) for public descriptions. Keep credential
|
|
|
33
35
|
|
|
34
36
|
Publication makes actions available, not validated. Use `apilift run --test <app> <action>` for every published action executed to test the interface, including supporting reads. The flag sends a real app request and keeps the run out of usage statistics. Leave actual task execution to the consumer, who runs without `--test`. Investigate uncertainties that matter: ignored filters, parameter representations, pagination, replacement semantics, asynchronous completion and account scope. Do not enumerate every enum or manufacture empty results and page boundaries as a completion ritual. Do not narrow documented choices solely because they have not been exercised. Do not claim complete traversal from one page or completed work from a queued acknowledgement.
|
|
35
37
|
|
|
36
|
-
Receipt-backed tests and ordinary executions both contribute health evidence. The paid validated-only setting remains authoritative; discovery does not override it. Successful runtime validation is not proof of every business effect. If a nominally successful execution returned the wrong result,
|
|
38
|
+
Receipt-backed tests and ordinary executions both contribute health evidence. The paid validated-only setting remains authoritative; discovery does not override it. Successful runtime validation is not proof of every business effect. If a nominally successful execution returned the wrong result, submit an action report with `--incorrect` and repair the contract. Never repeat a write to improve evidence. If the authorized write already occurred in the UI, use a published targeted read to confirm it rather than execute the write again.
|
|
37
39
|
|
|
38
40
|
## Protect access and recover
|
|
39
41
|
|
|
@@ -5,6 +5,8 @@ description: Use Apilift to read, create, update, rename, or export data in logg
|
|
|
5
5
|
|
|
6
6
|
# Use an indexed app
|
|
7
7
|
|
|
8
|
+
Report every distinct Apilift issue or limitation you encounter, including capture, drafting, publication, misleading instructions, failed recovery, and problems you work around. Report once, even when you recover, then continue safe work. Use `apilift feedback report --blocked "what cannot be completed" --repro "exact steps and conditions" --expected "needed behavior" --actual "observed behavior"`. For a specific action defect use `apilift feedback action <app> <entity.verb>` with the same four fields. Add `--comment "recovery or context"`, `--from <invocation-id>` when provided, and repeated `--attach <file>` for useful sanitized text evidence. Use short factual statements and retained evidence; do not guess a root cause, upload secrets or unrelated account data, or repeat a mutation to reproduce a failure. A failed submission retains its report: follow its retry command, continue independent safe work, and never report a feedback failure recursively.
|
|
9
|
+
|
|
8
10
|
If the user explicitly requests browser-only work without Apilift, honor that choice without checking coverage or starting discovery. Otherwise, use Apilift when a more direct installed capability does not cover the requested outcome. For a task in a logged-in app, check Apilift coverage before opening or operating its browser UI. Treat the CLI's current output as the navigation and execution contract. Continue a yielded CLI process using its returned handle. Keep terminal exit status and diagnostics; empty output does not justify another invocation. Do not read discovery drafts, captures, registry internals, browser storage, or implementation code to learn how to call a published action.
|
|
9
11
|
|
|
10
12
|
Start with `apilift` if the next command is unknown. Search by app name or domain with `apilift apps search <query>`, then select the intended app with `apilift apps use <app>`. Search unknown task vocabulary with `apilift actions search <app> <query>`; use the displayed `actions list` or `actions show` command for focused documentation. Parameter descriptions explain where to obtain unknown identifiers. Follow those published instructions and inspect related actions when needed. Read the selected action's effects, inputs, result, limits, and source instructions before `apilift run <app> <entity.verb> [input flags]`. Native runtime identity isolates workers automatically. If it is unavailable, bind a unique `APILIFT_SESSION` in each worker’s launch environment or wrapper; keep that binding across requests and never share it between independent workers. Explicit `--session` remains an override. A selected app is a use-session choice, not proof that any action was verified or authorized. Cached documentation is last-known; execution still requires current online authorization.
|
|
@@ -29,4 +31,4 @@ If the author dispatched the authorized write, use the published targeted read f
|
|
|
29
31
|
|
|
30
32
|
After each related discovery batch is published, complete its consumer path before exploring the next slice. Use `apilift run --test <app> <action>` for interface tests only; omit the flag for executions that deliver the user’s task. Publication does not establish correctness. Check task-relevant filters, parameter combinations, pagination, replacements and terminal results; do not build an exhaustive test matrix. The workspace’s validated-only setting remains authoritative and must not be silently overridden.
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
For a published execution that passed runtime checks but returned the wrong result, submit an action report with `--incorrect` in the same worker before another invocation of that action. `--execution <id>` selects a specific retained invocation; otherwise the last retained invocation for that app and action is used. This also withdraws that execution's positive health evidence without sending an app request. Runtime failure telemetry does not contain your blocked outcome or investigation evidence: report that context with the normal feedback command. A failed or uncertain write is recovered through targeted reads; never repeat it to submit feedback or demonstrate publication.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apilift/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=24.16.0 <27"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "19428f071655029e044d5fbd9815d9b8c298130e",
|
|
41
41
|
"repository": {
|
|
42
42
|
"type": "git",
|
|
43
43
|
"url": "git+https://github.com/egor-sergeev/apilift.git",
|