尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Starter agent for Sess: asks you two questions on your phone and plans your weekend on the real forecast.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗This agent asks you two questions on your phone and plans your weekend on the real forecast, with a signed receipt for each answer.
Install: npm install --ignore-scripts
Run (with SESS_API_KEY and SESS_DEMO_CONTACT set in your environment): npm start
What you'll see: a Sess link to open on your phone; answer its two questions and your plan
prints here, ending with verified ✓.
| Variable | What it is |
|---|---|
SESS_API_KEY | Your Sess API key, from app.sess.si. Keep it on your machine or server. |
SESS_DEMO_CONTACT | A project URL or team email. It goes in the User-Agent the weather services ask for. Do not use a personal address. |
Set the key without echoing it or saving it in your shell history:
read -rs SESS_API_KEY && export SESS_API_KEY # run this line by itself, then paste your key from https://app.sess.si
export SESS_DEMO_CONTACT=https://example.com/your-project
The agent reads both from its environment only. It never asks for them and never writes them to disk. .env.example lists them; the agent does not read that file.
The flow is in agent.mjs; the weather, the plan rule and their attribution are in weather.mjs.
Each question is a form(...) in agent.mjs: a title, a line under it, its fields and
one button. Keep what the person reads short; Sess never cuts it:
Sess refuses anything longer and creates nothing; shorten it and run again.
Forecasts come from MET Norway under CC BY 4.0. The agent summarizes them into time slots and shows that attribution with every forecast. US alerts come from api.weather.gov.
The agent follows the services' terms. It sends an identifying User-Agent with your contact,
truncates coordinates to 4 decimals, caches each answer in .weather-cache.json until it expires
and then revalidates it, and retries at most 3 times, waiting when asked to slow down. If a service
cannot be reached, the agent says so and plans without a forecast. It never makes up weather.
Each answer comes with a receipt signed by Sess. The agent checks it with
@sess.si/sdk before it continues. To learn how to
check a receipt yourself, visit sess.si/verify.
Node.js 22.14 or later. @sess.si/sdk is pinned to an exact version in package.json.