@cursor/july 0.1.91 → 0.1.92
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/AGENTS.md +4 -0
- package/dist/docs/404.html +3 -1
- package/dist/docs/ab.html +4 -2
- package/dist/docs/ab.md +338 -0
- package/dist/docs/building-with-agents.html +4 -2
- package/dist/docs/building-with-agents.md +124 -0
- package/dist/docs/concepts.html +4 -2
- package/dist/docs/concepts.md +174 -0
- package/dist/docs/deployment.html +4 -2
- package/dist/docs/deployment.md +464 -0
- package/dist/docs/evals.html +4 -2
- package/dist/docs/evals.md +481 -0
- package/dist/docs/example-agents/approval-buddy.html +4 -2
- package/dist/docs/example-agents/approval-buddy.md +266 -0
- package/dist/docs/example-agents/benny.html +4 -2
- package/dist/docs/example-agents/benny.md +182 -0
- package/dist/docs/example-agents/bugbot.html +4 -2
- package/dist/docs/example-agents/bugbot.md +229 -0
- package/dist/docs/example-agents/codebase-wiki.html +4 -2
- package/dist/docs/example-agents/codebase-wiki.md +170 -0
- package/dist/docs/example-agents/codeowners-review.html +4 -2
- package/dist/docs/example-agents/codeowners-review.md +192 -0
- package/dist/docs/example-agents/concierge.html +4 -2
- package/dist/docs/example-agents/concierge.md +201 -0
- package/dist/docs/example-agents/fsd.html +4 -2
- package/dist/docs/example-agents/fsd.md +329 -0
- package/dist/docs/example-agents/index.html +4 -2
- package/dist/docs/example-agents/index.md +102 -0
- package/dist/docs/example-agents/knowledge-base.html +4 -2
- package/dist/docs/example-agents/knowledge-base.md +168 -0
- package/dist/docs/example-agents/oncall.html +4 -2
- package/dist/docs/example-agents/oncall.md +212 -0
- package/dist/docs/example-agents/security-reviewer.html +4 -2
- package/dist/docs/example-agents/security-reviewer.md +265 -0
- package/dist/docs/example-agents/slack-agent.html +4 -2
- package/dist/docs/example-agents/slack-agent.md +142 -0
- package/dist/docs/example-agents/weather-agent.html +4 -2
- package/dist/docs/example-agents/weather-agent.md +296 -0
- package/dist/docs/guides/agent-to-agent.html +4 -2
- package/dist/docs/guides/agent-to-agent.md +113 -0
- package/dist/docs/guides/cloud-runtime.html +4 -2
- package/dist/docs/guides/cloud-runtime.md +131 -0
- package/dist/docs/guides/convert-automation.html +4 -2
- package/dist/docs/guides/convert-automation.md +171 -0
- package/dist/docs/guides/github.html +4 -2
- package/dist/docs/guides/github.md +287 -0
- package/dist/docs/guides/human-in-the-loop.html +4 -2
- package/dist/docs/guides/human-in-the-loop.md +126 -0
- package/dist/docs/guides/mcp-oauth.html +4 -2
- package/dist/docs/guides/mcp-oauth.md +159 -0
- package/dist/docs/guides/opentelemetry.html +4 -2
- package/dist/docs/guides/opentelemetry.md +209 -0
- package/dist/docs/guides/slack.html +4 -2
- package/dist/docs/guides/slack.md +337 -0
- package/dist/docs/guides/webhooks.html +4 -2
- package/dist/docs/guides/webhooks.md +463 -0
- package/dist/docs/hillclimbing.html +4 -2
- package/dist/docs/hillclimbing.md +88 -0
- package/dist/docs/index.html +4 -2
- package/dist/docs/index.md +179 -0
- package/dist/docs/llms-full.txt +11518 -0
- package/dist/docs/llms.txt +75 -0
- package/dist/docs/quickstart.html +4 -2
- package/dist/docs/quickstart.md +364 -0
- package/dist/docs/reference/agent-config.html +4 -2
- package/dist/docs/reference/agent-config.md +256 -0
- package/dist/docs/reference/artifacts.html +4 -2
- package/dist/docs/reference/artifacts.md +112 -0
- package/dist/docs/reference/channels.html +4 -2
- package/dist/docs/reference/channels.md +255 -0
- package/dist/docs/reference/cli.html +4 -2
- package/dist/docs/reference/cli.md +957 -0
- package/dist/docs/reference/connections.html +4 -2
- package/dist/docs/reference/connections.md +268 -0
- package/dist/docs/reference/hooks.html +4 -2
- package/dist/docs/reference/hooks.md +102 -0
- package/dist/docs/reference/http-api.html +4 -2
- package/dist/docs/reference/http-api.md +267 -0
- package/dist/docs/reference/instructions.html +4 -2
- package/dist/docs/reference/instructions.md +74 -0
- package/dist/docs/reference/playground.html +4 -2
- package/dist/docs/reference/playground.md +62 -0
- package/dist/docs/reference/project-layout.html +4 -2
- package/dist/docs/reference/project-layout.md +107 -0
- package/dist/docs/reference/prompt.html +4 -2
- package/dist/docs/reference/prompt.md +42 -0
- package/dist/docs/reference/schedules.html +4 -2
- package/dist/docs/reference/schedules.md +215 -0
- package/dist/docs/reference/sessions.html +4 -2
- package/dist/docs/reference/sessions.md +170 -0
- package/dist/docs/reference/skills.html +4 -2
- package/dist/docs/reference/skills.md +83 -0
- package/dist/docs/reference/subagents.html +4 -2
- package/dist/docs/reference/subagents.md +71 -0
- package/dist/docs/reference/tools.html +4 -2
- package/dist/docs/reference/tools.md +298 -0
- package/dist/docs/scaffolding-agents.html +4 -2
- package/dist/docs/scaffolding-agents.md +130 -0
- package/dist/docs/storage.html +4 -2
- package/dist/docs/storage.md +219 -0
- package/dist/docs/templates/agentic-owners.html +4 -2
- package/dist/docs/templates/agentic-owners.md +92 -0
- package/dist/docs/templates/demo.html +4 -2
- package/dist/docs/templates/demo.md +79 -0
- package/dist/docs/templates/pr-autofixer.html +4 -2
- package/dist/docs/templates/pr-autofixer.md +131 -0
- package/dist/docs/templates/security-reviewer.html +4 -2
- package/dist/docs/templates/security-reviewer.md +84 -0
- package/dist/docs/templates/triage.html +4 -2
- package/dist/docs/templates/triage.md +98 -0
- package/dist/docs/troubleshooting.html +4 -2
- package/dist/docs/troubleshooting.md +111 -0
- package/dist/internal/init-scaffold.d.ts.map +1 -1
- package/dist/internal/init-scaffold.js +1 -0
- package/dist/internal/playground/static.d.ts.map +1 -1
- package/dist/internal/playground/static.js +2 -0
- package/dist/internal/session-engine.d.ts.map +1 -1
- package/dist/internal/session-engine.js +3 -1
- package/package.json +2 -2
- package/skills/ab/SKILL.md +3 -0
- package/skills/create-agent/SKILL.md +3 -0
- package/skills/debug/SKILL.md +3 -0
- package/skills/evals/SKILL.md +3 -0
- package/skills/framework-map/SKILL.md +3 -0
- package/skills/github/SKILL.md +3 -0
- package/skills/hillclimb/SKILL.md +3 -0
- package/skills/mcp-auth/SKILL.md +3 -0
- package/skills/otel/SKILL.md +3 -0
- package/skills/setup-slack/SKILL.md +3 -0
- package/src/internal/init-scaffold.ts +1 -0
- package/src/internal/playground/static.ts +2 -0
- package/src/internal/session-engine.ts +4 -6
|
@@ -11,6 +11,9 @@ paths:
|
|
|
11
11
|
|
|
12
12
|
# Create an Agent SDK agent
|
|
13
13
|
|
|
14
|
+
Public docs index: `node_modules/@cursor/july/dist/docs/llms.txt`. A running
|
|
15
|
+
host serves the same index at `/docs/llms.txt`.
|
|
16
|
+
|
|
14
17
|
Stand up one new agent project via a short interview, scaffold it, get
|
|
15
18
|
channels working
|
|
16
19
|
with the user, prove a turn runs end-to-end, and set up the improvement loop.
|
package/skills/debug/SKILL.md
CHANGED
|
@@ -10,6 +10,9 @@ description: >-
|
|
|
10
10
|
|
|
11
11
|
# Debugging the Agent SDK locally
|
|
12
12
|
|
|
13
|
+
Public docs index: `node_modules/@cursor/july/dist/docs/llms.txt`. A running
|
|
14
|
+
host serves the same index at `/docs/llms.txt`.
|
|
15
|
+
|
|
13
16
|
This skill is **local** `agent-sdk serve` / playground. A **hosted**
|
|
14
17
|
deployment that is stopped, slow to start, or failing `/v1/health` is
|
|
15
18
|
`.cursor/skills/debugging/debug-agent-serve-deployment/SKILL.md`.
|
package/skills/evals/SKILL.md
CHANGED
|
@@ -9,6 +9,9 @@ description: >-
|
|
|
9
9
|
|
|
10
10
|
# Agent SDK evals
|
|
11
11
|
|
|
12
|
+
Public docs index: `node_modules/@cursor/july/dist/docs/llms.txt`. A running
|
|
13
|
+
host serves the same index at `/docs/llms.txt`.
|
|
14
|
+
|
|
12
15
|
Evals are the ratchet that makes iteration trustworthy: a fixed input, a
|
|
13
16
|
model turn, and gates over the recorded trajectory. They live at the
|
|
14
17
|
**project root** `evals/**/*.eval.ts` (never `agent/evals/` — that slot is
|
|
@@ -16,6 +16,9 @@ over HTTP/Slack/GitHub channels, with the Cursor SDK + harness as the
|
|
|
16
16
|
execution engine. Ground truth is the package `README.md` (full reference)
|
|
17
17
|
and `AGENTS.md` (coding-agent loop) — this skill is the map, not the spec.
|
|
18
18
|
|
|
19
|
+
Public docs index: `node_modules/@cursor/july/dist/docs/llms.txt`. A running
|
|
20
|
+
host serves the same index at `/docs/llms.txt`.
|
|
21
|
+
|
|
19
22
|
Run the CLI as `agent-sdk <cmd>`. In the everysphere monorepo there is no
|
|
20
23
|
installed bin — use:
|
|
21
24
|
|
package/skills/github/SKILL.md
CHANGED
|
@@ -9,6 +9,9 @@ description: >-
|
|
|
9
9
|
|
|
10
10
|
# GitHub channels in the Agent SDK
|
|
11
11
|
|
|
12
|
+
Public docs index: `node_modules/@cursor/july/dist/docs/llms.txt`. A running
|
|
13
|
+
host serves the same index at `/docs/llms.txt`.
|
|
14
|
+
|
|
12
15
|
Author `agent/channels/github.ts` with `githubChannel()` from
|
|
13
16
|
`@cursor/july/channels/github`. It mounts
|
|
14
17
|
`POST /<slug>/v1/channels/github` and publishes the events it dispatches on
|
|
@@ -11,6 +11,9 @@ paths:
|
|
|
11
11
|
|
|
12
12
|
# Agent SDK hillclimb
|
|
13
13
|
|
|
14
|
+
Public docs index: `node_modules/@cursor/july/dist/docs/llms.txt`. A running
|
|
15
|
+
host serves the same index at `/docs/llms.txt`.
|
|
16
|
+
|
|
14
17
|
Optimize one Agent SDK agent project
|
|
15
18
|
with a tight measure → change → remeasure loop. Do not redesign the
|
|
16
19
|
whole framework; climb one concrete failure mode at a time. Sibling skills:
|
package/skills/mcp-auth/SKILL.md
CHANGED
|
@@ -8,6 +8,9 @@ description: >-
|
|
|
8
8
|
|
|
9
9
|
# Host MCP OAuth (mcp auth)
|
|
10
10
|
|
|
11
|
+
Public docs index: `node_modules/@cursor/july/dist/docs/llms.txt`. A running
|
|
12
|
+
host serves the same index at `/docs/llms.txt`.
|
|
13
|
+
|
|
11
14
|
Use this skill when a human asks to authorize a remote MCP server on an
|
|
12
15
|
Agent SDK host, store credentials for Cursor-managed hosting, or debug
|
|
13
16
|
`host.mcp` auth failures for `oauth: true` connections.
|
package/skills/otel/SKILL.md
CHANGED
|
@@ -8,6 +8,9 @@ description: >-
|
|
|
8
8
|
|
|
9
9
|
# Agent SDK OpenTelemetry (`defineOtel`)
|
|
10
10
|
|
|
11
|
+
Public docs index: `node_modules/@cursor/july/dist/docs/llms.txt`. A running
|
|
12
|
+
host serves the same index at `/docs/llms.txt`.
|
|
13
|
+
|
|
11
14
|
Push session, turn, tool, and subagent traces, plus token and cost
|
|
12
15
|
metrics, from the serve process to an OTLP collector. Logs are off
|
|
13
16
|
until you opt in.
|
|
@@ -9,6 +9,9 @@ description: >-
|
|
|
9
9
|
|
|
10
10
|
# Setup Slack for the Agent SDK
|
|
11
11
|
|
|
12
|
+
Public docs index: `node_modules/@cursor/july/dist/docs/llms.txt`. A running
|
|
13
|
+
host serves the same index at `/docs/llms.txt`.
|
|
14
|
+
|
|
12
15
|
Use this skill when a human asks to wire Slack to an Agent SDK agent.
|
|
13
16
|
|
|
14
17
|
There are **two ways to connect**:
|
|
@@ -103,6 +103,7 @@ Run the CLI under Node, never Bun.
|
|
|
103
103
|
- Package loop: \`node_modules/${PACKAGE_NAME}/AGENTS.md\`
|
|
104
104
|
- Skills: \`node_modules/${PACKAGE_NAME}/skills/\` (\`create-agent\`, \`evals\`, \`hillclimb\`, \`debug\`)
|
|
105
105
|
- Docs: \`npx ${PACKAGE_NAME} docs\`
|
|
106
|
+
- LLM docs index: \`node_modules/${PACKAGE_NAME}/dist/docs/llms.txt\`
|
|
106
107
|
`;
|
|
107
108
|
}
|
|
108
109
|
|
|
@@ -27,6 +27,7 @@ const ASSETS_DIR = join(DIST_DIR, "assets");
|
|
|
27
27
|
export const STATIC_CONTENT_TYPES: Record<string, string> = {
|
|
28
28
|
".html": "text/html; charset=utf-8",
|
|
29
29
|
".js": "text/javascript; charset=utf-8",
|
|
30
|
+
".md": "text/markdown; charset=utf-8",
|
|
30
31
|
".mjs": "text/javascript; charset=utf-8",
|
|
31
32
|
".css": "text/css; charset=utf-8",
|
|
32
33
|
".map": "application/json; charset=utf-8",
|
|
@@ -41,6 +42,7 @@ export const STATIC_CONTENT_TYPES: Record<string, string> = {
|
|
|
41
42
|
".woff": "font/woff",
|
|
42
43
|
".woff2": "font/woff2",
|
|
43
44
|
".ttf": "font/ttf",
|
|
45
|
+
".txt": "text/plain; charset=utf-8",
|
|
44
46
|
};
|
|
45
47
|
|
|
46
48
|
/** Whether `pnpm run build:playground` has produced the SPA bundle. */
|
|
@@ -2384,14 +2384,12 @@ export class SessionEngine {
|
|
|
2384
2384
|
tools[tool.name] = {
|
|
2385
2385
|
description: tool.description,
|
|
2386
2386
|
inputSchema: tool.inputSchema as SDKCustomTool["inputSchema"],
|
|
2387
|
-
// `SDKCustomTool.outputSchema` ships in the next published
|
|
2388
|
-
// @cursor/sdk; the conditional spread carries the field through the
|
|
2389
|
-
// pinned SDK's type until the dependency bumps, at which point local
|
|
2390
|
-
// runs start advertising it.
|
|
2391
2387
|
...(tool.outputSchema === undefined
|
|
2392
2388
|
? {}
|
|
2393
|
-
: {
|
|
2394
|
-
|
|
2389
|
+
: {
|
|
2390
|
+
outputSchema: tool.outputSchema as SDKCustomTool["outputSchema"],
|
|
2391
|
+
}),
|
|
2392
|
+
// Pinned-SDK carry for `SDKCustomTool.annotations`: an advertised
|
|
2395
2393
|
// MCP passthrough's server-declared hints (bounded at listing time)
|
|
2396
2394
|
// ride into the harness listing once the dependency bumps.
|
|
2397
2395
|
...(tool.annotations === undefined
|