apify-cli 1.10.1-runtime.2 → 1.10.1-runtime.4
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/actor.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e,r as t,t as n}from"./_register-
|
|
2
|
+
import{i as e,r as t,t as n}from"./_register-bessLnS2.js";t(`Actor`);for(let e of n)e.registerCommand(`actor`);await e(`actor`);export{};
|
|
3
3
|
//# sourceMappingURL=actor.js.map
|
package/dist/apify.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{i as e,n as t,r as n}from"./_register-
|
|
2
|
+
import{i as e,n as t,r as n}from"./_register-bessLnS2.js";n(`Apify`);for(let e of t)e.registerCommand(`apify`);await e(`apify`);export{};
|
|
3
3
|
//# sourceMappingURL=apify.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apify-cli",
|
|
3
|
-
"version": "1.10.1-runtime.
|
|
3
|
+
"version": "1.10.1-runtime.4",
|
|
4
4
|
"description": "Apify command-line interface (CLI) helps you manage the Apify cloud platform and develop, build, and deploy Apify Actors.",
|
|
5
5
|
"exports": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
package/skills/apify/SKILL.md
CHANGED
|
@@ -91,6 +91,8 @@ apify key-value-stores keys <storeId> --json
|
|
|
91
91
|
|
|
92
92
|
`apify runtime` runs a self-contained local Apify platform as a container on Docker or Podman. Use it to develop and test Actors against a platform-compatible API without touching the user's cloud account. It ships on the `runtime` npm dist-tag, not on `latest`.
|
|
93
93
|
|
|
94
|
+
This section covers only how to *get* a runtime. Once you have one, **run `apify runtime skill --install`** (or `apify runtime skill` to read it now) — the runtime ships its own Agent Skill on how to use it. That skill lives in the runtime image, so it always matches the runtime you actually have; read it rather than reconstructing it from memory.
|
|
95
|
+
|
|
94
96
|
**Prerequisite: Docker or Podman.** One of them must be installed and running before any `apify runtime` command works; the CLI does not install either. It uses the first engine found on PATH (Docker before Podman); `APIFY_CONTAINER_ENGINE=podman` forces Podman.
|
|
95
97
|
|
|
96
98
|
With Podman, the API socket must be served: check with `podman info --format '{{.Host.RemoteSocket.Exists}}'` (must print `true`). If it does not, run `systemctl --user enable --now podman.socket` (rootless) or `sudo systemctl enable --now podman.socket` (rootful); without systemd, `podman system service --time=0 &`. On macOS/Windows, `podman machine start` first. Rootful and rootless Podman both work.
|
|
@@ -139,6 +141,7 @@ export APIFY_DISABLE_KEYRING=1
|
|
|
139
141
|
|
|
140
142
|
$APIFY runtime install
|
|
141
143
|
$APIFY runtime start --detach --data-dir ./runtime-data # omit --detach to run in the foreground (Ctrl+C stops it)
|
|
144
|
+
$APIFY runtime skill --install # install the runtime's own skill, then follow it
|
|
142
145
|
$APIFY login --token local-dev-token # the runtime accepts any token
|
|
143
146
|
$APIFY actors ls --json # now talks to the local runtime
|
|
144
147
|
$APIFY runtime stop
|