Pull mirror of GroundCrewLabs/capabilities. Read-only; push to GitHub.
- TypeScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* ctx.tools: the platform's tools with the agent's grants, and no turn without an instruction A cron's code can now use the platform's shared tools — the same gcl_* tools an agent's model calls — instead of spending tokens waiting for a model to call them. The runtime is monorepo PR #1209; this is what an author writes against. - CronPlatformTools on ctx.tools: typed reads for every connected Google calendar, Gmail and IMAP search and read, web search and fetch, and Nextcloud list and read, plus call() for any other granted tool. Each call runs in the gateway with the cron's agent's grants and answers with data. - CronDeclaration.unattended_tools: the tools a cron may call although they change something, since nobody is there to ask. Reads need no declaration; a tool that messages a person is never callable from code. - A cron with run() and no instruction starts no agent turn at all: it speaks through ctx.deliver and its output is delivered as it is. - fakeCronContext({ tools }) answers those calls in tests, records them in ctx.toolCalls, and enforces the same per-run cap; an unanswered call throws, as an ungranted tool does. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PNmM2H8UQrGEN6oHQzQkB5 * Say what code may call the way the approval table now does (monorepo #1206) Gmail's send and the calendar's create and delete became unaskable in the monorepo (#1206), so they are refused from a cron's code outright rather than declarable. The skill and the types say that, and give a declarable example that still is one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PNmM2H8UQrGEN6oHQzQkB5 --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
| .claude/skills/capability-authoring | ||
| .forgejo/workflows | ||
| clients | ||
| shared | ||
| .gitignore | ||
| biome.json | ||
| capabilities.test.ts | ||
| CLAUDE.md | ||
| index.ts | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tsconfig.json | ||
| vitest.config.ts | ||