TypeSafe System One
TypeSafe's hosted decision API: one POST endpoint that answers named questions about supplied content with a Jev model and returns the typed answers, the model that answered and the token usage. Its request and response schema is the Jev protocol cap-decisionscap-decisionsAdds a decisions service to a CAP Node.js application that answers typed questions about one text or JSON state through an HTTP decision endpoint.independent, cap speaks.
Where it sits
Used by
Optionally used: The decisions-typesafe kind is selected. The endpoint the kind posts to, https://api.typesafe.ai/v1/systemone, with the jev-latest model and a token the kind requires.
Functional boundary
CAP Java is outside it: the plugin is written for CAP Node.js applications, and `cds add decisions` prints a message and writes nothing in a Java project. A decision needs an answer, so the service cannot be queued: a truthy `queued`, `outboxed` or `outbox` setting fails with `INVALID_CONFIG`, which rules out handing a call to the outbox. The package is not yet on npm, so it is installed from a GitHub release archive, and the subclass hooks, the HTTP mock server, the `cds add` facet and the provider test kit are marked experimental.
Connected from
data, outbound, sync. Posts the state and the questions to https://api.typesafe.ai/v1/systemone with jev-latest as the model and a bearer token, and reads the typed answers back.
Functional boundary
CAP Java is outside it: the plugin is written for CAP Node.js applications, and `cds add decisions` prints a message and writes nothing in a Java project. A decision needs an answer, so the service cannot be queued: a truthy `queued`, `outboxed` or `outbox` setting fails with `INVALID_CONFIG`, which rules out handing a call to the outbox. The package is not yet on npm, so it is installed from a GitHub release archive, and the subclass hooks, the HTTP mock server, the `cds add` facet and the provider test kit are marked experimental.
Details
Graph
For your agent
- Ref
external:typesafe-system-one- JSON
- /externals/typesafe-system-one.json
- MCP
- Connecting an agent