@cursor/bdk 0.2.23 → 0.2.25
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 +1 -0
- package/dist/artifacts.d.ts +1 -1
- package/dist/artifacts.js +1 -1
- package/dist/bin/agent-serve.d.ts +1 -1
- package/dist/bin/agent-serve.js +48 -12
- package/dist/channels/bitbucket/bitbucket-channel.js +1 -1
- package/dist/channels/bitbucket/bitbucket-webhook.d.ts +3 -2
- package/dist/channels/bitbucket/bitbucket-webhook.d.ts.map +1 -1
- package/dist/channels/bitbucket/bitbucket-webhook.js +14 -9
- package/dist/channels/change-monitors/change-monitors-channel.js +1 -1
- package/dist/channels/deployments/deployments-channel.js +1 -1
- package/dist/channels/github/github-channel.d.ts.map +1 -1
- package/dist/channels/github/github-channel.js +10 -19
- package/dist/channels/gitlab/gitlab-channel.js +1 -1
- package/dist/channels/issues/issues-channel.js +1 -1
- package/dist/channels/origin/origin-channel.js +1 -1
- package/dist/channels/pagerduty/api.d.ts +74 -0
- package/dist/channels/pagerduty/api.d.ts.map +1 -0
- package/dist/channels/pagerduty/api.js +101 -0
- package/dist/channels/pagerduty/defaults.d.ts +42 -0
- package/dist/channels/pagerduty/defaults.d.ts.map +1 -0
- package/dist/channels/pagerduty/defaults.js +132 -0
- package/dist/channels/pagerduty/events.d.ts +24 -0
- package/dist/channels/pagerduty/events.d.ts.map +1 -0
- package/dist/channels/pagerduty/events.js +38 -0
- package/dist/channels/pagerduty/index.d.ts +31 -0
- package/dist/channels/pagerduty/index.d.ts.map +1 -0
- package/dist/channels/pagerduty/index.js +30 -0
- package/dist/channels/pagerduty/pagerduty-channel.d.ts +64 -0
- package/dist/channels/pagerduty/pagerduty-channel.d.ts.map +1 -0
- package/dist/channels/pagerduty/pagerduty-channel.js +195 -0
- package/dist/channels/pagerduty/pagerduty-webhook.d.ts +70 -0
- package/dist/channels/pagerduty/pagerduty-webhook.d.ts.map +1 -0
- package/dist/channels/pagerduty/pagerduty-webhook.js +280 -0
- package/dist/channels/pagerduty/payload.d.ts +33 -0
- package/dist/channels/pagerduty/payload.d.ts.map +1 -0
- package/dist/channels/pagerduty/payload.js +150 -0
- package/dist/channels/pagerduty/replay.d.ts +35 -0
- package/dist/channels/pagerduty/replay.d.ts.map +1 -0
- package/dist/channels/pagerduty/replay.js +115 -0
- package/dist/channels/pagerduty/secrets.d.ts +16 -0
- package/dist/channels/pagerduty/secrets.d.ts.map +1 -0
- package/dist/channels/pagerduty/secrets.js +23 -0
- package/dist/channels/pagerduty/self-user.d.ts +51 -0
- package/dist/channels/pagerduty/self-user.d.ts.map +1 -0
- package/dist/channels/pagerduty/self-user.js +157 -0
- package/dist/channels/pagerduty/state.d.ts +31 -0
- package/dist/channels/pagerduty/state.d.ts.map +1 -0
- package/dist/channels/pagerduty/state.js +30 -0
- package/dist/channels/pagerduty/types.d.ts +217 -0
- package/dist/channels/pagerduty/types.d.ts.map +1 -0
- package/dist/channels/pagerduty/types.js +1 -0
- package/dist/channels/runs/runs-channel.js +1 -1
- package/dist/channels/slack/tool-approval-events.js +5 -5
- package/dist/channels.d.ts +14 -1
- package/dist/channels.d.ts.map +1 -1
- package/dist/channels.js +24 -9
- package/dist/docs/404.html +3 -3
- package/dist/docs/assets/{app.AXQcJZaf.js → app.BjS1QEI4.js} +4 -4
- package/dist/docs/assets/chunks/@localSearchIndexroot.oGqZumnJ.js +1 -0
- package/dist/docs/assets/chunks/{VPLocalSearchBox.hlZ2vmun.js → VPLocalSearchBox.BOuvjb5Y.js} +2 -2
- package/dist/docs/assets/chunks/{arc.9KNWdH-l.js → arc.3WR6Jf-y.js} +1 -1
- package/dist/docs/assets/chunks/{architectureDiagram-Q4EWVU46.BfGzkBHI.js → architectureDiagram-Q4EWVU46.Dtb6Dqh6.js} +1 -1
- package/dist/docs/assets/chunks/{baseUniq.Btk8-2Rs.js → baseUniq.BUyrgrZE.js} +1 -1
- package/dist/docs/assets/chunks/{blockDiagram-DXYQGD6D.BmHm9OH5.js → blockDiagram-DXYQGD6D.BVLV_voZ.js} +1 -1
- package/dist/docs/assets/chunks/{c4Diagram-AHTNJAMY.9POrbDHJ.js → c4Diagram-AHTNJAMY.jXJ1q70M.js} +1 -1
- package/dist/docs/assets/chunks/channel.Dt4aweTm.js +1 -0
- package/dist/docs/assets/chunks/{chunk-4BX2VUAB.YWZVSM6S.js → chunk-4BX2VUAB.zz1SMBvK.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-4TB4RGXK.Cxr_SFgw.js → chunk-4TB4RGXK.CzYKuv3I.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-55IACEB6.DtiJyPlD.js → chunk-55IACEB6.C7_tcJZD.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-EDXVE4YY.b5gNHJPH.js → chunk-EDXVE4YY.DeTwQPVO.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-FMBD7UC4.DmN9yA_M.js → chunk-FMBD7UC4.DhMTl7ut.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-OYMX7WX6.Dfm3xgV5.js → chunk-OYMX7WX6.Me7f5hEp.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-QZHKN3VN.sXNxDcJA.js → chunk-QZHKN3VN.D0E0Bb6g.js} +1 -1
- package/dist/docs/assets/chunks/{chunk-YZCP3GAM.DgBnDUV7.js → chunk-YZCP3GAM.CdOOBFYL.js} +1 -1
- package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.DGUHZs6j.js +1 -0
- package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.DGUHZs6j.js +1 -0
- package/dist/docs/assets/chunks/clone.DWf3k0Z0.js +1 -0
- package/dist/docs/assets/chunks/{cose-bilkent-S5V4N54A.D18MEcoN.js → cose-bilkent-S5V4N54A.BNbGESzN.js} +1 -1
- package/dist/docs/assets/chunks/{dagre-KV5264BT.CSf3tihh.js → dagre-KV5264BT.zU7Lu_xJ.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-5BDNPKRD.cbfzAfoC.js → diagram-5BDNPKRD.B9qOdE5h.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-G4DWMVQ6.6i6P3uu9.js → diagram-G4DWMVQ6.D8X-sf77.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-MMDJMWI5.B9HAIfN6.js → diagram-MMDJMWI5.CW7MvMlE.js} +1 -1
- package/dist/docs/assets/chunks/{diagram-TYMM5635.B9baAjUv.js → diagram-TYMM5635.J489G0Nd.js} +1 -1
- package/dist/docs/assets/chunks/{erDiagram-SMLLAGMA.DaBmX_GN.js → erDiagram-SMLLAGMA.BkW7tGfs.js} +1 -1
- package/dist/docs/assets/chunks/{flowDiagram-DWJPFMVM.CJqQJjkb.js → flowDiagram-DWJPFMVM.jc9iWORD.js} +1 -1
- package/dist/docs/assets/chunks/{ganttDiagram-T4ZO3ILL.CIXBLQhC.js → ganttDiagram-T4ZO3ILL.B-UQfd9E.js} +1 -1
- package/dist/docs/assets/chunks/{gitGraphDiagram-UUTBAWPF.CDgentto.js → gitGraphDiagram-UUTBAWPF.DFzrTSlJ.js} +1 -1
- package/dist/docs/assets/chunks/{graph.BWHn6JBQ.js → graph.C5IB6_e_.js} +1 -1
- package/dist/docs/assets/chunks/{infoDiagram-42DDH7IO.d9VU_ts_.js → infoDiagram-42DDH7IO.DwF0-c8L.js} +1 -1
- package/dist/docs/assets/chunks/{ishikawaDiagram-UXIWVN3A.BNO79Prj.js → ishikawaDiagram-UXIWVN3A.fBaTqzE7.js} +1 -1
- package/dist/docs/assets/chunks/{journeyDiagram-VCZTEJTY.CPgUTM1R.js → journeyDiagram-VCZTEJTY.CM8gDVJy.js} +1 -1
- package/dist/docs/assets/chunks/{kanban-definition-6JOO6SKY.idl0Eoe1.js → kanban-definition-6JOO6SKY.YiD1p0LB.js} +1 -1
- package/dist/docs/assets/chunks/{layout.BY7DIMr6.js → layout.6Um-DVJT.js} +1 -1
- package/dist/docs/assets/chunks/{linear.DYaUDrHd.js → linear.DcTeg4Hn.js} +1 -1
- package/dist/docs/assets/chunks/{min.V6MWb1UC.js → min.CIxkY8Fe.js} +1 -1
- package/dist/docs/assets/chunks/{mindmap-definition-QFDTVHPH.BRlJXuFS.js → mindmap-definition-QFDTVHPH.D4QM_voR.js} +1 -1
- package/dist/docs/assets/chunks/{pieDiagram-DEJITSTG.BIhkDLcB.js → pieDiagram-DEJITSTG.nmB309G1.js} +1 -1
- package/dist/docs/assets/chunks/{quadrantDiagram-34T5L4WZ.Bw-_VEL3.js → quadrantDiagram-34T5L4WZ.D1HtZR3C.js} +1 -1
- package/dist/docs/assets/chunks/{requirementDiagram-MS252O5E.DolEGwxw.js → requirementDiagram-MS252O5E.CZgQWob-.js} +1 -1
- package/dist/docs/assets/chunks/{sankeyDiagram-XADWPNL6.hMM-8BhN.js → sankeyDiagram-XADWPNL6.DtiBfU-P.js} +1 -1
- package/dist/docs/assets/chunks/{sequenceDiagram-FGHM5R23.Bg_CRVDy.js → sequenceDiagram-FGHM5R23.Cld4gDSt.js} +1 -1
- package/dist/docs/assets/chunks/{stateDiagram-FHFEXIEX.DNWdl34_.js → stateDiagram-FHFEXIEX.DatP823_.js} +1 -1
- package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.C0571l4D.js +1 -0
- package/dist/docs/assets/chunks/{theme.CBW1oolh.js → theme.D5jbBys7.js} +2 -2
- package/dist/docs/assets/chunks/{timeline-definition-GMOUNBTQ.Cr1wJ1mB.js → timeline-definition-GMOUNBTQ.DwQLI2be.js} +1 -1
- package/dist/docs/assets/chunks/{vennDiagram-DHZGUBPP.BltDV9j7.js → vennDiagram-DHZGUBPP.a5yMfnsa.js} +1 -1
- package/dist/docs/assets/chunks/{wardley-RL74JXVD.BWPaUhOs.js → wardley-RL74JXVD.B-FXivgT.js} +1 -1
- package/dist/docs/assets/chunks/{wardleyDiagram-NUSXRM2D.nsADqCCo.js → wardleyDiagram-NUSXRM2D.Dz--Opy3.js} +1 -1
- package/dist/docs/assets/chunks/{xychartDiagram-5P7HB3ND.CCwbO3dK.js → xychartDiagram-5P7HB3ND.Dl8w8TeT.js} +1 -1
- package/dist/docs/assets/{deployment.md.CtSJ6sF9.js → deployment.md.3MMWuPeV.js} +5 -5
- package/dist/docs/assets/{deployment.md.CtSJ6sF9.lean.js → deployment.md.3MMWuPeV.lean.js} +1 -1
- package/dist/docs/assets/{guides_cloud-agents.md.CBK7W0-O.js → guides_cloud-agents.md.BzbzcOyj.js} +2 -2
- package/dist/docs/assets/{guides_cloud-agents.md.CBK7W0-O.lean.js → guides_cloud-agents.md.BzbzcOyj.lean.js} +1 -1
- package/dist/docs/assets/{guides_opentelemetry.md.ByW1Fs7b.js → guides_opentelemetry.md.DBQtp7_V.js} +13 -5
- package/dist/docs/assets/{guides_opentelemetry.md.ByW1Fs7b.lean.js → guides_opentelemetry.md.DBQtp7_V.lean.js} +1 -1
- package/dist/docs/assets/guides_pagerduty.md.BHXMcMtx.js +60 -0
- package/dist/docs/assets/guides_pagerduty.md.BHXMcMtx.lean.js +1 -0
- package/dist/docs/assets/{reference_agent-config.md.DYA6ge6t.js → reference_agent-config.md.IplwL25I.js} +1 -2
- package/dist/docs/assets/{reference_agent-config.md.DYA6ge6t.lean.js → reference_agent-config.md.IplwL25I.lean.js} +1 -1
- package/dist/docs/assets/{reference_channels.md.DYg0CLud.js → reference_channels.md.Bxaa020x.js} +1 -1
- package/dist/docs/assets/{reference_cli.md.DB7Llw3T.js → reference_cli.md.1o_TqKdt.js} +7 -2
- package/dist/docs/assets/{reference_cli.md.DB7Llw3T.lean.js → reference_cli.md.1o_TqKdt.lean.js} +1 -1
- package/dist/docs/assets/{reference_extensions.md.OUacPetl.js → reference_extensions.md.DKxTuCIw.js} +11 -8
- package/dist/docs/assets/{reference_extensions.md.OUacPetl.lean.js → reference_extensions.md.DKxTuCIw.lean.js} +1 -1
- package/dist/docs/assets/{reference_instructions.md.DrcHZXig.js → reference_instructions.md.BYMVxAkw.js} +4 -4
- package/dist/docs/assets/{reference_instructions.md.DrcHZXig.lean.js → reference_instructions.md.BYMVxAkw.lean.js} +1 -1
- package/dist/docs/assets/{reference_schedules.md.BqWnJES4.js → reference_schedules.md.03Ryy9ca.js} +3 -3
- package/dist/docs/assets/{reference_tools.md.08XR7lIl.js → reference_tools.md.-6pypsWt.js} +1 -1
- package/dist/docs/assets/{style.Dwls12uf.css → style.nMsabY-V.css} +1 -1
- package/dist/docs/assets/templates_agentic-owners.md.CTEnR0jp.js +13 -0
- package/dist/docs/assets/{templates_agentic-owners.md.CvmABtia.lean.js → templates_agentic-owners.md.CTEnR0jp.lean.js} +1 -1
- package/dist/docs/building-with-agents.html +37 -37
- package/dist/docs/deployment.html +42 -42
- package/dist/docs/deployment.md +9 -4
- package/dist/docs/evals.html +37 -37
- package/dist/docs/guides/agent-to-agent.html +37 -37
- package/dist/docs/guides/bitbucket.html +37 -37
- package/dist/docs/guides/cloud-agents.html +38 -38
- package/dist/docs/guides/cloud-agents.md +1 -0
- package/dist/docs/guides/convert-automation.html +37 -37
- package/dist/docs/guides/export-grokbot.html +37 -37
- package/dist/docs/guides/github.html +37 -37
- package/dist/docs/guides/gitlab.html +37 -37
- package/dist/docs/guides/grokbot-agents.html +37 -37
- package/dist/docs/guides/hooks.html +37 -37
- package/dist/docs/guides/improve.html +37 -37
- package/dist/docs/guides/jev.html +37 -37
- package/dist/docs/guides/mcp-oauth.html +37 -37
- package/dist/docs/guides/migrate.html +37 -37
- package/dist/docs/guides/opentelemetry.html +49 -41
- package/dist/docs/guides/opentelemetry.md +54 -3
- package/dist/docs/guides/pagerduty.html +119 -0
- package/dist/docs/guides/pagerduty.md +336 -0
- package/dist/docs/guides/slack.html +37 -37
- package/dist/docs/guides/webhooks.html +37 -37
- package/dist/docs/hashmap.json +1 -1
- package/dist/docs/hillclimbing.html +37 -37
- package/dist/docs/index.html +37 -37
- package/dist/docs/llms-full.txt +510 -42
- package/dist/docs/llms.txt +1 -0
- package/dist/docs/quickstart.html +37 -37
- package/dist/docs/reference/agent-config.html +38 -39
- package/dist/docs/reference/agent-config.md +0 -1
- package/dist/docs/reference/artifacts.html +37 -37
- package/dist/docs/reference/channels.html +38 -38
- package/dist/docs/reference/channels.md +2 -1
- package/dist/docs/reference/cli.html +43 -38
- package/dist/docs/reference/cli.md +27 -0
- package/dist/docs/reference/connections.html +37 -37
- package/dist/docs/reference/evals.html +37 -37
- package/dist/docs/reference/extensions.html +47 -44
- package/dist/docs/reference/extensions.md +15 -9
- package/dist/docs/reference/hooks.html +37 -37
- package/dist/docs/reference/http-api.html +37 -37
- package/dist/docs/reference/instructions.html +40 -40
- package/dist/docs/reference/instructions.md +5 -1
- package/dist/docs/reference/memory.html +37 -37
- package/dist/docs/reference/playground.html +36 -36
- package/dist/docs/reference/project-layout.html +37 -37
- package/dist/docs/reference/prompt.html +37 -37
- package/dist/docs/reference/schedules.html +40 -40
- package/dist/docs/reference/sessions.html +36 -36
- package/dist/docs/reference/skills.html +37 -37
- package/dist/docs/reference/subagents.html +37 -37
- package/dist/docs/reference/tools.html +39 -39
- package/dist/docs/reference/tools.md +1 -0
- package/dist/docs/templates/agentic-owners.html +42 -43
- package/dist/docs/templates/agentic-owners.md +55 -23
- package/dist/docs/templates/grokbot-agents.html +37 -37
- package/dist/docs/templates/security-reviewer.html +37 -37
- package/dist/docs/templates/thermo-quality-review.html +37 -37
- package/dist/docs/templates/thermo-review.html +37 -37
- package/dist/docs/templates/triage.html +37 -37
- package/dist/docs/troubleshooting.html +36 -36
- package/dist/extensions/cursor-cloud-agents/extension.d.ts +2 -0
- package/dist/extensions/cursor-cloud-agents/extension.d.ts.map +1 -1
- package/dist/extensions/cursor-cloud-agents/extension.js +2 -1
- package/dist/extensions/cursor-cloud-agents/lib/backend.d.ts +1 -0
- package/dist/extensions/cursor-cloud-agents/lib/backend.d.ts.map +1 -1
- package/dist/extensions/cursor-cloud-agents/lib/backend.js +2 -1
- package/dist/extensions/cursor-cloud-agents/lib/fleet.js +1 -1
- package/dist/extensions/cursor-cloud-agents/lib/inputs.d.ts +1 -1
- package/dist/extensions/cursor-cloud-agents/lib/inputs.d.ts.map +1 -1
- package/dist/extensions/cursor-cloud-agents/lib/inputs.js +1 -1
- package/dist/extensions/cursor-cloud-agents/reminders/cloud-agent-stop-watch.js +1 -1
- package/dist/extensions/cursor-cloud-agents/tools/launch.js +1 -1
- package/dist/extensions/cursor-cloud-agents/tools/list.js +1 -1
- package/dist/extensions/cursor-cloud-agents/tools/reply.js +1 -1
- package/dist/extensions/cursor-grokbot-agents/extension.js +1 -1
- package/dist/extensions/cursor-grokbot-agents/lib/backend.js +1 -1
- package/dist/extensions/cursor-grokbot-agents/lib/contacts.js +1 -1
- package/dist/extensions/cursor-grokbot-agents/lib/inputs.d.ts +1 -1
- package/dist/extensions/cursor-grokbot-agents/lib/inputs.d.ts.map +1 -1
- package/dist/extensions/cursor-grokbot-agents/lib/inputs.js +1 -1
- package/dist/extensions/cursor-grokbot-agents/tools/ask.js +1 -1
- package/dist/extensions/cursor-grokbot-agents/tools/check.js +1 -1
- package/dist/extensions/cursor-grokbot-agents/tools/interrupt.js +1 -1
- package/dist/extensions/cursor-grokbot-agents/tools/list.js +1 -1
- package/dist/extensions/improve/extension.js +1 -1
- package/dist/extensions/jev/extension.js +1 -1
- package/dist/extensions/jev/tools/evaluate.js +1 -1
- package/dist/extensions/slack-communication/extension.js +1 -1
- package/dist/extensions/slack-communication/tools/delete-message.js +1 -1
- package/dist/extensions/slack-communication/tools/edit-message.js +1 -1
- package/dist/extensions/slack-communication/tools/post-card.js +1 -1
- package/dist/extensions/slack-communication/tools/post-file.js +1 -1
- package/dist/extensions/slack-communication/tools/post-update.js +1 -1
- package/dist/extensions/slack-communication/tools/react.js +1 -1
- package/dist/extensions/slack-communication/tools/set-status.js +1 -1
- package/dist/extensions.d.ts +1 -1
- package/dist/extensions.js +1 -1
- package/dist/internal/approval-gate.d.ts +4 -2
- package/dist/internal/approval-gate.d.ts.map +1 -1
- package/dist/internal/approval-gate.js +2 -1
- package/dist/internal/builtin-tools/artifacts.d.ts.map +1 -1
- package/dist/internal/builtin-tools/artifacts.js +46 -13
- package/dist/internal/builtin-tools/reminders.js +1 -1
- package/dist/internal/channel-architecture.d.ts +1 -1
- package/dist/internal/channel-architecture.d.ts.map +1 -1
- package/dist/internal/channel-architecture.js +4 -2
- package/dist/internal/cli-deploy.d.ts.map +1 -1
- package/dist/internal/cli-deploy.js +21 -12
- package/dist/internal/cli-pagerduty.d.ts +32 -0
- package/dist/internal/cli-pagerduty.d.ts.map +1 -0
- package/dist/internal/cli-pagerduty.js +242 -0
- package/dist/internal/continuation-channel.d.ts.map +1 -1
- package/dist/internal/continuation-channel.js +7 -0
- package/dist/internal/continuation-identity.d.ts +11 -3
- package/dist/internal/continuation-identity.d.ts.map +1 -1
- package/dist/internal/continuation-identity.js +83 -0
- package/dist/internal/convert-automation/convert-workflow.js +1 -1
- package/dist/internal/convert-grokbot/answers.js +1 -1
- package/dist/internal/convert-grokbot/recipe.d.ts +1 -1
- package/dist/internal/convert-grokbot/recipe.d.ts.map +1 -1
- package/dist/internal/convert-grokbot/recipe.js +1 -1
- package/dist/internal/cursor/backend-client.d.ts +1 -1
- package/dist/internal/cursor/backend-client.d.ts.map +1 -1
- package/dist/internal/cursor/backend-client.js +1 -1
- package/dist/internal/cursor/credentials.d.ts +1 -1
- package/dist/internal/cursor/credentials.d.ts.map +1 -1
- package/dist/internal/cursor/credentials.js +1 -1
- package/dist/internal/deploy-client.js +1 -1
- package/dist/internal/deploy-manifest.d.ts +11 -4
- package/dist/internal/deploy-manifest.d.ts.map +1 -1
- package/dist/internal/deploy-manifest.js +19 -6
- package/dist/internal/discovery/agent-config.d.ts.map +1 -1
- package/dist/internal/discovery/agent-config.js +10 -10
- package/dist/internal/discovery/agent.d.ts.map +1 -1
- package/dist/internal/discovery/agent.js +10 -10
- package/dist/internal/discovery/channels.d.ts.map +1 -1
- package/dist/internal/discovery/channels.js +20 -16
- package/dist/internal/discovery/context.d.ts +16 -0
- package/dist/internal/discovery/context.d.ts.map +1 -1
- package/dist/internal/discovery/context.js +66 -0
- package/dist/internal/discovery/cursor-plugin.js +1 -1
- package/dist/internal/discovery/extension-overlay.d.ts.map +1 -1
- package/dist/internal/discovery/extension-overlay.js +2 -6
- package/dist/internal/discovery/info.d.ts.map +1 -1
- package/dist/internal/discovery/info.js +3 -0
- package/dist/internal/discovery/instructions.d.ts.map +1 -1
- package/dist/internal/discovery/instructions.js +3 -6
- package/dist/internal/discovery/modules.d.ts.map +1 -1
- package/dist/internal/discovery/modules.js +3 -6
- package/dist/internal/discovery/project.d.ts +6 -0
- package/dist/internal/discovery/project.d.ts.map +1 -1
- package/dist/internal/discovery/project.js +27 -5
- package/dist/internal/discovery/runtime.d.ts.map +1 -1
- package/dist/internal/discovery/runtime.js +8 -8
- package/dist/internal/discovery.d.ts +1 -1
- package/dist/internal/discovery.d.ts.map +1 -1
- package/dist/internal/discovery.js +1 -1
- package/dist/internal/expected-delivery-failure.d.ts.map +1 -1
- package/dist/internal/expected-delivery-failure.js +6 -0
- package/dist/internal/factory-resource-channel.d.ts +1 -1
- package/dist/internal/factory-resource-channel.d.ts.map +1 -1
- package/dist/internal/filesystem/sdk-schemas.d.ts +1 -1
- package/dist/internal/filesystem/sdk-schemas.d.ts.map +1 -1
- package/dist/internal/filesystem/sdk-schemas.js +5 -4
- package/dist/internal/filesystem/tools.js +1 -1
- package/dist/internal/hmac-secret-values.d.ts +48 -0
- package/dist/internal/hmac-secret-values.d.ts.map +1 -0
- package/dist/internal/hmac-secret-values.js +68 -0
- package/dist/internal/host-otel.d.ts +2 -1
- package/dist/internal/host-otel.d.ts.map +1 -1
- package/dist/internal/host-otel.js +20 -6
- package/dist/internal/host-platforms.d.ts.map +1 -1
- package/dist/internal/host-platforms.js +8 -2
- package/dist/internal/hosted-delivery-protocol.d.ts +4 -0
- package/dist/internal/hosted-delivery-protocol.d.ts.map +1 -1
- package/dist/internal/hosted-delivery.d.ts +7 -0
- package/dist/internal/hosted-delivery.d.ts.map +1 -1
- package/dist/internal/hosted-delivery.js +19 -17
- package/dist/internal/hosting.d.ts +6 -0
- package/dist/internal/hosting.d.ts.map +1 -1
- package/dist/internal/hosting.js +9 -0
- package/dist/internal/init-scaffold.js +1 -1
- package/dist/internal/interview/agent-questions.d.ts +1 -1
- package/dist/internal/interview/agent-questions.d.ts.map +1 -1
- package/dist/internal/interview/agent-questions.js +1 -1
- package/dist/internal/interview/question.d.ts +1 -1
- package/dist/internal/interview/question.d.ts.map +1 -1
- package/dist/internal/interview/question.js +1 -1
- package/dist/internal/json-schema.d.ts +7 -7
- package/dist/internal/json-schema.d.ts.map +1 -1
- package/dist/internal/json-schema.js +14 -17
- package/dist/internal/mcp-endpoint.js +1 -1
- package/dist/internal/otel/collector.d.ts.map +1 -1
- package/dist/internal/otel/collector.js +50 -19
- package/dist/internal/otel/config.d.ts +10 -1
- package/dist/internal/otel/config.d.ts.map +1 -1
- package/dist/internal/otel/config.js +47 -10
- package/dist/internal/otel/http.d.ts +1 -1
- package/dist/internal/otel/http.d.ts.map +1 -1
- package/dist/internal/otel/http.js +1 -1
- package/dist/internal/otel/runtime.d.ts +17 -14
- package/dist/internal/otel/runtime.d.ts.map +1 -1
- package/dist/internal/otel/runtime.js +203 -237
- package/dist/internal/package-inline-stdio.d.ts.map +1 -1
- package/dist/internal/package-inline-stdio.js +21 -5
- package/dist/internal/process-memory-telemetry.d.ts +1 -1
- package/dist/internal/process-memory-telemetry.d.ts.map +1 -1
- package/dist/internal/process-memory-telemetry.js +1 -1
- package/dist/internal/sdk-runner.d.ts +2 -3
- package/dist/internal/sdk-runner.d.ts.map +1 -1
- package/dist/internal/sdk-runner.js +30 -6
- package/dist/internal/secret-alternatives.d.ts +11 -0
- package/dist/internal/secret-alternatives.d.ts.map +1 -0
- package/dist/internal/secret-alternatives.js +13 -0
- package/dist/internal/server.d.ts.map +1 -1
- package/dist/internal/server.js +27 -15
- package/dist/internal/session-engine.d.ts +9 -1
- package/dist/internal/session-engine.d.ts.map +1 -1
- package/dist/internal/session-engine.js +30 -4
- package/dist/internal/slack-provision-client.js +1 -1
- package/dist/internal/sqlite-experimental-warning.d.ts +2 -0
- package/dist/internal/sqlite-experimental-warning.d.ts.map +1 -0
- package/dist/internal/sqlite-experimental-warning.js +22 -0
- package/dist/internal/store-api-protocol.d.ts +1 -1
- package/dist/internal/store-api-protocol.d.ts.map +1 -1
- package/dist/internal/store-api-protocol.js +1 -1
- package/dist/internal/testing/conversation-identity-vectors.d.ts +6 -1
- package/dist/internal/testing/conversation-identity-vectors.d.ts.map +1 -1
- package/dist/internal/testing/conversation-identity-vectors.js +34 -0
- package/dist/internal/testing/hmac-secret-vectors.d.ts +38 -0
- package/dist/internal/testing/hmac-secret-vectors.d.ts.map +1 -0
- package/dist/internal/testing/hmac-secret-vectors.js +89 -0
- package/dist/internal/testing/pagerduty-continuation-fixtures.d.ts +42 -0
- package/dist/internal/testing/pagerduty-continuation-fixtures.d.ts.map +1 -0
- package/dist/internal/testing/pagerduty-continuation-fixtures.js +175 -0
- package/dist/internal/update-check.d.ts +1 -1
- package/dist/internal/update-check.d.ts.map +1 -1
- package/dist/internal/update-check.js +1 -1
- package/dist/internal/zod-schema.d.ts +14 -0
- package/dist/internal/zod-schema.d.ts.map +1 -0
- package/dist/internal/zod-schema.js +22 -0
- package/dist/otel.d.ts +1 -2
- package/dist/otel.d.ts.map +1 -1
- package/dist/otel.js +0 -1
- package/dist/playground/assets/cursor-icons-16-DmHBTm1-.woff2 +0 -0
- package/dist/playground/assets/index-BdMwybMt.css +1 -0
- package/dist/playground/assets/index-CHk6O92d.js +62 -0
- package/dist/playground/index.html +2 -2
- package/dist/tools.d.ts +14 -11
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +4 -3
- package/dist/types.d.ts +67 -16
- package/dist/types.d.ts.map +1 -1
- package/docs/deployment.md +9 -4
- package/docs/guides/cloud-agents.md +1 -0
- package/docs/guides/opentelemetry.md +54 -3
- package/docs/guides/pagerduty.md +341 -0
- package/docs/reference/agent-config.md +0 -1
- package/docs/reference/channels.md +2 -1
- package/docs/reference/cli.md +27 -0
- package/docs/reference/extensions.md +15 -9
- package/docs/reference/instructions.md +5 -1
- package/docs/reference/tools.md +1 -0
- package/docs/templates/agentic-owners.md +55 -23
- package/package.json +24 -19
- package/skills/migrate-v2/SKILL.md +1 -1
- package/skills/otel/SKILL.md +24 -7
- package/templates/agentic-owners/README.md +6 -1
- package/templates/agentic-owners/bot/lib/owners/decision.ts +31 -5
- package/templates/agentic-owners/bot/lib/owners/globalOverride.ts +60 -0
- package/templates/agentic-owners/bot/lib/owners/match.ts +85 -19
- package/templates/agentic-owners/bot/lib/owners/parse.ts +133 -2
- package/templates/agentic-owners/bot/lib/owners/types.ts +23 -0
- package/dist/docs/assets/chunks/@localSearchIndexroot.B3j7LFef.js +0 -1
- package/dist/docs/assets/chunks/channel.RoCpi7X1.js +0 -1
- package/dist/docs/assets/chunks/classDiagram-6PBFFD2Q.oxdmwwqk.js +0 -1
- package/dist/docs/assets/chunks/classDiagram-v2-HSJHXN6E.oxdmwwqk.js +0 -1
- package/dist/docs/assets/chunks/clone.BkguoIMm.js +0 -1
- package/dist/docs/assets/chunks/stateDiagram-v2-QKLJ7IA2.7W-btjJ2.js +0 -1
- package/dist/docs/assets/templates_agentic-owners.md.CvmABtia.js +0 -14
- package/dist/playground/assets/cursor-icons-16-gwXtdAvu.woff2 +0 -0
- package/dist/playground/assets/index-BtsbIqV9.css +0 -1
- package/dist/playground/assets/index-CD8VRa25.js +0 -71
- /package/dist/docs/assets/{reference_channels.md.DYg0CLud.lean.js → reference_channels.md.Bxaa020x.lean.js} +0 -0
- /package/dist/docs/assets/{reference_schedules.md.BqWnJES4.lean.js → reference_schedules.md.03Ryy9ca.lean.js} +0 -0
- /package/dist/docs/assets/{reference_tools.md.08XR7lIl.lean.js → reference_tools.md.-6pypsWt.lean.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../src/internal/discovery/project.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAuB,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAapF,OAAO,EAIL,KAAK,uBAAuB,
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../src/internal/discovery/project.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAuB,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAapF,OAAO,EAIL,KAAK,uBAAuB,EAE7B,MAAM,cAAc,CAAC;AAetB;;;;GAIG;AACH,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CASrE;AAYD,sEAAsE;AACtE,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CA2BlF;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,uBAA4B,GACpC,OAAO,CAAC,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,YAAY,CAAA;CAAE,CAAC,CAAC,CA6BzD;AAED;;;;;;GAMG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,uBAAuB,GAAG;IACjC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CACtB,GACL,OAAO,CAAC,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,YAAY,CAAA;CAAE,CAAC,CAAC,CAgBzD;AAWD,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,uBAA4B,GACpC,OAAO,CAAC,YAAY,CAAC,CAqHvB;AA0BD,qEAAqE;AACrE,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAElE;AAED,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,MAAM,CAOnE;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,aAAa,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE;QAAE,WAAW,EAAE,SAAS,UAAU,EAAE,CAAA;KAAE,CAAA;CAAE,CAAC,GACvF,MAAM,CAeR"}
|
|
@@ -8,7 +8,7 @@ import { applyAgentContinuationDefaults, warnOmittedContinuationDowngrades, } fr
|
|
|
8
8
|
import { httpChannel } from "../http-channel-define.js";
|
|
9
9
|
import { loadAgent, warnUnknownSlots } from "./agent.js";
|
|
10
10
|
import { loadChannels } from "./channels.js";
|
|
11
|
-
import { defaultImportModule, displayPath, } from "./context.js";
|
|
11
|
+
import { defaultImportModule, displayPath, pushConfigDiagnostic, } from "./context.js";
|
|
12
12
|
import { hasFlatLayoutMarkers, isDirectory, readPackageName, sortedEntries } from "./fs.js";
|
|
13
13
|
import { loadHooks } from "./hooks.js";
|
|
14
14
|
import { NAME_PATTERN, RESERVED_SLUGS } from "./names.js";
|
|
@@ -166,7 +166,7 @@ export async function loadAgentProject(dir, options = {}) {
|
|
|
166
166
|
const { channels, httpChannelDefinition } = await loadChannels(ctx, join(agentDir, "channels"));
|
|
167
167
|
for (const channel of projectSlots.channels) {
|
|
168
168
|
if (channel.id === "http" || channels.some((c) => c.id === channel.id)) {
|
|
169
|
-
ctx
|
|
169
|
+
pushConfigDiagnostic(ctx, {
|
|
170
170
|
severity: "error",
|
|
171
171
|
path: displayPath(ctx, join(agentDir, "extensions")),
|
|
172
172
|
message: `Extension channel "${channel.id}" collides with an agent channel.`,
|
|
@@ -194,18 +194,26 @@ export async function loadAgentProject(dir, options = {}) {
|
|
|
194
194
|
const channelPath = displayPath(ctx, join(agentDir, "channels", `${channel.id}.ts`));
|
|
195
195
|
const architectureError = channelArchitectureError(agent.architecture, channel.definition);
|
|
196
196
|
if (architectureError !== undefined) {
|
|
197
|
-
ctx
|
|
197
|
+
pushConfigDiagnostic(ctx, {
|
|
198
|
+
severity: "error",
|
|
199
|
+
path: channelPath,
|
|
200
|
+
message: architectureError,
|
|
201
|
+
});
|
|
198
202
|
}
|
|
199
203
|
const migrationWarning = channelArchitectureMigrationWarning(agent.architecture, channel.definition);
|
|
200
204
|
if (migrationWarning !== undefined) {
|
|
201
|
-
ctx
|
|
205
|
+
pushConfigDiagnostic(ctx, {
|
|
206
|
+
severity: "warning",
|
|
207
|
+
path: channelPath,
|
|
208
|
+
message: migrationWarning,
|
|
209
|
+
});
|
|
202
210
|
}
|
|
203
211
|
}
|
|
204
212
|
warnOmittedContinuationDowngrades({
|
|
205
213
|
architecture: agent.architecture,
|
|
206
214
|
channels,
|
|
207
215
|
warn: (id, message) => {
|
|
208
|
-
ctx
|
|
216
|
+
pushConfigDiagnostic(ctx, {
|
|
209
217
|
severity: "warning",
|
|
210
218
|
path: displayPath(ctx, join(agentDir, "channels", `${id}.ts`)),
|
|
211
219
|
message,
|
|
@@ -264,3 +272,17 @@ export function formatDiagnostics(diagnostics) {
|
|
|
264
272
|
})
|
|
265
273
|
.join("\n");
|
|
266
274
|
}
|
|
275
|
+
export function formatValidateJson(mounts) {
|
|
276
|
+
const agents = mounts.map(({ slug, project }) => ({
|
|
277
|
+
slug,
|
|
278
|
+
diagnostics: project.diagnostics.map((diagnostic) => ({
|
|
279
|
+
severity: diagnostic.severity,
|
|
280
|
+
code: diagnostic.code ?? "other",
|
|
281
|
+
path: diagnostic.path,
|
|
282
|
+
package: diagnostic.package,
|
|
283
|
+
message: diagnostic.message,
|
|
284
|
+
})),
|
|
285
|
+
}));
|
|
286
|
+
const ok = !agents.some((agent) => agent.diagnostics.some((diagnostic) => diagnostic.severity === "error"));
|
|
287
|
+
return `${JSON.stringify({ version: 1, ok, agents })}\n`;
|
|
288
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/internal/discovery/runtime.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,gBAAgB,
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/internal/discovery/runtime.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,gBAAgB,EAAqC,MAAM,cAAc,CAAC;AAExF;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,gBAAgB,EACrB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,YAAY,GAAG,SAAS,GAChC,YAAY,CAed;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC5C,GAAG,EAAE,gBAAgB,EACrB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE;IACN,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,EAAE,OAAO,CAAC;CAC1B,GACA,IAAI,CA2DN;AAED,wBAAgB,2BAA2B,CACzC,GAAG,EAAE,gBAAgB,EACrB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE;IACN,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;CAC1B,GACA,IAAI,CAkCN"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Runtime resolution and the limitations each runtime imposes on the authored surface.
|
|
3
3
|
*/
|
|
4
4
|
import { join } from "node:path";
|
|
5
|
-
import { displayPath } from "./context.js";
|
|
5
|
+
import { displayPath, pushConfigDiagnostic } from "./context.js";
|
|
6
6
|
/**
|
|
7
7
|
* Validate the authored runtime. An unrecognized value is an error
|
|
8
8
|
* diagnostic and falls back to local — a typo must not silently pick a
|
|
@@ -15,7 +15,7 @@ export function resolveRuntime(ctx, agentDir, runtime) {
|
|
|
15
15
|
runtime === "grokbot") {
|
|
16
16
|
return runtime ?? "local";
|
|
17
17
|
}
|
|
18
|
-
ctx
|
|
18
|
+
pushConfigDiagnostic(ctx, {
|
|
19
19
|
severity: "error",
|
|
20
20
|
path: displayPath(ctx, join(agentDir, "agent.ts")),
|
|
21
21
|
message: `runtime must be "local", "cloud", or "grokbot"; got ${JSON.stringify(runtime)}.`,
|
|
@@ -31,10 +31,10 @@ export function resolveRuntime(ctx, agentDir, runtime) {
|
|
|
31
31
|
export function checkGrokBotRuntimeLimitations(ctx, agentDir, counts) {
|
|
32
32
|
const agentPath = displayPath(ctx, join(agentDir, "agent.ts"));
|
|
33
33
|
const error = (path, message) => {
|
|
34
|
-
ctx
|
|
34
|
+
pushConfigDiagnostic(ctx, { severity: "error", path, message });
|
|
35
35
|
};
|
|
36
36
|
const warn = (path, message) => {
|
|
37
|
-
ctx
|
|
37
|
+
pushConfigDiagnostic(ctx, { severity: "warning", path, message });
|
|
38
38
|
};
|
|
39
39
|
if (counts.serverTools > 0) {
|
|
40
40
|
error(displayPath(ctx, join(agentDir, "tools")), 'Server tools (execution: "server", including opted-in builtinTools) are not reachable from grokbot turns yet. Remove them or run the agent on the local runtime.');
|
|
@@ -67,28 +67,28 @@ export function checkGrokBotRuntimeLimitations(ctx, agentDir, counts) {
|
|
|
67
67
|
export function warnCloudRuntimeLimitations(ctx, agentDir, counts) {
|
|
68
68
|
const agentPath = displayPath(ctx, join(agentDir, "agent.ts"));
|
|
69
69
|
if (!counts.hasCloudOptions) {
|
|
70
|
-
ctx
|
|
70
|
+
pushConfigDiagnostic(ctx, {
|
|
71
71
|
severity: "warning",
|
|
72
72
|
path: agentPath,
|
|
73
73
|
message: 'runtime: "cloud" usually needs a `cloud` block (e.g. repos / env). Without it the Cursor cloud API may reject create.',
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
if (counts.agentTools > 0) {
|
|
77
|
-
ctx
|
|
77
|
+
pushConfigDiagnostic(ctx, {
|
|
78
78
|
severity: "warning",
|
|
79
79
|
path: displayPath(ctx, join(agentDir, "tools")),
|
|
80
80
|
message: 'Agent tools (execution: "agent") are described on the first cloud prompt (with script bodies); they are not written into the cloud VM filesystem automatically.',
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
if (counts.skills > 0) {
|
|
84
|
-
ctx
|
|
84
|
+
pushConfigDiagnostic(ctx, {
|
|
85
85
|
severity: "warning",
|
|
86
86
|
path: displayPath(ctx, join(agentDir, "skills")),
|
|
87
87
|
message: "Authored skills reach cloud agents through native store discovery: hosted deployments write the deployment store's skills/ directory; local serve/run with a personal API key writes agent-serve/<agent>/skills/ on the USER store. Without a reachable store, only skills already in the cloud repo are visible.",
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
if (counts.seedFiles > 0) {
|
|
91
|
-
ctx
|
|
91
|
+
pushConfigDiagnostic(ctx, {
|
|
92
92
|
severity: "warning",
|
|
93
93
|
path: displayPath(ctx, join(agentDir, "sandbox")),
|
|
94
94
|
message: "sandbox/workspace seed files reach cloud agents through the Agent Store, not the checkout: hosted deployments write the deployment store's workspace/ directory; local serve/run with a personal API key writes agent-serve/<agent>/workspace/ on the USER store. The first cloud prompt names the mounted directory. Without a reachable store, cloud turns do not see them.",
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
export { DEFAULT_AGENT_ARCHITECTURE, runtimeArchitectureCompatibilityError, } from "./discovery/agent-config.js";
|
|
12
12
|
export type { LoadAgentProjectOptions } from "./discovery/context.js";
|
|
13
13
|
export { projectInfo } from "./discovery/info.js";
|
|
14
|
-
export { type ChildAgentDir, formatDiagnostics, hasErrorDiagnostics, isAgentProjectDir, listChildAgentDirs, loadAgentProject, loadAgentProjects, resolveAgentMounts, } from "./discovery/project.js";
|
|
14
|
+
export { type ChildAgentDir, formatDiagnostics, formatValidateJson, hasErrorDiagnostics, isAgentProjectDir, listChildAgentDirs, loadAgentProject, loadAgentProjects, resolveAgentMounts, } from "./discovery/project.js";
|
|
15
15
|
//# sourceMappingURL=discovery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../src/internal/discovery.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EACL,0BAA0B,EAC1B,qCAAqC,GACtC,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACL,KAAK,aAAa,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../src/internal/discovery.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EACL,0BAA0B,EAC1B,qCAAqC,GACtC,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACL,KAAK,aAAa,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,wBAAwB,CAAC"}
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*/
|
|
11
11
|
export { DEFAULT_AGENT_ARCHITECTURE, runtimeArchitectureCompatibilityError, } from "./discovery/agent-config.js";
|
|
12
12
|
export { projectInfo } from "./discovery/info.js";
|
|
13
|
-
export { formatDiagnostics, hasErrorDiagnostics, isAgentProjectDir, listChildAgentDirs, loadAgentProject, loadAgentProjects, resolveAgentMounts, } from "./discovery/project.js";
|
|
13
|
+
export { formatDiagnostics, formatValidateJson, hasErrorDiagnostics, isAgentProjectDir, listChildAgentDirs, loadAgentProject, loadAgentProjects, resolveAgentMounts, } from "./discovery/project.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expected-delivery-failure.d.ts","sourceRoot":"","sources":["../../src/internal/expected-delivery-failure.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"expected-delivery-failure.d.ts","sourceRoot":"","sources":["../../src/internal/expected-delivery-failure.ts"],"names":[],"mappings":"AAuBA,MAAM,MAAM,6BAA6B,GAAG,aAAa,GAAG,gBAAgB,CAAC;AAE7E,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,6BAA6B,GAAG,SAAS,CAY3C"}
|
|
@@ -11,6 +11,12 @@ const USAGE_LIMIT_PHRASES = [
|
|
|
11
11
|
// Billing titles insert "monthly", or say "hit" instead of "reached".
|
|
12
12
|
"monthly usage limit",
|
|
13
13
|
"hit your usage limit",
|
|
14
|
+
// Prepaid wallets: the additional-usage cap or an exhausted balance.
|
|
15
|
+
"monthly additional usage limit",
|
|
16
|
+
"additional usage is off",
|
|
17
|
+
"prepaid balance is used up",
|
|
18
|
+
// A team's spend reached the budget its organization set.
|
|
19
|
+
"team budget limit reached",
|
|
14
20
|
];
|
|
15
21
|
const UNPAID_INVOICE_PHRASES = ["unpaid invoice"];
|
|
16
22
|
export function classifyExpectedDeliveryFailure(message) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory-resource-channel.d.ts","sourceRoot":"","sources":["../../src/internal/factory-resource-channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"factory-resource-channel.d.ts","sourceRoot":"","sources":["../../src/internal/factory-resource-channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAIvE,KAAK,6BAA6B,CAAC,MAAM,IAAI;IAC3C,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACjF,YAAY,CAAC,EAAE,oBAAoB,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;CACtC,CAAC;AAEF,KAAK,0BAA0B,CAAC,MAAM,SAAS;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,IAAI;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,KAAK,0BAA0B,CAAC,MAAM,IAAI;IACxC,OAAO,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,MAAM,CAAC,KAAK,iBAAiB,CAAC;IAC/E,UAAU,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,6BAA6B,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACvF,CAAC;AAEF;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,SAAS;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,EAC/E,IAAI,EAAE,0BAA0B,CAAC,MAAM,CAAC,GACvC,0BAA0B,CAAC,MAAM,CAAC,CAkEpC"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Runtime aliases (`contents` → `fileText`, `old_string` → `oldText`)
|
|
9
9
|
* live on the `defineTool` input schema, not on these objects.
|
|
10
10
|
*/
|
|
11
|
-
import { z } from "zod";
|
|
11
|
+
import { z } from "zod/v3";
|
|
12
12
|
export declare const sdkReadArgs: z.ZodTypeAny;
|
|
13
13
|
export declare const sdkReadResult: z.ZodTypeAny;
|
|
14
14
|
export declare const sdkWriteArgs: z.ZodTypeAny;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk-schemas.d.ts","sourceRoot":"","sources":["../../../src/internal/filesystem/sdk-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sdk-schemas.d.ts","sourceRoot":"","sources":["../../../src/internal/filesystem/sdk-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAmB3B,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,UAE1B,CAAC;AAEH,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,UAM7B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,UAI3B,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,CAAC,CAAC,UAO9B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,UAE5B,CAAC;AAEH,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,UAI/B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,UAG1B,CAAC;AAEH,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,UAO7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,UAe1B,CAAC;AAuCH,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,UAK7B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,CAAC,CAAC,UAGxB,CAAC;AAgBH,eAAO,MAAM,WAAW,EAAE,CAAC,CAAC,UAI3B,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,iBAAiB,EAAE,CAAC,CAAC,UAKhC,CAAC;AAEH,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,UAM7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,CAAC,CAAC,UAI/B,CAAC;AAEH,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,UAIlC,CAAC"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Runtime aliases (`contents` → `fileText`, `old_string` → `oldText`)
|
|
9
9
|
* live on the `defineTool` input schema, not on these objects.
|
|
10
10
|
*/
|
|
11
|
-
import { z } from "zod";
|
|
11
|
+
import { z } from "zod/v3";
|
|
12
12
|
const simpleError = z.object({
|
|
13
13
|
message: z.string(),
|
|
14
14
|
});
|
|
@@ -120,14 +120,15 @@ export const sdkLsArgs = z.object({
|
|
|
120
120
|
const lsDirectoryTreeNodeFile = z.object({
|
|
121
121
|
name: z.string(),
|
|
122
122
|
});
|
|
123
|
-
|
|
123
|
+
// Not z.lazy: zod-to-json-schema warns on recursion with $refStrategy "none".
|
|
124
|
+
const lsDirectoryTreeNode = z.object({
|
|
124
125
|
absPath: z.string(),
|
|
125
|
-
childrenDirs: z.array(
|
|
126
|
+
childrenDirs: z.array(z.unknown()),
|
|
126
127
|
childrenFiles: z.array(lsDirectoryTreeNodeFile),
|
|
127
128
|
childrenWereProcessed: z.boolean(),
|
|
128
129
|
fullSubtreeExtensionCounts: z.record(z.number()),
|
|
129
130
|
numFiles: z.number(),
|
|
130
|
-
})
|
|
131
|
+
});
|
|
131
132
|
export const sdkLsResult = resultSchema(z.object({
|
|
132
133
|
directoryTreeRoot: lsDirectoryTreeNode,
|
|
133
134
|
}));
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9
9
|
import { Buffer } from "node:buffer";
|
|
10
10
|
import { minimatch } from "minimatch";
|
|
11
|
-
import { z } from "zod";
|
|
11
|
+
import { z } from "zod/v3";
|
|
12
12
|
import { canonicalizeFileSystemToolName, collectGrepMatches, FILE_SYSTEM_SCAN_LIMIT, fileSystemImage, fileSystemText, InvalidGrepPatternError, isFileNotFoundError, shapeGrepUnion, sliceReadContent, strReplaceOnFileSystem, } from "../../filesystem.js";
|
|
13
13
|
import { defineTool } from "../../tools.js";
|
|
14
14
|
import { toolInputJsonSchema, toolOutputJsonSchema, validateToolInput } from "../json-schema.js";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Multi-value HMAC secrets, July copy. The control plane keeps an
|
|
3
|
+
* equivalent parser and matcher in
|
|
4
|
+
* `backend/packages/server-shared/src/agentServe/agentSdkCatch.ts`; a
|
|
5
|
+
* backend drift test runs both over the shared vectors in
|
|
6
|
+
* `testing/hmac-secret-vectors.ts`.
|
|
7
|
+
*
|
|
8
|
+
* One named secret may hold several signing secrets, one per line, so a
|
|
9
|
+
* route that several provider subscriptions sign (each with its own
|
|
10
|
+
* secret), or one whose secret is mid-rotation, verifies under any of
|
|
11
|
+
* them. A value with no line break is one secret, used byte-for-byte.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Most signing secrets one named secret may hold. The control plane runs
|
|
15
|
+
* one HMAC per value over every unauthenticated request before any
|
|
16
|
+
* per-deployment limit applies, so the count is bounded rather than left to
|
|
17
|
+
* the secret's byte limit. A value over the cap verifies nothing.
|
|
18
|
+
*/
|
|
19
|
+
export declare const MAX_HMAC_SECRET_VALUES = 32;
|
|
20
|
+
/** At least one signing secret. */
|
|
21
|
+
export type HmacSecrets = readonly [string, ...string[]];
|
|
22
|
+
export type ParsedHmacSecrets = {
|
|
23
|
+
ok: true;
|
|
24
|
+
secrets: HmacSecrets;
|
|
25
|
+
} | {
|
|
26
|
+
ok: false;
|
|
27
|
+
reason: "unset" | "too_many_values";
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* The signing secrets a named secret's value holds. Lines are trimmed and
|
|
31
|
+
* blank lines dropped; an unset or blank value is `unset`.
|
|
32
|
+
*/
|
|
33
|
+
export declare function parseHmacSecrets(raw: string | undefined): ParsedHmacSecrets;
|
|
34
|
+
/**
|
|
35
|
+
* True when any signature in `presented` is `prefix` + the hex HMAC-SHA256
|
|
36
|
+
* of `body` under any of `secrets`. Without a `separator` the whole value is
|
|
37
|
+
* one signature. Every (secret, signature) pair is compared in constant
|
|
38
|
+
* time with no early exit, so timing does not reveal which matched; entries
|
|
39
|
+
* without the prefix never match.
|
|
40
|
+
*/
|
|
41
|
+
export declare function hmacSignatureMatchesAny(args: {
|
|
42
|
+
body: string | Buffer;
|
|
43
|
+
presented: string;
|
|
44
|
+
secrets: HmacSecrets;
|
|
45
|
+
prefix: string;
|
|
46
|
+
separator: string | undefined;
|
|
47
|
+
}): boolean;
|
|
48
|
+
//# sourceMappingURL=hmac-secret-values.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hmac-secret-values.d.ts","sourceRoot":"","sources":["../../src/internal/hmac-secret-values.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAEzC,mCAAmC;AACnC,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;AAEzD,MAAM,MAAM,iBAAiB,GACzB;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,OAAO,EAAE,WAAW,CAAA;CAAE,GAClC;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,OAAO,GAAG,iBAAiB,CAAA;CAAE,CAAC;AAIvD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,iBAAiB,CAe3E;AAQD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE;IAC5C,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,GAAG,OAAO,CAmBV"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Multi-value HMAC secrets, July copy. The control plane keeps an
|
|
3
|
+
* equivalent parser and matcher in
|
|
4
|
+
* `backend/packages/server-shared/src/agentServe/agentSdkCatch.ts`; a
|
|
5
|
+
* backend drift test runs both over the shared vectors in
|
|
6
|
+
* `testing/hmac-secret-vectors.ts`.
|
|
7
|
+
*
|
|
8
|
+
* One named secret may hold several signing secrets, one per line, so a
|
|
9
|
+
* route that several provider subscriptions sign (each with its own
|
|
10
|
+
* secret), or one whose secret is mid-rotation, verifies under any of
|
|
11
|
+
* them. A value with no line break is one secret, used byte-for-byte.
|
|
12
|
+
*/
|
|
13
|
+
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
14
|
+
/**
|
|
15
|
+
* Most signing secrets one named secret may hold. The control plane runs
|
|
16
|
+
* one HMAC per value over every unauthenticated request before any
|
|
17
|
+
* per-deployment limit applies, so the count is bounded rather than left to
|
|
18
|
+
* the secret's byte limit. A value over the cap verifies nothing.
|
|
19
|
+
*/
|
|
20
|
+
export const MAX_HMAC_SECRET_VALUES = 32;
|
|
21
|
+
const LINE_BREAK = /\r\n|\n|\r/;
|
|
22
|
+
/**
|
|
23
|
+
* The signing secrets a named secret's value holds. Lines are trimmed and
|
|
24
|
+
* blank lines dropped; an unset or blank value is `unset`.
|
|
25
|
+
*/
|
|
26
|
+
export function parseHmacSecrets(raw) {
|
|
27
|
+
const [first, ...rest] = raw === undefined || !LINE_BREAK.test(raw)
|
|
28
|
+
? [raw ?? ""].filter((value) => value !== "")
|
|
29
|
+
: raw
|
|
30
|
+
.split(LINE_BREAK)
|
|
31
|
+
.map((line) => line.trim())
|
|
32
|
+
.filter((line) => line !== "");
|
|
33
|
+
if (first === undefined) {
|
|
34
|
+
return { ok: false, reason: "unset" };
|
|
35
|
+
}
|
|
36
|
+
if (rest.length + 1 > MAX_HMAC_SECRET_VALUES) {
|
|
37
|
+
return { ok: false, reason: "too_many_values" };
|
|
38
|
+
}
|
|
39
|
+
return { ok: true, secrets: [first, ...rest] };
|
|
40
|
+
}
|
|
41
|
+
function constantTimeStringEquals(a, b) {
|
|
42
|
+
const aBytes = Buffer.from(a, "utf8");
|
|
43
|
+
const bBytes = Buffer.from(b, "utf8");
|
|
44
|
+
return aBytes.length === bBytes.length && timingSafeEqual(aBytes, bBytes);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* True when any signature in `presented` is `prefix` + the hex HMAC-SHA256
|
|
48
|
+
* of `body` under any of `secrets`. Without a `separator` the whole value is
|
|
49
|
+
* one signature. Every (secret, signature) pair is compared in constant
|
|
50
|
+
* time with no early exit, so timing does not reveal which matched; entries
|
|
51
|
+
* without the prefix never match.
|
|
52
|
+
*/
|
|
53
|
+
export function hmacSignatureMatchesAny(args) {
|
|
54
|
+
const entries = (args.separator === undefined || args.separator.length === 0
|
|
55
|
+
? [args.presented]
|
|
56
|
+
: args.presented.split(args.separator)).map((raw) => raw.trim());
|
|
57
|
+
let matched = false;
|
|
58
|
+
for (const secret of args.secrets) {
|
|
59
|
+
const expected = createHmac("sha256", secret).update(args.body).digest("hex");
|
|
60
|
+
for (const entry of entries) {
|
|
61
|
+
if (entry.startsWith(args.prefix) &&
|
|
62
|
+
constantTimeStringEquals(entry.slice(args.prefix.length).toLowerCase(), expected)) {
|
|
63
|
+
matched = true;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return matched;
|
|
68
|
+
}
|
|
@@ -11,7 +11,8 @@ import type { HostOtelApi } from "../types.js";
|
|
|
11
11
|
import type { OtelCollector } from "./otel/collector.js";
|
|
12
12
|
export interface CreateHostOtelApiOptions {
|
|
13
13
|
agentName: string;
|
|
14
|
-
meter
|
|
14
|
+
/** Read on each use: a hosted v2 guest builds the meter after its first secret load. */
|
|
15
|
+
meter?: () => Meter | undefined;
|
|
15
16
|
collector?: OtelCollector;
|
|
16
17
|
/** Session bound for join tags; prefer {@link HostOtelSessionApi.forSession}. */
|
|
17
18
|
sessionId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-otel.d.ts","sourceRoot":"","sources":["../../src/internal/host-otel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAsB,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAsB,MAAM,aAAa,CAAC;AAEnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAsBzD,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"host-otel.d.ts","sourceRoot":"","sources":["../../src/internal/host-otel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAsB,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAsB,MAAM,aAAa,CAAC;AAEnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAsBzD,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,wFAAwF;IACxF,KAAK,CAAC,EAAE,MAAM,KAAK,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,iFAAiF;IACjF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,uEAAuE;AACvE,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,kBAAkB,CAAC;CACnD;AAwBD,8DAA8D;AAC9D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,kBAAkB,CAavF"}
|
|
@@ -29,7 +29,8 @@ export function createHostOtelApi(options) {
|
|
|
29
29
|
return createBoundHostOtelApi({
|
|
30
30
|
shared: {
|
|
31
31
|
agentName: options.agentName,
|
|
32
|
-
meter: options.meter,
|
|
32
|
+
meter: options.meter ?? (() => undefined),
|
|
33
|
+
boundMeter: undefined,
|
|
33
34
|
collector: options.collector,
|
|
34
35
|
instruments: new Map(),
|
|
35
36
|
sessionTags: new Map(),
|
|
@@ -41,7 +42,7 @@ export function createHostOtelApi(options) {
|
|
|
41
42
|
function createBoundHostOtelApi(state) {
|
|
42
43
|
const api = {
|
|
43
44
|
get enabled() {
|
|
44
|
-
return state.shared.meter !== undefined;
|
|
45
|
+
return state.shared.meter() !== undefined;
|
|
45
46
|
},
|
|
46
47
|
setAttributes(attributes) {
|
|
47
48
|
const cleaned = validateAttributes(attributes);
|
|
@@ -104,9 +105,21 @@ function sessionBag(state) {
|
|
|
104
105
|
...state.localTags,
|
|
105
106
|
};
|
|
106
107
|
}
|
|
108
|
+
function activeMeter(shared) {
|
|
109
|
+
const meter = shared.meter();
|
|
110
|
+
if (meter === undefined) {
|
|
111
|
+
return undefined;
|
|
112
|
+
}
|
|
113
|
+
if (shared.boundMeter !== meter) {
|
|
114
|
+
shared.boundMeter = meter;
|
|
115
|
+
shared.instruments.clear();
|
|
116
|
+
}
|
|
117
|
+
return meter;
|
|
118
|
+
}
|
|
107
119
|
function counter(shared, name) {
|
|
108
120
|
validateMetricName(name);
|
|
109
|
-
|
|
121
|
+
const meter = activeMeter(shared);
|
|
122
|
+
if (meter === undefined) {
|
|
110
123
|
return undefined;
|
|
111
124
|
}
|
|
112
125
|
const existing = shared.instruments.get(name);
|
|
@@ -116,13 +129,14 @@ function counter(shared, name) {
|
|
|
116
129
|
}
|
|
117
130
|
return existing.instrument;
|
|
118
131
|
}
|
|
119
|
-
const instrument =
|
|
132
|
+
const instrument = meter.createCounter(name);
|
|
120
133
|
shared.instruments.set(name, { kind: "counter", instrument });
|
|
121
134
|
return instrument;
|
|
122
135
|
}
|
|
123
136
|
function histogram(shared, name) {
|
|
124
137
|
validateMetricName(name);
|
|
125
|
-
|
|
138
|
+
const meter = activeMeter(shared);
|
|
139
|
+
if (meter === undefined) {
|
|
126
140
|
return undefined;
|
|
127
141
|
}
|
|
128
142
|
const existing = shared.instruments.get(name);
|
|
@@ -132,7 +146,7 @@ function histogram(shared, name) {
|
|
|
132
146
|
}
|
|
133
147
|
return existing.instrument;
|
|
134
148
|
}
|
|
135
|
-
const instrument =
|
|
149
|
+
const instrument = meter.createHistogram(name);
|
|
136
150
|
shared.instruments.set(name, { kind: "histogram", instrument });
|
|
137
151
|
return instrument;
|
|
138
152
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-platforms.d.ts","sourceRoot":"","sources":["../../src/internal/host-platforms.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAWH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAE5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAErE,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,gBAAgB,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BAAgB,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAO,GACnE,eAAe,CAsBjB;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,oBAAyB,GAAG,aAAa,CAoBrF;AAED;;;;GAIG;AACH,wBAAsB,2BAA2B,IAAI,OAAO,CAAC,oBAAoB,CAAC,CAYjF;AAED;;;;;;;GAOG;AACH,wBAAsB,oBAAoB,CAAC,OAAO,EAAE;IAClD,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,UAAU,CAAC,EAAE,oBAAoB,CAAC;CACnC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAgDhC"}
|
|
@@ -21,7 +21,10 @@ export function createHostSlackClient(options = {}) {
|
|
|
21
21
|
throw new Error(`No Slack bot token available (set ${hint}).`);
|
|
22
22
|
}
|
|
23
23
|
return new WebClient(token);
|
|
24
|
-
})()
|
|
24
|
+
})().catch((error) => {
|
|
25
|
+
slackPromise = undefined;
|
|
26
|
+
throw error;
|
|
27
|
+
});
|
|
25
28
|
return slackPromise;
|
|
26
29
|
},
|
|
27
30
|
};
|
|
@@ -38,6 +41,9 @@ export function createHostPlatforms(options = {}) {
|
|
|
38
41
|
getOctokit: () => {
|
|
39
42
|
octokitPromise ??= createGitHubOctokit({
|
|
40
43
|
credentials: options.githubCredentials,
|
|
44
|
+
}).catch((error) => {
|
|
45
|
+
octokitPromise = undefined;
|
|
46
|
+
throw error;
|
|
41
47
|
});
|
|
42
48
|
return octokitPromise;
|
|
43
49
|
},
|
|
@@ -89,7 +95,7 @@ export async function warmupHostGitHubAuth(options) {
|
|
|
89
95
|
}
|
|
90
96
|
}
|
|
91
97
|
const label = source === "cursor-account"
|
|
92
|
-
? "Cursor account
|
|
98
|
+
? "Cursor account credential"
|
|
93
99
|
: source === "app"
|
|
94
100
|
? exportedGhToken
|
|
95
101
|
? "GitHub App installation token (also exported as GH_TOKEN for gh CLI)"
|
|
@@ -176,6 +176,8 @@ export type HostedAdmissionOutcome = {
|
|
|
176
176
|
ok: true;
|
|
177
177
|
v: 2;
|
|
178
178
|
outcome: "task";
|
|
179
|
+
/** The session this delivery's mailbox key named released that key. */
|
|
180
|
+
continuationReleased?: true;
|
|
179
181
|
engineVersion?: string;
|
|
180
182
|
} | {
|
|
181
183
|
ok: true;
|
|
@@ -223,6 +225,8 @@ export type HostedExecutionOutcome = {
|
|
|
223
225
|
* Primary delivery id then accepted enqueue ids; length 1..16.
|
|
224
226
|
*/
|
|
225
227
|
consumedDeliveryIds: string[];
|
|
228
|
+
/** The session released its continuation key during this turn. */
|
|
229
|
+
continuationReleased?: true;
|
|
226
230
|
} | {
|
|
227
231
|
ok: true;
|
|
228
232
|
v: 2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosted-delivery-protocol.d.ts","sourceRoot":"","sources":["../../src/internal/hosted-delivery-protocol.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAClD,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AACpE,eAAO,MAAM,qBAAqB,kCAAkC,CAAC;AACrE,eAAO,MAAM,qBAAqB,kCAAkC,CAAC;AACrE,eAAO,MAAM,4BAA4B,cAAc,CAAC;AACxD,eAAO,MAAM,2BAA2B,aAAa,CAAC;AAEtD,MAAM,MAAM,2BAA2B,GACnC,OAAO,4BAA4B,GACnC,OAAO,2BAA2B,CAAC;AAEvC,eAAO,MAAM,qCAAqC,IAAI,CAAC;AAEvD,MAAM,MAAM,mBAAmB,GAC3B,eAAe,GACf,UAAU,GACV,UAAU,GACV,OAAO,GACP,YAAY,GACZ,cAAc,GACd,SAAS,CAAC;AAEd,MAAM,MAAM,mBAAmB,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpF,MAAM,MAAM,2BAA2B,GAAG;IACxC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E,OAAO,CAAA;CAAE,CAAC;AAE5E,MAAM,MAAM,qBAAqB,GAAG;IAClC,CAAC,EAAE,CAAC,CAAC;IACL,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,oBAAoB,GAAG,qBAAqB,CAAC;AAE3E;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,YAC7C,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,sBAAsB,EACtB,kBAAkB,CACV,CAAC;AAEX,MAAM,MAAM,8BAA8B,GAAG,CAAC,OAAO,kCAAkC,CAAC,CAAC,MAAM,CAAC,CAAC;AAuBjG,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,8BAA8B,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAC9B;IACE,EAAE,EAAE,IAAI,CAAC;IACT,CAAC,EAAE,CAAC,CAAC;IACL,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GACD;
|
|
1
|
+
{"version":3,"file":"hosted-delivery-protocol.d.ts","sourceRoot":"","sources":["../../src/internal/hosted-delivery-protocol.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAClD,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AACpE,eAAO,MAAM,qBAAqB,kCAAkC,CAAC;AACrE,eAAO,MAAM,qBAAqB,kCAAkC,CAAC;AACrE,eAAO,MAAM,4BAA4B,cAAc,CAAC;AACxD,eAAO,MAAM,2BAA2B,aAAa,CAAC;AAEtD,MAAM,MAAM,2BAA2B,GACnC,OAAO,4BAA4B,GACnC,OAAO,2BAA2B,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are function registerHostedDeliveryRoute(input: {
|
|
|
83
83
|
* destroy the VM as soon as that reply lands; SIGTERM is not guaranteed.
|
|
84
84
|
*/
|
|
85
85
|
flushOtel?(): Promise<void>;
|
|
86
|
+
/** Runs after each successful secret load, before authored admission. */
|
|
87
|
+
onSecretsReady?(): void;
|
|
86
88
|
/**
|
|
87
89
|
* Serve `--state-root` (not the per-slug SessionEngine dir). Hosted
|
|
88
90
|
* freeze is `/workspace/.agent-serve`; the Temporal host reads
|
|
@@ -123,6 +125,11 @@ export declare function registerHostedDeliveryRoute(input: {
|
|
|
123
125
|
* through the channel's `send`.
|
|
124
126
|
*/
|
|
125
127
|
startSend?: HostedSendStart;
|
|
128
|
+
/**
|
|
129
|
+
* True once after a session released this continuation key. The reply
|
|
130
|
+
* reports it so the control plane detaches the session from the key.
|
|
131
|
+
*/
|
|
132
|
+
takeContinuationRelease?(continuationKey: string): boolean;
|
|
126
133
|
}): void;
|
|
127
134
|
export {};
|
|
128
135
|
//# sourceMappingURL=hosted-delivery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosted-delivery.d.ts","sourceRoot":"","sources":["../../src/internal/hosted-delivery.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAEnB,MAAM,aAAa,CAAC;AAErB,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,kCAAkC,CAAC;AAO1C,OAAO,EAKL,KAAK,sBAAsB,EAG5B,MAAM,oBAAoB,CAAC;AAS5B,OAAO,EAQL,KAAK,oBAAoB,EAIzB,KAAK,mCAAmC,EAWzC,MAAM,+BAA+B,CAAC;AAsBvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAIlD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErE,KAAK,aAAa,G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