@theoremjs/agents 0.3.3 → 0.3.4-next.373.gab46e23
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/README.md +2 -0
- package/esm/src/guardrails/mod.d.ts +1 -1
- package/esm/src/guardrails/mod.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -426,6 +426,8 @@ Import from the narrowest entrypoint that has what you need. Each row gives the
|
|
|
426
426
|
|
|
427
427
|
The studio is a separate package, `@theoremjs/studio`. It is never part of the kernel package. Install it beside the kernel to open your project's agents in a local studio: `npm install -D @theoremjs/studio`, then `npx theorem-studio`. It needs Deno. The same package shows the studio as a screen in your own app, with one server handler. Its README has both.
|
|
428
428
|
|
|
429
|
+
`@theoremjs/agents`, `@theoremjs/web`, `@theoremjs/react`, and `@theoremjs/studio` ship together at one version. Install the ones you use at the same version. `@theoremjs/web` holds the server handlers and the browser client, with no UI framework. `@theoremjs/react` adds the React hooks and UI on top of it. Each version's changes, including what breaks and how to upgrade, are in [docs/releases](https://github.com/masudl-hub/theoremai/tree/main/docs/releases).
|
|
430
|
+
|
|
429
431
|
Internal files stay in the source for maintainability. Package consumers should use the public entrypoints above.
|
|
430
432
|
|
|
431
433
|
|
|
@@ -40,7 +40,7 @@ export { clientIp, quotaBusy, quotaExhausted, releaseSlot, resetSlots, skipQuota
|
|
|
40
40
|
export type { GuardrailRule } from './rules.js';
|
|
41
41
|
export { DETECT_RULES, detectRule, EGRESS_RULES, NETWORK_RULES, TOOL_RULES, } from './rules.js';
|
|
42
42
|
export type { SanitizedTurnRequest } from './sanitize.js';
|
|
43
|
-
export {
|
|
43
|
+
export { sanitizeProjectId, sanitizeTurnRequest, sanitizeTurnRequestWithEvents, } from './sanitize.js';
|
|
44
44
|
export { sensitiveSpans } from './sensitive.js';
|
|
45
45
|
export type { SensitiveGroup, SensitiveGroups, SensitiveSelection, SensitiveSwitches, } from './sensitive-groups.js';
|
|
46
46
|
export { SENSITIVE_GROUPS } from './sensitive-groups.js';
|
|
@@ -25,7 +25,7 @@ export { createOutboundProgressiveGate, createProgressiveYieldGate } from './pro
|
|
|
25
25
|
export { PROMPT_ECHO_WORDS, scanTextForPromptEcho } from './prompt-echo.js';
|
|
26
26
|
export { clientIp, quotaBusy, quotaExhausted, releaseSlot, resetSlots, skipQuota, takeSlot, } from './quota.js';
|
|
27
27
|
export { DETECT_RULES, detectRule, EGRESS_RULES, NETWORK_RULES, TOOL_RULES, } from './rules.js';
|
|
28
|
-
export {
|
|
28
|
+
export { sanitizeProjectId, sanitizeTurnRequest, sanitizeTurnRequestWithEvents, } from './sanitize.js';
|
|
29
29
|
export { sensitiveSpans } from './sensitive.js';
|
|
30
30
|
export { SENSITIVE_GROUPS } from './sensitive-groups.js';
|
|
31
31
|
export { scanTextOf, textForScan } from './serialize.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theoremjs/agents",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4-next.373.gab46e23",
|
|
4
4
|
"description": "A flat TypeScript agent kernel for typed profiles, deterministic turn execution, registered tools, provider adapters, guardrails, and host-injected traces.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|