@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.
Files changed (132) hide show
  1. package/AGENTS.md +4 -0
  2. package/dist/docs/404.html +3 -1
  3. package/dist/docs/ab.html +4 -2
  4. package/dist/docs/ab.md +338 -0
  5. package/dist/docs/building-with-agents.html +4 -2
  6. package/dist/docs/building-with-agents.md +124 -0
  7. package/dist/docs/concepts.html +4 -2
  8. package/dist/docs/concepts.md +174 -0
  9. package/dist/docs/deployment.html +4 -2
  10. package/dist/docs/deployment.md +464 -0
  11. package/dist/docs/evals.html +4 -2
  12. package/dist/docs/evals.md +481 -0
  13. package/dist/docs/example-agents/approval-buddy.html +4 -2
  14. package/dist/docs/example-agents/approval-buddy.md +266 -0
  15. package/dist/docs/example-agents/benny.html +4 -2
  16. package/dist/docs/example-agents/benny.md +182 -0
  17. package/dist/docs/example-agents/bugbot.html +4 -2
  18. package/dist/docs/example-agents/bugbot.md +229 -0
  19. package/dist/docs/example-agents/codebase-wiki.html +4 -2
  20. package/dist/docs/example-agents/codebase-wiki.md +170 -0
  21. package/dist/docs/example-agents/codeowners-review.html +4 -2
  22. package/dist/docs/example-agents/codeowners-review.md +192 -0
  23. package/dist/docs/example-agents/concierge.html +4 -2
  24. package/dist/docs/example-agents/concierge.md +201 -0
  25. package/dist/docs/example-agents/fsd.html +4 -2
  26. package/dist/docs/example-agents/fsd.md +329 -0
  27. package/dist/docs/example-agents/index.html +4 -2
  28. package/dist/docs/example-agents/index.md +102 -0
  29. package/dist/docs/example-agents/knowledge-base.html +4 -2
  30. package/dist/docs/example-agents/knowledge-base.md +168 -0
  31. package/dist/docs/example-agents/oncall.html +4 -2
  32. package/dist/docs/example-agents/oncall.md +212 -0
  33. package/dist/docs/example-agents/security-reviewer.html +4 -2
  34. package/dist/docs/example-agents/security-reviewer.md +265 -0
  35. package/dist/docs/example-agents/slack-agent.html +4 -2
  36. package/dist/docs/example-agents/slack-agent.md +142 -0
  37. package/dist/docs/example-agents/weather-agent.html +4 -2
  38. package/dist/docs/example-agents/weather-agent.md +296 -0
  39. package/dist/docs/guides/agent-to-agent.html +4 -2
  40. package/dist/docs/guides/agent-to-agent.md +113 -0
  41. package/dist/docs/guides/cloud-runtime.html +4 -2
  42. package/dist/docs/guides/cloud-runtime.md +131 -0
  43. package/dist/docs/guides/convert-automation.html +4 -2
  44. package/dist/docs/guides/convert-automation.md +171 -0
  45. package/dist/docs/guides/github.html +4 -2
  46. package/dist/docs/guides/github.md +287 -0
  47. package/dist/docs/guides/human-in-the-loop.html +4 -2
  48. package/dist/docs/guides/human-in-the-loop.md +126 -0
  49. package/dist/docs/guides/mcp-oauth.html +4 -2
  50. package/dist/docs/guides/mcp-oauth.md +159 -0
  51. package/dist/docs/guides/opentelemetry.html +4 -2
  52. package/dist/docs/guides/opentelemetry.md +209 -0
  53. package/dist/docs/guides/slack.html +4 -2
  54. package/dist/docs/guides/slack.md +337 -0
  55. package/dist/docs/guides/webhooks.html +4 -2
  56. package/dist/docs/guides/webhooks.md +463 -0
  57. package/dist/docs/hillclimbing.html +4 -2
  58. package/dist/docs/hillclimbing.md +88 -0
  59. package/dist/docs/index.html +4 -2
  60. package/dist/docs/index.md +179 -0
  61. package/dist/docs/llms-full.txt +11518 -0
  62. package/dist/docs/llms.txt +75 -0
  63. package/dist/docs/quickstart.html +4 -2
  64. package/dist/docs/quickstart.md +364 -0
  65. package/dist/docs/reference/agent-config.html +4 -2
  66. package/dist/docs/reference/agent-config.md +256 -0
  67. package/dist/docs/reference/artifacts.html +4 -2
  68. package/dist/docs/reference/artifacts.md +112 -0
  69. package/dist/docs/reference/channels.html +4 -2
  70. package/dist/docs/reference/channels.md +255 -0
  71. package/dist/docs/reference/cli.html +4 -2
  72. package/dist/docs/reference/cli.md +957 -0
  73. package/dist/docs/reference/connections.html +4 -2
  74. package/dist/docs/reference/connections.md +268 -0
  75. package/dist/docs/reference/hooks.html +4 -2
  76. package/dist/docs/reference/hooks.md +102 -0
  77. package/dist/docs/reference/http-api.html +4 -2
  78. package/dist/docs/reference/http-api.md +267 -0
  79. package/dist/docs/reference/instructions.html +4 -2
  80. package/dist/docs/reference/instructions.md +74 -0
  81. package/dist/docs/reference/playground.html +4 -2
  82. package/dist/docs/reference/playground.md +62 -0
  83. package/dist/docs/reference/project-layout.html +4 -2
  84. package/dist/docs/reference/project-layout.md +107 -0
  85. package/dist/docs/reference/prompt.html +4 -2
  86. package/dist/docs/reference/prompt.md +42 -0
  87. package/dist/docs/reference/schedules.html +4 -2
  88. package/dist/docs/reference/schedules.md +215 -0
  89. package/dist/docs/reference/sessions.html +4 -2
  90. package/dist/docs/reference/sessions.md +170 -0
  91. package/dist/docs/reference/skills.html +4 -2
  92. package/dist/docs/reference/skills.md +83 -0
  93. package/dist/docs/reference/subagents.html +4 -2
  94. package/dist/docs/reference/subagents.md +71 -0
  95. package/dist/docs/reference/tools.html +4 -2
  96. package/dist/docs/reference/tools.md +298 -0
  97. package/dist/docs/scaffolding-agents.html +4 -2
  98. package/dist/docs/scaffolding-agents.md +130 -0
  99. package/dist/docs/storage.html +4 -2
  100. package/dist/docs/storage.md +219 -0
  101. package/dist/docs/templates/agentic-owners.html +4 -2
  102. package/dist/docs/templates/agentic-owners.md +92 -0
  103. package/dist/docs/templates/demo.html +4 -2
  104. package/dist/docs/templates/demo.md +79 -0
  105. package/dist/docs/templates/pr-autofixer.html +4 -2
  106. package/dist/docs/templates/pr-autofixer.md +131 -0
  107. package/dist/docs/templates/security-reviewer.html +4 -2
  108. package/dist/docs/templates/security-reviewer.md +84 -0
  109. package/dist/docs/templates/triage.html +4 -2
  110. package/dist/docs/templates/triage.md +98 -0
  111. package/dist/docs/troubleshooting.html +4 -2
  112. package/dist/docs/troubleshooting.md +111 -0
  113. package/dist/internal/init-scaffold.d.ts.map +1 -1
  114. package/dist/internal/init-scaffold.js +1 -0
  115. package/dist/internal/playground/static.d.ts.map +1 -1
  116. package/dist/internal/playground/static.js +2 -0
  117. package/dist/internal/session-engine.d.ts.map +1 -1
  118. package/dist/internal/session-engine.js +3 -1
  119. package/package.json +2 -2
  120. package/skills/ab/SKILL.md +3 -0
  121. package/skills/create-agent/SKILL.md +3 -0
  122. package/skills/debug/SKILL.md +3 -0
  123. package/skills/evals/SKILL.md +3 -0
  124. package/skills/framework-map/SKILL.md +3 -0
  125. package/skills/github/SKILL.md +3 -0
  126. package/skills/hillclimb/SKILL.md +3 -0
  127. package/skills/mcp-auth/SKILL.md +3 -0
  128. package/skills/otel/SKILL.md +3 -0
  129. package/skills/setup-slack/SKILL.md +3 -0
  130. package/src/internal/init-scaffold.ts +1 -0
  131. package/src/internal/playground/static.ts +2 -0
  132. 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.
@@ -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`.
@@ -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
 
@@ -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:
@@ -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.
@@ -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
- : { outputSchema: tool.outputSchema }),
2394
- // Same pinned-SDK carry for `SDKCustomTool.annotations`: an advertised
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