OperatorAgent drives the Anthropic SDK tool runner (betaZodTool) over read tools (treasury state, open bills, counterparty risk, payment history, x402 quotes) and policy-checked action tools that require rationale, alternatives and confidence. claude-sonnet-5 handles revenue and ticks, claude-opus-5-5 bills, refunds and disputes; at most 12 iterations, with HeuristicOperator fallback when no key is set or the API fails. OperatorService turns each event into one hash-chained DecisionRecord with the tool trace, verdict, usage cost and outcome. The vault anchors a pre-execution commitment hash of the reasoning; owner approvals, rejections and 72h expiries are recorded as decisions too. Invoice and customer text is passed as escaped untrusted data. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
52 lines
716 B
JSON
52 lines
716 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
"composite": true,
|
|
"types": [
|
|
"node"
|
|
]
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "../arc"
|
|
},
|
|
{
|
|
"path": "../circle-wallets"
|
|
},
|
|
{
|
|
"path": "../common"
|
|
},
|
|
{
|
|
"path": "../compliance"
|
|
},
|
|
{
|
|
"path": "../database"
|
|
},
|
|
{
|
|
"path": "../notifications"
|
|
},
|
|
{
|
|
"path": "../risk"
|
|
},
|
|
{
|
|
"path": "../treasury"
|
|
},
|
|
{
|
|
"path": "../x402"
|
|
},
|
|
{
|
|
"path": "../x402-client"
|
|
}
|
|
],
|
|
"include": [
|
|
"src/**/*"
|
|
],
|
|
"exclude": [
|
|
"dist",
|
|
"node_modules",
|
|
"**/*.test.ts"
|
|
]
|
|
}
|