{"_id":"@agent-assistant/persona","_rev":"3-b059d56734ebbe6c8568b5772c59a06c","name":"@agent-assistant/persona","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.0":{"name":"@agent-assistant/persona","version":"0.1.0","license":"MIT","_id":"@agent-assistant/persona@0.1.0","maintainers":[{"name":"willwashburn","email":"will@agentrelay.com"},{"name":"khaliqgant","email":"khaliqgant@gmail.com"}],"homepage":"https://github.com/AgentWorkforce/agent-assistant#readme","bugs":{"url":"https://github.com/AgentWorkforce/agent-assistant/issues"},"dist":{"shasum":"8d847440a8d78e9b8d364eb5224e48260b014ff4","tarball":"https://registry.npmjs.org/@agent-assistant/persona/-/persona-0.1.0.tgz","fileCount":1,"integrity":"sha512-jMfx8hOWLF7GmNrilF0pjfoIICIn0/8aiK/dJzCSwZ/ZLg594MqI2oGeWOtSp0Fw2dOl08LCu6+dZ8+zGbACfA==","signatures":[{"sig":"MEUCIAS+6QhdKhz4RnLfS7axRfmfncknAVjrBzQQLXreOcB0AiEA2J7gZ+11ClLYrxNxsj/e2n1a8LPs86eFhbXkxvYnwAg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":800},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"6af6fe9dc506418cc4b39da00be0eab53339081e","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run build","typecheck":"tsc --noEmit -p tsconfig.json","test:watch":"vitest"},"_npmUser":{"name":"khaliqgant","email":"khaliqgant@gmail.com"},"repository":{"url":"git+https://github.com/AgentWorkforce/agent-assistant.git","type":"git"},"_npmVersion":"10.9.4","description":"Shared persona type contracts for agent assistant services","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/persona_0.1.0_1779474762066_0.8305786984435077","host":"s3://npm-registry-packages-npm-production"}},"0.4.35":{"name":"@agent-assistant/persona","version":"0.4.35","license":"MIT","_id":"@agent-assistant/persona@0.4.35","maintainers":[{"name":"willwashburn","email":"will@agentrelay.com"},{"name":"khaliqgant","email":"khaliqgant@gmail.com"}],"homepage":"https://github.com/AgentWorkforce/agent-assistant#readme","bugs":{"url":"https://github.com/AgentWorkforce/agent-assistant/issues"},"dist":{"shasum":"8d5b59c569d930ec9c8da94a390f6a332af47118","tarball":"https://registry.npmjs.org/@agent-assistant/persona/-/persona-0.4.35.tgz","fileCount":5,"integrity":"sha512-RsO7s6HiJp7up263JxTWGuDls5ghO+19ZVdqMgVj6aoX4Cl7hvRkdDXJde5j0xAoftZE2mpv7sTQi29twMP/6Q==","signatures":[{"sig":"MEUCIQCpotTwaipDcV6zFnVqw3YEF6cbVsOhekNzHL3MN/KXGAIgRHBvJJItYsjRljF75cBa4kZDUKGvDIxXTwk+AksxcSQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-assistant%2fpersona@0.4.35","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2444},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"4cdae077b3eefad71be00e90b2ecf049fac61448","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run build","typecheck":"tsc --noEmit -p tsconfig.json","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede19a0d-d9b1-4551-8bbc-3e0d84b64913"}},"repository":{"url":"git+https://github.com/AgentWorkforce/agent-assistant.git","type":"git"},"_npmVersion":"11.15.0","description":"Shared persona type contracts for agent assistant services","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/persona_0.4.35_1779476686816_0.2595023341732974","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@agent-assistant/persona","version":"0.6.0","description":"Shared persona type contracts for agent assistant services (canonical-spec §6 schema).","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"prepack":"npm run build","build":"tsc -p tsconfig.build.json","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit -p tsconfig.json"},"devDependencies":{"typescript":"^5.9.3","vitest":"^3.2.4"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AgentWorkforce/agent-assistant.git"},"publishConfig":{"access":"public"},"gitHead":"a1b53892ccb5e79823f0cdced7327602aeacc0f6","_id":"@agent-assistant/persona@0.6.0","bugs":{"url":"https://github.com/AgentWorkforce/agent-assistant/issues"},"homepage":"https://github.com/AgentWorkforce/agent-assistant#readme","_nodeVersion":"22.14.0","_npmVersion":"11.15.0","dist":{"integrity":"sha512-MeVK5Y9fMgrjQVoLnhnGkpcsFUefDCdEHenlKREDLRjiBrTD6hoQTXCRoWhtCOWL9QW+JhQTkiHqQw8EsWqcxw==","shasum":"c55bcfb21b91bb118b5bcaa8ae27ee27ffdf02d8","tarball":"https://registry.npmjs.org/@agent-assistant/persona/-/persona-0.6.0.tgz","fileCount":6,"unpackedSize":7423,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-assistant%2fpersona@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDw9isST+M0/JBcF3yTo5bOVqVNSROQOcVusiyy5koAeQIgA6BiYQfFruvoDELcp40Uc50PYDJ6s3PcHbGYef6bJVM="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ede19a0d-d9b1-4551-8bbc-3e0d84b64913"}},"directories":{},"maintainers":[{"name":"willwashburn","email":"will@agentrelay.com"},{"name":"khaliqgant","email":"khaliqgant@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/persona_0.6.0_1779524752885_0.9014013079600756"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-22T18:32:41.604Z","modified":"2026-05-23T08:25:53.433Z","0.1.0":"2026-05-22T18:32:42.202Z","0.4.35":"2026-05-22T19:04:46.968Z","0.6.0":"2026-05-23T08:25:53.029Z"},"bugs":{"url":"https://github.com/AgentWorkforce/agent-assistant/issues"},"license":"MIT","homepage":"https://github.com/AgentWorkforce/agent-assistant#readme","repository":{"type":"git","url":"git+https://github.com/AgentWorkforce/agent-assistant.git"},"description":"Shared persona type contracts for agent assistant services (canonical-spec §6 schema).","maintainers":[{"name":"willwashburn","email":"will@agentrelay.com"},{"name":"khaliqgant","email":"khaliqgant@gmail.com"}],"readme":"# @agent-assistant/persona\n\n`@agent-assistant/persona` owns the shared `PersonaDefinition` contract used to register proactive assistants across Agent Workforce services. Version 0.5.0 follows the full canonical persona schema from [Sage proactive unification §6](https://github.com/AgentWorkforce/sage/blob/main/specs/proactive-unification.md#6-persona-schema), including separate `schedules`, `inbox`, `integrations`, top-level `watch`, `mount`, and ephemeral-sandbox runtime fields.\n\nUse this package for type-only persona declarations before handing them to a dispatcher, registry, or deployment workflow. The schema keeps executor choice explicit (`ephemeral-sandbox`, `http-delegate`, or `hybrid`) while preserving optional memory and delivery settings for consumers that need them. 0.5.0 is a breaking change vs. 0.4.35; see `CHANGELOG.md` for the migration table.\n\n```ts\nimport type { PersonaDefinition } from \"@agent-assistant/persona\";\n\nexport const morningBriefingPersona = {\n  id: \"sage:morning-briefing\",\n  intent: \"Prepare a daily briefing from workspace activity\",\n  description: \"Runs on a weekday schedule.\",\n  schedules: [\n    {\n      name: \"weekday-morning\",\n      cron: \"0 8 * * 1-5\",\n      tz: \"America/Los_Angeles\",\n    },\n  ],\n  executor: {\n    kind: \"ephemeral-sandbox\",\n  },\n  onEvent: \"./src/personas/morning-briefing.ts\",\n  harness: \"codex\",\n  model: \"gpt-5.4\",\n  systemPrompt: \"Prepare a concise daily briefing.\",\n  harnessSettings: {\n    reasoning: \"medium\",\n    timeoutSeconds: 900,\n  },\n  inputs: {\n    lookbackHours: {\n      type: \"number\",\n      description: \"Hours of activity to summarize.\",\n      required: true,\n      default: 24,\n    },\n  },\n} satisfies PersonaDefinition;\n```\n","readmeFilename":"README.md"}