Atom eve seo
This commit is contained in:
52
.eve/agent-summary.json
Normal file
52
.eve/agent-summary.json
Normal file
File diff suppressed because one or more lines are too long
7048
.eve/cache/model-catalog.json
vendored
Normal file
7048
.eve/cache/model-catalog.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
.eve/compile/channel-instrumentation-types.d.ts
vendored
Normal file
7
.eve/compile/channel-instrumentation-types.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
// Generated by eve. Do not edit by hand.
|
||||
import type { InferChannelMetadata } from "eve/channels";
|
||||
|
||||
declare module "eve/channels" {
|
||||
interface ChannelMetadataMap {}
|
||||
interface ChannelReferenceMap {}
|
||||
}
|
||||
30
.eve/compile/compile-metadata.json
Normal file
30
.eve/compile/compile-metadata.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"compile": {
|
||||
"moduleMap": {
|
||||
"path": ".eve/compile/module-map.mjs",
|
||||
"sha256": "c76cab7c1a37dca6eb591740264f371cca3e74760abc1f9fc4652f959f1e0353"
|
||||
}
|
||||
},
|
||||
"discovery": {
|
||||
"diagnostics": {
|
||||
"path": ".eve/discovery/diagnostics.json",
|
||||
"sha256": "b26fc8e66ee943f962b1bab4a790f6a611ce7e6738aa29f83ea53b73cc362c63"
|
||||
},
|
||||
"manifest": {
|
||||
"path": ".eve/discovery/agent-discovery-manifest.json",
|
||||
"sha256": "305c68e3493f0a1ba53702641dbf8675e60374b68a24b73f13b69ac6246dbcaa"
|
||||
},
|
||||
"sourceGraphHash": "3370c163e654fd12b5b4097da0747ee823445d615e0713c04b38ac808c739532",
|
||||
"summary": {
|
||||
"errors": 0,
|
||||
"warnings": 0
|
||||
}
|
||||
},
|
||||
"generator": {
|
||||
"name": "eve",
|
||||
"version": "0.16.2"
|
||||
},
|
||||
"kind": "eve-compile-metadata",
|
||||
"status": "ready",
|
||||
"version": 5
|
||||
}
|
||||
180
.eve/compile/compiled-agent-manifest.json
Normal file
180
.eve/compile/compiled-agent-manifest.json
Normal file
File diff suppressed because one or more lines are too long
258
.eve/compile/compiled-artifacts-bootstrap.mjs
Normal file
258
.eve/compile/compiled-artifacts-bootstrap.mjs
Normal file
File diff suppressed because one or more lines are too long
21
.eve/compile/module-map.mjs
Normal file
21
.eve/compile/module-map.mjs
Normal file
@@ -0,0 +1,21 @@
|
||||
// Generated by eve. Do not edit by hand.
|
||||
|
||||
import * as module_0 from "../../agent/connections/dataforseo.ts";
|
||||
import * as module_1 from "../../agent/sandbox/sandbox.ts";
|
||||
import * as module_2 from "../../agent/tools/list_search_console_sites.ts";
|
||||
import * as module_3 from "../../agent/tools/query_search_analytics.ts";
|
||||
|
||||
export const moduleMap = Object.freeze({
|
||||
"nodes": Object.freeze({
|
||||
"__root__": Object.freeze({
|
||||
"modules": Object.freeze({
|
||||
"connections/dataforseo.ts": module_0,
|
||||
"sandbox/sandbox.ts": module_1,
|
||||
"tools/list_search_console_sites.ts": module_2,
|
||||
"tools/query_search_analytics.ts": module_3
|
||||
})
|
||||
})
|
||||
})
|
||||
});
|
||||
|
||||
export default moduleMap;
|
||||
@@ -0,0 +1,88 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
mkdir -p "${AGENT_BROWSER_ASSETS_DIR:-reports/assets}"
|
||||
if [ ! -f package.json ]; then
|
||||
npm init -y >/dev/null
|
||||
fi
|
||||
if [ ! -x node_modules/.bin/agent-browser ]; then
|
||||
npm install agent-browser@latest playwright@latest "$@"
|
||||
fi
|
||||
|
||||
install_agent_browser_shim() {
|
||||
local bin_dir="/usr/local/bin"
|
||||
mkdir -p "$bin_dir"
|
||||
cat > "$bin_dir/agent-browser" <<'SHIM'
|
||||
#!/usr/bin/env bash
|
||||
exec /workspace/node_modules/.bin/agent-browser "$@"
|
||||
SHIM
|
||||
chmod +x "$bin_dir/agent-browser"
|
||||
}
|
||||
|
||||
install_agent_browser_shim
|
||||
|
||||
run_agent_browser_setup_check() {
|
||||
if command -v timeout >/dev/null 2>&1; then
|
||||
timeout 60s npx agent-browser --session setup-check open about:blank >/tmp/agent-browser-setup-check.log 2>&1
|
||||
else
|
||||
npx agent-browser --session setup-check open about:blank >/tmp/agent-browser-setup-check.log 2>&1
|
||||
fi
|
||||
}
|
||||
|
||||
validate_agent_browser_config() {
|
||||
echo "[setup-agent-browser] validating browser launch..."
|
||||
if run_agent_browser_setup_check; then
|
||||
npx agent-browser --session setup-check close >/dev/null 2>&1 || true
|
||||
echo "[setup-agent-browser] browser launch validation passed."
|
||||
return 0
|
||||
fi
|
||||
|
||||
npx agent-browser --session setup-check close >/dev/null 2>&1 || true
|
||||
echo "[setup-agent-browser] browser launch validation failed:" >&2
|
||||
cat /tmp/agent-browser-setup-check.log >&2 || true
|
||||
rm -f agent-browser.json
|
||||
return 1
|
||||
}
|
||||
|
||||
if [ -f .agent-browser-ready ] && validate_agent_browser_config; then
|
||||
exit 0
|
||||
fi
|
||||
rm -f .agent-browser-ready
|
||||
|
||||
install_system_chromium() {
|
||||
if ! command -v apt-get >/dev/null 2>&1; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
echo "[setup-agent-browser] installing system Chromium..."
|
||||
apt-get update
|
||||
if ! apt-get install -y --no-install-recommends chromium; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
CHROMIUM_PATH="$(command -v chromium || command -v chromium-browser || true)"
|
||||
if [ -z "$CHROMIUM_PATH" ]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
printf '{"executablePath":"%s","args":"--no-sandbox"}\n' "$CHROMIUM_PATH" > agent-browser.json
|
||||
echo "[setup-agent-browser] using Chromium at $CHROMIUM_PATH"
|
||||
validate_agent_browser_config
|
||||
}
|
||||
|
||||
install_playwright_chromium() {
|
||||
echo "[setup-agent-browser] installing Playwright Chromium fallback..."
|
||||
npx playwright install --with-deps chromium
|
||||
CHROMIUM_PATH="$(node -e "const { chromium } = require('playwright'); console.log(chromium.executablePath())")"
|
||||
printf '{"executablePath":"%s","args":"--no-sandbox"}\n' "$CHROMIUM_PATH" > agent-browser.json
|
||||
echo "[setup-agent-browser] using Playwright Chromium at $CHROMIUM_PATH"
|
||||
validate_agent_browser_config
|
||||
}
|
||||
|
||||
if ! install_system_chromium; then
|
||||
echo "[setup-agent-browser] system Chromium unavailable or unusable; falling back to Playwright Chromium..."
|
||||
install_playwright_chromium
|
||||
fi
|
||||
touch .agent-browser-ready
|
||||
32
.eve/compile/workspace-resources/__root__/setup-gh.sh
Normal file
32
.eve/compile/workspace-resources/__root__/setup-gh.sh
Normal file
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
AGENT_NAME="${1:-atom-eve-agent}"
|
||||
|
||||
if ! command -v gh >/dev/null 2>&1; then
|
||||
GH_VERSION="2.62.0"
|
||||
TARBALL="gh_${GH_VERSION}_linux_amd64.tar.gz"
|
||||
URL="https://github.com/cli/cli/releases/download/v${GH_VERSION}/${TARBALL}"
|
||||
|
||||
mkdir -p "$HOME/.local"
|
||||
curl -fsSL "$URL" -o "/tmp/${TARBALL}"
|
||||
tar -xzf "/tmp/${TARBALL}" -C "$HOME/.local" --strip-components=1
|
||||
rm -f "/tmp/${TARBALL}"
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
if ! grep -qs '.local/bin' "$HOME/.profile" 2>/dev/null; then
|
||||
printf '\nexport PATH="$HOME/.local/bin:$PATH"\n' >> "$HOME/.profile"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! command -v gh >/dev/null 2>&1; then
|
||||
echo "gh installed but not found on PATH; expected $HOME/.local/bin/gh" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
git config --global user.name "$AGENT_NAME"
|
||||
git config --global user.email "${AGENT_NAME}@users.noreply.github.com"
|
||||
|
||||
if gh auth status >/dev/null 2>&1; then
|
||||
gh auth setup-git >/dev/null 2>&1 || true
|
||||
fi
|
||||
75
.eve/discovery/agent-discovery-manifest.json
Normal file
75
.eve/discovery/agent-discovery-manifest.json
Normal file
File diff suppressed because one or more lines are too long
9
.eve/discovery/diagnostics.json
Normal file
9
.eve/discovery/diagnostics.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"diagnostics": [],
|
||||
"kind": "eve-discovery-diagnostics",
|
||||
"summary": {
|
||||
"errors": 0,
|
||||
"warnings": 0
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
3
.eve/nitro/eve-cache.json
Normal file
3
.eve/nitro/eve-cache.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"eveVersion": "0.16.2"
|
||||
}
|
||||
17
.eve/nitro/workflow/steps.mjs
Normal file
17
.eve/nitro/workflow/steps.mjs
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated by eve. Do not edit by hand.
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/internal/workflow/builtins.js";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/.eve/compile/compiled-artifacts-bootstrap.mjs";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/create-session-step.js";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/delegated-parent-notification.js";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/dispatch-runtime-actions-step.js";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/dispatch-workflow-runtime-actions-step.js";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/durable-session-store.d.ts";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/forward-turn-delivery-step.js";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/route-child-delivery.d.ts";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/session-callback-step.js";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/subagent-adapter.js";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/turn-control-protocol.js";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/workflow-entry.d.ts";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/workflow-steps.d.ts";
|
||||
import "file:///C:/Users/timo/Documents/qrmaster/QR-master/node_modules/eve/dist/src/execution/workflow-steps.js";
|
||||
export const __steps_registered = true;
|
||||
6
.eve/nitro/workflow/workflows-handler.mjs
Normal file
6
.eve/nitro/workflow/workflows-handler.mjs
Normal file
@@ -0,0 +1,6 @@
|
||||
// Generated by eve. Do not edit by hand.
|
||||
import { POST } from "../../../node_modules/eve/.eve/workflow-cache/97d43a998b3c/workflows.mjs";
|
||||
|
||||
export default async ({ req }) => {
|
||||
return await POST(req);
|
||||
};
|
||||
@@ -0,0 +1,88 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
mkdir -p "${AGENT_BROWSER_ASSETS_DIR:-reports/assets}"
|
||||
if [ ! -f package.json ]; then
|
||||
npm init -y >/dev/null
|
||||
fi
|
||||
if [ ! -x node_modules/.bin/agent-browser ]; then
|
||||
npm install agent-browser@latest playwright@latest "$@"
|
||||
fi
|
||||
|
||||
install_agent_browser_shim() {
|
||||
local bin_dir="/usr/local/bin"
|
||||
mkdir -p "$bin_dir"
|
||||
cat > "$bin_dir/agent-browser" <<'SHIM'
|
||||
#!/usr/bin/env bash
|
||||
exec /workspace/node_modules/.bin/agent-browser "$@"
|
||||
SHIM
|
||||
chmod +x "$bin_dir/agent-browser"
|
||||
}
|
||||
|
||||
install_agent_browser_shim
|
||||
|
||||
run_agent_browser_setup_check() {
|
||||
if command -v timeout >/dev/null 2>&1; then
|
||||
timeout 60s npx agent-browser --session setup-check open about:blank >/tmp/agent-browser-setup-check.log 2>&1
|
||||
else
|
||||
npx agent-browser --session setup-check open about:blank >/tmp/agent-browser-setup-check.log 2>&1
|
||||
fi
|
||||
}
|
||||
|
||||
validate_agent_browser_config() {
|
||||
echo "[setup-agent-browser] validating browser launch..."
|
||||
if run_agent_browser_setup_check; then
|
||||
npx agent-browser --session setup-check close >/dev/null 2>&1 || true
|
||||
echo "[setup-agent-browser] browser launch validation passed."
|
||||
return 0
|
||||
fi
|
||||
|
||||
npx agent-browser --session setup-check close >/dev/null 2>&1 || true
|
||||
echo "[setup-agent-browser] browser launch validation failed:" >&2
|
||||
cat /tmp/agent-browser-setup-check.log >&2 || true
|
||||
rm -f agent-browser.json
|
||||
return 1
|
||||
}
|
||||
|
||||
if [ -f .agent-browser-ready ] && validate_agent_browser_config; then
|
||||
exit 0
|
||||
fi
|
||||
rm -f .agent-browser-ready
|
||||
|
||||
install_system_chromium() {
|
||||
if ! command -v apt-get >/dev/null 2>&1; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
echo "[setup-agent-browser] installing system Chromium..."
|
||||
apt-get update
|
||||
if ! apt-get install -y --no-install-recommends chromium; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
CHROMIUM_PATH="$(command -v chromium || command -v chromium-browser || true)"
|
||||
if [ -z "$CHROMIUM_PATH" ]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
printf '{"executablePath":"%s","args":"--no-sandbox"}\n' "$CHROMIUM_PATH" > agent-browser.json
|
||||
echo "[setup-agent-browser] using Chromium at $CHROMIUM_PATH"
|
||||
validate_agent_browser_config
|
||||
}
|
||||
|
||||
install_playwright_chromium() {
|
||||
echo "[setup-agent-browser] installing Playwright Chromium fallback..."
|
||||
npx playwright install --with-deps chromium
|
||||
CHROMIUM_PATH="$(node -e "const { chromium } = require('playwright'); console.log(chromium.executablePath())")"
|
||||
printf '{"executablePath":"%s","args":"--no-sandbox"}\n' "$CHROMIUM_PATH" > agent-browser.json
|
||||
echo "[setup-agent-browser] using Playwright Chromium at $CHROMIUM_PATH"
|
||||
validate_agent_browser_config
|
||||
}
|
||||
|
||||
if ! install_system_chromium; then
|
||||
echo "[setup-agent-browser] system Chromium unavailable or unusable; falling back to Playwright Chromium..."
|
||||
install_playwright_chromium
|
||||
fi
|
||||
touch .agent-browser-ready
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
AGENT_NAME="${1:-atom-eve-agent}"
|
||||
|
||||
if ! command -v gh >/dev/null 2>&1; then
|
||||
GH_VERSION="2.62.0"
|
||||
TARBALL="gh_${GH_VERSION}_linux_amd64.tar.gz"
|
||||
URL="https://github.com/cli/cli/releases/download/v${GH_VERSION}/${TARBALL}"
|
||||
|
||||
mkdir -p "$HOME/.local"
|
||||
curl -fsSL "$URL" -o "/tmp/${TARBALL}"
|
||||
tar -xzf "/tmp/${TARBALL}" -C "$HOME/.local" --strip-components=1
|
||||
rm -f "/tmp/${TARBALL}"
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
if ! grep -qs '.local/bin' "$HOME/.profile" 2>/dev/null; then
|
||||
printf '\nexport PATH="$HOME/.local/bin:$PATH"\n' >> "$HOME/.profile"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! command -v gh >/dev/null 2>&1; then
|
||||
echo "gh installed but not found on PATH; expected $HOME/.local/bin/gh" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
git config --global user.name "$AGENT_NAME"
|
||||
git config --global user.email "${AGENT_NAME}@users.noreply.github.com"
|
||||
|
||||
if gh auth status >/dev/null 2>&1; then
|
||||
gh auth setup-git >/dev/null 2>&1 || true
|
||||
fi
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"env": {
|
||||
"HOME": "/",
|
||||
"PATH": "/usr/bin:/bin",
|
||||
"IFS": " \t\n",
|
||||
"OSTYPE": "linux-gnu",
|
||||
"MACHTYPE": "x86_64-pc-linux-gnu",
|
||||
"HOSTTYPE": "x86_64",
|
||||
"HOSTNAME": "localhost",
|
||||
"PWD": "/workspace",
|
||||
"OLDPWD": "/workspace",
|
||||
"OPTIND": "1",
|
||||
"SHELLOPTS": "braceexpand:hashall:interactive-comments",
|
||||
"BASHOPTS": "globskipdots"
|
||||
},
|
||||
"version": 1
|
||||
}
|
||||
Reference in New Issue
Block a user