@netlify/agent-runner-cli 2.3.4 → 2.5.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/bin-local.js +239 -232
- package/dist/bin.js +288 -281
- package/dist/index.d.ts +20 -0
- package/dist/index.js +251 -244
- package/dist/skills/netlify-blobs/SKILL.md +1 -1
- package/package.json +3 -3
|
@@ -386,7 +386,7 @@ const data = await store.get('my-key.txt', { type: 'text' })
|
|
|
386
386
|
2. Deploy to Netlify or use the Vite plugin for local env configuration
|
|
387
387
|
3. Ensure the site has at least one production deploy
|
|
388
388
|
|
|
389
|
-
|
|
389
|
+
In Lambda compatibility mode (functions that export a `handler`), call `connectLambda(event)` from `@netlify/blobs` at the start of the handler to load the credentials Netlify provides. Do not pass `siteID` or `token` to `getStore` in code that runs on Netlify, because that replaces the provided credentials.
|
|
390
390
|
|
|
391
391
|
### "Unauthorized" or permission errors
|
|
392
392
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netlify/agent-runner-cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.5.0",
|
|
5
5
|
"description": "CLI tool for running Netlify agents",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"format:check:lint": "eslint --cache --format=codeframe --max-warnings=0 \"{src,scripts,test,.github}/**/*.{js,ts,md,html}\"",
|
|
32
32
|
"format:fix:lint": "eslint --fix --cache --format=codeframe --max-warnings=0 \"{src,scripts,test,.github}/**/*.{js,ts,md,html}\"",
|
|
33
33
|
"format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier",
|
|
34
|
-
"format:check:prettier": "prettier --check --ignore-path .gitignore --loglevel=warn \"{src,scripts,test,.github}/**/*.{js,ts,md,yml,json,html}\" \"*.{js,ts,yml,json,html}\" \".*.{js,ts,yml,json,html}\" \"!**/package-lock.json\" \"!package-lock.json\" \"!src/skills/**/*.md\"",
|
|
35
|
-
"format:fix:prettier": "prettier --write --ignore-path .gitignore --loglevel=warn \"{src,scripts,test,.github}/**/*.{js,ts,md,yml,json,html}\" \"*.{js,ts,yml,json,html}\" \".*.{js,ts,yml,json,html}\" \"!**/package-lock.json\" \"!package-lock.json\" \"!src/skills/**/*.md\"",
|
|
34
|
+
"format:check:prettier": "prettier --check --ignore-path .gitignore --loglevel=warn \"{src,scripts,test,.github}/**/*.{js,ts,md,yml,json,html}\" \"*.{js,ts,yml,json,html}\" \".*.{js,ts,yml,json,html}\" \"!**/package-lock.json\" \"!package-lock.json\" \"!src/skills/**/*.md\" \"!src/lib/__fixtures__/**\"",
|
|
35
|
+
"format:fix:prettier": "prettier --write --ignore-path .gitignore --loglevel=warn \"{src,scripts,test,.github}/**/*.{js,ts,md,yml,json,html}\" \"*.{js,ts,yml,json,html}\" \".*.{js,ts,yml,json,html}\" \"!**/package-lock.json\" \"!package-lock.json\" \"!src/skills/**/*.md\" \"!src/lib/__fixtures__/**\"",
|
|
36
36
|
"test:dev": "run-s build test:dev:*",
|
|
37
37
|
"test:ci": "run-s build test:ci:*",
|
|
38
38
|
"test:dev:vitest": "LOG=0 vitest --exclude '**/integration/**'",
|