{"_id":"@a2arium/callagent-types","name":"@a2arium/callagent-types","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@a2arium/callagent-types","version":"0.2.0","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"tsc -p tsconfig.json","test":"jest","npm:publish":"npm publish --access public","npm:publish:dry-run":"npm publish --access public --dry-run","version:patch":"npm version patch","version:minor":"npm version minor","version:major":"npm version major"},"publishConfig":{"access":"public"},"private":false,"description":"Shared types and error classes for the CallAgent framework.","license":"MIT","keywords":["types","errors","callagent"],"type":"module","_id":"@a2arium/callagent-types@0.2.0","gitHead":"36eb1e234829192a6b0a89a9d0aa5c5203b9d0a0","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-bRuYgkINuSZQ00+1mkDMcth5t8yZLED5VUidTH1Jzmiajw10mabf2yYKCBih+f1K38cqsrr6P8nJHdY/yOSRNg==","shasum":"7ba4ef139910a619e3548b3a9c73180a184b9769","tarball":"https://registry.npmjs.org/@a2arium/callagent-types/-/callagent-types-0.2.0.tgz","fileCount":14,"unpackedSize":19374,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDAy9394gN+XGoCAIWe0S5rM82lI1mUqR57Vd3PMIOaqAiAGWvy613JLOMXmB4SfHiW33NhoTMRvVU9LDsWEzk2SEA=="}]},"_npmUser":{"name":"a2arium","email":"antonov@me.com"},"directories":{},"maintainers":[{"name":"a2arium","email":"antonov@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/callagent-types_0.2.0_1753021158771_0.873983424031934"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-20T14:19:18.670Z","0.2.0":"2025-07-20T14:19:18.942Z","modified":"2025-07-20T14:19:19.235Z"},"maintainers":[{"name":"a2arium","email":"antonov@me.com"}],"description":"Shared types and error classes for the CallAgent framework.","keywords":["types","errors","callagent"],"license":"MIT","readme":"# @a2arium/callagent-types\n\nShared TypeScript type definitions and error classes for the CallAgent framework.\n\n## Installation\n\n```bash\nnpm install @a2arium/callagent-types\n```\n\nor with yarn:\n\n```bash\nyarn add @a2arium/callagent-types\n```\n\n## Usage\n\nThis package provides type definitions used across the CallAgent ecosystem:\n\n```typescript\nimport { \n  AgentManifest, \n  AgentContext, \n  MemoryRecord,\n  BaseError \n} from '@a2arium/callagent-types';\n\n// Use types in your agent implementations\nconst manifest: AgentManifest = {\n  name: 'my-agent',\n  version: '1.0.0',\n  description: 'My custom agent',\n  inputs: {\n    text: { type: 'string', required: true }\n  },\n  outputs: {\n    result: { type: 'string' }\n  }\n};\n\n// Custom error handling\nclass MyCustomError extends BaseError {\n  constructor(message: string) {\n    super('MY_CUSTOM_ERROR', message);\n  }\n}\n```\n\n## Exported Types\n\n- **AgentManifest**: Agent metadata and schema definitions\n- **AgentContext**: Execution context passed to agents\n- **MemoryRecord**: Memory storage interface\n- **BaseError**: Base error class with error codes\n- **A2ATypes**: Agent-to-Agent communication types\n\n## License\n\nMIT ","readmeFilename":"README.md","_rev":"1-17eb0bbdb5c943160c75d90b6ad3e8b3"}